!(function(){var Hu=Object.defineProperty,ju=Object.defineProperties;var Ku=Object.getOwnPropertyDescriptors;var iu=Object.getOwnPropertySymbols;var Au=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable;var yu=Math.pow,Fu=(bt,Pt,te)=>Pt in bt?Hu(bt,Pt,{enumerable:!0,configurable:!0,writable:!0,value:te}):bt[Pt]=te,Wr=(bt,Pt)=>{for(var te in Pt||(Pt={}))Au.call(Pt,te)&&Fu(bt,te,Pt[te]);if(iu)for(var te of iu(Pt))Du.call(Pt,te)&&Fu(bt,te,Pt[te]);return bt},ui=(bt,Pt)=>ju(bt,Ku(Pt));var lu=(bt,Pt)=>{var te={};for(var z in bt)Au.call(bt,z)&&Pt.indexOf(z)<0&&(te[z]=bt[z]);if(bt!=null&&iu)for(var z of iu(bt))Pt.indexOf(z)<0&&Du.call(bt,z)&&(te[z]=bt[z]);return te};var Bu=(bt,Pt,te)=>new Promise((z,se)=>{var ve=Ie=>{try{be(te.next(Ie))}catch(ie){se(ie)}},Ne=Ie=>{try{be(te.throw(Ie))}catch(ie){se(ie)}},be=Ie=>Ie.done?z(Ie.value):Promise.resolve(Ie.value).then(ve,Ne);be((te=te.apply(bt,Pt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3951],{27812:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},89489:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},59477:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},26227:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},67921:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},49198:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},41464:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},87169:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},52671:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},8657:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},56082:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},33853:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},12893:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},15075:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},32134:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},43531:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},38819:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(ke,ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:ze,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie},87954:function(bt,Pt,te){"use strict";te.d(Pt,{LB:function(){return Io},g4:function(){return ot},VK:function(){return ht},Cj:function(){return Er},O1:function(){return Pa},Zj:function(){return fo}});var z=te(59301),se=te(4676),ve=te(35241);const Ne={display:"none"};function be(Ce){let{id:Te,value:Xe}=Ce;return z.createElement("div",{id:Te,style:Ne},Xe)}function Ie(Ce){let{id:Te,announcement:Xe,ariaLiveType:Ct="assertive"}=Ce;const Jt={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:Te,style:Jt,role:"status","aria-live":Ct,"aria-atomic":!0},Xe)}function ie(){const[Ce,Te]=(0,z.useState)("");return{announce:(0,z.useCallback)(Ct=>{Ct!=null&&Te(Ct)},[]),announcement:Ce}}const qe=(0,z.createContext)(null);function He(Ce){const Te=(0,z.useContext)(qe);(0,z.useEffect)(()=>{if(!Te)throw new Error("useDndMonitor must be used within a children of ");return Te(Ce)},[Ce,Te])}function ke(){const[Ce]=(0,z.useState)(()=>new Set),Te=(0,z.useCallback)(Ct=>(Ce.add(Ct),()=>Ce.delete(Ct)),[Ce]);return[(0,z.useCallback)(Ct=>{let{type:Jt,event:en}=Ct;Ce.forEach(xn=>{var Dn;return(Dn=xn[Jt])==null?void 0:Dn.call(xn,en)})},[Ce]),Te]}const ze={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:Te}=Ce;return"Picked up draggable item "+Te.id+"."},onDragOver(Ce){let{active:Te,over:Xe}=Ce;return Xe?"Draggable item "+Te.id+" was moved over droppable area "+Xe.id+".":"Draggable item "+Te.id+" is no longer over a droppable area."},onDragEnd(Ce){let{active:Te,over:Xe}=Ce;return Xe?"Draggable item "+Te.id+" was dropped over droppable area "+Xe.id:"Draggable item "+Te.id+" was dropped."},onDragCancel(Ce){let{active:Te}=Ce;return"Dragging was cancelled. Draggable item "+Te.id+" was dropped."}};function ye(Ce){let{announcements:Te=Me,container:Xe,hiddenTextDescribedById:Ct,screenReaderInstructions:Jt=ze}=Ce;const{announce:en,announcement:xn}=ie(),Dn=(0,ve.Ld)("DndLiveRegion"),[Qn,ba]=(0,z.useState)(!1);if((0,z.useEffect)(()=>{ba(!0)},[]),He((0,z.useMemo)(()=>({onDragStart(fa){let{active:Or}=fa;en(Te.onDragStart({active:Or}))},onDragMove(fa){let{active:Or,over:Nr}=fa;Te.onDragMove&&en(Te.onDragMove({active:Or,over:Nr}))},onDragOver(fa){let{active:Or,over:Nr}=fa;en(Te.onDragOver({active:Or,over:Nr}))},onDragEnd(fa){let{active:Or,over:Nr}=fa;en(Te.onDragEnd({active:Or,over:Nr}))},onDragCancel(fa){let{active:Or,over:Nr}=fa;en(Te.onDragCancel({active:Or,over:Nr}))}}),[en,Te])),!Qn)return null;const Fa=z.createElement(z.Fragment,null,z.createElement(be,{id:Ct,value:Jt.draggable}),z.createElement(Ie,{id:Dn,announcement:xn}));return Xe?(0,se.createPortal)(Fa,Xe):Fa}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,Te){return useMemo(()=>({sensor:Ce,options:Te!=null?Te:{}}),[Ce,Te])}function b(){for(var Ce=arguments.length,Te=new Array(Ce),Xe=0;Xe[...Te].filter(Ct=>Ct!=null),[...Te])}const E=Object.freeze({x:0,y:0});function x(Ce,Te){return Math.sqrt(Math.pow(Ce.x-Te.x,2)+Math.pow(Ce.y-Te.y,2))}function ee(Ce,Te){const Xe=getEventCoordinates(Ce);if(!Xe)return"0 0";const Ct={x:(Xe.x-Te.left)/Te.width*100,y:(Xe.y-Te.top)/Te.height*100};return Ct.x+"% "+Ct.y+"%"}function ne(Ce,Te){let{data:{value:Xe}}=Ce,{data:{value:Ct}}=Te;return Xe-Ct}function oe(Ce,Te){let{data:{value:Xe}}=Ce,{data:{value:Ct}}=Te;return Ct-Xe}function ae(Ce){let{left:Te,top:Xe,height:Ct,width:Jt}=Ce;return[{x:Te,y:Xe},{x:Te+Jt,y:Xe},{x:Te,y:Xe+Ct},{x:Te+Jt,y:Xe+Ct}]}function ue(Ce,Te){if(!Ce||Ce.length===0)return null;const[Xe]=Ce;return Te?Xe[Te]:Xe}function me(Ce,Te,Xe){return Te===void 0&&(Te=Ce.left),Xe===void 0&&(Xe=Ce.top),{x:Te+Ce.width*.5,y:Xe+Ce.height*.5}}const fe=Ce=>{let{collisionRect:Te,droppableRects:Xe,droppableContainers:Ct}=Ce;const Jt=me(Te,Te.left,Te.top),en=[];for(const xn of Ct){const{id:Dn}=xn,Qn=Xe.get(Dn);if(Qn){const ba=x(me(Qn),Jt);en.push({id:Dn,data:{droppableContainer:xn,value:ba}})}}return en.sort(ne)},Pe=Ce=>{let{collisionRect:Te,droppableRects:Xe,droppableContainers:Ct}=Ce;const Jt=ae(Te),en=[];for(const xn of Ct){const{id:Dn}=xn,Qn=Xe.get(Dn);if(Qn){const ba=ae(Qn),Fa=Jt.reduce((Or,Nr,Mo)=>Or+x(ba[Mo],Nr),0),fa=Number((Fa/4).toFixed(4));en.push({id:Dn,data:{droppableContainer:xn,value:fa}})}}return en.sort(ne)};function xe(Ce,Te){const Xe=Math.max(Te.top,Ce.top),Ct=Math.max(Te.left,Ce.left),Jt=Math.min(Te.left+Te.width,Ce.left+Ce.width),en=Math.min(Te.top+Te.height,Ce.top+Ce.height),xn=Jt-Ct,Dn=en-Xe;if(Ct{let{collisionRect:Te,droppableRects:Xe,droppableContainers:Ct}=Ce;const Jt=[];for(const en of Ct){const{id:xn}=en,Dn=Xe.get(xn);if(Dn){const Qn=xe(Dn,Te);Qn>0&&Jt.push({id:xn,data:{droppableContainer:en,value:Qn}})}}return Jt.sort(oe)};function Ae(Ce,Te){const{top:Xe,left:Ct,bottom:Jt,right:en}=Te;return Xe<=Ce.y&&Ce.y<=Jt&&Ct<=Ce.x&&Ce.x<=en}const Ze=Ce=>{let{droppableContainers:Te,droppableRects:Xe,pointerCoordinates:Ct}=Ce;if(!Ct)return[];const Jt=[];for(const en of Te){const{id:xn}=en,Dn=Xe.get(xn);if(Dn&&Ae(Ct,Dn)){const ba=ae(Dn).reduce((fa,Or)=>fa+x(Ct,Or),0),Fa=Number((ba/4).toFixed(4));Jt.push({id:xn,data:{droppableContainer:en,value:Fa}})}}return Jt.sort(ne)};function ft(Ce,Te,Xe){return ui(Wr({},Ce),{scaleX:Te&&Xe?Te.width/Xe.width:1,scaleY:Te&&Xe?Te.height/Xe.height:1})}function De(Ce,Te){return Ce&&Te?{x:Ce.left-Te.left,y:Ce.top-Te.top}:E}function Ue(Ce){return function(Xe){for(var Ct=arguments.length,Jt=new Array(Ct>1?Ct-1:0),en=1;enui(Wr({},xn),{top:xn.top+Ce*Dn.y,bottom:xn.bottom+Ce*Dn.y,left:xn.left+Ce*Dn.x,right:xn.right+Ce*Dn.x}),Wr({},Xe))}}const je=Ue(1);function Ge(Ce){if(Ce.startsWith("matrix3d(")){const Te=Ce.slice(9,-1).split(/, /);return{x:+Te[12],y:+Te[13],scaleX:+Te[0],scaleY:+Te[5]}}else if(Ce.startsWith("matrix(")){const Te=Ce.slice(7,-1).split(/, /);return{x:+Te[4],y:+Te[5],scaleX:+Te[0],scaleY:+Te[3]}}return null}function nt(Ce,Te,Xe){const Ct=Ge(Te);if(!Ct)return Ce;const{scaleX:Jt,scaleY:en,x:xn,y:Dn}=Ct,Qn=Ce.left-xn-(1-Jt)*parseFloat(Xe),ba=Ce.top-Dn-(1-en)*parseFloat(Xe.slice(Xe.indexOf(" ")+1)),Fa=Jt?Ce.width/Jt:Ce.width,fa=en?Ce.height/en:Ce.height;return{width:Fa,height:fa,top:ba,right:Qn+Fa,bottom:ba+fa,left:Qn}}const et={ignoreTransform:!1};function ht(Ce,Te){Te===void 0&&(Te=et);let Xe=Ce.getBoundingClientRect();if(Te.ignoreTransform){const{transform:ba,transformOrigin:Fa}=(0,ve.Jj)(Ce).getComputedStyle(Ce);ba&&(Xe=nt(Xe,ba,Fa))}const{top:Ct,left:Jt,width:en,height:xn,bottom:Dn,right:Qn}=Xe;return{top:Ct,left:Jt,width:en,height:xn,bottom:Dn,right:Qn}}function Rt(Ce){return ht(Ce,{ignoreTransform:!0})}function Qt(Ce){const Te=Ce.innerWidth,Xe=Ce.innerHeight;return{top:0,left:0,right:Te,bottom:Xe,width:Te,height:Xe}}function Je(Ce,Te){return Te===void 0&&(Te=(0,ve.Jj)(Ce).getComputedStyle(Ce)),Te.position==="fixed"}function it(Ce,Te){Te===void 0&&(Te=(0,ve.Jj)(Ce).getComputedStyle(Ce));const Xe=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Jt=>{const en=Te[Jt];return typeof en=="string"?Xe.test(en):!1})}function Bt(Ce,Te){const Xe=[];function Ct(Jt){if(Te!=null&&Xe.length>=Te||!Jt)return Xe;if((0,ve.qk)(Jt)&&Jt.scrollingElement!=null&&!Xe.includes(Jt.scrollingElement))return Xe.push(Jt.scrollingElement),Xe;if(!(0,ve.Re)(Jt)||(0,ve.vZ)(Jt)||Xe.includes(Jt))return Xe;const en=(0,ve.Jj)(Ce).getComputedStyle(Jt);return Jt!==Ce&&it(Jt,en)&&Xe.push(Jt),Je(Jt,en)?Xe:Ct(Jt.parentNode)}return Ce?Ct(Ce):Xe}function Mt(Ce){const[Te]=Bt(Ce,1);return Te!=null?Te:null}function St(Ce){return!ve.Nq||!Ce?null:(0,ve.FJ)(Ce)?Ce:(0,ve.UG)(Ce)?(0,ve.qk)(Ce)||Ce===(0,ve.r3)(Ce).scrollingElement?window:(0,ve.Re)(Ce)?Ce:null:null}function cn(Ce){return(0,ve.FJ)(Ce)?Ce.scrollX:Ce.scrollLeft}function Fe(Ce){return(0,ve.FJ)(Ce)?Ce.scrollY:Ce.scrollTop}function $t(Ce){return{x:cn(Ce),y:Fe(Ce)}}var Yt;(function(Ce){Ce[Ce.Forward=1]="Forward",Ce[Ce.Backward=-1]="Backward"})(Yt||(Yt={}));function vt(Ce){return!ve.Nq||!Ce?!1:Ce===document.scrollingElement}function tn(Ce){const Te={x:0,y:0},Xe=vt(Ce)?{height:window.innerHeight,width:window.innerWidth}:{height:Ce.clientHeight,width:Ce.clientWidth},Ct={x:Ce.scrollWidth-Xe.width,y:Ce.scrollHeight-Xe.height},Jt=Ce.scrollTop<=Te.y,en=Ce.scrollLeft<=Te.x,xn=Ce.scrollTop>=Ct.y,Dn=Ce.scrollLeft>=Ct.x;return{isTop:Jt,isLeft:en,isBottom:xn,isRight:Dn,maxScroll:Ct,minScroll:Te}}const dt={x:.2,y:.2};function ct(Ce,Te,Xe,Ct,Jt){let{top:en,left:xn,right:Dn,bottom:Qn}=Xe;Ct===void 0&&(Ct=10),Jt===void 0&&(Jt=dt);const{isTop:ba,isBottom:Fa,isLeft:fa,isRight:Or}=tn(Ce),Nr={x:0,y:0},Mo={x:0,y:0},Ur={height:Te.height*Jt.y,width:Te.width*Jt.x};return!ba&&en<=Te.top+Ur.height?(Nr.y=Yt.Backward,Mo.y=Ct*Math.abs((Te.top+Ur.height-en)/Ur.height)):!Fa&&Qn>=Te.bottom-Ur.height&&(Nr.y=Yt.Forward,Mo.y=Ct*Math.abs((Te.bottom-Ur.height-Qn)/Ur.height)),!Or&&Dn>=Te.right-Ur.width?(Nr.x=Yt.Forward,Mo.x=Ct*Math.abs((Te.right-Ur.width-Dn)/Ur.width)):!fa&&xn<=Te.left+Ur.width&&(Nr.x=Yt.Backward,Mo.x=Ct*Math.abs((Te.left+Ur.width-xn)/Ur.width)),{direction:Nr,speed:Mo}}function rt(Ce){if(Ce===document.scrollingElement){const{innerWidth:en,innerHeight:xn}=window;return{top:0,left:0,right:en,bottom:xn,width:en,height:xn}}const{top:Te,left:Xe,right:Ct,bottom:Jt}=Ce.getBoundingClientRect();return{top:Te,left:Xe,right:Ct,bottom:Jt,width:Ce.clientWidth,height:Ce.clientHeight}}function Oe(Ce){return Ce.reduce((Te,Xe)=>(0,ve.IH)(Te,$t(Xe)),E)}function pt(Ce){return Ce.reduce((Te,Xe)=>Te+cn(Xe),0)}function ut(Ce){return Ce.reduce((Te,Xe)=>Te+Fe(Xe),0)}function Be(Ce,Te){if(Te===void 0&&(Te=ht),!Ce)return;const{top:Xe,left:Ct,bottom:Jt,right:en}=Te(Ce);Mt(Ce)&&(Jt<=0||en<=0||Xe>=window.innerHeight||Ct>=window.innerWidth)&&Ce.scrollIntoView({block:"center",inline:"center"})}const he=[["x",["left","right"],pt],["y",["top","bottom"],ut]];class Ke{constructor(Te,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=Bt(Xe),Jt=Oe(Ct);this.rect=Wr({},Te),this.width=Te.width,this.height=Te.height;for(const[en,xn,Dn]of he)for(const Qn of xn)Object.defineProperty(this,Qn,{get:()=>{const ba=Dn(Ct),Fa=Jt[en]-ba;return this.rect[Qn]+Fa},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ye{constructor(Te){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=Te}add(Te,Xe,Ct){var Jt;(Jt=this.target)==null||Jt.addEventListener(Te,Xe,Ct),this.listeners.push([Te,Xe,Ct])}}function we(Ce){const{EventTarget:Te}=(0,ve.Jj)(Ce);return Ce instanceof Te?Ce:(0,ve.r3)(Ce)}function gt(Ce,Te){const Xe=Math.abs(Ce.x),Ct=Math.abs(Ce.y);return typeof Te=="number"?Math.sqrt(yu(Xe,2)+yu(Ct,2))>Te:"x"in Te&&"y"in Te?Xe>Te.x&&Ct>Te.y:"x"in Te?Xe>Te.x:"y"in Te?Ct>Te.y:!1}var $e;(function(Ce){Ce.Click="click",Ce.DragStart="dragstart",Ce.Keydown="keydown",Ce.ContextMenu="contextmenu",Ce.Resize="resize",Ce.SelectionChange="selectionchange",Ce.VisibilityChange="visibilitychange"})($e||($e={}));function Kt(Ce){Ce.preventDefault()}function Se(Ce){Ce.stopPropagation()}var ot;(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"})(ot||(ot={}));const wt={start:[ot.Space,ot.Enter],cancel:[ot.Esc],end:[ot.Space,ot.Enter,ot.Tab]},Le=(Ce,Te)=>{let{currentCoordinates:Xe}=Te;switch(Ce.code){case ot.Right:return ui(Wr({},Xe),{x:Xe.x+25});case ot.Left:return ui(Wr({},Xe),{x:Xe.x-25});case ot.Down:return ui(Wr({},Xe),{y:Xe.y+25});case ot.Up:return ui(Wr({},Xe),{y:Xe.y-25})}};class We{constructor(Te){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=Te;const{event:{target:Xe}}=Te;this.props=Te,this.listeners=new Ye((0,ve.r3)(Xe)),this.windowListeners=new Ye((0,ve.Jj)(Xe)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add($e.Resize,this.handleCancel),this.windowListeners.add($e.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add($e.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:Te,onStart:Xe}=this.props,Ct=Te.node.current;Ct&&Be(Ct),Xe(E)}handleKeyDown(Te){if((0,ve.vd)(Te)){const{active:Xe,context:Ct,options:Jt}=this.props,{keyboardCodes:en=wt,coordinateGetter:xn=Le,scrollBehavior:Dn="smooth"}=Jt,{code:Qn}=Te;if(en.end.includes(Qn)){this.handleEnd(Te);return}if(en.cancel.includes(Qn)){this.handleCancel(Te);return}const{collisionRect:ba}=Ct.current,Fa=ba?{x:ba.left,y:ba.top}:E;this.referenceCoordinates||(this.referenceCoordinates=Fa);const fa=xn(Te,{active:Xe,context:Ct.current,currentCoordinates:Fa});if(fa){const Or=(0,ve.$X)(fa,Fa),Nr={x:0,y:0},{scrollableAncestors:Mo}=Ct.current;for(const Ur of Mo){const la=Te.code,{isTop:Vn,isRight:ra,isLeft:aa,isBottom:Ir,maxScroll:Zr,minScroll:vr}=tn(Ur),br=rt(Ur),kr={x:Math.min(la===ot.Right?br.right-br.width/2:br.right,Math.max(la===ot.Right?br.left:br.left+br.width/2,fa.x)),y:Math.min(la===ot.Down?br.bottom-br.height/2:br.bottom,Math.max(la===ot.Down?br.top:br.top+br.height/2,fa.y))},po=la===ot.Right&&!ra||la===ot.Left&&!aa,ni=la===ot.Down&&!Ir||la===ot.Up&&!Vn;if(po&&kr.x!==fa.x){const Po=Ur.scrollLeft+Or.x,Mr=la===ot.Right&&Po<=Zr.x||la===ot.Left&&Po>=vr.x;if(Mr&&!Or.y){Ur.scrollTo({left:Po,behavior:Dn});return}Mr?Nr.x=Ur.scrollLeft-Po:Nr.x=la===ot.Right?Ur.scrollLeft-Zr.x:Ur.scrollLeft-vr.x,Nr.x&&Ur.scrollBy({left:-Nr.x,behavior:Dn});break}else if(ni&&kr.y!==fa.y){const Po=Ur.scrollTop+Or.y,Mr=la===ot.Down&&Po<=Zr.y||la===ot.Up&&Po>=vr.y;if(Mr&&!Or.x){Ur.scrollTo({top:Po,behavior:Dn});return}Mr?Nr.y=Ur.scrollTop-Po:Nr.y=la===ot.Down?Ur.scrollTop-Zr.y:Ur.scrollTop-vr.y,Nr.y&&Ur.scrollBy({top:-Nr.y,behavior:Dn});break}}this.handleMove(Te,(0,ve.IH)((0,ve.$X)(fa,this.referenceCoordinates),Nr))}}}handleMove(Te,Xe){const{onMove:Ct}=this.props;Te.preventDefault(),Ct(Xe)}handleEnd(Te){const{onEnd:Xe}=this.props;Te.preventDefault(),this.detach(),Xe()}handleCancel(Te){const{onCancel:Xe}=this.props;Te.preventDefault(),this.detach(),Xe()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}We.activators=[{eventName:"onKeyDown",handler:(Ce,Te,Xe)=>{let{keyboardCodes:Ct=wt,onActivation:Jt}=Te,{active:en}=Xe;const{code:xn}=Ce.nativeEvent;if(Ct.start.includes(xn)){const Dn=en.activatorNode.current;return Dn&&Ce.target!==Dn?!1:(Ce.preventDefault(),Jt==null||Jt({event:Ce.nativeEvent}),!0)}return!1}}];function st(Ce){return!!(Ce&&"distance"in Ce)}function Ft(Ce){return!!(Ce&&"delay"in Ce)}class Wt{constructor(Te,Xe,Ct){var Jt;Ct===void 0&&(Ct=we(Te.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=Te,this.events=Xe;const{event:en}=Te,{target:xn}=en;this.props=Te,this.events=Xe,this.document=(0,ve.r3)(xn),this.documentListeners=new Ye(this.document),this.listeners=new Ye(Ct),this.windowListeners=new Ye((0,ve.Jj)(xn)),this.initialCoordinates=(Jt=(0,ve.DC)(en))!=null?Jt: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:Te,props:{options:{activationConstraint:Xe,bypassActivationConstraint:Ct}}}=this;if(this.listeners.add(Te.move.name,this.handleMove,{passive:!1}),this.listeners.add(Te.end.name,this.handleEnd),Te.cancel&&this.listeners.add(Te.cancel.name,this.handleCancel),this.windowListeners.add($e.Resize,this.handleCancel),this.windowListeners.add($e.DragStart,Kt),this.windowListeners.add($e.VisibilityChange,this.handleCancel),this.windowListeners.add($e.ContextMenu,Kt),this.documentListeners.add($e.Keydown,this.handleKeydown),Xe){if(Ct!=null&&Ct({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Ft(Xe)){this.timeoutId=setTimeout(this.handleStart,Xe.delay),this.handlePending(Xe);return}if(st(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(Te,Xe){const{active:Ct,onPending:Jt}=this.props;Jt(Ct,Te,this.initialCoordinates,Xe)}handleStart(){const{initialCoordinates:Te}=this,{onStart:Xe}=this.props;Te&&(this.activated=!0,this.documentListeners.add($e.Click,Se,{capture:!0}),this.removeTextSelection(),this.documentListeners.add($e.SelectionChange,this.removeTextSelection),Xe(Te))}handleMove(Te){var Xe;const{activated:Ct,initialCoordinates:Jt,props:en}=this,{onMove:xn,options:{activationConstraint:Dn}}=en;if(!Jt)return;const Qn=(Xe=(0,ve.DC)(Te))!=null?Xe:E,ba=(0,ve.$X)(Jt,Qn);if(!Ct&&Dn){if(st(Dn)){if(Dn.tolerance!=null&>(ba,Dn.tolerance))return this.handleCancel();if(gt(ba,Dn.distance))return this.handleStart()}if(Ft(Dn)&>(ba,Dn.tolerance))return this.handleCancel();this.handlePending(Dn,ba);return}Te.cancelable&&Te.preventDefault(),xn(Qn)}handleEnd(){const{onAbort:Te,onEnd:Xe}=this.props;this.detach(),this.activated||Te(this.props.active),Xe()}handleCancel(){const{onAbort:Te,onCancel:Xe}=this.props;this.detach(),this.activated||Te(this.props.active),Xe()}handleKeydown(Te){Te.code===ot.Esc&&this.handleCancel()}removeTextSelection(){var Te;(Te=this.document.getSelection())==null||Te.removeAllRanges()}}const mn={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class lt extends Wt{constructor(Te){const{event:Xe}=Te,Ct=(0,ve.r3)(Xe.target);super(Te,mn,Ct)}}lt.activators=[{eventName:"onPointerDown",handler:(Ce,Te)=>{let{nativeEvent:Xe}=Ce,{onActivation:Ct}=Te;return!Xe.isPrimary||Xe.button!==0?!1:(Ct==null||Ct({event:Xe}),!0)}}];const At={move:{name:"mousemove"},end:{name:"mouseup"}};var Et;(function(Ce){Ce[Ce.RightClick=2]="RightClick"})(Et||(Et={}));class nn extends Wt{constructor(Te){super(Te,At,(0,ve.r3)(Te.event.target))}}nn.activators=[{eventName:"onMouseDown",handler:(Ce,Te)=>{let{nativeEvent:Xe}=Ce,{onActivation:Ct}=Te;return Xe.button===Et.RightClick?!1:(Ct==null||Ct({event:Xe}),!0)}}];const Ut={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class sn extends Wt{constructor(Te){super(Te,Ut)}static setup(){return window.addEventListener(Ut.move.name,Te,{capture:!1,passive:!1}),function(){window.removeEventListener(Ut.move.name,Te)};function Te(){}}}sn.activators=[{eventName:"onTouchStart",handler:(Ce,Te)=>{let{nativeEvent:Xe}=Ce,{onActivation:Ct}=Te;const{touches:Jt}=Xe;return Jt.length>1?!1:(Ct==null||Ct({event:Xe}),!0)}}];var _n;(function(Ce){Ce[Ce.Pointer=0]="Pointer",Ce[Ce.DraggableRect=1]="DraggableRect"})(_n||(_n={}));var hn;(function(Ce){Ce[Ce.TreeOrder=0]="TreeOrder",Ce[Ce.ReversedTreeOrder=1]="ReversedTreeOrder"})(hn||(hn={}));function an(Ce){let{acceleration:Te,activator:Xe=_n.Pointer,canScroll:Ct,draggingRect:Jt,enabled:en,interval:xn=5,order:Dn=hn.TreeOrder,pointerCoordinates:Qn,scrollableAncestors:ba,scrollableAncestorRects:Fa,delta:fa,threshold:Or}=Ce;const Nr=Ht({delta:fa,disabled:!en}),[Mo,Ur]=(0,ve.Yz)(),la=(0,z.useRef)({x:0,y:0}),Vn=(0,z.useRef)({x:0,y:0}),ra=(0,z.useMemo)(()=>{switch(Xe){case _n.Pointer:return Qn?{top:Qn.y,bottom:Qn.y,left:Qn.x,right:Qn.x}:null;case _n.DraggableRect:return Jt}},[Xe,Jt,Qn]),aa=(0,z.useRef)(null),Ir=(0,z.useCallback)(()=>{const vr=aa.current;if(!vr)return;const br=la.current.x*Vn.current.x,kr=la.current.y*Vn.current.y;vr.scrollBy(br,kr)},[]),Zr=(0,z.useMemo)(()=>Dn===hn.TreeOrder?[...ba].reverse():ba,[Dn,ba]);(0,z.useEffect)(()=>{if(!en||!ba.length||!ra){Ur();return}for(const vr of Zr){if((Ct==null?void 0:Ct(vr))===!1)continue;const br=ba.indexOf(vr),kr=Fa[br];if(!kr)continue;const{direction:po,speed:ni}=ct(vr,kr,ra,Te,Or);for(const Po of["x","y"])Nr[Po][po[Po]]||(ni[Po]=0,po[Po]=0);if(ni.x>0||ni.y>0){Ur(),aa.current=vr,Mo(Ir,xn),la.current=ni,Vn.current=po;return}}la.current={x:0,y:0},Vn.current={x:0,y:0},Ur()},[Te,Ir,Ct,Ur,en,xn,JSON.stringify(ra),JSON.stringify(Nr),Mo,ba,Zr,Fa,JSON.stringify(Or)])}const Un={x:{[Yt.Backward]:!1,[Yt.Forward]:!1},y:{[Yt.Backward]:!1,[Yt.Forward]:!1}};function Ht(Ce){let{delta:Te,disabled:Xe}=Ce;const Ct=(0,ve.D9)(Te);return(0,ve.Gj)(Jt=>{if(Xe||!Ct||!Jt)return Un;const en={x:Math.sign(Te.x-Ct.x),y:Math.sign(Te.y-Ct.y)};return{x:{[Yt.Backward]:Jt.x[Yt.Backward]||en.x===-1,[Yt.Forward]:Jt.x[Yt.Forward]||en.x===1},y:{[Yt.Backward]:Jt.y[Yt.Backward]||en.y===-1,[Yt.Forward]:Jt.y[Yt.Forward]||en.y===1}}},[Xe,Te,Ct])}function Zt(Ce,Te){const Xe=Te!=null?Ce.get(Te):void 0,Ct=Xe?Xe.node.current:null;return(0,ve.Gj)(Jt=>{var en;return Te==null?null:(en=Ct!=null?Ct:Jt)!=null?en:null},[Ct,Te])}function qt(Ce,Te){return(0,z.useMemo)(()=>Ce.reduce((Xe,Ct)=>{const{sensor:Jt}=Ct,en=Jt.activators.map(xn=>({eventName:xn.eventName,handler:Te(xn.handler,Ct)}));return[...Xe,...en]},[]),[Ce,Te])}var wa;(function(Ce){Ce[Ce.Always=0]="Always",Ce[Ce.BeforeDragging=1]="BeforeDragging",Ce[Ce.WhileDragging=2]="WhileDragging"})(wa||(wa={}));var qn;(function(Ce){Ce.Optimized="optimized"})(qn||(qn={}));const Tn=new Map;function ja(Ce,Te){let{dragging:Xe,dependencies:Ct,config:Jt}=Te;const[en,xn]=(0,z.useState)(null),{frequency:Dn,measure:Qn,strategy:ba}=Jt,Fa=(0,z.useRef)(Ce),fa=la(),Or=(0,ve.Ey)(fa),Nr=(0,z.useCallback)(function(Vn){Vn===void 0&&(Vn=[]),!Or.current&&xn(ra=>ra===null?Vn:ra.concat(Vn.filter(aa=>!ra.includes(aa))))},[Or]),Mo=(0,z.useRef)(null),Ur=(0,ve.Gj)(Vn=>{if(fa&&!Xe)return Tn;if(!Vn||Vn===Tn||Fa.current!==Ce||en!=null){const ra=new Map;for(let aa of Ce){if(!aa)continue;if(en&&en.length>0&&!en.includes(aa.id)&&aa.rect.current){ra.set(aa.id,aa.rect.current);continue}const Ir=aa.node.current,Zr=Ir?new Ke(Qn(Ir),Ir):null;aa.rect.current=Zr,Zr&&ra.set(aa.id,Zr)}return ra}return Vn},[Ce,en,Xe,fa,Qn]);return(0,z.useEffect)(()=>{Fa.current=Ce},[Ce]),(0,z.useEffect)(()=>{fa||Nr()},[Xe,fa]),(0,z.useEffect)(()=>{en&&en.length>0&&xn(null)},[JSON.stringify(en)]),(0,z.useEffect)(()=>{fa||typeof Dn!="number"||Mo.current!==null||(Mo.current=setTimeout(()=>{Nr(),Mo.current=null},Dn))},[Dn,fa,Nr,...Ct]),{droppableRects:Ur,measureDroppableContainers:Nr,measuringScheduled:en!=null};function la(){switch(ba){case wa.Always:return!1;case wa.BeforeDragging:return Xe;default:return!Xe}}}function Ia(Ce,Te){return(0,ve.Gj)(Xe=>Ce?Xe||(typeof Te=="function"?Te(Ce):Ce):null,[Te,Ce])}function Dr(Ce,Te){return Ia(Ce,Te)}function yr(Ce){let{callback:Te,disabled:Xe}=Ce;const Ct=(0,ve.zX)(Te),Jt=(0,z.useMemo)(()=>{if(Xe||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:en}=window;return new en(Ct)},[Ct,Xe]);return(0,z.useEffect)(()=>()=>Jt==null?void 0:Jt.disconnect(),[Jt]),Jt}function Zn(Ce){let{callback:Te,disabled:Xe}=Ce;const Ct=(0,ve.zX)(Te),Jt=(0,z.useMemo)(()=>{if(Xe||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:en}=window;return new en(Ct)},[Xe]);return(0,z.useEffect)(()=>()=>Jt==null?void 0:Jt.disconnect(),[Jt]),Jt}function yt(Ce){return new Ke(ht(Ce),Ce)}function It(Ce,Te,Xe){Te===void 0&&(Te=yt);const[Ct,Jt]=(0,z.useState)(null);function en(){Jt(Qn=>{if(!Ce)return null;if(Ce.isConnected===!1){var ba;return(ba=Qn!=null?Qn:Xe)!=null?ba:null}const Fa=Te(Ce);return JSON.stringify(Qn)===JSON.stringify(Fa)?Qn:Fa})}const xn=yr({callback(Qn){if(Ce)for(const ba of Qn){const{type:Fa,target:fa}=ba;if(Fa==="childList"&&fa instanceof HTMLElement&&fa.contains(Ce)){en();break}}}}),Dn=Zn({callback:en});return(0,ve.LI)(()=>{en(),Ce?(Dn==null||Dn.observe(Ce),xn==null||xn.observe(document.body,{childList:!0,subtree:!0})):(Dn==null||Dn.disconnect(),xn==null||xn.disconnect())},[Ce]),Ct}function Lt(Ce){const Te=Ia(Ce);return De(Ce,Te)}const zn=[];function kt(Ce){const Te=(0,z.useRef)(Ce),Xe=(0,ve.Gj)(Ct=>Ce?Ct&&Ct!==zn&&Ce&&Te.current&&Ce.parentNode===Te.current.parentNode?Ct:Bt(Ce):zn,[Ce]);return(0,z.useEffect)(()=>{Te.current=Ce},[Ce]),Xe}function ma(Ce){const[Te,Xe]=(0,z.useState)(null),Ct=(0,z.useRef)(Ce),Jt=(0,z.useCallback)(en=>{const xn=St(en.target);xn&&Xe(Dn=>Dn?(Dn.set(xn,$t(xn)),new Map(Dn)):null)},[]);return(0,z.useEffect)(()=>{const en=Ct.current;if(Ce!==en){xn(en);const Dn=Ce.map(Qn=>{const ba=St(Qn);return ba?(ba.addEventListener("scroll",Jt,{passive:!0}),[ba,$t(ba)]):null}).filter(Qn=>Qn!=null);Xe(Dn.length?new Map(Dn):null),Ct.current=Ce}return()=>{xn(Ce),xn(en)};function xn(Dn){Dn.forEach(Qn=>{const ba=St(Qn);ba==null||ba.removeEventListener("scroll",Jt)})}},[Jt,Ce]),(0,z.useMemo)(()=>Ce.length?Te?Array.from(Te.values()).reduce((en,xn)=>(0,ve.IH)(en,xn),E):Oe(Ce):E,[Ce,Te])}function ao(Ce,Te){Te===void 0&&(Te=[]);const Xe=(0,z.useRef)(null);return(0,z.useEffect)(()=>{Xe.current=null},Te),(0,z.useEffect)(()=>{const Ct=Ce!==E;Ct&&!Xe.current&&(Xe.current=Ce),!Ct&&Xe.current&&(Xe.current=null)},[Ce]),Xe.current?(0,ve.$X)(Ce,Xe.current):E}function pr(Ce){(0,z.useEffect)(()=>{if(!ve.Nq)return;const Te=Ce.map(Xe=>{let{sensor:Ct}=Xe;return Ct.setup==null?void 0:Ct.setup()});return()=>{for(const Xe of Te)Xe==null||Xe()}},Ce.map(Te=>{let{sensor:Xe}=Te;return Xe}))}function _r(Ce,Te){return(0,z.useMemo)(()=>Ce.reduce((Xe,Ct)=>{let{eventName:Jt,handler:en}=Ct;return Xe[Jt]=xn=>{en(xn,Te)},Xe},{}),[Ce,Te])}function qr(Ce){return(0,z.useMemo)(()=>Ce?Qt(Ce):null,[Ce])}const _a=[];function Rn(Ce,Te){Te===void 0&&(Te=ht);const[Xe]=Ce,Ct=qr(Xe?(0,ve.Jj)(Xe):null),[Jt,en]=(0,z.useState)(_a);function xn(){en(()=>Ce.length?Ce.map(Qn=>vt(Qn)?Ct:new Ke(Te(Qn),Qn)):_a)}const Dn=Zn({callback:xn});return(0,ve.LI)(()=>{Dn==null||Dn.disconnect(),xn(),Ce.forEach(Qn=>Dn==null?void 0:Dn.observe(Qn))},[Ce]),Jt}function sr(Ce){if(!Ce)return null;if(Ce.children.length>1)return Ce;const Te=Ce.children[0];return(0,ve.Re)(Te)?Te:Ce}function Ua(Ce){let{measure:Te}=Ce;const[Xe,Ct]=(0,z.useState)(null),Jt=(0,z.useCallback)(ba=>{for(const{target:Fa}of ba)if((0,ve.Re)(Fa)){Ct(fa=>{const Or=Te(Fa);return fa?ui(Wr({},fa),{width:Or.width,height:Or.height}):Or});break}},[Te]),en=Zn({callback:Jt}),xn=(0,z.useCallback)(ba=>{const Fa=sr(ba);en==null||en.disconnect(),Fa&&(en==null||en.observe(Fa)),Ct(Fa?Te(Fa):null)},[Te,en]),[Dn,Qn]=(0,ve.wm)(xn);return(0,z.useMemo)(()=>({nodeRef:Dn,rect:Xe,setRef:Qn}),[Xe,Dn,Qn])}const hr=[{sensor:lt,options:{}},{sensor:We,options:{}}],tr={current:{}},mt={draggable:{measure:Rt},droppable:{measure:Rt,strategy:wa.WhileDragging,frequency:qn.Optimized},dragOverlay:{measure:ht}};class dn extends Map{get(Te){var Xe;return Te!=null&&(Xe=super.get(Te))!=null?Xe:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(Te=>{let{disabled:Xe}=Te;return!Xe})}getNodeFor(Te){var Xe,Ct;return(Xe=(Ct=this.get(Te))==null?void 0:Ct.node.current)!=null?Xe:void 0}}const rn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new dn,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:mt,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},Sn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},Nn=(0,z.createContext)(Sn),fn=(0,z.createContext)(rn);function On(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new dn}}}function An(Ce,Te){switch(Te.type){case re.DragStart:return ui(Wr({},Ce),{draggable:ui(Wr({},Ce.draggable),{initialCoordinates:Te.initialCoordinates,active:Te.active})});case re.DragMove:return Ce.draggable.active==null?Ce:ui(Wr({},Ce),{draggable:ui(Wr({},Ce.draggable),{translate:{x:Te.coordinates.x-Ce.draggable.initialCoordinates.x,y:Te.coordinates.y-Ce.draggable.initialCoordinates.y}})});case re.DragEnd:case re.DragCancel:return ui(Wr({},Ce),{draggable:ui(Wr({},Ce.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case re.RegisterDroppable:{const{element:Xe}=Te,{id:Ct}=Xe,Jt=new dn(Ce.droppable.containers);return Jt.set(Ct,Xe),ui(Wr({},Ce),{droppable:ui(Wr({},Ce.droppable),{containers:Jt})})}case re.SetDroppableDisabled:{const{id:Xe,key:Ct,disabled:Jt}=Te,en=Ce.droppable.containers.get(Xe);if(!en||Ct!==en.key)return Ce;const xn=new dn(Ce.droppable.containers);return xn.set(Xe,ui(Wr({},en),{disabled:Jt})),ui(Wr({},Ce),{droppable:ui(Wr({},Ce.droppable),{containers:xn})})}case re.UnregisterDroppable:{const{id:Xe,key:Ct}=Te,Jt=Ce.droppable.containers.get(Xe);if(!Jt||Ct!==Jt.key)return Ce;const en=new dn(Ce.droppable.containers);return en.delete(Xe),ui(Wr({},Ce),{droppable:ui(Wr({},Ce.droppable),{containers:en})})}default:return Ce}}function Va(Ce){let{disabled:Te}=Ce;const{active:Xe,activatorEvent:Ct,draggableNodes:Jt}=(0,z.useContext)(Nn),en=(0,ve.D9)(Ct),xn=(0,ve.D9)(Xe==null?void 0:Xe.id);return(0,z.useEffect)(()=>{if(!Te&&!Ct&&en&&xn!=null){if(!(0,ve.vd)(en)||document.activeElement===en.target)return;const Dn=Jt.get(xn);if(!Dn)return;const{activatorNode:Qn,node:ba}=Dn;if(!Qn.current&&!ba.current)return;requestAnimationFrame(()=>{for(const Fa of[Qn.current,ba.current]){if(!Fa)continue;const fa=(0,ve.so)(Fa);if(fa){fa.focus();break}}})}},[Ct,Te,Jt,xn,en]),null}function Ka(Ce,Te){let Jt=Te,{transform:Xe}=Jt,Ct=lu(Jt,["transform"]);return Ce!=null&&Ce.length?Ce.reduce((en,xn)=>xn(Wr({transform:en},Ct)),Xe):Xe}function gn(Ce){return(0,z.useMemo)(()=>({draggable:Wr(Wr({},mt.draggable),Ce==null?void 0:Ce.draggable),droppable:Wr(Wr({},mt.droppable),Ce==null?void 0:Ce.droppable),dragOverlay:Wr(Wr({},mt.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 uo(Ce){let{activeNode:Te,measure:Xe,initialRect:Ct,config:Jt=!0}=Ce;const en=(0,z.useRef)(!1),{x:xn,y:Dn}=typeof Jt=="boolean"?{x:Jt,y:Jt}:Jt;(0,ve.LI)(()=>{if(!xn&&!Dn||!Te){en.current=!1;return}if(en.current||!Ct)return;const ba=Te==null?void 0:Te.node.current;if(!ba||ba.isConnected===!1)return;const Fa=Xe(ba),fa=De(Fa,Ct);if(xn||(fa.x=0),Dn||(fa.y=0),en.current=!0,Math.abs(fa.x)>0||Math.abs(fa.y)>0){const Or=Mt(ba);Or&&Or.scrollBy({top:fa.y,left:fa.x})}},[Te,xn,Dn,Ct,Xe])}const oo=(0,z.createContext)(ui(Wr({},E),{scaleX:1,scaleY:1}));var eo;(function(Ce){Ce[Ce.Uninitialized=0]="Uninitialized",Ce[Ce.Initializing=1]="Initializing",Ce[Ce.Initialized=2]="Initialized"})(eo||(eo={}));const Io=(0,z.memo)(function(Te){var Xe,Ct,Jt,en;let qo=Te,{id:xn,accessibility:Dn,autoScroll:Qn=!0,children:ba,sensors:Fa=hr,collisionDetection:fa=Ee,measuring:Or,modifiers:Nr}=qo,Mo=lu(qo,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const Ur=(0,z.useReducer)(An,void 0,On),[la,Vn]=Ur,[ra,aa]=ke(),[Ir,Zr]=(0,z.useState)(eo.Uninitialized),vr=Ir===eo.Initialized,{draggable:{active:br,nodes:kr,translate:po},droppable:{containers:ni}}=la,Po=br!=null?kr.get(br):null,Mr=(0,z.useRef)({initial:null,translated:null}),ro=(0,z.useMemo)(()=>{var mr;return br!=null?{id:br,data:(mr=Po==null?void 0:Po.data)!=null?mr:tr,rect:Mr}:null},[br,Po]),bo=(0,z.useRef)(null),[ho,yo]=(0,z.useState)(null),[sa,Ho]=(0,z.useState)(null),Ai=(0,ve.Ey)(Mo,Object.values(Mo)),zi=(0,ve.Ld)("DndDescribedBy",xn),nl=(0,z.useMemo)(()=>ni.getEnabled(),[ni]),Ji=gn(Or),{droppableRects:Wi,measureDroppableContainers:Di,measuringScheduled:ul}=ja(nl,{dragging:vr,dependencies:[po.x,po.y],config:Ji.droppable}),Hi=Zt(kr,br),rl=(0,z.useMemo)(()=>sa?(0,ve.DC)(sa):null,[sa]),Vt=Rr(),jt=Dr(Hi,Ji.draggable.measure);uo({activeNode:br!=null?kr.get(br):null,config:Vt.layoutShiftCompensation,initialRect:jt,measure:Ji.draggable.measure});const zt=It(Hi,Ji.draggable.measure,jt),Aa=It(Hi?Hi.parentElement:null),Xa=(0,z.useRef)({activatorEvent:null,active:null,activeNode:Hi,collisionRect:null,collisions:null,droppableRects:Wi,draggableNodes:kr,draggingNode:null,draggingNodeRect:null,droppableContainers:ni,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),La=ni.getNodeFor((Xe=Xa.current.over)==null?void 0:Xe.id),Mn=Ua({measure:Ji.dragOverlay.measure}),Qa=(Ct=Mn.nodeRef.current)!=null?Ct:Hi,Pn=vr?(Jt=Mn.rect)!=null?Jt:zt:null,oa=!!(Mn.nodeRef.current&&Mn.rect),Tr=Lt(oa?null:zt),Lo=qr(Qa?(0,ve.Jj)(Qa):null),Ra=kt(vr?La!=null?La:Hi:null),_o=Rn(Ra),Si=Ka(Nr,{transform:{x:po.x-Tr.x,y:po.y-Tr.y,scaleX:1,scaleY:1},activatorEvent:sa,active:ro,activeNodeRect:zt,containerNodeRect:Aa,draggingNodeRect:Pn,over:Xa.current.over,overlayNodeRect:Mn.rect,scrollableAncestors:Ra,scrollableAncestorRects:_o,windowRect:Lo}),ur=rl?(0,ve.IH)(rl,po):null,Uo=ma(Ra),Br=ao(Uo),Jn=ao(Uo,[zt]),to=(0,ve.IH)(Si,Br),ii=Pn?je(Pn,Si):null,va=ro&&ii?fa({active:ro,collisionRect:ii,droppableRects:Wi,droppableContainers:nl,pointerCoordinates:ur}):null,ca=ue(va,"id"),[no,Li]=(0,z.useState)(null),kn=oa?Si:(0,ve.IH)(Si,Jn),ea=ft(kn,(en=no==null?void 0:no.rect)!=null?en:null,zt),Sa=(0,z.useRef)(null),pn=(0,z.useCallback)((mr,vo)=>{let{sensor:Ea,options:co}=vo;if(bo.current==null)return;const Oo=kr.get(bo.current);if(!Oo)return;const xo=mr.nativeEvent,yn=new Ea({active:bo.current,activeNode:Oo,event:xo,options:co,context:Xa,onAbort(Na){if(!kr.get(Na))return;const{onDragAbort:xa}=Ai.current,xr={id:Na};xa==null||xa(xr),ra({type:"onDragAbort",event:xr})},onPending(Na,jn,xa,xr){if(!kr.get(Na))return;const{onDragPending:Eo}=Ai.current,ei={id:Na,constraint:jn,initialCoordinates:xa,offset:xr};Eo==null||Eo(ei),ra({type:"onDragPending",event:ei})},onStart(Na){const jn=bo.current;if(jn==null)return;const xa=kr.get(jn);if(!xa)return;const{onDragStart:xr}=Ai.current,wr={activatorEvent:xo,active:{id:jn,data:xa.data,rect:Mr}};(0,se.unstable_batchedUpdates)(()=>{xr==null||xr(wr),Zr(eo.Initializing),Vn({type:re.DragStart,initialCoordinates:Na,active:jn}),ra({type:"onDragStart",event:wr}),yo(Sa.current),Ho(xo)})},onMove(Na){Vn({type:re.DragMove,coordinates:Na})},onEnd:na(re.DragEnd),onCancel:na(re.DragCancel)});Sa.current=yn;function na(Na){return function(){return Bu(this,null,function*(){const{active:xa,collisions:xr,over:wr,scrollAdjustedTranslate:Eo}=Xa.current;let ei=null;if(xa&&Eo){const{cancelDrop:Bi}=Ai.current;ei={activatorEvent:xo,active:xa,collisions:xr,delta:Eo,over:wr},Na===re.DragEnd&&typeof Bi=="function"&&(yield Promise.resolve(Bi(ei)))&&(Na=re.DragCancel)}bo.current=null,(0,se.unstable_batchedUpdates)(()=>{Vn({type:Na}),Zr(eo.Uninitialized),Li(null),yo(null),Ho(null),Sa.current=null;const Bi=Na===re.DragEnd?"onDragEnd":"onDragCancel";if(ei){const ji=Ai.current[Bi];ji==null||ji(ei),ra({type:Bi,event:ei})}})})}}},[kr]),ga=(0,z.useCallback)((mr,vo)=>(Ea,co)=>{const Oo=Ea.nativeEvent,xo=kr.get(co);if(bo.current!==null||!xo||Oo.dndKit||Oo.defaultPrevented)return;const yn={active:xo};mr(Ea,vo.options,yn)===!0&&(Oo.dndKit={capturedBy:vo.sensor},bo.current=co,pn(Ea,vo))},[kr,pn]),bn=qt(Fa,ga);pr(Fa),(0,ve.LI)(()=>{zt&&Ir===eo.Initializing&&Zr(eo.Initialized)},[zt,Ir]),(0,z.useEffect)(()=>{const{onDragMove:mr}=Ai.current,{active:vo,activatorEvent:Ea,collisions:co,over:Oo}=Xa.current;if(!vo||!Ea)return;const xo={active:vo,activatorEvent:Ea,collisions:co,delta:{x:to.x,y:to.y},over:Oo};(0,se.unstable_batchedUpdates)(()=>{mr==null||mr(xo),ra({type:"onDragMove",event:xo})})},[to.x,to.y]),(0,z.useEffect)(()=>{const{active:mr,activatorEvent:vo,collisions:Ea,droppableContainers:co,scrollAdjustedTranslate:Oo}=Xa.current;if(!mr||bo.current==null||!vo||!Oo)return;const{onDragOver:xo}=Ai.current,yn=co.get(ca),na=yn&&yn.rect.current?{id:yn.id,rect:yn.rect.current,data:yn.data,disabled:yn.disabled}:null,Na={active:mr,activatorEvent:vo,collisions:Ea,delta:{x:Oo.x,y:Oo.y},over:na};(0,se.unstable_batchedUpdates)(()=>{Li(na),xo==null||xo(Na),ra({type:"onDragOver",event:Na})})},[ca]),(0,ve.LI)(()=>{Xa.current={activatorEvent:sa,active:ro,activeNode:Hi,collisionRect:ii,collisions:va,droppableRects:Wi,draggableNodes:kr,draggingNode:Qa,draggingNodeRect:Pn,droppableContainers:ni,over:no,scrollableAncestors:Ra,scrollAdjustedTranslate:to},Mr.current={initial:Pn,translated:ii}},[ro,Hi,va,ii,kr,Qa,Pn,Wi,ni,no,Ra,to]),an(ui(Wr({},Vt),{delta:po,draggingRect:ii,pointerCoordinates:ur,scrollableAncestors:Ra,scrollableAncestorRects:_o}));const Vr=(0,z.useMemo)(()=>({active:ro,activeNode:Hi,activeNodeRect:zt,activatorEvent:sa,collisions:va,containerNodeRect:Aa,dragOverlay:Mn,draggableNodes:kr,droppableContainers:ni,droppableRects:Wi,over:no,measureDroppableContainers:Di,scrollableAncestors:Ra,scrollableAncestorRects:_o,measuringConfiguration:Ji,measuringScheduled:ul,windowRect:Lo}),[ro,Hi,zt,sa,va,Aa,Mn,kr,ni,Wi,no,Di,Ra,_o,Ji,ul,Lo]),gr=(0,z.useMemo)(()=>({activatorEvent:sa,activators:bn,active:ro,activeNodeRect:zt,ariaDescribedById:{draggable:zi},dispatch:Vn,draggableNodes:kr,over:no,measureDroppableContainers:Di}),[sa,bn,ro,zt,Vn,zi,kr,no,Di]);return z.createElement(qe.Provider,{value:aa},z.createElement(Nn.Provider,{value:gr},z.createElement(fn.Provider,{value:Vr},z.createElement(oo.Provider,{value:ea},ba)),z.createElement(Va,{disabled:(Dn==null?void 0:Dn.restoreFocus)===!1})),z.createElement(ye,ui(Wr({},Dn),{hiddenTextDescribedById:zi})));function Rr(){const mr=(ho==null?void 0:ho.autoScrollEnabled)===!1,vo=typeof Qn=="object"?Qn.enabled===!1:Qn===!1,Ea=vr&&!mr&&!vo;return typeof Qn=="object"?ui(Wr({},Qn),{enabled:Ea}):{enabled:Ea}}}),Xn=(0,z.createContext)(null),Ma="button",or="Draggable";function Pa(Ce){let{id:Te,data:Xe,disabled:Ct=!1,attributes:Jt}=Ce;const en=(0,ve.Ld)(or),{activators:xn,activatorEvent:Dn,active:Qn,activeNodeRect:ba,ariaDescribedById:Fa,draggableNodes:fa,over:Or}=(0,z.useContext)(Nn),{role:Nr=Ma,roleDescription:Mo="draggable",tabIndex:Ur=0}=Jt!=null?Jt:{},la=(Qn==null?void 0:Qn.id)===Te,Vn=(0,z.useContext)(la?oo:Xn),[ra,aa]=(0,ve.wm)(),[Ir,Zr]=(0,ve.wm)(),vr=_r(xn,Te),br=(0,ve.Ey)(Xe);(0,ve.LI)(()=>(fa.set(Te,{id:Te,key:en,node:ra,activatorNode:Ir,data:br}),()=>{const po=fa.get(Te);po&&po.key===en&&fa.delete(Te)}),[fa,Te]);const kr=(0,z.useMemo)(()=>({role:Nr,tabIndex:Ur,"aria-disabled":Ct,"aria-pressed":la&&Nr===Ma?!0:void 0,"aria-roledescription":Mo,"aria-describedby":Fa.draggable}),[Ct,Nr,Ur,la,Mo,Fa.draggable]);return{active:Qn,activatorEvent:Dn,activeNodeRect:ba,attributes:kr,isDragging:la,listeners:Ct?void 0:vr,node:ra,over:Or,setNodeRef:aa,setActivatorNodeRef:Zr,transform:Vn}}function Er(){return(0,z.useContext)(fn)}const Qr="Droppable",Cr={timeout:25};function fo(Ce){let{data:Te,disabled:Xe=!1,id:Ct,resizeObserverConfig:Jt}=Ce;const en=(0,ve.Ld)(Qr),{active:xn,dispatch:Dn,over:Qn,measureDroppableContainers:ba}=(0,z.useContext)(Nn),Fa=(0,z.useRef)({disabled:Xe}),fa=(0,z.useRef)(!1),Or=(0,z.useRef)(null),Nr=(0,z.useRef)(null),{disabled:Mo,updateMeasurementsFor:Ur,timeout:la}=Wr(Wr({},Cr),Jt),Vn=(0,ve.Ey)(Ur!=null?Ur:Ct),ra=(0,z.useCallback)(()=>{if(!fa.current){fa.current=!0;return}Nr.current!=null&&clearTimeout(Nr.current),Nr.current=setTimeout(()=>{ba(Array.isArray(Vn.current)?Vn.current:[Vn.current]),Nr.current=null},la)},[la]),aa=Zn({callback:ra,disabled:Mo||!xn}),Ir=(0,z.useCallback)((kr,po)=>{aa&&(po&&(aa.unobserve(po),fa.current=!1),kr&&aa.observe(kr))},[aa]),[Zr,vr]=(0,ve.wm)(Ir),br=(0,ve.Ey)(Te);return(0,z.useEffect)(()=>{!aa||!Zr.current||(aa.disconnect(),fa.current=!1,aa.observe(Zr.current))},[Zr,aa]),(0,z.useEffect)(()=>(Dn({type:re.RegisterDroppable,element:{id:Ct,key:en,disabled:Xe,node:Zr,rect:Or,data:br}}),()=>Dn({type:re.UnregisterDroppable,key:en,id:Ct})),[Ct]),(0,z.useEffect)(()=>{Xe!==Fa.current.disabled&&(Dn({type:re.SetDroppableDisabled,id:Ct,key:en,disabled:Xe}),Fa.current.disabled=Xe)},[Ct,en,Xe,Dn]),{active:xn,rect:Or,isOver:(Qn==null?void 0:Qn.id)===Ct,node:Zr,over:Qn,setNodeRef:vr}}function Ao(Ce){let{animation:Te,children:Xe}=Ce;const[Ct,Jt]=useState(null),[en,xn]=useState(null),Dn=usePrevious(Xe);return!Xe&&!Ct&&Dn&&Jt(Dn),useIsomorphicLayoutEffect(()=>{if(!en)return;const Qn=Ct==null?void 0:Ct.key,ba=Ct==null?void 0:Ct.props.id;if(Qn==null||ba==null){Jt(null);return}Promise.resolve(Te(ba,en)).then(()=>{Jt(null)})},[Te,Ct,en]),React.createElement(React.Fragment,null,Xe,Ct?cloneElement(Ct,{ref:xn}):null)}const Ei={x:0,y:0,scaleX:1,scaleY:1};function Fi(Ce){let{children:Te}=Ce;return React.createElement(Nn.Provider,{value:Sn},React.createElement(oo.Provider,{value:Ei},Te))}const Ci={position:"fixed",touchAction:"none"},Hn=Ce=>isKeyboardEvent(Ce)?"transform 250ms ease":void 0,nr=null,$o={duration:250,easing:"ease",keyframes:Ce=>{let{transform:{initial:Te,final:Xe}}=Ce;return[{transform:ve.ux.Transform.toString(Te)},{transform:ve.ux.Transform.toString(Xe)}]},sideEffects:(Ce=>Te=>{let{active:Xe,dragOverlay:Ct}=Te;const Jt={},{styles:en,className:xn}=Ce;if(en!=null&&en.active)for(const[Dn,Qn]of Object.entries(en.active))Qn!==void 0&&(Jt[Dn]=Xe.node.style.getPropertyValue(Dn),Xe.node.style.setProperty(Dn,Qn));if(en!=null&&en.dragOverlay)for(const[Dn,Qn]of Object.entries(en.dragOverlay))Qn!==void 0&&Ct.node.style.setProperty(Dn,Qn);return xn!=null&&xn.active&&Xe.node.classList.add(xn.active),xn!=null&&xn.dragOverlay&&Ct.node.classList.add(xn.dragOverlay),function(){for(const[Qn,ba]of Object.entries(Jt))Xe.node.style.setProperty(Qn,ba);xn!=null&&xn.active&&Xe.node.classList.remove(xn.active)}})({styles:{active:{opacity:"0"}}})};function No(Ce){let{config:Te,draggableNodes:Xe,droppableContainers:Ct,measuringConfiguration:Jt}=Ce;return useEvent((en,xn)=>{if(Te===null)return;const Dn=Xe.get(en);if(!Dn)return;const Qn=Dn.node.current;if(!Qn)return;const ba=sr(xn);if(!ba)return;const{transform:Fa}=getWindow(xn).getComputedStyle(xn),fa=Ge(Fa);if(!fa)return;const Or=typeof Te=="function"?Te:vi(Te);return Be(Qn,Jt.draggable.measure),Or({active:{id:en,data:Dn.data,node:Qn,rect:Jt.draggable.measure(Qn)},draggableNodes:Xe,dragOverlay:{node:xn,rect:Jt.dragOverlay.measure(ba)},droppableContainers:Ct,measuringConfiguration:Jt,transform:fa})})}function vi(Ce){const{duration:Te,easing:Xe,sideEffects:Ct,keyframes:Jt}=Wr(Wr({},$o),Ce);return en=>{let ra=en,{active:xn,dragOverlay:Dn,transform:Qn}=ra,ba=lu(ra,["active","dragOverlay","transform"]);if(!Te)return;const Fa={x:Dn.rect.left-xn.rect.left,y:Dn.rect.top-xn.rect.top},fa={scaleX:Qn.scaleX!==1?xn.rect.width*Qn.scaleX/Dn.rect.width:1,scaleY:Qn.scaleY!==1?xn.rect.height*Qn.scaleY/Dn.rect.height:1},Or=Wr({x:Qn.x-Fa.x,y:Qn.y-Fa.y},fa),Nr=Jt(ui(Wr({},ba),{active:xn,dragOverlay:Dn,transform:{initial:Qn,final:Or}})),[Mo]=Nr,Ur=Nr[Nr.length-1];if(JSON.stringify(Mo)===JSON.stringify(Ur))return;const la=Ct==null?void 0:Ct(Wr({active:xn,dragOverlay:Dn},ba)),Vn=Dn.node.animate(Nr,{duration:Te,easing:Xe,fill:"forwards"});return new Promise(aa=>{Vn.onfinish=()=>{la==null||la(),aa()}})}}let Zi=0;function Xi(Ce){return useMemo(()=>{if(Ce!=null)return Zi++,Zi},[Ce])}const Mi=null},18257:function(bt,Pt,te){"use strict";te.d(Pt,{DL:function(){return ie}});var z=te(35241);function se(ke){return ze=>{let{transform:Me}=ze;return ui(Wr({},Me),{x:Math.ceil(Me.x/ke)*ke,y:Math.ceil(Me.y/ke)*ke})}}const ve=ke=>{let{transform:ze}=ke;return ui(Wr({},ze),{y:0})};function Ne(ke,ze,Me){const ye=Wr({},ke);return ze.top+ke.y<=Me.top?ye.y=Me.top-ze.top:ze.bottom+ke.y>=Me.top+Me.height&&(ye.y=Me.top+Me.height-ze.bottom),ze.left+ke.x<=Me.left?ye.x=Me.left-ze.left:ze.right+ke.x>=Me.left+Me.width&&(ye.x=Me.left+Me.width-ze.right),ye}const be=ke=>{let{containerNodeRect:ze,draggingNodeRect:Me,transform:ye}=ke;return!Me||!ze?ye:Ne(ye,Me,ze)},Ie=ke=>{let{draggingNodeRect:ze,transform:Me,scrollableAncestorRects:ye}=ke;const re=ye[0];return!ze||!re?Me:Ne(Me,ze,re)},ie=ke=>{let{transform:ze}=ke;return ui(Wr({},ze),{x:0})},qe=ke=>{let{transform:ze,draggingNodeRect:Me,windowRect:ye}=ke;return!Me||!ye?ze:Ne(ze,Me,ye)},He=ke=>{let{activatorEvent:ze,draggingNodeRect:Me,transform:ye}=ke;if(Me&&ze){const re=getEventCoordinates(ze);if(!re)return ye;const a=re.x-Me.left,y=re.y-Me.top;return ui(Wr({},ye),{x:ye.x+a-Me.width/2,y:ye.y+y-Me.height/2})}return ye}},19719:function(bt,Pt,te){"use strict";te.d(Pt,{Fo:function(){return ee},Rp:function(){return Ne},nB:function(){return xe},qw:function(){return y}});var z=te(59301),se=te(87954),ve=te(35241);function Ne(je,Ge,nt){const et=je.slice();return et.splice(nt<0?et.length+nt:nt,0,et.splice(Ge,1)[0]),et}function be(je,Ge,nt){const et=je.slice();return et[Ge]=je[nt],et[nt]=je[Ge],et}function Ie(je,Ge){return je.reduce((nt,et,ht)=>{const Rt=Ge.get(et);return Rt&&(nt[ht]=Rt),nt},Array(je.length))}function ie(je){return je!==null&&je>=0}function qe(je,Ge){if(je===Ge)return!0;if(je.length!==Ge.length)return!1;for(let nt=0;nt{var Ge;let{rects:nt,activeNodeRect:et,activeIndex:ht,overIndex:Rt,index:Qt}=je;const Je=(Ge=nt[ht])!=null?Ge:et;if(!Je)return null;const it=Me(nt,Qt,ht);if(Qt===ht){const Bt=nt[Rt];return Bt?Wr({x:htht&&Qt<=Rt?Wr({x:-Je.width-it,y:0},ke):Qt=Rt?Wr({x:Je.width+it,y:0},ke):Wr({x:0,y:0},ke)};function Me(je,Ge,nt){const et=je[Ge],ht=je[Ge-1],Rt=je[Ge+1];return!et||!ht&&!Rt?0:nt{let{rects:Ge,activeIndex:nt,overIndex:et,index:ht}=je;const Rt=Ne(Ge,et,nt),Qt=Ge[ht],Je=Rt[ht];return!Je||!Qt?null:{x:Je.left-Qt.left,y:Je.top-Qt.top,scaleX:Je.width/Qt.width,scaleY:Je.height/Qt.height}},re=je=>{let{activeIndex:Ge,index:nt,rects:et,overIndex:ht}=je,Rt,Qt;return nt===Ge&&(Rt=et[nt],Qt=et[ht]),nt===ht&&(Rt=et[nt],Qt=et[Ge]),!Qt||!Rt?null:{x:Qt.left-Rt.left,y:Qt.top-Rt.top,scaleX:Qt.width/Rt.width,scaleY:Qt.height/Rt.height}},a={scaleX:1,scaleY:1},y=je=>{var Ge;let{activeIndex:nt,activeNodeRect:et,index:ht,rects:Rt,overIndex:Qt}=je;const Je=(Ge=Rt[nt])!=null?Ge:et;if(!Je)return null;if(ht===nt){const Bt=Rt[Qt];return Bt?Wr({x:0,y:ntnt&&ht<=Qt?Wr({x:0,y:-Je.height-it},a):ht=Qt?Wr({x:0,y:Je.height+it},a):Wr({x:0,y:0},a)};function b(je,Ge,nt){const et=je[Ge],ht=je[Ge-1],Rt=je[Ge+1];return et?ntet.map(pt=>typeof pt=="object"&&"id"in pt?pt.id:pt),[et]),$t=Qt!=null,Yt=Qt?Fe.indexOf(Qt.id):-1,vt=Bt?Fe.indexOf(Bt.id):-1,tn=(0,z.useRef)(Fe),dt=!qe(Fe,tn.current),ct=vt!==-1&&Yt===-1||dt,rt=He(Rt);(0,ve.LI)(()=>{dt&&$t&&Mt(Fe)},[dt,Fe,$t,Mt]),(0,z.useEffect)(()=>{tn.current=Fe},[Fe]);const Oe=(0,z.useMemo)(()=>({activeIndex:Yt,containerId:St,disabled:rt,disableTransforms:ct,items:Fe,overIndex:vt,useDragOverlay:cn,sortedRects:Ie(Fe,it),strategy:ht}),[Yt,St,rt.draggable,rt.droppable,ct,Fe,vt,it,cn,ht]);return z.createElement(x.Provider,{value:Oe},Ge)}const ne=je=>{let{id:Ge,items:nt,activeIndex:et,overIndex:ht}=je;return Ne(nt,et,ht).indexOf(Ge)},oe=je=>{let{containerId:Ge,isSorting:nt,wasDragging:et,index:ht,items:Rt,newIndex:Qt,previousItems:Je,previousContainerId:it,transition:Bt}=je;return!Bt||!et||Je!==Rt&&ht===Qt?!1:nt?!0:Qt!==ht&&Ge===it},ae={duration:200,easing:"ease"},ue="transform",me=ve.ux.Transition.toString({property:ue,duration:0,easing:"linear"}),fe={roleDescription:"sortable"};function Pe(je){let{disabled:Ge,index:nt,node:et,rect:ht}=je;const[Rt,Qt]=(0,z.useState)(null),Je=(0,z.useRef)(nt);return(0,ve.LI)(()=>{if(!Ge&&nt!==Je.current&&et.current){const it=ht.current;if(it){const Bt=(0,se.VK)(et.current,{ignoreTransform:!0}),Mt={x:it.left-Bt.left,y:it.top-Bt.top,scaleX:it.width/Bt.width,scaleY:it.height/Bt.height};(Mt.x||Mt.y)&&Qt(Mt)}}nt!==Je.current&&(Je.current=nt)},[Ge,nt,et,ht]),(0,z.useEffect)(()=>{Rt&&Qt(null)},[Rt]),Rt}function xe(je){let{animateLayoutChanges:Ge=oe,attributes:nt,disabled:et,data:ht,getNewIndex:Rt=ne,id:Qt,strategy:Je,resizeObserverConfig:it,transition:Bt=ae}=je;const{items:Mt,containerId:St,activeIndex:cn,disabled:Fe,disableTransforms:$t,sortedRects:Yt,overIndex:vt,useDragOverlay:tn,strategy:dt}=(0,z.useContext)(x),ct=Ee(et,Fe),rt=Mt.indexOf(Qt),Oe=(0,z.useMemo)(()=>Wr({sortable:{containerId:St,index:rt,items:Mt}},ht),[St,ht,rt,Mt]),pt=(0,z.useMemo)(()=>Mt.slice(Mt.indexOf(Qt)),[Mt,Qt]),{rect:ut,node:Be,isOver:he,setNodeRef:Ke}=(0,se.Zj)({id:Qt,data:Oe,disabled:ct.droppable,resizeObserverConfig:Wr({updateMeasurementsFor:pt},it)}),{active:Ye,activatorEvent:we,activeNodeRect:gt,attributes:$e,setNodeRef:Kt,listeners:Se,isDragging:ot,over:wt,setActivatorNodeRef:Le,transform:We}=(0,se.O1)({id:Qt,data:Oe,attributes:Wr(Wr({},fe),nt),disabled:ct.draggable}),st=(0,ve.HB)(Ke,Kt),Ft=!!Ye,Wt=Ft&&!$t&&ie(cn)&&ie(vt),mn=!tn&&ot,lt=mn&&Wt?We:null,At=Je!=null?Je:dt,Et=Wt?lt!=null?lt:At({rects:Yt,activeNodeRect:gt,activeIndex:cn,overIndex:vt,index:rt}):null,nn=ie(cn)&&ie(vt)?Rt({id:Qt,items:Mt,activeIndex:cn,overIndex:vt}):rt,Ut=Ye==null?void 0:Ye.id,sn=(0,z.useRef)({activeId:Ut,items:Mt,newIndex:nn,containerId:St}),_n=Mt!==sn.current.items,hn=Ge({active:Ye,containerId:St,isDragging:ot,isSorting:Ft,id:Qt,index:rt,items:Mt,newIndex:sn.current.newIndex,previousItems:sn.current.items,previousContainerId:sn.current.containerId,transition:Bt,wasDragging:sn.current.activeId!=null}),an=Pe({disabled:!hn,index:rt,node:Be,rect:ut});return(0,z.useEffect)(()=>{Ft&&sn.current.newIndex!==nn&&(sn.current.newIndex=nn),St!==sn.current.containerId&&(sn.current.containerId=St),Mt!==sn.current.items&&(sn.current.items=Mt)},[Ft,nn,St,Mt]),(0,z.useEffect)(()=>{if(Ut===sn.current.activeId)return;if(Ut&&!sn.current.activeId){sn.current.activeId=Ut;return}const Ht=setTimeout(()=>{sn.current.activeId=Ut},50);return()=>clearTimeout(Ht)},[Ut]),{active:Ye,activeIndex:cn,attributes:$e,data:Oe,rect:ut,index:rt,newIndex:nn,items:Mt,isOver:he,isSorting:Ft,isDragging:ot,listeners:Se,node:Be,overIndex:vt,over:wt,setNodeRef:st,setActivatorNodeRef:Le,setDroppableNodeRef:Ke,setDraggableNodeRef:Kt,transform:an!=null?an:Et,transition:Un()};function Un(){if(an||_n&&sn.current.newIndex===rt)return me;if(!(mn&&!(0,ve.vd)(we)||!Bt)&&(Ft||hn))return ve.ux.Transition.toString(ui(Wr({},Bt),{property:ue}))}}function Ee(je,Ge){var nt,et;return typeof je=="boolean"?{draggable:je,droppable:!1}:{draggable:(nt=je==null?void 0:je.draggable)!=null?nt:Ge.draggable,droppable:(et=je==null?void 0:je.droppable)!=null?et:Ge.droppable}}function Ae(je){if(!je)return!1;const Ge=je.data.current;return!!(Ge&&"sortable"in Ge&&typeof Ge.sortable=="object"&&"containerId"in Ge.sortable&&"items"in Ge.sortable&&"index"in Ge.sortable)}const Ze=[se.g4.Down,se.g4.Right,se.g4.Up,se.g4.Left],ft=(je,Ge)=>{let{context:{active:nt,collisionRect:et,droppableRects:ht,droppableContainers:Rt,over:Qt,scrollableAncestors:Je}}=Ge;if(Ze.includes(je.code)){if(je.preventDefault(),!nt||!et)return;const it=[];Rt.getEnabled().forEach(St=>{if(!St||St!=null&&St.disabled)return;const cn=ht.get(St.id);if(cn)switch(je.code){case KeyboardCode.Down:et.topcn.top&&it.push(St);break;case KeyboardCode.Left:et.left>cn.left&&it.push(St);break;case KeyboardCode.Right:et.left1&&(Mt=Bt[1].id),Mt!=null){const St=Rt.get(nt.id),cn=Rt.get(Mt),Fe=cn?ht.get(cn.id):null,$t=cn==null?void 0:cn.node.current;if($t&&Fe&&St&&cn){const vt=getScrollableAncestors($t).some((pt,ut)=>Je[ut]!==pt),tn=De(St,cn),dt=Ue(St,cn),ct=vt||!tn?{x:0,y:0}:{x:dt?et.width-Fe.width:0,y:dt?et.height-Fe.height:0},rt={x:Fe.left,y:Fe.top};return ct.x&&ct.y?rt:subtract(rt,ct)}}}};function De(je,Ge){return!Ae(je)||!Ae(Ge)?!1:je.data.current.sortable.containerId===Ge.data.current.sortable.containerId}function Ue(je,Ge){return!Ae(je)||!Ae(Ge)||!De(je,Ge)?!1:je.data.current.sortable.indexDe=>{Ze.forEach(Ue=>Ue(De))},Ze)}const ve=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Ne(Ae){const Ze=Object.prototype.toString.call(Ae);return Ze==="[object Window]"||Ze==="[object global]"}function be(Ae){return"nodeType"in Ae}function Ie(Ae){var Ze,ft;return Ae?Ne(Ae)?Ae:be(Ae)&&(Ze=(ft=Ae.ownerDocument)==null?void 0:ft.defaultView)!=null?Ze:window:window}function ie(Ae){const{Document:Ze}=Ie(Ae);return Ae instanceof Ze}function qe(Ae){return Ne(Ae)?!1:Ae instanceof Ie(Ae).HTMLElement}function He(Ae){return Ae instanceof Ie(Ae).SVGElement}function ke(Ae){return Ae?Ne(Ae)?Ae.document:be(Ae)?ie(Ae)?Ae:qe(Ae)||He(Ae)?Ae.ownerDocument:document:document:document}const ze=ve?z.useLayoutEffect:z.useEffect;function Me(Ae){const Ze=(0,z.useRef)(Ae);return ze(()=>{Ze.current=Ae}),(0,z.useCallback)(function(){for(var ft=arguments.length,De=new Array(ft),Ue=0;Ue{Ae.current=setInterval(De,Ue)},[]),ft=(0,z.useCallback)(()=>{Ae.current!==null&&(clearInterval(Ae.current),Ae.current=null)},[]);return[Ze,ft]}function re(Ae,Ze){Ze===void 0&&(Ze=[Ae]);const ft=(0,z.useRef)(Ae);return ze(()=>{ft.current!==Ae&&(ft.current=Ae)},Ze),ft}function a(Ae,Ze){const ft=(0,z.useRef)();return(0,z.useMemo)(()=>{const De=Ae(ft.current);return ft.current=De,De},[...Ze])}function y(Ae){const Ze=Me(Ae),ft=(0,z.useRef)(null),De=(0,z.useCallback)(Ue=>{Ue!==ft.current&&(Ze==null||Ze(Ue,ft.current)),ft.current=Ue},[]);return[ft,De]}function b(Ae){const Ze=(0,z.useRef)();return(0,z.useEffect)(()=>{Ze.current=Ae},[Ae]),Ze.current}let E={};function x(Ae,Ze){return(0,z.useMemo)(()=>{if(Ze)return Ze;const ft=E[Ae]==null?0:E[Ae]+1;return E[Ae]=ft,Ae+"-"+ft},[Ae,Ze])}function ee(Ae){return function(Ze){for(var ft=arguments.length,De=new Array(ft>1?ft-1:0),Ue=1;Ue{const nt=Object.entries(Ge);for(const[et,ht]of nt){const Rt=je[et];Rt!=null&&(je[et]=Rt+Ae*ht)}return je},Wr({},Ze))}}const ne=ee(1),oe=ee(-1);function ae(Ae){return"clientX"in Ae&&"clientY"in Ae}function ue(Ae){if(!Ae)return!1;const{KeyboardEvent:Ze}=Ie(Ae.target);return Ze&&Ae instanceof Ze}function me(Ae){if(!Ae)return!1;const{TouchEvent:Ze}=Ie(Ae.target);return Ze&&Ae instanceof Ze}function fe(Ae){if(me(Ae)){if(Ae.touches&&Ae.touches.length){const{clientX:Ze,clientY:ft}=Ae.touches[0];return{x:Ze,y:ft}}else if(Ae.changedTouches&&Ae.changedTouches.length){const{clientX:Ze,clientY:ft}=Ae.changedTouches[0];return{x:Ze,y:ft}}}return ae(Ae)?{x:Ae.clientX,y:Ae.clientY}:null}const Pe=Object.freeze({Translate:{toString(Ae){if(!Ae)return;const{x:Ze,y:ft}=Ae;return"translate3d("+(Ze?Math.round(Ze):0)+"px, "+(ft?Math.round(ft):0)+"px, 0)"}},Scale:{toString(Ae){if(!Ae)return;const{scaleX:Ze,scaleY:ft}=Ae;return"scaleX("+Ze+") scaleY("+ft+")"}},Transform:{toString(Ae){if(Ae)return[Pe.Translate.toString(Ae),Pe.Scale.toString(Ae)].join(" ")}},Transition:{toString(Ae){let{property:Ze,duration:ft,easing:De}=Ae;return Ze+" "+ft+"ms "+De}}}),xe="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Ee(Ae){return Ae.matches(xe)?Ae:Ae.querySelector(xe)}},88010:function(bt,Pt){"use strict";Pt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},14982:function(bt,Pt){"use strict";Pt.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"}},37178:function(bt,Pt){"use strict";Pt.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"}},24990:function(bt,Pt){"use strict";Pt.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"}},1370:function(bt,Pt){"use strict";Pt.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"}},64912:function(bt,Pt,te){"use strict";var z=te(59301),se=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ie=(He,ke,ze)=>ke in He?se(He,ke,{enumerable:!0,configurable:!0,writable:!0,value:ze}):He[ke]=ze,ie=(He,ke)=>{for(var ze in ke||(ke={}))Ne.call(ke,ze)&&Ie(He,ze,ke[ze]);if(ve)for(var ze of ve(ke))be.call(ke,ze)&&Ie(He,ze,ke[ze]);return He};const qe=He=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},He),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"}));Pt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},4301:function(bt,Pt,te){"use strict";var z=te(59301),se=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ie=(He,ke,ze)=>ke in He?se(He,ke,{enumerable:!0,configurable:!0,writable:!0,value:ze}):He[ke]=ze,ie=(He,ke)=>{for(var ze in ke||(ke={}))Ne.call(ke,ze)&&Ie(He,ze,ke[ze]);if(ve)for(var ze of ve(ke))be.call(ke,ze)&&Ie(He,ze,ke[ze]);return He};const qe=He=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},He),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"}));Pt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0I5QzRDRiIgZD0iTTcgNGMzLjg5OSA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4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},99796:function(bt,Pt,te){"use strict";var z=te(59301),se=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ie=(He,ke,ze)=>ke in He?se(He,ke,{enumerable:!0,configurable:!0,writable:!0,value:ze}):He[ke]=ze,ie=(He,ke)=>{for(var ze in ke||(ke={}))Ne.call(ke,ze)&&Ie(He,ze,ke[ze]);if(ve)for(var ze of ve(ke))be.call(ke,ze)&&Ie(He,ze,ke[ze]);return He};const qe=He=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},He),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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guNjc3IDAgMS4yMjQtLjExMiAxLjY0LS4zMzUuNDE2LS4yMjMuNzM1LS41NDIuOTU2LS45NTUuMjIxLS40MTQuMzMyLS44NDUuMzMyLTEuMjk2IDAtLjM1OS0uMDY3LS42NjctLjItLjkyNmExLjYzMyAxLjYzMyAwIDAgMC0uNTYzLS42MjVjLS4xNDktLjA5OS0uMzYzLS4xODUtLjY0NC0uMjU5LjM0Ny0uMjA0LjYwNi0uNDQxLjc3OC0uNzEyYTEuNjYgMS42NiAwIDAgMCAuMjU3LS45MDggMS44MiAxLjgyIDAgMCAwLS42MzQtMS40MkM4LjU3MSA3LjE4OSA3Ljg4NiA3IDYuOTM4IDdaTTQuODEzIDBjLjE3NSAwIC4zNS4xNy40MzcuMzM4bDEuMzEzIDIuNDUzcy0yLjguMTctNC40NjMgMS43NzZMLjA4OC43NjFDMCAuNjc3IDAgLjU5MiAwIC41MDcgMCAuMTcuMjYzIDAgLjUyNSAwWm04LjY2MiAwYy4yNjMgMCAuNTI1LjI1NC41MjUuNTA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},74413:function(){"use strict";function bt(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(bt.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(bt.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(bt.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(bt.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 bt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.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 Pt=[];function te(re,a){var y=Pt.pop();return y===void 0?new go.Point(re,a):(y.x=re,y.y=a,y)}function z(){var re=Pt.pop();return re===void 0?new go.Point:re}function se(re){Pt.push(re)}function ve(re,a,y,b,E,x,ee,ne,oe){oe||(oe=new go.Point);var ae=re-y,ue=E-ee,me=NaN,fe=NaN;if(ae===0)if(ue===0)re===y&&(me=re,fe=a);else{var Pe=(x-ne)/ue,xe=x-Pe*E;me=re,fe=Pe*me+xe}else if(ue===0){var Ee=(a-b)/ae,Ae=a-Ee*re;me=E,fe=Ee*me+Ae}else{var Ee=(a-b)/ae,Pe=(x-ne)/ue,Ae=a-Ee*re,xe=x-Pe*E;me=(xe-Ae)/(Ee-Pe),fe=Ee*me+Ae}return oe.x=me,oe.y=fe,oe}function Ne(re,a,y,b,E,x,ee,ne,oe,ae,ue,me,fe,Pe){var xe=1-oe,Ee=oe,Ae=re*xe+y*Ee,Ze=a*xe+b*Ee,ft=y*xe+E*Ee,De=b*xe+x*Ee,Ue=E*xe+ee*Ee,je=x*xe+ne*Ee,Ge=Ae*xe+ft*Ee,nt=Ze*xe+De*Ee,et=ft*xe+Ue*Ee,ht=De*xe+je*Ee,Rt=Ge*xe+et*Ee,Qt=nt*xe+ht*Ee;ae.x=Ae,ae.y=Ze,ue.x=Ge,ue.y=nt,me.x=Rt,me.y=Qt,fe.x=et,fe.y=ht,Pe.x=Ue,Pe.y=je}var be=new go.Spot(.156,.156),Ie=new go.Spot(.844,.844),ie=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new bt("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=Ie,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 bt("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())),Ea&&(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.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())),Ea&&(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())),Ea&&(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())),E0&&(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=Ie,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 bt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new bt("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 bt("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 bt("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 bt("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 bt("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 bt("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 bt("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(),me=z(),fe=z();Ne(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.42,ae,ue,me,fe,fe);var Pe=z(),xe=z(),Ee=z();Ne(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.58,fe,fe,Ee,Pe,xe);var Ae=z(),Ze=z(),ft=z();Ne(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.42,Ae,Ze,ft,fe,fe);var De=z(),Ue=z(),je=z();return Ne(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.58,fe,fe,je,De,Ue),oe.add(new go.PathSegment(go.PathSegment.Move,je.x*a,je.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,me.x*a,me.y*y,ae.x*a,ae.y*y,ue.x*a,ue.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,je.x*a,je.y*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,ft.x*a,ft.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.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,ft.x*a,ft.y*y,Ae.x*a,Ae.y*y,Ze.x*a,Ze.y*y).close()),se(ae),se(ue),se(me),se(fe),se(Pe),se(xe),se(Ee),se(Ae),se(Ze),se(ft),se(De),se(Ue),se(je),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 bt("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(),me=z(),fe=new go.PathFigure((ee-x)*a,ne*y,!1);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),Ne(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.44,ue,me,ae,oe,oe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,me.x*a,me.y*y));var Pe=te(ae.x,ae.y);Ne(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.56,oe,oe,ae,ue,me);var xe=te(ae.x,ae.y);fe.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.95*.9)*a,Pe.y*.1*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,Pe.y*.1*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,(xe.y*.1+.05*.9)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),fe.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 Ee=new go.PathFigure(ee*a,(ne-x)*y,!1);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),Ee.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 Ae=new go.PathFigure((ee-x)*a,ne*y,!1);return b.add(Ae),se(oe),se(ae),se(ue),se(me),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 bt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new bt("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=ve(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 bt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new bt("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=ve(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 bt("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=ve(0,.5,.3,0,0,E/y,.1,E/y,z());return ee.spot1=new go.Spot(oe.x,oe.y),oe=ve(.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 bt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new bt("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 me=ve(0,.5,.3,ne/y,0,x/y,1,x/y,z());return ae.spot1=new go.Spot(me.x,me.y),me=ve(.7,oe/y,1,.5,0,ee/y,1,ee/y,me),ae.spot2=new go.Spot(me.x,me.y),se(me),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new bt("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=ve(.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 bt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new bt("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 me=ve(.7,oe/y,1,.5,0,ee/y,1,ee/y,z());return ae.spot2=new go.Spot(me.x,me.y),se(me),ae}),go.Shape.setFigureParameter("Pointer",0,new bt("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=ve(.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 bt("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=ve(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 bt("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=ve(.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 bt("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=ve(.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 bt("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 me=.05,fe=ie*me;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+me)*a,ae*y,(oe+fe)*a,(ae-me)*y,(oe+me)*a,(ae-fe)*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)),me=.025,fe=ie*me,oe=.825,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*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)),me=.05,fe=ie*me,oe=.5,ae=.7,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*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)),me=.025,fe=ie*me,oe=.175,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*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)),me=.05,fe=ie*me,oe=.05,ae=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y,(oe-fe)*a,(ae-me)*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 bt("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 me=new go.PathFigure((oe+ne)*a,ae*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a,ae*y,(oe-ee)*a,(ae+ne)*y,(oe-ne)*a,(ae+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y)),me.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,me=(x-y)/2,fe=new go.PathFigure(oe*a+ue,(ae+ne)*y+me,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae-ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+me,oe*a+ue,(ae+ne)*y+me).close()),ee=ie*.4,ne=.4,oe=.2,ae=.5;var Pe=new go.PathFigure(oe*a+ue,(ae+ne)*y+me,!0);b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae-ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+me,oe*a+ue,(ae+ne)*y+me).close()),ee=ie*.2,ne=.2,oe=.5,ae=.5;var xe=new go.PathFigure((oe-ne)*a+ue,ae*y+me,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),ee=ie*.4,ne=.4,oe=.8,ae=.5;var Ee=new go.PathFigure(oe*a+ue,(ae-ne)*y+me,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae+ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+me,oe*a+ue,(ae-ne)*y+me).close()),ee=ie*.8,ne=.8,oe=1,ae=.5;var Ae=new go.PathFigure(oe*a+ue,(ae-ne)*y+me,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae+ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+me,oe*a+ue,(ae-ne)*y+me).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(),me=z();Ne(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,me);var fe=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,me.x*a,me.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)),Ne(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,me,ae,oe,oe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),E=ie*.3,x=.3,Ne(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,me,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,me.x*a,me.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)),Ne(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,me),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,me.x*a,me.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(me),se(fe),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,me=.5,fe=.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,me*y,ue*a,.7*y,ue*a,me*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+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)),me=ue*.5,fe=ee,Pe=ee,xe=ue*fe,Ee=ue*Pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-fe)*a,oe*y,(ne-(xe+fe)/2)*a,(oe+(Pe+Ee)/2)*y,(ne-fe)*a,(oe+Ee)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-Pe)*y,(ne-fe)*a,(oe-Ee)*y,(ne-xe)*a,(oe-Pe)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+fe)*a,oe*y,(ne+xe)*a,(oe-Pe)*y,(ne+fe)*a,(oe-Ee)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ne+fe)*a,(oe+Ee)*y,(ne+(xe+fe)/2)*a,(oe+(Pe+Ee)/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 Ae=new go.PathFigure(.2*a,y,!1);b.add(Ae),Ae.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 me=new go.PathFigure((oe-ee)*a,ae*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*y,(oe+ne)*a,(ae-ee)*y,(oe+ee)*a,(ae-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y)),me.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,me=.9,fe=new go.PathFigure((ue-oe)*a,me*y,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me-oe)*y,(ue-oe)*a,(me-ae)*y,(ue-ae)*a,(me-oe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,me*y,(ue+ae)*a,(me-oe)*y,(ue+oe)*a,(me-ae)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me+oe)*y,(ue+oe)*a,(me+ae)*y,(ue+ae)*a,(me+oe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,me*y,(ue-ae)*a,(me+oe)*y,(ue-oe)*a,(me+ae)*y)),oe=.1,ae=ie*.1,ue=.4,me=.9;var Pe=new go.PathFigure((ue-oe)*a,me*y,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me-oe)*y,(ue-oe)*a,(me-ae)*y,(ue-ae)*a,(me-oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,me*y,(ue+ae)*a,(me-oe)*y,(ue+oe)*a,(me-ae)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me+oe)*y,(ue+oe)*a,(me+ae)*y,(ue+ae)*a,(me+oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,me*y,(ue-ae)*a,(me+oe)*y,(ue-oe)*a,(me+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,me=ie*.05,fe=.175,Pe=.95,ne=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.375,Pe=.95,oe=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.625,Pe=.95,ae=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.825,Pe=.95,xe=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y).close());var Ee=new go.PathFigure(0,y,!1);return b.add(Ee),Ee.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,me=new go.PathFigure((ae-ne)*a,ue*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue-ne)*y,(ae-ne)*a,(ue-oe)*y,(ae-oe)*a,(ue-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*a,ue*y,(ae+oe)*a,(ue-ne)*y,(ae+ne)*a,(ue-oe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue+ne)*y,(ae+ne)*a,(ue+oe)*y,(ae+oe)*a,(ue+ne)*y)),me.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")},80727: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 bt={},Pt="5.0",te={},z=null,se=!1,ve=!1,Ne=null,be=!1,Ie=null,ie=null,qe=0;qe4?parseFloat(Je):5};bt.setHTML5Codebase=function(Je,it){ie=Je,ht(Je,it)},bt.setJavaCodebase=bt.setJavaCodebaseVersion=bt.isCompiledInstalled=bt.setPreCompiledScriptPath=bt.setPreCompiledResourcePath=function(){},bt.setHTML5CodebaseVersion=function(Je,it){var Bt=parseFloat(Je);if(Bt!==NaN&&Bt<5){console.log("The GeoGebra HTML5 codebase version "+Bt+" is deprecated. Using version latest instead.");return}Ie=Je,et(Je,it)},bt.getHTML5CodebaseVersion=function(){return re},bt.getParameters=function(){return te},bt.setFontsCSSURL=function(Je){ee=Je},bt.setGiacJSURL=function(Je){},bt.setJNLPFile=function(Je){ke=Je},bt.setJNLPBaseDir=function(Je){},bt.inject=function(){function Je(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var it="auto",Bt=te.id,Mt,St=!1,cn=0;cn=5)return!0;var Je=bt.getAppletObject();return Je&&typeof Je.recalculateEnvironments=="function"?(Je.recalculateEnvironments(),!0):!1},bt.startAnimation=function(){var Je=bt.getAppletObject();return Je&&typeof Je.startAnimation=="function"?(Je.startAnimation(),!0):!1},bt.stopAnimation=function(){var Je=bt.getAppletObject();return Je&&typeof Je.stopAnimation=="function"?(Je.stopAnimation(),!0):!1},bt.getAppletObject=function(){var Je=te.id!==void 0?te.id:"ggbApplet";return window[Je]},bt.resize=function(){};var xe=function(Je,it,Bt){var Mt=document.createElement("param");Mt.setAttribute("name",it),Mt.setAttribute("value",Bt),Je.appendChild(Mt)},Ee=function(Je){return Je&&Je!=="false"},Ae=function(Je,it,Bt){oe(re)<=4.2&&(Bt=!0);var Mt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==re||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Mt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var St=document.createElement("div");St.classList.add("appletParameters","notranslate");var cn=it.width,Fe=it.height;if(it.disableAutoScale=it.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():it.disableAutoScale,it.width!==void 0)if(oe(re)<=4.4)Ee(it.showToolBar)&&(it.height-=7),Ee(it.showAlgebraInput)&&(it.height-=37),it.width<605&&Ee(it.showToolBar)&&(it.width=605,cn=605);else{var $t=100;(Ee(it.showToolBar)||Ee(it.showMenuBar))&&(it.hasOwnProperty("customToolBar")&&(it.customToolbar=it.customToolBar),$t=Ee(it.showMenuBar)?245:155),cn<$t&&(it.width=$t,cn=$t)}St.style.border="none",St.style.display="inline-block";for(var Yt in it)it.hasOwnProperty(Yt)&&Yt!=="appletOnLoad"&&St.setAttribute("data-param-"+Yt,it[Yt]);ee&&St.setAttribute("data-param-fontscssurl",ee),bt.resize=function(){GGBAppletUtils.responsiveResize(Je,it)},window.addEventListener("resize",function(we){bt.resize()});var vt=typeof it.appletOnLoad=="function"?it.appletOnLoad:function(){};if(!Bt&&it.width!==void 0){it.hasOwnProperty("showSplash")||St.setAttribute("data-param-showSplash","false");var tn=Je.querySelector(".applet_scaler.prerender"),dt=tn!==null;if(dt)var ct=tn.querySelector(".ggb_preview");else{var ct=je(cn,Fe,it.borderColor,!1);tn=document.createElement("div"),tn.className="applet_scaler",tn.style.position="relative",tn.style.display="block",tn.style.width=cn+"px",tn.style.height=Fe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(tn,"66%"),oe(re)>=5?(it.appletOnLoad=function(we){var gt=Je.querySelector(".ggb_preview");gt&>.parentNode.removeChild(gt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(tn),window.GGBT_wsf_view&&$(window).trigger("resize"),vt(we)},dt||tn.appendChild(ct)):St.appendChild(ct),tn.appendChild(St),dt||Je.appendChild(tn),setTimeout(function(){bt.resize()},1)}else{var rt=document.createElement("div");rt.className="applet_scaler",rt.style.position="relative",rt.style.display="block",rt.appendChild(St),Je.appendChild(rt),it.appletOnLoad=function(we){bt.resize(),vt(we)}}function Oe(we,gt){gt&&typeof gt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(we,gt.appletOnLoad):renderGGBElement(we),Rt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",gt)}function pt(we,gt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:we,params:gt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function($e){Oe($e.article,$e.params)}),html5AppletsToProcess=null)},oe(re)<5&&(we.className+=" geogebraweb")):Oe(we,gt)}if(Mt){scriptLoadStarted=!0;for(var ut=0;ut0?(Yt.remove(),tn.attr("id","fullscreencontent").show(),jQuery(vt).append(tn),window.dispatchEvent(new Event("resize"))):Ae(Yt,it,!1),window.GGBT_wsf_view.launchFullScreen(vt)}else ye=Mt,Ae(Je,it,!1);if(!window.GGBT_wsf_view)for(Fe=0;Fe<$t.length;Fe++)Je.removeChild($t[Fe])},cn=Je.getElementsByClassName("ggb_preview_play"),Fe=0;FeJe/4*3&&(Yt=Je/4*3),vt=Yt/5.8,$t.setAttribute("src",E),$t.setAttribute("width",Yt),$t.setAttribute("height",vt);var tn=(Je-Yt)/2,dt=(it-vt)/2;$t.style.left=tn+"px",$t.style.top=dt+"px",St.appendChild($t)}}return St.appendChild(Fe),St},Ge=function(Je){return Je=Je.toLowerCase(),Je==="html5"||Je==="screenshot"?Je:"html5"},nt=["web","webSimple","web3d","tablet","tablet3d","phone"],et=function(Je,it){if(re=Je,it){ht(re,!0);return}var Bt=!se;if(Bt){var Mt=oe(re);!isNaN(Mt)&&Mt<4.4&&(Bt=!1)}var St,cn;window.location.protocol.substr(0,4)==="http"?St=window.location.protocol:St="http:";var Fe=re.indexOf("//");Fe>0?cn=re:Fe===0?cn=St+re:cn="https://www.geogebra.org/apps/5.2.814.0/";for(var $t in nt)if(re.slice(nt[$t].length*-1)===nt[$t]||re.slice((nt[$t].length+1)*-1)===nt[$t]+"/"){ht(cn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Bt&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!Ee(te.showToolBar)&&!Ee(te.showMenuBar)&&!Ee(te.showAlgebraInput)&&!Ee(te.enableRightClick)&&(!te.appName||te.appName=="classic")?cn+="webSimple/":cn+="web3d/",ht(cn,!1)},ht=function(Je,it){if(Je.requirejs){ze=Je;return}Je.slice(-1)!=="/"&&(Je+="/"),ze=Je,it===null&&(it=Je.indexOf("http")===-1),Me=it,a="web.nocache.js",y=!1;var Bt=ze.split("/");Bt.length>1&&(!it&&Bt[Bt.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):nt.indexOf(Bt[Bt.length-2])>=0&&(a=Bt[Bt.length-2]+".nocache.js")),Bt=Je.split("/"),re=Bt[Bt.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 Mt=parseFloat(re);Mt!==NaN&&Mt<5&&Je.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Mt+" is deprecated. Using version latest instead."),et("5.0",it))},Rt=function(Je,it){window.console&&window.console.log&&(!it||typeof it.showLogging=="undefined"||it.showLogging&&it.showLogging!=="false")&&console.log(Je)};te.material_id!==void 0?me(Qt):Qt();function Qt(){var Je=Pt;Ie!==null?Je=Ie:parseFloat(Je)<5&&(Je="5.0"),et(Je,!1),ie!==null&&ht(ie,Me),be=!0}return bt},GGBAppletUtils=function(){"use strict";function bt(){return window.GGBT_wsf_edit!==void 0}function Pt(be,Ie){Ie!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+Ie+","+Ie+")",be.style.webkitTransform="scale("+Ie+","+Ie+")",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,Ie,ie,qe,He,ke){var ze=null;if(ke!=null&&ke!="")for(var Me=be.parentNode;Me!=null;)if((" "+Me.className+" ").indexOf(" "+ke+" ")>-1){ze=Me;break}else Me=Me.parentNode;var ye=0,re=0,a=0,y=0,b=0,E=0,x=0;if(ze)ye=ze.offsetWidth,re=Math.max(qe?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ye=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ye):(ye=window.innerWidth,re=window.innerHeight,a=window.innerWidth),be){var ee=be.getBoundingClientRect();ee.left>0&&ee.left<=ye&&(He===void 0||!He)&&(document.dir==="rtl"?(b=ye-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)&&Ie>0&&Ie+y1&&(ke=!0)),Ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ke=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))He=z(be,Ie,ke,ie,be.scaleContainerClass);else return qe;return ke&&(!be.hasOwnProperty("scale")||qe===1)?He:Math.min(qe,He)}function ve(be){var Ie=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),qe=be.getBoundingClientRect(),He=(Ie-qe.width)/2,ke=(ie-qe.height)/2;ke<0&&(ke=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(He<40?be.style.left="40px":be.style.left=He+"px",be.style.top=ke+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ke<40?be.style.top="40px":be.style.top=ke+"px",be.style.left=He+"px")}function Ne(be,Ie){var ie=be.querySelector(".appletParameters");if(ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ie.id!==ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(ie.parentElement&&/fullscreen/.test(ie.parentElement.className))return;var qe=se(Ie,be);bt()&&ie.setAttribute("data-param-scale",qe);for(var He=null,ke=0;ke=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(bt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(bt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(bt){var Pt=c[bt];return Pt==null?null:Pt},r=d,webModule.__errFn=e}function B(){function bt(be){var Ie=be.lastIndexOf(rb);Ie==-1&&(Ie=be.length);var ie=be.indexOf(sb);ie==-1&&(ie=be.length);var qe=be.lastIndexOf(tb,Math.min(ie,Ie));return qe>=O?be.substring(O,qe+P):W}function Pt(be){if(!be.match(/^\w+:\/\//)){var Ie=o.createElement(ub);Ie.src=be+vb,be=bt(Ie.src)}return be}function te(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function z(){for(var be=o.getElementsByTagName(_),Ie=O;IeO?be[be.length-P].href:W}function ve(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Ne=te();return Ne==W&&(Ne=z()),Ne==W&&(Ne=se()),Ne==W&&ve()&&(Ne=bt(o.location.href)),Ne=Pt(Ne),Ne}function C(bt){return bt.match(/^\//)||bt.match(/^[a-zA-Z]+:\/\//)?bt:webModule.__moduleBase+bt}function D(){var bt=[],Pt=O,te=[],z=[];function se(be){var Ie=z[be](),ie=te[be];if(Ie in ie)return Ie;var qe=[];for(var He in ie)qe[ie[He]]=He;throw r&&r(be,qe,Ie),null}if(__gwt_isKnownPropertyValue=function(be,Ie){return Ie in te[be]},webModule.__getPropMap=function(){var be={};for(var Ie in te)te.hasOwnProperty(Ie)&&(be[Ie]=se(Ie));return be},webModule.__computePropValue=se,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ve;try{ve=Cb;var Ne=ve.indexOf(Db);Ne!=-1&&(Pt=parseInt(ve.substring(Ne+P),$),ve=ve.substring(O,Ne))}catch(be){}return webModule.__softPermutationId=Pt,C(ve+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})()},77903:function(bt,Pt,te){"use strict";te.d(Pt,{Ax:function(){return Ne},Ds:function(){return be},KI:function(){return ie},SI:function(){return ve},f1:function(){return se}});var z=te(3294);function se(qe){let He=!0;if(qe.length>0){for(let ke=0;kenew Promise((ae,ue)=>{var me=xe=>{try{Pe(oe.next(xe))}catch(Ee){ue(Ee)}},fe=xe=>{try{Pe(oe.throw(xe))}catch(Ee){ue(Ee)}},Pe=xe=>xe.done?ae(xe.value):Promise.resolve(xe.value).then(me,fe);Pe((oe=oe.apply(ee,ne)).next())});const E=({dispatch:ee,courseEndTime:ne,classroomList:oe,successCallback:ae=()=>{},visible:ue,homeworkIds:me,courseId:fe,isBatch:Pe,shixunHomeworks:xe})=>{const[Ee]=se.default.useForm(),[Ae,Ze]=(0,z.useState)(!1),[ft,De]=(0,z.useState)(!1),[Ue,je]=(0,z.useState)(!1),[Ge,nt]=(0,z.useState)([]),[et,ht]=(0,z.useState)([]),[Rt,Qt]=(0,z.useState)([]),[Je,it]=(0,z.useState)([]),[Bt,Mt]=(0,z.useState)([]),[St,cn]=(0,z.useState)([]),[Fe,$t]=(0,z.useState)([]),[Yt,vt]=(0,z.useState)([]),[tn,dt]=(0,z.useState)([]);(0,z.useEffect)(()=>{ue?ct():Oe()},[ue]);const ct=()=>b(void 0,null,function*(){Ze(!0);const pt=yield(0,a.oR)(me[0],{course_id:fe});je(pt.no_group),Pe?($t(pt.all_course_groups),vt(pt.all_course_groups)):(it(pt.late_course_groups),Mt(pt.late_course_groups),nt(pt.submit_course_groups),ht(pt.submit_course_groups)),Ze(!1),Ee.setFieldsValue({end_time:ze()()})}),rt=()=>b(void 0,null,function*(){const pt=Ee.getFieldsValue(),ut=ze()(pt.end_time).format("YYYY-MM-DD HH:mm");if((Pe?tn.length===0:Rt.length===0&&St.length===0)&&!Ue){ve.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}De(!0);const he=yield(0,a.Mc)(fe,{no_group:Ue,homework_ids:me,group_ids:Pe?tn:Rt,end_time:ut,late_group_ids:Pe?tn:St});De(!1),he.status===0&&(Oe(),ve.ZP.success("\u64CD\u4F5C\u6210\u529F"),ae(),ee({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),Oe=()=>{Qt([]),cn([]),ht([]),Mt([])};return z.createElement(Ne.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:re.modalWrapper,width:Pe||Ue?520:760,open:ue,confirmLoading:ft,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>rt(),onCancel:()=>{Oe(),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:Ee,layout:"vertical"},z.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},z.createElement(be.default,{style:{width:"100%"},disabledDate:pt=>(0,y.Q8)(pt,ne),disabledTime:pt=>(0,y.d0)(pt),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ze()((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(Ie.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:pt=>{vt(Fe.filter(ut=>ut.name.indexOf(pt.target.value)>-1))}}),z.createElement(ie.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:pt=>{dt(pt)}},rowKey:"id",pagination:!1,dataSource:Yt,loading:Ae,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):z.createElement(qe.Z,{gutter:24},z.createElement(He.Z,{span:14},z.createElement("div",{className:re.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),z.createElement(Ie.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:pt=>{ht(Ge.filter(ut=>ut.name.indexOf(pt.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:pt=>{Qt(pt)}},rowKey:"id",pagination:!1,dataSource:et,loading:Ae,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(He.Z,{flex:10,style:{maxWidth:"280px"}},z.createElement("div",{className:re.homeworkType},"\u8865\u4EA4\u622A\u6B62"),z.createElement(Ie.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:pt=>{Mt(Je.filter(ut=>ut.name.indexOf(pt.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:pt=>{cn(pt)}},rowKey:"id",pagination:!1,loading:Ae,dataSource:Bt,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var x=(0,ye.connect)(({shixunHomeworks:ee,classroomList:ne})=>({shixunHomeworks:ee,classroomList:ne}))(E)},73524:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return ze}});var z=te(59301),se={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ve=te(92310),Ne=te.n(ve),be=te(71418),Ie=te(2859),ie=te(99064),qe=te(955),He=(Me,ye,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,ye)).next())}),ze=({data:Me,className:ye,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,me]=(0,z.useState)(!1),[fe,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=()=>He(void 0,null,function*(){me(!0),Pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const De=yield(0,qe.ZJ)(Me==null?void 0:Me.src);ee.current.src="",ee.current.src=De,ee.current.onload=function(){ft()},me(!1),Pe("")}),Ee=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",y()},Ae=De=>He(void 0,null,function*(){me(!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=" ",me(!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(je=>{const Ge=document.querySelector(je.name);Ge&&Ge.setAttribute("title",je.title)})},ft=()=>{ne.current=new Ie.hP(ee.current),ne.current.targetRoot=ae.current,ne.current.addEventListener("render",Ae),ne.current.addEventListener("beforeclose",Ee),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:fe,style:{position:"absolute"}},z.createElement("div",{ref:ae,className:Ne()(se.imageDimensions,ye,re?se.fullWidth:""),style:a},z.createElement("img",{className:se.img,ref:ee}))))}},41588:function(bt,Pt,te){"use strict";var z=te(59301),se=te(95237),ve=te(43604),Ne=te(99313),be=te(3113),Ie=te(85149),ie=te(88010),qe=te(48136),He=te(59301);const ke=(0,z.forwardRef)(({callback:ze,showSaveButton:Me,value:ye=""},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:He.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((ne,oe)=>He.createElement(ve.Z,{flex:"110px",className:ie.Z.item},He.createElement("div",null,He.createElement(Ie.Z,{value:`$$${ne.value}$$`}),ne.name),He.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>He.createElement("div",{key:ue},He.createElement("h1",null,ae.name),He.createElement(se.Z,{gutter:[10,10]},ae.data.map((me,fe)=>He.createElement(ve.Z,{key:fe,onClick:()=>E(me),className:ie.Z.diamond},He.createElement(Ie.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:He.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},b.map((ne,oe)=>He.createElement(ve.Z,{flex:"110px",className:ie.Z.item},He.createElement("div",null,He.createElement(Ie.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),He.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>He.createElement("div",{key:ue},ae.name&&He.createElement("h1",null,ae.name),He.createElement(se.Z,{gutter:[10,10]},ae.data.map((me,fe)=>He.createElement(ve.Z,{key:fe,onClick:()=>E(me),className:ie.Z.diamond},He.createElement(Ie.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],ee=()=>{var ne=document.createElement("div");ne.innerHTML=a.current.getValue();var oe=ne.innerText;return ze&&ze(oe),oe};return(0,z.useImperativeHandle)(re,()=>({getData:ee})),He.createElement("div",{className:ie.Z.mathWrap},He.createElement(Ne.default,{defaultActiveKey:"1",items:x}),He.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}},ye||""),Me&&He.createElement("div",{className:ie.Z.button},He.createElement(be.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Pt.Z=ke},40731:function(bt,Pt,te){"use strict";te.d(Pt,{Q:function(){return Ie}});var z=te(59301),se=te(57809),ve=te(5112),Ne=te(5871),be=te(59301),Ie=(qe=>(qe[qe.Number=1]="Number",qe[qe.Percent=2]="Percent",qe))(Ie||{});const ie=({value:qe,onChange:He,disabled:ke,hidePercentOption:ze=!1,percentType:Me="select"})=>{const ye=(0,z.useMemo)(()=>ze?1:2,[ze]),[re,a]=(0,z.useState)(ye);console.log(re);const y=E=>qe.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(qe.type)},[qe]),be.createElement("div",{style:{display:"flex",alignItems:"center"}},Me=="select"&&be.createElement(se.default,{size:"large",onChange:E=>{a(E),He({type:E,inputValue:E===1?5:20})},value:re||ye,style:{width:100},options:ze?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:ke}),Me=="radio"&&be.createElement(ve.ZP.Group,{size:"large",onChange:E=>{const x=E.target.value;a(x),He({type:x,inputValue:x===1?5:20})},value:re||ye,disabled:ke},!ze&&be.createElement(ve.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),be.createElement(ve.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Me=="radio"&&be.createElement("div",{style:{marginRight:"10px",color:"#000000"}},qe.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),be.createElement(Ne.Z,{size:"large",disabled:ke,value:qe.inputValue,style:{width:"120px"},parser:b,addonAfter:qe.type===1?"\u5206":"%",max:re===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:E=>{He({type:re,inputValue:E})}}),Me=="radio"&&qe.type==2&&be.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Pt.Z=ie},82438:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return qe}});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"},ve=te(43418),Ne="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",Ie=(He,ke,ze)=>new Promise((Me,ye)=>{var re=b=>{try{y(ze.next(b))}catch(E){ye(E)}},a=b=>{try{y(ze.throw(b))}catch(E){ye(E)}},y=b=>b.done?Me(b.value):Promise.resolve(b.value).then(re,a);y((ze=ze.apply(He,ke)).next())}),qe=({type:He,resdata:ke,onok:ze,oktext:Me,okloading:ye})=>{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:me,total_num:fe,use_num:Pe}=ke;let xe=b>0||He==="exercise";(0,z.useEffect)(()=>{(ke==null?void 0:ke.student_count)>0&&a(!0)},[ke]),console.log("---11",ye),(0,z.useEffect)(()=>{ye||a(!1)},[ye]);const Ee=()=>{if(He==="exercise"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\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(He==="exercise"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\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(He==="shixun"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\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(He==="shixun"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\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(He==="subject"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\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(He==="subject"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",z.createElement("span",{className:se.orangeColor},me)," \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(He==="exercisepush")return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\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(He==="shixunpush"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\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(He==="shixunpush"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\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"))},Ae=()=>{if(He==="exercise"||He==="subject"||He==="exercisepush"||He==="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},He==="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"),(He==="subject"||He==="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"),He==="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,ft)=>z.createElement("a",{href:`/shixuns/${Ze.identifier}/challenges`,target:"_blank"},"\u300A",Ze==null?void 0:Ze.name,"\u300B",ft+1!==ne&&"\u3001"))))),b>0&&z.createElement("div",{style:{marginTop:20}},z.createElement("span",{className:se.flex},z.createElement("img",{src:Ne,style:{width:14}}),z.createElement("span",{className:se.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:se.statusbody},He==="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"),(He==="subject"||He==="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"),He==="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,ft)=>z.createElement("a",{href:`/shixuns/${Ze.identifier}/challenges`,target:"_blank"},"\u300A",Ze==null?void 0:Ze.name,"\u300B",ft+1!==b&&"\u3001"))))));if(He==="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(ve.default,{open:re,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!xe&&"none"}},zIndex:1003,confirmLoading:ye,okText:xe?Me:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ie(void 0,null,function*(){xe?yield ze([...y,...oe]):a(!1)})},z.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ee(),Ae()))}},97692:function(bt,Pt,te){"use strict";te.d(Pt,{h:function(){return ne}});var z=te(59301),se=te(57809),ve=te(78241),Ne=te(3113),be=te(89780),Ie=te.n(be),ie=te(37036),qe=te(95625),He=Object.defineProperty,ke=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,a=(oe,ae,ue)=>ae in oe?He(oe,ae,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[ae]=ue,y=(oe,ae)=>{for(var ue in ae||(ae={}))ye.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)=>ke(oe,ze(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"]};Pt.Z=({callback:oe,onCancel:ae})=>{const[ue,me]=(0,z.useState)("python");function fe(xe){me(ee[xe][1])}function Pe(xe){oe(xe)}return z.createElement(ve.default,b(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),z.createElement(ve.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},z.createElement(se.default,{getPopupContainer:xe=>xe.parentNode,onChange:fe},Object.keys(ee).map(xe=>z.createElement(E,{key:xe,value:xe},ee[xe][0])))),z.createElement(ve.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(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ne.ZP,{type:"ghost",onClick:ae},"\u53D6\u6D88")))};function ne({value:oe,onChange:ae,mode:ue,options:me={}}){const fe=(0,z.useRef)(),[Pe,xe]=(0,z.useState)();return(0,z.useEffect)(()=>{if(Pe){let Ee=function(Ae){const Ze=Ae.getValue();ae&&ae(Ze)};return Pe.on("change",Ee),()=>{Pe.off("change",Ee)}}},[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(fe.current&&!Pe){const Ee=Ie().fromTextArea(fe.current,y({mode:ue,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));xe(Ee)}},[fe.current,Pe]),z.createElement("div",{className:"my-codemirror-container"},z.createElement("textarea",{ref:fe}))}},12290:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return Zn}});var z=te(59301),se=te(89780),ve=te.n(se),Ne=te(76374),be=te(37036),Ie=te(6313),ie=te(25717),qe=te(99498),He=te(25419),ke=te(67549),ze=te(85149),Me=({value:yt="",className:It,showTextOnly:Lt,showLines:zn,style:kt={}})=>{const ma=(0,z.useMemo)(()=>"",[yt]);return z.createElement(z.Fragment,null,z.createElement("div",{dangerouslySetInnerHTML:{__html:ma}}))},ye=te(59301),re=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(yt,It,Lt)=>It in yt?re(yt,It,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[It]=Lt,ne=(yt,It)=>{for(var Lt in It||(It={}))E.call(It,Lt)&&ee(yt,Lt,It[Lt]);if(b)for(var Lt of b(It))x.call(It,Lt)&&ee(yt,Lt,It[Lt]);return yt},oe=(yt,It)=>a(yt,y(It));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:yt,title:It,icon:Lt,actionName:zn,className:kt="",children:ma}){function ao(){yt(zn)}return ye.createElement("a",{title:It,className:kt,onClick:ao},ye.createElement("i",{className:`${Lt}`}),ma)}var me=({watch:yt,showNullButton:It,showNullProgramButton:Lt,onActionCallback:zn,fullScreen:kt,insertTemp:ma,hidetoolBar:ao,extraUse:pr})=>{const _r=[...ae,{title:`${yt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${yt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ye.createElement("ul",{className:"markdown-toolbar-container"},!ao&&_r.map((qr,_a)=>ye.createElement("li",{key:_a},qr.actionName?ye.createElement(ue,oe(ne({},qr),{onActionCallback:zn})):ye.createElement("span",{className:"v-line"}))),It?ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:zn},ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Lt?ye.createElement(ye.Fragment,null,ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:zn},ye.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:zn},ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,ma&&ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${ma}`,onActionCallback:zn},ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),pr&&ye.createElement("li",null,pr),ye.createElement("li",{className:"btn-full-screen"},ye.createElement(ue,{icon:`${kt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:kt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:zn})))},fe=te(79346),Pe=te(78241),xe=te(92832),Ee=te(3113),Ae=Object.defineProperty,Ze=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ge=(yt,It,Lt)=>It in yt?Ae(yt,It,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[It]=Lt,nt=(yt,It)=>{for(var Lt in It||(It={}))Ue.call(It,Lt)&&Ge(yt,Lt,It[Lt]);if(De)for(var Lt of De(It))je.call(It,Lt)&&Ge(yt,Lt,It[Lt]);return yt},et=(yt,It)=>Ze(yt,ft(It));const ht={labelCol:{span:4},wrapperCol:{span:20}};var Rt=({callback:yt,onCancel:It})=>{function Lt(zn){yt(zn)}return z.createElement(Pe.default,et(nt({},ht),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Lt,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(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ee.ZP,{type:"ghost",onClick:It},"\u53D6\u6D88")))},Qt=te(97692),Je=te(28451),it=te(43418),Bt=te(95237),Mt=te(73524),St=te(59301),cn=({callback:yt,onCancel:It})=>{const Lt=document.createElement("canvas"),zn=Lt.getContext("2d");Lt.width=1e3,Lt.height=800,zn.fillStyle="#ffffff",zn.fillRect(0,0,Lt.width,Lt.height);const kt=Lt.toDataURL("image/png");return St.createElement(it.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},St.createElement(Bt.Z,{style:{height:"100vh"}},St.createElement(Mt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:kt,visible:!0,title:String(Date.now())},onOk:ma=>{yt({src:ma.url})},onClose:It})))},Fe=te(12378);function $t(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit($t,go.CommandHandler),$t.prototype.canAlignSelection=function(){var yt=this.diagram;return!(yt===null||yt.isReadOnly||yt.isModelReadOnly||yt.selection.count<2)},$t.prototype.alignLeft=function(){var yt=this.diagram;yt.startTransaction("aligning left");var It=1/0;yt.selection.each(function(Lt){Lt instanceof go.Link||(It=Math.min(Lt.position.x,It))}),yt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(It,Lt.position.y))}),yt.commitTransaction("aligning left")},$t.prototype.alignRight=function(){var yt=this.diagram;yt.startTransaction("aligning right");var It=-1/0;yt.selection.each(function(Lt){if(!(Lt instanceof go.Link)){var zn=Lt.actualBounds.x+Lt.actualBounds.width;It=Math.max(zn,It)}}),yt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(It-Lt.actualBounds.width,Lt.position.y))}),yt.commitTransaction("aligning right")},$t.prototype.alignTop=function(){var yt=this.diagram;yt.startTransaction("alignTop");var It=1/0;yt.selection.each(function(Lt){Lt instanceof go.Link||(It=Math.min(Lt.position.y,It))}),yt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Lt.position.x,It))}),yt.commitTransaction("alignTop")},$t.prototype.alignBottom=function(){var yt=this.diagram;yt.startTransaction("aligning bottom");var It=-1/0;yt.selection.each(function(Lt){if(!(Lt instanceof go.Link)){var zn=Lt.actualBounds.y+Lt.actualBounds.height;It=Math.max(zn,It)}}),yt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Lt.actualBounds.x,It-Lt.actualBounds.height))}),yt.commitTransaction("aligning bottom")},$t.prototype.alignCenterX=function(){var yt=this.diagram,It=yt.selection.first();if(It){yt.startTransaction("aligning Center X");var Lt=It.actualBounds.x+It.actualBounds.width/2;yt.selection.each(function(zn){zn instanceof go.Link||zn.move(new go.Point(Lt-zn.actualBounds.width/2,zn.actualBounds.y))}),yt.commitTransaction("aligning Center X")}},$t.prototype.alignCenterY=function(){var yt=this.diagram,It=yt.selection.first();if(It){yt.startTransaction("aligning Center Y");var Lt=It.actualBounds.y+It.actualBounds.height/2;yt.selection.each(function(zn){zn instanceof go.Link||zn.move(new go.Point(zn.actualBounds.x,Lt-zn.actualBounds.height/2))}),yt.commitTransaction("aligning Center Y")}},$t.prototype.alignColumn=function(yt){var It=this.diagram;It.startTransaction("align Column"),yt===void 0&&(yt=0),yt=parseFloat(yt);var Lt=new Array;It.selection.each(function(pr){pr instanceof go.Link||Lt.push(pr)});for(var zn=0;zn0){for(var pr=ma.elt(ao-1);pr!==null&&pr.isTreeExpanded&&!pr.isTreeLeaf;){var _r=this._sortTreeChildrenByY(pr);pr=_r.last()}pr!==null&&yt.select(pr)}else yt.select(kt)}}else if(Lt.key==="Down")if(It.isTreeExpanded&&!It.isTreeLeaf){var zn=this._sortTreeChildrenByY(It).first();zn!==null&&yt.select(zn)}else for(;It!==null;){var kt=It.findTreeParentNode();if(kt===null)break;var ma=this._sortTreeChildrenByY(kt),ao=ma.indexOf(It);if(aoma.y?1:kt.xma.x?1:0}),It},$t.prototype.copyToClipboard=function(yt){go.CommandHandler.prototype.copyToClipboard.call(this,yt),this._lastPasteOffset.set(this.pasteOffset)},$t.prototype.pasteFromClipboard=function(){var yt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(yt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),yt},Object.defineProperty($t.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(yt){if(yt!=="move"&&yt!=="select"&&yt!=="scroll"&&yt!=="tree"&&yt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+yt);this._arrowKeyBehavior=yt}}),Object.defineProperty($t.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(yt){if(!(yt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+yt);this._pasteOffset.set(yt)}});var Yt=$t,vt=te(74413),tn=te(43604),dt=te(99064),ct={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},rt=te(59301),Oe=(yt,It,Lt)=>new Promise((zn,kt)=>{var ma=_r=>{try{pr(Lt.next(_r))}catch(qr){kt(qr)}},ao=_r=>{try{pr(Lt.throw(_r))}catch(qr){kt(qr)}},pr=_r=>_r.done?zn(_r.value):Promise.resolve(_r.value).then(ma,ao);pr((Lt=Lt.apply(yt,It)).next())});function pt({onCancel:yt,callback:It}){let Lt=(0,z.useRef)(),zn=(0,z.useRef)(),kt=(0,z.useRef)(),ma=(0,z.useRef)(!1);const ao=(0,z.useRef)(!1),[pr,_r]=(0,z.useState)(0);function qr(){const Rn=Fe.bx.make,sr={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"};Lt.current=new Fe.S0(zn.current,{padding:20,grid:Rn(Fe.s_,"Grid",Rn(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rn(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Xn=>{var Ma=Xn.diagram.commandHandler.addTopLevelParts(Xn.diagram.selection,!0);Ma||Xn.diagram.currentTool.doCancel()},commandHandler:Rn(Yt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Xn=>{var Ma=Xn.subject;Ma.location=Ma.location.copy().snapToGridPoint(Xn.diagram.grid.gridOrigin,Xn.diagram.grid.gridCellSize),setTimeout(()=>{Xn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Xn=>{var Ma=Xn.subject;setTimeout(()=>{Xn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Xn=>{var Ma=Xn.parameter.part;Ma.invalidateConnectedLinks();var or=Xn.subject;Xn.diagram.toolManager.linkingTool.isForwards?or.toNode.invalidateConnectedLinks():or.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Lt.current.nodeTemplate=Rn(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),Rn(Fe.bn,{name:"SHAPE",fill:sr.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")),Rn(Fe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Rn(Fe.al,{margin:1,textAlign:"center",overflow:Fe.al.OverflowEllipsis,editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Lt.current.nodeTemplate.toolTip=Rn("ToolTip",Rn(Fe.s_,"Vertical",{maxSize:new Fe.$u(200,NaN)},Rn(Fe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Fe.KX("text")),Rn(Fe.al,{font:"10pt sans-serif",textAlign:"center"},new Fe.KX("text","details"))));function Ua(Xn,Ma){var or=(Pa,Er)=>{Pa.handled=!0,Pa.diagram.model.commit(Qr=>{var Cr=Er.part.adornedPart,fo=new Fe.E9().setRectSpot(Cr.actualBounds,Xn);fo.subtract(Cr.location),fo.scale(2,2),fo.x+=Math.sign(fo.x)*130,fo.y+=Math.sign(fo.y)*130,fo.add(Cr.location),fo.snapToGridPoint(Pa.diagram.grid.gridOrigin,Pa.diagram.grid.gridCellSize);var Ao=Qr.copyNodeData(Cr.data);Qr.setGroupKeyForNodeData(Ao,Qr.getGroupKeyForNodeData(Cr.data)),Qr.addNodeData(Ao);var Ei={from:Cr.key,to:Qr.getKeyForNodeData(Ao)};Qr.addLinkData(Ei);var Fi=Pa.diagram.findNodeForData(Ao);Fi.location=fo,Pa.diagram.select(Fi),setTimeout(()=>{Pa.diagram.commandHandler.editTextBlock()},20)})};return Rn(Fe.bn,{figure:Ma,alignment:Xn,alignmentFocus:Xn.opposite(),width:Xn.equals(Fe.z6.Top)||Xn.equals(Fe.z6.Bottom)?25:18,height:Xn.equals(Fe.z6.Top)||Xn.equals(Fe.z6.Bottom)?18:25,fill:"orange",stroke:sr.white,strokeWidth:4,mouseEnter:(Pa,Er)=>Er.fill="dodgerblue",mouseLeave:(Pa,Er)=>Er.fill="orange",isActionable:!0,click:or,contextClick:or})}function hr(Xn){return Rn(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:(Ma,or)=>or.fill="dodgerblue",mouseLeave:(Ma,or)=>or.fill="orange",click:(Ma,or)=>{Ma.diagram.commandHandler.showContextMenu(or.part.adornedPart)}},Xn||{})}Lt.current.nodeTemplate.selectionAdornmentTemplate=Rn(Fe.uz,"Spot",Rn(Fe.Vm,{padding:10}),Ua(Fe.z6.Top,"TriangleUp"),Ua(Fe.z6.Left,"TriangleLeft"),Ua(Fe.z6.Right,"TriangleRight"),Ua(Fe.z6.Bottom,"TriangleDown"),hr({alignment:new Fe.z6(.75,0)}));function tr(Xn,Ma){return(or,Pa)=>{or.handled=!0,or.diagram.model.commit(Er=>{Er.set(Pa.part.adornedPart.data,Xn,Ma)})}}function mt(Xn,Ma){return Ma||(Ma="color"),Rn(Fe.bn,{width:16,height:16,stroke:"lightgray",fill:Xn,margin:1,background:"transparent",mouseEnter:(or,Pa)=>Pa.stroke="dodgerblue",mouseLeave:(or,Pa)=>Pa.stroke="lightgray",click:tr(Ma,Xn),contextClick:tr(Ma,Xn)})}function dn(){return[Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",mt(sr.white,"fill"),mt(sr.beige,"fill"),mt(sr.extralightblue,"fill"),mt(sr.extralightred,"fill"))),Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",mt(sr.lightgray,"fill"),mt(sr.lightgreen,"fill"),mt(sr.lightblue,"fill"),mt(sr.lightred,"fill")))]}function rn(){return[Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",mt(sr.black),mt(sr.green),mt(sr.blue),mt(sr.red))),Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",mt(sr.white),mt(sr.magenta),mt(sr.purple),mt(sr.orange)))]}function Sn(Xn,Ma){return Ma||(Ma="thickness"),Rn(Fe.bn,"LineH",{width:16,height:16,strokeWidth:Xn,margin:1,background:"transparent",mouseEnter:(or,Pa)=>Pa.background="dodgerblue",mouseLeave:(or,Pa)=>Pa.background="transparent",click:tr(Ma,Xn),contextClick:tr(Ma,Xn)})}function Nn(Xn,Ma){return Ma||(Ma="dash"),Rn(Fe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Xn,margin:1,background:"transparent",mouseEnter:(or,Pa)=>Pa.background="dodgerblue",mouseLeave:(or,Pa)=>Pa.background="transparent",click:tr(Ma,Xn),contextClick:tr(Ma,Xn)})}function fn(){return[Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",Sn(1),Sn(2),Sn(3),Sn(4))),Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",Nn(null),Nn([2,4]),Nn([4,4])))]}function On(Xn,Ma){return Ma||(Ma="figure"),Rn(Fe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Xn,margin:1,background:"transparent",mouseEnter:(or,Pa)=>Pa.fill="dodgerblue",mouseLeave:(or,Pa)=>Pa.fill="lightgray",click:tr(Ma,Xn),contextClick:tr(Ma,Xn)})}Lt.current.nodeTemplate.contextMenu=Rn("ContextMenu",Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",On("Rectangle"),On("RoundedRectangle"),On("Ellipse"),On("Diamond"))),Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",On("Parallelogram2"),On("ManualOperation"),On("Procedure"),On("Cylinder1"))),Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",On("Terminator"),On("CreateRequest"),On("Document"),On("TriangleDown"))),dn(),rn(),fn()),Lt.current.groupTemplate=Rn(Fe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Fe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Xn,Ma)=>{var or=Ma.addMembers(Ma.diagram.selection,!0);or||Ma.diagram.currentTool.doCancel()},avoidable:!1},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),Rn(Fe.s_,"Auto",{name:"BODY"},Rn(Fe.bn,{parameter1:10,fill:sr.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")),Rn(Fe.Vm,{background:"transparent",margin:20})),Rn(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"))),Lt.current.groupTemplate.selectionAdornmentTemplate=Rn(Fe.uz,"Spot",Rn(Fe.s_,"Auto",Rn(Fe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Rn(Fe.Vm,{margin:1.5})),hr({alignment:Fe.z6.TopRight,alignmentFocus:Fe.z6.BottomRight})),Lt.current.groupTemplate.contextMenu=Rn("ContextMenu",dn(),rn(),fn()),Lt.current.linkTemplate=Rn(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",Xn=>Xn>=1?10:0),new Fe.KX("toShortLength","dir",Xn=>Xn>=1?10:0),new Fe.KX("points").makeTwoWay(),Rn(Fe.bn,{strokeWidth:2},new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Rn(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",Xn=>Xn===1)),Rn(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",Xn=>Xn>=1),new Fe.KX("width","thickness",Xn=>7+3*Xn),new Fe.KX("height","thickness",Xn=>7+3*Xn),new Fe.KX("segmentOffset","thickness",Xn=>new Fe.E9(-15,4+1.5*Xn))),Rn(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",Xn=>Xn===2),new Fe.KX("width","thickness",Xn=>7+3*Xn),new Fe.KX("height","thickness",Xn=>7+3*Xn),new Fe.KX("segmentOffset","thickness",Xn=>new Fe.E9(-15,4+1.5*Xn))),Rn(Fe.al,{alignmentFocus:new Fe.z6(0,1,-4,0),editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Lt.current.linkTemplate.selectionAdornmentTemplate=Rn(Fe.uz,Rn(Fe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:An(2)},new Fe.KX("pathPattern","thickness",An)),hr({alignmentFocus:new Fe.z6(0,0,-6,-4)}));function An(Xn){return Rn(Fe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Xn+4).toString()+" H3"})}function Va(Xn){var Ma="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Xn===0?Ma="M0 0 M16 16 M0 8 L16 8":Xn===2&&(Ma="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Rn(Fe.bn,{geometryString:Ma,margin:2,background:"transparent",mouseEnter:(or,Pa)=>Pa.background="dodgerblue",mouseLeave:(or,Pa)=>Pa.background="transparent",click:tr("dir",Xn),contextClick:tr("dir",Xn)})}function Ka(Xn){var Ma=(or,Pa)=>{or.handled=!0,or.diagram.model.commit(Er=>{var Qr=Pa.part.adornedPart;Er.set(Qr.data,Xn?"toSpot":"fromSpot",Fe.z6.stringify(Fe.z6.AllSides)),(Xn?Qr.toNode:Qr.fromNode).invalidateConnectedLinks()})};return Rn(Fe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(or,Pa)=>Pa.background="dodgerblue",mouseLeave:(or,Pa)=>Pa.background="transparent",click:Ma,contextClick:Ma})}function gn(Xn,Ma){var or=0,Pa=Fe.z6.RightSide;Xn.equals(Fe.z6.Top)?(or=270,Pa=Fe.z6.TopSide):Xn.equals(Fe.z6.Left)?(or=180,Pa=Fe.z6.LeftSide):Xn.equals(Fe.z6.Bottom)&&(or=90,Pa=Fe.z6.BottomSide),Ma||(or-=180);var Er=(Qr,Cr)=>{Qr.handled=!0,Qr.diagram.model.commit(fo=>{var Ao=Cr.part.adornedPart;fo.set(Ao.data,Ma?"toSpot":"fromSpot",Fe.z6.stringify(Pa)),(Ma?Ao.toNode:Ao.fromNode).invalidateConnectedLinks()})};return Rn(Fe.bn,{alignment:Xn,alignmentFocus:Xn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:or,background:"transparent",mouseEnter:(Qr,Cr)=>Cr.background="dodgerblue",mouseLeave:(Qr,Cr)=>Cr.background="transparent",click:Er,contextClick:Er})}Lt.current.linkTemplate.contextMenu=Rn("ContextMenu",rn(),fn(),Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",Va(0),Va(1),Va(2))),Rn("ContextMenuButton",Rn(Fe.s_,"Horizontal",Rn(Fe.s_,"Spot",Ka(!1),gn(Fe.z6.Top,!1),gn(Fe.z6.Left,!1),gn(Fe.z6.Right,!1),gn(Fe.z6.Bottom,!1)),Rn(Fe.s_,"Spot",{margin:new Fe.Zt(0,0,0,2)},Ka(!0),gn(Fe.z6.Top,!0),gn(Fe.z6.Left,!0),gn(Fe.z6.Right,!0),gn(Fe.z6.Bottom,!0)))));const uo=`{ "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 oo=["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 eo(Xn){return console.log("shapeName:",Xn),oo.indexOf(Xn)>=0}var Io=new Fe.YI(kt.current,{maxSelectionCount:1,linkTemplate:Rn(Fe.rU,{locationSpot:Fe.z6.Center,selectionAdornmentTemplate:Rn(Fe.uz,"Link",{locationSpot:Fe.z6.Center},Rn(Fe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Rn(Fe.bn,{toArrow:"Standard",stroke:null}))},{routing:Fe.rU.AvoidsNodes,curve:Fe.rU.JumpOver,corner:5,toShortLength:4},new Fe.KX("points"),Rn(Fe.bn,{isPanelMain:!0,strokeWidth:2}),Rn(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(Xn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Xn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Lt.current.addDiagramListener("TextEdited",function(Xn){var Ma;const or=Xn.subject.part;var Pa=(Ma=document.activeElement)==null?void 0:Ma.value;typeof Pa=="string"&&Pa.trim()===""&&Lt.current.model.commit(function(Er){Er.set(or.data,"text","\u672A\u547D\u540D"),Lt.current.commandHandler.stopCommand()},"increment")}),Io.nodeTemplate=Rn(Fe.NB,"Auto",{locationSpot:Fe.z6.Center},new Fe.KX("location","location",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),Rn(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")),Rn(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(()=>{Lt.current.grid=Rn(Fe.s_,"Grid",Rn(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rn(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Lt.current.grid.visible=!0,Lt.current.grid.gridCellStroke="darkgray",Lt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Lt.current,Lt.current}const _a=()=>Oe(this,null,function*(){var Rn=Lt.current.makeImage();const sr=yield(0,dt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Rn.src}});It({src:sr.url})});return(0,z.useEffect)(()=>(setTimeout(()=>{qr()},500),_r(pr+1),()=>{Lt.current=null}),[]),rt.createElement("div",{ref:ao,className:ma.current?`${ct.maxH60} body-overflow-initial`:"body-overflow-initial"},rt.createElement(it.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!pr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:rt.createElement(Bt.Z,null,rt.createElement(tn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),rt.createElement(tn.Z,{onClick:()=>{var Rn,sr,Ua=Lt.current.selection.first();if(ma.current=!ma.current,document.activeElement&&Ua){let hr=(sr=(Rn=document.activeElement)==null?void 0:Rn.value)==null?void 0:sr.trim();typeof hr=="string"&&Lt.current.model.commit(function(tr){tr.set(Ua.data,"text",hr||"\u672A\u547D\u540D"),Lt.current.commandHandler.stopCommand()},"increment")}_r(pr+1)}},rt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:yt},rt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ct.flowChartWrp},rt.createElement("div",{style:{display:"flex",height:"100%"}},rt.createElement("div",{style:{width:"300px",height:"100%"}},rt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),rt.createElement("div",{style:{height:"calc(100% - 50px)"},className:ct.myPaletteDiv,ref:kt})),rt.createElement("div",{style:{flex:1,position:"relative"}},rt.createElement("div",{ref:zn,style:{height:"80vh"}}))),rt.createElement("div",{className:"tr"},rt.createElement(Ee.ZP,{size:"large",onClick:_a,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var ut=pt,Be=te(5112),he=te(5871);const Ke=Be.ZP.Group,Ye={margin:"0 8px"};var we=({callback:yt,onCancel:It})=>{function Lt(zn){yt(zn)}return z.createElement(Pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Lt},z.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},z.createElement("span",{style:Ye},"\u5355\u5143\u683C\u6570\uFF1A"),z.createElement("span",{style:Ye},"\u884C\u6570"),z.createElement(Pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},z.createElement(he.Z,null)),z.createElement("span",{style:Ye},"\u5217\u6570"),z.createElement(Pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},z.createElement(he.Z,null))),z.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},z.createElement("span",{style:Ye},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),z.createElement(Pe.default.Item,{name:"align"},z.createElement(Ke,null,z.createElement(Be.ZP,{value:"default"},z.createElement("i",{className:"fa fa-align-justify"})),z.createElement(Be.ZP,{value:"left"},z.createElement("i",{className:"fa fa-align-left"})),z.createElement(Be.ZP,{value:"center"},z.createElement("i",{className:"fa fa-align-center"})),z.createElement(Be.ZP,{value:"right"},z.createElement("i",{className:"fa fa-align-right"}))))),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ee.ZP,{type:"ghost",onClick:It},"\u53D6\u6D88")))},gt=te(78673),$e=te(80727),Kt=te.n($e),ot=(0,z.forwardRef)(({use3d:yt,width:It,height:Lt,callback:zn,showSaveButton:kt},ma)=>{const ao=(0,z.useRef)(),pr=(0,z.useRef)(),[_r,qr]=(0,z.useState)(!1),_a=(0,z.useRef)({id:ao,appName:"graphing",width:It||1e3,height:Lt||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)(()=>{pr.current=new(Kt())(_a.current,!0),window.onload=function(){pr.current.inject("applet_container")}},[]);const Rn=()=>{var sr=window.ggbApplet.getPNGBase64(1,!0,72);return zn&&zn(sr),sr};return(0,z.useEffect)(()=>{_a.current.appName=_r?"3D":"graphing",pr.current.inject("applet_container")},[_r]),(0,z.useEffect)(()=>{qr(yt)},[yt]),(0,z.useImperativeHandle)(ma,()=>({getImgData:Rn})),z.createElement(z.Fragment,null,z.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ao}),z.createElement(Bt.Z,{align:"middle"},z.createElement(tn.Z,{flex:1},z.createElement(gt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:_r,onChange:sr=>qr(sr)})),z.createElement(tn.Z,null,z.createElement(Ee.ZP,{size:"large",onClick:Rn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),wt=te(41588),Le=te(1012),We=te(8591);const st="link",Ft="upload-image",Wt="add-flowchart",mn="draw-image",lt="add-flowchart",At="code-block",Et="add-table",nn="------------",Ut={default:nn,left:`:${nn}`,center:`:${nn}:`,right:`${nn}:`};var sn=te(58856),_n=(yt,It,Lt)=>new Promise((zn,kt)=>{var ma=_r=>{try{pr(Lt.next(_r))}catch(qr){kt(qr)}},ao=_r=>{try{pr(Lt.throw(_r))}catch(qr){kt(qr)}},pr=_r=>_r.done?zn(_r.value):Promise.resolve(_r.value).then(ma,ao);pr((Lt=Lt.apply(yt,It)).next())});function hn(){}let an=0;const Un=1e4,Ht="\u2581",Zt="@\u2581\u2581@",qt="@\u2581@",wa=` **\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 Tn(yt){return/^\d+$/.test(yt)?`${yt}px`:yt}const Ia=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Dr={[Ia+"-B"]:"bold",[Ia+"-I"]:"italic"},yr={[st]:"\u6DFB\u52A0\u94FE\u63A5",[At]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ft]:"\u6DFB\u52A0\u56FE\u7247",[mn]:"\u6DFB\u52A0\u753B\u56FE",[Wt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Et]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Zn=({defaultValue:yt="",onChange:It,width:Lt="100%",height:zn=400,miniToolbar:kt=!1,isFocus:ma=!1,watch:ao,insertTemp:pr,mode:_r="markdown",id:qr="markdown-editor-id",showResizeBar:_a=!1,noStorage:Rn=!1,showNullButton:sr=!1,showNullProgramButton:Ua=!1,hidetoolBar:hr=!1,fullScreen:tr=!1,onBlur:mt,onCMBeforeChange:dn,onFullScreen:rn,className:Sn="",disablePaste:Nn=!1,disabled:fn=!1,disabledFill:On=!1,placeholder:An="",values:Va="",extraUse:Ka})=>{const[gn,uo]=(0,z.useState)(null),[oo,eo]=(0,z.useState)(yt),[Io,Xn]=(0,z.useState)(ao),[Ma,or]=(0,z.useState)(tr),[Pa,Er]=(0,z.useState)(""),[Qr,Cr]=(0,z.useState)(0),[fo,Ao]=(0,z.useState)(zn),[Ei,Fi]=(0,z.useState)(!1),Ci=(0,z.useRef)((0,Le.Z)()),Hn=(0,z.useRef)(!1),nr=(0,z.useRef)(),[jr,Jo]=(0,z.useState)(0),[$o,No]=(0,z.useState)(0),vi=(0,z.useRef)(),Zi=(0,z.useRef)(),Xi=(0,z.useRef)(),Mi=(0,z.useRef)(),Ce=()=>_n(void 0,null,function*(){var la;const Vn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ci.current}});(la=Vn==null?void 0:Vn.attachments)!=null&&la.length&&(console.log("cm:",gn,vi),Vn.attachments.map(ra=>{ra.content_type.indexOf("image")>-1?gn.replaceSelection(`![,](/api/attachments/${ra.id}?type=${ra.content_type})`):ra.content_type.indexOf("video")>-1?gn.replaceSelection(``):ra.content_type.indexOf("pdf")>-1?gn.replaceSelection(`${ra.name}`):gn.replaceSelection(`[${ra.name}](${ENV.API_SERVER}/api/attachments/${ra.id}?type=${ra.content_type})`)}))});(0,z.useEffect)(()=>{const la=window.scrollY||window.pageYOffset;eo(Va),gn==null||gn.setValue(Va),window.scrollTo(0,la)},[Va]),(0,z.useEffect)(()=>{rn==null||rn(Ma)},[Ma]),(0,z.useEffect)(()=>{if(vi.current){let la=function(ra,aa){var Ir;if(Nn){aa.preventDefault();return}const Zr=aa.clipboardData;if(Zr){const vr=Zr.types.toString(),br=Zr.items;if(vr==="Files"||Zr.types.indexOf("Files")>-1){if(aa.preventDefault(),_r=="stex")return;try{let kr=br[1];((Ir=br[0])==null?void 0:Ir.kind)==="file"&&(kr=br[0]);const po=kr.getAsFile(),ni=po.name.split(".").pop();(0,Je.I)(po,Po=>{var Mr,ro,bo;Po.id?((Mr=po==null?void 0:po.type)==null?void 0:Mr.indexOf("image"))>-1?Vn.replaceSelection(``):((ro=po==null?void 0:po.type)==null?void 0:ro.indexOf("video"))>-1?Vn.replaceSelection(``):((bo=po==null?void 0:po.type)==null?void 0:bo.indexOf("pdf"))>-1?Vn.replaceSelection(`${po.name}`):qn.includes(ni)?Vn.replaceSelection(`${po.name}`):Vn.replaceSelection(`[${po.name}](/api/attachments/${Po.id}?type=${Po.content_type})`):(Po==null?void 0:Po.status)===401&&(We.ZP.warning((Po==null?void 0:Po.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(kr){We.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Vn=ve().fromTextArea(vi.current,{mode:_r,lineNumbers:!kt,lineWrapping:!0,value:yt,autoCloseTags:!Ua,autoCloseBrackets:!0});return Vn.on("keyup",function(ra,aa){aa.keyCode===8&&(ra.getValue()==""?Vn.setOption("placeholder",An):Vn.setOption("placeholder",null))}),Vn.on("keydown",function(ra,aa){if(aa.keyCode===8){var Ir=Xe(ra);Ir&&aa.preventDefault()}}),ma&&Vn.focus(),Vn.on("paste",la),Vn.on("dragleave",function(ra,aa){Zi.current.classList.remove("mouse-hover-md")}),fn&&Vn.on("beforeChange",function(ra,aa){(aa.origin==="paste"||aa.origin==="+input")&&aa.cancel()}),uo(Vn),()=>{Vn.off("paste",la)}}},[]);const Te=(0,z.useCallback)(()=>{if(Zi.current)try{}catch(la){console.log(la,"---- to set md editor body height")}},[fo,Zi,Ma]);(0,z.useEffect)(()=>{function la(){let Vn=new Ne.Z(ra=>{for(let aa of ra)(aa.target.offsetHeight>0||aa.target.offsetWidth>0)&&(Te(),gn.setSize("100%","100%"),gn.refresh())});return Vn.observe(vi.current.parentElement),Vn}if(gn){const Vn=la();return()=>{var ra,aa;(ra=vi.current)!=null&&ra.parentElement&&Vn.unobserve((aa=vi.current)==null?void 0:aa.parentElement)}}},[gn,Te]),(0,z.useEffect)(()=>{if(gn){let la=[];for(const[Vn,ra]of Object.entries(Dr)){let aa={[Vn]:()=>{Ct(ra)}};la.push(aa),gn.addKeyMap(aa)}return nr.current=setInterval(()=>{Hn.current&&Ce()},4e3),()=>{clearInterval(nr.current);for(let Vn of la)gn.removeKeyMap(Vn)}}},[gn]),(0,z.useEffect)(()=>{tr!==Ma&&or(tr)},[tr]),(0,sn.Z)(()=>{if(!Rn&&Qr>0){let la=new Date().getTime(),Vn=window.sessionStorage.getItem(qr);la>=Qr+Un&&(!Vn||Vn!==oo)&&(window.sessionStorage.setItem(qr,oo),Fi(!0))}},Un),(0,z.useEffect)(()=>{Xn(ao)},[gn,ao]),(0,z.useEffect)(()=>{gn&&ma&&gn.focus()},[gn,ma]),(0,z.useEffect)(()=>{if(Io&&gn){let la=function(ra){let aa=ra.target;if(Mi.current){let Ir=aa.scrollTop/aa.scrollHeight;Mi.current.scrollTop=Mi.current.scrollHeight*Ir}};const Vn=gn.getScrollerElement();return Vn.addEventListener("scroll",la),()=>{Vn.removeEventListener("scroll",la)}}},[gn,Io]),(0,z.useEffect)(()=>{if(gn&&dn){let la=function(Vn,ra){dn(Vn,ra)};return gn.on("beforeChange",la),()=>{gn.off("beforeChange",la)}}},[gn,dn]),(0,z.useEffect)(()=>{if(gn&&mt){let la=function(){mt(gn.getValue())};return gn.on("blur",la),()=>{gn.off("blur",la)}}},[gn,mt]);function Xe(la,Vn){var ra=la.getDoc(),aa=ra.getCursor(),Ir=ra.getLine(aa.line),Zr=Ir.charAt(aa.ch-1),vr=Ir.lastIndexOf("@\u2581@",aa.ch),br=Ir.lastIndexOf("@\u2581\u2581@",aa.ch),kr=vr>br?vr:br,po=vr>br?3:4;if(Zt.indexOf(Zr)===-1)return null;if(console.log("change1:",Vn,la,Ir,aa,kr,vr,br,Zr),kr>=0&&aa.ch-kr<5){var ni=kr+po;return ra.replaceRange("",{line:aa.line,ch:kr},{line:aa.line,ch:ni}),{line:aa.line,ch:ni}}return null}(0,z.useEffect)(()=>{if(gn){let la=function(Vn,ra){const aa=Vn.getValue();eo(aa),Cr(new Date().getTime()),Vn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),It&&(Ua?It(aa,fa(aa)):It(aa))};return gn.on("change",la),()=>{gn.off("change",la)}}},[gn,It]),(0,z.useEffect)(()=>{if(gn)if(yt==null)gn.setValue(""),eo("");else{const la=window.scrollY||window.pageYOffset;yt!==gn.getValue()&&(gn.setValue(yt),eo(yt),gn.setCursor(fn?1:gn.lineCount(),0),window.scrollTo(0,la))}},[gn,yt]);const Ct=(0,z.useCallback)(la=>{const Vn=gn.getCursor(),ra=gn.getSelection();let aa=ra.split(` `);switch(la){case"bold":return gn.replaceSelection("**"+ra+"**"),ra===""&&gn.setCursor(Vn.line,Vn.ch+2),gn.focus();case"italic":return gn.replaceSelection("*"+ra+"*"),ra===""&&gn.setCursor(Vn.line,Vn.ch+1),gn.focus();case"code":return gn.replaceSelection("`"+ra+"`"),ra===""&&gn.setCursor(Vn.line,Vn.ch+1),gn.focus();case"inline-latex":return Er("inline-latex"),gn.focus();case"latex":return gn.replaceSelection("```latex\n"+ra+"\n```"),gn.setCursor(Vn.line+1,ra.length+1),gn.focus();case"line-break":return gn.replaceSelection(`
`),gn.focus();case"list-ul":return ra===""?gn.replaceSelection("- "+ra):gn.replaceSelection(aa.map(Ir=>Ir===""?"":`- ${Ir}`).join(` `)),gn.focus();case"list-ol":return ra===""?gn.replaceSelection("1. "+ra):gn.replaceSelection(aa.map((Ir,Zr)=>Ir===""?"":`${Zr+1}. ${Ir}`).join(` `)),gn.focus();case"add-null-ch":return ra===""&&gn.setCursor(Vn.line,Vn.ch),gn.replaceSelection(Ht),gn.focus();case"add-signal":return ra===""&&gn.setCursor(Vn.line,Vn.ch),gn.replaceSelection(qt),gn.focus();case"add-multiple":return ra===""&&gn.setCursor(Vn.line,Vn.ch),gn.replaceSelection(Zt),gn.focus();case"inster-template-1":return ra===""&&gn.setCursor(Vn.line,Vn.ch),gn.replaceSelection(wa),gn.focus();case"eraser":return gn.setValue(""),gn.focus();case"trigger-watch":return Xn(!Io),gn.focus();case"trigger-full-screen":return or(!Ma),gn.focus();case st:Er(st);return;case At:Er(At);return;case Ft:Er(Ft);return;case mn:Er(mn);return;case"maths-latex":Er("maths-latex");return;case Wt:Er(Wt);return;case Et:Er(Et);return;default:throw new Error}},[gn,Io,Ma]),Jt=(0,z.useCallback)((la,Vn)=>{var ra,aa,Ir,Zr,vr,br;switch(Er(""),Pa){case st:const{title:Mr,link:ro}=la;return gn.replaceSelection(`[${Mr}](${ro})`),gn.focus();case At:const{language:bo,content:ho}=la;return gn.replaceSelection(["```"+bo,ho,"```"].join(` `)),gn.focus();case"maths-latex":for(var kr=atob(la),po=new Uint8Array(kr.length),ni=0;ni{Di.id?gn.replaceSelection(`![,](/api/attachments/${Di.id}?type=${Di.content_type})`):(Di==null?void 0:Di.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":gn.replaceSelection("`$$"+la+"$$`");break;case Ft:case mn:case lt:const{src:yo,alt:sa}=la,Ho=Vn,Ai=(Ir=(aa=(ra=Ho==null?void 0:Ho.name)==null?void 0:ra.split("."))==null?void 0:aa.pop)==null?void 0:Ir.call(aa);return((Zr=Ho==null?void 0:Ho.type)==null?void 0:Zr.indexOf("image"))>-1||!(Ho!=null&&Ho.type)?Ho.align||Ho.width?gn.replaceSelection(`

${sa||

`):gn.replaceSelection(`${sa||`):((vr=Ho==null?void 0:Ho.type)==null?void 0:vr.indexOf("video"))>-1?gn.replaceSelection(``):((br=Ho==null?void 0:Ho.type)==null?void 0:br.indexOf("pdf"))>-1?gn.replaceSelection(`${Ho.name}`):qn.includes(Ai)?gn.replaceSelection(`${Ho.name}`):gn.replaceSelection(`[${Ho.name}](${yo})`),gn.focus();case Et:const{row:zi,col:nl,align:Ji}=la;let Wi=` `;for(let Di=0;Di{switch(Pa){case st:return z.createElement(Rt,{callback:Jt,onCancel:xn});case At:return z.createElement(Qt.Z,{callback:Jt,onCancel:xn});case Ft:return z.createElement(Je.Z,{callback:Jt,onCancel:xn});case Wt:return z.createElement(ut,{callback:Jt,onCancel:xn});case Et:return z.createElement(we,{callback:Jt,onCancel:xn});case"maths-latex":return z.createElement(ot,{showSaveButton:!0,callback:Jt});case"inline-latex":return z.createElement(wt.Z,{showSaveButton:!0,callback:Jt});default:return null}},[Pa]);function xn(){Er("")}(0,z.useEffect)(()=>{if(Xi.current){let la=function(vr){Ir=!0,Zr=vr.pageY},Vn=function(){Ir=!1},ra=function(vr){if(Ir){let br=vr.pageY-Zr;br<0&&(br=0),br>300&&(br=300);let kr=zn+br+"px";Ao(kr)}},aa=Xi.current,Ir=!1,Zr=0;return aa.addEventListener("mousedown",la),document.addEventListener("mousemove",ra),document.addEventListener("mouseup",Vn),()=>{aa.removeEventListener("mousedown",la),document.removeEventListener("mousemove",ra),document.removeEventListener("mouseup",Vn)}}},[gn,Xi]),(0,z.useEffect)(()=>{Ao(zn)},[zn]);const Dn=Tn(Lt),Qn=Tn(fo),ba={width:Dn,height:Qn},Fa=(0,z.useMemo)(()=>{if(Qr){let la=new Date(Qr),Vn=la.getHours(),ra=la.getMinutes(),aa=la.getSeconds();return Vn=Vn<10?"0"+Vn:Vn,ra=ra<10?"0"+ra:ra,aa=aa<10?"0"+aa:aa,`${Vn}:${ra}:${aa}`}return 0},[Qr]),fa=la=>{const Vn=[];if(Ua){let ra=-1;la=la.replace(/(@▁▁@|@▁@)/g,function(aa,Ir,Zr){Vn.push({multiLine:aa!==qt})})}return Vn};function Or(){window.sessionStorage.removeItem(qr),Fi(!1),Cr(0)}function Nr(){Fi(!1),Cr(0),gn.setValue(window.sessionStorage.getItem(qr))}(0,z.useEffect)(()=>{yr[Pa]&&Pa!==mn&&Pa!==Wt&&setTimeout(()=>{const la=document.getElementsByClassName("markdown-popup-form")[0],Vn=window.innerWidth/2-la.offsetWidth/2,ra=window.innerHeight/2-la.offsetHeight/2;Jo(Vn),No(ra)},0)},[Pa]);const Mo=la=>{la.preventDefault();const Vn=la.clientX-jr,ra=la.clientY-$o;document.body.onmousemove=aa=>{let Ir=aa.clientX-Vn,Zr=aa.clientY-ra;const vr=document.getElementsByClassName("markdown-popup-form")[0],br=window.innerWidth-vr.offsetWidth,kr=window.innerHeight-vr.offsetHeight;Ir=Math.max(0,Math.min(Ir,br)),Zr=Math.max(0,Math.min(Zr,kr)),Ur(aa.clientX,aa.clientY,Vn,ra)&&(Jo(Ir),No(Zr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ur=(la,Vn,ra,aa)=>{const Ir=document.body.clientHeight,Zr=document.body.clientWidth;return la<20&&ra>la||la>Zr-20&&raVn||Vn>Ir-20&&aaxe in Pe?Me(Pe,xe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):Pe[xe]=Ee,x=(Pe,xe)=>{for(var Ee in xe||(xe={}))y.call(xe,Ee)&&E(Pe,Ee,xe[Ee]);if(a)for(var Ee of a(xe))b.call(xe,Ee)&&E(Pe,Ee,xe[Ee]);return Pe},ee=(Pe,xe)=>ye(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[Ee]=ne();let Ae=(0,He.useRef)();function Ze(Ue){Ae.current.width=Ee.getFieldValue("width"),Ae.current.align=Ee.getFieldValue("align"),Pe(Ue,Ae.current)}function ft(Ue,je){if(Ue.status===-1){se.ZP.error(Ue.message);return}Ee.setFieldsValue({src:`/api/attachments/${Ue.id}`,type:je.type})}function De(Ue){let je=Ue.target.files[0];Ae.current=je,fe(je,ft)}return ze.createElement(z.default,ee(x({form:Ee},ae),{className:"upload-image-panel",onFinish:Ze,style:{width:470,overflow:"hidden"}}),ze.createElement(z.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(z.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(ve.default,{style:oe})),ze.createElement(me,{onFileChange:De}))),ze.createElement(z.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(ve.default,{style:{width:264}})),ze.createElement(z.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(Ne.Z,null,ze.createElement(z.default.Item,{name:"width",style:{margin:0}},ze.createElement(be.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(z.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(Ie.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"}]})),ze.createElement("aside",null,ze.createElement(z.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(ie.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function me({onFileChange:Pe}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:Pe}))}function fe(Pe,xe){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ke.bg)())throw se.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ee=new FormData;Ee.append("editormd-image-file",Pe),Ee.append("file_param_name","editormd-image-file"),Ee.append("byxhr","true");var Ae=new window.XMLHttpRequest;Ae.withCredentials=!0,Ae.addEventListener("load",function(Ze){xe(JSON.parse(Ze.target.responseText),Pe)},!1),Ae.addEventListener("error",function(Ze){console.error(Ze)},!1),Ae.open("POST",`${qe.KI}/api/attachments.json`),Ae.send(Ee)}},79346:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return ve}});var z=te(59301),se=te(4676);class ve extends z.Component{constructor(be){super(be);const Ie=window.document;this.node=Ie.createElement("div"),Ie.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,se.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},58856:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return se}});var z=te(59301);function se(ve,Ne){const be=(0,z.useRef)();(0,z.useEffect)(()=>{be.current=ve}),(0,z.useEffect)(()=>{function Ie(){be.current()}if(Ne!==null){let ie=setInterval(Ie,Ne);return()=>clearInterval(ie)}},[Ne])}},63764:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return je}});var z=te(59301),se=te(5112),ve=te(3113),Ne=te(8591),be=te(43418),Ie=te(5871),ie=te(95237),qe=te(43604),He=te(28103),ke=te(23954),ze={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(24065),ye=te(24334),re=te(99064),a=te(89070),y=te(85149),b=te(36708),E=te(87169),x=te(26227),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Pe=(Ge,nt,et)=>nt in Ge?ne(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:et}):Ge[nt]=et,xe=(Ge,nt)=>{for(var et in nt||(nt={}))me.call(nt,et)&&Pe(Ge,et,nt[et]);if(ue)for(var et of ue(nt))fe.call(nt,et)&&Pe(Ge,et,nt[et]);return Ge},Ee=(Ge,nt)=>oe(Ge,ae(nt)),Ae=(Ge,nt,et)=>new Promise((ht,Rt)=>{var Qt=Bt=>{try{it(et.next(Bt))}catch(Mt){Rt(Mt)}},Je=Bt=>{try{it(et.throw(Bt))}catch(Mt){Rt(Mt)}},it=Bt=>Bt.done?ht(Bt.value):Promise.resolve(Bt.value).then(Qt,Je);it((et=et.apply(Ge,nt)).next())});const Ze={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var ft=(Ge=>(Ge[Ge.SET_PATH=0]="SET_PATH",Ge[Ge.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ge))(ft||{});function De(Ge,nt){switch(nt.type){case 0:return Ee(xe({},Ge),{selectedPath:nt.payload});case 1:return Ee(xe({},Ge),{passedContent:nt.payload});default:throw new Error}}var je=({language:Ge,dispatch:nt,shixunWorkReport:et,v:ht,languages:Rt,classroomList:Qt,autoHeight:Je,diff_code_count:it,data:Bt})=>{const[Mt,St]=(0,z.useState)(Rt==null?void 0:Rt[0]),cn=(0,a.useParams)();return(0,z.useEffect)(()=>{St(Rt==null?void 0:Rt[0])},[]),(0,z.useEffect)(()=>{var Fe;St((Fe=Rt==null?void 0:Rt.filter($t=>$t.language===(Mt==null?void 0:Mt.language)))==null?void 0:Fe[0])},[Rt]),ee.createElement(ee.Fragment,null,ee.createElement("h2",null," ",ee.createElement("span",null,ht.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:Ge,style:{marginLeft:10},onChange:Fe=>{var $t;ht.language=Fe.target.value,St(($t=Rt==null?void 0:Rt.filter(Yt=>Yt.language===Fe.target.value))==null?void 0:$t[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)()&&et!="shixunWorkReport"&&ee.createElement("span",null,ee.createElement("span",null,"\u5F97\u5206 ",Mt==null?void 0:Mt.score,"/",Mt==null?void 0:Mt.total_score),ee.createElement(ve.ZP,{style:{margin:"0px 10px"},onClick:()=>{var Fe,$t;if(!(($t=(Fe=Qt.AssistantObject)==null?void 0:Fe.hack)!=null&&$t.can_appraise)&&(0,Me.Rm)()){Ne.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 Yt=Mt==null?void 0:Mt.score;be.default.confirm({title:"\u8C03\u5206",content:ee.createElement("div",null,ee.createElement("p",null,"\u5F97\u5206\uFF1A",Mt==null?void 0:Mt.score,"/",Mt==null?void 0:Mt.total_score),ee.createElement("p",null,"\u8C03\u5206\uFF1A",ee.createElement(Ie.Z,{min:0,max:Mt==null?void 0:Mt.total_score,defaultValue:Mt==null?void 0:Mt.score,onChange:vt=>{Yt=vt}}))),okText:"\u786E\u8BA4",onOk:()=>Ae(void 0,null,function*(){(yield(0,re.ZP)(`/api/courses/${cn==null?void 0:cn.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:cn==null?void 0:cn.coursesId,hack_user_code_id:Mt==null?void 0:Mt.hack_user_id,score:Yt}})).status===0&&(Ne.ZP.success("\u8C03\u5206\u6210\u529F"),nt({type:"shixunHomeworks/setActionTabs",payload:{}}),nt({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},cn)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,Me.GJ)()&&et!="shixunWorkReport"&&ee.createElement(ve.ZP,{onClick:()=>{var Fe;if(!((Fe=Qt.AssistantObject.hack)!=null&&Fe.can_appraise)&&(0,Me.Rm)()){Ne.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}nt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:et.user_id,type:"1",language:Mt==null?void 0:Mt.language,v:ht,data:xe({},et)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),ee.createElement(ke.ZP,{height:300,language:Mt==null?void 0:Mt.language,value:Mt!=null&&Mt.code?ye.Base64.decode(Mt==null?void 0:Mt.code):"",autoHeight:Je,theme:"default",options:Ze}),((Mt==null?void 0:Mt.comment)||(Mt==null?void 0:Mt.hidden_comment))&&ee.createElement("div",null,ee.createElement(ie.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},ee.createElement(qe.Z,{flex:1},ee.createElement("h1",{className:ze.title},"\u70B9\u8BC4\u5185\u5BB9")),ee.createElement(qe.Z,{className:"pr30"},(0,Me.GJ)()&&ee.createElement(ve.ZP,{onClick:()=>Ae(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 Ae(this,null,function*(){(yield(0,b.gZ)({comment_id:Mt==null?void 0:Mt.comment_id,homeworkId:cn.homeworkId,type:"hack"})).status===0&&(Ne.ZP.success("\u5220\u9664\u6210\u529F"),nt({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},cn)}))})}})})},ee.createElement(x.Z,null),"\u5220\u9664"))),ee.createElement(He.Z,{style:{margin:0}}),(Mt==null?void 0:Mt.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:Mt==null?void 0:Mt.comment})),(Mt==null?void 0:Mt.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:Mt==null?void 0:Mt.hidden_comment}))))}},30056:function(bt,Pt,te){"use strict";te.r(Pt),te.d(Pt,{default:function(){return xe}});var z=te(59301),se=te(89070),ve=te(99313),Ne=te(3113),be=te(58421),Ie=te(24065),ie=te(99064),qe=te(8797),He=te(14982),ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAAAAXNSR0IArs4c6QAABPdJREFUSEullWloHGUYx//vzO7sHDuzm93sZpM2l/SgRyK7xSYxrfYgbdUq6JcixXqAUrxItGAVMT1A+kH7Re1WWppa6afiAYJIi7ZB07vkIARzVJqYbJMmu90zszOzM6/MVEXQotR3mPky8/7e//N7ZuYl+J+jt7fX7/f7i/X19cU/UORemZRSZnBwsKNQKLztdrtHOI57sqGhYcbm3ROUUsoOD4++Mz9f2CtJItE0DaVSqTMWi+27Jyil1DM0NLTfsmgHpZbLhthQSmlfTU3NmkgkUvjPSSmlZGRkZI2maZ2mWdpAGBehpgnd0KBpOkzTLPn9/gei0Wjfv0JHR0cXGpq2xTDNHZTSJsu0OJNaIIRFUc07KXXdgGVZCAQCL7e0tMT/Br3ja3iRaZptlmU9YVHayhBGoAApGTpKhgHCsFCLRaRvp+yEtk9QaiEYDHy0cWPb639CbdjAwADP8/zRkmk9BYADIU4nLUqdycX5Agxdh4cXkLh5E8m5WTD2A4SAZV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pa+v75iqqtvy+RwqwiEIvPjJw+vXv+q8011dXXx/f/9WWZaVQCBwE0Bfe3v7NCHE/rDuOmzw+Pj4p4lEYruLZWeqa2o2xmKxIXvCb487Tm3fsdeDAAAAAElFTkSuQmCC",ze=te(28103),Me=te(85149),ye=te(3294),re=(Ee,Ae,Ze)=>new Promise((ft,De)=>{var Ue=nt=>{try{Ge(Ze.next(nt))}catch(et){De(et)}},je=nt=>{try{Ge(Ze.throw(nt))}catch(et){De(et)}},Ge=nt=>nt.done?ft(nt.value):Promise.resolve(nt.value).then(Ue,je);Ge((Ze=Ze.apply(Ee,Ae)).next())});const a=({user:Ee,item:Ae,getdata:Ze,params:ft})=>{var De;const Ue=(0,z.useRef)(),[je,Ge]=(0,z.useState)(),[nt,et]=(0,z.useState)(!0);return(0,z.useEffect)(()=>{if(!Ue.current)return;function ht(){var Qt;let Je=new ResizeObserver(it=>{for(let Bt of it)console.log("----",Bt,it),Ge(Bt.target.offsetHeight>=52)});return Je.observe((Qt=Ue.current)==null?void 0:Qt.firstElementChild),Je}const Rt=ht();return()=>{var Qt,Je;(Qt=Ue.current)!=null&&Qt.firstElementChild&&Rt.unobserve((Je=Ue.current)==null?void 0:Je.firstElementChild)}},[Ue.current]),z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${ft.coursesId}/program_homework/${ft.categoryId}/answer/${Ae.id}/detail`)},style:{padding:"0px 20px",cursor:"pointer"}},z.createElement("div",{className:He.Z.titles,style:{fontWeight:600,fontSize:18,color:"#000000"}},Ae.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:`${ye.Z.IMG_SERVER}/images/${Ae.author.image_url}`}),z.createElement("span",{style:{margin:"0px 12px 0px 8px"}},(De=Ae==null?void 0:Ae.author)==null?void 0:De.name),z.createElement("span",null,"\u53D1\u8868\u4E8E",Ae.created_at)),z.createElement("div",null,z.createElement("span",{style:{color:"#5F6368",cursor:"pointer"},onClick:()=>{}},"\u56DE\u590D\uFF08",(Ae==null?void 0:Ae.descendants_count)||0,"\uFF09"),(0,Ie.eB)()&&z.createElement("span",{onClick:ht=>re(void 0,null,function*(){ht.stopPropagation(),(yield(0,ie.ZP)(`/api/hack_messages/${Ae.id}/update_public`,{method:"post"})).status===0&&Ze()}),style:{color:"#44D7B6",cursor:"pointer",marginLeft:20}},Ae.is_public?"\u53D6\u6D88\u516C\u5F00":"\u516C\u5F00"))),z.createElement("div",{ref:Ue,style:{margin:"15px 0px",maxHeight:nt?52:"",overflow:"hidden"}},z.createElement(Me.Z,{style:{color:"#434D6C",fontSize:14},value:Ae.content})),(Ae==null?void 0:Ae.hack_identifier)&&z.createElement("span",{onClick:ht=>re(void 0,null,function*(){var Rt;if(ht.stopPropagation(),(0,Ie.dE)())return;let Qt=yield(0,ie.ZP)(`/api/problems/${Ae==null?void 0:Ae.hack_identifier}/start.json`,{method:"get",params:{hack_user_id:(Rt=Ae==null?void 0:Ae.author)==null?void 0:Rt.id}});Qt&&(window.open(`/myproblems/${Qt==null?void 0:Qt.identifier}?type=1`),localStorage.setItem("program_homework",[ft.coursesId,ft.categoryId]))}),className:He.Z.tips},Ae==null?void 0:Ae.hack_name),je&&z.createElement("div",{onClick:ht=>{ht.stopPropagation(),et(!nt)}},z.createElement(ze.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},z.createElement("a",{className:`font14 ${He.Z.color999}`},nt?"\u9605\u8BFB\u5168\u6587 ":"\u6536\u8D77\u5168\u6587 ",z.createElement("i",{className:`iconfont font14 ${nt?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`})))))};var y=(0,se.connect)(({user:Ee})=>({user:Ee}))(a),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ae=(Ee,Ae,Ze)=>Ae in Ee?b(Ee,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Ee[Ae]=Ze,ue=(Ee,Ae)=>{for(var Ze in Ae||(Ae={}))ne.call(Ae,Ze)&&ae(Ee,Ze,Ae[Ze]);if(ee)for(var Ze of ee(Ae))oe.call(Ae,Ze)&&ae(Ee,Ze,Ae[Ze]);return Ee},me=(Ee,Ae)=>E(Ee,x(Ae)),fe=(Ee,Ae,Ze)=>new Promise((ft,De)=>{var Ue=nt=>{try{Ge(Ze.next(nt))}catch(et){De(et)}},je=nt=>{try{Ge(Ze.throw(nt))}catch(et){De(et)}},Ge=nt=>nt.done?ft(nt.value):Promise.resolve(nt.value).then(Ue,je);Ge((Ze=Ze.apply(Ee,Ae)).next())});const Pe=({user:Ee})=>{var Ae,Ze,ft,De;let[Ue,je]=(0,z.useState)(me(ue({},(0,se.useParams)()),{page:1,per_page:10,type:1,sort_by:"",course_group:(0,Ie.dE)()?[Ee.userInfo.course.course_group_id]:[]}));const[Ge,nt]=(0,z.useState)([]);(0,z.useEffect)(()=>{et()},[]);function et(){return fe(this,null,function*(){let ht=yield(0,ie.ZP)(`/api/homework_commons/${Ue.categoryId}/hack_messages`,{method:"get",params:me(ue({},Ue),{type:1})});nt(ht)})}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(ve.default,{tabBarStyle:{padding:"0px 10px"},style:{width:"850px"},tabBarExtraContent:(0,Ie.dE)()&&z.createElement(Ne.ZP,{type:"primary",style:{width:88},onClick:()=>{se.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/add`)}},"\u53D1\u8868\u7B54\u7591 "),onChange:ht=>{ht==="1"?Ue.sort_by="":Ue.sort_by="created_at",je(ue({},Ue)),et()}},z.createElement(ve.default.TabPane,{key:"1",tab:"\u6700\u65B0\u56DE\u590D"}),z.createElement(ve.default.TabPane,{key:"2",tab:"\u6700\u65B0\u53D1\u8868"})),((Ae=Ge==null?void 0:Ge.data)==null?void 0:Ae.length)<=0&&z.createElement(qe.Z,{customText:"\u6682\u65E0\u8BA8\u8BBA"}),(Ze=Ge==null?void 0:Ge.data)==null?void 0:Ze.map(ht=>z.createElement(y,{item:ht,params:Ue,getdata:et})),z.createElement("div",{style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(be.Z,{current:Ue.page,pageSize:Ue.per_page,total:Ge==null?void 0:Ge.count,hideOnSinglePage:!0,onChange:(ht,Rt)=>{Ue.page=ht,Ue.per_page=Rt,je(ue({},Ue)),et()}}))),z.createElement("div",{className:He.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:ke})," "),(0,Ie.GJ)()&&z.createElement(Ne.ZP,{type:"primary",onClick:()=>{se.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/add`)}},"\u53D1\u5E03\u5E7F\u64AD")),((ft=Ge==null?void 0:Ge.radio_messages)==null?void 0:ft.length)<=0&&z.createElement(qe.Z,null),(De=Ge==null?void 0:Ge.radio_messages)==null?void 0:De.map(ht=>z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/${ht.id}/detail`)},style:{marginTop:30,cursor:"pointer"}},z.createElement("div",{className:He.Z.title,style:{fontSize:"16px",fontWeight:600}},z.createElement("span",{style:{color:(ht==null?void 0:ht.message_type)===2?"#4C7BE6":"#E17E7E"}},(ht==null?void 0:ht.message_type)===2?"\u3010\u9898\u89E3\u3011":"\u3010\u901A\u77E5\u3011"),z.createElement("span",{title:ht.name},ht.name)),z.createElement("div",{style:{marginTop:15,color:"#5F6368"}},"\u53D1\u8868\u4E8E",ht.created_at))))))};var xe=(0,se.connect)(({user:Ee})=>({user:Ee}))(Pe)},33441:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return me}});var z=te(59301),se={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},ve=Object.defineProperty,Ne=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,ie=(fe,Pe,xe)=>Pe in fe?ve(fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[Pe]=xe,qe=(fe,Pe)=>{for(var xe in Pe||(Pe={}))be.call(Pe,xe)&&ie(fe,xe,Pe[xe]);if(Ne)for(var xe of Ne(Pe))Ie.call(Pe,xe)&&ie(fe,xe,Pe[xe]);return fe};const He=fe=>React.createElement("svg",qe({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},fe),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 ke="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",ze=te(99313),Me=te(92310),ye=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=(fe,Pe,xe)=>Pe in fe?a(fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[Pe]=xe,oe=(fe,Pe)=>{for(var xe in Pe||(Pe={}))x.call(Pe,xe)&&ne(fe,xe,Pe[xe]);if(E)for(var xe of E(Pe))ee.call(Pe,xe)&&ne(fe,xe,Pe[xe]);return fe},ae=(fe,Pe)=>y(fe,b(Pe)),me=({dataSource:fe,className:Pe,style:xe})=>{const[Ee,Ae]=(0,z.useState)([]),[Ze,ft]=(0,z.useState)(""),De=(0,z.useRef)("");(0,z.useEffect)(()=>{if(fe!=null&&fe.length){const Ge=String(Math.random()).slice(-6),nt=fe.map(et=>ae(oe({},et),{key:`${Ge}-${et.key}`}));Ae(nt),ft(nt[0].key)}},[fe.length]);const Ue=Ge=>{ft(Ge),De.current=Ge;const nt=document.getElementById(Ge);if(nt){const et=nt.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:et,behavior:"smooth"})}},je=()=>{const Ge=Ee.map(et=>document.getElementById(et.key)),nt=window.innerHeight/2;for(const et of Ge)if(et){const ht=et.getBoundingClientRect();if(ht.top>=0&&ht.top(window.addEventListener("scroll",je),()=>{window.removeEventListener("scroll",je)}),[Ee]),re.createElement("div",{className:ye()(se.anchorNavigation,Pe),style:xe},re.createElement(ze.default,{items:Ee,tabBarGutter:60,className:se.tabs,activeKey:Ze,onChange:Ue}),Ee.map(Ge=>re.createElement("div",{key:Ge.key,id:Ge.key,className:se.box},re.createElement("div",{className:se.head},re.createElement("img",{className:"mr10",src:ke,alt:"Dot"}),Ge.label),re.createElement("div",{className:se.element},Ge.element))))}},16938:function(bt,Pt,te){"use strict";var z=te(59301),se=te(43418),ve=te(8591),Ne=te(99064),be=te(89070),Ie=Object.defineProperty,ie=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,ke=(a,y,b)=>y in a?Ie(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,ze=(a,y)=>{for(var b in y||(y={}))qe.call(y,b)&&ke(a,b,y[b]);if(ie)for(var b of ie(y))He.call(y,b)&&ke(a,b,y[b]);return a},Me=(a,y)=>{var b={};for(var E in a)qe.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&&He.call(a,E)&&(b[E]=a[E]);return b},ye=(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:()=>ye(void 0,null,function*(){(yield(0,Ne.ZP)(`/api/myshixuns/${b.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ee.coursesId}})).shixun_identifier&&(ve.ZP.success("\u64CD\u4F5C\u6210\u529F"),E({type:"shixunHomeworks/setActionTabs",payload:{}}),E({type:"shixunHomeworks/getWorkList",payload:ze({},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?"))};Pt.Z=(0,be.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(re)},83992:function(bt,Pt,te){"use strict";te.d(Pt,{n:function(){return Ft},Z:function(){return mn}});var z=te(59301),se=te(78241),ve=te(8591),Ne=te(6848),be=te(43418),Ie=te(20834),ie=te(24905),qe=te(95237),He=te(43604),ke=te(92832),ze=te(3113),Me=te(38854),ye=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(8797),oe=te(955),ae=te(16938),ue=te(96512),me=te(99064),fe=te(89070),Pe=Object.defineProperty,xe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Ze=(lt,At,Et)=>At in lt?Pe(lt,At,{enumerable:!0,configurable:!0,writable:!0,value:Et}):lt[At]=Et,ft=(lt,At)=>{for(var Et in At||(At={}))Ee.call(At,Et)&&Ze(lt,Et,At[Et]);if(xe)for(var Et of xe(At))Ae.call(At,Et)&&Ze(lt,Et,At[Et]);return lt},De=(lt,At)=>{var Et={};for(var nn in lt)Ee.call(lt,nn)&&At.indexOf(nn)<0&&(Et[nn]=lt[nn]);if(lt!=null&&xe)for(var nn of xe(lt))At.indexOf(nn)<0&&Ae.call(lt,nn)&&(Et[nn]=lt[nn]);return Et},Ue=(lt,At,Et)=>new Promise((nn,Ut)=>{var sn=an=>{try{hn(Et.next(an))}catch(Un){Ut(Un)}},_n=an=>{try{hn(Et.throw(an))}catch(Un){Ut(Un)}},hn=an=>an.done?nn(an.value):Promise.resolve(an.value).then(sn,_n);hn((Et=Et.apply(lt,At)).next())});const je=lt=>{var At=lt,{shixunHomeworks:Et,dispatch:nn}=At,Ut=De(At,["shixunHomeworks","dispatch"]);const sn=(0,fe.useParams)(),[_n,hn]=(0,z.useState)(!0),[an,Un]=(0,z.useState)(!1),[Ht]=se.default.useForm(),Zt=()=>Ue(void 0,null,function*(){const qt=Ht.getFieldValue();(yield(0,me.ZP)(`/api/homework_commons/${sn.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...Et.actionTabs.selectArrs],cover_all:_n,hidden_comment:qt.hidden_comment,comment:qt.comment}})).status===0&&(ve.ZP.success("\u8BC4\u9605\u6210\u529F"),Ht.resetFields(),nn({type:"shixunHomeworks/setActionTabs",payload:{}}),nn({type:"shixunHomeworks/getWorkList",payload:ft({},Et.actionTabs.params)}))});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:Et.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){const qt=Ht.getFieldValue();JSON.stringify(qt)==="{}"||qt.hidden_comment===""&&qt.comment===""?Un(!0):Et.workList.partial_comment?nn({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:Et.actionTabs.selectArrs,params:Et.actionTabs.params}}):Zt()}),onCancel:()=>{nn({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:Ht,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(ke.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(ke.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:Et.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Zt()},onCancel:()=>{nn({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:qt=>{hn(qt.target.value)},value:_n},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 Ge=(0,fe.connect)(({shixunHomeworks:lt})=>({shixunHomeworks:lt}))(je),nt=te(36708),et=te(24065),ht={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,Qt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,it=(lt,At)=>{var Et={};for(var nn in lt)Qt.call(lt,nn)&&At.indexOf(nn)<0&&(Et[nn]=lt[nn]);if(lt!=null&&Rt)for(var nn of Rt(lt))At.indexOf(nn)<0&&Je.call(lt,nn)&&(Et[nn]=lt[nn]);return Et},Bt=(lt,At,Et)=>new Promise((nn,Ut)=>{var sn=an=>{try{hn(Et.next(an))}catch(Un){Ut(Un)}},_n=an=>{try{hn(Et.throw(an))}catch(Un){Ut(Un)}},hn=an=>an.done?nn(an.value):Promise.resolve(an.value).then(sn,_n);hn((Et=Et.apply(lt,At)).next())});const Mt=lt=>{var At=lt,{shixunHomeworks:Et,dispatch:nn}=At,Ut=it(At,["shixunHomeworks","dispatch"]),sn,_n,hn,an;const Un=(0,fe.useParams)(),[Ht,Zt]=(0,z.useState)(!1),[qt,wa]=(0,z.useState)((_n=(sn=Et.actionTabs.selectArrs)==null?void 0:sn.data)==null?void 0:_n.name),[qn]=se.default.useForm();(0,z.useEffect)(()=>{var ja,Ia,Dr,yr,Zn,yt;Et.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&qn.setFieldsValue({comment:(Ia=(ja=Et.actionTabs.selectArrs)==null?void 0:ja.data)==null?void 0:Ia.work_comment,hidden_comment:(yr=(Dr=Et.actionTabs.selectArrs)==null?void 0:Dr.data)==null?void 0:yr.work_comment_hidden}),wa((yt=(Zn=Et.actionTabs.selectArrs)==null?void 0:Zn.data)==null?void 0:yt.name)},[Et.actionTabs.key]);const Tn=()=>Bt(void 0,null,function*(){var ja,Ia;const Dr=qn.getFieldValue();if((yield(0,me.ZP)(`/api/student_works/${(Ia=(ja=Et.actionTabs.selectArrs)==null?void 0:ja.data)==null?void 0:Ia.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Dr.hidden_comment,comment:Dr.comment}})).status===0)return ve.ZP.success("\u8BC4\u9605\u6210\u529F"),qn.resetFields(),nn({type:"shixunHomeworks/setActionTabs",payload:{}}),nn({type:"shixunHomeworks/getWorkList",payload:Un})});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:(an=(hn=Et.actionTabs.selectArrs)==null?void 0:hn.data)!=null&&an.work_comment_hidden?"\u66F4\u6539"+qt+"\u70B9\u8BC4":qt+"\u70B9\u8BC4",open:Et.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Bt(void 0,null,function*(){const ja=qn.getFieldValue();JSON.stringify(ja)==="{}"||ja.hidden_comment===""&&ja.comment===""?Zt(!0):Tn()}),onCancel:()=>{nn({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:qn,onChange:()=>{Ht&&Zt(!1)}},z.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"comment"},z.createElement(ke.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(ke.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Ht&&z.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var St=(0,fe.connect)(({shixunHomeworks:lt})=>({shixunHomeworks:lt}))(Mt),cn=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Yt=(lt,At)=>{var Et={};for(var nn in lt)Fe.call(lt,nn)&&At.indexOf(nn)<0&&(Et[nn]=lt[nn]);if(lt!=null&&cn)for(var nn of cn(lt))At.indexOf(nn)<0&&$t.call(lt,nn)&&(Et[nn]=lt[nn]);return Et},vt=(lt,At,Et)=>new Promise((nn,Ut)=>{var sn=an=>{try{hn(Et.next(an))}catch(Un){Ut(Un)}},_n=an=>{try{hn(Et.throw(an))}catch(Un){Ut(Un)}},hn=an=>an.done?nn(an.value):Promise.resolve(an.value).then(sn,_n);hn((Et=Et.apply(lt,At)).next())});const tn=lt=>{var At=lt,{shixunHomeworks:Et,dispatch:nn}=At,Ut=Yt(At,["shixunHomeworks","dispatch"]);const sn=(0,fe.useParams)(),[_n,hn]=(0,z.useState)([]),[an,Un]=(0,z.useState)([]);(0,z.useEffect)(()=>{Et.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&Ht()},[Et.actionTabs.key]);function Ht(){return vt(this,null,function*(){const qt=yield(0,me.ZP)(`/api/homework_commons/${sn.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});hn(qt)})}const Zt=[{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:Et.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>vt(void 0,null,function*(){const qt=yield(0,me.ZP)(`/api/homework_commons/${sn.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:an}});(qt==null?void 0:qt.status)===0&&(fe.history.replace(`/classrooms/${sn.coursesId}/shixun_homework/${sn.categoryId}/detail?tabs=4`),window.location.reload(),nn({type:"shixunHomeworks/setActionTabs",payload:{}}),Un([]))}),onCancel:()=>{Un([]),nn({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(ye.default,{rowSelection:{type:"checkbox",onChange:(qt,wa)=>{Un([...qt])},selectedRowKeys:an,getCheckboxProps:qt=>({disabled:qt.status==="\u8FDB\u884C\u4E2D"||qt.works_count===0})},rowKey:qt=>qt.key||qt.id,scroll:{y:300},pagination:!1,columns:Zt,dataSource:_n==null?void 0:_n.group_list})))};var dt=(0,fe.connect)(({shixunHomeworks:lt})=>({shixunHomeworks:lt}))(tn),ct=te(12290),rt=te(78297),Oe=Object.defineProperty,pt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,he=(lt,At,Et)=>At in lt?Oe(lt,At,{enumerable:!0,configurable:!0,writable:!0,value:Et}):lt[At]=Et,Ke=(lt,At)=>{for(var Et in At||(At={}))ut.call(At,Et)&&he(lt,Et,At[Et]);if(pt)for(var Et of pt(At))Be.call(At,Et)&&he(lt,Et,At[Et]);return lt},Ye=(lt,At,Et)=>new Promise((nn,Ut)=>{var sn=an=>{try{hn(Et.next(an))}catch(Un){Ut(Un)}},_n=an=>{try{hn(Et.throw(an))}catch(Un){Ut(Un)}},hn=an=>an.done?nn(an.value):Promise.resolve(an.value).then(sn,_n);hn((Et=Et.apply(lt,At)).next())});const we=({shixunHomeworks:lt,dispatch:At,isShow:Et,setIsShow:nn,item:Ut,coursesId:sn,categoryId:_n})=>{const[hn,an]=(0,z.useState)({page:1,limit:10}),[Un,Ht]=(0,z.useState)([]),[Zt,qt]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Et&&wa()},[Et]);function wa(){return Ye(this,null,function*(){qt(!0);const Tn=yield(0,me.ZP)(`/api/student_works/${Ut.id}/game_details.json`,{method:"get",params:Ke({},hn)});qt(!1),Tn.status===0&&Ht(Tn==null?void 0:Tn.data)})}const qn=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(Tn,ja,Ia)=>z.createElement("span",{style:{color:"#000"}},hn.limit*(hn.page-1)+Ia+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(Tn,ja,Ia)=>z.createElement("span",{style:{color:"#000"}},Tn)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(Tn,ja,Ia)=>z.createElement("span",null,Tn==0?"\u672A\u901A\u5173":Tn==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:(Tn,ja,Ia)=>z.createElement("span",{style:{color:"#333"}},Tn)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(Tn,ja,Ia)=>z.createElement("span",{style:{color:"#333"}},Tn)}];return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:Et,width:700,footer:null,maskClosable:!1,onCancel:()=>{hn.page=1,hn.limit=10,an(Ke({},hn)),nn(!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:Ut==null?void 0:Ut.user_name,style:{color:"#232B40"}},Ut==null?void 0:Ut.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:Ut==null?void 0:Ut.student_id,style:{color:"#232B40"}},(Ut==null?void 0:Ut.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:Ut==null?void 0:Ut.group_name,style:{color:"#232B40"}},(Ut==null?void 0:Ut.group_name)||"--"))),z.createElement(ye.default,{scroll:{y:380},columns:qn,loading:Zt,style:{marginBottom:hn.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:hn.limit,current:hn.page,position:["bottomRight"],onChange:(Tn,ja)=>{hn.page=Tn,hn.limit=ja,an(Ke({},hn)),wa()},total:Un==null?void 0:Un.count,showTotal:(Tn,ja)=>z.createElement("span",null,"\u5171",z.createElement("span",{style:{color:"#165DFF"}}," ",Tn," "),"\u6761\u6570\u636E")}})))};var gt=(0,fe.connect)(({shixunHomeworks:lt})=>({shixunHomeworks:lt}))(we),$e=te(59301),Kt=Object.defineProperty,Se=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,Le=(lt,At,Et)=>At in lt?Kt(lt,At,{enumerable:!0,configurable:!0,writable:!0,value:Et}):lt[At]=Et,We=(lt,At)=>{for(var Et in At||(At={}))ot.call(At,Et)&&Le(lt,Et,At[Et]);if(Se)for(var Et of Se(At))wt.call(At,Et)&&Le(lt,Et,At[Et]);return lt},st=(lt,At,Et)=>new Promise((nn,Ut)=>{var sn=an=>{try{hn(Et.next(an))}catch(Un){Ut(Un)}},_n=an=>{try{hn(Et.throw(an))}catch(Un){Ut(Un)}},hn=an=>an.done?nn(an.value):Promise.resolve(an.value).then(sn,_n);hn((Et=Et.apply(lt,At)).next())});const Ft=({value:lt,placeholder:At=""})=>{if(lt==null||lt==="")return $e.createElement("span",null,At);{const Et=Number(lt);if(Et>=80)return $e.createElement("span",{style:{color:"#009C0F"}},Et);if(Et<80&&Et>=60)return $e.createElement("span",{style:{color:"#FA6400"}},Et);if(Et<60)return $e.createElement("span",{style:{color:"#E30000"}},Et)}},Wt=({shixunHomeworks:lt,classroomList:At,globalSetting:Et,loading:nn,dispatch:Ut,setExportParams:sn,user:_n})=>{var hn,an,Un,Ht,Zt,qt,wa,qn,Tn,ja,Ia,Dr;const yr=(0,fe.useParams)(),[Zn,yt]=(0,z.useState)(We(We({},{page:1,limit:20,order:"work_score",b_order:"desc"}),yr)),[It]=se.default.useForm(),[Lt,zn]=(0,z.useState)(),[kt,ma]=(0,z.useState)({}),[ao,pr]=(0,z.useState)([]),[_r,qr]=(0,z.useState)(!1),[_a,Rn]=(0,z.useState)([]),[sr,Ua]=(0,z.useState)(!1),[hr,tr]=(0,z.useState)(),[mt,dn]=(0,z.useState)(1),[rn,Sn]=(0,z.useState)(),[Nn,fn]=(0,z.useState)(),[On,An]=(0,z.useState)(),[Va,Ka]=(0,z.useState)(),[gn,uo]=(0,z.useState)(),[oo,eo]=(0,z.useState)(!1),[Io,Xn]=(0,z.useState)(!1),[Ma,or]=(0,z.useState)(),Pa=(0,fe.useLocation)();(0,z.useEffect)(()=>(Er(),()=>{ma([]),pr([])}),[Zn.coursesId]),(0,z.useEffect)(()=>{var Hn;const nr=JSON.parse(JSON.stringify(lt.workList));!((Hn=nr==null?void 0:nr.student_works)!=null&&Hn.length)&&(nr!=null&&nr.id)?(nr.student_works=[We({},nr)],ma(nr)):(nr!=null&&nr.id&&pr([We(We({},nr),{number:"\u6211"})]),ma(We({},nr)))},[lt.workList]);const Er=Hn=>(sn(We({},Zn)),Ut({type:"shixunHomeworks/getWorkList",payload:Zn}));(0,z.useEffect)(()=>{Ut({type:"user/getUserInfo",payload:{course_id:Zn.coursesId}})},[]);const Qr=()=>st(void 0,null,function*(){const Hn=yield(0,nt.Uc)({categoryId:yr.categoryId});zn(Hn==null?void 0:Hn.update_score)}),Cr=()=>st(void 0,null,function*(){Ut({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const Hn=yield(0,nt.Vs)({categoryId:yr.categoryId});Ut({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(Hn==null?void 0:Hn.status)===0&&(ve.ZP.success(Hn==null?void 0:Hn.message),Er())}),fo=()=>{Zn.page=1;const Hn=Object.assign({},It.getFieldsValue());delete Zn.course_group,delete Zn.teacher_comment,Object.keys(Hn).map(function(nr){var jr;switch(nr){case"task_status":Hn[nr].includes("all")||!Hn[nr].length?(delete Zn.work_status,It.setFieldsValue({task_status:"all"})):(Zn.work_status=Hn[nr],It.setFieldsValue({task_status:Zn.work_status}));break;case"course_group_info":Hn[nr].includes("all")||!Hn[nr].length?(delete Zn.course_group,It.setFieldsValue({course_group_info:"all"})):(Zn.course_group=Hn[nr],It.setFieldsValue({course_group_info:Zn.course_group}));break;case"teacher_comment":Hn[nr].includes("all")||!Hn[nr].length?(delete Zn.teacher_comment,It.setFieldsValue({teacher_comment:"all"})):(Zn.teacher_comment=((jr=Hn[nr])==null?void 0:jr.length)===1?Number(Hn[nr][0]):"",It.setFieldsValue({teacher_comment:Hn[nr]}));break}}),Er()};(0,z.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(uo(47),eo(!0))},[document.getElementById("divhe")]);const Ao=(Hn,nr)=>{Zn.page=Hn,Zn.limit=20,Er()};function Ei(){dn(1),Sn(""),fn(""),An(""),Ka(""),Rn([])}const Fi=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(Hn,nr,jr)=>Zn.limit*(Zn.page-1)+jr+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:Hn=>$e.createElement(Ne.Z,{placement:"bottomLeft",title:Hn},$e.createElement("span",{className:"current"},Hn))},!(0,et.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:Zn.order==="student_id"?Zn.b_order==="desc"?"descend":"ascend":null,render:Hn=>$e.createElement(Ne.Z,{placement:"bottomLeft",title:Hn||"--"},$e.createElement("span",{className:"current"},Hn||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(Hn,nr)=>Hn?$e.createElement(Ne.Z,{placement:"bottom",title:Hn},$e.createElement("span",{className:"current"},Hn)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:Zn.order==="work_status"?Zn.b_order==="desc"?"descend":"ascend":null,render:Hn=>$e.createElement(oe.lC,{status:Hn})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:Zn.order==="achieve_time"?Zn.b_order==="desc"?"descend":"ascend":null,render:(Hn,nr)=>$e.createElement(Ne.Z,{placement:"bottomLeft",title:Hn},$e.createElement("span",{className:"current"},Hn))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(Hn,nr)=>$e.createElement("span",{onClick:jr=>{var Jo;jr.stopPropagation(),(Jo=kt.homework_status)!=null&&Jo.includes("\u5BFC\u5165")&&(or(nr),Xn(!0))}},Hn||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:Zn.order==="work_score"?Zn.b_order==="desc"?"descend":"ascend":null,render:(Hn,nr)=>$e.createElement(Ne.Z,{title:$e.createElement($e.Fragment,null,$e.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(nr==null?void 0:nr.late_final_score)||0),$e.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(nr==null?void 0:nr.late_penalty)||0),$e.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(nr==null?void 0:nr.score)||0))},Ft({value:Hn,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:Zn.order==="achieve_time_long"?Zn.b_order==="desc"?"descend":"ascend":null,render:(Hn,nr)=>Hn&&Hn!="--"?$e.createElement(Ne.Z,{placement:"bottom",title:Hn},$e.createElement("span",{className:"current"},Hn)):"--"},((hn=kt.homework_status)==null?void 0:hn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((an=kt.homework_status)!=null&&an.includes("\u5BFC\u5165"))&&{title:$e.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:Hn=>Hn?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(Hn,nr)=>{var jr;return(jr=kt.homework_status)!=null&&jr.includes("\u5BFC\u5165")?(0,et.GJ)()?$e.createElement("a",{onClick:Jo=>{Jo.stopPropagation(),Ut({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:nr==null?void 0:nr.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):$e.createElement("a",{onClick:Jo=>{Jo.stopPropagation(),or(nr),Xn(!0)}},"\u67E5\u770B"):(0,et.dE)()?$e.createElement("div",null,(0,oe.JL)(nr==null?void 0:nr.work_status)==="\u672A\u5F00\u542F"?$e.createElement("span",null,"--"):$e.createElement("a",{onClick:Jo=>{var $o;if(Jo.stopPropagation(),(0,et.Rm)()&&!(($o=At.AssistantObject.hack)!=null&&$o.can_view)){ve.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/${Zn.coursesId}/program_homework/${Zn.categoryId}/${nr.id}/${nr.user_id}/comment`,"_blank")}},"\u67E5\u770B")):$e.createElement("a",{target:"_blank",onClick:Jo=>{var $o,No;if(Jo.stopPropagation(),(0,et.Rm)()&&!(($o=At.AssistantObject.hack)!=null&&$o.can_view)){ve.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((No=_n.userInfo)!=null&&No.professional_certification)window.open(`/classrooms/${Zn.coursesId}/program_homework/${Zn.categoryId}/${nr.id}/${nr.user_id}/comment`,"_blank");else return be.default.confirm({title:"\u63D0\u793A",centered:!0,content:$e.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(Hn=>!!Hn),Ci=()=>{var Hn,nr;return $e.createElement(Ie.default,null,$e.createElement(Ie.default.Item,{onClick:()=>{var jr;if((0,et.Rm)()&&!((jr=At.AssistantObject.hack)!=null&&jr.can_download)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ut({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:kt==null?void 0:kt.course_group_info,fn:()=>{(0,rt.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,et.GJ)()&&((Hn=kt==null?void 0:kt.student_works)==null?void 0:Hn.length)>0&&!((nr=kt==null?void 0:kt.homework_status)!=null&&nr.includes("\u5BFC\u5165"))&&$e.createElement(Ie.default.Item,{key:"3",onClick:()=>{var jr;if((0,et.Rm)()&&!((jr=At.AssistantObject.hack)!=null&&jr.can_download)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ut({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:kt==null?void 0:kt.course_group_info,fn:()=>{var Jo,$o,No,vi;Ut({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),fe.history.push(`/classrooms/${Zn==null?void 0:Zn.coursesId}/program_homework/${Zn.categoryId}/${($o=(Jo=kt==null?void 0:kt.student_works)==null?void 0:Jo[0])==null?void 0:$o.id}/${(vi=(No=kt==null?void 0:kt.student_works)==null?void 0:No[0])==null?void 0:vi.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),$e.createElement(Ie.default.Item,{key:"2",onClick:()=>{var jr;if((0,et.Rm)()&&!((jr=At.AssistantObject.hack)!=null&&jr.can_download)){ve.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}fe.history.push(`/classrooms/${Zn.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return $e.createElement($e.Fragment,null,$e.createElement("section",{className:`${ht.wrap} minH500 bg-white pl30 pr30 pt30`},((Un=kt.homework_status)==null?void 0:Un.includes("\u672A\u53D1\u5E03"))&&$e.createElement(ne.Z,null),!((Ht=kt.homework_status)!=null&&Ht.includes("\u672A\u53D1\u5E03"))&&$e.createElement("aside",null,!(0,et.GJ)()&&$e.createElement("div",{className:"c-light-black font12"},$e.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",kt==null?void 0:kt.publish_time),$e.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",kt==null?void 0:kt.end_time),$e.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(kt==null?void 0:kt.late_time)||"- -")),(0,et.GJ)()&&$e.createElement($e.Fragment,null,$e.createElement(se.default,{form:It,onChange:fo,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Zt=kt.task_status)==null?void 0:Zt.length)>0&&$e.createElement(se.default.Item,{name:"task_status"},$e.createElement(ie.default.Group,{value:[],style:{width:"100%"}},$e.createElement(qe.Z,null,$e.createElement(He.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),$e.createElement(He.Z,{flex:"80px"},$e.createElement(ie.default,{value:"all"},"\u5168\u90E8")),$e.createElement(He.Z,{flex:"1"},kt.task_status&&kt.task_status.map((Hn,nr)=>$e.createElement(ie.default,{name:"task_status",value:Hn.id},Hn.name,"(",Hn.count,")")))))),((qt=kt.course_group_info)==null?void 0:qt.length)>0&&$e.createElement(se.default.Item,{name:"course_group_info"},$e.createElement(ie.default.Group,{style:{width:"100%"}},$e.createElement(qe.Z,null,$e.createElement(He.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),$e.createElement(He.Z,{flex:"80px"},$e.createElement(ie.default,{value:"all"},"\u5168\u90E8")),$e.createElement(He.Z,{flex:"1",id:"divhe",style:{height:gn+"px",overflow:"hidden"}},(wa=kt.course_group_info)==null?void 0:wa.map((Hn,nr)=>$e.createElement(ie.default,{value:Hn.course_group_id},Hn.group_group_name,"(",Hn.count,")"))),oo&&$e.createElement("span",{onClick:()=>{let Hn=document.getElementById("divhe").scrollHeight;gn>47?uo(47):uo(Hn)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},gn===47?"\u5C55\u5F00":"\u6536\u8D77",gn===47?$e.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):$e.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((qn=kt.teacher_comment)==null?void 0:qn.length)>0&&$e.createElement(se.default.Item,{name:"teacher_comment"},$e.createElement(ie.default.Group,{style:{width:"100%"}},$e.createElement(qe.Z,null,$e.createElement(He.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),$e.createElement(He.Z,{flex:"80px"},$e.createElement(ie.default,{value:"all"},"\u5168\u90E8")),$e.createElement(He.Z,{flex:"1"},kt.teacher_comment&&kt.teacher_comment.map((Hn,nr)=>$e.createElement(ie.default,{value:String(Hn.id)},Hn.name,"(",Hn.count,")"))))))),$e.createElement(qe.Z,{align:"middle"},$e.createElement(He.Z,{flex:"1"},$e.createElement(qe.Z,{align:"middle"},$e.createElement(He.Z,null,$e.createElement(ke.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:Hn=>{Zn.search=Hn.trim(),Zn.page=1,Er()},style:{width:240}})),$e.createElement(He.Z,null,$e.createElement("span",{className:"ml5"},$e.createElement("span",{className:"c-red"},kt.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",kt.work_count,"\u4E2A\u5B66\u751F\uFF09")))),$e.createElement(He.Z,null,(0,et.GJ)()&&!((Tn=kt.homework_status)!=null&&Tn.includes("\u5BFC\u5165"))&&$e.createElement(ze.ZP,{className:"ml10",onClick:()=>{Ut({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:kt.student_works.map(Hn=>Hn.id),params:Zn}})}},$e.createElement("span",{className:`${ht.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,et.GJ)()&&!((ja=kt.homework_status)!=null&&ja.includes("\u5BFC\u5165"))&&$e.createElement(ze.ZP,{className:"ml10",onClick:Cr},$e.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,et.GJ)()&&$e.createElement(Me.Z,{dropdownRender:Ci,className:"ml10"},$e.createElement(ze.ZP,null,$e.createElement(x.Z,null),"\u5BFC\u51FA",$e.createElement(ee.Z,null)))))),$e.createElement(qe.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,et.GJ)()&&Lt&&$e.createElement("span",null,$e.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")),$e.createElement(ye.default,{className:`mt30 ${ht.TableDom}`,loading:nn["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:Hn=>({onClick:nr=>{var jr,Jo;if(!((jr=kt.homework_status)!=null&&jr.includes("\u5BFC\u5165"))){if((0,et.Rm)()&&!((Jo=At.AssistantObject.hack)!=null&&Jo.can_view)){ve.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/${Zn.coursesId}/program_homework/${Zn.categoryId}/${Hn.id}/${Hn.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:kt.student_works,columns:Fi,onChange:(Hn,nr,jr)=>{jr.field&&(Zn.order=jr.field==="score"?"work_score":jr.field),jr.order||(Zn.b_order="asc"),jr.order==="ascend"&&(Zn.b_order="asc"),jr.order==="descend"&&(Zn.b_order="desc"),jr.order||(Zn.b_order="asc"),Er()}}),$e.createElement(Ge,null),$e.createElement(St,null),$e.createElement(ae.Z,null)),$e.createElement(be.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:_r,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>st(void 0,null,function*(){if(mt===2){if(_a.length<=0){ve.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!Va){ve.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let Hn=yield(0,me.ZP)(`/api/homework_commons/${Zn.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Zn.categoryId,comment:Va,status:_a}});Hn.status===0&&(tr(Hn),qr(!1),Ua(!0))}else{if(!(On===0||Nn===0)){if(!On){ve.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!Nn){ve.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(On>Nn){ve.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!Va){ve.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let Hn=yield(0,me.ZP)(`/api/homework_commons/${Zn.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Zn.categoryId,comment:Va,min_score:On,max_score:Nn}});Hn.status===0&&(tr(Hn),qr(!1),Ua(!0))}}),onCancel:()=>{qr(!1),Ei()}},$e.createElement("div",{style:{padding:"32px"}},$e.createElement("div",null,$e.createElement("div",null,$e.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),$e.createElement(re.ZP.Group,{value:mt,onChange:Hn=>{dn(Hn.target.value)}},$e.createElement(re.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),$e.createElement(re.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),mt===1&&$e.createElement("div",{style:{display:"flex",marginTop:"20px"}},$e.createElement("span",{style:{width:"70px",textAlign:"end"}},$e.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),$e.createElement(a.Z,{min:0,max:100,value:On,onChange:Hn=>An(Hn),style:{width:"100px"}}),$e.createElement("span",{style:{width:"80px",textAlign:"end"}},$e.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),$e.createElement(a.Z,{min:0,max:100,value:Nn,onChange:Hn=>fn(Hn),style:{width:"100px"}})),mt===2&&$e.createElement("div",{style:{display:"flex",marginTop:"20px"}},$e.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),$e.createElement(ie.default.Group,{onChange:Hn=>{Rn([...Hn])},style:{width:"100%"}},(Ia=kt.task_status)==null?void 0:Ia.map((Hn,nr)=>$e.createElement(ie.default,{name:"task_status",value:Hn.id},Hn.name,"(",Hn.count,")")))),$e.createElement("div",{style:{display:"flex",marginTop:"20px"}},$e.createElement("span",{style:{width:"70px",textAlign:"end"}},$e.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),$e.createElement(ct.Z,{className:ht.MdEditor,onChange:Hn=>Ka(Hn),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),$e.createElement(be.default,{open:sr,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>st(void 0,null,function*(){mt===2?(yield(0,me.ZP)(`/api/homework_commons/${Zn.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Zn.categoryId,comment:Va,status:_a}})).status===0&&(ve.ZP.info("\u6253\u56DE\u6210\u529F"),Ei(),Er(),Ua(!1)):(yield(0,me.ZP)(`/api/homework_commons/${Zn.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Zn.categoryId,comment:Va,min_score:On,max_score:Nn}})).status===0&&(ve.ZP.info("\u6253\u56DE\u6210\u529F"),Ei(),Er(),Ua(!1))}),onCancel:()=>{Ei(),Ua(!1)}},$e.createElement("div",{style:{padding:"32px"}},mt===1&&$e.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",On,"-",Nn,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),mt===2&&$e.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((Dr=kt.task_status)==null?void 0:Dr.filter(Hn=>_a==null?void 0:_a.includes(Hn.id)).map(Hn=>Hn.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),$e.createElement("br",null),$e.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",hr==null?void 0:hr.count,"\u540D\u5B66\u751F")))),$e.createElement(dt,null),$e.createElement(gt,{isShow:Io,setIsShow:Xn,item:Ma,coursesId:Zn.coursesId,categoryId:Zn.categoryId}),$e.createElement("aside",{className:"tc mb50 mt30"},$e.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:Ao,current:Zn.page||1,defaultPageSize:20,total:kt.work_count})))};var mn=(0,fe.connect)(({shixunHomeworks:lt,classroomList:At,globalSetting:Et,loading:nn,user:Ut})=>({shixunHomeworks:lt,classroomList:At,globalSetting:Et,loading:nn.effects,user:Ut}))(Wt)},74020:function(bt,Pt,te){"use strict";te.r(Pt),te.d(Pt,{default:function(){return rl}});var z=te(59301),se=te(99064),ve=te(89070),Ne=te(8591),be=te(43418),Ie=te(3113),ie=te(66104),qe=te(6848),He=te(99313),ke=te(1710),ze=te(27812),Me=te(955),ye=te(85149),re=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Vt,jt,zt)=>jt in Vt?re(Vt,jt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Vt[jt]=zt,x=(Vt,jt)=>{for(var zt in jt||(jt={}))y.call(jt,zt)&&E(Vt,zt,jt[zt]);if(a)for(var zt of a(jt))b.call(jt,zt)&&E(Vt,zt,jt[zt]);return Vt},ee=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).next())});const ne=({shixunHomeworks:Vt,dispatch:jt})=>{const zt=(0,ve.useParams)();return z.createElement(be.default,{centered:!0,title:"\u63D0\u793A",open:Vt.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ee(void 0,null,function*(){(yield jt({type:"shixunHomeworks/deleteReply",payload:{object_id:Vt.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(Ne.ZP.success("\u5220\u9664\u6210\u529F"),jt({type:"shixunHomeworks/setActionTabs",payload:{}}),jt({type:"shixunHomeworks/getReplyList",payload:x({},Vt.actionTabs.params)}))}),onCancel:()=>{jt({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var oe=(0,ve.connect)(({shixunHomeworks:Vt})=>({shixunHomeworks:Vt}))(ne),ae=te(61186),ue=te.n(ae),me=te(3294),fe=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"},Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAgCAYAAACo7RKTAAAAAXNSR0IArs4c6QAAFaNJREFUeF7tXHl8XHW1/557Z5JM0yTtA9qy6dwktMVaKMncAVo2F0Rk0aeg+FCK+tzg8WRR5qYFCdA2dwou+AR9LCpSZVE+ICIi+ACfpOjcSaAthdImudMFCm0hbfZl7u/Ib5KZznJnSdqnrx97/4HOPb/zO7/zO7/fPcv3hACg+xH/NBoaXMnARwjwMeGvxNSqgFZXzSq36AOxIUk3kYcfulDdI1qPJ4iFDF7EwEJiVABoBZV9a9pFWzsnwu8g7UEN7A8NED9RX72np6cNTNOJcB8Thpl5ITHpDK4gohEA7QRaLUCtXqV89dRPx97Mnpwfqq3p4cGTBHgRMUsjPxGMqSAwAS8yaDUResD8aQCHqh7llKoL3ly/PxZxkMdBDZSqAdr9wIyVzHSZonoXVJ92j4P46E0A10OMxkZ2rt46vP1ZEn1ba8G0iMEzJWMCdTFxKxF6IcjDhJOJeR4DCgiDBPwvMVoZVMng0L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Xw3uYDpDnCajq5XT42a7+qdvS1zfPK+sfHsxA5yXpVKa1jWan68GZ7Lj9uWn/CF5rbqg/iuMK58syJaqwu0dz/gaOysQNLR2PykORlDvROaVQ7h9dSluYR8GWyf7dnEL6aWvSThWkZBTJFDhCNsfLcXJ/B0aGMgBrJIQDpWKdW+tjdntWYm7e/uQ8MbD5gvjujo+K/tfnx3vtSqdvM1jEQYonYfRK+SEY2RmBp6oepJYj3tsJdoZkIJNoAPEkD0h1HRTfYTsAegGgVqh4kmadk9Mp848wioNz/vNpwNXgs9XAbz1Rh+He0+PdG86P92890enfOtPZ00FitBdQvfBWyS9AfeIW99TUM9TyV6SPCGA1yjytpbot/3zqP7jiv7cGSjL4nAPQ/ew0DA2e7HSvP1etniv/QI7sI1oNUlejwvcCTf9AsW73v/c6D853UAMJDfwN/F3Fz8TPqaAAAAAASUVORK5CYII=",Ae=te(24065),Ze=te(12290),ft=te(56082),De=te(87954),Ue=te(18257),je=te(83992),Ge=te(19719),nt=te(35241),et=te(44589),ht=te(87395),Rt=te(84105),Qt=Object.defineProperty,Je=Object.defineProperties,it=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,cn=(Vt,jt,zt)=>jt in Vt?Qt(Vt,jt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Vt[jt]=zt,Fe=(Vt,jt)=>{for(var zt in jt||(jt={}))Mt.call(jt,zt)&&cn(Vt,zt,jt[zt]);if(Bt)for(var zt of Bt(jt))St.call(jt,zt)&&cn(Vt,zt,jt[zt]);return Vt},$t=(Vt,jt)=>Je(Vt,it(jt)),Yt=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).next())});ue().locale("ZH-cn");let vt=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const tn=z.createContext({}),dt=()=>{const{setActivatorNodeRef:Vt,listeners:jt}=(0,z.useContext)(tn);return z.createElement(Ie.ZP,Fe({type:"text",size:"small",className:xe.upDownSty,icon:z.createElement(qe.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(ft.Z,null)),style:{cursor:"move"},ref:Vt},jt))},ct=Vt=>{const{attributes:jt,listeners:zt,setNodeRef:Aa,setActivatorNodeRef:Xa,transform:La,transition:Mn,isDragging:Qa}=(0,Ge.nB)({id:Vt["data-row-key"]}),Pn=Fe($t(Fe({},Vt.style),{transform:nt.ux.Translate.toString(La),transition:Mn}),Qa?{position:"relative",zIndex:100}:{}),oa=(0,z.useMemo)(()=>({setActivatorNodeRef:Xa,listeners:zt}),[Xa,zt]);return z.createElement(tn.Provider,{value:oa},z.createElement("tr",Fe($t(Fe({},Vt),{ref:Aa,style:Pn}),jt)))},rt=({shixunHomeworks:Vt,classroomList:jt,globalSetting:zt,user:Aa,loading:Xa,dispatch:La})=>{var Mn,Qa,Pn,oa;const[Tr,Lo]=(0,z.useState)($t(Fe({},(0,ve.useParams)()),{page:1,per_page:10})),[Ra,_o]=(0,z.useState)([]),[Si,ur]=(0,z.useState)(-1),[Uo,Br]=(0,z.useState)(""),[Jn,to]=(0,z.useState)(""),{detailLeftMenus:ii}=jt,va=(0,ve.useLocation)(),[ca,no]=(0,z.useState)({}),{workDetail:Li,workList:kn,workSetting:ea}=Vt,[Sa,pn]=(0,z.useState)("1"),[ga,bn]=(0,z.useState)(!1),[Vr,gr]=(0,z.useState)(!1),[Rr,qo]=(0,z.useState)(""),[mr,vo]=(0,z.useState)(1),Ea=(0,z.useRef)(null),[co,Oo]=(0,z.useState)(!1);(0,z.useEffect)(()=>{kn.homework_status&&xo()},[kn]),(0,z.useEffect)(()=>{Ea.current&&(Ea.current.clientHeight>200?vo(2):vo(4))},[Ra==null?void 0:Ra.description]);function xo(){return Yt(this,null,function*(){var jn,xa,xr;bn(!0);let wr=yield(0,se.ZP)(`/api/courses/${Tr.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:$t(Fe({},Tr),{id:Tr.categoryId})});if(_o(wr),bn(!1),Tr.defaultExpandedRowKeys=[`${(xa=(jn=wr==null?void 0:wr.data)==null?void 0:jn[0])==null?void 0:xa.identifier}`],wr!=null&&wr.hide_description)pn("2");else if(Sa!="2"){if((xr=kn.homework_status)!=null&&xr.includes("\u5BFC\u5165"))return;pn(wr!=null&&wr.description?"1":"2")}Lo(Fe({},Tr))})}const yn=()=>{if(mr===1)return{visibility:"hidden"};if(mr===2)return{overflow:"hidden",height:"200px"};if(mr===3)return{overflow:"initial"};if(mr===4)return{overflow:"initial"}},na=jn=>Yt(void 0,[jn],function*({active:xa,over:xr}){if(xa.id!==(xr==null?void 0:xr.id)&&(xr!=null&&xr.id)){_o(Eo=>{var ei;const Bi=(ei=Eo==null?void 0:Eo.data)==null?void 0:ei.findIndex(qi=>qi.identifier===xa.id),ji=Eo==null?void 0:Eo.data.findIndex(qi=>qi.identifier===(xr==null?void 0:xr.id));return $t(Fe({},Eo),{data:(0,et.Rp)(Eo==null?void 0:Eo.data,Bi,ji)})});let wr=yield(0,se.ZP)(`/api/courses/${Tr==null?void 0:Tr.coursesId}/homework_commons/change_hack_position.json`,{method:"post",body:{id:Tr==null?void 0:Tr.categoryId,origin_identifier:xa==null?void 0:xa.id,target_identifier:xr==null?void 0:xr.id}});(wr==null?void 0:wr.status)==0&&(Ne.ZP.success("\u6392\u5E8F\u6210\u529F"),xo())}}),Na=jn=>Yt(void 0,null,function*(){const xa=()=>Yt(void 0,null,function*(){let wr=yield(0,se.ZP)(`/api/item_banks/${jn}/copy_hack_item.json`,{method:"post"});(wr==null?void 0:wr.status)===0&&Ne.ZP.success("\u52A0\u5165\u8BD5\u9898\u5E93\u6210\u529F\uFF01")});Oo(!0);let xr=yield(0,se.ZP)(`/api/item_banks/${jn}/check_hack_item.json`,{method:"get"});(xr==null?void 0:xr.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:xa}):xa(),Oo(!1)});return z.createElement("section",{className:xe.bg},z.createElement(fe.Z,{spinning:ga},(!(Ra!=null&&Ra.hide_description)||(0,Ae.GJ)())&&z.createElement("section",{className:" edu-container",style:{padding:"20px 20px 0 20px",background:"#fff",position:"relative"}},!Vr&&(0,Ae.GJ)()&&z.createElement("div",{style:{position:"absolute",zIndex:10,right:34,top:30}},(ea==null?void 0:ea.hack_edit_permission)&&z.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{gr(!0)}},z.createElement(qe.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:()=>Yt(void 0,null,function*(){if(!(Ra!=null&&Ra.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:()=>Yt(void 0,null,function*(){let jn=yield(0,se.ZP)(`/api/homework_commons/${Tr==null?void 0:Tr.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(jn==null?void 0:jn.status)==0&&(Ne.ZP.success("\u9690\u85CF\u6210\u529F"),xo())})});else{let jn=yield(0,se.ZP)(`/api/homework_commons/${Tr==null?void 0:Tr.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(jn==null?void 0:jn.status)==0&&(Ne.ZP.success("\u516C\u5F00\u6210\u529F"),xo())}})},z.createElement(qe.Z,{title:Ra!=null&&Ra.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E"},z.createElement("i",{className:"iconfont icon-xianshiyincang font14"}),z.createElement("span",null,Ra!=null&&Ra.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E")))),Vr?z.createElement(z.Fragment,null,z.createElement(Ze.Z,{defaultValue:Ra==null?void 0:Ra.description,watch:!0,height:155,onChange:jn=>{qo(jn)}}),z.createElement("div",{style:{display:"flex"}},z.createElement(Ie.ZP,{size:"middle",type:"primary",className:`${xe.buttonEdit} mr20`,style:{marginLeft:"auto"},htmlType:"submit",onClick:()=>Yt(void 0,null,function*(){vo(1);let jn=yield(0,se.ZP)(`/api/homework_commons/${Tr==null?void 0:Tr.categoryId}/update_description.json`,{method:"post",body:{description:Rr}});(jn==null?void 0:jn.status)==0&&(Ne.ZP.success("\u7F16\u8F91\u6210\u529F"),gr(!1),xo())})},"\u63D0\u4EA4"),z.createElement(Ie.ZP,{size:"middle",type:"primary",ghost:!0,className:xe.buttonEdit,onClick:()=>{gr(!1)}},"\u53D6\u6D88"))):!!(Ra!=null&&Ra.description)&&z.createElement("div",{ref:Ea,className:xe.maskWrap,style:yn()},z.createElement("div",{className:xe.desHead},z.createElement("img",{src:Ee,width:94})),z.createElement(ye.Z,{className:xe.md,value:(Ra==null?void 0:Ra.description)||""}),mr===2&&z.createElement("div",{className:xe.mask},z.createElement("div",{onClick:()=>vo(3)},"\u5C55\u5F00",z.createElement("i",{className:"iconfont icon-zhankai4"}))),mr===3&&z.createElement("div",{className:xe.mask,style:{position:"relative",height:30,background:"transparent",paddingTop:5}},z.createElement("div",{onClick:()=>vo(2)},"\u6536\u8D77",z.createElement("i",{className:"iconfont icon-shouqi5"}))))),(0,Ae.dE)()&&!!(Ra!=null&&Ra.group_name)&&z.createElement("div",{className:xe.info},z.createElement("img",{src:`${me.Z.IMG_SERVER}/images/${(Mn=Ra==null?void 0:Ra.user)==null?void 0:Mn.image_url}`}),z.createElement("div",{className:"ml20",style:{alignItems:"start"}},z.createElement("b",null,(Ra==null?void 0:Ra.name)||""),z.createElement("span",{title:(Ra==null?void 0:Ra.group_name)||"",style:{maxWidth:"130px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-all"}},(Ra==null?void 0:Ra.group_name)||"")),z.createElement(qe.Z,{title:z.createElement(z.Fragment,null,z.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ra==null?void 0:Ra.late_final_score)||0),z.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ra==null?void 0:Ra.late_penalty)||0),z.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ra==null?void 0:Ra.total_score)||0))},z.createElement("div",null,z.createElement("b",null,z.createElement(je.n,{value:Ra==null?void 0:Ra.total_score})),z.createElement("span",null,"\u603B\u6210\u7EE9"))),z.createElement("div",null,z.createElement("b",null,(Ra==null?void 0:Ra.total_time)||"-"),z.createElement("span",null,"\u603B\u8017\u65F6")),z.createElement("div",null,z.createElement("b",{style:{color:"#009C0F"}},Ra==null?void 0:Ra.pass_count),z.createElement("span",null,"\u5DF2\u901A\u8FC7\u6570")),z.createElement("div",null,z.createElement("b",{style:{color:"#FA6400"}},Ra==null?void 0:Ra.doing_count),z.createElement("span",null,"\u8FDB\u884C\u4E2D")),z.createElement("div",null,z.createElement("b",{style:{color:"#E30000"}},Ra==null?void 0:Ra.not_pass_count),z.createElement("span",null,"\u672A\u7B54\u9898\u6570"))),!((Qa=kn.homework_status)!=null&&Qa.includes("\u5BFC\u5165"))&&z.createElement("div",null,z.createElement("section",{className:" edu-container",style:{padding:"20px",background:"#fff"}},(0,Ae.GJ)()&&z.createElement("div",{style:{marginBottom:"10px",fontSize:"12px"}},"\u53EF\u9F20\u6807\u62D6\u62FD\u201C ",z.createElement(ft.Z,null)," \u201D\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"),Tr.defaultExpandedRowKeys&&z.createElement(De.LB,{modifiers:[Ue.DL],onDragEnd:na},z.createElement(Ge.Fo,{items:(Pn=Ra==null?void 0:Ra.data)==null?void 0:Pn.map(jn=>jn==null?void 0:jn.identifier),strategy:Ge.qw},z.createElement(ke.default,{components:{body:{row:ct}},dataSource:Ra==null?void 0:Ra.data,rowKey:jn=>jn==null?void 0:jn.identifier,pagination:!1,expandable:{expandIcon:({expanded:jn,onExpand:xa,record:xr})=>jn?z.createElement(qe.Z,{title:"\u6536\u8D77"},z.createElement(ht.Z,{className:xe.upDownSty,onClick:wr=>xa(xr,wr)})):z.createElement(qe.Z,{title:"\u5C55\u5F00"},z.createElement(Rt.Z,{className:xe.upDownSty,onClick:wr=>xa(xr,wr)})),expandedRowRender:jn=>{var xa;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",jn==null?void 0:jn.name),z.createElement("p",null,"\u63CF\u8FF0\uFF1A",z.createElement(ye.Z,{value:(jn==null?void 0:jn.description)||""})),!(0,Ae.dE)()&&z.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",z.createElement(ye.Z,{style:{fontSize:"14px"},value:(jn==null?void 0:jn.analysis)||"\u6682\u65E0\u89E3\u6790"}))),z.createElement("div",{style:{width:"100%",textAlign:"end"}},(ea==null?void 0:ea.hack_edit_permission)&&z.createElement(Ie.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${jn==null?void 0:jn.identifier}?type=1`),localStorage.setItem("program_homework",[Tr.coursesId,Tr.categoryId])}},"\u7F16\u8F91"),(ea==null?void 0:ea.hack_edit_permission)&&((xa=Ra==null?void 0:Ra.homework_status)==null?void 0:xa.includes("\u672A\u53D1\u5E03"))&&z.createElement(Ie.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:()=>Yt(void 0,null,function*(){let xr=yield(0,se.ZP)(`/api/problems/${jn==null?void 0:jn.identifier}.json`,{method:"delete"});(xr==null?void 0:xr.status)===0&&(Ne.ZP.info("\u5220\u9664\u6210\u529F"),Tr.page=1,xo())})})}},"\u5220\u9664")))},defaultExpandedRowKeys:Tr.defaultExpandedRowKeys},columns:(oa=[(0,Ae.GJ)()&&{key:"sort",align:"center",width:40,render:()=>z.createElement(dt,null)},{title:"\u5E8F\u53F7",dataIndex:"index",ellipsis:!0,key:"index",width:55,render:(jn,xa,xr)=>`${(Tr.page-1)*Tr.per_page+xr+1}`},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,key:"name"},((0,Ae.dE)()||(Ra==null?void 0:Ra.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(jn,xa,xr){return z.createElement("div",null,vt[jn])}},{title:"\u901A\u8FC7\u7387",dataIndex:"pass_rate",key:"pass_rate",width:100,ellipsis:!0},(0,Ae.dE)()&&{title:"\u5F97\u5206",dataIndex:"score",key:"score",render:jn=>{let xa="",xr=Number(jn);return xr>=0&&xr<=60?xa="c-red":xr>=90?xa="c-green":xr>60?xa="c-orange":xa="",z.createElement("span",{className:xa},jn)}},(0,Ae.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:(jn,xa)=>z.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},jn||"--")},(0,Ae.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(jn){return z.createElement(z.Fragment,null,jn===0&&z.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),jn===1&&z.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),jn===2&&z.createElement("span",{style:{color:"#009C0F"}},"\u5DF2\u901A\u8FC7"))}},{title:"\u64CD\u4F5C",dataIndex:"identifier",key:"identifier",width:(0,Ae.GJ)()?280:146,align:"right",render(jn,xa,xr){return z.createElement("div",null,(0,Ae.GJ)()&&z.createElement(Ie.ZP,{type:"link",style:{marginRight:"5px"},loading:co,onClick:()=>Yt(this,null,function*(){Na(xa==null?void 0:xa.id)})},"\u52A0\u5165\u8BD5\u9898\u5E93"),z.createElement("a",{onClick:()=>{var wr;if((0,Ae.Rm)()&&!((wr=jt.AssistantObject.hack)!=null&&wr.can_question_eaderboard)){Ne.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/${Tr.coursesId}/program_homework/${Tr.categoryId}/${jn}/ranking`)}},"\u6392\u884C"),z.createElement("a",{onClick:()=>Yt(this,null,function*(){let wr=yield(0,se.ZP)(`/api/problems/${xa==null?void 0:xa.identifier}/start.json`,{method:"get"});wr&&(window.open(`/myproblems/${wr==null?void 0:wr.identifier}?type=1&backUrl=/classrooms/${Tr.coursesId}/program_homework/${Tr.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Tr.coursesId,Tr.categoryId]))}),className:"ml20"},(0,Ae.GJ)()?"\u4F53\u9A8C":"\u8FDB\u5165\u7B54\u9898"),(ea==null?void 0:ea.hack_edit_permission)&&z.createElement("a",{className:"ml20",onClick:()=>Yt(this,null,function*(){window.open(`/problems/newedit/${xa==null?void 0:xa.identifier}?type=1`),localStorage.setItem("program_homework",[Tr.coursesId,Tr.categoryId])})},"\u7F16\u8F91"))}}])==null?void 0:oa.filter(jn=>!!jn)})))),z.createElement("aside",{style:{padding:"0 20px 20px 20px"}},z.createElement(Pe.Z,{defaultCurrent:1,total:Ra==null?void 0:Ra.count,hideOnSinglePage:!0,showTotal:jn=>z.createElement("span",null,"\u5171",jn,"\u6761"),current:Tr.page||1,pageSize:Tr.per_page||10,onChange:(jn,xa)=>{Tr.page=jn,Tr.per_page=xa,Lo(Fe({},Tr)),xo()}})))),z.createElement(oe,null))};var Oe=(0,ve.connect)(({shixunHomeworks:Vt,classroomList:jt,loading:zt,user:Aa,globalSetting:Xa})=>({shixunHomeworks:Vt,globalSetting:Xa,classroomList:jt,user:Aa,loading:zt.effects}))(rt),pt=te(78241),ut=te(95237),Be=te(43604),he=te(92832),Ke=te(24905),Ye=te(8797),we=te(59301),gt=Object.defineProperty,$e=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,ot=(Vt,jt,zt)=>jt in Vt?gt(Vt,jt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Vt[jt]=zt,wt=(Vt,jt)=>{for(var zt in jt||(jt={}))Kt.call(jt,zt)&&ot(Vt,zt,jt[zt]);if($e)for(var zt of $e(jt))Se.call(jt,zt)&&ot(Vt,zt,jt[zt]);return Vt},Le=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).next())});const We=({shixunHomeworks:Vt,loading:jt,dispatch:zt,classroomList:Aa})=>{var Xa;const La=(0,ve.useParams)(),[Mn,Qa]=(0,z.useState)(wt(wt({},{page:1,limit:20,group_ids:[]}),La)),Pn=(0,ve.useLocation)(),{codeReview:oa}=Vt,[Tr,Lo]=(0,z.useState)({}),[Ra]=pt.default.useForm();Mn.order="code_rate",Mn.sort="desc",Mn.category=Mn.categoryId,(0,z.useEffect)(()=>{_o(),console.log("params",Mn)},[Mn]),(0,z.useEffect)(()=>{Vt.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&_o()},[Vt.actionTabs.key]);const _o=()=>Le(void 0,null,function*(){(yield zt({type:"shixunHomeworks/getCodeReview",payload:wt({},Mn)})).status===-2&&setTimeout(()=>_o(),1500)}),Si=()=>{},ur=(Br,Jn)=>{Mn.page=Br,Mn.limit=20,zt({type:"shixunHomeworks/getCodeReview",payload:wt({},Mn)})},Uo=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(Br,Jn,to)=>Mn.limit*(Mn.page-1)+to+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:Br=>we.createElement("span",{className:"c-orange"},Br)},{title:"\u64CD\u4F5C",dataInex:"action",render:(Br,Jn)=>we.createElement("div",null,we.createElement("a",{onClick:()=>{var to;if((0,Ae.Rm)()&&!((to=Aa.AssistantObject.hack)!=null&&to.can_view)){Ne.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/${Mn.coursesId}/program_homework/${Mn.categoryId}/review_detail/${Jn.user_id}`)}},"\u67E5\u770B"),we.createElement("br",null))}];return we.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(oa==null?void 0:oa.status)===-2&&we.createElement(Ye.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"}),(oa==null?void 0:oa.status)!==-2&&we.createElement("div",null,we.createElement(ut.Z,null,we.createElement(Be.Z,{flex:"1"},we.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",oa.last_review_time,we.createElement(Ie.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:Mn}})}},"\u4EE3\u7801\u67E5\u91CD"))),we.createElement(Be.Z,null,we.createElement(he.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:Br=>{Mn.search=Br,zt({type:"shixunHomeworks/getCodeReview",payload:Mn})},style:{width:200}}),we.createElement("span",{className:"ml5 c-red"}))),((Xa=oa.group_info)==null?void 0:Xa.length)>0&&we.createElement(we.Fragment,null,we.createElement(ut.Z,null,we.createElement(Be.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),we.createElement(Be.Z,{flex:"80px"},we.createElement(Ke.default,{checked:Mn.group_ids=="",value:"all",onChange:Br=>{delete Mn.group_ids,Mn.group_ids=[],Mn.page=1,Qa(wt({},Mn))}},"\u5168\u90E8")),we.createElement(Be.Z,{flex:"1"},oa.group_info&&oa.group_info.map((Br,Jn)=>we.createElement(Ke.default,{style:{marginLeft:0},value:Br.id,checked:Mn.group_ids.includes(Br.id),onChange:to=>{to.target.checked?Mn.group_ids.push(Br.id):Mn.group_ids.splice(Mn.group_ids.indexOf(Br.id),1),Mn.page=1,Qa(wt({},Mn))}},Br.name,"(",Br.members_count,")")))),we.createElement(ut.Z,{className:"font14 c-red mt5"},we.createElement(Be.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"},oa.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",oa.all_reviews_count,"\u4F5C\u54C1\uFF09"),we.createElement(ke.default,{className:"mt30",loading:jt["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:oa.users_reviews,columns:Uo,onChange:(Br,Jn,to)=>{to.order==="ascend"&&(Mn.b_order="asc"),to.order==="descend"&&(Mn.b_order="desc"),to.order||delete Mn.b_order,zt({type:"shixunHomeworks/getCodeReview",payload:wt({},Mn)})}}),we.createElement("aside",{className:"tc mb50 mt30"},we.createElement(Pe.Z,{showSizeChanger:!1,onChange:ur,defaultCurrent:Mn.page||1,current:Mn.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:oa.copy_reviews_count}))))};var st=(0,ve.connect)(({shixunHomeworks:Vt,classroomList:jt,loading:zt})=>({shixunHomeworks:Vt,classroomList:jt,loading:zt.effects}))(We),Ft=te(33441),Wt=te(5083),mn=te(57809),lt=te(5112),At=te(5871),Et=te(32134),nn=te(12893),Ut=te(89392),sn={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"},_n=te(40731),hn=te(79834),an=te(46474),Un=te(38233),Ht=te(59301),Zt=Object.defineProperty,qt=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,Tn=Object.prototype.hasOwnProperty,ja=Object.prototype.propertyIsEnumerable,Ia=(Vt,jt,zt)=>jt in Vt?Zt(Vt,jt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Vt[jt]=zt,Dr=(Vt,jt)=>{for(var zt in jt||(jt={}))Tn.call(jt,zt)&&Ia(Vt,zt,jt[zt]);if(qn)for(var zt of qn(jt))ja.call(jt,zt)&&Ia(Vt,zt,jt[zt]);return Vt},yr=(Vt,jt)=>qt(Vt,wa(jt)),Zn=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).next())});const{RangePicker:yt}=Wt.default,{Option:It}=mn.default,Lt=({shixunHomeworks:Vt,user:jt,loading:zt,classroomList:Aa,dispatch:Xa})=>{var La,Mn,Qa,Pn,oa,Tr,Lo,Ra,_o,Si,ur,Uo;const Br=(0,ve.useParams)(),{workSetting:Jn,workList:to,changeData:ii}=Vt,[va,ca]=(0,z.useState)(!0),[no,Li]=(0,z.useState)(!1);let[kn,ea]=(0,z.useState)([]),[Sa,pn]=(0,z.useState)([]);const ga=(0,z.useRef)(!0);let[bn,Vr]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_minus_score:0,penalty_type:_n.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)(()=>(gr(),()=>{ea([])}),[]);const gr=()=>{Xa({type:"shixunHomeworks/getWorkSetting",payload:Dr({},Br)})};(0,z.useEffect)(()=>{var yn,na;((0,Ae.G5)()||(0,Ae.Rm)()&&((yn=Aa.AssistantObject.hack)!=null&&yn.can_late||(na=Aa.AssistantObject.hack)!=null&&na.can_publish))&&ca(!1)},[jt,Aa]),(0,z.useEffect)(()=>{if(!(Jn!=null&&Jn.course_id)||!ga.current)return;ga.current=!1,Object.keys(bn).map(function(na){bn[na]=Jn[na]}),(!bn.allow_late||!bn.unified_late)&&(bn.late_minus_score=20,bn.penalty_type=_n.Q.Percent),bn.unified_setting||(bn.unified_late=!1,bn.unified_anonymous_comment=!1,bn.unified_anonymous_appeal=!1),kn=JSON.parse(JSON.stringify(Jn.group_settings.map(na=>yr(Dr({},na),{group_name:[na.group_name]})).filter(na=>na.publish_time!==null))),Sa=JSON.parse(JSON.stringify(Jn.allow_late_settings.map(na=>yr(Dr({},na),{group_name:[na.group_name]})).filter(na=>na.late_time!==null))),bn.difficult_settings.length===0&&(bn.difficult_settings=[0,0,0]),Vr(Dr({},bn));const yn=(0,Me.QE)((kn==null?void 0:kn.length)>0?kn:[]);ea([...yn]),(Sa==null?void 0:Sa.length)<=0?pn([{late_minus_score:20}]):pn([...Sa])},[Jn]);const Rr=()=>{var yn;if(((yn=jt==null?void 0:jt.userInfo)==null?void 0:yn.user_status)===2){(0,an.Rd)();return}const na=JSON.parse(JSON.stringify(bn));if(na.categoryId=Br.categoryId,bn.unified_setting||(kn=kn==null?void 0:kn.map(Na=>{var jn;if(!Na.publish_time||!Na.end_time)throw Ne.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(!Na.group_name)throw Ne.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Na.group_name=typeof(Na==null?void 0:Na.group_name)=="string"?[Na==null?void 0:Na.group_name]:Na==null?void 0:Na.group_name,Na.group_id=(jn=Jn.group_settings)==null?void 0:jn.filter(xa=>{var xr;return(xr=Na==null?void 0:Na.group_name)==null?void 0:xr.includes(xa.group_name)}).map(xa=>xa.group_id||xa.id).toString().split(","),Na})),na.group_settings=kn,bn.allow_late)if(bn.unified_late){if(bn.late_minus_score===null||bn.late_minus_score===void 0||bn.late_minus_score<0||bn.late_minus_score>100)throw Ne.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!bn.late_time)throw Ne.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 Sa=Sa==null?void 0:Sa.map(Na=>{var jn,xa;if(Na.late_minus_score===null||Na.late_minus_score===void 0||Na.late_minus_score<0||Na.late_minus_score>100)throw Ne.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(!Na.late_time)throw Ne.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(!Na.group_name)throw Ne.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Na.group_name=typeof(Na==null?void 0:Na.group_name)=="string"?[Na==null?void 0:Na.group_name]:Na==null?void 0:Na.group_name,Na.group_id=(xa=(jn=Na==null?void 0:Na.group_name)==null?void 0:jn.map(xr=>{var wr,Eo;let ei=(Eo=(wr=Jn.group_settings)==null?void 0:wr.filter(Bi=>(Bi==null?void 0:Bi.group_name)===xr))==null?void 0:Eo[0];return ei==null?void 0:ei.group_id}))==null?void 0:xa.toString().split(","),Na}),na.allow_late_settings=Sa;na.send_type===1&&(na.difficult_settings=na.difficult_settings.map(Na=>Na||0)),qo(na)},qo=yn=>{var na;if(yn.total_score===null){Ne.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(yn!=null&&yn.work_efficiency&&yn.eff_score===null){Ne.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Na={shixun_evaluation:yn.shixun_evaluation,challenge_settings:yn.challenge_settings},jn=()=>Zn(void 0,null,function*(){Li(!0),(yield(0,se.ZP)(`/api/homework_commons/${Br.categoryId}/publish_setting.json`,{method:"post",body:Dr({},yn)})).status===0&&(Ne.ZP.success("\u66F4\u65B0\u6210\u529F"),gr(),Xa({type:"shixunHomeworks/getWorkList",payload:Dr({},Br)})),Li(!1)});!(0,Ut.isEqual)(ii,Na)&&!((na=to==null?void 0:to.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:jn}):jn()},mr=(yn,na,Na="group_id")=>{var jn;return na?na.find(xa=>xa[Na]===yn):(jn=Jn==null?void 0:Jn.group_settings)==null?void 0:jn.find(xa=>xa.group_id[0]===yn)},vo=(Jn==null?void 0:Jn.allow_late)||(Jn==null?void 0:Jn.anonymous_comment),Ea=yn=>{var na,Na;const jn=mr(yn,Jn==null?void 0:Jn.allow_late_settings,"id"),xa=mr(yn,Jn==null?void 0:Jn.anonymous_comment_settings),xr=mr(yn);return(Jn==null?void 0:Jn.allow_late)&&jn&&ue()(jn==null?void 0:jn.late_time)<=ue()()||(Jn==null?void 0:Jn.anonymous_comment)&&xa&&(xa==null?void 0:xa.evaluation_start)!==null||((Na=(ue()(xr==null?void 0:xr.end_time)<=ue()()&&((na=Jn==null?void 0:Jn.allow_late_settings)==null?void 0:na.filter(wr=>wr.group_id.includes(yn))))[0])==null?void 0:Na.late_time)!=null},co=Jn==null?void 0:Jn.anonymous_comment,Oo=yn=>{if(!yn)return!1;const na=mr(yn,Jn==null?void 0:Jn.anonymous_comment_settings);return(Jn==null?void 0:Jn.anonymous_comment)&&na&&(na==null?void 0:na.evaluation_start)!==null},xo=(yn,na)=>{var Na,jn,xa;Xa({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:yn,index:na,rangePickerDisabled:va||(ue()()<=ue()((jn=mr((Na=yn==null?void 0:yn.group_id)==null?void 0:Na[0]))==null?void 0:jn.publish_time)?!1:[!0,Ea((xa=yn==null?void 0:yn.group_id)==null?void 0:xa[0])]),disabledDate:Jn==null?void 0:Jn.course_end_date}})};return Ht.createElement("section",{className:sn.form},Ht.createElement("div",{className:sn.title},"\u8BD5\u9898\u53D1\u5E03",Ht.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),Ht.createElement("div",{className:sn.content},Ht.createElement(lt.ZP.Group,{disabled:va||!((La=to==null?void 0:to.homework_status)!=null&&La.includes("\u672A\u53D1\u5E03"))||!((Mn=Aa.AssistantObject.hack)!=null&&Mn.can_publish)&&(0,Ae.Rm)(),value:bn.send_type,onChange:yn=>{bn.send_type=yn.target.value,Vr(Object.assign({},bn))}},Ht.createElement(lt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),Ht.createElement(lt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),bn.send_type===1&&Ht.createElement("div",{className:sn.content,style:{borderTop:"1px solid #fff"}},Ht.createElement(ut.Z,{style:{marginLeft:"165px"}},Ht.createElement(Be.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",Ht.createElement(At.Z,{size:"large",precision:0,disabled:va||!((Qa=to==null?void 0:to.homework_status)!=null&&Qa.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${bn.difficult_count[0]||0}`,min:0,max:bn.difficult_count[0]||0,value:bn.difficult_settings[0],onChange:yn=>{bn.difficult_settings[0]=yn,Vr(Object.assign({},bn))},className:"ml10 mr20",style:{width:120}})),Ht.createElement(Be.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",Ht.createElement(At.Z,{size:"large",precision:0,disabled:va||!((Pn=to==null?void 0:to.homework_status)!=null&&Pn.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${bn.difficult_count[1]||0}`,min:0,max:bn.difficult_count[1]||0,value:bn.difficult_settings[1],onChange:yn=>{bn.difficult_settings[1]=yn,Vr(Object.assign({},bn))},className:"ml10 mr20",style:{width:120}})),Ht.createElement(Be.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",Ht.createElement(At.Z,{size:"large",precision:0,disabled:va||!((oa=to==null?void 0:to.homework_status)!=null&&oa.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${bn.difficult_count[2]||0}`,min:0,max:bn.difficult_count[2]||0,value:bn.difficult_settings[2],onChange:yn=>{bn.difficult_settings[2]=yn,Vr(Object.assign({},bn))},className:"ml10 mr20",style:{width:120}})))),Ht.createElement("div",{className:`${sn.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",Ht.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u53D1\u5E03\u65B9\u5F0F\uFF09")),Ht.createElement("div",{className:sn.content},Ht.createElement(lt.ZP.Group,{disabled:va||!((Tr=to==null?void 0:to.homework_status)!=null&&Tr.includes("\u672A\u53D1\u5E03"))||!((Lo=Aa.AssistantObject.hack)!=null&&Lo.can_publish)&&(0,Ae.Rm)(),value:bn.unified_setting,onChange:yn=>{var na;if(!((na=to==null?void 0:to.homework_status)!=null&&na.includes("\u672A\u53D1\u5E03"))){Ne.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(bn.unified_setting=!bn.unified_setting,bn.unified_setting||(bn.unified_late=!1),Vr(Object.assign({},bn)),bn.unified_setting===!1&&kn==""){ea(kn.concat({}));return}bn.unified_setting&&(ea([]),pn([{late_minus_score:5}]))}},Ht.createElement(lt.ZP,{value:!0,disabled:!(Jn!=null&&Jn.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),Ht.createElement(lt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((Ra=Jn==null?void 0:Jn.group_settings)==null?void 0:Ra.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),((_o=Jn==null?void 0:Jn.group_settings)==null?void 0:_o.length)===0&&Ht.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")),Ht.createElement("div",{className:sn.content,style:{borderTop:"1px solid #fff"}},bn.unified_setting&&Ht.createElement(ut.Z,{align:"middle",className:"ml25"},Ht.createElement(ut.Z,{align:"middle"},Ht.createElement(Be.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),Ht.createElement(Be.Z,{className:"ml10"},Ht.createElement(Wt.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:yn=>(0,hn.Q8)(yn,Jn==null?void 0:Jn.course_end_date),disabledTime:yn=>(0,hn.d0)(yn),disabled:va||ue()()>=ue()(Jn==null?void 0:Jn.publish_time)||!((Si=Aa.AssistantObject.hack)!=null&&Si.can_publish)&&(0,Ae.Rm)(),value:bn.publish_time?ue()(bn.publish_time):"",onChange:(yn,na)=>{bn.publish_time=na,(bn.end_time==""||!bn.end_time)&&bn.unified_setting&&(bn.end_time=ue()(yn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Vr(Object.assign({},bn))}}))),Ht.createElement(ut.Z,{align:"middle",style:{marginLeft:40}},Ht.createElement(Be.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),Ht.createElement(Be.Z,{className:"ml10"},Ht.createElement(Wt.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:(Jn==null?void 0:Jn.allow_late)&&(Jn==null?void 0:Jn.homework_status.includes("\u5DF2\u622A\u6B62"))||va||(Jn==null?void 0:Jn.allow_late)&&ue()()>=ue()(Jn==null?void 0:Jn.end_time)||!((ur=Aa.AssistantObject.hack)!=null&&ur.can_publish)&&(0,Ae.Rm)(),disabledDate:yn=>(0,hn.Q8)(yn,Jn==null?void 0:Jn.course_end_date,bn.publish_time),disabledTime:yn=>(0,hn.d0)(yn,bn.publish_time),value:bn.end_time?ue()(bn.end_time):"",onChange:(yn,na)=>{bn.end_time=na,Vr(Object.assign({},bn))}})))),!bn.unified_setting&&(kn==null?void 0:kn.length)>0&&Ht.createElement(ut.Z,{className:"ml25"},kn&&kn.map(function(yn,na){var Na,jn,xa,xr;return Ht.createElement(Be.Z,{className:na!==0&&"mt20",span:24,key:na},Ht.createElement(ut.Z,{gutter:[0,16]},Ht.createElement(Be.Z,{span:8},Ht.createElement(ut.Z,{gutter:[8,16],align:"middle"},Ht.createElement(Be.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",na+1),Ht.createElement(Be.Z,{flex:"1",style:{maxWidth:300}},Ht.createElement(mn.default,{size:"large",disabled:va||((Na=Jn==null?void 0:Jn.homework_status)!=null&&Na.includes("\u672A\u53D1\u5E03")&&yn.id||ue()(){var Eo;if(!((Eo=Aa.AssistantObject.hack)!=null&&Eo.can_publish)&&(0,Ae.Rm)()){Ne.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}kn[na].group_name=wr,kn[na].group_id=yn.group_id;const ei=(0,Ut.flattenDeep)(kn.map(ji=>ji.group_name)),Bi=Sa.map(ji=>{let qi=(ji==null?void 0:ji.group_name)||[];return yr(Dr({},ji),{group_name:(0,Ut.remove)(qi,wl=>ei.includes(wl))})});pn(Bi),ea(kn.slice())},maxTagCount:4,maxTagPlaceholder:wr=>Ht.createElement("div",{style:{cursor:"pointer"},onClick:()=>xo(yn,na)},"+",wr==null?void 0:wr.length)},Jn.group_settings&&Jn.group_settings.map(function(wr){if(!kn.map(Eo=>Eo.group_name).toString().split(",").includes(String(wr.group_name)))return Ht.createElement(It,{value:wr.group_name,key:wr.id},wr.group_name)}))))),Ht.createElement(Be.Z,{span:14,style:{display:"flex",alignItems:"center"}},Ht.createElement(yt,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[yn.publish_time?ue()(yn.publish_time):ue()(),ue()()]},disabled:va||(ue()()<=ue()((jn=mr(yn.id))==null?void 0:jn.publish_time)?!1:[!0,Ea(yn.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:wr=>(0,hn.Q8)(wr,Jn==null?void 0:Jn.course_end_date),disabledTime:wr=>(0,hn.d0)(wr),showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:yn.publish_time&&[ue()(yn.publish_time),yn.end_time?ue()(yn.end_time):void 0],onChange:(wr,Eo)=>{var ei;if(!((ei=Aa.AssistantObject.hack)!=null&&ei.can_publish)&&(0,Ae.Rm)()){Ne.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}kn[na].publish_time=Eo[0],!yn.end_time&&Eo[0]?kn[na].end_time=ue()(Eo[0]).add(7,"days"):kn[na].end_time=Eo[1],ea([...kn])},onCalendarChange:(wr,Eo,ei)=>{if(Eo!=null&&Eo[0]&&!Eo[1]){const Bi=ue()(Eo[0]).add(7,"days");kn[na].publish_time=Eo[0],kn[na].end_time=Bi,ea([...kn])}}})),!va&&Ht.createElement(Be.Z,{span:2,style:{display:"flex",alignItems:"center"}},((xa=yn==null?void 0:yn.group_id)==null?void 0:xa.length)>1&&Ht.createElement(qe.Z,{title:"\u89C4\u5219\u62C6\u5206"},Ht.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>xo(yn,na)})),kn.length<((xr=Jn==null?void 0:Jn.group_settings)==null?void 0:xr.length)&&Ht.createElement(Et.Z,{className:"c-green ml10 mr10",onClick:()=>{ea(kn.concat({}))}}),((yn==null?void 0:yn.publish_time)&&ue()(){var wr;if(!((wr=Aa.AssistantObject.hack)!=null&&wr.can_publish)&&(0,Ae.Rm)()){Ne.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 Eo=(0,Ut.cloneDeep)(Sa);Eo.forEach((ei,Bi)=>{ei.group_name&&(ei.group_name=ei.group_name.filter(ji=>{var qi;return!((qi=kn[na].group_name)!=null&&qi.includes(ji))}))}),pn(Eo),kn=kn.filter((ei,Bi)=>na!==Bi),ea(kn.slice()),setTimeout(()=>ea(kn.slice()),10)}}))))}))),Ht.createElement("div",{className:`${sn.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",Ht.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09")),Ht.createElement("div",{className:sn.content},Ht.createElement(ut.Z,null,Ht.createElement(Ke.default,{checked:bn.allow_late,disabled:va||(Jn==null?void 0:Jn.allow_late),onChange:yn=>{var na;if(!((na=Aa.AssistantObject.hack)!=null&&na.can_late)&&(0,Ae.Rm)()){Ne.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}yn.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:Ht.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Ht.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),Ht.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Ht.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),bn.allow_late=!bn.allow_late,Sa==""&&pn([{late_minus_score:5}]),Vr(Object.assign({},bn))}},Ht.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(bn==null?void 0:bn.allow_late)&&Ht.createElement("div",{className:sn.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},Ht.createElement("div",null,Ht.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),Ht.createElement(lt.ZP.Group,{disabled:va||(Jn==null?void 0:Jn.anonymous_comment)||(Jn==null?void 0:Jn.allow_late),value:bn.unified_late,onChange:yn=>{var na;if((0,Ae.Rm)()&&!((na=Aa.AssistantObject.hack)!=null&&na.can_late)){Ne.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}bn.unified_late=yn.target.value,Sa==""&&!yn.target.value&&pn([{late_minus_score:5}]),Vr(Dr({},bn))}},(bn==null?void 0:bn.unified_setting)&&Ht.createElement(lt.ZP,{value:!0,style:{color:"#333333"},disabled:!(Jn!=null&&Jn.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((Uo=Jn==null?void 0:Jn.group_settings)==null?void 0:Uo.length)&&Ht.createElement(lt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),bn!=null&&bn.unified_late?Ht.createElement(Ht.Fragment,null,Ht.createElement(ut.Z,{align:"middle",className:"mt25"},Ht.createElement(Be.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),Ht.createElement(Be.Z,{className:"ml5"},Ht.createElement(_n.Z,{disabled:va||co,value:{type:bn.penalty_type,inputValue:bn.late_minus_score},onChange:yn=>{var na;if((0,Ae.Rm)()&&!((na=Aa.AssistantObject.hack)!=null&&na.can_late)){Ne.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}Vr(yr(Dr({},bn),{late_minus_score:yn.inputValue,penalty_type:yn.type}))}})),Ht.createElement(Be.Z,{flex:"1",className:"ml5"},Ht.createElement("span",{className:"c-grey-c ml10"},bn.penalty_type===_n.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),Ht.createElement(ut.Z,{align:"middle",className:"mt25"},Ht.createElement(Be.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),Ht.createElement(Be.Z,{className:"ml5"},Ht.createElement(Wt.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:va||co,value:bn.late_time?ue()(bn.late_time):"",disabledDate:yn=>(0,hn.Q8)(yn,Jn==null?void 0:Jn.course_end_date),disabledTime:yn=>(0,hn.d0)(yn),onChange:(yn,na)=>{var Na;if((0,Ae.Rm)()&&!((Na=Aa.AssistantObject.hack)!=null&&Na.can_late)){Ne.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}bn.late_time=na,Vr(Object.assign({},bn))}})),Ht.createElement(Be.Z,null,Ht.createElement("span",{className:"c-grey-c ml10"},"(\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9)")))):Sa.map(function(yn,na){var Na;return Ht.createElement(Be.Z,{span:24,key:na},Ht.createElement(ut.Z,{className:"mt25",align:"middle"},Ht.createElement(Be.Z,null,Ht.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",na+1,"\uFF1A"),Ht.createElement(mn.default,{size:"large",disabled:va||!((Na=to==null?void 0:to.homework_status)!=null&&Na.includes("\u672A\u53D1\u5E03"))&&yn.id||(Jn==null?void 0:Jn.anonymous_comment),mode:"multiple",className:`${sn.selectSty}`,style:{width:200},value:typeof yn.group_name=="string"?[yn.group_name]:yn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:jn=>{var xa;if((0,Ae.Rm)()&&!((xa=Aa.AssistantObject.hack)!=null&&xa.can_late)){Ne.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}Sa[na].group_name=jn,Sa[na].group_id=yn.group_id,pn(Sa.slice())}},Jn.group_settings&&Jn.group_settings.map(function(jn){if(bn!=null&&bn.unified_setting&&!Sa.map(xa=>xa.group_name).toString().split(",").includes(String(jn.group_name)))return Ht.createElement(It,{value:jn.group_name,key:jn.id},jn.group_name);if(kn.map(xa=>xa.group_name).toString().split(",").includes(String(jn.group_name))&&!Sa.map(xa=>xa.group_name).toString().split(",").includes(String(jn.group_name)))return Ht.createElement(It,{value:jn.group_name,key:jn.id},jn.group_name)}))),Ht.createElement(Be.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},Ht.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),Ht.createElement(_n.Z,{disabled:va||Oo(yn.id),value:{type:yn.penalty_type,inputValue:yn.late_minus_score},onChange:jn=>{var xa;if((0,Ae.Rm)()&&!((xa=Aa.AssistantObject.hack)!=null&&xa.can_late)){Ne.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}Sa[na].late_minus_score=jn.inputValue,Sa[na].penalty_type=jn.type,pn([...Sa])}})),Ht.createElement(Be.Z,{className:"ml20"},Ht.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),Ht.createElement(Wt.default,{size:"large",disabled:va||Oo(yn.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:jn=>(0,hn.Q8)(jn,Jn==null?void 0:Jn.course_end_date),disabledTime:jn=>(0,hn.d0)(jn),format:"YYYY-MM-DD HH:mm",value:yn!=null&&yn.late_time?ue()(yn.late_time):void 0,onChange:(jn,xa)=>{var xr;if((0,Ae.Rm)()&&!((xr=Aa.AssistantObject.hack)!=null&&xr.can_late)){Ne.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}Sa[na].late_time=xa,pn([...Sa])}})),!va&&Ht.createElement(Be.Z,{style:{marginLeft:10}},na>0&&!yn.id&&Ht.createElement(nn.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{Sa=Sa.filter((jn,xa)=>na!==xa),pn(Sa.slice()),setTimeout(()=>pn(Sa.slice()),10)}}),Ht.createElement(Et.Z,{className:"c-green",onClick:()=>{var jn;if((0,Ae.Rm)()&&!((jn=Aa.AssistantObject.hack)!=null&&jn.can_late)){Ne.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}pn(Sa.concat({penalty_type:_n.Q.Percent,late_minus_score:20}))}}))))})),!va&&Ht.createElement(Ie.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:no,onClick:()=>Rr()},"\u4FDD\u5B58"),Ht.createElement(Un.Z,{onConfirm:(yn,na)=>{kn.splice(yn,0,...na),kn.splice(yn+na.length,1);const Na=(0,Me.QE)([...kn]);ea([...Na])}}))};var zn=(0,ve.connect)(({shixunHomeworks:Vt,classroomList:jt,user:zt,loading:Aa})=>({shixunHomeworks:Vt,loading:Aa.effects,user:zt,classroomList:jt}))(Lt),kt=te(59301),ma=Object.defineProperty,ao=Object.defineProperties,pr=Object.getOwnPropertyDescriptors,_r=Object.getOwnPropertySymbols,qr=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,Rn=(Vt,jt,zt)=>jt in Vt?ma(Vt,jt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Vt[jt]=zt,sr=(Vt,jt)=>{for(var zt in jt||(jt={}))qr.call(jt,zt)&&Rn(Vt,zt,jt[zt]);if(_r)for(var zt of _r(jt))_a.call(jt,zt)&&Rn(Vt,zt,jt[zt]);return Vt},Ua=(Vt,jt)=>ao(Vt,pr(jt)),hr=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).next())});function tr(Vt,jt){const zt=[];for(let Aa=Vt;Aa{let jt=new Date;const zt=ue()(Vt).format("HH");if(ue()(Vt).isSame(ue()(jt),"day")){const Aa=ue()(jt).format("HH"),Xa=ue()(jt).format("mm");return{disabledHours:()=>tr(0,24).splice(1,Aa*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",zt,Aa),ue()(Vt).isSame(ue()(jt),"hour")&&zt<=Aa?tr(0,60).splice(0,Xa):tr(60,60))}}else if(ue()(Vt).isSame(ue()(),"day")){const Aa=ue()().format("HH"),Xa=ue()().format("mm");return{disabledHours:()=>tr(0,24).splice(0,Aa),disabledMinutes:()=>zt<=Aa?tr(0,Xa):tr(60,60)}}else return},{RangePicker:dn}=Wt.default,{Option:rn}=mn.default,Sn=({shixunHomeworks:Vt,loading:jt,dispatch:zt})=>{const Aa=(0,ve.useParams)(),Xa=(0,ve.useLocation)(),{workSetting:La,workList:Mn,changeData:Qa}=Vt,[Pn,oa]=(0,z.useState)(!0),[Tr,Lo]=(0,z.useState)({}),[Ra,_o]=(0,z.useState)(!1),[Si]=pt.default.useForm();let[ur,Uo]=(0,z.useState)([]),[Br,Jn]=(0,z.useState)([]);const[to,ii]=(0,z.useState)([]),va=(0,z.useRef)(!0);let[ca,no]=(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)(()=>()=>{Uo([])},[]),(0,z.useEffect)(()=>{La!=null&&La.can_edit&&oa(!1)},[La]);const Li=()=>{zt({type:"shixunHomeworks/getWorkSetting",payload:sr({},Aa)})},kn=pn=>pn&&pn{La!=null&&La.course_id&&va.current&&(va.current=!1,Object.keys(ca).map(function(pn){La[pn]!==void 0&&(ca[pn]=La[pn])}),(!ca.allow_late||!ca.unified_late)&&(ca.late_penalty=5),ur=JSON.parse(JSON.stringify(La.group_settings.map(pn=>Ua(sr({},pn),{group_name:[pn.group_name]})).filter(pn=>pn.publish_time!==null))),Br=JSON.parse(JSON.stringify(La.allow_late_settings.map(pn=>Ua(sr({},pn),{group_name:[pn.group_name]})).filter(pn=>pn.rank_forbidden_start!==null))),no(sr({},ca)),console.log(ca,La,"data"),Uo([...ur]),(Br==null?void 0:Br.length)<=0?Jn([{}]):Jn([...Br]))},[La]);const ea=()=>{const pn=JSON.parse(JSON.stringify(ca));if(pn.categoryId=Aa.categoryId,ca.unified_setting||(ur=ur==null?void 0:ur.map(ga=>{var bn;if(!ga.publish_time||!ga.end_time)throw Ne.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(!ga.group_name)throw Ne.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ga.group_name=typeof(ga==null?void 0:ga.group_name)=="string"?[ga==null?void 0:ga.group_name]:ga==null?void 0:ga.group_name,ga.group_id=(bn=La.group_settings)==null?void 0:bn.filter(Vr=>{var gr;return(gr=ga==null?void 0:ga.group_name)==null?void 0:gr.includes(Vr.group_name)}).map(Vr=>Vr.group_id||Vr.id).toString().split(","),ga})),pn.group_settings=ur,ca.rank_forbidden)if(ca.unified_setting){if(!ca.rank_forbidden_start)throw Ne.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 Ne.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){var bn,Vr;if(!ga.rank_forbidden_start)throw Ne.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(!ga.rank_forbidden_end)throw Ne.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(!ga.group_name)throw Ne.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ga.group_name=typeof(ga==null?void 0:ga.group_name)=="string"?[ga==null?void 0:ga.group_name]:ga==null?void 0:ga.group_name,ga.group_id=(Vr=(bn=ga==null?void 0:ga.group_name)==null?void 0:bn.map(gr=>{var Rr,qo;let mr=(qo=(Rr=La.group_settings)==null?void 0:Rr.filter(vo=>(vo==null?void 0:vo.group_name)===gr))==null?void 0:qo[0];return mr==null?void 0:mr.group_id}))==null?void 0:Vr.toString().split(","),ga}),pn.group_settingss=Br;Sa(pn)},Sa=pn=>{if(console.log(pn.total_score,pn.eff_score),pn.total_score===null){Ne.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(pn!=null&&pn.work_efficiency&&pn.eff_score===null){Ne.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const ga={shixun_evaluation:pn.shixun_evaluation};hr(void 0,null,function*(){_o(!0),(yield(0,se.ZP)(`/api/homework_commons/${Aa.categoryId}/public_setting.json`,{method:"post",body:sr({},pn)})).status===0&&(Ne.ZP.success("\u66F4\u65B0\u6210\u529F"),Li(),zt({type:"shixunHomeworks/getWorkList",payload:sr({},Aa)})),_o(!1)})};return kt.createElement("section",{className:sn.form},kt.createElement("div",{className:sn.title},"\u516C\u5F00\u8BBE\u7F6E"),kt.createElement("div",{className:sn.content,style:{padding:0}},kt.createElement(ut.Z,null,kt.createElement(Be.Z,{span:24,className:sn.pubColSty},kt.createElement(Ke.default,{checked:ca.score_open,disabled:Pn,onChange:pn=>{ca.score_open=pn.target.checked,no(Object.assign({},ca))}},kt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u6210\u7EE9")),kt.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")),kt.createElement(Be.Z,{span:24,className:sn.pubColSty,style:{borderBottom:ca.open_code?"none":"1px solid #fff"}},kt.createElement(Ke.default,{checked:ca.open_code,disabled:Pn,onChange:pn=>{ca.open_code=pn.target.checked,pn.target.checked&&(ca.open_code_type=1),no(Object.assign({},ca))}},kt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u4EE3\u7801")),kt.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&&kt.createElement(Be.Z,{span:24,className:sn.pubColSty},kt.createElement(lt.ZP.Group,{style:{marginLeft:"24px"},disabled:Pn,value:ca.open_code_type,onChange:pn=>{ca.open_code_type=pn.target.value,no(Object.assign({},ca))}},kt.createElement(lt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),kt.createElement(lt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))),kt.createElement(Be.Z,{span:24,className:sn.pubColSty,style:{borderBottom:ca.rank_forbidden&&ca.unified_setting||!ca.unified_setting&&(ur==null?void 0:ur.length)>0&&ca.rank_forbidden?"none":"1px solid #fff"}},kt.createElement(Ke.default,{checked:ca.rank_forbidden,disabled:Pn,onChange:pn=>{ca.rank_forbidden=pn.target.checked,no(Object.assign({},ca))}},kt.createElement("span",{className:"font14"},"\u5F00\u542F\u5C01\u699C")),kt.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&&kt.createElement(Be.Z,{span:24,className:sn.pubColSty,style:{height:"50px",lineHeight:"50px"}},kt.createElement("div",{style:{marginLeft:"24px"}},kt.createElement(ut.Z,{align:"middle"},kt.createElement(Be.Z,null,"\u5F00\u59CB\u65F6\u95F4"),kt.createElement(Be.Z,{className:"ml10"},kt.createElement(Wt.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:kn,disabledTime:mt,disabled:Pn||ue()()>ue()(La.rank_forbidden_start),value:ca.rank_forbidden_start?ue()(ca.rank_forbidden_start):"",onChange:(pn,ga)=>{ca.rank_forbidden_start=ga,(ca.end_time==""||!ca.end_time)&&ca.unified_setting&&(ca.end_time=ue()(pn).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),no(Object.assign({},ca))}})),kt.createElement(Be.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),kt.createElement(Be.Z,{className:"ml10"},kt.createElement(Wt.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:Pn,disabledDate:kn,value:ca.rank_forbidden_end?ue()(ca.rank_forbidden_end):"",onChange:(pn,ga)=>{ca.rank_forbidden_end=ga,no(Object.assign({},ca))}}))))),!ca.unified_setting&&(ur==null?void 0:ur.length)>0&&!!ca.rank_forbidden&&kt.createElement(ut.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},Br.map(function(pn,ga){var bn,Vr,gr,Rr,qo,mr,vo;return kt.createElement(Be.Z,{span:24,key:ga,style:{marginLeft:"24px"}},kt.createElement(ut.Z,{className:"mt10 ml30",align:"middle"},kt.createElement(Be.Z,null,kt.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",ga+1,"\uFF1A"),kt.createElement(mn.default,{size:"large",disabled:Pn||!((bn=Mn==null?void 0:Mn.homework_status)!=null&&bn.includes("\u672A\u53D1\u5E03"))&&pn.id,mode:"multiple",className:sn.selectSty,style:{width:250},value:typeof pn.group_name=="string"?[pn.group_name]:pn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ea=>{Br[ga].group_name=Ea,Br[ga].group_id=pn.group_id,Jn(Br.slice())}},La.group_settings&&La.group_settings.map(function(Ea){if(ca!=null&&ca.unified_setting&&!Br.map(co=>co.group_name).toString().split(",").includes(String(Ea.group_name)))return kt.createElement(rn,{value:Ea.group_name,key:Ea.id},Ea.group_name);if(ur.map(co=>co.group_name).toString().split(",").includes(String(Ea.group_name))&&!Br.map(co=>co.group_name).toString().split(",").includes(String(Ea.group_name)))return kt.createElement(rn,{value:Ea.group_name,key:Ea.id},Ea.group_name)}))),kt.createElement(Be.Z,{span:15},kt.createElement("div",{className:"ml20"},kt.createElement(dn,{size:"large",allowClear:!1,disabled:Pn||((Rr=(gr=(Vr=La==null?void 0:La.group_settings)==null?void 0:Vr.filter(Ea=>Ea.id===pn.id))==null?void 0:gr[0])!=null&&Rr.rank_forbidden_start?ue()()Ea.id===pn.id))==null?void 0:mr[0])==null?void 0:vo.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:kn,disabledTime:mt,showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:pn.rank_forbidden_start&&[ue()(pn.rank_forbidden_start),pn.rank_forbidden_end?ue()(pn.rank_forbidden_end):void 0],onChange:(Ea,co)=>{Br[ga].rank_forbidden_start=co[0],Br[ga].rank_forbidden_end=co[1],Jn([...Br])}}))),!Pn&&kt.createElement(Be.Z,null,kt.createElement(Et.Z,{className:"c-green",onClick:()=>{Jn(Br.concat({}))}}),ga>0&&!pn.id&&kt.createElement(nn.Z,{className:"c-red ml10",onClick:()=>{Br=Br.filter((Ea,co)=>ga!==co),Jn(Br.slice()),setTimeout(()=>Jn(Br.slice()),10)}}))))})),kt.createElement(Be.Z,{span:24,className:sn.pubColSty,style:{borderBottom:ca.hack_analysis?"none":"1px solid #fff"}},kt.createElement(Ke.default,{checked:ca.hack_analysis,disabled:Pn,onChange:pn=>{ca.hack_analysis=pn.target.checked,pn.target.checked&&(ca.hack_analysis_type=2),no(Object.assign({},ca))}},kt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u89E3\u6790")),kt.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&&kt.createElement(Be.Z,{span:24,className:sn.pubColSty},kt.createElement(lt.ZP.Group,{style:{marginLeft:"24px"},disabled:Pn,value:ca.hack_analysis_type,onChange:pn=>{ca.hack_analysis_type=pn.target.value,no(Object.assign({},ca))}},kt.createElement(lt.ZP,{value:2,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),kt.createElement(lt.ZP,{style:{marginLeft:60,color:"#333333"},value:0},"\u4EFB\u610F\u65F6\u95F4"),kt.createElement(lt.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"))),kt.createElement(Be.Z,{span:24,className:sn.pubColSty,style:{borderBottom:ca.hack_answer?"none":"1px solid #fff"}},kt.createElement(Ke.default,{checked:ca.hack_answer,disabled:Pn,onChange:pn=>{ca.hack_answer=pn.target.checked,pn.target.checked&&(ca.hack_answer_type=1),no(Object.assign({},ca))}},kt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u7B54\u6848")),kt.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&&kt.createElement(Be.Z,{span:24,className:sn.pubColSty},kt.createElement(lt.ZP.Group,{style:{marginLeft:"24px"},disabled:Pn,value:ca.hack_answer_type,onChange:pn=>{ca.hack_answer_type=pn.target.value,no(Object.assign({},ca))}},kt.createElement(lt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),kt.createElement(lt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))))),kt.createElement("div",{className:`${sn.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),kt.createElement("div",{className:sn.content},kt.createElement(Ke.default,{disabled:Pn,checked:ca.show_late_code,onChange:()=>{ca.show_late_code=!ca.show_late_code,no(Object.assign({},ca))}},kt.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),kt.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"))),!Pn&&kt.createElement(Ie.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Ra,onClick:()=>ea()},"\u4FDD\u5B58"))};var Nn=(0,ve.connect)(({shixunHomeworks:Vt,loading:jt})=>({shixunHomeworks:Vt,loading:jt.effects}))(Sn),fn=te(59301),On=Object.defineProperty,An=Object.defineProperties,Va=Object.getOwnPropertyDescriptors,Ka=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,oo=(Vt,jt,zt)=>jt in Vt?On(Vt,jt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Vt[jt]=zt,eo=(Vt,jt)=>{for(var zt in jt||(jt={}))gn.call(jt,zt)&&oo(Vt,zt,jt[zt]);if(Ka)for(var zt of Ka(jt))uo.call(jt,zt)&&oo(Vt,zt,jt[zt]);return Vt},Io=(Vt,jt)=>An(Vt,Va(jt)),Xn=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).next())});const Ma=({shixunHomeworks:Vt,loading:jt,dispatch:zt})=>{var Aa;const Xa=(0,ve.useParams)(),{workSetting:La,workList:Mn,changeData:Qa}=Vt,[Pn,oa]=(0,z.useState)(!0),[Tr,Lo]=(0,z.useState)(!1),[Ra,_o]=(0,z.useState)(!1),[Si]=pt.default.useForm();let[ur,Uo]=(0,z.useState)([]),[Br,Jn]=(0,z.useState)([]);const to=!((Aa=Mn==null?void 0:Mn.homework_status)!=null&&Aa.includes("\u672A\u53D1\u5E03")),ii=(0,z.useRef)(!0);let[va,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)(()=>()=>{Uo([])},[]),(0,z.useEffect)(()=>{La!=null&&La.can_edit&&oa(!1)},[La]);const no=()=>{zt({type:"shixunHomeworks/getWorkSetting",payload:eo({},Xa)})};(0,z.useEffect)(()=>{La!=null&&La.course_id&&ii.current&&(ii.current=!1,Object.keys(va).map(function(pn){va[pn]=La[pn]}),(!va.allow_late||!va.unified_late)&&(va.late_penalty=5),ur=JSON.parse(JSON.stringify(La.group_settings.map(pn=>Io(eo({},pn),{group_name:[pn.group_name]})).filter(pn=>pn.publish_time!==null))),Br=JSON.parse(JSON.stringify(La.allow_late_settings.map(pn=>Io(eo({},pn),{group_name:[pn.group_name]})).filter(pn=>pn.late_time!==null))),ea(),ca(eo({},va)),Uo([...ur]),Jn([...Br]))},[La]);const Li=()=>{const pn=JSON.parse(JSON.stringify(va));kn(pn)},kn=pn=>{if(console.log(pn.total_score,pn.eff_score),pn.total_score===null){Ne.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}const ga=()=>Xn(void 0,null,function*(){Lo(!0),(yield(0,se.ZP)(`/api/homework_commons/${Xa.categoryId}/hack_score_setting.json`,{method:"post",body:eo({},pn)})).status===0&&(Ne.ZP.success("\u66F4\u65B0\u6210\u529F"),no(),zt({type:"shixunHomeworks/getWorkList",payload:eo({},Xa)})),Lo(!1)});(va==null?void 0:va.hack_score_settings)!==(La==null?void 0:La.hack_score_settings)&&to?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:ga}):ga()},ea=()=>{var pn;const{total_score:ga}=va,bn=(pn=va.hack_settings)==null?void 0:pn.length;if(!bn)return;let Vr=0,gr;switch(va.hack_score_settings){case 0:const Rr=(ga/bn).toFixed(2);va.hack_settings.map((yn,na)=>{Vr=na,yn.hack_score=Rr>0?Rr:0}),gr=(ga-Rr*(bn-1)).toFixed(2),va.hack_settings[Vr].hack_score=gr>0?gr:0;break;case 1:const qo=[0,1,3,6];let mr=0;const vo=va.hack_settings.filter(yn=>yn.difficult===1).length*qo[1],Ea=va.hack_settings.filter(yn=>yn.difficult===2).length*qo[2],co=va.hack_settings.filter(yn=>yn.difficult===3).length*qo[3],Oo=ga/(vo+Ea+co);console.log(Oo,2222),va.hack_settings.map((yn,na)=>{Vr=na,yn.hack_score=(qo[yn.difficult]*Oo).toFixed(2),mr=mr+Number(yn.hack_score)});let xo=va.hack_settings[Vr].hack_score;gr=(ga-mr+Number(xo)).toFixed(2),va.hack_settings[Vr].hack_score=gr>0?gr:0;break}},Sa=(La==null?void 0:La.send_type)===0||(La==null?void 0:La.send_type)===1&&(va==null?void 0:va.hack_score_settings)===2;return fn.createElement("section",{className:sn.form},fn.createElement("div",{className:sn.title},"\u5206\u503C\u8BBE\u7F6E"),fn.createElement("div",{className:`${sn.content} mb30`},fn.createElement(ut.Z,{align:"middle"},fn.createElement(ut.Z,{align:"middle"},fn.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),fn.createElement(At.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:va.total_score,disabled:Pn,onChange:pn=>{va.total_score=pn,ca(Object.assign({},va)),ea()},addonAfter:"\u5206"})),fn.createElement(ut.Z,{align:"middle",style:{marginLeft:60}},fn.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),fn.createElement(At.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:va.punish_time,precision:0,disabled:Pn,onChange:pn=>{va.punish_time=pn,ca(Object.assign({},va)),ea()},addonAfter:"\u5206\u949F"})))),fn.createElement("div",{className:sn.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),fn.createElement("div",{className:`${sn.content} mb30`},fn.createElement(lt.ZP.Group,{disabled:Pn,value:va.hack_rank_rule,onChange:pn=>{va.hack_rank_rule=pn.target.value,ca(Object.assign({},va))}},fn.createElement(lt.ZP,{value:0},fn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),fn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),fn.createElement(lt.ZP,{style:{marginLeft:40},value:1},fn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),fn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),fn.createElement("div",{className:sn.title},"\u8BD5\u9898\u5206\u503C"),fn.createElement("div",{className:sn.content},fn.createElement(lt.ZP.Group,{value:va.hack_score_settings,onChange:pn=>{va.hack_score_settings=pn.target.value,ca(Object.assign({},va)),ea()}},fn.createElement(lt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),fn.createElement(lt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),fn.createElement(lt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),fn.createElement("div",{className:sn.content,style:{borderTop:"1px solid #fff"}},fn.createElement("div",{style:{padding:"0px 20px 20px 20px"}},va.hack_settings&&va.hack_settings.map(function(pn,ga){return fn.createElement(ut.Z,{key:ga,align:"middle",style:{marginTop:20}},fn.createElement(Be.Z,{flex:"1",className:"pr10"},fn.createElement("span",{style:{color:"#333333"}},pn.hack_name)),fn.createElement(Be.Z,{flex:"150px"},fn.createElement(At.Z,{min:0,step:.1,style:{visibility:Sa?"visible":"hidden"},value:pn.hack_score,disabled:va.hack_score_settings!==2,onChange:bn=>{va.hack_settings[ga].hack_score=bn;const Vr=va.hack_settings.reduce((gr,Rr)=>gr+Number(Rr.hack_score),0);va.total_score=Vr.toFixed(2),ca(eo({},va))},size:"large",addonAfter:"\u5206"})),fn.createElement(Be.Z,{className:"ml20",style:{lineHeight:"20px"}},pn.difficult===1&&fn.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),pn.difficult===2&&fn.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),pn.difficult===3&&fn.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!Pn&&fn.createElement(Ie.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Tr,onClick:()=>Li()},"\u4FDD\u5B58"))};var or=(0,ve.connect)(({shixunHomeworks:Vt,loading:jt})=>({shixunHomeworks:Vt,loading:jt.effects}))(Ma),Pa=te(59301),Er=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).next())});const Qr=({shixunHomeworks:Vt,loading:jt,dispatch:zt})=>{var Aa,Xa;const[La,Mn]=(0,z.useState)(!0),[Qa,Pn]=(0,z.useState)(!1),[oa,Tr]=(0,z.useState)([]),[Lo,Ra]=(0,z.useState)([]),[_o,Si]=(0,z.useState)([]),[ur,Uo]=(0,z.useState)([]),[Br,Jn]=(0,z.useState)(!1),[to,ii]=(0,z.useState)(""),va=(0,ve.useParams)();function ca(){return Er(this,null,function*(){let kn=yield(0,se.ZP)(`/api/homework_commons/${va.categoryId}/homework_common_collaborators.json`,{method:"get"});Ra(kn)})}function no(){return Er(this,null,function*(){var kn;let ea=yield(0,se.ZP)(`/api/courses/${va==null?void 0:va.coursesId}/teachers`,{method:"get",params:{homework_id:va.categoryId,limit:1e3}});(kn=ea==null?void 0:ea.teacher_list)==null||kn.map(Sa=>{Sa.key=Sa.user_id}),Si(ea==null?void 0:ea.teacher_list),Uo(ea==null?void 0:ea.teacher_list)})}(0,z.useEffect)(()=>{ca(),no()},[va]);const Li=()=>{};return Pa.createElement("section",{className:sn.form},Pa.createElement(ut.Z,{className:sn.content,style:{padding:"20px 30px",gap:20}},(Aa=Lo==null?void 0:Lo.data)==null?void 0:Aa.map(kn=>Pa.createElement(ut.Z,{align:"middle",className:`${sn.borderSty} ${to===(kn==null?void 0:kn.id)?sn.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},Pa.createElement("span",{className:"c-grey-333"},kn==null?void 0:kn.real_name),(Lo==null?void 0:Lo.can_edit)&&Pa.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${sn.delSty}`,onMouseEnter:()=>{ii(kn.id)},onMouseLeave:()=>{ii("")},onClick:()=>Er(void 0,null,function*(){(yield(0,se.ZP)(`/api/homework_commons/${va.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:kn.id}})).status===0&&(Ne.ZP.info("\u5220\u9664\u6210\u529F"),ca(),no())})}))),!(Lo!=null&&Lo.can_edit)&&!((Xa=Lo==null?void 0:Lo.data)!=null&&Xa.length)&&Pa.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(Lo==null?void 0:Lo.can_edit)&&Pa.createElement(Ie.ZP,{className:sn.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>Pn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),Pa.createElement(be.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Qa,confirmLoading:Br,onCancel:()=>Pn(!1),onOk:()=>Er(void 0,null,function*(){if(oa.length===0){Ne.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}Jn(!0),(yield(0,se.ZP)(`/api/homework_commons/${va.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:oa}})).status===0&&(Ne.ZP.info("\u6DFB\u52A0\u6210\u529F"),Tr([]),ca(),no(),Pn(!1)),Jn(!1)})},Pa.createElement("div",null,Pa.createElement("div",{style:{display:"flex"}},Pa.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",Pa.createElement(he.default.Search,{onChange:kn=>{Si(ur.filter(ea=>ea.name.indexOf(kn.target.value)>-1))}})),Pa.createElement(ke.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(kn,ea)=>{Tr(kn)},selectedRowKeys:oa,getCheckboxProps:kn=>({disabled:kn.is_collaborator})},pagination:!1,dataSource:_o,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var Cr=(0,ve.connect)(({shixunHomeworks:Vt,loading:jt})=>({shixunHomeworks:Vt,loading:jt.effects}))(Qr),fo=te(59301);const Ao=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:fo.createElement(zn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:fo.createElement(or,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:fo.createElement(Nn,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:fo.createElement(Cr,null)}];var Fi=()=>fo.createElement(Ft.Z,{dataSource:Ao,style:{marginBottom:52}}),Ci=te(26724),Hn=te.n(Ci),nr=te(36708),jr=te(59301),Jo=Object.defineProperty,$o=Object.defineProperties,No=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,Mi=(Vt,jt,zt)=>jt in Vt?Jo(Vt,jt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Vt[jt]=zt,Ce=(Vt,jt)=>{for(var zt in jt||(jt={}))Zi.call(jt,zt)&&Mi(Vt,zt,jt[zt]);if(vi)for(var zt of vi(jt))Xi.call(jt,zt)&&Mi(Vt,zt,jt[zt]);return Vt},Te=(Vt,jt)=>$o(Vt,No(jt)),Xe=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).next())});const Ct=({shixunHomeworks:Vt,loading:jt,dispatch:zt})=>{const Aa=(0,ve.useParams)(),Xa=(0,ve.useLocation)(),[La,Mn]=(0,z.useState)([]),[Qa,Pn]=(0,z.useState)([]),[oa,Tr]=(0,z.useState)(!0),[Lo,Ra]=(0,z.useState)(!1),[_o,Si]=(0,z.useState)(1),[ur,Uo]=(0,z.useState)([]),[Br,Jn]=(0,z.useState)(!1),[to,ii]=(0,z.useState)(!1),[va,ca]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Vt.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(no.resetFields(),Mn([]),Jn(!0),kn()):Jn(!1)},[Vt.actionTabs.key]);const[no]=pt.default.useForm();let Li=[];const kn=()=>Xe(void 0,null,function*(){var pn;if(oa&&!Lo){Ra(!0),Si(_o+1);const ga=yield(0,nr.JG)(Te(Ce({},Aa),{page:_o})),bn=[...ga.group_list];ga!=null&&ga.ungroup_list&&bn.push({id:ga==null?void 0:ga.ungroup_list.id,name:ga==null?void 0:ga.ungroup_list.name,works_count:ga==null?void 0:ga.ungroup_list.work_count,last_review_time:ga==null?void 0:ga.ungroup_list.last_review_time}),Mn([...La,...bn]),Ra(!1),((pn=ga.group_list)==null?void 0:pn.length)<10&&Tr(!1)}}),ea=()=>{zt({type:"shixunHomeworks/setActionTabs",payload:{}}),ii(!1),Tr(!0),Ra(!1),Si(1),Mn([]),no.resetFields()},Sa=[{title:"",dataIndex:"id",width:280,render:(pn,ga)=>jr.createElement(Ke.default,{disabled:!(ga.works_count>1),value:String(ga.id)},ga.name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_review_time",width:130}];return jr.createElement(be.default,{centered:!0,title:"\u4EE3\u7801\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:Br,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>Xe(void 0,null,function*(){const pn=no.getFieldValue();ca(!0);const ga=yield(0,se.ZP)(`/api/homework_commons/${Aa.categoryId}/hack_homework_code_repeat.json`,{method:"post",body:{group_ids:[...pn.group_ids]}});ca(!1),ga.status===0&&(ea(),yield zt({type:"shixunHomeworks/getWorkList",payload:Vt.actionTabs.params}),ve.history.push(`/classrooms/${Aa.coursesId}/program_homework/${Aa.categoryId}/detail?tabs=2`),zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:va},onCancel:ea},jr.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"),Vt.codeReviewCourse&&jr.createElement(pt.default,{form:no,onChange:pn=>{Uo(Ce({},no.getFieldValue()))},initialValues:{group_ids:Li,end_time:ue()(ue()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},jr.createElement("div",{className:"flexd-table-header mt20"},jr.createElement(ke.default,{pagination:!1,dataSource:[],columns:Sa})),jr.createElement(pt.default.Item,{name:"group_ids"},jr.createElement(Ke.default.Group,{className:"w100"},jr.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},jr.createElement(Hn(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:pn=>{kn()},hasMore:oa,useWindow:!1},jr.createElement(ke.default,{loading:jt.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:Sa,dataSource:La,pagination:!1})))))),jr.createElement(ut.Z,null,jr.createElement(Be.Z,{className:"ml10"},jr.createElement(Ke.default,{checked:to,onChange:pn=>{ii(pn.target.checked);let ga=[];pn.target.checked&&(ga=La.filter(bn=>bn.works_count>1).map(bn=>bn.id+"")),no.setFieldsValue({group_ids:ga})}},"\u5168\u9009"))))};var Jt=(0,ve.connect)(({shixunHomeworks:Vt,loading:jt})=>({shixunHomeworks:Vt,loading:jt}))(Ct),en=te(12393),xn=te(84677),Dn=te(37178),Qn=te(49692),ba=te(78297),Fa=te(64912),fa=te(4301),Or=te(99796),Nr=te(63764),Mo=te(4901),Ur=Object.defineProperty,la=Object.defineProperties,Vn=Object.getOwnPropertyDescriptors,ra=Object.getOwnPropertySymbols,aa=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable,Zr=(Vt,jt,zt)=>jt in Vt?Ur(Vt,jt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Vt[jt]=zt,vr=(Vt,jt)=>{for(var zt in jt||(jt={}))aa.call(jt,zt)&&Zr(Vt,zt,jt[zt]);if(ra)for(var zt of ra(jt))Ir.call(jt,zt)&&Zr(Vt,zt,jt[zt]);return Vt},br=(Vt,jt)=>la(Vt,Vn(jt)),kr=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).next())});let po=[Fa.Z,fa.Z,Or.Z];const ni=({user:Vt,classroomList:jt,shixunHomeworks:zt})=>{var Aa,Xa,La;let[Mn,Qa]=(0,z.useState)(vr(br(vr({},(0,ve.useParams)()),{page:1,per_page:20,rank_type:2,search:"",course_group:(0,Ae.dE)()?[Vt.userInfo.course.course_group_id]:[]}),(0,ve.useParams)()));const[Pn,oa]=(0,z.useState)([]),[Tr,Lo]=(0,z.useState)([]),[Ra,_o]=(0,z.useState)([]),[Si,ur]=(0,z.useState)(!1),[Uo,Br]=(0,z.useState)(!1);let[Jn,to]=(0,z.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(kn,ea)=>kn.rank-ea.rank,render:(kn,ea,Sa)=>kn<4?z.createElement("img",{src:po[kn-1]}):kn},{title:"\u59D3\u540D",dataIndex:"user_name",width:80,fixed:"left",ellipsis:!0,key:"user_name",render:(kn,ea,Sa)=>z.createElement("span",null,ea.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"),kn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",width:80,ellipsis:!0,fixed:"left",render:kn=>kn||"- -"},{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:kn=>z.createElement("span",null,kn," ",kn!="-"&&"\u9898")},{title:"\u5F97\u5206",dataIndex:"score",width:50,ellipsis:!0,fixed:"left",key:"score"}]);const[ii,va]=(0,z.useState)(null),ca=()=>{var kn,ea;const Sa=((kn=document.getElementById("filterWarp"))==null?void 0:kn.clientHeight)||0,pn=((ea=document.getElementById("pagination"))==null?void 0:ea.clientHeight)||0;return window.innerHeight-Sa-pn-110};(0,z.useEffect)(()=>{const kn=()=>{va(ca())};return window.addEventListener("resize",kn),()=>{window.removeEventListener("resize",kn)}},[]),(0,z.useEffect)(()=>{var kn,ea,Sa,pn,ga;Jn.splice(7);for(let bn=0;bn<((kn=Pn==null?void 0:Pn.question_data)==null?void 0:kn.length);bn++){let Vr={};Vr.title=Pn!=null&&Pn.sent_type?z.createElement("span",null,"\u9898\u76EE"+(bn+1)+`\uFF08${(Sa=(ea=Pn==null?void 0:Pn.question_data)==null?void 0:ea[bn])==null?void 0:Sa.question_score}\uFF09`):z.createElement("a",{onClick:()=>kr(void 0,null,function*(){var gr,Rr;let qo=yield(0,se.ZP)(`/api/problems/${(Rr=(gr=Pn==null?void 0:Pn.question_data)==null?void 0:gr[bn])==null?void 0:Rr.identifier}/start.json`,{method:"get"});qo&&(window.open(`/myproblems/${qo==null?void 0:qo.identifier}?type=1`),localStorage.setItem("program_homework",[Mn.coursesId,Mn.categoryId]))})},"\u9898\u76EE"+(bn+1)+`\uFF08${(ga=(pn=Pn==null?void 0:Pn.question_data)==null?void 0:pn[bn])==null?void 0:ga.question_score}\uFF09`),Vr.dataIndex="question_data",Vr.width=140,Vr.render=(gr,Rr)=>{var qo,mr,vo,Ea,co;return z.createElement("div",null,((qo=gr==null?void 0:gr[bn])==null?void 0:qo.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 Oo,xo,yn,na,Na,jn,xa,xr;if((0,Ae.Rm)()&&!((Oo=jt.AssistantObject.hack)!=null&&Oo.can_appraise)){Ne.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(!((xo=gr==null?void 0:gr[bn])!=null&&xo.open_code)){Ne.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let wr=yield(0,se.ZP)("/api/courses/view_code.json",{method:"get",params:br(vr({},Mn),{id:Mn.coursesId,homework_common_id:Mn.categoryId,hack_user_code_id:(yn=gr==null?void 0:gr[bn])==null?void 0:yn.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=gr==null?void 0:gr[bn])==null?void 0:na.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Na=gr==null?void 0:gr[bn])==null?void 0:Na.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(jn=gr==null?void 0:gr[bn])==null?void 0:jn.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(xa=gr==null?void 0:gr[bn])==null?void 0:xa.score)),content:z.createElement(Nr.Z,{classroomList:jt,user:Vt,languages:[{language:(xr=gr==null?void 0:gr[bn])==null?void 0:xr.language,code:wr==null?void 0:wr.code}],v:gr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:gr.language,game_id:gr.id,diff_code_count:gr.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((mr=gr==null?void 0:gr[bn])==null?void 0:mr.answer_question_time)||"- -"),(vo=gr==null?void 0:gr[bn])!=null&&vo.submit_count?z.createElement(qe.Z,{title:`${((Ea=gr==null?void 0:gr[bn])==null?void 0:Ea.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((co=gr==null?void 0:gr[bn])==null?void 0:co.submit_count)||0):null))},Jn.push(Vr)}to([...Jn])},[Pn==null?void 0:Pn.question_data]),(0,z.useEffect)(()=>{var kn;(kn=Vt==null?void 0:Vt.userInfo)!=null&&kn.course&&((0,Ae.dE)()&&(Mn.course_group=(0,Ae.dE)()?[Vt.userInfo.course.course_group_id]:[],Qa(vr({},Mn))),no(1))},[Vt==null?void 0:Vt.userInfo]);function no(kn){return kr(this,null,function*(){var ea,Sa,pn,ga,bn,Vr,gr;ur(!0);let Rr=yield(0,se.ZP)("/api/courses/rank_list.json",{method:"get",params:br(vr({},Mn),{id:Mn.coursesId,rank_type:2,homework_common_id:Mn.categoryId})});if(oa(Rr),ur(!1),Rr.status!=-1&&((0,Ae.dE)()?(kn===1&&Lo([(Sa=(ea=Rr==null?void 0:Rr.course_group)==null?void 0:ea[0])==null?void 0:Sa.id]),Rr!=null&&Rr.my_rank?_o([vr({is_me:!0},Rr==null?void 0:Rr.my_rank),...Rr==null?void 0:Rr.rank_list]):_o([...Rr==null?void 0:Rr.rank_list])):_o([...Rr==null?void 0:Rr.rank_list]),kn===1)){let qo={title:(Rr==null?void 0:Rr.hack_rank_rule)===0?z.createElement(qe.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${Rr==null?void 0:Rr.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:(Rr==null?void 0:Rr.hack_rank_rule)===0?"finish_time":"finish_at",width:(Rr==null?void 0:Rr.hack_rank_rule)===0?80:150,ellipsis:!0,fixed:"left",key:"finish_time"};Jn.push(qo);for(let mr=0;mr<((pn=Rr==null?void 0:Rr.question_data)==null?void 0:pn.length);mr++){let vo={};vo.title=Rr!=null&&Rr.sent_type?z.createElement("span",null,"\u9898\u76EE"+(mr+1)+`\uFF08${(bn=(ga=Rr==null?void 0:Rr.question_data)==null?void 0:ga[mr])==null?void 0:bn.question_score}\uFF09`):z.createElement("a",{onClick:()=>kr(this,null,function*(){var Ea,co;let Oo=yield(0,se.ZP)(`/api/problems/${(co=(Ea=Rr==null?void 0:Rr.question_data)==null?void 0:Ea[mr])==null?void 0:co.identifier}/start.json`,{method:"get"});Oo&&(window.open(`/myproblems/${Oo==null?void 0:Oo.identifier}?type=1`),localStorage.setItem("program_homework",[Mn.coursesId,Mn.categoryId]))})},"\u9898\u76EE"+(mr+1)+`\uFF08${(gr=(Vr=Rr==null?void 0:Rr.question_data)==null?void 0:Vr[mr])==null?void 0:gr.question_score}\uFF09`),vo.dataIndex="question_data",vo.width=140,vo.render=(Ea,co)=>{var Oo,xo,yn,na,Na;return z.createElement("div",null,((Oo=Ea==null?void 0:Ea[mr])==null?void 0:Oo.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 jn,xa,xr,wr,Eo,ei,Bi,ji;if((0,Ae.Rm)()&&!((jn=jt.AssistantObject.hack)!=null&&jn.can_view)){Ne.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(!((xa=Ea==null?void 0:Ea[mr])!=null&&xa.open_code)){Ne.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:br(vr({},Mn),{id:Mn.coursesId,homework_common_id:Mn.categoryId,hack_user_code_id:(xr=Ea==null?void 0:Ea[mr])==null?void 0:xr.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",(wr=Ea==null?void 0:Ea[mr])==null?void 0:wr.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Eo=Ea==null?void 0:Ea[mr])==null?void 0:Eo.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(ei=Ea==null?void 0:Ea[mr])==null?void 0:ei.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(Bi=Ea==null?void 0:Ea[mr])==null?void 0:Bi.score)),content:z.createElement(Nr.Z,{classroomList:jt,user:Vt,languages:[{language:(ji=Ea==null?void 0:Ea[mr])==null?void 0:ji.language,code:qi==null?void 0:qi.code}],v:Ea,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:Ea.language,game_id:Ea.id,diff_code_count:Ea.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((xo=Ea==null?void 0:Ea[mr])==null?void 0:xo.answer_question_time)||"- -"),(yn=Ea==null?void 0:Ea[mr])!=null&&yn.submit_count?z.createElement(qe.Z,{title:`${((na=Ea==null?void 0:Ea[mr])==null?void 0:na.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Na=Ea==null?void 0:Ea[mr])==null?void 0:Na.submit_count)||0):null))},Jn.push(vo)}to([...Jn])}})}console.log("----",zt,Jn);const Li=(Aa=zt==null?void 0:zt.workSetting)==null?void 0:Aa.hack_rank_rule;return z.createElement("div",{style:{width:1200,margin:"0px auto",minHeight:Uo?"100vh":""},id:"rankingInfo"},(Pn==null?void 0:Pn.message)==="\u5C01\u699C\u4E2D"?z.createElement(Ye.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,Ae.GJ)()&&z.createElement("div",{style:{flex:1}},z.createElement(Ke.default.Group,{className:Dn.Z.checkboxgroup,value:Tr,onChange:kn=>{var ea;Mn.type===1?(Lo([]),Mn.course_group=[],Mn.page=1,Qa(vr({},Mn)),no()):Mn.type===2?(Lo(["\u5168\u90E8"]),Mn.course_group=(ea=Pn==null?void 0:Pn.course_group)==null?void 0:ea.map(Sa=>Sa.id),Mn.page=1,Qa(vr({},Mn)),no()):(Lo([...kn.filter(Sa=>Sa!="\u5168\u90E8")]),Mn.course_group=kn.filter(Sa=>Sa!="\u5168\u90E8"),Mn.page=1,Qa(vr({},Mn)),no())}},z.createElement(Ke.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:kn=>{kn.target.checked?Mn.type=2:Mn.type=1}},"\u5168\u90E8\u5206\u73ED"),(Xa=Pn==null?void 0:Pn.course_group)==null?void 0:Xa.map((kn,ea)=>z.createElement(Ke.default,{style:{marginBottom:10},onChange:Sa=>{Mn.type=3},value:kn.id},kn==null?void 0:kn.name)))),(0,Ae.dE)()&&z.createElement(lt.ZP.Group,{style:{marginBottom:10},onChange:kn=>{kn.target.value==="\u5168\u90E8"?(Mn.course_group=[],Mn.page=1,Qa(vr({},Mn)),no()):(Mn.course_group=[kn.target.value],Mn.page=1,Qa(vr({},Mn)),no())},defaultValue:Vt.userInfo.course.course_group_id},z.createElement(lt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(La=Pn==null?void 0:Pn.course_group)==null?void 0:La.map((kn,ea)=>z.createElement(lt.ZP,{style:{marginBottom:10},value:kn.id},kn.name)))),z.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{Uo?(0,Mo.BU)():(0,Mo.Dj)(document.getElementById("rankingInfo")),Br(!Uo)}},z.createElement("i",{style:{fontSize:12},className:`mr10 iconfont ${Uo?"icon-tuichuquanping2":"icon-quanping2"}`}),z.createElement("span",null,Uo?"\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",Li===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,Li===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"),Li==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,Ae.GJ)()&&z.createElement(z.Fragment,null,z.createElement(he.default.Search,{className:"mr20",onSearch:kn=>{Mn.page=1,Mn.search=kn,Qa(vr({},Mn)),no()},placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:250,marginLeft:"auto"}}),z.createElement(Ie.ZP,{onClick:()=>{(0,ba.VY)(br(vr({},Mn),{id:Mn.coursesId,rank_type:2,homework_common_id:Mn.categoryId}))}},"\u5BFC\u51FA")))),z.createElement(fe.Z,{spinning:Si},z.createElement(ke.default,{style:{marginTop:10},pagination:!1,scroll:{x:1200,y:Uo?ii:null},rowClassName:(kn,ea)=>ea===0&&(0,Ae.dE)()&&Dn.Z.tables,dataSource:Ra,columns:Jn})),z.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(Pe.Z,{current:Mn.page,pageSize:Mn.per_page,total:Pn==null?void 0:Pn.count,showSizeChanger:!0,onChange:(kn,ea)=>{Mn.page=kn,Mn.per_page=ea,Qa(vr({},Mn)),no()}}))))};var Po=(0,ve.connect)(({shixunHomeworks:Vt,user:jt,classroomList:zt})=>({user:jt,shixunHomeworks:Vt,classroomList:zt}))(ni),Mr=te(82693),ro=te(7621),bo=te(25060),ho=te(62551),yo=te(30056),sa=te(59301),Ho=Object.defineProperty,Ai=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable,Ji=(Vt,jt,zt)=>jt in Vt?Ho(Vt,jt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Vt[jt]=zt,Wi=(Vt,jt)=>{for(var zt in jt||(jt={}))zi.call(jt,zt)&&Ji(Vt,zt,jt[zt]);if(Ai)for(var zt of Ai(jt))nl.call(jt,zt)&&Ji(Vt,zt,jt[zt]);return Vt},Di=(Vt,jt,zt)=>new Promise((Aa,Xa)=>{var La=Pn=>{try{Qa(zt.next(Pn))}catch(oa){Xa(oa)}},Mn=Pn=>{try{Qa(zt.throw(Pn))}catch(oa){Xa(oa)}},Qa=Pn=>Pn.done?Aa(Pn.value):Promise.resolve(Pn.value).then(La,Mn);Qa((zt=zt.apply(Vt,jt)).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 Hi=({shixunHomeworks:Vt,classroomList:jt,globalSetting:zt,user:Aa,loading:Xa,dispatch:La})=>{var Mn,Qa,Pn;const oa=(0,ve.useParams)(),[Tr]=(0,ve.useSearchParams)(),[Lo,Ra]=(0,z.useState)(Tr.get("tabs")||"0"),[_o,Si]=(0,z.useState)({}),{workList:ur,workSetting:Uo}=Vt,[Br,Jn]=(0,z.useState)(!1);oa.category=Tr.get("category_id"),oa.order="work_score",oa.b_order="desc",(0,z.useEffect)(()=>{(0,Ae.Rm)()&&La({type:"classroomList/getAssistantPermissions",payload:{course_id:oa.coursesId}})},[(Mn=Aa==null?void 0:Aa.userInfo)==null?void 0:Mn.login]);const to=ea=>{var Sa;if(ea==="3"&&La({type:"shixunHomeworks/getWorkSetting",payload:Wi({},oa)}),ea==="5"&&!((Sa=jt.AssistantObject.hack)!=null&&Sa.can_exam_leaderboard)&&(0,Ae.Rm)()){Ne.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}Ra(ea),ea==="0"&&La({type:"shixunHomeworks/getWorkList",payload:oa})},ii=()=>{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:()=>Di(void 0,null,function*(){var ea;const Sa=(ea=Vt.workList)==null?void 0:ea.myshixun_identifier;(yield(0,nr.Fr)({id:Sa}))&&(Ne.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`),La({type:"shixunHomeworks/getWorkList",payload:_o}))})})},va=ea=>{ea=ea!=null&&ea.includes(".json")?ea:`${ea}.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:()=>Di(void 0,null,function*(){const Sa=yield(0,Qn.$Q)({url:ea});if(!Sa)return;Ne.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const pn=yield(0,Qn.Ir)({id:Sa.shixun_identifier});if(pn!=null&&pn.game_identifier){(0,Me.xg)(`/tasks/${pn.game_identifier}?coursesId=${oa.coursesId}`);return}(pn==null?void 0:pn.status)===2?va(pn==null?void 0:pn.message):(pn==null?void 0:pn.status)===3&&ca(pn==null?void 0:pn.message)})})},ca=ea=>{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",ea,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},no=ea=>Di(void 0,null,function*(){ea=ea!=null&&ea.includes(".json")?ea:`${ea}.json`;const Sa=yield(0,Qn.$Q)({url:ea});if(console.log(Sa,"execRes"),Sa!=null&&Sa.game_identifier){(0,Me.xg)(`/tasks/${Sa.game_identifier}?coursesId=${oa.coursesId}`);return}(Sa==null?void 0:Sa.status)===-3?(0,Me.eF)():(Sa==null?void 0:Sa.status)===2?va(Sa==null?void 0:Sa.message):(Sa==null?void 0:Sa.status)===3&&ca(Sa==null?void 0:Sa.message)}),Li=[(0,Ae.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:sa.createElement(Oe,null)},{name:(0,Ae.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",compontent:sa.createElement(je.Z,{setExportParams:Si}),forceRender:!0},!(0,Ae.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:sa.createElement(Oe,null),hidden:!1},{name:"\u6392\u540D",id:"5",compontent:sa.createElement(Po,null),hidden:!1},{name:"\u4EE3\u7801\u67E5\u91CD",id:"2",compontent:sa.createElement(st,null)},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",compontent:sa.createElement(ho.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(Qa=ur.homework_status)!=null&&Qa.includes("\u5BFC\u5165")?sa.createElement(bo.Z,null):sa.createElement(Fi,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:sa.createElement(yo.default,null)}].filter(ea=>!!ea).filter(ea=>{var Sa,pn;return(0,Ae.dE)()?ea.name!=="\u4EE3\u7801\u67E5\u91CD"&&ea.name!=="\u8BBE\u7F6E":(0,Ae.dE)()||((Sa=ur==null?void 0:ur.homework_status)==null?void 0:Sa[0])!=="\u5DF2\u622A\u6B62"?ea.name!=="\u8D28\u91CF\u68C0\u6D4B":!ur.code_review&&((pn=ur==null?void 0:ur.homework_status)==null?void 0:pn[0])!=="\u672A\u53D1\u5E03"?!0:ea.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(ea=>ur.open_code_quality_analysis?!0:ea.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(ea=>{var Sa;return(Sa=ur.homework_status)!=null&&Sa.includes("\u5BFC\u5165")?(0,Ae.dE)()?["0","1"].includes(ea.id):["0","1","3"].includes(ea.id):!0}),kn=()=>{var ea,Sa,pn,ga,bn,Vr,gr,Rr,qo,mr,vo;return sa.createElement("aside",{className:Dn.Z.workListTabButton},(0,Ae.dE)()&&!((ea=ur.homework_status)!=null&&ea.includes("\u5BFC\u5165"))&&sa.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},sa.createElement(Ie.ZP,{onClick:()=>Di(void 0,null,function*(){var Ea;let co=yield(0,se.ZP)(`/api/problems/${(Ea=Vt.workList)==null?void 0:Ea.start_identifier}/start.json`,{method:"get"});co&&(window.open(`/myproblems/${co==null?void 0:co.identifier}?type=1&backUrl=/classrooms/${oa.coursesId}/program_homework/${oa.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[oa==null?void 0:oa.coursesId,oa==null?void 0:oa.categoryId]))}),type:"primary"},(Sa=ur.homework_status)!=null&&Sa.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,Ae.dE)()&&((pn=Vt.workList)==null?void 0:pn.redo_work)&&sa.createElement(Ie.ZP,{onClick:ii,type:"primary",icon:sa.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((ga=Vt.workList)==null?void 0:ga.shixun_status)>1&&((bn=Vt.workList)==null?void 0:bn.time_status)<5&&(0,Ae.dE)()&&sa.createElement(Ie.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var Ea,co,Oo,xo,yn,na,Na;(0,an.tJ)(La,!0)&&((Oo=(co=(Ea=Vt.workList)==null?void 0:Ea.task_operation)==null?void 0:co[1])!=null&&Oo.includes("/")?no((yn=(xo=Vt.workList)==null?void 0:xo.task_operation)==null?void 0:yn[1]):(0,Me.xg)(`/tasks/${(Na=(na=Vt.workList)==null?void 0:na.task_operation)==null?void 0:Na[1]}`))}},(gr=(Vr=Vt.workList)==null?void 0:Vr.task_operation)==null?void 0:gr[0]),((Rr=Vt.workList)==null?void 0:Rr.commit_des)&&((qo=Vt.workList)==null?void 0:qo.commit_des)&&sa.createElement(Ie.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var Ea;(0,Me.xg)(`/classrooms/${oa.coursesId}/shixun_homework/${oa.categoryId}/${(Ea=Vt.workList)==null?void 0:Ea.id}/commitsummary`)}},(mr=Vt.workList)==null?void 0:mr.commit_des),(Uo==null?void 0:Uo.hack_edit_permission)&&((vo=ur==null?void 0:ur.homework_status)==null?void 0:vo[0])==="\u672A\u53D1\u5E03"&&sa.createElement(Ie.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var Ea;if(!((Ea=jt.AssistantObject.hack)!=null&&Ea.can_create)&&(0,Ae.Rm)()){Ne.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}ve.history.push(`/classrooms/${oa.coursesId}/program_homework/${oa.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"),(0,Ae.GJ)()&&ur.publish_immediately&&sa.createElement(Ie.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:()=>{var Ea,co;if(!((Ea=jt.AssistantObject.hack)!=null&&Ea.can_publish)&&(0,Ae.Rm)()){Ne.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(((co=Aa==null?void 0:Aa.userInfo)==null?void 0:co.user_status)===2){(0,an.Rd)();return}La({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[oa.categoryId],selectArrsAll:[ur],params:oa,detail:!0,type:2,manage_all_group:Uo==null?void 0:Uo.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),(0,Ae.GJ)()&&ur.end_immediately&&sa.createElement(Ie.ZP,{style:{background:"#0152d9",color:"#fff"},type:"primary",icon:sa.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:()=>{var Ea;if(!((Ea=jt.AssistantObject.hack)!=null&&Ea.can_stop)&&(0,Ae.Rm)()){Ne.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}La({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",params:oa,type:2,detail:!0,selectArrs:[oa.categoryId]}})}},"\u7ACB\u5373\u622A\u6B62"))};return sa.createElement("section",null,sa.createElement("div",{className:"edu-container"},ur.homework_name&&sa.createElement("section",{className:"animated fadeIn"},sa.createElement("aside",{className:"mt10"},ur.category&&sa.createElement(ie.Z,{separator:">"},sa.createElement(ie.Z.Item,null,sa.createElement(ve.Link,{to:`/classrooms/${oa==null?void 0:oa.coursesId}/program_homework`},ur.course_name)),sa.createElement(ie.Z.Item,null,sa.createElement(ve.Link,{to:`/classrooms/${oa==null?void 0:oa.coursesId}/program_homework/${ur.category.main?"":ur.category.category_id}`},ur.category.category_name)),sa.createElement(ie.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),sa.createElement("aside",{className:[Dn.Z.title,"mt20"].join(" ")},sa.createElement(ve.Link,{to:`/classrooms/${ur.course_id}/program_homework/${ur.category.main?"":ur.category.category_id}`},sa.createElement(ze.Z,{className:"font16 c-black"})),sa.createElement(qe.Z,{title:ur.homework_name,placement:"bottom"},sa.createElement("strong",{className:"font20 ml5"},ur.homework_name)),sa.createElement(Me.VV,{temporary:!0,status:ur.homework_status}))),sa.createElement("aside",{className:`mt30 relative ${Dn.Z.workListTabWrap}`},sa.createElement(He.default,{type:"card",defaultActiveKey:Lo,activeKey:Lo,tabBarExtraContent:(Pn=ur.homework_status)!=null&&Pn.includes("\u5BFC\u5165")&&(0,Ae.GJ)()?sa.createElement(Ie.ZP,{icon:sa.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{La({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ur==null?void 0:ur.homework_name,id:ur==null?void 0:ur.homework_id,type:"hack"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):kn(),onChange:to},Li.map((ea,Sa)=>sa.createElement(He.default.TabPane,{tab:ea.name,key:ea.id,forceRender:ea.forceRender},ea.compontent))))),sa.createElement(Jt,null),sa.createElement(en.Z,{courseEndTime:ur==null?void 0:ur.course_end_date,successCallback:()=>{La({type:"shixunHomeworks/getWorkList",payload:Wi({},oa)})},visible:jt.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[oa.categoryId],courseId:oa.coursesId,isBatch:!1}),sa.createElement(xn.Z,{courseEndTime:ur==null?void 0:ur.course_end_date}),sa.createElement(Mr.Z,{onOk:()=>{La({type:"shixunHomeworks/getWorkList",payload:Wi({},oa)})}}),sa.createElement(ro.Z,{onOk:()=>{La({type:"shixunHomeworks/getWorkList",payload:Wi({},oa)})}}),sa.createElement(be.default,{open:Br,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{Jn(!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(ke.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,ve.connect)(({shixunHomeworks:Vt,classroomList:jt,loading:zt,user:Aa,globalSetting:Xa})=>({classroomList:jt,shixunHomeworks:Vt,globalSetting:Xa,user:Aa,loading:zt.effects}))(Hi)},84677:function(bt,Pt,te){"use strict";var z=te(59301),se=te(78241),ve=te(8591),Ne=te(43418),be=te(95237),Ie=te(5112),ie=te(5871),qe=te(43604),He=te(5083),ke=te(24905),ze=te(61186),Me=te.n(ze),ye=te(99064),re=te(24065),a=te(955),y=te(89070),b=te(59437),E=te(92365),x=te(79834),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Pe=(De,Ue,je)=>Ue in De?ne(De,Ue,{enumerable:!0,configurable:!0,writable:!0,value:je}):De[Ue]=je,xe=(De,Ue)=>{for(var je in Ue||(Ue={}))me.call(Ue,je)&&Pe(De,je,Ue[je]);if(ue)for(var je of ue(Ue))fe.call(Ue,je)&&Pe(De,je,Ue[je]);return De},Ee=(De,Ue)=>oe(De,ae(Ue)),Ae=(De,Ue)=>{var je={};for(var Ge in De)me.call(De,Ge)&&Ue.indexOf(Ge)<0&&(je[Ge]=De[Ge]);if(De!=null&&ue)for(var Ge of ue(De))Ue.indexOf(Ge)<0&&fe.call(De,Ge)&&(je[Ge]=De[Ge]);return je},Ze=(De,Ue,je)=>new Promise((Ge,nt)=>{var et=Qt=>{try{Rt(je.next(Qt))}catch(Je){nt(Je)}},ht=Qt=>{try{Rt(je.throw(Qt))}catch(Je){nt(Je)}},Rt=Qt=>Qt.done?Ge(Qt.value):Promise.resolve(Qt.value).then(et,ht);Rt((je=je.apply(De,Ue)).next())});const ft=De=>{var Ue=De,{classroomList:je,dispatch:Ge,courseEndTime:nt,onWindowBack:et}=Ue,ht=Ae(Ue,["classroomList","dispatch","courseEndTime","onWindowBack"]),Rt,Qt,Je,it,Bt,Mt,St,cn,Fe,$t,Yt,vt,tn,dt,ct,rt,Oe,pt,ut,Be,he,Ke,Ye,we,gt,$e,Kt,Se,ot,wt,Le,We,st,Ft,Wt,mn,lt,At,Et;const nn=(0,y.useParams)(),[Ut]=se.default.useForm(),[sn,_n]=(0,z.useState)(1),[hn,an]=(0,z.useState)([]),[Un,Ht]=(0,z.useState)(0),[Zt,qt]=(0,z.useState)(2e3),[wa,qn]=(0,z.useState)(!0),[Tn,ja]=(0,z.useState)(!1),[Ia,Dr]=(0,z.useState)(!1),[yr,Zn]=(0,z.useState)([]),[yt,It]=(0,z.useState)(!0),[Lt,zn]=(0,z.useState)(!((Je=(Qt=(Rt=je.actionTabs)==null?void 0:Rt.selectArrsAll)==null?void 0:Qt[0])!=null&&Je.send_type));let[kt,ma]=(0,z.useState)([0,0,0]);(0,z.useEffect)(()=>{var Ua,hr,tr,mt,dn,rn,Sn,Nn,fn,On,An,Va,Ka;if(je.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(qr(),(tr=(hr=(Ua=je.actionTabs)==null?void 0:Ua.selectArrsAll)==null?void 0:hr[0])!=null&&tr.can_publish?ma([...(fn=(Nn=(Sn=je.actionTabs)==null?void 0:Sn.selectArrsAll)==null?void 0:Nn[0])==null?void 0:fn.difficult_count]):ma([...(rn=(dn=(mt=je.actionTabs)==null?void 0:mt.selectArrsAll)==null?void 0:dn[0])==null?void 0:rn.difficult_settings]),zn(!((Va=(An=(On=je.actionTabs)==null?void 0:On.selectArrsAll)==null?void 0:An[0])!=null&&Va.send_type)),ao(),je.actionTabs.type===2){const gn=(Ka=je.actionTabs.selectArrsAll)==null?void 0:Ka[0];It(gn.unified_setting)}else It(!1)},[je.actionTabs]),(0,z.useEffect)(()=>{if(Tn){if(Ia)return;Ge({type:"classroomList/setActionTabs",payload:{}}),(0,re.GJ)()?(Ge({type:"classroomList/getClassroomTeacherCommonList",payload:Ee(xe({},je.actionTabs.params),{type:1})}),Ge({type:"shixunHomeworks/getWorkList",payload:xe({},nn)})):Ge({type:"classroomList/getClassroomCommonList",payload:xe({},je.actionTabs.params)})}},[Tn]);const ao=Ua=>Ze(void 0,null,function*(){qn(!0);const hr=yield(0,E.c_)(Ee(xe({},nn),{page:Ua||sn,limit:2e4,homework_id:je.actionTabs.type===1?"":je.actionTabs.selectArrs[0]}));hr==null||hr.course_groups.map((tr,mt)=>{tr.key=tr.id,tr.title=tr.name,tr.disabled=tr.is_published}),hr&&(an([...hr==null?void 0:hr.course_groups]),Ht(hr==null?void 0:hr.course_groups_count),qn(!1),Ua||Ut.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"))}))}),pr=()=>{(0,re.GJ)()?je.actionTabs.detail?(Ge({type:"shixunHomeworks/setActionTabs",payload:{}}),Ge({type:"shixunHomeworks/getWorkList",payload:xe({},nn)}),Ge({type:"shixunHomeworks/getWorkSetting",payload:xe({},nn)})):Ge({type:"classroomList/getClassroomTeacherCommonList",payload:Ee(xe({},je.actionTabs.params),{type:5,category:je.actionTabs.params.categoryId})}):Ge({type:"classroomList/getClassroomCommonList",payload:xe({},je.actionTabs.params)})},_r=()=>Ze(void 0,null,function*(){var Ua,hr;if((0,re.Rm)()&&!((Ua=je.AssistantObject.hack)!=null&&Ua.can_publish)){ve.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"),sr(!1);return}const tr=xe({},Ut.getFieldsValue());if(tr.end_time<=tr.publish_time){ve.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),sr(!1);return}if((yr==null?void 0:yr.length)<=0&&!yt&&hn.length>0){ve.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),sr(!1);return}if(kt.reduce((rn,Sn)=>rn+Sn)===0&&!Lt){ve.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),sr(!1);return}let mt={homework_ids:[...je.actionTabs.selectArrs],group_ids:yr.length>0?yr.map(rn=>rn.id):(hr=je.detailCommonHomeworksList)==null?void 0:hr.course_groups,end_time:Me()(tr.end_time).format("YYYY-MM-DD HH:mm"),publish_time:Me()(tr.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:kt==null?void 0:kt.map(rn=>rn),send_type:Lt?"0":"1",unified_setting:!yr.length};if(sr(!0),(yield(0,ye.ZP)(`/api/courses/${nn.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:xe({},mt)})).status===0){if(sr(!1),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),ve.ZP.success("\u53D1\u5E03\u6210\u529F"),Ge({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),et){et();return}ht.onCallback&&ht.onCallback(),pr(),localStorage.getItem("Noviceguide")==="0"||Ge({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 sr(!1)}),qr=()=>{_n(1),an([]),Zn([])},_a=Un>sn*Zt,[Rn,sr]=(0,z.useState)(!1);return ee.createElement(Ne.default,{width:600,confirmLoading:Rn,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:je.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:_r,onCancel:()=>{if(qr(),Ge({type:"classroomList/setActionTabs",payload:{}}),et){et();return}pr()}},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'),hn&&ee.createElement(se.default,{form:Ut},ee.createElement("div",{style:{paddingLeft:0}},je.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),ee.createElement(Ie.ZP.Group,{value:Lt,disabled:!((Mt=(Bt=(it=je.actionTabs)==null?void 0:it.selectArrsAll)==null?void 0:Bt[0])!=null&&Mt.can_publish),onChange:Ua=>{zn(Ua.target.value)}},ee.createElement(Ie.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),ee.createElement(Ie.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Lt&&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:kt[0],onChange:Ua=>{kt[0]=Ua,ma([...kt])},min:0,disabled:!((Fe=(cn=(St=je.actionTabs)==null?void 0:St.selectArrsAll)==null?void 0:cn[0])!=null&&Fe.can_publish),placeholder:`\u6700\u5927${(tn=(vt=(Yt=($t=je.actionTabs)==null?void 0:$t.selectArrsAll)==null?void 0:Yt[0])==null?void 0:vt.difficult_count)==null?void 0:tn[0]}`,max:(Oe=(rt=(ct=(dt=je.actionTabs)==null?void 0:dt.selectArrsAll)==null?void 0:ct[0])==null?void 0:rt.difficult_count)==null?void 0:Oe[0],style:{width:60}})),ee.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",ee.createElement(ie.Z,{value:kt[1],onChange:Ua=>{kt[1]=Ua,ma([...kt])},min:0,disabled:!((Be=(ut=(pt=je.actionTabs)==null?void 0:pt.selectArrsAll)==null?void 0:ut[0])!=null&&Be.can_publish),max:(we=(Ye=(Ke=(he=je.actionTabs)==null?void 0:he.selectArrsAll)==null?void 0:Ke[0])==null?void 0:Ye.difficult_count)==null?void 0:we[1],placeholder:`\u6700\u5927${(Se=(Kt=($e=(gt=je.actionTabs)==null?void 0:gt.selectArrsAll)==null?void 0:$e[0])==null?void 0:Kt.difficult_count)==null?void 0:Se[1]}`,style:{width:60}})),ee.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",ee.createElement(ie.Z,{value:kt[2],onChange:Ua=>{kt[2]=Ua,ma([...kt])},min:0,disabled:!((Le=(wt=(ot=je.actionTabs)==null?void 0:ot.selectArrsAll)==null?void 0:wt[0])!=null&&Le.can_publish),placeholder:`\u6700\u5927${(Wt=(Ft=(st=(We=je.actionTabs)==null?void 0:We.selectArrsAll)==null?void 0:st[0])==null?void 0:Ft.difficult_count)==null?void 0:Wt[2]}`,max:(Et=(At=(lt=(mn=je.actionTabs)==null?void 0:mn.selectArrsAll)==null?void 0:lt[0])==null?void 0:At.difficult_count)==null?void 0:Et[2],style:{width:60}}))),ee.createElement(be.Z,{className:"mt30",align:"middle"},ee.createElement(qe.Z,null,ee.createElement(se.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},ee.createElement(He.default,{style:{width:170,marginRight:"25px"},disabledDate:Ua=>(0,x.Q8)(Ua,nt),disabledTime:Ua=>(0,x.d0)(Ua),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(qe.Z,{className:"ml20"},ee.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},ee.createElement(He.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Me()((0,a.U6)(),"HH:mm")},disabledDate:Ua=>(0,x.Q8)(Ua,nt,Ut.getFieldValue("publish_time")),disabledTime:Ua=>(0,x.d0)(Ua,Ut.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),je.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),ee.createElement(Ie.ZP.Group,{value:yt,onChange:Ua=>{It(Ua.target.value),Zn([])}},ee.createElement(Ie.ZP,{value:!0,disabled:!je.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),ee.createElement(Ie.ZP,{className:"ml20",disabled:hn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),hn.length<=0&&je.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"')),(je.actionTabs.type===1||!yt)&&hn.length>0&&ee.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ee.createElement("span",{style:{flex:1}},ee.createElement(ke.default,{checked:yr.length===hn.length,onChange:Ua=>{yr.length===hn.length?Zn([]):Zn(hn.filter(hr=>!hr.is_published))}},"\u5168\u9009")," "),ee.createElement("span",{style:{width:16}}),ee.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",yr.length||0,"\u4E2A\u5206\u73ED")),(je.actionTabs.type===1||!yt)&&hn.length>0&&ee.createElement(b.Z,{data:hn,selectedRowKeys:yr,setSelectedRowKeys:Zn})))};Pt.Z=(0,y.connect)(({classroomList:De})=>({classroomList:De}))(ft)},79834:function(bt,Pt,te){"use strict";te.d(Pt,{Q8:function(){return et},d0:function(){return ht},w6:function(){return nt}});var z=te(59301),se=te(5083),ve=te(57809),Ne=te(8591),be=te(43418),Ie=te(5112),ie=te(95237),qe=te(43604),He=te(6848),ke=te(24905),ze=te(3113),Me=te(61186),ye=te.n(Me),re=te(24065),a=te(99064),y=te(89392),b=te.n(y),E=te(955),x=te(24990),ee=te(89070),ne=te(40731),oe=te(46474),ae=te(38233),ue=te(82438),me=te(49692),fe=te(59301),Pe=Object.defineProperty,xe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,De=(it,Bt,Mt)=>Bt in it?Pe(it,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):it[Bt]=Mt,Ue=(it,Bt)=>{for(var Mt in Bt||(Bt={}))Ze.call(Bt,Mt)&&De(it,Mt,Bt[Mt]);if(Ae)for(var Mt of Ae(Bt))ft.call(Bt,Mt)&&De(it,Mt,Bt[Mt]);return it},je=(it,Bt)=>xe(it,Ee(Bt)),Ge=(it,Bt,Mt)=>new Promise((St,cn)=>{var Fe=vt=>{try{Yt(Mt.next(vt))}catch(tn){cn(tn)}},$t=vt=>{try{Yt(Mt.throw(vt))}catch(tn){cn(tn)}},Yt=vt=>vt.done?St(vt.value):Promise.resolve(vt.value).then(Fe,$t);Yt((Mt=Mt.apply(it,Bt)).next())});function nt(it,Bt){const Mt=[];for(let St=it;St{const St=itye()(Bt).endOf("day"),Fe=it{const Mt=parseInt(ye()(it).format("HH")),St=parseInt(ye()().format("HH")),cn=parseInt(ye()().format("mm"));if(!it)return{disabledHours:()=>nt(0,St),disabledMinutes:()=>nt(0,cn)};if(Bt){const Fe=parseInt(ye()(Bt).format("HH")),$t=parseInt(ye()(Bt).format("mm"));return ye()(it).isSame(ye()(Bt),"day")?{disabledHours:()=>nt(0,Fe),disabledMinutes:()=>Mt<=Fe?nt(0,$t):[]}:void 0}if(ye()(it).isSame(ye()(),"day"))return{disabledHours:()=>nt(0,St),disabledMinutes:()=>ye()(it).isSame(ye()(),"hour")&&Mt<=St?nt(0,cn):[]}},{RangePicker:Rt}=se.default,{Option:Qt}=ve.default,Je=({shixunHomeworks:it,loading:Bt,dispatch:Mt,classroomList:St,user:cn})=>{var Fe,$t,Yt,vt,tn,dt,ct,rt,Oe;const pt=(0,ee.useParams)(),{workSetting:ut,workList:Be,shixunWorkList:he,headerInfo:Ke,changeData:Ye}=it,[we,gt]=(0,z.useState)(!1),[$e,Kt]=(0,z.useState)(!1);let[Se,ot]=(0,z.useState)([]),[wt,Le]=(0,z.useState)([]),[We,st]=(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[Ft,Wt]=(0,z.useState)({}),[mn,lt]=(0,z.useState)({});(0,z.useEffect)(()=>()=>{ot([])},[]),(0,z.useEffect)(()=>{gt(!(0,re.GJ)())},[(0,re.GJ)()]);const At=()=>{Mt({type:"shixunHomeworks/getWorkSetting",payload:Ue({},pt)})};(0,z.useEffect)(()=>{if(!(ut!=null&&ut.course_id))return;Object.keys(We).map(function(qt){We[qt]=ut[qt]}),(!We.allow_late||!We.unified_late)&&(We.late_penalty=20,We.penalty_type=ne.Q.Percent),We.unified_setting||(We.unified_late=!1,We.unified_anonymous_comment=!1,We.unified_anonymous_appeal=!1),Se=JSON.parse(JSON.stringify(ut.group_settings.map(qt=>je(Ue({},qt),{group_name:[qt.group_name]})).filter(qt=>qt.publish_time!==null))),wt=JSON.parse(JSON.stringify(ut.allow_late_settings.map(qt=>je(Ue({},qt),{group_name:[qt.group_name]})).filter(qt=>qt.late_time!==null))),st(Ue({},We));const Zt=(0,E.QE)((Se==null?void 0:Se.length)>0?Se:[]);ot([...Zt]),(wt==null?void 0:wt.length)<=0?Le([{penalty_type:ne.Q.Percent,late_penalty:20}]):Le([...wt])},[ut]);const Et=()=>Ge(void 0,null,function*(){var Zt,qt;if(((Zt=cn==null?void 0:cn.userInfo)==null?void 0:Zt.user_status)===2){(0,oe.Rd)();return}const wa=JSON.parse(JSON.stringify(We));if(wa.challenge_settings.filter(Tn=>!Tn.hide),wa.categoryId=pt.categoryId,(qt=wa.challenge_settings)!=null&&qt.every(Tn=>!Tn.checked)){Ne.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Se),!We.unified_setting)Se=Se==null?void 0:Se.map(Tn=>{var ja;if(!Tn.publish_time||!Tn.end_time)throw Ne.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(!Tn.group_name)throw Ne.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Tn.group_name=typeof(Tn==null?void 0:Tn.group_name)=="string"?[Tn==null?void 0:Tn.group_name]:Tn==null?void 0:Tn.group_name,Tn.group_id=(ja=ut.group_settings)==null?void 0:ja.filter(Ia=>{var Dr;return(Dr=Tn==null?void 0:Tn.group_name)==null?void 0:Dr.includes(Ia.group_name)}).map(Ia=>Ia.group_id||Ia.id).toString().split(","),Tn});else if(!We.publish_time||!We.end_time)throw Ne.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(wa.group_settings=Se,We.allow_late)if(We.unified_late){if(We.late_penalty===null||We.late_penalty===void 0||We.late_penalty<0||We.late_penalty>100)throw Ne.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(!We.late_time)throw Ne.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 wt=wt==null?void 0:wt.map(Tn=>{var ja,Ia;if(Tn.late_penalty===null||Tn.late_penalty===void 0||Tn.late_penalty<0||Tn.late_penalty>100)throw Ne.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(!Tn.late_time)throw Ne.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(!Tn.group_name)throw Ne.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Tn.group_name=typeof(Tn==null?void 0:Tn.group_name)=="string"?[Tn==null?void 0:Tn.group_name]:Tn==null?void 0:Tn.group_name,Tn.group_id=(Ia=(ja=Tn==null?void 0:Tn.group_name)==null?void 0:ja.map(Dr=>{var yr,Zn;let yt=(Zn=(yr=ut.group_settings)==null?void 0:yr.filter(It=>(It==null?void 0:It.group_name)===Dr))==null?void 0:Zn[0];return yt==null?void 0:yt.group_id}))==null?void 0:Ia.toString().split(","),Tn}),wa.allow_late_settings=wt;let qn=yield(0,me.Tr)({homework_common_ids:[parseInt(pt.categoryId)],course_id:pt.coursesId,type:"homework_common"});(qn==null?void 0:qn.student_count)===0?nn(wa):(lt(wa),Wt(qn))}),nn=Zt=>{var qt;if(Zt.total_score===null){Ne.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Zt!=null&&Zt.work_efficiency&&Zt.eff_score===null){Ne.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const wa=Zt.challenge_settings.reduce((ja,Ia)=>ja+Number(Ia.challenge_score),0);if((wa==null?void 0:wa.toFixed(10))!==((qt=Zt.total_score-Zt.eff_score)==null?void 0:qt.toFixed(10))){Ne.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Zt.total_score}\u5206`);return}const qn={shixun_evaluation:Zt.shixun_evaluation,challenge_settings:Zt.challenge_settings};let Tn=()=>{var ja;const Ia=()=>Ge(void 0,null,function*(){Kt(!0),(yield(0,a.ZP)(`/api/homework_commons/${pt.categoryId}/publish_setting.json`,{method:"post",body:Ue({},Zt)})).status===0&&(Ne.ZP.success("\u66F4\u65B0\u6210\u529F"),At(),Mt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ue({},pt)})),Kt(!1)});!(0,y.isEqual)(Ye,qn)&&!((ja=Ke==null?void 0:Ke.homework_status)!=null&&ja.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:Ia}):Ia()};ut!=null&&ut.high_resources_consume&&!(ut!=null&&ut.high_resources_consume_permission)?Mt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:pt.coursesId,type:"shixun",type_id:pt.categoryId,name:ut.homework_name,fn:()=>{Tn()}}}):Tn()},Ut=(Zt,qt,wa="group_id")=>{var qn;return qt?qt.find(Tn=>Tn[wa]===Zt):(qn=ut==null?void 0:ut.group_settings)==null?void 0:qn.find(Tn=>Tn.group_id[0]===Zt)},sn=(ut==null?void 0:ut.allow_late)||(ut==null?void 0:ut.anonymous_comment),_n=Zt=>{var qt,wa;const qn=Ut(Zt,ut==null?void 0:ut.allow_late_settings,"id"),Tn=Ut(Zt,ut==null?void 0:ut.anonymous_comment_settings),ja=Ut(Zt);return(ut==null?void 0:ut.allow_late)&&qn&&ye()(qn==null?void 0:qn.late_time)<=ye()()||(ut==null?void 0:ut.anonymous_comment)&&Tn&&(Tn==null?void 0:Tn.evaluation_start)!==null||((wa=(ye()(ja==null?void 0:ja.end_time)<=ye()()&&((qt=ut==null?void 0:ut.allow_late_settings)==null?void 0:qt.filter(Ia=>Ia.group_id.includes(Zt))))[0])==null?void 0:wa.late_time)!=null},hn=(0,z.useMemo)(()=>(ut==null?void 0:ut.allow_late)||(ut==null?void 0:ut.all_group_late),[ut,Ke]),an=ut==null?void 0:ut.anonymous_comment,Un=Zt=>{if(!Zt)return!1;const qt=Ut(Zt,ut==null?void 0:ut.anonymous_comment_settings);return(ut==null?void 0:ut.anonymous_comment)&&qt&&(qt==null?void 0:qt.evaluation_start)!==null},Ht=(Zt,qt)=>{var wa,qn,Tn;Mt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Zt,index:qt,rangePickerDisabled:we||(ye()()<=ye()((qn=Ut((wa=Zt==null?void 0:Zt.group_id)==null?void 0:wa[0]))==null?void 0:qn.publish_time)?!1:[!0,_n((Tn=Zt==null?void 0:Zt.group_id)==null?void 0:Tn[0])]),disabledDate:ut==null?void 0:ut.course_end_date}})};return fe.createElement("section",{className:x.Z.form},fe.createElement("div",{className:x.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",fe.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")),fe.createElement("div",null,fe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},fe.createElement(Ie.ZP.Group,{disabled:we||!((Fe=Ke==null?void 0:Ke.homework_status)!=null&&Fe.includes("\u672A\u53D1\u5E03"))||(0,re.Rm)()&&!(($t=St.AssistantObject.practice)!=null&&$t.can_publish),value:We.unified_setting,onChange:Zt=>{var qt;if(!((qt=Ke==null?void 0:Ke.homework_status)!=null&&qt.includes("\u672A\u53D1\u5E03"))){Ne.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(We.unified_setting=!We.unified_setting,We.unified_setting||(We.unified_late=!1,Le([{late_penalty:5}])),st(Object.assign({},We)),We.unified_setting===!1&&Se==""){ot(Se.concat({}));return}We.unified_setting&&(ot([]),Le([{late_penalty:5}]))}},fe.createElement(Ie.ZP,{value:!0,disabled:we||!(ut!=null&&ut.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),fe.createElement(Ie.ZP,{disabled:we||!((Yt=ut==null?void 0:ut.group_settings)!=null&&Yt.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((vt=ut==null?void 0:ut.group_settings)==null?void 0:vt.length)===0&&fe.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")),We.unified_setting&&fe.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},fe.createElement(ie.Z,{align:"middle"},fe.createElement(qe.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),fe.createElement(qe.Z,{className:"ml10"},fe.createElement(se.default,{size:"large",disabled:we||!((tn=Ke==null?void 0:Ke.homework_status)!=null&&tn.includes("\u672A\u53D1\u5E03")||(dt=Ke==null?void 0:Ke.homework_status)!=null&&dt.includes("\u672A\u5F00\u59CB"))||(0,re.Rm)()&&!((ct=St.AssistantObject.practice)!=null&&ct.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:Zt=>et(Zt,ut==null?void 0:ut.course_end_date),disabledTime:Zt=>ht(Zt),value:We.publish_time?ye()(We.publish_time):"",onChange:(Zt,qt)=>{We.publish_time=qt,(We.end_time==""||!We.end_time)&&We.unified_setting&&(We.end_time=ye()(Zt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),st(Object.assign({},We))}}))),fe.createElement(ie.Z,{align:"middle",className:"pl30"},fe.createElement(qe.Z,null,"\u622A\u6B62\u65F6\u95F4"),fe.createElement(qe.Z,{className:"ml10"},fe.createElement(se.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(ut==null?void 0:ut.allow_late)&&(ut==null?void 0:ut.homework_status.includes("\u5DF2\u622A\u6B62"))||we||(ut==null?void 0:ut.allow_late)&&ye()()>=ye()(ut==null?void 0:ut.end_time)||(0,re.Rm)()&&!((rt=St.AssistantObject.practice)!=null&&rt.can_publish),disabledDate:Zt=>et(Zt,ut==null?void 0:ut.course_end_date,We.publish_time),disabledTime:Zt=>ht(Zt,We.publish_time),value:We.end_time?ye()(We.end_time):"",onChange:(Zt,qt)=>{We.end_time=qt,st(Object.assign({},We))}})))),!We.unified_setting&&(Se==null?void 0:Se.length)>0&&fe.createElement(ie.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Se&&Se.map(function(Zt,qt){var wa,qn,Tn,ja,Ia,Dr,yr;return fe.createElement(qe.Z,{span:24,key:qt},fe.createElement(ie.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:qt==(Se==null?void 0:Se.length)-1?"0px":"10px"}},fe.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",qt+1),fe.createElement(ve.default,{disabled:we||((wa=Ke==null?void 0:Ke.homework_status)!=null&&wa.includes("\u672A\u53D1\u5E03")&&Zt.id||ye()(){var yt;if((0,re.Rm)()&&!((yt=St.AssistantObject.practice)!=null&&yt.can_publish)){Ne.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[qt].group_name=Zn,Se[qt].group_id=Zt.group_id;const It=(0,y.flattenDeep)(Se.map(zn=>zn.group_name)),Lt=wt.map(zn=>{let kt=(zn==null?void 0:zn.group_name)||[];return je(Ue({},zn),{group_name:(0,y.remove)(kt,ma=>It.includes(ma))})});Le(Lt),ot(Se.slice())},maxTagCount:4,maxTagPlaceholder:Zn=>fe.createElement("div",{style:{cursor:"pointer"},onClick:()=>Ht(Zt,qt)},"+",Zn==null?void 0:Zn.length)},ut.group_settings&&ut.group_settings.map(function(Zn){if(!Se.map(It=>It.group_name).flat().includes(Zn.group_name))return fe.createElement(Qt,{value:Zn.group_name,key:Zn.id},Zn.group_name)})),fe.createElement("div",{className:"ml20"},fe.createElement(Rt,{size:"large",ranges:{\u6B64\u523B:[Zt.publish_time?ye()(Zt.publish_time):ye()(),ye()()]},allowClear:!1,disabled:we||(ye()()<=ye()((ja=Ut((Tn=Zt==null?void 0:Zt.group_id)==null?void 0:Tn[0]))==null?void 0:ja.publish_time)?!1:[!0,_n((Ia=Zt==null?void 0:Zt.group_id)==null?void 0:Ia[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:Zn=>et(Zn,ut==null?void 0:ut.course_end_date),disabledTime:Zn=>ht(Zn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ye()((0,E.U6)(),"HH:mm"),ye()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Zt.publish_time&&[ye()(Zt.publish_time),Zt.end_time?ye()(Zt.end_time):void 0],onChange:(Zn,yt)=>{var It;if((0,re.Rm)()&&!((It=St.AssistantObject.practice)!=null&&It.can_publish)){Ne.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[qt].publish_time=yt[0],!Zt.end_time&&yt[0]?Se[qt].end_time=ye()(yt[0]).add(7,"days"):Se[qt].end_time=yt[1],ot([...Se])},onCalendarChange:(Zn,yt,It)=>{if(yt!=null&&yt[0]&&!yt[1]){const Lt=ye()(yt[0]).add(7,"days");Se[qt].publish_time=yt[0],Se[qt].end_time=Lt,ot([...Se])}}})),!we&&fe.createElement("div",{style:{display:"flex",width:"50px"}},((Dr=Zt==null?void 0:Zt.group_id)==null?void 0:Dr.length)>1&&fe.createElement(He.Z,{title:"\u89C4\u5219\u62C6\u5206"},fe.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Ht(Zt,qt)})),Se.length<((yr=ut==null?void 0:ut.group_settings)==null?void 0:yr.length)&&fe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Zn;if((0,re.Rm)()&&!((Zn=St.AssistantObject.practice)!=null&&Zn.can_publish)){Ne.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}ot(Se.concat({}))}}),((Zt==null?void 0:Zt.publish_time)&&ye()(){const Zn=(0,y.cloneDeep)(wt);Zn.forEach((yt,It)=>{yt.group_name&&(yt.group_name=yt.group_name.filter(Lt=>{var zn;return!((zn=Se[qt].group_name)!=null&&zn.includes(Lt))}))}),Se=Se.filter((yt,It)=>qt!==It),Le(Zn),ot(Se.slice()),setTimeout(()=>ot(Se.slice()),10)}}))))}))),fe.createElement(ie.Z,null,fe.createElement(qe.Z,null,fe.createElement("div",{className:x.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",fe.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"))),fe.createElement(qe.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},fe.createElement(ke.default,{checked:We.allow_late,disabled:we||hn,onChange:Zt=>{var qt;if((0,re.Rm)()&&!((qt=St.AssistantObject.practice)!=null&&qt.can_late)){Ne.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}Zt.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:fe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},fe.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"),fe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),fe.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"))}),We.allow_late=!We.allow_late,wt==""&&Le([{late_penalty:5}]),st(Object.assign({},We))}},fe.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(We==null?void 0:We.allow_late)&&fe.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},fe.createElement("div",{style:{display:"flex"}},fe.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),fe.createElement(Ie.ZP.Group,{style:{marginLeft:"20px"},disabled:we||(ut==null?void 0:ut.anonymous_comment)||(ut==null?void 0:ut.allow_late),value:We.unified_late,onChange:Zt=>{var qt;if((0,re.Rm)()&&!((qt=St.AssistantObject.practice)!=null&&qt.can_late)){Ne.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}We.unified_late=Zt.target.value,wt==""&&!Zt.target.value&&Le([{penalty_type:ne.Q.Percent,late_penalty:20}]),st(Ue({},We))}},(We==null?void 0:We.unified_setting)&&fe.createElement(Ie.ZP,{value:!0,disabled:!(ut!=null&&ut.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Oe=ut==null?void 0:ut.group_settings)==null?void 0:Oe.length)>0&&fe.createElement(Ie.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),We!=null&&We.unified_late?fe.createElement(fe.Fragment,null,fe.createElement(ie.Z,{align:"middle",style:{marginTop:"10px"}},fe.createElement(qe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),fe.createElement(qe.Z,{className:"ml20"},fe.createElement(ne.Z,{disabled:we||an,value:{type:We.penalty_type,inputValue:We.late_penalty},onChange:Zt=>{var qt;if((0,re.Rm)()&&!((qt=St.AssistantObject.practice)!=null&&qt.can_late)){Ne.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}st(je(Ue({},We),{late_penalty:Zt.inputValue,penalty_type:Zt.type}))}})),fe.createElement(qe.Z,{flex:"1",className:"ml5"},fe.createElement("span",{className:"c-grey-c ml10"},We.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)"))),fe.createElement(ie.Z,{align:"middle",style:{marginTop:"15px"}},fe.createElement(qe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),fe.createElement(qe.Z,{className:"ml20"},fe.createElement(se.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:we||an,value:We.late_time?ye()(We.late_time):"",disabledDate:Zt=>et(Zt,ut==null?void 0:ut.course_end_date),onChange:(Zt,qt)=>{var wa;if((0,re.Rm)()&&!((wa=St.AssistantObject.practice)!=null&&wa.can_late)){Ne.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}We.late_time=qt,st(Object.assign({},We))}})))):wt.map(function(Zt,qt){var wa;return fe.createElement(qe.Z,{span:24,key:qt},fe.createElement(ie.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},fe.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",qt+1),fe.createElement(ve.default,{disabled:we||!((wa=Ke==null?void 0:Ke.homework_status)!=null&&wa.includes("\u672A\u53D1\u5E03"))&&Zt.id||(ut==null?void 0:ut.anonymous_comment),mode:"multiple",className:x.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Zt.group_name=="string"?[Zt.group_name]:Zt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:qn=>{var Tn;if((0,re.Rm)()&&!((Tn=St.AssistantObject.practice)!=null&&Tn.can_late)){Ne.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}wt[qt].group_name=qn,wt[qt].group_id=Zt.group_id,Le(wt.slice())}},ut.group_settings&&ut.group_settings.map(function(qn){const Tn=wt.map(Ia=>Ia.group_name).flat(),ja=Se.map(Ia=>Ia.group_name).flat();if(We!=null&&We.unified_setting){if(!Tn.includes(qn.group_name))return fe.createElement(Qt,{value:qn.group_name,key:qn.id},qn.group_name)}else if(ja.includes(qn.group_name)&&!Tn.includes(qn.group_name))return fe.createElement(Qt,{value:qn.group_name,key:qn.id},qn.group_name)})),fe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),fe.createElement(ne.Z,{disabled:we||Un(Zt.id),value:{type:Zt.penalty_type,inputValue:Zt.late_penalty},onChange:qn=>{var Tn;if((0,re.Rm)()&&!((Tn=St.AssistantObject.practice)!=null&&Tn.can_late)){Ne.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}wt[qt].late_penalty=qn.inputValue,wt[qt].penalty_type=qn.type,Le([...wt])}}),fe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),fe.createElement(se.default,{size:"large",disabled:we||Un(Zt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:qn=>et(qn,ut==null?void 0:ut.course_end_date),format:"YYYY-MM-DD HH:mm",value:Zt!=null&&Zt.late_time?ye()(Zt.late_time):void 0,onChange:(qn,Tn)=>{var ja;if((0,re.Rm)()&&!((ja=St.AssistantObject.practice)!=null&&ja.can_late)){Ne.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}wt[qt].late_time=Tn,Le([...wt])}}),!we&&fe.createElement("div",{style:{display:"flex",width:"50px"}},fe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var qn;if((0,re.Rm)()&&!((qn=St.AssistantObject.practice)!=null&&qn.can_late)){Ne.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}Le(wt.concat({penalty_type:ne.Q.Percent,late_penalty:20}))}}),qt>0&&!Zt.id&&fe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var qn;if((0,re.Rm)()&&!((qn=St.AssistantObject.practice)!=null&&qn.can_late)){Ne.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}wt=wt.filter((Tn,ja)=>qt!==ja),Le(wt.slice()),setTimeout(()=>Le(wt.slice()),10)}}))))})),!we&&fe.createElement(fe.Fragment,null,fe.createElement(ze.ZP,{type:"primary",size:"large",loading:$e,style:{width:"138px",marginTop:"30px"},onClick:()=>Et()},"\u4FDD\u5B58")),fe.createElement(ae.Z,{onConfirm:(Zt,qt)=>{Se.splice(Zt,0,...qt),Se.splice(Zt+qt.length,1);const wa=(0,E.QE)([...Se]);ot([...wa])}}),fe.createElement(ue.Z,{resdata:Ft,type:"shixun",okloading:$e,oktext:(Ft==null?void 0:Ft.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Zt=>Ge(void 0,null,function*(){Kt(!0);let qt=yield(0,a.ZP)(`/api/courses/${pt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(pt.categoryId)]}});Kt(!1),(qt==null?void 0:qt.status)===0&&nn(mn)})}))};Pt.ZP=(0,ee.connect)(({shixunHomeworks:it,classroomList:Bt,loading:Mt,user:St})=>({shixunHomeworks:it,classroomList:Bt,loading:Mt.effects,user:St}))(Je)},82693:function(bt,Pt,te){"use strict";var z=te(59301),se=te(54580),ve=te(78241),Ne=te(43418),be=te(8591),Ie=te(1710),ie=te(89070),qe=te(3294),He=te(1370),ke=te(99064),ze=te(61186),Me=te.n(ze),ye=te(955),re=te(59301),a=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,x=(ue,me,fe)=>me in ue?a(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ue[me]=fe,ee=(ue,me)=>{for(var fe in me||(me={}))b.call(me,fe)&&x(ue,fe,me[fe]);if(y)for(var fe of y(me))E.call(me,fe)&&x(ue,fe,me[fe]);return ue},ne=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=ft=>{try{Ze(fe.next(ft))}catch(De){xe(De)}},Ae=ft=>{try{Ze(fe.throw(ft))}catch(De){xe(De)}},Ze=ft=>ft.done?Pe(ft.value):Promise.resolve(ft.value).then(Ee,Ae);Ze((fe=fe.apply(ue,me)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:me,onOk:fe})=>{const Pe=(0,ie.useParams)(),[xe]=ve.default.useForm(),[Ee,Ae]=(0,z.useState)(),[Ze,ft]=(0,z.useState)(!1),De={height:100,onRemove:()=>{Ae("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:Ue=>ne(void 0,null,function*(){return Ae(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,ye.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),re.createElement(Ne.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(),me({type:"classroomList/setActionTabs",payload:{}})}},re.createElement(ve.default,{form:xe,onFinish:Ue=>ne(void 0,null,function*(){var je,Ge,nt;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}ft(!0);let et=new FormData;et.append("type",ue.actionTabs.type),et.append("file",Ee);let ht;window.location.href.indexOf("exercise")>-1?ht=`/api/exercises/${ue.actionTabs.id}/supplement_score.json`:ht=`/api/homework_commons/${ue.actionTabs.id}/supplement_score.json`;let Rt=yield(0,ke.ZP)(ht,{method:"post",body:et},!0);ft(!1),(Rt==null?void 0:Rt.status)===0&&(fe(),xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}}),((Ge=(je=Rt==null?void 0:Rt.data)==null?void 0:je.fail)==null?void 0:Ge.length)>0&&Ne.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:re.createElement(Ie.default,{pagination:!1,dataSource:(nt=Rt==null?void 0:Rt.data)==null?void 0:nt.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,ye.FH)("",qe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${ue.actionTabs.type}`)}}))})},re.createElement(ve.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},ue.actionTabs.name),re.createElement(ve.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:He.Z.downloadbutton,href:qe.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(ve.default.Item,{style:{marginBottom:0}},re.createElement(oe,ee({},De),re.createElement("a",{className:He.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"))))))};Pt.Z=(0,ie.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},62551:function(bt,Pt,te){"use strict";var z=te(59301),se=te(54580),ve=te(78241),Ne=te(99313),be=te(1710),Ie=te(58421),ie=te(89070),qe=te(99064),He=te(61186),ke=te.n(He),ze=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:ye}=se.default,re=({})=>{const a=(0,ie.useParams)(),[y]=ve.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 fe;ee(!0),window.location.href.indexOf("exercise")>-1?fe=`/api/exercises/${a==null?void 0:a.categoryId}/redo_logs.json`:fe=`/api/homework_commons/${a==null?void 0:a.categoryId}/redo_logs.json`;let Pe=yield(0,qe.ZP)(fe,{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 me=[{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:(fe,Pe,xe)=>{var Ee;return(Ee=ae.find(Ae=>Ae.question_type===fe))==null?void 0:Ee.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:(fe,Pe,xe)=>{var Ee;return(Ee=[{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(Ae=>Ae.id===fe))==null?void 0:Ee.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(fe,Pe,xe)=>ke()(fe).format("YYYY-MM-DD HH:mm:ss")}].filter(fe=>!!fe);return ze.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},ze.createElement(Ne.default,{destroyInactiveTabPane:!0,onChange:fe=>{ne.type=fe,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:ze.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:(fe,Pe,xe)=>ke()(fe).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:ze.createElement(be.default,{className:"mt20",loading:x,columns:me,dataSource:b==null?void 0:b.list,pagination:!1})}].filter(fe=>!!fe)}),ze.createElement(Ie.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(fe,Pe)=>{ne.page=fe,ne.limit=Pe,oe(ne),ue()},current:ne.page,total:b.count,pageSize:ne.limit,style:{marginTop:20}}))};Pt.Z=(0,ie.connect)(({classroomList:a})=>({classroomList:a}))(re)},7621:function(bt,Pt,te){"use strict";var z=te(59301),se=te(54580),ve=te(78241),Ne=te(43418),be=te(5871),Ie=te(89070),ie=te(99064),qe=te(61186),He=te.n(qe),ke=te(955),ze=te(59301),Me=Object.defineProperty,ye=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(ue,me,fe)=>me in ue?Me(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ue[me]=fe,x=(ue,me)=>{for(var fe in me||(me={}))y.call(me,fe)&&E(ue,fe,me[fe]);if(a)for(var fe of a(me))b.call(me,fe)&&E(ue,fe,me[fe]);return ue},ee=(ue,me)=>ye(ue,re(me)),ne=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=ft=>{try{Ze(fe.next(ft))}catch(De){xe(De)}},Ae=ft=>{try{Ze(fe.throw(ft))}catch(De){xe(De)}},Ze=ft=>ft.done?Pe(ft.value):Promise.resolve(ft.value).then(Ee,Ae);Ze((fe=fe.apply(ue,me)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:me,onOk:fe})=>{const Pe=(0,Ie.useParams)(),[xe]=ve.default.useForm(),[Ee,Ae]=(0,z.useState)(),[Ze,ft]=(0,z.useState)(!1),De={height:100,onRemove:()=>{Ae("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:Ue=>ne(void 0,null,function*(){return Ae(Ue),!1})};return(0,z.useEffect)(()=>{xe.setFieldsValue({publish_time:He()(He()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:He()(He()(new Date((0,ke.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),ze.createElement(Ne.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(),me({type:"classroomList/setActionTabs",payload:{}})}},ze.createElement(ve.default,{form:xe,onFinish:Ue=>ne(void 0,null,function*(){var je,Ge;console.log("---",ue.actionTabs,Ue,Pe);let nt=((je=ue==null?void 0:ue.actionTabs)==null?void 0:je.type)==="exercise"?`/api/exercises/${Pe==null?void 0:Pe.category}/exercise_user/edit_score.json`:`/api/student_works/${ue.actionTabs.id}/edit_score.json`;ft(!0);let et=yield(0,ie.ZP)(nt,{method:"post",body:ee(x({},Ue),{exercise_user_id:((Ge=ue==null?void 0:ue.actionTabs)==null?void 0:Ge.type)==="exercise"?ue.actionTabs.id:""})});ft(!1),xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}}),fe()})},ze.createElement(ve.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},ze.createElement(be.Z,{min:0,style:{width:"100%"}}))))};Pt.Z=(0,Ie.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},25060:function(bt,Pt,te){"use strict";var z=te(59301),se=te(54580),ve=te(78241),Ne=te(3113),be=te(95237),Ie=te(81327),ie=te(5083),qe=te(89070),He=te(61186),ke=te.n(He),ze=te(79834),Me=te(99064),ye=te(59301),re=(b,E,x)=>new Promise((ee,ne)=>{var oe=me=>{try{ue(x.next(me))}catch(fe){ne(fe)}},ae=me=>{try{ue(x.throw(me))}catch(fe){ne(fe)}},ue=me=>me.done?ee(me.value):Promise.resolve(me.value).then(oe,ae);ue((x=x.apply(b,E)).next())});const{Dragger:a}=se.default,y=({})=>{const b=(0,qe.useParams)(),[E]=ve.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,me;let fe;window.location.href.indexOf("exercise")>-1?fe=`/api/exercises/${b==null?void 0:b.categoryId}/get_time_setting.json`:fe=`/api/homework_commons/${b==null?void 0:b.categoryId}/get_time_setting.json`;let Pe=yield(0,Me.ZP)(fe,{method:"get"});(Pe==null?void 0:Pe.status)===0&&E.setFieldsValue({publish_time:ke()(ke()((ue=Pe==null?void 0:Pe.data)==null?void 0:ue.publish_time).format("YYYY-MM-DD HH:mm")),end_time:ke()(ke()((me=Pe==null?void 0:Pe.data)==null?void 0:me.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,z.useEffect)(()=>{ae()},[]),ye.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},ye.createElement("div",{style:{textAlign:"end"}},x&&ye.createElement(Ne.ZP,{onClick:()=>{ee(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!x&&ye.createElement("div",null,ye.createElement(Ne.ZP,{type:"primary",loading:ne,onClick:()=>{E.submit()}},"\u63D0\u4EA4"),ye.createElement(Ne.ZP,{style:{marginLeft:20},onClick:()=>{ee(!0)}},"\u53D6\u6D88"))),ye.createElement(ve.default,{form:E,disabled:x,onFinish:ue=>re(void 0,null,function*(){oe(!0),console.log("---",window.location.href);let me;window.location.href.indexOf("exercise")>-1?me=`/api/exercises/${b==null?void 0:b.categoryId}/time_setting.json`:me=`/api/homework_commons/${b==null?void 0:b.categoryId}/time_setting.json`;let fe=yield(0,Me.ZP)(me,{method:"post",body:{publish_time:ke()(ue.publish_time).format("YYYY-MM-DD HH:mm"),end_time:ke()(ue.end_time).format("YYYY-MM-DD HH:mm")}});oe(!1),(fe==null?void 0:fe.status)===0&&ee(!0)})},ye.createElement(be.Z,null,ye.createElement(Ie.Z,null,ye.createElement(ve.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ye.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,ze.Q8)(ue),disabledTime:ue=>(0,ze.d0)(ue),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ye.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),ye.createElement(be.Z,null,ye.createElement(Ie.Z,null,ye.createElement(ve.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ye.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,ze.Q8)(ue,"",E.getFieldValue("publish_time")),disabledTime:ue=>(0,ze.d0)(ue,E.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ye.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")))))};Pt.Z=(0,qe.connect)(({classroomList:b})=>({classroomList:b}))(y)},59437:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return ke}});var z=te(59301),se=te(92832),ve=te(24905),Ne=te(95237),be={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ie=te(8797),qe=(ze,Me,ye)=>new Promise((re,a)=>{var y=x=>{try{E(ye.next(x))}catch(ee){a(ee)}},b=x=>{try{E(ye.throw(x))}catch(ee){a(ee)}},E=x=>x.done?re(x.value):Promise.resolve(x.value).then(y,b);E((ye=ye.apply(ze,Me)).next())}),ke=({data:ze,value:Me=[],handleChangePage:ye,setSelectedRowKeys:re,selectedRowKeys:a,onChange:y=()=>{}})=>{const[b,E]=(0,z.useState)([]),[x,ee]=(0,z.useState)([]),[ne,oe]=(0,z.useState)([]);let[ae,ue]=(0,z.useState)(1),[me,fe]=(0,z.useState)();return(0,z.useEffect)(()=>{E(ze),ee([]),oe([])},[ze]),(0,z.useEffect)(()=>{re&&(ee(a),oe(a))},[a]),z.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},z.createElement("div",{className:be.leftdiv},z.createElement(se.default.Search,{size:"middle",onChange:Pe=>qe(void 0,null,function*(){E(ze.filter(xe=>{var Ee;return(Ee=xe==null?void 0:xe.name)==null?void 0:Ee.includes(Pe.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&z.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),z.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},z.createElement(ve.default.Group,{value:x.map(Pe=>`${Pe.id}`),onChange:Pe=>{re(b.filter(xe=>Pe.includes(`${xe.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((Pe,xe)=>z.createElement(Ne.Z,{key:Pe.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},z.createElement(ve.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Pe.is_published,value:`${Pe.id}`},z.createElement("div",{className:be.listClass},z.createElement("span",{className:be.spantitle,style:{width:Pe.is_published?"108px":"170px"}},Pe.name),Pe.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:Pe=>{oe(x.filter(xe=>xe.name.includes(Pe.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ne.length===0&&z.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ne.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}},ne.map((Pe,xe)=>z.createElement(Ne.Z,{justify:"space-between",style:{marginTop:"10px"},key:Pe.id},z.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Pe.name),z.createElement("img",{src:Ie,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{re(x.filter(Ee=>`${Ee.id}`!=`${Pe.id}`))}})))))))}},38233:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return y}});var z=te(59301),se=te(89070),ve=te(5083),Ne=te(43418),be=te(92832),Ie=te(95237),ie=te(43604),qe={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},He=te(61186),ke=te.n(He),ze=te(955),Me=te(8797),ye=te(59301);const{RangePicker:re}=ve.default,a=({dispatch:b,classroomList:E,onConfirm:x})=>{const[ee,ne]=(0,z.useState)([]),[oe,ae]=(0,z.useState)([]),[ue,me]=(0,z.useState)("");(0,z.useEffect)(()=>{var xe;if(E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Ee=E.actionTabs.data;console.log("data",Ee);let Ae=(xe=Ee==null?void 0:Ee.group_name)==null?void 0:xe.map((Ze,ft)=>{var De;return{group_id:Ee==null?void 0:Ee.group_id[ft],group_name:Ee==null?void 0:Ee.group_name[ft],is_admin:Ee==null?void 0:Ee.is_admin,end_time:Ee==null?void 0:Ee.end_time,publish_time:Array.isArray(Ee==null?void 0:Ee.publish_time)?(De=Ee==null?void 0:Ee.publish_time)==null?void 0:De[0]:Ee==null?void 0:Ee.publish_time}});Ae&&(ne([...Ae]),ae([...Ae]))}},[E.actionTabs]);const fe=()=>{b({type:"classroomList/setActionTabs",payload:{}}),me("")},Pe=xe=>{if(xe){const Ee=oe==null?void 0:oe.filter(Ae=>{var Ze,ft;return(ft=(Ze=Ae==null?void 0:Ae.group_name)==null?void 0:Ze.toLowerCase())==null?void 0:ft.includes(xe==null?void 0:xe.toLowerCase())});ne(Ee)}else ne(oe)};return ye.createElement(Ne.default,{width:980,title:ye.createElement("div",{style:{fontWeight:"bold",display:"flex"}},ye.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",ye.createElement("span",{className:qe.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")),ye.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=>{me(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:()=>fe(),onOk:()=>{var xe;x((xe=E.actionTabs)==null?void 0:xe.index,oe),fe()}},ye.createElement("div",{className:qe.modal_con},ye.createElement(Ie.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ee==null?void 0:ee.length)>0?ee.map(function(xe,Ee){var Ae,Ze;return ye.createElement(ie.Z,{span:24,key:Ee},ye.createElement(Ie.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ee==(ee==null?void 0:ee.length)-1?"0px":"10px"}},ye.createElement("div",{className:qe.multiple_select,title:xe.group_name},xe.group_name),ye.createElement("div",{className:"ml20"},ye.createElement(re,{size:"large",ranges:{\u6B64\u523B:[xe.publish_time?ke()(xe.publish_time):ke()(),ke()()]},allowClear:!1,disabled:(Ae=E.actionTabs)==null?void 0:Ae.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:ft=>{var De;return(0,ze.Q8)(ft,(De=E.actionTabs)==null?void 0:De.disabledDate)},disabledTime:ft=>(0,ze.d0)(ft),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ke()((0,ze.U6)(),"HH:mm"),ke()((0,ze.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:xe.publish_time&&[ke()(xe.publish_time),xe.end_time?ke()(xe.end_time):void 0],onChange:(ft,De)=>{ee[Ee].publish_time=De[0],ee[Ee].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?ye.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):ye.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ee.splice(Ee,1),ne([...ee]),oe.forEach((ft,De)=>{ft.group_id===xe.group_id&&oe.splice(De,1)}),ae([...oe])}})))}):ye.createElement(Me.Z,null))))};var y=(0,se.connect)(({classroomList:b})=>({classroomList:b}))(a)},78297:function(bt,Pt,te){"use strict";te.d(Pt,{AD:function(){return ft},D9:function(){return et},Hp:function(){return ae},IM:function(){return Rt},Iy:function(){return ue},KM:function(){return Yt},MJ:function(){return me},Ne:function(){return ht},ON:function(){return Mt},Uj:function(){return Fe},VY:function(){return it},YO:function(){return cn},YX:function(){return St},Zn:function(){return a},_g:function(){return ee},_k:function(){return Ge},c6:function(){return Ae},cr:function(){return y},eV:function(){return Ze},fi:function(){return b},gh:function(){return xe},hS:function(){return Qt},iA:function(){return E},j6:function(){return ne},je:function(){return je},jj:function(){return oe},kS:function(){return Bt},o6:function(){return Ee},pO:function(){return $t},rQ:function(){return De},sA:function(){return Pe},xm:function(){return nt},xo:function(){return Je},y8:function(){return Ue},yd:function(){return x}});var z=te(92365),se=te(89070),ve=te(955),Ne=te(8591),be=te(3294),Ie=Object.defineProperty,ie=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,ke=(vt,tn,dt)=>tn in vt?Ie(vt,tn,{enumerable:!0,configurable:!0,writable:!0,value:dt}):vt[tn]=dt,ze=(vt,tn)=>{for(var dt in tn||(tn={}))qe.call(tn,dt)&&ke(vt,dt,tn[dt]);if(ie)for(var dt of ie(tn))He.call(tn,dt)&&ke(vt,dt,tn[dt]);return vt},Me=(vt,tn,dt)=>new Promise((ct,rt)=>{var Oe=Be=>{try{ut(dt.next(Be))}catch(he){rt(he)}},pt=Be=>{try{ut(dt.throw(Be))}catch(he){rt(he)}},ut=Be=>Be.done?ct(Be.value):Promise.resolve(Be.value).then(Oe,pt);ut((dt=dt.apply(vt,tn)).next())});const ye=()=>{(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=vt=>Me(void 0,null,function*(){ye(),(yield(0,z.YR)(ze({},vt))).status===0&&(yield(0,ve.QH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${vt.coursesId}/export_couser_info.json`,query:vt}))),re()}),y=vt=>Me(void 0,null,function*(){const tn=yield(0,z.yS)(ze({},vt));if(tn.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_member_act_score`);else{if(tn.status===-2)return tn;tn.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_member_act_score`))}}),b=vt=>Me(void 0,null,function*(){const tn=yield(0,z.W0)(ze({},vt));if(tn.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_score`);else{if(tn.status===-4)return tn;tn.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_score`))}}),E=vt=>Me(void 0,null,function*(){const tn=yield(0,z.Nl)(ze({},vt));if(tn.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_exercise_and_other`);else{if(tn.status===-4)return tn;tn.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=vt=>Me(void 0,null,function*(){const tn=yield(0,z.IU)(ze({},vt));if(tn.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${vt.coursesId}/exportlist/export_star_user`);else{if(tn.status===-4)return tn;tn.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/export_star_user`))}}),ee=vt=>Me(void 0,null,function*(){const tn=yield(0,z.td)(ze({},vt));if(tn.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_exercise_and_other`);else{if(tn.status===-2)return tn;if(tn.status===-3)(0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_exercise_and_other`);else if(tn.status===-4)return tn}}),ne=vt=>Me(void 0,null,function*(){const tn=yield(0,z.QX)(ze({},vt));if(tn.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_homework`);else{if(tn.status===-4)return tn;tn.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_homework`))}}),oe=(vt,tn)=>Me(void 0,null,function*(){const dt=yield(0,z.o_)(ze({},vt));dt.status===0?(Ne.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/${vt.coursesId}/exportlist/${tn}`)):dt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/${tn}`))}),ae=(vt,tn)=>Me(void 0,null,function*(){const dt=yield(0,z.ZL)(ze({},vt));dt.status===0?(Ne.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/${vt.coursesId}/exportlist/${tn}`)):dt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/${tn}`))}),ue=(vt,tn)=>Me(void 0,null,function*(){const dt=yield(0,z.aP)(ze({},vt));dt.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${vt.coursesId}/exportlist/${tn}`)):dt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/${tn}`))}),me=(vt,tn)=>Me(void 0,null,function*(){const dt=yield(0,z.vV)(ze({},vt));dt.status===0?(Ne.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/${vt.coursesId}/exportlist/${tn}`)):dt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/${tn}`))}),fe=vt=>Me(void 0,null,function*(){ye(),(yield exportCourseWorkListAppendix(ze({},vt))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${vt.categoryId}/works_list.zip`,query:vt}))),re()}),Pe=vt=>Me(void 0,null,function*(){ye(),yield(0,ve.QH)("",be.Z.API_SERVER+`/api/polls/${vt.categoryId}/commit_result.xlsx`),re()}),xe=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${vt.coursesId}/attendances/export_xlsx_data.xlsx`,query:vt}))}),Ee=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${vt.coursesId}/video_study_statics.xlsx`,query:vt}))}),Ae=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${vt.coursesId}/export_video_study.xlsx`,query:vt}))}),Ze=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${vt.coursesId}/export_course_students_info.xlsx`,query:vt}))}),ft=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/school_manages/students.xlsx",query:vt}))}),De=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/item_banks/export.xlsx",query:vt}))}),Ue=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:vt}))}),je=vt=>Me(void 0,null,function*(){const tn=yield(0,z.Uy)(ze({},vt));tn.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${vt.coursesId}/exportlist/exercise_score,export_exercise_users`)):tn.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${vt.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ge=vt=>Me(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/export_records/${vt.id}.xlsx`,query:vt}))}),nt=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:vt}))}),et=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${vt==null?void 0:vt.coursesId}/${vt.menuKey}_statistic.xlsx?${vt.checkedList.map(tn=>`course_group_id[]=${tn}`).join("&")}`,query:vt}))}),ht=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/ec_years/${vt==null?void 0:vt.ec_year_id}/ec_training_objectives.xlsx`,query:vt}))}),Rt=vt=>Me(void 0,null,function*(){yield(0,ve.FH)(vt==null?void 0:vt.name,(0,ve.NY)({url:be.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:vt}))}),Qt=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/ec_years/${vt==null?void 0:vt.ec_year_id}/ec_courses.xlsx`,query:vt}))}),Je=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/ec_years/${vt==null?void 0:vt.ec_year_id}/ec_graduation_requirements.xlsx`,query:vt}))}),it=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:vt}))}),Bt=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:vt}))}),Mt=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/examination_banks/${vt.id}.json`,query:vt}))}),St=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/exercises/${vt.categoryId}.json`,query:vt}))}),cn=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/polls/${vt==null?void 0:vt.id}/commit_result.json`,query:vt}))}),Fe=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/paths/get_task_pass.json",query:vt}))}),$t=(vt,tn)=>Me(void 0,null,function*(){yield(0,ve.FH)(tn||"",(0,ve.NY)({url:be.Z.API_SERVER+`/api/exercises/${vt==null?void 0:vt.exercise_id}/consult_exercise.json`,query:vt}))}),Yt=vt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/competitions/${vt==null?void 0:vt.identifier}/competition_commit_records/member_works.xlsx`,query:vt}))})},4901:function(bt,Pt,te){"use strict";te.d(Pt,{BU:function(){return se},Dj:function(){return z},gH:function(){return ve},vp:function(){return Ne}});function z(be){try{be.mozRequestFullScreen?be.mozRequestFullScreen():be.webkitRequestFullScreen&&be.webkitRequestFullScreen()}catch(Ie){console.log(Ie,":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 ve=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Ne(){var be=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,Ie=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",be),window.isFullScreen?window.isFullScreen:be!=null}},46474:function(bt,Pt,te){"use strict";te.d(Pt,{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(89070),se=te(43418),ve=te(28103),Ne=te(8591),be=te(24065),Ie=te(955),ie=te(87169),qe=te(25510),He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHA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CCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",ke=te.p+"static/newqrcode.a8740efb.png",ze=te(32637),Me=te(59301),ye=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=ft=>{try{Ze(fe.next(ft))}catch(De){xe(De)}},Ae=ft=>{try{Ze(fe.throw(ft))}catch(De){xe(De)}},Ze=ft=>ft.done?Pe(ft.value):Promise.resolve(ft.value).then(Ee,Ae);Ze((fe=fe.apply(ue,me)).next())});const re=(ue,me=!1)=>!!(a(ue)&&y(me)),a=ue=>(0,be.bg)()?!0:(ue({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(ue=!1)=>{var me;const{user:fe}=(0,z.getDvaApp)()._store.getState();return(me=fe.userInfo)!=null&&me.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,Ie.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:ze}),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:me}=(0,z.getDvaApp)()._store.getState();return(ue=me.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,Ie.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:ke,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ne=(ue,me)=>ue?!0:(se.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Me.createElement("div",null,Me.createElement("p",null,me||"\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:He,width:200}),Me.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ie.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(ve.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:qe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ae=(ue,me="")=>{const{shixunsDetail:{detail:fe}}=(0,z.getDvaApp)()._store.getState();if((fe==null?void 0:fe.public)===2||(fe==null?void 0:fe.public)===1||(fe==null?void 0:fe.shixun_status)===3){let Pe="";return(fe==null?void 0:fe.public)===2&&(Pe="\u5DF2\u516C\u5F00"),(fe==null?void 0:fe.public)===1&&(Pe="\u5F85\u5BA1\u6838"),(fe==null?void 0:fe.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",me,"\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:qe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(fe==null?void 0:fe.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",me,"\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:()=>ye(void 0,null,function*(){(yield ue({type:"shixunsDetail/cancelRelease",payload:{id:fe==null?void 0:fe.identifier}})).status!==401&&(Ne.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:fe==null?void 0:fe.identifier}}),ue({type:"practiceSetting/getCommonData",payload:{id:fe==null?void 0:fe.identifier}}))})})}}),!0):!1}},50371:function(bt,Pt){"use strict";function te(){const z=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let se=1;se{const be=ve[Ne];be!==void 0&&(z[Ne]=be)})}return z}Pt.Z=te},13845:function(bt,Pt,te){"use strict";te.d(Pt,{F:function(){return z},Z:function(){return se}});function z(ve){return ve!=null&&ve===ve.window}function se(ve,Ne){var be,Ie;if(typeof window=="undefined")return 0;const ie=Ne?"scrollTop":"scrollLeft";let qe=0;return z(ve)?qe=ve[Ne?"pageYOffset":"pageXOffset"]:ve instanceof Document?qe=ve.documentElement[ie]:(ve instanceof HTMLElement||ve)&&(qe=ve[ie]),ve&&!z(ve)&&typeof qe!="number"&&(qe=(Ie=((be=ve.ownerDocument)!==null&&be!==void 0?be:ve).documentElement)===null||Ie===void 0?void 0:Ie[ie]),qe}},56762:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return se}});var z=te(59301);function se(){const[,ve]=z.useReducer(Ne=>Ne+1,0);return ve}},68031:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return Ne}});var z=te(16089);function se(be,Ie,ie,qe){const He=ie-Ie;return be/=qe/2,be<1?He/2*be*be*be+Ie:He/2*((be-=2)*be*be+2)+Ie}var ve=te(13845);function Ne(be){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ie=()=>window,callback:qe,duration:He=450}=Ie,ke=ie(),ze=(0,ve.Z)(ke,!0),Me=Date.now(),ye=()=>{const a=Date.now()-Me,y=se(a>He?He:a,ze,be,He);(0,ve.F)(ke)?ke.scrollTo(window.pageXOffset,y):ke instanceof Document||ke.constructor.name==="HTMLDocument"?ke.documentElement.scrollTop=y:ke.scrollTop=y,a{let{children:Ue}=De;const{getPrefixCls:je}=be.useContext(ie.E_),Ge=je("breadcrumb");return be.createElement("li",{className:`${Ge}-separator`,"aria-hidden":"true"},Ue===""?Ue:Ue||"/")};ke.__ANT_BREADCRUMB_SEPARATOR=!0;var ze=ke,Me=function(De,Ue){var je={};for(var Ge in De)Object.prototype.hasOwnProperty.call(De,Ge)&&Ue.indexOf(Ge)<0&&(je[Ge]=De[Ge]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ge=Object.getOwnPropertySymbols(De);ntUe[nt]||Ge)}function re(De,Ue,je,Ge){if(je==null)return null;const{className:nt,onClick:et}=Ue,ht=Me(Ue,["className","onClick"]),Rt=Object.assign(Object.assign({},(0,Ne.Z)(ht,{data:!0,aria:!0})),{onClick:et});return Ge!==void 0?be.createElement("a",Object.assign({},Rt,{className:se()(`${De}-link`,nt),href:Ge}),je):be.createElement("span",Object.assign({},Rt,{className:se()(`${De}-link`,nt)}),je)}function a(De,Ue){return(Ge,nt,et,ht,Rt)=>{if(Ue)return Ue(Ge,nt,et,ht);const Qt=ye(Ge,nt);return re(De,Ge,Qt,Rt)}}var y=function(De,Ue){var je={};for(var Ge in De)Object.prototype.hasOwnProperty.call(De,Ge)&&Ue.indexOf(Ge)<0&&(je[Ge]=De[Ge]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ge=Object.getOwnPropertySymbols(De);nt{const{prefixCls:Ue,separator:je="/",children:Ge,menu:nt,overlay:et,dropdownProps:ht,href:Rt}=De,Je=(it=>{if(nt||et){const Bt=Object.assign({},ht);if(nt){const Mt=nt||{},{items:St}=Mt,cn=y(Mt,["items"]);Bt.menu=Object.assign(Object.assign({},cn),{items:St==null?void 0:St.map((Fe,$t)=>{var{key:Yt,title:vt,label:tn,path:dt}=Fe,ct=y(Fe,["key","title","label","path"]);let rt=tn!=null?tn:vt;return dt&&(rt=be.createElement("a",{href:`${Rt}${dt}`},rt)),Object.assign(Object.assign({},ct),{key:Yt!=null?Yt:$t,label:rt})})})}else et&&(Bt.overlay=et);return be.createElement(He.Z,Object.assign({placement:"bottom"},Bt),be.createElement("span",{className:`${Ue}-overlay-link`},it,be.createElement(qe.Z,null)))}return it})(Ge);return Je!=null?be.createElement(be.Fragment,null,be.createElement("li",null,Je),je&&be.createElement(ze,null,je)):null},E=De=>{const{prefixCls:Ue,children:je,href:Ge}=De,nt=y(De,["prefixCls","children","href"]),{getPrefixCls:et}=be.useContext(ie.E_),ht=et("breadcrumb",Ue);return be.createElement(b,Object.assign({},nt,{prefixCls:ht}),re(ht,nt,je,Ge))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,ee=te(17313),ne=te(83116),oe=te(37613);const ae=De=>{const{componentCls:Ue,iconCls:je}=De;return{[Ue]:Object.assign(Object.assign({},(0,ee.Wf)(De)),{color:De.itemColor,fontSize:De.fontSize,[je]:{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`]:{[` > ${je} + span, > ${je} + 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,[`> ${je}`]:{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})),me=function(De,Ue){var je={};for(var Ge in De)Object.prototype.hasOwnProperty.call(De,Ge)&&Ue.indexOf(Ge)<0&&(je[Ge]=De[Ge]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ge=Object.getOwnPropertySymbols(De);nt{var{breadcrumbName:ht}=et,Rt=me(et,["breadcrumbName"]);return Object.assign(Object.assign({},Rt),{title:ht})})}),nt}function Pe(De,Ue){return(0,be.useMemo)(()=>De||(Ue?Ue.map(fe):null),[De,Ue])}var xe=function(De,Ue){var je={};for(var Ge in De)Object.prototype.hasOwnProperty.call(De,Ge)&&Ue.indexOf(Ge)<0&&(je[Ge]=De[Ge]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ge=Object.getOwnPropertySymbols(De);nt{if(Ue===void 0)return Ue;let je=(Ue||"").replace(/^\//,"");return Object.keys(De).forEach(Ge=>{je=je.replace(`:${Ge}`,De[Ge])}),je},Ae=De=>{const{prefixCls:Ue,separator:je="/",style:Ge,className:nt,rootClassName:et,routes:ht,items:Rt,children:Qt,itemRender:Je,params:it={}}=De,Bt=xe(De,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Mt,direction:St,breadcrumb:cn}=be.useContext(ie.E_);let Fe;const $t=Mt("breadcrumb",Ue),[Yt,vt]=ue($t),tn=Pe(Rt,ht),dt=a($t,Je);if(tn&&tn.length>0){const Oe=[],pt=Rt||ht;Fe=tn.map((ut,Be)=>{const{path:he,key:Ke,type:Ye,menu:we,overlay:gt,onClick:$e,className:Kt,separator:Se,dropdownProps:ot}=ut,wt=Ee(it,he);wt!==void 0&&Oe.push(wt);const Le=Ke!=null?Ke:Be;if(Ye==="separator")return be.createElement(ze,{key:Le},Se);const We={},st=Be===tn.length-1;we?We.menu=we:gt&&(We.overlay=gt);let{href:Ft}=ut;return Oe.length&&wt!==void 0&&(Ft=`#/${Oe.join("/")}`),be.createElement(b,Object.assign({key:Le},We,(0,Ne.Z)(ut,{data:!0,aria:!0}),{className:Kt,dropdownProps:ot,href:Ft,separator:st?"":je,onClick:$e,prefixCls:$t}),dt(ut,it,pt,Oe,Ft))})}else if(Qt){const Oe=(0,ve.Z)(Qt).length;Fe=(0,ve.Z)(Qt).map((pt,ut)=>{if(!pt)return pt;const Be=ut===Oe-1;return(0,Ie.Tm)(pt,{separator:Be?"":je,key:ut})})}const ct=se()($t,cn==null?void 0:cn.className,{[`${$t}-rtl`]:St==="rtl"},nt,et,vt),rt=Object.assign(Object.assign({},cn==null?void 0:cn.style),Ge);return Yt(be.createElement("nav",Object.assign({className:ct,style:rt},Bt),be.createElement("ol",null,Fe)))};Ae.Item=x,Ae.Separator=ze;var Ze=Ae,ft=Ze},24905:function(bt,Pt,te){"use strict";te.d(Pt,{default:function(){return ue}});var z=te(92310),se=te.n(z),ve=te(5630),Ne=te(59301),be=te(36355),Ie=te(1684),ie=te(32441),He=Ne.createContext(null),ke=te(98447),ze=te(14088),Me=te(4572),ye=function(me,fe){var Pe={};for(var xe in me)Object.prototype.hasOwnProperty.call(me,xe)&&fe.indexOf(xe)<0&&(Pe[xe]=me[xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(me);Ee{var Pe;const{prefixCls:xe,className:Ee,rootClassName:Ae,children:Ze,indeterminate:ft=!1,style:De,onMouseEnter:Ue,onMouseLeave:je,skipGroup:Ge=!1,disabled:nt}=me,et=ye(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ht,direction:Rt,checkbox:Qt}=Ne.useContext(be.E_),Je=Ne.useContext(He),{isFormItemInput:it}=Ne.useContext(ie.aM),Bt=Ne.useContext(Ie.Z),Mt=(Pe=(Je==null?void 0:Je.disabled)||nt)!==null&&Pe!==void 0?Pe:Bt,St=Ne.useRef(et.value);Ne.useEffect(()=>{Je==null||Je.registerValue(et.value)},[]),Ne.useEffect(()=>{if(!Ge)return et.value!==St.current&&(Je==null||Je.cancelValue(St.current),Je==null||Je.registerValue(et.value),St.current=et.value),()=>Je==null?void 0:Je.cancelValue(et.value)},[et.value]);const cn=ht("checkbox",xe),[Fe,$t]=(0,ke.ZP)(cn),Yt=Object.assign({},et);Je&&!Ge&&(Yt.onChange=function(){et.onChange&&et.onChange.apply(et,arguments),Je.toggleOption&&Je.toggleOption({label:Ze,value:et.value})},Yt.name=Je.name,Yt.checked=Je.value.includes(et.value));const vt=se()(`${cn}-wrapper`,{[`${cn}-rtl`]:Rt==="rtl",[`${cn}-wrapper-checked`]:Yt.checked,[`${cn}-wrapper-disabled`]:Mt,[`${cn}-wrapper-in-form-item`]:it},Qt==null?void 0:Qt.className,Ee,Ae,$t),tn=se()({[`${cn}-indeterminate`]:ft},Me.A,$t),dt=ft?"mixed":void 0;return Fe(Ne.createElement(ze.Z,{component:"Checkbox",disabled:Mt},Ne.createElement("label",{className:vt,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),De),onMouseEnter:Ue,onMouseLeave:je},Ne.createElement(ve.Z,Object.assign({"aria-checked":dt},Yt,{prefixCls:cn,className:tn,disabled:Mt,ref:fe})),Ze!==void 0&&Ne.createElement("span",null,Ze))))};var y=Ne.forwardRef(re),b=te(26407),E=te(2738),x=function(me,fe){var Pe={};for(var xe in me)Object.prototype.hasOwnProperty.call(me,xe)&&fe.indexOf(xe)<0&&(Pe[xe]=me[xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(me);Ee{const{defaultValue:Pe,children:xe,options:Ee=[],prefixCls:Ae,className:Ze,rootClassName:ft,style:De,onChange:Ue}=me,je=x(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ge,direction:nt}=Ne.useContext(be.E_),[et,ht]=Ne.useState(je.value||Pe||[]),[Rt,Qt]=Ne.useState([]);Ne.useEffect(()=>{"value"in je&&ht(je.value||[])},[je.value]);const Je=Ne.useMemo(()=>Ee.map(ct=>typeof ct=="string"||typeof ct=="number"?{label:ct,value:ct}:ct),[Ee]),it=ct=>{Qt(rt=>rt.filter(Oe=>Oe!==ct))},Bt=ct=>{Qt(rt=>[].concat((0,b.Z)(rt),[ct]))},Mt=ct=>{const rt=et.indexOf(ct.value),Oe=(0,b.Z)(et);rt===-1?Oe.push(ct.value):Oe.splice(rt,1),"value"in je||ht(Oe),Ue==null||Ue(Oe.filter(pt=>Rt.includes(pt)).sort((pt,ut)=>{const Be=Je.findIndex(Ke=>Ke.value===pt),he=Je.findIndex(Ke=>Ke.value===ut);return Be-he}))},St=Ge("checkbox",Ae),cn=`${St}-group`,[Fe,$t]=(0,ke.ZP)(St),Yt=(0,E.Z)(je,["value","disabled"]),vt=Ee.length?Je.map(ct=>Ne.createElement(y,{prefixCls:St,key:ct.value.toString(),disabled:"disabled"in ct?ct.disabled:je.disabled,value:ct.value,checked:et.includes(ct.value),onChange:ct.onChange,className:`${cn}-item`,style:ct.style,title:ct.title},ct.label)):xe,tn={toggleOption:Mt,value:et,disabled:je.disabled,name:je.name,registerValue:Bt,cancelValue:it},dt=se()(cn,{[`${cn}-rtl`]:nt==="rtl"},Ze,ft,$t);return Fe(Ne.createElement("div",Object.assign({className:dt,style:De},Yt,{ref:fe}),Ne.createElement(He.Provider,{value:tn},vt)))},ne=Ne.forwardRef(ee);var oe=Ne.memo(ne);const ae=y;ae.Group=oe,ae.__ANT_CHECKBOX=!0;var ue=ae},98447:function(bt,Pt,te){"use strict";te.d(Pt,{C2:function(){return be}});var z=te(17313),se=te(37613),ve=te(83116);const Ne=Ie=>{const{checkboxCls:ie}=Ie,qe=`${ie}-wrapper`;return[{[`${ie}-group`]:Object.assign(Object.assign({},(0,z.Wf)(Ie)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ie.marginXS,[`> ${Ie.antCls}-row`]:{flex:1}}),[qe]:Object.assign(Object.assign({},(0,z.Wf)(Ie)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${qe}`]:{marginInlineStart:0},[`&${qe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ie]:Object.assign(Object.assign({},(0,z.Wf)(Ie)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ie.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)(Ie))},[`${ie}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ie.checkboxSize,height:Ie.checkboxSize,direction:"ltr",backgroundColor:Ie.colorBgContainer,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,borderRadius:Ie.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ie.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ie.checkboxSize/14*5,height:Ie.checkboxSize/14*8,border:`${Ie.lineWidthBold}px solid ${Ie.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ie.motionDurationFast} ${Ie.motionEaseInBack}, opacity ${Ie.motionDurationFast}`}},"& + span":{paddingInlineStart:Ie.paddingXS,paddingInlineEnd:Ie.paddingXS}})},{[` ${qe}:not(${qe}-disabled), ${ie}:not(${ie}-disabled) `]:{[`&:hover ${ie}-inner`]:{borderColor:Ie.colorPrimary}},[`${qe}:not(${qe}-disabled)`]:{[`&:hover ${ie}-checked:not(${ie}-disabled) ${ie}-inner`]:{backgroundColor:Ie.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ie}-checked:not(${ie}-disabled):after`]:{borderColor:Ie.colorPrimaryHover}}},{[`${ie}-checked`]:{[`${ie}-inner`]:{backgroundColor:Ie.colorPrimary,borderColor:Ie.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ie.motionDurationMid} ${Ie.motionEaseOutBack} ${Ie.motionDurationFast}`}}},[` ${qe}-checked:not(${qe}-disabled), ${ie}-checked:not(${ie}-disabled) `]:{[`&:hover ${ie}-inner`]:{backgroundColor:Ie.colorPrimaryHover,borderColor:"transparent"}}},{[ie]:{"&-indeterminate":{[`${ie}-inner`]:{backgroundColor:Ie.colorBgContainer,borderColor:Ie.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ie.fontSizeLG/2,height:Ie.fontSizeLG/2,backgroundColor:Ie.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${qe}-disabled`]:{cursor:"not-allowed"},[`${ie}-disabled`]:{[`&, ${ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ie}-inner`]:{background:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,"&:after":{borderColor:Ie.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ie.colorTextDisabled},[`&${ie}-indeterminate ${ie}-inner::after`]:{background:Ie.colorTextDisabled}}}]};function be(Ie,ie){const qe=(0,se.TS)(ie,{checkboxCls:`.${Ie}`,checkboxSize:ie.controlInteractiveSize});return[Ne(qe)]}Pt.ZP=(0,ve.Z)("Checkbox",(Ie,ie)=>{let{prefixCls:qe}=ie;return[be(qe,Ie)]})},5083:function(bt,Pt,te){"use strict";te.d(Pt,{default:function(){return su}});var z=te(61186),se=te.n(z),ve=te(48736),Ne=te(90111),be=te.n(Ne),Ie=te(58319),ie=te.n(Ie),qe=te(23250),He=te.n(qe),ke=te(74959),ze=te.n(ke),Me=te(10238),ye=te.n(Me),re=te(33656),a=te.n(re);se().extend(a()),se().extend(ye()),se().extend(be()),se().extend(ie()),se().extend(He()),se().extend(ze()),se().extend(function(le,de){var ge=de.prototype,Ve=ge.format;ge.format=function(Tt){var xt=(Tt||"").replace("Wo","wo");return Ve.bind(this)(xt)}});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 ge=y[de];return ge||de.split("_")[0]},E=function(){(0,ve.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 ge=de.locale("en");return ge.weekday()+ge.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,ge){return de.add(ge,"year")},addMonth:function(de,ge){return de.add(ge,"month")},addDate:function(de,ge){return de.add(ge,"day")},setYear:function(de,ge){return de.year(ge)},setMonth:function(de,ge){return de.month(ge)},setDate:function(de,ge){return de.date(ge)},setHour:function(de,ge){return de.hour(ge)},setMinute:function(de,ge){return de.minute(ge)},setSecond:function(de,ge){return de.second(ge)},isAfter:function(de,ge){return de.isAfter(ge)},isValidate:function(de){return de.isValid()},locale:{getWeekFirstDay:function(de){return se()().locale(b(de)).localeData().firstDayOfWeek()},getWeekFirstDate:function(de,ge){return ge.locale(b(de)).weekday(0)},getWeek:function(de,ge){return ge.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,ge,Ve){return ge.locale(b(de)).format(Ve)},parse:function(de,ge,Ve){for(var Qe=b(de),Tt=0;Tt1&&(xt=de.addDate(xt,-7)),xt}function Le(le,de,ge){var Ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(de){case"year":return ge.addYear(le,Ve*10);case"quarter":case"month":return ge.addYear(le,Ve);default:return ge.addMonth(le,Ve)}}function We(le,de){var ge=de.generateConfig,Ve=de.locale,Qe=de.format;return typeof Qe=="function"?Qe(le):ge.locale.format(Ve.locale,le,Qe)}function st(le,de){var ge=de.generateConfig,Ve=de.locale,Qe=de.formatList;return!le||typeof Qe[0]=="function"?null:ge.locale.parse(Ve.locale,le,Qe)}function Ft(le){var de=le.cellDate,ge=le.mode,Ve=le.disabledDate,Qe=le.generateConfig;if(!Ve)return!1;var Tt=function(Gn,ln,wn){for(var $n=ln;$n<=wn;){var ka=void 0;switch(Gn){case"date":{if(ka=Qe.setDate(de,$n),!Ve(ka))return!1;break}case"month":{if(ka=Qe.setMonth(de,$n),!Ft({cellDate:ka,mode:"month",generateConfig:Qe,disabledDate:Ve}))return!1;break}case"year":{if(ka=Qe.setYear(de,$n),!Ft({cellDate:ka,mode:"year",generateConfig:Qe,disabledDate:Ve}))return!1;break}}$n+=1}return!0};switch(ge){case"date":case"week":return Ve(de);case"month":{var xt=1,un=Qe.getDate(Qe.getEndDate(de));return Tt("date",xt,un)}case"quarter":{var on=Math.floor(Qe.getMonth(de)/3)*3,vn=on+2;return Tt("month",on,vn)}case"year":return Tt("month",0,11);case"decade":{var ia=Qe.getYear(de),Bn=Math.floor(ia/rt)*rt,In=Bn+rt-1;return Tt("year",Bn,In)}}}function Wt(le,de){var ge=de.formatList,Ve=de.generateConfig,Qe=de.locale;return(0,dt.Z)(function(){if(!le)return[[""],""];for(var Tt="",xt=[],un=0;un1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(vn.current),$n){on(wn);return}vn.current=requestAnimationFrame(function(){on(wn)})}var Bn=Wt(un,{formatList:ge,generateConfig:Ve,locale:Qe}),In=(0,Yt.Z)(Bn,2),Kn=In[1];function Gn(wn){ia(wn)}function ln(){var wn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ia(null,wn)}return(0,ae.useEffect)(function(){ln(!0)},[le]),(0,ae.useEffect)(function(){return function(){return cancelAnimationFrame(vn.current)}},[]),[Kn,Gn,ln]}var lt=te(10228),At=te(16089),Et=te(26407),nn=te(29194),Ut=new Map;function sn(le,de){var ge;function Ve(){(0,nn.Z)(le)?de():ge=(0,At.Z)(function(){Ve()})}return Ve(),function(){At.Z.cancel(ge)}}function _n(le,de,ge){if(Ut.get(le)&&cancelAnimationFrame(Ut.get(le)),ge<=0){Ut.set(le,requestAnimationFrame(function(){le.scrollTop=de}));return}var Ve=de-le.scrollTop,Qe=Ve/ge*10;Ut.set(le,requestAnimationFrame(function(){le.scrollTop+=Qe,le.scrollTop!==de&&_n(le,de,ge-10)}))}function hn(le,de){var ge=de.onLeftRight,Ve=de.onCtrlLeftRight,Qe=de.onUpDown,Tt=de.onPageUpDown,xt=de.onEnter,un=le.which,on=le.ctrlKey,vn=le.metaKey;switch(un){case lt.Z.LEFT:if(on||vn){if(Ve)return Ve(-1),!0}else if(ge)return ge(-1),!0;break;case lt.Z.RIGHT:if(on||vn){if(Ve)return Ve(1),!0}else if(ge)return ge(1),!0;break;case lt.Z.UP:if(Qe)return Qe(-1),!0;break;case lt.Z.DOWN:if(Qe)return Qe(1),!0;break;case lt.Z.PAGE_UP:if(Tt)return Tt(-1),!0;break;case lt.Z.PAGE_DOWN:if(Tt)return Tt(1),!0;break;case lt.Z.ENTER:if(xt)return xt(),!0;break}return!1}function an(le,de,ge,Ve){var Qe=le;if(!Qe)switch(de){case"time":Qe=Ve?"hh:mm:ss a":"HH:mm:ss";break;case"week":Qe="gggg-wo";break;case"month":Qe="YYYY-MM";break;case"quarter":Qe="YYYY-[Q]Q";break;case"year":Qe="YYYY";break;default:Qe=ge?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Qe}function Un(le,de,ge){var Ve=le==="time"?8:10,Qe=typeof de=="function"?de(ge.getNow()).length:de.length;return Math.max(Ve,Qe)+2}var Ht=null,Zt=new Set;function qt(le){return!Ht&&typeof window!="undefined"&&window.addEventListener&&(Ht=function(ge){(0,Et.Z)(Zt).forEach(function(Ve){Ve(ge)})},window.addEventListener("mousedown",Ht)),Zt.add(le),function(){Zt.delete(le),Zt.size===0&&(window.removeEventListener("mousedown",Ht),Ht=null)}}function wa(le){var de=le.target;if(le.composed&&de.shadowRoot){var ge;return((ge=le.composedPath)===null||ge===void 0?void 0:ge.call(le)[0])||de}return de}var qn=function(de){return de==="month"||de==="date"?"year":de},Tn=function(de){return de==="date"?"month":de},ja=function(de){return de==="month"||de==="date"?"quarter":de},Ia=function(de){return de==="date"?"week":de},Dr={year:qn,month:Tn,quarter:ja,week:Ia,time:null,date:null};function yr(le,de){return le.some(function(ge){return ge&&ge.contains(de)})}function Zn(le){var de=le.open,ge=le.value,Ve=le.isClickOutside,Qe=le.triggerOpen,Tt=le.forwardKeyDown,xt=le.onKeyDown,un=le.blurToCancel,on=le.onSubmit,vn=le.onCancel,ia=le.onFocus,Bn=le.onBlur,In=le.changeOnBlur,Kn=(0,ae.useState)(!1),Gn=(0,Yt.Z)(Kn,2),ln=Gn[0],wn=Gn[1],$n=(0,ae.useState)(!1),ka=(0,Yt.Z)($n,2),Oa=ka[0],za=ka[1],Ja=(0,ae.useRef)(!1),Ha=(0,ae.useRef)(!1),Da=(0,ae.useRef)(!1),so={onMouseDown:function(){wn(!0),Qe(!0)},onKeyDown:function(mo){var Do=function(){Da.current=!0};if(xt(mo,Do),!Da.current){switch(mo.which){case lt.Z.ENTER:{de?on()!==!1&&wn(!0):Qe(!0),mo.preventDefault();return}case lt.Z.TAB:{ln&&de&&!mo.shiftKey?(wn(!1),mo.preventDefault()):!ln&&de&&!Tt(mo)&&mo.shiftKey&&(wn(!0),mo.preventDefault());return}case lt.Z.ESC:{wn(!0),vn();return}}!de&&![lt.Z.SHIFT].includes(mo.which)?Qe(!0):ln||Tt(mo)}},onFocus:function(mo){wn(!0),za(!0),ia&&ia(mo)},onBlur:function(mo){if(Ja.current||!Ve(document.activeElement)){Ja.current=!1;return}un?setTimeout(function(){for(var Do=document,Ko=Do.activeElement;Ko&&Ko.shadowRoot;)Ko=Ko.shadowRoot.activeElement;Ve(Ko)&&vn()},0):de&&(Qe(!1),Ha.current&&on()),za(!1),Bn==null||Bn(mo)}};return(0,ae.useEffect)(function(){Ha.current=!1},[de]),(0,ae.useEffect)(function(){Ha.current=!0},[ge]),(0,ae.useEffect)(function(){return qt(function(Hr){var mo=wa(Hr),Do=Ve(mo);de&&(Do?!In&&(!Oa||Do)&&Qe(!1):(Ja.current=!0,(0,At.Z)(function(){Ja.current=!1})))})}),[so,{focused:Oa,typing:ln}]}function yt(le,de){return ae.useMemo(function(){return le||(de?((0,ve.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(de).map(function(ge){var Ve=(0,Yt.Z)(ge,2),Qe=Ve[0],Tt=Ve[1];return{label:Qe,value:Tt}})):[])},[le,de])}var It=te(34280);function Lt(le){var de=le.valueTexts,ge=le.onTextChange,Ve=ae.useState(""),Qe=(0,Yt.Z)(Ve,2),Tt=Qe[0],xt=Qe[1],un=ae.useRef([]);un.current=de;function on(ia){xt(ia),ge(ia)}function vn(){xt(un.current[0])}return(0,It.Z)(function(){de.every(function(ia){return ia!==Tt})&&vn()},[de.join("||")]),[Tt,on,vn]}var zn=ae.createContext({}),kt=zn,ma=te(39559);function ao(le){var de=le.cellRender,ge=le.monthCellRender,Ve=le.dateRender,Qe=ae.useMemo(function(){if(de)return de;if(!(!ge&&!Ve))return function(Tt,xt){var un=Tt;return Ve&&xt.type==="date"?Ve(un,xt.today):ge&&xt.type==="month"?ge(un,xt.locale):xt.originNode}},[de,ge,Ve]);return Qe}function pr(le,de){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ve=String(le);Ve.length=1?ge|0:1,xt=le;xt<=de;xt+=Tt)Qe.push({label:pr(xt,2),value:xt,disabled:(Ve||[]).includes(xt)});return Qe}function fo(le){var de=le.generateConfig,ge=le.prefixCls,Ve=le.operationRef,Qe=le.activeColumnIndex,Tt=le.value,xt=le.showHour,un=le.showMinute,on=le.showSecond,vn=le.use12Hours,ia=le.hourStep,Bn=ia===void 0?1:ia,In=le.minuteStep,Kn=In===void 0?1:In,Gn=le.secondStep,ln=Gn===void 0?1:Gn,wn=le.disabledHours,$n=le.disabledMinutes,ka=le.disabledSeconds,Oa=le.disabledTime,za=le.hideDisabledOptions,Ja=le.onSelect,Ha=le.cellRender,Da=le.locale,so=[],Hr="".concat(ge,"-content"),mo="".concat(ge,"-time-panel"),Do,Ko=Tt?de.getHour(Tt):-1,ai=Ko,mi=Tt?de.getMinute(Tt):-1,jo=Tt?de.getSecond(Tt):-1,Co=de.getNow(),wo=ae.useMemo(function(){if(Oa){var Gt=Oa(Co);return[Gt.disabledHours,Gt.disabledMinutes,Gt.disabledSeconds]}return[wn,$n,ka]},[wn,$n,ka,Oa,Co]),Vo=(0,Yt.Z)(wo,3),ri=Vo[0],To=Vo[1],zo=Vo[2],Oi=Cr(0,23,Bn,ri&&ri()),bi=(0,dt.Z)(function(){return Oi},Oi,Qr);vn&&(Do=ai>=12,ai%=12);var ce=ae.useMemo(function(){if(!vn)return[!1,!1];var Gt=[!0,!0];return bi.forEach(function(_t){var Cn=_t.disabled,En=_t.value;Cn||(En>=12?Gt[1]=!1:Gt[0]=!1)}),Gt},[vn,bi]),pe=(0,Yt.Z)(ce,2),Re=pe[0],_e=pe[1],tt=ae.useMemo(function(){return vn?bi.filter(Do?function(Gt){return Gt.value>=12}:function(Gt){return Gt.value<12}).map(function(Gt){var _t=Gt.value%12,Cn=_t===0?"12":pr(_t,2);return(0,$t.Z)((0,$t.Z)({},Gt),{},{label:Cn,value:_t})}):bi},[vn,Do,bi]),at=Cr(0,59,Kn,To&&To(Ko)),Nt=Cr(0,59,ln,zo&&zo(Ko,mi)),Ot=or({value:Tt,generateConfig:de,disabledMinutes:To,disabledSeconds:zo,minutes:at,seconds:Nt,use12Hours:vn});Ve.current={onUpDown:function(_t){var Cn=so[Qe];if(Cn)for(var En=Cn.units.findIndex(function(ua){return ua.value===Cn.value}),Fn=Cn.units.length,Yn=1;Yn2&&arguments[2]!==void 0?arguments[2]:!1;(ha===wn||Ar)&&($a(Ln),so&&so(Ln),Ot&&Ot(Ln,ya),Hr&&!Se(on,Ln,pa)&&!(Kn!=null&&Kn(Ln))&&Hr(Ln))},Yr=function(Ln){if(bo.includes(ha)){var ya,Ar,Xr=ha==="date";switch(Ln===lt.Z.PAGE_UP||Ln===lt.Z.PAGE_DOWN?Ar=Xr?on.addMonth:on.addYear:Ar=Xr?on.addDate:on.addMonth,Ln){case lt.Z.LEFT:case lt.Z.PAGE_UP:ya=Ar(qa,-1);break;case lt.Z.RIGHT:case lt.Z.PAGE_DOWN:ya=Ar(qa,1);break;case lt.Z.UP:case lt.Z.DOWN:ya=Ar(qa,Number("".concat(Ln===lt.Z.UP?"-":"").concat(Xr?pt:Ct)));break}if(ya)return!(Kn!=null&&Kn(ya))}return!0},Go=function(Ln){if(Yn.current&&Yn.current.onKeyDown){var ya=!0,Ar=Ln.which;if([lt.Z.LEFT,lt.Z.RIGHT,lt.Z.UP,lt.Z.DOWN,lt.Z.PAGE_UP,lt.Z.PAGE_DOWN,lt.Z.ENTER].includes(Ar)&&(Ln.preventDefault(),Ar!==lt.Z.ENTER&&ka===0&&(ya=Yr(Ar))),ya)return Yn.current.onKeyDown(Ln)}return(0,ve.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},io=function(Ln){Yn.current&&Yn.current.onBlur&&Yn.current.onBlur(Ln)};Nt&&Cn!=="right"&&(Nt.current={onKeyDown:Go,onClose:function(){Yn.current&&Yn.current.onClose&&Yn.current.onClose()}}),ae.useEffect(function(){vn&&!Wn.current&&Fr(vn)},[vn]),ae.useEffect(function(){Wn.current=!1},[]);var Sr,ti=ao({cellRender:ce,monthCellRender:bi,dateRender:Oi}),dr=(0,$t.Z)((0,$t.Z)({},le),{},{cellRender:ti,operationRef:Yn,prefixCls:Qe,viewDate:qa,value:pa,onViewDateChange:Ca,sourceMode:Ga,onPanelChange:Gr,disabledDate:Kn});switch(delete dr.onChange,delete dr.onSelect,ha){case"decade":Sr=ae.createElement(Ce,(0,oe.Z)({},dr,{onSelect:function(Ln,ya){Ca(Ln),Jr(Ln,ya)}}));break;case"year":Sr=ae.createElement(Po,(0,oe.Z)({},dr,{onSelect:function(Ln,ya){Ca(Ln),Jr(Ln,ya)}}));break;case"month":Sr=ae.createElement(Qn,(0,oe.Z)({},dr,{onSelect:function(Ln,ya){Ca(Ln),Jr(Ln,ya)}}));break;case"quarter":Sr=ae.createElement(la,(0,oe.Z)({},dr,{onSelect:function(Ln,ya){Ca(Ln),Jr(Ln,ya)}}));break;case"week":Sr=ae.createElement(ra,(0,oe.Z)({},dr,{onSelect:function(Ln,ya){Ca(Ln),Jr(Ln,ya)}}));break;case"time":delete dr.showTime,Sr=ae.createElement(Ci,(0,oe.Z)({},dr,(0,ma.Z)(za)==="object"?za:null,{onSelect:function(Ln,ya){Ca(Ln),Jr(Ln,ya)}}));break;default:za?Sr=ae.createElement(jr,(0,oe.Z)({},dr,{onSelect:function(Ln,ya){Ca(Ln),Jr(Ln,ya)}})):Sr=ae.createElement(Io,(0,oe.Z)({},dr,{onSelect:function(Ln,ya){Ca(Ln),Jr(Ln,ya)}}))}var Ro,Fo,fi=function(){var Ln=on.getNow(),ya=rn(on.getHour(Ln),on.getMinute(Ln),on.getSecond(Ln),Re?wo:1,_e?ri:1,tt?zo:1),Ar=mt(on,Ln,ya[0],ya[1],ya[2]);Jr(Ar,"submit")};Dt||(Ro=Mr(Qe,ha,Ha),za&&ha!=="date"?Fo=null:Fo=ro({prefixCls:Qe,components:mi,needConfirmButton:pe,okDisabled:!pa||Kn&&Kn(pa),locale:un,showNow:Oa,onNow:pe&&fi,onOk:function(){pa&&(Jr(pa,"submit",!0),ai&&ai(pa))}}));var cr;if(Ja&&ha==="date"&&wn==="date"&&!za){var rr=on.getNow(),ir="".concat(Qe,"-today-btn"),Ya=Kn&&Kn(rr);cr=ae.createElement("a",{className:Je()(ir,Ya&&"".concat(ir,"-disabled")),"aria-disabled":Ya,onClick:function(){Ya||Jr(rr,"mouse",!0)}},un.today)}return ae.createElement(kt.Provider,{value:(0,$t.Z)((0,$t.Z)({},at),{},{mode:ha,hideHeader:"hideHeader"in le?Da:at.hideHeader,hidePrevBtn:_t&&Cn==="right",hideNextBtn:_t&&Cn==="left"})},ae.createElement("div",{tabIndex:ka,className:Je()("".concat(Qe,"-panel"),Tt,(de={},(0,Fe.Z)(de,"".concat(Qe,"-panel-has-range"),En&&En[0]&&En[1]),(0,Fe.Z)(de,"".concat(Qe,"-panel-has-range-hover"),Fn&&Fn[0]&&Fn[1]),(0,Fe.Z)(de,"".concat(Qe,"-panel-rtl"),jo==="rtl"),de)),style:xt,onKeyDown:Go,onBlur:io,onMouseDown:Do},Sr,Ro||Fo||cr?ae.createElement("div",{className:"".concat(Qe,"-footer")},Ro,Fo,cr):null))}var yo=ho,sa=te(35593),Ho={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 Ai(le){var de,ge=le.prefixCls,Ve=le.popupElement,Qe=le.popupStyle,Tt=le.visible,xt=le.dropdownClassName,un=le.dropdownAlign,on=le.transitionName,vn=le.getPopupContainer,ia=le.children,Bn=le.range,In=le.popupPlacement,Kn=le.direction,Gn="".concat(ge,"-dropdown"),ln=function(){return In!==void 0?In:Kn==="rtl"?"bottomRight":"bottomLeft"};return ae.createElement(sa.Z,{showAction:[],hideAction:[],popupPlacement:ln(),builtinPlacements:Ho,prefixCls:Gn,popupTransitionName:on,popup:Ve,popupAlign:un,popupVisible:Tt,popupClassName:Je()(xt,(de={},(0,Fe.Z)(de,"".concat(Gn,"-range"),Bn),(0,Fe.Z)(de,"".concat(Gn,"-rtl"),Kn==="rtl"),de)),popupStyle:Qe,getPopupContainer:vn},ia)}var zi=Ai;function nl(le){var de=le.prefixCls,ge=le.presets,Ve=le.onClick,Qe=le.onHover;return ge.length?ae.createElement("div",{className:"".concat(de,"-presets")},ae.createElement("ul",null,ge.map(function(Tt,xt){var un=Tt.label,on=Tt.value;return ae.createElement("li",{key:xt,onClick:function(){return Ve==null?void 0:Ve(sr(on))},onMouseEnter:function(){return Qe==null?void 0:Qe(sr(on))},onMouseLeave:function(){return Qe==null?void 0:Qe(null)}},un)}))):null}function Ji(le){var de=le.picker,ge=le.disabledHours,Ve=le.disabledMinutes,Qe=le.disabledSeconds;de==="time"&&(ge||Ve||Qe)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Wi(le,de,ge){var Ve=(0,ma.Z)(de)==="object"?de.clearIcon:ge;return Ve||ae.createElement("span",{className:"".concat(le,"-clear-btn")})}function Di(le){var de,ge=le,Ve=ge.prefixCls,Qe=Ve===void 0?"rc-picker":Ve,Tt=ge.id,xt=ge.name,un=ge.tabIndex,on=ge.style,vn=ge.className,ia=ge.dropdownClassName,Bn=ge.dropdownAlign,In=ge.popupStyle,Kn=ge.transitionName,Gn=ge.generateConfig,ln=ge.locale,wn=ge.inputReadOnly,$n=ge.allowClear,ka=ge.autoFocus,Oa=ge.showTime,za=ge.picker,Ja=za===void 0?"date":za,Ha=ge.format,Da=ge.use12Hours,so=ge.value,Hr=ge.defaultValue,mo=ge.presets,Do=ge.open,Ko=ge.defaultOpen,ai=ge.defaultOpenValue,mi=ge.suffixIcon,jo=ge.clearIcon,Co=ge.disabled,wo=ge.disabledDate,Vo=ge.placeholder,ri=ge.getPopupContainer,To=ge.pickerRef,zo=ge.panelRender,Oi=ge.onChange,bi=ge.onOpenChange,ce=ge.onFocus,pe=ge.onBlur,Re=ge.onMouseDown,_e=ge.onMouseUp,tt=ge.onMouseEnter,at=ge.onMouseLeave,Nt=ge.onContextMenu,Ot=ge.onClick,Dt=ge.onKeyDown,Xt=ge.onSelect,Gt=ge.direction,_t=ge.autoComplete,Cn=_t===void 0?"off":_t,En=ge.inputRender,Fn=ge.changeOnBlur,Yn=ae.useRef(null),Wn=Ja==="date"&&!!Oa||Ja==="time",ua=yt(mo),ta=qr(an(Ha,Ja,Oa,Da)),pa=ae.useRef(null),$a=ae.useRef(null),ar=ae.useRef(null),Za=(0,vt.Z)(null,{value:so,defaultValue:Hr}),qa=(0,Yt.Z)(Za,2),Fr=qa[0],Ca=qa[1],Wa=ae.useState(Fr),Ba=(0,Yt.Z)(Wa,2),da=Ba[0],ha=Ba[1],er=ae.useRef(null),Kr=(0,vt.Z)(!1,{value:Do,defaultValue:Ko,postState:function(fr){return Co?!1:fr},onChange:function(fr){bi&&bi(fr),!fr&&er.current&&er.current.onClose&&er.current.onClose()}}),Lr=(0,Yt.Z)(Kr,2),Ga=Lr[0],zr=Lr[1],Gr=Wt(da,{formatList:ta,generateConfig:Gn,locale:ln}),Jr=(0,Yt.Z)(Gr,2),Yr=Jr[0],Go=Jr[1],io=Lt({valueTexts:Yr,onTextChange:function(fr){var hi=st(fr,{locale:ln,formatList:ta,generateConfig:Gn});hi&&(!wo||!wo(hi))&&ha(hi)}}),Sr=(0,Yt.Z)(io,3),ti=Sr[0],dr=Sr[1],Ro=Sr[2],Fo=function(fr){ha(fr),Ca(fr),Oi&&!Se(Gn,Fr,fr)&&Oi(fr,fr?We(fr,{generateConfig:Gn,locale:ln,format:ta[0]}):"")},fi=function(fr){Co&&fr||zr(fr)},cr=function(fr){return Ga&&er.current&&er.current.onKeyDown?er.current.onKeyDown(fr):((0,ve.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},rr=function(){for(var fr=arguments.length,hi=new Array(fr),Ri=0;RiIn(vn);case"month":return Bn(ln)>Bn(vn);case"week":return ia(ln)>ia(vn);default:return!gt(un,ln,vn)&&un.isAfter(ln,vn)}return!1},[Tt,xt[1],vn,de]),Gn=ae.useCallback(function(ln){if(xt[1]||Tt&&Tt(ln))return!0;if(xt[0]&&on)return!gt(un,ln,vn)&&un.isAfter(on,ln);if(!de&&on)switch(ge){case"quarter":return In(ln)0&&arguments[0]!==void 0?arguments[0]:!1,Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$r=null;oi&&hl&&hl[0]&&hl[1]&&ln.isAfter(hl[1],hl[0])&&($r=hl);var Qo=Da;if(Da&&(0,ma.Z)(Da)==="object"&&Da.defaultValue){var wi=Da.defaultValue;Qo=(0,$t.Z)((0,$t.Z)({},Da),{},{defaultValue:_a(wi,lr)||void 0})}return ae.createElement(tr.Provider,{value:{inRange:!0,panelPosition:Yo,rangedValue:cu||Ta,hoverRangedValue:$r}},ae.createElement(yo,(0,oe.Z)({},le,Pr,{cellRender:Lu,showTime:Qo,mode:Xr[lr],generateConfig:ln,style:void 0,direction:qa,disabledDate:lr===0?pi:lo,disabledTime:function(gl){return wo?wo(gl,lr===0?"start":"end"):!1},className:Je()((0,Fe.Z)({},"".concat(xt,"-panel-focused"),lr===0?!Vl:!cl)),value:_a(Ta,lr),locale:wn,tabIndex:-1,onPanelChange:function(gl,yl){lr===0&&Bl(!0),lr===1&&Hl(!0),xi(Rn(Xr,yl,lr),Rn(Ta,gl,lr));var El=gl;Yo==="right"&&Xr[lr]===yl&&(El=Le(El,yl,ln,-1)),rr(El,lr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:lr===0?_a(Ta,1):_a(Ta,0)})))}var Pl=0,Eu=0;if(lr&&Kr.current&&Ga.current&&er.current&&Jr.current){Pl=Kr.current.offsetWidth+Ga.current.offsetWidth;var Iu=Jr.current.offsetLeft>Pl?Jr.current.offsetLeft-Pl:Jr.current.offsetLeft,Cu=er.current.offsetWidth,bu=Jr.current.offsetWidth;Cu&&bu&&Pl>Cu-bu-(qa==="rtl"?0:Iu)&&(Eu=Pl)}var Nu=qa==="rtl"?{right:Pl}:{left:Pl};function Mu(){var Yo,Pr=Mr(xt,Xr[lr],Ot),$r=ro({prefixCls:xt,components:ar,needConfirmButton:da,okDisabled:!_a(Ta,lr)||Co&&Co(Ta[lr]),locale:wn,onOk:function(){var ml=_a(Ta,lr);ml&&(Ri(Ta,lr),pa==null||pa(Ta),Ki(!1,lr,"confirm"))}});if(Ha!=="time"&&!Da){var Qo=cr(lr),wi=Le(Qo,Ha,ln),Ml=Xr[lr],gl=Ml===Ha,yl=vu(gl?"left":!1,{pickerValue:Qo,onPickerValueChange:function(ml){rr(ml,lr)}}),El=vu("right",{pickerValue:wi,onPickerValueChange:function(ml){rr(Le(ml,Ha,ln,-1),lr)}});qa==="rtl"?Yo=ae.createElement(ae.Fragment,null,El,gl&&yl):Yo=ae.createElement(ae.Fragment,null,yl,gl&&El)}else Yo=vu();var $l=ae.createElement("div",{className:"".concat(xt,"-panel-layout")},ae.createElement(nl,{prefixCls:xt,presets:Ou,onClick:function(ml){Ri(ml,null),Ki(!1,lr,"preset")},onHover:function(ml){ql(ml)}}),ae.createElement("div",null,ae.createElement("div",{className:"".concat(xt,"-panels")},Yo),(Pr||$r)&&ae.createElement("div",{className:"".concat(xt,"-footer")},Pr,$r)));return zo&&($l=zo($l)),ae.createElement("div",{className:"".concat(xt,"-panel-container"),style:{marginLeft:Eu},ref:er,onMouseDown:function(ml){ml.preventDefault()}},$l)}var Tu=ae.createElement("div",{className:Je()("".concat(xt,"-range-wrapper"),"".concat(xt,"-").concat(Ha,"-range-wrapper")),style:{minWidth:Zo}},ae.createElement("div",{ref:Jr,className:"".concat(xt,"-range-arrow"),style:Nu}),Mu()),xu;Re&&(xu=ae.createElement("span",{className:"".concat(xt,"-suffix"),onMouseDown:function(Pr){Pr.preventDefault()}},Re));var Ru=Wi(xt,pe,_e),ku=ae.createElement("span",{onMouseDown:function(Pr){Pr.preventDefault(),Pr.stopPropagation()},onMouseUp:function(Pr){Pr.preventDefault(),Pr.stopPropagation();var $r=dr;io[0]||($r=Rn($r,null,0)),io[1]||($r=Rn($r,null,1)),Ri($r,null),Ki(!1,lr,"clear")},className:"".concat(xt,"-clear"),role:"button"},Ru),Zu=pe&&(_a(dr,0)&&!io[0]||_a(dr,1)&&!io[1]),wu={size:Un(Ha,Yr[0],ln)},Su=0,Pu=0;Kr.current&&Lr.current&&Ga.current&&(lr===0?Pu=Kr.current.offsetWidth:(Su=Pl,Pu=Lr.current.offsetWidth));var zu=qa==="rtl"?{right:Su}:{left:Su},Wu=function(Pr,$r){var Qo=Rn(Ta,Pr,lr);if($r==="submit"||$r!=="key"&&!da){Ri(Qo,lr),lr===0?Bl():Hl();var wi=lr===0?1:0;io[wi]?Ki(!1,!1,"confirm"):Ki(!1,lr,"confirm")}else Ln(Qo)};return ae.createElement(kt.Provider,{value:{operationRef:Go,hideHeader:Ha==="time",onDateMouseEnter:fu,onDateMouseLeave:nu,hideRanges:!0,onSelect:Wu,open:oi}},ae.createElement(zi,{visible:oi,popupElement:Tu,popupStyle:ia,prefixCls:xt,dropdownClassName:Bn,dropdownAlign:Kn,getPopupContainer:Gn,transitionName:In,range:!0,direction:qa},ae.createElement("div",(0,oe.Z)({ref:ha,className:Je()(xt,"".concat(xt,"-range"),vn,(de={},(0,Fe.Z)(de,"".concat(xt,"-disabled"),io[0]&&io[1]),(0,Fe.Z)(de,"".concat(xt,"-focused"),lr===0?Nl:dl),(0,Fe.Z)(de,"".concat(xt,"-rtl"),qa==="rtl"),de)),style:on,onClick:ou,onMouseEnter:Wn,onMouseLeave:ua,onMouseDown:Xl,onMouseUp:Yn},(0,tn.Z)(le,{aria:!0,data:!0})),ae.createElement("div",{className:Je()("".concat(xt,"-input"),(ge={},(0,Fe.Z)(ge,"".concat(xt,"-input-active"),lr===0),(0,Fe.Z)(ge,"".concat(xt,"-input-placeholder"),!!zl),ge)),ref:Kr},ae.createElement("input",(0,oe.Z)({id:un,disabled:io[0],readOnly:at||typeof Yr[0]=="function"||!Vl,value:zl||Xo,onChange:function(Pr){ki(Pr.target.value)},autoFocus:ka,placeholder:_a($n,0)||"",ref:zr},_l,wu,{autoComplete:Wa}))),ae.createElement("div",{className:"".concat(xt,"-range-separator"),ref:Ga},mo),ae.createElement("div",{className:Je()("".concat(xt,"-input"),(Ve={},(0,Fe.Z)(Ve,"".concat(xt,"-input-active"),lr===1),(0,Fe.Z)(Ve,"".concat(xt,"-input-placeholder"),!!Wl),Ve)),ref:Lr},ae.createElement("input",(0,oe.Z)({disabled:io[1],readOnly:at||typeof Yr[0]=="function"||!cl,value:Wl||Yi,onChange:function(Pr){ll(Pr.target.value)},placeholder:_a($n,1)||"",ref:Gr},ci,wu,{autoComplete:Wa}))),ae.createElement("div",{className:"".concat(xt,"-active-bar"),style:(0,$t.Z)((0,$t.Z)({},zu),{},{width:Pu,position:"absolute"})}),xu,Zu&&ku)))}var oa=function(le){(0,St.Z)(ge,le);var de=(0,cn.Z)(ge);function ge(){var Ve;(0,it.Z)(this,ge);for(var Qe=arguments.length,Tt=new Array(Qe),xt=0;xt{const{lineHeight:Qe}=le,Tt=Math.floor(ge*Qe)+2,xt=Math.max((de-Tt)/2,0),un=Math.max(de-Tt-xt,0);return{padding:`${xt}px ${Ve}px ${un}px`}},bn=le=>{const{componentCls:de,pickerCellCls:ge,pickerCellInnerCls:Ve,cellHeight:Qe,motionDurationSlow:Tt,borderRadiusSM:xt,motionDurationMid:un,cellHoverBg:on,lineWidth:vn,lineType:ia,colorPrimary:Bn,cellActiveWithRangeBg:In,colorTextLightSolid:Kn,controlHeightSM:Gn,cellRangeBorderColor:ln,pickerCellBorderGap:wn,cellHoverWithRangeBg:$n,cellWidth:ka,colorTextDisabled:Oa,cellBgDisabled:za}=le;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Qe,transform:"translateY(-50%)",transition:`all ${Tt}`,content:'""'},[Ve]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Qe,height:Qe,lineHeight:`${Qe}px`,borderRadius:xt,transition:`background ${un}, border ${un}`},"&-range-hover-start, &-range-hover-end":{[Ve]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ge}-in-view), &:hover:not(${ge}-selected):not(${ge}-range-start):not(${ge}-range-end):not(${ge}-range-hover-start):not(${ge}-range-hover-end)`]:{[Ve]:{background:on}},[`&-in-view${ge}-today ${Ve}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${vn}px ${ia} ${Bn}`,borderRadius:xt,content:'""'}},[`&-in-view${ge}-in-range`]:{position:"relative","&::before":{background:In}},[`&-in-view${ge}-selected ${Ve}, &-in-view${ge}-range-start ${Ve}, &-in-view${ge}-range-end ${Ve}`]:{color:Kn,background:Bn},[`&-in-view${ge}-range-start:not(${ge}-range-start-single), &-in-view${ge}-range-end:not(${ge}-range-end-single)`]:{"&::before":{background:In}},[`&-in-view${ge}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ge}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ge}-range-hover-start:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end), &-in-view${ge}-range-hover-end:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end), &-in-view${ge}-range-hover-start${ge}-range-start-single, &-in-view${ge}-range-hover-start${ge}-range-start${ge}-range-end${ge}-range-end-near-hover, &-in-view${ge}-range-hover-end${ge}-range-start${ge}-range-end${ge}-range-start-near-hover, &-in-view${ge}-range-hover-end${ge}-range-end-single, &-in-view${ge}-range-hover:not(${ge}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Gn,borderTop:`${vn}px dashed ${ln}`,borderBottom:`${vn}px dashed ${ln}`,transform:"translateY(-50%)",transition:`all ${Tt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:wn},[`&-in-view${ge}-in-range${ge}-range-hover::before, &-in-view${ge}-in-range${ge}-range-hover-start::before, &-in-view${ge}-in-range${ge}-range-hover-end::before, &-in-view${ge}-range-start${ge}-range-hover::before, &-in-view${ge}-range-end${ge}-range-hover::before, &-in-view${ge}-range-start:not(${ge}-range-start-single)${ge}-range-hover-start::before, &-in-view${ge}-range-end:not(${ge}-range-end-single)${ge}-range-hover-end::before, ${de}-panel > :not(${de}-date-panel) &-in-view${ge}-in-range${ge}-range-hover-start::before, ${de}-panel > :not(${de}-date-panel) &-in-view${ge}-in-range${ge}-range-hover-end::before`]:{background:$n},[`&-in-view${ge}-range-start:not(${ge}-range-start-single):not(${ge}-range-end) ${Ve}`]:{borderStartStartRadius:xt,borderEndStartRadius:xt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ge}-range-end:not(${ge}-range-end-single):not(${ge}-range-start) ${Ve}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:xt,borderEndEndRadius:xt},[`&-range-hover${ge}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ge}-range-hover:first-child::after, tr > &-in-view${ge}-range-hover-end:first-child::after, &-in-view${ge}-start${ge}-range-hover-edge-start${ge}-range-hover-edge-start-near-range::after, &-in-view${ge}-range-hover-edge-start:not(${ge}-range-hover-edge-start-near-range)::after, &-in-view${ge}-range-hover-start::after`]:{insetInlineStart:(ka-Qe)/2,borderInlineStart:`${vn}px dashed ${ln}`,borderStartStartRadius:xt,borderEndStartRadius:xt},[`tr > &-in-view${ge}-range-hover:last-child::after, tr > &-in-view${ge}-range-hover-start:last-child::after, &-in-view${ge}-end${ge}-range-hover-edge-end${ge}-range-hover-edge-end-near-range::after, &-in-view${ge}-range-hover-edge-end:not(${ge}-range-hover-edge-end-near-range)::after, &-in-view${ge}-range-hover-end::after`]:{insetInlineEnd:(ka-Qe)/2,borderInlineEnd:`${vn}px dashed ${ln}`,borderStartEndRadius:xt,borderEndEndRadius:xt},"&-disabled":{color:Oa,pointerEvents:"none",[Ve]:{background:"transparent"},"&::before":{background:za}},[`&-disabled${ge}-today ${Ve}::before`]:{borderColor:Oa}}},Vr=le=>{const{componentCls:de,pickerCellCls:ge,pickerCellInnerCls:Ve,pickerYearMonthCellWidth:Qe,pickerControlIconSize:Tt,cellWidth:xt,paddingSM:un,paddingXS:on,paddingXXS:vn,colorBgContainer:ia,lineWidth:Bn,lineType:In,borderRadiusLG:Kn,colorPrimary:Gn,colorTextHeading:ln,colorSplit:wn,pickerControlIconBorderWidth:$n,colorIcon:ka,textHeight:Oa,motionDurationMid:za,colorIconHover:Ja,fontWeightStrong:Ha,cellHeight:Da,pickerCellPaddingVertical:so,colorTextDisabled:Hr,colorText:mo,fontSize:Do,cellHoverWithRangeBg:Ko,motionDurationSlow:ai,withoutTimeCellHeight:mi,pickerQuarterPanelContentHeight:jo,colorLink:Co,colorLinkActive:wo,colorLinkHover:Vo,cellRangeBorderColor:ri,borderRadiusSM:To,colorTextLightSolid:zo,cellHoverBg:Oi,timeColumnHeight:bi,timeColumnWidth:ce,timeCellHeight:pe,controlItemBgActive:Re,marginXXS:_e,pickerDatePanelPaddingHorizontal:tt}=le,at=xt*7+tt*2,Nt=(at-on*2)/3-Qe-un,Ot=(at-on*2)/4-Qe;return{[de]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:ia,border:`${Bn}px ${In} ${wn}`,borderRadius:Kn,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:at},"&-header":{display:"flex",padding:`0 ${on}px`,color:ln,borderBottom:`${Bn}px ${In} ${wn}`,"> *":{flex:"none"},button:{padding:0,color:ka,lineHeight:`${Oa}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${za}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Do,"&:hover":{color:Ja}},"&-view":{flex:"auto",fontWeight:Ha,lineHeight:`${Oa}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:on},"&:hover":{color:Gn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Tt,height:Tt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Tt,height:Tt,border:"0 solid currentcolor",borderBlockStartWidth:$n,borderBlockEndWidth:0,borderInlineStartWidth:$n,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Tt/2),insetInlineStart:Math.ceil(Tt/2),display:"inline-block",width:Tt,height:Tt,border:"0 solid currentcolor",borderBlockStartWidth:$n,borderBlockEndWidth:0,borderInlineStartWidth:$n,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:Da,fontWeight:"normal"},th:{height:Da+so*2,color:mo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${so}px 0`,color:Hr,cursor:"pointer","&-in-view":{color:mo}},bn(le)),[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start ${Ve}, &-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${Ve}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Ko,transition:`all ${ai}`,content:'""'}},[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start ${Ve}::after`]:{insetInlineEnd:-(xt-Da)/2,insetInlineStart:0},[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${Ve}::after`]:{insetInlineEnd:0,insetInlineStart:-(xt-Da)/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},[Ve]:{padding:`0 ${on}px`}},"&-quarter-panel":{[`${de}-content`]:{height:jo},[`${de}-cell-range-hover-start::after`]:{insetInlineStart:Ot,borderInlineStart:`${Bn}px dashed ${ri}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Ot,borderInlineEnd:`${Bn}px dashed ${ri}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Ot,borderInlineEnd:`${Bn}px dashed ${ri}`,[`${de}-panel-rtl &`]:{insetInlineStart:Ot,borderInlineStart:`${Bn}px dashed ${ri}`}}},[`&-panel ${de}-footer`]:{borderTop:`${Bn}px ${In} ${wn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Oa-2*Bn}px`,textAlign:"center","&-extra":{padding:`0 ${un}px`,lineHeight:`${Oa-2*Bn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Bn}px ${In} ${wn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Co,"&:hover":{color:Vo},"&:active":{color:wo},[`&${de}-today-btn-disabled`]:{color:Hr,cursor:"not-allowed"}},"&-decade-panel":{[Ve]:{padding:`0 ${on/2}px`},[`${de}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${de}-body`]:{padding:`0 ${on}px`},[Ve]:{width:Qe},[`${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:Nt,borderInlineStart:`${Bn}px dashed ${ri}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Nt,borderInlineEnd:`${Bn}px dashed ${ri}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Nt,borderInlineEnd:`${Bn}px dashed ${ri}`,[`${de}-panel-rtl &`]:{insetInlineStart:Nt,borderInlineStart:`${Bn}px dashed ${ri}`}}},"&-week-panel":{[`${de}-body`]:{padding:`${on}px ${un}px`},[`${de}-cell`]:{[`&:hover ${Ve}, &-selected ${Ve}, ${Ve}`]:{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:Oi}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ge}`]:{"&:before":{background:Gn},[`&${de}-cell-week`]:{color:new ii.C(zo).setAlpha(.5).toHexString()},[Ve]:{color:zo}}},"&-range-hover td:before":{background:Re}}},"&-date-panel":{[`${de}-body`]:{padding:`${on}px ${tt}px`},[`${de}-content`]:{width:xt*7,th:{width:xt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${de}-time-panel`]:{borderInlineStart:`${Bn}px ${In} ${wn}`},[`${de}-date-panel, ${de}-time-panel`]:{transition:`opacity ${ai}`},"&-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:bi},"&-column":{flex:"1 0 auto",width:ce,margin:`${vn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${za}`,overflowX:"hidden","&::after":{display:"block",height:bi-pe,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Bn}px ${In} ${wn}`},"&-active":{background:new ii.C(Re).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:mo,lineHeight:`${pe}px`,borderRadius:To,cursor:"pointer",transition:`background ${za}`,"&:hover":{background:Oi}},"&-selected":{[`${de}-time-panel-cell-inner`]:{background:Re}},"&-disabled":{[`${de}-time-panel-cell-inner`]:{color:Hr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${de}-time-panel-column:after`]:{height:bi-pe+vn*2}}}},gr=le=>{const{componentCls:de,colorBgContainer:ge,colorError:Ve,errorActiveShadow:Qe,colorWarning:Tt,warningActiveShadow:xt}=le;return{[`${de}:not(${de}-disabled)`]:{[`&${de}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:Ve},[`&${de}-focused, &:focus`]:Object.assign({},(0,va.M1)((0,Sa.TS)(le,{activeBorderColor:Ve,activeShadow:Qe}))),[`${de}-active-bar`]:{background:Ve}},[`&${de}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:Tt},[`&${de}-focused, &:focus`]:Object.assign({},(0,va.M1)((0,Sa.TS)(le,{activeBorderColor:Tt,activeShadow:xt}))),[`${de}-active-bar`]:{background:Tt}}}}},Rr=le=>{const{componentCls:de,antCls:ge,controlHeight:Ve,fontSize:Qe,paddingInline:Tt,colorBgContainer:xt,lineWidth:un,lineType:on,colorBorder:vn,borderRadius:ia,motionDurationMid:Bn,colorBgContainerDisabled:In,colorTextDisabled:Kn,colorTextPlaceholder:Gn,controlHeightLG:ln,fontSizeLG:wn,controlHeightSM:$n,paddingInlineSM:ka,paddingXS:Oa,marginXS:za,colorTextDescription:Ja,lineWidthBold:Ha,lineHeight:Da,colorPrimary:so,motionDurationSlow:Hr,zIndexPopup:mo,paddingXXS:Do,paddingSM:Ko,textHeight:ai,cellActiveWithRangeBg:mi,colorPrimaryBorder:jo,sizePopupArrow:Co,borderRadiusXS:wo,borderRadiusOuter:Vo,colorBgElevated:ri,borderRadiusLG:To,boxShadowSecondary:zo,borderRadiusSM:Oi,colorSplit:bi,cellHoverBg:ce,presetsWidth:pe,presetsMaxWidth:Re,boxShadowPopoverArrow:_e,colorTextQuaternary:tt}=le;return[{[de]:Object.assign(Object.assign(Object.assign({},(0,ca.Wf)(le)),ga(le,Ve,Qe,Tt)),{position:"relative",display:"inline-flex",alignItems:"center",background:xt,lineHeight:1,border:`${un}px ${on} ${vn}`,borderRadius:ia,transition:`border ${Bn}, box-shadow ${Bn}`,"&:hover, &-focused":Object.assign({},(0,va.pU)(le)),"&-focused":Object.assign({},(0,va.M1)(le)),[`&${de}-disabled`]:{background:In,borderColor:vn,cursor:"not-allowed",[`${de}-suffix`]:{color:tt}},[`&${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,va.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({},ga(le,ln,wn,Tt)),{[`${de}-input > input`]:{fontSize:wn}}),"&-small":Object.assign({},ga(le,$n,Qe,ka)),[`${de}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Oa/2,color:Kn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:za}}},[`${de}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Kn,lineHeight:1,background:xt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Bn}, color ${Bn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ja}},[`${de}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:wn,color:Kn,fontSize:wn,verticalAlign:"top",cursor:"default",[`${de}-focused &`]:{color:Ja},[`${de}-range-separator &`]:{[`${de}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${de}-clear`]:{insetInlineEnd:Tt},"&:hover":{[`${de}-clear`]:{opacity:1}},[`${de}-active-bar`]:{bottom:-un,height:Ha,marginInlineStart:Tt,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 ${Oa}px`,lineHeight:1},[`&${de}-small`]:{[`${de}-clear`]:{insetInlineEnd:ka},[`${de}-active-bar`]:{marginInlineStart:ka}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ca.Wf)(le)),Vr(le)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:mo,[`&${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)"}},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-topLeft, &${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-topRight, &${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-topLeft, &${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-topRight`]:{animationName:kn.Qt},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-bottomLeft, &${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-bottomRight, &${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-bottomLeft, &${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-bottomRight`]:{animationName:kn.fJ},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-topLeft, &${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-topRight`]:{animationName:kn.ly},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-bottomLeft, &${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-bottomRight`]:{animationName:kn.Uw},[`${de}-panel > ${de}-time-panel`]:{paddingTop:Do},[`${de}-ranges`]:{marginBottom:0,padding:`${Do}px ${Ko}px`,overflow:"hidden",lineHeight:`${ai-2*un-Oa/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${de}-preset > ${ge}-tag-blue`]:{color:so,background:mi,borderColor:jo,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:Tt*1.5,transition:`left ${Hr} ease-out`},(0,no.r)(Co,wo,Vo,ri,_e)),[`${de}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ri,borderRadius:To,boxShadow:zo,transition:`margin ${Hr}`,[`${de}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${de}-presets`]:{display:"flex",flexDirection:"column",minWidth:pe,maxWidth:Re,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Oa,borderInlineEnd:`${un}px ${on} ${bi}`,li:Object.assign(Object.assign({},ca.vS),{borderRadius:Oi,paddingInline:Oa,paddingBlock:($n-Math.round(Qe*Da))/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 ${un}px`},"&:last-child":{[`${de}-panel`]:{borderWidth:0}}},[`${de}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${de}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:vn}}}}),"&-dropdown-range":{padding:`${Co*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${de}-separator`]:{transform:"rotate(180deg)"},[`${de}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,kn.oN)(le,"slide-up"),(0,kn.oN)(le,"slide-down"),(0,ea.Fm)(le,"move-up"),(0,ea.Fm)(le,"move-down")]},qo=le=>{const{componentCls:de,controlHeightLG:ge,paddingXXS:Ve,padding:Qe}=le;return{pickerCellCls:`${de}-cell`,pickerCellInnerCls:`${de}-cell-inner`,pickerYearMonthCellWidth:ge*1.5,pickerQuarterPanelContentHeight:ge*1.4,pickerCellPaddingVertical:Ve+Ve/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Qe+Ve/2}},mr=le=>({cellHoverBg:le.controlItemBgHover,cellActiveWithRangeBg:le.controlItemBgActive,cellHoverWithRangeBg:new ii.C(le.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new ii.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 vo=(0,pn.Z)("DatePicker",le=>{const de=(0,Sa.TS)((0,va.e5)(le),qo(le));return[Rr(de),gr(de),(0,Li.c)(le,{focusElCls:`${le.componentCls}-focused`})]},le=>Object.assign(Object.assign(Object.assign({},(0,va.TM)(le)),mr(le)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:le.zIndexPopupBase+50}));function Ea(le,de,ge){return ge!==void 0?ge: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 co(le,de,ge){return ge!==void 0?ge: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 Oo(le,de){const ge={adjustX:1,adjustY:1};switch(de){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ge};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ge};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ge};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ge};default:return{points:le==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ge}}}function xo(le){return le?Array.isArray(le)?le:[le]:[]}function yn(le){const{format:de,picker:ge,showHour:Ve,showMinute:Qe,showSecond:Tt,use12Hours:xt}=le,un=xo(de)[0],on=Object.assign({},le);return de&&Array.isArray(de)&&(on.format=un),un&&typeof un=="string"&&(!un.includes("s")&&Tt===void 0&&(on.showSecond=!1),!un.includes("m")&&Qe===void 0&&(on.showMinute=!1),!un.includes("H")&&!un.includes("h")&&!un.includes("K")&&!un.includes("k")&&Ve===void 0&&(on.showHour=!1),(un.includes("a")||un.includes("A"))&&xt===void 0&&(on.use12Hours=!0)),ge==="time"?on:(typeof un=="function"&&delete on.format,{showTime:on})}function na(le,de,ge){if(le===!1)return!1;const Ve={clearIcon:de!=null?de:ge};return typeof le=="object"?Object.assign(Object.assign({},Ve),le):Ve}var Na=te(3113);function jn(le){return ae.createElement(Na.ZP,Object.assign({size:"small",type:"primary"},le))}var xr={button:jn},wr=function(le,de){var ge={};for(var Ve in le)Object.prototype.hasOwnProperty.call(le,Ve)&&de.indexOf(Ve)<0&&(ge[Ve]=le[Ve]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ve=Object.getOwnPropertySymbols(le);Qe{const{prefixCls:Qe,getPopupContainer:Tt,className:xt,placement:un,size:on,disabled:vn,bordered:ia=!0,placeholder:Bn,popupClassName:In,dropdownClassName:Kn,status:Gn,clearIcon:ln,allowClear:wn,rootClassName:$n}=ge,ka=wr(ge,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Oa=ae.useRef(null),{getPrefixCls:za,direction:Ja,getPopupContainer:Ha}=(0,ae.useContext)(_o.E_),Da=za("picker",Qe),{compactSize:so,compactItemClassnames:Hr}=(0,Jn.ri)(Da,Ja),{format:mo,showTime:Do,picker:Ko}=ge,ai=za(),[mi,jo]=vo(Da),Co=Object.assign(Object.assign({},Do?yn(Object.assign({format:mo,picker:Ko},Do)):{}),Ko==="time"?yn(Object.assign(Object.assign({format:mo},ge),{picker:Ko})):{}),wo=(0,ur.Z)(_e=>{var tt;return(tt=on!=null?on:so)!==null&&tt!==void 0?tt:_e}),Vo=ae.useContext(Si.Z),ri=vn!=null?vn:Vo,To=(0,ae.useContext)(Uo.aM),{hasFeedback:zo,status:Oi,feedbackIcon:bi}=To,ce=ae.createElement(ae.Fragment,null,Ko==="time"?ae.createElement(Ue,null):ae.createElement(Ee,null),zo&&bi);(0,ae.useImperativeHandle)(Ve,()=>({focus:()=>{var _e;return(_e=Oa.current)===null||_e===void 0?void 0:_e.focus()},blur:()=>{var _e;return(_e=Oa.current)===null||_e===void 0?void 0:_e.blur()}}));const[pe]=(0,Br.Z)("Calendar",to.Z),Re=Object.assign(Object.assign({},pe),ge.locale);return mi(ae.createElement(Tr,Object.assign({separator:ae.createElement("span",{"aria-label":"to",className:`${Da}-separator`},ae.createElement(Rt,null)),disabled:ri,ref:Oa,dropdownAlign:Oo(Ja,un),placeholder:co(Re,Ko,Bn),suffixIcon:ce,prevIcon:ae.createElement("span",{className:`${Da}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Da}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Da}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Da}-super-next-icon`}),transitionName:`${ai}-slide-up`},ka,Co,{className:Je()({[`${Da}-${wo}`]:wo,[`${Da}-borderless`]:!ia},(0,Ra.Z)(Da,(0,Ra.F)(Oi,Gn),zo),jo,Hr,xt,$n),locale:Re.lang,prefixCls:Da,getPopupContainer:Tt||Ha,generateConfig:le,components:xr,direction:Ja,dropdownClassName:Je()(jo,In||Kn,$n),allowClear:na(wn,ln,ae.createElement(je.Z,null))})))})}var ei=function(le,de){var ge={};for(var Ve in le)Object.prototype.hasOwnProperty.call(le,Ve)&&de.indexOf(Ve)<0&&(ge[Ve]=le[Ve]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ve=Object.getOwnPropertySymbols(le);Qe{const{prefixCls:Gn,getPopupContainer:ln,style:wn,className:$n,rootClassName:ka,size:Oa,bordered:za=!0,placement:Ja,placeholder:Ha,popupClassName:Da,dropdownClassName:so,disabled:Hr,status:mo,clearIcon:Do,allowClear:Ko}=In,ai=ei(In,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:mi,direction:jo,getPopupContainer:Co,[ia]:wo}=(0,ae.useContext)(_o.E_),Vo=mi("picker",Gn),{compactSize:ri,compactItemClassnames:To}=(0,Jn.ri)(Vo,jo),zo=ae.useRef(null),{format:Oi,showTime:bi}=In,[ce,pe]=vo(Vo);(0,ae.useImperativeHandle)(Kn,()=>({focus:()=>{var Wn;return(Wn=zo.current)===null||Wn===void 0?void 0:Wn.focus()},blur:()=>{var Wn;return(Wn=zo.current)===null||Wn===void 0?void 0:Wn.blur()}}));const Re={showToday:!0};let _e={};on&&(_e.picker=on);const tt=on||In.picker;_e=Object.assign(Object.assign(Object.assign({},_e),bi?yn(Object.assign({format:Oi,picker:tt},bi)):{}),tt==="time"?yn(Object.assign(Object.assign({format:Oi},In),{picker:tt})):{});const at=mi(),Nt=(0,ur.Z)(Wn=>{var ua;return(ua=Oa!=null?Oa:ri)!==null&&ua!==void 0?ua:Wn}),Ot=ae.useContext(Si.Z),Dt=Hr!=null?Hr:Ot,Xt=(0,ae.useContext)(Uo.aM),{hasFeedback:Gt,status:_t,feedbackIcon:Cn}=Xt,En=ae.createElement(ae.Fragment,null,tt==="time"?ae.createElement(Ue,null):ae.createElement(Ee,null),Gt&&Cn),[Fn]=(0,Br.Z)("DatePicker",to.Z),Yn=Object.assign(Object.assign({},Fn),In.locale);return ce(ae.createElement(Lo,Object.assign({ref:zo,placeholder:Ea(Yn,tt,Ha),suffixIcon:En,dropdownAlign:Oo(jo,Ja),prevIcon:ae.createElement("span",{className:`${Vo}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Vo}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Vo}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Vo}-super-next-icon`}),transitionName:`${at}-slide-up`},Re,ai,_e,{locale:Yn.lang,className:Je()({[`${Vo}-${Nt}`]:Nt,[`${Vo}-borderless`]:!za},(0,Ra.Z)(Vo,(0,Ra.F)(_t,mo),Gt),pe,To,wo==null?void 0:wo.className,$n,ka),style:Object.assign(Object.assign({},wo==null?void 0:wo.style),wn),prefixCls:Vo,getPopupContainer:ln||Co,generateConfig:le,components:xr,direction:jo,disabled:Dt,dropdownClassName:Je()(pe,ka,Da||so),allowClear:na(Ko,Do,ae.createElement(je.Z,null))})))});return vn&&(Bn.displayName=vn),Bn}const ge=de(),Ve=de("week","WeekPicker"),Qe=de("month","MonthPicker"),Tt=de("year","YearPicker"),xt=de("time","TimePicker"),un=de("quarter","QuarterPicker");return{DatePicker:ge,WeekPicker:Ve,MonthPicker:Qe,YearPicker:Tt,TimePicker:xt,QuarterPicker:un}}const ji=null;function qi(le){const{DatePicker:de,WeekPicker:ge,MonthPicker:Ve,YearPicker:Qe,TimePicker:Tt,QuarterPicker:xt}=Bi(le),un=Eo(le),on=de;return on.WeekPicker=ge,on.MonthPicker=Ve,on.YearPicker=Qe,on.RangePicker=un,on.TimePicker=Tt,on.QuarterPicker=xt,on}var wl=qi;const vl=wl(ee);function Sl(le){const de=Oo(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(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return Me}});var z=te(92310),se=te.n(z),ve=te(59301),Ne=te(36355),be=te(17313),Ie=te(83116),ie=te(37613);const qe=ye=>{const{componentCls:re,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:b,textPaddingInline:E,orientationMargin:x,verticalMarginInline:ee}=ye;return{[re]:Object.assign(Object.assign({},(0,be.Wf)(ye)),{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:`${ye.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${re}-with-text`]:{display:"flex",alignItems:"center",margin:`${ye.dividerHorizontalWithTextGutterMargin}px 0`,color:ye.colorTextHeading,fontWeight:500,fontSize:ye.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:ye.colorText,fontWeight:"normal",fontSize:ye.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 He=(0,Ie.Z)("Divider",ye=>{const re=(0,ie.TS)(ye,{dividerHorizontalWithTextGutterMargin:ye.margin,dividerHorizontalGutterMargin:ye.marginLG,sizePaddingEdgeHorizontal:0});return[qe(re)]},ye=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:ye.marginXS})),ke=function(ye,re){var a={};for(var y in ye)Object.prototype.hasOwnProperty.call(ye,y)&&re.indexOf(y)<0&&(a[y]=ye[y]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(ye);b{const{getPrefixCls:re,direction:a,divider:y}=ve.useContext(Ne.E_),{prefixCls:b,type:E="horizontal",orientation:x="center",orientationMargin:ee,className:ne,rootClassName:oe,children:ae,dashed:ue,plain:me,style:fe}=ye,Pe=ke(ye,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=re("divider",b),[Ee,Ae]=He(xe),Ze=x.length>0?`-${x}`:x,ft=!!ae,De=x==="left"&&ee!=null,Ue=x==="right"&&ee!=null,je=se()(xe,y==null?void 0:y.className,Ae,`${xe}-${E}`,{[`${xe}-with-text`]:ft,[`${xe}-with-text${Ze}`]:ft,[`${xe}-dashed`]:!!ue,[`${xe}-plain`]:!!me,[`${xe}-rtl`]:a==="rtl",[`${xe}-no-default-orientation-margin-left`]:De,[`${xe}-no-default-orientation-margin-right`]:Ue},ne,oe),Ge=ve.useMemo(()=>typeof ee=="number"?ee:/^\d+$/.test(ee)?Number(ee):ee,[ee]),nt=Object.assign(Object.assign({},De&&{marginLeft:Ge}),Ue&&{marginRight:Ge});return Ee(ve.createElement("div",Object.assign({className:je,style:Object.assign(Object.assign({},y==null?void 0:y.style),fe)},Pe,{role:"separator"}),ae&&E!=="vertical"&&ve.createElement("span",{className:`${xe}-inner-text`,style:nt},ae)))}},91857:function(bt,Pt,te){"use strict";var z=te(59301),se=te(38819),ve=te(92310),Ne=te.n(ve),be=te(31561),Ie=te(70425),ie=te(18929),qe=te(2738),He=te(79676),ke=te(53487),ze=te(92343),Me=te(36355),ye=te(20834),re=te(40875),a=te(88088),y=te(47211);const b=null,E=oe=>{const{menu:ae,arrow:ue,prefixCls:me,children:fe,trigger:Pe,disabled:xe,dropdownRender:Ee,getPopupContainer:Ae,overlayClassName:Ze,rootClassName:ft,open:De,onOpenChange:Ue,visible:je,onVisibleChange:Ge,mouseEnterDelay:nt=.15,mouseLeaveDelay:et=.1,autoAdjustOverflow:ht=!0,placement:Rt="",overlay:Qt,transitionName:Je}=oe,{getPopupContainer:it,getPrefixCls:Bt,direction:Mt}=z.useContext(Me.E_),St=z.useMemo(()=>{const we=Bt();return Je!==void 0?Je:Rt.includes("top")?`${we}-slide-down`:`${we}-slide-up`},[Bt,Rt,Je]),cn=z.useMemo(()=>Rt?Rt.includes("Center")?Rt.slice(0,Rt.indexOf("Center")):Rt:Mt==="rtl"?"bottomRight":"bottomLeft",[Rt,Mt]),Fe=Bt("dropdown",me),[$t,Yt]=(0,y.Z)(Fe),[,vt]=(0,a.Z)(),tn=z.Children.only(fe),dt=(0,ze.Tm)(tn,{className:Ne()(`${Fe}-trigger`,{[`${Fe}-rtl`]:Mt==="rtl"},tn.props.className),disabled:xe}),ct=xe?[]:Pe;let rt;ct&&ct.includes("contextMenu")&&(rt=!0);const[Oe,pt]=(0,ie.Z)(!1,{value:De!=null?De:je}),ut=(0,Ie.useEvent)(we=>{Ue==null||Ue(we),Ge==null||Ge(we),pt(we)}),Be=Ne()(Ze,ft,Yt,{[`${Fe}-rtl`]:Mt==="rtl"}),he=(0,He.Z)({arrowPointAtCenter:typeof ue=="object"&&ue.pointAtCenter,autoAdjustOverflow:ht,offset:vt.marginXXS,arrowWidth:ue?vt.sizePopupArrow:0,borderRadius:vt.borderRadius}),Ke=z.useCallback(()=>{pt(!1)},[]),Ye=()=>{let we;return ae!=null&&ae.items?we=z.createElement(ye.default,Object.assign({},ae)):typeof Qt=="function"?we=Qt():we=Qt,Ee&&(we=Ee(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:Ke,validator:gt=>{let{mode:$e}=gt}},we)};return $t(z.createElement(be.Z,Object.assign({alignPoint:rt},(0,qe.Z)(oe,["rootClassName"]),{mouseEnterDelay:nt,mouseLeaveDelay:et,visible:Oe,builtinPlacements:he,arrow:!!ue,overlayClassName:Be,prefixCls:Fe,getPopupContainer:Ae||it,transitionName:St,trigger:ct,overlay:Ye,placement:cn,onVisibleChange:ut}),dt))};function x(oe){return Object.assign(Object.assign({},oe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,ke.Z)(E,"dropdown",oe=>oe,x),ne=oe=>z.createElement(ee,Object.assign({},oe),z.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ne,Pt.Z=E},38854:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return a}});var z=te(91857),se=te(92310),ve=te.n(se),Ne=te(59301),be=te(18785),Ie=te(3113),ie=te(36355),qe=te(81327),He=te(33234),ke=te(47211),ze=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{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Ne.useContext(ie.E_),{prefixCls:ee,type:ne="default",danger:oe,disabled:ae,loading:ue,onClick:me,htmlType:fe,children:Pe,className:xe,menu:Ee,arrow:Ae,autoFocus:Ze,overlay:ft,trigger:De,align:Ue,open:je,onOpenChange:Ge,placement:nt,getPopupContainer:et,href:ht,icon:Rt=Ne.createElement(be.Z,null),title:Qt,buttonsRender:Je=Ye=>Ye,mouseEnterDelay:it,mouseLeaveDelay:Bt,overlayClassName:Mt,overlayStyle:St,destroyPopupOnHide:cn,dropdownRender:Fe}=y,$t=ze(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"]),Yt=E("dropdown",ee),vt=`${Yt}-button`,[tn,dt]=(0,ke.Z)(Yt),ct={menu:Ee,arrow:Ae,autoFocus:Ze,align:Ue,disabled:ae,trigger:ae?[]:De,onOpenChange:Ge,getPopupContainer:et||b,mouseEnterDelay:it,mouseLeaveDelay:Bt,overlayClassName:Mt,overlayStyle:St,destroyPopupOnHide:cn,dropdownRender:Fe},{compactSize:rt,compactItemClassnames:Oe}=(0,He.ri)(Yt,x),pt=ve()(vt,Oe,xe,dt);"overlay"in y&&(ct.overlay=ft),"open"in y&&(ct.open=je),"placement"in y?ct.placement=nt:ct.placement=x==="rtl"?"bottomLeft":"bottomRight";const ut=Ne.createElement(Ie.ZP,{type:ne,danger:oe,disabled:ae,loading:ue,onClick:me,htmlType:fe,href:ht,title:Qt},Pe),Be=Ne.createElement(Ie.ZP,{type:ne,danger:oe,icon:Rt}),[he,Ke]=Je([ut,Be]);return tn(Ne.createElement(qe.Z.Compact,Object.assign({className:pt,size:rt,block:!0},$t),he,Ne.createElement(z.Z,Object.assign({},ct),Ke)))};Me.__ANT_BUTTON=!0;var ye=Me;const re=z.Z;re.Button=ye;var a=re},47211:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return ze}});var z=te(17313),se=te(13826),ve=te(92899),Ne=te(29878),be=te(19447),Ie=te(83116),ie=te(37613),He=Me=>{const{componentCls:ye,menuCls:re,colorError:a,colorTextLightSolid:y}=Me,b=`${re}-item`;return{[`${ye}, ${ye}-menu-submenu`]:{[`${re} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ke=Me=>{const{componentCls:ye,menuCls:re,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:ee,dropdownPaddingVertical:ne,fontSize:oe,dropdownEdgeChildPadding:ae,colorTextDisabled:ue,fontSizeIcon:me,controlPaddingHorizontal:fe,colorBgElevated:Pe}=Me;return[{[ye]: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:me}},[`${ye}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:me},[`${x}-down::before`]:{transition:`transform ${ee}`}},[`${ye}-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${ye}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottom, &${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottom, &${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottomRight, &${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottomRight`]:{animationName:se.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-topLeft, &${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-topLeft, &${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-top, &${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-top, &${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-topRight, &${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-topRight`]:{animationName:se.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottomLeft, &${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottom, &${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottomRight`]:{animationName:se.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-topLeft, &${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-top, &${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-topRight`]:{animationName:se.ly}})},(0,be.ZP)(Me,{colorBg:Pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ye} ${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}},[`${ye}, ${ye}-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 ${fe}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 ${fe}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},[`${ye}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Me.paddingXS,[`${ye}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Me.colorTextDescription,fontSize:me,fontStyle:"normal"}}}),[`${re}-item-group-list`]:{margin:`0 ${Me.marginXS}px`,padding:0,listStyle:"none"},[`${re}-submenu-title`]:{paddingInlineEnd:fe+Me.fontSizeSM},[`${re}-submenu-vertical`]:{position:"relative"},[`${re}-submenu${re}-submenu-disabled ${ye}-menu-submenu-title`]:{[`&, ${ye}-menu-submenu-arrow-icon`]:{color:ue,backgroundColor:Pe,cursor:"not-allowed"}},[`${re}-submenu-selected ${ye}-menu-submenu-title`]:{color:Me.colorPrimary}})}},[(0,se.oN)(Me,"slide-up"),(0,se.oN)(Me,"slide-down"),(0,ve.Fm)(Me,"move-up"),(0,ve.Fm)(Me,"move-down"),(0,Ne._y)(Me,"zoom-big")]]};var ze=(0,Ie.Z)("Dropdown",(Me,ye)=>{let{rootPrefixCls:re}=ye;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}),me=(0,ie.TS)(Me,{menuCls:`${ne}-menu`,rootPrefixCls:re,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ue,dropdownPaddingVertical:ae,dropdownEdgeChildPadding:ee});return[ke(me),He(me)]},Me=>({zIndexPopup:Me.zIndexPopupBase+50}))},8628:function(bt,Pt,te){"use strict";var z=te(59301),se=te(34280),ve=te(56762),Ne=te(69507);function be(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ie=(0,z.useRef)({}),qe=(0,ve.Z)(),He=(0,Ne.ZP)();return(0,se.Z)(()=>{const ke=He.subscribe(ze=>{ie.current=ze,Ie&&qe()});return()=>He.unsubscribe(ke)},[]),ie.current}Pt.Z=be},45818:function(bt,Pt,te){"use strict";te.d(Pt,{D:function(){return ee},Z:function(){return ae}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(me,fe){return se.createElement(be.Z,(0,z.Z)({},me,{ref:fe,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie,He=te(33853),ke=te(38819),ze=te(92310),Me=te.n(ze),ye=te(2738),a=ue=>!isNaN(parseFloat(ue))&&isFinite(ue),y=te(36355),b=te(84966),E=function(ue,me){var fe={};for(var Pe in ue)Object.prototype.hasOwnProperty.call(ue,Pe)&&me.indexOf(Pe)<0&&(fe[Pe]=ue[Pe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Pe=Object.getOwnPropertySymbols(ue);xe{let ue=0;return function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ue+=1,`${me}${ue}`}})();var ae=se.forwardRef((ue,me)=>{const{prefixCls:fe,className:Pe,trigger:xe,children:Ee,defaultCollapsed:Ae=!1,theme:Ze="dark",style:ft={},collapsible:De=!1,reverseArrow:Ue=!1,width:je=200,collapsedWidth:Ge=80,zeroWidthTriggerStyle:nt,breakpoint:et,onCollapse:ht,onBreakpoint:Rt}=ue,Qt=E(ue,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Je}=(0,se.useContext)(b.Gs),[it,Bt]=(0,se.useState)("collapsed"in ue?ue.collapsed:Ae),[Mt,St]=(0,se.useState)(!1);(0,se.useEffect)(()=>{"collapsed"in ue&&Bt(ue.collapsed)},[ue.collapsed]);const cn=(dt,ct)=>{"collapsed"in ue||Bt(dt),ht==null||ht(dt,ct)},Fe=(0,se.useRef)();Fe.current=dt=>{St(dt.matches),Rt==null||Rt(dt.matches),it!==dt.matches&&cn(dt.matches,"responsive")},(0,se.useEffect)(()=>{function dt(rt){return Fe.current(rt)}let ct;if(typeof window!="undefined"){const{matchMedia:rt}=window;if(rt&&et&&et in x){ct=rt(`(max-width: ${x[et]})`);try{ct.addEventListener("change",dt)}catch(Oe){ct.addListener(dt)}dt(ct)}}return()=>{try{ct==null||ct.removeEventListener("change",dt)}catch(rt){ct==null||ct.removeListener(dt)}}},[et]),(0,se.useEffect)(()=>{const dt=ne("ant-sider-");return Je.addSider(dt),()=>Je.removeSider(dt)},[]);const $t=()=>{cn(!it,"clickTrigger")},{getPrefixCls:Yt}=(0,se.useContext)(y.E_),vt=()=>{const dt=Yt("layout-sider",fe),ct=(0,ye.Z)(Qt,["collapsed"]),rt=it?Ge:je,Oe=a(rt)?`${rt}px`:String(rt),pt=parseFloat(String(Ge||0))===0?se.createElement("span",{onClick:$t,className:Me()(`${dt}-zero-width-trigger`,`${dt}-zero-width-trigger-${Ue?"right":"left"}`),style:nt},xe||se.createElement(qe,null)):null,he={expanded:Ue?se.createElement(ke.Z,null):se.createElement(He.Z,null),collapsed:Ue?se.createElement(He.Z,null):se.createElement(ke.Z,null)}[it?"collapsed":"expanded"],Ke=xe!==null?pt||se.createElement("div",{className:`${dt}-trigger`,onClick:$t,style:{width:Oe}},xe||he):null,Ye=Object.assign(Object.assign({},ft),{flex:`0 0 ${Oe}`,maxWidth:Oe,minWidth:Oe,width:Oe}),we=Me()(dt,`${dt}-${Ze}`,{[`${dt}-collapsed`]:!!it,[`${dt}-has-trigger`]:De&&xe!==null&&!pt,[`${dt}-below`]:!!Mt,[`${dt}-zero-width`]:parseFloat(Oe)===0},Pe);return se.createElement("aside",Object.assign({className:we},ct,{style:Ye,ref:me}),se.createElement("div",{className:`${dt}-children`},Ee),De||Mt&&pt?Ke:null)},tn=se.useMemo(()=>({siderCollapsed:it}),[it]);return se.createElement(ee.Provider,{value:tn},vt())})},84966:function(bt,Pt,te){"use strict";te.d(Pt,{VY:function(){return ee},$_:function(){return x},h4:function(){return E},Gs:function(){return ye},ZP:function(){return ne}});var z=te(26407),se=te(92310),ve=te.n(se),Ne=te(2738),be=te(59301),Ie=te(36355),ie=te(83116),He=oe=>{const{componentCls:ae,bodyBg:ue,lightSiderBg:me,lightTriggerBg:fe,lightTriggerColor:Pe}=oe;return{[`${ae}-sider-light`]:{background:me,[`${ae}-sider-trigger`]:{color:Pe,background:fe},[`${ae}-sider-zero-width-trigger`]:{color:Pe,background:fe,border:`1px solid ${ue}`,borderInlineStart:0}}}};const ke=oe=>{const{antCls:ae,componentCls:ue,colorText:me,triggerColor:fe,footerBg:Pe,triggerBg:xe,headerHeight:Ee,headerPadding:Ae,headerColor:Ze,footerPadding:ft,triggerHeight:De,zeroTriggerHeight:Ue,zeroTriggerWidth:je,motionDurationMid:Ge,motionDurationSlow:nt,fontSize:et,borderRadius:ht,bodyBg:Rt,headerBg:Qt,siderBg:Je}=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:Je,transition:`all ${Ge}, 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:fe,lineHeight:`${De}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${Ge}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ee,insetInlineEnd:-je,zIndex:1,width:je,height:Ue,color:fe,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Je,borderStartStartRadius:0,borderStartEndRadius:ht,borderEndEndRadius:ht,borderEndStartRadius:0,cursor:"pointer",transition:`background ${nt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${nt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-je,borderStartStartRadius:ht,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ht}}}}},He(oe)),{"&-rtl":{direction:"rtl"}}),[`${ue}-header`]:{height:Ee,padding:Ae,color:Ze,lineHeight:`${Ee}px`,background:Qt,[`${ae}-menu`]:{lineHeight:"inherit"}},[`${ue}-footer`]:{padding:ft,color:me,fontSize:et,background:Pe},[`${ue}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,ie.Z)("Layout",oe=>[ke(oe)],oe=>{const{colorBgLayout:ae,controlHeight:ue,controlHeightLG:me,colorText:fe,controlHeightSM:Pe,marginXXS:xe,colorTextLightSolid:Ee,colorBgContainer:Ae}=oe,Ze=me*1.25;return{colorBgHeader:"#001529",colorBgBody:ae,colorBgTrigger:"#002140",bodyBg:ae,headerBg:"#001529",headerHeight:ue*2,headerPadding:`0 ${Ze}px`,headerColor:fe,footerPadding:`${Pe}px ${Ze}px`,footerBg:ae,siderBg:"#001529",triggerHeight:me+xe*2,triggerBg:"#002140",triggerColor:Ee,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:Ae,lightTriggerBg:Ae,lightTriggerColor:fe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Me=function(oe,ae){var ue={};for(var me in oe)Object.prototype.hasOwnProperty.call(oe,me)&&ae.indexOf(me)<0&&(ue[me]=oe[me]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,me=Object.getOwnPropertySymbols(oe);fenull,removeSider:()=>null}});function re(oe){let{suffixCls:ae,tagName:ue,displayName:me}=oe;return fe=>be.forwardRef((xe,Ee)=>be.createElement(fe,Object.assign({ref:Ee,suffixCls:ae,tagName:ue},xe)))}const a=be.forwardRef((oe,ae)=>{const{prefixCls:ue,suffixCls:me,className:fe,tagName:Pe}=oe,xe=Me(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ee}=be.useContext(Ie.E_),Ae=Ee("layout",ue),[Ze,ft]=ze(Ae),De=me?`${Ae}-${me}`:Ae;return Ze(be.createElement(Pe,Object.assign({className:ve()(ue||De,fe,ft),ref:ae},xe)))}),y=be.forwardRef((oe,ae)=>{const{direction:ue}=be.useContext(Ie.E_),[me,fe]=be.useState([]),{prefixCls:Pe,className:xe,rootClassName:Ee,children:Ae,hasSider:Ze,tagName:ft,style:De}=oe,Ue=Me(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),je=(0,Ne.Z)(Ue,["suffixCls"]),{getPrefixCls:Ge,layout:nt}=be.useContext(Ie.E_),et=Ge("layout",Pe),[ht,Rt]=ze(et),Qt=ve()(et,{[`${et}-has-sider`]:typeof Ze=="boolean"?Ze:me.length>0,[`${et}-rtl`]:ue==="rtl"},nt==null?void 0:nt.className,xe,Ee,Rt),Je=be.useMemo(()=>({siderHook:{addSider:it=>{fe(Bt=>[].concat((0,z.Z)(Bt),[it]))},removeSider:it=>{fe(Bt=>Bt.filter(Mt=>Mt!==it))}}}),[]);return ht(be.createElement(ye.Provider,{value:Je},be.createElement(ft,Object.assign({ref:ae,className:Qt,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),De)},je),Ae)))}),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(bt,Pt,te){"use strict";te.d(Pt,{J:function(){return Ie}});var z=te(59301),se=te(33234),ve=te(70425),Ne=function(ie,qe){var He={};for(var ke in ie)Object.prototype.hasOwnProperty.call(ie,ke)&&qe.indexOf(ke)<0&&(He[ke]=ie[ke]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,ke=Object.getOwnPropertySymbols(ie);ze{const{children:He}=ie,ke=Ne(ie,["children"]),ze=z.useContext(be),Me=z.useMemo(()=>Object.assign(Object.assign({},ze),ke),[ze,ke.prefixCls,ke.mode,ke.selectable]);return z.createElement(be.Provider,{value:Me},z.createElement(se.BR,null,(0,ve.supportNodeRef)(He)?z.cloneElement(He,{ref:qe}):He))});Pt.Z=be},20834:function(bt,Pt,te){"use strict";te.d(Pt,{default:function(){return tn}});var z=te(15285),se=te(59301),ve=te(45818),Ne=te(92310),be=te.n(Ne),Ie=te(36355),ie=function(dt,ct){var rt={};for(var Oe in dt)Object.prototype.hasOwnProperty.call(dt,Oe)&&ct.indexOf(Oe)<0&&(rt[Oe]=dt[Oe]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Oe=Object.getOwnPropertySymbols(dt);pt{const{prefixCls:ct,className:rt,dashed:Oe}=dt,pt=ie(dt,["prefixCls","className","dashed"]),{getPrefixCls:ut}=se.useContext(Ie.E_),Be=ut("menu",ct),he=be()({[`${Be}-item-divider-dashed`]:!!Oe},rt);return se.createElement(z.iz,Object.assign({className:he},pt))},ke=te(11592),ze=te(2738),Me=te(6848),ye=te(92343),a=(0,se.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=dt=>{var ct;const{className:rt,children:Oe,icon:pt,title:ut,danger:Be}=dt,{prefixCls:he,firstLevel:Ke,direction:Ye,disableMenuItemTitleTooltip:we,inlineCollapsed:gt}=se.useContext(a),$e=We=>{const st=se.createElement("span",{className:`${he}-title-content`},Oe);return(!pt||(0,ye.l$)(Oe)&&Oe.type==="span")&&Oe&&We&&Ke&&typeof Oe=="string"?se.createElement("div",{className:`${he}-inline-collapsed-noicon`},Oe.charAt(0)):st},{siderCollapsed:Kt}=se.useContext(ve.D);let Se=ut;typeof ut=="undefined"?Se=Ke?Oe:"":ut===!1&&(Se="");const ot={title:Se};!Kt&&!gt&&(ot.title=null,ot.open=!1);const wt=(0,ke.Z)(Oe).length;let Le=se.createElement(z.ck,Object.assign({},(0,ze.Z)(dt,["title","icon","danger"]),{className:be()({[`${he}-item-danger`]:Be,[`${he}-item-only-child`]:(pt?wt+1:wt)===1},rt),title:typeof ut=="string"?ut:void 0}),(0,ye.Tm)(pt,{className:be()((0,ye.l$)(pt)?(ct=pt.props)===null||ct===void 0?void 0:ct.className:"",`${he}-item-icon`)}),$e(gt));return we||(Le=se.createElement(Me.Z,Object.assign({},ot,{placement:Ye==="rtl"?"left":"right",overlayClassName:`${he}-inline-collapsed-tooltip`}),Le)),Le},x=dt=>{var ct;const{popupClassName:rt,icon:Oe,title:pt,theme:ut}=dt,Be=se.useContext(a),{prefixCls:he,inlineCollapsed:Ke,theme:Ye}=Be,we=(0,z.Xl)();let gt;if(!Oe)gt=Ke&&!we.length&&pt&&typeof pt=="string"?se.createElement("div",{className:`${he}-inline-collapsed-noicon`},pt.charAt(0)):se.createElement("span",{className:`${he}-title-content`},pt);else{const Kt=(0,ye.l$)(pt)&&pt.type==="span";gt=se.createElement(se.Fragment,null,(0,ye.Tm)(Oe,{className:be()((0,ye.l$)(Oe)?(ct=Oe.props)===null||ct===void 0?void 0:ct.className:"",`${he}-item-icon`)}),Kt?pt:se.createElement("span",{className:`${he}-title-content`},pt))}const $e=se.useMemo(()=>Object.assign(Object.assign({},Be),{firstLevel:!1}),[Be]);return se.createElement(a.Provider,{value:$e},se.createElement(z.Wd,Object.assign({},(0,ze.Z)(dt,["icon"]),{title:gt,popupClassName:be()(he,rt,`${he}-${ut||Ye}`)})))},ee=te(18785),ne=te(70425),oe=te(62892),ae=te(40875),ue=function(dt,ct){var rt={};for(var Oe in dt)Object.prototype.hasOwnProperty.call(dt,Oe)&&ct.indexOf(Oe)<0&&(rt[Oe]=dt[Oe]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Oe=Object.getOwnPropertySymbols(dt);pt{if(ct&&typeof ct=="object"){const Oe=ct,{label:pt,children:ut,key:Be,type:he}=Oe,Ke=ue(Oe,["label","children","key","type"]),Ye=Be!=null?Be:`tmp-${rt}`;return ut||he==="group"?he==="group"?se.createElement(z.BW,Object.assign({key:Ye},Ke,{title:pt}),me(ut)):se.createElement(x,Object.assign({key:Ye},Ke,{title:pt}),me(ut)):he==="divider"?se.createElement(He,Object.assign({key:Ye},Ke)):se.createElement(b,Object.assign({key:Ye},Ke),pt)}return null}).filter(ct=>ct)}function fe(dt){return se.useMemo(()=>dt&&me(dt),[dt])}var Pe=te(64993),xe=te(17313),Ee=te(8378),Ae=te(13826),Ze=te(29878),ft=te(83116),De=te(37613),je=dt=>{const{componentCls:ct,motionDurationSlow:rt,horizontalLineHeight:Oe,colorSplit:pt,lineWidth:ut,lineType:Be,itemPaddingInline:he}=dt;return{[`${ct}-horizontal`]:{lineHeight:Oe,border:0,borderBottom:`${ut}px ${Be} ${pt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ct}-item, ${ct}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:he},[`> ${ct}-item:hover, > ${ct}-item-active, > ${ct}-submenu ${ct}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ct}-item, ${ct}-submenu-title`]:{transition:[`border-color ${rt}`,`background ${rt}`].join(",")},[`${ct}-submenu-arrow`]:{display:"none"}}}},nt=dt=>{let{componentCls:ct,menuArrowOffset:rt}=dt;return{[`${ct}-rtl`]:{direction:"rtl"},[`${ct}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ct}-rtl${ct}-vertical, ${ct}-submenu-rtl ${ct}-vertical`]:{[`${ct}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${rt})`},"&::after":{transform:`rotate(45deg) translateY(${rt})`}}}}};const et=dt=>Object.assign({},(0,xe.oN)(dt));var Rt=(dt,ct)=>{const{componentCls:rt,itemColor:Oe,itemSelectedColor:pt,groupTitleColor:ut,itemBg:Be,subMenuItemBg:he,itemSelectedBg:Ke,activeBarHeight:Ye,activeBarWidth:we,activeBarBorderWidth:gt,motionDurationSlow:$e,motionEaseInOut:Kt,motionEaseOut:Se,itemPaddingInline:ot,motionDurationMid:wt,itemHoverColor:Le,lineType:We,colorSplit:st,itemDisabledColor:Ft,dangerItemColor:Wt,dangerItemHoverColor:mn,dangerItemSelectedColor:lt,dangerItemActiveBg:At,dangerItemSelectedBg:Et,itemHoverBg:nn,itemActiveBg:Ut,menuSubMenuBg:sn,horizontalItemSelectedColor:_n,horizontalItemSelectedBg:hn,horizontalItemBorderRadius:an,horizontalItemHoverBg:Un,popupBg:Ht}=dt;return{[`${rt}-${ct}, ${rt}-${ct} > ${rt}`]:{color:Oe,background:Be,[`&${rt}-root:focus-visible`]:Object.assign({},et(dt)),[`${rt}-item-group-title`]:{color:ut},[`${rt}-submenu-selected`]:{[`> ${rt}-submenu-title`]:{color:pt}},[`${rt}-item-disabled, ${rt}-submenu-disabled`]:{color:`${Ft} !important`},[`${rt}-item:not(${rt}-item-selected):not(${rt}-submenu-selected)`]:{[`&:hover, > ${rt}-submenu-title:hover`]:{color:Le}},[`&:not(${rt}-horizontal)`]:{[`${rt}-item:not(${rt}-item-selected)`]:{"&:hover":{backgroundColor:nn},"&:active":{backgroundColor:Ut}},[`${rt}-submenu-title`]:{"&:hover":{backgroundColor:nn},"&:active":{backgroundColor:Ut}}},[`${rt}-item-danger`]:{color:Wt,[`&${rt}-item:hover`]:{[`&:not(${rt}-item-selected):not(${rt}-submenu-selected)`]:{color:mn}},[`&${rt}-item:active`]:{background:At}},[`${rt}-item a`]:{"&, &:hover":{color:"inherit"}},[`${rt}-item-selected`]:{color:pt,[`&${rt}-item-danger`]:{color:lt},"a, a:hover":{color:"inherit"}},[`& ${rt}-item-selected`]:{backgroundColor:Ke,[`&${rt}-item-danger`]:{backgroundColor:Et}},[`${rt}-item, ${rt}-submenu-title`]:{[`&:not(${rt}-item-disabled):focus-visible`]:Object.assign({},et(dt))},[`&${rt}-submenu > ${rt}`]:{backgroundColor:sn},[`&${rt}-popup > ${rt}`]:{backgroundColor:Ht},[`&${rt}-horizontal`]:Object.assign(Object.assign({},ct==="dark"?{borderBottom:0}:{}),{[`> ${rt}-item, > ${rt}-submenu`]:{top:gt,marginTop:-gt,marginBottom:0,borderRadius:an,"&::after":{position:"absolute",insetInline:ot,bottom:0,borderBottom:`${Ye}px solid transparent`,transition:`border-color ${$e} ${Kt}`,content:'""'},"&:hover, &-active, &-open":{background:Un,"&::after":{borderBottomWidth:Ye,borderBottomColor:_n}},"&-selected":{color:_n,backgroundColor:hn,"&:hover":{backgroundColor:hn},"&::after":{borderBottomWidth:Ye,borderBottomColor:_n}}}}),[`&${rt}-root`]:{[`&${rt}-inline, &${rt}-vertical`]:{borderInlineEnd:`${gt}px ${We} ${st}`}},[`&${rt}-inline`]:{[`${rt}-sub${rt}-inline`]:{background:he},[`${rt}-item, ${rt}-submenu-title`]:gt&&we?{width:`calc(100% + ${gt}px)`}:{},[`${rt}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${we}px solid ${pt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${wt} ${Se}`,`opacity ${wt} ${Se}`].join(","),content:'""'},[`&${rt}-item-danger`]:{"&::after":{borderInlineEndColor:lt}}},[`${rt}-selected, ${rt}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${wt} ${Kt}`,`opacity ${wt} ${Kt}`].join(",")}}}}}};const Qt=dt=>{const{componentCls:ct,itemHeight:rt,itemMarginInline:Oe,padding:pt,menuArrowSize:ut,marginXS:Be,itemMarginBlock:he}=dt,Ke=pt+ut+Be;return{[`${ct}-item`]:{position:"relative",overflow:"hidden"},[`${ct}-item, ${ct}-submenu-title`]:{height:rt,lineHeight:`${rt}px`,paddingInline:pt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Oe,marginBlock:he,width:`calc(100% - ${Oe*2}px)`},[`> ${ct}-item, > ${ct}-submenu > ${ct}-submenu-title`]:{height:rt,lineHeight:`${rt}px`},[`${ct}-item-group-list ${ct}-submenu-title, ${ct}-submenu-title`]:{paddingInlineEnd:Ke}}};var it=dt=>{const{componentCls:ct,iconCls:rt,itemHeight:Oe,colorTextLightSolid:pt,dropdownWidth:ut,controlHeightLG:Be,motionDurationMid:he,motionEaseOut:Ke,paddingXL:Ye,itemMarginInline:we,fontSizeLG:gt,motionDurationSlow:$e,paddingXS:Kt,boxShadowSecondary:Se,collapsedWidth:ot,collapsedIconSize:wt}=dt,Le={height:Oe,lineHeight:`${Oe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ct]:{"&-inline, &-vertical":Object.assign({[`&${ct}-root`]:{boxShadow:"none"}},Qt(dt))},[`${ct}-submenu-popup`]:{[`${ct}-vertical`]:Object.assign(Object.assign({},Qt(dt)),{boxShadow:Se})}},{[`${ct}-submenu-popup ${ct}-vertical${ct}-sub`]:{minWidth:ut,maxHeight:`calc(100vh - ${Be*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ct}-inline`]:{width:"100%",[`&${ct}-root`]:{[`${ct}-item, ${ct}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${$e}`,`background ${$e}`,`padding ${he} ${Ke}`].join(","),[`> ${ct}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ct}-sub${ct}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ct}-submenu > ${ct}-submenu-title`]:Le,[`& ${ct}-item-group-title`]:{paddingInlineStart:Ye}},[`${ct}-item`]:Le}},{[`${ct}-inline-collapsed`]:{width:ot,[`&${ct}-root`]:{[`${ct}-item, ${ct}-submenu ${ct}-submenu-title`]:{[`> ${ct}-inline-collapsed-noicon`]:{fontSize:gt,textAlign:"center"}}},[`> ${ct}-item, > ${ct}-item-group > ${ct}-item-group-list > ${ct}-item, > ${ct}-item-group > ${ct}-item-group-list > ${ct}-submenu > ${ct}-submenu-title, > ${ct}-submenu > ${ct}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${gt/2}px - ${we}px)`,textOverflow:"clip",[` ${ct}-submenu-arrow, ${ct}-submenu-expand-icon `]:{opacity:0},[`${ct}-item-icon, ${rt}`]:{margin:0,fontSize:wt,lineHeight:`${Oe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ct}-item-icon, ${rt}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ct}-item-icon, ${rt}`]:{display:"none"},"a, a:hover":{color:pt}},[`${ct}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:Kt})}}]};const Bt=dt=>{const{componentCls:ct,motionDurationSlow:rt,motionDurationMid:Oe,motionEaseInOut:pt,motionEaseOut:ut,iconCls:Be,iconSize:he,iconMarginInlineEnd:Ke}=dt;return{[`${ct}-item, ${ct}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${rt}`,`background ${rt}`,`padding ${rt} ${pt}`].join(","),[`${ct}-item-icon, ${Be}`]:{minWidth:he,fontSize:he,transition:[`font-size ${Oe} ${ut}`,`margin ${rt} ${pt}`,`color ${rt}`].join(","),"+ span":{marginInlineStart:Ke,opacity:1,transition:[`opacity ${rt} ${pt}`,`margin ${rt}`,`color ${rt}`].join(",")}},[`${ct}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${ct}-item-only-child`]:{[`> ${Be}, > ${ct}-item-icon`]:{marginInlineEnd:0}}},[`${ct}-item-disabled, ${ct}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ct}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Mt=dt=>{const{componentCls:ct,motionDurationSlow:rt,motionEaseInOut:Oe,borderRadius:pt,menuArrowSize:ut,menuArrowOffset:Be}=dt;return{[`${ct}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:dt.margin,width:ut,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${rt} ${Oe}, opacity ${rt}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ut*.6,height:ut*.15,backgroundColor:"currentcolor",borderRadius:pt,transition:[`background ${rt} ${Oe}`,`transform ${rt} ${Oe}`,`top ${rt} ${Oe}`,`color ${rt} ${Oe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Be})`},"&::after":{transform:`rotate(-45deg) translateY(${Be})`}}}}},St=dt=>{const{antCls:ct,componentCls:rt,fontSize:Oe,motionDurationSlow:pt,motionDurationMid:ut,motionEaseInOut:Be,paddingXS:he,padding:Ke,colorSplit:Ye,lineWidth:we,zIndexPopup:gt,borderRadiusLG:$e,subMenuItemBorderRadius:Kt,menuArrowSize:Se,menuArrowOffset:ot,lineType:wt,menuPanelMaskInset:Le,groupTitleLineHeight:We,groupTitleFontSize:st}=dt;return[{"":{[`${rt}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${rt}-submenu-hidden`]:{display:"none"}},{[rt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(dt)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Oe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${pt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${rt}-item`]:{flex:"none"}},[`${rt}-item, ${rt}-submenu, ${rt}-submenu-title`]:{borderRadius:dt.itemBorderRadius},[`${rt}-item-group-title`]:{padding:`${he}px ${Ke}px`,fontSize:st,lineHeight:We,transition:`all ${pt}`},[`&-horizontal ${rt}-submenu`]:{transition:[`border-color ${pt} ${Be}`,`background ${pt} ${Be}`].join(",")},[`${rt}-submenu, ${rt}-submenu-inline`]:{transition:[`border-color ${pt} ${Be}`,`background ${pt} ${Be}`,`padding ${ut} ${Be}`].join(",")},[`${rt}-submenu ${rt}-sub`]:{cursor:"initial",transition:[`background ${pt} ${Be}`,`padding ${pt} ${Be}`].join(",")},[`${rt}-title-content`]:{transition:`color ${pt}`},[`${rt}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${rt}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ye,borderStyle:wt,borderWidth:0,borderTopWidth:we,marginBlock:we,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Bt(dt)),{[`${rt}-item-group`]:{[`${rt}-item-group-list`]:{margin:0,padding:0,[`${rt}-item, ${rt}-submenu-title`]:{paddingInline:`${Oe*2}px ${Ke}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:gt,borderRadius:$e,boxShadow:"none",transformOrigin:"0 0",[`&${rt}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Le}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Le},"\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:dt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:dt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:dt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:dt.paddingXS},[`> ${rt}`]:Object.assign(Object.assign(Object.assign({borderRadius:$e},Bt(dt)),Mt(dt)),{[`${rt}-item, ${rt}-submenu > ${rt}-submenu-title`]:{borderRadius:Kt},[`${rt}-submenu-title::after`]:{transition:`transform ${pt} ${Be}`}})}}),Mt(dt)),{[`&-inline-collapsed ${rt}-submenu-arrow, &-inline ${rt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ot})`},"&::after":{transform:`rotate(45deg) translateX(-${ot})`}},[`${rt}-submenu-open${rt}-submenu-inline > ${rt}-submenu-title > ${rt}-submenu-arrow`]:{transform:`translateY(-${Se*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ot})`},"&::before":{transform:`rotate(45deg) translateX(${ot})`}}})},{[`${ct}-layout-header`]:{[rt]:{lineHeight:"inherit"}}}]};var cn=(dt,ct)=>(0,ft.Z)("Menu",Oe=>{if(ct===!1)return[];const{colorBgElevated:pt,colorPrimary:ut,colorTextLightSolid:Be,controlHeightLG:he,fontSize:Ke,darkItemColor:Ye,darkDangerItemColor:we,darkItemBg:gt,darkSubMenuItemBg:$e,darkItemSelectedColor:Kt,darkItemSelectedBg:Se,darkDangerItemSelectedBg:ot,darkItemHoverBg:wt,darkGroupTitleColor:Le,darkItemHoverColor:We,darkItemDisabledColor:st,darkDangerItemHoverColor:Ft,darkDangerItemSelectedColor:Wt,darkDangerItemActiveBg:mn}=Oe,lt=Ke/7*5,At=(0,De.TS)(Oe,{menuArrowSize:lt,menuHorizontalHeight:he*1.15,menuArrowOffset:`${lt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:pt}),Et=(0,De.TS)(At,{itemColor:Ye,itemHoverColor:We,groupTitleColor:Le,itemSelectedColor:Kt,itemBg:gt,popupBg:gt,subMenuItemBg:$e,itemActiveBg:"transparent",itemSelectedBg:Se,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:wt,itemDisabledColor:st,dangerItemColor:we,dangerItemHoverColor:Ft,dangerItemSelectedColor:Wt,dangerItemActiveBg:mn,dangerItemSelectedBg:ot,menuSubMenuBg:$e,horizontalItemSelectedColor:Be,horizontalItemSelectedBg:ut});return[St(At),je(At),it(At),Rt(At,"light"),Rt(Et,"dark"),nt(At),(0,Ee.Z)(At),(0,Ae.oN)(At,"slide-up"),(0,Ae.oN)(At,"slide-down"),(0,Ze._y)(At,"zoom-big")]},Oe=>{const{colorPrimary:pt,colorError:ut,colorTextDisabled:Be,colorErrorBg:he,colorText:Ke,colorTextDescription:Ye,colorBgContainer:we,colorFillAlter:gt,colorFillContent:$e,lineWidth:Kt,lineWidthBold:Se,controlItemBgActive:ot,colorBgTextHover:wt,controlHeightLG:Le,lineHeight:We,colorBgElevated:st,marginXXS:Ft,padding:Wt,fontSize:mn,controlHeightSM:lt,fontSizeLG:At,colorTextLightSolid:Et,colorErrorHover:nn}=Oe,Ut=new Pe.C(Et).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Oe.zIndexPopupBase+50,radiusItem:Oe.borderRadiusLG,itemBorderRadius:Oe.borderRadiusLG,radiusSubMenuItem:Oe.borderRadiusSM,subMenuItemBorderRadius:Oe.borderRadiusSM,colorItemText:Ke,itemColor:Ke,colorItemTextHover:Ke,itemHoverColor:Ke,colorItemTextHoverHorizontal:pt,horizontalItemHoverColor:pt,colorGroupTitle:Ye,groupTitleColor:Ye,colorItemTextSelected:pt,itemSelectedColor:pt,colorItemTextSelectedHorizontal:pt,horizontalItemSelectedColor:pt,colorItemBg:we,itemBg:we,colorItemBgHover:wt,itemHoverBg:wt,colorItemBgActive:$e,itemActiveBg:ot,colorSubItemBg:gt,subMenuItemBg:gt,colorItemBgSelected:ot,itemSelectedBg:ot,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Se,activeBarHeight:Se,colorActiveBarBorderSize:Kt,activeBarBorderWidth:Kt,colorItemTextDisabled:Be,itemDisabledColor:Be,colorDangerItemText:ut,dangerItemColor:ut,colorDangerItemTextHover:ut,dangerItemHoverColor:ut,colorDangerItemTextSelected:ut,dangerItemSelectedColor:ut,colorDangerItemBgActive:he,dangerItemActiveBg:he,colorDangerItemBgSelected:he,dangerItemSelectedBg:he,itemMarginInline:Oe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Le,groupTitleLineHeight:We,collapsedWidth:Le*2,popupBg:st,itemMarginBlock:Ft,itemPaddingInline:Wt,horizontalLineHeight:`${Le*1.15}px`,iconSize:mn,iconMarginInlineEnd:lt-mn,collapsedIconSize:At,groupTitleFontSize:mn,darkItemDisabledColor:new Pe.C(Et).setAlpha(.25).toRgbString(),darkItemColor:Ut,darkDangerItemColor:ut,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Et,darkItemSelectedBg:pt,darkDangerItemSelectedBg:ut,darkItemHoverBg:"transparent",darkGroupTitleColor:Ut,darkItemHoverColor:Et,darkDangerItemHoverColor:nn,darkDangerItemSelectedColor:Et,darkDangerItemActiveBg:ut}},{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"]]})(dt),Fe=function(dt,ct){var rt={};for(var Oe in dt)Object.prototype.hasOwnProperty.call(dt,Oe)&&ct.indexOf(Oe)<0&&(rt[Oe]=dt[Oe]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Oe=Object.getOwnPropertySymbols(dt);pt{var rt,Oe;const pt=se.useContext(ae.Z),ut=pt||{},{getPrefixCls:Be,getPopupContainer:he,direction:Ke,menu:Ye}=se.useContext(Ie.E_),we=Be(),{prefixCls:gt,className:$e,style:Kt,theme:Se="light",expandIcon:ot,_internalDisableMenuItemTitleTooltip:wt,inlineCollapsed:Le,siderCollapsed:We,items:st,children:Ft,rootClassName:Wt,mode:mn,selectable:lt,onClick:At,overflowedIndicatorPopupClassName:Et}=dt,nn=Fe(dt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ut=(0,ze.Z)(nn,["collapsedWidth"]),sn=fe(st)||Ft;(rt=ut.validator)===null||rt===void 0||rt.call(ut,{mode:mn});const _n=(0,ne.useEvent)(function(){var Ia;At==null||At.apply(void 0,arguments),(Ia=ut.onClick)===null||Ia===void 0||Ia.call(ut)}),hn=ut.mode||mn,an=lt!=null?lt:ut.selectable,Un=se.useMemo(()=>We!==void 0?We:Le,[Le,We]),Ht={horizontal:{motionName:`${we}-slide-up`},inline:(0,oe.Z)(we),other:{motionName:`${we}-zoom-big`}},Zt=Be("menu",gt||ut.prefixCls),[qt,wa]=cn(Zt,!pt),qn=be()(`${Zt}-${Se}`,Ye==null?void 0:Ye.className,$e);let Tn;if(typeof ot=="function")Tn=ot;else if(ot===null||ot===!1)Tn=null;else if(ut.expandIcon===null||ut.expandIcon===!1)Tn=null;else{const Ia=ot!=null?ot:ut.expandIcon;Tn=(0,ye.Tm)(Ia,{className:be()(`${Zt}-submenu-expand-icon`,(0,ye.l$)(Ia)?(Oe=Ia.props)===null||Oe===void 0?void 0:Oe.className:"")})}const ja=se.useMemo(()=>({prefixCls:Zt,inlineCollapsed:Un||!1,direction:Ke,firstLevel:!0,theme:Se,mode:hn,disableMenuItemTitleTooltip:wt}),[Zt,Un,Ke,wt,Se]);return qt(se.createElement(ae.Z.Provider,{value:null},se.createElement(a.Provider,{value:ja},se.createElement(z.ZP,Object.assign({getPopupContainer:he,overflowedIndicator:se.createElement(ee.Z,null),overflowedIndicatorPopupClassName:be()(Zt,`${Zt}-${Se}`,Et),mode:hn,selectable:an,onClick:_n},Ut,{inlineCollapsed:Un,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),Kt),className:qn,prefixCls:Zt,direction:Ke,defaultMotions:Ht,expandIcon:Tn,ref:ct,rootClassName:be()(Wt,wa)}),sn))))});const vt=(0,se.forwardRef)((dt,ct)=>{const rt=(0,se.useRef)(null),Oe=se.useContext(ve.D);return(0,se.useImperativeHandle)(ct,()=>({menu:rt.current,focus:pt=>{var ut;(ut=rt.current)===null||ut===void 0||ut.focus(pt)}})),se.createElement(Yt,Object.assign({ref:rt},dt,Oe))});vt.Item=b,vt.SubMenu=x,vt.Divider=He,vt.ItemGroup=z.BW;var tn=vt},58421:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return ut}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(he,Ke){return se.createElement(be.Z,(0,z.Z)({},he,{ref:Ke,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie,He=te(49198),ke=te(33853),ze=te(38819),Me=te(92310),ye=te.n(Me),re=te(400),a=te(33708),y=te(6909),b=te(4771),E=te(9427),x=te(25440),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(Be){(0,E.Z)(Ke,Be);var he=(0,x.Z)(Ke);function Ke(){var Ye;(0,y.Z)(this,Ke);for(var we=arguments.length,gt=new Array(we),$e=0;$e=0||Kt.relatedTarget.className.indexOf("".concat(Le,"-item"))>=0))&&wt(Ye.getValidValue()))},Ye.go=function(Kt){var Se=Ye.state.goInputText;Se!==""&&(Kt.keyCode===oe.ENTER||Kt.type==="click")&&(Ye.setState({goInputText:""}),Ye.props.quickGo(Ye.getValidValue()))},Ye}return(0,b.Z)(Ke,[{key:"getPageSizeOptions",value:function(){var we=this.props,gt=we.pageSize,$e=we.pageSizeOptions;return $e.some(function(Kt){return Kt.toString()===gt.toString()})?$e:$e.concat([gt.toString()]).sort(function(Kt,Se){var ot=Number.isNaN(Number(Kt))?0:Number(Kt),wt=Number.isNaN(Number(Se))?0:Number(Se);return ot-wt})}},{key:"render",value:function(){var we=this,gt=this.props,$e=gt.pageSize,Kt=gt.locale,Se=gt.rootPrefixCls,ot=gt.changeSize,wt=gt.quickGo,Le=gt.goButton,We=gt.selectComponentClass,st=gt.buildOptionText,Ft=gt.selectPrefixCls,Wt=gt.disabled,mn=this.state.goInputText,lt="".concat(Se,"-options"),At=We,Et=null,nn=null,Ut=null;if(!ot&&!wt)return null;var sn=this.getPageSizeOptions();if(ot&&At){var _n=sn.map(function(hn,an){return se.createElement(At.Option,{key:an,value:hn.toString()},(st||we.buildOptionText)(hn))});Et=se.createElement(At,{disabled:Wt,prefixCls:Ft,showSearch:!1,className:"".concat(lt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:($e||sn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(an){return an.parentNode},"aria-label":Kt.page_size,defaultOpen:!1},_n)}return wt&&(Le&&(Ut=typeof Le=="boolean"?se.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Wt,className:"".concat(lt,"-quick-jumper-button")},Kt.jump_to_confirm):se.createElement("span",{onClick:this.go,onKeyUp:this.go},Le)),nn=se.createElement("div",{className:"".concat(lt,"-quick-jumper")},Kt.jump_to,se.createElement("input",{disabled:Wt,type:"text",value:mn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Kt.page}),Kt.page,Ut)),se.createElement("li",{className:"".concat(lt)},Et,nn)}}]),Ke}(se.Component);ue.defaultProps={pageSizeOptions:["10","20","50","100"]};var me=ue,fe=function(he){var Ke,Ye=he.rootPrefixCls,we=he.page,gt=he.active,$e=he.className,Kt=he.showTitle,Se=he.onClick,ot=he.onKeyPress,wt=he.itemRender,Le="".concat(Ye,"-item"),We=ye()(Le,"".concat(Le,"-").concat(we),(Ke={},(0,re.Z)(Ke,"".concat(Le,"-active"),gt),(0,re.Z)(Ke,"".concat(Le,"-disabled"),!we),(0,re.Z)(Ke,he.className,$e),Ke)),st=function(){Se(we)},Ft=function(lt){ot(lt,Se,we)},Wt=wt(we,"page",se.createElement("a",{rel:"nofollow"},we));return Wt?se.createElement("li",{title:Kt?we.toString():null,className:We,onClick:st,onKeyPress:Ft,tabIndex:0},Wt):null},Pe=fe;function xe(){}function Ee(Be){var he=Number(Be);return typeof he=="number"&&!Number.isNaN(he)&&isFinite(he)&&Math.floor(he)===he}var Ae=function(he,Ke,Ye){return Ye};function Ze(Be,he,Ke){var Ye=typeof Be=="undefined"?he.pageSize:Be;return Math.floor((Ke.total-1)/Ye)+1}var ft=function(Be){(0,E.Z)(Ke,Be);var he=(0,x.Z)(Ke);function Ke(Ye){var we;(0,y.Z)(this,Ke),we=he.call(this,Ye),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(ot,wt){var Le=we.props.prefixCls,We=ot||se.createElement("button",{type:"button","aria-label":wt,className:"".concat(Le,"-item-link")});return typeof ot=="function"&&(We=se.createElement(ot,(0,a.Z)({},we.props))),We},we.isValid=function(ot){var wt=we.props.total;return Ee(ot)&&ot!==we.state.current&&Ee(wt)&&wt>0},we.shouldDisplayQuickJumper=function(){var ot=we.props,wt=ot.showQuickJumper,Le=ot.total,We=we.state.pageSize;return Le<=We?!1:wt},we.handleKeyDown=function(ot){(ot.keyCode===oe.ARROW_UP||ot.keyCode===oe.ARROW_DOWN)&&ot.preventDefault()},we.handleKeyUp=function(ot){var wt=we.getValidValue(ot),Le=we.state.currentInputValue;wt!==Le&&we.setState({currentInputValue:wt}),ot.keyCode===oe.ENTER?we.handleChange(wt):ot.keyCode===oe.ARROW_UP?we.handleChange(wt-1):ot.keyCode===oe.ARROW_DOWN&&we.handleChange(wt+1)},we.handleBlur=function(ot){var wt=we.getValidValue(ot);we.handleChange(wt)},we.changePageSize=function(ot){var wt=we.state.current,Le=Ze(ot,we.state,we.props);wt=wt>Le?Le:wt,Le===0&&(wt=we.state.current),typeof ot=="number"&&("pageSize"in we.props||we.setState({pageSize:ot}),"current"in we.props||we.setState({current:wt,currentInputValue:wt})),we.props.onShowSizeChange(wt,ot),"onChange"in we.props&&we.props.onChange&&we.props.onChange(wt,ot)},we.handleChange=function(ot){var wt=we.props,Le=wt.disabled,We=wt.onChange,st=we.state,Ft=st.pageSize,Wt=st.current,mn=st.currentInputValue;if(we.isValid(ot)&&!Le){var lt=Ze(void 0,we.state,we.props),At=ot;return ot>lt?At=lt:ot<1&&(At=1),"current"in we.props||we.setState({current:At}),At!==mn&&we.setState({currentInputValue:At}),We(At,Ft),At}return Wt},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.current2?Le-2:0),st=2;st=$e?Se=$e:Se=Number(gt),Se}},{key:"getShowSizeChanger",value:function(){var we=this.props,gt=we.showSizeChanger,$e=we.total,Kt=we.totalBoundaryShowSizeChanger;return typeof gt!="undefined"?gt:$e>Kt}},{key:"render",value:function(){var we=this.props,gt=we.prefixCls,$e=we.className,Kt=we.style,Se=we.disabled,ot=we.hideOnSinglePage,wt=we.total,Le=we.locale,We=we.showQuickJumper,st=we.showLessItems,Ft=we.showTitle,Wt=we.showTotal,mn=we.simple,lt=we.itemRender,At=we.showPrevNextJumpers,Et=we.jumpPrevIcon,nn=we.jumpNextIcon,Ut=we.selectComponentClass,sn=we.selectPrefixCls,_n=we.pageSizeOptions,hn=this.state,an=hn.current,Un=hn.pageSize,Ht=hn.currentInputValue;if(ot===!0&&wt<=Un)return null;var Zt=Ze(void 0,this.state,this.props),qt=[],wa=null,qn=null,Tn=null,ja=null,Ia=null,Dr=We&&We.goButton,yr=st?1:2,Zn=an-1>0?an-1:0,yt=an+1wt?wt:an*Un]));if(mn){Dr&&(typeof Dr=="boolean"?Ia=se.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Le.jump_to_confirm):Ia=se.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Dr),Ia=se.createElement("li",{title:Ft?"".concat(Le.jump_to).concat(an,"/").concat(Zt):null,className:"".concat(gt,"-simple-pager")},Ia));var zn=this.renderPrev(Zn);return se.createElement("ul",(0,z.Z)({className:ye()(gt,"".concat(gt,"-simple"),(0,re.Z)({},"".concat(gt,"-disabled"),Se),$e),style:Kt,ref:this.paginationNode},It),Lt,zn?se.createElement("li",{title:Ft?Le.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ye()("".concat(gt,"-prev"),(0,re.Z)({},"".concat(gt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},zn):null,se.createElement("li",{title:Ft?"".concat(an,"/").concat(Zt):null,className:"".concat(gt,"-simple-pager")},se.createElement("input",{type:"text",value:Ht,disabled:Se,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),se.createElement("span",{className:"".concat(gt,"-slash")},"/"),Zt),se.createElement("li",{title:Ft?Le.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ye()("".concat(gt,"-next"),(0,re.Z)({},"".concat(gt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(yt)),Ia)}if(Zt<=3+yr*2){var kt={locale:Le,rootPrefixCls:gt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ft,itemRender:lt};Zt||qt.push(se.createElement(Pe,(0,z.Z)({},kt,{key:"noPager",page:1,className:"".concat(gt,"-item-disabled")})));for(var ma=1;ma<=Zt;ma+=1){var ao=an===ma;qt.push(se.createElement(Pe,(0,z.Z)({},kt,{key:ma,page:ma,active:ao})))}}else{var pr=st?Le.prev_3:Le.prev_5,_r=st?Le.next_3:Le.next_5,qr=lt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Et,"prev page")),_a=lt(this.getJumpNextPage(),"jump-next",this.getItemIcon(nn,"next page"));At&&(wa=qr?se.createElement("li",{title:Ft?pr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ye()("".concat(gt,"-jump-prev"),(0,re.Z)({},"".concat(gt,"-jump-prev-custom-icon"),!!Et))},qr):null,qn=_a?se.createElement("li",{title:Ft?_r:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ye()("".concat(gt,"-jump-next"),(0,re.Z)({},"".concat(gt,"-jump-next-custom-icon"),!!nn))},_a):null),ja=se.createElement(Pe,{locale:Le,last:!0,rootPrefixCls:gt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Zt,page:Zt,active:!1,showTitle:Ft,itemRender:lt}),Tn=se.createElement(Pe,{locale:Le,rootPrefixCls:gt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ft,itemRender:lt});var Rn=Math.max(1,an-yr),sr=Math.min(an+yr,Zt);an-1<=yr&&(sr=1+yr*2),Zt-an<=yr&&(Rn=Zt-yr*2);for(var Ua=Rn;Ua<=sr;Ua+=1){var hr=an===Ua;qt.push(se.createElement(Pe,{locale:Le,rootPrefixCls:gt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ua,page:Ua,active:hr,showTitle:Ft,itemRender:lt}))}an-1>=yr*2&&an!==3&&(qt[0]=(0,se.cloneElement)(qt[0],{className:"".concat(gt,"-item-after-jump-prev")}),qt.unshift(wa)),Zt-an>=yr*2&&an!==Zt-2&&(qt[qt.length-1]=(0,se.cloneElement)(qt[qt.length-1],{className:"".concat(gt,"-item-before-jump-next")}),qt.push(qn)),Rn!==1&&qt.unshift(Tn),sr!==Zt&&qt.push(ja)}var tr=!this.hasPrev()||!Zt,mt=!this.hasNext()||!Zt,dn=this.renderPrev(Zn),rn=this.renderNext(yt);return se.createElement("ul",(0,z.Z)({className:ye()(gt,$e,(0,re.Z)({},"".concat(gt,"-disabled"),Se)),style:Kt,ref:this.paginationNode},It),Lt,dn?se.createElement("li",{title:Ft?Le.prev_page:null,onClick:this.prev,tabIndex:tr?null:0,onKeyPress:this.runIfEnterPrev,className:ye()("".concat(gt,"-prev"),(0,re.Z)({},"".concat(gt,"-disabled"),tr)),"aria-disabled":tr},dn):null,qt,rn?se.createElement("li",{title:Ft?Le.next_page:null,onClick:this.next,tabIndex:mt?null:0,onKeyPress:this.runIfEnterNext,className:ye()("".concat(gt,"-next"),(0,re.Z)({},"".concat(gt,"-disabled"),mt)),"aria-disabled":mt},rn):null,se.createElement(me,{disabled:Se,locale:Le,rootPrefixCls:gt,selectComponentClass:Ut,selectPrefixCls:sn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:an,pageSize:Un,pageSizeOptions:_n,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Dr}))}}],[{key:"getDerivedStateFromProps",value:function(we,gt){var $e={};if("current"in we&&($e.current=we.current,we.current!==gt.current&&($e.currentInputValue=$e.current)),"pageSize"in we&&we.pageSize!==gt.pageSize){var Kt=gt.current,Se=Ze(we.pageSize,gt,we);Kt=Kt>Se?Se:Kt,"current"in we||($e.current=Kt,$e.currentInputValue=Kt),$e.pageSize=we.pageSize}return $e}}]),Ke}(se.Component);ft.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:Ae,totalBoundaryShowSizeChanger:50};var De=ft,Ue=te(22075),je=te(36355),Ge=te(19716),nt=te(8628),et=te(9763),ht=te(57809);const Rt=Be=>se.createElement(ht.default,Object.assign({},Be,{showSearch:!0,size:"small"})),Qt=Be=>se.createElement(ht.default,Object.assign({},Be,{showSearch:!0,size:"middle"}));Rt.Option=ht.default.Option,Qt.Option=ht.default.Option;var Je=te(9937),it=te(17313),Bt=te(83116),Mt=te(37613);const St=Be=>{const{componentCls:he}=Be;return{[`${he}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${he}-item-link`]:{color:Be.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${he}-item-link`]:{color:Be.colorTextDisabled,cursor:"not-allowed"}}},[`&${he}-disabled`]:{cursor:"not-allowed",[`${he}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Be.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Be.colorBorder,backgroundColor:Be.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Be.itemActiveBgDisabled},a:{color:Be.itemActiveColorDisabled}}},[`${he}-item-link`]:{color:Be.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${he}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${he}-simple-pager`]:{color:Be.colorTextDisabled},[`${he}-jump-prev, ${he}-jump-next`]:{[`${he}-item-link-icon`]:{opacity:0},[`${he}-item-ellipsis`]:{opacity:1}}},[`&${he}-simple`]:{[`${he}-prev, ${he}-next`]:{[`&${he}-disabled ${he}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},cn=Be=>{const{componentCls:he}=Be;return{[`&${he}-mini ${he}-total-text, &${he}-mini ${he}-simple-pager`]:{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`},[`&${he}-mini ${he}-item`]:{minWidth:Be.itemSizeSM,height:Be.itemSizeSM,margin:0,lineHeight:`${Be.itemSizeSM-2}px`},[`&${he}-mini:not(${he}-disabled) ${he}-item:not(${he}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Be.colorBgTextHover},"&:active":{backgroundColor:Be.colorBgTextActive}},[`&${he}-mini ${he}-prev, &${he}-mini ${he}-next`]:{minWidth:Be.itemSizeSM,height:Be.itemSizeSM,margin:0,lineHeight:`${Be.itemSizeSM}px`},[`&${he}-mini:not(${he}-disabled)`]:{[`${he}-prev, ${he}-next`]:{[`&:hover ${he}-item-link`]:{backgroundColor:Be.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Be.colorBgTextActive},[`&${he}-disabled:hover ${he}-item-link`]:{backgroundColor:"transparent"}}},[` &${he}-mini ${he}-prev ${he}-item-link, &${he}-mini ${he}-next ${he}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`}},[`&${he}-mini ${he}-jump-prev, &${he}-mini ${he}-jump-next`]:{height:Be.itemSizeSM,marginInlineEnd:0,lineHeight:`${Be.itemSizeSM}px`},[`&${he}-mini ${he}-options`]:{marginInlineStart:Be.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Be.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Je.x0)(Be)),{width:Be.paginationMiniQuickJumperInputWidth,height:Be.controlHeightSM})}}}},Fe=Be=>{const{componentCls:he}=Be;return{[` &${he}-simple ${he}-prev, &${he}-simple ${he}-next `]:{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`,verticalAlign:"top",[`${he}-item-link`]:{height:Be.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Be.colorBgTextHover},"&:active":{backgroundColor:Be.colorBgTextActive},"&::after":{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`}}},[`&${he}-simple ${he}-simple-pager`]:{display:"inline-block",height:Be.itemSizeSM,marginInlineEnd:Be.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Be.marginXS,padding:`0 ${Be.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Be.itemInputBg,border:`${Be.lineWidth}px ${Be.lineType} ${Be.colorBorder}`,borderRadius:Be.borderRadius,outline:"none",transition:`border-color ${Be.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Be.colorPrimary},"&:focus":{borderColor:Be.colorPrimaryHover,boxShadow:`${Be.inputOutlineOffset}px 0 ${Be.controlOutlineWidth}px ${Be.controlOutline}`},"&[disabled]":{color:Be.colorTextDisabled,backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder,cursor:"not-allowed"}}}}},$t=Be=>{const{componentCls:he}=Be;return{[`${he}-jump-prev, ${he}-jump-next`]:{outline:0,[`${he}-item-container`]:{position:"relative",[`${he}-item-link-icon`]:{color:Be.colorPrimary,fontSize:Be.fontSizeSM,opacity:0,transition:`all ${Be.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${he}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Be.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Be.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Be.paginationEllipsisTextIndent,opacity:1,transition:`all ${Be.motionDurationMid}`}},"&:hover":{[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}}},[` ${he}-prev, ${he}-jump-prev, ${he}-jump-next `]:{marginInlineEnd:Be.marginXS},[` ${he}-prev, ${he}-next, ${he}-jump-prev, ${he}-jump-next `]:{display:"inline-block",minWidth:Be.itemSize,height:Be.itemSize,color:Be.colorText,fontFamily:Be.fontFamily,lineHeight:`${Be.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Be.borderRadius,cursor:"pointer",transition:`all ${Be.motionDurationMid}`},[`${he}-prev, ${he}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Be.colorText,cursor:"pointer",userSelect:"none"},[`${he}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Be.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Be.lineWidth}px ${Be.lineType} transparent`,borderRadius:Be.borderRadius,outline:"none",transition:`all ${Be.motionDurationMid}`},[`&:hover ${he}-item-link`]:{backgroundColor:Be.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Be.colorBgTextActive},[`&${he}-disabled:hover`]:{[`${he}-item-link`]:{backgroundColor:"transparent"}}},[`${he}-slash`]:{marginInlineEnd:Be.paginationSlashMarginInlineEnd,marginInlineStart:Be.paginationSlashMarginInlineStart},[`${he}-options`]:{display:"inline-block",marginInlineStart:Be.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Be.controlHeight,marginInlineStart:Be.marginXS,lineHeight:`${Be.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Je.ik)(Be)),{width:Be.controlHeightLG*1.25,height:Be.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Be.marginXS,marginInlineEnd:Be.marginXS})}}}},Yt=Be=>{const{componentCls:he}=Be;return{[`${he}-item`]:{display:"inline-block",minWidth:Be.itemSize,height:Be.itemSize,marginInlineEnd:Be.marginXS,fontFamily:Be.fontFamily,lineHeight:`${Be.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Be.lineWidth}px ${Be.lineType} transparent`,borderRadius:Be.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Be.paginationItemPaddingInline}px`,color:Be.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${he}-item-active)`]:{"&:hover":{transition:`all ${Be.motionDurationMid}`,backgroundColor:Be.colorBgTextHover},"&:active":{backgroundColor:Be.colorBgTextActive}},"&-active":{fontWeight:Be.fontWeightStrong,backgroundColor:Be.itemActiveBg,borderColor:Be.colorPrimary,a:{color:Be.colorPrimary},"&:hover":{borderColor:Be.colorPrimaryHover},"&:hover a":{color:Be.colorPrimaryHover}}}}},vt=Be=>{const{componentCls:he}=Be;return{[he]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,it.Wf)(Be)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${he}-total-text`]:{display:"inline-block",height:Be.itemSize,marginInlineEnd:Be.marginXS,lineHeight:`${Be.itemSize-2}px`,verticalAlign:"middle"}}),Yt(Be)),$t(Be)),Fe(Be)),cn(Be)),St(Be)),{[`@media only screen and (max-width: ${Be.screenLG}px)`]:{[`${he}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Be.screenSM}px)`]:{[`${he}-options`]:{display:"none"}}}),[`&${Be.componentCls}-rtl`]:{direction:"rtl"}}},tn=Be=>{const{componentCls:he}=Be;return{[`${he}${he}-disabled:not(${he}-mini)`]:{"&, &:hover":{[`${he}-item-link`]:{borderColor:Be.colorBorder}},"&:focus-visible":{[`${he}-item-link`]:{borderColor:Be.colorBorder}},[`${he}-item, ${he}-item-link`]:{backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder,[`&:hover:not(${he}-item-active)`]:{backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder,a:{color:Be.colorTextDisabled}},[`&${he}-item-active`]:{backgroundColor:Be.itemActiveBgDisabled}},[`${he}-prev, ${he}-next`]:{"&:hover button":{backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder,color:Be.colorTextDisabled},[`${he}-item-link`]:{backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder}}},[`${he}:not(${he}-mini)`]:{[`${he}-prev, ${he}-next`]:{"&:hover button":{borderColor:Be.colorPrimaryHover,backgroundColor:Be.itemBg},[`${he}-item-link`]:{backgroundColor:Be.itemLinkBg,borderColor:Be.colorBorder},[`&:hover ${he}-item-link`]:{borderColor:Be.colorPrimary,backgroundColor:Be.itemBg,color:Be.colorPrimary},[`&${he}-disabled`]:{[`${he}-item-link`]:{borderColor:Be.colorBorder,color:Be.colorTextDisabled}}},[`${he}-item`]:{backgroundColor:Be.itemBg,border:`${Be.lineWidth}px ${Be.lineType} ${Be.colorBorder}`,[`&:hover:not(${he}-item-active)`]:{borderColor:Be.colorPrimary,backgroundColor:Be.itemBg,a:{color:Be.colorPrimary}},"&-active":{borderColor:Be.colorPrimary}}}}},dt=Be=>{const{componentCls:he}=Be;return{[`${he}:not(${he}-disabled)`]:{[`${he}-item`]:Object.assign({},(0,it.Qy)(Be)),[`${he}-jump-prev, ${he}-jump-next`]:{"&:focus-visible":Object.assign({[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}},(0,it.oN)(Be))},[`${he}-prev, ${he}-next`]:{[`&:focus-visible ${he}-item-link`]:Object.assign({},(0,it.oN)(Be))}}}};var ct=(0,Bt.Z)("Pagination",Be=>{const he=(0,Mt.TS)(Be,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Be.marginXXS/2,paginationMiniQuickJumperInputWidth:Be.controlHeightLG*1.1,paginationItemPaddingInline:Be.marginXXS*1.5,paginationEllipsisLetterSpacing:Be.marginXXS/2,paginationSlashMarginInlineStart:Be.marginXXS,paginationSlashMarginInlineEnd:Be.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Je.e5)(Be),(0,Je.TM)(Be));return[vt(he),dt(he),Be.wireframe&&tn(he)]},Be=>({itemBg:Be.colorBgContainer,itemSize:Be.controlHeight,itemSizeSM:Be.controlHeightSM,itemActiveBg:Be.colorBgContainer,itemLinkBg:Be.colorBgContainer,itemActiveColorDisabled:Be.colorTextDisabled,itemActiveBgDisabled:Be.controlItemBgActiveDisabled,itemInputBg:Be.colorBgContainer,miniOptionsSizeChangerTop:0})),rt=function(Be,he){var Ke={};for(var Ye in Be)Object.prototype.hasOwnProperty.call(Be,Ye)&&he.indexOf(Ye)<0&&(Ke[Ye]=Be[Ye]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Ye=Object.getOwnPropertySymbols(Be);we{const{prefixCls:he,selectPrefixCls:Ke,className:Ye,rootClassName:we,style:gt,size:$e,locale:Kt,selectComponentClass:Se,responsive:ot,showSizeChanger:wt}=Be,Le=rt(Be,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:We}=(0,nt.Z)(ot),{getPrefixCls:st,direction:Ft,pagination:Wt={}}=se.useContext(je.E_),mn=st("pagination",he),[lt,At]=ct(mn),Et=wt!=null?wt:Wt.showSizeChanger,nn=se.useMemo(()=>{const Zt=se.createElement("span",{className:`${mn}-item-ellipsis`},"\u2022\u2022\u2022"),qt=se.createElement("button",{className:`${mn}-item-link`,type:"button",tabIndex:-1},Ft==="rtl"?se.createElement(ze.Z,null):se.createElement(ke.Z,null)),wa=se.createElement("button",{className:`${mn}-item-link`,type:"button",tabIndex:-1},Ft==="rtl"?se.createElement(ke.Z,null):se.createElement(ze.Z,null)),qn=se.createElement("a",{className:`${mn}-item-link`},se.createElement("div",{className:`${mn}-item-container`},Ft==="rtl"?se.createElement(He.Z,{className:`${mn}-item-link-icon`}):se.createElement(qe,{className:`${mn}-item-link-icon`}),Zt)),Tn=se.createElement("a",{className:`${mn}-item-link`},se.createElement("div",{className:`${mn}-item-container`},Ft==="rtl"?se.createElement(qe,{className:`${mn}-item-link-icon`}):se.createElement(He.Z,{className:`${mn}-item-link-icon`}),Zt));return{prevIcon:qt,nextIcon:wa,jumpPrevIcon:qn,jumpNextIcon:Tn}},[Ft,mn]),[Ut]=(0,et.Z)("Pagination",Ue.Z),sn=Object.assign(Object.assign({},Ut),Kt),_n=(0,Ge.Z)($e),hn=_n==="small"||!!(We&&!_n&&ot),an=st("select",Ke),Un=ye()({[`${mn}-mini`]:hn,[`${mn}-rtl`]:Ft==="rtl"},Wt==null?void 0:Wt.className,Ye,we,At),Ht=Object.assign(Object.assign({},Wt==null?void 0:Wt.style),gt);return lt(se.createElement(De,Object.assign({},nn,Le,{style:Ht,prefixCls:mn,selectPrefixCls:an,className:Un,selectComponentClass:Se||(hn?Rt:Qt),locale:sn,showSizeChanger:Et})))},ut=pt},93948:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return wt}});var z=te(59301),se=te(29679),ve=te(40001),Ne=te(19248),be=te(99267),Ie=te(92310),ie=te.n(Ie),qe=te(2738),He=te(36355),ke=te(92413),ze=te(33708),Me=te(37061),ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},re=function(){var We=(0,z.useRef)([]),st=(0,z.useRef)(null);return(0,z.useEffect)(function(){var Ft=Date.now(),Wt=!1;We.current.forEach(function(mn){if(mn){Wt=!0;var lt=mn.style;lt.transitionDuration=".3s, .3s, .3s, .06s",st.current&&Ft-st.current<100&&(lt.transitionDuration="0s, 0s")}}),Wt&&(st.current=Date.now())}),We.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(We){var st=(0,ze.Z)((0,ze.Z)({},ye),We),Ft=st.className,Wt=st.percent,mn=st.prefixCls,lt=st.strokeColor,At=st.strokeLinecap,Et=st.strokeWidth,nn=st.style,Ut=st.trailColor,sn=st.trailWidth,_n=st.transition,hn=(0,Me.Z)(st,a);delete hn.gapPosition;var an=Array.isArray(Wt)?Wt:[Wt],Un=Array.isArray(lt)?lt:[lt],Ht=re(),Zt=Et/2,qt=100-Et/2,wa="M ".concat(At==="round"?Zt:0,",").concat(Zt,` L `).concat(At==="round"?qt:100,",").concat(Zt),qn="0 0 100 ".concat(Et),Tn=0;return z.createElement("svg",(0,ke.Z)({className:ie()("".concat(mn,"-line"),Ft),viewBox:qn,preserveAspectRatio:"none",style:nn},hn),z.createElement("path",{className:"".concat(mn,"-line-trail"),d:wa,strokeLinecap:At,stroke:Ut,strokeWidth:sn||Et,fillOpacity:"0"}),an.map(function(ja,Ia){var Dr=1;switch(At){case"round":Dr=1-Et/100;break;case"square":Dr=1-Et/2/100;break;default:Dr=1;break}var yr={strokeDasharray:"".concat(ja*Dr,"px, 100px"),strokeDashoffset:"-".concat(Tn,"px"),transition:_n||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Zn=Un[Ia]||Un[Un.length-1];return Tn+=ja,z.createElement("path",{key:Ia,className:"".concat(mn,"-line-path"),d:wa,strokeLinecap:At,stroke:Zn,strokeWidth:Et,fillOpacity:"0",ref:function(It){Ht[Ia]=It},style:yr})}))},b=y,E=te(39559),x=te(33606),ee=te(47273),ne=0,oe=(0,ee.Z)();function ae(){var Le;return oe?(Le=ne,ne+=1):Le="TEST_OR_SSR",Le}var ue=function(Le){var We=z.useState(),st=(0,x.Z)(We,2),Ft=st[0],Wt=st[1];return z.useEffect(function(){Wt("rc_progress_".concat(ae()))},[]),Le||Ft},me=function(We){var st=We.bg,Ft=We.children;return z.createElement("div",{style:{width:"100%",height:"100%",background:st}},Ft)};function fe(Le,We){return Object.keys(Le).map(function(st){var Ft=parseFloat(st),Wt="".concat(Math.floor(Ft*We),"%");return"".concat(Le[st]," ").concat(Wt)})}var Pe=z.forwardRef(function(Le,We){var st=Le.prefixCls,Ft=Le.color,Wt=Le.gradientId,mn=Le.radius,lt=Le.style,At=Le.ptg,Et=Le.strokeLinecap,nn=Le.strokeWidth,Ut=Le.size,sn=Le.gapDegree,_n=Ft&&(0,E.Z)(Ft)==="object",hn=_n?"#FFF":void 0,an=Ut/2,Un=z.createElement("circle",{className:"".concat(st,"-circle-path"),r:mn,cx:an,cy:an,stroke:hn,strokeLinecap:Et,strokeWidth:nn,opacity:At===0?0:1,style:lt,ref:We});if(!_n)return Un;var Ht="".concat(Wt,"-conic"),Zt=sn?"".concat(180+sn/2,"deg"):"0deg",qt=fe(Ft,(360-sn)/360),wa=fe(Ft,1),qn="conic-gradient(from ".concat(Zt,", ").concat(qt.join(", "),")"),Tn="linear-gradient(to ".concat(sn?"bottom":"top",", ").concat(wa.join(", "),")");return z.createElement(z.Fragment,null,z.createElement("mask",{id:Ht},Un),z.createElement("foreignObject",{x:0,y:0,width:Ut,height:Ut,mask:"url(#".concat(Ht,")")},z.createElement(me,{bg:Tn},z.createElement(me,{bg:qn}))))}),xe=Pe,Ee=100,Ae=function(We,st,Ft,Wt,mn,lt,At,Et,nn,Ut){var sn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,_n=Ft/100*360*((360-lt)/360),hn=lt===0?0:{bottom:0,top:180,left:90,right:-90}[At],an=(100-Wt)/100*st;nn==="round"&&Wt!==100&&(an+=Ut/2,an>=st&&(an=st-.01));var Un=Ee/2;return{stroke:typeof Et=="string"?Et:void 0,strokeDasharray:"".concat(st,"px ").concat(We),strokeDashoffset:an+sn,transform:"rotate(".concat(mn+_n+hn,"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 ft(Le){var We=Le!=null?Le:[];return Array.isArray(We)?We:[We]}var De=function(We){var st=(0,ze.Z)((0,ze.Z)({},ye),We),Ft=st.id,Wt=st.prefixCls,mn=st.steps,lt=st.strokeWidth,At=st.trailWidth,Et=st.gapDegree,nn=Et===void 0?0:Et,Ut=st.gapPosition,sn=st.trailColor,_n=st.strokeLinecap,hn=st.style,an=st.className,Un=st.strokeColor,Ht=st.percent,Zt=(0,Me.Z)(st,Ze),qt=Ee/2,wa=ue(Ft),qn="".concat(wa,"-gradient"),Tn=qt-lt/2,ja=Math.PI*2*Tn,Ia=nn>0?90+nn/2:-90,Dr=ja*((360-nn)/360),yr=(0,E.Z)(mn)==="object"?mn:{count:mn,space:2},Zn=yr.count,yt=yr.space,It=ft(Ht),Lt=ft(Un),zn=Lt.find(function(_a){return _a&&(0,E.Z)(_a)==="object"}),kt=zn&&(0,E.Z)(zn)==="object",ma=kt?"butt":_n,ao=Ae(ja,Dr,0,100,Ia,nn,Ut,sn,ma,lt),pr=re(),_r=function(){var Rn=0;return It.map(function(sr,Ua){var hr=Lt[Ua]||Lt[Lt.length-1],tr=Ae(ja,Dr,Rn,sr,Ia,nn,Ut,hr,ma,lt);return Rn+=sr,z.createElement(xe,{key:Ua,color:hr,ptg:sr,radius:Tn,prefixCls:Wt,gradientId:qn,style:tr,strokeLinecap:ma,strokeWidth:lt,gapDegree:nn,ref:function(dn){pr[Ua]=dn},size:Ee})}).reverse()},qr=function(){var Rn=Math.round(Zn*(It[0]/100)),sr=100/Zn,Ua=0;return new Array(Zn).fill(null).map(function(hr,tr){var mt=tr<=Rn-1?Lt[0]:sn,dn=mt&&(0,E.Z)(mt)==="object"?"url(#".concat(qn,")"):void 0,rn=Ae(ja,Dr,Ua,sr,Ia,nn,Ut,mt,"butt",lt,yt);return Ua+=(Dr-rn.strokeDashoffset+yt)*100/Dr,z.createElement("circle",{key:tr,className:"".concat(Wt,"-circle-path"),r:Tn,cx:qt,cy:qt,stroke:dn,strokeWidth:lt,opacity:1,style:rn,ref:function(Nn){pr[tr]=Nn}})})};return z.createElement("svg",(0,ke.Z)({className:ie()("".concat(Wt,"-circle"),an),viewBox:"0 0 ".concat(Ee," ").concat(Ee),style:hn,id:Ft,role:"presentation"},Zt),!Zn&&z.createElement("circle",{className:"".concat(Wt,"-circle-trail"),r:Tn,cx:qt,cy:qt,stroke:sn,strokeLinecap:ma,strokeWidth:At||lt,style:ao}),Zn?qr():_r())},Ue=De,je={Line:b,Circle:Ue},Ge=te(6848),nt=te(93398);function et(Le){return!Le||Le<0?0:Le>100?100:Le}function ht(Le){let{success:We,successPercent:st}=Le,Ft=st;return We&&"progress"in We&&(Ft=We.progress),We&&"percent"in We&&(Ft=We.percent),Ft}const Rt=Le=>{let{percent:We,success:st,successPercent:Ft}=Le;const Wt=et(ht({success:st,successPercent:Ft}));return[Wt,et(et(We)-Wt)]},Qt=Le=>{let{success:We={},strokeColor:st}=Le;const{strokeColor:Ft}=We;return[Ft||nt.presetPrimaryColors.green,st||null]},Je=(Le,We,st)=>{var Ft,Wt,mn,lt;let At=-1,Et=-1;if(We==="step"){const nn=st.steps,Ut=st.strokeWidth;typeof Le=="string"||typeof Le=="undefined"?(At=Le==="small"?2:14,Et=Ut!=null?Ut:8):typeof Le=="number"?[At,Et]=[Le,Le]:[At=14,Et=8]=Le,At*=nn}else if(We==="line"){const nn=st==null?void 0:st.strokeWidth;typeof Le=="string"||typeof Le=="undefined"?Et=nn||(Le==="small"?6:8):typeof Le=="number"?[At,Et]=[Le,Le]:[At=-1,Et=8]=Le}else(We==="circle"||We==="dashboard")&&(typeof Le=="string"||typeof Le=="undefined"?[At,Et]=Le==="small"?[60,60]:[120,120]:typeof Le=="number"?[At,Et]=[Le,Le]:(At=(Wt=(Ft=Le[0])!==null&&Ft!==void 0?Ft:Le[1])!==null&&Wt!==void 0?Wt:120,Et=(lt=(mn=Le[0])!==null&&mn!==void 0?mn:Le[1])!==null&<!==void 0?lt:120));return[At,Et]},it=3,Bt=Le=>it/Le*100;var St=Le=>{const{prefixCls:We,trailColor:st=null,strokeLinecap:Ft="round",gapPosition:Wt,gapDegree:mn,width:lt=120,type:At,children:Et,success:nn,size:Ut=lt}=Le,[sn,_n]=Je(Ut,"circle");let{strokeWidth:hn}=Le;hn===void 0&&(hn=Math.max(Bt(sn),6));const an={width:sn,height:_n,fontSize:sn*.15+6},Un=z.useMemo(()=>{if(mn||mn===0)return mn;if(At==="dashboard")return 75},[mn,At]),Ht=Wt||At==="dashboard"&&"bottom"||void 0,Zt=Object.prototype.toString.call(Le.strokeColor)==="[object Object]",qt=Qt({success:nn,strokeColor:Le.strokeColor}),wa=ie()(`${We}-inner`,{[`${We}-circle-gradient`]:Zt}),qn=z.createElement(Ue,{percent:Rt(Le),strokeWidth:hn,trailWidth:hn,strokeColor:qt,strokeLinecap:Ft,trailColor:st,prefixCls:We,gapDegree:Un,gapPosition:Ht});return z.createElement("div",{className:wa,style:an},sn<=20?z.createElement(Ge.Z,{title:Et},z.createElement("span",null,qn)):z.createElement(z.Fragment,null,qn,Et))},cn=function(Le,We){var st={};for(var Ft in Le)Object.prototype.hasOwnProperty.call(Le,Ft)&&We.indexOf(Ft)<0&&(st[Ft]=Le[Ft]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Ft=Object.getOwnPropertySymbols(Le);Wt{let We=[];return Object.keys(Le).forEach(st=>{const Ft=parseFloat(st.replace(/%/g,""));isNaN(Ft)||We.push({key:Ft,value:Le[st]})}),We=We.sort((st,Ft)=>st.key-Ft.key),We.map(st=>{let{key:Ft,value:Wt}=st;return`${Wt} ${Ft}%`}).join(", ")},$t=(Le,We)=>{const{from:st=nt.presetPrimaryColors.blue,to:Ft=nt.presetPrimaryColors.blue,direction:Wt=We==="rtl"?"to left":"to right"}=Le,mn=cn(Le,["from","to","direction"]);if(Object.keys(mn).length!==0){const lt=Fe(mn);return{backgroundImage:`linear-gradient(${Wt}, ${lt})`}}return{backgroundImage:`linear-gradient(${Wt}, ${st}, ${Ft})`}};var vt=Le=>{const{prefixCls:We,direction:st,percent:Ft,size:Wt,strokeWidth:mn,strokeColor:lt,strokeLinecap:At="round",children:Et,trailColor:nn=null,success:Ut}=Le,sn=lt&&typeof lt!="string"?$t(lt,st):{backgroundColor:lt},_n=At==="square"||At==="butt"?0:void 0,hn={backgroundColor:nn||void 0,borderRadius:_n},an=Wt!=null?Wt:[-1,mn||(Wt==="small"?6:8)],[Un,Ht]=Je(an,"line",{strokeWidth:mn}),Zt=Object.assign({width:`${et(Ft)}%`,height:Ht,borderRadius:_n},sn),qt=ht(Le),wa={width:`${et(qt)}%`,height:Ht,borderRadius:_n,backgroundColor:Ut==null?void 0:Ut.strokeColor},qn={width:Un<0?"100%":Un,height:Ht};return z.createElement(z.Fragment,null,z.createElement("div",{className:`${We}-outer`,style:qn},z.createElement("div",{className:`${We}-inner`,style:hn},z.createElement("div",{className:`${We}-bg`,style:Zt}),qt!==void 0?z.createElement("div",{className:`${We}-success-bg`,style:wa}):null)),Et)},dt=Le=>{const{size:We,steps:st,percent:Ft=0,strokeWidth:Wt=8,strokeColor:mn,trailColor:lt=null,prefixCls:At,children:Et}=Le,nn=Math.round(st*(Ft/100)),Ut=We==="small"?2:14,sn=We!=null?We:[Ut,Wt],[_n,hn]=Je(sn,"step",{steps:st,strokeWidth:Wt}),an=_n/st,Un=new Array(st);for(let Ht=0;Ht{const We=Le?"100%":"-100%";return new ct.Keyframes(`antProgress${Le?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${We}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${We}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Be=Le=>{const{componentCls:We,iconCls:st}=Le;return{[We]:Object.assign(Object.assign({},(0,rt.Wf)(Le)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Le.fontSize,marginInlineEnd:Le.marginXS,marginBottom:Le.marginXS},[`${We}-outer`]:{display:"inline-block",width:"100%"},[`&${We}-show-info`]:{[`${We}-outer`]:{marginInlineEnd:`calc(-2em - ${Le.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Le.paddingXS}px)`}},[`${We}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Le.remainingColor,borderRadius:Le.lineBorderRadius},[`${We}-inner:not(${We}-circle-gradient)`]:{[`${We}-circle-path`]:{stroke:Le.defaultColor}},[`${We}-success-bg, ${We}-bg`]:{position:"relative",backgroundColor:Le.defaultColor,borderRadius:Le.lineBorderRadius,transition:`all ${Le.motionDurationSlow} ${Le.motionEaseInOutCirc}`},[`${We}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Le.colorSuccess},[`${We}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Le.marginXS,color:Le.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[st]:{fontSize:Le.fontSize}},[`&${We}-status-active`]:{[`${We}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Le.colorBgContainer,borderRadius:Le.lineBorderRadius,opacity:0,animationName:ut(),animationDuration:Le.progressActiveMotionDuration,animationTimingFunction:Le.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${We}-rtl${We}-status-active`]:{[`${We}-bg::before`]:{animationName:ut(!0)}},[`&${We}-status-exception`]:{[`${We}-bg`]:{backgroundColor:Le.colorError},[`${We}-text`]:{color:Le.colorError}},[`&${We}-status-exception ${We}-inner:not(${We}-circle-gradient)`]:{[`${We}-circle-path`]:{stroke:Le.colorError}},[`&${We}-status-success`]:{[`${We}-bg`]:{backgroundColor:Le.colorSuccess},[`${We}-text`]:{color:Le.colorSuccess}},[`&${We}-status-success ${We}-inner:not(${We}-circle-gradient)`]:{[`${We}-circle-path`]:{stroke:Le.colorSuccess}}})}},he=Le=>{const{componentCls:We,iconCls:st}=Le;return{[We]:{[`${We}-circle-trail`]:{stroke:Le.remainingColor},[`&${We}-circle ${We}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${We}-circle ${We}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Le.circleTextColor,fontSize:Le.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[st]:{fontSize:`${Le.fontSize/Le.fontSizeSM}em`}},[`${We}-circle&-status-exception`]:{[`${We}-text`]:{color:Le.colorError}},[`${We}-circle&-status-success`]:{[`${We}-text`]:{color:Le.colorSuccess}}},[`${We}-inline-circle`]:{lineHeight:1,[`${We}-inner`]:{verticalAlign:"bottom"}}}},Ke=Le=>{const{componentCls:We}=Le;return{[We]:{[`${We}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Le.progressStepMinWidth,marginInlineEnd:Le.progressStepMarginInlineEnd,backgroundColor:Le.remainingColor,transition:`all ${Le.motionDurationSlow}`,"&-active":{backgroundColor:Le.defaultColor}}}}}},Ye=Le=>{const{componentCls:We,iconCls:st}=Le;return{[We]:{[`${We}-small&-line, ${We}-small&-line ${We}-text ${st}`]:{fontSize:Le.fontSizeSM}}}};var we=(0,Oe.Z)("Progress",Le=>{const We=Le.marginXXS/2,st=(0,pt.TS)(Le,{progressStepMarginInlineEnd:We,progressStepMinWidth:We,progressActiveMotionDuration:"2.4s"});return[Be(st),he(st),Ke(st),Ye(st)]},Le=>({circleTextColor:Le.colorText,defaultColor:Le.colorInfo,remainingColor:Le.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),gt=function(Le,We){var st={};for(var Ft in Le)Object.prototype.hasOwnProperty.call(Le,Ft)&&We.indexOf(Ft)<0&&(st[Ft]=Le[Ft]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Ft=Object.getOwnPropertySymbols(Le);Wt{const{prefixCls:st,className:Ft,rootClassName:Wt,steps:mn,strokeColor:lt,percent:At=0,size:Et="default",showInfo:nn=!0,type:Ut="line",status:sn,format:_n,style:hn}=Le,an=gt(Le,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Un=z.useMemo(()=>{var It,Lt;const zn=ht(Le);return parseInt(zn!==void 0?(It=zn!=null?zn:0)===null||It===void 0?void 0:It.toString():(Lt=At!=null?At:0)===null||Lt===void 0?void 0:Lt.toString(),10)},[At,Le.success,Le.successPercent]),Ht=z.useMemo(()=>!Kt.includes(sn)&&Un>=100?"success":sn||"normal",[sn,Un]),{getPrefixCls:Zt,direction:qt,progress:wa}=z.useContext(He.E_),qn=Zt("progress",st),[Tn,ja]=we(qn),Ia=z.useMemo(()=>{if(!nn)return null;const It=ht(Le);let Lt;const zn=_n||(ma=>`${ma}%`),kt=Ut==="line";return _n||Ht!=="exception"&&Ht!=="success"?Lt=zn(et(At),et(It)):Ht==="exception"?Lt=kt?z.createElement(Ne.Z,null):z.createElement(be.Z,null):Ht==="success"&&(Lt=kt?z.createElement(se.Z,null):z.createElement(ve.Z,null)),z.createElement("span",{className:`${qn}-text`,title:typeof Lt=="string"?Lt:void 0},Lt)},[nn,At,Un,Ht,Ut,qn,_n]),Dr=Array.isArray(lt)?lt[0]:lt,yr=typeof lt=="string"||Array.isArray(lt)?lt:void 0;let Zn;Ut==="line"?Zn=mn?z.createElement(dt,Object.assign({},Le,{strokeColor:yr,prefixCls:qn,steps:mn}),Ia):z.createElement(vt,Object.assign({},Le,{strokeColor:Dr,prefixCls:qn,direction:qt}),Ia):(Ut==="circle"||Ut==="dashboard")&&(Zn=z.createElement(St,Object.assign({},Le,{strokeColor:Dr,prefixCls:qn,progressStatus:Ht}),Ia));const yt=ie()(qn,`${qn}-status-${Ht}`,`${qn}-${Ut==="dashboard"&&"circle"||mn&&"steps"||Ut}`,{[`${qn}-inline-circle`]:Ut==="circle"&&Je(Et,"circle")[0]<=20,[`${qn}-show-info`]:nn,[`${qn}-${Et}`]:typeof Et=="string",[`${qn}-rtl`]:qt==="rtl"},wa==null?void 0:wa.className,Ft,Wt,ja);return Tn(z.createElement("div",Object.assign({ref:We,style:Object.assign(Object.assign({},wa==null?void 0:wa.style),hn),className:yt,role:"progressbar","aria-valuenow":Un},(0,qe.Z)(an,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Zn))}),wt=ot},15969:function(bt,Pt,te){"use strict";te.d(Pt,{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(bt,Pt,te){"use strict";te.d(Pt,{default:function(){return bi}});var z={},se="rc-table-internal-hook",ve=te(33606),Ne=te(6089),be=te(34280),Ie=te(13697),ie=te(59301),qe=te(4676);function He(ce){var pe=ie.createContext(void 0),Re=function(tt){var at=tt.value,Nt=tt.children,Ot=ie.useRef(at);Ot.current=at;var Dt=ie.useState(function(){return{getValue:function(){return Ot.current},listeners:new Set}}),Xt=(0,ve.Z)(Dt,1),Gt=Xt[0];return(0,be.Z)(function(){(0,qe.unstable_batchedUpdates)(function(){Gt.listeners.forEach(function(_t){_t(at)})})},[at]),ie.createElement(pe.Provider,{value:Gt},Nt)};return{Context:pe,Provider:Re,defaultValue:ce}}function ke(ce,pe){var Re=(0,Ne.Z)(typeof pe=="function"?pe:function(_t){if(pe===void 0)return _t;if(!Array.isArray(pe))return _t[pe];var Cn={};return pe.forEach(function(En){Cn[En]=_t[En]}),Cn}),_e=ie.useContext(ce==null?void 0:ce.Context),tt=_e||{},at=tt.listeners,Nt=tt.getValue,Ot=ie.useRef();Ot.current=Re(_e?Nt():ce==null?void 0:ce.defaultValue);var Dt=ie.useState({}),Xt=(0,ve.Z)(Dt,2),Gt=Xt[1];return(0,be.Z)(function(){if(!_e)return;function _t(Cn){var En=Re(Cn);(0,Ie.Z)(Ot.current,En,!0)||Gt({})}return at.add(_t),function(){at.delete(_t)}},[_e]),Ot.current}var ze=te(92413),Me=te(8654);function ye(){var ce=ie.createContext(null);function pe(){return ie.useContext(ce)}function Re(tt,at){var Nt=(0,Me.Yr)(tt),Ot=function(Xt,Gt){var _t=Nt?{ref:Gt}:{},Cn=ie.useRef(0),En=ie.useRef(Xt),Fn=pe();return Fn!==null?ie.createElement(tt,(0,ze.Z)({},Xt,_t)):((!at||at(En.current,Xt))&&(Cn.current+=1),En.current=Xt,ie.createElement(ce.Provider,{value:Cn.current},ie.createElement(tt,(0,ze.Z)({},Xt,_t))))};return Nt?ie.forwardRef(Ot):Ot}function _e(tt,at){var Nt=(0,Me.Yr)(tt),Ot=function(Xt,Gt){var _t=Nt?{ref:Gt}:{};return pe(),ie.createElement(tt,(0,ze.Z)({},Xt,_t))};return Nt?ie.memo(ie.forwardRef(Ot),at):ie.memo(Ot,at)}return{makeImmutable:Re,responseImmutable:_e,useImmutableMark:pe}}var re=ye(),a=re.makeImmutable,y=re.responseImmutable,b=re.useImmutableMark,E=ye(),x=E.makeImmutable,ee=E.responseImmutable,ne=E.useImmutableMark,oe=He(),ae=oe;function ue(ce,pe){var Re=ie.useRef(0);Re.current+=1;var _e=ie.useRef(ce),tt=[];Object.keys(ce||{}).map(function(Nt){var Ot;(ce==null?void 0:ce[Nt])!==((Ot=_e.current)===null||Ot===void 0?void 0:Ot[Nt])&&tt.push(Nt)}),_e.current=ce;var at=ie.useRef([]);return tt.length&&(at.current=tt),ie.useDebugValue(Re.current),ie.useDebugValue(at.current.join(", ")),pe&&console.log("".concat(pe,":"),Re.current,at.current),Re.current}var me=null,fe=ie.memo(function(){var ce=ue();return ie.createElement("h1",null,"Render Times: ",ce)});fe.displayName="RenderBlock";var Pe=te(39559),xe=te(33708),Ee=te(400),Ae=te(92310),Ze=te.n(Ae),ft=te(80547),De=te(97938),Ue=te(48736),je=ie.createContext({renderWithProps:!1}),Ge=je,nt="RC_TABLE_KEY";function et(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function ht(ce){var pe=[],Re={};return ce.forEach(function(_e){for(var tt=_e||{},at=tt.key,Nt=tt.dataIndex,Ot=at||et(Nt).join("-")||nt;Re[Ot];)Ot="".concat(Ot,"_next");Re[Ot]=!0,pe.push(Ot)}),pe}function Rt(ce){return ce!=null}function Qt(ce){return ce&&(0,Pe.Z)(ce)==="object"&&!Array.isArray(ce)&&!ie.isValidElement(ce)}function Je(ce,pe,Re,_e,tt,at){var Nt=ie.useContext(Ge),Ot=ne(),Dt=(0,ft.Z)(function(){if(Rt(_e))return[_e];var Xt=pe==null||pe===""?[]:Array.isArray(pe)?pe:[pe],Gt=(0,De.Z)(ce,Xt),_t=Gt,Cn=void 0;if(tt){var En=tt(Gt,ce,Re);Qt(En)?(_t=En.children,Cn=En.props,Nt.renderWithProps=!0):_t=En}return[_t,Cn]},[Ot,ce,_e,pe,tt,Re],function(Xt,Gt){if(at){var _t=(0,ve.Z)(Xt,2),Cn=_t[1],En=(0,ve.Z)(Gt,2),Fn=En[1];return at(Fn,Cn)}return Nt.renderWithProps?!0:!(0,Ie.Z)(Xt,Gt,!0)});return Dt}function it(ce,pe,Re,_e){var tt=ce+pe-1;return ce<=_e&&tt>=Re}function Bt(ce,pe){return ke(ae,function(Re){var _e=it(ce,pe||1,Re.hoverStartRow,Re.hoverEndRow);return[_e,Re.onHover]})}var Mt=function(pe){var Re=pe.ellipsis,_e=pe.rowType,tt=pe.children,at,Nt=Re===!0?{showTitle:!0}:Re;return Nt&&(Nt.showTitle||_e==="header")&&(typeof tt=="string"||typeof tt=="number"?at=tt.toString():ie.isValidElement(tt)&&typeof tt.props.children=="string"&&(at=tt.props.children)),at};function St(ce){var pe,Re,_e,tt,at,Nt,Ot,Dt,Xt=ce.component,Gt=ce.children,_t=ce.ellipsis,Cn=ce.scope,En=ce.prefixCls,Fn=ce.className,Yn=ce.align,Wn=ce.record,ua=ce.render,ta=ce.dataIndex,pa=ce.renderIndex,$a=ce.shouldCellUpdate,ar=ce.index,Za=ce.rowType,qa=ce.colSpan,Fr=ce.rowSpan,Ca=ce.fixLeft,Wa=ce.fixRight,Ba=ce.firstFixLeft,da=ce.lastFixLeft,ha=ce.firstFixRight,er=ce.lastFixRight,Kr=ce.appendNode,Lr=ce.additionalProps,Ga=Lr===void 0?{}:Lr,zr=ce.isSticky,Gr="".concat(En,"-cell"),Jr=ke(ae,["supportSticky","allColumnsFixedLeft"]),Yr=Jr.supportSticky,Go=Jr.allColumnsFixedLeft,io=Je(Wn,ta,pa,Gt,ua,$a),Sr=(0,ve.Z)(io,2),ti=Sr[0],dr=Sr[1],Ro={},Fo=typeof Ca=="number"&&Yr,fi=typeof Wa=="number"&&Yr;Fo&&(Ro.position="sticky",Ro.left=Ca),fi&&(Ro.position="sticky",Ro.right=Wa);var cr=(pe=(Re=(_e=dr==null?void 0:dr.colSpan)!==null&&_e!==void 0?_e:Ga.colSpan)!==null&&Re!==void 0?Re:qa)!==null&&pe!==void 0?pe:1,rr=(tt=(at=(Nt=dr==null?void 0:dr.rowSpan)!==null&&Nt!==void 0?Nt:Ga.rowSpan)!==null&&at!==void 0?at:Fr)!==null&&tt!==void 0?tt:1,ir=Bt(ar,rr),Ya=(0,ve.Z)(ir,2),Ta=Ya[0],Ln=Ya[1],ya=function(lr){var Ti;Wn&&Ln(ar,ar+rr-1),Ga==null||(Ti=Ga.onMouseEnter)===null||Ti===void 0||Ti.call(Ga,lr)},Ar=function(lr){var Ti;Wn&&Ln(-1,-1),Ga==null||(Ti=Ga.onMouseLeave)===null||Ti===void 0||Ti.call(Ga,lr)};if(cr===0||rr===0)return null;var Xr=(Ot=Ga.title)!==null&&Ot!==void 0?Ot:Mt({rowType:Za,ellipsis:_t,children:ti}),Ii=Ze()(Gr,Fn,(Dt={},(0,Ee.Z)(Dt,"".concat(Gr,"-fix-left"),Fo&&Yr),(0,Ee.Z)(Dt,"".concat(Gr,"-fix-left-first"),Ba&&Yr),(0,Ee.Z)(Dt,"".concat(Gr,"-fix-left-last"),da&&Yr),(0,Ee.Z)(Dt,"".concat(Gr,"-fix-left-all"),da&&Go&&Yr),(0,Ee.Z)(Dt,"".concat(Gr,"-fix-right"),fi&&Yr),(0,Ee.Z)(Dt,"".concat(Gr,"-fix-right-first"),ha&&Yr),(0,Ee.Z)(Dt,"".concat(Gr,"-fix-right-last"),er&&Yr),(0,Ee.Z)(Dt,"".concat(Gr,"-ellipsis"),_t),(0,Ee.Z)(Dt,"".concat(Gr,"-with-append"),Kr),(0,Ee.Z)(Dt,"".concat(Gr,"-fix-sticky"),(Fo||fi)&&zr&&Yr),(0,Ee.Z)(Dt,"".concat(Gr,"-row-hover"),!dr&&Ta),Dt),Ga.className,dr==null?void 0:dr.className),xi={};Yn&&(xi.textAlign=Yn);var $i=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ro),Ga.style),xi),dr==null?void 0:dr.style),si=ti;return(0,Pe.Z)(si)==="object"&&!Array.isArray(si)&&!ie.isValidElement(si)&&(si=null),_t&&(da||ha)&&(si=ie.createElement("span",{className:"".concat(Gr,"-content")},si)),ie.createElement(Xt,(0,ze.Z)({},dr,Ga,{className:Ii,style:$i,title:Xr,scope:Cn,onMouseEnter:ya,onMouseLeave:Ar,colSpan:cr!==1?cr:null,rowSpan:rr!==1?rr:null}),Kr,si)}var cn=ie.memo(St);function Fe(ce,pe,Re,_e,tt,at){var Nt=Re[ce]||{},Ot=Re[pe]||{},Dt,Xt;Nt.fixed==="left"?Dt=_e.left[tt==="rtl"?pe:ce]:Ot.fixed==="right"&&(Xt=_e.right[tt==="rtl"?ce:pe]);var Gt=!1,_t=!1,Cn=!1,En=!1,Fn=Re[pe+1],Yn=Re[ce-1],Wn=!(at!=null&&at.children);if(tt==="rtl"){if(Dt!==void 0){var ua=Yn&&Yn.fixed==="left";En=!ua&&Wn}else if(Xt!==void 0){var ta=Fn&&Fn.fixed==="right";Cn=!ta&&Wn}}else if(Dt!==void 0){var pa=Fn&&Fn.fixed==="left";Gt=!pa&&Wn}else if(Xt!==void 0){var $a=Yn&&Yn.fixed==="right";_t=!$a&&Wn}return{fixLeft:Dt,fixRight:Xt,lastFixLeft:Gt,firstFixRight:_t,lastFixRight:Cn,firstFixLeft:En,isSticky:_e.isSticky}}var $t=ie.createContext({}),Yt=$t;function vt(ce){var pe=ce.className,Re=ce.index,_e=ce.children,tt=ce.colSpan,at=tt===void 0?1:tt,Nt=ce.rowSpan,Ot=ce.align,Dt=ke(ae,["prefixCls","direction"]),Xt=Dt.prefixCls,Gt=Dt.direction,_t=ie.useContext(Yt),Cn=_t.scrollColumnIndex,En=_t.stickyOffsets,Fn=_t.flattenColumns,Yn=_t.columns,Wn=Re+at-1,ua=Wn+1===Cn?at+1:at,ta=Fe(Re,Re+ua-1,Fn,En,Gt,Yn==null?void 0:Yn[Re]);return ie.createElement(cn,(0,ze.Z)({className:pe,index:Re,component:"td",prefixCls:Xt,record:null,dataIndex:null,align:Ot,colSpan:ua,rowSpan:Nt,render:function(){return _e}},ta))}var tn=te(37061),dt=["children"];function ct(ce){var pe=ce.children,Re=(0,tn.Z)(ce,dt);return ie.createElement("tr",Re,pe)}function rt(ce){var pe=ce.children;return pe}rt.Row=ct,rt.Cell=vt;var Oe=rt;function pt(ce){var pe=ce.children,Re=ce.stickyOffsets,_e=ce.flattenColumns,tt=ce.columns,at=ke(ae,"prefixCls"),Nt=_e.length-1,Ot=_e[Nt],Dt=ie.useMemo(function(){return{stickyOffsets:Re,flattenColumns:_e,scrollColumnIndex:Ot!=null&&Ot.scrollbar?Nt:null,columns:tt}},[Ot,_e,Nt,Re,tt]);return ie.createElement(Yt.Provider,{value:Dt},ie.createElement("tfoot",{className:"".concat(at,"-summary")},pe))}var ut=ee(pt),Be=Oe,he=te(70425),Ke=te(29301),Ye=te(29194),we=te(24514),gt=te(75152),$e=te(26112);function Kt(ce,pe,Re,_e,tt,at,Nt){ce.push({record:pe,indent:Re,index:Nt});var Ot=at(pe),Dt=tt==null?void 0:tt.has(Ot);if(pe&&Array.isArray(pe[_e])&&Dt)for(var Xt=0;Xt1?Ba-1:0),ha=1;ha=0;Ot-=1){var Dt=pe[Ot],Xt=Re&&Re[Ot],Gt=Xt&&Xt[nn];if(Dt||Gt||Nt){var _t=Gt||{},Cn=_t.columnType,En=(0,tn.Z)(_t,sn);tt.unshift(ie.createElement("col",(0,ze.Z)({key:Ot,style:{width:Dt}},En))),Nt=!0}}return ie.createElement("colgroup",null,tt)}var hn=_n,an=te(26407),Un=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Ht(ce,pe){return(0,ie.useMemo)(function(){for(var Re=[],_e=0;_e1?"colgroup":"col":null,ellipsis:Wn.ellipsis,align:Wn.align,component:Wn.title?at:Nt,prefixCls:Gt,key:En[Yn]},ua,{additionalProps:ta,rowType:"header"}))}))}wa.displayName="HeaderRow";var qn=wa;function Tn(ce){var pe=[];function Re(Nt,Ot){var Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;pe[Dt]=pe[Dt]||[];var Xt=Ot,Gt=Nt.filter(Boolean).map(function(_t){var Cn={key:_t.key,className:_t.className||"",children:_t.title,column:_t,colStart:Xt},En=1,Fn=_t.children;return Fn&&Fn.length>0&&(En=Re(Fn,Xt,Dt+1).reduce(function(Yn,Wn){return Yn+Wn},0),Cn.hasSubColumns=!0),"colSpan"in _t&&(En=_t.colSpan),"rowSpan"in _t&&(Cn.rowSpan=_t.rowSpan),Cn.colSpan=En,Cn.colEnd=Cn.colStart+En-1,pe[Dt].push(Cn),Xt+=En,En});return Gt}Re(ce,0);for(var _e=pe.length,tt=function(Ot){pe[Ot].forEach(function(Dt){!("rowSpan"in Dt)&&!Dt.hasSubColumns&&(Dt.rowSpan=_e-Ot)})},at=0;at<_e;at+=1)tt(at);return pe}function ja(ce){var pe=ce.stickyOffsets,Re=ce.columns,_e=ce.flattenColumns,tt=ce.onHeaderRow,at=ke(ae,["prefixCls","getComponent"]),Nt=at.prefixCls,Ot=at.getComponent,Dt=ie.useMemo(function(){return Tn(Re)},[Re]),Xt=Ot(["header","wrapper"],"thead"),Gt=Ot(["header","row"],"tr"),_t=Ot(["header","cell"],"th"),Cn=Ot(["header","cell"],"td");return ie.createElement(Xt,{className:"".concat(Nt,"-thead")},Dt.map(function(En,Fn){var Yn=ie.createElement(qn,{key:Fn,flattenColumns:_e,cells:En,stickyOffsets:pe,rowComponent:Gt,cellComponent:_t,tdCellComponent:Cn,onHeaderRow:tt,index:Fn});return Yn}))}var Ia=ee(ja),Dr=te(11592);function yr(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 Zn(ce,pe){return ie.useMemo(function(){if(pe&&pe>0){var Re=0,_e=0;ce.forEach(function(Xt){var Gt=yr(pe,Xt.width);Gt?Re+=Gt:_e+=1});var tt=pe-Re,at=_e,Nt=tt/_e,Ot=0,Dt=ce.map(function(Xt){var Gt=(0,xe.Z)({},Xt),_t=yr(pe,Gt.width);if(_t)Gt.width=_t;else{var Cn=Math.floor(Nt);Gt.width=at===1?tt:Cn,tt-=Cn,at-=1}return Ot+=Gt.width,Gt});return[Dt,Ot]}return[ce,pe]},[ce,pe])}var yt=["children"],It=["fixed"];function Lt(ce){return(0,Dr.Z)(ce).filter(function(pe){return ie.isValidElement(pe)}).map(function(pe){var Re=pe.key,_e=pe.props,tt=_e.children,at=(0,tn.Z)(_e,yt),Nt=(0,xe.Z)({key:Re},at);return tt&&(Nt.children=Lt(tt)),Nt})}function zn(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(Re){return Re&&(0,Pe.Z)(Re)==="object"}).reduce(function(Re,_e,tt){var at=_e.fixed,Nt=at===!0?"left":at,Ot="".concat(pe,"-").concat(tt),Dt=_e.children;return Dt&&Dt.length>0?[].concat((0,an.Z)(Re),(0,an.Z)(zn(Dt,Ot).map(function(Xt){return(0,xe.Z)({fixed:Nt},Xt)}))):[].concat((0,an.Z)(Re),[(0,xe.Z)((0,xe.Z)({key:Ot},_e),{},{fixed:Nt})])},[])}function kt(ce){for(var pe=!0,Re=0;Re=0;at-=1){var Nt=ce[at];if(tt&&Nt.fixed!=="right")tt=!1;else if(!tt&&Nt.fixed==="right"){warning(!1,"Index ".concat(at+1," of `columns` missing `fixed='right'` prop."));break}}}function ma(ce){return ce.map(function(pe){var Re=pe.fixed,_e=(0,tn.Z)(pe,It),tt=Re;return Re==="left"?tt="right":Re==="right"&&(tt="left"),(0,xe.Z)({fixed:tt},_e)})}function ao(ce,pe){var Re=ce.prefixCls,_e=ce.columns,tt=ce.children,at=ce.expandable,Nt=ce.expandedKeys,Ot=ce.columnTitle,Dt=ce.getRowKey,Xt=ce.onTriggerExpand,Gt=ce.expandIcon,_t=ce.rowExpandable,Cn=ce.expandIconColumnIndex,En=ce.direction,Fn=ce.expandRowByClick,Yn=ce.columnWidth,Wn=ce.fixed,ua=ce.scrollWidth,ta=ie.useMemo(function(){return _e||Lt(tt)},[_e,tt]),pa=ie.useMemo(function(){if(at){var Wa,Ba=ta.slice();if(!Ba.includes(z)){var da=Cn||0;da>=0&&Ba.splice(da,0,z)}var ha=Ba.indexOf(z);Ba=Ba.filter(function(Ga,zr){return Ga!==z||zr===ha});var er=ta[ha],Kr;(Wn==="left"||Wn)&&!Cn?Kr="left":(Wn==="right"||Wn)&&Cn===ta.length?Kr="right":Kr=er?er.fixed:null;var Lr=(Wa={},(0,Ee.Z)(Wa,nn,{className:"".concat(Re,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ee.Z)(Wa,"title",Ot),(0,Ee.Z)(Wa,"fixed",Kr),(0,Ee.Z)(Wa,"className","".concat(Re,"-row-expand-icon-cell")),(0,Ee.Z)(Wa,"width",Yn),(0,Ee.Z)(Wa,"render",function(zr,Gr,Jr){var Yr=Dt(Gr,Jr),Go=Nt.has(Yr),io=_t?_t(Gr):!0,Sr=Gt({prefixCls:Re,expanded:Go,expandable:io,record:Gr,onExpand:Xt});return Fn?ie.createElement("span",{onClick:function(dr){return dr.stopPropagation()}},Sr):Sr}),Wa);return Ba.map(function(Ga){return Ga===z?Lr:Ga})}return ta.filter(function(Ga){return Ga!==z})},[at,ta,Dt,Nt,Gt,En]),$a=ie.useMemo(function(){var Wa=pa;return pe&&(Wa=pe(Wa)),Wa.length||(Wa=[{render:function(){return null}}]),Wa},[pe,pa,En]),ar=ie.useMemo(function(){return En==="rtl"?ma(zn($a)):zn($a)},[$a,En,ua]),Za=Zn(ar,ua),qa=(0,ve.Z)(Za,2),Fr=qa[0],Ca=qa[1];return[$a,Fr,Ca]}var pr=ao;function _r(ce){var pe,Re=ce.prefixCls,_e=ce.record,tt=ce.onExpand,at=ce.expanded,Nt=ce.expandable,Ot="".concat(Re,"-row-expand-icon");if(!Nt)return ie.createElement("span",{className:Ze()(Ot,"".concat(Re,"-row-spaced"))});var Dt=function(Gt){tt(_e,Gt),Gt.stopPropagation()};return ie.createElement("span",{className:Ze()(Ot,(pe={},(0,Ee.Z)(pe,"".concat(Re,"-row-expanded"),at),(0,Ee.Z)(pe,"".concat(Re,"-row-collapsed"),!at),pe)),onClick:Dt})}function qr(ce,pe,Re){var _e=[];function tt(at){(at||[]).forEach(function(Nt,Ot){_e.push(pe(Nt,Ot)),tt(Nt[Re])})}return tt(ce),_e}function _a(ce,pe,Re){var _e=Ut(ce),tt=_e.expandIcon,at=_e.expandedRowKeys,Nt=_e.defaultExpandedRowKeys,Ot=_e.defaultExpandAllRows,Dt=_e.expandedRowRender,Xt=_e.onExpand,Gt=_e.onExpandedRowsChange,_t=_e.childrenColumnName,Cn=tt||_r,En=_t||"children",Fn=ie.useMemo(function(){return Dt?"row":ce.expandable&&ce.internalHooks===se&&ce.expandable.__PARENT_RENDER_ICON__||pe.some(function(ar){return ar&&(0,Pe.Z)(ar)==="object"&&ar[En]})?"nest":!1},[!!Dt,pe]),Yn=ie.useState(function(){return Nt||(Ot?qr(pe,Re,En):[])}),Wn=(0,ve.Z)(Yn,2),ua=Wn[0],ta=Wn[1],pa=ie.useMemo(function(){return new Set(at||ua||[])},[at,ua]),$a=ie.useCallback(function(ar){var Za=Re(ar,pe.indexOf(ar)),qa,Fr=pa.has(Za);Fr?(pa.delete(Za),qa=(0,an.Z)(pa)):qa=[].concat((0,an.Z)(pa),[Za]),ta(qa),Xt&&Xt(!Fr,ar),Gt&&Gt(qa)},[Re,pa,pe,Xt,Gt]);return[_e,Fn,pa,Cn,En,$a]}function Rn(ce,pe,Re,_e){var tt=ce.map(function(at,Nt){return Fe(Nt,Nt,ce,pe,Re,_e==null?void 0:_e[Nt])});return(0,ft.Z)(function(){return tt},[tt],function(at,Nt){return!(0,Ie.Z)(at,Nt)})}function sr(ce){var pe=(0,ie.useRef)(ce),Re=(0,ie.useState)({}),_e=(0,ve.Z)(Re,2),tt=_e[1],at=(0,ie.useRef)(null),Nt=(0,ie.useRef)([]);function Ot(Dt){Nt.current.push(Dt);var Xt=Promise.resolve();at.current=Xt,Xt.then(function(){if(at.current===Xt){var Gt=Nt.current,_t=pe.current;Nt.current=[],Gt.forEach(function(Cn){pe.current=Cn(pe.current)}),at.current=null,_t!==pe.current&&tt({})}})}return(0,ie.useEffect)(function(){return function(){at.current=null}},[]),[pe.current,Ot]}function Ua(ce){var pe=(0,ie.useRef)(ce||null),Re=(0,ie.useRef)();function _e(){window.clearTimeout(Re.current)}function tt(Nt){pe.current=Nt,_e(),Re.current=window.setTimeout(function(){pe.current=null,Re.current=void 0},100)}function at(){return pe.current}return(0,ie.useEffect)(function(){return _e},[]),[tt,at]}function hr(){var ce=ie.useState(-1),pe=(0,ve.Z)(ce,2),Re=pe[0],_e=pe[1],tt=ie.useState(-1),at=(0,ve.Z)(tt,2),Nt=at[0],Ot=at[1],Dt=ie.useCallback(function(Xt,Gt){_e(Xt),Ot(Gt)},[]);return[Re,Nt,Dt]}var tr=te(47273),mt=(0,tr.Z)()?window:null;function dn(ce,pe){var Re=(0,Pe.Z)(ce)==="object"?ce:{},_e=Re.offsetHeader,tt=_e===void 0?0:_e,at=Re.offsetSummary,Nt=at===void 0?0:at,Ot=Re.offsetScroll,Dt=Ot===void 0?0:Ot,Xt=Re.getContainer,Gt=Xt===void 0?function(){return mt}:Xt,_t=Gt()||mt;return ie.useMemo(function(){var Cn=!!ce;return{isSticky:Cn,stickyClassName:Cn?"".concat(pe,"-sticky-holder"):"",offsetHeader:tt,offsetSummary:Nt,offsetScroll:Dt,container:_t}},[Dt,tt,Nt,pe,_t])}function rn(ce,pe,Re){var _e=(0,ie.useMemo)(function(){for(var tt=[],at=[],Nt=0,Ot=0,Dt=0;Dt=_t&&(Ga=_t-Cn),Nt({scrollLeft:Ga/_t*(Gt+2)}),ta.current.x=ha.pageX},Wa=function(){if(at.current){var ha=(0,An.os)(at.current).top,er=ha+at.current.offsetHeight,Kr=Dt===window?document.documentElement.scrollTop+window.innerHeight:(0,An.os)(Dt).top+Dt.clientHeight;er-(0,gt.Z)()<=Kr||ha>=Kr-Ot?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})})}},Ba=function(ha){ua(function(er){return(0,xe.Z)((0,xe.Z)({},er),{},{scrollLeft:ha/Gt*_t||0})})};return ie.useImperativeHandle(Re,function(){return{setScrollLeft:Ba}}),ie.useEffect(function(){var da=(0,On.Z)(document.body,"mouseup",qa,!1),ha=(0,On.Z)(document.body,"mousemove",Ca,!1);return Wa(),function(){da.remove(),ha.remove()}},[Cn,ar]),ie.useEffect(function(){var da=(0,On.Z)(Dt,"scroll",Wa,!1),ha=(0,On.Z)(window,"resize",Wa,!1);return function(){da.remove(),ha.remove()}},[Dt]),ie.useEffect(function(){Wn.isHiddenScrollBar||ua(function(da){var ha=at.current;return ha?(0,xe.Z)((0,xe.Z)({},da),{},{scrollLeft:ha.scrollLeft/ha.scrollWidth*ha.clientWidth}):da})},[Wn.isHiddenScrollBar]),Gt<=_t||!Cn||Wn.isHiddenScrollBar?null:ie.createElement("div",{style:{height:(0,gt.Z)(),width:_t,bottom:Ot},className:"".concat(Xt,"-sticky-scroll")},ie.createElement("div",{onMouseDown:Fr,ref:En,className:Ze()("".concat(Xt,"-sticky-scroll-bar"),(0,Ee.Z)({},"".concat(Xt,"-sticky-scroll-bar-active"),ar)),style:{width:"".concat(Cn,"px"),transform:"translate3d(".concat(Wn.scrollLeft,"px, 0, 0)")}}))},Ka=ie.forwardRef(Va);function gn(ce){return null}var uo=gn;function oo(ce){return null}var eo=oo,Io="rc-table",Xn=[],Ma={};function or(){return"No Data"}function Pa(ce){var pe,Re=(0,xe.Z)({rowKey:"key",prefixCls:Io,emptyText:or},ce),_e=Re.prefixCls,tt=Re.className,at=Re.rowClassName,Nt=Re.style,Ot=Re.data,Dt=Re.rowKey,Xt=Re.scroll,Gt=Re.tableLayout,_t=Re.direction,Cn=Re.title,En=Re.footer,Fn=Re.summary,Yn=Re.caption,Wn=Re.id,ua=Re.showHeader,ta=Re.components,pa=Re.emptyText,$a=Re.onRow,ar=Re.onHeaderRow,Za=Re.internalHooks,qa=Re.transformColumns,Fr=Re.internalRefs,Ca=Re.tailor,Wa=Re.sticky,Ba=Ot||Xn,da=!!Ba.length,ha=Za===se,er=ie.useCallback(function(Wo,ci){return(0,De.Z)(ta,Wo)||ci},[ta]),Kr=ie.useMemo(function(){return typeof Dt=="function"?Dt:function(Wo){var ci=Wo&&Wo[Dt];return ci}},[Dt]),Lr=er(["body"]),Ga=hr(),zr=(0,ve.Z)(Ga,3),Gr=zr[0],Jr=zr[1],Yr=zr[2],Go=_a(Re,Ba,Kr),io=(0,ve.Z)(Go,6),Sr=io[0],ti=io[1],dr=io[2],Ro=io[3],Fo=io[4],fi=io[5],cr=Xt==null?void 0:Xt.x,rr=ie.useState(0),ir=(0,ve.Z)(rr,2),Ya=ir[0],Ta=ir[1],Ln=pr((0,xe.Z)((0,xe.Z)((0,xe.Z)({},Re),Sr),{},{expandable:!!Sr.expandedRowRender,columnTitle:Sr.columnTitle,expandedKeys:dr,getRowKey:Kr,onTriggerExpand:fi,expandIcon:Ro,expandIconColumnIndex:Sr.expandIconColumnIndex,direction:_t,scrollWidth:ha&&Ca&&typeof cr=="number"?cr:null}),ha?qa:null),ya=(0,ve.Z)(Ln,3),Ar=ya[0],Xr=ya[1],Ii=ya[2],xi=Ii!=null?Ii:cr,$i=ie.useMemo(function(){return{columns:Ar,flattenColumns:Xr}},[Ar,Xr]),si=ie.useRef(),oi=ie.useRef(),lr=ie.useRef(),Ti=ie.useRef(),Ki=ie.useRef(),Bo=ie.useState(!1),ko=(0,ve.Z)(Bo,2),li=ko[0],Pi=ko[1],pi=ie.useState(!1),lo=(0,ve.Z)(pi,2),Gi=lo[0],Ni=lo[1],Zo=sr(new Map),fr=(0,ve.Z)(Zo,2),hi=fr[0],Ri=fr[1],sl=ht(Xr),el=sl.map(function(Wo){return hi.get(Wo)}),Qi=ie.useMemo(function(){return el},[el.join("_")]),_i=Sn(Qi,Xr.length,_t),yi=Xt&&Rt(Xt.y),gi=Xt&&Rt(xi)||!!Sr.fixed,ol=gi&&Xr.some(function(Wo){var ci=Wo.fixed;return ci}),fl=ie.useRef(),al=dn(Wa,_e),il=al.isSticky,Cl=al.offsetHeader,Tl=al.offsetSummary,So=al.offsetScroll,Xo=al.stickyClassName,ki=al.container,di=ie.useMemo(function(){return Fn==null?void 0:Fn(Ba)},[Fn,Ba]),Ui=(yi||il)&&ie.isValidElement(di)&&di.type===Oe&&di.props.fixed,Vi,Yi,ll;yi&&(Yi={overflowY:"scroll",maxHeight:Xt.y}),gi&&(Vi={overflowX:"auto"},yi||(Yi={overflowY:"hidden"}),ll={width:xi===!0?"auto":xi,minWidth:"100%"});var Rl=ie.useCallback(function(Wo,ci){(0,Ye.Z)(si.current)&&Ri(function(tl){if(tl.get(Wo)!==ci){var dl=new Map(tl);return dl.set(Wo,ci),dl}return tl})},[]),du=Ua(null),kl=(0,ve.Z)(du,2),cu=kl[0],ql=kl[1];function Al(Wo,ci){ci&&(typeof ci=="function"?ci(Wo):ci.scrollLeft!==Wo&&(ci.scrollLeft=Wo,ci.scrollLeft!==Wo&&setTimeout(function(){ci.scrollLeft=Wo},0)))}var pl=(0,Ne.Z)(function(Wo){var ci=Wo.currentTarget,tl=Wo.scrollLeft,dl=_t==="rtl",cl=typeof tl=="number"?tl:ci.scrollLeft,ou=ci||Ma;if(!ql()||ql()===ou){var Xl;cu(ou),Al(cl,oi.current),Al(cl,lr.current),Al(cl,Ki.current),Al(cl,(Xl=fl.current)===null||Xl===void 0?void 0:Xl.setScrollLeft)}var Ql=ci||oi.current;if(Ql){var Jl=Ql.scrollWidth,bl=Ql.clientWidth;if(Jl===bl){Pi(!1),Ni(!1);return}dl?(Pi(-cl0)):(Pi(cl>0),Ni(cl1?Yn-ha:0,Kr=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},qa),Dt),{},{flex:"0 0 ".concat(ha,"px"),width:"".concat(ha,"px"),marginRight:er,pointerEvents:"auto"}),Lr=ie.useMemo(function(){return Gt?Ba<=1:Ca===0||Ba===0||Ba>1},[Ba,Ca,Gt]);Lr?Kr.visibility="hidden":Gt&&(Kr.height=_t==null?void 0:_t(Ba));var Ga=Lr?function(){return null}:Cn,zr={};return(Ba===0||Ca===0)&&(zr.rowSpan=1,zr.colSpan=1),ie.createElement(cn,(0,ze.Z)({className:Ze()(Fn,Xt),ellipsis:Re.ellipsis,align:Re.align,scope:Re.rowScope,component:"div",prefixCls:pe.prefixCls,key:pa,record:Ot,index:at,renderIndex:Nt,dataIndex:En,render:Ga,shouldCellUpdate:Re.shouldCellUpdate},$a,{appendNode:ar,additionalProps:(0,xe.Z)((0,xe.Z)({},Za),{},{style:Kr},zr)}))}var Hn=Ci,nr=["data","index","className","rowKey","style","extra","getHeight"],jr=ie.forwardRef(function(ce,pe){var Re=ce.data,_e=ce.index,tt=ce.className,at=ce.rowKey,Nt=ce.style,Ot=ce.extra,Dt=ce.getHeight,Xt=(0,tn.Z)(ce,nr),Gt=Re.record,_t=Re.indent,Cn=Re.index,En=ke(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Fn=En.scrollX,Yn=En.flattenColumns,Wn=En.prefixCls,ua=En.fixColumn,ta=En.componentWidth,pa=Le(Gt,at,_e,_t),$a=pa.rowSupportExpand,ar=pa.expanded,Za=pa.rowProps,qa=pa.expandedRowRender,Fr=pa.expandedRowClassName,Ca;if($a&&ar){var Wa=qa(Gt,_e,_t+1,ar),Ba=Fr==null?void 0:Fr(Gt,_e,_t),da={};ua&&(da={style:(0,Ee.Z)({},"--virtual-width","".concat(ta,"px"))});var ha="".concat(Wn,"-expanded-row-cell");Ca=ie.createElement("div",{className:Ze()("".concat(Wn,"-expanded-row"),"".concat(Wn,"-expanded-row-level-").concat(_t+1),Ba)},ie.createElement(cn,{component:"div",prefixCls:Wn,className:Ze()(ha,(0,Ee.Z)({},"".concat(ha,"-fixed"),ua)),additionalProps:da},Wa))}var er=(0,xe.Z)((0,xe.Z)({},Nt),{},{width:Fn});Ot&&(er.position="absolute",er.pointerEvents="none");var Kr=ie.createElement("div",(0,ze.Z)({},Za,Xt,{ref:$a?null:pe,className:Ze()(tt,"".concat(Wn,"-row"),Za==null?void 0:Za.className,(0,Ee.Z)({},"".concat(Wn,"-row-extra"),Ot)),style:(0,xe.Z)((0,xe.Z)({},er),Za==null?void 0:Za.style)}),Yn.map(function(Lr,Ga){return ie.createElement(Hn,{key:Ga,rowInfo:pa,column:Lr,colIndex:Ga,indent:_t,index:_e,renderIndex:Cn,record:Gt,inverse:Ot,getHeight:Dt})}));return $a?ie.createElement("div",{ref:pe},Kr,Ca):Kr}),Jo=ee(jr),$o=Jo,No=ie.forwardRef(function(ce,pe){var Re=ce.data,_e=ce.onScroll,tt=ke(ae,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),at=tt.flattenColumns,Nt=tt.onColumnResize,Ot=tt.getRowKey,Dt=tt.expandedKeys,Xt=tt.prefixCls,Gt=tt.childrenColumnName,_t=tt.emptyNode,Cn=tt.scrollX,En=ke(Ao),Fn=En.scrollY,Yn=En.listItemHeight,Wn=ie.useRef(),ua=Se(Re,Gt,Dt,Ot),ta=ie.useMemo(function(){var Ca=0;return at.map(function(Wa){var Ba=Wa.width,da=Wa.key;return Ca+=Ba,[da,Ba,Ca]})},[at]),pa=ie.useMemo(function(){return ta.map(function(Ca){return Ca[2]})},[ta]);ie.useEffect(function(){ta.forEach(function(Ca){var Wa=(0,ve.Z)(Ca,2),Ba=Wa[0],da=Wa[1];Nt(Ba,da)})},[ta]),ie.useImperativeHandle(pe,function(){var Ca={};return Object.defineProperty(Ca,"scrollLeft",{get:function(){var Ba;return((Ba=Wn.current)===null||Ba===void 0?void 0:Ba.getScrollInfo().x)||0},set:function(Ba){var da;(da=Wn.current)===null||da===void 0||da.scrollTo({left:Ba})}}),Ca});var $a=function(Wa,Ba){var da,ha=(da=ua[Ba])===null||da===void 0?void 0:da.record,er=Wa.onCell;if(er){var Kr,Lr=er(ha,Ba);return(Kr=Lr==null?void 0:Lr.rowSpan)!==null&&Kr!==void 0?Kr:1}return 1},ar=function(Wa){var Ba=Wa.start,da=Wa.end,ha=Wa.getSize,er=Wa.offsetY;if(da<0)return null;for(var Kr=at.filter(function(cr){return $a(cr,Ba)===0}),Lr=Ba,Ga=function(rr){if(Kr=Kr.filter(function(ir){return $a(ir,rr)===0}),!Kr.length)return Lr=rr,"break"},zr=Ba;zr>=0;zr-=1){var Gr=Ga(zr);if(Gr==="break")break}for(var Jr=at.filter(function(cr){return $a(cr,da)!==1}),Yr=da,Go=function(rr){if(Jr=Jr.filter(function(ir){return $a(ir,rr)!==1}),!Jr.length)return Yr=Math.max(rr-1,da),"break"},io=da;io1})&&ti.push(rr)},Ro=Lr;Ro<=Yr;Ro+=1)var Fo=dr(Ro);var fi=ti.map(function(cr){var rr=ua[cr],ir=Ot(rr.record,cr),Ya=function(ya){var Ar=cr+ya-1,Xr=Ot(ua[Ar].record,Ar),Ii=ha(ir,Xr);return Ii.bottom-Ii.top},Ta=ha(ir);return ie.createElement($o,{key:cr,data:rr,rowKey:ir,index:cr,style:{top:-er+Ta.top},extra:!0,getHeight:Ya})});return fi},Za=ie.useMemo(function(){return{columnsOffset:pa}},[pa]),qa="".concat(Xt,"-tbody"),Fr;return ua.length?Fr=ie.createElement(fo.Z,{fullHeight:!1,ref:Wn,className:Ze()(qa,"".concat(qa,"-virtual")),height:Fn,itemHeight:Yn||24,data:ua,itemKey:function(Wa){return Ot(Wa.record)},scrollWidth:Cn,onVirtualScroll:function(Wa){var Ba=Wa.x;_e({scrollLeft:Ba})},extraRender:ar},function(Ca,Wa,Ba){var da=Ot(Ca.record,Wa);return ie.createElement($o,(0,ze.Z)({data:Ca,rowKey:da,index:Wa},Ba))}):Fr=ie.createElement("div",{className:Ze()("".concat(Xt,"-placeholder"))},ie.createElement(cn,{component:"div",prefixCls:Xt},_t)),ie.createElement(Ei.Provider,{value:Za},Fr)}),vi=ee(No),Zi=vi,Xi=function(pe,Re){var _e=Re.ref,tt=Re.onScroll;return ie.createElement(Zi,{ref:_e,data:pe,onScroll:tt})},Mi=100;function Ce(ce){var pe=ce.columns,Re=ce.scroll,_e=ce.prefixCls,tt=_e===void 0?Io:_e,at=ce.className,Nt=ce.listItemHeight,Ot=Re||{},Dt=Ot.x,Xt=Ot.y;typeof Dt!="number"&&(Dt=((pe||[]).length+1)*Mi),typeof Xt!="number"&&(Xt=500);var Gt=ie.useMemo(function(){return{scrollY:Xt,listItemHeight:Nt}},[Xt,Nt]);return ie.createElement(Ao.Provider,{value:Gt},ie.createElement(Cr,(0,ze.Z)({},ce,{className:Ze()(at,"".concat(tt,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},Re),{},{x:Dt}),components:{body:Xi},columns:pe,internalHooks:se,tailor:!0})))}function Te(ce){return x(Ce,ce)}var Xe=Te(),Ct=null;function Jt(ce){return null}var en=Jt;function xn(ce){return null}var Dn=xn,Qn=te(2738),ba=te(68031),Fa=te(36355),fa=te(93891),Or=te(19716),Nr=te(8628),Mo=te(31724),Ur=te(58421),la=te(71418),Vn=te(88088);function ra(ce){return function(Re){let{prefixCls:_e,onExpand:tt,record:at,expanded:Nt,expandable:Ot}=Re;const Dt=`${_e}-row-expand-icon`;return ie.createElement("button",{type:"button",onClick:Xt=>{tt(at,Xt),Xt.stopPropagation()},className:Ze()(Dt,{[`${Dt}-spaced`]:!Ot,[`${Dt}-expanded`]:Ot&&Nt,[`${Dt}-collapsed`]:Ot&&!Nt}),"aria-label":Nt?ce.collapse:ce.expand,"aria-expanded":Nt})}}var aa=ra;function Ir(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 vr(ce,pe){return typeof ce=="function"?ce(pe):ce}function br(ce,pe){const Re=vr(ce,pe);return Object.prototype.toString.call(Re)==="[object Object]"?"":Re}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"},po=kr,ni=te(7657),Po=function(pe,Re){return ie.createElement(ni.Z,(0,ze.Z)({},pe,{ref:Re,icon:po}))},Mr=ie.forwardRef(Po),ro=Mr,bo=te(56762);function ho(ce){const pe=ie.useRef(ce),Re=(0,bo.Z)();return[()=>pe.current,_e=>{pe.current=_e,Re()}]}var yo=te(3113),sa=te(24905),Ho=te(38854),Ai=te(64165),zi=te(20834),nl=te(40875),Ji=te(5112),Wi=te(17574),Di=te(47472),ul=te(92832);function Hi(ce){let{value:pe,onChange:Re,filterSearch:_e,tablePrefixCls:tt,locale:at}=ce;return _e?ie.createElement("div",{className:`${tt}-filter-dropdown-search`},ie.createElement(ul.default,{prefix:ie.createElement(Di.Z,null),placeholder:at.filterSearchPlaceholder,onChange:Re,value:pe,htmlSize:1,className:`${tt}-filter-dropdown-search-input`})):null}var rl=Hi,Vt=te(10228);const jt=ce=>{const{keyCode:pe}=ce;pe===Vt.Z.ENTER&&ce.stopPropagation()};var Aa=ie.forwardRef((ce,pe)=>ie.createElement("div",{className:ce.className,onClick:Re=>Re.stopPropagation(),onKeyDown:jt,ref:pe},ce.children));function Xa(ce){let pe=[];return(ce||[]).forEach(Re=>{let{value:_e,children:tt}=Re;pe.push(_e),tt&&(pe=[].concat((0,an.Z)(pe),(0,an.Z)(Xa(tt))))}),pe}function La(ce){return ce.some(pe=>{let{children:Re}=pe;return Re})}function Mn(ce,pe){return typeof pe=="string"||typeof pe=="number"?pe==null?void 0:pe.toString().toLowerCase().includes(ce.trim().toLowerCase()):!1}function Qa(ce){let{filters:pe,prefixCls:Re,filteredKeys:_e,filterMultiple:tt,searchValue:at,filterSearch:Nt}=ce;return pe.map((Ot,Dt)=>{const Xt=String(Ot.value);if(Ot.children)return{key:Xt||Dt,label:Ot.text,popupClassName:`${Re}-dropdown-submenu`,children:Qa({filters:Ot.children,prefixCls:Re,filteredKeys:_e,filterMultiple:tt,searchValue:at,filterSearch:Nt})};const Gt=tt?sa.default:Ji.ZP,_t={key:Ot.value!==void 0?Xt:Dt,label:ie.createElement(ie.Fragment,null,ie.createElement(Gt,{checked:_e.includes(Xt)}),ie.createElement("span",null,Ot.text))};return at.trim()?typeof Nt=="function"?Nt(at,Ot)?_t:null:Mn(at,Ot.text)?_t:null:_t})}function Pn(ce){var pe,Re;const{tablePrefixCls:_e,prefixCls:tt,column:at,dropdownPrefixCls:Nt,columnKey:Ot,filterMultiple:Dt,filterMode:Xt="menu",filterSearch:Gt=!1,filterState:_t,triggerFilter:Cn,locale:En,children:Fn,getPopupContainer:Yn}=ce,{filterDropdownOpen:Wn,onFilterDropdownOpenChange:ua,filterResetToDefaultFilteredValue:ta,defaultFilteredValue:pa,filterDropdownVisible:$a,onFilterDropdownVisibleChange:ar}=at,[Za,qa]=ie.useState(!1),Fr=!!(_t&&(!((pe=_t.filteredKeys)===null||pe===void 0)&&pe.length||_t.forceFiltered)),Ca=Ln=>{qa(Ln),ua==null||ua(Ln),ar==null||ar(Ln)},Wa=(Re=Wn!=null?Wn:$a)!==null&&Re!==void 0?Re:Za,Ba=_t==null?void 0:_t.filteredKeys,[da,ha]=ho(Ba||[]),er=Ln=>{let{selectedKeys:ya}=Ln;ha(ya)},Kr=(Ln,ya)=>{let{node:Ar,checked:Xr}=ya;er(Dt?{selectedKeys:Ln}:{selectedKeys:Xr&&Ar.key?[Ar.key]:[]})};ie.useEffect(()=>{Za&&er({selectedKeys:Ba||[]})},[Ba]);const[Lr,Ga]=ie.useState([]),zr=Ln=>{Ga(Ln)},[Gr,Jr]=ie.useState(""),Yr=Ln=>{const{value:ya}=Ln.target;Jr(ya)};ie.useEffect(()=>{Za||Jr("")},[Za]);const Go=Ln=>{const ya=Ln&&Ln.length?Ln:null;if(ya===null&&(!_t||!_t.filteredKeys)||(0,Ie.Z)(ya,_t==null?void 0:_t.filteredKeys,!0))return null;Cn({column:at,key:Ot,filteredKeys:ya})},io=()=>{Ca(!1),Go(da())},Sr=function(){let{confirm:Ln,closeDropdown:ya}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ln&&Go([]),ya&&Ca(!1),Jr(""),ha(ta?(pa||[]).map(Ar=>String(Ar)):[])},ti=function(){let{closeDropdown:Ln}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ln&&Ca(!1),Go(da())},dr=Ln=>{Ln&&Ba!==void 0&&ha(Ba||[]),Ca(Ln),!Ln&&!at.filterDropdown&&io()},Ro=Ze()({[`${Nt}-menu-without-submenu`]:!La(at.filters||[])}),Fo=Ln=>{if(Ln.target.checked){const ya=Xa(at==null?void 0:at.filters).map(Ar=>String(Ar));ha(ya)}else ha([])},fi=Ln=>{let{filters:ya}=Ln;return(ya||[]).map((Ar,Xr)=>{const Ii=String(Ar.value),xi={title:Ar.text,key:Ar.value!==void 0?Ii:Xr};return Ar.children&&(xi.children=fi({filters:Ar.children})),xi})},cr=Ln=>{var ya;return Object.assign(Object.assign({},Ln),{text:Ln.title,value:Ln.key,children:((ya=Ln.children)===null||ya===void 0?void 0:ya.map(Ar=>cr(Ar)))||[]})};let rr;if(typeof at.filterDropdown=="function")rr=at.filterDropdown({prefixCls:`${Nt}-custom`,setSelectedKeys:Ln=>er({selectedKeys:Ln}),selectedKeys:da(),confirm:ti,clearFilters:Sr,filters:at.filters,visible:Wa,close:()=>{Ca(!1)}});else if(at.filterDropdown)rr=at.filterDropdown;else{const Ln=da()||[],ya=()=>(at.filters||[]).length===0?ie.createElement(Ai.Z,{image:Ai.Z.PRESENTED_IMAGE_SIMPLE,description:En.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Xt==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(rl,{filterSearch:Gt,value:Gr,onChange:Yr,tablePrefixCls:_e,locale:En}),ie.createElement("div",{className:`${_e}-filter-dropdown-tree`},Dt?ie.createElement(sa.default,{checked:Ln.length===Xa(at.filters).length,indeterminate:Ln.length>0&&Ln.lengthtypeof Gt=="function"?Gt(Gr,cr(Xr)):Mn(Gr,Xr.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(rl,{filterSearch:Gt,value:Gr,onChange:Yr,tablePrefixCls:_e,locale:En}),ie.createElement(zi.default,{selectable:!0,multiple:Dt,prefixCls:`${Nt}-menu`,className:Ro,onSelect:er,onDeselect:er,selectedKeys:Ln,getPopupContainer:Yn,openKeys:Lr,onOpenChange:zr,items:Qa({filters:at.filters||[],filterSearch:Gt,prefixCls:tt,filteredKeys:da(),filterMultiple:Dt,searchValue:Gr})})),Ar=()=>ta?(0,Ie.Z)((pa||[]).map(Xr=>String(Xr)),Ln,!0):Ln.length===0;rr=ie.createElement(ie.Fragment,null,ya(),ie.createElement("div",{className:`${tt}-dropdown-btns`},ie.createElement(yo.ZP,{type:"link",size:"small",disabled:Ar(),onClick:()=>Sr()},En.filterReset),ie.createElement(yo.ZP,{type:"primary",size:"small",onClick:io},En.filterConfirm)))}at.filterDropdown&&(rr=ie.createElement(nl.J,{selectable:void 0},rr));const ir=()=>ie.createElement(Aa,{className:`${tt}-dropdown`},rr);let Ya;typeof at.filterIcon=="function"?Ya=at.filterIcon(Fr):at.filterIcon?Ya=at.filterIcon:Ya=ie.createElement(ro,null);const{direction:Ta}=ie.useContext(Fa.E_);return ie.createElement("div",{className:`${tt}-column`},ie.createElement("span",{className:`${_e}-column-title`},Fn),ie.createElement(Ho.Z,{dropdownRender:ir,trigger:["click"],open:Wa,onOpenChange:dr,getPopupContainer:Yn,placement:Ta==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:Ze()(`${tt}-trigger`,{active:Fr}),onClick:Ln=>{Ln.stopPropagation()}},Ya)))}var oa=Pn;function Tr(ce,pe,Re){let _e=[];return(ce||[]).forEach((tt,at)=>{var Nt;const Ot=Zr(at,Re);if(tt.filters||"filterDropdown"in tt||"onFilter"in tt)if("filteredValue"in tt){let Dt=tt.filteredValue;"filterDropdown"in tt||(Dt=(Nt=Dt==null?void 0:Dt.map(String))!==null&&Nt!==void 0?Nt:Dt),_e.push({column:tt,key:Ir(tt,Ot),filteredKeys:Dt,forceFiltered:tt.filtered})}else _e.push({column:tt,key:Ir(tt,Ot),filteredKeys:pe&&tt.defaultFilteredValue?tt.defaultFilteredValue:void 0,forceFiltered:tt.filtered});"children"in tt&&(_e=[].concat((0,an.Z)(_e),(0,an.Z)(Tr(tt.children,pe,Ot))))}),_e}function Lo(ce,pe,Re,_e,tt,at,Nt,Ot){return Re.map((Dt,Xt)=>{const Gt=Zr(Xt,Ot),{filterMultiple:_t=!0,filterMode:Cn,filterSearch:En}=Dt;let Fn=Dt;if(Fn.filters||Fn.filterDropdown){const Yn=Ir(Fn,Gt),Wn=_e.find(ua=>{let{key:ta}=ua;return Yn===ta});Fn=Object.assign(Object.assign({},Fn),{title:ua=>ie.createElement(oa,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:pe,column:Fn,columnKey:Yn,filterState:Wn,filterMultiple:_t,filterMode:Cn,filterSearch:En,triggerFilter:at,locale:tt,getPopupContainer:Nt},vr(Dt.title,ua))})}return"children"in Fn&&(Fn=Object.assign(Object.assign({},Fn),{children:Lo(ce,pe,Fn.children,_e,tt,at,Nt,Gt)})),Fn})}function Ra(ce){const pe={};return ce.forEach(Re=>{let{key:_e,filteredKeys:tt,column:at}=Re;const{filters:Nt,filterDropdown:Ot}=at;if(Ot)pe[_e]=tt||null;else if(Array.isArray(tt)){const Dt=Xa(Nt);pe[_e]=Dt.filter(Xt=>tt.includes(String(Xt)))}else pe[_e]=null}),pe}function _o(ce,pe){return pe.reduce((Re,_e)=>{const{column:{onFilter:tt,filters:at},filteredKeys:Nt}=_e;return tt&&Nt&&Nt.length?Re.filter(Ot=>Nt.some(Dt=>{const Xt=Xa(at),Gt=Xt.findIndex(Cn=>String(Cn)===String(Dt)),_t=Gt!==-1?Xt[Gt]:Dt;return tt(_t,Ot)})):Re},ce)}const Si=ce=>ce.flatMap(pe=>"children"in pe?[pe].concat((0,an.Z)(Si(pe.children||[]))):[pe]);function ur(ce){let{prefixCls:pe,dropdownPrefixCls:Re,mergedColumns:_e,onFilterChange:tt,getPopupContainer:at,locale:Nt}=ce;const Ot=ie.useMemo(()=>Si(_e||[]),[_e]),[Dt,Xt]=ie.useState(()=>Tr(Ot,!0)),Gt=ie.useMemo(()=>{const Fn=Tr(Ot,!1);if(Fn.length===0)return Fn;let Yn=!0,Wn=!0;if(Fn.forEach(ua=>{let{filteredKeys:ta}=ua;ta!==void 0?Yn=!1:Wn=!1}),Yn){const ua=(Ot||[]).map((ta,pa)=>Ir(ta,Zr(pa)));return Dt.filter(ta=>{let{key:pa}=ta;return ua.includes(pa)}).map(ta=>{const pa=Ot[ua.findIndex($a=>$a===ta.key)];return Object.assign(Object.assign({},ta),{column:Object.assign(Object.assign({},ta.column),pa),forceFiltered:pa.filtered})})}return Fn},[Ot,Dt]),_t=ie.useMemo(()=>Ra(Gt),[Gt]),Cn=Fn=>{const Yn=Gt.filter(Wn=>{let{key:ua}=Wn;return ua!==Fn.key});Yn.push(Fn),Xt(Yn),tt(Ra(Yn),Yn)};return[Fn=>Lo(pe,Re,Fn,Gt,Nt,Cn,at),Gt,_t]}var Uo=ur;function Br(ce,pe,Re){const _e=ie.useRef({});function tt(at){if(!_e.current||_e.current.data!==ce||_e.current.childrenColumnName!==pe||_e.current.getRowKey!==Re){let Ot=function(Dt){Dt.forEach((Xt,Gt)=>{const _t=Re(Xt,Gt);Nt.set(_t,Xt),Xt&&typeof Xt=="object"&&pe in Xt&&Ot(Xt[pe]||[])})};const Nt=new Map;Ot(ce),_e.current={data:ce,childrenColumnName:pe,kvMap:Nt,getRowKey:Re}}return _e.current.kvMap.get(at)}return[tt]}var Jn=te(50371),to=function(ce,pe){var Re={};for(var _e in ce)Object.prototype.hasOwnProperty.call(ce,_e)&&pe.indexOf(_e)<0&&(Re[_e]=ce[_e]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,_e=Object.getOwnPropertySymbols(ce);tt<_e.length;tt++)pe.indexOf(_e[tt])<0&&Object.prototype.propertyIsEnumerable.call(ce,_e[tt])&&(Re[_e[tt]]=ce[_e[tt]]);return Re};const ii=10;function va(ce,pe){const Re={current:ce.current,pageSize:ce.pageSize};return Object.keys(pe&&typeof pe=="object"?pe:{}).forEach(tt=>{const at=ce[tt];typeof at!="function"&&(Re[tt]=at)}),Re}function ca(ce,pe,Re){const _e=Re&&typeof Re=="object"?Re:{},{total:tt=0}=_e,at=to(_e,["total"]),[Nt,Ot]=(0,ie.useState)(()=>({current:"defaultCurrent"in at?at.defaultCurrent:1,pageSize:"defaultPageSize"in at?at.defaultPageSize:ii})),Dt=(0,Jn.Z)(Nt,at,{total:tt>0?tt:ce}),Xt=Math.ceil((tt||ce)/Dt.pageSize);Dt.current>Xt&&(Dt.current=Xt||1);const Gt=(Cn,En)=>{Ot({current:Cn!=null?Cn:1,pageSize:En||Dt.pageSize})},_t=(Cn,En)=>{var Fn;Re&&((Fn=Re.onChange)===null||Fn===void 0||Fn.call(Re,Cn,En)),Gt(Cn,En),pe(Cn,En||(Dt==null?void 0:Dt.pageSize))};return Re===!1?[{},()=>{}]:[Object.assign(Object.assign({},Dt),{onChange:_t}),Gt]}var no=ca,Li=te(84105),kn=te(35654),ea=te(90782),Sa=te(71430),pn=te(18929);const ga={},bn="SELECT_ALL",Vr="SELECT_INVERT",gr="SELECT_NONE",Rr=[],qo=(ce,pe)=>{let Re=[];return(pe||[]).forEach(_e=>{Re.push(_e),_e&&typeof _e=="object"&&ce in _e&&(Re=[].concat((0,an.Z)(Re),(0,an.Z)(qo(ce,_e[ce]))))}),Re};var vo=(ce,pe)=>{const{preserveSelectedRowKeys:Re,selectedRowKeys:_e,defaultSelectedRowKeys:tt,getCheckboxProps:at,onChange:Nt,onSelect:Ot,onSelectAll:Dt,onSelectInvert:Xt,onSelectNone:Gt,onSelectMultiple:_t,columnWidth:Cn,type:En,selections:Fn,fixed:Yn,renderCell:Wn,hideSelectAll:ua,checkStrictly:ta=!0}=pe||{},{prefixCls:pa,data:$a,pageData:ar,getRecordByKey:Za,getRowKey:qa,expandType:Fr,childrenColumnName:Ca,locale:Wa,getPopupContainer:Ba}=ce,[da,ha]=(0,pn.Z)(_e||tt||Rr,{value:_e}),er=ie.useRef(new Map),Kr=(0,ie.useCallback)(cr=>{if(Re){const rr=new Map;cr.forEach(ir=>{let Ya=Za(ir);!Ya&&er.current.has(ir)&&(Ya=er.current.get(ir)),rr.set(ir,Ya)}),er.current=rr}},[Za,Re]);ie.useEffect(()=>{Kr(da)},[da]);const{keyEntities:Lr}=(0,ie.useMemo)(()=>{if(ta)return{keyEntities:null};let cr=$a;if(Re){const rr=new Set($a.map((Ya,Ta)=>qa(Ya,Ta))),ir=Array.from(er.current).reduce((Ya,Ta)=>{let[Ln,ya]=Ta;return rr.has(Ln)?Ya:Ya.concat(ya)},[]);cr=[].concat((0,an.Z)(cr),(0,an.Z)(ir))}return(0,Sa.I8)(cr,{externalGetKey:qa,childrenPropName:Ca})},[$a,qa,ta,Ca,Re]),Ga=(0,ie.useMemo)(()=>qo(Ca,ar),[Ca,ar]),zr=(0,ie.useMemo)(()=>{const cr=new Map;return Ga.forEach((rr,ir)=>{const Ya=qa(rr,ir),Ta=(at?at(rr):null)||{};cr.set(Ya,Ta)}),cr},[Ga,qa,at]),Gr=(0,ie.useCallback)(cr=>{var rr;return!!(!((rr=zr.get(qa(cr)))===null||rr===void 0)&&rr.disabled)},[zr,qa]),[Jr,Yr]=(0,ie.useMemo)(()=>{if(ta)return[da||[],[]];const{checkedKeys:cr,halfCheckedKeys:rr}=(0,ea.S)(da,!0,Lr,Gr);return[cr||[],rr]},[da,ta,Lr,Gr]),Go=(0,ie.useMemo)(()=>{const cr=En==="radio"?Jr.slice(0,1):Jr;return new Set(cr)},[Jr,En]),io=(0,ie.useMemo)(()=>En==="radio"?new Set:new Set(Yr),[Yr,En]),[Sr,ti]=(0,ie.useState)(null);ie.useEffect(()=>{pe||ha(Rr)},[!!pe]);const dr=(0,ie.useCallback)((cr,rr)=>{let ir,Ya;Kr(cr),Re?(ir=cr,Ya=cr.map(Ta=>er.current.get(Ta))):(ir=[],Ya=[],cr.forEach(Ta=>{const Ln=Za(Ta);Ln!==void 0&&(ir.push(Ta),Ya.push(Ln))})),ha(ir),Nt==null||Nt(ir,Ya,{type:rr})},[ha,Za,Nt,Re]),Ro=(0,ie.useCallback)((cr,rr,ir,Ya)=>{if(Ot){const Ta=ir.map(Ln=>Za(Ln));Ot(Za(cr),rr,Ta,Ya)}dr(ir,"single")},[Ot,Za,dr]),Fo=(0,ie.useMemo)(()=>!Fn||ua?null:(Fn===!0?[bn,Vr,gr]:Fn).map(rr=>rr===bn?{key:"all",text:Wa.selectionAll,onSelect(){dr($a.map((ir,Ya)=>qa(ir,Ya)).filter(ir=>{const Ya=zr.get(ir);return!(Ya!=null&&Ya.disabled)||Go.has(ir)}),"all")}}:rr===Vr?{key:"invert",text:Wa.selectInvert,onSelect(){const ir=new Set(Go);ar.forEach((Ta,Ln)=>{const ya=qa(Ta,Ln),Ar=zr.get(ya);Ar!=null&&Ar.disabled||(ir.has(ya)?ir.delete(ya):ir.add(ya))});const Ya=Array.from(ir);Xt&&Xt(Ya),dr(Ya,"invert")}}:rr===gr?{key:"none",text:Wa.selectNone,onSelect(){Gt==null||Gt(),dr(Array.from(Go).filter(ir=>{const Ya=zr.get(ir);return Ya==null?void 0:Ya.disabled}),"none")}}:rr).map(rr=>Object.assign(Object.assign({},rr),{onSelect:function(){for(var ir,Ya,Ta=arguments.length,Ln=new Array(Ta),ya=0;ya{var rr;if(!pe)return cr.filter(Bo=>Bo!==ga);let ir=(0,an.Z)(cr);const Ya=new Set(Go),Ta=Ga.map(qa).filter(Bo=>!zr.get(Bo).disabled),Ln=Ta.every(Bo=>Ya.has(Bo)),ya=Ta.some(Bo=>Ya.has(Bo)),Ar=()=>{const Bo=[];Ln?Ta.forEach(li=>{Ya.delete(li),Bo.push(li)}):Ta.forEach(li=>{Ya.has(li)||(Ya.add(li),Bo.push(li))});const ko=Array.from(Ya);Dt==null||Dt(!Ln,ko.map(li=>Za(li)),Bo.map(li=>Za(li))),dr(ko,"all"),ti(null)};let Xr;if(En!=="radio"){let Bo;if(Fo){const lo={getPopupContainer:Ba,items:Fo.map((Gi,Ni)=>{const{key:Zo,text:fr,onSelect:hi}=Gi;return{key:Zo!=null?Zo:Ni,onClick:()=>{hi==null||hi(Ta)},label:fr}})};Bo=ie.createElement("div",{className:`${pa}-selection-extra`},ie.createElement(Ho.Z,{menu:lo,getPopupContainer:Ba},ie.createElement("span",null,ie.createElement(Li.Z,null))))}const ko=Ga.map((lo,Gi)=>{const Ni=qa(lo,Gi),Zo=zr.get(Ni)||{};return Object.assign({checked:Ya.has(Ni)},Zo)}).filter(lo=>{let{disabled:Gi}=lo;return Gi}),li=!!ko.length&&ko.length===Ga.length,Pi=li&&ko.every(lo=>{let{checked:Gi}=lo;return Gi}),pi=li&&ko.some(lo=>{let{checked:Gi}=lo;return Gi});Xr=!ua&&ie.createElement("div",{className:`${pa}-selection`},ie.createElement(sa.default,{checked:li?Pi:!!Ga.length&&Ln,indeterminate:li?!Pi&&pi:!Ln&&ya,onChange:Ar,disabled:Ga.length===0||li,"aria-label":Bo?"Custom selection":"Select all",skipGroup:!0}),Bo)}let Ii;En==="radio"?Ii=(Bo,ko,li)=>{const Pi=qa(ko,li),pi=Ya.has(Pi);return{node:ie.createElement(Ji.ZP,Object.assign({},zr.get(Pi),{checked:pi,onClick:lo=>lo.stopPropagation(),onChange:lo=>{Ya.has(Pi)||Ro(Pi,!0,[Pi],lo.nativeEvent)}})),checked:pi}}:Ii=(Bo,ko,li)=>{var Pi;const pi=qa(ko,li),lo=Ya.has(pi),Gi=io.has(pi),Ni=zr.get(pi);let Zo;return Fr==="nest"?Zo=Gi:Zo=(Pi=Ni==null?void 0:Ni.indeterminate)!==null&&Pi!==void 0?Pi:Gi,{node:ie.createElement(sa.default,Object.assign({},Ni,{indeterminate:Zo,checked:lo,skipGroup:!0,onClick:fr=>fr.stopPropagation(),onChange:fr=>{let{nativeEvent:hi}=fr;const{shiftKey:Ri}=hi;let sl=-1,el=-1;if(Ri&&ta){const Qi=new Set([Sr,pi]);Ta.some((_i,yi)=>{if(Qi.has(_i))if(sl===-1)sl=yi;else return el=yi,!0;return!1})}if(el!==-1&&sl!==el&&ta){const Qi=Ta.slice(sl,el+1),_i=[];lo?Qi.forEach(gi=>{Ya.has(gi)&&(_i.push(gi),Ya.delete(gi))}):Qi.forEach(gi=>{Ya.has(gi)||(_i.push(gi),Ya.add(gi))});const yi=Array.from(Ya);_t==null||_t(!lo,yi.map(gi=>Za(gi)),_i.map(gi=>Za(gi))),dr(yi,"multiple")}else{const Qi=Jr;if(ta){const _i=lo?(0,kn._5)(Qi,pi):(0,kn.L0)(Qi,pi);Ro(pi,!lo,_i,hi)}else{const _i=(0,ea.S)([].concat((0,an.Z)(Qi),[pi]),!0,Lr,Gr),{checkedKeys:yi,halfCheckedKeys:gi}=_i;let ol=yi;if(lo){const fl=new Set(yi);fl.delete(pi),ol=(0,ea.S)(Array.from(fl),{checked:!1,halfCheckedKeys:gi},Lr,Gr).checkedKeys}Ro(pi,!lo,ol,hi)}}ti(lo?null:pi)}})),checked:lo}};const xi=(Bo,ko,li)=>{const{node:Pi,checked:pi}=Ii(Bo,ko,li);return Wn?Wn(pi,ko,li,Pi):Pi};if(!ir.includes(ga))if(ir.findIndex(Bo=>{var ko;return((ko=Bo[nn])===null||ko===void 0?void 0:ko.columnType)==="EXPAND_COLUMN"})===0){const[Bo,...ko]=ir;ir=[Bo,ga].concat((0,an.Z)(ko))}else ir=[ga].concat((0,an.Z)(ir));const $i=ir.indexOf(ga);ir=ir.filter((Bo,ko)=>Bo!==ga||ko===$i);const si=ir[$i-1],oi=ir[$i+1];let lr=Yn;lr===void 0&&((oi==null?void 0:oi.fixed)!==void 0?lr=oi.fixed:(si==null?void 0:si.fixed)!==void 0&&(lr=si.fixed)),lr&&si&&((rr=si[nn])===null||rr===void 0?void 0:rr.columnType)==="EXPAND_COLUMN"&&si.fixed===void 0&&(si.fixed=lr);const Ti=Ze()(`${pa}-selection-col`,{[`${pa}-selection-col-with-dropdown`]:Fn&&En==="checkbox"}),Ki={fixed:lr,width:Cn,className:`${pa}-selection-column`,title:pe.columnTitle||Xr,render:xi,onCell:pe.onCell,[nn]:{className:Ti}};return ir.map(Bo=>Bo===ga?Ki:Bo)},[qa,Ga,pe,Jr,Go,io,Cn,Fo,Fr,Sr,zr,_t,Ro,Gr]),Go]},Ea=te(89489),co=te(59477),Oo=te(6848);const xo="ascend",yn="descend";function na(ce){return typeof ce.sorter=="object"&&typeof ce.sorter.multiple=="number"?ce.sorter.multiple:!1}function Na(ce){return typeof ce=="function"?ce:ce&&typeof ce=="object"&&ce.compare?ce.compare:!1}function jn(ce,pe){return pe?ce[ce.indexOf(pe)+1]:ce[0]}function xa(ce,pe,Re){let _e=[];function tt(at,Nt){_e.push({column:at,key:Ir(at,Nt),multiplePriority:na(at),sortOrder:at.sortOrder})}return(ce||[]).forEach((at,Nt)=>{const Ot=Zr(Nt,Re);at.children?("sortOrder"in at&&tt(at,Ot),_e=[].concat((0,an.Z)(_e),(0,an.Z)(xa(at.children,pe,Ot)))):at.sorter&&("sortOrder"in at?tt(at,Ot):pe&&at.defaultSortOrder&&_e.push({column:at,key:Ir(at,Ot),multiplePriority:na(at),sortOrder:at.defaultSortOrder}))}),_e}function xr(ce,pe,Re,_e,tt,at,Nt,Ot){return(pe||[]).map((Dt,Xt)=>{const Gt=Zr(Xt,Ot);let _t=Dt;if(_t.sorter){const Cn=_t.sortDirections||tt,En=_t.showSorterTooltip===void 0?Nt:_t.showSorterTooltip,Fn=Ir(_t,Gt),Yn=Re.find(Fr=>{let{key:Ca}=Fr;return Ca===Fn}),Wn=Yn?Yn.sortOrder:null,ua=jn(Cn,Wn);let ta;if(Dt.sortIcon)ta=Dt.sortIcon({sortOrder:Wn});else{const Fr=Cn.includes(xo)&&ie.createElement(co.Z,{className:Ze()(`${ce}-column-sorter-up`,{active:Wn===xo})}),Ca=Cn.includes(yn)&&ie.createElement(Ea.Z,{className:Ze()(`${ce}-column-sorter-down`,{active:Wn===yn})});ta=ie.createElement("span",{className:Ze()(`${ce}-column-sorter`,{[`${ce}-column-sorter-full`]:!!(Fr&&Ca)})},ie.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Fr,Ca))}const{cancelSort:pa,triggerAsc:$a,triggerDesc:ar}=at||{};let Za=pa;ua===yn?Za=ar:ua===xo&&(Za=$a);const qa=typeof En=="object"?En:{title:Za};_t=Object.assign(Object.assign({},_t),{className:Ze()(_t.className,{[`${ce}-column-sort`]:Wn}),title:Fr=>{const Ca=ie.createElement("div",{className:`${ce}-column-sorters`},ie.createElement("span",{className:`${ce}-column-title`},vr(Dt.title,Fr)),ta);return En?ie.createElement(Oo.Z,Object.assign({},qa),Ca):Ca},onHeaderCell:Fr=>{const Ca=Dt.onHeaderCell&&Dt.onHeaderCell(Fr)||{},Wa=Ca.onClick,Ba=Ca.onKeyDown;Ca.onClick=er=>{_e({column:Dt,key:Fn,sortOrder:ua,multiplePriority:na(Dt)}),Wa==null||Wa(er)},Ca.onKeyDown=er=>{er.keyCode===Vt.Z.ENTER&&(_e({column:Dt,key:Fn,sortOrder:ua,multiplePriority:na(Dt)}),Ba==null||Ba(er))};const da=br(Dt.title,{}),ha=da==null?void 0:da.toString();return Wn?Ca["aria-sort"]=Wn==="ascend"?"ascending":"descending":Ca["aria-label"]=ha||"",Ca.className=Ze()(Ca.className,`${ce}-column-has-sorters`),Ca.tabIndex=0,Dt.ellipsis&&(Ca.title=(da!=null?da:"").toString()),Ca}})}return"children"in _t&&(_t=Object.assign(Object.assign({},_t),{children:xr(ce,_t.children,Re,_e,tt,at,Nt,Gt)})),_t})}function wr(ce){const{column:pe,sortOrder:Re}=ce;return{column:pe,order:Re,field:pe.dataIndex,columnKey:pe.key}}function Eo(ce){const pe=ce.filter(Re=>{let{sortOrder:_e}=Re;return _e}).map(wr);return pe.length===0&&ce.length?Object.assign(Object.assign({},wr(ce[ce.length-1])),{column:void 0}):pe.length<=1?pe[0]||{}:pe}function ei(ce,pe,Re){const _e=pe.slice().sort((Nt,Ot)=>Ot.multiplePriority-Nt.multiplePriority),tt=ce.slice(),at=_e.filter(Nt=>{let{column:{sorter:Ot},sortOrder:Dt}=Nt;return Na(Ot)&&Dt});return at.length?tt.sort((Nt,Ot)=>{for(let Dt=0;Dt{const Ot=Nt[Re];return Ot?Object.assign(Object.assign({},Nt),{[Re]:ei(Ot,pe,Re)}):Nt}):tt}function Bi(ce){let{prefixCls:pe,mergedColumns:Re,onSorterChange:_e,sortDirections:tt,tableLocale:at,showSorterTooltip:Nt}=ce;const[Ot,Dt]=ie.useState(xa(Re,!0)),Xt=ie.useMemo(()=>{let Fn=!0;const Yn=xa(Re,!1);if(!Yn.length)return Ot;const Wn=[];function ua(pa){Fn?Wn.push(pa):Wn.push(Object.assign(Object.assign({},pa),{sortOrder:null}))}let ta=null;return Yn.forEach(pa=>{ta===null?(ua(pa),pa.sortOrder&&(pa.multiplePriority===!1?Fn=!1:ta=!0)):(ta&&pa.multiplePriority!==!1||(Fn=!1),ua(pa))}),Wn},[Re,Ot]),Gt=ie.useMemo(()=>{const Fn=Xt.map(Yn=>{let{column:Wn,sortOrder:ua}=Yn;return{column:Wn,order:ua}});return{sortColumns:Fn,sortColumn:Fn[0]&&Fn[0].column,sortOrder:Fn[0]&&Fn[0].order}},[Xt]);function _t(Fn){let Yn;Fn.multiplePriority===!1||!Xt.length||Xt[0].multiplePriority===!1?Yn=[Fn]:Yn=[].concat((0,an.Z)(Xt.filter(Wn=>{let{key:ua}=Wn;return ua!==Fn.key})),[Fn]),Dt(Yn),_e(Eo(Yn),Yn)}return[Fn=>xr(pe,Fn,Xt,_t,tt,at,Nt),Xt,Gt,()=>Eo(Xt)]}function ji(ce,pe){return ce.map(Re=>{const _e=Object.assign({},Re);return _e.title=vr(Re.title,pe),"children"in _e&&(_e.children=ji(_e.children,pe)),_e})}function qi(ce){return[ie.useCallback(Re=>ji(Re,ce),[ce])]}var wl=Er((ce,pe)=>{const{_renderTimes:Re}=ce,{_renderTimes:_e}=pe;return Re!==_e}),vl=Te((ce,pe)=>{const{_renderTimes:Re}=ce,{_renderTimes:_e}=pe;return Re!==_e}),Sl=te(64993),Fl=te(17313),uu=te(83116),su=te(37613),de=ce=>{const{componentCls:pe}=ce,Re=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,_e=(tt,at,Nt)=>({[`&${pe}-${tt}`]:{[`> ${pe}-container`]:{[`> ${pe}-content, > ${pe}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${pe}-expanded-row-fixed`]:{margin:`-${at}px -${Nt+ce.lineWidth}px`}}}}}});return{[`${pe}-wrapper`]:{[`${pe}${pe}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${pe}-title`]:{border:Re,borderBottom:0},[`> ${pe}-container`]:{borderInlineStart:Re,borderTop:Re,[` > ${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:Re},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Re},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${pe}-cell-fix-right-first::after`]:{borderInlineEnd:Re}},"\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:Re,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:Re,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:Re}}}},Ve=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"}})}}},Tt=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}}}}},xt=te(15969),on=ce=>{const{componentCls:pe,antCls:Re,controlInteractiveSize:_e,motionDurationSlow:tt,lineWidth:at,paddingXS:Nt,lineType:Ot,tableBorderColor:Dt,tableExpandIconBg:Xt,tableExpandColumnWidth:Gt,borderRadius:_t,fontSize:Cn,fontSizeSM:En,lineHeight:Fn,tablePaddingVertical:Yn,tablePaddingHorizontal:Wn,tableExpandedRowBg:ua,paddingXXS:ta}=ce,pa=_e/2-at,$a=pa*2+at*3,ar=`${at}px ${Ot} ${Dt}`,Za=ta-at;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,xt.N)(ce)),{position:"relative",float:"left",boxSizing:"border-box",width:$a,height:$a,padding:0,color:"inherit",lineHeight:`${$a}px`,background:Xt,border:ar,borderRadius:_t,transform:`scale(${_e/$a})`,transition:`all ${tt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${tt} ease-out`,content:'""'},"&::before":{top:pa,insetInlineEnd:Za,insetInlineStart:Za,height:at},"&::after":{top:Za,bottom:Za,insetInlineStart:pa,width:at,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:(Cn*Fn-at*3)/2-Math.ceil((En*1.4-at*3)/2),marginInlineEnd:Nt},[`tr${pe}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ua}},[`${Re}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${pe}-expanded-row-fixed`]:{position:"relative",margin:`-${Yn}px -${Wn}px`,padding:`${Yn}px ${Wn}px`}}}},ia=ce=>{const{componentCls:pe,antCls:Re,iconCls:_e,tableFilterDropdownWidth:tt,tableFilterDropdownSearchWidth:at,paddingXXS:Nt,paddingXS:Ot,colorText:Dt,lineWidth:Xt,lineType:Gt,tableBorderColor:_t,tableHeaderIconColor:Cn,fontSizeSM:En,tablePaddingHorizontal:Fn,borderRadius:Yn,motionDurationSlow:Wn,colorTextDescription:ua,colorPrimary:ta,tableHeaderFilterActiveBg:pa,colorTextDisabled:$a,tableFilterDropdownBg:ar,tableFilterDropdownHeight:Za,controlItemBgHover:qa,controlItemBgActive:Fr,boxShadowSecondary:Ca,filterDropdownMenuBg:Wa}=ce,Ba=`${Re}-dropdown`,da=`${pe}-filter-dropdown`,ha=`${Re}-tree`,er=`${Xt}px ${Gt} ${_t}`;return[{[`${pe}-wrapper`]:{[`${pe}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${pe}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Nt,marginInline:`${Nt}px ${-Fn/2}px`,padding:`0 ${Nt}px`,color:Cn,fontSize:En,borderRadius:Yn,cursor:"pointer",transition:`all ${Wn}`,"&:hover":{color:ua,background:pa},"&.active":{color:ta}}}},{[`${Re}-dropdown`]:{[da]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{minWidth:tt,backgroundColor:ar,borderRadius:Yn,boxShadow:Ca,overflow:"hidden",[`${Ba}-menu`]:{maxHeight:Za,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Wa,"&:empty::after":{display:"block",padding:`${Ot}px 0`,color:$a,fontSize:En,textAlign:"center",content:'"Not Found"'}},[`${da}-tree`]:{paddingBlock:`${Ot}px 0`,paddingInline:Ot,[ha]:{padding:0},[`${ha}-treenode ${ha}-node-content-wrapper:hover`]:{backgroundColor:qa},[`${ha}-treenode-checkbox-checked ${ha}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Fr}}},[`${da}-search`]:{padding:Ot,borderBottom:er,"&-input":{input:{minWidth:at},[_e]:{color:$a}}},[`${da}-checkall`]:{width:"100%",marginBottom:Nt,marginInlineStart:Nt},[`${da}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ot-Xt}px ${Ot}px`,overflow:"hidden",borderTop:er}})}},{[`${Re}-dropdown ${da}, ${da}-submenu`]:{[`${Re}-checkbox-wrapper + span`]:{paddingInlineStart:Ot,color:Dt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},In=ce=>{const{componentCls:pe,lineWidth:Re,colorSplit:_e,motionDurationSlow:tt,zIndexTableFixed:at,tableBg:Nt,zIndexTableSticky:Ot}=ce,Dt=_e;return{[`${pe}-wrapper`]:{[` ${pe}-cell-fix-left, ${pe}-cell-fix-right `]:{position:"sticky !important",zIndex:at,background:Nt},[` ${pe}-cell-fix-left-first::after, ${pe}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Re,width:30,transform:"translateX(100%)",transition:`box-shadow ${tt}`,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:-Re,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${tt}`,content:'""',pointerEvents:"none"},[`${pe}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ot+1,width:30,transition:`box-shadow ${tt}`,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 ${Dt}`}},[` ${pe}-cell-fix-left-first::after, ${pe}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Dt}`},[`${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 ${Dt}`}},[` ${pe}-cell-fix-right-first::after, ${pe}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Dt}`}}}}},Gn=ce=>{const{componentCls:pe,antCls:Re}=ce;return{[`${pe}-wrapper`]:{[`${pe}-pagination${Re}-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"}}}}},wn=ce=>{const{componentCls:pe,tableRadius:Re}=ce;return{[`${pe}-wrapper`]:{[pe]:{[`${pe}-title, ${pe}-header`]:{borderRadius:`${Re}px ${Re}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:Re,borderStartEndRadius:Re,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Re},"> *:last-child":{borderStartEndRadius:Re}}},"&-footer":{borderRadius:`0 0 ${Re}px ${Re}px`}}}}},ka=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:Re,iconCls:_e,fontSizeIcon:tt,padding:at,paddingXS:Nt,tableHeaderIconColor:Ot,tableHeaderIconColorHover:Dt,tableSelectionColumnWidth:Xt}=ce;return{[`${pe}-wrapper`]:{[`${pe}-selection-col`]:{width:Xt,[`&${pe}-selection-col-with-dropdown`]:{width:Xt+tt+at/4}},[`${pe}-bordered ${pe}-selection-col`]:{width:Xt+Nt*2,[`&${pe}-selection-col-with-dropdown`]:{width:Xt+tt+at/4+Nt*2}},[` table tr th${pe}-selection-column, table tr td${pe}-selection-column `]:{paddingInlineEnd:ce.paddingXS,paddingInlineStart:ce.paddingXS,textAlign:"center",[`${Re}-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:Ot,fontSize:tt,verticalAlign:"baseline","&:hover":{color:Dt}}}}}},Ha=ce=>{const{componentCls:pe}=ce,Re=(_e,tt,at,Nt)=>({[`${pe}${pe}-${_e}`]:{fontSize:Nt,[` ${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:`${tt}px ${at}px`},[`${pe}-filter-trigger`]:{marginInlineEnd:`-${at/2}px`},[`${pe}-expanded-row-fixed`]:{margin:`-${tt}px -${at}px`},[`${pe}-tbody`]:{[`${pe}-wrapper:only-child ${pe}`]:{marginBlock:`-${tt}px`,marginInline:`${ce.tableExpandColumnWidth-at}px -${at}px`}},[`${pe}-selection-column`]:{paddingInlineStart:`${at/4}px`}}});return{[`${pe}-wrapper`]:Object.assign(Object.assign({},Re("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle,ce.tableFontSizeMiddle)),Re("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall,ce.tableFontSizeSmall))}},so=ce=>{const{componentCls:pe,marginXXS:Re,fontSizeIcon:_e,tableHeaderIconColor:tt,tableHeaderIconColorHover:at}=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:Re,color:tt,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:at}}}},mo=ce=>{const{componentCls:pe,opacityLoading:Re,tableScrollThumbBg:_e,tableScrollThumbBgHover:tt,tableScrollThumbSize:at,tableScrollBg:Nt,zIndexTableSticky:Ot,stickyScrollBarBorderRadius:Dt}=ce,Xt=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${pe}-wrapper`]:{[`${pe}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ot,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${at}px !important`,zIndex:Ot,display:"flex",alignItems:"center",background:Nt,borderTop:Xt,opacity:Re,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:at,backgroundColor:_e,borderRadius:Dt,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:tt}}}}}}},Ko=ce=>{const{componentCls:pe,lineWidth:Re,tableBorderColor:_e}=ce,tt=`${Re}px ${ce.lineType} ${_e}`;return{[`${pe}-wrapper`]:{[`${pe}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:tt}}},[`div${pe}-summary`]:{boxShadow:`0 -${Re}px 0 ${_e}`}}}},mi=ce=>{const{componentCls:pe}=ce,Re=`${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:Re},[`${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:Re,position:"absolute"},[`${pe}-cell`]:{borderInlineEnd:Re,[`&${pe}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ce.lineWidth,borderInlineStart:Re}}}}}}};const jo=ce=>{const{componentCls:pe,fontWeightStrong:Re,tablePaddingVertical:_e,tablePaddingHorizontal:tt,lineWidth:at,lineType:Nt,tableBorderColor:Ot,tableFontSize:Dt,tableBg:Xt,tableRadius:Gt,tableHeaderTextColor:_t,motionDurationMid:Cn,tableHeaderBg:En,tableHeaderCellSplitColor:Fn,tableRowHoverBg:Yn,tableSelectedRowBg:Wn,tableSelectedRowHoverBg:ua,tableFooterTextColor:ta,tableFooterBg:pa,paddingContentVerticalLG:$a}=ce,ar=`${at}px ${Nt} ${Ot}`;return{[`${pe}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Fl.dF)()),{[pe]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{fontSize:Dt,background:Xt,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:`${$a}px ${tt}px`,overflowWrap:"break-word"},[`${pe}-title`]:{padding:`${_e}px ${tt}px`},[`${pe}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:_t,fontWeight:Re,textAlign:"start",background:En,borderBottom:ar,transition:`background ${Cn} 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:Fn,transform:"translateY(-50%)",transition:`background-color ${Cn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${pe}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Cn}, border-color ${Cn}`,borderBottom:ar,[` > ${pe}-wrapper:only-child, > ${pe}-expanded-row-fixed > ${pe}-wrapper:only-child `]:{[pe]:{marginBlock:`-${_e}px`,marginInline:`${ce.tableExpandColumnWidth-tt}px -${tt}px`,[`${pe}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:_t,fontWeight:Re,textAlign:"start",background:En,borderBottom:ar,transition:`background ${Cn} ease`},[` &${pe}-row:hover > th, &${pe}-row:hover > td, > th${pe}-cell-row-hover, > td${pe}-cell-row-hover `]:{background:Yn},[`&${pe}-row-selected`]:{"> th, > td":{background:Wn},"&:hover > th, &:hover > td":{background:ua}}}},[`${pe}-footer`]:{padding:`${_e}px ${tt}px`,color:ta,background:pa}})}};var Co=(0,uu.Z)("Table",ce=>{const{colorTextHeading:pe,colorSplit:Re,colorIcon:_e,colorIconHover:tt,opacityLoading:at,colorBgContainer:Nt,controlInteractiveSize:Ot,headerBg:Dt,headerColor:Xt,headerSortActiveBg:Gt,headerSortHoverBg:_t,bodySortBg:Cn,rowHoverBg:En,rowSelectedBg:Fn,rowSelectedHoverBg:Yn,rowExpandedBg:Wn,cellPaddingBlock:ua,cellPaddingInline:ta,cellPaddingBlockMD:pa,cellPaddingInlineMD:$a,cellPaddingBlockSM:ar,cellPaddingInlineSM:Za,borderColor:qa,footerBg:Fr,footerColor:Ca,headerBorderRadius:Wa,cellFontSize:Ba,cellFontSizeMD:da,cellFontSizeSM:ha,headerSplitColor:er,fixedHeaderSortActiveBg:Kr,headerFilterHoverBg:Lr,filterDropdownBg:Ga,expandIconBg:zr,selectionColumnWidth:Gr,stickyScrollBarBg:Jr}=ce,Yr=new Sl.C(_e),Go=new Sl.C(tt),io=2,Sr=(0,su.TS)(ce,{tableFontSize:Ba,tableBg:Nt,tableRadius:Wa,tablePaddingVertical:ua,tablePaddingHorizontal:ta,tablePaddingVerticalMiddle:pa,tablePaddingHorizontalMiddle:$a,tablePaddingVerticalSmall:ar,tablePaddingHorizontalSmall:Za,tableBorderColor:qa,tableHeaderTextColor:Xt,tableHeaderBg:Dt,tableFooterTextColor:Ca,tableFooterBg:Fr,tableHeaderCellSplitColor:er,tableHeaderSortBg:Gt,tableHeaderSortHoverBg:_t,tableHeaderIconColor:Yr.clone().setAlpha(Yr.getAlpha()*at).toRgbString(),tableHeaderIconColorHover:Go.clone().setAlpha(Go.getAlpha()*at).toRgbString(),tableBodySortBg:Cn,tableFixedHeaderSortActiveBg:Kr,tableHeaderFilterActiveBg:Lr,tableFilterDropdownBg:Ga,tableRowHoverBg:En,tableSelectedRowBg:Fn,tableSelectedRowHoverBg:Yn,zIndexTableFixed:io,zIndexTableSticky:io+1,tableFontSizeMiddle:da,tableFontSizeSmall:ha,tableSelectionColumnWidth:Gr,tableExpandIconBg:zr,tableExpandColumnWidth:Ot+2*ce.padding,tableExpandedRowBg:Wn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Jr,tableScrollThumbBgHover:pe,tableScrollBg:Re});return[jo(Sr),Gn(Sr),Ko(Sr),so(Sr),ia(Sr),de(Sr),wn(Sr),on(Sr),Ko(Sr),Tt(Sr),za(Sr),In(Sr),mo(Sr),Ve(Sr),Ha(Sr),ka(Sr),mi(Sr)]},ce=>{const{colorFillAlter:pe,colorBgContainer:Re,colorTextHeading:_e,colorFillSecondary:tt,colorFillContent:at,controlItemBgActive:Nt,controlItemBgActiveHover:Ot,padding:Dt,paddingSM:Xt,paddingXS:Gt,colorBorderSecondary:_t,borderRadiusLG:Cn,fontSize:En,controlHeight:Fn,colorTextPlaceholder:Yn}=ce,Wn=new Sl.C(tt).onBackground(Re).toHexShortString(),ua=new Sl.C(at).onBackground(Re).toHexShortString(),ta=new Sl.C(pe).onBackground(Re).toHexShortString();return{headerBg:ta,headerColor:_e,headerSortActiveBg:Wn,headerSortHoverBg:ua,bodySortBg:ta,rowHoverBg:ta,rowSelectedBg:Nt,rowSelectedHoverBg:Ot,rowExpandedBg:pe,cellPaddingBlock:Dt,cellPaddingInline:Dt,cellPaddingBlockMD:Xt,cellPaddingInlineMD:Gt,cellPaddingBlockSM:Gt,cellPaddingInlineSM:Gt,borderColor:_t,headerBorderRadius:Cn,footerBg:ta,footerColor:_e,cellFontSize:En,cellFontSizeMD:En,cellFontSizeSM:En,headerSplitColor:_t,fixedHeaderSortActiveBg:Wn,headerFilterHoverBg:at,filterDropdownMenuBg:Re,filterDropdownBg:Re,expandIconBg:Re,selectionColumnWidth:Fn,stickyScrollBarBg:Yn,stickyScrollBarBorderRadius:100}});const wo=[],Vo=(ce,pe)=>{const{prefixCls:Re,className:_e,rootClassName:tt,style:at,size:Nt,bordered:Ot,dropdownPrefixCls:Dt,dataSource:Xt,pagination:Gt,rowSelection:_t,rowKey:Cn="key",rowClassName:En,columns:Fn,children:Yn,childrenColumnName:Wn,onChange:ua,getPopupContainer:ta,loading:pa,expandIcon:$a,expandable:ar,expandedRowRender:Za,expandIconColumnIndex:qa,indentSize:Fr,scroll:Ca,sortDirections:Wa,locale:Ba,showSorterTooltip:da=!0,virtual:ha}=ce,er=ie.useMemo(()=>Fn||Lt(Yn),[Fn,Yn]),Kr=ie.useMemo(()=>er.some(So=>So.responsive),[er]),Lr=(0,Nr.Z)(Kr),Ga=ie.useMemo(()=>{const So=new Set(Object.keys(Lr).filter(Xo=>Lr[Xo]));return er.filter(Xo=>!Xo.responsive||Xo.responsive.some(ki=>So.has(ki)))},[er,Lr]),zr=(0,Qn.Z)(ce,["className","style","columns"]),{locale:Gr=Mo.Z,direction:Jr,table:Yr,renderEmpty:Go,getPrefixCls:io,getPopupContainer:Sr}=ie.useContext(Fa.E_),ti=(0,Or.Z)(Nt),dr=Object.assign(Object.assign({},Gr.Table),Ba),Ro=Xt||wo,Fo=io("table",Re),fi=io("dropdown",Dt),cr=Object.assign({childrenColumnName:Wn,expandIconColumnIndex:qa},ar),{childrenColumnName:rr="children"}=cr,ir=ie.useMemo(()=>Ro.some(So=>So==null?void 0:So[rr])?"nest":Za||ar&&ar.expandedRowRender?"row":null,[Ro]),Ya={body:ie.useRef()},Ta=ie.useMemo(()=>typeof Cn=="function"?Cn:So=>So==null?void 0:So[Cn],[Cn]),[Ln]=Br(Ro,rr,Ta),ya={},Ar=function(So,Xo){let ki=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var di,Ui,Vi;const Yi=Object.assign(Object.assign({},ya),So);ki&&((di=ya.resetPagination)===null||di===void 0||di.call(ya),!((Ui=Yi.pagination)===null||Ui===void 0)&&Ui.current&&(Yi.pagination.current=1),Gt&&Gt.onChange&&Gt.onChange(1,(Vi=Yi.pagination)===null||Vi===void 0?void 0:Vi.pageSize)),Ca&&Ca.scrollToFirstRowOnChange!==!1&&Ya.body.current&&(0,ba.Z)(0,{getContainer:()=>Ya.body.current}),ua==null||ua(Yi.pagination,Yi.filters,Yi.sorter,{currentDataSource:_o(ei(Ro,Yi.sorterStates,rr),Yi.filterStates),action:Xo})},Xr=(So,Xo)=>{Ar({sorter:So,sorterStates:Xo},"sort",!1)},[Ii,xi,$i,si]=Bi({prefixCls:Fo,mergedColumns:Ga,onSorterChange:Xr,sortDirections:Wa||["ascend","descend"],tableLocale:dr,showSorterTooltip:da}),oi=ie.useMemo(()=>ei(Ro,xi,rr),[Ro,xi]);ya.sorter=si(),ya.sorterStates=xi;const lr=(So,Xo)=>{Ar({filters:So,filterStates:Xo},"filter",!0)},[Ti,Ki,Bo]=Uo({prefixCls:Fo,locale:dr,dropdownPrefixCls:fi,mergedColumns:Ga,onFilterChange:lr,getPopupContainer:ta||Sr}),ko=_o(oi,Ki);ya.filters=Bo,ya.filterStates=Ki;const li=ie.useMemo(()=>{const So={};return Object.keys(Bo).forEach(Xo=>{Bo[Xo]!==null&&(So[Xo]=Bo[Xo])}),Object.assign(Object.assign({},$i),{filters:So})},[$i,Bo]),[Pi]=qi(li),pi=(So,Xo)=>{Ar({pagination:Object.assign(Object.assign({},ya.pagination),{current:So,pageSize:Xo})},"paginate")},[lo,Gi]=no(ko.length,pi,Gt);ya.pagination=Gt===!1?{}:va(lo,Gt),ya.resetPagination=Gi;const Ni=ie.useMemo(()=>{if(Gt===!1||!lo.pageSize)return ko;const{current:So=1,total:Xo,pageSize:ki=ii}=lo;return ko.lengthki?ko.slice((So-1)*ki,So*ki):ko:ko.slice((So-1)*ki,So*ki)},[!!Gt,ko,lo&&lo.current,lo&&lo.pageSize,lo&&lo.total]),[Zo,fr]=vo({prefixCls:Fo,data:ko,pageData:Ni,getRowKey:Ta,getRecordByKey:Ln,expandType:ir,childrenColumnName:rr,locale:dr,getPopupContainer:ta||Sr},_t),hi=(So,Xo,ki)=>{let di;return typeof En=="function"?di=Ze()(En(So,Xo,ki)):di=Ze()(En),Ze()({[`${Fo}-row-selected`]:fr.has(Ta(So,Xo))},di)};cr.__PARENT_RENDER_ICON__=cr.expandIcon,cr.expandIcon=cr.expandIcon||$a||aa(dr),ir==="nest"&&cr.expandIconColumnIndex===void 0?cr.expandIconColumnIndex=_t?1:0:cr.expandIconColumnIndex>0&&_t&&(cr.expandIconColumnIndex-=1),typeof cr.indentSize!="number"&&(cr.indentSize=typeof Fr=="number"?Fr:15);const Ri=ie.useCallback(So=>Pi(Zo(Ti(Ii(So)))),[Ii,Ti,Zo]);let sl,el;if(Gt!==!1&&(lo!=null&&lo.total)){let So;lo.size?So=lo.size:So=ti==="small"||ti==="middle"?"small":void 0;const Xo=Ui=>ie.createElement(Ur.Z,Object.assign({},lo,{className:Ze()(`${Fo}-pagination ${Fo}-pagination-${Ui}`,lo.className),size:So})),ki=Jr==="rtl"?"left":"right",{position:di}=lo;if(di!==null&&Array.isArray(di)){const Ui=di.find(ll=>ll.includes("top")),Vi=di.find(ll=>ll.includes("bottom")),Yi=di.every(ll=>`${ll}`=="none");!Ui&&!Vi&&!Yi&&(el=Xo(ki)),Ui&&(sl=Xo(Ui.toLowerCase().replace("top",""))),Vi&&(el=Xo(Vi.toLowerCase().replace("bottom","")))}else el=Xo(ki)}let Qi;typeof pa=="boolean"?Qi={spinning:pa}:typeof pa=="object"&&(Qi=Object.assign({spinning:!0},pa));const[_i,yi]=Co(Fo),[,gi]=(0,Vn.Z)(),ol=Ze()(`${Fo}-wrapper`,Yr==null?void 0:Yr.className,{[`${Fo}-wrapper-rtl`]:Jr==="rtl"},_e,tt,yi),fl=Object.assign(Object.assign({},Yr==null?void 0:Yr.style),at),al=Ba&&Ba.emptyText||(Go==null?void 0:Go("Table"))||ie.createElement(fa.Z,{componentName:"Table"}),il=ha?vl:wl,Cl={},Tl=ie.useMemo(()=>{const{fontSize:So,lineHeight:Xo,padding:ki,paddingXS:di,paddingSM:Ui}=gi,Vi=Math.floor(So*Xo);switch(ti){case"large":return ki*2+Vi;case"small":return di*2+Vi;default:return Ui*2+Vi}},[gi,ti]);return ha&&(Cl.listItemHeight=Tl),_i(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:Ga,direction:Jr,expandable:cr,prefixCls:Fo,className:Ze()({[`${Fo}-middle`]:ti==="middle",[`${Fo}-small`]:ti==="small",[`${Fo}-bordered`]:Ot,[`${Fo}-empty`]:Ro.length===0}),data:Ni,rowKey:Ta,rowClassName:hi,emptyText:al,internalHooks:se,internalRefs:Ya,transformColumns:Ri})),el)))};var ri=ie.forwardRef(Vo);const To=(ce,pe)=>{const Re=ie.useRef(0);return Re.current+=1,ie.createElement(ri,Object.assign({},ce,{ref:pe,_renderTimes:Re.current}))},zo=ie.forwardRef(To);zo.SELECTION_COLUMN=ga,zo.EXPAND_COLUMN=z,zo.SELECTION_ALL=bn,zo.SELECTION_INVERT=Vr,zo.SELECTION_NONE=gr,zo.Column=en,zo.ColumnGroup=Dn,zo.Summary=Be;var Oi=zo,bi=Oi},17574:function(bt,Pt,te){"use strict";te.d(Pt,{default:function(){return nt}});var z=te(23130),se=te(26407),ve=te(52671),Ne=te(8657),be=te(92413),Ie=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"},qe=ie,He=te(7657),ke=function(ht,Rt){return Ie.createElement(He.Z,(0,be.Z)({},ht,{ref:Rt,icon:qe}))},ze=Ie.forwardRef(ke),Me=ze,ye=te(92310),re=te.n(ye),a=te(35654),y=te(71430),b=te(36355),E=te(56082),x=te(62892),ee=te(20648);const ne=4;function oe(et){const{dropPosition:ht,dropLevelOffset:Rt,prefixCls:Qt,indent:Je,direction:it="ltr"}=et,Bt=it==="ltr"?"left":"right",Mt=it==="ltr"?"right":"left",St={[Bt]:-Rt*Je+ne,[Mt]:0};switch(ht){case-1:St.top=-3;break;case 1:St.bottom=-3;break;default:St.bottom=-3,St[Bt]=Je+ne;break}return Ie.createElement("div",{style:St,className:`${Qt}-drop-indicator`})}var ae=te(71997),me=Ie.forwardRef((et,ht)=>{const{getPrefixCls:Rt,direction:Qt,virtual:Je,tree:it}=Ie.useContext(b.E_),{prefixCls:Bt,className:Mt,showIcon:St=!1,showLine:cn,switcherIcon:Fe,blockNode:$t=!1,children:Yt,checkable:vt=!1,selectable:tn=!0,draggable:dt,motion:ct,style:rt}=et,Oe=Rt("tree",Bt),pt=Rt(),ut=ct!=null?ct:Object.assign(Object.assign({},(0,x.Z)(pt)),{motionAppear:!1}),Be=Object.assign(Object.assign({},et),{checkable:vt,selectable:tn,showIcon:St,motion:ut,blockNode:$t,showLine:!!cn,dropIndicatorRender:oe}),[he,Ke]=(0,ee.ZP)(Oe),Ye=Ie.useMemo(()=>{if(!dt)return!1;let gt={};switch(typeof dt){case"function":gt.nodeDraggable=dt;break;case"object":gt=Object.assign({},dt);break;default:break}return gt.icon!==!1&&(gt.icon=gt.icon||Ie.createElement(E.Z,null)),gt},[dt]),we=gt=>Ie.createElement(ae.Z,{prefixCls:Oe,switcherIcon:Fe,treeNodeProps:gt,showLine:cn});return he(Ie.createElement(z.Z,Object.assign({itemHeight:20,ref:ht,virtual:Je},Be,{style:Object.assign(Object.assign({},it==null?void 0:it.style),rt),prefixCls:Oe,className:re()({[`${Oe}-icon-hide`]:!St,[`${Oe}-block-node`]:$t,[`${Oe}-unselectable`]:!tn,[`${Oe}-rtl`]:Qt==="rtl"},it==null?void 0:it.className,Mt,Ke),direction:Qt,checkable:vt&&Ie.createElement("span",{className:`${Oe}-checkbox-inner`}),selectable:tn,switcherIcon:we,draggable:Ye}),Yt))}),fe;(function(et){et[et.None=0]="None",et[et.Start=1]="Start",et[et.End=2]="End"})(fe||(fe={}));function Pe(et,ht){function Rt(Qt){const{key:Je,children:it}=Qt;ht(Je,Qt)!==!1&&Pe(it||[],ht)}et.forEach(Rt)}function xe(et){let{treeData:ht,expandedKeys:Rt,startKey:Qt,endKey:Je}=et;const it=[];let Bt=fe.None;if(Qt&&Qt===Je)return[Qt];if(!Qt||!Je)return[];function Mt(St){return St===Qt||St===Je}return Pe(ht,St=>{if(Bt===fe.End)return!1;if(Mt(St)){if(it.push(St),Bt===fe.None)Bt=fe.Start;else if(Bt===fe.Start)return Bt=fe.End,!1}else Bt===fe.Start&&it.push(St);return Rt.includes(St)}),it}function Ee(et,ht){const Rt=(0,se.Z)(ht),Qt=[];return Pe(et,(Je,it)=>{const Bt=Rt.indexOf(Je);return Bt!==-1&&(Qt.push(it),Rt.splice(Bt,1)),!!Rt.length}),Qt}var Ae=function(et,ht){var Rt={};for(var Qt in et)Object.prototype.hasOwnProperty.call(et,Qt)&&ht.indexOf(Qt)<0&&(Rt[Qt]=et[Qt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Qt=Object.getOwnPropertySymbols(et);Je{var{defaultExpandAll:Rt,defaultExpandParent:Qt,defaultExpandedKeys:Je}=et,it=Ae(et,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Bt=Ie.useRef(),Mt=Ie.useRef(),St=()=>{const{keyEntities:Ye}=(0,y.I8)(ft(it));let we;return Rt?we=Object.keys(Ye):Qt?we=(0,a.r7)(it.expandedKeys||Je||[],Ye):we=it.expandedKeys||Je,we},[cn,Fe]=Ie.useState(it.selectedKeys||it.defaultSelectedKeys||[]),[$t,Yt]=Ie.useState(()=>St());Ie.useEffect(()=>{"selectedKeys"in it&&Fe(it.selectedKeys)},[it.selectedKeys]),Ie.useEffect(()=>{"expandedKeys"in it&&Yt(it.expandedKeys)},[it.expandedKeys]);const vt=(Ye,we)=>{var gt;return"expandedKeys"in it||Yt(Ye),(gt=it.onExpand)===null||gt===void 0?void 0:gt.call(it,Ye,we)},tn=(Ye,we)=>{var gt;const{multiple:$e}=it,{node:Kt,nativeEvent:Se}=we,{key:ot=""}=Kt,wt=ft(it),Le=Object.assign(Object.assign({},we),{selected:!0}),We=(Se==null?void 0:Se.ctrlKey)||(Se==null?void 0:Se.metaKey),st=Se==null?void 0:Se.shiftKey;let Ft;$e&&We?(Ft=Ye,Bt.current=ot,Mt.current=Ft,Le.selectedNodes=Ee(wt,Ft)):$e&&st?(Ft=Array.from(new Set([].concat((0,se.Z)(Mt.current||[]),(0,se.Z)(xe({treeData:wt,expandedKeys:$t,startKey:ot,endKey:Bt.current}))))),Le.selectedNodes=Ee(wt,Ft)):(Ft=[ot],Bt.current=ot,Mt.current=Ft,Le.selectedNodes=Ee(wt,Ft)),(gt=it.onSelect)===null||gt===void 0||gt.call(it,Ft,Le),"selectedKeys"in it||Fe(Ft)},{getPrefixCls:dt,direction:ct}=Ie.useContext(b.E_),{prefixCls:rt,className:Oe,showIcon:pt=!0,expandAction:ut="click"}=it,Be=Ae(it,["prefixCls","className","showIcon","expandAction"]),he=dt("tree",rt),Ke=re()(`${he}-directory`,{[`${he}-directory-rtl`]:ct==="rtl"},Oe);return Ie.createElement(me,Object.assign({icon:Ze,ref:ht,blockNode:!0},Be,{showIcon:pt,expandAction:ut,prefixCls:he,className:Ke,expandedKeys:$t,selectedKeys:cn,onSelect:tn,onExpand:vt}))};var je=Ie.forwardRef(De);const Ge=me;Ge.DirectoryTree=je,Ge.TreeNode=z.O;var nt=Ge},20648:function(bt,Pt,te){"use strict";te.d(Pt,{TM:function(){return ye},Yk:function(){return Me}});var z=te(93083),se=te(98447),ve=te(17313),Ne=te(8378),be=te(37613),Ie=te(83116);const ie=new z.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),qe=(re,a)=>({[`.${re}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),He=(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:'""'}}}),ke=(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,ve.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,ve.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,ve.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({},qe(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"},He(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`}}}}})}},ze=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[ke(re,x),ze(x)]},ye=re=>{const{controlHeightSM:a}=re;return{titleHeight:a,nodeHoverBg:re.controlItemBgHover,nodeSelectedBg:re.controlItemBgActive}};Pt.ZP=(0,Ie.Z)("Tree",(re,a)=>{let{prefixCls:y}=a;return[{[re.componentCls]:(0,se.C2)(`${y}-checkbox`,re)},Me(y,re),(0,Ne.Z)(re)]},re=>{const{colorTextLightSolid:a,colorPrimary:y}=re;return Object.assign(Object.assign({},ye(re)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return b}});var z=te(92413),se=te(59301),ve={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"},Ne=ve,be=te(7657),Ie=function(x,ee){return se.createElement(be.Z,(0,z.Z)({},x,{ref:ee,icon:Ne}))},ie=se.forwardRef(Ie),qe=ie,He=te(52671),ke=te(58617),ze=te(15075),Me=te(43531),ye=te(92310),re=te.n(ye),a=te(92343),b=E=>{const{prefixCls:x,switcherIcon:ee,treeNodeProps:ne,showLine:oe}=E,{isLeaf:ae,expanded:ue,loading:me}=ne;if(me)return se.createElement(ke.Z,{className:`${x}-switcher-loading-icon`});let fe;if(oe&&typeof oe=="object"&&(fe=oe.showLeafIcon),ae){if(!oe)return null;if(typeof fe!="boolean"&&fe){const Ee=typeof fe=="function"?fe(ne):fe,Ae=`${x}-switcher-line-custom-icon`;return(0,a.l$)(Ee)?(0,a.Tm)(Ee,{className:re()(Ee.props.className||"",Ae)}):Ee}return fe?se.createElement(He.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(ze.Z,{className:`${x}-switcher-line-icon`}):se.createElement(Me.Z,{className:`${x}-switcher-line-icon`}):se.createElement(qe,{className:Pe})}},54580:function(bt,Pt,te){"use strict";te.d(Pt,{default:function(){return tr}});var z=te(59301),se=te(26407),ve=te(92310),Ne=te.n(ve),be=te(92413),Ie=te(6909),ie=te(4771),qe=te(9427),He=te(25440),ke=te(400),ze=te(37061),Me=te(85195),ye=te(39559),re=te(20569),a=te(26112);function y(mt,dn){var rn="cannot ".concat(mt.method," ").concat(mt.action," ").concat(dn.status,"'"),Sn=new Error(rn);return Sn.status=dn.status,Sn.method=mt.method,Sn.url=mt.action,Sn}function b(mt){var dn=mt.responseText||mt.response;if(!dn)return dn;try{return JSON.parse(dn)}catch(rn){return dn}}function E(mt){var dn=new XMLHttpRequest;mt.onProgress&&dn.upload&&(dn.upload.onprogress=function(fn){fn.total>0&&(fn.percent=fn.loaded/fn.total*100),mt.onProgress(fn)});var rn=new FormData;mt.data&&Object.keys(mt.data).forEach(function(Nn){var fn=mt.data[Nn];if(Array.isArray(fn)){fn.forEach(function(On){rn.append("".concat(Nn,"[]"),On)});return}rn.append(Nn,fn)}),mt.file instanceof Blob?rn.append(mt.filename,mt.file,mt.file.name):rn.append(mt.filename,mt.file),dn.onerror=function(fn){mt.onError(fn)},dn.onload=function(){return dn.status<200||dn.status>=300?mt.onError(y(mt,dn),b(dn)):mt.onSuccess(b(dn),dn)},dn.open(mt.method,mt.action,!0),mt.withCredentials&&"withCredentials"in dn&&(dn.withCredentials=!0);var Sn=mt.headers||{};return Sn["X-Requested-With"]!==null&&dn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Sn).forEach(function(Nn){Sn[Nn]!==null&&dn.setRequestHeader(Nn,Sn[Nn])}),dn.send(rn),{abort:function(){dn.abort()}}}var x=+new Date,ee=0;function ne(){return"rc-upload-".concat(x,"-").concat(++ee)}var oe=te(48736),ae=function(mt,dn){if(mt&&dn){var rn=Array.isArray(dn)?dn:dn.split(","),Sn=mt.name||"",Nn=mt.type||"",fn=Nn.replace(/\/.*$/,"");return rn.some(function(On){var An=On.trim();if(/^\*(\/\*)?$/.test(On))return!0;if(An.charAt(0)==="."){var Va=Sn.toLowerCase(),Ka=An.toLowerCase(),gn=[Ka];return(Ka===".jpg"||Ka===".jpeg")&&(gn=[".jpg",".jpeg"]),gn.some(function(uo){return Va.endsWith(uo)})}return/\/\*$/.test(An)?fn===An.replace(/\/.*$/,""):Nn===An?!0:/^\w+$/.test(An)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(An,"'.Skip for check.")),!0):!1})}return!0};function ue(mt,dn){var rn=mt.createReader(),Sn=[];function Nn(){rn.readEntries(function(fn){var On=Array.prototype.slice.apply(fn);Sn=Sn.concat(On);var An=!On.length;An?dn(Sn):Nn()})}Nn()}var me=function(dn,rn,Sn){var Nn=function fn(On,An){On&&(On.path=An||"",On.isFile?On.file(function(Va){Sn(Va)&&(On.fullPath&&!Va.webkitRelativePath&&(Object.defineProperties(Va,{webkitRelativePath:{writable:!0}}),Va.webkitRelativePath=On.fullPath.replace(/^\//,""),Object.defineProperties(Va,{webkitRelativePath:{writable:!1}})),rn([Va]))}):On.isDirectory&&ue(On,function(Va){Va.forEach(function(Ka){fn(Ka,"".concat(An).concat(On.name,"/"))})}))};dn.forEach(function(fn){Nn(fn.webkitGetAsEntry())})},fe=me,Pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],xe=function(mt){(0,qe.Z)(rn,mt);var dn=(0,He.Z)(rn);function rn(){var Sn;(0,Ie.Z)(this,rn);for(var Nn=arguments.length,fn=new Array(Nn),On=0;On{let{uid:fn}=Nn;return fn===mt.uid});return Sn===-1?rn.push(mt):rn[Sn]=mt,rn}function gt(mt,dn){const rn=mt.uid!==void 0?"uid":"name";return dn.filter(Sn=>Sn[rn]===mt[rn])[0]}function $e(mt,dn){const rn=mt.uid!==void 0?"uid":"name",Sn=dn.filter(Nn=>Nn[rn]!==mt[rn]);return Sn.length===dn.length?null:Sn}const Kt=function(){const dn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Sn=dn[dn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Sn)||[""])[0]},Se=mt=>mt.indexOf("image/")===0,ot=mt=>{if(mt.type&&!mt.thumbUrl)return Se(mt.type);const dn=mt.thumbUrl||mt.url||"",rn=Kt(dn);return/^data:image\//.test(dn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(rn)?!0:!(/^data:/.test(dn)||rn)},wt=200;function Le(mt){return new Promise(dn=>{if(!mt.type||!Se(mt.type)){dn("");return}const rn=document.createElement("canvas");rn.width=wt,rn.height=wt,rn.style.cssText=`position: fixed; left: 0; top: 0; width: ${wt}px; height: ${wt}px; z-index: 9999; display: none;`,document.body.appendChild(rn);const Sn=rn.getContext("2d"),Nn=new Image;if(Nn.onload=()=>{const{width:fn,height:On}=Nn;let An=wt,Va=wt,Ka=0,gn=0;fn>On?(Va=On*(wt/fn),gn=-(Va-An)/2):(An=fn*(wt/On),Ka=-(An-Va)/2),Sn.drawImage(Nn,Ka,gn,An,Va);const uo=rn.toDataURL();document.body.removeChild(rn),window.URL.revokeObjectURL(Nn.src),dn(uo)},Nn.crossOrigin="anonymous",mt.type.startsWith("image/svg+xml")){const fn=new FileReader;fn.onload=()=>{fn.result&&(Nn.src=fn.result)},fn.readAsDataURL(mt)}else if(mt.type.startsWith("image/gif")){const fn=new FileReader;fn.onload=()=>{fn.result&&dn(fn.result)},fn.readAsDataURL(mt)}else Nn.src=window.URL.createObjectURL(mt)})}var We=te(26227),st=te(41464),Ft=te(15277),Wt=te(93948),mn=te(6848),At=z.forwardRef((mt,dn)=>{let{prefixCls:rn,className:Sn,style:Nn,locale:fn,listType:On,file:An,items:Va,progress:Ka,iconRender:gn,actionIconRender:uo,itemRender:oo,isImgUrl:eo,showPreviewIcon:Io,showRemoveIcon:Xn,showDownloadIcon:Ma,previewIcon:or,removeIcon:Pa,downloadIcon:Er,onPreview:Qr,onDownload:Cr,onClose:fo}=mt;var Ao,Ei;const{status:Fi}=An,[Ci,Hn]=z.useState(Fi);z.useEffect(()=>{Fi!=="removed"&&Hn(Fi)},[Fi]);const[nr,jr]=z.useState(!1);z.useEffect(()=>{const Fa=setTimeout(()=>{jr(!0)},300);return()=>{clearTimeout(Fa)}},[]);const Jo=gn(An);let $o=z.createElement("div",{className:`${rn}-icon`},Jo);if(On==="picture"||On==="picture-card"||On==="picture-circle")if(Ci==="uploading"||!An.thumbUrl&&!An.url){const Fa=Ne()(`${rn}-list-item-thumbnail`,{[`${rn}-list-item-file`]:Ci!=="uploading"});$o=z.createElement("div",{className:Fa},Jo)}else{const Fa=eo!=null&&eo(An)?z.createElement("img",{src:An.thumbUrl||An.url,alt:An.name,className:`${rn}-list-item-image`,crossOrigin:An.crossOrigin}):Jo,fa=Ne()(`${rn}-list-item-thumbnail`,{[`${rn}-list-item-file`]:eo&&!eo(An)});$o=z.createElement("a",{className:fa,onClick:Or=>Qr(An,Or),href:An.url||An.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Fa)}const No=Ne()(`${rn}-list-item`,`${rn}-list-item-${Ci}`),vi=typeof An.linkProps=="string"?JSON.parse(An.linkProps):An.linkProps,Zi=Xn?uo((typeof Pa=="function"?Pa(An):Pa)||z.createElement(We.Z,null),()=>fo(An),rn,fn.removeFile):null,Xi=Ma&&Ci==="done"?uo((typeof Er=="function"?Er(An):Er)||z.createElement(st.Z,null),()=>Cr(An),rn,fn.downloadFile):null,Mi=On!=="picture-card"&&On!=="picture-circle"&&z.createElement("span",{key:"download-delete",className:Ne()(`${rn}-list-item-actions`,{picture:On==="picture"})},Xi,Zi),Ce=Ne()(`${rn}-list-item-name`),Te=An.url?[z.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ce,title:An.name},vi,{href:An.url,onClick:Fa=>Qr(An,Fa)}),An.name),Mi]:[z.createElement("span",{key:"view",className:Ce,onClick:Fa=>Qr(An,Fa),title:An.name},An.name),Mi],Xe={pointerEvents:"none",opacity:.5},Ct=Io?z.createElement("a",{href:An.url||An.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:An.url||An.thumbUrl?void 0:Xe,onClick:Fa=>Qr(An,Fa),title:fn.previewFile},typeof or=="function"?or(An):or||z.createElement(Ft.Z,null)):null,Jt=(On==="picture-card"||On==="picture-circle")&&Ci!=="uploading"&&z.createElement("span",{className:`${rn}-list-item-actions`},Ct,Ci==="done"&&Xi,Zi),{getPrefixCls:en}=z.useContext(Ge.E_),xn=en(),Dn=z.createElement("div",{className:No},$o,Te,Jt,nr&&z.createElement(pt.default,{motionName:`${xn}-fade`,visible:Ci==="uploading",motionDeadline:2e3},Fa=>{let{className:fa}=Fa;const Or="percent"in An?z.createElement(Wt.Z,Object.assign({},Ka,{type:"line",percent:An.percent,"aria-label":An["aria-label"],"aria-labelledby":An["aria-labelledby"]})):null;return z.createElement("div",{className:Ne()(`${rn}-list-item-progress`,fa)},Or)})),Qn=An.response&&typeof An.response=="string"?An.response:((Ao=An.error)===null||Ao===void 0?void 0:Ao.statusText)||((Ei=An.error)===null||Ei===void 0?void 0:Ei.message)||fn.uploadError,ba=Ci==="error"?z.createElement(mn.Z,{title:Qn,getPopupContainer:Fa=>Fa.parentNode},Dn):Dn;return z.createElement("div",{className:Ne()(`${rn}-list-item-container`,Sn),style:Nn,ref:dn},oo?oo(ba,An,Va,{download:Cr.bind(null,An),preview:Qr.bind(null,An),remove:fo.bind(null,An)}):ba)});const Et=(mt,dn)=>{const{listType:rn="text",previewFile:Sn=Le,onPreview:Nn,onDownload:fn,onRemove:On,locale:An,iconRender:Va,isImageUrl:Ka=ot,prefixCls:gn,items:uo=[],showPreviewIcon:oo=!0,showRemoveIcon:eo=!0,showDownloadIcon:Io=!1,removeIcon:Xn,previewIcon:Ma,downloadIcon:or,progress:Pa={size:[-1,2],showInfo:!1},appendAction:Er,appendActionVisible:Qr=!0,itemRender:Cr,disabled:fo}=mt,Ao=(0,ut.Z)(),[Ei,Fi]=z.useState(!1);z.useEffect(()=>{rn!=="picture"&&rn!=="picture-card"&&rn!=="picture-circle"||(uo||[]).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="",Sn&&Sn(Xe.originFileObj).then(Ct=>{Xe.thumbUrl=Ct||"",Ao()}))})},[rn,uo,Sn]),z.useEffect(()=>{Fi(!0)},[]);const Ci=(Xe,Ct)=>{if(Nn)return Ct==null||Ct.preventDefault(),Nn(Xe)},Hn=Xe=>{typeof fn=="function"?fn(Xe):Xe.url&&window.open(Xe.url)},nr=Xe=>{On==null||On(Xe)},jr=Xe=>{if(Va)return Va(Xe,rn);const Ct=Xe.status==="uploading",Jt=Ka&&Ka(Xe)?z.createElement(Oe,null):z.createElement(Mt,null);let en=Ct?z.createElement(St.Z,null):z.createElement(vt,null);return rn==="picture"?en=Ct?z.createElement(St.Z,null):Jt:(rn==="picture-card"||rn==="picture-circle")&&(en=Ct?An.uploading:Jt),en},Jo=(Xe,Ct,Jt,en)=>{const xn={type:"text",size:"small",title:en,onClick:Dn=>{Ct(),(0,he.l$)(Xe)&&Xe.props.onClick&&Xe.props.onClick(Dn)},className:`${Jt}-list-item-action`,disabled:fo};if((0,he.l$)(Xe)){const Dn=(0,he.Tm)(Xe,Object.assign(Object.assign({},Xe.props),{onClick:()=>{}}));return z.createElement(Ke.ZP,Object.assign({},xn,{icon:Dn}))}return z.createElement(Ke.ZP,Object.assign({},xn),z.createElement("span",null,Xe))};z.useImperativeHandle(dn,()=>({handlePreview:Ci,handleDownload:Hn}));const{getPrefixCls:$o}=z.useContext(Ge.E_),No=$o("upload",gn),vi=$o(),Zi=Ne()(`${No}-list`,`${No}-list-${rn}`),Xi=(0,se.Z)(uo.map(Xe=>({key:Xe.uid,file:Xe})));let Ce={motionDeadline:2e3,motionName:`${No}-${rn==="picture-card"||rn==="picture-circle"?"animate-inline":"animate"}`,keys:Xi,motionAppear:Ei};const Te=z.useMemo(()=>{const Xe=Object.assign({},(0,Be.Z)(vi));return delete Xe.onAppearEnd,delete Xe.onEnterEnd,delete Xe.onLeaveEnd,Xe},[vi]);return rn!=="picture-card"&&rn!=="picture-circle"&&(Ce=Object.assign(Object.assign({},Te),Ce)),z.createElement("div",{className:Zi},z.createElement(pt.CSSMotionList,Object.assign({},Ce,{component:!1}),Xe=>{let{key:Ct,file:Jt,className:en,style:xn}=Xe;return z.createElement(At,{key:Ct,locale:An,prefixCls:No,className:en,style:xn,file:Jt,items:uo,progress:Pa,listType:rn,isImgUrl:Ka,showPreviewIcon:oo,showRemoveIcon:eo,showDownloadIcon:Io,removeIcon:Xn,previewIcon:Ma,downloadIcon:or,iconRender:jr,actionIconRender:Jo,itemRender:Cr,onPreview:Ci,onDownload:Hn,onClose:nr})}),Er&&z.createElement(pt.default,Object.assign({},Ce,{visible:Qr,forceRender:!0}),Xe=>{let{className:Ct,style:Jt}=Xe;return(0,he.Tm)(Er,en=>({className:Ne()(en.className,Ct),style:Object.assign(Object.assign(Object.assign({},Jt),{pointerEvents:Ct?"none":void 0}),en.style)}))}))};var Ut=z.forwardRef(Et),sn=te(17313),_n=te(8378),hn=te(83116),an=te(37613),Ht=mt=>{const{componentCls:dn,iconCls:rn}=mt;return{[`${dn}-wrapper`]:{[`${dn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:mt.colorFillAlter,border:`${mt.lineWidth}px dashed ${mt.colorBorder}`,borderRadius:mt.borderRadiusLG,cursor:"pointer",transition:`border-color ${mt.motionDurationSlow}`,[dn]:{padding:`${mt.padding}px 0`},[`${dn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${dn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${dn}-disabled):hover`]:{borderColor:mt.colorPrimaryHover},[`p${dn}-drag-icon`]:{marginBottom:mt.margin,[rn]:{color:mt.colorPrimary,fontSize:mt.uploadThumbnailSize}},[`p${dn}-text`]:{margin:`0 0 ${mt.marginXXS}px`,color:mt.colorTextHeading,fontSize:mt.fontSizeLG},[`p${dn}-hint`]:{color:mt.colorTextDescription,fontSize:mt.fontSize},[`&${dn}-disabled`]:{cursor:"not-allowed",[`p${dn}-drag-icon ${rn}, p${dn}-text, p${dn}-hint `]:{color:mt.colorTextDisabled}}}}}},qt=mt=>{const{componentCls:dn,antCls:rn,iconCls:Sn,fontSize:Nn,lineHeight:fn}=mt,On=`${dn}-list-item`,An=`${On}-actions`,Va=`${On}-action`,Ka=Math.round(Nn*fn);return{[`${dn}-wrapper`]:{[`${dn}-list`]:Object.assign(Object.assign({},(0,sn.dF)()),{lineHeight:mt.lineHeight,[On]:{position:"relative",height:mt.lineHeight*Nn,marginTop:mt.marginXS,fontSize:Nn,display:"flex",alignItems:"center",transition:`background-color ${mt.motionDurationSlow}`,"&:hover":{backgroundColor:mt.controlItemBgHover},[`${On}-name`]:Object.assign(Object.assign({},sn.vS),{padding:`0 ${mt.paddingXS}px`,lineHeight:fn,flex:"auto",transition:`all ${mt.motionDurationSlow}`}),[An]:{[Va]:{opacity:0},[`${Va}${rn}-btn-sm`]:{height:Ka,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` ${Va}:focus-visible, &.picture ${Va} `]:{opacity:1},[Sn]:{color:mt.actionsColor,transition:`all ${mt.motionDurationSlow}`},[`&:hover ${Sn}`]:{color:mt.colorText}},[`${dn}-icon ${Sn}`]:{color:mt.colorTextDescription,fontSize:Nn},[`${On}-progress`]:{position:"absolute",bottom:-mt.uploadProgressOffset,width:"100%",paddingInlineStart:Nn+mt.paddingXS,fontSize:Nn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${On}:hover ${Va}`]:{opacity:1,color:mt.colorText},[`${On}-error`]:{color:mt.colorError,[`${On}-name, ${dn}-icon ${Sn}`]:{color:mt.colorError},[An]:{[`${Sn}, ${Sn}:hover`]:{color:mt.colorError},[Va]:{opacity:1}}},[`${dn}-list-item-container`]:{transition:`opacity ${mt.motionDurationSlow}, height ${mt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},wa=te(93083),qn=te(1950);const Tn=new wa.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),ja=new wa.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Dr=mt=>{const{componentCls:dn}=mt,rn=`${dn}-animate-inline`;return[{[`${dn}-wrapper`]:{[`${rn}-appear, ${rn}-enter, ${rn}-leave`]:{animationDuration:mt.motionDurationSlow,animationTimingFunction:mt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${rn}-appear, ${rn}-enter`]:{animationName:Tn},[`${rn}-leave`]:{animationName:ja}}},{[`${dn}-wrapper`]:(0,qn.J$)(mt)},Tn,ja]},yr=te(93398),Zn=te(64993);const yt=mt=>{const{componentCls:dn,iconCls:rn,uploadThumbnailSize:Sn,uploadProgressOffset:Nn}=mt,fn=`${dn}-list`,On=`${fn}-item`;return{[`${dn}-wrapper`]:{[` ${fn}${fn}-picture, ${fn}${fn}-picture-card, ${fn}${fn}-picture-circle `]:{[On]:{position:"relative",height:Sn+mt.lineWidth*2+mt.paddingXS*2,padding:mt.paddingXS,border:`${mt.lineWidth}px ${mt.lineType} ${mt.colorBorder}`,borderRadius:mt.borderRadiusLG,"&:hover":{background:"transparent"},[`${On}-thumbnail`]:Object.assign(Object.assign({},sn.vS),{width:Sn,height:Sn,lineHeight:`${Sn+mt.paddingSM}px`,textAlign:"center",flex:"none",[rn]:{fontSize:mt.fontSizeHeading2,color:mt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${On}-progress`]:{bottom:Nn,width:`calc(100% - ${mt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Sn+mt.paddingXS}},[`${On}-error`]:{borderColor:mt.colorError,[`${On}-thumbnail ${rn}`]:{[`svg path[fill='${yr.blue[0]}']`]:{fill:mt.colorErrorBg},[`svg path[fill='${yr.blue.primary}']`]:{fill:mt.colorError}}},[`${On}-uploading`]:{borderStyle:"dashed",[`${On}-name`]:{marginBottom:Nn}}},[`${fn}${fn}-picture-circle ${On}`]:{[`&, &::before, ${On}-thumbnail`]:{borderRadius:"50%"}}}}},It=mt=>{const{componentCls:dn,iconCls:rn,fontSizeLG:Sn,colorTextLightSolid:Nn}=mt,fn=`${dn}-list`,On=`${fn}-item`,An=mt.uploadPicCardSize;return{[` ${dn}-wrapper${dn}-picture-card-wrapper, ${dn}-wrapper${dn}-picture-circle-wrapper `]:Object.assign(Object.assign({},(0,sn.dF)()),{display:"inline-block",width:"100%",[`${dn}${dn}-select`]:{width:An,height:An,marginInlineEnd:mt.marginXS,marginBottom:mt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:mt.colorFillAlter,border:`${mt.lineWidth}px dashed ${mt.colorBorder}`,borderRadius:mt.borderRadiusLG,cursor:"pointer",transition:`border-color ${mt.motionDurationSlow}`,[`> ${dn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${dn}-disabled):hover`]:{borderColor:mt.colorPrimary}},[`${fn}${fn}-picture-card, ${fn}${fn}-picture-circle`]:{[`${fn}-item-container`]:{display:"inline-block",width:An,height:An,marginBlock:`0 ${mt.marginXS}px`,marginInline:`0 ${mt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[On]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${mt.paddingXS*2}px)`,height:`calc(100% - ${mt.paddingXS*2}px)`,backgroundColor:mt.colorBgMask,opacity:0,transition:`all ${mt.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 ${mt.motionDurationSlow}`,[`${rn}-eye, ${rn}-download, ${rn}-delete`]:{zIndex:10,width:Sn,margin:`0 ${mt.marginXXS}px`,fontSize:Sn,cursor:"pointer",transition:`all ${mt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${On}-actions, ${On}-actions:hover`]:{[`${rn}-eye, ${rn}-download, ${rn}-delete`]:{color:new Zn.C(Nn).setAlpha(.65).toRgbString(),"&:hover":{color:Nn}}},[`${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:mt.margin,display:"block",width:`calc(100% - ${mt.paddingXS*2}px)`},[`${On}-uploading`]:{[`&${On}`]:{backgroundColor:mt.colorFillAlter},[`&::before, ${rn}-eye, ${rn}-download, ${rn}-delete`]:{display:"none"}},[`${On}-progress`]:{bottom:mt.marginXL,width:`calc(100% - ${mt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${dn}-wrapper${dn}-picture-circle-wrapper`]:{[`${dn}${dn}-select`]:{borderRadius:"50%"}}}};var zn=mt=>{const{componentCls:dn}=mt;return{[`${dn}-rtl`]:{direction:"rtl"}}};const kt=mt=>{const{componentCls:dn,colorTextDisabled:rn}=mt;return{[`${dn}-wrapper`]:Object.assign(Object.assign({},(0,sn.Wf)(mt)),{[dn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${dn}-select`]:{display:"inline-block"},[`${dn}-disabled`]:{color:rn,cursor:"not-allowed"}})}};var ma=(0,hn.Z)("Upload",mt=>{const{fontSizeHeading3:dn,fontSize:rn,lineHeight:Sn,lineWidth:Nn,controlHeightLG:fn}=mt,On=Math.round(rn*Sn),An=(0,an.TS)(mt,{uploadThumbnailSize:dn*2,uploadProgressOffset:On/2+Nn,uploadPicCardSize:fn*2.55});return[kt(An),Ht(An),yt(An),It(An),qt(An),Dr(An),zn(An),(0,_n.Z)(An)]},mt=>({actionsColor:mt.colorTextDescription})),ao=function(mt,dn,rn,Sn){function Nn(fn){return fn instanceof rn?fn:new rn(function(On){On(fn)})}return new(rn||(rn=Promise))(function(fn,On){function An(gn){try{Ka(Sn.next(gn))}catch(uo){On(uo)}}function Va(gn){try{Ka(Sn.throw(gn))}catch(uo){On(uo)}}function Ka(gn){gn.done?fn(gn.value):Nn(gn.value).then(An,Va)}Ka((Sn=Sn.apply(mt,dn||[])).next())})};const pr=`__LIST_IGNORE_${Date.now()}__`,_r=(mt,dn)=>{const{fileList:rn,defaultFileList:Sn,onRemove:Nn,showUploadList:fn=!0,listType:On="text",onPreview:An,onDownload:Va,onChange:Ka,onDrop:gn,previewFile:uo,disabled:oo,locale:eo,iconRender:Io,isImageUrl:Xn,progress:Ma,prefixCls:or,className:Pa,type:Er="select",children:Qr,style:Cr,itemRender:fo,maxCount:Ao,data:Ei={},multiple:Fi=!1,action:Ci="",accept:Hn="",supportServerRender:nr=!0,rootClassName:jr}=mt,Jo=z.useContext(nt.Z),$o=oo!=null?oo:Jo,[No,vi]=(0,Ue.Z)(Sn||[],{value:rn,postState:Mr=>Mr!=null?Mr:[]}),[Zi,Xi]=z.useState("drop"),Mi=z.useRef(null);z.useMemo(()=>{const Mr=Date.now();(rn||[]).forEach((ro,bo)=>{!ro.uid&&!Object.isFrozen(ro)&&(ro.uid=`__AUTO__${Mr}_${bo}__`)})},[rn]);const Ce=(Mr,ro,bo)=>{let ho=(0,se.Z)(ro),yo=!1;Ao===1?ho=ho.slice(-1):Ao&&(yo=ho.length>Ao,ho=ho.slice(0,Ao)),(0,je.flushSync)(()=>{vi(ho)});const sa={file:Mr,fileList:ho};bo&&(sa.event=bo),(!yo||ho.some(Ho=>Ho.uid===Mr.uid))&&(0,je.flushSync)(()=>{Ka==null||Ka(sa)})},Te=(Mr,ro)=>ao(void 0,void 0,void 0,function*(){const{beforeUpload:bo,transformFile:ho}=mt;let yo=Mr;if(bo){const sa=yield bo(Mr,ro);if(sa===!1)return!1;if(delete Mr[pr],sa===pr)return Object.defineProperty(Mr,pr,{value:!0,configurable:!0}),!1;typeof sa=="object"&&sa&&(yo=sa)}return ho&&(yo=yield ho(yo)),yo}),Xe=Mr=>{const ro=Mr.filter(yo=>!yo.file[pr]);if(!ro.length)return;const bo=ro.map(yo=>Ye(yo.file));let ho=(0,se.Z)(No);bo.forEach(yo=>{ho=we(yo,ho)}),bo.forEach((yo,sa)=>{let Ho=yo;if(ro[sa].parsedFile)yo.status="uploading";else{const{originFileObj:Ai}=yo;let zi;try{zi=new File([Ai],Ai.name,{type:Ai.type})}catch(nl){zi=new Blob([Ai],{type:Ai.type}),zi.name=Ai.name,zi.lastModifiedDate=new Date,zi.lastModified=new Date().getTime()}zi.uid=yo.uid,Ho=zi}Ce(Ho,ho)})},Ct=(Mr,ro,bo)=>{try{typeof Mr=="string"&&(Mr=JSON.parse(Mr))}catch(sa){}if(!gt(ro,No))return;const ho=Ye(ro);ho.status="done",ho.percent=100,ho.response=Mr,ho.xhr=bo;const yo=we(ho,No);Ce(ho,yo)},Jt=(Mr,ro)=>{if(!gt(ro,No))return;const bo=Ye(ro);bo.status="uploading",bo.percent=Mr.percent;const ho=we(bo,No);Ce(bo,ho,Mr)},en=(Mr,ro,bo)=>{if(!gt(bo,No))return;const ho=Ye(bo);ho.error=Mr,ho.response=ro,ho.status="error";const yo=we(ho,No);Ce(ho,yo)},xn=Mr=>{let ro;Promise.resolve(typeof Nn=="function"?Nn(Mr):Nn).then(bo=>{var ho;if(bo===!1)return;const yo=$e(Mr,No);yo&&(ro=Object.assign(Object.assign({},Mr),{status:"removed"}),No==null||No.forEach(sa=>{const Ho=ro.uid!==void 0?"uid":"name";sa[Ho]===ro[Ho]&&!Object.isFrozen(sa)&&(sa.status="removed")}),(ho=Mi.current)===null||ho===void 0||ho.abort(ro),Ce(ro,yo))})},Dn=Mr=>{Xi(Mr.type),Mr.type==="drop"&&(gn==null||gn(Mr))};z.useImperativeHandle(dn,()=>({onBatchStart:Xe,onSuccess:Ct,onProgress:Jt,onError:en,fileList:No,upload:Mi.current}));const{getPrefixCls:Qn,direction:ba,upload:Fa}=z.useContext(Ge.E_),fa=Qn("upload",or),Or=Object.assign(Object.assign({onBatchStart:Xe,onError:en,onProgress:Jt,onSuccess:Ct},mt),{data:Ei,multiple:Fi,action:Ci,accept:Hn,supportServerRender:nr,prefixCls:fa,disabled:$o,beforeUpload:Te,onChange:void 0});delete Or.className,delete Or.style,(!Qr||$o)&&delete Or.id;const[Nr,Mo]=ma(fa),[Ur]=(0,et.Z)("Upload",ht.Z.Upload),{showRemoveIcon:la,showPreviewIcon:Vn,showDownloadIcon:ra,removeIcon:aa,previewIcon:Ir,downloadIcon:Zr}=typeof fn=="boolean"?{}:fn,vr=(Mr,ro)=>fn?z.createElement(Ut,{prefixCls:fa,listType:On,items:No,previewFile:uo,onPreview:An,onDownload:Va,onRemove:xn,showRemoveIcon:!$o&&la,showPreviewIcon:Vn,showDownloadIcon:ra,removeIcon:aa,previewIcon:Ir,downloadIcon:Zr,iconRender:Io,locale:Object.assign(Object.assign({},Ur),eo),isImageUrl:Xn,progress:Ma,appendAction:Mr,appendActionVisible:ro,itemRender:fo,disabled:$o}):Mr,br=Ne()(`${fa}-wrapper`,Pa,jr,Mo,Fa==null?void 0:Fa.className,{[`${fa}-rtl`]:ba==="rtl",[`${fa}-picture-card-wrapper`]:On==="picture-card",[`${fa}-picture-circle-wrapper`]:On==="picture-circle"}),kr=Object.assign(Object.assign({},Fa==null?void 0:Fa.style),Cr);if(Er==="drag"){const Mr=Ne()(Mo,fa,`${fa}-drag`,{[`${fa}-drag-uploading`]:No.some(ro=>ro.status==="uploading"),[`${fa}-drag-hover`]:Zi==="dragover",[`${fa}-disabled`]:$o,[`${fa}-rtl`]:ba==="rtl"});return Nr(z.createElement("span",{className:br},z.createElement("div",{className:Mr,style:kr,onDrop:Dn,onDragOver:Dn,onDragLeave:Dn},z.createElement(De,Object.assign({},Or,{ref:Mi,className:`${fa}-btn`}),z.createElement("div",{className:`${fa}-drag-container`},Qr))),vr()))}const po=Ne()(fa,`${fa}-select`,{[`${fa}-disabled`]:$o}),Po=(Mr=>z.createElement("div",{className:po,style:Mr},z.createElement(De,Object.assign({},Or,{ref:Mi}))))(Qr?void 0:{display:"none"});return Nr(On==="picture-card"||On==="picture-circle"?z.createElement("span",{className:br},vr(Po,!!Qr)):z.createElement("span",{className:br},Po,vr()))};var _a=z.forwardRef(_r),Rn=function(mt,dn){var rn={};for(var Sn in mt)Object.prototype.hasOwnProperty.call(mt,Sn)&&dn.indexOf(Sn)<0&&(rn[Sn]=mt[Sn]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nn=0,Sn=Object.getOwnPropertySymbols(mt);Nn{var{style:rn,height:Sn}=mt,Nn=Rn(mt,["style","height"]);return z.createElement(_a,Object.assign({ref:dn},Nn,{type:"drag",style:Object.assign(Object.assign({},rn),{height:Sn})}))});const hr=_a;hr.Dragger=Ua,hr.LIST_IGNORE=pr;var tr=hr},24334:function(bt,Pt,te){var z,se;(function(ve,Ne){bt.exports=Ne(ve)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(ve){"use strict";ve=ve||{};var Ne=ve.Base64,be="2.6.4",Ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(Ze){for(var ft={},De=0,Ue=Ze.length;De>>6)+qe(128|ft&63):qe(224|ft>>>12&15)+qe(128|ft>>>6&63)+qe(128|ft&63)}else{var ft=65536+(Ze.charCodeAt(0)-55296)*1024+(Ze.charCodeAt(1)-56320);return qe(240|ft>>>18&7)+qe(128|ft>>>12&63)+qe(128|ft>>>6&63)+qe(128|ft&63)}},ke=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ze=function(Ze){return Ze.replace(ke,He)},Me=function(Ze){var ft=[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=[Ie.charAt(De>>>18),Ie.charAt(De>>>12&63),ft>=2?"=":Ie.charAt(De>>>6&63),ft>=1?"=":Ie.charAt(De&63)];return Ue.join("")},ye=ve.btoa&&typeof ve.btoa=="function"?function(Ze){return ve.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 ye(ze(String(Ze)))},a=function(Ze){return Ze.replace(/[+\/]/g,function(ft){return ft=="+"?"-":"_"}).replace(/=/g,"")},y=function(Ze,ft){return ft?a(re(Ze)):re(Ze)},b=function(Ze){return y(Ze,!0)},E;ve.Uint8Array&&(E=function(Ze,ft){for(var De="",Ue=0,je=Ze.length;Ue>>18)+Ie.charAt(ht>>>12&63)+(typeof nt!="undefined"?Ie.charAt(ht>>>6&63):"=")+(typeof et!="undefined"?Ie.charAt(ht&63):"=")}return ft?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 ft=(7&Ze.charCodeAt(0))<<18|(63&Ze.charCodeAt(1))<<12|(63&Ze.charCodeAt(2))<<6|63&Ze.charCodeAt(3),De=ft-65536;return qe((De>>>10)+55296)+qe((De&1023)+56320);case 3:return qe((15&Ze.charCodeAt(0))<<12|(63&Ze.charCodeAt(1))<<6|63&Ze.charCodeAt(2));default:return qe((31&Ze.charCodeAt(0))<<6|63&Ze.charCodeAt(1))}},ne=function(Ze){return Ze.replace(x,ee)},oe=function(Ze){var ft=Ze.length,De=ft%4,Ue=(ft>0?ie[Ze.charAt(0)]<<18:0)|(ft>1?ie[Ze.charAt(1)]<<12:0)|(ft>2?ie[Ze.charAt(2)]<<6:0)|(ft>3?ie[Ze.charAt(3)]:0),je=[qe(Ue>>>16),qe(Ue>>>8&255),qe(Ue&255)];return je.length-=[0,0,2,1][De],je.join("")},ae=ve.atob&&typeof ve.atob=="function"?function(Ze){return ve.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,""))},me=function(Ze){return ne(ae(Ze))},fe=function(Ze){return String(Ze).replace(/[-_]/g,function(ft){return ft=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Pe=function(Ze){return me(fe(Ze))},xe;ve.Uint8Array&&(xe=function(Ze){return Uint8Array.from(ue(fe(Ze)),function(ft){return ft.charCodeAt(0)})});var Ee=function(){var Ze=ve.Base64;return ve.Base64=Ne,Ze};if(ve.Base64={VERSION:be,atob:ue,btoa:ye,fromBase64:Pe,toBase64:y,utob:ze,encode:y,encodeURI:b,btou:ne,decode:Pe,noConflict:Ee,fromUint8Array:E,toUint8Array:xe},typeof Object.defineProperty=="function"){var Ae=function(Ze){return{value:Ze,enumerable:!1,writable:!0,configurable:!0}};ve.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ae(function(){return Pe(this)})),Object.defineProperty(String.prototype,"toBase64",Ae(function(Ze){return y(this,Ze)})),Object.defineProperty(String.prototype,"toBase64URI",Ae(function(){return y(this,!0)}))}}return ve.Meteor&&(Base64=ve.Base64),bt.exports?bt.exports.Base64=ve.Base64:(z=[],se=function(){return ve.Base64}.apply(Pt,z),se!==void 0&&(bt.exports=se)),{Base64:ve.Base64}})},39417:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return me}});var z=te(92413),se=te(400),ve=te(37061),Ne=te(33708),be=te(6909),Ie=te(4771),ie=te(25314),qe=te(9427),He=te(25440),ke=te(92310),ze=te.n(ke),Me=te(26112),ye=te(59301),re=te(39378),a=function(Pe){for(var xe=Pe.prefixCls,Ee=Pe.level,Ae=Pe.isStart,Ze=Pe.isEnd,ft="".concat(xe,"-indent-unit"),De=[],Ue=0;Ue0&&arguments[0]!==void 0?arguments[0]:[],ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],rt=dt.length,Oe=ct.length;if(Math.abs(rt-Oe)!==1)return{add:!1,key:null};function pt(ut,Be){var he=new Map;ut.forEach(function(Ye){he.set(Ye,!0)});var Ke=Be.filter(function(Ye){return!he.has(Ye)});return Ke.length===1?Ke[0]:null}return rt ").concat(ct);return ct}var Bt=y.forwardRef(function(dt,ct){var rt=dt.prefixCls,Oe=dt.data,pt=dt.selectable,ut=dt.checkable,Be=dt.expandedKeys,he=dt.selectedKeys,Ke=dt.checkedKeys,Ye=dt.loadedKeys,we=dt.loadingKeys,gt=dt.halfCheckedKeys,$e=dt.keyEntities,Kt=dt.disabled,Se=dt.dragging,ot=dt.dragOverNodeKey,wt=dt.dropPosition,Le=dt.motion,We=dt.height,st=dt.itemHeight,Ft=dt.virtual,Wt=dt.focusable,mn=dt.activeItem,lt=dt.focused,At=dt.tabIndex,Et=dt.onKeyDown,nn=dt.onFocus,Ut=dt.onBlur,sn=dt.onActiveChange,_n=dt.onListChangeStart,hn=dt.onListChangeEnd,an=(0,ne.Z)(dt,Ue),Un=y.useRef(null),Ht=y.useRef(null);y.useImperativeHandle(ct,function(){return{scrollTo:function(tr){Un.current.scrollTo(tr)},getIndentWidth:function(){return Ht.current.offsetWidth}}});var Zt=y.useState(Be),qt=(0,ee.Z)(Zt,2),wa=qt[0],qn=qt[1],Tn=y.useState(Oe),ja=(0,ee.Z)(Tn,2),Ia=ja[0],Dr=ja[1],yr=y.useState(Oe),Zn=(0,ee.Z)(yr,2),yt=Zn[0],It=Zn[1],Lt=y.useState([]),zn=(0,ee.Z)(Lt,2),kt=zn[0],ma=zn[1],ao=y.useState(null),pr=(0,ee.Z)(ao,2),_r=pr[0],qr=pr[1],_a=y.useRef(Oe);_a.current=Oe;function Rn(){var hr=_a.current;Dr(hr),It(hr),ma([]),qr(null),hn()}(0,oe.Z)(function(){qn(Be);var hr=ft(wa,Be);if(hr.key!==null)if(hr.add){var tr=Ia.findIndex(function(fn){var On=fn.key;return On===hr.key}),mt=Qt(De(Ia,Oe,hr.key),Ft,We,st),dn=Ia.slice();dn.splice(tr+1,0,Rt),It(dn),ma(mt),qr("show")}else{var rn=Oe.findIndex(function(fn){var On=fn.key;return On===hr.key}),Sn=Qt(De(Oe,Ia,hr.key),Ft,We,st),Nn=Oe.slice();Nn.splice(rn+1,0,Rt),It(Nn),ma(Sn),qr("hide")}else Ia!==Oe&&(Dr(Oe),It(Oe))},[Be,Oe]),y.useEffect(function(){Se||Rn()},[Se]);var sr=Le?yt:Oe,Ua={expandedKeys:Be,selectedKeys:he,loadedKeys:Ye,loadingKeys:we,checkedKeys:Ke,halfCheckedKeys:gt,dragOverNodeKey:ot,dropPosition:wt,keyEntities:$e};return y.createElement(y.Fragment,null,lt&&mn&&y.createElement("span",{style:je,"aria-live":"assertive"},it(mn)),y.createElement("div",null,y.createElement("input",{style:je,disabled:Wt===!1||Kt,tabIndex:Wt!==!1?At:null,onKeyDown:Et,onFocus:nn,onBlur:Ut,value:"",onChange:Ge,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(rt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(rt,"-indent")},y.createElement("div",{ref:Ht,className:"".concat(rt,"-indent-unit")}))),y.createElement(ae.Z,(0,z.Z)({},an,{data:sr,itemKey:Je,height:We,fullHeight:!1,virtual:Ft,itemHeight:st,prefixCls:"".concat(rt,"-list"),ref:Un,onVisibleChange:function(tr,mt){var dn=new Set(tr),rn=mt.filter(function(Sn){return!dn.has(Sn)});rn.some(function(Sn){return Je(Sn)===nt})&&Rn()}}),function(hr){var tr=hr.pos,mt=(0,z.Z)({},(x(hr.data),hr.data)),dn=hr.title,rn=hr.key,Sn=hr.isStart,Nn=hr.isEnd,fn=(0,Pe.km)(rn,tr);delete mt.key,delete mt.children;var On=(0,Pe.H8)(fn,Ua);return y.createElement(Ze,(0,z.Z)({},mt,On,{title:dn,active:!!mn&&rn===mn.key,pos:tr,data:hr.data,isStart:Sn,isEnd:Nn,motion:Le,motionNodes:rn===nt?kt:null,motionType:_r,onMotionStart:_n,onMotionEnd:Rn,treeNodeRequiredProps:Ua,onMouseMove:function(){sn(null)}}))}))});Bt.displayName="NodeList";var Mt=Bt,St=te(35654),cn=te(90782),Fe=te(67841),$t=10,Yt=function(dt){(0,He.Z)(rt,dt);var ct=(0,ke.Z)(rt);function rt(){var Oe;(0,Ie.Z)(this,rt);for(var pt=arguments.length,ut=new Array(pt),Be=0;Be2&&arguments[2]!==void 0?arguments[2]:!1,gt=Oe.state,$e=gt.dragChildrenKeys,Kt=gt.dropPosition,Se=gt.dropTargetKey,ot=gt.dropTargetPos,wt=gt.dropAllowed;if(wt){var Le=Oe.props.onDrop;if(Oe.setState({dragOverNodeKey:null}),Oe.cleanDragState(),Se!==null){var We=(0,Ne.Z)((0,Ne.Z)({},(0,Pe.H8)(Se,Oe.getTreeNodeRequiredProps())),{},{active:((Ye=Oe.getActiveItem())===null||Ye===void 0?void 0:Ye.key)===Se,data:(0,Fe.Z)(Oe.state.keyEntities,Se).node}),st=$e.indexOf(Se)!==-1;(0,a.ZP)(!st,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ft=(0,St.yx)(ot),Wt={event:he,node:(0,Pe.F)(We),dragNode:Oe.dragNode?(0,Pe.F)(Oe.dragNode.props):null,dragNodesKeys:[Oe.dragNode.props.eventKey].concat($e),dropToGap:Kt!==0,dropPosition:Kt+Number(Ft[Ft.length-1])};we||Le==null||Le(Wt),Oe.dragNode=null}}},Oe.cleanDragState=function(){var he=Oe.state.draggingNodeKey;he!==null&&Oe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Oe.dragStartMousePosition=null,Oe.currentMouseOverDroppableNodeKey=null},Oe.triggerExpandActionExpand=function(he,Ke){var Ye=Oe.state,we=Ye.expandedKeys,gt=Ye.flattenNodes,$e=Ke.expanded,Kt=Ke.key,Se=Ke.isLeaf;if(!(Se||he.shiftKey||he.metaKey||he.ctrlKey)){var ot=gt.filter(function(Le){return Le.key===Kt})[0],wt=(0,Pe.F)((0,Ne.Z)((0,Ne.Z)({},(0,Pe.H8)(Kt,Oe.getTreeNodeRequiredProps())),{},{data:ot.data}));Oe.setExpandedKeys($e?(0,St._5)(we,Kt):(0,St.L0)(we,Kt)),Oe.onNodeExpand(he,wt)}},Oe.onNodeClick=function(he,Ke){var Ye=Oe.props,we=Ye.onClick,gt=Ye.expandAction;gt==="click"&&Oe.triggerExpandActionExpand(he,Ke),we==null||we(he,Ke)},Oe.onNodeDoubleClick=function(he,Ke){var Ye=Oe.props,we=Ye.onDoubleClick,gt=Ye.expandAction;gt==="doubleClick"&&Oe.triggerExpandActionExpand(he,Ke),we==null||we(he,Ke)},Oe.onNodeSelect=function(he,Ke){var Ye=Oe.state.selectedKeys,we=Oe.state,gt=we.keyEntities,$e=we.fieldNames,Kt=Oe.props,Se=Kt.onSelect,ot=Kt.multiple,wt=Ke.selected,Le=Ke[$e.key],We=!wt;We?ot?Ye=(0,St.L0)(Ye,Le):Ye=[Le]:Ye=(0,St._5)(Ye,Le);var st=Ye.map(function(Ft){var Wt=(0,Fe.Z)(gt,Ft);return Wt?Wt.node:null}).filter(function(Ft){return Ft});Oe.setUncontrolledState({selectedKeys:Ye}),Se==null||Se(Ye,{event:"select",selected:We,node:Ke,selectedNodes:st,nativeEvent:he.nativeEvent})},Oe.onNodeCheck=function(he,Ke,Ye){var we=Oe.state,gt=we.keyEntities,$e=we.checkedKeys,Kt=we.halfCheckedKeys,Se=Oe.props,ot=Se.checkStrictly,wt=Se.onCheck,Le=Ke.key,We,st={event:"check",node:Ke,checked:Ye,nativeEvent:he.nativeEvent};if(ot){var Ft=Ye?(0,St.L0)($e,Le):(0,St._5)($e,Le),Wt=(0,St._5)(Kt,Le);We={checked:Ft,halfChecked:Wt},st.checkedNodes=Ft.map(function(Ut){return(0,Fe.Z)(gt,Ut)}).filter(function(Ut){return Ut}).map(function(Ut){return Ut.node}),Oe.setUncontrolledState({checkedKeys:Ft})}else{var mn=(0,cn.S)([].concat((0,be.Z)($e),[Le]),!0,gt),lt=mn.checkedKeys,At=mn.halfCheckedKeys;if(!Ye){var Et=new Set(lt);Et.delete(Le);var nn=(0,cn.S)(Array.from(Et),{checked:!1,halfCheckedKeys:At},gt);lt=nn.checkedKeys,At=nn.halfCheckedKeys}We=lt,st.checkedNodes=[],st.checkedNodesPositions=[],st.halfCheckedKeys=At,lt.forEach(function(Ut){var sn=(0,Fe.Z)(gt,Ut);if(sn){var _n=sn.node,hn=sn.pos;st.checkedNodes.push(_n),st.checkedNodesPositions.push({node:_n,pos:hn})}}),Oe.setUncontrolledState({checkedKeys:lt},!1,{halfCheckedKeys:At})}wt==null||wt(We,st)},Oe.onNodeLoad=function(he){var Ke=he.key,Ye=new Promise(function(we,gt){Oe.setState(function($e){var Kt=$e.loadedKeys,Se=Kt===void 0?[]:Kt,ot=$e.loadingKeys,wt=ot===void 0?[]:ot,Le=Oe.props,We=Le.loadData,st=Le.onLoad;if(!We||Se.indexOf(Ke)!==-1||wt.indexOf(Ke)!==-1)return null;var Ft=We(he);return Ft.then(function(){var Wt=Oe.state.loadedKeys,mn=(0,St.L0)(Wt,Ke);st==null||st(mn,{event:"load",node:he}),Oe.setUncontrolledState({loadedKeys:mn}),Oe.setState(function(lt){return{loadingKeys:(0,St._5)(lt.loadingKeys,Ke)}}),we()}).catch(function(Wt){if(Oe.setState(function(lt){return{loadingKeys:(0,St._5)(lt.loadingKeys,Ke)}}),Oe.loadingRetryTimes[Ke]=(Oe.loadingRetryTimes[Ke]||0)+1,Oe.loadingRetryTimes[Ke]>=$t){var mn=Oe.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Oe.setUncontrolledState({loadedKeys:(0,St.L0)(mn,Ke)}),we()}gt(Wt)}),{loadingKeys:(0,St.L0)(wt,Ke)}})});return Ye.catch(function(){}),Ye},Oe.onNodeMouseEnter=function(he,Ke){var Ye=Oe.props.onMouseEnter;Ye==null||Ye({event:he,node:Ke})},Oe.onNodeMouseLeave=function(he,Ke){var Ye=Oe.props.onMouseLeave;Ye==null||Ye({event:he,node:Ke})},Oe.onNodeContextMenu=function(he,Ke){var Ye=Oe.props.onRightClick;Ye&&(he.preventDefault(),Ye({event:he,node:Ke}))},Oe.onFocus=function(){var he=Oe.props.onFocus;Oe.setState({focused:!0});for(var Ke=arguments.length,Ye=new Array(Ke),we=0;we1&&arguments[1]!==void 0?arguments[1]:!1,Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Oe.destroyed){var we=!1,gt=!0,$e={};Object.keys(he).forEach(function(Kt){if(Kt in Oe.props){gt=!1;return}we=!0,$e[Kt]=he[Kt]}),we&&(!Ke||gt)&&Oe.setState((0,Ne.Z)((0,Ne.Z)({},$e),Ye))}},Oe.scrollTo=function(he){Oe.listRef.current.scrollTo(he)},Oe}return(0,ie.Z)(rt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var pt=this.props.activeKey;pt!==void 0&&pt!==this.state.activeKey&&(this.setState({activeKey:pt}),pt!==null&&this.scrollTo({key:pt}))}},{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 pt,ut=this.state,Be=ut.focused,he=ut.flattenNodes,Ke=ut.keyEntities,Ye=ut.draggingNodeKey,we=ut.activeKey,gt=ut.dropLevelOffset,$e=ut.dropContainerKey,Kt=ut.dropTargetKey,Se=ut.dropPosition,ot=ut.dragOverNodeKey,wt=ut.indent,Le=this.props,We=Le.prefixCls,st=Le.className,Ft=Le.style,Wt=Le.showLine,mn=Le.focusable,lt=Le.tabIndex,At=lt===void 0?0:lt,Et=Le.selectable,nn=Le.showIcon,Ut=Le.icon,sn=Le.switcherIcon,_n=Le.draggable,hn=Le.checkable,an=Le.checkStrictly,Un=Le.disabled,Ht=Le.motion,Zt=Le.loadData,qt=Le.filterTreeNode,wa=Le.height,qn=Le.itemHeight,Tn=Le.virtual,ja=Le.titleRender,Ia=Le.dropIndicatorRender,Dr=Le.onContextMenu,yr=Le.onScroll,Zn=Le.direction,yt=Le.rootClassName,It=Le.rootStyle,Lt=(0,re.Z)(this.props,{aria:!0,data:!0}),zn;return _n&&((0,ve.Z)(_n)==="object"?zn=_n:typeof _n=="function"?zn={nodeDraggable:_n}:zn={}),y.createElement(b.k.Provider,{value:{prefixCls:We,selectable:Et,showIcon:nn,icon:Ut,switcherIcon:sn,draggable:zn,draggingNodeKey:Ye,checkable:hn,checkStrictly:an,disabled:Un,keyEntities:Ke,dropLevelOffset:gt,dropContainerKey:$e,dropTargetKey:Kt,dropPosition:Se,dragOverNodeKey:ot,indent:wt,direction:Zn,dropIndicatorRender:Ia,loadData:Zt,filterTreeNode:qt,titleRender:ja,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()(We,st,yt,(pt={},(0,se.Z)(pt,"".concat(We,"-show-line"),Wt),(0,se.Z)(pt,"".concat(We,"-focused"),Be),(0,se.Z)(pt,"".concat(We,"-active-focused"),we!==null),pt)),style:It},y.createElement(Mt,(0,z.Z)({ref:this.listRef,prefixCls:We,style:Ft,data:he,disabled:Un,selectable:Et,checkable:!!hn,motion:Ht,dragging:Ye!==null,height:wa,itemHeight:qn,virtual:Tn,focusable:mn,focused:Be,tabIndex:At,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Dr,onScroll:yr},this.getTreeNodeRequiredProps(),Lt))))}}],[{key:"getDerivedStateFromProps",value:function(pt,ut){var Be=ut.prevProps,he={prevProps:pt};function Ke(mn){return!Be&&mn in pt||Be&&Be[mn]!==pt[mn]}var Ye,we=ut.fieldNames;if(Ke("fieldNames")&&(we=(0,Pe.w$)(pt.fieldNames),he.fieldNames=we),Ke("treeData")?Ye=pt.treeData:Ke("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ye=(0,Pe.zn)(pt.children)),Ye){he.treeData=Ye;var gt=(0,Pe.I8)(Ye,{fieldNames:we});he.keyEntities=(0,Ne.Z)((0,se.Z)({},nt,ht),gt.keyEntities)}var $e=he.keyEntities||ut.keyEntities;if(Ke("expandedKeys")||Be&&Ke("autoExpandParent"))he.expandedKeys=pt.autoExpandParent||!Be&&pt.defaultExpandParent?(0,St.r7)(pt.expandedKeys,$e):pt.expandedKeys;else if(!Be&&pt.defaultExpandAll){var Kt=(0,Ne.Z)({},$e);delete Kt[nt],he.expandedKeys=Object.keys(Kt).map(function(mn){return Kt[mn].key})}else!Be&&pt.defaultExpandedKeys&&(he.expandedKeys=pt.autoExpandParent||pt.defaultExpandParent?(0,St.r7)(pt.defaultExpandedKeys,$e):pt.defaultExpandedKeys);if(he.expandedKeys||delete he.expandedKeys,Ye||he.expandedKeys){var Se=(0,Pe.oH)(Ye||ut.treeData,he.expandedKeys||ut.expandedKeys,we);he.flattenNodes=Se}if(pt.selectable&&(Ke("selectedKeys")?he.selectedKeys=(0,St.BT)(pt.selectedKeys,pt):!Be&&pt.defaultSelectedKeys&&(he.selectedKeys=(0,St.BT)(pt.defaultSelectedKeys,pt))),pt.checkable){var ot;if(Ke("checkedKeys")?ot=(0,St.E6)(pt.checkedKeys)||{}:!Be&&pt.defaultCheckedKeys?ot=(0,St.E6)(pt.defaultCheckedKeys)||{}:Ye&&(ot=(0,St.E6)(pt.checkedKeys)||{checkedKeys:ut.checkedKeys,halfCheckedKeys:ut.halfCheckedKeys}),ot){var wt=ot,Le=wt.checkedKeys,We=Le===void 0?[]:Le,st=wt.halfCheckedKeys,Ft=st===void 0?[]:st;if(!pt.checkStrictly){var Wt=(0,cn.S)(We,!0,$e);We=Wt.checkedKeys,Ft=Wt.halfCheckedKeys}he.checkedKeys=We,he.halfCheckedKeys=Ft}}return Ke("loadedKeys")&&(he.loadedKeys=pt.loadedKeys),he}}]),rt}(y.Component);Yt.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},Yt.TreeNode=me.Z;var vt=Yt,tn=vt},35654:function(bt,Pt,te){"use strict";te.d(Pt,{BT:function(){return y},E6:function(){return x},L0:function(){return ke},OM:function(){return a},_5:function(){return He},r7:function(){return ee},wA:function(){return Me},yx:function(){return ze}});var z=te(26407),se=te(39559),ve=te(48736),Ne=te(59301),be=te(39417),Ie=te(67841),ie=te(71430),qe=null;function He(ne,oe){if(!ne)return[];var ae=ne.slice(),ue=ae.indexOf(oe);return ue>=0&&ae.splice(ue,1),ae}function ke(ne,oe){var ae=(ne||[]).slice();return ae.indexOf(oe)===-1&&ae.push(oe),ae}function ze(ne){return ne.split("-")}function Me(ne,oe){var ae=[],ue=(0,Ie.Z)(oe,ne);function me(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];fe.forEach(function(Pe){var xe=Pe.key,Ee=Pe.children;ae.push(xe),me(Ee)})}return me(ue.children),ae}function ye(ne){if(ne.parent){var oe=ze(ne.pos);return Number(oe[oe.length-1])===ne.parent.children.length-1}return!1}function re(ne){var oe=ze(ne.pos);return Number(oe[oe.length-1])===0}function a(ne,oe,ae,ue,me,fe,Pe,xe,Ee,Ae){var Ze,ft=ne.clientX,De=ne.clientY,Ue=ne.target.getBoundingClientRect(),je=Ue.top,Ge=Ue.height,nt=(Ae==="rtl"?-1:1)*(((me==null?void 0:me.x)||0)-ft),et=(nt-12)/ue,ht=(0,Ie.Z)(xe,ae.props.eventKey);if(De-1.5?fe({dragNode:$t,dropNode:Yt,dropPosition:1})?St=1:vt=!1:fe({dragNode:$t,dropNode:Yt,dropPosition:0})?St=0:fe({dragNode:$t,dropNode:Yt,dropPosition:1})?St=1:vt=!1:fe({dragNode:$t,dropNode:Yt,dropPosition:1})?St=1:vt=!1,{dropPosition:St,dropLevelOffset:cn,dropTargetKey:ht.key,dropTargetPos:ht.pos,dragOverNodeKey:Mt,dropContainerKey:St===0?null:((Ze=ht.parent)===null||Ze===void 0?void 0:Ze.key)||null,dropAllowed:vt}}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,me=ue===void 0?b:ue,fe=Array.isArray(ne)?ne:[ne];return fe.map(function(Pe){var xe=Pe.children,Ee=_objectWithoutProperties(Pe,qe),Ae=E(xe,oe);return React.createElement(TreeNode,_extends({key:Ee.key},me(Ee)),Ae)})}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,ve.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function ee(ne,oe){var ae=new Set;function ue(me){if(!ae.has(me)){var fe=(0,Ie.Z)(oe,me);if(fe){ae.add(me);var Pe=fe.parent,xe=fe.node;xe.disabled||Pe&&ue(Pe.key)}}}return(ne||[]).forEach(function(me){ue(me)}),(0,z.Z)(ae)}},90782:function(bt,Pt,te){"use strict";te.d(Pt,{S:function(){return ie}});var z=te(48736),se=te(67841);function ve(qe,He){var ke=new Set;return qe.forEach(function(ze){He.has(ze)||ke.add(ze)}),ke}function Ne(qe){var He=qe||{},ke=He.disabled,ze=He.disableCheckbox,Me=He.checkable;return!!(ke||ze)||Me===!1}function be(qe,He,ke,ze){for(var Me=new Set(qe),ye=new Set,re=0;re<=ke;re+=1){var a=He.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)&&!ze(ne)&&ae.filter(function(ue){return!ze(ue.node)}).forEach(function(ue){Me.add(ue.key)})})}for(var y=new Set,b=ke;b>=0;b-=1){var E=He.get(b)||new Set;E.forEach(function(x){var ee=x.parent,ne=x.node;if(!(ze(ne)||!x.parent||y.has(x.parent.key))){if(ze(x.parent.node)){y.add(ee.key);return}var oe=!0,ae=!1;(ee.children||[]).filter(function(ue){return!ze(ue.node)}).forEach(function(ue){var me=ue.key,fe=Me.has(me);oe&&!fe&&(oe=!1),!ae&&(fe||ye.has(me))&&(ae=!0)}),oe&&Me.add(ee.key),ae&&ye.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(Me),halfCheckedKeys:Array.from(ve(ye,Me))}}function Ie(qe,He,ke,ze,Me){for(var ye=new Set(qe),re=new Set(He),a=0;a<=ze;a+=1){var y=ke.get(a)||new Set;y.forEach(function(ee){var ne=ee.key,oe=ee.node,ae=ee.children,ue=ae===void 0?[]:ae;!ye.has(ne)&&!re.has(ne)&&!Me(oe)&&ue.filter(function(me){return!Me(me.node)}).forEach(function(me){ye.delete(me.key)})})}re=new Set;for(var b=new Set,E=ze;E>=0;E-=1){var x=ke.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(me){return!Me(me.node)}).forEach(function(me){var fe=me.key,Pe=ye.has(fe);ae&&!Pe&&(ae=!1),!ue&&(Pe||re.has(fe))&&(ue=!0)}),ae||ye.delete(ne.key),ue&&re.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(ye),halfCheckedKeys:Array.from(ve(re,ye))}}function ie(qe,He,ke,ze){var Me=[],ye;ze?ye=ze:ye=Ne;var re=new Set(qe.filter(function(E){var x=!!(0,se.Z)(ke,E);return x||Me.push(E),x})),a=new Map,y=0;Object.keys(ke).forEach(function(E){var x=ke[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 He===!0?b=be(re,a,y,ye):b=Ie(re,He.halfCheckedKeys,a,y,ye),b}},67841:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return z}});function z(se,ve){return se[ve]}},71430:function(bt,Pt,te){"use strict";te.d(Pt,{F:function(){return ee},H8:function(){return x},I8:function(){return E},km:function(){return Me},oH:function(){return y},w$:function(){return ye},zn:function(){return a}});var z=te(39559),se=te(26407),ve=te(33708),Ne=te(37061),be=te(11592),Ie=te(2738),ie=te(48736),qe=te(67841),He=["children"];function ke(ne,oe){return"".concat(ne,"-").concat(oe)}function ze(ne){return ne&&ne.type&&ne.type.isTreeNode}function Me(ne,oe){return ne!=null?ne:oe}function ye(ne){var oe=ne||{},ae=oe.title,ue=oe._title,me=oe.key,fe=oe.children,Pe=ae||"title";return{title:Pe,_title:ue||[Pe],key:me||"key",children:fe||"children"}}function re(ne,oe){var ae=new Map;function ue(me){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(me||[]).forEach(function(Pe){var xe=Pe[oe.key],Ee=Pe[oe.children];warning(xe!=null,"Tree node must have a certain key: [".concat(fe).concat(xe,"]"));var Ae=String(xe);warning(!ae.has(Ae)||xe===null||xe===void 0,"Same 'key' exist in the Tree: ".concat(Ae)),ae.set(Ae,!0),ue(Ee,"".concat(fe).concat(Ae," > "))})}ue(ne)}function a(ne){function oe(ae){var ue=(0,be.Z)(ae);return ue.map(function(me){if(!ze(me))return(0,ie.ZP)(!me,"Tree/TreeNode can only accept TreeNode as children."),null;var fe=me.key,Pe=me.props,xe=Pe.children,Ee=(0,Ne.Z)(Pe,He),Ae=(0,ve.Z)({key:fe},Ee),Ze=oe(xe);return Ze.length&&(Ae.children=Ze),Ae}).filter(function(me){return me})}return oe(ne)}function y(ne,oe,ae){var ue=ye(ae),me=ue._title,fe=ue.key,Pe=ue.children,xe=new Set(oe===!0?[]:oe),Ee=[];function Ae(Ze){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ze.map(function(De,Ue){for(var je=ke(ft?ft.pos:"0",Ue),Ge=Me(De[fe],je),nt,et=0;et1&&arguments[1]!==void 0?arguments[1]:{},ae=oe.initWrapper,ue=oe.processEntity,me=oe.onProcessFinished,fe=oe.externalGetKey,Pe=oe.childrenPropName,xe=oe.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,Ae=fe||Ee,Ze={},ft={},De={posEntities:Ze,keyEntities:ft};return ae&&(De=ae(De)||De),b(ne,function(Ue){var je=Ue.node,Ge=Ue.index,nt=Ue.pos,et=Ue.key,ht=Ue.parentPos,Rt=Ue.level,Qt=Ue.nodes,Je={node:je,nodes:Qt,index:Ge,key:et,pos:nt,level:Rt},it=Me(et,nt);Ze[nt]=Je,ft[it]=Je,Je.parent=Ze[ht],Je.parent&&(Je.parent.children=Je.parent.children||[],Je.parent.children.push(Je)),ue&&ue(Je,De)},{externalGetKey:Ae,childrenPropName:Pe,fieldNames:xe}),me&&me(De),De}function x(ne,oe){var ae=oe.expandedKeys,ue=oe.selectedKeys,me=oe.loadedKeys,fe=oe.loadingKeys,Pe=oe.checkedKeys,xe=oe.halfCheckedKeys,Ee=oe.dragOverNodeKey,Ae=oe.dropPosition,Ze=oe.keyEntities,ft=(0,qe.Z)(Ze,ne),De={eventKey:ne,expanded:ae.indexOf(ne)!==-1,selected:ue.indexOf(ne)!==-1,loaded:me.indexOf(ne)!==-1,loading:fe.indexOf(ne)!==-1,checked:Pe.indexOf(ne)!==-1,halfChecked:xe.indexOf(ne)!==-1,pos:String(ft?ft.pos:""),dragOver:Ee===ne&&Ae===0,dragOverGapTop:Ee===ne&&Ae===-1,dragOverGapBottom:Ee===ne&&Ae===1};return De}function ee(ne){var oe=ne.data,ae=ne.expanded,ue=ne.selected,me=ne.checked,fe=ne.loaded,Pe=ne.loading,xe=ne.halfChecked,Ee=ne.dragOver,Ae=ne.dragOverGapTop,Ze=ne.dragOverGapBottom,ft=ne.pos,De=ne.active,Ue=ne.eventKey,je=(0,ve.Z)((0,ve.Z)({},oe),{},{expanded:ae,selected:ue,checked:me,loaded:fe,loading:Pe,halfChecked:xe,dragOver:Ee,dragOverGapTop:Ae,dragOverGapBottom:Ze,pos:ft,active:De,key:Ue});return"props"in je||Object.defineProperty(je,"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}}),je}},8224:function(bt,Pt,te){"use strict";te.d(Pt,{Z:function(){return se}});var z=te(4676);function se(ve,Ne,be,Ie){var ie=z.unstable_batchedUpdates?function(He){z.unstable_batchedUpdates(be,He)}:be;return ve!=null&&ve.addEventListener&&ve.addEventListener(Ne,ie,Ie),{remove:function(){ve!=null&&ve.removeEventListener&&ve.removeEventListener(Ne,ie,Ie)}}}},55468:function(bt,Pt,te){"use strict";te.d(Pt,{g1:function(){return ze},os:function(){return ye}});var z=/margin|padding|width|height|max|min|offset/,se={left:!0,top:!0},ve={cssFloat:1,styleFloat:1,float:1};function Ne(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 Ie(re,a){var y=arguments.length,b=Ne(re);return a=ve[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=ve[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 Ne(re)}function qe(re){return re===document.body?document.documentElement.clientWidth:re.offsetWidth}function He(re){return re===document.body?window.innerHeight||document.documentElement.clientHeight:re.offsetHeight}function ke(){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 ze(){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 ye(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(bt,Pt,te){"use strict";te.d(Pt,{G:function(){return Ne}});var z=te(47273),se=function(Ie){if((0,z.Z)()&&window.document.documentElement){var ie=Array.isArray(Ie)?Ie:[Ie],qe=window.document.documentElement;return ie.some(function(He){return He in qe.style})}return!1},ve=function(Ie,ie){if(!se(Ie))return!1;var qe=document.createElement("div"),He=qe.style[Ie];return qe.style[Ie]=ie,qe.style[Ie]!==He};function Ne(be,Ie){return!Array.isArray(be)&&Ie!==void 0?ve(be,Ie):se(be)}},51581:function(bt,Pt,te){"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});var z=function(){function Me(ye,re){for(var a=0;a=0||Object.prototype.hasOwnProperty.call(Me,a)&&(re[a]=Me[a]);return re}function qe(Me,ye){if(!(Me instanceof ye))throw new TypeError("Cannot call a class as a function")}function He(Me,ye){if(!Me)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ye&&(typeof ye=="object"||typeof ye=="function")?ye:Me}function ke(Me,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ye);Me.prototype=Object.create(ye&&ye.prototype,{constructor:{value:Me,enumerable:!1,writable:!0,configurable:!0}}),ye&&(Object.setPrototypeOf?Object.setPrototypeOf(Me,ye):Me.__proto__=ye)}var ze=function(Me){ke(ye,Me);function ye(re){qe(this,ye);var a=He(this,(ye.__proto__||Object.getPrototypeOf(ye)).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(ye,[{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;E0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[Ye].sort(x)}}]),he}();function x(he,Ke){var Ye=he.node.sortableInfo.index,we=Ke.node.sortableInfo.index;return Ye-we}function ee(he,Ke,Ye){return he=he.slice(),he.splice(Ye<0?he.length+Ye:Ye,0,he.splice(Ke,1)[0]),he}function ne(he,Ke){return Object.keys(he).reduce(function(Ye,we){return Ke.indexOf(we)===-1&&(Ye[we]=he[we]),Ye},{})}var oe={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ae=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var he=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],Ke=(Array.prototype.slice.call(he).join("").match(/-(moz|webkit|ms)-/)||he.OLink===""&&["","o"])[1];switch(Ke){case"ms":return"ms";default:return Ke&&Ke.length?Ke[0].toUpperCase()+Ke.substr(1):""}}();function ue(he,Ke){Object.keys(Ke).forEach(function(Ye){he.style[Ye]=Ke[Ye]})}function me(he,Ke){he.style["".concat(ae,"Transform")]=Ke==null?"":"translate3d(".concat(Ke.x,"px,").concat(Ke.y,"px,0)")}function fe(he,Ke){he.style["".concat(ae,"TransitionDuration")]=Ke==null?"":"".concat(Ke,"ms")}function Pe(he,Ke){for(;he;){if(Ke(he))return he;he=he.parentNode}return null}function xe(he,Ke,Ye){return Math.max(he,Math.min(Ye,Ke))}function Ee(he){return he.substr(-2)==="px"?parseFloat(he):0}function Ae(he){var Ke=window.getComputedStyle(he);return{bottom:Ee(Ke.marginBottom),left:Ee(Ke.marginLeft),right:Ee(Ke.marginRight),top:Ee(Ke.marginTop)}}function Ze(he,Ke){var Ye=Ke.displayName||Ke.name;return Ye?"".concat(he,"(").concat(Ye,")"):he}function ft(he,Ke){var Ye=he.getBoundingClientRect();return{top:Ye.top+Ke.top,left:Ye.left+Ke.left}}function De(he){return he.touches&&he.touches.length?{x:he.touches[0].pageX,y:he.touches[0].pageY}:he.changedTouches&&he.changedTouches.length?{x:he.changedTouches[0].pageX,y:he.changedTouches[0].pageY}:{x:he.pageX,y:he.pageY}}function Ue(he){return he.touches&&he.touches.length||he.changedTouches&&he.changedTouches.length}function je(he,Ke){var Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(he){var we={left:Ye.left+he.offsetLeft,top:Ye.top+he.offsetTop};return he.parentNode===Ke?we:je(he.parentNode,Ke,we)}}function Ge(he,Ke,Ye){return heKe?he-1:he>Ye&&he0&&Ye[Kt].height>0){var Se=$e.getContext("2d");Se.drawImage(Ye[Kt],0,0)}}),we}function Mt(he){var Ke,Ye,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ye=Ke=function(gt){_inherits($e,gt);function $e(){return _classCallCheck(this,$e),_possibleConstructorReturn(this,_getPrototypeOf($e).apply(this,arguments))}return _createClass($e,[{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(he,_extends({ref:Se},this.props))}}]),$e}(Component),_defineProperty(Ke,"displayName",Ze("sortableHandle",he)),Ye}function St(he){return he.sortableHandle!=null}var cn=function(){function he(Ke,Ye){(0,Ne.Z)(this,he),this.container=Ke,this.onScrollCallback=Ye}return(0,be.Z)(he,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(Ye){var we=this,gt=Ye.translate,$e=Ye.minTranslate,Kt=Ye.maxTranslate,Se=Ye.width,ot=Ye.height,wt={x:0,y:0},Le={x:1,y:1},We={x:10,y:10},st=this.container,Ft=st.scrollTop,Wt=st.scrollLeft,mn=st.scrollHeight,lt=st.scrollWidth,At=st.clientHeight,Et=st.clientWidth,nn=Ft===0,Ut=mn-Ft-At===0,sn=Wt===0,_n=lt-Wt-Et===0;gt.y>=Kt.y-ot/2&&!Ut?(wt.y=1,Le.y=We.y*Math.abs((Kt.y-ot/2-gt.y)/ot)):gt.x>=Kt.x-Se/2&&!_n?(wt.x=1,Le.x=We.x*Math.abs((Kt.x-Se/2-gt.x)/Se)):gt.y<=$e.y+ot/2&&!nn?(wt.y=-1,Le.y=We.y*Math.abs((gt.y-ot/2-$e.y)/ot)):gt.x<=$e.x+Se/2&&!sn&&(wt.x=-1,Le.x=We.x*Math.abs((gt.x-Se/2-$e.x)/Se)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(wt.x!==0||wt.y!==0)&&(this.interval=setInterval(function(){we.isAutoScrolling=!0;var hn={left:Le.x*wt.x,top:Le.y*wt.y};we.container.scrollTop+=hn.top,we.container.scrollLeft+=hn.left,we.onScrollCallback(hn)},5))}}]),he}();function Fe(he){var Ke=he.node;return{height:Ke.offsetHeight,width:Ke.offsetWidth}}function $t(he){var Ke=[it.Input,it.Textarea,it.Select,it.Option,it.Button];return!!(Ke.indexOf(he.target.tagName)!==-1||Pe(he.target,function(Ye){return Ye.contentEditable==="true"}))}var Yt={axis:ye().oneOf(["x","y","xy"]),contentWindow:ye().any,disableAutoscroll:ye().bool,distance:ye().number,getContainer:ye().func,getHelperDimensions:ye().func,helperClass:ye().string,helperContainer:ye().oneOfType([ye().func,typeof HTMLElement=="undefined"?ye().any:ye().instanceOf(HTMLElement)]),hideSortableGhost:ye().bool,keyboardSortingTransitionDuration:ye().number,lockAxis:ye().string,lockOffset:ye().oneOfType([ye().number,ye().string,ye().arrayOf(ye().oneOfType([ye().number,ye().string]))]),lockToContainerEdges:ye().bool,onSortEnd:ye().func,onSortMove:ye().func,onSortOver:ye().func,onSortStart:ye().func,pressDelay:ye().number,pressThreshold:ye().number,keyCodes:ye().shape({lift:ye().arrayOf(ye().number),drop:ye().arrayOf(ye().number),cancel:ye().arrayOf(ye().number),up:ye().arrayOf(ye().number),down:ye().arrayOf(ye().number)}),shouldCancelStart:ye().func,transitionDuration:ye().number,updateBeforeSortStart:ye().func,useDragHandle:ye().bool,useWindowAsScrollContainer:ye().bool},vt={lift:[Je.SPACE],drop:[Je.SPACE],cancel:[Je.ESC],up:[Je.UP,Je.LEFT],down:[Je.DOWN,Je.RIGHT]},tn={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Fe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:vt,shouldCancelStart:$t,transitionDuration:300,useWindowAsScrollContainer:!1},dt=Object.keys(Yt);function ct(he){y()(!(he.distance&&he.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 rt(he,Ke){try{var Ye=he()}catch(we){return Ke(!0,we)}return Ye&&Ye.then?Ye.then(Ke.bind(null,!1),Ke.bind(null,!0)):Ke(!1,value)}function Oe(he){var Ke,Ye,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ye=Ke=function(gt){(0,qe.Z)($e,gt);function $e(Kt){var Se;return(0,Ne.Z)(this,$e),Se=(0,Ie.Z)(this,(0,ie.Z)($e).call(this,Kt)),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"state",{}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleStart",function(ot){var wt=Se.props,Le=wt.distance,We=wt.shouldCancelStart;if(!(ot.button===2||We(ot))){Se.touched=!0,Se.position=De(ot);var st=Pe(ot.target,function(Et){return Et.sortableInfo!=null});if(st&&st.sortableInfo&&Se.nodeIsChild(st)&&!Se.state.sorting){var Ft=Se.props.useDragHandle,Wt=st.sortableInfo,mn=Wt.index,lt=Wt.collection,At=Wt.disabled;if(At||Ft&&!Pe(ot.target,St))return;Se.manager.active={collection:lt,index:mn},!Ue(ot)&&ot.target.tagName===it.Anchor&&ot.preventDefault(),Le||(Se.props.pressDelay===0?Se.handlePress(ot):Se.pressTimer=setTimeout(function(){return Se.handlePress(ot)},Se.props.pressDelay))}}}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"nodeIsChild",function(ot){return ot.sortableInfo.manager===Se.manager}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleMove",function(ot){var wt=Se.props,Le=wt.distance,We=wt.pressThreshold;if(!Se.state.sorting&&Se.touched&&!Se._awaitingUpdateBeforeSortStart){var st=De(ot),Ft={x:Se.position.x-st.x,y:Se.position.y-st.y},Wt=Math.abs(Ft.x)+Math.abs(Ft.y);Se.delta=Ft,!Le&&(!We||Wt>=We)?(clearTimeout(Se.cancelTimer),Se.cancelTimer=setTimeout(Se.cancel,0)):Le&&Wt>=Le&&Se.manager.isActive()&&Se.handlePress(ot)}}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleEnd",function(){Se.touched=!1,Se.cancel()}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"cancel",function(){var ot=Se.props.distance,wt=Se.state.sorting;wt||(ot||clearTimeout(Se.pressTimer),Se.manager.active=null)}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handlePress",function(ot){try{var wt=Se.manager.getActive(),Le=function(){if(wt){var We=function(){var Un=Ut.sortableInfo.index,Ht=Ae(Ut),Zt=Qt(Se.container),qt=Se.scrollContainer.getBoundingClientRect(),wa=Wt({index:Un,node:Ut,collection:sn});if(Se.node=Ut,Se.margin=Ht,Se.gridGap=Zt,Se.width=wa.width,Se.height=wa.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=Ut.getBoundingClientRect(),Se.containerBoundingRect=qt,Se.index=Un,Se.newIndex=Un,Se.axis={x:Ft.indexOf("x")>=0,y:Ft.indexOf("y")>=0},Se.offsetEdge=je(Ut,Se.container),_n?Se.initialOffset=De((0,ve.Z)({},ot,{pageX:Se.boundingClientRect.left,pageY:Se.boundingClientRect.top})):Se.initialOffset=De(ot),Se.initialScroll={left:Se.scrollContainer.scrollLeft,top:Se.scrollContainer.scrollTop},Se.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Se.helper=Se.helperContainer.appendChild(Bt(Ut)),ue(Se.helper,{boxSizing:"border-box",height:"".concat(Se.height,"px"),left:"".concat(Se.boundingClientRect.left-Ht.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Se.boundingClientRect.top-Ht.top,"px"),width:"".concat(Se.width,"px")}),_n&&Se.helper.focus(),lt&&(Se.sortableGhost=Ut,ue(Ut,{opacity:0,visibility:"hidden"})),Se.minTranslate={},Se.maxTranslate={},_n){var qn=nn?{top:0,left:0,width:Se.contentWindow.innerWidth,height:Se.contentWindow.innerHeight}:Se.containerBoundingRect,Tn=qn.top,ja=qn.left,Ia=qn.width,Dr=qn.height,yr=Tn+Dr,Zn=ja+Ia;Se.axis.x&&(Se.minTranslate.x=ja-Se.boundingClientRect.left,Se.maxTranslate.x=Zn-(Se.boundingClientRect.left+Se.width)),Se.axis.y&&(Se.minTranslate.y=Tn-Se.boundingClientRect.top,Se.maxTranslate.y=yr-(Se.boundingClientRect.top+Se.height))}else Se.axis.x&&(Se.minTranslate.x=(nn?0:qt.left)-Se.boundingClientRect.left-Se.width/2,Se.maxTranslate.x=(nn?Se.contentWindow.innerWidth:qt.left+qt.width)-Se.boundingClientRect.left-Se.width/2),Se.axis.y&&(Se.minTranslate.y=(nn?0:qt.top)-Se.boundingClientRect.top-Se.height/2,Se.maxTranslate.y=(nn?Se.contentWindow.innerHeight:qt.top+qt.height)-Se.boundingClientRect.top-Se.height/2);mn&&mn.split(" ").forEach(function(yt){return Se.helper.classList.add(yt)}),Se.listenerNode=ot.touches?Ut:Se.contentWindow,_n?(Se.listenerNode.addEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(yt){return Se.listenerNode.addEventListener(yt,Se.handleSortMove,!1)}),oe.end.forEach(function(yt){return Se.listenerNode.addEventListener(yt,Se.handleSortEnd,!1)})),Se.setState({sorting:!0,sortingIndex:Un}),Et&&Et({node:Ut,index:Un,collection:sn,isKeySorting:_n,nodes:Se.manager.getOrderedRefs(),helper:Se.helper},ot),_n&&Se.keyMove(0)},st=Se.props,Ft=st.axis,Wt=st.getHelperDimensions,mn=st.helperClass,lt=st.hideSortableGhost,At=st.updateBeforeSortStart,Et=st.onSortStart,nn=st.useWindowAsScrollContainer,Ut=wt.node,sn=wt.collection,_n=Se.manager.isKeySorting,hn=function(){if(typeof At=="function"){Se._awaitingUpdateBeforeSortStart=!0;var an=rt(function(){var Un=Ut.sortableInfo.index;return Promise.resolve(At({collection:sn,index:Un,node:Ut,isKeySorting:_n},ot)).then(function(){})},function(Un,Ht){if(Se._awaitingUpdateBeforeSortStart=!1,Un)throw Ht;return Ht});if(an&&an.then)return an.then(function(){})}}();return hn&&hn.then?hn.then(We):We(hn)}}();return Promise.resolve(Le&&Le.then?Le.then(function(){}):void 0)}catch(We){return Promise.reject(We)}}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleSortMove",function(ot){var wt=Se.props.onSortMove;typeof ot.preventDefault=="function"&&ot.preventDefault(),Se.updateHelperPosition(ot),Se.animateNodes(),Se.autoscroll(),wt&&wt(ot)}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleSortEnd",function(ot){var wt=Se.props,Le=wt.hideSortableGhost,We=wt.onSortEnd,st=Se.manager,Ft=st.active.collection,Wt=st.isKeySorting,mn=Se.manager.getOrderedRefs();Se.listenerNode&&(Wt?(Se.listenerNode.removeEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(Ut){return Se.listenerNode.removeEventListener(Ut,Se.handleSortMove)}),oe.end.forEach(function(Ut){return Se.listenerNode.removeEventListener(Ut,Se.handleSortEnd)}))),Se.helper.parentNode.removeChild(Se.helper),Le&&Se.sortableGhost&&ue(Se.sortableGhost,{opacity:"",visibility:""});for(var lt=0,At=mn.length;ltLe)){Se.prevIndex=st,Se.newIndex=We;var Ft=Ge(Se.newIndex,Se.prevIndex,Se.index),Wt=wt.find(function(_n){var hn=_n.node;return hn.sortableInfo.index===Ft}),mn=Wt.node,lt=Se.containerScrollDelta,At=Wt.boundingClientRect||ft(mn,lt),Et=Wt.translate||{x:0,y:0},nn={top:At.top+Et.y-lt.top,left:At.left+Et.x-lt.left},Ut=st_n?_n/2:this.height/2,width:this.width>sn?sn/2:this.width/2},an=mn&&Ut>this.index&&Ut<=lt,Un=mn&&Ut=lt,Ht={x:0,y:0},Zt=Ft[At].edgeOffset;Zt||(Zt=je(nn,this.container),Ft[At].edgeOffset=Zt,mn&&(Ft[At].boundingClientRect=ft(nn,We)));var qt=At0&&Ft[At-1];if(qt&&!qt.edgeOffset&&(qt.edgeOffset=je(qt.node,this.container),mn&&(qt.boundingClientRect=ft(qt.node,We))),Ut===this.index){wt&&(this.sortableGhost=nn,ue(nn,{opacity:0,visibility:"hidden"}));continue}ot&&fe(nn,ot),this.axis.x?this.axis.y?Un||Utthis.containerBoundingRect.width-hn.width&&qt&&(Ht.x=qt.edgeOffset.left-Zt.left,Ht.y=qt.edgeOffset.top-Zt.top),this.newIndex===null&&(this.newIndex=Ut)):(an||Ut>this.index&&(Wt.left+st.left+hn.width>=Zt.left&&Wt.top+st.top+hn.height>=Zt.top||Wt.top+st.top+hn.height>=Zt.top+_n))&&(Ht.x=-(this.width+this.marginOffset.x),Zt.left+Ht.xthis.index&&Wt.left+st.left+hn.width>=Zt.left?(Ht.x=-(this.width+this.marginOffset.x),this.newIndex=Ut):(Un||Utthis.index&&Wt.top+st.top+hn.height>=Zt.top?(Ht.y=-(this.height+this.marginOffset.y),this.newIndex=Ut):(Un||Ut1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ye=Ke=function(gt){(0,qe.Z)($e,gt);function $e(){return(0,Ne.Z)(this,$e),(0,Ie.Z)(this,(0,ie.Z)($e).apply(this,arguments))}return(0,be.Z)($e,[{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,ot=Se.collection,wt=Se.disabled,Le=Se.index,We=(0,re.findDOMNode)(this);We.sortableInfo={collection:ot,disabled:wt,index:Le,manager:this.context.manager},this.node=We,this.ref={node:We},this.context.manager.add(ot,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,ze.createElement)(he,(0,z.Z)({ref:Se},ne(this.props,ut)))}}]),$e}(ze.Component),(0,ke.Z)(Ke,"displayName",Ze("sortableElement",he)),(0,ke.Z)(Ke,"contextTypes",{manager:ye().object.isRequired}),(0,ke.Z)(Ke,"propTypes",pt),(0,ke.Z)(Ke,"defaultProps",{collection:0}),Ye}},25510:function(bt){"use strict";bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2SOMjmEGBYICQYGgQFBgJ1MgAMtO5l70PSgQFAgKBAWCAnuEAgF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Mq+9pWv2siJE+33l15iJ//0p/brs39jy660oj14/73hbKQVV1jBPrznXnbAgQeGocAVRF+gr790rnUBLAWwtCsOC2DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1P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YIckKfkgocJCc7Lds1rDOwi97JitpRnCXUB2PcYASNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(bt,Pt,te){"use strict";bt.exports=te.p+"static/AssistantCode3.a8740efb.jpeg"}}]); }());