You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
276 lines
1.1 MiB
276 lines
1.1 MiB
!(function(){var Hu=Object.defineProperty,ju=Object.defineProperties;var Gu=Object.getOwnPropertyDescriptors;var iu=Object.getOwnPropertySymbols;var Du=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable;var yu=Math.pow,Fu=(Et,St,te)=>St in Et?Hu(Et,St,{enumerable:!0,configurable:!0,writable:!0,value:te}):Et[St]=te,_r=(Et,St)=>{for(var te in St||(St={}))Du.call(St,te)&&Fu(Et,te,St[te]);if(iu)for(var te of iu(St))Bu.call(St,te)&&Fu(Et,te,St[te]);return Et},li=(Et,St)=>ju(Et,Gu(St));var lu=(Et,St)=>{var te={};for(var z in Et)Du.call(Et,z)&&St.indexOf(z)<0&&(te[z]=Et[z]);if(Et!=null&&iu)for(var z of iu(Et))St.indexOf(z)<0&&Bu.call(Et,z)&&(te[z]=Et[z]);return te};var Au=(Et,St,te)=>new Promise((z,se)=>{var he=Ne=>{try{be(te.next(Ne))}catch(ie){se(ie)}},Ie=Ne=>{try{be(te.throw(Ne))}catch(ie){se(ie)}},be=Ne=>Ne.done?z(Ne.value):Promise.resolve(Ne.value).then(he,Ie);be((te=te.apply(Et,St)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3951],{27812:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},89489:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},59477:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},26227:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},67921:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},49198:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},41464:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},87169:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},52671:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},8657:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},56082:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},33853:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},12893:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},15075:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},32134:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},43531:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},38819:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Te,He){return se.createElement(be.Z,(0,z.Z)({},Te,{ref:He,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},87954:function(Et,St,te){"use strict";te.d(St,{LB:function(){return Mo},g4:function(){return st},we:function(){return dt},pE:function(){return me},VK:function(){return ft},Cj:function(){return jr},O1:function(){return pa},Zj:function(){return po},VT:function(){return y}});var z=te(59301),se=te(4676),he=te(35241);const Ie={display:"none"};function be(Ce){let{id:ke,value:Xe}=Ce;return z.createElement("div",{id:ke,style:Ie},Xe)}function Ne(Ce){let{id:ke,announcement:Xe,ariaLiveType:Ct="assertive"}=Ce;const Yt={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 z.createElement("div",{id:ke,style:Yt,role:"status","aria-live":Ct,"aria-atomic":!0},Xe)}function ie(){const[Ce,ke]=(0,z.useState)("");return{announce:(0,z.useCallback)(Ct=>{Ct!=null&&ke(Ct)},[]),announcement:Ce}}const nt=(0,z.createContext)(null);function je(Ce){const ke=(0,z.useContext)(nt);(0,z.useEffect)(()=>{if(!ke)throw new Error("useDndMonitor must be used within a children of <DndContext>");return ke(Ce)},[Ce,ke])}function Te(){const[Ce]=(0,z.useState)(()=>new Set),ke=(0,z.useCallback)(Ct=>(Ce.add(Ct),()=>Ce.delete(Ct)),[Ce]);return[(0,z.useCallback)(Ct=>{let{type:Yt,event:Jt}=Ct;Ce.forEach(bn=>{var Fn;return(Fn=bn[Yt])==null?void 0:Fn.call(bn,Jt)})},[Ce]),ke]}const He={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.
|
|
`},Me={onDragStart(Ce){let{active:ke}=Ce;return"Picked up draggable item "+ke.id+"."},onDragOver(Ce){let{active:ke,over:Xe}=Ce;return Xe?"Draggable item "+ke.id+" was moved over droppable area "+Xe.id+".":"Draggable item "+ke.id+" is no longer over a droppable area."},onDragEnd(Ce){let{active:ke,over:Xe}=Ce;return Xe?"Draggable item "+ke.id+" was dropped over droppable area "+Xe.id:"Draggable item "+ke.id+" was dropped."},onDragCancel(Ce){let{active:ke}=Ce;return"Dragging was cancelled. Draggable item "+ke.id+" was dropped."}};function Ee(Ce){let{announcements:ke=Me,container:Xe,hiddenTextDescribedById:Ct,screenReaderInstructions:Yt=He}=Ce;const{announce:Jt,announcement:bn}=ie(),Fn=(0,he.Ld)("DndLiveRegion"),[Yn,Pa]=(0,z.useState)(!1);if((0,z.useEffect)(()=>{Pa(!0)},[]),je((0,z.useMemo)(()=>({onDragStart(ga){let{active:Or}=ga;Jt(ke.onDragStart({active:Or}))},onDragMove(ga){let{active:Or,over:Mr}=ga;ke.onDragMove&&Jt(ke.onDragMove({active:Or,over:Mr}))},onDragOver(ga){let{active:Or,over:Mr}=ga;Jt(ke.onDragOver({active:Or,over:Mr}))},onDragEnd(ga){let{active:Or,over:Mr}=ga;Jt(ke.onDragEnd({active:Or,over:Mr}))},onDragCancel(ga){let{active:Or,over:Mr}=ga;Jt(ke.onDragCancel({active:Or,over:Mr}))}}),[Jt,ke])),!Yn)return null;const Ca=z.createElement(z.Fragment,null,z.createElement(be,{id:Ct,value:Yt.draggable}),z.createElement(Ne,{id:Fn,announcement:bn}));return Xe?(0,se.createPortal)(Ca,Xe):Ca}var re;(function(Ce){Ce.DragStart="dragStart",Ce.DragMove="dragMove",Ce.DragEnd="dragEnd",Ce.DragCancel="dragCancel",Ce.DragOver="dragOver",Ce.RegisterDroppable="registerDroppable",Ce.SetDroppableDisabled="setDroppableDisabled",Ce.UnregisterDroppable="unregisterDroppable"})(re||(re={}));function a(){}function y(Ce,ke){return(0,z.useMemo)(()=>({sensor:Ce,options:ke!=null?ke:{}}),[Ce,ke])}function b(){for(var Ce=arguments.length,ke=new Array(Ce),Xe=0;Xe<Ce;Xe++)ke[Xe]=arguments[Xe];return useMemo(()=>[...ke].filter(Ct=>Ct!=null),[...ke])}const E=Object.freeze({x:0,y:0});function x(Ce,ke){return Math.sqrt(Math.pow(Ce.x-ke.x,2)+Math.pow(Ce.y-ke.y,2))}function ee(Ce,ke){const Xe=getEventCoordinates(Ce);if(!Xe)return"0 0";const Ct={x:(Xe.x-ke.left)/ke.width*100,y:(Xe.y-ke.top)/ke.height*100};return Ct.x+"% "+Ct.y+"%"}function ne(Ce,ke){let{data:{value:Xe}}=Ce,{data:{value:Ct}}=ke;return Xe-Ct}function oe(Ce,ke){let{data:{value:Xe}}=Ce,{data:{value:Ct}}=ke;return Ct-Xe}function ae(Ce){let{left:ke,top:Xe,height:Ct,width:Yt}=Ce;return[{x:ke,y:Xe},{x:ke+Yt,y:Xe},{x:ke,y:Xe+Ct},{x:ke+Yt,y:Xe+Ct}]}function ue(Ce,ke){if(!Ce||Ce.length===0)return null;const[Xe]=Ce;return ke?Xe[ke]:Xe}function ge(Ce,ke,Xe){return ke===void 0&&(ke=Ce.left),Xe===void 0&&(Xe=Ce.top),{x:ke+Ce.width*.5,y:Xe+Ce.height*.5}}const me=Ce=>{let{collisionRect:ke,droppableRects:Xe,droppableContainers:Ct}=Ce;const Yt=ge(ke,ke.left,ke.top),Jt=[];for(const bn of Ct){const{id:Fn}=bn,Yn=Xe.get(Fn);if(Yn){const Pa=x(ge(Yn),Yt);Jt.push({id:Fn,data:{droppableContainer:bn,value:Pa}})}}return Jt.sort(ne)},Pe=Ce=>{let{collisionRect:ke,droppableRects:Xe,droppableContainers:Ct}=Ce;const Yt=ae(ke),Jt=[];for(const bn of Ct){const{id:Fn}=bn,Yn=Xe.get(Fn);if(Yn){const Pa=ae(Yn),Ca=Yt.reduce((Or,Mr,Ro)=>Or+x(Pa[Ro],Mr),0),ga=Number((Ca/4).toFixed(4));Jt.push({id:Fn,data:{droppableContainer:bn,value:ga}})}}return Jt.sort(ne)};function xe(Ce,ke){const Xe=Math.max(ke.top,Ce.top),Ct=Math.max(ke.left,Ce.left),Yt=Math.min(ke.left+ke.width,Ce.left+Ce.width),Jt=Math.min(ke.top+ke.height,Ce.top+Ce.height),bn=Yt-Ct,Fn=Jt-Xe;if(Ct<Yt&&Xe<Jt){const Yn=ke.width*ke.height,Pa=Ce.width*Ce.height,Ca=bn*Fn,ga=Ca/(Yn+Pa-Ca);return Number(ga.toFixed(4))}return 0}const ye=Ce=>{let{collisionRect:ke,droppableRects:Xe,droppableContainers:Ct}=Ce;const Yt=[];for(const Jt of Ct){const{id:bn}=Jt,Fn=Xe.get(bn);if(Fn){const Yn=xe(Fn,ke);Yn>0&&Yt.push({id:bn,data:{droppableContainer:Jt,value:Yn}})}}return Yt.sort(oe)};function Be(Ce,ke){const{top:Xe,left:Ct,bottom:Yt,right:Jt}=ke;return Xe<=Ce.y&&Ce.y<=Yt&&Ct<=Ce.x&&Ce.x<=Jt}const Ze=Ce=>{let{droppableContainers:ke,droppableRects:Xe,pointerCoordinates:Ct}=Ce;if(!Ct)return[];const Yt=[];for(const Jt of ke){const{id:bn}=Jt,Fn=Xe.get(bn);if(Fn&&Be(Ct,Fn)){const Pa=ae(Fn).reduce((ga,Or)=>ga+x(Ct,Or),0),Ca=Number((Pa/4).toFixed(4));Yt.push({id:bn,data:{droppableContainer:Jt,value:Ca}})}}return Yt.sort(ne)};function mt(Ce,ke,Xe){return li(_r({},Ce),{scaleX:ke&&Xe?ke.width/Xe.width:1,scaleY:ke&&Xe?ke.height/Xe.height:1})}function De(Ce,ke){return Ce&&ke?{x:Ce.left-ke.left,y:Ce.top-ke.top}:E}function Ue(Ce){return function(Xe){for(var Ct=arguments.length,Yt=new Array(Ct>1?Ct-1:0),Jt=1;Jt<Ct;Jt++)Yt[Jt-1]=arguments[Jt];return Yt.reduce((bn,Fn)=>li(_r({},bn),{top:bn.top+Ce*Fn.y,bottom:bn.bottom+Ce*Fn.y,left:bn.left+Ce*Fn.x,right:bn.right+Ce*Fn.x}),_r({},Xe))}}const Ge=Ue(1);function Ke(Ce){if(Ce.startsWith("matrix3d(")){const ke=Ce.slice(9,-1).split(/, /);return{x:+ke[12],y:+ke[13],scaleX:+ke[0],scaleY:+ke[5]}}else if(Ce.startsWith("matrix(")){const ke=Ce.slice(7,-1).split(/, /);return{x:+ke[4],y:+ke[5],scaleX:+ke[0],scaleY:+ke[3]}}return null}function it(Ce,ke,Xe){const Ct=Ke(ke);if(!Ct)return Ce;const{scaleX:Yt,scaleY:Jt,x:bn,y:Fn}=Ct,Yn=Ce.left-bn-(1-Yt)*parseFloat(Xe),Pa=Ce.top-Fn-(1-Jt)*parseFloat(Xe.slice(Xe.indexOf(" ")+1)),Ca=Yt?Ce.width/Yt:Ce.width,ga=Jt?Ce.height/Jt:Ce.height;return{width:Ca,height:ga,top:Pa,right:Yn+Ca,bottom:Pa+ga,left:Yn}}const at={ignoreTransform:!1};function ft(Ce,ke){ke===void 0&&(ke=at);let Xe=Ce.getBoundingClientRect();if(ke.ignoreTransform){const{transform:Pa,transformOrigin:Ca}=(0,he.Jj)(Ce).getComputedStyle(Ce);Pa&&(Xe=it(Xe,Pa,Ca))}const{top:Ct,left:Yt,width:Jt,height:bn,bottom:Fn,right:Yn}=Xe;return{top:Ct,left:Yt,width:Jt,height:bn,bottom:Fn,right:Yn}}function Rt(Ce){return ft(Ce,{ignoreTransform:!0})}function kt(Ce){const ke=Ce.innerWidth,Xe=Ce.innerHeight;return{top:0,left:0,right:ke,bottom:Xe,width:ke,height:Xe}}function Ye(Ce,ke){return ke===void 0&&(ke=(0,he.Jj)(Ce).getComputedStyle(Ce)),ke.position==="fixed"}function ut(Ce,ke){ke===void 0&&(ke=(0,he.Jj)(Ce).getComputedStyle(Ce));const Xe=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Yt=>{const Jt=ke[Yt];return typeof Jt=="string"?Xe.test(Jt):!1})}function At(Ce,ke){const Xe=[];function Ct(Yt){if(ke!=null&&Xe.length>=ke||!Yt)return Xe;if((0,he.qk)(Yt)&&Yt.scrollingElement!=null&&!Xe.includes(Yt.scrollingElement))return Xe.push(Yt.scrollingElement),Xe;if(!(0,he.Re)(Yt)||(0,he.vZ)(Yt)||Xe.includes(Yt))return Xe;const Jt=(0,he.Jj)(Ce).getComputedStyle(Yt);return Yt!==Ce&&ut(Yt,Jt)&&Xe.push(Yt),Ye(Yt,Jt)?Xe:Ct(Yt.parentNode)}return Ce?Ct(Ce):Xe}function Nt(Ce){const[ke]=At(Ce,1);return ke!=null?ke:null}function Pt(Ce){return!he.Nq||!Ce?null:(0,he.FJ)(Ce)?Ce:(0,he.UG)(Ce)?(0,he.qk)(Ce)||Ce===(0,he.r3)(Ce).scrollingElement?window:(0,he.Re)(Ce)?Ce:null:null}function sn(Ce){return(0,he.FJ)(Ce)?Ce.scrollX:Ce.scrollLeft}function Fe(Ce){return(0,he.FJ)(Ce)?Ce.scrollY:Ce.scrollTop}function Qt(Ce){return{x:sn(Ce),y:Fe(Ce)}}var Kt;(function(Ce){Ce[Ce.Forward=1]="Forward",Ce[Ce.Backward=-1]="Backward"})(Kt||(Kt={}));function Hn(Ce){return!he.Nq||!Ce?!1:Ce===document.scrollingElement}function Jn(Ce){const ke={x:0,y:0},Xe=Hn(Ce)?{height:window.innerHeight,width:window.innerWidth}:{height:Ce.clientHeight,width:Ce.clientWidth},Ct={x:Ce.scrollWidth-Xe.width,y:Ce.scrollHeight-Xe.height},Yt=Ce.scrollTop<=ke.y,Jt=Ce.scrollLeft<=ke.x,bn=Ce.scrollTop>=Ct.y,Fn=Ce.scrollLeft>=Ct.x;return{isTop:Yt,isLeft:Jt,isBottom:bn,isRight:Fn,maxScroll:Ct,minScroll:ke}}const Re={x:.2,y:.2};function qe(Ce,ke,Xe,Ct,Yt){let{top:Jt,left:bn,right:Fn,bottom:Yn}=Xe;Ct===void 0&&(Ct=10),Yt===void 0&&(Yt=Re);const{isTop:Pa,isBottom:Ca,isLeft:ga,isRight:Or}=Jn(Ce),Mr={x:0,y:0},Ro={x:0,y:0},Ur={height:ke.height*Yt.y,width:ke.width*Yt.x};return!Pa&&Jt<=ke.top+Ur.height?(Mr.y=Kt.Backward,Ro.y=Ct*Math.abs((ke.top+Ur.height-Jt)/Ur.height)):!Ca&&Yn>=ke.bottom-Ur.height&&(Mr.y=Kt.Forward,Ro.y=Ct*Math.abs((ke.bottom-Ur.height-Yn)/Ur.height)),!Or&&Fn>=ke.right-Ur.width?(Mr.x=Kt.Forward,Ro.x=Ct*Math.abs((ke.right-Ur.width-Fn)/Ur.width)):!ga&&bn<=ke.left+Ur.width&&(Mr.x=Kt.Backward,Ro.x=Ct*Math.abs((ke.left+Ur.width-bn)/Ur.width)),{direction:Mr,speed:Ro}}function tt(Ce){if(Ce===document.scrollingElement){const{innerWidth:Jt,innerHeight:bn}=window;return{top:0,left:0,right:Jt,bottom:bn,width:Jt,height:bn}}const{top:ke,left:Xe,right:Ct,bottom:Yt}=Ce.getBoundingClientRect();return{top:ke,left:Xe,right:Ct,bottom:Yt,width:Ce.clientWidth,height:Ce.clientHeight}}function Le(Ce){return Ce.reduce((ke,Xe)=>(0,he.IH)(ke,Qt(Xe)),E)}function ht(Ce){return Ce.reduce((ke,Xe)=>ke+sn(Xe),0)}function gt(Ce){return Ce.reduce((ke,Xe)=>ke+Fe(Xe),0)}function Oe(Ce,ke){if(ke===void 0&&(ke=ft),!Ce)return;const{top:Xe,left:Ct,bottom:Yt,right:Jt}=ke(Ce);Nt(Ce)&&(Yt<=0||Jt<=0||Xe>=window.innerHeight||Ct>=window.innerWidth)&&Ce.scrollIntoView({block:"center",inline:"center"})}const ve=[["x",["left","right"],ht],["y",["top","bottom"],gt]];class We{constructor(ke,Xe){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 Ct=At(Xe),Yt=Le(Ct);this.rect=_r({},ke),this.width=ke.width,this.height=ke.height;for(const[Jt,bn,Fn]of ve)for(const Yn of bn)Object.defineProperty(this,Yn,{get:()=>{const Pa=Fn(Ct),Ca=Yt[Jt]-Pa;return this.rect[Yn]+Ca},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ve{constructor(ke){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Xe=>{var Ct;return(Ct=this.target)==null?void 0:Ct.removeEventListener(...Xe)})},this.target=ke}add(ke,Xe,Ct){var Yt;(Yt=this.target)==null||Yt.addEventListener(ke,Xe,Ct),this.listeners.push([ke,Xe,Ct])}}function we(Ce){const{EventTarget:ke}=(0,he.Jj)(Ce);return Ce instanceof ke?Ce:(0,he.r3)(Ce)}function pt(Ce,ke){const Xe=Math.abs(Ce.x),Ct=Math.abs(Ce.y);return typeof ke=="number"?Math.sqrt(yu(Xe,2)+yu(Ct,2))>ke:"x"in ke&&"y"in ke?Xe>ke.x&&Ct>ke.y:"x"in ke?Xe>ke.x:"y"in ke?Ct>ke.y:!1}var et;(function(Ce){Ce.Click="click",Ce.DragStart="dragstart",Ce.Keydown="keydown",Ce.ContextMenu="contextmenu",Ce.Resize="resize",Ce.SelectionChange="selectionchange",Ce.VisibilityChange="visibilitychange"})(et||(et={}));function jt(Ce){Ce.preventDefault()}function Se(Ce){Ce.stopPropagation()}var st;(function(Ce){Ce.Space="Space",Ce.Down="ArrowDown",Ce.Right="ArrowRight",Ce.Left="ArrowLeft",Ce.Up="ArrowUp",Ce.Esc="Escape",Ce.Enter="Enter",Ce.Tab="Tab"})(st||(st={}));const xt={start:[st.Space,st.Enter],cancel:[st.Esc],end:[st.Space,st.Enter,st.Tab]},Ae=(Ce,ke)=>{let{currentCoordinates:Xe}=ke;switch(Ce.code){case st.Right:return li(_r({},Xe),{x:Xe.x+25});case st.Left:return li(_r({},Xe),{x:Xe.x-25});case st.Down:return li(_r({},Xe),{y:Xe.y+25});case st.Up:return li(_r({},Xe),{y:Xe.y-25})}};class _e{constructor(ke){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=ke;const{event:{target:Xe}}=ke;this.props=ke,this.listeners=new Ve((0,he.r3)(Xe)),this.windowListeners=new Ve((0,he.Jj)(Xe)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(et.Resize,this.handleCancel),this.windowListeners.add(et.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(et.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:ke,onStart:Xe}=this.props,Ct=ke.node.current;Ct&&Oe(Ct),Xe(E)}handleKeyDown(ke){if((0,he.vd)(ke)){const{active:Xe,context:Ct,options:Yt}=this.props,{keyboardCodes:Jt=xt,coordinateGetter:bn=Ae,scrollBehavior:Fn="smooth"}=Yt,{code:Yn}=ke;if(Jt.end.includes(Yn)){this.handleEnd(ke);return}if(Jt.cancel.includes(Yn)){this.handleCancel(ke);return}const{collisionRect:Pa}=Ct.current,Ca=Pa?{x:Pa.left,y:Pa.top}:E;this.referenceCoordinates||(this.referenceCoordinates=Ca);const ga=bn(ke,{active:Xe,context:Ct.current,currentCoordinates:Ca});if(ga){const Or=(0,he.$X)(ga,Ca),Mr={x:0,y:0},{scrollableAncestors:Ro}=Ct.current;for(const Ur of Ro){const la=ke.code,{isTop:$n,isRight:oa,isLeft:ra,isBottom:Nr,maxScroll:Zr,minScroll:hr}=Jn(Ur),xr=tt(Ur),kr={x:Math.min(la===st.Right?xr.right-xr.width/2:xr.right,Math.max(la===st.Right?xr.left:xr.left+xr.width/2,ga.x)),y:Math.min(la===st.Down?xr.bottom-xr.height/2:xr.bottom,Math.max(la===st.Down?xr.top:xr.top+xr.height/2,ga.y))},ho=la===st.Right&&!oa||la===st.Left&&!ra,ti=la===st.Down&&!Nr||la===st.Up&&!$n;if(ho&&kr.x!==ga.x){const yo=Ur.scrollLeft+Or.x,Rr=la===st.Right&&yo<=Zr.x||la===st.Left&&yo>=hr.x;if(Rr&&!Or.y){Ur.scrollTo({left:yo,behavior:Fn});return}Rr?Mr.x=Ur.scrollLeft-yo:Mr.x=la===st.Right?Ur.scrollLeft-Zr.x:Ur.scrollLeft-hr.x,Mr.x&&Ur.scrollBy({left:-Mr.x,behavior:Fn});break}else if(ti&&kr.y!==ga.y){const yo=Ur.scrollTop+Or.y,Rr=la===st.Down&&yo<=Zr.y||la===st.Up&&yo>=hr.y;if(Rr&&!Or.x){Ur.scrollTo({top:yo,behavior:Fn});return}Rr?Mr.y=Ur.scrollTop-yo:Mr.y=la===st.Down?Ur.scrollTop-Zr.y:Ur.scrollTop-hr.y,Mr.y&&Ur.scrollBy({top:-Mr.y,behavior:Fn});break}}this.handleMove(ke,(0,he.IH)((0,he.$X)(ga,this.referenceCoordinates),Mr))}}}handleMove(ke,Xe){const{onMove:Ct}=this.props;ke.preventDefault(),Ct(Xe)}handleEnd(ke){const{onEnd:Xe}=this.props;ke.preventDefault(),this.detach(),Xe()}handleCancel(ke){const{onCancel:Xe}=this.props;ke.preventDefault(),this.detach(),Xe()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}_e.activators=[{eventName:"onKeyDown",handler:(Ce,ke,Xe)=>{let{keyboardCodes:Ct=xt,onActivation:Yt}=ke,{active:Jt}=Xe;const{code:bn}=Ce.nativeEvent;if(Ct.start.includes(bn)){const Fn=Jt.activatorNode.current;return Fn&&Ce.target!==Fn?!1:(Ce.preventDefault(),Yt==null||Yt({event:Ce.nativeEvent}),!0)}return!1}}];function ct(Ce){return!!(Ce&&"distance"in Ce)}function wt(Ce){return!!(Ce&&"delay"in Ce)}class zt{constructor(ke,Xe,Ct){var Yt;Ct===void 0&&(Ct=we(ke.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=ke,this.events=Xe;const{event:Jt}=ke,{target:bn}=Jt;this.props=ke,this.events=Xe,this.document=(0,he.r3)(bn),this.documentListeners=new Ve(this.document),this.listeners=new Ve(Ct),this.windowListeners=new Ve((0,he.Jj)(bn)),this.initialCoordinates=(Yt=(0,he.DC)(Jt))!=null?Yt:E,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:ke,props:{options:{activationConstraint:Xe,bypassActivationConstraint:Ct}}}=this;if(this.listeners.add(ke.move.name,this.handleMove,{passive:!1}),this.listeners.add(ke.end.name,this.handleEnd),ke.cancel&&this.listeners.add(ke.cancel.name,this.handleCancel),this.windowListeners.add(et.Resize,this.handleCancel),this.windowListeners.add(et.DragStart,jt),this.windowListeners.add(et.VisibilityChange,this.handleCancel),this.windowListeners.add(et.ContextMenu,jt),this.documentListeners.add(et.Keydown,this.handleKeydown),Xe){if(Ct!=null&&Ct({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(wt(Xe)){this.timeoutId=setTimeout(this.handleStart,Xe.delay),this.handlePending(Xe);return}if(ct(Xe)){this.handlePending(Xe);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(ke,Xe){const{active:Ct,onPending:Yt}=this.props;Yt(Ct,ke,this.initialCoordinates,Xe)}handleStart(){const{initialCoordinates:ke}=this,{onStart:Xe}=this.props;ke&&(this.activated=!0,this.documentListeners.add(et.Click,Se,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(et.SelectionChange,this.removeTextSelection),Xe(ke))}handleMove(ke){var Xe;const{activated:Ct,initialCoordinates:Yt,props:Jt}=this,{onMove:bn,options:{activationConstraint:Fn}}=Jt;if(!Yt)return;const Yn=(Xe=(0,he.DC)(ke))!=null?Xe:E,Pa=(0,he.$X)(Yt,Yn);if(!Ct&&Fn){if(ct(Fn)){if(Fn.tolerance!=null&&pt(Pa,Fn.tolerance))return this.handleCancel();if(pt(Pa,Fn.distance))return this.handleStart()}if(wt(Fn)&&pt(Pa,Fn.tolerance))return this.handleCancel();this.handlePending(Fn,Pa);return}ke.cancelable&&ke.preventDefault(),bn(Yn)}handleEnd(){const{onAbort:ke,onEnd:Xe}=this.props;this.detach(),this.activated||ke(this.props.active),Xe()}handleCancel(){const{onAbort:ke,onCancel:Xe}=this.props;this.detach(),this.activated||ke(this.props.active),Xe()}handleKeydown(ke){ke.code===st.Esc&&this.handleCancel()}removeTextSelection(){var ke;(ke=this.document.getSelection())==null||ke.removeAllRanges()}}const mn={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class dt extends zt{constructor(ke){const{event:Xe}=ke,Ct=(0,he.r3)(Xe.target);super(ke,mn,Ct)}}dt.activators=[{eventName:"onPointerDown",handler:(Ce,ke)=>{let{nativeEvent:Xe}=Ce,{onActivation:Ct}=ke;return!Xe.isPrimary||Xe.button!==0?!1:(Ct==null||Ct({event:Xe}),!0)}}];const Dt={move:{name:"mousemove"},end:{name:"mouseup"}};var yt;(function(Ce){Ce[Ce.RightClick=2]="RightClick"})(yt||(yt={}));class en extends zt{constructor(ke){super(ke,Dt,(0,he.r3)(ke.event.target))}}en.activators=[{eventName:"onMouseDown",handler:(Ce,ke)=>{let{nativeEvent:Xe}=Ce,{onActivation:Ct}=ke;return Xe.button===yt.RightClick?!1:(Ct==null||Ct({event:Xe}),!0)}}];const Vt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class un extends zt{constructor(ke){super(ke,Vt)}static setup(){return window.addEventListener(Vt.move.name,ke,{capture:!1,passive:!1}),function(){window.removeEventListener(Vt.move.name,ke)};function ke(){}}}un.activators=[{eventName:"onTouchStart",handler:(Ce,ke)=>{let{nativeEvent:Xe}=Ce,{onActivation:Ct}=ke;const{touches:Yt}=Xe;return Yt.length>1?!1:(Ct==null||Ct({event:Xe}),!0)}}];var Vn;(function(Ce){Ce[Ce.Pointer=0]="Pointer",Ce[Ce.DraggableRect=1]="DraggableRect"})(Vn||(Vn={}));var fn;(function(Ce){Ce[Ce.TreeOrder=0]="TreeOrder",Ce[Ce.ReversedTreeOrder=1]="ReversedTreeOrder"})(fn||(fn={}));function an(Ce){let{acceleration:ke,activator:Xe=Vn.Pointer,canScroll:Ct,draggingRect:Yt,enabled:Jt,interval:bn=5,order:Fn=fn.TreeOrder,pointerCoordinates:Yn,scrollableAncestors:Pa,scrollableAncestorRects:Ca,delta:ga,threshold:Or}=Ce;const Mr=_t({delta:ga,disabled:!Jt}),[Ro,Ur]=(0,he.Yz)(),la=(0,z.useRef)({x:0,y:0}),$n=(0,z.useRef)({x:0,y:0}),oa=(0,z.useMemo)(()=>{switch(Xe){case Vn.Pointer:return Yn?{top:Yn.y,bottom:Yn.y,left:Yn.x,right:Yn.x}:null;case Vn.DraggableRect:return Yt}},[Xe,Yt,Yn]),ra=(0,z.useRef)(null),Nr=(0,z.useCallback)(()=>{const hr=ra.current;if(!hr)return;const xr=la.current.x*$n.current.x,kr=la.current.y*$n.current.y;hr.scrollBy(xr,kr)},[]),Zr=(0,z.useMemo)(()=>Fn===fn.TreeOrder?[...Pa].reverse():Pa,[Fn,Pa]);(0,z.useEffect)(()=>{if(!Jt||!Pa.length||!oa){Ur();return}for(const hr of Zr){if((Ct==null?void 0:Ct(hr))===!1)continue;const xr=Pa.indexOf(hr),kr=Ca[xr];if(!kr)continue;const{direction:ho,speed:ti}=qe(hr,kr,oa,ke,Or);for(const yo of["x","y"])Mr[yo][ho[yo]]||(ti[yo]=0,ho[yo]=0);if(ti.x>0||ti.y>0){Ur(),ra.current=hr,Ro(Nr,bn),la.current=ti,$n.current=ho;return}}la.current={x:0,y:0},$n.current={x:0,y:0},Ur()},[ke,Nr,Ct,Ur,Jt,bn,JSON.stringify(oa),JSON.stringify(Mr),Ro,Pa,Zr,Ca,JSON.stringify(Or)])}const Un={x:{[Kt.Backward]:!1,[Kt.Forward]:!1},y:{[Kt.Backward]:!1,[Kt.Forward]:!1}};function _t(Ce){let{delta:ke,disabled:Xe}=Ce;const Ct=(0,he.D9)(ke);return(0,he.Gj)(Yt=>{if(Xe||!Ct||!Yt)return Un;const Jt={x:Math.sign(ke.x-Ct.x),y:Math.sign(ke.y-Ct.y)};return{x:{[Kt.Backward]:Yt.x[Kt.Backward]||Jt.x===-1,[Kt.Forward]:Yt.x[Kt.Forward]||Jt.x===1},y:{[Kt.Backward]:Yt.y[Kt.Backward]||Jt.y===-1,[Kt.Forward]:Yt.y[Kt.Forward]||Jt.y===1}}},[Xe,ke,Ct])}function Tt(Ce,ke){const Xe=ke!=null?Ce.get(ke):void 0,Ct=Xe?Xe.node.current:null;return(0,he.Gj)(Yt=>{var Jt;return ke==null?null:(Jt=Ct!=null?Ct:Yt)!=null?Jt:null},[Ct,ke])}function Xt(Ce,ke){return(0,z.useMemo)(()=>Ce.reduce((Xe,Ct)=>{const{sensor:Yt}=Ct,Jt=Yt.activators.map(bn=>({eventName:bn.eventName,handler:ke(bn.handler,Ct)}));return[...Xe,...Jt]},[]),[Ce,ke])}var Ea;(function(Ce){Ce[Ce.Always=0]="Always",Ce[Ce.BeforeDragging=1]="BeforeDragging",Ce[Ce.WhileDragging=2]="WhileDragging"})(Ea||(Ea={}));var qn;(function(Ce){Ce.Optimized="optimized"})(qn||(qn={}));const Mn=new Map;function Ga(Ce,ke){let{dragging:Xe,dependencies:Ct,config:Yt}=ke;const[Jt,bn]=(0,z.useState)(null),{frequency:Fn,measure:Yn,strategy:Pa}=Yt,Ca=(0,z.useRef)(Ce),ga=la(),Or=(0,he.Ey)(ga),Mr=(0,z.useCallback)(function($n){$n===void 0&&($n=[]),!Or.current&&bn(oa=>oa===null?$n:oa.concat($n.filter(ra=>!oa.includes(ra))))},[Or]),Ro=(0,z.useRef)(null),Ur=(0,he.Gj)($n=>{if(ga&&!Xe)return Mn;if(!$n||$n===Mn||Ca.current!==Ce||Jt!=null){const oa=new Map;for(let ra of Ce){if(!ra)continue;if(Jt&&Jt.length>0&&!Jt.includes(ra.id)&&ra.rect.current){oa.set(ra.id,ra.rect.current);continue}const Nr=ra.node.current,Zr=Nr?new We(Yn(Nr),Nr):null;ra.rect.current=Zr,Zr&&oa.set(ra.id,Zr)}return oa}return $n},[Ce,Jt,Xe,ga,Yn]);return(0,z.useEffect)(()=>{Ca.current=Ce},[Ce]),(0,z.useEffect)(()=>{ga||Mr()},[Xe,ga]),(0,z.useEffect)(()=>{Jt&&Jt.length>0&&bn(null)},[JSON.stringify(Jt)]),(0,z.useEffect)(()=>{ga||typeof Fn!="number"||Ro.current!==null||(Ro.current=setTimeout(()=>{Mr(),Ro.current=null},Fn))},[Fn,ga,Mr,...Ct]),{droppableRects:Ur,measureDroppableContainers:Mr,measuringScheduled:Jt!=null};function la(){switch(Pa){case Ea.Always:return!1;case Ea.BeforeDragging:return Xe;default:return!Xe}}}function La(Ce,ke){return(0,he.Gj)(Xe=>Ce?Xe||(typeof ke=="function"?ke(Ce):Ce):null,[ke,Ce])}function Ar(Ce,ke){return La(Ce,ke)}function Cr(Ce){let{callback:ke,disabled:Xe}=Ce;const Ct=(0,he.zX)(ke),Yt=(0,z.useMemo)(()=>{if(Xe||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Jt}=window;return new Jt(Ct)},[Ct,Xe]);return(0,z.useEffect)(()=>()=>Yt==null?void 0:Yt.disconnect(),[Yt]),Yt}function Qa(Ce){let{callback:ke,disabled:Xe}=Ce;const Ct=(0,he.zX)(ke),Yt=(0,z.useMemo)(()=>{if(Xe||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Jt}=window;return new Jt(Ct)},[Xe]);return(0,z.useEffect)(()=>()=>Yt==null?void 0:Yt.disconnect(),[Yt]),Yt}function rt(Ce){return new We(ft(Ce),Ce)}function Mt(Ce,ke,Xe){ke===void 0&&(ke=rt);const[Ct,Yt]=(0,z.useState)(null);function Jt(){Yt(Yn=>{if(!Ce)return null;if(Ce.isConnected===!1){var Pa;return(Pa=Yn!=null?Yn:Xe)!=null?Pa:null}const Ca=ke(Ce);return JSON.stringify(Yn)===JSON.stringify(Ca)?Yn:Ca})}const bn=Cr({callback(Yn){if(Ce)for(const Pa of Yn){const{type:Ca,target:ga}=Pa;if(Ca==="childList"&&ga instanceof HTMLElement&&ga.contains(Ce)){Jt();break}}}}),Fn=Qa({callback:Jt});return(0,he.LI)(()=>{Jt(),Ce?(Fn==null||Fn.observe(Ce),bn==null||bn.observe(document.body,{childList:!0,subtree:!0})):(Fn==null||Fn.disconnect(),bn==null||bn.disconnect())},[Ce]),Ct}function Ft(Ce){const ke=La(Ce);return De(Ce,ke)}const kn=[];function dn(Ce){const ke=(0,z.useRef)(Ce),Xe=(0,he.Gj)(Ct=>Ce?Ct&&Ct!==kn&&Ce&&ke.current&&Ce.parentNode===ke.current.parentNode?Ct:At(Ce):kn,[Ce]);return(0,z.useEffect)(()=>{ke.current=Ce},[Ce]),Xe}function Ln(Ce){const[ke,Xe]=(0,z.useState)(null),Ct=(0,z.useRef)(Ce),Yt=(0,z.useCallback)(Jt=>{const bn=Pt(Jt.target);bn&&Xe(Fn=>Fn?(Fn.set(bn,Qt(bn)),new Map(Fn)):null)},[]);return(0,z.useEffect)(()=>{const Jt=Ct.current;if(Ce!==Jt){bn(Jt);const Fn=Ce.map(Yn=>{const Pa=Pt(Yn);return Pa?(Pa.addEventListener("scroll",Yt,{passive:!0}),[Pa,Qt(Pa)]):null}).filter(Yn=>Yn!=null);Xe(Fn.length?new Map(Fn):null),Ct.current=Ce}return()=>{bn(Ce),bn(Jt)};function bn(Fn){Fn.forEach(Yn=>{const Pa=Pt(Yn);Pa==null||Pa.removeEventListener("scroll",Yt)})}},[Yt,Ce]),(0,z.useMemo)(()=>Ce.length?ke?Array.from(ke.values()).reduce((Jt,bn)=>(0,he.IH)(Jt,bn),E):Le(Ce):E,[Ce,ke])}function Xr(Ce,ke){ke===void 0&&(ke=[]);const Xe=(0,z.useRef)(null);return(0,z.useEffect)(()=>{Xe.current=null},ke),(0,z.useEffect)(()=>{const Ct=Ce!==E;Ct&&!Xe.current&&(Xe.current=Ce),!Ct&&Xe.current&&(Xe.current=null)},[Ce]),Xe.current?(0,he.$X)(Ce,Xe.current):E}function Er(Ce){(0,z.useEffect)(()=>{if(!he.Nq)return;const ke=Ce.map(Xe=>{let{sensor:Ct}=Xe;return Ct.setup==null?void 0:Ct.setup()});return()=>{for(const Xe of ke)Xe==null||Xe()}},Ce.map(ke=>{let{sensor:Xe}=ke;return Xe}))}function Kr(Ce,ke){return(0,z.useMemo)(()=>Ce.reduce((Xe,Ct)=>{let{eventName:Yt,handler:Jt}=Ct;return Xe[Yt]=bn=>{Jt(bn,ke)},Xe},{}),[Ce,ke])}function oo(Ce){return(0,z.useMemo)(()=>Ce?kt(Ce):null,[Ce])}const Xa=[];function Nn(Ce,ke){ke===void 0&&(ke=ft);const[Xe]=Ce,Ct=oo(Xe?(0,he.Jj)(Xe):null),[Yt,Jt]=(0,z.useState)(Xa);function bn(){Jt(()=>Ce.length?Ce.map(Yn=>Hn(Yn)?Ct:new We(ke(Yn),Yn)):Xa)}const Fn=Qa({callback:bn});return(0,he.LI)(()=>{Fn==null||Fn.disconnect(),bn(),Ce.forEach(Yn=>Fn==null?void 0:Fn.observe(Yn))},[Ce]),Yt}function ur(Ce){if(!Ce)return null;if(Ce.children.length>1)return Ce;const ke=Ce.children[0];return(0,he.Re)(ke)?ke:Ce}function nr(Ce){let{measure:ke}=Ce;const[Xe,Ct]=(0,z.useState)(null),Yt=(0,z.useCallback)(Pa=>{for(const{target:Ca}of Pa)if((0,he.Re)(Ca)){Ct(ga=>{const Or=ke(Ca);return ga?li(_r({},ga),{width:Or.width,height:Or.height}):Or});break}},[ke]),Jt=Qa({callback:Yt}),bn=(0,z.useCallback)(Pa=>{const Ca=ur(Pa);Jt==null||Jt.disconnect(),Ca&&(Jt==null||Jt.observe(Ca)),Ct(Ca?ke(Ca):null)},[ke,Jt]),[Fn,Yn]=(0,he.wm)(bn);return(0,z.useMemo)(()=>({nodeRef:Fn,rect:Xe,setRef:Yn}),[Xe,Fn,Yn])}const sr=[{sensor:dt,options:{}},{sensor:_e,options:{}}],er={current:{}},vt={draggable:{measure:Rt},droppable:{measure:Rt,strategy:Ea.WhileDragging,frequency:qn.Optimized},dragOverlay:{measure:ft}};class qt extends Map{get(ke){var Xe;return ke!=null&&(Xe=super.get(ke))!=null?Xe:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(ke=>{let{disabled:Xe}=ke;return!Xe})}getNodeFor(ke){var Xe,Ct;return(Xe=(Ct=this.get(ke))==null?void 0:Ct.node.current)!=null?Xe:void 0}}const tn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new qt,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:vt,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},Pn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},Rn=(0,z.createContext)(Pn),gn=(0,z.createContext)(tn);function On(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new qt}}}function yn(Ce,ke){switch(ke.type){case re.DragStart:return li(_r({},Ce),{draggable:li(_r({},Ce.draggable),{initialCoordinates:ke.initialCoordinates,active:ke.active})});case re.DragMove:return Ce.draggable.active==null?Ce:li(_r({},Ce),{draggable:li(_r({},Ce.draggable),{translate:{x:ke.coordinates.x-Ce.draggable.initialCoordinates.x,y:ke.coordinates.y-Ce.draggable.initialCoordinates.y}})});case re.DragEnd:case re.DragCancel:return li(_r({},Ce),{draggable:li(_r({},Ce.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case re.RegisterDroppable:{const{element:Xe}=ke,{id:Ct}=Xe,Yt=new qt(Ce.droppable.containers);return Yt.set(Ct,Xe),li(_r({},Ce),{droppable:li(_r({},Ce.droppable),{containers:Yt})})}case re.SetDroppableDisabled:{const{id:Xe,key:Ct,disabled:Yt}=ke,Jt=Ce.droppable.containers.get(Xe);if(!Jt||Ct!==Jt.key)return Ce;const bn=new qt(Ce.droppable.containers);return bn.set(Xe,li(_r({},Jt),{disabled:Yt})),li(_r({},Ce),{droppable:li(_r({},Ce.droppable),{containers:bn})})}case re.UnregisterDroppable:{const{id:Xe,key:Ct}=ke,Yt=Ce.droppable.containers.get(Xe);if(!Yt||Ct!==Yt.key)return Ce;const Jt=new qt(Ce.droppable.containers);return Jt.delete(Xe),li(_r({},Ce),{droppable:li(_r({},Ce.droppable),{containers:Jt})})}default:return Ce}}function ar(Ce){let{disabled:ke}=Ce;const{active:Xe,activatorEvent:Ct,draggableNodes:Yt}=(0,z.useContext)(Rn),Jt=(0,he.D9)(Ct),bn=(0,he.D9)(Xe==null?void 0:Xe.id);return(0,z.useEffect)(()=>{if(!ke&&!Ct&&Jt&&bn!=null){if(!(0,he.vd)(Jt)||document.activeElement===Jt.target)return;const Fn=Yt.get(bn);if(!Fn)return;const{activatorNode:Yn,node:Pa}=Fn;if(!Yn.current&&!Pa.current)return;requestAnimationFrame(()=>{for(const Ca of[Yn.current,Pa.current]){if(!Ca)continue;const ga=(0,he.so)(Ca);if(ga){ga.focus();break}}})}},[Ct,ke,Yt,bn,Jt]),null}function Ra(Ce,ke){let Yt=ke,{transform:Xe}=Yt,Ct=lu(Yt,["transform"]);return Ce!=null&&Ce.length?Ce.reduce((Jt,bn)=>bn(_r({transform:Jt},Ct)),Xe):Xe}function cn(Ce){return(0,z.useMemo)(()=>({draggable:_r(_r({},vt.draggable),Ce==null?void 0:Ce.draggable),droppable:_r(_r({},vt.droppable),Ce==null?void 0:Ce.droppable),dragOverlay:_r(_r({},vt.dragOverlay),Ce==null?void 0:Ce.dragOverlay)}),[Ce==null?void 0:Ce.draggable,Ce==null?void 0:Ce.droppable,Ce==null?void 0:Ce.dragOverlay])}function io(Ce){let{activeNode:ke,measure:Xe,initialRect:Ct,config:Yt=!0}=Ce;const Jt=(0,z.useRef)(!1),{x:bn,y:Fn}=typeof Yt=="boolean"?{x:Yt,y:Yt}:Yt;(0,he.LI)(()=>{if(!bn&&!Fn||!ke){Jt.current=!1;return}if(Jt.current||!Ct)return;const Pa=ke==null?void 0:ke.node.current;if(!Pa||Pa.isConnected===!1)return;const Ca=Xe(Pa),ga=De(Ca,Ct);if(bn||(ga.x=0),Fn||(ga.y=0),Jt.current=!0,Math.abs(ga.x)>0||Math.abs(ga.y)>0){const Or=Nt(Pa);Or&&Or.scrollBy({top:ga.y,left:ga.x})}},[ke,bn,Fn,Ct,Xe])}const to=(0,z.createContext)(li(_r({},E),{scaleX:1,scaleY:1}));var no;(function(Ce){Ce[Ce.Uninitialized=0]="Uninitialized",Ce[Ce.Initializing=1]="Initializing",Ce[Ce.Initialized=2]="Initialized"})(no||(no={}));const Mo=(0,z.memo)(function(ke){var Xe,Ct,Yt,Jt;let Jo=ke,{id:bn,accessibility:Fn,autoScroll:Yn=!0,children:Pa,sensors:Ca=sr,collisionDetection:ga=ye,measuring:Or,modifiers:Mr}=Jo,Ro=lu(Jo,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const Ur=(0,z.useReducer)(yn,void 0,On),[la,$n]=Ur,[oa,ra]=Te(),[Nr,Zr]=(0,z.useState)(no.Uninitialized),hr=Nr===no.Initialized,{draggable:{active:xr,nodes:kr,translate:ho},droppable:{containers:ti}}=la,yo=xr!=null?kr.get(xr):null,Rr=(0,z.useRef)({initial:null,translated:null}),ro=(0,z.useMemo)(()=>{var fr;return xr!=null?{id:xr,data:(fr=yo==null?void 0:yo.data)!=null?fr:er,rect:Rr}:null},[xr,yo]),Fo=(0,z.useRef)(null),[vo,Eo]=(0,z.useState)(null),[sa,jo]=(0,z.useState)(null),wi=(0,he.Ey)(Ro,Object.values(Ro)),Zi=(0,he.Ld)("DndDescribedBy",bn),nl=(0,z.useMemo)(()=>ti.getEnabled(),[ti]),Xi=cn(Or),{droppableRects:zi,measureDroppableContainers:Fi,measuringScheduled:ul}=Ga(nl,{dragging:hr,dependencies:[ho.x,ho.y],config:Xi.droppable}),_i=Tt(kr,xr),rl=(0,z.useMemo)(()=>sa?(0,he.DC)(sa):null,[sa]),Ut=Tr(),Ht=Ar(_i,Xi.draggable.measure);io({activeNode:xr!=null?kr.get(xr):null,config:Ut.layoutShiftCompensation,initialRect:Ht,measure:Xi.draggable.measure});const Zt=Mt(_i,Xi.draggable.measure,Ht),ba=Mt(_i?_i.parentElement:null),Va=(0,z.useRef)({activatorEvent:null,active:null,activeNode:_i,collisionRect:null,collisions:null,droppableRects:zi,draggableNodes:kr,draggingNode:null,draggingNodeRect:null,droppableContainers:ti,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Fa=ti.getNodeFor((Xe=Va.current.over)==null?void 0:Xe.id),In=nr({measure:Xi.dragOverlay.measure}),Ua=(Ct=In.nodeRef.current)!=null?Ct:_i,hn=hr?(Yt=In.rect)!=null?Yt:Zt:null,Za=!!(In.nodeRef.current&&In.rect),Da=Ft(Za?null:Zt),Io=oo(Ua?(0,he.Jj)(Ua):null),Ma=dn(hr?Fa!=null?Fa:_i:null),$o=Nn(Ma),Si=Ra(Mr,{transform:{x:ho.x-Da.x,y:ho.y-Da.y,scaleX:1,scaleY:1},activatorEvent:sa,active:ro,activeNodeRect:Zt,containerNodeRect:ba,draggingNodeRect:hn,over:Va.current.over,overlayNodeRect:In.rect,scrollableAncestors:Ma,scrollableAncestorRects:$o,windowRect:Io}),Ko=rl?(0,he.IH)(rl,ho):null,Sr=Ln(Ma),Pr=Xr(Sr),Qn=Xr(Sr,[Zt]),ao=(0,he.IH)(Si,Pr),oi=hn?Ge(hn,Si):null,ha=ro&&oi?ga({active:ro,collisionRect:oi,droppableRects:zi,droppableContainers:nl,pointerCoordinates:Ko}):null,ca=ue(ha,"id"),[eo,Ai]=(0,z.useState)(null),Tn=Za?Si:(0,he.IH)(Si,Qn),tr=mt(Tn,(Jt=eo==null?void 0:eo.rect)!=null?Jt:null,Zt),aa=(0,z.useRef)(null),nn=(0,z.useCallback)((fr,So)=>{let{sensor:Ha,options:Yr}=So;if(Fo.current==null)return;const mo=kr.get(Fo.current);if(!mo)return;const Do=fr.nativeEvent,vn=new Ha({active:Fo.current,activeNode:mo,event:Do,options:Yr,context:Va,onAbort(Oa){if(!kr.get(Oa))return;const{onDragAbort:ya}=wi.current,wr={id:Oa};ya==null||ya(wr),oa({type:"onDragAbort",event:wr})},onPending(Oa,_n,ya,wr){if(!kr.get(Oa))return;const{onDragPending:Co}=wi.current,qo={id:Oa,constraint:_n,initialCoordinates:ya,offset:wr};Co==null||Co(qo),oa({type:"onDragPending",event:qo})},onStart(Oa){const _n=Fo.current;if(_n==null)return;const ya=kr.get(_n);if(!ya)return;const{onDragStart:wr}=wi.current,Fr={activatorEvent:Do,active:{id:_n,data:ya.data,rect:Rr}};(0,se.unstable_batchedUpdates)(()=>{wr==null||wr(Fr),Zr(no.Initializing),$n({type:re.DragStart,initialCoordinates:Oa,active:_n}),oa({type:"onDragStart",event:Fr}),Eo(aa.current),jo(Do)})},onMove(Oa){$n({type:re.DragMove,coordinates:Oa})},onEnd:na(re.DragEnd),onCancel:na(re.DragCancel)});aa.current=vn;function na(Oa){return function(){return Au(this,null,function*(){const{active:ya,collisions:wr,over:Fr,scrollAdjustedTranslate:Co}=Va.current;let qo=null;if(ya&&Co){const{cancelDrop:Di}=wi.current;qo={activatorEvent:Do,active:ya,collisions:wr,delta:Co,over:Fr},Oa===re.DragEnd&&typeof Di=="function"&&(yield Promise.resolve(Di(qo)))&&(Oa=re.DragCancel)}Fo.current=null,(0,se.unstable_batchedUpdates)(()=>{$n({type:Oa}),Zr(no.Uninitialized),Ai(null),Eo(null),jo(null),aa.current=null;const Di=Oa===re.DragEnd?"onDragEnd":"onDragCancel";if(qo){const Hi=wi.current[Di];Hi==null||Hi(qo),oa({type:Di,event:qo})}})})}}},[kr]),Wn=(0,z.useCallback)((fr,So)=>(Ha,Yr)=>{const mo=Ha.nativeEvent,Do=kr.get(Yr);if(Fo.current!==null||!Do||mo.dndKit||mo.defaultPrevented)return;const vn={active:Do};fr(Ha,So.options,vn)===!0&&(mo.dndKit={capturedBy:So.sensor},Fo.current=Yr,nn(Ha,So))},[kr,nn]),Cn=Xt(Ca,Wn);Er(Ca),(0,he.LI)(()=>{Zt&&Nr===no.Initializing&&Zr(no.Initialized)},[Zt,Nr]),(0,z.useEffect)(()=>{const{onDragMove:fr}=wi.current,{active:So,activatorEvent:Ha,collisions:Yr,over:mo}=Va.current;if(!So||!Ha)return;const Do={active:So,activatorEvent:Ha,collisions:Yr,delta:{x:ao.x,y:ao.y},over:mo};(0,se.unstable_batchedUpdates)(()=>{fr==null||fr(Do),oa({type:"onDragMove",event:Do})})},[ao.x,ao.y]),(0,z.useEffect)(()=>{const{active:fr,activatorEvent:So,collisions:Ha,droppableContainers:Yr,scrollAdjustedTranslate:mo}=Va.current;if(!fr||Fo.current==null||!So||!mo)return;const{onDragOver:Do}=wi.current,vn=Yr.get(ca),na=vn&&vn.rect.current?{id:vn.id,rect:vn.rect.current,data:vn.data,disabled:vn.disabled}:null,Oa={active:fr,activatorEvent:So,collisions:Ha,delta:{x:mo.x,y:mo.y},over:na};(0,se.unstable_batchedUpdates)(()=>{Ai(na),Do==null||Do(Oa),oa({type:"onDragOver",event:Oa})})},[ca]),(0,he.LI)(()=>{Va.current={activatorEvent:sa,active:ro,activeNode:_i,collisionRect:oi,collisions:ha,droppableRects:zi,draggableNodes:kr,draggingNode:Ua,draggingNodeRect:hn,droppableContainers:ti,over:eo,scrollableAncestors:Ma,scrollAdjustedTranslate:ao},Rr.current={initial:hn,translated:oi}},[ro,_i,ha,oi,kr,Ua,hn,zi,ti,eo,Ma,ao]),an(li(_r({},Ut),{delta:ho,draggingRect:oi,pointerCoordinates:Ko,scrollableAncestors:Ma,scrollableAncestorRects:$o}));const $r=(0,z.useMemo)(()=>({active:ro,activeNode:_i,activeNodeRect:Zt,activatorEvent:sa,collisions:ha,containerNodeRect:ba,dragOverlay:In,draggableNodes:kr,droppableContainers:ti,droppableRects:zi,over:eo,measureDroppableContainers:Fi,scrollableAncestors:Ma,scrollableAncestorRects:$o,measuringConfiguration:Xi,measuringScheduled:ul,windowRect:Io}),[ro,_i,Zt,sa,ha,ba,In,kr,ti,zi,eo,Fi,Ma,$o,Xi,ul,Io]),mr=(0,z.useMemo)(()=>({activatorEvent:sa,activators:Cn,active:ro,activeNodeRect:Zt,ariaDescribedById:{draggable:Zi},dispatch:$n,draggableNodes:kr,over:eo,measureDroppableContainers:Fi}),[sa,Cn,ro,Zt,$n,Zi,kr,eo,Fi]);return z.createElement(nt.Provider,{value:ra},z.createElement(Rn.Provider,{value:mr},z.createElement(gn.Provider,{value:$r},z.createElement(to.Provider,{value:tr},Pa)),z.createElement(ar,{disabled:(Fn==null?void 0:Fn.restoreFocus)===!1})),z.createElement(Ee,li(_r({},Fn),{hiddenTextDescribedById:Zi})));function Tr(){const fr=(vo==null?void 0:vo.autoScrollEnabled)===!1,So=typeof Yn=="object"?Yn.enabled===!1:Yn===!1,Ha=hr&&!fr&&!So;return typeof Yn=="object"?li(_r({},Yn),{enabled:Ha}):{enabled:Ha}}}),ea=(0,z.createContext)(null),Aa="button",dr="Draggable";function pa(Ce){let{id:ke,data:Xe,disabled:Ct=!1,attributes:Yt}=Ce;const Jt=(0,he.Ld)(dr),{activators:bn,activatorEvent:Fn,active:Yn,activeNodeRect:Pa,ariaDescribedById:Ca,draggableNodes:ga,over:Or}=(0,z.useContext)(Rn),{role:Mr=Aa,roleDescription:Ro="draggable",tabIndex:Ur=0}=Yt!=null?Yt:{},la=(Yn==null?void 0:Yn.id)===ke,$n=(0,z.useContext)(la?to:ea),[oa,ra]=(0,he.wm)(),[Nr,Zr]=(0,he.wm)(),hr=Kr(bn,ke),xr=(0,he.Ey)(Xe);(0,he.LI)(()=>(ga.set(ke,{id:ke,key:Jt,node:oa,activatorNode:Nr,data:xr}),()=>{const ho=ga.get(ke);ho&&ho.key===Jt&&ga.delete(ke)}),[ga,ke]);const kr=(0,z.useMemo)(()=>({role:Mr,tabIndex:Ur,"aria-disabled":Ct,"aria-pressed":la&&Mr===Aa?!0:void 0,"aria-roledescription":Ro,"aria-describedby":Ca.draggable}),[Ct,Mr,Ur,la,Ro,Ca.draggable]);return{active:Yn,activatorEvent:Fn,activeNodeRect:Pa,attributes:kr,isDragging:la,listeners:Ct?void 0:hr,node:oa,over:Or,setNodeRef:ra,setActivatorNodeRef:Zr,transform:$n}}function jr(){return(0,z.useContext)(gn)}const Ir="Droppable",br={timeout:25};function po(Ce){let{data:ke,disabled:Xe=!1,id:Ct,resizeObserverConfig:Yt}=Ce;const Jt=(0,he.Ld)(Ir),{active:bn,dispatch:Fn,over:Yn,measureDroppableContainers:Pa}=(0,z.useContext)(Rn),Ca=(0,z.useRef)({disabled:Xe}),ga=(0,z.useRef)(!1),Or=(0,z.useRef)(null),Mr=(0,z.useRef)(null),{disabled:Ro,updateMeasurementsFor:Ur,timeout:la}=_r(_r({},br),Yt),$n=(0,he.Ey)(Ur!=null?Ur:Ct),oa=(0,z.useCallback)(()=>{if(!ga.current){ga.current=!0;return}Mr.current!=null&&clearTimeout(Mr.current),Mr.current=setTimeout(()=>{Pa(Array.isArray($n.current)?$n.current:[$n.current]),Mr.current=null},la)},[la]),ra=Qa({callback:oa,disabled:Ro||!bn}),Nr=(0,z.useCallback)((kr,ho)=>{ra&&(ho&&(ra.unobserve(ho),ga.current=!1),kr&&ra.observe(kr))},[ra]),[Zr,hr]=(0,he.wm)(Nr),xr=(0,he.Ey)(ke);return(0,z.useEffect)(()=>{!ra||!Zr.current||(ra.disconnect(),ga.current=!1,ra.observe(Zr.current))},[Zr,ra]),(0,z.useEffect)(()=>(Fn({type:re.RegisterDroppable,element:{id:Ct,key:Jt,disabled:Xe,node:Zr,rect:Or,data:xr}}),()=>Fn({type:re.UnregisterDroppable,key:Jt,id:Ct})),[Ct]),(0,z.useEffect)(()=>{Xe!==Ca.current.disabled&&(Fn({type:re.SetDroppableDisabled,id:Ct,key:Jt,disabled:Xe}),Ca.current.disabled=Xe)},[Ct,Jt,Xe,Fn]),{active:bn,rect:Or,isOver:(Yn==null?void 0:Yn.id)===Ct,node:Zr,over:Yn,setNodeRef:hr}}function Lo(Ce){let{animation:ke,children:Xe}=Ce;const[Ct,Yt]=useState(null),[Jt,bn]=useState(null),Fn=usePrevious(Xe);return!Xe&&!Ct&&Fn&&Yt(Fn),useIsomorphicLayoutEffect(()=>{if(!Jt)return;const Yn=Ct==null?void 0:Ct.key,Pa=Ct==null?void 0:Ct.props.id;if(Yn==null||Pa==null){Yt(null);return}Promise.resolve(ke(Pa,Jt)).then(()=>{Yt(null)})},[ke,Ct,Jt]),React.createElement(React.Fragment,null,Xe,Ct?cloneElement(Ct,{ref:bn}):null)}const Oi={x:0,y:0,scaleX:1,scaleY:1};function vi(Ce){let{children:ke}=Ce;return React.createElement(Rn.Provider,{value:Pn},React.createElement(to.Provider,{value:Oi},ke))}const Ei={position:"fixed",touchAction:"none"},$i=Ce=>isKeyboardEvent(Ce)?"transform 250ms ease":void 0,zn=null,xo={duration:250,easing:"ease",keyframes:Ce=>{let{transform:{initial:ke,final:Xe}}=Ce;return[{transform:he.ux.Transform.toString(ke)},{transform:he.ux.Transform.toString(Xe)}]},sideEffects:(Ce=>ke=>{let{active:Xe,dragOverlay:Ct}=ke;const Yt={},{styles:Jt,className:bn}=Ce;if(Jt!=null&&Jt.active)for(const[Fn,Yn]of Object.entries(Jt.active))Yn!==void 0&&(Yt[Fn]=Xe.node.style.getPropertyValue(Fn),Xe.node.style.setProperty(Fn,Yn));if(Jt!=null&&Jt.dragOverlay)for(const[Fn,Yn]of Object.entries(Jt.dragOverlay))Yn!==void 0&&Ct.node.style.setProperty(Fn,Yn);return bn!=null&&bn.active&&Xe.node.classList.add(bn.active),bn!=null&&bn.dragOverlay&&Ct.node.classList.add(bn.dragOverlay),function(){for(const[Yn,Pa]of Object.entries(Yt))Xe.node.style.setProperty(Yn,Pa);bn!=null&&bn.active&&Xe.node.classList.remove(bn.active)}})({styles:{active:{opacity:"0"}}})};function wo(Ce){let{config:ke,draggableNodes:Xe,droppableContainers:Ct,measuringConfiguration:Yt}=Ce;return useEvent((Jt,bn)=>{if(ke===null)return;const Fn=Xe.get(Jt);if(!Fn)return;const Yn=Fn.node.current;if(!Yn)return;const Pa=ur(bn);if(!Pa)return;const{transform:Ca}=getWindow(bn).getComputedStyle(bn),ga=Ke(Ca);if(!ga)return;const Or=typeof ke=="function"?ke:ui(ke);return Oe(Yn,Yt.draggable.measure),Or({active:{id:Jt,data:Fn.data,node:Yn,rect:Yt.draggable.measure(Yn)},draggableNodes:Xe,dragOverlay:{node:bn,rect:Yt.dragOverlay.measure(Pa)},droppableContainers:Ct,measuringConfiguration:Yt,transform:ga})})}function ui(Ce){const{duration:ke,easing:Xe,sideEffects:Ct,keyframes:Yt}=_r(_r({},xo),Ce);return Jt=>{let oa=Jt,{active:bn,dragOverlay:Fn,transform:Yn}=oa,Pa=lu(oa,["active","dragOverlay","transform"]);if(!ke)return;const Ca={x:Fn.rect.left-bn.rect.left,y:Fn.rect.top-bn.rect.top},ga={scaleX:Yn.scaleX!==1?bn.rect.width*Yn.scaleX/Fn.rect.width:1,scaleY:Yn.scaleY!==1?bn.rect.height*Yn.scaleY/Fn.rect.height:1},Or=_r({x:Yn.x-Ca.x,y:Yn.y-Ca.y},ga),Mr=Yt(li(_r({},Pa),{active:bn,dragOverlay:Fn,transform:{initial:Yn,final:Or}})),[Ro]=Mr,Ur=Mr[Mr.length-1];if(JSON.stringify(Ro)===JSON.stringify(Ur))return;const la=Ct==null?void 0:Ct(_r({active:bn,dragOverlay:Fn},Pa)),$n=Fn.node.animate(Mr,{duration:ke,easing:Xe,fill:"forwards"});return new Promise(ra=>{$n.onfinish=()=>{la==null||la(),ra()}})}}let Bi=0;function Yi(Ce){return useMemo(()=>{if(Ce!=null)return Bi++,Bi},[Ce])}const Mi=null},18257:function(Et,St,te){"use strict";te.d(St,{DL:function(){return ie}});var z=te(35241);function se(Te){return He=>{let{transform:Me}=He;return li(_r({},Me),{x:Math.ceil(Me.x/Te)*Te,y:Math.ceil(Me.y/Te)*Te})}}const he=Te=>{let{transform:He}=Te;return li(_r({},He),{y:0})};function Ie(Te,He,Me){const Ee=_r({},Te);return He.top+Te.y<=Me.top?Ee.y=Me.top-He.top:He.bottom+Te.y>=Me.top+Me.height&&(Ee.y=Me.top+Me.height-He.bottom),He.left+Te.x<=Me.left?Ee.x=Me.left-He.left:He.right+Te.x>=Me.left+Me.width&&(Ee.x=Me.left+Me.width-He.right),Ee}const be=Te=>{let{containerNodeRect:He,draggingNodeRect:Me,transform:Ee}=Te;return!Me||!He?Ee:Ie(Ee,Me,He)},Ne=Te=>{let{draggingNodeRect:He,transform:Me,scrollableAncestorRects:Ee}=Te;const re=Ee[0];return!He||!re?Me:Ie(Me,He,re)},ie=Te=>{let{transform:He}=Te;return li(_r({},He),{x:0})},nt=Te=>{let{transform:He,draggingNodeRect:Me,windowRect:Ee}=Te;return!Me||!Ee?He:Ie(He,Me,Ee)},je=Te=>{let{activatorEvent:He,draggingNodeRect:Me,transform:Ee}=Te;if(Me&&He){const re=getEventCoordinates(He);if(!re)return Ee;const a=re.x-Me.left,y=re.y-Me.top;return li(_r({},Ee),{x:Ee.x+a-Me.width/2,y:Ee.y+y-Me.height/2})}return Ee}},19719:function(Et,St,te){"use strict";te.d(St,{Fo:function(){return ee},PG:function(){return He},Rp:function(){return Ie},nB:function(){return xe},qw:function(){return y}});var z=te(59301),se=te(87954),he=te(35241);function Ie(Ge,Ke,it){const at=Ge.slice();return at.splice(it<0?at.length+it:it,0,at.splice(Ke,1)[0]),at}function be(Ge,Ke,it){const at=Ge.slice();return at[Ke]=Ge[it],at[it]=Ge[Ke],at}function Ne(Ge,Ke){return Ge.reduce((it,at,ft)=>{const Rt=Ke.get(at);return Rt&&(it[ft]=Rt),it},Array(Ge.length))}function ie(Ge){return Ge!==null&&Ge>=0}function nt(Ge,Ke){if(Ge===Ke)return!0;if(Ge.length!==Ke.length)return!1;for(let it=0;it<Ge.length;it++)if(Ge[it]!==Ke[it])return!1;return!0}function je(Ge){return typeof Ge=="boolean"?{draggable:Ge,droppable:Ge}:Ge}const Te={scaleX:1,scaleY:1},He=Ge=>{var Ke;let{rects:it,activeNodeRect:at,activeIndex:ft,overIndex:Rt,index:kt}=Ge;const Ye=(Ke=it[ft])!=null?Ke:at;if(!Ye)return null;const ut=Me(it,kt,ft);if(kt===ft){const At=it[Rt];return At?_r({x:ft<Rt?At.left+At.width-(Ye.left+Ye.width):At.left-Ye.left,y:0},Te):null}return kt>ft&&kt<=Rt?_r({x:-Ye.width-ut,y:0},Te):kt<ft&&kt>=Rt?_r({x:Ye.width+ut,y:0},Te):_r({x:0,y:0},Te)};function Me(Ge,Ke,it){const at=Ge[Ke],ft=Ge[Ke-1],Rt=Ge[Ke+1];return!at||!ft&&!Rt?0:it<Ke?ft?at.left-(ft.left+ft.width):Rt.left-(at.left+at.width):Rt?Rt.left-(at.left+at.width):at.left-(ft.left+ft.width)}const Ee=Ge=>{let{rects:Ke,activeIndex:it,overIndex:at,index:ft}=Ge;const Rt=Ie(Ke,at,it),kt=Ke[ft],Ye=Rt[ft];return!Ye||!kt?null:{x:Ye.left-kt.left,y:Ye.top-kt.top,scaleX:Ye.width/kt.width,scaleY:Ye.height/kt.height}},re=Ge=>{let{activeIndex:Ke,index:it,rects:at,overIndex:ft}=Ge,Rt,kt;return it===Ke&&(Rt=at[it],kt=at[ft]),it===ft&&(Rt=at[it],kt=at[Ke]),!kt||!Rt?null:{x:kt.left-Rt.left,y:kt.top-Rt.top,scaleX:kt.width/Rt.width,scaleY:kt.height/Rt.height}},a={scaleX:1,scaleY:1},y=Ge=>{var Ke;let{activeIndex:it,activeNodeRect:at,index:ft,rects:Rt,overIndex:kt}=Ge;const Ye=(Ke=Rt[it])!=null?Ke:at;if(!Ye)return null;if(ft===it){const At=Rt[kt];return At?_r({x:0,y:it<kt?At.top+At.height-(Ye.top+Ye.height):At.top-Ye.top},a):null}const ut=b(Rt,ft,it);return ft>it&&ft<=kt?_r({x:0,y:-Ye.height-ut},a):ft<it&&ft>=kt?_r({x:0,y:Ye.height+ut},a):_r({x:0,y:0},a)};function b(Ge,Ke,it){const at=Ge[Ke],ft=Ge[Ke-1],Rt=Ge[Ke+1];return at?it<Ke?ft?at.top-(ft.top+ft.height):Rt?Rt.top-(at.top+at.height):0:Rt?Rt.top-(at.top+at.height):ft?at.top-(ft.top+ft.height):0:0}const E="Sortable",x=z.createContext({activeIndex:-1,containerId:E,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Ee,disabled:{draggable:!1,droppable:!1}});function ee(Ge){let{children:Ke,id:it,items:at,strategy:ft=Ee,disabled:Rt=!1}=Ge;const{active:kt,dragOverlay:Ye,droppableRects:ut,over:At,measureDroppableContainers:Nt}=(0,se.Cj)(),Pt=(0,he.Ld)(E,it),sn=Ye.rect!==null,Fe=(0,z.useMemo)(()=>at.map(ht=>typeof ht=="object"&&"id"in ht?ht.id:ht),[at]),Qt=kt!=null,Kt=kt?Fe.indexOf(kt.id):-1,Hn=At?Fe.indexOf(At.id):-1,Jn=(0,z.useRef)(Fe),Re=!nt(Fe,Jn.current),qe=Hn!==-1&&Kt===-1||Re,tt=je(Rt);(0,he.LI)(()=>{Re&&Qt&&Nt(Fe)},[Re,Fe,Qt,Nt]),(0,z.useEffect)(()=>{Jn.current=Fe},[Fe]);const Le=(0,z.useMemo)(()=>({activeIndex:Kt,containerId:Pt,disabled:tt,disableTransforms:qe,items:Fe,overIndex:Hn,useDragOverlay:sn,sortedRects:Ne(Fe,ut),strategy:ft}),[Kt,Pt,tt.draggable,tt.droppable,qe,Fe,Hn,ut,sn,ft]);return z.createElement(x.Provider,{value:Le},Ke)}const ne=Ge=>{let{id:Ke,items:it,activeIndex:at,overIndex:ft}=Ge;return Ie(it,at,ft).indexOf(Ke)},oe=Ge=>{let{containerId:Ke,isSorting:it,wasDragging:at,index:ft,items:Rt,newIndex:kt,previousItems:Ye,previousContainerId:ut,transition:At}=Ge;return!At||!at||Ye!==Rt&&ft===kt?!1:it?!0:kt!==ft&&Ke===ut},ae={duration:200,easing:"ease"},ue="transform",ge=he.ux.Transition.toString({property:ue,duration:0,easing:"linear"}),me={roleDescription:"sortable"};function Pe(Ge){let{disabled:Ke,index:it,node:at,rect:ft}=Ge;const[Rt,kt]=(0,z.useState)(null),Ye=(0,z.useRef)(it);return(0,he.LI)(()=>{if(!Ke&&it!==Ye.current&&at.current){const ut=ft.current;if(ut){const At=(0,se.VK)(at.current,{ignoreTransform:!0}),Nt={x:ut.left-At.left,y:ut.top-At.top,scaleX:ut.width/At.width,scaleY:ut.height/At.height};(Nt.x||Nt.y)&&kt(Nt)}}it!==Ye.current&&(Ye.current=it)},[Ke,it,at,ft]),(0,z.useEffect)(()=>{Rt&&kt(null)},[Rt]),Rt}function xe(Ge){let{animateLayoutChanges:Ke=oe,attributes:it,disabled:at,data:ft,getNewIndex:Rt=ne,id:kt,strategy:Ye,resizeObserverConfig:ut,transition:At=ae}=Ge;const{items:Nt,containerId:Pt,activeIndex:sn,disabled:Fe,disableTransforms:Qt,sortedRects:Kt,overIndex:Hn,useDragOverlay:Jn,strategy:Re}=(0,z.useContext)(x),qe=ye(at,Fe),tt=Nt.indexOf(kt),Le=(0,z.useMemo)(()=>_r({sortable:{containerId:Pt,index:tt,items:Nt}},ft),[Pt,ft,tt,Nt]),ht=(0,z.useMemo)(()=>Nt.slice(Nt.indexOf(kt)),[Nt,kt]),{rect:gt,node:Oe,isOver:ve,setNodeRef:We}=(0,se.Zj)({id:kt,data:Le,disabled:qe.droppable,resizeObserverConfig:_r({updateMeasurementsFor:ht},ut)}),{active:Ve,activatorEvent:we,activeNodeRect:pt,attributes:et,setNodeRef:jt,listeners:Se,isDragging:st,over:xt,setActivatorNodeRef:Ae,transform:_e}=(0,se.O1)({id:kt,data:Le,attributes:_r(_r({},me),it),disabled:qe.draggable}),ct=(0,he.HB)(We,jt),wt=!!Ve,zt=wt&&!Qt&&ie(sn)&&ie(Hn),mn=!Jn&&st,dt=mn&&zt?_e:null,Dt=Ye!=null?Ye:Re,yt=zt?dt!=null?dt:Dt({rects:Kt,activeNodeRect:pt,activeIndex:sn,overIndex:Hn,index:tt}):null,en=ie(sn)&&ie(Hn)?Rt({id:kt,items:Nt,activeIndex:sn,overIndex:Hn}):tt,Vt=Ve==null?void 0:Ve.id,un=(0,z.useRef)({activeId:Vt,items:Nt,newIndex:en,containerId:Pt}),Vn=Nt!==un.current.items,fn=Ke({active:Ve,containerId:Pt,isDragging:st,isSorting:wt,id:kt,index:tt,items:Nt,newIndex:un.current.newIndex,previousItems:un.current.items,previousContainerId:un.current.containerId,transition:At,wasDragging:un.current.activeId!=null}),an=Pe({disabled:!fn,index:tt,node:Oe,rect:gt});return(0,z.useEffect)(()=>{wt&&un.current.newIndex!==en&&(un.current.newIndex=en),Pt!==un.current.containerId&&(un.current.containerId=Pt),Nt!==un.current.items&&(un.current.items=Nt)},[wt,en,Pt,Nt]),(0,z.useEffect)(()=>{if(Vt===un.current.activeId)return;if(Vt&&!un.current.activeId){un.current.activeId=Vt;return}const _t=setTimeout(()=>{un.current.activeId=Vt},50);return()=>clearTimeout(_t)},[Vt]),{active:Ve,activeIndex:sn,attributes:et,data:Le,rect:gt,index:tt,newIndex:en,items:Nt,isOver:ve,isSorting:wt,isDragging:st,listeners:Se,node:Oe,overIndex:Hn,over:xt,setNodeRef:ct,setActivatorNodeRef:Ae,setDroppableNodeRef:We,setDraggableNodeRef:jt,transform:an!=null?an:yt,transition:Un()};function Un(){if(an||Vn&&un.current.newIndex===tt)return ge;if(!(mn&&!(0,he.vd)(we)||!At)&&(wt||fn))return he.ux.Transition.toString(li(_r({},At),{property:ue}))}}function ye(Ge,Ke){var it,at;return typeof Ge=="boolean"?{draggable:Ge,droppable:!1}:{draggable:(it=Ge==null?void 0:Ge.draggable)!=null?it:Ke.draggable,droppable:(at=Ge==null?void 0:Ge.droppable)!=null?at:Ke.droppable}}function Be(Ge){if(!Ge)return!1;const Ke=Ge.data.current;return!!(Ke&&"sortable"in Ke&&typeof Ke.sortable=="object"&&"containerId"in Ke.sortable&&"items"in Ke.sortable&&"index"in Ke.sortable)}const Ze=[se.g4.Down,se.g4.Right,se.g4.Up,se.g4.Left],mt=(Ge,Ke)=>{let{context:{active:it,collisionRect:at,droppableRects:ft,droppableContainers:Rt,over:kt,scrollableAncestors:Ye}}=Ke;if(Ze.includes(Ge.code)){if(Ge.preventDefault(),!it||!at)return;const ut=[];Rt.getEnabled().forEach(Pt=>{if(!Pt||Pt!=null&&Pt.disabled)return;const sn=ft.get(Pt.id);if(sn)switch(Ge.code){case KeyboardCode.Down:at.top<sn.top&&ut.push(Pt);break;case KeyboardCode.Up:at.top>sn.top&&ut.push(Pt);break;case KeyboardCode.Left:at.left>sn.left&&ut.push(Pt);break;case KeyboardCode.Right:at.left<sn.left&&ut.push(Pt);break}});const At=closestCorners({active:it,collisionRect:at,droppableRects:ft,droppableContainers:ut,pointerCoordinates:null});let Nt=getFirstCollision(At,"id");if(Nt===(kt==null?void 0:kt.id)&&At.length>1&&(Nt=At[1].id),Nt!=null){const Pt=Rt.get(it.id),sn=Rt.get(Nt),Fe=sn?ft.get(sn.id):null,Qt=sn==null?void 0:sn.node.current;if(Qt&&Fe&&Pt&&sn){const Hn=getScrollableAncestors(Qt).some((ht,gt)=>Ye[gt]!==ht),Jn=De(Pt,sn),Re=Ue(Pt,sn),qe=Hn||!Jn?{x:0,y:0}:{x:Re?at.width-Fe.width:0,y:Re?at.height-Fe.height:0},tt={x:Fe.left,y:Fe.top};return qe.x&&qe.y?tt:subtract(tt,qe)}}}};function De(Ge,Ke){return!Be(Ge)||!Be(Ke)?!1:Ge.data.current.sortable.containerId===Ke.data.current.sortable.containerId}function Ue(Ge,Ke){return!Be(Ge)||!Be(Ke)||!De(Ge,Ke)?!1:Ge.data.current.sortable.index<Ke.data.current.sortable.index}},35241:function(Et,St,te){"use strict";te.d(St,{$X:function(){return oe},D9:function(){return b},DC:function(){return me},Ey:function(){return re},FJ:function(){return Ie},Gj:function(){return a},HB:function(){return se},IH:function(){return ne},Jj:function(){return Ne},LI:function(){return He},Ld:function(){return x},Nq:function(){return he},Re:function(){return nt},UG:function(){return be},Yz:function(){return Ee},qk:function(){return ie},r3:function(){return Te},so:function(){return ye},ux:function(){return Pe},vZ:function(){return je},vd:function(){return ue},wm:function(){return y},zX:function(){return Me}});var z=te(59301);function se(){for(var Be=arguments.length,Ze=new Array(Be),mt=0;mt<Be;mt++)Ze[mt]=arguments[mt];return(0,z.useMemo)(()=>De=>{Ze.forEach(Ue=>Ue(De))},Ze)}const he=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Ie(Be){const Ze=Object.prototype.toString.call(Be);return Ze==="[object Window]"||Ze==="[object global]"}function be(Be){return"nodeType"in Be}function Ne(Be){var Ze,mt;return Be?Ie(Be)?Be:be(Be)&&(Ze=(mt=Be.ownerDocument)==null?void 0:mt.defaultView)!=null?Ze:window:window}function ie(Be){const{Document:Ze}=Ne(Be);return Be instanceof Ze}function nt(Be){return Ie(Be)?!1:Be instanceof Ne(Be).HTMLElement}function je(Be){return Be instanceof Ne(Be).SVGElement}function Te(Be){return Be?Ie(Be)?Be.document:be(Be)?ie(Be)?Be:nt(Be)||je(Be)?Be.ownerDocument:document:document:document}const He=he?z.useLayoutEffect:z.useEffect;function Me(Be){const Ze=(0,z.useRef)(Be);return He(()=>{Ze.current=Be}),(0,z.useCallback)(function(){for(var mt=arguments.length,De=new Array(mt),Ue=0;Ue<mt;Ue++)De[Ue]=arguments[Ue];return Ze.current==null?void 0:Ze.current(...De)},[])}function Ee(){const Be=(0,z.useRef)(null),Ze=(0,z.useCallback)((De,Ue)=>{Be.current=setInterval(De,Ue)},[]),mt=(0,z.useCallback)(()=>{Be.current!==null&&(clearInterval(Be.current),Be.current=null)},[]);return[Ze,mt]}function re(Be,Ze){Ze===void 0&&(Ze=[Be]);const mt=(0,z.useRef)(Be);return He(()=>{mt.current!==Be&&(mt.current=Be)},Ze),mt}function a(Be,Ze){const mt=(0,z.useRef)();return(0,z.useMemo)(()=>{const De=Be(mt.current);return mt.current=De,De},[...Ze])}function y(Be){const Ze=Me(Be),mt=(0,z.useRef)(null),De=(0,z.useCallback)(Ue=>{Ue!==mt.current&&(Ze==null||Ze(Ue,mt.current)),mt.current=Ue},[]);return[mt,De]}function b(Be){const Ze=(0,z.useRef)();return(0,z.useEffect)(()=>{Ze.current=Be},[Be]),Ze.current}let E={};function x(Be,Ze){return(0,z.useMemo)(()=>{if(Ze)return Ze;const mt=E[Be]==null?0:E[Be]+1;return E[Be]=mt,Be+"-"+mt},[Be,Ze])}function ee(Be){return function(Ze){for(var mt=arguments.length,De=new Array(mt>1?mt-1:0),Ue=1;Ue<mt;Ue++)De[Ue-1]=arguments[Ue];return De.reduce((Ge,Ke)=>{const it=Object.entries(Ke);for(const[at,ft]of it){const Rt=Ge[at];Rt!=null&&(Ge[at]=Rt+Be*ft)}return Ge},_r({},Ze))}}const ne=ee(1),oe=ee(-1);function ae(Be){return"clientX"in Be&&"clientY"in Be}function ue(Be){if(!Be)return!1;const{KeyboardEvent:Ze}=Ne(Be.target);return Ze&&Be instanceof Ze}function ge(Be){if(!Be)return!1;const{TouchEvent:Ze}=Ne(Be.target);return Ze&&Be instanceof Ze}function me(Be){if(ge(Be)){if(Be.touches&&Be.touches.length){const{clientX:Ze,clientY:mt}=Be.touches[0];return{x:Ze,y:mt}}else if(Be.changedTouches&&Be.changedTouches.length){const{clientX:Ze,clientY:mt}=Be.changedTouches[0];return{x:Ze,y:mt}}}return ae(Be)?{x:Be.clientX,y:Be.clientY}:null}const Pe=Object.freeze({Translate:{toString(Be){if(!Be)return;const{x:Ze,y:mt}=Be;return"translate3d("+(Ze?Math.round(Ze):0)+"px, "+(mt?Math.round(mt):0)+"px, 0)"}},Scale:{toString(Be){if(!Be)return;const{scaleX:Ze,scaleY:mt}=Be;return"scaleX("+Ze+") scaleY("+mt+")"}},Transform:{toString(Be){if(Be)return[Pe.Translate.toString(Be),Pe.Scale.toString(Be)].join(" ")}},Transition:{toString(Be){let{property:Ze,duration:mt,easing:De}=Be;return Ze+" "+mt+"ms "+De}}}),xe="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ye(Be){return Be.matches(xe)?Be:Be.querySelector(xe)}},43701:function(Et,St){"use strict";St.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},14627:function(Et,St){"use strict";St.Z={flex_box_center:"flex_box_center___oaxfO",flex_space_between:"flex_space_between___NQ5Gm",flex_box_vertical_center:"flex_box_vertical_center___UGzY9",flex_box_center_end:"flex_box_center_end___SnN1r",flex_box_column:"flex_box_column___c0981",right:"right___sOpmg",title:"title___Nmi5q",titles:"titles___PaouY",tips:"tips___h2FE4"}},21662:function(Et,St){"use strict";St.Z={flex_box_center:"flex_box_center___eQ57b",flex_space_between:"flex_space_between___PVjBV",flex_box_vertical_center:"flex_box_vertical_center___ghTL_",flex_box_center_end:"flex_box_center_end___z8oKm",flex_box_column:"flex_box_column___JQV5n",title:"title___w80Ja",workListTabWrap:"workListTabWrap___YRwm7",workListTabButton:"workListTabButton___ebGCB",tables:"tables___AYvHM",checkboxgroup:"checkboxgroup___fZHgL"}},961:function(Et,St){"use strict";St.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"}},14875:function(Et,St){"use strict";St.Z={flex_box_center:"flex_box_center___SF0m3",flex_space_between:"flex_space_between___ChLjp",flex_box_vertical_center:"flex_box_vertical_center____l_EF",flex_box_center_end:"flex_box_center_end___YcZNu",flex_box_column:"flex_box_column___R9dNq",downloadbutton:"downloadbutton___oEXJW",configWorkContainer:"configWorkContainer___CHUrh"}},13562:function(Et,St,te){"use strict";var z=te(59301),se=Object.defineProperty,he=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(je,Te,He)=>Te in je?se(je,Te,{enumerable:!0,configurable:!0,writable:!0,value:He}):je[Te]=He,ie=(je,Te)=>{for(var He in Te||(Te={}))Ie.call(Te,He)&&Ne(je,He,Te[He]);if(he)for(var He of he(Te))be.call(Te,He)&&Ne(je,He,Te[He]);return je};const nt=je=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},je),React.createElement("path",{fill:"#F7B500",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm1 3H6.395a3.501 3.501 0 0 1-.857 1.245c-.32.294-.752.551-1.297.772L4 9.109V10.9c.448-.154.82-.315 1.117-.483.222-.126.45-.282.685-.466l.236-.194V15H8V7ZM4.812 0c.175 0 .35.16.438.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.663 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));St.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},94349:function(Et,St,te){"use strict";var z=te(59301),se=Object.defineProperty,he=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(je,Te,He)=>Te in je?se(je,Te,{enumerable:!0,configurable:!0,writable:!0,value:He}):je[Te]=He,ie=(je,Te)=>{for(var He in Te||(Te={}))Ie.call(Te,He)&&Ne(je,He,Te[He]);if(he)for(var He of he(Te))be.call(Te,He)&&Ne(je,He,Te[He]);return je};const nt=je=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},je),React.createElement("path",{fill:"#B9C4CF",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm.05 3c-.675 0-1.203.092-1.584.276a2.056 2.056 0 0 0-.887.794c-.18.296-.31.691-.394 1.186l-.038.255 2.004.177c.055-.443.164-.753.326-.928a.814.814 0 0 1 .626-.263.81.81 0 0 1 .611.255c.162.17.243.375.243.614 0 .222-.081.456-.245.703-.164.247-.539.608-1.124 1.084-.96.776-1.613 1.45-1.962 2.02a4.363 4.363 0 0 0-.588 1.552L4 15h6v-1.781H6.877c.184-.197.343-.356.479-.478.136-.122.405-.334.808-.638.677-.523 1.145-1.002 1.401-1.438.257-.437.386-.895.386-1.374 0-.45-.112-.858-.336-1.22a2.043 2.043 0 0 0-.924-.808C8.301 7.088 7.753 7 7.05 7ZM4.812 0c.175 0 .35.16.437.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.662 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));St.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0I5QzRDRiIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLjA1IDNjLS42NzUgMC0xLjIwMy4wOTItMS41ODQuMjc2YTIuMDU2IDIuMDU2IDAgMCAwLS44ODcuNzk0Yy0uMTguMjk2LS4zMS42OTEtLjM5NCAxLjE4NmwtLjAzOC4yNTUgMi4wMDQuMTc3Yy4wNTUtLjQ0My4xNjQtLjc1My4zMjYtLjkyOGEuODE0LjgxNCAwIDAgMSAuNjI2LS4yNjMuODEuODEgMCAwIDEgLjYxMS4yNTVjLjE2Mi4xNy4yNDMuMzc1LjI0My42MTQgMCAuMjIyLS4wODEuNDU2LS4yNDUuNzAzLS4xNjQuMjQ3LS41MzkuNjA4LTEuMTI0IDEuMDg0LS45Ni43NzYtMS42MTMgMS40NS0xLjk2MiAyLjAyYTQuMzYzIDQuMzYzIDAgMCAwLS41ODggMS41NTJMNCAxNWg2di0xLjc4MUg2Ljg3N2MuMTg0LS4xOTcuMzQzLS4zNTYuNDc5LS40NzguMTM2LS4xMjIuNDA1LS4zMzQuODA4LS42MzguNjc3LS41MjMgMS4xNDUtMS4wMDIgMS40MDEtMS40MzguMjU3LS40MzcuMzg2LS44OTUuMzg2LTEuMzc0IDAtLjQ1LS4xMTItLjg1OC0uMzM2LTEuMjJhMi4wNDMgMi4wNDMgMCAwIDAtLjkyNC0uODA4QzguMzAxIDcuMDg4IDcuNzUzIDcgNy4wNSA3Wk00LjgxMiAwYy4xNzUgMCAuMzUuMTYuNDM3LjMxOGwxLjMxMyAyLjMwOXMtMi44LjE2LTQuNDYzIDEuNjcyTC4wODguNzE2QzAgLjYzNiAwIC41NTcgMCAuNDc4IDAgLjE1OS4yNjMgMCAuNTI1IDBabTguNjYyIDBjLjI2MyAwIC41MjUuMjM5LjUyNS40NzggMCAuMDggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},33383:function(Et,St,te){"use strict";var z=te(59301),se=Object.defineProperty,he=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(je,Te,He)=>Te in je?se(je,Te,{enumerable:!0,configurable:!0,writable:!0,value:He}):je[Te]=He,ie=(je,Te)=>{for(var He in Te||(Te={}))Ie.call(Te,He)&&Ne(je,He,Te[He]);if(he)for(var He of he(Te))be.call(Te,He)&&Ne(je,He,Te[He]);return je};const nt=je=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},je),React.createElement("path",{fill:"#D09F18",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm-.062 3c-.826 0-1.464.172-1.915.517-.4.307-.686.733-.856 1.278l-.058.21 1.908.364c.052-.383.153-.651.302-.804a.772.772 0 0 1 .58-.23c.23 0 .412.07.544.211.133.14.199.33.199.565a.88.88 0 0 1-.265.638.89.89 0 0 1-.662.27 1.35 1.35 0 0 1-.158-.012l-.104-.015-.105 1.536c.278-.085.496-.127.654-.127.298 0 .533.099.707.296.173.197.26.475.26.833 0 .352-.09.634-.27.845a.852.852 0 0 1-.677.316.862.862 0 0 1-.636-.25c-.143-.144-.254-.384-.333-.723l-.036-.177L4 12.826c.132.482.321.882.567 1.2.246.319.56.56.942.726.381.165.902.248 1.563.248.677 0 1.224-.112 1.64-.335.416-.223.735-.542.956-.955.221-.414.332-.845.332-1.296 0-.359-.067-.667-.2-.926a1.633 1.633 0 0 0-.563-.625c-.149-.099-.363-.185-.644-.259.347-.204.606-.441.778-.712a1.66 1.66 0 0 0 .257-.908 1.82 1.82 0 0 0-.634-1.42C8.571 7.189 7.886 7 6.938 7ZM4.813 0c.175 0 .35.17.437.338l1.313 2.453s-2.8.17-4.463 1.776L.088.761C0 .677 0 .592 0 .507 0 .17.263 0 .525 0Zm8.662 0c.263 0 .525.254.525.507 0 .085 0 .17-.088.254L11.9 4.483C10.238 2.96 7.437 2.79 7.437 2.79L8.75.338C8.75.17 8.925 0 9.188 0Z"}));St.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0QwOUYxOCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLS4wNjIgM2MtLjgyNiAwLTEuNDY0LjE3Mi0xLjkxNS41MTctLjQuMzA3LS42ODYuNzMzLS44NTYgMS4yNzhsLS4wNTguMjEgMS45MDguMzY0Yy4wNTItLjM4My4xNTMtLjY1MS4zMDItLjgwNGEuNzcyLjc3MiAwIDAgMSAuNTgtLjIzYy4yMyA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wYy4yNjMgMCAuNTI1LjI1NC41MjUuNTA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},10109:function(){"use strict";function Et(re,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=re,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(Et.prototype,"name",{get:function(){return this._name},set:function(re){if(typeof re!="string"||re==="")throw new Error("Shape name must be a valid string.");this._name=re}}),Object.defineProperty(Et.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("The default value must be a real number, not: "+re);this._defaultValue=re}}),Object.defineProperty(Et.prototype,"minimum",{get:function(){return this._minimum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Minimum must be a real number, not: "+re);this._minimum=re}}),Object.defineProperty(Et.prototype,"maximum",{get:function(){return this._maximum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Maximum must be a real number, not: "+re);this._maximum=re}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(re,a){var y=go.Shape._FigureParameters[re];return y?y[a]:null},go.Shape.setFigureParameter=function(re,a,y){if(!(y instanceof Et))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var b=go.Shape._FigureParameters[re];b||(b=[],go.Shape._FigureParameters[re]=b),b[a]=y};var St=[];function te(re,a){var y=St.pop();return y===void 0?new go.Point(re,a):(y.x=re,y.y=a,y)}function z(){var re=St.pop();return re===void 0?new go.Point:re}function se(re){St.push(re)}function he(re,a,y,b,E,x,ee,ne,oe){oe||(oe=new go.Point);var ae=re-y,ue=E-ee,ge=NaN,me=NaN;if(ae===0)if(ue===0)re===y&&(ge=re,me=a);else{var Pe=(x-ne)/ue,xe=x-Pe*E;ge=re,me=Pe*ge+xe}else if(ue===0){var ye=(a-b)/ae,Be=a-ye*re;ge=E,me=ye*ge+Be}else{var ye=(a-b)/ae,Pe=(x-ne)/ue,Be=a-ye*re,xe=x-Pe*E;ge=(xe-Be)/(ye-Pe),me=ye*ge+Be}return oe.x=ge,oe.y=me,oe}function Ie(re,a,y,b,E,x,ee,ne,oe,ae,ue,ge,me,Pe){var xe=1-oe,ye=oe,Be=re*xe+y*ye,Ze=a*xe+b*ye,mt=y*xe+E*ye,De=b*xe+x*ye,Ue=E*xe+ee*ye,Ge=x*xe+ne*ye,Ke=Be*xe+mt*ye,it=Ze*xe+De*ye,at=mt*xe+Ue*ye,ft=De*xe+Ge*ye,Rt=Ke*xe+at*ye,kt=it*xe+ft*ye;ae.x=Be,ae.y=Ze,ue.x=Ke,ue.y=it,ge.x=Rt,ge.y=kt,me.x=at,me.y=ft,Pe.x=Ue,Pe.y=Ge}var be=new go.Spot(.156,.156),Ne=new go.Spot(.844,.844),ie=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Et("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=y/2,b.endX=a,b.endY=y/2,b}),go.Shape.defineFigureGenerator("LineV",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=y,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(re,a,y){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(re,a,y){var b=a/2,E=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=be,E.spot2=Ne,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}),go.Shape.defineFigureGenerator("Line2",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=y,b}),go.Shape.defineFigureGenerator("Curve1",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ie*a,0,a,(1-ie)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ie*y,(1-ie)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ie*y,ie*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ie)*a,0,0,(1-ie)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Et("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Et("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a:b>a&&(b=a);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.setFigureParameter("Trapezoid1",0,new Et("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Et("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=20:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.setFigureParameter("ManualOperation",0,new Et("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}});var nt=[];function je(){var re=nt.pop();return re===void 0?[]:re}function Te(re){re.length=0,nt.push(re)}function He(re){for(var a=je(),y=.5,b=.5,E=Math.PI*1.5,x=0,ee=0;ee<re;ee++)x=2*Math.PI/re*ee+E,a[ee]=new go.Point(b+y*Math.cos(x),b+y*Math.sin(x));return a.push(a[0]),a}function Me(re){var a=Ee(re),y=je();y[0]=a[0];for(var b=1,E=1;b<a.length;b+=2,E+=3)y[E]=a[b],y[E+1]=a[b],y[E+2]=a[b+1];return Te(a),y}function Ee(re){for(var a=He(re),y=je(),b=Math.floor(a.length/2),E=a.length-1,x=re%2===0?2:1,ee=0;ee<E;ee++){var ne=a[ee],oe=a[ee+1],ae=a[(b+ee-1)%E],ue=a[(b+ee+x)%E];y[ee*2]=ne,y[ee*2+1]=he(ne.x,ne.y,ae.x,ae.y,oe.x,oe.y,ue.x,ue.y,new go.Point)}return y[y.length]=y[0],Te(a),y}go.Shape.defineFigureGenerator("Pentagon",function(re,a,y){var b=He(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<5;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(re,a,y){var b=He(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<6;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(re,a,y){var b=He(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<7;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(re,a,y){var b=He(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<8;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(re,a,y){var b=He(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<9;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(re,a,y){var b=He(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(re,a,y){var b=He(12),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(re,a,y){var b=Ee(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(re,a,y){var b=Ee(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(re,a,y){var b=Ee(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<14;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(re,a,y){var b=Ee(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<16;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(re,a,y){var b=Ee(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<18;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(re,a,y){var b=Ee(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<20;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(re,a,y){var b=Me(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(re,a,y){var b=Me(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Te(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(re,a,y){var b=Me(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(re,a,y){var b=Me(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(re,a,y){var b=Me(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(re,a,y){var b=Me(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new Et("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Et("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(re,a,y){var b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var x=new go.Geometry,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b<a/2&&E<y/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y-E)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,y-E)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,E).close())),x.setSpots(0,0,1,1,b,E,-b,-E),x}),go.Shape.setFigureParameter("Ring",0,new Et("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=a/2,x=new go.Geometry,ee=new go.PathFigure(a,a/2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var ne=Math.max(E-b,0);return ne>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ne,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ne,ne).close())),x.spot1=be,x.spot2=Ne,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(re,a,y){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,b*y).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new Et("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Et("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(re,a,y){var b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var ee=E%360,ne=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,x,ee,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(re,a,y){var b=ie/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,x*y,a,(1-b)*y,(E+b)*a,(x+b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,a)/2,x=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Et("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,a)/2,x=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(re,a,y){var b=re?re.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var x=a/2,ee=y/2,ne=Math.atan2(y,a),oe=b-Math.min(Math.cos(ne)*b/2,x),ae=b-Math.min(Math.sin(ne)*b/2,ee),E=new go.Geometry,ue=new go.PathFigure(oe,0,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,0)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a,y-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,y)),ue.add(new go.PathSegment(go.PathSegment.Line,x,.8*y)),ue.add(new go.PathSegment(go.PathSegment.Line,oe,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Et("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Et("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Et("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-b)*a,.25*y,Math.abs(1-b)*a,.75*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ie*a,0,a,(.5-ie/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ie/2)*y,ie*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var x=.2,ee=.3,ne=0,oe=x*ie;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+ne)*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee)*a,(.5-oe+ne)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee+.05)*a,(.5-oe+ne-.02)*y)),x=.2,ee=0,ne=-.3,oe=x*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+ne)*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee)*a,(.5-oe+ne)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+ne)*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee)*a,(.5-oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),x=.2,ee=-.3,ne=0,oe=x*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee-.05)*a,(.5-oe+ne-.02)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+ne)*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee)*a,(.5-oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,ee=.5,ne=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ee+x)*a,ne*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ne,x*a,x*a).close()),E=new go.PathFigure(a*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ne=.75,E=new go.PathFigure((ee+x)*a,ne*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ne,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(re,a,y){var b=.8535533905932737,E=.5*a,x=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure(ee*a,(ne-x)*y);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),x=.4,E=ie*.4;var ae=z(),ue=z(),ge=z(),me=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.42,ae,ue,ge,me,me);var Pe=z(),xe=z(),ye=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.58,me,me,ye,Pe,xe);var Be=z(),Ze=z(),mt=z();Ie(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.42,Be,Ze,mt,me,me);var De=z(),Ue=z(),Ge=z();return Ie(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.58,me,me,Ge,De,Ue),oe.add(new go.PathSegment(go.PathSegment.Move,Ge.x*a,Ge.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,De.x*a,De.y*y,Ue.x*a,Ue.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,ae.x*a,ae.y*y,ue.x*a,ue.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ge.x*a,Ge.y*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,mt.x*a,mt.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,ye.x*a,ye.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,Pe.x*a,Pe.y*y,xe.x*a,xe.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,mt.x*a,mt.y*y,Be.x*a,Be.y*y,Ze.x*a,Ze.y*y).close()),se(ae),se(ue),se(ge),se(me),se(Pe),se(xe),se(ye),se(Be),se(Ze),se(mt),se(De),se(Ue),se(Ge),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var E=(a-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,E,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(re,a,y){var b=new go.Geometry,E=ie*.4,x=.4,ee=.5,ne=.5,oe=z(),ae=z(),ue=z(),ge=z(),me=new go.PathFigure((ee-x)*a,ne*y,!1);b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.44,ue,ge,ae,oe,oe),me.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,ge.x*a,ge.y*y));var Pe=te(ae.x,ae.y);Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.56,oe,oe,ae,ue,ge);var xe=te(ae.x,ae.y);me.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.95*.9)*a,Pe.y*.1*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,Pe.y*.1*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),me.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,.15*y)),me.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,(xe.y*.1+.05*.9)*y)),me.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,ue.x*a,ue.y*y,ge.x*a,ge.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),x=.35,E=ie*.35;var ye=new go.PathFigure(ee*a,(ne-x)*y,!1);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y));var Be=new go.PathFigure((ee-x)*a,ne*y,!1);return b.add(Be),se(oe),se(ae),se(ue),se(ge),se(Pe),se(xe),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(re,a,y){var b=new go.Geometry,E=.375,x=0,ee=-.125,ne=E*ie,oe=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+ne+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-ne+ee)*y,(.5+ne+x)*a,(.5-E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+ne+ee)*y,(.5-ne+x)*a,(.5+E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,x=0,ee=-.125,ne=E*ie;var oe=new go.PathFigure((1-.5+E+x)*a,(.5+ee)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+ne+ee)*y,(.5+ne+x)*a,(.5+E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+ne+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-ne+ee)*y));var oe=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);return b.add(oe),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(re,a,y){var b=re?re.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(re,a,y){var b=re?re.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(re,a,y){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(re,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(re,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Et("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Et("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=re?re.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*a,ee=(.5-E/2)*y,ne=(.5+E/2)*y,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/y);var ue=he(0,ne/y,1,ne/y,x/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.setFigureParameter("Arrow2",0,new Et("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Et("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=re?re.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var x=a-b,ee=(y-E)/2,ne=ee+E,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/y);var ue=he(0,ne/y,1,ne/y,x/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.defineFigureGenerator("Chevron",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Et("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var oe=he(0,.5,.3,0,0,E/y,.1,E/y,z());return ee.spot1=new go.Spot(oe.x,oe.y),oe=he(.7,1,1,.5,0,x/y,1,x/y,oe),ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Et("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Et("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=40);var E=re?re.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,ne=(y-E)/2,oe=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,ne=0,oe=y):(x=0,ee=y,ne=0,oe=y));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close());var ge=he(0,.5,.3,ne/y,0,x/y,1,x/y,z());return ae.spot1=new go.Spot(ge.x,ge.y),ge=he(.7,oe/y,1,.5,0,ee/y,1,ee/y,ge),ae.spot2=new go.Spot(ge.x,ge.y),se(ge),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new Et("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,E/y);var oe=he(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Et("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Et("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=40);var E=re?re.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,ne=(y-E)/2,oe=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,ne=0,oe=y):(x=0,ee=y,ne=0,oe=y));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close()),ae.spot1=new go.Spot(0,x/y);var ge=he(.7,oe/y,1,.5,0,ee/y,1,ee/y,z());return ae.spot2=new go.Spot(ge.x,ge.y),se(ge),ae}),go.Shape.setFigureParameter("Pointer",0,new Et("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var ee=he(.2,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),se(ee),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Et("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E.spot1=new go.Spot(b,.35);var ee=he(0,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),se(ee),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Et("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var oe=he(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Et("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=50);var E=(y-b)/2,x=E+b;b>y&&(E=0,x=y);var ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,E/y);var oe=he(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Et("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(0,.9*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var x=new go.PathFigure(0,.9*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(0,b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ie*b,(.5+x)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,1*y,0,y-ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var ne=new go.PathFigure(a,b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-ie*b,(.5+x)*a,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-ie*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(0,y-b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ie*b,(.5+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,y,0,y-ie*b));var ne=new go.PathFigure(0,y-b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*b,0,y-b-ie*b,(.5-x)*a,y-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+x)*a,y-2*b,a,y-b-ie*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ie*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ie*b,0));var ne=new go.PathFigure(b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*y,b+ie*b,0,2*b,(.5-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+x)*y,b+ie*b,y)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(a-b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ie*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ie*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var ne=new go.PathFigure(a-b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*y,a-b-ie*b,0,a-2*b,(.5-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+x)*y,a-b-ie*b,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.25*a,.25*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(re,a,y){var b=new go.Geometry,E=.2,x=.1,ee=ie*E,ne=ie*x,oe=.5,ae=.1,ue=new go.PathFigure(oe*a,(ae+x)*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-E)*a,ae*y,(oe-ee)*a,(ae+x)*y,(oe-E)*a,(ae+ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-x)*y,(oe-E)*a,(ae-ne)*y,(oe-ee)*a,(ae-x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+E)*a,ae*y,(oe+ee)*a,(ae-x)*y,(oe+E)*a,(ae-ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+x)*y,(oe+E)*a,(ae+ne)*y,(oe+ee)*a,(ae+x)*y));var ge=.05,me=ie*ge;oe=.05,ae=.25;var Pe=new go.PathFigure(.5*a,.2*y,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),oe=.95,ae=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ge)*a,ae*y,(oe+me)*a,(ae-ge)*y,(oe+ge)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ge=.025,me=ie*ge,oe=.825,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ge)*y,(oe+ge)*a,(ae-me)*y,(oe+me)*a,(ae-ge)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ge)*a,ae*y,(oe-me)*a,(ae-ge)*y,(oe-ge)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ge=.05,me=ie*ge,oe=.5,ae=.7,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ge)*y,(oe+ge)*a,(ae-me)*y,(oe+me)*a,(ae-ge)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ge)*a,ae*y,(oe-me)*a,(ae-ge)*y,(oe-ge)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ge=.025,me=ie*ge,oe=.175,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ge)*y,(oe+ge)*a,(ae-me)*y,(oe+me)*a,(ae-ge)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ge)*a,ae*y,(oe-me)*a,(ae-ge)*y,(oe-ge)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ge=.05,me=ie*ge,oe=.05,ae=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ge)*y,(oe-ge)*a,(ae-me)*y,(oe-me)*a,(ae-ge)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Et("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var x=new go.PathFigure(.5*a,.5*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("Database",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(a,.1*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ne=new go.PathFigure(a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+x)*y,(.5+E)*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+x)*y)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(a,.1*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ne=new go.PathFigure(a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=ie*.2,ee=new go.PathFigure(0,.2*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*y,(.2-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+x)*a,0,a,(.2-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+x)*y,(.8+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-x)*a,y,0,(.8+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ne=new go.PathFigure(0,E*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("Document",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(.1*a,.4*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var x=new go.PathFigure(a,.5*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ne=new go.PathFigure(E*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ne.add(new go.PathSegment(go.PathSegment.Move,0,x*y)),ne.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),b}),go.Shape.defineFigureGenerator("Junction",function(re,a,y){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,ee=ie*.5,ne=.5,oe=new go.PathFigure(a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,y,a,(ne+ee)*y,(ne+ee)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*y,(ne-ee)*a,y,0,(ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,0,0,(ne-ee)*y,(ne-ee)*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,ne*y,(ne+ee)*a,0,a,(ne-ee)*y));var ae=new go.PathFigure((x+E)*a,(x+E)*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)),ae.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(x+E)*a,x*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(.5*a,y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*y,a,(x+E)*y,(x+E)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var x=new go.PathFigure(.2*a,.1*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ne=new go.PathFigure(.5*E*a,E*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(a,x*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ne=new go.PathFigure(a,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-E)*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b}),go.Shape.defineFigureGenerator("Process",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(0,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(a,x*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ne=new go.PathFigure(a,x*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,x*y));var oe=new go.PathFigure(.8*a,.75*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b}),go.Shape.defineFigureGenerator("Inverter",function(re,a,y){var b=new go.Geometry,E=ie*.1,x=.1,ee=.9,ne=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ae=new go.PathFigure((ee+x)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne-x)*y,(ee+x)*a,(ne-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.4,ee=ie*.1,ne=.1,oe=.9,ae=.5,ue=new go.PathFigure(.8*a,.5*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+x)*y,(.4+E)*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-x)*y));var ge=new go.PathFigure((oe+ne)*a,ae*y,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a,ae*y,(oe-ee)*a,(ae+ne)*y,(oe-ne)*a,(ae+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a,ae*y,(oe+ee)*a,(ae-ne)*y,(oe+ne)*a,(ae-ee)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=0,ne=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(ne-E)*y,.7*a,(ne-x)*y)),E=.1,x=ie*.1,ee=.9,ne=.5;var ae=new go.PathFigure((ee-E)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=0,ne=.5,oe=new go.PathFigure(0,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x+x)*a,(ne-E)*y,.8*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ne+x)*y,(ee+x+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.8*a,.5*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(ne-E)*y,.7*a,(ne-x)*y)),E=.1,x=ie*.1,ee=.9,ne=.5;var ue=new go.PathFigure((ee-E)*a,ne*y,!0);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.2*a,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x)*a,(ne-E)*y,.9*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Resistor",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b}),go.Shape.defineFigureGenerator("Inductor",function(re,a,y){var b=new go.Geometry,E=ie*.1,x=.1,ee=.1,ne=.5,oe=new go.PathFigure((ee-E*.5)*a,y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E*.5)*a,y,(ee+x)*a,0,(ee+E)*a,y)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-x)*a,ne*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne-x)*y,(ee+x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Move,(ee-x+.1)*a,ne*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x-.1)*a,ne*y,ee*a,(ne-x)*y,ee*a,(ne+x)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Diode",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(re,a,y){var b=new go.Geometry,E=a,x=y;a=a*.38,y=y*.6;var ee=ie*.8,ne=.8,oe=0,ae=.5,ue=(E-a)/2,ge=(x-y)/2,me=new go.PathFigure(oe*a+ue,(ae+ne)*y+ge,!0);b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+ge,(oe-ee)*a+ue,(ae+ne)*y+ge,(oe-ne)*a+ue,(ae+ee)*y+ge)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+ge,(oe-ne)*a+ue,(ae-ee)*y+ge,(oe-ee)*a+ue,(ae-ne)*y+ge)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+ge,oe*a+ue,(ae-ne)*y+ge,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+ge)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+ge,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+ge,oe*a+ue,(ae+ne)*y+ge).close()),ee=ie*.4,ne=.4,oe=.2,ae=.5;var Pe=new go.PathFigure(oe*a+ue,(ae+ne)*y+ge,!0);b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+ge,(oe-ee)*a+ue,(ae+ne)*y+ge,(oe-ne)*a+ue,(ae+ee)*y+ge)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+ge,(oe-ne)*a+ue,(ae-ee)*y+ge,(oe-ee)*a+ue,(ae-ne)*y+ge)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+ge,oe*a+ue,(ae-ne)*y+ge,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+ge)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+ge,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+ge,oe*a+ue,(ae+ne)*y+ge).close()),ee=ie*.2,ne=.2,oe=.5,ae=.5;var xe=new go.PathFigure((oe-ne)*a+ue,ae*y+ge,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+ge,(oe-ne)*a+ue,(ae-ee)*y+ge,(oe-ee)*a+ue,(ae-ne)*y+ge)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+ge,(oe+ee)*a+ue,(ae-ne)*y+ge,(oe+ne)*a+ue,(ae-ee)*y+ge)),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+ge,(oe+ne)*a+ue,(ae+ee)*y+ge,(oe+ee)*a+ue,(ae+ne)*y+ge)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+ge,(oe-ee)*a+ue,(ae+ne)*y+ge,(oe-ne)*a+ue,(ae+ee)*y+ge)),ee=ie*.4,ne=.4,oe=.8,ae=.5;var ye=new go.PathFigure(oe*a+ue,(ae-ne)*y+ge,!0);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+ge,(oe+ee)*a+ue,(ae-ne)*y+ge,(oe+ne)*a+ue,(ae-ee)*y+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+ge,(oe+ne)*a+ue,(ae+ee)*y+ge,(oe+ee)*a+ue,(ae+ne)*y+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+ge,oe*a+ue,(ae+ne)*y+ge,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+ge,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+ge,oe*a+ue,(ae-ne)*y+ge).close()),ee=ie*.8,ne=.8,oe=1,ae=.5;var Be=new go.PathFigure(oe*a+ue,(ae-ne)*y+ge,!0);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+ge,(oe+ee)*a+ue,(ae-ne)*y+ge,(oe+ne)*a+ue,(ae-ee)*y+ge)),Be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+ge,(oe+ne)*a+ue,(ae+ee)*y+ge,(oe+ee)*a+ue,(ae+ne)*y+ge)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+ge,oe*a+ue,(ae+ne)*y+ge,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+ge)),Be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+ge,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+ge,oe*a+ue,(ae-ne)*y+ge).close()),b}),go.Shape.defineFigureGenerator("Email",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),b}),go.Shape.defineFigureGenerator("Ethernet",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,y,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ne=new go.PathFigure(0,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),b}),go.Shape.defineFigureGenerator("Power",function(re,a,y){var b=new go.Geometry,E=ie*.4,x=.4,ee=.5,ne=.5,oe=z(),ae=z(),ue=z(),ge=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,ge);var me=te(ae.x,ae.y),Pe=new go.PathFigure(ae.x*a,ae.y*y,!0);b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,ue.x*a,ue.y*y,ge.x*a,ge.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),Ie(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,ge,ae,oe,oe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,ge.x*a,ge.y*y)),E=ie*.3,x=.3,Ie(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,ge,ae,oe,oe),Pe.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,ge.x*a,ge.y*y,ue.x*a,ue.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,ge),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ge.x*a,ge.y*y,ue.x*a,ue.y*y).close());var Pe=new go.PathFigure(.45*a,0,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),se(oe),se(ae),se(ue),se(ge),se(me),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function x(ee,ne,oe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*a,(.8+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*a,(.5+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*a,(.5+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*a,(.8+oe)*y).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(re,a,y){var b=new go.Geometry,E=.5,x=0,ee=0,ne=E*ie,oe=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,ue=1,ge=.5,me=.5,Pe=0,xe=new go.PathFigure(oe*a,(1-ae)*y,!1);return b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,ge*y,ue*a,.7*y,ue*a,ge*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(me+x)*a,(Pe+x)*y,(.5+E+x)*a,(.5-ne+x)*y,(.5+ne+x)*a,(.5-E+x)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*y,(.5-E+x)*a,(.5+ne+ee)*y,(.5-ne+x)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var x=new go.PathFigure(.45*a,.73*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*a,(1-.555)*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ne=.5,oe=ee,ae=Math.PI/4,ue=4*(1-Math.cos(ae))/(3*Math.sin(ae)),ge=ue*.5,me=ee,Pe=ee,xe=ue*me,ye=ue*Pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-me)*a,oe*y,(ne-(xe+me)/2)*a,(oe+(Pe+ye)/2)*y,(ne-me)*a,(oe+ye)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-Pe)*y,(ne-me)*a,(oe-ye)*y,(ne-xe)*a,(oe-Pe)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+me)*a,oe*y,(ne+xe)*a,(oe-Pe)*y,(ne+me)*a,(oe-ye)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ne+me)*a,(oe+ye)*y,(ne+(xe+me)/2)*a,(oe+(Pe+ye)/2)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Be=new go.PathFigure(.2*a,y,!1);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ze=new go.PathFigure(.8*a,y,!1);return b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var x=new go.PathFigure(.2*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var ee=new go.PathFigure(.1*a,y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Caution",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,x*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),b}),go.Shape.defineFigureGenerator("Recycle",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var x=new go.PathFigure(.475*a,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=new go.PathFigure(a,E*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+x)*y,(E+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-x)*a,y,0,(E+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-x)*y,(E-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+x)*a,0,a,(E-x)*y));var ne=new go.PathFigure(E*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),b}),go.Shape.defineFigureGenerator("Package",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,.15*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Component",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var x=new go.PathFigure(0,.2*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var x=new go.PathFigure(.15*a,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ne=ie*.1,oe=.2,ae=.9,ue=new go.PathFigure((oe-ee)*a,ae*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*y,(oe+ne)*a,(ae-ee)*y,(oe+ee)*a,(ae-ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*y,(oe-ne)*a,(ae+ee)*y,(oe-ee)*a,(ae+ne)*y).close()),ee=.1,ne=ie*.1,oe=.8,ae=.9;var ge=new go.PathFigure((oe-ee)*a,ae*y,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*y,(oe+ne)*a,(ae-ee)*y,(oe+ee)*a,(ae-ne)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*y,(oe-ne)*a,(ae+ee)*y,(oe-ee)*a,(ae+ne)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b}),go.Shape.defineFigureGenerator("Forklift",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ne=new go.PathFigure(.5*a,.7*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var oe=.1,ae=ie*.1,ue=.1,ge=.9,me=new go.PathFigure((ue-oe)*a,ge*y,!0);b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(ge-oe)*y,(ue-oe)*a,(ge-ae)*y,(ue-ae)*a,(ge-oe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,ge*y,(ue+ae)*a,(ge-oe)*y,(ue+oe)*a,(ge-ae)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(ge+oe)*y,(ue+oe)*a,(ge+ae)*y,(ue+ae)*a,(ge+oe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,ge*y,(ue-ae)*a,(ge+oe)*y,(ue-oe)*a,(ge+ae)*y)),oe=.1,ae=ie*.1,ue=.4,ge=.9;var Pe=new go.PathFigure((ue-oe)*a,ge*y,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(ge-oe)*y,(ue-oe)*a,(ge-ae)*y,(ue-ae)*a,(ge-oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,ge*y,(ue+ae)*a,(ge-oe)*y,(ue+oe)*a,(ge-ae)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(ge+oe)*y,(ue+oe)*a,(ge+ae)*y,(ue+ae)*a,(ge+oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,ge*y,(ue-ae)*a,(ge+oe)*y,(ue-oe)*a,(ge+ae)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var x=new go.PathFigure(.45*a,.7*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ue=.05,ge=ie*.05,me=.175,Pe=.95,ne=new go.PathFigure((me-ue)*a,Pe*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(Pe-ue)*y,(me-ue)*a,(Pe-ge)*y,(me-ge)*a,(Pe-ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue)*a,Pe*y,(me+ge)*a,(Pe-ue)*y,(me+ue)*a,(Pe-ge)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(Pe+ue)*y,(me+ue)*a,(Pe+ge)*y,(me+ge)*a,(Pe+ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue)*a,Pe*y,(me-ge)*a,(Pe+ue)*y,(me-ue)*a,(Pe+ge)*y));var ue=.05,ge=ie*.05,me=.375,Pe=.95,oe=new go.PathFigure((me-ue)*a,Pe*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(Pe-ue)*y,(me-ue)*a,(Pe-ge)*y,(me-ge)*a,(Pe-ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue)*a,Pe*y,(me+ge)*a,(Pe-ue)*y,(me+ue)*a,(Pe-ge)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(Pe+ue)*y,(me+ue)*a,(Pe+ge)*y,(me+ge)*a,(Pe+ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue)*a,Pe*y,(me-ge)*a,(Pe+ue)*y,(me-ue)*a,(Pe+ge)*y));var ue=.05,ge=ie*.05,me=.625,Pe=.95,ae=new go.PathFigure((me-ue)*a,Pe*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(Pe-ue)*y,(me-ue)*a,(Pe-ge)*y,(me-ge)*a,(Pe-ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue)*a,Pe*y,(me+ge)*a,(Pe-ue)*y,(me+ue)*a,(Pe-ge)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(Pe+ue)*y,(me+ue)*a,(Pe+ge)*y,(me+ge)*a,(Pe+ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue)*a,Pe*y,(me-ge)*a,(Pe+ue)*y,(me-ue)*a,(Pe+ge)*y));var ue=.05,ge=ie*.05,me=.825,Pe=.95,xe=new go.PathFigure((me-ue)*a,Pe*y,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(Pe-ue)*y,(me-ue)*a,(Pe-ge)*y,(me-ge)*a,(Pe-ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue)*a,Pe*y,(me+ge)*a,(Pe-ue)*y,(me+ue)*a,(Pe-ge)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(Pe+ue)*y,(me+ue)*a,(Pe+ge)*y,(me+ge)*a,(Pe+ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue)*a,Pe*y,(me-ge)*a,(Pe+ue)*y,(me-ue)*a,(Pe+ge)*y).close());var ye=new go.PathFigure(0,y,!1);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ne=.05,oe=ie*.05,ae=.35,ue=.775,ge=new go.PathFigure((ae-ne)*a,ue*y,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue-ne)*y,(ae-ne)*a,(ue-oe)*y,(ae-oe)*a,(ue-ne)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*a,ue*y,(ae+oe)*a,(ue-ne)*y,(ae+ne)*a,(ue-oe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue+ne)*y,(ae+ne)*a,(ue+oe)*y,(ae+oe)*a,(ue+ne)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*a,ue*y,(ae-oe)*a,(ue+ne)*y,(ae-ne)*a,(ue+oe)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Globe",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),b}),go.Shape.defineFigureGenerator("Wave",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),b}),go.Shape.defineFigureGenerator("Operator",function(re,a,y){var b=new go.Geometry,E=.3,x=ie*.3,ee=.5,ne=.7,oe=new go.PathFigure((ee-E)*a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y));var ae=new go.PathFigure(0,.7*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var x=new go.PathFigure(0,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b}),go.Shape.defineFigureGenerator("Delete",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y));var ae=new go.PathFigure(.15*a,.5*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),b}),go.Shape.defineFigureGenerator("Flag",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),b}),go.Shape.defineFigureGenerator("Help",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*a,ne*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y).close()),E=.05,x=ie*.05,ee=.5,ne=.8;var ae=new go.PathFigure((ee-E)*a,ne*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y).close()),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),b}),go.Shape.defineFigureGenerator("Location",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),b}),go.Shape.defineFigureGenerator("Unlocked",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),b}),go.Shape.defineFigureGenerator("Gear",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),b}),go.Shape.defineFigureGenerator("Map",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b}),go.Shape.defineFigureGenerator("Eject",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var x=new go.PathFigure(0,y*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var x=new go.PathFigure(.126*a,.85*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ne=new go.PathFigure(.678*a,.85*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var oe=new go.PathFigure(.5*a,.1*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var x=new go.PathFigure(a*.204,y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ne=new go.PathFigure(a*.612,y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var oe=new go.PathFigure(a*.816,y,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ne=new go.PathFigure(a*.055,.18*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var oe=new go.PathFigure(a*1,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),b}),go.Shape.defineFigureGenerator("Key",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var oe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(re,a,y){var b=new go.Geometry,E=8,x=E*ie,ee=new go.PathFigure(E,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ne=new go.PathFigure(a*.83,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var oe=new go.PathFigure(a*.83,y*1,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ae=new go.PathFigure(a*.78,y*.05,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,x=y*.8,ee=new go.Geometry,ne=new go.PathFigure(b,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-E,a-E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ne.add(new go.PathSegment(go.PathSegment.Line,b,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(ee.spot1=new go.Spot(0,0,E,E),ee.spot2=new go.Spot(1,.8,-E,-E)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var x=new go.PathFigure(a*1,y*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var x=new go.PathFigure(a*.1,y*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(re,a,y){var b=new go.Geometry,E=15,x=E*ie,ee=new go.PathFigure(a*.62,y*.475,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var x=new go.PathFigure(a*.235,y*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},91989: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 Et={},St="5.0",te={},z=null,se=!1,he=!1,Ie=null,be=!1,Ne=null,ie=null,nt=0;nt<arguments.length;nt++){var je=arguments[nt];if(je!==null)switch(typeof je){case"number":St=je.toFixed(1);break;case"string":je.match(new RegExp("^[0-9]\\.[0-9]+$"))?St=je:Ie=je;break;case"object":typeof je.is3D!="undefined"?z=je:te=je;break;case"boolean":se=je,he=!0;break}}z===null&&(z={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!he&&(se=!0)),Ie!==null&&te.id===void 0&&(te.id=Ie);var Te="",He="",Me=!1,Ee=null,re=null,a=null,y=!1,b=null,E=null,x=null,ee=null,ne=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var oe=function(Ye){return parseFloat(Ye)>4?parseFloat(Ye):5};Et.setHTML5Codebase=function(Ye,ut){ie=Ye,ft(Ye,ut)},Et.setJavaCodebase=Et.setJavaCodebaseVersion=Et.isCompiledInstalled=Et.setPreCompiledScriptPath=Et.setPreCompiledResourcePath=function(){},Et.setHTML5CodebaseVersion=function(Ye,ut){var At=parseFloat(Ye);if(At!==NaN&&At<5){console.log("The GeoGebra HTML5 codebase version "+At+" is deprecated. Using version latest instead.");return}Ne=Ye,at(Ye,ut)},Et.getHTML5CodebaseVersion=function(){return re},Et.getParameters=function(){return te},Et.setFontsCSSURL=function(Ye){ee=Ye},Et.setGiacJSURL=function(Ye){},Et.setJNLPFile=function(Ye){Te=Ye},Et.setJNLPBaseDir=function(Ye){},Et.inject=function(){function Ye(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ut="auto",At=te.id,Nt,Pt=!1,sn=0;sn<arguments.length;sn++){var Fe=arguments[sn];typeof Fe=="string"?(Fe=Fe.toLowerCase(),Fe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ut=Fe:At=arguments[sn]):typeof Fe=="boolean"?Pt=Fe:Fe instanceof HTMLElement&&(Nt=Fe)}Qt();function Qt(){if(!be){setTimeout(Qt,200);return}ut=Ke(ut);var Kt=Nt||document.getElementById(At);if(!Kt){console.log("possibly bug on ajax loading? ");return}if(Et.removeExistingApplet(Kt,!1),te.width===void 0&&Kt.clientWidth&&(te.width=Kt.clientWidth),te.height===void 0&&Kt.clientHeight&&(te.height=Kt.clientHeight),!(te.width&&te.height)&&ut==="html5"&&(delete te.width,delete te.height),Ee=ut,ut==="screenshot")Ze(Kt,te);else{var Hn=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?Hn=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(Hn=(!ae()||Ye())&&ue()),Hn?(Ee="screenshot",De(Kt,te,Pt,ut)):Be(Kt,te,Pt)}}};function ae(){try{return window.self!==window.top}catch(Ye){return!0}}function ue(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Et.getViews=function(){return z},Et.isJavaInstalled=function(){return!1};var ge=function(Ye){var ut=function(sn){var Fe=JSON.parse(sn),Qt=function(Jn){return Jn.type=="G"||Jn.type=="E"},Kt=Fe.elements?Fe.elements.filter(Qt)[0]:Fe;if(!Kt||!Kt.url){At();return}te.fileName=Kt.url,me(Kt.settings||{}),z.is3D=!0;var Hn="https://www.geogebra.org/images/";Et.setPreviewImage(b||Kt.previewUrl,Hn+"GeoGebra_loading.png",Hn+"applet_play.png"),Ye()},At=function(){te.onError&&te.onError(),Rt("Error: Fetching material (id "+te.material_id+") failed.",te)},Nt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Pt="/materials/"+te.material_id+"?scope=basic";Pe("https://"+Nt+"/api/proxy.php?path="+encodeURIComponent(Pt),ut,At)};function me(Ye){var ut=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(At){Ye[At]=!!Ye[At]}),ut.forEach(function(At){te[At]===void 0&&Ye[At]!==void 0&&(te[At]=Ye[At])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function Pe(Ye,ut,At){var Nt=new XMLHttpRequest;Nt.open("GET",Ye),Nt.onload=function(){ut(Nt.responseText)},Nt.onerror=At,Nt.send()}Et.isHTML5Installed=function(){return!0},Et.getLoadedAppletType=function(){return Ee},Et.setPreviewImage=function(Ye,ut,At){b=Ye,E=ut,x=At},Et.removeExistingApplet=function(Ye,ut){var At;typeof Ye=="string"&&(Ye=document.getElementById(Ye)),Ee=null;var Nt=null;for(At=0;At<Ye.childNodes.length;At++){var Pt=Ye.childNodes[At],sn=Pt.className;sn==="applet_screenshot"?ut?(Pt.style.display="block",Ee="screenshot"):Pt.style.display="none":sn!=="applet_scaler prerender"&&(Ye.removeChild(Pt),Nt=sn&&sn.indexOf("appletParameters")!=-1?Pt.id:null,At--)}var Fe=te.id!==void 0?te.id:Nt,Qt=window[Fe];Qt&&typeof Qt.getBase64=="function"&&(Qt.remove(),window[Fe]=null)},Et.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ye=Et.getAppletObject();return Ye&&typeof Ye.recalculateEnvironments=="function"?(Ye.recalculateEnvironments(),!0):!1},Et.startAnimation=function(){var Ye=Et.getAppletObject();return Ye&&typeof Ye.startAnimation=="function"?(Ye.startAnimation(),!0):!1},Et.stopAnimation=function(){var Ye=Et.getAppletObject();return Ye&&typeof Ye.stopAnimation=="function"?(Ye.stopAnimation(),!0):!1},Et.getAppletObject=function(){var Ye=te.id!==void 0?te.id:"ggbApplet";return window[Ye]},Et.resize=function(){};var xe=function(Ye,ut,At){var Nt=document.createElement("param");Nt.setAttribute("name",ut),Nt.setAttribute("value",At),Ye.appendChild(Nt)},ye=function(Ye){return Ye&&Ye!=="false"},Be=function(Ye,ut,At){oe(re)<=4.2&&(At=!0);var Nt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==re||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Nt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Pt=document.createElement("div");Pt.classList.add("appletParameters","notranslate");var sn=ut.width,Fe=ut.height;if(ut.disableAutoScale=ut.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ut.disableAutoScale,ut.width!==void 0)if(oe(re)<=4.4)ye(ut.showToolBar)&&(ut.height-=7),ye(ut.showAlgebraInput)&&(ut.height-=37),ut.width<605&&ye(ut.showToolBar)&&(ut.width=605,sn=605);else{var Qt=100;(ye(ut.showToolBar)||ye(ut.showMenuBar))&&(ut.hasOwnProperty("customToolBar")&&(ut.customToolbar=ut.customToolBar),Qt=ye(ut.showMenuBar)?245:155),sn<Qt&&(ut.width=Qt,sn=Qt)}Pt.style.border="none",Pt.style.display="inline-block";for(var Kt in ut)ut.hasOwnProperty(Kt)&&Kt!=="appletOnLoad"&&Pt.setAttribute("data-param-"+Kt,ut[Kt]);ee&&Pt.setAttribute("data-param-fontscssurl",ee),Et.resize=function(){GGBAppletUtils.responsiveResize(Ye,ut)},window.addEventListener("resize",function(we){Et.resize()});var Hn=typeof ut.appletOnLoad=="function"?ut.appletOnLoad:function(){};if(!At&&ut.width!==void 0){ut.hasOwnProperty("showSplash")||Pt.setAttribute("data-param-showSplash","false");var Jn=Ye.querySelector(".applet_scaler.prerender"),Re=Jn!==null;if(Re)var qe=Jn.querySelector(".ggb_preview");else{var qe=Ge(sn,Fe,ut.borderColor,!1);Jn=document.createElement("div"),Jn.className="applet_scaler",Jn.style.position="relative",Jn.style.display="block",Jn.style.width=sn+"px",Jn.style.height=Fe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Jn,"66%"),oe(re)>=5?(ut.appletOnLoad=function(we){var pt=Ye.querySelector(".ggb_preview");pt&&pt.parentNode.removeChild(pt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Jn),window.GGBT_wsf_view&&$(window).trigger("resize"),Hn(we)},Re||Jn.appendChild(qe)):Pt.appendChild(qe),Jn.appendChild(Pt),Re||Ye.appendChild(Jn),setTimeout(function(){Et.resize()},1)}else{var tt=document.createElement("div");tt.className="applet_scaler",tt.style.position="relative",tt.style.display="block",tt.appendChild(Pt),Ye.appendChild(tt),ut.appletOnLoad=function(we){Et.resize(),Hn(we)}}function Le(we,pt){pt&&typeof pt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(we,pt.appletOnLoad):renderGGBElement(we),Rt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",pt)}function ht(we,pt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:we,params:pt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(et){Le(et.article,et.params)}),html5AppletsToProcess=null)},oe(re)<5&&(we.className+=" geogebraweb")):Le(we,pt)}if(Nt){scriptLoadStarted=!0;for(var gt=0;gt<Pt.childNodes.length;gt++){var Oe=Pt.childNodes[gt].tagName;Oe==="TABLE"&&(Pt.removeChild(Pt.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var ve=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ve!=null&&ve.parentNode.removeChild(ve)}var We=document.createElement("script"),Ve=function(){ht(Pt,ut)};We.src=He+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=re,ggbHTML5LoadedScript=We.src,Rt("GeoGebra HTML5 codebase loaded: '"+He+"'.",ut),!ie&&(!Ne||Ne=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Ve()):He.requirejs?__webpack_require__.e(4469).then(function(){var we=[__webpack_require__(84469)];Ve.apply(null,we)}.bind(this)).catch(__webpack_require__.oe):(We.onload=Ve,Ye.appendChild(We))}else ht(Pt,ut);ut.height=Fe,ut.width=sn},Ze=function(Ye,ut,At){var Nt=Ge(ut.width,ut.height,ut.borderColor,At),Pt=document.createElement("div");Pt.style.position="relative",Pt.style.display="block",Pt.style.width=ut.width+"px",Pt.style.height=ut.height+"px",Pt.className="applet_screenshot applet_scaler"+(At?" applet_screenshot_play":""),Pt.appendChild(Nt);var sn=GGBAppletUtils.getScale(ut,Ye,At);At?(Ye.appendChild(Ue()),window.GGBT_wsf_view||(Ye.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Pt,"66%"),Ye.appendChild(Pt),sn!==1&&!isNaN(sn)&&(GGBAppletUtils.scaleElement(Pt,sn),Pt.style.width=ut.width+"px",Pt.style.height=ut.height+"px",Pt.parentNode.style.width=ut.width*sn+"px",Pt.parentNode.style.height=ut.height*sn+"px"),Et.resize=function(){mt(Ye,Nt,Pt,At)},window.addEventListener("resize",function(Fe){Et.resize()}),Et.resize()};function mt(Ye,ut,At,Nt){if(Ye.contains(ut)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ye.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ye)}var Pt=GGBAppletUtils.getScale(te,Ye,Nt);At.parentNode!==null&&(!isNaN(Pt)&&Pt!==1?(GGBAppletUtils.scaleElement(At,Pt),At.parentNode.style.width=te.width*Pt+"px",At.parentNode.style.height=te.height*Pt+"px"):(GGBAppletUtils.scaleElement(At,1),At.parentNode.style.width=te.width+"px",At.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ye),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Et.onExitFullscreen=function(Ye,ut){ut.appendChild(Ye)};var De=function(Ye,ut,At,Nt){Ze(Ye,ut,!0);for(var Pt=function(){var Qt=[];for(Fe=0;Fe<Ye.childNodes.length;Fe++)Qt.push(Ye.childNodes[Fe]);if(window.GGBT_wsf_view){var Kt=window.GGBT_wsf_view.renderFullScreen(Ye,ut.id),Hn=document.getElementById("fullscreencontainer"),Jn=jQuery(Ye).find(".fullscreencontent");Jn.length>0?(Kt.remove(),Jn.attr("id","fullscreencontent").show(),jQuery(Hn).append(Jn),window.dispatchEvent(new Event("resize"))):Be(Kt,ut,!1),window.GGBT_wsf_view.launchFullScreen(Hn)}else Ee=Nt,Be(Ye,ut,!1);if(!window.GGBT_wsf_view)for(Fe=0;Fe<Qt.length;Fe++)Ye.removeChild(Qt[Fe])},sn=Ye.getElementsByClassName("ggb_preview_play"),Fe=0;Fe<sn.length;Fe++)sn[Fe].addEventListener("click",Pt,!1),sn[Fe].addEventListener("ontouchstart",Pt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ye),ue()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ue=function(){var Ye=document.createElement("div");if(Ye.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ut='.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");}',At=document.createElement("style");At.styleSheet?At.styleSheet.cssText=ut:At.appendChild(document.createTextNode(ut)),document.getElementsByTagName("head")[0].appendChild(At)}return Ye},Ge=function(Ye,ut,At,Nt){var Pt=document.createElement("div");Pt.className="ggb_preview",Pt.style.position="absolute",Pt.style.zIndex="90",Pt.style.width=Ye-2+"px",Pt.style.height=ut-2+"px",Pt.style.top="0px",Pt.style.left="0px",Pt.style.overflow="hidden",Pt.style.backgroundColor="white";var sn="lightgrey";At!==void 0&&(At==="none"?sn="transparent":sn=At),Pt.style.border="1px solid "+sn;var Fe=document.createElement("img");if(Fe.style.position="relative",Fe.style.zIndex="1000",Fe.style.top="-1px",Fe.style.left="-1px",b!==null&&Fe.setAttribute("src",b),Fe.style.opacity=.7,E!==null){var Qt,Kt,Hn;if(!Nt){Qt=document.createElement("img"),Qt.style.position="absolute",Qt.style.zIndex="1001",Qt.style.opacity=1,Fe.style.opacity=.3,Kt=360,Kt>Ye/4*3&&(Kt=Ye/4*3),Hn=Kt/5.8,Qt.setAttribute("src",E),Qt.setAttribute("width",Kt),Qt.setAttribute("height",Hn);var Jn=(Ye-Kt)/2,Re=(ut-Hn)/2;Qt.style.left=Jn+"px",Qt.style.top=Re+"px",Pt.appendChild(Qt)}}return Pt.appendChild(Fe),Pt},Ke=function(Ye){return Ye=Ye.toLowerCase(),Ye==="html5"||Ye==="screenshot"?Ye:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],at=function(Ye,ut){if(re=Ye,ut){ft(re,!0);return}var At=!se;if(At){var Nt=oe(re);!isNaN(Nt)&&Nt<4.4&&(At=!1)}var Pt,sn;window.location.protocol.substr(0,4)==="http"?Pt=window.location.protocol:Pt="http:";var Fe=re.indexOf("//");Fe>0?sn=re:Fe===0?sn=Pt+re:sn="https://www.geogebra.org/apps/5.2.814.0/";for(var Qt in it)if(re.slice(it[Qt].length*-1)===it[Qt]||re.slice((it[Qt].length+1)*-1)===it[Qt]+"/"){ft(sn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&At&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!ye(te.showToolBar)&&!ye(te.showMenuBar)&&!ye(te.showAlgebraInput)&&!ye(te.enableRightClick)&&(!te.appName||te.appName=="classic")?sn+="webSimple/":sn+="web3d/",ft(sn,!1)},ft=function(Ye,ut){if(Ye.requirejs){He=Ye;return}Ye.slice(-1)!=="/"&&(Ye+="/"),He=Ye,ut===null&&(ut=Ye.indexOf("http")===-1),Me=ut,a="web.nocache.js",y=!1;var At=He.split("/");At.length>1&&(!ut&&At[At.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):it.indexOf(At[At.length-2])>=0&&(a=At[At.length-2]+".nocache.js")),At=Ye.split("/"),re=At[At.length-3],re.substr(0,4)==="test"?re=re.substr(4,1)+"."+re.substr(5,1):(re.substr(0,3)==="war"||re.substr(0,4)==="beta")&&(re="5.0");var Nt=parseFloat(re);Nt!==NaN&&Nt<5&&Ye.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Nt+" is deprecated. Using version latest instead."),at("5.0",ut))},Rt=function(Ye,ut){window.console&&window.console.log&&(!ut||typeof ut.showLogging=="undefined"||ut.showLogging&&ut.showLogging!=="false")&&console.log(Ye)};te.material_id!==void 0?ge(kt):kt();function kt(){var Ye=St;Ne!==null?Ye=Ne:parseFloat(Ye)<5&&(Ye="5.0"),at(Ye,!1),ie!==null&&ft(ie,Me),be=!0}return Et},GGBAppletUtils=function(){"use strict";function Et(){return window.GGBT_wsf_edit!==void 0}function St(be,Ne){Ne!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+Ne+","+Ne+")",be.style.webkitTransform="scale("+Ne+","+Ne+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function te(be,Ne,ie,nt,je,Te){var He=null;if(Te!=null&&Te!="")for(var Me=be.parentNode;Me!=null;)if((" "+Me.className+" ").indexOf(" "+Te+" ")>-1){He=Me;break}else Me=Me.parentNode;var Ee=0,re=0,a=0,y=0,b=0,E=0,x=0;if(He)Ee=He.offsetWidth,re=Math.max(nt?He.offsetWidth:0,He.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),a=Ee):(Ee=window.innerWidth,re=window.innerHeight,a=window.innerWidth),be){var ee=be.getBoundingClientRect();ee.left>0&&ee.left<=Ee&&(je===void 0||!je)&&(document.dir==="rtl"?(b=Ee-ee.width-ee.left,E=a<=480?10:30):(E=ee.left,b=a<=480?10:30),y=E+b)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,x=40)}}return be&&((ie===void 0||!ie)&&Ne>0&&Ne+y<Ee?Ee=Ne:Ee-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie===void 0||!ie)&&(re-=x)),{width:Ee,height:re}}function z(be,Ne,ie,nt,je){if(be.isScreenshoGenerator)return 1;var Te=nt!==void 0&&nt,He=be.noScaleMargin!=null&&be.noScaleMargin,Me=function(ne){return ne&&ne!=="false"},Ee=Me(be.autoHeight),re=te(Ne,be.width,ie,Ee,Te&&window.GGBT_wsf_view||He,je),a=parseInt(re.width),y=be.width,b=be.height;if(y===void 0){var E=Ne.querySelector(".appletParameters");E&&(y=E.offsetWidth,b=E.offsetHeight)}var x=a/y,ee=Te?1:re.height/b;return ie!==void 0&&!ie&&(x=Math.min(1,x),ee=Math.min(1,ee)),Math.min(x,ee)}function se(be,Ne,ie){var nt=1,je,Te=!1;if(be.hasOwnProperty("allowUpscale")&&(Te=be.allowUpscale),be.hasOwnProperty("scale")&&(nt=parseFloat(be.scale),(isNaN(nt)||nt===null||nt===0)&&(nt=1),nt>1&&(Te=!0)),Ne&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Te=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))je=z(be,Ne,Te,ie,be.scaleContainerClass);else return nt;return Te&&(!be.hasOwnProperty("scale")||nt===1)?je:Math.min(nt,je)}function he(be){var Ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),nt=be.getBoundingClientRect(),je=(Ne-nt.width)/2,Te=(ie-nt.height)/2;Te<0&&(Te=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je<40?be.style.left="40px":be.style.left=je+"px",be.style.top=Te+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Te<40?be.style.top="40px":be.style.top=Te+"px",be.style.left=je+"px")}function Ie(be,Ne){var ie=be.querySelector(".appletParameters");if(ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ne.id!==ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(ie.parentElement&&/fullscreen/.test(ie.parentElement.className))return;var nt=se(Ne,be);Et()&&ie.setAttribute("data-param-scale",nt);for(var je=null,Te=0;Te<be.childNodes.length;Te++)if(be.childNodes[Te].className!==void 0&&be.childNodes[Te].className.match(/^applet_scaler/)){je=be.childNodes[Te];break}if(je!==null&&je.querySelector(".noscale")!==null)return;var He=Ne.id!==void 0?Ne.id:"ggbApplet",Me=window[He];(Me==null||!Me.recalculateEnvironments)&&je!==null&&!je.className.match(/fullscreen/)&&(je.parentNode.style.transform="",!isNaN(nt)&&nt!==1?(je.parentNode.style.width=Ne.width*nt+"px",je.parentNode.style.height=Ne.height*nt+"px",St(je,nt)):(St(je,1),je.parentNode.style.width=Ne.width+"px",je.parentNode.style.height=Ne.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&he(be),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ie).parents(".content-added-content"))}}return{responsiveResize:Ie,isFlexibleWorksheetEditor:Et,positionCenter:he,getScale:se,scaleElement:St}}();__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 Et=n.location.search;return Et.indexOf(J)!=-1||Et.indexOf(K)!=-1}function q(Et,St){}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(Et){var St=s[L].bindings;s[L].bindings=function(){for(var te=St?St():{},z=Et[webModule.__softPermutationId],se=O;se<z.length;se++){var he=z[se];te[he[O]]=he[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var Et=o.createElement(Q);if(Et.id=L,Et.style.cssText=R+S,Et.tabIndex=-1,o.body.appendChild(Et),t=Et.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var St=document.compatMode==U?V:W;t.write(St+X),t.close()}}}function w(Et){function St(z){function se(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var he=se();if(he){z();return}function Ie(){if(!he){if(!se())return;he=!0,z(),o.removeEventListener&&o.removeEventListener(Z,Ie,!1),be&&clearInterval(be)}}o.addEventListener&&o.addEventListener(Z,Ie,!1);var be=setInterval(function(){Ie()},$)}function te(z){var se=u(),he=se.body,Ie=se.createElement(_);Ie.language=ab,Ie.crossOrigin=W,Ie.src=z,webModule.__errFn&&(Ie.onerror=function(){webModule.__errFn(L,new Error(bb+z))}),he.appendChild(Ie)}St(function(){te(Et)})}webModule.__startLoadingFragment=function(Et){return C(Et)},webModule.__installRunAsyncCode=function(Et){var St=u(),te=St.body,z=St.createElement(_);z.language=ab,z.text=Et,te.appendChild(z),te.removeChild(z)};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(Et){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Et){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Et){var St=c[Et];return St==null?null:St},r=d,webModule.__errFn=e}function B(){function Et(be){var Ne=be.lastIndexOf(rb);Ne==-1&&(Ne=be.length);var ie=be.indexOf(sb);ie==-1&&(ie=be.length);var nt=be.lastIndexOf(tb,Math.min(ie,Ne));return nt>=O?be.substring(O,nt+P):W}function St(be){if(!be.match(/^\w+:\/\//)){var Ne=o.createElement(ub);Ne.src=be+vb,be=Et(Ne.src)}return be}function te(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function z(){for(var be=o.getElementsByTagName(_),Ne=O;Ne<be.length;++Ne)if(be[Ne].src.indexOf(xb)!=-1)return Et(be[Ne].src);return W}function se(){var be=o.getElementsByTagName(yb);return be.length>O?be[be.length-P].href:W}function he(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Ie=te();return Ie==W&&(Ie=z()),Ie==W&&(Ie=se()),Ie==W&&he()&&(Ie=Et(o.location.href)),Ie=St(Ie),Ie}function C(Et){return Et.match(/^\//)||Et.match(/^[a-zA-Z]+:\/\//)?Et:webModule.__moduleBase+Et}function D(){var Et=[],St=O,te=[],z=[];function se(be){var Ne=z[be](),ie=te[be];if(Ne in ie)return Ne;var nt=[];for(var je in ie)nt[ie[je]]=je;throw r&&r(be,nt,Ne),null}if(__gwt_isKnownPropertyValue=function(be,Ne){return Ne in te[be]},webModule.__getPropMap=function(){var be={};for(var Ne in te)te.hasOwnProperty(Ne)&&(be[Ne]=se(Ne));return be},webModule.__computePropValue=se,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var he;try{he=Cb;var Ie=he.indexOf(Db);Ie!=-1&&(St=parseInt(he.substring(Ie+P),$),he=he.substring(O,Ie))}catch(be){}return webModule.__softPermutationId=St,C(he+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},35976:function(Et,St,te){"use strict";te.d(St,{Ax:function(){return Ie},Ds:function(){return be},KI:function(){return ie},SI:function(){return he},f1:function(){return se}});var z=te(21600);function se(nt){let je=!0;if(nt.length>0){for(let Te=0;Te<nt.length;Te++)if(nt[Te].compile_success==0||!nt[Te].compile_success){je=!1;break}}else je=!1;return je}function he(nt,je=""){let Te=[];for(let He=0;He<nt.length;He++){let Me=nt[He],Ee=je?`${je}/${Me.name}`:`${Me.name}`;Te.push({title:Me.name,type:Me.type,isLeaf:Me.type!=="tree",key:Ee})}return Te}function Ie(nt,je,Te){for(let He=0;He<nt.length;He++){let Me=nt[He];if(Me.key===je){Me.children=Te;break}Me.children&&Ie(Me.children,je,Te)}return nt}function be(nt,je,Te){let He;return function(){let Me=this,Ee=arguments,re=function(){He=null,Te||nt.apply(Me,Ee)},a=Te&&!He;clearTimeout(He),He=setTimeout(re,je),a&&nt.apply(Me,Ee)}}const Ne=!0,ie=z.Z.API_SERVER},74089:function(Et,St,te){"use strict";te.d(St,{Z:function(){return x}});var z=te(59301),se=te(78241),he=te(8591),Ie=te(43418),be=te(5083),Ne=te(92832),ie=te(1710),nt=te(95237),je=te(43604),Te=te(66649),He=te.n(Te),Me=te(92232),Ee=te(52985),re={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},a=te(30467),y=te(53051),b=(ee,ne,oe)=>new Promise((ae,ue)=>{var ge=xe=>{try{Pe(oe.next(xe))}catch(ye){ue(ye)}},me=xe=>{try{Pe(oe.throw(xe))}catch(ye){ue(ye)}},Pe=xe=>xe.done?ae(xe.value):Promise.resolve(xe.value).then(ge,me);Pe((oe=oe.apply(ee,ne)).next())});const E=({dispatch:ee,courseEndTime:ne,classroomList:oe,successCallback:ae=()=>{},visible:ue,homeworkIds:ge,courseId:me,isBatch:Pe,shixunHomeworks:xe})=>{const[ye]=se.default.useForm(),[Be,Ze]=(0,z.useState)(!1),[mt,De]=(0,z.useState)(!1),[Ue,Ge]=(0,z.useState)(!1),[Ke,it]=(0,z.useState)([]),[at,ft]=(0,z.useState)([]),[Rt,kt]=(0,z.useState)([]),[Ye,ut]=(0,z.useState)([]),[At,Nt]=(0,z.useState)([]),[Pt,sn]=(0,z.useState)([]),[Fe,Qt]=(0,z.useState)([]),[Kt,Hn]=(0,z.useState)([]),[Jn,Re]=(0,z.useState)([]);(0,z.useEffect)(()=>{ue?qe():Le()},[ue]);const qe=()=>b(void 0,null,function*(){Ze(!0);const ht=yield(0,a.oR)(ge[0],{course_id:me});Ge(ht.no_group),Pe?(Qt(ht.all_course_groups),Hn(ht.all_course_groups)):(ut(ht.late_course_groups),Nt(ht.late_course_groups),it(ht.submit_course_groups),ft(ht.submit_course_groups)),Ze(!1),ye.setFieldsValue({end_time:He()()})}),tt=()=>b(void 0,null,function*(){const ht=ye.getFieldsValue(),gt=He()(ht.end_time).format("YYYY-MM-DD HH:mm");if((Pe?Jn.length===0:Rt.length===0&&Pt.length===0)&&!Ue){he.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}De(!0);const ve=yield(0,a.Mc)(me,{no_group:Ue,homework_ids:ge,group_ids:Pe?Jn:Rt,end_time:gt,late_group_ids:Pe?Jn:Pt});De(!1),ve.status===0&&(Le(),he.ZP.success("\u64CD\u4F5C\u6210\u529F"),ae(),ee({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),Le=()=>{kt([]),sn([]),ft([]),Nt([])};return z.createElement(Ie.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:re.modalWrapper,width:Pe||Ue?520:760,open:ue,confirmLoading:mt,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>tt(),onCancel:()=>{Le(),ee({type:"classroomList/setActionTabs",payload:{}})}},z.createElement("div",{className:re.tips},z.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),z.createElement("div",null,"2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002")),z.createElement(se.default,{form:ye,layout:"vertical"},z.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},z.createElement(be.default,{style:{width:"100%"},disabledDate:ht=>(0,y.Q8)(ht,ne),disabledTime:ht=>(0,y.d0)(ht),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:He()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!Ue&&z.createElement(z.Fragment,null,Pe?z.createElement("div",null,z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:ht=>{Hn(Fe.filter(gt=>gt.name.indexOf(ht.target.value)>-1))}}),z.createElement(ie.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:ht=>{Re(ht)}},rowKey:"id",pagination:!1,dataSource:Kt,loading:Be,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):z.createElement(nt.Z,{gutter:24},z.createElement(je.Z,{span:14},z.createElement("div",{className:re.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:ht=>{ft(Ke.filter(gt=>gt.name.indexOf(ht.target.value)>-1))}}),z.createElement("div",{className:re.tableWrapper},z.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:ht=>{kt(ht)}},rowKey:"id",pagination:!1,dataSource:at,loading:Be,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),z.createElement(je.Z,{flex:10,style:{maxWidth:"280px"}},z.createElement("div",{className:re.homeworkType},"\u8865\u4EA4\u622A\u6B62"),z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:ht=>{Nt(Ye.filter(gt=>gt.name.indexOf(ht.target.value)>-1))}}),z.createElement("div",{className:re.tableWrapper},z.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:ht=>{sn(ht)}},rowKey:"id",pagination:!1,loading:Be,dataSource:At,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var x=(0,Ee.connect)(({shixunHomeworks:ee,classroomList:ne})=>({shixunHomeworks:ee,classroomList:ne}))(E)},55018:function(Et,St,te){"use strict";te.d(St,{Z:function(){return He}});var z=te(59301),se={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},he=te(92310),Ie=te.n(he),be=te(71418),Ne=te(2859),ie=te(82186),nt=te(92232),je=(Me,Ee,re)=>new Promise((a,y)=>{var b=ee=>{try{x(re.next(ee))}catch(ne){y(ne)}},E=ee=>{try{x(re.throw(ee))}catch(ne){y(ne)}},x=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(b,E);x((re=re.apply(Me,Ee)).next())}),He=({data:Me,className:Ee,fullWidth:re,style:a={},onClose:y,onOk:b,showFullTools:E,noAssociationId:x})=>{const ee=(0,z.useRef)(null),ne=(0,z.useRef)(null),oe=(0,z.useRef)(null),ae=(0,z.useRef)(null),[ue,ge]=(0,z.useState)(!1),[me,Pe]=(0,z.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,z.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),Me!=null&&Me.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",Me!=null&&Me.src&&xe()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[Me==null?void 0:Me.visible]);const xe=()=>je(void 0,null,function*(){ge(!0),Pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const De=yield(0,nt.ZJ)(Me==null?void 0:Me.src);ee.current.src="",ee.current.src=De,ee.current.onload=function(){mt()},ge(!1),Pe("")}),ye=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",y()},Be=De=>je(void 0,null,function*(){ge(!0),Pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ue=yield(0,ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Me.title,file:De.dataUrl}});Ue!=null&&Ue.id&&!x?(yield(0,ie.ZP)(`/api/attachments/${Me.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ue==null?void 0:Ue.id,settings:JSON.stringify(De.state)}})).status===0&&b():Ue!=null&&Ue.id&&b(Ue),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",ge(!1),Pe("")}),Ze=()=>{const De=document.querySelector('a[href="https://markerjs.com/"]');De&&De.parentNode&&(De.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(Ge=>{const Ke=document.querySelector(Ge.name);Ke&&Ke.setAttribute("title",Ge.title)})},mt=()=>{ne.current=new Ne.hP(ee.current),ne.current.targetRoot=ae.current,ne.current.addEventListener("render",Be),ne.current.addEventListener("beforeclose",ye),E&&(ne.current.availableMarkerTypes=ne.current.ALL_MARKER_TYPES,ne.current.uiStyleSettings.redoButtonVisible=!0,ne.current.uiStyleSettings.notesButtonVisible=!0,ne.current.uiStyleSettings.zoomButtonVisible=!0,ne.current.uiStyleSettings.zoomOutButtonVisible=!0,ne.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ne.current.uiStyleSettings,ne.current.show(),Me!=null&&Me.snapshotData&&ne.current.restoreState(Me.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ze()},300)};return z.createElement(z.Fragment,null,(Me==null?void 0:Me.visible)&&z.createElement(be.Z,{spinning:ue,tip:me,style:{position:"absolute"}},z.createElement("div",{ref:ae,className:Ie()(se.imageDimensions,Ee,re?se.fullWidth:""),style:a},z.createElement("img",{className:se.img,ref:ee}))))}},69104:function(Et,St,te){"use strict";var z=te(59301),se=te(95237),he=te(43604),Ie=te(99313),be=te(3113),Ne=te(68762),ie=te(43701),nt=te(48136),je=te(59301);const Te=(0,z.forwardRef)(({callback:He,showSaveButton:Me,value:Ee=""},re)=>{const a=(0,z.useRef)(),y=[{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 "}]}]}],b=[{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}`}]}]}],E=ne=>{a.current.setValue(a.current.getValue()+" "+ne.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:je.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((ne,oe)=>je.createElement(he.Z,{flex:"110px",className:ie.Z.item},je.createElement("div",null,je.createElement(Ne.Z,{value:`$$${ne.value}$$`}),ne.name),je.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>je.createElement("div",{key:ue},je.createElement("h1",null,ae.name),je.createElement(se.Z,{gutter:[10,10]},ae.data.map((ge,me)=>je.createElement(he.Z,{key:me,onClick:()=>E(ge),className:ie.Z.diamond},je.createElement(Ne.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:je.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},b.map((ne,oe)=>je.createElement(he.Z,{flex:"110px",className:ie.Z.item},je.createElement("div",null,je.createElement(Ne.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),je.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>je.createElement("div",{key:ue},ae.name&&je.createElement("h1",null,ae.name),je.createElement(se.Z,{gutter:[10,10]},ae.data.map((ge,me)=>je.createElement(he.Z,{key:me,onClick:()=>E(ge),className:ie.Z.diamond},je.createElement(Ne.Z,{value:"`$$"+ge.value+"$$`"}))))))))))}],ee=()=>{var ne=document.createElement("div");ne.innerHTML=a.current.getValue();var oe=ne.innerText;return He&&He(oe),oe};return(0,z.useImperativeHandle)(re,()=>({getData:ee})),je.createElement("div",{className:ie.Z.mathWrap},je.createElement(Ie.default,{defaultActiveKey:"1",items:x}),je.createElement("math-field",{locale:"zh_cn",className:ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},Ee||""),Me&&je.createElement("div",{className:ie.Z.button},je.createElement(be.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});St.Z=Te},61822:function(Et,St,te){"use strict";te.d(St,{Q:function(){return Ne}});var z=te(59301),se=te(57809),he=te(5112),Ie=te(5871),be=te(59301),Ne=(nt=>(nt[nt.Number=1]="Number",nt[nt.Percent=2]="Percent",nt))(Ne||{});const ie=({value:nt,onChange:je,disabled:Te,hidePercentOption:He=!1,percentType:Me="select"})=>{const Ee=(0,z.useMemo)(()=>He?1:2,[He]),[re,a]=(0,z.useState)(Ee);console.log(re);const y=E=>nt.type===1?`${E}\u5206`:`${E}%`,b=(0,z.useCallback)(E=>{if(re===1){const x=E.replace("\u5206","");return isNaN(parseInt(x,10))?0:x}else return E.replace("%","")},[re]);return(0,z.useEffect)(()=>{a(nt.type)},[nt]),be.createElement("div",{style:{display:"flex",alignItems:"center"}},Me=="select"&&be.createElement(se.default,{size:"large",onChange:E=>{a(E),je({type:E,inputValue:E===1?5:20})},value:re||Ee,style:{width:100},options:He?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Te}),Me=="radio"&&be.createElement(he.ZP.Group,{size:"large",onChange:E=>{const x=E.target.value;a(x),je({type:x,inputValue:x===1?5:20})},value:re||Ee,disabled:Te},!He&&be.createElement(he.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),be.createElement(he.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Me=="radio"&&be.createElement("div",{style:{marginRight:"10px",color:"#000000"}},nt.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),be.createElement(Ie.Z,{size:"large",disabled:Te,value:nt.inputValue,style:{width:"120px"},parser:b,addonAfter:nt.type===1?"\u5206":"%",max:re===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:E=>{je({type:re,inputValue:E})}}),Me=="radio"&&nt.type==2&&be.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};St.Z=ie},70170:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(59301),se={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"},he=te(43418),Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ne=(je,Te,He)=>new Promise((Me,Ee)=>{var re=b=>{try{y(He.next(b))}catch(E){Ee(E)}},a=b=>{try{y(He.throw(b))}catch(E){Ee(E)}},y=b=>b.done?Me(b.value):Promise.resolve(b.value).then(re,a);y((He=He.apply(je,Te)).next())}),nt=({type:je,resdata:Te,onok:He,oktext:Me,okloading:Ee})=>{const[re,a]=(0,z.useState)(!1),{can_copy_list:y,can_copy_num:b,challenge_type:E,course_data_list:x,no_copy_list:ee,no_copy_num:ne,no_use_list:oe,no_use_num:ae,repeat_shixun_num:ue,student_count:ge,total_num:me,use_num:Pe}=Te;let xe=b>0||je==="exercise";(0,z.useEffect)(()=>{(Te==null?void 0:Te.student_count)>0&&a(!0)},[Te]),console.log("---11",Ee),(0,z.useEffect)(()=>{Ee||a(!1)},[Ee]);const ye=()=>{if(je==="exercise"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.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(je==="exercise"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\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",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},ge),"\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",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",z.createElement("span",{className:se.orangeColor},ge)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",z.createElement("span",{className:se.orangeColor},Pe)," \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",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="exercisepush")return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",z.createElement("span",{className:se.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(je==="shixunpush"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixunpush"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",z.createElement("span",{className:se.orangeColor},Pe),"\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",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Be=()=>{if(je==="exercise"||je==="subject"||je==="exercisepush"||je==="shixunpush")return z.createElement("div",{style:{marginTop:20}},ne>0&&z.createElement("div",null,z.createElement("span",{className:se.flex},z.createElement("img",{src:be,style:{width:14}}),z.createElement("span",{className:se.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:se.statusbody},je==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.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"),(je==="subject"||je==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&z.createElement("span",{className:se.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"),je==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&z.createElement("span",{className:se.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"),z.createElement("div",null,ee==null?void 0:ee.map((Ze,mt)=>z.createElement("a",{href:`/shixuns/${Ze.identifier}/challenges`,target:"_blank"},"\u300A",Ze==null?void 0:Ze.name,"\u300B",mt+1!==ne&&"\u3001"))))),b>0&&z.createElement("div",{style:{marginTop:20}},z.createElement("span",{className:se.flex},z.createElement("img",{src:Ie,style:{width:14}}),z.createElement("span",{className:se.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:se.statusbody},je==="exercise"&&z.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"),(je==="subject"||je==="exercisepush")&&z.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"),je==="shixunpush"&&z.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"),z.createElement("div",null,y==null?void 0:y.map((Ze,mt)=>z.createElement("a",{href:`/shixuns/${Ze.identifier}/challenges`,target:"_blank"},"\u300A",Ze==null?void 0:Ze.name,"\u300B",mt+1!==b&&"\u3001"))))));if(je==="shixun")return z.createElement("div",{style:{marginTop:20}},b>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 z.createElement(he.default,{open:re,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!xe&&"none"}},zIndex:1003,confirmLoading:Ee,okText:xe?Me:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ne(void 0,null,function*(){xe?yield He([...y,...oe]):a(!1)})},z.createElement("div",{style:{maxHeight:600,overflow:"auto"}},ye(),Be()))}},1191:function(Et,St,te){"use strict";te.d(St,{h:function(){return ne}});var z=te(59301),se=te(57809),he=te(78241),Ie=te(3113),be=te(89780),Ne=te.n(be),ie=te(11965),nt=te(67977),je=Object.defineProperty,Te=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,a=(oe,ae,ue)=>ae in oe?je(oe,ae,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[ae]=ue,y=(oe,ae)=>{for(var ue in ae||(ae={}))Ee.call(ae,ue)&&a(oe,ue,ae[ue]);if(Me)for(var ue of Me(ae))re.call(ae,ue)&&a(oe,ue,ae[ue]);return oe},b=(oe,ae)=>Te(oe,He(ae));const E=se.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},ee={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"]};St.Z=({callback:oe,onCancel:ae})=>{const[ue,ge]=(0,z.useState)("python");function me(xe){ge(ee[xe][1])}function Pe(xe){oe(xe)}return z.createElement(he.default,b(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),z.createElement(he.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},z.createElement(se.default,{getPopupContainer:xe=>xe.parentNode,onChange:me},Object.keys(ee).map(xe=>z.createElement(E,{key:xe,value:xe},ee[xe][0])))),z.createElement(he.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},z.createElement(ne,{mode:ue})),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ie.ZP,{type:"ghost",onClick:ae},"\u53D6\u6D88")))};function ne({value:oe,onChange:ae,mode:ue,options:ge={}}){const me=(0,z.useRef)(),[Pe,xe]=(0,z.useState)();return(0,z.useEffect)(()=>{if(Pe){let ye=function(Be){const Ze=Be.getValue();ae&&ae(Ze)};return Pe.on("change",ye),()=>{Pe.off("change",ye)}}},[Pe,ae]),(0,z.useEffect)(()=>{Pe&&Pe.setOption("mode",ue)},[Pe,ue]),(0,z.useEffect)(()=>{Pe&&(oe!==Pe.getValue()||oe==="")&&setTimeout(()=>{Pe.setValue(oe||"")},300)},[Pe,oe]),(0,z.useEffect)(()=>{if(me.current&&!Pe){const ye=Ne().fromTextArea(me.current,y({mode:ue,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ge));xe(ye)}},[me.current,Pe]),z.createElement("div",{className:"my-codemirror-container"},z.createElement("textarea",{ref:me}))}},35556:function(Et,St,te){"use strict";te.d(St,{Z:function(){return Qa}});var z=te(59301),se=te(89780),he=te.n(se),Ie=te(76374),be=te(11965),Ne=te(6313),ie=te(25717),nt=te(99498),je=te(25419),Te=te(67549),He=te(68762),Me=({value:rt="",className:Mt,showTextOnly:Ft,showLines:kn,style:dn={}})=>{const Ln=(0,z.useMemo)(()=>"",[rt]);return z.createElement(z.Fragment,null,z.createElement("div",{dangerouslySetInnerHTML:{__html:Ln}}))},Ee=te(59301),re=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(rt,Mt,Ft)=>Mt in rt?re(rt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):rt[Mt]=Ft,ne=(rt,Mt)=>{for(var Ft in Mt||(Mt={}))E.call(Mt,Ft)&&ee(rt,Ft,Mt[Ft]);if(b)for(var Ft of b(Mt))x.call(Mt,Ft)&&ee(rt,Ft,Mt[Ft]);return rt},oe=(rt,Mt)=>a(rt,y(Mt));let ae=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ue({onActionCallback:rt,title:Mt,icon:Ft,actionName:kn,className:dn="",children:Ln}){function Xr(){rt(kn)}return Ee.createElement("a",{title:Mt,className:dn,onClick:Xr},Ee.createElement("i",{className:`${Ft}`}),Ln)}var ge=({watch:rt,showNullButton:Mt,showNullProgramButton:Ft,onActionCallback:kn,fullScreen:dn,insertTemp:Ln,hidetoolBar:Xr,extraUse:Er})=>{const Kr=[...ae,{title:`${rt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${rt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ee.createElement("ul",{className:"markdown-toolbar-container"},!Xr&&Kr.map((oo,Xa)=>Ee.createElement("li",{key:Xa},oo.actionName?Ee.createElement(ue,oe(ne({},oo),{onActionCallback:kn})):Ee.createElement("span",{className:"v-line"}))),Mt?Ee.createElement("li",null,Ee.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kn},Ee.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ft?Ee.createElement(Ee.Fragment,null,Ee.createElement("li",null,Ee.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kn},Ee.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ee.createElement("li",null,Ee.createElement(ue,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kn},Ee.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ln&&Ee.createElement("li",null,Ee.createElement(ue,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ln}`,onActionCallback:kn},Ee.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Er&&Ee.createElement("li",null,Er),Ee.createElement("li",{className:"btn-full-screen"},Ee.createElement(ue,{icon:`${dn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:dn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kn})))},me=te(76624),Pe=te(78241),xe=te(92832),ye=te(3113),Be=Object.defineProperty,Ze=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Ke=(rt,Mt,Ft)=>Mt in rt?Be(rt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):rt[Mt]=Ft,it=(rt,Mt)=>{for(var Ft in Mt||(Mt={}))Ue.call(Mt,Ft)&&Ke(rt,Ft,Mt[Ft]);if(De)for(var Ft of De(Mt))Ge.call(Mt,Ft)&&Ke(rt,Ft,Mt[Ft]);return rt},at=(rt,Mt)=>Ze(rt,mt(Mt));const ft={labelCol:{span:4},wrapperCol:{span:20}};var Rt=({callback:rt,onCancel:Mt})=>{function Ft(kn){rt(kn)}return z.createElement(Pe.default,at(it({},ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ft,style:{width:500}}),z.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},z.createElement(xe.default,null)),z.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},z.createElement(xe.default,null)),z.createElement("div",{className:"flex-container flex-end"},z.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(ye.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},kt=te(1191),Ye=te(62784),ut=te(43418),At=te(95237),Nt=te(55018),Pt=te(59301),sn=({callback:rt,onCancel:Mt})=>{const Ft=document.createElement("canvas"),kn=Ft.getContext("2d");Ft.width=1e3,Ft.height=800,kn.fillStyle="#ffffff",kn.fillRect(0,0,Ft.width,Ft.height);const dn=Ft.toDataURL("image/png");return Pt.createElement(ut.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Pt.createElement(At.Z,{style:{height:"100vh"}},Pt.createElement(Nt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:dn,visible:!0,title:String(Date.now())},onOk:Ln=>{rt({src:Ln.url})},onClose:Mt})))},Fe=te(12378);function Qt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Qt,go.CommandHandler),Qt.prototype.canAlignSelection=function(){var rt=this.diagram;return!(rt===null||rt.isReadOnly||rt.isModelReadOnly||rt.selection.count<2)},Qt.prototype.alignLeft=function(){var rt=this.diagram;rt.startTransaction("aligning left");var Mt=1/0;rt.selection.each(function(Ft){Ft instanceof go.Link||(Mt=Math.min(Ft.position.x,Mt))}),rt.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Mt,Ft.position.y))}),rt.commitTransaction("aligning left")},Qt.prototype.alignRight=function(){var rt=this.diagram;rt.startTransaction("aligning right");var Mt=-1/0;rt.selection.each(function(Ft){if(!(Ft instanceof go.Link)){var kn=Ft.actualBounds.x+Ft.actualBounds.width;Mt=Math.max(kn,Mt)}}),rt.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Mt-Ft.actualBounds.width,Ft.position.y))}),rt.commitTransaction("aligning right")},Qt.prototype.alignTop=function(){var rt=this.diagram;rt.startTransaction("alignTop");var Mt=1/0;rt.selection.each(function(Ft){Ft instanceof go.Link||(Mt=Math.min(Ft.position.y,Mt))}),rt.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Ft.position.x,Mt))}),rt.commitTransaction("alignTop")},Qt.prototype.alignBottom=function(){var rt=this.diagram;rt.startTransaction("aligning bottom");var Mt=-1/0;rt.selection.each(function(Ft){if(!(Ft instanceof go.Link)){var kn=Ft.actualBounds.y+Ft.actualBounds.height;Mt=Math.max(kn,Mt)}}),rt.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Ft.actualBounds.x,Mt-Ft.actualBounds.height))}),rt.commitTransaction("aligning bottom")},Qt.prototype.alignCenterX=function(){var rt=this.diagram,Mt=rt.selection.first();if(Mt){rt.startTransaction("aligning Center X");var Ft=Mt.actualBounds.x+Mt.actualBounds.width/2;rt.selection.each(function(kn){kn instanceof go.Link||kn.move(new go.Point(Ft-kn.actualBounds.width/2,kn.actualBounds.y))}),rt.commitTransaction("aligning Center X")}},Qt.prototype.alignCenterY=function(){var rt=this.diagram,Mt=rt.selection.first();if(Mt){rt.startTransaction("aligning Center Y");var Ft=Mt.actualBounds.y+Mt.actualBounds.height/2;rt.selection.each(function(kn){kn instanceof go.Link||kn.move(new go.Point(kn.actualBounds.x,Ft-kn.actualBounds.height/2))}),rt.commitTransaction("aligning Center Y")}},Qt.prototype.alignColumn=function(rt){var Mt=this.diagram;Mt.startTransaction("align Column"),rt===void 0&&(rt=0),rt=parseFloat(rt);var Ft=new Array;Mt.selection.each(function(Er){Er instanceof go.Link||Ft.push(Er)});for(var kn=0;kn<Ft.length-1;kn++){var dn=Ft[kn],Ln=dn.actualBounds.y+dn.actualBounds.height+rt,Xr=Ft[kn+1];Xr.move(new go.Point(dn.actualBounds.x,Ln))}Mt.commitTransaction("align Column")},Qt.prototype.alignRow=function(rt){rt===void 0&&(rt=0),rt=parseFloat(rt);var Mt=this.diagram;Mt.startTransaction("align Row");var Ft=new Array;Mt.selection.each(function(Er){Er instanceof go.Link||Ft.push(Er)});for(var kn=0;kn<Ft.length-1;kn++){var dn=Ft[kn],Ln=dn.actualBounds.x+dn.actualBounds.width+rt,Xr=Ft[kn+1];Xr.move(new go.Point(Ln,dn.actualBounds.y))}Mt.commitTransaction("align Row")},Qt.prototype.canRotate=function(rt){var Mt=this.diagram;return!(Mt===null||Mt.isReadOnly||Mt.isModelReadOnly||Mt.selection.count<1)},Qt.prototype.rotate=function(rt){rt===void 0&&(rt=90);var Mt=this.diagram;Mt.startTransaction("rotate "+rt.toString());var Mt=this.diagram;Mt.selection.each(function(Ft){Ft instanceof go.Link||Ft instanceof go.Group||(Ft.angle+=rt)}),Mt.commitTransaction("rotate "+rt.toString())},Qt.prototype.pullToFront=function(){var rt=this.diagram;rt.startTransaction("pullToFront");var Mt=new go.Map;rt.selection.each(function(Ft){Mt.set(Ft.layer,0)}),Mt.iteratorKeys.each(function(Ft){var kn=0;Ft.parts.each(function(dn){if(!dn.isSelected){var Ln=dn.zOrder;isNaN(Ln)?dn.zOrder=0:kn=Math.max(kn,Ln)}}),Mt.set(Ft,kn)}),rt.selection.each(function(Ft){Qt._assignZOrder(Ft,Mt.get(Ft.layer)+1)}),rt.commitTransaction("pullToFront")},Qt.prototype.pushToBack=function(){var rt=this.diagram;rt.startTransaction("pushToBack");var Mt=new go.Map;rt.selection.each(function(Ft){Mt.set(Ft.layer,0)}),Mt.iteratorKeys.each(function(Ft){var kn=0;Ft.parts.each(function(dn){if(!dn.isSelected){var Ln=dn.zOrder;isNaN(Ln)?dn.zOrder=0:kn=Math.min(kn,Ln)}}),Mt.set(Ft,kn)}),rt.selection.each(function(Ft){Qt._assignZOrder(Ft,Mt.get(Ft.layer)-1-Qt._findGroupDepth(Ft))}),rt.commitTransaction("pushToBack")},Qt._assignZOrder=function(rt,Mt,Ft){Ft===void 0&&(Ft=rt),rt.layer===Ft.layer&&(rt.zOrder=Mt),rt instanceof go.Group&&rt.memberParts.each(function(kn){Qt._assignZOrder(kn,Mt+1,Ft)})},Qt._findGroupDepth=function(rt){if(rt instanceof go.Group){var Mt=0;return rt.memberParts.each(function(Ft){Mt=Math.max(Mt,Qt._findGroupDepth(Ft))}),Mt+1}else return 0},Qt.prototype.doKeyDown=function(){var rt=this.diagram;if(rt!==null){var Mt=rt.lastInput;if(Mt.key==="Up"||Mt.key==="Down"||Mt.key==="Left"||Mt.key==="Right"){var Ft=this.arrowKeyBehavior;if(Ft==="none")return;if(Ft==="select"){this._arrowKeySelect();return}else if(Ft==="move"){this._arrowKeyMove();return}else if(Ft==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Qt.prototype._getAllParts=function(){var rt=new Array;return this.diagram.nodes.each(function(Mt){rt.push(Mt)}),this.diagram.parts.each(function(Mt){rt.push(Mt)}),rt},Qt.prototype._arrowKeyMove=function(){var rt=this.diagram,Mt=rt.lastInput,Ft=0,kn=0;if(Mt.control||Mt.meta)Ft=1,kn=1;else if(rt.grid!==null){var dn=rt.grid.gridCellSize;kn=dn.width,Ft=dn.height}rt.startTransaction("arrowKeyMove"),rt.selection.each(function(Ln){Mt.key==="Up"?Ln.move(new go.Point(Ln.actualBounds.x,Ln.actualBounds.y-Ft)):Mt.key==="Down"?Ln.move(new go.Point(Ln.actualBounds.x,Ln.actualBounds.y+Ft)):Mt.key==="Left"?Ln.move(new go.Point(Ln.actualBounds.x-kn,Ln.actualBounds.y)):Mt.key==="Right"&&Ln.move(new go.Point(Ln.actualBounds.x+kn,Ln.actualBounds.y))}),rt.commitTransaction("arrowKeyMove")},Qt.prototype._arrowKeySelect=function(){var rt=this.diagram,Mt=rt.lastInput,Ft=null;Mt.key==="Up"?Ft=this._findNearestPartTowards(270):Mt.key==="Down"?Ft=this._findNearestPartTowards(90):Mt.key==="Left"?Ft=this._findNearestPartTowards(180):Mt.key==="Right"&&(Ft=this._findNearestPartTowards(0)),Ft!==null&&(Mt.shift?Ft.isSelected=!0:Mt.control||Mt.meta?Ft.isSelected=!Ft.isSelected:rt.select(Ft))},Qt.prototype._findNearestPartTowards=function(rt){var Mt=this.diagram.selection.first();if(Mt===null)return null;for(var Ft=Mt.actualBounds.center,kn=this._getAllParts(),dn=1/0,Ln=Mt,Xr=0;Xr<kn.length;Xr++){var Er=kn[Xr];if(Er!==Mt&&Er.canSelect()){var Kr=Er.actualBounds.center,oo=Ft.directionPoint(Kr),Xa=this._angleCloseness(oo,rt);if(Xa<=45){var Nn=Ft.distanceSquaredPoint(Kr);Nn*=1+Math.sin(Xa*Math.PI/180),Nn<dn&&(dn=Nn,Ln=Er)}}}return Ln},Qt.prototype._angleCloseness=function(rt,Mt){return Math.min(Math.abs(Mt-rt),Math.min(Math.abs(Mt+360-rt),Math.abs(Mt-360-rt)))},Qt.prototype._arrowKeyTree=function(){var rt=this.diagram,Mt=rt.selection.first();if(Mt instanceof go.Node){var Ft=rt.lastInput;if(Ft.key==="Right"){if(!Mt.isTreeLeaf)if(!Mt.isTreeExpanded)rt.commandHandler.canExpandTree(Mt)&&rt.commandHandler.expandTree(Mt);else{var kn=this._sortTreeChildrenByY(Mt).first();kn!==null&&rt.select(kn)}}else if(Ft.key==="Left")if(!Mt.isTreeLeaf&&Mt.isTreeExpanded)rt.commandHandler.canCollapseTree(Mt)&&rt.commandHandler.collapseTree(Mt);else{var dn=Mt.findTreeParentNode();dn!==null&&rt.select(dn)}else if(Ft.key==="Up"){var dn=Mt.findTreeParentNode();if(dn!==null){var Ln=this._sortTreeChildrenByY(dn),Xr=Ln.indexOf(Mt);if(Xr>0){for(var Er=Ln.elt(Xr-1);Er!==null&&Er.isTreeExpanded&&!Er.isTreeLeaf;){var Kr=this._sortTreeChildrenByY(Er);Er=Kr.last()}Er!==null&&rt.select(Er)}else rt.select(dn)}}else if(Ft.key==="Down")if(Mt.isTreeExpanded&&!Mt.isTreeLeaf){var kn=this._sortTreeChildrenByY(Mt).first();kn!==null&&rt.select(kn)}else for(;Mt!==null;){var dn=Mt.findTreeParentNode();if(dn===null)break;var Ln=this._sortTreeChildrenByY(dn),Xr=Ln.indexOf(Mt);if(Xr<Ln.length-1){rt.select(Ln.elt(Xr+1));break}else Mt=dn}var oo=rt.selection.first();oo!==null&&rt.scrollToRect(oo.actualBounds)}},Qt.prototype._sortTreeChildrenByY=function(rt){var Mt=new go.List().addAll(rt.findTreeChildrenNodes());return Mt.sort(function(Ft,kn){var dn=Ft.location,Ln=kn.location;return dn.y<Ln.y?-1:dn.y>Ln.y?1:dn.x<Ln.x?-1:dn.x>Ln.x?1:0}),Mt},Qt.prototype.copyToClipboard=function(rt){go.CommandHandler.prototype.copyToClipboard.call(this,rt),this._lastPasteOffset.set(this.pasteOffset)},Qt.prototype.pasteFromClipboard=function(){var rt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(rt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),rt},Object.defineProperty(Qt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(rt){if(rt!=="move"&&rt!=="select"&&rt!=="scroll"&&rt!=="tree"&&rt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+rt);this._arrowKeyBehavior=rt}}),Object.defineProperty(Qt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(rt){if(!(rt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+rt);this._pasteOffset.set(rt)}});var Kt=Qt,Hn=te(10109),Jn=te(43604),Re=te(82186),qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},tt=te(59301),Le=(rt,Mt,Ft)=>new Promise((kn,dn)=>{var Ln=Kr=>{try{Er(Ft.next(Kr))}catch(oo){dn(oo)}},Xr=Kr=>{try{Er(Ft.throw(Kr))}catch(oo){dn(oo)}},Er=Kr=>Kr.done?kn(Kr.value):Promise.resolve(Kr.value).then(Ln,Xr);Er((Ft=Ft.apply(rt,Mt)).next())});function ht({onCancel:rt,callback:Mt}){let Ft=(0,z.useRef)(),kn=(0,z.useRef)(),dn=(0,z.useRef)(),Ln=(0,z.useRef)(!1);const Xr=(0,z.useRef)(!1),[Er,Kr]=(0,z.useState)(0);function oo(){const Nn=Fe.bx.make,ur={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ft.current=new Fe.S0(kn.current,{padding:20,grid:Nn(Fe.s_,"Grid",Nn(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ea=>{var Aa=ea.diagram.commandHandler.addTopLevelParts(ea.diagram.selection,!0);Aa||ea.diagram.currentTool.doCancel()},commandHandler:Nn(Kt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ea=>{var Aa=ea.subject;Aa.location=Aa.location.copy().snapToGridPoint(ea.diagram.grid.gridOrigin,ea.diagram.grid.gridCellSize),setTimeout(()=>{ea.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ea=>{var Aa=ea.subject;setTimeout(()=>{ea.diagram.commandHandler.editTextBlock()})},LinkRelinked:ea=>{var Aa=ea.parameter.part;Aa.invalidateConnectedLinks();var dr=ea.subject;ea.diagram.toolManager.linkingTool.isForwards?dr.toNode.invalidateConnectedLinks():dr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ft.current.nodeTemplate=Nn(Fe.NB,"Auto",{locationSpot:Fe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Fe.$u(120,60),minSize:new Fe.$u(40,40),resizable:!0,resizeCellSize:new Fe.$u(10,10),rotatable:!0},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),new Fe.KX("desiredSize","size",Fe.$u.parse).makeTwoWay(Fe.$u.stringify),Nn(Fe.bn,{name:"SHAPE",fill:ur.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("figure"),new Fe.KX("fill"),new Fe.KX("stroke","borderColor"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Nn(Fe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Nn(Fe.al,{margin:1,textAlign:"center",overflow:Fe.al.OverflowEllipsis,editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Ft.current.nodeTemplate.toolTip=Nn("ToolTip",Nn(Fe.s_,"Vertical",{maxSize:new Fe.$u(200,NaN)},Nn(Fe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Fe.KX("text")),Nn(Fe.al,{font:"10pt sans-serif",textAlign:"center"},new Fe.KX("text","details"))));function nr(ea,Aa){var dr=(pa,jr)=>{pa.handled=!0,pa.diagram.model.commit(Ir=>{var br=jr.part.adornedPart,po=new Fe.E9().setRectSpot(br.actualBounds,ea);po.subtract(br.location),po.scale(2,2),po.x+=Math.sign(po.x)*130,po.y+=Math.sign(po.y)*130,po.add(br.location),po.snapToGridPoint(pa.diagram.grid.gridOrigin,pa.diagram.grid.gridCellSize);var Lo=Ir.copyNodeData(br.data);Ir.setGroupKeyForNodeData(Lo,Ir.getGroupKeyForNodeData(br.data)),Ir.addNodeData(Lo);var Oi={from:br.key,to:Ir.getKeyForNodeData(Lo)};Ir.addLinkData(Oi);var vi=pa.diagram.findNodeForData(Lo);vi.location=po,pa.diagram.select(vi),setTimeout(()=>{pa.diagram.commandHandler.editTextBlock()},20)})};return Nn(Fe.bn,{figure:Aa,alignment:ea,alignmentFocus:ea.opposite(),width:ea.equals(Fe.z6.Top)||ea.equals(Fe.z6.Bottom)?25:18,height:ea.equals(Fe.z6.Top)||ea.equals(Fe.z6.Bottom)?18:25,fill:"orange",stroke:ur.white,strokeWidth:4,mouseEnter:(pa,jr)=>jr.fill="dodgerblue",mouseLeave:(pa,jr)=>jr.fill="orange",isActionable:!0,click:dr,contextClick:dr})}function sr(ea){return Nn(Fe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Aa,dr)=>dr.fill="dodgerblue",mouseLeave:(Aa,dr)=>dr.fill="orange",click:(Aa,dr)=>{Aa.diagram.commandHandler.showContextMenu(dr.part.adornedPart)}},ea||{})}Ft.current.nodeTemplate.selectionAdornmentTemplate=Nn(Fe.uz,"Spot",Nn(Fe.Vm,{padding:10}),nr(Fe.z6.Top,"TriangleUp"),nr(Fe.z6.Left,"TriangleLeft"),nr(Fe.z6.Right,"TriangleRight"),nr(Fe.z6.Bottom,"TriangleDown"),sr({alignment:new Fe.z6(.75,0)}));function er(ea,Aa){return(dr,pa)=>{dr.handled=!0,dr.diagram.model.commit(jr=>{jr.set(pa.part.adornedPart.data,ea,Aa)})}}function vt(ea,Aa){return Aa||(Aa="color"),Nn(Fe.bn,{width:16,height:16,stroke:"lightgray",fill:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.stroke="dodgerblue",mouseLeave:(dr,pa)=>pa.stroke="lightgray",click:er(Aa,ea),contextClick:er(Aa,ea)})}function qt(){return[Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",vt(ur.white,"fill"),vt(ur.beige,"fill"),vt(ur.extralightblue,"fill"),vt(ur.extralightred,"fill"))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",vt(ur.lightgray,"fill"),vt(ur.lightgreen,"fill"),vt(ur.lightblue,"fill"),vt(ur.lightred,"fill")))]}function tn(){return[Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",vt(ur.black),vt(ur.green),vt(ur.blue),vt(ur.red))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",vt(ur.white),vt(ur.magenta),vt(ur.purple),vt(ur.orange)))]}function Pn(ea,Aa){return Aa||(Aa="thickness"),Nn(Fe.bn,"LineH",{width:16,height:16,strokeWidth:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:er(Aa,ea),contextClick:er(Aa,ea)})}function Rn(ea,Aa){return Aa||(Aa="dash"),Nn(Fe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:er(Aa,ea),contextClick:er(Aa,ea)})}function gn(){return[Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",Pn(1),Pn(2),Pn(3),Pn(4))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",Rn(null),Rn([2,4]),Rn([4,4])))]}function On(ea,Aa){return Aa||(Aa="figure"),Nn(Fe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.fill="dodgerblue",mouseLeave:(dr,pa)=>pa.fill="lightgray",click:er(Aa,ea),contextClick:er(Aa,ea)})}Ft.current.nodeTemplate.contextMenu=Nn("ContextMenu",Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",On("Rectangle"),On("RoundedRectangle"),On("Ellipse"),On("Diamond"))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",On("Parallelogram2"),On("ManualOperation"),On("Procedure"),On("Cylinder1"))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",On("Terminator"),On("CreateRequest"),On("Document"),On("TriangleDown"))),qt(),tn(),gn()),Ft.current.groupTemplate=Nn(Fe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Fe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ea,Aa)=>{var dr=Aa.addMembers(Aa.diagram.selection,!0);dr||Aa.diagram.currentTool.doCancel()},avoidable:!1},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),Nn(Fe.s_,"Auto",{name:"BODY"},Nn(Fe.bn,{parameter1:10,fill:ur.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("fill"),new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Nn(Fe.Vm,{background:"transparent",margin:20})),Nn(Fe.al,{alignment:Fe.z6.Top,alignmentFocus:Fe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Fe.KX("text"),new Fe.KX("stroke","color"))),Ft.current.groupTemplate.selectionAdornmentTemplate=Nn(Fe.uz,"Spot",Nn(Fe.s_,"Auto",Nn(Fe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Nn(Fe.Vm,{margin:1.5})),sr({alignment:Fe.z6.TopRight,alignmentFocus:Fe.z6.BottomRight})),Ft.current.groupTemplate.contextMenu=Nn("ContextMenu",qt(),tn(),gn()),Ft.current.linkTemplate=Nn(Fe.rU,{layerName:"Foreground",routing:Fe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Fe.KX("fromSpot","fromSpot",Fe.z6.parse),new Fe.KX("toSpot","toSpot",Fe.z6.parse),new Fe.KX("fromShortLength","dir",ea=>ea>=1?10:0),new Fe.KX("toShortLength","dir",ea=>ea>=1?10:0),new Fe.KX("points").makeTwoWay(),Nn(Fe.bn,{strokeWidth:2},new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Nn(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,0),segmentOrientation:Fe.rU.OrientAlong,alignmentFocus:Fe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",ea=>ea===1)),Nn(Fe.bn,{segmentIndex:-1,segmentOffset:new Fe.E9(-10,6),segmentOrientation:Fe.rU.OrientPlus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",ea=>ea>=1),new Fe.KX("width","thickness",ea=>7+3*ea),new Fe.KX("height","thickness",ea=>7+3*ea),new Fe.KX("segmentOffset","thickness",ea=>new Fe.E9(-15,4+1.5*ea))),Nn(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,-6),segmentOrientation:Fe.rU.OrientMinus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",ea=>ea===2),new Fe.KX("width","thickness",ea=>7+3*ea),new Fe.KX("height","thickness",ea=>7+3*ea),new Fe.KX("segmentOffset","thickness",ea=>new Fe.E9(-15,4+1.5*ea))),Nn(Fe.al,{alignmentFocus:new Fe.z6(0,1,-4,0),editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Ft.current.linkTemplate.selectionAdornmentTemplate=Nn(Fe.uz,Nn(Fe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:yn(2)},new Fe.KX("pathPattern","thickness",yn)),sr({alignmentFocus:new Fe.z6(0,0,-6,-4)}));function yn(ea){return Nn(Fe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ea+4).toString()+" H3"})}function ar(ea){var Aa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ea===0?Aa="M0 0 M16 16 M0 8 L16 8":ea===2&&(Aa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Nn(Fe.bn,{geometryString:Aa,margin:2,background:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:er("dir",ea),contextClick:er("dir",ea)})}function Ra(ea){var Aa=(dr,pa)=>{dr.handled=!0,dr.diagram.model.commit(jr=>{var Ir=pa.part.adornedPart;jr.set(Ir.data,ea?"toSpot":"fromSpot",Fe.z6.stringify(Fe.z6.AllSides)),(ea?Ir.toNode:Ir.fromNode).invalidateConnectedLinks()})};return Nn(Fe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:Aa,contextClick:Aa})}function cn(ea,Aa){var dr=0,pa=Fe.z6.RightSide;ea.equals(Fe.z6.Top)?(dr=270,pa=Fe.z6.TopSide):ea.equals(Fe.z6.Left)?(dr=180,pa=Fe.z6.LeftSide):ea.equals(Fe.z6.Bottom)&&(dr=90,pa=Fe.z6.BottomSide),Aa||(dr-=180);var jr=(Ir,br)=>{Ir.handled=!0,Ir.diagram.model.commit(po=>{var Lo=br.part.adornedPart;po.set(Lo.data,Aa?"toSpot":"fromSpot",Fe.z6.stringify(pa)),(Aa?Lo.toNode:Lo.fromNode).invalidateConnectedLinks()})};return Nn(Fe.bn,{alignment:ea,alignmentFocus:ea.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:dr,background:"transparent",mouseEnter:(Ir,br)=>br.background="dodgerblue",mouseLeave:(Ir,br)=>br.background="transparent",click:jr,contextClick:jr})}Ft.current.linkTemplate.contextMenu=Nn("ContextMenu",tn(),gn(),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ar(0),ar(1),ar(2))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",Nn(Fe.s_,"Spot",Ra(!1),cn(Fe.z6.Top,!1),cn(Fe.z6.Left,!1),cn(Fe.z6.Right,!1),cn(Fe.z6.Bottom,!1)),Nn(Fe.s_,"Spot",{margin:new Fe.Zt(0,0,0,2)},Ra(!0),cn(Fe.z6.Top,!0),cn(Fe.z6.Left,!0),cn(Fe.z6.Right,!0),cn(Fe.z6.Bottom,!0)))));const io=`{ "class": "GraphLinksModel",
|
|
"nodeDataArray": [
|
|
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
|
|
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
|
|
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
|
|
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
|
|
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
|
|
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
|
|
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
|
|
],
|
|
"linkDataArray": [
|
|
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
|
|
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
|
|
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
|
|
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
|
|
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
|
|
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
|
|
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
|
|
]}`;var to=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function no(ea){return console.log("shapeName:",ea),to.indexOf(ea)>=0}var Mo=new Fe.YI(dn.current,{maxSelectionCount:1,linkTemplate:Nn(Fe.rU,{locationSpot:Fe.z6.Center,selectionAdornmentTemplate:Nn(Fe.uz,"Link",{locationSpot:Fe.z6.Center},Nn(Fe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Nn(Fe.bn,{toArrow:"Standard",stroke:null}))},{routing:Fe.rU.AvoidsNodes,curve:Fe.rU.JumpOver,corner:5,toShortLength:4},new Fe.KX("points"),Nn(Fe.bn,{isPanelMain:!0,strokeWidth:2}),Nn(Fe.bn,{toArrow:"Standard",stroke:null})),model:new Fe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Fe.bn.getFigureGenerators().toArray().map(ea=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ea.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ft.current.addDiagramListener("TextEdited",function(ea){var Aa;const dr=ea.subject.part;var pa=(Aa=document.activeElement)==null?void 0:Aa.value;typeof pa=="string"&&pa.trim()===""&&Ft.current.model.commit(function(jr){jr.set(dr.data,"text","\u672A\u547D\u540D"),Ft.current.commandHandler.stopCommand()},"increment")}),Mo.nodeTemplate=Nn(Fe.NB,"Auto",{locationSpot:Fe.z6.Center},new Fe.KX("location","location",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),Nn(Fe.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Fe.KX("stroke").makeTwoWay(),new Fe.KX("fill").makeTwoWay(),new Fe.KX("figure")),Nn(Fe.al,{margin:new Fe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Fe.$u(16,16),maxSize:new Fe.$u(10,NaN),textAlign:"center",editable:!0},new Fe.KX("key").makeTwoWay())),setTimeout(()=>{Ft.current.grid=Nn(Fe.s_,"Grid",Nn(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ft.current.grid.visible=!0,Ft.current.grid.gridCellStroke="darkgray",Ft.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ft.current,Ft.current}const Xa=()=>Le(this,null,function*(){var Nn=Ft.current.makeImage();const ur=yield(0,Re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Nn.src}});Mt({src:ur.url})});return(0,z.useEffect)(()=>(setTimeout(()=>{oo()},500),Kr(Er+1),()=>{Ft.current=null}),[]),tt.createElement("div",{ref:Xr,className:Ln.current?`${qe.maxH60} body-overflow-initial`:"body-overflow-initial"},tt.createElement(ut.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Er,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:tt.createElement(At.Z,null,tt.createElement(Jn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),tt.createElement(Jn.Z,{onClick:()=>{var Nn,ur,nr=Ft.current.selection.first();if(Ln.current=!Ln.current,document.activeElement&&nr){let sr=(ur=(Nn=document.activeElement)==null?void 0:Nn.value)==null?void 0:ur.trim();typeof sr=="string"&&Ft.current.model.commit(function(er){er.set(nr.data,"text",sr||"\u672A\u547D\u540D"),Ft.current.commandHandler.stopCommand()},"increment")}Kr(Er+1)}},tt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:rt},tt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:qe.flowChartWrp},tt.createElement("div",{style:{display:"flex",height:"100%"}},tt.createElement("div",{style:{width:"300px",height:"100%"}},tt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),tt.createElement("div",{style:{height:"calc(100% - 50px)"},className:qe.myPaletteDiv,ref:dn})),tt.createElement("div",{style:{flex:1,position:"relative"}},tt.createElement("div",{ref:kn,style:{height:"80vh"}}))),tt.createElement("div",{className:"tr"},tt.createElement(ye.ZP,{size:"large",onClick:Xa,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=ht,Oe=te(5112),ve=te(5871);const We=Oe.ZP.Group,Ve={margin:"0 8px"};var we=({callback:rt,onCancel:Mt})=>{function Ft(kn){rt(kn)}return z.createElement(Pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ft},z.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},z.createElement("span",{style:Ve},"\u5355\u5143\u683C\u6570\uFF1A"),z.createElement("span",{style:Ve},"\u884C\u6570"),z.createElement(Pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},z.createElement(ve.Z,null)),z.createElement("span",{style:Ve},"\u5217\u6570"),z.createElement(Pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},z.createElement(ve.Z,null))),z.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},z.createElement("span",{style:Ve},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),z.createElement(Pe.default.Item,{name:"align"},z.createElement(We,null,z.createElement(Oe.ZP,{value:"default"},z.createElement("i",{className:"fa fa-align-justify"})),z.createElement(Oe.ZP,{value:"left"},z.createElement("i",{className:"fa fa-align-left"})),z.createElement(Oe.ZP,{value:"center"},z.createElement("i",{className:"fa fa-align-center"})),z.createElement(Oe.ZP,{value:"right"},z.createElement("i",{className:"fa fa-align-right"}))))),z.createElement("div",{className:"flex-container flex-end"},z.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(ye.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},pt=te(78673),et=te(91989),jt=te.n(et),st=(0,z.forwardRef)(({use3d:rt,width:Mt,height:Ft,callback:kn,showSaveButton:dn},Ln)=>{const Xr=(0,z.useRef)(),Er=(0,z.useRef)(),[Kr,oo]=(0,z.useState)(!1),Xa=(0,z.useRef)({id:Xr,appName:"graphing",width:Mt||1e3,height:Ft||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,z.useEffect)(()=>{Er.current=new(jt())(Xa.current,!0),window.onload=function(){Er.current.inject("applet_container")}},[]);const Nn=()=>{var ur=window.ggbApplet.getPNGBase64(1,!0,72);return kn&&kn(ur),ur};return(0,z.useEffect)(()=>{Xa.current.appName=Kr?"3D":"graphing",Er.current.inject("applet_container")},[Kr]),(0,z.useEffect)(()=>{oo(rt)},[rt]),(0,z.useImperativeHandle)(Ln,()=>({getImgData:Nn})),z.createElement(z.Fragment,null,z.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Xr}),z.createElement(At.Z,{align:"middle"},z.createElement(Jn.Z,{flex:1},z.createElement(pt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Kr,onChange:ur=>oo(ur)})),z.createElement(Jn.Z,null,z.createElement(ye.ZP,{size:"large",onClick:Nn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),xt=te(69104),Ae=te(1012),_e=te(8591);const ct="link",wt="upload-image",zt="add-flowchart",mn="draw-image",dt="add-flowchart",Dt="code-block",yt="add-table",en="------------",Vt={default:en,left:`:${en}`,center:`:${en}:`,right:`${en}:`};var un=te(38869),Vn=(rt,Mt,Ft)=>new Promise((kn,dn)=>{var Ln=Kr=>{try{Er(Ft.next(Kr))}catch(oo){dn(oo)}},Xr=Kr=>{try{Er(Ft.throw(Kr))}catch(oo){dn(oo)}},Er=Kr=>Kr.done?kn(Kr.value):Promise.resolve(Kr.value).then(Ln,Xr);Er((Ft=Ft.apply(rt,Mt)).next())});function fn(){}let an=0;const Un=1e4,_t="\u2581",Tt="@\u2581\u2581@",Xt="@\u2581@",Ea=`
|
|
**\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`,qn=["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 Mn(rt){return/^\d+$/.test(rt)?`${rt}px`:rt}const La=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ar={[La+"-B"]:"bold",[La+"-I"]:"italic"},Cr={[ct]:"\u6DFB\u52A0\u94FE\u63A5",[Dt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[wt]:"\u6DFB\u52A0\u56FE\u7247",[mn]:"\u6DFB\u52A0\u753B\u56FE",[zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[yt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Qa=({defaultValue:rt="",onChange:Mt,width:Ft="100%",height:kn=400,miniToolbar:dn=!1,isFocus:Ln=!1,watch:Xr,insertTemp:Er,mode:Kr="markdown",id:oo="markdown-editor-id",showResizeBar:Xa=!1,noStorage:Nn=!1,showNullButton:ur=!1,showNullProgramButton:nr=!1,hidetoolBar:sr=!1,fullScreen:er=!1,onBlur:vt,onCMBeforeChange:qt,onFullScreen:tn,className:Pn="",disablePaste:Rn=!1,disabled:gn=!1,disabledFill:On=!1,placeholder:yn="",values:ar="",extraUse:Ra})=>{const[cn,io]=(0,z.useState)(null),[to,no]=(0,z.useState)(rt),[Mo,ea]=(0,z.useState)(Xr),[Aa,dr]=(0,z.useState)(er),[pa,jr]=(0,z.useState)(""),[Ir,br]=(0,z.useState)(0),[po,Lo]=(0,z.useState)(kn),[Oi,vi]=(0,z.useState)(!1),Ei=(0,z.useRef)((0,Ae.Z)()),$i=(0,z.useRef)(!1),zn=(0,z.useRef)(),[Ia,co]=(0,z.useState)(0),[xo,wo]=(0,z.useState)(0),ui=(0,z.useRef)(),Bi=(0,z.useRef)(),Yi=(0,z.useRef)(),Mi=(0,z.useRef)(),Ce=()=>Vn(void 0,null,function*(){var la;const $n=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ei.current}});(la=$n==null?void 0:$n.attachments)!=null&&la.length&&(console.log("cm:",cn,ui),$n.attachments.map(oa=>{oa.content_type.indexOf("image")>-1?cn.replaceSelection(``):oa.content_type.indexOf("video")>-1?cn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):oa.content_type.indexOf("pdf")>-1?cn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${oa.id}?type=${oa.content_type}&disposition=inline" target="_blank">${oa.name}</a>`):cn.replaceSelection(`[${oa.name}](${ENV.API_SERVER}/api/attachments/${oa.id}?type=${oa.content_type})`)}))});(0,z.useEffect)(()=>{const la=window.scrollY||window.pageYOffset;no(ar),cn==null||cn.setValue(ar),window.scrollTo(0,la)},[ar]),(0,z.useEffect)(()=>{tn==null||tn(Aa)},[Aa]),(0,z.useEffect)(()=>{if(ui.current){let la=function(oa,ra){var Nr;if(Rn){ra.preventDefault();return}const Zr=ra.clipboardData;if(Zr){const hr=Zr.types.toString(),xr=Zr.items;if(hr==="Files"||Zr.types.indexOf("Files")>-1){if(ra.preventDefault(),Kr=="stex")return;try{let kr=xr[1];((Nr=xr[0])==null?void 0:Nr.kind)==="file"&&(kr=xr[0]);const ho=kr.getAsFile(),ti=ho.name.split(".").pop();(0,Ye.I)(ho,yo=>{var Rr,ro,Fo;yo.id?((Rr=ho==null?void 0:ho.type)==null?void 0:Rr.indexOf("image"))>-1?$n.replaceSelection(`<img width="100%" src="/api/attachments/${yo.id}?type=${yo.content_type})" alt="" />`):((ro=ho==null?void 0:ho.type)==null?void 0:ro.indexOf("video"))>-1?$n.replaceSelection(`<video width="100%" controls src="/api/attachments/${yo.id}"></video>`):((Fo=ho==null?void 0:ho.type)==null?void 0:Fo.indexOf("pdf"))>-1?$n.replaceSelection(`<a href="/api/attachments/${yo.id}?type=${ho.type}&disposition=inline" target="_blank">${ho.name}</a>`):qn.includes(ti)?$n.replaceSelection(`<a href="/api/attachments/${yo.id}?type=office&disposition=inline" target="_blank">${ho.name}</a>`):$n.replaceSelection(`[${ho.name}](/api/attachments/${yo.id}?type=${yo.content_type})`):(yo==null?void 0:yo.status)===401&&(_e.ZP.warning((yo==null?void 0:yo.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(kr){_e.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const $n=he().fromTextArea(ui.current,{mode:Kr,lineNumbers:!dn,lineWrapping:!0,value:rt,autoCloseTags:!nr,autoCloseBrackets:!0});return $n.on("keyup",function(oa,ra){ra.keyCode===8&&(oa.getValue()==""?$n.setOption("placeholder",yn):$n.setOption("placeholder",null))}),$n.on("keydown",function(oa,ra){if(ra.keyCode===8){var Nr=Xe(oa);Nr&&ra.preventDefault()}}),Ln&&$n.focus(),$n.on("paste",la),$n.on("dragleave",function(oa,ra){Bi.current.classList.remove("mouse-hover-md")}),gn&&$n.on("beforeChange",function(oa,ra){(ra.origin==="paste"||ra.origin==="+input")&&ra.cancel()}),io($n),()=>{$n.off("paste",la)}}},[]);const ke=(0,z.useCallback)(()=>{if(Bi.current)try{}catch(la){console.log(la,"---- to set md editor body height")}},[po,Bi,Aa]);(0,z.useEffect)(()=>{function la(){let $n=new Ie.Z(oa=>{for(let ra of oa)(ra.target.offsetHeight>0||ra.target.offsetWidth>0)&&(ke(),cn.setSize("100%","100%"),cn.refresh())});return $n.observe(ui.current.parentElement),$n}if(cn){const $n=la();return()=>{var oa,ra;(oa=ui.current)!=null&&oa.parentElement&&$n.unobserve((ra=ui.current)==null?void 0:ra.parentElement)}}},[cn,ke]),(0,z.useEffect)(()=>{if(cn){let la=[];for(const[$n,oa]of Object.entries(Ar)){let ra={[$n]:()=>{Ct(oa)}};la.push(ra),cn.addKeyMap(ra)}return zn.current=setInterval(()=>{$i.current&&Ce()},4e3),()=>{clearInterval(zn.current);for(let $n of la)cn.removeKeyMap($n)}}},[cn]),(0,z.useEffect)(()=>{er!==Aa&&dr(er)},[er]),(0,un.Z)(()=>{if(!Nn&&Ir>0){let la=new Date().getTime(),$n=window.sessionStorage.getItem(oo);la>=Ir+Un&&(!$n||$n!==to)&&(window.sessionStorage.setItem(oo,to),vi(!0))}},Un),(0,z.useEffect)(()=>{ea(Xr)},[cn,Xr]),(0,z.useEffect)(()=>{cn&&Ln&&cn.focus()},[cn,Ln]),(0,z.useEffect)(()=>{if(Mo&&cn){let la=function(oa){let ra=oa.target;if(Mi.current){let Nr=ra.scrollTop/ra.scrollHeight;Mi.current.scrollTop=Mi.current.scrollHeight*Nr}};const $n=cn.getScrollerElement();return $n.addEventListener("scroll",la),()=>{$n.removeEventListener("scroll",la)}}},[cn,Mo]),(0,z.useEffect)(()=>{if(cn&&qt){let la=function($n,oa){qt($n,oa)};return cn.on("beforeChange",la),()=>{cn.off("beforeChange",la)}}},[cn,qt]),(0,z.useEffect)(()=>{if(cn&&vt){let la=function(){vt(cn.getValue())};return cn.on("blur",la),()=>{cn.off("blur",la)}}},[cn,vt]);function Xe(la,$n){var oa=la.getDoc(),ra=oa.getCursor(),Nr=oa.getLine(ra.line),Zr=Nr.charAt(ra.ch-1),hr=Nr.lastIndexOf("@\u2581@",ra.ch),xr=Nr.lastIndexOf("@\u2581\u2581@",ra.ch),kr=hr>xr?hr:xr,ho=hr>xr?3:4;if(Tt.indexOf(Zr)===-1)return null;if(console.log("change1:",$n,la,Nr,ra,kr,hr,xr,Zr),kr>=0&&ra.ch-kr<5){var ti=kr+ho;return oa.replaceRange("",{line:ra.line,ch:kr},{line:ra.line,ch:ti}),{line:ra.line,ch:ti}}return null}(0,z.useEffect)(()=>{if(cn){let la=function($n,oa){const ra=$n.getValue();no(ra),br(new Date().getTime()),$n.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Mt&&(nr?Mt(ra,ga(ra)):Mt(ra))};return cn.on("change",la),()=>{cn.off("change",la)}}},[cn,Mt]),(0,z.useEffect)(()=>{if(cn)if(rt==null)cn.setValue(""),no("");else{const la=window.scrollY||window.pageYOffset;rt!==cn.getValue()&&(cn.setValue(rt),no(rt),cn.setCursor(gn?1:cn.lineCount(),0),window.scrollTo(0,la))}},[cn,rt]);const Ct=(0,z.useCallback)(la=>{const $n=cn.getCursor(),oa=cn.getSelection();let ra=oa.split(`
|
|
`);switch(la){case"bold":return cn.replaceSelection("**"+oa+"**"),oa===""&&cn.setCursor($n.line,$n.ch+2),cn.focus();case"italic":return cn.replaceSelection("*"+oa+"*"),oa===""&&cn.setCursor($n.line,$n.ch+1),cn.focus();case"code":return cn.replaceSelection("`"+oa+"`"),oa===""&&cn.setCursor($n.line,$n.ch+1),cn.focus();case"inline-latex":return jr("inline-latex"),cn.focus();case"latex":return cn.replaceSelection("```latex\n"+oa+"\n```"),cn.setCursor($n.line+1,oa.length+1),cn.focus();case"line-break":return cn.replaceSelection(`<br/>
|
|
`),cn.focus();case"list-ul":return oa===""?cn.replaceSelection("- "+oa):cn.replaceSelection(ra.map(Nr=>Nr===""?"":`- ${Nr}`).join(`
|
|
`)),cn.focus();case"list-ol":return oa===""?cn.replaceSelection("1. "+oa):cn.replaceSelection(ra.map((Nr,Zr)=>Nr===""?"":`${Zr+1}. ${Nr}`).join(`
|
|
`)),cn.focus();case"add-null-ch":return oa===""&&cn.setCursor($n.line,$n.ch),cn.replaceSelection(_t),cn.focus();case"add-signal":return oa===""&&cn.setCursor($n.line,$n.ch),cn.replaceSelection(Xt),cn.focus();case"add-multiple":return oa===""&&cn.setCursor($n.line,$n.ch),cn.replaceSelection(Tt),cn.focus();case"inster-template-1":return oa===""&&cn.setCursor($n.line,$n.ch),cn.replaceSelection(Ea),cn.focus();case"eraser":return cn.setValue(""),cn.focus();case"trigger-watch":return ea(!Mo),cn.focus();case"trigger-full-screen":return dr(!Aa),cn.focus();case ct:jr(ct);return;case Dt:jr(Dt);return;case wt:jr(wt);return;case mn:jr(mn);return;case"maths-latex":jr("maths-latex");return;case zt:jr(zt);return;case yt:jr(yt);return;default:throw new Error}},[cn,Mo,Aa]),Yt=(0,z.useCallback)((la,$n)=>{var oa,ra,Nr,Zr,hr,xr;switch(jr(""),pa){case ct:const{title:Rr,link:ro}=la;return cn.replaceSelection(`[${Rr}](${ro})`),cn.focus();case Dt:const{language:Fo,content:vo}=la;return cn.replaceSelection(["```"+Fo,vo,"```"].join(`
|
|
`)),cn.focus();case"maths-latex":for(var kr=atob(la),ho=new Uint8Array(kr.length),ti=0;ti<kr.length;ti++)ho[ti]=kr.charCodeAt(ti);var yo=new Blob([ho],{type:"image/png"});(0,Ye.I)(yo,Fi=>{Fi.id?cn.replaceSelection(``):(Fi==null?void 0:Fi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":cn.replaceSelection("`$$"+la+"$$`");break;case wt:case mn:case dt:const{src:Eo,alt:sa}=la,jo=$n,wi=(Nr=(ra=(oa=jo==null?void 0:jo.name)==null?void 0:oa.split("."))==null?void 0:ra.pop)==null?void 0:Nr.call(ra);return((Zr=jo==null?void 0:jo.type)==null?void 0:Zr.indexOf("image"))>-1||!(jo!=null&&jo.type)?jo.align||jo.width?cn.replaceSelection(`<p style="text-align:${jo.align||"initial"}"><img width="${jo.width?jo.width+"%":"initial"}" src="${Eo}" alt="${sa||""}" /></p>`):cn.replaceSelection(`<img width="100%" src="${Eo}" alt="${sa||""}" />`):((hr=jo==null?void 0:jo.type)==null?void 0:hr.indexOf("video"))>-1?cn.replaceSelection(`<video width="100%" controls src="${Eo}"></video>`):((xr=jo==null?void 0:jo.type)==null?void 0:xr.indexOf("pdf"))>-1?cn.replaceSelection(`<a href="${Eo}?type=${jo.type}&disposition=inline" target="_blank">${jo.name}</a>`):qn.includes(wi)?cn.replaceSelection(`<a href="${Eo}?type=office&disposition=inline" target="_blank">${jo.name}</a>`):cn.replaceSelection(`[${jo.name}](${Eo})`),cn.focus();case yt:const{row:Zi,col:nl,align:Xi}=la;let zi=`
|
|
`;for(let Fi=0;Fi<Zi;Fi++){let ul=[],_i=[];for(let rl=0;rl<nl;rl++)Fi===1&&_i.push(Vt[Xi]),ul.push(" ");Fi===1&&(zi+=`| ${_i.join(" | ")} |
|
|
`),zi+=`| ${ul.join(nl===1?"":" | ")} |
|
|
`}return cn.replaceSelection(zi+`
|
|
`),cn.focus();default:throw new Error}},[cn,pa]),Jt=(0,z.useMemo)(()=>{switch(pa){case ct:return z.createElement(Rt,{callback:Yt,onCancel:bn});case Dt:return z.createElement(kt.Z,{callback:Yt,onCancel:bn});case wt:return z.createElement(Ye.Z,{callback:Yt,onCancel:bn});case zt:return z.createElement(gt,{callback:Yt,onCancel:bn});case yt:return z.createElement(we,{callback:Yt,onCancel:bn});case"maths-latex":return z.createElement(st,{showSaveButton:!0,callback:Yt});case"inline-latex":return z.createElement(xt.Z,{showSaveButton:!0,callback:Yt});default:return null}},[pa]);function bn(){jr("")}(0,z.useEffect)(()=>{if(Yi.current){let la=function(hr){Nr=!0,Zr=hr.pageY},$n=function(){Nr=!1},oa=function(hr){if(Nr){let xr=hr.pageY-Zr;xr<0&&(xr=0),xr>300&&(xr=300);let kr=kn+xr+"px";Lo(kr)}},ra=Yi.current,Nr=!1,Zr=0;return ra.addEventListener("mousedown",la),document.addEventListener("mousemove",oa),document.addEventListener("mouseup",$n),()=>{ra.removeEventListener("mousedown",la),document.removeEventListener("mousemove",oa),document.removeEventListener("mouseup",$n)}}},[cn,Yi]),(0,z.useEffect)(()=>{Lo(kn)},[kn]);const Fn=Mn(Ft),Yn=Mn(po),Pa={width:Fn,height:Yn},Ca=(0,z.useMemo)(()=>{if(Ir){let la=new Date(Ir),$n=la.getHours(),oa=la.getMinutes(),ra=la.getSeconds();return $n=$n<10?"0"+$n:$n,oa=oa<10?"0"+oa:oa,ra=ra<10?"0"+ra:ra,`${$n}:${oa}:${ra}`}return 0},[Ir]),ga=la=>{const $n=[];if(nr){let oa=-1;la=la.replace(/(@▁▁@|@▁@)/g,function(ra,Nr,Zr){$n.push({multiLine:ra!==Xt})})}return $n};function Or(){window.sessionStorage.removeItem(oo),vi(!1),br(0)}function Mr(){vi(!1),br(0),cn.setValue(window.sessionStorage.getItem(oo))}(0,z.useEffect)(()=>{Cr[pa]&&pa!==mn&&pa!==zt&&setTimeout(()=>{const la=document.getElementsByClassName("markdown-popup-form")[0],$n=window.innerWidth/2-la.offsetWidth/2,oa=window.innerHeight/2-la.offsetHeight/2;co($n),wo(oa)},0)},[pa]);const Ro=la=>{la.preventDefault();const $n=la.clientX-Ia,oa=la.clientY-xo;document.body.onmousemove=ra=>{let Nr=ra.clientX-$n,Zr=ra.clientY-oa;const hr=document.getElementsByClassName("markdown-popup-form")[0],xr=window.innerWidth-hr.offsetWidth,kr=window.innerHeight-hr.offsetHeight;Nr=Math.max(0,Math.min(Nr,xr)),Zr=Math.max(0,Math.min(Zr,kr)),Ur(ra.clientX,ra.clientY,$n,oa)&&(co(Nr),wo(Zr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ur=(la,$n,oa,ra)=>{const Nr=document.body.clientHeight,Zr=document.body.clientWidth;return la<20&&oa>la||la>Zr-20&&oa<la||$n<20&&ra>$n||$n>Nr-20&&ra<$n?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return z.createElement(z.Fragment,null,z.createElement("div",{className:"markdown-editor-wrapper",ref:Bi},z.createElement("div",{className:`markdown-editor-container ${Pn} ${Mo?"on-preview":""} ${dn?"mini":""} ${Aa?"full-screen":""}`,style:Pa},z.createElement(ge,{insertTemp:Er,watch:Mo,fullScreen:Aa,showNullButton:ur,showNullProgramButton:nr,onActionCallback:Ct,hidetoolBar:sr,extraUse:Ra}),z.createElement("div",{className:"markdown-editor-body"},z.createElement("div",{className:"codemirror-container"},z.createElement("textarea",{ref:ui,placeholder:yn})),Mo?z.createElement("div",{ref:Mi,className:"preview-container"},Kr==="stex"&&z.createElement(Me,{value:to}),Kr!=="stex"&&z.createElement(He.Z,{disabledFill:On,showProgramFill:nr,value:to})):null))),Xa?z.createElement("a",{ref:Yi,className:"editor-resize"}):null,pa===mn&&z.createElement(sn,{callback:Yt,onCancel:bn}),pa===zt&&z.createElement(gt,{callback:Yt,onCancel:bn}),z.createElement(me.Z,null,Cr[pa]&&pa!==mn&&pa!==zt?z.createElement(ut.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ia,top:xo},title:z.createElement("div",{style:{cursor:"move"},onMouseDown:Ro},Cr[pa]),open:!0,onCancel:bn,footer:null,destroyOnClose:!0,width:pa===zt?"1200px":null,height:pa===zt?"80vh":null,className:"markdown-popup-form"},Jt):null))}},62784:function(Et,St,te){"use strict";te.d(St,{Z:function(){return ue},I:function(){return me}});var z=te(78241),se=te(8591),he=te(92832),Ie=te(81327),be=te(5871),Ne=te(5112),ie=te(3113),nt=te(35976),je=te(59301),Te=te(99287),He=te(59301),Me=Object.defineProperty,Ee=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Pe,xe,ye)=>xe in Pe?Me(Pe,xe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Pe[xe]=ye,x=(Pe,xe)=>{for(var ye in xe||(xe={}))y.call(xe,ye)&&E(Pe,ye,xe[ye]);if(a)for(var ye of a(xe))b.call(xe,ye)&&E(Pe,ye,xe[ye]);return Pe},ee=(Pe,xe)=>Ee(Pe,re(xe));const{useForm:ne}=z.default,oe={width:280,marginRight:10},ae={labelCol:{span:5},wrapperCol:{span:19}};var ue=({callback:Pe,onCancel:xe})=>{const[ye]=ne();let Be=(0,je.useRef)();function Ze(Ue){Be.current.width=ye.getFieldValue("width"),Be.current.align=ye.getFieldValue("align"),Pe(Ue,Be.current)}function mt(Ue,Ge){if(Ue.status===-1){se.ZP.error(Ue.message);return}ye.setFieldsValue({src:`/api/attachments/${Ue.id}`,type:Ge.type})}function De(Ue){let Ge=Ue.target.files[0];Be.current=Ge,me(Ge,mt)}return He.createElement(z.default,ee(x({form:ye},ae),{className:"upload-image-panel",onFinish:Ze,style:{width:470,overflow:"hidden"}}),He.createElement(z.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},He.createElement("div",{className:"flex-container"},He.createElement(z.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},He.createElement(he.default,{style:oe})),He.createElement(ge,{onFileChange:De}))),He.createElement(z.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},He.createElement(he.default,{style:{width:264}})),He.createElement(z.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},He.createElement(Ie.Z,null,He.createElement(z.default.Item,{name:"width",style:{margin:0}},He.createElement(be.Z,{style:{width:264}})),He.createElement("span",{className:"ml8"},"%"))),He.createElement(z.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},He.createElement(Ne.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"}]})),He.createElement("aside",null,He.createElement(z.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},He.createElement(ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),He.createElement(ie.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function ge({onFileChange:Pe}){return He.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",He.createElement("input",{type:"file",onChange:Pe}))}function me(Pe,xe){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Te.bg)())throw se.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ye=new FormData;ye.append("editormd-image-file",Pe),ye.append("file_param_name","editormd-image-file"),ye.append("byxhr","true");var Be=new window.XMLHttpRequest;Be.withCredentials=!0,Be.addEventListener("load",function(Ze){xe(JSON.parse(Ze.target.responseText),Pe)},!1),Be.addEventListener("error",function(Ze){console.error(Ze)},!1),Be.open("POST",`${nt.KI}/api/attachments.json`),Be.send(ye)}},76624:function(Et,St,te){"use strict";te.d(St,{Z:function(){return he}});var z=te(59301),se=te(4676);class he extends z.Component{constructor(be){super(be);const Ne=window.document;this.node=Ne.createElement("div"),Ne.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,se.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},38869:function(Et,St,te){"use strict";te.d(St,{Z:function(){return se}});var z=te(59301);function se(he,Ie){const be=(0,z.useRef)();(0,z.useEffect)(()=>{be.current=he}),(0,z.useEffect)(()=>{function Ne(){be.current()}if(Ie!==null){let ie=setInterval(Ne,Ie);return()=>clearInterval(ie)}},[Ie])}},73579:function(Et,St,te){"use strict";te.d(St,{Z:function(){return Ge}});var z=te(59301),se=te(5112),he=te(3113),Ie=te(8591),be=te(43418),Ne=te(5871),ie=te(95237),nt=te(43604),je=te(28103),Te=te(79802),He={flex_box_center:"flex_box_center___eijRq",flex_space_between:"flex_space_between___R4Vev",flex_box_vertical_center:"flex_box_vertical_center___j8R6g",flex_box_center_end:"flex_box_center_end___eB0cz",flex_box_column:"flex_box_column___b9VdU",md:"md___tcpb2",title:"title___dVHM9"},Me=te(99287),Ee=te(24334),re=te(82186),a=te(52985),y=te(68762),b=te(67741),E=te(87169),x=te(26227),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Pe=(Ke,it,at)=>it in Ke?ne(Ke,it,{enumerable:!0,configurable:!0,writable:!0,value:at}):Ke[it]=at,xe=(Ke,it)=>{for(var at in it||(it={}))ge.call(it,at)&&Pe(Ke,at,it[at]);if(ue)for(var at of ue(it))me.call(it,at)&&Pe(Ke,at,it[at]);return Ke},ye=(Ke,it)=>oe(Ke,ae(it)),Be=(Ke,it,at)=>new Promise((ft,Rt)=>{var kt=At=>{try{ut(at.next(At))}catch(Nt){Rt(Nt)}},Ye=At=>{try{ut(at.throw(At))}catch(Nt){Rt(Nt)}},ut=At=>At.done?ft(At.value):Promise.resolve(At.value).then(kt,Ye);ut((at=at.apply(Ke,it)).next())});const Ze={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var mt=(Ke=>(Ke[Ke.SET_PATH=0]="SET_PATH",Ke[Ke.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ke))(mt||{});function De(Ke,it){switch(it.type){case 0:return ye(xe({},Ke),{selectedPath:it.payload});case 1:return ye(xe({},Ke),{passedContent:it.payload});default:throw new Error}}var Ge=({language:Ke,dispatch:it,shixunWorkReport:at,v:ft,languages:Rt,classroomList:kt,autoHeight:Ye,diff_code_count:ut,data:At})=>{const[Nt,Pt]=(0,z.useState)(Rt==null?void 0:Rt[0]),sn=(0,a.useParams)();return(0,z.useEffect)(()=>{Pt(Rt==null?void 0:Rt[0])},[]),(0,z.useEffect)(()=>{var Fe;Pt((Fe=Rt==null?void 0:Rt.filter(Qt=>Qt.language===(Nt==null?void 0:Nt.language)))==null?void 0:Fe[0])},[Rt]),ee.createElement(ee.Fragment,null,ee.createElement("h2",null," ",ee.createElement("span",null,ft.is_finish?ee.createElement("span",null,"\u6700\u540E\u901A\u5173\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801")):ee.createElement("span",null,"\u6700\u65B0\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5")),(Rt==null?void 0:Rt.length)>1&&ee.createElement(se.ZP.Group,{defaultValue:Ke,style:{marginLeft:10},onChange:Fe=>{var Qt;ft.language=Fe.target.value,Pt((Qt=Rt==null?void 0:Rt.filter(Kt=>Kt.language===Fe.target.value))==null?void 0:Qt[0])}},Rt==null?void 0:Rt.map(Fe=>ee.createElement(se.ZP,{value:Fe==null?void 0:Fe.language},Fe==null?void 0:Fe.language)))),(0,Me.GJ)()&&at!="shixunWorkReport"&&ee.createElement("span",null,ee.createElement("span",null,"\u5F97\u5206 ",Nt==null?void 0:Nt.score,"/",Nt==null?void 0:Nt.total_score),ee.createElement(he.ZP,{style:{margin:"0px 10px"},onClick:()=>{var Fe,Qt;if(!((Qt=(Fe=kt.AssistantObject)==null?void 0:Fe.hack)!=null&&Qt.can_appraise)&&(0,Me.Rm)()){Ie.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}let Kt=Nt==null?void 0:Nt.score;be.default.confirm({title:"\u8C03\u5206",content:ee.createElement("div",null,ee.createElement("p",null,"\u5F97\u5206\uFF1A",Nt==null?void 0:Nt.score,"/",Nt==null?void 0:Nt.total_score),ee.createElement("p",null,"\u8C03\u5206\uFF1A",ee.createElement(Ne.Z,{min:0,max:Nt==null?void 0:Nt.total_score,defaultValue:Nt==null?void 0:Nt.score,onChange:Hn=>{Kt=Hn}}))),okText:"\u786E\u8BA4",onOk:()=>Be(void 0,null,function*(){(yield(0,re.ZP)(`/api/courses/${sn==null?void 0:sn.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:sn==null?void 0:sn.coursesId,hack_user_code_id:Nt==null?void 0:Nt.hack_user_id,score:Kt}})).status===0&&(Ie.ZP.success("\u8C03\u5206\u6210\u529F"),it({type:"shixunHomeworks/setActionTabs",payload:{}}),it({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},sn)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,Me.GJ)()&&at!="shixunWorkReport"&&ee.createElement(he.ZP,{onClick:()=>{var Fe;if(!((Fe=kt.AssistantObject.hack)!=null&&Fe.can_appraise)&&(0,Me.Rm)()){Ie.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}it({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:at.user_id,type:"1",language:Nt==null?void 0:Nt.language,v:ft,data:xe({},at)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),ee.createElement(Te.ZP,{height:300,language:Nt==null?void 0:Nt.language,value:Nt!=null&&Nt.code?Ee.Base64.decode(Nt==null?void 0:Nt.code):"",autoHeight:Ye,theme:"default",options:Ze}),((Nt==null?void 0:Nt.comment)||(Nt==null?void 0:Nt.hidden_comment))&&ee.createElement("div",null,ee.createElement(ie.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},ee.createElement(nt.Z,{flex:1},ee.createElement("h1",{className:He.title},"\u70B9\u8BC4\u5185\u5BB9")),ee.createElement(nt.Z,{className:"pr30"},(0,Me.GJ)()&&ee.createElement(he.ZP,{onClick:()=>Be(void 0,null,function*(){be.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ee.createElement(E.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Be(this,null,function*(){(yield(0,b.gZ)({comment_id:Nt==null?void 0:Nt.comment_id,homeworkId:sn.homeworkId,type:"hack"})).status===0&&(Ie.ZP.success("\u5220\u9664\u6210\u529F"),it({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},sn)}))})}})})},ee.createElement(x.Z,null),"\u5220\u9664"))),ee.createElement(je.Z,{style:{margin:0}}),(Nt==null?void 0:Nt.comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:Nt==null?void 0:Nt.comment})),(Nt==null?void 0:Nt.hidden_comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:Nt==null?void 0:Nt.hidden_comment}))))}},993:function(Et,St,te){"use strict";te.r(St),te.d(St,{default:function(){return xe}});var z=te(59301),se=te(52985),he=te(99313),Ie=te(3113),be=te(58421),Ne=te(99287),ie=te(82186),nt=te(77740),je=te(14627),Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAAAAXNSR0IArs4c6QAABPdJREFUSEullWloHGUYx//vzO7sHDuzm93sZpM2l/SgRyK7xSYxrfYgbdUq6JcixXqAUrxItGAVMT1A+kH7Re1WWppa6afiAYJIi7ZB07vkIARzVJqYbJMmu90zszOzM6/MVEXQotR3mPky8/7e//N7ZuYl+J+jt7fX7/f7i/X19cU/UORemZRSZnBwsKNQKLztdrtHOI57sqGhYcbm3ROUUsoOD4++Mz9f2CtJItE0DaVSqTMWi+27Jyil1DM0NLTfsmgHpZbLhthQSmlfTU3NmkgkUvjPSSmlZGRkZI2maZ2mWdpAGBehpgnd0KBpOkzTLPn9/gei0Wjfv0JHR0cXGpq2xTDNHZTSJsu0OJNaIIRFUc07KXXdgGVZCAQCL7e0tMT/Br3ja3iRaZptlmU9YVHayhBGoAApGTpKhgHCsFCLRaRvp+yEtk9QaiEYDHy0cWPb639CbdjAwADP8/zRkmk9BYADIU4nLUqdycX5Agxdh4cXkLh5E8m5WTD2A4SAZVmEwxVnNm3a9AiJx+MrdSI8nslm25YtqlMaVi6LWab1+2IUFIB9NXQDuUwapmFAUnwYHBhAOp0Ex3nAcRx4QUA4FL62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2o2xmKxIXvCb487Tm3fsdeDAAAAAElFTkSuQmCC",He=te(28103),Me=te(68762),Ee=te(21600),re=(ye,Be,Ze)=>new Promise((mt,De)=>{var Ue=it=>{try{Ke(Ze.next(it))}catch(at){De(at)}},Ge=it=>{try{Ke(Ze.throw(it))}catch(at){De(at)}},Ke=it=>it.done?mt(it.value):Promise.resolve(it.value).then(Ue,Ge);Ke((Ze=Ze.apply(ye,Be)).next())});const a=({user:ye,item:Be,getdata:Ze,params:mt})=>{var De;const Ue=(0,z.useRef)(),[Ge,Ke]=(0,z.useState)(),[it,at]=(0,z.useState)(!0);return(0,z.useEffect)(()=>{if(!Ue.current)return;function ft(){var kt;let Ye=new ResizeObserver(ut=>{for(let At of ut)console.log("----",At,ut),Ke(At.target.offsetHeight>=52)});return Ye.observe((kt=Ue.current)==null?void 0:kt.firstElementChild),Ye}const Rt=ft();return()=>{var kt,Ye;(kt=Ue.current)!=null&&kt.firstElementChild&&Rt.unobserve((Ye=Ue.current)==null?void 0:Ye.firstElementChild)}},[Ue.current]),z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${mt.coursesId}/program_homework/${mt.categoryId}/answer/${Be.id}/detail`)},style:{padding:"0px 20px",cursor:"pointer"}},z.createElement("div",{className:je.Z.titles,style:{fontWeight:600,fontSize:18,color:"#000000"}},Be.name),z.createElement("div",{style:{display:"flex",marginTop:10}},z.createElement("div",{style:{flex:1,display:"flex",alignItems:"center",color:"#5F6368"}},z.createElement("img",{style:{width:24,borderRadius:50},src:`${Ee.Z.IMG_SERVER}/images/${Be.author.image_url}`}),z.createElement("span",{style:{margin:"0px 12px 0px 8px"}},(De=Be==null?void 0:Be.author)==null?void 0:De.name),z.createElement("span",null,"\u53D1\u8868\u4E8E",Be.created_at)),z.createElement("div",null,z.createElement("span",{style:{color:"#5F6368",cursor:"pointer"},onClick:()=>{}},"\u56DE\u590D\uFF08",(Be==null?void 0:Be.descendants_count)||0,"\uFF09"),(0,Ne.eB)()&&z.createElement("span",{onClick:ft=>re(void 0,null,function*(){ft.stopPropagation(),(yield(0,ie.ZP)(`/api/hack_messages/${Be.id}/update_public`,{method:"post"})).status===0&&Ze()}),style:{color:"#44D7B6",cursor:"pointer",marginLeft:20}},Be.is_public?"\u53D6\u6D88\u516C\u5F00":"\u516C\u5F00"))),z.createElement("div",{ref:Ue,style:{margin:"15px 0px",maxHeight:it?52:"",overflow:"hidden"}},z.createElement(Me.Z,{style:{color:"#434D6C",fontSize:14},value:Be.content})),(Be==null?void 0:Be.hack_identifier)&&z.createElement("span",{onClick:ft=>re(void 0,null,function*(){var Rt;if(ft.stopPropagation(),(0,Ne.dE)())return;let kt=yield(0,ie.ZP)(`/api/problems/${Be==null?void 0:Be.hack_identifier}/start.json`,{method:"get",params:{hack_user_id:(Rt=Be==null?void 0:Be.author)==null?void 0:Rt.id}});kt&&(window.open(`/myproblems/${kt==null?void 0:kt.identifier}?type=1`),localStorage.setItem("program_homework",[mt.coursesId,mt.categoryId]))}),className:je.Z.tips},Be==null?void 0:Be.hack_name),Ge&&z.createElement("div",{onClick:ft=>{ft.stopPropagation(),at(!it)}},z.createElement(He.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},z.createElement("a",{className:`font14 ${je.Z.color999}`},it?"\u9605\u8BFB\u5168\u6587 ":"\u6536\u8D77\u5168\u6587 ",z.createElement("i",{className:`iconfont font14 ${it?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`})))))};var y=(0,se.connect)(({user:ye})=>({user:ye}))(a),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ae=(ye,Be,Ze)=>Be in ye?b(ye,Be,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):ye[Be]=Ze,ue=(ye,Be)=>{for(var Ze in Be||(Be={}))ne.call(Be,Ze)&&ae(ye,Ze,Be[Ze]);if(ee)for(var Ze of ee(Be))oe.call(Be,Ze)&&ae(ye,Ze,Be[Ze]);return ye},ge=(ye,Be)=>E(ye,x(Be)),me=(ye,Be,Ze)=>new Promise((mt,De)=>{var Ue=it=>{try{Ke(Ze.next(it))}catch(at){De(at)}},Ge=it=>{try{Ke(Ze.throw(it))}catch(at){De(at)}},Ke=it=>it.done?mt(it.value):Promise.resolve(it.value).then(Ue,Ge);Ke((Ze=Ze.apply(ye,Be)).next())});const Pe=({user:ye})=>{var Be,Ze,mt,De;let[Ue,Ge]=(0,z.useState)(ge(ue({},(0,se.useParams)()),{page:1,per_page:10,type:1,sort_by:"",course_group:(0,Ne.dE)()?[ye.userInfo.course.course_group_id]:[]}));const[Ke,it]=(0,z.useState)([]);(0,z.useEffect)(()=>{at()},[]);function at(){return me(this,null,function*(){let ft=yield(0,ie.ZP)(`/api/homework_commons/${Ue.categoryId}/hack_messages`,{method:"get",params:ge(ue({},Ue),{type:1})});it(ft)})}return z.createElement("div",{style:{width:1200,margin:"0px auto"}},z.createElement("div",{style:{marginTop:10,display:"flex"}},z.createElement("div",{style:{flex:1,marginRight:30,background:"#fff"}},z.createElement(he.default,{tabBarStyle:{padding:"0px 10px"},style:{width:"850px"},tabBarExtraContent:(0,Ne.dE)()&&z.createElement(Ie.ZP,{type:"primary",style:{width:88},onClick:()=>{se.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/add`)}},"\u53D1\u8868\u7B54\u7591 "),onChange:ft=>{ft==="1"?Ue.sort_by="":Ue.sort_by="created_at",Ge(ue({},Ue)),at()}},z.createElement(he.default.TabPane,{key:"1",tab:"\u6700\u65B0\u56DE\u590D"}),z.createElement(he.default.TabPane,{key:"2",tab:"\u6700\u65B0\u53D1\u8868"})),((Be=Ke==null?void 0:Ke.data)==null?void 0:Be.length)<=0&&z.createElement(nt.Z,{customText:"\u6682\u65E0\u8BA8\u8BBA"}),(Ze=Ke==null?void 0:Ke.data)==null?void 0:Ze.map(ft=>z.createElement(y,{item:ft,params:Ue,getdata:at})),z.createElement("div",{style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(be.Z,{current:Ue.page,pageSize:Ue.per_page,total:Ke==null?void 0:Ke.count,hideOnSinglePage:!0,onChange:(ft,Rt)=>{Ue.page=ft,Ue.per_page=Rt,Ge(ue({},Ue)),at()}}))),z.createElement("div",{className:je.Z.right,style:{width:300,height:"100%"}},z.createElement("div",{style:{display:"flex"}},z.createElement("div",{style:{flex:1,display:"flex",alignItems:"center"}},z.createElement("span",{style:{marginRight:3,fontSize:20,fontWeight:600,color:"#000"}},"\u5E7F\u64AD"),z.createElement("img",{width:21,src:Te})," "),(0,Ne.GJ)()&&z.createElement(Ie.ZP,{type:"primary",onClick:()=>{se.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/add`)}},"\u53D1\u5E03\u5E7F\u64AD")),((mt=Ke==null?void 0:Ke.radio_messages)==null?void 0:mt.length)<=0&&z.createElement(nt.Z,null),(De=Ke==null?void 0:Ke.radio_messages)==null?void 0:De.map(ft=>z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/${ft.id}/detail`)},style:{marginTop:30,cursor:"pointer"}},z.createElement("div",{className:je.Z.title,style:{fontSize:"16px",fontWeight:600}},z.createElement("span",{style:{color:(ft==null?void 0:ft.message_type)===2?"#4C7BE6":"#E17E7E"}},(ft==null?void 0:ft.message_type)===2?"\u3010\u9898\u89E3\u3011":"\u3010\u901A\u77E5\u3011"),z.createElement("span",{title:ft.name},ft.name)),z.createElement("div",{style:{marginTop:15,color:"#5F6368"}},"\u53D1\u8868\u4E8E",ft.created_at))))))};var xe=(0,se.connect)(({user:ye})=>({user:ye}))(Pe)},4274:function(Et,St,te){"use strict";te.d(St,{Z:function(){return ge}});var z=te(59301),se={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},he=Object.defineProperty,Ie=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ie=(me,Pe,xe)=>Pe in me?he(me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):me[Pe]=xe,nt=(me,Pe)=>{for(var xe in Pe||(Pe={}))be.call(Pe,xe)&&ie(me,xe,Pe[xe]);if(Ie)for(var xe of Ie(Pe))Ne.call(Pe,xe)&&ie(me,xe,Pe[xe]);return me};const je=me=>React.createElement("svg",nt({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},me),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var Te="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",He=te(99313),Me=te(92310),Ee=te.n(Me),re=te(59301),a=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ne=(me,Pe,xe)=>Pe in me?a(me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):me[Pe]=xe,oe=(me,Pe)=>{for(var xe in Pe||(Pe={}))x.call(Pe,xe)&&ne(me,xe,Pe[xe]);if(E)for(var xe of E(Pe))ee.call(Pe,xe)&&ne(me,xe,Pe[xe]);return me},ae=(me,Pe)=>y(me,b(Pe)),ge=({dataSource:me,className:Pe,style:xe})=>{const[ye,Be]=(0,z.useState)([]),[Ze,mt]=(0,z.useState)(""),De=(0,z.useRef)("");(0,z.useEffect)(()=>{if(me!=null&&me.length){const Ke=String(Math.random()).slice(-6),it=me.map(at=>ae(oe({},at),{key:`${Ke}-${at.key}`}));Be(it),mt(it[0].key)}},[me.length]);const Ue=Ke=>{mt(Ke),De.current=Ke;const it=document.getElementById(Ke);if(it){const at=it.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:at,behavior:"smooth"})}},Ge=()=>{const Ke=ye.map(at=>document.getElementById(at.key)),it=window.innerHeight/2;for(const at of Ke)if(at){const ft=at.getBoundingClientRect();if(ft.top>=0&&ft.top<it){if(De.current===at.id){De.current="";return}if(De.current)return;mt(at.id);break}}};return(0,z.useEffect)(()=>(window.addEventListener("scroll",Ge),()=>{window.removeEventListener("scroll",Ge)}),[ye]),re.createElement("div",{className:Ee()(se.anchorNavigation,Pe),style:xe},re.createElement(He.default,{items:ye,tabBarGutter:60,className:se.tabs,activeKey:Ze,onChange:Ue}),ye.map(Ke=>re.createElement("div",{key:Ke.key,id:Ke.key,className:se.box},re.createElement("div",{className:se.head},re.createElement("img",{className:"mr10",src:Te,alt:"Dot"}),Ke.label),re.createElement("div",{className:se.element},Ke.element))))}},19071:function(Et,St,te){"use strict";var z=te(59301),se=te(43418),he=te(8591),Ie=te(82186),be=te(52985),Ne=Object.defineProperty,ie=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Te=(a,y,b)=>y in a?Ne(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,He=(a,y)=>{for(var b in y||(y={}))nt.call(y,b)&&Te(a,b,y[b]);if(ie)for(var b of ie(y))je.call(y,b)&&Te(a,b,y[b]);return a},Me=(a,y)=>{var b={};for(var E in a)nt.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&ie)for(var E of ie(a))y.indexOf(E)<0&&je.call(a,E)&&(b[E]=a[E]);return b},Ee=(a,y,b)=>new Promise((E,x)=>{var ee=ae=>{try{oe(b.next(ae))}catch(ue){x(ue)}},ne=ae=>{try{oe(b.throw(ae))}catch(ue){x(ue)}},oe=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(ee,ne);oe((b=b.apply(a,y)).next())});const re=a=>{var y=a,{shixunHomeworks:b,dispatch:E}=y,x=Me(y,["shixunHomeworks","dispatch"]);const ee=(0,be.useParams)();return z.createElement(se.default,{centered:!0,title:"\u63D0\u793A",open:b.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ee(void 0,null,function*(){(yield(0,Ie.ZP)(`/api/myshixuns/${b.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ee.coursesId}})).shixun_identifier&&(he.ZP.success("\u64CD\u4F5C\u6210\u529F"),E({type:"shixunHomeworks/setActionTabs",payload:{}}),E({type:"shixunHomeworks/getWorkList",payload:He({},b.actionTabs.params)}))}),onCancel:()=>{E({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),z.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};St.Z=(0,be.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(re)},45331:function(Et,St,te){"use strict";te.d(St,{n:function(){return wt},Z:function(){return mn}});var z=te(59301),se=te(78241),he=te(8591),Ie=te(6848),be=te(43418),Ne=te(20834),ie=te(24905),nt=te(95237),je=te(43604),Te=te(92832),He=te(3113),Me=te(38854),Ee=te(1710),re=te(5112),a=te(5871),y=te(58421),b=te(84105),E=te(87395),x=te(67921),ee=te(89489),ne=te(77740),oe=te(92232),ae=te(19071),ue=te(96512),ge=te(82186),me=te(52985),Pe=Object.defineProperty,xe=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,Ze=(dt,Dt,yt)=>Dt in dt?Pe(dt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):dt[Dt]=yt,mt=(dt,Dt)=>{for(var yt in Dt||(Dt={}))ye.call(Dt,yt)&&Ze(dt,yt,Dt[yt]);if(xe)for(var yt of xe(Dt))Be.call(Dt,yt)&&Ze(dt,yt,Dt[yt]);return dt},De=(dt,Dt)=>{var yt={};for(var en in dt)ye.call(dt,en)&&Dt.indexOf(en)<0&&(yt[en]=dt[en]);if(dt!=null&&xe)for(var en of xe(dt))Dt.indexOf(en)<0&&Be.call(dt,en)&&(yt[en]=dt[en]);return yt},Ue=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Vt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Vt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const Ge=dt=>{var Dt=dt,{shixunHomeworks:yt,dispatch:en}=Dt,Vt=De(Dt,["shixunHomeworks","dispatch"]);const un=(0,me.useParams)(),[Vn,fn]=(0,z.useState)(!0),[an,Un]=(0,z.useState)(!1),[_t]=se.default.useForm(),Tt=()=>Ue(void 0,null,function*(){const Xt=_t.getFieldValue();(yield(0,ge.ZP)(`/api/homework_commons/${un.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...yt.actionTabs.selectArrs],cover_all:Vn,hidden_comment:Xt.hidden_comment,comment:Xt.comment}})).status===0&&(he.ZP.success("\u8BC4\u9605\u6210\u529F"),_t.resetFields(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),en({type:"shixunHomeworks/getWorkList",payload:mt({},yt.actionTabs.params)}))});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:yt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){const Xt=_t.getFieldValue();JSON.stringify(Xt)==="{}"||Xt.hidden_comment===""&&Xt.comment===""?Un(!0):yt.workList.partial_comment?en({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:yt.actionTabs.selectArrs,params:yt.actionTabs.params}}):Tt()}),onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:_t,onChange:()=>{an&&Un(!1)}},z.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"comment"},z.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),z.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"hidden_comment"},z.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),an&&z.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),z.createElement(be.default,{centered:!0,title:z.createElement("span",null,z.createElement(ue.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:yt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Tt()},onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},z.createElement("div",{className:"tc"},z.createElement("p",null,"\u90E8\u5206\u5B66\u751F\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF0C\u662F\u5426\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF1F"),z.createElement("p",null,z.createElement(re.ZP.Group,{onChange:Xt=>{fn(Xt.target.value)},value:Vn},z.createElement(re.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),z.createElement(re.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ke=(0,me.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Ge),it=te(67741),at=te(99287),ft={wrap:"wrap___altfw",maxWidth70:"maxWidth70___Q4NoO",maxWidth80:"maxWidth80___lwsmt",maxWidth100:"maxWidth100___Wnsw8",maxWidth110:"maxWidth110___zQh0P",maxWidth120:"maxWidth120___gjwfa",reviewStatusTooltip:"reviewStatusTooltip___um7Rt",color32C:"color32C___GIjgW",MdEditor:"MdEditor___OuyKH",tr1:"tr1___nwwbX",TableDom:"TableDom___pl59W"},Rt=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ut=(dt,Dt)=>{var yt={};for(var en in dt)kt.call(dt,en)&&Dt.indexOf(en)<0&&(yt[en]=dt[en]);if(dt!=null&&Rt)for(var en of Rt(dt))Dt.indexOf(en)<0&&Ye.call(dt,en)&&(yt[en]=dt[en]);return yt},At=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Vt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Vt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const Nt=dt=>{var Dt=dt,{shixunHomeworks:yt,dispatch:en}=Dt,Vt=ut(Dt,["shixunHomeworks","dispatch"]),un,Vn,fn,an;const Un=(0,me.useParams)(),[_t,Tt]=(0,z.useState)(!1),[Xt,Ea]=(0,z.useState)((Vn=(un=yt.actionTabs.selectArrs)==null?void 0:un.data)==null?void 0:Vn.name),[qn]=se.default.useForm();(0,z.useEffect)(()=>{var Ga,La,Ar,Cr,Qa,rt;yt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&qn.setFieldsValue({comment:(La=(Ga=yt.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:La.work_comment,hidden_comment:(Cr=(Ar=yt.actionTabs.selectArrs)==null?void 0:Ar.data)==null?void 0:Cr.work_comment_hidden}),Ea((rt=(Qa=yt.actionTabs.selectArrs)==null?void 0:Qa.data)==null?void 0:rt.name)},[yt.actionTabs.key]);const Mn=()=>At(void 0,null,function*(){var Ga,La;const Ar=qn.getFieldValue();if((yield(0,ge.ZP)(`/api/student_works/${(La=(Ga=yt.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:La.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Ar.hidden_comment,comment:Ar.comment}})).status===0)return he.ZP.success("\u8BC4\u9605\u6210\u529F"),qn.resetFields(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),en({type:"shixunHomeworks/getWorkList",payload:Un})});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:(an=(fn=yt.actionTabs.selectArrs)==null?void 0:fn.data)!=null&&an.work_comment_hidden?"\u66F4\u6539"+Xt+"\u70B9\u8BC4":Xt+"\u70B9\u8BC4",open:yt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>At(void 0,null,function*(){const Ga=qn.getFieldValue();JSON.stringify(Ga)==="{}"||Ga.hidden_comment===""&&Ga.comment===""?Tt(!0):Mn()}),onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:qn,onChange:()=>{_t&&Tt(!1)}},z.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"comment"},z.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),z.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"hidden_comment"},z.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),_t&&z.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var Pt=(0,me.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Nt),sn=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,Kt=(dt,Dt)=>{var yt={};for(var en in dt)Fe.call(dt,en)&&Dt.indexOf(en)<0&&(yt[en]=dt[en]);if(dt!=null&&sn)for(var en of sn(dt))Dt.indexOf(en)<0&&Qt.call(dt,en)&&(yt[en]=dt[en]);return yt},Hn=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Vt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Vt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const Jn=dt=>{var Dt=dt,{shixunHomeworks:yt,dispatch:en}=Dt,Vt=Kt(Dt,["shixunHomeworks","dispatch"]);const un=(0,me.useParams)(),[Vn,fn]=(0,z.useState)([]),[an,Un]=(0,z.useState)([]);(0,z.useEffect)(()=>{yt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&_t()},[yt.actionTabs.key]);function _t(){return Hn(this,null,function*(){const Xt=yield(0,ge.ZP)(`/api/homework_commons/${un.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});fn(Xt)})}const Tt=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:yt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Hn(void 0,null,function*(){const Xt=yield(0,ge.ZP)(`/api/homework_commons/${un.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:an}});(Xt==null?void 0:Xt.status)===0&&(me.history.replace(`/classrooms/${un.coursesId}/shixun_homework/${un.categoryId}/detail?tabs=4`),window.location.reload(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),Un([]))}),onCancel:()=>{Un([]),en({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(Ee.default,{rowSelection:{type:"checkbox",onChange:(Xt,Ea)=>{Un([...Xt])},selectedRowKeys:an,getCheckboxProps:Xt=>({disabled:Xt.status==="\u8FDB\u884C\u4E2D"||Xt.works_count===0})},rowKey:Xt=>Xt.key||Xt.id,scroll:{y:300},pagination:!1,columns:Tt,dataSource:Vn==null?void 0:Vn.group_list})))};var Re=(0,me.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Jn),qe=te(35556),tt=te(3995),Le=Object.defineProperty,ht=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,ve=(dt,Dt,yt)=>Dt in dt?Le(dt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):dt[Dt]=yt,We=(dt,Dt)=>{for(var yt in Dt||(Dt={}))gt.call(Dt,yt)&&ve(dt,yt,Dt[yt]);if(ht)for(var yt of ht(Dt))Oe.call(Dt,yt)&&ve(dt,yt,Dt[yt]);return dt},Ve=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Vt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Vt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const we=({shixunHomeworks:dt,dispatch:Dt,isShow:yt,setIsShow:en,item:Vt,coursesId:un,categoryId:Vn})=>{const[fn,an]=(0,z.useState)({page:1,limit:10}),[Un,_t]=(0,z.useState)([]),[Tt,Xt]=(0,z.useState)(!1);(0,z.useEffect)(()=>{yt&&Ea()},[yt]);function Ea(){return Ve(this,null,function*(){Xt(!0);const Mn=yield(0,ge.ZP)(`/api/student_works/${Vt.id}/game_details.json`,{method:"get",params:We({},fn)});Xt(!1),Mn.status===0&&_t(Mn==null?void 0:Mn.data)})}const qn=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(Mn,Ga,La)=>z.createElement("span",{style:{color:"#000"}},fn.limit*(fn.page-1)+La+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(Mn,Ga,La)=>z.createElement("span",{style:{color:"#000"}},Mn)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(Mn,Ga,La)=>z.createElement("span",null,Mn==0?"\u672A\u901A\u5173":Mn==4?"\u622A\u6B62\u540E\u901A\u5173":"\u5DF2\u901A\u5173")},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",key:"evaluate_count",width:100,ellipsis:!0,render:(Mn,Ga,La)=>z.createElement("span",{style:{color:"#333"}},Mn)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(Mn,Ga,La)=>z.createElement("span",{style:{color:"#333"}},Mn)}];return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:yt,width:700,footer:null,maskClosable:!1,onCancel:()=>{fn.page=1,fn.limit=10,an(We({},fn)),en(!1)}},z.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},z.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),z.createElement("span",{title:Vt==null?void 0:Vt.user_name,style:{color:"#232B40"}},Vt==null?void 0:Vt.user_name)),z.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u53F7"),z.createElement("span",{title:Vt==null?void 0:Vt.student_id,style:{color:"#232B40"}},(Vt==null?void 0:Vt.student_id)||"--")),z.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),z.createElement("span",{title:Vt==null?void 0:Vt.group_name,style:{color:"#232B40"}},(Vt==null?void 0:Vt.group_name)||"--"))),z.createElement(Ee.default,{scroll:{y:380},columns:qn,loading:Tt,style:{marginBottom:fn.limit>(Un==null?void 0:Un.count)?"16px":"0"},dataSource:Un.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:fn.limit,current:fn.page,position:["bottomRight"],onChange:(Mn,Ga)=>{fn.page=Mn,fn.limit=Ga,an(We({},fn)),Ea()},total:Un==null?void 0:Un.count,showTotal:(Mn,Ga)=>z.createElement("span",null,"\u5171",z.createElement("span",{style:{color:"#165DFF"}}," ",Mn," "),"\u6761\u6570\u636E")}})))};var pt=(0,me.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(we),et=te(59301),jt=Object.defineProperty,Se=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,Ae=(dt,Dt,yt)=>Dt in dt?jt(dt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):dt[Dt]=yt,_e=(dt,Dt)=>{for(var yt in Dt||(Dt={}))st.call(Dt,yt)&&Ae(dt,yt,Dt[yt]);if(Se)for(var yt of Se(Dt))xt.call(Dt,yt)&&Ae(dt,yt,Dt[yt]);return dt},ct=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{fn(yt.next(an))}catch(Un){Vt(Un)}},Vn=an=>{try{fn(yt.throw(an))}catch(Un){Vt(Un)}},fn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Vn);fn((yt=yt.apply(dt,Dt)).next())});const wt=({value:dt,placeholder:Dt=""})=>{if(dt==null||dt==="")return et.createElement("span",null,Dt);{const yt=Number(dt);if(yt>=80)return et.createElement("span",{style:{color:"#009C0F"}},yt);if(yt<80&&yt>=60)return et.createElement("span",{style:{color:"#FA6400"}},yt);if(yt<60)return et.createElement("span",{style:{color:"#E30000"}},yt)}},zt=({shixunHomeworks:dt,classroomList:Dt,globalSetting:yt,loading:en,dispatch:Vt,setExportParams:un,user:Vn})=>{var fn,an,Un,_t,Tt,Xt,Ea,qn,Mn,Ga,La,Ar,Cr;const Qa=(0,me.useParams)(),[rt,Mt]=(0,z.useState)(_e(_e({},{page:1,limit:20,order:"work_score",b_order:"desc"}),Qa)),[Ft]=se.default.useForm(),[kn,dn]=(0,z.useState)(),[Ln,Xr]=(0,z.useState)({}),[Er,Kr]=(0,z.useState)([]),[oo,Xa]=(0,z.useState)(!1),[Nn,ur]=(0,z.useState)([]),[nr,sr]=(0,z.useState)(!1),[er,vt]=(0,z.useState)(),[qt,tn]=(0,z.useState)(1),[Pn,Rn]=(0,z.useState)(),[gn,On]=(0,z.useState)(),[yn,ar]=(0,z.useState)(),[Ra,cn]=(0,z.useState)(),[io,to]=(0,z.useState)(),[no,Mo]=(0,z.useState)(!1),[ea,Aa]=(0,z.useState)(!1),[dr,pa]=(0,z.useState)(),jr=(0,me.useLocation)();(0,z.useEffect)(()=>(Ir(),()=>{Xr([]),Kr([])}),[rt.coursesId]),(0,z.useEffect)(()=>{var zn;const Ia=JSON.parse(JSON.stringify(dt.workList));!((zn=Ia==null?void 0:Ia.student_works)!=null&&zn.length)&&(Ia!=null&&Ia.id)?(Ia.student_works=[_e({},Ia)],Xr(Ia)):(Ia!=null&&Ia.id&&Kr([_e(_e({},Ia),{number:"\u6211"})]),Xr(_e({},Ia)))},[dt.workList]);const Ir=zn=>(un(_e({},rt)),Vt({type:"shixunHomeworks/getWorkList",payload:rt}));(0,z.useEffect)(()=>{Vt({type:"user/getUserInfo",payload:{course_id:rt.coursesId}})},[]);const br=()=>ct(void 0,null,function*(){const zn=yield(0,it.Uc)({categoryId:Qa.categoryId});dn(zn==null?void 0:zn.update_score)}),po=()=>ct(void 0,null,function*(){Vt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const zn=yield(0,it.Vs)({categoryId:Qa.categoryId});Vt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(zn==null?void 0:zn.status)===0&&(he.ZP.success(zn==null?void 0:zn.message),Ir())}),Lo=()=>{rt.page=1;const zn=Object.assign({},Ft.getFieldsValue());delete rt.course_group,delete rt.teacher_comment,Object.keys(zn).map(function(Ia){var co;switch(Ia){case"task_status":zn[Ia].includes("all")||!zn[Ia].length?(delete rt.work_status,Ft.setFieldsValue({task_status:"all"})):(rt.work_status=zn[Ia],Ft.setFieldsValue({task_status:rt.work_status}));break;case"course_group_info":zn[Ia].includes("all")||!zn[Ia].length?(delete rt.course_group,Ft.setFieldsValue({course_group_info:"all"})):(rt.course_group=zn[Ia],Ft.setFieldsValue({course_group_info:rt.course_group}));break;case"teacher_comment":zn[Ia].includes("all")||!zn[Ia].length?(delete rt.teacher_comment,Ft.setFieldsValue({teacher_comment:"all"})):(rt.teacher_comment=((co=zn[Ia])==null?void 0:co.length)===1?Number(zn[Ia][0]):"",Ft.setFieldsValue({teacher_comment:zn[Ia]}));break}}),Ir()};(0,z.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(to(47),Mo(!0))},[document.getElementById("divhe")]);const Oi=(zn,Ia)=>{rt.page=zn,rt.limit=20,Ir()};function vi(){tn(1),Rn(""),On(""),ar(""),cn(""),ur([])}const Ei=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(zn,Ia,co)=>rt.limit*(rt.page-1)+co+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:zn=>et.createElement(Ie.Z,{placement:"bottomLeft",title:zn},et.createElement("span",{className:"current"},zn))},!(0,at.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:rt.order==="student_id"?rt.b_order==="desc"?"descend":"ascend":null,render:zn=>et.createElement(Ie.Z,{placement:"bottomLeft",title:zn||"--"},et.createElement("span",{className:"current"},zn||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(zn,Ia)=>zn?et.createElement(Ie.Z,{placement:"bottom",title:zn},et.createElement("span",{className:"current"},zn)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:rt.order==="work_status"?rt.b_order==="desc"?"descend":"ascend":null,render:zn=>et.createElement(oe.lC,{status:zn})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:rt.order==="achieve_time"?rt.b_order==="desc"?"descend":"ascend":null,render:(zn,Ia)=>et.createElement(Ie.Z,{placement:"bottomLeft",title:zn},et.createElement("span",{className:"current"},zn))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(zn,Ia)=>et.createElement("span",{onClick:co=>{var xo;co.stopPropagation(),(xo=Ln.homework_status)!=null&&xo.includes("\u5BFC\u5165")&&(pa(Ia),Aa(!0))}},zn||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:rt.order==="work_score"?rt.b_order==="desc"?"descend":"ascend":null,render:(zn,Ia)=>et.createElement(Ie.Z,{title:et.createElement(et.Fragment,null,et.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ia==null?void 0:Ia.late_final_score)||0),et.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ia==null?void 0:Ia.late_penalty)||0),et.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ia==null?void 0:Ia.score)||0))},wt({value:zn,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:rt.order==="achieve_time_long"?rt.b_order==="desc"?"descend":"ascend":null,render:(zn,Ia)=>zn&&zn!="--"?et.createElement(Ie.Z,{placement:"bottom",title:zn},et.createElement("span",{className:"current"},zn)):"--"},((fn=Ln.homework_status)==null?void 0:fn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((an=Ln.homework_status)!=null&&an.includes("\u5BFC\u5165"))&&{title:et.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:zn=>zn?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(zn,Ia)=>{var co;return(co=Ln.homework_status)!=null&&co.includes("\u5BFC\u5165")?(0,at.GJ)()?et.createElement("a",{onClick:xo=>{xo.stopPropagation(),Vt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Ia==null?void 0:Ia.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):et.createElement("a",{onClick:xo=>{xo.stopPropagation(),pa(Ia),Aa(!0)}},"\u67E5\u770B"):(0,at.dE)()?et.createElement("div",null,(0,oe.JL)(Ia==null?void 0:Ia.work_status)==="\u672A\u5F00\u542F"?et.createElement("span",null,"--"):et.createElement("a",{onClick:xo=>{var wo;if(xo.stopPropagation(),(0,at.Rm)()&&!((wo=Dt.AssistantObject.hack)!=null&&wo.can_view)){he.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}window.open(`/classrooms/${rt.coursesId}/program_homework/${rt.categoryId}/${Ia.id}/${Ia.user_id}/comment`,"_blank")}},"\u67E5\u770B")):et.createElement("a",{target:"_blank",onClick:xo=>{var wo,ui;if(xo.stopPropagation(),(0,at.Rm)()&&!((wo=Dt.AssistantObject.hack)!=null&&wo.can_view)){he.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}if((ui=Vn.userInfo)!=null&&ui.professional_certification)window.open(`/classrooms/${rt.coursesId}/program_homework/${rt.categoryId}/${Ia.id}/${Ia.user_id}/comment`,"_blank");else return be.default.confirm({title:"\u63D0\u793A",centered:!0,content:et.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,oe.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(zn=>!!zn),$i=()=>{var zn,Ia;return et.createElement(Ne.default,null,et.createElement(Ne.default.Item,{onClick:()=>{var co;if((0,at.Rm)()&&!((co=Dt.AssistantObject.hack)!=null&&co.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Vt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:Ln==null?void 0:Ln.course_group_info,fn:()=>{(0,tt.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,at.GJ)()&&((zn=Ln==null?void 0:Ln.student_works)==null?void 0:zn.length)>0&&!((Ia=Ln==null?void 0:Ln.homework_status)!=null&&Ia.includes("\u5BFC\u5165"))&&et.createElement(Ne.default.Item,{key:"3",onClick:()=>{var co;if((0,at.Rm)()&&!((co=Dt.AssistantObject.hack)!=null&&co.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Vt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:Ln==null?void 0:Ln.course_group_info,fn:()=>{var xo,wo,ui,Bi;Vt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),me.history.push(`/classrooms/${rt==null?void 0:rt.coursesId}/program_homework/${rt.categoryId}/${(wo=(xo=Ln==null?void 0:Ln.student_works)==null?void 0:xo[0])==null?void 0:wo.id}/${(Bi=(ui=Ln==null?void 0:Ln.student_works)==null?void 0:ui[0])==null?void 0:Bi.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),et.createElement(Ne.default.Item,{key:"2",onClick:()=>{var co;if((0,at.Rm)()&&!((co=Dt.AssistantObject.hack)!=null&&co.can_download)){he.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}me.history.push(`/classrooms/${rt.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return et.createElement(et.Fragment,null,et.createElement("section",{className:`${ft.wrap} minH500 bg-white pl30 pr30 pt30`},((Un=Ln.homework_status)==null?void 0:Un.includes("\u672A\u53D1\u5E03"))&&et.createElement(ne.Z,null),!((_t=Ln.homework_status)!=null&&_t.includes("\u672A\u53D1\u5E03"))&&et.createElement("aside",null,!(0,at.GJ)()&&et.createElement("div",{className:"c-light-black font12"},et.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",Ln==null?void 0:Ln.publish_time),et.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",Ln==null?void 0:Ln.end_time),et.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(Ln==null?void 0:Ln.late_time)||"- -")),(0,at.GJ)()&&et.createElement(et.Fragment,null,et.createElement(se.default,{form:Ft,onChange:Lo,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Tt=Ln.task_status)==null?void 0:Tt.length)>0&&et.createElement(se.default.Item,{name:"task_status"},et.createElement(ie.default.Group,{value:[],style:{width:"100%"}},et.createElement(nt.Z,null,et.createElement(je.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),et.createElement(je.Z,{flex:"80px"},et.createElement(ie.default,{value:"all"},"\u5168\u90E8")),et.createElement(je.Z,{flex:"1"},Ln.task_status&&Ln.task_status.map((zn,Ia)=>et.createElement(ie.default,{name:"task_status",value:zn.id},zn.name,"(",zn.count,")")))))),((Xt=Ln.course_group_info)==null?void 0:Xt.length)>0&&et.createElement(se.default.Item,{name:"course_group_info"},et.createElement(ie.default.Group,{style:{width:"100%"}},et.createElement(nt.Z,null,et.createElement(je.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),et.createElement(je.Z,{flex:"80px"},et.createElement(ie.default,{value:"all"},"\u5168\u90E8")),et.createElement(je.Z,{flex:"1",id:"divhe",style:{height:io+"px",overflow:"hidden"}},(Ea=Ln.course_group_info)==null?void 0:Ea.map((zn,Ia)=>et.createElement(ie.default,{value:zn.course_group_id},zn.group_group_name,"(",zn.count,")"))),no&&et.createElement("span",{onClick:()=>{let zn=document.getElementById("divhe").scrollHeight;io>47?to(47):to(zn)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},io===47?"\u5C55\u5F00":"\u6536\u8D77",io===47?et.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):et.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((qn=Ln.teacher_comment)==null?void 0:qn.length)>0&&et.createElement(se.default.Item,{name:"teacher_comment"},et.createElement(ie.default.Group,{style:{width:"100%"}},et.createElement(nt.Z,null,et.createElement(je.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),et.createElement(je.Z,{flex:"80px"},et.createElement(ie.default,{value:"all"},"\u5168\u90E8")),et.createElement(je.Z,{flex:"1"},Ln.teacher_comment&&Ln.teacher_comment.map((zn,Ia)=>et.createElement(ie.default,{value:String(zn.id)},zn.name,"(",zn.count,")"))))))),et.createElement(nt.Z,{align:"middle"},et.createElement(je.Z,{flex:"1"},et.createElement(nt.Z,{align:"middle"},et.createElement(je.Z,null,et.createElement(Te.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:zn=>{rt.search=zn.trim(),rt.page=1,Ir()},style:{width:240}})),et.createElement(je.Z,null,et.createElement("span",{className:"ml5"},et.createElement("span",{className:"c-red"},Ln.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",Ln.work_count,"\u4E2A\u5B66\u751F\uFF09")))),et.createElement(je.Z,null,(0,at.GJ)()&&!((Mn=Ln.homework_status)!=null&&Mn.includes("\u5BFC\u5165"))&&!((Ga=yt==null?void 0:yt.setting)!=null&&Ga.hide_code_repeat)&&et.createElement(He.ZP,{className:"ml10",onClick:()=>{Vt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:Ln.student_works.map(zn=>zn.id),params:rt}})}},et.createElement("span",{className:`${ft.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,at.GJ)()&&!((La=Ln.homework_status)!=null&&La.includes("\u5BFC\u5165"))&&et.createElement(He.ZP,{className:"ml10",onClick:po},et.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,at.GJ)()&&et.createElement(Me.Z,{dropdownRender:$i,className:"ml10"},et.createElement(He.ZP,null,et.createElement(x.Z,null),"\u5BFC\u51FA",et.createElement(ee.Z,null)))))),et.createElement(nt.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,at.GJ)()&&kn&&et.createElement("span",null,et.createElement("span",{style:{color:"red"}},"*"),"\u5217\u8868\u4E2D\u4F5C\u4E1A\u8BB0\u5F55\u5B58\u5728\u5DEE\u5F02\uFF0C\u8BF7\u70B9\u51FB\u201C\u66F4\u65B0\u6210\u7EE9\u201D\u6309\u94AE")),et.createElement(Ee.default,{className:`mt30 ${ft.TableDom}`,loading:en["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:zn=>({onClick:Ia=>{var co,xo;if(!((co=Ln.homework_status)!=null&&co.includes("\u5BFC\u5165"))){if((0,at.Rm)()&&!((xo=Dt.AssistantObject.hack)!=null&&xo.can_view)){he.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}window.open(`/classrooms/${rt.coursesId}/program_homework/${rt.categoryId}/${zn.id}/${zn.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:Ln.student_works,columns:Ei,onChange:(zn,Ia,co)=>{co.field&&(rt.order=co.field==="score"?"work_score":co.field),co.order||(rt.b_order="asc"),co.order==="ascend"&&(rt.b_order="asc"),co.order==="descend"&&(rt.b_order="desc"),co.order||(rt.b_order="asc"),Ir()}}),et.createElement(Ke,null),et.createElement(Pt,null),et.createElement(ae.Z,null)),et.createElement(be.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:oo,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>ct(void 0,null,function*(){if(qt===2){if(Nn.length<=0){he.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!Ra){he.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let zn=yield(0,ge.ZP)(`/api/homework_commons/${rt.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:rt.categoryId,comment:Ra,status:Nn}});zn.status===0&&(vt(zn),Xa(!1),sr(!0))}else{if(!(yn===0||gn===0)){if(!yn){he.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!gn){he.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(yn>gn){he.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!Ra){he.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let zn=yield(0,ge.ZP)(`/api/homework_commons/${rt.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:rt.categoryId,comment:Ra,min_score:yn,max_score:gn}});zn.status===0&&(vt(zn),Xa(!1),sr(!0))}}),onCancel:()=>{Xa(!1),vi()}},et.createElement("div",{style:{padding:"32px"}},et.createElement("div",null,et.createElement("div",null,et.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),et.createElement(re.ZP.Group,{value:qt,onChange:zn=>{tn(zn.target.value)}},et.createElement(re.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),et.createElement(re.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),qt===1&&et.createElement("div",{style:{display:"flex",marginTop:"20px"}},et.createElement("span",{style:{width:"70px",textAlign:"end"}},et.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),et.createElement(a.Z,{min:0,max:100,value:yn,onChange:zn=>ar(zn),style:{width:"100px"}}),et.createElement("span",{style:{width:"80px",textAlign:"end"}},et.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),et.createElement(a.Z,{min:0,max:100,value:gn,onChange:zn=>On(zn),style:{width:"100px"}})),qt===2&&et.createElement("div",{style:{display:"flex",marginTop:"20px"}},et.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),et.createElement(ie.default.Group,{onChange:zn=>{ur([...zn])},style:{width:"100%"}},(Ar=Ln.task_status)==null?void 0:Ar.map((zn,Ia)=>et.createElement(ie.default,{name:"task_status",value:zn.id},zn.name,"(",zn.count,")")))),et.createElement("div",{style:{display:"flex",marginTop:"20px"}},et.createElement("span",{style:{width:"70px",textAlign:"end"}},et.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),et.createElement(qe.Z,{className:ft.MdEditor,onChange:zn=>cn(zn),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),et.createElement(be.default,{open:nr,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>ct(void 0,null,function*(){qt===2?(yield(0,ge.ZP)(`/api/homework_commons/${rt.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:rt.categoryId,comment:Ra,status:Nn}})).status===0&&(he.ZP.info("\u6253\u56DE\u6210\u529F"),vi(),Ir(),sr(!1)):(yield(0,ge.ZP)(`/api/homework_commons/${rt.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:rt.categoryId,comment:Ra,min_score:yn,max_score:gn}})).status===0&&(he.ZP.info("\u6253\u56DE\u6210\u529F"),vi(),Ir(),sr(!1))}),onCancel:()=>{vi(),sr(!1)}},et.createElement("div",{style:{padding:"32px"}},qt===1&&et.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",yn,"-",gn,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),qt===2&&et.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((Cr=Ln.task_status)==null?void 0:Cr.filter(zn=>Nn==null?void 0:Nn.includes(zn.id)).map(zn=>zn.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),et.createElement("br",null),et.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",er==null?void 0:er.count,"\u540D\u5B66\u751F")))),et.createElement(Re,null),et.createElement(pt,{isShow:ea,setIsShow:Aa,item:dr,coursesId:rt.coursesId,categoryId:rt.categoryId}),et.createElement("aside",{className:"tc mb50 mt30"},et.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:Oi,current:rt.page||1,defaultPageSize:20,total:Ln.work_count})))};var mn=(0,me.connect)(({shixunHomeworks:dt,classroomList:Dt,globalSetting:yt,loading:en,user:Vt})=>({shixunHomeworks:dt,classroomList:Dt,globalSetting:yt,loading:en.effects,user:Vt}))(zt)},71123:function(Et,St,te){"use strict";te.r(St),te.d(St,{default:function(){return rl}});var z=te(59301),se=te(82186),he=te(52985),Ie=te(8591),be=te(43418),Ne=te(3113),ie=te(66104),nt=te(6848),je=te(99313),Te=te(1710),He=te(27812),Me=te(92232),Ee=te(68762),re=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Ut,Ht,Zt)=>Ht in Ut?re(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,x=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))y.call(Ht,Zt)&&E(Ut,Zt,Ht[Zt]);if(a)for(var Zt of a(Ht))b.call(Ht,Zt)&&E(Ut,Zt,Ht[Zt]);return Ut},ee=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});const ne=({shixunHomeworks:Ut,dispatch:Ht})=>{const Zt=(0,he.useParams)();return z.createElement(be.default,{centered:!0,title:"\u63D0\u793A",open:Ut.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ee(void 0,null,function*(){(yield Ht({type:"shixunHomeworks/deleteReply",payload:{object_id:Ut.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(Ie.ZP.success("\u5220\u9664\u6210\u529F"),Ht({type:"shixunHomeworks/setActionTabs",payload:{}}),Ht({type:"shixunHomeworks/getReplyList",payload:x({},Ut.actionTabs.params)}))}),onCancel:()=>{Ht({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var oe=(0,he.connect)(({shixunHomeworks:Ut})=>({shixunHomeworks:Ut}))(ne),ae=te(66649),ue=te.n(ae),ge=te(21600),me=te(71418),Pe=te(58421),xe={flex_box_center:"flex_box_center___zN9Rd",flex_space_between:"flex_space_between___OHt3Z",flex_box_vertical_center:"flex_box_vertical_center___xzO8Q",flex_box_center_end:"flex_box_center_end___LuRwh",flex_box_column:"flex_box_column___rEgTS",bg:"bg___F3FV1",top:"top___vNhKr",desc:"desc___IlwMy",deseIconSty:"deseIconSty___gIJAj",liked:"liked___gFxXM",likedActive:"likedActive___bEcK_",reply:"reply___q4nj7",replyList:"replyList___qxCAX",comment:"comment___gIcRF",buttonEdit:"buttonEdit____8SMk",md:"md___cq_mx",maskWrap:"maskWrap___bHoew",desHead:"desHead___Njyrc",mask:"mask___o8p8v",info:"info___V66Uf",upDownSty:"upDownSty___Q_kpi"},ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAgCAYAAACo7RKTAAAAAXNSR0IArs4c6QAAFaNJREFUeF7tXHl8XHW1/557Z5JM0yTtA9qy6dwktMVaKMncAVo2F0Rk0aeg+FCK+tzg8WRR5qYFCdA2dwou+AR9LCpSZVE+ICIi+ACfpOjcSaAthdImudMFCm0hbfZl7u/Ib5KZznJnSdqnrx97/4HOPb/zO7/zO7/fPcv3hACg+xH/NBoaXMnARwjwMeGvxNSqgFZXzSq36AOxIUk3kYcfulDdI1qPJ4iFDF7EwEJiVABoBZV9a9pFWzsnwu8g7UEN7A8NED9RX72np6cNTNOJcB8Thpl5ITHpDK4gohEA7QRaLUCtXqV89dRPx97Mnpwfqq3p4cGTBHgRMUsjPxGMqSAwAS8yaDUResD8aQCHqh7llKoL3ly/PxZxkMdBDZSqAdr9wIyVzHSZonoXVJ92j4P46E0A10OMxkZ2rt46vP1ZEn1ba8G0iMEzJWMCdTFxKxF6IcjDhJOJeR4DCgiDBPwvMVoZVMng0LTGb5+EqdoCCLEITt+cnvYb5sIZWldzwZZTShW0GN2a5roZ8SE0CBYNU3xTbh0YGZoNh/8j52AS7wia9reL8ftnfB9tqr2aBWbnrJ24Rzfta5O/R0O15zBwnpuOFKK/NJqdP/v/qj9p8BsAeq7mQ/fdhOFheeNOy10wegH6S3zPpldGtz01NNL98mHA8CIWmEMKdrCgp0jhVha4SiHv6upT7l4FchaNbHv6U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SEY2RmBp6oepJYj3tsJdoZkIJNoAPEkD0h1HRTfYTsAegGgVqh4kmadk9Mp848wioNz/vNpwNXgs9XAbz1Rh+He0+PdG86P92890enfOtPZ00FitBdQvfBWyS9AfeIW99TUM9TyV6SPCGA1yjytpbot/3zqP7jiv7cGSjL4nAPQ/ew0DA2e7HSvP1etniv/QI7sI1oNUlejwvcCTf9AsW73v/c6D853UAMJDfwN/F3Fz8TPqaAAAAAASUVORK5CYII=",Be=te(99287),Ze=te(35556),mt=te(56082),De=te(87954),Ue=te(18257),Ge=te(45331),Ke=te(19719),it=te(35241),at=te(44589),ft=te(87395),Rt=te(84105),kt=Object.defineProperty,Ye=Object.defineProperties,ut=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,sn=(Ut,Ht,Zt)=>Ht in Ut?kt(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,Fe=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))Nt.call(Ht,Zt)&&sn(Ut,Zt,Ht[Zt]);if(At)for(var Zt of At(Ht))Pt.call(Ht,Zt)&&sn(Ut,Zt,Ht[Zt]);return Ut},Qt=(Ut,Ht)=>Ye(Ut,ut(Ht)),Kt=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});ue().locale("ZH-cn");let Hn=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const Jn=z.createContext({}),Re=()=>{const{setActivatorNodeRef:Ut,listeners:Ht}=(0,z.useContext)(Jn);return z.createElement(Ne.ZP,Fe({type:"text",size:"small",className:xe.upDownSty,icon:z.createElement(nt.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"},z.createElement(mt.Z,null)),style:{cursor:"move"},ref:Ut},Ht))},qe=Ut=>{const{attributes:Ht,listeners:Zt,setNodeRef:ba,setActivatorNodeRef:Va,transform:Fa,transition:In,isDragging:Ua}=(0,Ke.nB)({id:Ut["data-row-key"]}),hn=Fe(Qt(Fe({},Ut.style),{transform:it.ux.Translate.toString(Fa),transition:In}),Ua?{position:"relative",zIndex:100}:{}),Za=(0,z.useMemo)(()=>({setActivatorNodeRef:Va,listeners:Zt}),[Va,Zt]);return z.createElement(Jn.Provider,{value:Za},z.createElement("tr",Fe(Qt(Fe({},Ut),{ref:ba,style:hn}),Ht)))},tt=({shixunHomeworks:Ut,classroomList:Ht,globalSetting:Zt,user:ba,loading:Va,dispatch:Fa})=>{var In,Ua,hn,Za;const[Da,Io]=(0,z.useState)(Qt(Fe({},(0,he.useParams)()),{page:1,per_page:10})),[Ma,$o]=(0,z.useState)([]),[Si,Ko]=(0,z.useState)(-1),[Sr,Pr]=(0,z.useState)(""),[Qn,ao]=(0,z.useState)(""),{detailLeftMenus:oi}=Ht,ha=(0,he.useLocation)(),[ca,eo]=(0,z.useState)({}),{workDetail:Ai,workList:Tn,workSetting:tr}=Ut,[aa,nn]=(0,z.useState)("1"),[Wn,Cn]=(0,z.useState)(!1),[$r,mr]=(0,z.useState)(!1),[Tr,Jo]=(0,z.useState)(""),[fr,So]=(0,z.useState)(1),Ha=(0,z.useRef)(null),[Yr,mo]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Tn.homework_status&&Do()},[Tn]),(0,z.useEffect)(()=>{Ha.current&&(Ha.current.clientHeight>200?So(2):So(4))},[Ma==null?void 0:Ma.description]);function Do(){return Kt(this,null,function*(){var _n,ya,wr;Cn(!0);let Fr=yield(0,se.ZP)(`/api/courses/${Da.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:Qt(Fe({},Da),{id:Da.categoryId})});if($o(Fr),Cn(!1),Da.defaultExpandedRowKeys=[`${(ya=(_n=Fr==null?void 0:Fr.data)==null?void 0:_n[0])==null?void 0:ya.identifier}`],Fr!=null&&Fr.hide_description)nn("2");else if(aa!="2"){if((wr=Tn.homework_status)!=null&&wr.includes("\u5BFC\u5165"))return;nn(Fr!=null&&Fr.description?"1":"2")}Io(Fe({},Da))})}const vn=()=>{if(fr===1)return{visibility:"hidden"};if(fr===2)return{overflow:"hidden",height:"200px"};if(fr===3)return{overflow:"initial"};if(fr===4)return{overflow:"initial"}},na=_n=>Kt(void 0,[_n],function*({active:ya,over:wr}){if(ya.id!==(wr==null?void 0:wr.id)&&(wr!=null&&wr.id)){$o(Co=>{var qo;const Di=(qo=Co==null?void 0:Co.data)==null?void 0:qo.findIndex(qi=>qi.identifier===ya.id),Hi=Co==null?void 0:Co.data.findIndex(qi=>qi.identifier===(wr==null?void 0:wr.id));return Qt(Fe({},Co),{data:(0,at.Rp)(Co==null?void 0:Co.data,Di,Hi)})});let Fr=yield(0,se.ZP)(`/api/courses/${Da==null?void 0:Da.coursesId}/homework_commons/change_hack_position.json`,{method:"post",body:{id:Da==null?void 0:Da.categoryId,origin_identifier:ya==null?void 0:ya.id,target_identifier:wr==null?void 0:wr.id}});(Fr==null?void 0:Fr.status)==0&&(Ie.ZP.success("\u6392\u5E8F\u6210\u529F"),Do())}}),Oa=_n=>Kt(void 0,null,function*(){const ya=()=>Kt(void 0,null,function*(){let Fr=yield(0,se.ZP)(`/api/item_banks/${_n}/copy_hack_item.json`,{method:"post"});(Fr==null?void 0:Fr.status)===0&&Ie.ZP.success("\u52A0\u5165\u8BD5\u9898\u5E93\u6210\u529F\uFF01")});mo(!0);let wr=yield(0,se.ZP)(`/api/item_banks/${_n}/check_hack_item.json`,{method:"get"});(wr==null?void 0:wr.status)===-20?be.default.confirm({icon:null,centered:!0,closable:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u8BD5\u9898\u5E93\u63D0\u793A",content:"\u8BE5\u8BD5\u9898\u5728\u8BD5\u9898\u5E93\u4E2D\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u52A0\u5165\u8BD5\u9898\u5E93\uFF1F",onOk:ya}):ya(),mo(!1)});return z.createElement("section",{className:xe.bg},z.createElement(me.Z,{spinning:Wn},(!(Ma!=null&&Ma.hide_description)||(0,Be.GJ)())&&z.createElement("section",{className:" edu-container",style:{padding:"20px 20px 0 20px",background:"#fff",position:"relative"}},!$r&&(0,Be.GJ)()&&z.createElement("div",{style:{position:"absolute",zIndex:10,right:34,top:30}},(tr==null?void 0:tr.hack_edit_permission)&&z.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{mr(!0)}},z.createElement(nt.Z,{title:"\u7F16\u8F91\u8BF4\u660E"},z.createElement("i",{className:"iconfont icon-bianji-moren font14"}),z.createElement("span",null,"\u7F16\u8F91\u8BF4\u660E"))),z.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"20px",cursor:"pointer"},onClick:()=>Kt(void 0,null,function*(){if(!(Ma!=null&&Ma.hide_description))be.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u9690\u85CF\u540E\uFF0C\u5B66\u751F\u7AEF\u5C06\u9690\u85CF\u4F5C\u4E1A\u8BF4\u660E\u6A21\u5757",onOk:()=>Kt(void 0,null,function*(){let _n=yield(0,se.ZP)(`/api/homework_commons/${Da==null?void 0:Da.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(_n==null?void 0:_n.status)==0&&(Ie.ZP.success("\u9690\u85CF\u6210\u529F"),Do())})});else{let _n=yield(0,se.ZP)(`/api/homework_commons/${Da==null?void 0:Da.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(_n==null?void 0:_n.status)==0&&(Ie.ZP.success("\u516C\u5F00\u6210\u529F"),Do())}})},z.createElement(nt.Z,{title:Ma!=null&&Ma.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E"},z.createElement("i",{className:"iconfont icon-xianshiyincang font14"}),z.createElement("span",null,Ma!=null&&Ma.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E")))),$r?z.createElement(z.Fragment,null,z.createElement(Ze.Z,{defaultValue:Ma==null?void 0:Ma.description,watch:!0,height:155,onChange:_n=>{Jo(_n)}}),z.createElement("div",{style:{display:"flex"}},z.createElement(Ne.ZP,{size:"middle",type:"primary",className:`${xe.buttonEdit} mr20`,style:{marginLeft:"auto"},htmlType:"submit",onClick:()=>Kt(void 0,null,function*(){So(1);let _n=yield(0,se.ZP)(`/api/homework_commons/${Da==null?void 0:Da.categoryId}/update_description.json`,{method:"post",body:{description:Tr}});(_n==null?void 0:_n.status)==0&&(Ie.ZP.success("\u7F16\u8F91\u6210\u529F"),mr(!1),Do())})},"\u63D0\u4EA4"),z.createElement(Ne.ZP,{size:"middle",type:"primary",ghost:!0,className:xe.buttonEdit,onClick:()=>{mr(!1)}},"\u53D6\u6D88"))):!!(Ma!=null&&Ma.description)&&z.createElement("div",{ref:Ha,className:xe.maskWrap,style:vn()},z.createElement("div",{className:xe.desHead},z.createElement("img",{src:ye,width:94})),z.createElement(Ee.Z,{className:xe.md,value:(Ma==null?void 0:Ma.description)||""}),fr===2&&z.createElement("div",{className:xe.mask},z.createElement("div",{onClick:()=>So(3)},"\u5C55\u5F00",z.createElement("i",{className:"iconfont icon-zhankai4"}))),fr===3&&z.createElement("div",{className:xe.mask,style:{position:"relative",height:30,background:"transparent",paddingTop:5}},z.createElement("div",{onClick:()=>So(2)},"\u6536\u8D77",z.createElement("i",{className:"iconfont icon-shouqi5"}))))),(0,Be.dE)()&&!!(Ma!=null&&Ma.group_name)&&z.createElement("div",{className:xe.info},z.createElement("img",{src:`${ge.Z.IMG_SERVER}/images/${(In=Ma==null?void 0:Ma.user)==null?void 0:In.image_url}`}),z.createElement("div",{className:"ml20",style:{alignItems:"start"}},z.createElement("b",null,(Ma==null?void 0:Ma.name)||""),z.createElement("span",{title:(Ma==null?void 0:Ma.group_name)||"",style:{maxWidth:"130px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-all"}},(Ma==null?void 0:Ma.group_name)||"")),z.createElement(nt.Z,{title:z.createElement(z.Fragment,null,z.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ma==null?void 0:Ma.late_final_score)||0),z.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ma==null?void 0:Ma.late_penalty)||0),z.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ma==null?void 0:Ma.total_score)||0))},z.createElement("div",null,z.createElement("b",null,z.createElement(Ge.n,{value:Ma==null?void 0:Ma.total_score})),z.createElement("span",null,"\u603B\u6210\u7EE9"))),z.createElement("div",null,z.createElement("b",null,(Ma==null?void 0:Ma.total_time)||"-"),z.createElement("span",null,"\u603B\u8017\u65F6")),z.createElement("div",null,z.createElement("b",{style:{color:"#009C0F"}},Ma==null?void 0:Ma.pass_count),z.createElement("span",null,"\u5DF2\u901A\u8FC7\u6570")),z.createElement("div",null,z.createElement("b",{style:{color:"#FA6400"}},Ma==null?void 0:Ma.doing_count),z.createElement("span",null,"\u8FDB\u884C\u4E2D")),z.createElement("div",null,z.createElement("b",{style:{color:"#E30000"}},Ma==null?void 0:Ma.not_pass_count),z.createElement("span",null,"\u672A\u7B54\u9898\u6570"))),!((Ua=Tn.homework_status)!=null&&Ua.includes("\u5BFC\u5165"))&&z.createElement("div",null,z.createElement("section",{className:" edu-container",style:{padding:"20px",background:"#fff"}},(0,Be.GJ)()&&z.createElement("div",{style:{marginBottom:"10px",fontSize:"12px"}},"\u53EF\u9F20\u6807\u62D6\u62FD\u201C ",z.createElement(mt.Z,null)," \u201D\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"),Da.defaultExpandedRowKeys&&z.createElement(De.LB,{modifiers:[Ue.DL],onDragEnd:na},z.createElement(Ke.Fo,{items:(hn=Ma==null?void 0:Ma.data)==null?void 0:hn.map(_n=>_n==null?void 0:_n.identifier),strategy:Ke.qw},z.createElement(Te.default,{components:{body:{row:qe}},dataSource:Ma==null?void 0:Ma.data,rowKey:_n=>_n==null?void 0:_n.identifier,pagination:!1,expandable:{expandIcon:({expanded:_n,onExpand:ya,record:wr})=>_n?z.createElement(nt.Z,{title:"\u6536\u8D77"},z.createElement(ft.Z,{className:xe.upDownSty,onClick:Fr=>ya(wr,Fr)})):z.createElement(nt.Z,{title:"\u5C55\u5F00"},z.createElement(Rt.Z,{className:xe.upDownSty,onClick:Fr=>ya(wr,Fr)})),expandedRowRender:_n=>{var ya;return z.createElement("div",{style:{padding:"10px 0px 10px 48px",borderRadius:2}},z.createElement("div",{style:{overflow:"auto",maxHeight:300}},z.createElement("p",null,"\u9898\u76EE\uFF1A",_n==null?void 0:_n.name),z.createElement("p",null,"\u63CF\u8FF0\uFF1A",z.createElement(Ee.Z,{value:(_n==null?void 0:_n.description)||""})),!(0,Be.dE)()&&z.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",z.createElement(Ee.Z,{style:{fontSize:"14px"},value:(_n==null?void 0:_n.analysis)||"\u6682\u65E0\u89E3\u6790"}))),z.createElement("div",{style:{width:"100%",textAlign:"end"}},(tr==null?void 0:tr.hack_edit_permission)&&z.createElement(Ne.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${_n==null?void 0:_n.identifier}?type=1`),localStorage.setItem("program_homework",[Da.coursesId,Da.categoryId])}},"\u7F16\u8F91"),(tr==null?void 0:tr.hack_edit_permission)&&((ya=Ma==null?void 0:Ma.homework_status)==null?void 0:ya.includes("\u672A\u53D1\u5E03"))&&z.createElement(Ne.ZP,{className:"mt20",type:"primary",style:{marginLeft:20},ghost:!0,onClick:()=>{be.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u786E\u8BA4\u5220\u9664",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Kt(void 0,null,function*(){let wr=yield(0,se.ZP)(`/api/problems/${_n==null?void 0:_n.identifier}.json`,{method:"delete"});(wr==null?void 0:wr.status)===0&&(Ie.ZP.info("\u5220\u9664\u6210\u529F"),Da.page=1,Do())})})}},"\u5220\u9664")))},defaultExpandedRowKeys:Da.defaultExpandedRowKeys},columns:(Za=[(0,Be.GJ)()&&{key:"sort",align:"center",width:40,render:()=>z.createElement(Re,null)},{title:"\u5E8F\u53F7",dataIndex:"index",ellipsis:!0,key:"index",width:55,render:(_n,ya,wr)=>`${(Da.page-1)*Da.per_page+wr+1}`},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,key:"name"},((0,Be.dE)()||(Ma==null?void 0:Ma.show_score))&&{title:"\u5206\u503C",dataIndex:"hack_score",key:"hack_score",width:100},{title:"\u96BE\u5EA6",dataIndex:"difficult",key:"difficult",width:100,ellipsis:!0,render(_n,ya,wr){return z.createElement("div",null,Hn[_n])}},{title:"\u901A\u8FC7\u7387",dataIndex:"pass_rate",key:"pass_rate",width:100,ellipsis:!0},(0,Be.dE)()&&{title:"\u5F97\u5206",dataIndex:"score",key:"score",render:_n=>{let ya="",wr=Number(_n);return wr>=0&&wr<=60?ya="c-red":wr>=90?ya="c-green":wr>60?ya="c-orange":ya="",z.createElement("span",{className:ya},_n)}},(0,Be.dE)()&&{title:"\u8017\u65F6",dataIndex:"time",key:"time",ellipsis:!0,width:100},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",ellipsis:!0,key:"tag_discipline",width:200,render:(_n,ya)=>z.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},_n||"--")},(0,Be.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(_n){return z.createElement(z.Fragment,null,_n===0&&z.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),_n===1&&z.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),_n===2&&z.createElement("span",{style:{color:"#009C0F"}},"\u5DF2\u901A\u8FC7"))}},{title:"\u64CD\u4F5C",dataIndex:"identifier",key:"identifier",width:(0,Be.GJ)()?280:146,align:"right",render(_n,ya,wr){return z.createElement("div",null,(0,Be.GJ)()&&z.createElement(Ne.ZP,{type:"link",style:{marginRight:"5px"},loading:Yr,onClick:()=>Kt(this,null,function*(){Oa(ya==null?void 0:ya.id)})},"\u52A0\u5165\u8BD5\u9898\u5E93"),z.createElement("a",{onClick:()=>{var Fr;if((0,Be.Rm)()&&!((Fr=Ht.AssistantObject.hack)!=null&&Fr.can_question_eaderboard)){Ie.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}window.open(`/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/${_n}/ranking`)}},"\u6392\u884C"),z.createElement("a",{onClick:()=>Kt(this,null,function*(){let Fr=yield(0,se.ZP)(`/api/problems/${ya==null?void 0:ya.identifier}/start.json`,{method:"get"});Fr&&(window.open(`/myproblems/${Fr==null?void 0:Fr.identifier}?type=1&backUrl=/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Da.coursesId,Da.categoryId]))}),className:"ml20"},(0,Be.GJ)()?"\u4F53\u9A8C":"\u8FDB\u5165\u7B54\u9898"),(tr==null?void 0:tr.hack_edit_permission)&&z.createElement("a",{className:"ml20",onClick:()=>Kt(this,null,function*(){window.open(`/problems/newedit/${ya==null?void 0:ya.identifier}?type=1`),localStorage.setItem("program_homework",[Da.coursesId,Da.categoryId])})},"\u7F16\u8F91"))}}])==null?void 0:Za.filter(_n=>!!_n)})))),z.createElement("aside",{style:{padding:"0 20px 20px 20px"}},z.createElement(Pe.Z,{defaultCurrent:1,total:Ma==null?void 0:Ma.count,hideOnSinglePage:!0,showTotal:_n=>z.createElement("span",null,"\u5171",_n,"\u6761"),current:Da.page||1,pageSize:Da.per_page||10,onChange:(_n,ya)=>{Da.page=_n,Da.per_page=ya,Io(Fe({},Da)),Do()}})))),z.createElement(oe,null))};var Le=(0,he.connect)(({shixunHomeworks:Ut,classroomList:Ht,loading:Zt,user:ba,globalSetting:Va})=>({shixunHomeworks:Ut,globalSetting:Va,classroomList:Ht,user:ba,loading:Zt.effects}))(tt),ht=te(78241),gt=te(95237),Oe=te(43604),ve=te(92832),We=te(24905),Ve=te(77740),we=te(59301),pt=Object.defineProperty,et=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,st=(Ut,Ht,Zt)=>Ht in Ut?pt(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,xt=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))jt.call(Ht,Zt)&&st(Ut,Zt,Ht[Zt]);if(et)for(var Zt of et(Ht))Se.call(Ht,Zt)&&st(Ut,Zt,Ht[Zt]);return Ut},Ae=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});const _e=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt,classroomList:ba})=>{var Va;const Fa=(0,he.useParams)(),[In,Ua]=(0,z.useState)(xt(xt({},{page:1,limit:20,group_ids:[]}),Fa)),hn=(0,he.useLocation)(),{codeReview:Za}=Ut,[Da,Io]=(0,z.useState)({}),[Ma]=ht.default.useForm();In.order="code_rate",In.sort="desc",In.category=In.categoryId,(0,z.useEffect)(()=>{$o(),console.log("params",In)},[In]),(0,z.useEffect)(()=>{Ut.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&$o()},[Ut.actionTabs.key]);const $o=()=>Ae(void 0,null,function*(){(yield Zt({type:"shixunHomeworks/getCodeReview",payload:xt({},In)})).status===-2&&setTimeout(()=>$o(),1500)}),Si=()=>{},Ko=(Pr,Qn)=>{In.page=Pr,In.limit=20,Zt({type:"shixunHomeworks/getCodeReview",payload:xt({},In)})},Sr=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(Pr,Qn,ao)=>In.limit*(In.page-1)+ao+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:Pr=>we.createElement("span",{className:"c-orange"},Pr)},{title:"\u64CD\u4F5C",dataInex:"action",render:(Pr,Qn)=>we.createElement("div",null,we.createElement("a",{onClick:()=>{var ao;if((0,Be.Rm)()&&!((ao=ba.AssistantObject.hack)!=null&&ao.can_view)){Ie.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}window.open(`/classrooms/${In.coursesId}/program_homework/${In.categoryId}/review_detail/${Qn.user_id}`)}},"\u67E5\u770B"),we.createElement("br",null))}];return we.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(Za==null?void 0:Za.status)===-2&&we.createElement(Ve.Z,{customText:"\u6B63\u5728\u8FDB\u884C\u4EE3\u7801\u67E5\u91CD\uFF0C\u8BF7\u7A0D\u5019\u3002\u67E5\u91CD\u7ED3\u675F\u540E\uFF0C\u9875\u9762\u5C06\u81EA\u52A8\u66F4\u65B0\u663E\u793A\u7ED3\u679C"}),(Za==null?void 0:Za.status)!==-2&&we.createElement("div",null,we.createElement(gt.Z,null,we.createElement(Oe.Z,{flex:"1"},we.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",Za.last_review_time,we.createElement(Ne.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{Zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:In}})}},"\u4EE3\u7801\u67E5\u91CD"))),we.createElement(Oe.Z,null,we.createElement(ve.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:Pr=>{In.search=Pr,Zt({type:"shixunHomeworks/getCodeReview",payload:In})},style:{width:200}}),we.createElement("span",{className:"ml5 c-red"}))),((Va=Za.group_info)==null?void 0:Va.length)>0&&we.createElement(we.Fragment,null,we.createElement(gt.Z,null,we.createElement(Oe.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),we.createElement(Oe.Z,{flex:"80px"},we.createElement(We.default,{checked:In.group_ids=="",value:"all",onChange:Pr=>{delete In.group_ids,In.group_ids=[],In.page=1,Ua(xt({},In))}},"\u5168\u90E8")),we.createElement(Oe.Z,{flex:"1"},Za.group_info&&Za.group_info.map((Pr,Qn)=>we.createElement(We.default,{style:{marginLeft:0},value:Pr.id,checked:In.group_ids.includes(Pr.id),onChange:ao=>{ao.target.checked?In.group_ids.push(Pr.id):In.group_ids.splice(In.group_ids.indexOf(Pr.id),1),In.page=1,Ua(xt({},In))}},Pr.name,"(",Pr.members_count,")")))),we.createElement(gt.Z,{className:"font14 c-red mt5"},we.createElement(Oe.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),we.createElement("p",{className:"mt10"},we.createElement("span",{className:"c-red"},Za.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",Za.all_reviews_count,"\u4F5C\u54C1\uFF09"),we.createElement(Te.default,{className:"mt30",loading:Ht["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:Za.users_reviews,columns:Sr,onChange:(Pr,Qn,ao)=>{ao.order==="ascend"&&(In.b_order="asc"),ao.order==="descend"&&(In.b_order="desc"),ao.order||delete In.b_order,Zt({type:"shixunHomeworks/getCodeReview",payload:xt({},In)})}}),we.createElement("aside",{className:"tc mb50 mt30"},we.createElement(Pe.Z,{showSizeChanger:!1,onChange:Ko,defaultCurrent:In.page||1,current:In.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:Za.copy_reviews_count}))))};var ct=(0,he.connect)(({shixunHomeworks:Ut,classroomList:Ht,loading:Zt})=>({shixunHomeworks:Ut,classroomList:Ht,loading:Zt.effects}))(_e),wt=te(4274),zt=te(5083),mn=te(57809),dt=te(5112),Dt=te(5871),yt=te(32134),en=te(12893),Vt=te(89392),un={flex_box_center:"flex_box_center___pegyD",flex_space_between:"flex_space_between___OEf74",flex_box_vertical_center:"flex_box_vertical_center___Gg0ks",flex_box_center_end:"flex_box_center_end___ZDNgp",flex_box_column:"flex_box_column___kUnuF",form:"form___dWO2F",title:"title___tyrHF",content:"content____AOnH",pubColSty:"pubColSty___jjxFz",selectSty:"selectSty___RPIyk",borderSty:"borderSty___NbRdH",delSty:"delSty___Yap2B",delBorder:"delBorder___iWzM8",copHover:"copHover___DYJF8"},Vn=te(61822),fn=te(53051),an=te(2281),Un=te(73466),_t=te(59301),Tt=Object.defineProperty,Xt=Object.defineProperties,Ea=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,La=(Ut,Ht,Zt)=>Ht in Ut?Tt(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,Ar=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))Mn.call(Ht,Zt)&&La(Ut,Zt,Ht[Zt]);if(qn)for(var Zt of qn(Ht))Ga.call(Ht,Zt)&&La(Ut,Zt,Ht[Zt]);return Ut},Cr=(Ut,Ht)=>Xt(Ut,Ea(Ht)),Qa=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});const{RangePicker:rt}=zt.default,{Option:Mt}=mn.default,Ft=({shixunHomeworks:Ut,user:Ht,loading:Zt,classroomList:ba,dispatch:Va})=>{var Fa,In,Ua,hn,Za,Da,Io,Ma,$o,Si,Ko,Sr;const Pr=(0,he.useParams)(),{workSetting:Qn,workList:ao,changeData:oi}=Ut,[ha,ca]=(0,z.useState)(!0),[eo,Ai]=(0,z.useState)(!1);let[Tn,tr]=(0,z.useState)([]),[aa,nn]=(0,z.useState)([]);const Wn=(0,z.useRef)(!0);let[Cn,$r]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_minus_score:0,penalty_type:Vn.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,send_type:void 0,difficult_count:[],difficult_settings:[],late_penalty:0});(0,z.useEffect)(()=>(mr(),()=>{tr([])}),[]);const mr=()=>{Va({type:"shixunHomeworks/getWorkSetting",payload:Ar({},Pr)})};(0,z.useEffect)(()=>{var vn,na;((0,Be.G5)()||(0,Be.Rm)()&&((vn=ba.AssistantObject.hack)!=null&&vn.can_late||(na=ba.AssistantObject.hack)!=null&&na.can_publish))&&ca(!1)},[Ht,ba]),(0,z.useEffect)(()=>{if(!(Qn!=null&&Qn.course_id)||!Wn.current)return;Wn.current=!1,Object.keys(Cn).map(function(na){Cn[na]=Qn[na]}),(!Cn.allow_late||!Cn.unified_late)&&(Cn.late_minus_score=20,Cn.penalty_type=Vn.Q.Percent),Cn.unified_setting||(Cn.unified_late=!1,Cn.unified_anonymous_comment=!1,Cn.unified_anonymous_appeal=!1),Tn=JSON.parse(JSON.stringify(Qn.group_settings.map(na=>Cr(Ar({},na),{group_name:[na.group_name]})).filter(na=>na.publish_time!==null))),aa=JSON.parse(JSON.stringify(Qn.allow_late_settings.map(na=>Cr(Ar({},na),{group_name:[na.group_name]})).filter(na=>na.late_time!==null))),Cn.difficult_settings.length===0&&(Cn.difficult_settings=[0,0,0]),$r(Ar({},Cn));const vn=(0,Me.QE)((Tn==null?void 0:Tn.length)>0?Tn:[]);tr([...vn]),(aa==null?void 0:aa.length)<=0?nn([{late_minus_score:20}]):nn([...aa])},[Qn]);const Tr=()=>{var vn;if(((vn=Ht==null?void 0:Ht.userInfo)==null?void 0:vn.user_status)===2){(0,an.Rd)();return}const na=JSON.parse(JSON.stringify(Cn));if(na.categoryId=Pr.categoryId,Cn.unified_setting||(Tn=Tn==null?void 0:Tn.map(Oa=>{var _n;if(!Oa.publish_time||!Oa.end_time)throw Ie.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(!Oa.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Oa.group_name=typeof(Oa==null?void 0:Oa.group_name)=="string"?[Oa==null?void 0:Oa.group_name]:Oa==null?void 0:Oa.group_name,Oa.group_id=(_n=Qn.group_settings)==null?void 0:_n.filter(ya=>{var wr;return(wr=Oa==null?void 0:Oa.group_name)==null?void 0:wr.includes(ya.group_name)}).map(ya=>ya.group_id||ya.id).toString().split(","),Oa})),na.group_settings=Tn,Cn.allow_late)if(Cn.unified_late){if(Cn.late_minus_score===null||Cn.late_minus_score===void 0||Cn.late_minus_score<0||Cn.late_minus_score>100)throw Ie.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(!Cn.late_time)throw Ie.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 aa=aa==null?void 0:aa.map(Oa=>{var _n,ya;if(Oa.late_minus_score===null||Oa.late_minus_score===void 0||Oa.late_minus_score<0||Oa.late_minus_score>100)throw Ie.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(!Oa.late_time)throw Ie.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(!Oa.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Oa.group_name=typeof(Oa==null?void 0:Oa.group_name)=="string"?[Oa==null?void 0:Oa.group_name]:Oa==null?void 0:Oa.group_name,Oa.group_id=(ya=(_n=Oa==null?void 0:Oa.group_name)==null?void 0:_n.map(wr=>{var Fr,Co;let qo=(Co=(Fr=Qn.group_settings)==null?void 0:Fr.filter(Di=>(Di==null?void 0:Di.group_name)===wr))==null?void 0:Co[0];return qo==null?void 0:qo.group_id}))==null?void 0:ya.toString().split(","),Oa}),na.allow_late_settings=aa;na.send_type===1&&(na.difficult_settings=na.difficult_settings.map(Oa=>Oa||0)),Jo(na)},Jo=vn=>{var na;if(vn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(vn!=null&&vn.work_efficiency&&vn.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Oa={shixun_evaluation:vn.shixun_evaluation,challenge_settings:vn.challenge_settings},_n=()=>Qa(void 0,null,function*(){Ai(!0),(yield(0,se.ZP)(`/api/homework_commons/${Pr.categoryId}/publish_setting.json`,{method:"post",body:Ar({},vn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),mr(),Va({type:"shixunHomeworks/getWorkList",payload:Ar({},Pr)})),Ai(!1)});!(0,Vt.isEqual)(oi,Oa)&&!((na=ao==null?void 0:ao.homework_status)!=null&&na.includes("\u672A\u53D1\u5E03"))?be.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:_n}):_n()},fr=(vn,na,Oa="group_id")=>{var _n;return na?na.find(ya=>ya[Oa]===vn):(_n=Qn==null?void 0:Qn.group_settings)==null?void 0:_n.find(ya=>ya.group_id[0]===vn)},So=(Qn==null?void 0:Qn.allow_late)||(Qn==null?void 0:Qn.anonymous_comment),Ha=vn=>{var na,Oa;const _n=fr(vn,Qn==null?void 0:Qn.allow_late_settings,"id"),ya=fr(vn,Qn==null?void 0:Qn.anonymous_comment_settings),wr=fr(vn);return(Qn==null?void 0:Qn.allow_late)&&_n&&ue()(_n==null?void 0:_n.late_time)<=ue()()||(Qn==null?void 0:Qn.anonymous_comment)&&ya&&(ya==null?void 0:ya.evaluation_start)!==null||((Oa=(ue()(wr==null?void 0:wr.end_time)<=ue()()&&((na=Qn==null?void 0:Qn.allow_late_settings)==null?void 0:na.filter(Fr=>Fr.group_id.includes(vn))))[0])==null?void 0:Oa.late_time)!=null},Yr=Qn==null?void 0:Qn.anonymous_comment,mo=vn=>{if(!vn)return!1;const na=fr(vn,Qn==null?void 0:Qn.anonymous_comment_settings);return(Qn==null?void 0:Qn.anonymous_comment)&&na&&(na==null?void 0:na.evaluation_start)!==null},Do=(vn,na)=>{var Oa,_n,ya;Va({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:vn,index:na,rangePickerDisabled:ha||(ue()()<=ue()((_n=fr((Oa=vn==null?void 0:vn.group_id)==null?void 0:Oa[0]))==null?void 0:_n.publish_time)?!1:[!0,Ha((ya=vn==null?void 0:vn.group_id)==null?void 0:ya[0])]),disabledDate:Qn==null?void 0:Qn.course_end_date}})};return _t.createElement("section",{className:un.form},_t.createElement("div",{className:un.title},"\u8BD5\u9898\u53D1\u5E03",_t.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")),_t.createElement("div",{className:un.content},_t.createElement(dt.ZP.Group,{disabled:ha||!((Fa=ao==null?void 0:ao.homework_status)!=null&&Fa.includes("\u672A\u53D1\u5E03"))||!((In=ba.AssistantObject.hack)!=null&&In.can_publish)&&(0,Be.Rm)(),value:Cn.send_type,onChange:vn=>{Cn.send_type=vn.target.value,$r(Object.assign({},Cn))}},_t.createElement(dt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),_t.createElement(dt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),Cn.send_type===1&&_t.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff"}},_t.createElement(gt.Z,{style:{marginLeft:"165px"}},_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",_t.createElement(Dt.Z,{size:"large",precision:0,disabled:ha||!((Ua=ao==null?void 0:ao.homework_status)!=null&&Ua.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Cn.difficult_count[0]||0}`,min:0,max:Cn.difficult_count[0]||0,value:Cn.difficult_settings[0],onChange:vn=>{Cn.difficult_settings[0]=vn,$r(Object.assign({},Cn))},className:"ml10 mr20",style:{width:120}})),_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",_t.createElement(Dt.Z,{size:"large",precision:0,disabled:ha||!((hn=ao==null?void 0:ao.homework_status)!=null&&hn.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Cn.difficult_count[1]||0}`,min:0,max:Cn.difficult_count[1]||0,value:Cn.difficult_settings[1],onChange:vn=>{Cn.difficult_settings[1]=vn,$r(Object.assign({},Cn))},className:"ml10 mr20",style:{width:120}})),_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",_t.createElement(Dt.Z,{size:"large",precision:0,disabled:ha||!((Za=ao==null?void 0:ao.homework_status)!=null&&Za.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Cn.difficult_count[2]||0}`,min:0,max:Cn.difficult_count[2]||0,value:Cn.difficult_settings[2],onChange:vn=>{Cn.difficult_settings[2]=vn,$r(Object.assign({},Cn))},className:"ml10 mr20",style:{width:120}})))),_t.createElement("div",{className:`${un.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",_t.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u53D1\u5E03\u65B9\u5F0F\uFF09")),_t.createElement("div",{className:un.content},_t.createElement(dt.ZP.Group,{disabled:ha||!((Da=ao==null?void 0:ao.homework_status)!=null&&Da.includes("\u672A\u53D1\u5E03"))||!((Io=ba.AssistantObject.hack)!=null&&Io.can_publish)&&(0,Be.Rm)(),value:Cn.unified_setting,onChange:vn=>{var na;if(!((na=ao==null?void 0:ao.homework_status)!=null&&na.includes("\u672A\u53D1\u5E03"))){Ie.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Cn.unified_setting=!Cn.unified_setting,Cn.unified_setting||(Cn.unified_late=!1),$r(Object.assign({},Cn)),Cn.unified_setting===!1&&Tn==""){tr(Tn.concat({}));return}Cn.unified_setting&&(tr([]),nn([{late_minus_score:5}]))}},_t.createElement(dt.ZP,{value:!0,disabled:!(Qn!=null&&Qn.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),_t.createElement(dt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((Ma=Qn==null?void 0:Qn.group_settings)==null?void 0:Ma.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),(($o=Qn==null?void 0:Qn.group_settings)==null?void 0:$o.length)===0&&_t.createElement("p",{style:{marginLeft:"14px",color:"rgba(0, 0, 0, 0.25)"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),_t.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff"}},Cn.unified_setting&&_t.createElement(gt.Z,{align:"middle",className:"ml25"},_t.createElement(gt.Z,{align:"middle"},_t.createElement(Oe.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),_t.createElement(Oe.Z,{className:"ml10"},_t.createElement(zt.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,size:"large",format:"YYYY-MM-DD HH:mm",disabledDate:vn=>(0,fn.Q8)(vn,Qn==null?void 0:Qn.course_end_date),disabledTime:vn=>(0,fn.d0)(vn),disabled:ha||ue()()>=ue()(Qn==null?void 0:Qn.publish_time)||!((Si=ba.AssistantObject.hack)!=null&&Si.can_publish)&&(0,Be.Rm)(),value:Cn.publish_time?ue()(Cn.publish_time):"",onChange:(vn,na)=>{Cn.publish_time=na,(Cn.end_time==""||!Cn.end_time)&&Cn.unified_setting&&(Cn.end_time=ue()(vn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),$r(Object.assign({},Cn))}}))),_t.createElement(gt.Z,{align:"middle",style:{marginLeft:40}},_t.createElement(Oe.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),_t.createElement(Oe.Z,{className:"ml10"},_t.createElement(zt.default,{style:{width:170},allowClear:!1,size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Qn==null?void 0:Qn.allow_late)&&(Qn==null?void 0:Qn.homework_status.includes("\u5DF2\u622A\u6B62"))||ha||(Qn==null?void 0:Qn.allow_late)&&ue()()>=ue()(Qn==null?void 0:Qn.end_time)||!((Ko=ba.AssistantObject.hack)!=null&&Ko.can_publish)&&(0,Be.Rm)(),disabledDate:vn=>(0,fn.Q8)(vn,Qn==null?void 0:Qn.course_end_date,Cn.publish_time),disabledTime:vn=>(0,fn.d0)(vn,Cn.publish_time),value:Cn.end_time?ue()(Cn.end_time):"",onChange:(vn,na)=>{Cn.end_time=na,$r(Object.assign({},Cn))}})))),!Cn.unified_setting&&(Tn==null?void 0:Tn.length)>0&&_t.createElement(gt.Z,{className:"ml25"},Tn&&Tn.map(function(vn,na){var Oa,_n,ya,wr;return _t.createElement(Oe.Z,{className:na!==0&&"mt20",span:24,key:na},_t.createElement(gt.Z,{gutter:[0,16]},_t.createElement(Oe.Z,{span:8},_t.createElement(gt.Z,{gutter:[8,16],align:"middle"},_t.createElement(Oe.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",na+1),_t.createElement(Oe.Z,{flex:"1",style:{maxWidth:300}},_t.createElement(mn.default,{size:"large",disabled:ha||((Oa=Qn==null?void 0:Qn.homework_status)!=null&&Oa.includes("\u672A\u53D1\u5E03")&&vn.id||ue()()<ue()(vn==null?void 0:vn.publish_time)?!1:!!(vn!=null&&vn.publish_time)),mode:"multiple",className:`${un.selectSty}`,style:{width:250},value:vn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Fr=>{var Co;if(!((Co=ba.AssistantObject.hack)!=null&&Co.can_publish)&&(0,Be.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Tn[na].group_name=Fr,Tn[na].group_id=vn.group_id;const qo=(0,Vt.flattenDeep)(Tn.map(Hi=>Hi.group_name)),Di=aa.map(Hi=>{let qi=(Hi==null?void 0:Hi.group_name)||[];return Cr(Ar({},Hi),{group_name:(0,Vt.remove)(qi,wl=>qo.includes(wl))})});nn(Di),tr(Tn.slice())},maxTagCount:4,maxTagPlaceholder:Fr=>_t.createElement("div",{style:{cursor:"pointer"},onClick:()=>Do(vn,na)},"+",Fr==null?void 0:Fr.length)},Qn.group_settings&&Qn.group_settings.map(function(Fr){if(!Tn.map(Co=>Co.group_name).toString().split(",").includes(String(Fr.group_name)))return _t.createElement(Mt,{value:Fr.group_name,key:Fr.id},Fr.group_name)}))))),_t.createElement(Oe.Z,{span:14,style:{display:"flex",alignItems:"center"}},_t.createElement(rt,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[vn.publish_time?ue()(vn.publish_time):ue()(),ue()()]},disabled:ha||(ue()()<=ue()((_n=fr(vn.id))==null?void 0:_n.publish_time)?!1:[!0,Ha(vn.id)]),style:{width:605,marginLeft:10},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:Fr=>(0,fn.Q8)(Fr,Qn==null?void 0:Qn.course_end_date),disabledTime:Fr=>(0,fn.d0)(Fr),showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:vn.publish_time&&[ue()(vn.publish_time),vn.end_time?ue()(vn.end_time):void 0],onChange:(Fr,Co)=>{var qo;if(!((qo=ba.AssistantObject.hack)!=null&&qo.can_publish)&&(0,Be.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Tn[na].publish_time=Co[0],!vn.end_time&&Co[0]?Tn[na].end_time=ue()(Co[0]).add(7,"days"):Tn[na].end_time=Co[1],tr([...Tn])},onCalendarChange:(Fr,Co,qo)=>{if(Co!=null&&Co[0]&&!Co[1]){const Di=ue()(Co[0]).add(7,"days");Tn[na].publish_time=Co[0],Tn[na].end_time=Di,tr([...Tn])}}})),!ha&&_t.createElement(Oe.Z,{span:2,style:{display:"flex",alignItems:"center"}},((ya=vn==null?void 0:vn.group_id)==null?void 0:ya.length)>1&&_t.createElement(nt.Z,{title:"\u89C4\u5219\u62C6\u5206"},_t.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>Do(vn,na)})),Tn.length<((wr=Qn==null?void 0:Qn.group_settings)==null?void 0:wr.length)&&_t.createElement(yt.Z,{className:"c-green ml10 mr10",onClick:()=>{tr(Tn.concat({}))}}),((vn==null?void 0:vn.publish_time)&&ue()()<ue()(vn==null?void 0:vn.publish_time)||!(vn!=null&&vn.publish_time))&&na!=0&&_t.createElement(en.Z,{style:{color:"#E30000"},onClick:()=>{var Fr;if(!((Fr=ba.AssistantObject.hack)!=null&&Fr.can_publish)&&(0,Be.Rm)()){Ie.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}const Co=(0,Vt.cloneDeep)(aa);Co.forEach((qo,Di)=>{qo.group_name&&(qo.group_name=qo.group_name.filter(Hi=>{var qi;return!((qi=Tn[na].group_name)!=null&&qi.includes(Hi))}))}),nn(Co),Tn=Tn.filter((qo,Di)=>na!==Di),tr(Tn.slice()),setTimeout(()=>tr(Tn.slice()),10)}}))))}))),_t.createElement("div",{className:`${un.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",_t.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")),_t.createElement("div",{className:un.content},_t.createElement(gt.Z,null,_t.createElement(We.default,{checked:Cn.allow_late,disabled:ha||(Qn==null?void 0:Qn.allow_late),onChange:vn=>{var na;if(!((na=ba.AssistantObject.hack)!=null&&na.can_late)&&(0,Be.Rm)()){Ie.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}vn.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:_t.createElement("div",{style:{padding:10,background:"#f5f6f9"}},_t.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"),_t.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),_t.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"))}),Cn.allow_late=!Cn.allow_late,aa==""&&nn([{late_minus_score:5}]),$r(Object.assign({},Cn))}},_t.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(Cn==null?void 0:Cn.allow_late)&&_t.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},_t.createElement("div",null,_t.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),_t.createElement(dt.ZP.Group,{disabled:ha||(Qn==null?void 0:Qn.anonymous_comment)||(Qn==null?void 0:Qn.allow_late),value:Cn.unified_late,onChange:vn=>{var na;if((0,Be.Rm)()&&!((na=ba.AssistantObject.hack)!=null&&na.can_late)){Ie.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.unified_late=vn.target.value,aa==""&&!vn.target.value&&nn([{late_minus_score:5}]),$r(Ar({},Cn))}},(Cn==null?void 0:Cn.unified_setting)&&_t.createElement(dt.ZP,{value:!0,style:{color:"#333333"},disabled:!(Qn!=null&&Qn.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((Sr=Qn==null?void 0:Qn.group_settings)==null?void 0:Sr.length)&&_t.createElement(dt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),Cn!=null&&Cn.unified_late?_t.createElement(_t.Fragment,null,_t.createElement(gt.Z,{align:"middle",className:"mt25"},_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),_t.createElement(Oe.Z,{className:"ml5"},_t.createElement(Vn.Z,{disabled:ha||Yr,value:{type:Cn.penalty_type,inputValue:Cn.late_minus_score},onChange:vn=>{var na;if((0,Be.Rm)()&&!((na=ba.AssistantObject.hack)!=null&&na.can_late)){Ie.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}$r(Cr(Ar({},Cn),{late_minus_score:vn.inputValue,penalty_type:vn.type}))}})),_t.createElement(Oe.Z,{flex:"1",className:"ml5"},_t.createElement("span",{className:"c-grey-c ml10"},Cn.penalty_type===Vn.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)"))),_t.createElement(gt.Z,{align:"middle",className:"mt25"},_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),_t.createElement(Oe.Z,{className:"ml5"},_t.createElement(zt.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:ha||Yr,value:Cn.late_time?ue()(Cn.late_time):"",disabledDate:vn=>(0,fn.Q8)(vn,Qn==null?void 0:Qn.course_end_date),disabledTime:vn=>(0,fn.d0)(vn),onChange:(vn,na)=>{var Oa;if((0,Be.Rm)()&&!((Oa=ba.AssistantObject.hack)!=null&&Oa.can_late)){Ie.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.late_time=na,$r(Object.assign({},Cn))}})),_t.createElement(Oe.Z,null,_t.createElement("span",{className:"c-grey-c ml10"},"(\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9)")))):aa.map(function(vn,na){var Oa;return _t.createElement(Oe.Z,{span:24,key:na},_t.createElement(gt.Z,{className:"mt25",align:"middle"},_t.createElement(Oe.Z,null,_t.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",na+1,"\uFF1A"),_t.createElement(mn.default,{size:"large",disabled:ha||!((Oa=ao==null?void 0:ao.homework_status)!=null&&Oa.includes("\u672A\u53D1\u5E03"))&&vn.id||(Qn==null?void 0:Qn.anonymous_comment),mode:"multiple",className:`${un.selectSty}`,style:{width:200},value:typeof vn.group_name=="string"?[vn.group_name]:vn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:_n=>{var ya;if((0,Be.Rm)()&&!((ya=ba.AssistantObject.hack)!=null&&ya.can_late)){Ie.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}aa[na].group_name=_n,aa[na].group_id=vn.group_id,nn(aa.slice())}},Qn.group_settings&&Qn.group_settings.map(function(_n){if(Cn!=null&&Cn.unified_setting&&!aa.map(ya=>ya.group_name).toString().split(",").includes(String(_n.group_name)))return _t.createElement(Mt,{value:_n.group_name,key:_n.id},_n.group_name);if(Tn.map(ya=>ya.group_name).toString().split(",").includes(String(_n.group_name))&&!aa.map(ya=>ya.group_name).toString().split(",").includes(String(_n.group_name)))return _t.createElement(Mt,{value:_n.group_name,key:_n.id},_n.group_name)}))),_t.createElement(Oe.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},_t.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),_t.createElement(Vn.Z,{disabled:ha||mo(vn.id),value:{type:vn.penalty_type,inputValue:vn.late_minus_score},onChange:_n=>{var ya;if((0,Be.Rm)()&&!((ya=ba.AssistantObject.hack)!=null&&ya.can_late)){Ie.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}aa[na].late_minus_score=_n.inputValue,aa[na].penalty_type=_n.type,nn([...aa])}})),_t.createElement(Oe.Z,{className:"ml20"},_t.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),_t.createElement(zt.default,{size:"large",disabled:ha||mo(vn.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:_n=>(0,fn.Q8)(_n,Qn==null?void 0:Qn.course_end_date),disabledTime:_n=>(0,fn.d0)(_n),format:"YYYY-MM-DD HH:mm",value:vn!=null&&vn.late_time?ue()(vn.late_time):void 0,onChange:(_n,ya)=>{var wr;if((0,Be.Rm)()&&!((wr=ba.AssistantObject.hack)!=null&&wr.can_late)){Ie.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}aa[na].late_time=ya,nn([...aa])}})),!ha&&_t.createElement(Oe.Z,{style:{marginLeft:10}},na>0&&!vn.id&&_t.createElement(en.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{aa=aa.filter((_n,ya)=>na!==ya),nn(aa.slice()),setTimeout(()=>nn(aa.slice()),10)}}),_t.createElement(yt.Z,{className:"c-green",onClick:()=>{var _n;if((0,Be.Rm)()&&!((_n=ba.AssistantObject.hack)!=null&&_n.can_late)){Ie.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}nn(aa.concat({penalty_type:Vn.Q.Percent,late_minus_score:20}))}}))))})),!ha&&_t.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:eo,onClick:()=>Tr()},"\u4FDD\u5B58"),_t.createElement(Un.Z,{onConfirm:(vn,na)=>{Tn.splice(vn,0,...na),Tn.splice(vn+na.length,1);const Oa=(0,Me.QE)([...Tn]);tr([...Oa])}}))};var kn=(0,he.connect)(({shixunHomeworks:Ut,classroomList:Ht,user:Zt,loading:ba})=>({shixunHomeworks:Ut,loading:ba.effects,user:Zt,classroomList:Ht}))(Ft),dn=te(59301),Ln=Object.defineProperty,Xr=Object.defineProperties,Er=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,Nn=(Ut,Ht,Zt)=>Ht in Ut?Ln(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,ur=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))oo.call(Ht,Zt)&&Nn(Ut,Zt,Ht[Zt]);if(Kr)for(var Zt of Kr(Ht))Xa.call(Ht,Zt)&&Nn(Ut,Zt,Ht[Zt]);return Ut},nr=(Ut,Ht)=>Xr(Ut,Er(Ht)),sr=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});function er(Ut,Ht){const Zt=[];for(let ba=Ut;ba<Ht;ba++)Zt.push(ba);return Zt}const vt=Ut=>{let Ht=new Date;const Zt=ue()(Ut).format("HH");if(ue()(Ut).isSame(ue()(Ht),"day")){const ba=ue()(Ht).format("HH"),Va=ue()(Ht).format("mm");return{disabledHours:()=>er(0,24).splice(1,ba*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",Zt,ba),ue()(Ut).isSame(ue()(Ht),"hour")&&Zt<=ba?er(0,60).splice(0,Va):er(60,60))}}else if(ue()(Ut).isSame(ue()(),"day")){const ba=ue()().format("HH"),Va=ue()().format("mm");return{disabledHours:()=>er(0,24).splice(0,ba),disabledMinutes:()=>Zt<=ba?er(0,Va):er(60,60)}}else return},{RangePicker:qt}=zt.default,{Option:tn}=mn.default,Pn=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt})=>{const ba=(0,he.useParams)(),Va=(0,he.useLocation)(),{workSetting:Fa,workList:In,changeData:Ua}=Ut,[hn,Za]=(0,z.useState)(!0),[Da,Io]=(0,z.useState)({}),[Ma,$o]=(0,z.useState)(!1),[Si]=ht.default.useForm();let[Ko,Sr]=(0,z.useState)([]),[Pr,Qn]=(0,z.useState)([]);const[ao,oi]=(0,z.useState)([]),ha=(0,z.useRef)(!0);let[ca,eo]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,open_code:!1,rank_forbidden:!1,hack_analysis:!1,hack_answer:!1,open_code_type:void 0,hack_analysis_type:2,hack_answer_type:1,comment_public:!0,total_score:"",eff_score:0,rank_forbidden_start:"",rank_forbidden_end:"",show_late_code:!0});(0,z.useEffect)(()=>()=>{Sr([])},[]),(0,z.useEffect)(()=>{Fa!=null&&Fa.can_edit&&Za(!1)},[Fa]);const Ai=()=>{Zt({type:"shixunHomeworks/getWorkSetting",payload:ur({},ba)})},Tn=nn=>nn&&nn<ue()().startOf("day");(0,z.useEffect)(()=>{Fa!=null&&Fa.course_id&&ha.current&&(ha.current=!1,Object.keys(ca).map(function(nn){Fa[nn]!==void 0&&(ca[nn]=Fa[nn])}),(!ca.allow_late||!ca.unified_late)&&(ca.late_penalty=5),Ko=JSON.parse(JSON.stringify(Fa.group_settings.map(nn=>nr(ur({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.publish_time!==null))),Pr=JSON.parse(JSON.stringify(Fa.allow_late_settings.map(nn=>nr(ur({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.rank_forbidden_start!==null))),eo(ur({},ca)),console.log(ca,Fa,"data"),Sr([...Ko]),(Pr==null?void 0:Pr.length)<=0?Qn([{}]):Qn([...Pr]))},[Fa]);const tr=()=>{const nn=JSON.parse(JSON.stringify(ca));if(nn.categoryId=ba.categoryId,ca.unified_setting||(Ko=Ko==null?void 0:Ko.map(Wn=>{var Cn;if(!Wn.publish_time||!Wn.end_time)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Wn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Wn.group_name=typeof(Wn==null?void 0:Wn.group_name)=="string"?[Wn==null?void 0:Wn.group_name]:Wn==null?void 0:Wn.group_name,Wn.group_id=(Cn=Fa.group_settings)==null?void 0:Cn.filter($r=>{var mr;return(mr=Wn==null?void 0:Wn.group_name)==null?void 0:mr.includes($r.group_name)}).map($r=>$r.group_id||$r.id).toString().split(","),Wn})),nn.group_settings=Ko,ca.rank_forbidden)if(ca.unified_setting){if(!ca.rank_forbidden_start)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!ca.rank_forbidden_end)throw Ie.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(ue()(ca.rank_forbidden_end)<ue()(ca.rank_forbidden_start))throw Ie.ZP.error("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4"),new String("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4")}else Pr=Pr==null?void 0:Pr.map(Wn=>{var Cn,$r;if(!Wn.rank_forbidden_start)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Wn.rank_forbidden_end)throw Ie.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(!Wn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Wn.group_name=typeof(Wn==null?void 0:Wn.group_name)=="string"?[Wn==null?void 0:Wn.group_name]:Wn==null?void 0:Wn.group_name,Wn.group_id=($r=(Cn=Wn==null?void 0:Wn.group_name)==null?void 0:Cn.map(mr=>{var Tr,Jo;let fr=(Jo=(Tr=Fa.group_settings)==null?void 0:Tr.filter(So=>(So==null?void 0:So.group_name)===mr))==null?void 0:Jo[0];return fr==null?void 0:fr.group_id}))==null?void 0:$r.toString().split(","),Wn}),nn.group_settingss=Pr;aa(nn)},aa=nn=>{if(console.log(nn.total_score,nn.eff_score),nn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(nn!=null&&nn.work_efficiency&&nn.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Wn={shixun_evaluation:nn.shixun_evaluation};sr(void 0,null,function*(){$o(!0),(yield(0,se.ZP)(`/api/homework_commons/${ba.categoryId}/public_setting.json`,{method:"post",body:ur({},nn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),Ai(),Zt({type:"shixunHomeworks/getWorkList",payload:ur({},ba)})),$o(!1)})};return dn.createElement("section",{className:un.form},dn.createElement("div",{className:un.title},"\u516C\u5F00\u8BBE\u7F6E"),dn.createElement("div",{className:un.content,style:{padding:0}},dn.createElement(gt.Z,null,dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(We.default,{checked:ca.score_open,disabled:hn,onChange:nn=>{ca.score_open=nn.target.checked,eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u6210\u7EE9")),dn.createElement("span",{className:"c-grey-666 font14"},"\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")),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:ca.open_code?"none":"1px solid #fff"}},dn.createElement(We.default,{checked:ca.open_code,disabled:hn,onChange:nn=>{ca.open_code=nn.target.checked,nn.target.checked&&(ca.open_code_type=1),eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u4EE3\u7801")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u53EF\u5728\u6392\u884C\u699C\u4E2D\u67E5\u770B\u4ED6\u4EBA\u8BD5\u9898\u901A\u8FC7\u4EE3\u7801\u8BE6\u60C5\uFF09")),!!ca.open_code&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:hn,value:ca.open_code_type,onChange:nn=>{ca.open_code_type=nn.target.value,eo(Object.assign({},ca))}},dn.createElement(dt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),dn.createElement(dt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:ca.rank_forbidden&&ca.unified_setting||!ca.unified_setting&&(Ko==null?void 0:Ko.length)>0&&ca.rank_forbidden?"none":"1px solid #fff"}},dn.createElement(We.default,{checked:ca.rank_forbidden,disabled:hn,onChange:nn=>{ca.rank_forbidden=nn.target.checked,eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14"},"\u5F00\u542F\u5C01\u699C")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u4E0D\u53EF\u67E5\u770B\u6392\u884C\u699C\u4FE1\u606F\u7684\u65F6\u95F4\u6BB5\uFF09")),!!ca.rank_forbidden&&ca.unified_setting&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{height:"50px",lineHeight:"50px"}},dn.createElement("div",{style:{marginLeft:"24px"}},dn.createElement(gt.Z,{align:"middle"},dn.createElement(Oe.Z,null,"\u5F00\u59CB\u65F6\u95F4"),dn.createElement(Oe.Z,{className:"ml10"},dn.createElement(zt.default,{size:"large",style:{width:370},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u5F00\u59CB\u65F6\u95F4\uFF09",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Tn,disabledTime:vt,disabled:hn||ue()()>ue()(Fa.rank_forbidden_start),value:ca.rank_forbidden_start?ue()(ca.rank_forbidden_start):"",onChange:(nn,Wn)=>{ca.rank_forbidden_start=Wn,(ca.end_time==""||!ca.end_time)&&ca.unified_setting&&(ca.end_time=ue()(nn).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),eo(Object.assign({},ca))}})),dn.createElement(Oe.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),dn.createElement(Oe.Z,{className:"ml10"},dn.createElement(zt.default,{size:"large",style:{width:370},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u7ED3\u675F\u65F6\u95F4\uFF09",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:hn,disabledDate:Tn,value:ca.rank_forbidden_end?ue()(ca.rank_forbidden_end):"",onChange:(nn,Wn)=>{ca.rank_forbidden_end=Wn,eo(Object.assign({},ca))}}))))),!ca.unified_setting&&(Ko==null?void 0:Ko.length)>0&&!!ca.rank_forbidden&&dn.createElement(gt.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},Pr.map(function(nn,Wn){var Cn,$r,mr,Tr,Jo,fr,So;return dn.createElement(Oe.Z,{span:24,key:Wn,style:{marginLeft:"24px"}},dn.createElement(gt.Z,{className:"mt10 ml30",align:"middle"},dn.createElement(Oe.Z,null,dn.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",Wn+1,"\uFF1A"),dn.createElement(mn.default,{size:"large",disabled:hn||!((Cn=In==null?void 0:In.homework_status)!=null&&Cn.includes("\u672A\u53D1\u5E03"))&&nn.id,mode:"multiple",className:un.selectSty,style:{width:250},value:typeof nn.group_name=="string"?[nn.group_name]:nn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ha=>{Pr[Wn].group_name=Ha,Pr[Wn].group_id=nn.group_id,Qn(Pr.slice())}},Fa.group_settings&&Fa.group_settings.map(function(Ha){if(ca!=null&&ca.unified_setting&&!Pr.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name)))return dn.createElement(tn,{value:Ha.group_name,key:Ha.id},Ha.group_name);if(Ko.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name))&&!Pr.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name)))return dn.createElement(tn,{value:Ha.group_name,key:Ha.id},Ha.group_name)}))),dn.createElement(Oe.Z,{span:15},dn.createElement("div",{className:"ml20"},dn.createElement(qt,{size:"large",allowClear:!1,disabled:hn||((Tr=(mr=($r=Fa==null?void 0:Fa.group_settings)==null?void 0:$r.filter(Ha=>Ha.id===nn.id))==null?void 0:mr[0])!=null&&Tr.rank_forbidden_start?ue()()<ue()((So=(fr=(Jo=Fa==null?void 0:Fa.group_settings)==null?void 0:Jo.filter(Ha=>Ha.id===nn.id))==null?void 0:fr[0])==null?void 0:So.rank_forbidden_start)?!1:[!0,!1]:!1),style:{width:635},placeholder:["\u5F00\u59CB\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u5F00\u59CB\u65F6\u95F4\uFF09","\u7ED3\u675F\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u7ED3\u675F\u65F6\u95F4\uFF09"],disabledDate:Tn,disabledTime:vt,showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:nn.rank_forbidden_start&&[ue()(nn.rank_forbidden_start),nn.rank_forbidden_end?ue()(nn.rank_forbidden_end):void 0],onChange:(Ha,Yr)=>{Pr[Wn].rank_forbidden_start=Yr[0],Pr[Wn].rank_forbidden_end=Yr[1],Qn([...Pr])}}))),!hn&&dn.createElement(Oe.Z,null,dn.createElement(yt.Z,{className:"c-green",onClick:()=>{Qn(Pr.concat({}))}}),Wn>0&&!nn.id&&dn.createElement(en.Z,{className:"c-red ml10",onClick:()=>{Pr=Pr.filter((Ha,Yr)=>Wn!==Yr),Qn(Pr.slice()),setTimeout(()=>Qn(Pr.slice()),10)}}))))})),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:ca.hack_analysis?"none":"1px solid #fff"}},dn.createElement(We.default,{checked:ca.hack_analysis,disabled:hn,onChange:nn=>{ca.hack_analysis=nn.target.checked,nn.target.checked&&(ca.hack_analysis_type=2),eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u89E3\u6790")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09")),!!ca.hack_analysis&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:hn,value:ca.hack_analysis_type,onChange:nn=>{ca.hack_analysis_type=nn.target.value,eo(Object.assign({},ca))}},dn.createElement(dt.ZP,{value:2,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),dn.createElement(dt.ZP,{style:{marginLeft:60,color:"#333333"},value:0},"\u4EFB\u610F\u65F6\u95F4"),dn.createElement(dt.ZP,{style:{marginLeft:60,color:"#333333"},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:ca.hack_answer?"none":"1px solid #fff"}},dn.createElement(We.default,{checked:ca.hack_answer,disabled:hn,onChange:nn=>{ca.hack_answer=nn.target.checked,nn.target.checked&&(ca.hack_answer_type=1),eo(Object.assign({},ca))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u7B54\u6848")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09")),!!ca.hack_answer&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:hn,value:ca.hack_answer_type,onChange:nn=>{ca.hack_answer_type=nn.target.value,eo(Object.assign({},ca))}},dn.createElement(dt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),dn.createElement(dt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))))),dn.createElement("div",{className:`${un.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),dn.createElement("div",{className:un.content},dn.createElement(We.default,{disabled:hn,checked:ca.show_late_code,onChange:()=>{ca.show_late_code=!ca.show_late_code,eo(Object.assign({},ca))}},dn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),dn.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"))),!hn&&dn.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Ma,onClick:()=>tr()},"\u4FDD\u5B58"))};var Rn=(0,he.connect)(({shixunHomeworks:Ut,loading:Ht})=>({shixunHomeworks:Ut,loading:Ht.effects}))(Pn),gn=te(59301),On=Object.defineProperty,yn=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,io=Object.prototype.propertyIsEnumerable,to=(Ut,Ht,Zt)=>Ht in Ut?On(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,no=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))cn.call(Ht,Zt)&&to(Ut,Zt,Ht[Zt]);if(Ra)for(var Zt of Ra(Ht))io.call(Ht,Zt)&&to(Ut,Zt,Ht[Zt]);return Ut},Mo=(Ut,Ht)=>yn(Ut,ar(Ht)),ea=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});const Aa=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt})=>{var ba;const Va=(0,he.useParams)(),{workSetting:Fa,workList:In,changeData:Ua}=Ut,[hn,Za]=(0,z.useState)(!0),[Da,Io]=(0,z.useState)(!1),[Ma,$o]=(0,z.useState)(!1),[Si]=ht.default.useForm();let[Ko,Sr]=(0,z.useState)([]),[Pr,Qn]=(0,z.useState)([]);const ao=!((ba=In==null?void 0:In.homework_status)!=null&&ba.includes("\u672A\u53D1\u5E03")),oi=(0,z.useRef)(!0);let[ha,ca]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,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,is_onpage_time:!0,training_time_rules:1,hack_settings:[],punish_time:void 0,hack_score_settings:void 0,hack_rank_rule:0});(0,z.useEffect)(()=>()=>{Sr([])},[]),(0,z.useEffect)(()=>{Fa!=null&&Fa.can_edit&&Za(!1)},[Fa]);const eo=()=>{Zt({type:"shixunHomeworks/getWorkSetting",payload:no({},Va)})};(0,z.useEffect)(()=>{Fa!=null&&Fa.course_id&&oi.current&&(oi.current=!1,Object.keys(ha).map(function(nn){ha[nn]=Fa[nn]}),(!ha.allow_late||!ha.unified_late)&&(ha.late_penalty=5),Ko=JSON.parse(JSON.stringify(Fa.group_settings.map(nn=>Mo(no({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.publish_time!==null))),Pr=JSON.parse(JSON.stringify(Fa.allow_late_settings.map(nn=>Mo(no({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.late_time!==null))),tr(),ca(no({},ha)),Sr([...Ko]),Qn([...Pr]))},[Fa]);const Ai=()=>{const nn=JSON.parse(JSON.stringify(ha));Tn(nn)},Tn=nn=>{if(console.log(nn.total_score,nn.eff_score),nn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}const Wn=()=>ea(void 0,null,function*(){Io(!0),(yield(0,se.ZP)(`/api/homework_commons/${Va.categoryId}/hack_score_setting.json`,{method:"post",body:no({},nn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),eo(),Zt({type:"shixunHomeworks/getWorkList",payload:no({},Va)})),Io(!1)});(ha==null?void 0:ha.hack_score_settings)!==(Fa==null?void 0:Fa.hack_score_settings)&&ao?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\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:Wn}):Wn()},tr=()=>{var nn;const{total_score:Wn}=ha,Cn=(nn=ha.hack_settings)==null?void 0:nn.length;if(!Cn)return;let $r=0,mr;switch(ha.hack_score_settings){case 0:const Tr=(Wn/Cn).toFixed(2);ha.hack_settings.map((vn,na)=>{$r=na,vn.hack_score=Tr>0?Tr:0}),mr=(Wn-Tr*(Cn-1)).toFixed(2),ha.hack_settings[$r].hack_score=mr>0?mr:0;break;case 1:const Jo=[0,1,3,6];let fr=0;const So=ha.hack_settings.filter(vn=>vn.difficult===1).length*Jo[1],Ha=ha.hack_settings.filter(vn=>vn.difficult===2).length*Jo[2],Yr=ha.hack_settings.filter(vn=>vn.difficult===3).length*Jo[3],mo=Wn/(So+Ha+Yr);console.log(mo,2222),ha.hack_settings.map((vn,na)=>{$r=na,vn.hack_score=(Jo[vn.difficult]*mo).toFixed(2),fr=fr+Number(vn.hack_score)});let Do=ha.hack_settings[$r].hack_score;mr=(Wn-fr+Number(Do)).toFixed(2),ha.hack_settings[$r].hack_score=mr>0?mr:0;break}},aa=(Fa==null?void 0:Fa.send_type)===0||(Fa==null?void 0:Fa.send_type)===1&&(ha==null?void 0:ha.hack_score_settings)===2;return gn.createElement("section",{className:un.form},gn.createElement("div",{className:un.title},"\u5206\u503C\u8BBE\u7F6E"),gn.createElement("div",{className:`${un.content} mb30`},gn.createElement(gt.Z,{align:"middle"},gn.createElement(gt.Z,{align:"middle"},gn.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),gn.createElement(Dt.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:ha.total_score,disabled:hn,onChange:nn=>{ha.total_score=nn,ca(Object.assign({},ha)),tr()},addonAfter:"\u5206"})),gn.createElement(gt.Z,{align:"middle",style:{marginLeft:60}},gn.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),gn.createElement(Dt.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:ha.punish_time,precision:0,disabled:hn,onChange:nn=>{ha.punish_time=nn,ca(Object.assign({},ha)),tr()},addonAfter:"\u5206\u949F"})))),gn.createElement("div",{className:un.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),gn.createElement("div",{className:`${un.content} mb30`},gn.createElement(dt.ZP.Group,{disabled:hn,value:ha.hack_rank_rule,onChange:nn=>{ha.hack_rank_rule=nn.target.value,ca(Object.assign({},ha))}},gn.createElement(dt.ZP,{value:0},gn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),gn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),gn.createElement(dt.ZP,{style:{marginLeft:40},value:1},gn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),gn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),gn.createElement("div",{className:un.title},"\u8BD5\u9898\u5206\u503C"),gn.createElement("div",{className:un.content},gn.createElement(dt.ZP.Group,{value:ha.hack_score_settings,onChange:nn=>{ha.hack_score_settings=nn.target.value,ca(Object.assign({},ha)),tr()}},gn.createElement(dt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),gn.createElement(dt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),gn.createElement(dt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),gn.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff"}},gn.createElement("div",{style:{padding:"0px 20px 20px 20px"}},ha.hack_settings&&ha.hack_settings.map(function(nn,Wn){return gn.createElement(gt.Z,{key:Wn,align:"middle",style:{marginTop:20}},gn.createElement(Oe.Z,{flex:"1",className:"pr10"},gn.createElement("span",{style:{color:"#333333"}},nn.hack_name)),gn.createElement(Oe.Z,{flex:"150px"},gn.createElement(Dt.Z,{min:0,step:.1,style:{visibility:aa?"visible":"hidden"},value:nn.hack_score,disabled:ha.hack_score_settings!==2,onChange:Cn=>{ha.hack_settings[Wn].hack_score=Cn;const $r=ha.hack_settings.reduce((mr,Tr)=>mr+Number(Tr.hack_score),0);ha.total_score=$r.toFixed(2),ca(no({},ha))},size:"large",addonAfter:"\u5206"})),gn.createElement(Oe.Z,{className:"ml20",style:{lineHeight:"20px"}},nn.difficult===1&&gn.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),nn.difficult===2&&gn.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),nn.difficult===3&&gn.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!hn&&gn.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Da,onClick:()=>Ai()},"\u4FDD\u5B58"))};var dr=(0,he.connect)(({shixunHomeworks:Ut,loading:Ht})=>({shixunHomeworks:Ut,loading:Ht.effects}))(Aa),pa=te(59301),jr=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});const Ir=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt})=>{var ba,Va;const[Fa,In]=(0,z.useState)(!0),[Ua,hn]=(0,z.useState)(!1),[Za,Da]=(0,z.useState)([]),[Io,Ma]=(0,z.useState)([]),[$o,Si]=(0,z.useState)([]),[Ko,Sr]=(0,z.useState)([]),[Pr,Qn]=(0,z.useState)(!1),[ao,oi]=(0,z.useState)(""),ha=(0,he.useParams)();function ca(){return jr(this,null,function*(){let Tn=yield(0,se.ZP)(`/api/homework_commons/${ha.categoryId}/homework_common_collaborators.json`,{method:"get"});Ma(Tn)})}function eo(){return jr(this,null,function*(){var Tn;let tr=yield(0,se.ZP)(`/api/courses/${ha==null?void 0:ha.coursesId}/teachers`,{method:"get",params:{homework_id:ha.categoryId,limit:1e3}});(Tn=tr==null?void 0:tr.teacher_list)==null||Tn.map(aa=>{aa.key=aa.user_id}),Si(tr==null?void 0:tr.teacher_list),Sr(tr==null?void 0:tr.teacher_list)})}(0,z.useEffect)(()=>{ca(),eo()},[ha]);const Ai=()=>{};return pa.createElement("section",{className:un.form},pa.createElement(gt.Z,{className:un.content,style:{padding:"20px 30px",gap:20}},(ba=Io==null?void 0:Io.data)==null?void 0:ba.map(Tn=>pa.createElement(gt.Z,{align:"middle",className:`${un.borderSty} ${ao===(Tn==null?void 0:Tn.id)?un.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},pa.createElement("span",{className:"c-grey-333"},Tn==null?void 0:Tn.real_name),(Io==null?void 0:Io.can_edit)&&pa.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${un.delSty}`,onMouseEnter:()=>{oi(Tn.id)},onMouseLeave:()=>{oi("")},onClick:()=>jr(void 0,null,function*(){(yield(0,se.ZP)(`/api/homework_commons/${ha.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:Tn.id}})).status===0&&(Ie.ZP.info("\u5220\u9664\u6210\u529F"),ca(),eo())})}))),!(Io!=null&&Io.can_edit)&&!((Va=Io==null?void 0:Io.data)!=null&&Va.length)&&pa.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(Io==null?void 0:Io.can_edit)&&pa.createElement(Ne.ZP,{className:un.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>hn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),pa.createElement(be.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Ua,confirmLoading:Pr,onCancel:()=>hn(!1),onOk:()=>jr(void 0,null,function*(){if(Za.length===0){Ie.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}Qn(!0),(yield(0,se.ZP)(`/api/homework_commons/${ha.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:Za}})).status===0&&(Ie.ZP.info("\u6DFB\u52A0\u6210\u529F"),Da([]),ca(),eo(),hn(!1)),Qn(!1)})},pa.createElement("div",null,pa.createElement("div",{style:{display:"flex"}},pa.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",pa.createElement(ve.default.Search,{onChange:Tn=>{Si(Ko.filter(tr=>tr.name.indexOf(Tn.target.value)>-1))}})),pa.createElement(Te.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(Tn,tr)=>{Da(Tn)},selectedRowKeys:Za,getCheckboxProps:Tn=>({disabled:Tn.is_collaborator})},pagination:!1,dataSource:$o,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var br=(0,he.connect)(({shixunHomeworks:Ut,loading:Ht})=>({shixunHomeworks:Ut,loading:Ht.effects}))(Ir),po=te(59301);const Lo=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:po.createElement(kn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:po.createElement(dr,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:po.createElement(Rn,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:po.createElement(br,null)}];var vi=()=>po.createElement(wt.Z,{dataSource:Lo,style:{marginBottom:52}}),Ei=te(26724),$i=te.n(Ei),zn=te(67741),Ia=te(59301),co=Object.defineProperty,xo=Object.defineProperties,wo=Object.getOwnPropertyDescriptors,ui=Object.getOwnPropertySymbols,Bi=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,Mi=(Ut,Ht,Zt)=>Ht in Ut?co(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,Ce=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))Bi.call(Ht,Zt)&&Mi(Ut,Zt,Ht[Zt]);if(ui)for(var Zt of ui(Ht))Yi.call(Ht,Zt)&&Mi(Ut,Zt,Ht[Zt]);return Ut},ke=(Ut,Ht)=>xo(Ut,wo(Ht)),Xe=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});const Ct=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt})=>{const ba=(0,he.useParams)(),Va=(0,he.useLocation)(),[Fa,In]=(0,z.useState)([]),[Ua,hn]=(0,z.useState)([]),[Za,Da]=(0,z.useState)(!0),[Io,Ma]=(0,z.useState)(!1),[$o,Si]=(0,z.useState)(1),[Ko,Sr]=(0,z.useState)([]),[Pr,Qn]=(0,z.useState)(!1),[ao,oi]=(0,z.useState)(!1),[ha,ca]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Ut.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(eo.resetFields(),In([]),Qn(!0),Tn()):Qn(!1)},[Ut.actionTabs.key]);const[eo]=ht.default.useForm();let Ai=[];const Tn=()=>Xe(void 0,null,function*(){var nn;if(Za&&!Io){Ma(!0),Si($o+1);const Wn=yield(0,zn.JG)(ke(Ce({},ba),{page:$o})),Cn=[...Wn.group_list];Wn!=null&&Wn.ungroup_list&&Cn.push({id:Wn==null?void 0:Wn.ungroup_list.id,name:Wn==null?void 0:Wn.ungroup_list.name,works_count:Wn==null?void 0:Wn.ungroup_list.work_count,last_review_time:Wn==null?void 0:Wn.ungroup_list.last_review_time}),In([...Fa,...Cn]),Ma(!1),((nn=Wn.group_list)==null?void 0:nn.length)<10&&Da(!1)}}),tr=()=>{Zt({type:"shixunHomeworks/setActionTabs",payload:{}}),oi(!1),Da(!0),Ma(!1),Si(1),In([]),eo.resetFields()},aa=[{title:"",dataIndex:"id",width:280,render:(nn,Wn)=>Ia.createElement(We.default,{disabled:!(Wn.works_count>1),value:String(Wn.id)},Wn.name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_review_time",width:130}];return Ia.createElement(be.default,{centered:!0,title:"\u4EE3\u7801\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:Pr,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>Xe(void 0,null,function*(){const nn=eo.getFieldValue();ca(!0);const Wn=yield(0,se.ZP)(`/api/homework_commons/${ba.categoryId}/hack_homework_code_repeat.json`,{method:"post",body:{group_ids:[...nn.group_ids]}});ca(!1),Wn.status===0&&(tr(),yield Zt({type:"shixunHomeworks/getWorkList",payload:Ut.actionTabs.params}),he.history.push(`/classrooms/${ba.coursesId}/program_homework/${ba.categoryId}/detail?tabs=2`),Zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:ha},onCancel:tr},Ia.createElement("div",null,"\u8BF7\u6CE8\u610F\uFF1A\u5728\u6267\u884C\u4EE3\u7801\u67E5\u91CD\u64CD\u4F5C\u540E\uFF0C\u82E5\u5B66\u751F\u63D0\u4EA4\u65B0\u7684\u4F5C\u54C1\u4EE3\u7801\uFF0C\u65B0\u4F5C\u54C1\u4EE3\u7801\u4E0D\u8BA1\u5165\u672C\u6B21\u67E5\u91CD\u7ED3\u679C\u3002"),Ut.codeReviewCourse&&Ia.createElement(ht.default,{form:eo,onChange:nn=>{Sr(Ce({},eo.getFieldValue()))},initialValues:{group_ids:Ai,end_time:ue()(ue()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},Ia.createElement("div",{className:"flexd-table-header mt20"},Ia.createElement(Te.default,{pagination:!1,dataSource:[],columns:aa})),Ia.createElement(ht.default.Item,{name:"group_ids"},Ia.createElement(We.default.Group,{className:"w100"},Ia.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},Ia.createElement($i(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:nn=>{Tn()},hasMore:Za,useWindow:!1},Ia.createElement(Te.default,{loading:Ht.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:aa,dataSource:Fa,pagination:!1})))))),Ia.createElement(gt.Z,null,Ia.createElement(Oe.Z,{className:"ml10"},Ia.createElement(We.default,{checked:ao,onChange:nn=>{oi(nn.target.checked);let Wn=[];nn.target.checked&&(Wn=Fa.filter(Cn=>Cn.works_count>1).map(Cn=>Cn.id+"")),eo.setFieldsValue({group_ids:Wn})}},"\u5168\u9009"))))};var Yt=(0,he.connect)(({shixunHomeworks:Ut,loading:Ht})=>({shixunHomeworks:Ut,loading:Ht}))(Ct),Jt=te(74089),bn=te(70499),Fn=te(21662),Yn=te(8671),Pa=te(3995),Ca=te(13562),ga=te(94349),Or=te(33383),Mr=te(73579),Ro=te(19003),Ur=Object.defineProperty,la=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,ra=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Zr=(Ut,Ht,Zt)=>Ht in Ut?Ur(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,hr=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))ra.call(Ht,Zt)&&Zr(Ut,Zt,Ht[Zt]);if(oa)for(var Zt of oa(Ht))Nr.call(Ht,Zt)&&Zr(Ut,Zt,Ht[Zt]);return Ut},xr=(Ut,Ht)=>la(Ut,$n(Ht)),kr=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});let ho=[Ca.Z,ga.Z,Or.Z];const ti=({user:Ut,classroomList:Ht,shixunHomeworks:Zt})=>{var ba,Va,Fa;let[In,Ua]=(0,z.useState)(hr(xr(hr({},(0,he.useParams)()),{page:1,per_page:20,rank_type:2,search:"",course_group:(0,Be.dE)()?[Ut.userInfo.course.course_group_id]:[]}),(0,he.useParams)()));const[hn,Za]=(0,z.useState)([]),[Da,Io]=(0,z.useState)([]),[Ma,$o]=(0,z.useState)([]),[Si,Ko]=(0,z.useState)(!1),[Sr,Pr]=(0,z.useState)(!1);let[Qn,ao]=(0,z.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(Tn,tr)=>Tn.rank-tr.rank,render:(Tn,tr,aa)=>Tn<4?z.createElement("img",{src:ho[Tn-1]}):Tn},{title:"\u59D3\u540D",dataIndex:"user_name",width:80,fixed:"left",ellipsis:!0,key:"user_name",render:(Tn,tr,aa)=>z.createElement("span",null,tr.is_me&&z.createElement("span",{style:{display:"inline-block",fontSize:12,color:"#CA7720",background:"rgba(255, 181, 56, 0.36)",borderRadius:2,width:16,height:16,textAlign:"center",lineHeight:"16px",transform:"translateY(-1px)"}},"\u6211"),Tn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",width:80,ellipsis:!0,fixed:"left",render:Tn=>Tn||"- -"},{title:"\u73ED\u7EA7",dataIndex:"course_group",key:"course_group",ellipsis:!0,width:70,fixed:"left"},{title:"\u901A\u8FC7",dataIndex:"passed_count",width:60,fixed:"left",ellipsis:!0,key:"passed_count",render:Tn=>z.createElement("span",null,Tn," ",Tn!="-"&&"\u9898")},{title:"\u5F97\u5206",dataIndex:"score",width:50,ellipsis:!0,fixed:"left",key:"score"}]);const[oi,ha]=(0,z.useState)(null),ca=()=>{var Tn,tr;const aa=((Tn=document.getElementById("filterWarp"))==null?void 0:Tn.clientHeight)||0,nn=((tr=document.getElementById("pagination"))==null?void 0:tr.clientHeight)||0;return window.innerHeight-aa-nn-110};(0,z.useEffect)(()=>{const Tn=()=>{ha(ca())};return window.addEventListener("resize",Tn),()=>{window.removeEventListener("resize",Tn)}},[]),(0,z.useEffect)(()=>{var Tn,tr,aa,nn,Wn;Qn.splice(7);for(let Cn=0;Cn<((Tn=hn==null?void 0:hn.question_data)==null?void 0:Tn.length);Cn++){let $r={};$r.title=hn!=null&&hn.sent_type?z.createElement("span",null,"\u9898\u76EE"+(Cn+1)+`\uFF08${(aa=(tr=hn==null?void 0:hn.question_data)==null?void 0:tr[Cn])==null?void 0:aa.question_score}\uFF09`):z.createElement("a",{onClick:()=>kr(void 0,null,function*(){var mr,Tr;let Jo=yield(0,se.ZP)(`/api/problems/${(Tr=(mr=hn==null?void 0:hn.question_data)==null?void 0:mr[Cn])==null?void 0:Tr.identifier}/start.json`,{method:"get"});Jo&&(window.open(`/myproblems/${Jo==null?void 0:Jo.identifier}?type=1`),localStorage.setItem("program_homework",[In.coursesId,In.categoryId]))})},"\u9898\u76EE"+(Cn+1)+`\uFF08${(Wn=(nn=hn==null?void 0:hn.question_data)==null?void 0:nn[Cn])==null?void 0:Wn.question_score}\uFF09`),$r.dataIndex="question_data",$r.width=140,$r.render=(mr,Tr)=>{var Jo,fr,So,Ha,Yr;return z.createElement("div",null,((Jo=mr==null?void 0:mr[Cn])==null?void 0:Jo.answer_question_time)&&z.createElement("div",null,z.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>kr(void 0,null,function*(){var mo,Do,vn,na,Oa,_n,ya,wr;if((0,Be.Rm)()&&!((mo=Ht.AssistantObject.hack)!=null&&mo.can_appraise)){Ie.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}if(!((Do=mr==null?void 0:mr[Cn])!=null&&Do.open_code)){Ie.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Fr=yield(0,se.ZP)("/api/courses/view_code.json",{method:"get",params:xr(hr({},In),{id:In.coursesId,homework_common_id:In.categoryId,hack_user_code_id:(vn=mr==null?void 0:mr[Cn])==null?void 0:vn.hack_user_code_id})});be.default.warning({icon:null,width:800,title:z.createElement("div",null,z.createElement("span",null,"\u4EE3\u7801"),z.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(na=mr==null?void 0:mr[Cn])==null?void 0:na.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Oa=mr==null?void 0:mr[Cn])==null?void 0:Oa.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(_n=mr==null?void 0:mr[Cn])==null?void 0:_n.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(ya=mr==null?void 0:mr[Cn])==null?void 0:ya.score)),content:z.createElement(Mr.Z,{classroomList:Ht,user:Ut,languages:[{language:(wr=mr==null?void 0:mr[Cn])==null?void 0:wr.language,code:Fr==null?void 0:Fr.code}],v:mr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:mr.language,game_id:mr.id,diff_code_count:mr.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((fr=mr==null?void 0:mr[Cn])==null?void 0:fr.answer_question_time)||"- -"),(So=mr==null?void 0:mr[Cn])!=null&&So.submit_count?z.createElement(nt.Z,{title:`${((Ha=mr==null?void 0:mr[Cn])==null?void 0:Ha.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Yr=mr==null?void 0:mr[Cn])==null?void 0:Yr.submit_count)||0):null))},Qn.push($r)}ao([...Qn])},[hn==null?void 0:hn.question_data]),(0,z.useEffect)(()=>{var Tn;(Tn=Ut==null?void 0:Ut.userInfo)!=null&&Tn.course&&((0,Be.dE)()&&(In.course_group=(0,Be.dE)()?[Ut.userInfo.course.course_group_id]:[],Ua(hr({},In))),eo(1))},[Ut==null?void 0:Ut.userInfo]);function eo(Tn){return kr(this,null,function*(){var tr,aa,nn,Wn,Cn,$r,mr;Ko(!0);let Tr=yield(0,se.ZP)("/api/courses/rank_list.json",{method:"get",params:xr(hr({},In),{id:In.coursesId,rank_type:2,homework_common_id:In.categoryId})});if(Za(Tr),Ko(!1),Tr.status!=-1&&((0,Be.dE)()?(Tn===1&&Io([(aa=(tr=Tr==null?void 0:Tr.course_group)==null?void 0:tr[0])==null?void 0:aa.id]),Tr!=null&&Tr.my_rank?$o([hr({is_me:!0},Tr==null?void 0:Tr.my_rank),...Tr==null?void 0:Tr.rank_list]):$o([...Tr==null?void 0:Tr.rank_list])):$o([...Tr==null?void 0:Tr.rank_list]),Tn===1)){let Jo={title:(Tr==null?void 0:Tr.hack_rank_rule)===0?z.createElement(nt.Z,{title:`\u603B\u8017\u65F6\u65F6\u4E3A\u505A\u9898\u901A\u8FC7\u65F6\u957F\u548C\u7F5A\u65F6\u65F6\u957F\u7684\u603B\u548C\uFF0C
|
|
\u7F5A\u65F6\u65F6\u957F=\u8BC4\u6D4B\u51FA\u9519\u6B21\u6570X\u8BBE\u7F6E\u7684\u7F5A\u65F6\uFF08\u5F53\u524D\u4E3A${Tr==null?void 0:Tr.punish_time}\u5206\uFF09`},z.createElement("span",{style:{marginRight:3}},"\u603B\u8017\u65F6")," ",z.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-tishixiaowenhao c-blue"})):"\u5B8C\u6210\u65F6\u95F4",dataIndex:(Tr==null?void 0:Tr.hack_rank_rule)===0?"finish_time":"finish_at",width:(Tr==null?void 0:Tr.hack_rank_rule)===0?80:150,ellipsis:!0,fixed:"left",key:"finish_time"};Qn.push(Jo);for(let fr=0;fr<((nn=Tr==null?void 0:Tr.question_data)==null?void 0:nn.length);fr++){let So={};So.title=Tr!=null&&Tr.sent_type?z.createElement("span",null,"\u9898\u76EE"+(fr+1)+`\uFF08${(Cn=(Wn=Tr==null?void 0:Tr.question_data)==null?void 0:Wn[fr])==null?void 0:Cn.question_score}\uFF09`):z.createElement("a",{onClick:()=>kr(this,null,function*(){var Ha,Yr;let mo=yield(0,se.ZP)(`/api/problems/${(Yr=(Ha=Tr==null?void 0:Tr.question_data)==null?void 0:Ha[fr])==null?void 0:Yr.identifier}/start.json`,{method:"get"});mo&&(window.open(`/myproblems/${mo==null?void 0:mo.identifier}?type=1`),localStorage.setItem("program_homework",[In.coursesId,In.categoryId]))})},"\u9898\u76EE"+(fr+1)+`\uFF08${(mr=($r=Tr==null?void 0:Tr.question_data)==null?void 0:$r[fr])==null?void 0:mr.question_score}\uFF09`),So.dataIndex="question_data",So.width=140,So.render=(Ha,Yr)=>{var mo,Do,vn,na,Oa;return z.createElement("div",null,((mo=Ha==null?void 0:Ha[fr])==null?void 0:mo.answer_question_time)&&z.createElement("div",null,z.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>kr(this,null,function*(){var _n,ya,wr,Fr,Co,qo,Di,Hi;if((0,Be.Rm)()&&!((_n=Ht.AssistantObject.hack)!=null&&_n.can_view)){Ie.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}if(!((ya=Ha==null?void 0:Ha[fr])!=null&&ya.open_code)){Ie.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let qi=yield(0,se.ZP)("/api/courses/view_code.json",{method:"get",params:xr(hr({},In),{id:In.coursesId,homework_common_id:In.categoryId,hack_user_code_id:(wr=Ha==null?void 0:Ha[fr])==null?void 0:wr.hack_user_code_id})});be.default.warning({icon:null,width:800,title:z.createElement("div",null,z.createElement("span",null,"\u4EE3\u7801"),z.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(Fr=Ha==null?void 0:Ha[fr])==null?void 0:Fr.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Co=Ha==null?void 0:Ha[fr])==null?void 0:Co.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(qo=Ha==null?void 0:Ha[fr])==null?void 0:qo.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(Di=Ha==null?void 0:Ha[fr])==null?void 0:Di.score)),content:z.createElement(Mr.Z,{classroomList:Ht,user:Ut,languages:[{language:(Hi=Ha==null?void 0:Ha[fr])==null?void 0:Hi.language,code:qi==null?void 0:qi.code}],v:Ha,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:Ha.language,game_id:Ha.id,diff_code_count:Ha.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((Do=Ha==null?void 0:Ha[fr])==null?void 0:Do.answer_question_time)||"- -"),(vn=Ha==null?void 0:Ha[fr])!=null&&vn.submit_count?z.createElement(nt.Z,{title:`${((na=Ha==null?void 0:Ha[fr])==null?void 0:na.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Oa=Ha==null?void 0:Ha[fr])==null?void 0:Oa.submit_count)||0):null))},Qn.push(So)}ao([...Qn])}})}console.log("----",Zt,Qn);const Ai=(ba=Zt==null?void 0:Zt.workSetting)==null?void 0:ba.hack_rank_rule;return z.createElement("div",{style:{width:1200,margin:"0px auto",minHeight:Sr?"100vh":""},id:"rankingInfo"},(hn==null?void 0:hn.message)==="\u5C01\u699C\u4E2D"?z.createElement(Ve.Z,{customText:"\u7B54\u9898\u65F6\u95F4\u8FDB\u5165\u5012\u8BA1\u65F6\uFF0C\u6682\u65F6\u5C01\u699C\uFF0C\u8BF7\u52A0\u901F\u7ADE\u6280\u901A\u5173\u7B54\u9898"}):z.createElement("div",{style:{background:"#fff",padding:20,height:"100%",overflow:"auto"}},z.createElement("div",{id:"filterWarp"},z.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},z.createElement("div",{style:{display:"flex",width:"90%"}},z.createElement("label",null,"\u5206\u73ED\u60C5\u51B5\uFF1A"),(0,Be.GJ)()&&z.createElement("div",{style:{flex:1}},z.createElement(We.default.Group,{className:Fn.Z.checkboxgroup,value:Da,onChange:Tn=>{var tr;In.type===1?(Io([]),In.course_group=[],In.page=1,Ua(hr({},In)),eo()):In.type===2?(Io(["\u5168\u90E8"]),In.course_group=(tr=hn==null?void 0:hn.course_group)==null?void 0:tr.map(aa=>aa.id),In.page=1,Ua(hr({},In)),eo()):(Io([...Tn.filter(aa=>aa!="\u5168\u90E8")]),In.course_group=Tn.filter(aa=>aa!="\u5168\u90E8"),In.page=1,Ua(hr({},In)),eo())}},z.createElement(We.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:Tn=>{Tn.target.checked?In.type=2:In.type=1}},"\u5168\u90E8\u5206\u73ED"),(Va=hn==null?void 0:hn.course_group)==null?void 0:Va.map((Tn,tr)=>z.createElement(We.default,{style:{marginBottom:10},onChange:aa=>{In.type=3},value:Tn.id},Tn==null?void 0:Tn.name)))),(0,Be.dE)()&&z.createElement(dt.ZP.Group,{style:{marginBottom:10},onChange:Tn=>{Tn.target.value==="\u5168\u90E8"?(In.course_group=[],In.page=1,Ua(hr({},In)),eo()):(In.course_group=[Tn.target.value],In.page=1,Ua(hr({},In)),eo())},defaultValue:Ut.userInfo.course.course_group_id},z.createElement(dt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(Fa=hn==null?void 0:hn.course_group)==null?void 0:Fa.map((Tn,tr)=>z.createElement(dt.ZP,{style:{marginBottom:10},value:Tn.id},Tn.name)))),z.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{Sr?(0,Ro.BU)():(0,Ro.Dj)(document.getElementById("rankingInfo")),Pr(!Sr)}},z.createElement("i",{style:{fontSize:12},className:`mr10 iconfont ${Sr?"icon-tuichuquanping2":"icon-quanping2"}`}),z.createElement("span",null,Sr?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F\u5C55\u793A"))),z.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"space-between",marginTop:10}},z.createElement("span",{style:{fontSize:14,color:"#B1BACD"}},"\u6392\u884C\u89C4\u5219\uFF1A",Ai===0?"\u4F5C\u4E1A\u65F6\u95F4\u6BB5\u4E4B\u5916\u7684\u63D0\u4EA4\u4E0D\u8BA1\u5165\u6392\u884C\u3002\u5F53\u524D\u6309\u5B9E\u9645\u5B9E\u9A8C\u65F6\u957F\u4F18\u5148\uFF0C\u540C\u901A\u8FC7\u9898\u6570\u4E0B\u65F6\u957F\u77ED\u540D\u6B21\u9760\u524D\u3002":"\u4F5C\u4E1A\u65F6\u95F4\u6BB5\u4E4B\u5916\u7684\u63D0\u4EA4\u4E0D\u8BA1\u5165\u6392\u884C\u3002\u5F53\u524D\u6309\u5B8C\u6210\u65F6\u95F4\u5148\u540E\u4F18\u5148\uFF0C\u540C\u901A\u8FC7\u9898\u6570\u4E0B\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u9760\u524D\u3002"," ",z.createElement("a",{onClick:()=>{be.default.warning({title:"\u8BA1\u5206\u89C4\u5219",width:500,content:z.createElement("div",null,Ai===0&&z.createElement("p",null,"\u6392\u540D\u89C4\u5219\uFF1A\u7ECF\u5178ACM\u89C4\u5219"),z.createElement("p",null,"AC\uFF08\u901A\u8FC7\u9898\u76EE\uFF09\u8D8A\u591A\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),z.createElement("p",null,"AC\u76F8\u540C\uFF0C\u603B\u7528\u65F6\u8D8A\u5C11\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),Ai==0&&z.createElement(z.Fragment,null,z.createElement("p",null,"\u603B\u7528\u65F6=\u2211\uFF08\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6\uFF09"),z.createElement("p",null,"\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6=\u6BD4\u8D5B\u5F00\u59CB\u5230\u63D0\u4EA4\u88AB\u901A\u8FC7\u7684\u65F6\u95F4+\u7F5A\u65F6"),z.createElement("p",null,"\u7F5A\u65F6=\uFF08\u901A\u8FC7\u524D\uFF09\u9519\u8BEF\u4EE3\u7801\u63D0\u4EA4\u6B21\u6570*\u6BCF\u6B21\u7F5A\u65F6"),z.createElement("p",null,"\u4E0D\u7B97\u7F5A\u65F6\u7684\u60C5\u51B5\uFF1A\u6CA1\u6709\u901A\u8FC7\u7684\u9898\u76EE\u3001\uFF08\u7CFB\u7EDF\uFF09\u5185\u90E8\u9519\u8BEF\u3001\u7F16\u8BD1\u9519\u8BEF")))})}},"\u70B9\u51FB\u67E5\u770B\u8BA1\u5206\u89C4\u5219")),(0,Be.GJ)()&&z.createElement(z.Fragment,null,z.createElement(ve.default.Search,{className:"mr20",onSearch:Tn=>{In.page=1,In.search=Tn,Ua(hr({},In)),eo()},placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:250,marginLeft:"auto"}}),z.createElement(Ne.ZP,{onClick:()=>{(0,Pa.VY)(xr(hr({},In),{id:In.coursesId,rank_type:2,homework_common_id:In.categoryId}))}},"\u5BFC\u51FA")))),z.createElement(me.Z,{spinning:Si},z.createElement(Te.default,{style:{marginTop:10},pagination:!1,scroll:{x:1200,y:Sr?oi:null},rowClassName:(Tn,tr)=>tr===0&&(0,Be.dE)()&&Fn.Z.tables,dataSource:Ma,columns:Qn})),z.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(Pe.Z,{current:In.page,pageSize:In.per_page,total:hn==null?void 0:hn.count,showSizeChanger:!0,onChange:(Tn,tr)=>{In.page=Tn,In.per_page=tr,Ua(hr({},In)),eo()}}))))};var yo=(0,he.connect)(({shixunHomeworks:Ut,user:Ht,classroomList:Zt})=>({user:Ht,shixunHomeworks:Ut,classroomList:Zt}))(ti),Rr=te(74732),ro=te(3829),Fo=te(32215),vo=te(71621),Eo=te(993),sa=te(59301),jo=Object.defineProperty,wi=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable,Xi=(Ut,Ht,Zt)=>Ht in Ut?jo(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,zi=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))Zi.call(Ht,Zt)&&Xi(Ut,Zt,Ht[Zt]);if(wi)for(var Zt of wi(Ht))nl.call(Ht,Zt)&&Xi(Ut,Zt,Ht[Zt]);return Ut},Fi=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=hn=>{try{Ua(Zt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(Zt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?ba(hn.value):Promise.resolve(hn.value).then(Fa,In);Ua((Zt=Zt.apply(Ut,Ht)).next())});let ul=[{live:"A",gz:"0\u4E2A\u9519\u8BEF",ld:"0\u4E2A\u6F0F\u6D1E",gf:"0 - 5%"},{live:"B",gz:"\u81F3\u5C111\u4E2A\u6B21\u8981\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u6B21\u8981\u6F0F\u6D1E",gf:"6% - 10%"},{live:"C",gz:"\u81F3\u5C111\u4E2A\u4E3B\u8981\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u4E3B\u8981\u6F0F\u6D1E",gf:"11% - 20%"},{live:"D",gz:"\u81F3\u5C111\u4E2A\u4E25\u91CD\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u4E25\u91CD\u6F0F\u6D1E",gf:"21% - 50%"},{live:"E",gz:"\u81F3\u5C111\u4E2A\u5D29\u6E83\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u5D29\u6E83\u6F0F\u6D1E",gf:"\u8D85\u8FC750%"}];const _i=({shixunHomeworks:Ut,classroomList:Ht,globalSetting:Zt,user:ba,loading:Va,dispatch:Fa})=>{var In,Ua,hn,Za;const Da=(0,he.useParams)(),[Io]=(0,he.useSearchParams)(),[Ma,$o]=(0,z.useState)(Io.get("tabs")||"0"),[Si,Ko]=(0,z.useState)({}),{workList:Sr,workSetting:Pr}=Ut,[Qn,ao]=(0,z.useState)(!1);Da.category=Io.get("category_id"),Da.order="work_score",Da.b_order="desc",(0,z.useEffect)(()=>{(0,Be.Rm)()&&Fa({type:"classroomList/getAssistantPermissions",payload:{course_id:Da.coursesId}})},[(In=ba==null?void 0:ba.userInfo)==null?void 0:In.login]);const oi=aa=>{var nn;if(aa==="3"&&Fa({type:"shixunHomeworks/getWorkSetting",payload:zi({},Da)}),aa==="5"&&!((nn=Ht.AssistantObject.hack)!=null&&nn.can_exam_leaderboard)&&(0,Be.Rm)()){Ie.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}$o(aa),aa==="0"&&Fa({type:"shixunHomeworks/getWorkList",payload:Da})},ha=()=>{be.default.confirm({centered:!0,width:530,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:sa.createElement("div",{className:"tc font16"},"\u4F60\u5728\u8BE5\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF0C\u65E0\u6CD5\u6062\u590D",sa.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u91CD\u505A\uFF1F"),onOk:()=>Fi(void 0,null,function*(){var aa;const nn=(aa=Ut.workList)==null?void 0:aa.myshixun_identifier;(yield(0,zn.Fr)({id:nn}))&&(Ie.ZP.info(`\u5DF2\u6E05\u7A7A\u672C\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55
|
|
|
|
\u8BF7\u70B9\u51FB\u201C\u5F00\u542F\u6311\u6218\u201D\u91CD\u505A\u8BFE\u7A0B\u5B9E\u9A8C`),Fa({type:"shixunHomeworks/getWorkList",payload:Si}))})})},ca=aa=>{aa=aa!=null&&aa.includes(".json")?aa:`${aa}.json`,be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:sa.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Fi(void 0,null,function*(){const nn=yield(0,Yn.$Q)({url:aa});if(!nn)return;Ie.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Wn=yield(0,Yn.Ir)({id:nn.shixun_identifier});if(Wn!=null&&Wn.game_identifier){(0,Me.xg)(`/tasks/${Wn.game_identifier}?coursesId=${Da.coursesId}`);return}(Wn==null?void 0:Wn.status)===2?ca(Wn==null?void 0:Wn.message):(Wn==null?void 0:Wn.status)===3&&eo(Wn==null?void 0:Wn.message)})})},eo=aa=>{be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:sa.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",aa,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Ai=aa=>Fi(void 0,null,function*(){aa=aa!=null&&aa.includes(".json")?aa:`${aa}.json`;const nn=yield(0,Yn.$Q)({url:aa});if(console.log(nn,"execRes"),nn!=null&&nn.game_identifier){(0,Me.xg)(`/tasks/${nn.game_identifier}?coursesId=${Da.coursesId}`);return}(nn==null?void 0:nn.status)===-3?(0,Me.eF)():(nn==null?void 0:nn.status)===2?ca(nn==null?void 0:nn.message):(nn==null?void 0:nn.status)===3&&eo(nn==null?void 0:nn.message)}),Tn=[(0,Be.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:sa.createElement(Le,null)},{name:(0,Be.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",compontent:sa.createElement(Ge.Z,{setExportParams:Ko}),forceRender:!0},!(0,Be.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:sa.createElement(Le,null),hidden:!1},{name:"\u6392\u540D",id:"5",compontent:sa.createElement(yo,null),hidden:!1},{name:"\u4EE3\u7801\u67E5\u91CD",id:"2",compontent:sa.createElement(ct,null),hidden:(Ua=Zt==null?void 0:Zt.setting)==null?void 0:Ua.hide_code_repeat},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",compontent:sa.createElement(vo.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(hn=Sr.homework_status)!=null&&hn.includes("\u5BFC\u5165")?sa.createElement(Fo.Z,null):sa.createElement(vi,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:sa.createElement(Eo.default,null)}].filter(aa=>!!aa).filter(aa=>{var nn,Wn;return(0,Be.dE)()?aa.name!=="\u4EE3\u7801\u67E5\u91CD"&&aa.name!=="\u8BBE\u7F6E":(0,Be.dE)()||((nn=Sr==null?void 0:Sr.homework_status)==null?void 0:nn[0])!=="\u5DF2\u622A\u6B62"?aa.name!=="\u8D28\u91CF\u68C0\u6D4B":!Sr.code_review&&((Wn=Sr==null?void 0:Sr.homework_status)==null?void 0:Wn[0])!=="\u672A\u53D1\u5E03"?!0:aa.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(aa=>Sr.open_code_quality_analysis?!0:aa.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(aa=>{var nn;return(nn=Sr.homework_status)!=null&&nn.includes("\u5BFC\u5165")?(0,Be.dE)()?["0","1"].includes(aa.id):["0","1","3"].includes(aa.id):!0}).filter(aa=>!(aa!=null&&aa.hidden)),tr=()=>{var aa,nn,Wn,Cn,$r,mr,Tr,Jo,fr,So,Ha;return sa.createElement("aside",{className:Fn.Z.workListTabButton},(0,Be.dE)()&&!((aa=Sr.homework_status)!=null&&aa.includes("\u5BFC\u5165"))&&sa.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},sa.createElement(Ne.ZP,{onClick:()=>Fi(void 0,null,function*(){var Yr;let mo=yield(0,se.ZP)(`/api/problems/${(Yr=Ut.workList)==null?void 0:Yr.start_identifier}/start.json`,{method:"get"});mo&&(window.open(`/myproblems/${mo==null?void 0:mo.identifier}?type=1&backUrl=/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Da==null?void 0:Da.coursesId,Da==null?void 0:Da.categoryId]))}),type:"primary"},(nn=Sr.homework_status)!=null&&nn.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,Be.dE)()&&((Wn=Ut.workList)==null?void 0:Wn.redo_work)&&sa.createElement(Ne.ZP,{onClick:ha,type:"primary",icon:sa.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((Cn=Ut.workList)==null?void 0:Cn.shixun_status)>1&&(($r=Ut.workList)==null?void 0:$r.time_status)<5&&(0,Be.dE)()&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var Yr,mo,Do,vn,na,Oa,_n;(0,an.tJ)(Fa,!0)&&((Do=(mo=(Yr=Ut.workList)==null?void 0:Yr.task_operation)==null?void 0:mo[1])!=null&&Do.includes("/")?Ai((na=(vn=Ut.workList)==null?void 0:vn.task_operation)==null?void 0:na[1]):(0,Me.xg)(`/tasks/${(_n=(Oa=Ut.workList)==null?void 0:Oa.task_operation)==null?void 0:_n[1]}`))}},(Tr=(mr=Ut.workList)==null?void 0:mr.task_operation)==null?void 0:Tr[0]),((Jo=Ut.workList)==null?void 0:Jo.commit_des)&&((fr=Ut.workList)==null?void 0:fr.commit_des)&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var Yr;(0,Me.xg)(`/classrooms/${Da.coursesId}/shixun_homework/${Da.categoryId}/${(Yr=Ut.workList)==null?void 0:Yr.id}/commitsummary`)}},(So=Ut.workList)==null?void 0:So.commit_des),(Pr==null?void 0:Pr.hack_edit_permission)&&((Ha=Sr==null?void 0:Sr.homework_status)==null?void 0:Ha[0])==="\u672A\u53D1\u5E03"&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var Yr;if(!((Yr=Ht.AssistantObject.hack)!=null&&Yr.can_create)&&(0,Be.Rm)()){Ie.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}he.history.push(`/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"),(0,Be.GJ)()&&Sr.publish_immediately&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:()=>{var Yr,mo;if(!((Yr=Ht.AssistantObject.hack)!=null&&Yr.can_publish)&&(0,Be.Rm)()){Ie.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}if(((mo=ba==null?void 0:ba.userInfo)==null?void 0:mo.user_status)===2){(0,an.Rd)();return}Fa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Da.categoryId],selectArrsAll:[Sr],params:Da,detail:!0,type:2,manage_all_group:Pr==null?void 0:Pr.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),(0,Be.GJ)()&&Sr.end_immediately&&sa.createElement(Ne.ZP,{style:{background:"#0152d9",color:"#fff"},type:"primary",icon:sa.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:()=>{var Yr;if(!((Yr=Ht.AssistantObject.hack)!=null&&Yr.can_stop)&&(0,Be.Rm)()){Ie.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}Fa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",params:Da,type:2,detail:!0,selectArrs:[Da.categoryId]}})}},"\u7ACB\u5373\u622A\u6B62"))};return sa.createElement("section",null,sa.createElement("div",{className:"edu-container"},Sr.homework_name&&sa.createElement("section",{className:"animated fadeIn"},sa.createElement("aside",{className:"mt10"},Sr.category&&sa.createElement(ie.Z,{separator:">"},sa.createElement(ie.Z.Item,null,sa.createElement(he.Link,{to:`/classrooms/${Da==null?void 0:Da.coursesId}/program_homework`},Sr.course_name)),sa.createElement(ie.Z.Item,null,sa.createElement(he.Link,{to:`/classrooms/${Da==null?void 0:Da.coursesId}/program_homework/${Sr.category.main?"":Sr.category.category_id}`},Sr.category.category_name)),sa.createElement(ie.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),sa.createElement("aside",{className:[Fn.Z.title,"mt20"].join(" ")},sa.createElement(he.Link,{to:`/classrooms/${Sr.course_id}/program_homework/${Sr.category.main?"":Sr.category.category_id}`},sa.createElement(He.Z,{className:"font16 c-black"})),sa.createElement(nt.Z,{title:Sr.homework_name,placement:"bottom"},sa.createElement("strong",{className:"font20 ml5"},Sr.homework_name)),sa.createElement(Me.VV,{temporary:!0,status:Sr.homework_status}))),sa.createElement("aside",{className:`mt30 relative ${Fn.Z.workListTabWrap}`},sa.createElement(je.default,{type:"card",defaultActiveKey:Ma,activeKey:Ma,tabBarExtraContent:(Za=Sr.homework_status)!=null&&Za.includes("\u5BFC\u5165")&&(0,Be.GJ)()?sa.createElement(Ne.ZP,{icon:sa.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{Fa({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:Sr==null?void 0:Sr.homework_name,id:Sr==null?void 0:Sr.homework_id,type:"hack"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):tr(),onChange:oi},Tn.map((aa,nn)=>sa.createElement(je.default.TabPane,{tab:aa.name,key:aa.id,forceRender:aa.forceRender},aa.compontent))))),sa.createElement(Yt,null),sa.createElement(Jt.Z,{courseEndTime:Sr==null?void 0:Sr.course_end_date,successCallback:()=>{Fa({type:"shixunHomeworks/getWorkList",payload:zi({},Da)})},visible:Ht.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[Da.categoryId],courseId:Da.coursesId,isBatch:!1}),sa.createElement(bn.Z,{courseEndTime:Sr==null?void 0:Sr.course_end_date}),sa.createElement(Rr.Z,{onOk:()=>{Fa({type:"shixunHomeworks/getWorkList",payload:zi({},Da)})}}),sa.createElement(ro.Z,{onOk:()=>{Fa({type:"shixunHomeworks/getWorkList",payload:zi({},Da)})}}),sa.createElement(be.default,{open:Qn,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{ao(!1)}},sa.createElement("p",null,"\u4E00\u3001\u7B49\u7EA7\u89C4\u5219"),sa.createElement("p",{style:{marginLeft:"10px"}},"1. \u7F3A\u9677\u7B49\u7EA7"),sa.createElement("p",{style:{marginLeft:"10px"}},sa.createElement(Te.default,{dataSource:ul,columns:[{title:"\u7B49\u7EA7",dataIndex:"live"},{title:"\u7F3A\u9677\u8BC4\u4F30\u89C4\u5219",dataIndex:"gz"},{title:"\u6F0F\u6D1E\u8BC4\u4F30\u89C4\u5219",dataIndex:"ld"},{title:"\u4EE3\u7801\u89C4\u8303\u8BC4\u4F30\u89C4\u5219",dataIndex:"gf"}],pagination:!1})),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u4EE3\u7801\u89C4\u8303\u8BC4\u4F30\u89C4\u5219\u4E2D\u6570\u503C\u6765\u6E90\u4E3A\u8BA1\u7B97\u6280\u672F\u503A\u52A1\u65F6\u95F4\u5360\u5F00\u53D1\u6240\u6709\u4EE3\u7801\u6240\u9700\u8981\u7684\u65F6\u95F4\u7684\u6BD4\u4F8B\uFF08Technical Debt Ratio\uFF09"),sa.createElement("p",{style:{marginLeft:"20px"}},"Technical Debt Ratio = \u6280\u672F\u503A\u52A1\u65F6\u95F4 / \u5F00\u53D1\u65F6\u95F4"),sa.createElement("p",{style:{marginLeft:"20px"}},"\u6280\u672F\u503A\u52A1\u65F6\u95F4\u4E3A\u4FEE\u590D\u6240\u6709\u95EE\u9898\u6240\u9700\u8981\u7684\u65F6\u95F4\u3002"),sa.createElement("p",null,"\u4E8C\u3001\u590D\u6742\u5EA6\u89C4\u5219"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6839\u636E\u4EE3\u7801\u8DEF\u5F84\u6570\u8BA1\u7B97\u7684\u6570\u503C\uFF0C\u6BCF\u5F53\u4E00\u4E2A\u51FD\u6570\u7684\u63A7\u5236\u6D41\u5206\u53C9\u65F6\uFF0C\u590D\u6742\u5EA6\u8BA1\u6570\u5668\u5C31\u4F1A\u81EA\u589E\u4E00\u3002"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6BCF\u4E2A\u7A0B\u5E8F\u8BED\u8A00\u7684\u5173\u952E\u5B57\u5BF9\u5E94\u7684\u590D\u6742\u5EA6\u6570\u636E\u4E0D\u540C\uFF0C\u4F46\u6BCF\u4E2A\u51FD\u6570\u7684\u6700\u5C0F\u590D\u6742\u5EA6\u4E3A1\u3002\uFF08\u7279\u5B9A\u8BED\u8A00\u7684\u8BE6\u7EC6\u6570\u636E\u7565\uFF09"),sa.createElement("p",null,"\u4E09\u3001\u4EE3\u7801\u8D28\u91CF\u5206\u89C4\u5219"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u4EE3\u7801\u8D28\u91CF\u5206 = 0.5*\u7F3A\u9677\u5206\u6570 + 0.3*\u6F0F\u6D1E\u5206\u6570 + 0.2*\u4EE3\u7801\u89C4\u8303\u6027\u5206\u6570"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u5176\u4E2D\uFF1A"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u7F3A\u9677/\u6F0F\u6D1E/\u4EE3\u7801\u89C4\u8303\u6027\u5206\u6570\u8BA1\u7B97\u89C4\u5219\u4E3A\uFF1A100 - 100 *((100*\u5D29\u6E83\u6570 + 5*\u4E25\u91CD\u6570 + 3*\u4E3B\u8981\u6570 + 1*\u6B21\u6570\uFF09/ \u4EE3\u7801\u884C\u6570\uFF09"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u5206\u6570\u4E3A\u7A7A\u7684\u4EE3\u8868\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u683C\u5F0F\u3002")))};var rl=(0,he.connect)(({shixunHomeworks:Ut,classroomList:Ht,loading:Zt,user:ba,globalSetting:Va})=>({classroomList:Ht,shixunHomeworks:Ut,globalSetting:Va,user:ba,loading:Zt.effects}))(_i)},70499:function(Et,St,te){"use strict";var z=te(59301),se=te(78241),he=te(8591),Ie=te(43418),be=te(95237),Ne=te(5112),ie=te(5871),nt=te(43604),je=te(5083),Te=te(24905),He=te(66649),Me=te.n(He),Ee=te(82186),re=te(99287),a=te(92232),y=te(52985),b=te(99825),E=te(30467),x=te(53051),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Pe=(De,Ue,Ge)=>Ue in De?ne(De,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):De[Ue]=Ge,xe=(De,Ue)=>{for(var Ge in Ue||(Ue={}))ge.call(Ue,Ge)&&Pe(De,Ge,Ue[Ge]);if(ue)for(var Ge of ue(Ue))me.call(Ue,Ge)&&Pe(De,Ge,Ue[Ge]);return De},ye=(De,Ue)=>oe(De,ae(Ue)),Be=(De,Ue)=>{var Ge={};for(var Ke in De)ge.call(De,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=De[Ke]);if(De!=null&&ue)for(var Ke of ue(De))Ue.indexOf(Ke)<0&&me.call(De,Ke)&&(Ge[Ke]=De[Ke]);return Ge},Ze=(De,Ue,Ge)=>new Promise((Ke,it)=>{var at=kt=>{try{Rt(Ge.next(kt))}catch(Ye){it(Ye)}},ft=kt=>{try{Rt(Ge.throw(kt))}catch(Ye){it(Ye)}},Rt=kt=>kt.done?Ke(kt.value):Promise.resolve(kt.value).then(at,ft);Rt((Ge=Ge.apply(De,Ue)).next())});const mt=De=>{var Ue=De,{classroomList:Ge,dispatch:Ke,courseEndTime:it,onWindowBack:at}=Ue,ft=Be(Ue,["classroomList","dispatch","courseEndTime","onWindowBack"]),Rt,kt,Ye,ut,At,Nt,Pt,sn,Fe,Qt,Kt,Hn,Jn,Re,qe,tt,Le,ht,gt,Oe,ve,We,Ve,we,pt,et,jt,Se,st,xt,Ae,_e,ct,wt,zt,mn,dt,Dt,yt;const en=(0,y.useParams)(),[Vt]=se.default.useForm(),[un,Vn]=(0,z.useState)(1),[fn,an]=(0,z.useState)([]),[Un,_t]=(0,z.useState)(0),[Tt,Xt]=(0,z.useState)(2e3),[Ea,qn]=(0,z.useState)(!0),[Mn,Ga]=(0,z.useState)(!1),[La,Ar]=(0,z.useState)(!1),[Cr,Qa]=(0,z.useState)([]),[rt,Mt]=(0,z.useState)(!0),[Ft,kn]=(0,z.useState)(!((Ye=(kt=(Rt=Ge.actionTabs)==null?void 0:Rt.selectArrsAll)==null?void 0:kt[0])!=null&&Ye.send_type));let[dn,Ln]=(0,z.useState)([0,0,0]);(0,z.useEffect)(()=>{var nr,sr,er,vt,qt,tn,Pn,Rn,gn,On,yn,ar,Ra;if(Ge.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(oo(),(er=(sr=(nr=Ge.actionTabs)==null?void 0:nr.selectArrsAll)==null?void 0:sr[0])!=null&&er.can_publish?Ln([...(gn=(Rn=(Pn=Ge.actionTabs)==null?void 0:Pn.selectArrsAll)==null?void 0:Rn[0])==null?void 0:gn.difficult_count]):Ln([...(tn=(qt=(vt=Ge.actionTabs)==null?void 0:vt.selectArrsAll)==null?void 0:qt[0])==null?void 0:tn.difficult_settings]),kn(!((ar=(yn=(On=Ge.actionTabs)==null?void 0:On.selectArrsAll)==null?void 0:yn[0])!=null&&ar.send_type)),Xr(),Ge.actionTabs.type===2){const cn=(Ra=Ge.actionTabs.selectArrsAll)==null?void 0:Ra[0];Mt(cn.unified_setting)}else Mt(!1)},[Ge.actionTabs]),(0,z.useEffect)(()=>{if(Mn){if(La)return;Ke({type:"classroomList/setActionTabs",payload:{}}),(0,re.GJ)()?(Ke({type:"classroomList/getClassroomTeacherCommonList",payload:ye(xe({},Ge.actionTabs.params),{type:1})}),Ke({type:"shixunHomeworks/getWorkList",payload:xe({},en)})):Ke({type:"classroomList/getClassroomCommonList",payload:xe({},Ge.actionTabs.params)})}},[Mn]);const Xr=nr=>Ze(void 0,null,function*(){qn(!0);const sr=yield(0,E.c_)(ye(xe({},en),{page:nr||un,limit:2e4,homework_id:Ge.actionTabs.type===1?"":Ge.actionTabs.selectArrs[0]}));sr==null||sr.course_groups.map((er,vt)=>{er.key=er.id,er.title=er.name,er.disabled=er.is_published}),sr&&(an([...sr==null?void 0:sr.course_groups]),_t(sr==null?void 0:sr.course_groups_count),qn(!1),nr||Vt.setFieldsValue({publish_time:Me()(Me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Me()(Me()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Er=()=>{(0,re.GJ)()?Ge.actionTabs.detail?(Ke({type:"shixunHomeworks/setActionTabs",payload:{}}),Ke({type:"shixunHomeworks/getWorkList",payload:xe({},en)}),Ke({type:"shixunHomeworks/getWorkSetting",payload:xe({},en)})):Ke({type:"classroomList/getClassroomTeacherCommonList",payload:ye(xe({},Ge.actionTabs.params),{type:5,category:Ge.actionTabs.params.categoryId})}):Ke({type:"classroomList/getClassroomCommonList",payload:xe({},Ge.actionTabs.params)})},Kr=()=>Ze(void 0,null,function*(){var nr,sr;if((0,re.Rm)()&&!((nr=Ge.AssistantObject.hack)!=null&&nr.can_publish)){he.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"),ur(!1);return}const er=xe({},Vt.getFieldsValue());if(er.end_time<=er.publish_time){he.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),ur(!1);return}if((Cr==null?void 0:Cr.length)<=0&&!rt&&fn.length>0){he.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),ur(!1);return}if(dn.reduce((tn,Pn)=>tn+Pn)===0&&!Ft){he.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),ur(!1);return}let vt={homework_ids:[...Ge.actionTabs.selectArrs],group_ids:Cr.length>0?Cr.map(tn=>tn.id):(sr=Ge.detailCommonHomeworksList)==null?void 0:sr.course_groups,end_time:Me()(er.end_time).format("YYYY-MM-DD HH:mm"),publish_time:Me()(er.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:dn==null?void 0:dn.map(tn=>tn),send_type:Ft?"0":"1",unified_setting:!Cr.length};if(ur(!0),(yield(0,Ee.ZP)(`/api/courses/${en.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:xe({},vt)})).status===0){if(ur(!1),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),he.ZP.success("\u53D1\u5E03\u6210\u529F"),Ke({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),at){at();return}ft.onCallback&&ft.onCallback(),Er(),localStorage.getItem("Noviceguide")==="0"||Ke({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:ee.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 ur(!1)}),oo=()=>{Vn(1),an([]),Qa([])},Xa=Un>un*Tt,[Nn,ur]=(0,z.useState)(!1);return ee.createElement(Ie.default,{width:600,confirmLoading:Nn,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Ge.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:Kr,onCancel:()=>{if(oo(),Ke({type:"classroomList/setActionTabs",payload:{}}),at){at();return}Er()}},ee.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",ee.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),fn&&ee.createElement(se.default,{form:Vt},ee.createElement("div",{style:{paddingLeft:0}},Ge.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),ee.createElement(Ne.ZP.Group,{value:Ft,disabled:!((Nt=(At=(ut=Ge.actionTabs)==null?void 0:ut.selectArrsAll)==null?void 0:At[0])!=null&&Nt.can_publish),onChange:nr=>{kn(nr.target.value)}},ee.createElement(Ne.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),ee.createElement(Ne.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Ft&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{style:{marginRight:65}}),ee.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",ee.createElement(ie.Z,{value:dn[0],onChange:nr=>{dn[0]=nr,Ln([...dn])},min:0,disabled:!((Fe=(sn=(Pt=Ge.actionTabs)==null?void 0:Pt.selectArrsAll)==null?void 0:sn[0])!=null&&Fe.can_publish),placeholder:`\u6700\u5927${(Jn=(Hn=(Kt=(Qt=Ge.actionTabs)==null?void 0:Qt.selectArrsAll)==null?void 0:Kt[0])==null?void 0:Hn.difficult_count)==null?void 0:Jn[0]}`,max:(Le=(tt=(qe=(Re=Ge.actionTabs)==null?void 0:Re.selectArrsAll)==null?void 0:qe[0])==null?void 0:tt.difficult_count)==null?void 0:Le[0],style:{width:60}})),ee.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",ee.createElement(ie.Z,{value:dn[1],onChange:nr=>{dn[1]=nr,Ln([...dn])},min:0,disabled:!((Oe=(gt=(ht=Ge.actionTabs)==null?void 0:ht.selectArrsAll)==null?void 0:gt[0])!=null&&Oe.can_publish),max:(we=(Ve=(We=(ve=Ge.actionTabs)==null?void 0:ve.selectArrsAll)==null?void 0:We[0])==null?void 0:Ve.difficult_count)==null?void 0:we[1],placeholder:`\u6700\u5927${(Se=(jt=(et=(pt=Ge.actionTabs)==null?void 0:pt.selectArrsAll)==null?void 0:et[0])==null?void 0:jt.difficult_count)==null?void 0:Se[1]}`,style:{width:60}})),ee.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",ee.createElement(ie.Z,{value:dn[2],onChange:nr=>{dn[2]=nr,Ln([...dn])},min:0,disabled:!((Ae=(xt=(st=Ge.actionTabs)==null?void 0:st.selectArrsAll)==null?void 0:xt[0])!=null&&Ae.can_publish),placeholder:`\u6700\u5927${(zt=(wt=(ct=(_e=Ge.actionTabs)==null?void 0:_e.selectArrsAll)==null?void 0:ct[0])==null?void 0:wt.difficult_count)==null?void 0:zt[2]}`,max:(yt=(Dt=(dt=(mn=Ge.actionTabs)==null?void 0:mn.selectArrsAll)==null?void 0:dt[0])==null?void 0:Dt.difficult_count)==null?void 0:yt[2],style:{width:60}}))),ee.createElement(be.Z,{className:"mt30",align:"middle"},ee.createElement(nt.Z,null,ee.createElement(se.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},ee.createElement(je.default,{style:{width:170,marginRight:"25px"},disabledDate:nr=>(0,x.Q8)(nr,it),disabledTime:nr=>(0,x.d0)(nr),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Me()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),ee.createElement(nt.Z,{className:"ml20"},ee.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},ee.createElement(je.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Me()((0,a.U6)(),"HH:mm")},disabledDate:nr=>(0,x.Q8)(nr,it,Vt.getFieldValue("publish_time")),disabledTime:nr=>(0,x.d0)(nr,Vt.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Ge.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),ee.createElement(Ne.ZP.Group,{value:rt,onChange:nr=>{Mt(nr.target.value),Qa([])}},ee.createElement(Ne.ZP,{value:!0,disabled:!Ge.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),ee.createElement(Ne.ZP,{className:"ml20",disabled:fn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),fn.length<=0&&Ge.actionTabs.type===2&&ee.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"')),(Ge.actionTabs.type===1||!rt)&&fn.length>0&&ee.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ee.createElement("span",{style:{flex:1}},ee.createElement(Te.default,{checked:Cr.length===fn.length,onChange:nr=>{Cr.length===fn.length?Qa([]):Qa(fn.filter(sr=>!sr.is_published))}},"\u5168\u9009")," "),ee.createElement("span",{style:{width:16}}),ee.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Cr.length||0,"\u4E2A\u5206\u73ED")),(Ge.actionTabs.type===1||!rt)&&fn.length>0&&ee.createElement(b.Z,{data:fn,selectedRowKeys:Cr,setSelectedRowKeys:Qa})))};St.Z=(0,y.connect)(({classroomList:De})=>({classroomList:De}))(mt)},53051:function(Et,St,te){"use strict";te.d(St,{Q8:function(){return at},d0:function(){return ft},w6:function(){return it}});var z=te(59301),se=te(5083),he=te(57809),Ie=te(8591),be=te(43418),Ne=te(5112),ie=te(95237),nt=te(43604),je=te(6848),Te=te(24905),He=te(3113),Me=te(66649),Ee=te.n(Me),re=te(99287),a=te(82186),y=te(89392),b=te.n(y),E=te(92232),x=te(961),ee=te(52985),ne=te(61822),oe=te(2281),ae=te(73466),ue=te(70170),ge=te(8671),me=te(59301),Pe=Object.defineProperty,xe=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,De=(ut,At,Nt)=>At in ut?Pe(ut,At,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):ut[At]=Nt,Ue=(ut,At)=>{for(var Nt in At||(At={}))Ze.call(At,Nt)&&De(ut,Nt,At[Nt]);if(Be)for(var Nt of Be(At))mt.call(At,Nt)&&De(ut,Nt,At[Nt]);return ut},Ge=(ut,At)=>xe(ut,ye(At)),Ke=(ut,At,Nt)=>new Promise((Pt,sn)=>{var Fe=Hn=>{try{Kt(Nt.next(Hn))}catch(Jn){sn(Jn)}},Qt=Hn=>{try{Kt(Nt.throw(Hn))}catch(Jn){sn(Jn)}},Kt=Hn=>Hn.done?Pt(Hn.value):Promise.resolve(Hn.value).then(Fe,Qt);Kt((Nt=Nt.apply(ut,At)).next())});function it(ut,At){const Nt=[];for(let Pt=ut;Pt<At;Pt++)Nt.push(Pt);return Nt}const at=(ut,At,Nt)=>{const Pt=ut<Ee()().startOf("day"),sn=ut>Ee()(At).endOf("day"),Fe=ut<Ee()(Nt).startOf("day");return At?Nt?Ee()()<=Ee()(Nt)?Fe||sn:Pt||sn:ut&&Pt||sn:Nt&&Ee()()<=Ee()(Nt)?Fe:Pt},ft=(ut,At)=>{const Nt=parseInt(Ee()(ut).format("HH")),Pt=parseInt(Ee()().format("HH")),sn=parseInt(Ee()().format("mm"));if(!ut)return{disabledHours:()=>it(0,Pt),disabledMinutes:()=>it(0,sn)};if(At){const Fe=parseInt(Ee()(At).format("HH")),Qt=parseInt(Ee()(At).format("mm"));return Ee()(ut).isSame(Ee()(At),"day")?{disabledHours:()=>it(0,Fe),disabledMinutes:()=>Nt<=Fe?it(0,Qt):[]}:void 0}if(Ee()(ut).isSame(Ee()(),"day"))return{disabledHours:()=>it(0,Pt),disabledMinutes:()=>Ee()(ut).isSame(Ee()(),"hour")&&Nt<=Pt?it(0,sn):[]}},{RangePicker:Rt}=se.default,{Option:kt}=he.default,Ye=({shixunHomeworks:ut,loading:At,dispatch:Nt,classroomList:Pt,user:sn})=>{var Fe,Qt,Kt,Hn,Jn,Re,qe,tt,Le;const ht=(0,ee.useParams)(),{workSetting:gt,workList:Oe,shixunWorkList:ve,headerInfo:We,changeData:Ve}=ut,[we,pt]=(0,z.useState)(!1),[et,jt]=(0,z.useState)(!1);let[Se,st]=(0,z.useState)([]),[xt,Ae]=(0,z.useState)([]),[_e,ct]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ne.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[wt,zt]=(0,z.useState)({}),[mn,dt]=(0,z.useState)({});(0,z.useEffect)(()=>()=>{st([])},[]),(0,z.useEffect)(()=>{pt(!(0,re.GJ)())},[(0,re.GJ)()]);const Dt=()=>{Nt({type:"shixunHomeworks/getWorkSetting",payload:Ue({},ht)})};(0,z.useEffect)(()=>{if(!(gt!=null&>.course_id))return;Object.keys(_e).map(function(Xt){_e[Xt]=gt[Xt]}),(!_e.allow_late||!_e.unified_late)&&(_e.late_penalty=20,_e.penalty_type=ne.Q.Percent),_e.unified_setting||(_e.unified_late=!1,_e.unified_anonymous_comment=!1,_e.unified_anonymous_appeal=!1),Se=JSON.parse(JSON.stringify(gt.group_settings.map(Xt=>Ge(Ue({},Xt),{group_name:[Xt.group_name]})).filter(Xt=>Xt.publish_time!==null))),xt=JSON.parse(JSON.stringify(gt.allow_late_settings.map(Xt=>Ge(Ue({},Xt),{group_name:[Xt.group_name]})).filter(Xt=>Xt.late_time!==null))),ct(Ue({},_e));const Tt=(0,E.QE)((Se==null?void 0:Se.length)>0?Se:[]);st([...Tt]),(xt==null?void 0:xt.length)<=0?Ae([{penalty_type:ne.Q.Percent,late_penalty:20}]):Ae([...xt])},[gt]);const yt=()=>Ke(void 0,null,function*(){var Tt,Xt;if(((Tt=sn==null?void 0:sn.userInfo)==null?void 0:Tt.user_status)===2){(0,oe.Rd)();return}const Ea=JSON.parse(JSON.stringify(_e));if(Ea.challenge_settings.filter(Mn=>!Mn.hide),Ea.categoryId=ht.categoryId,(Xt=Ea.challenge_settings)!=null&&Xt.every(Mn=>!Mn.checked)){Ie.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Se),!_e.unified_setting)Se=Se==null?void 0:Se.map(Mn=>{var Ga;if(!Mn.publish_time||!Mn.end_time)throw Ie.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(!Mn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Mn.group_name=typeof(Mn==null?void 0:Mn.group_name)=="string"?[Mn==null?void 0:Mn.group_name]:Mn==null?void 0:Mn.group_name,Mn.group_id=(Ga=gt.group_settings)==null?void 0:Ga.filter(La=>{var Ar;return(Ar=Mn==null?void 0:Mn.group_name)==null?void 0:Ar.includes(La.group_name)}).map(La=>La.group_id||La.id).toString().split(","),Mn});else if(!_e.publish_time||!_e.end_time)throw Ie.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(Ea.group_settings=Se,_e.allow_late)if(_e.unified_late){if(_e.late_penalty===null||_e.late_penalty===void 0||_e.late_penalty<0||_e.late_penalty>100)throw Ie.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(!_e.late_time)throw Ie.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 xt=xt==null?void 0:xt.map(Mn=>{var Ga,La;if(Mn.late_penalty===null||Mn.late_penalty===void 0||Mn.late_penalty<0||Mn.late_penalty>100)throw Ie.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(!Mn.late_time)throw Ie.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(!Mn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Mn.group_name=typeof(Mn==null?void 0:Mn.group_name)=="string"?[Mn==null?void 0:Mn.group_name]:Mn==null?void 0:Mn.group_name,Mn.group_id=(La=(Ga=Mn==null?void 0:Mn.group_name)==null?void 0:Ga.map(Ar=>{var Cr,Qa;let rt=(Qa=(Cr=gt.group_settings)==null?void 0:Cr.filter(Mt=>(Mt==null?void 0:Mt.group_name)===Ar))==null?void 0:Qa[0];return rt==null?void 0:rt.group_id}))==null?void 0:La.toString().split(","),Mn}),Ea.allow_late_settings=xt;let qn=yield(0,ge.Tr)({homework_common_ids:[parseInt(ht.categoryId)],course_id:ht.coursesId,type:"homework_common"});(qn==null?void 0:qn.student_count)===0?en(Ea):(dt(Ea),zt(qn))}),en=Tt=>{var Xt;if(Tt.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Tt!=null&&Tt.work_efficiency&&Tt.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Ea=Tt.challenge_settings.reduce((Ga,La)=>Ga+Number(La.challenge_score),0);if((Ea==null?void 0:Ea.toFixed(10))!==((Xt=Tt.total_score-Tt.eff_score)==null?void 0:Xt.toFixed(10))){Ie.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Tt.total_score}\u5206`);return}const qn={shixun_evaluation:Tt.shixun_evaluation,challenge_settings:Tt.challenge_settings};let Mn=()=>{var Ga;const La=()=>Ke(void 0,null,function*(){jt(!0),(yield(0,a.ZP)(`/api/homework_commons/${ht.categoryId}/publish_setting.json`,{method:"post",body:Ue({},Tt)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),Dt(),Nt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ue({},ht)})),jt(!1)});!(0,y.isEqual)(Ve,qn)&&!((Ga=We==null?void 0:We.homework_status)!=null&&Ga.includes("\u672A\u53D1\u5E03"))?be.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:La}):La()};gt!=null&>.high_resources_consume&&!(gt!=null&>.high_resources_consume_permission)?Nt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:ht.coursesId,type:"shixun",type_id:ht.categoryId,name:gt.homework_name,fn:()=>{Mn()}}}):Mn()},Vt=(Tt,Xt,Ea="group_id")=>{var qn;return Xt?Xt.find(Mn=>Mn[Ea]===Tt):(qn=gt==null?void 0:gt.group_settings)==null?void 0:qn.find(Mn=>Mn.group_id[0]===Tt)},un=(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.anonymous_comment),Vn=Tt=>{var Xt,Ea;const qn=Vt(Tt,gt==null?void 0:gt.allow_late_settings,"id"),Mn=Vt(Tt,gt==null?void 0:gt.anonymous_comment_settings),Ga=Vt(Tt);return(gt==null?void 0:gt.allow_late)&&qn&&Ee()(qn==null?void 0:qn.late_time)<=Ee()()||(gt==null?void 0:gt.anonymous_comment)&&Mn&&(Mn==null?void 0:Mn.evaluation_start)!==null||((Ea=(Ee()(Ga==null?void 0:Ga.end_time)<=Ee()()&&((Xt=gt==null?void 0:gt.allow_late_settings)==null?void 0:Xt.filter(La=>La.group_id.includes(Tt))))[0])==null?void 0:Ea.late_time)!=null},fn=(0,z.useMemo)(()=>(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.all_group_late),[gt,We]),an=gt==null?void 0:gt.anonymous_comment,Un=Tt=>{if(!Tt)return!1;const Xt=Vt(Tt,gt==null?void 0:gt.anonymous_comment_settings);return(gt==null?void 0:gt.anonymous_comment)&&Xt&&(Xt==null?void 0:Xt.evaluation_start)!==null},_t=(Tt,Xt)=>{var Ea,qn,Mn;Nt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Tt,index:Xt,rangePickerDisabled:we||(Ee()()<=Ee()((qn=Vt((Ea=Tt==null?void 0:Tt.group_id)==null?void 0:Ea[0]))==null?void 0:qn.publish_time)?!1:[!0,Vn((Mn=Tt==null?void 0:Tt.group_id)==null?void 0:Mn[0])]),disabledDate:gt==null?void 0:gt.course_end_date}})};return me.createElement("section",{className:x.Z.form},me.createElement("div",{className:x.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",me.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")),me.createElement("div",null,me.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},me.createElement(Ne.ZP.Group,{disabled:we||!((Fe=We==null?void 0:We.homework_status)!=null&&Fe.includes("\u672A\u53D1\u5E03"))||(0,re.Rm)()&&!((Qt=Pt.AssistantObject.practice)!=null&&Qt.can_publish),value:_e.unified_setting,onChange:Tt=>{var Xt;if(!((Xt=We==null?void 0:We.homework_status)!=null&&Xt.includes("\u672A\u53D1\u5E03"))){Ie.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(_e.unified_setting=!_e.unified_setting,_e.unified_setting||(_e.unified_late=!1,Ae([{late_penalty:5}])),ct(Object.assign({},_e)),_e.unified_setting===!1&&Se==""){st(Se.concat({}));return}_e.unified_setting&&(st([]),Ae([{late_penalty:5}]))}},me.createElement(Ne.ZP,{value:!0,disabled:we||!(gt!=null&>.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),me.createElement(Ne.ZP,{disabled:we||!((Kt=gt==null?void 0:gt.group_settings)!=null&&Kt.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Hn=gt==null?void 0:gt.group_settings)==null?void 0:Hn.length)===0&&me.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")),_e.unified_setting&&me.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},me.createElement(ie.Z,{align:"middle"},me.createElement(nt.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),me.createElement(nt.Z,{className:"ml10"},me.createElement(se.default,{size:"large",disabled:we||!((Jn=We==null?void 0:We.homework_status)!=null&&Jn.includes("\u672A\u53D1\u5E03")||(Re=We==null?void 0:We.homework_status)!=null&&Re.includes("\u672A\u5F00\u59CB"))||(0,re.Rm)()&&!((qe=Pt.AssistantObject.practice)!=null&&qe.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:Tt=>at(Tt,gt==null?void 0:gt.course_end_date),disabledTime:Tt=>ft(Tt),value:_e.publish_time?Ee()(_e.publish_time):"",onChange:(Tt,Xt)=>{_e.publish_time=Xt,(_e.end_time==""||!_e.end_time)&&_e.unified_setting&&(_e.end_time=Ee()(Tt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),ct(Object.assign({},_e))}}))),me.createElement(ie.Z,{align:"middle",className:"pl30"},me.createElement(nt.Z,null,"\u622A\u6B62\u65F6\u95F4"),me.createElement(nt.Z,{className:"ml10"},me.createElement(se.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ee()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(gt==null?void 0:gt.allow_late)&&(gt==null?void 0:gt.homework_status.includes("\u5DF2\u622A\u6B62"))||we||(gt==null?void 0:gt.allow_late)&&Ee()()>=Ee()(gt==null?void 0:gt.end_time)||(0,re.Rm)()&&!((tt=Pt.AssistantObject.practice)!=null&&tt.can_publish),disabledDate:Tt=>at(Tt,gt==null?void 0:gt.course_end_date,_e.publish_time),disabledTime:Tt=>ft(Tt,_e.publish_time),value:_e.end_time?Ee()(_e.end_time):"",onChange:(Tt,Xt)=>{_e.end_time=Xt,ct(Object.assign({},_e))}})))),!_e.unified_setting&&(Se==null?void 0:Se.length)>0&&me.createElement(ie.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Se&&Se.map(function(Tt,Xt){var Ea,qn,Mn,Ga,La,Ar,Cr;return me.createElement(nt.Z,{span:24,key:Xt},me.createElement(ie.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Xt==(Se==null?void 0:Se.length)-1?"0px":"10px"}},me.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Xt+1),me.createElement(he.default,{disabled:we||((Ea=We==null?void 0:We.homework_status)!=null&&Ea.includes("\u672A\u53D1\u5E03")&&Tt.id||Ee()()<Ee()(Tt==null?void 0:Tt.publish_time)?!1:!!(Tt!=null&&Tt.publish_time))||(0,re.Rm)()&&!((qn=Pt.AssistantObject.practice)!=null&&qn.can_publish),mode:"multiple",className:x.Z.multiple_select,style:{width:"250px"},value:Tt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Qa=>{var rt;if((0,re.Rm)()&&!((rt=Pt.AssistantObject.practice)!=null&&rt.can_publish)){Ie.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}Se[Xt].group_name=Qa,Se[Xt].group_id=Tt.group_id;const Mt=(0,y.flattenDeep)(Se.map(kn=>kn.group_name)),Ft=xt.map(kn=>{let dn=(kn==null?void 0:kn.group_name)||[];return Ge(Ue({},kn),{group_name:(0,y.remove)(dn,Ln=>Mt.includes(Ln))})});Ae(Ft),st(Se.slice())},maxTagCount:4,maxTagPlaceholder:Qa=>me.createElement("div",{style:{cursor:"pointer"},onClick:()=>_t(Tt,Xt)},"+",Qa==null?void 0:Qa.length)},gt.group_settings&>.group_settings.map(function(Qa){if(!Se.map(Mt=>Mt.group_name).flat().includes(Qa.group_name))return me.createElement(kt,{value:Qa.group_name,key:Qa.id},Qa.group_name)})),me.createElement("div",{className:"ml20"},me.createElement(Rt,{size:"large",ranges:{\u6B64\u523B:[Tt.publish_time?Ee()(Tt.publish_time):Ee()(),Ee()()]},allowClear:!1,disabled:we||(Ee()()<=Ee()((Ga=Vt((Mn=Tt==null?void 0:Tt.group_id)==null?void 0:Mn[0]))==null?void 0:Ga.publish_time)?!1:[!0,Vn((La=Tt==null?void 0:Tt.group_id)==null?void 0:La[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:Qa=>at(Qa,gt==null?void 0:gt.course_end_date),disabledTime:Qa=>ft(Qa),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ee()((0,E.U6)(),"HH:mm"),Ee()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Tt.publish_time&&[Ee()(Tt.publish_time),Tt.end_time?Ee()(Tt.end_time):void 0],onChange:(Qa,rt)=>{var Mt;if((0,re.Rm)()&&!((Mt=Pt.AssistantObject.practice)!=null&&Mt.can_publish)){Ie.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}Se[Xt].publish_time=rt[0],!Tt.end_time&&rt[0]?Se[Xt].end_time=Ee()(rt[0]).add(7,"days"):Se[Xt].end_time=rt[1],st([...Se])},onCalendarChange:(Qa,rt,Mt)=>{if(rt!=null&&rt[0]&&!rt[1]){const Ft=Ee()(rt[0]).add(7,"days");Se[Xt].publish_time=rt[0],Se[Xt].end_time=Ft,st([...Se])}}})),!we&&me.createElement("div",{style:{display:"flex",width:"50px"}},((Ar=Tt==null?void 0:Tt.group_id)==null?void 0:Ar.length)>1&&me.createElement(je.Z,{title:"\u89C4\u5219\u62C6\u5206"},me.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>_t(Tt,Xt)})),Se.length<((Cr=gt==null?void 0:gt.group_settings)==null?void 0:Cr.length)&&me.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Qa;if((0,re.Rm)()&&!((Qa=Pt.AssistantObject.practice)!=null&&Qa.can_publish)){Ie.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}st(Se.concat({}))}}),((Tt==null?void 0:Tt.publish_time)&&Ee()()<Ee()(Tt==null?void 0:Tt.publish_time)||!(Tt!=null&&Tt.publish_time))&&Xt!=0&&me.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Qa=(0,y.cloneDeep)(xt);Qa.forEach((rt,Mt)=>{rt.group_name&&(rt.group_name=rt.group_name.filter(Ft=>{var kn;return!((kn=Se[Xt].group_name)!=null&&kn.includes(Ft))}))}),Se=Se.filter((rt,Mt)=>Xt!==Mt),Ae(Qa),st(Se.slice()),setTimeout(()=>st(Se.slice()),10)}}))))}))),me.createElement(ie.Z,null,me.createElement(nt.Z,null,me.createElement("div",{className:x.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",me.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"))),me.createElement(nt.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},me.createElement(Te.default,{checked:_e.allow_late,disabled:we||fn,onChange:Tt=>{var Xt;if((0,re.Rm)()&&!((Xt=Pt.AssistantObject.practice)!=null&&Xt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Tt.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:me.createElement("div",{style:{padding:10,background:"#f5f6f9"}},me.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"),me.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),me.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"))}),_e.allow_late=!_e.allow_late,xt==""&&Ae([{late_penalty:5}]),ct(Object.assign({},_e))}},me.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(_e==null?void 0:_e.allow_late)&&me.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},me.createElement("div",{style:{display:"flex"}},me.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),me.createElement(Ne.ZP.Group,{style:{marginLeft:"20px"},disabled:we||(gt==null?void 0:gt.anonymous_comment)||(gt==null?void 0:gt.allow_late),value:_e.unified_late,onChange:Tt=>{var Xt;if((0,re.Rm)()&&!((Xt=Pt.AssistantObject.practice)!=null&&Xt.can_late)){Ie.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}_e.unified_late=Tt.target.value,xt==""&&!Tt.target.value&&Ae([{penalty_type:ne.Q.Percent,late_penalty:20}]),ct(Ue({},_e))}},(_e==null?void 0:_e.unified_setting)&&me.createElement(Ne.ZP,{value:!0,disabled:!(gt!=null&>.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Le=gt==null?void 0:gt.group_settings)==null?void 0:Le.length)>0&&me.createElement(Ne.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),_e!=null&&_e.unified_late?me.createElement(me.Fragment,null,me.createElement(ie.Z,{align:"middle",style:{marginTop:"10px"}},me.createElement(nt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),me.createElement(nt.Z,{className:"ml20"},me.createElement(ne.Z,{disabled:we||an,value:{type:_e.penalty_type,inputValue:_e.late_penalty},onChange:Tt=>{var Xt;if((0,re.Rm)()&&!((Xt=Pt.AssistantObject.practice)!=null&&Xt.can_late)){Ie.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}ct(Ge(Ue({},_e),{late_penalty:Tt.inputValue,penalty_type:Tt.type}))}})),me.createElement(nt.Z,{flex:"1",className:"ml5"},me.createElement("span",{className:"c-grey-c ml10"},_e.penalty_type===ne.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)"))),me.createElement(ie.Z,{align:"middle",style:{marginTop:"15px"}},me.createElement(nt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),me.createElement(nt.Z,{className:"ml20"},me.createElement(se.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ee()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:we||an,value:_e.late_time?Ee()(_e.late_time):"",disabledDate:Tt=>at(Tt,gt==null?void 0:gt.course_end_date),onChange:(Tt,Xt)=>{var Ea;if((0,re.Rm)()&&!((Ea=Pt.AssistantObject.practice)!=null&&Ea.can_late)){Ie.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}_e.late_time=Xt,ct(Object.assign({},_e))}})))):xt.map(function(Tt,Xt){var Ea;return me.createElement(nt.Z,{span:24,key:Xt},me.createElement(ie.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},me.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Xt+1),me.createElement(he.default,{disabled:we||!((Ea=We==null?void 0:We.homework_status)!=null&&Ea.includes("\u672A\u53D1\u5E03"))&&Tt.id||(gt==null?void 0:gt.anonymous_comment),mode:"multiple",className:x.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Tt.group_name=="string"?[Tt.group_name]:Tt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:qn=>{var Mn;if((0,re.Rm)()&&!((Mn=Pt.AssistantObject.practice)!=null&&Mn.can_late)){Ie.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[Xt].group_name=qn,xt[Xt].group_id=Tt.group_id,Ae(xt.slice())}},gt.group_settings&>.group_settings.map(function(qn){const Mn=xt.map(La=>La.group_name).flat(),Ga=Se.map(La=>La.group_name).flat();if(_e!=null&&_e.unified_setting){if(!Mn.includes(qn.group_name))return me.createElement(kt,{value:qn.group_name,key:qn.id},qn.group_name)}else if(Ga.includes(qn.group_name)&&!Mn.includes(qn.group_name))return me.createElement(kt,{value:qn.group_name,key:qn.id},qn.group_name)})),me.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),me.createElement(ne.Z,{disabled:we||Un(Tt.id),value:{type:Tt.penalty_type,inputValue:Tt.late_penalty},onChange:qn=>{var Mn;if((0,re.Rm)()&&!((Mn=Pt.AssistantObject.practice)!=null&&Mn.can_late)){Ie.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[Xt].late_penalty=qn.inputValue,xt[Xt].penalty_type=qn.type,Ae([...xt])}}),me.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),me.createElement(se.default,{size:"large",disabled:we||Un(Tt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Ee()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:qn=>at(qn,gt==null?void 0:gt.course_end_date),format:"YYYY-MM-DD HH:mm",value:Tt!=null&&Tt.late_time?Ee()(Tt.late_time):void 0,onChange:(qn,Mn)=>{var Ga;if((0,re.Rm)()&&!((Ga=Pt.AssistantObject.practice)!=null&&Ga.can_late)){Ie.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[Xt].late_time=Mn,Ae([...xt])}}),!we&&me.createElement("div",{style:{display:"flex",width:"50px"}},me.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var qn;if((0,re.Rm)()&&!((qn=Pt.AssistantObject.practice)!=null&&qn.can_late)){Ie.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}Ae(xt.concat({penalty_type:ne.Q.Percent,late_penalty:20}))}}),Xt>0&&!Tt.id&&me.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var qn;if((0,re.Rm)()&&!((qn=Pt.AssistantObject.practice)!=null&&qn.can_late)){Ie.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=xt.filter((Mn,Ga)=>Xt!==Ga),Ae(xt.slice()),setTimeout(()=>Ae(xt.slice()),10)}}))))})),!we&&me.createElement(me.Fragment,null,me.createElement(He.ZP,{type:"primary",size:"large",loading:et,style:{width:"138px",marginTop:"30px"},onClick:()=>yt()},"\u4FDD\u5B58")),me.createElement(ae.Z,{onConfirm:(Tt,Xt)=>{Se.splice(Tt,0,...Xt),Se.splice(Tt+Xt.length,1);const Ea=(0,E.QE)([...Se]);st([...Ea])}}),me.createElement(ue.Z,{resdata:wt,type:"shixun",okloading:et,oktext:(wt==null?void 0:wt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Tt=>Ke(void 0,null,function*(){jt(!0);let Xt=yield(0,a.ZP)(`/api/courses/${ht.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(ht.categoryId)]}});jt(!1),(Xt==null?void 0:Xt.status)===0&&en(mn)})}))};St.ZP=(0,ee.connect)(({shixunHomeworks:ut,classroomList:At,loading:Nt,user:Pt})=>({shixunHomeworks:ut,classroomList:At,loading:Nt.effects,user:Pt}))(Ye)},74732:function(Et,St,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(43418),be=te(8591),Ne=te(1710),ie=te(52985),nt=te(21600),je=te(14875),Te=te(82186),He=te(66649),Me=te.n(He),Ee=te(92232),re=te(59301),a=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,x=(ue,ge,me)=>ge in ue?a(ue,ge,{enumerable:!0,configurable:!0,writable:!0,value:me}):ue[ge]=me,ee=(ue,ge)=>{for(var me in ge||(ge={}))b.call(ge,me)&&x(ue,me,ge[me]);if(y)for(var me of y(ge))E.call(ge,me)&&x(ue,me,ge[me]);return ue},ne=(ue,ge,me)=>new Promise((Pe,xe)=>{var ye=mt=>{try{Ze(me.next(mt))}catch(De){xe(De)}},Be=mt=>{try{Ze(me.throw(mt))}catch(De){xe(De)}},Ze=mt=>mt.done?Pe(mt.value):Promise.resolve(mt.value).then(ye,Be);Ze((me=me.apply(ue,ge)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:ge,onOk:me})=>{const Pe=(0,ie.useParams)(),[xe]=he.default.useForm(),[ye,Be]=(0,z.useState)(),[Ze,mt]=(0,z.useState)(!1),De={height:100,onRemove:()=>{Be("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:Ue=>ne(void 0,null,function*(){return Be(Ue),!1})};return(0,z.useEffect)(()=>{xe.setFieldsValue({publish_time:Me()(Me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Me()(Me()(new Date((0,Ee.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),re.createElement(Ie.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:ue.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Ze},onOk:()=>ne(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),ge({type:"classroomList/setActionTabs",payload:{}})}},re.createElement(he.default,{form:xe,onFinish:Ue=>ne(void 0,null,function*(){var Ge,Ke,it;if(!(ye!=null&&ye.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}mt(!0);let at=new FormData;at.append("type",ue.actionTabs.type),at.append("file",ye);let ft;window.location.href.indexOf("exercise")>-1?ft=`/api/exercises/${ue.actionTabs.id}/supplement_score.json`:ft=`/api/homework_commons/${ue.actionTabs.id}/supplement_score.json`;let Rt=yield(0,Te.ZP)(ft,{method:"post",body:at},!0);mt(!1),(Rt==null?void 0:Rt.status)===0&&(me(),xe.resetFields(),ge({type:"classroomList/setActionTabs",payload:{}}),((Ke=(Ge=Rt==null?void 0:Rt.data)==null?void 0:Ge.fail)==null?void 0:Ke.length)>0&&Ie.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:re.createElement(Ne.default,{pagination:!1,dataSource:(it=Rt==null?void 0:Rt.data)==null?void 0:it.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ee.FH)("",nt.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${ue.actionTabs.type}`)}}))})},re.createElement(he.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},ue.actionTabs.name),re.createElement(he.default.Item,{style:{marginBottom:0},label:re.createElement("div",null,re.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),re.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},re.createElement("div",null,re.createElement("a",{download:"\u6A21\u7248.xlsx",className:je.Z.downloadbutton,href:nt.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${ue.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),re.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),re.createElement(he.default.Item,{style:{marginBottom:0}},re.createElement(oe,ee({},De),re.createElement("a",{className:je.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),re.createElement("br",null),re.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};St.Z=(0,ie.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},71621:function(Et,St,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(99313),be=te(1710),Ne=te(58421),ie=te(52985),nt=te(82186),je=te(66649),Te=te.n(je),He=te(59301),Me=(a,y,b)=>new Promise((E,x)=>{var ee=ae=>{try{oe(b.next(ae))}catch(ue){x(ue)}},ne=ae=>{try{oe(b.throw(ae))}catch(ue){x(ue)}},oe=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(ee,ne);oe((b=b.apply(a,y)).next())});const{Dragger:Ee}=se.default,re=({})=>{const a=(0,ie.useParams)(),[y]=he.default.useForm(),[b,E]=(0,z.useState)(!0),[x,ee]=(0,z.useState)(!1);let[ne,oe]=(0,z.useState)({type:window.location.href.indexOf("program_homework")>-1?2:1,limit:10,page:1});const ae=[{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}];function ue(){return Me(this,null,function*(){let me;ee(!0),window.location.href.indexOf("exercise")>-1?me=`/api/exercises/${a==null?void 0:a.categoryId}/redo_logs.json`:me=`/api/homework_commons/${a==null?void 0:a.categoryId}/redo_logs.json`;let Pe=yield(0,nt.ZP)(me,{method:"get",params:ne});ee(!1),(Pe==null?void 0:Pe.status)===0&&E(Pe==null?void 0:Pe.data)})}(0,z.useEffect)(()=>{ue()},[]);let ge=[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u9898\u578B",dataIndex:"question_type",render:(me,Pe,xe)=>{var ye;return(ye=ae.find(Be=>Be.question_type===me))==null?void 0:ye.name}},window.location.href.indexOf("exercise")>-1&&{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"question_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u5173\u5361\u540D\u79F0",dataIndex:"challenge_name"},window.location.href.indexOf("exercise")<=-1&&{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"task_name",width:"40%"},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(me,Pe,xe)=>{var ye;return(ye=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(Be=>Be.id===me))==null?void 0:ye.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(me,Pe,xe)=>Te()(me).format("YYYY-MM-DD HH:mm:ss")}].filter(me=>!!me);return He.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},He.createElement(Ie.default,{destroyInactiveTabPane:!0,onChange:me=>{ne.type=me,ne.page=1,ne.limit=10,oe(ne),ue()},items:[window.location.href.indexOf("program_homework")<=-1&&{key:"1",label:"\u6253\u56DE\u91CD\u505A",children:He.createElement(be.default,{className:"mt20",loading:x,columns:[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},{title:"\u6253\u56DE\u91CD\u505A\u65F6\u95F4",dataIndex:"created_at",render:(me,Pe,xe)=>Te()(me).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"operator"}],dataSource:b==null?void 0:b.list,pagination:!1})},{key:"2",label:"\u91CD\u7F6E\u4EE3\u7801",children:He.createElement(be.default,{className:"mt20",loading:x,columns:ge,dataSource:b==null?void 0:b.list,pagination:!1})}].filter(me=>!!me)}),He.createElement(Ne.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(me,Pe)=>{ne.page=me,ne.limit=Pe,oe(ne),ue()},current:ne.page,total:b.count,pageSize:ne.limit,style:{marginTop:20}}))};St.Z=(0,ie.connect)(({classroomList:a})=>({classroomList:a}))(re)},3829:function(Et,St,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(43418),be=te(5871),Ne=te(52985),ie=te(82186),nt=te(66649),je=te.n(nt),Te=te(92232),He=te(59301),Me=Object.defineProperty,Ee=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(ue,ge,me)=>ge in ue?Me(ue,ge,{enumerable:!0,configurable:!0,writable:!0,value:me}):ue[ge]=me,x=(ue,ge)=>{for(var me in ge||(ge={}))y.call(ge,me)&&E(ue,me,ge[me]);if(a)for(var me of a(ge))b.call(ge,me)&&E(ue,me,ge[me]);return ue},ee=(ue,ge)=>Ee(ue,re(ge)),ne=(ue,ge,me)=>new Promise((Pe,xe)=>{var ye=mt=>{try{Ze(me.next(mt))}catch(De){xe(De)}},Be=mt=>{try{Ze(me.throw(mt))}catch(De){xe(De)}},Ze=mt=>mt.done?Pe(mt.value):Promise.resolve(mt.value).then(ye,Be);Ze((me=me.apply(ue,ge)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:ge,onOk:me})=>{const Pe=(0,Ne.useParams)(),[xe]=he.default.useForm(),[ye,Be]=(0,z.useState)(),[Ze,mt]=(0,z.useState)(!1),De={height:100,onRemove:()=>{Be("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:Ue=>ne(void 0,null,function*(){return Be(Ue),!1})};return(0,z.useEffect)(()=>{xe.setFieldsValue({publish_time:je()(je()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:je()(je()(new Date((0,Te.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),He.createElement(Ie.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:ue.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Ze},onOk:()=>ne(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),ge({type:"classroomList/setActionTabs",payload:{}})}},He.createElement(he.default,{form:xe,onFinish:Ue=>ne(void 0,null,function*(){var Ge,Ke;console.log("---",ue.actionTabs,Ue,Pe);let it=((Ge=ue==null?void 0:ue.actionTabs)==null?void 0:Ge.type)==="exercise"?`/api/exercises/${Pe==null?void 0:Pe.category}/exercise_user/edit_score.json`:`/api/student_works/${ue.actionTabs.id}/edit_score.json`;mt(!0);let at=yield(0,ie.ZP)(it,{method:"post",body:ee(x({},Ue),{exercise_user_id:((Ke=ue==null?void 0:ue.actionTabs)==null?void 0:Ke.type)==="exercise"?ue.actionTabs.id:""})});mt(!1),xe.resetFields(),ge({type:"classroomList/setActionTabs",payload:{}}),me()})},He.createElement(he.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},He.createElement(be.Z,{min:0,style:{width:"100%"}}))))};St.Z=(0,Ne.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},32215:function(Et,St,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(3113),be=te(95237),Ne=te(81327),ie=te(5083),nt=te(52985),je=te(66649),Te=te.n(je),He=te(53051),Me=te(82186),Ee=te(59301),re=(b,E,x)=>new Promise((ee,ne)=>{var oe=ge=>{try{ue(x.next(ge))}catch(me){ne(me)}},ae=ge=>{try{ue(x.throw(ge))}catch(me){ne(me)}},ue=ge=>ge.done?ee(ge.value):Promise.resolve(ge.value).then(oe,ae);ue((x=x.apply(b,E)).next())});const{Dragger:a}=se.default,y=({})=>{const b=(0,nt.useParams)(),[E]=he.default.useForm(),[x,ee]=(0,z.useState)(!0),[ne,oe]=(0,z.useState)(!1);console.log("----",b);function ae(){return re(this,null,function*(){var ue,ge;let me;window.location.href.indexOf("exercise")>-1?me=`/api/exercises/${b==null?void 0:b.categoryId}/get_time_setting.json`:me=`/api/homework_commons/${b==null?void 0:b.categoryId}/get_time_setting.json`;let Pe=yield(0,Me.ZP)(me,{method:"get"});(Pe==null?void 0:Pe.status)===0&&E.setFieldsValue({publish_time:Te()(Te()((ue=Pe==null?void 0:Pe.data)==null?void 0:ue.publish_time).format("YYYY-MM-DD HH:mm")),end_time:Te()(Te()((ge=Pe==null?void 0:Pe.data)==null?void 0:ge.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,z.useEffect)(()=>{ae()},[]),Ee.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},Ee.createElement("div",{style:{textAlign:"end"}},x&&Ee.createElement(Ie.ZP,{onClick:()=>{ee(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!x&&Ee.createElement("div",null,Ee.createElement(Ie.ZP,{type:"primary",loading:ne,onClick:()=>{E.submit()}},"\u63D0\u4EA4"),Ee.createElement(Ie.ZP,{style:{marginLeft:20},onClick:()=>{ee(!0)}},"\u53D6\u6D88"))),Ee.createElement(he.default,{form:E,disabled:x,onFinish:ue=>re(void 0,null,function*(){oe(!0),console.log("---",window.location.href);let ge;window.location.href.indexOf("exercise")>-1?ge=`/api/exercises/${b==null?void 0:b.categoryId}/time_setting.json`:ge=`/api/homework_commons/${b==null?void 0:b.categoryId}/time_setting.json`;let me=yield(0,Me.ZP)(ge,{method:"post",body:{publish_time:Te()(ue.publish_time).format("YYYY-MM-DD HH:mm"),end_time:Te()(ue.end_time).format("YYYY-MM-DD HH:mm")}});oe(!1),(me==null?void 0:me.status)===0&&ee(!0)})},Ee.createElement(be.Z,null,Ee.createElement(Ne.Z,null,Ee.createElement(he.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},Ee.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,He.Q8)(ue),disabledTime:ue=>(0,He.d0)(ue),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),Ee.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),Ee.createElement(be.Z,null,Ee.createElement(Ne.Z,null,Ee.createElement(he.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},Ee.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,He.Q8)(ue,"",E.getFieldValue("publish_time")),disabledTime:ue=>(0,He.d0)(ue,E.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),Ee.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")))))};St.Z=(0,nt.connect)(({classroomList:b})=>({classroomList:b}))(y)},99825:function(Et,St,te){"use strict";te.d(St,{Z:function(){return ue}});var z=te(59301),se=te(92832),he=te(24905),Ie=te(95237),be={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ie=te(4977),nt=te(3113),je=te(52985),Te=te(13656),He=Object.defineProperty,Me=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,b=(ge,me,Pe)=>me in ge?He(ge,me,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ge[me]=Pe,E=(ge,me)=>{for(var Pe in me||(me={}))a.call(me,Pe)&&b(ge,Pe,me[Pe]);if(re)for(var Pe of re(me))y.call(me,Pe)&&b(ge,Pe,me[Pe]);return ge},x=(ge,me)=>Me(ge,Ee(me));const ee=({img:ge,buttonProps:me={},styles:Pe={},customText:xe,ButtonText:ye,ButtonClick:Be,Buttonclass:Ze,ButtonTwo:mt,imgStyles:De,loading:Ue=!1,className:Ge="",globalSetting:Ke})=>{const it=(0,z.useMemo)(()=>{var ft;if(ge)return ge;switch(Number((ft=Ke==null?void 0:Ke.setting)==null?void 0:ft.theme)){case Te.Fy.THEMEONE:return te(56022);case Te.Fy.THEMETWO:return te(58478);case Te.Fy.THEMETHREE:return te(26551);case Te.Fy.DEFAULT:default:return ie}},[Ke,ge]),at=(0,z.useMemo)(()=>{var ft;switch(Number((ft=Ke==null?void 0:Ke.setting)==null?void 0:ft.theme)){case Te.Fy.THEMETHREE:return"#03A092";case Te.Fy.DEFAULT:default:return"#999"}},[Ke]);return z.createElement("section",{className:`tc animated fadeIn ${Ge}`,style:E({color:"#999",margin:"100px auto",visibility:Ue?"hidden":"visible"},Pe)},z.createElement("img",{src:it,style:x(E({},De),{pointerEvents:"none",userSelect:"none",width:"200px",height:"150px"})}),z.createElement("p",{className:"mt20 font14",style:{color:at}},xe||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),ye&&z.createElement(nt.ZP,E({className:Ze,onClick:Be},me),ye),mt&&mt)};var ne=(0,je.connect)(({globalSetting:ge})=>({globalSetting:ge}))(ee),oe=(ge,me,Pe)=>new Promise((xe,ye)=>{var Be=De=>{try{mt(Pe.next(De))}catch(Ue){ye(Ue)}},Ze=De=>{try{mt(Pe.throw(De))}catch(Ue){ye(Ue)}},mt=De=>De.done?xe(De.value):Promise.resolve(De.value).then(Be,Ze);mt((Pe=Pe.apply(ge,me)).next())}),ue=({data:ge,value:me=[],handleChangePage:Pe,setSelectedRowKeys:xe,selectedRowKeys:ye,onChange:Be=()=>{}})=>{const[Ze,mt]=(0,z.useState)([]),[De,Ue]=(0,z.useState)([]),[Ge,Ke]=(0,z.useState)([]);let[it,at]=(0,z.useState)(1),[ft,Rt]=(0,z.useState)();return(0,z.useEffect)(()=>{mt(ge),Ue([]),Ke([])},[ge]),(0,z.useEffect)(()=>{xe&&(Ue(ye),Ke(ye))},[ye]),z.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},z.createElement("div",{className:be.leftdiv},z.createElement(se.default.Search,{size:"middle",onChange:kt=>oe(void 0,null,function*(){mt(ge.filter(Ye=>{var ut;return(ut=Ye==null?void 0:Ye.name)==null?void 0:ut.includes(kt.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Ze.length===0&&z.createElement(ne,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),z.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},z.createElement(he.default.Group,{value:De.map(kt=>`${kt.id}`),onChange:kt=>{xe(Ze.filter(Ye=>kt.includes(`${Ye.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},Ze.map((kt,Ye)=>z.createElement(Ie.Z,{key:kt.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},z.createElement(he.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:kt.is_published,value:`${kt.id}`},z.createElement("div",{className:be.listClass},z.createElement("span",{className:be.spantitle,style:{width:kt.is_published?"108px":"170px"}},kt.name),kt.is_published&&z.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),z.createElement("div",{className:be.rightdiv},z.createElement(se.default.Search,{onChange:kt=>{Ke(De.filter(Ye=>Ye.name.includes(kt.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Ge.length===0&&z.createElement(ne,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Ge.length>0&&z.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},z.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Ge.map((kt,Ye)=>z.createElement(Ie.Z,{justify:"space-between",style:{marginTop:"10px"},key:kt.id},z.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},kt.name),z.createElement("img",{src:Ne,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{xe(De.filter(ut=>`${ut.id}`!=`${kt.id}`))}})))))))}},73466:function(Et,St,te){"use strict";te.d(St,{Z:function(){return y}});var z=te(59301),se=te(52985),he=te(5083),Ie=te(43418),be=te(92832),Ne=te(95237),ie=te(43604),nt={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},je=te(66649),Te=te.n(je),He=te(92232),Me=te(77740),Ee=te(59301);const{RangePicker:re}=he.default,a=({dispatch:b,classroomList:E,onConfirm:x})=>{const[ee,ne]=(0,z.useState)([]),[oe,ae]=(0,z.useState)([]),[ue,ge]=(0,z.useState)("");(0,z.useEffect)(()=>{var xe;if(E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let ye=E.actionTabs.data;console.log("data",ye);let Be=(xe=ye==null?void 0:ye.group_name)==null?void 0:xe.map((Ze,mt)=>{var De;return{group_id:ye==null?void 0:ye.group_id[mt],group_name:ye==null?void 0:ye.group_name[mt],is_admin:ye==null?void 0:ye.is_admin,end_time:ye==null?void 0:ye.end_time,publish_time:Array.isArray(ye==null?void 0:ye.publish_time)?(De=ye==null?void 0:ye.publish_time)==null?void 0:De[0]:ye==null?void 0:ye.publish_time}});Be&&(ne([...Be]),ae([...Be]))}},[E.actionTabs]);const me=()=>{b({type:"classroomList/setActionTabs",payload:{}}),ge("")},Pe=xe=>{if(xe){const ye=oe==null?void 0:oe.filter(Be=>{var Ze,mt;return(mt=(Ze=Be==null?void 0:Be.group_name)==null?void 0:Ze.toLowerCase())==null?void 0:mt.includes(xe==null?void 0:xe.toLowerCase())});ne(ye)}else ne(oe)};return Ee.createElement(Ie.default,{width:980,title:Ee.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Ee.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Ee.createElement("span",{className:nt.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")),Ee.createElement(be.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:ue,onChange:xe=>{ge(xe.target.value.trim()),Pe(xe.target.value.trim())}})),centered:!0,maskClosable:!1,open:E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>me(),onOk:()=>{var xe;x((xe=E.actionTabs)==null?void 0:xe.index,oe),me()}},Ee.createElement("div",{className:nt.modal_con},Ee.createElement(Ne.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ee==null?void 0:ee.length)>0?ee.map(function(xe,ye){var Be,Ze;return Ee.createElement(ie.Z,{span:24,key:ye},Ee.createElement(Ne.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:ye==(ee==null?void 0:ee.length)-1?"0px":"10px"}},Ee.createElement("div",{className:nt.multiple_select,title:xe.group_name},xe.group_name),Ee.createElement("div",{className:"ml20"},Ee.createElement(re,{size:"large",ranges:{\u6B64\u523B:[xe.publish_time?Te()(xe.publish_time):Te()(),Te()()]},allowClear:!1,disabled:(Be=E.actionTabs)==null?void 0:Be.rangePickerDisabled,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:mt=>{var De;return(0,He.Q8)(mt,(De=E.actionTabs)==null?void 0:De.disabledDate)},disabledTime:mt=>(0,He.d0)(mt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Te()((0,He.U6)(),"HH:mm"),Te()((0,He.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:xe.publish_time&&[Te()(xe.publish_time),xe.end_time?Te()(xe.end_time):void 0],onChange:(mt,De)=>{ee[ye].publish_time=De[0],ee[ye].end_time=De[1],ne([...ee]),oe.forEach(Ue=>{Ue.group_id===xe.group_id&&(Ue.publish_time=De[0],Ue.end_time=De[1])}),ae([...oe])}})),(Ze=E.actionTabs)!=null&&Ze.rangePickerDisabled?Ee.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Ee.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ee.splice(ye,1),ne([...ee]),oe.forEach((mt,De)=>{mt.group_id===xe.group_id&&oe.splice(De,1)}),ae([...oe])}})))}):Ee.createElement(Me.Z,null))))};var y=(0,se.connect)(({classroomList:b})=>({classroomList:b}))(a)},3995:function(Et,St,te){"use strict";te.d(St,{AD:function(){return mt},BA:function(){return Jn},D9:function(){return at},Hp:function(){return ae},IM:function(){return Rt},Iy:function(){return ue},KM:function(){return Hn},KU:function(){return At},MJ:function(){return ge},Ne:function(){return ft},ON:function(){return Pt},Uj:function(){return Qt},VY:function(){return ut},YO:function(){return Fe},YX:function(){return sn},Zn:function(){return a},_g:function(){return ee},_k:function(){return Ke},c6:function(){return Be},cr:function(){return y},eV:function(){return Ze},fi:function(){return b},gh:function(){return xe},hS:function(){return kt},iA:function(){return E},j6:function(){return ne},je:function(){return Ge},jj:function(){return oe},kS:function(){return Nt},o6:function(){return ye},pO:function(){return Kt},rQ:function(){return De},sA:function(){return Pe},xm:function(){return it},xo:function(){return Ye},y8:function(){return Ue},yd:function(){return x}});var z=te(30467),se=te(52985),he=te(92232),Ie=te(8591),be=te(21600),Ne=Object.defineProperty,ie=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Te=(Re,qe,tt)=>qe in Re?Ne(Re,qe,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Re[qe]=tt,He=(Re,qe)=>{for(var tt in qe||(qe={}))nt.call(qe,tt)&&Te(Re,tt,qe[tt]);if(ie)for(var tt of ie(qe))je.call(qe,tt)&&Te(Re,tt,qe[tt]);return Re},Me=(Re,qe,tt)=>new Promise((Le,ht)=>{var gt=We=>{try{ve(tt.next(We))}catch(Ve){ht(Ve)}},Oe=We=>{try{ve(tt.throw(We))}catch(Ve){ht(Ve)}},ve=We=>We.done?Le(We.value):Promise.resolve(We.value).then(gt,Oe);ve((tt=tt.apply(Re,qe)).next())});const Ee=()=>{(0,se.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},re=()=>{(0,se.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=Re=>Me(void 0,null,function*(){Ee(),(yield(0,z.YR)(He({},Re))).status===0&&(yield(0,he.QH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_couser_info.json`,query:Re}))),re()}),y=Re=>Me(void 0,null,function*(){const qe=yield(0,z.yS)(He({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`);else{if(qe.status===-2)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`))}}),b=Re=>Me(void 0,null,function*(){const qe=yield(0,z.W0)(He({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`))}}),E=Re=>Me(void 0,null,function*(){const qe=yield(0,z.Nl)(He({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=Re=>Me(void 0,null,function*(){const qe=yield(0,z.IU)(He({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`))}}),ee=Re=>Me(void 0,null,function*(){const qe=yield(0,z.td)(He({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-2)return qe;if(qe.status===-3)(0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else if(qe.status===-4)return qe}}),ne=Re=>Me(void 0,null,function*(){const qe=yield(0,z.QX)(He({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`))}}),oe=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.o_)(He({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),ae=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.ZL)(He({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),ue=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.aP)(He({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),ge=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.vV)(He({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),me=Re=>Me(void 0,null,function*(){Ee(),(yield exportCourseWorkListAppendix(He({},Re))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Re.categoryId}/works_list.zip`,query:Re}))),re()}),Pe=Re=>Me(void 0,null,function*(){Ee(),yield(0,he.QH)("",be.Z.API_SERVER+`/api/polls/${Re.categoryId}/commit_result.xlsx`),re()}),xe=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/attendances/export_xlsx_data.xlsx`,query:Re}))}),ye=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/video_study_statics.xlsx`,query:Re}))}),Be=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_video_study.xlsx`,query:Re}))}),Ze=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_course_students_info.xlsx`,query:Re}))}),mt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Re}))}),De=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Re}))}),Ue=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Re}))}),Ge=Re=>Me(void 0,null,function*(){const qe=yield(0,z.Uy)(He({},Re));qe.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`)):qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ke=Re=>Me(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/export_records/${Re.id}.xlsx`,query:Re}))}),it=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Re}))}),at=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/${Re.menuKey}_statistic.xlsx?${Re.checkedList.map(qe=>`course_group_id[]=${qe}`).join("&")}`,query:Re}))}),ft=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_training_objectives.xlsx`,query:Re}))}),Rt=Re=>Me(void 0,null,function*(){yield(0,he.FH)(Re==null?void 0:Re.name,(0,he.NY)({url:be.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Re}))}),kt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_courses.xlsx`,query:Re}))}),Ye=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_graduation_requirements.xlsx`,query:Re}))}),ut=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Re}))}),At=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/exercises/${Re.categoryId}/rank_list.xlsx`,query:Re}))}),Nt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Re}))}),Pt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/examination_banks/${Re.id}.json`,query:Re}))}),sn=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/exercises/${Re.categoryId}.json`,query:Re}))}),Fe=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/polls/${Re==null?void 0:Re.id}/commit_result.json`,query:Re}))}),Qt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Re}))}),Kt=(Re,qe)=>Me(void 0,null,function*(){yield(0,he.FH)(qe||"",(0,he.NY)({url:be.Z.API_SERVER+`/api/exercises/${Re==null?void 0:Re.exercise_id}/consult_exercise.json`,query:Re}))}),Hn=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/competitions/${Re==null?void 0:Re.identifier}/competition_commit_records/member_works.xlsx`,query:Re}))}),Jn=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/group_homeworks/import_group_template.xlsx`,query:Re}))})},19003:function(Et,St,te){"use strict";te.d(St,{BU:function(){return se},Dj:function(){return z},gH:function(){return he},vp:function(){return Ie}});function z(be){try{be.mozRequestFullScreen?be.mozRequestFullScreen():be.webkitRequestFullScreen&&be.webkitRequestFullScreen()}catch(Ne){console.log(Ne,":e")}}function se(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const he=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Ie(){var be=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,Ne=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",be),window.isFullScreen?window.isFullScreen:be!=null}},2281:function(Et,St,te){"use strict";te.d(St,{rX:function(){return ne},pW:function(){return oe},gy:function(){return ae},xY:function(){return ee},O5:function(){return x},tJ:function(){return re},o1:function(){return a},Rd:function(){return E}});var z=te(52985),se=te(43418),he=te(28103),Ie=te(8591),be=te(99287),Ne=te(92232),ie=te(87169),nt=te(25510),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukM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YKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",Te=te.p+"static/newqrcode.a8740efb.png",He=te(32637),Me=te(59301),Ee=(ue,ge,me)=>new Promise((Pe,xe)=>{var ye=mt=>{try{Ze(me.next(mt))}catch(De){xe(De)}},Be=mt=>{try{Ze(me.throw(mt))}catch(De){xe(De)}},Ze=mt=>mt.done?Pe(mt.value):Promise.resolve(mt.value).then(ye,Be);Ze((me=me.apply(ue,ge)).next())});const re=(ue,ge=!1)=>!!(a(ue)&&y(ge)),a=ue=>(0,be.bg)()?!0:(ue({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(ue=!1)=>{var ge;const{user:me}=(0,z.getDvaApp)()._store.getState();return(ge=me.userInfo)!=null&&ge.profile_completed?!0:(se.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,Ne.xg)("/account/profile/edit"),b()}}),!1)},b=()=>{se.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()}})},E=()=>{se.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Me.createElement("div",{style:{textAlign:"center"}},Me.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"),Me.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:He}),Me.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},x=()=>{var ue;const{user:ge}=(0,z.getDvaApp)()._store.getState();return(ue=ge.userInfo)!=null&&ue.professional_certification?!0:(se.default.confirm({title:"\u63D0\u793A",centered:!0,content:Me.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,Ne.xg)("/account/certification")}}),!1)},ee=()=>(0,be.V9)()?!0:(se.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Me.createElement("div",{className:"tc",style:{marginLeft:-38}},Me.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Me.createElement("img",{src:Te,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ne=(ue,ge)=>ue?!0:(se.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Me.createElement("div",null,Me.createElement("p",null,ge||"\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"),Me.createElement("div",{style:{marginLeft:"110px"}},Me.createElement("img",{src:je,width:200}),Me.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ne.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),oe=ue=>{se.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Me.createElement("div",null,Me.createElement("div",null,Me.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"),Me.createElement(he.Z,null),Me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Me.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 ",Me.createElement("a",null,ue),"\u5929\u3002"),Me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Me.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")),Me.createElement("div",{style:{textAlign:"center",marginTop:30}},Me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:nt,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ae=(ue,ge="")=>{const{shixunsDetail:{detail:me}}=(0,z.getDvaApp)()._store.getState();if((me==null?void 0:me.public)===2||(me==null?void 0:me.public)===1||(me==null?void 0:me.shixun_status)===3){let Pe="";return(me==null?void 0:me.public)===2&&(Pe="\u5DF2\u516C\u5F00"),(me==null?void 0:me.public)===1&&(Pe="\u5F85\u5BA1\u6838"),(me==null?void 0:me.shixun_status)===3&&(Pe="\u5DF2\u5173\u95ED"),se.default.info({centered:!0,icon:Me.createElement(ie.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Me.createElement("div",{className:"tc",style:{marginLeft:-38}},Me.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Pe,"\uFF0C",ge,"\u3002"),Me.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:nt,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(me==null?void 0:me.shixun_status)===2?(se.default.confirm({centered:!0,icon:Me.createElement(ie.Z,null),title:"\u63D0\u793A",content:Me.createElement("div",null,Me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ge,"\u3002"),Me.createElement("br",null),Me.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:()=>{se.default.confirm({width:440,centered:!0,icon:Me.createElement(ie.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:()=>Ee(void 0,null,function*(){(yield ue({type:"shixunsDetail/cancelRelease",payload:{id:me==null?void 0:me.identifier}})).status!==401&&(Ie.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),ue({type:"shixunsDetail/getShixunsDetail",payload:{id:me==null?void 0:me.identifier}}),ue({type:"practiceSetting/getCommonData",payload:{id:me==null?void 0:me.identifier}}))})})}}),!0):!1}},50371:function(Et,St){"use strict";function te(){const z=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let se=1;se<arguments.length;se++){const he=se<0||arguments.length<=se?void 0:arguments[se];he&&Object.keys(he).forEach(Ie=>{const be=he[Ie];be!==void 0&&(z[Ie]=be)})}return z}St.Z=te},13845:function(Et,St,te){"use strict";te.d(St,{F:function(){return z},Z:function(){return se}});function z(he){return he!=null&&he===he.window}function se(he,Ie){var be,Ne;if(typeof window=="undefined")return 0;const ie=Ie?"scrollTop":"scrollLeft";let nt=0;return z(he)?nt=he[Ie?"pageYOffset":"pageXOffset"]:he instanceof Document?nt=he.documentElement[ie]:(he instanceof HTMLElement||he)&&(nt=he[ie]),he&&!z(he)&&typeof nt!="number"&&(nt=(Ne=((be=he.ownerDocument)!==null&&be!==void 0?be:he).documentElement)===null||Ne===void 0?void 0:Ne[ie]),nt}},56762:function(Et,St,te){"use strict";te.d(St,{Z:function(){return se}});var z=te(59301);function se(){const[,he]=z.useReducer(Ie=>Ie+1,0);return he}},68031:function(Et,St,te){"use strict";te.d(St,{Z:function(){return Ie}});var z=te(16089);function se(be,Ne,ie,nt){const je=ie-Ne;return be/=nt/2,be<1?je/2*be*be*be+Ne:je/2*((be-=2)*be*be+2)+Ne}var he=te(13845);function Ie(be){let Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ie=()=>window,callback:nt,duration:je=450}=Ne,Te=ie(),He=(0,he.Z)(Te,!0),Me=Date.now(),Ee=()=>{const a=Date.now()-Me,y=se(a>je?je:a,He,be,je);(0,he.F)(Te)?Te.scrollTo(window.pageXOffset,y):Te instanceof Document||Te.constructor.name==="HTMLDocument"?Te.documentElement.scrollTop=y:Te.scrollTop=y,a<je?(0,z.Z)(Ee):typeof nt=="function"&&nt()};(0,z.Z)(Ee)}},66104:function(Et,St,te){"use strict";te.d(St,{Z:function(){return mt}});var z=te(92310),se=te.n(z),he=te(11592),Ie=te(26112),be=te(59301),Ne=te(92343),ie=te(36355),nt=te(84105),je=te(91857);const Te=De=>{let{children:Ue}=De;const{getPrefixCls:Ge}=be.useContext(ie.E_),Ke=Ge("breadcrumb");return be.createElement("li",{className:`${Ke}-separator`,"aria-hidden":"true"},Ue===""?Ue:Ue||"/")};Te.__ANT_BREADCRUMB_SEPARATOR=!0;var He=Te,Me=function(De,Ue){var Ge={};for(var Ke in De)Object.prototype.hasOwnProperty.call(De,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=De[Ke]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ke=Object.getOwnPropertySymbols(De);it<Ke.length;it++)Ue.indexOf(Ke[it])<0&&Object.prototype.propertyIsEnumerable.call(De,Ke[it])&&(Ge[Ke[it]]=De[Ke[it]]);return Ge};function Ee(De,Ue){if(De.title===void 0||De.title===null)return null;const Ge=Object.keys(Ue).join("|");return typeof De.title=="object"?De.title:String(De.title).replace(new RegExp(`:(${Ge})`,"g"),(Ke,it)=>Ue[it]||Ke)}function re(De,Ue,Ge,Ke){if(Ge==null)return null;const{className:it,onClick:at}=Ue,ft=Me(Ue,["className","onClick"]),Rt=Object.assign(Object.assign({},(0,Ie.Z)(ft,{data:!0,aria:!0})),{onClick:at});return Ke!==void 0?be.createElement("a",Object.assign({},Rt,{className:se()(`${De}-link`,it),href:Ke}),Ge):be.createElement("span",Object.assign({},Rt,{className:se()(`${De}-link`,it)}),Ge)}function a(De,Ue){return(Ke,it,at,ft,Rt)=>{if(Ue)return Ue(Ke,it,at,ft);const kt=Ee(Ke,it);return re(De,Ke,kt,Rt)}}var y=function(De,Ue){var Ge={};for(var Ke in De)Object.prototype.hasOwnProperty.call(De,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=De[Ke]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ke=Object.getOwnPropertySymbols(De);it<Ke.length;it++)Ue.indexOf(Ke[it])<0&&Object.prototype.propertyIsEnumerable.call(De,Ke[it])&&(Ge[Ke[it]]=De[Ke[it]]);return Ge};const b=De=>{const{prefixCls:Ue,separator:Ge="/",children:Ke,menu:it,overlay:at,dropdownProps:ft,href:Rt}=De,Ye=(ut=>{if(it||at){const At=Object.assign({},ft);if(it){const Nt=it||{},{items:Pt}=Nt,sn=y(Nt,["items"]);At.menu=Object.assign(Object.assign({},sn),{items:Pt==null?void 0:Pt.map((Fe,Qt)=>{var{key:Kt,title:Hn,label:Jn,path:Re}=Fe,qe=y(Fe,["key","title","label","path"]);let tt=Jn!=null?Jn:Hn;return Re&&(tt=be.createElement("a",{href:`${Rt}${Re}`},tt)),Object.assign(Object.assign({},qe),{key:Kt!=null?Kt:Qt,label:tt})})})}else at&&(At.overlay=at);return be.createElement(je.Z,Object.assign({placement:"bottom"},At),be.createElement("span",{className:`${Ue}-overlay-link`},ut,be.createElement(nt.Z,null)))}return ut})(Ke);return Ye!=null?be.createElement(be.Fragment,null,be.createElement("li",null,Ye),Ge&&be.createElement(He,null,Ge)):null},E=De=>{const{prefixCls:Ue,children:Ge,href:Ke}=De,it=y(De,["prefixCls","children","href"]),{getPrefixCls:at}=be.useContext(ie.E_),ft=at("breadcrumb",Ue);return be.createElement(b,Object.assign({},it,{prefixCls:ft}),re(ft,it,Ge,Ke))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,ee=te(17313),ne=te(83116),oe=te(37613);const ae=De=>{const{componentCls:Ue,iconCls:Ge}=De;return{[Ue]:Object.assign(Object.assign({},(0,ee.Wf)(De)),{color:De.itemColor,fontSize:De.fontSize,[Ge]:{fontSize:De.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:De.linkColor,transition:`color ${De.motionDurationMid}`,padding:`0 ${De.paddingXXS}px`,borderRadius:De.borderRadiusSM,height:De.lineHeight*De.fontSize,display:"inline-block",marginInline:-De.marginXXS,"&:hover":{color:De.linkHoverColor,backgroundColor:De.colorBgTextHover}},(0,ee.Qy)(De)),"li:last-child":{color:De.lastItemColor},[`${Ue}-separator`]:{marginInline:De.separatorMargin,color:De.separatorColor},[`${Ue}-link`]:{[`
|
|
> ${Ge} + span,
|
|
> ${Ge} + a
|
|
`]:{marginInlineStart:De.marginXXS}},[`${Ue}-overlay-link`]:{borderRadius:De.borderRadiusSM,height:De.lineHeight*De.fontSize,display:"inline-block",padding:`0 ${De.paddingXXS}px`,marginInline:-De.marginXXS,[`> ${Ge}`]:{marginInlineStart:De.marginXXS,fontSize:De.fontSizeIcon},"&:hover":{color:De.linkHoverColor,backgroundColor:De.colorBgTextHover,a:{color:De.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${De.componentCls}-rtl`]:{direction:"rtl"}})}};var ue=(0,ne.Z)("Breadcrumb",De=>{const Ue=(0,oe.TS)(De,{});return[ae(Ue)]},De=>({itemColor:De.colorTextDescription,lastItemColor:De.colorText,iconFontSize:De.fontSize,linkColor:De.colorTextDescription,linkHoverColor:De.colorText,separatorColor:De.colorTextDescription,separatorMargin:De.marginXS})),ge=function(De,Ue){var Ge={};for(var Ke in De)Object.prototype.hasOwnProperty.call(De,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=De[Ke]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ke=Object.getOwnPropertySymbols(De);it<Ke.length;it++)Ue.indexOf(Ke[it])<0&&Object.prototype.propertyIsEnumerable.call(De,Ke[it])&&(Ge[Ke[it]]=De[Ke[it]]);return Ge};function me(De){const{breadcrumbName:Ue,children:Ge}=De,Ke=ge(De,["breadcrumbName","children"]),it=Object.assign({title:Ue},Ke);return Ge&&(it.menu={items:Ge.map(at=>{var{breadcrumbName:ft}=at,Rt=ge(at,["breadcrumbName"]);return Object.assign(Object.assign({},Rt),{title:ft})})}),it}function Pe(De,Ue){return(0,be.useMemo)(()=>De||(Ue?Ue.map(me):null),[De,Ue])}var xe=function(De,Ue){var Ge={};for(var Ke in De)Object.prototype.hasOwnProperty.call(De,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=De[Ke]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ke=Object.getOwnPropertySymbols(De);it<Ke.length;it++)Ue.indexOf(Ke[it])<0&&Object.prototype.propertyIsEnumerable.call(De,Ke[it])&&(Ge[Ke[it]]=De[Ke[it]]);return Ge};const ye=(De,Ue)=>{if(Ue===void 0)return Ue;let Ge=(Ue||"").replace(/^\//,"");return Object.keys(De).forEach(Ke=>{Ge=Ge.replace(`:${Ke}`,De[Ke])}),Ge},Be=De=>{const{prefixCls:Ue,separator:Ge="/",style:Ke,className:it,rootClassName:at,routes:ft,items:Rt,children:kt,itemRender:Ye,params:ut={}}=De,At=xe(De,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Nt,direction:Pt,breadcrumb:sn}=be.useContext(ie.E_);let Fe;const Qt=Nt("breadcrumb",Ue),[Kt,Hn]=ue(Qt),Jn=Pe(Rt,ft),Re=a(Qt,Ye);if(Jn&&Jn.length>0){const Le=[],ht=Rt||ft;Fe=Jn.map((gt,Oe)=>{const{path:ve,key:We,type:Ve,menu:we,overlay:pt,onClick:et,className:jt,separator:Se,dropdownProps:st}=gt,xt=ye(ut,ve);xt!==void 0&&Le.push(xt);const Ae=We!=null?We:Oe;if(Ve==="separator")return be.createElement(He,{key:Ae},Se);const _e={},ct=Oe===Jn.length-1;we?_e.menu=we:pt&&(_e.overlay=pt);let{href:wt}=gt;return Le.length&&xt!==void 0&&(wt=`#/${Le.join("/")}`),be.createElement(b,Object.assign({key:Ae},_e,(0,Ie.Z)(gt,{data:!0,aria:!0}),{className:jt,dropdownProps:st,href:wt,separator:ct?"":Ge,onClick:et,prefixCls:Qt}),Re(gt,ut,ht,Le,wt))})}else if(kt){const Le=(0,he.Z)(kt).length;Fe=(0,he.Z)(kt).map((ht,gt)=>{if(!ht)return ht;const Oe=gt===Le-1;return(0,Ne.Tm)(ht,{separator:Oe?"":Ge,key:gt})})}const qe=se()(Qt,sn==null?void 0:sn.className,{[`${Qt}-rtl`]:Pt==="rtl"},it,at,Hn),tt=Object.assign(Object.assign({},sn==null?void 0:sn.style),Ke);return Kt(be.createElement("nav",Object.assign({className:qe,style:tt},At),be.createElement("ol",null,Fe)))};Be.Item=x,Be.Separator=He;var Ze=Be,mt=Ze},24905:function(Et,St,te){"use strict";te.d(St,{default:function(){return ue}});var z=te(92310),se=te.n(z),he=te(5630),Ie=te(59301),be=te(36355),Ne=te(1684),ie=te(32441),je=Ie.createContext(null),Te=te(98447),He=te(14088),Me=te(4572),Ee=function(ge,me){var Pe={};for(var xe in ge)Object.prototype.hasOwnProperty.call(ge,xe)&&me.indexOf(xe)<0&&(Pe[xe]=ge[xe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,xe=Object.getOwnPropertySymbols(ge);ye<xe.length;ye++)me.indexOf(xe[ye])<0&&Object.prototype.propertyIsEnumerable.call(ge,xe[ye])&&(Pe[xe[ye]]=ge[xe[ye]]);return Pe};const re=(ge,me)=>{var Pe;const{prefixCls:xe,className:ye,rootClassName:Be,children:Ze,indeterminate:mt=!1,style:De,onMouseEnter:Ue,onMouseLeave:Ge,skipGroup:Ke=!1,disabled:it}=ge,at=Ee(ge,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ft,direction:Rt,checkbox:kt}=Ie.useContext(be.E_),Ye=Ie.useContext(je),{isFormItemInput:ut}=Ie.useContext(ie.aM),At=Ie.useContext(Ne.Z),Nt=(Pe=(Ye==null?void 0:Ye.disabled)||it)!==null&&Pe!==void 0?Pe:At,Pt=Ie.useRef(at.value);Ie.useEffect(()=>{Ye==null||Ye.registerValue(at.value)},[]),Ie.useEffect(()=>{if(!Ke)return at.value!==Pt.current&&(Ye==null||Ye.cancelValue(Pt.current),Ye==null||Ye.registerValue(at.value),Pt.current=at.value),()=>Ye==null?void 0:Ye.cancelValue(at.value)},[at.value]);const sn=ft("checkbox",xe),[Fe,Qt]=(0,Te.ZP)(sn),Kt=Object.assign({},at);Ye&&!Ke&&(Kt.onChange=function(){at.onChange&&at.onChange.apply(at,arguments),Ye.toggleOption&&Ye.toggleOption({label:Ze,value:at.value})},Kt.name=Ye.name,Kt.checked=Ye.value.includes(at.value));const Hn=se()(`${sn}-wrapper`,{[`${sn}-rtl`]:Rt==="rtl",[`${sn}-wrapper-checked`]:Kt.checked,[`${sn}-wrapper-disabled`]:Nt,[`${sn}-wrapper-in-form-item`]:ut},kt==null?void 0:kt.className,ye,Be,Qt),Jn=se()({[`${sn}-indeterminate`]:mt},Me.A,Qt),Re=mt?"mixed":void 0;return Fe(Ie.createElement(He.Z,{component:"Checkbox",disabled:Nt},Ie.createElement("label",{className:Hn,style:Object.assign(Object.assign({},kt==null?void 0:kt.style),De),onMouseEnter:Ue,onMouseLeave:Ge},Ie.createElement(he.Z,Object.assign({"aria-checked":Re},Kt,{prefixCls:sn,className:Jn,disabled:Nt,ref:me})),Ze!==void 0&&Ie.createElement("span",null,Ze))))};var y=Ie.forwardRef(re),b=te(94480),E=te(2738),x=function(ge,me){var Pe={};for(var xe in ge)Object.prototype.hasOwnProperty.call(ge,xe)&&me.indexOf(xe)<0&&(Pe[xe]=ge[xe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,xe=Object.getOwnPropertySymbols(ge);ye<xe.length;ye++)me.indexOf(xe[ye])<0&&Object.prototype.propertyIsEnumerable.call(ge,xe[ye])&&(Pe[xe[ye]]=ge[xe[ye]]);return Pe};const ee=(ge,me)=>{const{defaultValue:Pe,children:xe,options:ye=[],prefixCls:Be,className:Ze,rootClassName:mt,style:De,onChange:Ue}=ge,Ge=x(ge,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ke,direction:it}=Ie.useContext(be.E_),[at,ft]=Ie.useState(Ge.value||Pe||[]),[Rt,kt]=Ie.useState([]);Ie.useEffect(()=>{"value"in Ge&&ft(Ge.value||[])},[Ge.value]);const Ye=Ie.useMemo(()=>ye.map(qe=>typeof qe=="string"||typeof qe=="number"?{label:qe,value:qe}:qe),[ye]),ut=qe=>{kt(tt=>tt.filter(Le=>Le!==qe))},At=qe=>{kt(tt=>[].concat((0,b.Z)(tt),[qe]))},Nt=qe=>{const tt=at.indexOf(qe.value),Le=(0,b.Z)(at);tt===-1?Le.push(qe.value):Le.splice(tt,1),"value"in Ge||ft(Le),Ue==null||Ue(Le.filter(ht=>Rt.includes(ht)).sort((ht,gt)=>{const Oe=Ye.findIndex(We=>We.value===ht),ve=Ye.findIndex(We=>We.value===gt);return Oe-ve}))},Pt=Ke("checkbox",Be),sn=`${Pt}-group`,[Fe,Qt]=(0,Te.ZP)(Pt),Kt=(0,E.Z)(Ge,["value","disabled"]),Hn=ye.length?Ye.map(qe=>Ie.createElement(y,{prefixCls:Pt,key:qe.value.toString(),disabled:"disabled"in qe?qe.disabled:Ge.disabled,value:qe.value,checked:at.includes(qe.value),onChange:qe.onChange,className:`${sn}-item`,style:qe.style,title:qe.title},qe.label)):xe,Jn={toggleOption:Nt,value:at,disabled:Ge.disabled,name:Ge.name,registerValue:At,cancelValue:ut},Re=se()(sn,{[`${sn}-rtl`]:it==="rtl"},Ze,mt,Qt);return Fe(Ie.createElement("div",Object.assign({className:Re,style:De},Kt,{ref:me}),Ie.createElement(je.Provider,{value:Jn},Hn)))},ne=Ie.forwardRef(ee);var oe=Ie.memo(ne);const ae=y;ae.Group=oe,ae.__ANT_CHECKBOX=!0;var ue=ae},98447:function(Et,St,te){"use strict";te.d(St,{C2:function(){return be}});var z=te(17313),se=te(37613),he=te(83116);const Ie=Ne=>{const{checkboxCls:ie}=Ne,nt=`${ie}-wrapper`;return[{[`${ie}-group`]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ne.marginXS,[`> ${Ne.antCls}-row`]:{flex:1}}),[nt]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${nt}`]:{marginInlineStart:0},[`&${nt}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ie]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ne.borderRadiusSM,alignSelf:"center",[`${ie}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ie}-inner`]:Object.assign({},(0,z.oN)(Ne))},[`${ie}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ne.checkboxSize,height:Ne.checkboxSize,direction:"ltr",backgroundColor:Ne.colorBgContainer,border:`${Ne.lineWidth}px ${Ne.lineType} ${Ne.colorBorder}`,borderRadius:Ne.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ne.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ne.checkboxSize/14*5,height:Ne.checkboxSize/14*8,border:`${Ne.lineWidthBold}px solid ${Ne.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ne.motionDurationFast} ${Ne.motionEaseInBack}, opacity ${Ne.motionDurationFast}`}},"& + span":{paddingInlineStart:Ne.paddingXS,paddingInlineEnd:Ne.paddingXS}})},{[`
|
|
${nt}:not(${nt}-disabled),
|
|
${ie}:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{borderColor:Ne.colorPrimary}},[`${nt}:not(${nt}-disabled)`]:{[`&:hover ${ie}-checked:not(${ie}-disabled) ${ie}-inner`]:{backgroundColor:Ne.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ie}-checked:not(${ie}-disabled):after`]:{borderColor:Ne.colorPrimaryHover}}},{[`${ie}-checked`]:{[`${ie}-inner`]:{backgroundColor:Ne.colorPrimary,borderColor:Ne.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ne.motionDurationMid} ${Ne.motionEaseOutBack} ${Ne.motionDurationFast}`}}},[`
|
|
${nt}-checked:not(${nt}-disabled),
|
|
${ie}-checked:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{backgroundColor:Ne.colorPrimaryHover,borderColor:"transparent"}}},{[ie]:{"&-indeterminate":{[`${ie}-inner`]:{backgroundColor:Ne.colorBgContainer,borderColor:Ne.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ne.fontSizeLG/2,height:Ne.fontSizeLG/2,backgroundColor:Ne.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${nt}-disabled`]:{cursor:"not-allowed"},[`${ie}-disabled`]:{[`&, ${ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ie}-inner`]:{background:Ne.colorBgContainerDisabled,borderColor:Ne.colorBorder,"&:after":{borderColor:Ne.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ne.colorTextDisabled},[`&${ie}-indeterminate ${ie}-inner::after`]:{background:Ne.colorTextDisabled}}}]};function be(Ne,ie){const nt=(0,se.TS)(ie,{checkboxCls:`.${Ne}`,checkboxSize:ie.controlInteractiveSize});return[Ie(nt)]}St.ZP=(0,he.Z)("Checkbox",(Ne,ie)=>{let{prefixCls:nt}=ie;return[be(nt,Ne)]})},5083:function(Et,St,te){"use strict";te.d(St,{default:function(){return su}});var z=te(66649),se=te.n(z),he=te(48736),Ie=te(9007),be=te.n(Ie),Ne=te(50991),ie=te.n(Ne),nt=te(9084),je=te.n(nt),Te=te(58626),He=te.n(Te),Me=te(13477),Ee=te.n(Me),re=te(64796),a=te.n(re);se().extend(a()),se().extend(Ee()),se().extend(be()),se().extend(ie()),se().extend(je()),se().extend(He()),se().extend(function(le,de){var fe=de.prototype,Qe=fe.format;fe.format=function(It){var bt=(It||"").replace("Wo","wo");return Qe.bind(this)(bt)}});var y={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"},b=function(de){var fe=y[de];return fe||de.split("_")[0]},E=function(){(0,he.ET)(!1,"Not match any format. Please help to fire a issue about this.")},x={getNow:function(){return se()()},getFixedDate:function(de){return se()(de,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(de){return de.endOf("month")},getWeekDay:function(de){var fe=de.locale("en");return fe.weekday()+fe.localeData().firstDayOfWeek()},getYear:function(de){return de.year()},getMonth:function(de){return de.month()},getDate:function(de){return de.date()},getHour:function(de){return de.hour()},getMinute:function(de){return de.minute()},getSecond:function(de){return de.second()},addYear:function(de,fe){return de.add(fe,"year")},addMonth:function(de,fe){return de.add(fe,"month")},addDate:function(de,fe){return de.add(fe,"day")},setYear:function(de,fe){return de.year(fe)},setMonth:function(de,fe){return de.month(fe)},setDate:function(de,fe){return de.date(fe)},setHour:function(de,fe){return de.hour(fe)},setMinute:function(de,fe){return de.minute(fe)},setSecond:function(de,fe){return de.second(fe)},isAfter:function(de,fe){return de.isAfter(fe)},isValidate:function(de){return de.isValid()},locale:{getWeekFirstDay:function(de){return se()().locale(b(de)).localeData().firstDayOfWeek()},getWeekFirstDate:function(de,fe){return fe.locale(b(de)).weekday(0)},getWeek:function(de,fe){return fe.locale(b(de)).week()},getShortWeekDays:function(de){return se()().locale(b(de)).localeData().weekdaysMin()},getShortMonths:function(de){return se()().locale(b(de)).localeData().monthsShort()},format:function(de,fe,Qe){return fe.locale(b(de)).format(Qe)},parse:function(de,fe,Qe){for(var Je=b(de),It=0;It<Qe.length;It+=1){var bt=Qe[It],ln=fe;if(bt.includes("wo")||bt.includes("Wo")){for(var rn=ln.split("-")[0],pn=ln.split("-")[1],ia=se()(rn,"YYYY").startOf("year").locale(Je),Dn=0;Dn<=52;Dn+=1){var An=ia.add(Dn,"week");if(An.format("Wo")===pn)return An}return E(),null}var jn=se()(ln,bt,!0).locale(Je);if(jn.isValid())return jn}return fe&&E(),null}}},ee=x,ne=te(53487),oe=te(54476),ae=te(59301),ue={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"},ge=ue,me=te(7657),Pe=function(de,fe){return ae.createElement(me.Z,(0,oe.Z)({},de,{ref:fe,icon:ge}))},xe=ae.forwardRef(Pe),ye=xe,Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Ze=Be,mt=function(de,fe){return ae.createElement(me.Z,(0,oe.Z)({},de,{ref:fe,icon:Ze}))},De=ae.forwardRef(mt),Ue=De,Ge=te(19248),Ke={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"},it=Ke,at=function(de,fe){return ae.createElement(me.Z,(0,oe.Z)({},de,{ref:fe,icon:it}))},ft=ae.forwardRef(at),Rt=ft,kt=te(92310),Ye=te.n(kt),ut=te(67732),At=te(83652),Nt=te(31226),Pt=te(42403),sn=te(158),Fe=te(20068),Qt=te(33885),Kt=te(42978),Hn=te(18929),Jn=te(26112),Re=te(80547),qe=te(13697),tt=10,Le=tt*10,ht=7;function gt(le,de){if(!le&&!de)return!0;if(!le||!de)return!1}function Oe(le,de,fe){var Qe=gt(de,fe);if(typeof Qe=="boolean")return Qe;var Je=Math.floor(le.getYear(de)/10),It=Math.floor(le.getYear(fe)/10);return Je===It}function ve(le,de,fe){var Qe=gt(de,fe);return typeof Qe=="boolean"?Qe:le.getYear(de)===le.getYear(fe)}function We(le,de){var fe=Math.floor(le.getMonth(de)/3);return fe+1}function Ve(le,de,fe){var Qe=gt(de,fe);return typeof Qe=="boolean"?Qe:ve(le,de,fe)&&We(le,de)===We(le,fe)}function we(le,de,fe){var Qe=gt(de,fe);return typeof Qe=="boolean"?Qe:ve(le,de,fe)&&le.getMonth(de)===le.getMonth(fe)}function pt(le,de,fe){var Qe=gt(de,fe);return typeof Qe=="boolean"?Qe:le.getYear(de)===le.getYear(fe)&&le.getMonth(de)===le.getMonth(fe)&&le.getDate(de)===le.getDate(fe)}function et(le,de,fe){var Qe=gt(de,fe);return typeof Qe=="boolean"?Qe:le.getHour(de)===le.getHour(fe)&&le.getMinute(de)===le.getMinute(fe)&&le.getSecond(de)===le.getSecond(fe)}function jt(le,de,fe,Qe){var Je=gt(fe,Qe);return typeof Je=="boolean"?Je:ve(le,fe,Qe)&&le.locale.getWeek(de,fe)===le.locale.getWeek(de,Qe)}function Se(le,de,fe){return pt(le,de,fe)&&et(le,de,fe)}function st(le,de,fe,Qe){return!de||!fe||!Qe?!1:!pt(le,de,Qe)&&!pt(le,fe,Qe)&&le.isAfter(Qe,de)&&le.isAfter(fe,Qe)}function xt(le,de,fe){var Qe=de.locale.getWeekFirstDay(le),Je=de.setDate(fe,1),It=de.getWeekDay(Je),bt=de.addDate(Je,Qe-It);return de.getMonth(bt)===de.getMonth(fe)&&de.getDate(bt)>1&&(bt=de.addDate(bt,-7)),bt}function Ae(le,de,fe){var Qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(de){case"year":return fe.addYear(le,Qe*10);case"quarter":case"month":return fe.addYear(le,Qe);default:return fe.addMonth(le,Qe)}}function _e(le,de){var fe=de.generateConfig,Qe=de.locale,Je=de.format;return typeof Je=="function"?Je(le):fe.locale.format(Qe.locale,le,Je)}function ct(le,de){var fe=de.generateConfig,Qe=de.locale,Je=de.formatList;return!le||typeof Je[0]=="function"?null:fe.locale.parse(Qe.locale,le,Je)}function wt(le){var de=le.cellDate,fe=le.mode,Qe=le.disabledDate,Je=le.generateConfig;if(!Qe)return!1;var It=function(Gn,on,xn){for(var Xn=on;Xn<=xn;){var Ta=void 0;switch(Gn){case"date":{if(Ta=Je.setDate(de,Xn),!Qe(Ta))return!1;break}case"month":{if(Ta=Je.setMonth(de,Xn),!wt({cellDate:Ta,mode:"month",generateConfig:Je,disabledDate:Qe}))return!1;break}case"year":{if(Ta=Je.setYear(de,Xn),!wt({cellDate:Ta,mode:"year",generateConfig:Je,disabledDate:Qe}))return!1;break}}Xn+=1}return!0};switch(fe){case"date":case"week":return Qe(de);case"month":{var bt=1,ln=Je.getDate(Je.getEndDate(de));return It("date",bt,ln)}case"quarter":{var rn=Math.floor(Je.getMonth(de)/3)*3,pn=rn+2;return It("month",rn,pn)}case"year":return It("month",0,11);case"decade":{var ia=Je.getYear(de),Dn=Math.floor(ia/tt)*tt,An=Dn+tt-1;return It("year",Dn,An)}}}function zt(le,de){var fe=de.formatList,Qe=de.generateConfig,Je=de.locale;return(0,Re.Z)(function(){if(!le)return[[""],""];for(var It="",bt=[],ln=0;ln<fe.length;ln+=1){var rn=fe[ln],pn=_e(le,{generateConfig:Qe,locale:Je,format:rn});bt.push(pn),ln===0&&(It=pn)}return[bt,It]},[le,fe,Je],function(It,bt){return!Se(Qe,It[0],bt[0])||!(0,qe.Z)(It[1],bt[1],!0)||!(0,qe.Z)(It[2],bt[2],!0)})}function mn(le,de){var fe=de.formatList,Qe=de.generateConfig,Je=de.locale,It=(0,ae.useState)(null),bt=(0,Kt.Z)(It,2),ln=bt[0],rn=bt[1],pn=(0,ae.useRef)(null);function ia(xn){var Xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(pn.current),Xn){rn(xn);return}pn.current=requestAnimationFrame(function(){rn(xn)})}var Dn=zt(ln,{formatList:fe,generateConfig:Qe,locale:Je}),An=(0,Kt.Z)(Dn,2),jn=An[1];function Gn(xn){ia(xn)}function on(){var xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ia(null,xn)}return(0,ae.useEffect)(function(){on(!0)},[le]),(0,ae.useEffect)(function(){return function(){return cancelAnimationFrame(pn.current)}},[]),[jn,Gn,on]}var dt=te(10228),Dt=te(16089),yt=te(94480),en=te(29194),Vt=new Map;function un(le,de){var fe;function Qe(){(0,en.Z)(le)?de():fe=(0,Dt.Z)(function(){Qe()})}return Qe(),function(){Dt.Z.cancel(fe)}}function Vn(le,de,fe){if(Vt.get(le)&&cancelAnimationFrame(Vt.get(le)),fe<=0){Vt.set(le,requestAnimationFrame(function(){le.scrollTop=de}));return}var Qe=de-le.scrollTop,Je=Qe/fe*10;Vt.set(le,requestAnimationFrame(function(){le.scrollTop+=Je,le.scrollTop!==de&&Vn(le,de,fe-10)}))}function fn(le,de){var fe=de.onLeftRight,Qe=de.onCtrlLeftRight,Je=de.onUpDown,It=de.onPageUpDown,bt=de.onEnter,ln=le.which,rn=le.ctrlKey,pn=le.metaKey;switch(ln){case dt.Z.LEFT:if(rn||pn){if(Qe)return Qe(-1),!0}else if(fe)return fe(-1),!0;break;case dt.Z.RIGHT:if(rn||pn){if(Qe)return Qe(1),!0}else if(fe)return fe(1),!0;break;case dt.Z.UP:if(Je)return Je(-1),!0;break;case dt.Z.DOWN:if(Je)return Je(1),!0;break;case dt.Z.PAGE_UP:if(It)return It(-1),!0;break;case dt.Z.PAGE_DOWN:if(It)return It(1),!0;break;case dt.Z.ENTER:if(bt)return bt(),!0;break}return!1}function an(le,de,fe,Qe){var Je=le;if(!Je)switch(de){case"time":Je=Qe?"hh:mm:ss a":"HH:mm:ss";break;case"week":Je="gggg-wo";break;case"month":Je="YYYY-MM";break;case"quarter":Je="YYYY-[Q]Q";break;case"year":Je="YYYY";break;default:Je=fe?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Je}function Un(le,de,fe){var Qe=le==="time"?8:10,Je=typeof de=="function"?de(fe.getNow()).length:de.length;return Math.max(Qe,Je)+2}var _t=null,Tt=new Set;function Xt(le){return!_t&&typeof window!="undefined"&&window.addEventListener&&(_t=function(fe){(0,yt.Z)(Tt).forEach(function(Qe){Qe(fe)})},window.addEventListener("mousedown",_t)),Tt.add(le),function(){Tt.delete(le),Tt.size===0&&(window.removeEventListener("mousedown",_t),_t=null)}}function Ea(le){var de=le.target;if(le.composed&&de.shadowRoot){var fe;return((fe=le.composedPath)===null||fe===void 0?void 0:fe.call(le)[0])||de}return de}var qn=function(de){return de==="month"||de==="date"?"year":de},Mn=function(de){return de==="date"?"month":de},Ga=function(de){return de==="month"||de==="date"?"quarter":de},La=function(de){return de==="date"?"week":de},Ar={year:qn,month:Mn,quarter:Ga,week:La,time:null,date:null};function Cr(le,de){return le.some(function(fe){return fe&&fe.contains(de)})}function Qa(le){var de=le.open,fe=le.value,Qe=le.isClickOutside,Je=le.triggerOpen,It=le.forwardKeyDown,bt=le.onKeyDown,ln=le.blurToCancel,rn=le.onSubmit,pn=le.onCancel,ia=le.onFocus,Dn=le.onBlur,An=le.changeOnBlur,jn=(0,ae.useState)(!1),Gn=(0,Kt.Z)(jn,2),on=Gn[0],xn=Gn[1],Xn=(0,ae.useState)(!1),Ta=(0,Kt.Z)(Xn,2),Ba=Ta[0],za=Ta[1],$a=(0,ae.useRef)(!1),ja=(0,ae.useRef)(!1),xa=(0,ae.useRef)(!1),so={onMouseDown:function(){xn(!0),Je(!0)},onKeyDown:function(fo){var Oo=function(){xa.current=!0};if(bt(fo,Oo),!xa.current){switch(fo.which){case dt.Z.ENTER:{de?rn()!==!1&&xn(!0):Je(!0),fo.preventDefault();return}case dt.Z.TAB:{on&&de&&!fo.shiftKey?(xn(!1),fo.preventDefault()):!on&&de&&!It(fo)&&fo.shiftKey&&(xn(!0),fo.preventDefault());return}case dt.Z.ESC:{xn(!0),pn();return}}!de&&![dt.Z.SHIFT].includes(fo.which)?Je(!0):on||It(fo)}},onFocus:function(fo){xn(!0),za(!0),ia&&ia(fo)},onBlur:function(fo){if($a.current||!Qe(document.activeElement)){$a.current=!1;return}ln?setTimeout(function(){for(var Oo=document,Wo=Oo.activeElement;Wo&&Wo.shadowRoot;)Wo=Wo.shadowRoot.activeElement;Qe(Wo)&&pn()},0):de&&(Je(!1),ja.current&&rn()),za(!1),Dn==null||Dn(fo)}};return(0,ae.useEffect)(function(){ja.current=!1},[de]),(0,ae.useEffect)(function(){ja.current=!0},[fe]),(0,ae.useEffect)(function(){return Xt(function(Hr){var fo=Ea(Hr),Oo=Qe(fo);de&&(Oo?!An&&(!Ba||Oo)&&Je(!1):($a.current=!0,(0,Dt.Z)(function(){$a.current=!1})))})}),[so,{focused:Ba,typing:on}]}function rt(le,de){return ae.useMemo(function(){return le||(de?((0,he.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(de).map(function(fe){var Qe=(0,Kt.Z)(fe,2),Je=Qe[0],It=Qe[1];return{label:Je,value:It}})):[])},[le,de])}var Mt=te(34280);function Ft(le){var de=le.valueTexts,fe=le.onTextChange,Qe=ae.useState(""),Je=(0,Kt.Z)(Qe,2),It=Je[0],bt=Je[1],ln=ae.useRef([]);ln.current=de;function rn(ia){bt(ia),fe(ia)}function pn(){bt(ln.current[0])}return(0,Mt.Z)(function(){de.every(function(ia){return ia!==It})&&pn()},[de.join("||")]),[It,rn,pn]}var kn=ae.createContext({}),dn=kn,Ln=te(76190);function Xr(le){var de=le.cellRender,fe=le.monthCellRender,Qe=le.dateRender,Je=ae.useMemo(function(){if(de)return de;if(!(!fe&&!Qe))return function(It,bt){var ln=It;return Qe&&bt.type==="date"?Qe(ln,bt.today):fe&&bt.type==="month"?fe(ln,bt.locale):bt.originNode}},[de,fe,Qe]);return Je}function Er(le,de){for(var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Qe=String(le);Qe.length<de;)Qe="".concat(fe).concat(le);return Qe}var Kr=function(){for(var de=arguments.length,fe=new Array(de),Qe=0;Qe<de;Qe++)fe[Qe]=arguments[Qe];return fe};function oo(le){return le==null?[]:Array.isArray(le)?le:[le]}function Xa(le,de){return le?le[de]:null}function Nn(le,de,fe){var Qe=[Xa(le,0),Xa(le,1)];return Qe[fe]=typeof de=="function"?de(Qe[fe]):de,!Qe[0]&&!Qe[1]?null:Qe}function ur(le){return typeof le=="function"?le():le}function nr(le){var de=le.cellPrefixCls,fe=le.generateConfig,Qe=le.rangedValue,Je=le.hoverRangedValue,It=le.isInView,bt=le.isSameCell,ln=le.offsetCell,rn=le.today,pn=le.value;function ia(Dn){var An,jn=ln(Dn,-1),Gn=ln(Dn,1),on=Xa(Qe,0),xn=Xa(Qe,1),Xn=Xa(Je,0),Ta=Xa(Je,1),Ba=st(fe,Xn,Ta,Dn);function za(fo){return bt(on,fo)}function $a(fo){return bt(xn,fo)}var ja=bt(Xn,Dn),xa=bt(Ta,Dn),so=(Ba||xa)&&(!It(jn)||$a(jn)),Hr=(Ba||ja)&&(!It(Gn)||za(Gn));return An={},(0,Fe.Z)(An,"".concat(de,"-in-view"),It(Dn)),(0,Fe.Z)(An,"".concat(de,"-in-range"),st(fe,on,xn,Dn)),(0,Fe.Z)(An,"".concat(de,"-range-start"),za(Dn)),(0,Fe.Z)(An,"".concat(de,"-range-end"),$a(Dn)),(0,Fe.Z)(An,"".concat(de,"-range-start-single"),za(Dn)&&!xn),(0,Fe.Z)(An,"".concat(de,"-range-end-single"),$a(Dn)&&!on),(0,Fe.Z)(An,"".concat(de,"-range-start-near-hover"),za(Dn)&&(bt(jn,Xn)||st(fe,Xn,Ta,jn))),(0,Fe.Z)(An,"".concat(de,"-range-end-near-hover"),$a(Dn)&&(bt(Gn,Ta)||st(fe,Xn,Ta,Gn))),(0,Fe.Z)(An,"".concat(de,"-range-hover"),Ba),(0,Fe.Z)(An,"".concat(de,"-range-hover-start"),ja),(0,Fe.Z)(An,"".concat(de,"-range-hover-end"),xa),(0,Fe.Z)(An,"".concat(de,"-range-hover-edge-start"),so),(0,Fe.Z)(An,"".concat(de,"-range-hover-edge-end"),Hr),(0,Fe.Z)(An,"".concat(de,"-range-hover-edge-start-near-range"),so&&bt(jn,xn)),(0,Fe.Z)(An,"".concat(de,"-range-hover-edge-end-near-range"),Hr&&bt(Gn,on)),(0,Fe.Z)(An,"".concat(de,"-today"),bt(rn,Dn)),(0,Fe.Z)(An,"".concat(de,"-selected"),bt(pn,Dn)),An}return ia}var sr=ae.createContext({}),er=sr;function vt(le,de,fe,Qe,Je){var It=le.setHour(de,fe);return It=le.setMinute(It,Qe),It=le.setSecond(It,Je),It}function qt(le,de,fe){if(!fe)return de;var Qe=de;return Qe=le.setHour(Qe,le.getHour(fe)),Qe=le.setMinute(Qe,le.getMinute(fe)),Qe=le.setSecond(Qe,le.getSecond(fe)),Qe}function tn(le,de,fe,Qe,Je,It){var bt=Math.floor(le/Qe)*Qe;if(bt<le)return[bt,60-Je,60-It];var ln=Math.floor(de/Je)*Je;if(ln<de)return[bt,ln,60-It];var rn=Math.floor(fe/It)*It;return[bt,ln,rn]}function Pn(le,de){var fe=le.getYear(de),Qe=le.getMonth(de)+1,Je=le.getEndDate(le.getFixedDate("".concat(fe,"-").concat(Qe,"-01"))),It=le.getDate(Je),bt=Qe<10?"0".concat(Qe):"".concat(Qe);return"".concat(fe,"-").concat(bt,"-").concat(It)}function Rn(le){for(var de=le.prefixCls,fe=le.disabledDate,Qe=le.onSelect,Je=le.picker,It=le.rowNum,bt=le.colNum,ln=le.prefixColumn,rn=le.rowClassName,pn=le.baseDate,ia=le.getCellClassName,Dn=le.getCellText,An=le.getCellNode,jn=le.getCellDate,Gn=le.generateConfig,on=le.titleCell,xn=le.headerCells,Xn=ae.useContext(dn),Ta=Xn.onDateMouseEnter,Ba=Xn.onDateMouseLeave,za=Xn.mode,$a="".concat(de,"-cell"),ja=[],xa=0;xa<It;xa+=1){for(var so=[],Hr=void 0,fo=function(){var ni,mi=xa*bt+Oo,Go=jn(pn,mi),bo=wt({cellDate:Go,mode:za,disabledDate:fe,generateConfig:Gn});Oo===0&&(Hr=Go,ln&&so.push(ln(Hr)));var Bo=on&&on(Go),Yo=ae.createElement("div",{className:"".concat($a,"-inner")},Dn(Go));so.push(ae.createElement("td",{key:Oo,title:Bo,className:Ye()($a,(0,Qt.Z)((ni={},(0,Fe.Z)(ni,"".concat($a,"-disabled"),bo),(0,Fe.Z)(ni,"".concat($a,"-start"),Dn(Go)===1||Je==="year"&&Number(Bo)%10===0),(0,Fe.Z)(ni,"".concat($a,"-end"),Bo===Pn(Gn,Go)||Je==="year"&&Number(Bo)%10===9),ni),ia(Go))),onClick:function(){bo||Qe(Go)},onMouseEnter:function(){!bo&&Ta&&Ta(Go)},onMouseLeave:function(){!bo&&Ba&&Ba(Go)}},An?An(Go,Yo):Yo))},Oo=0;Oo<bt;Oo+=1)fo();ja.push(ae.createElement("tr",{key:xa,className:rn&&rn(Hr)},so))}return ae.createElement("div",{className:"".concat(de,"-body")},ae.createElement("table",{className:"".concat(de,"-content")},xn&&ae.createElement("thead",null,ae.createElement("tr",null,xn)),ae.createElement("tbody",null,ja)))}function gn(le){var de=le.prefixCls,fe=le.generateConfig,Qe=le.prefixColumn,Je=le.locale,It=le.rowCount,bt=le.viewDate,ln=le.value,rn=le.cellRender,pn=le.isSameCell,ia=ae.useContext(er),Dn=ia.rangedValue,An=ia.hoverRangedValue,jn=xt(Je.locale,fe,bt),Gn="".concat(de,"-cell"),on=fe.locale.getWeekFirstDay(Je.locale),xn=fe.getNow(),Xn=[],Ta=Je.shortWeekDays||(fe.locale.getShortWeekDays?fe.locale.getShortWeekDays(Je.locale):[]);Qe&&Xn.push(ae.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Ba=0;Ba<ht;Ba+=1)Xn.push(ae.createElement("th",{key:Ba},Ta[(Ba+on)%ht]));var za=nr({cellPrefixCls:Gn,today:xn,value:ln,generateConfig:fe,rangedValue:Qe?null:Dn,hoverRangedValue:Qe?null:An,isSameCell:pn||function(ja,xa){return pt(fe,ja,xa)},isInView:function(xa){return we(fe,xa,bt)},offsetCell:function(xa,so){return fe.addDate(xa,so)}}),$a=rn?function(ja,xa){return rn(ja,{originNode:xa,today:xn,type:"date",locale:Je})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:It,colNum:ht,baseDate:jn,getCellNode:$a,getCellText:fe.getDate,getCellClassName:za,getCellDate:fe.addDate,titleCell:function(xa){return _e(xa,{locale:Je,format:"YYYY-MM-DD",generateConfig:fe})},headerCells:Xn}))}var On=gn,yn={visibility:"hidden"};function ar(le){var de=le.prefixCls,fe=le.prevIcon,Qe=fe===void 0?"\u2039":fe,Je=le.nextIcon,It=Je===void 0?"\u203A":Je,bt=le.superPrevIcon,ln=bt===void 0?"\xAB":bt,rn=le.superNextIcon,pn=rn===void 0?"\xBB":rn,ia=le.onSuperPrev,Dn=le.onSuperNext,An=le.onPrev,jn=le.onNext,Gn=le.children,on=ae.useContext(dn),xn=on.hideNextBtn,Xn=on.hidePrevBtn;return ae.createElement("div",{className:de},ia&&ae.createElement("button",{type:"button",onClick:ia,tabIndex:-1,className:"".concat(de,"-super-prev-btn"),style:Xn?yn:{}},ln),An&&ae.createElement("button",{type:"button",onClick:An,tabIndex:-1,className:"".concat(de,"-prev-btn"),style:Xn?yn:{}},Qe),ae.createElement("div",{className:"".concat(de,"-view")},Gn),jn&&ae.createElement("button",{type:"button",onClick:jn,tabIndex:-1,className:"".concat(de,"-next-btn"),style:xn?yn:{}},It),Dn&&ae.createElement("button",{type:"button",onClick:Dn,tabIndex:-1,className:"".concat(de,"-super-next-btn"),style:xn?yn:{}},pn))}var Ra=ar;function cn(le){var de=le.prefixCls,fe=le.generateConfig,Qe=le.locale,Je=le.viewDate,It=le.onNextMonth,bt=le.onPrevMonth,ln=le.onNextYear,rn=le.onPrevYear,pn=le.onYearClick,ia=le.onMonthClick,Dn=ae.useContext(dn),An=Dn.hideHeader;if(An)return null;var jn="".concat(de,"-header"),Gn=Qe.shortMonths||(fe.locale.getShortMonths?fe.locale.getShortMonths(Qe.locale):[]),on=fe.getMonth(Je),xn=ae.createElement("button",{type:"button",key:"year",onClick:pn,tabIndex:-1,className:"".concat(de,"-year-btn")},_e(Je,{locale:Qe,format:Qe.yearFormat,generateConfig:fe})),Xn=ae.createElement("button",{type:"button",key:"month",onClick:ia,tabIndex:-1,className:"".concat(de,"-month-btn")},Qe.monthFormat?_e(Je,{locale:Qe,format:Qe.monthFormat,generateConfig:fe}):Gn[on]),Ta=Qe.monthBeforeYear?[Xn,xn]:[xn,Xn];return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:jn,onSuperPrev:rn,onPrev:bt,onNext:It,onSuperNext:ln}),Ta)}var io=cn,to=6;function no(le){var de=le.prefixCls,fe=le.panelName,Qe=fe===void 0?"date":fe,Je=le.keyboardConfig,It=le.active,bt=le.operationRef,ln=le.generateConfig,rn=le.value,pn=le.viewDate,ia=le.onViewDateChange,Dn=le.onPanelChange,An=le.onSelect,jn="".concat(de,"-").concat(Qe,"-panel");bt.current={onKeyDown:function(Xn){return fn(Xn,(0,Qt.Z)({onLeftRight:function(Ba){An(ln.addDate(rn||pn,Ba),"key")},onCtrlLeftRight:function(Ba){An(ln.addYear(rn||pn,Ba),"key")},onUpDown:function(Ba){An(ln.addDate(rn||pn,Ba*ht),"key")},onPageUpDown:function(Ba){An(ln.addMonth(rn||pn,Ba),"key")}},Je))}};var Gn=function(Xn){var Ta=ln.addYear(pn,Xn);ia(Ta),Dn(null,Ta)},on=function(Xn){var Ta=ln.addMonth(pn,Xn);ia(Ta),Dn(null,Ta)};return ae.createElement("div",{className:Ye()(jn,(0,Fe.Z)({},"".concat(jn,"-active"),It))},ae.createElement(io,(0,oe.Z)({},le,{prefixCls:de,value:rn,viewDate:pn,onPrevYear:function(){Gn(-1)},onNextYear:function(){Gn(1)},onPrevMonth:function(){on(-1)},onNextMonth:function(){on(1)},onMonthClick:function(){Dn("month",pn)},onYearClick:function(){Dn("year",pn)}})),ae.createElement(On,(0,oe.Z)({},le,{onSelect:function(Xn){return An(Xn,"mouse")},prefixCls:de,value:rn,viewDate:pn,rowCount:to})))}var Mo=no;function ea(le){var de=ae.useContext(dn),fe=de.hideHeader;if(fe)return null;var Qe=le.prefixCls,Je=le.generateConfig,It=le.locale,bt=le.value,ln=le.format,rn="".concat(Qe,"-header");return ae.createElement(Ra,{prefixCls:rn},bt?_e(bt,{locale:It,format:ln,generateConfig:Je}):"\xA0")}var Aa=ea;function dr(le){var de=le.value,fe=le.generateConfig,Qe=le.disabledMinutes,Je=le.disabledSeconds,It=le.minutes,bt=le.seconds,ln=le.use12Hours,rn=function(ia,Dn,An,jn){var Gn=fe.getNow(),on=de||Gn,xn=Dn<0?fe.getHour(Gn):Dn,Xn=An<0?fe.getMinute(Gn):An,Ta=jn<0?fe.getSecond(Gn):jn,Ba=Qe&&Qe(xn);if(Ba!=null&&Ba.includes(Xn)){var za=It.find(function(xa){return!Ba.includes(xa.value)});if(za)Xn=za.value;else return null}var $a=Je&&Je(xn,Xn);if($a!=null&&$a.includes(Ta)){var ja=bt.find(function(xa){return!$a.includes(xa.value)});if(ja)Ta=ja.value;else return null}return on=vt(fe,on,!ln||!ia?xn:xn+12,Xn,Ta),on};return rn}function pa(le){var de=le.prefixCls,fe=le.units,Qe=le.onSelect,Je=le.value,It=le.active,bt=le.hideDisabledOptions,ln=le.info,rn=le.type,pn="".concat(de,"-cell"),ia=ae.useContext(dn),Dn=ia.open,An=(0,ae.useRef)(null),jn=(0,ae.useRef)(new Map),Gn=(0,ae.useRef)();return(0,ae.useLayoutEffect)(function(){var on=jn.current.get(Je);on&&Dn!==!1&&Vn(An.current,on.offsetTop,120)},[Je]),(0,ae.useLayoutEffect)(function(){if(Dn){var on=jn.current.get(Je);on&&(Gn.current=un(on,function(){Vn(An.current,on.offsetTop,0)}))}return function(){var xn;(xn=Gn.current)===null||xn===void 0||xn.call(Gn)}},[Dn]),ae.createElement("ul",{className:Ye()("".concat(de,"-column"),(0,Fe.Z)({},"".concat(de,"-column-active"),It)),ref:An,style:{position:"relative"}},fe.map(function(on){var xn;return bt&&on.disabled?null:ae.createElement("li",{key:on.value,ref:function(Ta){jn.current.set(on.value,Ta)},className:Ye()(pn,(xn={},(0,Fe.Z)(xn,"".concat(pn,"-disabled"),on.disabled),(0,Fe.Z)(xn,"".concat(pn,"-selected"),Je===on.value),xn)),onClick:function(){on.disabled||Qe(on.value)}},ln.cellRender?ln.cellRender(on.value,{today:ln.today,locale:ln.locale,originNode:ae.createElement("div",{className:"".concat(pn,"-inner")},on.label),type:"time",subType:rn}):ae.createElement("div",{className:"".concat(pn,"-inner")},on.label))}))}var jr=pa;function Ir(le,de){if(le.length!==de.length)return!0;for(var fe=0;fe<le.length;fe+=1)if(le[fe].disabled!==de[fe].disabled)return!0;return!1}function br(le,de,fe,Qe){for(var Je=[],It=fe>=1?fe|0:1,bt=le;bt<=de;bt+=It)Je.push({label:Er(bt,2),value:bt,disabled:(Qe||[]).includes(bt)});return Je}function po(le){var de=le.generateConfig,fe=le.prefixCls,Qe=le.operationRef,Je=le.activeColumnIndex,It=le.value,bt=le.showHour,ln=le.showMinute,rn=le.showSecond,pn=le.use12Hours,ia=le.hourStep,Dn=ia===void 0?1:ia,An=le.minuteStep,jn=An===void 0?1:An,Gn=le.secondStep,on=Gn===void 0?1:Gn,xn=le.disabledHours,Xn=le.disabledMinutes,Ta=le.disabledSeconds,Ba=le.disabledTime,za=le.hideDisabledOptions,$a=le.onSelect,ja=le.cellRender,xa=le.locale,so=[],Hr="".concat(fe,"-content"),fo="".concat(fe,"-time-panel"),Oo,Wo=It?de.getHour(It):-1,ni=Wo,mi=It?de.getMinute(It):-1,Go=It?de.getSecond(It):-1,bo=de.getNow(),Bo=ae.useMemo(function(){if(Ba){var Gt=Ba(bo);return[Gt.disabledHours,Gt.disabledMinutes,Gt.disabledSeconds]}return[xn,Xn,Ta]},[xn,Xn,Ta,Ba,bo]),Yo=(0,Kt.Z)(Bo,3),ai=Yo[0],To=Yo[1],_o=Yo[2],Li=br(0,23,Dn,ai&&ai()),Ci=(0,Re.Z)(function(){return Li},Li,Ir);pn&&(Oo=ni>=12,ni%=12);var ce=ae.useMemo(function(){if(!pn)return[!1,!1];var Gt=[!0,!0];return Ci.forEach(function(Wt){var En=Wt.disabled,Sn=Wt.value;En||(Sn>=12?Gt[1]=!1:Gt[0]=!1)}),Gt},[pn,Ci]),pe=(0,Kt.Z)(ce,2),ze=pe[0],$e=pe[1],ot=ae.useMemo(function(){return pn?Ci.filter(Oo?function(Gt){return Gt.value>=12}:function(Gt){return Gt.value<12}).map(function(Gt){var Wt=Gt.value%12,En=Wt===0?"12":Er(Wt,2);return(0,Qt.Z)((0,Qt.Z)({},Gt),{},{label:En,value:Wt})}):Ci},[pn,Oo,Ci]),lt=br(0,59,jn,To&&To(Wo)),Ot=br(0,59,on,_o&&_o(Wo,mi)),Lt=dr({value:It,generateConfig:de,disabledMinutes:To,disabledSeconds:_o,minutes:lt,seconds:Ot,use12Hours:pn});Qe.current={onUpDown:function(Wt){var En=so[Je];if(En)for(var Sn=En.units.findIndex(function(ua){return ua.value===En.value}),wn=En.units.length,Kn=1;Kn<wn;Kn+=1){var Zn=En.units[(Sn+Wt*Kn+wn)%wn];if(Zn.disabled!==!0){En.onSelect(Zn.value);break}}}};function Bt(Gt,Wt,En,Sn,wn){Gt!==!1&&so.push({node:ae.cloneElement(Wt,{prefixCls:fo,value:En,active:Je===so.length,onSelect:wn,units:Sn,hideDisabledOptions:za}),onSelect:wn,value:En,units:Sn})}Bt(bt,ae.createElement(jr,{key:"hour",type:"hour",info:{today:bo,locale:xa,cellRender:ja}}),ni,ot,function(Gt){$a(Lt(Oo,Gt,mi,Go),"mouse")}),Bt(ln,ae.createElement(jr,{key:"minute",type:"minute",info:{today:bo,locale:xa,cellRender:ja}}),mi,lt,function(Gt){$a(Lt(Oo,ni,Gt,Go),"mouse")}),Bt(rn,ae.createElement(jr,{key:"second",type:"second",info:{today:bo,locale:xa,cellRender:ja}}),Go,Ot,function(Gt){$a(Lt(Oo,ni,mi,Gt),"mouse")});var $t=-1;return typeof Oo=="boolean"&&($t=Oo?1:0),Bt(pn===!0,ae.createElement(jr,{key:"meridiem",type:"meridiem",info:{today:bo,locale:xa,cellRender:ja}}),$t,[{label:"AM",value:0,disabled:ze},{label:"PM",value:1,disabled:$e}],function(Gt){$a(Lt(!!Gt,ni,mi,Go),"mouse")}),ae.createElement("div",{className:Hr},so.map(function(Gt){var Wt=Gt.node;return Wt}))}var Lo=po,Oi=function(de){return de.filter(function(fe){return fe!==!1}).length};function vi(le){var de=le.generateConfig,fe=le.format,Qe=fe===void 0?"HH:mm:ss":fe,Je=le.prefixCls,It=le.active,bt=le.operationRef,ln=le.showHour,rn=le.showMinute,pn=le.showSecond,ia=le.use12Hours,Dn=ia===void 0?!1:ia,An=le.onSelect,jn=le.value,Gn="".concat(Je,"-time-panel"),on=ae.useRef(),xn=ae.useState(-1),Xn=(0,Kt.Z)(xn,2),Ta=Xn[0],Ba=Xn[1],za=Oi([ln,rn,pn,Dn]);return bt.current={onKeyDown:function(ja){return fn(ja,{onLeftRight:function(so){Ba((Ta+so+za)%za)},onUpDown:function(so){Ta===-1?Ba(0):on.current&&on.current.onUpDown(so)},onEnter:function(){An(jn||de.getNow(),"key"),Ba(-1)}})},onBlur:function(){Ba(-1)}},ae.createElement("div",{className:Ye()(Gn,(0,Fe.Z)({},"".concat(Gn,"-active"),It))},ae.createElement(Aa,(0,oe.Z)({},le,{format:Qe,prefixCls:Je})),ae.createElement(Lo,(0,oe.Z)({},le,{prefixCls:Je,activeColumnIndex:Ta,operationRef:on})))}var Ei=vi,$i=Kr("date","time");function zn(le){var de=le.prefixCls,fe=le.operationRef,Qe=le.generateConfig,Je=le.value,It=le.defaultValue,bt=le.disabledTime,ln=le.showTime,rn=le.onSelect,pn=le.cellRender,ia="".concat(de,"-datetime-panel"),Dn=ae.useState(null),An=(0,Kt.Z)(Dn,2),jn=An[0],Gn=An[1],on=ae.useRef({}),xn=ae.useRef({}),Xn=(0,Ln.Z)(ln)==="object"?(0,Qt.Z)({},ln):{};function Ta(ja){var xa=$i.indexOf(jn)+ja,so=$i[xa]||null;return so}var Ba=function(xa){xn.current.onBlur&&xn.current.onBlur(xa),Gn(null)};fe.current={onKeyDown:function(xa){if(xa.which===dt.Z.TAB){var so=Ta(xa.shiftKey?-1:1);return Gn(so),so&&xa.preventDefault(),!0}if(jn){var Hr=jn==="date"?on:xn;return Hr.current&&Hr.current.onKeyDown&&Hr.current.onKeyDown(xa),!0}return[dt.Z.LEFT,dt.Z.RIGHT,dt.Z.UP,dt.Z.DOWN].includes(xa.which)?(Gn("date"),!0):!1},onBlur:Ba,onClose:Ba};var za=function(xa,so){var Hr=xa;so==="date"&&!Je&&Xn.defaultValue?(Hr=Qe.setHour(Hr,Qe.getHour(Xn.defaultValue)),Hr=Qe.setMinute(Hr,Qe.getMinute(Xn.defaultValue)),Hr=Qe.setSecond(Hr,Qe.getSecond(Xn.defaultValue))):so==="time"&&!Je&&It&&(Hr=Qe.setYear(Hr,Qe.getYear(It)),Hr=Qe.setMonth(Hr,Qe.getMonth(It)),Hr=Qe.setDate(Hr,Qe.getDate(It))),rn&&rn(Hr,"mouse")},$a=bt?bt(Je||null):{};return ae.createElement("div",{className:Ye()(ia,(0,Fe.Z)({},"".concat(ia,"-active"),jn))},ae.createElement(Mo,(0,oe.Z)({},le,{cellRender:pn,operationRef:on,active:jn==="date",onSelect:function(xa){za(qt(Qe,xa,!Je&&(0,Ln.Z)(ln)==="object"?ln.defaultValue:null),"date")}})),ae.createElement(Ei,(0,oe.Z)({},le,{cellRender:pn?function(ja,xa){return pn(ja,(0,Qt.Z)((0,Qt.Z)({},xa),{},{type:"time"}))}:void 0,format:void 0},Xn,$a,{disabledTime:null,defaultValue:void 0,operationRef:xn,active:jn==="time",onSelect:function(xa){za(xa,"time")}})))}var Ia=zn;function co(le){var de=le.prefixCls,fe=le.generateConfig,Qe=le.viewDate,Je=le.onPrevDecades,It=le.onNextDecades,bt=ae.useContext(dn),ln=bt.hideHeader;if(ln)return null;var rn="".concat(de,"-header"),pn=fe.getYear(Qe),ia=Math.floor(pn/Le)*Le,Dn=ia+Le-1;return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:rn,onSuperPrev:Je,onSuperNext:It}),ia,"-",Dn)}var xo=co,wo=3,ui=4;function Bi(le){var de=tt-1,fe=le.prefixCls,Qe=le.viewDate,Je=le.generateConfig,It=le.cellRender,bt=le.locale,ln="".concat(fe,"-cell"),rn=Je.getYear(Qe),pn=Math.floor(rn/tt)*tt,ia=Math.floor(rn/Le)*Le,Dn=ia+Le-1,An=Je.setYear(Qe,ia-Math.ceil((wo*ui*tt-Le)/2)),jn=function(xn){var Xn,Ta=Je.getYear(xn),Ba=Ta+de;return Xn={},(0,Fe.Z)(Xn,"".concat(ln,"-in-view"),ia<=Ta&&Ba<=Dn),(0,Fe.Z)(Xn,"".concat(ln,"-selected"),Ta===pn),Xn},Gn=It?function(on,xn){return It(on,{originNode:xn,today:Je.getNow(),type:"decade",locale:bt})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:ui,colNum:wo,baseDate:An,getCellNode:Gn,getCellText:function(xn){var Xn=Je.getYear(xn);return"".concat(Xn,"-").concat(Xn+de)},getCellClassName:jn,getCellDate:function(xn,Xn){return Je.addYear(xn,Xn*tt)}}))}var Yi=Bi;function Mi(le){var de=le.prefixCls,fe=le.onViewDateChange,Qe=le.generateConfig,Je=le.viewDate,It=le.operationRef,bt=le.onSelect,ln=le.onPanelChange,rn="".concat(de,"-decade-panel");It.current={onKeyDown:function(An){return fn(An,{onLeftRight:function(Gn){bt(Qe.addYear(Je,Gn*tt),"key")},onCtrlLeftRight:function(Gn){bt(Qe.addYear(Je,Gn*Le),"key")},onUpDown:function(Gn){bt(Qe.addYear(Je,Gn*tt*wo),"key")},onEnter:function(){ln("year",Je)}})}};var pn=function(An){var jn=Qe.addYear(Je,An*Le);fe(jn),ln(null,jn)},ia=function(An){bt(An,"mouse"),ln("year",An)};return ae.createElement("div",{className:rn},ae.createElement(xo,(0,oe.Z)({},le,{prefixCls:de,onPrevDecades:function(){pn(-1)},onNextDecades:function(){pn(1)}})),ae.createElement(Yi,(0,oe.Z)({},le,{prefixCls:de,onSelect:ia})))}var Ce=Mi;function ke(le){var de=le.prefixCls,fe=le.generateConfig,Qe=le.locale,Je=le.viewDate,It=le.onNextYear,bt=le.onPrevYear,ln=le.onYearClick,rn=ae.useContext(dn),pn=rn.hideHeader;if(pn)return null;var ia="".concat(de,"-header");return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:ia,onSuperPrev:bt,onSuperNext:It}),ae.createElement("button",{type:"button",onClick:ln,className:"".concat(de,"-year-btn")},_e(Je,{locale:Qe,format:Qe.yearFormat,generateConfig:fe})))}var Xe=ke,Ct=3,Yt=4;function Jt(le){var de=le.prefixCls,fe=le.locale,Qe=le.value,Je=le.viewDate,It=le.generateConfig,bt=le.cellRender,ln=ae.useContext(er),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia="".concat(de,"-cell"),Dn=nr({cellPrefixCls:ia,value:Qe,generateConfig:It,rangedValue:rn,hoverRangedValue:pn,isSameCell:function(xn,Xn){return we(It,xn,Xn)},isInView:function(){return!0},offsetCell:function(xn,Xn){return It.addMonth(xn,Xn)}}),An=fe.shortMonths||(It.locale.getShortMonths?It.locale.getShortMonths(fe.locale):[]),jn=It.setMonth(Je,0),Gn=bt?function(on,xn){return bt(on,{originNode:xn,locale:fe,today:It.getNow(),type:"month"})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:Yt,colNum:Ct,baseDate:jn,getCellNode:Gn,getCellText:function(xn){return fe.monthFormat?_e(xn,{locale:fe,format:fe.monthFormat,generateConfig:It}):An[It.getMonth(xn)]},getCellClassName:Dn,getCellDate:It.addMonth,titleCell:function(xn){return _e(xn,{locale:fe,format:"YYYY-MM",generateConfig:It})}}))}var bn=Jt;function Fn(le){var de=le.prefixCls,fe=le.operationRef,Qe=le.onViewDateChange,Je=le.generateConfig,It=le.value,bt=le.viewDate,ln=le.onPanelChange,rn=le.onSelect,pn="".concat(de,"-month-panel");fe.current={onKeyDown:function(An){return fn(An,{onLeftRight:function(Gn){rn(Je.addMonth(It||bt,Gn),"key")},onCtrlLeftRight:function(Gn){rn(Je.addYear(It||bt,Gn),"key")},onUpDown:function(Gn){rn(Je.addMonth(It||bt,Gn*Ct),"key")},onEnter:function(){ln("date",It||bt)}})}};var ia=function(An){var jn=Je.addYear(bt,An);Qe(jn),ln(null,jn)};return ae.createElement("div",{className:pn},ae.createElement(Xe,(0,oe.Z)({},le,{prefixCls:de,onPrevYear:function(){ia(-1)},onNextYear:function(){ia(1)},onYearClick:function(){ln("year",bt)}})),ae.createElement(bn,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(An){rn(An,"mouse"),ln("date",An)}})))}var Yn=Fn;function Pa(le){var de=le.prefixCls,fe=le.generateConfig,Qe=le.locale,Je=le.viewDate,It=le.onNextYear,bt=le.onPrevYear,ln=le.onYearClick,rn=ae.useContext(dn),pn=rn.hideHeader;if(pn)return null;var ia="".concat(de,"-header");return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:ia,onSuperPrev:bt,onSuperNext:It}),ae.createElement("button",{type:"button",onClick:ln,className:"".concat(de,"-year-btn")},_e(Je,{locale:Qe,format:Qe.yearFormat,generateConfig:fe})))}var Ca=Pa,ga=4,Or=1;function Mr(le){var de=le.prefixCls,fe=le.locale,Qe=le.value,Je=le.viewDate,It=le.generateConfig,bt=le.cellRender,ln=ae.useContext(er),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia="".concat(de,"-cell"),Dn=nr({cellPrefixCls:ia,value:Qe,generateConfig:It,rangedValue:rn,hoverRangedValue:pn,isSameCell:function(on,xn){return Ve(It,on,xn)},isInView:function(){return!0},offsetCell:function(on,xn){return It.addMonth(on,xn*3)}}),An=It.setDate(It.setMonth(Je,0),1),jn=bt?function(Gn,on){return bt(Gn,{originNode:on,locale:fe,today:It.getNow(),type:"quarter"})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:Or,colNum:ga,baseDate:An,getCellNode:jn,getCellText:function(on){return _e(on,{locale:fe,format:fe.quarterFormat||"[Q]Q",generateConfig:It})},getCellClassName:Dn,getCellDate:function(on,xn){return It.addMonth(on,xn*3)},titleCell:function(on){return _e(on,{locale:fe,format:"YYYY-[Q]Q",generateConfig:It})}}))}var Ro=Mr;function Ur(le){var de=le.prefixCls,fe=le.operationRef,Qe=le.onViewDateChange,Je=le.generateConfig,It=le.value,bt=le.viewDate,ln=le.onPanelChange,rn=le.onSelect,pn="".concat(de,"-quarter-panel");fe.current={onKeyDown:function(An){return fn(An,{onLeftRight:function(Gn){rn(Je.addMonth(It||bt,Gn*3),"key")},onCtrlLeftRight:function(Gn){rn(Je.addYear(It||bt,Gn),"key")},onUpDown:function(Gn){rn(Je.addYear(It||bt,Gn),"key")}})}};var ia=function(An){var jn=Je.addYear(bt,An);Qe(jn),ln(null,jn)};return ae.createElement("div",{className:pn},ae.createElement(Ca,(0,oe.Z)({},le,{prefixCls:de,onPrevYear:function(){ia(-1)},onNextYear:function(){ia(1)},onYearClick:function(){ln("year",bt)}})),ae.createElement(Ro,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(An){rn(An,"mouse")}})))}var la=Ur;function $n(le){var de=le.prefixCls,fe=le.generateConfig,Qe=le.locale,Je=le.value,It=le.disabledDate,bt=le.onSelect,ln=ae.useContext(er),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia=ae.useContext(dn),Dn=ia.onDateMouseEnter,An=ia.onDateMouseLeave,jn=(pn==null?void 0:pn[0])||(rn==null?void 0:rn[0]),Gn=(pn==null?void 0:pn[1])||(rn==null?void 0:rn[1]),on="".concat(de,"-cell"),xn=function(za){var $a=wt({cellDate:za,mode:"week",disabledDate:It,generateConfig:fe});return ae.createElement("td",{key:"week",className:Ye()(on,"".concat(on,"-week")),onClick:function(){$a||bt(za,"mouse")},onMouseEnter:function(){!$a&&Dn&&Dn(za)},onMouseLeave:function(){!$a&&An&&An(za)}},ae.createElement("div",{className:"".concat(on,"-inner")},fe.locale.getWeek(Qe.locale,za)))},Xn="".concat(de,"-week-panel-row"),Ta=function(za){var $a,ja=jt(fe,Qe.locale,jn,za),xa=jt(fe,Qe.locale,Gn,za);return Ye()(Xn,($a={},(0,Fe.Z)($a,"".concat(Xn,"-selected"),!rn&&jt(fe,Qe.locale,Je,za)),(0,Fe.Z)($a,"".concat(Xn,"-range-start"),ja),(0,Fe.Z)($a,"".concat(Xn,"-range-end"),xa),(0,Fe.Z)($a,"".concat(Xn,"-range-hover"),!ja&&!xa&&st(fe,jn,Gn,za)),$a))};return ae.createElement(Mo,(0,oe.Z)({},le,{panelName:"week",prefixColumn:xn,rowClassName:Ta,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var oa=$n,ra=10;function Nr(le){var de=le.prefixCls,fe=le.generateConfig,Qe=le.viewDate,Je=le.onPrevDecade,It=le.onNextDecade,bt=le.onDecadeClick,ln=ae.useContext(dn),rn=ln.hideHeader;if(rn)return null;var pn="".concat(de,"-header"),ia=fe.getYear(Qe),Dn=Math.floor(ia/ra)*ra,An=Dn+ra-1;return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:pn,onSuperPrev:Je,onSuperNext:It}),ae.createElement("button",{type:"button",onClick:bt,className:"".concat(de,"-decade-btn")},Dn,"-",An))}var Zr=Nr,hr=3,xr=4;function kr(le){var de=le.prefixCls,fe=le.value,Qe=le.viewDate,Je=le.locale,It=le.generateConfig,bt=le.cellRender,ln=ae.useContext(er),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia="".concat(de,"-cell"),Dn=It.getYear(Qe),An=Math.floor(Dn/ra)*ra,jn=An+ra-1,Gn=It.setYear(Qe,An-Math.ceil((hr*xr-ra)/2)),on=It.getNow(),xn=function(za){var $a=It.getYear(za);return An<=$a&&$a<=jn},Xn=nr({cellPrefixCls:ia,value:fe,generateConfig:It,rangedValue:rn,hoverRangedValue:pn,isSameCell:function(za,$a){return ve(It,za,$a)},isInView:xn,offsetCell:function(za,$a){return It.addYear(za,$a)}}),Ta=bt?function(Ba,za){return bt(Ba,{originNode:za,today:on,type:"year",locale:Je})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:xr,colNum:hr,baseDate:Gn,getCellNode:Ta,getCellText:It.getYear,getCellClassName:Xn,getCellDate:It.addYear,titleCell:function(za){return _e(za,{locale:Je,format:"YYYY",generateConfig:It})}}))}var ho=kr;function ti(le){var de=le.prefixCls,fe=le.operationRef,Qe=le.onViewDateChange,Je=le.generateConfig,It=le.value,bt=le.viewDate,ln=le.sourceMode,rn=le.onSelect,pn=le.onPanelChange,ia="".concat(de,"-year-panel");fe.current={onKeyDown:function(jn){return fn(jn,{onLeftRight:function(on){rn(Je.addYear(It||bt,on),"key")},onCtrlLeftRight:function(on){rn(Je.addYear(It||bt,on*ra),"key")},onUpDown:function(on){rn(Je.addYear(It||bt,on*hr),"key")},onEnter:function(){pn(ln==="date"?"date":"month",It||bt)}})}};var Dn=function(jn){var Gn=Je.addYear(bt,jn*10);Qe(Gn),pn(null,Gn)};return ae.createElement("div",{className:ia},ae.createElement(Zr,(0,oe.Z)({},le,{prefixCls:de,onPrevDecade:function(){Dn(-1)},onNextDecade:function(){Dn(1)},onDecadeClick:function(){pn("decade",bt)}})),ae.createElement(ho,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(jn){pn(ln==="date"?"date":"month",jn),rn(jn,"mouse")}})))}var yo=ti;function Rr(le,de,fe){return fe?ae.createElement("div",{className:"".concat(le,"-footer-extra")},fe(de)):null}function ro(le){var de=le.prefixCls,fe=le.components,Qe=fe===void 0?{}:fe,Je=le.needConfirmButton,It=le.onNow,bt=le.onOk,ln=le.okDisabled,rn=le.showNow,pn=le.locale,ia,Dn;if(Je){var An=Qe.button||"button";It&&rn!==!1&&(ia=ae.createElement("li",{className:"".concat(de,"-now")},ae.createElement("a",{className:"".concat(de,"-now-btn"),onClick:It},pn.now))),Dn=Je&&ae.createElement("li",{className:"".concat(de,"-ok")},ae.createElement(An,{disabled:ln,onClick:bt},pn.ok))}return!ia&&!Dn?null:ae.createElement("ul",{className:"".concat(de,"-ranges")},ia,Dn)}var Fo=["date","month"];function vo(le){var de,fe=le,Qe=fe.prefixCls,Je=Qe===void 0?"rc-picker":Qe,It=fe.className,bt=fe.style,ln=fe.locale,rn=fe.generateConfig,pn=fe.value,ia=fe.defaultValue,Dn=fe.pickerValue,An=fe.defaultPickerValue,jn=fe.disabledDate,Gn=fe.mode,on=fe.picker,xn=on===void 0?"date":on,Xn=fe.tabIndex,Ta=Xn===void 0?0:Xn,Ba=fe.showNow,za=fe.showTime,$a=fe.showToday,ja=fe.renderExtraFooter,xa=fe.hideHeader,so=fe.onSelect,Hr=fe.onChange,fo=fe.onPanelChange,Oo=fe.onMouseDown,Wo=fe.onPickerValueChange,ni=fe.onOk,mi=fe.components,Go=fe.direction,bo=fe.hourStep,Bo=bo===void 0?1:bo,Yo=fe.minuteStep,ai=Yo===void 0?1:Yo,To=fe.secondStep,_o=To===void 0?1:To,Li=fe.dateRender,Ci=fe.monthCellRender,ce=fe.cellRender,pe=xn==="date"&&!!za||xn==="time",ze=24%Bo===0,$e=60%ai===0,ot=60%_o===0,lt=ae.useContext(dn),Ot=lt.operationRef,Lt=lt.onSelect,Bt=lt.hideRanges,$t=lt.defaultOpenValue,Gt=ae.useContext(er),Wt=Gt.inRange,En=Gt.panelPosition,Sn=Gt.rangedValue,wn=Gt.hoverRangedValue,Kn=ae.useRef({}),Zn=ae.useRef(!0),ua=(0,Hn.Z)(null,{value:pn,defaultValue:ia,postState:function(Bn){return!Bn&&$t&&xn==="time"?$t:Bn}}),ta=(0,Kt.Z)(ua,2),ma=ta[0],Ya=ta[1],rr=(0,Hn.Z)(null,{value:Dn,defaultValue:An||ma,postState:function(Bn){var va=rn.getNow();if(!Bn)return va;if(!ma&&za){var Br=(0,Ln.Z)(za)==="object"?za.defaultValue:ia;return qt(rn,Array.isArray(Bn)?Bn[0]:Bn,Br||va)}return Array.isArray(Bn)?Bn[0]:Bn}}),ka=(0,Kt.Z)(rr,2),Ja=ka[0],Dr=ka[1],Sa=function(Bn){Dr(Bn),Wo&&Wo(Bn)},_a=function(Bn){var va=Ar[xn];return va?va(Bn):Bn},wa=(0,Hn.Z)(function(){return xn==="time"?"time":_a("date")},{value:Gn}),da=(0,Kt.Z)(wa,2),fa=da[0],qa=da[1];ae.useEffect(function(){qa(xn)},[xn]);var Gr=ae.useState(function(){return fa}),Lr=(0,Kt.Z)(Gr,2),Ka=Lr[0],zr=Lr[1],Wr=function(Bn,va){var Br=_a(Bn||fa);zr(fa),qa(Br),fo&&(fa!==Br||Se(rn,Ja,Ja))&&fo(va,Br)},Jr=function(Bn,va){var Br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(fa===xn||Br)&&(Ya(Bn),so&&so(Bn),Lt&&Lt(Bn,va),Hr&&!Se(rn,Bn,ma)&&!(jn!=null&&jn(Bn))&&Hr(Bn))},Vr=function(Bn){if(Fo.includes(fa)){var va,Br,Qr=fa==="date";switch(Bn===dt.Z.PAGE_UP||Bn===dt.Z.PAGE_DOWN?Br=Qr?rn.addMonth:rn.addYear:Br=Qr?rn.addDate:rn.addMonth,Bn){case dt.Z.LEFT:case dt.Z.PAGE_UP:va=Br(Ja,-1);break;case dt.Z.RIGHT:case dt.Z.PAGE_DOWN:va=Br(Ja,1);break;case dt.Z.UP:case dt.Z.DOWN:va=Br(Ja,Number("".concat(Bn===dt.Z.UP?"-":"").concat(Qr?ht:Ct)));break}if(va)return!(jn!=null&&jn(va))}return!0},Vo=function(Bn){if(Kn.current&&Kn.current.onKeyDown){var va=!0,Br=Bn.which;if([dt.Z.LEFT,dt.Z.RIGHT,dt.Z.UP,dt.Z.DOWN,dt.Z.PAGE_UP,dt.Z.PAGE_DOWN,dt.Z.ENTER].includes(Br)&&(Bn.preventDefault(),Br!==dt.Z.ENTER&&Ta===0&&(va=Vr(Br))),va)return Kn.current.onKeyDown(Bn)}return(0,he.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},lo=function(Bn){Kn.current&&Kn.current.onBlur&&Kn.current.onBlur(Bn)};Ot&&En!=="right"&&(Ot.current={onKeyDown:Vo,onClose:function(){Kn.current&&Kn.current.onClose&&Kn.current.onClose()}}),ae.useEffect(function(){pn&&!Zn.current&&Dr(pn)},[pn]),ae.useEffect(function(){Zn.current=!1},[]);var vr,ei=Xr({cellRender:ce,monthCellRender:Ci,dateRender:Li}),cr=(0,Qt.Z)((0,Qt.Z)({},le),{},{cellRender:ei,operationRef:Kn,prefixCls:Je,viewDate:Ja,value:ma,onViewDateChange:Sa,sourceMode:Ka,onPanelChange:Wr,disabledDate:jn});switch(delete cr.onChange,delete cr.onSelect,fa){case"decade":vr=ae.createElement(Ce,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"year":vr=ae.createElement(yo,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"month":vr=ae.createElement(Yn,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"quarter":vr=ae.createElement(la,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"week":vr=ae.createElement(oa,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;case"time":delete cr.showTime,vr=ae.createElement(Ei,(0,oe.Z)({},cr,(0,Ln.Z)(za)==="object"?za:null,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}));break;default:za?vr=ae.createElement(Ia,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}})):vr=ae.createElement(Mo,(0,oe.Z)({},cr,{onSelect:function(Bn,va){Sa(Bn),Jr(Bn,va)}}))}var ko,Ao,fi=function(){var Bn=rn.getNow(),va=tn(rn.getHour(Bn),rn.getMinute(Bn),rn.getSecond(Bn),ze?Bo:1,$e?ai:1,ot?_o:1),Br=vt(rn,Bn,va[0],va[1],va[2]);Jr(Br,"submit")};Bt||(ko=Rr(Je,fa,ja),za&&fa!=="date"?Ao=null:Ao=ro({prefixCls:Je,components:mi,needConfirmButton:pe,okDisabled:!ma||jn&&jn(ma),locale:ln,showNow:Ba,onNow:pe&&fi,onOk:function(){ma&&(Jr(ma,"submit",!0),ni&&ni(ma))}}));var gr;if($a&&fa==="date"&&xn==="date"&&!za){var or=rn.getNow(),ir="".concat(Je,"-today-btn"),Wa=jn&&jn(or);gr=ae.createElement("a",{className:Ye()(ir,Wa&&"".concat(ir,"-disabled")),"aria-disabled":Wa,onClick:function(){Wa||Jr(or,"mouse",!0)}},ln.today)}return ae.createElement(dn.Provider,{value:(0,Qt.Z)((0,Qt.Z)({},lt),{},{mode:fa,hideHeader:"hideHeader"in le?xa:lt.hideHeader,hidePrevBtn:Wt&&En==="right",hideNextBtn:Wt&&En==="left"})},ae.createElement("div",{tabIndex:Ta,className:Ye()("".concat(Je,"-panel"),It,(de={},(0,Fe.Z)(de,"".concat(Je,"-panel-has-range"),Sn&&Sn[0]&&Sn[1]),(0,Fe.Z)(de,"".concat(Je,"-panel-has-range-hover"),wn&&wn[0]&&wn[1]),(0,Fe.Z)(de,"".concat(Je,"-panel-rtl"),Go==="rtl"),de)),style:bt,onKeyDown:Vo,onBlur:lo,onMouseDown:Oo},vr,ko||Ao||gr?ae.createElement("div",{className:"".concat(Je,"-footer")},ko,Ao,gr):null))}var Eo=vo,sa=te(35593),jo={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 wi(le){var de,fe=le.prefixCls,Qe=le.popupElement,Je=le.popupStyle,It=le.visible,bt=le.dropdownClassName,ln=le.dropdownAlign,rn=le.transitionName,pn=le.getPopupContainer,ia=le.children,Dn=le.range,An=le.popupPlacement,jn=le.direction,Gn="".concat(fe,"-dropdown"),on=function(){return An!==void 0?An:jn==="rtl"?"bottomRight":"bottomLeft"};return ae.createElement(sa.Z,{showAction:[],hideAction:[],popupPlacement:on(),builtinPlacements:jo,prefixCls:Gn,popupTransitionName:rn,popup:Qe,popupAlign:ln,popupVisible:It,popupClassName:Ye()(bt,(de={},(0,Fe.Z)(de,"".concat(Gn,"-range"),Dn),(0,Fe.Z)(de,"".concat(Gn,"-rtl"),jn==="rtl"),de)),popupStyle:Je,getPopupContainer:pn},ia)}var Zi=wi;function nl(le){var de=le.prefixCls,fe=le.presets,Qe=le.onClick,Je=le.onHover;return fe.length?ae.createElement("div",{className:"".concat(de,"-presets")},ae.createElement("ul",null,fe.map(function(It,bt){var ln=It.label,rn=It.value;return ae.createElement("li",{key:bt,onClick:function(){return Qe==null?void 0:Qe(ur(rn))},onMouseEnter:function(){return Je==null?void 0:Je(ur(rn))},onMouseLeave:function(){return Je==null?void 0:Je(null)}},ln)}))):null}function Xi(le){var de=le.picker,fe=le.disabledHours,Qe=le.disabledMinutes,Je=le.disabledSeconds;de==="time"&&(fe||Qe||Je)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function zi(le,de,fe){var Qe=(0,Ln.Z)(de)==="object"?de.clearIcon:fe;return Qe||ae.createElement("span",{className:"".concat(le,"-clear-btn")})}function Fi(le){var de,fe=le,Qe=fe.prefixCls,Je=Qe===void 0?"rc-picker":Qe,It=fe.id,bt=fe.name,ln=fe.tabIndex,rn=fe.style,pn=fe.className,ia=fe.dropdownClassName,Dn=fe.dropdownAlign,An=fe.popupStyle,jn=fe.transitionName,Gn=fe.generateConfig,on=fe.locale,xn=fe.inputReadOnly,Xn=fe.allowClear,Ta=fe.autoFocus,Ba=fe.showTime,za=fe.picker,$a=za===void 0?"date":za,ja=fe.format,xa=fe.use12Hours,so=fe.value,Hr=fe.defaultValue,fo=fe.presets,Oo=fe.open,Wo=fe.defaultOpen,ni=fe.defaultOpenValue,mi=fe.suffixIcon,Go=fe.clearIcon,bo=fe.disabled,Bo=fe.disabledDate,Yo=fe.placeholder,ai=fe.getPopupContainer,To=fe.pickerRef,_o=fe.panelRender,Li=fe.onChange,Ci=fe.onOpenChange,ce=fe.onFocus,pe=fe.onBlur,ze=fe.onMouseDown,$e=fe.onMouseUp,ot=fe.onMouseEnter,lt=fe.onMouseLeave,Ot=fe.onContextMenu,Lt=fe.onClick,Bt=fe.onKeyDown,$t=fe.onSelect,Gt=fe.direction,Wt=fe.autoComplete,En=Wt===void 0?"off":Wt,Sn=fe.inputRender,wn=fe.changeOnBlur,Kn=ae.useRef(null),Zn=$a==="date"&&!!Ba||$a==="time",ua=rt(fo),ta=oo(an(ja,$a,Ba,xa)),ma=ae.useRef(null),Ya=ae.useRef(null),rr=ae.useRef(null),ka=(0,Hn.Z)(null,{value:so,defaultValue:Hr}),Ja=(0,Kt.Z)(ka,2),Dr=Ja[0],Sa=Ja[1],_a=ae.useState(Dr),wa=(0,Kt.Z)(_a,2),da=wa[0],fa=wa[1],qa=ae.useRef(null),Gr=(0,Hn.Z)(!1,{value:Oo,defaultValue:Wo,postState:function(pr){return bo?!1:pr},onChange:function(pr){Ci&&Ci(pr),!pr&&qa.current&&qa.current.onClose&&qa.current.onClose()}}),Lr=(0,Kt.Z)(Gr,2),Ka=Lr[0],zr=Lr[1],Wr=zt(da,{formatList:ta,generateConfig:Gn,locale:on}),Jr=(0,Kt.Z)(Wr,2),Vr=Jr[0],Vo=Jr[1],lo=Ft({valueTexts:Vr,onTextChange:function(pr){var hi=ct(pr,{locale:on,formatList:ta,generateConfig:Gn});hi&&(!Bo||!Bo(hi))&&fa(hi)}}),vr=(0,Kt.Z)(lo,3),ei=vr[0],cr=vr[1],ko=vr[2],Ao=function(pr){fa(pr),Sa(pr),Li&&!Se(Gn,Dr,pr)&&Li(pr,pr?_e(pr,{generateConfig:Gn,locale:on,format:ta[0]}):"")},fi=function(pr){bo&&pr||zr(pr)},gr=function(pr){return Ka&&qa.current&&qa.current.onKeyDown?qa.current.onKeyDown(pr):((0,he.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},or=function(){for(var pr=arguments.length,hi=new Array(pr),Ti=0;Ti<pr;Ti++)hi[Ti]=arguments[Ti];Lt==null||Lt.apply(void 0,hi),Kn.current&&(Kn.current.focus(),fi(!0))},ir=function(pr){wn&&Ao(da),pe==null||pe(pr)},Wa=Qa({blurToCancel:Zn,open:Ka,value:ei,triggerOpen:fi,forwardKeyDown:gr,isClickOutside:function(pr){return!Cr([ma.current,Ya.current,rr.current],pr)},onSubmit:function(){return!da||Bo&&Bo(da)?!1:(Ao(da),fi(!1),ko(),!0)},onCancel:function(){fi(!1),fa(Dr),ko()},onKeyDown:function(pr,hi){Bt==null||Bt(pr,hi)},onFocus:ce,onBlur:ir,changeOnBlur:wn}),Na=(0,Kt.Z)(Wa,2),Bn=Na[0],va=Na[1],Br=va.focused,Qr=va.typing;ae.useEffect(function(){Ka||(fa(Dr),!Vr.length||Vr[0]===""?cr(""):Vo!==ei&&ko())},[Ka,Vr]),ae.useEffect(function(){Ka||ko()},[$a]),ae.useEffect(function(){fa(Dr)},[Dr]),To&&(To.current={focus:function(){var pr;(pr=Kn.current)===null||pr===void 0||pr.focus()},blur:function(){var pr;(pr=Kn.current)===null||pr===void 0||pr.blur()}});var Ni=mn(ei,{formatList:ta,generateConfig:Gn,locale:on}),bi=(0,Kt.Z)(Ni,3),Ji=bi[0],si=bi[1],ri=bi[2],lr=(0,Qt.Z)((0,Qt.Z)({},le),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Ri=ae.createElement("div",{className:"".concat(Je,"-panel-layout")},ae.createElement(nl,{prefixCls:Je,presets:ua,onClick:function(pr){Ao(pr),fi(!1)}}),ae.createElement(Eo,(0,oe.Z)({},lr,{generateConfig:Gn,className:Ye()((0,Fe.Z)({},"".concat(Je,"-panel-focused"),!Qr)),value:da,locale:on,tabIndex:-1,onSelect:function(pr){$t==null||$t(pr),fa(pr)},direction:Gt,onPanelChange:function(pr,hi){var Ti=le.onPanelChange;ri(!0),Ti==null||Ti(pr,hi)}})));_o&&(Ri=_o(Ri));var ji=ae.createElement("div",{className:"".concat(Je,"-panel-container"),ref:ma,onMouseDown:function(pr){pr.preventDefault()}},Ri),No;mi&&(No=ae.createElement("span",{className:"".concat(Je,"-suffix"),onMouseDown:function(pr){pr.preventDefault()}},mi));var Zo=zi(Je,Xn,Go),ii=ae.createElement("span",{onMouseDown:function(pr){pr.preventDefault(),pr.stopPropagation()},onMouseUp:function(pr){pr.preventDefault(),pr.stopPropagation(),Ao(null),fi(!1)},className:"".concat(Je,"-clear"),role:"button"},Zo),Pi=!!Xn&&Dr&&!bo,pi=(0,Qt.Z)((0,Qt.Z)((0,Qt.Z)({id:It,tabIndex:ln,disabled:bo,readOnly:xn||typeof ta[0]=="function"||!Qr,value:Ji||ei,onChange:function(pr){cr(pr.target.value)},autoFocus:Ta,placeholder:Yo,ref:Kn,title:ei},Bn),{},{size:Un($a,ta[0],Gn),name:bt},(0,Jn.Z)(le,{aria:!0,data:!0})),{},{autoComplete:En}),uo=Sn?Sn(pi):ae.createElement("input",pi),Gi=function(pr,hi){(hi==="submit"||hi!=="key"&&!Zn)&&(Ao(pr),fi(!1))},Ii=Gt==="rtl"?"bottomRight":"bottomLeft";return ae.createElement(dn.Provider,{value:{operationRef:qa,hideHeader:$a==="time",onSelect:Gi,open:Ka,defaultOpenValue:ni,onDateMouseEnter:si,onDateMouseLeave:ri}},ae.createElement(Zi,{visible:Ka,popupElement:ji,popupStyle:An,prefixCls:Je,dropdownClassName:ia,dropdownAlign:Dn,getPopupContainer:ai,transitionName:jn,popupPlacement:Ii,direction:Gt},ae.createElement("div",{ref:rr,className:Ye()(Je,pn,(de={},(0,Fe.Z)(de,"".concat(Je,"-disabled"),bo),(0,Fe.Z)(de,"".concat(Je,"-focused"),Br),(0,Fe.Z)(de,"".concat(Je,"-rtl"),Gt==="rtl"),de)),style:rn,onMouseDown:ze,onMouseUp:$e,onMouseEnter:ot,onMouseLeave:lt,onContextMenu:Ot,onClick:or},ae.createElement("div",{className:Ye()("".concat(Je,"-input"),(0,Fe.Z)({},"".concat(Je,"-input-placeholder"),!!Ji)),ref:Ya},uo,No,Pi&&ii))))}var ul=function(le){(0,Pt.Z)(fe,le);var de=(0,sn.Z)(fe);function fe(){var Qe;(0,ut.Z)(this,fe);for(var Je=arguments.length,It=new Array(Je),bt=0;bt<Je;bt++)It[bt]=arguments[bt];return Qe=de.call.apply(de,[this].concat(It)),(0,Fe.Z)((0,Nt.Z)(Qe),"pickerRef",ae.createRef()),(0,Fe.Z)((0,Nt.Z)(Qe),"focus",function(){Qe.pickerRef.current&&Qe.pickerRef.current.focus()}),(0,Fe.Z)((0,Nt.Z)(Qe),"blur",function(){Qe.pickerRef.current&&Qe.pickerRef.current.blur()}),Qe}return(0,At.Z)(fe,[{key:"render",value:function(){return ae.createElement(Fi,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),fe}(ae.Component),_i=ul;function rl(le,de){var fe=le.picker,Qe=le.locale,Je=le.selectedValue,It=le.disabledDate,bt=le.disabled,ln=le.generateConfig,rn=Xa(Je,0),pn=Xa(Je,1);function ia(on){return ln.locale.getWeekFirstDate(Qe.locale,on)}function Dn(on){var xn=ln.getYear(on),Xn=ln.getMonth(on);return xn*100+Xn}function An(on){var xn=ln.getYear(on),Xn=We(ln,on);return xn*10+Xn}var jn=ae.useCallback(function(on){if(bt[0]||It&&It(on))return!0;if(bt[1]&&pn)return!pt(ln,on,pn)&&ln.isAfter(on,pn);if(!de&&pn)switch(fe){case"quarter":return An(on)>An(pn);case"month":return Dn(on)>Dn(pn);case"week":return ia(on)>ia(pn);default:return!pt(ln,on,pn)&&ln.isAfter(on,pn)}return!1},[It,bt[1],pn,de]),Gn=ae.useCallback(function(on){if(bt[1]||It&&It(on))return!0;if(bt[0]&&rn)return!pt(ln,on,pn)&&ln.isAfter(rn,on);if(!de&&rn)switch(fe){case"quarter":return An(on)<An(rn);case"month":return Dn(on)<Dn(rn);case"week":return ia(on)<ia(rn);default:return!pt(ln,on,rn)&&ln.isAfter(rn,on)}return!1},[It,bt[0],rn,de]);return[jn,Gn]}var Ut=te(70425),Ht=te(6089);function Zt(le,de,fe,Qe,Je,It,bt,ln,rn,pn){var ia=ae.useState(!1),Dn=(0,Kt.Z)(ia,2),An=Dn[0],jn=Dn[1],Gn=(0,Ut.useMergedState)(le||!1,{value:de}),on=(0,Kt.Z)(Gn,2),xn=on[0],Xn=on[1],Ta=(0,Ut.useMergedState)(le||!1,{value:de,onChange:function(Bo){pn==null||pn(Bo)}}),Ba=(0,Kt.Z)(Ta,2),za=Ba[0],$a=Ba[1],ja=(0,Ut.useMergedState)(0,{value:fe}),xa=(0,Kt.Z)(ja,2),so=xa[0],Hr=xa[1],fo=ae.useState(null),Oo=(0,Kt.Z)(fo,2),Wo=Oo[0],ni=Oo[1];ae.useEffect(function(){za&&jn(!0)},[za]);var mi=function(Bo){return Bo===0?1:0},Go=(0,Ht.Z)(function(bo,Bo,Yo){if(Bo===!1)$a(bo);else if(bo){Hr(Bo),$a(bo);var ai=mi(Bo);!za||![bt,ln][ai]?ni(ai):(jn(!1),Wo!==null&&ni(null))}else if(Yo==="confirm"||Yo==="blur"&&Qe){var To=xn?mi(Bo):Wo;To!==null&&(jn(!1),Hr(To)),ni(null),To!==null&&!rn[To]?(0,Dt.Z)(function(){var _o,Li=[Je,It][To];(_o=Li.current)===null||_o===void 0||_o.focus()}):$a(!1)}else $a(!1),Xn(!1)});return[za,so,An,Go]}function ba(le,de,fe,Qe){var Je=Ae(le,fe,Qe,1);function It(bt){return bt(le,de)?"same":bt(Je,de)?"closing":"far"}switch(fe){case"year":return It(function(bt,ln){return Oe(Qe,bt,ln)});case"quarter":case"month":return It(function(bt,ln){return ve(Qe,bt,ln)});default:return It(function(bt,ln){return we(Qe,bt,ln)})}}function Va(le,de,fe,Qe){var Je=Xa(le,0),It=Xa(le,1);if(de===0)return Je;if(Je&&It){var bt=ba(Je,It,fe,Qe);switch(bt){case"same":return Je;case"closing":return Je;default:return Ae(It,fe,Qe,-1)}}return Je}function Fa(le){var de=le.values,fe=le.picker,Qe=le.defaultDates,Je=le.generateConfig,It=ae.useState(function(){return[Xa(Qe,0),Xa(Qe,1)]}),bt=(0,Kt.Z)(It,2),ln=bt[0],rn=bt[1],pn=ae.useState(null),ia=(0,Kt.Z)(pn,2),Dn=ia[0],An=ia[1],jn=Xa(de,0),Gn=Xa(de,1);function on(Xn){return ln[Xn]?ln[Xn]:Xa(Dn,Xn)||Va(de,Xn,fe,Je)||jn||Gn||Je.getNow()}function xn(Xn,Ta){if(Xn){var Ba=Nn(Dn,Xn,Ta);rn(Nn(ln,null,Ta)||[null,null]);var za=(Ta+1)%2;Xa(de,za)||(Ba=Nn(Ba,Xn,za)),An(Ba)}else(jn||Gn)&&An(null)}return[on,xn]}function In(le,de){return le&&le[0]&&le[1]&&de.isAfter(le[0],le[1])?[le[1],le[0]]:le}function Ua(le,de,fe,Qe){return!!(le||Qe&&Qe[de]||fe[(de+1)%2])}function hn(le){var de,fe,Qe,Je=le,It=Je.prefixCls,bt=It===void 0?"rc-picker":It,ln=Je.id,rn=Je.style,pn=Je.className,ia=Je.popupStyle,Dn=Je.dropdownClassName,An=Je.transitionName,jn=Je.dropdownAlign,Gn=Je.getPopupContainer,on=Je.generateConfig,xn=Je.locale,Xn=Je.placeholder,Ta=Je.autoFocus,Ba=Je.disabled,za=Je.format,$a=Je.picker,ja=$a===void 0?"date":$a,xa=Je.showTime,so=Je.use12Hours,Hr=Je.separator,fo=Hr===void 0?"~":Hr,Oo=Je.value,Wo=Je.defaultValue,ni=Je.defaultPickerValue,mi=Je.open,Go=Je.defaultOpen,bo=Je.disabledDate,Bo=Je.disabledTime,Yo=Je.dateRender,ai=Je.monthCellRender,To=Je.cellRender,_o=Je.panelRender,Li=Je.presets,Ci=Je.ranges,ce=Je.allowEmpty,pe=Je.allowClear,ze=Je.suffixIcon,$e=Je.clearIcon,ot=Je.pickerRef,lt=Je.inputReadOnly,Ot=Je.mode,Lt=Je.renderExtraFooter,Bt=Je.onChange,$t=Je.onOpenChange,Gt=Je.onPanelChange,Wt=Je.onCalendarChange,En=Je.onFocus,Sn=Je.onBlur,wn=Je.onMouseDown,Kn=Je.onMouseUp,Zn=Je.onMouseEnter,ua=Je.onMouseLeave,ta=Je.onClick,ma=Je.onOk,Ya=Je.onKeyDown,rr=Je.components,ka=Je.order,Ja=Je.direction,Dr=Je.activePickerIndex,Sa=Je.autoComplete,_a=Sa===void 0?"off":Sa,wa=Je.changeOnBlur,da=ja==="date"&&!!xa||ja==="time",fa=(0,ae.useRef)(null),qa=(0,ae.useRef)(null),Gr=(0,ae.useRef)(null),Lr=(0,ae.useRef)(null),Ka=(0,ae.useRef)(null),zr=(0,ae.useRef)(null),Wr=(0,ae.useRef)(null),Jr=(0,ae.useRef)(null),Vr=oo(an(za,ja,xa,so)),Vo=(0,ae.useRef)(null),lo=ae.useMemo(function(){return Array.isArray(Ba)?Ba:[Ba||!1,Ba||!1]},[Ba]),vr=(0,Hn.Z)(null,{value:Oo,defaultValue:Wo,postState:function(yr){return ja==="time"&&!ka?yr:In(yr,on)}}),ei=(0,Kt.Z)(vr,2),cr=ei[0],ko=ei[1],Ao=Fa({values:cr,picker:ja,defaultDates:ni,generateConfig:on}),fi=(0,Kt.Z)(Ao,2),gr=fi[0],or=fi[1],ir=(0,Hn.Z)(cr,{postState:function(yr){var qr=yr;if(lo[0]&&lo[1])return qr;for(var Xo=0;Xo<2;Xo+=1)lo[Xo]&&!qr&&!Xa(qr,Xo)&&!Xa(ce,Xo)&&(qr=Nn(qr,on.getNow(),Xo));return qr}}),Wa=(0,Kt.Z)(ir,2),Na=Wa[0],Bn=Wa[1],va=(0,Hn.Z)([ja,ja],{value:Ot}),Br=(0,Kt.Z)(va,2),Qr=Br[0],Ni=Br[1];(0,ae.useEffect)(function(){Ni([ja,ja])},[ja]);var bi=function(yr,qr){Ni(yr),Gt&&Gt(qr,yr)},Ji=Zt(Go,mi,Dr,wa,zr,Wr,Xa(Na,0),Xa(Na,1),lo,$t),si=(0,Kt.Z)(Ji,4),ri=si[0],lr=si[1],Ri=si[2],ji=si[3],No=ri&&lr===0,Zo=ri&&lr===1,ii=rl({picker:ja,selectedValue:Na,locale:xn,disabled:lo,disabledDate:bo,generateConfig:on},!ri||Ri),Pi=(0,Kt.Z)(ii,2),pi=Pi[0],uo=Pi[1],Gi=(0,ae.useState)(0),Ii=(0,Kt.Z)(Gi,2),zo=Ii[0],pr=Ii[1];(0,ae.useEffect)(function(){!ri&&fa.current&&pr(fa.current.offsetWidth)},[ri]);function hi(Uo){ji(!0,Uo,"open"),(0,Dt.Z)(function(){var yr,qr=[zr,Wr][Uo];(yr=qr.current)===null||yr===void 0||yr.focus()},0)}function Ti(Uo,yr){var qr=Uo,Xo=Xa(qr,0),xi=Xa(qr,1);Xo&&xi&&on.isAfter(Xo,xi)&&(ja==="week"&&!jt(on,xn.locale,Xo,xi)||ja==="quarter"&&!Ve(on,Xo,xi)||ja!=="week"&&ja!=="quarter"&&ja!=="time"&&!pt(on,Xo,xi)?yr===0?(qr=[Xo,null],xi=null):(Xo=null,qr=[null,xi]):(ja!=="time"||ka!==!1)&&(qr=In(qr,on))),Bn(qr);var Ml=qr&&qr[0]?_e(qr[0],{generateConfig:on,locale:xn,format:Vr[0]}):"",gl=qr&&qr[1]?_e(qr[1],{generateConfig:on,locale:xn,format:Vr[0]}):"";if(Wt){var yl={range:yr===0?"start":"end"};Wt(qr,[Ml,gl],yl)}var El=Ua(Xo,0,lo,ce),Jl=Ua(xi,1,lo,ce),xl=qr===null||El&&Jl;xl&&(ko(qr),Bt&&(!Se(on,Xa(cr,0),Xo)||!Se(on,Xa(cr,1),xi))&&Bt(qr,[Ml,gl]))}var sl=function(yr){return ri&&Vo.current&&Vo.current.onKeyDown?Vo.current.onKeyDown(yr):((0,he.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},el={formatList:Vr,generateConfig:on,locale:xn},Qi=zt(Xa(Na,0),el),Wi=(0,Kt.Z)(Qi,2),yi=Wi[0],gi=Wi[1],ol=zt(Xa(Na,1),el),fl=(0,Kt.Z)(ol,2),al=fl[0],il=fl[1],Cl=function(yr,qr){var Xo=ct(yr,{locale:xn,formatList:Vr,generateConfig:on}),xi=qr===0?pi:uo;Xo&&!xi(Xo)&&(Bn(Nn(Na,Xo,qr)),or(Xo,qr))},Rl=Ft({valueTexts:yi,onTextChange:function(yr){return Cl(yr,0)}}),Po=(0,Kt.Z)(Rl,3),Qo=Po[0],ki=Po[1],di=Po[2],Vi=Ft({valueTexts:al,onTextChange:function(yr){return Cl(yr,1)}}),Ui=(0,Kt.Z)(Vi,3),Ki=Ui[0],ll=Ui[1],Tl=Ui[2],du=(0,ae.useState)(null),kl=(0,Kt.Z)(du,2),cu=kl[0],ql=kl[1],Dl=(0,ae.useState)(null),pl=(0,Kt.Z)(Dl,2),hl=pl[0],eu=pl[1],tu=mn(Qo,{formatList:Vr,generateConfig:on,locale:xn}),Zl=(0,Kt.Z)(tu,3),zl=Zl[0],Bl=Zl[1],Al=Zl[2],gu=mn(Ki,{formatList:Vr,generateConfig:on,locale:xn}),Ll=(0,Kt.Z)(gu,3),_l=Ll[0],mu=Ll[1],Hl=Ll[2],fu=function(yr){eu(Nn(Na,yr,lr)),lr===0?Bl(yr):mu(yr)},nu=function(){eu(Nn(Na,null,lr)),lr===0?Al():Hl()},Ol=ae.useState(ri),Nl=(0,Kt.Z)(Ol,2),jl=Nl[0],au=Nl[1];ae.useEffect(function(){au(ri)},[ri]);var ru=function(yr){if(wa&&jl){var qr=Xa(Na,lr);qr&&Ti(Na,lr)}return Sn==null?void 0:Sn(yr)},Gl=function(yr,qr){return{blurToCancel:!wa&&da,forwardKeyDown:sl,onBlur:ru,isClickOutside:function(xi){return!Cr([qa.current,Gr.current,Lr.current,fa.current],xi)},onFocus:function(xi){En&&En(xi)},triggerOpen:function(xi){xi?ji(xi,yr,"open"):ji(xi,Xa(Na,yr)?yr:!1,"blur")},onSubmit:function(){if(!Na||bo&&bo(Na[yr]))return!1;Ti(Na,yr),qr(),ji(!1,lr,"confirm")},onCancel:function(){ji(!1,yr,"cancel"),Bn(cr),qr()}}},Kl={onKeyDown:function(yr,qr){Ya==null||Ya(yr,qr)},changeOnBlur:wa},pu=Qa((0,Qt.Z)((0,Qt.Z)({},Gl(0,di)),{},{open:No,value:Qo},Kl)),Wl=(0,Kt.Z)(pu,2),Vl=Wl[0],Ul=Wl[1],Il=Ul.focused,$l=Ul.typing,hu=Qa((0,Qt.Z)((0,Qt.Z)({},Gl(1,Tl)),{},{open:Zo,value:Ki},Kl)),Ho=(0,Kt.Z)(hu,2),ci=Ho[0],tl=Ho[1],dl=tl.focused,cl=tl.typing,ou=function(yr){ta&&ta(yr),!ri&&!zr.current.contains(yr.target)&&!Wr.current.contains(yr.target)&&(lo[0]?lo[1]||hi(1):hi(0))},Yl=function(yr){wn&&wn(yr),ri&&(Il||dl)&&!zr.current.contains(yr.target)&&!Wr.current.contains(yr.target)&&yr.preventDefault()},Ql=cr&&cr[0]?_e(cr[0],{locale:xn,format:"YYYYMMDDHHmmss",generateConfig:on}):"",Xl=cr&&cr[1]?_e(cr[1],{locale:xn,format:"YYYYMMDDHHmmss",generateConfig:on}):"";(0,ae.useEffect)(function(){ri||(Bn(cr),!yi.length||yi[0]===""?ki(""):gi!==Qo&&di(),!al.length||al[0]===""?ll(""):il!==Ki&&Tl())},[ri,yi,al]),(0,ae.useEffect)(function(){Bn(cr)},[Ql,Xl]);var bl=Xr({cellRender:To,monthCellRender:ai,dateRender:Yo}),Lu=ae.useMemo(function(){if(bl)return function(Uo,yr){return bl(Uo,(0,Qt.Z)((0,Qt.Z)({},yr),{},{range:lr?"end":"start"}))}},[lr,bl]);ot&&(ot.current={focus:function(){zr.current&&zr.current.focus()},blur:function(){zr.current&&zr.current.blur(),Wr.current&&Wr.current.blur()}});var Ou=rt(Li,Ci);function vu(){var Uo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qr=null;ri&&hl&&hl[0]&&hl[1]&&on.isAfter(hl[1],hl[0])&&(qr=hl);var Xo=xa;if(xa&&(0,Ln.Z)(xa)==="object"&&xa.defaultValue){var xi=xa.defaultValue;Xo=(0,Qt.Z)((0,Qt.Z)({},xa),{},{defaultValue:Xa(xi,lr)||void 0})}return ae.createElement(er.Provider,{value:{inRange:!0,panelPosition:Uo,rangedValue:cu||Na,hoverRangedValue:qr}},ae.createElement(Eo,(0,oe.Z)({},le,yr,{cellRender:Lu,showTime:Xo,mode:Qr[lr],generateConfig:on,style:void 0,direction:Ja,disabledDate:lr===0?pi:uo,disabledTime:function(gl){return Bo?Bo(gl,lr===0?"start":"end"):!1},className:Ye()((0,Fe.Z)({},"".concat(bt,"-panel-focused"),lr===0?!$l:!cl)),value:Xa(Na,lr),locale:xn,tabIndex:-1,onPanelChange:function(gl,yl){lr===0&&Al(!0),lr===1&&Hl(!0),bi(Nn(Qr,yl,lr),Nn(Na,gl,lr));var El=gl;Uo==="right"&&Qr[lr]===yl&&(El=Ae(El,yl,on,-1)),or(El,lr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:lr===0?Xa(Na,1):Xa(Na,0)})))}var Pl=0,Eu=0;if(lr&&Gr.current&&Ka.current&&qa.current&&Jr.current){Pl=Gr.current.offsetWidth+Ka.current.offsetWidth;var Nu=Jr.current.offsetLeft>Pl?Jr.current.offsetLeft-Pl:Jr.current.offsetLeft,Cu=qa.current.offsetWidth,bu=Jr.current.offsetWidth;Cu&&bu&&Pl>Cu-bu-(Ja==="rtl"?0:Nu)&&(Eu=Pl)}var Iu=Ja==="rtl"?{right:Pl}:{left:Pl};function Mu(){var Uo,yr=Rr(bt,Qr[lr],Lt),qr=ro({prefixCls:bt,components:rr,needConfirmButton:da,okDisabled:!Xa(Na,lr)||bo&&bo(Na[lr]),locale:xn,onOk:function(){var ml=Xa(Na,lr);ml&&(Ti(Na,lr),ma==null||ma(Na),ji(!1,lr,"confirm"))}});if(ja!=="time"&&!xa){var Xo=gr(lr),xi=Ae(Xo,ja,on),Ml=Qr[lr],gl=Ml===ja,yl=vu(gl?"left":!1,{pickerValue:Xo,onPickerValueChange:function(ml){or(ml,lr)}}),El=vu("right",{pickerValue:xi,onPickerValueChange:function(ml){or(Ae(ml,ja,on,-1),lr)}});Ja==="rtl"?Uo=ae.createElement(ae.Fragment,null,El,gl&&yl):Uo=ae.createElement(ae.Fragment,null,yl,gl&&El)}else Uo=vu();var Jl=ae.createElement("div",{className:"".concat(bt,"-panel-layout")},ae.createElement(nl,{prefixCls:bt,presets:Ou,onClick:function(ml){Ti(ml,null),ji(!1,lr,"preset")},onHover:function(ml){ql(ml)}}),ae.createElement("div",null,ae.createElement("div",{className:"".concat(bt,"-panels")},Uo),(yr||qr)&&ae.createElement("div",{className:"".concat(bt,"-footer")},yr,qr)));return _o&&(Jl=_o(Jl)),ae.createElement("div",{className:"".concat(bt,"-panel-container"),style:{marginLeft:Eu},ref:qa,onMouseDown:function(ml){ml.preventDefault()}},Jl)}var Ru=ae.createElement("div",{className:Ye()("".concat(bt,"-range-wrapper"),"".concat(bt,"-").concat(ja,"-range-wrapper")),style:{minWidth:zo}},ae.createElement("div",{ref:Jr,className:"".concat(bt,"-range-arrow"),style:Iu}),Mu()),xu;ze&&(xu=ae.createElement("span",{className:"".concat(bt,"-suffix"),onMouseDown:function(yr){yr.preventDefault()}},ze));var Tu=zi(bt,pe,$e),ku=ae.createElement("span",{onMouseDown:function(yr){yr.preventDefault(),yr.stopPropagation()},onMouseUp:function(yr){yr.preventDefault(),yr.stopPropagation();var qr=cr;lo[0]||(qr=Nn(qr,null,0)),lo[1]||(qr=Nn(qr,null,1)),Ti(qr,null),ji(!1,lr,"clear")},className:"".concat(bt,"-clear"),role:"button"},Tu),Zu=pe&&(Xa(cr,0)&&!lo[0]||Xa(cr,1)&&!lo[1]),wu={size:Un(ja,Vr[0],on)},Su=0,Pu=0;Gr.current&&Lr.current&&Ka.current&&(lr===0?Pu=Gr.current.offsetWidth:(Su=Pl,Pu=Lr.current.offsetWidth));var zu=Ja==="rtl"?{right:Su}:{left:Su},_u=function(yr,qr){var Xo=Nn(Na,yr,lr);if(qr==="submit"||qr!=="key"&&!da){Ti(Xo,lr),lr===0?Al():Hl();var xi=lr===0?1:0;lo[xi]?ji(!1,!1,"confirm"):ji(!1,lr,"confirm")}else Bn(Xo)};return ae.createElement(dn.Provider,{value:{operationRef:Vo,hideHeader:ja==="time",onDateMouseEnter:fu,onDateMouseLeave:nu,hideRanges:!0,onSelect:_u,open:ri}},ae.createElement(Zi,{visible:ri,popupElement:Ru,popupStyle:ia,prefixCls:bt,dropdownClassName:Dn,dropdownAlign:jn,getPopupContainer:Gn,transitionName:An,range:!0,direction:Ja},ae.createElement("div",(0,oe.Z)({ref:fa,className:Ye()(bt,"".concat(bt,"-range"),pn,(de={},(0,Fe.Z)(de,"".concat(bt,"-disabled"),lo[0]&&lo[1]),(0,Fe.Z)(de,"".concat(bt,"-focused"),lr===0?Il:dl),(0,Fe.Z)(de,"".concat(bt,"-rtl"),Ja==="rtl"),de)),style:rn,onClick:ou,onMouseEnter:Zn,onMouseLeave:ua,onMouseDown:Yl,onMouseUp:Kn},(0,Jn.Z)(le,{aria:!0,data:!0})),ae.createElement("div",{className:Ye()("".concat(bt,"-input"),(fe={},(0,Fe.Z)(fe,"".concat(bt,"-input-active"),lr===0),(0,Fe.Z)(fe,"".concat(bt,"-input-placeholder"),!!zl),fe)),ref:Gr},ae.createElement("input",(0,oe.Z)({id:ln,disabled:lo[0],readOnly:lt||typeof Vr[0]=="function"||!$l,value:zl||Qo,onChange:function(yr){ki(yr.target.value)},autoFocus:Ta,placeholder:Xa(Xn,0)||"",ref:zr},Vl,wu,{autoComplete:_a}))),ae.createElement("div",{className:"".concat(bt,"-range-separator"),ref:Ka},fo),ae.createElement("div",{className:Ye()("".concat(bt,"-input"),(Qe={},(0,Fe.Z)(Qe,"".concat(bt,"-input-active"),lr===1),(0,Fe.Z)(Qe,"".concat(bt,"-input-placeholder"),!!_l),Qe)),ref:Lr},ae.createElement("input",(0,oe.Z)({disabled:lo[1],readOnly:lt||typeof Vr[0]=="function"||!cl,value:_l||Ki,onChange:function(yr){ll(yr.target.value)},placeholder:Xa(Xn,1)||"",ref:Wr},ci,wu,{autoComplete:_a}))),ae.createElement("div",{className:"".concat(bt,"-active-bar"),style:(0,Qt.Z)((0,Qt.Z)({},zu),{},{width:Pu,position:"absolute"})}),xu,Zu&&ku)))}var Za=function(le){(0,Pt.Z)(fe,le);var de=(0,sn.Z)(fe);function fe(){var Qe;(0,ut.Z)(this,fe);for(var Je=arguments.length,It=new Array(Je),bt=0;bt<Je;bt++)It[bt]=arguments[bt];return Qe=de.call.apply(de,[this].concat(It)),(0,Fe.Z)((0,Nt.Z)(Qe),"pickerRef",ae.createRef()),(0,Fe.Z)((0,Nt.Z)(Qe),"focus",function(){Qe.pickerRef.current&&Qe.pickerRef.current.focus()}),(0,Fe.Z)((0,Nt.Z)(Qe),"blur",function(){Qe.pickerRef.current&&Qe.pickerRef.current.blur()}),Qe}return(0,At.Z)(fe,[{key:"render",value:function(){return ae.createElement(hn,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),fe}(ae.Component),Da=Za,Io=_i,Ma=te(19080),$o=te(36355),Si=te(1684),Ko=te(19716),Sr=te(32441),Pr=te(9763),Qn=te(33234),ao=te(48183),oi=te(64993),ha=te(9937),ca=te(17313),eo=te(47585),Ai=te(74207),Tn=te(13826),tr=te(92899),aa=te(37613),nn=te(83116);const Wn=(le,de,fe,Qe)=>{const{lineHeight:Je}=le,It=Math.floor(fe*Je)+2,bt=Math.max((de-It)/2,0),ln=Math.max(de-It-bt,0);return{padding:`${bt}px ${Qe}px ${ln}px`}},Cn=le=>{const{componentCls:de,pickerCellCls:fe,pickerCellInnerCls:Qe,cellHeight:Je,motionDurationSlow:It,borderRadiusSM:bt,motionDurationMid:ln,cellHoverBg:rn,lineWidth:pn,lineType:ia,colorPrimary:Dn,cellActiveWithRangeBg:An,colorTextLightSolid:jn,controlHeightSM:Gn,cellRangeBorderColor:on,pickerCellBorderGap:xn,cellHoverWithRangeBg:Xn,cellWidth:Ta,colorTextDisabled:Ba,cellBgDisabled:za}=le;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Je,transform:"translateY(-50%)",transition:`all ${It}`,content:'""'},[Qe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Je,height:Je,lineHeight:`${Je}px`,borderRadius:bt,transition:`background ${ln}, border ${ln}`},"&-range-hover-start, &-range-hover-end":{[Qe]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${fe}-in-view),
|
|
&:hover:not(${fe}-selected):not(${fe}-range-start):not(${fe}-range-end):not(${fe}-range-hover-start):not(${fe}-range-hover-end)`]:{[Qe]:{background:rn}},[`&-in-view${fe}-today ${Qe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${pn}px ${ia} ${Dn}`,borderRadius:bt,content:'""'}},[`&-in-view${fe}-in-range`]:{position:"relative","&::before":{background:An}},[`&-in-view${fe}-selected ${Qe},
|
|
&-in-view${fe}-range-start ${Qe},
|
|
&-in-view${fe}-range-end ${Qe}`]:{color:jn,background:Dn},[`&-in-view${fe}-range-start:not(${fe}-range-start-single),
|
|
&-in-view${fe}-range-end:not(${fe}-range-end-single)`]:{"&::before":{background:An}},[`&-in-view${fe}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${fe}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${fe}-range-hover-start:not(${fe}-in-range):not(${fe}-range-start):not(${fe}-range-end),
|
|
&-in-view${fe}-range-hover-end:not(${fe}-in-range):not(${fe}-range-start):not(${fe}-range-end),
|
|
&-in-view${fe}-range-hover-start${fe}-range-start-single,
|
|
&-in-view${fe}-range-hover-start${fe}-range-start${fe}-range-end${fe}-range-end-near-hover,
|
|
&-in-view${fe}-range-hover-end${fe}-range-start${fe}-range-end${fe}-range-start-near-hover,
|
|
&-in-view${fe}-range-hover-end${fe}-range-end-single,
|
|
&-in-view${fe}-range-hover:not(${fe}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Gn,borderTop:`${pn}px dashed ${on}`,borderBottom:`${pn}px dashed ${on}`,transform:"translateY(-50%)",transition:`all ${It}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:xn},[`&-in-view${fe}-in-range${fe}-range-hover::before,
|
|
&-in-view${fe}-in-range${fe}-range-hover-start::before,
|
|
&-in-view${fe}-in-range${fe}-range-hover-end::before,
|
|
&-in-view${fe}-range-start${fe}-range-hover::before,
|
|
&-in-view${fe}-range-end${fe}-range-hover::before,
|
|
&-in-view${fe}-range-start:not(${fe}-range-start-single)${fe}-range-hover-start::before,
|
|
&-in-view${fe}-range-end:not(${fe}-range-end-single)${fe}-range-hover-end::before,
|
|
${de}-panel
|
|
> :not(${de}-date-panel)
|
|
&-in-view${fe}-in-range${fe}-range-hover-start::before,
|
|
${de}-panel
|
|
> :not(${de}-date-panel)
|
|
&-in-view${fe}-in-range${fe}-range-hover-end::before`]:{background:Xn},[`&-in-view${fe}-range-start:not(${fe}-range-start-single):not(${fe}-range-end) ${Qe}`]:{borderStartStartRadius:bt,borderEndStartRadius:bt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${fe}-range-end:not(${fe}-range-end-single):not(${fe}-range-start) ${Qe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:bt,borderEndEndRadius:bt},[`&-range-hover${fe}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${fe}-range-hover:first-child::after,
|
|
tr > &-in-view${fe}-range-hover-end:first-child::after,
|
|
&-in-view${fe}-start${fe}-range-hover-edge-start${fe}-range-hover-edge-start-near-range::after,
|
|
&-in-view${fe}-range-hover-edge-start:not(${fe}-range-hover-edge-start-near-range)::after,
|
|
&-in-view${fe}-range-hover-start::after`]:{insetInlineStart:(Ta-Je)/2,borderInlineStart:`${pn}px dashed ${on}`,borderStartStartRadius:bt,borderEndStartRadius:bt},[`tr > &-in-view${fe}-range-hover:last-child::after,
|
|
tr > &-in-view${fe}-range-hover-start:last-child::after,
|
|
&-in-view${fe}-end${fe}-range-hover-edge-end${fe}-range-hover-edge-end-near-range::after,
|
|
&-in-view${fe}-range-hover-edge-end:not(${fe}-range-hover-edge-end-near-range)::after,
|
|
&-in-view${fe}-range-hover-end::after`]:{insetInlineEnd:(Ta-Je)/2,borderInlineEnd:`${pn}px dashed ${on}`,borderStartEndRadius:bt,borderEndEndRadius:bt},"&-disabled":{color:Ba,pointerEvents:"none",[Qe]:{background:"transparent"},"&::before":{background:za}},[`&-disabled${fe}-today ${Qe}::before`]:{borderColor:Ba}}},$r=le=>{const{componentCls:de,pickerCellCls:fe,pickerCellInnerCls:Qe,pickerYearMonthCellWidth:Je,pickerControlIconSize:It,cellWidth:bt,paddingSM:ln,paddingXS:rn,paddingXXS:pn,colorBgContainer:ia,lineWidth:Dn,lineType:An,borderRadiusLG:jn,colorPrimary:Gn,colorTextHeading:on,colorSplit:xn,pickerControlIconBorderWidth:Xn,colorIcon:Ta,textHeight:Ba,motionDurationMid:za,colorIconHover:$a,fontWeightStrong:ja,cellHeight:xa,pickerCellPaddingVertical:so,colorTextDisabled:Hr,colorText:fo,fontSize:Oo,cellHoverWithRangeBg:Wo,motionDurationSlow:ni,withoutTimeCellHeight:mi,pickerQuarterPanelContentHeight:Go,colorLink:bo,colorLinkActive:Bo,colorLinkHover:Yo,cellRangeBorderColor:ai,borderRadiusSM:To,colorTextLightSolid:_o,cellHoverBg:Li,timeColumnHeight:Ci,timeColumnWidth:ce,timeCellHeight:pe,controlItemBgActive:ze,marginXXS:$e,pickerDatePanelPaddingHorizontal:ot}=le,lt=bt*7+ot*2,Ot=(lt-rn*2)/3-Je-ln,Lt=(lt-rn*2)/4-Je;return{[de]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:ia,border:`${Dn}px ${An} ${xn}`,borderRadius:jn,outline:"none","&-focused":{borderColor:Gn},"&-rtl":{direction:"rtl",[`${de}-prev-icon,
|
|
${de}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${de}-next-icon,
|
|
${de}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:lt},"&-header":{display:"flex",padding:`0 ${rn}px`,color:on,borderBottom:`${Dn}px ${An} ${xn}`,"> *":{flex:"none"},button:{padding:0,color:Ta,lineHeight:`${Ba}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${za}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Oo,"&:hover":{color:$a}},"&-view":{flex:"auto",fontWeight:ja,lineHeight:`${Ba}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:rn},"&:hover":{color:Gn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:It,height:It,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:It,height:It,border:"0 solid currentcolor",borderBlockStartWidth:Xn,borderBlockEndWidth:0,borderInlineStartWidth:Xn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(It/2),insetInlineStart:Math.ceil(It/2),display:"inline-block",width:It,height:It,border:"0 solid currentcolor",borderBlockStartWidth:Xn,borderBlockEndWidth:0,borderInlineStartWidth:Xn,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:xa,fontWeight:"normal"},th:{height:xa+so*2,color:fo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${so}px 0`,color:Hr,cursor:"pointer","&-in-view":{color:fo}},Cn(le)),[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start ${Qe},
|
|
&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${Qe}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Wo,transition:`all ${ni}`,content:'""'}},[`&-date-panel
|
|
${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start
|
|
${Qe}::after`]:{insetInlineEnd:-(bt-xa)/2,insetInlineStart:0},[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${Qe}::after`]:{insetInlineEnd:0,insetInlineStart:-(bt-xa)/2},[`&-range-hover${de}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${de}-content`]:{height:mi*4},[Qe]:{padding:`0 ${rn}px`}},"&-quarter-panel":{[`${de}-content`]:{height:Go},[`${de}-cell-range-hover-start::after`]:{insetInlineStart:Lt,borderInlineStart:`${Dn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Lt,borderInlineEnd:`${Dn}px dashed ${ai}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Lt,borderInlineEnd:`${Dn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineStart:Lt,borderInlineStart:`${Dn}px dashed ${ai}`}}},[`&-panel ${de}-footer`]:{borderTop:`${Dn}px ${An} ${xn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Ba-2*Dn}px`,textAlign:"center","&-extra":{padding:`0 ${ln}px`,lineHeight:`${Ba-2*Dn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Dn}px ${An} ${xn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:bo,"&:hover":{color:Yo},"&:active":{color:Bo},[`&${de}-today-btn-disabled`]:{color:Hr,cursor:"not-allowed"}},"&-decade-panel":{[Qe]:{padding:`0 ${rn/2}px`},[`${de}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${de}-body`]:{padding:`0 ${rn}px`},[Qe]:{width:Je},[`${de}-cell-range-hover-start::after`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0,[`${de}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To}},[`${de}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To,[`${de}-panel-rtl &`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${de}-cell-range-hover-start::after`]:{insetInlineStart:Ot,borderInlineStart:`${Dn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Ot,borderInlineEnd:`${Dn}px dashed ${ai}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Ot,borderInlineEnd:`${Dn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineStart:Ot,borderInlineStart:`${Dn}px dashed ${ai}`}}},"&-week-panel":{[`${de}-body`]:{padding:`${rn}px ${ln}px`},[`${de}-cell`]:{[`&:hover ${Qe},
|
|
&-selected ${Qe},
|
|
${Qe}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${za}`},"&:first-child:before":{borderStartStartRadius:To,borderEndStartRadius:To},"&:last-child:before":{borderStartEndRadius:To,borderEndEndRadius:To}},"&:hover td":{"&:before":{background:Li}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${fe}`]:{"&:before":{background:Gn},[`&${de}-cell-week`]:{color:new oi.C(_o).setAlpha(.5).toHexString()},[Qe]:{color:_o}}},"&-range-hover td:before":{background:ze}}},"&-date-panel":{[`${de}-body`]:{padding:`${rn}px ${ot}px`},[`${de}-content`]:{width:bt*7,th:{width:bt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${de}-time-panel`]:{borderInlineStart:`${Dn}px ${An} ${xn}`},[`${de}-date-panel,
|
|
${de}-time-panel`]:{transition:`opacity ${ni}`},"&-active":{[`${de}-date-panel,
|
|
${de}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${de}-content`]:{display:"flex",flex:"auto",height:Ci},"&-column":{flex:"1 0 auto",width:ce,margin:`${pn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${za}`,overflowX:"hidden","&::after":{display:"block",height:Ci-pe,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Dn}px ${An} ${xn}`},"&-active":{background:new oi.C(ze).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${de}-time-panel-cell`]:{marginInline:$e,[`${de}-time-panel-cell-inner`]:{display:"block",width:ce-2*$e,height:pe,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ce-pe)/2,color:fo,lineHeight:`${pe}px`,borderRadius:To,cursor:"pointer",transition:`background ${za}`,"&:hover":{background:Li}},"&-selected":{[`${de}-time-panel-cell-inner`]:{background:ze}},"&-disabled":{[`${de}-time-panel-cell-inner`]:{color:Hr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${de}-time-panel-column:after`]:{height:Ci-pe+pn*2}}}},mr=le=>{const{componentCls:de,colorBgContainer:fe,colorError:Qe,errorActiveShadow:Je,colorWarning:It,warningActiveShadow:bt}=le;return{[`${de}:not(${de}-disabled)`]:{[`&${de}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:fe,borderColor:Qe},[`&${de}-focused, &:focus`]:Object.assign({},(0,ha.M1)((0,aa.TS)(le,{activeBorderColor:Qe,activeShadow:Je}))),[`${de}-active-bar`]:{background:Qe}},[`&${de}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:fe,borderColor:It},[`&${de}-focused, &:focus`]:Object.assign({},(0,ha.M1)((0,aa.TS)(le,{activeBorderColor:It,activeShadow:bt}))),[`${de}-active-bar`]:{background:It}}}}},Tr=le=>{const{componentCls:de,antCls:fe,controlHeight:Qe,fontSize:Je,paddingInline:It,colorBgContainer:bt,lineWidth:ln,lineType:rn,colorBorder:pn,borderRadius:ia,motionDurationMid:Dn,colorBgContainerDisabled:An,colorTextDisabled:jn,colorTextPlaceholder:Gn,controlHeightLG:on,fontSizeLG:xn,controlHeightSM:Xn,paddingInlineSM:Ta,paddingXS:Ba,marginXS:za,colorTextDescription:$a,lineWidthBold:ja,lineHeight:xa,colorPrimary:so,motionDurationSlow:Hr,zIndexPopup:fo,paddingXXS:Oo,paddingSM:Wo,textHeight:ni,cellActiveWithRangeBg:mi,colorPrimaryBorder:Go,sizePopupArrow:bo,borderRadiusXS:Bo,borderRadiusOuter:Yo,colorBgElevated:ai,borderRadiusLG:To,boxShadowSecondary:_o,borderRadiusSM:Li,colorSplit:Ci,cellHoverBg:ce,presetsWidth:pe,presetsMaxWidth:ze,boxShadowPopoverArrow:$e,colorTextQuaternary:ot}=le;return[{[de]:Object.assign(Object.assign(Object.assign({},(0,ca.Wf)(le)),Wn(le,Qe,Je,It)),{position:"relative",display:"inline-flex",alignItems:"center",background:bt,lineHeight:1,border:`${ln}px ${rn} ${pn}`,borderRadius:ia,transition:`border ${Dn}, box-shadow ${Dn}`,"&:hover, &-focused":Object.assign({},(0,ha.pU)(le)),"&-focused":Object.assign({},(0,ha.M1)(le)),[`&${de}-disabled`]:{background:An,borderColor:pn,cursor:"not-allowed",[`${de}-suffix`]:{color:ot}},[`&${de}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${de}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ha.ik)(le)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${de}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Gn}}},"&-large":Object.assign(Object.assign({},Wn(le,on,xn,It)),{[`${de}-input > input`]:{fontSize:xn}}),"&-small":Object.assign({},Wn(le,Xn,Je,Ta)),[`${de}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ba/2,color:jn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:za}}},[`${de}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:jn,lineHeight:1,background:bt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Dn}, color ${Dn}`,"> *":{verticalAlign:"top"},"&:hover":{color:$a}},[`${de}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:xn,color:jn,fontSize:xn,verticalAlign:"top",cursor:"default",[`${de}-focused &`]:{color:$a},[`${de}-range-separator &`]:{[`${de}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${de}-clear`]:{insetInlineEnd:It},"&:hover":{[`${de}-clear`]:{opacity:1}},[`${de}-active-bar`]:{bottom:-ln,height:ja,marginInlineStart:It,background:so,opacity:0,transition:`all ${Hr} ease-out`,pointerEvents:"none"},[`&${de}-focused`]:{[`${de}-active-bar`]:{opacity:1}},[`${de}-range-separator`]:{alignItems:"center",padding:`0 ${Ba}px`,lineHeight:1},[`&${de}-small`]:{[`${de}-clear`]:{insetInlineEnd:Ta},[`${de}-active-bar`]:{marginInlineStart:Ta}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ca.Wf)(le)),$r(le)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:fo,[`&${de}-dropdown-hidden`]:{display:"none"},[`&${de}-dropdown-placement-bottomLeft`]:{[`${de}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${de}-dropdown-placement-topLeft`]:{[`${de}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${fe}-slide-up-enter${fe}-slide-up-enter-active${de}-dropdown-placement-topLeft,
|
|
&${fe}-slide-up-enter${fe}-slide-up-enter-active${de}-dropdown-placement-topRight,
|
|
&${fe}-slide-up-appear${fe}-slide-up-appear-active${de}-dropdown-placement-topLeft,
|
|
&${fe}-slide-up-appear${fe}-slide-up-appear-active${de}-dropdown-placement-topRight`]:{animationName:Tn.Qt},[`&${fe}-slide-up-enter${fe}-slide-up-enter-active${de}-dropdown-placement-bottomLeft,
|
|
&${fe}-slide-up-enter${fe}-slide-up-enter-active${de}-dropdown-placement-bottomRight,
|
|
&${fe}-slide-up-appear${fe}-slide-up-appear-active${de}-dropdown-placement-bottomLeft,
|
|
&${fe}-slide-up-appear${fe}-slide-up-appear-active${de}-dropdown-placement-bottomRight`]:{animationName:Tn.fJ},[`&${fe}-slide-up-leave${fe}-slide-up-leave-active${de}-dropdown-placement-topLeft,
|
|
&${fe}-slide-up-leave${fe}-slide-up-leave-active${de}-dropdown-placement-topRight`]:{animationName:Tn.ly},[`&${fe}-slide-up-leave${fe}-slide-up-leave-active${de}-dropdown-placement-bottomLeft,
|
|
&${fe}-slide-up-leave${fe}-slide-up-leave-active${de}-dropdown-placement-bottomRight`]:{animationName:Tn.Uw},[`${de}-panel > ${de}-time-panel`]:{paddingTop:Oo},[`${de}-ranges`]:{marginBottom:0,padding:`${Oo}px ${Wo}px`,overflow:"hidden",lineHeight:`${ni-2*ln-Ba/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${de}-preset > ${fe}-tag-blue`]:{color:so,background:mi,borderColor:Go,cursor:"pointer"},[`${de}-ok`]:{marginInlineStart:"auto"}},[`${de}-range-wrapper`]:{display:"flex",position:"relative"},[`${de}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:It*1.5,transition:`left ${Hr} ease-out`},(0,eo.r)(bo,Bo,Yo,ai,$e)),[`${de}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ai,borderRadius:To,boxShadow:_o,transition:`margin ${Hr}`,[`${de}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${de}-presets`]:{display:"flex",flexDirection:"column",minWidth:pe,maxWidth:ze,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Ba,borderInlineEnd:`${ln}px ${rn} ${Ci}`,li:Object.assign(Object.assign({},ca.vS),{borderRadius:Li,paddingInline:Ba,paddingBlock:(Xn-Math.round(Je*xa))/2,cursor:"pointer",transition:`all ${Hr}`,"+ li":{marginTop:za},"&:hover":{background:ce}})}},[`${de}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${de}-panel`]:{borderWidth:`0 0 ${ln}px`},"&:last-child":{[`${de}-panel`]:{borderWidth:0}}},[`${de}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${de}-content,
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:pn}}}}),"&-dropdown-range":{padding:`${bo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${de}-separator`]:{transform:"rotate(180deg)"},[`${de}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Tn.oN)(le,"slide-up"),(0,Tn.oN)(le,"slide-down"),(0,tr.Fm)(le,"move-up"),(0,tr.Fm)(le,"move-down")]},Jo=le=>{const{componentCls:de,controlHeightLG:fe,paddingXXS:Qe,padding:Je}=le;return{pickerCellCls:`${de}-cell`,pickerCellInnerCls:`${de}-cell-inner`,pickerYearMonthCellWidth:fe*1.5,pickerQuarterPanelContentHeight:fe*1.4,pickerCellPaddingVertical:Qe+Qe/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Je+Qe/2}},fr=le=>({cellHoverBg:le.controlItemBgHover,cellActiveWithRangeBg:le.controlItemBgActive,cellHoverWithRangeBg:new oi.C(le.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new oi.C(le.colorPrimary).lighten(20).toHexString(),cellBgDisabled:le.colorBgContainerDisabled,timeColumnWidth:le.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:le.controlHeightSM*1.5,cellHeight:le.controlHeightSM,textHeight:le.controlHeightLG,withoutTimeCellHeight:le.controlHeightLG*1.65});var So=(0,nn.Z)("DatePicker",le=>{const de=(0,aa.TS)((0,ha.e5)(le),Jo(le));return[Tr(de),mr(de),(0,Ai.c)(le,{focusElCls:`${le.componentCls}-focused`})]},le=>Object.assign(Object.assign(Object.assign({},(0,ha.TM)(le)),fr(le)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:le.zIndexPopupBase+50}));function Ha(le,de,fe){return fe!==void 0?fe:de==="year"&&le.lang.yearPlaceholder?le.lang.yearPlaceholder:de==="quarter"&&le.lang.quarterPlaceholder?le.lang.quarterPlaceholder:de==="month"&&le.lang.monthPlaceholder?le.lang.monthPlaceholder:de==="week"&&le.lang.weekPlaceholder?le.lang.weekPlaceholder:de==="time"&&le.timePickerLocale.placeholder?le.timePickerLocale.placeholder:le.lang.placeholder}function Yr(le,de,fe){return fe!==void 0?fe:de==="year"&&le.lang.yearPlaceholder?le.lang.rangeYearPlaceholder:de==="quarter"&&le.lang.quarterPlaceholder?le.lang.rangeQuarterPlaceholder:de==="month"&&le.lang.monthPlaceholder?le.lang.rangeMonthPlaceholder:de==="week"&&le.lang.weekPlaceholder?le.lang.rangeWeekPlaceholder:de==="time"&&le.timePickerLocale.placeholder?le.timePickerLocale.rangePlaceholder:le.lang.rangePlaceholder}function mo(le,de){const fe={adjustX:1,adjustY:1};switch(de){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:fe};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:fe};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:fe};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:fe};default:return{points:le==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:fe}}}function Do(le){return le?Array.isArray(le)?le:[le]:[]}function vn(le){const{format:de,picker:fe,showHour:Qe,showMinute:Je,showSecond:It,use12Hours:bt}=le,ln=Do(de)[0],rn=Object.assign({},le);return de&&Array.isArray(de)&&(rn.format=ln),ln&&typeof ln=="string"&&(!ln.includes("s")&&It===void 0&&(rn.showSecond=!1),!ln.includes("m")&&Je===void 0&&(rn.showMinute=!1),!ln.includes("H")&&!ln.includes("h")&&!ln.includes("K")&&!ln.includes("k")&&Qe===void 0&&(rn.showHour=!1),(ln.includes("a")||ln.includes("A"))&&bt===void 0&&(rn.use12Hours=!0)),fe==="time"?rn:(typeof ln=="function"&&delete rn.format,{showTime:rn})}function na(le,de,fe){if(le===!1)return!1;const Qe={clearIcon:de!=null?de:fe};return typeof le=="object"?Object.assign(Object.assign({},Qe),le):Qe}var Oa=te(3113);function _n(le){return ae.createElement(Oa.ZP,Object.assign({size:"small",type:"primary"},le))}var wr={button:_n},Fr=function(le,de){var fe={};for(var Qe in le)Object.prototype.hasOwnProperty.call(le,Qe)&&de.indexOf(Qe)<0&&(fe[Qe]=le[Qe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Qe=Object.getOwnPropertySymbols(le);Je<Qe.length;Je++)de.indexOf(Qe[Je])<0&&Object.prototype.propertyIsEnumerable.call(le,Qe[Je])&&(fe[Qe[Je]]=le[Qe[Je]]);return fe};function Co(le){return(0,ae.forwardRef)((fe,Qe)=>{const{prefixCls:Je,getPopupContainer:It,className:bt,placement:ln,size:rn,disabled:pn,bordered:ia=!0,placeholder:Dn,popupClassName:An,dropdownClassName:jn,status:Gn,clearIcon:on,allowClear:xn,rootClassName:Xn}=fe,Ta=Fr(fe,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Ba=ae.useRef(null),{getPrefixCls:za,direction:$a,getPopupContainer:ja}=(0,ae.useContext)($o.E_),xa=za("picker",Je),{compactSize:so,compactItemClassnames:Hr}=(0,Qn.ri)(xa,$a),{format:fo,showTime:Oo,picker:Wo}=fe,ni=za(),[mi,Go]=So(xa),bo=Object.assign(Object.assign({},Oo?vn(Object.assign({format:fo,picker:Wo},Oo)):{}),Wo==="time"?vn(Object.assign(Object.assign({format:fo},fe),{picker:Wo})):{}),Bo=(0,Ko.Z)($e=>{var ot;return(ot=rn!=null?rn:so)!==null&&ot!==void 0?ot:$e}),Yo=ae.useContext(Si.Z),ai=pn!=null?pn:Yo,To=(0,ae.useContext)(Sr.aM),{hasFeedback:_o,status:Li,feedbackIcon:Ci}=To,ce=ae.createElement(ae.Fragment,null,Wo==="time"?ae.createElement(Ue,null):ae.createElement(ye,null),_o&&Ci);(0,ae.useImperativeHandle)(Qe,()=>({focus:()=>{var $e;return($e=Ba.current)===null||$e===void 0?void 0:$e.focus()},blur:()=>{var $e;return($e=Ba.current)===null||$e===void 0?void 0:$e.blur()}}));const[pe]=(0,Pr.Z)("Calendar",ao.Z),ze=Object.assign(Object.assign({},pe),fe.locale);return mi(ae.createElement(Da,Object.assign({separator:ae.createElement("span",{"aria-label":"to",className:`${xa}-separator`},ae.createElement(Rt,null)),disabled:ai,ref:Ba,dropdownAlign:mo($a,ln),placeholder:Yr(ze,Wo,Dn),suffixIcon:ce,prevIcon:ae.createElement("span",{className:`${xa}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${xa}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${xa}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${xa}-super-next-icon`}),transitionName:`${ni}-slide-up`},Ta,bo,{className:Ye()({[`${xa}-${Bo}`]:Bo,[`${xa}-borderless`]:!ia},(0,Ma.Z)(xa,(0,Ma.F)(Li,Gn),_o),Go,Hr,bt,Xn),locale:ze.lang,prefixCls:xa,getPopupContainer:It||ja,generateConfig:le,components:wr,direction:$a,dropdownClassName:Ye()(Go,An||jn,Xn),allowClear:na(xn,on,ae.createElement(Ge.Z,null))})))})}var qo=function(le,de){var fe={};for(var Qe in le)Object.prototype.hasOwnProperty.call(le,Qe)&&de.indexOf(Qe)<0&&(fe[Qe]=le[Qe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Qe=Object.getOwnPropertySymbols(le);Je<Qe.length;Je++)de.indexOf(Qe[Je])<0&&Object.prototype.propertyIsEnumerable.call(le,Qe[Je])&&(fe[Qe[Je]]=le[Qe[Je]]);return fe};function Di(le){function de(rn,pn){const ia=pn==="TimePicker"?"timePicker":"datePicker",Dn=(0,ae.forwardRef)((An,jn)=>{const{prefixCls:Gn,getPopupContainer:on,style:xn,className:Xn,rootClassName:Ta,size:Ba,bordered:za=!0,placement:$a,placeholder:ja,popupClassName:xa,dropdownClassName:so,disabled:Hr,status:fo,clearIcon:Oo,allowClear:Wo}=An,ni=qo(An,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:mi,direction:Go,getPopupContainer:bo,[ia]:Bo}=(0,ae.useContext)($o.E_),Yo=mi("picker",Gn),{compactSize:ai,compactItemClassnames:To}=(0,Qn.ri)(Yo,Go),_o=ae.useRef(null),{format:Li,showTime:Ci}=An,[ce,pe]=So(Yo);(0,ae.useImperativeHandle)(jn,()=>({focus:()=>{var Zn;return(Zn=_o.current)===null||Zn===void 0?void 0:Zn.focus()},blur:()=>{var Zn;return(Zn=_o.current)===null||Zn===void 0?void 0:Zn.blur()}}));const ze={showToday:!0};let $e={};rn&&($e.picker=rn);const ot=rn||An.picker;$e=Object.assign(Object.assign(Object.assign({},$e),Ci?vn(Object.assign({format:Li,picker:ot},Ci)):{}),ot==="time"?vn(Object.assign(Object.assign({format:Li},An),{picker:ot})):{});const lt=mi(),Ot=(0,Ko.Z)(Zn=>{var ua;return(ua=Ba!=null?Ba:ai)!==null&&ua!==void 0?ua:Zn}),Lt=ae.useContext(Si.Z),Bt=Hr!=null?Hr:Lt,$t=(0,ae.useContext)(Sr.aM),{hasFeedback:Gt,status:Wt,feedbackIcon:En}=$t,Sn=ae.createElement(ae.Fragment,null,ot==="time"?ae.createElement(Ue,null):ae.createElement(ye,null),Gt&&En),[wn]=(0,Pr.Z)("DatePicker",ao.Z),Kn=Object.assign(Object.assign({},wn),An.locale);return ce(ae.createElement(Io,Object.assign({ref:_o,placeholder:Ha(Kn,ot,ja),suffixIcon:Sn,dropdownAlign:mo(Go,$a),prevIcon:ae.createElement("span",{className:`${Yo}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Yo}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Yo}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Yo}-super-next-icon`}),transitionName:`${lt}-slide-up`},ze,ni,$e,{locale:Kn.lang,className:Ye()({[`${Yo}-${Ot}`]:Ot,[`${Yo}-borderless`]:!za},(0,Ma.Z)(Yo,(0,Ma.F)(Wt,fo),Gt),pe,To,Bo==null?void 0:Bo.className,Xn,Ta),style:Object.assign(Object.assign({},Bo==null?void 0:Bo.style),xn),prefixCls:Yo,getPopupContainer:on||bo,generateConfig:le,components:wr,direction:Go,disabled:Bt,dropdownClassName:Ye()(pe,Ta,xa||so),allowClear:na(Wo,Oo,ae.createElement(Ge.Z,null))})))});return pn&&(Dn.displayName=pn),Dn}const fe=de(),Qe=de("week","WeekPicker"),Je=de("month","MonthPicker"),It=de("year","YearPicker"),bt=de("time","TimePicker"),ln=de("quarter","QuarterPicker");return{DatePicker:fe,WeekPicker:Qe,MonthPicker:Je,YearPicker:It,TimePicker:bt,QuarterPicker:ln}}const Hi=null;function qi(le){const{DatePicker:de,WeekPicker:fe,MonthPicker:Qe,YearPicker:Je,TimePicker:It,QuarterPicker:bt}=Di(le),ln=Co(le),rn=de;return rn.WeekPicker=fe,rn.MonthPicker=Qe,rn.YearPicker=Je,rn.RangePicker=ln,rn.TimePicker=It,rn.QuarterPicker=bt,rn}var wl=qi;const vl=wl(ee);function Sl(le){const de=mo(le.direction,le.placement);return de.overflow.adjustY=!1,de.overflow.adjustX=!1,Object.assign(Object.assign({},le),{dropdownAlign:de})}const Fl=(0,ne.Z)(vl,"picker",null,Sl);vl._InternalPanelDoNotUseOrYouWillBeFired=Fl;const uu=(0,ne.Z)(vl.RangePicker,"picker",null,Sl);vl._InternalRangePanelDoNotUseOrYouWillBeFired=uu,vl.generatePicker=wl;var su=vl},28103:function(Et,St,te){"use strict";te.d(St,{Z:function(){return Me}});var z=te(92310),se=te.n(z),he=te(59301),Ie=te(36355),be=te(17313),Ne=te(83116),ie=te(37613);const nt=Ee=>{const{componentCls:re,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:b,textPaddingInline:E,orientationMargin:x,verticalMarginInline:ee}=Ee;return{[re]:Object.assign(Object.assign({},(0,be.Wf)(Ee)),{borderBlockStart:`${b}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ee,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ee.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${re}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ee.dividerHorizontalWithTextGutterMargin}px 0`,color:Ee.colorTextHeading,fontWeight:500,fontSize:Ee.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${y}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${re}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${re}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${re}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${re}-with-text${re}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${re}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${re}-with-text`]:{color:Ee.colorText,fontWeight:"normal",fontSize:Ee.fontSize},[`&-horizontal${re}-with-text-left${re}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${re}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${re}-with-text-right${re}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${re}-inner-text`]:{paddingInlineEnd:a}}})}};var je=(0,Ne.Z)("Divider",Ee=>{const re=(0,ie.TS)(Ee,{dividerHorizontalWithTextGutterMargin:Ee.margin,dividerHorizontalGutterMargin:Ee.marginLG,sizePaddingEdgeHorizontal:0});return[nt(re)]},Ee=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ee.marginXS})),Te=function(Ee,re){var a={};for(var y in Ee)Object.prototype.hasOwnProperty.call(Ee,y)&&re.indexOf(y)<0&&(a[y]=Ee[y]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(Ee);b<y.length;b++)re.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(Ee,y[b])&&(a[y[b]]=Ee[y[b]]);return a},Me=Ee=>{const{getPrefixCls:re,direction:a,divider:y}=he.useContext(Ie.E_),{prefixCls:b,type:E="horizontal",orientation:x="center",orientationMargin:ee,className:ne,rootClassName:oe,children:ae,dashed:ue,plain:ge,style:me}=Ee,Pe=Te(Ee,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=re("divider",b),[ye,Be]=je(xe),Ze=x.length>0?`-${x}`:x,mt=!!ae,De=x==="left"&&ee!=null,Ue=x==="right"&&ee!=null,Ge=se()(xe,y==null?void 0:y.className,Be,`${xe}-${E}`,{[`${xe}-with-text`]:mt,[`${xe}-with-text${Ze}`]:mt,[`${xe}-dashed`]:!!ue,[`${xe}-plain`]:!!ge,[`${xe}-rtl`]:a==="rtl",[`${xe}-no-default-orientation-margin-left`]:De,[`${xe}-no-default-orientation-margin-right`]:Ue},ne,oe),Ke=he.useMemo(()=>typeof ee=="number"?ee:/^\d+$/.test(ee)?Number(ee):ee,[ee]),it=Object.assign(Object.assign({},De&&{marginLeft:Ke}),Ue&&{marginRight:Ke});return ye(he.createElement("div",Object.assign({className:Ge,style:Object.assign(Object.assign({},y==null?void 0:y.style),me)},Pe,{role:"separator"}),ae&&E!=="vertical"&&he.createElement("span",{className:`${xe}-inner-text`,style:it},ae)))}},91857:function(Et,St,te){"use strict";var z=te(59301),se=te(38819),he=te(92310),Ie=te.n(he),be=te(31561),Ne=te(70425),ie=te(18929),nt=te(2738),je=te(79676),Te=te(53487),He=te(92343),Me=te(36355),Ee=te(20834),re=te(40875),a=te(88088),y=te(47211);const b=null,E=oe=>{const{menu:ae,arrow:ue,prefixCls:ge,children:me,trigger:Pe,disabled:xe,dropdownRender:ye,getPopupContainer:Be,overlayClassName:Ze,rootClassName:mt,open:De,onOpenChange:Ue,visible:Ge,onVisibleChange:Ke,mouseEnterDelay:it=.15,mouseLeaveDelay:at=.1,autoAdjustOverflow:ft=!0,placement:Rt="",overlay:kt,transitionName:Ye}=oe,{getPopupContainer:ut,getPrefixCls:At,direction:Nt}=z.useContext(Me.E_),Pt=z.useMemo(()=>{const we=At();return Ye!==void 0?Ye:Rt.includes("top")?`${we}-slide-down`:`${we}-slide-up`},[At,Rt,Ye]),sn=z.useMemo(()=>Rt?Rt.includes("Center")?Rt.slice(0,Rt.indexOf("Center")):Rt:Nt==="rtl"?"bottomRight":"bottomLeft",[Rt,Nt]),Fe=At("dropdown",ge),[Qt,Kt]=(0,y.Z)(Fe),[,Hn]=(0,a.Z)(),Jn=z.Children.only(me),Re=(0,He.Tm)(Jn,{className:Ie()(`${Fe}-trigger`,{[`${Fe}-rtl`]:Nt==="rtl"},Jn.props.className),disabled:xe}),qe=xe?[]:Pe;let tt;qe&&qe.includes("contextMenu")&&(tt=!0);const[Le,ht]=(0,ie.Z)(!1,{value:De!=null?De:Ge}),gt=(0,Ne.useEvent)(we=>{Ue==null||Ue(we),Ke==null||Ke(we),ht(we)}),Oe=Ie()(Ze,mt,Kt,{[`${Fe}-rtl`]:Nt==="rtl"}),ve=(0,je.Z)({arrowPointAtCenter:typeof ue=="object"&&ue.pointAtCenter,autoAdjustOverflow:ft,offset:Hn.marginXXS,arrowWidth:ue?Hn.sizePopupArrow:0,borderRadius:Hn.borderRadius}),We=z.useCallback(()=>{ht(!1)},[]),Ve=()=>{let we;return ae!=null&&ae.items?we=z.createElement(Ee.default,Object.assign({},ae)):typeof kt=="function"?we=kt():we=kt,ye&&(we=ye(we)),we=z.Children.only(typeof we=="string"?z.createElement("span",null,we):we),z.createElement(re.J,{prefixCls:`${Fe}-menu`,expandIcon:z.createElement("span",{className:`${Fe}-menu-submenu-arrow`},z.createElement(se.Z,{className:`${Fe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:We,validator:pt=>{let{mode:et}=pt}},we)};return Qt(z.createElement(be.Z,Object.assign({alignPoint:tt},(0,nt.Z)(oe,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:at,visible:Le,builtinPlacements:ve,arrow:!!ue,overlayClassName:Oe,prefixCls:Fe,getPopupContainer:Be||ut,transitionName:Pt,trigger:qe,overlay:Ve,placement:sn,onVisibleChange:gt}),Re))};function x(oe){return Object.assign(Object.assign({},oe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,Te.Z)(E,"dropdown",oe=>oe,x),ne=oe=>z.createElement(ee,Object.assign({},oe),z.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ne,St.Z=E},38854:function(Et,St,te){"use strict";te.d(St,{Z:function(){return a}});var z=te(91857),se=te(92310),he=te.n(se),Ie=te(59301),be=te(18785),Ne=te(3113),ie=te(36355),nt=te(81327),je=te(33234),Te=te(47211),He=function(y,b){var E={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(E[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,x=Object.getOwnPropertySymbols(y);ee<x.length;ee++)b.indexOf(x[ee])<0&&Object.prototype.propertyIsEnumerable.call(y,x[ee])&&(E[x[ee]]=y[x[ee]]);return E};const Me=y=>{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Ie.useContext(ie.E_),{prefixCls:ee,type:ne="default",danger:oe,disabled:ae,loading:ue,onClick:ge,htmlType:me,children:Pe,className:xe,menu:ye,arrow:Be,autoFocus:Ze,overlay:mt,trigger:De,align:Ue,open:Ge,onOpenChange:Ke,placement:it,getPopupContainer:at,href:ft,icon:Rt=Ie.createElement(be.Z,null),title:kt,buttonsRender:Ye=Ve=>Ve,mouseEnterDelay:ut,mouseLeaveDelay:At,overlayClassName:Nt,overlayStyle:Pt,destroyPopupOnHide:sn,dropdownRender:Fe}=y,Qt=He(y,["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"]),Kt=E("dropdown",ee),Hn=`${Kt}-button`,[Jn,Re]=(0,Te.Z)(Kt),qe={menu:ye,arrow:Be,autoFocus:Ze,align:Ue,disabled:ae,trigger:ae?[]:De,onOpenChange:Ke,getPopupContainer:at||b,mouseEnterDelay:ut,mouseLeaveDelay:At,overlayClassName:Nt,overlayStyle:Pt,destroyPopupOnHide:sn,dropdownRender:Fe},{compactSize:tt,compactItemClassnames:Le}=(0,je.ri)(Kt,x),ht=he()(Hn,Le,xe,Re);"overlay"in y&&(qe.overlay=mt),"open"in y&&(qe.open=Ge),"placement"in y?qe.placement=it:qe.placement=x==="rtl"?"bottomLeft":"bottomRight";const gt=Ie.createElement(Ne.ZP,{type:ne,danger:oe,disabled:ae,loading:ue,onClick:ge,htmlType:me,href:ft,title:kt},Pe),Oe=Ie.createElement(Ne.ZP,{type:ne,danger:oe,icon:Rt}),[ve,We]=Ye([gt,Oe]);return Jn(Ie.createElement(nt.Z.Compact,Object.assign({className:ht,size:tt,block:!0},Qt),ve,Ie.createElement(z.Z,Object.assign({},qe),We)))};Me.__ANT_BUTTON=!0;var Ee=Me;const re=z.Z;re.Button=Ee;var a=re},47211:function(Et,St,te){"use strict";te.d(St,{Z:function(){return He}});var z=te(17313),se=te(13826),he=te(92899),Ie=te(29878),be=te(19447),Ne=te(83116),ie=te(37613),je=Me=>{const{componentCls:Ee,menuCls:re,colorError:a,colorTextLightSolid:y}=Me,b=`${re}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${re} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Te=Me=>{const{componentCls:Ee,menuCls:re,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:ee,dropdownPaddingVertical:ne,fontSize:oe,dropdownEdgeChildPadding:ae,colorTextDisabled:ue,fontSizeIcon:ge,controlPaddingHorizontal:me,colorBgElevated:Pe}=Me;return[{[Ee]:Object.assign(Object.assign({},(0,z.Wf)(Me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${x}-down, & > ${E}-btn-icon > ${x}-down`]:{fontSize:ge}},[`${Ee}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:ge},[`${x}-down::before`]:{transition:`transform ${ee}`}},[`${Ee}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottomLeft,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottomLeft,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottom,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottom,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottomRight,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottomRight`]:{animationName:se.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-topLeft,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-topLeft,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-top,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-top,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-topRight,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-topRight`]:{animationName:se.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottomLeft,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottom,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottomRight`]:{animationName:se.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-topLeft,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-top,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-topRight`]:{animationName:se.ly}})},(0,be.ZP)(Me,{colorBg:Pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ee} ${re}`]:{position:"relative",margin:0},[`${re}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ee}, ${Ee}-menu-submenu`]:{[re]:Object.assign(Object.assign({padding:ae,listStyleType:"none",backgroundColor:Pe,backgroundClip:"padding-box",borderRadius:Me.borderRadiusLG,outline:"none",boxShadow:Me.boxShadowSecondary},(0,z.Qy)(Me)),{[`${re}-item-group-title`]:{padding:`${ne}px ${me}px`,color:Me.colorTextDescription,transition:`all ${ee}`},[`${re}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${re}-item-icon`]:{minWidth:oe,marginInlineEnd:Me.marginXS,fontSize:Me.fontSizeSM},[`${re}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${re}-item, ${re}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${me}px`,color:Me.colorText,fontWeight:"normal",fontSize:oe,lineHeight:Me.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:Me.borderRadiusSM,"&:hover, &-active":{backgroundColor:Me.controlItemBgHover}},(0,z.Qy)(Me)),{"&-selected":{color:Me.colorPrimary,backgroundColor:Me.controlItemBgActive,"&:hover, &-active":{backgroundColor:Me.controlItemBgActiveHover}},"&-disabled":{color:ue,cursor:"not-allowed","&:hover":{color:ue,backgroundColor:Pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Me.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Me.colorSplit},[`${Ee}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Me.paddingXS,[`${Ee}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Me.colorTextDescription,fontSize:ge,fontStyle:"normal"}}}),[`${re}-item-group-list`]:{margin:`0 ${Me.marginXS}px`,padding:0,listStyle:"none"},[`${re}-submenu-title`]:{paddingInlineEnd:me+Me.fontSizeSM},[`${re}-submenu-vertical`]:{position:"relative"},[`${re}-submenu${re}-submenu-disabled ${Ee}-menu-submenu-title`]:{[`&, ${Ee}-menu-submenu-arrow-icon`]:{color:ue,backgroundColor:Pe,cursor:"not-allowed"}},[`${re}-submenu-selected ${Ee}-menu-submenu-title`]:{color:Me.colorPrimary}})}},[(0,se.oN)(Me,"slide-up"),(0,se.oN)(Me,"slide-down"),(0,he.Fm)(Me,"move-up"),(0,he.Fm)(Me,"move-down"),(0,Ie._y)(Me,"zoom-big")]]};var He=(0,Ne.Z)("Dropdown",(Me,Ee)=>{let{rootPrefixCls:re}=Ee;const{marginXXS:a,sizePopupArrow:y,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:ee,componentCls:ne,borderRadiusLG:oe}=Me,ae=(b-E*x)/2,{dropdownArrowOffset:ue}=(0,be.fS)({contentRadius:oe}),ge=(0,ie.TS)(Me,{menuCls:`${ne}-menu`,rootPrefixCls:re,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ue,dropdownPaddingVertical:ae,dropdownEdgeChildPadding:ee});return[Te(ge),je(ge)]},Me=>({zIndexPopup:Me.zIndexPopupBase+50}))},8628:function(Et,St,te){"use strict";var z=te(59301),se=te(34280),he=te(56762),Ie=te(69507);function be(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ie=(0,z.useRef)({}),nt=(0,he.Z)(),je=(0,Ie.ZP)();return(0,se.Z)(()=>{const Te=je.subscribe(He=>{ie.current=He,Ne&&nt()});return()=>je.unsubscribe(Te)},[]),ie.current}St.Z=be},45818:function(Et,St,te){"use strict";te.d(St,{D:function(){return ee},Z:function(){return ae}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(ge,me){return se.createElement(be.Z,(0,z.Z)({},ge,{ref:me,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie,je=te(33853),Te=te(38819),He=te(92310),Me=te.n(He),Ee=te(2738),a=ue=>!isNaN(parseFloat(ue))&&isFinite(ue),y=te(36355),b=te(84966),E=function(ue,ge){var me={};for(var Pe in ue)Object.prototype.hasOwnProperty.call(ue,Pe)&&ge.indexOf(Pe)<0&&(me[Pe]=ue[Pe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Pe=Object.getOwnPropertySymbols(ue);xe<Pe.length;xe++)ge.indexOf(Pe[xe])<0&&Object.prototype.propertyIsEnumerable.call(ue,Pe[xe])&&(me[Pe[xe]]=ue[Pe[xe]]);return me};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=se.createContext({}),ne=(()=>{let ue=0;return function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ue+=1,`${ge}${ue}`}})();var ae=se.forwardRef((ue,ge)=>{const{prefixCls:me,className:Pe,trigger:xe,children:ye,defaultCollapsed:Be=!1,theme:Ze="dark",style:mt={},collapsible:De=!1,reverseArrow:Ue=!1,width:Ge=200,collapsedWidth:Ke=80,zeroWidthTriggerStyle:it,breakpoint:at,onCollapse:ft,onBreakpoint:Rt}=ue,kt=E(ue,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ye}=(0,se.useContext)(b.Gs),[ut,At]=(0,se.useState)("collapsed"in ue?ue.collapsed:Be),[Nt,Pt]=(0,se.useState)(!1);(0,se.useEffect)(()=>{"collapsed"in ue&&At(ue.collapsed)},[ue.collapsed]);const sn=(Re,qe)=>{"collapsed"in ue||At(Re),ft==null||ft(Re,qe)},Fe=(0,se.useRef)();Fe.current=Re=>{Pt(Re.matches),Rt==null||Rt(Re.matches),ut!==Re.matches&&sn(Re.matches,"responsive")},(0,se.useEffect)(()=>{function Re(tt){return Fe.current(tt)}let qe;if(typeof window!="undefined"){const{matchMedia:tt}=window;if(tt&&at&&at in x){qe=tt(`(max-width: ${x[at]})`);try{qe.addEventListener("change",Re)}catch(Le){qe.addListener(Re)}Re(qe)}}return()=>{try{qe==null||qe.removeEventListener("change",Re)}catch(tt){qe==null||qe.removeListener(Re)}}},[at]),(0,se.useEffect)(()=>{const Re=ne("ant-sider-");return Ye.addSider(Re),()=>Ye.removeSider(Re)},[]);const Qt=()=>{sn(!ut,"clickTrigger")},{getPrefixCls:Kt}=(0,se.useContext)(y.E_),Hn=()=>{const Re=Kt("layout-sider",me),qe=(0,Ee.Z)(kt,["collapsed"]),tt=ut?Ke:Ge,Le=a(tt)?`${tt}px`:String(tt),ht=parseFloat(String(Ke||0))===0?se.createElement("span",{onClick:Qt,className:Me()(`${Re}-zero-width-trigger`,`${Re}-zero-width-trigger-${Ue?"right":"left"}`),style:it},xe||se.createElement(nt,null)):null,ve={expanded:Ue?se.createElement(Te.Z,null):se.createElement(je.Z,null),collapsed:Ue?se.createElement(je.Z,null):se.createElement(Te.Z,null)}[ut?"collapsed":"expanded"],We=xe!==null?ht||se.createElement("div",{className:`${Re}-trigger`,onClick:Qt,style:{width:Le}},xe||ve):null,Ve=Object.assign(Object.assign({},mt),{flex:`0 0 ${Le}`,maxWidth:Le,minWidth:Le,width:Le}),we=Me()(Re,`${Re}-${Ze}`,{[`${Re}-collapsed`]:!!ut,[`${Re}-has-trigger`]:De&&xe!==null&&!ht,[`${Re}-below`]:!!Nt,[`${Re}-zero-width`]:parseFloat(Le)===0},Pe);return se.createElement("aside",Object.assign({className:we},qe,{style:Ve,ref:ge}),se.createElement("div",{className:`${Re}-children`},ye),De||Nt&&ht?We:null)},Jn=se.useMemo(()=>({siderCollapsed:ut}),[ut]);return se.createElement(ee.Provider,{value:Jn},Hn())})},84966:function(Et,St,te){"use strict";te.d(St,{VY:function(){return ee},$_:function(){return x},h4:function(){return E},Gs:function(){return Ee},ZP:function(){return ne}});var z=te(94480),se=te(92310),he=te.n(se),Ie=te(2738),be=te(59301),Ne=te(36355),ie=te(83116),je=oe=>{const{componentCls:ae,bodyBg:ue,lightSiderBg:ge,lightTriggerBg:me,lightTriggerColor:Pe}=oe;return{[`${ae}-sider-light`]:{background:ge,[`${ae}-sider-trigger`]:{color:Pe,background:me},[`${ae}-sider-zero-width-trigger`]:{color:Pe,background:me,border:`1px solid ${ue}`,borderInlineStart:0}}}};const Te=oe=>{const{antCls:ae,componentCls:ue,colorText:ge,triggerColor:me,footerBg:Pe,triggerBg:xe,headerHeight:ye,headerPadding:Be,headerColor:Ze,footerPadding:mt,triggerHeight:De,zeroTriggerHeight:Ue,zeroTriggerWidth:Ge,motionDurationMid:Ke,motionDurationSlow:it,fontSize:at,borderRadius:ft,bodyBg:Rt,headerBg:kt,siderBg:Ye}=oe;return{[ue]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Rt,"&, *":{boxSizing:"border-box"},[`&${ue}-has-sider`]:{flexDirection:"row",[`> ${ue}, > ${ue}-content`]:{width:0}},[`${ue}-header, &${ue}-footer`]:{flex:"0 0 auto"},[`${ue}-sider`]:{position:"relative",minWidth:0,background:Ye,transition:`all ${Ke}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ae}-menu${ae}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:De},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:De,color:me,lineHeight:`${De}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${Ke}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ye,insetInlineEnd:-Ge,zIndex:1,width:Ge,height:Ue,color:me,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ye,borderStartStartRadius:0,borderStartEndRadius:ft,borderEndEndRadius:ft,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ge,borderStartStartRadius:ft,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ft}}}}},je(oe)),{"&-rtl":{direction:"rtl"}}),[`${ue}-header`]:{height:ye,padding:Be,color:Ze,lineHeight:`${ye}px`,background:kt,[`${ae}-menu`]:{lineHeight:"inherit"}},[`${ue}-footer`]:{padding:mt,color:ge,fontSize:at,background:Pe},[`${ue}-content`]:{flex:"auto",minHeight:0}}};var He=(0,ie.Z)("Layout",oe=>[Te(oe)],oe=>{const{colorBgLayout:ae,controlHeight:ue,controlHeightLG:ge,colorText:me,controlHeightSM:Pe,marginXXS:xe,colorTextLightSolid:ye,colorBgContainer:Be}=oe,Ze=ge*1.25;return{colorBgHeader:"#001529",colorBgBody:ae,colorBgTrigger:"#002140",bodyBg:ae,headerBg:"#001529",headerHeight:ue*2,headerPadding:`0 ${Ze}px`,headerColor:me,footerPadding:`${Pe}px ${Ze}px`,footerBg:ae,siderBg:"#001529",triggerHeight:ge+xe*2,triggerBg:"#002140",triggerColor:ye,zeroTriggerWidth:ge,zeroTriggerHeight:ge,lightSiderBg:Be,lightTriggerBg:Be,lightTriggerColor:me}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Me=function(oe,ae){var ue={};for(var ge in oe)Object.prototype.hasOwnProperty.call(oe,ge)&&ae.indexOf(ge)<0&&(ue[ge]=oe[ge]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,ge=Object.getOwnPropertySymbols(oe);me<ge.length;me++)ae.indexOf(ge[me])<0&&Object.prototype.propertyIsEnumerable.call(oe,ge[me])&&(ue[ge[me]]=oe[ge[me]]);return ue};const Ee=be.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function re(oe){let{suffixCls:ae,tagName:ue,displayName:ge}=oe;return me=>be.forwardRef((xe,ye)=>be.createElement(me,Object.assign({ref:ye,suffixCls:ae,tagName:ue},xe)))}const a=be.forwardRef((oe,ae)=>{const{prefixCls:ue,suffixCls:ge,className:me,tagName:Pe}=oe,xe=Me(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ye}=be.useContext(Ne.E_),Be=ye("layout",ue),[Ze,mt]=He(Be),De=ge?`${Be}-${ge}`:Be;return Ze(be.createElement(Pe,Object.assign({className:he()(ue||De,me,mt),ref:ae},xe)))}),y=be.forwardRef((oe,ae)=>{const{direction:ue}=be.useContext(Ne.E_),[ge,me]=be.useState([]),{prefixCls:Pe,className:xe,rootClassName:ye,children:Be,hasSider:Ze,tagName:mt,style:De}=oe,Ue=Me(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ge=(0,Ie.Z)(Ue,["suffixCls"]),{getPrefixCls:Ke,layout:it}=be.useContext(Ne.E_),at=Ke("layout",Pe),[ft,Rt]=He(at),kt=he()(at,{[`${at}-has-sider`]:typeof Ze=="boolean"?Ze:ge.length>0,[`${at}-rtl`]:ue==="rtl"},it==null?void 0:it.className,xe,ye,Rt),Ye=be.useMemo(()=>({siderHook:{addSider:ut=>{me(At=>[].concat((0,z.Z)(At),[ut]))},removeSider:ut=>{me(At=>At.filter(Nt=>Nt!==ut))}}}),[]);return ft(be.createElement(Ee.Provider,{value:Ye},be.createElement(mt,Object.assign({ref:ae,className:kt,style:Object.assign(Object.assign({},it==null?void 0:it.style),De)},Ge),Be)))}),b=re({tagName:"div",displayName:"Layout"})(y),E=re({suffixCls:"header",tagName:"header",displayName:"Header"})(a),x=re({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=re({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ne=b},40875:function(Et,St,te){"use strict";te.d(St,{J:function(){return Ne}});var z=te(59301),se=te(33234),he=te(70425),Ie=function(ie,nt){var je={};for(var Te in ie)Object.prototype.hasOwnProperty.call(ie,Te)&&nt.indexOf(Te)<0&&(je[Te]=ie[Te]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Te=Object.getOwnPropertySymbols(ie);He<Te.length;He++)nt.indexOf(Te[He])<0&&Object.prototype.propertyIsEnumerable.call(ie,Te[He])&&(je[Te[He]]=ie[Te[He]]);return je};const be=z.createContext(null),Ne=z.forwardRef((ie,nt)=>{const{children:je}=ie,Te=Ie(ie,["children"]),He=z.useContext(be),Me=z.useMemo(()=>Object.assign(Object.assign({},He),Te),[He,Te.prefixCls,Te.mode,Te.selectable]);return z.createElement(be.Provider,{value:Me},z.createElement(se.BR,null,(0,he.supportNodeRef)(je)?z.cloneElement(je,{ref:nt}):je))});St.Z=be},20834:function(Et,St,te){"use strict";te.d(St,{default:function(){return Jn}});var z=te(15285),se=te(59301),he=te(45818),Ie=te(92310),be=te.n(Ie),Ne=te(36355),ie=function(Re,qe){var tt={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&qe.indexOf(Le)<0&&(tt[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Le=Object.getOwnPropertySymbols(Re);ht<Le.length;ht++)qe.indexOf(Le[ht])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[ht])&&(tt[Le[ht]]=Re[Le[ht]]);return tt},je=Re=>{const{prefixCls:qe,className:tt,dashed:Le}=Re,ht=ie(Re,["prefixCls","className","dashed"]),{getPrefixCls:gt}=se.useContext(Ne.E_),Oe=gt("menu",qe),ve=be()({[`${Oe}-item-divider-dashed`]:!!Le},tt);return se.createElement(z.iz,Object.assign({className:ve},ht))},Te=te(11592),He=te(2738),Me=te(6848),Ee=te(92343),a=(0,se.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Re=>{var qe;const{className:tt,children:Le,icon:ht,title:gt,danger:Oe}=Re,{prefixCls:ve,firstLevel:We,direction:Ve,disableMenuItemTitleTooltip:we,inlineCollapsed:pt}=se.useContext(a),et=_e=>{const ct=se.createElement("span",{className:`${ve}-title-content`},Le);return(!ht||(0,Ee.l$)(Le)&&Le.type==="span")&&Le&&_e&&We&&typeof Le=="string"?se.createElement("div",{className:`${ve}-inline-collapsed-noicon`},Le.charAt(0)):ct},{siderCollapsed:jt}=se.useContext(he.D);let Se=gt;typeof gt=="undefined"?Se=We?Le:"":gt===!1&&(Se="");const st={title:Se};!jt&&!pt&&(st.title=null,st.open=!1);const xt=(0,Te.Z)(Le).length;let Ae=se.createElement(z.ck,Object.assign({},(0,He.Z)(Re,["title","icon","danger"]),{className:be()({[`${ve}-item-danger`]:Oe,[`${ve}-item-only-child`]:(ht?xt+1:xt)===1},tt),title:typeof gt=="string"?gt:void 0}),(0,Ee.Tm)(ht,{className:be()((0,Ee.l$)(ht)?(qe=ht.props)===null||qe===void 0?void 0:qe.className:"",`${ve}-item-icon`)}),et(pt));return we||(Ae=se.createElement(Me.Z,Object.assign({},st,{placement:Ve==="rtl"?"left":"right",overlayClassName:`${ve}-inline-collapsed-tooltip`}),Ae)),Ae},x=Re=>{var qe;const{popupClassName:tt,icon:Le,title:ht,theme:gt}=Re,Oe=se.useContext(a),{prefixCls:ve,inlineCollapsed:We,theme:Ve}=Oe,we=(0,z.Xl)();let pt;if(!Le)pt=We&&!we.length&&ht&&typeof ht=="string"?se.createElement("div",{className:`${ve}-inline-collapsed-noicon`},ht.charAt(0)):se.createElement("span",{className:`${ve}-title-content`},ht);else{const jt=(0,Ee.l$)(ht)&&ht.type==="span";pt=se.createElement(se.Fragment,null,(0,Ee.Tm)(Le,{className:be()((0,Ee.l$)(Le)?(qe=Le.props)===null||qe===void 0?void 0:qe.className:"",`${ve}-item-icon`)}),jt?ht:se.createElement("span",{className:`${ve}-title-content`},ht))}const et=se.useMemo(()=>Object.assign(Object.assign({},Oe),{firstLevel:!1}),[Oe]);return se.createElement(a.Provider,{value:et},se.createElement(z.Wd,Object.assign({},(0,He.Z)(Re,["icon"]),{title:pt,popupClassName:be()(ve,tt,`${ve}-${gt||Ve}`)})))},ee=te(18785),ne=te(70425),oe=te(62892),ae=te(40875),ue=function(Re,qe){var tt={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&qe.indexOf(Le)<0&&(tt[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Le=Object.getOwnPropertySymbols(Re);ht<Le.length;ht++)qe.indexOf(Le[ht])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[ht])&&(tt[Le[ht]]=Re[Le[ht]]);return tt};function ge(Re){return(Re||[]).map((qe,tt)=>{if(qe&&typeof qe=="object"){const Le=qe,{label:ht,children:gt,key:Oe,type:ve}=Le,We=ue(Le,["label","children","key","type"]),Ve=Oe!=null?Oe:`tmp-${tt}`;return gt||ve==="group"?ve==="group"?se.createElement(z.BW,Object.assign({key:Ve},We,{title:ht}),ge(gt)):se.createElement(x,Object.assign({key:Ve},We,{title:ht}),ge(gt)):ve==="divider"?se.createElement(je,Object.assign({key:Ve},We)):se.createElement(b,Object.assign({key:Ve},We),ht)}return null}).filter(qe=>qe)}function me(Re){return se.useMemo(()=>Re&&ge(Re),[Re])}var Pe=te(64993),xe=te(17313),ye=te(8378),Be=te(13826),Ze=te(29878),mt=te(83116),De=te(37613),Ge=Re=>{const{componentCls:qe,motionDurationSlow:tt,horizontalLineHeight:Le,colorSplit:ht,lineWidth:gt,lineType:Oe,itemPaddingInline:ve}=Re;return{[`${qe}-horizontal`]:{lineHeight:Le,border:0,borderBottom:`${gt}px ${Oe} ${ht}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${qe}-item, ${qe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ve},[`> ${qe}-item:hover,
|
|
> ${qe}-item-active,
|
|
> ${qe}-submenu ${qe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${qe}-item, ${qe}-submenu-title`]:{transition:[`border-color ${tt}`,`background ${tt}`].join(",")},[`${qe}-submenu-arrow`]:{display:"none"}}}},it=Re=>{let{componentCls:qe,menuArrowOffset:tt}=Re;return{[`${qe}-rtl`]:{direction:"rtl"},[`${qe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${qe}-rtl${qe}-vertical,
|
|
${qe}-submenu-rtl ${qe}-vertical`]:{[`${qe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${tt})`},"&::after":{transform:`rotate(45deg) translateY(${tt})`}}}}};const at=Re=>Object.assign({},(0,xe.oN)(Re));var Rt=(Re,qe)=>{const{componentCls:tt,itemColor:Le,itemSelectedColor:ht,groupTitleColor:gt,itemBg:Oe,subMenuItemBg:ve,itemSelectedBg:We,activeBarHeight:Ve,activeBarWidth:we,activeBarBorderWidth:pt,motionDurationSlow:et,motionEaseInOut:jt,motionEaseOut:Se,itemPaddingInline:st,motionDurationMid:xt,itemHoverColor:Ae,lineType:_e,colorSplit:ct,itemDisabledColor:wt,dangerItemColor:zt,dangerItemHoverColor:mn,dangerItemSelectedColor:dt,dangerItemActiveBg:Dt,dangerItemSelectedBg:yt,itemHoverBg:en,itemActiveBg:Vt,menuSubMenuBg:un,horizontalItemSelectedColor:Vn,horizontalItemSelectedBg:fn,horizontalItemBorderRadius:an,horizontalItemHoverBg:Un,popupBg:_t}=Re;return{[`${tt}-${qe}, ${tt}-${qe} > ${tt}`]:{color:Le,background:Oe,[`&${tt}-root:focus-visible`]:Object.assign({},at(Re)),[`${tt}-item-group-title`]:{color:gt},[`${tt}-submenu-selected`]:{[`> ${tt}-submenu-title`]:{color:ht}},[`${tt}-item-disabled, ${tt}-submenu-disabled`]:{color:`${wt} !important`},[`${tt}-item:not(${tt}-item-selected):not(${tt}-submenu-selected)`]:{[`&:hover, > ${tt}-submenu-title:hover`]:{color:Ae}},[`&:not(${tt}-horizontal)`]:{[`${tt}-item:not(${tt}-item-selected)`]:{"&:hover":{backgroundColor:en},"&:active":{backgroundColor:Vt}},[`${tt}-submenu-title`]:{"&:hover":{backgroundColor:en},"&:active":{backgroundColor:Vt}}},[`${tt}-item-danger`]:{color:zt,[`&${tt}-item:hover`]:{[`&:not(${tt}-item-selected):not(${tt}-submenu-selected)`]:{color:mn}},[`&${tt}-item:active`]:{background:Dt}},[`${tt}-item a`]:{"&, &:hover":{color:"inherit"}},[`${tt}-item-selected`]:{color:ht,[`&${tt}-item-danger`]:{color:dt},"a, a:hover":{color:"inherit"}},[`& ${tt}-item-selected`]:{backgroundColor:We,[`&${tt}-item-danger`]:{backgroundColor:yt}},[`${tt}-item, ${tt}-submenu-title`]:{[`&:not(${tt}-item-disabled):focus-visible`]:Object.assign({},at(Re))},[`&${tt}-submenu > ${tt}`]:{backgroundColor:un},[`&${tt}-popup > ${tt}`]:{backgroundColor:_t},[`&${tt}-horizontal`]:Object.assign(Object.assign({},qe==="dark"?{borderBottom:0}:{}),{[`> ${tt}-item, > ${tt}-submenu`]:{top:pt,marginTop:-pt,marginBottom:0,borderRadius:an,"&::after":{position:"absolute",insetInline:st,bottom:0,borderBottom:`${Ve}px solid transparent`,transition:`border-color ${et} ${jt}`,content:'""'},"&:hover, &-active, &-open":{background:Un,"&::after":{borderBottomWidth:Ve,borderBottomColor:Vn}},"&-selected":{color:Vn,backgroundColor:fn,"&:hover":{backgroundColor:fn},"&::after":{borderBottomWidth:Ve,borderBottomColor:Vn}}}}),[`&${tt}-root`]:{[`&${tt}-inline, &${tt}-vertical`]:{borderInlineEnd:`${pt}px ${_e} ${ct}`}},[`&${tt}-inline`]:{[`${tt}-sub${tt}-inline`]:{background:ve},[`${tt}-item, ${tt}-submenu-title`]:pt&&we?{width:`calc(100% + ${pt}px)`}:{},[`${tt}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${we}px solid ${ht}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${xt} ${Se}`,`opacity ${xt} ${Se}`].join(","),content:'""'},[`&${tt}-item-danger`]:{"&::after":{borderInlineEndColor:dt}}},[`${tt}-selected, ${tt}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${xt} ${jt}`,`opacity ${xt} ${jt}`].join(",")}}}}}};const kt=Re=>{const{componentCls:qe,itemHeight:tt,itemMarginInline:Le,padding:ht,menuArrowSize:gt,marginXS:Oe,itemMarginBlock:ve}=Re,We=ht+gt+Oe;return{[`${qe}-item`]:{position:"relative",overflow:"hidden"},[`${qe}-item, ${qe}-submenu-title`]:{height:tt,lineHeight:`${tt}px`,paddingInline:ht,overflow:"hidden",textOverflow:"ellipsis",marginInline:Le,marginBlock:ve,width:`calc(100% - ${Le*2}px)`},[`> ${qe}-item,
|
|
> ${qe}-submenu > ${qe}-submenu-title`]:{height:tt,lineHeight:`${tt}px`},[`${qe}-item-group-list ${qe}-submenu-title,
|
|
${qe}-submenu-title`]:{paddingInlineEnd:We}}};var ut=Re=>{const{componentCls:qe,iconCls:tt,itemHeight:Le,colorTextLightSolid:ht,dropdownWidth:gt,controlHeightLG:Oe,motionDurationMid:ve,motionEaseOut:We,paddingXL:Ve,itemMarginInline:we,fontSizeLG:pt,motionDurationSlow:et,paddingXS:jt,boxShadowSecondary:Se,collapsedWidth:st,collapsedIconSize:xt}=Re,Ae={height:Le,lineHeight:`${Le}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[qe]:{"&-inline, &-vertical":Object.assign({[`&${qe}-root`]:{boxShadow:"none"}},kt(Re))},[`${qe}-submenu-popup`]:{[`${qe}-vertical`]:Object.assign(Object.assign({},kt(Re)),{boxShadow:Se})}},{[`${qe}-submenu-popup ${qe}-vertical${qe}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Oe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${qe}-inline`]:{width:"100%",[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${et}`,`background ${et}`,`padding ${ve} ${We}`].join(","),[`> ${qe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${qe}-sub${qe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${qe}-submenu > ${qe}-submenu-title`]:Ae,[`& ${qe}-item-group-title`]:{paddingInlineStart:Ve}},[`${qe}-item`]:Ae}},{[`${qe}-inline-collapsed`]:{width:st,[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu ${qe}-submenu-title`]:{[`> ${qe}-inline-collapsed-noicon`]:{fontSize:pt,textAlign:"center"}}},[`> ${qe}-item,
|
|
> ${qe}-item-group > ${qe}-item-group-list > ${qe}-item,
|
|
> ${qe}-item-group > ${qe}-item-group-list > ${qe}-submenu > ${qe}-submenu-title,
|
|
> ${qe}-submenu > ${qe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${pt/2}px - ${we}px)`,textOverflow:"clip",[`
|
|
${qe}-submenu-arrow,
|
|
${qe}-submenu-expand-icon
|
|
`]:{opacity:0},[`${qe}-item-icon, ${tt}`]:{margin:0,fontSize:xt,lineHeight:`${Le}px`,"+ span":{display:"inline-block",opacity:0}}},[`${qe}-item-icon, ${tt}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${qe}-item-icon, ${tt}`]:{display:"none"},"a, a:hover":{color:ht}},[`${qe}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:jt})}}]};const At=Re=>{const{componentCls:qe,motionDurationSlow:tt,motionDurationMid:Le,motionEaseInOut:ht,motionEaseOut:gt,iconCls:Oe,iconSize:ve,iconMarginInlineEnd:We}=Re;return{[`${qe}-item, ${qe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${tt}`,`background ${tt}`,`padding ${tt} ${ht}`].join(","),[`${qe}-item-icon, ${Oe}`]:{minWidth:ve,fontSize:ve,transition:[`font-size ${Le} ${gt}`,`margin ${tt} ${ht}`,`color ${tt}`].join(","),"+ span":{marginInlineStart:We,opacity:1,transition:[`opacity ${tt} ${ht}`,`margin ${tt}`,`color ${tt}`].join(",")}},[`${qe}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${qe}-item-only-child`]:{[`> ${Oe}, > ${qe}-item-icon`]:{marginInlineEnd:0}}},[`${qe}-item-disabled, ${qe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${qe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Nt=Re=>{const{componentCls:qe,motionDurationSlow:tt,motionEaseInOut:Le,borderRadius:ht,menuArrowSize:gt,menuArrowOffset:Oe}=Re;return{[`${qe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Re.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${tt} ${Le}, opacity ${tt}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:ht,transition:[`background ${tt} ${Le}`,`transform ${tt} ${Le}`,`top ${tt} ${Le}`,`color ${tt} ${Le}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Oe})`},"&::after":{transform:`rotate(-45deg) translateY(${Oe})`}}}}},Pt=Re=>{const{antCls:qe,componentCls:tt,fontSize:Le,motionDurationSlow:ht,motionDurationMid:gt,motionEaseInOut:Oe,paddingXS:ve,padding:We,colorSplit:Ve,lineWidth:we,zIndexPopup:pt,borderRadiusLG:et,subMenuItemBorderRadius:jt,menuArrowSize:Se,menuArrowOffset:st,lineType:xt,menuPanelMaskInset:Ae,groupTitleLineHeight:_e,groupTitleFontSize:ct}=Re;return[{"":{[`${tt}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${tt}-submenu-hidden`]:{display:"none"}},{[tt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(Re)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Le,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ht} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${tt}-item`]:{flex:"none"}},[`${tt}-item, ${tt}-submenu, ${tt}-submenu-title`]:{borderRadius:Re.itemBorderRadius},[`${tt}-item-group-title`]:{padding:`${ve}px ${We}px`,fontSize:ct,lineHeight:_e,transition:`all ${ht}`},[`&-horizontal ${tt}-submenu`]:{transition:[`border-color ${ht} ${Oe}`,`background ${ht} ${Oe}`].join(",")},[`${tt}-submenu, ${tt}-submenu-inline`]:{transition:[`border-color ${ht} ${Oe}`,`background ${ht} ${Oe}`,`padding ${gt} ${Oe}`].join(",")},[`${tt}-submenu ${tt}-sub`]:{cursor:"initial",transition:[`background ${ht} ${Oe}`,`padding ${ht} ${Oe}`].join(",")},[`${tt}-title-content`]:{transition:`color ${ht}`},[`${tt}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${tt}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ve,borderStyle:xt,borderWidth:0,borderTopWidth:we,marginBlock:we,padding:0,"&-dashed":{borderStyle:"dashed"}}}),At(Re)),{[`${tt}-item-group`]:{[`${tt}-item-group-list`]:{margin:0,padding:0,[`${tt}-item, ${tt}-submenu-title`]:{paddingInline:`${Le*2}px ${We}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:pt,borderRadius:et,boxShadow:"none",transformOrigin:"0 0",[`&${tt}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ae}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ae},"\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},[`> ${tt}`]:Object.assign(Object.assign(Object.assign({borderRadius:et},At(Re)),Nt(Re)),{[`${tt}-item, ${tt}-submenu > ${tt}-submenu-title`]:{borderRadius:jt},[`${tt}-submenu-title::after`]:{transition:`transform ${ht} ${Oe}`}})}}),Nt(Re)),{[`&-inline-collapsed ${tt}-submenu-arrow,
|
|
&-inline ${tt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${st})`},"&::after":{transform:`rotate(45deg) translateX(-${st})`}},[`${tt}-submenu-open${tt}-submenu-inline > ${tt}-submenu-title > ${tt}-submenu-arrow`]:{transform:`translateY(-${Se*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${st})`},"&::before":{transform:`rotate(45deg) translateX(${st})`}}})},{[`${qe}-layout-header`]:{[tt]:{lineHeight:"inherit"}}}]};var sn=(Re,qe)=>(0,mt.Z)("Menu",Le=>{if(qe===!1)return[];const{colorBgElevated:ht,colorPrimary:gt,colorTextLightSolid:Oe,controlHeightLG:ve,fontSize:We,darkItemColor:Ve,darkDangerItemColor:we,darkItemBg:pt,darkSubMenuItemBg:et,darkItemSelectedColor:jt,darkItemSelectedBg:Se,darkDangerItemSelectedBg:st,darkItemHoverBg:xt,darkGroupTitleColor:Ae,darkItemHoverColor:_e,darkItemDisabledColor:ct,darkDangerItemHoverColor:wt,darkDangerItemSelectedColor:zt,darkDangerItemActiveBg:mn}=Le,dt=We/7*5,Dt=(0,De.TS)(Le,{menuArrowSize:dt,menuHorizontalHeight:ve*1.15,menuArrowOffset:`${dt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:ht}),yt=(0,De.TS)(Dt,{itemColor:Ve,itemHoverColor:_e,groupTitleColor:Ae,itemSelectedColor:jt,itemBg:pt,popupBg:pt,subMenuItemBg:et,itemActiveBg:"transparent",itemSelectedBg:Se,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:xt,itemDisabledColor:ct,dangerItemColor:we,dangerItemHoverColor:wt,dangerItemSelectedColor:zt,dangerItemActiveBg:mn,dangerItemSelectedBg:st,menuSubMenuBg:et,horizontalItemSelectedColor:Oe,horizontalItemSelectedBg:gt});return[Pt(Dt),Ge(Dt),ut(Dt),Rt(Dt,"light"),Rt(yt,"dark"),it(Dt),(0,ye.Z)(Dt),(0,Be.oN)(Dt,"slide-up"),(0,Be.oN)(Dt,"slide-down"),(0,Ze._y)(Dt,"zoom-big")]},Le=>{const{colorPrimary:ht,colorError:gt,colorTextDisabled:Oe,colorErrorBg:ve,colorText:We,colorTextDescription:Ve,colorBgContainer:we,colorFillAlter:pt,colorFillContent:et,lineWidth:jt,lineWidthBold:Se,controlItemBgActive:st,colorBgTextHover:xt,controlHeightLG:Ae,lineHeight:_e,colorBgElevated:ct,marginXXS:wt,padding:zt,fontSize:mn,controlHeightSM:dt,fontSizeLG:Dt,colorTextLightSolid:yt,colorErrorHover:en}=Le,Vt=new Pe.C(yt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Le.zIndexPopupBase+50,radiusItem:Le.borderRadiusLG,itemBorderRadius:Le.borderRadiusLG,radiusSubMenuItem:Le.borderRadiusSM,subMenuItemBorderRadius:Le.borderRadiusSM,colorItemText:We,itemColor:We,colorItemTextHover:We,itemHoverColor:We,colorItemTextHoverHorizontal:ht,horizontalItemHoverColor:ht,colorGroupTitle:Ve,groupTitleColor:Ve,colorItemTextSelected:ht,itemSelectedColor:ht,colorItemTextSelectedHorizontal:ht,horizontalItemSelectedColor:ht,colorItemBg:we,itemBg:we,colorItemBgHover:xt,itemHoverBg:xt,colorItemBgActive:et,itemActiveBg:st,colorSubItemBg:pt,subMenuItemBg:pt,colorItemBgSelected:st,itemSelectedBg:st,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Se,activeBarHeight:Se,colorActiveBarBorderSize:jt,activeBarBorderWidth:jt,colorItemTextDisabled:Oe,itemDisabledColor:Oe,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:ve,dangerItemActiveBg:ve,colorDangerItemBgSelected:ve,dangerItemSelectedBg:ve,itemMarginInline:Le.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ae,groupTitleLineHeight:_e,collapsedWidth:Ae*2,popupBg:ct,itemMarginBlock:wt,itemPaddingInline:zt,horizontalLineHeight:`${Ae*1.15}px`,iconSize:mn,iconMarginInlineEnd:dt-mn,collapsedIconSize:Dt,groupTitleFontSize:mn,darkItemDisabledColor:new Pe.C(yt).setAlpha(.25).toRgbString(),darkItemColor:Vt,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:yt,darkItemSelectedBg:ht,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Vt,darkItemHoverColor:yt,darkDangerItemHoverColor:en,darkDangerItemSelectedColor:yt,darkDangerItemActiveBg:gt}},{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"]]})(Re),Fe=function(Re,qe){var tt={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&qe.indexOf(Le)<0&&(tt[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Le=Object.getOwnPropertySymbols(Re);ht<Le.length;ht++)qe.indexOf(Le[ht])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[ht])&&(tt[Le[ht]]=Re[Le[ht]]);return tt},Kt=(0,se.forwardRef)((Re,qe)=>{var tt,Le;const ht=se.useContext(ae.Z),gt=ht||{},{getPrefixCls:Oe,getPopupContainer:ve,direction:We,menu:Ve}=se.useContext(Ne.E_),we=Oe(),{prefixCls:pt,className:et,style:jt,theme:Se="light",expandIcon:st,_internalDisableMenuItemTitleTooltip:xt,inlineCollapsed:Ae,siderCollapsed:_e,items:ct,children:wt,rootClassName:zt,mode:mn,selectable:dt,onClick:Dt,overflowedIndicatorPopupClassName:yt}=Re,en=Fe(Re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Vt=(0,He.Z)(en,["collapsedWidth"]),un=me(ct)||wt;(tt=gt.validator)===null||tt===void 0||tt.call(gt,{mode:mn});const Vn=(0,ne.useEvent)(function(){var La;Dt==null||Dt.apply(void 0,arguments),(La=gt.onClick)===null||La===void 0||La.call(gt)}),fn=gt.mode||mn,an=dt!=null?dt:gt.selectable,Un=se.useMemo(()=>_e!==void 0?_e:Ae,[Ae,_e]),_t={horizontal:{motionName:`${we}-slide-up`},inline:(0,oe.Z)(we),other:{motionName:`${we}-zoom-big`}},Tt=Oe("menu",pt||gt.prefixCls),[Xt,Ea]=sn(Tt,!ht),qn=be()(`${Tt}-${Se}`,Ve==null?void 0:Ve.className,et);let Mn;if(typeof st=="function")Mn=st;else if(st===null||st===!1)Mn=null;else if(gt.expandIcon===null||gt.expandIcon===!1)Mn=null;else{const La=st!=null?st:gt.expandIcon;Mn=(0,Ee.Tm)(La,{className:be()(`${Tt}-submenu-expand-icon`,(0,Ee.l$)(La)?(Le=La.props)===null||Le===void 0?void 0:Le.className:"")})}const Ga=se.useMemo(()=>({prefixCls:Tt,inlineCollapsed:Un||!1,direction:We,firstLevel:!0,theme:Se,mode:fn,disableMenuItemTitleTooltip:xt}),[Tt,Un,We,xt,Se]);return Xt(se.createElement(ae.Z.Provider,{value:null},se.createElement(a.Provider,{value:Ga},se.createElement(z.ZP,Object.assign({getPopupContainer:ve,overflowedIndicator:se.createElement(ee.Z,null),overflowedIndicatorPopupClassName:be()(Tt,`${Tt}-${Se}`,yt),mode:fn,selectable:an,onClick:Vn},Vt,{inlineCollapsed:Un,style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),jt),className:qn,prefixCls:Tt,direction:We,defaultMotions:_t,expandIcon:Mn,ref:qe,rootClassName:be()(zt,Ea)}),un))))});const Hn=(0,se.forwardRef)((Re,qe)=>{const tt=(0,se.useRef)(null),Le=se.useContext(he.D);return(0,se.useImperativeHandle)(qe,()=>({menu:tt.current,focus:ht=>{var gt;(gt=tt.current)===null||gt===void 0||gt.focus(ht)}})),se.createElement(Kt,Object.assign({ref:tt},Re,Le))});Hn.Item=b,Hn.SubMenu=x,Hn.Divider=je,Hn.ItemGroup=z.BW;var Jn=Hn},58421:function(Et,St,te){"use strict";te.d(St,{Z:function(){return gt}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(ve,We){return se.createElement(be.Z,(0,z.Z)({},ve,{ref:We,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie,je=te(49198),Te=te(33853),He=te(38819),Me=te(92310),Ee=te.n(Me),re=te(20068),a=te(33885),y=te(67732),b=te(83652),E=te(42403),x=te(158),ee=te(26112),ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},oe=ne,ae=te(91735),ue=function(Oe){(0,E.Z)(We,Oe);var ve=(0,x.Z)(We);function We(){var Ve;(0,y.Z)(this,We);for(var we=arguments.length,pt=new Array(we),et=0;et<we;et++)pt[et]=arguments[et];return Ve=ve.call.apply(ve,[this].concat(pt)),Ve.state={goInputText:""},Ve.getValidValue=function(){var jt=Ve.state.goInputText;return!jt||Number.isNaN(jt)?void 0:Number(jt)},Ve.buildOptionText=function(jt){return"".concat(jt," ").concat(Ve.props.locale.items_per_page)},Ve.changeSize=function(jt){Ve.props.changeSize(Number(jt))},Ve.handleChange=function(jt){Ve.setState({goInputText:jt.target.value})},Ve.handleBlur=function(jt){var Se=Ve.props,st=Se.goButton,xt=Se.quickGo,Ae=Se.rootPrefixCls,_e=Ve.state.goInputText;st||_e===""||(Ve.setState({goInputText:""}),!(jt.relatedTarget&&(jt.relatedTarget.className.indexOf("".concat(Ae,"-item-link"))>=0||jt.relatedTarget.className.indexOf("".concat(Ae,"-item"))>=0))&&xt(Ve.getValidValue()))},Ve.go=function(jt){var Se=Ve.state.goInputText;Se!==""&&(jt.keyCode===oe.ENTER||jt.type==="click")&&(Ve.setState({goInputText:""}),Ve.props.quickGo(Ve.getValidValue()))},Ve}return(0,b.Z)(We,[{key:"getPageSizeOptions",value:function(){var we=this.props,pt=we.pageSize,et=we.pageSizeOptions;return et.some(function(jt){return jt.toString()===pt.toString()})?et:et.concat([pt.toString()]).sort(function(jt,Se){var st=Number.isNaN(Number(jt))?0:Number(jt),xt=Number.isNaN(Number(Se))?0:Number(Se);return st-xt})}},{key:"render",value:function(){var we=this,pt=this.props,et=pt.pageSize,jt=pt.locale,Se=pt.rootPrefixCls,st=pt.changeSize,xt=pt.quickGo,Ae=pt.goButton,_e=pt.selectComponentClass,ct=pt.buildOptionText,wt=pt.selectPrefixCls,zt=pt.disabled,mn=this.state.goInputText,dt="".concat(Se,"-options"),Dt=_e,yt=null,en=null,Vt=null;if(!st&&!xt)return null;var un=this.getPageSizeOptions();if(st&&Dt){var Vn=un.map(function(fn,an){return se.createElement(Dt.Option,{key:an,value:fn.toString()},(ct||we.buildOptionText)(fn))});yt=se.createElement(Dt,{disabled:zt,prefixCls:wt,showSearch:!1,className:"".concat(dt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(et||un[0]).toString(),onChange:this.changeSize,getPopupContainer:function(an){return an.parentNode},"aria-label":jt.page_size,defaultOpen:!1},Vn)}return xt&&(Ae&&(Vt=typeof Ae=="boolean"?se.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:zt,className:"".concat(dt,"-quick-jumper-button")},jt.jump_to_confirm):se.createElement("span",{onClick:this.go,onKeyUp:this.go},Ae)),en=se.createElement("div",{className:"".concat(dt,"-quick-jumper")},jt.jump_to,se.createElement("input",{disabled:zt,type:"text",value:mn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":jt.page}),jt.page,Vt)),se.createElement("li",{className:"".concat(dt)},yt,en)}}]),We}(se.Component);ue.defaultProps={pageSizeOptions:["10","20","50","100"]};var ge=ue,me=function(ve){var We,Ve=ve.rootPrefixCls,we=ve.page,pt=ve.active,et=ve.className,jt=ve.showTitle,Se=ve.onClick,st=ve.onKeyPress,xt=ve.itemRender,Ae="".concat(Ve,"-item"),_e=Ee()(Ae,"".concat(Ae,"-").concat(we),(We={},(0,re.Z)(We,"".concat(Ae,"-active"),pt),(0,re.Z)(We,"".concat(Ae,"-disabled"),!we),(0,re.Z)(We,ve.className,et),We)),ct=function(){Se(we)},wt=function(dt){st(dt,Se,we)},zt=xt(we,"page",se.createElement("a",{rel:"nofollow"},we));return zt?se.createElement("li",{title:jt?we.toString():null,className:_e,onClick:ct,onKeyPress:wt,tabIndex:0},zt):null},Pe=me;function xe(){}function ye(Oe){var ve=Number(Oe);return typeof ve=="number"&&!Number.isNaN(ve)&&isFinite(ve)&&Math.floor(ve)===ve}var Be=function(ve,We,Ve){return Ve};function Ze(Oe,ve,We){var Ve=typeof Oe=="undefined"?ve.pageSize:Oe;return Math.floor((We.total-1)/Ve)+1}var mt=function(Oe){(0,E.Z)(We,Oe);var ve=(0,x.Z)(We);function We(Ve){var we;(0,y.Z)(this,We),we=ve.call(this,Ve),we.paginationNode=se.createRef(),we.getJumpPrevPage=function(){return Math.max(1,we.state.current-(we.props.showLessItems?3:5))},we.getJumpNextPage=function(){return Math.min(Ze(void 0,we.state,we.props),we.state.current+(we.props.showLessItems?3:5))},we.getItemIcon=function(st,xt){var Ae=we.props.prefixCls,_e=st||se.createElement("button",{type:"button","aria-label":xt,className:"".concat(Ae,"-item-link")});return typeof st=="function"&&(_e=se.createElement(st,(0,a.Z)({},we.props))),_e},we.isValid=function(st){var xt=we.props.total;return ye(st)&&st!==we.state.current&&ye(xt)&&xt>0},we.shouldDisplayQuickJumper=function(){var st=we.props,xt=st.showQuickJumper,Ae=st.total,_e=we.state.pageSize;return Ae<=_e?!1:xt},we.handleKeyDown=function(st){(st.keyCode===oe.ARROW_UP||st.keyCode===oe.ARROW_DOWN)&&st.preventDefault()},we.handleKeyUp=function(st){var xt=we.getValidValue(st),Ae=we.state.currentInputValue;xt!==Ae&&we.setState({currentInputValue:xt}),st.keyCode===oe.ENTER?we.handleChange(xt):st.keyCode===oe.ARROW_UP?we.handleChange(xt-1):st.keyCode===oe.ARROW_DOWN&&we.handleChange(xt+1)},we.handleBlur=function(st){var xt=we.getValidValue(st);we.handleChange(xt)},we.changePageSize=function(st){var xt=we.state.current,Ae=Ze(st,we.state,we.props);xt=xt>Ae?Ae:xt,Ae===0&&(xt=we.state.current),typeof st=="number"&&("pageSize"in we.props||we.setState({pageSize:st}),"current"in we.props||we.setState({current:xt,currentInputValue:xt})),we.props.onShowSizeChange(xt,st),"onChange"in we.props&&we.props.onChange&&we.props.onChange(xt,st)},we.handleChange=function(st){var xt=we.props,Ae=xt.disabled,_e=xt.onChange,ct=we.state,wt=ct.pageSize,zt=ct.current,mn=ct.currentInputValue;if(we.isValid(st)&&!Ae){var dt=Ze(void 0,we.state,we.props),Dt=st;return st>dt?Dt=dt:st<1&&(Dt=1),"current"in we.props||we.setState({current:Dt}),Dt!==mn&&we.setState({currentInputValue:Dt}),_e(Dt,wt),Dt}return zt},we.prev=function(){we.hasPrev()&&we.handleChange(we.state.current-1)},we.next=function(){we.hasNext()&&we.handleChange(we.state.current+1)},we.jumpPrev=function(){we.handleChange(we.getJumpPrevPage())},we.jumpNext=function(){we.handleChange(we.getJumpNextPage())},we.hasPrev=function(){return we.state.current>1},we.hasNext=function(){return we.state.current<Ze(void 0,we.state,we.props)},we.runIfEnter=function(st,xt){if(st.key==="Enter"||st.charCode===13){for(var Ae=arguments.length,_e=new Array(Ae>2?Ae-2:0),ct=2;ct<Ae;ct++)_e[ct-2]=arguments[ct];xt.apply(void 0,_e)}},we.runIfEnterPrev=function(st){we.runIfEnter(st,we.prev)},we.runIfEnterNext=function(st){we.runIfEnter(st,we.next)},we.runIfEnterJumpPrev=function(st){we.runIfEnter(st,we.jumpPrev)},we.runIfEnterJumpNext=function(st){we.runIfEnter(st,we.jumpNext)},we.handleGoTO=function(st){(st.keyCode===oe.ENTER||st.type==="click")&&we.handleChange(we.state.currentInputValue)},we.renderPrev=function(st){var xt=we.props,Ae=xt.prevIcon,_e=xt.itemRender,ct=_e(st,"prev",we.getItemIcon(Ae,"prev page")),wt=!we.hasPrev();return(0,se.isValidElement)(ct)?(0,se.cloneElement)(ct,{disabled:wt}):ct},we.renderNext=function(st){var xt=we.props,Ae=xt.nextIcon,_e=xt.itemRender,ct=_e(st,"next",we.getItemIcon(Ae,"next page")),wt=!we.hasNext();return(0,se.isValidElement)(ct)?(0,se.cloneElement)(ct,{disabled:wt}):ct};var pt=Ve.onChange!==xe,et="current"in Ve;et&&!pt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var jt=Ve.defaultCurrent;"current"in Ve&&(jt=Ve.current);var Se=Ve.defaultPageSize;return"pageSize"in Ve&&(Se=Ve.pageSize),jt=Math.min(jt,Ze(Se,void 0,Ve)),we.state={current:jt,currentInputValue:jt,pageSize:Se},we}return(0,b.Z)(We,[{key:"componentDidUpdate",value:function(we,pt){var et=this.props.prefixCls;if(pt.current!==this.state.current&&this.paginationNode.current){var jt=this.paginationNode.current.querySelector(".".concat(et,"-item-").concat(pt.current));if(jt&&document.activeElement===jt){var Se;jt==null||(Se=jt.blur)===null||Se===void 0||Se.call(jt)}}}},{key:"getValidValue",value:function(we){var pt=we.target.value,et=Ze(void 0,this.state,this.props),jt=this.state.currentInputValue,Se;return pt===""?Se=pt:Number.isNaN(Number(pt))?Se=jt:pt>=et?Se=et:Se=Number(pt),Se}},{key:"getShowSizeChanger",value:function(){var we=this.props,pt=we.showSizeChanger,et=we.total,jt=we.totalBoundaryShowSizeChanger;return typeof pt!="undefined"?pt:et>jt}},{key:"render",value:function(){var we=this.props,pt=we.prefixCls,et=we.className,jt=we.style,Se=we.disabled,st=we.hideOnSinglePage,xt=we.total,Ae=we.locale,_e=we.showQuickJumper,ct=we.showLessItems,wt=we.showTitle,zt=we.showTotal,mn=we.simple,dt=we.itemRender,Dt=we.showPrevNextJumpers,yt=we.jumpPrevIcon,en=we.jumpNextIcon,Vt=we.selectComponentClass,un=we.selectPrefixCls,Vn=we.pageSizeOptions,fn=this.state,an=fn.current,Un=fn.pageSize,_t=fn.currentInputValue;if(st===!0&&xt<=Un)return null;var Tt=Ze(void 0,this.state,this.props),Xt=[],Ea=null,qn=null,Mn=null,Ga=null,La=null,Ar=_e&&_e.goButton,Cr=ct?1:2,Qa=an-1>0?an-1:0,rt=an+1<Tt?an+1:Tt,Mt=(0,ee.Z)(this.props,{aria:!0,data:!0}),Ft=zt&&se.createElement("li",{className:"".concat(pt,"-total-text")},zt(xt,[xt===0?0:(an-1)*Un+1,an*Un>xt?xt:an*Un]));if(mn){Ar&&(typeof Ar=="boolean"?La=se.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ae.jump_to_confirm):La=se.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ar),La=se.createElement("li",{title:wt?"".concat(Ae.jump_to).concat(an,"/").concat(Tt):null,className:"".concat(pt,"-simple-pager")},La));var kn=this.renderPrev(Qa);return se.createElement("ul",(0,z.Z)({className:Ee()(pt,"".concat(pt,"-simple"),(0,re.Z)({},"".concat(pt,"-disabled"),Se),et),style:jt,ref:this.paginationNode},Mt),Ft,kn?se.createElement("li",{title:wt?Ae.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(pt,"-prev"),(0,re.Z)({},"".concat(pt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},kn):null,se.createElement("li",{title:wt?"".concat(an,"/").concat(Tt):null,className:"".concat(pt,"-simple-pager")},se.createElement("input",{type:"text",value:_t,disabled:Se,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),se.createElement("span",{className:"".concat(pt,"-slash")},"/"),Tt),se.createElement("li",{title:wt?Ae.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(pt,"-next"),(0,re.Z)({},"".concat(pt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(rt)),La)}if(Tt<=3+Cr*2){var dn={locale:Ae,rootPrefixCls:pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:wt,itemRender:dt};Tt||Xt.push(se.createElement(Pe,(0,z.Z)({},dn,{key:"noPager",page:1,className:"".concat(pt,"-item-disabled")})));for(var Ln=1;Ln<=Tt;Ln+=1){var Xr=an===Ln;Xt.push(se.createElement(Pe,(0,z.Z)({},dn,{key:Ln,page:Ln,active:Xr})))}}else{var Er=ct?Ae.prev_3:Ae.prev_5,Kr=ct?Ae.next_3:Ae.next_5,oo=dt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(yt,"prev page")),Xa=dt(this.getJumpNextPage(),"jump-next",this.getItemIcon(en,"next page"));Dt&&(Ea=oo?se.createElement("li",{title:wt?Er:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ee()("".concat(pt,"-jump-prev"),(0,re.Z)({},"".concat(pt,"-jump-prev-custom-icon"),!!yt))},oo):null,qn=Xa?se.createElement("li",{title:wt?Kr:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ee()("".concat(pt,"-jump-next"),(0,re.Z)({},"".concat(pt,"-jump-next-custom-icon"),!!en))},Xa):null),Ga=se.createElement(Pe,{locale:Ae,last:!0,rootPrefixCls:pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Tt,page:Tt,active:!1,showTitle:wt,itemRender:dt}),Mn=se.createElement(Pe,{locale:Ae,rootPrefixCls:pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:wt,itemRender:dt});var Nn=Math.max(1,an-Cr),ur=Math.min(an+Cr,Tt);an-1<=Cr&&(ur=1+Cr*2),Tt-an<=Cr&&(Nn=Tt-Cr*2);for(var nr=Nn;nr<=ur;nr+=1){var sr=an===nr;Xt.push(se.createElement(Pe,{locale:Ae,rootPrefixCls:pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:nr,page:nr,active:sr,showTitle:wt,itemRender:dt}))}an-1>=Cr*2&&an!==3&&(Xt[0]=(0,se.cloneElement)(Xt[0],{className:"".concat(pt,"-item-after-jump-prev")}),Xt.unshift(Ea)),Tt-an>=Cr*2&&an!==Tt-2&&(Xt[Xt.length-1]=(0,se.cloneElement)(Xt[Xt.length-1],{className:"".concat(pt,"-item-before-jump-next")}),Xt.push(qn)),Nn!==1&&Xt.unshift(Mn),ur!==Tt&&Xt.push(Ga)}var er=!this.hasPrev()||!Tt,vt=!this.hasNext()||!Tt,qt=this.renderPrev(Qa),tn=this.renderNext(rt);return se.createElement("ul",(0,z.Z)({className:Ee()(pt,et,(0,re.Z)({},"".concat(pt,"-disabled"),Se)),style:jt,ref:this.paginationNode},Mt),Ft,qt?se.createElement("li",{title:wt?Ae.prev_page:null,onClick:this.prev,tabIndex:er?null:0,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(pt,"-prev"),(0,re.Z)({},"".concat(pt,"-disabled"),er)),"aria-disabled":er},qt):null,Xt,tn?se.createElement("li",{title:wt?Ae.next_page:null,onClick:this.next,tabIndex:vt?null:0,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(pt,"-next"),(0,re.Z)({},"".concat(pt,"-disabled"),vt)),"aria-disabled":vt},tn):null,se.createElement(ge,{disabled:Se,locale:Ae,rootPrefixCls:pt,selectComponentClass:Vt,selectPrefixCls:un,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:an,pageSize:Un,pageSizeOptions:Vn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ar}))}}],[{key:"getDerivedStateFromProps",value:function(we,pt){var et={};if("current"in we&&(et.current=we.current,we.current!==pt.current&&(et.currentInputValue=et.current)),"pageSize"in we&&we.pageSize!==pt.pageSize){var jt=pt.current,Se=Ze(we.pageSize,pt,we);jt=jt>Se?Se:jt,"current"in we||(et.current=jt,et.currentInputValue=jt),et.pageSize=we.pageSize}return et}}]),We}(se.Component);mt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:xe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:xe,locale:ae.Z,style:{},itemRender:Be,totalBoundaryShowSizeChanger:50};var De=mt,Ue=te(22075),Ge=te(36355),Ke=te(19716),it=te(8628),at=te(9763),ft=te(57809);const Rt=Oe=>se.createElement(ft.default,Object.assign({},Oe,{showSearch:!0,size:"small"})),kt=Oe=>se.createElement(ft.default,Object.assign({},Oe,{showSearch:!0,size:"middle"}));Rt.Option=ft.default.Option,kt.Option=ft.default.Option;var Ye=te(9937),ut=te(17313),At=te(83116),Nt=te(37613);const Pt=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}}},[`&${ve}-disabled`]:{cursor:"not-allowed",[`${ve}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Oe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Oe.colorBorder,backgroundColor:Oe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Oe.itemActiveBgDisabled},a:{color:Oe.itemActiveColorDisabled}}},[`${ve}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ve}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ve}-simple-pager`]:{color:Oe.colorTextDisabled},[`${ve}-jump-prev, ${ve}-jump-next`]:{[`${ve}-item-link-icon`]:{opacity:0},[`${ve}-item-ellipsis`]:{opacity:1}}},[`&${ve}-simple`]:{[`${ve}-prev, ${ve}-next`]:{[`&${ve}-disabled ${ve}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},sn=Oe=>{const{componentCls:ve}=Oe;return{[`&${ve}-mini ${ve}-total-text, &${ve}-mini ${ve}-simple-pager`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`},[`&${ve}-mini ${ve}-item`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM-2}px`},[`&${ve}-mini:not(${ve}-disabled) ${ve}-item:not(${ve}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},[`&${ve}-mini ${ve}-prev, &${ve}-mini ${ve}-next`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${ve}-mini:not(${ve}-disabled)`]:{[`${ve}-prev, ${ve}-next`]:{[`&:hover ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${ve}-disabled:hover ${ve}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${ve}-mini ${ve}-prev ${ve}-item-link,
|
|
&${ve}-mini ${ve}-next ${ve}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}},[`&${ve}-mini ${ve}-jump-prev, &${ve}-mini ${ve}-jump-next`]:{height:Oe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${ve}-mini ${ve}-options`]:{marginInlineStart:Oe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Oe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ye.x0)(Oe)),{width:Oe.paginationMiniQuickJumperInputWidth,height:Oe.controlHeightSM})}}}},Fe=Oe=>{const{componentCls:ve}=Oe;return{[`
|
|
&${ve}-simple ${ve}-prev,
|
|
&${ve}-simple ${ve}-next
|
|
`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,verticalAlign:"top",[`${ve}-item-link`]:{height:Oe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive},"&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}}},[`&${ve}-simple ${ve}-simple-pager`]:{display:"inline-block",height:Oe.itemSizeSM,marginInlineEnd:Oe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Oe.marginXS,padding:`0 ${Oe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Oe.itemInputBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadius,outline:"none",transition:`border-color ${Oe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Oe.colorPrimary},"&:focus":{borderColor:Oe.colorPrimaryHover,boxShadow:`${Oe.inputOutlineOffset}px 0 ${Oe.controlOutlineWidth}px ${Oe.controlOutline}`},"&[disabled]":{color:Oe.colorTextDisabled,backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,cursor:"not-allowed"}}}}},Qt=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}-jump-prev, ${ve}-jump-next`]:{outline:0,[`${ve}-item-container`]:{position:"relative",[`${ve}-item-link-icon`]:{color:Oe.colorPrimary,fontSize:Oe.fontSizeSM,opacity:0,transition:`all ${Oe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ve}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Oe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Oe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Oe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Oe.motionDurationMid}`}},"&:hover":{[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}}},[`
|
|
${ve}-prev,
|
|
${ve}-jump-prev,
|
|
${ve}-jump-next
|
|
`]:{marginInlineEnd:Oe.marginXS},[`
|
|
${ve}-prev,
|
|
${ve}-next,
|
|
${ve}-jump-prev,
|
|
${ve}-jump-next
|
|
`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,color:Oe.colorText,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Oe.borderRadius,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`},[`${ve}-prev, ${ve}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Oe.colorText,cursor:"pointer",userSelect:"none"},[`${ve}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Oe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:"none",transition:`all ${Oe.motionDurationMid}`},[`&:hover ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${ve}-disabled:hover`]:{[`${ve}-item-link`]:{backgroundColor:"transparent"}}},[`${ve}-slash`]:{marginInlineEnd:Oe.paginationSlashMarginInlineEnd,marginInlineStart:Oe.paginationSlashMarginInlineStart},[`${ve}-options`]:{display:"inline-block",marginInlineStart:Oe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Oe.controlHeight,marginInlineStart:Oe.marginXS,lineHeight:`${Oe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ye.ik)(Oe)),{width:Oe.controlHeightLG*1.25,height:Oe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Oe.marginXS,marginInlineEnd:Oe.marginXS})}}}},Kt=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}-item`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,marginInlineEnd:Oe.marginXS,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Oe.paginationItemPaddingInline}px`,color:Oe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ve}-item-active)`]:{"&:hover":{transition:`all ${Oe.motionDurationMid}`,backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},"&-active":{fontWeight:Oe.fontWeightStrong,backgroundColor:Oe.itemActiveBg,borderColor:Oe.colorPrimary,a:{color:Oe.colorPrimary},"&:hover":{borderColor:Oe.colorPrimaryHover},"&:hover a":{color:Oe.colorPrimaryHover}}}}},Hn=Oe=>{const{componentCls:ve}=Oe;return{[ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(Oe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ve}-total-text`]:{display:"inline-block",height:Oe.itemSize,marginInlineEnd:Oe.marginXS,lineHeight:`${Oe.itemSize-2}px`,verticalAlign:"middle"}}),Kt(Oe)),Qt(Oe)),Fe(Oe)),sn(Oe)),Pt(Oe)),{[`@media only screen and (max-width: ${Oe.screenLG}px)`]:{[`${ve}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Oe.screenSM}px)`]:{[`${ve}-options`]:{display:"none"}}}),[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}}},Jn=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}${ve}-disabled:not(${ve}-mini)`]:{"&, &:hover":{[`${ve}-item-link`]:{borderColor:Oe.colorBorder}},"&:focus-visible":{[`${ve}-item-link`]:{borderColor:Oe.colorBorder}},[`${ve}-item, ${ve}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,[`&:hover:not(${ve}-item-active)`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,a:{color:Oe.colorTextDisabled}},[`&${ve}-item-active`]:{backgroundColor:Oe.itemActiveBgDisabled}},[`${ve}-prev, ${ve}-next`]:{"&:hover button":{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,color:Oe.colorTextDisabled},[`${ve}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder}}},[`${ve}:not(${ve}-mini)`]:{[`${ve}-prev, ${ve}-next`]:{"&:hover button":{borderColor:Oe.colorPrimaryHover,backgroundColor:Oe.itemBg},[`${ve}-item-link`]:{backgroundColor:Oe.itemLinkBg,borderColor:Oe.colorBorder},[`&:hover ${ve}-item-link`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,color:Oe.colorPrimary},[`&${ve}-disabled`]:{[`${ve}-item-link`]:{borderColor:Oe.colorBorder,color:Oe.colorTextDisabled}}},[`${ve}-item`]:{backgroundColor:Oe.itemBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,[`&:hover:not(${ve}-item-active)`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,a:{color:Oe.colorPrimary}},"&-active":{borderColor:Oe.colorPrimary}}}}},Re=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}:not(${ve}-disabled)`]:{[`${ve}-item`]:Object.assign({},(0,ut.Qy)(Oe)),[`${ve}-jump-prev, ${ve}-jump-next`]:{"&:focus-visible":Object.assign({[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}},(0,ut.oN)(Oe))},[`${ve}-prev, ${ve}-next`]:{[`&:focus-visible ${ve}-item-link`]:Object.assign({},(0,ut.oN)(Oe))}}}};var qe=(0,At.Z)("Pagination",Oe=>{const ve=(0,Nt.TS)(Oe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Oe.marginXXS/2,paginationMiniQuickJumperInputWidth:Oe.controlHeightLG*1.1,paginationItemPaddingInline:Oe.marginXXS*1.5,paginationEllipsisLetterSpacing:Oe.marginXXS/2,paginationSlashMarginInlineStart:Oe.marginXXS,paginationSlashMarginInlineEnd:Oe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ye.e5)(Oe),(0,Ye.TM)(Oe));return[Hn(ve),Re(ve),Oe.wireframe&&Jn(ve)]},Oe=>({itemBg:Oe.colorBgContainer,itemSize:Oe.controlHeight,itemSizeSM:Oe.controlHeightSM,itemActiveBg:Oe.colorBgContainer,itemLinkBg:Oe.colorBgContainer,itemActiveColorDisabled:Oe.colorTextDisabled,itemActiveBgDisabled:Oe.controlItemBgActiveDisabled,itemInputBg:Oe.colorBgContainer,miniOptionsSizeChangerTop:0})),tt=function(Oe,ve){var We={};for(var Ve in Oe)Object.prototype.hasOwnProperty.call(Oe,Ve)&&ve.indexOf(Ve)<0&&(We[Ve]=Oe[Ve]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Ve=Object.getOwnPropertySymbols(Oe);we<Ve.length;we++)ve.indexOf(Ve[we])<0&&Object.prototype.propertyIsEnumerable.call(Oe,Ve[we])&&(We[Ve[we]]=Oe[Ve[we]]);return We},ht=Oe=>{const{prefixCls:ve,selectPrefixCls:We,className:Ve,rootClassName:we,style:pt,size:et,locale:jt,selectComponentClass:Se,responsive:st,showSizeChanger:xt}=Oe,Ae=tt(Oe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:_e}=(0,it.Z)(st),{getPrefixCls:ct,direction:wt,pagination:zt={}}=se.useContext(Ge.E_),mn=ct("pagination",ve),[dt,Dt]=qe(mn),yt=xt!=null?xt:zt.showSizeChanger,en=se.useMemo(()=>{const Tt=se.createElement("span",{className:`${mn}-item-ellipsis`},"\u2022\u2022\u2022"),Xt=se.createElement("button",{className:`${mn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?se.createElement(He.Z,null):se.createElement(Te.Z,null)),Ea=se.createElement("button",{className:`${mn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?se.createElement(Te.Z,null):se.createElement(He.Z,null)),qn=se.createElement("a",{className:`${mn}-item-link`},se.createElement("div",{className:`${mn}-item-container`},wt==="rtl"?se.createElement(je.Z,{className:`${mn}-item-link-icon`}):se.createElement(nt,{className:`${mn}-item-link-icon`}),Tt)),Mn=se.createElement("a",{className:`${mn}-item-link`},se.createElement("div",{className:`${mn}-item-container`},wt==="rtl"?se.createElement(nt,{className:`${mn}-item-link-icon`}):se.createElement(je.Z,{className:`${mn}-item-link-icon`}),Tt));return{prevIcon:Xt,nextIcon:Ea,jumpPrevIcon:qn,jumpNextIcon:Mn}},[wt,mn]),[Vt]=(0,at.Z)("Pagination",Ue.Z),un=Object.assign(Object.assign({},Vt),jt),Vn=(0,Ke.Z)(et),fn=Vn==="small"||!!(_e&&!Vn&&st),an=ct("select",We),Un=Ee()({[`${mn}-mini`]:fn,[`${mn}-rtl`]:wt==="rtl"},zt==null?void 0:zt.className,Ve,we,Dt),_t=Object.assign(Object.assign({},zt==null?void 0:zt.style),pt);return dt(se.createElement(De,Object.assign({},en,Ae,{style:_t,prefixCls:mn,selectPrefixCls:an,className:Un,selectComponentClass:Se||(fn?Rt:kt),locale:un,showSizeChanger:yt})))},gt=ht},93948:function(Et,St,te){"use strict";te.d(St,{Z:function(){return xt}});var z=te(59301),se=te(29679),he=te(40001),Ie=te(19248),be=te(99267),Ne=te(92310),ie=te.n(Ne),nt=te(2738),je=te(36355),Te=te(54476),He=te(33885),Me=te(75931),Ee={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},re=function(){var _e=(0,z.useRef)([]),ct=(0,z.useRef)(null);return(0,z.useEffect)(function(){var wt=Date.now(),zt=!1;_e.current.forEach(function(mn){if(mn){zt=!0;var dt=mn.style;dt.transitionDuration=".3s, .3s, .3s, .06s",ct.current&&wt-ct.current<100&&(dt.transitionDuration="0s, 0s")}}),zt&&(ct.current=Date.now())}),_e.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(_e){var ct=(0,He.Z)((0,He.Z)({},Ee),_e),wt=ct.className,zt=ct.percent,mn=ct.prefixCls,dt=ct.strokeColor,Dt=ct.strokeLinecap,yt=ct.strokeWidth,en=ct.style,Vt=ct.trailColor,un=ct.trailWidth,Vn=ct.transition,fn=(0,Me.Z)(ct,a);delete fn.gapPosition;var an=Array.isArray(zt)?zt:[zt],Un=Array.isArray(dt)?dt:[dt],_t=re(),Tt=yt/2,Xt=100-yt/2,Ea="M ".concat(Dt==="round"?Tt:0,",").concat(Tt,`
|
|
L `).concat(Dt==="round"?Xt:100,",").concat(Tt),qn="0 0 100 ".concat(yt),Mn=0;return z.createElement("svg",(0,Te.Z)({className:ie()("".concat(mn,"-line"),wt),viewBox:qn,preserveAspectRatio:"none",style:en},fn),z.createElement("path",{className:"".concat(mn,"-line-trail"),d:Ea,strokeLinecap:Dt,stroke:Vt,strokeWidth:un||yt,fillOpacity:"0"}),an.map(function(Ga,La){var Ar=1;switch(Dt){case"round":Ar=1-yt/100;break;case"square":Ar=1-yt/2/100;break;default:Ar=1;break}var Cr={strokeDasharray:"".concat(Ga*Ar,"px, 100px"),strokeDashoffset:"-".concat(Mn,"px"),transition:Vn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Qa=Un[La]||Un[Un.length-1];return Mn+=Ga,z.createElement("path",{key:La,className:"".concat(mn,"-line-path"),d:Ea,strokeLinecap:Dt,stroke:Qa,strokeWidth:yt,fillOpacity:"0",ref:function(Mt){_t[La]=Mt},style:Cr})}))},b=y,E=te(76190),x=te(42978),ee=te(47273),ne=0,oe=(0,ee.Z)();function ae(){var Ae;return oe?(Ae=ne,ne+=1):Ae="TEST_OR_SSR",Ae}var ue=function(Ae){var _e=z.useState(),ct=(0,x.Z)(_e,2),wt=ct[0],zt=ct[1];return z.useEffect(function(){zt("rc_progress_".concat(ae()))},[]),Ae||wt},ge=function(_e){var ct=_e.bg,wt=_e.children;return z.createElement("div",{style:{width:"100%",height:"100%",background:ct}},wt)};function me(Ae,_e){return Object.keys(Ae).map(function(ct){var wt=parseFloat(ct),zt="".concat(Math.floor(wt*_e),"%");return"".concat(Ae[ct]," ").concat(zt)})}var Pe=z.forwardRef(function(Ae,_e){var ct=Ae.prefixCls,wt=Ae.color,zt=Ae.gradientId,mn=Ae.radius,dt=Ae.style,Dt=Ae.ptg,yt=Ae.strokeLinecap,en=Ae.strokeWidth,Vt=Ae.size,un=Ae.gapDegree,Vn=wt&&(0,E.Z)(wt)==="object",fn=Vn?"#FFF":void 0,an=Vt/2,Un=z.createElement("circle",{className:"".concat(ct,"-circle-path"),r:mn,cx:an,cy:an,stroke:fn,strokeLinecap:yt,strokeWidth:en,opacity:Dt===0?0:1,style:dt,ref:_e});if(!Vn)return Un;var _t="".concat(zt,"-conic"),Tt=un?"".concat(180+un/2,"deg"):"0deg",Xt=me(wt,(360-un)/360),Ea=me(wt,1),qn="conic-gradient(from ".concat(Tt,", ").concat(Xt.join(", "),")"),Mn="linear-gradient(to ".concat(un?"bottom":"top",", ").concat(Ea.join(", "),")");return z.createElement(z.Fragment,null,z.createElement("mask",{id:_t},Un),z.createElement("foreignObject",{x:0,y:0,width:Vt,height:Vt,mask:"url(#".concat(_t,")")},z.createElement(ge,{bg:Mn},z.createElement(ge,{bg:qn}))))}),xe=Pe,ye=100,Be=function(_e,ct,wt,zt,mn,dt,Dt,yt,en,Vt){var un=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Vn=wt/100*360*((360-dt)/360),fn=dt===0?0:{bottom:0,top:180,left:90,right:-90}[Dt],an=(100-zt)/100*ct;en==="round"&&zt!==100&&(an+=Vt/2,an>=ct&&(an=ct-.01));var Un=ye/2;return{stroke:typeof yt=="string"?yt:void 0,strokeDasharray:"".concat(ct,"px ").concat(_e),strokeDashoffset:an+un,transform:"rotate(".concat(mn+Vn+fn,"deg)"),transformOrigin:"".concat(Un,"px ").concat(Un,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Ze=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function mt(Ae){var _e=Ae!=null?Ae:[];return Array.isArray(_e)?_e:[_e]}var De=function(_e){var ct=(0,He.Z)((0,He.Z)({},Ee),_e),wt=ct.id,zt=ct.prefixCls,mn=ct.steps,dt=ct.strokeWidth,Dt=ct.trailWidth,yt=ct.gapDegree,en=yt===void 0?0:yt,Vt=ct.gapPosition,un=ct.trailColor,Vn=ct.strokeLinecap,fn=ct.style,an=ct.className,Un=ct.strokeColor,_t=ct.percent,Tt=(0,Me.Z)(ct,Ze),Xt=ye/2,Ea=ue(wt),qn="".concat(Ea,"-gradient"),Mn=Xt-dt/2,Ga=Math.PI*2*Mn,La=en>0?90+en/2:-90,Ar=Ga*((360-en)/360),Cr=(0,E.Z)(mn)==="object"?mn:{count:mn,space:2},Qa=Cr.count,rt=Cr.space,Mt=mt(_t),Ft=mt(Un),kn=Ft.find(function(Xa){return Xa&&(0,E.Z)(Xa)==="object"}),dn=kn&&(0,E.Z)(kn)==="object",Ln=dn?"butt":Vn,Xr=Be(Ga,Ar,0,100,La,en,Vt,un,Ln,dt),Er=re(),Kr=function(){var Nn=0;return Mt.map(function(ur,nr){var sr=Ft[nr]||Ft[Ft.length-1],er=Be(Ga,Ar,Nn,ur,La,en,Vt,sr,Ln,dt);return Nn+=ur,z.createElement(xe,{key:nr,color:sr,ptg:ur,radius:Mn,prefixCls:zt,gradientId:qn,style:er,strokeLinecap:Ln,strokeWidth:dt,gapDegree:en,ref:function(qt){Er[nr]=qt},size:ye})}).reverse()},oo=function(){var Nn=Math.round(Qa*(Mt[0]/100)),ur=100/Qa,nr=0;return new Array(Qa).fill(null).map(function(sr,er){var vt=er<=Nn-1?Ft[0]:un,qt=vt&&(0,E.Z)(vt)==="object"?"url(#".concat(qn,")"):void 0,tn=Be(Ga,Ar,nr,ur,La,en,Vt,vt,"butt",dt,rt);return nr+=(Ar-tn.strokeDashoffset+rt)*100/Ar,z.createElement("circle",{key:er,className:"".concat(zt,"-circle-path"),r:Mn,cx:Xt,cy:Xt,stroke:qt,strokeWidth:dt,opacity:1,style:tn,ref:function(Rn){Er[er]=Rn}})})};return z.createElement("svg",(0,Te.Z)({className:ie()("".concat(zt,"-circle"),an),viewBox:"0 0 ".concat(ye," ").concat(ye),style:fn,id:wt,role:"presentation"},Tt),!Qa&&z.createElement("circle",{className:"".concat(zt,"-circle-trail"),r:Mn,cx:Xt,cy:Xt,stroke:un,strokeLinecap:Ln,strokeWidth:Dt||dt,style:Xr}),Qa?oo():Kr())},Ue=De,Ge={Line:b,Circle:Ue},Ke=te(6848),it=te(30071);function at(Ae){return!Ae||Ae<0?0:Ae>100?100:Ae}function ft(Ae){let{success:_e,successPercent:ct}=Ae,wt=ct;return _e&&"progress"in _e&&(wt=_e.progress),_e&&"percent"in _e&&(wt=_e.percent),wt}const Rt=Ae=>{let{percent:_e,success:ct,successPercent:wt}=Ae;const zt=at(ft({success:ct,successPercent:wt}));return[zt,at(at(_e)-zt)]},kt=Ae=>{let{success:_e={},strokeColor:ct}=Ae;const{strokeColor:wt}=_e;return[wt||it.presetPrimaryColors.green,ct||null]},Ye=(Ae,_e,ct)=>{var wt,zt,mn,dt;let Dt=-1,yt=-1;if(_e==="step"){const en=ct.steps,Vt=ct.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?(Dt=Ae==="small"?2:14,yt=Vt!=null?Vt:8):typeof Ae=="number"?[Dt,yt]=[Ae,Ae]:[Dt=14,yt=8]=Ae,Dt*=en}else if(_e==="line"){const en=ct==null?void 0:ct.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?yt=en||(Ae==="small"?6:8):typeof Ae=="number"?[Dt,yt]=[Ae,Ae]:[Dt=-1,yt=8]=Ae}else(_e==="circle"||_e==="dashboard")&&(typeof Ae=="string"||typeof Ae=="undefined"?[Dt,yt]=Ae==="small"?[60,60]:[120,120]:typeof Ae=="number"?[Dt,yt]=[Ae,Ae]:(Dt=(zt=(wt=Ae[0])!==null&&wt!==void 0?wt:Ae[1])!==null&&zt!==void 0?zt:120,yt=(dt=(mn=Ae[0])!==null&&mn!==void 0?mn:Ae[1])!==null&&dt!==void 0?dt:120));return[Dt,yt]},ut=3,At=Ae=>ut/Ae*100;var Pt=Ae=>{const{prefixCls:_e,trailColor:ct=null,strokeLinecap:wt="round",gapPosition:zt,gapDegree:mn,width:dt=120,type:Dt,children:yt,success:en,size:Vt=dt}=Ae,[un,Vn]=Ye(Vt,"circle");let{strokeWidth:fn}=Ae;fn===void 0&&(fn=Math.max(At(un),6));const an={width:un,height:Vn,fontSize:un*.15+6},Un=z.useMemo(()=>{if(mn||mn===0)return mn;if(Dt==="dashboard")return 75},[mn,Dt]),_t=zt||Dt==="dashboard"&&"bottom"||void 0,Tt=Object.prototype.toString.call(Ae.strokeColor)==="[object Object]",Xt=kt({success:en,strokeColor:Ae.strokeColor}),Ea=ie()(`${_e}-inner`,{[`${_e}-circle-gradient`]:Tt}),qn=z.createElement(Ue,{percent:Rt(Ae),strokeWidth:fn,trailWidth:fn,strokeColor:Xt,strokeLinecap:wt,trailColor:ct,prefixCls:_e,gapDegree:Un,gapPosition:_t});return z.createElement("div",{className:Ea,style:an},un<=20?z.createElement(Ke.Z,{title:yt},z.createElement("span",null,qn)):z.createElement(z.Fragment,null,qn,yt))},sn=function(Ae,_e){var ct={};for(var wt in Ae)Object.prototype.hasOwnProperty.call(Ae,wt)&&_e.indexOf(wt)<0&&(ct[wt]=Ae[wt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,wt=Object.getOwnPropertySymbols(Ae);zt<wt.length;zt++)_e.indexOf(wt[zt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,wt[zt])&&(ct[wt[zt]]=Ae[wt[zt]]);return ct};const Fe=Ae=>{let _e=[];return Object.keys(Ae).forEach(ct=>{const wt=parseFloat(ct.replace(/%/g,""));isNaN(wt)||_e.push({key:wt,value:Ae[ct]})}),_e=_e.sort((ct,wt)=>ct.key-wt.key),_e.map(ct=>{let{key:wt,value:zt}=ct;return`${zt} ${wt}%`}).join(", ")},Qt=(Ae,_e)=>{const{from:ct=it.presetPrimaryColors.blue,to:wt=it.presetPrimaryColors.blue,direction:zt=_e==="rtl"?"to left":"to right"}=Ae,mn=sn(Ae,["from","to","direction"]);if(Object.keys(mn).length!==0){const dt=Fe(mn);return{backgroundImage:`linear-gradient(${zt}, ${dt})`}}return{backgroundImage:`linear-gradient(${zt}, ${ct}, ${wt})`}};var Hn=Ae=>{const{prefixCls:_e,direction:ct,percent:wt,size:zt,strokeWidth:mn,strokeColor:dt,strokeLinecap:Dt="round",children:yt,trailColor:en=null,success:Vt}=Ae,un=dt&&typeof dt!="string"?Qt(dt,ct):{backgroundColor:dt},Vn=Dt==="square"||Dt==="butt"?0:void 0,fn={backgroundColor:en||void 0,borderRadius:Vn},an=zt!=null?zt:[-1,mn||(zt==="small"?6:8)],[Un,_t]=Ye(an,"line",{strokeWidth:mn}),Tt=Object.assign({width:`${at(wt)}%`,height:_t,borderRadius:Vn},un),Xt=ft(Ae),Ea={width:`${at(Xt)}%`,height:_t,borderRadius:Vn,backgroundColor:Vt==null?void 0:Vt.strokeColor},qn={width:Un<0?"100%":Un,height:_t};return z.createElement(z.Fragment,null,z.createElement("div",{className:`${_e}-outer`,style:qn},z.createElement("div",{className:`${_e}-inner`,style:fn},z.createElement("div",{className:`${_e}-bg`,style:Tt}),Xt!==void 0?z.createElement("div",{className:`${_e}-success-bg`,style:Ea}):null)),yt)},Re=Ae=>{const{size:_e,steps:ct,percent:wt=0,strokeWidth:zt=8,strokeColor:mn,trailColor:dt=null,prefixCls:Dt,children:yt}=Ae,en=Math.round(ct*(wt/100)),Vt=_e==="small"?2:14,un=_e!=null?_e:[Vt,zt],[Vn,fn]=Ye(un,"step",{steps:ct,strokeWidth:zt}),an=Vn/ct,Un=new Array(ct);for(let _t=0;_t<ct;_t++){const Tt=Array.isArray(mn)?mn[_t]:mn;Un[_t]=z.createElement("div",{key:_t,className:ie()(`${Dt}-steps-item`,{[`${Dt}-steps-item-active`]:_t<=en-1}),style:{backgroundColor:_t<=en-1?Tt:dt,width:an,height:fn}})}return z.createElement("div",{className:`${Dt}-steps-outer`},Un,yt)},qe=te(36237),tt=te(17313),Le=te(83116),ht=te(37613);const gt=Ae=>{const _e=Ae?"100%":"-100%";return new qe.Keyframes(`antProgress${Ae?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${_e}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${_e}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Oe=Ae=>{const{componentCls:_e,iconCls:ct}=Ae;return{[_e]:Object.assign(Object.assign({},(0,tt.Wf)(Ae)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ae.fontSize,marginInlineEnd:Ae.marginXS,marginBottom:Ae.marginXS},[`${_e}-outer`]:{display:"inline-block",width:"100%"},[`&${_e}-show-info`]:{[`${_e}-outer`]:{marginInlineEnd:`calc(-2em - ${Ae.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ae.paddingXS}px)`}},[`${_e}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ae.remainingColor,borderRadius:Ae.lineBorderRadius},[`${_e}-inner:not(${_e}-circle-gradient)`]:{[`${_e}-circle-path`]:{stroke:Ae.defaultColor}},[`${_e}-success-bg, ${_e}-bg`]:{position:"relative",backgroundColor:Ae.defaultColor,borderRadius:Ae.lineBorderRadius,transition:`all ${Ae.motionDurationSlow} ${Ae.motionEaseInOutCirc}`},[`${_e}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ae.colorSuccess},[`${_e}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ae.marginXS,color:Ae.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ct]:{fontSize:Ae.fontSize}},[`&${_e}-status-active`]:{[`${_e}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ae.colorBgContainer,borderRadius:Ae.lineBorderRadius,opacity:0,animationName:gt(),animationDuration:Ae.progressActiveMotionDuration,animationTimingFunction:Ae.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${_e}-rtl${_e}-status-active`]:{[`${_e}-bg::before`]:{animationName:gt(!0)}},[`&${_e}-status-exception`]:{[`${_e}-bg`]:{backgroundColor:Ae.colorError},[`${_e}-text`]:{color:Ae.colorError}},[`&${_e}-status-exception ${_e}-inner:not(${_e}-circle-gradient)`]:{[`${_e}-circle-path`]:{stroke:Ae.colorError}},[`&${_e}-status-success`]:{[`${_e}-bg`]:{backgroundColor:Ae.colorSuccess},[`${_e}-text`]:{color:Ae.colorSuccess}},[`&${_e}-status-success ${_e}-inner:not(${_e}-circle-gradient)`]:{[`${_e}-circle-path`]:{stroke:Ae.colorSuccess}}})}},ve=Ae=>{const{componentCls:_e,iconCls:ct}=Ae;return{[_e]:{[`${_e}-circle-trail`]:{stroke:Ae.remainingColor},[`&${_e}-circle ${_e}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${_e}-circle ${_e}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ae.circleTextColor,fontSize:Ae.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ct]:{fontSize:`${Ae.fontSize/Ae.fontSizeSM}em`}},[`${_e}-circle&-status-exception`]:{[`${_e}-text`]:{color:Ae.colorError}},[`${_e}-circle&-status-success`]:{[`${_e}-text`]:{color:Ae.colorSuccess}}},[`${_e}-inline-circle`]:{lineHeight:1,[`${_e}-inner`]:{verticalAlign:"bottom"}}}},We=Ae=>{const{componentCls:_e}=Ae;return{[_e]:{[`${_e}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ae.progressStepMinWidth,marginInlineEnd:Ae.progressStepMarginInlineEnd,backgroundColor:Ae.remainingColor,transition:`all ${Ae.motionDurationSlow}`,"&-active":{backgroundColor:Ae.defaultColor}}}}}},Ve=Ae=>{const{componentCls:_e,iconCls:ct}=Ae;return{[_e]:{[`${_e}-small&-line, ${_e}-small&-line ${_e}-text ${ct}`]:{fontSize:Ae.fontSizeSM}}}};var we=(0,Le.Z)("Progress",Ae=>{const _e=Ae.marginXXS/2,ct=(0,ht.TS)(Ae,{progressStepMarginInlineEnd:_e,progressStepMinWidth:_e,progressActiveMotionDuration:"2.4s"});return[Oe(ct),ve(ct),We(ct),Ve(ct)]},Ae=>({circleTextColor:Ae.colorText,defaultColor:Ae.colorInfo,remainingColor:Ae.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),pt=function(Ae,_e){var ct={};for(var wt in Ae)Object.prototype.hasOwnProperty.call(Ae,wt)&&_e.indexOf(wt)<0&&(ct[wt]=Ae[wt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,wt=Object.getOwnPropertySymbols(Ae);zt<wt.length;zt++)_e.indexOf(wt[zt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,wt[zt])&&(ct[wt[zt]]=Ae[wt[zt]]);return ct};const et=null,jt=["normal","exception","active","success"];var st=z.forwardRef((Ae,_e)=>{const{prefixCls:ct,className:wt,rootClassName:zt,steps:mn,strokeColor:dt,percent:Dt=0,size:yt="default",showInfo:en=!0,type:Vt="line",status:un,format:Vn,style:fn}=Ae,an=pt(Ae,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Un=z.useMemo(()=>{var Mt,Ft;const kn=ft(Ae);return parseInt(kn!==void 0?(Mt=kn!=null?kn:0)===null||Mt===void 0?void 0:Mt.toString():(Ft=Dt!=null?Dt:0)===null||Ft===void 0?void 0:Ft.toString(),10)},[Dt,Ae.success,Ae.successPercent]),_t=z.useMemo(()=>!jt.includes(un)&&Un>=100?"success":un||"normal",[un,Un]),{getPrefixCls:Tt,direction:Xt,progress:Ea}=z.useContext(je.E_),qn=Tt("progress",ct),[Mn,Ga]=we(qn),La=z.useMemo(()=>{if(!en)return null;const Mt=ft(Ae);let Ft;const kn=Vn||(Ln=>`${Ln}%`),dn=Vt==="line";return Vn||_t!=="exception"&&_t!=="success"?Ft=kn(at(Dt),at(Mt)):_t==="exception"?Ft=dn?z.createElement(Ie.Z,null):z.createElement(be.Z,null):_t==="success"&&(Ft=dn?z.createElement(se.Z,null):z.createElement(he.Z,null)),z.createElement("span",{className:`${qn}-text`,title:typeof Ft=="string"?Ft:void 0},Ft)},[en,Dt,Un,_t,Vt,qn,Vn]),Ar=Array.isArray(dt)?dt[0]:dt,Cr=typeof dt=="string"||Array.isArray(dt)?dt:void 0;let Qa;Vt==="line"?Qa=mn?z.createElement(Re,Object.assign({},Ae,{strokeColor:Cr,prefixCls:qn,steps:mn}),La):z.createElement(Hn,Object.assign({},Ae,{strokeColor:Ar,prefixCls:qn,direction:Xt}),La):(Vt==="circle"||Vt==="dashboard")&&(Qa=z.createElement(Pt,Object.assign({},Ae,{strokeColor:Ar,prefixCls:qn,progressStatus:_t}),La));const rt=ie()(qn,`${qn}-status-${_t}`,`${qn}-${Vt==="dashboard"&&"circle"||mn&&"steps"||Vt}`,{[`${qn}-inline-circle`]:Vt==="circle"&&Ye(yt,"circle")[0]<=20,[`${qn}-show-info`]:en,[`${qn}-${yt}`]:typeof yt=="string",[`${qn}-rtl`]:Xt==="rtl"},Ea==null?void 0:Ea.className,wt,zt,Ga);return Mn(z.createElement("div",Object.assign({ref:_e,style:Object.assign(Object.assign({},Ea==null?void 0:Ea.style),fn),className:rt,role:"progressbar","aria-valuenow":Un},(0,nt.Z)(an,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Qa))}),xt=st},15969:function(Et,St,te){"use strict";te.d(St,{N:function(){return z}});const z=se=>({color:se.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${se.motionDurationSlow}`,"&:focus, &:hover":{color:se.colorLinkHover},"&:active":{color:se.colorLinkActive}})},1710:function(Et,St,te){"use strict";te.d(St,{default:function(){return Ci}});var z={},se="rc-table-internal-hook",he=te(42978),Ie=te(6089),be=te(34280),Ne=te(13697),ie=te(59301),nt=te(4676);function je(ce){var pe=ie.createContext(void 0),ze=function(ot){var lt=ot.value,Ot=ot.children,Lt=ie.useRef(lt);Lt.current=lt;var Bt=ie.useState(function(){return{getValue:function(){return Lt.current},listeners:new Set}}),$t=(0,he.Z)(Bt,1),Gt=$t[0];return(0,be.Z)(function(){(0,nt.unstable_batchedUpdates)(function(){Gt.listeners.forEach(function(Wt){Wt(lt)})})},[lt]),ie.createElement(pe.Provider,{value:Gt},Ot)};return{Context:pe,Provider:ze,defaultValue:ce}}function Te(ce,pe){var ze=(0,Ie.Z)(typeof pe=="function"?pe:function(Wt){if(pe===void 0)return Wt;if(!Array.isArray(pe))return Wt[pe];var En={};return pe.forEach(function(Sn){En[Sn]=Wt[Sn]}),En}),$e=ie.useContext(ce==null?void 0:ce.Context),ot=$e||{},lt=ot.listeners,Ot=ot.getValue,Lt=ie.useRef();Lt.current=ze($e?Ot():ce==null?void 0:ce.defaultValue);var Bt=ie.useState({}),$t=(0,he.Z)(Bt,2),Gt=$t[1];return(0,be.Z)(function(){if(!$e)return;function Wt(En){var Sn=ze(En);(0,Ne.Z)(Lt.current,Sn,!0)||Gt({})}return lt.add(Wt),function(){lt.delete(Wt)}},[$e]),Lt.current}var He=te(54476),Me=te(8654);function Ee(){var ce=ie.createContext(null);function pe(){return ie.useContext(ce)}function ze(ot,lt){var Ot=(0,Me.Yr)(ot),Lt=function($t,Gt){var Wt=Ot?{ref:Gt}:{},En=ie.useRef(0),Sn=ie.useRef($t),wn=pe();return wn!==null?ie.createElement(ot,(0,He.Z)({},$t,Wt)):((!lt||lt(Sn.current,$t))&&(En.current+=1),Sn.current=$t,ie.createElement(ce.Provider,{value:En.current},ie.createElement(ot,(0,He.Z)({},$t,Wt))))};return Ot?ie.forwardRef(Lt):Lt}function $e(ot,lt){var Ot=(0,Me.Yr)(ot),Lt=function($t,Gt){var Wt=Ot?{ref:Gt}:{};return pe(),ie.createElement(ot,(0,He.Z)({},$t,Wt))};return Ot?ie.memo(ie.forwardRef(Lt),lt):ie.memo(Lt,lt)}return{makeImmutable:ze,responseImmutable:$e,useImmutableMark:pe}}var re=Ee(),a=re.makeImmutable,y=re.responseImmutable,b=re.useImmutableMark,E=Ee(),x=E.makeImmutable,ee=E.responseImmutable,ne=E.useImmutableMark,oe=je(),ae=oe;function ue(ce,pe){var ze=ie.useRef(0);ze.current+=1;var $e=ie.useRef(ce),ot=[];Object.keys(ce||{}).map(function(Ot){var Lt;(ce==null?void 0:ce[Ot])!==((Lt=$e.current)===null||Lt===void 0?void 0:Lt[Ot])&&ot.push(Ot)}),$e.current=ce;var lt=ie.useRef([]);return ot.length&&(lt.current=ot),ie.useDebugValue(ze.current),ie.useDebugValue(lt.current.join(", ")),pe&&console.log("".concat(pe,":"),ze.current,lt.current),ze.current}var ge=null,me=ie.memo(function(){var ce=ue();return ie.createElement("h1",null,"Render Times: ",ce)});me.displayName="RenderBlock";var Pe=te(76190),xe=te(33885),ye=te(20068),Be=te(92310),Ze=te.n(Be),mt=te(80547),De=te(97938),Ue=te(48736),Ge=ie.createContext({renderWithProps:!1}),Ke=Ge,it="RC_TABLE_KEY";function at(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function ft(ce){var pe=[],ze={};return ce.forEach(function($e){for(var ot=$e||{},lt=ot.key,Ot=ot.dataIndex,Lt=lt||at(Ot).join("-")||it;ze[Lt];)Lt="".concat(Lt,"_next");ze[Lt]=!0,pe.push(Lt)}),pe}function Rt(ce){return ce!=null}function kt(ce){return ce&&(0,Pe.Z)(ce)==="object"&&!Array.isArray(ce)&&!ie.isValidElement(ce)}function Ye(ce,pe,ze,$e,ot,lt){var Ot=ie.useContext(Ke),Lt=ne(),Bt=(0,mt.Z)(function(){if(Rt($e))return[$e];var $t=pe==null||pe===""?[]:Array.isArray(pe)?pe:[pe],Gt=(0,De.Z)(ce,$t),Wt=Gt,En=void 0;if(ot){var Sn=ot(Gt,ce,ze);kt(Sn)?(Wt=Sn.children,En=Sn.props,Ot.renderWithProps=!0):Wt=Sn}return[Wt,En]},[Lt,ce,$e,pe,ot,ze],function($t,Gt){if(lt){var Wt=(0,he.Z)($t,2),En=Wt[1],Sn=(0,he.Z)(Gt,2),wn=Sn[1];return lt(wn,En)}return Ot.renderWithProps?!0:!(0,Ne.Z)($t,Gt,!0)});return Bt}function ut(ce,pe,ze,$e){var ot=ce+pe-1;return ce<=$e&&ot>=ze}function At(ce,pe){return Te(ae,function(ze){var $e=ut(ce,pe||1,ze.hoverStartRow,ze.hoverEndRow);return[$e,ze.onHover]})}var Nt=function(pe){var ze=pe.ellipsis,$e=pe.rowType,ot=pe.children,lt,Ot=ze===!0?{showTitle:!0}:ze;return Ot&&(Ot.showTitle||$e==="header")&&(typeof ot=="string"||typeof ot=="number"?lt=ot.toString():ie.isValidElement(ot)&&typeof ot.props.children=="string"&&(lt=ot.props.children)),lt};function Pt(ce){var pe,ze,$e,ot,lt,Ot,Lt,Bt,$t=ce.component,Gt=ce.children,Wt=ce.ellipsis,En=ce.scope,Sn=ce.prefixCls,wn=ce.className,Kn=ce.align,Zn=ce.record,ua=ce.render,ta=ce.dataIndex,ma=ce.renderIndex,Ya=ce.shouldCellUpdate,rr=ce.index,ka=ce.rowType,Ja=ce.colSpan,Dr=ce.rowSpan,Sa=ce.fixLeft,_a=ce.fixRight,wa=ce.firstFixLeft,da=ce.lastFixLeft,fa=ce.firstFixRight,qa=ce.lastFixRight,Gr=ce.appendNode,Lr=ce.additionalProps,Ka=Lr===void 0?{}:Lr,zr=ce.isSticky,Wr="".concat(Sn,"-cell"),Jr=Te(ae,["supportSticky","allColumnsFixedLeft"]),Vr=Jr.supportSticky,Vo=Jr.allColumnsFixedLeft,lo=Ye(Zn,ta,ma,Gt,ua,Ya),vr=(0,he.Z)(lo,2),ei=vr[0],cr=vr[1],ko={},Ao=typeof Sa=="number"&&Vr,fi=typeof _a=="number"&&Vr;Ao&&(ko.position="sticky",ko.left=Sa),fi&&(ko.position="sticky",ko.right=_a);var gr=(pe=(ze=($e=cr==null?void 0:cr.colSpan)!==null&&$e!==void 0?$e:Ka.colSpan)!==null&&ze!==void 0?ze:Ja)!==null&&pe!==void 0?pe:1,or=(ot=(lt=(Ot=cr==null?void 0:cr.rowSpan)!==null&&Ot!==void 0?Ot:Ka.rowSpan)!==null&<!==void 0?lt:Dr)!==null&&ot!==void 0?ot:1,ir=At(rr,or),Wa=(0,he.Z)(ir,2),Na=Wa[0],Bn=Wa[1],va=function(lr){var Ri;Zn&&Bn(rr,rr+or-1),Ka==null||(Ri=Ka.onMouseEnter)===null||Ri===void 0||Ri.call(Ka,lr)},Br=function(lr){var Ri;Zn&&Bn(-1,-1),Ka==null||(Ri=Ka.onMouseLeave)===null||Ri===void 0||Ri.call(Ka,lr)};if(gr===0||or===0)return null;var Qr=(Lt=Ka.title)!==null&&Lt!==void 0?Lt:Nt({rowType:ka,ellipsis:Wt,children:ei}),Ni=Ze()(Wr,wn,(Bt={},(0,ye.Z)(Bt,"".concat(Wr,"-fix-left"),Ao&&Vr),(0,ye.Z)(Bt,"".concat(Wr,"-fix-left-first"),wa&&Vr),(0,ye.Z)(Bt,"".concat(Wr,"-fix-left-last"),da&&Vr),(0,ye.Z)(Bt,"".concat(Wr,"-fix-left-all"),da&&Vo&&Vr),(0,ye.Z)(Bt,"".concat(Wr,"-fix-right"),fi&&Vr),(0,ye.Z)(Bt,"".concat(Wr,"-fix-right-first"),fa&&Vr),(0,ye.Z)(Bt,"".concat(Wr,"-fix-right-last"),qa&&Vr),(0,ye.Z)(Bt,"".concat(Wr,"-ellipsis"),Wt),(0,ye.Z)(Bt,"".concat(Wr,"-with-append"),Gr),(0,ye.Z)(Bt,"".concat(Wr,"-fix-sticky"),(Ao||fi)&&zr&&Vr),(0,ye.Z)(Bt,"".concat(Wr,"-row-hover"),!cr&&Na),Bt),Ka.className,cr==null?void 0:cr.className),bi={};Kn&&(bi.textAlign=Kn);var Ji=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},ko),Ka.style),bi),cr==null?void 0:cr.style),si=ei;return(0,Pe.Z)(si)==="object"&&!Array.isArray(si)&&!ie.isValidElement(si)&&(si=null),Wt&&(da||fa)&&(si=ie.createElement("span",{className:"".concat(Wr,"-content")},si)),ie.createElement($t,(0,He.Z)({},cr,Ka,{className:Ni,style:Ji,title:Qr,scope:En,onMouseEnter:va,onMouseLeave:Br,colSpan:gr!==1?gr:null,rowSpan:or!==1?or:null}),Gr,si)}var sn=ie.memo(Pt);function Fe(ce,pe,ze,$e,ot,lt){var Ot=ze[ce]||{},Lt=ze[pe]||{},Bt,$t;Ot.fixed==="left"?Bt=$e.left[ot==="rtl"?pe:ce]:Lt.fixed==="right"&&($t=$e.right[ot==="rtl"?ce:pe]);var Gt=!1,Wt=!1,En=!1,Sn=!1,wn=ze[pe+1],Kn=ze[ce-1],Zn=!(lt!=null&<.children);if(ot==="rtl"){if(Bt!==void 0){var ua=Kn&&Kn.fixed==="left";Sn=!ua&&Zn}else if($t!==void 0){var ta=wn&&wn.fixed==="right";En=!ta&&Zn}}else if(Bt!==void 0){var ma=wn&&wn.fixed==="left";Gt=!ma&&Zn}else if($t!==void 0){var Ya=Kn&&Kn.fixed==="right";Wt=!Ya&&Zn}return{fixLeft:Bt,fixRight:$t,lastFixLeft:Gt,firstFixRight:Wt,lastFixRight:En,firstFixLeft:Sn,isSticky:$e.isSticky}}var Qt=ie.createContext({}),Kt=Qt;function Hn(ce){var pe=ce.className,ze=ce.index,$e=ce.children,ot=ce.colSpan,lt=ot===void 0?1:ot,Ot=ce.rowSpan,Lt=ce.align,Bt=Te(ae,["prefixCls","direction"]),$t=Bt.prefixCls,Gt=Bt.direction,Wt=ie.useContext(Kt),En=Wt.scrollColumnIndex,Sn=Wt.stickyOffsets,wn=Wt.flattenColumns,Kn=Wt.columns,Zn=ze+lt-1,ua=Zn+1===En?lt+1:lt,ta=Fe(ze,ze+ua-1,wn,Sn,Gt,Kn==null?void 0:Kn[ze]);return ie.createElement(sn,(0,He.Z)({className:pe,index:ze,component:"td",prefixCls:$t,record:null,dataIndex:null,align:Lt,colSpan:ua,rowSpan:Ot,render:function(){return $e}},ta))}var Jn=te(75931),Re=["children"];function qe(ce){var pe=ce.children,ze=(0,Jn.Z)(ce,Re);return ie.createElement("tr",ze,pe)}function tt(ce){var pe=ce.children;return pe}tt.Row=qe,tt.Cell=Hn;var Le=tt;function ht(ce){var pe=ce.children,ze=ce.stickyOffsets,$e=ce.flattenColumns,ot=ce.columns,lt=Te(ae,"prefixCls"),Ot=$e.length-1,Lt=$e[Ot],Bt=ie.useMemo(function(){return{stickyOffsets:ze,flattenColumns:$e,scrollColumnIndex:Lt!=null&&Lt.scrollbar?Ot:null,columns:ot}},[Lt,$e,Ot,ze,ot]);return ie.createElement(Kt.Provider,{value:Bt},ie.createElement("tfoot",{className:"".concat(lt,"-summary")},pe))}var gt=ee(ht),Oe=Le,ve=te(70425),We=te(29301),Ve=te(29194),we=te(24514),pt=te(75152),et=te(26112);function jt(ce,pe,ze,$e,ot,lt,Ot){ce.push({record:pe,indent:ze,index:Ot});var Lt=lt(pe),Bt=ot==null?void 0:ot.has(Lt);if(pe&&Array.isArray(pe[$e])&&Bt)for(var $t=0;$t<pe[$e].length;$t+=1)jt(ce,pe[$e][$t],ze+1,$e,ot,lt,$t)}function Se(ce,pe,ze,$e){var ot=ie.useMemo(function(){if(ze!=null&&ze.size){for(var lt=[],Ot=0;Ot<(ce==null?void 0:ce.length);Ot+=1){var Lt=ce[Ot];jt(lt,Lt,0,pe,ze,$e,Ot)}return lt}return ce==null?void 0:ce.map(function(Bt,$t){return{record:Bt,indent:0,index:$t}})},[ce,pe,ze,$e]);return ot}function st(ce){var pe=ce.prefixCls,ze=ce.children,$e=ce.component,ot=ce.cellComponent,lt=ce.className,Ot=ce.expanded,Lt=ce.colSpan,Bt=ce.isEmpty,$t=Te(ae,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Gt=$t.scrollbarSize,Wt=$t.fixHeader,En=$t.fixColumn,Sn=$t.componentWidth,wn=$t.horizonScroll,Kn=ze;return(Bt?wn&&Sn:En)&&(Kn=ie.createElement("div",{style:{width:Sn-(Wt?Gt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(pe,"-expanded-row-fixed")},Kn)),ie.createElement($e,{className:lt,style:{display:Ot?null:"none"}},ie.createElement(sn,{component:ot,prefixCls:pe,colSpan:Lt},Kn))}var xt=st;function Ae(ce,pe,ze,$e){var ot=Te(ae,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),lt=ot.flattenColumns,Ot=ot.expandableType,Lt=ot.expandedKeys,Bt=ot.childrenColumnName,$t=ot.onTriggerExpand,Gt=ot.rowExpandable,Wt=ot.onRow,En=ot.expandRowByClick,Sn=ot.rowClassName,wn=Ot==="nest",Kn=Ot==="row"&&(!Gt||Gt(ce)),Zn=Kn||wn,ua=Lt&&Lt.has(pe),ta=Bt&&ce&&ce[Bt],ma=(0,ve.useEvent)($t),Ya=Wt==null?void 0:Wt(ce,ze),rr=Ya==null?void 0:Ya.onClick,ka=function(_a){En&&Zn&&$t(ce,_a);for(var wa=arguments.length,da=new Array(wa>1?wa-1:0),fa=1;fa<wa;fa++)da[fa-1]=arguments[fa];rr==null||rr.apply(void 0,[_a].concat(da))},Ja;typeof Sn=="string"?Ja=Sn:typeof Sn=="function"&&(Ja=Sn(ce,ze,$e));var Dr=ft(lt);return(0,xe.Z)((0,xe.Z)({},ot),{},{columnsKey:Dr,nestExpandable:wn,expanded:ua,hasNestChildren:ta,record:ce,onTriggerExpand:ma,rowSupportExpand:Kn,expandable:Zn,rowProps:(0,xe.Z)((0,xe.Z)({},Ya),{},{className:Ze()(Ja,Ya==null?void 0:Ya.className),onClick:ka})})}function _e(ce,pe,ze,$e,ot){var lt=ce.record,Ot=ce.prefixCls,Lt=ce.columnsKey,Bt=ce.fixedInfoList,$t=ce.expandIconColumnIndex,Gt=ce.nestExpandable,Wt=ce.indentSize,En=ce.expandIcon,Sn=ce.expanded,wn=ce.hasNestChildren,Kn=ce.onTriggerExpand,Zn=Lt[ze],ua=Bt[ze],ta;ze===($t||0)&&Gt&&(ta=ie.createElement(ie.Fragment,null,ie.createElement("span",{style:{paddingLeft:"".concat(Wt*$e,"px")},className:"".concat(Ot,"-row-indent indent-level-").concat($e)}),En({prefixCls:Ot,expanded:Sn,expandable:wn,record:lt,onExpand:Kn})));var ma;return pe.onCell&&(ma=pe.onCell(lt,ot)),{key:Zn,fixedInfo:ua,appendCellNode:ta,additionalCellProps:ma||{}}}function ct(ce){var pe=ce.className,ze=ce.style,$e=ce.record,ot=ce.index,lt=ce.renderIndex,Ot=ce.rowKey,Lt=ce.indent,Bt=Lt===void 0?0:Lt,$t=ce.rowComponent,Gt=ce.cellComponent,Wt=ce.scopeCellComponent,En=Ae($e,Ot,ot,Bt),Sn=En.prefixCls,wn=En.flattenColumns,Kn=En.expandedRowClassName,Zn=En.expandedRowRender,ua=En.rowProps,ta=En.expanded,ma=En.rowSupportExpand,Ya=ie.useState(!1),rr=(0,he.Z)(Ya,2),ka=rr[0],Ja=rr[1];ie.useEffect(function(){ta&&Ja(!0)},[ta]);var Dr=ie.createElement($t,(0,He.Z)({},ua,{"data-row-key":Ot,className:Ze()(pe,"".concat(Sn,"-row"),"".concat(Sn,"-row-level-").concat(Bt),ua==null?void 0:ua.className),style:(0,xe.Z)((0,xe.Z)({},ze),ua==null?void 0:ua.style)}),wn.map(function(da,fa){var qa=da.render,Gr=da.dataIndex,Lr=da.className,Ka=_e(En,da,fa,Bt,ot),zr=Ka.key,Wr=Ka.fixedInfo,Jr=Ka.appendCellNode,Vr=Ka.additionalCellProps;return ie.createElement(sn,(0,He.Z)({className:Lr,ellipsis:da.ellipsis,align:da.align,scope:da.rowScope,component:da.rowScope?Wt:Gt,prefixCls:Sn,key:zr,record:$e,index:ot,renderIndex:lt,dataIndex:Gr,render:qa,shouldCellUpdate:da.shouldCellUpdate},Wr,{appendNode:Jr,additionalProps:Vr}))})),Sa;if(ma&&(ka||ta)){var _a=Zn($e,ot,Bt+1,ta),wa=Kn&&Kn($e,ot,Bt);Sa=ie.createElement(xt,{expanded:ta,className:Ze()("".concat(Sn,"-expanded-row"),"".concat(Sn,"-expanded-row-level-").concat(Bt+1),wa),prefixCls:Sn,component:$t,cellComponent:Gt,colSpan:wn.length,isEmpty:!1},_a)}return ie.createElement(ie.Fragment,null,Dr,Sa)}ct.displayName="BodyRow";var wt=ee(ct);function zt(ce){var pe=ce.columnKey,ze=ce.onColumnResize,$e=ie.useRef();return ie.useEffect(function(){$e.current&&ze(pe,$e.current.offsetWidth)},[]),ie.createElement(We.Z,{data:pe},ie.createElement("td",{ref:$e,style:{padding:0,border:0,height:0}},ie.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function mn(ce){var pe=ce.prefixCls,ze=ce.columnsKey,$e=ce.onColumnResize;return ie.createElement("tr",{"aria-hidden":"true",className:"".concat(pe,"-measure-row"),style:{height:0,fontSize:0}},ie.createElement(We.Z.Collection,{onBatchResize:function(lt){lt.forEach(function(Ot){var Lt=Ot.data,Bt=Ot.size;$e(Lt,Bt.offsetWidth)})}},ze.map(function(ot){return ie.createElement(zt,{key:ot,columnKey:ot,onColumnResize:$e})})))}function dt(ce){var pe=ce.data,ze=ce.measureColumnWidth,$e=Te(ae,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ot=$e.prefixCls,lt=$e.getComponent,Ot=$e.onColumnResize,Lt=$e.flattenColumns,Bt=$e.getRowKey,$t=$e.expandedKeys,Gt=$e.childrenColumnName,Wt=$e.emptyNode,En=Se(pe,Gt,$t,Bt),Sn=ie.useRef({renderWithProps:!1}),wn=lt(["body","wrapper"],"tbody"),Kn=lt(["body","row"],"tr"),Zn=lt(["body","cell"],"td"),ua=lt(["body","cell"],"th"),ta;pe.length?ta=En.map(function(Ya,rr){var ka=Ya.record,Ja=Ya.indent,Dr=Ya.index,Sa=Bt(ka,rr);return ie.createElement(wt,{key:Sa,rowKey:Sa,record:ka,index:rr,renderIndex:Dr,rowComponent:Kn,cellComponent:Zn,scopeCellComponent:ua,getRowKey:Bt,indent:Ja})}):ta=ie.createElement(xt,{expanded:!0,className:"".concat(ot,"-placeholder"),prefixCls:ot,component:Kn,cellComponent:Zn,colSpan:Lt.length,isEmpty:!0},Wt);var ma=ft(Lt);return ie.createElement(Ke.Provider,{value:Sn.current},ie.createElement(wn,{className:"".concat(ot,"-tbody")},ze&&ie.createElement(mn,{prefixCls:ot,columnsKey:ma,onColumnResize:Ot}),ta))}dt.displayName="Body";var Dt=ee(dt),yt=["expandable"],en="RC_TABLE_INTERNAL_COL_DEFINE";function Vt(ce){var pe=ce.expandable,ze=(0,Jn.Z)(ce,yt),$e;return"expandable"in ce?$e=(0,xe.Z)((0,xe.Z)({},ze),pe):$e=ze,$e.showExpandColumn===!1&&($e.expandIconColumnIndex=-1),$e}var un=["columnType"];function Vn(ce){for(var pe=ce.colWidths,ze=ce.columns,$e=ce.columCount,ot=[],lt=$e||ze.length,Ot=!1,Lt=lt-1;Lt>=0;Lt-=1){var Bt=pe[Lt],$t=ze&&ze[Lt],Gt=$t&&$t[en];if(Bt||Gt||Ot){var Wt=Gt||{},En=Wt.columnType,Sn=(0,Jn.Z)(Wt,un);ot.unshift(ie.createElement("col",(0,He.Z)({key:Lt,style:{width:Bt}},Sn))),Ot=!0}}return ie.createElement("colgroup",null,ot)}var fn=Vn,an=te(94480),Un=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _t(ce,pe){return(0,ie.useMemo)(function(){for(var ze=[],$e=0;$e<pe;$e+=1){var ot=ce[$e];if(ot!==void 0)ze[$e]=ot;else return null}return ze},[ce.join("_"),pe])}var Tt=ie.forwardRef(function(ce,pe){var ze=ce.className,$e=ce.noData,ot=ce.columns,lt=ce.flattenColumns,Ot=ce.colWidths,Lt=ce.columCount,Bt=ce.stickyOffsets,$t=ce.direction,Gt=ce.fixHeader,Wt=ce.stickyTopOffset,En=ce.stickyBottomOffset,Sn=ce.stickyClassName,wn=ce.onScroll,Kn=ce.maxContentScroll,Zn=ce.children,ua=(0,Jn.Z)(ce,Un),ta=Te(ae,["prefixCls","scrollbarSize","isSticky"]),ma=ta.prefixCls,Ya=ta.scrollbarSize,rr=ta.isSticky,ka=rr&&!Gt?0:Ya,Ja=ie.useRef(null),Dr=ie.useCallback(function(Lr){(0,Me.mH)(pe,Lr),(0,Me.mH)(Ja,Lr)},[]);ie.useEffect(function(){var Lr;function Ka(zr){var Wr=zr,Jr=Wr.currentTarget,Vr=Wr.deltaX;Vr&&(wn({currentTarget:Jr,scrollLeft:Jr.scrollLeft+Vr}),zr.preventDefault())}return(Lr=Ja.current)===null||Lr===void 0||Lr.addEventListener("wheel",Ka),function(){var zr;(zr=Ja.current)===null||zr===void 0||zr.removeEventListener("wheel",Ka)}},[]);var Sa=ie.useMemo(function(){return lt.every(function(Lr){return Lr.width})},[lt]),_a=lt[lt.length-1],wa={fixed:_a?_a.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(ma,"-cell-scrollbar")}}},da=(0,ie.useMemo)(function(){return ka?[].concat((0,an.Z)(ot),[wa]):ot},[ka,ot]),fa=(0,ie.useMemo)(function(){return ka?[].concat((0,an.Z)(lt),[wa]):lt},[ka,lt]),qa=(0,ie.useMemo)(function(){var Lr=Bt.right,Ka=Bt.left;return(0,xe.Z)((0,xe.Z)({},Bt),{},{left:$t==="rtl"?[].concat((0,an.Z)(Ka.map(function(zr){return zr+ka})),[0]):Ka,right:$t==="rtl"?Lr:[].concat((0,an.Z)(Lr.map(function(zr){return zr+ka})),[0]),isSticky:rr})},[ka,Bt,rr]),Gr=_t(Ot,Lt);return ie.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},rr?{top:Wt,bottom:En}:{}),ref:Dr,className:Ze()(ze,(0,ye.Z)({},Sn,!!Sn))},ie.createElement("table",{style:{tableLayout:"fixed",visibility:$e||Gr?null:"hidden"}},(!$e||!Kn||Sa)&&ie.createElement(fn,{colWidths:Gr?[].concat((0,an.Z)(Gr),[ka]):[],columCount:Lt+1,columns:fa}),Zn((0,xe.Z)((0,xe.Z)({},ua),{},{stickyOffsets:qa,columns:da,flattenColumns:fa}))))});Tt.displayName="FixedHolder";var Xt=ie.memo(Tt);function Ea(ce){var pe=ce.cells,ze=ce.stickyOffsets,$e=ce.flattenColumns,ot=ce.rowComponent,lt=ce.cellComponent,Ot=ce.tdCellComponent,Lt=ce.onHeaderRow,Bt=ce.index,$t=Te(ae,["prefixCls","direction"]),Gt=$t.prefixCls,Wt=$t.direction,En;Lt&&(En=Lt(pe.map(function(wn){return wn.column}),Bt));var Sn=ft(pe.map(function(wn){return wn.column}));return ie.createElement(ot,En,pe.map(function(wn,Kn){var Zn=wn.column,ua=Fe(wn.colStart,wn.colEnd,$e,ze,Wt,Zn),ta;return Zn&&Zn.onHeaderCell&&(ta=wn.column.onHeaderCell(Zn)),ie.createElement(sn,(0,He.Z)({},wn,{scope:Zn.title?wn.colSpan>1?"colgroup":"col":null,ellipsis:Zn.ellipsis,align:Zn.align,component:Zn.title?lt:Ot,prefixCls:Gt,key:Sn[Kn]},ua,{additionalProps:ta,rowType:"header"}))}))}Ea.displayName="HeaderRow";var qn=Ea;function Mn(ce){var pe=[];function ze(Ot,Lt){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;pe[Bt]=pe[Bt]||[];var $t=Lt,Gt=Ot.filter(Boolean).map(function(Wt){var En={key:Wt.key,className:Wt.className||"",children:Wt.title,column:Wt,colStart:$t},Sn=1,wn=Wt.children;return wn&&wn.length>0&&(Sn=ze(wn,$t,Bt+1).reduce(function(Kn,Zn){return Kn+Zn},0),En.hasSubColumns=!0),"colSpan"in Wt&&(Sn=Wt.colSpan),"rowSpan"in Wt&&(En.rowSpan=Wt.rowSpan),En.colSpan=Sn,En.colEnd=En.colStart+Sn-1,pe[Bt].push(En),$t+=Sn,Sn});return Gt}ze(ce,0);for(var $e=pe.length,ot=function(Lt){pe[Lt].forEach(function(Bt){!("rowSpan"in Bt)&&!Bt.hasSubColumns&&(Bt.rowSpan=$e-Lt)})},lt=0;lt<$e;lt+=1)ot(lt);return pe}function Ga(ce){var pe=ce.stickyOffsets,ze=ce.columns,$e=ce.flattenColumns,ot=ce.onHeaderRow,lt=Te(ae,["prefixCls","getComponent"]),Ot=lt.prefixCls,Lt=lt.getComponent,Bt=ie.useMemo(function(){return Mn(ze)},[ze]),$t=Lt(["header","wrapper"],"thead"),Gt=Lt(["header","row"],"tr"),Wt=Lt(["header","cell"],"th"),En=Lt(["header","cell"],"td");return ie.createElement($t,{className:"".concat(Ot,"-thead")},Bt.map(function(Sn,wn){var Kn=ie.createElement(qn,{key:wn,flattenColumns:$e,cells:Sn,stickyOffsets:pe,rowComponent:Gt,cellComponent:Wt,tdCellComponent:En,onHeaderRow:ot,index:wn});return Kn}))}var La=ee(Ga),Ar=te(11592);function Cr(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof pe=="number"?pe:pe.endsWith("%")?ce*parseFloat(pe)/100:null}function Qa(ce,pe){return ie.useMemo(function(){if(pe&&pe>0){var ze=0,$e=0;ce.forEach(function($t){var Gt=Cr(pe,$t.width);Gt?ze+=Gt:$e+=1});var ot=pe-ze,lt=$e,Ot=ot/$e,Lt=0,Bt=ce.map(function($t){var Gt=(0,xe.Z)({},$t),Wt=Cr(pe,Gt.width);if(Wt)Gt.width=Wt;else{var En=Math.floor(Ot);Gt.width=lt===1?ot:En,ot-=En,lt-=1}return Lt+=Gt.width,Gt});return[Bt,Lt]}return[ce,pe]},[ce,pe])}var rt=["children"],Mt=["fixed"];function Ft(ce){return(0,Ar.Z)(ce).filter(function(pe){return ie.isValidElement(pe)}).map(function(pe){var ze=pe.key,$e=pe.props,ot=$e.children,lt=(0,Jn.Z)($e,rt),Ot=(0,xe.Z)({key:ze},lt);return ot&&(Ot.children=Ft(ot)),Ot})}function kn(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(ze){return ze&&(0,Pe.Z)(ze)==="object"}).reduce(function(ze,$e,ot){var lt=$e.fixed,Ot=lt===!0?"left":lt,Lt="".concat(pe,"-").concat(ot),Bt=$e.children;return Bt&&Bt.length>0?[].concat((0,an.Z)(ze),(0,an.Z)(kn(Bt,Lt).map(function($t){return(0,xe.Z)({fixed:Ot},$t)}))):[].concat((0,an.Z)(ze),[(0,xe.Z)((0,xe.Z)({key:Lt},$e),{},{fixed:Ot})])},[])}function dn(ce){for(var pe=!0,ze=0;ze<ce.length;ze+=1){var $e=ce[ze];if(pe&&$e.fixed!=="left")pe=!1;else if(!pe&&$e.fixed==="left"){warning(!1,"Index ".concat(ze-1," of `columns` missing `fixed='left'` prop."));break}}for(var ot=!0,lt=ce.length-1;lt>=0;lt-=1){var Ot=ce[lt];if(ot&&Ot.fixed!=="right")ot=!1;else if(!ot&&Ot.fixed==="right"){warning(!1,"Index ".concat(lt+1," of `columns` missing `fixed='right'` prop."));break}}}function Ln(ce){return ce.map(function(pe){var ze=pe.fixed,$e=(0,Jn.Z)(pe,Mt),ot=ze;return ze==="left"?ot="right":ze==="right"&&(ot="left"),(0,xe.Z)({fixed:ot},$e)})}function Xr(ce,pe){var ze=ce.prefixCls,$e=ce.columns,ot=ce.children,lt=ce.expandable,Ot=ce.expandedKeys,Lt=ce.columnTitle,Bt=ce.getRowKey,$t=ce.onTriggerExpand,Gt=ce.expandIcon,Wt=ce.rowExpandable,En=ce.expandIconColumnIndex,Sn=ce.direction,wn=ce.expandRowByClick,Kn=ce.columnWidth,Zn=ce.fixed,ua=ce.scrollWidth,ta=ie.useMemo(function(){return $e||Ft(ot)},[$e,ot]),ma=ie.useMemo(function(){if(lt){var _a,wa=ta.slice();if(!wa.includes(z)){var da=En||0;da>=0&&wa.splice(da,0,z)}var fa=wa.indexOf(z);wa=wa.filter(function(Ka,zr){return Ka!==z||zr===fa});var qa=ta[fa],Gr;(Zn==="left"||Zn)&&!En?Gr="left":(Zn==="right"||Zn)&&En===ta.length?Gr="right":Gr=qa?qa.fixed:null;var Lr=(_a={},(0,ye.Z)(_a,en,{className:"".concat(ze,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ye.Z)(_a,"title",Lt),(0,ye.Z)(_a,"fixed",Gr),(0,ye.Z)(_a,"className","".concat(ze,"-row-expand-icon-cell")),(0,ye.Z)(_a,"width",Kn),(0,ye.Z)(_a,"render",function(zr,Wr,Jr){var Vr=Bt(Wr,Jr),Vo=Ot.has(Vr),lo=Wt?Wt(Wr):!0,vr=Gt({prefixCls:ze,expanded:Vo,expandable:lo,record:Wr,onExpand:$t});return wn?ie.createElement("span",{onClick:function(cr){return cr.stopPropagation()}},vr):vr}),_a);return wa.map(function(Ka){return Ka===z?Lr:Ka})}return ta.filter(function(Ka){return Ka!==z})},[lt,ta,Bt,Ot,Gt,Sn]),Ya=ie.useMemo(function(){var _a=ma;return pe&&(_a=pe(_a)),_a.length||(_a=[{render:function(){return null}}]),_a},[pe,ma,Sn]),rr=ie.useMemo(function(){return Sn==="rtl"?Ln(kn(Ya)):kn(Ya)},[Ya,Sn,ua]),ka=Qa(rr,ua),Ja=(0,he.Z)(ka,2),Dr=Ja[0],Sa=Ja[1];return[Ya,Dr,Sa]}var Er=Xr;function Kr(ce){var pe,ze=ce.prefixCls,$e=ce.record,ot=ce.onExpand,lt=ce.expanded,Ot=ce.expandable,Lt="".concat(ze,"-row-expand-icon");if(!Ot)return ie.createElement("span",{className:Ze()(Lt,"".concat(ze,"-row-spaced"))});var Bt=function(Gt){ot($e,Gt),Gt.stopPropagation()};return ie.createElement("span",{className:Ze()(Lt,(pe={},(0,ye.Z)(pe,"".concat(ze,"-row-expanded"),lt),(0,ye.Z)(pe,"".concat(ze,"-row-collapsed"),!lt),pe)),onClick:Bt})}function oo(ce,pe,ze){var $e=[];function ot(lt){(lt||[]).forEach(function(Ot,Lt){$e.push(pe(Ot,Lt)),ot(Ot[ze])})}return ot(ce),$e}function Xa(ce,pe,ze){var $e=Vt(ce),ot=$e.expandIcon,lt=$e.expandedRowKeys,Ot=$e.defaultExpandedRowKeys,Lt=$e.defaultExpandAllRows,Bt=$e.expandedRowRender,$t=$e.onExpand,Gt=$e.onExpandedRowsChange,Wt=$e.childrenColumnName,En=ot||Kr,Sn=Wt||"children",wn=ie.useMemo(function(){return Bt?"row":ce.expandable&&ce.internalHooks===se&&ce.expandable.__PARENT_RENDER_ICON__||pe.some(function(rr){return rr&&(0,Pe.Z)(rr)==="object"&&rr[Sn]})?"nest":!1},[!!Bt,pe]),Kn=ie.useState(function(){return Ot||(Lt?oo(pe,ze,Sn):[])}),Zn=(0,he.Z)(Kn,2),ua=Zn[0],ta=Zn[1],ma=ie.useMemo(function(){return new Set(lt||ua||[])},[lt,ua]),Ya=ie.useCallback(function(rr){var ka=ze(rr,pe.indexOf(rr)),Ja,Dr=ma.has(ka);Dr?(ma.delete(ka),Ja=(0,an.Z)(ma)):Ja=[].concat((0,an.Z)(ma),[ka]),ta(Ja),$t&&$t(!Dr,rr),Gt&&Gt(Ja)},[ze,ma,pe,$t,Gt]);return[$e,wn,ma,En,Sn,Ya]}function Nn(ce,pe,ze,$e){var ot=ce.map(function(lt,Ot){return Fe(Ot,Ot,ce,pe,ze,$e==null?void 0:$e[Ot])});return(0,mt.Z)(function(){return ot},[ot],function(lt,Ot){return!(0,Ne.Z)(lt,Ot)})}function ur(ce){var pe=(0,ie.useRef)(ce),ze=(0,ie.useState)({}),$e=(0,he.Z)(ze,2),ot=$e[1],lt=(0,ie.useRef)(null),Ot=(0,ie.useRef)([]);function Lt(Bt){Ot.current.push(Bt);var $t=Promise.resolve();lt.current=$t,$t.then(function(){if(lt.current===$t){var Gt=Ot.current,Wt=pe.current;Ot.current=[],Gt.forEach(function(En){pe.current=En(pe.current)}),lt.current=null,Wt!==pe.current&&ot({})}})}return(0,ie.useEffect)(function(){return function(){lt.current=null}},[]),[pe.current,Lt]}function nr(ce){var pe=(0,ie.useRef)(ce||null),ze=(0,ie.useRef)();function $e(){window.clearTimeout(ze.current)}function ot(Ot){pe.current=Ot,$e(),ze.current=window.setTimeout(function(){pe.current=null,ze.current=void 0},100)}function lt(){return pe.current}return(0,ie.useEffect)(function(){return $e},[]),[ot,lt]}function sr(){var ce=ie.useState(-1),pe=(0,he.Z)(ce,2),ze=pe[0],$e=pe[1],ot=ie.useState(-1),lt=(0,he.Z)(ot,2),Ot=lt[0],Lt=lt[1],Bt=ie.useCallback(function($t,Gt){$e($t),Lt(Gt)},[]);return[ze,Ot,Bt]}var er=te(47273),vt=(0,er.Z)()?window:null;function qt(ce,pe){var ze=(0,Pe.Z)(ce)==="object"?ce:{},$e=ze.offsetHeader,ot=$e===void 0?0:$e,lt=ze.offsetSummary,Ot=lt===void 0?0:lt,Lt=ze.offsetScroll,Bt=Lt===void 0?0:Lt,$t=ze.getContainer,Gt=$t===void 0?function(){return vt}:$t,Wt=Gt()||vt;return ie.useMemo(function(){var En=!!ce;return{isSticky:En,stickyClassName:En?"".concat(pe,"-sticky-holder"):"",offsetHeader:ot,offsetSummary:Ot,offsetScroll:Bt,container:Wt}},[Bt,ot,Ot,pe,Wt])}function tn(ce,pe,ze){var $e=(0,ie.useMemo)(function(){for(var ot=[],lt=[],Ot=0,Lt=0,Bt=0;Bt<pe;Bt+=1)if(ze==="rtl"){lt[Bt]=Lt,Lt+=ce[Bt]||0;var $t=pe-Bt-1;ot[$t]=Ot,Ot+=ce[$t]||0}else{ot[Bt]=Ot,Ot+=ce[Bt]||0;var Gt=pe-Bt-1;lt[Gt]=Lt,Lt+=ce[Gt]||0}return{left:ot,right:lt}},[ce,pe,ze]);return $e}var Pn=tn;function Rn(ce){var pe=ce.className,ze=ce.children;return ie.createElement("div",{className:pe},ze)}var gn=Rn,On=te(8224),yn=te(55468),ar=function(pe,ze){var $e,ot,lt=pe.scrollBodyRef,Ot=pe.onScroll,Lt=pe.offsetScroll,Bt=pe.container,$t=Te(ae,"prefixCls"),Gt=(($e=lt.current)===null||$e===void 0?void 0:$e.scrollWidth)||0,Wt=((ot=lt.current)===null||ot===void 0?void 0:ot.clientWidth)||0,En=Gt&&Wt*(Wt/Gt),Sn=ie.useRef(),wn=ur({scrollLeft:0,isHiddenScrollBar:!1}),Kn=(0,he.Z)(wn,2),Zn=Kn[0],ua=Kn[1],ta=ie.useRef({delta:0,x:0}),ma=ie.useState(!1),Ya=(0,he.Z)(ma,2),rr=Ya[0],ka=Ya[1],Ja=function(){ka(!1)},Dr=function(fa){fa.persist(),ta.current.delta=fa.pageX-Zn.scrollLeft,ta.current.x=0,ka(!0),fa.preventDefault()},Sa=function(fa){var qa,Gr=fa||((qa=window)===null||qa===void 0?void 0:qa.event),Lr=Gr.buttons;if(!rr||Lr===0){rr&&ka(!1);return}var Ka=ta.current.x+fa.pageX-ta.current.x-ta.current.delta;Ka<=0&&(Ka=0),Ka+En>=Wt&&(Ka=Wt-En),Ot({scrollLeft:Ka/Wt*(Gt+2)}),ta.current.x=fa.pageX},_a=function(){if(lt.current){var fa=(0,yn.os)(lt.current).top,qa=fa+lt.current.offsetHeight,Gr=Bt===window?document.documentElement.scrollTop+window.innerHeight:(0,yn.os)(Bt).top+Bt.clientHeight;qa-(0,pt.Z)()<=Gr||fa>=Gr-Lt?ua(function(Lr){return(0,xe.Z)((0,xe.Z)({},Lr),{},{isHiddenScrollBar:!0})}):ua(function(Lr){return(0,xe.Z)((0,xe.Z)({},Lr),{},{isHiddenScrollBar:!1})})}},wa=function(fa){ua(function(qa){return(0,xe.Z)((0,xe.Z)({},qa),{},{scrollLeft:fa/Gt*Wt||0})})};return ie.useImperativeHandle(ze,function(){return{setScrollLeft:wa}}),ie.useEffect(function(){var da=(0,On.Z)(document.body,"mouseup",Ja,!1),fa=(0,On.Z)(document.body,"mousemove",Sa,!1);return _a(),function(){da.remove(),fa.remove()}},[En,rr]),ie.useEffect(function(){var da=(0,On.Z)(Bt,"scroll",_a,!1),fa=(0,On.Z)(window,"resize",_a,!1);return function(){da.remove(),fa.remove()}},[Bt]),ie.useEffect(function(){Zn.isHiddenScrollBar||ua(function(da){var fa=lt.current;return fa?(0,xe.Z)((0,xe.Z)({},da),{},{scrollLeft:fa.scrollLeft/fa.scrollWidth*fa.clientWidth}):da})},[Zn.isHiddenScrollBar]),Gt<=Wt||!En||Zn.isHiddenScrollBar?null:ie.createElement("div",{style:{height:(0,pt.Z)(),width:Wt,bottom:Lt},className:"".concat($t,"-sticky-scroll")},ie.createElement("div",{onMouseDown:Dr,ref:Sn,className:Ze()("".concat($t,"-sticky-scroll-bar"),(0,ye.Z)({},"".concat($t,"-sticky-scroll-bar-active"),rr)),style:{width:"".concat(En,"px"),transform:"translate3d(".concat(Zn.scrollLeft,"px, 0, 0)")}}))},Ra=ie.forwardRef(ar);function cn(ce){return null}var io=cn;function to(ce){return null}var no=to,Mo="rc-table",ea=[],Aa={};function dr(){return"No Data"}function pa(ce){var pe,ze=(0,xe.Z)({rowKey:"key",prefixCls:Mo,emptyText:dr},ce),$e=ze.prefixCls,ot=ze.className,lt=ze.rowClassName,Ot=ze.style,Lt=ze.data,Bt=ze.rowKey,$t=ze.scroll,Gt=ze.tableLayout,Wt=ze.direction,En=ze.title,Sn=ze.footer,wn=ze.summary,Kn=ze.caption,Zn=ze.id,ua=ze.showHeader,ta=ze.components,ma=ze.emptyText,Ya=ze.onRow,rr=ze.onHeaderRow,ka=ze.internalHooks,Ja=ze.transformColumns,Dr=ze.internalRefs,Sa=ze.tailor,_a=ze.sticky,wa=Lt||ea,da=!!wa.length,fa=ka===se,qa=ie.useCallback(function(Ho,ci){return(0,De.Z)(ta,Ho)||ci},[ta]),Gr=ie.useMemo(function(){return typeof Bt=="function"?Bt:function(Ho){var ci=Ho&&Ho[Bt];return ci}},[Bt]),Lr=qa(["body"]),Ka=sr(),zr=(0,he.Z)(Ka,3),Wr=zr[0],Jr=zr[1],Vr=zr[2],Vo=Xa(ze,wa,Gr),lo=(0,he.Z)(Vo,6),vr=lo[0],ei=lo[1],cr=lo[2],ko=lo[3],Ao=lo[4],fi=lo[5],gr=$t==null?void 0:$t.x,or=ie.useState(0),ir=(0,he.Z)(or,2),Wa=ir[0],Na=ir[1],Bn=Er((0,xe.Z)((0,xe.Z)((0,xe.Z)({},ze),vr),{},{expandable:!!vr.expandedRowRender,columnTitle:vr.columnTitle,expandedKeys:cr,getRowKey:Gr,onTriggerExpand:fi,expandIcon:ko,expandIconColumnIndex:vr.expandIconColumnIndex,direction:Wt,scrollWidth:fa&&Sa&&typeof gr=="number"?gr:null}),fa?Ja:null),va=(0,he.Z)(Bn,3),Br=va[0],Qr=va[1],Ni=va[2],bi=Ni!=null?Ni:gr,Ji=ie.useMemo(function(){return{columns:Br,flattenColumns:Qr}},[Br,Qr]),si=ie.useRef(),ri=ie.useRef(),lr=ie.useRef(),Ri=ie.useRef(),ji=ie.useRef(),No=ie.useState(!1),Zo=(0,he.Z)(No,2),ii=Zo[0],Pi=Zo[1],pi=ie.useState(!1),uo=(0,he.Z)(pi,2),Gi=uo[0],Ii=uo[1],zo=ur(new Map),pr=(0,he.Z)(zo,2),hi=pr[0],Ti=pr[1],sl=ft(Qr),el=sl.map(function(Ho){return hi.get(Ho)}),Qi=ie.useMemo(function(){return el},[el.join("_")]),Wi=Pn(Qi,Qr.length,Wt),yi=$t&&Rt($t.y),gi=$t&&Rt(bi)||!!vr.fixed,ol=gi&&Qr.some(function(Ho){var ci=Ho.fixed;return ci}),fl=ie.useRef(),al=qt(_a,$e),il=al.isSticky,Cl=al.offsetHeader,Rl=al.offsetSummary,Po=al.offsetScroll,Qo=al.stickyClassName,ki=al.container,di=ie.useMemo(function(){return wn==null?void 0:wn(wa)},[wn,wa]),Vi=(yi||il)&&ie.isValidElement(di)&&di.type===Le&&di.props.fixed,Ui,Ki,ll;yi&&(Ki={overflowY:"scroll",maxHeight:$t.y}),gi&&(Ui={overflowX:"auto"},yi||(Ki={overflowY:"hidden"}),ll={width:bi===!0?"auto":bi,minWidth:"100%"});var Tl=ie.useCallback(function(Ho,ci){(0,Ve.Z)(si.current)&&Ti(function(tl){if(tl.get(Ho)!==ci){var dl=new Map(tl);return dl.set(Ho,ci),dl}return tl})},[]),du=nr(null),kl=(0,he.Z)(du,2),cu=kl[0],ql=kl[1];function Dl(Ho,ci){ci&&(typeof ci=="function"?ci(Ho):ci.scrollLeft!==Ho&&(ci.scrollLeft=Ho,ci.scrollLeft!==Ho&&setTimeout(function(){ci.scrollLeft=Ho},0)))}var pl=(0,Ie.Z)(function(Ho){var ci=Ho.currentTarget,tl=Ho.scrollLeft,dl=Wt==="rtl",cl=typeof tl=="number"?tl:ci.scrollLeft,ou=ci||Aa;if(!ql()||ql()===ou){var Yl;cu(ou),Dl(cl,ri.current),Dl(cl,lr.current),Dl(cl,ji.current),Dl(cl,(Yl=fl.current)===null||Yl===void 0?void 0:Yl.setScrollLeft)}var Ql=ci||ri.current;if(Ql){var Xl=Ql.scrollWidth,bl=Ql.clientWidth;if(Xl===bl){Pi(!1),Ii(!1);return}dl?(Pi(-cl<Xl-bl),Ii(-cl>0)):(Pi(cl>0),Ii(cl<Xl-bl))}}),hl=function(){gi&&lr.current?pl({currentTarget:lr.current}):(Pi(!1),Ii(!1))},eu=function(ci){var tl=ci.width;tl!==Wa&&(hl(),Na(si.current?si.current.offsetWidth:tl))},tu=ie.useRef(!1);ie.useEffect(function(){tu.current&&hl()},[gi,Lt,Br.length]),ie.useEffect(function(){tu.current=!0},[]);var Zl=ie.useState(0),zl=(0,he.Z)(Zl,2),Bl=zl[0],Al=zl[1],gu=ie.useState(!0),Ll=(0,he.Z)(gu,2),_l=Ll[0],mu=Ll[1];ie.useEffect(function(){(!Sa||!fa)&&(lr.current instanceof Element?Al((0,pt.o)(lr.current).width):Al((0,pt.o)(Ri.current).width)),mu((0,we.G)("position","sticky"))},[]),ie.useEffect(function(){fa&&Dr&&(Dr.body.current=lr.current)});var Hl=ie.useCallback(function(Ho){return ie.createElement(ie.Fragment,null,ie.createElement(La,Ho),Vi==="top"&&ie.createElement(gt,Ho,di))},[Vi,di]),fu=ie.useCallback(function(Ho){return ie.createElement(gt,Ho,di)},[di]),nu=qa(["table"],"table"),Ol=ie.useMemo(function(){return Gt||(ol?bi==="max-content"?"auto":"fixed":yi||il||Qr.some(function(Ho){var ci=Ho.ellipsis;return ci})?"fixed":"auto")},[yi,ol,Qr,Gt,il]),Nl,jl={colWidths:Qi,columCount:Qr.length,stickyOffsets:Wi,onHeaderRow:rr,fixHeader:yi,scroll:$t},au=ie.useMemo(function(){return da?null:typeof ma=="function"?ma():ma},[da,ma]),ru=ie.createElement(Dt,{data:wa,measureColumnWidth:yi||gi||il}),Gl=ie.createElement(fn,{colWidths:Qr.map(function(Ho){var ci=Ho.width;return ci}),columns:Qr}),Kl=Kn!=null?ie.createElement("caption",{className:"".concat($e,"-caption")},Kn):void 0,pu=(0,et.Z)(ze,{data:!0}),Wl=(0,et.Z)(ze,{aria:!0});if(yi||il){var Vl;typeof Lr=="function"?(Vl=Lr(wa,{scrollbarSize:Bl,ref:lr,onScroll:pl}),jl.colWidths=Qr.map(function(Ho,ci){var tl=Ho.width,dl=ci===Qr.length-1?tl-Bl:tl;return typeof dl=="number"&&!Number.isNaN(dl)?dl:0})):Vl=ie.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},Ui),Ki),onScroll:pl,ref:lr,className:Ze()("".concat($e,"-body"))},ie.createElement(nu,(0,He.Z)({style:(0,xe.Z)((0,xe.Z)({},ll),{},{tableLayout:Ol})},Wl),Kl,Gl,ru,!Vi&&di&&ie.createElement(gt,{stickyOffsets:Wi,flattenColumns:Qr,columns:Br},di)));var Ul=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!wa.length,maxContentScroll:gi&&bi==="max-content"},jl),Ji),{},{direction:Wt,stickyClassName:Qo,onScroll:pl});Nl=ie.createElement(ie.Fragment,null,ua!==!1&&ie.createElement(Xt,(0,He.Z)({},Ul,{stickyTopOffset:Cl,className:"".concat($e,"-header"),ref:ri}),Hl),Vl,Vi&&Vi!=="top"&&ie.createElement(Xt,(0,He.Z)({},Ul,{stickyBottomOffset:Rl,className:"".concat($e,"-summary"),ref:ji}),fu),il&&ie.createElement(Ra,{ref:fl,offsetScroll:Po,scrollBodyRef:lr,onScroll:pl,container:ki}))}else Nl=ie.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},Ui),Ki),className:Ze()("".concat($e,"-content")),onScroll:pl,ref:lr},ie.createElement(nu,(0,He.Z)({style:(0,xe.Z)((0,xe.Z)({},ll),{},{tableLayout:Ol})},Wl),Kl,Gl,ua!==!1&&ie.createElement(La,(0,He.Z)({},jl,Ji)),ru,di&&ie.createElement(gt,{stickyOffsets:Wi,flattenColumns:Qr,columns:Br},di)));var Il=ie.createElement("div",(0,He.Z)({className:Ze()($e,ot,(pe={},(0,ye.Z)(pe,"".concat($e,"-rtl"),Wt==="rtl"),(0,ye.Z)(pe,"".concat($e,"-ping-left"),ii),(0,ye.Z)(pe,"".concat($e,"-ping-right"),Gi),(0,ye.Z)(pe,"".concat($e,"-layout-fixed"),Gt==="fixed"),(0,ye.Z)(pe,"".concat($e,"-fixed-header"),yi),(0,ye.Z)(pe,"".concat($e,"-fixed-column"),ol),(0,ye.Z)(pe,"".concat($e,"-scroll-horizontal"),gi),(0,ye.Z)(pe,"".concat($e,"-has-fix-left"),Qr[0]&&Qr[0].fixed),(0,ye.Z)(pe,"".concat($e,"-has-fix-right"),Qr[Qr.length-1]&&Qr[Qr.length-1].fixed==="right"),pe)),style:Ot,id:Zn,ref:si},pu),En&&ie.createElement(gn,{className:"".concat($e,"-title")},En(wa)),ie.createElement("div",{ref:Ri,className:"".concat($e,"-container")},Nl),Sn&&ie.createElement(gn,{className:"".concat($e,"-footer")},Sn(wa)));gi&&(Il=ie.createElement(We.Z,{onResize:eu},Il));var $l=Nn(Qr,Wi,Wt,Br),hu=ie.useMemo(function(){return{scrollX:bi,prefixCls:$e,getComponent:qa,scrollbarSize:Bl,direction:Wt,fixedInfoList:$l,isSticky:il,supportSticky:_l,componentWidth:Wa,fixHeader:yi,fixColumn:ol,horizonScroll:gi,tableLayout:Ol,rowClassName:lt,expandedRowClassName:vr.expandedRowClassName,expandIcon:ko,expandableType:ei,expandRowByClick:vr.expandRowByClick,expandedRowRender:vr.expandedRowRender,onTriggerExpand:fi,expandIconColumnIndex:vr.expandIconColumnIndex,indentSize:vr.indentSize,allColumnsFixedLeft:Qr.every(function(Ho){return Ho.fixed==="left"}),emptyNode:au,columns:Br,flattenColumns:Qr,onColumnResize:Tl,hoverStartRow:Wr,hoverEndRow:Jr,onHover:Vr,rowExpandable:vr.rowExpandable,onRow:Ya,getRowKey:Gr,expandedKeys:cr,childrenColumnName:Ao}},[bi,$e,qa,Bl,Wt,$l,il,_l,Wa,yi,ol,gi,Ol,lt,vr.expandedRowClassName,ko,ei,vr.expandRowByClick,vr.expandedRowRender,fi,vr.expandIconColumnIndex,vr.indentSize,au,Br,Qr,Tl,Wr,Jr,Vr,vr.rowExpandable,Ya,Gr,cr,Ao]);return ie.createElement(ae.Provider,{value:hu},Il)}function jr(ce){return x(pa,ce)}var Ir=jr();Ir.EXPAND_COLUMN=z,Ir.INTERNAL_HOOKS=se,Ir.Column=io,Ir.ColumnGroup=no,Ir.Summary=Oe;var br=Ir,po=te(48911),Lo=je(null),Oi=je(null);function vi(ce,pe,ze){var $e=pe||1;return ze[ce+$e]-(ze[ce]||0)}function Ei(ce){var pe=ce.rowInfo,ze=ce.column,$e=ce.colIndex,ot=ce.indent,lt=ce.index,Ot=ce.renderIndex,Lt=ce.record,Bt=ce.style,$t=ce.className,Gt=ce.inverse,Wt=ce.getHeight,En=ze.render,Sn=ze.dataIndex,wn=ze.className,Kn=ze.width,Zn=Te(Oi,["columnsOffset"]),ua=Zn.columnsOffset,ta=_e(pe,ze,$e,ot,lt),ma=ta.key,Ya=ta.fixedInfo,rr=ta.appendCellNode,ka=ta.additionalCellProps,Ja=ka.style,Dr=ka.colSpan,Sa=Dr===void 0?1:Dr,_a=ka.rowSpan,wa=_a===void 0?1:_a,da=$e-1,fa=vi(da,Sa,ua),qa=Sa>1?Kn-fa:0,Gr=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ja),Bt),{},{flex:"0 0 ".concat(fa,"px"),width:"".concat(fa,"px"),marginRight:qa,pointerEvents:"auto"}),Lr=ie.useMemo(function(){return Gt?wa<=1:Sa===0||wa===0||wa>1},[wa,Sa,Gt]);Lr?Gr.visibility="hidden":Gt&&(Gr.height=Wt==null?void 0:Wt(wa));var Ka=Lr?function(){return null}:En,zr={};return(wa===0||Sa===0)&&(zr.rowSpan=1,zr.colSpan=1),ie.createElement(sn,(0,He.Z)({className:Ze()(wn,$t),ellipsis:ze.ellipsis,align:ze.align,scope:ze.rowScope,component:"div",prefixCls:pe.prefixCls,key:ma,record:Lt,index:lt,renderIndex:Ot,dataIndex:Sn,render:Ka,shouldCellUpdate:ze.shouldCellUpdate},Ya,{appendNode:rr,additionalProps:(0,xe.Z)((0,xe.Z)({},ka),{},{style:Gr},zr)}))}var $i=Ei,zn=["data","index","className","rowKey","style","extra","getHeight"],Ia=ie.forwardRef(function(ce,pe){var ze=ce.data,$e=ce.index,ot=ce.className,lt=ce.rowKey,Ot=ce.style,Lt=ce.extra,Bt=ce.getHeight,$t=(0,Jn.Z)(ce,zn),Gt=ze.record,Wt=ze.indent,En=ze.index,Sn=Te(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),wn=Sn.scrollX,Kn=Sn.flattenColumns,Zn=Sn.prefixCls,ua=Sn.fixColumn,ta=Sn.componentWidth,ma=Ae(Gt,lt,$e,Wt),Ya=ma.rowSupportExpand,rr=ma.expanded,ka=ma.rowProps,Ja=ma.expandedRowRender,Dr=ma.expandedRowClassName,Sa;if(Ya&&rr){var _a=Ja(Gt,$e,Wt+1,rr),wa=Dr==null?void 0:Dr(Gt,$e,Wt),da={};ua&&(da={style:(0,ye.Z)({},"--virtual-width","".concat(ta,"px"))});var fa="".concat(Zn,"-expanded-row-cell");Sa=ie.createElement("div",{className:Ze()("".concat(Zn,"-expanded-row"),"".concat(Zn,"-expanded-row-level-").concat(Wt+1),wa)},ie.createElement(sn,{component:"div",prefixCls:Zn,className:Ze()(fa,(0,ye.Z)({},"".concat(fa,"-fixed"),ua)),additionalProps:da},_a))}var qa=(0,xe.Z)((0,xe.Z)({},Ot),{},{width:wn});Lt&&(qa.position="absolute",qa.pointerEvents="none");var Gr=ie.createElement("div",(0,He.Z)({},ka,$t,{ref:Ya?null:pe,className:Ze()(ot,"".concat(Zn,"-row"),ka==null?void 0:ka.className,(0,ye.Z)({},"".concat(Zn,"-row-extra"),Lt)),style:(0,xe.Z)((0,xe.Z)({},qa),ka==null?void 0:ka.style)}),Kn.map(function(Lr,Ka){return ie.createElement($i,{key:Ka,rowInfo:ma,column:Lr,colIndex:Ka,indent:Wt,index:$e,renderIndex:En,record:Gt,inverse:Lt,getHeight:Bt})}));return Ya?ie.createElement("div",{ref:pe},Gr,Sa):Gr}),co=ee(Ia),xo=co,wo=ie.forwardRef(function(ce,pe){var ze=ce.data,$e=ce.onScroll,ot=Te(ae,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),lt=ot.flattenColumns,Ot=ot.onColumnResize,Lt=ot.getRowKey,Bt=ot.expandedKeys,$t=ot.prefixCls,Gt=ot.childrenColumnName,Wt=ot.emptyNode,En=ot.scrollX,Sn=Te(Lo),wn=Sn.scrollY,Kn=Sn.listItemHeight,Zn=ie.useRef(),ua=Se(ze,Gt,Bt,Lt),ta=ie.useMemo(function(){var Sa=0;return lt.map(function(_a){var wa=_a.width,da=_a.key;return Sa+=wa,[da,wa,Sa]})},[lt]),ma=ie.useMemo(function(){return ta.map(function(Sa){return Sa[2]})},[ta]);ie.useEffect(function(){ta.forEach(function(Sa){var _a=(0,he.Z)(Sa,2),wa=_a[0],da=_a[1];Ot(wa,da)})},[ta]),ie.useImperativeHandle(pe,function(){var Sa={};return Object.defineProperty(Sa,"scrollLeft",{get:function(){var wa;return((wa=Zn.current)===null||wa===void 0?void 0:wa.getScrollInfo().x)||0},set:function(wa){var da;(da=Zn.current)===null||da===void 0||da.scrollTo({left:wa})}}),Sa});var Ya=function(_a,wa){var da,fa=(da=ua[wa])===null||da===void 0?void 0:da.record,qa=_a.onCell;if(qa){var Gr,Lr=qa(fa,wa);return(Gr=Lr==null?void 0:Lr.rowSpan)!==null&&Gr!==void 0?Gr:1}return 1},rr=function(_a){var wa=_a.start,da=_a.end,fa=_a.getSize,qa=_a.offsetY;if(da<0)return null;for(var Gr=lt.filter(function(gr){return Ya(gr,wa)===0}),Lr=wa,Ka=function(or){if(Gr=Gr.filter(function(ir){return Ya(ir,or)===0}),!Gr.length)return Lr=or,"break"},zr=wa;zr>=0;zr-=1){var Wr=Ka(zr);if(Wr==="break")break}for(var Jr=lt.filter(function(gr){return Ya(gr,da)!==1}),Vr=da,Vo=function(or){if(Jr=Jr.filter(function(ir){return Ya(ir,or)!==1}),!Jr.length)return Vr=Math.max(or-1,da),"break"},lo=da;lo<ua.length;lo+=1){var vr=Vo(lo);if(vr==="break")break}for(var ei=[],cr=function(or){var ir=ua[or];if(!ir)return"continue";lt.some(function(Wa){return Ya(Wa,or)>1})&&ei.push(or)},ko=Lr;ko<=Vr;ko+=1)var Ao=cr(ko);var fi=ei.map(function(gr){var or=ua[gr],ir=Lt(or.record,gr),Wa=function(va){var Br=gr+va-1,Qr=Lt(ua[Br].record,Br),Ni=fa(ir,Qr);return Ni.bottom-Ni.top},Na=fa(ir);return ie.createElement(xo,{key:gr,data:or,rowKey:ir,index:gr,style:{top:-qa+Na.top},extra:!0,getHeight:Wa})});return fi},ka=ie.useMemo(function(){return{columnsOffset:ma}},[ma]),Ja="".concat($t,"-tbody"),Dr;return ua.length?Dr=ie.createElement(po.Z,{fullHeight:!1,ref:Zn,className:Ze()(Ja,"".concat(Ja,"-virtual")),height:wn,itemHeight:Kn||24,data:ua,itemKey:function(_a){return Lt(_a.record)},scrollWidth:En,onVirtualScroll:function(_a){var wa=_a.x;$e({scrollLeft:wa})},extraRender:rr},function(Sa,_a,wa){var da=Lt(Sa.record,_a);return ie.createElement(xo,(0,He.Z)({data:Sa,rowKey:da,index:_a},wa))}):Dr=ie.createElement("div",{className:Ze()("".concat($t,"-placeholder"))},ie.createElement(sn,{component:"div",prefixCls:$t},Wt)),ie.createElement(Oi.Provider,{value:ka},Dr)}),ui=ee(wo),Bi=ui,Yi=function(pe,ze){var $e=ze.ref,ot=ze.onScroll;return ie.createElement(Bi,{ref:$e,data:pe,onScroll:ot})},Mi=100;function Ce(ce){var pe=ce.columns,ze=ce.scroll,$e=ce.prefixCls,ot=$e===void 0?Mo:$e,lt=ce.className,Ot=ce.listItemHeight,Lt=ze||{},Bt=Lt.x,$t=Lt.y;typeof Bt!="number"&&(Bt=((pe||[]).length+1)*Mi),typeof $t!="number"&&($t=500);var Gt=ie.useMemo(function(){return{scrollY:$t,listItemHeight:Ot}},[$t,Ot]);return ie.createElement(Lo.Provider,{value:Gt},ie.createElement(br,(0,He.Z)({},ce,{className:Ze()(lt,"".concat(ot,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},ze),{},{x:Bt}),components:{body:Yi},columns:pe,internalHooks:se,tailor:!0})))}function ke(ce){return x(Ce,ce)}var Xe=ke(),Ct=null;function Yt(ce){return null}var Jt=Yt;function bn(ce){return null}var Fn=bn,Yn=te(2738),Pa=te(68031),Ca=te(36355),ga=te(93891),Or=te(19716),Mr=te(8628),Ro=te(31724),Ur=te(58421),la=te(71418),$n=te(88088);function oa(ce){return function(ze){let{prefixCls:$e,onExpand:ot,record:lt,expanded:Ot,expandable:Lt}=ze;const Bt=`${$e}-row-expand-icon`;return ie.createElement("button",{type:"button",onClick:$t=>{ot(lt,$t),$t.stopPropagation()},className:Ze()(Bt,{[`${Bt}-spaced`]:!Lt,[`${Bt}-expanded`]:Lt&&Ot,[`${Bt}-collapsed`]:Lt&&!Ot}),"aria-label":Ot?ce.collapse:ce.expand,"aria-expanded":Ot})}}var ra=oa;function Nr(ce,pe){return"key"in ce&&ce.key!==void 0&&ce.key!==null?ce.key:ce.dataIndex?Array.isArray(ce.dataIndex)?ce.dataIndex.join("."):ce.dataIndex:pe}function Zr(ce,pe){return pe?`${pe}-${ce}`:`${ce}`}function hr(ce,pe){return typeof ce=="function"?ce(pe):ce}function xr(ce,pe){const ze=hr(ce,pe);return Object.prototype.toString.call(ze)==="[object Object]"?"":ze}var kr={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"},ho=kr,ti=te(7657),yo=function(pe,ze){return ie.createElement(ti.Z,(0,He.Z)({},pe,{ref:ze,icon:ho}))},Rr=ie.forwardRef(yo),ro=Rr,Fo=te(56762);function vo(ce){const pe=ie.useRef(ce),ze=(0,Fo.Z)();return[()=>pe.current,$e=>{pe.current=$e,ze()}]}var Eo=te(3113),sa=te(24905),jo=te(38854),wi=te(64165),Zi=te(20834),nl=te(40875),Xi=te(5112),zi=te(17574),Fi=te(47472),ul=te(92832);function _i(ce){let{value:pe,onChange:ze,filterSearch:$e,tablePrefixCls:ot,locale:lt}=ce;return $e?ie.createElement("div",{className:`${ot}-filter-dropdown-search`},ie.createElement(ul.default,{prefix:ie.createElement(Fi.Z,null),placeholder:lt.filterSearchPlaceholder,onChange:ze,value:pe,htmlSize:1,className:`${ot}-filter-dropdown-search-input`})):null}var rl=_i,Ut=te(10228);const Ht=ce=>{const{keyCode:pe}=ce;pe===Ut.Z.ENTER&&ce.stopPropagation()};var ba=ie.forwardRef((ce,pe)=>ie.createElement("div",{className:ce.className,onClick:ze=>ze.stopPropagation(),onKeyDown:Ht,ref:pe},ce.children));function Va(ce){let pe=[];return(ce||[]).forEach(ze=>{let{value:$e,children:ot}=ze;pe.push($e),ot&&(pe=[].concat((0,an.Z)(pe),(0,an.Z)(Va(ot))))}),pe}function Fa(ce){return ce.some(pe=>{let{children:ze}=pe;return ze})}function In(ce,pe){return typeof pe=="string"||typeof pe=="number"?pe==null?void 0:pe.toString().toLowerCase().includes(ce.trim().toLowerCase()):!1}function Ua(ce){let{filters:pe,prefixCls:ze,filteredKeys:$e,filterMultiple:ot,searchValue:lt,filterSearch:Ot}=ce;return pe.map((Lt,Bt)=>{const $t=String(Lt.value);if(Lt.children)return{key:$t||Bt,label:Lt.text,popupClassName:`${ze}-dropdown-submenu`,children:Ua({filters:Lt.children,prefixCls:ze,filteredKeys:$e,filterMultiple:ot,searchValue:lt,filterSearch:Ot})};const Gt=ot?sa.default:Xi.ZP,Wt={key:Lt.value!==void 0?$t:Bt,label:ie.createElement(ie.Fragment,null,ie.createElement(Gt,{checked:$e.includes($t)}),ie.createElement("span",null,Lt.text))};return lt.trim()?typeof Ot=="function"?Ot(lt,Lt)?Wt:null:In(lt,Lt.text)?Wt:null:Wt})}function hn(ce){var pe,ze;const{tablePrefixCls:$e,prefixCls:ot,column:lt,dropdownPrefixCls:Ot,columnKey:Lt,filterMultiple:Bt,filterMode:$t="menu",filterSearch:Gt=!1,filterState:Wt,triggerFilter:En,locale:Sn,children:wn,getPopupContainer:Kn}=ce,{filterDropdownOpen:Zn,onFilterDropdownOpenChange:ua,filterResetToDefaultFilteredValue:ta,defaultFilteredValue:ma,filterDropdownVisible:Ya,onFilterDropdownVisibleChange:rr}=lt,[ka,Ja]=ie.useState(!1),Dr=!!(Wt&&(!((pe=Wt.filteredKeys)===null||pe===void 0)&&pe.length||Wt.forceFiltered)),Sa=Bn=>{Ja(Bn),ua==null||ua(Bn),rr==null||rr(Bn)},_a=(ze=Zn!=null?Zn:Ya)!==null&&ze!==void 0?ze:ka,wa=Wt==null?void 0:Wt.filteredKeys,[da,fa]=vo(wa||[]),qa=Bn=>{let{selectedKeys:va}=Bn;fa(va)},Gr=(Bn,va)=>{let{node:Br,checked:Qr}=va;qa(Bt?{selectedKeys:Bn}:{selectedKeys:Qr&&Br.key?[Br.key]:[]})};ie.useEffect(()=>{ka&&qa({selectedKeys:wa||[]})},[wa]);const[Lr,Ka]=ie.useState([]),zr=Bn=>{Ka(Bn)},[Wr,Jr]=ie.useState(""),Vr=Bn=>{const{value:va}=Bn.target;Jr(va)};ie.useEffect(()=>{ka||Jr("")},[ka]);const Vo=Bn=>{const va=Bn&&Bn.length?Bn:null;if(va===null&&(!Wt||!Wt.filteredKeys)||(0,Ne.Z)(va,Wt==null?void 0:Wt.filteredKeys,!0))return null;En({column:lt,key:Lt,filteredKeys:va})},lo=()=>{Sa(!1),Vo(da())},vr=function(){let{confirm:Bn,closeDropdown:va}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Bn&&Vo([]),va&&Sa(!1),Jr(""),fa(ta?(ma||[]).map(Br=>String(Br)):[])},ei=function(){let{closeDropdown:Bn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Bn&&Sa(!1),Vo(da())},cr=Bn=>{Bn&&wa!==void 0&&fa(wa||[]),Sa(Bn),!Bn&&!lt.filterDropdown&&lo()},ko=Ze()({[`${Ot}-menu-without-submenu`]:!Fa(lt.filters||[])}),Ao=Bn=>{if(Bn.target.checked){const va=Va(lt==null?void 0:lt.filters).map(Br=>String(Br));fa(va)}else fa([])},fi=Bn=>{let{filters:va}=Bn;return(va||[]).map((Br,Qr)=>{const Ni=String(Br.value),bi={title:Br.text,key:Br.value!==void 0?Ni:Qr};return Br.children&&(bi.children=fi({filters:Br.children})),bi})},gr=Bn=>{var va;return Object.assign(Object.assign({},Bn),{text:Bn.title,value:Bn.key,children:((va=Bn.children)===null||va===void 0?void 0:va.map(Br=>gr(Br)))||[]})};let or;if(typeof lt.filterDropdown=="function")or=lt.filterDropdown({prefixCls:`${Ot}-custom`,setSelectedKeys:Bn=>qa({selectedKeys:Bn}),selectedKeys:da(),confirm:ei,clearFilters:vr,filters:lt.filters,visible:_a,close:()=>{Sa(!1)}});else if(lt.filterDropdown)or=lt.filterDropdown;else{const Bn=da()||[],va=()=>(lt.filters||[]).length===0?ie.createElement(wi.Z,{image:wi.Z.PRESENTED_IMAGE_SIMPLE,description:Sn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):$t==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(rl,{filterSearch:Gt,value:Wr,onChange:Vr,tablePrefixCls:$e,locale:Sn}),ie.createElement("div",{className:`${$e}-filter-dropdown-tree`},Bt?ie.createElement(sa.default,{checked:Bn.length===Va(lt.filters).length,indeterminate:Bn.length>0&&Bn.length<Va(lt.filters).length,className:`${$e}-filter-dropdown-checkall`,onChange:Ao},Sn.filterCheckall):null,ie.createElement(zi.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Bt,checkStrictly:!Bt,className:`${Ot}-menu`,onCheck:Gr,checkedKeys:Bn,selectedKeys:Bn,showIcon:!1,treeData:fi({filters:lt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Wr.trim()?Qr=>typeof Gt=="function"?Gt(Wr,gr(Qr)):In(Wr,Qr.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(rl,{filterSearch:Gt,value:Wr,onChange:Vr,tablePrefixCls:$e,locale:Sn}),ie.createElement(Zi.default,{selectable:!0,multiple:Bt,prefixCls:`${Ot}-menu`,className:ko,onSelect:qa,onDeselect:qa,selectedKeys:Bn,getPopupContainer:Kn,openKeys:Lr,onOpenChange:zr,items:Ua({filters:lt.filters||[],filterSearch:Gt,prefixCls:ot,filteredKeys:da(),filterMultiple:Bt,searchValue:Wr})})),Br=()=>ta?(0,Ne.Z)((ma||[]).map(Qr=>String(Qr)),Bn,!0):Bn.length===0;or=ie.createElement(ie.Fragment,null,va(),ie.createElement("div",{className:`${ot}-dropdown-btns`},ie.createElement(Eo.ZP,{type:"link",size:"small",disabled:Br(),onClick:()=>vr()},Sn.filterReset),ie.createElement(Eo.ZP,{type:"primary",size:"small",onClick:lo},Sn.filterConfirm)))}lt.filterDropdown&&(or=ie.createElement(nl.J,{selectable:void 0},or));const ir=()=>ie.createElement(ba,{className:`${ot}-dropdown`},or);let Wa;typeof lt.filterIcon=="function"?Wa=lt.filterIcon(Dr):lt.filterIcon?Wa=lt.filterIcon:Wa=ie.createElement(ro,null);const{direction:Na}=ie.useContext(Ca.E_);return ie.createElement("div",{className:`${ot}-column`},ie.createElement("span",{className:`${$e}-column-title`},wn),ie.createElement(jo.Z,{dropdownRender:ir,trigger:["click"],open:_a,onOpenChange:cr,getPopupContainer:Kn,placement:Na==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:Ze()(`${ot}-trigger`,{active:Dr}),onClick:Bn=>{Bn.stopPropagation()}},Wa)))}var Za=hn;function Da(ce,pe,ze){let $e=[];return(ce||[]).forEach((ot,lt)=>{var Ot;const Lt=Zr(lt,ze);if(ot.filters||"filterDropdown"in ot||"onFilter"in ot)if("filteredValue"in ot){let Bt=ot.filteredValue;"filterDropdown"in ot||(Bt=(Ot=Bt==null?void 0:Bt.map(String))!==null&&Ot!==void 0?Ot:Bt),$e.push({column:ot,key:Nr(ot,Lt),filteredKeys:Bt,forceFiltered:ot.filtered})}else $e.push({column:ot,key:Nr(ot,Lt),filteredKeys:pe&&ot.defaultFilteredValue?ot.defaultFilteredValue:void 0,forceFiltered:ot.filtered});"children"in ot&&($e=[].concat((0,an.Z)($e),(0,an.Z)(Da(ot.children,pe,Lt))))}),$e}function Io(ce,pe,ze,$e,ot,lt,Ot,Lt){return ze.map((Bt,$t)=>{const Gt=Zr($t,Lt),{filterMultiple:Wt=!0,filterMode:En,filterSearch:Sn}=Bt;let wn=Bt;if(wn.filters||wn.filterDropdown){const Kn=Nr(wn,Gt),Zn=$e.find(ua=>{let{key:ta}=ua;return Kn===ta});wn=Object.assign(Object.assign({},wn),{title:ua=>ie.createElement(Za,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:pe,column:wn,columnKey:Kn,filterState:Zn,filterMultiple:Wt,filterMode:En,filterSearch:Sn,triggerFilter:lt,locale:ot,getPopupContainer:Ot},hr(Bt.title,ua))})}return"children"in wn&&(wn=Object.assign(Object.assign({},wn),{children:Io(ce,pe,wn.children,$e,ot,lt,Ot,Gt)})),wn})}function Ma(ce){const pe={};return ce.forEach(ze=>{let{key:$e,filteredKeys:ot,column:lt}=ze;const{filters:Ot,filterDropdown:Lt}=lt;if(Lt)pe[$e]=ot||null;else if(Array.isArray(ot)){const Bt=Va(Ot);pe[$e]=Bt.filter($t=>ot.includes(String($t)))}else pe[$e]=null}),pe}function $o(ce,pe){return pe.reduce((ze,$e)=>{const{column:{onFilter:ot,filters:lt},filteredKeys:Ot}=$e;return ot&&Ot&&Ot.length?ze.filter(Lt=>Ot.some(Bt=>{const $t=Va(lt),Gt=$t.findIndex(En=>String(En)===String(Bt)),Wt=Gt!==-1?$t[Gt]:Bt;return ot(Wt,Lt)})):ze},ce)}const Si=ce=>ce.flatMap(pe=>"children"in pe?[pe].concat((0,an.Z)(Si(pe.children||[]))):[pe]);function Ko(ce){let{prefixCls:pe,dropdownPrefixCls:ze,mergedColumns:$e,onFilterChange:ot,getPopupContainer:lt,locale:Ot}=ce;const Lt=ie.useMemo(()=>Si($e||[]),[$e]),[Bt,$t]=ie.useState(()=>Da(Lt,!0)),Gt=ie.useMemo(()=>{const wn=Da(Lt,!1);if(wn.length===0)return wn;let Kn=!0,Zn=!0;if(wn.forEach(ua=>{let{filteredKeys:ta}=ua;ta!==void 0?Kn=!1:Zn=!1}),Kn){const ua=(Lt||[]).map((ta,ma)=>Nr(ta,Zr(ma)));return Bt.filter(ta=>{let{key:ma}=ta;return ua.includes(ma)}).map(ta=>{const ma=Lt[ua.findIndex(Ya=>Ya===ta.key)];return Object.assign(Object.assign({},ta),{column:Object.assign(Object.assign({},ta.column),ma),forceFiltered:ma.filtered})})}return wn},[Lt,Bt]),Wt=ie.useMemo(()=>Ma(Gt),[Gt]),En=wn=>{const Kn=Gt.filter(Zn=>{let{key:ua}=Zn;return ua!==wn.key});Kn.push(wn),$t(Kn),ot(Ma(Kn),Kn)};return[wn=>Io(pe,ze,wn,Gt,Ot,En,lt),Gt,Wt]}var Sr=Ko;function Pr(ce,pe,ze){const $e=ie.useRef({});function ot(lt){if(!$e.current||$e.current.data!==ce||$e.current.childrenColumnName!==pe||$e.current.getRowKey!==ze){let Lt=function(Bt){Bt.forEach(($t,Gt)=>{const Wt=ze($t,Gt);Ot.set(Wt,$t),$t&&typeof $t=="object"&&pe in $t&&Lt($t[pe]||[])})};const Ot=new Map;Lt(ce),$e.current={data:ce,childrenColumnName:pe,kvMap:Ot,getRowKey:ze}}return $e.current.kvMap.get(lt)}return[ot]}var Qn=te(50371),ao=function(ce,pe){var ze={};for(var $e in ce)Object.prototype.hasOwnProperty.call(ce,$e)&&pe.indexOf($e)<0&&(ze[$e]=ce[$e]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,$e=Object.getOwnPropertySymbols(ce);ot<$e.length;ot++)pe.indexOf($e[ot])<0&&Object.prototype.propertyIsEnumerable.call(ce,$e[ot])&&(ze[$e[ot]]=ce[$e[ot]]);return ze};const oi=10;function ha(ce,pe){const ze={current:ce.current,pageSize:ce.pageSize};return Object.keys(pe&&typeof pe=="object"?pe:{}).forEach(ot=>{const lt=ce[ot];typeof lt!="function"&&(ze[ot]=lt)}),ze}function ca(ce,pe,ze){const $e=ze&&typeof ze=="object"?ze:{},{total:ot=0}=$e,lt=ao($e,["total"]),[Ot,Lt]=(0,ie.useState)(()=>({current:"defaultCurrent"in lt?lt.defaultCurrent:1,pageSize:"defaultPageSize"in lt?lt.defaultPageSize:oi})),Bt=(0,Qn.Z)(Ot,lt,{total:ot>0?ot:ce}),$t=Math.ceil((ot||ce)/Bt.pageSize);Bt.current>$t&&(Bt.current=$t||1);const Gt=(En,Sn)=>{Lt({current:En!=null?En:1,pageSize:Sn||Bt.pageSize})},Wt=(En,Sn)=>{var wn;ze&&((wn=ze.onChange)===null||wn===void 0||wn.call(ze,En,Sn)),Gt(En,Sn),pe(En,Sn||(Bt==null?void 0:Bt.pageSize))};return ze===!1?[{},()=>{}]:[Object.assign(Object.assign({},Bt),{onChange:Wt}),Gt]}var eo=ca,Ai=te(84105),Tn=te(35654),tr=te(90782),aa=te(71430),nn=te(18929);const Wn={},Cn="SELECT_ALL",$r="SELECT_INVERT",mr="SELECT_NONE",Tr=[],Jo=(ce,pe)=>{let ze=[];return(pe||[]).forEach($e=>{ze.push($e),$e&&typeof $e=="object"&&ce in $e&&(ze=[].concat((0,an.Z)(ze),(0,an.Z)(Jo(ce,$e[ce]))))}),ze};var So=(ce,pe)=>{const{preserveSelectedRowKeys:ze,selectedRowKeys:$e,defaultSelectedRowKeys:ot,getCheckboxProps:lt,onChange:Ot,onSelect:Lt,onSelectAll:Bt,onSelectInvert:$t,onSelectNone:Gt,onSelectMultiple:Wt,columnWidth:En,type:Sn,selections:wn,fixed:Kn,renderCell:Zn,hideSelectAll:ua,checkStrictly:ta=!0}=pe||{},{prefixCls:ma,data:Ya,pageData:rr,getRecordByKey:ka,getRowKey:Ja,expandType:Dr,childrenColumnName:Sa,locale:_a,getPopupContainer:wa}=ce,[da,fa]=(0,nn.Z)($e||ot||Tr,{value:$e}),qa=ie.useRef(new Map),Gr=(0,ie.useCallback)(gr=>{if(ze){const or=new Map;gr.forEach(ir=>{let Wa=ka(ir);!Wa&&qa.current.has(ir)&&(Wa=qa.current.get(ir)),or.set(ir,Wa)}),qa.current=or}},[ka,ze]);ie.useEffect(()=>{Gr(da)},[da]);const{keyEntities:Lr}=(0,ie.useMemo)(()=>{if(ta)return{keyEntities:null};let gr=Ya;if(ze){const or=new Set(Ya.map((Wa,Na)=>Ja(Wa,Na))),ir=Array.from(qa.current).reduce((Wa,Na)=>{let[Bn,va]=Na;return or.has(Bn)?Wa:Wa.concat(va)},[]);gr=[].concat((0,an.Z)(gr),(0,an.Z)(ir))}return(0,aa.I8)(gr,{externalGetKey:Ja,childrenPropName:Sa})},[Ya,Ja,ta,Sa,ze]),Ka=(0,ie.useMemo)(()=>Jo(Sa,rr),[Sa,rr]),zr=(0,ie.useMemo)(()=>{const gr=new Map;return Ka.forEach((or,ir)=>{const Wa=Ja(or,ir),Na=(lt?lt(or):null)||{};gr.set(Wa,Na)}),gr},[Ka,Ja,lt]),Wr=(0,ie.useCallback)(gr=>{var or;return!!(!((or=zr.get(Ja(gr)))===null||or===void 0)&&or.disabled)},[zr,Ja]),[Jr,Vr]=(0,ie.useMemo)(()=>{if(ta)return[da||[],[]];const{checkedKeys:gr,halfCheckedKeys:or}=(0,tr.S)(da,!0,Lr,Wr);return[gr||[],or]},[da,ta,Lr,Wr]),Vo=(0,ie.useMemo)(()=>{const gr=Sn==="radio"?Jr.slice(0,1):Jr;return new Set(gr)},[Jr,Sn]),lo=(0,ie.useMemo)(()=>Sn==="radio"?new Set:new Set(Vr),[Vr,Sn]),[vr,ei]=(0,ie.useState)(null);ie.useEffect(()=>{pe||fa(Tr)},[!!pe]);const cr=(0,ie.useCallback)((gr,or)=>{let ir,Wa;Gr(gr),ze?(ir=gr,Wa=gr.map(Na=>qa.current.get(Na))):(ir=[],Wa=[],gr.forEach(Na=>{const Bn=ka(Na);Bn!==void 0&&(ir.push(Na),Wa.push(Bn))})),fa(ir),Ot==null||Ot(ir,Wa,{type:or})},[fa,ka,Ot,ze]),ko=(0,ie.useCallback)((gr,or,ir,Wa)=>{if(Lt){const Na=ir.map(Bn=>ka(Bn));Lt(ka(gr),or,Na,Wa)}cr(ir,"single")},[Lt,ka,cr]),Ao=(0,ie.useMemo)(()=>!wn||ua?null:(wn===!0?[Cn,$r,mr]:wn).map(or=>or===Cn?{key:"all",text:_a.selectionAll,onSelect(){cr(Ya.map((ir,Wa)=>Ja(ir,Wa)).filter(ir=>{const Wa=zr.get(ir);return!(Wa!=null&&Wa.disabled)||Vo.has(ir)}),"all")}}:or===$r?{key:"invert",text:_a.selectInvert,onSelect(){const ir=new Set(Vo);rr.forEach((Na,Bn)=>{const va=Ja(Na,Bn),Br=zr.get(va);Br!=null&&Br.disabled||(ir.has(va)?ir.delete(va):ir.add(va))});const Wa=Array.from(ir);$t&&$t(Wa),cr(Wa,"invert")}}:or===mr?{key:"none",text:_a.selectNone,onSelect(){Gt==null||Gt(),cr(Array.from(Vo).filter(ir=>{const Wa=zr.get(ir);return Wa==null?void 0:Wa.disabled}),"none")}}:or).map(or=>Object.assign(Object.assign({},or),{onSelect:function(){for(var ir,Wa,Na=arguments.length,Bn=new Array(Na),va=0;va<Na;va++)Bn[va]=arguments[va];(Wa=or.onSelect)===null||Wa===void 0||(ir=Wa).call.apply(ir,[or].concat(Bn)),ei(null)}})),[wn,Vo,rr,Ja,$t,cr]);return[(0,ie.useCallback)(gr=>{var or;if(!pe)return gr.filter(No=>No!==Wn);let ir=(0,an.Z)(gr);const Wa=new Set(Vo),Na=Ka.map(Ja).filter(No=>!zr.get(No).disabled),Bn=Na.every(No=>Wa.has(No)),va=Na.some(No=>Wa.has(No)),Br=()=>{const No=[];Bn?Na.forEach(ii=>{Wa.delete(ii),No.push(ii)}):Na.forEach(ii=>{Wa.has(ii)||(Wa.add(ii),No.push(ii))});const Zo=Array.from(Wa);Bt==null||Bt(!Bn,Zo.map(ii=>ka(ii)),No.map(ii=>ka(ii))),cr(Zo,"all"),ei(null)};let Qr;if(Sn!=="radio"){let No;if(Ao){const uo={getPopupContainer:wa,items:Ao.map((Gi,Ii)=>{const{key:zo,text:pr,onSelect:hi}=Gi;return{key:zo!=null?zo:Ii,onClick:()=>{hi==null||hi(Na)},label:pr}})};No=ie.createElement("div",{className:`${ma}-selection-extra`},ie.createElement(jo.Z,{menu:uo,getPopupContainer:wa},ie.createElement("span",null,ie.createElement(Ai.Z,null))))}const Zo=Ka.map((uo,Gi)=>{const Ii=Ja(uo,Gi),zo=zr.get(Ii)||{};return Object.assign({checked:Wa.has(Ii)},zo)}).filter(uo=>{let{disabled:Gi}=uo;return Gi}),ii=!!Zo.length&&Zo.length===Ka.length,Pi=ii&&Zo.every(uo=>{let{checked:Gi}=uo;return Gi}),pi=ii&&Zo.some(uo=>{let{checked:Gi}=uo;return Gi});Qr=!ua&&ie.createElement("div",{className:`${ma}-selection`},ie.createElement(sa.default,{checked:ii?Pi:!!Ka.length&&Bn,indeterminate:ii?!Pi&&pi:!Bn&&va,onChange:Br,disabled:Ka.length===0||ii,"aria-label":No?"Custom selection":"Select all",skipGroup:!0}),No)}let Ni;Sn==="radio"?Ni=(No,Zo,ii)=>{const Pi=Ja(Zo,ii),pi=Wa.has(Pi);return{node:ie.createElement(Xi.ZP,Object.assign({},zr.get(Pi),{checked:pi,onClick:uo=>uo.stopPropagation(),onChange:uo=>{Wa.has(Pi)||ko(Pi,!0,[Pi],uo.nativeEvent)}})),checked:pi}}:Ni=(No,Zo,ii)=>{var Pi;const pi=Ja(Zo,ii),uo=Wa.has(pi),Gi=lo.has(pi),Ii=zr.get(pi);let zo;return Dr==="nest"?zo=Gi:zo=(Pi=Ii==null?void 0:Ii.indeterminate)!==null&&Pi!==void 0?Pi:Gi,{node:ie.createElement(sa.default,Object.assign({},Ii,{indeterminate:zo,checked:uo,skipGroup:!0,onClick:pr=>pr.stopPropagation(),onChange:pr=>{let{nativeEvent:hi}=pr;const{shiftKey:Ti}=hi;let sl=-1,el=-1;if(Ti&&ta){const Qi=new Set([vr,pi]);Na.some((Wi,yi)=>{if(Qi.has(Wi))if(sl===-1)sl=yi;else return el=yi,!0;return!1})}if(el!==-1&&sl!==el&&ta){const Qi=Na.slice(sl,el+1),Wi=[];uo?Qi.forEach(gi=>{Wa.has(gi)&&(Wi.push(gi),Wa.delete(gi))}):Qi.forEach(gi=>{Wa.has(gi)||(Wi.push(gi),Wa.add(gi))});const yi=Array.from(Wa);Wt==null||Wt(!uo,yi.map(gi=>ka(gi)),Wi.map(gi=>ka(gi))),cr(yi,"multiple")}else{const Qi=Jr;if(ta){const Wi=uo?(0,Tn._5)(Qi,pi):(0,Tn.L0)(Qi,pi);ko(pi,!uo,Wi,hi)}else{const Wi=(0,tr.S)([].concat((0,an.Z)(Qi),[pi]),!0,Lr,Wr),{checkedKeys:yi,halfCheckedKeys:gi}=Wi;let ol=yi;if(uo){const fl=new Set(yi);fl.delete(pi),ol=(0,tr.S)(Array.from(fl),{checked:!1,halfCheckedKeys:gi},Lr,Wr).checkedKeys}ko(pi,!uo,ol,hi)}}ei(uo?null:pi)}})),checked:uo}};const bi=(No,Zo,ii)=>{const{node:Pi,checked:pi}=Ni(No,Zo,ii);return Zn?Zn(pi,Zo,ii,Pi):Pi};if(!ir.includes(Wn))if(ir.findIndex(No=>{var Zo;return((Zo=No[en])===null||Zo===void 0?void 0:Zo.columnType)==="EXPAND_COLUMN"})===0){const[No,...Zo]=ir;ir=[No,Wn].concat((0,an.Z)(Zo))}else ir=[Wn].concat((0,an.Z)(ir));const Ji=ir.indexOf(Wn);ir=ir.filter((No,Zo)=>No!==Wn||Zo===Ji);const si=ir[Ji-1],ri=ir[Ji+1];let lr=Kn;lr===void 0&&((ri==null?void 0:ri.fixed)!==void 0?lr=ri.fixed:(si==null?void 0:si.fixed)!==void 0&&(lr=si.fixed)),lr&&si&&((or=si[en])===null||or===void 0?void 0:or.columnType)==="EXPAND_COLUMN"&&si.fixed===void 0&&(si.fixed=lr);const Ri=Ze()(`${ma}-selection-col`,{[`${ma}-selection-col-with-dropdown`]:wn&&Sn==="checkbox"}),ji={fixed:lr,width:En,className:`${ma}-selection-column`,title:pe.columnTitle||Qr,render:bi,onCell:pe.onCell,[en]:{className:Ri}};return ir.map(No=>No===Wn?ji:No)},[Ja,Ka,pe,Jr,Vo,lo,En,Ao,Dr,vr,zr,Wt,ko,Wr]),Vo]},Ha=te(89489),Yr=te(59477),mo=te(6848);const Do="ascend",vn="descend";function na(ce){return typeof ce.sorter=="object"&&typeof ce.sorter.multiple=="number"?ce.sorter.multiple:!1}function Oa(ce){return typeof ce=="function"?ce:ce&&typeof ce=="object"&&ce.compare?ce.compare:!1}function _n(ce,pe){return pe?ce[ce.indexOf(pe)+1]:ce[0]}function ya(ce,pe,ze){let $e=[];function ot(lt,Ot){$e.push({column:lt,key:Nr(lt,Ot),multiplePriority:na(lt),sortOrder:lt.sortOrder})}return(ce||[]).forEach((lt,Ot)=>{const Lt=Zr(Ot,ze);lt.children?("sortOrder"in lt&&ot(lt,Lt),$e=[].concat((0,an.Z)($e),(0,an.Z)(ya(lt.children,pe,Lt)))):lt.sorter&&("sortOrder"in lt?ot(lt,Lt):pe&<.defaultSortOrder&&$e.push({column:lt,key:Nr(lt,Lt),multiplePriority:na(lt),sortOrder:lt.defaultSortOrder}))}),$e}function wr(ce,pe,ze,$e,ot,lt,Ot,Lt){return(pe||[]).map((Bt,$t)=>{const Gt=Zr($t,Lt);let Wt=Bt;if(Wt.sorter){const En=Wt.sortDirections||ot,Sn=Wt.showSorterTooltip===void 0?Ot:Wt.showSorterTooltip,wn=Nr(Wt,Gt),Kn=ze.find(Dr=>{let{key:Sa}=Dr;return Sa===wn}),Zn=Kn?Kn.sortOrder:null,ua=_n(En,Zn);let ta;if(Bt.sortIcon)ta=Bt.sortIcon({sortOrder:Zn});else{const Dr=En.includes(Do)&&ie.createElement(Yr.Z,{className:Ze()(`${ce}-column-sorter-up`,{active:Zn===Do})}),Sa=En.includes(vn)&&ie.createElement(Ha.Z,{className:Ze()(`${ce}-column-sorter-down`,{active:Zn===vn})});ta=ie.createElement("span",{className:Ze()(`${ce}-column-sorter`,{[`${ce}-column-sorter-full`]:!!(Dr&&Sa)})},ie.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Dr,Sa))}const{cancelSort:ma,triggerAsc:Ya,triggerDesc:rr}=lt||{};let ka=ma;ua===vn?ka=rr:ua===Do&&(ka=Ya);const Ja=typeof Sn=="object"?Sn:{title:ka};Wt=Object.assign(Object.assign({},Wt),{className:Ze()(Wt.className,{[`${ce}-column-sort`]:Zn}),title:Dr=>{const Sa=ie.createElement("div",{className:`${ce}-column-sorters`},ie.createElement("span",{className:`${ce}-column-title`},hr(Bt.title,Dr)),ta);return Sn?ie.createElement(mo.Z,Object.assign({},Ja),Sa):Sa},onHeaderCell:Dr=>{const Sa=Bt.onHeaderCell&&Bt.onHeaderCell(Dr)||{},_a=Sa.onClick,wa=Sa.onKeyDown;Sa.onClick=qa=>{$e({column:Bt,key:wn,sortOrder:ua,multiplePriority:na(Bt)}),_a==null||_a(qa)},Sa.onKeyDown=qa=>{qa.keyCode===Ut.Z.ENTER&&($e({column:Bt,key:wn,sortOrder:ua,multiplePriority:na(Bt)}),wa==null||wa(qa))};const da=xr(Bt.title,{}),fa=da==null?void 0:da.toString();return Zn?Sa["aria-sort"]=Zn==="ascend"?"ascending":"descending":Sa["aria-label"]=fa||"",Sa.className=Ze()(Sa.className,`${ce}-column-has-sorters`),Sa.tabIndex=0,Bt.ellipsis&&(Sa.title=(da!=null?da:"").toString()),Sa}})}return"children"in Wt&&(Wt=Object.assign(Object.assign({},Wt),{children:wr(ce,Wt.children,ze,$e,ot,lt,Ot,Gt)})),Wt})}function Fr(ce){const{column:pe,sortOrder:ze}=ce;return{column:pe,order:ze,field:pe.dataIndex,columnKey:pe.key}}function Co(ce){const pe=ce.filter(ze=>{let{sortOrder:$e}=ze;return $e}).map(Fr);return pe.length===0&&ce.length?Object.assign(Object.assign({},Fr(ce[ce.length-1])),{column:void 0}):pe.length<=1?pe[0]||{}:pe}function qo(ce,pe,ze){const $e=pe.slice().sort((Ot,Lt)=>Lt.multiplePriority-Ot.multiplePriority),ot=ce.slice(),lt=$e.filter(Ot=>{let{column:{sorter:Lt},sortOrder:Bt}=Ot;return Oa(Lt)&&Bt});return lt.length?ot.sort((Ot,Lt)=>{for(let Bt=0;Bt<lt.length;Bt+=1){const $t=lt[Bt],{column:{sorter:Gt},sortOrder:Wt}=$t,En=Oa(Gt);if(En&&Wt){const Sn=En(Ot,Lt,Wt);if(Sn!==0)return Wt===Do?Sn:-Sn}}return 0}).map(Ot=>{const Lt=Ot[ze];return Lt?Object.assign(Object.assign({},Ot),{[ze]:qo(Lt,pe,ze)}):Ot}):ot}function Di(ce){let{prefixCls:pe,mergedColumns:ze,onSorterChange:$e,sortDirections:ot,tableLocale:lt,showSorterTooltip:Ot}=ce;const[Lt,Bt]=ie.useState(ya(ze,!0)),$t=ie.useMemo(()=>{let wn=!0;const Kn=ya(ze,!1);if(!Kn.length)return Lt;const Zn=[];function ua(ma){wn?Zn.push(ma):Zn.push(Object.assign(Object.assign({},ma),{sortOrder:null}))}let ta=null;return Kn.forEach(ma=>{ta===null?(ua(ma),ma.sortOrder&&(ma.multiplePriority===!1?wn=!1:ta=!0)):(ta&&ma.multiplePriority!==!1||(wn=!1),ua(ma))}),Zn},[ze,Lt]),Gt=ie.useMemo(()=>{const wn=$t.map(Kn=>{let{column:Zn,sortOrder:ua}=Kn;return{column:Zn,order:ua}});return{sortColumns:wn,sortColumn:wn[0]&&wn[0].column,sortOrder:wn[0]&&wn[0].order}},[$t]);function Wt(wn){let Kn;wn.multiplePriority===!1||!$t.length||$t[0].multiplePriority===!1?Kn=[wn]:Kn=[].concat((0,an.Z)($t.filter(Zn=>{let{key:ua}=Zn;return ua!==wn.key})),[wn]),Bt(Kn),$e(Co(Kn),Kn)}return[wn=>wr(pe,wn,$t,Wt,ot,lt,Ot),$t,Gt,()=>Co($t)]}function Hi(ce,pe){return ce.map(ze=>{const $e=Object.assign({},ze);return $e.title=hr(ze.title,pe),"children"in $e&&($e.children=Hi($e.children,pe)),$e})}function qi(ce){return[ie.useCallback(ze=>Hi(ze,ce),[ce])]}var wl=jr((ce,pe)=>{const{_renderTimes:ze}=ce,{_renderTimes:$e}=pe;return ze!==$e}),vl=ke((ce,pe)=>{const{_renderTimes:ze}=ce,{_renderTimes:$e}=pe;return ze!==$e}),Sl=te(64993),Fl=te(17313),uu=te(83116),su=te(37613),de=ce=>{const{componentCls:pe}=ce,ze=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,$e=(ot,lt,Ot)=>({[`&${pe}-${ot}`]:{[`> ${pe}-container`]:{[`> ${pe}-content, > ${pe}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${pe}-expanded-row-fixed`]:{margin:`-${lt}px -${Ot+ce.lineWidth}px`}}}}}});return{[`${pe}-wrapper`]:{[`${pe}${pe}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${pe}-title`]:{border:ze,borderBottom:0},[`> ${pe}-container`]:{borderInlineStart:ze,borderTop:ze,[`
|
|
> ${pe}-content,
|
|
> ${pe}-header,
|
|
> ${pe}-body,
|
|
> ${pe}-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:ze},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ze},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${pe}-cell-fix-right-first::after`]:{borderInlineEnd:ze}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${pe}-expanded-row-fixed`]:{margin:`-${ce.tablePaddingVertical}px -${ce.tablePaddingHorizontal+ce.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ce.lineWidth,bottom:0,borderInlineEnd:ze,content:'""'}}}}}},[`&${pe}-scroll-horizontal`]:{[`> ${pe}-container > ${pe}-body`]:{"> table > tbody":{[`
|
|
> tr${pe}-expanded-row,
|
|
> tr${pe}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},$e("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle)),$e("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall)),{[`> ${pe}-footer`]:{border:ze,borderTop:0}}),[`${pe}-cell`]:{[`${pe}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ce.lineWidth}px 0 ${ce.lineWidth}px ${ce.tableHeaderBg}`}},[`${pe}-bordered ${pe}-cell-scrollbar`]:{borderInlineEnd:ze}}}},Qe=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper`]:{[`${pe}-cell-ellipsis`]:Object.assign(Object.assign({},Fl.vS),{wordBreak:"keep-all",[`
|
|
&${pe}-cell-fix-left-last,
|
|
&${pe}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${pe}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${pe}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},It=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper`]:{[`${pe}-tbody > tr${pe}-placeholder`]:{textAlign:"center",color:ce.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ce.colorBgContainer}}}}},bt=te(15969),rn=ce=>{const{componentCls:pe,antCls:ze,controlInteractiveSize:$e,motionDurationSlow:ot,lineWidth:lt,paddingXS:Ot,lineType:Lt,tableBorderColor:Bt,tableExpandIconBg:$t,tableExpandColumnWidth:Gt,borderRadius:Wt,fontSize:En,fontSizeSM:Sn,lineHeight:wn,tablePaddingVertical:Kn,tablePaddingHorizontal:Zn,tableExpandedRowBg:ua,paddingXXS:ta}=ce,ma=$e/2-lt,Ya=ma*2+lt*3,rr=`${lt}px ${Lt} ${Bt}`,ka=ta-lt;return{[`${pe}-wrapper`]:{[`${pe}-expand-icon-col`]:{width:Gt},[`${pe}-row-expand-icon-cell`]:{textAlign:"center",[`${pe}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${pe}-row-indent`]:{height:1,float:"left"},[`${pe}-row-expand-icon`]:Object.assign(Object.assign({},(0,bt.N)(ce)),{position:"relative",float:"left",boxSizing:"border-box",width:Ya,height:Ya,padding:0,color:"inherit",lineHeight:`${Ya}px`,background:$t,border:rr,borderRadius:Wt,transform:`scale(${$e/Ya})`,transition:`all ${ot}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ot} ease-out`,content:'""'},"&::before":{top:ma,insetInlineEnd:ka,insetInlineStart:ka,height:lt},"&::after":{top:ka,bottom:ka,insetInlineStart:ma,width:lt,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"}}),[`${pe}-row-indent + ${pe}-row-expand-icon`]:{marginTop:(En*wn-lt*3)/2-Math.ceil((Sn*1.4-lt*3)/2),marginInlineEnd:Ot},[`tr${pe}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ua}},[`${ze}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${pe}-expanded-row-fixed`]:{position:"relative",margin:`-${Kn}px -${Zn}px`,padding:`${Kn}px ${Zn}px`}}}},ia=ce=>{const{componentCls:pe,antCls:ze,iconCls:$e,tableFilterDropdownWidth:ot,tableFilterDropdownSearchWidth:lt,paddingXXS:Ot,paddingXS:Lt,colorText:Bt,lineWidth:$t,lineType:Gt,tableBorderColor:Wt,tableHeaderIconColor:En,fontSizeSM:Sn,tablePaddingHorizontal:wn,borderRadius:Kn,motionDurationSlow:Zn,colorTextDescription:ua,colorPrimary:ta,tableHeaderFilterActiveBg:ma,colorTextDisabled:Ya,tableFilterDropdownBg:rr,tableFilterDropdownHeight:ka,controlItemBgHover:Ja,controlItemBgActive:Dr,boxShadowSecondary:Sa,filterDropdownMenuBg:_a}=ce,wa=`${ze}-dropdown`,da=`${pe}-filter-dropdown`,fa=`${ze}-tree`,qa=`${$t}px ${Gt} ${Wt}`;return[{[`${pe}-wrapper`]:{[`${pe}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${pe}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Ot,marginInline:`${Ot}px ${-wn/2}px`,padding:`0 ${Ot}px`,color:En,fontSize:Sn,borderRadius:Kn,cursor:"pointer",transition:`all ${Zn}`,"&:hover":{color:ua,background:ma},"&.active":{color:ta}}}},{[`${ze}-dropdown`]:{[da]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{minWidth:ot,backgroundColor:rr,borderRadius:Kn,boxShadow:Sa,overflow:"hidden",[`${wa}-menu`]:{maxHeight:ka,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_a,"&:empty::after":{display:"block",padding:`${Lt}px 0`,color:Ya,fontSize:Sn,textAlign:"center",content:'"Not Found"'}},[`${da}-tree`]:{paddingBlock:`${Lt}px 0`,paddingInline:Lt,[fa]:{padding:0},[`${fa}-treenode ${fa}-node-content-wrapper:hover`]:{backgroundColor:Ja},[`${fa}-treenode-checkbox-checked ${fa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Dr}}},[`${da}-search`]:{padding:Lt,borderBottom:qa,"&-input":{input:{minWidth:lt},[$e]:{color:Ya}}},[`${da}-checkall`]:{width:"100%",marginBottom:Ot,marginInlineStart:Ot},[`${da}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Lt-$t}px ${Lt}px`,overflow:"hidden",borderTop:qa}})}},{[`${ze}-dropdown ${da}, ${da}-submenu`]:{[`${ze}-checkbox-wrapper + span`]:{paddingInlineStart:Lt,color:Bt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},An=ce=>{const{componentCls:pe,lineWidth:ze,colorSplit:$e,motionDurationSlow:ot,zIndexTableFixed:lt,tableBg:Ot,zIndexTableSticky:Lt}=ce,Bt=$e;return{[`${pe}-wrapper`]:{[`
|
|
${pe}-cell-fix-left,
|
|
${pe}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:lt,background:Ot},[`
|
|
${pe}-cell-fix-left-first::after,
|
|
${pe}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ze,width:30,transform:"translateX(100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${pe}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${pe}-cell-fix-right-first::after,
|
|
${pe}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-ze,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${pe}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Lt+1,width:30,transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${pe}-ping-left`]:{[`&:not(${pe}-has-fix-left) ${pe}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Bt}`}},[`
|
|
${pe}-cell-fix-left-first::after,
|
|
${pe}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Bt}`},[`${pe}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${pe}-ping-right`]:{[`&:not(${pe}-has-fix-right) ${pe}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Bt}`}},[`
|
|
${pe}-cell-fix-right-first::after,
|
|
${pe}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Bt}`}}}}},Gn=ce=>{const{componentCls:pe,antCls:ze}=ce;return{[`${pe}-wrapper`]:{[`${pe}-pagination${ze}-pagination`]:{margin:`${ce.margin}px 0`},[`${pe}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ce.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xn=ce=>{const{componentCls:pe,tableRadius:ze}=ce;return{[`${pe}-wrapper`]:{[pe]:{[`${pe}-title, ${pe}-header`]:{borderRadius:`${ze}px ${ze}px 0 0`},[`${pe}-title + ${pe}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${pe}-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:ze,borderStartEndRadius:ze,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ze},"> *:last-child":{borderStartEndRadius:ze}}},"&-footer":{borderRadius:`0 0 ${ze}px ${ze}px`}}}}},Ta=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${pe}-pagination-left`]:{justifyContent:"flex-end"},[`${pe}-pagination-right`]:{justifyContent:"flex-start"},[`${pe}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${pe}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${pe}-row-indent`]:{float:"right"}}}}},za=ce=>{const{componentCls:pe,antCls:ze,iconCls:$e,fontSizeIcon:ot,padding:lt,paddingXS:Ot,tableHeaderIconColor:Lt,tableHeaderIconColorHover:Bt,tableSelectionColumnWidth:$t}=ce;return{[`${pe}-wrapper`]:{[`${pe}-selection-col`]:{width:$t,[`&${pe}-selection-col-with-dropdown`]:{width:$t+ot+lt/4}},[`${pe}-bordered ${pe}-selection-col`]:{width:$t+Ot*2,[`&${pe}-selection-col-with-dropdown`]:{width:$t+ot+lt/4+Ot*2}},[`
|
|
table tr th${pe}-selection-column,
|
|
table tr td${pe}-selection-column
|
|
`]:{paddingInlineEnd:ce.paddingXS,paddingInlineStart:ce.paddingXS,textAlign:"center",[`${ze}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${pe}-selection-column${pe}-cell-fix-left`]:{zIndex:ce.zIndexTableFixed+1},[`table tr th${pe}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${pe}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${pe}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ce.tablePaddingHorizontal/4}px`,[$e]:{color:Lt,fontSize:ot,verticalAlign:"baseline","&:hover":{color:Bt}}}}}},ja=ce=>{const{componentCls:pe}=ce,ze=($e,ot,lt,Ot)=>({[`${pe}${pe}-${$e}`]:{fontSize:Ot,[`
|
|
${pe}-title,
|
|
${pe}-footer,
|
|
${pe}-cell,
|
|
${pe}-thead > tr > th,
|
|
${pe}-tbody > tr > th,
|
|
${pe}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${ot}px ${lt}px`},[`${pe}-filter-trigger`]:{marginInlineEnd:`-${lt/2}px`},[`${pe}-expanded-row-fixed`]:{margin:`-${ot}px -${lt}px`},[`${pe}-tbody`]:{[`${pe}-wrapper:only-child ${pe}`]:{marginBlock:`-${ot}px`,marginInline:`${ce.tableExpandColumnWidth-lt}px -${lt}px`}},[`${pe}-selection-column`]:{paddingInlineStart:`${lt/4}px`}}});return{[`${pe}-wrapper`]:Object.assign(Object.assign({},ze("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle,ce.tableFontSizeMiddle)),ze("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall,ce.tableFontSizeSmall))}},so=ce=>{const{componentCls:pe,marginXXS:ze,fontSizeIcon:$e,tableHeaderIconColor:ot,tableHeaderIconColorHover:lt}=ce;return{[`${pe}-wrapper`]:{[`${pe}-thead th${pe}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,"&:hover":{background:ce.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ce.colorPrimary},[`
|
|
&${pe}-cell-fix-left:hover,
|
|
&${pe}-cell-fix-right:hover
|
|
`]:{background:ce.tableFixedHeaderSortActiveBg}},[`${pe}-thead th${pe}-column-sort`]:{background:ce.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${pe}-column-sort`]:{background:ce.tableBodySortBg},[`${pe}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${pe}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${pe}-column-sorter`]:{marginInlineStart:ze,color:ot,fontSize:0,transition:`color ${ce.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:$e,"&.active":{color:ce.colorPrimary}},[`${pe}-column-sorter-up + ${pe}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${pe}-column-sorters:hover ${pe}-column-sorter`]:{color:lt}}}},fo=ce=>{const{componentCls:pe,opacityLoading:ze,tableScrollThumbBg:$e,tableScrollThumbBgHover:ot,tableScrollThumbSize:lt,tableScrollBg:Ot,zIndexTableSticky:Lt,stickyScrollBarBorderRadius:Bt}=ce,$t=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${pe}-wrapper`]:{[`${pe}-sticky`]:{"&-holder":{position:"sticky",zIndex:Lt,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${lt}px !important`,zIndex:Lt,display:"flex",alignItems:"center",background:Ot,borderTop:$t,opacity:ze,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:lt,backgroundColor:$e,borderRadius:Bt,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ot}}}}}}},Wo=ce=>{const{componentCls:pe,lineWidth:ze,tableBorderColor:$e}=ce,ot=`${ze}px ${ce.lineType} ${$e}`;return{[`${pe}-wrapper`]:{[`${pe}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:ot}}},[`div${pe}-summary`]:{boxShadow:`0 -${ze}px 0 ${$e}`}}}},mi=ce=>{const{componentCls:pe}=ce,ze=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,$e=`${pe}-expanded-row-cell`;return{[`${pe}-wrapper`]:{[`${pe}-tbody-virtual`]:{[`${pe}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${pe}-cell`]:{borderBottom:ze},[`${pe}-expanded-row`]:{[`${$e}${$e}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ce.lineWidth}px)`,borderInlineEnd:"none"}}},[`${pe}-bordered`]:{[`${pe}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ze,position:"absolute"},[`${pe}-cell`]:{borderInlineEnd:ze,[`&${pe}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ce.lineWidth,borderInlineStart:ze}}}}}}};const Go=ce=>{const{componentCls:pe,fontWeightStrong:ze,tablePaddingVertical:$e,tablePaddingHorizontal:ot,lineWidth:lt,lineType:Ot,tableBorderColor:Lt,tableFontSize:Bt,tableBg:$t,tableRadius:Gt,tableHeaderTextColor:Wt,motionDurationMid:En,tableHeaderBg:Sn,tableHeaderCellSplitColor:wn,tableRowHoverBg:Kn,tableSelectedRowBg:Zn,tableSelectedRowHoverBg:ua,tableFooterTextColor:ta,tableFooterBg:ma,paddingContentVerticalLG:Ya}=ce,rr=`${lt}px ${Ot} ${Lt}`;return{[`${pe}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Fl.dF)()),{[pe]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{fontSize:Bt,background:$t,borderRadius:`${Gt}px ${Gt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Gt}px ${Gt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${pe}-cell,
|
|
${pe}-thead > tr > th,
|
|
${pe}-tbody > tr > th,
|
|
${pe}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${Ya}px ${ot}px`,overflowWrap:"break-word"},[`${pe}-title`]:{padding:`${$e}px ${ot}px`},[`${pe}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Wt,fontWeight:ze,textAlign:"start",background:Sn,borderBottom:rr,transition:`background ${En} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${pe}-selection-column):not(${pe}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:wn,transform:"translateY(-50%)",transition:`background-color ${En}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${pe}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${En}, border-color ${En}`,borderBottom:rr,[`
|
|
> ${pe}-wrapper:only-child,
|
|
> ${pe}-expanded-row-fixed > ${pe}-wrapper:only-child
|
|
`]:{[pe]:{marginBlock:`-${$e}px`,marginInline:`${ce.tableExpandColumnWidth-ot}px -${ot}px`,[`${pe}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Wt,fontWeight:ze,textAlign:"start",background:Sn,borderBottom:rr,transition:`background ${En} ease`},[`
|
|
&${pe}-row:hover > th,
|
|
&${pe}-row:hover > td,
|
|
> th${pe}-cell-row-hover,
|
|
> td${pe}-cell-row-hover
|
|
`]:{background:Kn},[`&${pe}-row-selected`]:{"> th, > td":{background:Zn},"&:hover > th, &:hover > td":{background:ua}}}},[`${pe}-footer`]:{padding:`${$e}px ${ot}px`,color:ta,background:ma}})}};var bo=(0,uu.Z)("Table",ce=>{const{colorTextHeading:pe,colorSplit:ze,colorIcon:$e,colorIconHover:ot,opacityLoading:lt,colorBgContainer:Ot,controlInteractiveSize:Lt,headerBg:Bt,headerColor:$t,headerSortActiveBg:Gt,headerSortHoverBg:Wt,bodySortBg:En,rowHoverBg:Sn,rowSelectedBg:wn,rowSelectedHoverBg:Kn,rowExpandedBg:Zn,cellPaddingBlock:ua,cellPaddingInline:ta,cellPaddingBlockMD:ma,cellPaddingInlineMD:Ya,cellPaddingBlockSM:rr,cellPaddingInlineSM:ka,borderColor:Ja,footerBg:Dr,footerColor:Sa,headerBorderRadius:_a,cellFontSize:wa,cellFontSizeMD:da,cellFontSizeSM:fa,headerSplitColor:qa,fixedHeaderSortActiveBg:Gr,headerFilterHoverBg:Lr,filterDropdownBg:Ka,expandIconBg:zr,selectionColumnWidth:Wr,stickyScrollBarBg:Jr}=ce,Vr=new Sl.C($e),Vo=new Sl.C(ot),lo=2,vr=(0,su.TS)(ce,{tableFontSize:wa,tableBg:Ot,tableRadius:_a,tablePaddingVertical:ua,tablePaddingHorizontal:ta,tablePaddingVerticalMiddle:ma,tablePaddingHorizontalMiddle:Ya,tablePaddingVerticalSmall:rr,tablePaddingHorizontalSmall:ka,tableBorderColor:Ja,tableHeaderTextColor:$t,tableHeaderBg:Bt,tableFooterTextColor:Sa,tableFooterBg:Dr,tableHeaderCellSplitColor:qa,tableHeaderSortBg:Gt,tableHeaderSortHoverBg:Wt,tableHeaderIconColor:Vr.clone().setAlpha(Vr.getAlpha()*lt).toRgbString(),tableHeaderIconColorHover:Vo.clone().setAlpha(Vo.getAlpha()*lt).toRgbString(),tableBodySortBg:En,tableFixedHeaderSortActiveBg:Gr,tableHeaderFilterActiveBg:Lr,tableFilterDropdownBg:Ka,tableRowHoverBg:Sn,tableSelectedRowBg:wn,tableSelectedRowHoverBg:Kn,zIndexTableFixed:lo,zIndexTableSticky:lo+1,tableFontSizeMiddle:da,tableFontSizeSmall:fa,tableSelectionColumnWidth:Wr,tableExpandIconBg:zr,tableExpandColumnWidth:Lt+2*ce.padding,tableExpandedRowBg:Zn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Jr,tableScrollThumbBgHover:pe,tableScrollBg:ze});return[Go(vr),Gn(vr),Wo(vr),so(vr),ia(vr),de(vr),xn(vr),rn(vr),Wo(vr),It(vr),za(vr),An(vr),fo(vr),Qe(vr),ja(vr),Ta(vr),mi(vr)]},ce=>{const{colorFillAlter:pe,colorBgContainer:ze,colorTextHeading:$e,colorFillSecondary:ot,colorFillContent:lt,controlItemBgActive:Ot,controlItemBgActiveHover:Lt,padding:Bt,paddingSM:$t,paddingXS:Gt,colorBorderSecondary:Wt,borderRadiusLG:En,fontSize:Sn,controlHeight:wn,colorTextPlaceholder:Kn}=ce,Zn=new Sl.C(ot).onBackground(ze).toHexShortString(),ua=new Sl.C(lt).onBackground(ze).toHexShortString(),ta=new Sl.C(pe).onBackground(ze).toHexShortString();return{headerBg:ta,headerColor:$e,headerSortActiveBg:Zn,headerSortHoverBg:ua,bodySortBg:ta,rowHoverBg:ta,rowSelectedBg:Ot,rowSelectedHoverBg:Lt,rowExpandedBg:pe,cellPaddingBlock:Bt,cellPaddingInline:Bt,cellPaddingBlockMD:$t,cellPaddingInlineMD:Gt,cellPaddingBlockSM:Gt,cellPaddingInlineSM:Gt,borderColor:Wt,headerBorderRadius:En,footerBg:ta,footerColor:$e,cellFontSize:Sn,cellFontSizeMD:Sn,cellFontSizeSM:Sn,headerSplitColor:Wt,fixedHeaderSortActiveBg:Zn,headerFilterHoverBg:lt,filterDropdownMenuBg:ze,filterDropdownBg:ze,expandIconBg:ze,selectionColumnWidth:wn,stickyScrollBarBg:Kn,stickyScrollBarBorderRadius:100}});const Bo=[],Yo=(ce,pe)=>{const{prefixCls:ze,className:$e,rootClassName:ot,style:lt,size:Ot,bordered:Lt,dropdownPrefixCls:Bt,dataSource:$t,pagination:Gt,rowSelection:Wt,rowKey:En="key",rowClassName:Sn,columns:wn,children:Kn,childrenColumnName:Zn,onChange:ua,getPopupContainer:ta,loading:ma,expandIcon:Ya,expandable:rr,expandedRowRender:ka,expandIconColumnIndex:Ja,indentSize:Dr,scroll:Sa,sortDirections:_a,locale:wa,showSorterTooltip:da=!0,virtual:fa}=ce,qa=ie.useMemo(()=>wn||Ft(Kn),[wn,Kn]),Gr=ie.useMemo(()=>qa.some(Po=>Po.responsive),[qa]),Lr=(0,Mr.Z)(Gr),Ka=ie.useMemo(()=>{const Po=new Set(Object.keys(Lr).filter(Qo=>Lr[Qo]));return qa.filter(Qo=>!Qo.responsive||Qo.responsive.some(ki=>Po.has(ki)))},[qa,Lr]),zr=(0,Yn.Z)(ce,["className","style","columns"]),{locale:Wr=Ro.Z,direction:Jr,table:Vr,renderEmpty:Vo,getPrefixCls:lo,getPopupContainer:vr}=ie.useContext(Ca.E_),ei=(0,Or.Z)(Ot),cr=Object.assign(Object.assign({},Wr.Table),wa),ko=$t||Bo,Ao=lo("table",ze),fi=lo("dropdown",Bt),gr=Object.assign({childrenColumnName:Zn,expandIconColumnIndex:Ja},rr),{childrenColumnName:or="children"}=gr,ir=ie.useMemo(()=>ko.some(Po=>Po==null?void 0:Po[or])?"nest":ka||rr&&rr.expandedRowRender?"row":null,[ko]),Wa={body:ie.useRef()},Na=ie.useMemo(()=>typeof En=="function"?En:Po=>Po==null?void 0:Po[En],[En]),[Bn]=Pr(ko,or,Na),va={},Br=function(Po,Qo){let ki=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var di,Vi,Ui;const Ki=Object.assign(Object.assign({},va),Po);ki&&((di=va.resetPagination)===null||di===void 0||di.call(va),!((Vi=Ki.pagination)===null||Vi===void 0)&&Vi.current&&(Ki.pagination.current=1),Gt&&Gt.onChange&&Gt.onChange(1,(Ui=Ki.pagination)===null||Ui===void 0?void 0:Ui.pageSize)),Sa&&Sa.scrollToFirstRowOnChange!==!1&&Wa.body.current&&(0,Pa.Z)(0,{getContainer:()=>Wa.body.current}),ua==null||ua(Ki.pagination,Ki.filters,Ki.sorter,{currentDataSource:$o(qo(ko,Ki.sorterStates,or),Ki.filterStates),action:Qo})},Qr=(Po,Qo)=>{Br({sorter:Po,sorterStates:Qo},"sort",!1)},[Ni,bi,Ji,si]=Di({prefixCls:Ao,mergedColumns:Ka,onSorterChange:Qr,sortDirections:_a||["ascend","descend"],tableLocale:cr,showSorterTooltip:da}),ri=ie.useMemo(()=>qo(ko,bi,or),[ko,bi]);va.sorter=si(),va.sorterStates=bi;const lr=(Po,Qo)=>{Br({filters:Po,filterStates:Qo},"filter",!0)},[Ri,ji,No]=Sr({prefixCls:Ao,locale:cr,dropdownPrefixCls:fi,mergedColumns:Ka,onFilterChange:lr,getPopupContainer:ta||vr}),Zo=$o(ri,ji);va.filters=No,va.filterStates=ji;const ii=ie.useMemo(()=>{const Po={};return Object.keys(No).forEach(Qo=>{No[Qo]!==null&&(Po[Qo]=No[Qo])}),Object.assign(Object.assign({},Ji),{filters:Po})},[Ji,No]),[Pi]=qi(ii),pi=(Po,Qo)=>{Br({pagination:Object.assign(Object.assign({},va.pagination),{current:Po,pageSize:Qo})},"paginate")},[uo,Gi]=eo(Zo.length,pi,Gt);va.pagination=Gt===!1?{}:ha(uo,Gt),va.resetPagination=Gi;const Ii=ie.useMemo(()=>{if(Gt===!1||!uo.pageSize)return Zo;const{current:Po=1,total:Qo,pageSize:ki=oi}=uo;return Zo.length<Qo?Zo.length>ki?Zo.slice((Po-1)*ki,Po*ki):Zo:Zo.slice((Po-1)*ki,Po*ki)},[!!Gt,Zo,uo&&uo.current,uo&&uo.pageSize,uo&&uo.total]),[zo,pr]=So({prefixCls:Ao,data:Zo,pageData:Ii,getRowKey:Na,getRecordByKey:Bn,expandType:ir,childrenColumnName:or,locale:cr,getPopupContainer:ta||vr},Wt),hi=(Po,Qo,ki)=>{let di;return typeof Sn=="function"?di=Ze()(Sn(Po,Qo,ki)):di=Ze()(Sn),Ze()({[`${Ao}-row-selected`]:pr.has(Na(Po,Qo))},di)};gr.__PARENT_RENDER_ICON__=gr.expandIcon,gr.expandIcon=gr.expandIcon||Ya||ra(cr),ir==="nest"&&gr.expandIconColumnIndex===void 0?gr.expandIconColumnIndex=Wt?1:0:gr.expandIconColumnIndex>0&&Wt&&(gr.expandIconColumnIndex-=1),typeof gr.indentSize!="number"&&(gr.indentSize=typeof Dr=="number"?Dr:15);const Ti=ie.useCallback(Po=>Pi(zo(Ri(Ni(Po)))),[Ni,Ri,zo]);let sl,el;if(Gt!==!1&&(uo!=null&&uo.total)){let Po;uo.size?Po=uo.size:Po=ei==="small"||ei==="middle"?"small":void 0;const Qo=Vi=>ie.createElement(Ur.Z,Object.assign({},uo,{className:Ze()(`${Ao}-pagination ${Ao}-pagination-${Vi}`,uo.className),size:Po})),ki=Jr==="rtl"?"left":"right",{position:di}=uo;if(di!==null&&Array.isArray(di)){const Vi=di.find(ll=>ll.includes("top")),Ui=di.find(ll=>ll.includes("bottom")),Ki=di.every(ll=>`${ll}`=="none");!Vi&&!Ui&&!Ki&&(el=Qo(ki)),Vi&&(sl=Qo(Vi.toLowerCase().replace("top",""))),Ui&&(el=Qo(Ui.toLowerCase().replace("bottom","")))}else el=Qo(ki)}let Qi;typeof ma=="boolean"?Qi={spinning:ma}:typeof ma=="object"&&(Qi=Object.assign({spinning:!0},ma));const[Wi,yi]=bo(Ao),[,gi]=(0,$n.Z)(),ol=Ze()(`${Ao}-wrapper`,Vr==null?void 0:Vr.className,{[`${Ao}-wrapper-rtl`]:Jr==="rtl"},$e,ot,yi),fl=Object.assign(Object.assign({},Vr==null?void 0:Vr.style),lt),al=wa&&wa.emptyText||(Vo==null?void 0:Vo("Table"))||ie.createElement(ga.Z,{componentName:"Table"}),il=fa?vl:wl,Cl={},Rl=ie.useMemo(()=>{const{fontSize:Po,lineHeight:Qo,padding:ki,paddingXS:di,paddingSM:Vi}=gi,Ui=Math.floor(Po*Qo);switch(ei){case"large":return ki*2+Ui;case"small":return di*2+Ui;default:return Vi*2+Ui}},[gi,ei]);return fa&&(Cl.listItemHeight=Rl),Wi(ie.createElement("div",{ref:pe,className:ol,style:fl},ie.createElement(la.Z,Object.assign({spinning:!1},Qi),sl,ie.createElement(il,Object.assign({},Cl,zr,{columns:Ka,direction:Jr,expandable:gr,prefixCls:Ao,className:Ze()({[`${Ao}-middle`]:ei==="middle",[`${Ao}-small`]:ei==="small",[`${Ao}-bordered`]:Lt,[`${Ao}-empty`]:ko.length===0}),data:Ii,rowKey:Na,rowClassName:hi,emptyText:al,internalHooks:se,internalRefs:Wa,transformColumns:Ti})),el)))};var ai=ie.forwardRef(Yo);const To=(ce,pe)=>{const ze=ie.useRef(0);return ze.current+=1,ie.createElement(ai,Object.assign({},ce,{ref:pe,_renderTimes:ze.current}))},_o=ie.forwardRef(To);_o.SELECTION_COLUMN=Wn,_o.EXPAND_COLUMN=z,_o.SELECTION_ALL=Cn,_o.SELECTION_INVERT=$r,_o.SELECTION_NONE=mr,_o.Column=Jt,_o.ColumnGroup=Fn,_o.Summary=Oe;var Li=_o,Ci=Li},17574:function(Et,St,te){"use strict";te.d(St,{default:function(){return it}});var z=te(60091),se=te(94480),he=te(52671),Ie=te(8657),be=te(54476),Ne=te(59301),ie={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"},nt=ie,je=te(7657),Te=function(ft,Rt){return Ne.createElement(je.Z,(0,be.Z)({},ft,{ref:Rt,icon:nt}))},He=Ne.forwardRef(Te),Me=He,Ee=te(92310),re=te.n(Ee),a=te(35654),y=te(71430),b=te(36355),E=te(56082),x=te(62892),ee=te(20648);const ne=4;function oe(at){const{dropPosition:ft,dropLevelOffset:Rt,prefixCls:kt,indent:Ye,direction:ut="ltr"}=at,At=ut==="ltr"?"left":"right",Nt=ut==="ltr"?"right":"left",Pt={[At]:-Rt*Ye+ne,[Nt]:0};switch(ft){case-1:Pt.top=-3;break;case 1:Pt.bottom=-3;break;default:Pt.bottom=-3,Pt[At]=Ye+ne;break}return Ne.createElement("div",{style:Pt,className:`${kt}-drop-indicator`})}var ae=te(71997),ge=Ne.forwardRef((at,ft)=>{const{getPrefixCls:Rt,direction:kt,virtual:Ye,tree:ut}=Ne.useContext(b.E_),{prefixCls:At,className:Nt,showIcon:Pt=!1,showLine:sn,switcherIcon:Fe,blockNode:Qt=!1,children:Kt,checkable:Hn=!1,selectable:Jn=!0,draggable:Re,motion:qe,style:tt}=at,Le=Rt("tree",At),ht=Rt(),gt=qe!=null?qe:Object.assign(Object.assign({},(0,x.Z)(ht)),{motionAppear:!1}),Oe=Object.assign(Object.assign({},at),{checkable:Hn,selectable:Jn,showIcon:Pt,motion:gt,blockNode:Qt,showLine:!!sn,dropIndicatorRender:oe}),[ve,We]=(0,ee.ZP)(Le),Ve=Ne.useMemo(()=>{if(!Re)return!1;let pt={};switch(typeof Re){case"function":pt.nodeDraggable=Re;break;case"object":pt=Object.assign({},Re);break;default:break}return pt.icon!==!1&&(pt.icon=pt.icon||Ne.createElement(E.Z,null)),pt},[Re]),we=pt=>Ne.createElement(ae.Z,{prefixCls:Le,switcherIcon:Fe,treeNodeProps:pt,showLine:sn});return ve(Ne.createElement(z.Z,Object.assign({itemHeight:20,ref:ft,virtual:Ye},Oe,{style:Object.assign(Object.assign({},ut==null?void 0:ut.style),tt),prefixCls:Le,className:re()({[`${Le}-icon-hide`]:!Pt,[`${Le}-block-node`]:Qt,[`${Le}-unselectable`]:!Jn,[`${Le}-rtl`]:kt==="rtl"},ut==null?void 0:ut.className,Nt,We),direction:kt,checkable:Hn&&Ne.createElement("span",{className:`${Le}-checkbox-inner`}),selectable:Jn,switcherIcon:we,draggable:Ve}),Kt))}),me;(function(at){at[at.None=0]="None",at[at.Start=1]="Start",at[at.End=2]="End"})(me||(me={}));function Pe(at,ft){function Rt(kt){const{key:Ye,children:ut}=kt;ft(Ye,kt)!==!1&&Pe(ut||[],ft)}at.forEach(Rt)}function xe(at){let{treeData:ft,expandedKeys:Rt,startKey:kt,endKey:Ye}=at;const ut=[];let At=me.None;if(kt&&kt===Ye)return[kt];if(!kt||!Ye)return[];function Nt(Pt){return Pt===kt||Pt===Ye}return Pe(ft,Pt=>{if(At===me.End)return!1;if(Nt(Pt)){if(ut.push(Pt),At===me.None)At=me.Start;else if(At===me.Start)return At=me.End,!1}else At===me.Start&&ut.push(Pt);return Rt.includes(Pt)}),ut}function ye(at,ft){const Rt=(0,se.Z)(ft),kt=[];return Pe(at,(Ye,ut)=>{const At=Rt.indexOf(Ye);return At!==-1&&(kt.push(ut),Rt.splice(At,1)),!!Rt.length}),kt}var Be=function(at,ft){var Rt={};for(var kt in at)Object.prototype.hasOwnProperty.call(at,kt)&&ft.indexOf(kt)<0&&(Rt[kt]=at[kt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,kt=Object.getOwnPropertySymbols(at);Ye<kt.length;Ye++)ft.indexOf(kt[Ye])<0&&Object.prototype.propertyIsEnumerable.call(at,kt[Ye])&&(Rt[kt[Ye]]=at[kt[Ye]]);return Rt};function Ze(at){const{isLeaf:ft,expanded:Rt}=at;return ft?Ne.createElement(he.Z,null):Rt?Ne.createElement(Ie.Z,null):Ne.createElement(Me,null)}function mt(at){let{treeData:ft,children:Rt}=at;return ft||(0,y.zn)(Rt)}const De=(at,ft)=>{var{defaultExpandAll:Rt,defaultExpandParent:kt,defaultExpandedKeys:Ye}=at,ut=Be(at,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const At=Ne.useRef(),Nt=Ne.useRef(),Pt=()=>{const{keyEntities:Ve}=(0,y.I8)(mt(ut));let we;return Rt?we=Object.keys(Ve):kt?we=(0,a.r7)(ut.expandedKeys||Ye||[],Ve):we=ut.expandedKeys||Ye,we},[sn,Fe]=Ne.useState(ut.selectedKeys||ut.defaultSelectedKeys||[]),[Qt,Kt]=Ne.useState(()=>Pt());Ne.useEffect(()=>{"selectedKeys"in ut&&Fe(ut.selectedKeys)},[ut.selectedKeys]),Ne.useEffect(()=>{"expandedKeys"in ut&&Kt(ut.expandedKeys)},[ut.expandedKeys]);const Hn=(Ve,we)=>{var pt;return"expandedKeys"in ut||Kt(Ve),(pt=ut.onExpand)===null||pt===void 0?void 0:pt.call(ut,Ve,we)},Jn=(Ve,we)=>{var pt;const{multiple:et}=ut,{node:jt,nativeEvent:Se}=we,{key:st=""}=jt,xt=mt(ut),Ae=Object.assign(Object.assign({},we),{selected:!0}),_e=(Se==null?void 0:Se.ctrlKey)||(Se==null?void 0:Se.metaKey),ct=Se==null?void 0:Se.shiftKey;let wt;et&&_e?(wt=Ve,At.current=st,Nt.current=wt,Ae.selectedNodes=ye(xt,wt)):et&&ct?(wt=Array.from(new Set([].concat((0,se.Z)(Nt.current||[]),(0,se.Z)(xe({treeData:xt,expandedKeys:Qt,startKey:st,endKey:At.current}))))),Ae.selectedNodes=ye(xt,wt)):(wt=[st],At.current=st,Nt.current=wt,Ae.selectedNodes=ye(xt,wt)),(pt=ut.onSelect)===null||pt===void 0||pt.call(ut,wt,Ae),"selectedKeys"in ut||Fe(wt)},{getPrefixCls:Re,direction:qe}=Ne.useContext(b.E_),{prefixCls:tt,className:Le,showIcon:ht=!0,expandAction:gt="click"}=ut,Oe=Be(ut,["prefixCls","className","showIcon","expandAction"]),ve=Re("tree",tt),We=re()(`${ve}-directory`,{[`${ve}-directory-rtl`]:qe==="rtl"},Le);return Ne.createElement(ge,Object.assign({icon:Ze,ref:ft,blockNode:!0},Oe,{showIcon:ht,expandAction:gt,prefixCls:ve,className:We,expandedKeys:Qt,selectedKeys:sn,onSelect:Jn,onExpand:Hn}))};var Ge=Ne.forwardRef(De);const Ke=ge;Ke.DirectoryTree=Ge,Ke.TreeNode=z.O;var it=Ke},20648:function(Et,St,te){"use strict";te.d(St,{TM:function(){return Ee},Yk:function(){return Me}});var z=te(36237),se=te(98447),he=te(17313),Ie=te(8378),be=te(37613),Ne=te(83116);const ie=new z.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),nt=(re,a)=>({[`.${re}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),je=(re,a)=>({[`.${re}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Te=(re,a)=>{const{treeCls:y,treeNodeCls:b,treeNodePadding:E,titleHeight:x,nodeSelectedBg:ee,nodeHoverBg:ne}=a,oe=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,he.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,he.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ie,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,he.oN)(a)),[`&:not(${b}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},nt(re,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ne},[`&${y}-node-selected`]:{backgroundColor:ee},[`${y}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},je(re,a)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},He=re=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:x}=re;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${re.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:re.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${re.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${a}-switcher`]:{color:x},[`${a}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},Me=(re,a)=>{const y=`.${re}`,b=`${y}-treenode`,E=a.paddingXS/2,x=(0,be.TS)(a,{treeCls:y,treeNodeCls:b,treeNodePadding:E});return[Te(re,x),He(x)]},Ee=re=>{const{controlHeightSM:a}=re;return{titleHeight:a,nodeHoverBg:re.controlItemBgHover,nodeSelectedBg:re.controlItemBgActive}};St.ZP=(0,Ne.Z)("Tree",(re,a)=>{let{prefixCls:y}=a;return[{[re.componentCls]:(0,se.C2)(`${y}-checkbox`,re)},Me(y,re),(0,Ie.Z)(re)]},re=>{const{colorTextLightSolid:a,colorPrimary:y}=re;return Object.assign(Object.assign({},Ee(re)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(Et,St,te){"use strict";te.d(St,{Z:function(){return b}});var z=te(54476),se=te(59301),he={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"},Ie=he,be=te(7657),Ne=function(x,ee){return se.createElement(be.Z,(0,z.Z)({},x,{ref:ee,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie,je=te(52671),Te=te(58617),He=te(15075),Me=te(43531),Ee=te(92310),re=te.n(Ee),a=te(92343),b=E=>{const{prefixCls:x,switcherIcon:ee,treeNodeProps:ne,showLine:oe}=E,{isLeaf:ae,expanded:ue,loading:ge}=ne;if(ge)return se.createElement(Te.Z,{className:`${x}-switcher-loading-icon`});let me;if(oe&&typeof oe=="object"&&(me=oe.showLeafIcon),ae){if(!oe)return null;if(typeof me!="boolean"&&me){const ye=typeof me=="function"?me(ne):me,Be=`${x}-switcher-line-custom-icon`;return(0,a.l$)(ye)?(0,a.Tm)(ye,{className:re()(ye.props.className||"",Be)}):ye}return me?se.createElement(je.Z,{className:`${x}-switcher-line-icon`}):se.createElement("span",{className:`${x}-switcher-leaf-line`})}const Pe=`${x}-switcher-icon`,xe=typeof ee=="function"?ee(ne):ee;return(0,a.l$)(xe)?(0,a.Tm)(xe,{className:re()(xe.props.className||"",Pe)}):xe!==void 0?xe:oe?ue?se.createElement(He.Z,{className:`${x}-switcher-line-icon`}):se.createElement(Me.Z,{className:`${x}-switcher-line-icon`}):se.createElement(nt,{className:Pe})}},54580:function(Et,St,te){"use strict";te.d(St,{default:function(){return er}});var z=te(59301),se=te(94480),he=te(92310),Ie=te.n(he),be=te(54476),Ne=te(67732),ie=te(83652),nt=te(42403),je=te(158),Te=te(20068),He=te(75931),Me=te(75044),Ee=te(76190),re=te(3202),a=te(26112);function y(vt,qt){var tn="cannot ".concat(vt.method," ").concat(vt.action," ").concat(qt.status,"'"),Pn=new Error(tn);return Pn.status=qt.status,Pn.method=vt.method,Pn.url=vt.action,Pn}function b(vt){var qt=vt.responseText||vt.response;if(!qt)return qt;try{return JSON.parse(qt)}catch(tn){return qt}}function E(vt){var qt=new XMLHttpRequest;vt.onProgress&&qt.upload&&(qt.upload.onprogress=function(gn){gn.total>0&&(gn.percent=gn.loaded/gn.total*100),vt.onProgress(gn)});var tn=new FormData;vt.data&&Object.keys(vt.data).forEach(function(Rn){var gn=vt.data[Rn];if(Array.isArray(gn)){gn.forEach(function(On){tn.append("".concat(Rn,"[]"),On)});return}tn.append(Rn,gn)}),vt.file instanceof Blob?tn.append(vt.filename,vt.file,vt.file.name):tn.append(vt.filename,vt.file),qt.onerror=function(gn){vt.onError(gn)},qt.onload=function(){return qt.status<200||qt.status>=300?vt.onError(y(vt,qt),b(qt)):vt.onSuccess(b(qt),qt)},qt.open(vt.method,vt.action,!0),vt.withCredentials&&"withCredentials"in qt&&(qt.withCredentials=!0);var Pn=vt.headers||{};return Pn["X-Requested-With"]!==null&&qt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Pn).forEach(function(Rn){Pn[Rn]!==null&&qt.setRequestHeader(Rn,Pn[Rn])}),qt.send(tn),{abort:function(){qt.abort()}}}var x=+new Date,ee=0;function ne(){return"rc-upload-".concat(x,"-").concat(++ee)}var oe=te(48736),ae=function(vt,qt){if(vt&&qt){var tn=Array.isArray(qt)?qt:qt.split(","),Pn=vt.name||"",Rn=vt.type||"",gn=Rn.replace(/\/.*$/,"");return tn.some(function(On){var yn=On.trim();if(/^\*(\/\*)?$/.test(On))return!0;if(yn.charAt(0)==="."){var ar=Pn.toLowerCase(),Ra=yn.toLowerCase(),cn=[Ra];return(Ra===".jpg"||Ra===".jpeg")&&(cn=[".jpg",".jpeg"]),cn.some(function(io){return ar.endsWith(io)})}return/\/\*$/.test(yn)?gn===yn.replace(/\/.*$/,""):Rn===yn?!0:/^\w+$/.test(yn)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(yn,"'.Skip for check.")),!0):!1})}return!0};function ue(vt,qt){var tn=vt.createReader(),Pn=[];function Rn(){tn.readEntries(function(gn){var On=Array.prototype.slice.apply(gn);Pn=Pn.concat(On);var yn=!On.length;yn?qt(Pn):Rn()})}Rn()}var ge=function(qt,tn,Pn){var Rn=function gn(On,yn){On&&(On.path=yn||"",On.isFile?On.file(function(ar){Pn(ar)&&(On.fullPath&&!ar.webkitRelativePath&&(Object.defineProperties(ar,{webkitRelativePath:{writable:!0}}),ar.webkitRelativePath=On.fullPath.replace(/^\//,""),Object.defineProperties(ar,{webkitRelativePath:{writable:!1}})),tn([ar]))}):On.isDirectory&&ue(On,function(ar){ar.forEach(function(Ra){gn(Ra,"".concat(yn).concat(On.name,"/"))})}))};qt.forEach(function(gn){Rn(gn.webkitGetAsEntry())})},me=ge,Pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],xe=function(vt){(0,nt.Z)(tn,vt);var qt=(0,je.Z)(tn);function tn(){var Pn;(0,Ne.Z)(this,tn);for(var Rn=arguments.length,gn=new Array(Rn),On=0;On<Rn;On++)gn[On]=arguments[On];return Pn=qt.call.apply(qt,[this].concat(gn)),Pn.state={uid:ne()},Pn.reqs={},Pn.fileInput=void 0,Pn._isMounted=void 0,Pn.onChange=function(yn){var ar=Pn.props,Ra=ar.accept,cn=ar.directory,io=yn.target.files,to=(0,se.Z)(io).filter(function(no){return!cn||ae(no,Ra)});Pn.uploadFiles(to),Pn.reset()},Pn.onClick=function(yn){var ar=Pn.fileInput;if(ar){var Ra=yn.target,cn=Pn.props.onClick;if(Ra&&Ra.tagName==="BUTTON"){var io=ar.parentNode;io.focus(),Ra.blur()}ar.click(),cn&&cn(yn)}},Pn.onKeyDown=function(yn){yn.key==="Enter"&&Pn.onClick(yn)},Pn.onFileDrop=function(yn){var ar=Pn.props.multiple;if(yn.preventDefault(),yn.type!=="dragover")if(Pn.props.directory)me(Array.prototype.slice.call(yn.dataTransfer.items),Pn.uploadFiles,function(cn){return ae(cn,Pn.props.accept)});else{var Ra=(0,se.Z)(yn.dataTransfer.files).filter(function(cn){return ae(cn,Pn.props.accept)});ar===!1&&(Ra=Ra.slice(0,1)),Pn.uploadFiles(Ra)}},Pn.uploadFiles=function(yn){var ar=(0,se.Z)(yn),Ra=ar.map(function(cn){return cn.uid=ne(),Pn.processFile(cn,ar)});Promise.all(Ra).then(function(cn){var io=Pn.props.onBatchStart;io==null||io(cn.map(function(to){var no=to.origin,Mo=to.parsedFile;return{file:no,parsedFile:Mo}})),cn.filter(function(to){return to.parsedFile!==null}).forEach(function(to){Pn.post(to)})})},Pn.processFile=function(){var yn=(0,re.Z)((0,Me.Z)().mark(function ar(Ra,cn){var io,to,no,Mo,ea,Aa,dr,pa,jr;return(0,Me.Z)().wrap(function(br){for(;;)switch(br.prev=br.next){case 0:if(io=Pn.props.beforeUpload,to=Ra,!io){br.next=14;break}return br.prev=3,br.next=6,io(Ra,cn);case 6:to=br.sent,br.next=12;break;case 9:br.prev=9,br.t0=br.catch(3),to=!1;case 12:if(to!==!1){br.next=14;break}return br.abrupt("return",{origin:Ra,parsedFile:null,action:null,data:null});case 14:if(no=Pn.props.action,typeof no!="function"){br.next=21;break}return br.next=18,no(Ra);case 18:Mo=br.sent,br.next=22;break;case 21:Mo=no;case 22:if(ea=Pn.props.data,typeof ea!="function"){br.next=29;break}return br.next=26,ea(Ra);case 26:Aa=br.sent,br.next=30;break;case 29:Aa=ea;case 30:return dr=((0,Ee.Z)(to)==="object"||typeof to=="string")&&to?to:Ra,dr instanceof File?pa=dr:pa=new File([dr],Ra.name,{type:Ra.type}),jr=pa,jr.uid=Ra.uid,br.abrupt("return",{origin:Ra,data:Aa,parsedFile:jr,action:Mo});case 35:case"end":return br.stop()}},ar,null,[[3,9]])}));return function(ar,Ra){return yn.apply(this,arguments)}}(),Pn.saveFileInput=function(yn){Pn.fileInput=yn},Pn}return(0,ie.Z)(tn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Rn){var gn=this,On=Rn.data,yn=Rn.origin,ar=Rn.action,Ra=Rn.parsedFile;if(this._isMounted){var cn=this.props,io=cn.onStart,to=cn.customRequest,no=cn.name,Mo=cn.headers,ea=cn.withCredentials,Aa=cn.method,dr=yn.uid,pa=to||E,jr={action:ar,filename:no,data:On,file:Ra,headers:Mo,withCredentials:ea,method:Aa||"post",onProgress:function(br){var po=gn.props.onProgress;po==null||po(br,Ra)},onSuccess:function(br,po){var Lo=gn.props.onSuccess;Lo==null||Lo(br,Ra,po),delete gn.reqs[dr]},onError:function(br,po){var Lo=gn.props.onError;Lo==null||Lo(br,po,Ra),delete gn.reqs[dr]}};io(yn),this.reqs[dr]=pa(jr)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(Rn){var gn=this.reqs;if(Rn){var On=Rn.uid?Rn.uid:Rn;gn[On]&&gn[On].abort&&gn[On].abort(),delete gn[On]}else Object.keys(gn).forEach(function(yn){gn[yn]&&gn[yn].abort&&gn[yn].abort(),delete gn[yn]})}},{key:"render",value:function(){var Rn=this.props,gn=Rn.component,On=Rn.prefixCls,yn=Rn.className,ar=Rn.disabled,Ra=Rn.id,cn=Rn.style,io=Rn.multiple,to=Rn.accept,no=Rn.capture,Mo=Rn.children,ea=Rn.directory,Aa=Rn.openFileDialogOnClick,dr=Rn.onMouseEnter,pa=Rn.onMouseLeave,jr=(0,He.Z)(Rn,Pe),Ir=Ie()((0,Te.Z)((0,Te.Z)((0,Te.Z)({},On,!0),"".concat(On,"-disabled"),ar),yn,yn)),br=ea?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},po=ar?{}:{onClick:Aa?this.onClick:function(){},onKeyDown:Aa?this.onKeyDown:function(){},onMouseEnter:dr,onMouseLeave:pa,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return z.createElement(gn,(0,be.Z)({},po,{className:Ir,role:"button",style:cn}),z.createElement("input",(0,be.Z)({},(0,a.Z)(jr,{aria:!0,data:!0}),{id:Ra,disabled:ar,type:"file",ref:this.saveFileInput,onClick:function(Oi){return Oi.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:to},br,{multiple:io,onChange:this.onChange},no!=null?{capture:no}:{})),Mo)}}]),tn}(z.Component),ye=xe;function Be(){}var Ze=function(vt){(0,nt.Z)(tn,vt);var qt=(0,je.Z)(tn);function tn(){var Pn;(0,Ne.Z)(this,tn);for(var Rn=arguments.length,gn=new Array(Rn),On=0;On<Rn;On++)gn[On]=arguments[On];return Pn=qt.call.apply(qt,[this].concat(gn)),Pn.uploader=void 0,Pn.saveUploader=function(yn){Pn.uploader=yn},Pn}return(0,ie.Z)(tn,[{key:"abort",value:function(Rn){this.uploader.abort(Rn)}},{key:"render",value:function(){return z.createElement(ye,(0,be.Z)({},this.props,{ref:this.saveUploader}))}}]),tn}(z.Component);Ze.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Be,onError:Be,onSuccess:Be,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var mt=Ze,De=mt,Ue=te(18929),Ge=te(4676),Ke=te(36355),it=te(1684),at=te(9763),ft=te(31724),Rt={icon:function(qt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:tn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:qt}}]}},name:"file",theme:"twotone"},kt=Rt,Ye=te(7657),ut=function(qt,tn){return z.createElement(Ye.Z,(0,be.Z)({},qt,{ref:tn,icon:kt}))},At=z.forwardRef(ut),Nt=At,Pt=te(58617),sn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Fe=sn,Qt=function(qt,tn){return z.createElement(Ye.Z,(0,be.Z)({},qt,{ref:tn,icon:Fe}))},Kt=z.forwardRef(Qt),Hn=Kt,Jn={icon:function(qt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:qt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:tn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:tn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:tn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:qt}}]}},name:"picture",theme:"twotone"},Re=Jn,qe=function(qt,tn){return z.createElement(Ye.Z,(0,be.Z)({},qt,{ref:tn,icon:Re}))},tt=z.forwardRef(qe),Le=tt,ht=te(77900),gt=te(56762),Oe=te(62892),ve=te(92343),We=te(3113);function Ve(vt){return Object.assign(Object.assign({},vt),{lastModified:vt.lastModified,lastModifiedDate:vt.lastModifiedDate,name:vt.name,size:vt.size,type:vt.type,uid:vt.uid,percent:0,originFileObj:vt})}function we(vt,qt){const tn=(0,se.Z)(qt),Pn=tn.findIndex(Rn=>{let{uid:gn}=Rn;return gn===vt.uid});return Pn===-1?tn.push(vt):tn[Pn]=vt,tn}function pt(vt,qt){const tn=vt.uid!==void 0?"uid":"name";return qt.filter(Pn=>Pn[tn]===vt[tn])[0]}function et(vt,qt){const tn=vt.uid!==void 0?"uid":"name",Pn=qt.filter(Rn=>Rn[tn]!==vt[tn]);return Pn.length===qt.length?null:Pn}const jt=function(){const qt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Pn=qt[qt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Pn)||[""])[0]},Se=vt=>vt.indexOf("image/")===0,st=vt=>{if(vt.type&&!vt.thumbUrl)return Se(vt.type);const qt=vt.thumbUrl||vt.url||"",tn=jt(qt);return/^data:image\//.test(qt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(tn)?!0:!(/^data:/.test(qt)||tn)},xt=200;function Ae(vt){return new Promise(qt=>{if(!vt.type||!Se(vt.type)){qt("");return}const tn=document.createElement("canvas");tn.width=xt,tn.height=xt,tn.style.cssText=`position: fixed; left: 0; top: 0; width: ${xt}px; height: ${xt}px; z-index: 9999; display: none;`,document.body.appendChild(tn);const Pn=tn.getContext("2d"),Rn=new Image;if(Rn.onload=()=>{const{width:gn,height:On}=Rn;let yn=xt,ar=xt,Ra=0,cn=0;gn>On?(ar=On*(xt/gn),cn=-(ar-yn)/2):(yn=gn*(xt/On),Ra=-(yn-ar)/2),Pn.drawImage(Rn,Ra,cn,yn,ar);const io=tn.toDataURL();document.body.removeChild(tn),window.URL.revokeObjectURL(Rn.src),qt(io)},Rn.crossOrigin="anonymous",vt.type.startsWith("image/svg+xml")){const gn=new FileReader;gn.onload=()=>{gn.result&&(Rn.src=gn.result)},gn.readAsDataURL(vt)}else if(vt.type.startsWith("image/gif")){const gn=new FileReader;gn.onload=()=>{gn.result&&qt(gn.result)},gn.readAsDataURL(vt)}else Rn.src=window.URL.createObjectURL(vt)})}var _e=te(26227),ct=te(41464),wt=te(15277),zt=te(93948),mn=te(6848),Dt=z.forwardRef((vt,qt)=>{let{prefixCls:tn,className:Pn,style:Rn,locale:gn,listType:On,file:yn,items:ar,progress:Ra,iconRender:cn,actionIconRender:io,itemRender:to,isImgUrl:no,showPreviewIcon:Mo,showRemoveIcon:ea,showDownloadIcon:Aa,previewIcon:dr,removeIcon:pa,downloadIcon:jr,onPreview:Ir,onDownload:br,onClose:po}=vt;var Lo,Oi;const{status:vi}=yn,[Ei,$i]=z.useState(vi);z.useEffect(()=>{vi!=="removed"&&$i(vi)},[vi]);const[zn,Ia]=z.useState(!1);z.useEffect(()=>{const Ca=setTimeout(()=>{Ia(!0)},300);return()=>{clearTimeout(Ca)}},[]);const co=cn(yn);let xo=z.createElement("div",{className:`${tn}-icon`},co);if(On==="picture"||On==="picture-card"||On==="picture-circle")if(Ei==="uploading"||!yn.thumbUrl&&!yn.url){const Ca=Ie()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:Ei!=="uploading"});xo=z.createElement("div",{className:Ca},co)}else{const Ca=no!=null&&no(yn)?z.createElement("img",{src:yn.thumbUrl||yn.url,alt:yn.name,className:`${tn}-list-item-image`,crossOrigin:yn.crossOrigin}):co,ga=Ie()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:no&&!no(yn)});xo=z.createElement("a",{className:ga,onClick:Or=>Ir(yn,Or),href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ca)}const wo=Ie()(`${tn}-list-item`,`${tn}-list-item-${Ei}`),ui=typeof yn.linkProps=="string"?JSON.parse(yn.linkProps):yn.linkProps,Bi=ea?io((typeof pa=="function"?pa(yn):pa)||z.createElement(_e.Z,null),()=>po(yn),tn,gn.removeFile):null,Yi=Aa&&Ei==="done"?io((typeof jr=="function"?jr(yn):jr)||z.createElement(ct.Z,null),()=>br(yn),tn,gn.downloadFile):null,Mi=On!=="picture-card"&&On!=="picture-circle"&&z.createElement("span",{key:"download-delete",className:Ie()(`${tn}-list-item-actions`,{picture:On==="picture"})},Yi,Bi),Ce=Ie()(`${tn}-list-item-name`),ke=yn.url?[z.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ce,title:yn.name},ui,{href:yn.url,onClick:Ca=>Ir(yn,Ca)}),yn.name),Mi]:[z.createElement("span",{key:"view",className:Ce,onClick:Ca=>Ir(yn,Ca),title:yn.name},yn.name),Mi],Xe={pointerEvents:"none",opacity:.5},Ct=Mo?z.createElement("a",{href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:yn.url||yn.thumbUrl?void 0:Xe,onClick:Ca=>Ir(yn,Ca),title:gn.previewFile},typeof dr=="function"?dr(yn):dr||z.createElement(wt.Z,null)):null,Yt=(On==="picture-card"||On==="picture-circle")&&Ei!=="uploading"&&z.createElement("span",{className:`${tn}-list-item-actions`},Ct,Ei==="done"&&Yi,Bi),{getPrefixCls:Jt}=z.useContext(Ke.E_),bn=Jt(),Fn=z.createElement("div",{className:wo},xo,ke,Yt,zn&&z.createElement(ht.default,{motionName:`${bn}-fade`,visible:Ei==="uploading",motionDeadline:2e3},Ca=>{let{className:ga}=Ca;const Or="percent"in yn?z.createElement(zt.Z,Object.assign({},Ra,{type:"line",percent:yn.percent,"aria-label":yn["aria-label"],"aria-labelledby":yn["aria-labelledby"]})):null;return z.createElement("div",{className:Ie()(`${tn}-list-item-progress`,ga)},Or)})),Yn=yn.response&&typeof yn.response=="string"?yn.response:((Lo=yn.error)===null||Lo===void 0?void 0:Lo.statusText)||((Oi=yn.error)===null||Oi===void 0?void 0:Oi.message)||gn.uploadError,Pa=Ei==="error"?z.createElement(mn.Z,{title:Yn,getPopupContainer:Ca=>Ca.parentNode},Fn):Fn;return z.createElement("div",{className:Ie()(`${tn}-list-item-container`,Pn),style:Rn,ref:qt},to?to(Pa,yn,ar,{download:br.bind(null,yn),preview:Ir.bind(null,yn),remove:po.bind(null,yn)}):Pa)});const yt=(vt,qt)=>{const{listType:tn="text",previewFile:Pn=Ae,onPreview:Rn,onDownload:gn,onRemove:On,locale:yn,iconRender:ar,isImageUrl:Ra=st,prefixCls:cn,items:io=[],showPreviewIcon:to=!0,showRemoveIcon:no=!0,showDownloadIcon:Mo=!1,removeIcon:ea,previewIcon:Aa,downloadIcon:dr,progress:pa={size:[-1,2],showInfo:!1},appendAction:jr,appendActionVisible:Ir=!0,itemRender:br,disabled:po}=vt,Lo=(0,gt.Z)(),[Oi,vi]=z.useState(!1);z.useEffect(()=>{tn!=="picture"&&tn!=="picture-card"&&tn!=="picture-circle"||(io||[]).forEach(Xe=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Xe.originFileObj instanceof File||Xe.originFileObj instanceof Blob)||Xe.thumbUrl!==void 0||(Xe.thumbUrl="",Pn&&Pn(Xe.originFileObj).then(Ct=>{Xe.thumbUrl=Ct||"",Lo()}))})},[tn,io,Pn]),z.useEffect(()=>{vi(!0)},[]);const Ei=(Xe,Ct)=>{if(Rn)return Ct==null||Ct.preventDefault(),Rn(Xe)},$i=Xe=>{typeof gn=="function"?gn(Xe):Xe.url&&window.open(Xe.url)},zn=Xe=>{On==null||On(Xe)},Ia=Xe=>{if(ar)return ar(Xe,tn);const Ct=Xe.status==="uploading",Yt=Ra&&Ra(Xe)?z.createElement(Le,null):z.createElement(Nt,null);let Jt=Ct?z.createElement(Pt.Z,null):z.createElement(Hn,null);return tn==="picture"?Jt=Ct?z.createElement(Pt.Z,null):Yt:(tn==="picture-card"||tn==="picture-circle")&&(Jt=Ct?yn.uploading:Yt),Jt},co=(Xe,Ct,Yt,Jt)=>{const bn={type:"text",size:"small",title:Jt,onClick:Fn=>{Ct(),(0,ve.l$)(Xe)&&Xe.props.onClick&&Xe.props.onClick(Fn)},className:`${Yt}-list-item-action`,disabled:po};if((0,ve.l$)(Xe)){const Fn=(0,ve.Tm)(Xe,Object.assign(Object.assign({},Xe.props),{onClick:()=>{}}));return z.createElement(We.ZP,Object.assign({},bn,{icon:Fn}))}return z.createElement(We.ZP,Object.assign({},bn),z.createElement("span",null,Xe))};z.useImperativeHandle(qt,()=>({handlePreview:Ei,handleDownload:$i}));const{getPrefixCls:xo}=z.useContext(Ke.E_),wo=xo("upload",cn),ui=xo(),Bi=Ie()(`${wo}-list`,`${wo}-list-${tn}`),Yi=(0,se.Z)(io.map(Xe=>({key:Xe.uid,file:Xe})));let Ce={motionDeadline:2e3,motionName:`${wo}-${tn==="picture-card"||tn==="picture-circle"?"animate-inline":"animate"}`,keys:Yi,motionAppear:Oi};const ke=z.useMemo(()=>{const Xe=Object.assign({},(0,Oe.Z)(ui));return delete Xe.onAppearEnd,delete Xe.onEnterEnd,delete Xe.onLeaveEnd,Xe},[ui]);return tn!=="picture-card"&&tn!=="picture-circle"&&(Ce=Object.assign(Object.assign({},ke),Ce)),z.createElement("div",{className:Bi},z.createElement(ht.CSSMotionList,Object.assign({},Ce,{component:!1}),Xe=>{let{key:Ct,file:Yt,className:Jt,style:bn}=Xe;return z.createElement(Dt,{key:Ct,locale:yn,prefixCls:wo,className:Jt,style:bn,file:Yt,items:io,progress:pa,listType:tn,isImgUrl:Ra,showPreviewIcon:to,showRemoveIcon:no,showDownloadIcon:Mo,removeIcon:ea,previewIcon:Aa,downloadIcon:dr,iconRender:Ia,actionIconRender:co,itemRender:br,onPreview:Ei,onDownload:$i,onClose:zn})}),jr&&z.createElement(ht.default,Object.assign({},Ce,{visible:Ir,forceRender:!0}),Xe=>{let{className:Ct,style:Yt}=Xe;return(0,ve.Tm)(jr,Jt=>({className:Ie()(Jt.className,Ct),style:Object.assign(Object.assign(Object.assign({},Yt),{pointerEvents:Ct?"none":void 0}),Jt.style)}))}))};var Vt=z.forwardRef(yt),un=te(17313),Vn=te(8378),fn=te(83116),an=te(37613),_t=vt=>{const{componentCls:qt,iconCls:tn}=vt;return{[`${qt}-wrapper`]:{[`${qt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:vt.colorFillAlter,border:`${vt.lineWidth}px dashed ${vt.colorBorder}`,borderRadius:vt.borderRadiusLG,cursor:"pointer",transition:`border-color ${vt.motionDurationSlow}`,[qt]:{padding:`${vt.padding}px 0`},[`${qt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${qt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${qt}-disabled):hover`]:{borderColor:vt.colorPrimaryHover},[`p${qt}-drag-icon`]:{marginBottom:vt.margin,[tn]:{color:vt.colorPrimary,fontSize:vt.uploadThumbnailSize}},[`p${qt}-text`]:{margin:`0 0 ${vt.marginXXS}px`,color:vt.colorTextHeading,fontSize:vt.fontSizeLG},[`p${qt}-hint`]:{color:vt.colorTextDescription,fontSize:vt.fontSize},[`&${qt}-disabled`]:{cursor:"not-allowed",[`p${qt}-drag-icon ${tn},
|
|
p${qt}-text,
|
|
p${qt}-hint
|
|
`]:{color:vt.colorTextDisabled}}}}}},Xt=vt=>{const{componentCls:qt,antCls:tn,iconCls:Pn,fontSize:Rn,lineHeight:gn}=vt,On=`${qt}-list-item`,yn=`${On}-actions`,ar=`${On}-action`,Ra=Math.round(Rn*gn);return{[`${qt}-wrapper`]:{[`${qt}-list`]:Object.assign(Object.assign({},(0,un.dF)()),{lineHeight:vt.lineHeight,[On]:{position:"relative",height:vt.lineHeight*Rn,marginTop:vt.marginXS,fontSize:Rn,display:"flex",alignItems:"center",transition:`background-color ${vt.motionDurationSlow}`,"&:hover":{backgroundColor:vt.controlItemBgHover},[`${On}-name`]:Object.assign(Object.assign({},un.vS),{padding:`0 ${vt.paddingXS}px`,lineHeight:gn,flex:"auto",transition:`all ${vt.motionDurationSlow}`}),[yn]:{[ar]:{opacity:0},[`${ar}${tn}-btn-sm`]:{height:Ra,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${ar}:focus-visible,
|
|
&.picture ${ar}
|
|
`]:{opacity:1},[Pn]:{color:vt.actionsColor,transition:`all ${vt.motionDurationSlow}`},[`&:hover ${Pn}`]:{color:vt.colorText}},[`${qt}-icon ${Pn}`]:{color:vt.colorTextDescription,fontSize:Rn},[`${On}-progress`]:{position:"absolute",bottom:-vt.uploadProgressOffset,width:"100%",paddingInlineStart:Rn+vt.paddingXS,fontSize:Rn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${On}:hover ${ar}`]:{opacity:1,color:vt.colorText},[`${On}-error`]:{color:vt.colorError,[`${On}-name, ${qt}-icon ${Pn}`]:{color:vt.colorError},[yn]:{[`${Pn}, ${Pn}:hover`]:{color:vt.colorError},[ar]:{opacity:1}}},[`${qt}-list-item-container`]:{transition:`opacity ${vt.motionDurationSlow}, height ${vt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ea=te(36237),qn=te(1950);const Mn=new Ea.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ga=new Ea.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Ar=vt=>{const{componentCls:qt}=vt,tn=`${qt}-animate-inline`;return[{[`${qt}-wrapper`]:{[`${tn}-appear, ${tn}-enter, ${tn}-leave`]:{animationDuration:vt.motionDurationSlow,animationTimingFunction:vt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${tn}-appear, ${tn}-enter`]:{animationName:Mn},[`${tn}-leave`]:{animationName:Ga}}},{[`${qt}-wrapper`]:(0,qn.J$)(vt)},Mn,Ga]},Cr=te(30071),Qa=te(64993);const rt=vt=>{const{componentCls:qt,iconCls:tn,uploadThumbnailSize:Pn,uploadProgressOffset:Rn}=vt,gn=`${qt}-list`,On=`${gn}-item`;return{[`${qt}-wrapper`]:{[`
|
|
${gn}${gn}-picture,
|
|
${gn}${gn}-picture-card,
|
|
${gn}${gn}-picture-circle
|
|
`]:{[On]:{position:"relative",height:Pn+vt.lineWidth*2+vt.paddingXS*2,padding:vt.paddingXS,border:`${vt.lineWidth}px ${vt.lineType} ${vt.colorBorder}`,borderRadius:vt.borderRadiusLG,"&:hover":{background:"transparent"},[`${On}-thumbnail`]:Object.assign(Object.assign({},un.vS),{width:Pn,height:Pn,lineHeight:`${Pn+vt.paddingSM}px`,textAlign:"center",flex:"none",[tn]:{fontSize:vt.fontSizeHeading2,color:vt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${On}-progress`]:{bottom:Rn,width:`calc(100% - ${vt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Pn+vt.paddingXS}},[`${On}-error`]:{borderColor:vt.colorError,[`${On}-thumbnail ${tn}`]:{[`svg path[fill='${Cr.blue[0]}']`]:{fill:vt.colorErrorBg},[`svg path[fill='${Cr.blue.primary}']`]:{fill:vt.colorError}}},[`${On}-uploading`]:{borderStyle:"dashed",[`${On}-name`]:{marginBottom:Rn}}},[`${gn}${gn}-picture-circle ${On}`]:{[`&, &::before, ${On}-thumbnail`]:{borderRadius:"50%"}}}}},Mt=vt=>{const{componentCls:qt,iconCls:tn,fontSizeLG:Pn,colorTextLightSolid:Rn}=vt,gn=`${qt}-list`,On=`${gn}-item`,yn=vt.uploadPicCardSize;return{[`
|
|
${qt}-wrapper${qt}-picture-card-wrapper,
|
|
${qt}-wrapper${qt}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,un.dF)()),{display:"inline-block",width:"100%",[`${qt}${qt}-select`]:{width:yn,height:yn,marginInlineEnd:vt.marginXS,marginBottom:vt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:vt.colorFillAlter,border:`${vt.lineWidth}px dashed ${vt.colorBorder}`,borderRadius:vt.borderRadiusLG,cursor:"pointer",transition:`border-color ${vt.motionDurationSlow}`,[`> ${qt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${qt}-disabled):hover`]:{borderColor:vt.colorPrimary}},[`${gn}${gn}-picture-card, ${gn}${gn}-picture-circle`]:{[`${gn}-item-container`]:{display:"inline-block",width:yn,height:yn,marginBlock:`0 ${vt.marginXS}px`,marginInline:`0 ${vt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[On]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${vt.paddingXS*2}px)`,height:`calc(100% - ${vt.paddingXS*2}px)`,backgroundColor:vt.colorBgMask,opacity:0,transition:`all ${vt.motionDurationSlow}`,content:'" "'}},[`${On}:hover`]:{[`&::before, ${On}-actions`]:{opacity:1}},[`${On}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${vt.motionDurationSlow}`,[`${tn}-eye, ${tn}-download, ${tn}-delete`]:{zIndex:10,width:Pn,margin:`0 ${vt.marginXXS}px`,fontSize:Pn,cursor:"pointer",transition:`all ${vt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${On}-actions, ${On}-actions:hover`]:{[`${tn}-eye, ${tn}-download, ${tn}-delete`]:{color:new Qa.C(Rn).setAlpha(.65).toRgbString(),"&:hover":{color:Rn}}},[`${On}-thumbnail, ${On}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${On}-name`]:{display:"none",textAlign:"center"},[`${On}-file + ${On}-name`]:{position:"absolute",bottom:vt.margin,display:"block",width:`calc(100% - ${vt.paddingXS*2}px)`},[`${On}-uploading`]:{[`&${On}`]:{backgroundColor:vt.colorFillAlter},[`&::before, ${tn}-eye, ${tn}-download, ${tn}-delete`]:{display:"none"}},[`${On}-progress`]:{bottom:vt.marginXL,width:`calc(100% - ${vt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${qt}-wrapper${qt}-picture-circle-wrapper`]:{[`${qt}${qt}-select`]:{borderRadius:"50%"}}}};var kn=vt=>{const{componentCls:qt}=vt;return{[`${qt}-rtl`]:{direction:"rtl"}}};const dn=vt=>{const{componentCls:qt,colorTextDisabled:tn}=vt;return{[`${qt}-wrapper`]:Object.assign(Object.assign({},(0,un.Wf)(vt)),{[qt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${qt}-select`]:{display:"inline-block"},[`${qt}-disabled`]:{color:tn,cursor:"not-allowed"}})}};var Ln=(0,fn.Z)("Upload",vt=>{const{fontSizeHeading3:qt,fontSize:tn,lineHeight:Pn,lineWidth:Rn,controlHeightLG:gn}=vt,On=Math.round(tn*Pn),yn=(0,an.TS)(vt,{uploadThumbnailSize:qt*2,uploadProgressOffset:On/2+Rn,uploadPicCardSize:gn*2.55});return[dn(yn),_t(yn),rt(yn),Mt(yn),Xt(yn),Ar(yn),kn(yn),(0,Vn.Z)(yn)]},vt=>({actionsColor:vt.colorTextDescription})),Xr=function(vt,qt,tn,Pn){function Rn(gn){return gn instanceof tn?gn:new tn(function(On){On(gn)})}return new(tn||(tn=Promise))(function(gn,On){function yn(cn){try{Ra(Pn.next(cn))}catch(io){On(io)}}function ar(cn){try{Ra(Pn.throw(cn))}catch(io){On(io)}}function Ra(cn){cn.done?gn(cn.value):Rn(cn.value).then(yn,ar)}Ra((Pn=Pn.apply(vt,qt||[])).next())})};const Er=`__LIST_IGNORE_${Date.now()}__`,Kr=(vt,qt)=>{const{fileList:tn,defaultFileList:Pn,onRemove:Rn,showUploadList:gn=!0,listType:On="text",onPreview:yn,onDownload:ar,onChange:Ra,onDrop:cn,previewFile:io,disabled:to,locale:no,iconRender:Mo,isImageUrl:ea,progress:Aa,prefixCls:dr,className:pa,type:jr="select",children:Ir,style:br,itemRender:po,maxCount:Lo,data:Oi={},multiple:vi=!1,action:Ei="",accept:$i="",supportServerRender:zn=!0,rootClassName:Ia}=vt,co=z.useContext(it.Z),xo=to!=null?to:co,[wo,ui]=(0,Ue.Z)(Pn||[],{value:tn,postState:Rr=>Rr!=null?Rr:[]}),[Bi,Yi]=z.useState("drop"),Mi=z.useRef(null);z.useMemo(()=>{const Rr=Date.now();(tn||[]).forEach((ro,Fo)=>{!ro.uid&&!Object.isFrozen(ro)&&(ro.uid=`__AUTO__${Rr}_${Fo}__`)})},[tn]);const Ce=(Rr,ro,Fo)=>{let vo=(0,se.Z)(ro),Eo=!1;Lo===1?vo=vo.slice(-1):Lo&&(Eo=vo.length>Lo,vo=vo.slice(0,Lo)),(0,Ge.flushSync)(()=>{ui(vo)});const sa={file:Rr,fileList:vo};Fo&&(sa.event=Fo),(!Eo||vo.some(jo=>jo.uid===Rr.uid))&&(0,Ge.flushSync)(()=>{Ra==null||Ra(sa)})},ke=(Rr,ro)=>Xr(void 0,void 0,void 0,function*(){const{beforeUpload:Fo,transformFile:vo}=vt;let Eo=Rr;if(Fo){const sa=yield Fo(Rr,ro);if(sa===!1)return!1;if(delete Rr[Er],sa===Er)return Object.defineProperty(Rr,Er,{value:!0,configurable:!0}),!1;typeof sa=="object"&&sa&&(Eo=sa)}return vo&&(Eo=yield vo(Eo)),Eo}),Xe=Rr=>{const ro=Rr.filter(Eo=>!Eo.file[Er]);if(!ro.length)return;const Fo=ro.map(Eo=>Ve(Eo.file));let vo=(0,se.Z)(wo);Fo.forEach(Eo=>{vo=we(Eo,vo)}),Fo.forEach((Eo,sa)=>{let jo=Eo;if(ro[sa].parsedFile)Eo.status="uploading";else{const{originFileObj:wi}=Eo;let Zi;try{Zi=new File([wi],wi.name,{type:wi.type})}catch(nl){Zi=new Blob([wi],{type:wi.type}),Zi.name=wi.name,Zi.lastModifiedDate=new Date,Zi.lastModified=new Date().getTime()}Zi.uid=Eo.uid,jo=Zi}Ce(jo,vo)})},Ct=(Rr,ro,Fo)=>{try{typeof Rr=="string"&&(Rr=JSON.parse(Rr))}catch(sa){}if(!pt(ro,wo))return;const vo=Ve(ro);vo.status="done",vo.percent=100,vo.response=Rr,vo.xhr=Fo;const Eo=we(vo,wo);Ce(vo,Eo)},Yt=(Rr,ro)=>{if(!pt(ro,wo))return;const Fo=Ve(ro);Fo.status="uploading",Fo.percent=Rr.percent;const vo=we(Fo,wo);Ce(Fo,vo,Rr)},Jt=(Rr,ro,Fo)=>{if(!pt(Fo,wo))return;const vo=Ve(Fo);vo.error=Rr,vo.response=ro,vo.status="error";const Eo=we(vo,wo);Ce(vo,Eo)},bn=Rr=>{let ro;Promise.resolve(typeof Rn=="function"?Rn(Rr):Rn).then(Fo=>{var vo;if(Fo===!1)return;const Eo=et(Rr,wo);Eo&&(ro=Object.assign(Object.assign({},Rr),{status:"removed"}),wo==null||wo.forEach(sa=>{const jo=ro.uid!==void 0?"uid":"name";sa[jo]===ro[jo]&&!Object.isFrozen(sa)&&(sa.status="removed")}),(vo=Mi.current)===null||vo===void 0||vo.abort(ro),Ce(ro,Eo))})},Fn=Rr=>{Yi(Rr.type),Rr.type==="drop"&&(cn==null||cn(Rr))};z.useImperativeHandle(qt,()=>({onBatchStart:Xe,onSuccess:Ct,onProgress:Yt,onError:Jt,fileList:wo,upload:Mi.current}));const{getPrefixCls:Yn,direction:Pa,upload:Ca}=z.useContext(Ke.E_),ga=Yn("upload",dr),Or=Object.assign(Object.assign({onBatchStart:Xe,onError:Jt,onProgress:Yt,onSuccess:Ct},vt),{data:Oi,multiple:vi,action:Ei,accept:$i,supportServerRender:zn,prefixCls:ga,disabled:xo,beforeUpload:ke,onChange:void 0});delete Or.className,delete Or.style,(!Ir||xo)&&delete Or.id;const[Mr,Ro]=Ln(ga),[Ur]=(0,at.Z)("Upload",ft.Z.Upload),{showRemoveIcon:la,showPreviewIcon:$n,showDownloadIcon:oa,removeIcon:ra,previewIcon:Nr,downloadIcon:Zr}=typeof gn=="boolean"?{}:gn,hr=(Rr,ro)=>gn?z.createElement(Vt,{prefixCls:ga,listType:On,items:wo,previewFile:io,onPreview:yn,onDownload:ar,onRemove:bn,showRemoveIcon:!xo&&la,showPreviewIcon:$n,showDownloadIcon:oa,removeIcon:ra,previewIcon:Nr,downloadIcon:Zr,iconRender:Mo,locale:Object.assign(Object.assign({},Ur),no),isImageUrl:ea,progress:Aa,appendAction:Rr,appendActionVisible:ro,itemRender:po,disabled:xo}):Rr,xr=Ie()(`${ga}-wrapper`,pa,Ia,Ro,Ca==null?void 0:Ca.className,{[`${ga}-rtl`]:Pa==="rtl",[`${ga}-picture-card-wrapper`]:On==="picture-card",[`${ga}-picture-circle-wrapper`]:On==="picture-circle"}),kr=Object.assign(Object.assign({},Ca==null?void 0:Ca.style),br);if(jr==="drag"){const Rr=Ie()(Ro,ga,`${ga}-drag`,{[`${ga}-drag-uploading`]:wo.some(ro=>ro.status==="uploading"),[`${ga}-drag-hover`]:Bi==="dragover",[`${ga}-disabled`]:xo,[`${ga}-rtl`]:Pa==="rtl"});return Mr(z.createElement("span",{className:xr},z.createElement("div",{className:Rr,style:kr,onDrop:Fn,onDragOver:Fn,onDragLeave:Fn},z.createElement(De,Object.assign({},Or,{ref:Mi,className:`${ga}-btn`}),z.createElement("div",{className:`${ga}-drag-container`},Ir))),hr()))}const ho=Ie()(ga,`${ga}-select`,{[`${ga}-disabled`]:xo}),yo=(Rr=>z.createElement("div",{className:ho,style:Rr},z.createElement(De,Object.assign({},Or,{ref:Mi}))))(Ir?void 0:{display:"none"});return Mr(On==="picture-card"||On==="picture-circle"?z.createElement("span",{className:xr},hr(yo,!!Ir)):z.createElement("span",{className:xr},yo,hr()))};var Xa=z.forwardRef(Kr),Nn=function(vt,qt){var tn={};for(var Pn in vt)Object.prototype.hasOwnProperty.call(vt,Pn)&&qt.indexOf(Pn)<0&&(tn[Pn]=vt[Pn]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rn=0,Pn=Object.getOwnPropertySymbols(vt);Rn<Pn.length;Rn++)qt.indexOf(Pn[Rn])<0&&Object.prototype.propertyIsEnumerable.call(vt,Pn[Rn])&&(tn[Pn[Rn]]=vt[Pn[Rn]]);return tn},nr=z.forwardRef((vt,qt)=>{var{style:tn,height:Pn}=vt,Rn=Nn(vt,["style","height"]);return z.createElement(Xa,Object.assign({ref:qt},Rn,{type:"drag",style:Object.assign(Object.assign({},tn),{height:Pn})}))});const sr=Xa;sr.Dragger=nr,sr.LIST_IGNORE=Er;var er=sr},24334:function(Et,St,te){var z,se;(function(he,Ie){Et.exports=Ie(he)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(he){"use strict";he=he||{};var Ie=he.Base64,be="2.6.4",Ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(Ze){for(var mt={},De=0,Ue=Ze.length;De<Ue;De++)mt[Ze.charAt(De)]=De;return mt}(Ne),nt=String.fromCharCode,je=function(Ze){if(Ze.length<2){var mt=Ze.charCodeAt(0);return mt<128?Ze:mt<2048?nt(192|mt>>>6)+nt(128|mt&63):nt(224|mt>>>12&15)+nt(128|mt>>>6&63)+nt(128|mt&63)}else{var mt=65536+(Ze.charCodeAt(0)-55296)*1024+(Ze.charCodeAt(1)-56320);return nt(240|mt>>>18&7)+nt(128|mt>>>12&63)+nt(128|mt>>>6&63)+nt(128|mt&63)}},Te=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,He=function(Ze){return Ze.replace(Te,je)},Me=function(Ze){var mt=[0,2,1][Ze.length%3],De=Ze.charCodeAt(0)<<16|(Ze.length>1?Ze.charCodeAt(1):0)<<8|(Ze.length>2?Ze.charCodeAt(2):0),Ue=[Ne.charAt(De>>>18),Ne.charAt(De>>>12&63),mt>=2?"=":Ne.charAt(De>>>6&63),mt>=1?"=":Ne.charAt(De&63)];return Ue.join("")},Ee=he.btoa&&typeof he.btoa=="function"?function(Ze){return he.btoa(Ze)}:function(Ze){if(Ze.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ze.replace(/[\s\S]{1,3}/g,Me)},re=function(Ze){return Ee(He(String(Ze)))},a=function(Ze){return Ze.replace(/[+\/]/g,function(mt){return mt=="+"?"-":"_"}).replace(/=/g,"")},y=function(Ze,mt){return mt?a(re(Ze)):re(Ze)},b=function(Ze){return y(Ze,!0)},E;he.Uint8Array&&(E=function(Ze,mt){for(var De="",Ue=0,Ge=Ze.length;Ue<Ge;Ue+=3){var Ke=Ze[Ue],it=Ze[Ue+1],at=Ze[Ue+2],ft=Ke<<16|it<<8|at;De+=Ne.charAt(ft>>>18)+Ne.charAt(ft>>>12&63)+(typeof it!="undefined"?Ne.charAt(ft>>>6&63):"=")+(typeof at!="undefined"?Ne.charAt(ft&63):"=")}return mt?a(De):De});var x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(Ze){switch(Ze.length){case 4:var mt=(7&Ze.charCodeAt(0))<<18|(63&Ze.charCodeAt(1))<<12|(63&Ze.charCodeAt(2))<<6|63&Ze.charCodeAt(3),De=mt-65536;return nt((De>>>10)+55296)+nt((De&1023)+56320);case 3:return nt((15&Ze.charCodeAt(0))<<12|(63&Ze.charCodeAt(1))<<6|63&Ze.charCodeAt(2));default:return nt((31&Ze.charCodeAt(0))<<6|63&Ze.charCodeAt(1))}},ne=function(Ze){return Ze.replace(x,ee)},oe=function(Ze){var mt=Ze.length,De=mt%4,Ue=(mt>0?ie[Ze.charAt(0)]<<18:0)|(mt>1?ie[Ze.charAt(1)]<<12:0)|(mt>2?ie[Ze.charAt(2)]<<6:0)|(mt>3?ie[Ze.charAt(3)]:0),Ge=[nt(Ue>>>16),nt(Ue>>>8&255),nt(Ue&255)];return Ge.length-=[0,0,2,1][De],Ge.join("")},ae=he.atob&&typeof he.atob=="function"?function(Ze){return he.atob(Ze)}:function(Ze){return Ze.replace(/\S{1,4}/g,oe)},ue=function(Ze){return ae(String(Ze).replace(/[^A-Za-z0-9\+\/]/g,""))},ge=function(Ze){return ne(ae(Ze))},me=function(Ze){return String(Ze).replace(/[-_]/g,function(mt){return mt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Pe=function(Ze){return ge(me(Ze))},xe;he.Uint8Array&&(xe=function(Ze){return Uint8Array.from(ue(me(Ze)),function(mt){return mt.charCodeAt(0)})});var ye=function(){var Ze=he.Base64;return he.Base64=Ie,Ze};if(he.Base64={VERSION:be,atob:ue,btoa:Ee,fromBase64:Pe,toBase64:y,utob:He,encode:y,encodeURI:b,btou:ne,decode:Pe,noConflict:ye,fromUint8Array:E,toUint8Array:xe},typeof Object.defineProperty=="function"){var Be=function(Ze){return{value:Ze,enumerable:!1,writable:!0,configurable:!0}};he.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Be(function(){return Pe(this)})),Object.defineProperty(String.prototype,"toBase64",Be(function(Ze){return y(this,Ze)})),Object.defineProperty(String.prototype,"toBase64URI",Be(function(){return y(this,!0)}))}}return he.Meteor&&(Base64=he.Base64),Et.exports?Et.exports.Base64=he.Base64:(z=[],se=function(){return he.Base64}.apply(St,z),se!==void 0&&(Et.exports=se)),{Base64:he.Base64}})},91735:function(Et,St){"use strict";St.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},39417:function(Et,St,te){"use strict";te.d(St,{Z:function(){return ge}});var z=te(54476),se=te(20068),he=te(75931),Ie=te(33885),be=te(67732),Ne=te(83652),ie=te(31226),nt=te(42403),je=te(158),Te=te(92310),He=te.n(Te),Me=te(26112),Ee=te(59301),re=te(39378),a=function(Pe){for(var xe=Pe.prefixCls,ye=Pe.level,Be=Pe.isStart,Ze=Pe.isEnd,mt="".concat(xe,"-indent-unit"),De=[],Ue=0;Ue<ye;Ue+=1){var Ge;De.push(Ee.createElement("span",{key:Ue,className:He()(mt,(Ge={},(0,se.Z)(Ge,"".concat(mt,"-start"),Be[Ue]),(0,se.Z)(Ge,"".concat(mt,"-end"),Ze[Ue]),Ge))}))}return Ee.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},De)},y=Ee.memo(a),b=te(67841),E=te(71430),x=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",ne="close",oe="---",ae=function(me){(0,nt.Z)(xe,me);var Pe=(0,je.Z)(xe);function xe(){var ye;(0,be.Z)(this,xe);for(var Be=arguments.length,Ze=new Array(Be),mt=0;mt<Be;mt++)Ze[mt]=arguments[mt];return ye=Pe.call.apply(Pe,[this].concat(Ze)),ye.state={dragNodeHighlight:!1},ye.selectHandle=void 0,ye.cacheIndent=void 0,ye.onSelectorClick=function(De){var Ue=ye.props.context.onNodeClick;Ue(De,(0,E.F)(ye.props)),ye.isSelectable()?ye.onSelect(De):ye.onCheck(De)},ye.onSelectorDoubleClick=function(De){var Ue=ye.props.context.onNodeDoubleClick;Ue(De,(0,E.F)(ye.props))},ye.onSelect=function(De){if(!ye.isDisabled()){var Ue=ye.props.context.onNodeSelect;Ue(De,(0,E.F)(ye.props))}},ye.onCheck=function(De){if(!ye.isDisabled()){var Ue=ye.props,Ge=Ue.disableCheckbox,Ke=Ue.checked,it=ye.props.context.onNodeCheck;if(!(!ye.isCheckable()||Ge)){var at=!Ke;it(De,(0,E.F)(ye.props),at)}}},ye.onMouseEnter=function(De){var Ue=ye.props.context.onNodeMouseEnter;Ue(De,(0,E.F)(ye.props))},ye.onMouseLeave=function(De){var Ue=ye.props.context.onNodeMouseLeave;Ue(De,(0,E.F)(ye.props))},ye.onContextMenu=function(De){var Ue=ye.props.context.onNodeContextMenu;Ue(De,(0,E.F)(ye.props))},ye.onDragStart=function(De){var Ue=ye.props.context.onNodeDragStart;De.stopPropagation(),ye.setState({dragNodeHighlight:!0}),Ue(De,(0,ie.Z)(ye));try{De.dataTransfer.setData("text/plain","")}catch(Ge){}},ye.onDragEnter=function(De){var Ue=ye.props.context.onNodeDragEnter;De.preventDefault(),De.stopPropagation(),Ue(De,(0,ie.Z)(ye))},ye.onDragOver=function(De){var Ue=ye.props.context.onNodeDragOver;De.preventDefault(),De.stopPropagation(),Ue(De,(0,ie.Z)(ye))},ye.onDragLeave=function(De){var Ue=ye.props.context.onNodeDragLeave;De.stopPropagation(),Ue(De,(0,ie.Z)(ye))},ye.onDragEnd=function(De){var Ue=ye.props.context.onNodeDragEnd;De.stopPropagation(),ye.setState({dragNodeHighlight:!1}),Ue(De,(0,ie.Z)(ye))},ye.onDrop=function(De){var Ue=ye.props.context.onNodeDrop;De.preventDefault(),De.stopPropagation(),ye.setState({dragNodeHighlight:!1}),Ue(De,(0,ie.Z)(ye))},ye.onExpand=function(De){var Ue=ye.props,Ge=Ue.loading,Ke=Ue.context.onNodeExpand;Ge||Ke(De,(0,E.F)(ye.props))},ye.setSelectHandle=function(De){ye.selectHandle=De},ye.getNodeState=function(){var De=ye.props.expanded;return ye.isLeaf()?null:De?ee:ne},ye.hasChildren=function(){var De=ye.props.eventKey,Ue=ye.props.context.keyEntities,Ge=(0,b.Z)(Ue,De)||{},Ke=Ge.children;return!!(Ke||[]).length},ye.isLeaf=function(){var De=ye.props,Ue=De.isLeaf,Ge=De.loaded,Ke=ye.props.context.loadData,it=ye.hasChildren();return Ue===!1?!1:Ue||!Ke&&!it||Ke&&Ge&&!it},ye.isDisabled=function(){var De=ye.props.disabled,Ue=ye.props.context.disabled;return!!(Ue||De)},ye.isCheckable=function(){var De=ye.props.checkable,Ue=ye.props.context.checkable;return!Ue||De===!1?!1:Ue},ye.syncLoadData=function(De){var Ue=De.expanded,Ge=De.loading,Ke=De.loaded,it=ye.props.context,at=it.loadData,ft=it.onNodeLoad;Ge||at&&Ue&&!ye.isLeaf()&&!ye.hasChildren()&&!Ke&&ft((0,E.F)(ye.props))},ye.isDraggable=function(){var De=ye.props,Ue=De.data,Ge=De.context.draggable;return!!(Ge&&(!Ge.nodeDraggable||Ge.nodeDraggable(Ue)))},ye.renderDragHandler=function(){var De=ye.props.context,Ue=De.draggable,Ge=De.prefixCls;return Ue!=null&&Ue.icon?Ee.createElement("span",{className:"".concat(Ge,"-draggable-icon")},Ue.icon):null},ye.renderSwitcherIconDom=function(De){var Ue=ye.props.switcherIcon,Ge=ye.props.context.switcherIcon,Ke=Ue||Ge;return typeof Ke=="function"?Ke((0,Ie.Z)((0,Ie.Z)({},ye.props),{},{isLeaf:De})):Ke},ye.renderSwitcher=function(){var De=ye.props.expanded,Ue=ye.props.context.prefixCls;if(ye.isLeaf()){var Ge=ye.renderSwitcherIconDom(!0);return Ge!==!1?Ee.createElement("span",{className:He()("".concat(Ue,"-switcher"),"".concat(Ue,"-switcher-noop"))},Ge):null}var Ke=He()("".concat(Ue,"-switcher"),"".concat(Ue,"-switcher_").concat(De?ee:ne)),it=ye.renderSwitcherIconDom(!1);return it!==!1?Ee.createElement("span",{onClick:ye.onExpand,className:Ke},it):null},ye.renderCheckbox=function(){var De=ye.props,Ue=De.checked,Ge=De.halfChecked,Ke=De.disableCheckbox,it=ye.props.context.prefixCls,at=ye.isDisabled(),ft=ye.isCheckable();if(!ft)return null;var Rt=typeof ft!="boolean"?ft:null;return Ee.createElement("span",{className:He()("".concat(it,"-checkbox"),Ue&&"".concat(it,"-checkbox-checked"),!Ue&&Ge&&"".concat(it,"-checkbox-indeterminate"),(at||Ke)&&"".concat(it,"-checkbox-disabled")),onClick:ye.onCheck},Rt)},ye.renderIcon=function(){var De=ye.props.loading,Ue=ye.props.context.prefixCls;return Ee.createElement("span",{className:He()("".concat(Ue,"-iconEle"),"".concat(Ue,"-icon__").concat(ye.getNodeState()||"docu"),De&&"".concat(Ue,"-icon_loading"))})},ye.renderSelector=function(){var De=ye.state.dragNodeHighlight,Ue=ye.props,Ge=Ue.title,Ke=Ge===void 0?oe:Ge,it=Ue.selected,at=Ue.icon,ft=Ue.loading,Rt=Ue.data,kt=ye.props.context,Ye=kt.prefixCls,ut=kt.showIcon,At=kt.icon,Nt=kt.loadData,Pt=kt.titleRender,sn=ye.isDisabled(),Fe="".concat(Ye,"-node-content-wrapper"),Qt;if(ut){var Kt=at||At;Qt=Kt?Ee.createElement("span",{className:He()("".concat(Ye,"-iconEle"),"".concat(Ye,"-icon__customize"))},typeof Kt=="function"?Kt(ye.props):Kt):ye.renderIcon()}else Nt&&ft&&(Qt=ye.renderIcon());var Hn;typeof Ke=="function"?Hn=Ke(Rt):Pt?Hn=Pt(Rt):Hn=Ke;var Jn=Ee.createElement("span",{className:"".concat(Ye,"-title")},Hn);return Ee.createElement("span",{ref:ye.setSelectHandle,title:typeof Ke=="string"?Ke:"",className:He()("".concat(Fe),"".concat(Fe,"-").concat(ye.getNodeState()||"normal"),!sn&&(it||De)&&"".concat(Ye,"-node-selected")),onMouseEnter:ye.onMouseEnter,onMouseLeave:ye.onMouseLeave,onContextMenu:ye.onContextMenu,onClick:ye.onSelectorClick,onDoubleClick:ye.onSelectorDoubleClick},Qt,Jn,ye.renderDropIndicator())},ye.renderDropIndicator=function(){var De=ye.props,Ue=De.disabled,Ge=De.eventKey,Ke=ye.props.context,it=Ke.draggable,at=Ke.dropLevelOffset,ft=Ke.dropPosition,Rt=Ke.prefixCls,kt=Ke.indent,Ye=Ke.dropIndicatorRender,ut=Ke.dragOverNodeKey,At=Ke.direction,Nt=!!it,Pt=!Ue&&Nt&&ut===Ge,sn=kt!=null?kt:ye.cacheIndent;return ye.cacheIndent=kt,Pt?Ye({dropPosition:ft,dropLevelOffset:at,indent:sn,prefixCls:Rt,direction:At}):null},ye}return(0,Ne.Z)(xe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Be=this.props.selectable,Ze=this.props.context.selectable;return typeof Be=="boolean"?Be:Ze}},{key:"render",value:function(){var Be,Ze=this.props,mt=Ze.eventKey,De=Ze.className,Ue=Ze.style,Ge=Ze.dragOver,Ke=Ze.dragOverGapTop,it=Ze.dragOverGapBottom,at=Ze.isLeaf,ft=Ze.isStart,Rt=Ze.isEnd,kt=Ze.expanded,Ye=Ze.selected,ut=Ze.checked,At=Ze.halfChecked,Nt=Ze.loading,Pt=Ze.domRef,sn=Ze.active,Fe=Ze.data,Qt=Ze.onMouseMove,Kt=Ze.selectable,Hn=(0,he.Z)(Ze,x),Jn=this.props.context,Re=Jn.prefixCls,qe=Jn.filterTreeNode,tt=Jn.keyEntities,Le=Jn.dropContainerKey,ht=Jn.dropTargetKey,gt=Jn.draggingNodeKey,Oe=this.isDisabled(),ve=(0,Me.Z)(Hn,{aria:!0,data:!0}),We=(0,b.Z)(tt,mt)||{},Ve=We.level,we=Rt[Rt.length-1],pt=this.isDraggable(),et=!Oe&&pt,jt=gt===mt,Se=Kt!==void 0?{"aria-selected":!!Kt}:void 0;return Ee.createElement("div",(0,z.Z)({ref:Pt,className:He()(De,"".concat(Re,"-treenode"),(Be={},(0,se.Z)(Be,"".concat(Re,"-treenode-disabled"),Oe),(0,se.Z)(Be,"".concat(Re,"-treenode-switcher-").concat(kt?"open":"close"),!at),(0,se.Z)(Be,"".concat(Re,"-treenode-checkbox-checked"),ut),(0,se.Z)(Be,"".concat(Re,"-treenode-checkbox-indeterminate"),At),(0,se.Z)(Be,"".concat(Re,"-treenode-selected"),Ye),(0,se.Z)(Be,"".concat(Re,"-treenode-loading"),Nt),(0,se.Z)(Be,"".concat(Re,"-treenode-active"),sn),(0,se.Z)(Be,"".concat(Re,"-treenode-leaf-last"),we),(0,se.Z)(Be,"".concat(Re,"-treenode-draggable"),pt),(0,se.Z)(Be,"dragging",jt),(0,se.Z)(Be,"drop-target",ht===mt),(0,se.Z)(Be,"drop-container",Le===mt),(0,se.Z)(Be,"drag-over",!Oe&&Ge),(0,se.Z)(Be,"drag-over-gap-top",!Oe&&Ke),(0,se.Z)(Be,"drag-over-gap-bottom",!Oe&&it),(0,se.Z)(Be,"filter-node",qe&&qe((0,E.F)(this.props))),Be)),style:Ue,draggable:et,"aria-grabbed":jt,onDragStart:et?this.onDragStart:void 0,onDragEnter:pt?this.onDragEnter:void 0,onDragOver:pt?this.onDragOver:void 0,onDragLeave:pt?this.onDragLeave:void 0,onDrop:pt?this.onDrop:void 0,onDragEnd:pt?this.onDragEnd:void 0,onMouseMove:Qt},Se,ve),Ee.createElement(y,{prefixCls:Re,level:Ve,isStart:ft,isEnd:Rt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xe}(Ee.Component),ue=function(Pe){return Ee.createElement(re.k.Consumer,null,function(xe){return Ee.createElement(ae,(0,z.Z)({},Pe,{context:xe}))})};ue.displayName="TreeNode",ue.isTreeNode=1;var ge=ue},39378:function(Et,St,te){"use strict";te.d(St,{k:function(){return se}});var z=te(59301),se=z.createContext(null)},60091:function(Et,St,te){"use strict";te.d(St,{O:function(){return ge.Z},Z:function(){return Jn}});var z=te(54476),se=te(20068),he=te(76190),Ie=te(33885),be=te(94480),Ne=te(67732),ie=te(83652),nt=te(31226),je=te(42403),Te=te(158),He=te(92310),Me=te.n(He),Ee=te(10228),re=te(26112),a=te(48736),y=te(59301),b=te(39378);function E(Re){var qe=Re.dropPosition,tt=Re.dropLevelOffset,Le=Re.indent,ht={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(qe){case-1:ht.top=0,ht.left=-tt*Le;break;case 1:ht.bottom=0,ht.left=-tt*Le;break;case 0:ht.bottom=0,ht.left=Le;break}return y.createElement("div",{style:ht})}function x(Re){if(Re==null)throw new TypeError("Cannot destructure "+Re)}var ee=te(42978),ne=te(75931),oe=te(34280),ae=te(48911),ue=te(77900),ge=te(39417);function me(Re,qe){var tt=y.useState(!1),Le=(0,ee.Z)(tt,2),ht=Le[0],gt=Le[1];y.useLayoutEffect(function(){if(ht)return Re(),function(){qe()}},[ht]),y.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var Pe=te(71430),xe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ye=function(qe,tt){var Le=qe.className,ht=qe.style,gt=qe.motion,Oe=qe.motionNodes,ve=qe.motionType,We=qe.onMotionStart,Ve=qe.onMotionEnd,we=qe.active,pt=qe.treeNodeRequiredProps,et=(0,ne.Z)(qe,xe),jt=y.useState(!0),Se=(0,ee.Z)(jt,2),st=Se[0],xt=Se[1],Ae=y.useContext(b.k),_e=Ae.prefixCls,ct=Oe&&ve!=="hide";(0,oe.Z)(function(){Oe&&ct!==st&&xt(ct)},[Oe]);var wt=function(){Oe&&We()},zt=y.useRef(!1),mn=function(){Oe&&!zt.current&&(zt.current=!0,Ve())};me(wt,mn);var dt=function(yt){ct===yt&&mn()};return Oe?y.createElement(ue.default,(0,z.Z)({ref:tt,visible:st},gt,{motionAppear:ve==="show",onVisibleChanged:dt}),function(Dt,yt){var en=Dt.className,Vt=Dt.style;return y.createElement("div",{ref:yt,className:Me()("".concat(_e,"-treenode-motion"),en),style:Vt},Oe.map(function(un){var Vn=(0,z.Z)({},(x(un.data),un.data)),fn=un.title,an=un.key,Un=un.isStart,_t=un.isEnd;delete Vn.children;var Tt=(0,Pe.H8)(an,pt);return y.createElement(ge.Z,(0,z.Z)({},Vn,Tt,{title:fn,active:we,data:un.data,key:an,isStart:Un,isEnd:_t}))}))}):y.createElement(ge.Z,(0,z.Z)({domRef:tt,className:Le,style:ht},et,{active:we}))};ye.displayName="MotionTreeNode";var Be=y.forwardRef(ye),Ze=Be;function mt(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],tt=Re.length,Le=qe.length;if(Math.abs(tt-Le)!==1)return{add:!1,key:null};function ht(gt,Oe){var ve=new Map;gt.forEach(function(Ve){ve.set(Ve,!0)});var We=Oe.filter(function(Ve){return!ve.has(Ve)});return We.length===1?We[0]:null}return tt<Le?{add:!0,key:ht(Re,qe)}:{add:!1,key:ht(qe,Re)}}function De(Re,qe,tt){var Le=Re.findIndex(function(ve){return ve.key===tt}),ht=Re[Le+1],gt=qe.findIndex(function(ve){return ve.key===tt});if(ht){var Oe=qe.findIndex(function(ve){return ve.key===ht.key});return qe.slice(gt+1,Oe)}return qe.slice(gt+1)}var Ue=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Ge={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ke=function(){},it="RC_TREE_MOTION_".concat(Math.random()),at={key:it},ft={key:it,level:0,index:0,pos:"0",node:at,nodes:[at]},Rt={parent:null,children:[],pos:ft.pos,data:at,title:null,key:it,isStart:[],isEnd:[]};function kt(Re,qe,tt,Le){return qe===!1||!tt?Re:Re.slice(0,Math.ceil(tt/Le)+1)}function Ye(Re){var qe=Re.key,tt=Re.pos;return(0,Pe.km)(qe,tt)}function ut(Re){for(var qe=String(Re.data.key),tt=Re;tt.parent;)tt=tt.parent,qe="".concat(tt.data.key," > ").concat(qe);return qe}var At=y.forwardRef(function(Re,qe){var tt=Re.prefixCls,Le=Re.data,ht=Re.selectable,gt=Re.checkable,Oe=Re.expandedKeys,ve=Re.selectedKeys,We=Re.checkedKeys,Ve=Re.loadedKeys,we=Re.loadingKeys,pt=Re.halfCheckedKeys,et=Re.keyEntities,jt=Re.disabled,Se=Re.dragging,st=Re.dragOverNodeKey,xt=Re.dropPosition,Ae=Re.motion,_e=Re.height,ct=Re.itemHeight,wt=Re.virtual,zt=Re.focusable,mn=Re.activeItem,dt=Re.focused,Dt=Re.tabIndex,yt=Re.onKeyDown,en=Re.onFocus,Vt=Re.onBlur,un=Re.onActiveChange,Vn=Re.onListChangeStart,fn=Re.onListChangeEnd,an=(0,ne.Z)(Re,Ue),Un=y.useRef(null),_t=y.useRef(null);y.useImperativeHandle(qe,function(){return{scrollTo:function(er){Un.current.scrollTo(er)},getIndentWidth:function(){return _t.current.offsetWidth}}});var Tt=y.useState(Oe),Xt=(0,ee.Z)(Tt,2),Ea=Xt[0],qn=Xt[1],Mn=y.useState(Le),Ga=(0,ee.Z)(Mn,2),La=Ga[0],Ar=Ga[1],Cr=y.useState(Le),Qa=(0,ee.Z)(Cr,2),rt=Qa[0],Mt=Qa[1],Ft=y.useState([]),kn=(0,ee.Z)(Ft,2),dn=kn[0],Ln=kn[1],Xr=y.useState(null),Er=(0,ee.Z)(Xr,2),Kr=Er[0],oo=Er[1],Xa=y.useRef(Le);Xa.current=Le;function Nn(){var sr=Xa.current;Ar(sr),Mt(sr),Ln([]),oo(null),fn()}(0,oe.Z)(function(){qn(Oe);var sr=mt(Ea,Oe);if(sr.key!==null)if(sr.add){var er=La.findIndex(function(gn){var On=gn.key;return On===sr.key}),vt=kt(De(La,Le,sr.key),wt,_e,ct),qt=La.slice();qt.splice(er+1,0,Rt),Mt(qt),Ln(vt),oo("show")}else{var tn=Le.findIndex(function(gn){var On=gn.key;return On===sr.key}),Pn=kt(De(Le,La,sr.key),wt,_e,ct),Rn=Le.slice();Rn.splice(tn+1,0,Rt),Mt(Rn),Ln(Pn),oo("hide")}else La!==Le&&(Ar(Le),Mt(Le))},[Oe,Le]),y.useEffect(function(){Se||Nn()},[Se]);var ur=Ae?rt:Le,nr={expandedKeys:Oe,selectedKeys:ve,loadedKeys:Ve,loadingKeys:we,checkedKeys:We,halfCheckedKeys:pt,dragOverNodeKey:st,dropPosition:xt,keyEntities:et};return y.createElement(y.Fragment,null,dt&&mn&&y.createElement("span",{style:Ge,"aria-live":"assertive"},ut(mn)),y.createElement("div",null,y.createElement("input",{style:Ge,disabled:zt===!1||jt,tabIndex:zt!==!1?Dt:null,onKeyDown:yt,onFocus:en,onBlur:Vt,value:"",onChange:Ke,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(tt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(tt,"-indent")},y.createElement("div",{ref:_t,className:"".concat(tt,"-indent-unit")}))),y.createElement(ae.Z,(0,z.Z)({},an,{data:ur,itemKey:Ye,height:_e,fullHeight:!1,virtual:wt,itemHeight:ct,prefixCls:"".concat(tt,"-list"),ref:Un,onVisibleChange:function(er,vt){var qt=new Set(er),tn=vt.filter(function(Pn){return!qt.has(Pn)});tn.some(function(Pn){return Ye(Pn)===it})&&Nn()}}),function(sr){var er=sr.pos,vt=(0,z.Z)({},(x(sr.data),sr.data)),qt=sr.title,tn=sr.key,Pn=sr.isStart,Rn=sr.isEnd,gn=(0,Pe.km)(tn,er);delete vt.key,delete vt.children;var On=(0,Pe.H8)(gn,nr);return y.createElement(Ze,(0,z.Z)({},vt,On,{title:qt,active:!!mn&&tn===mn.key,pos:er,data:sr.data,isStart:Pn,isEnd:Rn,motion:Ae,motionNodes:tn===it?dn:null,motionType:Kr,onMotionStart:Vn,onMotionEnd:Nn,treeNodeRequiredProps:nr,onMouseMove:function(){un(null)}}))}))});At.displayName="NodeList";var Nt=At,Pt=te(35654),sn=te(90782),Fe=te(67841),Qt=10,Kt=function(Re){(0,je.Z)(tt,Re);var qe=(0,Te.Z)(tt);function tt(){var Le;(0,Ne.Z)(this,tt);for(var ht=arguments.length,gt=new Array(ht),Oe=0;Oe<ht;Oe++)gt[Oe]=arguments[Oe];return Le=qe.call.apply(qe,[this].concat(gt)),Le.destroyed=!1,Le.delayedDragEnterLogic=void 0,Le.loadingRetryTimes={},Le.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Pe.w$)()},Le.dragStartMousePosition=null,Le.dragNode=void 0,Le.currentMouseOverDroppableNodeKey=null,Le.listRef=y.createRef(),Le.onNodeDragStart=function(ve,We){var Ve=Le.state,we=Ve.expandedKeys,pt=Ve.keyEntities,et=Le.props.onDragStart,jt=We.props.eventKey;Le.dragNode=We,Le.dragStartMousePosition={x:ve.clientX,y:ve.clientY};var Se=(0,Pt._5)(we,jt);Le.setState({draggingNodeKey:jt,dragChildrenKeys:(0,Pt.wA)(jt,pt),indent:Le.listRef.current.getIndentWidth()}),Le.setExpandedKeys(Se),window.addEventListener("dragend",Le.onWindowDragEnd),et==null||et({event:ve,node:(0,Pe.F)(We.props)})},Le.onNodeDragEnter=function(ve,We){var Ve=Le.state,we=Ve.expandedKeys,pt=Ve.keyEntities,et=Ve.dragChildrenKeys,jt=Ve.flattenNodes,Se=Ve.indent,st=Le.props,xt=st.onDragEnter,Ae=st.onExpand,_e=st.allowDrop,ct=st.direction,wt=We.props,zt=wt.pos,mn=wt.eventKey,dt=(0,nt.Z)(Le),Dt=dt.dragNode;if(Le.currentMouseOverDroppableNodeKey!==mn&&(Le.currentMouseOverDroppableNodeKey=mn),!Dt){Le.resetDragState();return}var yt=(0,Pt.OM)(ve,Dt,We,Se,Le.dragStartMousePosition,_e,jt,pt,we,ct),en=yt.dropPosition,Vt=yt.dropLevelOffset,un=yt.dropTargetKey,Vn=yt.dropContainerKey,fn=yt.dropTargetPos,an=yt.dropAllowed,Un=yt.dragOverNodeKey;if(et.indexOf(un)!==-1||!an){Le.resetDragState();return}if(Le.delayedDragEnterLogic||(Le.delayedDragEnterLogic={}),Object.keys(Le.delayedDragEnterLogic).forEach(function(_t){clearTimeout(Le.delayedDragEnterLogic[_t])}),Dt.props.eventKey!==We.props.eventKey&&(ve.persist(),Le.delayedDragEnterLogic[zt]=window.setTimeout(function(){if(Le.state.draggingNodeKey!==null){var _t=(0,be.Z)(we),Tt=(0,Fe.Z)(pt,We.props.eventKey);Tt&&(Tt.children||[]).length&&(_t=(0,Pt.L0)(we,We.props.eventKey)),"expandedKeys"in Le.props||Le.setExpandedKeys(_t),Ae==null||Ae(_t,{node:(0,Pe.F)(We.props),expanded:!0,nativeEvent:ve.nativeEvent})}},800)),Dt.props.eventKey===un&&Vt===0){Le.resetDragState();return}Le.setState({dragOverNodeKey:Un,dropPosition:en,dropLevelOffset:Vt,dropTargetKey:un,dropContainerKey:Vn,dropTargetPos:fn,dropAllowed:an}),xt==null||xt({event:ve,node:(0,Pe.F)(We.props),expandedKeys:we})},Le.onNodeDragOver=function(ve,We){var Ve=Le.state,we=Ve.dragChildrenKeys,pt=Ve.flattenNodes,et=Ve.keyEntities,jt=Ve.expandedKeys,Se=Ve.indent,st=Le.props,xt=st.onDragOver,Ae=st.allowDrop,_e=st.direction,ct=(0,nt.Z)(Le),wt=ct.dragNode;if(wt){var zt=(0,Pt.OM)(ve,wt,We,Se,Le.dragStartMousePosition,Ae,pt,et,jt,_e),mn=zt.dropPosition,dt=zt.dropLevelOffset,Dt=zt.dropTargetKey,yt=zt.dropContainerKey,en=zt.dropAllowed,Vt=zt.dropTargetPos,un=zt.dragOverNodeKey;we.indexOf(Dt)!==-1||!en||(wt.props.eventKey===Dt&&dt===0?Le.state.dropPosition===null&&Le.state.dropLevelOffset===null&&Le.state.dropTargetKey===null&&Le.state.dropContainerKey===null&&Le.state.dropTargetPos===null&&Le.state.dropAllowed===!1&&Le.state.dragOverNodeKey===null||Le.resetDragState():mn===Le.state.dropPosition&&dt===Le.state.dropLevelOffset&&Dt===Le.state.dropTargetKey&&yt===Le.state.dropContainerKey&&Vt===Le.state.dropTargetPos&&en===Le.state.dropAllowed&&un===Le.state.dragOverNodeKey||Le.setState({dropPosition:mn,dropLevelOffset:dt,dropTargetKey:Dt,dropContainerKey:yt,dropTargetPos:Vt,dropAllowed:en,dragOverNodeKey:un}),xt==null||xt({event:ve,node:(0,Pe.F)(We.props)}))}},Le.onNodeDragLeave=function(ve,We){Le.currentMouseOverDroppableNodeKey===We.props.eventKey&&!ve.currentTarget.contains(ve.relatedTarget)&&(Le.resetDragState(),Le.currentMouseOverDroppableNodeKey=null);var Ve=Le.props.onDragLeave;Ve==null||Ve({event:ve,node:(0,Pe.F)(We.props)})},Le.onWindowDragEnd=function(ve){Le.onNodeDragEnd(ve,null,!0),window.removeEventListener("dragend",Le.onWindowDragEnd)},Le.onNodeDragEnd=function(ve,We){var Ve=Le.props.onDragEnd;Le.setState({dragOverNodeKey:null}),Le.cleanDragState(),Ve==null||Ve({event:ve,node:(0,Pe.F)(We.props)}),Le.dragNode=null,window.removeEventListener("dragend",Le.onWindowDragEnd)},Le.onNodeDrop=function(ve,We){var Ve,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,pt=Le.state,et=pt.dragChildrenKeys,jt=pt.dropPosition,Se=pt.dropTargetKey,st=pt.dropTargetPos,xt=pt.dropAllowed;if(xt){var Ae=Le.props.onDrop;if(Le.setState({dragOverNodeKey:null}),Le.cleanDragState(),Se!==null){var _e=(0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(Se,Le.getTreeNodeRequiredProps())),{},{active:((Ve=Le.getActiveItem())===null||Ve===void 0?void 0:Ve.key)===Se,data:(0,Fe.Z)(Le.state.keyEntities,Se).node}),ct=et.indexOf(Se)!==-1;(0,a.ZP)(!ct,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var wt=(0,Pt.yx)(st),zt={event:ve,node:(0,Pe.F)(_e),dragNode:Le.dragNode?(0,Pe.F)(Le.dragNode.props):null,dragNodesKeys:[Le.dragNode.props.eventKey].concat(et),dropToGap:jt!==0,dropPosition:jt+Number(wt[wt.length-1])};we||Ae==null||Ae(zt),Le.dragNode=null}}},Le.cleanDragState=function(){var ve=Le.state.draggingNodeKey;ve!==null&&Le.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Le.dragStartMousePosition=null,Le.currentMouseOverDroppableNodeKey=null},Le.triggerExpandActionExpand=function(ve,We){var Ve=Le.state,we=Ve.expandedKeys,pt=Ve.flattenNodes,et=We.expanded,jt=We.key,Se=We.isLeaf;if(!(Se||ve.shiftKey||ve.metaKey||ve.ctrlKey)){var st=pt.filter(function(Ae){return Ae.key===jt})[0],xt=(0,Pe.F)((0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(jt,Le.getTreeNodeRequiredProps())),{},{data:st.data}));Le.setExpandedKeys(et?(0,Pt._5)(we,jt):(0,Pt.L0)(we,jt)),Le.onNodeExpand(ve,xt)}},Le.onNodeClick=function(ve,We){var Ve=Le.props,we=Ve.onClick,pt=Ve.expandAction;pt==="click"&&Le.triggerExpandActionExpand(ve,We),we==null||we(ve,We)},Le.onNodeDoubleClick=function(ve,We){var Ve=Le.props,we=Ve.onDoubleClick,pt=Ve.expandAction;pt==="doubleClick"&&Le.triggerExpandActionExpand(ve,We),we==null||we(ve,We)},Le.onNodeSelect=function(ve,We){var Ve=Le.state.selectedKeys,we=Le.state,pt=we.keyEntities,et=we.fieldNames,jt=Le.props,Se=jt.onSelect,st=jt.multiple,xt=We.selected,Ae=We[et.key],_e=!xt;_e?st?Ve=(0,Pt.L0)(Ve,Ae):Ve=[Ae]:Ve=(0,Pt._5)(Ve,Ae);var ct=Ve.map(function(wt){var zt=(0,Fe.Z)(pt,wt);return zt?zt.node:null}).filter(function(wt){return wt});Le.setUncontrolledState({selectedKeys:Ve}),Se==null||Se(Ve,{event:"select",selected:_e,node:We,selectedNodes:ct,nativeEvent:ve.nativeEvent})},Le.onNodeCheck=function(ve,We,Ve){var we=Le.state,pt=we.keyEntities,et=we.checkedKeys,jt=we.halfCheckedKeys,Se=Le.props,st=Se.checkStrictly,xt=Se.onCheck,Ae=We.key,_e,ct={event:"check",node:We,checked:Ve,nativeEvent:ve.nativeEvent};if(st){var wt=Ve?(0,Pt.L0)(et,Ae):(0,Pt._5)(et,Ae),zt=(0,Pt._5)(jt,Ae);_e={checked:wt,halfChecked:zt},ct.checkedNodes=wt.map(function(Vt){return(0,Fe.Z)(pt,Vt)}).filter(function(Vt){return Vt}).map(function(Vt){return Vt.node}),Le.setUncontrolledState({checkedKeys:wt})}else{var mn=(0,sn.S)([].concat((0,be.Z)(et),[Ae]),!0,pt),dt=mn.checkedKeys,Dt=mn.halfCheckedKeys;if(!Ve){var yt=new Set(dt);yt.delete(Ae);var en=(0,sn.S)(Array.from(yt),{checked:!1,halfCheckedKeys:Dt},pt);dt=en.checkedKeys,Dt=en.halfCheckedKeys}_e=dt,ct.checkedNodes=[],ct.checkedNodesPositions=[],ct.halfCheckedKeys=Dt,dt.forEach(function(Vt){var un=(0,Fe.Z)(pt,Vt);if(un){var Vn=un.node,fn=un.pos;ct.checkedNodes.push(Vn),ct.checkedNodesPositions.push({node:Vn,pos:fn})}}),Le.setUncontrolledState({checkedKeys:dt},!1,{halfCheckedKeys:Dt})}xt==null||xt(_e,ct)},Le.onNodeLoad=function(ve){var We=ve.key,Ve=new Promise(function(we,pt){Le.setState(function(et){var jt=et.loadedKeys,Se=jt===void 0?[]:jt,st=et.loadingKeys,xt=st===void 0?[]:st,Ae=Le.props,_e=Ae.loadData,ct=Ae.onLoad;if(!_e||Se.indexOf(We)!==-1||xt.indexOf(We)!==-1)return null;var wt=_e(ve);return wt.then(function(){var zt=Le.state.loadedKeys,mn=(0,Pt.L0)(zt,We);ct==null||ct(mn,{event:"load",node:ve}),Le.setUncontrolledState({loadedKeys:mn}),Le.setState(function(dt){return{loadingKeys:(0,Pt._5)(dt.loadingKeys,We)}}),we()}).catch(function(zt){if(Le.setState(function(dt){return{loadingKeys:(0,Pt._5)(dt.loadingKeys,We)}}),Le.loadingRetryTimes[We]=(Le.loadingRetryTimes[We]||0)+1,Le.loadingRetryTimes[We]>=Qt){var mn=Le.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Le.setUncontrolledState({loadedKeys:(0,Pt.L0)(mn,We)}),we()}pt(zt)}),{loadingKeys:(0,Pt.L0)(xt,We)}})});return Ve.catch(function(){}),Ve},Le.onNodeMouseEnter=function(ve,We){var Ve=Le.props.onMouseEnter;Ve==null||Ve({event:ve,node:We})},Le.onNodeMouseLeave=function(ve,We){var Ve=Le.props.onMouseLeave;Ve==null||Ve({event:ve,node:We})},Le.onNodeContextMenu=function(ve,We){var Ve=Le.props.onRightClick;Ve&&(ve.preventDefault(),Ve({event:ve,node:We}))},Le.onFocus=function(){var ve=Le.props.onFocus;Le.setState({focused:!0});for(var We=arguments.length,Ve=new Array(We),we=0;we<We;we++)Ve[we]=arguments[we];ve==null||ve.apply(void 0,Ve)},Le.onBlur=function(){var ve=Le.props.onBlur;Le.setState({focused:!1}),Le.onActiveChange(null);for(var We=arguments.length,Ve=new Array(We),we=0;we<We;we++)Ve[we]=arguments[we];ve==null||ve.apply(void 0,Ve)},Le.getTreeNodeRequiredProps=function(){var ve=Le.state,We=ve.expandedKeys,Ve=ve.selectedKeys,we=ve.loadedKeys,pt=ve.loadingKeys,et=ve.checkedKeys,jt=ve.halfCheckedKeys,Se=ve.dragOverNodeKey,st=ve.dropPosition,xt=ve.keyEntities;return{expandedKeys:We||[],selectedKeys:Ve||[],loadedKeys:we||[],loadingKeys:pt||[],checkedKeys:et||[],halfCheckedKeys:jt||[],dragOverNodeKey:Se,dropPosition:st,keyEntities:xt}},Le.setExpandedKeys=function(ve){var We=Le.state,Ve=We.treeData,we=We.fieldNames,pt=(0,Pe.oH)(Ve,ve,we);Le.setUncontrolledState({expandedKeys:ve,flattenNodes:pt},!0)},Le.onNodeExpand=function(ve,We){var Ve=Le.state.expandedKeys,we=Le.state,pt=we.listChanging,et=we.fieldNames,jt=Le.props,Se=jt.onExpand,st=jt.loadData,xt=We.expanded,Ae=We[et.key];if(!pt){var _e=Ve.indexOf(Ae),ct=!xt;if((0,a.ZP)(xt&&_e!==-1||!xt&&_e===-1,"Expand state not sync with index check"),ct?Ve=(0,Pt.L0)(Ve,Ae):Ve=(0,Pt._5)(Ve,Ae),Le.setExpandedKeys(Ve),Se==null||Se(Ve,{node:We,expanded:ct,nativeEvent:ve.nativeEvent}),ct&&st){var wt=Le.onNodeLoad(We);wt&&wt.then(function(){var zt=(0,Pe.oH)(Le.state.treeData,Ve,et);Le.setUncontrolledState({flattenNodes:zt})}).catch(function(){var zt=Le.state.expandedKeys,mn=(0,Pt._5)(zt,Ae);Le.setExpandedKeys(mn)})}}},Le.onListChangeStart=function(){Le.setUncontrolledState({listChanging:!0})},Le.onListChangeEnd=function(){setTimeout(function(){Le.setUncontrolledState({listChanging:!1})})},Le.onActiveChange=function(ve){var We=Le.state.activeKey,Ve=Le.props.onActiveChange;We!==ve&&(Le.setState({activeKey:ve}),ve!==null&&Le.scrollTo({key:ve}),Ve==null||Ve(ve))},Le.getActiveItem=function(){var ve=Le.state,We=ve.activeKey,Ve=ve.flattenNodes;return We===null?null:Ve.find(function(we){var pt=we.key;return pt===We})||null},Le.offsetActiveKey=function(ve){var We=Le.state,Ve=We.flattenNodes,we=We.activeKey,pt=Ve.findIndex(function(Se){var st=Se.key;return st===we});pt===-1&&ve<0&&(pt=Ve.length),pt=(pt+ve+Ve.length)%Ve.length;var et=Ve[pt];if(et){var jt=et.key;Le.onActiveChange(jt)}else Le.onActiveChange(null)},Le.onKeyDown=function(ve){var We=Le.state,Ve=We.activeKey,we=We.expandedKeys,pt=We.checkedKeys,et=We.fieldNames,jt=Le.props,Se=jt.onKeyDown,st=jt.checkable,xt=jt.selectable;switch(ve.which){case Ee.Z.UP:{Le.offsetActiveKey(-1),ve.preventDefault();break}case Ee.Z.DOWN:{Le.offsetActiveKey(1),ve.preventDefault();break}}var Ae=Le.getActiveItem();if(Ae&&Ae.data){var _e=Le.getTreeNodeRequiredProps(),ct=Ae.data.isLeaf===!1||!!(Ae.data[et.children]||[]).length,wt=(0,Pe.F)((0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(Ve,_e)),{},{data:Ae.data,active:!0}));switch(ve.which){case Ee.Z.LEFT:{ct&&we.includes(Ve)?Le.onNodeExpand({},wt):Ae.parent&&Le.onActiveChange(Ae.parent.key),ve.preventDefault();break}case Ee.Z.RIGHT:{ct&&!we.includes(Ve)?Le.onNodeExpand({},wt):Ae.children&&Ae.children.length&&Le.onActiveChange(Ae.children[0].key),ve.preventDefault();break}case Ee.Z.ENTER:case Ee.Z.SPACE:{st&&!wt.disabled&&wt.checkable!==!1&&!wt.disableCheckbox?Le.onNodeCheck({},wt,!pt.includes(Ve)):!st&&xt&&!wt.disabled&&wt.selectable!==!1&&Le.onNodeSelect({},wt);break}}}Se==null||Se(ve)},Le.setUncontrolledState=function(ve){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Le.destroyed){var we=!1,pt=!0,et={};Object.keys(ve).forEach(function(jt){if(jt in Le.props){pt=!1;return}we=!0,et[jt]=ve[jt]}),we&&(!We||pt)&&Le.setState((0,Ie.Z)((0,Ie.Z)({},et),Ve))}},Le.scrollTo=function(ve){Le.listRef.current.scrollTo(ve)},Le}return(0,ie.Z)(tt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ht=this.props.activeKey;ht!==void 0&&ht!==this.state.activeKey&&(this.setState({activeKey:ht}),ht!==null&&this.scrollTo({key:ht}))}},{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 ht,gt=this.state,Oe=gt.focused,ve=gt.flattenNodes,We=gt.keyEntities,Ve=gt.draggingNodeKey,we=gt.activeKey,pt=gt.dropLevelOffset,et=gt.dropContainerKey,jt=gt.dropTargetKey,Se=gt.dropPosition,st=gt.dragOverNodeKey,xt=gt.indent,Ae=this.props,_e=Ae.prefixCls,ct=Ae.className,wt=Ae.style,zt=Ae.showLine,mn=Ae.focusable,dt=Ae.tabIndex,Dt=dt===void 0?0:dt,yt=Ae.selectable,en=Ae.showIcon,Vt=Ae.icon,un=Ae.switcherIcon,Vn=Ae.draggable,fn=Ae.checkable,an=Ae.checkStrictly,Un=Ae.disabled,_t=Ae.motion,Tt=Ae.loadData,Xt=Ae.filterTreeNode,Ea=Ae.height,qn=Ae.itemHeight,Mn=Ae.virtual,Ga=Ae.titleRender,La=Ae.dropIndicatorRender,Ar=Ae.onContextMenu,Cr=Ae.onScroll,Qa=Ae.direction,rt=Ae.rootClassName,Mt=Ae.rootStyle,Ft=(0,re.Z)(this.props,{aria:!0,data:!0}),kn;return Vn&&((0,he.Z)(Vn)==="object"?kn=Vn:typeof Vn=="function"?kn={nodeDraggable:Vn}:kn={}),y.createElement(b.k.Provider,{value:{prefixCls:_e,selectable:yt,showIcon:en,icon:Vt,switcherIcon:un,draggable:kn,draggingNodeKey:Ve,checkable:fn,checkStrictly:an,disabled:Un,keyEntities:We,dropLevelOffset:pt,dropContainerKey:et,dropTargetKey:jt,dropPosition:Se,dragOverNodeKey:st,indent:xt,direction:Qa,dropIndicatorRender:La,loadData:Tt,filterTreeNode:Xt,titleRender:Ga,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}},y.createElement("div",{role:"tree",className:Me()(_e,ct,rt,(ht={},(0,se.Z)(ht,"".concat(_e,"-show-line"),zt),(0,se.Z)(ht,"".concat(_e,"-focused"),Oe),(0,se.Z)(ht,"".concat(_e,"-active-focused"),we!==null),ht)),style:Mt},y.createElement(Nt,(0,z.Z)({ref:this.listRef,prefixCls:_e,style:wt,data:ve,disabled:Un,selectable:yt,checkable:!!fn,motion:_t,dragging:Ve!==null,height:Ea,itemHeight:qn,virtual:Mn,focusable:mn,focused:Oe,tabIndex:Dt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ar,onScroll:Cr},this.getTreeNodeRequiredProps(),Ft))))}}],[{key:"getDerivedStateFromProps",value:function(ht,gt){var Oe=gt.prevProps,ve={prevProps:ht};function We(mn){return!Oe&&mn in ht||Oe&&Oe[mn]!==ht[mn]}var Ve,we=gt.fieldNames;if(We("fieldNames")&&(we=(0,Pe.w$)(ht.fieldNames),ve.fieldNames=we),We("treeData")?Ve=ht.treeData:We("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ve=(0,Pe.zn)(ht.children)),Ve){ve.treeData=Ve;var pt=(0,Pe.I8)(Ve,{fieldNames:we});ve.keyEntities=(0,Ie.Z)((0,se.Z)({},it,ft),pt.keyEntities)}var et=ve.keyEntities||gt.keyEntities;if(We("expandedKeys")||Oe&&We("autoExpandParent"))ve.expandedKeys=ht.autoExpandParent||!Oe&&ht.defaultExpandParent?(0,Pt.r7)(ht.expandedKeys,et):ht.expandedKeys;else if(!Oe&&ht.defaultExpandAll){var jt=(0,Ie.Z)({},et);delete jt[it],ve.expandedKeys=Object.keys(jt).map(function(mn){return jt[mn].key})}else!Oe&&ht.defaultExpandedKeys&&(ve.expandedKeys=ht.autoExpandParent||ht.defaultExpandParent?(0,Pt.r7)(ht.defaultExpandedKeys,et):ht.defaultExpandedKeys);if(ve.expandedKeys||delete ve.expandedKeys,Ve||ve.expandedKeys){var Se=(0,Pe.oH)(Ve||gt.treeData,ve.expandedKeys||gt.expandedKeys,we);ve.flattenNodes=Se}if(ht.selectable&&(We("selectedKeys")?ve.selectedKeys=(0,Pt.BT)(ht.selectedKeys,ht):!Oe&&ht.defaultSelectedKeys&&(ve.selectedKeys=(0,Pt.BT)(ht.defaultSelectedKeys,ht))),ht.checkable){var st;if(We("checkedKeys")?st=(0,Pt.E6)(ht.checkedKeys)||{}:!Oe&&ht.defaultCheckedKeys?st=(0,Pt.E6)(ht.defaultCheckedKeys)||{}:Ve&&(st=(0,Pt.E6)(ht.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),st){var xt=st,Ae=xt.checkedKeys,_e=Ae===void 0?[]:Ae,ct=xt.halfCheckedKeys,wt=ct===void 0?[]:ct;if(!ht.checkStrictly){var zt=(0,sn.S)(_e,!0,et);_e=zt.checkedKeys,wt=zt.halfCheckedKeys}ve.checkedKeys=_e,ve.halfCheckedKeys=wt}}return We("loadedKeys")&&(ve.loadedKeys=ht.loadedKeys),ve}}]),tt}(y.Component);Kt.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:E,allowDrop:function(){return!0},expandAction:!1},Kt.TreeNode=ge.Z;var Hn=Kt,Jn=Hn},35654:function(Et,St,te){"use strict";te.d(St,{BT:function(){return y},E6:function(){return x},L0:function(){return Te},OM:function(){return a},_5:function(){return je},r7:function(){return ee},wA:function(){return Me},yx:function(){return He}});var z=te(94480),se=te(76190),he=te(48736),Ie=te(59301),be=te(39417),Ne=te(67841),ie=te(71430),nt=null;function je(ne,oe){if(!ne)return[];var ae=ne.slice(),ue=ae.indexOf(oe);return ue>=0&&ae.splice(ue,1),ae}function Te(ne,oe){var ae=(ne||[]).slice();return ae.indexOf(oe)===-1&&ae.push(oe),ae}function He(ne){return ne.split("-")}function Me(ne,oe){var ae=[],ue=(0,Ne.Z)(oe,ne);function ge(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];me.forEach(function(Pe){var xe=Pe.key,ye=Pe.children;ae.push(xe),ge(ye)})}return ge(ue.children),ae}function Ee(ne){if(ne.parent){var oe=He(ne.pos);return Number(oe[oe.length-1])===ne.parent.children.length-1}return!1}function re(ne){var oe=He(ne.pos);return Number(oe[oe.length-1])===0}function a(ne,oe,ae,ue,ge,me,Pe,xe,ye,Be){var Ze,mt=ne.clientX,De=ne.clientY,Ue=ne.target.getBoundingClientRect(),Ge=Ue.top,Ke=Ue.height,it=(Be==="rtl"?-1:1)*(((ge==null?void 0:ge.x)||0)-mt),at=(it-12)/ue,ft=(0,Ne.Z)(xe,ae.props.eventKey);if(De<Ge+Ke/2){var Rt=Pe.findIndex(function(Jn){return Jn.key===ft.key}),kt=Rt<=0?0:Rt-1,Ye=Pe[kt].key;ft=(0,Ne.Z)(xe,Ye)}var ut=ft.key,At=ft,Nt=ft.key,Pt=0,sn=0;if(!ye.includes(ut))for(var Fe=0;Fe<at&&Ee(ft);Fe+=1)ft=ft.parent,sn+=1;var Qt=oe.props.data,Kt=ft.node,Hn=!0;return re(ft)&&ft.level===0&&De<Ge+Ke/2&&me({dragNode:Qt,dropNode:Kt,dropPosition:-1})&&ft.key===ae.props.eventKey?Pt=-1:(At.children||[]).length&&ye.includes(Nt)?me({dragNode:Qt,dropNode:Kt,dropPosition:0})?Pt=0:Hn=!1:sn===0?at>-1.5?me({dragNode:Qt,dropNode:Kt,dropPosition:1})?Pt=1:Hn=!1:me({dragNode:Qt,dropNode:Kt,dropPosition:0})?Pt=0:me({dragNode:Qt,dropNode:Kt,dropPosition:1})?Pt=1:Hn=!1:me({dragNode:Qt,dropNode:Kt,dropPosition:1})?Pt=1:Hn=!1,{dropPosition:Pt,dropLevelOffset:sn,dropTargetKey:ft.key,dropTargetPos:ft.pos,dragOverNodeKey:Nt,dropContainerKey:Pt===0?null:((Ze=ft.parent)===null||Ze===void 0?void 0:Ze.key)||null,dropAllowed:Hn}}function y(ne,oe){if(ne){var ae=oe.multiple;return ae?ne.slice():ne.length?[ne[0]]:ne}}var b=function(oe){return oe};function E(ne,oe){if(!ne)return[];var ae=oe||{},ue=ae.processProps,ge=ue===void 0?b:ue,me=Array.isArray(ne)?ne:[ne];return me.map(function(Pe){var xe=Pe.children,ye=_objectWithoutProperties(Pe,nt),Be=E(xe,oe);return React.createElement(TreeNode,_extends({key:ye.key},ge(ye)),Be)})}function x(ne){if(!ne)return null;var oe;if(Array.isArray(ne))oe={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,se.Z)(ne)==="object")oe={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,he.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function ee(ne,oe){var ae=new Set;function ue(ge){if(!ae.has(ge)){var me=(0,Ne.Z)(oe,ge);if(me){ae.add(ge);var Pe=me.parent,xe=me.node;xe.disabled||Pe&&ue(Pe.key)}}}return(ne||[]).forEach(function(ge){ue(ge)}),(0,z.Z)(ae)}},90782:function(Et,St,te){"use strict";te.d(St,{S:function(){return ie}});var z=te(48736),se=te(67841);function he(nt,je){var Te=new Set;return nt.forEach(function(He){je.has(He)||Te.add(He)}),Te}function Ie(nt){var je=nt||{},Te=je.disabled,He=je.disableCheckbox,Me=je.checkable;return!!(Te||He)||Me===!1}function be(nt,je,Te,He){for(var Me=new Set(nt),Ee=new Set,re=0;re<=Te;re+=1){var a=je.get(re)||new Set;a.forEach(function(x){var ee=x.key,ne=x.node,oe=x.children,ae=oe===void 0?[]:oe;Me.has(ee)&&!He(ne)&&ae.filter(function(ue){return!He(ue.node)}).forEach(function(ue){Me.add(ue.key)})})}for(var y=new Set,b=Te;b>=0;b-=1){var E=je.get(b)||new Set;E.forEach(function(x){var ee=x.parent,ne=x.node;if(!(He(ne)||!x.parent||y.has(x.parent.key))){if(He(x.parent.node)){y.add(ee.key);return}var oe=!0,ae=!1;(ee.children||[]).filter(function(ue){return!He(ue.node)}).forEach(function(ue){var ge=ue.key,me=Me.has(ge);oe&&!me&&(oe=!1),!ae&&(me||Ee.has(ge))&&(ae=!0)}),oe&&Me.add(ee.key),ae&&Ee.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(Me),halfCheckedKeys:Array.from(he(Ee,Me))}}function Ne(nt,je,Te,He,Me){for(var Ee=new Set(nt),re=new Set(je),a=0;a<=He;a+=1){var y=Te.get(a)||new Set;y.forEach(function(ee){var ne=ee.key,oe=ee.node,ae=ee.children,ue=ae===void 0?[]:ae;!Ee.has(ne)&&!re.has(ne)&&!Me(oe)&&ue.filter(function(ge){return!Me(ge.node)}).forEach(function(ge){Ee.delete(ge.key)})})}re=new Set;for(var b=new Set,E=He;E>=0;E-=1){var x=Te.get(E)||new Set;x.forEach(function(ee){var ne=ee.parent,oe=ee.node;if(!(Me(oe)||!ee.parent||b.has(ee.parent.key))){if(Me(ee.parent.node)){b.add(ne.key);return}var ae=!0,ue=!1;(ne.children||[]).filter(function(ge){return!Me(ge.node)}).forEach(function(ge){var me=ge.key,Pe=Ee.has(me);ae&&!Pe&&(ae=!1),!ue&&(Pe||re.has(me))&&(ue=!0)}),ae||Ee.delete(ne.key),ue&&re.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(Ee),halfCheckedKeys:Array.from(he(re,Ee))}}function ie(nt,je,Te,He){var Me=[],Ee;He?Ee=He:Ee=Ie;var re=new Set(nt.filter(function(E){var x=!!(0,se.Z)(Te,E);return x||Me.push(E),x})),a=new Map,y=0;Object.keys(Te).forEach(function(E){var x=Te[E],ee=x.level,ne=a.get(ee);ne||(ne=new Set,a.set(ee,ne)),ne.add(x),y=Math.max(y,ee)}),(0,z.ZP)(!Me.length,"Tree missing follow keys: ".concat(Me.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return je===!0?b=be(re,a,y,Ee):b=Ne(re,je.halfCheckedKeys,a,y,Ee),b}},67841:function(Et,St,te){"use strict";te.d(St,{Z:function(){return z}});function z(se,he){return se[he]}},71430:function(Et,St,te){"use strict";te.d(St,{F:function(){return ee},H8:function(){return x},I8:function(){return E},km:function(){return Me},oH:function(){return y},w$:function(){return Ee},zn:function(){return a}});var z=te(76190),se=te(94480),he=te(33885),Ie=te(75931),be=te(11592),Ne=te(2738),ie=te(48736),nt=te(67841),je=["children"];function Te(ne,oe){return"".concat(ne,"-").concat(oe)}function He(ne){return ne&&ne.type&&ne.type.isTreeNode}function Me(ne,oe){return ne!=null?ne:oe}function Ee(ne){var oe=ne||{},ae=oe.title,ue=oe._title,ge=oe.key,me=oe.children,Pe=ae||"title";return{title:Pe,_title:ue||[Pe],key:ge||"key",children:me||"children"}}function re(ne,oe){var ae=new Map;function ue(ge){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ge||[]).forEach(function(Pe){var xe=Pe[oe.key],ye=Pe[oe.children];warning(xe!=null,"Tree node must have a certain key: [".concat(me).concat(xe,"]"));var Be=String(xe);warning(!ae.has(Be)||xe===null||xe===void 0,"Same 'key' exist in the Tree: ".concat(Be)),ae.set(Be,!0),ue(ye,"".concat(me).concat(Be," > "))})}ue(ne)}function a(ne){function oe(ae){var ue=(0,be.Z)(ae);return ue.map(function(ge){if(!He(ge))return(0,ie.ZP)(!ge,"Tree/TreeNode can only accept TreeNode as children."),null;var me=ge.key,Pe=ge.props,xe=Pe.children,ye=(0,Ie.Z)(Pe,je),Be=(0,he.Z)({key:me},ye),Ze=oe(xe);return Ze.length&&(Be.children=Ze),Be}).filter(function(ge){return ge})}return oe(ne)}function y(ne,oe,ae){var ue=Ee(ae),ge=ue._title,me=ue.key,Pe=ue.children,xe=new Set(oe===!0?[]:oe),ye=[];function Be(Ze){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ze.map(function(De,Ue){for(var Ge=Te(mt?mt.pos:"0",Ue),Ke=Me(De[me],Ge),it,at=0;at<ge.length;at+=1){var ft=ge[at];if(De[ft]!==void 0){it=De[ft];break}}var Rt=(0,he.Z)((0,he.Z)({},(0,Ne.Z)(De,[].concat((0,se.Z)(ge),[me,Pe]))),{},{title:it,key:Ke,parent:mt,pos:Ge,children:null,data:De,isStart:[].concat((0,se.Z)(mt?mt.isStart:[]),[Ue===0]),isEnd:[].concat((0,se.Z)(mt?mt.isEnd:[]),[Ue===Ze.length-1])});return ye.push(Rt),oe===!0||xe.has(Ke)?Rt.children=Be(De[Pe]||[],Rt):Rt.children=[],Rt})}return Be(ne),ye}function b(ne,oe,ae){var ue={};(0,z.Z)(ae)==="object"?ue=ae:ue={externalGetKey:ae},ue=ue||{};var ge=ue,me=ge.childrenPropName,Pe=ge.externalGetKey,xe=ge.fieldNames,ye=Ee(xe),Be=ye.key,Ze=ye.children,mt=me||Ze,De;Pe?typeof Pe=="string"?De=function(Ke){return Ke[Pe]}:typeof Pe=="function"&&(De=function(Ke){return Pe(Ke)}):De=function(Ke,it){return Me(Ke[Be],it)};function Ue(Ge,Ke,it,at){var ft=Ge?Ge[mt]:ne,Rt=Ge?Te(it.pos,Ke):"0",kt=Ge?[].concat((0,se.Z)(at),[Ge]):[];if(Ge){var Ye=De(Ge,Rt),ut={node:Ge,index:Ke,pos:Rt,key:Ye,parentPos:it.node?it.pos:null,level:it.level+1,nodes:kt};oe(ut)}ft&&ft.forEach(function(At,Nt){Ue(At,Nt,{node:Ge,pos:Rt,level:it?it.level+1:-1},kt)})}Ue(null)}function E(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ae=oe.initWrapper,ue=oe.processEntity,ge=oe.onProcessFinished,me=oe.externalGetKey,Pe=oe.childrenPropName,xe=oe.fieldNames,ye=arguments.length>2?arguments[2]:void 0,Be=me||ye,Ze={},mt={},De={posEntities:Ze,keyEntities:mt};return ae&&(De=ae(De)||De),b(ne,function(Ue){var Ge=Ue.node,Ke=Ue.index,it=Ue.pos,at=Ue.key,ft=Ue.parentPos,Rt=Ue.level,kt=Ue.nodes,Ye={node:Ge,nodes:kt,index:Ke,key:at,pos:it,level:Rt},ut=Me(at,it);Ze[it]=Ye,mt[ut]=Ye,Ye.parent=Ze[ft],Ye.parent&&(Ye.parent.children=Ye.parent.children||[],Ye.parent.children.push(Ye)),ue&&ue(Ye,De)},{externalGetKey:Be,childrenPropName:Pe,fieldNames:xe}),ge&&ge(De),De}function x(ne,oe){var ae=oe.expandedKeys,ue=oe.selectedKeys,ge=oe.loadedKeys,me=oe.loadingKeys,Pe=oe.checkedKeys,xe=oe.halfCheckedKeys,ye=oe.dragOverNodeKey,Be=oe.dropPosition,Ze=oe.keyEntities,mt=(0,nt.Z)(Ze,ne),De={eventKey:ne,expanded:ae.indexOf(ne)!==-1,selected:ue.indexOf(ne)!==-1,loaded:ge.indexOf(ne)!==-1,loading:me.indexOf(ne)!==-1,checked:Pe.indexOf(ne)!==-1,halfChecked:xe.indexOf(ne)!==-1,pos:String(mt?mt.pos:""),dragOver:ye===ne&&Be===0,dragOverGapTop:ye===ne&&Be===-1,dragOverGapBottom:ye===ne&&Be===1};return De}function ee(ne){var oe=ne.data,ae=ne.expanded,ue=ne.selected,ge=ne.checked,me=ne.loaded,Pe=ne.loading,xe=ne.halfChecked,ye=ne.dragOver,Be=ne.dragOverGapTop,Ze=ne.dragOverGapBottom,mt=ne.pos,De=ne.active,Ue=ne.eventKey,Ge=(0,he.Z)((0,he.Z)({},oe),{},{expanded:ae,selected:ue,checked:ge,loaded:me,loading:Pe,halfChecked:xe,dragOver:ye,dragOverGapTop:Be,dragOverGapBottom:Ze,pos:mt,active:De,key:Ue});return"props"in Ge||Object.defineProperty(Ge,"props",{get:function(){return(0,ie.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),Ge}},8224:function(Et,St,te){"use strict";te.d(St,{Z:function(){return se}});var z=te(4676);function se(he,Ie,be,Ne){var ie=z.unstable_batchedUpdates?function(je){z.unstable_batchedUpdates(be,je)}:be;return he!=null&&he.addEventListener&&he.addEventListener(Ie,ie,Ne),{remove:function(){he!=null&&he.removeEventListener&&he.removeEventListener(Ie,ie,Ne)}}}},55468:function(Et,St,te){"use strict";te.d(St,{g1:function(){return He},os:function(){return Ee}});var z=/margin|padding|width|height|max|min|offset/,se={left:!0,top:!0},he={cssFloat:1,styleFloat:1,float:1};function Ie(re){return re.nodeType===1?re.ownerDocument.defaultView.getComputedStyle(re,null):{}}function be(re,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return re.offsetHeight;if(a==="width")return re.offsetWidth}return a in se||(se[a]=z.test(a)),se[a]?parseFloat(y)||0:y}function Ne(re,a){var y=arguments.length,b=Ie(re);return a=he[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,y===1?b:be(re,a,b[a]||re.style[a])}function ie(re,a,y){var b=arguments.length;if(a=he[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,b===3)return typeof y=="number"&&z.test(a)&&(y="".concat(y,"px")),re.style[a]=y,y;for(var E in a)a.hasOwnProperty(E)&&ie(re,E,a[E]);return Ie(re)}function nt(re){return re===document.body?document.documentElement.clientWidth:re.offsetWidth}function je(re){return re===document.body?window.innerHeight||document.documentElement.clientHeight:re.offsetHeight}function Te(){var re=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:re,height:a}}function He(){var re=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:re,height:a}}function Me(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ee(re){var a=re.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},24514:function(Et,St,te){"use strict";te.d(St,{G:function(){return Ie}});var z=te(47273),se=function(Ne){if((0,z.Z)()&&window.document.documentElement){var ie=Array.isArray(Ne)?Ne:[Ne],nt=window.document.documentElement;return ie.some(function(je){return je in nt.style})}return!1},he=function(Ne,ie){if(!se(Ne))return!1;var nt=document.createElement("div"),je=nt.style[Ne];return nt.style[Ne]=ie,nt.style[Ne]!==je};function Ie(be,Ne){return!Array.isArray(be)&&Ne!==void 0?he(be,Ne):se(be)}},51581:function(Et,St,te){"use strict";Object.defineProperty(St,"__esModule",{value:!0});var z=function(){function Me(Ee,re){for(var a=0;a<re.length;a++){var y=re[a];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(Ee,y.key,y)}}return function(Ee,re,a){return re&&Me(Ee.prototype,re),a&&Me(Ee,a),Ee}}(),se=te(59301),he=Ne(se),Ie=te(12708),be=Ne(Ie);function Ne(Me){return Me&&Me.__esModule?Me:{default:Me}}function ie(Me,Ee){var re={};for(var a in Me)Ee.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(Me,a)&&(re[a]=Me[a]);return re}function nt(Me,Ee){if(!(Me instanceof Ee))throw new TypeError("Cannot call a class as a function")}function je(Me,Ee){if(!Me)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ee&&(typeof Ee=="object"||typeof Ee=="function")?Ee:Me}function Te(Me,Ee){if(typeof Ee!="function"&&Ee!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ee);Me.prototype=Object.create(Ee&&Ee.prototype,{constructor:{value:Me,enumerable:!1,writable:!0,configurable:!0}}),Ee&&(Object.setPrototypeOf?Object.setPrototypeOf(Me,Ee):Me.__proto__=Ee)}var He=function(Me){Te(Ee,Me);function Ee(re){nt(this,Ee);var a=je(this,(Ee.__proto__||Object.getPrototypeOf(Ee)).call(this,re));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return z(Ee,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,y={get passive(){a=!0}};try{document.addEventListener("test",null,y),document.removeEventListener("test",null,y)}catch(b){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var y=this.props.getScrollParent&&this.props.getScrollParent();return y!=null?y:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var y=window;this.props.useWindow===!1&&(y=a),y.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),y.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),y.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,y=window,b=this.getParentElement(a),E=void 0;if(this.props.useWindow){var x=document.documentElement||document.body.parentNode||document.body,ee=y.pageYOffset!==void 0?y.pageYOffset:x.scrollTop;this.props.isReverse?E=ee:E=this.calculateOffset(a,ee)}else this.props.isReverse?E=b.scrollTop:E=a.scrollHeight-b.scrollTop-b.clientHeight;E<Number(this.props.threshold)&&a&&a.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=b.scrollHeight,this.beforeScrollTop=b.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(a,y){return a?this.calculateTopPosition(a)+(a.offsetHeight-y-window.innerHeight):0}},{key:"calculateTopPosition",value:function(a){return a?a.offsetTop+this.calculateTopPosition(a.offsetParent):0}},{key:"render",value:function(){var a=this,y=this.filterProps(this.props),b=y.children,E=y.element,x=y.hasMore,ee=y.initialLoad,ne=y.isReverse,oe=y.loader,ae=y.loadMore,ue=y.pageStart,ge=y.ref,me=y.threshold,Pe=y.useCapture,xe=y.useWindow,ye=y.getScrollParent,Be=ie(y,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);Be.ref=function(mt){a.scrollComponent=mt,ge&&ge(mt)};var Ze=[b];return x&&(oe?ne?Ze.unshift(oe):Ze.push(oe):this.defaultLoader&&(ne?Ze.unshift(this.defaultLoader):Ze.push(this.defaultLoader))),he.default.createElement(E,Be,Ze)}}]),Ee}(se.Component);He.propTypes={children:be.default.node.isRequired,element:be.default.node,hasMore:be.default.bool,initialLoad:be.default.bool,isReverse:be.default.bool,loader:be.default.node,loadMore:be.default.func.isRequired,pageStart:be.default.number,ref:be.default.func,getScrollParent:be.default.func,threshold:be.default.number,useCapture:be.default.bool,useWindow:be.default.bool},He.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},St.default=He,Et.exports=St.default},26724:function(Et,St,te){Et.exports=te(51581)},44589:function(Et,St,te){"use strict";te.d(St,{JN:function(){return Le},Rp:function(){return ee},W8:function(){return Oe}});var z=te(54476),se=te(42978),he=te(75682),Ie=te(67732),be=te(83652),Ne=te(85458),ie=te(58289),nt=te(42403),je=te(31226),Te=te(20068),He=te(59301),Me=te(12708),Ee=te.n(Me),re=te(4676),a=te(44520),y=te.n(a),b=te(94480),E=function(){function ve(){(0,Ie.Z)(this,ve),(0,Te.Z)(this,"refs",{})}return(0,be.Z)(ve,[{key:"add",value:function(Ve,we){this.refs[Ve]||(this.refs[Ve]=[]),this.refs[Ve].push(we)}},{key:"remove",value:function(Ve,we){var pt=this.getIndex(Ve,we);pt!==-1&&this.refs[Ve].splice(pt,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var Ve=this;return this.refs[this.active.collection].find(function(we){var pt=we.node;return pt.sortableInfo.index==Ve.active.index})}},{key:"getIndex",value:function(Ve,we){return this.refs[Ve].indexOf(we)}},{key:"getOrderedRefs",value:function(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[Ve].sort(x)}}]),ve}();function x(ve,We){var Ve=ve.node.sortableInfo.index,we=We.node.sortableInfo.index;return Ve-we}function ee(ve,We,Ve){return ve=ve.slice(),ve.splice(Ve<0?ve.length+Ve:Ve,0,ve.splice(We,1)[0]),ve}function ne(ve,We){return Object.keys(ve).reduce(function(Ve,we){return We.indexOf(we)===-1&&(Ve[we]=ve[we]),Ve},{})}var oe={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ae=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var ve=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],We=(Array.prototype.slice.call(ve).join("").match(/-(moz|webkit|ms)-/)||ve.OLink===""&&["","o"])[1];switch(We){case"ms":return"ms";default:return We&&We.length?We[0].toUpperCase()+We.substr(1):""}}();function ue(ve,We){Object.keys(We).forEach(function(Ve){ve.style[Ve]=We[Ve]})}function ge(ve,We){ve.style["".concat(ae,"Transform")]=We==null?"":"translate3d(".concat(We.x,"px,").concat(We.y,"px,0)")}function me(ve,We){ve.style["".concat(ae,"TransitionDuration")]=We==null?"":"".concat(We,"ms")}function Pe(ve,We){for(;ve;){if(We(ve))return ve;ve=ve.parentNode}return null}function xe(ve,We,Ve){return Math.max(ve,Math.min(Ve,We))}function ye(ve){return ve.substr(-2)==="px"?parseFloat(ve):0}function Be(ve){var We=window.getComputedStyle(ve);return{bottom:ye(We.marginBottom),left:ye(We.marginLeft),right:ye(We.marginRight),top:ye(We.marginTop)}}function Ze(ve,We){var Ve=We.displayName||We.name;return Ve?"".concat(ve,"(").concat(Ve,")"):ve}function mt(ve,We){var Ve=ve.getBoundingClientRect();return{top:Ve.top+We.top,left:Ve.left+We.left}}function De(ve){return ve.touches&&ve.touches.length?{x:ve.touches[0].pageX,y:ve.touches[0].pageY}:ve.changedTouches&&ve.changedTouches.length?{x:ve.changedTouches[0].pageX,y:ve.changedTouches[0].pageY}:{x:ve.pageX,y:ve.pageY}}function Ue(ve){return ve.touches&&ve.touches.length||ve.changedTouches&&ve.changedTouches.length}function Ge(ve,We){var Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(ve){var we={left:Ve.left+ve.offsetLeft,top:Ve.top+ve.offsetTop};return ve.parentNode===We?we:Ge(ve.parentNode,We,we)}}function Ke(ve,We,Ve){return ve<Ve&&ve>We?ve-1:ve>Ve&&ve<We?ve+1:ve}function it(ve){var We=ve.lockOffset,Ve=ve.width,we=ve.height,pt=We,et=We,jt="px";if(typeof We=="string"){var Se=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(We);y()(Se!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',We),pt=parseFloat(We),et=parseFloat(We),jt=Se[1]}return y()(isFinite(pt)&&isFinite(et),"lockOffset value should be a finite. Given %s",We),jt==="%"&&(pt=pt*Ve/100,et=et*we/100),{x:pt,y:et}}function at(ve){var We=ve.height,Ve=ve.width,we=ve.lockOffset,pt=Array.isArray(we)?we:[we,we];y()(pt.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",we);var et=(0,se.Z)(pt,2),jt=et[0],Se=et[1];return[it({height:We,lockOffset:jt,width:Ve}),it({height:We,lockOffset:Se,width:Ve})]}function ft(ve){var We=window.getComputedStyle(ve),Ve=/(auto|scroll)/,we=["overflow","overflowX","overflowY"];return we.find(function(pt){return Ve.test(We[pt])})}function Rt(ve){return ve instanceof HTMLElement?ft(ve)?ve:Rt(ve.parentNode):null}function kt(ve){var We=window.getComputedStyle(ve);return We.display==="grid"?{x:ye(We.gridColumnGap),y:ye(We.gridRowGap)}:{x:0,y:0}}var Ye={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},ut={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function At(ve){var We="input, textarea, select, canvas, [contenteditable]",Ve=ve.querySelectorAll(We),we=ve.cloneNode(!0),pt=(0,b.Z)(we.querySelectorAll(We));return pt.forEach(function(et,jt){if(et.type!=="file"&&(et.value=Ve[jt].value),et.type==="radio"&&et.name&&(et.name="__sortableClone__".concat(et.name)),et.tagName===ut.Canvas&&Ve[jt].width>0&&Ve[jt].height>0){var Se=et.getContext("2d");Se.drawImage(Ve[jt],0,0)}}),we}function Nt(ve){var We,Ve,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ve=We=function(pt){_inherits(et,pt);function et(){return _classCallCheck(this,et),_possibleConstructorReturn(this,_getPrototypeOf(et).apply(this,arguments))}return _createClass(et,[{key:"componentDidMount",value:function(){var Se=findDOMNode(this);Se.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return invariant(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return createElement(ve,_extends({ref:Se},this.props))}}]),et}(Component),_defineProperty(We,"displayName",Ze("sortableHandle",ve)),Ve}function Pt(ve){return ve.sortableHandle!=null}var sn=function(){function ve(We,Ve){(0,Ie.Z)(this,ve),this.container=We,this.onScrollCallback=Ve}return(0,be.Z)(ve,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(Ve){var we=this,pt=Ve.translate,et=Ve.minTranslate,jt=Ve.maxTranslate,Se=Ve.width,st=Ve.height,xt={x:0,y:0},Ae={x:1,y:1},_e={x:10,y:10},ct=this.container,wt=ct.scrollTop,zt=ct.scrollLeft,mn=ct.scrollHeight,dt=ct.scrollWidth,Dt=ct.clientHeight,yt=ct.clientWidth,en=wt===0,Vt=mn-wt-Dt===0,un=zt===0,Vn=dt-zt-yt===0;pt.y>=jt.y-st/2&&!Vt?(xt.y=1,Ae.y=_e.y*Math.abs((jt.y-st/2-pt.y)/st)):pt.x>=jt.x-Se/2&&!Vn?(xt.x=1,Ae.x=_e.x*Math.abs((jt.x-Se/2-pt.x)/Se)):pt.y<=et.y+st/2&&!en?(xt.y=-1,Ae.y=_e.y*Math.abs((pt.y-st/2-et.y)/st)):pt.x<=et.x+Se/2&&!un&&(xt.x=-1,Ae.x=_e.x*Math.abs((pt.x-Se/2-et.x)/Se)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(xt.x!==0||xt.y!==0)&&(this.interval=setInterval(function(){we.isAutoScrolling=!0;var fn={left:Ae.x*xt.x,top:Ae.y*xt.y};we.container.scrollTop+=fn.top,we.container.scrollLeft+=fn.left,we.onScrollCallback(fn)},5))}}]),ve}();function Fe(ve){var We=ve.node;return{height:We.offsetHeight,width:We.offsetWidth}}function Qt(ve){var We=[ut.Input,ut.Textarea,ut.Select,ut.Option,ut.Button];return!!(We.indexOf(ve.target.tagName)!==-1||Pe(ve.target,function(Ve){return Ve.contentEditable==="true"}))}var Kt={axis:Ee().oneOf(["x","y","xy"]),contentWindow:Ee().any,disableAutoscroll:Ee().bool,distance:Ee().number,getContainer:Ee().func,getHelperDimensions:Ee().func,helperClass:Ee().string,helperContainer:Ee().oneOfType([Ee().func,typeof HTMLElement=="undefined"?Ee().any:Ee().instanceOf(HTMLElement)]),hideSortableGhost:Ee().bool,keyboardSortingTransitionDuration:Ee().number,lockAxis:Ee().string,lockOffset:Ee().oneOfType([Ee().number,Ee().string,Ee().arrayOf(Ee().oneOfType([Ee().number,Ee().string]))]),lockToContainerEdges:Ee().bool,onSortEnd:Ee().func,onSortMove:Ee().func,onSortOver:Ee().func,onSortStart:Ee().func,pressDelay:Ee().number,pressThreshold:Ee().number,keyCodes:Ee().shape({lift:Ee().arrayOf(Ee().number),drop:Ee().arrayOf(Ee().number),cancel:Ee().arrayOf(Ee().number),up:Ee().arrayOf(Ee().number),down:Ee().arrayOf(Ee().number)}),shouldCancelStart:Ee().func,transitionDuration:Ee().number,updateBeforeSortStart:Ee().func,useDragHandle:Ee().bool,useWindowAsScrollContainer:Ee().bool},Hn={lift:[Ye.SPACE],drop:[Ye.SPACE],cancel:[Ye.ESC],up:[Ye.UP,Ye.LEFT],down:[Ye.DOWN,Ye.RIGHT]},Jn={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Fe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Hn,shouldCancelStart:Qt,transitionDuration:300,useWindowAsScrollContainer:!1},Re=Object.keys(Kt);function qe(ve){y()(!(ve.distance&&ve.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function tt(ve,We){try{var Ve=ve()}catch(we){return We(!0,we)}return Ve&&Ve.then?Ve.then(We.bind(null,!1),We.bind(null,!0)):We(!1,value)}function Le(ve){var We,Ve,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ve=We=function(pt){(0,nt.Z)(et,pt);function et(jt){var Se;return(0,Ie.Z)(this,et),Se=(0,Ne.Z)(this,(0,ie.Z)(et).call(this,jt)),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"state",{}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"handleStart",function(st){var xt=Se.props,Ae=xt.distance,_e=xt.shouldCancelStart;if(!(st.button===2||_e(st))){Se.touched=!0,Se.position=De(st);var ct=Pe(st.target,function(yt){return yt.sortableInfo!=null});if(ct&&ct.sortableInfo&&Se.nodeIsChild(ct)&&!Se.state.sorting){var wt=Se.props.useDragHandle,zt=ct.sortableInfo,mn=zt.index,dt=zt.collection,Dt=zt.disabled;if(Dt||wt&&!Pe(st.target,Pt))return;Se.manager.active={collection:dt,index:mn},!Ue(st)&&st.target.tagName===ut.Anchor&&st.preventDefault(),Ae||(Se.props.pressDelay===0?Se.handlePress(st):Se.pressTimer=setTimeout(function(){return Se.handlePress(st)},Se.props.pressDelay))}}}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"nodeIsChild",function(st){return st.sortableInfo.manager===Se.manager}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"handleMove",function(st){var xt=Se.props,Ae=xt.distance,_e=xt.pressThreshold;if(!Se.state.sorting&&Se.touched&&!Se._awaitingUpdateBeforeSortStart){var ct=De(st),wt={x:Se.position.x-ct.x,y:Se.position.y-ct.y},zt=Math.abs(wt.x)+Math.abs(wt.y);Se.delta=wt,!Ae&&(!_e||zt>=_e)?(clearTimeout(Se.cancelTimer),Se.cancelTimer=setTimeout(Se.cancel,0)):Ae&&zt>=Ae&&Se.manager.isActive()&&Se.handlePress(st)}}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"handleEnd",function(){Se.touched=!1,Se.cancel()}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"cancel",function(){var st=Se.props.distance,xt=Se.state.sorting;xt||(st||clearTimeout(Se.pressTimer),Se.manager.active=null)}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"handlePress",function(st){try{var xt=Se.manager.getActive(),Ae=function(){if(xt){var _e=function(){var Un=Vt.sortableInfo.index,_t=Be(Vt),Tt=kt(Se.container),Xt=Se.scrollContainer.getBoundingClientRect(),Ea=zt({index:Un,node:Vt,collection:un});if(Se.node=Vt,Se.margin=_t,Se.gridGap=Tt,Se.width=Ea.width,Se.height=Ea.height,Se.marginOffset={x:Se.margin.left+Se.margin.right+Se.gridGap.x,y:Math.max(Se.margin.top,Se.margin.bottom,Se.gridGap.y)},Se.boundingClientRect=Vt.getBoundingClientRect(),Se.containerBoundingRect=Xt,Se.index=Un,Se.newIndex=Un,Se.axis={x:wt.indexOf("x")>=0,y:wt.indexOf("y")>=0},Se.offsetEdge=Ge(Vt,Se.container),Vn?Se.initialOffset=De((0,he.Z)({},st,{pageX:Se.boundingClientRect.left,pageY:Se.boundingClientRect.top})):Se.initialOffset=De(st),Se.initialScroll={left:Se.scrollContainer.scrollLeft,top:Se.scrollContainer.scrollTop},Se.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Se.helper=Se.helperContainer.appendChild(At(Vt)),ue(Se.helper,{boxSizing:"border-box",height:"".concat(Se.height,"px"),left:"".concat(Se.boundingClientRect.left-_t.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Se.boundingClientRect.top-_t.top,"px"),width:"".concat(Se.width,"px")}),Vn&&Se.helper.focus(),dt&&(Se.sortableGhost=Vt,ue(Vt,{opacity:0,visibility:"hidden"})),Se.minTranslate={},Se.maxTranslate={},Vn){var qn=en?{top:0,left:0,width:Se.contentWindow.innerWidth,height:Se.contentWindow.innerHeight}:Se.containerBoundingRect,Mn=qn.top,Ga=qn.left,La=qn.width,Ar=qn.height,Cr=Mn+Ar,Qa=Ga+La;Se.axis.x&&(Se.minTranslate.x=Ga-Se.boundingClientRect.left,Se.maxTranslate.x=Qa-(Se.boundingClientRect.left+Se.width)),Se.axis.y&&(Se.minTranslate.y=Mn-Se.boundingClientRect.top,Se.maxTranslate.y=Cr-(Se.boundingClientRect.top+Se.height))}else Se.axis.x&&(Se.minTranslate.x=(en?0:Xt.left)-Se.boundingClientRect.left-Se.width/2,Se.maxTranslate.x=(en?Se.contentWindow.innerWidth:Xt.left+Xt.width)-Se.boundingClientRect.left-Se.width/2),Se.axis.y&&(Se.minTranslate.y=(en?0:Xt.top)-Se.boundingClientRect.top-Se.height/2,Se.maxTranslate.y=(en?Se.contentWindow.innerHeight:Xt.top+Xt.height)-Se.boundingClientRect.top-Se.height/2);mn&&mn.split(" ").forEach(function(rt){return Se.helper.classList.add(rt)}),Se.listenerNode=st.touches?Vt:Se.contentWindow,Vn?(Se.listenerNode.addEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(rt){return Se.listenerNode.addEventListener(rt,Se.handleSortMove,!1)}),oe.end.forEach(function(rt){return Se.listenerNode.addEventListener(rt,Se.handleSortEnd,!1)})),Se.setState({sorting:!0,sortingIndex:Un}),yt&&yt({node:Vt,index:Un,collection:un,isKeySorting:Vn,nodes:Se.manager.getOrderedRefs(),helper:Se.helper},st),Vn&&Se.keyMove(0)},ct=Se.props,wt=ct.axis,zt=ct.getHelperDimensions,mn=ct.helperClass,dt=ct.hideSortableGhost,Dt=ct.updateBeforeSortStart,yt=ct.onSortStart,en=ct.useWindowAsScrollContainer,Vt=xt.node,un=xt.collection,Vn=Se.manager.isKeySorting,fn=function(){if(typeof Dt=="function"){Se._awaitingUpdateBeforeSortStart=!0;var an=tt(function(){var Un=Vt.sortableInfo.index;return Promise.resolve(Dt({collection:un,index:Un,node:Vt,isKeySorting:Vn},st)).then(function(){})},function(Un,_t){if(Se._awaitingUpdateBeforeSortStart=!1,Un)throw _t;return _t});if(an&&an.then)return an.then(function(){})}}();return fn&&fn.then?fn.then(_e):_e(fn)}}();return Promise.resolve(Ae&&Ae.then?Ae.then(function(){}):void 0)}catch(_e){return Promise.reject(_e)}}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"handleSortMove",function(st){var xt=Se.props.onSortMove;typeof st.preventDefault=="function"&&st.preventDefault(),Se.updateHelperPosition(st),Se.animateNodes(),Se.autoscroll(),xt&&xt(st)}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"handleSortEnd",function(st){var xt=Se.props,Ae=xt.hideSortableGhost,_e=xt.onSortEnd,ct=Se.manager,wt=ct.active.collection,zt=ct.isKeySorting,mn=Se.manager.getOrderedRefs();Se.listenerNode&&(zt?(Se.listenerNode.removeEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(Vt){return Se.listenerNode.removeEventListener(Vt,Se.handleSortMove)}),oe.end.forEach(function(Vt){return Se.listenerNode.removeEventListener(Vt,Se.handleSortEnd)}))),Se.helper.parentNode.removeChild(Se.helper),Ae&&Se.sortableGhost&&ue(Se.sortableGhost,{opacity:"",visibility:""});for(var dt=0,Dt=mn.length;dt<Dt;dt++){var yt=mn[dt],en=yt.node;yt.edgeOffset=null,yt.boundingClientRect=null,ge(en,null),me(en,null),yt.translate=null}Se.autoScroller.clear(),Se.manager.active=null,Se.manager.isKeySorting=!1,Se.setState({sorting:!1,sortingIndex:null}),typeof _e=="function"&&_e({collection:wt,newIndex:Se.newIndex,oldIndex:Se.index,isKeySorting:zt,nodes:mn},st),Se.touched=!1}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"autoscroll",function(){var st=Se.props.disableAutoscroll,xt=Se.manager.isKeySorting;if(st){Se.autoScroller.clear();return}if(xt){var Ae=(0,he.Z)({},Se.translate),_e=0,ct=0;Se.axis.x&&(Ae.x=Math.min(Se.maxTranslate.x,Math.max(Se.minTranslate.x,Se.translate.x)),_e=Se.translate.x-Ae.x),Se.axis.y&&(Ae.y=Math.min(Se.maxTranslate.y,Math.max(Se.minTranslate.y,Se.translate.y)),ct=Se.translate.y-Ae.y),Se.translate=Ae,ge(Se.helper,Se.translate),Se.scrollContainer.scrollLeft+=_e,Se.scrollContainer.scrollTop+=ct;return}Se.autoScroller.update({height:Se.height,maxTranslate:Se.maxTranslate,minTranslate:Se.minTranslate,translate:Se.translate,width:Se.width})}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"onAutoScroll",function(st){Se.translate.x+=st.left,Se.translate.y+=st.top,Se.animateNodes()}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"handleKeyDown",function(st){var xt=st.keyCode,Ae=Se.props,_e=Ae.shouldCancelStart,ct=Ae.keyCodes,wt=ct===void 0?{}:ct,zt=(0,he.Z)({},Hn,wt);Se.manager.active&&!Se.manager.isKeySorting||!Se.manager.active&&(!zt.lift.includes(xt)||_e(st)||!Se.isValidSortingTarget(st))||(st.stopPropagation(),st.preventDefault(),zt.lift.includes(xt)&&!Se.manager.active?Se.keyLift(st):zt.drop.includes(xt)&&Se.manager.active?Se.keyDrop(st):zt.cancel.includes(xt)?(Se.newIndex=Se.manager.active.index,Se.keyDrop(st)):zt.up.includes(xt)?Se.keyMove(-1):zt.down.includes(xt)&&Se.keyMove(1))}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"keyLift",function(st){var xt=st.target,Ae=Pe(xt,function(zt){return zt.sortableInfo!=null}),_e=Ae.sortableInfo,ct=_e.index,wt=_e.collection;Se.initialFocusedNode=xt,Se.manager.isKeySorting=!0,Se.manager.active={index:ct,collection:wt},Se.handlePress(st)}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"keyMove",function(st){var xt=Se.manager.getOrderedRefs(),Ae=xt[xt.length-1].node.sortableInfo.index,_e=Se.newIndex+st,ct=Se.newIndex;if(!(_e<0||_e>Ae)){Se.prevIndex=ct,Se.newIndex=_e;var wt=Ke(Se.newIndex,Se.prevIndex,Se.index),zt=xt.find(function(Vn){var fn=Vn.node;return fn.sortableInfo.index===wt}),mn=zt.node,dt=Se.containerScrollDelta,Dt=zt.boundingClientRect||mt(mn,dt),yt=zt.translate||{x:0,y:0},en={top:Dt.top+yt.y-dt.top,left:Dt.left+yt.x-dt.left},Vt=ct<_e,un={x:Vt&&Se.axis.x?mn.offsetWidth-Se.width:0,y:Vt&&Se.axis.y?mn.offsetHeight-Se.height:0};Se.handleSortMove({pageX:en.left+un.x,pageY:en.top+un.y,ignoreTransition:st===0})}}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"keyDrop",function(st){Se.handleSortEnd(st),Se.initialFocusedNode&&Se.initialFocusedNode.focus()}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"handleKeyEnd",function(st){Se.manager.active&&Se.keyDrop(st)}),(0,Te.Z)((0,je.Z)((0,je.Z)(Se)),"isValidSortingTarget",function(st){var xt=Se.props.useDragHandle,Ae=st.target,_e=Pe(Ae,function(ct){return ct.sortableInfo!=null});return _e&&_e.sortableInfo&&!_e.sortableInfo.disabled&&(xt?Pt(Ae):Ae.sortableInfo)}),qe(jt),Se.manager=new E,Se.events={end:Se.handleEnd,move:Se.handleMove,start:Se.handleStart},Se}return(0,be.Z)(et,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Se=this,st=this.props.useWindowAsScrollContainer,xt=this.getContainer();Promise.resolve(xt).then(function(Ae){Se.container=Ae,Se.document=Se.container.ownerDocument||document;var _e=Se.props.contentWindow||Se.document.defaultView||window;Se.contentWindow=typeof _e=="function"?_e():_e,Se.scrollContainer=st?Se.document.scrollingElement||Se.document.documentElement:Rt(Se.container)||Se.container,Se.autoScroller=new sn(Se.scrollContainer,Se.onAutoScroll),Object.keys(Se.events).forEach(function(ct){return oe[ct].forEach(function(wt){return Se.container.addEventListener(wt,Se.events[ct],!1)})}),Se.container.addEventListener("keydown",Se.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Se=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(st){return oe[st].forEach(function(xt){return Se.container.removeEventListener(xt,Se.events[st])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(Se){var st=this.props,xt=st.lockAxis,Ae=st.lockOffset,_e=st.lockToContainerEdges,ct=st.transitionDuration,wt=st.keyboardSortingTransitionDuration,zt=wt===void 0?ct:wt,mn=this.manager.isKeySorting,dt=Se.ignoreTransition,Dt=De(Se),yt={x:Dt.x-this.initialOffset.x,y:Dt.y-this.initialOffset.y};if(yt.y-=window.pageYOffset-this.initialWindowScroll.top,yt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=yt,_e){var en=at({height:this.height,lockOffset:Ae,width:this.width}),Vt=(0,se.Z)(en,2),un=Vt[0],Vn=Vt[1],fn={x:this.width/2-un.x,y:this.height/2-un.y},an={x:this.width/2-Vn.x,y:this.height/2-Vn.y};yt.x=xe(this.minTranslate.x+fn.x,this.maxTranslate.x-an.x,yt.x),yt.y=xe(this.minTranslate.y+fn.y,this.maxTranslate.y-an.y,yt.y)}xt==="x"?yt.y=0:xt==="y"&&(yt.x=0),mn&&zt&&!dt&&me(this.helper,zt),ge(this.helper,yt)}},{key:"animateNodes",value:function(){var Se=this.props,st=Se.transitionDuration,xt=Se.hideSortableGhost,Ae=Se.onSortOver,_e=this.containerScrollDelta,ct=this.windowScrollDelta,wt=this.manager.getOrderedRefs(),zt={left:this.offsetEdge.left+this.translate.x+_e.left,top:this.offsetEdge.top+this.translate.y+_e.top},mn=this.manager.isKeySorting,dt=this.newIndex;this.newIndex=null;for(var Dt=0,yt=wt.length;Dt<yt;Dt++){var en=wt[Dt].node,Vt=en.sortableInfo.index,un=en.offsetWidth,Vn=en.offsetHeight,fn={height:this.height>Vn?Vn/2:this.height/2,width:this.width>un?un/2:this.width/2},an=mn&&Vt>this.index&&Vt<=dt,Un=mn&&Vt<this.index&&Vt>=dt,_t={x:0,y:0},Tt=wt[Dt].edgeOffset;Tt||(Tt=Ge(en,this.container),wt[Dt].edgeOffset=Tt,mn&&(wt[Dt].boundingClientRect=mt(en,_e)));var Xt=Dt<wt.length-1&&wt[Dt+1],Ea=Dt>0&&wt[Dt-1];if(Xt&&!Xt.edgeOffset&&(Xt.edgeOffset=Ge(Xt.node,this.container),mn&&(Xt.boundingClientRect=mt(Xt.node,_e))),Vt===this.index){xt&&(this.sortableGhost=en,ue(en,{opacity:0,visibility:"hidden"}));continue}st&&me(en,st),this.axis.x?this.axis.y?Un||Vt<this.index&&(zt.left+ct.left-fn.width<=Tt.left&&zt.top+ct.top<=Tt.top+fn.height||zt.top+ct.top+fn.height<=Tt.top)?(_t.x=this.width+this.marginOffset.x,Tt.left+_t.x>this.containerBoundingRect.width-fn.width&&Xt&&(_t.x=Xt.edgeOffset.left-Tt.left,_t.y=Xt.edgeOffset.top-Tt.top),this.newIndex===null&&(this.newIndex=Vt)):(an||Vt>this.index&&(zt.left+ct.left+fn.width>=Tt.left&&zt.top+ct.top+fn.height>=Tt.top||zt.top+ct.top+fn.height>=Tt.top+Vn))&&(_t.x=-(this.width+this.marginOffset.x),Tt.left+_t.x<this.containerBoundingRect.left+fn.width&&Ea&&(_t.x=Ea.edgeOffset.left-Tt.left,_t.y=Ea.edgeOffset.top-Tt.top),this.newIndex=Vt):an||Vt>this.index&&zt.left+ct.left+fn.width>=Tt.left?(_t.x=-(this.width+this.marginOffset.x),this.newIndex=Vt):(Un||Vt<this.index&&zt.left+ct.left<=Tt.left+fn.width)&&(_t.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Vt)):this.axis.y&&(an||Vt>this.index&&zt.top+ct.top+fn.height>=Tt.top?(_t.y=-(this.height+this.marginOffset.y),this.newIndex=Vt):(Un||Vt<this.index&&zt.top+ct.top<=Tt.top+fn.height)&&(_t.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Vt))),ge(en,_t),wt[Dt].translate=_t}this.newIndex==null&&(this.newIndex=this.index),mn&&(this.newIndex=dt);var qn=mn?this.prevIndex:dt;Ae&&this.newIndex!==qn&&Ae({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:qn,isKeySorting:mn,nodes:wt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return y()(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Se=this.props.getContainer;return typeof Se!="function"?(0,re.findDOMNode)(this):Se(we.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return(0,He.createElement)(ve,(0,z.Z)({ref:Se},ne(this.props,Re)))}},{key:"helperContainer",get:function(){var Se=this.props.helperContainer;return typeof Se=="function"?Se():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Se=this.props.useWindowAsScrollContainer;return Se?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),et}(He.Component),(0,Te.Z)(We,"displayName",Ze("sortableList",ve)),(0,Te.Z)(We,"defaultProps",Jn),(0,Te.Z)(We,"propTypes",Kt),(0,Te.Z)(We,"childContextTypes",{manager:Ee().object.isRequired}),Ve}var ht={index:Ee().number.isRequired,collection:Ee().oneOfType([Ee().number,Ee().string]),disabled:Ee().bool},gt=Object.keys(ht);function Oe(ve){var We,Ve,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ve=We=function(pt){(0,nt.Z)(et,pt);function et(){return(0,Ie.Z)(this,et),(0,Ne.Z)(this,(0,ie.Z)(et).apply(this,arguments))}return(0,be.Z)(et,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Se){this.node&&(Se.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Se.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Se.collection!==this.props.collection&&(this.unregister(Se.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Se=this.props,st=Se.collection,xt=Se.disabled,Ae=Se.index,_e=(0,re.findDOMNode)(this);_e.sortableInfo={collection:st,disabled:xt,index:Ae,manager:this.context.manager},this.node=_e,this.ref={node:_e},this.context.manager.add(st,this.ref)}},{key:"unregister",value:function(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Se,this.ref)}},{key:"getWrappedInstance",value:function(){return y()(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return(0,He.createElement)(ve,(0,z.Z)({ref:Se},ne(this.props,gt)))}}]),et}(He.Component),(0,Te.Z)(We,"displayName",Ze("sortableElement",ve)),(0,Te.Z)(We,"contextTypes",{manager:Ee().object.isRequired}),(0,Te.Z)(We,"propTypes",ht),(0,Te.Z)(We,"defaultProps",{collection:0}),Ve}},25510:function(Et){"use strict";Et.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq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