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

344 lines
1.2 MiB

!(function(){var us=Object.defineProperty,ss=Object.defineProperties;var ds=Object.getOwnPropertyDescriptors;var Nu=Object.getOwnPropertySymbols;var as=Object.prototype.hasOwnProperty,rs=Object.prototype.propertyIsEnumerable;var Yu=Math.pow,ns=(ct,it,ee)=>it in ct?us(ct,it,{enumerable:!0,configurable:!0,writable:!0,value:ee}):ct[it]=ee,Zr=(ct,it)=>{for(var ee in it||(it={}))as.call(it,ee)&&ns(ct,ee,it[ee]);if(Nu)for(var ee of Nu(it))rs.call(it,ee)&&ns(ct,ee,it[ee]);return ct},si=(ct,it)=>ss(ct,ds(it));var Iu=(ct,it)=>{var ee={};for(var x in ct)as.call(ct,x)&&it.indexOf(x)<0&&(ee[x]=ct[x]);if(ct!=null&&Nu)for(var x of Nu(ct))it.indexOf(x)<0&&rs.call(ct,x)&&(ee[x]=ct[x]);return ee};var os=(ct,it,ee)=>new Promise((x,de)=>{var pe=ke=>{try{xe(ee.next(ke))}catch(ie){de(ie)}},Fe=ke=>{try{xe(ee.throw(ke))}catch(ie){de(ie)}},xe=ke=>ke.done?x(ke.value):Promise.resolve(ke.value).then(pe,Fe);xe((ee=ee.apply(ct,it)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3951],{52310:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},33463:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},28575:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},84249:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},33863:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},81893:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},90674:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},55304:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},73148:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},56747:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},50881:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},22751:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},24018:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},34182:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},40043:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},74664:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},91034:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ie}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Ie,Te){return de.createElement(xe.Z,(0,x.Z)({},Ie,{ref:Te,icon:Fe}))},ie=de.forwardRef(ke)},60887:function(ct,it,ee){"use strict";ee.d(it,{LB:function(){return xo},g4:function(){return He},VK:function(){return dt},Cj:function(){return Vr},O1:function(){return Qn},Zj:function(){return Ao}});var x=ee(67294),de=ee(73935),pe=ee(24285);const Fe={display:"none"};function xe(ce){let{id:Pe,value:Ne}=ce;return x.createElement("div",{id:Pe,style:Fe},Ne)}function ke(ce){let{id:Pe,announcement:Ne,ariaLiveType:Se="assertive"}=ce;const Qe={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return x.createElement("div",{id:Pe,style:Qe,role:"status","aria-live":Se,"aria-atomic":!0},Ne)}function ie(){const[ce,Pe]=(0,x.useState)("");return{announce:(0,x.useCallback)(Se=>{Se!=null&&Pe(Se)},[]),announcement:ce}}const Ue=(0,x.createContext)(null);function Ie(ce){const Pe=(0,x.useContext)(Ue);(0,x.useEffect)(()=>{if(!Pe)throw new Error("useDndMonitor must be used within a children of <DndContext>");return Pe(ce)},[ce,Pe])}function Te(){const[ce]=(0,x.useState)(()=>new Set),Pe=(0,x.useCallback)(Se=>(ce.add(Se),()=>ce.delete(Se)),[ce]);return[(0,x.useCallback)(Se=>{let{type:Qe,event:rt}=Se;ce.forEach(bt=>{var tt;return(tt=bt[Qe])==null?void 0:tt.call(bt,rt)})},[ce]),Pe]}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.
`},Be={onDragStart(ce){let{active:Pe}=ce;return"Picked up draggable item "+Pe.id+"."},onDragOver(ce){let{active:Pe,over:Ne}=ce;return Ne?"Draggable item "+Pe.id+" was moved over droppable area "+Ne.id+".":"Draggable item "+Pe.id+" is no longer over a droppable area."},onDragEnd(ce){let{active:Pe,over:Ne}=ce;return Ne?"Draggable item "+Pe.id+" was dropped over droppable area "+Ne.id:"Draggable item "+Pe.id+" was dropped."},onDragCancel(ce){let{active:Pe}=ce;return"Dragging was cancelled. Draggable item "+Pe.id+" was dropped."}};function me(ce){let{announcements:Pe=Be,container:Ne,hiddenTextDescribedById:Se,screenReaderInstructions:Qe=ze}=ce;const{announce:rt,announcement:bt}=ie(),tt=(0,pe.Ld)("DndLiveRegion"),[lt,mt]=(0,x.useState)(!1);if((0,x.useEffect)(()=>{mt(!0)},[]),Ie((0,x.useMemo)(()=>({onDragStart(hn){let{active:Vn}=hn;rt(Pe.onDragStart({active:Vn}))},onDragMove(hn){let{active:Vn,over:kn}=hn;Pe.onDragMove&&rt(Pe.onDragMove({active:Vn,over:kn}))},onDragOver(hn){let{active:Vn,over:kn}=hn;rt(Pe.onDragOver({active:Vn,over:kn}))},onDragEnd(hn){let{active:Vn,over:kn}=hn;rt(Pe.onDragEnd({active:Vn,over:kn}))},onDragCancel(hn){let{active:Vn,over:kn}=hn;rt(Pe.onDragCancel({active:Vn,over:kn}))}}),[rt,Pe])),!lt)return null;const on=x.createElement(x.Fragment,null,x.createElement(xe,{id:Se,value:Qe.draggable}),x.createElement(ke,{id:tt,announcement:bt}));return Ne?(0,de.createPortal)(on,Ne):on}var oe;(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"})(oe||(oe={}));function a(){}function y(ce,Pe){return useMemo(()=>({sensor:ce,options:Pe!=null?Pe:{}}),[ce,Pe])}function b(){for(var ce=arguments.length,Pe=new Array(ce),Ne=0;Ne<ce;Ne++)Pe[Ne]=arguments[Ne];return useMemo(()=>[...Pe].filter(Se=>Se!=null),[...Pe])}const E=Object.freeze({x:0,y:0});function z(ce,Pe){return Math.sqrt(Math.pow(ce.x-Pe.x,2)+Math.pow(ce.y-Pe.y,2))}function te(ce,Pe){const Ne=getEventCoordinates(ce);if(!Ne)return"0 0";const Se={x:(Ne.x-Pe.left)/Pe.width*100,y:(Ne.y-Pe.top)/Pe.height*100};return Se.x+"% "+Se.y+"%"}function ne(ce,Pe){let{data:{value:Ne}}=ce,{data:{value:Se}}=Pe;return Ne-Se}function re(ce,Pe){let{data:{value:Ne}}=ce,{data:{value:Se}}=Pe;return Se-Ne}function ae(ce){let{left:Pe,top:Ne,height:Se,width:Qe}=ce;return[{x:Pe,y:Ne},{x:Pe+Qe,y:Ne},{x:Pe,y:Ne+Se},{x:Pe+Qe,y:Ne+Se}]}function le(ce,Pe){if(!ce||ce.length===0)return null;const[Ne]=ce;return Pe?Ne[Pe]:Ne}function he(ce,Pe,Ne){return Pe===void 0&&(Pe=ce.left),Ne===void 0&&(Ne=ce.top),{x:Pe+ce.width*.5,y:Ne+ce.height*.5}}const ve=ce=>{let{collisionRect:Pe,droppableRects:Ne,droppableContainers:Se}=ce;const Qe=he(Pe,Pe.left,Pe.top),rt=[];for(const bt of Se){const{id:tt}=bt,lt=Ne.get(tt);if(lt){const mt=z(he(lt),Qe);rt.push({id:tt,data:{droppableContainer:bt,value:mt}})}}return rt.sort(ne)},Ce=ce=>{let{collisionRect:Pe,droppableRects:Ne,droppableContainers:Se}=ce;const Qe=ae(Pe),rt=[];for(const bt of Se){const{id:tt}=bt,lt=Ne.get(tt);if(lt){const mt=ae(lt),on=Qe.reduce((Vn,kn,Aa)=>Vn+z(mt[Aa],kn),0),hn=Number((on/4).toFixed(4));rt.push({id:tt,data:{droppableContainer:bt,value:hn}})}}return rt.sort(ne)};function be(ce,Pe){const Ne=Math.max(Pe.top,ce.top),Se=Math.max(Pe.left,ce.left),Qe=Math.min(Pe.left+Pe.width,ce.left+ce.width),rt=Math.min(Pe.top+Pe.height,ce.top+ce.height),bt=Qe-Se,tt=rt-Ne;if(Se<Qe&&Ne<rt){const lt=Pe.width*Pe.height,mt=ce.width*ce.height,on=bt*tt,hn=on/(lt+mt-on);return Number(hn.toFixed(4))}return 0}const ye=ce=>{let{collisionRect:Pe,droppableRects:Ne,droppableContainers:Se}=ce;const Qe=[];for(const rt of Se){const{id:bt}=rt,tt=Ne.get(bt);if(tt){const lt=be(tt,Pe);lt>0&&Qe.push({id:bt,data:{droppableContainer:rt,value:lt}})}}return Qe.sort(re)};function De(ce,Pe){const{top:Ne,left:Se,bottom:Qe,right:rt}=Pe;return Ne<=ce.y&&ce.y<=Qe&&Se<=ce.x&&ce.x<=rt}const Oe=ce=>{let{droppableContainers:Pe,droppableRects:Ne,pointerCoordinates:Se}=ce;if(!Se)return[];const Qe=[];for(const rt of Pe){const{id:bt}=rt,tt=Ne.get(bt);if(tt&&De(Se,tt)){const mt=ae(tt).reduce((hn,Vn)=>hn+z(Se,Vn),0),on=Number((mt/4).toFixed(4));Qe.push({id:bt,data:{droppableContainer:rt,value:on}})}}return Qe.sort(ne)};function $e(ce,Pe,Ne){return si(Zr({},ce),{scaleX:Pe&&Ne?Pe.width/Ne.width:1,scaleY:Pe&&Ne?Pe.height/Ne.height:1})}function Le(ce,Pe){return ce&&Pe?{x:ce.left-Pe.left,y:ce.top-Pe.top}:E}function je(ce){return function(Ne){for(var Se=arguments.length,Qe=new Array(Se>1?Se-1:0),rt=1;rt<Se;rt++)Qe[rt-1]=arguments[rt];return Qe.reduce((bt,tt)=>si(Zr({},bt),{top:bt.top+ce*tt.y,bottom:bt.bottom+ce*tt.y,left:bt.left+ce*tt.x,right:bt.right+ce*tt.x}),Zr({},Ne))}}const We=je(1);function Ke(ce){if(ce.startsWith("matrix3d(")){const Pe=ce.slice(9,-1).split(/, /);return{x:+Pe[12],y:+Pe[13],scaleX:+Pe[0],scaleY:+Pe[5]}}else if(ce.startsWith("matrix(")){const Pe=ce.slice(7,-1).split(/, /);return{x:+Pe[4],y:+Pe[5],scaleX:+Pe[0],scaleY:+Pe[3]}}return null}function qe(ce,Pe,Ne){const Se=Ke(Pe);if(!Se)return ce;const{scaleX:Qe,scaleY:rt,x:bt,y:tt}=Se,lt=ce.left-bt-(1-Qe)*parseFloat(Ne),mt=ce.top-tt-(1-rt)*parseFloat(Ne.slice(Ne.indexOf(" ")+1)),on=Qe?ce.width/Qe:ce.width,hn=rt?ce.height/rt:ce.height;return{width:on,height:hn,top:mt,right:lt+on,bottom:mt+hn,left:lt}}const ot={ignoreTransform:!1};function dt(ce,Pe){Pe===void 0&&(Pe=ot);let Ne=ce.getBoundingClientRect();if(Pe.ignoreTransform){const{transform:mt,transformOrigin:on}=(0,pe.Jj)(ce).getComputedStyle(ce);mt&&(Ne=qe(Ne,mt,on))}const{top:Se,left:Qe,width:rt,height:bt,bottom:tt,right:lt}=Ne;return{top:Se,left:Qe,width:rt,height:bt,bottom:tt,right:lt}}function $t(ce){return dt(ce,{ignoreTransform:!0})}function gn(ce){const Pe=ce.innerWidth,Ne=ce.innerHeight;return{top:0,left:0,right:Pe,bottom:Ne,width:Pe,height:Ne}}function at(ce,Pe){return Pe===void 0&&(Pe=(0,pe.Jj)(ce).getComputedStyle(ce)),Pe.position==="fixed"}function ht(ce,Pe){Pe===void 0&&(Pe=(0,pe.Jj)(ce).getComputedStyle(ce));const Ne=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Qe=>{const rt=Pe[Qe];return typeof rt=="string"?Ne.test(rt):!1})}function Bt(ce,Pe){const Ne=[];function Se(Qe){if(Pe!=null&&Ne.length>=Pe||!Qe)return Ne;if((0,pe.qk)(Qe)&&Qe.scrollingElement!=null&&!Ne.includes(Qe.scrollingElement))return Ne.push(Qe.scrollingElement),Ne;if(!(0,pe.Re)(Qe)||(0,pe.vZ)(Qe)||Ne.includes(Qe))return Ne;const rt=(0,pe.Jj)(ce).getComputedStyle(Qe);return Qe!==ce&&ht(Qe,rt)&&Ne.push(Qe),at(Qe,rt)?Ne:Se(Qe.parentNode)}return ce?Se(ce):Ne}function ut(ce){const[Pe]=Bt(ce,1);return Pe!=null?Pe:null}function wt(ce){return!pe.Nq||!ce?null:(0,pe.FJ)(ce)?ce:(0,pe.UG)(ce)?(0,pe.qk)(ce)||ce===(0,pe.r3)(ce).scrollingElement?window:(0,pe.Re)(ce)?ce:null:null}function Ht(ce){return(0,pe.FJ)(ce)?ce.scrollX:ce.scrollLeft}function Ge(ce){return(0,pe.FJ)(ce)?ce.scrollY:ce.scrollTop}function bn(ce){return{x:Ht(ce),y:Ge(ce)}}var Dn;(function(ce){ce[ce.Forward=1]="Forward",ce[ce.Backward=-1]="Backward"})(Dn||(Dn={}));function Ct(ce){return!pe.Nq||!ce?!1:ce===document.scrollingElement}function Kt(ce){const Pe={x:0,y:0},Ne=Ct(ce)?{height:window.innerHeight,width:window.innerWidth}:{height:ce.clientHeight,width:ce.clientWidth},Se={x:ce.scrollWidth-Ne.width,y:ce.scrollHeight-Ne.height},Qe=ce.scrollTop<=Pe.y,rt=ce.scrollLeft<=Pe.x,bt=ce.scrollTop>=Se.y,tt=ce.scrollLeft>=Se.x;return{isTop:Qe,isLeft:rt,isBottom:bt,isRight:tt,maxScroll:Se,minScroll:Pe}}const Ut={x:.2,y:.2};function Rt(ce,Pe,Ne,Se,Qe){let{top:rt,left:bt,right:tt,bottom:lt}=Ne;Se===void 0&&(Se=10),Qe===void 0&&(Qe=Ut);const{isTop:mt,isBottom:on,isLeft:hn,isRight:Vn}=Kt(ce),kn={x:0,y:0},Aa={x:0,y:0},pa={height:Pe.height*Qe.y,width:Pe.width*Qe.x};return!mt&&rt<=Pe.top+pa.height?(kn.y=Dn.Backward,Aa.y=Se*Math.abs((Pe.top+pa.height-rt)/pa.height)):!on&&lt>=Pe.bottom-pa.height&&(kn.y=Dn.Forward,Aa.y=Se*Math.abs((Pe.bottom-pa.height-lt)/pa.height)),!Vn&&tt>=Pe.right-pa.width?(kn.x=Dn.Forward,Aa.x=Se*Math.abs((Pe.right-pa.width-tt)/pa.width)):!hn&&bt<=Pe.left+pa.width&&(kn.x=Dn.Backward,Aa.x=Se*Math.abs((Pe.left+pa.width-bt)/pa.width)),{direction:kn,speed:Aa}}function St(ce){if(ce===document.scrollingElement){const{innerWidth:rt,innerHeight:bt}=window;return{top:0,left:0,right:rt,bottom:bt,width:rt,height:bt}}const{top:Pe,left:Ne,right:Se,bottom:Qe}=ce.getBoundingClientRect();return{top:Pe,left:Ne,right:Se,bottom:Qe,width:ce.clientWidth,height:ce.clientHeight}}function Ft(ce){return ce.reduce((Pe,Ne)=>(0,pe.IH)(Pe,bn(Ne)),E)}function Pt(ce){return ce.reduce((Pe,Ne)=>Pe+Ht(Ne),0)}function st(ce){return ce.reduce((Pe,Ne)=>Pe+Ge(Ne),0)}function Jt(ce,Pe){if(Pe===void 0&&(Pe=dt),!ce)return;const{top:Ne,left:Se,bottom:Qe,right:rt}=Pe(ce);ut(ce)&&(Qe<=0||rt<=0||Ne>=window.innerHeight||Se>=window.innerWidth)&&ce.scrollIntoView({block:"center",inline:"center"})}const Ot=[["x",["left","right"],Pt],["y",["top","bottom"],st]];class xt{constructor(Pe,Ne){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 Se=Bt(Ne),Qe=Ft(Se);this.rect=Zr({},Pe),this.width=Pe.width,this.height=Pe.height;for(const[rt,bt,tt]of Ot)for(const lt of bt)Object.defineProperty(this,lt,{get:()=>{const mt=tt(Se),on=Qe[rt]-mt;return this.rect[lt]+on},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class mn{constructor(Pe){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Ne=>{var Se;return(Se=this.target)==null?void 0:Se.removeEventListener(...Ne)})},this.target=Pe}add(Pe,Ne,Se){var Qe;(Qe=this.target)==null||Qe.addEventListener(Pe,Ne,Se),this.listeners.push([Pe,Ne,Se])}}function en(ce){const{EventTarget:Pe}=(0,pe.Jj)(ce);return ce instanceof Pe?ce:(0,pe.r3)(ce)}function Ve(ce,Pe){const Ne=Math.abs(ce.x),Se=Math.abs(ce.y);return typeof Pe=="number"?Math.sqrt(Yu(Ne,2)+Yu(Se,2))>Pe:"x"in Pe&&"y"in Pe?Ne>Pe.x&&Se>Pe.y:"x"in Pe?Ne>Pe.x:"y"in Pe?Se>Pe.y:!1}var Re;(function(ce){ce.Click="click",ce.DragStart="dragstart",ce.Keydown="keydown",ce.ContextMenu="contextmenu",ce.Resize="resize",ce.SelectionChange="selectionchange",ce.VisibilityChange="visibilitychange"})(Re||(Re={}));function In(ce){ce.preventDefault()}function we(ce){ce.stopPropagation()}var He;(function(ce){ce.Space="Space",ce.Down="ArrowDown",ce.Right="ArrowRight",ce.Left="ArrowLeft",ce.Up="ArrowUp",ce.Esc="Escape",ce.Enter="Enter"})(He||(He={}));const Wt={start:[He.Space,He.Enter],cancel:[He.Esc],end:[He.Space,He.Enter]},et=(ce,Pe)=>{let{currentCoordinates:Ne}=Pe;switch(ce.code){case He.Right:return si(Zr({},Ne),{x:Ne.x+25});case He.Left:return si(Zr({},Ne),{x:Ne.x-25});case He.Down:return si(Zr({},Ne),{y:Ne.y+25});case He.Up:return si(Zr({},Ne),{y:Ne.y-25})}};class Ye{constructor(Pe){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=Pe;const{event:{target:Ne}}=Pe;this.props=Pe,this.listeners=new mn((0,pe.r3)(Ne)),this.windowListeners=new mn((0,pe.Jj)(Ne)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Re.Resize,this.handleCancel),this.windowListeners.add(Re.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Re.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:Pe,onStart:Ne}=this.props,Se=Pe.node.current;Se&&Jt(Se),Ne(E)}handleKeyDown(Pe){if((0,pe.vd)(Pe)){const{active:Ne,context:Se,options:Qe}=this.props,{keyboardCodes:rt=Wt,coordinateGetter:bt=et,scrollBehavior:tt="smooth"}=Qe,{code:lt}=Pe;if(rt.end.includes(lt)){this.handleEnd(Pe);return}if(rt.cancel.includes(lt)){this.handleCancel(Pe);return}const{collisionRect:mt}=Se.current,on=mt?{x:mt.left,y:mt.top}:E;this.referenceCoordinates||(this.referenceCoordinates=on);const hn=bt(Pe,{active:Ne,context:Se.current,currentCoordinates:on});if(hn){const Vn=(0,pe.$X)(hn,on),kn={x:0,y:0},{scrollableAncestors:Aa}=Se.current;for(const pa of Aa){const Sn=Pe.code,{isTop:jt,isRight:yn,isLeft:Cn,isBottom:ha,maxScroll:Da,minScroll:wa}=Kt(pa),za=St(pa),Oa={x:Math.min(Sn===He.Right?za.right-za.width/2:za.right,Math.max(Sn===He.Right?za.left:za.left+za.width/2,hn.x)),y:Math.min(Sn===He.Down?za.bottom-za.height/2:za.bottom,Math.max(Sn===He.Down?za.top:za.top+za.height/2,hn.y))},ea=Sn===He.Right&&!yn||Sn===He.Left&&!Cn,Ba=Sn===He.Down&&!ha||Sn===He.Up&&!jt;if(ea&&Oa.x!==hn.x){const xa=pa.scrollLeft+Vn.x,Ya=Sn===He.Right&&xa<=Da.x||Sn===He.Left&&xa>=wa.x;if(Ya&&!Vn.y){pa.scrollTo({left:xa,behavior:tt});return}Ya?kn.x=pa.scrollLeft-xa:kn.x=Sn===He.Right?pa.scrollLeft-Da.x:pa.scrollLeft-wa.x,kn.x&&pa.scrollBy({left:-kn.x,behavior:tt});break}else if(Ba&&Oa.y!==hn.y){const xa=pa.scrollTop+Vn.y,Ya=Sn===He.Down&&xa<=Da.y||Sn===He.Up&&xa>=wa.y;if(Ya&&!Vn.x){pa.scrollTo({top:xa,behavior:tt});return}Ya?kn.y=pa.scrollTop-xa:kn.y=Sn===He.Down?pa.scrollTop-Da.y:pa.scrollTop-wa.y,kn.y&&pa.scrollBy({top:-kn.y,behavior:tt});break}}this.handleMove(Pe,(0,pe.IH)((0,pe.$X)(hn,this.referenceCoordinates),kn))}}}handleMove(Pe,Ne){const{onMove:Se}=this.props;Pe.preventDefault(),Se(Ne)}handleEnd(Pe){const{onEnd:Ne}=this.props;Pe.preventDefault(),this.detach(),Ne()}handleCancel(Pe){const{onCancel:Ne}=this.props;Pe.preventDefault(),this.detach(),Ne()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Ye.activators=[{eventName:"onKeyDown",handler:(ce,Pe,Ne)=>{let{keyboardCodes:Se=Wt,onActivation:Qe}=Pe,{active:rt}=Ne;const{code:bt}=ce.nativeEvent;if(Se.start.includes(bt)){const tt=rt.activatorNode.current;return tt&&ce.target!==tt?!1:(ce.preventDefault(),Qe==null||Qe({event:ce.nativeEvent}),!0)}return!1}}];function yt(ce){return!!(ce&&"distance"in ce)}function vt(ce){return!!(ce&&"delay"in ce)}class kt{constructor(Pe,Ne,Se){var Qe;Se===void 0&&(Se=en(Pe.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=Pe,this.events=Ne;const{event:rt}=Pe,{target:bt}=rt;this.props=Pe,this.events=Ne,this.document=(0,pe.r3)(bt),this.documentListeners=new mn(this.document),this.listeners=new mn(Se),this.windowListeners=new mn((0,pe.Jj)(bt)),this.initialCoordinates=(Qe=(0,pe.DC)(rt))!=null?Qe: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:Pe,props:{options:{activationConstraint:Ne,bypassActivationConstraint:Se}}}=this;if(this.listeners.add(Pe.move.name,this.handleMove,{passive:!1}),this.listeners.add(Pe.end.name,this.handleEnd),this.windowListeners.add(Re.Resize,this.handleCancel),this.windowListeners.add(Re.DragStart,In),this.windowListeners.add(Re.VisibilityChange,this.handleCancel),this.windowListeners.add(Re.ContextMenu,In),this.documentListeners.add(Re.Keydown,this.handleKeydown),Ne){if(Se!=null&&Se({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(vt(Ne)){this.timeoutId=setTimeout(this.handleStart,Ne.delay);return}if(yt(Ne))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:Pe}=this,{onStart:Ne}=this.props;Pe&&(this.activated=!0,this.documentListeners.add(Re.Click,we,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Re.SelectionChange,this.removeTextSelection),Ne(Pe))}handleMove(Pe){var Ne;const{activated:Se,initialCoordinates:Qe,props:rt}=this,{onMove:bt,options:{activationConstraint:tt}}=rt;if(!Qe)return;const lt=(Ne=(0,pe.DC)(Pe))!=null?Ne:E,mt=(0,pe.$X)(Qe,lt);if(!Se&&tt){if(yt(tt)){if(tt.tolerance!=null&&Ve(mt,tt.tolerance))return this.handleCancel();if(Ve(mt,tt.distance))return this.handleStart()}return vt(tt)&&Ve(mt,tt.tolerance)?this.handleCancel():void 0}Pe.cancelable&&Pe.preventDefault(),bt(lt)}handleEnd(){const{onEnd:Pe}=this.props;this.detach(),Pe()}handleCancel(){const{onCancel:Pe}=this.props;this.detach(),Pe()}handleKeydown(Pe){Pe.code===He.Esc&&this.handleCancel()}removeTextSelection(){var Pe;(Pe=this.document.getSelection())==null||Pe.removeAllRanges()}}const En={move:{name:"pointermove"},end:{name:"pointerup"}};class Lt extends kt{constructor(Pe){const{event:Ne}=Pe,Se=(0,pe.r3)(Ne.target);super(Pe,En,Se)}}Lt.activators=[{eventName:"onPointerDown",handler:(ce,Pe)=>{let{nativeEvent:Ne}=ce,{onActivation:Se}=Pe;return!Ne.isPrimary||Ne.button!==0?!1:(Se==null||Se({event:Ne}),!0)}}];const Mt={move:{name:"mousemove"},end:{name:"mouseup"}};var pt;(function(ce){ce[ce.RightClick=2]="RightClick"})(pt||(pt={}));class an extends kt{constructor(Pe){super(Pe,Mt,(0,pe.r3)(Pe.event.target))}}an.activators=[{eventName:"onMouseDown",handler:(ce,Pe)=>{let{nativeEvent:Ne}=ce,{onActivation:Se}=Pe;return Ne.button===pt.RightClick?!1:(Se==null||Se({event:Ne}),!0)}}];const Gt={move:{name:"touchmove"},end:{name:"touchend"}};class pn extends kt{constructor(Pe){super(Pe,Gt)}static setup(){return window.addEventListener(Gt.move.name,Pe,{capture:!1,passive:!1}),function(){window.removeEventListener(Gt.move.name,Pe)};function Pe(){}}}pn.activators=[{eventName:"onTouchStart",handler:(ce,Pe)=>{let{nativeEvent:Ne}=ce,{onActivation:Se}=Pe;const{touches:Qe}=Ne;return Qe.length>1?!1:(Se==null||Se({event:Ne}),!0)}}];var $n;(function(ce){ce[ce.Pointer=0]="Pointer",ce[ce.DraggableRect=1]="DraggableRect"})($n||($n={}));var Fn;(function(ce){ce[ce.TreeOrder=0]="TreeOrder",ce[ce.ReversedTreeOrder=1]="ReversedTreeOrder"})(Fn||(Fn={}));function Yn(ce){let{acceleration:Pe,activator:Ne=$n.Pointer,canScroll:Se,draggingRect:Qe,enabled:rt,interval:bt=5,order:tt=Fn.TreeOrder,pointerCoordinates:lt,scrollableAncestors:mt,scrollableAncestorRects:on,delta:hn,threshold:Vn}=ce;const kn=Yt({delta:hn,disabled:!rt}),[Aa,pa]=(0,pe.Yz)(),Sn=(0,x.useRef)({x:0,y:0}),jt=(0,x.useRef)({x:0,y:0}),yn=(0,x.useMemo)(()=>{switch(Ne){case $n.Pointer:return lt?{top:lt.y,bottom:lt.y,left:lt.x,right:lt.x}:null;case $n.DraggableRect:return Qe}},[Ne,Qe,lt]),Cn=(0,x.useRef)(null),ha=(0,x.useCallback)(()=>{const wa=Cn.current;if(!wa)return;const za=Sn.current.x*jt.current.x,Oa=Sn.current.y*jt.current.y;wa.scrollBy(za,Oa)},[]),Da=(0,x.useMemo)(()=>tt===Fn.TreeOrder?[...mt].reverse():mt,[tt,mt]);(0,x.useEffect)(()=>{if(!rt||!mt.length||!yn){pa();return}for(const wa of Da){if((Se==null?void 0:Se(wa))===!1)continue;const za=mt.indexOf(wa),Oa=on[za];if(!Oa)continue;const{direction:ea,speed:Ba}=Rt(wa,Oa,yn,Pe,Vn);for(const xa of["x","y"])kn[xa][ea[xa]]||(Ba[xa]=0,ea[xa]=0);if(Ba.x>0||Ba.y>0){pa(),Cn.current=wa,Aa(ha,bt),Sn.current=Ba,jt.current=ea;return}}Sn.current={x:0,y:0},jt.current={x:0,y:0},pa()},[Pe,ha,Se,pa,rt,bt,JSON.stringify(yn),JSON.stringify(kn),Aa,mt,Da,on,JSON.stringify(Vn)])}const fa={x:{[Dn.Backward]:!1,[Dn.Forward]:!1},y:{[Dn.Backward]:!1,[Dn.Forward]:!1}};function Yt(ce){let{delta:Pe,disabled:Ne}=ce;const Se=(0,pe.D9)(Pe);return(0,pe.Gj)(Qe=>{if(Ne||!Se||!Qe)return fa;const rt={x:Math.sign(Pe.x-Se.x),y:Math.sign(Pe.y-Se.y)};return{x:{[Dn.Backward]:Qe.x[Dn.Backward]||rt.x===-1,[Dn.Forward]:Qe.x[Dn.Forward]||rt.x===1},y:{[Dn.Backward]:Qe.y[Dn.Backward]||rt.y===-1,[Dn.Forward]:Qe.y[Dn.Forward]||rt.y===1}}},[Ne,Pe,Se])}function Qt(ce,Pe){const Ne=Pe!==null?ce.get(Pe):void 0,Se=Ne?Ne.node.current:null;return(0,pe.Gj)(Qe=>{var rt;return Pe===null?null:(rt=Se!=null?Se:Qe)!=null?rt:null},[Se,Pe])}function nn(ce,Pe){return(0,x.useMemo)(()=>ce.reduce((Ne,Se)=>{const{sensor:Qe}=Se,rt=Qe.activators.map(bt=>({eventName:bt.eventName,handler:Pe(bt.handler,Se)}));return[...Ne,...rt]},[]),[ce,Pe])}var ua;(function(ce){ce[ce.Always=0]="Always",ce[ce.BeforeDragging=1]="BeforeDragging",ce[ce.WhileDragging=2]="WhileDragging"})(ua||(ua={}));var ra;(function(ce){ce.Optimized="optimized"})(ra||(ra={}));const jn=new Map;function Na(ce,Pe){let{dragging:Ne,dependencies:Se,config:Qe}=Pe;const[rt,bt]=(0,x.useState)(null),{frequency:tt,measure:lt,strategy:mt}=Qe,on=(0,x.useRef)(ce),hn=Sn(),Vn=(0,pe.Ey)(hn),kn=(0,x.useCallback)(function(jt){jt===void 0&&(jt=[]),!Vn.current&&bt(yn=>yn===null?jt:yn.concat(jt.filter(Cn=>!yn.includes(Cn))))},[Vn]),Aa=(0,x.useRef)(null),pa=(0,pe.Gj)(jt=>{if(hn&&!Ne)return jn;if(!jt||jt===jn||on.current!==ce||rt!=null){const yn=new Map;for(let Cn of ce){if(!Cn)continue;if(rt&&rt.length>0&&!rt.includes(Cn.id)&&Cn.rect.current){yn.set(Cn.id,Cn.rect.current);continue}const ha=Cn.node.current,Da=ha?new xt(lt(ha),ha):null;Cn.rect.current=Da,Da&&yn.set(Cn.id,Da)}return yn}return jt},[ce,rt,Ne,hn,lt]);return(0,x.useEffect)(()=>{on.current=ce},[ce]),(0,x.useEffect)(()=>{hn||kn()},[Ne,hn]),(0,x.useEffect)(()=>{rt&&rt.length>0&&bt(null)},[JSON.stringify(rt)]),(0,x.useEffect)(()=>{hn||typeof tt!="number"||Aa.current!==null||(Aa.current=setTimeout(()=>{kn(),Aa.current=null},tt))},[tt,hn,kn,...Se]),{droppableRects:pa,measureDroppableContainers:kn,measuringScheduled:rt!=null};function Sn(){switch(mt){case ua.Always:return!1;case ua.BeforeDragging:return Ne;default:return!Ne}}}function Ma(ce,Pe){return(0,pe.Gj)(Ne=>ce?Ne||(typeof Pe=="function"?Pe(ce):ce):null,[Pe,ce])}function vr(ce,Pe){return Ma(ce,Pe)}function zr(ce){let{callback:Pe,disabled:Ne}=ce;const Se=(0,pe.zX)(Pe),Qe=(0,x.useMemo)(()=>{if(Ne||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:rt}=window;return new rt(Se)},[Se,Ne]);return(0,x.useEffect)(()=>()=>Qe==null?void 0:Qe.disconnect(),[Qe]),Qe}function La(ce){let{callback:Pe,disabled:Ne}=ce;const Se=(0,pe.zX)(Pe),Qe=(0,x.useMemo)(()=>{if(Ne||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:rt}=window;return new rt(Se)},[Ne]);return(0,x.useEffect)(()=>()=>Qe==null?void 0:Qe.disconnect(),[Qe]),Qe}function Je(ce){return new xt(dt(ce),ce)}function Dt(ce,Pe,Ne){Pe===void 0&&(Pe=Je);const[Se,Qe]=(0,x.useReducer)(tt,null),rt=zr({callback(lt){if(ce)for(const mt of lt){const{type:on,target:hn}=mt;if(on==="childList"&&hn instanceof HTMLElement&&hn.contains(ce)){Qe();break}}}}),bt=La({callback:Qe});return(0,pe.LI)(()=>{Qe(),ce?(bt==null||bt.observe(ce),rt==null||rt.observe(document.body,{childList:!0,subtree:!0})):(bt==null||bt.disconnect(),rt==null||rt.disconnect())},[ce]),Se;function tt(lt){if(!ce)return null;if(ce.isConnected===!1){var mt;return(mt=lt!=null?lt:Ne)!=null?mt:null}const on=Pe(ce);return JSON.stringify(lt)===JSON.stringify(on)?lt:on}}function Et(ce){const Pe=Ma(ce);return Le(ce,Pe)}const Rn=[];function vn(ce){const Pe=(0,x.useRef)(ce),Ne=(0,pe.Gj)(Se=>ce?Se&&Se!==Rn&&ce&&Pe.current&&ce.parentNode===Pe.current.parentNode?Se:Bt(ce):Rn,[ce]);return(0,x.useEffect)(()=>{Pe.current=ce},[ce]),Ne}function Un(ce){const[Pe,Ne]=(0,x.useState)(null),Se=(0,x.useRef)(ce),Qe=(0,x.useCallback)(rt=>{const bt=wt(rt.target);bt&&Ne(tt=>tt?(tt.set(bt,bn(bt)),new Map(tt)):null)},[]);return(0,x.useEffect)(()=>{const rt=Se.current;if(ce!==rt){bt(rt);const tt=ce.map(lt=>{const mt=wt(lt);return mt?(mt.addEventListener("scroll",Qe,{passive:!0}),[mt,bn(mt)]):null}).filter(lt=>lt!=null);Ne(tt.length?new Map(tt):null),Se.current=ce}return()=>{bt(ce),bt(rt)};function bt(tt){tt.forEach(lt=>{const mt=wt(lt);mt==null||mt.removeEventListener("scroll",Qe)})}},[Qe,ce]),(0,x.useMemo)(()=>ce.length?Pe?Array.from(Pe.values()).reduce((rt,bt)=>(0,pe.IH)(rt,bt),E):Ft(ce):E,[ce,Pe])}function $r(ce,Pe){Pe===void 0&&(Pe=[]);const Ne=(0,x.useRef)(null);return(0,x.useEffect)(()=>{Ne.current=null},Pe),(0,x.useEffect)(()=>{const Se=ce!==E;Se&&!Ne.current&&(Ne.current=ce),!Se&&Ne.current&&(Ne.current=null)},[ce]),Ne.current?(0,pe.$X)(ce,Ne.current):E}function Ta(ce){(0,x.useEffect)(()=>{if(!pe.Nq)return;const Pe=ce.map(Ne=>{let{sensor:Se}=Ne;return Se.setup==null?void 0:Se.setup()});return()=>{for(const Ne of Pe)Ne==null||Ne()}},ce.map(Pe=>{let{sensor:Ne}=Pe;return Ne}))}function Cr(ce,Pe){return(0,x.useMemo)(()=>ce.reduce((Ne,Se)=>{let{eventName:Qe,handler:rt}=Se;return Ne[Qe]=bt=>{rt(bt,Pe)},Ne},{}),[ce,Pe])}function _r(ce){return(0,x.useMemo)(()=>ce?gn(ce):null,[ce])}const co=[];function Jn(ce,Pe){Pe===void 0&&(Pe=dt);const[Ne]=ce,Se=_r(Ne?(0,pe.Jj)(Ne):null),[Qe,rt]=(0,x.useReducer)(tt,co),bt=La({callback:rt});return ce.length>0&&Qe===co&&rt(),(0,pe.LI)(()=>{ce.length?ce.forEach(lt=>bt==null?void 0:bt.observe(lt)):(bt==null||bt.disconnect(),rt())},[ce]),Qe;function tt(){return ce.length?ce.map(lt=>Ct(lt)?Se:new xt(Pe(lt),lt)):co}}function ur(ce){if(!ce)return null;if(ce.children.length>1)return ce;const Pe=ce.children[0];return(0,pe.Re)(Pe)?Pe:ce}function gt(ce){let{measure:Pe}=ce;const[Ne,Se]=(0,x.useState)(null),Qe=(0,x.useCallback)(mt=>{for(const{target:on}of mt)if((0,pe.Re)(on)){Se(hn=>{const Vn=Pe(on);return hn?si(Zr({},hn),{width:Vn.width,height:Vn.height}):Vn});break}},[Pe]),rt=La({callback:Qe}),bt=(0,x.useCallback)(mt=>{const on=ur(mt);rt==null||rt.disconnect(),on&&(rt==null||rt.observe(on)),Se(on?Pe(on):null)},[Pe,rt]),[tt,lt]=(0,pe.wm)(bt);return(0,x.useMemo)(()=>({nodeRef:tt,rect:Ne,setRef:lt}),[Ne,tt,lt])}const tn=[{sensor:Lt,options:{}},{sensor:Ye,options:{}}],Xt={current:{}},cn={draggable:{measure:$t},droppable:{measure:$t,strategy:ua.WhileDragging,frequency:ra.Optimized},dragOverlay:{measure:dt}};class Kn extends Map{get(Pe){var Ne;return Pe!=null&&(Ne=super.get(Pe))!=null?Ne:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(Pe=>{let{disabled:Ne}=Pe;return!Ne})}getNodeFor(Pe){var Ne,Se;return(Ne=(Se=this.get(Pe))==null?void 0:Se.node.current)!=null?Ne:void 0}}const rn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Kn,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:cn,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},_n={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},wn=(0,x.createContext)(_n),la=(0,x.createContext)(rn);function Za(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Kn}}}function ir(ce,Pe){switch(Pe.type){case oe.DragStart:return si(Zr({},ce),{draggable:si(Zr({},ce.draggable),{initialCoordinates:Pe.initialCoordinates,active:Pe.active})});case oe.DragMove:return ce.draggable.active?si(Zr({},ce),{draggable:si(Zr({},ce.draggable),{translate:{x:Pe.coordinates.x-ce.draggable.initialCoordinates.x,y:Pe.coordinates.y-ce.draggable.initialCoordinates.y}})}):ce;case oe.DragEnd:case oe.DragCancel:return si(Zr({},ce),{draggable:si(Zr({},ce.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case oe.RegisterDroppable:{const{element:Ne}=Pe,{id:Se}=Ne,Qe=new Kn(ce.droppable.containers);return Qe.set(Se,Ne),si(Zr({},ce),{droppable:si(Zr({},ce.droppable),{containers:Qe})})}case oe.SetDroppableDisabled:{const{id:Ne,key:Se,disabled:Qe}=Pe,rt=ce.droppable.containers.get(Ne);if(!rt||Se!==rt.key)return ce;const bt=new Kn(ce.droppable.containers);return bt.set(Ne,si(Zr({},rt),{disabled:Qe})),si(Zr({},ce),{droppable:si(Zr({},ce.droppable),{containers:bt})})}case oe.UnregisterDroppable:{const{id:Ne,key:Se}=Pe,Qe=ce.droppable.containers.get(Ne);if(!Qe||Se!==Qe.key)return ce;const rt=new Kn(ce.droppable.containers);return rt.delete(Ne),si(Zr({},ce),{droppable:si(Zr({},ce.droppable),{containers:rt})})}default:return ce}}function Or(ce){let{disabled:Pe}=ce;const{active:Ne,activatorEvent:Se,draggableNodes:Qe}=(0,x.useContext)(wn),rt=(0,pe.D9)(Se),bt=(0,pe.D9)(Ne==null?void 0:Ne.id);return(0,x.useEffect)(()=>{if(!Pe&&!Se&&rt&&bt!=null){if(!(0,pe.vd)(rt)||document.activeElement===rt.target)return;const tt=Qe.get(bt);if(!tt)return;const{activatorNode:lt,node:mt}=tt;if(!lt.current&&!mt.current)return;requestAnimationFrame(()=>{for(const on of[lt.current,mt.current]){if(!on)continue;const hn=(0,pe.so)(on);if(hn){hn.focus();break}}})}},[Se,Pe,Qe,bt,rt]),null}function Wr(ce,Pe){let Qe=Pe,{transform:Ne}=Qe,Se=Iu(Qe,["transform"]);return ce!=null&&ce.length?ce.reduce((rt,bt)=>bt(Zr({transform:rt},Se)),Ne):Ne}function Nn(ce){return(0,x.useMemo)(()=>({draggable:Zr(Zr({},cn.draggable),ce==null?void 0:ce.draggable),droppable:Zr(Zr({},cn.droppable),ce==null?void 0:ce.droppable),dragOverlay:Zr(Zr({},cn.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 Go(ce){let{activeNode:Pe,measure:Ne,initialRect:Se,config:Qe=!0}=ce;const rt=(0,x.useRef)(!1),{x:bt,y:tt}=typeof Qe=="boolean"?{x:Qe,y:Qe}:Qe;(0,pe.LI)(()=>{if(!bt&&!tt||!Pe){rt.current=!1;return}if(rt.current||!Se)return;const mt=Pe==null?void 0:Pe.node.current;if(!mt||mt.isConnected===!1)return;const on=Ne(mt),hn=Le(on,Se);if(bt||(hn.x=0),tt||(hn.y=0),rt.current=!0,Math.abs(hn.x)>0||Math.abs(hn.y)>0){const Vn=ut(mt);Vn&&Vn.scrollBy({top:hn.y,left:hn.x})}},[Pe,bt,tt,Se,Ne])}const Mo=(0,x.createContext)(si(Zr({},E),{scaleX:1,scaleY:1}));var Sr;(function(ce){ce[ce.Uninitialized=0]="Uninitialized",ce[ce.Initializing=1]="Initializing",ce[ce.Initialized=2]="Initialized"})(Sr||(Sr={}));const xo=(0,x.memo)(function(Pe){var Ne,Se,Qe,rt;let Dr=Pe,{id:bt,accessibility:tt,autoScroll:lt=!0,children:mt,sensors:on=tn,collisionDetection:hn=ye,measuring:Vn,modifiers:kn}=Dr,Aa=Iu(Dr,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const pa=(0,x.useReducer)(ir,void 0,Za),[Sn,jt]=pa,[yn,Cn]=Te(),[ha,Da]=(0,x.useState)(Sr.Uninitialized),wa=ha===Sr.Initialized,{draggable:{active:za,nodes:Oa,translate:ea},droppable:{containers:Ba}}=Sn,xa=za?Oa.get(za):null,Ya=(0,x.useRef)({initial:null,translated:null}),er=(0,x.useMemo)(()=>{var uo;return za!=null?{id:za,data:(uo=xa==null?void 0:xa.data)!=null?uo:Xt,rect:Ya}:null},[za,xa]),Rr=(0,x.useRef)(null),[ao,wo]=(0,x.useState)(null),[ma,Eo]=(0,x.useState)(null),ii=(0,pe.Ey)(Aa,Object.values(Aa)),ki=(0,pe.Ld)("DndDescribedBy",bt),sl=(0,x.useMemo)(()=>Ba.getEnabled(),[Ba]),Zi=Nn(Vn),{droppableRects:di,measureDroppableContainers:Yo,measuringScheduled:$i}=Na(sl,{dragging:wa,dependencies:[ea.x,ea.y],config:Zi.droppable}),Fi=Qt(Oa,za),cl=(0,x.useMemo)(()=>ma?(0,pe.DC)(ma):null,[ma]),_t=wr(),Zt=vr(Fi,Zi.draggable.measure);Go({activeNode:za?Oa.get(za):null,config:_t.layoutShiftCompensation,initialRect:Zt,measure:Zi.draggable.measure});const zt=Dt(Fi,Zi.draggable.measure,Zt),Fa=Dt(Fi?Fi.parentElement:null),ar=(0,x.useRef)({activatorEvent:null,active:null,activeNode:Fi,collisionRect:null,collisions:null,droppableRects:di,draggableNodes:Oa,draggingNode:null,draggingNodeRect:null,droppableContainers:Ba,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ia=Ba.getNodeFor((Ne=ar.current.over)==null?void 0:Ne.id),zn=gt({measure:Zi.dragOverlay.measure}),Qa=(Se=zn.nodeRef.current)!=null?Se:Fi,xn=wa?(Qe=zn.rect)!=null?Qe:zt:null,Ca=!!(zn.nodeRef.current&&zn.rect),Sa=Et(Ca?null:zt),jr=_r(Qa?(0,pe.Jj)(Qa):null),Ga=vn(wa?Ia!=null?Ia:Fi:null),Ho=Jn(Ga),lo=Wr(kn,{transform:{x:ea.x-Sa.x,y:ea.y-Sa.y,scaleX:1,scaleY:1},activatorEvent:ma,active:er,activeNodeRect:zt,containerNodeRect:Fa,draggingNodeRect:xn,over:ar.current.over,overlayNodeRect:zn.rect,scrollableAncestors:Ga,scrollableAncestorRects:Ho,windowRect:jr}),vo=cl?(0,pe.IH)(cl,ea):null,cr=Un(Ga),sr=$r(cr),Xn=$r(cr,[zt]),Ir=(0,pe.IH)(lo,sr),li=xn?We(xn,lo):null,ka=er&&li?hn({active:er,collisionRect:li,droppableRects:di,droppableContainers:sl,pointerCoordinates:vo}):null,Pa=le(ka,"id"),[Qr,Li]=(0,x.useState)(null),qn=Ca?lo:(0,pe.IH)(lo,Xn),fr=$e(qn,(rt=Qr==null?void 0:Qr.rect)!=null?rt:null,zt),ya=(0,x.useCallback)((uo,xr)=>{let{sensor:fo,options:lr}=xr;if(Rr.current==null)return;const Br=Oa.get(Rr.current);if(!Br)return;const So=uo.nativeEvent,Vo=new fo({active:Rr.current,activeNode:Br,event:So,options:lr,context:ar,onStart(ga){const rr=Rr.current;if(rr==null)return;const na=Oa.get(rr);if(!na)return;const{onDragStart:Ua}=ii.current,Kr={active:{id:rr,data:na.data,rect:Ya}};(0,de.unstable_batchedUpdates)(()=>{Ua==null||Ua(Kr),Da(Sr.Initializing),jt({type:oe.DragStart,initialCoordinates:ga,active:rr}),yn({type:"onDragStart",event:Kr})})},onMove(ga){jt({type:oe.DragMove,coordinates:ga})},onEnd:Mn(oe.DragEnd),onCancel:Mn(oe.DragCancel)});(0,de.unstable_batchedUpdates)(()=>{wo(Vo),Eo(uo.nativeEvent)});function Mn(ga){return function(){return os(this,null,function*(){const{active:na,collisions:Ua,over:Kr,scrollAdjustedTranslate:Mr}=ar.current;let Lo=null;if(na&&Mr){const{cancelDrop:hi}=ii.current;Lo={activatorEvent:So,active:na,collisions:Ua,delta:Mr,over:Kr},ga===oe.DragEnd&&typeof hi=="function"&&(yield Promise.resolve(hi(Lo)))&&(ga=oe.DragCancel)}Rr.current=null,(0,de.unstable_batchedUpdates)(()=>{jt({type:ga}),Da(Sr.Uninitialized),Li(null),wo(null),Eo(null);const hi=ga===oe.DragEnd?"onDragEnd":"onDragCancel";if(Lo){const Ki=ii.current[hi];Ki==null||Ki(Lo),yn({type:hi,event:Lo})}})})}}},[Oa]),un=(0,x.useCallback)((uo,xr)=>(fo,lr)=>{const Br=fo.nativeEvent,So=Oa.get(lr);if(Rr.current!==null||!So||Br.dndKit||Br.defaultPrevented)return;const Vo={active:So};uo(fo,xr.options,Vo)===!0&&(Br.dndKit={capturedBy:xr.sensor},Rr.current=lr,ya(fo,xr))},[Oa,ya]),ca=nn(on,un);Ta(on),(0,pe.LI)(()=>{zt&&ha===Sr.Initializing&&Da(Sr.Initialized)},[zt,ha]),(0,x.useEffect)(()=>{const{onDragMove:uo}=ii.current,{active:xr,activatorEvent:fo,collisions:lr,over:Br}=ar.current;if(!xr||!fo)return;const So={active:xr,activatorEvent:fo,collisions:lr,delta:{x:Ir.x,y:Ir.y},over:Br};(0,de.unstable_batchedUpdates)(()=>{uo==null||uo(So),yn({type:"onDragMove",event:So})})},[Ir.x,Ir.y]),(0,x.useEffect)(()=>{const{active:uo,activatorEvent:xr,collisions:fo,droppableContainers:lr,scrollAdjustedTranslate:Br}=ar.current;if(!uo||Rr.current==null||!xr||!Br)return;const{onDragOver:So}=ii.current,Vo=lr.get(Pa),Mn=Vo&&Vo.rect.current?{id:Vo.id,rect:Vo.rect.current,data:Vo.data,disabled:Vo.disabled}:null,ga={active:uo,activatorEvent:xr,collisions:fo,delta:{x:Br.x,y:Br.y},over:Mn};(0,de.unstable_batchedUpdates)(()=>{Li(Mn),So==null||So(ga),yn({type:"onDragOver",event:ga})})},[Pa]),(0,pe.LI)(()=>{ar.current={activatorEvent:ma,active:er,activeNode:Fi,collisionRect:li,collisions:ka,droppableRects:di,draggableNodes:Oa,draggingNode:Qa,draggingNodeRect:xn,droppableContainers:Ba,over:Qr,scrollableAncestors:Ga,scrollAdjustedTranslate:Ir},Ya.current={initial:xn,translated:li}},[er,Fi,ka,li,Oa,Qa,xn,di,Ba,Qr,Ga,Ir]),Yn(si(Zr({},_t),{delta:ea,draggingRect:li,pointerCoordinates:vo,scrollableAncestors:Ga,scrollableAncestorRects:Ho}));const Bn=(0,x.useMemo)(()=>({active:er,activeNode:Fi,activeNodeRect:zt,activatorEvent:ma,collisions:ka,containerNodeRect:Fa,dragOverlay:zn,draggableNodes:Oa,droppableContainers:Ba,droppableRects:di,over:Qr,measureDroppableContainers:Yo,scrollableAncestors:Ga,scrollableAncestorRects:Ho,measuringConfiguration:Zi,measuringScheduled:$i,windowRect:jr}),[er,Fi,zt,ma,ka,Fa,zn,Oa,Ba,di,Qr,Yo,Ga,Ho,Zi,$i,jr]),Xr=(0,x.useMemo)(()=>({activatorEvent:ma,activators:ca,active:er,activeNodeRect:zt,ariaDescribedById:{draggable:ki},dispatch:jt,draggableNodes:Oa,over:Qr,measureDroppableContainers:Yo}),[ma,ca,er,zt,jt,ki,Oa,Qr,Yo]);return x.createElement(Ue.Provider,{value:Cn},x.createElement(wn.Provider,{value:Xr},x.createElement(la.Provider,{value:Bn},x.createElement(Mo.Provider,{value:fr},mt)),x.createElement(Or,{disabled:(tt==null?void 0:tt.restoreFocus)===!1})),x.createElement(me,si(Zr({},tt),{hiddenTextDescribedById:ki})));function wr(){const uo=(ao==null?void 0:ao.autoScrollEnabled)===!1,xr=typeof lt=="object"?lt.enabled===!1:lt===!1,fo=wa&&!uo&&!xr;return typeof lt=="object"?si(Zr({},lt),{enabled:fo}):{enabled:fo}}}),sa=(0,x.createContext)(null),Ra="button",mr="Droppable";function Qn(ce){let{id:Pe,data:Ne,disabled:Se=!1,attributes:Qe}=ce;const rt=(0,pe.Ld)(mr),{activators:bt,activatorEvent:tt,active:lt,activeNodeRect:mt,ariaDescribedById:on,draggableNodes:hn,over:Vn}=(0,x.useContext)(wn),{role:kn=Ra,roleDescription:Aa="draggable",tabIndex:pa=0}=Qe!=null?Qe:{},Sn=(lt==null?void 0:lt.id)===Pe,jt=(0,x.useContext)(Sn?Mo:sa),[yn,Cn]=(0,pe.wm)(),[ha,Da]=(0,pe.wm)(),wa=Cr(bt,Pe),za=(0,pe.Ey)(Ne);(0,pe.LI)(()=>(hn.set(Pe,{id:Pe,key:rt,node:yn,activatorNode:ha,data:za}),()=>{const ea=hn.get(Pe);ea&&ea.key===rt&&hn.delete(Pe)}),[hn,Pe]);const Oa=(0,x.useMemo)(()=>({role:kn,tabIndex:pa,"aria-disabled":Se,"aria-pressed":Sn&&kn===Ra?!0:void 0,"aria-roledescription":Aa,"aria-describedby":on.draggable}),[Se,kn,pa,Sn,Aa,on.draggable]);return{active:lt,activatorEvent:tt,activeNodeRect:mt,attributes:Oa,isDragging:Sn,listeners:Se?void 0:wa,node:yn,over:Vn,setNodeRef:Cn,setActivatorNodeRef:Da,transform:jt}}function Vr(){return(0,x.useContext)(la)}const Nr="Droppable",Uo={timeout:25};function Ao(ce){let{data:Pe,disabled:Ne=!1,id:Se,resizeObserverConfig:Qe}=ce;const rt=(0,pe.Ld)(Nr),{active:bt,dispatch:tt,over:lt,measureDroppableContainers:mt}=(0,x.useContext)(wn),on=(0,x.useRef)({disabled:Ne}),hn=(0,x.useRef)(!1),Vn=(0,x.useRef)(null),kn=(0,x.useRef)(null),{disabled:Aa,updateMeasurementsFor:pa,timeout:Sn}=Zr(Zr({},Uo),Qe),jt=(0,pe.Ey)(pa!=null?pa:Se),yn=(0,x.useCallback)(()=>{if(!hn.current){hn.current=!0;return}kn.current!=null&&clearTimeout(kn.current),kn.current=setTimeout(()=>{mt(Array.isArray(jt.current)?jt.current:[jt.current]),kn.current=null},Sn)},[Sn]),Cn=La({callback:yn,disabled:Aa||!bt}),ha=(0,x.useCallback)((Oa,ea)=>{Cn&&(ea&&(Cn.unobserve(ea),hn.current=!1),Oa&&Cn.observe(Oa))},[Cn]),[Da,wa]=(0,pe.wm)(ha),za=(0,pe.Ey)(Pe);return(0,x.useEffect)(()=>{!Cn||!Da.current||(Cn.disconnect(),hn.current=!1,Cn.observe(Da.current))},[Da,Cn]),(0,pe.LI)(()=>(tt({type:oe.RegisterDroppable,element:{id:Se,key:rt,disabled:Ne,node:Da,rect:Vn,data:za}}),()=>tt({type:oe.UnregisterDroppable,key:rt,id:Se})),[Se]),(0,x.useEffect)(()=>{Ne!==on.current.disabled&&(tt({type:oe.SetDroppableDisabled,id:Se,key:rt,disabled:Ne}),on.current.disabled=Ne)},[Se,rt,Ne,tt]),{active:bt,rect:Vn,isOver:(lt==null?void 0:lt.id)===Se,node:Da,over:lt,setNodeRef:wa}}function ko(ce){let{animation:Pe,children:Ne}=ce;const[Se,Qe]=useState(null),[rt,bt]=useState(null),tt=usePrevious(Ne);return!Ne&&!Se&&tt&&Qe(tt),useIsomorphicLayoutEffect(()=>{if(!rt)return;const lt=Se==null?void 0:Se.key,mt=Se==null?void 0:Se.props.id;if(lt==null||mt==null){Qe(null);return}Promise.resolve(Pe(mt,rt)).then(()=>{Qe(null)})},[Pe,Se,rt]),React.createElement(React.Fragment,null,Ne,Se?cloneElement(Se,{ref:bt}):null)}const ji={x:0,y:0,scaleX:1,scaleY:1};function Jo(ce){let{children:Pe}=ce;return React.createElement(wn.Provider,{value:_n},React.createElement(Mo.Provider,{value:ji},Pe))}const nl={position:"fixed",touchAction:"none"},al=ce=>isKeyboardEvent(ce)?"transform 250ms ease":void 0,Zn=null,Wo={duration:250,easing:"ease",keyframes:ce=>{let{transform:{initial:Pe,final:Ne}}=ce;return[{transform:pe.ux.Transform.toString(Pe)},{transform:pe.ux.Transform.toString(Ne)}]},sideEffects:(ce=>Pe=>{let{active:Ne,dragOverlay:Se}=Pe;const Qe={},{styles:rt,className:bt}=ce;if(rt!=null&&rt.active)for(const[tt,lt]of Object.entries(rt.active))lt!==void 0&&(Qe[tt]=Ne.node.style.getPropertyValue(tt),Ne.node.style.setProperty(tt,lt));if(rt!=null&&rt.dragOverlay)for(const[tt,lt]of Object.entries(rt.dragOverlay))lt!==void 0&&Se.node.style.setProperty(tt,lt);return bt!=null&&bt.active&&Ne.node.classList.add(bt.active),bt!=null&&bt.dragOverlay&&Se.node.classList.add(bt.dragOverlay),function(){for(const[lt,mt]of Object.entries(Qe))Ne.node.style.setProperty(lt,mt);bt!=null&&bt.active&&Ne.node.classList.remove(bt.active)}})({styles:{active:{opacity:"0"}}})};function wi(ce){let{config:Pe,draggableNodes:Ne,droppableContainers:Se,measuringConfiguration:Qe}=ce;return useEvent((rt,bt)=>{if(Pe===null)return;const tt=Ne.get(rt);if(!tt)return;const lt=tt.node.current;if(!lt)return;const mt=ur(bt);if(!mt)return;const{transform:on}=getWindow(bt).getComputedStyle(bt),hn=Ke(on);if(!hn)return;const Vn=typeof Pe=="function"?Pe:ri(Pe);return Jt(lt,Qe.draggable.measure),Vn({active:{id:rt,data:tt.data,node:lt,rect:Qe.draggable.measure(lt)},draggableNodes:Ne,dragOverlay:{node:bt,rect:Qe.dragOverlay.measure(mt)},droppableContainers:Se,measuringConfiguration:Qe,transform:hn})})}function ri(ce){const{duration:Pe,easing:Ne,sideEffects:Se,keyframes:Qe}=Zr(Zr({},Wo),ce);return rt=>{let yn=rt,{active:bt,dragOverlay:tt,transform:lt}=yn,mt=Iu(yn,["active","dragOverlay","transform"]);if(!Pe)return;const on={x:tt.rect.left-bt.rect.left,y:tt.rect.top-bt.rect.top},hn={scaleX:lt.scaleX!==1?bt.rect.width*lt.scaleX/tt.rect.width:1,scaleY:lt.scaleY!==1?bt.rect.height*lt.scaleY/tt.rect.height:1},Vn=Zr({x:lt.x-on.x,y:lt.y-on.y},hn),kn=Qe(si(Zr({},mt),{active:bt,dragOverlay:tt,transform:{initial:lt,final:Vn}})),[Aa]=kn,pa=kn[kn.length-1];if(JSON.stringify(Aa)===JSON.stringify(pa))return;const Sn=Se==null?void 0:Se(Zr({active:bt,dragOverlay:tt},mt)),jt=tt.node.animate(kn,{duration:Pe,easing:Ne,fill:"forwards"});return new Promise(Cn=>{jt.onfinish=()=>{Sn==null||Sn(),Cn()}})}}let oi=0;function Qi(ce){return useMemo(()=>{if(ce!=null)return oi++,oi},[ce])}const Hr=null},32339:function(ct,it,ee){"use strict";ee.d(it,{DL:function(){return ie}});var x=ee(24285);function de(Te){return ze=>{let{transform:Be}=ze;return si(Zr({},Be),{x:Math.ceil(Be.x/Te)*Te,y:Math.ceil(Be.y/Te)*Te})}}const pe=Te=>{let{transform:ze}=Te;return si(Zr({},ze),{y:0})};function Fe(Te,ze,Be){const me=Zr({},Te);return ze.top+Te.y<=Be.top?me.y=Be.top-ze.top:ze.bottom+Te.y>=Be.top+Be.height&&(me.y=Be.top+Be.height-ze.bottom),ze.left+Te.x<=Be.left?me.x=Be.left-ze.left:ze.right+Te.x>=Be.left+Be.width&&(me.x=Be.left+Be.width-ze.right),me}const xe=Te=>{let{containerNodeRect:ze,draggingNodeRect:Be,transform:me}=Te;return!Be||!ze?me:Fe(me,Be,ze)},ke=Te=>{let{draggingNodeRect:ze,transform:Be,scrollableAncestorRects:me}=Te;const oe=me[0];return!ze||!oe?Be:Fe(Be,ze,oe)},ie=Te=>{let{transform:ze}=Te;return si(Zr({},ze),{x:0})},Ue=Te=>{let{transform:ze,draggingNodeRect:Be,windowRect:me}=Te;return!Be||!me?ze:Fe(ze,Be,me)},Ie=Te=>{let{activatorEvent:ze,draggingNodeRect:Be,transform:me}=Te;if(Be&&ze){const oe=getEventCoordinates(ze);if(!oe)return me;const a=oe.x-Be.left,y=oe.y-Be.top;return si(Zr({},me),{x:me.x+a-Be.width/2,y:me.y+y-Be.height/2})}return me}},45587:function(ct,it,ee){"use strict";ee.d(it,{Fo:function(){return te},Rp:function(){return Fe},nB:function(){return be},qw:function(){return y}});var x=ee(67294),de=ee(60887),pe=ee(24285);function Fe(We,Ke,qe){const ot=We.slice();return ot.splice(qe<0?ot.length+qe:qe,0,ot.splice(Ke,1)[0]),ot}function xe(We,Ke,qe){const ot=We.slice();return ot[Ke]=We[qe],ot[qe]=We[Ke],ot}function ke(We,Ke){return We.reduce((qe,ot,dt)=>{const $t=Ke.get(ot);return $t&&(qe[dt]=$t),qe},Array(We.length))}function ie(We){return We!==null&&We>=0}function Ue(We,Ke){if(We===Ke)return!0;if(We.length!==Ke.length)return!1;for(let qe=0;qe<We.length;qe++)if(We[qe]!==Ke[qe])return!1;return!0}function Ie(We){return typeof We=="boolean"?{draggable:We,droppable:We}:We}const Te={scaleX:1,scaleY:1},ze=We=>{var Ke;let{rects:qe,activeNodeRect:ot,activeIndex:dt,overIndex:$t,index:gn}=We;const at=(Ke=qe[dt])!=null?Ke:ot;if(!at)return null;const ht=Be(qe,gn,dt);if(gn===dt){const Bt=qe[$t];return Bt?Zr({x:dt<$t?Bt.left+Bt.width-(at.left+at.width):Bt.left-at.left,y:0},Te):null}return gn>dt&&gn<=$t?Zr({x:-at.width-ht,y:0},Te):gn<dt&&gn>=$t?Zr({x:at.width+ht,y:0},Te):Zr({x:0,y:0},Te)};function Be(We,Ke,qe){const ot=We[Ke],dt=We[Ke-1],$t=We[Ke+1];return!ot||!dt&&!$t?0:qe<Ke?dt?ot.left-(dt.left+dt.width):$t.left-(ot.left+ot.width):$t?$t.left-(ot.left+ot.width):ot.left-(dt.left+dt.width)}const me=We=>{let{rects:Ke,activeIndex:qe,overIndex:ot,index:dt}=We;const $t=Fe(Ke,ot,qe),gn=Ke[dt],at=$t[dt];return!at||!gn?null:{x:at.left-gn.left,y:at.top-gn.top,scaleX:at.width/gn.width,scaleY:at.height/gn.height}},oe=We=>{let{activeIndex:Ke,index:qe,rects:ot,overIndex:dt}=We,$t,gn;return qe===Ke&&($t=ot[qe],gn=ot[dt]),qe===dt&&($t=ot[qe],gn=ot[Ke]),!gn||!$t?null:{x:gn.left-$t.left,y:gn.top-$t.top,scaleX:gn.width/$t.width,scaleY:gn.height/$t.height}},a={scaleX:1,scaleY:1},y=We=>{var Ke;let{activeIndex:qe,activeNodeRect:ot,index:dt,rects:$t,overIndex:gn}=We;const at=(Ke=$t[qe])!=null?Ke:ot;if(!at)return null;if(dt===qe){const Bt=$t[gn];return Bt?Zr({x:0,y:qe<gn?Bt.top+Bt.height-(at.top+at.height):Bt.top-at.top},a):null}const ht=b($t,dt,qe);return dt>qe&&dt<=gn?Zr({x:0,y:-at.height-ht},a):dt<qe&&dt>=gn?Zr({x:0,y:at.height+ht},a):Zr({x:0,y:0},a)};function b(We,Ke,qe){const ot=We[Ke],dt=We[Ke-1],$t=We[Ke+1];return ot?qe<Ke?dt?ot.top-(dt.top+dt.height):$t?$t.top-(ot.top+ot.height):0:$t?$t.top-(ot.top+ot.height):dt?ot.top-(dt.top+dt.height):0:0}const E="Sortable",z=x.createContext({activeIndex:-1,containerId:E,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:me,disabled:{draggable:!1,droppable:!1}});function te(We){let{children:Ke,id:qe,items:ot,strategy:dt=me,disabled:$t=!1}=We;const{active:gn,dragOverlay:at,droppableRects:ht,over:Bt,measureDroppableContainers:ut}=(0,de.Cj)(),wt=(0,pe.Ld)(E,qe),Ht=at.rect!==null,Ge=(0,x.useMemo)(()=>ot.map(Pt=>typeof Pt=="object"&&"id"in Pt?Pt.id:Pt),[ot]),bn=gn!=null,Dn=gn?Ge.indexOf(gn.id):-1,Ct=Bt?Ge.indexOf(Bt.id):-1,Kt=(0,x.useRef)(Ge),Ut=!Ue(Ge,Kt.current),Rt=Ct!==-1&&Dn===-1||Ut,St=Ie($t);(0,pe.LI)(()=>{Ut&&bn&&ut(Ge)},[Ut,Ge,bn,ut]),(0,x.useEffect)(()=>{Kt.current=Ge},[Ge]);const Ft=(0,x.useMemo)(()=>({activeIndex:Dn,containerId:wt,disabled:St,disableTransforms:Rt,items:Ge,overIndex:Ct,useDragOverlay:Ht,sortedRects:ke(Ge,ht),strategy:dt}),[Dn,wt,St.draggable,St.droppable,Rt,Ge,Ct,ht,Ht,dt]);return x.createElement(z.Provider,{value:Ft},Ke)}const ne=We=>{let{id:Ke,items:qe,activeIndex:ot,overIndex:dt}=We;return Fe(qe,ot,dt).indexOf(Ke)},re=We=>{let{containerId:Ke,isSorting:qe,wasDragging:ot,index:dt,items:$t,newIndex:gn,previousItems:at,previousContainerId:ht,transition:Bt}=We;return!Bt||!ot||at!==$t&&dt===gn?!1:qe?!0:gn!==dt&&Ke===ht},ae={duration:200,easing:"ease"},le="transform",he=pe.ux.Transition.toString({property:le,duration:0,easing:"linear"}),ve={roleDescription:"sortable"};function Ce(We){let{disabled:Ke,index:qe,node:ot,rect:dt}=We;const[$t,gn]=(0,x.useState)(null),at=(0,x.useRef)(qe);return(0,pe.LI)(()=>{if(!Ke&&qe!==at.current&&ot.current){const ht=dt.current;if(ht){const Bt=(0,de.VK)(ot.current,{ignoreTransform:!0}),ut={x:ht.left-Bt.left,y:ht.top-Bt.top,scaleX:ht.width/Bt.width,scaleY:ht.height/Bt.height};(ut.x||ut.y)&&gn(ut)}}qe!==at.current&&(at.current=qe)},[Ke,qe,ot,dt]),(0,x.useEffect)(()=>{$t&&gn(null)},[$t]),$t}function be(We){let{animateLayoutChanges:Ke=re,attributes:qe,disabled:ot,data:dt,getNewIndex:$t=ne,id:gn,strategy:at,resizeObserverConfig:ht,transition:Bt=ae}=We;const{items:ut,containerId:wt,activeIndex:Ht,disabled:Ge,disableTransforms:bn,sortedRects:Dn,overIndex:Ct,useDragOverlay:Kt,strategy:Ut}=(0,x.useContext)(z),Rt=ye(ot,Ge),St=ut.indexOf(gn),Ft=(0,x.useMemo)(()=>Zr({sortable:{containerId:wt,index:St,items:ut}},dt),[wt,dt,St,ut]),Pt=(0,x.useMemo)(()=>ut.slice(ut.indexOf(gn)),[ut,gn]),{rect:st,node:Jt,isOver:Ot,setNodeRef:xt}=(0,de.Zj)({id:gn,data:Ft,disabled:Rt.droppable,resizeObserverConfig:Zr({updateMeasurementsFor:Pt},ht)}),{active:mn,activatorEvent:en,activeNodeRect:Ve,attributes:Re,setNodeRef:In,listeners:we,isDragging:He,over:Wt,setActivatorNodeRef:et,transform:Ye}=(0,de.O1)({id:gn,data:Ft,attributes:Zr(Zr({},ve),qe),disabled:Rt.draggable}),yt=(0,pe.HB)(xt,In),vt=!!mn,kt=vt&&!bn&&ie(Ht)&&ie(Ct),En=!Kt&&He,Lt=En&&kt?Ye:null,Mt=at!=null?at:Ut,pt=kt?Lt!=null?Lt:Mt({rects:Dn,activeNodeRect:Ve,activeIndex:Ht,overIndex:Ct,index:St}):null,an=ie(Ht)&&ie(Ct)?$t({id:gn,items:ut,activeIndex:Ht,overIndex:Ct}):St,Gt=mn==null?void 0:mn.id,pn=(0,x.useRef)({activeId:Gt,items:ut,newIndex:an,containerId:wt}),$n=ut!==pn.current.items,Fn=Ke({active:mn,containerId:wt,isDragging:He,isSorting:vt,id:gn,index:St,items:ut,newIndex:pn.current.newIndex,previousItems:pn.current.items,previousContainerId:pn.current.containerId,transition:Bt,wasDragging:pn.current.activeId!=null}),Yn=Ce({disabled:!Fn,index:St,node:Jt,rect:st});return(0,x.useEffect)(()=>{vt&&pn.current.newIndex!==an&&(pn.current.newIndex=an),wt!==pn.current.containerId&&(pn.current.containerId=wt),ut!==pn.current.items&&(pn.current.items=ut)},[vt,an,wt,ut]),(0,x.useEffect)(()=>{if(Gt===pn.current.activeId)return;if(Gt&&!pn.current.activeId){pn.current.activeId=Gt;return}const Yt=setTimeout(()=>{pn.current.activeId=Gt},50);return()=>clearTimeout(Yt)},[Gt]),{active:mn,activeIndex:Ht,attributes:Re,data:Ft,rect:st,index:St,newIndex:an,items:ut,isOver:Ot,isSorting:vt,isDragging:He,listeners:we,node:Jt,overIndex:Ct,over:Wt,setNodeRef:yt,setActivatorNodeRef:et,setDroppableNodeRef:xt,setDraggableNodeRef:In,transform:Yn!=null?Yn:pt,transition:fa()};function fa(){if(Yn||$n&&pn.current.newIndex===St)return he;if(!(En&&!(0,pe.vd)(en)||!Bt)&&(vt||Fn))return pe.ux.Transition.toString(si(Zr({},Bt),{property:le}))}}function ye(We,Ke){var qe,ot;return typeof We=="boolean"?{draggable:We,droppable:!1}:{draggable:(qe=We==null?void 0:We.draggable)!=null?qe:Ke.draggable,droppable:(ot=We==null?void 0:We.droppable)!=null?ot:Ke.droppable}}function De(We){if(!We)return!1;const Ke=We.data.current;return!!(Ke&&"sortable"in Ke&&typeof Ke.sortable=="object"&&"containerId"in Ke.sortable&&"items"in Ke.sortable&&"index"in Ke.sortable)}const Oe=[de.g4.Down,de.g4.Right,de.g4.Up,de.g4.Left],$e=(We,Ke)=>{let{context:{active:qe,collisionRect:ot,droppableRects:dt,droppableContainers:$t,over:gn,scrollableAncestors:at}}=Ke;if(Oe.includes(We.code)){if(We.preventDefault(),!qe||!ot)return;const ht=[];$t.getEnabled().forEach(wt=>{if(!wt||wt!=null&&wt.disabled)return;const Ht=dt.get(wt.id);if(Ht)switch(We.code){case KeyboardCode.Down:ot.top<Ht.top&&ht.push(wt);break;case KeyboardCode.Up:ot.top>Ht.top&&ht.push(wt);break;case KeyboardCode.Left:ot.left>Ht.left&&ht.push(wt);break;case KeyboardCode.Right:ot.left<Ht.left&&ht.push(wt);break}});const Bt=closestCorners({active:qe,collisionRect:ot,droppableRects:dt,droppableContainers:ht,pointerCoordinates:null});let ut=getFirstCollision(Bt,"id");if(ut===(gn==null?void 0:gn.id)&&Bt.length>1&&(ut=Bt[1].id),ut!=null){const wt=$t.get(qe.id),Ht=$t.get(ut),Ge=Ht?dt.get(Ht.id):null,bn=Ht==null?void 0:Ht.node.current;if(bn&&Ge&&wt&&Ht){const Ct=getScrollableAncestors(bn).some((Pt,st)=>at[st]!==Pt),Kt=Le(wt,Ht),Ut=je(wt,Ht),Rt=Ct||!Kt?{x:0,y:0}:{x:Ut?ot.width-Ge.width:0,y:Ut?ot.height-Ge.height:0},St={x:Ge.left,y:Ge.top};return Rt.x&&Rt.y?St:subtract(St,Rt)}}}};function Le(We,Ke){return!De(We)||!De(Ke)?!1:We.data.current.sortable.containerId===Ke.data.current.sortable.containerId}function je(We,Ke){return!De(We)||!De(Ke)||!Le(We,Ke)?!1:We.data.current.sortable.index<Ke.data.current.sortable.index}},24285:function(ct,it,ee){"use strict";ee.d(it,{$X:function(){return re},D9:function(){return b},DC:function(){return ve},Ey:function(){return oe},FJ:function(){return Fe},Gj:function(){return a},HB:function(){return de},IH:function(){return ne},Jj:function(){return ke},LI:function(){return ze},Ld:function(){return z},Nq:function(){return pe},Re:function(){return Ue},UG:function(){return xe},Yz:function(){return me},qk:function(){return ie},r3:function(){return Te},so:function(){return ye},ux:function(){return Ce},vZ:function(){return Ie},vd:function(){return le},wm:function(){return y},zX:function(){return Be}});var x=ee(67294);function de(){for(var De=arguments.length,Oe=new Array(De),$e=0;$e<De;$e++)Oe[$e]=arguments[$e];return(0,x.useMemo)(()=>Le=>{Oe.forEach(je=>je(Le))},Oe)}const pe=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Fe(De){const Oe=Object.prototype.toString.call(De);return Oe==="[object Window]"||Oe==="[object global]"}function xe(De){return"nodeType"in De}function ke(De){var Oe,$e;return De?Fe(De)?De:xe(De)&&(Oe=($e=De.ownerDocument)==null?void 0:$e.defaultView)!=null?Oe:window:window}function ie(De){const{Document:Oe}=ke(De);return De instanceof Oe}function Ue(De){return Fe(De)?!1:De instanceof ke(De).HTMLElement}function Ie(De){return De instanceof ke(De).SVGElement}function Te(De){return De?Fe(De)?De.document:xe(De)?ie(De)?De:Ue(De)||Ie(De)?De.ownerDocument:document:document:document}const ze=pe?x.useLayoutEffect:x.useEffect;function Be(De){const Oe=(0,x.useRef)(De);return ze(()=>{Oe.current=De}),(0,x.useCallback)(function(){for(var $e=arguments.length,Le=new Array($e),je=0;je<$e;je++)Le[je]=arguments[je];return Oe.current==null?void 0:Oe.current(...Le)},[])}function me(){const De=(0,x.useRef)(null),Oe=(0,x.useCallback)((Le,je)=>{De.current=setInterval(Le,je)},[]),$e=(0,x.useCallback)(()=>{De.current!==null&&(clearInterval(De.current),De.current=null)},[]);return[Oe,$e]}function oe(De,Oe){Oe===void 0&&(Oe=[De]);const $e=(0,x.useRef)(De);return ze(()=>{$e.current!==De&&($e.current=De)},Oe),$e}function a(De,Oe){const $e=(0,x.useRef)();return(0,x.useMemo)(()=>{const Le=De($e.current);return $e.current=Le,Le},[...Oe])}function y(De){const Oe=Be(De),$e=(0,x.useRef)(null),Le=(0,x.useCallback)(je=>{je!==$e.current&&(Oe==null||Oe(je,$e.current)),$e.current=je},[]);return[$e,Le]}function b(De){const Oe=(0,x.useRef)();return(0,x.useEffect)(()=>{Oe.current=De},[De]),Oe.current}let E={};function z(De,Oe){return(0,x.useMemo)(()=>{if(Oe)return Oe;const $e=E[De]==null?0:E[De]+1;return E[De]=$e,De+"-"+$e},[De,Oe])}function te(De){return function(Oe){for(var $e=arguments.length,Le=new Array($e>1?$e-1:0),je=1;je<$e;je++)Le[je-1]=arguments[je];return Le.reduce((We,Ke)=>{const qe=Object.entries(Ke);for(const[ot,dt]of qe){const $t=We[ot];$t!=null&&(We[ot]=$t+De*dt)}return We},Zr({},Oe))}}const ne=te(1),re=te(-1);function ae(De){return"clientX"in De&&"clientY"in De}function le(De){if(!De)return!1;const{KeyboardEvent:Oe}=ke(De.target);return Oe&&De instanceof Oe}function he(De){if(!De)return!1;const{TouchEvent:Oe}=ke(De.target);return Oe&&De instanceof Oe}function ve(De){if(he(De)){if(De.touches&&De.touches.length){const{clientX:Oe,clientY:$e}=De.touches[0];return{x:Oe,y:$e}}else if(De.changedTouches&&De.changedTouches.length){const{clientX:Oe,clientY:$e}=De.changedTouches[0];return{x:Oe,y:$e}}}return ae(De)?{x:De.clientX,y:De.clientY}:null}const Ce=Object.freeze({Translate:{toString(De){if(!De)return;const{x:Oe,y:$e}=De;return"translate3d("+(Oe?Math.round(Oe):0)+"px, "+($e?Math.round($e):0)+"px, 0)"}},Scale:{toString(De){if(!De)return;const{scaleX:Oe,scaleY:$e}=De;return"scaleX("+Oe+") scaleY("+$e+")"}},Transform:{toString(De){if(De)return[Ce.Translate.toString(De),Ce.Scale.toString(De)].join(" ")}},Transition:{toString(De){let{property:Oe,duration:$e,easing:Le}=De;return Oe+" "+$e+"ms "+Le}}}),be="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ye(De){return De.matches(be)?De:De.querySelector(be)}},71736:function(ct,it){"use strict";it.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},45160:function(ct,it){"use strict";it.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"}},41642:function(ct,it){"use strict";it.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"}},39886:function(ct,it){"use strict";it.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY"}},67795:function(ct,it){"use strict";it.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"}},9151:function(ct,it,ee){"use strict";var x=ee(67294),de=Object.defineProperty,pe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ke=(Ie,Te,ze)=>Te in Ie?de(Ie,Te,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ie[Te]=ze,ie=(Ie,Te)=>{for(var ze in Te||(Te={}))Fe.call(Te,ze)&&ke(Ie,ze,Te[ze]);if(pe)for(var ze of pe(Te))xe.call(Te,ze)&&ke(Ie,ze,Te[ze]);return Ie};const Ue=Ie=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},Ie),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"}));it.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},37752:function(ct,it,ee){"use strict";var x=ee(67294),de=Object.defineProperty,pe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ke=(Ie,Te,ze)=>Te in Ie?de(Ie,Te,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ie[Te]=ze,ie=(Ie,Te)=>{for(var ze in Te||(Te={}))Fe.call(Te,ze)&&ke(Ie,ze,Te[ze]);if(pe)for(var ze of pe(Te))xe.call(Te,ze)&&ke(Ie,ze,Te[ze]);return Ie};const Ue=Ie=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},Ie),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"}));it.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0I5QzRDRiIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLjA1IDNjLS42NzUgMC0xLjIwMy4wOTItMS41ODQuMjc2YTIuMDU2IDIuMDU2IDAgMCAwLS44ODcuNzk0Yy0uMTguMjk2LS4zMS42OTEtLjM5NCAxLjE4NmwtLjAzOC4yNTUgMi4wMDQuMTc3Yy4wNTUtLjQ0My4xNjQtLjc1My4zMjYtLjkyOGEuODE0LjgxNCAwIDAgMSAuNjI2LS4yNjMuODEuODEgMCAwIDEgLjYxMS4yNTVjLjE2Mi4xNy4yNDMuMzc1LjI0My42MTQgMCAuMjIyLS4wODEuNDU2LS4yNDUuNzAzLS4xNjQuMjQ3LS41MzkuNjA4LTEuMTI0IDEuMDg0LS45Ni43NzYtMS42MTMgMS40NS0xLjk2MiAyLjAyYTQuMzYzIDQuMzYzIDAgMCAwLS41ODggMS41NTJMNCAxNWg2di0xLjc4MUg2Ljg3N2MuMTg0LS4xOTcuMzQzLS4zNTYuNDc5LS40NzguMTM2LS4xMjIuNDA1LS4zMzQuODA4LS42MzguNjc3LS41MjMgMS4xNDUtMS4wMDIgMS40MDEtMS40MzguMjU3LS40MzcuMzg2LS44OTUuMzg2LTEuMzc0IDAtLjQ1LS4xMTItLjg1OC0uMzM2LTEuMjJhMi4wNDMgMi4wNDMgMCAwIDAtLjkyNC0uODA4QzguMzAxIDcuMDg4IDcuNzUzIDcgNy4wNSA3Wk00LjgxMiAwYy4xNzUgMCAuMzUuMTYuNDM3LjMxOGwxLjMxMyAyLjMwOXMtMi44LjE2LTQuNDYzIDEuNjcyTC4wODguNzE2QzAgLjYzNiAwIC41NTcgMCAuNDc4IDAgLjE1OS4yNjMgMCAuNTI1IDBabTguNjYyIDBjLjI2MyAwIC41MjUuMjM5LjUyNS40NzggMCAuMDggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},33648:function(ct,it,ee){"use strict";var x=ee(67294),de=Object.defineProperty,pe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ke=(Ie,Te,ze)=>Te in Ie?de(Ie,Te,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ie[Te]=ze,ie=(Ie,Te)=>{for(var ze in Te||(Te={}))Fe.call(Te,ze)&&ke(Ie,ze,Te[ze]);if(pe)for(var ze of pe(Te))xe.call(Te,ze)&&ke(Ie,ze,Te[ze]);return Ie};const Ue=Ie=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},Ie),React.createElement("path",{fill:"#D09F18",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm-.062 3c-.826 0-1.464.172-1.915.517-.4.307-.686.733-.856 1.278l-.058.21 1.908.364c.052-.383.153-.651.302-.804a.772.772 0 0 1 .58-.23c.23 0 .412.07.544.211.133.14.199.33.199.565a.88.88 0 0 1-.265.638.89.89 0 0 1-.662.27 1.35 1.35 0 0 1-.158-.012l-.104-.015-.105 1.536c.278-.085.496-.127.654-.127.298 0 .533.099.707.296.173.197.26.475.26.833 0 .352-.09.634-.27.845a.852.852 0 0 1-.677.316.862.862 0 0 1-.636-.25c-.143-.144-.254-.384-.333-.723l-.036-.177L4 12.826c.132.482.321.882.567 1.2.246.319.56.56.942.726.381.165.902.248 1.563.248.677 0 1.224-.112 1.64-.335.416-.223.735-.542.956-.955.221-.414.332-.845.332-1.296 0-.359-.067-.667-.2-.926a1.633 1.633 0 0 0-.563-.625c-.149-.099-.363-.185-.644-.259.347-.204.606-.441.778-.712a1.66 1.66 0 0 0 .257-.908 1.82 1.82 0 0 0-.634-1.42C8.571 7.189 7.886 7 6.938 7ZM4.813 0c.175 0 .35.17.437.338l1.313 2.453s-2.8.17-4.463 1.776L.088.761C0 .677 0 .592 0 .507 0 .17.263 0 .525 0Zm8.662 0c.263 0 .525.254.525.507 0 .085 0 .17-.088.254L11.9 4.483C10.238 2.96 7.437 2.79 7.437 2.79L8.75.338C8.75.17 8.925 0 9.188 0Z"}));it.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0QwOUYxOCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLS4wNjIgM2MtLjgyNiAwLTEuNDY0LjE3Mi0xLjkxNS41MTctLjQuMzA3LS42ODYuNzMzLS44NTYgMS4yNzhsLS4wNTguMjEgMS45MDguMzY0Yy4wNTItLjM4My4xNTMtLjY1MS4zMDItLjgwNGEuNzcyLjc3MiAwIDAgMSAuNTgtLjIzYy4yMyAwIC40MTIuMDcuNTQ0LjIxMS4xMzMuMTQuMTk5LjMzLjE5OS41NjVhLjg4Ljg4IDA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MS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},18023:function(){"use strict";function ct(oe,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=oe,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(ct.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(ct.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(ct.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,a){var y=go.Shape._FigureParameters[oe];return y?y[a]:null},go.Shape.setFigureParameter=function(oe,a,y){if(!(y instanceof ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var b=go.Shape._FigureParameters[oe];b||(b=[],go.Shape._FigureParameters[oe]=b),b[a]=y};var it=[];function ee(oe,a){var y=it.pop();return y===void 0?new go.Point(oe,a):(y.x=oe,y.y=a,y)}function x(){var oe=it.pop();return oe===void 0?new go.Point:oe}function de(oe){it.push(oe)}function pe(oe,a,y,b,E,z,te,ne,re){re||(re=new go.Point);var ae=oe-y,le=E-te,he=NaN,ve=NaN;if(ae===0)if(le===0)oe===y&&(he=oe,ve=a);else{var Ce=(z-ne)/le,be=z-Ce*E;he=oe,ve=Ce*he+be}else if(le===0){var ye=(a-b)/ae,De=a-ye*oe;he=E,ve=ye*he+De}else{var ye=(a-b)/ae,Ce=(z-ne)/le,De=a-ye*oe,be=z-Ce*E;he=(be-De)/(ye-Ce),ve=ye*he+De}return re.x=he,re.y=ve,re}function Fe(oe,a,y,b,E,z,te,ne,re,ae,le,he,ve,Ce){var be=1-re,ye=re,De=oe*be+y*ye,Oe=a*be+b*ye,$e=y*be+E*ye,Le=b*be+z*ye,je=E*be+te*ye,We=z*be+ne*ye,Ke=De*be+$e*ye,qe=Oe*be+Le*ye,ot=$e*be+je*ye,dt=Le*be+We*ye,$t=Ke*be+ot*ye,gn=qe*be+dt*ye;ae.x=De,ae.y=Oe,le.x=Ke,le.y=qe,he.x=$t,he.y=gn,ve.x=ot,ve.y=dt,Ce.x=je,Ce.y=We}var xe=new go.Spot(.156,.156),ke=new go.Spot(.844,.844),ie=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,z=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&&(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,1,-E,-E)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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=xe,E.spot2=ke,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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 ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&z.setSpots(E/a,0,(a-E)/a,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a:b>a&&(b=a);var E=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&z.setSpots(E/a,0,(a-E)/a,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new ct("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&z.setSpots(E/a,0,(a-E)/a,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ct("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)?b=20:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&z.setSpots(E/a,0,(a-E)/a,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return b>0?z.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())):z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E<a/2&&z.setSpots(E/a,0,(a-E)/a,1),z}});var Ue=[];function Ie(){var oe=Ue.pop();return oe===void 0?[]:oe}function Te(oe){oe.length=0,Ue.push(oe)}function ze(oe){for(var a=Ie(),y=.5,b=.5,E=Math.PI*1.5,z=0,te=0;te<oe;te++)z=2*Math.PI/oe*te+E,a[te]=new go.Point(b+y*Math.cos(z),b+y*Math.sin(z));return a.push(a[0]),a}function Be(oe){var a=me(oe),y=Ie();y[0]=a[0];for(var b=1,E=1;b<a.length;b+=2,E+=3)y[E]=a[b],y[E+1]=a[b],y[E+2]=a[b+1];return Te(a),y}function me(oe){for(var a=ze(oe),y=Ie(),b=Math.floor(a.length/2),E=a.length-1,z=oe%2===0?2:1,te=0;te<E;te++){var ne=a[te],re=a[te+1],ae=a[(b+te-1)%E],le=a[(b+te+z)%E];y[te*2]=ne,y[te*2+1]=pe(ne.x,ne.y,ae.x,ae.y,re.x,re.y,le.x,le.y,new go.Point)}return y[y.length]=y[0],Te(a),y}go.Shape.defineFigureGenerator("Pentagon",function(oe,a,y){var b=ze(5),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<5;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(oe,a,y){var b=ze(6),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<6;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(oe,a,y){var b=ze(7),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<7;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(oe,a,y){var b=ze(8),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<8;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(oe,a,y){var b=ze(9),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<9;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(oe,a,y){var b=ze(10),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(oe,a,y){var b=ze(12),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(oe,a,y){var b=me(5),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(oe,a,y){var b=me(6),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(oe,a,y){var b=me(7),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<14;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(oe,a,y){var b=me(8),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<16;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(oe,a,y){var b=me(9),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<18;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(oe,a,y){var b=me(10),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<20;te++)z.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Te(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(oe,a,y){var b=Be(5),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(oe,a,y){var b=Be(6),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(oe,a,y){var b=Be(7),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(oe,a,y){var b=Be(8),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(oe,a,y){var b=Be(9),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(oe,a,y){var b=Be(10),E=new go.Geometry,z=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(z);for(var te=1;te<b.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*a,b[te+2].y*y,b[te].x*a,b[te].y*y,b[te+1].x*a,b[te+1].y*y));return z.segments.last().close(),Te(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new ct("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ct("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(oe,a,y){var b=oe?oe.parameter1:NaN,E=oe?oe.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var z=new go.Geometry,te=new go.PathFigure(0,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b<a/2&&E<y/2&&(te.add(new go.PathSegment(go.PathSegment.Move,b,E)),te.add(new go.PathSegment(go.PathSegment.Line,b,y-E)),te.add(new go.PathSegment(go.PathSegment.Line,a-b,y-E)),te.add(new go.PathSegment(go.PathSegment.Line,a-b,E).close())),z.setSpots(0,0,1,1,b,E,-b,-E),z}),go.Shape.setFigureParameter("Ring",0,new ct("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=a/2,z=new go.Geometry,te=new go.PathFigure(a,a/2,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var ne=Math.max(E-b,0);return ne>0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ne,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ne,ne).close())),z.spot1=xe,z.spot2=ke,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(oe,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(oe,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 ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,a,y){var b=oe?oe.parameter1:NaN,E=oe?oe.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var z=b%360;z<0&&(z+=360);var te=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,z,te,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,a,y){var b=ie/Math.SQRT2*.5,E=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,z*y,a,(1-b)*y,(E+b)*a,(z+b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,te-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,te-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,a,y){var b=oe?oe.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 z=a/2,te=y/2,ne=Math.atan2(y,a),re=b-Math.min(Math.cos(ne)*b/2,z),ae=b-Math.min(Math.sin(ne)*b/2,te),E=new go.Geometry,le=new go.PathFigure(re,0,!0);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),le.add(new go.PathSegment(go.PathSegment.Line,a-re,0)),le.add(new go.PathSegment(go.PathSegment.Line,a,ae)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,a,y-ae)),le.add(new go.PathSegment(go.PathSegment.Line,a-re,y)),le.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),le.add(new go.PathSegment(go.PathSegment.Line,re,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y-ae)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-b)*a,.25*y,Math.abs(1-b)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,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(oe,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(oe,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(oe,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(oe,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 z=.2,te=.3,ne=0,re=z*ie;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ne)*y,(.5-z+te)*a,(.5+re+ne)*y,(.5-re+te)*a,(.5+z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ne)*y,(.5+re+te)*a,(.5+z+ne)*y,(.5+z+te)*a,(.5+re+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ne)*y,(1-.5+z+te)*a,(.5-re+ne)*y,(.5+re+te)*a,(.5-z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-re+te)*a,(.5-z+ne)*y,(.5-z+te+.05)*a,(.5-re+ne-.02)*y)),z=.2,te=0,ne=-.3,re=z*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ne)*y,(.5+re+te)*a,(.5+z+ne)*y,(.5+z+te)*a,(.5+re+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ne)*y,(1-.5+z+te)*a,(.5-re+ne)*y,(.5+re+te)*a,(.5-z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ne)*y,(.5-re+te)*a,(.5-z+ne)*y,(.5-z+te)*a,(.5-re+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-re+te)*a,(.5+z+ne)*y,(.5-z+te)*a,(.5+re+ne)*y,(.5-re+te)*a,(.5+z+ne)*y)),z=.2,te=-.3,ne=0,re=z*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ne)*y,(1-.5+z+te-.05)*a,(.5-re+ne-.02)*y,(.5+re+te)*a,(.5-z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ne)*y,(.5-re+te)*a,(.5-z+ne)*y,(.5-z+te)*a,(.5-re+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ne)*y,(.5-z+te)*a,(.5+re+ne)*y,(.5-re+te)*a,(.5+z+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+re+te)*a,(.5+z+ne)*y,(.5+z+te)*a,(.5+re+ne)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(oe,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 z=.1,te=.5,ne=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(te+z)*a,ne*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ne,z*a,z*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((te+z)*a,ne*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ne,z*a,z*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(oe,a,y){var b=.8535533905932737,E=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,z,E,z)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=.5,ne=.5,re=new go.PathFigure(te*a,(ne-z)*y);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),z=.4,E=ie*.4;var ae=x(),le=x(),he=x(),ve=x();Fe(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.42,ae,le,he,ve,ve);var Ce=x(),be=x(),ye=x();Fe(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.58,ve,ve,ye,Ce,be);var De=x(),Oe=x(),$e=x();Fe(te,ne+z,te-E,ne+z,te-z,ne+E,te-z,ne,.42,De,Oe,$e,ve,ve);var Le=x(),je=x(),We=x();return Fe(te,ne+z,te-E,ne+z,te-z,ne+E,te-z,ne,.58,ve,ve,We,Le,je),re.add(new go.PathSegment(go.PathSegment.Move,We.x*a,We.y*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,Le.x*a,Le.y*y,je.x*a,je.y*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te-z)*a,(ne-E)*y,(te-E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ae.x*a,ae.y*y,le.x*a,le.y*y)),re.add(new go.PathSegment(go.PathSegment.Line,We.x*a,We.y*y).close()),re.add(new go.PathSegment(go.PathSegment.Move,$e.x*a,$e.y*y)),re.add(new go.PathSegment(go.PathSegment.Line,ye.x*a,ye.y*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,Ce.x*a,Ce.y*y,be.x*a,be.y*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,$e.x*a,$e.y*y,De.x*a,De.y*y,Oe.x*a,Oe.y*y).close()),de(ae),de(le),de(he),de(ve),de(Ce),de(be),de(ye),de(De),de(Oe),de($e),de(Le),de(je),de(We),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(oe,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 ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var E=(a-b)/2,z=E+b;return new go.Geometry().add(new go.PathFigure(z,.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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.4,z=.4,te=.5,ne=.5,re=x(),ae=x(),le=x(),he=x(),ve=new go.PathFigure((te-z)*a,ne*y,!1);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te-z)*a,(ne-E)*y,(te-E)*a,(ne-z)*y)),Fe(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.44,le,he,ae,re,re),ve.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,le.x*a,le.y*y,he.x*a,he.y*y));var Ce=ee(ae.x,ae.y);Fe(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.56,re,re,ae,le,he);var be=ee(ae.x,ae.y);ve.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.95*.9)*a,Ce.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ce.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,(be.y*.1+.05*.9)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,be.x*a,be.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,le.x*a,le.y*y,he.x*a,he.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne+z)*y,(te-z)*a,(ne+E)*y)),z=.35,E=ie*.35;var ye=new go.PathFigure(te*a,(ne-z)*y,!1);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y));var De=new go.PathFigure((te-z)*a,ne*y,!1);return b.add(De),de(re),de(ae),de(le),de(he),de(Ce),de(be),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(oe,a,y){var b=new go.Geometry,E=.375,z=0,te=-.125,ne=E*ie,re=new go.PathFigure((.525+z)*a,(.5+E+te)*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+te)*y,(.5+ne+z)*a,(.5+E+te)*y,(.5+E+z)*a,(.5+ne+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+te)*y,(1-.5+E+z)*a,(.5-ne+te)*y,(.5+ne+z)*a,(.5-E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-ne+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-ne+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+E+te)*y,(.5-E+z)*a,(.5+ne+te)*y,(.5-ne+z)*a,(.5+E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,z=0,te=-.125,ne=E*ie;var re=new go.PathFigure((1-.5+E+z)*a,(.5+te)*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+te)*y,(.5+E+z)*a,(.5+ne+te)*y,(.5+ne+z)*a,(.5+E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-ne+z)*a,(.5+E+te)*y,(.5-E+z)*a,(.5+ne+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-ne+te)*y,(.5-ne+z)*a,(.5-E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+te)*y,(.5+ne+z)*a,(.5-E+te)*y,(1-.5+E+z)*a,(.5-ne+te)*y));var re=new go.PathFigure((.525+z)*a,(.5+E+te)*y,!1);return b.add(re),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(oe,a,y){var b=oe?oe.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(oe,a,y){var b=oe?oe.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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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 ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=.3);var z=(1-b)*a,te=(.5-E/2)*y,ne=(.5+E/2)*y,re=new go.Geometry,ae=new go.PathFigure(0,te,!0);re.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,z,te)),ae.add(new go.PathSegment(go.PathSegment.Line,z,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,z,y)),ae.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),re.spot1=new go.Spot(0,te/y);var le=pe(0,ne/y,1,ne/y,z/a,1,1,.5,x());return re.spot2=new go.Spot(le.x,le.y),de(le),re}),go.Shape.setFigureParameter("Arrow2",0,new ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var z=a-b,te=(y-E)/2,ne=te+E,re=new go.Geometry,ae=new go.PathFigure(0,te,!0);re.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,z,te)),ae.add(new go.PathSegment(go.PathSegment.Line,z,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,z,y)),ae.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),re.spot1=new go.Spot(0,te/y);var le=pe(0,ne/y,1,ne/y,z/a,1,1,.5,x());return re.spot2=new go.Spot(le.x,le.y),de(le),re}),go.Shape.defineFigureGenerator("Chevron",function(oe,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(oe,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 ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,z=(.5+b/2)*y,te=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),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 re=pe(0,.5,.3,0,0,E/y,.1,E/y,x());return te.spot1=new go.Spot(re.x,re.y),re=pe(.7,1,1,.5,0,z/y,1,z/y,re),te.spot2=new go.Spot(re.x,re.y),de(re),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=100);var z=(y-b)/2,te=z+b,ne=(y-E)/2,re=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,z=(y-b)/2,te=z+b,ne=0,re=y):(z=0,te=y,ne=0,re=y));var ae=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,re)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close());var he=pe(0,.5,.3,ne/y,0,z/y,1,z/y,x());return ae.spot1=new go.Spot(he.x,he.y),he=pe(.7,re/y,1,.5,0,te/y,1,te/y,he),ae.spot2=new go.Spot(he.x,he.y),de(he),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,z=(.5+b/2)*y,te=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),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()),te.spot1=new go.Spot(0,E/y);var re=pe(.7,1,1,.5,0,z/y,1,z/y,x());return te.spot2=new go.Spot(re.x,re.y),de(re),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=100);var z=(y-b)/2,te=z+b,ne=(y-E)/2,re=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,z=(y-b)/2,te=z+b,ne=0,re=y):(z=0,te=y,ne=0,re=y));var ae=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,re)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),le.add(new go.PathSegment(go.PathSegment.Line,0,re)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close()),ae.spot1=new go.Spot(0,z/y);var he=pe(.7,re/y,1,.5,0,te/y,1,te/y,x());return ae.spot2=new go.Spot(he.x,he.y),de(he),ae}),go.Shape.setFigureParameter("Pointer",0,new ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var te=pe(.2,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(te.x,te.y),de(te),E}),go.Shape.setFigureParameter("RoundedPointer",0,new ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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 te=pe(0,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(te.x,te.y),de(te),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,z=(.5+b/2)*y,te=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,z)),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()),te.spot1=new go.Spot(.2,.3);var re=pe(.7,1,1,.5,0,z/y,1,z/y,x());return te.spot2=new go.Spot(re.x,re.y),de(re),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=50);var E=(y-b)/2,z=E+b;b>y&&(E=0,z=y);var te=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,z)),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()),te.spot1=new go.Spot(.2,E/y);var re=pe(.7,1,1,.5,0,z/y,1,z/y,x());return te.spot2=new go.Spot(re.x,re.y),de(re),te}),go.Shape.setFigureParameter("SquareArrow",0,new ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=ie*.1,te=new go.PathFigure(0,.9*y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(oe,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 z=new go.PathFigure(0,.9*y,!1);return b.add(z),z.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(oe,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 z=new go.PathFigure(.5*a,y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.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(oe,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 z=new go.PathFigure(0,.3*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.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(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=ie*.5,te=new go.PathFigure(0,b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+z)*a,0,1*a,ie*b)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ie*b,(.5+z)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-z)*a,1*y,0,y-ie*b)),te.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+z)*a,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*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(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=ie*.5,te=new go.PathFigure(0,y-b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+z)*a,0,a,ie*b)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ie*b,(.5+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-z)*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-z)*a,y-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+z)*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(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=ie*.5,te=new go.PathFigure(b,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+z)*y,a-ie*b,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*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-z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+z)*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(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=ie*.5,te=new go.PathFigure(a-b,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+z)*y,a-ie*b,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*y,ie*b,0)),te.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-z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+z)*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(oe,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 z=new go.PathFigure(.25*a,.25*y,!1);return b.add(z),z.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(oe,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 z=new go.PathFigure(0,y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.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(oe,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 z=new go.PathFigure(.5*a,0,!1);return b.add(z),z.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(oe,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 z=new go.PathFigure(.5*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.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(oe,a,y){var b=new go.Geometry,E=.2,z=.1,te=ie*E,ne=ie*z,re=.5,ae=.1,le=new go.PathFigure(re*a,(ae+z)*y,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,ae*y,(re-te)*a,(ae+z)*y,(re-E)*a,(ae+ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-z)*y,(re-E)*a,(ae-ne)*y,(re-te)*a,(ae-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,ae*y,(re+te)*a,(ae-z)*y,(re+E)*a,(ae-ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae+z)*y,(re+E)*a,(ae+ne)*y,(re+te)*a,(ae+z)*y));var he=.05,ve=ie*he;re=.05,ae=.25;var Ce=new go.PathFigure(.5*a,.2*y,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),re=.95,ae=.25,Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re+he)*a,ae*y,(re+ve)*a,(ae-he)*y,(re+he)*a,(ae-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),he=.025,ve=ie*he,re=.825,ae=.35,Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-he)*y,(re+he)*a,(ae-ve)*y,(re+ve)*a,(ae-he)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-he)*a,ae*y,(re-ve)*a,(ae-he)*y,(re-he)*a,(ae-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),he=.05,ve=ie*he,re=.5,ae=.7,Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-he)*y,(re+he)*a,(ae-ve)*y,(re+ve)*a,(ae-he)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-he)*a,ae*y,(re-ve)*a,(ae-he)*y,(re-he)*a,(ae-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),he=.025,ve=ie*he,re=.175,ae=.35,Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-he)*y,(re+he)*a,(ae-ve)*y,(re+ve)*a,(ae-he)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-he)*a,ae*y,(re-ve)*a,(ae-he)*y,(re-he)*a,(ae-ve)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),he=.05,ve=ie*he,re=.05,ae=.25,Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-he)*y,(re-he)*a,(ae-ve)*y,(re-ve)*a,(ae-he)*y)),Ce.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 ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,a,y){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,z=new go.PathFigure(a,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.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(oe,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 z=new go.PathFigure(.5*a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("Database",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=ie*.1,te=new go.PathFigure(a,.1*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-z)*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+z)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+z)*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+z)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+z)*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+z)*y,(.5+E)*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+z)*y)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=ie*.1,te=new go.PathFigure(a,.1*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-z)*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+z)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+z)*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+z)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+z)*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var z=ie*.2,te=new go.PathFigure(0,.2*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),te.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("Document",function(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,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 z=new go.PathFigure(.1*a,.4*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.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(oe,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 z=new go.PathFigure(.75*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.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(oe,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 z=new go.PathFigure(a,.5*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return b.add(te),te.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.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,z*y)),ne.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),b}),go.Shape.defineFigureGenerator("Junction",function(oe,a,y){var b=new go.Geometry,E=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=ie*.5,ne=.5,re=new go.PathFigure(a,ne*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,y,a,(ne+te)*y,(ne+te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*y,(ne-te)*a,y,0,(ne+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,0,0,(ne-te)*y,(ne-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,ne*y,(ne+te)*a,0,a,(ne-te)*y));var ae=new go.PathFigure((z+E)*a,(z+E)*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),ae.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(z+E)*a,z*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,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 z=new go.PathFigure(.1*a,0,!1);return b.add(z),z.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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=new go.PathFigure(.5*a,y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+E)*y,(z+E)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.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(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.7);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,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(oe,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 z=new go.PathFigure(.1*a,.2*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.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(oe,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 z=new go.PathFigure(.2*a,.1*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=1-E,te=new go.PathFigure(0,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=new go.PathFigure(a,z*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+E)*y,(z+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-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(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-E)*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b}),go.Shape.defineFigureGenerator("Process",function(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(oe,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 z=new go.PathFigure(0,.5*y,!1);return b.add(z),z.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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(E*a,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(E*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),te.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(oe,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(oe,a,y){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),z.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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=new go.PathFigure(a,z*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+E)*y,(z+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y));var ne=new go.PathFigure(a,z*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var re=new go.PathFigure(.8*a,.75*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.1,z=.1,te=.9,ne=.5,re=new go.PathFigure(.8*a,.5*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ae=new go.PathFigure((te+z)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne+z)*y,(te-z)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te-z)*a,(ne-E)*y,(te-E)*a,(ne-z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne-z)*y,(te+z)*a,(ne-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=ie*.4,te=ie*.1,ne=.1,re=.9,ae=.5,le=new go.PathFigure(.8*a,.5*y,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+E)*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-z)*y));var he=new go.PathFigure((re+ne)*a,ae*y,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae+ne)*y,(re+ne)*a,(ae+te)*y,(re+te)*a,(ae+ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ae*y,(re-te)*a,(ae+ne)*y,(re-ne)*a,(ae+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-ne)*y,(re-ne)*a,(ae-te)*y,(re-te)*a,(ae-ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ae*y,(re+te)*a,(ae-ne)*y,(re+ne)*a,(ae-te)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*E,te=0,ne=.5,re=new go.PathFigure(.8*a,.5*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ne-E)*y,.7*a,(ne-z)*y)),E=.1,z=ie*.1,te=.9,ne=.5;var ae=new go.PathFigure((te-E)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*E,te=0,ne=.5,re=new go.PathFigure(0,0,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z+z)*a,(ne-E)*y,.8*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ne+z)*y,(te+z+z)*a,(ne+E)*y)),re.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(oe,a,y){var b=new go.Geometry,E=.5,z=ie*E,te=.2,ne=.5,re=new go.PathFigure(.1*a,0,!1);b.add(re),re.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+z)*y,(te+z)*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,(te+z)*a,(ne-E)*y,.7*a,(ne-z)*y)),E=.1,z=ie*.1,te=.9,ne=.5;var le=new go.PathFigure((te-E)*a,ne*y,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*E,te=.2,ne=.5,re=new go.PathFigure(.1*a,0,!1);b.add(re),re.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,(te+z)*a,(ne-E)*y,.9*a,(ne-z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ne+z)*y,(te+z)*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(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=ie*.1,z=.1,te=.1,ne=.5,re=new go.PathFigure((te-E*.5)*a,y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.3,re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.5,re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.7,re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.9,re.add(new go.PathSegment(go.PathSegment.Bezier,(te+E*.5)*a,y,(te+z)*a,0,(te+E)*a,y)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,a,y){var b=new go.Geometry,E=ie*.5,z=.5,te=.5,ne=.5,re=new go.PathFigure((te-z)*a,ne*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-z)*y,(te-z)*a,(ne-E)*y,(te-E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne-z)*y,(te+z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne+z)*y,(te-z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*a,ne*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*a,ne*y,te*a,(ne-z)*y,te*a,(ne+z)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=a,z=y;a=a*.38,y=y*.6;var te=ie*.8,ne=.8,re=0,ae=.5,le=(E-a)/2,he=(z-y)/2,ve=new go.PathFigure(re*a+le,(ae+ne)*y+he,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a+le,ae*y+he,(re-te)*a+le,(ae+ne)*y+he,(re-ne)*a+le,(ae+te)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re-ne)*a+le,(ae-te)*y+he,(re-te)*a+le,(ae-ne)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne+te*.5)*a+le,ae*y+he,re*a+le,(ae-ne)*y+he,(re-ne+te*.5)*a+le,(ae-te)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re-ne+te*.5)*a+le,(ae+te)*y+he,re*a+le,(ae+ne)*y+he).close()),te=ie*.4,ne=.4,re=.2,ae=.5;var Ce=new go.PathFigure(re*a+le,(ae+ne)*y+he,!0);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a+le,ae*y+he,(re-te)*a+le,(ae+ne)*y+he,(re-ne)*a+le,(ae+te)*y+he)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re-ne)*a+le,(ae-te)*y+he,(re-te)*a+le,(ae-ne)*y+he)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne+te*.5)*a+le,ae*y+he,re*a+le,(ae-ne)*y+he,(re-ne+te*.5)*a+le,(ae-te)*y+he)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re-ne+te*.5)*a+le,(ae+te)*y+he,re*a+le,(ae+ne)*y+he).close()),te=ie*.2,ne=.2,re=.5,ae=.5;var be=new go.PathFigure((re-ne)*a+le,ae*y+he,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re-ne)*a+le,(ae-te)*y+he,(re-te)*a+le,(ae-ne)*y+he)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a+le,ae*y+he,(re+te)*a+le,(ae-ne)*y+he,(re+ne)*a+le,(ae-te)*y+he)),be.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re+ne)*a+le,(ae+te)*y+he,(re+te)*a+le,(ae+ne)*y+he)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a+le,ae*y+he,(re-te)*a+le,(ae+ne)*y+he,(re-ne)*a+le,(ae+te)*y+he)),te=ie*.4,ne=.4,re=.8,ae=.5;var ye=new go.PathFigure(re*a+le,(ae-ne)*y+he,!0);b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a+le,ae*y+he,(re+te)*a+le,(ae-ne)*y+he,(re+ne)*a+le,(ae-te)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re+ne)*a+le,(ae+te)*y+he,(re+te)*a+le,(ae+ne)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne-te*.5)*a+le,ae*y+he,re*a+le,(ae+ne)*y+he,(re+ne-te*.5)*a+le,(ae+te)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re+ne-te*.5)*a+le,(ae-te)*y+he,re*a+le,(ae-ne)*y+he).close()),te=ie*.8,ne=.8,re=1,ae=.5;var De=new go.PathFigure(re*a+le,(ae-ne)*y+he,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a+le,ae*y+he,(re+te)*a+le,(ae-ne)*y+he,(re+ne)*a+le,(ae-te)*y+he)),De.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae+ne)*y+he,(re+ne)*a+le,(ae+te)*y+he,(re+te)*a+le,(ae+ne)*y+he)),De.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne-te*.5)*a+le,ae*y+he,re*a+le,(ae+ne)*y+he,(re+ne-te*.5)*a+le,(ae+te)*y+he)),De.add(new go.PathSegment(go.PathSegment.Bezier,re*a+le,(ae-ne)*y+he,(re+ne-te*.5)*a+le,(ae-te)*y+he,re*a+le,(ae-ne)*y+he).close()),b}),go.Shape.defineFigureGenerator("Email",function(oe,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 z=new go.PathFigure(0,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),b}),go.Shape.defineFigureGenerator("Ethernet",function(oe,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 z=new go.PathFigure(.1*a,y,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.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(oe,a,y){var b=new go.Geometry,E=ie*.4,z=.4,te=.5,ne=.5,re=x(),ae=x(),le=x(),he=x();Fe(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.5,re,re,ae,le,he);var ve=ee(ae.x,ae.y),Ce=new go.PathFigure(ae.x*a,ae.y*y,!0);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,le.x*a,le.y*y,he.x*a,he.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te+z)*a,(ne+E)*y,(te+E)*a,(ne+z)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,(te-E)*a,(ne+z)*y,(te-z)*a,(ne+E)*y)),Fe(te-z,ne,te-z,ne-E,te-E,ne-z,te,ne-z,.5,le,he,ae,re,re),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,le.x*a,le.y*y,he.x*a,he.y*y)),E=ie*.3,z=.3,Fe(te-z,ne,te-z,ne-E,te-E,ne-z,te,ne-z,.5,le,he,ae,re,re),Ce.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ne*y,he.x*a,he.y*y,le.x*a,le.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+z)*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ne*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),Fe(te,ne-z,te+E,ne-z,te+z,ne-E,te+z,ne,.5,re,re,ae,le,he),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,he.x*a,he.y*y,le.x*a,le.y*y).close());var Ce=new go.PathFigure(.45*a,0,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),de(re),de(ae),de(le),de(he),de(ve),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(oe,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 z(te,ne,re){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*a,(.8+re)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*a,(.5+re)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*a,(.5+re)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*a,(.8+re)*y).close())}return z(E,0,0),z(E,.4,0),z(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,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(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=.5,z=0,te=0,ne=E*ie,re=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,le=1,he=.5,ve=.5,Ce=0,be=new go.PathFigure(re*a,(1-ae)*y,!1);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,le*a,he*y,le*a,.7*y,le*a,he*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+z)*a,(Ce+z)*y,(.5+E+z)*a,(.5-ne+z)*y,(.5+ne+z)*a,(.5-E+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-ne+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-ne+te)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-E+z)*a,(.5+ne+te)*y,(.5-ne+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(a,y,!1);b.add(z);var te=new go.PathFigure(0,.5*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,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(oe,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(oe,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 z=new go.PathFigure(.45*a,.73*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,ne=.5,re=te,ae=Math.PI/4,le=4*(1-Math.cos(ae))/(3*Math.sin(ae)),he=le*.5,ve=te,Ce=te,be=le*ve,ye=le*Ce;z.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ve)*a,re*y,(ne-(be+ve)/2)*a,(re+(Ce+ye)/2)*y,(ne-ve)*a,(re+ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-Ce)*y,(ne-ve)*a,(re-ye)*y,(ne-be)*a,(re-Ce)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ve)*a,re*y,(ne+be)*a,(re-Ce)*y,(ne+ve)*a,(re-ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ne+ve)*a,(re+ye)*y,(ne+(be+ve)/2)*a,(re+(Ce+ye)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var De=new go.PathFigure(.2*a,y,!1);b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Oe=new go.PathFigure(.8*a,y,!1);return b.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,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 z=new go.PathFigure(.2*a,.2*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,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(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(a,y,!1);b.add(z);var te=new go.PathFigure(.1*a,y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Caution",function(oe,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 z=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*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(oe,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 z=new go.PathFigure(.475*a,.2*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*.5,te=new go.PathFigure(a,E*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+z)*y,(E+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-z)*a,y,0,(E+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-z)*y,(E-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+z)*a,0,a,(E-z)*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(oe,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 z=new go.PathFigure(0,.15*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.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(oe,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 z=new go.PathFigure(0,.2*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Component",function(oe,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 z=new go.PathFigure(0,.2*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,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 z=new go.PathFigure(.15*a,.6*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,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(oe,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(oe,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(oe,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 z=new go.PathFigure(a,.8*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,ne=ie*.1,re=.2,ae=.9,le=new go.PathFigure((re-te)*a,ae*y,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-te)*y,(re-te)*a,(ae-ne)*y,(re-ne)*a,(ae-te)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ae*y,(re+ne)*a,(ae-te)*y,(re+te)*a,(ae-ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae+te)*y,(re+te)*a,(ae+ne)*y,(re+ne)*a,(ae+te)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ae*y,(re-ne)*a,(ae+te)*y,(re-te)*a,(ae+ne)*y).close()),te=.1,ne=ie*.1,re=.8,ae=.9;var he=new go.PathFigure((re-te)*a,ae*y,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-te)*y,(re-te)*a,(ae-ne)*y,(re-ne)*a,(ae-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ae*y,(re+ne)*a,(ae-te)*y,(re+te)*a,(ae-ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae+te)*y,(re+te)*a,(ae+ne)*y,(re+ne)*a,(ae+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ae*y,(re-ne)*a,(ae+te)*y,(re-te)*a,(ae+ne)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,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(oe,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 z=new go.PathFigure(0,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.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 re=.1,ae=ie*.1,le=.1,he=.9,ve=new go.PathFigure((le-re)*a,he*y,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-re)*y,(le-re)*a,(he-ae)*y,(le-ae)*a,(he-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,he*y,(le+ae)*a,(he-re)*y,(le+re)*a,(he-ae)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he+re)*y,(le+re)*a,(he+ae)*y,(le+ae)*a,(he+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,he*y,(le-ae)*a,(he+re)*y,(le-re)*a,(he+ae)*y)),re=.1,ae=ie*.1,le=.4,he=.9;var Ce=new go.PathFigure((le-re)*a,he*y,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-re)*y,(le-re)*a,(he-ae)*y,(le-ae)*a,(he-re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,he*y,(le+ae)*a,(he-re)*y,(le+re)*a,(he-ae)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he+re)*y,(le+re)*a,(he+ae)*y,(le+ae)*a,(he+re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,he*y,(le-ae)*a,(he+re)*y,(le-re)*a,(he+ae)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(oe,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 z=new go.PathFigure(.45*a,.7*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var le=.05,he=ie*.05,ve=.175,Ce=.95,ne=new go.PathFigure((ve-le)*a,Ce*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce-le)*y,(ve-le)*a,(Ce-he)*y,(ve-he)*a,(Ce-le)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,Ce*y,(ve+he)*a,(Ce-le)*y,(ve+le)*a,(Ce-he)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce+le)*y,(ve+le)*a,(Ce+he)*y,(ve+he)*a,(Ce+le)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,Ce*y,(ve-he)*a,(Ce+le)*y,(ve-le)*a,(Ce+he)*y));var le=.05,he=ie*.05,ve=.375,Ce=.95,re=new go.PathFigure((ve-le)*a,Ce*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce-le)*y,(ve-le)*a,(Ce-he)*y,(ve-he)*a,(Ce-le)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,Ce*y,(ve+he)*a,(Ce-le)*y,(ve+le)*a,(Ce-he)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce+le)*y,(ve+le)*a,(Ce+he)*y,(ve+he)*a,(Ce+le)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,Ce*y,(ve-he)*a,(Ce+le)*y,(ve-le)*a,(Ce+he)*y));var le=.05,he=ie*.05,ve=.625,Ce=.95,ae=new go.PathFigure((ve-le)*a,Ce*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce-le)*y,(ve-le)*a,(Ce-he)*y,(ve-he)*a,(Ce-le)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,Ce*y,(ve+he)*a,(Ce-le)*y,(ve+le)*a,(Ce-he)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce+le)*y,(ve+le)*a,(Ce+he)*y,(ve+he)*a,(Ce+le)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,Ce*y,(ve-he)*a,(Ce+le)*y,(ve-le)*a,(Ce+he)*y));var le=.05,he=ie*.05,ve=.825,Ce=.95,be=new go.PathFigure((ve-le)*a,Ce*y,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce-le)*y,(ve-le)*a,(Ce-he)*y,(ve-he)*a,(Ce-le)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,Ce*y,(ve+he)*a,(Ce-le)*y,(ve+le)*a,(Ce-he)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(Ce+le)*y,(ve+le)*a,(Ce+he)*y,(ve+he)*a,(Ce+le)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,Ce*y,(ve-he)*a,(Ce+le)*y,(ve-le)*a,(Ce+he)*y).close());var ye=new go.PathFigure(0,y,!1);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(oe,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 z=new go.PathFigure(0,.2*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ne=.05,re=ie*.05,ae=.35,le=.775,he=new go.PathFigure((ae-ne)*a,le*y,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-ne)*y,(ae-ne)*a,(le-re)*y,(ae-re)*a,(le-ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*a,le*y,(ae+re)*a,(le-ne)*y,(ae+ne)*a,(le-re)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le+ne)*y,(ae+ne)*a,(le+re)*y,(ae+re)*a,(le+ne)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*a,le*y,(ae-re)*a,(le+ne)*y,(ae-ne)*a,(le+re)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,a,y){var b=new go.Geometry,E=.3,z=ie*.3,te=.5,ne=.7,re=new go.PathFigure((te-E)*a,ne*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*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(oe,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(oe,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(oe,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 z=new go.PathFigure(0,.6*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b}),go.Shape.defineFigureGenerator("Delete",function(oe,a,y){var b=new go.Geometry,E=.5,z=ie*.5,te=.5,ne=.5,re=new go.PathFigure((te-E)*a,ne*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*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(oe,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(oe,a,y){var b=new go.Geometry,E=.5,z=ie*.5,te=.5,ne=.5,re=new go.PathFigure((te-E)*a,ne*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*y).close()),E=.05,z=ie*.05,te=.5,ne=.8;var ae=new go.PathFigure((te-E)*a,ne*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-E)*y,(te-E)*a,(ne-z)*y,(te-z)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,ne*y,(te+z)*a,(ne-E)*y,(te+E)*a,(ne-z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne+E)*y,(te+E)*a,(ne+z)*y,(te+z)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,ne*y,(te-z)*a,(ne+E)*y,(te-E)*a,(ne+z)*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(oe,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(oe,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 z=new go.PathFigure(.2*a,.5*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),b}),go.Shape.defineFigureGenerator("Unlocked",function(oe,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 z=new go.PathFigure(.2*a,.5*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),b}),go.Shape.defineFigureGenerator("Gear",function(oe,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(oe,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(oe,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(oe,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 z=new go.PathFigure(0,y*.6,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(oe,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(oe,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 z=new go.PathFigure(.126*a,.85*y,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.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 re=new go.PathFigure(.5*a,.1*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(oe,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(oe,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 z=new go.PathFigure(a*.204,y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.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 re=new go.PathFigure(a*.816,y,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),re.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(oe,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 z=new go.PathFigure(a*.055,.07*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.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 re=new go.PathFigure(a*1,0,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),re.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(oe,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(oe,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(oe,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 z=new go.PathFigure(0,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.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 re=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,a,y){var b=new go.Geometry,E=8,z=E*ie,te=new go.PathFigure(E,0,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,z,z,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 re=new go.PathFigure(a*.83,y*1,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),re.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(oe,a,y){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,z=y*.8,te=new go.Geometry,ne=new go.PathFigure(b,0,!0);return te.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,z-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,z,a,z-E,a-E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ne.add(new go.PathSegment(go.PathSegment.Line,b,z)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,E,z,0,z-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?(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,.8,-E,-E)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(oe,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 z=new go.PathFigure(a*1,y*.55,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(oe,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(oe,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 z=new go.PathFigure(a*.1,y*.2,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(oe,a,y){var b=new go.Geometry,E=15,z=E*ie,te=new go.PathFigure(a*.62,y*.475,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(b.spot1=new go.Spot(0,0,z,z),b.spot2=new go.Spot(1,1,-z,-z)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var z=.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-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var te=new go.PathFigure(a*.4,y*0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var z=.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-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(oe,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var z=.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-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var te=new go.PathFigure(a*.5,y*0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,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(oe,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 z=new go.PathFigure(a*.235,y*.28,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(oe,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")},61016: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 ct={},it="5.0",ee={},x=null,de=!1,pe=!1,Fe=null,xe=!1,ke=null,ie=null,Ue=0;Ue<arguments.length;Ue++){var Ie=arguments[Ue];if(Ie!==null)switch(typeof Ie){case"number":it=Ie.toFixed(1);break;case"string":Ie.match(new RegExp("^[0-9]\\.[0-9]+$"))?it=Ie:Fe=Ie;break;case"object":typeof Ie.is3D!="undefined"?x=Ie:ee=Ie;break;case"boolean":de=Ie,pe=!0;break}}x===null&&(x={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ee.material_id!==void 0&&!pe&&(de=!0)),Fe!==null&&ee.id===void 0&&(ee.id=Fe);var Te="",ze="",Be=!1,me=null,oe=null,a=null,y=!1,b=null,E=null,z=null,te=null,ne=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var re=function(at){return parseFloat(at)>4?parseFloat(at):5};ct.setHTML5Codebase=function(at,ht){ie=at,dt(at,ht)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(at,ht){var Bt=parseFloat(at);if(Bt!==NaN&&Bt<5){console.log("The GeoGebra HTML5 codebase version "+Bt+" is deprecated. Using version latest instead.");return}ke=at,ot(at,ht)},ct.getHTML5CodebaseVersion=function(){return oe},ct.getParameters=function(){return ee},ct.setFontsCSSURL=function(at){te=at},ct.setGiacJSURL=function(at){},ct.setJNLPFile=function(at){Te=at},ct.setJNLPBaseDir=function(at){},ct.inject=function(){function at(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ht="auto",Bt=ee.id,ut,wt=!1,Ht=0;Ht<arguments.length;Ht++){var Ge=arguments[Ht];typeof Ge=="string"?(Ge=Ge.toLowerCase(),Ge.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ht=Ge:Bt=arguments[Ht]):typeof Ge=="boolean"?wt=Ge:Ge instanceof HTMLElement&&(ut=Ge)}bn();function bn(){if(!xe){setTimeout(bn,200);return}ht=Ke(ht);var Dn=ut||document.getElementById(Bt);if(!Dn){console.log("possibly bug on ajax loading? ");return}if(ct.removeExistingApplet(Dn,!1),ee.width===void 0&&Dn.clientWidth&&(ee.width=Dn.clientWidth),ee.height===void 0&&Dn.clientHeight&&(ee.height=Dn.clientHeight),!(ee.width&&ee.height)&&ht==="html5"&&(delete ee.width,delete ee.height),me=ht,ht==="screenshot")Oe(Dn,ee);else{var Ct=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?Ct=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(Ct=(!ae()||at())&&le()),Ct?(me="screenshot",Le(Dn,ee,wt,ht)):De(Dn,ee,wt)}}};function ae(){try{return window.self!==window.top}catch(at){return!0}}function le(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ct.getViews=function(){return x},ct.isJavaInstalled=function(){return!1};var he=function(at){var ht=function(Ht){var Ge=JSON.parse(Ht),bn=function(Kt){return Kt.type=="G"||Kt.type=="E"},Dn=Ge.elements?Ge.elements.filter(bn)[0]:Ge;if(!Dn||!Dn.url){Bt();return}ee.fileName=Dn.url,ve(Dn.settings||{}),x.is3D=!0;var Ct="https://www.geogebra.org/images/";ct.setPreviewImage(b||Dn.previewUrl,Ct+"GeoGebra_loading.png",Ct+"applet_play.png"),at()},Bt=function(){ee.onError&&ee.onError(),$t("Error: Fetching material (id "+ee.material_id+") failed.",ee)},ut=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",wt="/materials/"+ee.material_id+"?scope=basic";Ce("https://"+ut+"/api/proxy.php?path="+encodeURIComponent(wt),ht,Bt)};function ve(at){var ht=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Bt){at[Bt]=!!at[Bt]}),ht.forEach(function(Bt){ee[Bt]===void 0&&at[Bt]!==void 0&&(ee[Bt]=at[Bt])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function Ce(at,ht,Bt){var ut=new XMLHttpRequest;ut.open("GET",at),ut.onload=function(){ht(ut.responseText)},ut.onerror=Bt,ut.send()}ct.isHTML5Installed=function(){return!0},ct.getLoadedAppletType=function(){return me},ct.setPreviewImage=function(at,ht,Bt){b=at,E=ht,z=Bt},ct.removeExistingApplet=function(at,ht){var Bt;typeof at=="string"&&(at=document.getElementById(at)),me=null;var ut=null;for(Bt=0;Bt<at.childNodes.length;Bt++){var wt=at.childNodes[Bt],Ht=wt.className;Ht==="applet_screenshot"?ht?(wt.style.display="block",me="screenshot"):wt.style.display="none":Ht!=="applet_scaler prerender"&&(at.removeChild(wt),ut=Ht&&Ht.indexOf("appletParameters")!=-1?wt.id:null,Bt--)}var Ge=ee.id!==void 0?ee.id:ut,bn=window[Ge];bn&&typeof bn.getBase64=="function"&&(bn.remove(),window[Ge]=null)},ct.refreshHitPoints=function(){if(re(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var at=ct.getAppletObject();return at&&typeof at.recalculateEnvironments=="function"?(at.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var at=ct.getAppletObject();return at&&typeof at.startAnimation=="function"?(at.startAnimation(),!0):!1},ct.stopAnimation=function(){var at=ct.getAppletObject();return at&&typeof at.stopAnimation=="function"?(at.stopAnimation(),!0):!1},ct.getAppletObject=function(){var at=ee.id!==void 0?ee.id:"ggbApplet";return window[at]},ct.resize=function(){};var be=function(at,ht,Bt){var ut=document.createElement("param");ut.setAttribute("name",ht),ut.setAttribute("value",Bt),at.appendChild(ut)},ye=function(at){return at&&at!=="false"},De=function(at,ht,Bt){re(oe)<=4.2&&(Bt=!0);var ut=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(ut=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var wt=document.createElement("div");wt.classList.add("appletParameters","notranslate");var Ht=ht.width,Ge=ht.height;if(ht.disableAutoScale=ht.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ht.disableAutoScale,ht.width!==void 0)if(re(oe)<=4.4)ye(ht.showToolBar)&&(ht.height-=7),ye(ht.showAlgebraInput)&&(ht.height-=37),ht.width<605&&ye(ht.showToolBar)&&(ht.width=605,Ht=605);else{var bn=100;(ye(ht.showToolBar)||ye(ht.showMenuBar))&&(ht.hasOwnProperty("customToolBar")&&(ht.customToolbar=ht.customToolBar),bn=ye(ht.showMenuBar)?245:155),Ht<bn&&(ht.width=bn,Ht=bn)}wt.style.border="none",wt.style.display="inline-block";for(var Dn in ht)ht.hasOwnProperty(Dn)&&Dn!=="appletOnLoad"&&wt.setAttribute("data-param-"+Dn,ht[Dn]);te&&wt.setAttribute("data-param-fontscssurl",te),ct.resize=function(){GGBAppletUtils.responsiveResize(at,ht)},window.addEventListener("resize",function(en){ct.resize()});var Ct=typeof ht.appletOnLoad=="function"?ht.appletOnLoad:function(){};if(!Bt&&ht.width!==void 0){ht.hasOwnProperty("showSplash")||wt.setAttribute("data-param-showSplash","false");var Kt=at.querySelector(".applet_scaler.prerender"),Ut=Kt!==null;if(Ut)var Rt=Kt.querySelector(".ggb_preview");else{var Rt=We(Ht,Ge,ht.borderColor,!1);Kt=document.createElement("div"),Kt.className="applet_scaler",Kt.style.position="relative",Kt.style.display="block",Kt.style.width=Ht+"px",Kt.style.height=Ge+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Kt,"66%"),re(oe)>=5?(ht.appletOnLoad=function(en){var Ve=at.querySelector(".ggb_preview");Ve&&Ve.parentNode.removeChild(Ve),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Kt),window.GGBT_wsf_view&&$(window).trigger("resize"),Ct(en)},Ut||Kt.appendChild(Rt)):wt.appendChild(Rt),Kt.appendChild(wt),Ut||at.appendChild(Kt),setTimeout(function(){ct.resize()},1)}else{var St=document.createElement("div");St.className="applet_scaler",St.style.position="relative",St.style.display="block",St.appendChild(wt),at.appendChild(St),ht.appletOnLoad=function(en){ct.resize(),Ct(en)}}function Ft(en,Ve){Ve&&typeof Ve.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(en,Ve.appletOnLoad):renderGGBElement(en),$t("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ve)}function Pt(en,Ve){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:en,params:Ve}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Re){Ft(Re.article,Re.params)}),html5AppletsToProcess=null)},re(oe)<5&&(en.className+=" geogebraweb")):Ft(en,Ve)}if(ut){scriptLoadStarted=!0;for(var st=0;st<wt.childNodes.length;st++){var Jt=wt.childNodes[st].tagName;Jt==="TABLE"&&(wt.removeChild(wt.childNodes[st]),st--)}if(ggbHTML5LoadedScript!==null){var Ot=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ot!=null&&Ot.parentNode.removeChild(Ot)}var xt=document.createElement("script"),mn=function(){Pt(wt,ht)};xt.src=ze+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=oe,ggbHTML5LoadedScript=xt.src,$t("GeoGebra HTML5 codebase loaded: '"+ze+"'.",ht),!ie&&(!ke||ke=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),mn()):ze.requirejs?__webpack_require__.e(12).then(function(){var en=[__webpack_require__(12)];mn.apply(null,en)}.bind(this)).catch(__webpack_require__.oe):(xt.onload=mn,at.appendChild(xt))}else Pt(wt,ht);ht.height=Ge,ht.width=Ht},Oe=function(at,ht,Bt){var ut=We(ht.width,ht.height,ht.borderColor,Bt),wt=document.createElement("div");wt.style.position="relative",wt.style.display="block",wt.style.width=ht.width+"px",wt.style.height=ht.height+"px",wt.className="applet_screenshot applet_scaler"+(Bt?" applet_screenshot_play":""),wt.appendChild(ut);var Ht=GGBAppletUtils.getScale(ht,at,Bt);Bt?(at.appendChild(je()),window.GGBT_wsf_view||(at.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(wt,"66%"),at.appendChild(wt),Ht!==1&&!isNaN(Ht)&&(GGBAppletUtils.scaleElement(wt,Ht),wt.style.width=ht.width+"px",wt.style.height=ht.height+"px",wt.parentNode.style.width=ht.width*Ht+"px",wt.parentNode.style.height=ht.height*Ht+"px"),ct.resize=function(){$e(at,ut,wt,Bt)},window.addEventListener("resize",function(Ge){ct.resize()}),ct.resize()};function $e(at,ht,Bt,ut){if(at.contains(ht)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(at.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(at)}var wt=GGBAppletUtils.getScale(ee,at,ut);Bt.parentNode!==null&&(!isNaN(wt)&&wt!==1?(GGBAppletUtils.scaleElement(Bt,wt),Bt.parentNode.style.width=ee.width*wt+"px",Bt.parentNode.style.height=ee.height*wt+"px"):(GGBAppletUtils.scaleElement(Bt,1),Bt.parentNode.style.width=ee.width+"px",Bt.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(at),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ct.onExitFullscreen=function(at,ht){ht.appendChild(at)};var Le=function(at,ht,Bt,ut){Oe(at,ht,!0);for(var wt=function(){var bn=[];for(Ge=0;Ge<at.childNodes.length;Ge++)bn.push(at.childNodes[Ge]);if(window.GGBT_wsf_view){var Dn=window.GGBT_wsf_view.renderFullScreen(at,ht.id),Ct=document.getElementById("fullscreencontainer"),Kt=jQuery(at).find(".fullscreencontent");Kt.length>0?(Dn.remove(),Kt.attr("id","fullscreencontent").show(),jQuery(Ct).append(Kt),window.dispatchEvent(new Event("resize"))):De(Dn,ht,!1),window.GGBT_wsf_view.launchFullScreen(Ct)}else me=ut,De(at,ht,!1);if(!window.GGBT_wsf_view)for(Ge=0;Ge<bn.length;Ge++)at.removeChild(bn[Ge])},Ht=at.getElementsByClassName("ggb_preview_play"),Ge=0;Ge<Ht.length;Ge++)Ht[Ge].addEventListener("click",wt,!1),Ht[Ge].addEventListener("ontouchstart",wt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(at),le()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},je=function(){var at=document.createElement("div");if(at.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ht='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Bt=document.createElement("style");Bt.styleSheet?Bt.styleSheet.cssText=ht:Bt.appendChild(document.createTextNode(ht)),document.getElementsByTagName("head")[0].appendChild(Bt)}return at},We=function(at,ht,Bt,ut){var wt=document.createElement("div");wt.className="ggb_preview",wt.style.position="absolute",wt.style.zIndex="90",wt.style.width=at-2+"px",wt.style.height=ht-2+"px",wt.style.top="0px",wt.style.left="0px",wt.style.overflow="hidden",wt.style.backgroundColor="white";var Ht="lightgrey";Bt!==void 0&&(Bt==="none"?Ht="transparent":Ht=Bt),wt.style.border="1px solid "+Ht;var Ge=document.createElement("img");if(Ge.style.position="relative",Ge.style.zIndex="1000",Ge.style.top="-1px",Ge.style.left="-1px",b!==null&&Ge.setAttribute("src",b),Ge.style.opacity=.7,E!==null){var bn,Dn,Ct;if(!ut){bn=document.createElement("img"),bn.style.position="absolute",bn.style.zIndex="1001",bn.style.opacity=1,Ge.style.opacity=.3,Dn=360,Dn>at/4*3&&(Dn=at/4*3),Ct=Dn/5.8,bn.setAttribute("src",E),bn.setAttribute("width",Dn),bn.setAttribute("height",Ct);var Kt=(at-Dn)/2,Ut=(ht-Ct)/2;bn.style.left=Kt+"px",bn.style.top=Ut+"px",wt.appendChild(bn)}}return wt.appendChild(Ge),wt},Ke=function(at){return at=at.toLowerCase(),at==="html5"||at==="screenshot"?at:"html5"},qe=["web","webSimple","web3d","tablet","tablet3d","phone"],ot=function(at,ht){if(oe=at,ht){dt(oe,!0);return}var Bt=!de;if(Bt){var ut=re(oe);!isNaN(ut)&&ut<4.4&&(Bt=!1)}var wt,Ht;window.location.protocol.substr(0,4)==="http"?wt=window.location.protocol:wt="http:";var Ge=oe.indexOf("//");Ge>0?Ht=oe:Ge===0?Ht=wt+oe:Ht="https://www.geogebra.org/apps/5.2.814.0/";for(var bn in qe)if(oe.slice(qe[bn].length*-1)===qe[bn]||oe.slice((qe[bn].length+1)*-1)===qe[bn]+"/"){dt(Ht,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Bt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!ye(ee.showToolBar)&&!ye(ee.showMenuBar)&&!ye(ee.showAlgebraInput)&&!ye(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?Ht+="webSimple/":Ht+="web3d/",dt(Ht,!1)},dt=function(at,ht){if(at.requirejs){ze=at;return}at.slice(-1)!=="/"&&(at+="/"),ze=at,ht===null&&(ht=at.indexOf("http")===-1),Be=ht,a="web.nocache.js",y=!1;var Bt=ze.split("/");Bt.length>1&&(!ht&&Bt[Bt.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):qe.indexOf(Bt[Bt.length-2])>=0&&(a=Bt[Bt.length-2]+".nocache.js")),Bt=at.split("/"),oe=Bt[Bt.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var ut=parseFloat(oe);ut!==NaN&&ut<5&&at.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ut+" is deprecated. Using version latest instead."),ot("5.0",ht))},$t=function(at,ht){window.console&&window.console.log&&(!ht||typeof ht.showLogging=="undefined"||ht.showLogging&&ht.showLogging!=="false")&&console.log(at)};ee.material_id!==void 0?he(gn):gn();function gn(){var at=it;ke!==null?at=ke:parseFloat(at)<5&&(at="5.0"),ot(at,!1),ie!==null&&dt(ie,Be),xe=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function it(xe,ke){ke!=1?(xe.style.transformOrigin="0% 0% 0px",xe.style.webkitTransformOrigin="0% 0% 0px",xe.style.transform="scale("+ke+","+ke+")",xe.style.webkitTransform="scale("+ke+","+ke+")",xe.style.maxWidth="initial",xe.querySelector(".ggb_preview")!==null&&(xe.querySelector(".ggb_preview").style.maxWidth="initial"),xe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(xe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),xe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(xe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(xe.style.transform="none",xe.style.webkitTransform="none")}function ee(xe,ke,ie,Ue,Ie,Te){var ze=null;if(Te!=null&&Te!="")for(var Be=xe.parentNode;Be!=null;)if((" "+Be.className+" ").indexOf(" "+Te+" ")>-1){ze=Be;break}else Be=Be.parentNode;var me=0,oe=0,a=0,y=0,b=0,E=0,z=0;if(ze)me=ze.offsetWidth,oe=Math.max(Ue?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(me=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),a=me):(me=window.innerWidth,oe=window.innerHeight,a=window.innerWidth),xe){var te=xe.getBoundingClientRect();te.left>0&&te.left<=me&&(Ie===void 0||!Ie)&&(document.dir==="rtl"?(b=me-te.width-te.left,E=a<=480?10:30):(E=te.left,b=a<=480?10:30),y=E+b)}if(xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=xe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return xe&&((ie===void 0||!ie)&&ke>0&&ke+y<me?me=ke:me-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie===void 0||!ie)&&(oe-=z)),{width:me,height:oe}}function x(xe,ke,ie,Ue,Ie){if(xe.isScreenshoGenerator)return 1;var Te=Ue!==void 0&&Ue,ze=xe.noScaleMargin!=null&&xe.noScaleMargin,Be=function(ne){return ne&&ne!=="false"},me=Be(xe.autoHeight),oe=ee(ke,xe.width,ie,me,Te&&window.GGBT_wsf_view||ze,Ie),a=parseInt(oe.width),y=xe.width,b=xe.height;if(y===void 0){var E=ke.querySelector(".appletParameters");E&&(y=E.offsetWidth,b=E.offsetHeight)}var z=a/y,te=Te?1:oe.height/b;return ie!==void 0&&!ie&&(z=Math.min(1,z),te=Math.min(1,te)),Math.min(z,te)}function de(xe,ke,ie){var Ue=1,Ie,Te=!1;if(xe.hasOwnProperty("allowUpscale")&&(Te=xe.allowUpscale),xe.hasOwnProperty("scale")&&(Ue=parseFloat(xe.scale),(isNaN(Ue)||Ue===null||Ue===0)&&(Ue=1),Ue>1&&(Te=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Te=!0),!(xe.hasOwnProperty("disableAutoScale")&&xe.disableAutoScale))Ie=x(xe,ke,Te,ie,xe.scaleContainerClass);else return Ue;return Te&&(!xe.hasOwnProperty("scale")||Ue===1)?Ie:Math.min(Ue,Ie)}function pe(xe){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),Ue=xe.getBoundingClientRect(),Ie=(ke-Ue.width)/2,Te=(ie-Ue.height)/2;Te<0&&(Te=0),xe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ie<40?xe.style.left="40px":xe.style.left=Ie+"px",xe.style.top=Te+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Te<40?xe.style.top="40px":xe.style.top=Te+"px",xe.style.left=Ie+"px")}function Fe(xe,ke){var ie=xe.querySelector(".appletParameters");if(ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(xe)}if(ie.parentElement&&/fullscreen/.test(ie.parentElement.className))return;var Ue=de(ke,xe);ct()&&ie.setAttribute("data-param-scale",Ue);for(var Ie=null,Te=0;Te<xe.childNodes.length;Te++)if(xe.childNodes[Te].className!==void 0&&xe.childNodes[Te].className.match(/^applet_scaler/)){Ie=xe.childNodes[Te];break}if(Ie!==null&&Ie.querySelector(".noscale")!==null)return;var ze=ke.id!==void 0?ke.id:"ggbApplet",Be=window[ze];(Be==null||!Be.recalculateEnvironments)&&Ie!==null&&!Ie.className.match(/fullscreen/)&&(Ie.parentNode.style.transform="",!isNaN(Ue)&&Ue!==1?(Ie.parentNode.style.width=ke.width*Ue+"px",Ie.parentNode.style.height=ke.height*Ue+"px",it(Ie,Ue)):(it(Ie,1),Ie.parentNode.style.width=ke.width+"px",Ie.parentNode.style.height=ke.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&pe(xe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ie).parents(".content-added-content"))}}return{responsiveResize:Fe,isFlexibleWorksheetEditor:ct,positionCenter:pe,getScale:de,scaleElement:it}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var ct=n.location.search;return ct.indexOf(J)!=-1||ct.indexOf(K)!=-1}function q(ct,it){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(ct){var it=s[L].bindings;s[L].bindings=function(){for(var ee=it?it():{},x=ct[webModule.__softPermutationId],de=O;de<x.length;de++){var pe=x[de];ee[pe[O]]=pe[P]}return ee}};var t;function u(){return v(),t}function v(){if(!t){var ct=o.createElement(Q);if(ct.id=L,ct.style.cssText=R+S,ct.tabIndex=-1,o.body.appendChild(ct),t=ct.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var it=document.compatMode==U?V:W;t.write(it+X),t.close()}}}function w(ct){function it(x){function de(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var pe=de();if(pe){x();return}function Fe(){if(!pe){if(!de())return;pe=!0,x(),o.removeEventListener&&o.removeEventListener(Z,Fe,!1),xe&&clearInterval(xe)}}o.addEventListener&&o.addEventListener(Z,Fe,!1);var xe=setInterval(function(){Fe()},$)}function ee(x){var de=u(),pe=de.body,Fe=de.createElement(_);Fe.language=ab,Fe.crossOrigin=W,Fe.src=x,webModule.__errFn&&(Fe.onerror=function(){webModule.__errFn(L,new Error(bb+x))}),pe.appendChild(Fe)}it(function(){ee(ct)})}webModule.__startLoadingFragment=function(ct){return C(ct)},webModule.__installRunAsyncCode=function(ct){var it=u(),ee=it.body,x=it.createElement(_);x.language=ab,x.text=ct,ee.appendChild(x),ee.removeChild(x)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ct){var it=c[ct];return it==null?null:it},r=d,webModule.__errFn=e}function B(){function ct(xe){var ke=xe.lastIndexOf(rb);ke==-1&&(ke=xe.length);var ie=xe.indexOf(sb);ie==-1&&(ie=xe.length);var Ue=xe.lastIndexOf(tb,Math.min(ie,ke));return Ue>=O?xe.substring(O,Ue+P):W}function it(xe){if(!xe.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=xe+vb,xe=ct(ke.src)}return xe}function ee(){var xe=__gwt_getMetaProperty(wb);return xe!=null?xe:W}function x(){for(var xe=o.getElementsByTagName(_),ke=O;ke<xe.length;++ke)if(xe[ke].src.indexOf(xb)!=-1)return ct(xe[ke].src);return W}function de(){var xe=o.getElementsByTagName(yb);return xe.length>O?xe[xe.length-P].href:W}function pe(){var xe=o.location;return xe.href==xe.protocol+zb+xe.host+xe.pathname+xe.search+xe.hash}var Fe=ee();return Fe==W&&(Fe=x()),Fe==W&&(Fe=de()),Fe==W&&pe()&&(Fe=ct(o.location.href)),Fe=it(Fe),Fe}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],it=O,ee=[],x=[];function de(xe){var ke=x[xe](),ie=ee[xe];if(ke in ie)return ke;var Ue=[];for(var Ie in ie)Ue[ie[Ie]]=Ie;throw r&&r(xe,Ue,ke),null}if(__gwt_isKnownPropertyValue=function(xe,ke){return ke in ee[xe]},webModule.__getPropMap=function(){var xe={};for(var ke in ee)ee.hasOwnProperty(ke)&&(xe[ke]=de(ke));return xe},webModule.__computePropValue=de,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var pe;try{pe=Cb;var Fe=pe.indexOf(Db);Fe!=-1&&(it=parseInt(pe.substring(Fe+P),$),pe=pe.substring(O,Fe))}catch(xe){}return webModule.__softPermutationId=it,C(pe+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})()},15476:function(ct,it,ee){"use strict";ee.d(it,{Ax:function(){return Fe},Ds:function(){return xe},KI:function(){return ie},SI:function(){return pe},f1:function(){return de}});var x=ee(11320);function de(Ue){let Ie=!0;if(Ue.length>0){for(let Te=0;Te<Ue.length;Te++)if(Ue[Te].compile_success==0||!Ue[Te].compile_success){Ie=!1;break}}else Ie=!1;return Ie}function pe(Ue,Ie=""){let Te=[];for(let ze=0;ze<Ue.length;ze++){let Be=Ue[ze],me=Ie?`${Ie}/${Be.name}`:`${Be.name}`;Te.push({title:Be.name,type:Be.type,isLeaf:Be.type!=="tree",key:me})}return Te}function Fe(Ue,Ie,Te){for(let ze=0;ze<Ue.length;ze++){let Be=Ue[ze];if(Be.key===Ie){Be.children=Te;break}Be.children&&Fe(Be.children,Ie,Te)}return Ue}function xe(Ue,Ie,Te){let ze;return function(){let Be=this,me=arguments,oe=function(){ze=null,Te||Ue.apply(Be,me)},a=Te&&!ze;clearTimeout(ze),ze=setTimeout(oe,Ie),a&&Ue.apply(Be,me)}}const ke=!0,ie=x.Z.API_SERVER},86169:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return z}});var x=ee(67294),de=ee(22150),pe=ee(2453),Fe=ee(14446),xe=ee(34336),ke=ee(69677),ie=ee(9430),Ue=ee(71230),Ie=ee(15746),Te=ee(27484),ze=ee.n(Te),Be=ee(28706),me=ee(35973),oe={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},a=ee(89779),y=ee(17998),b=(te,ne,re)=>new Promise((ae,le)=>{var he=be=>{try{Ce(re.next(be))}catch(ye){le(ye)}},ve=be=>{try{Ce(re.throw(be))}catch(ye){le(ye)}},Ce=be=>be.done?ae(be.value):Promise.resolve(be.value).then(he,ve);Ce((re=re.apply(te,ne)).next())});const E=({dispatch:te,courseEndTime:ne,classroomList:re,successCallback:ae=()=>{},visible:le,homeworkIds:he,courseId:ve,isBatch:Ce,shixunHomeworks:be})=>{const[ye]=de.default.useForm(),[De,Oe]=(0,x.useState)(!1),[$e,Le]=(0,x.useState)(!1),[je,We]=(0,x.useState)(!1),[Ke,qe]=(0,x.useState)([]),[ot,dt]=(0,x.useState)([]),[$t,gn]=(0,x.useState)([]),[at,ht]=(0,x.useState)([]),[Bt,ut]=(0,x.useState)([]),[wt,Ht]=(0,x.useState)([]),[Ge,bn]=(0,x.useState)([]),[Dn,Ct]=(0,x.useState)([]),[Kt,Ut]=(0,x.useState)([]);(0,x.useEffect)(()=>{le?Rt():Ft()},[le]);const Rt=()=>b(void 0,null,function*(){Oe(!0);const Pt=yield(0,a.oR)(he[0],{course_id:ve});We(Pt.no_group),Ce?(bn(Pt.all_course_groups),Ct(Pt.all_course_groups)):(ht(Pt.late_course_groups),ut(Pt.late_course_groups),qe(Pt.submit_course_groups),dt(Pt.submit_course_groups)),Oe(!1),ye.setFieldsValue({end_time:ze()()})}),St=()=>b(void 0,null,function*(){const Pt=ye.getFieldsValue(),st=ze()(Pt.end_time).format("YYYY-MM-DD HH:mm");if((Ce?Kt.length===0:$t.length===0&&wt.length===0)&&!je){pe.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}Le(!0);const Ot=yield(0,a.Mc)(ve,{no_group:je,homework_ids:he,group_ids:Ce?Kt:$t,end_time:st,late_group_ids:Ce?Kt:wt});Le(!1),Ot.status===0&&(Ft(),pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),ae(),te({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),Ft=()=>{gn([]),Ht([]),dt([]),ut([])};return x.createElement(Fe.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:oe.modalWrapper,width:Ce||je?520:760,open:le,confirmLoading:$e,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>St(),onCancel:()=>{Ft(),te({type:"classroomList/setActionTabs",payload:{}})}},x.createElement("div",{className:oe.tips},x.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),x.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")),x.createElement(de.default,{form:ye,layout:"vertical"},x.createElement(de.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},x.createElement(xe.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,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!je&&x.createElement(x.Fragment,null,Ce?x.createElement("div",null,x.createElement(ke.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:Pt=>{Ct(Ge.filter(st=>st.name.indexOf(Pt.target.value)>-1))}}),x.createElement(ie.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:oe.antdTable,rowSelection:{type:"checkbox",onChange:Pt=>{Ut(Pt)}},rowKey:"id",pagination:!1,dataSource:Dn,loading:De,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):x.createElement(Ue.Z,{gutter:24},x.createElement(Ie.Z,{span:14},x.createElement("div",{className:oe.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),x.createElement(ke.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:Pt=>{dt(Ke.filter(st=>st.name.indexOf(Pt.target.value)>-1))}}),x.createElement("div",{className:oe.tableWrapper},x.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:oe.antdTable,rowSelection:{type:"checkbox",onChange:Pt=>{gn(Pt)}},rowKey:"id",pagination:!1,dataSource:ot,loading:De,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),x.createElement(Ie.Z,{flex:10,style:{maxWidth:"280px"}},x.createElement("div",{className:oe.homeworkType},"\u8865\u4EA4\u622A\u6B62"),x.createElement(ke.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:Pt=>{ut(at.filter(st=>st.name.indexOf(Pt.target.value)>-1))}}),x.createElement("div",{className:oe.tableWrapper},x.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:oe.antdTable,rowSelection:{type:"checkbox",onChange:Pt=>{Ht(Pt)}},rowKey:"id",pagination:!1,loading:De,dataSource:Bt,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var z=(0,me.connect)(({shixunHomeworks:te,classroomList:ne})=>({shixunHomeworks:te,classroomList:ne}))(E)},63205:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ze}});var x=ee(67294),de={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},pe=ee(94184),Fe=ee.n(pe),xe=ee(57953),ke=ee(15979),ie=ee(33170),Ue=ee(28706),Ie=(Be,me,oe)=>new Promise((a,y)=>{var b=te=>{try{z(oe.next(te))}catch(ne){y(ne)}},E=te=>{try{z(oe.throw(te))}catch(ne){y(ne)}},z=te=>te.done?a(te.value):Promise.resolve(te.value).then(b,E);z((oe=oe.apply(Be,me)).next())}),ze=({data:Be,className:me,fullWidth:oe,style:a={},onClose:y,onOk:b,showFullTools:E,noAssociationId:z})=>{const te=(0,x.useRef)(null),ne=(0,x.useRef)(null),re=(0,x.useRef)(null),ae=(0,x.useRef)(null),[le,he]=(0,x.useState)(!1),[ve,Ce]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>{re.current||(re.current=document.createElement("style"),document.head.appendChild(re.current)),Be!=null&&Be.visible?(document.body.setAttribute("data-custom","y-hidden"),re.current.innerHTML=" html { overflow-y: hidden; }",Be!=null&&Be.src&&be()):(document.body.removeAttribute("data-custom"),re.current&&(document.head.removeChild(re.current),re.current=null))},[Be==null?void 0:Be.visible]);const be=()=>Ie(void 0,null,function*(){he(!0),Ce("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Le=yield(0,Ue.ZJ)(Be==null?void 0:Be.src);te.current.src="",te.current.src=Le,te.current.onload=function(){$e()},he(!1),Ce("")}),ye=()=>{document.body.removeAttribute("data-custom"),re.current.innerHTML=" ",y()},De=Le=>Ie(void 0,null,function*(){he(!0),Ce("\u6B63\u5728\u4FDD\u5B58\u4E2D");const je=yield(0,ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Be.title,file:Le.dataUrl}});je!=null&&je.id&&!z?(yield(0,ie.ZP)(`/api/attachments/${Be.id}/add_subitem.json`,{method:"post",body:{subitem_id:je==null?void 0:je.id,settings:JSON.stringify(Le.state)}})).status===0&&b():je!=null&&je.id&&b(je),document.body.removeAttribute("data-custom"),re.current.innerHTML=" ",he(!1),Ce("")}),Oe=()=>{const Le=document.querySelector('a[href="https://markerjs.com/"]');Le&&Le.parentNode&&(Le.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(We=>{const Ke=document.querySelector(We.name);Ke&&Ke.setAttribute("title",We.title)})},$e=()=>{ne.current=new ke.hP(te.current),ne.current.targetRoot=ae.current,ne.current.addEventListener("render",De),ne.current.addEventListener("beforeclose",ye),E&&(ne.current.availableMarkerTypes=ne.current.ALL_MARKER_TYPES,ne.current.uiStyleSettings.redoButtonVisible=!0,ne.current.uiStyleSettings.notesButtonVisible=!0,ne.current.uiStyleSettings.zoomButtonVisible=!0,ne.current.uiStyleSettings.zoomOutButtonVisible=!0,ne.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ne.current.uiStyleSettings,ne.current.show(),Be!=null&&Be.snapshotData&&ne.current.restoreState(Be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Oe()},300)};return x.createElement(x.Fragment,null,(Be==null?void 0:Be.visible)&&x.createElement(xe.Z,{spinning:le,tip:ve,style:{position:"absolute"}},x.createElement("div",{ref:ae,className:Fe()(de.imageDimensions,me,oe?de.fullWidth:""),style:a},x.createElement("img",{className:de.img,ref:te}))))}},36527:function(ct,it,ee){"use strict";var x=ee(67294),de=ee(71230),pe=ee(15746),Fe=ee(66368),xe=ee(71577),ke=ee(85725),ie=ee(71736),Ue=ee(84279),Ie=ee(67294);const Te=(0,x.forwardRef)(({callback:ze,showSaveButton:Be,value:me=""},oe)=>{const a=(0,x.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+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ie.createElement(de.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((ne,re)=>Ie.createElement(pe.Z,{flex:"110px",className:ie.Z.item},Ie.createElement("div",null,Ie.createElement(ke.Z,{value:`$$${ne.value}$$`}),ne.name),Ie.createElement("div",{className:ie.Z.children},ne.children.map((ae,le)=>Ie.createElement("div",{key:le},Ie.createElement("h1",null,ae.name),Ie.createElement(de.Z,{gutter:[10,10]},ae.data.map((he,ve)=>Ie.createElement(pe.Z,{key:ve,onClick:()=>E(he),className:ie.Z.diamond},Ie.createElement(ke.Z,{value:"`$$"+he.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ie.createElement(de.Z,{className:ie.Z.lists,gutter:[10,10]},b.map((ne,re)=>Ie.createElement(pe.Z,{flex:"110px",className:ie.Z.item},Ie.createElement("div",null,Ie.createElement(ke.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),Ie.createElement("div",{className:ie.Z.children},ne.children.map((ae,le)=>Ie.createElement("div",{key:le},ae.name&&Ie.createElement("h1",null,ae.name),Ie.createElement(de.Z,{gutter:[10,10]},ae.data.map((he,ve)=>Ie.createElement(pe.Z,{key:ve,onClick:()=>E(he),className:ie.Z.diamond},Ie.createElement(ke.Z,{value:"`$$"+he.value+"$$`"}))))))))))}],te=()=>{var ne=document.createElement("div");ne.innerHTML=a.current.getValue();var re=ne.innerText;return ze&&ze(re),re};return(0,x.useImperativeHandle)(oe,()=>({getData:te})),Ie.createElement("div",{className:ie.Z.mathWrap},Ie.createElement(Fe.default,{defaultActiveKey:"1",items:z}),Ie.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}},me||""),Be&&Ie.createElement("div",{className:ie.Z.button},Ie.createElement(xe.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});it.Z=Te},39717:function(ct,it,ee){"use strict";ee.d(it,{Q:function(){return ke}});var x=ee(67294),de=ee(11713),pe=ee(78045),Fe=ee(31795),xe=ee(67294),ke=(Ue=>(Ue[Ue.Number=1]="Number",Ue[Ue.Percent=2]="Percent",Ue))(ke||{});const ie=({value:Ue,onChange:Ie,disabled:Te,hidePercentOption:ze=!1,percentType:Be="select"})=>{const me=(0,x.useMemo)(()=>ze?1:2,[ze]),[oe,a]=(0,x.useState)(me);console.log(oe);const y=E=>Ue.type===1?`${E}\u5206`:`${E}%`,b=(0,x.useCallback)(E=>{if(oe===1){const z=E.replace("\u5206","");return isNaN(parseInt(z,10))?0:z}else return E.replace("%","")},[oe]);return(0,x.useEffect)(()=>{a(Ue.type)},[Ue]),xe.createElement("div",{style:{display:"flex",alignItems:"center"}},Be=="select"&&xe.createElement(de.default,{size:"large",onChange:E=>{a(E),Ie({type:E,inputValue:E===1?5:20})},value:oe||me,style:{width:100},options:ze?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Te}),Be=="radio"&&xe.createElement(pe.ZP.Group,{size:"large",onChange:E=>{const z=E.target.value;a(z),Ie({type:z,inputValue:z===1?5:20})},value:oe||me,disabled:Te},!ze&&xe.createElement(pe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),xe.createElement(pe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Be=="radio"&&xe.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Ue.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),xe.createElement(Fe.Z,{size:"large",disabled:Te,value:Ue.inputValue,style:{width:"120px"},parser:b,addonAfter:Ue.type===1?"\u5206":"%",max:oe===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:E=>{Ie({type:oe,inputValue:E})}}),Be=="radio"&&Ue.type==2&&xe.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};it.Z=ie},96332:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return Ue}});var x=ee(67294),de={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"},pe=ee(14446),Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiY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>{try{y(ze.throw(b))}catch(E){me(E)}},y=b=>b.done?Be(b.value):Promise.resolve(b.value).then(oe,a);y((ze=ze.apply(Ie,Te)).next())}),Ue=({type:Ie,resdata:Te,onok:ze,oktext:Be,okloading:me})=>{const[oe,a]=(0,x.useState)(!1),{can_copy_list:y,can_copy_num:b,challenge_type:E,course_data_list:z,no_copy_list:te,no_copy_num:ne,no_use_list:re,no_use_num:ae,repeat_shixun_num:le,student_count:he,total_num:ve,use_num:Ce}=Te;let be=b>0||Ie==="exercise";(0,x.useEffect)(()=>{(Te==null?void 0:Te.student_count)>0&&a(!0)},[Te]),console.log("---11",me),(0,x.useEffect)(()=>{me||a(!1)},[me]);const ye=()=>{if(Ie==="exercise"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.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(Ie==="exercise"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\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",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="shixun"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="shixun"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\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",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="subject"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="subject"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",x.createElement("span",{className:de.orangeColor},he)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",x.createElement("span",{className:de.orangeColor},Ce)," \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",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="exercisepush")return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",x.createElement("span",{className:de.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(Ie==="shixunpush"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:de.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="shixunpush"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:de.orangeColor},he),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",x.createElement("span",{className:de.orangeColor},Ce),"\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",x.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},De=()=>{if(Ie==="exercise"||Ie==="subject"||Ie==="exercisepush"||Ie==="shixunpush")return x.createElement("div",{style:{marginTop:20}},ne>0&&x.createElement("div",null,x.createElement("span",{className:de.flex},x.createElement("img",{src:xe,style:{width:14}}),x.createElement("span",{className:de.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:de.statusbody},Ie==="exercise"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:de.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"),(Ie==="subject"||Ie==="exercisepush")&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",be&&x.createElement("span",{className:de.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"),Ie==="shixunpush"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",be&&x.createElement("span",{className:de.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"),x.createElement("div",null,te==null?void 0:te.map((Oe,$e)=>x.createElement("a",{href:`/shixuns/${Oe.identifier}/challenges`,target:"_blank"},"\u300A",Oe==null?void 0:Oe.name,"\u300B",$e+1!==ne&&"\u3001"))))),b>0&&x.createElement("div",{style:{marginTop:20}},x.createElement("span",{className:de.flex},x.createElement("img",{src:Fe,style:{width:14}}),x.createElement("span",{className:de.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:de.statusbody},Ie==="exercise"&&x.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"),(Ie==="subject"||Ie==="exercisepush")&&x.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"),Ie==="shixunpush"&&x.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"),x.createElement("div",null,y==null?void 0:y.map((Oe,$e)=>x.createElement("a",{href:`/shixuns/${Oe.identifier}/challenges`,target:"_blank"},"\u300A",Oe==null?void 0:Oe.name,"\u300B",$e+1!==b&&"\u3001"))))));if(Ie==="shixun")return x.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 x.createElement(pe.default,{open:oe,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!be&&"none"}},zIndex:1003,confirmLoading:me,okText:be?Be:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){be?yield ze([...y,...re]):a(!1)})},x.createElement("div",{style:{maxHeight:600,overflow:"auto"}},ye(),De()))}},57444:function(ct,it,ee){"use strict";ee.d(it,{h:function(){return ne}});var x=ee(67294),de=ee(11713),pe=ee(22150),Fe=ee(71577),xe=ee(4631),ke=ee.n(xe),ie=ee(71749),Ue=ee(30483),Ie=Object.defineProperty,Te=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,a=(re,ae,le)=>ae in re?Ie(re,ae,{enumerable:!0,configurable:!0,writable:!0,value:le}):re[ae]=le,y=(re,ae)=>{for(var le in ae||(ae={}))me.call(ae,le)&&a(re,le,ae[le]);if(Be)for(var le of Be(ae))oe.call(ae,le)&&a(re,le,ae[le]);return re},b=(re,ae)=>Te(re,ze(ae));const E=de.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={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"]};it.Z=({callback:re,onCancel:ae})=>{const[le,he]=(0,x.useState)("python");function ve(be){he(te[be][1])}function Ce(be){re(be)}return x.createElement(pe.default,b(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ce,style:{width:500}}),x.createElement(pe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(de.default,{getPopupContainer:be=>be.parentNode,onChange:ve},Object.keys(te).map(be=>x.createElement(E,{key:be,value:be},te[be][0])))),x.createElement(pe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(ne,{mode:le})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Fe.ZP,{type:"ghost",onClick:ae},"\u53D6\u6D88")))};function ne({value:re,onChange:ae,mode:le,options:he={}}){const ve=(0,x.useRef)(),[Ce,be]=(0,x.useState)();return(0,x.useEffect)(()=>{if(Ce){let ye=function(De){const Oe=De.getValue();ae&&ae(Oe)};return Ce.on("change",ye),()=>{Ce.off("change",ye)}}},[Ce,ae]),(0,x.useEffect)(()=>{Ce&&Ce.setOption("mode",le)},[Ce,le]),(0,x.useEffect)(()=>{Ce&&(re!==Ce.getValue()||re==="")&&setTimeout(()=>{Ce.setValue(re||"")},300)},[Ce,re]),(0,x.useEffect)(()=>{if(ve.current&&!Ce){const ye=ke().fromTextArea(ve.current,y({mode:le,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},he));be(ye)}},[ve.current,Ce]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:ve}))}},35567:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return La}});var x=ee(67294),de=ee(4631),pe=ee.n(de),Fe=ee(91033),xe=ee(71749),ke=ee(57341),ie=ee(82801),Ue=ee(88386),Ie=ee(49047),Te=ee(80785),ze=ee(85725),Be=({value:Je="",className:Dt,showTextOnly:Et,showLines:Rn,style:vn={}})=>{const Un=(0,x.useMemo)(()=>"",[Je]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:Un}}))},me=ee(67294),oe=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Je,Dt,Et)=>Dt in Je?oe(Je,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Je[Dt]=Et,ne=(Je,Dt)=>{for(var Et in Dt||(Dt={}))E.call(Dt,Et)&&te(Je,Et,Dt[Et]);if(b)for(var Et of b(Dt))z.call(Dt,Et)&&te(Je,Et,Dt[Et]);return Je},re=(Je,Dt)=>a(Je,y(Dt));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 le({onActionCallback:Je,title:Dt,icon:Et,actionName:Rn,className:vn="",children:Un}){function $r(){Je(Rn)}return me.createElement("a",{title:Dt,className:vn,onClick:$r},me.createElement("i",{className:`${Et}`}),Un)}var he=({watch:Je,showNullButton:Dt,showNullProgramButton:Et,onActionCallback:Rn,fullScreen:vn,insertTemp:Un,hidetoolBar:$r,extraUse:Ta})=>{const Cr=[...ae,{title:`${Je?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Je?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return me.createElement("ul",{className:"markdown-toolbar-container"},!$r&&Cr.map((_r,co)=>me.createElement("li",{key:co},_r.actionName?me.createElement(le,re(ne({},_r),{onActionCallback:Rn})):me.createElement("span",{className:"v-line"}))),Dt?me.createElement("li",null,me.createElement(le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Rn},me.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Et?me.createElement(me.Fragment,null,me.createElement("li",null,me.createElement(le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Rn},me.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),me.createElement("li",null,me.createElement(le,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Rn},me.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Un&&me.createElement("li",null,me.createElement(le,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Un}`,onActionCallback:Rn},me.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ta&&me.createElement("li",null,Ta),me.createElement("li",{className:"btn-full-screen"},me.createElement(le,{icon:`${vn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:vn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Rn})))},ve=ee(76621),Ce=ee(22150),be=ee(69677),ye=ee(71577),De=Object.defineProperty,Oe=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Ke=(Je,Dt,Et)=>Dt in Je?De(Je,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Je[Dt]=Et,qe=(Je,Dt)=>{for(var Et in Dt||(Dt={}))je.call(Dt,Et)&&Ke(Je,Et,Dt[Et]);if(Le)for(var Et of Le(Dt))We.call(Dt,Et)&&Ke(Je,Et,Dt[Et]);return Je},ot=(Je,Dt)=>Oe(Je,$e(Dt));const dt={labelCol:{span:4},wrapperCol:{span:20}};var $t=({callback:Je,onCancel:Dt})=>{function Et(Rn){Je(Rn)}return x.createElement(Ce.default,ot(qe({},dt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Et,style:{width:500}}),x.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(be.default,null)),x.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(be.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ye.ZP,{type:"ghost",onClick:Dt},"\u53D6\u6D88")))},gn=ee(57444),at=ee(70859),ht=ee(14446),Bt=ee(71230),ut=ee(63205),wt=ee(67294),Ht=({callback:Je,onCancel:Dt})=>{const Et=document.createElement("canvas"),Rn=Et.getContext("2d");Et.width=1e3,Et.height=800,Rn.fillStyle="#ffffff",Rn.fillRect(0,0,Et.width,Et.height);const vn=Et.toDataURL("image/png");return wt.createElement(ht.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},wt.createElement(Bt.Z,{style:{height:"100vh"}},wt.createElement(ut.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:vn,visible:!0,title:String(Date.now())},onOk:Un=>{Je({src:Un.url})},onClose:Dt})))},Ge=ee(23495);function bn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(bn,go.CommandHandler),bn.prototype.canAlignSelection=function(){var Je=this.diagram;return!(Je===null||Je.isReadOnly||Je.isModelReadOnly||Je.selection.count<2)},bn.prototype.alignLeft=function(){var Je=this.diagram;Je.startTransaction("aligning left");var Dt=1/0;Je.selection.each(function(Et){Et instanceof go.Link||(Dt=Math.min(Et.position.x,Dt))}),Je.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Dt,Et.position.y))}),Je.commitTransaction("aligning left")},bn.prototype.alignRight=function(){var Je=this.diagram;Je.startTransaction("aligning right");var Dt=-1/0;Je.selection.each(function(Et){if(!(Et instanceof go.Link)){var Rn=Et.actualBounds.x+Et.actualBounds.width;Dt=Math.max(Rn,Dt)}}),Je.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Dt-Et.actualBounds.width,Et.position.y))}),Je.commitTransaction("aligning right")},bn.prototype.alignTop=function(){var Je=this.diagram;Je.startTransaction("alignTop");var Dt=1/0;Je.selection.each(function(Et){Et instanceof go.Link||(Dt=Math.min(Et.position.y,Dt))}),Je.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Et.position.x,Dt))}),Je.commitTransaction("alignTop")},bn.prototype.alignBottom=function(){var Je=this.diagram;Je.startTransaction("aligning bottom");var Dt=-1/0;Je.selection.each(function(Et){if(!(Et instanceof go.Link)){var Rn=Et.actualBounds.y+Et.actualBounds.height;Dt=Math.max(Rn,Dt)}}),Je.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Et.actualBounds.x,Dt-Et.actualBounds.height))}),Je.commitTransaction("aligning bottom")},bn.prototype.alignCenterX=function(){var Je=this.diagram,Dt=Je.selection.first();if(Dt){Je.startTransaction("aligning Center X");var Et=Dt.actualBounds.x+Dt.actualBounds.width/2;Je.selection.each(function(Rn){Rn instanceof go.Link||Rn.move(new go.Point(Et-Rn.actualBounds.width/2,Rn.actualBounds.y))}),Je.commitTransaction("aligning Center X")}},bn.prototype.alignCenterY=function(){var Je=this.diagram,Dt=Je.selection.first();if(Dt){Je.startTransaction("aligning Center Y");var Et=Dt.actualBounds.y+Dt.actualBounds.height/2;Je.selection.each(function(Rn){Rn instanceof go.Link||Rn.move(new go.Point(Rn.actualBounds.x,Et-Rn.actualBounds.height/2))}),Je.commitTransaction("aligning Center Y")}},bn.prototype.alignColumn=function(Je){var Dt=this.diagram;Dt.startTransaction("align Column"),Je===void 0&&(Je=0),Je=parseFloat(Je);var Et=new Array;Dt.selection.each(function(Ta){Ta instanceof go.Link||Et.push(Ta)});for(var Rn=0;Rn<Et.length-1;Rn++){var vn=Et[Rn],Un=vn.actualBounds.y+vn.actualBounds.height+Je,$r=Et[Rn+1];$r.move(new go.Point(vn.actualBounds.x,Un))}Dt.commitTransaction("align Column")},bn.prototype.alignRow=function(Je){Je===void 0&&(Je=0),Je=parseFloat(Je);var Dt=this.diagram;Dt.startTransaction("align Row");var Et=new Array;Dt.selection.each(function(Ta){Ta instanceof go.Link||Et.push(Ta)});for(var Rn=0;Rn<Et.length-1;Rn++){var vn=Et[Rn],Un=vn.actualBounds.x+vn.actualBounds.width+Je,$r=Et[Rn+1];$r.move(new go.Point(Un,vn.actualBounds.y))}Dt.commitTransaction("align Row")},bn.prototype.canRotate=function(Je){var Dt=this.diagram;return!(Dt===null||Dt.isReadOnly||Dt.isModelReadOnly||Dt.selection.count<1)},bn.prototype.rotate=function(Je){Je===void 0&&(Je=90);var Dt=this.diagram;Dt.startTransaction("rotate "+Je.toString());var Dt=this.diagram;Dt.selection.each(function(Et){Et instanceof go.Link||Et instanceof go.Group||(Et.angle+=Je)}),Dt.commitTransaction("rotate "+Je.toString())},bn.prototype.pullToFront=function(){var Je=this.diagram;Je.startTransaction("pullToFront");var Dt=new go.Map;Je.selection.each(function(Et){Dt.set(Et.layer,0)}),Dt.iteratorKeys.each(function(Et){var Rn=0;Et.parts.each(function(vn){if(!vn.isSelected){var Un=vn.zOrder;isNaN(Un)?vn.zOrder=0:Rn=Math.max(Rn,Un)}}),Dt.set(Et,Rn)}),Je.selection.each(function(Et){bn._assignZOrder(Et,Dt.get(Et.layer)+1)}),Je.commitTransaction("pullToFront")},bn.prototype.pushToBack=function(){var Je=this.diagram;Je.startTransaction("pushToBack");var Dt=new go.Map;Je.selection.each(function(Et){Dt.set(Et.layer,0)}),Dt.iteratorKeys.each(function(Et){var Rn=0;Et.parts.each(function(vn){if(!vn.isSelected){var Un=vn.zOrder;isNaN(Un)?vn.zOrder=0:Rn=Math.min(Rn,Un)}}),Dt.set(Et,Rn)}),Je.selection.each(function(Et){bn._assignZOrder(Et,Dt.get(Et.layer)-1-bn._findGroupDepth(Et))}),Je.commitTransaction("pushToBack")},bn._assignZOrder=function(Je,Dt,Et){Et===void 0&&(Et=Je),Je.layer===Et.layer&&(Je.zOrder=Dt),Je instanceof go.Group&&Je.memberParts.each(function(Rn){bn._assignZOrder(Rn,Dt+1,Et)})},bn._findGroupDepth=function(Je){if(Je instanceof go.Group){var Dt=0;return Je.memberParts.each(function(Et){Dt=Math.max(Dt,bn._findGroupDepth(Et))}),Dt+1}else return 0},bn.prototype.doKeyDown=function(){var Je=this.diagram;if(Je!==null){var Dt=Je.lastInput;if(Dt.key==="Up"||Dt.key==="Down"||Dt.key==="Left"||Dt.key==="Right"){var Et=this.arrowKeyBehavior;if(Et==="none")return;if(Et==="select"){this._arrowKeySelect();return}else if(Et==="move"){this._arrowKeyMove();return}else if(Et==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},bn.prototype._getAllParts=function(){var Je=new Array;return this.diagram.nodes.each(function(Dt){Je.push(Dt)}),this.diagram.parts.each(function(Dt){Je.push(Dt)}),Je},bn.prototype._arrowKeyMove=function(){var Je=this.diagram,Dt=Je.lastInput,Et=0,Rn=0;if(Dt.control||Dt.meta)Et=1,Rn=1;else if(Je.grid!==null){var vn=Je.grid.gridCellSize;Rn=vn.width,Et=vn.height}Je.startTransaction("arrowKeyMove"),Je.selection.each(function(Un){Dt.key==="Up"?Un.move(new go.Point(Un.actualBounds.x,Un.actualBounds.y-Et)):Dt.key==="Down"?Un.move(new go.Point(Un.actualBounds.x,Un.actualBounds.y+Et)):Dt.key==="Left"?Un.move(new go.Point(Un.actualBounds.x-Rn,Un.actualBounds.y)):Dt.key==="Right"&&Un.move(new go.Point(Un.actualBounds.x+Rn,Un.actualBounds.y))}),Je.commitTransaction("arrowKeyMove")},bn.prototype._arrowKeySelect=function(){var Je=this.diagram,Dt=Je.lastInput,Et=null;Dt.key==="Up"?Et=this._findNearestPartTowards(270):Dt.key==="Down"?Et=this._findNearestPartTowards(90):Dt.key==="Left"?Et=this._findNearestPartTowards(180):Dt.key==="Right"&&(Et=this._findNearestPartTowards(0)),Et!==null&&(Dt.shift?Et.isSelected=!0:Dt.control||Dt.meta?Et.isSelected=!Et.isSelected:Je.select(Et))},bn.prototype._findNearestPartTowards=function(Je){var Dt=this.diagram.selection.first();if(Dt===null)return null;for(var Et=Dt.actualBounds.center,Rn=this._getAllParts(),vn=1/0,Un=Dt,$r=0;$r<Rn.length;$r++){var Ta=Rn[$r];if(Ta!==Dt&&Ta.canSelect()){var Cr=Ta.actualBounds.center,_r=Et.directionPoint(Cr),co=this._angleCloseness(_r,Je);if(co<=45){var Jn=Et.distanceSquaredPoint(Cr);Jn*=1+Math.sin(co*Math.PI/180),Jn<vn&&(vn=Jn,Un=Ta)}}}return Un},bn.prototype._angleCloseness=function(Je,Dt){return Math.min(Math.abs(Dt-Je),Math.min(Math.abs(Dt+360-Je),Math.abs(Dt-360-Je)))},bn.prototype._arrowKeyTree=function(){var Je=this.diagram,Dt=Je.selection.first();if(Dt instanceof go.Node){var Et=Je.lastInput;if(Et.key==="Right"){if(!Dt.isTreeLeaf)if(!Dt.isTreeExpanded)Je.commandHandler.canExpandTree(Dt)&&Je.commandHandler.expandTree(Dt);else{var Rn=this._sortTreeChildrenByY(Dt).first();Rn!==null&&Je.select(Rn)}}else if(Et.key==="Left")if(!Dt.isTreeLeaf&&Dt.isTreeExpanded)Je.commandHandler.canCollapseTree(Dt)&&Je.commandHandler.collapseTree(Dt);else{var vn=Dt.findTreeParentNode();vn!==null&&Je.select(vn)}else if(Et.key==="Up"){var vn=Dt.findTreeParentNode();if(vn!==null){var Un=this._sortTreeChildrenByY(vn),$r=Un.indexOf(Dt);if($r>0){for(var Ta=Un.elt($r-1);Ta!==null&&Ta.isTreeExpanded&&!Ta.isTreeLeaf;){var Cr=this._sortTreeChildrenByY(Ta);Ta=Cr.last()}Ta!==null&&Je.select(Ta)}else Je.select(vn)}}else if(Et.key==="Down")if(Dt.isTreeExpanded&&!Dt.isTreeLeaf){var Rn=this._sortTreeChildrenByY(Dt).first();Rn!==null&&Je.select(Rn)}else for(;Dt!==null;){var vn=Dt.findTreeParentNode();if(vn===null)break;var Un=this._sortTreeChildrenByY(vn),$r=Un.indexOf(Dt);if($r<Un.length-1){Je.select(Un.elt($r+1));break}else Dt=vn}var _r=Je.selection.first();_r!==null&&Je.scrollToRect(_r.actualBounds)}},bn.prototype._sortTreeChildrenByY=function(Je){var Dt=new go.List().addAll(Je.findTreeChildrenNodes());return Dt.sort(function(Et,Rn){var vn=Et.location,Un=Rn.location;return vn.y<Un.y?-1:vn.y>Un.y?1:vn.x<Un.x?-1:vn.x>Un.x?1:0}),Dt},bn.prototype.copyToClipboard=function(Je){go.CommandHandler.prototype.copyToClipboard.call(this,Je),this._lastPasteOffset.set(this.pasteOffset)},bn.prototype.pasteFromClipboard=function(){var Je=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Je,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Je},Object.defineProperty(bn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Je){if(Je!=="move"&&Je!=="select"&&Je!=="scroll"&&Je!=="tree"&&Je!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Je);this._arrowKeyBehavior=Je}}),Object.defineProperty(bn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Je){if(!(Je instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Je);this._pasteOffset.set(Je)}});var Dn=bn,Ct=ee(18023),Kt=ee(15746),Ut=ee(33170),Rt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},St=ee(67294),Ft=(Je,Dt,Et)=>new Promise((Rn,vn)=>{var Un=Cr=>{try{Ta(Et.next(Cr))}catch(_r){vn(_r)}},$r=Cr=>{try{Ta(Et.throw(Cr))}catch(_r){vn(_r)}},Ta=Cr=>Cr.done?Rn(Cr.value):Promise.resolve(Cr.value).then(Un,$r);Ta((Et=Et.apply(Je,Dt)).next())});function Pt({onCancel:Je,callback:Dt}){let Et=(0,x.useRef)(),Rn=(0,x.useRef)(),vn=(0,x.useRef)(),Un=(0,x.useRef)(!1);const $r=(0,x.useRef)(!1),[Ta,Cr]=(0,x.useState)(0);function _r(){const Jn=Ge.bx.make,ur={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Et.current=new Ge.S0(Rn.current,{padding:20,grid:Jn(Ge.s_,"Grid",Jn(Ge.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Jn(Ge.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:sa=>{var Ra=sa.diagram.commandHandler.addTopLevelParts(sa.diagram.selection,!0);Ra||sa.diagram.currentTool.doCancel()},commandHandler:Jn(Dn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:sa=>{var Ra=sa.subject;Ra.location=Ra.location.copy().snapToGridPoint(sa.diagram.grid.gridOrigin,sa.diagram.grid.gridCellSize),setTimeout(()=>{sa.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:sa=>{var Ra=sa.subject;setTimeout(()=>{sa.diagram.commandHandler.editTextBlock()})},LinkRelinked:sa=>{var Ra=sa.parameter.part;Ra.invalidateConnectedLinks();var mr=sa.subject;sa.diagram.toolManager.linkingTool.isForwards?mr.toNode.invalidateConnectedLinks():mr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Et.current.nodeTemplate=Jn(Ge.NB,"Auto",{locationSpot:Ge.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ge.$u(120,60),minSize:new Ge.$u(40,40),resizable:!0,resizeCellSize:new Ge.$u(10,10),rotatable:!0},new Ge.KX("location","loc",Ge.E9.parse).makeTwoWay(Ge.E9.stringify),new Ge.KX("desiredSize","size",Ge.$u.parse).makeTwoWay(Ge.$u.stringify),Jn(Ge.bn,{name:"SHAPE",fill:ur.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ge.z6.AllSides,toSpot:Ge.z6.AllSides},new Ge.KX("figure"),new Ge.KX("fill"),new Ge.KX("stroke","borderColor"),new Ge.KX("strokeWidth","thickness"),new Ge.KX("strokeDashArray","dash")),Jn(Ge.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Jn(Ge.al,{margin:1,textAlign:"center",overflow:Ge.al.OverflowEllipsis,editable:!0},new Ge.KX("text").makeTwoWay(),new Ge.KX("stroke","color"))),Et.current.nodeTemplate.toolTip=Jn("ToolTip",Jn(Ge.s_,"Vertical",{maxSize:new Ge.$u(200,NaN)},Jn(Ge.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ge.KX("text")),Jn(Ge.al,{font:"10pt sans-serif",textAlign:"center"},new Ge.KX("text","details"))));function gt(sa,Ra){var mr=(Qn,Vr)=>{Qn.handled=!0,Qn.diagram.model.commit(Nr=>{var Uo=Vr.part.adornedPart,Ao=new Ge.E9().setRectSpot(Uo.actualBounds,sa);Ao.subtract(Uo.location),Ao.scale(2,2),Ao.x+=Math.sign(Ao.x)*130,Ao.y+=Math.sign(Ao.y)*130,Ao.add(Uo.location),Ao.snapToGridPoint(Qn.diagram.grid.gridOrigin,Qn.diagram.grid.gridCellSize);var ko=Nr.copyNodeData(Uo.data);Nr.setGroupKeyForNodeData(ko,Nr.getGroupKeyForNodeData(Uo.data)),Nr.addNodeData(ko);var ji={from:Uo.key,to:Nr.getKeyForNodeData(ko)};Nr.addLinkData(ji);var Jo=Qn.diagram.findNodeForData(ko);Jo.location=Ao,Qn.diagram.select(Jo),setTimeout(()=>{Qn.diagram.commandHandler.editTextBlock()},20)})};return Jn(Ge.bn,{figure:Ra,alignment:sa,alignmentFocus:sa.opposite(),width:sa.equals(Ge.z6.Top)||sa.equals(Ge.z6.Bottom)?25:18,height:sa.equals(Ge.z6.Top)||sa.equals(Ge.z6.Bottom)?18:25,fill:"orange",stroke:ur.white,strokeWidth:4,mouseEnter:(Qn,Vr)=>Vr.fill="dodgerblue",mouseLeave:(Qn,Vr)=>Vr.fill="orange",isActionable:!0,click:mr,contextClick:mr})}function tn(sa){return Jn(Ge.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:(Ra,mr)=>mr.fill="dodgerblue",mouseLeave:(Ra,mr)=>mr.fill="orange",click:(Ra,mr)=>{Ra.diagram.commandHandler.showContextMenu(mr.part.adornedPart)}},sa||{})}Et.current.nodeTemplate.selectionAdornmentTemplate=Jn(Ge.uz,"Spot",Jn(Ge.Vm,{padding:10}),gt(Ge.z6.Top,"TriangleUp"),gt(Ge.z6.Left,"TriangleLeft"),gt(Ge.z6.Right,"TriangleRight"),gt(Ge.z6.Bottom,"TriangleDown"),tn({alignment:new Ge.z6(.75,0)}));function Xt(sa,Ra){return(mr,Qn)=>{mr.handled=!0,mr.diagram.model.commit(Vr=>{Vr.set(Qn.part.adornedPart.data,sa,Ra)})}}function cn(sa,Ra){return Ra||(Ra="color"),Jn(Ge.bn,{width:16,height:16,stroke:"lightgray",fill:sa,margin:1,background:"transparent",mouseEnter:(mr,Qn)=>Qn.stroke="dodgerblue",mouseLeave:(mr,Qn)=>Qn.stroke="lightgray",click:Xt(Ra,sa),contextClick:Xt(Ra,sa)})}function Kn(){return[Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",cn(ur.white,"fill"),cn(ur.beige,"fill"),cn(ur.extralightblue,"fill"),cn(ur.extralightred,"fill"))),Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",cn(ur.lightgray,"fill"),cn(ur.lightgreen,"fill"),cn(ur.lightblue,"fill"),cn(ur.lightred,"fill")))]}function rn(){return[Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",cn(ur.black),cn(ur.green),cn(ur.blue),cn(ur.red))),Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",cn(ur.white),cn(ur.magenta),cn(ur.purple),cn(ur.orange)))]}function _n(sa,Ra){return Ra||(Ra="thickness"),Jn(Ge.bn,"LineH",{width:16,height:16,strokeWidth:sa,margin:1,background:"transparent",mouseEnter:(mr,Qn)=>Qn.background="dodgerblue",mouseLeave:(mr,Qn)=>Qn.background="transparent",click:Xt(Ra,sa),contextClick:Xt(Ra,sa)})}function wn(sa,Ra){return Ra||(Ra="dash"),Jn(Ge.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:sa,margin:1,background:"transparent",mouseEnter:(mr,Qn)=>Qn.background="dodgerblue",mouseLeave:(mr,Qn)=>Qn.background="transparent",click:Xt(Ra,sa),contextClick:Xt(Ra,sa)})}function la(){return[Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",_n(1),_n(2),_n(3),_n(4))),Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",wn(null),wn([2,4]),wn([4,4])))]}function Za(sa,Ra){return Ra||(Ra="figure"),Jn(Ge.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:sa,margin:1,background:"transparent",mouseEnter:(mr,Qn)=>Qn.fill="dodgerblue",mouseLeave:(mr,Qn)=>Qn.fill="lightgray",click:Xt(Ra,sa),contextClick:Xt(Ra,sa)})}Et.current.nodeTemplate.contextMenu=Jn("ContextMenu",Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",Za("Rectangle"),Za("RoundedRectangle"),Za("Ellipse"),Za("Diamond"))),Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",Za("Parallelogram2"),Za("ManualOperation"),Za("Procedure"),Za("Cylinder1"))),Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",Za("Terminator"),Za("CreateRequest"),Za("Document"),Za("TriangleDown"))),Kn(),rn(),la()),Et.current.groupTemplate=Jn(Ge.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ge.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(sa,Ra)=>{var mr=Ra.addMembers(Ra.diagram.selection,!0);mr||Ra.diagram.currentTool.doCancel()},avoidable:!1},new Ge.KX("location","loc",Ge.E9.parse).makeTwoWay(Ge.E9.stringify),Jn(Ge.s_,"Auto",{name:"BODY"},Jn(Ge.bn,{parameter1:10,fill:ur.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ge.z6.AllSides,toSpot:Ge.z6.AllSides},new Ge.KX("fill"),new Ge.KX("stroke","color"),new Ge.KX("strokeWidth","thickness"),new Ge.KX("strokeDashArray","dash")),Jn(Ge.Vm,{background:"transparent",margin:20})),Jn(Ge.al,{alignment:Ge.z6.Top,alignmentFocus:Ge.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ge.KX("text"),new Ge.KX("stroke","color"))),Et.current.groupTemplate.selectionAdornmentTemplate=Jn(Ge.uz,"Spot",Jn(Ge.s_,"Auto",Jn(Ge.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Jn(Ge.Vm,{margin:1.5})),tn({alignment:Ge.z6.TopRight,alignmentFocus:Ge.z6.BottomRight})),Et.current.groupTemplate.contextMenu=Jn("ContextMenu",Kn(),rn(),la()),Et.current.linkTemplate=Jn(Ge.rU,{layerName:"Foreground",routing:Ge.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ge.KX("fromSpot","fromSpot",Ge.z6.parse),new Ge.KX("toSpot","toSpot",Ge.z6.parse),new Ge.KX("fromShortLength","dir",sa=>sa>=1?10:0),new Ge.KX("toShortLength","dir",sa=>sa>=1?10:0),new Ge.KX("points").makeTwoWay(),Jn(Ge.bn,{strokeWidth:2},new Ge.KX("stroke","color"),new Ge.KX("strokeWidth","thickness"),new Ge.KX("strokeDashArray","dash")),Jn(Ge.bn,{segmentIndex:0,segmentOffset:new Ge.E9(15,0),segmentOrientation:Ge.rU.OrientAlong,alignmentFocus:Ge.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ge.KX("fill","color"),new Ge.KX("visible","dir",sa=>sa===1)),Jn(Ge.bn,{segmentIndex:-1,segmentOffset:new Ge.E9(-10,6),segmentOrientation:Ge.rU.OrientPlus90,alignmentFocus:Ge.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ge.KX("fill","color"),new Ge.KX("visible","dir",sa=>sa>=1),new Ge.KX("width","thickness",sa=>7+3*sa),new Ge.KX("height","thickness",sa=>7+3*sa),new Ge.KX("segmentOffset","thickness",sa=>new Ge.E9(-15,4+1.5*sa))),Jn(Ge.bn,{segmentIndex:0,segmentOffset:new Ge.E9(15,-6),segmentOrientation:Ge.rU.OrientMinus90,alignmentFocus:Ge.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ge.KX("fill","color"),new Ge.KX("visible","dir",sa=>sa===2),new Ge.KX("width","thickness",sa=>7+3*sa),new Ge.KX("height","thickness",sa=>7+3*sa),new Ge.KX("segmentOffset","thickness",sa=>new Ge.E9(-15,4+1.5*sa))),Jn(Ge.al,{alignmentFocus:new Ge.z6(0,1,-4,0),editable:!0},new Ge.KX("text").makeTwoWay(),new Ge.KX("stroke","color"))),Et.current.linkTemplate.selectionAdornmentTemplate=Jn(Ge.uz,Jn(Ge.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ir(2)},new Ge.KX("pathPattern","thickness",ir)),tn({alignmentFocus:new Ge.z6(0,0,-6,-4)}));function ir(sa){return Jn(Ge.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(sa+4).toString()+" H3"})}function Or(sa){var Ra="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return sa===0?Ra="M0 0 M16 16 M0 8 L16 8":sa===2&&(Ra="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Jn(Ge.bn,{geometryString:Ra,margin:2,background:"transparent",mouseEnter:(mr,Qn)=>Qn.background="dodgerblue",mouseLeave:(mr,Qn)=>Qn.background="transparent",click:Xt("dir",sa),contextClick:Xt("dir",sa)})}function Wr(sa){var Ra=(mr,Qn)=>{mr.handled=!0,mr.diagram.model.commit(Vr=>{var Nr=Qn.part.adornedPart;Vr.set(Nr.data,sa?"toSpot":"fromSpot",Ge.z6.stringify(Ge.z6.AllSides)),(sa?Nr.toNode:Nr.fromNode).invalidateConnectedLinks()})};return Jn(Ge.bn,{width:12,height:12,fill:"transparent",mouseEnter:(mr,Qn)=>Qn.background="dodgerblue",mouseLeave:(mr,Qn)=>Qn.background="transparent",click:Ra,contextClick:Ra})}function Nn(sa,Ra){var mr=0,Qn=Ge.z6.RightSide;sa.equals(Ge.z6.Top)?(mr=270,Qn=Ge.z6.TopSide):sa.equals(Ge.z6.Left)?(mr=180,Qn=Ge.z6.LeftSide):sa.equals(Ge.z6.Bottom)&&(mr=90,Qn=Ge.z6.BottomSide),Ra||(mr-=180);var Vr=(Nr,Uo)=>{Nr.handled=!0,Nr.diagram.model.commit(Ao=>{var ko=Uo.part.adornedPart;Ao.set(ko.data,Ra?"toSpot":"fromSpot",Ge.z6.stringify(Qn)),(Ra?ko.toNode:ko.fromNode).invalidateConnectedLinks()})};return Jn(Ge.bn,{alignment:sa,alignmentFocus:sa.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:mr,background:"transparent",mouseEnter:(Nr,Uo)=>Uo.background="dodgerblue",mouseLeave:(Nr,Uo)=>Uo.background="transparent",click:Vr,contextClick:Vr})}Et.current.linkTemplate.contextMenu=Jn("ContextMenu",rn(),la(),Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",Or(0),Or(1),Or(2))),Jn("ContextMenuButton",Jn(Ge.s_,"Horizontal",Jn(Ge.s_,"Spot",Wr(!1),Nn(Ge.z6.Top,!1),Nn(Ge.z6.Left,!1),Nn(Ge.z6.Right,!1),Nn(Ge.z6.Bottom,!1)),Jn(Ge.s_,"Spot",{margin:new Ge.Zt(0,0,0,2)},Wr(!0),Nn(Ge.z6.Top,!0),Nn(Ge.z6.Left,!0),Nn(Ge.z6.Right,!0),Nn(Ge.z6.Bottom,!0)))));const Go=`{ "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 Mo=["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 Sr(sa){return console.log("shapeName:",sa),Mo.indexOf(sa)>=0}var xo=new Ge.YI(vn.current,{maxSelectionCount:1,linkTemplate:Jn(Ge.rU,{locationSpot:Ge.z6.Center,selectionAdornmentTemplate:Jn(Ge.uz,"Link",{locationSpot:Ge.z6.Center},Jn(Ge.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Jn(Ge.bn,{toArrow:"Standard",stroke:null}))},{routing:Ge.rU.AvoidsNodes,curve:Ge.rU.JumpOver,corner:5,toShortLength:4},new Ge.KX("points"),Jn(Ge.bn,{isPanelMain:!0,strokeWidth:2}),Jn(Ge.bn,{toArrow:"Standard",stroke:null})),model:new Ge.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ge.bn.getFigureGenerators().toArray().map(sa=>({text:"\u672A\u547D\u540D",size:"100 100",figure:sa.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Et.current.addDiagramListener("TextEdited",function(sa){var Ra;const mr=sa.subject.part;var Qn=(Ra=document.activeElement)==null?void 0:Ra.value;typeof Qn=="string"&&Qn.trim()===""&&Et.current.model.commit(function(Vr){Vr.set(mr.data,"text","\u672A\u547D\u540D"),Et.current.commandHandler.stopCommand()},"increment")}),xo.nodeTemplate=Jn(Ge.NB,"Auto",{locationSpot:Ge.z6.Center},new Ge.KX("location","location",Ge.E9.parse).makeTwoWay(Ge.E9.stringify),Jn(Ge.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 Ge.KX("stroke").makeTwoWay(),new Ge.KX("fill").makeTwoWay(),new Ge.KX("figure")),Jn(Ge.al,{margin:new Ge.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ge.$u(16,16),maxSize:new Ge.$u(10,NaN),textAlign:"center",editable:!0},new Ge.KX("key").makeTwoWay())),setTimeout(()=>{Et.current.grid=Jn(Ge.s_,"Grid",Jn(Ge.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Jn(Ge.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Et.current.grid.visible=!0,Et.current.grid.gridCellStroke="darkgray",Et.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Et.current,Et.current}const co=()=>Ft(this,null,function*(){var Jn=Et.current.makeImage();const ur=yield(0,Ut.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Jn.src}});Dt({src:ur.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{_r()},500),Cr(Ta+1),()=>{Et.current=null}),[]),St.createElement("div",{ref:$r,className:Un.current?`${Rt.maxH60} body-overflow-initial`:"body-overflow-initial"},St.createElement(ht.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ta,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:St.createElement(Bt.Z,null,St.createElement(Kt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),St.createElement(Kt.Z,{onClick:()=>{var Jn,ur,gt=Et.current.selection.first();if(Un.current=!Un.current,document.activeElement&&gt){let tn=(ur=(Jn=document.activeElement)==null?void 0:Jn.value)==null?void 0:ur.trim();typeof tn=="string"&&Et.current.model.commit(function(Xt){Xt.set(gt.data,"text",tn||"\u672A\u547D\u540D"),Et.current.commandHandler.stopCommand()},"increment")}Cr(Ta+1)}},St.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Je},St.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Rt.flowChartWrp},St.createElement("div",{style:{display:"flex",height:"100%"}},St.createElement("div",{style:{width:"300px",height:"100%"}},St.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),St.createElement("div",{style:{height:"calc(100% - 50px)"},className:Rt.myPaletteDiv,ref:vn})),St.createElement("div",{style:{flex:1,position:"relative"}},St.createElement("div",{ref:Rn,style:{height:"80vh"}}))),St.createElement("div",{className:"tr"},St.createElement(ye.ZP,{size:"large",onClick:co,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var st=Pt,Jt=ee(78045),Ot=ee(31795);const xt=Jt.ZP.Group,mn={margin:"0 8px"};var en=({callback:Je,onCancel:Dt})=>{function Et(Rn){Je(Rn)}return x.createElement(Ce.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Et},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:mn},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:mn},"\u884C\u6570"),x.createElement(Ce.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Ot.Z,null)),x.createElement("span",{style:mn},"\u5217\u6570"),x.createElement(Ce.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Ot.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:mn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(Ce.default.Item,{name:"align"},x.createElement(xt,null,x.createElement(Jt.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(Jt.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(Jt.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(Jt.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ye.ZP,{type:"ghost",onClick:Dt},"\u53D6\u6D88")))},Ve=ee(47897),Re=ee(61016),In=ee.n(Re),He=(0,x.forwardRef)(({use3d:Je,width:Dt,height:Et,callback:Rn,showSaveButton:vn},Un)=>{const $r=(0,x.useRef)(),Ta=(0,x.useRef)(),[Cr,_r]=(0,x.useState)(!1),co=(0,x.useRef)({id:$r,appName:"graphing",width:Dt||1e3,height:Et||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Ta.current=new(In())(co.current,!0),window.onload=function(){Ta.current.inject("applet_container")}},[]);const Jn=()=>{var ur=window.ggbApplet.getPNGBase64(1,!0,72);return Rn&&Rn(ur),ur};return(0,x.useEffect)(()=>{co.current.appName=Cr?"3D":"graphing",Ta.current.inject("applet_container")},[Cr]),(0,x.useEffect)(()=>{_r(Je)},[Je]),(0,x.useImperativeHandle)(Un,()=>({getImgData:Jn})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:$r}),x.createElement(Bt.Z,{align:"middle"},x.createElement(Kt.Z,{flex:1},x.createElement(Ve.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Cr,onChange:ur=>_r(ur)})),x.createElement(Kt.Z,null,x.createElement(ye.ZP,{size:"large",onClick:Jn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Wt=ee(36527),et=ee(25934),Ye=ee(2453);const yt="link",vt="upload-image",kt="add-flowchart",En="draw-image",Lt="add-flowchart",Mt="code-block",pt="add-table",an="------------",Gt={default:an,left:`:${an}`,center:`:${an}:`,right:`${an}:`};var pn=ee(99914),$n=(Je,Dt,Et)=>new Promise((Rn,vn)=>{var Un=Cr=>{try{Ta(Et.next(Cr))}catch(_r){vn(_r)}},$r=Cr=>{try{Ta(Et.throw(Cr))}catch(_r){vn(_r)}},Ta=Cr=>Cr.done?Rn(Cr.value):Promise.resolve(Cr.value).then(Un,$r);Ta((Et=Et.apply(Je,Dt)).next())});function Fn(){}let Yn=0;const fa=1e4,Yt="\u2581",Qt="@\u2581\u2581@",nn="@\u2581@",ua=`
**\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`,ra=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function jn(Je){return/^\d+$/.test(Je)?`${Je}px`:Je}const Ma=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",vr={[Ma+"-B"]:"bold",[Ma+"-I"]:"italic"},zr={[yt]:"\u6DFB\u52A0\u94FE\u63A5",[Mt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[vt]:"\u6DFB\u52A0\u56FE\u7247",[En]:"\u6DFB\u52A0\u753B\u56FE",[kt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[pt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var La=({defaultValue:Je="",onChange:Dt,width:Et="100%",height:Rn=400,miniToolbar:vn=!1,isFocus:Un=!1,watch:$r,insertTemp:Ta,mode:Cr="markdown",id:_r="markdown-editor-id",showResizeBar:co=!1,noStorage:Jn=!1,showNullButton:ur=!1,showNullProgramButton:gt=!1,hidetoolBar:tn=!1,fullScreen:Xt=!1,onBlur:cn,onCMBeforeChange:Kn,onFullScreen:rn,className:_n="",disablePaste:wn=!1,disabled:la=!1,disabledFill:Za=!1,placeholder:ir="",values:Or="",extraUse:Wr})=>{const[Nn,Go]=(0,x.useState)(null),[Mo,Sr]=(0,x.useState)(Je),[xo,sa]=(0,x.useState)($r),[Ra,mr]=(0,x.useState)(Xt),[Qn,Vr]=(0,x.useState)(""),[Nr,Uo]=(0,x.useState)(0),[Ao,ko]=(0,x.useState)(Rn),[ji,Jo]=(0,x.useState)(!1),nl=(0,x.useRef)((0,et.Z)()),al=(0,x.useRef)(!1),Zn=(0,x.useRef)(),[Ea,io]=(0,x.useState)(0),[Wo,wi]=(0,x.useState)(0),ri=(0,x.useRef)(),oi=(0,x.useRef)(),Qi=(0,x.useRef)(),Hr=(0,x.useRef)(),ce=()=>$n(void 0,null,function*(){var Sn;const jt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:nl.current}});(Sn=jt==null?void 0:jt.attachments)!=null&&Sn.length&&(console.log("cm:",Nn,ri),jt.attachments.map(yn=>{yn.content_type.indexOf("image")>-1?Nn.replaceSelection(`![,](/api/attachments/${yn.id}?type=${yn.content_type})`):yn.content_type.indexOf("video")>-1?Nn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):yn.content_type.indexOf("pdf")>-1?Nn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${yn.id}?type=${yn.content_type}&disposition=inline" target="_blank">${yn.name}</a>`):Nn.replaceSelection(`[${yn.name}](${ENV.API_SERVER}/api/attachments/${yn.id}?type=${yn.content_type})`)}))});(0,x.useEffect)(()=>{const Sn=window.scrollY||window.pageYOffset;Sr(Or),Nn==null||Nn.setValue(Or),window.scrollTo(0,Sn)},[Or]),(0,x.useEffect)(()=>{rn==null||rn(Ra)},[Ra]),(0,x.useEffect)(()=>{if(ri.current){let Sn=function(yn,Cn){var ha;if(wn){Cn.preventDefault();return}const Da=Cn.clipboardData;if(Da){const wa=Da.types.toString(),za=Da.items;if(wa==="Files"||Da.types.indexOf("Files")>-1){if(Cn.preventDefault(),Cr=="stex")return;try{let Oa=za[1];((ha=za[0])==null?void 0:ha.kind)==="file"&&(Oa=za[0]);const ea=Oa.getAsFile(),Ba=ea.name.split(".").pop();(0,at.I)(ea,xa=>{var Ya,er,Rr;xa.id?((Ya=ea==null?void 0:ea.type)==null?void 0:Ya.indexOf("image"))>-1?jt.replaceSelection(`<img width="100%" src="/api/attachments/${xa.id}?type=${xa.content_type})" alt="" />`):((er=ea==null?void 0:ea.type)==null?void 0:er.indexOf("video"))>-1?jt.replaceSelection(`<video width="100%" controls src="/api/attachments/${xa.id}"></video>`):((Rr=ea==null?void 0:ea.type)==null?void 0:Rr.indexOf("pdf"))>-1?jt.replaceSelection(`<a href="/api/attachments/${xa.id}?type=${ea.type}&disposition=inline" target="_blank">${ea.name}</a>`):ra.includes(Ba)?jt.replaceSelection(`<a href="/api/attachments/${xa.id}?type=office&disposition=inline" target="_blank">${ea.name}</a>`):jt.replaceSelection(`[${ea.name}](/api/attachments/${xa.id}?type=${xa.content_type})`):(xa==null?void 0:xa.status)===401&&(Ye.ZP.warning((xa==null?void 0:xa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Oa){Ye.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jt=pe().fromTextArea(ri.current,{mode:Cr,lineNumbers:!vn,lineWrapping:!0,value:Je,autoCloseTags:!gt,autoCloseBrackets:!0});return jt.on("keyup",function(yn,Cn){Cn.keyCode===8&&(yn.getValue()==""?jt.setOption("placeholder",ir):jt.setOption("placeholder",null))}),jt.on("keydown",function(yn,Cn){if(Cn.keyCode===8){var ha=Ne(yn);ha&&Cn.preventDefault()}}),Un&&jt.focus(),jt.on("paste",Sn),jt.on("dragleave",function(yn,Cn){oi.current.classList.remove("mouse-hover-md")}),la&&jt.on("beforeChange",function(yn,Cn){(Cn.origin==="paste"||Cn.origin==="+input")&&Cn.cancel()}),Go(jt),()=>{jt.off("paste",Sn)}}},[]);const Pe=(0,x.useCallback)(()=>{if(oi.current)try{}catch(Sn){console.log(Sn,"---- to set md editor body height")}},[Ao,oi,Ra]);(0,x.useEffect)(()=>{function Sn(){let jt=new Fe.Z(yn=>{for(let Cn of yn)(Cn.target.offsetHeight>0||Cn.target.offsetWidth>0)&&(Pe(),Nn.setSize("100%","100%"),Nn.refresh())});return jt.observe(ri.current.parentElement),jt}if(Nn){const jt=Sn();return()=>{var yn,Cn;(yn=ri.current)!=null&&yn.parentElement&&jt.unobserve((Cn=ri.current)==null?void 0:Cn.parentElement)}}},[Nn,Pe]),(0,x.useEffect)(()=>{if(Nn){let Sn=[];for(const[jt,yn]of Object.entries(vr)){let Cn={[jt]:()=>{Se(yn)}};Sn.push(Cn),Nn.addKeyMap(Cn)}return Zn.current=setInterval(()=>{al.current&&ce()},4e3),()=>{clearInterval(Zn.current);for(let jt of Sn)Nn.removeKeyMap(jt)}}},[Nn]),(0,x.useEffect)(()=>{Xt!==Ra&&mr(Xt)},[Xt]),(0,pn.Z)(()=>{if(!Jn&&Nr>0){let Sn=new Date().getTime(),jt=window.sessionStorage.getItem(_r);Sn>=Nr+fa&&(!jt||jt!==Mo)&&(window.sessionStorage.setItem(_r,Mo),Jo(!0))}},fa),(0,x.useEffect)(()=>{sa($r)},[Nn,$r]),(0,x.useEffect)(()=>{Nn&&Un&&Nn.focus()},[Nn,Un]),(0,x.useEffect)(()=>{if(xo&&Nn){let Sn=function(yn){let Cn=yn.target;if(Hr.current){let ha=Cn.scrollTop/Cn.scrollHeight;Hr.current.scrollTop=Hr.current.scrollHeight*ha}};const jt=Nn.getScrollerElement();return jt.addEventListener("scroll",Sn),()=>{jt.removeEventListener("scroll",Sn)}}},[Nn,xo]),(0,x.useEffect)(()=>{if(Nn&&Kn){let Sn=function(jt,yn){Kn(jt,yn)};return Nn.on("beforeChange",Sn),()=>{Nn.off("beforeChange",Sn)}}},[Nn,Kn]),(0,x.useEffect)(()=>{if(Nn&&cn){let Sn=function(){cn(Nn.getValue())};return Nn.on("blur",Sn),()=>{Nn.off("blur",Sn)}}},[Nn,cn]);function Ne(Sn,jt){var yn=Sn.getDoc(),Cn=yn.getCursor(),ha=yn.getLine(Cn.line),Da=ha.charAt(Cn.ch-1),wa=ha.lastIndexOf("@\u2581@",Cn.ch),za=ha.lastIndexOf("@\u2581\u2581@",Cn.ch),Oa=wa>za?wa:za,ea=wa>za?3:4;if(Qt.indexOf(Da)===-1)return null;if(console.log("change1:",jt,Sn,ha,Cn,Oa,wa,za,Da),Oa>=0&&Cn.ch-Oa<5){var Ba=Oa+ea;return yn.replaceRange("",{line:Cn.line,ch:Oa},{line:Cn.line,ch:Ba}),{line:Cn.line,ch:Ba}}return null}(0,x.useEffect)(()=>{if(Nn){let Sn=function(jt,yn){const Cn=jt.getValue();Sr(Cn),Uo(new Date().getTime()),jt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Dt&&(gt?Dt(Cn,hn(Cn)):Dt(Cn))};return Nn.on("change",Sn),()=>{Nn.off("change",Sn)}}},[Nn,Dt]),(0,x.useEffect)(()=>{if(Nn)if(Je==null)Nn.setValue(""),Sr("");else{const Sn=window.scrollY||window.pageYOffset;Je!==Nn.getValue()&&(Nn.setValue(Je),Sr(Je),Nn.setCursor(la?1:Nn.lineCount(),0),window.scrollTo(0,Sn))}},[Nn,Je]);const Se=(0,x.useCallback)(Sn=>{const jt=Nn.getCursor(),yn=Nn.getSelection();let Cn=yn.split(`
`);switch(Sn){case"bold":return Nn.replaceSelection("**"+yn+"**"),yn===""&&Nn.setCursor(jt.line,jt.ch+2),Nn.focus();case"italic":return Nn.replaceSelection("*"+yn+"*"),yn===""&&Nn.setCursor(jt.line,jt.ch+1),Nn.focus();case"code":return Nn.replaceSelection("`"+yn+"`"),yn===""&&Nn.setCursor(jt.line,jt.ch+1),Nn.focus();case"inline-latex":return Vr("inline-latex"),Nn.focus();case"latex":return Nn.replaceSelection("```latex\n"+yn+"\n```"),Nn.setCursor(jt.line+1,yn.length+1),Nn.focus();case"line-break":return Nn.replaceSelection(`<br/>
`),Nn.focus();case"list-ul":return yn===""?Nn.replaceSelection("- "+yn):Nn.replaceSelection(Cn.map(ha=>ha===""?"":`- ${ha}`).join(`
`)),Nn.focus();case"list-ol":return yn===""?Nn.replaceSelection("1. "+yn):Nn.replaceSelection(Cn.map((ha,Da)=>ha===""?"":`${Da+1}. ${ha}`).join(`
`)),Nn.focus();case"add-null-ch":return yn===""&&Nn.setCursor(jt.line,jt.ch),Nn.replaceSelection(Yt),Nn.focus();case"add-signal":return yn===""&&Nn.setCursor(jt.line,jt.ch),Nn.replaceSelection(nn),Nn.focus();case"add-multiple":return yn===""&&Nn.setCursor(jt.line,jt.ch),Nn.replaceSelection(Qt),Nn.focus();case"inster-template-1":return yn===""&&Nn.setCursor(jt.line,jt.ch),Nn.replaceSelection(ua),Nn.focus();case"eraser":return Nn.setValue(""),Nn.focus();case"trigger-watch":return sa(!xo),Nn.focus();case"trigger-full-screen":return mr(!Ra),Nn.focus();case yt:Vr(yt);return;case Mt:Vr(Mt);return;case vt:Vr(vt);return;case En:Vr(En);return;case"maths-latex":Vr("maths-latex");return;case kt:Vr(kt);return;case pt:Vr(pt);return;default:throw new Error}},[Nn,xo,Ra]),Qe=(0,x.useCallback)((Sn,jt)=>{var yn,Cn,ha,Da,wa,za;switch(Vr(""),Qn){case yt:const{title:Ya,link:er}=Sn;return Nn.replaceSelection(`[${Ya}](${er})`),Nn.focus();case Mt:const{language:Rr,content:ao}=Sn;return Nn.replaceSelection(["```"+Rr,ao,"```"].join(`
`)),Nn.focus();case"maths-latex":for(var Oa=atob(Sn),ea=new Uint8Array(Oa.length),Ba=0;Ba<Oa.length;Ba++)ea[Ba]=Oa.charCodeAt(Ba);var xa=new Blob([ea],{type:"image/png"});(0,at.I)(xa,Yo=>{Yo.id?Nn.replaceSelection(`![,](/api/attachments/${Yo.id}?type=${Yo.content_type})`):(Yo==null?void 0:Yo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Nn.replaceSelection("`$$"+Sn+"$$`");break;case vt:case En:case Lt:const{src:wo,alt:ma}=Sn,Eo=jt,ii=(ha=(Cn=(yn=Eo==null?void 0:Eo.name)==null?void 0:yn.split("."))==null?void 0:Cn.pop)==null?void 0:ha.call(Cn);return((Da=Eo==null?void 0:Eo.type)==null?void 0:Da.indexOf("image"))>-1||!(Eo!=null&&Eo.type)?Eo.align||Eo.width?Nn.replaceSelection(`<p style="text-align:${Eo.align||"initial"}"><img width="${Eo.width?Eo.width+"%":"initial"}" src="${wo}" alt="${ma||""}" /></p>`):Nn.replaceSelection(`<img width="100%" src="${wo}" alt="${ma||""}" />`):((wa=Eo==null?void 0:Eo.type)==null?void 0:wa.indexOf("video"))>-1?Nn.replaceSelection(`<video width="100%" controls src="${wo}"></video>`):((za=Eo==null?void 0:Eo.type)==null?void 0:za.indexOf("pdf"))>-1?Nn.replaceSelection(`<a href="${wo}?type=${Eo.type}&disposition=inline" target="_blank">${Eo.name}</a>`):ra.includes(ii)?Nn.replaceSelection(`<a href="${wo}?type=office&disposition=inline" target="_blank">${Eo.name}</a>`):Nn.replaceSelection(`[${Eo.name}](${wo})`),Nn.focus();case pt:const{row:ki,col:sl,align:Zi}=Sn;let di=`
`;for(let Yo=0;Yo<ki;Yo++){let $i=[],Fi=[];for(let cl=0;cl<sl;cl++)Yo===1&&Fi.push(Gt[Zi]),$i.push(" ");Yo===1&&(di+=`| ${Fi.join(" | ")} |
`),di+=`| ${$i.join(sl===1?"":" | ")} |
`}return Nn.replaceSelection(di+`
`),Nn.focus();default:throw new Error}},[Nn,Qn]),rt=(0,x.useMemo)(()=>{switch(Qn){case yt:return x.createElement($t,{callback:Qe,onCancel:bt});case Mt:return x.createElement(gn.Z,{callback:Qe,onCancel:bt});case vt:return x.createElement(at.Z,{callback:Qe,onCancel:bt});case kt:return x.createElement(st,{callback:Qe,onCancel:bt});case pt:return x.createElement(en,{callback:Qe,onCancel:bt});case"maths-latex":return x.createElement(He,{showSaveButton:!0,callback:Qe});case"inline-latex":return x.createElement(Wt.Z,{showSaveButton:!0,callback:Qe});default:return null}},[Qn]);function bt(){Vr("")}(0,x.useEffect)(()=>{if(Qi.current){let Sn=function(wa){ha=!0,Da=wa.pageY},jt=function(){ha=!1},yn=function(wa){if(ha){let za=wa.pageY-Da;za<0&&(za=0),za>300&&(za=300);let Oa=Rn+za+"px";ko(Oa)}},Cn=Qi.current,ha=!1,Da=0;return Cn.addEventListener("mousedown",Sn),document.addEventListener("mousemove",yn),document.addEventListener("mouseup",jt),()=>{Cn.removeEventListener("mousedown",Sn),document.removeEventListener("mousemove",yn),document.removeEventListener("mouseup",jt)}}},[Nn,Qi]),(0,x.useEffect)(()=>{ko(Rn)},[Rn]);const tt=jn(Et),lt=jn(Ao),mt={width:tt,height:lt},on=(0,x.useMemo)(()=>{if(Nr){let Sn=new Date(Nr),jt=Sn.getHours(),yn=Sn.getMinutes(),Cn=Sn.getSeconds();return jt=jt<10?"0"+jt:jt,yn=yn<10?"0"+yn:yn,Cn=Cn<10?"0"+Cn:Cn,`${jt}:${yn}:${Cn}`}return 0},[Nr]),hn=Sn=>{const jt=[];if(gt){let yn=-1;Sn=Sn.replace(/(@▁▁@|@▁@)/g,function(Cn,ha,Da){jt.push({multiLine:Cn!==nn})})}return jt};function Vn(){window.sessionStorage.removeItem(_r),Jo(!1),Uo(0)}function kn(){Jo(!1),Uo(0),Nn.setValue(window.sessionStorage.getItem(_r))}(0,x.useEffect)(()=>{zr[Qn]&&Qn!==En&&Qn!==kt&&setTimeout(()=>{const Sn=document.getElementsByClassName("markdown-popup-form")[0],jt=window.innerWidth/2-Sn.offsetWidth/2,yn=window.innerHeight/2-Sn.offsetHeight/2;io(jt),wi(yn)},0)},[Qn]);const Aa=Sn=>{Sn.preventDefault();const jt=Sn.clientX-Ea,yn=Sn.clientY-Wo;document.body.onmousemove=Cn=>{let ha=Cn.clientX-jt,Da=Cn.clientY-yn;const wa=document.getElementsByClassName("markdown-popup-form")[0],za=window.innerWidth-wa.offsetWidth,Oa=window.innerHeight-wa.offsetHeight;ha=Math.max(0,Math.min(ha,za)),Da=Math.max(0,Math.min(Da,Oa)),pa(Cn.clientX,Cn.clientY,jt,yn)&&(io(ha),wi(Da))},document.body.onmouseup=function(){document.body.onmousemove=null}},pa=(Sn,jt,yn,Cn)=>{const ha=document.body.clientHeight,Da=document.body.clientWidth;return Sn<20&&yn>Sn||Sn>Da-20&&yn<Sn||jt<20&&Cn>jt||jt>ha-20&&Cn<jt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:oi},x.createElement("div",{className:`markdown-editor-container ${_n} ${xo?"on-preview":""} ${vn?"mini":""} ${Ra?"full-screen":""}`,style:mt},x.createElement(he,{insertTemp:Ta,watch:xo,fullScreen:Ra,showNullButton:ur,showNullProgramButton:gt,onActionCallback:Se,hidetoolBar:tn,extraUse:Wr}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:ri,placeholder:ir})),xo?x.createElement("div",{ref:Hr,className:"preview-container"},Cr==="stex"&&x.createElement(Be,{value:Mo}),Cr!=="stex"&&x.createElement(ze.Z,{disabledFill:Za,showProgramFill:gt,value:Mo})):null))),co?x.createElement("a",{ref:Qi,className:"editor-resize"}):null,Qn===En&&x.createElement(Ht,{callback:Qe,onCancel:bt}),Qn===kt&&x.createElement(st,{callback:Qe,onCancel:bt}),x.createElement(ve.Z,null,zr[Qn]&&Qn!==En&&Qn!==kt?x.createElement(ht.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ea,top:Wo},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Aa},zr[Qn]),open:!0,onCancel:bt,footer:null,destroyOnClose:!0,width:Qn===kt?"1200px":null,height:Qn===kt?"80vh":null,className:"markdown-popup-form"},rt):null))}},70859:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return le},I:function(){return ve}});var x=ee(22150),de=ee(2453),pe=ee(69677),Fe=ee(93421),xe=ee(31795),ke=ee(78045),ie=ee(71577),Ue=ee(15476),Ie=ee(67294),Te=ee(52262),ze=ee(67294),Be=Object.defineProperty,me=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Ce,be,ye)=>be in Ce?Be(Ce,be,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Ce[be]=ye,z=(Ce,be)=>{for(var ye in be||(be={}))y.call(be,ye)&&E(Ce,ye,be[ye]);if(a)for(var ye of a(be))b.call(be,ye)&&E(Ce,ye,be[ye]);return Ce},te=(Ce,be)=>me(Ce,oe(be));const{useForm:ne}=x.default,re={width:280,marginRight:10},ae={labelCol:{span:5},wrapperCol:{span:19}};var le=({callback:Ce,onCancel:be})=>{const[ye]=ne();let De=(0,Ie.useRef)();function Oe(je){De.current.width=ye.getFieldValue("width"),De.current.align=ye.getFieldValue("align"),Ce(je,De.current)}function $e(je,We){if(je.status===-1){de.ZP.error(je.message);return}ye.setFieldsValue({src:`/api/attachments/${je.id}`,type:We.type})}function Le(je){let We=je.target.files[0];De.current=We,ve(We,$e)}return ze.createElement(x.default,te(z({form:ye},ae),{className:"upload-image-panel",onFinish:Oe,style:{width:470,overflow:"hidden"}}),ze.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(pe.default,{style:re})),ze.createElement(he,{onFileChange:Le}))),ze.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(pe.default,{style:{width:264}})),ze.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(Fe.Z,null,ze.createElement(x.default.Item,{name:"width",style:{margin:0}},ze.createElement(xe.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(ke.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(x.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:be},"\u53D6\u6D88"))))};function he({onFileChange:Ce}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:Ce}))}function ve(Ce,be){if(!Ce)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Te.bg)())throw de.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ye=new FormData;ye.append("editormd-image-file",Ce),ye.append("file_param_name","editormd-image-file"),ye.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(Oe){be(JSON.parse(Oe.target.responseText),Ce)},!1),De.addEventListener("error",function(Oe){console.error(Oe)},!1),De.open("POST",`${Ue.KI}/api/attachments.json`),De.send(ye)}},76621:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return pe}});var x=ee(67294),de=ee(73935);class pe extends x.Component{constructor(xe){super(xe);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:xe}=this.props;return(0,de.createPortal)(xe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},99914:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return de}});var x=ee(67294);function de(pe,Fe){const xe=(0,x.useRef)();(0,x.useEffect)(()=>{xe.current=pe}),(0,x.useEffect)(()=>{function ke(){xe.current()}if(Fe!==null){let ie=setInterval(ke,Fe);return()=>clearInterval(ie)}},[Fe])}},70562:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return We}});var x=ee(67294),de=ee(78045),pe=ee(71577),Fe=ee(2453),xe=ee(14446),ke=ee(31795),ie=ee(71230),Ue=ee(15746),Ie=ee(96074),Te=ee(36295),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"},Be=ee(52262),me=ee(19575),oe=ee(33170),a=ee(35973),y=ee(85725),b=ee(86763),E=ee(55304),z=ee(84249),te=ee(67294),ne=Object.defineProperty,re=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,Ce=(Ke,qe,ot)=>qe in Ke?ne(Ke,qe,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Ke[qe]=ot,be=(Ke,qe)=>{for(var ot in qe||(qe={}))he.call(qe,ot)&&Ce(Ke,ot,qe[ot]);if(le)for(var ot of le(qe))ve.call(qe,ot)&&Ce(Ke,ot,qe[ot]);return Ke},ye=(Ke,qe)=>re(Ke,ae(qe)),De=(Ke,qe,ot)=>new Promise((dt,$t)=>{var gn=Bt=>{try{ht(ot.next(Bt))}catch(ut){$t(ut)}},at=Bt=>{try{ht(ot.throw(Bt))}catch(ut){$t(ut)}},ht=Bt=>Bt.done?dt(Bt.value):Promise.resolve(Bt.value).then(gn,at);ht((ot=ot.apply(Ke,qe)).next())});const Oe={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var $e=(Ke=>(Ke[Ke.SET_PATH=0]="SET_PATH",Ke[Ke.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ke))($e||{});function Le(Ke,qe){switch(qe.type){case 0:return ye(be({},Ke),{selectedPath:qe.payload});case 1:return ye(be({},Ke),{passedContent:qe.payload});default:throw new Error}}var We=({language:Ke,dispatch:qe,shixunWorkReport:ot,v:dt,languages:$t,classroomList:gn,autoHeight:at,diff_code_count:ht,data:Bt})=>{const[ut,wt]=(0,x.useState)($t==null?void 0:$t[0]),Ht=(0,a.useParams)();return(0,x.useEffect)(()=>{wt($t==null?void 0:$t[0])},[]),(0,x.useEffect)(()=>{var Ge;wt((Ge=$t==null?void 0:$t.filter(bn=>bn.language===(ut==null?void 0:ut.language)))==null?void 0:Ge[0])},[$t]),te.createElement(te.Fragment,null,te.createElement("h2",null," ",te.createElement("span",null,dt.is_finish?te.createElement("span",null,"\u6700\u540E\u901A\u5173\u4EE3\u7801",te.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")):te.createElement("span",null,"\u6700\u65B0\u4EE3\u7801",te.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")),($t==null?void 0:$t.length)>1&&te.createElement(de.ZP.Group,{defaultValue:Ke,style:{marginLeft:10},onChange:Ge=>{var bn;dt.language=Ge.target.value,wt((bn=$t==null?void 0:$t.filter(Dn=>Dn.language===Ge.target.value))==null?void 0:bn[0])}},$t==null?void 0:$t.map(Ge=>te.createElement(de.ZP,{value:Ge==null?void 0:Ge.language},Ge==null?void 0:Ge.language)))),(0,Be.GJ)()&&ot!="shixunWorkReport"&&te.createElement("span",null,te.createElement("span",null,"\u5F97\u5206 ",ut==null?void 0:ut.score,"/",ut==null?void 0:ut.total_score),te.createElement(pe.ZP,{style:{margin:"0px 10px"},onClick:()=>{var Ge,bn;if(!((bn=(Ge=gn.AssistantObject)==null?void 0:Ge.hack)!=null&&bn.can_appraise)&&(0,Be.Rm)()){Fe.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 Dn=ut==null?void 0:ut.score;xe.default.confirm({title:"\u8C03\u5206",content:te.createElement("div",null,te.createElement("p",null,"\u5F97\u5206\uFF1A",ut==null?void 0:ut.score,"/",ut==null?void 0:ut.total_score),te.createElement("p",null,"\u8C03\u5206\uFF1A",te.createElement(ke.Z,{min:0,max:ut==null?void 0:ut.total_score,defaultValue:ut==null?void 0:ut.score,onChange:Ct=>{Dn=Ct}}))),okText:"\u786E\u8BA4",onOk:()=>De(void 0,null,function*(){(yield(0,oe.ZP)(`/api/courses/${Ht==null?void 0:Ht.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:Ht==null?void 0:Ht.coursesId,hack_user_code_id:ut==null?void 0:ut.hack_user_id,score:Dn}})).status===0&&(Fe.ZP.success("\u8C03\u5206\u6210\u529F"),qe({type:"shixunHomeworks/setActionTabs",payload:{}}),qe({type:"shixunHomeworks/getShixunWorkReports",payload:be({},Ht)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,Be.GJ)()&&ot!="shixunWorkReport"&&te.createElement(pe.ZP,{onClick:()=>{var Ge;if(!((Ge=gn.AssistantObject.hack)!=null&&Ge.can_appraise)&&(0,Be.Rm)()){Fe.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}qe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:ot.user_id,type:"1",language:ut==null?void 0:ut.language,v:dt,data:be({},ot)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),te.createElement(Te.ZP,{height:300,language:ut==null?void 0:ut.language,value:ut!=null&&ut.code?me.Base64.decode(ut==null?void 0:ut.code):"",autoHeight:at,theme:"default",options:Oe}),((ut==null?void 0:ut.comment)||(ut==null?void 0:ut.hidden_comment))&&te.createElement("div",null,te.createElement(ie.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},te.createElement(Ue.Z,{flex:1},te.createElement("h1",{className:ze.title},"\u70B9\u8BC4\u5185\u5BB9")),te.createElement(Ue.Z,{className:"pr30"},(0,Be.GJ)()&&te.createElement(pe.ZP,{onClick:()=>De(void 0,null,function*(){xe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:te.createElement(E.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return De(this,null,function*(){(yield(0,b.gZ)({comment_id:ut==null?void 0:ut.comment_id,homeworkId:Ht.homeworkId,type:"hack"})).status===0&&(Fe.ZP.success("\u5220\u9664\u6210\u529F"),qe({type:"shixunHomeworks/getShixunWorkReports",payload:be({},Ht)}))})}})})},te.createElement(z.Z,null),"\u5220\u9664"))),te.createElement(Ie.Z,{style:{margin:0}}),(ut==null?void 0:ut.comment)&&te.createElement("aside",{className:"pl30 pr30 mt20"},te.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),te.createElement("br",null),te.createElement(y.Z,{value:ut==null?void 0:ut.comment})),(ut==null?void 0:ut.hidden_comment)&&te.createElement("aside",{className:"pl30 pr30 mt20"},te.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),te.createElement("br",null),te.createElement(y.Z,{value:ut==null?void 0:ut.hidden_comment}))))}},52765:function(ct,it,ee){"use strict";ee.r(it),ee.d(it,{default:function(){return be}});var x=ee(67294),de=ee(35973),pe=ee(66368),Fe=ee(71577),xe=ee(28452),ke=ee(52262),ie=ee(33170),Ue=ee(26194),Ie=ee(45160),Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAAAA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F4FmmFAUXzw+RRIogSvV+xdUFX5ILl07drBIh/quHD2bNeK+vLLum7ENXUe+Xweqqo6p6brMEsleDweJ1Eul0MgWA7Too6uYCAAryxDEvlzzU1NbeTClSsHDTHScaG7+/D6pmU9k2nt8/TU+NUl91UP53K5dblcrjKfzzOFQsFpmu01k8mgrCwAC4yjygZXVkYgy9LR1paWF0n3jz0fMMGaN8+f6z68oXnp+V/T1omRgd7ju9t3Pp9IJMTZ2dmHMpnMtnQ6/Wg2mw2pqkqy2SzcbjdcnAiOczuJIxUhVIRCu5qbV39Ivj19+oBSvfytyz/1HG5trLs4NU+O3xge6npj53Mv/PUHPj09HR4bG9s+NzfXnkymatSiCoEX4C8rA+fh4eE4GioPrI1Goz3k1Fdf7KlcEuvsu3z1mN9jjY3fSr/vgX5oV/trr/zTrtDf379wYmIinkqlHrMsi8iyDFnxQRCFsdrq6tW1tbW3yXt79z77y42J44KL5FPJOeJiXUb0/oYdu9/t/OZuW42tpa+v75iqqtvy+RwqwiEIvPjJw+vXv+q8011dXXx/f/9WWZaVQCBwE0Bfe3v7NCHE/rDuOmzw+Pj4p4lEYruLZWeqa2o2xmKxIXvCb487Tm3fsdeDAAAAAElFTkSuQmCC",ze=ee(96074),Be=ee(85725),me=ee(11320),oe=(ye,De,Oe)=>new Promise(($e,Le)=>{var je=qe=>{try{Ke(Oe.next(qe))}catch(ot){Le(ot)}},We=qe=>{try{Ke(Oe.throw(qe))}catch(ot){Le(ot)}},Ke=qe=>qe.done?$e(qe.value):Promise.resolve(qe.value).then(je,We);Ke((Oe=Oe.apply(ye,De)).next())});const a=({user:ye,item:De,getdata:Oe,params:$e})=>{var Le;const je=(0,x.useRef)(),[We,Ke]=(0,x.useState)(),[qe,ot]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{if(!je.current)return;function dt(){var gn;let at=new ResizeObserver(ht=>{for(let Bt of ht)console.log("----",Bt,ht),Ke(Bt.target.offsetHeight>=52)});return at.observe((gn=je.current)==null?void 0:gn.firstElementChild),at}const $t=dt();return()=>{var gn,at;(gn=je.current)!=null&&gn.firstElementChild&&$t.unobserve((at=je.current)==null?void 0:at.firstElementChild)}},[je.current]),x.createElement("div",{onClick:()=>{de.history.push(`/classrooms/${$e.coursesId}/program_homework/${$e.categoryId}/answer/${De.id}/detail`)},style:{padding:"0px 20px",cursor:"pointer"}},x.createElement("div",{className:Ie.Z.titles,style:{fontWeight:600,fontSize:18,color:"#000000"}},De.name),x.createElement("div",{style:{display:"flex",marginTop:10}},x.createElement("div",{style:{flex:1,display:"flex",alignItems:"center",color:"#5F6368"}},x.createElement("img",{style:{width:24,borderRadius:50},src:`${me.Z.IMG_SERVER}/images/${De.author.image_url}`}),x.createElement("span",{style:{margin:"0px 12px 0px 8px"}},(Le=De==null?void 0:De.author)==null?void 0:Le.name),x.createElement("span",null,"\u53D1\u8868\u4E8E",De.created_at)),x.createElement("div",null,x.createElement("span",{style:{color:"#5F6368",cursor:"pointer"},onClick:()=>{}},"\u56DE\u590D\uFF08",(De==null?void 0:De.descendants_count)||0,"\uFF09"),(0,ke.eB)()&&x.createElement("span",{onClick:dt=>oe(void 0,null,function*(){dt.stopPropagation(),(yield(0,ie.ZP)(`/api/hack_messages/${De.id}/update_public`,{method:"post"})).status===0&&Oe()}),style:{color:"#44D7B6",cursor:"pointer",marginLeft:20}},De.is_public?"\u53D6\u6D88\u516C\u5F00":"\u516C\u5F00"))),x.createElement("div",{ref:je,style:{margin:"15px 0px",maxHeight:qe?52:"",overflow:"hidden"}},x.createElement(Be.Z,{style:{color:"#434D6C",fontSize:14},value:De.content})),(De==null?void 0:De.hack_identifier)&&x.createElement("span",{onClick:dt=>oe(void 0,null,function*(){var $t;if(dt.stopPropagation(),(0,ke.dE)())return;let gn=yield(0,ie.ZP)(`/api/problems/${De==null?void 0:De.hack_identifier}/start.json`,{method:"get",params:{hack_user_id:($t=De==null?void 0:De.author)==null?void 0:$t.id}});gn&&(window.open(`/myproblems/${gn==null?void 0:gn.identifier}?type=1`),localStorage.setItem("program_homework",[$e.coursesId,$e.categoryId]))}),className:Ie.Z.tips},De==null?void 0:De.hack_name),We&&x.createElement("div",{onClick:dt=>{dt.stopPropagation(),ot(!qe)}},x.createElement(ze.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},x.createElement("a",{className:`font14 ${Ie.Z.color999}`},qe?"\u9605\u8BFB\u5168\u6587 ":"\u6536\u8D77\u5168\u6587 ",x.createElement("i",{className:`iconfont font14 ${qe?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`})))))};var y=(0,de.connect)(({user:ye})=>({user:ye}))(a),b=Object.defineProperty,E=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ae=(ye,De,Oe)=>De in ye?b(ye,De,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ye[De]=Oe,le=(ye,De)=>{for(var Oe in De||(De={}))ne.call(De,Oe)&&ae(ye,Oe,De[Oe]);if(te)for(var Oe of te(De))re.call(De,Oe)&&ae(ye,Oe,De[Oe]);return ye},he=(ye,De)=>E(ye,z(De)),ve=(ye,De,Oe)=>new Promise(($e,Le)=>{var je=qe=>{try{Ke(Oe.next(qe))}catch(ot){Le(ot)}},We=qe=>{try{Ke(Oe.throw(qe))}catch(ot){Le(ot)}},Ke=qe=>qe.done?$e(qe.value):Promise.resolve(qe.value).then(je,We);Ke((Oe=Oe.apply(ye,De)).next())});const Ce=({user:ye})=>{var De,Oe,$e,Le;let[je,We]=(0,x.useState)(he(le({},(0,de.useParams)()),{page:1,per_page:10,type:1,sort_by:"",course_group:(0,ke.dE)()?[ye.userInfo.course.course_group_id]:[]}));const[Ke,qe]=(0,x.useState)([]);(0,x.useEffect)(()=>{ot()},[]);function ot(){return ve(this,null,function*(){let dt=yield(0,ie.ZP)(`/api/homework_commons/${je.categoryId}/hack_messages`,{method:"get",params:he(le({},je),{type:1})});qe(dt)})}return x.createElement("div",{style:{width:1200,margin:"0px auto"}},x.createElement("div",{style:{marginTop:10,display:"flex"}},x.createElement("div",{style:{flex:1,marginRight:30,background:"#fff"}},x.createElement(pe.default,{tabBarStyle:{padding:"0px 10px"},style:{width:"850px"},tabBarExtraContent:(0,ke.dE)()&&x.createElement(Fe.ZP,{type:"primary",style:{width:88},onClick:()=>{de.history.push(`/classrooms/${je.coursesId}/program_homework/${je.categoryId}/answer/add`)}},"\u53D1\u8868\u7B54\u7591 "),onChange:dt=>{dt==="1"?je.sort_by="":je.sort_by="created_at",We(le({},je)),ot()}},x.createElement(pe.default.TabPane,{key:"1",tab:"\u6700\u65B0\u56DE\u590D"}),x.createElement(pe.default.TabPane,{key:"2",tab:"\u6700\u65B0\u53D1\u8868"})),((De=Ke==null?void 0:Ke.data)==null?void 0:De.length)<=0&&x.createElement(Ue.Z,{customText:"\u6682\u65E0\u8BA8\u8BBA"}),(Oe=Ke==null?void 0:Ke.data)==null?void 0:Oe.map(dt=>x.createElement(y,{item:dt,params:je,getdata:ot})),x.createElement("div",{style:{width:"100%",textAlign:"center",marginTop:10}},x.createElement(xe.Z,{current:je.page,pageSize:je.per_page,total:Ke==null?void 0:Ke.count,hideOnSinglePage:!0,onChange:(dt,$t)=>{je.page=dt,je.per_page=$t,We(le({},je)),ot()}}))),x.createElement("div",{className:Ie.Z.right,style:{width:300,height:"100%"}},x.createElement("div",{style:{display:"flex"}},x.createElement("div",{style:{flex:1,display:"flex",alignItems:"center"}},x.createElement("span",{style:{marginRight:3,fontSize:20,fontWeight:600,color:"#000"}},"\u5E7F\u64AD"),x.createElement("img",{width:21,src:Te})," "),(0,ke.GJ)()&&x.createElement(Fe.ZP,{type:"primary",onClick:()=>{de.history.push(`/classrooms/${je.coursesId}/program_homework/${je.categoryId}/answer/add`)}},"\u53D1\u5E03\u5E7F\u64AD")),(($e=Ke==null?void 0:Ke.radio_messages)==null?void 0:$e.length)<=0&&x.createElement(Ue.Z,null),(Le=Ke==null?void 0:Ke.radio_messages)==null?void 0:Le.map(dt=>x.createElement("div",{onClick:()=>{de.history.push(`/classrooms/${je.coursesId}/program_homework/${je.categoryId}/answer/${dt.id}/detail`)},style:{marginTop:30,cursor:"pointer"}},x.createElement("div",{className:Ie.Z.title,style:{fontSize:"16px",fontWeight:600}},x.createElement("span",{style:{color:(dt==null?void 0:dt.message_type)===2?"#4C7BE6":"#E17E7E"}},(dt==null?void 0:dt.message_type)===2?"\u3010\u9898\u89E3\u3011":"\u3010\u901A\u77E5\u3011"),x.createElement("span",{title:dt.name},dt.name)),x.createElement("div",{style:{marginTop:15,color:"#5F6368"}},"\u53D1\u8868\u4E8E",dt.created_at))))))};var be=(0,de.connect)(({user:ye})=>({user:ye}))(Ce)},42469:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return he}});var x=ee(67294),de={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ie=(ve,Ce,be)=>Ce in ve?pe(ve,Ce,{enumerable:!0,configurable:!0,writable:!0,value:be}):ve[Ce]=be,Ue=(ve,Ce)=>{for(var be in Ce||(Ce={}))xe.call(Ce,be)&&ie(ve,be,Ce[be]);if(Fe)for(var be of Fe(Ce))ke.call(Ce,be)&&ie(ve,be,Ce[be]);return ve};const Ie=ve=>React.createElement("svg",Ue({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},ve),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var Te="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",ze=ee(66368),Be=ee(94184),me=ee.n(Be),oe=ee(67294),a=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(ve,Ce,be)=>Ce in ve?a(ve,Ce,{enumerable:!0,configurable:!0,writable:!0,value:be}):ve[Ce]=be,re=(ve,Ce)=>{for(var be in Ce||(Ce={}))z.call(Ce,be)&&ne(ve,be,Ce[be]);if(E)for(var be of E(Ce))te.call(Ce,be)&&ne(ve,be,Ce[be]);return ve},ae=(ve,Ce)=>y(ve,b(Ce)),he=({dataSource:ve,className:Ce,style:be})=>{const[ye,De]=(0,x.useState)([]),[Oe,$e]=(0,x.useState)(""),Le=(0,x.useRef)("");(0,x.useEffect)(()=>{if(ve!=null&&ve.length){const Ke=String(Math.random()).slice(-6),qe=ve.map(ot=>ae(re({},ot),{key:`${Ke}-${ot.key}`}));De(qe),$e(qe[0].key)}},[ve.length]);const je=Ke=>{$e(Ke),Le.current=Ke;const qe=document.getElementById(Ke);if(qe){const ot=qe.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:ot,behavior:"smooth"})}},We=()=>{const Ke=ye.map(ot=>document.getElementById(ot.key)),qe=window.innerHeight/2;for(const ot of Ke)if(ot){const dt=ot.getBoundingClientRect();if(dt.top>=0&&dt.top<qe){if(Le.current===ot.id){Le.current="";return}if(Le.current)return;$e(ot.id);break}}};return(0,x.useEffect)(()=>(window.addEventListener("scroll",We),()=>{window.removeEventListener("scroll",We)}),[ye]),oe.createElement("div",{className:me()(de.anchorNavigation,Ce),style:be},oe.createElement(ze.default,{items:ye,tabBarGutter:60,className:de.tabs,activeKey:Oe,onChange:je}),ye.map(Ke=>oe.createElement("div",{key:Ke.key,id:Ke.key,className:de.box},oe.createElement("div",{className:de.head},oe.createElement("img",{className:"mr10",src:Te,alt:"Dot"}),Ke.label),oe.createElement("div",{className:de.element},Ke.element))))}},98595:function(ct,it,ee){"use strict";var x=ee(67294),de=ee(14446),pe=ee(2453),Fe=ee(33170),xe=ee(35973),ke=Object.defineProperty,ie=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Te=(a,y,b)=>y in a?ke(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,ze=(a,y)=>{for(var b in y||(y={}))Ue.call(y,b)&&Te(a,b,y[b]);if(ie)for(var b of ie(y))Ie.call(y,b)&&Te(a,b,y[b]);return a},Be=(a,y)=>{var b={};for(var E in a)Ue.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&&Ie.call(a,E)&&(b[E]=a[E]);return b},me=(a,y,b)=>new Promise((E,z)=>{var te=ae=>{try{re(b.next(ae))}catch(le){z(le)}},ne=ae=>{try{re(b.throw(ae))}catch(le){z(le)}},re=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(te,ne);re((b=b.apply(a,y)).next())});const oe=a=>{var y=a,{shixunHomeworks:b,dispatch:E}=y,z=Be(y,["shixunHomeworks","dispatch"]);const te=(0,xe.useParams)();return x.createElement(de.default,{centered:!0,title:"\u63D0\u793A",open:b.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>me(void 0,null,function*(){(yield(0,Fe.ZP)(`/api/myshixuns/${b.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:te.coursesId}})).shixun_identifier&&(pe.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:{}})}},x.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),x.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};it.Z=(0,xe.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(oe)},96469:function(ct,it,ee){"use strict";ee.d(it,{n:function(){return vt},Z:function(){return En}});var x=ee(67294),de=ee(22150),pe=ee(2453),Fe=ee(83062),xe=ee(14446),ke=ee(68508),ie=ee(84567),Ue=ee(71230),Ie=ee(15746),Te=ee(69677),ze=ee(71577),Be=ee(85418),me=ee(9430),oe=ee(78045),a=ee(31795),y=ee(28452),b=ee(42922),E=ee(53978),z=ee(33863),te=ee(33463),ne=ee(26194),re=ee(28706),ae=ee(98595),le=ee(87995),he=ee(33170),ve=ee(35973),Ce=Object.defineProperty,be=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Oe=(Lt,Mt,pt)=>Mt in Lt?Ce(Lt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Lt[Mt]=pt,$e=(Lt,Mt)=>{for(var pt in Mt||(Mt={}))ye.call(Mt,pt)&&Oe(Lt,pt,Mt[pt]);if(be)for(var pt of be(Mt))De.call(Mt,pt)&&Oe(Lt,pt,Mt[pt]);return Lt},Le=(Lt,Mt)=>{var pt={};for(var an in Lt)ye.call(Lt,an)&&Mt.indexOf(an)<0&&(pt[an]=Lt[an]);if(Lt!=null&&be)for(var an of be(Lt))Mt.indexOf(an)<0&&De.call(Lt,an)&&(pt[an]=Lt[an]);return pt},je=(Lt,Mt,pt)=>new Promise((an,Gt)=>{var pn=Yn=>{try{Fn(pt.next(Yn))}catch(fa){Gt(fa)}},$n=Yn=>{try{Fn(pt.throw(Yn))}catch(fa){Gt(fa)}},Fn=Yn=>Yn.done?an(Yn.value):Promise.resolve(Yn.value).then(pn,$n);Fn((pt=pt.apply(Lt,Mt)).next())});const We=Lt=>{var Mt=Lt,{shixunHomeworks:pt,dispatch:an}=Mt,Gt=Le(Mt,["shixunHomeworks","dispatch"]);const pn=(0,ve.useParams)(),[$n,Fn]=(0,x.useState)(!0),[Yn,fa]=(0,x.useState)(!1),[Yt]=de.default.useForm(),Qt=()=>je(void 0,null,function*(){const nn=Yt.getFieldValue();(yield(0,he.ZP)(`/api/homework_commons/${pn.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...pt.actionTabs.selectArrs],cover_all:$n,hidden_comment:nn.hidden_comment,comment:nn.comment}})).status===0&&(pe.ZP.success("\u8BC4\u9605\u6210\u529F"),Yt.resetFields(),an({type:"shixunHomeworks/setActionTabs",payload:{}}),an({type:"shixunHomeworks/getWorkList",payload:$e({},pt.actionTabs.params)}))});return x.createElement(x.Fragment,null,x.createElement(xe.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:pt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>je(void 0,null,function*(){const nn=Yt.getFieldValue();JSON.stringify(nn)==="{}"||nn.hidden_comment===""&&nn.comment===""?fa(!0):pt.workList.partial_comment?an({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:pt.actionTabs.selectArrs,params:pt.actionTabs.params}}):Qt()}),onCancel:()=>{an({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(de.default,{form:Yt,onChange:()=>{Yn&&fa(!1)}},x.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(de.default.Item,{name:"comment"},x.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),x.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(de.default.Item,{name:"hidden_comment"},x.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Yn&&x.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),x.createElement(xe.default,{centered:!0,title:x.createElement("span",null,x.createElement(le.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:pt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Qt()},onCancel:()=>{an({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},x.createElement("div",{className:"tc"},x.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"),x.createElement("p",null,x.createElement(oe.ZP.Group,{onChange:nn=>{Fn(nn.target.value)},value:$n},x.createElement(oe.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),x.createElement(oe.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ke=(0,ve.connect)(({shixunHomeworks:Lt})=>({shixunHomeworks:Lt}))(We),qe=ee(86763),ot=ee(52262),dt={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"},$t=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,ht=(Lt,Mt)=>{var pt={};for(var an in Lt)gn.call(Lt,an)&&Mt.indexOf(an)<0&&(pt[an]=Lt[an]);if(Lt!=null&&$t)for(var an of $t(Lt))Mt.indexOf(an)<0&&at.call(Lt,an)&&(pt[an]=Lt[an]);return pt},Bt=(Lt,Mt,pt)=>new Promise((an,Gt)=>{var pn=Yn=>{try{Fn(pt.next(Yn))}catch(fa){Gt(fa)}},$n=Yn=>{try{Fn(pt.throw(Yn))}catch(fa){Gt(fa)}},Fn=Yn=>Yn.done?an(Yn.value):Promise.resolve(Yn.value).then(pn,$n);Fn((pt=pt.apply(Lt,Mt)).next())});const ut=Lt=>{var Mt=Lt,{shixunHomeworks:pt,dispatch:an}=Mt,Gt=ht(Mt,["shixunHomeworks","dispatch"]),pn,$n,Fn,Yn;const fa=(0,ve.useParams)(),[Yt,Qt]=(0,x.useState)(!1),[nn,ua]=(0,x.useState)(($n=(pn=pt.actionTabs.selectArrs)==null?void 0:pn.data)==null?void 0:$n.name),[ra]=de.default.useForm();(0,x.useEffect)(()=>{var Na,Ma,vr,zr,La,Je;pt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&ra.setFieldsValue({comment:(Ma=(Na=pt.actionTabs.selectArrs)==null?void 0:Na.data)==null?void 0:Ma.work_comment,hidden_comment:(zr=(vr=pt.actionTabs.selectArrs)==null?void 0:vr.data)==null?void 0:zr.work_comment_hidden}),ua((Je=(La=pt.actionTabs.selectArrs)==null?void 0:La.data)==null?void 0:Je.name)},[pt.actionTabs.key]);const jn=()=>Bt(void 0,null,function*(){var Na,Ma;const vr=ra.getFieldValue();if((yield(0,he.ZP)(`/api/student_works/${(Ma=(Na=pt.actionTabs.selectArrs)==null?void 0:Na.data)==null?void 0:Ma.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:vr.hidden_comment,comment:vr.comment}})).status===0)return pe.ZP.success("\u8BC4\u9605\u6210\u529F"),ra.resetFields(),an({type:"shixunHomeworks/setActionTabs",payload:{}}),an({type:"shixunHomeworks/getWorkList",payload:fa})});return x.createElement(x.Fragment,null,x.createElement(xe.default,{centered:!0,title:(Yn=(Fn=pt.actionTabs.selectArrs)==null?void 0:Fn.data)!=null&&Yn.work_comment_hidden?"\u66F4\u6539"+nn+"\u70B9\u8BC4":nn+"\u70B9\u8BC4",open:pt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Bt(void 0,null,function*(){const Na=ra.getFieldValue();JSON.stringify(Na)==="{}"||Na.hidden_comment===""&&Na.comment===""?Qt(!0):jn()}),onCancel:()=>{an({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(de.default,{form:ra,onChange:()=>{Yt&&Qt(!1)}},x.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(de.default.Item,{name:"comment"},x.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),x.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(de.default.Item,{name:"hidden_comment"},x.createElement(Te.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Yt&&x.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var wt=(0,ve.connect)(({shixunHomeworks:Lt})=>({shixunHomeworks:Lt}))(ut),Ht=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Dn=(Lt,Mt)=>{var pt={};for(var an in Lt)Ge.call(Lt,an)&&Mt.indexOf(an)<0&&(pt[an]=Lt[an]);if(Lt!=null&&Ht)for(var an of Ht(Lt))Mt.indexOf(an)<0&&bn.call(Lt,an)&&(pt[an]=Lt[an]);return pt},Ct=(Lt,Mt,pt)=>new Promise((an,Gt)=>{var pn=Yn=>{try{Fn(pt.next(Yn))}catch(fa){Gt(fa)}},$n=Yn=>{try{Fn(pt.throw(Yn))}catch(fa){Gt(fa)}},Fn=Yn=>Yn.done?an(Yn.value):Promise.resolve(Yn.value).then(pn,$n);Fn((pt=pt.apply(Lt,Mt)).next())});const Kt=Lt=>{var Mt=Lt,{shixunHomeworks:pt,dispatch:an}=Mt,Gt=Dn(Mt,["shixunHomeworks","dispatch"]);const pn=(0,ve.useParams)(),[$n,Fn]=(0,x.useState)([]),[Yn,fa]=(0,x.useState)([]);(0,x.useEffect)(()=>{pt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&Yt()},[pt.actionTabs.key]);function Yt(){return Ct(this,null,function*(){const nn=yield(0,he.ZP)(`/api/homework_commons/${pn.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});Fn(nn)})}const Qt=[{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 x.createElement(x.Fragment,null,x.createElement(xe.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:pt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ct(void 0,null,function*(){const nn=yield(0,he.ZP)(`/api/homework_commons/${pn.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:Yn}});(nn==null?void 0:nn.status)===0&&(ve.history.replace(`/classrooms/${pn.coursesId}/shixun_homework/${pn.categoryId}/detail?tabs=4`),window.location.reload(),an({type:"shixunHomeworks/setActionTabs",payload:{}}),fa([]))}),onCancel:()=>{fa([]),an({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(me.default,{rowSelection:{type:"checkbox",onChange:(nn,ua)=>{fa([...nn])},selectedRowKeys:Yn,getCheckboxProps:nn=>({disabled:nn.status==="\u8FDB\u884C\u4E2D"||nn.works_count===0})},rowKey:nn=>nn.key||nn.id,scroll:{y:300},pagination:!1,columns:Qt,dataSource:$n==null?void 0:$n.group_list})))};var Ut=(0,ve.connect)(({shixunHomeworks:Lt})=>({shixunHomeworks:Lt}))(Kt),Rt=ee(35567),St=ee(98769),Ft=Object.defineProperty,Pt=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,Ot=(Lt,Mt,pt)=>Mt in Lt?Ft(Lt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Lt[Mt]=pt,xt=(Lt,Mt)=>{for(var pt in Mt||(Mt={}))st.call(Mt,pt)&&Ot(Lt,pt,Mt[pt]);if(Pt)for(var pt of Pt(Mt))Jt.call(Mt,pt)&&Ot(Lt,pt,Mt[pt]);return Lt},mn=(Lt,Mt,pt)=>new Promise((an,Gt)=>{var pn=Yn=>{try{Fn(pt.next(Yn))}catch(fa){Gt(fa)}},$n=Yn=>{try{Fn(pt.throw(Yn))}catch(fa){Gt(fa)}},Fn=Yn=>Yn.done?an(Yn.value):Promise.resolve(Yn.value).then(pn,$n);Fn((pt=pt.apply(Lt,Mt)).next())});const en=({shixunHomeworks:Lt,dispatch:Mt,isShow:pt,setIsShow:an,item:Gt,coursesId:pn,categoryId:$n})=>{const[Fn,Yn]=(0,x.useState)({page:1,limit:10}),[fa,Yt]=(0,x.useState)([]),[Qt,nn]=(0,x.useState)(!1);(0,x.useEffect)(()=>{pt&&ua()},[pt]);function ua(){return mn(this,null,function*(){nn(!0);const jn=yield(0,he.ZP)(`/api/student_works/${Gt.id}/game_details.json`,{method:"get",params:xt({},Fn)});nn(!1),jn.status===0&&Yt(jn==null?void 0:jn.data)})}const ra=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(jn,Na,Ma)=>x.createElement("span",{style:{color:"#000"}},Fn.limit*(Fn.page-1)+Ma+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(jn,Na,Ma)=>x.createElement("span",{style:{color:"#000"}},jn)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(jn,Na,Ma)=>x.createElement("span",null,jn==0?"\u672A\u901A\u5173":jn==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:(jn,Na,Ma)=>x.createElement("span",{style:{color:"#333"}},jn)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(jn,Na,Ma)=>x.createElement("span",{style:{color:"#333"}},jn)}];return x.createElement(x.Fragment,null,x.createElement(xe.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:pt,width:700,footer:null,maskClosable:!1,onCancel:()=>{Fn.page=1,Fn.limit=10,Yn(xt({},Fn)),an(!1)}},x.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},x.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},x.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),x.createElement("span",{title:Gt==null?void 0:Gt.user_name,style:{color:"#232B40"}},Gt==null?void 0:Gt.user_name)),x.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},x.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u53F7"),x.createElement("span",{title:Gt==null?void 0:Gt.student_id,style:{color:"#232B40"}},(Gt==null?void 0:Gt.student_id)||"--")),x.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},x.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),x.createElement("span",{title:Gt==null?void 0:Gt.group_name,style:{color:"#232B40"}},(Gt==null?void 0:Gt.group_name)||"--"))),x.createElement(me.default,{scroll:{y:380},columns:ra,loading:Qt,style:{marginBottom:Fn.limit>(fa==null?void 0:fa.count)?"16px":"0"},dataSource:fa.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:Fn.limit,current:Fn.page,position:["bottomRight"],onChange:(jn,Na)=>{Fn.page=jn,Fn.limit=Na,Yn(xt({},Fn)),ua()},total:fa==null?void 0:fa.count,showTotal:(jn,Na)=>x.createElement("span",null,"\u5171",x.createElement("span",{style:{color:"#165DFF"}}," ",jn," "),"\u6761\u6570\u636E")}})))};var Ve=(0,ve.connect)(({shixunHomeworks:Lt})=>({shixunHomeworks:Lt}))(en),Re=ee(67294),In=Object.defineProperty,we=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,et=(Lt,Mt,pt)=>Mt in Lt?In(Lt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Lt[Mt]=pt,Ye=(Lt,Mt)=>{for(var pt in Mt||(Mt={}))He.call(Mt,pt)&&et(Lt,pt,Mt[pt]);if(we)for(var pt of we(Mt))Wt.call(Mt,pt)&&et(Lt,pt,Mt[pt]);return Lt},yt=(Lt,Mt,pt)=>new Promise((an,Gt)=>{var pn=Yn=>{try{Fn(pt.next(Yn))}catch(fa){Gt(fa)}},$n=Yn=>{try{Fn(pt.throw(Yn))}catch(fa){Gt(fa)}},Fn=Yn=>Yn.done?an(Yn.value):Promise.resolve(Yn.value).then(pn,$n);Fn((pt=pt.apply(Lt,Mt)).next())});const vt=({value:Lt,placeholder:Mt=""})=>{if(Lt==null||Lt==="")return Re.createElement("span",null,Mt);{const pt=Number(Lt);if(pt>=80)return Re.createElement("span",{style:{color:"#009C0F"}},pt);if(pt<80&&pt>=60)return Re.createElement("span",{style:{color:"#FA6400"}},pt);if(pt<60)return Re.createElement("span",{style:{color:"#E30000"}},pt)}},kt=({shixunHomeworks:Lt,classroomList:Mt,globalSetting:pt,loading:an,dispatch:Gt,setExportParams:pn,user:$n})=>{var Fn,Yn,fa,Yt,Qt,nn,ua,ra,jn,Na,Ma,vr,zr;const La=(0,ve.useParams)(),[Je,Dt]=(0,x.useState)(Ye(Ye({},{page:1,limit:20,order:"work_score",b_order:"desc"}),La)),[Et]=de.default.useForm(),[Rn,vn]=(0,x.useState)(),[Un,$r]=(0,x.useState)({}),[Ta,Cr]=(0,x.useState)([]),[_r,co]=(0,x.useState)(!1),[Jn,ur]=(0,x.useState)([]),[gt,tn]=(0,x.useState)(!1),[Xt,cn]=(0,x.useState)(),[Kn,rn]=(0,x.useState)(1),[_n,wn]=(0,x.useState)(),[la,Za]=(0,x.useState)(),[ir,Or]=(0,x.useState)(),[Wr,Nn]=(0,x.useState)(),[Go,Mo]=(0,x.useState)(),[Sr,xo]=(0,x.useState)(!1),[sa,Ra]=(0,x.useState)(!1),[mr,Qn]=(0,x.useState)(),Vr=(0,ve.useLocation)();(0,x.useEffect)(()=>(Nr(),()=>{$r([]),Cr([])}),[Je.coursesId]),(0,x.useEffect)(()=>{var Zn;const Ea=JSON.parse(JSON.stringify(Lt.workList));!((Zn=Ea==null?void 0:Ea.student_works)!=null&&Zn.length)&&(Ea!=null&&Ea.id)?(Ea.student_works=[Ye({},Ea)],$r(Ea)):(Ea!=null&&Ea.id&&Cr([Ye(Ye({},Ea),{number:"\u6211"})]),$r(Ye({},Ea)))},[Lt.workList]);const Nr=Zn=>(pn(Ye({},Je)),Gt({type:"shixunHomeworks/getWorkList",payload:Je}));(0,x.useEffect)(()=>{Gt({type:"user/getUserInfo",payload:{course_id:Je.coursesId}})},[]);const Uo=()=>yt(void 0,null,function*(){const Zn=yield(0,qe.Uc)({categoryId:La.categoryId});vn(Zn==null?void 0:Zn.update_score)}),Ao=()=>yt(void 0,null,function*(){Gt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const Zn=yield(0,qe.Vs)({categoryId:La.categoryId});Gt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(Zn==null?void 0:Zn.status)===0&&(pe.ZP.success(Zn==null?void 0:Zn.message),Nr())}),ko=()=>{Je.page=1;const Zn=Object.assign({},Et.getFieldsValue());delete Je.course_group,delete Je.teacher_comment,Object.keys(Zn).map(function(Ea){var io;switch(Ea){case"task_status":Zn[Ea].includes("all")||!Zn[Ea].length?(delete Je.work_status,Et.setFieldsValue({task_status:"all"})):(Je.work_status=Zn[Ea],Et.setFieldsValue({task_status:Je.work_status}));break;case"course_group_info":Zn[Ea].includes("all")||!Zn[Ea].length?(delete Je.course_group,Et.setFieldsValue({course_group_info:"all"})):(Je.course_group=Zn[Ea],Et.setFieldsValue({course_group_info:Je.course_group}));break;case"teacher_comment":Zn[Ea].includes("all")||!Zn[Ea].length?(delete Je.teacher_comment,Et.setFieldsValue({teacher_comment:"all"})):(Je.teacher_comment=((io=Zn[Ea])==null?void 0:io.length)===1?Number(Zn[Ea][0]):"",Et.setFieldsValue({teacher_comment:Zn[Ea]}));break}}),Nr()};(0,x.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Mo(47),xo(!0))},[document.getElementById("divhe")]);const ji=(Zn,Ea)=>{Je.page=Zn,Je.limit=20,Nr()};function Jo(){rn(1),wn(""),Za(""),Or(""),Nn(""),ur([])}const nl=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(Zn,Ea,io)=>Je.limit*(Je.page-1)+io+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:Zn=>Re.createElement(Fe.Z,{placement:"bottomLeft",title:Zn},Re.createElement("span",{className:"current"},Zn))},!(0,ot.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:Je.order==="student_id"?Je.b_order==="desc"?"descend":"ascend":null,render:Zn=>Re.createElement(Fe.Z,{placement:"bottomLeft",title:Zn||"--"},Re.createElement("span",{className:"current"},Zn||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(Zn,Ea)=>Zn?Re.createElement(Fe.Z,{placement:"bottom",title:Zn},Re.createElement("span",{className:"current"},Zn)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:Je.order==="work_status"?Je.b_order==="desc"?"descend":"ascend":null,render:Zn=>Re.createElement(re.lC,{status:Zn})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:Je.order==="achieve_time"?Je.b_order==="desc"?"descend":"ascend":null,render:(Zn,Ea)=>Re.createElement(Fe.Z,{placement:"bottomLeft",title:Zn},Re.createElement("span",{className:"current"},Zn))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(Zn,Ea)=>Re.createElement("span",{onClick:io=>{var Wo;io.stopPropagation(),(Wo=Un.homework_status)!=null&&Wo.includes("\u5BFC\u5165")&&(Qn(Ea),Ra(!0))}},Zn||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:Je.order==="work_score"?Je.b_order==="desc"?"descend":"ascend":null,render:(Zn,Ea)=>Re.createElement(Fe.Z,{title:Re.createElement(Re.Fragment,null,Re.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ea==null?void 0:Ea.late_final_score)||0),Re.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ea==null?void 0:Ea.late_penalty)||0),Re.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ea==null?void 0:Ea.score)||0))},vt({value:Zn,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:Je.order==="achieve_time_long"?Je.b_order==="desc"?"descend":"ascend":null,render:(Zn,Ea)=>Zn&&Zn!="--"?Re.createElement(Fe.Z,{placement:"bottom",title:Zn},Re.createElement("span",{className:"current"},Zn)):"--"},((Fn=Un.homework_status)==null?void 0:Fn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((Yn=Un.homework_status)!=null&&Yn.includes("\u5BFC\u5165"))&&{title:Re.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:Zn=>Zn?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(Zn,Ea)=>{var io;return(io=Un.homework_status)!=null&&io.includes("\u5BFC\u5165")?(0,ot.GJ)()?Re.createElement("a",{onClick:Wo=>{Wo.stopPropagation(),Gt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Ea==null?void 0:Ea.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):Re.createElement("a",{onClick:Wo=>{Wo.stopPropagation(),Qn(Ea),Ra(!0)}},"\u67E5\u770B"):(0,ot.dE)()?Re.createElement("div",null,(0,re.JL)(Ea==null?void 0:Ea.work_status)==="\u672A\u5F00\u542F"?Re.createElement("span",null,"--"):Re.createElement("a",{onClick:Wo=>{var wi;if(Wo.stopPropagation(),(0,ot.Rm)()&&!((wi=Mt.AssistantObject.hack)!=null&&wi.can_view)){pe.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/${Je.coursesId}/program_homework/${Je.categoryId}/${Ea.id}/${Ea.user_id}/comment`,"_blank")}},"\u67E5\u770B")):Re.createElement("a",{target:"_blank",onClick:Wo=>{var wi,ri;if(Wo.stopPropagation(),(0,ot.Rm)()&&!((wi=Mt.AssistantObject.hack)!=null&&wi.can_view)){pe.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((ri=$n.userInfo)!=null&&ri.professional_certification)window.open(`/classrooms/${Je.coursesId}/program_homework/${Je.categoryId}/${Ea.id}/${Ea.user_id}/comment`,"_blank");else return xe.default.confirm({title:"\u63D0\u793A",centered:!0,content:Re.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,re.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(Zn=>!!Zn),al=()=>{var Zn,Ea;return Re.createElement(ke.default,null,Re.createElement(ke.default.Item,{onClick:()=>{var io;if((0,ot.Rm)()&&!((io=Mt.AssistantObject.hack)!=null&&io.can_download)){pe.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}Gt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:Un==null?void 0:Un.course_group_info,fn:()=>{(0,St.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,ot.GJ)()&&((Zn=Un==null?void 0:Un.student_works)==null?void 0:Zn.length)>0&&!((Ea=Un==null?void 0:Un.homework_status)!=null&&Ea.includes("\u5BFC\u5165"))&&Re.createElement(ke.default.Item,{key:"3",onClick:()=>{var io;if((0,ot.Rm)()&&!((io=Mt.AssistantObject.hack)!=null&&io.can_download)){pe.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}Gt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:Un==null?void 0:Un.course_group_info,fn:()=>{var Wo,wi,ri,oi;Gt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),ve.history.push(`/classrooms/${Je==null?void 0:Je.coursesId}/program_homework/${Je.categoryId}/${(wi=(Wo=Un==null?void 0:Un.student_works)==null?void 0:Wo[0])==null?void 0:wi.id}/${(oi=(ri=Un==null?void 0:Un.student_works)==null?void 0:ri[0])==null?void 0:oi.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),Re.createElement(ke.default.Item,{key:"2",onClick:()=>{var io;if((0,ot.Rm)()&&!((io=Mt.AssistantObject.hack)!=null&&io.can_download)){pe.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/${Je.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return Re.createElement(Re.Fragment,null,Re.createElement("section",{className:`${dt.wrap} minH500 bg-white pl30 pr30 pt30`},((fa=Un.homework_status)==null?void 0:fa.includes("\u672A\u53D1\u5E03"))&&Re.createElement(ne.Z,null),!((Yt=Un.homework_status)!=null&&Yt.includes("\u672A\u53D1\u5E03"))&&Re.createElement("aside",null,!(0,ot.GJ)()&&Re.createElement("div",{className:"c-light-black font12"},Re.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",Un==null?void 0:Un.publish_time),Re.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",Un==null?void 0:Un.end_time),Re.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(Un==null?void 0:Un.late_time)||"- -")),(0,ot.GJ)()&&Re.createElement(Re.Fragment,null,Re.createElement(de.default,{form:Et,onChange:ko,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Qt=Un.task_status)==null?void 0:Qt.length)>0&&Re.createElement(de.default.Item,{name:"task_status"},Re.createElement(ie.default.Group,{value:[],style:{width:"100%"}},Re.createElement(Ue.Z,null,Re.createElement(Ie.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),Re.createElement(Ie.Z,{flex:"80px"},Re.createElement(ie.default,{value:"all"},"\u5168\u90E8")),Re.createElement(Ie.Z,{flex:"1"},Un.task_status&&Un.task_status.map((Zn,Ea)=>Re.createElement(ie.default,{name:"task_status",value:Zn.id},Zn.name,"(",Zn.count,")")))))),((nn=Un.course_group_info)==null?void 0:nn.length)>0&&Re.createElement(de.default.Item,{name:"course_group_info"},Re.createElement(ie.default.Group,{style:{width:"100%"}},Re.createElement(Ue.Z,null,Re.createElement(Ie.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),Re.createElement(Ie.Z,{flex:"80px"},Re.createElement(ie.default,{value:"all"},"\u5168\u90E8")),Re.createElement(Ie.Z,{flex:"1",id:"divhe",style:{height:Go+"px",overflow:"hidden"}},(ua=Un.course_group_info)==null?void 0:ua.map((Zn,Ea)=>Re.createElement(ie.default,{value:Zn.course_group_id},Zn.group_group_name,"(",Zn.count,")"))),Sr&&Re.createElement("span",{onClick:()=>{let Zn=document.getElementById("divhe").scrollHeight;Go>47?Mo(47):Mo(Zn)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Go===47?"\u5C55\u5F00":"\u6536\u8D77",Go===47?Re.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):Re.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((ra=Un.teacher_comment)==null?void 0:ra.length)>0&&Re.createElement(de.default.Item,{name:"teacher_comment"},Re.createElement(ie.default.Group,{style:{width:"100%"}},Re.createElement(Ue.Z,null,Re.createElement(Ie.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),Re.createElement(Ie.Z,{flex:"80px"},Re.createElement(ie.default,{value:"all"},"\u5168\u90E8")),Re.createElement(Ie.Z,{flex:"1"},Un.teacher_comment&&Un.teacher_comment.map((Zn,Ea)=>Re.createElement(ie.default,{value:String(Zn.id)},Zn.name,"(",Zn.count,")"))))))),Re.createElement(Ue.Z,{align:"middle"},Re.createElement(Ie.Z,{flex:"1"},Re.createElement(Ue.Z,{align:"middle"},Re.createElement(Ie.Z,null,Re.createElement(Te.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:Zn=>{Je.search=Zn.trim(),Je.page=1,Nr()},style:{width:240}})),Re.createElement(Ie.Z,null,Re.createElement("span",{className:"ml5"},Re.createElement("span",{className:"c-red"},Un.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",Un.work_count,"\u4E2A\u5B66\u751F\uFF09")))),Re.createElement(Ie.Z,null,(0,ot.GJ)()&&!((jn=Un.homework_status)!=null&&jn.includes("\u5BFC\u5165"))&&!((Na=pt==null?void 0:pt.setting)!=null&&Na.hide_code_repeat)&&Re.createElement(ze.ZP,{className:"ml10",onClick:()=>{Gt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:Un.student_works.map(Zn=>Zn.id),params:Je}})}},Re.createElement("span",{className:`${dt.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,ot.GJ)()&&!((Ma=Un.homework_status)!=null&&Ma.includes("\u5BFC\u5165"))&&Re.createElement(ze.ZP,{className:"ml10",onClick:Ao},Re.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,ot.GJ)()&&Re.createElement(Be.Z,{dropdownRender:al,className:"ml10"},Re.createElement(ze.ZP,null,Re.createElement(z.Z,null),"\u5BFC\u51FA",Re.createElement(te.Z,null)))))),Re.createElement(Ue.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,ot.GJ)()&&Rn&&Re.createElement("span",null,Re.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")),Re.createElement(me.default,{className:`mt30 ${dt.TableDom}`,loading:an["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:Zn=>({onClick:Ea=>{var io,Wo;if(!((io=Un.homework_status)!=null&&io.includes("\u5BFC\u5165"))){if((0,ot.Rm)()&&!((Wo=Mt.AssistantObject.hack)!=null&&Wo.can_view)){pe.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/${Je.coursesId}/program_homework/${Je.categoryId}/${Zn.id}/${Zn.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:Un.student_works,columns:nl,onChange:(Zn,Ea,io)=>{io.field&&(Je.order=io.field==="score"?"work_score":io.field),io.order||(Je.b_order="asc"),io.order==="ascend"&&(Je.b_order="asc"),io.order==="descend"&&(Je.b_order="desc"),io.order||(Je.b_order="asc"),Nr()}}),Re.createElement(Ke,null),Re.createElement(wt,null),Re.createElement(ae.Z,null)),Re.createElement(xe.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:_r,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>yt(void 0,null,function*(){if(Kn===2){if(Jn.length<=0){pe.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!Wr){pe.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let Zn=yield(0,he.ZP)(`/api/homework_commons/${Je.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Je.categoryId,comment:Wr,status:Jn}});Zn.status===0&&(cn(Zn),co(!1),tn(!0))}else{if(!(ir===0||la===0)){if(!ir){pe.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!la){pe.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(ir>la){pe.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!Wr){pe.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let Zn=yield(0,he.ZP)(`/api/homework_commons/${Je.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Je.categoryId,comment:Wr,min_score:ir,max_score:la}});Zn.status===0&&(cn(Zn),co(!1),tn(!0))}}),onCancel:()=>{co(!1),Jo()}},Re.createElement("div",{style:{padding:"32px"}},Re.createElement("div",null,Re.createElement("div",null,Re.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),Re.createElement(oe.ZP.Group,{value:Kn,onChange:Zn=>{rn(Zn.target.value)}},Re.createElement(oe.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),Re.createElement(oe.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),Kn===1&&Re.createElement("div",{style:{display:"flex",marginTop:"20px"}},Re.createElement("span",{style:{width:"70px",textAlign:"end"}},Re.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),Re.createElement(a.Z,{min:0,max:100,value:ir,onChange:Zn=>Or(Zn),style:{width:"100px"}}),Re.createElement("span",{style:{width:"80px",textAlign:"end"}},Re.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),Re.createElement(a.Z,{min:0,max:100,value:la,onChange:Zn=>Za(Zn),style:{width:"100px"}})),Kn===2&&Re.createElement("div",{style:{display:"flex",marginTop:"20px"}},Re.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),Re.createElement(ie.default.Group,{onChange:Zn=>{ur([...Zn])},style:{width:"100%"}},(vr=Un.task_status)==null?void 0:vr.map((Zn,Ea)=>Re.createElement(ie.default,{name:"task_status",value:Zn.id},Zn.name,"(",Zn.count,")")))),Re.createElement("div",{style:{display:"flex",marginTop:"20px"}},Re.createElement("span",{style:{width:"70px",textAlign:"end"}},Re.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),Re.createElement(Rt.Z,{className:dt.MdEditor,onChange:Zn=>Nn(Zn),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Re.createElement(xe.default,{open:gt,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>yt(void 0,null,function*(){Kn===2?(yield(0,he.ZP)(`/api/homework_commons/${Je.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Je.categoryId,comment:Wr,status:Jn}})).status===0&&(pe.ZP.info("\u6253\u56DE\u6210\u529F"),Jo(),Nr(),tn(!1)):(yield(0,he.ZP)(`/api/homework_commons/${Je.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Je.categoryId,comment:Wr,min_score:ir,max_score:la}})).status===0&&(pe.ZP.info("\u6253\u56DE\u6210\u529F"),Jo(),Nr(),tn(!1))}),onCancel:()=>{Jo(),tn(!1)}},Re.createElement("div",{style:{padding:"32px"}},Kn===1&&Re.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",ir,"-",la,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Kn===2&&Re.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((zr=Un.task_status)==null?void 0:zr.filter(Zn=>Jn==null?void 0:Jn.includes(Zn.id)).map(Zn=>Zn.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Re.createElement("br",null),Re.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",Xt==null?void 0:Xt.count,"\u540D\u5B66\u751F")))),Re.createElement(Ut,null),Re.createElement(Ve,{isShow:sa,setIsShow:Ra,item:mr,coursesId:Je.coursesId,categoryId:Je.categoryId}),Re.createElement("aside",{className:"tc mb50 mt30"},Re.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:ji,current:Je.page||1,defaultPageSize:20,total:Un.work_count})))};var En=(0,ve.connect)(({shixunHomeworks:Lt,classroomList:Mt,globalSetting:pt,loading:an,user:Gt})=>({shixunHomeworks:Lt,classroomList:Mt,globalSetting:pt,loading:an.effects,user:Gt}))(kt)},27776:function(ct,it,ee){"use strict";ee.r(it),ee.d(it,{default:function(){return cl}});var x=ee(67294),de=ee(33170),pe=ee(35973),Fe=ee(2453),xe=ee(14446),ke=ee(71577),ie=ee(85673),Ue=ee(83062),Ie=ee(66368),Te=ee(9430),ze=ee(52310),Be=ee(28706),me=ee(85725),oe=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(_t,Zt,zt)=>Zt in _t?oe(_t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[Zt]=zt,z=(_t,Zt)=>{for(var zt in Zt||(Zt={}))y.call(Zt,zt)&&E(_t,zt,Zt[zt]);if(a)for(var zt of a(Zt))b.call(Zt,zt)&&E(_t,zt,Zt[zt]);return _t},te=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});const ne=({shixunHomeworks:_t,dispatch:Zt})=>{const zt=(0,pe.useParams)();return x.createElement(xe.default,{centered:!0,title:"\u63D0\u793A",open:_t.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>te(void 0,null,function*(){(yield Zt({type:"shixunHomeworks/deleteReply",payload:{object_id:_t.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(Fe.ZP.success("\u5220\u9664\u6210\u529F"),Zt({type:"shixunHomeworks/setActionTabs",payload:{}}),Zt({type:"shixunHomeworks/getReplyList",payload:z({},_t.actionTabs.params)}))}),onCancel:()=>{Zt({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var re=(0,pe.connect)(({shixunHomeworks:_t})=>({shixunHomeworks:_t}))(ne),ae=ee(27484),le=ee.n(ae),he=ee(11320),ve=ee(57953),Ce=ee(28452),be={flex_box_center:"flex_box_center___zN9Rd",flex_space_between:"flex_space_between___OHt3Z",flex_box_vertical_center:"flex_box_vertical_center___xzO8Q",flex_box_center_end:"flex_box_center_end___LuRwh",flex_box_column:"flex_box_column___rEgTS",bg:"bg___F3FV1",top:"top___vNhKr",desc:"desc___IlwMy",deseIconSty:"deseIconSty___gIJAj",liked:"liked___gFxXM",likedActive:"likedActive___bEcK_",reply:"reply___q4nj7",replyList:"replyList___qxCAX",comment:"comment___gIcRF",buttonEdit:"buttonEdit____8SMk",md:"md___cq_mx",maskWrap:"maskWrap___bHoew",desHead:"desHead___Njyrc",mask:"mask___o8p8v",info:"info___V66Uf",upDownSty:"upDownSty___Q_kpi"},ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAgCAYAAACo7RKTAAAAAXNSR0IArs4c6QAAFaNJREFUeF7tXHl8XHW1/557Z5JM0yTtA9qy6dwktMVaKMncAVo2F0Rk0aeg+FCK+tzg8WRR5qYFCdA2dwou+AR9LCpSZVE+ICIi+ACfpOjcSaAthdImudMFCm0hbfZl7u/Ib5KZznJnSdqnrx97/4HOPb/zO7/zO7/fPcv3hACg+xH/NBoaXMnARwjwMeGvxNSqgFZXzSq36AOxIUk3kYcfulDdI1qPJ4iFDF7EwEJiVABoBZV9a9pFWzsnwu8g7UEN7A8NED9RX72np6cNTNOJcB8Thpl5ITHpDK4gohEA7QRaLUCtXqV89dRPx97Mnpwfqq3p4cGTBHgRMUsjPxGMqSAwAS8yaDUResD8aQCHqh7llKoL3ly/PxZxkMdBDZSqAdr9wIyVzHSZonoXVJ92j4P46E0A10OMxkZ2rt46vP1ZEn1ba8G0iMEzJWMCdTFxKxF6IcjDhJOJeR4DCgiDBPwvMVoZVMng0LTGb5+EqdoCCLEITt+cnvYb5sIZWldzwZZTShW0GN2a5roZ8SE0CBYNU3xTbh0YGZoNh/8j52AS7wia9reL8ftnfB9tqr2aBWbnrJ24Rzfta5O/R0O15zBwnpuOFKK/NJqdP/v/qj9p8BsAeq7mQ/fdhOFheeNOy10wegH6S3zPpldGtz01NNL98mHA8CIWmEMKdrCgp0jhVha4SiHv6upT7l4FchaNbHv6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+SEY2RmBp6oepJYj3tsJdoZkIJNoAPEkD0h1HRTfYTsAegGgVqh4kmadk9Mp848wioNz/vNpwNXgs9XAbz1Rh+He0+PdG86P92890enfOtPZ00FitBdQvfBWyS9AfeIW99TUM9TyV6SPCGA1yjytpbot/3zqP7jiv7cGSjL4nAPQ/ew0DA2e7HSvP1etniv/QI7sI1oNUlejwvcCTf9AsW73v/c6D853UAMJDfwN/F3Fz8TPqaAAAAAASUVORK5CYII=",De=ee(52262),Oe=ee(35567),$e=ee(50881),Le=ee(60887),je=ee(32339),We=ee(96469),Ke=ee(45587),qe=ee(24285),ot=ee(95742),dt=ee(53978),$t=ee(42922),gn=Object.defineProperty,at=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,Ht=(_t,Zt,zt)=>Zt in _t?gn(_t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[Zt]=zt,Ge=(_t,Zt)=>{for(var zt in Zt||(Zt={}))ut.call(Zt,zt)&&Ht(_t,zt,Zt[zt]);if(Bt)for(var zt of Bt(Zt))wt.call(Zt,zt)&&Ht(_t,zt,Zt[zt]);return _t},bn=(_t,Zt)=>at(_t,ht(Zt)),Dn=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});le().locale("ZH-cn");let Ct=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const Kt=x.createContext({}),Ut=()=>{const{setActivatorNodeRef:_t,listeners:Zt}=(0,x.useContext)(Kt);return x.createElement(ke.ZP,Ge({type:"text",size:"small",className:be.upDownSty,icon:x.createElement(Ue.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"},x.createElement($e.Z,null)),style:{cursor:"move"},ref:_t},Zt))},Rt=_t=>{const{attributes:Zt,listeners:zt,setNodeRef:Fa,setActivatorNodeRef:ar,transform:Ia,transition:zn,isDragging:Qa}=(0,Ke.nB)({id:_t["data-row-key"]}),xn=Ge(bn(Ge({},_t.style),{transform:qe.ux.Translate.toString(Ia),transition:zn}),Qa?{position:"relative",zIndex:100}:{}),Ca=(0,x.useMemo)(()=>({setActivatorNodeRef:ar,listeners:zt}),[ar,zt]);return x.createElement(Kt.Provider,{value:Ca},x.createElement("tr",Ge(bn(Ge({},_t),{ref:Fa,style:xn}),Zt)))},St=({shixunHomeworks:_t,classroomList:Zt,globalSetting:zt,user:Fa,loading:ar,dispatch:Ia})=>{var zn,Qa,xn,Ca;const[Sa,jr]=(0,x.useState)(bn(Ge({},(0,pe.useParams)()),{page:1,per_page:10})),[Ga,Ho]=(0,x.useState)([]),[lo,vo]=(0,x.useState)(-1),[cr,sr]=(0,x.useState)(""),[Xn,Ir]=(0,x.useState)(""),{detailLeftMenus:li}=Zt,ka=(0,pe.useLocation)(),[Pa,Qr]=(0,x.useState)({}),{workDetail:Li,workList:qn,workSetting:fr}=_t,[ya,un]=(0,x.useState)("1"),[ca,Bn]=(0,x.useState)(!1),[Xr,wr]=(0,x.useState)(!1),[Dr,uo]=(0,x.useState)(""),[xr,fo]=(0,x.useState)(1),lr=(0,x.useRef)(null),[Br,So]=(0,x.useState)(!1);(0,x.useEffect)(()=>{qn.homework_status&&Vo()},[qn]),(0,x.useEffect)(()=>{lr.current&&(lr.current.clientHeight>200?fo(2):fo(4))},[Ga==null?void 0:Ga.description]);function Vo(){return Dn(this,null,function*(){var na,Ua,Kr;Bn(!0);let Mr=yield(0,de.ZP)(`/api/courses/${Sa.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:bn(Ge({},Sa),{id:Sa.categoryId})});if(Ho(Mr),Bn(!1),Sa.defaultExpandedRowKeys=[`${(Ua=(na=Mr==null?void 0:Mr.data)==null?void 0:na[0])==null?void 0:Ua.identifier}`],Mr!=null&&Mr.hide_description)un("2");else if(ya!="2"){if((Kr=qn.homework_status)!=null&&Kr.includes("\u5BFC\u5165"))return;un(Mr!=null&&Mr.description?"1":"2")}jr(Ge({},Sa))})}const Mn=()=>{if(xr===1)return{visibility:"hidden"};if(xr===2)return{overflow:"hidden",height:"200px"};if(xr===3)return{overflow:"initial"};if(xr===4)return{overflow:"initial"}},ga=na=>Dn(void 0,[na],function*({active:Ua,over:Kr}){if(Ua.id!==(Kr==null?void 0:Kr.id)&&(Kr!=null&&Kr.id)){Ho(Lo=>{var hi;const Ki=(hi=Lo==null?void 0:Lo.data)==null?void 0:hi.findIndex(Pl=>Pl.identifier===Ua.id),Ji=Lo==null?void 0:Lo.data.findIndex(Pl=>Pl.identifier===(Kr==null?void 0:Kr.id));return bn(Ge({},Lo),{data:(0,ot.Rp)(Lo==null?void 0:Lo.data,Ki,Ji)})});let Mr=yield(0,de.ZP)(`/api/courses/${Sa==null?void 0:Sa.coursesId}/homework_commons/change_hack_position.json`,{method:"post",body:{id:Sa==null?void 0:Sa.categoryId,origin_identifier:Ua==null?void 0:Ua.id,target_identifier:Kr==null?void 0:Kr.id}});(Mr==null?void 0:Mr.status)==0&&(Fe.ZP.success("\u6392\u5E8F\u6210\u529F"),Vo())}}),rr=na=>Dn(void 0,null,function*(){const Ua=()=>Dn(void 0,null,function*(){let Mr=yield(0,de.ZP)(`/api/item_banks/${na}/copy_hack_item.json`,{method:"post"});(Mr==null?void 0:Mr.status)===0&&Fe.ZP.success("\u52A0\u5165\u8BD5\u9898\u5E93\u6210\u529F\uFF01")});So(!0);let Kr=yield(0,de.ZP)(`/api/item_banks/${na}/check_hack_item.json`,{method:"get"});(Kr==null?void 0:Kr.status)===-20?xe.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:Ua}):Ua(),So(!1)});return x.createElement("section",{className:be.bg},x.createElement(ve.Z,{spinning:ca},(!(Ga!=null&&Ga.hide_description)||(0,De.GJ)())&&x.createElement("section",{className:" edu-container",style:{padding:"20px 20px 0 20px",background:"#fff",position:"relative"}},!Xr&&(0,De.GJ)()&&x.createElement("div",{style:{position:"absolute",zIndex:10,right:34,top:30}},(fr==null?void 0:fr.hack_edit_permission)&&x.createElement("span",{className:be.deseIconSty,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{wr(!0)}},x.createElement(Ue.Z,{title:"\u7F16\u8F91\u8BF4\u660E"},x.createElement("i",{className:"iconfont icon-bianji-moren font14"}),x.createElement("span",null,"\u7F16\u8F91\u8BF4\u660E"))),x.createElement("span",{className:be.deseIconSty,style:{marginLeft:"20px",cursor:"pointer"},onClick:()=>Dn(void 0,null,function*(){if(!(Ga!=null&&Ga.hide_description))xe.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:()=>Dn(void 0,null,function*(){let na=yield(0,de.ZP)(`/api/homework_commons/${Sa==null?void 0:Sa.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(na==null?void 0:na.status)==0&&(Fe.ZP.success("\u9690\u85CF\u6210\u529F"),Vo())})});else{let na=yield(0,de.ZP)(`/api/homework_commons/${Sa==null?void 0:Sa.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(na==null?void 0:na.status)==0&&(Fe.ZP.success("\u516C\u5F00\u6210\u529F"),Vo())}})},x.createElement(Ue.Z,{title:Ga!=null&&Ga.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E"},x.createElement("i",{className:"iconfont icon-xianshiyincang font14"}),x.createElement("span",null,Ga!=null&&Ga.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E")))),Xr?x.createElement(x.Fragment,null,x.createElement(Oe.Z,{defaultValue:Ga==null?void 0:Ga.description,watch:!0,height:155,onChange:na=>{uo(na)}}),x.createElement("div",{style:{display:"flex"}},x.createElement(ke.ZP,{size:"middle",type:"primary",className:`${be.buttonEdit} mr20`,style:{marginLeft:"auto"},htmlType:"submit",onClick:()=>Dn(void 0,null,function*(){fo(1);let na=yield(0,de.ZP)(`/api/homework_commons/${Sa==null?void 0:Sa.categoryId}/update_description.json`,{method:"post",body:{description:Dr}});(na==null?void 0:na.status)==0&&(Fe.ZP.success("\u7F16\u8F91\u6210\u529F"),wr(!1),Vo())})},"\u63D0\u4EA4"),x.createElement(ke.ZP,{size:"middle",type:"primary",ghost:!0,className:be.buttonEdit,onClick:()=>{wr(!1)}},"\u53D6\u6D88"))):!!(Ga!=null&&Ga.description)&&x.createElement("div",{ref:lr,className:be.maskWrap,style:Mn()},x.createElement("div",{className:be.desHead},x.createElement("img",{src:ye,width:94})),x.createElement(me.Z,{className:be.md,value:(Ga==null?void 0:Ga.description)||""}),xr===2&&x.createElement("div",{className:be.mask},x.createElement("div",{onClick:()=>fo(3)},"\u5C55\u5F00",x.createElement("i",{className:"iconfont icon-zhankai4"}))),xr===3&&x.createElement("div",{className:be.mask,style:{position:"relative",height:30,background:"transparent",paddingTop:5}},x.createElement("div",{onClick:()=>fo(2)},"\u6536\u8D77",x.createElement("i",{className:"iconfont icon-shouqi5"}))))),(0,De.dE)()&&!!(Ga!=null&&Ga.group_name)&&x.createElement("div",{className:be.info},x.createElement("img",{src:`${he.Z.IMG_SERVER}/images/${(zn=Ga==null?void 0:Ga.user)==null?void 0:zn.image_url}`}),x.createElement("div",{className:"ml20",style:{alignItems:"start"}},x.createElement("b",null,(Ga==null?void 0:Ga.name)||""),x.createElement("span",{title:(Ga==null?void 0:Ga.group_name)||"",style:{maxWidth:"130px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-all"}},(Ga==null?void 0:Ga.group_name)||"")),x.createElement(Ue.Z,{title:x.createElement(x.Fragment,null,x.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ga==null?void 0:Ga.late_final_score)||0),x.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ga==null?void 0:Ga.late_penalty)||0),x.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ga==null?void 0:Ga.total_score)||0))},x.createElement("div",null,x.createElement("b",null,x.createElement(We.n,{value:Ga==null?void 0:Ga.total_score})),x.createElement("span",null,"\u603B\u6210\u7EE9"))),x.createElement("div",null,x.createElement("b",null,(Ga==null?void 0:Ga.total_time)||"-"),x.createElement("span",null,"\u603B\u8017\u65F6")),x.createElement("div",null,x.createElement("b",{style:{color:"#009C0F"}},Ga==null?void 0:Ga.pass_count),x.createElement("span",null,"\u5DF2\u901A\u8FC7\u6570")),x.createElement("div",null,x.createElement("b",{style:{color:"#FA6400"}},Ga==null?void 0:Ga.doing_count),x.createElement("span",null,"\u8FDB\u884C\u4E2D")),x.createElement("div",null,x.createElement("b",{style:{color:"#E30000"}},Ga==null?void 0:Ga.not_pass_count),x.createElement("span",null,"\u672A\u7B54\u9898\u6570"))),!((Qa=qn.homework_status)!=null&&Qa.includes("\u5BFC\u5165"))&&x.createElement("div",null,x.createElement("section",{className:" edu-container",style:{padding:"20px",background:"#fff"}},(0,De.GJ)()&&x.createElement("div",{style:{marginBottom:"10px",fontSize:"12px"}},"\u53EF\u9F20\u6807\u62D6\u62FD\u201C ",x.createElement($e.Z,null)," \u201D\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"),Sa.defaultExpandedRowKeys&&x.createElement(Le.LB,{modifiers:[je.DL],onDragEnd:ga},x.createElement(Ke.Fo,{items:(xn=Ga==null?void 0:Ga.data)==null?void 0:xn.map(na=>na==null?void 0:na.identifier),strategy:Ke.qw},x.createElement(Te.default,{components:{body:{row:Rt}},dataSource:Ga==null?void 0:Ga.data,rowKey:na=>na==null?void 0:na.identifier,pagination:!1,expandable:{expandIcon:({expanded:na,onExpand:Ua,record:Kr})=>na?x.createElement(Ue.Z,{title:"\u6536\u8D77"},x.createElement(dt.Z,{className:be.upDownSty,onClick:Mr=>Ua(Kr,Mr)})):x.createElement(Ue.Z,{title:"\u5C55\u5F00"},x.createElement($t.Z,{className:be.upDownSty,onClick:Mr=>Ua(Kr,Mr)})),expandedRowRender:na=>{var Ua;return x.createElement("div",{style:{padding:"10px 0px 10px 48px",borderRadius:2}},x.createElement("div",{style:{overflow:"auto",maxHeight:300}},x.createElement("p",null,"\u9898\u76EE\uFF1A",na==null?void 0:na.name),x.createElement("p",null,"\u63CF\u8FF0\uFF1A",x.createElement(me.Z,{value:(na==null?void 0:na.description)||""})),!(0,De.dE)()&&x.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",x.createElement(me.Z,{style:{fontSize:"14px"},value:(na==null?void 0:na.analysis)||"\u6682\u65E0\u89E3\u6790"}))),x.createElement("div",{style:{width:"100%",textAlign:"end"}},(fr==null?void 0:fr.hack_edit_permission)&&x.createElement(ke.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${na==null?void 0:na.identifier}?type=1`),localStorage.setItem("program_homework",[Sa.coursesId,Sa.categoryId])}},"\u7F16\u8F91"),(fr==null?void 0:fr.hack_edit_permission)&&((Ua=Ga==null?void 0:Ga.homework_status)==null?void 0:Ua.includes("\u672A\u53D1\u5E03"))&&x.createElement(ke.ZP,{className:"mt20",type:"primary",style:{marginLeft:20},ghost:!0,onClick:()=>{xe.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u786E\u8BA4\u5220\u9664",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Dn(void 0,null,function*(){let Kr=yield(0,de.ZP)(`/api/problems/${na==null?void 0:na.identifier}.json`,{method:"delete"});(Kr==null?void 0:Kr.status)===0&&(Fe.ZP.info("\u5220\u9664\u6210\u529F"),Sa.page=1,Vo())})})}},"\u5220\u9664")))},defaultExpandedRowKeys:Sa.defaultExpandedRowKeys},columns:(Ca=[(0,De.GJ)()&&{key:"sort",align:"center",width:40,render:()=>x.createElement(Ut,null)},{title:"\u5E8F\u53F7",dataIndex:"index",ellipsis:!0,key:"index",width:55,render:(na,Ua,Kr)=>`${(Sa.page-1)*Sa.per_page+Kr+1}`},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,key:"name"},((0,De.dE)()||(Ga==null?void 0:Ga.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(na,Ua,Kr){return x.createElement("div",null,Ct[na])}},{title:"\u901A\u8FC7\u7387",dataIndex:"pass_rate",key:"pass_rate",width:100,ellipsis:!0},(0,De.dE)()&&{title:"\u5F97\u5206",dataIndex:"score",key:"score",render:na=>{let Ua="",Kr=Number(na);return Kr>=0&&Kr<=60?Ua="c-red":Kr>=90?Ua="c-green":Kr>60?Ua="c-orange":Ua="",x.createElement("span",{className:Ua},na)}},(0,De.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:(na,Ua)=>x.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},na||"--")},(0,De.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(na){return x.createElement(x.Fragment,null,na===0&&x.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),na===1&&x.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),na===2&&x.createElement("span",{style:{color:"#009C0F"}},"\u5DF2\u901A\u8FC7"))}},{title:"\u64CD\u4F5C",dataIndex:"identifier",key:"identifier",width:(0,De.GJ)()?280:146,align:"right",render(na,Ua,Kr){return x.createElement("div",null,(0,De.GJ)()&&x.createElement(ke.ZP,{type:"link",style:{marginRight:"5px"},loading:Br,onClick:()=>Dn(this,null,function*(){rr(Ua==null?void 0:Ua.id)})},"\u52A0\u5165\u8BD5\u9898\u5E93"),x.createElement("a",{onClick:()=>{var Mr;if((0,De.Rm)()&&!((Mr=Zt.AssistantObject.hack)!=null&&Mr.can_question_eaderboard)){Fe.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/${Sa.coursesId}/program_homework/${Sa.categoryId}/${na}/ranking`)}},"\u6392\u884C"),x.createElement("a",{onClick:()=>Dn(this,null,function*(){let Mr=yield(0,de.ZP)(`/api/problems/${Ua==null?void 0:Ua.identifier}/start.json`,{method:"get"});Mr&&(window.open(`/myproblems/${Mr==null?void 0:Mr.identifier}?type=1&backUrl=/classrooms/${Sa.coursesId}/program_homework/${Sa.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Sa.coursesId,Sa.categoryId]))}),className:"ml20"},(0,De.GJ)()?"\u4F53\u9A8C":"\u8FDB\u5165\u7B54\u9898"),(fr==null?void 0:fr.hack_edit_permission)&&x.createElement("a",{className:"ml20",onClick:()=>Dn(this,null,function*(){window.open(`/problems/newedit/${Ua==null?void 0:Ua.identifier}?type=1`),localStorage.setItem("program_homework",[Sa.coursesId,Sa.categoryId])})},"\u7F16\u8F91"))}}])==null?void 0:Ca.filter(na=>!!na)})))),x.createElement("aside",{style:{padding:"0 20px 20px 20px"}},x.createElement(Ce.Z,{defaultCurrent:1,total:Ga==null?void 0:Ga.count,hideOnSinglePage:!0,showTotal:na=>x.createElement("span",null,"\u5171",na,"\u6761"),current:Sa.page||1,pageSize:Sa.per_page||10,onChange:(na,Ua)=>{Sa.page=na,Sa.per_page=Ua,jr(Ge({},Sa)),Vo()}})))),x.createElement(re,null))};var Ft=(0,pe.connect)(({shixunHomeworks:_t,classroomList:Zt,loading:zt,user:Fa,globalSetting:ar})=>({shixunHomeworks:_t,globalSetting:ar,classroomList:Zt,user:Fa,loading:zt.effects}))(St),Pt=ee(22150),st=ee(71230),Jt=ee(15746),Ot=ee(69677),xt=ee(84567),mn=ee(26194),en=ee(67294),Ve=Object.defineProperty,Re=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,He=(_t,Zt,zt)=>Zt in _t?Ve(_t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[Zt]=zt,Wt=(_t,Zt)=>{for(var zt in Zt||(Zt={}))In.call(Zt,zt)&&He(_t,zt,Zt[zt]);if(Re)for(var zt of Re(Zt))we.call(Zt,zt)&&He(_t,zt,Zt[zt]);return _t},et=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});const Ye=({shixunHomeworks:_t,loading:Zt,dispatch:zt,classroomList:Fa})=>{var ar;const Ia=(0,pe.useParams)(),[zn,Qa]=(0,x.useState)(Wt(Wt({},{page:1,limit:20,group_ids:[]}),Ia)),xn=(0,pe.useLocation)(),{codeReview:Ca}=_t,[Sa,jr]=(0,x.useState)({}),[Ga]=Pt.default.useForm();zn.order="code_rate",zn.sort="desc",zn.category=zn.categoryId,(0,x.useEffect)(()=>{Ho(),console.log("params",zn)},[zn]),(0,x.useEffect)(()=>{_t.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&Ho()},[_t.actionTabs.key]);const Ho=()=>et(void 0,null,function*(){(yield zt({type:"shixunHomeworks/getCodeReview",payload:Wt({},zn)})).status===-2&&setTimeout(()=>Ho(),1500)}),lo=()=>{},vo=(sr,Xn)=>{zn.page=sr,zn.limit=20,zt({type:"shixunHomeworks/getCodeReview",payload:Wt({},zn)})},cr=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(sr,Xn,Ir)=>zn.limit*(zn.page-1)+Ir+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:sr=>en.createElement("span",{className:"c-orange"},sr)},{title:"\u64CD\u4F5C",dataInex:"action",render:(sr,Xn)=>en.createElement("div",null,en.createElement("a",{onClick:()=>{var Ir;if((0,De.Rm)()&&!((Ir=Fa.AssistantObject.hack)!=null&&Ir.can_view)){Fe.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}/review_detail/${Xn.user_id}`)}},"\u67E5\u770B"),en.createElement("br",null))}];return en.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(Ca==null?void 0:Ca.status)===-2&&en.createElement(mn.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"}),(Ca==null?void 0:Ca.status)!==-2&&en.createElement("div",null,en.createElement(st.Z,null,en.createElement(Jt.Z,{flex:"1"},en.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",Ca.last_review_time,en.createElement(ke.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:zn}})}},"\u4EE3\u7801\u67E5\u91CD"))),en.createElement(Jt.Z,null,en.createElement(Ot.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:sr=>{zn.search=sr,zt({type:"shixunHomeworks/getCodeReview",payload:zn})},style:{width:200}}),en.createElement("span",{className:"ml5 c-red"}))),((ar=Ca.group_info)==null?void 0:ar.length)>0&&en.createElement(en.Fragment,null,en.createElement(st.Z,null,en.createElement(Jt.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),en.createElement(Jt.Z,{flex:"80px"},en.createElement(xt.default,{checked:zn.group_ids=="",value:"all",onChange:sr=>{delete zn.group_ids,zn.group_ids=[],zn.page=1,Qa(Wt({},zn))}},"\u5168\u90E8")),en.createElement(Jt.Z,{flex:"1"},Ca.group_info&&Ca.group_info.map((sr,Xn)=>en.createElement(xt.default,{style:{marginLeft:0},value:sr.id,checked:zn.group_ids.includes(sr.id),onChange:Ir=>{Ir.target.checked?zn.group_ids.push(sr.id):zn.group_ids.splice(zn.group_ids.indexOf(sr.id),1),zn.page=1,Qa(Wt({},zn))}},sr.name,"(",sr.members_count,")")))),en.createElement(st.Z,{className:"font14 c-red mt5"},en.createElement(Jt.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),en.createElement("p",{className:"mt10"},en.createElement("span",{className:"c-red"},Ca.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",Ca.all_reviews_count,"\u4F5C\u54C1\uFF09"),en.createElement(Te.default,{className:"mt30",loading:Zt["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:Ca.users_reviews,columns:cr,onChange:(sr,Xn,Ir)=>{Ir.order==="ascend"&&(zn.b_order="asc"),Ir.order==="descend"&&(zn.b_order="desc"),Ir.order||delete zn.b_order,zt({type:"shixunHomeworks/getCodeReview",payload:Wt({},zn)})}}),en.createElement("aside",{className:"tc mb50 mt30"},en.createElement(Ce.Z,{showSizeChanger:!1,onChange:vo,defaultCurrent:zn.page||1,current:zn.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:Ca.copy_reviews_count}))))};var yt=(0,pe.connect)(({shixunHomeworks:_t,classroomList:Zt,loading:zt})=>({shixunHomeworks:_t,classroomList:Zt,loading:zt.effects}))(Ye),vt=ee(42469),kt=ee(34336),En=ee(11713),Lt=ee(78045),Mt=ee(31795),pt=ee(40043),an=ee(24018),Gt=ee(96486),pn={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=ee(39717),Fn=ee(17998),Yn=ee(78207),fa=ee(92882),Yt=ee(67294),Qt=Object.defineProperty,nn=Object.defineProperties,ua=Object.getOwnPropertyDescriptors,ra=Object.getOwnPropertySymbols,jn=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,Ma=(_t,Zt,zt)=>Zt in _t?Qt(_t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[Zt]=zt,vr=(_t,Zt)=>{for(var zt in Zt||(Zt={}))jn.call(Zt,zt)&&Ma(_t,zt,Zt[zt]);if(ra)for(var zt of ra(Zt))Na.call(Zt,zt)&&Ma(_t,zt,Zt[zt]);return _t},zr=(_t,Zt)=>nn(_t,ua(Zt)),La=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});const{RangePicker:Je}=kt.default,{Option:Dt}=En.default,Et=({shixunHomeworks:_t,user:Zt,loading:zt,classroomList:Fa,dispatch:ar})=>{var Ia,zn,Qa,xn,Ca,Sa,jr,Ga,Ho,lo,vo,cr;const sr=(0,pe.useParams)(),{workSetting:Xn,workList:Ir,changeData:li}=_t,[ka,Pa]=(0,x.useState)(!0),[Qr,Li]=(0,x.useState)(!1);let[qn,fr]=(0,x.useState)([]),[ya,un]=(0,x.useState)([]);const ca=(0,x.useRef)(!0);let[Bn,Xr]=(0,x.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,x.useEffect)(()=>(wr(),()=>{fr([])}),[]);const wr=()=>{ar({type:"shixunHomeworks/getWorkSetting",payload:vr({},sr)})};(0,x.useEffect)(()=>{var Mn,ga;((0,De.G5)()||(0,De.Rm)()&&((Mn=Fa.AssistantObject.hack)!=null&&Mn.can_late||(ga=Fa.AssistantObject.hack)!=null&&ga.can_publish))&&Pa(!1)},[Zt,Fa]),(0,x.useEffect)(()=>{if(!(Xn!=null&&Xn.course_id)||!ca.current)return;ca.current=!1,Object.keys(Bn).map(function(ga){Bn[ga]=Xn[ga]}),(!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),qn=JSON.parse(JSON.stringify(Xn.group_settings.map(ga=>zr(vr({},ga),{group_name:[ga.group_name]})).filter(ga=>ga.publish_time!==null))),ya=JSON.parse(JSON.stringify(Xn.allow_late_settings.map(ga=>zr(vr({},ga),{group_name:[ga.group_name]})).filter(ga=>ga.late_time!==null))),Bn.difficult_settings.length===0&&(Bn.difficult_settings=[0,0,0]),Xr(vr({},Bn));const Mn=(0,Be.QE)((qn==null?void 0:qn.length)>0?qn:[]);fr([...Mn]),(ya==null?void 0:ya.length)<=0?un([{late_minus_score:20}]):un([...ya])},[Xn]);const Dr=()=>{var Mn;if(((Mn=Zt==null?void 0:Zt.userInfo)==null?void 0:Mn.user_status)===2){(0,Yn.Rd)();return}const ga=JSON.parse(JSON.stringify(Bn));if(ga.categoryId=sr.categoryId,Bn.unified_setting||(qn=qn==null?void 0:qn.map(rr=>{var na;if(!rr.publish_time||!rr.end_time)throw Fe.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(!rr.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return rr.group_name=typeof(rr==null?void 0:rr.group_name)=="string"?[rr==null?void 0:rr.group_name]:rr==null?void 0:rr.group_name,rr.group_id=(na=Xn.group_settings)==null?void 0:na.filter(Ua=>{var Kr;return(Kr=rr==null?void 0:rr.group_name)==null?void 0:Kr.includes(Ua.group_name)}).map(Ua=>Ua.group_id||Ua.id).toString().split(","),rr})),ga.group_settings=qn,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 Fe.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 Fe.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 ya=ya==null?void 0:ya.map(rr=>{var na,Ua;if(rr.late_minus_score===null||rr.late_minus_score===void 0||rr.late_minus_score<0||rr.late_minus_score>100)throw Fe.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(!rr.late_time)throw Fe.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(!rr.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return rr.group_name=typeof(rr==null?void 0:rr.group_name)=="string"?[rr==null?void 0:rr.group_name]:rr==null?void 0:rr.group_name,rr.group_id=(Ua=(na=rr==null?void 0:rr.group_name)==null?void 0:na.map(Kr=>{var Mr,Lo;let hi=(Lo=(Mr=Xn.group_settings)==null?void 0:Mr.filter(Ki=>(Ki==null?void 0:Ki.group_name)===Kr))==null?void 0:Lo[0];return hi==null?void 0:hi.group_id}))==null?void 0:Ua.toString().split(","),rr}),ga.allow_late_settings=ya;ga.send_type===1&&(ga.difficult_settings=ga.difficult_settings.map(rr=>rr||0)),uo(ga)},uo=Mn=>{var ga;if(Mn.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Mn!=null&&Mn.work_efficiency&&Mn.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const rr={shixun_evaluation:Mn.shixun_evaluation,challenge_settings:Mn.challenge_settings},na=()=>La(void 0,null,function*(){Li(!0),(yield(0,de.ZP)(`/api/homework_commons/${sr.categoryId}/publish_setting.json`,{method:"post",body:vr({},Mn)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),wr(),ar({type:"shixunHomeworks/getWorkList",payload:vr({},sr)})),Li(!1)});!(0,Gt.isEqual)(li,rr)&&!((ga=Ir==null?void 0:Ir.homework_status)!=null&&ga.includes("\u672A\u53D1\u5E03"))?xe.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:na}):na()},xr=(Mn,ga,rr="group_id")=>{var na;return ga?ga.find(Ua=>Ua[rr]===Mn):(na=Xn==null?void 0:Xn.group_settings)==null?void 0:na.find(Ua=>Ua.group_id[0]===Mn)},fo=(Xn==null?void 0:Xn.allow_late)||(Xn==null?void 0:Xn.anonymous_comment),lr=Mn=>{var ga,rr;const na=xr(Mn,Xn==null?void 0:Xn.allow_late_settings,"id"),Ua=xr(Mn,Xn==null?void 0:Xn.anonymous_comment_settings),Kr=xr(Mn);return(Xn==null?void 0:Xn.allow_late)&&na&&le()(na==null?void 0:na.late_time)<=le()()||(Xn==null?void 0:Xn.anonymous_comment)&&Ua&&(Ua==null?void 0:Ua.evaluation_start)!==null||((rr=(le()(Kr==null?void 0:Kr.end_time)<=le()()&&((ga=Xn==null?void 0:Xn.allow_late_settings)==null?void 0:ga.filter(Mr=>Mr.group_id.includes(Mn))))[0])==null?void 0:rr.late_time)!=null},Br=Xn==null?void 0:Xn.anonymous_comment,So=Mn=>{if(!Mn)return!1;const ga=xr(Mn,Xn==null?void 0:Xn.anonymous_comment_settings);return(Xn==null?void 0:Xn.anonymous_comment)&&ga&&(ga==null?void 0:ga.evaluation_start)!==null},Vo=(Mn,ga)=>{var rr,na,Ua;ar({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Mn,index:ga,rangePickerDisabled:ka||(le()()<=le()((na=xr((rr=Mn==null?void 0:Mn.group_id)==null?void 0:rr[0]))==null?void 0:na.publish_time)?!1:[!0,lr((Ua=Mn==null?void 0:Mn.group_id)==null?void 0:Ua[0])]),disabledDate:Xn==null?void 0:Xn.course_end_date}})};return Yt.createElement("section",{className:pn.form},Yt.createElement("div",{className:pn.title},"\u8BD5\u9898\u53D1\u5E03",Yt.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")),Yt.createElement("div",{className:pn.content},Yt.createElement(Lt.ZP.Group,{disabled:ka||!((Ia=Ir==null?void 0:Ir.homework_status)!=null&&Ia.includes("\u672A\u53D1\u5E03"))||!((zn=Fa.AssistantObject.hack)!=null&&zn.can_publish)&&(0,De.Rm)(),value:Bn.send_type,onChange:Mn=>{Bn.send_type=Mn.target.value,Xr(Object.assign({},Bn))}},Yt.createElement(Lt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),Yt.createElement(Lt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),Bn.send_type===1&&Yt.createElement("div",{className:pn.content,style:{borderTop:"1px solid #fff"}},Yt.createElement(st.Z,{style:{marginLeft:"165px"}},Yt.createElement(Jt.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",Yt.createElement(Mt.Z,{size:"large",precision:0,disabled:ka||!((Qa=Ir==null?void 0:Ir.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:Mn=>{Bn.difficult_settings[0]=Mn,Xr(Object.assign({},Bn))},className:"ml10 mr20",style:{width:120}})),Yt.createElement(Jt.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",Yt.createElement(Mt.Z,{size:"large",precision:0,disabled:ka||!((xn=Ir==null?void 0:Ir.homework_status)!=null&&xn.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:Mn=>{Bn.difficult_settings[1]=Mn,Xr(Object.assign({},Bn))},className:"ml10 mr20",style:{width:120}})),Yt.createElement(Jt.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",Yt.createElement(Mt.Z,{size:"large",precision:0,disabled:ka||!((Ca=Ir==null?void 0:Ir.homework_status)!=null&&Ca.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:Mn=>{Bn.difficult_settings[2]=Mn,Xr(Object.assign({},Bn))},className:"ml10 mr20",style:{width:120}})))),Yt.createElement("div",{className:`${pn.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",Yt.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")),Yt.createElement("div",{className:pn.content},Yt.createElement(Lt.ZP.Group,{disabled:ka||!((Sa=Ir==null?void 0:Ir.homework_status)!=null&&Sa.includes("\u672A\u53D1\u5E03"))||!((jr=Fa.AssistantObject.hack)!=null&&jr.can_publish)&&(0,De.Rm)(),value:Bn.unified_setting,onChange:Mn=>{var ga;if(!((ga=Ir==null?void 0:Ir.homework_status)!=null&&ga.includes("\u672A\u53D1\u5E03"))){Fe.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),Xr(Object.assign({},Bn)),Bn.unified_setting===!1&&qn==""){fr(qn.concat({}));return}Bn.unified_setting&&(fr([]),un([{late_minus_score:5}]))}},Yt.createElement(Lt.ZP,{value:!0,disabled:!(Xn!=null&&Xn.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),Yt.createElement(Lt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((Ga=Xn==null?void 0:Xn.group_settings)==null?void 0:Ga.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),((Ho=Xn==null?void 0:Xn.group_settings)==null?void 0:Ho.length)===0&&Yt.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")),Yt.createElement("div",{className:pn.content,style:{borderTop:"1px solid #fff"}},Bn.unified_setting&&Yt.createElement(st.Z,{align:"middle",className:"ml25"},Yt.createElement(st.Z,{align:"middle"},Yt.createElement(Jt.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),Yt.createElement(Jt.Z,{className:"ml10"},Yt.createElement(kt.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:Mn=>(0,Fn.Q8)(Mn,Xn==null?void 0:Xn.course_end_date),disabledTime:Mn=>(0,Fn.d0)(Mn),disabled:ka||le()()>=le()(Xn==null?void 0:Xn.publish_time)||!((lo=Fa.AssistantObject.hack)!=null&&lo.can_publish)&&(0,De.Rm)(),value:Bn.publish_time?le()(Bn.publish_time):"",onChange:(Mn,ga)=>{Bn.publish_time=ga,(Bn.end_time==""||!Bn.end_time)&&Bn.unified_setting&&(Bn.end_time=le()(Mn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Xr(Object.assign({},Bn))}}))),Yt.createElement(st.Z,{align:"middle",style:{marginLeft:40}},Yt.createElement(Jt.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),Yt.createElement(Jt.Z,{className:"ml10"},Yt.createElement(kt.default,{style:{width:170},allowClear:!1,size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:le()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Xn==null?void 0:Xn.allow_late)&&(Xn==null?void 0:Xn.homework_status.includes("\u5DF2\u622A\u6B62"))||ka||(Xn==null?void 0:Xn.allow_late)&&le()()>=le()(Xn==null?void 0:Xn.end_time)||!((vo=Fa.AssistantObject.hack)!=null&&vo.can_publish)&&(0,De.Rm)(),disabledDate:Mn=>(0,Fn.Q8)(Mn,Xn==null?void 0:Xn.course_end_date,Bn.publish_time),disabledTime:Mn=>(0,Fn.d0)(Mn,Bn.publish_time),value:Bn.end_time?le()(Bn.end_time):"",onChange:(Mn,ga)=>{Bn.end_time=ga,Xr(Object.assign({},Bn))}})))),!Bn.unified_setting&&(qn==null?void 0:qn.length)>0&&Yt.createElement(st.Z,{className:"ml25"},qn&&qn.map(function(Mn,ga){var rr,na,Ua,Kr;return Yt.createElement(Jt.Z,{className:ga!==0&&"mt20",span:24,key:ga},Yt.createElement(st.Z,{gutter:[0,16]},Yt.createElement(Jt.Z,{span:8},Yt.createElement(st.Z,{gutter:[8,16],align:"middle"},Yt.createElement(Jt.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",ga+1),Yt.createElement(Jt.Z,{flex:"1",style:{maxWidth:300}},Yt.createElement(En.default,{size:"large",disabled:ka||((rr=Xn==null?void 0:Xn.homework_status)!=null&&rr.includes("\u672A\u53D1\u5E03")&&Mn.id||le()()<le()(Mn==null?void 0:Mn.publish_time)?!1:!!(Mn!=null&&Mn.publish_time)),mode:"multiple",className:`${pn.selectSty}`,style:{width:250},value:Mn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Mr=>{var Lo;if(!((Lo=Fa.AssistantObject.hack)!=null&&Lo.can_publish)&&(0,De.Rm)()){Fe.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}qn[ga].group_name=Mr,qn[ga].group_id=Mn.group_id;const hi=(0,Gt.flattenDeep)(qn.map(Ji=>Ji.group_name)),Ki=ya.map(Ji=>{let Pl=(Ji==null?void 0:Ji.group_name)||[];return zr(vr({},Ji),{group_name:(0,Gt.remove)(Pl,wu=>hi.includes(wu))})});un(Ki),fr(qn.slice())},maxTagCount:4,maxTagPlaceholder:Mr=>Yt.createElement("div",{style:{cursor:"pointer"},onClick:()=>Vo(Mn,ga)},"+",Mr==null?void 0:Mr.length)},Xn.group_settings&&Xn.group_settings.map(function(Mr){if(!qn.map(Lo=>Lo.group_name).toString().split(",").includes(String(Mr.group_name)))return Yt.createElement(Dt,{value:Mr.group_name,key:Mr.id},Mr.group_name)}))))),Yt.createElement(Jt.Z,{span:14,style:{display:"flex",alignItems:"center"}},Yt.createElement(Je,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[Mn.publish_time?le()(Mn.publish_time):le()(),le()()]},disabled:ka||(le()()<=le()((na=xr(Mn.id))==null?void 0:na.publish_time)?!1:[!0,lr(Mn.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:Mr=>(0,Fn.Q8)(Mr,Xn==null?void 0:Xn.course_end_date),disabledTime:Mr=>(0,Fn.d0)(Mr),showTime:{format:"HH:mm",defaultValue:[le()((0,Be.U6)(),"HH:mm"),le()((0,Be.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Mn.publish_time&&[le()(Mn.publish_time),Mn.end_time?le()(Mn.end_time):void 0],onChange:(Mr,Lo)=>{var hi;if(!((hi=Fa.AssistantObject.hack)!=null&&hi.can_publish)&&(0,De.Rm)()){Fe.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}qn[ga].publish_time=Lo[0],!Mn.end_time&&Lo[0]?qn[ga].end_time=le()(Lo[0]).add(7,"days"):qn[ga].end_time=Lo[1],fr([...qn])},onCalendarChange:(Mr,Lo,hi)=>{if(Lo!=null&&Lo[0]&&!Lo[1]){const Ki=le()(Lo[0]).add(7,"days");qn[ga].publish_time=Lo[0],qn[ga].end_time=Ki,fr([...qn])}}})),!ka&&Yt.createElement(Jt.Z,{span:2,style:{display:"flex",alignItems:"center"}},((Ua=Mn==null?void 0:Mn.group_id)==null?void 0:Ua.length)>1&&Yt.createElement(Ue.Z,{title:"\u89C4\u5219\u62C6\u5206"},Yt.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>Vo(Mn,ga)})),qn.length<((Kr=Xn==null?void 0:Xn.group_settings)==null?void 0:Kr.length)&&Yt.createElement(pt.Z,{className:"c-green ml10 mr10",onClick:()=>{fr(qn.concat({}))}}),((Mn==null?void 0:Mn.publish_time)&&le()()<le()(Mn==null?void 0:Mn.publish_time)||!(Mn!=null&&Mn.publish_time))&&ga!=0&&Yt.createElement(an.Z,{style:{color:"#E30000"},onClick:()=>{var Mr;if(!((Mr=Fa.AssistantObject.hack)!=null&&Mr.can_publish)&&(0,De.Rm)()){Fe.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 Lo=(0,Gt.cloneDeep)(ya);Lo.forEach((hi,Ki)=>{hi.group_name&&(hi.group_name=hi.group_name.filter(Ji=>{var Pl;return!((Pl=qn[ga].group_name)!=null&&Pl.includes(Ji))}))}),un(Lo),qn=qn.filter((hi,Ki)=>ga!==Ki),fr(qn.slice()),setTimeout(()=>fr(qn.slice()),10)}}))))}))),Yt.createElement("div",{className:`${pn.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",Yt.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")),Yt.createElement("div",{className:pn.content},Yt.createElement(st.Z,null,Yt.createElement(xt.default,{checked:Bn.allow_late,disabled:ka||(Xn==null?void 0:Xn.allow_late),onChange:Mn=>{var ga;if(!((ga=Fa.AssistantObject.hack)!=null&&ga.can_late)&&(0,De.Rm)()){Fe.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}Mn.target.checked&&xe.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:Yt.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Yt.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"),Yt.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Yt.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,ya==""&&un([{late_minus_score:5}]),Xr(Object.assign({},Bn))}},Yt.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(Bn==null?void 0:Bn.allow_late)&&Yt.createElement("div",{className:pn.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},Yt.createElement("div",null,Yt.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),Yt.createElement(Lt.ZP.Group,{disabled:ka||(Xn==null?void 0:Xn.anonymous_comment)||(Xn==null?void 0:Xn.allow_late),value:Bn.unified_late,onChange:Mn=>{var ga;if((0,De.Rm)()&&!((ga=Fa.AssistantObject.hack)!=null&&ga.can_late)){Fe.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=Mn.target.value,ya==""&&!Mn.target.value&&un([{late_minus_score:5}]),Xr(vr({},Bn))}},(Bn==null?void 0:Bn.unified_setting)&&Yt.createElement(Lt.ZP,{value:!0,style:{color:"#333333"},disabled:!(Xn!=null&&Xn.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((cr=Xn==null?void 0:Xn.group_settings)==null?void 0:cr.length)&&Yt.createElement(Lt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),Bn!=null&&Bn.unified_late?Yt.createElement(Yt.Fragment,null,Yt.createElement(st.Z,{align:"middle",className:"mt25"},Yt.createElement(Jt.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),Yt.createElement(Jt.Z,{className:"ml5"},Yt.createElement($n.Z,{disabled:ka||Br,value:{type:Bn.penalty_type,inputValue:Bn.late_minus_score},onChange:Mn=>{var ga;if((0,De.Rm)()&&!((ga=Fa.AssistantObject.hack)!=null&&ga.can_late)){Fe.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}Xr(zr(vr({},Bn),{late_minus_score:Mn.inputValue,penalty_type:Mn.type}))}})),Yt.createElement(Jt.Z,{flex:"1",className:"ml5"},Yt.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)"))),Yt.createElement(st.Z,{align:"middle",className:"mt25"},Yt.createElement(Jt.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),Yt.createElement(Jt.Z,{className:"ml5"},Yt.createElement(kt.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:le()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:ka||Br,value:Bn.late_time?le()(Bn.late_time):"",disabledDate:Mn=>(0,Fn.Q8)(Mn,Xn==null?void 0:Xn.course_end_date),disabledTime:Mn=>(0,Fn.d0)(Mn),onChange:(Mn,ga)=>{var rr;if((0,De.Rm)()&&!((rr=Fa.AssistantObject.hack)!=null&&rr.can_late)){Fe.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=ga,Xr(Object.assign({},Bn))}})),Yt.createElement(Jt.Z,null,Yt.createElement("span",{className:"c-grey-c ml10"},"(\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9)")))):ya.map(function(Mn,ga){var rr;return Yt.createElement(Jt.Z,{span:24,key:ga},Yt.createElement(st.Z,{className:"mt25",align:"middle"},Yt.createElement(Jt.Z,null,Yt.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",ga+1,"\uFF1A"),Yt.createElement(En.default,{size:"large",disabled:ka||!((rr=Ir==null?void 0:Ir.homework_status)!=null&&rr.includes("\u672A\u53D1\u5E03"))&&Mn.id||(Xn==null?void 0:Xn.anonymous_comment),mode:"multiple",className:`${pn.selectSty}`,style:{width:200},value:typeof Mn.group_name=="string"?[Mn.group_name]:Mn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:na=>{var Ua;if((0,De.Rm)()&&!((Ua=Fa.AssistantObject.hack)!=null&&Ua.can_late)){Fe.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}ya[ga].group_name=na,ya[ga].group_id=Mn.group_id,un(ya.slice())}},Xn.group_settings&&Xn.group_settings.map(function(na){if(Bn!=null&&Bn.unified_setting&&!ya.map(Ua=>Ua.group_name).toString().split(",").includes(String(na.group_name)))return Yt.createElement(Dt,{value:na.group_name,key:na.id},na.group_name);if(qn.map(Ua=>Ua.group_name).toString().split(",").includes(String(na.group_name))&&!ya.map(Ua=>Ua.group_name).toString().split(",").includes(String(na.group_name)))return Yt.createElement(Dt,{value:na.group_name,key:na.id},na.group_name)}))),Yt.createElement(Jt.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},Yt.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),Yt.createElement($n.Z,{disabled:ka||So(Mn.id),value:{type:Mn.penalty_type,inputValue:Mn.late_minus_score},onChange:na=>{var Ua;if((0,De.Rm)()&&!((Ua=Fa.AssistantObject.hack)!=null&&Ua.can_late)){Fe.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}ya[ga].late_minus_score=na.inputValue,ya[ga].penalty_type=na.type,un([...ya])}})),Yt.createElement(Jt.Z,{className:"ml20"},Yt.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),Yt.createElement(kt.default,{size:"large",disabled:ka||So(Mn.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:le()((0,Be.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:na=>(0,Fn.Q8)(na,Xn==null?void 0:Xn.course_end_date),disabledTime:na=>(0,Fn.d0)(na),format:"YYYY-MM-DD HH:mm",value:Mn!=null&&Mn.late_time?le()(Mn.late_time):void 0,onChange:(na,Ua)=>{var Kr;if((0,De.Rm)()&&!((Kr=Fa.AssistantObject.hack)!=null&&Kr.can_late)){Fe.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}ya[ga].late_time=Ua,un([...ya])}})),!ka&&Yt.createElement(Jt.Z,{style:{marginLeft:10}},ga>0&&!Mn.id&&Yt.createElement(an.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{ya=ya.filter((na,Ua)=>ga!==Ua),un(ya.slice()),setTimeout(()=>un(ya.slice()),10)}}),Yt.createElement(pt.Z,{className:"c-green",onClick:()=>{var na;if((0,De.Rm)()&&!((na=Fa.AssistantObject.hack)!=null&&na.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}un(ya.concat({penalty_type:$n.Q.Percent,late_minus_score:20}))}}))))})),!ka&&Yt.createElement(ke.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Qr,onClick:()=>Dr()},"\u4FDD\u5B58"),Yt.createElement(fa.Z,{onConfirm:(Mn,ga)=>{qn.splice(Mn,0,...ga),qn.splice(Mn+ga.length,1);const rr=(0,Be.QE)([...qn]);fr([...rr])}}))};var Rn=(0,pe.connect)(({shixunHomeworks:_t,classroomList:Zt,user:zt,loading:Fa})=>({shixunHomeworks:_t,loading:Fa.effects,user:zt,classroomList:Zt}))(Et),vn=ee(67294),Un=Object.defineProperty,$r=Object.defineProperties,Ta=Object.getOwnPropertyDescriptors,Cr=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Jn=(_t,Zt,zt)=>Zt in _t?Un(_t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[Zt]=zt,ur=(_t,Zt)=>{for(var zt in Zt||(Zt={}))_r.call(Zt,zt)&&Jn(_t,zt,Zt[zt]);if(Cr)for(var zt of Cr(Zt))co.call(Zt,zt)&&Jn(_t,zt,Zt[zt]);return _t},gt=(_t,Zt)=>$r(_t,Ta(Zt)),tn=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});function Xt(_t,Zt){const zt=[];for(let Fa=_t;Fa<Zt;Fa++)zt.push(Fa);return zt}const cn=_t=>{let Zt=new Date;const zt=le()(_t).format("HH");if(le()(_t).isSame(le()(Zt),"day")){const Fa=le()(Zt).format("HH"),ar=le()(Zt).format("mm");return{disabledHours:()=>Xt(0,24).splice(1,Fa*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",zt,Fa),le()(_t).isSame(le()(Zt),"hour")&&zt<=Fa?Xt(0,60).splice(0,ar):Xt(60,60))}}else if(le()(_t).isSame(le()(),"day")){const Fa=le()().format("HH"),ar=le()().format("mm");return{disabledHours:()=>Xt(0,24).splice(0,Fa),disabledMinutes:()=>zt<=Fa?Xt(0,ar):Xt(60,60)}}else return},{RangePicker:Kn}=kt.default,{Option:rn}=En.default,_n=({shixunHomeworks:_t,loading:Zt,dispatch:zt})=>{const Fa=(0,pe.useParams)(),ar=(0,pe.useLocation)(),{workSetting:Ia,workList:zn,changeData:Qa}=_t,[xn,Ca]=(0,x.useState)(!0),[Sa,jr]=(0,x.useState)({}),[Ga,Ho]=(0,x.useState)(!1),[lo]=Pt.default.useForm();let[vo,cr]=(0,x.useState)([]),[sr,Xn]=(0,x.useState)([]);const[Ir,li]=(0,x.useState)([]),ka=(0,x.useRef)(!0);let[Pa,Qr]=(0,x.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,x.useEffect)(()=>()=>{cr([])},[]),(0,x.useEffect)(()=>{Ia!=null&&Ia.can_edit&&Ca(!1)},[Ia]);const Li=()=>{zt({type:"shixunHomeworks/getWorkSetting",payload:ur({},Fa)})},qn=un=>un&&un<le()().startOf("day");(0,x.useEffect)(()=>{Ia!=null&&Ia.course_id&&ka.current&&(ka.current=!1,Object.keys(Pa).map(function(un){Ia[un]!==void 0&&(Pa[un]=Ia[un])}),(!Pa.allow_late||!Pa.unified_late)&&(Pa.late_penalty=5),vo=JSON.parse(JSON.stringify(Ia.group_settings.map(un=>gt(ur({},un),{group_name:[un.group_name]})).filter(un=>un.publish_time!==null))),sr=JSON.parse(JSON.stringify(Ia.allow_late_settings.map(un=>gt(ur({},un),{group_name:[un.group_name]})).filter(un=>un.rank_forbidden_start!==null))),Qr(ur({},Pa)),console.log(Pa,Ia,"data"),cr([...vo]),(sr==null?void 0:sr.length)<=0?Xn([{}]):Xn([...sr]))},[Ia]);const fr=()=>{const un=JSON.parse(JSON.stringify(Pa));if(un.categoryId=Fa.categoryId,Pa.unified_setting||(vo=vo==null?void 0:vo.map(ca=>{var Bn;if(!ca.publish_time||!ca.end_time)throw Fe.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.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ca.group_name=typeof(ca==null?void 0:ca.group_name)=="string"?[ca==null?void 0:ca.group_name]:ca==null?void 0:ca.group_name,ca.group_id=(Bn=Ia.group_settings)==null?void 0:Bn.filter(Xr=>{var wr;return(wr=ca==null?void 0:ca.group_name)==null?void 0:wr.includes(Xr.group_name)}).map(Xr=>Xr.group_id||Xr.id).toString().split(","),ca})),un.group_settings=vo,Pa.rank_forbidden)if(Pa.unified_setting){if(!Pa.rank_forbidden_start)throw Fe.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(!Pa.rank_forbidden_end)throw Fe.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(le()(Pa.rank_forbidden_end)<le()(Pa.rank_forbidden_start))throw Fe.ZP.error("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4"),new String("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4")}else sr=sr==null?void 0:sr.map(ca=>{var Bn,Xr;if(!ca.rank_forbidden_start)throw Fe.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 Fe.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(!ca.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ca.group_name=typeof(ca==null?void 0:ca.group_name)=="string"?[ca==null?void 0:ca.group_name]:ca==null?void 0:ca.group_name,ca.group_id=(Xr=(Bn=ca==null?void 0:ca.group_name)==null?void 0:Bn.map(wr=>{var Dr,uo;let xr=(uo=(Dr=Ia.group_settings)==null?void 0:Dr.filter(fo=>(fo==null?void 0:fo.group_name)===wr))==null?void 0:uo[0];return xr==null?void 0:xr.group_id}))==null?void 0:Xr.toString().split(","),ca}),un.group_settingss=sr;ya(un)},ya=un=>{if(console.log(un.total_score,un.eff_score),un.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(un!=null&&un.work_efficiency&&un.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const ca={shixun_evaluation:un.shixun_evaluation};tn(void 0,null,function*(){Ho(!0),(yield(0,de.ZP)(`/api/homework_commons/${Fa.categoryId}/public_setting.json`,{method:"post",body:ur({},un)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),Li(),zt({type:"shixunHomeworks/getWorkList",payload:ur({},Fa)})),Ho(!1)})};return vn.createElement("section",{className:pn.form},vn.createElement("div",{className:pn.title},"\u516C\u5F00\u8BBE\u7F6E"),vn.createElement("div",{className:pn.content,style:{padding:0}},vn.createElement(st.Z,null,vn.createElement(Jt.Z,{span:24,className:pn.pubColSty},vn.createElement(xt.default,{checked:Pa.score_open,disabled:xn,onChange:un=>{Pa.score_open=un.target.checked,Qr(Object.assign({},Pa))}},vn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u6210\u7EE9")),vn.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")),vn.createElement(Jt.Z,{span:24,className:pn.pubColSty,style:{borderBottom:Pa.open_code?"none":"1px solid #fff"}},vn.createElement(xt.default,{checked:Pa.open_code,disabled:xn,onChange:un=>{Pa.open_code=un.target.checked,un.target.checked&&(Pa.open_code_type=1),Qr(Object.assign({},Pa))}},vn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u4EE3\u7801")),vn.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")),!!Pa.open_code&&vn.createElement(Jt.Z,{span:24,className:pn.pubColSty},vn.createElement(Lt.ZP.Group,{style:{marginLeft:"24px"},disabled:xn,value:Pa.open_code_type,onChange:un=>{Pa.open_code_type=un.target.value,Qr(Object.assign({},Pa))}},vn.createElement(Lt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),vn.createElement(Lt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))),vn.createElement(Jt.Z,{span:24,className:pn.pubColSty,style:{borderBottom:Pa.rank_forbidden&&Pa.unified_setting||!Pa.unified_setting&&(vo==null?void 0:vo.length)>0&&Pa.rank_forbidden?"none":"1px solid #fff"}},vn.createElement(xt.default,{checked:Pa.rank_forbidden,disabled:xn,onChange:un=>{Pa.rank_forbidden=un.target.checked,Qr(Object.assign({},Pa))}},vn.createElement("span",{className:"font14"},"\u5F00\u542F\u5C01\u699C")),vn.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")),!!Pa.rank_forbidden&&Pa.unified_setting&&vn.createElement(Jt.Z,{span:24,className:pn.pubColSty,style:{height:"50px",lineHeight:"50px"}},vn.createElement("div",{style:{marginLeft:"24px"}},vn.createElement(st.Z,{align:"middle"},vn.createElement(Jt.Z,null,"\u5F00\u59CB\u65F6\u95F4"),vn.createElement(Jt.Z,{className:"ml10"},vn.createElement(kt.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:qn,disabledTime:cn,disabled:xn||le()()>le()(Ia.rank_forbidden_start),value:Pa.rank_forbidden_start?le()(Pa.rank_forbidden_start):"",onChange:(un,ca)=>{Pa.rank_forbidden_start=ca,(Pa.end_time==""||!Pa.end_time)&&Pa.unified_setting&&(Pa.end_time=le()(un).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),Qr(Object.assign({},Pa))}})),vn.createElement(Jt.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),vn.createElement(Jt.Z,{className:"ml10"},vn.createElement(kt.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:le()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:xn,disabledDate:qn,value:Pa.rank_forbidden_end?le()(Pa.rank_forbidden_end):"",onChange:(un,ca)=>{Pa.rank_forbidden_end=ca,Qr(Object.assign({},Pa))}}))))),!Pa.unified_setting&&(vo==null?void 0:vo.length)>0&&!!Pa.rank_forbidden&&vn.createElement(st.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},sr.map(function(un,ca){var Bn,Xr,wr,Dr,uo,xr,fo;return vn.createElement(Jt.Z,{span:24,key:ca,style:{marginLeft:"24px"}},vn.createElement(st.Z,{className:"mt10 ml30",align:"middle"},vn.createElement(Jt.Z,null,vn.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",ca+1,"\uFF1A"),vn.createElement(En.default,{size:"large",disabled:xn||!((Bn=zn==null?void 0:zn.homework_status)!=null&&Bn.includes("\u672A\u53D1\u5E03"))&&un.id,mode:"multiple",className:pn.selectSty,style:{width:250},value:typeof un.group_name=="string"?[un.group_name]:un.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:lr=>{sr[ca].group_name=lr,sr[ca].group_id=un.group_id,Xn(sr.slice())}},Ia.group_settings&&Ia.group_settings.map(function(lr){if(Pa!=null&&Pa.unified_setting&&!sr.map(Br=>Br.group_name).toString().split(",").includes(String(lr.group_name)))return vn.createElement(rn,{value:lr.group_name,key:lr.id},lr.group_name);if(vo.map(Br=>Br.group_name).toString().split(",").includes(String(lr.group_name))&&!sr.map(Br=>Br.group_name).toString().split(",").includes(String(lr.group_name)))return vn.createElement(rn,{value:lr.group_name,key:lr.id},lr.group_name)}))),vn.createElement(Jt.Z,{span:15},vn.createElement("div",{className:"ml20"},vn.createElement(Kn,{size:"large",allowClear:!1,disabled:xn||((Dr=(wr=(Xr=Ia==null?void 0:Ia.group_settings)==null?void 0:Xr.filter(lr=>lr.id===un.id))==null?void 0:wr[0])!=null&&Dr.rank_forbidden_start?le()()<le()((fo=(xr=(uo=Ia==null?void 0:Ia.group_settings)==null?void 0:uo.filter(lr=>lr.id===un.id))==null?void 0:xr[0])==null?void 0:fo.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:qn,disabledTime:cn,showTime:{format:"HH:mm",defaultValue:[le()((0,Be.U6)(),"HH:mm"),le()((0,Be.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:un.rank_forbidden_start&&[le()(un.rank_forbidden_start),un.rank_forbidden_end?le()(un.rank_forbidden_end):void 0],onChange:(lr,Br)=>{sr[ca].rank_forbidden_start=Br[0],sr[ca].rank_forbidden_end=Br[1],Xn([...sr])}}))),!xn&&vn.createElement(Jt.Z,null,vn.createElement(pt.Z,{className:"c-green",onClick:()=>{Xn(sr.concat({}))}}),ca>0&&!un.id&&vn.createElement(an.Z,{className:"c-red ml10",onClick:()=>{sr=sr.filter((lr,Br)=>ca!==Br),Xn(sr.slice()),setTimeout(()=>Xn(sr.slice()),10)}}))))})),vn.createElement(Jt.Z,{span:24,className:pn.pubColSty,style:{borderBottom:Pa.hack_analysis?"none":"1px solid #fff"}},vn.createElement(xt.default,{checked:Pa.hack_analysis,disabled:xn,onChange:un=>{Pa.hack_analysis=un.target.checked,un.target.checked&&(Pa.hack_analysis_type=2),Qr(Object.assign({},Pa))}},vn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u89E3\u6790")),vn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09")),!!Pa.hack_analysis&&vn.createElement(Jt.Z,{span:24,className:pn.pubColSty},vn.createElement(Lt.ZP.Group,{style:{marginLeft:"24px"},disabled:xn,value:Pa.hack_analysis_type,onChange:un=>{Pa.hack_analysis_type=un.target.value,Qr(Object.assign({},Pa))}},vn.createElement(Lt.ZP,{value:2,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),vn.createElement(Lt.ZP,{style:{marginLeft:60,color:"#333333"},value:0},"\u4EFB\u610F\u65F6\u95F4"),vn.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"))),vn.createElement(Jt.Z,{span:24,className:pn.pubColSty,style:{borderBottom:Pa.hack_answer?"none":"1px solid #fff"}},vn.createElement(xt.default,{checked:Pa.hack_answer,disabled:xn,onChange:un=>{Pa.hack_answer=un.target.checked,un.target.checked&&(Pa.hack_answer_type=1),Qr(Object.assign({},Pa))}},vn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u7B54\u6848")),vn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09")),!!Pa.hack_answer&&vn.createElement(Jt.Z,{span:24,className:pn.pubColSty},vn.createElement(Lt.ZP.Group,{style:{marginLeft:"24px"},disabled:xn,value:Pa.hack_answer_type,onChange:un=>{Pa.hack_answer_type=un.target.value,Qr(Object.assign({},Pa))}},vn.createElement(Lt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),vn.createElement(Lt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))))),vn.createElement("div",{className:`${pn.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),vn.createElement("div",{className:pn.content},vn.createElement(xt.default,{disabled:xn,checked:Pa.show_late_code,onChange:()=>{Pa.show_late_code=!Pa.show_late_code,Qr(Object.assign({},Pa))}},vn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),vn.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"))),!xn&&vn.createElement(ke.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Ga,onClick:()=>fr()},"\u4FDD\u5B58"))};var wn=(0,pe.connect)(({shixunHomeworks:_t,loading:Zt})=>({shixunHomeworks:_t,loading:Zt.effects}))(_n),la=ee(67294),Za=Object.defineProperty,ir=Object.defineProperties,Or=Object.getOwnPropertyDescriptors,Wr=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,Mo=(_t,Zt,zt)=>Zt in _t?Za(_t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[Zt]=zt,Sr=(_t,Zt)=>{for(var zt in Zt||(Zt={}))Nn.call(Zt,zt)&&Mo(_t,zt,Zt[zt]);if(Wr)for(var zt of Wr(Zt))Go.call(Zt,zt)&&Mo(_t,zt,Zt[zt]);return _t},xo=(_t,Zt)=>ir(_t,Or(Zt)),sa=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});const Ra=({shixunHomeworks:_t,loading:Zt,dispatch:zt})=>{var Fa;const ar=(0,pe.useParams)(),{workSetting:Ia,workList:zn,changeData:Qa}=_t,[xn,Ca]=(0,x.useState)(!0),[Sa,jr]=(0,x.useState)(!1),[Ga,Ho]=(0,x.useState)(!1),[lo]=Pt.default.useForm();let[vo,cr]=(0,x.useState)([]),[sr,Xn]=(0,x.useState)([]);const Ir=!((Fa=zn==null?void 0:zn.homework_status)!=null&&Fa.includes("\u672A\u53D1\u5E03")),li=(0,x.useRef)(!0);let[ka,Pa]=(0,x.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,x.useEffect)(()=>()=>{cr([])},[]),(0,x.useEffect)(()=>{Ia!=null&&Ia.can_edit&&Ca(!1)},[Ia]);const Qr=()=>{zt({type:"shixunHomeworks/getWorkSetting",payload:Sr({},ar)})};(0,x.useEffect)(()=>{Ia!=null&&Ia.course_id&&li.current&&(li.current=!1,Object.keys(ka).map(function(un){ka[un]=Ia[un]}),(!ka.allow_late||!ka.unified_late)&&(ka.late_penalty=5),vo=JSON.parse(JSON.stringify(Ia.group_settings.map(un=>xo(Sr({},un),{group_name:[un.group_name]})).filter(un=>un.publish_time!==null))),sr=JSON.parse(JSON.stringify(Ia.allow_late_settings.map(un=>xo(Sr({},un),{group_name:[un.group_name]})).filter(un=>un.late_time!==null))),fr(),Pa(Sr({},ka)),cr([...vo]),Xn([...sr]))},[Ia]);const Li=()=>{const un=JSON.parse(JSON.stringify(ka));qn(un)},qn=un=>{if(console.log(un.total_score,un.eff_score),un.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}const ca=()=>sa(void 0,null,function*(){jr(!0),(yield(0,de.ZP)(`/api/homework_commons/${ar.categoryId}/hack_score_setting.json`,{method:"post",body:Sr({},un)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),Qr(),zt({type:"shixunHomeworks/getWorkList",payload:Sr({},ar)})),jr(!1)});(ka==null?void 0:ka.hack_score_settings)!==(Ia==null?void 0:Ia.hack_score_settings)&&Ir?xe.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:ca}):ca()},fr=()=>{var un;const{total_score:ca}=ka,Bn=(un=ka.hack_settings)==null?void 0:un.length;if(!Bn)return;let Xr=0,wr;switch(ka.hack_score_settings){case 0:const Dr=(ca/Bn).toFixed(2);ka.hack_settings.map((Mn,ga)=>{Xr=ga,Mn.hack_score=Dr>0?Dr:0}),wr=(ca-Dr*(Bn-1)).toFixed(2),ka.hack_settings[Xr].hack_score=wr>0?wr:0;break;case 1:const uo=[0,1,3,6];let xr=0;const fo=ka.hack_settings.filter(Mn=>Mn.difficult===1).length*uo[1],lr=ka.hack_settings.filter(Mn=>Mn.difficult===2).length*uo[2],Br=ka.hack_settings.filter(Mn=>Mn.difficult===3).length*uo[3],So=ca/(fo+lr+Br);console.log(So,2222),ka.hack_settings.map((Mn,ga)=>{Xr=ga,Mn.hack_score=(uo[Mn.difficult]*So).toFixed(2),xr=xr+Number(Mn.hack_score)});let Vo=ka.hack_settings[Xr].hack_score;wr=(ca-xr+Number(Vo)).toFixed(2),ka.hack_settings[Xr].hack_score=wr>0?wr:0;break}},ya=(Ia==null?void 0:Ia.send_type)===0||(Ia==null?void 0:Ia.send_type)===1&&(ka==null?void 0:ka.hack_score_settings)===2;return la.createElement("section",{className:pn.form},la.createElement("div",{className:pn.title},"\u5206\u503C\u8BBE\u7F6E"),la.createElement("div",{className:`${pn.content} mb30`},la.createElement(st.Z,{align:"middle"},la.createElement(st.Z,{align:"middle"},la.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),la.createElement(Mt.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:ka.total_score,disabled:xn,onChange:un=>{ka.total_score=un,Pa(Object.assign({},ka)),fr()},addonAfter:"\u5206"})),la.createElement(st.Z,{align:"middle",style:{marginLeft:60}},la.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),la.createElement(Mt.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:ka.punish_time,precision:0,disabled:xn,onChange:un=>{ka.punish_time=un,Pa(Object.assign({},ka)),fr()},addonAfter:"\u5206\u949F"})))),la.createElement("div",{className:pn.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),la.createElement("div",{className:`${pn.content} mb30`},la.createElement(Lt.ZP.Group,{disabled:xn,value:ka.hack_rank_rule,onChange:un=>{ka.hack_rank_rule=un.target.value,Pa(Object.assign({},ka))}},la.createElement(Lt.ZP,{value:0},la.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),la.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),la.createElement(Lt.ZP,{style:{marginLeft:40},value:1},la.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),la.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),la.createElement("div",{className:pn.title},"\u8BD5\u9898\u5206\u503C"),la.createElement("div",{className:pn.content},la.createElement(Lt.ZP.Group,{value:ka.hack_score_settings,onChange:un=>{ka.hack_score_settings=un.target.value,Pa(Object.assign({},ka)),fr()}},la.createElement(Lt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),la.createElement(Lt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),la.createElement(Lt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),la.createElement("div",{className:pn.content,style:{borderTop:"1px solid #fff"}},la.createElement("div",{style:{padding:"0px 20px 20px 20px"}},ka.hack_settings&&ka.hack_settings.map(function(un,ca){return la.createElement(st.Z,{key:ca,align:"middle",style:{marginTop:20}},la.createElement(Jt.Z,{flex:"1",className:"pr10"},la.createElement("span",{style:{color:"#333333"}},un.hack_name)),la.createElement(Jt.Z,{flex:"150px"},la.createElement(Mt.Z,{min:0,step:.1,style:{visibility:ya?"visible":"hidden"},value:un.hack_score,disabled:ka.hack_score_settings!==2,onChange:Bn=>{ka.hack_settings[ca].hack_score=Bn;const Xr=ka.hack_settings.reduce((wr,Dr)=>wr+Number(Dr.hack_score),0);ka.total_score=Xr.toFixed(2),Pa(Sr({},ka))},size:"large",addonAfter:"\u5206"})),la.createElement(Jt.Z,{className:"ml20",style:{lineHeight:"20px"}},un.difficult===1&&la.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),un.difficult===2&&la.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),un.difficult===3&&la.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!xn&&la.createElement(ke.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Sa,onClick:()=>Li()},"\u4FDD\u5B58"))};var mr=(0,pe.connect)(({shixunHomeworks:_t,loading:Zt})=>({shixunHomeworks:_t,loading:Zt.effects}))(Ra),Qn=ee(67294),Vr=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});const Nr=({shixunHomeworks:_t,loading:Zt,dispatch:zt})=>{var Fa,ar;const[Ia,zn]=(0,x.useState)(!0),[Qa,xn]=(0,x.useState)(!1),[Ca,Sa]=(0,x.useState)([]),[jr,Ga]=(0,x.useState)([]),[Ho,lo]=(0,x.useState)([]),[vo,cr]=(0,x.useState)([]),[sr,Xn]=(0,x.useState)(!1),[Ir,li]=(0,x.useState)(""),ka=(0,pe.useParams)();function Pa(){return Vr(this,null,function*(){let qn=yield(0,de.ZP)(`/api/homework_commons/${ka.categoryId}/homework_common_collaborators.json`,{method:"get"});Ga(qn)})}function Qr(){return Vr(this,null,function*(){var qn;let fr=yield(0,de.ZP)(`/api/courses/${ka==null?void 0:ka.coursesId}/teachers`,{method:"get",params:{homework_id:ka.categoryId,limit:1e3}});(qn=fr==null?void 0:fr.teacher_list)==null||qn.map(ya=>{ya.key=ya.user_id}),lo(fr==null?void 0:fr.teacher_list),cr(fr==null?void 0:fr.teacher_list)})}(0,x.useEffect)(()=>{Pa(),Qr()},[ka]);const Li=()=>{};return Qn.createElement("section",{className:pn.form},Qn.createElement(st.Z,{className:pn.content,style:{padding:"20px 30px",gap:20}},(Fa=jr==null?void 0:jr.data)==null?void 0:Fa.map(qn=>Qn.createElement(st.Z,{align:"middle",className:`${pn.borderSty} ${Ir===(qn==null?void 0:qn.id)?pn.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},Qn.createElement("span",{className:"c-grey-333"},qn==null?void 0:qn.real_name),(jr==null?void 0:jr.can_edit)&&Qn.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${pn.delSty}`,onMouseEnter:()=>{li(qn.id)},onMouseLeave:()=>{li("")},onClick:()=>Vr(void 0,null,function*(){(yield(0,de.ZP)(`/api/homework_commons/${ka.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:qn.id}})).status===0&&(Fe.ZP.info("\u5220\u9664\u6210\u529F"),Pa(),Qr())})}))),!(jr!=null&&jr.can_edit)&&!((ar=jr==null?void 0:jr.data)!=null&&ar.length)&&Qn.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(jr==null?void 0:jr.can_edit)&&Qn.createElement(ke.ZP,{className:pn.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>xn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),Qn.createElement(xe.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Qa,confirmLoading:sr,onCancel:()=>xn(!1),onOk:()=>Vr(void 0,null,function*(){if(Ca.length===0){Fe.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}Xn(!0),(yield(0,de.ZP)(`/api/homework_commons/${ka.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:Ca}})).status===0&&(Fe.ZP.info("\u6DFB\u52A0\u6210\u529F"),Sa([]),Pa(),Qr(),xn(!1)),Xn(!1)})},Qn.createElement("div",null,Qn.createElement("div",{style:{display:"flex"}},Qn.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",Qn.createElement(Ot.default.Search,{onChange:qn=>{lo(vo.filter(fr=>fr.name.indexOf(qn.target.value)>-1))}})),Qn.createElement(Te.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(qn,fr)=>{Sa(qn)},selectedRowKeys:Ca,getCheckboxProps:qn=>({disabled:qn.is_collaborator})},pagination:!1,dataSource:Ho,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var Uo=(0,pe.connect)(({shixunHomeworks:_t,loading:Zt})=>({shixunHomeworks:_t,loading:Zt.effects}))(Nr),Ao=ee(67294);const ko=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:Ao.createElement(Rn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:Ao.createElement(mr,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:Ao.createElement(wn,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:Ao.createElement(Uo,null)}];var Jo=()=>Ao.createElement(vt.Z,{dataSource:ko,style:{marginBottom:52}}),nl=ee(246),al=ee.n(nl),Zn=ee(86763),Ea=ee(67294),io=Object.defineProperty,Wo=Object.defineProperties,wi=Object.getOwnPropertyDescriptors,ri=Object.getOwnPropertySymbols,oi=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,Hr=(_t,Zt,zt)=>Zt in _t?io(_t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[Zt]=zt,ce=(_t,Zt)=>{for(var zt in Zt||(Zt={}))oi.call(Zt,zt)&&Hr(_t,zt,Zt[zt]);if(ri)for(var zt of ri(Zt))Qi.call(Zt,zt)&&Hr(_t,zt,Zt[zt]);return _t},Pe=(_t,Zt)=>Wo(_t,wi(Zt)),Ne=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});const Se=({shixunHomeworks:_t,loading:Zt,dispatch:zt})=>{const Fa=(0,pe.useParams)(),ar=(0,pe.useLocation)(),[Ia,zn]=(0,x.useState)([]),[Qa,xn]=(0,x.useState)([]),[Ca,Sa]=(0,x.useState)(!0),[jr,Ga]=(0,x.useState)(!1),[Ho,lo]=(0,x.useState)(1),[vo,cr]=(0,x.useState)([]),[sr,Xn]=(0,x.useState)(!1),[Ir,li]=(0,x.useState)(!1),[ka,Pa]=(0,x.useState)(!1);(0,x.useEffect)(()=>{_t.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(Qr.resetFields(),zn([]),Xn(!0),qn()):Xn(!1)},[_t.actionTabs.key]);const[Qr]=Pt.default.useForm();let Li=[];const qn=()=>Ne(void 0,null,function*(){var un;if(Ca&&!jr){Ga(!0),lo(Ho+1);const ca=yield(0,Zn.JG)(Pe(ce({},Fa),{page:Ho})),Bn=[...ca.group_list];ca!=null&&ca.ungroup_list&&Bn.push({id:ca==null?void 0:ca.ungroup_list.id,name:ca==null?void 0:ca.ungroup_list.name,works_count:ca==null?void 0:ca.ungroup_list.work_count,last_review_time:ca==null?void 0:ca.ungroup_list.last_review_time}),zn([...Ia,...Bn]),Ga(!1),((un=ca.group_list)==null?void 0:un.length)<10&&Sa(!1)}}),fr=()=>{zt({type:"shixunHomeworks/setActionTabs",payload:{}}),li(!1),Sa(!0),Ga(!1),lo(1),zn([]),Qr.resetFields()},ya=[{title:"",dataIndex:"id",width:280,render:(un,ca)=>Ea.createElement(xt.default,{disabled:!(ca.works_count>1),value:String(ca.id)},ca.name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_review_time",width:130}];return Ea.createElement(xe.default,{centered:!0,title:"\u4EE3\u7801\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:sr,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>Ne(void 0,null,function*(){const un=Qr.getFieldValue();Pa(!0);const ca=yield(0,de.ZP)(`/api/homework_commons/${Fa.categoryId}/hack_homework_code_repeat.json`,{method:"post",body:{group_ids:[...un.group_ids]}});Pa(!1),ca.status===0&&(fr(),yield zt({type:"shixunHomeworks/getWorkList",payload:_t.actionTabs.params}),pe.history.push(`/classrooms/${Fa.coursesId}/program_homework/${Fa.categoryId}/detail?tabs=2`),zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:ka},onCancel:fr},Ea.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"),_t.codeReviewCourse&&Ea.createElement(Pt.default,{form:Qr,onChange:un=>{cr(ce({},Qr.getFieldValue()))},initialValues:{group_ids:Li,end_time:le()(le()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},Ea.createElement("div",{className:"flexd-table-header mt20"},Ea.createElement(Te.default,{pagination:!1,dataSource:[],columns:ya})),Ea.createElement(Pt.default.Item,{name:"group_ids"},Ea.createElement(xt.default.Group,{className:"w100"},Ea.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},Ea.createElement(al(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:un=>{qn()},hasMore:Ca,useWindow:!1},Ea.createElement(Te.default,{loading:Zt.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:ya,dataSource:Ia,pagination:!1})))))),Ea.createElement(st.Z,null,Ea.createElement(Jt.Z,{className:"ml10"},Ea.createElement(xt.default,{checked:Ir,onChange:un=>{li(un.target.checked);let ca=[];un.target.checked&&(ca=Ia.filter(Bn=>Bn.works_count>1).map(Bn=>Bn.id+"")),Qr.setFieldsValue({group_ids:ca})}},"\u5168\u9009"))))};var Qe=(0,pe.connect)(({shixunHomeworks:_t,loading:Zt})=>({shixunHomeworks:_t,loading:Zt}))(Se),rt=ee(86169),bt=ee(12082),tt=ee(41642),lt=ee(93686),mt=ee(98769),on=ee(9151),hn=ee(37752),Vn=ee(33648),kn=ee(70562),Aa=ee(51959),pa=Object.defineProperty,Sn=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,yn=Object.getOwnPropertySymbols,Cn=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable,Da=(_t,Zt,zt)=>Zt in _t?pa(_t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[Zt]=zt,wa=(_t,Zt)=>{for(var zt in Zt||(Zt={}))Cn.call(Zt,zt)&&Da(_t,zt,Zt[zt]);if(yn)for(var zt of yn(Zt))ha.call(Zt,zt)&&Da(_t,zt,Zt[zt]);return _t},za=(_t,Zt)=>Sn(_t,jt(Zt)),Oa=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});let ea=[on.Z,hn.Z,Vn.Z];const Ba=({user:_t,classroomList:Zt,shixunHomeworks:zt})=>{var Fa,ar,Ia;let[zn,Qa]=(0,x.useState)(wa(za(wa({},(0,pe.useParams)()),{page:1,per_page:20,rank_type:2,search:"",course_group:(0,De.dE)()?[_t.userInfo.course.course_group_id]:[]}),(0,pe.useParams)()));const[xn,Ca]=(0,x.useState)([]),[Sa,jr]=(0,x.useState)([]),[Ga,Ho]=(0,x.useState)([]),[lo,vo]=(0,x.useState)(!1),[cr,sr]=(0,x.useState)(!1);let[Xn,Ir]=(0,x.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(qn,fr)=>qn.rank-fr.rank,render:(qn,fr,ya)=>qn<4?x.createElement("img",{src:ea[qn-1]}):qn},{title:"\u59D3\u540D",dataIndex:"user_name",width:80,fixed:"left",ellipsis:!0,key:"user_name",render:(qn,fr,ya)=>x.createElement("span",null,fr.is_me&&x.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"),qn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",width:80,ellipsis:!0,fixed:"left",render:qn=>qn||"- -"},{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:qn=>x.createElement("span",null,qn," ",qn!="-"&&"\u9898")},{title:"\u5F97\u5206",dataIndex:"score",width:50,ellipsis:!0,fixed:"left",key:"score"}]);const[li,ka]=(0,x.useState)(null),Pa=()=>{var qn,fr;const ya=((qn=document.getElementById("filterWarp"))==null?void 0:qn.clientHeight)||0,un=((fr=document.getElementById("pagination"))==null?void 0:fr.clientHeight)||0;return window.innerHeight-ya-un-110};(0,x.useEffect)(()=>{const qn=()=>{ka(Pa())};return window.addEventListener("resize",qn),()=>{window.removeEventListener("resize",qn)}},[]),(0,x.useEffect)(()=>{var qn,fr,ya,un,ca;Xn.splice(7);for(let Bn=0;Bn<((qn=xn==null?void 0:xn.question_data)==null?void 0:qn.length);Bn++){let Xr={};Xr.title=xn!=null&&xn.sent_type?x.createElement("span",null,"\u9898\u76EE"+(Bn+1)+`\uFF08${(ya=(fr=xn==null?void 0:xn.question_data)==null?void 0:fr[Bn])==null?void 0:ya.question_score}\uFF09`):x.createElement("a",{onClick:()=>Oa(void 0,null,function*(){var wr,Dr;let uo=yield(0,de.ZP)(`/api/problems/${(Dr=(wr=xn==null?void 0:xn.question_data)==null?void 0:wr[Bn])==null?void 0:Dr.identifier}/start.json`,{method:"get"});uo&&(window.open(`/myproblems/${uo==null?void 0:uo.identifier}?type=1`),localStorage.setItem("program_homework",[zn.coursesId,zn.categoryId]))})},"\u9898\u76EE"+(Bn+1)+`\uFF08${(ca=(un=xn==null?void 0:xn.question_data)==null?void 0:un[Bn])==null?void 0:ca.question_score}\uFF09`),Xr.dataIndex="question_data",Xr.width=140,Xr.render=(wr,Dr)=>{var uo,xr,fo,lr,Br;return x.createElement("div",null,((uo=wr==null?void 0:wr[Bn])==null?void 0:uo.answer_question_time)&&x.createElement("div",null,x.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Oa(void 0,null,function*(){var So,Vo,Mn,ga,rr,na,Ua,Kr;if((0,De.Rm)()&&!((So=Zt.AssistantObject.hack)!=null&&So.can_appraise)){Fe.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(!((Vo=wr==null?void 0:wr[Bn])!=null&&Vo.open_code)){Fe.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Mr=yield(0,de.ZP)("/api/courses/view_code.json",{method:"get",params:za(wa({},zn),{id:zn.coursesId,homework_common_id:zn.categoryId,hack_user_code_id:(Mn=wr==null?void 0:wr[Bn])==null?void 0:Mn.hack_user_code_id})});xe.default.warning({icon:null,width:800,title:x.createElement("div",null,x.createElement("span",null,"\u4EE3\u7801"),x.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(ga=wr==null?void 0:wr[Bn])==null?void 0:ga.current_language),x.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(rr=wr==null?void 0:wr[Bn])==null?void 0:rr.memory,"\uFF08KB\uFF09"),x.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(na=wr==null?void 0:wr[Bn])==null?void 0:na.run_time,"\uFF08ms\uFF09"),x.createElement("span",null,"\u5F97\u5206\uFF1A",(Ua=wr==null?void 0:wr[Bn])==null?void 0:Ua.score)),content:x.createElement(kn.Z,{classroomList:Zt,user:_t,languages:[{language:(Kr=wr==null?void 0:wr[Bn])==null?void 0:Kr.language,code:Mr==null?void 0:Mr.code}],v:wr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:wr.language,game_id:wr.id,diff_code_count:wr.diff_code_count})})})}),x.createElement("span",{style:{margin:"0px 10px"}},((xr=wr==null?void 0:wr[Bn])==null?void 0:xr.answer_question_time)||"- -"),(fo=wr==null?void 0:wr[Bn])!=null&&fo.submit_count?x.createElement(Ue.Z,{title:`${((lr=wr==null?void 0:wr[Bn])==null?void 0:lr.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},x.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Br=wr==null?void 0:wr[Bn])==null?void 0:Br.submit_count)||0):null))},Xn.push(Xr)}Ir([...Xn])},[xn==null?void 0:xn.question_data]),(0,x.useEffect)(()=>{var qn;(qn=_t==null?void 0:_t.userInfo)!=null&&qn.course&&((0,De.dE)()&&(zn.course_group=(0,De.dE)()?[_t.userInfo.course.course_group_id]:[],Qa(wa({},zn))),Qr(1))},[_t==null?void 0:_t.userInfo]);function Qr(qn){return Oa(this,null,function*(){var fr,ya,un,ca,Bn,Xr,wr;vo(!0);let Dr=yield(0,de.ZP)("/api/courses/rank_list.json",{method:"get",params:za(wa({},zn),{id:zn.coursesId,rank_type:2,homework_common_id:zn.categoryId})});if(Ca(Dr),vo(!1),Dr.status!=-1&&((0,De.dE)()?(qn===1&&jr([(ya=(fr=Dr==null?void 0:Dr.course_group)==null?void 0:fr[0])==null?void 0:ya.id]),Dr!=null&&Dr.my_rank?Ho([wa({is_me:!0},Dr==null?void 0:Dr.my_rank),...Dr==null?void 0:Dr.rank_list]):Ho([...Dr==null?void 0:Dr.rank_list])):Ho([...Dr==null?void 0:Dr.rank_list]),qn===1)){let uo={title:(Dr==null?void 0:Dr.hack_rank_rule)===0?x.createElement(Ue.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${Dr==null?void 0:Dr.punish_time}\u5206\uFF09`},x.createElement("span",{style:{marginRight:3}},"\u603B\u8017\u65F6")," ",x.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-tishixiaowenhao c-blue"})):"\u5B8C\u6210\u65F6\u95F4",dataIndex:(Dr==null?void 0:Dr.hack_rank_rule)===0?"finish_time":"finish_at",width:(Dr==null?void 0:Dr.hack_rank_rule)===0?80:150,ellipsis:!0,fixed:"left",key:"finish_time"};Xn.push(uo);for(let xr=0;xr<((un=Dr==null?void 0:Dr.question_data)==null?void 0:un.length);xr++){let fo={};fo.title=Dr!=null&&Dr.sent_type?x.createElement("span",null,"\u9898\u76EE"+(xr+1)+`\uFF08${(Bn=(ca=Dr==null?void 0:Dr.question_data)==null?void 0:ca[xr])==null?void 0:Bn.question_score}\uFF09`):x.createElement("a",{onClick:()=>Oa(this,null,function*(){var lr,Br;let So=yield(0,de.ZP)(`/api/problems/${(Br=(lr=Dr==null?void 0:Dr.question_data)==null?void 0:lr[xr])==null?void 0:Br.identifier}/start.json`,{method:"get"});So&&(window.open(`/myproblems/${So==null?void 0:So.identifier}?type=1`),localStorage.setItem("program_homework",[zn.coursesId,zn.categoryId]))})},"\u9898\u76EE"+(xr+1)+`\uFF08${(wr=(Xr=Dr==null?void 0:Dr.question_data)==null?void 0:Xr[xr])==null?void 0:wr.question_score}\uFF09`),fo.dataIndex="question_data",fo.width=140,fo.render=(lr,Br)=>{var So,Vo,Mn,ga,rr;return x.createElement("div",null,((So=lr==null?void 0:lr[xr])==null?void 0:So.answer_question_time)&&x.createElement("div",null,x.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Oa(this,null,function*(){var na,Ua,Kr,Mr,Lo,hi,Ki,Ji;if((0,De.Rm)()&&!((na=Zt.AssistantObject.hack)!=null&&na.can_view)){Fe.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(!((Ua=lr==null?void 0:lr[xr])!=null&&Ua.open_code)){Fe.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Pl=yield(0,de.ZP)("/api/courses/view_code.json",{method:"get",params:za(wa({},zn),{id:zn.coursesId,homework_common_id:zn.categoryId,hack_user_code_id:(Kr=lr==null?void 0:lr[xr])==null?void 0:Kr.hack_user_code_id})});xe.default.warning({icon:null,width:800,title:x.createElement("div",null,x.createElement("span",null,"\u4EE3\u7801"),x.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(Mr=lr==null?void 0:lr[xr])==null?void 0:Mr.current_language),x.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Lo=lr==null?void 0:lr[xr])==null?void 0:Lo.memory,"\uFF08KB\uFF09"),x.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(hi=lr==null?void 0:lr[xr])==null?void 0:hi.run_time,"\uFF08ms\uFF09"),x.createElement("span",null,"\u5F97\u5206\uFF1A",(Ki=lr==null?void 0:lr[xr])==null?void 0:Ki.score)),content:x.createElement(kn.Z,{classroomList:Zt,user:_t,languages:[{language:(Ji=lr==null?void 0:lr[xr])==null?void 0:Ji.language,code:Pl==null?void 0:Pl.code}],v:lr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:lr.language,game_id:lr.id,diff_code_count:lr.diff_code_count})})})}),x.createElement("span",{style:{margin:"0px 10px"}},((Vo=lr==null?void 0:lr[xr])==null?void 0:Vo.answer_question_time)||"- -"),(Mn=lr==null?void 0:lr[xr])!=null&&Mn.submit_count?x.createElement(Ue.Z,{title:`${((ga=lr==null?void 0:lr[xr])==null?void 0:ga.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},x.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((rr=lr==null?void 0:lr[xr])==null?void 0:rr.submit_count)||0):null))},Xn.push(fo)}Ir([...Xn])}})}console.log("----",zt,Xn);const Li=(Fa=zt==null?void 0:zt.workSetting)==null?void 0:Fa.hack_rank_rule;return x.createElement("div",{style:{width:1200,margin:"0px auto",minHeight:cr?"100vh":""},id:"rankingInfo"},(xn==null?void 0:xn.message)==="\u5C01\u699C\u4E2D"?x.createElement(mn.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"}):x.createElement("div",{style:{background:"#fff",padding:20,height:"100%",overflow:"auto"}},x.createElement("div",{id:"filterWarp"},x.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},x.createElement("div",{style:{display:"flex",width:"90%"}},x.createElement("label",null,"\u5206\u73ED\u60C5\u51B5\uFF1A"),(0,De.GJ)()&&x.createElement("div",{style:{flex:1}},x.createElement(xt.default.Group,{className:tt.Z.checkboxgroup,value:Sa,onChange:qn=>{var fr;zn.type===1?(jr([]),zn.course_group=[],zn.page=1,Qa(wa({},zn)),Qr()):zn.type===2?(jr(["\u5168\u90E8"]),zn.course_group=(fr=xn==null?void 0:xn.course_group)==null?void 0:fr.map(ya=>ya.id),zn.page=1,Qa(wa({},zn)),Qr()):(jr([...qn.filter(ya=>ya!="\u5168\u90E8")]),zn.course_group=qn.filter(ya=>ya!="\u5168\u90E8"),zn.page=1,Qa(wa({},zn)),Qr())}},x.createElement(xt.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:qn=>{qn.target.checked?zn.type=2:zn.type=1}},"\u5168\u90E8\u5206\u73ED"),(ar=xn==null?void 0:xn.course_group)==null?void 0:ar.map((qn,fr)=>x.createElement(xt.default,{style:{marginBottom:10},onChange:ya=>{zn.type=3},value:qn.id},qn==null?void 0:qn.name)))),(0,De.dE)()&&x.createElement(Lt.ZP.Group,{style:{marginBottom:10},onChange:qn=>{qn.target.value==="\u5168\u90E8"?(zn.course_group=[],zn.page=1,Qa(wa({},zn)),Qr()):(zn.course_group=[qn.target.value],zn.page=1,Qa(wa({},zn)),Qr())},defaultValue:_t.userInfo.course.course_group_id},x.createElement(Lt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(Ia=xn==null?void 0:xn.course_group)==null?void 0:Ia.map((qn,fr)=>x.createElement(Lt.ZP,{style:{marginBottom:10},value:qn.id},qn.name)))),x.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{cr?(0,Aa.BU)():(0,Aa.Dj)(document.getElementById("rankingInfo")),sr(!cr)}},x.createElement("i",{style:{fontSize:12},className:`mr10 iconfont ${cr?"icon-tuichuquanping2":"icon-quanping2"}`}),x.createElement("span",null,cr?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F\u5C55\u793A"))),x.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"space-between",marginTop:10}},x.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"," ",x.createElement("a",{onClick:()=>{xe.default.warning({title:"\u8BA1\u5206\u89C4\u5219",width:500,content:x.createElement("div",null,Li===0&&x.createElement("p",null,"\u6392\u540D\u89C4\u5219\uFF1A\u7ECF\u5178ACM\u89C4\u5219"),x.createElement("p",null,"AC\uFF08\u901A\u8FC7\u9898\u76EE\uFF09\u8D8A\u591A\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),x.createElement("p",null,"AC\u76F8\u540C\uFF0C\u603B\u7528\u65F6\u8D8A\u5C11\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),Li==0&&x.createElement(x.Fragment,null,x.createElement("p",null,"\u603B\u7528\u65F6=\u2211\uFF08\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6\uFF09"),x.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"),x.createElement("p",null,"\u7F5A\u65F6=\uFF08\u901A\u8FC7\u524D\uFF09\u9519\u8BEF\u4EE3\u7801\u63D0\u4EA4\u6B21\u6570*\u6BCF\u6B21\u7F5A\u65F6"),x.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,De.GJ)()&&x.createElement(x.Fragment,null,x.createElement(Ot.default.Search,{className:"mr20",onSearch:qn=>{zn.page=1,zn.search=qn,Qa(wa({},zn)),Qr()},placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:250,marginLeft:"auto"}}),x.createElement(ke.ZP,{onClick:()=>{(0,mt.VY)(za(wa({},zn),{id:zn.coursesId,rank_type:2,homework_common_id:zn.categoryId}))}},"\u5BFC\u51FA")))),x.createElement(ve.Z,{spinning:lo},x.createElement(Te.default,{style:{marginTop:10},pagination:!1,scroll:{x:1200,y:cr?li:null},rowClassName:(qn,fr)=>fr===0&&(0,De.dE)()&&tt.Z.tables,dataSource:Ga,columns:Xn})),x.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},x.createElement(Ce.Z,{current:zn.page,pageSize:zn.per_page,total:xn==null?void 0:xn.count,showSizeChanger:!0,onChange:(qn,fr)=>{zn.page=qn,zn.per_page=fr,Qa(wa({},zn)),Qr()}}))))};var xa=(0,pe.connect)(({shixunHomeworks:_t,user:Zt,classroomList:zt})=>({user:Zt,shixunHomeworks:_t,classroomList:zt}))(Ba),Ya=ee(6151),er=ee(58387),Rr=ee(17755),ao=ee(44694),wo=ee(52765),ma=ee(67294),Eo=Object.defineProperty,ii=Object.getOwnPropertySymbols,ki=Object.prototype.hasOwnProperty,sl=Object.prototype.propertyIsEnumerable,Zi=(_t,Zt,zt)=>Zt in _t?Eo(_t,Zt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):_t[Zt]=zt,di=(_t,Zt)=>{for(var zt in Zt||(Zt={}))ki.call(Zt,zt)&&Zi(_t,zt,Zt[zt]);if(ii)for(var zt of ii(Zt))sl.call(Zt,zt)&&Zi(_t,zt,Zt[zt]);return _t},Yo=(_t,Zt,zt)=>new Promise((Fa,ar)=>{var Ia=xn=>{try{Qa(zt.next(xn))}catch(Ca){ar(Ca)}},zn=xn=>{try{Qa(zt.throw(xn))}catch(Ca){ar(Ca)}},Qa=xn=>xn.done?Fa(xn.value):Promise.resolve(xn.value).then(Ia,zn);Qa((zt=zt.apply(_t,Zt)).next())});let $i=[{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 Fi=({shixunHomeworks:_t,classroomList:Zt,globalSetting:zt,user:Fa,loading:ar,dispatch:Ia})=>{var zn,Qa,xn,Ca;const Sa=(0,pe.useParams)(),[jr]=(0,pe.useSearchParams)(),[Ga,Ho]=(0,x.useState)(jr.get("tabs")||"0"),[lo,vo]=(0,x.useState)({}),{workList:cr,workSetting:sr}=_t,[Xn,Ir]=(0,x.useState)(!1);Sa.category=jr.get("category_id"),Sa.order="work_score",Sa.b_order="desc",(0,x.useEffect)(()=>{(0,De.Rm)()&&Ia({type:"classroomList/getAssistantPermissions",payload:{course_id:Sa.coursesId}})},[(zn=Fa==null?void 0:Fa.userInfo)==null?void 0:zn.login]);const li=ya=>{var un;if(ya==="3"&&Ia({type:"shixunHomeworks/getWorkSetting",payload:di({},Sa)}),ya==="5"&&!((un=Zt.AssistantObject.hack)!=null&&un.can_exam_leaderboard)&&(0,De.Rm)()){Fe.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}Ho(ya),ya==="0"&&Ia({type:"shixunHomeworks/getWorkList",payload:Sa})},ka=()=>{xe.default.confirm({centered:!0,width:530,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ma.createElement("div",{className:"tc font16"},"\u4F60\u5728\u8BE5\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF0C\u65E0\u6CD5\u6062\u590D",ma.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u91CD\u505A\uFF1F"),onOk:()=>Yo(void 0,null,function*(){var ya;const un=(ya=_t.workList)==null?void 0:ya.myshixun_identifier;(yield(0,Zn.Fr)({id:un}))&&(Fe.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`),Ia({type:"shixunHomeworks/getWorkList",payload:lo}))})})},Pa=ya=>{ya=ya!=null&&ya.includes(".json")?ya:`${ya}.json`,xe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ma.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Yo(void 0,null,function*(){const un=yield(0,lt.$Q)({url:ya});if(!un)return;Fe.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const ca=yield(0,lt.Ir)({id:un.shixun_identifier});if(ca!=null&&ca.game_identifier){(0,Be.xg)(`/tasks/${ca.game_identifier}?coursesId=${Sa.coursesId}`);return}(ca==null?void 0:ca.status)===2?Pa(ca==null?void 0:ca.message):(ca==null?void 0:ca.status)===3&&Qr(ca==null?void 0:ca.message)})})},Qr=ya=>{xe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ma.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",ya,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Li=ya=>Yo(void 0,null,function*(){ya=ya!=null&&ya.includes(".json")?ya:`${ya}.json`;const un=yield(0,lt.$Q)({url:ya});if(console.log(un,"execRes"),un!=null&&un.game_identifier){(0,Be.xg)(`/tasks/${un.game_identifier}?coursesId=${Sa.coursesId}`);return}(un==null?void 0:un.status)===-3?(0,Be.eF)():(un==null?void 0:un.status)===2?Pa(un==null?void 0:un.message):(un==null?void 0:un.status)===3&&Qr(un==null?void 0:un.message)}),qn=[(0,De.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:ma.createElement(Ft,null)},{name:(0,De.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",compontent:ma.createElement(We.Z,{setExportParams:vo}),forceRender:!0},!(0,De.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:ma.createElement(Ft,null),hidden:!1},{name:"\u6392\u540D",id:"5",compontent:ma.createElement(xa,null),hidden:!1},{name:"\u4EE3\u7801\u67E5\u91CD",id:"2",compontent:ma.createElement(yt,null),hidden:(Qa=zt==null?void 0:zt.setting)==null?void 0:Qa.hide_code_repeat},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",compontent:ma.createElement(ao.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(xn=cr.homework_status)!=null&&xn.includes("\u5BFC\u5165")?ma.createElement(Rr.Z,null):ma.createElement(Jo,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:ma.createElement(wo.default,null)}].filter(ya=>!!ya).filter(ya=>{var un,ca;return(0,De.dE)()?ya.name!=="\u4EE3\u7801\u67E5\u91CD"&&ya.name!=="\u8BBE\u7F6E":(0,De.dE)()||((un=cr==null?void 0:cr.homework_status)==null?void 0:un[0])!=="\u5DF2\u622A\u6B62"?ya.name!=="\u8D28\u91CF\u68C0\u6D4B":!cr.code_review&&((ca=cr==null?void 0:cr.homework_status)==null?void 0:ca[0])!=="\u672A\u53D1\u5E03"?!0:ya.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(ya=>cr.open_code_quality_analysis?!0:ya.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(ya=>{var un;return(un=cr.homework_status)!=null&&un.includes("\u5BFC\u5165")?(0,De.dE)()?["0","1"].includes(ya.id):["0","1","3"].includes(ya.id):!0}).filter(ya=>!(ya!=null&&ya.hidden)),fr=()=>{var ya,un,ca,Bn,Xr,wr,Dr,uo,xr,fo,lr;return ma.createElement("aside",{className:tt.Z.workListTabButton},(0,De.dE)()&&!((ya=cr.homework_status)!=null&&ya.includes("\u5BFC\u5165"))&&ma.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},ma.createElement(ke.ZP,{onClick:()=>Yo(void 0,null,function*(){var Br;let So=yield(0,de.ZP)(`/api/problems/${(Br=_t.workList)==null?void 0:Br.start_identifier}/start.json`,{method:"get"});So&&(window.open(`/myproblems/${So==null?void 0:So.identifier}?type=1&backUrl=/classrooms/${Sa.coursesId}/program_homework/${Sa.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Sa==null?void 0:Sa.coursesId,Sa==null?void 0:Sa.categoryId]))}),type:"primary"},(un=cr.homework_status)!=null&&un.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,De.dE)()&&((ca=_t.workList)==null?void 0:ca.redo_work)&&ma.createElement(ke.ZP,{onClick:ka,type:"primary",icon:ma.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((Bn=_t.workList)==null?void 0:Bn.shixun_status)>1&&((Xr=_t.workList)==null?void 0:Xr.time_status)<5&&(0,De.dE)()&&ma.createElement(ke.ZP,{type:"primary",icon:ma.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var Br,So,Vo,Mn,ga,rr,na;(0,Yn.tJ)(Ia,!0)&&((Vo=(So=(Br=_t.workList)==null?void 0:Br.task_operation)==null?void 0:So[1])!=null&&Vo.includes("/")?Li((ga=(Mn=_t.workList)==null?void 0:Mn.task_operation)==null?void 0:ga[1]):(0,Be.xg)(`/tasks/${(na=(rr=_t.workList)==null?void 0:rr.task_operation)==null?void 0:na[1]}`))}},(Dr=(wr=_t.workList)==null?void 0:wr.task_operation)==null?void 0:Dr[0]),((uo=_t.workList)==null?void 0:uo.commit_des)&&((xr=_t.workList)==null?void 0:xr.commit_des)&&ma.createElement(ke.ZP,{type:"primary",icon:ma.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var Br;(0,Be.xg)(`/classrooms/${Sa.coursesId}/shixun_homework/${Sa.categoryId}/${(Br=_t.workList)==null?void 0:Br.id}/commitsummary`)}},(fo=_t.workList)==null?void 0:fo.commit_des),(sr==null?void 0:sr.hack_edit_permission)&&((lr=cr==null?void 0:cr.homework_status)==null?void 0:lr[0])==="\u672A\u53D1\u5E03"&&ma.createElement(ke.ZP,{type:"primary",icon:ma.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var Br;if(!((Br=Zt.AssistantObject.hack)!=null&&Br.can_create)&&(0,De.Rm)()){Fe.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}pe.history.push(`/classrooms/${Sa.coursesId}/program_homework/${Sa.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"),(0,De.GJ)()&&cr.publish_immediately&&ma.createElement(ke.ZP,{type:"primary",icon:ma.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:()=>{var Br,So;if(!((Br=Zt.AssistantObject.hack)!=null&&Br.can_publish)&&(0,De.Rm)()){Fe.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(((So=Fa==null?void 0:Fa.userInfo)==null?void 0:So.user_status)===2){(0,Yn.Rd)();return}Ia({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Sa.categoryId],selectArrsAll:[cr],params:Sa,detail:!0,type:2,manage_all_group:sr==null?void 0:sr.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),(0,De.GJ)()&&cr.end_immediately&&ma.createElement(ke.ZP,{style:{background:"#0152d9",color:"#fff"},type:"primary",icon:ma.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:()=>{var Br;if(!((Br=Zt.AssistantObject.hack)!=null&&Br.can_stop)&&(0,De.Rm)()){Fe.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}Ia({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",params:Sa,type:2,detail:!0,selectArrs:[Sa.categoryId]}})}},"\u7ACB\u5373\u622A\u6B62"))};return ma.createElement("section",null,ma.createElement("div",{className:"edu-container"},cr.homework_name&&ma.createElement("section",{className:"animated fadeIn"},ma.createElement("aside",{className:"mt10"},cr.category&&ma.createElement(ie.Z,{separator:">"},ma.createElement(ie.Z.Item,null,ma.createElement(pe.Link,{to:`/classrooms/${Sa==null?void 0:Sa.coursesId}/program_homework`},cr.course_name)),ma.createElement(ie.Z.Item,null,ma.createElement(pe.Link,{to:`/classrooms/${Sa==null?void 0:Sa.coursesId}/program_homework/${cr.category.main?"":cr.category.category_id}`},cr.category.category_name)),ma.createElement(ie.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),ma.createElement("aside",{className:[tt.Z.title,"mt20"].join(" ")},ma.createElement(pe.Link,{to:`/classrooms/${cr.course_id}/program_homework/${cr.category.main?"":cr.category.category_id}`},ma.createElement(ze.Z,{className:"font16 c-black"})),ma.createElement(Ue.Z,{title:cr.homework_name,placement:"bottom"},ma.createElement("strong",{className:"font20 ml5"},cr.homework_name)),ma.createElement(Be.VV,{temporary:!0,status:cr.homework_status}))),ma.createElement("aside",{className:`mt30 relative ${tt.Z.workListTabWrap}`},ma.createElement(Ie.default,{type:"card",defaultActiveKey:Ga,activeKey:Ga,tabBarExtraContent:(Ca=cr.homework_status)!=null&&Ca.includes("\u5BFC\u5165")&&(0,De.GJ)()?ma.createElement(ke.ZP,{icon:ma.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{Ia({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:cr==null?void 0:cr.homework_name,id:cr==null?void 0:cr.homework_id,type:"hack"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):fr(),onChange:li},qn.map((ya,un)=>ma.createElement(Ie.default.TabPane,{tab:ya.name,key:ya.id,forceRender:ya.forceRender},ya.compontent))))),ma.createElement(Qe,null),ma.createElement(rt.Z,{courseEndTime:cr==null?void 0:cr.course_end_date,successCallback:()=>{Ia({type:"shixunHomeworks/getWorkList",payload:di({},Sa)})},visible:Zt.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[Sa.categoryId],courseId:Sa.coursesId,isBatch:!1}),ma.createElement(bt.Z,{courseEndTime:cr==null?void 0:cr.course_end_date}),ma.createElement(Ya.Z,{onOk:()=>{Ia({type:"shixunHomeworks/getWorkList",payload:di({},Sa)})}}),ma.createElement(er.Z,{onOk:()=>{Ia({type:"shixunHomeworks/getWorkList",payload:di({},Sa)})}}),ma.createElement(xe.default,{open:Xn,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{Ir(!1)}},ma.createElement("p",null,"\u4E00\u3001\u7B49\u7EA7\u89C4\u5219"),ma.createElement("p",{style:{marginLeft:"10px"}},"1. \u7F3A\u9677\u7B49\u7EA7"),ma.createElement("p",{style:{marginLeft:"10px"}},ma.createElement(Te.default,{dataSource:$i,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})),ma.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"),ma.createElement("p",{style:{marginLeft:"20px"}},"Technical Debt Ratio = \u6280\u672F\u503A\u52A1\u65F6\u95F4 / \u5F00\u53D1\u65F6\u95F4"),ma.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"),ma.createElement("p",null,"\u4E8C\u3001\u590D\u6742\u5EA6\u89C4\u5219"),ma.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"),ma.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"),ma.createElement("p",null,"\u4E09\u3001\u4EE3\u7801\u8D28\u91CF\u5206\u89C4\u5219"),ma.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"),ma.createElement("p",{style:{marginLeft:"10px"}},"\u5176\u4E2D\uFF1A"),ma.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"),ma.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u5206\u6570\u4E3A\u7A7A\u7684\u4EE3\u8868\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u683C\u5F0F\u3002")))};var cl=(0,pe.connect)(({shixunHomeworks:_t,classroomList:Zt,loading:zt,user:Fa,globalSetting:ar})=>({classroomList:Zt,shixunHomeworks:_t,globalSetting:ar,user:Fa,loading:zt.effects}))(Fi)},12082:function(ct,it,ee){"use strict";var x=ee(67294),de=ee(22150),pe=ee(2453),Fe=ee(14446),xe=ee(71230),ke=ee(78045),ie=ee(31795),Ue=ee(15746),Ie=ee(34336),Te=ee(84567),ze=ee(27484),Be=ee.n(ze),me=ee(33170),oe=ee(52262),a=ee(28706),y=ee(35973),b=ee(12317),E=ee(89779),z=ee(17998),te=ee(67294),ne=Object.defineProperty,re=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,Ce=(Le,je,We)=>je in Le?ne(Le,je,{enumerable:!0,configurable:!0,writable:!0,value:We}):Le[je]=We,be=(Le,je)=>{for(var We in je||(je={}))he.call(je,We)&&Ce(Le,We,je[We]);if(le)for(var We of le(je))ve.call(je,We)&&Ce(Le,We,je[We]);return Le},ye=(Le,je)=>re(Le,ae(je)),De=(Le,je)=>{var We={};for(var Ke in Le)he.call(Le,Ke)&&je.indexOf(Ke)<0&&(We[Ke]=Le[Ke]);if(Le!=null&&le)for(var Ke of le(Le))je.indexOf(Ke)<0&&ve.call(Le,Ke)&&(We[Ke]=Le[Ke]);return We},Oe=(Le,je,We)=>new Promise((Ke,qe)=>{var ot=gn=>{try{$t(We.next(gn))}catch(at){qe(at)}},dt=gn=>{try{$t(We.throw(gn))}catch(at){qe(at)}},$t=gn=>gn.done?Ke(gn.value):Promise.resolve(gn.value).then(ot,dt);$t((We=We.apply(Le,je)).next())});const $e=Le=>{var je=Le,{classroomList:We,dispatch:Ke,courseEndTime:qe,onWindowBack:ot}=je,dt=De(je,["classroomList","dispatch","courseEndTime","onWindowBack"]),$t,gn,at,ht,Bt,ut,wt,Ht,Ge,bn,Dn,Ct,Kt,Ut,Rt,St,Ft,Pt,st,Jt,Ot,xt,mn,en,Ve,Re,In,we,He,Wt,et,Ye,yt,vt,kt,En,Lt,Mt,pt;const an=(0,y.useParams)(),[Gt]=de.default.useForm(),[pn,$n]=(0,x.useState)(1),[Fn,Yn]=(0,x.useState)([]),[fa,Yt]=(0,x.useState)(0),[Qt,nn]=(0,x.useState)(2e3),[ua,ra]=(0,x.useState)(!0),[jn,Na]=(0,x.useState)(!1),[Ma,vr]=(0,x.useState)(!1),[zr,La]=(0,x.useState)([]),[Je,Dt]=(0,x.useState)(!0),[Et,Rn]=(0,x.useState)(!((at=(gn=($t=We.actionTabs)==null?void 0:$t.selectArrsAll)==null?void 0:gn[0])!=null&&at.send_type));let[vn,Un]=(0,x.useState)([0,0,0]);(0,x.useEffect)(()=>{var gt,tn,Xt,cn,Kn,rn,_n,wn,la,Za,ir,Or,Wr;if(We.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(_r(),(Xt=(tn=(gt=We.actionTabs)==null?void 0:gt.selectArrsAll)==null?void 0:tn[0])!=null&&Xt.can_publish?Un([...(la=(wn=(_n=We.actionTabs)==null?void 0:_n.selectArrsAll)==null?void 0:wn[0])==null?void 0:la.difficult_count]):Un([...(rn=(Kn=(cn=We.actionTabs)==null?void 0:cn.selectArrsAll)==null?void 0:Kn[0])==null?void 0:rn.difficult_settings]),Rn(!((Or=(ir=(Za=We.actionTabs)==null?void 0:Za.selectArrsAll)==null?void 0:ir[0])!=null&&Or.send_type)),$r(),We.actionTabs.type===2){const Nn=(Wr=We.actionTabs.selectArrsAll)==null?void 0:Wr[0];Dt(Nn.unified_setting)}else Dt(!1)},[We.actionTabs]),(0,x.useEffect)(()=>{if(jn){if(Ma)return;Ke({type:"classroomList/setActionTabs",payload:{}}),(0,oe.GJ)()?(Ke({type:"classroomList/getClassroomTeacherCommonList",payload:ye(be({},We.actionTabs.params),{type:1})}),Ke({type:"shixunHomeworks/getWorkList",payload:be({},an)})):Ke({type:"classroomList/getClassroomCommonList",payload:be({},We.actionTabs.params)})}},[jn]);const $r=gt=>Oe(void 0,null,function*(){ra(!0);const tn=yield(0,E.c_)(ye(be({},an),{page:gt||pn,limit:2e4,homework_id:We.actionTabs.type===1?"":We.actionTabs.selectArrs[0]}));tn==null||tn.course_groups.map((Xt,cn)=>{Xt.key=Xt.id,Xt.title=Xt.name,Xt.disabled=Xt.is_published}),tn&&(Yn([...tn==null?void 0:tn.course_groups]),Yt(tn==null?void 0:tn.course_groups_count),ra(!1),gt||Gt.setFieldsValue({publish_time:Be()(Be()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Be()(Be()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Ta=()=>{(0,oe.GJ)()?We.actionTabs.detail?(Ke({type:"shixunHomeworks/setActionTabs",payload:{}}),Ke({type:"shixunHomeworks/getWorkList",payload:be({},an)}),Ke({type:"shixunHomeworks/getWorkSetting",payload:be({},an)})):Ke({type:"classroomList/getClassroomTeacherCommonList",payload:ye(be({},We.actionTabs.params),{type:5,category:We.actionTabs.params.categoryId})}):Ke({type:"classroomList/getClassroomCommonList",payload:be({},We.actionTabs.params)})},Cr=()=>Oe(void 0,null,function*(){var gt,tn;if((0,oe.Rm)()&&!((gt=We.AssistantObject.hack)!=null&&gt.can_publish)){pe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),ur(!1);return}const Xt=be({},Gt.getFieldsValue());if(Xt.end_time<=Xt.publish_time){pe.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),ur(!1);return}if((zr==null?void 0:zr.length)<=0&&!Je&&Fn.length>0){pe.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),ur(!1);return}if(vn.reduce((rn,_n)=>rn+_n)===0&&!Et){pe.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),ur(!1);return}let cn={homework_ids:[...We.actionTabs.selectArrs],group_ids:zr.length>0?zr.map(rn=>rn.id):(tn=We.detailCommonHomeworksList)==null?void 0:tn.course_groups,end_time:Be()(Xt.end_time).format("YYYY-MM-DD HH:mm"),publish_time:Be()(Xt.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:vn==null?void 0:vn.map(rn=>rn),send_type:Et?"0":"1",unified_setting:!zr.length};if(ur(!0),(yield(0,me.ZP)(`/api/courses/${an.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:be({},cn)})).status===0){if(ur(!1),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),pe.ZP.success("\u53D1\u5E03\u6210\u529F"),Ke({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),ot){ot();return}dt.onCallback&&dt.onCallback(),Ta(),localStorage.getItem("Noviceguide")==="0"||Ke({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:te.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}})}else ur(!1)}),_r=()=>{$n(1),Yn([]),La([])},co=fa>pn*Qt,[Jn,ur]=(0,x.useState)(!1);return te.createElement(Fe.default,{width:600,confirmLoading:Jn,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:We.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:Cr,onCancel:()=>{if(_r(),Ke({type:"classroomList/setActionTabs",payload:{}}),ot){ot();return}Ta()}},te.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",te.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),Fn&&te.createElement(de.default,{form:Gt},te.createElement("div",{style:{paddingLeft:0}},We.actionTabs.type===2&&te.createElement(xe.Z,{style:{marginBottom:"10px"}},te.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),te.createElement(ke.ZP.Group,{value:Et,disabled:!((ut=(Bt=(ht=We.actionTabs)==null?void 0:ht.selectArrsAll)==null?void 0:Bt[0])!=null&&ut.can_publish),onChange:gt=>{Rn(gt.target.value)}},te.createElement(ke.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),te.createElement(ke.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Et&&te.createElement(xe.Z,{style:{marginBottom:"10px"}},te.createElement("span",{style:{marginRight:65}}),te.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",te.createElement(ie.Z,{value:vn[0],onChange:gt=>{vn[0]=gt,Un([...vn])},min:0,disabled:!((Ge=(Ht=(wt=We.actionTabs)==null?void 0:wt.selectArrsAll)==null?void 0:Ht[0])!=null&&Ge.can_publish),placeholder:`\u6700\u5927${(Kt=(Ct=(Dn=(bn=We.actionTabs)==null?void 0:bn.selectArrsAll)==null?void 0:Dn[0])==null?void 0:Ct.difficult_count)==null?void 0:Kt[0]}`,max:(Ft=(St=(Rt=(Ut=We.actionTabs)==null?void 0:Ut.selectArrsAll)==null?void 0:Rt[0])==null?void 0:St.difficult_count)==null?void 0:Ft[0],style:{width:60}})),te.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",te.createElement(ie.Z,{value:vn[1],onChange:gt=>{vn[1]=gt,Un([...vn])},min:0,disabled:!((Jt=(st=(Pt=We.actionTabs)==null?void 0:Pt.selectArrsAll)==null?void 0:st[0])!=null&&Jt.can_publish),max:(en=(mn=(xt=(Ot=We.actionTabs)==null?void 0:Ot.selectArrsAll)==null?void 0:xt[0])==null?void 0:mn.difficult_count)==null?void 0:en[1],placeholder:`\u6700\u5927${(we=(In=(Re=(Ve=We.actionTabs)==null?void 0:Ve.selectArrsAll)==null?void 0:Re[0])==null?void 0:In.difficult_count)==null?void 0:we[1]}`,style:{width:60}})),te.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",te.createElement(ie.Z,{value:vn[2],onChange:gt=>{vn[2]=gt,Un([...vn])},min:0,disabled:!((et=(Wt=(He=We.actionTabs)==null?void 0:He.selectArrsAll)==null?void 0:Wt[0])!=null&&et.can_publish),placeholder:`\u6700\u5927${(kt=(vt=(yt=(Ye=We.actionTabs)==null?void 0:Ye.selectArrsAll)==null?void 0:yt[0])==null?void 0:vt.difficult_count)==null?void 0:kt[2]}`,max:(pt=(Mt=(Lt=(En=We.actionTabs)==null?void 0:En.selectArrsAll)==null?void 0:Lt[0])==null?void 0:Mt.difficult_count)==null?void 0:pt[2],style:{width:60}}))),te.createElement(xe.Z,{className:"mt30",align:"middle"},te.createElement(Ue.Z,null,te.createElement(de.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},te.createElement(Ie.default,{style:{width:170,marginRight:"25px"},disabledDate:gt=>(0,z.Q8)(gt,qe),disabledTime:gt=>(0,z.d0)(gt),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Be()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),te.createElement(Ue.Z,{className:"ml20"},te.createElement(de.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},te.createElement(Ie.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Be()((0,a.U6)(),"HH:mm")},disabledDate:gt=>(0,z.Q8)(gt,qe,Gt.getFieldValue("publish_time")),disabledTime:gt=>(0,z.d0)(gt,Gt.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),We.actionTabs.type===2&&te.createElement(xe.Z,{style:{marginBottom:"10px"}},te.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),te.createElement(ke.ZP.Group,{value:Je,onChange:gt=>{Dt(gt.target.value),La([])}},te.createElement(ke.ZP,{value:!0,disabled:!We.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),te.createElement(ke.ZP,{className:"ml20",disabled:Fn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Fn.length<=0&&We.actionTabs.type===2&&te.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(We.actionTabs.type===1||!Je)&&Fn.length>0&&te.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},te.createElement("span",{style:{flex:1}},te.createElement(Te.default,{checked:zr.length===Fn.length,onChange:gt=>{zr.length===Fn.length?La([]):La(Fn.filter(tn=>!tn.is_published))}},"\u5168\u9009")," "),te.createElement("span",{style:{width:16}}),te.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",zr.length||0,"\u4E2A\u5206\u73ED")),(We.actionTabs.type===1||!Je)&&Fn.length>0&&te.createElement(b.Z,{data:Fn,selectedRowKeys:zr,setSelectedRowKeys:La})))};it.Z=(0,y.connect)(({classroomList:Le})=>({classroomList:Le}))($e)},17998:function(ct,it,ee){"use strict";ee.d(it,{Q8:function(){return ot},d0:function(){return dt},w6:function(){return qe}});var x=ee(67294),de=ee(34336),pe=ee(11713),Fe=ee(2453),xe=ee(14446),ke=ee(78045),ie=ee(71230),Ue=ee(15746),Ie=ee(83062),Te=ee(84567),ze=ee(71577),Be=ee(27484),me=ee.n(Be),oe=ee(52262),a=ee(33170),y=ee(96486),b=ee.n(y),E=ee(28706),z=ee(39886),te=ee(35973),ne=ee(39717),re=ee(78207),ae=ee(92882),le=ee(96332),he=ee(93686),ve=ee(67294),Ce=Object.defineProperty,be=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,Le=(ht,Bt,ut)=>Bt in ht?Ce(ht,Bt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):ht[Bt]=ut,je=(ht,Bt)=>{for(var ut in Bt||(Bt={}))Oe.call(Bt,ut)&&Le(ht,ut,Bt[ut]);if(De)for(var ut of De(Bt))$e.call(Bt,ut)&&Le(ht,ut,Bt[ut]);return ht},We=(ht,Bt)=>be(ht,ye(Bt)),Ke=(ht,Bt,ut)=>new Promise((wt,Ht)=>{var Ge=Ct=>{try{Dn(ut.next(Ct))}catch(Kt){Ht(Kt)}},bn=Ct=>{try{Dn(ut.throw(Ct))}catch(Kt){Ht(Kt)}},Dn=Ct=>Ct.done?wt(Ct.value):Promise.resolve(Ct.value).then(Ge,bn);Dn((ut=ut.apply(ht,Bt)).next())});function qe(ht,Bt){const ut=[];for(let wt=ht;wt<Bt;wt++)ut.push(wt);return ut}const ot=(ht,Bt,ut)=>{const wt=ht<me()().startOf("day"),Ht=ht>me()(Bt).endOf("day"),Ge=ht<me()(ut).startOf("day");return Bt?ut?me()()<=me()(ut)?Ge||Ht:wt||Ht:ht&&wt||Ht:ut&&me()()<=me()(ut)?Ge:wt},dt=(ht,Bt)=>{const ut=parseInt(me()(ht).format("HH")),wt=parseInt(me()().format("HH")),Ht=parseInt(me()().format("mm"));if(!ht)return{disabledHours:()=>qe(0,wt),disabledMinutes:()=>qe(0,Ht)};if(Bt){const Ge=parseInt(me()(Bt).format("HH")),bn=parseInt(me()(Bt).format("mm"));return me()(ht).isSame(me()(Bt),"day")?{disabledHours:()=>qe(0,Ge),disabledMinutes:()=>ut<=Ge?qe(0,bn):[]}:void 0}if(me()(ht).isSame(me()(),"day"))return{disabledHours:()=>qe(0,wt),disabledMinutes:()=>me()(ht).isSame(me()(),"hour")&&ut<=wt?qe(0,Ht):[]}},{RangePicker:$t}=de.default,{Option:gn}=pe.default,at=({shixunHomeworks:ht,loading:Bt,dispatch:ut,classroomList:wt,user:Ht})=>{var Ge,bn,Dn,Ct,Kt,Ut,Rt,St,Ft;const Pt=(0,te.useParams)(),{workSetting:st,workList:Jt,shixunWorkList:Ot,headerInfo:xt,changeData:mn}=ht,[en,Ve]=(0,x.useState)(!1),[Re,In]=(0,x.useState)(!1);let[we,He]=(0,x.useState)([]),[Wt,et]=(0,x.useState)([]),[Ye,yt]=(0,x.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[vt,kt]=(0,x.useState)({}),[En,Lt]=(0,x.useState)({});(0,x.useEffect)(()=>()=>{He([])},[]),(0,x.useEffect)(()=>{Ve(!(0,oe.GJ)())},[(0,oe.GJ)()]);const Mt=()=>{ut({type:"shixunHomeworks/getWorkSetting",payload:je({},Pt)})};(0,x.useEffect)(()=>{if(!(st!=null&&st.course_id))return;Object.keys(Ye).map(function(nn){Ye[nn]=st[nn]}),(!Ye.allow_late||!Ye.unified_late)&&(Ye.late_penalty=20,Ye.penalty_type=ne.Q.Percent),Ye.unified_setting||(Ye.unified_late=!1,Ye.unified_anonymous_comment=!1,Ye.unified_anonymous_appeal=!1),we=JSON.parse(JSON.stringify(st.group_settings.map(nn=>We(je({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.publish_time!==null))),Wt=JSON.parse(JSON.stringify(st.allow_late_settings.map(nn=>We(je({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.late_time!==null))),yt(je({},Ye));const Qt=(0,E.QE)((we==null?void 0:we.length)>0?we:[]);He([...Qt]),(Wt==null?void 0:Wt.length)<=0?et([{penalty_type:ne.Q.Percent,late_penalty:20}]):et([...Wt])},[st]);const pt=()=>Ke(void 0,null,function*(){var Qt,nn;if(((Qt=Ht==null?void 0:Ht.userInfo)==null?void 0:Qt.user_status)===2){(0,re.Rd)();return}const ua=JSON.parse(JSON.stringify(Ye));if(ua.challenge_settings.filter(jn=>!jn.hide),ua.categoryId=Pt.categoryId,(nn=ua.challenge_settings)!=null&&nn.every(jn=>!jn.checked)){Fe.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(we),!Ye.unified_setting)we=we==null?void 0:we.map(jn=>{var Na;if(!jn.publish_time||!jn.end_time)throw Fe.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(!jn.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return jn.group_name=typeof(jn==null?void 0:jn.group_name)=="string"?[jn==null?void 0:jn.group_name]:jn==null?void 0:jn.group_name,jn.group_id=(Na=st.group_settings)==null?void 0:Na.filter(Ma=>{var vr;return(vr=jn==null?void 0:jn.group_name)==null?void 0:vr.includes(Ma.group_name)}).map(Ma=>Ma.group_id||Ma.id).toString().split(","),jn});else if(!Ye.publish_time||!Ye.end_time)throw Fe.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(ua.group_settings=we,Ye.allow_late)if(Ye.unified_late){if(Ye.late_penalty===null||Ye.late_penalty===void 0||Ye.late_penalty<0||Ye.late_penalty>100)throw Fe.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(!Ye.late_time)throw Fe.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(jn=>{var Na,Ma;if(jn.late_penalty===null||jn.late_penalty===void 0||jn.late_penalty<0||jn.late_penalty>100)throw Fe.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(!jn.late_time)throw Fe.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(!jn.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return jn.group_name=typeof(jn==null?void 0:jn.group_name)=="string"?[jn==null?void 0:jn.group_name]:jn==null?void 0:jn.group_name,jn.group_id=(Ma=(Na=jn==null?void 0:jn.group_name)==null?void 0:Na.map(vr=>{var zr,La;let Je=(La=(zr=st.group_settings)==null?void 0:zr.filter(Dt=>(Dt==null?void 0:Dt.group_name)===vr))==null?void 0:La[0];return Je==null?void 0:Je.group_id}))==null?void 0:Ma.toString().split(","),jn}),ua.allow_late_settings=Wt;let ra=yield(0,he.Tr)({homework_common_ids:[parseInt(Pt.categoryId)],course_id:Pt.coursesId,type:"homework_common"});(ra==null?void 0:ra.student_count)===0?an(ua):(Lt(ua),kt(ra))}),an=Qt=>{var nn;if(Qt.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Qt!=null&&Qt.work_efficiency&&Qt.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const ua=Qt.challenge_settings.reduce((Na,Ma)=>Na+Number(Ma.challenge_score),0);if((ua==null?void 0:ua.toFixed(10))!==((nn=Qt.total_score-Qt.eff_score)==null?void 0:nn.toFixed(10))){Fe.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Qt.total_score}\u5206`);return}const ra={shixun_evaluation:Qt.shixun_evaluation,challenge_settings:Qt.challenge_settings};let jn=()=>{var Na;const Ma=()=>Ke(void 0,null,function*(){In(!0),(yield(0,a.ZP)(`/api/homework_commons/${Pt.categoryId}/publish_setting.json`,{method:"post",body:je({},Qt)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),Mt(),ut({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:je({},Pt)})),In(!1)});!(0,y.isEqual)(mn,ra)&&!((Na=xt==null?void 0:xt.homework_status)!=null&&Na.includes("\u672A\u53D1\u5E03"))?xe.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:Ma}):Ma()};st!=null&&st.high_resources_consume&&!(st!=null&&st.high_resources_consume_permission)?ut({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Pt.coursesId,type:"shixun",type_id:Pt.categoryId,name:st.homework_name,fn:()=>{jn()}}}):jn()},Gt=(Qt,nn,ua="group_id")=>{var ra;return nn?nn.find(jn=>jn[ua]===Qt):(ra=st==null?void 0:st.group_settings)==null?void 0:ra.find(jn=>jn.group_id[0]===Qt)},pn=(st==null?void 0:st.allow_late)||(st==null?void 0:st.anonymous_comment),$n=Qt=>{var nn,ua;const ra=Gt(Qt,st==null?void 0:st.allow_late_settings,"id"),jn=Gt(Qt,st==null?void 0:st.anonymous_comment_settings),Na=Gt(Qt);return(st==null?void 0:st.allow_late)&&ra&&me()(ra==null?void 0:ra.late_time)<=me()()||(st==null?void 0:st.anonymous_comment)&&jn&&(jn==null?void 0:jn.evaluation_start)!==null||((ua=(me()(Na==null?void 0:Na.end_time)<=me()()&&((nn=st==null?void 0:st.allow_late_settings)==null?void 0:nn.filter(Ma=>Ma.group_id.includes(Qt))))[0])==null?void 0:ua.late_time)!=null},Fn=(0,x.useMemo)(()=>(st==null?void 0:st.allow_late)||(st==null?void 0:st.all_group_late),[st,xt]),Yn=st==null?void 0:st.anonymous_comment,fa=Qt=>{if(!Qt)return!1;const nn=Gt(Qt,st==null?void 0:st.anonymous_comment_settings);return(st==null?void 0:st.anonymous_comment)&&nn&&(nn==null?void 0:nn.evaluation_start)!==null},Yt=(Qt,nn)=>{var ua,ra,jn;ut({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Qt,index:nn,rangePickerDisabled:en||(me()()<=me()((ra=Gt((ua=Qt==null?void 0:Qt.group_id)==null?void 0:ua[0]))==null?void 0:ra.publish_time)?!1:[!0,$n((jn=Qt==null?void 0:Qt.group_id)==null?void 0:jn[0])]),disabledDate:st==null?void 0:st.course_end_date}})};return ve.createElement("section",{className:z.Z.form},ve.createElement("div",{className:z.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ve.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")),ve.createElement("div",null,ve.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ve.createElement(ke.ZP.Group,{disabled:en||!((Ge=xt==null?void 0:xt.homework_status)!=null&&Ge.includes("\u672A\u53D1\u5E03"))||(0,oe.Rm)()&&!((bn=wt.AssistantObject.practice)!=null&&bn.can_publish),value:Ye.unified_setting,onChange:Qt=>{var nn;if(!((nn=xt==null?void 0:xt.homework_status)!=null&&nn.includes("\u672A\u53D1\u5E03"))){Fe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Ye.unified_setting=!Ye.unified_setting,Ye.unified_setting||(Ye.unified_late=!1,et([{late_penalty:5}])),yt(Object.assign({},Ye)),Ye.unified_setting===!1&&we==""){He(we.concat({}));return}Ye.unified_setting&&(He([]),et([{late_penalty:5}]))}},ve.createElement(ke.ZP,{value:!0,disabled:en||!(st!=null&&st.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ve.createElement(ke.ZP,{disabled:en||!((Dn=st==null?void 0:st.group_settings)!=null&&Dn.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Ct=st==null?void 0:st.group_settings)==null?void 0:Ct.length)===0&&ve.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")),Ye.unified_setting&&ve.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ve.createElement(ie.Z,{align:"middle"},ve.createElement(Ue.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ve.createElement(Ue.Z,{className:"ml10"},ve.createElement(de.default,{size:"large",disabled:en||!((Kt=xt==null?void 0:xt.homework_status)!=null&&Kt.includes("\u672A\u53D1\u5E03")||(Ut=xt==null?void 0:xt.homework_status)!=null&&Ut.includes("\u672A\u5F00\u59CB"))||(0,oe.Rm)()&&!((Rt=wt.AssistantObject.practice)!=null&&Rt.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Qt=>ot(Qt,st==null?void 0:st.course_end_date),disabledTime:Qt=>dt(Qt),value:Ye.publish_time?me()(Ye.publish_time):"",onChange:(Qt,nn)=>{Ye.publish_time=nn,(Ye.end_time==""||!Ye.end_time)&&Ye.unified_setting&&(Ye.end_time=me()(Qt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),yt(Object.assign({},Ye))}}))),ve.createElement(ie.Z,{align:"middle",className:"pl30"},ve.createElement(Ue.Z,null,"\u622A\u6B62\u65F6\u95F4"),ve.createElement(Ue.Z,{className:"ml10"},ve.createElement(de.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(st==null?void 0:st.allow_late)&&(st==null?void 0:st.homework_status.includes("\u5DF2\u622A\u6B62"))||en||(st==null?void 0:st.allow_late)&&me()()>=me()(st==null?void 0:st.end_time)||(0,oe.Rm)()&&!((St=wt.AssistantObject.practice)!=null&&St.can_publish),disabledDate:Qt=>ot(Qt,st==null?void 0:st.course_end_date,Ye.publish_time),disabledTime:Qt=>dt(Qt,Ye.publish_time),value:Ye.end_time?me()(Ye.end_time):"",onChange:(Qt,nn)=>{Ye.end_time=nn,yt(Object.assign({},Ye))}})))),!Ye.unified_setting&&(we==null?void 0:we.length)>0&&ve.createElement(ie.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},we&&we.map(function(Qt,nn){var ua,ra,jn,Na,Ma,vr,zr;return ve.createElement(Ue.Z,{span:24,key:nn},ve.createElement(ie.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:nn==(we==null?void 0:we.length)-1?"0px":"10px"}},ve.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",nn+1),ve.createElement(pe.default,{disabled:en||((ua=xt==null?void 0:xt.homework_status)!=null&&ua.includes("\u672A\u53D1\u5E03")&&Qt.id||me()()<me()(Qt==null?void 0:Qt.publish_time)?!1:!!(Qt!=null&&Qt.publish_time))||(0,oe.Rm)()&&!((ra=wt.AssistantObject.practice)!=null&&ra.can_publish),mode:"multiple",className:z.Z.multiple_select,style:{width:"250px"},value:Qt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:La=>{var Je;if((0,oe.Rm)()&&!((Je=wt.AssistantObject.practice)!=null&&Je.can_publish)){Fe.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[nn].group_name=La,we[nn].group_id=Qt.group_id;const Dt=(0,y.flattenDeep)(we.map(Rn=>Rn.group_name)),Et=Wt.map(Rn=>{let vn=(Rn==null?void 0:Rn.group_name)||[];return We(je({},Rn),{group_name:(0,y.remove)(vn,Un=>Dt.includes(Un))})});et(Et),He(we.slice())},maxTagCount:4,maxTagPlaceholder:La=>ve.createElement("div",{style:{cursor:"pointer"},onClick:()=>Yt(Qt,nn)},"+",La==null?void 0:La.length)},st.group_settings&&st.group_settings.map(function(La){if(!we.map(Dt=>Dt.group_name).flat().includes(La.group_name))return ve.createElement(gn,{value:La.group_name,key:La.id},La.group_name)})),ve.createElement("div",{className:"ml20"},ve.createElement($t,{size:"large",ranges:{\u6B64\u523B:[Qt.publish_time?me()(Qt.publish_time):me()(),me()()]},allowClear:!1,disabled:en||(me()()<=me()((Na=Gt((jn=Qt==null?void 0:Qt.group_id)==null?void 0:jn[0]))==null?void 0:Na.publish_time)?!1:[!0,$n((Ma=Qt==null?void 0:Qt.group_id)==null?void 0:Ma[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:La=>ot(La,st==null?void 0:st.course_end_date),disabledTime:La=>dt(La),showTime:{showNow:!0,format:"HH:mm",defaultValue:[me()((0,E.U6)(),"HH:mm"),me()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Qt.publish_time&&[me()(Qt.publish_time),Qt.end_time?me()(Qt.end_time):void 0],onChange:(La,Je)=>{var Dt;if((0,oe.Rm)()&&!((Dt=wt.AssistantObject.practice)!=null&&Dt.can_publish)){Fe.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[nn].publish_time=Je[0],!Qt.end_time&&Je[0]?we[nn].end_time=me()(Je[0]).add(7,"days"):we[nn].end_time=Je[1],He([...we])},onCalendarChange:(La,Je,Dt)=>{if(Je!=null&&Je[0]&&!Je[1]){const Et=me()(Je[0]).add(7,"days");we[nn].publish_time=Je[0],we[nn].end_time=Et,He([...we])}}})),!en&&ve.createElement("div",{style:{display:"flex",width:"50px"}},((vr=Qt==null?void 0:Qt.group_id)==null?void 0:vr.length)>1&&ve.createElement(Ie.Z,{title:"\u89C4\u5219\u62C6\u5206"},ve.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Yt(Qt,nn)})),we.length<((zr=st==null?void 0:st.group_settings)==null?void 0:zr.length)&&ve.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var La;if((0,oe.Rm)()&&!((La=wt.AssistantObject.practice)!=null&&La.can_publish)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}He(we.concat({}))}}),((Qt==null?void 0:Qt.publish_time)&&me()()<me()(Qt==null?void 0:Qt.publish_time)||!(Qt!=null&&Qt.publish_time))&&nn!=0&&ve.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const La=(0,y.cloneDeep)(Wt);La.forEach((Je,Dt)=>{Je.group_name&&(Je.group_name=Je.group_name.filter(Et=>{var Rn;return!((Rn=we[nn].group_name)!=null&&Rn.includes(Et))}))}),we=we.filter((Je,Dt)=>nn!==Dt),et(La),He(we.slice()),setTimeout(()=>He(we.slice()),10)}}))))}))),ve.createElement(ie.Z,null,ve.createElement(Ue.Z,null,ve.createElement("div",{className:z.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ve.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"))),ve.createElement(Ue.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ve.createElement(Te.default,{checked:Ye.allow_late,disabled:en||Fn,onChange:Qt=>{var nn;if((0,oe.Rm)()&&!((nn=wt.AssistantObject.practice)!=null&&nn.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qt.target.checked&&xe.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ve.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ve.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"),ve.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ve.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"))}),Ye.allow_late=!Ye.allow_late,Wt==""&&et([{late_penalty:5}]),yt(Object.assign({},Ye))}},ve.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Ye==null?void 0:Ye.allow_late)&&ve.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ve.createElement("div",{style:{display:"flex"}},ve.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ve.createElement(ke.ZP.Group,{style:{marginLeft:"20px"},disabled:en||(st==null?void 0:st.anonymous_comment)||(st==null?void 0:st.allow_late),value:Ye.unified_late,onChange:Qt=>{var nn;if((0,oe.Rm)()&&!((nn=wt.AssistantObject.practice)!=null&&nn.can_late)){Fe.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}Ye.unified_late=Qt.target.value,Wt==""&&!Qt.target.value&&et([{penalty_type:ne.Q.Percent,late_penalty:20}]),yt(je({},Ye))}},(Ye==null?void 0:Ye.unified_setting)&&ve.createElement(ke.ZP,{value:!0,disabled:!(st!=null&&st.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Ft=st==null?void 0:st.group_settings)==null?void 0:Ft.length)>0&&ve.createElement(ke.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Ye!=null&&Ye.unified_late?ve.createElement(ve.Fragment,null,ve.createElement(ie.Z,{align:"middle",style:{marginTop:"10px"}},ve.createElement(Ue.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ve.createElement(Ue.Z,{className:"ml20"},ve.createElement(ne.Z,{disabled:en||Yn,value:{type:Ye.penalty_type,inputValue:Ye.late_penalty},onChange:Qt=>{var nn;if((0,oe.Rm)()&&!((nn=wt.AssistantObject.practice)!=null&&nn.can_late)){Fe.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}yt(We(je({},Ye),{late_penalty:Qt.inputValue,penalty_type:Qt.type}))}})),ve.createElement(Ue.Z,{flex:"1",className:"ml5"},ve.createElement("span",{className:"c-grey-c ml10"},Ye.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)"))),ve.createElement(ie.Z,{align:"middle",style:{marginTop:"15px"}},ve.createElement(Ue.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ve.createElement(Ue.Z,{className:"ml20"},ve.createElement(de.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:en||Yn,value:Ye.late_time?me()(Ye.late_time):"",disabledDate:Qt=>ot(Qt,st==null?void 0:st.course_end_date),onChange:(Qt,nn)=>{var ua;if((0,oe.Rm)()&&!((ua=wt.AssistantObject.practice)!=null&&ua.can_late)){Fe.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}Ye.late_time=nn,yt(Object.assign({},Ye))}})))):Wt.map(function(Qt,nn){var ua;return ve.createElement(Ue.Z,{span:24,key:nn},ve.createElement(ie.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ve.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",nn+1),ve.createElement(pe.default,{disabled:en||!((ua=xt==null?void 0:xt.homework_status)!=null&&ua.includes("\u672A\u53D1\u5E03"))&&Qt.id||(st==null?void 0:st.anonymous_comment),mode:"multiple",className:z.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Qt.group_name=="string"?[Qt.group_name]:Qt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ra=>{var jn;if((0,oe.Rm)()&&!((jn=wt.AssistantObject.practice)!=null&&jn.can_late)){Fe.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[nn].group_name=ra,Wt[nn].group_id=Qt.group_id,et(Wt.slice())}},st.group_settings&&st.group_settings.map(function(ra){const jn=Wt.map(Ma=>Ma.group_name).flat(),Na=we.map(Ma=>Ma.group_name).flat();if(Ye!=null&&Ye.unified_setting){if(!jn.includes(ra.group_name))return ve.createElement(gn,{value:ra.group_name,key:ra.id},ra.group_name)}else if(Na.includes(ra.group_name)&&!jn.includes(ra.group_name))return ve.createElement(gn,{value:ra.group_name,key:ra.id},ra.group_name)})),ve.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ve.createElement(ne.Z,{disabled:en||fa(Qt.id),value:{type:Qt.penalty_type,inputValue:Qt.late_penalty},onChange:ra=>{var jn;if((0,oe.Rm)()&&!((jn=wt.AssistantObject.practice)!=null&&jn.can_late)){Fe.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[nn].late_penalty=ra.inputValue,Wt[nn].penalty_type=ra.type,et([...Wt])}}),ve.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ve.createElement(de.default,{size:"large",disabled:en||fa(Qt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:me()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:ra=>ot(ra,st==null?void 0:st.course_end_date),format:"YYYY-MM-DD HH:mm",value:Qt!=null&&Qt.late_time?me()(Qt.late_time):void 0,onChange:(ra,jn)=>{var Na;if((0,oe.Rm)()&&!((Na=wt.AssistantObject.practice)!=null&&Na.can_late)){Fe.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[nn].late_time=jn,et([...Wt])}}),!en&&ve.createElement("div",{style:{display:"flex",width:"50px"}},ve.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var ra;if((0,oe.Rm)()&&!((ra=wt.AssistantObject.practice)!=null&&ra.can_late)){Fe.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}et(Wt.concat({penalty_type:ne.Q.Percent,late_penalty:20}))}}),nn>0&&!Qt.id&&ve.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var ra;if((0,oe.Rm)()&&!((ra=wt.AssistantObject.practice)!=null&&ra.can_late)){Fe.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((jn,Na)=>nn!==Na),et(Wt.slice()),setTimeout(()=>et(Wt.slice()),10)}}))))})),!en&&ve.createElement(ve.Fragment,null,ve.createElement(ze.ZP,{type:"primary",size:"large",loading:Re,style:{width:"138px",marginTop:"30px"},onClick:()=>pt()},"\u4FDD\u5B58")),ve.createElement(ae.Z,{onConfirm:(Qt,nn)=>{we.splice(Qt,0,...nn),we.splice(Qt+nn.length,1);const ua=(0,E.QE)([...we]);He([...ua])}}),ve.createElement(le.Z,{resdata:vt,type:"shixun",okloading:Re,oktext:(vt==null?void 0:vt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Qt=>Ke(void 0,null,function*(){In(!0);let nn=yield(0,a.ZP)(`/api/courses/${Pt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Pt.categoryId)]}});In(!1),(nn==null?void 0:nn.status)===0&&an(En)})}))};it.ZP=(0,te.connect)(({shixunHomeworks:ht,classroomList:Bt,loading:ut,user:wt})=>({shixunHomeworks:ht,classroomList:Bt,loading:ut.effects,user:wt}))(at)},6151:function(ct,it,ee){"use strict";var x=ee(67294),de=ee(59810),pe=ee(22150),Fe=ee(14446),xe=ee(2453),ke=ee(9430),ie=ee(35973),Ue=ee(11320),Ie=ee(67795),Te=ee(33170),ze=ee(27484),Be=ee.n(ze),me=ee(28706),oe=ee(67294),a=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(le,he,ve)=>he in le?a(le,he,{enumerable:!0,configurable:!0,writable:!0,value:ve}):le[he]=ve,te=(le,he)=>{for(var ve in he||(he={}))b.call(he,ve)&&z(le,ve,he[ve]);if(y)for(var ve of y(he))E.call(he,ve)&&z(le,ve,he[ve]);return le},ne=(le,he,ve)=>new Promise((Ce,be)=>{var ye=$e=>{try{Oe(ve.next($e))}catch(Le){be(Le)}},De=$e=>{try{Oe(ve.throw($e))}catch(Le){be(Le)}},Oe=$e=>$e.done?Ce($e.value):Promise.resolve($e.value).then(ye,De);Oe((ve=ve.apply(le,he)).next())});const{Dragger:re}=de.default,ae=({classroomList:le,dispatch:he,onOk:ve})=>{const Ce=(0,ie.useParams)(),[be]=pe.default.useForm(),[ye,De]=(0,x.useState)(),[Oe,$e]=(0,x.useState)(!1),Le={height:100,onRemove:()=>{De("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:je=>ne(void 0,null,function*(){return De(je),!1})};return(0,x.useEffect)(()=>{be.setFieldsValue({publish_time:Be()(Be()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Be()(Be()(new Date((0,me.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),oe.createElement(Fe.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:le.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Oe},onOk:()=>ne(void 0,null,function*(){be.submit()}),onCancel:()=>{be.resetFields(),he({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(pe.default,{form:be,onFinish:je=>ne(void 0,null,function*(){var We,Ke,qe;if(!(ye!=null&&ye.size)){xe.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}$e(!0);let ot=new FormData;ot.append("type",le.actionTabs.type),ot.append("file",ye);let dt;window.location.href.indexOf("exercise")>-1?dt=`/api/exercises/${le.actionTabs.id}/supplement_score.json`:dt=`/api/homework_commons/${le.actionTabs.id}/supplement_score.json`;let $t=yield(0,Te.ZP)(dt,{method:"post",body:ot},!0);$e(!1),($t==null?void 0:$t.status)===0&&(ve(),be.resetFields(),he({type:"classroomList/setActionTabs",payload:{}}),((Ke=(We=$t==null?void 0:$t.data)==null?void 0:We.fail)==null?void 0:Ke.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(ke.default,{pagination:!1,dataSource:(qe=$t==null?void 0:$t.data)==null?void 0:qe.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,me.FH)("",Ue.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${le.actionTabs.type}`)}}))})},oe.createElement(pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},le.actionTabs.name),oe.createElement(pe.default.Item,{style:{marginBottom:0},label:oe.createElement("div",null,oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},oe.createElement("div",null,oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:Ie.Z.downloadbutton,href:Ue.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${le.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),oe.createElement(pe.default.Item,{style:{marginBottom:0}},oe.createElement(re,te({},Le),oe.createElement("a",{className:Ie.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),oe.createElement("br",null),oe.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"))))))};it.Z=(0,ie.connect)(({classroomList:le})=>({classroomList:le}))(ae)},44694:function(ct,it,ee){"use strict";var x=ee(67294),de=ee(59810),pe=ee(22150),Fe=ee(66368),xe=ee(9430),ke=ee(28452),ie=ee(35973),Ue=ee(33170),Ie=ee(27484),Te=ee.n(Ie),ze=ee(67294),Be=(a,y,b)=>new Promise((E,z)=>{var te=ae=>{try{re(b.next(ae))}catch(le){z(le)}},ne=ae=>{try{re(b.throw(ae))}catch(le){z(le)}},re=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(te,ne);re((b=b.apply(a,y)).next())});const{Dragger:me}=de.default,oe=({})=>{const a=(0,ie.useParams)(),[y]=pe.default.useForm(),[b,E]=(0,x.useState)(!0),[z,te]=(0,x.useState)(!1);let[ne,re]=(0,x.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 le(){return Be(this,null,function*(){let ve;te(!0),window.location.href.indexOf("exercise")>-1?ve=`/api/exercises/${a==null?void 0:a.categoryId}/redo_logs.json`:ve=`/api/homework_commons/${a==null?void 0:a.categoryId}/redo_logs.json`;let Ce=yield(0,Ue.ZP)(ve,{method:"get",params:ne});te(!1),(Ce==null?void 0:Ce.status)===0&&E(Ce==null?void 0:Ce.data)})}(0,x.useEffect)(()=>{le()},[]);let he=[{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:(ve,Ce,be)=>{var ye;return(ye=ae.find(De=>De.question_type===ve))==null?void 0:ye.name}},window.location.href.indexOf("exercise")>-1&&{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"question_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u5173\u5361\u540D\u79F0",dataIndex:"challenge_name"},window.location.href.indexOf("exercise")<=-1&&{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"task_name",width:"40%"},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(ve,Ce,be)=>{var ye;return(ye=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(De=>De.id===ve))==null?void 0:ye.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(ve,Ce,be)=>Te()(ve).format("YYYY-MM-DD HH:mm:ss")}].filter(ve=>!!ve);return ze.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},ze.createElement(Fe.default,{destroyInactiveTabPane:!0,onChange:ve=>{ne.type=ve,ne.page=1,ne.limit=10,re(ne),le()},items:[window.location.href.indexOf("program_homework")<=-1&&{key:"1",label:"\u6253\u56DE\u91CD\u505A",children:ze.createElement(xe.default,{className:"mt20",loading:z,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:(ve,Ce,be)=>Te()(ve).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(xe.default,{className:"mt20",loading:z,columns:he,dataSource:b==null?void 0:b.list,pagination:!1})}].filter(ve=>!!ve)}),ze.createElement(ke.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(ve,Ce)=>{ne.page=ve,ne.limit=Ce,re(ne),le()},current:ne.page,total:b.count,pageSize:ne.limit,style:{marginTop:20}}))};it.Z=(0,ie.connect)(({classroomList:a})=>({classroomList:a}))(oe)},58387:function(ct,it,ee){"use strict";var x=ee(67294),de=ee(59810),pe=ee(22150),Fe=ee(14446),xe=ee(31795),ke=ee(35973),ie=ee(33170),Ue=ee(27484),Ie=ee.n(Ue),Te=ee(28706),ze=ee(67294),Be=Object.defineProperty,me=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(le,he,ve)=>he in le?Be(le,he,{enumerable:!0,configurable:!0,writable:!0,value:ve}):le[he]=ve,z=(le,he)=>{for(var ve in he||(he={}))y.call(he,ve)&&E(le,ve,he[ve]);if(a)for(var ve of a(he))b.call(he,ve)&&E(le,ve,he[ve]);return le},te=(le,he)=>me(le,oe(he)),ne=(le,he,ve)=>new Promise((Ce,be)=>{var ye=$e=>{try{Oe(ve.next($e))}catch(Le){be(Le)}},De=$e=>{try{Oe(ve.throw($e))}catch(Le){be(Le)}},Oe=$e=>$e.done?Ce($e.value):Promise.resolve($e.value).then(ye,De);Oe((ve=ve.apply(le,he)).next())});const{Dragger:re}=de.default,ae=({classroomList:le,dispatch:he,onOk:ve})=>{const Ce=(0,ke.useParams)(),[be]=pe.default.useForm(),[ye,De]=(0,x.useState)(),[Oe,$e]=(0,x.useState)(!1),Le={height:100,onRemove:()=>{De("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:je=>ne(void 0,null,function*(){return De(je),!1})};return(0,x.useEffect)(()=>{be.setFieldsValue({publish_time:Ie()(Ie()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Ie()(Ie()(new Date((0,Te.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),ze.createElement(Fe.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:le.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Oe},onOk:()=>ne(void 0,null,function*(){be.submit()}),onCancel:()=>{be.resetFields(),he({type:"classroomList/setActionTabs",payload:{}})}},ze.createElement(pe.default,{form:be,onFinish:je=>ne(void 0,null,function*(){var We,Ke;console.log("---",le.actionTabs,je,Ce);let qe=((We=le==null?void 0:le.actionTabs)==null?void 0:We.type)==="exercise"?`/api/exercises/${Ce==null?void 0:Ce.category}/exercise_user/edit_score.json`:`/api/student_works/${le.actionTabs.id}/edit_score.json`;$e(!0);let ot=yield(0,ie.ZP)(qe,{method:"post",body:te(z({},je),{exercise_user_id:((Ke=le==null?void 0:le.actionTabs)==null?void 0:Ke.type)==="exercise"?le.actionTabs.id:""})});$e(!1),be.resetFields(),he({type:"classroomList/setActionTabs",payload:{}}),ve()})},ze.createElement(pe.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(xe.Z,{min:0,style:{width:"100%"}}))))};it.Z=(0,ke.connect)(({classroomList:le})=>({classroomList:le}))(ae)},17755:function(ct,it,ee){"use strict";var x=ee(67294),de=ee(59810),pe=ee(22150),Fe=ee(71577),xe=ee(71230),ke=ee(93421),ie=ee(34336),Ue=ee(35973),Ie=ee(27484),Te=ee.n(Ie),ze=ee(17998),Be=ee(33170),me=ee(67294),oe=(b,E,z)=>new Promise((te,ne)=>{var re=he=>{try{le(z.next(he))}catch(ve){ne(ve)}},ae=he=>{try{le(z.throw(he))}catch(ve){ne(ve)}},le=he=>he.done?te(he.value):Promise.resolve(he.value).then(re,ae);le((z=z.apply(b,E)).next())});const{Dragger:a}=de.default,y=({})=>{const b=(0,Ue.useParams)(),[E]=pe.default.useForm(),[z,te]=(0,x.useState)(!0),[ne,re]=(0,x.useState)(!1);console.log("----",b);function ae(){return oe(this,null,function*(){var le,he;let ve;window.location.href.indexOf("exercise")>-1?ve=`/api/exercises/${b==null?void 0:b.categoryId}/get_time_setting.json`:ve=`/api/homework_commons/${b==null?void 0:b.categoryId}/get_time_setting.json`;let Ce=yield(0,Be.ZP)(ve,{method:"get"});(Ce==null?void 0:Ce.status)===0&&E.setFieldsValue({publish_time:Te()(Te()((le=Ce==null?void 0:Ce.data)==null?void 0:le.publish_time).format("YYYY-MM-DD HH:mm")),end_time:Te()(Te()((he=Ce==null?void 0:Ce.data)==null?void 0:he.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,x.useEffect)(()=>{ae()},[]),me.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},me.createElement("div",{style:{textAlign:"end"}},z&&me.createElement(Fe.ZP,{onClick:()=>{te(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!z&&me.createElement("div",null,me.createElement(Fe.ZP,{type:"primary",loading:ne,onClick:()=>{E.submit()}},"\u63D0\u4EA4"),me.createElement(Fe.ZP,{style:{marginLeft:20},onClick:()=>{te(!0)}},"\u53D6\u6D88"))),me.createElement(pe.default,{form:E,disabled:z,onFinish:le=>oe(void 0,null,function*(){re(!0),console.log("---",window.location.href);let he;window.location.href.indexOf("exercise")>-1?he=`/api/exercises/${b==null?void 0:b.categoryId}/time_setting.json`:he=`/api/homework_commons/${b==null?void 0:b.categoryId}/time_setting.json`;let ve=yield(0,Be.ZP)(he,{method:"post",body:{publish_time:Te()(le.publish_time).format("YYYY-MM-DD HH:mm"),end_time:Te()(le.end_time).format("YYYY-MM-DD HH:mm")}});re(!1),(ve==null?void 0:ve.status)===0&&te(!0)})},me.createElement(xe.Z,null,me.createElement(ke.Z,null,me.createElement(pe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},me.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:le=>(0,ze.Q8)(le),disabledTime:le=>(0,ze.d0)(le),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),me.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),me.createElement(xe.Z,null,me.createElement(ke.Z,null,me.createElement(pe.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},me.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:le=>(0,ze.Q8)(le,"",E.getFieldValue("publish_time")),disabledTime:le=>(0,ze.d0)(le,E.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),me.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")))))};it.Z=(0,Ue.connect)(({classroomList:b})=>({classroomList:b}))(y)},12317:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return Te}});var x=ee(67294),de=ee(69677),pe=ee(84567),Fe=ee(71230),xe={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ie=ee(26194),Ue=(ze,Be,me)=>new Promise((oe,a)=>{var y=z=>{try{E(me.next(z))}catch(te){a(te)}},b=z=>{try{E(me.throw(z))}catch(te){a(te)}},E=z=>z.done?oe(z.value):Promise.resolve(z.value).then(y,b);E((me=me.apply(ze,Be)).next())}),Te=({data:ze,value:Be=[],handleChangePage:me,setSelectedRowKeys:oe,selectedRowKeys:a,onChange:y=()=>{}})=>{const[b,E]=(0,x.useState)([]),[z,te]=(0,x.useState)([]),[ne,re]=(0,x.useState)([]);let[ae,le]=(0,x.useState)(1),[he,ve]=(0,x.useState)();return(0,x.useEffect)(()=>{E(ze),te([]),re([])},[ze]),(0,x.useEffect)(()=>{oe&&(te(a),re(a))},[a]),x.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},x.createElement("div",{className:xe.leftdiv},x.createElement(de.default.Search,{size:"middle",onChange:Ce=>Ue(void 0,null,function*(){E(ze.filter(be=>{var ye;return(ye=be==null?void 0:be.name)==null?void 0:ye.includes(Ce.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&x.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),x.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},x.createElement(pe.default.Group,{value:z.map(Ce=>`${Ce.id}`),onChange:Ce=>{oe(b.filter(be=>Ce.includes(`${be.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((Ce,be)=>x.createElement(Fe.Z,{key:Ce.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},x.createElement(pe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Ce.is_published,value:`${Ce.id}`},x.createElement("div",{className:xe.listClass},x.createElement("span",{className:xe.spantitle,style:{width:Ce.is_published?"108px":"170px"}},Ce.name),Ce.is_published&&x.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),x.createElement("div",{className:xe.rightdiv},x.createElement(de.default.Search,{onChange:Ce=>{re(z.filter(be=>be.name.includes(Ce.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ne.length===0&&x.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ne.length>0&&x.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},x.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ne.map((Ce,be)=>x.createElement(Fe.Z,{justify:"space-between",style:{marginTop:"10px"},key:Ce.id},x.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Ce.name),x.createElement("img",{src:ke,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{oe(z.filter(ye=>`${ye.id}`!=`${Ce.id}`))}})))))))}},92882:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return y}});var x=ee(67294),de=ee(35973),pe=ee(34336),Fe=ee(14446),xe=ee(69677),ke=ee(71230),ie=ee(15746),Ue={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},Ie=ee(27484),Te=ee.n(Ie),ze=ee(28706),Be=ee(26194),me=ee(67294);const{RangePicker:oe}=pe.default,a=({dispatch:b,classroomList:E,onConfirm:z})=>{const[te,ne]=(0,x.useState)([]),[re,ae]=(0,x.useState)([]),[le,he]=(0,x.useState)("");(0,x.useEffect)(()=>{var be;if(E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let ye=E.actionTabs.data;console.log("data",ye);let De=(be=ye==null?void 0:ye.group_name)==null?void 0:be.map((Oe,$e)=>{var Le;return{group_id:ye==null?void 0:ye.group_id[$e],group_name:ye==null?void 0:ye.group_name[$e],is_admin:ye==null?void 0:ye.is_admin,end_time:ye==null?void 0:ye.end_time,publish_time:Array.isArray(ye==null?void 0:ye.publish_time)?(Le=ye==null?void 0:ye.publish_time)==null?void 0:Le[0]:ye==null?void 0:ye.publish_time}});De&&(ne([...De]),ae([...De]))}},[E.actionTabs]);const ve=()=>{b({type:"classroomList/setActionTabs",payload:{}}),he("")},Ce=be=>{if(be){const ye=re==null?void 0:re.filter(De=>{var Oe,$e;return($e=(Oe=De==null?void 0:De.group_name)==null?void 0:Oe.toLowerCase())==null?void 0:$e.includes(be==null?void 0:be.toLowerCase())});ne(ye)}else ne(re)};return me.createElement(Fe.default,{width:980,title:me.createElement("div",{style:{fontWeight:"bold",display:"flex"}},me.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",me.createElement("span",{className:Ue.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")),me.createElement(xe.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:le,onChange:be=>{he(be.target.value.trim()),Ce(be.target.value.trim())}})),centered:!0,maskClosable:!1,open:E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>ve(),onOk:()=>{var be;z((be=E.actionTabs)==null?void 0:be.index,re),ve()}},me.createElement("div",{className:Ue.modal_con},me.createElement(ke.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(te==null?void 0:te.length)>0?te.map(function(be,ye){var De,Oe;return me.createElement(ie.Z,{span:24,key:ye},me.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:ye==(te==null?void 0:te.length)-1?"0px":"10px"}},me.createElement("div",{className:Ue.multiple_select,title:be.group_name},be.group_name),me.createElement("div",{className:"ml20"},me.createElement(oe,{size:"large",ranges:{\u6B64\u523B:[be.publish_time?Te()(be.publish_time):Te()(),Te()()]},allowClear:!1,disabled:(De=E.actionTabs)==null?void 0:De.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:$e=>{var Le;return(0,ze.Q8)($e,(Le=E.actionTabs)==null?void 0:Le.disabledDate)},disabledTime:$e=>(0,ze.d0)($e),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Te()((0,ze.U6)(),"HH:mm"),Te()((0,ze.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:be.publish_time&&[Te()(be.publish_time),be.end_time?Te()(be.end_time):void 0],onChange:($e,Le)=>{te[ye].publish_time=Le[0],te[ye].end_time=Le[1],ne([...te]),re.forEach(je=>{je.group_id===be.group_id&&(je.publish_time=Le[0],je.end_time=Le[1])}),ae([...re])}})),(Oe=E.actionTabs)!=null&&Oe.rangePickerDisabled?me.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):me.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{te.splice(ye,1),ne([...te]),re.forEach(($e,Le)=>{$e.group_id===be.group_id&&re.splice(Le,1)}),ae([...re])}})))}):me.createElement(Be.Z,null))))};var y=(0,de.connect)(({classroomList:b})=>({classroomList:b}))(a)},98769:function(ct,it,ee){"use strict";ee.d(it,{AD:function(){return $e},D9:function(){return ot},Hp:function(){return ae},IM:function(){return $t},Iy:function(){return le},KM:function(){return Dn},MJ:function(){return he},Ne:function(){return dt},ON:function(){return ut},Uj:function(){return Ge},VY:function(){return ht},YO:function(){return Ht},YX:function(){return wt},Zn:function(){return a},_g:function(){return te},_k:function(){return Ke},c6:function(){return De},cr:function(){return y},eV:function(){return Oe},fi:function(){return b},gh:function(){return be},hS:function(){return gn},iA:function(){return E},j6:function(){return ne},je:function(){return We},jj:function(){return re},kS:function(){return Bt},o6:function(){return ye},pO:function(){return bn},rQ:function(){return Le},sA:function(){return Ce},xm:function(){return qe},xo:function(){return at},y8:function(){return je},yd:function(){return z}});var x=ee(89779),de=ee(35973),pe=ee(28706),Fe=ee(2453),xe=ee(11320),ke=Object.defineProperty,ie=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Te=(Ct,Kt,Ut)=>Kt in Ct?ke(Ct,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Ct[Kt]=Ut,ze=(Ct,Kt)=>{for(var Ut in Kt||(Kt={}))Ue.call(Kt,Ut)&&Te(Ct,Ut,Kt[Ut]);if(ie)for(var Ut of ie(Kt))Ie.call(Kt,Ut)&&Te(Ct,Ut,Kt[Ut]);return Ct},Be=(Ct,Kt,Ut)=>new Promise((Rt,St)=>{var Ft=Jt=>{try{st(Ut.next(Jt))}catch(Ot){St(Ot)}},Pt=Jt=>{try{st(Ut.throw(Jt))}catch(Ot){St(Ot)}},st=Jt=>Jt.done?Rt(Jt.value):Promise.resolve(Jt.value).then(Ft,Pt);st((Ut=Ut.apply(Ct,Kt)).next())});const me=()=>{(0,de.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},oe=()=>{(0,de.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=Ct=>Be(void 0,null,function*(){me(),(yield(0,x.YR)(ze({},Ct))).status===0&&(yield(0,pe.QH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/courses/${Ct.coursesId}/export_couser_info.json`,query:Ct}))),oe()}),y=Ct=>Be(void 0,null,function*(){const Kt=yield(0,x.yS)(ze({},Ct));if(Kt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_member_act_score`);else{if(Kt.status===-2)return Kt;Kt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_member_act_score`))}}),b=Ct=>Be(void 0,null,function*(){const Kt=yield(0,x.W0)(ze({},Ct));if(Kt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_total_score`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_total_score`))}}),E=Ct=>Be(void 0,null,function*(){const Kt=yield(0,x.Nl)(ze({},Ct));if(Kt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_total_exercise_and_other`))}}),z=Ct=>Be(void 0,null,function*(){const Kt=yield(0,x.IU)(ze({},Ct));if(Kt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/export_star_user`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/export_star_user`))}}),te=Ct=>Be(void 0,null,function*(){const Kt=yield(0,x.td)(ze({},Ct));if(Kt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Kt.status===-2)return Kt;if(Kt.status===-3)(0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_total_exercise_and_other`);else if(Kt.status===-4)return Kt}}),ne=Ct=>Be(void 0,null,function*(){const Kt=yield(0,x.QX)(ze({},Ct));if(Kt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_total_homework`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/course_total_homework`))}}),re=(Ct,Kt)=>Be(void 0,null,function*(){const Ut=yield(0,x.o_)(ze({},Ct));Ut.status===0?(Fe.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"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/${Kt}`)):Ut.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/${Kt}`))}),ae=(Ct,Kt)=>Be(void 0,null,function*(){const Ut=yield(0,x.ZL)(ze({},Ct));Ut.status===0?(Fe.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"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/${Kt}`)):Ut.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/${Kt}`))}),le=(Ct,Kt)=>Be(void 0,null,function*(){const Ut=yield(0,x.aP)(ze({},Ct));Ut.status===0?(Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/${Kt}`)):Ut.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/${Kt}`))}),he=(Ct,Kt)=>Be(void 0,null,function*(){const Ut=yield(0,x.vV)(ze({},Ct));Ut.status===0?(Fe.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"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/${Kt}`)):Ut.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/${Kt}`))}),ve=Ct=>Be(void 0,null,function*(){me(),(yield exportCourseWorkListAppendix(ze({},Ct))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Ct.categoryId}/works_list.zip`,query:Ct}))),oe()}),Ce=Ct=>Be(void 0,null,function*(){me(),yield(0,pe.QH)("",xe.Z.API_SERVER+`/api/polls/${Ct.categoryId}/commit_result.xlsx`),oe()}),be=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/courses/${Ct.coursesId}/attendances/export_xlsx_data.xlsx`,query:Ct}))}),ye=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/courses/${Ct.coursesId}/video_study_statics.xlsx`,query:Ct}))}),De=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/courses/${Ct.coursesId}/export_video_study.xlsx`,query:Ct}))}),Oe=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/courses/${Ct.coursesId}/export_course_students_info.xlsx`,query:Ct}))}),$e=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Ct}))}),Le=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Ct}))}),je=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Ct}))}),We=Ct=>Be(void 0,null,function*(){const Kt=yield(0,x.Uy)(ze({},Ct));Kt.status===0?(Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/exercise_score,export_exercise_users`)):Kt.status===-3&&((0,de.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),de.history.push(`/classrooms/${Ct.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ke=Ct=>Be(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/export_records/${Ct.id}.xlsx`,query:Ct}))}),qe=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Ct}))}),ot=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/courses/${Ct==null?void 0:Ct.coursesId}/${Ct.menuKey}_statistic.xlsx?${Ct.checkedList.map(Kt=>`course_group_id[]=${Kt}`).join("&")}`,query:Ct}))}),dt=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/ec_years/${Ct==null?void 0:Ct.ec_year_id}/ec_training_objectives.xlsx`,query:Ct}))}),$t=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)(Ct==null?void 0:Ct.name,(0,pe.NY)({url:xe.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Ct}))}),gn=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/ec_years/${Ct==null?void 0:Ct.ec_year_id}/ec_courses.xlsx`,query:Ct}))}),at=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/ec_years/${Ct==null?void 0:Ct.ec_year_id}/ec_graduation_requirements.xlsx`,query:Ct}))}),ht=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Ct}))}),Bt=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Ct}))}),ut=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/examination_banks/${Ct.id}.json`,query:Ct}))}),wt=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/exercises/${Ct.categoryId}.json`,query:Ct}))}),Ht=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/polls/${Ct==null?void 0:Ct.id}/commit_result.json`,query:Ct}))}),Ge=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Ct}))}),bn=(Ct,Kt)=>Be(void 0,null,function*(){yield(0,pe.FH)(Kt||"",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/exercises/${Ct==null?void 0:Ct.exercise_id}/consult_exercise.json`,query:Ct}))}),Dn=Ct=>Be(void 0,null,function*(){yield(0,pe.FH)("",(0,pe.NY)({url:xe.Z.API_SERVER+`/api/competitions/${Ct==null?void 0:Ct.identifier}/competition_commit_records/member_works.xlsx`,query:Ct}))})},51959:function(ct,it,ee){"use strict";ee.d(it,{BU:function(){return de},Dj:function(){return x},gH:function(){return pe},vp:function(){return Fe}});function x(xe){try{xe.mozRequestFullScreen?xe.mozRequestFullScreen():xe.webkitRequestFullScreen&&xe.webkitRequestFullScreen()}catch(ke){console.log(ke,":e")}}function de(){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 pe=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Fe(){var xe=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ke=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",xe),window.isFullScreen?window.isFullScreen:xe!=null}},78207:function(ct,it,ee){"use strict";ee.d(it,{rX:function(){return ne},pW:function(){return re},gy:function(){return ae},xY:function(){return te},O5:function(){return z},tJ:function(){return oe},o1:function(){return a},Rd:function(){return E}});var x=ee(35973),de=ee(14446),pe=ee(96074),Fe=ee(2453),xe=ee(52262),ke=ee(28706),ie=ee(55304),Ue=ee(25510),Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQg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YFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",Te=ee.p+"static/newqrcode.a8740efb.png",ze=ee(32637),Be=ee(67294),me=(le,he,ve)=>new Promise((Ce,be)=>{var ye=$e=>{try{Oe(ve.next($e))}catch(Le){be(Le)}},De=$e=>{try{Oe(ve.throw($e))}catch(Le){be(Le)}},Oe=$e=>$e.done?Ce($e.value):Promise.resolve($e.value).then(ye,De);Oe((ve=ve.apply(le,he)).next())});const oe=(le,he=!1)=>!!(a(le)&&y(he)),a=le=>(0,xe.bg)()?!0:(le({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(le=!1)=>{var he;const{user:ve}=(0,x.getDvaApp)()._store.getState();return(he=ve.userInfo)!=null&&he.profile_completed?!0:(de.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,ke.xg)("/account/profile/edit"),b()}}),!1)},b=()=>{de.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=()=>{de.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Be.createElement("div",{style:{textAlign:"center"}},Be.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),Be.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ze}),Be.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},z=()=>{var le;const{user:he}=(0,x.getDvaApp)()._store.getState();return(le=he.userInfo)!=null&&le.professional_certification?!0:(de.default.confirm({title:"\u63D0\u793A",centered:!0,content:Be.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ke.xg)("/account/certification")}}),!1)},te=()=>(0,xe.V9)()?!0:(de.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Be.createElement("div",{className:"tc",style:{marginLeft:-38}},Be.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Be.createElement("img",{src:Te,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ne=(le,he)=>le?!0:(de.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Be.createElement("div",null,Be.createElement("p",null,he||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),Be.createElement("div",{style:{marginLeft:"110px"}},Be.createElement("img",{src:Ie,width:200}),Be.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ke.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),re=le=>{de.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Be.createElement("div",null,Be.createElement("div",null,Be.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),Be.createElement(pe.Z,null),Be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Be.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",Be.createElement("a",null,le),"\u5929\u3002"),Be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Be.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),Be.createElement("div",{style:{textAlign:"center",marginTop:30}},Be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ue,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ae=(le,he="")=>{const{shixunsDetail:{detail:ve}}=(0,x.getDvaApp)()._store.getState();if((ve==null?void 0:ve.public)===2||(ve==null?void 0:ve.public)===1||(ve==null?void 0:ve.shixun_status)===3){let Ce="";return(ve==null?void 0:ve.public)===2&&(Ce="\u5DF2\u516C\u5F00"),(ve==null?void 0:ve.public)===1&&(Ce="\u5F85\u5BA1\u6838"),(ve==null?void 0:ve.shixun_status)===3&&(Ce="\u5DF2\u5173\u95ED"),de.default.info({centered:!0,icon:Be.createElement(ie.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Be.createElement("div",{className:"tc",style:{marginLeft:-38}},Be.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Ce,"\uFF0C",he,"\u3002"),Be.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002"))),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ve==null?void 0:ve.shixun_status)===2?(de.default.confirm({centered:!0,icon:Be.createElement(ie.Z,null),title:"\u63D0\u793A",content:Be.createElement("div",null,Be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",he,"\u3002"),Be.createElement("br",null),Be.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{de.default.confirm({width:440,centered:!0,icon:Be.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:()=>me(void 0,null,function*(){(yield le({type:"shixunsDetail/cancelRelease",payload:{id:ve==null?void 0:ve.identifier}})).status!==401&&(Fe.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),le({type:"shixunsDetail/getShixunsDetail",payload:{id:ve==null?void 0:ve.identifier}}),le({type:"practiceSetting/getCommonData",payload:{id:ve==null?void 0:ve.identifier}}))})})}}),!0):!1}},38780:function(ct,it){"use strict";function ee(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let de=1;de<arguments.length;de++){const pe=de<0||arguments.length<=de?void 0:arguments[de];pe&&Object.keys(pe).forEach(Fe=>{const xe=pe[Fe];xe!==void 0&&(x[Fe]=xe)})}return x}it.Z=ee},66367:function(ct,it,ee){"use strict";ee.d(it,{F:function(){return x},Z:function(){return de}});function x(pe){return pe!=null&&pe===pe.window}function de(pe,Fe){var xe,ke;if(typeof window=="undefined")return 0;const ie=Fe?"scrollTop":"scrollLeft";let Ue=0;return x(pe)?Ue=pe[Fe?"pageYOffset":"pageXOffset"]:pe instanceof Document?Ue=pe.documentElement[ie]:(pe instanceof HTMLElement||pe)&&(Ue=pe[ie]),pe&&!x(pe)&&typeof Ue!="number"&&(Ue=(ke=((xe=pe.ownerDocument)!==null&&xe!==void 0?xe:pe).documentElement)===null||ke===void 0?void 0:ke[ie]),Ue}},57838:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return de}});var x=ee(67294);function de(){const[,pe]=x.useReducer(Fe=>Fe+1,0);return pe}},58375:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return Fe}});var x=ee(96523);function de(xe,ke,ie,Ue){const Ie=ie-ke;return xe/=Ue/2,xe<1?Ie/2*xe*xe*xe+ke:Ie/2*((xe-=2)*xe*xe+2)+ke}var pe=ee(66367);function Fe(xe){let ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ie=()=>window,callback:Ue,duration:Ie=450}=ke,Te=ie(),ze=(0,pe.Z)(Te,!0),Be=Date.now(),me=()=>{const a=Date.now()-Be,y=de(a>Ie?Ie:a,ze,xe,Ie);(0,pe.F)(Te)?Te.scrollTo(window.pageXOffset,y):Te instanceof Document||Te.constructor.name==="HTMLDocument"?Te.documentElement.scrollTop=y:Te.scrollTop=y,a<Ie?(0,x.Z)(me):typeof Ue=="function"&&Ue()};(0,x.Z)(me)}},85673:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return $e}});var x=ee(94184),de=ee.n(x),pe=ee(37419),Fe=ee(1337),xe=ee(67294),ke=ee(96159),ie=ee(53124),Ue=ee(42922),Ie=ee(35874);const Te=Le=>{let{children:je}=Le;const{getPrefixCls:We}=xe.useContext(ie.E_),Ke=We("breadcrumb");return xe.createElement("li",{className:`${Ke}-separator`,"aria-hidden":"true"},je===""?je:je||"/")};Te.__ANT_BREADCRUMB_SEPARATOR=!0;var ze=Te,Be=function(Le,je){var We={};for(var Ke in Le)Object.prototype.hasOwnProperty.call(Le,Ke)&&je.indexOf(Ke)<0&&(We[Ke]=Le[Ke]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ke=Object.getOwnPropertySymbols(Le);qe<Ke.length;qe++)je.indexOf(Ke[qe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ke[qe])&&(We[Ke[qe]]=Le[Ke[qe]]);return We};function me(Le,je){if(Le.title===void 0||Le.title===null)return null;const We=Object.keys(je).join("|");return typeof Le.title=="object"?Le.title:String(Le.title).replace(new RegExp(`:(${We})`,"g"),(Ke,qe)=>je[qe]||Ke)}function oe(Le,je,We,Ke){if(We==null)return null;const{className:qe,onClick:ot}=je,dt=Be(je,["className","onClick"]),$t=Object.assign(Object.assign({},(0,Fe.Z)(dt,{data:!0,aria:!0})),{onClick:ot});return Ke!==void 0?xe.createElement("a",Object.assign({},$t,{className:de()(`${Le}-link`,qe),href:Ke}),We):xe.createElement("span",Object.assign({},$t,{className:de()(`${Le}-link`,qe)}),We)}function a(Le,je){return(Ke,qe,ot,dt,$t)=>{if(je)return je(Ke,qe,ot,dt);const gn=me(Ke,qe);return oe(Le,Ke,gn,$t)}}var y=function(Le,je){var We={};for(var Ke in Le)Object.prototype.hasOwnProperty.call(Le,Ke)&&je.indexOf(Ke)<0&&(We[Ke]=Le[Ke]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ke=Object.getOwnPropertySymbols(Le);qe<Ke.length;qe++)je.indexOf(Ke[qe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ke[qe])&&(We[Ke[qe]]=Le[Ke[qe]]);return We};const b=Le=>{const{prefixCls:je,separator:We="/",children:Ke,menu:qe,overlay:ot,dropdownProps:dt,href:$t}=Le,at=(ht=>{if(qe||ot){const Bt=Object.assign({},dt);if(qe){const ut=qe||{},{items:wt}=ut,Ht=y(ut,["items"]);Bt.menu=Object.assign(Object.assign({},Ht),{items:wt==null?void 0:wt.map((Ge,bn)=>{var{key:Dn,title:Ct,label:Kt,path:Ut}=Ge,Rt=y(Ge,["key","title","label","path"]);let St=Kt!=null?Kt:Ct;return Ut&&(St=xe.createElement("a",{href:`${$t}${Ut}`},St)),Object.assign(Object.assign({},Rt),{key:Dn!=null?Dn:bn,label:St})})})}else ot&&(Bt.overlay=ot);return xe.createElement(Ie.Z,Object.assign({placement:"bottom"},Bt),xe.createElement("span",{className:`${je}-overlay-link`},ht,xe.createElement(Ue.Z,null)))}return ht})(Ke);return at!=null?xe.createElement(xe.Fragment,null,xe.createElement("li",null,at),We&&xe.createElement(ze,null,We)):null},E=Le=>{const{prefixCls:je,children:We,href:Ke}=Le,qe=y(Le,["prefixCls","children","href"]),{getPrefixCls:ot}=xe.useContext(ie.E_),dt=ot("breadcrumb",je);return xe.createElement(b,Object.assign({},qe,{prefixCls:dt}),oe(dt,qe,We,Ke))};E.__ANT_BREADCRUMB_ITEM=!0;var z=E,te=ee(14747),ne=ee(67968),re=ee(45503);const ae=Le=>{const{componentCls:je,iconCls:We}=Le;return{[je]:Object.assign(Object.assign({},(0,te.Wf)(Le)),{color:Le.itemColor,fontSize:Le.fontSize,[We]:{fontSize:Le.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Le.linkColor,transition:`color ${Le.motionDurationMid}`,padding:`0 ${Le.paddingXXS}px`,borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",marginInline:-Le.marginXXS,"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover}},(0,te.Qy)(Le)),"li:last-child":{color:Le.lastItemColor},[`${je}-separator`]:{marginInline:Le.separatorMargin,color:Le.separatorColor},[`${je}-link`]:{[`
> ${We} + span,
> ${We} + a
`]:{marginInlineStart:Le.marginXXS}},[`${je}-overlay-link`]:{borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",padding:`0 ${Le.paddingXXS}px`,marginInline:-Le.marginXXS,[`> ${We}`]:{marginInlineStart:Le.marginXXS,fontSize:Le.fontSizeIcon},"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover,a:{color:Le.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Le.componentCls}-rtl`]:{direction:"rtl"}})}};var le=(0,ne.Z)("Breadcrumb",Le=>{const je=(0,re.TS)(Le,{});return[ae(je)]},Le=>({itemColor:Le.colorTextDescription,lastItemColor:Le.colorText,iconFontSize:Le.fontSize,linkColor:Le.colorTextDescription,linkHoverColor:Le.colorText,separatorColor:Le.colorTextDescription,separatorMargin:Le.marginXS})),he=function(Le,je){var We={};for(var Ke in Le)Object.prototype.hasOwnProperty.call(Le,Ke)&&je.indexOf(Ke)<0&&(We[Ke]=Le[Ke]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ke=Object.getOwnPropertySymbols(Le);qe<Ke.length;qe++)je.indexOf(Ke[qe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ke[qe])&&(We[Ke[qe]]=Le[Ke[qe]]);return We};function ve(Le){const{breadcrumbName:je,children:We}=Le,Ke=he(Le,["breadcrumbName","children"]),qe=Object.assign({title:je},Ke);return We&&(qe.menu={items:We.map(ot=>{var{breadcrumbName:dt}=ot,$t=he(ot,["breadcrumbName"]);return Object.assign(Object.assign({},$t),{title:dt})})}),qe}function Ce(Le,je){return(0,xe.useMemo)(()=>Le||(je?je.map(ve):null),[Le,je])}var be=function(Le,je){var We={};for(var Ke in Le)Object.prototype.hasOwnProperty.call(Le,Ke)&&je.indexOf(Ke)<0&&(We[Ke]=Le[Ke]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ke=Object.getOwnPropertySymbols(Le);qe<Ke.length;qe++)je.indexOf(Ke[qe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ke[qe])&&(We[Ke[qe]]=Le[Ke[qe]]);return We};const ye=(Le,je)=>{if(je===void 0)return je;let We=(je||"").replace(/^\//,"");return Object.keys(Le).forEach(Ke=>{We=We.replace(`:${Ke}`,Le[Ke])}),We},De=Le=>{const{prefixCls:je,separator:We="/",style:Ke,className:qe,rootClassName:ot,routes:dt,items:$t,children:gn,itemRender:at,params:ht={}}=Le,Bt=be(Le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:ut,direction:wt,breadcrumb:Ht}=xe.useContext(ie.E_);let Ge;const bn=ut("breadcrumb",je),[Dn,Ct]=le(bn),Kt=Ce($t,dt),Ut=a(bn,at);if(Kt&&Kt.length>0){const Ft=[],Pt=$t||dt;Ge=Kt.map((st,Jt)=>{const{path:Ot,key:xt,type:mn,menu:en,overlay:Ve,onClick:Re,className:In,separator:we,dropdownProps:He}=st,Wt=ye(ht,Ot);Wt!==void 0&&Ft.push(Wt);const et=xt!=null?xt:Jt;if(mn==="separator")return xe.createElement(ze,{key:et},we);const Ye={},yt=Jt===Kt.length-1;en?Ye.menu=en:Ve&&(Ye.overlay=Ve);let{href:vt}=st;return Ft.length&&Wt!==void 0&&(vt=`#/${Ft.join("/")}`),xe.createElement(b,Object.assign({key:et},Ye,(0,Fe.Z)(st,{data:!0,aria:!0}),{className:In,dropdownProps:He,href:vt,separator:yt?"":We,onClick:Re,prefixCls:bn}),Ut(st,ht,Pt,Ft,vt))})}else if(gn){const Ft=(0,pe.Z)(gn).length;Ge=(0,pe.Z)(gn).map((Pt,st)=>{if(!Pt)return Pt;const Jt=st===Ft-1;return(0,ke.Tm)(Pt,{separator:Jt?"":We,key:st})})}const Rt=de()(bn,Ht==null?void 0:Ht.className,{[`${bn}-rtl`]:wt==="rtl"},qe,ot,Ct),St=Object.assign(Object.assign({},Ht==null?void 0:Ht.style),Ke);return Dn(xe.createElement("nav",Object.assign({className:Rt,style:St},Bt),xe.createElement("ol",null,Ge)))};De.Item=z,De.Separator=ze;var Oe=De,$e=Oe},84567:function(ct,it,ee){"use strict";ee.d(it,{default:function(){return le}});var x=ee(94184),de=ee.n(x),pe=ee(95860),Fe=ee(67294),xe=ee(53124),ke=ee(98866),ie=ee(65223),Ie=Fe.createContext(null),Te=ee(63185),ze=ee(45353),Be=ee(92429),me=function(he,ve){var Ce={};for(var be in he)Object.prototype.hasOwnProperty.call(he,be)&&ve.indexOf(be)<0&&(Ce[be]=he[be]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,be=Object.getOwnPropertySymbols(he);ye<be.length;ye++)ve.indexOf(be[ye])<0&&Object.prototype.propertyIsEnumerable.call(he,be[ye])&&(Ce[be[ye]]=he[be[ye]]);return Ce};const oe=(he,ve)=>{var Ce;const{prefixCls:be,className:ye,rootClassName:De,children:Oe,indeterminate:$e=!1,style:Le,onMouseEnter:je,onMouseLeave:We,skipGroup:Ke=!1,disabled:qe}=he,ot=me(he,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:dt,direction:$t,checkbox:gn}=Fe.useContext(xe.E_),at=Fe.useContext(Ie),{isFormItemInput:ht}=Fe.useContext(ie.aM),Bt=Fe.useContext(ke.Z),ut=(Ce=(at==null?void 0:at.disabled)||qe)!==null&&Ce!==void 0?Ce:Bt,wt=Fe.useRef(ot.value);Fe.useEffect(()=>{at==null||at.registerValue(ot.value)},[]),Fe.useEffect(()=>{if(!Ke)return ot.value!==wt.current&&(at==null||at.cancelValue(wt.current),at==null||at.registerValue(ot.value),wt.current=ot.value),()=>at==null?void 0:at.cancelValue(ot.value)},[ot.value]);const Ht=dt("checkbox",be),[Ge,bn]=(0,Te.ZP)(Ht),Dn=Object.assign({},ot);at&&!Ke&&(Dn.onChange=function(){ot.onChange&&ot.onChange.apply(ot,arguments),at.toggleOption&&at.toggleOption({label:Oe,value:ot.value})},Dn.name=at.name,Dn.checked=at.value.includes(ot.value));const Ct=de()(`${Ht}-wrapper`,{[`${Ht}-rtl`]:$t==="rtl",[`${Ht}-wrapper-checked`]:Dn.checked,[`${Ht}-wrapper-disabled`]:ut,[`${Ht}-wrapper-in-form-item`]:ht},gn==null?void 0:gn.className,ye,De,bn),Kt=de()({[`${Ht}-indeterminate`]:$e},Be.A,bn),Ut=$e?"mixed":void 0;return Ge(Fe.createElement(ze.Z,{component:"Checkbox",disabled:ut},Fe.createElement("label",{className:Ct,style:Object.assign(Object.assign({},gn==null?void 0:gn.style),Le),onMouseEnter:je,onMouseLeave:We},Fe.createElement(pe.Z,Object.assign({"aria-checked":Ut},Dn,{prefixCls:Ht,className:Kt,disabled:ut,ref:ve})),Oe!==void 0&&Fe.createElement("span",null,Oe))))};var y=Fe.forwardRef(oe),b=ee(74902),E=ee(10366),z=function(he,ve){var Ce={};for(var be in he)Object.prototype.hasOwnProperty.call(he,be)&&ve.indexOf(be)<0&&(Ce[be]=he[be]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,be=Object.getOwnPropertySymbols(he);ye<be.length;ye++)ve.indexOf(be[ye])<0&&Object.prototype.propertyIsEnumerable.call(he,be[ye])&&(Ce[be[ye]]=he[be[ye]]);return Ce};const te=(he,ve)=>{const{defaultValue:Ce,children:be,options:ye=[],prefixCls:De,className:Oe,rootClassName:$e,style:Le,onChange:je}=he,We=z(he,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ke,direction:qe}=Fe.useContext(xe.E_),[ot,dt]=Fe.useState(We.value||Ce||[]),[$t,gn]=Fe.useState([]);Fe.useEffect(()=>{"value"in We&&dt(We.value||[])},[We.value]);const at=Fe.useMemo(()=>ye.map(Rt=>typeof Rt=="string"||typeof Rt=="number"?{label:Rt,value:Rt}:Rt),[ye]),ht=Rt=>{gn(St=>St.filter(Ft=>Ft!==Rt))},Bt=Rt=>{gn(St=>[].concat((0,b.Z)(St),[Rt]))},ut=Rt=>{const St=ot.indexOf(Rt.value),Ft=(0,b.Z)(ot);St===-1?Ft.push(Rt.value):Ft.splice(St,1),"value"in We||dt(Ft),je==null||je(Ft.filter(Pt=>$t.includes(Pt)).sort((Pt,st)=>{const Jt=at.findIndex(xt=>xt.value===Pt),Ot=at.findIndex(xt=>xt.value===st);return Jt-Ot}))},wt=Ke("checkbox",De),Ht=`${wt}-group`,[Ge,bn]=(0,Te.ZP)(wt),Dn=(0,E.Z)(We,["value","disabled"]),Ct=ye.length?at.map(Rt=>Fe.createElement(y,{prefixCls:wt,key:Rt.value.toString(),disabled:"disabled"in Rt?Rt.disabled:We.disabled,value:Rt.value,checked:ot.includes(Rt.value),onChange:Rt.onChange,className:`${Ht}-item`,style:Rt.style,title:Rt.title},Rt.label)):be,Kt={toggleOption:ut,value:ot,disabled:We.disabled,name:We.name,registerValue:Bt,cancelValue:ht},Ut=de()(Ht,{[`${Ht}-rtl`]:qe==="rtl"},Oe,$e,bn);return Ge(Fe.createElement("div",Object.assign({className:Ut,style:Le},Dn,{ref:ve}),Fe.createElement(Ie.Provider,{value:Kt},Ct)))},ne=Fe.forwardRef(te);var re=Fe.memo(ne);const ae=y;ae.Group=re,ae.__ANT_CHECKBOX=!0;var le=ae},63185:function(ct,it,ee){"use strict";ee.d(it,{C2:function(){return xe}});var x=ee(14747),de=ee(45503),pe=ee(67968);const Fe=ke=>{const{checkboxCls:ie}=ke,Ue=`${ie}-wrapper`;return[{[`${ie}-group`]:Object.assign(Object.assign({},(0,x.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[Ue]:Object.assign(Object.assign({},(0,x.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ue}`]:{marginInlineStart:0},[`&${Ue}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ie]:Object.assign(Object.assign({},(0,x.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.borderRadiusSM,alignSelf:"center",[`${ie}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ie}-inner`]:Object.assign({},(0,x.oN)(ke))},[`${ie}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[`
${Ue}:not(${Ue}-disabled),
${ie}:not(${ie}-disabled)
`]:{[`&:hover ${ie}-inner`]:{borderColor:ke.colorPrimary}},[`${Ue}:not(${Ue}-disabled)`]:{[`&:hover ${ie}-checked:not(${ie}-disabled) ${ie}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ie}-checked:not(${ie}-disabled):after`]:{borderColor:ke.colorPrimaryHover}}},{[`${ie}-checked`]:{[`${ie}-inner`]:{backgroundColor:ke.colorPrimary,borderColor:ke.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ke.motionDurationMid} ${ke.motionEaseOutBack} ${ke.motionDurationFast}`}}},[`
${Ue}-checked:not(${Ue}-disabled),
${ie}-checked:not(${ie}-disabled)
`]:{[`&:hover ${ie}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[ie]:{"&-indeterminate":{[`${ie}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ue}-disabled`]:{cursor:"not-allowed"},[`${ie}-disabled`]:{[`&, ${ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ie}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${ie}-indeterminate ${ie}-inner::after`]:{background:ke.colorTextDisabled}}}]};function xe(ke,ie){const Ue=(0,de.TS)(ie,{checkboxCls:`.${ke}`,checkboxSize:ie.controlInteractiveSize});return[Fe(Ue)]}it.ZP=(0,pe.Z)("Checkbox",(ke,ie)=>{let{prefixCls:Ue}=ie;return[xe(Ue,ke)]})},34336:function(ct,it,ee){"use strict";ee.d(it,{default:function(){return Vu}});var x=ee(97909),de=ee.n(x),pe=ee(68291),Fe=ee(33088),xe=ee.n(Fe),ke=ee(26850),ie=ee.n(ke),Ue=ee(23082),Ie=ee.n(Ue),Te=ee(99873),ze=ee.n(Te),Be=ee(86625),me=ee.n(Be),oe=ee(40618),a=ee.n(oe);de().extend(a()),de().extend(me()),de().extend(xe()),de().extend(ie()),de().extend(Ie()),de().extend(ze()),de().extend(function(se,fe){var Ee=fe.prototype,Xe=Ee.format;Ee.format=function(Tt){var At=(Tt||"").replace("Wo","wo");return Xe.bind(this)(At)}});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(fe){var Ee=y[fe];return Ee||fe.split("_")[0]},E=function(){(0,pe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return de()()},getFixedDate:function(fe){return de()(fe,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(fe){return fe.endOf("month")},getWeekDay:function(fe){var Ee=fe.locale("en");return Ee.weekday()+Ee.localeData().firstDayOfWeek()},getYear:function(fe){return fe.year()},getMonth:function(fe){return fe.month()},getDate:function(fe){return fe.date()},getHour:function(fe){return fe.hour()},getMinute:function(fe){return fe.minute()},getSecond:function(fe){return fe.second()},addYear:function(fe,Ee){return fe.add(Ee,"year")},addMonth:function(fe,Ee){return fe.add(Ee,"month")},addDate:function(fe,Ee){return fe.add(Ee,"day")},setYear:function(fe,Ee){return fe.year(Ee)},setMonth:function(fe,Ee){return fe.month(Ee)},setDate:function(fe,Ee){return fe.date(Ee)},setHour:function(fe,Ee){return fe.hour(Ee)},setMinute:function(fe,Ee){return fe.minute(Ee)},setSecond:function(fe,Ee){return fe.second(Ee)},isAfter:function(fe,Ee){return fe.isAfter(Ee)},isValidate:function(fe){return fe.isValid()},locale:{getWeekFirstDay:function(fe){return de()().locale(b(fe)).localeData().firstDayOfWeek()},getWeekFirstDate:function(fe,Ee){return Ee.locale(b(fe)).weekday(0)},getWeek:function(fe,Ee){return Ee.locale(b(fe)).week()},getShortWeekDays:function(fe){return de()().locale(b(fe)).localeData().weekdaysMin()},getShortMonths:function(fe){return de()().locale(b(fe)).localeData().monthsShort()},format:function(fe,Ee,Xe){return Ee.locale(b(fe)).format(Xe)},parse:function(fe,Ee,Xe){for(var _e=b(fe),Tt=0;Tt<Xe.length;Tt+=1){var At=Xe[Tt],ln=Ee;if(At.includes("wo")||At.includes("Wo")){for(var sn=ln.split("-")[0],An=ln.split("-")[1],ba=de()(sn,"YYYY").startOf("year").locale(_e),On=0;On<=52;On+=1){var Tn=ba.add(On,"week");if(Tn.format("Wo")===An)return Tn}return E(),null}var aa=de()(ln,At,!0).locale(_e);if(aa.isValid())return aa}return Ee&&E(),null}}},te=z,ne=ee(8745),re=ee(87462),ae=ee(67294),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},he=le,ve=ee(74643),Ce=function(fe,Ee){return ae.createElement(ve.Z,(0,re.Z)({},fe,{ref:Ee,icon:he}))},be=ae.forwardRef(Ce),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},De=ye,Oe=function(fe,Ee){return ae.createElement(ve.Z,(0,re.Z)({},fe,{ref:Ee,icon:De}))},$e=ae.forwardRef(Oe),Le=ee(16646),je={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},We=je,Ke=function(fe,Ee){return ae.createElement(ve.Z,(0,re.Z)({},fe,{ref:Ee,icon:We}))},qe=ae.forwardRef(Ke),ot=ee(94184),dt=ee.n(ot),$t=ee(15671),gn=ee(43144),at=ee(97326),ht=ee(60136),Bt=ee(51630),ut=ee(4942),wt=ee(1413),Ht=ee(97685),Ge=ee(5663),bn=ee(1337),Dn=ee(92739),Ct=ee(7699),Kt=10,Ut=Kt*10,Rt=7;function St(se,fe){if(!se&&!fe)return!0;if(!se||!fe)return!1}function Ft(se,fe,Ee){var Xe=St(fe,Ee);if(typeof Xe=="boolean")return Xe;var _e=Math.floor(se.getYear(fe)/10),Tt=Math.floor(se.getYear(Ee)/10);return _e===Tt}function Pt(se,fe,Ee){var Xe=St(fe,Ee);return typeof Xe=="boolean"?Xe:se.getYear(fe)===se.getYear(Ee)}function st(se,fe){var Ee=Math.floor(se.getMonth(fe)/3);return Ee+1}function Jt(se,fe,Ee){var Xe=St(fe,Ee);return typeof Xe=="boolean"?Xe:Pt(se,fe,Ee)&&st(se,fe)===st(se,Ee)}function Ot(se,fe,Ee){var Xe=St(fe,Ee);return typeof Xe=="boolean"?Xe:Pt(se,fe,Ee)&&se.getMonth(fe)===se.getMonth(Ee)}function xt(se,fe,Ee){var Xe=St(fe,Ee);return typeof Xe=="boolean"?Xe:se.getYear(fe)===se.getYear(Ee)&&se.getMonth(fe)===se.getMonth(Ee)&&se.getDate(fe)===se.getDate(Ee)}function mn(se,fe,Ee){var Xe=St(fe,Ee);return typeof Xe=="boolean"?Xe:se.getHour(fe)===se.getHour(Ee)&&se.getMinute(fe)===se.getMinute(Ee)&&se.getSecond(fe)===se.getSecond(Ee)}function en(se,fe,Ee,Xe){var _e=St(Ee,Xe);return typeof _e=="boolean"?_e:Pt(se,Ee,Xe)&&se.locale.getWeek(fe,Ee)===se.locale.getWeek(fe,Xe)}function Ve(se,fe,Ee){return xt(se,fe,Ee)&&mn(se,fe,Ee)}function Re(se,fe,Ee,Xe){return!fe||!Ee||!Xe?!1:!xt(se,fe,Xe)&&!xt(se,Ee,Xe)&&se.isAfter(Xe,fe)&&se.isAfter(Ee,Xe)}function In(se,fe,Ee){var Xe=fe.locale.getWeekFirstDay(se),_e=fe.setDate(Ee,1),Tt=fe.getWeekDay(_e),At=fe.addDate(_e,Xe-Tt);return fe.getMonth(At)===fe.getMonth(Ee)&&fe.getDate(At)>1&&(At=fe.addDate(At,-7)),At}function we(se,fe,Ee){var Xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(fe){case"year":return Ee.addYear(se,Xe*10);case"quarter":case"month":return Ee.addYear(se,Xe);default:return Ee.addMonth(se,Xe)}}function He(se,fe){var Ee=fe.generateConfig,Xe=fe.locale,_e=fe.format;return typeof _e=="function"?_e(se):Ee.locale.format(Xe.locale,se,_e)}function Wt(se,fe){var Ee=fe.generateConfig,Xe=fe.locale,_e=fe.formatList;return!se||typeof _e[0]=="function"?null:Ee.locale.parse(Xe.locale,se,_e)}function et(se){var fe=se.cellDate,Ee=se.mode,Xe=se.disabledDate,_e=se.generateConfig;if(!Xe)return!1;var Tt=function(oa,dn,Ln){for(var da=dn;da<=Ln;){var Xa=void 0;switch(oa){case"date":{if(Xa=_e.setDate(fe,da),!Xe(Xa))return!1;break}case"month":{if(Xa=_e.setMonth(fe,da),!et({cellDate:Xa,mode:"month",generateConfig:_e,disabledDate:Xe}))return!1;break}case"year":{if(Xa=_e.setYear(fe,da),!et({cellDate:Xa,mode:"year",generateConfig:_e,disabledDate:Xe}))return!1;break}}da+=1}return!0};switch(Ee){case"date":case"week":return Xe(fe);case"month":{var At=1,ln=_e.getDate(_e.getEndDate(fe));return Tt("date",At,ln)}case"quarter":{var sn=Math.floor(_e.getMonth(fe)/3)*3,An=sn+2;return Tt("month",sn,An)}case"year":return Tt("month",0,11);case"decade":{var ba=_e.getYear(fe),On=Math.floor(ba/Kt)*Kt,Tn=On+Kt-1;return Tt("year",On,Tn)}}}function Ye(se,fe){var Ee=fe.formatList,Xe=fe.generateConfig,_e=fe.locale;return(0,Dn.Z)(function(){if(!se)return[[""],""];for(var Tt="",At=[],ln=0;ln<Ee.length;ln+=1){var sn=Ee[ln],An=He(se,{generateConfig:Xe,locale:_e,format:sn});At.push(An),ln===0&&(Tt=An)}return[At,Tt]},[se,Ee,_e],function(Tt,At){return!Ve(Xe,Tt[0],At[0])||!(0,Ct.Z)(Tt[1],At[1],!0)||!(0,Ct.Z)(Tt[2],At[2],!0)})}function yt(se,fe){var Ee=fe.formatList,Xe=fe.generateConfig,_e=fe.locale,Tt=(0,ae.useState)(null),At=(0,Ht.Z)(Tt,2),ln=At[0],sn=At[1],An=(0,ae.useRef)(null);function ba(Ln){var da=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(An.current),da){sn(Ln);return}An.current=requestAnimationFrame(function(){sn(Ln)})}var On=Ye(ln,{formatList:Ee,generateConfig:Xe,locale:_e}),Tn=(0,Ht.Z)(On,2),aa=Tn[1];function oa(Ln){ba(Ln)}function dn(){var Ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ba(null,Ln)}return(0,ae.useEffect)(function(){dn(!0)},[se]),(0,ae.useEffect)(function(){return function(){return cancelAnimationFrame(An.current)}},[]),[aa,oa,dn]}var vt=ee(92389),kt=ee(96523),En=ee(74902),Lt=ee(48130),Mt=new Map;function pt(se,fe){var Ee;function Xe(){(0,Lt.Z)(se)?fe():Ee=(0,kt.Z)(function(){Xe()})}return Xe(),function(){kt.Z.cancel(Ee)}}function an(se,fe,Ee){if(Mt.get(se)&&cancelAnimationFrame(Mt.get(se)),Ee<=0){Mt.set(se,requestAnimationFrame(function(){se.scrollTop=fe}));return}var Xe=fe-se.scrollTop,_e=Xe/Ee*10;Mt.set(se,requestAnimationFrame(function(){se.scrollTop+=_e,se.scrollTop!==fe&&an(se,fe,Ee-10)}))}function Gt(se,fe){var Ee=fe.onLeftRight,Xe=fe.onCtrlLeftRight,_e=fe.onUpDown,Tt=fe.onPageUpDown,At=fe.onEnter,ln=se.which,sn=se.ctrlKey,An=se.metaKey;switch(ln){case vt.Z.LEFT:if(sn||An){if(Xe)return Xe(-1),!0}else if(Ee)return Ee(-1),!0;break;case vt.Z.RIGHT:if(sn||An){if(Xe)return Xe(1),!0}else if(Ee)return Ee(1),!0;break;case vt.Z.UP:if(_e)return _e(-1),!0;break;case vt.Z.DOWN:if(_e)return _e(1),!0;break;case vt.Z.PAGE_UP:if(Tt)return Tt(-1),!0;break;case vt.Z.PAGE_DOWN:if(Tt)return Tt(1),!0;break;case vt.Z.ENTER:if(At)return At(),!0;break}return!1}function pn(se,fe,Ee,Xe){var _e=se;if(!_e)switch(fe){case"time":_e=Xe?"hh:mm:ss a":"HH:mm:ss";break;case"week":_e="gggg-wo";break;case"month":_e="YYYY-MM";break;case"quarter":_e="YYYY-[Q]Q";break;case"year":_e="YYYY";break;default:_e=Ee?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return _e}function $n(se,fe,Ee){var Xe=se==="time"?8:10,_e=typeof fe=="function"?fe(Ee.getNow()).length:fe.length;return Math.max(Xe,_e)+2}var Fn=null,Yn=new Set;function fa(se){return!Fn&&typeof window!="undefined"&&window.addEventListener&&(Fn=function(Ee){(0,En.Z)(Yn).forEach(function(Xe){Xe(Ee)})},window.addEventListener("mousedown",Fn)),Yn.add(se),function(){Yn.delete(se),Yn.size===0&&(window.removeEventListener("mousedown",Fn),Fn=null)}}function Yt(se){var fe=se.target;if(se.composed&&fe.shadowRoot){var Ee;return((Ee=se.composedPath)===null||Ee===void 0?void 0:Ee.call(se)[0])||fe}return fe}var Qt=function(fe){return fe==="month"||fe==="date"?"year":fe},nn=function(fe){return fe==="date"?"month":fe},ua=function(fe){return fe==="month"||fe==="date"?"quarter":fe},ra=function(fe){return fe==="date"?"week":fe},jn={year:Qt,month:nn,quarter:ua,week:ra,time:null,date:null};function Na(se,fe){return se.some(function(Ee){return Ee&&Ee.contains(fe)})}function Ma(se){var fe=se.open,Ee=se.value,Xe=se.isClickOutside,_e=se.triggerOpen,Tt=se.forwardKeyDown,At=se.onKeyDown,ln=se.blurToCancel,sn=se.onSubmit,An=se.onCancel,ba=se.onFocus,On=se.onBlur,Tn=se.changeOnBlur,aa=(0,ae.useState)(!1),oa=(0,Ht.Z)(aa,2),dn=oa[0],Ln=oa[1],da=(0,ae.useState)(!1),Xa=(0,Ht.Z)(da,2),Ka=Xa[0],$a=Xa[1],tr=(0,ae.useRef)(!1),Ja=(0,ae.useRef)(!1),Wa=(0,ae.useRef)(!1),so={onMouseDown:function(){Ln(!0),_e(!0)},onKeyDown:function(eo){var Co=function(){Wa.current=!0};if(At(eo,Co),!Wa.current){switch(eo.which){case vt.Z.ENTER:{fe?sn()!==!1&&Ln(!0):_e(!0),eo.preventDefault();return}case vt.Z.TAB:{dn&&fe&&!eo.shiftKey?(Ln(!1),eo.preventDefault()):!dn&&fe&&!Tt(eo)&&eo.shiftKey&&(Ln(!0),eo.preventDefault());return}case vt.Z.ESC:{Ln(!0),An();return}}!fe&&![vt.Z.SHIFT].includes(eo.which)?_e(!0):dn||Tt(eo)}},onFocus:function(eo){Ln(!0),$a(!0),ba&&ba(eo)},onBlur:function(eo){if(tr.current||!Xe(document.activeElement)){tr.current=!1;return}ln?setTimeout(function(){for(var Co=document,jo=Co.activeElement;jo&&jo.shadowRoot;)jo=jo.shadowRoot.activeElement;Xe(jo)&&An()},0):fe&&(_e(!1),Ja.current&&sn()),$a(!1),On==null||On(eo)}};return(0,ae.useEffect)(function(){Ja.current=!1},[fe]),(0,ae.useEffect)(function(){Ja.current=!0},[Ee]),(0,ae.useEffect)(function(){return fa(function(kr){var eo=Yt(kr),Co=Xe(eo);fe&&(Co?!Tn&&(!Ka||Co)&&_e(!1):(tr.current=!0,(0,kt.Z)(function(){tr.current=!1})))})}),[so,{focused:Ka,typing:dn}]}function vr(se,fe){return ae.useMemo(function(){return se||(fe?((0,pe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(fe).map(function(Ee){var Xe=(0,Ht.Z)(Ee,2),_e=Xe[0],Tt=Xe[1];return{label:_e,value:Tt}})):[])},[se,fe])}var zr=ee(14075);function La(se){var fe=se.valueTexts,Ee=se.onTextChange,Xe=ae.useState(""),_e=(0,Ht.Z)(Xe,2),Tt=_e[0],At=_e[1],ln=ae.useRef([]);ln.current=fe;function sn(ba){At(ba),Ee(ba)}function An(){At(ln.current[0])}return(0,zr.Z)(function(){fe.every(function(ba){return ba!==Tt})&&An()},[fe.join("||")]),[Tt,sn,An]}var Je=ae.createContext({}),Dt=Je,Et=ee(71002);function Rn(se){var fe=se.cellRender,Ee=se.monthCellRender,Xe=se.dateRender,_e=ae.useMemo(function(){if(fe)return fe;if(!(!Ee&&!Xe))return function(Tt,At){var ln=Tt;return Xe&&At.type==="date"?Xe(ln,At.today):Ee&&At.type==="month"?Ee(ln,At.locale):At.originNode}},[fe,Ee,Xe]);return _e}function vn(se,fe){for(var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Xe=String(se);Xe.length<fe;)Xe="".concat(Ee).concat(se);return Xe}var Un=function(){for(var fe=arguments.length,Ee=new Array(fe),Xe=0;Xe<fe;Xe++)Ee[Xe]=arguments[Xe];return Ee};function $r(se){return se==null?[]:Array.isArray(se)?se:[se]}function Ta(se,fe){return se?se[fe]:null}function Cr(se,fe,Ee){var Xe=[Ta(se,0),Ta(se,1)];return Xe[Ee]=typeof fe=="function"?fe(Xe[Ee]):fe,!Xe[0]&&!Xe[1]?null:Xe}function _r(se){return typeof se=="function"?se():se}function co(se){var fe=se.cellPrefixCls,Ee=se.generateConfig,Xe=se.rangedValue,_e=se.hoverRangedValue,Tt=se.isInView,At=se.isSameCell,ln=se.offsetCell,sn=se.today,An=se.value;function ba(On){var Tn,aa=ln(On,-1),oa=ln(On,1),dn=Ta(Xe,0),Ln=Ta(Xe,1),da=Ta(_e,0),Xa=Ta(_e,1),Ka=Re(Ee,da,Xa,On);function $a(eo){return At(dn,eo)}function tr(eo){return At(Ln,eo)}var Ja=At(da,On),Wa=At(Xa,On),so=(Ka||Wa)&&(!Tt(aa)||tr(aa)),kr=(Ka||Ja)&&(!Tt(oa)||$a(oa));return Tn={},(0,ut.Z)(Tn,"".concat(fe,"-in-view"),Tt(On)),(0,ut.Z)(Tn,"".concat(fe,"-in-range"),Re(Ee,dn,Ln,On)),(0,ut.Z)(Tn,"".concat(fe,"-range-start"),$a(On)),(0,ut.Z)(Tn,"".concat(fe,"-range-end"),tr(On)),(0,ut.Z)(Tn,"".concat(fe,"-range-start-single"),$a(On)&&!Ln),(0,ut.Z)(Tn,"".concat(fe,"-range-end-single"),tr(On)&&!dn),(0,ut.Z)(Tn,"".concat(fe,"-range-start-near-hover"),$a(On)&&(At(aa,da)||Re(Ee,da,Xa,aa))),(0,ut.Z)(Tn,"".concat(fe,"-range-end-near-hover"),tr(On)&&(At(oa,Xa)||Re(Ee,da,Xa,oa))),(0,ut.Z)(Tn,"".concat(fe,"-range-hover"),Ka),(0,ut.Z)(Tn,"".concat(fe,"-range-hover-start"),Ja),(0,ut.Z)(Tn,"".concat(fe,"-range-hover-end"),Wa),(0,ut.Z)(Tn,"".concat(fe,"-range-hover-edge-start"),so),(0,ut.Z)(Tn,"".concat(fe,"-range-hover-edge-end"),kr),(0,ut.Z)(Tn,"".concat(fe,"-range-hover-edge-start-near-range"),so&&At(aa,Ln)),(0,ut.Z)(Tn,"".concat(fe,"-range-hover-edge-end-near-range"),kr&&At(oa,dn)),(0,ut.Z)(Tn,"".concat(fe,"-today"),At(sn,On)),(0,ut.Z)(Tn,"".concat(fe,"-selected"),At(An,On)),Tn}return ba}var Jn=ae.createContext({}),ur=Jn;function gt(se,fe,Ee,Xe,_e){var Tt=se.setHour(fe,Ee);return Tt=se.setMinute(Tt,Xe),Tt=se.setSecond(Tt,_e),Tt}function tn(se,fe,Ee){if(!Ee)return fe;var Xe=fe;return Xe=se.setHour(Xe,se.getHour(Ee)),Xe=se.setMinute(Xe,se.getMinute(Ee)),Xe=se.setSecond(Xe,se.getSecond(Ee)),Xe}function Xt(se,fe,Ee,Xe,_e,Tt){var At=Math.floor(se/Xe)*Xe;if(At<se)return[At,60-_e,60-Tt];var ln=Math.floor(fe/_e)*_e;if(ln<fe)return[At,ln,60-Tt];var sn=Math.floor(Ee/Tt)*Tt;return[At,ln,sn]}function cn(se,fe){var Ee=se.getYear(fe),Xe=se.getMonth(fe)+1,_e=se.getEndDate(se.getFixedDate("".concat(Ee,"-").concat(Xe,"-01"))),Tt=se.getDate(_e),At=Xe<10?"0".concat(Xe):"".concat(Xe);return"".concat(Ee,"-").concat(At,"-").concat(Tt)}function Kn(se){for(var fe=se.prefixCls,Ee=se.disabledDate,Xe=se.onSelect,_e=se.picker,Tt=se.rowNum,At=se.colNum,ln=se.prefixColumn,sn=se.rowClassName,An=se.baseDate,ba=se.getCellClassName,On=se.getCellText,Tn=se.getCellNode,aa=se.getCellDate,oa=se.generateConfig,dn=se.titleCell,Ln=se.headerCells,da=ae.useContext(Dt),Xa=da.onDateMouseEnter,Ka=da.onDateMouseLeave,$a=da.mode,tr="".concat(fe,"-cell"),Ja=[],Wa=0;Wa<Tt;Wa+=1){for(var so=[],kr=void 0,eo=function(){var Xo,vi=Wa*At+Co,Zo=aa(An,vi),Fo=et({cellDate:Zo,mode:$a,disabledDate:Ee,generateConfig:oa});Co===0&&(kr=Zo,ln&&so.push(ln(kr)));var Do=dn&&dn(Zo),Qo=ae.createElement("div",{className:"".concat(tr,"-inner")},On(Zo));so.push(ae.createElement("td",{key:Co,title:Do,className:dt()(tr,(0,wt.Z)((Xo={},(0,ut.Z)(Xo,"".concat(tr,"-disabled"),Fo),(0,ut.Z)(Xo,"".concat(tr,"-start"),On(Zo)===1||_e==="year"&&Number(Do)%10===0),(0,ut.Z)(Xo,"".concat(tr,"-end"),Do===cn(oa,Zo)||_e==="year"&&Number(Do)%10===9),Xo),ba(Zo))),onClick:function(){Fo||Xe(Zo)},onMouseEnter:function(){!Fo&&Xa&&Xa(Zo)},onMouseLeave:function(){!Fo&&Ka&&Ka(Zo)}},Tn?Tn(Zo,Qo):Qo))},Co=0;Co<At;Co+=1)eo();Ja.push(ae.createElement("tr",{key:Wa,className:sn&&sn(kr)},so))}return ae.createElement("div",{className:"".concat(fe,"-body")},ae.createElement("table",{className:"".concat(fe,"-content")},Ln&&ae.createElement("thead",null,ae.createElement("tr",null,Ln)),ae.createElement("tbody",null,Ja)))}function rn(se){var fe=se.prefixCls,Ee=se.generateConfig,Xe=se.prefixColumn,_e=se.locale,Tt=se.rowCount,At=se.viewDate,ln=se.value,sn=se.cellRender,An=se.isSameCell,ba=ae.useContext(ur),On=ba.rangedValue,Tn=ba.hoverRangedValue,aa=In(_e.locale,Ee,At),oa="".concat(fe,"-cell"),dn=Ee.locale.getWeekFirstDay(_e.locale),Ln=Ee.getNow(),da=[],Xa=_e.shortWeekDays||(Ee.locale.getShortWeekDays?Ee.locale.getShortWeekDays(_e.locale):[]);Xe&&da.push(ae.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Ka=0;Ka<Rt;Ka+=1)da.push(ae.createElement("th",{key:Ka},Xa[(Ka+dn)%Rt]));var $a=co({cellPrefixCls:oa,today:Ln,value:ln,generateConfig:Ee,rangedValue:Xe?null:On,hoverRangedValue:Xe?null:Tn,isSameCell:An||function(Ja,Wa){return xt(Ee,Ja,Wa)},isInView:function(Wa){return Ot(Ee,Wa,At)},offsetCell:function(Wa,so){return Ee.addDate(Wa,so)}}),tr=sn?function(Ja,Wa){return sn(Ja,{originNode:Wa,today:Ln,type:"date",locale:_e})}:void 0;return ae.createElement(Kn,(0,re.Z)({},se,{rowNum:Tt,colNum:Rt,baseDate:aa,getCellNode:tr,getCellText:Ee.getDate,getCellClassName:$a,getCellDate:Ee.addDate,titleCell:function(Wa){return He(Wa,{locale:_e,format:"YYYY-MM-DD",generateConfig:Ee})},headerCells:da}))}var _n=rn,wn={visibility:"hidden"};function la(se){var fe=se.prefixCls,Ee=se.prevIcon,Xe=Ee===void 0?"\u2039":Ee,_e=se.nextIcon,Tt=_e===void 0?"\u203A":_e,At=se.superPrevIcon,ln=At===void 0?"\xAB":At,sn=se.superNextIcon,An=sn===void 0?"\xBB":sn,ba=se.onSuperPrev,On=se.onSuperNext,Tn=se.onPrev,aa=se.onNext,oa=se.children,dn=ae.useContext(Dt),Ln=dn.hideNextBtn,da=dn.hidePrevBtn;return ae.createElement("div",{className:fe},ba&&ae.createElement("button",{type:"button",onClick:ba,tabIndex:-1,className:"".concat(fe,"-super-prev-btn"),style:da?wn:{}},ln),Tn&&ae.createElement("button",{type:"button",onClick:Tn,tabIndex:-1,className:"".concat(fe,"-prev-btn"),style:da?wn:{}},Xe),ae.createElement("div",{className:"".concat(fe,"-view")},oa),aa&&ae.createElement("button",{type:"button",onClick:aa,tabIndex:-1,className:"".concat(fe,"-next-btn"),style:Ln?wn:{}},Tt),On&&ae.createElement("button",{type:"button",onClick:On,tabIndex:-1,className:"".concat(fe,"-super-next-btn"),style:Ln?wn:{}},An))}var Za=la;function ir(se){var fe=se.prefixCls,Ee=se.generateConfig,Xe=se.locale,_e=se.viewDate,Tt=se.onNextMonth,At=se.onPrevMonth,ln=se.onNextYear,sn=se.onPrevYear,An=se.onYearClick,ba=se.onMonthClick,On=ae.useContext(Dt),Tn=On.hideHeader;if(Tn)return null;var aa="".concat(fe,"-header"),oa=Xe.shortMonths||(Ee.locale.getShortMonths?Ee.locale.getShortMonths(Xe.locale):[]),dn=Ee.getMonth(_e),Ln=ae.createElement("button",{type:"button",key:"year",onClick:An,tabIndex:-1,className:"".concat(fe,"-year-btn")},He(_e,{locale:Xe,format:Xe.yearFormat,generateConfig:Ee})),da=ae.createElement("button",{type:"button",key:"month",onClick:ba,tabIndex:-1,className:"".concat(fe,"-month-btn")},Xe.monthFormat?He(_e,{locale:Xe,format:Xe.monthFormat,generateConfig:Ee}):oa[dn]),Xa=Xe.monthBeforeYear?[da,Ln]:[Ln,da];return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:aa,onSuperPrev:sn,onPrev:At,onNext:Tt,onSuperNext:ln}),Xa)}var Or=ir,Wr=6;function Nn(se){var fe=se.prefixCls,Ee=se.panelName,Xe=Ee===void 0?"date":Ee,_e=se.keyboardConfig,Tt=se.active,At=se.operationRef,ln=se.generateConfig,sn=se.value,An=se.viewDate,ba=se.onViewDateChange,On=se.onPanelChange,Tn=se.onSelect,aa="".concat(fe,"-").concat(Xe,"-panel");At.current={onKeyDown:function(da){return Gt(da,(0,wt.Z)({onLeftRight:function(Ka){Tn(ln.addDate(sn||An,Ka),"key")},onCtrlLeftRight:function(Ka){Tn(ln.addYear(sn||An,Ka),"key")},onUpDown:function(Ka){Tn(ln.addDate(sn||An,Ka*Rt),"key")},onPageUpDown:function(Ka){Tn(ln.addMonth(sn||An,Ka),"key")}},_e))}};var oa=function(da){var Xa=ln.addYear(An,da);ba(Xa),On(null,Xa)},dn=function(da){var Xa=ln.addMonth(An,da);ba(Xa),On(null,Xa)};return ae.createElement("div",{className:dt()(aa,(0,ut.Z)({},"".concat(aa,"-active"),Tt))},ae.createElement(Or,(0,re.Z)({},se,{prefixCls:fe,value:sn,viewDate:An,onPrevYear:function(){oa(-1)},onNextYear:function(){oa(1)},onPrevMonth:function(){dn(-1)},onNextMonth:function(){dn(1)},onMonthClick:function(){On("month",An)},onYearClick:function(){On("year",An)}})),ae.createElement(_n,(0,re.Z)({},se,{onSelect:function(da){return Tn(da,"mouse")},prefixCls:fe,value:sn,viewDate:An,rowCount:Wr})))}var Go=Nn;function Mo(se){var fe=ae.useContext(Dt),Ee=fe.hideHeader;if(Ee)return null;var Xe=se.prefixCls,_e=se.generateConfig,Tt=se.locale,At=se.value,ln=se.format,sn="".concat(Xe,"-header");return ae.createElement(Za,{prefixCls:sn},At?He(At,{locale:Tt,format:ln,generateConfig:_e}):"\xA0")}var Sr=Mo;function xo(se){var fe=se.value,Ee=se.generateConfig,Xe=se.disabledMinutes,_e=se.disabledSeconds,Tt=se.minutes,At=se.seconds,ln=se.use12Hours,sn=function(ba,On,Tn,aa){var oa=Ee.getNow(),dn=fe||oa,Ln=On<0?Ee.getHour(oa):On,da=Tn<0?Ee.getMinute(oa):Tn,Xa=aa<0?Ee.getSecond(oa):aa,Ka=Xe&&Xe(Ln);if(Ka!=null&&Ka.includes(da)){var $a=Tt.find(function(Wa){return!Ka.includes(Wa.value)});if($a)da=$a.value;else return null}var tr=_e&&_e(Ln,da);if(tr!=null&&tr.includes(Xa)){var Ja=At.find(function(Wa){return!tr.includes(Wa.value)});if(Ja)Xa=Ja.value;else return null}return dn=gt(Ee,dn,!ln||!ba?Ln:Ln+12,da,Xa),dn};return sn}function sa(se){var fe=se.prefixCls,Ee=se.units,Xe=se.onSelect,_e=se.value,Tt=se.active,At=se.hideDisabledOptions,ln=se.info,sn=se.type,An="".concat(fe,"-cell"),ba=ae.useContext(Dt),On=ba.open,Tn=(0,ae.useRef)(null),aa=(0,ae.useRef)(new Map),oa=(0,ae.useRef)();return(0,ae.useLayoutEffect)(function(){var dn=aa.current.get(_e);dn&&On!==!1&&an(Tn.current,dn.offsetTop,120)},[_e]),(0,ae.useLayoutEffect)(function(){if(On){var dn=aa.current.get(_e);dn&&(oa.current=pt(dn,function(){an(Tn.current,dn.offsetTop,0)}))}return function(){var Ln;(Ln=oa.current)===null||Ln===void 0||Ln.call(oa)}},[On]),ae.createElement("ul",{className:dt()("".concat(fe,"-column"),(0,ut.Z)({},"".concat(fe,"-column-active"),Tt)),ref:Tn,style:{position:"relative"}},Ee.map(function(dn){var Ln;return At&&dn.disabled?null:ae.createElement("li",{key:dn.value,ref:function(Xa){aa.current.set(dn.value,Xa)},className:dt()(An,(Ln={},(0,ut.Z)(Ln,"".concat(An,"-disabled"),dn.disabled),(0,ut.Z)(Ln,"".concat(An,"-selected"),_e===dn.value),Ln)),onClick:function(){dn.disabled||Xe(dn.value)}},ln.cellRender?ln.cellRender(dn.value,{today:ln.today,locale:ln.locale,originNode:ae.createElement("div",{className:"".concat(An,"-inner")},dn.label),type:"time",subType:sn}):ae.createElement("div",{className:"".concat(An,"-inner")},dn.label))}))}var Ra=sa;function mr(se,fe){if(se.length!==fe.length)return!0;for(var Ee=0;Ee<se.length;Ee+=1)if(se[Ee].disabled!==fe[Ee].disabled)return!0;return!1}function Qn(se,fe,Ee,Xe){for(var _e=[],Tt=Ee>=1?Ee|0:1,At=se;At<=fe;At+=Tt)_e.push({label:vn(At,2),value:At,disabled:(Xe||[]).includes(At)});return _e}function Vr(se){var fe=se.generateConfig,Ee=se.prefixCls,Xe=se.operationRef,_e=se.activeColumnIndex,Tt=se.value,At=se.showHour,ln=se.showMinute,sn=se.showSecond,An=se.use12Hours,ba=se.hourStep,On=ba===void 0?1:ba,Tn=se.minuteStep,aa=Tn===void 0?1:Tn,oa=se.secondStep,dn=oa===void 0?1:oa,Ln=se.disabledHours,da=se.disabledMinutes,Xa=se.disabledSeconds,Ka=se.disabledTime,$a=se.hideDisabledOptions,tr=se.onSelect,Ja=se.cellRender,Wa=se.locale,so=[],kr="".concat(Ee,"-content"),eo="".concat(Ee,"-time-panel"),Co,jo=Tt?fe.getHour(Tt):-1,Xo=jo,vi=Tt?fe.getMinute(Tt):-1,Zo=Tt?fe.getSecond(Tt):-1,Fo=fe.getNow(),Do=ae.useMemo(function(){if(Ka){var Po=Ka(Fo);return[Po.disabledHours,Po.disabledMinutes,Po.disabledSeconds]}return[Ln,da,Xa]},[Ln,da,Xa,Ka,Fo]),Qo=(0,Ht.Z)(Do,3),ei=Qo[0],To=Qo[1],ti=Qo[2],Oi=Qn(0,23,On,ei&&ei()),Ei=(0,Dn.Z)(function(){return Oi},Oi,mr);An&&(Co=Xo>=12,Xo%=12);var Xi=ae.useMemo(function(){if(!An)return[!1,!1];var Po=[!0,!0];return Ei.forEach(function(Ni){var gi=Ni.disabled,zi=Ni.value;gi||(zi>=12?Po[1]=!1:Po[0]=!1)}),Po},[An,Ei]),xi=(0,Ht.Z)(Xi,2),Gi=xi[0],ci=xi[1],Di=ae.useMemo(function(){return An?Ei.filter(Co?function(Po){return Po.value>=12}:function(Po){return Po.value<12}).map(function(Po){var Ni=Po.value%12,gi=Ni===0?"12":vn(Ni,2);return(0,wt.Z)((0,wt.Z)({},Po),{},{label:gi,value:Ni})}):Ei},[An,Co,Ei]),Ui=Qn(0,59,aa,To&&To(jo)),qi=Qn(0,59,dn,ti&&ti(jo,vi)),_i=xo({value:Tt,generateConfig:fe,disabledMinutes:To,disabledSeconds:ti,minutes:Ui,seconds:qi,use12Hours:An});Xe.current={onUpDown:function(Ni){var gi=so[_e];if(gi)for(var zi=gi.units.findIndex(function(zl){return zl.value===gi.value}),rl=gi.units.length,Ai=1;Ai<rl;Ai+=1){var el=gi.units[(zi+Ni*Ai+rl)%rl];if(el.disabled!==!0){gi.onSelect(el.value);break}}}};function gl(Po,Ni,gi,zi,rl){Po!==!1&&so.push({node:ae.cloneElement(Ni,{prefixCls:eo,value:gi,active:_e===so.length,onSelect:rl,units:zi,hideDisabledOptions:$a}),onSelect:rl,value:gi,units:zi})}gl(At,ae.createElement(Ra,{key:"hour",type:"hour",info:{today:Fo,locale:Wa,cellRender:Ja}}),Xo,Di,function(Po){tr(_i(Co,Po,vi,Zo),"mouse")}),gl(ln,ae.createElement(Ra,{key:"minute",type:"minute",info:{today:Fo,locale:Wa,cellRender:Ja}}),vi,Ui,function(Po){tr(_i(Co,Xo,Po,Zo),"mouse")}),gl(sn,ae.createElement(Ra,{key:"second",type:"second",info:{today:Fo,locale:Wa,cellRender:Ja}}),Zo,qi,function(Po){tr(_i(Co,Xo,vi,Po),"mouse")});var Al=-1;return typeof Co=="boolean"&&(Al=Co?1:0),gl(An===!0,ae.createElement(Ra,{key:"meridiem",type:"meridiem",info:{today:Fo,locale:Wa,cellRender:Ja}}),Al,[{label:"AM",value:0,disabled:Gi},{label:"PM",value:1,disabled:ci}],function(Po){tr(_i(!!Po,Xo,vi,Zo),"mouse")}),ae.createElement("div",{className:kr},so.map(function(Po){var Ni=Po.node;return Ni}))}var Nr=Vr,Uo=function(fe){return fe.filter(function(Ee){return Ee!==!1}).length};function Ao(se){var fe=se.generateConfig,Ee=se.format,Xe=Ee===void 0?"HH:mm:ss":Ee,_e=se.prefixCls,Tt=se.active,At=se.operationRef,ln=se.showHour,sn=se.showMinute,An=se.showSecond,ba=se.use12Hours,On=ba===void 0?!1:ba,Tn=se.onSelect,aa=se.value,oa="".concat(_e,"-time-panel"),dn=ae.useRef(),Ln=ae.useState(-1),da=(0,Ht.Z)(Ln,2),Xa=da[0],Ka=da[1],$a=Uo([ln,sn,An,On]);return At.current={onKeyDown:function(Ja){return Gt(Ja,{onLeftRight:function(so){Ka((Xa+so+$a)%$a)},onUpDown:function(so){Xa===-1?Ka(0):dn.current&&dn.current.onUpDown(so)},onEnter:function(){Tn(aa||fe.getNow(),"key"),Ka(-1)}})},onBlur:function(){Ka(-1)}},ae.createElement("div",{className:dt()(oa,(0,ut.Z)({},"".concat(oa,"-active"),Tt))},ae.createElement(Sr,(0,re.Z)({},se,{format:Xe,prefixCls:_e})),ae.createElement(Nr,(0,re.Z)({},se,{prefixCls:_e,activeColumnIndex:Xa,operationRef:dn})))}var ko=Ao,ji=Un("date","time");function Jo(se){var fe=se.prefixCls,Ee=se.operationRef,Xe=se.generateConfig,_e=se.value,Tt=se.defaultValue,At=se.disabledTime,ln=se.showTime,sn=se.onSelect,An=se.cellRender,ba="".concat(fe,"-datetime-panel"),On=ae.useState(null),Tn=(0,Ht.Z)(On,2),aa=Tn[0],oa=Tn[1],dn=ae.useRef({}),Ln=ae.useRef({}),da=(0,Et.Z)(ln)==="object"?(0,wt.Z)({},ln):{};function Xa(Ja){var Wa=ji.indexOf(aa)+Ja,so=ji[Wa]||null;return so}var Ka=function(Wa){Ln.current.onBlur&&Ln.current.onBlur(Wa),oa(null)};Ee.current={onKeyDown:function(Wa){if(Wa.which===vt.Z.TAB){var so=Xa(Wa.shiftKey?-1:1);return oa(so),so&&Wa.preventDefault(),!0}if(aa){var kr=aa==="date"?dn:Ln;return kr.current&&kr.current.onKeyDown&&kr.current.onKeyDown(Wa),!0}return[vt.Z.LEFT,vt.Z.RIGHT,vt.Z.UP,vt.Z.DOWN].includes(Wa.which)?(oa("date"),!0):!1},onBlur:Ka,onClose:Ka};var $a=function(Wa,so){var kr=Wa;so==="date"&&!_e&&da.defaultValue?(kr=Xe.setHour(kr,Xe.getHour(da.defaultValue)),kr=Xe.setMinute(kr,Xe.getMinute(da.defaultValue)),kr=Xe.setSecond(kr,Xe.getSecond(da.defaultValue))):so==="time"&&!_e&&Tt&&(kr=Xe.setYear(kr,Xe.getYear(Tt)),kr=Xe.setMonth(kr,Xe.getMonth(Tt)),kr=Xe.setDate(kr,Xe.getDate(Tt))),sn&&sn(kr,"mouse")},tr=At?At(_e||null):{};return ae.createElement("div",{className:dt()(ba,(0,ut.Z)({},"".concat(ba,"-active"),aa))},ae.createElement(Go,(0,re.Z)({},se,{cellRender:An,operationRef:dn,active:aa==="date",onSelect:function(Wa){$a(tn(Xe,Wa,!_e&&(0,Et.Z)(ln)==="object"?ln.defaultValue:null),"date")}})),ae.createElement(ko,(0,re.Z)({},se,{cellRender:An?function(Ja,Wa){return An(Ja,(0,wt.Z)((0,wt.Z)({},Wa),{},{type:"time"}))}:void 0,format:void 0},da,tr,{disabledTime:null,defaultValue:void 0,operationRef:Ln,active:aa==="time",onSelect:function(Wa){$a(Wa,"time")}})))}var nl=Jo;function al(se){var fe=se.prefixCls,Ee=se.generateConfig,Xe=se.viewDate,_e=se.onPrevDecades,Tt=se.onNextDecades,At=ae.useContext(Dt),ln=At.hideHeader;if(ln)return null;var sn="".concat(fe,"-header"),An=Ee.getYear(Xe),ba=Math.floor(An/Ut)*Ut,On=ba+Ut-1;return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:sn,onSuperPrev:_e,onSuperNext:Tt}),ba,"-",On)}var Zn=al,Ea=3,io=4;function Wo(se){var fe=Kt-1,Ee=se.prefixCls,Xe=se.viewDate,_e=se.generateConfig,Tt=se.cellRender,At=se.locale,ln="".concat(Ee,"-cell"),sn=_e.getYear(Xe),An=Math.floor(sn/Kt)*Kt,ba=Math.floor(sn/Ut)*Ut,On=ba+Ut-1,Tn=_e.setYear(Xe,ba-Math.ceil((Ea*io*Kt-Ut)/2)),aa=function(Ln){var da,Xa=_e.getYear(Ln),Ka=Xa+fe;return da={},(0,ut.Z)(da,"".concat(ln,"-in-view"),ba<=Xa&&Ka<=On),(0,ut.Z)(da,"".concat(ln,"-selected"),Xa===An),da},oa=Tt?function(dn,Ln){return Tt(dn,{originNode:Ln,today:_e.getNow(),type:"decade",locale:At})}:void 0;return ae.createElement(Kn,(0,re.Z)({},se,{rowNum:io,colNum:Ea,baseDate:Tn,getCellNode:oa,getCellText:function(Ln){var da=_e.getYear(Ln);return"".concat(da,"-").concat(da+fe)},getCellClassName:aa,getCellDate:function(Ln,da){return _e.addYear(Ln,da*Kt)}}))}var wi=Wo;function ri(se){var fe=se.prefixCls,Ee=se.onViewDateChange,Xe=se.generateConfig,_e=se.viewDate,Tt=se.operationRef,At=se.onSelect,ln=se.onPanelChange,sn="".concat(fe,"-decade-panel");Tt.current={onKeyDown:function(Tn){return Gt(Tn,{onLeftRight:function(oa){At(Xe.addYear(_e,oa*Kt),"key")},onCtrlLeftRight:function(oa){At(Xe.addYear(_e,oa*Ut),"key")},onUpDown:function(oa){At(Xe.addYear(_e,oa*Kt*Ea),"key")},onEnter:function(){ln("year",_e)}})}};var An=function(Tn){var aa=Xe.addYear(_e,Tn*Ut);Ee(aa),ln(null,aa)},ba=function(Tn){At(Tn,"mouse"),ln("year",Tn)};return ae.createElement("div",{className:sn},ae.createElement(Zn,(0,re.Z)({},se,{prefixCls:fe,onPrevDecades:function(){An(-1)},onNextDecades:function(){An(1)}})),ae.createElement(wi,(0,re.Z)({},se,{prefixCls:fe,onSelect:ba})))}var oi=ri;function Qi(se){var fe=se.prefixCls,Ee=se.generateConfig,Xe=se.locale,_e=se.viewDate,Tt=se.onNextYear,At=se.onPrevYear,ln=se.onYearClick,sn=ae.useContext(Dt),An=sn.hideHeader;if(An)return null;var ba="".concat(fe,"-header");return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:ba,onSuperPrev:At,onSuperNext:Tt}),ae.createElement("button",{type:"button",onClick:ln,className:"".concat(fe,"-year-btn")},He(_e,{locale:Xe,format:Xe.yearFormat,generateConfig:Ee})))}var Hr=Qi,ce=3,Pe=4;function Ne(se){var fe=se.prefixCls,Ee=se.locale,Xe=se.value,_e=se.viewDate,Tt=se.generateConfig,At=se.cellRender,ln=ae.useContext(ur),sn=ln.rangedValue,An=ln.hoverRangedValue,ba="".concat(fe,"-cell"),On=co({cellPrefixCls:ba,value:Xe,generateConfig:Tt,rangedValue:sn,hoverRangedValue:An,isSameCell:function(Ln,da){return Ot(Tt,Ln,da)},isInView:function(){return!0},offsetCell:function(Ln,da){return Tt.addMonth(Ln,da)}}),Tn=Ee.shortMonths||(Tt.locale.getShortMonths?Tt.locale.getShortMonths(Ee.locale):[]),aa=Tt.setMonth(_e,0),oa=At?function(dn,Ln){return At(dn,{originNode:Ln,locale:Ee,today:Tt.getNow(),type:"month"})}:void 0;return ae.createElement(Kn,(0,re.Z)({},se,{rowNum:Pe,colNum:ce,baseDate:aa,getCellNode:oa,getCellText:function(Ln){return Ee.monthFormat?He(Ln,{locale:Ee,format:Ee.monthFormat,generateConfig:Tt}):Tn[Tt.getMonth(Ln)]},getCellClassName:On,getCellDate:Tt.addMonth,titleCell:function(Ln){return He(Ln,{locale:Ee,format:"YYYY-MM",generateConfig:Tt})}}))}var Se=Ne;function Qe(se){var fe=se.prefixCls,Ee=se.operationRef,Xe=se.onViewDateChange,_e=se.generateConfig,Tt=se.value,At=se.viewDate,ln=se.onPanelChange,sn=se.onSelect,An="".concat(fe,"-month-panel");Ee.current={onKeyDown:function(Tn){return Gt(Tn,{onLeftRight:function(oa){sn(_e.addMonth(Tt||At,oa),"key")},onCtrlLeftRight:function(oa){sn(_e.addYear(Tt||At,oa),"key")},onUpDown:function(oa){sn(_e.addMonth(Tt||At,oa*ce),"key")},onEnter:function(){ln("date",Tt||At)}})}};var ba=function(Tn){var aa=_e.addYear(At,Tn);Xe(aa),ln(null,aa)};return ae.createElement("div",{className:An},ae.createElement(Hr,(0,re.Z)({},se,{prefixCls:fe,onPrevYear:function(){ba(-1)},onNextYear:function(){ba(1)},onYearClick:function(){ln("year",At)}})),ae.createElement(Se,(0,re.Z)({},se,{prefixCls:fe,onSelect:function(Tn){sn(Tn,"mouse"),ln("date",Tn)}})))}var rt=Qe;function bt(se){var fe=se.prefixCls,Ee=se.generateConfig,Xe=se.locale,_e=se.viewDate,Tt=se.onNextYear,At=se.onPrevYear,ln=se.onYearClick,sn=ae.useContext(Dt),An=sn.hideHeader;if(An)return null;var ba="".concat(fe,"-header");return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:ba,onSuperPrev:At,onSuperNext:Tt}),ae.createElement("button",{type:"button",onClick:ln,className:"".concat(fe,"-year-btn")},He(_e,{locale:Xe,format:Xe.yearFormat,generateConfig:Ee})))}var tt=bt,lt=4,mt=1;function on(se){var fe=se.prefixCls,Ee=se.locale,Xe=se.value,_e=se.viewDate,Tt=se.generateConfig,At=se.cellRender,ln=ae.useContext(ur),sn=ln.rangedValue,An=ln.hoverRangedValue,ba="".concat(fe,"-cell"),On=co({cellPrefixCls:ba,value:Xe,generateConfig:Tt,rangedValue:sn,hoverRangedValue:An,isSameCell:function(dn,Ln){return Jt(Tt,dn,Ln)},isInView:function(){return!0},offsetCell:function(dn,Ln){return Tt.addMonth(dn,Ln*3)}}),Tn=Tt.setDate(Tt.setMonth(_e,0),1),aa=At?function(oa,dn){return At(oa,{originNode:dn,locale:Ee,today:Tt.getNow(),type:"quarter"})}:void 0;return ae.createElement(Kn,(0,re.Z)({},se,{rowNum:mt,colNum:lt,baseDate:Tn,getCellNode:aa,getCellText:function(dn){return He(dn,{locale:Ee,format:Ee.quarterFormat||"[Q]Q",generateConfig:Tt})},getCellClassName:On,getCellDate:function(dn,Ln){return Tt.addMonth(dn,Ln*3)},titleCell:function(dn){return He(dn,{locale:Ee,format:"YYYY-[Q]Q",generateConfig:Tt})}}))}var hn=on;function Vn(se){var fe=se.prefixCls,Ee=se.operationRef,Xe=se.onViewDateChange,_e=se.generateConfig,Tt=se.value,At=se.viewDate,ln=se.onPanelChange,sn=se.onSelect,An="".concat(fe,"-quarter-panel");Ee.current={onKeyDown:function(Tn){return Gt(Tn,{onLeftRight:function(oa){sn(_e.addMonth(Tt||At,oa*3),"key")},onCtrlLeftRight:function(oa){sn(_e.addYear(Tt||At,oa),"key")},onUpDown:function(oa){sn(_e.addYear(Tt||At,oa),"key")}})}};var ba=function(Tn){var aa=_e.addYear(At,Tn);Xe(aa),ln(null,aa)};return ae.createElement("div",{className:An},ae.createElement(tt,(0,re.Z)({},se,{prefixCls:fe,onPrevYear:function(){ba(-1)},onNextYear:function(){ba(1)},onYearClick:function(){ln("year",At)}})),ae.createElement(hn,(0,re.Z)({},se,{prefixCls:fe,onSelect:function(Tn){sn(Tn,"mouse")}})))}var kn=Vn;function Aa(se){var fe=se.prefixCls,Ee=se.generateConfig,Xe=se.locale,_e=se.value,Tt=se.disabledDate,At=se.onSelect,ln=ae.useContext(ur),sn=ln.rangedValue,An=ln.hoverRangedValue,ba=ae.useContext(Dt),On=ba.onDateMouseEnter,Tn=ba.onDateMouseLeave,aa=(An==null?void 0:An[0])||(sn==null?void 0:sn[0]),oa=(An==null?void 0:An[1])||(sn==null?void 0:sn[1]),dn="".concat(fe,"-cell"),Ln=function($a){var tr=et({cellDate:$a,mode:"week",disabledDate:Tt,generateConfig:Ee});return ae.createElement("td",{key:"week",className:dt()(dn,"".concat(dn,"-week")),onClick:function(){tr||At($a,"mouse")},onMouseEnter:function(){!tr&&On&&On($a)},onMouseLeave:function(){!tr&&Tn&&Tn($a)}},ae.createElement("div",{className:"".concat(dn,"-inner")},Ee.locale.getWeek(Xe.locale,$a)))},da="".concat(fe,"-week-panel-row"),Xa=function($a){var tr,Ja=en(Ee,Xe.locale,aa,$a),Wa=en(Ee,Xe.locale,oa,$a);return dt()(da,(tr={},(0,ut.Z)(tr,"".concat(da,"-selected"),!sn&&en(Ee,Xe.locale,_e,$a)),(0,ut.Z)(tr,"".concat(da,"-range-start"),Ja),(0,ut.Z)(tr,"".concat(da,"-range-end"),Wa),(0,ut.Z)(tr,"".concat(da,"-range-hover"),!Ja&&!Wa&&Re(Ee,aa,oa,$a)),tr))};return ae.createElement(Go,(0,re.Z)({},se,{panelName:"week",prefixColumn:Ln,rowClassName:Xa,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var pa=Aa,Sn=10;function jt(se){var fe=se.prefixCls,Ee=se.generateConfig,Xe=se.viewDate,_e=se.onPrevDecade,Tt=se.onNextDecade,At=se.onDecadeClick,ln=ae.useContext(Dt),sn=ln.hideHeader;if(sn)return null;var An="".concat(fe,"-header"),ba=Ee.getYear(Xe),On=Math.floor(ba/Sn)*Sn,Tn=On+Sn-1;return ae.createElement(Za,(0,re.Z)({},se,{prefixCls:An,onSuperPrev:_e,onSuperNext:Tt}),ae.createElement("button",{type:"button",onClick:At,className:"".concat(fe,"-decade-btn")},On,"-",Tn))}var yn=jt,Cn=3,ha=4;function Da(se){var fe=se.prefixCls,Ee=se.value,Xe=se.viewDate,_e=se.locale,Tt=se.generateConfig,At=se.cellRender,ln=ae.useContext(ur),sn=ln.rangedValue,An=ln.hoverRangedValue,ba="".concat(fe,"-cell"),On=Tt.getYear(Xe),Tn=Math.floor(On/Sn)*Sn,aa=Tn+Sn-1,oa=Tt.setYear(Xe,Tn-Math.ceil((Cn*ha-Sn)/2)),dn=Tt.getNow(),Ln=function($a){var tr=Tt.getYear($a);return Tn<=tr&&tr<=aa},da=co({cellPrefixCls:ba,value:Ee,generateConfig:Tt,rangedValue:sn,hoverRangedValue:An,isSameCell:function($a,tr){return Pt(Tt,$a,tr)},isInView:Ln,offsetCell:function($a,tr){return Tt.addYear($a,tr)}}),Xa=At?function(Ka,$a){return At(Ka,{originNode:$a,today:dn,type:"year",locale:_e})}:void 0;return ae.createElement(Kn,(0,re.Z)({},se,{rowNum:ha,colNum:Cn,baseDate:oa,getCellNode:Xa,getCellText:Tt.getYear,getCellClassName:da,getCellDate:Tt.addYear,titleCell:function($a){return He($a,{locale:_e,format:"YYYY",generateConfig:Tt})}}))}var wa=Da;function za(se){var fe=se.prefixCls,Ee=se.operationRef,Xe=se.onViewDateChange,_e=se.generateConfig,Tt=se.value,At=se.viewDate,ln=se.sourceMode,sn=se.onSelect,An=se.onPanelChange,ba="".concat(fe,"-year-panel");Ee.current={onKeyDown:function(aa){return Gt(aa,{onLeftRight:function(dn){sn(_e.addYear(Tt||At,dn),"key")},onCtrlLeftRight:function(dn){sn(_e.addYear(Tt||At,dn*Sn),"key")},onUpDown:function(dn){sn(_e.addYear(Tt||At,dn*Cn),"key")},onEnter:function(){An(ln==="date"?"date":"month",Tt||At)}})}};var On=function(aa){var oa=_e.addYear(At,aa*10);Xe(oa),An(null,oa)};return ae.createElement("div",{className:ba},ae.createElement(yn,(0,re.Z)({},se,{prefixCls:fe,onPrevDecade:function(){On(-1)},onNextDecade:function(){On(1)},onDecadeClick:function(){An("decade",At)}})),ae.createElement(wa,(0,re.Z)({},se,{prefixCls:fe,onSelect:function(aa){An(ln==="date"?"date":"month",aa),sn(aa,"mouse")}})))}var Oa=za;function ea(se,fe,Ee){return Ee?ae.createElement("div",{className:"".concat(se,"-footer-extra")},Ee(fe)):null}function Ba(se){var fe=se.prefixCls,Ee=se.components,Xe=Ee===void 0?{}:Ee,_e=se.needConfirmButton,Tt=se.onNow,At=se.onOk,ln=se.okDisabled,sn=se.showNow,An=se.locale,ba,On;if(_e){var Tn=Xe.button||"button";Tt&&sn!==!1&&(ba=ae.createElement("li",{className:"".concat(fe,"-now")},ae.createElement("a",{className:"".concat(fe,"-now-btn"),onClick:Tt},An.now))),On=_e&&ae.createElement("li",{className:"".concat(fe,"-ok")},ae.createElement(Tn,{disabled:ln,onClick:At},An.ok))}return!ba&&!On?null:ae.createElement("ul",{className:"".concat(fe,"-ranges")},ba,On)}var xa=["date","month"];function Ya(se){var fe,Ee=se,Xe=Ee.prefixCls,_e=Xe===void 0?"rc-picker":Xe,Tt=Ee.className,At=Ee.style,ln=Ee.locale,sn=Ee.generateConfig,An=Ee.value,ba=Ee.defaultValue,On=Ee.pickerValue,Tn=Ee.defaultPickerValue,aa=Ee.disabledDate,oa=Ee.mode,dn=Ee.picker,Ln=dn===void 0?"date":dn,da=Ee.tabIndex,Xa=da===void 0?0:da,Ka=Ee.showNow,$a=Ee.showTime,tr=Ee.showToday,Ja=Ee.renderExtraFooter,Wa=Ee.hideHeader,so=Ee.onSelect,kr=Ee.onChange,eo=Ee.onPanelChange,Co=Ee.onMouseDown,jo=Ee.onPickerValueChange,Xo=Ee.onOk,vi=Ee.components,Zo=Ee.direction,Fo=Ee.hourStep,Do=Fo===void 0?1:Fo,Qo=Ee.minuteStep,ei=Qo===void 0?1:Qo,To=Ee.secondStep,ti=To===void 0?1:To,Oi=Ee.dateRender,Ei=Ee.monthCellRender,Xi=Ee.cellRender,xi=Ln==="date"&&!!$a||Ln==="time",Gi=24%Do===0,ci=60%ei===0,Di=60%ti===0,Ui=ae.useContext(Dt),qi=Ui.operationRef,_i=Ui.onSelect,gl=Ui.hideRanges,Al=Ui.defaultOpenValue,Po=ae.useContext(ur),Ni=Po.inRange,gi=Po.panelPosition,zi=Po.rangedValue,rl=Po.hoverRangedValue,Ai=ae.useRef({}),el=ae.useRef(!0),zl=(0,Ge.Z)(null,{value:An,defaultValue:ba,postState:function(dr){return!dr&&Al&&Ln==="time"?Al:dr}}),Wl=(0,Ht.Z)(zl,2),ml=Wl[0],uu=Wl[1],pu=(0,Ge.Z)(null,{value:On,defaultValue:Tn||ml,postState:function(dr){var yo=sn.getNow();if(!dr)return yo;if(!ml&&$a){var qo=(0,Et.Z)($a)==="object"?$a.defaultValue:ba;return tn(sn,Array.isArray(dr)?dr[0]:dr,qo||yo)}return Array.isArray(dr)?dr[0]:dr}}),su=(0,Ht.Z)(pu,2),fl=su[0],Ml=su[1],Fl=function(dr){Ml(dr),jo&&jo(dr)},du=function(dr){var yo=jn[Ln];return yo?yo(dr):dr},ru=(0,Ge.Z)(function(){return Ln==="time"?"time":du("date")},{value:oa}),Dl=(0,Ht.Z)(ru,2),Ii=Dl[0],yl=Dl[1];ae.useEffect(function(){yl(Ln)},[Ln]);var Ql=ae.useState(function(){return Ii}),Gl=(0,Ht.Z)(Ql,2),Bl=Gl[0],Ll=Gl[1],Ul=function(dr,yo){var qo=du(dr||Ii);Ll(Ii),yl(qo),eo&&(Ii!==qo||Ve(sn,fl,fl))&&eo(yo,qo)},Yi=function(dr,yo){var qo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ii===Ln||qo)&&(uu(dr),so&&so(dr),_i&&_i(dr,yo),kr&&!Ve(sn,dr,ml)&&!(aa!=null&&aa(dr))&&kr(dr))},El=function(dr){if(xa.includes(Ii)){var yo,qo,Tl=Ii==="date";switch(dr===vt.Z.PAGE_UP||dr===vt.Z.PAGE_DOWN?qo=Tl?sn.addMonth:sn.addYear:qo=Tl?sn.addDate:sn.addMonth,dr){case vt.Z.LEFT:case vt.Z.PAGE_UP:yo=qo(fl,-1);break;case vt.Z.RIGHT:case vt.Z.PAGE_DOWN:yo=qo(fl,1);break;case vt.Z.UP:case vt.Z.DOWN:yo=qo(fl,Number("".concat(dr===vt.Z.UP?"-":"").concat(Tl?Rt:ce)));break}if(yo)return!(aa!=null&&aa(yo))}return!0},$l=function(dr){if(Ai.current&&Ai.current.onKeyDown){var yo=!0,qo=dr.which;if([vt.Z.LEFT,vt.Z.RIGHT,vt.Z.UP,vt.Z.DOWN,vt.Z.PAGE_UP,vt.Z.PAGE_DOWN,vt.Z.ENTER].includes(qo)&&(dr.preventDefault(),qo!==vt.Z.ENTER&&Xa===0&&(yo=El(qo))),yo)return Ai.current.onKeyDown(dr)}return(0,pe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Vi=function(dr){Ai.current&&Ai.current.onBlur&&Ai.current.onBlur(dr)};qi&&gi!=="right"&&(qi.current={onKeyDown:$l,onClose:function(){Ai.current&&Ai.current.onClose&&Ai.current.onClose()}}),ae.useEffect(function(){An&&!el.current&&Ml(An)},[An]),ae.useEffect(function(){el.current=!1},[]);var Cl,Jl=Rn({cellRender:Xi,monthCellRender:Ei,dateRender:Oi}),ni=(0,wt.Z)((0,wt.Z)({},se),{},{cellRender:Jl,operationRef:Ai,prefixCls:_e,viewDate:fl,value:ml,onViewDateChange:Fl,sourceMode:Bl,onPanelChange:Ul,disabledDate:aa});switch(delete ni.onChange,delete ni.onSelect,Ii){case"decade":Cl=ae.createElement(oi,(0,re.Z)({},ni,{onSelect:function(dr,yo){Fl(dr),Yi(dr,yo)}}));break;case"year":Cl=ae.createElement(Oa,(0,re.Z)({},ni,{onSelect:function(dr,yo){Fl(dr),Yi(dr,yo)}}));break;case"month":Cl=ae.createElement(rt,(0,re.Z)({},ni,{onSelect:function(dr,yo){Fl(dr),Yi(dr,yo)}}));break;case"quarter":Cl=ae.createElement(kn,(0,re.Z)({},ni,{onSelect:function(dr,yo){Fl(dr),Yi(dr,yo)}}));break;case"week":Cl=ae.createElement(pa,(0,re.Z)({},ni,{onSelect:function(dr,yo){Fl(dr),Yi(dr,yo)}}));break;case"time":delete ni.showTime,Cl=ae.createElement(ko,(0,re.Z)({},ni,(0,Et.Z)($a)==="object"?$a:null,{onSelect:function(dr,yo){Fl(dr),Yi(dr,yo)}}));break;default:$a?Cl=ae.createElement(nl,(0,re.Z)({},ni,{onSelect:function(dr,yo){Fl(dr),Yi(dr,yo)}})):Cl=ae.createElement(Go,(0,re.Z)({},ni,{onSelect:function(dr,yo){Fl(dr),Yi(dr,yo)}}))}var ql,Ol,Hl=function(){var dr=sn.getNow(),yo=Xt(sn.getHour(dr),sn.getMinute(dr),sn.getSecond(dr),Gi?Do:1,ci?ei:1,Di?ti:1),qo=gt(sn,dr,yo[0],yo[1],yo[2]);Yi(qo,"submit")};gl||(ql=ea(_e,Ii,Ja),$a&&Ii!=="date"?Ol=null:Ol=Ba({prefixCls:_e,components:vi,needConfirmButton:xi,okDisabled:!ml||aa&&aa(ml),locale:ln,showNow:Ka,onNow:xi&&Hl,onOk:function(){ml&&(Yi(ml,"submit",!0),Xo&&Xo(ml))}}));var cu;if(tr&&Ii==="date"&&Ln==="date"&&!$a){var eu=sn.getNow(),hu="".concat(_e,"-today-btn"),ou=aa&&aa(eu);cu=ae.createElement("a",{className:dt()(hu,ou&&"".concat(hu,"-disabled")),"aria-disabled":ou,onClick:function(){ou||Yi(eu,"mouse",!0)}},ln.today)}return ae.createElement(Dt.Provider,{value:(0,wt.Z)((0,wt.Z)({},Ui),{},{mode:Ii,hideHeader:"hideHeader"in se?Wa:Ui.hideHeader,hidePrevBtn:Ni&&gi==="right",hideNextBtn:Ni&&gi==="left"})},ae.createElement("div",{tabIndex:Xa,className:dt()("".concat(_e,"-panel"),Tt,(fe={},(0,ut.Z)(fe,"".concat(_e,"-panel-has-range"),zi&&zi[0]&&zi[1]),(0,ut.Z)(fe,"".concat(_e,"-panel-has-range-hover"),rl&&rl[0]&&rl[1]),(0,ut.Z)(fe,"".concat(_e,"-panel-rtl"),Zo==="rtl"),fe)),style:At,onKeyDown:$l,onBlur:Vi,onMouseDown:Co},Cl,ql||Ol||cu?ae.createElement("div",{className:"".concat(_e,"-footer")},ql,Ol,cu):null))}var er=Ya,Rr=ee(62709),ao={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 wo(se){var fe,Ee=se.prefixCls,Xe=se.popupElement,_e=se.popupStyle,Tt=se.visible,At=se.dropdownClassName,ln=se.dropdownAlign,sn=se.transitionName,An=se.getPopupContainer,ba=se.children,On=se.range,Tn=se.popupPlacement,aa=se.direction,oa="".concat(Ee,"-dropdown"),dn=function(){return Tn!==void 0?Tn:aa==="rtl"?"bottomRight":"bottomLeft"};return ae.createElement(Rr.Z,{showAction:[],hideAction:[],popupPlacement:dn(),builtinPlacements:ao,prefixCls:oa,popupTransitionName:sn,popup:Xe,popupAlign:ln,popupVisible:Tt,popupClassName:dt()(At,(fe={},(0,ut.Z)(fe,"".concat(oa,"-range"),On),(0,ut.Z)(fe,"".concat(oa,"-rtl"),aa==="rtl"),fe)),popupStyle:_e,getPopupContainer:An},ba)}var ma=wo;function Eo(se){var fe=se.prefixCls,Ee=se.presets,Xe=se.onClick,_e=se.onHover;return Ee.length?ae.createElement("div",{className:"".concat(fe,"-presets")},ae.createElement("ul",null,Ee.map(function(Tt,At){var ln=Tt.label,sn=Tt.value;return ae.createElement("li",{key:At,onClick:function(){return Xe==null?void 0:Xe(_r(sn))},onMouseEnter:function(){return _e==null?void 0:_e(_r(sn))},onMouseLeave:function(){return _e==null?void 0:_e(null)}},ln)}))):null}function ii(se){var fe=se.picker,Ee=se.disabledHours,Xe=se.disabledMinutes,_e=se.disabledSeconds;fe==="time"&&(Ee||Xe||_e)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ki(se,fe,Ee){var Xe=(0,Et.Z)(fe)==="object"?fe.clearIcon:Ee;return Xe||ae.createElement("span",{className:"".concat(se,"-clear-btn")})}function sl(se){var fe,Ee=se,Xe=Ee.prefixCls,_e=Xe===void 0?"rc-picker":Xe,Tt=Ee.id,At=Ee.name,ln=Ee.tabIndex,sn=Ee.style,An=Ee.className,ba=Ee.dropdownClassName,On=Ee.dropdownAlign,Tn=Ee.popupStyle,aa=Ee.transitionName,oa=Ee.generateConfig,dn=Ee.locale,Ln=Ee.inputReadOnly,da=Ee.allowClear,Xa=Ee.autoFocus,Ka=Ee.showTime,$a=Ee.picker,tr=$a===void 0?"date":$a,Ja=Ee.format,Wa=Ee.use12Hours,so=Ee.value,kr=Ee.defaultValue,eo=Ee.presets,Co=Ee.open,jo=Ee.defaultOpen,Xo=Ee.defaultOpenValue,vi=Ee.suffixIcon,Zo=Ee.clearIcon,Fo=Ee.disabled,Do=Ee.disabledDate,Qo=Ee.placeholder,ei=Ee.getPopupContainer,To=Ee.pickerRef,ti=Ee.panelRender,Oi=Ee.onChange,Ei=Ee.onOpenChange,Xi=Ee.onFocus,xi=Ee.onBlur,Gi=Ee.onMouseDown,ci=Ee.onMouseUp,Di=Ee.onMouseEnter,Ui=Ee.onMouseLeave,qi=Ee.onContextMenu,_i=Ee.onClick,gl=Ee.onKeyDown,Al=Ee.onSelect,Po=Ee.direction,Ni=Ee.autoComplete,gi=Ni===void 0?"off":Ni,zi=Ee.inputRender,rl=Ee.changeOnBlur,Ai=ae.useRef(null),el=tr==="date"&&!!Ka||tr==="time",zl=vr(eo),Wl=$r(pn(Ja,tr,Ka,Wa)),ml=ae.useRef(null),uu=ae.useRef(null),pu=ae.useRef(null),su=(0,Ge.Z)(null,{value:so,defaultValue:kr}),fl=(0,Ht.Z)(su,2),Ml=fl[0],Fl=fl[1],du=ae.useState(Ml),ru=(0,Ht.Z)(du,2),Dl=ru[0],Ii=ru[1],yl=ae.useRef(null),Ql=(0,Ge.Z)(!1,{value:Co,defaultValue:jo,postState:function(Pn){return Fo?!1:Pn},onChange:function(Pn){Ei&&Ei(Pn),!Pn&&yl.current&&yl.current.onClose&&yl.current.onClose()}}),Gl=(0,Ht.Z)(Ql,2),Bl=Gl[0],Ll=Gl[1],Ul=Ye(Dl,{formatList:Wl,generateConfig:oa,locale:dn}),Yi=(0,Ht.Z)(Ul,2),El=Yi[0],$l=Yi[1],Vi=La({valueTexts:El,onTextChange:function(Pn){var va=Wt(Pn,{locale:dn,formatList:Wl,generateConfig:oa});va&&(!Do||!Do(va))&&Ii(va)}}),Cl=(0,Ht.Z)(Vi,3),Jl=Cl[0],ni=Cl[1],ql=Cl[2],Ol=function(Pn){Ii(Pn),Fl(Pn),Oi&&!Ve(oa,Ml,Pn)&&Oi(Pn,Pn?He(Pn,{generateConfig:oa,locale:dn,format:Wl[0]}):"")},Hl=function(Pn){Fo&&Pn||Ll(Pn)},cu=function(Pn){return Bl&&yl.current&&yl.current.onKeyDown?yl.current.onKeyDown(Pn):((0,pe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},eu=function(){for(var Pn=arguments.length,va=new Array(Pn),ia=0;ia<Pn;ia++)va[ia]=arguments[ia];_i==null||_i.apply(void 0,va),Ai.current&&(Ai.current.focus(),Hl(!0))},hu=function(Pn){rl&&Ol(Dl),xi==null||xi(Pn)},ou=Ma({blurToCancel:el,open:Bl,value:Jl,triggerOpen:Hl,forwardKeyDown:cu,isClickOutside:function(Pn){return!Na([ml.current,uu.current,pu.current],Pn)},onSubmit:function(){return!Dl||Do&&Do(Dl)?!1:(Ol(Dl),Hl(!1),ql(),!0)},onCancel:function(){Hl(!1),Ii(Ml),ql()},onKeyDown:function(Pn,va){gl==null||gl(Pn,va)},onFocus:Xi,onBlur:hu,changeOnBlur:rl}),to=(0,Ht.Z)(ou,2),dr=to[0],yo=to[1],qo=yo.focused,Tl=yo.typing;ae.useEffect(function(){Bl||(Ii(Ml),!El.length||El[0]===""?ni(""):$l!==Jl&&ql())},[Bl,El]),ae.useEffect(function(){Bl||ql()},[tr]),ae.useEffect(function(){Ii(Ml)},[Ml]),To&&(To.current={focus:function(){var Pn;(Pn=Ai.current)===null||Pn===void 0||Pn.focus()},blur:function(){var Pn;(Pn=Ai.current)===null||Pn===void 0||Pn.blur()}});var xu=yt(Jl,{formatList:Wl,generateConfig:oa,locale:dn}),ue=(0,Ht.Z)(xu,3),ge=ue[0],Ae=ue[1],Me=ue[2],Ze=(0,wt.Z)((0,wt.Z)({},se),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),nt=ae.createElement("div",{className:"".concat(_e,"-panel-layout")},ae.createElement(Eo,{prefixCls:_e,presets:zl,onClick:function(Pn){Ol(Pn),Hl(!1)}}),ae.createElement(er,(0,re.Z)({},Ze,{generateConfig:oa,className:dt()((0,ut.Z)({},"".concat(_e,"-panel-focused"),!Tl)),value:Dl,locale:dn,tabIndex:-1,onSelect:function(Pn){Al==null||Al(Pn),Ii(Pn)},direction:Po,onPanelChange:function(Pn,va){var ia=se.onPanelChange;Me(!0),ia==null||ia(Pn,va)}})));ti&&(nt=ti(nt));var ft=ae.createElement("div",{className:"".concat(_e,"-panel-container"),ref:ml,onMouseDown:function(Pn){Pn.preventDefault()}},nt),It;vi&&(It=ae.createElement("span",{className:"".concat(_e,"-suffix"),onMouseDown:function(Pn){Pn.preventDefault()}},vi));var Nt=ki(_e,da,Zo),Vt=ae.createElement("span",{onMouseDown:function(Pn){Pn.preventDefault(),Pn.stopPropagation()},onMouseUp:function(Pn){Pn.preventDefault(),Pn.stopPropagation(),Ol(null),Hl(!1)},className:"".concat(_e,"-clear"),role:"button"},Nt),fn=!!da&&Ml&&!Fo,qt=(0,wt.Z)((0,wt.Z)((0,wt.Z)({id:Tt,tabIndex:ln,disabled:Fo,readOnly:Ln||typeof Wl[0]=="function"||!Tl,value:ge||Jl,onChange:function(Pn){ni(Pn.target.value)},autoFocus:Xa,placeholder:Qo,ref:Ai,title:Jl},dr),{},{size:$n(tr,Wl[0],oa),name:At},(0,bn.Z)(se,{aria:!0,data:!0})),{},{autoComplete:gi}),Wn=zi?zi(qt):ae.createElement("input",qt),Hn=function(Pn,va){(va==="submit"||va!=="key"&&!el)&&(Ol(Pn),Hl(!1))},Gn=Po==="rtl"?"bottomRight":"bottomLeft";return ae.createElement(Dt.Provider,{value:{operationRef:yl,hideHeader:tr==="time",onSelect:Hn,open:Bl,defaultOpenValue:Xo,onDateMouseEnter:Ae,onDateMouseLeave:Me}},ae.createElement(ma,{visible:Bl,popupElement:ft,popupStyle:Tn,prefixCls:_e,dropdownClassName:ba,dropdownAlign:On,getPopupContainer:ei,transitionName:aa,popupPlacement:Gn,direction:Po},ae.createElement("div",{ref:pu,className:dt()(_e,An,(fe={},(0,ut.Z)(fe,"".concat(_e,"-disabled"),Fo),(0,ut.Z)(fe,"".concat(_e,"-focused"),qo),(0,ut.Z)(fe,"".concat(_e,"-rtl"),Po==="rtl"),fe)),style:sn,onMouseDown:Gi,onMouseUp:ci,onMouseEnter:Di,onMouseLeave:Ui,onContextMenu:qi,onClick:eu},ae.createElement("div",{className:dt()("".concat(_e,"-input"),(0,ut.Z)({},"".concat(_e,"-input-placeholder"),!!ge)),ref:uu},Wn,It,fn&&Vt))))}var Zi=function(se){(0,ht.Z)(Ee,se);var fe=(0,Bt.Z)(Ee);function Ee(){var Xe;(0,$t.Z)(this,Ee);for(var _e=arguments.length,Tt=new Array(_e),At=0;At<_e;At++)Tt[At]=arguments[At];return Xe=fe.call.apply(fe,[this].concat(Tt)),(0,ut.Z)((0,at.Z)(Xe),"pickerRef",ae.createRef()),(0,ut.Z)((0,at.Z)(Xe),"focus",function(){Xe.pickerRef.current&&Xe.pickerRef.current.focus()}),(0,ut.Z)((0,at.Z)(Xe),"blur",function(){Xe.pickerRef.current&&Xe.pickerRef.current.blur()}),Xe}return(0,gn.Z)(Ee,[{key:"render",value:function(){return ae.createElement(sl,(0,re.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Ee}(ae.Component),di=Zi;function Yo(se,fe){var Ee=se.picker,Xe=se.locale,_e=se.selectedValue,Tt=se.disabledDate,At=se.disabled,ln=se.generateConfig,sn=Ta(_e,0),An=Ta(_e,1);function ba(dn){return ln.locale.getWeekFirstDate(Xe.locale,dn)}function On(dn){var Ln=ln.getYear(dn),da=ln.getMonth(dn);return Ln*100+da}function Tn(dn){var Ln=ln.getYear(dn),da=st(ln,dn);return Ln*10+da}var aa=ae.useCallback(function(dn){if(At[0]||Tt&&Tt(dn))return!0;if(At[1]&&An)return!xt(ln,dn,An)&&ln.isAfter(dn,An);if(!fe&&An)switch(Ee){case"quarter":return Tn(dn)>Tn(An);case"month":return On(dn)>On(An);case"week":return ba(dn)>ba(An);default:return!xt(ln,dn,An)&&ln.isAfter(dn,An)}return!1},[Tt,At[1],An,fe]),oa=ae.useCallback(function(dn){if(At[1]||Tt&&Tt(dn))return!0;if(At[0]&&sn)return!xt(ln,dn,An)&&ln.isAfter(sn,dn);if(!fe&&sn)switch(Ee){case"quarter":return Tn(dn)<Tn(sn);case"month":return On(dn)<On(sn);case"week":return ba(dn)<ba(sn);default:return!xt(ln,dn,sn)&&ln.isAfter(sn,dn)}return!1},[Tt,At[0],sn,fe]);return[aa,oa]}var $i=ee(60276),Fi=ee(77527);function cl(se,fe,Ee,Xe,_e,Tt,At,ln,sn,An){var ba=ae.useState(!1),On=(0,Ht.Z)(ba,2),Tn=On[0],aa=On[1],oa=(0,$i.useMergedState)(se||!1,{value:fe}),dn=(0,Ht.Z)(oa,2),Ln=dn[0],da=dn[1],Xa=(0,$i.useMergedState)(se||!1,{value:fe,onChange:function(Do){An==null||An(Do)}}),Ka=(0,Ht.Z)(Xa,2),$a=Ka[0],tr=Ka[1],Ja=(0,$i.useMergedState)(0,{value:Ee}),Wa=(0,Ht.Z)(Ja,2),so=Wa[0],kr=Wa[1],eo=ae.useState(null),Co=(0,Ht.Z)(eo,2),jo=Co[0],Xo=Co[1];ae.useEffect(function(){$a&&aa(!0)},[$a]);var vi=function(Do){return Do===0?1:0},Zo=(0,Fi.Z)(function(Fo,Do,Qo){if(Do===!1)tr(Fo);else if(Fo){kr(Do),tr(Fo);var ei=vi(Do);!$a||![At,ln][ei]?Xo(ei):(aa(!1),jo!==null&&Xo(null))}else if(Qo==="confirm"||Qo==="blur"&&Xe){var To=Ln?vi(Do):jo;To!==null&&(aa(!1),kr(To)),Xo(null),To!==null&&!sn[To]?(0,kt.Z)(function(){var ti,Oi=[_e,Tt][To];(ti=Oi.current)===null||ti===void 0||ti.focus()}):tr(!1)}else tr(!1),da(!1)});return[$a,so,Tn,Zo]}function _t(se,fe,Ee,Xe){var _e=we(se,Ee,Xe,1);function Tt(At){return At(se,fe)?"same":At(_e,fe)?"closing":"far"}switch(Ee){case"year":return Tt(function(At,ln){return Ft(Xe,At,ln)});case"quarter":case"month":return Tt(function(At,ln){return Pt(Xe,At,ln)});default:return Tt(function(At,ln){return Ot(Xe,At,ln)})}}function Zt(se,fe,Ee,Xe){var _e=Ta(se,0),Tt=Ta(se,1);if(fe===0)return _e;if(_e&&Tt){var At=_t(_e,Tt,Ee,Xe);switch(At){case"same":return _e;case"closing":return _e;default:return we(Tt,Ee,Xe,-1)}}return _e}function zt(se){var fe=se.values,Ee=se.picker,Xe=se.defaultDates,_e=se.generateConfig,Tt=ae.useState(function(){return[Ta(Xe,0),Ta(Xe,1)]}),At=(0,Ht.Z)(Tt,2),ln=At[0],sn=At[1],An=ae.useState(null),ba=(0,Ht.Z)(An,2),On=ba[0],Tn=ba[1],aa=Ta(fe,0),oa=Ta(fe,1);function dn(da){return ln[da]?ln[da]:Ta(On,da)||Zt(fe,da,Ee,_e)||aa||oa||_e.getNow()}function Ln(da,Xa){if(da){var Ka=Cr(On,da,Xa);sn(Cr(ln,null,Xa)||[null,null]);var $a=(Xa+1)%2;Ta(fe,$a)||(Ka=Cr(Ka,da,$a)),Tn(Ka)}else(aa||oa)&&Tn(null)}return[dn,Ln]}function Fa(se,fe){return se&&se[0]&&se[1]&&fe.isAfter(se[0],se[1])?[se[1],se[0]]:se}function ar(se,fe,Ee,Xe){return!!(se||Xe&&Xe[fe]||Ee[(fe+1)%2])}function Ia(se){var fe,Ee,Xe,_e=se,Tt=_e.prefixCls,At=Tt===void 0?"rc-picker":Tt,ln=_e.id,sn=_e.style,An=_e.className,ba=_e.popupStyle,On=_e.dropdownClassName,Tn=_e.transitionName,aa=_e.dropdownAlign,oa=_e.getPopupContainer,dn=_e.generateConfig,Ln=_e.locale,da=_e.placeholder,Xa=_e.autoFocus,Ka=_e.disabled,$a=_e.format,tr=_e.picker,Ja=tr===void 0?"date":tr,Wa=_e.showTime,so=_e.use12Hours,kr=_e.separator,eo=kr===void 0?"~":kr,Co=_e.value,jo=_e.defaultValue,Xo=_e.defaultPickerValue,vi=_e.open,Zo=_e.defaultOpen,Fo=_e.disabledDate,Do=_e.disabledTime,Qo=_e.dateRender,ei=_e.monthCellRender,To=_e.cellRender,ti=_e.panelRender,Oi=_e.presets,Ei=_e.ranges,Xi=_e.allowEmpty,xi=_e.allowClear,Gi=_e.suffixIcon,ci=_e.clearIcon,Di=_e.pickerRef,Ui=_e.inputReadOnly,qi=_e.mode,_i=_e.renderExtraFooter,gl=_e.onChange,Al=_e.onOpenChange,Po=_e.onPanelChange,Ni=_e.onCalendarChange,gi=_e.onFocus,zi=_e.onBlur,rl=_e.onMouseDown,Ai=_e.onMouseUp,el=_e.onMouseEnter,zl=_e.onMouseLeave,Wl=_e.onClick,ml=_e.onOk,uu=_e.onKeyDown,pu=_e.components,su=_e.order,fl=_e.direction,Ml=_e.activePickerIndex,Fl=_e.autoComplete,du=Fl===void 0?"off":Fl,ru=_e.changeOnBlur,Dl=Ja==="date"&&!!Wa||Ja==="time",Ii=(0,ae.useRef)(null),yl=(0,ae.useRef)(null),Ql=(0,ae.useRef)(null),Gl=(0,ae.useRef)(null),Bl=(0,ae.useRef)(null),Ll=(0,ae.useRef)(null),Ul=(0,ae.useRef)(null),Yi=(0,ae.useRef)(null),El=$r(pn($a,Ja,Wa,so)),$l=(0,ae.useRef)(null),Vi=ae.useMemo(function(){return Array.isArray(Ka)?Ka:[Ka||!1,Ka||!1]},[Ka]),Cl=(0,Ge.Z)(null,{value:Co,defaultValue:jo,postState:function(Er){return Ja==="time"&&!su?Er:Fa(Er,dn)}}),Jl=(0,Ht.Z)(Cl,2),ni=Jl[0],ql=Jl[1],Ol=zt({values:ni,picker:Ja,defaultDates:Xo,generateConfig:dn}),Hl=(0,Ht.Z)(Ol,2),cu=Hl[0],eu=Hl[1],hu=(0,Ge.Z)(ni,{postState:function(Er){var Yr=Er;if(Vi[0]&&Vi[1])return Yr;for(var Io=0;Io<2;Io+=1)Vi[Io]&&!Yr&&!Ta(Yr,Io)&&!Ta(Xi,Io)&&(Yr=Cr(Yr,dn.getNow(),Io));return Yr}}),ou=(0,Ht.Z)(hu,2),to=ou[0],dr=ou[1],yo=(0,Ge.Z)([Ja,Ja],{value:qi}),qo=(0,Ht.Z)(yo,2),Tl=qo[0],xu=qo[1];(0,ae.useEffect)(function(){xu([Ja,Ja])},[Ja]);var ue=function(Er,Yr){xu(Er),Po&&Po(Yr,Er)},ge=cl(Zo,vi,Ml,ru,Ll,Ul,Ta(to,0),Ta(to,1),Vi,Al),Ae=(0,Ht.Z)(ge,4),Me=Ae[0],Ze=Ae[1],nt=Ae[2],ft=Ae[3],It=Me&&Ze===0,Nt=Me&&Ze===1,Vt=Yo({picker:Ja,selectedValue:to,locale:Ln,disabled:Vi,disabledDate:Fo,generateConfig:dn},!Me||nt),fn=(0,Ht.Z)(Vt,2),qt=fn[0],Wn=fn[1],Hn=(0,ae.useState)(0),Gn=(0,Ht.Z)(Hn,2),ta=Gn[0],Pn=Gn[1];(0,ae.useEffect)(function(){!Me&&Ii.current&&Pn(Ii.current.offsetWidth)},[Me]);function va(Ro){ft(!0,Ro,"open"),(0,kt.Z)(function(){var Er,Yr=[Ll,Ul][Ro];(Er=Yr.current)===null||Er===void 0||Er.focus()},0)}function ia(Ro,Er){var Yr=Ro,Io=Ta(Yr,0),Ci=Ta(Yr,1);Io&&Ci&&dn.isAfter(Io,Ci)&&(Ja==="week"&&!en(dn,Ln.locale,Io,Ci)||Ja==="quarter"&&!Jt(dn,Io,Ci)||Ja!=="week"&&Ja!=="quarter"&&Ja!=="time"&&!xt(dn,Io,Ci)?Er===0?(Yr=[Io,null],Ci=null):(Io=null,Yr=[null,Ci]):(Ja!=="time"||su!==!1)&&(Yr=Fa(Yr,dn))),dr(Yr);var Pu=Yr&&Yr[0]?He(Yr[0],{generateConfig:dn,locale:Ln,format:El[0]}):"",kl=Yr&&Yr[1]?He(Yr[1],{generateConfig:dn,locale:Ln,format:El[0]}):"";if(Ni){var au={range:Er===0?"start":"end"};Ni(Yr,[Pu,kl],au)}var lu=ar(Io,0,Vi,Xi),bu=ar(Ci,1,Vi,Xi),fu=Yr===null||lu&&bu;fu&&(ql(Yr),gl&&(!Ve(dn,Ta(ni,0),Io)||!Ve(dn,Ta(ni,1),Ci))&&gl(Yr,[Pu,kl]))}var Ha=function(Er){return Me&&$l.current&&$l.current.onKeyDown?$l.current.onKeyDown(Er):((0,pe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},gr={formatList:El,generateConfig:dn,locale:Ln},Pr=Ye(Ta(to,0),gr),nr=(0,Ht.Z)(Pr,2),Lr=nr[0],Jr=nr[1],_a=Ye(Ta(to,1),gr),or=(0,Ht.Z)(_a,2),Va=or[0],ja=or[1],qa=function(Er,Yr){var Io=Wt(Er,{locale:Ln,formatList:El,generateConfig:dn}),Ci=Yr===0?qt:Wn;Io&&!Ci(Io)&&(dr(Cr(to,Io,Yr)),eu(Io,Yr))},Tr=La({valueTexts:Lr,onTextChange:function(Er){return qa(Er,0)}}),no=(0,Ht.Z)(Tr,3),Gr=no[0],br=no[1],ro=no[2],po=La({valueTexts:Va,onTextChange:function(Er){return qa(Er,1)}}),_o=(0,Ht.Z)(po,3),bo=_o[0],Si=_o[1],Pi=_o[2],qr=(0,ae.useState)(null),Bi=(0,Ht.Z)(qr,2),No=Bi[0],mi=Bi[1],ui=(0,ae.useState)(null),pl=(0,Ht.Z)(ui,2),yr=pl[0],Ar=pl[1],Fr=yt(Gr,{formatList:El,generateConfig:dn,locale:Ln}),pr=(0,Ht.Z)(Fr,3),Oo=pr[0],hr=pr[1],Ur=pr[2],Bo=yt(bo,{formatList:El,generateConfig:dn,locale:Ln}),ho=(0,Ht.Z)(Bo,3),ol=ho[0],tl=ho[1],Nl=ho[2],Mi=function(Er){Ar(Cr(to,Er,Ze)),Ze===0?hr(Er):tl(Er)},Rl=function(){Ar(Cr(to,null,Ze)),Ze===0?Ur():Nl()},Ti=ae.useState(Me),hl=(0,Ht.Z)(Ti,2),gu=hl[0],zo=hl[1];ae.useEffect(function(){zo(Me)},[Me]);var Ko=function(Er){if(ru&&gu){var Yr=Ta(to,Ze);Yr&&ia(to,Ze)}return zi==null?void 0:zi(Er)},fi=function(Er,Yr){return{blurToCancel:!ru&&Dl,forwardKeyDown:Ha,onBlur:Ko,isClickOutside:function(Ci){return!Na([yl.current,Ql.current,Gl.current,Ii.current],Ci)},onFocus:function(Ci){gi&&gi(Ci)},triggerOpen:function(Ci){Ci?ft(Ci,Er,"open"):ft(Ci,Ta(to,Er)?Er:!1,"blur")},onSubmit:function(){if(!to||Fo&&Fo(to[Er]))return!1;ia(to,Er),Yr(),ft(!1,Ze,"confirm")},onCancel:function(){ft(!1,Er,"cancel"),dr(ni),Yr()}}},Ri={onKeyDown:function(Er,Yr){uu==null||uu(Er,Yr)},changeOnBlur:ru},Wi=Ma((0,wt.Z)((0,wt.Z)({},fi(0,ro)),{},{open:It,value:Gr},Ri)),mo=(0,Ht.Z)(Wi,2),vl=mo[0],il=mo[1],bl=il.focused,jl=il.typing,Kl=Ma((0,wt.Z)((0,wt.Z)({},fi(1,Pi)),{},{open:Nt,value:bo},Ri)),vu=(0,Ht.Z)(Kl,2),tu=vu[0],Il=vu[1],Sl=Il.focused,dl=Il.typing,Hi=function(Er){Wl&&Wl(Er),!Me&&!Ll.current.contains(Er.target)&&!Ul.current.contains(Er.target)&&(Vi[0]?Vi[1]||va(1):va(0))},yi=function(Er){rl&&rl(Er),Me&&(bl||Sl)&&!Ll.current.contains(Er.target)&&!Ul.current.contains(Er.target)&&Er.preventDefault()},Yl=ni&&ni[0]?He(ni[0],{locale:Ln,format:"YYYYMMDDHHmmss",generateConfig:dn}):"",mu=ni&&ni[1]?He(ni[1],{locale:Ln,format:"YYYYMMDDHHmmss",generateConfig:dn}):"";(0,ae.useEffect)(function(){Me||(dr(ni),!Lr.length||Lr[0]===""?br(""):Jr!==Gr&&ro(),!Va.length||Va[0]===""?Si(""):ja!==bo&&Pi())},[Me,Lr,Va]),(0,ae.useEffect)(function(){dr(ni)},[Yl,mu]);var Vl=Rn({cellRender:To,monthCellRender:ei,dateRender:Qo}),Xl=ae.useMemo(function(){if(Vl)return function(Ro,Er){return Vl(Ro,(0,wt.Z)((0,wt.Z)({},Er),{},{range:Ze?"end":"start"}))}},[Ze,Vl]);Di&&(Di.current={focus:function(){Ll.current&&Ll.current.focus()},blur:function(){Ll.current&&Ll.current.blur(),Ul.current&&Ul.current.blur()}});var Au=vr(Oi,Ei);function Cu(){var Ro=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Yr=null;Me&&yr&&yr[0]&&yr[1]&&dn.isAfter(yr[1],yr[0])&&(Yr=yr);var Io=Wa;if(Wa&&(0,Et.Z)(Wa)==="object"&&Wa.defaultValue){var Ci=Wa.defaultValue;Io=(0,wt.Z)((0,wt.Z)({},Wa),{},{defaultValue:Ta(Ci,Ze)||void 0})}return ae.createElement(ur.Provider,{value:{inRange:!0,panelPosition:Ro,rangedValue:No||to,hoverRangedValue:Yr}},ae.createElement(er,(0,re.Z)({},se,Er,{cellRender:Xl,showTime:Io,mode:Tl[Ze],generateConfig:dn,style:void 0,direction:fl,disabledDate:Ze===0?qt:Wn,disabledTime:function(kl){return Do?Do(kl,Ze===0?"start":"end"):!1},className:dt()((0,ut.Z)({},"".concat(At,"-panel-focused"),Ze===0?!jl:!dl)),value:Ta(to,Ze),locale:Ln,tabIndex:-1,onPanelChange:function(kl,au){Ze===0&&Ur(!0),Ze===1&&Nl(!0),ue(Cr(Tl,au,Ze),Cr(to,kl,Ze));var lu=kl;Ro==="right"&&Tl[Ze]===au&&(lu=we(lu,au,dn,-1)),eu(lu,Ze)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Ze===0?Ta(to,1):Ta(to,0)})))}var oo=0,ai=0;if(Ze&&Ql.current&&Bl.current&&yl.current&&Yi.current){oo=Ql.current.offsetWidth+Bl.current.offsetWidth;var ll=Yi.current.offsetLeft>oo?Yi.current.offsetLeft-oo:Yi.current.offsetLeft,pi=yl.current.offsetWidth,ul=Yi.current.offsetWidth;pi&&ul&&oo>pi-ul-(fl==="rtl"?0:ll)&&(ai=oo)}var wl=fl==="rtl"?{right:oo}:{left:oo};function xl(){var Ro,Er=ea(At,Tl[Ze],_i),Yr=Ba({prefixCls:At,components:pu,needConfirmButton:Dl,okDisabled:!Ta(to,Ze)||Fo&&Fo(to[Ze]),locale:Ln,onOk:function(){var Zl=Ta(to,Ze);Zl&&(ia(to,Ze),ml==null||ml(to),ft(!1,Ze,"confirm"))}});if(Ja!=="time"&&!Wa){var Io=cu(Ze),Ci=we(Io,Ja,dn),Pu=Tl[Ze],kl=Pu===Ja,au=Cu(kl?"left":!1,{pickerValue:Io,onPickerValueChange:function(Zl){eu(Zl,Ze)}}),lu=Cu("right",{pickerValue:Ci,onPickerValueChange:function(Zl){eu(we(Zl,Ja,dn,-1),Ze)}});fl==="rtl"?Ro=ae.createElement(ae.Fragment,null,lu,kl&&au):Ro=ae.createElement(ae.Fragment,null,au,kl&&lu)}else Ro=Cu();var bu=ae.createElement("div",{className:"".concat(At,"-panel-layout")},ae.createElement(Eo,{prefixCls:At,presets:Au,onClick:function(Zl){ia(Zl,null),ft(!1,Ze,"preset")},onHover:function(Zl){mi(Zl)}}),ae.createElement("div",null,ae.createElement("div",{className:"".concat(At,"-panels")},Ro),(Er||Yr)&&ae.createElement("div",{className:"".concat(At,"-footer")},Er,Yr)));return ti&&(bu=ti(bu)),ae.createElement("div",{className:"".concat(At,"-panel-container"),style:{marginLeft:ai},ref:yl,onMouseDown:function(Zl){Zl.preventDefault()}},bu)}var nu=ae.createElement("div",{className:dt()("".concat(At,"-range-wrapper"),"".concat(At,"-").concat(Ja,"-range-wrapper")),style:{minWidth:ta}},ae.createElement("div",{ref:Yi,className:"".concat(At,"-range-arrow"),style:wl}),xl()),Fu;Gi&&(Fu=ae.createElement("span",{className:"".concat(At,"-suffix"),onMouseDown:function(Er){Er.preventDefault()}},Gi));var Tu=ki(At,xi,ci),Bu=ae.createElement("span",{onMouseDown:function(Er){Er.preventDefault(),Er.stopPropagation()},onMouseUp:function(Er){Er.preventDefault(),Er.stopPropagation();var Yr=ni;Vi[0]||(Yr=Cr(Yr,null,0)),Vi[1]||(Yr=Cr(Yr,null,1)),ia(Yr,null),ft(!1,Ze,"clear")},className:"".concat(At,"-clear"),role:"button"},Tu),Ru=xi&&(Ta(ni,0)&&!Vi[0]||Ta(ni,1)&&!Vi[1]),Du={size:$n(Ja,El[0],dn)},Su=0,iu=0;Ql.current&&Gl.current&&Bl.current&&(Ze===0?iu=Ql.current.offsetWidth:(Su=oo,iu=Gl.current.offsetWidth));var Lu=fl==="rtl"?{right:Su}:{left:Su},ku=function(Er,Yr){var Io=Cr(to,Er,Ze);if(Yr==="submit"||Yr!=="key"&&!Dl){ia(Io,Ze),Ze===0?Ur():Nl();var Ci=Ze===0?1:0;Vi[Ci]?ft(!1,!1,"confirm"):ft(!1,Ze,"confirm")}else dr(Io)};return ae.createElement(Dt.Provider,{value:{operationRef:$l,hideHeader:Ja==="time",onDateMouseEnter:Mi,onDateMouseLeave:Rl,hideRanges:!0,onSelect:ku,open:Me}},ae.createElement(ma,{visible:Me,popupElement:nu,popupStyle:ba,prefixCls:At,dropdownClassName:On,dropdownAlign:aa,getPopupContainer:oa,transitionName:Tn,range:!0,direction:fl},ae.createElement("div",(0,re.Z)({ref:Ii,className:dt()(At,"".concat(At,"-range"),An,(fe={},(0,ut.Z)(fe,"".concat(At,"-disabled"),Vi[0]&&Vi[1]),(0,ut.Z)(fe,"".concat(At,"-focused"),Ze===0?bl:Sl),(0,ut.Z)(fe,"".concat(At,"-rtl"),fl==="rtl"),fe)),style:sn,onClick:Hi,onMouseEnter:el,onMouseLeave:zl,onMouseDown:yi,onMouseUp:Ai},(0,bn.Z)(se,{aria:!0,data:!0})),ae.createElement("div",{className:dt()("".concat(At,"-input"),(Ee={},(0,ut.Z)(Ee,"".concat(At,"-input-active"),Ze===0),(0,ut.Z)(Ee,"".concat(At,"-input-placeholder"),!!Oo),Ee)),ref:Ql},ae.createElement("input",(0,re.Z)({id:ln,disabled:Vi[0],readOnly:Ui||typeof El[0]=="function"||!jl,value:Oo||Gr,onChange:function(Er){br(Er.target.value)},autoFocus:Xa,placeholder:Ta(da,0)||"",ref:Ll},vl,Du,{autoComplete:du}))),ae.createElement("div",{className:"".concat(At,"-range-separator"),ref:Bl},eo),ae.createElement("div",{className:dt()("".concat(At,"-input"),(Xe={},(0,ut.Z)(Xe,"".concat(At,"-input-active"),Ze===1),(0,ut.Z)(Xe,"".concat(At,"-input-placeholder"),!!ol),Xe)),ref:Gl},ae.createElement("input",(0,re.Z)({disabled:Vi[1],readOnly:Ui||typeof El[0]=="function"||!dl,value:ol||bo,onChange:function(Er){Si(Er.target.value)},placeholder:Ta(da,1)||"",ref:Ul},tu,Du,{autoComplete:du}))),ae.createElement("div",{className:"".concat(At,"-active-bar"),style:(0,wt.Z)((0,wt.Z)({},Lu),{},{width:iu,position:"absolute"})}),Fu,Ru&&Bu)))}var zn=function(se){(0,ht.Z)(Ee,se);var fe=(0,Bt.Z)(Ee);function Ee(){var Xe;(0,$t.Z)(this,Ee);for(var _e=arguments.length,Tt=new Array(_e),At=0;At<_e;At++)Tt[At]=arguments[At];return Xe=fe.call.apply(fe,[this].concat(Tt)),(0,ut.Z)((0,at.Z)(Xe),"pickerRef",ae.createRef()),(0,ut.Z)((0,at.Z)(Xe),"focus",function(){Xe.pickerRef.current&&Xe.pickerRef.current.focus()}),(0,ut.Z)((0,at.Z)(Xe),"blur",function(){Xe.pickerRef.current&&Xe.pickerRef.current.blur()}),Xe}return(0,gn.Z)(Ee,[{key:"render",value:function(){return ae.createElement(Ia,(0,re.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Ee}(ae.Component),Qa=zn,xn=di,Ca=ee(9708),Sa=ee(53124),jr=ee(98866),Ga=ee(98675),Ho=ee(65223),lo=ee(10110),vo=ee(4173),cr=ee(16516),sr=ee(84780),Xn=ee(47673),Ir=ee(14747),li=ee(79511),ka=ee(80110),Pa=ee(67771),Qr=ee(33297),Li=ee(45503),qn=ee(67968);const fr=(se,fe,Ee,Xe)=>{const{lineHeight:_e}=se,Tt=Math.floor(Ee*_e)+2,At=Math.max((fe-Tt)/2,0),ln=Math.max(fe-Tt-At,0);return{padding:`${At}px ${Xe}px ${ln}px`}},ya=se=>{const{componentCls:fe,pickerCellCls:Ee,pickerCellInnerCls:Xe,cellHeight:_e,motionDurationSlow:Tt,borderRadiusSM:At,motionDurationMid:ln,cellHoverBg:sn,lineWidth:An,lineType:ba,colorPrimary:On,cellActiveWithRangeBg:Tn,colorTextLightSolid:aa,controlHeightSM:oa,cellRangeBorderColor:dn,pickerCellBorderGap:Ln,cellHoverWithRangeBg:da,cellWidth:Xa,colorTextDisabled:Ka,cellBgDisabled:$a}=se;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:_e,transform:"translateY(-50%)",transition:`all ${Tt}`,content:'""'},[Xe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:_e,height:_e,lineHeight:`${_e}px`,borderRadius:At,transition:`background ${ln}, border ${ln}`},"&-range-hover-start, &-range-hover-end":{[Xe]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${Ee}-in-view),
&:hover:not(${Ee}-selected):not(${Ee}-range-start):not(${Ee}-range-end):not(${Ee}-range-hover-start):not(${Ee}-range-hover-end)`]:{[Xe]:{background:sn}},[`&-in-view${Ee}-today ${Xe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${An}px ${ba} ${On}`,borderRadius:At,content:'""'}},[`&-in-view${Ee}-in-range`]:{position:"relative","&::before":{background:Tn}},[`&-in-view${Ee}-selected ${Xe},
&-in-view${Ee}-range-start ${Xe},
&-in-view${Ee}-range-end ${Xe}`]:{color:aa,background:On},[`&-in-view${Ee}-range-start:not(${Ee}-range-start-single),
&-in-view${Ee}-range-end:not(${Ee}-range-end-single)`]:{"&::before":{background:Tn}},[`&-in-view${Ee}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${Ee}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${Ee}-range-hover-start:not(${Ee}-in-range):not(${Ee}-range-start):not(${Ee}-range-end),
&-in-view${Ee}-range-hover-end:not(${Ee}-in-range):not(${Ee}-range-start):not(${Ee}-range-end),
&-in-view${Ee}-range-hover-start${Ee}-range-start-single,
&-in-view${Ee}-range-hover-start${Ee}-range-start${Ee}-range-end${Ee}-range-end-near-hover,
&-in-view${Ee}-range-hover-end${Ee}-range-start${Ee}-range-end${Ee}-range-start-near-hover,
&-in-view${Ee}-range-hover-end${Ee}-range-end-single,
&-in-view${Ee}-range-hover:not(${Ee}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:oa,borderTop:`${An}px dashed ${dn}`,borderBottom:`${An}px dashed ${dn}`,transform:"translateY(-50%)",transition:`all ${Tt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Ln},[`&-in-view${Ee}-in-range${Ee}-range-hover::before,
&-in-view${Ee}-in-range${Ee}-range-hover-start::before,
&-in-view${Ee}-in-range${Ee}-range-hover-end::before,
&-in-view${Ee}-range-start${Ee}-range-hover::before,
&-in-view${Ee}-range-end${Ee}-range-hover::before,
&-in-view${Ee}-range-start:not(${Ee}-range-start-single)${Ee}-range-hover-start::before,
&-in-view${Ee}-range-end:not(${Ee}-range-end-single)${Ee}-range-hover-end::before,
${fe}-panel
> :not(${fe}-date-panel)
&-in-view${Ee}-in-range${Ee}-range-hover-start::before,
${fe}-panel
> :not(${fe}-date-panel)
&-in-view${Ee}-in-range${Ee}-range-hover-end::before`]:{background:da},[`&-in-view${Ee}-range-start:not(${Ee}-range-start-single):not(${Ee}-range-end) ${Xe}`]:{borderStartStartRadius:At,borderEndStartRadius:At,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Ee}-range-end:not(${Ee}-range-end-single):not(${Ee}-range-start) ${Xe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:At,borderEndEndRadius:At},[`&-range-hover${Ee}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${Ee}-range-hover:first-child::after,
tr > &-in-view${Ee}-range-hover-end:first-child::after,
&-in-view${Ee}-start${Ee}-range-hover-edge-start${Ee}-range-hover-edge-start-near-range::after,
&-in-view${Ee}-range-hover-edge-start:not(${Ee}-range-hover-edge-start-near-range)::after,
&-in-view${Ee}-range-hover-start::after`]:{insetInlineStart:(Xa-_e)/2,borderInlineStart:`${An}px dashed ${dn}`,borderStartStartRadius:At,borderEndStartRadius:At},[`tr > &-in-view${Ee}-range-hover:last-child::after,
tr > &-in-view${Ee}-range-hover-start:last-child::after,
&-in-view${Ee}-end${Ee}-range-hover-edge-end${Ee}-range-hover-edge-end-near-range::after,
&-in-view${Ee}-range-hover-edge-end:not(${Ee}-range-hover-edge-end-near-range)::after,
&-in-view${Ee}-range-hover-end::after`]:{insetInlineEnd:(Xa-_e)/2,borderInlineEnd:`${An}px dashed ${dn}`,borderStartEndRadius:At,borderEndEndRadius:At},"&-disabled":{color:Ka,pointerEvents:"none",[Xe]:{background:"transparent"},"&::before":{background:$a}},[`&-disabled${Ee}-today ${Xe}::before`]:{borderColor:Ka}}},un=se=>{const{componentCls:fe,pickerCellCls:Ee,pickerCellInnerCls:Xe,pickerYearMonthCellWidth:_e,pickerControlIconSize:Tt,cellWidth:At,paddingSM:ln,paddingXS:sn,paddingXXS:An,colorBgContainer:ba,lineWidth:On,lineType:Tn,borderRadiusLG:aa,colorPrimary:oa,colorTextHeading:dn,colorSplit:Ln,pickerControlIconBorderWidth:da,colorIcon:Xa,textHeight:Ka,motionDurationMid:$a,colorIconHover:tr,fontWeightStrong:Ja,cellHeight:Wa,pickerCellPaddingVertical:so,colorTextDisabled:kr,colorText:eo,fontSize:Co,cellHoverWithRangeBg:jo,motionDurationSlow:Xo,withoutTimeCellHeight:vi,pickerQuarterPanelContentHeight:Zo,colorLink:Fo,colorLinkActive:Do,colorLinkHover:Qo,cellRangeBorderColor:ei,borderRadiusSM:To,colorTextLightSolid:ti,cellHoverBg:Oi,timeColumnHeight:Ei,timeColumnWidth:Xi,timeCellHeight:xi,controlItemBgActive:Gi,marginXXS:ci,pickerDatePanelPaddingHorizontal:Di}=se,Ui=At*7+Di*2,qi=(Ui-sn*2)/3-_e-ln,_i=(Ui-sn*2)/4-_e;return{[fe]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:ba,border:`${On}px ${Tn} ${Ln}`,borderRadius:aa,outline:"none","&-focused":{borderColor:oa},"&-rtl":{direction:"rtl",[`${fe}-prev-icon,
${fe}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${fe}-next-icon,
${fe}-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:Ui},"&-header":{display:"flex",padding:`0 ${sn}px`,color:dn,borderBottom:`${On}px ${Tn} ${Ln}`,"> *":{flex:"none"},button:{padding:0,color:Xa,lineHeight:`${Ka}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${$a}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Co,"&:hover":{color:tr}},"&-view":{flex:"auto",fontWeight:Ja,lineHeight:`${Ka}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:sn},"&:hover":{color:oa}}}},"&-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:da,borderBlockEndWidth:0,borderInlineStartWidth:da,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:da,borderBlockEndWidth:0,borderInlineStartWidth:da,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:Wa,fontWeight:"normal"},th:{height:Wa+so*2,color:eo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${so}px 0`,color:kr,cursor:"pointer","&-in-view":{color:eo}},ya(se)),[`&-date-panel ${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-start ${Xe},
&-date-panel ${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-end ${Xe}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:jo,transition:`all ${Xo}`,content:'""'}},[`&-date-panel
${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-start
${Xe}::after`]:{insetInlineEnd:-(At-Wa)/2,insetInlineStart:0},[`&-date-panel ${fe}-cell-in-view${fe}-cell-in-range${fe}-cell-range-hover-end ${Xe}::after`]:{insetInlineEnd:0,insetInlineStart:-(At-Wa)/2},[`&-range-hover${fe}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${fe}-content`]:{height:vi*4},[Xe]:{padding:`0 ${sn}px`}},"&-quarter-panel":{[`${fe}-content`]:{height:Zo},[`${fe}-cell-range-hover-start::after`]:{insetInlineStart:_i,borderInlineStart:`${On}px dashed ${ei}`,[`${fe}-panel-rtl &`]:{insetInlineEnd:_i,borderInlineEnd:`${On}px dashed ${ei}`}},[`${fe}-cell-range-hover-end::after`]:{insetInlineEnd:_i,borderInlineEnd:`${On}px dashed ${ei}`,[`${fe}-panel-rtl &`]:{insetInlineStart:_i,borderInlineStart:`${On}px dashed ${ei}`}}},[`&-panel ${fe}-footer`]:{borderTop:`${On}px ${Tn} ${Ln}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Ka-2*On}px`,textAlign:"center","&-extra":{padding:`0 ${ln}px`,lineHeight:`${Ka-2*On}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${On}px ${Tn} ${Ln}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Fo,"&:hover":{color:Qo},"&:active":{color:Do},[`&${fe}-today-btn-disabled`]:{color:kr,cursor:"not-allowed"}},"&-decade-panel":{[Xe]:{padding:`0 ${sn/2}px`},[`${fe}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${fe}-body`]:{padding:`0 ${sn}px`},[Xe]:{width:_e},[`${fe}-cell-range-hover-start::after`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0,[`${fe}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To}},[`${fe}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To,[`${fe}-panel-rtl &`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${fe}-cell-range-hover-start::after`]:{insetInlineStart:qi,borderInlineStart:`${On}px dashed ${ei}`,[`${fe}-panel-rtl &`]:{insetInlineEnd:qi,borderInlineEnd:`${On}px dashed ${ei}`}},[`${fe}-cell-range-hover-end::after`]:{insetInlineEnd:qi,borderInlineEnd:`${On}px dashed ${ei}`,[`${fe}-panel-rtl &`]:{insetInlineStart:qi,borderInlineStart:`${On}px dashed ${ei}`}}},"&-week-panel":{[`${fe}-body`]:{padding:`${sn}px ${ln}px`},[`${fe}-cell`]:{[`&:hover ${Xe},
&-selected ${Xe},
${Xe}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${$a}`},"&: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":{[`&${Ee}`]:{"&:before":{background:oa},[`&${fe}-cell-week`]:{color:new sr.C(ti).setAlpha(.5).toHexString()},[Xe]:{color:ti}}},"&-range-hover td:before":{background:Gi}}},"&-date-panel":{[`${fe}-body`]:{padding:`${sn}px ${Di}px`},[`${fe}-content`]:{width:At*7,th:{width:At,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${fe}-time-panel`]:{borderInlineStart:`${On}px ${Tn} ${Ln}`},[`${fe}-date-panel,
${fe}-time-panel`]:{transition:`opacity ${Xo}`},"&-active":{[`${fe}-date-panel,
${fe}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${fe}-content`]:{display:"flex",flex:"auto",height:Ei},"&-column":{flex:"1 0 auto",width:Xi,margin:`${An}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${$a}`,overflowX:"hidden","&::after":{display:"block",height:Ei-xi,content:'""'},"&:not(:first-child)":{borderInlineStart:`${On}px ${Tn} ${Ln}`},"&-active":{background:new sr.C(Gi).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${fe}-time-panel-cell`]:{marginInline:ci,[`${fe}-time-panel-cell-inner`]:{display:"block",width:Xi-2*ci,height:xi,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Xi-xi)/2,color:eo,lineHeight:`${xi}px`,borderRadius:To,cursor:"pointer",transition:`background ${$a}`,"&:hover":{background:Oi}},"&-selected":{[`${fe}-time-panel-cell-inner`]:{background:Gi}},"&-disabled":{[`${fe}-time-panel-cell-inner`]:{color:kr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${fe}-time-panel-column:after`]:{height:Ei-xi+An*2}}}},ca=se=>{const{componentCls:fe,colorBgContainer:Ee,colorError:Xe,errorActiveShadow:_e,colorWarning:Tt,warningActiveShadow:At}=se;return{[`${fe}:not(${fe}-disabled)`]:{[`&${fe}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:Ee,borderColor:Xe},[`&${fe}-focused, &:focus`]:Object.assign({},(0,Xn.M1)((0,Li.TS)(se,{activeBorderColor:Xe,activeShadow:_e}))),[`${fe}-active-bar`]:{background:Xe}},[`&${fe}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:Ee,borderColor:Tt},[`&${fe}-focused, &:focus`]:Object.assign({},(0,Xn.M1)((0,Li.TS)(se,{activeBorderColor:Tt,activeShadow:At}))),[`${fe}-active-bar`]:{background:Tt}}}}},Bn=se=>{const{componentCls:fe,antCls:Ee,controlHeight:Xe,fontSize:_e,paddingInline:Tt,colorBgContainer:At,lineWidth:ln,lineType:sn,colorBorder:An,borderRadius:ba,motionDurationMid:On,colorBgContainerDisabled:Tn,colorTextDisabled:aa,colorTextPlaceholder:oa,controlHeightLG:dn,fontSizeLG:Ln,controlHeightSM:da,paddingInlineSM:Xa,paddingXS:Ka,marginXS:$a,colorTextDescription:tr,lineWidthBold:Ja,lineHeight:Wa,colorPrimary:so,motionDurationSlow:kr,zIndexPopup:eo,paddingXXS:Co,paddingSM:jo,textHeight:Xo,cellActiveWithRangeBg:vi,colorPrimaryBorder:Zo,sizePopupArrow:Fo,borderRadiusXS:Do,borderRadiusOuter:Qo,colorBgElevated:ei,borderRadiusLG:To,boxShadowSecondary:ti,borderRadiusSM:Oi,colorSplit:Ei,cellHoverBg:Xi,presetsWidth:xi,presetsMaxWidth:Gi,boxShadowPopoverArrow:ci,colorTextQuaternary:Di}=se;return[{[fe]:Object.assign(Object.assign(Object.assign({},(0,Ir.Wf)(se)),fr(se,Xe,_e,Tt)),{position:"relative",display:"inline-flex",alignItems:"center",background:At,lineHeight:1,border:`${ln}px ${sn} ${An}`,borderRadius:ba,transition:`border ${On}, box-shadow ${On}`,"&:hover, &-focused":Object.assign({},(0,Xn.pU)(se)),"&-focused":Object.assign({},(0,Xn.M1)(se)),[`&${fe}-disabled`]:{background:Tn,borderColor:An,cursor:"not-allowed",[`${fe}-suffix`]:{color:Di}},[`&${fe}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${fe}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Xn.ik)(se)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${fe}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:oa}}},"&-large":Object.assign(Object.assign({},fr(se,dn,Ln,Tt)),{[`${fe}-input > input`]:{fontSize:Ln}}),"&-small":Object.assign({},fr(se,da,_e,Xa)),[`${fe}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ka/2,color:aa,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:$a}}},[`${fe}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:aa,lineHeight:1,background:At,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${On}, color ${On}`,"> *":{verticalAlign:"top"},"&:hover":{color:tr}},[`${fe}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Ln,color:aa,fontSize:Ln,verticalAlign:"top",cursor:"default",[`${fe}-focused &`]:{color:tr},[`${fe}-range-separator &`]:{[`${fe}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${fe}-clear`]:{insetInlineEnd:Tt},"&:hover":{[`${fe}-clear`]:{opacity:1}},[`${fe}-active-bar`]:{bottom:-ln,height:Ja,marginInlineStart:Tt,background:so,opacity:0,transition:`all ${kr} ease-out`,pointerEvents:"none"},[`&${fe}-focused`]:{[`${fe}-active-bar`]:{opacity:1}},[`${fe}-range-separator`]:{alignItems:"center",padding:`0 ${Ka}px`,lineHeight:1},[`&${fe}-small`]:{[`${fe}-clear`]:{insetInlineEnd:Xa},[`${fe}-active-bar`]:{marginInlineStart:Xa}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Ir.Wf)(se)),un(se)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:eo,[`&${fe}-dropdown-hidden`]:{display:"none"},[`&${fe}-dropdown-placement-bottomLeft`]:{[`${fe}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${fe}-dropdown-placement-topLeft`]:{[`${fe}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Ee}-slide-up-enter${Ee}-slide-up-enter-active${fe}-dropdown-placement-topLeft,
&${Ee}-slide-up-enter${Ee}-slide-up-enter-active${fe}-dropdown-placement-topRight,
&${Ee}-slide-up-appear${Ee}-slide-up-appear-active${fe}-dropdown-placement-topLeft,
&${Ee}-slide-up-appear${Ee}-slide-up-appear-active${fe}-dropdown-placement-topRight`]:{animationName:Pa.Qt},[`&${Ee}-slide-up-enter${Ee}-slide-up-enter-active${fe}-dropdown-placement-bottomLeft,
&${Ee}-slide-up-enter${Ee}-slide-up-enter-active${fe}-dropdown-placement-bottomRight,
&${Ee}-slide-up-appear${Ee}-slide-up-appear-active${fe}-dropdown-placement-bottomLeft,
&${Ee}-slide-up-appear${Ee}-slide-up-appear-active${fe}-dropdown-placement-bottomRight`]:{animationName:Pa.fJ},[`&${Ee}-slide-up-leave${Ee}-slide-up-leave-active${fe}-dropdown-placement-topLeft,
&${Ee}-slide-up-leave${Ee}-slide-up-leave-active${fe}-dropdown-placement-topRight`]:{animationName:Pa.ly},[`&${Ee}-slide-up-leave${Ee}-slide-up-leave-active${fe}-dropdown-placement-bottomLeft,
&${Ee}-slide-up-leave${Ee}-slide-up-leave-active${fe}-dropdown-placement-bottomRight`]:{animationName:Pa.Uw},[`${fe}-panel > ${fe}-time-panel`]:{paddingTop:Co},[`${fe}-ranges`]:{marginBottom:0,padding:`${Co}px ${jo}px`,overflow:"hidden",lineHeight:`${Xo-2*ln-Ka/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${fe}-preset > ${Ee}-tag-blue`]:{color:so,background:vi,borderColor:Zo,cursor:"pointer"},[`${fe}-ok`]:{marginInlineStart:"auto"}},[`${fe}-range-wrapper`]:{display:"flex",position:"relative"},[`${fe}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Tt*1.5,transition:`left ${kr} ease-out`},(0,li.r)(Fo,Do,Qo,ei,ci)),[`${fe}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ei,borderRadius:To,boxShadow:ti,transition:`margin ${kr}`,[`${fe}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${fe}-presets`]:{display:"flex",flexDirection:"column",minWidth:xi,maxWidth:Gi,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Ka,borderInlineEnd:`${ln}px ${sn} ${Ei}`,li:Object.assign(Object.assign({},Ir.vS),{borderRadius:Oi,paddingInline:Ka,paddingBlock:(da-Math.round(_e*Wa))/2,cursor:"pointer",transition:`all ${kr}`,"+ li":{marginTop:$a},"&:hover":{background:Xi}})}},[`${fe}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${fe}-panel`]:{borderWidth:`0 0 ${ln}px`},"&:last-child":{[`${fe}-panel`]:{borderWidth:0}}},[`${fe}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${fe}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:An}}}}),"&-dropdown-range":{padding:`${Fo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${fe}-separator`]:{transform:"rotate(180deg)"},[`${fe}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Pa.oN)(se,"slide-up"),(0,Pa.oN)(se,"slide-down"),(0,Qr.Fm)(se,"move-up"),(0,Qr.Fm)(se,"move-down")]},Xr=se=>{const{componentCls:fe,controlHeightLG:Ee,paddingXXS:Xe,padding:_e}=se;return{pickerCellCls:`${fe}-cell`,pickerCellInnerCls:`${fe}-cell-inner`,pickerYearMonthCellWidth:Ee*1.5,pickerQuarterPanelContentHeight:Ee*1.4,pickerCellPaddingVertical:Xe+Xe/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:_e+Xe/2}},wr=se=>({cellHoverBg:se.controlItemBgHover,cellActiveWithRangeBg:se.controlItemBgActive,cellHoverWithRangeBg:new sr.C(se.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new sr.C(se.colorPrimary).lighten(20).toHexString(),cellBgDisabled:se.colorBgContainerDisabled,timeColumnWidth:se.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:se.controlHeightSM*1.5,cellHeight:se.controlHeightSM,textHeight:se.controlHeightLG,withoutTimeCellHeight:se.controlHeightLG*1.65});var Dr=(0,qn.Z)("DatePicker",se=>{const fe=(0,Li.TS)((0,Xn.e5)(se),Xr(se));return[Bn(fe),ca(fe),(0,ka.c)(se,{focusElCls:`${se.componentCls}-focused`})]},se=>Object.assign(Object.assign(Object.assign({},(0,Xn.TM)(se)),wr(se)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:se.zIndexPopupBase+50}));function uo(se,fe,Ee){return Ee!==void 0?Ee:fe==="year"&&se.lang.yearPlaceholder?se.lang.yearPlaceholder:fe==="quarter"&&se.lang.quarterPlaceholder?se.lang.quarterPlaceholder:fe==="month"&&se.lang.monthPlaceholder?se.lang.monthPlaceholder:fe==="week"&&se.lang.weekPlaceholder?se.lang.weekPlaceholder:fe==="time"&&se.timePickerLocale.placeholder?se.timePickerLocale.placeholder:se.lang.placeholder}function xr(se,fe,Ee){return Ee!==void 0?Ee:fe==="year"&&se.lang.yearPlaceholder?se.lang.rangeYearPlaceholder:fe==="quarter"&&se.lang.quarterPlaceholder?se.lang.rangeQuarterPlaceholder:fe==="month"&&se.lang.monthPlaceholder?se.lang.rangeMonthPlaceholder:fe==="week"&&se.lang.weekPlaceholder?se.lang.rangeWeekPlaceholder:fe==="time"&&se.timePickerLocale.placeholder?se.timePickerLocale.rangePlaceholder:se.lang.rangePlaceholder}function fo(se,fe){const Ee={adjustX:1,adjustY:1};switch(fe){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:Ee};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:Ee};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:Ee};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:Ee};default:return{points:se==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:Ee}}}function lr(se){return se?Array.isArray(se)?se:[se]:[]}function Br(se){const{format:fe,picker:Ee,showHour:Xe,showMinute:_e,showSecond:Tt,use12Hours:At}=se,ln=lr(fe)[0],sn=Object.assign({},se);return fe&&Array.isArray(fe)&&(sn.format=ln),ln&&typeof ln=="string"&&(!ln.includes("s")&&Tt===void 0&&(sn.showSecond=!1),!ln.includes("m")&&_e===void 0&&(sn.showMinute=!1),!ln.includes("H")&&!ln.includes("h")&&!ln.includes("K")&&!ln.includes("k")&&Xe===void 0&&(sn.showHour=!1),(ln.includes("a")||ln.includes("A"))&&At===void 0&&(sn.use12Hours=!0)),Ee==="time"?sn:(typeof ln=="function"&&delete sn.format,{showTime:sn})}function So(se,fe,Ee){if(se===!1)return!1;const Xe={clearIcon:fe!=null?fe:Ee};return typeof se=="object"?Object.assign(Object.assign({},Xe),se):Xe}var Vo=ee(71577);function Mn(se){return ae.createElement(Vo.ZP,Object.assign({size:"small",type:"primary"},se))}var rr={button:Mn},na=function(se,fe){var Ee={};for(var Xe in se)Object.prototype.hasOwnProperty.call(se,Xe)&&fe.indexOf(Xe)<0&&(Ee[Xe]=se[Xe]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Xe=Object.getOwnPropertySymbols(se);_e<Xe.length;_e++)fe.indexOf(Xe[_e])<0&&Object.prototype.propertyIsEnumerable.call(se,Xe[_e])&&(Ee[Xe[_e]]=se[Xe[_e]]);return Ee};function Ua(se){return(0,ae.forwardRef)((Ee,Xe)=>{const{prefixCls:_e,getPopupContainer:Tt,className:At,placement:ln,size:sn,disabled:An,bordered:ba=!0,placeholder:On,popupClassName:Tn,dropdownClassName:aa,status:oa,clearIcon:dn,allowClear:Ln,rootClassName:da}=Ee,Xa=na(Ee,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Ka=ae.useRef(null),{getPrefixCls:$a,direction:tr,getPopupContainer:Ja}=(0,ae.useContext)(Sa.E_),Wa=$a("picker",_e),{compactSize:so,compactItemClassnames:kr}=(0,vo.ri)(Wa,tr),{format:eo,showTime:Co,picker:jo}=Ee,Xo=$a(),[vi,Zo]=Dr(Wa),Fo=Object.assign(Object.assign({},Co?Br(Object.assign({format:eo,picker:jo},Co)):{}),jo==="time"?Br(Object.assign(Object.assign({format:eo},Ee),{picker:jo})):{}),Do=(0,Ga.Z)(ci=>{var Di;return(Di=sn!=null?sn:so)!==null&&Di!==void 0?Di:ci}),Qo=ae.useContext(jr.Z),ei=An!=null?An:Qo,To=(0,ae.useContext)(Ho.aM),{hasFeedback:ti,status:Oi,feedbackIcon:Ei}=To,Xi=ae.createElement(ae.Fragment,null,jo==="time"?ae.createElement($e,null):ae.createElement(be,null),ti&&Ei);(0,ae.useImperativeHandle)(Xe,()=>({focus:()=>{var ci;return(ci=Ka.current)===null||ci===void 0?void 0:ci.focus()},blur:()=>{var ci;return(ci=Ka.current)===null||ci===void 0?void 0:ci.blur()}}));const[xi]=(0,lo.Z)("Calendar",cr.Z),Gi=Object.assign(Object.assign({},xi),Ee.locale);return vi(ae.createElement(Qa,Object.assign({separator:ae.createElement("span",{"aria-label":"to",className:`${Wa}-separator`},ae.createElement(qe,null)),disabled:ei,ref:Ka,dropdownAlign:fo(tr,ln),placeholder:xr(Gi,jo,On),suffixIcon:Xi,prevIcon:ae.createElement("span",{className:`${Wa}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Wa}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Wa}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Wa}-super-next-icon`}),transitionName:`${Xo}-slide-up`},Xa,Fo,{className:dt()({[`${Wa}-${Do}`]:Do,[`${Wa}-borderless`]:!ba},(0,Ca.Z)(Wa,(0,Ca.F)(Oi,oa),ti),Zo,kr,At,da),locale:Gi.lang,prefixCls:Wa,getPopupContainer:Tt||Ja,generateConfig:se,components:rr,direction:tr,dropdownClassName:dt()(Zo,Tn||aa,da),allowClear:So(Ln,dn,ae.createElement(Le.Z,null))})))})}var Kr=function(se,fe){var Ee={};for(var Xe in se)Object.prototype.hasOwnProperty.call(se,Xe)&&fe.indexOf(Xe)<0&&(Ee[Xe]=se[Xe]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Xe=Object.getOwnPropertySymbols(se);_e<Xe.length;_e++)fe.indexOf(Xe[_e])<0&&Object.prototype.propertyIsEnumerable.call(se,Xe[_e])&&(Ee[Xe[_e]]=se[Xe[_e]]);return Ee};function Mr(se){function fe(sn,An){const ba=An==="TimePicker"?"timePicker":"datePicker",On=(0,ae.forwardRef)((Tn,aa)=>{const{prefixCls:oa,getPopupContainer:dn,style:Ln,className:da,rootClassName:Xa,size:Ka,bordered:$a=!0,placement:tr,placeholder:Ja,popupClassName:Wa,dropdownClassName:so,disabled:kr,status:eo,clearIcon:Co,allowClear:jo}=Tn,Xo=Kr(Tn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:vi,direction:Zo,getPopupContainer:Fo,[ba]:Do}=(0,ae.useContext)(Sa.E_),Qo=vi("picker",oa),{compactSize:ei,compactItemClassnames:To}=(0,vo.ri)(Qo,Zo),ti=ae.useRef(null),{format:Oi,showTime:Ei}=Tn,[Xi,xi]=Dr(Qo);(0,ae.useImperativeHandle)(aa,()=>({focus:()=>{var el;return(el=ti.current)===null||el===void 0?void 0:el.focus()},blur:()=>{var el;return(el=ti.current)===null||el===void 0?void 0:el.blur()}}));const Gi={showToday:!0};let ci={};sn&&(ci.picker=sn);const Di=sn||Tn.picker;ci=Object.assign(Object.assign(Object.assign({},ci),Ei?Br(Object.assign({format:Oi,picker:Di},Ei)):{}),Di==="time"?Br(Object.assign(Object.assign({format:Oi},Tn),{picker:Di})):{});const Ui=vi(),qi=(0,Ga.Z)(el=>{var zl;return(zl=Ka!=null?Ka:ei)!==null&&zl!==void 0?zl:el}),_i=ae.useContext(jr.Z),gl=kr!=null?kr:_i,Al=(0,ae.useContext)(Ho.aM),{hasFeedback:Po,status:Ni,feedbackIcon:gi}=Al,zi=ae.createElement(ae.Fragment,null,Di==="time"?ae.createElement($e,null):ae.createElement(be,null),Po&&gi),[rl]=(0,lo.Z)("DatePicker",cr.Z),Ai=Object.assign(Object.assign({},rl),Tn.locale);return Xi(ae.createElement(xn,Object.assign({ref:ti,placeholder:uo(Ai,Di,Ja),suffixIcon:zi,dropdownAlign:fo(Zo,tr),prevIcon:ae.createElement("span",{className:`${Qo}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Qo}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Qo}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Qo}-super-next-icon`}),transitionName:`${Ui}-slide-up`},Gi,Xo,ci,{locale:Ai.lang,className:dt()({[`${Qo}-${qi}`]:qi,[`${Qo}-borderless`]:!$a},(0,Ca.Z)(Qo,(0,Ca.F)(Ni,eo),Po),xi,To,Do==null?void 0:Do.className,da,Xa),style:Object.assign(Object.assign({},Do==null?void 0:Do.style),Ln),prefixCls:Qo,getPopupContainer:dn||Fo,generateConfig:se,components:rr,direction:Zo,disabled:gl,dropdownClassName:dt()(xi,Xa,Wa||so),allowClear:So(jo,Co,ae.createElement(Le.Z,null))})))});return An&&(On.displayName=An),On}const Ee=fe(),Xe=fe("week","WeekPicker"),_e=fe("month","MonthPicker"),Tt=fe("year","YearPicker"),At=fe("time","TimePicker"),ln=fe("quarter","QuarterPicker");return{DatePicker:Ee,WeekPicker:Xe,MonthPicker:_e,YearPicker:Tt,TimePicker:At,QuarterPicker:ln}}const Lo=null;function hi(se){const{DatePicker:fe,WeekPicker:Ee,MonthPicker:Xe,YearPicker:_e,TimePicker:Tt,QuarterPicker:At}=Mr(se),ln=Ua(se),sn=fe;return sn.WeekPicker=Ee,sn.MonthPicker=Xe,sn.YearPicker=_e,sn.RangePicker=ln,sn.TimePicker=Tt,sn.QuarterPicker=At,sn}var Ki=hi;const Ji=Ki(te);function Pl(se){const fe=fo(se.direction,se.placement);return fe.overflow.adjustY=!1,fe.overflow.adjustX=!1,Object.assign(Object.assign({},se),{dropdownAlign:fe})}const wu=(0,ne.Z)(Ji,"picker",null,Pl);Ji._InternalPanelDoNotUseOrYouWillBeFired=wu;const Mu=(0,ne.Z)(Ji.RangePicker,"picker",null,Pl);Ji._InternalRangePanelDoNotUseOrYouWillBeFired=Mu,Ji.generatePicker=Ki;var Vu=Ji},96074:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return Be}});var x=ee(94184),de=ee.n(x),pe=ee(67294),Fe=ee(53124),xe=ee(14747),ke=ee(67968),ie=ee(45503);const Ue=me=>{const{componentCls:oe,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:b,textPaddingInline:E,orientationMargin:z,verticalMarginInline:te}=me;return{[oe]:Object.assign(Object.assign({},(0,xe.Wf)(me)),{borderBlockStart:`${b}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${me.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${me.dividerHorizontalWithTextGutterMargin}px 0`,color:me.colorTextHeading,fontWeight:500,fontSize:me.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${oe}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${oe}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${oe}-with-text${oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${oe}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${oe}-with-text`]:{color:me.colorText,fontWeight:"normal",fontSize:me.fontSize},[`&-horizontal${oe}-with-text-left${oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${oe}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${oe}-with-text-right${oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${oe}-inner-text`]:{paddingInlineEnd:a}}})}};var Ie=(0,ke.Z)("Divider",me=>{const oe=(0,ie.TS)(me,{dividerHorizontalWithTextGutterMargin:me.margin,dividerHorizontalGutterMargin:me.marginLG,sizePaddingEdgeHorizontal:0});return[Ue(oe)]},me=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:me.marginXS})),Te=function(me,oe){var a={};for(var y in me)Object.prototype.hasOwnProperty.call(me,y)&&oe.indexOf(y)<0&&(a[y]=me[y]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(me);b<y.length;b++)oe.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(me,y[b])&&(a[y[b]]=me[y[b]]);return a},Be=me=>{const{getPrefixCls:oe,direction:a,divider:y}=pe.useContext(Fe.E_),{prefixCls:b,type:E="horizontal",orientation:z="center",orientationMargin:te,className:ne,rootClassName:re,children:ae,dashed:le,plain:he,style:ve}=me,Ce=Te(me,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),be=oe("divider",b),[ye,De]=Ie(be),Oe=z.length>0?`-${z}`:z,$e=!!ae,Le=z==="left"&&te!=null,je=z==="right"&&te!=null,We=de()(be,y==null?void 0:y.className,De,`${be}-${E}`,{[`${be}-with-text`]:$e,[`${be}-with-text${Oe}`]:$e,[`${be}-dashed`]:!!le,[`${be}-plain`]:!!he,[`${be}-rtl`]:a==="rtl",[`${be}-no-default-orientation-margin-left`]:Le,[`${be}-no-default-orientation-margin-right`]:je},ne,re),Ke=pe.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),qe=Object.assign(Object.assign({},Le&&{marginLeft:Ke}),je&&{marginRight:Ke});return ye(pe.createElement("div",Object.assign({className:We,style:Object.assign(Object.assign({},y==null?void 0:y.style),ve)},Ce,{role:"separator"}),ae&&E!=="vertical"&&pe.createElement("span",{className:`${be}-inner-text`,style:qe},ae)))}},35874:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return St}});var x=ee(67294),de=ee(91034),pe=ee(94184),Fe=ee.n(pe),xe=ee(87462),ke=ee(4942),ie=ee(97685),Ue=ee(45987),Ie=ee(62709),Te=ee(71002),ze=ee(12060);function Be(Ft,Pt,st){var Jt=React.useRef({});return(!("value"in Jt.current)||st(Jt.current.condition,Pt))&&(Jt.current.value=Ft(),Jt.current.condition=Pt),Jt.current.value}function me(Ft,Pt){typeof Ft=="function"?Ft(Pt):(0,Te.Z)(Ft)==="object"&&Ft&&"current"in Ft&&(Ft.current=Pt)}function oe(){for(var Ft=arguments.length,Pt=new Array(Ft),st=0;st<Ft;st++)Pt[st]=arguments[st];var Jt=Pt.filter(function(Ot){return Ot});return Jt.length<=1?Jt[0]:function(Ot){Pt.forEach(function(xt){me(xt,Ot)})}}function a(){for(var Ft=arguments.length,Pt=new Array(Ft),st=0;st<Ft;st++)Pt[st]=arguments[st];return useMemo(function(){return oe.apply(void 0,Pt)},Pt,function(Jt,Ot){return Jt.length===Ot.length&&Jt.every(function(xt,mn){return xt===Ot[mn]})})}function y(Ft){var Pt,st,Jt=(0,ze.isMemo)(Ft)?Ft.type.type:Ft.type;return!(typeof Jt=="function"&&!((Pt=Jt.prototype)!==null&&Pt!==void 0&&Pt.render)||typeof Ft=="function"&&!((st=Ft.prototype)!==null&&st!==void 0&&st.render))}var b={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Pt){var st=Pt.keyCode;if(Pt.altKey&&!Pt.ctrlKey||Pt.metaKey||st>=b.F1&&st<=b.F12)return!1;switch(st){case b.ALT:case b.CAPS_LOCK:case b.CONTEXT_MENU:case b.CTRL:case b.DOWN:case b.END:case b.ESC:case b.HOME:case b.INSERT:case b.LEFT:case b.MAC_FF_META:case b.META:case b.NUMLOCK:case b.NUM_CENTER:case b.PAGE_DOWN:case b.PAGE_UP:case b.PAUSE:case b.PRINT_SCREEN:case b.RIGHT:case b.SHIFT:case b.UP:case b.WIN_KEY:case b.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Pt){if(Pt>=b.ZERO&&Pt<=b.NINE||Pt>=b.NUM_ZERO&&Pt<=b.NUM_MULTIPLY||Pt>=b.A&&Pt<=b.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Pt===0)return!0;switch(Pt){case b.SPACE:case b.QUESTION_MARK:case b.NUM_PLUS:case b.NUM_MINUS:case b.NUM_PERIOD:case b.NUM_DIVISION:case b.SEMICOLON:case b.DASH:case b.EQUALS:case b.COMMA:case b.PERIOD:case b.SLASH:case b.APOSTROPHE:case b.SINGLE_QUOTE:case b.OPEN_SQUARE_BRACKET:case b.BACKSLASH:case b.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},E=b,z=function(Pt){return+setTimeout(Pt,16)},te=function(Pt){return clearTimeout(Pt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(z=function(Pt){return window.requestAnimationFrame(Pt)},te=function(Pt){return window.cancelAnimationFrame(Pt)});var ne=0,re=new Map;function ae(Ft){re.delete(Ft)}var le=function(Pt){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ne+=1;var Jt=ne;function Ot(xt){if(xt===0)ae(Jt),Pt();else{var mn=z(function(){Ot(xt-1)});re.set(Jt,mn)}}return Ot(st),Jt};le.cancel=function(Ft){var Pt=re.get(Ft);return ae(Pt),te(Pt)};var he=le,ve=E.ESC,Ce=E.TAB;function be(Ft){var Pt=Ft.visible,st=Ft.triggerRef,Jt=Ft.onVisibleChange,Ot=Ft.autoFocus,xt=Ft.overlayRef,mn=x.useRef(!1),en=function(){if(Pt){var we,He;(we=st.current)===null||we===void 0||(He=we.focus)===null||He===void 0||He.call(we),Jt==null||Jt(!1)}},Ve=function(){var we;return(we=xt.current)!==null&&we!==void 0&&we.focus?(xt.current.focus(),mn.current=!0,!0):!1},Re=function(we){switch(we.keyCode){case ve:en();break;case Ce:{var He=!1;mn.current||(He=Ve()),He?we.preventDefault():en();break}}};x.useEffect(function(){return Pt?(window.addEventListener("keydown",Re),Ot&&he(Ve,3),function(){window.removeEventListener("keydown",Re),mn.current=!1}):function(){mn.current=!1}},[Pt])}var ye=(0,x.forwardRef)(function(Ft,Pt){var st=Ft.overlay,Jt=Ft.arrow,Ot=Ft.prefixCls,xt=(0,x.useMemo)(function(){var en;return typeof st=="function"?en=st():en=st,en},[st]),mn=oe(Pt,xt==null?void 0:xt.ref);return x.createElement(x.Fragment,null,Jt&&x.createElement("div",{className:"".concat(Ot,"-arrow")}),x.cloneElement(xt,{ref:y(xt)?mn:void 0}))}),De=ye,Oe={adjustX:1,adjustY:1},$e=[0,0],Le={topLeft:{points:["bl","tl"],overflow:Oe,offset:[0,-4],targetOffset:$e},top:{points:["bc","tc"],overflow:Oe,offset:[0,-4],targetOffset:$e},topRight:{points:["br","tr"],overflow:Oe,offset:[0,-4],targetOffset:$e},bottomLeft:{points:["tl","bl"],overflow:Oe,offset:[0,4],targetOffset:$e},bottom:{points:["tc","bc"],overflow:Oe,offset:[0,4],targetOffset:$e},bottomRight:{points:["tr","br"],overflow:Oe,offset:[0,4],targetOffset:$e}},je=Le,We=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Ke(Ft,Pt){var st,Jt=Ft.arrow,Ot=Jt===void 0?!1:Jt,xt=Ft.prefixCls,mn=xt===void 0?"rc-dropdown":xt,en=Ft.transitionName,Ve=Ft.animation,Re=Ft.align,In=Ft.placement,we=In===void 0?"bottomLeft":In,He=Ft.placements,Wt=He===void 0?je:He,et=Ft.getPopupContainer,Ye=Ft.showAction,yt=Ft.hideAction,vt=Ft.overlayClassName,kt=Ft.overlayStyle,En=Ft.visible,Lt=Ft.trigger,Mt=Lt===void 0?["hover"]:Lt,pt=Ft.autoFocus,an=Ft.overlay,Gt=Ft.children,pn=Ft.onVisibleChange,$n=(0,Ue.Z)(Ft,We),Fn=x.useState(),Yn=(0,ie.Z)(Fn,2),fa=Yn[0],Yt=Yn[1],Qt="visible"in Ft?En:fa,nn=x.useRef(null),ua=x.useRef(null),ra=x.useRef(null);x.useImperativeHandle(Pt,function(){return nn.current});var jn=function(Rn){Yt(Rn),pn==null||pn(Rn)};be({visible:Qt,triggerRef:ra,onVisibleChange:jn,autoFocus:pt,overlayRef:ua});var Na=function(Rn){var vn=Ft.onOverlayClick;Yt(!1),vn&&vn(Rn)},Ma=function(){return x.createElement(De,{ref:ua,overlay:an,prefixCls:mn,arrow:Ot})},vr=function(){return typeof an=="function"?Ma:Ma()},zr=function(){var Rn=Ft.minOverlayWidthMatchTrigger,vn=Ft.alignPoint;return"minOverlayWidthMatchTrigger"in Ft?Rn:!vn},La=function(){var Rn=Ft.openClassName;return Rn!==void 0?Rn:"".concat(mn,"-open")},Je=x.cloneElement(Gt,{className:Fe()((st=Gt.props)===null||st===void 0?void 0:st.className,Qt&&La()),ref:y(Gt)?oe(ra,Gt.ref):void 0}),Dt=yt;return!Dt&&Mt.indexOf("contextMenu")!==-1&&(Dt=["click"]),x.createElement(Ie.Z,(0,xe.Z)({builtinPlacements:Wt},$n,{prefixCls:mn,ref:nn,popupClassName:Fe()(vt,(0,ke.Z)({},"".concat(mn,"-show-arrow"),Ot)),popupStyle:kt,action:Mt,showAction:Ye,hideAction:Dt,popupPlacement:we,popupAlign:Re,popupTransitionName:en,popupAnimation:Ve,popupVisible:Qt,stretch:zr()?"minWidth":"",popup:vr(),onPopupVisibleChange:jn,onPopupClick:Na,getPopupContainer:et}),Je)}var qe=x.forwardRef(Ke),ot=qe,dt=ee(60276),$t=ee(5663),gn=ee(10366),at=ee(80636),ht=ee(8745),Bt=ee(96159),ut=ee(53124),wt=ee(68508),Ht=ee(76529),Ge=ee(46605),bn=ee(66748);const Dn=null,Ct=Ft=>{const{menu:Pt,arrow:st,prefixCls:Jt,children:Ot,trigger:xt,disabled:mn,dropdownRender:en,getPopupContainer:Ve,overlayClassName:Re,rootClassName:In,open:we,onOpenChange:He,visible:Wt,onVisibleChange:et,mouseEnterDelay:Ye=.15,mouseLeaveDelay:yt=.1,autoAdjustOverflow:vt=!0,placement:kt="",overlay:En,transitionName:Lt}=Ft,{getPopupContainer:Mt,getPrefixCls:pt,direction:an}=x.useContext(ut.E_),Gt=x.useMemo(()=>{const Je=pt();return Lt!==void 0?Lt:kt.includes("top")?`${Je}-slide-down`:`${Je}-slide-up`},[pt,kt,Lt]),pn=x.useMemo(()=>kt?kt.includes("Center")?kt.slice(0,kt.indexOf("Center")):kt:an==="rtl"?"bottomRight":"bottomLeft",[kt,an]),$n=pt("dropdown",Jt),[Fn,Yn]=(0,bn.Z)($n),[,fa]=(0,Ge.Z)(),Yt=x.Children.only(Ot),Qt=(0,Bt.Tm)(Yt,{className:Fe()(`${$n}-trigger`,{[`${$n}-rtl`]:an==="rtl"},Yt.props.className),disabled:mn}),nn=mn?[]:xt;let ua;nn&&nn.includes("contextMenu")&&(ua=!0);const[ra,jn]=(0,$t.Z)(!1,{value:we!=null?we:Wt}),Na=(0,dt.useEvent)(Je=>{He==null||He(Je),et==null||et(Je),jn(Je)}),Ma=Fe()(Re,In,Yn,{[`${$n}-rtl`]:an==="rtl"}),vr=(0,at.Z)({arrowPointAtCenter:typeof st=="object"&&st.pointAtCenter,autoAdjustOverflow:vt,offset:fa.marginXXS,arrowWidth:st?fa.sizePopupArrow:0,borderRadius:fa.borderRadius}),zr=x.useCallback(()=>{jn(!1)},[]),La=()=>{let Je;return Pt!=null&&Pt.items?Je=x.createElement(wt.default,Object.assign({},Pt)):typeof En=="function"?Je=En():Je=En,en&&(Je=en(Je)),Je=x.Children.only(typeof Je=="string"?x.createElement("span",null,Je):Je),x.createElement(Ht.J,{prefixCls:`${$n}-menu`,expandIcon:x.createElement("span",{className:`${$n}-menu-submenu-arrow`},x.createElement(de.Z,{className:`${$n}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:zr,validator:Dt=>{let{mode:Et}=Dt}},Je)};return Fn(x.createElement(ot,Object.assign({alignPoint:ua},(0,gn.Z)(Ft,["rootClassName"]),{mouseEnterDelay:Ye,mouseLeaveDelay:yt,visible:ra,builtinPlacements:vr,arrow:!!st,overlayClassName:Ma,prefixCls:$n,getPopupContainer:Ve||Mt,transitionName:Gt,trigger:nn,overlay:La,placement:pn,onVisibleChange:Na}),Qt))};function Kt(Ft){return Object.assign(Object.assign({},Ft),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ut=(0,ht.Z)(Ct,"dropdown",Ft=>Ft,Kt),Rt=Ft=>x.createElement(Ut,Object.assign({},Ft),x.createElement("span",null));Ct._InternalPanelDoNotUseOrYouWillBeFired=Rt;var St=Ct},85418:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return a}});var x=ee(35874),de=ee(94184),pe=ee.n(de),Fe=ee(67294),xe=ee(25877),ke=ee(71577),ie=ee(53124),Ue=ee(93421),Ie=ee(4173),Te=ee(66748),ze=function(y,b){var E={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&b.indexOf(z)<0&&(E[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,z=Object.getOwnPropertySymbols(y);te<z.length;te++)b.indexOf(z[te])<0&&Object.prototype.propertyIsEnumerable.call(y,z[te])&&(E[z[te]]=y[z[te]]);return E};const Be=y=>{const{getPopupContainer:b,getPrefixCls:E,direction:z}=Fe.useContext(ie.E_),{prefixCls:te,type:ne="default",danger:re,disabled:ae,loading:le,onClick:he,htmlType:ve,children:Ce,className:be,menu:ye,arrow:De,autoFocus:Oe,overlay:$e,trigger:Le,align:je,open:We,onOpenChange:Ke,placement:qe,getPopupContainer:ot,href:dt,icon:$t=Fe.createElement(xe.Z,null),title:gn,buttonsRender:at=mn=>mn,mouseEnterDelay:ht,mouseLeaveDelay:Bt,overlayClassName:ut,overlayStyle:wt,destroyPopupOnHide:Ht,dropdownRender:Ge}=y,bn=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"]),Dn=E("dropdown",te),Ct=`${Dn}-button`,[Kt,Ut]=(0,Te.Z)(Dn),Rt={menu:ye,arrow:De,autoFocus:Oe,align:je,disabled:ae,trigger:ae?[]:Le,onOpenChange:Ke,getPopupContainer:ot||b,mouseEnterDelay:ht,mouseLeaveDelay:Bt,overlayClassName:ut,overlayStyle:wt,destroyPopupOnHide:Ht,dropdownRender:Ge},{compactSize:St,compactItemClassnames:Ft}=(0,Ie.ri)(Dn,z),Pt=pe()(Ct,Ft,be,Ut);"overlay"in y&&(Rt.overlay=$e),"open"in y&&(Rt.open=We),"placement"in y?Rt.placement=qe:Rt.placement=z==="rtl"?"bottomLeft":"bottomRight";const st=Fe.createElement(ke.ZP,{type:ne,danger:re,disabled:ae,loading:le,onClick:he,htmlType:ve,href:dt,title:gn},Ce),Jt=Fe.createElement(ke.ZP,{type:ne,danger:re,icon:$t}),[Ot,xt]=at([st,Jt]);return Kt(Fe.createElement(Ue.Z.Compact,Object.assign({className:Pt,size:St,block:!0},bn),Ot,Fe.createElement(x.Z,Object.assign({},Rt),xt)))};Be.__ANT_BUTTON=!0;var me=Be;const oe=x.Z;oe.Button=me;var a=oe},66748:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return ze}});var x=ee(14747),de=ee(67771),pe=ee(33297),Fe=ee(50438),xe=ee(97414),ke=ee(67968),ie=ee(45503),Ie=Be=>{const{componentCls:me,menuCls:oe,colorError:a,colorTextLightSolid:y}=Be,b=`${oe}-item`;return{[`${me}, ${me}-menu-submenu`]:{[`${oe} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Te=Be=>{const{componentCls:me,menuCls:oe,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:b,antCls:E,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:ne,fontSize:re,dropdownEdgeChildPadding:ae,colorTextDisabled:le,fontSizeIcon:he,controlPaddingHorizontal:ve,colorBgElevated:Ce}=Be;return[{[me]:Object.assign(Object.assign({},(0,x.Wf)(Be)),{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`]:{[`& > ${z}-down, & > ${E}-btn-icon > ${z}-down`]:{fontSize:he}},[`${me}-wrap`]:{position:"relative",[`${E}-btn > ${z}-down`]:{fontSize:he},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${me}-wrap-open`]:{[`${z}-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${me}-placement-bottomLeft,
&${E}-slide-down-appear${E}-slide-down-appear-active${me}-placement-bottomLeft,
&${E}-slide-down-enter${E}-slide-down-enter-active${me}-placement-bottom,
&${E}-slide-down-appear${E}-slide-down-appear-active${me}-placement-bottom,
&${E}-slide-down-enter${E}-slide-down-enter-active${me}-placement-bottomRight,
&${E}-slide-down-appear${E}-slide-down-appear-active${me}-placement-bottomRight`]:{animationName:de.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${me}-placement-topLeft,
&${E}-slide-up-appear${E}-slide-up-appear-active${me}-placement-topLeft,
&${E}-slide-up-enter${E}-slide-up-enter-active${me}-placement-top,
&${E}-slide-up-appear${E}-slide-up-appear-active${me}-placement-top,
&${E}-slide-up-enter${E}-slide-up-enter-active${me}-placement-topRight,
&${E}-slide-up-appear${E}-slide-up-appear-active${me}-placement-topRight`]:{animationName:de.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${me}-placement-bottomLeft,
&${E}-slide-down-leave${E}-slide-down-leave-active${me}-placement-bottom,
&${E}-slide-down-leave${E}-slide-down-leave-active${me}-placement-bottomRight`]:{animationName:de.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${me}-placement-topLeft,
&${E}-slide-up-leave${E}-slide-up-leave-active${me}-placement-top,
&${E}-slide-up-leave${E}-slide-up-leave-active${me}-placement-topRight`]:{animationName:de.ly}})},(0,xe.ZP)(Be,{colorBg:Ce,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${me} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${me}, ${me}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:ae,listStyleType:"none",backgroundColor:Ce,backgroundClip:"padding-box",borderRadius:Be.borderRadiusLG,outline:"none",boxShadow:Be.boxShadowSecondary},(0,x.Qy)(Be)),{[`${oe}-item-group-title`]:{padding:`${ne}px ${ve}px`,color:Be.colorTextDescription,transition:`all ${te}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:re,marginInlineEnd:Be.marginXS,fontSize:Be.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${ve}px`,color:Be.colorText,fontWeight:"normal",fontSize:re,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:Be.borderRadiusSM,"&:hover, &-active":{backgroundColor:Be.controlItemBgHover}},(0,x.Qy)(Be)),{"&-selected":{color:Be.colorPrimary,backgroundColor:Be.controlItemBgActive,"&:hover, &-active":{backgroundColor:Be.controlItemBgActiveHover}},"&-disabled":{color:le,cursor:"not-allowed","&:hover":{color:le,backgroundColor:Ce,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Be.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Be.colorSplit},[`${me}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Be.paddingXS,[`${me}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Be.colorTextDescription,fontSize:he,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${Be.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:ve+Be.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${me}-menu-submenu-title`]:{[`&, ${me}-menu-submenu-arrow-icon`]:{color:le,backgroundColor:Ce,cursor:"not-allowed"}},[`${oe}-submenu-selected ${me}-menu-submenu-title`]:{color:Be.colorPrimary}})}},[(0,de.oN)(Be,"slide-up"),(0,de.oN)(Be,"slide-down"),(0,pe.Fm)(Be,"move-up"),(0,pe.Fm)(Be,"move-down"),(0,Fe._y)(Be,"zoom-big")]]};var ze=(0,ke.Z)("Dropdown",(Be,me)=>{let{rootPrefixCls:oe}=me;const{marginXXS:a,sizePopupArrow:y,controlHeight:b,fontSize:E,lineHeight:z,paddingXXS:te,componentCls:ne,borderRadiusLG:re}=Be,ae=(b-E*z)/2,{dropdownArrowOffset:le}=(0,xe.fS)({contentRadius:re}),he=(0,ie.TS)(Be,{menuCls:`${ne}-menu`,rootPrefixCls:oe,dropdownArrowDistance:y/2+a,dropdownArrowOffset:le,dropdownPaddingVertical:ae,dropdownEdgeChildPadding:te});return[Te(he),Ie(he)]},Be=>({zIndexPopup:Be.zIndexPopupBase+50}))},25378:function(ct,it,ee){"use strict";var x=ee(67294),de=ee(14075),pe=ee(57838),Fe=ee(74443);function xe(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ie=(0,x.useRef)({}),Ue=(0,pe.Z)(),Ie=(0,Fe.ZP)();return(0,de.Z)(()=>{const Te=Ie.subscribe(ze=>{ie.current=ze,ke&&Ue()});return()=>Ie.unsubscribe(Te)},[]),ie.current}it.Z=xe},71322:function(ct,it,ee){"use strict";ee.d(it,{D:function(){return z},Z:function(){return re}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(le,he){return de.createElement(xe.Z,(0,x.Z)({},le,{ref:he,icon:Fe}))},ie=de.forwardRef(ke),Ue=ee(22751),Ie=ee(91034),Te=ee(94184),ze=ee.n(Te),Be=ee(10366),oe=ae=>!isNaN(parseFloat(ae))&&isFinite(ae),a=ee(53124),y=ee(84321),b=function(ae,le){var he={};for(var ve in ae)Object.prototype.hasOwnProperty.call(ae,ve)&&le.indexOf(ve)<0&&(he[ve]=ae[ve]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ve=Object.getOwnPropertySymbols(ae);Ce<ve.length;Ce++)le.indexOf(ve[Ce])<0&&Object.prototype.propertyIsEnumerable.call(ae,ve[Ce])&&(he[ve[Ce]]=ae[ve[Ce]]);return he};const E={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=de.createContext({}),te=(()=>{let ae=0;return function(){let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ae+=1,`${le}${ae}`}})();var re=de.forwardRef((ae,le)=>{const{prefixCls:he,className:ve,trigger:Ce,children:be,defaultCollapsed:ye=!1,theme:De="dark",style:Oe={},collapsible:$e=!1,reverseArrow:Le=!1,width:je=200,collapsedWidth:We=80,zeroWidthTriggerStyle:Ke,breakpoint:qe,onCollapse:ot,onBreakpoint:dt}=ae,$t=b(ae,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:gn}=(0,de.useContext)(y.Gs),[at,ht]=(0,de.useState)("collapsed"in ae?ae.collapsed:ye),[Bt,ut]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in ae&&ht(ae.collapsed)},[ae.collapsed]);const wt=(Kt,Ut)=>{"collapsed"in ae||ht(Kt),ot==null||ot(Kt,Ut)},Ht=(0,de.useRef)();Ht.current=Kt=>{ut(Kt.matches),dt==null||dt(Kt.matches),at!==Kt.matches&&wt(Kt.matches,"responsive")},(0,de.useEffect)(()=>{function Kt(Rt){return Ht.current(Rt)}let Ut;if(typeof window!="undefined"){const{matchMedia:Rt}=window;if(Rt&&qe&&qe in E){Ut=Rt(`(max-width: ${E[qe]})`);try{Ut.addEventListener("change",Kt)}catch(St){Ut.addListener(Kt)}Kt(Ut)}}return()=>{try{Ut==null||Ut.removeEventListener("change",Kt)}catch(Rt){Ut==null||Ut.removeListener(Kt)}}},[qe]),(0,de.useEffect)(()=>{const Kt=te("ant-sider-");return gn.addSider(Kt),()=>gn.removeSider(Kt)},[]);const Ge=()=>{wt(!at,"clickTrigger")},{getPrefixCls:bn}=(0,de.useContext)(a.E_),Dn=()=>{const Kt=bn("layout-sider",he),Ut=(0,Be.Z)($t,["collapsed"]),Rt=at?We:je,St=oe(Rt)?`${Rt}px`:String(Rt),Ft=parseFloat(String(We||0))===0?de.createElement("span",{onClick:Ge,className:ze()(`${Kt}-zero-width-trigger`,`${Kt}-zero-width-trigger-${Le?"right":"left"}`),style:Ke},Ce||de.createElement(ie,null)):null,Jt={expanded:Le?de.createElement(Ie.Z,null):de.createElement(Ue.Z,null),collapsed:Le?de.createElement(Ue.Z,null):de.createElement(Ie.Z,null)}[at?"collapsed":"expanded"],Ot=Ce!==null?Ft||de.createElement("div",{className:`${Kt}-trigger`,onClick:Ge,style:{width:St}},Ce||Jt):null,xt=Object.assign(Object.assign({},Oe),{flex:`0 0 ${St}`,maxWidth:St,minWidth:St,width:St}),mn=ze()(Kt,`${Kt}-${De}`,{[`${Kt}-collapsed`]:!!at,[`${Kt}-has-trigger`]:$e&&Ce!==null&&!Ft,[`${Kt}-below`]:!!Bt,[`${Kt}-zero-width`]:parseFloat(St)===0},ve);return de.createElement("aside",Object.assign({className:mn},Ut,{style:xt,ref:le}),de.createElement("div",{className:`${Kt}-children`},be),$e||Bt&&Ft?Ot:null)},Ct=de.useMemo(()=>({siderCollapsed:at}),[at]);return de.createElement(z.Provider,{value:Ct},Dn())})},84321:function(ct,it,ee){"use strict";ee.d(it,{VY:function(){return te},$_:function(){return z},h4:function(){return E},Gs:function(){return me},ZP:function(){return ne}});var x=ee(74902),de=ee(94184),pe=ee.n(de),Fe=ee(10366),xe=ee(67294),ke=ee(53124),ie=ee(67968),Ie=re=>{const{componentCls:ae,bodyBg:le,lightSiderBg:he,lightTriggerBg:ve,lightTriggerColor:Ce}=re;return{[`${ae}-sider-light`]:{background:he,[`${ae}-sider-trigger`]:{color:Ce,background:ve},[`${ae}-sider-zero-width-trigger`]:{color:Ce,background:ve,border:`1px solid ${le}`,borderInlineStart:0}}}};const Te=re=>{const{antCls:ae,componentCls:le,colorText:he,triggerColor:ve,footerBg:Ce,triggerBg:be,headerHeight:ye,headerPadding:De,headerColor:Oe,footerPadding:$e,triggerHeight:Le,zeroTriggerHeight:je,zeroTriggerWidth:We,motionDurationMid:Ke,motionDurationSlow:qe,fontSize:ot,borderRadius:dt,bodyBg:$t,headerBg:gn,siderBg:at}=re;return{[le]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:$t,"&, *":{boxSizing:"border-box"},[`&${le}-has-sider`]:{flexDirection:"row",[`> ${le}, > ${le}-content`]:{width:0}},[`${le}-header, &${le}-footer`]:{flex:"0 0 auto"},[`${le}-sider`]:{position:"relative",minWidth:0,background:at,transition:`all ${Ke}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ae}-menu${ae}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Le,color:ve,lineHeight:`${Le}px`,textAlign:"center",background:be,cursor:"pointer",transition:`all ${Ke}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ye,insetInlineEnd:-We,zIndex:1,width:We,height:je,color:ve,fontSize:re.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:at,borderStartStartRadius:0,borderStartEndRadius:dt,borderEndEndRadius:dt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-We,borderStartStartRadius:dt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:dt}}}}},Ie(re)),{"&-rtl":{direction:"rtl"}}),[`${le}-header`]:{height:ye,padding:De,color:Oe,lineHeight:`${ye}px`,background:gn,[`${ae}-menu`]:{lineHeight:"inherit"}},[`${le}-footer`]:{padding:$e,color:he,fontSize:ot,background:Ce},[`${le}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,ie.Z)("Layout",re=>[Te(re)],re=>{const{colorBgLayout:ae,controlHeight:le,controlHeightLG:he,colorText:ve,controlHeightSM:Ce,marginXXS:be,colorTextLightSolid:ye,colorBgContainer:De}=re,Oe=he*1.25;return{colorBgHeader:"#001529",colorBgBody:ae,colorBgTrigger:"#002140",bodyBg:ae,headerBg:"#001529",headerHeight:le*2,headerPadding:`0 ${Oe}px`,headerColor:ve,footerPadding:`${Ce}px ${Oe}px`,footerBg:ae,siderBg:"#001529",triggerHeight:he+be*2,triggerBg:"#002140",triggerColor:ye,zeroTriggerWidth:he,zeroTriggerHeight:he,lightSiderBg:De,lightTriggerBg:De,lightTriggerColor:ve}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Be=function(re,ae){var le={};for(var he in re)Object.prototype.hasOwnProperty.call(re,he)&&ae.indexOf(he)<0&&(le[he]=re[he]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,he=Object.getOwnPropertySymbols(re);ve<he.length;ve++)ae.indexOf(he[ve])<0&&Object.prototype.propertyIsEnumerable.call(re,he[ve])&&(le[he[ve]]=re[he[ve]]);return le};const me=xe.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function oe(re){let{suffixCls:ae,tagName:le,displayName:he}=re;return ve=>xe.forwardRef((be,ye)=>xe.createElement(ve,Object.assign({ref:ye,suffixCls:ae,tagName:le},be)))}const a=xe.forwardRef((re,ae)=>{const{prefixCls:le,suffixCls:he,className:ve,tagName:Ce}=re,be=Be(re,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ye}=xe.useContext(ke.E_),De=ye("layout",le),[Oe,$e]=ze(De),Le=he?`${De}-${he}`:De;return Oe(xe.createElement(Ce,Object.assign({className:pe()(le||Le,ve,$e),ref:ae},be)))}),y=xe.forwardRef((re,ae)=>{const{direction:le}=xe.useContext(ke.E_),[he,ve]=xe.useState([]),{prefixCls:Ce,className:be,rootClassName:ye,children:De,hasSider:Oe,tagName:$e,style:Le}=re,je=Be(re,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),We=(0,Fe.Z)(je,["suffixCls"]),{getPrefixCls:Ke,layout:qe}=xe.useContext(ke.E_),ot=Ke("layout",Ce),[dt,$t]=ze(ot),gn=pe()(ot,{[`${ot}-has-sider`]:typeof Oe=="boolean"?Oe:he.length>0,[`${ot}-rtl`]:le==="rtl"},qe==null?void 0:qe.className,be,ye,$t),at=xe.useMemo(()=>({siderHook:{addSider:ht=>{ve(Bt=>[].concat((0,x.Z)(Bt),[ht]))},removeSider:ht=>{ve(Bt=>Bt.filter(ut=>ut!==ht))}}}),[]);return dt(xe.createElement(me.Provider,{value:at},xe.createElement($e,Object.assign({ref:ae,className:gn,style:Object.assign(Object.assign({},qe==null?void 0:qe.style),Le)},We),De)))}),b=oe({tagName:"div",displayName:"Layout"})(y),E=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ne=b},76529:function(ct,it,ee){"use strict";ee.d(it,{J:function(){return ke}});var x=ee(67294),de=ee(4173),pe=ee(60276),Fe=function(ie,Ue){var Ie={};for(var Te in ie)Object.prototype.hasOwnProperty.call(ie,Te)&&Ue.indexOf(Te)<0&&(Ie[Te]=ie[Te]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Te=Object.getOwnPropertySymbols(ie);ze<Te.length;ze++)Ue.indexOf(Te[ze])<0&&Object.prototype.propertyIsEnumerable.call(ie,Te[ze])&&(Ie[Te[ze]]=ie[Te[ze]]);return Ie};const xe=x.createContext(null),ke=x.forwardRef((ie,Ue)=>{const{children:Ie}=ie,Te=Fe(ie,["children"]),ze=x.useContext(xe),Be=x.useMemo(()=>Object.assign(Object.assign({},ze),Te),[ze,Te.prefixCls,Te.mode,Te.selectable]);return x.createElement(xe.Provider,{value:Be},x.createElement(de.BR,null,(0,pe.supportNodeRef)(Ie)?x.cloneElement(Ie,{ref:Ue}):Ie))});it.Z=xe},68508:function(ct,it,ee){"use strict";ee.d(it,{default:function(){return Kt}});var x=ee(78595),de=ee(67294),pe=ee(71322),Fe=ee(94184),xe=ee.n(Fe),ke=ee(53124),ie=function(Ut,Rt){var St={};for(var Ft in Ut)Object.prototype.hasOwnProperty.call(Ut,Ft)&&Rt.indexOf(Ft)<0&&(St[Ft]=Ut[Ft]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,Ft=Object.getOwnPropertySymbols(Ut);Pt<Ft.length;Pt++)Rt.indexOf(Ft[Pt])<0&&Object.prototype.propertyIsEnumerable.call(Ut,Ft[Pt])&&(St[Ft[Pt]]=Ut[Ft[Pt]]);return St},Ie=Ut=>{const{prefixCls:Rt,className:St,dashed:Ft}=Ut,Pt=ie(Ut,["prefixCls","className","dashed"]),{getPrefixCls:st}=de.useContext(ke.E_),Jt=st("menu",Rt),Ot=xe()({[`${Jt}-item-divider-dashed`]:!!Ft},St);return de.createElement(x.iz,Object.assign({className:Ot},Pt))},Te=ee(37419),ze=ee(10366),Be=ee(83062),me=ee(96159),a=(0,de.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Ut=>{var Rt;const{className:St,children:Ft,icon:Pt,title:st,danger:Jt}=Ut,{prefixCls:Ot,firstLevel:xt,direction:mn,disableMenuItemTitleTooltip:en,inlineCollapsed:Ve}=de.useContext(a),Re=Ye=>{const yt=de.createElement("span",{className:`${Ot}-title-content`},Ft);return(!Pt||(0,me.l$)(Ft)&&Ft.type==="span")&&Ft&&Ye&&xt&&typeof Ft=="string"?de.createElement("div",{className:`${Ot}-inline-collapsed-noicon`},Ft.charAt(0)):yt},{siderCollapsed:In}=de.useContext(pe.D);let we=st;typeof st=="undefined"?we=xt?Ft:"":st===!1&&(we="");const He={title:we};!In&&!Ve&&(He.title=null,He.open=!1);const Wt=(0,Te.Z)(Ft).length;let et=de.createElement(x.ck,Object.assign({},(0,ze.Z)(Ut,["title","icon","danger"]),{className:xe()({[`${Ot}-item-danger`]:Jt,[`${Ot}-item-only-child`]:(Pt?Wt+1:Wt)===1},St),title:typeof st=="string"?st:void 0}),(0,me.Tm)(Pt,{className:xe()((0,me.l$)(Pt)?(Rt=Pt.props)===null||Rt===void 0?void 0:Rt.className:"",`${Ot}-item-icon`)}),Re(Ve));return en||(et=de.createElement(Be.Z,Object.assign({},He,{placement:mn==="rtl"?"left":"right",overlayClassName:`${Ot}-inline-collapsed-tooltip`}),et)),et},z=Ut=>{var Rt;const{popupClassName:St,icon:Ft,title:Pt,theme:st}=Ut,Jt=de.useContext(a),{prefixCls:Ot,inlineCollapsed:xt,theme:mn}=Jt,en=(0,x.Xl)();let Ve;if(!Ft)Ve=xt&&!en.length&&Pt&&typeof Pt=="string"?de.createElement("div",{className:`${Ot}-inline-collapsed-noicon`},Pt.charAt(0)):de.createElement("span",{className:`${Ot}-title-content`},Pt);else{const In=(0,me.l$)(Pt)&&Pt.type==="span";Ve=de.createElement(de.Fragment,null,(0,me.Tm)(Ft,{className:xe()((0,me.l$)(Ft)?(Rt=Ft.props)===null||Rt===void 0?void 0:Rt.className:"",`${Ot}-item-icon`)}),In?Pt:de.createElement("span",{className:`${Ot}-title-content`},Pt))}const Re=de.useMemo(()=>Object.assign(Object.assign({},Jt),{firstLevel:!1}),[Jt]);return de.createElement(a.Provider,{value:Re},de.createElement(x.Wd,Object.assign({},(0,ze.Z)(Ut,["icon"]),{title:Ve,popupClassName:xe()(Ot,St,`${Ot}-${st||mn}`)})))},te=ee(25877),ne=ee(60276),re=ee(33603),ae=ee(76529),le=function(Ut,Rt){var St={};for(var Ft in Ut)Object.prototype.hasOwnProperty.call(Ut,Ft)&&Rt.indexOf(Ft)<0&&(St[Ft]=Ut[Ft]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,Ft=Object.getOwnPropertySymbols(Ut);Pt<Ft.length;Pt++)Rt.indexOf(Ft[Pt])<0&&Object.prototype.propertyIsEnumerable.call(Ut,Ft[Pt])&&(St[Ft[Pt]]=Ut[Ft[Pt]]);return St};function he(Ut){return(Ut||[]).map((Rt,St)=>{if(Rt&&typeof Rt=="object"){const Ft=Rt,{label:Pt,children:st,key:Jt,type:Ot}=Ft,xt=le(Ft,["label","children","key","type"]),mn=Jt!=null?Jt:`tmp-${St}`;return st||Ot==="group"?Ot==="group"?de.createElement(x.BW,Object.assign({key:mn},xt,{title:Pt}),he(st)):de.createElement(z,Object.assign({key:mn},xt,{title:Pt}),he(st)):Ot==="divider"?de.createElement(Ie,Object.assign({key:mn},xt)):de.createElement(b,Object.assign({key:mn},xt),Pt)}return null}).filter(Rt=>Rt)}function ve(Ut){return de.useMemo(()=>Ut&&he(Ut),[Ut])}var Ce=ee(84780),be=ee(14747),ye=ee(33507),De=ee(67771),Oe=ee(50438),$e=ee(67968),Le=ee(45503),We=Ut=>{const{componentCls:Rt,motionDurationSlow:St,horizontalLineHeight:Ft,colorSplit:Pt,lineWidth:st,lineType:Jt,itemPaddingInline:Ot}=Ut;return{[`${Rt}-horizontal`]:{lineHeight:Ft,border:0,borderBottom:`${st}px ${Jt} ${Pt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Rt}-item, ${Rt}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ot},[`> ${Rt}-item:hover,
> ${Rt}-item-active,
> ${Rt}-submenu ${Rt}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Rt}-item, ${Rt}-submenu-title`]:{transition:[`border-color ${St}`,`background ${St}`].join(",")},[`${Rt}-submenu-arrow`]:{display:"none"}}}},qe=Ut=>{let{componentCls:Rt,menuArrowOffset:St}=Ut;return{[`${Rt}-rtl`]:{direction:"rtl"},[`${Rt}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Rt}-rtl${Rt}-vertical,
${Rt}-submenu-rtl ${Rt}-vertical`]:{[`${Rt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${St})`},"&::after":{transform:`rotate(45deg) translateY(${St})`}}}}};const ot=Ut=>Object.assign({},(0,be.oN)(Ut));var $t=(Ut,Rt)=>{const{componentCls:St,itemColor:Ft,itemSelectedColor:Pt,groupTitleColor:st,itemBg:Jt,subMenuItemBg:Ot,itemSelectedBg:xt,activeBarHeight:mn,activeBarWidth:en,activeBarBorderWidth:Ve,motionDurationSlow:Re,motionEaseInOut:In,motionEaseOut:we,itemPaddingInline:He,motionDurationMid:Wt,itemHoverColor:et,lineType:Ye,colorSplit:yt,itemDisabledColor:vt,dangerItemColor:kt,dangerItemHoverColor:En,dangerItemSelectedColor:Lt,dangerItemActiveBg:Mt,dangerItemSelectedBg:pt,itemHoverBg:an,itemActiveBg:Gt,menuSubMenuBg:pn,horizontalItemSelectedColor:$n,horizontalItemSelectedBg:Fn,horizontalItemBorderRadius:Yn,horizontalItemHoverBg:fa,popupBg:Yt}=Ut;return{[`${St}-${Rt}, ${St}-${Rt} > ${St}`]:{color:Ft,background:Jt,[`&${St}-root:focus-visible`]:Object.assign({},ot(Ut)),[`${St}-item-group-title`]:{color:st},[`${St}-submenu-selected`]:{[`> ${St}-submenu-title`]:{color:Pt}},[`${St}-item-disabled, ${St}-submenu-disabled`]:{color:`${vt} !important`},[`${St}-item:not(${St}-item-selected):not(${St}-submenu-selected)`]:{[`&:hover, > ${St}-submenu-title:hover`]:{color:et}},[`&:not(${St}-horizontal)`]:{[`${St}-item:not(${St}-item-selected)`]:{"&:hover":{backgroundColor:an},"&:active":{backgroundColor:Gt}},[`${St}-submenu-title`]:{"&:hover":{backgroundColor:an},"&:active":{backgroundColor:Gt}}},[`${St}-item-danger`]:{color:kt,[`&${St}-item:hover`]:{[`&:not(${St}-item-selected):not(${St}-submenu-selected)`]:{color:En}},[`&${St}-item:active`]:{background:Mt}},[`${St}-item a`]:{"&, &:hover":{color:"inherit"}},[`${St}-item-selected`]:{color:Pt,[`&${St}-item-danger`]:{color:Lt},"a, a:hover":{color:"inherit"}},[`& ${St}-item-selected`]:{backgroundColor:xt,[`&${St}-item-danger`]:{backgroundColor:pt}},[`${St}-item, ${St}-submenu-title`]:{[`&:not(${St}-item-disabled):focus-visible`]:Object.assign({},ot(Ut))},[`&${St}-submenu > ${St}`]:{backgroundColor:pn},[`&${St}-popup > ${St}`]:{backgroundColor:Yt},[`&${St}-horizontal`]:Object.assign(Object.assign({},Rt==="dark"?{borderBottom:0}:{}),{[`> ${St}-item, > ${St}-submenu`]:{top:Ve,marginTop:-Ve,marginBottom:0,borderRadius:Yn,"&::after":{position:"absolute",insetInline:He,bottom:0,borderBottom:`${mn}px solid transparent`,transition:`border-color ${Re} ${In}`,content:'""'},"&:hover, &-active, &-open":{background:fa,"&::after":{borderBottomWidth:mn,borderBottomColor:$n}},"&-selected":{color:$n,backgroundColor:Fn,"&:hover":{backgroundColor:Fn},"&::after":{borderBottomWidth:mn,borderBottomColor:$n}}}}),[`&${St}-root`]:{[`&${St}-inline, &${St}-vertical`]:{borderInlineEnd:`${Ve}px ${Ye} ${yt}`}},[`&${St}-inline`]:{[`${St}-sub${St}-inline`]:{background:Ot},[`${St}-item, ${St}-submenu-title`]:Ve&&en?{width:`calc(100% + ${Ve}px)`}:{},[`${St}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${en}px solid ${Pt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Wt} ${we}`,`opacity ${Wt} ${we}`].join(","),content:'""'},[`&${St}-item-danger`]:{"&::after":{borderInlineEndColor:Lt}}},[`${St}-selected, ${St}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Wt} ${In}`,`opacity ${Wt} ${In}`].join(",")}}}}}};const gn=Ut=>{const{componentCls:Rt,itemHeight:St,itemMarginInline:Ft,padding:Pt,menuArrowSize:st,marginXS:Jt,itemMarginBlock:Ot}=Ut,xt=Pt+st+Jt;return{[`${Rt}-item`]:{position:"relative",overflow:"hidden"},[`${Rt}-item, ${Rt}-submenu-title`]:{height:St,lineHeight:`${St}px`,paddingInline:Pt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ft,marginBlock:Ot,width:`calc(100% - ${Ft*2}px)`},[`> ${Rt}-item,
> ${Rt}-submenu > ${Rt}-submenu-title`]:{height:St,lineHeight:`${St}px`},[`${Rt}-item-group-list ${Rt}-submenu-title,
${Rt}-submenu-title`]:{paddingInlineEnd:xt}}};var ht=Ut=>{const{componentCls:Rt,iconCls:St,itemHeight:Ft,colorTextLightSolid:Pt,dropdownWidth:st,controlHeightLG:Jt,motionDurationMid:Ot,motionEaseOut:xt,paddingXL:mn,itemMarginInline:en,fontSizeLG:Ve,motionDurationSlow:Re,paddingXS:In,boxShadowSecondary:we,collapsedWidth:He,collapsedIconSize:Wt}=Ut,et={height:Ft,lineHeight:`${Ft}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Rt]:{"&-inline, &-vertical":Object.assign({[`&${Rt}-root`]:{boxShadow:"none"}},gn(Ut))},[`${Rt}-submenu-popup`]:{[`${Rt}-vertical`]:Object.assign(Object.assign({},gn(Ut)),{boxShadow:we})}},{[`${Rt}-submenu-popup ${Rt}-vertical${Rt}-sub`]:{minWidth:st,maxHeight:`calc(100vh - ${Jt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Rt}-inline`]:{width:"100%",[`&${Rt}-root`]:{[`${Rt}-item, ${Rt}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Re}`,`background ${Re}`,`padding ${Ot} ${xt}`].join(","),[`> ${Rt}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Rt}-sub${Rt}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Rt}-submenu > ${Rt}-submenu-title`]:et,[`& ${Rt}-item-group-title`]:{paddingInlineStart:mn}},[`${Rt}-item`]:et}},{[`${Rt}-inline-collapsed`]:{width:He,[`&${Rt}-root`]:{[`${Rt}-item, ${Rt}-submenu ${Rt}-submenu-title`]:{[`> ${Rt}-inline-collapsed-noicon`]:{fontSize:Ve,textAlign:"center"}}},[`> ${Rt}-item,
> ${Rt}-item-group > ${Rt}-item-group-list > ${Rt}-item,
> ${Rt}-item-group > ${Rt}-item-group-list > ${Rt}-submenu > ${Rt}-submenu-title,
> ${Rt}-submenu > ${Rt}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Ve/2}px - ${en}px)`,textOverflow:"clip",[`
${Rt}-submenu-arrow,
${Rt}-submenu-expand-icon
`]:{opacity:0},[`${Rt}-item-icon, ${St}`]:{margin:0,fontSize:Wt,lineHeight:`${Ft}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Rt}-item-icon, ${St}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Rt}-item-icon, ${St}`]:{display:"none"},"a, a:hover":{color:Pt}},[`${Rt}-item-group-title`]:Object.assign(Object.assign({},be.vS),{paddingInline:In})}}]};const Bt=Ut=>{const{componentCls:Rt,motionDurationSlow:St,motionDurationMid:Ft,motionEaseInOut:Pt,motionEaseOut:st,iconCls:Jt,iconSize:Ot,iconMarginInlineEnd:xt}=Ut;return{[`${Rt}-item, ${Rt}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${St}`,`background ${St}`,`padding ${St} ${Pt}`].join(","),[`${Rt}-item-icon, ${Jt}`]:{minWidth:Ot,fontSize:Ot,transition:[`font-size ${Ft} ${st}`,`margin ${St} ${Pt}`,`color ${St}`].join(","),"+ span":{marginInlineStart:xt,opacity:1,transition:[`opacity ${St} ${Pt}`,`margin ${St}`,`color ${St}`].join(",")}},[`${Rt}-item-icon`]:Object.assign({},(0,be.Ro)()),[`&${Rt}-item-only-child`]:{[`> ${Jt}, > ${Rt}-item-icon`]:{marginInlineEnd:0}}},[`${Rt}-item-disabled, ${Rt}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Rt}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ut=Ut=>{const{componentCls:Rt,motionDurationSlow:St,motionEaseInOut:Ft,borderRadius:Pt,menuArrowSize:st,menuArrowOffset:Jt}=Ut;return{[`${Rt}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ut.margin,width:st,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${St} ${Ft}, opacity ${St}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:st*.6,height:st*.15,backgroundColor:"currentcolor",borderRadius:Pt,transition:[`background ${St} ${Ft}`,`transform ${St} ${Ft}`,`top ${St} ${Ft}`,`color ${St} ${Ft}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Jt})`},"&::after":{transform:`rotate(-45deg) translateY(${Jt})`}}}}},wt=Ut=>{const{antCls:Rt,componentCls:St,fontSize:Ft,motionDurationSlow:Pt,motionDurationMid:st,motionEaseInOut:Jt,paddingXS:Ot,padding:xt,colorSplit:mn,lineWidth:en,zIndexPopup:Ve,borderRadiusLG:Re,subMenuItemBorderRadius:In,menuArrowSize:we,menuArrowOffset:He,lineType:Wt,menuPanelMaskInset:et,groupTitleLineHeight:Ye,groupTitleFontSize:yt}=Ut;return[{"":{[`${St}`]:Object.assign(Object.assign({},(0,be.dF)()),{"&-hidden":{display:"none"}})},[`${St}-submenu-hidden`]:{display:"none"}},{[St]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(Ut)),(0,be.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ft,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",[`${St}-item`]:{flex:"none"}},[`${St}-item, ${St}-submenu, ${St}-submenu-title`]:{borderRadius:Ut.itemBorderRadius},[`${St}-item-group-title`]:{padding:`${Ot}px ${xt}px`,fontSize:yt,lineHeight:Ye,transition:`all ${Pt}`},[`&-horizontal ${St}-submenu`]:{transition:[`border-color ${Pt} ${Jt}`,`background ${Pt} ${Jt}`].join(",")},[`${St}-submenu, ${St}-submenu-inline`]:{transition:[`border-color ${Pt} ${Jt}`,`background ${Pt} ${Jt}`,`padding ${st} ${Jt}`].join(",")},[`${St}-submenu ${St}-sub`]:{cursor:"initial",transition:[`background ${Pt} ${Jt}`,`padding ${Pt} ${Jt}`].join(",")},[`${St}-title-content`]:{transition:`color ${Pt}`},[`${St}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${St}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:mn,borderStyle:Wt,borderWidth:0,borderTopWidth:en,marginBlock:en,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Bt(Ut)),{[`${St}-item-group`]:{[`${St}-item-group-list`]:{margin:0,padding:0,[`${St}-item, ${St}-submenu-title`]:{paddingInline:`${Ft*2}px ${xt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ve,borderRadius:Re,boxShadow:"none",transformOrigin:"0 0",[`&${St}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${et}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:et},"\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:Ut.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ut.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ut.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ut.paddingXS},[`> ${St}`]:Object.assign(Object.assign(Object.assign({borderRadius:Re},Bt(Ut)),ut(Ut)),{[`${St}-item, ${St}-submenu > ${St}-submenu-title`]:{borderRadius:In},[`${St}-submenu-title::after`]:{transition:`transform ${Pt} ${Jt}`}})}}),ut(Ut)),{[`&-inline-collapsed ${St}-submenu-arrow,
&-inline ${St}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${He})`},"&::after":{transform:`rotate(45deg) translateX(-${He})`}},[`${St}-submenu-open${St}-submenu-inline > ${St}-submenu-title > ${St}-submenu-arrow`]:{transform:`translateY(-${we*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${He})`},"&::before":{transform:`rotate(45deg) translateX(${He})`}}})},{[`${Rt}-layout-header`]:{[St]:{lineHeight:"inherit"}}}]};var Ht=(Ut,Rt)=>(0,$e.Z)("Menu",Ft=>{if(Rt===!1)return[];const{colorBgElevated:Pt,colorPrimary:st,colorTextLightSolid:Jt,controlHeightLG:Ot,fontSize:xt,darkItemColor:mn,darkDangerItemColor:en,darkItemBg:Ve,darkSubMenuItemBg:Re,darkItemSelectedColor:In,darkItemSelectedBg:we,darkDangerItemSelectedBg:He,darkItemHoverBg:Wt,darkGroupTitleColor:et,darkItemHoverColor:Ye,darkItemDisabledColor:yt,darkDangerItemHoverColor:vt,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:En}=Ft,Lt=xt/7*5,Mt=(0,Le.TS)(Ft,{menuArrowSize:Lt,menuHorizontalHeight:Ot*1.15,menuArrowOffset:`${Lt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Pt}),pt=(0,Le.TS)(Mt,{itemColor:mn,itemHoverColor:Ye,groupTitleColor:et,itemSelectedColor:In,itemBg:Ve,popupBg:Ve,subMenuItemBg:Re,itemActiveBg:"transparent",itemSelectedBg:we,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Wt,itemDisabledColor:yt,dangerItemColor:en,dangerItemHoverColor:vt,dangerItemSelectedColor:kt,dangerItemActiveBg:En,dangerItemSelectedBg:He,menuSubMenuBg:Re,horizontalItemSelectedColor:Jt,horizontalItemSelectedBg:st});return[wt(Mt),We(Mt),ht(Mt),$t(Mt,"light"),$t(pt,"dark"),qe(Mt),(0,ye.Z)(Mt),(0,De.oN)(Mt,"slide-up"),(0,De.oN)(Mt,"slide-down"),(0,Oe._y)(Mt,"zoom-big")]},Ft=>{const{colorPrimary:Pt,colorError:st,colorTextDisabled:Jt,colorErrorBg:Ot,colorText:xt,colorTextDescription:mn,colorBgContainer:en,colorFillAlter:Ve,colorFillContent:Re,lineWidth:In,lineWidthBold:we,controlItemBgActive:He,colorBgTextHover:Wt,controlHeightLG:et,lineHeight:Ye,colorBgElevated:yt,marginXXS:vt,padding:kt,fontSize:En,controlHeightSM:Lt,fontSizeLG:Mt,colorTextLightSolid:pt,colorErrorHover:an}=Ft,Gt=new Ce.C(pt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ft.zIndexPopupBase+50,radiusItem:Ft.borderRadiusLG,itemBorderRadius:Ft.borderRadiusLG,radiusSubMenuItem:Ft.borderRadiusSM,subMenuItemBorderRadius:Ft.borderRadiusSM,colorItemText:xt,itemColor:xt,colorItemTextHover:xt,itemHoverColor:xt,colorItemTextHoverHorizontal:Pt,horizontalItemHoverColor:Pt,colorGroupTitle:mn,groupTitleColor:mn,colorItemTextSelected:Pt,itemSelectedColor:Pt,colorItemTextSelectedHorizontal:Pt,horizontalItemSelectedColor:Pt,colorItemBg:en,itemBg:en,colorItemBgHover:Wt,itemHoverBg:Wt,colorItemBgActive:Re,itemActiveBg:He,colorSubItemBg:Ve,subMenuItemBg:Ve,colorItemBgSelected:He,itemSelectedBg:He,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:we,activeBarHeight:we,colorActiveBarBorderSize:In,activeBarBorderWidth:In,colorItemTextDisabled:Jt,itemDisabledColor:Jt,colorDangerItemText:st,dangerItemColor:st,colorDangerItemTextHover:st,dangerItemHoverColor:st,colorDangerItemTextSelected:st,dangerItemSelectedColor:st,colorDangerItemBgActive:Ot,dangerItemActiveBg:Ot,colorDangerItemBgSelected:Ot,dangerItemSelectedBg:Ot,itemMarginInline:Ft.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:et,groupTitleLineHeight:Ye,collapsedWidth:et*2,popupBg:yt,itemMarginBlock:vt,itemPaddingInline:kt,horizontalLineHeight:`${et*1.15}px`,iconSize:En,iconMarginInlineEnd:Lt-En,collapsedIconSize:Mt,groupTitleFontSize:En,darkItemDisabledColor:new Ce.C(pt).setAlpha(.25).toRgbString(),darkItemColor:Gt,darkDangerItemColor:st,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:pt,darkItemSelectedBg:Pt,darkDangerItemSelectedBg:st,darkItemHoverBg:"transparent",darkGroupTitleColor:Gt,darkItemHoverColor:pt,darkDangerItemHoverColor:an,darkDangerItemSelectedColor:pt,darkDangerItemActiveBg:st}},{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"]]})(Ut),Ge=function(Ut,Rt){var St={};for(var Ft in Ut)Object.prototype.hasOwnProperty.call(Ut,Ft)&&Rt.indexOf(Ft)<0&&(St[Ft]=Ut[Ft]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,Ft=Object.getOwnPropertySymbols(Ut);Pt<Ft.length;Pt++)Rt.indexOf(Ft[Pt])<0&&Object.prototype.propertyIsEnumerable.call(Ut,Ft[Pt])&&(St[Ft[Pt]]=Ut[Ft[Pt]]);return St},Dn=(0,de.forwardRef)((Ut,Rt)=>{var St,Ft;const Pt=de.useContext(ae.Z),st=Pt||{},{getPrefixCls:Jt,getPopupContainer:Ot,direction:xt,menu:mn}=de.useContext(ke.E_),en=Jt(),{prefixCls:Ve,className:Re,style:In,theme:we="light",expandIcon:He,_internalDisableMenuItemTitleTooltip:Wt,inlineCollapsed:et,siderCollapsed:Ye,items:yt,children:vt,rootClassName:kt,mode:En,selectable:Lt,onClick:Mt,overflowedIndicatorPopupClassName:pt}=Ut,an=Ge(Ut,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Gt=(0,ze.Z)(an,["collapsedWidth"]),pn=ve(yt)||vt;(St=st.validator)===null||St===void 0||St.call(st,{mode:En});const $n=(0,ne.useEvent)(function(){var Ma;Mt==null||Mt.apply(void 0,arguments),(Ma=st.onClick)===null||Ma===void 0||Ma.call(st)}),Fn=st.mode||En,Yn=Lt!=null?Lt:st.selectable,fa=de.useMemo(()=>Ye!==void 0?Ye:et,[et,Ye]),Yt={horizontal:{motionName:`${en}-slide-up`},inline:(0,re.Z)(en),other:{motionName:`${en}-zoom-big`}},Qt=Jt("menu",Ve||st.prefixCls),[nn,ua]=Ht(Qt,!Pt),ra=xe()(`${Qt}-${we}`,mn==null?void 0:mn.className,Re);let jn;if(typeof He=="function")jn=He;else if(He===null||He===!1)jn=null;else if(st.expandIcon===null||st.expandIcon===!1)jn=null;else{const Ma=He!=null?He:st.expandIcon;jn=(0,me.Tm)(Ma,{className:xe()(`${Qt}-submenu-expand-icon`,(0,me.l$)(Ma)?(Ft=Ma.props)===null||Ft===void 0?void 0:Ft.className:"")})}const Na=de.useMemo(()=>({prefixCls:Qt,inlineCollapsed:fa||!1,direction:xt,firstLevel:!0,theme:we,mode:Fn,disableMenuItemTitleTooltip:Wt}),[Qt,fa,xt,Wt,we]);return nn(de.createElement(ae.Z.Provider,{value:null},de.createElement(a.Provider,{value:Na},de.createElement(x.ZP,Object.assign({getPopupContainer:Ot,overflowedIndicator:de.createElement(te.Z,null),overflowedIndicatorPopupClassName:xe()(Qt,`${Qt}-${we}`,pt),mode:Fn,selectable:Yn,onClick:$n},Gt,{inlineCollapsed:fa,style:Object.assign(Object.assign({},mn==null?void 0:mn.style),In),className:ra,prefixCls:Qt,direction:xt,defaultMotions:Yt,expandIcon:jn,ref:Rt,rootClassName:xe()(kt,ua)}),pn))))});const Ct=(0,de.forwardRef)((Ut,Rt)=>{const St=(0,de.useRef)(null),Ft=de.useContext(pe.D);return(0,de.useImperativeHandle)(Rt,()=>({menu:St.current,focus:Pt=>{var st;(st=St.current)===null||st===void 0||st.focus(Pt)}})),de.createElement(Dn,Object.assign({ref:St},Ut,Ft))});Ct.Item=b,Ct.SubMenu=z,Ct.Divider=Ie,Ct.ItemGroup=x.BW;var Kt=Ct},28452:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return en}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(Re,In){return de.createElement(xe.Z,(0,x.Z)({},Re,{ref:In,icon:Fe}))},ie=de.forwardRef(ke),Ue=ee(81893),Ie=ee(22751),Te=ee(91034),ze=ee(94184),Be=ee.n(ze),me=ee(4942),oe=ee(1413),a=ee(15671),y=ee(43144),b=ee(60136),E=ee(51630),z=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,te=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ne="".concat(z," ").concat(te).split(/[\s\n]+/),re="aria-",ae="data-";function le(Ve,Re){return Ve.indexOf(Re)===0}function he(Ve){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,In;Re===!1?In={aria:!0,data:!0,attr:!0}:Re===!0?In={aria:!0}:In=(0,oe.Z)({},Re);var we={};return Object.keys(Ve).forEach(function(He){(In.aria&&(He==="role"||le(He,re))||In.data&&le(He,ae)||In.attr&&ne.includes(He))&&(we[He]=Ve[He])}),we}var ve={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Ce=ve,be=ee(81626),ye=function(Ve){(0,b.Z)(In,Ve);var Re=(0,E.Z)(In);function In(){var we;(0,a.Z)(this,In);for(var He=arguments.length,Wt=new Array(He),et=0;et<He;et++)Wt[et]=arguments[et];return we=Re.call.apply(Re,[this].concat(Wt)),we.state={goInputText:""},we.getValidValue=function(){var Ye=we.state.goInputText;return!Ye||Number.isNaN(Ye)?void 0:Number(Ye)},we.buildOptionText=function(Ye){return"".concat(Ye," ").concat(we.props.locale.items_per_page)},we.changeSize=function(Ye){we.props.changeSize(Number(Ye))},we.handleChange=function(Ye){we.setState({goInputText:Ye.target.value})},we.handleBlur=function(Ye){var yt=we.props,vt=yt.goButton,kt=yt.quickGo,En=yt.rootPrefixCls,Lt=we.state.goInputText;vt||Lt===""||(we.setState({goInputText:""}),!(Ye.relatedTarget&&(Ye.relatedTarget.className.indexOf("".concat(En,"-item-link"))>=0||Ye.relatedTarget.className.indexOf("".concat(En,"-item"))>=0))&&kt(we.getValidValue()))},we.go=function(Ye){var yt=we.state.goInputText;yt!==""&&(Ye.keyCode===Ce.ENTER||Ye.type==="click")&&(we.setState({goInputText:""}),we.props.quickGo(we.getValidValue()))},we}return(0,y.Z)(In,[{key:"getPageSizeOptions",value:function(){var He=this.props,Wt=He.pageSize,et=He.pageSizeOptions;return et.some(function(Ye){return Ye.toString()===Wt.toString()})?et:et.concat([Wt.toString()]).sort(function(Ye,yt){var vt=Number.isNaN(Number(Ye))?0:Number(Ye),kt=Number.isNaN(Number(yt))?0:Number(yt);return vt-kt})}},{key:"render",value:function(){var He=this,Wt=this.props,et=Wt.pageSize,Ye=Wt.locale,yt=Wt.rootPrefixCls,vt=Wt.changeSize,kt=Wt.quickGo,En=Wt.goButton,Lt=Wt.selectComponentClass,Mt=Wt.buildOptionText,pt=Wt.selectPrefixCls,an=Wt.disabled,Gt=this.state.goInputText,pn="".concat(yt,"-options"),$n=Lt,Fn=null,Yn=null,fa=null;if(!vt&&!kt)return null;var Yt=this.getPageSizeOptions();if(vt&&$n){var Qt=Yt.map(function(nn,ua){return de.createElement($n.Option,{key:ua,value:nn.toString()},(Mt||He.buildOptionText)(nn))});Fn=de.createElement($n,{disabled:an,prefixCls:pt,showSearch:!1,className:"".concat(pn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(et||Yt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ua){return ua.parentNode},"aria-label":Ye.page_size,defaultOpen:!1},Qt)}return kt&&(En&&(fa=typeof En=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:an,className:"".concat(pn,"-quick-jumper-button")},Ye.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},En)),Yn=de.createElement("div",{className:"".concat(pn,"-quick-jumper")},Ye.jump_to,de.createElement("input",{disabled:an,type:"text",value:Gt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ye.page}),Ye.page,fa)),de.createElement("li",{className:"".concat(pn)},Fn,Yn)}}]),In}(de.Component);ye.defaultProps={pageSizeOptions:["10","20","50","100"]};var De=ye,Oe=function(Re){var In,we=Re.rootPrefixCls,He=Re.page,Wt=Re.active,et=Re.className,Ye=Re.showTitle,yt=Re.onClick,vt=Re.onKeyPress,kt=Re.itemRender,En="".concat(we,"-item"),Lt=Be()(En,"".concat(En,"-").concat(He),(In={},(0,me.Z)(In,"".concat(En,"-active"),Wt),(0,me.Z)(In,"".concat(En,"-disabled"),!He),(0,me.Z)(In,Re.className,et),In)),Mt=function(){yt(He)},pt=function(pn){vt(pn,yt,He)},an=kt(He,"page",de.createElement("a",{rel:"nofollow"},He));return an?de.createElement("li",{title:Ye?He.toString():null,className:Lt,onClick:Mt,onKeyPress:pt,tabIndex:0},an):null},$e=Oe;function Le(){}function je(Ve){var Re=Number(Ve);return typeof Re=="number"&&!Number.isNaN(Re)&&isFinite(Re)&&Math.floor(Re)===Re}var We=function(Re,In,we){return we};function Ke(Ve,Re,In){var we=typeof Ve=="undefined"?Re.pageSize:Ve;return Math.floor((In.total-1)/we)+1}var qe=function(Ve){(0,b.Z)(In,Ve);var Re=(0,E.Z)(In);function In(we){var He;(0,a.Z)(this,In),He=Re.call(this,we),He.paginationNode=de.createRef(),He.getJumpPrevPage=function(){return Math.max(1,He.state.current-(He.props.showLessItems?3:5))},He.getJumpNextPage=function(){return Math.min(Ke(void 0,He.state,He.props),He.state.current+(He.props.showLessItems?3:5))},He.getItemIcon=function(vt,kt){var En=He.props.prefixCls,Lt=vt||de.createElement("button",{type:"button","aria-label":kt,className:"".concat(En,"-item-link")});return typeof vt=="function"&&(Lt=de.createElement(vt,(0,oe.Z)({},He.props))),Lt},He.isValid=function(vt){var kt=He.props.total;return je(vt)&&vt!==He.state.current&&je(kt)&&kt>0},He.shouldDisplayQuickJumper=function(){var vt=He.props,kt=vt.showQuickJumper,En=vt.total,Lt=He.state.pageSize;return En<=Lt?!1:kt},He.handleKeyDown=function(vt){(vt.keyCode===Ce.ARROW_UP||vt.keyCode===Ce.ARROW_DOWN)&&vt.preventDefault()},He.handleKeyUp=function(vt){var kt=He.getValidValue(vt),En=He.state.currentInputValue;kt!==En&&He.setState({currentInputValue:kt}),vt.keyCode===Ce.ENTER?He.handleChange(kt):vt.keyCode===Ce.ARROW_UP?He.handleChange(kt-1):vt.keyCode===Ce.ARROW_DOWN&&He.handleChange(kt+1)},He.handleBlur=function(vt){var kt=He.getValidValue(vt);He.handleChange(kt)},He.changePageSize=function(vt){var kt=He.state.current,En=Ke(vt,He.state,He.props);kt=kt>En?En:kt,En===0&&(kt=He.state.current),typeof vt=="number"&&("pageSize"in He.props||He.setState({pageSize:vt}),"current"in He.props||He.setState({current:kt,currentInputValue:kt})),He.props.onShowSizeChange(kt,vt),"onChange"in He.props&&He.props.onChange&&He.props.onChange(kt,vt)},He.handleChange=function(vt){var kt=He.props,En=kt.disabled,Lt=kt.onChange,Mt=He.state,pt=Mt.pageSize,an=Mt.current,Gt=Mt.currentInputValue;if(He.isValid(vt)&&!En){var pn=Ke(void 0,He.state,He.props),$n=vt;return vt>pn?$n=pn:vt<1&&($n=1),"current"in He.props||He.setState({current:$n}),$n!==Gt&&He.setState({currentInputValue:$n}),Lt($n,pt),$n}return an},He.prev=function(){He.hasPrev()&&He.handleChange(He.state.current-1)},He.next=function(){He.hasNext()&&He.handleChange(He.state.current+1)},He.jumpPrev=function(){He.handleChange(He.getJumpPrevPage())},He.jumpNext=function(){He.handleChange(He.getJumpNextPage())},He.hasPrev=function(){return He.state.current>1},He.hasNext=function(){return He.state.current<Ke(void 0,He.state,He.props)},He.runIfEnter=function(vt,kt){if(vt.key==="Enter"||vt.charCode===13){for(var En=arguments.length,Lt=new Array(En>2?En-2:0),Mt=2;Mt<En;Mt++)Lt[Mt-2]=arguments[Mt];kt.apply(void 0,Lt)}},He.runIfEnterPrev=function(vt){He.runIfEnter(vt,He.prev)},He.runIfEnterNext=function(vt){He.runIfEnter(vt,He.next)},He.runIfEnterJumpPrev=function(vt){He.runIfEnter(vt,He.jumpPrev)},He.runIfEnterJumpNext=function(vt){He.runIfEnter(vt,He.jumpNext)},He.handleGoTO=function(vt){(vt.keyCode===Ce.ENTER||vt.type==="click")&&He.handleChange(He.state.currentInputValue)},He.renderPrev=function(vt){var kt=He.props,En=kt.prevIcon,Lt=kt.itemRender,Mt=Lt(vt,"prev",He.getItemIcon(En,"prev page")),pt=!He.hasPrev();return(0,de.isValidElement)(Mt)?(0,de.cloneElement)(Mt,{disabled:pt}):Mt},He.renderNext=function(vt){var kt=He.props,En=kt.nextIcon,Lt=kt.itemRender,Mt=Lt(vt,"next",He.getItemIcon(En,"next page")),pt=!He.hasNext();return(0,de.isValidElement)(Mt)?(0,de.cloneElement)(Mt,{disabled:pt}):Mt};var Wt=we.onChange!==Le,et="current"in we;et&&!Wt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ye=we.defaultCurrent;"current"in we&&(Ye=we.current);var yt=we.defaultPageSize;return"pageSize"in we&&(yt=we.pageSize),Ye=Math.min(Ye,Ke(yt,void 0,we)),He.state={current:Ye,currentInputValue:Ye,pageSize:yt},He}return(0,y.Z)(In,[{key:"componentDidUpdate",value:function(He,Wt){var et=this.props.prefixCls;if(Wt.current!==this.state.current&&this.paginationNode.current){var Ye=this.paginationNode.current.querySelector(".".concat(et,"-item-").concat(Wt.current));if(Ye&&document.activeElement===Ye){var yt;Ye==null||(yt=Ye.blur)===null||yt===void 0||yt.call(Ye)}}}},{key:"getValidValue",value:function(He){var Wt=He.target.value,et=Ke(void 0,this.state,this.props),Ye=this.state.currentInputValue,yt;return Wt===""?yt=Wt:Number.isNaN(Number(Wt))?yt=Ye:Wt>=et?yt=et:yt=Number(Wt),yt}},{key:"getShowSizeChanger",value:function(){var He=this.props,Wt=He.showSizeChanger,et=He.total,Ye=He.totalBoundaryShowSizeChanger;return typeof Wt!="undefined"?Wt:et>Ye}},{key:"render",value:function(){var He=this.props,Wt=He.prefixCls,et=He.className,Ye=He.style,yt=He.disabled,vt=He.hideOnSinglePage,kt=He.total,En=He.locale,Lt=He.showQuickJumper,Mt=He.showLessItems,pt=He.showTitle,an=He.showTotal,Gt=He.simple,pn=He.itemRender,$n=He.showPrevNextJumpers,Fn=He.jumpPrevIcon,Yn=He.jumpNextIcon,fa=He.selectComponentClass,Yt=He.selectPrefixCls,Qt=He.pageSizeOptions,nn=this.state,ua=nn.current,ra=nn.pageSize,jn=nn.currentInputValue;if(vt===!0&&kt<=ra)return null;var Na=Ke(void 0,this.state,this.props),Ma=[],vr=null,zr=null,La=null,Je=null,Dt=null,Et=Lt&&Lt.goButton,Rn=Mt?1:2,vn=ua-1>0?ua-1:0,Un=ua+1<Na?ua+1:Na,$r=he(this.props,{aria:!0,data:!0}),Ta=an&&de.createElement("li",{className:"".concat(Wt,"-total-text")},an(kt,[kt===0?0:(ua-1)*ra+1,ua*ra>kt?kt:ua*ra]));if(Gt){Et&&(typeof Et=="boolean"?Dt=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},En.jump_to_confirm):Dt=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Et),Dt=de.createElement("li",{title:pt?"".concat(En.jump_to).concat(ua,"/").concat(Na):null,className:"".concat(Wt,"-simple-pager")},Dt));var Cr=this.renderPrev(vn);return de.createElement("ul",(0,x.Z)({className:Be()(Wt,"".concat(Wt,"-simple"),(0,me.Z)({},"".concat(Wt,"-disabled"),yt),et),style:Ye,ref:this.paginationNode},$r),Ta,Cr?de.createElement("li",{title:pt?En.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Be()("".concat(Wt,"-prev"),(0,me.Z)({},"".concat(Wt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Cr):null,de.createElement("li",{title:pt?"".concat(ua,"/").concat(Na):null,className:"".concat(Wt,"-simple-pager")},de.createElement("input",{type:"text",value:jn,disabled:yt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),de.createElement("span",{className:"".concat(Wt,"-slash")},"/"),Na),de.createElement("li",{title:pt?En.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Be()("".concat(Wt,"-next"),(0,me.Z)({},"".concat(Wt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Un)),Dt)}if(Na<=3+Rn*2){var _r={locale:En,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:pt,itemRender:pn};Na||Ma.push(de.createElement($e,(0,x.Z)({},_r,{key:"noPager",page:1,className:"".concat(Wt,"-item-disabled")})));for(var co=1;co<=Na;co+=1){var Jn=ua===co;Ma.push(de.createElement($e,(0,x.Z)({},_r,{key:co,page:co,active:Jn})))}}else{var ur=Mt?En.prev_3:En.prev_5,gt=Mt?En.next_3:En.next_5,tn=pn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Fn,"prev page")),Xt=pn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Yn,"next page"));$n&&(vr=tn?de.createElement("li",{title:pt?ur:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Be()("".concat(Wt,"-jump-prev"),(0,me.Z)({},"".concat(Wt,"-jump-prev-custom-icon"),!!Fn))},tn):null,zr=Xt?de.createElement("li",{title:pt?gt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Be()("".concat(Wt,"-jump-next"),(0,me.Z)({},"".concat(Wt,"-jump-next-custom-icon"),!!Yn))},Xt):null),Je=de.createElement($e,{locale:En,last:!0,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Na,page:Na,active:!1,showTitle:pt,itemRender:pn}),La=de.createElement($e,{locale:En,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:pt,itemRender:pn});var cn=Math.max(1,ua-Rn),Kn=Math.min(ua+Rn,Na);ua-1<=Rn&&(Kn=1+Rn*2),Na-ua<=Rn&&(cn=Na-Rn*2);for(var rn=cn;rn<=Kn;rn+=1){var _n=ua===rn;Ma.push(de.createElement($e,{locale:En,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:rn,page:rn,active:_n,showTitle:pt,itemRender:pn}))}ua-1>=Rn*2&&ua!==3&&(Ma[0]=(0,de.cloneElement)(Ma[0],{className:"".concat(Wt,"-item-after-jump-prev")}),Ma.unshift(vr)),Na-ua>=Rn*2&&ua!==Na-2&&(Ma[Ma.length-1]=(0,de.cloneElement)(Ma[Ma.length-1],{className:"".concat(Wt,"-item-before-jump-next")}),Ma.push(zr)),cn!==1&&Ma.unshift(La),Kn!==Na&&Ma.push(Je)}var wn=!this.hasPrev()||!Na,la=!this.hasNext()||!Na,Za=this.renderPrev(vn),ir=this.renderNext(Un);return de.createElement("ul",(0,x.Z)({className:Be()(Wt,et,(0,me.Z)({},"".concat(Wt,"-disabled"),yt)),style:Ye,ref:this.paginationNode},$r),Ta,Za?de.createElement("li",{title:pt?En.prev_page:null,onClick:this.prev,tabIndex:wn?null:0,onKeyPress:this.runIfEnterPrev,className:Be()("".concat(Wt,"-prev"),(0,me.Z)({},"".concat(Wt,"-disabled"),wn)),"aria-disabled":wn},Za):null,Ma,ir?de.createElement("li",{title:pt?En.next_page:null,onClick:this.next,tabIndex:la?null:0,onKeyPress:this.runIfEnterNext,className:Be()("".concat(Wt,"-next"),(0,me.Z)({},"".concat(Wt,"-disabled"),la)),"aria-disabled":la},ir):null,de.createElement(De,{disabled:yt,locale:En,rootPrefixCls:Wt,selectComponentClass:fa,selectPrefixCls:Yt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ua,pageSize:ra,pageSizeOptions:Qt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Et}))}}],[{key:"getDerivedStateFromProps",value:function(He,Wt){var et={};if("current"in He&&(et.current=He.current,He.current!==Wt.current&&(et.currentInputValue=et.current)),"pageSize"in He&&He.pageSize!==Wt.pageSize){var Ye=Wt.current,yt=Ke(He.pageSize,Wt,He);Ye=Ye>yt?yt:Ye,"current"in He||(et.current=Ye,et.currentInputValue=Ye),et.pageSize=He.pageSize}return et}}]),In}(de.Component);qe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Le,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Le,locale:be.Z,style:{},itemRender:We,totalBoundaryShowSizeChanger:50};var ot=qe,dt=ee(62906),$t=ee(53124),gn=ee(98675),at=ee(25378),ht=ee(10110),Bt=ee(11713);const ut=Ve=>de.createElement(Bt.default,Object.assign({},Ve,{showSearch:!0,size:"small"})),wt=Ve=>de.createElement(Bt.default,Object.assign({},Ve,{showSearch:!0,size:"middle"}));ut.Option=Bt.default.Option,wt.Option=Bt.default.Option;var Ht=ee(47673),Ge=ee(14747),bn=ee(67968),Dn=ee(45503);const Ct=Ve=>{const{componentCls:Re}=Ve;return{[`${Re}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Re}-item-link`]:{color:Ve.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Re}-item-link`]:{color:Ve.colorTextDisabled,cursor:"not-allowed"}}},[`&${Re}-disabled`]:{cursor:"not-allowed",[`${Re}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ve.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ve.colorBorder,backgroundColor:Ve.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ve.itemActiveBgDisabled},a:{color:Ve.itemActiveColorDisabled}}},[`${Re}-item-link`]:{color:Ve.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Re}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Re}-simple-pager`]:{color:Ve.colorTextDisabled},[`${Re}-jump-prev, ${Re}-jump-next`]:{[`${Re}-item-link-icon`]:{opacity:0},[`${Re}-item-ellipsis`]:{opacity:1}}},[`&${Re}-simple`]:{[`${Re}-prev, ${Re}-next`]:{[`&${Re}-disabled ${Re}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Kt=Ve=>{const{componentCls:Re}=Ve;return{[`&${Re}-mini ${Re}-total-text, &${Re}-mini ${Re}-simple-pager`]:{height:Ve.itemSizeSM,lineHeight:`${Ve.itemSizeSM}px`},[`&${Re}-mini ${Re}-item`]:{minWidth:Ve.itemSizeSM,height:Ve.itemSizeSM,margin:0,lineHeight:`${Ve.itemSizeSM-2}px`},[`&${Re}-mini:not(${Re}-disabled) ${Re}-item:not(${Re}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ve.colorBgTextHover},"&:active":{backgroundColor:Ve.colorBgTextActive}},[`&${Re}-mini ${Re}-prev, &${Re}-mini ${Re}-next`]:{minWidth:Ve.itemSizeSM,height:Ve.itemSizeSM,margin:0,lineHeight:`${Ve.itemSizeSM}px`},[`&${Re}-mini:not(${Re}-disabled)`]:{[`${Re}-prev, ${Re}-next`]:{[`&:hover ${Re}-item-link`]:{backgroundColor:Ve.colorBgTextHover},[`&:active ${Re}-item-link`]:{backgroundColor:Ve.colorBgTextActive},[`&${Re}-disabled:hover ${Re}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Re}-mini ${Re}-prev ${Re}-item-link,
&${Re}-mini ${Re}-next ${Re}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ve.itemSizeSM,lineHeight:`${Ve.itemSizeSM}px`}},[`&${Re}-mini ${Re}-jump-prev, &${Re}-mini ${Re}-jump-next`]:{height:Ve.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ve.itemSizeSM}px`},[`&${Re}-mini ${Re}-options`]:{marginInlineStart:Ve.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ve.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ve.itemSizeSM,lineHeight:`${Ve.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ht.x0)(Ve)),{width:Ve.paginationMiniQuickJumperInputWidth,height:Ve.controlHeightSM})}}}},Ut=Ve=>{const{componentCls:Re}=Ve;return{[`
&${Re}-simple ${Re}-prev,
&${Re}-simple ${Re}-next
`]:{height:Ve.itemSizeSM,lineHeight:`${Ve.itemSizeSM}px`,verticalAlign:"top",[`${Re}-item-link`]:{height:Ve.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ve.colorBgTextHover},"&:active":{backgroundColor:Ve.colorBgTextActive},"&::after":{height:Ve.itemSizeSM,lineHeight:`${Ve.itemSizeSM}px`}}},[`&${Re}-simple ${Re}-simple-pager`]:{display:"inline-block",height:Ve.itemSizeSM,marginInlineEnd:Ve.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Ve.marginXS,padding:`0 ${Ve.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Ve.itemInputBg,border:`${Ve.lineWidth}px ${Ve.lineType} ${Ve.colorBorder}`,borderRadius:Ve.borderRadius,outline:"none",transition:`border-color ${Ve.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ve.colorPrimary},"&:focus":{borderColor:Ve.colorPrimaryHover,boxShadow:`${Ve.inputOutlineOffset}px 0 ${Ve.controlOutlineWidth}px ${Ve.controlOutline}`},"&[disabled]":{color:Ve.colorTextDisabled,backgroundColor:Ve.colorBgContainerDisabled,borderColor:Ve.colorBorder,cursor:"not-allowed"}}}}},Rt=Ve=>{const{componentCls:Re}=Ve;return{[`${Re}-jump-prev, ${Re}-jump-next`]:{outline:0,[`${Re}-item-container`]:{position:"relative",[`${Re}-item-link-icon`]:{color:Ve.colorPrimary,fontSize:Ve.fontSizeSM,opacity:0,transition:`all ${Ve.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Re}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ve.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Ve.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ve.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ve.motionDurationMid}`}},"&:hover":{[`${Re}-item-link-icon`]:{opacity:1},[`${Re}-item-ellipsis`]:{opacity:0}}},[`
${Re}-prev,
${Re}-jump-prev,
${Re}-jump-next
`]:{marginInlineEnd:Ve.marginXS},[`
${Re}-prev,
${Re}-next,
${Re}-jump-prev,
${Re}-jump-next
`]:{display:"inline-block",minWidth:Ve.itemSize,height:Ve.itemSize,color:Ve.colorText,fontFamily:Ve.fontFamily,lineHeight:`${Ve.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ve.borderRadius,cursor:"pointer",transition:`all ${Ve.motionDurationMid}`},[`${Re}-prev, ${Re}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ve.colorText,cursor:"pointer",userSelect:"none"},[`${Re}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ve.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ve.lineWidth}px ${Ve.lineType} transparent`,borderRadius:Ve.borderRadius,outline:"none",transition:`all ${Ve.motionDurationMid}`},[`&:hover ${Re}-item-link`]:{backgroundColor:Ve.colorBgTextHover},[`&:active ${Re}-item-link`]:{backgroundColor:Ve.colorBgTextActive},[`&${Re}-disabled:hover`]:{[`${Re}-item-link`]:{backgroundColor:"transparent"}}},[`${Re}-slash`]:{marginInlineEnd:Ve.paginationSlashMarginInlineEnd,marginInlineStart:Ve.paginationSlashMarginInlineStart},[`${Re}-options`]:{display:"inline-block",marginInlineStart:Ve.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ve.controlHeight,marginInlineStart:Ve.marginXS,lineHeight:`${Ve.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ht.ik)(Ve)),{width:Ve.controlHeightLG*1.25,height:Ve.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ve.marginXS,marginInlineEnd:Ve.marginXS})}}}},St=Ve=>{const{componentCls:Re}=Ve;return{[`${Re}-item`]:{display:"inline-block",minWidth:Ve.itemSize,height:Ve.itemSize,marginInlineEnd:Ve.marginXS,fontFamily:Ve.fontFamily,lineHeight:`${Ve.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Ve.lineWidth}px ${Ve.lineType} transparent`,borderRadius:Ve.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ve.paginationItemPaddingInline}px`,color:Ve.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Re}-item-active)`]:{"&:hover":{transition:`all ${Ve.motionDurationMid}`,backgroundColor:Ve.colorBgTextHover},"&:active":{backgroundColor:Ve.colorBgTextActive}},"&-active":{fontWeight:Ve.fontWeightStrong,backgroundColor:Ve.itemActiveBg,borderColor:Ve.colorPrimary,a:{color:Ve.colorPrimary},"&:hover":{borderColor:Ve.colorPrimaryHover},"&:hover a":{color:Ve.colorPrimaryHover}}}}},Ft=Ve=>{const{componentCls:Re}=Ve;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ge.Wf)(Ve)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Re}-total-text`]:{display:"inline-block",height:Ve.itemSize,marginInlineEnd:Ve.marginXS,lineHeight:`${Ve.itemSize-2}px`,verticalAlign:"middle"}}),St(Ve)),Rt(Ve)),Ut(Ve)),Kt(Ve)),Ct(Ve)),{[`@media only screen and (max-width: ${Ve.screenLG}px)`]:{[`${Re}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ve.screenSM}px)`]:{[`${Re}-options`]:{display:"none"}}}),[`&${Ve.componentCls}-rtl`]:{direction:"rtl"}}},Pt=Ve=>{const{componentCls:Re}=Ve;return{[`${Re}${Re}-disabled:not(${Re}-mini)`]:{"&, &:hover":{[`${Re}-item-link`]:{borderColor:Ve.colorBorder}},"&:focus-visible":{[`${Re}-item-link`]:{borderColor:Ve.colorBorder}},[`${Re}-item, ${Re}-item-link`]:{backgroundColor:Ve.colorBgContainerDisabled,borderColor:Ve.colorBorder,[`&:hover:not(${Re}-item-active)`]:{backgroundColor:Ve.colorBgContainerDisabled,borderColor:Ve.colorBorder,a:{color:Ve.colorTextDisabled}},[`&${Re}-item-active`]:{backgroundColor:Ve.itemActiveBgDisabled}},[`${Re}-prev, ${Re}-next`]:{"&:hover button":{backgroundColor:Ve.colorBgContainerDisabled,borderColor:Ve.colorBorder,color:Ve.colorTextDisabled},[`${Re}-item-link`]:{backgroundColor:Ve.colorBgContainerDisabled,borderColor:Ve.colorBorder}}},[`${Re}:not(${Re}-mini)`]:{[`${Re}-prev, ${Re}-next`]:{"&:hover button":{borderColor:Ve.colorPrimaryHover,backgroundColor:Ve.itemBg},[`${Re}-item-link`]:{backgroundColor:Ve.itemLinkBg,borderColor:Ve.colorBorder},[`&:hover ${Re}-item-link`]:{borderColor:Ve.colorPrimary,backgroundColor:Ve.itemBg,color:Ve.colorPrimary},[`&${Re}-disabled`]:{[`${Re}-item-link`]:{borderColor:Ve.colorBorder,color:Ve.colorTextDisabled}}},[`${Re}-item`]:{backgroundColor:Ve.itemBg,border:`${Ve.lineWidth}px ${Ve.lineType} ${Ve.colorBorder}`,[`&:hover:not(${Re}-item-active)`]:{borderColor:Ve.colorPrimary,backgroundColor:Ve.itemBg,a:{color:Ve.colorPrimary}},"&-active":{borderColor:Ve.colorPrimary}}}}},st=Ve=>{const{componentCls:Re}=Ve;return{[`${Re}:not(${Re}-disabled)`]:{[`${Re}-item`]:Object.assign({},(0,Ge.Qy)(Ve)),[`${Re}-jump-prev, ${Re}-jump-next`]:{"&:focus-visible":Object.assign({[`${Re}-item-link-icon`]:{opacity:1},[`${Re}-item-ellipsis`]:{opacity:0}},(0,Ge.oN)(Ve))},[`${Re}-prev, ${Re}-next`]:{[`&:focus-visible ${Re}-item-link`]:Object.assign({},(0,Ge.oN)(Ve))}}}};var Jt=(0,bn.Z)("Pagination",Ve=>{const Re=(0,Dn.TS)(Ve,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ve.marginXXS/2,paginationMiniQuickJumperInputWidth:Ve.controlHeightLG*1.1,paginationItemPaddingInline:Ve.marginXXS*1.5,paginationEllipsisLetterSpacing:Ve.marginXXS/2,paginationSlashMarginInlineStart:Ve.marginXXS,paginationSlashMarginInlineEnd:Ve.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ht.e5)(Ve),(0,Ht.TM)(Ve));return[Ft(Re),st(Re),Ve.wireframe&&Pt(Re)]},Ve=>({itemBg:Ve.colorBgContainer,itemSize:Ve.controlHeight,itemSizeSM:Ve.controlHeightSM,itemActiveBg:Ve.colorBgContainer,itemLinkBg:Ve.colorBgContainer,itemActiveColorDisabled:Ve.colorTextDisabled,itemActiveBgDisabled:Ve.controlItemBgActiveDisabled,itemInputBg:Ve.colorBgContainer,miniOptionsSizeChangerTop:0})),Ot=function(Ve,Re){var In={};for(var we in Ve)Object.prototype.hasOwnProperty.call(Ve,we)&&Re.indexOf(we)<0&&(In[we]=Ve[we]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,we=Object.getOwnPropertySymbols(Ve);He<we.length;He++)Re.indexOf(we[He])<0&&Object.prototype.propertyIsEnumerable.call(Ve,we[He])&&(In[we[He]]=Ve[we[He]]);return In},mn=Ve=>{const{prefixCls:Re,selectPrefixCls:In,className:we,rootClassName:He,style:Wt,size:et,locale:Ye,selectComponentClass:yt,responsive:vt,showSizeChanger:kt}=Ve,En=Ot(Ve,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Lt}=(0,at.Z)(vt),{getPrefixCls:Mt,direction:pt,pagination:an={}}=de.useContext($t.E_),Gt=Mt("pagination",Re),[pn,$n]=Jt(Gt),Fn=kt!=null?kt:an.showSizeChanger,Yn=de.useMemo(()=>{const Na=de.createElement("span",{className:`${Gt}-item-ellipsis`},"\u2022\u2022\u2022"),Ma=de.createElement("button",{className:`${Gt}-item-link`,type:"button",tabIndex:-1},pt==="rtl"?de.createElement(Te.Z,null):de.createElement(Ie.Z,null)),vr=de.createElement("button",{className:`${Gt}-item-link`,type:"button",tabIndex:-1},pt==="rtl"?de.createElement(Ie.Z,null):de.createElement(Te.Z,null)),zr=de.createElement("a",{className:`${Gt}-item-link`},de.createElement("div",{className:`${Gt}-item-container`},pt==="rtl"?de.createElement(Ue.Z,{className:`${Gt}-item-link-icon`}):de.createElement(ie,{className:`${Gt}-item-link-icon`}),Na)),La=de.createElement("a",{className:`${Gt}-item-link`},de.createElement("div",{className:`${Gt}-item-container`},pt==="rtl"?de.createElement(ie,{className:`${Gt}-item-link-icon`}):de.createElement(Ue.Z,{className:`${Gt}-item-link-icon`}),Na));return{prevIcon:Ma,nextIcon:vr,jumpPrevIcon:zr,jumpNextIcon:La}},[pt,Gt]),[fa]=(0,ht.Z)("Pagination",dt.Z),Yt=Object.assign(Object.assign({},fa),Ye),Qt=(0,gn.Z)(et),nn=Qt==="small"||!!(Lt&&!Qt&&vt),ua=Mt("select",In),ra=Be()({[`${Gt}-mini`]:nn,[`${Gt}-rtl`]:pt==="rtl"},an==null?void 0:an.className,we,He,$n),jn=Object.assign(Object.assign({},an==null?void 0:an.style),Wt);return pn(de.createElement(ot,Object.assign({},Yn,En,{style:jn,prefixCls:Gt,selectPrefixCls:ua,className:ra,selectComponentClass:yt||(nn?ut:wt),locale:Yt,showSizeChanger:Fn})))},en=mn},38703:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return Wt}});var x=ee(67294),de=ee(87725),pe=ee(18299),Fe=ee(16646),xe=ee(73475),ke=ee(94184),ie=ee.n(ke),Ue=ee(10366),Ie=ee(53124),Te=ee(87462),ze=ee(1413),Be=ee(45987),me={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},oe=function(){var Ye=(0,x.useRef)([]),yt=(0,x.useRef)(null);return(0,x.useEffect)(function(){var vt=Date.now(),kt=!1;Ye.current.forEach(function(En){if(En){kt=!0;var Lt=En.style;Lt.transitionDuration=".3s, .3s, .3s, .06s",yt.current&&vt-yt.current<100&&(Lt.transitionDuration="0s, 0s")}}),kt&&(yt.current=Date.now())}),Ye.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(Ye){var yt=(0,ze.Z)((0,ze.Z)({},me),Ye),vt=yt.className,kt=yt.percent,En=yt.prefixCls,Lt=yt.strokeColor,Mt=yt.strokeLinecap,pt=yt.strokeWidth,an=yt.style,Gt=yt.trailColor,pn=yt.trailWidth,$n=yt.transition,Fn=(0,Be.Z)(yt,a);delete Fn.gapPosition;var Yn=Array.isArray(kt)?kt:[kt],fa=Array.isArray(Lt)?Lt:[Lt],Yt=oe(),Qt=pt/2,nn=100-pt/2,ua="M ".concat(Mt==="round"?Qt:0,",").concat(Qt,`
L `).concat(Mt==="round"?nn:100,",").concat(Qt),ra="0 0 100 ".concat(pt),jn=0;return x.createElement("svg",(0,Te.Z)({className:ie()("".concat(En,"-line"),vt),viewBox:ra,preserveAspectRatio:"none",style:an},Fn),x.createElement("path",{className:"".concat(En,"-line-trail"),d:ua,strokeLinecap:Mt,stroke:Gt,strokeWidth:pn||pt,fillOpacity:"0"}),Yn.map(function(Na,Ma){var vr=1;switch(Mt){case"round":vr=1-pt/100;break;case"square":vr=1-pt/2/100;break;default:vr=1;break}var zr={strokeDasharray:"".concat(Na*vr,"px, 100px"),strokeDashoffset:"-".concat(jn,"px"),transition:$n||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},La=fa[Ma]||fa[fa.length-1];return jn+=Na,x.createElement("path",{key:Ma,className:"".concat(En,"-line-path"),d:ua,strokeLinecap:Mt,stroke:La,strokeWidth:pt,fillOpacity:"0",ref:function(Dt){Yt[Ma]=Dt},style:zr})}))},b=y,E=ee(71002),z=ee(97685),te=ee(98924),ne=0,re=(0,te.Z)();function ae(){var et;return re?(et=ne,ne+=1):et="TEST_OR_SSR",et}var le=function(et){var Ye=x.useState(),yt=(0,z.Z)(Ye,2),vt=yt[0],kt=yt[1];return x.useEffect(function(){kt("rc_progress_".concat(ae()))},[]),et||vt},he=function(Ye){var yt=Ye.bg,vt=Ye.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:yt}},vt)};function ve(et,Ye){return Object.keys(et).map(function(yt){var vt=parseFloat(yt),kt="".concat(Math.floor(vt*Ye),"%");return"".concat(et[yt]," ").concat(kt)})}var Ce=x.forwardRef(function(et,Ye){var yt=et.prefixCls,vt=et.color,kt=et.gradientId,En=et.radius,Lt=et.style,Mt=et.ptg,pt=et.strokeLinecap,an=et.strokeWidth,Gt=et.size,pn=et.gapDegree,$n=vt&&(0,E.Z)(vt)==="object",Fn=$n?"#FFF":void 0,Yn=Gt/2,fa=x.createElement("circle",{className:"".concat(yt,"-circle-path"),r:En,cx:Yn,cy:Yn,stroke:Fn,strokeLinecap:pt,strokeWidth:an,opacity:Mt===0?0:1,style:Lt,ref:Ye});if(!$n)return fa;var Yt="".concat(kt,"-conic"),Qt=pn?"".concat(180+pn/2,"deg"):"0deg",nn=ve(vt,(360-pn)/360),ua=ve(vt,1),ra="conic-gradient(from ".concat(Qt,", ").concat(nn.join(", "),")"),jn="linear-gradient(to ".concat(pn?"bottom":"top",", ").concat(ua.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:Yt},fa),x.createElement("foreignObject",{x:0,y:0,width:Gt,height:Gt,mask:"url(#".concat(Yt,")")},x.createElement(he,{bg:jn},x.createElement(he,{bg:ra}))))}),be=Ce,ye=100,De=function(Ye,yt,vt,kt,En,Lt,Mt,pt,an,Gt){var pn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,$n=vt/100*360*((360-Lt)/360),Fn=Lt===0?0:{bottom:0,top:180,left:90,right:-90}[Mt],Yn=(100-kt)/100*yt;an==="round"&&kt!==100&&(Yn+=Gt/2,Yn>=yt&&(Yn=yt-.01));var fa=ye/2;return{stroke:typeof pt=="string"?pt:void 0,strokeDasharray:"".concat(yt,"px ").concat(Ye),strokeDashoffset:Yn+pn,transform:"rotate(".concat(En+$n+Fn,"deg)"),transformOrigin:"".concat(fa,"px ").concat(fa,"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}},Oe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function $e(et){var Ye=et!=null?et:[];return Array.isArray(Ye)?Ye:[Ye]}var Le=function(Ye){var yt=(0,ze.Z)((0,ze.Z)({},me),Ye),vt=yt.id,kt=yt.prefixCls,En=yt.steps,Lt=yt.strokeWidth,Mt=yt.trailWidth,pt=yt.gapDegree,an=pt===void 0?0:pt,Gt=yt.gapPosition,pn=yt.trailColor,$n=yt.strokeLinecap,Fn=yt.style,Yn=yt.className,fa=yt.strokeColor,Yt=yt.percent,Qt=(0,Be.Z)(yt,Oe),nn=ye/2,ua=le(vt),ra="".concat(ua,"-gradient"),jn=nn-Lt/2,Na=Math.PI*2*jn,Ma=an>0?90+an/2:-90,vr=Na*((360-an)/360),zr=(0,E.Z)(En)==="object"?En:{count:En,space:2},La=zr.count,Je=zr.space,Dt=$e(Yt),Et=$e(fa),Rn=Et.find(function(co){return co&&(0,E.Z)(co)==="object"}),vn=Rn&&(0,E.Z)(Rn)==="object",Un=vn?"butt":$n,$r=De(Na,vr,0,100,Ma,an,Gt,pn,Un,Lt),Ta=oe(),Cr=function(){var Jn=0;return Dt.map(function(ur,gt){var tn=Et[gt]||Et[Et.length-1],Xt=De(Na,vr,Jn,ur,Ma,an,Gt,tn,Un,Lt);return Jn+=ur,x.createElement(be,{key:gt,color:tn,ptg:ur,radius:jn,prefixCls:kt,gradientId:ra,style:Xt,strokeLinecap:Un,strokeWidth:Lt,gapDegree:an,ref:function(Kn){Ta[gt]=Kn},size:ye})}).reverse()},_r=function(){var Jn=Math.round(La*(Dt[0]/100)),ur=100/La,gt=0;return new Array(La).fill(null).map(function(tn,Xt){var cn=Xt<=Jn-1?Et[0]:pn,Kn=cn&&(0,E.Z)(cn)==="object"?"url(#".concat(ra,")"):void 0,rn=De(Na,vr,gt,ur,Ma,an,Gt,cn,"butt",Lt,Je);return gt+=(vr-rn.strokeDashoffset+Je)*100/vr,x.createElement("circle",{key:Xt,className:"".concat(kt,"-circle-path"),r:jn,cx:nn,cy:nn,stroke:Kn,strokeWidth:Lt,opacity:1,style:rn,ref:function(wn){Ta[Xt]=wn}})})};return x.createElement("svg",(0,Te.Z)({className:ie()("".concat(kt,"-circle"),Yn),viewBox:"0 0 ".concat(ye," ").concat(ye),style:Fn,id:vt,role:"presentation"},Qt),!La&&x.createElement("circle",{className:"".concat(kt,"-circle-trail"),r:jn,cx:nn,cy:nn,stroke:pn,strokeLinecap:Un,strokeWidth:Mt||Lt,style:$r}),La?_r():Cr())},je=Le,We={Line:b,Circle:je},Ke=ee(83062),qe=ee(47448);function ot(et){return!et||et<0?0:et>100?100:et}function dt(et){let{success:Ye,successPercent:yt}=et,vt=yt;return Ye&&"progress"in Ye&&(vt=Ye.progress),Ye&&"percent"in Ye&&(vt=Ye.percent),vt}const $t=et=>{let{percent:Ye,success:yt,successPercent:vt}=et;const kt=ot(dt({success:yt,successPercent:vt}));return[kt,ot(ot(Ye)-kt)]},gn=et=>{let{success:Ye={},strokeColor:yt}=et;const{strokeColor:vt}=Ye;return[vt||qe.presetPrimaryColors.green,yt||null]},at=(et,Ye,yt)=>{var vt,kt,En,Lt;let Mt=-1,pt=-1;if(Ye==="step"){const an=yt.steps,Gt=yt.strokeWidth;typeof et=="string"||typeof et=="undefined"?(Mt=et==="small"?2:14,pt=Gt!=null?Gt:8):typeof et=="number"?[Mt,pt]=[et,et]:[Mt=14,pt=8]=et,Mt*=an}else if(Ye==="line"){const an=yt==null?void 0:yt.strokeWidth;typeof et=="string"||typeof et=="undefined"?pt=an||(et==="small"?6:8):typeof et=="number"?[Mt,pt]=[et,et]:[Mt=-1,pt=8]=et}else(Ye==="circle"||Ye==="dashboard")&&(typeof et=="string"||typeof et=="undefined"?[Mt,pt]=et==="small"?[60,60]:[120,120]:typeof et=="number"?[Mt,pt]=[et,et]:(Mt=(kt=(vt=et[0])!==null&&vt!==void 0?vt:et[1])!==null&&kt!==void 0?kt:120,pt=(Lt=(En=et[0])!==null&&En!==void 0?En:et[1])!==null&&Lt!==void 0?Lt:120));return[Mt,pt]},ht=3,Bt=et=>ht/et*100;var wt=et=>{const{prefixCls:Ye,trailColor:yt=null,strokeLinecap:vt="round",gapPosition:kt,gapDegree:En,width:Lt=120,type:Mt,children:pt,success:an,size:Gt=Lt}=et,[pn,$n]=at(Gt,"circle");let{strokeWidth:Fn}=et;Fn===void 0&&(Fn=Math.max(Bt(pn),6));const Yn={width:pn,height:$n,fontSize:pn*.15+6},fa=x.useMemo(()=>{if(En||En===0)return En;if(Mt==="dashboard")return 75},[En,Mt]),Yt=kt||Mt==="dashboard"&&"bottom"||void 0,Qt=Object.prototype.toString.call(et.strokeColor)==="[object Object]",nn=gn({success:an,strokeColor:et.strokeColor}),ua=ie()(`${Ye}-inner`,{[`${Ye}-circle-gradient`]:Qt}),ra=x.createElement(je,{percent:$t(et),strokeWidth:Fn,trailWidth:Fn,strokeColor:nn,strokeLinecap:vt,trailColor:yt,prefixCls:Ye,gapDegree:fa,gapPosition:Yt});return x.createElement("div",{className:ua,style:Yn},pn<=20?x.createElement(Ke.Z,{title:pt},x.createElement("span",null,ra)):x.createElement(x.Fragment,null,ra,pt))},Ht=function(et,Ye){var yt={};for(var vt in et)Object.prototype.hasOwnProperty.call(et,vt)&&Ye.indexOf(vt)<0&&(yt[vt]=et[vt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,vt=Object.getOwnPropertySymbols(et);kt<vt.length;kt++)Ye.indexOf(vt[kt])<0&&Object.prototype.propertyIsEnumerable.call(et,vt[kt])&&(yt[vt[kt]]=et[vt[kt]]);return yt};const Ge=et=>{let Ye=[];return Object.keys(et).forEach(yt=>{const vt=parseFloat(yt.replace(/%/g,""));isNaN(vt)||Ye.push({key:vt,value:et[yt]})}),Ye=Ye.sort((yt,vt)=>yt.key-vt.key),Ye.map(yt=>{let{key:vt,value:kt}=yt;return`${kt} ${vt}%`}).join(", ")},bn=(et,Ye)=>{const{from:yt=qe.presetPrimaryColors.blue,to:vt=qe.presetPrimaryColors.blue,direction:kt=Ye==="rtl"?"to left":"to right"}=et,En=Ht(et,["from","to","direction"]);if(Object.keys(En).length!==0){const Lt=Ge(En);return{backgroundImage:`linear-gradient(${kt}, ${Lt})`}}return{backgroundImage:`linear-gradient(${kt}, ${yt}, ${vt})`}};var Ct=et=>{const{prefixCls:Ye,direction:yt,percent:vt,size:kt,strokeWidth:En,strokeColor:Lt,strokeLinecap:Mt="round",children:pt,trailColor:an=null,success:Gt}=et,pn=Lt&&typeof Lt!="string"?bn(Lt,yt):{backgroundColor:Lt},$n=Mt==="square"||Mt==="butt"?0:void 0,Fn={backgroundColor:an||void 0,borderRadius:$n},Yn=kt!=null?kt:[-1,En||(kt==="small"?6:8)],[fa,Yt]=at(Yn,"line",{strokeWidth:En}),Qt=Object.assign({width:`${ot(vt)}%`,height:Yt,borderRadius:$n},pn),nn=dt(et),ua={width:`${ot(nn)}%`,height:Yt,borderRadius:$n,backgroundColor:Gt==null?void 0:Gt.strokeColor},ra={width:fa<0?"100%":fa,height:Yt};return x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ye}-outer`,style:ra},x.createElement("div",{className:`${Ye}-inner`,style:Fn},x.createElement("div",{className:`${Ye}-bg`,style:Qt}),nn!==void 0?x.createElement("div",{className:`${Ye}-success-bg`,style:ua}):null)),pt)},Ut=et=>{const{size:Ye,steps:yt,percent:vt=0,strokeWidth:kt=8,strokeColor:En,trailColor:Lt=null,prefixCls:Mt,children:pt}=et,an=Math.round(yt*(vt/100)),Gt=Ye==="small"?2:14,pn=Ye!=null?Ye:[Gt,kt],[$n,Fn]=at(pn,"step",{steps:yt,strokeWidth:kt}),Yn=$n/yt,fa=new Array(yt);for(let Yt=0;Yt<yt;Yt++){const Qt=Array.isArray(En)?En[Yt]:En;fa[Yt]=x.createElement("div",{key:Yt,className:ie()(`${Mt}-steps-item`,{[`${Mt}-steps-item-active`]:Yt<=an-1}),style:{backgroundColor:Yt<=an-1?Qt:Lt,width:Yn,height:Fn}})}return x.createElement("div",{className:`${Mt}-steps-outer`},fa,pt)},Rt=ee(45930),St=ee(14747),Ft=ee(67968),Pt=ee(45503);const st=et=>{const Ye=et?"100%":"-100%";return new Rt.Keyframes(`antProgress${et?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ye}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ye}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Jt=et=>{const{componentCls:Ye,iconCls:yt}=et;return{[Ye]:Object.assign(Object.assign({},(0,St.Wf)(et)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:et.fontSize,marginInlineEnd:et.marginXS,marginBottom:et.marginXS},[`${Ye}-outer`]:{display:"inline-block",width:"100%"},[`&${Ye}-show-info`]:{[`${Ye}-outer`]:{marginInlineEnd:`calc(-2em - ${et.marginXS}px)`,paddingInlineEnd:`calc(2em + ${et.paddingXS}px)`}},[`${Ye}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:et.remainingColor,borderRadius:et.lineBorderRadius},[`${Ye}-inner:not(${Ye}-circle-gradient)`]:{[`${Ye}-circle-path`]:{stroke:et.defaultColor}},[`${Ye}-success-bg, ${Ye}-bg`]:{position:"relative",backgroundColor:et.defaultColor,borderRadius:et.lineBorderRadius,transition:`all ${et.motionDurationSlow} ${et.motionEaseInOutCirc}`},[`${Ye}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:et.colorSuccess},[`${Ye}-text`]:{display:"inline-block",width:"2em",marginInlineStart:et.marginXS,color:et.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[yt]:{fontSize:et.fontSize}},[`&${Ye}-status-active`]:{[`${Ye}-bg::before`]:{position:"absolute",inset:0,backgroundColor:et.colorBgContainer,borderRadius:et.lineBorderRadius,opacity:0,animationName:st(),animationDuration:et.progressActiveMotionDuration,animationTimingFunction:et.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ye}-rtl${Ye}-status-active`]:{[`${Ye}-bg::before`]:{animationName:st(!0)}},[`&${Ye}-status-exception`]:{[`${Ye}-bg`]:{backgroundColor:et.colorError},[`${Ye}-text`]:{color:et.colorError}},[`&${Ye}-status-exception ${Ye}-inner:not(${Ye}-circle-gradient)`]:{[`${Ye}-circle-path`]:{stroke:et.colorError}},[`&${Ye}-status-success`]:{[`${Ye}-bg`]:{backgroundColor:et.colorSuccess},[`${Ye}-text`]:{color:et.colorSuccess}},[`&${Ye}-status-success ${Ye}-inner:not(${Ye}-circle-gradient)`]:{[`${Ye}-circle-path`]:{stroke:et.colorSuccess}}})}},Ot=et=>{const{componentCls:Ye,iconCls:yt}=et;return{[Ye]:{[`${Ye}-circle-trail`]:{stroke:et.remainingColor},[`&${Ye}-circle ${Ye}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ye}-circle ${Ye}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:et.circleTextColor,fontSize:et.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[yt]:{fontSize:`${et.fontSize/et.fontSizeSM}em`}},[`${Ye}-circle&-status-exception`]:{[`${Ye}-text`]:{color:et.colorError}},[`${Ye}-circle&-status-success`]:{[`${Ye}-text`]:{color:et.colorSuccess}}},[`${Ye}-inline-circle`]:{lineHeight:1,[`${Ye}-inner`]:{verticalAlign:"bottom"}}}},xt=et=>{const{componentCls:Ye}=et;return{[Ye]:{[`${Ye}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:et.progressStepMinWidth,marginInlineEnd:et.progressStepMarginInlineEnd,backgroundColor:et.remainingColor,transition:`all ${et.motionDurationSlow}`,"&-active":{backgroundColor:et.defaultColor}}}}}},mn=et=>{const{componentCls:Ye,iconCls:yt}=et;return{[Ye]:{[`${Ye}-small&-line, ${Ye}-small&-line ${Ye}-text ${yt}`]:{fontSize:et.fontSizeSM}}}};var en=(0,Ft.Z)("Progress",et=>{const Ye=et.marginXXS/2,yt=(0,Pt.TS)(et,{progressStepMarginInlineEnd:Ye,progressStepMinWidth:Ye,progressActiveMotionDuration:"2.4s"});return[Jt(yt),Ot(yt),xt(yt),mn(yt)]},et=>({circleTextColor:et.colorText,defaultColor:et.colorInfo,remainingColor:et.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Ve=function(et,Ye){var yt={};for(var vt in et)Object.prototype.hasOwnProperty.call(et,vt)&&Ye.indexOf(vt)<0&&(yt[vt]=et[vt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,vt=Object.getOwnPropertySymbols(et);kt<vt.length;kt++)Ye.indexOf(vt[kt])<0&&Object.prototype.propertyIsEnumerable.call(et,vt[kt])&&(yt[vt[kt]]=et[vt[kt]]);return yt};const Re=null,In=["normal","exception","active","success"];var He=x.forwardRef((et,Ye)=>{const{prefixCls:yt,className:vt,rootClassName:kt,steps:En,strokeColor:Lt,percent:Mt=0,size:pt="default",showInfo:an=!0,type:Gt="line",status:pn,format:$n,style:Fn}=et,Yn=Ve(et,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),fa=x.useMemo(()=>{var Dt,Et;const Rn=dt(et);return parseInt(Rn!==void 0?(Dt=Rn!=null?Rn:0)===null||Dt===void 0?void 0:Dt.toString():(Et=Mt!=null?Mt:0)===null||Et===void 0?void 0:Et.toString(),10)},[Mt,et.success,et.successPercent]),Yt=x.useMemo(()=>!In.includes(pn)&&fa>=100?"success":pn||"normal",[pn,fa]),{getPrefixCls:Qt,direction:nn,progress:ua}=x.useContext(Ie.E_),ra=Qt("progress",yt),[jn,Na]=en(ra),Ma=x.useMemo(()=>{if(!an)return null;const Dt=dt(et);let Et;const Rn=$n||(Un=>`${Un}%`),vn=Gt==="line";return $n||Yt!=="exception"&&Yt!=="success"?Et=Rn(ot(Mt),ot(Dt)):Yt==="exception"?Et=vn?x.createElement(Fe.Z,null):x.createElement(xe.Z,null):Yt==="success"&&(Et=vn?x.createElement(de.Z,null):x.createElement(pe.Z,null)),x.createElement("span",{className:`${ra}-text`,title:typeof Et=="string"?Et:void 0},Et)},[an,Mt,fa,Yt,Gt,ra,$n]),vr=Array.isArray(Lt)?Lt[0]:Lt,zr=typeof Lt=="string"||Array.isArray(Lt)?Lt:void 0;let La;Gt==="line"?La=En?x.createElement(Ut,Object.assign({},et,{strokeColor:zr,prefixCls:ra,steps:En}),Ma):x.createElement(Ct,Object.assign({},et,{strokeColor:vr,prefixCls:ra,direction:nn}),Ma):(Gt==="circle"||Gt==="dashboard")&&(La=x.createElement(wt,Object.assign({},et,{strokeColor:vr,prefixCls:ra,progressStatus:Yt}),Ma));const Je=ie()(ra,`${ra}-status-${Yt}`,`${ra}-${Gt==="dashboard"&&"circle"||En&&"steps"||Gt}`,{[`${ra}-inline-circle`]:Gt==="circle"&&at(pt,"circle")[0]<=20,[`${ra}-show-info`]:an,[`${ra}-${pt}`]:typeof pt=="string",[`${ra}-rtl`]:nn==="rtl"},ua==null?void 0:ua.className,vt,kt,Na);return jn(x.createElement("div",Object.assign({ref:Ye,style:Object.assign(Object.assign({},ua==null?void 0:ua.style),Fn),className:Je,role:"progressbar","aria-valuenow":fa},(0,Ue.Z)(Yn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),La))}),Wt=He},49867:function(ct,it,ee){"use strict";ee.d(it,{N:function(){return x}});const x=de=>({color:de.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${de.motionDurationSlow}`,"&:focus, &:hover":{color:de.colorLinkHover},"&:active":{color:de.colorLinkActive}})},9430:function(ct,it,ee){"use strict";ee.d(it,{default:function(){return xu}});var x={},de="rc-table-internal-hook",pe=ee(97685),Fe=ee(66680),xe=ee(8410),ke=ee(91881),ie=ee(67294),Ue=ee(73935);function Ie(ue){var ge=ie.createContext(void 0),Ae=function(Ze){var nt=Ze.value,ft=Ze.children,It=ie.useRef(nt);It.current=nt;var Nt=ie.useState(function(){return{getValue:function(){return It.current},listeners:new Set}}),Vt=(0,pe.Z)(Nt,1),fn=Vt[0];return(0,xe.Z)(function(){(0,Ue.unstable_batchedUpdates)(function(){fn.listeners.forEach(function(qt){qt(nt)})})},[nt]),ie.createElement(ge.Provider,{value:fn},ft)};return{Context:ge,Provider:Ae,defaultValue:ue}}function Te(ue,ge){var Ae=(0,Fe.Z)(typeof ge=="function"?ge:function(qt){if(ge===void 0)return qt;if(!Array.isArray(ge))return qt[ge];var Wn={};return ge.forEach(function(Hn){Wn[Hn]=qt[Hn]}),Wn}),Me=ie.useContext(ue==null?void 0:ue.Context),Ze=Me||{},nt=Ze.listeners,ft=Ze.getValue,It=ie.useRef();It.current=Ae(Me?ft():ue==null?void 0:ue.defaultValue);var Nt=ie.useState({}),Vt=(0,pe.Z)(Nt,2),fn=Vt[1];return(0,xe.Z)(function(){if(!Me)return;function qt(Wn){var Hn=Ae(Wn);(0,ke.Z)(It.current,Hn,!0)||fn({})}return nt.add(qt),function(){nt.delete(qt)}},[Me]),It.current}var ze=ee(87462),Be=ee(42550);function me(){var ue=ie.createContext(null);function ge(){return ie.useContext(ue)}function Ae(Ze,nt){var ft=(0,Be.Yr)(Ze),It=function(Vt,fn){var qt=ft?{ref:fn}:{},Wn=ie.useRef(0),Hn=ie.useRef(Vt),Gn=ge();return Gn!==null?ie.createElement(Ze,(0,ze.Z)({},Vt,qt)):((!nt||nt(Hn.current,Vt))&&(Wn.current+=1),Hn.current=Vt,ie.createElement(ue.Provider,{value:Wn.current},ie.createElement(Ze,(0,ze.Z)({},Vt,qt))))};return ft?ie.forwardRef(It):It}function Me(Ze,nt){var ft=(0,Be.Yr)(Ze),It=function(Vt,fn){var qt=ft?{ref:fn}:{};return ge(),ie.createElement(Ze,(0,ze.Z)({},Vt,qt))};return ft?ie.memo(ie.forwardRef(It),nt):ie.memo(It,nt)}return{makeImmutable:Ae,responseImmutable:Me,useImmutableMark:ge}}var oe=me(),a=oe.makeImmutable,y=oe.responseImmutable,b=oe.useImmutableMark,E=me(),z=E.makeImmutable,te=E.responseImmutable,ne=E.useImmutableMark,re=Ie(),ae=re;function le(ue,ge){var Ae=ie.useRef(0);Ae.current+=1;var Me=ie.useRef(ue),Ze=[];Object.keys(ue||{}).map(function(ft){var It;(ue==null?void 0:ue[ft])!==((It=Me.current)===null||It===void 0?void 0:It[ft])&&Ze.push(ft)}),Me.current=ue;var nt=ie.useRef([]);return Ze.length&&(nt.current=Ze),ie.useDebugValue(Ae.current),ie.useDebugValue(nt.current.join(", ")),ge&&console.log("".concat(ge,":"),Ae.current,nt.current),Ae.current}var he=null,ve=ie.memo(function(){var ue=le();return ie.createElement("h1",null,"Render Times: ",ue)});ve.displayName="RenderBlock";var Ce=ee(71002),be=ee(1413),ye=ee(4942),De=ee(94184),Oe=ee.n(De);function $e(ue,ge,Ae){var Me=ie.useRef({});return(!("value"in Me.current)||Ae(Me.current.condition,ge))&&(Me.current.value=ue(),Me.current.condition=ge),Me.current.value}var Le={},je=[],We=function(ge){je.push(ge)};function Ke(ue,ge){if(0)var Ae}function qe(ue,ge){if(0)var Ae}function ot(){Le={}}function dt(ue,ge,Ae){!ge&&!Le[Ae]&&(ue(!1,Ae),Le[Ae]=!0)}function $t(ue,ge){dt(Ke,ue,ge)}function gn(ue,ge){dt(qe,ue,ge)}$t.preMessage=We,$t.resetWarned=ot,$t.noteOnce=gn;var at=$t;function ht(ue,ge){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Me=new Set;function Ze(nt,ft){var It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Nt=Me.has(nt);if(at(!Nt,"Warning: There may be circular references"),Nt)return!1;if(nt===ft)return!0;if(Ae&&It>1)return!1;Me.add(nt);var Vt=It+1;if(Array.isArray(nt)){if(!Array.isArray(ft)||nt.length!==ft.length)return!1;for(var fn=0;fn<nt.length;fn++)if(!Ze(nt[fn],ft[fn],Vt))return!1;return!0}if(nt&&ft&&(0,Ce.Z)(nt)==="object"&&(0,Ce.Z)(ft)==="object"){var qt=Object.keys(nt);return qt.length!==Object.keys(ft).length?!1:qt.every(function(Wn){return Ze(nt[Wn],ft[Wn],Vt)})}return!1}return Ze(ue,ge)}var Bt=ht;function ut(ue,ge){for(var Ae=ue,Me=0;Me<ge.length;Me+=1){if(Ae==null)return;Ae=Ae[ge[Me]]}return Ae}var wt=ie.createContext({renderWithProps:!1}),Ht=wt,Ge="RC_TABLE_KEY";function bn(ue){return ue==null?[]:Array.isArray(ue)?ue:[ue]}function Dn(ue){var ge=[],Ae={};return ue.forEach(function(Me){for(var Ze=Me||{},nt=Ze.key,ft=Ze.dataIndex,It=nt||bn(ft).join("-")||Ge;Ae[It];)It="".concat(It,"_next");Ae[It]=!0,ge.push(It)}),ge}function Ct(ue){return ue!=null}function Kt(ue){return ue&&(0,Ce.Z)(ue)==="object"&&!Array.isArray(ue)&&!ie.isValidElement(ue)}function Ut(ue,ge,Ae,Me,Ze,nt){var ft=ie.useContext(Ht),It=ne(),Nt=$e(function(){if(Ct(Me))return[Me];var Vt=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],fn=ut(ue,Vt),qt=fn,Wn=void 0;if(Ze){var Hn=Ze(fn,ue,Ae);Kt(Hn)?(qt=Hn.children,Wn=Hn.props,ft.renderWithProps=!0):qt=Hn}return[qt,Wn]},[It,ue,Me,ge,Ze,Ae],function(Vt,fn){if(nt){var qt=(0,pe.Z)(Vt,2),Wn=qt[1],Hn=(0,pe.Z)(fn,2),Gn=Hn[1];return nt(Gn,Wn)}return ft.renderWithProps?!0:!Bt(Vt,fn,!0)});return Nt}function Rt(ue,ge,Ae,Me){var Ze=ue+ge-1;return ue<=Me&&Ze>=Ae}function St(ue,ge){return Te(ae,function(Ae){var Me=Rt(ue,ge||1,Ae.hoverStartRow,Ae.hoverEndRow);return[Me,Ae.onHover]})}var Ft=function(ge){var Ae=ge.ellipsis,Me=ge.rowType,Ze=ge.children,nt,ft=Ae===!0?{showTitle:!0}:Ae;return ft&&(ft.showTitle||Me==="header")&&(typeof Ze=="string"||typeof Ze=="number"?nt=Ze.toString():ie.isValidElement(Ze)&&typeof Ze.props.children=="string"&&(nt=Ze.props.children)),nt};function Pt(ue){var ge,Ae,Me,Ze,nt,ft,It,Nt,Vt=ue.component,fn=ue.children,qt=ue.ellipsis,Wn=ue.scope,Hn=ue.prefixCls,Gn=ue.className,ta=ue.align,Pn=ue.record,va=ue.render,ia=ue.dataIndex,Ha=ue.renderIndex,gr=ue.shouldCellUpdate,Pr=ue.index,nr=ue.rowType,Lr=ue.colSpan,Jr=ue.rowSpan,_a=ue.fixLeft,or=ue.fixRight,Va=ue.firstFixLeft,ja=ue.lastFixLeft,qa=ue.firstFixRight,Tr=ue.lastFixRight,no=ue.appendNode,Gr=ue.additionalProps,br=Gr===void 0?{}:Gr,ro=ue.isSticky,po="".concat(Hn,"-cell"),_o=Te(ae,["supportSticky","allColumnsFixedLeft"]),bo=_o.supportSticky,Si=_o.allColumnsFixedLeft,Pi=Ut(Pn,ia,Ha,fn,va,gr),qr=(0,pe.Z)(Pi,2),Bi=qr[0],No=qr[1],mi={},ui=typeof _a=="number"&&bo,pl=typeof or=="number"&&bo;ui&&(mi.position="sticky",mi.left=_a),pl&&(mi.position="sticky",mi.right=or);var yr=(ge=(Ae=(Me=No==null?void 0:No.colSpan)!==null&&Me!==void 0?Me:br.colSpan)!==null&&Ae!==void 0?Ae:Lr)!==null&&ge!==void 0?ge:1,Ar=(Ze=(nt=(ft=No==null?void 0:No.rowSpan)!==null&&ft!==void 0?ft:br.rowSpan)!==null&&nt!==void 0?nt:Jr)!==null&&Ze!==void 0?Ze:1,Fr=St(Pr,Ar),pr=(0,pe.Z)(Fr,2),Oo=pr[0],hr=pr[1],Ur=function(Ti){var hl;Pn&&hr(Pr,Pr+Ar-1),br==null||(hl=br.onMouseEnter)===null||hl===void 0||hl.call(br,Ti)},Bo=function(Ti){var hl;Pn&&hr(-1,-1),br==null||(hl=br.onMouseLeave)===null||hl===void 0||hl.call(br,Ti)};if(yr===0||Ar===0)return null;var ho=(It=br.title)!==null&&It!==void 0?It:Ft({rowType:nr,ellipsis:qt,children:Bi}),ol=Oe()(po,Gn,(Nt={},(0,ye.Z)(Nt,"".concat(po,"-fix-left"),ui&&bo),(0,ye.Z)(Nt,"".concat(po,"-fix-left-first"),Va&&bo),(0,ye.Z)(Nt,"".concat(po,"-fix-left-last"),ja&&bo),(0,ye.Z)(Nt,"".concat(po,"-fix-left-all"),ja&&Si&&bo),(0,ye.Z)(Nt,"".concat(po,"-fix-right"),pl&&bo),(0,ye.Z)(Nt,"".concat(po,"-fix-right-first"),qa&&bo),(0,ye.Z)(Nt,"".concat(po,"-fix-right-last"),Tr&&bo),(0,ye.Z)(Nt,"".concat(po,"-ellipsis"),qt),(0,ye.Z)(Nt,"".concat(po,"-with-append"),no),(0,ye.Z)(Nt,"".concat(po,"-fix-sticky"),(ui||pl)&&ro&&bo),(0,ye.Z)(Nt,"".concat(po,"-row-hover"),!No&&Oo),Nt),br.className,No==null?void 0:No.className),tl={};ta&&(tl.textAlign=ta);var Nl=(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)({},mi),br.style),tl),No==null?void 0:No.style),Mi=Bi;return(0,Ce.Z)(Mi)==="object"&&!Array.isArray(Mi)&&!ie.isValidElement(Mi)&&(Mi=null),qt&&(ja||qa)&&(Mi=ie.createElement("span",{className:"".concat(po,"-content")},Mi)),ie.createElement(Vt,(0,ze.Z)({},No,br,{className:ol,style:Nl,title:ho,scope:Wn,onMouseEnter:Ur,onMouseLeave:Bo,colSpan:yr!==1?yr:null,rowSpan:Ar!==1?Ar:null}),no,Mi)}var st=ie.memo(Pt);function Jt(ue,ge,Ae,Me,Ze,nt){var ft=Ae[ue]||{},It=Ae[ge]||{},Nt,Vt;ft.fixed==="left"?Nt=Me.left[Ze==="rtl"?ge:ue]:It.fixed==="right"&&(Vt=Me.right[Ze==="rtl"?ue:ge]);var fn=!1,qt=!1,Wn=!1,Hn=!1,Gn=Ae[ge+1],ta=Ae[ue-1],Pn=!(nt!=null&&nt.children);if(Ze==="rtl"){if(Nt!==void 0){var va=ta&&ta.fixed==="left";Hn=!va&&Pn}else if(Vt!==void 0){var ia=Gn&&Gn.fixed==="right";Wn=!ia&&Pn}}else if(Nt!==void 0){var Ha=Gn&&Gn.fixed==="left";fn=!Ha&&Pn}else if(Vt!==void 0){var gr=ta&&ta.fixed==="right";qt=!gr&&Pn}return{fixLeft:Nt,fixRight:Vt,lastFixLeft:fn,firstFixRight:qt,lastFixRight:Wn,firstFixLeft:Hn,isSticky:Me.isSticky}}var Ot=ie.createContext({}),xt=Ot;function mn(ue){var ge=ue.className,Ae=ue.index,Me=ue.children,Ze=ue.colSpan,nt=Ze===void 0?1:Ze,ft=ue.rowSpan,It=ue.align,Nt=Te(ae,["prefixCls","direction"]),Vt=Nt.prefixCls,fn=Nt.direction,qt=ie.useContext(xt),Wn=qt.scrollColumnIndex,Hn=qt.stickyOffsets,Gn=qt.flattenColumns,ta=qt.columns,Pn=Ae+nt-1,va=Pn+1===Wn?nt+1:nt,ia=Jt(Ae,Ae+va-1,Gn,Hn,fn,ta==null?void 0:ta[Ae]);return ie.createElement(st,(0,ze.Z)({className:ge,index:Ae,component:"td",prefixCls:Vt,record:null,dataIndex:null,align:It,colSpan:va,rowSpan:ft,render:function(){return Me}},ia))}var en=ee(45987),Ve=["children"];function Re(ue){var ge=ue.children,Ae=(0,en.Z)(ue,Ve);return ie.createElement("tr",Ae,ge)}function In(ue){var ge=ue.children;return ge}In.Row=Re,In.Cell=mn;var we=In;function He(ue){var ge=ue.children,Ae=ue.stickyOffsets,Me=ue.flattenColumns,Ze=ue.columns,nt=Te(ae,"prefixCls"),ft=Me.length-1,It=Me[ft],Nt=ie.useMemo(function(){return{stickyOffsets:Ae,flattenColumns:Me,scrollColumnIndex:It!=null&&It.scrollbar?ft:null,columns:Ze}},[It,Me,ft,Ae,Ze]);return ie.createElement(xt.Provider,{value:Nt},ie.createElement("tfoot",{className:"".concat(nt,"-summary")},ge))}var Wt=te(He),et=we;function Ye(ue){var ge=ie.useRef();ge.current=ue;var Ae=ie.useCallback(function(){for(var Me,Ze=arguments.length,nt=new Array(Ze),ft=0;ft<Ze;ft++)nt[ft]=arguments[ft];return(Me=ge.current)===null||Me===void 0?void 0:Me.call.apply(Me,[ge].concat(nt))},[]);return Ae}function yt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var vt=yt()?ie.useLayoutEffect:ie.useEffect,kt=function(ge,Ae){var Me=React.useRef(!0);vt(function(){return ge(Me.current)},Ae),vt(function(){return Me.current=!1,function(){Me.current=!0}},[])},En=function(ge,Ae){kt(function(Me){if(!Me)return ge()},Ae)},Lt=null;function Mt(ue){var ge=React.useRef(!1),Ae=React.useState(ue),Me=_slicedToArray(Ae,2),Ze=Me[0],nt=Me[1];React.useEffect(function(){return ge.current=!1,function(){ge.current=!0}},[]);function ft(It,Nt){Nt&&ge.current||nt(It)}return[Ze,ft]}function pt(ue){return ue!==void 0}function an(ue,ge){var Ae=ge||{},Me=Ae.defaultValue,Ze=Ae.value,nt=Ae.onChange,ft=Ae.postState,It=useState(function(){return pt(Ze)?Ze:pt(Me)?typeof Me=="function"?Me():Me:typeof ue=="function"?ue():ue}),Nt=_slicedToArray(It,2),Vt=Nt[0],fn=Nt[1],qt=Ze!==void 0?Ze:Vt,Wn=ft?ft(qt):qt,Hn=useEvent(nt),Gn=useState([qt]),ta=_slicedToArray(Gn,2),Pn=ta[0],va=ta[1];useLayoutUpdateEffect(function(){var Ha=Pn[0];Vt!==Ha&&Hn(Vt,Ha)},[Pn]),useLayoutUpdateEffect(function(){pt(Ze)||fn(Ze)},[Ze]);var ia=useEvent(function(Ha,gr){fn(Ha,gr),va([qt],gr)});return[Wn,ia]}var Gt=ee(35110);function pn(ue,ge){typeof ue=="function"?ue(ge):(0,Ce.Z)(ue)==="object"&&ue&&"current"in ue&&(ue.current=ge)}function $n(){for(var ue=arguments.length,ge=new Array(ue),Ae=0;Ae<ue;Ae++)ge[Ae]=arguments[Ae];var Me=ge.filter(function(Ze){return Ze});return Me.length<=1?Me[0]:function(Ze){ge.forEach(function(nt){pn(nt,Ze)})}}function Fn(){for(var ue=arguments.length,ge=new Array(ue),Ae=0;Ae<ue;Ae++)ge[Ae]=arguments[Ae];return useMemo(function(){return $n.apply(void 0,ge)},ge,function(Me,Ze){return Me.length!==Ze.length||Me.every(function(nt,ft){return nt!==Ze[ft]})})}function Yn(ue){var ge,Ae,Me=isMemo(ue)?ue.type.type:ue.type;return!(typeof Me=="function"&&!((ge=Me.prototype)!==null&&ge!==void 0&&ge.render)||typeof ue=="function"&&!((Ae=ue.prototype)!==null&&Ae!==void 0&&Ae.render))}function fa(ue){return!isValidElement(ue)||isFragment(ue)?!1:Yn(ue)}function Yt(ue,ge,Ae,Me){if(!ge.length)return Ae;var Ze=_toArray(ge),nt=Ze[0],ft=Ze.slice(1),It;return!ue&&typeof nt=="number"?It=[]:Array.isArray(ue)?It=_toConsumableArray(ue):It=_objectSpread({},ue),Me&&Ae===void 0&&ft.length===1?delete It[nt][ft[0]]:It[nt]=Yt(It[nt],ft,Ae,Me),It}function Qt(ue,ge,Ae){var Me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ge.length&&Me&&Ae===void 0&&!get(ue,ge.slice(0,-1))?ue:Yt(ue,ge,Ae,Me)}function nn(ue){return _typeof(ue)==="object"&&ue!==null&&Object.getPrototypeOf(ue)===Object.prototype}function ua(ue){return Array.isArray(ue)?[]:{}}var ra=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function jn(){for(var ue=arguments.length,ge=new Array(ue),Ae=0;Ae<ue;Ae++)ge[Ae]=arguments[Ae];var Me=ua(ge[0]);return ge.forEach(function(Ze){function nt(ft,It){var Nt=new Set(It),Vt=get(Ze,ft),fn=Array.isArray(Vt);if(fn||nn(Vt)){if(!Nt.has(Vt)){Nt.add(Vt);var qt=get(Me,ft);fn?Me=Qt(Me,ft,[]):(!qt||_typeof(qt)!=="object")&&(Me=Qt(Me,ft,ua(Vt))),ra(Vt).forEach(function(Wn){nt([].concat(_toConsumableArray(ft),[Wn]),Nt)})}}else Me=Qt(Me,ft,Vt)}nt([])}),Me}var Na=ee(48555),Ma=function(ue){if(!ue)return!1;if(ue instanceof Element){if(ue.offsetParent)return!0;if(ue.getBBox){var ge=ue.getBBox(),Ae=ge.width,Me=ge.height;if(Ae||Me)return!0}if(ue.getBoundingClientRect){var Ze=ue.getBoundingClientRect(),nt=Ze.width,ft=Ze.height;if(nt||ft)return!0}}return!1},vr=function(ge){if(yt()&&window.document.documentElement){var Ae=Array.isArray(ge)?ge:[ge],Me=window.document.documentElement;return Ae.some(function(Ze){return Ze in Me.style})}return!1},zr=function(ge,Ae){if(!vr(ge))return!1;var Me=document.createElement("div"),Ze=Me.style[ge];return Me.style[ge]=Ae,Me.style[ge]!==Ze};function La(ue,ge){return!Array.isArray(ue)&&ge!==void 0?zr(ue,ge):vr(ue)}var Je;function Dt(ue){if(typeof document=="undefined")return 0;if(ue||Je===void 0){var ge=document.createElement("div");ge.style.width="100%",ge.style.height="200px";var Ae=document.createElement("div"),Me=Ae.style;Me.position="absolute",Me.top="0",Me.left="0",Me.pointerEvents="none",Me.visibility="hidden",Me.width="200px",Me.height="150px",Me.overflow="hidden",Ae.appendChild(ge),document.body.appendChild(Ae);var Ze=ge.offsetWidth;Ae.style.overflow="scroll";var nt=ge.offsetWidth;Ze===nt&&(nt=Ae.clientWidth),document.body.removeChild(Ae),Je=Ze-nt}return Je}function Et(ue){var ge=ue.match(/^(.*)px$/),Ae=Number(ge==null?void 0:ge[1]);return Number.isNaN(Ae)?Dt():Ae}function Rn(ue){if(typeof document=="undefined"||!ue||!(ue instanceof Element))return{width:0,height:0};var ge=getComputedStyle(ue,"::-webkit-scrollbar"),Ae=ge.width,Me=ge.height;return{width:Et(Ae),height:Et(Me)}}var vn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Un=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,$r="".concat(vn," ").concat(Un).split(/[\s\n]+/),Ta="aria-",Cr="data-";function _r(ue,ge){return ue.indexOf(ge)===0}function co(ue){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ae;ge===!1?Ae={aria:!0,data:!0,attr:!0}:ge===!0?Ae={aria:!0}:Ae=(0,be.Z)({},ge);var Me={};return Object.keys(ue).forEach(function(Ze){(Ae.aria&&(Ze==="role"||_r(Ze,Ta))||Ae.data&&_r(Ze,Cr)||Ae.attr&&$r.includes(Ze))&&(Me[Ze]=ue[Ze])}),Me}function Jn(ue,ge,Ae,Me,Ze,nt,ft){ue.push({record:ge,indent:Ae,index:ft});var It=nt(ge),Nt=Ze==null?void 0:Ze.has(It);if(ge&&Array.isArray(ge[Me])&&Nt)for(var Vt=0;Vt<ge[Me].length;Vt+=1)Jn(ue,ge[Me][Vt],Ae+1,Me,Ze,nt,Vt)}function ur(ue,ge,Ae,Me){var Ze=ie.useMemo(function(){if(Ae!=null&&Ae.size){for(var nt=[],ft=0;ft<(ue==null?void 0:ue.length);ft+=1){var It=ue[ft];Jn(nt,It,0,ge,Ae,Me,ft)}return nt}return ue==null?void 0:ue.map(function(Nt,Vt){return{record:Nt,indent:0,index:Vt}})},[ue,ge,Ae,Me]);return Ze}function gt(ue){var ge=ue.prefixCls,Ae=ue.children,Me=ue.component,Ze=ue.cellComponent,nt=ue.className,ft=ue.expanded,It=ue.colSpan,Nt=ue.isEmpty,Vt=Te(ae,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),fn=Vt.scrollbarSize,qt=Vt.fixHeader,Wn=Vt.fixColumn,Hn=Vt.componentWidth,Gn=Vt.horizonScroll,ta=Ae;return(Nt?Gn&&Hn:Wn)&&(ta=ie.createElement("div",{style:{width:Hn-(qt?fn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},ta)),ie.createElement(Me,{className:nt,style:{display:ft?null:"none"}},ie.createElement(st,{component:Ze,prefixCls:ge,colSpan:It},ta))}var tn=gt;function Xt(ue,ge,Ae,Me){var Ze=Te(ae,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),nt=Ze.flattenColumns,ft=Ze.expandableType,It=Ze.expandedKeys,Nt=Ze.childrenColumnName,Vt=Ze.onTriggerExpand,fn=Ze.rowExpandable,qt=Ze.onRow,Wn=Ze.expandRowByClick,Hn=Ze.rowClassName,Gn=ft==="nest",ta=ft==="row"&&(!fn||fn(ue)),Pn=ta||Gn,va=It&&It.has(ge),ia=Nt&&ue&&ue[Nt],Ha=Ye(Vt),gr=qt==null?void 0:qt(ue,Ae),Pr=gr==null?void 0:gr.onClick,nr=function(or){Wn&&Pn&&Vt(ue,or);for(var Va=arguments.length,ja=new Array(Va>1?Va-1:0),qa=1;qa<Va;qa++)ja[qa-1]=arguments[qa];Pr==null||Pr.apply(void 0,[or].concat(ja))},Lr;typeof Hn=="string"?Lr=Hn:typeof Hn=="function"&&(Lr=Hn(ue,Ae,Me));var Jr=Dn(nt);return(0,be.Z)((0,be.Z)({},Ze),{},{columnsKey:Jr,nestExpandable:Gn,expanded:va,hasNestChildren:ia,record:ue,onTriggerExpand:Ha,rowSupportExpand:ta,expandable:Pn,rowProps:(0,be.Z)((0,be.Z)({},gr),{},{className:Oe()(Lr,gr==null?void 0:gr.className),onClick:nr})})}function cn(ue,ge,Ae,Me,Ze){var nt=ue.record,ft=ue.prefixCls,It=ue.columnsKey,Nt=ue.fixedInfoList,Vt=ue.expandIconColumnIndex,fn=ue.nestExpandable,qt=ue.indentSize,Wn=ue.expandIcon,Hn=ue.expanded,Gn=ue.hasNestChildren,ta=ue.onTriggerExpand,Pn=It[Ae],va=Nt[Ae],ia;Ae===(Vt||0)&&fn&&(ia=ie.createElement(ie.Fragment,null,ie.createElement("span",{style:{paddingLeft:"".concat(qt*Me,"px")},className:"".concat(ft,"-row-indent indent-level-").concat(Me)}),Wn({prefixCls:ft,expanded:Hn,expandable:Gn,record:nt,onExpand:ta})));var Ha;return ge.onCell&&(Ha=ge.onCell(nt,Ze)),{key:Pn,fixedInfo:va,appendCellNode:ia,additionalCellProps:Ha||{}}}function Kn(ue){var ge=ue.className,Ae=ue.style,Me=ue.record,Ze=ue.index,nt=ue.renderIndex,ft=ue.rowKey,It=ue.indent,Nt=It===void 0?0:It,Vt=ue.rowComponent,fn=ue.cellComponent,qt=ue.scopeCellComponent,Wn=Xt(Me,ft,Ze,Nt),Hn=Wn.prefixCls,Gn=Wn.flattenColumns,ta=Wn.expandedRowClassName,Pn=Wn.expandedRowRender,va=Wn.rowProps,ia=Wn.expanded,Ha=Wn.rowSupportExpand,gr=ie.useState(!1),Pr=(0,pe.Z)(gr,2),nr=Pr[0],Lr=Pr[1];ie.useEffect(function(){ia&&Lr(!0)},[ia]);var Jr=ie.createElement(Vt,(0,ze.Z)({},va,{"data-row-key":ft,className:Oe()(ge,"".concat(Hn,"-row"),"".concat(Hn,"-row-level-").concat(Nt),va==null?void 0:va.className),style:(0,be.Z)((0,be.Z)({},Ae),va==null?void 0:va.style)}),Gn.map(function(ja,qa){var Tr=ja.render,no=ja.dataIndex,Gr=ja.className,br=cn(Wn,ja,qa,Nt,Ze),ro=br.key,po=br.fixedInfo,_o=br.appendCellNode,bo=br.additionalCellProps;return ie.createElement(st,(0,ze.Z)({className:Gr,ellipsis:ja.ellipsis,align:ja.align,scope:ja.rowScope,component:ja.rowScope?qt:fn,prefixCls:Hn,key:ro,record:Me,index:Ze,renderIndex:nt,dataIndex:no,render:Tr,shouldCellUpdate:ja.shouldCellUpdate},po,{appendNode:_o,additionalProps:bo}))})),_a;if(Ha&&(nr||ia)){var or=Pn(Me,Ze,Nt+1,ia),Va=ta&&ta(Me,Ze,Nt);_a=ie.createElement(tn,{expanded:ia,className:Oe()("".concat(Hn,"-expanded-row"),"".concat(Hn,"-expanded-row-level-").concat(Nt+1),Va),prefixCls:Hn,component:Vt,cellComponent:fn,colSpan:Gn.length,isEmpty:!1},or)}return ie.createElement(ie.Fragment,null,Jr,_a)}Kn.displayName="BodyRow";var rn=te(Kn);function _n(ue){var ge=ue.columnKey,Ae=ue.onColumnResize,Me=ie.useRef();return ie.useEffect(function(){Me.current&&Ae(ge,Me.current.offsetWidth)},[]),ie.createElement(Na.Z,{data:ge},ie.createElement("td",{ref:Me,style:{padding:0,border:0,height:0}},ie.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function wn(ue){var ge=ue.prefixCls,Ae=ue.columnsKey,Me=ue.onColumnResize;return ie.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0}},ie.createElement(Na.Z.Collection,{onBatchResize:function(nt){nt.forEach(function(ft){var It=ft.data,Nt=ft.size;Me(It,Nt.offsetWidth)})}},Ae.map(function(Ze){return ie.createElement(_n,{key:Ze,columnKey:Ze,onColumnResize:Me})})))}function la(ue){var ge=ue.data,Ae=ue.measureColumnWidth,Me=Te(ae,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ze=Me.prefixCls,nt=Me.getComponent,ft=Me.onColumnResize,It=Me.flattenColumns,Nt=Me.getRowKey,Vt=Me.expandedKeys,fn=Me.childrenColumnName,qt=Me.emptyNode,Wn=ur(ge,fn,Vt,Nt),Hn=ie.useRef({renderWithProps:!1}),Gn=nt(["body","wrapper"],"tbody"),ta=nt(["body","row"],"tr"),Pn=nt(["body","cell"],"td"),va=nt(["body","cell"],"th"),ia;ge.length?ia=Wn.map(function(gr,Pr){var nr=gr.record,Lr=gr.indent,Jr=gr.index,_a=Nt(nr,Pr);return ie.createElement(rn,{key:_a,rowKey:_a,record:nr,index:Pr,renderIndex:Jr,rowComponent:ta,cellComponent:Pn,scopeCellComponent:va,getRowKey:Nt,indent:Lr})}):ia=ie.createElement(tn,{expanded:!0,className:"".concat(Ze,"-placeholder"),prefixCls:Ze,component:ta,cellComponent:Pn,colSpan:It.length,isEmpty:!0},qt);var Ha=Dn(It);return ie.createElement(Ht.Provider,{value:Hn.current},ie.createElement(Gn,{className:"".concat(Ze,"-tbody")},Ae&&ie.createElement(wn,{prefixCls:Ze,columnsKey:Ha,onColumnResize:ft}),ia))}la.displayName="Body";var Za=te(la),ir=["expandable"],Or="RC_TABLE_INTERNAL_COL_DEFINE";function Wr(ue){var ge=ue.expandable,Ae=(0,en.Z)(ue,ir),Me;return"expandable"in ue?Me=(0,be.Z)((0,be.Z)({},Ae),ge):Me=Ae,Me.showExpandColumn===!1&&(Me.expandIconColumnIndex=-1),Me}var Nn=["columnType"];function Go(ue){for(var ge=ue.colWidths,Ae=ue.columns,Me=ue.columCount,Ze=[],nt=Me||Ae.length,ft=!1,It=nt-1;It>=0;It-=1){var Nt=ge[It],Vt=Ae&&Ae[It],fn=Vt&&Vt[Or];if(Nt||fn||ft){var qt=fn||{},Wn=qt.columnType,Hn=(0,en.Z)(qt,Nn);Ze.unshift(ie.createElement("col",(0,ze.Z)({key:It,style:{width:Nt}},Hn))),ft=!0}}return ie.createElement("colgroup",null,Ze)}var Mo=Go,Sr=ee(74902),xo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function sa(ue,ge){return(0,ie.useMemo)(function(){for(var Ae=[],Me=0;Me<ge;Me+=1){var Ze=ue[Me];if(Ze!==void 0)Ae[Me]=Ze;else return null}return Ae},[ue.join("_"),ge])}var Ra=ie.forwardRef(function(ue,ge){var Ae=ue.className,Me=ue.noData,Ze=ue.columns,nt=ue.flattenColumns,ft=ue.colWidths,It=ue.columCount,Nt=ue.stickyOffsets,Vt=ue.direction,fn=ue.fixHeader,qt=ue.stickyTopOffset,Wn=ue.stickyBottomOffset,Hn=ue.stickyClassName,Gn=ue.onScroll,ta=ue.maxContentScroll,Pn=ue.children,va=(0,en.Z)(ue,xo),ia=Te(ae,["prefixCls","scrollbarSize","isSticky"]),Ha=ia.prefixCls,gr=ia.scrollbarSize,Pr=ia.isSticky,nr=Pr&&!fn?0:gr,Lr=ie.useRef(null),Jr=ie.useCallback(function(Gr){pn(ge,Gr),pn(Lr,Gr)},[]);ie.useEffect(function(){var Gr;function br(ro){var po=ro,_o=po.currentTarget,bo=po.deltaX;bo&&(Gn({currentTarget:_o,scrollLeft:_o.scrollLeft+bo}),ro.preventDefault())}return(Gr=Lr.current)===null||Gr===void 0||Gr.addEventListener("wheel",br),function(){var ro;(ro=Lr.current)===null||ro===void 0||ro.removeEventListener("wheel",br)}},[]);var _a=ie.useMemo(function(){return nt.every(function(Gr){return Gr.width})},[nt]),or=nt[nt.length-1],Va={fixed:or?or.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ha,"-cell-scrollbar")}}},ja=(0,ie.useMemo)(function(){return nr?[].concat((0,Sr.Z)(Ze),[Va]):Ze},[nr,Ze]),qa=(0,ie.useMemo)(function(){return nr?[].concat((0,Sr.Z)(nt),[Va]):nt},[nr,nt]),Tr=(0,ie.useMemo)(function(){var Gr=Nt.right,br=Nt.left;return(0,be.Z)((0,be.Z)({},Nt),{},{left:Vt==="rtl"?[].concat((0,Sr.Z)(br.map(function(ro){return ro+nr})),[0]):br,right:Vt==="rtl"?Gr:[].concat((0,Sr.Z)(Gr.map(function(ro){return ro+nr})),[0]),isSticky:Pr})},[nr,Nt,Pr]),no=sa(ft,It);return ie.createElement("div",{style:(0,be.Z)({overflow:"hidden"},Pr?{top:qt,bottom:Wn}:{}),ref:Jr,className:Oe()(Ae,(0,ye.Z)({},Hn,!!Hn))},ie.createElement("table",{style:{tableLayout:"fixed",visibility:Me||no?null:"hidden"}},(!Me||!ta||_a)&&ie.createElement(Mo,{colWidths:no?[].concat((0,Sr.Z)(no),[nr]):[],columCount:It+1,columns:qa}),Pn((0,be.Z)((0,be.Z)({},va),{},{stickyOffsets:Tr,columns:ja,flattenColumns:qa}))))});Ra.displayName="FixedHolder";var mr=ie.memo(Ra);function Qn(ue){var ge=ue.cells,Ae=ue.stickyOffsets,Me=ue.flattenColumns,Ze=ue.rowComponent,nt=ue.cellComponent,ft=ue.tdCellComponent,It=ue.onHeaderRow,Nt=ue.index,Vt=Te(ae,["prefixCls","direction"]),fn=Vt.prefixCls,qt=Vt.direction,Wn;It&&(Wn=It(ge.map(function(Gn){return Gn.column}),Nt));var Hn=Dn(ge.map(function(Gn){return Gn.column}));return ie.createElement(Ze,Wn,ge.map(function(Gn,ta){var Pn=Gn.column,va=Jt(Gn.colStart,Gn.colEnd,Me,Ae,qt,Pn),ia;return Pn&&Pn.onHeaderCell&&(ia=Gn.column.onHeaderCell(Pn)),ie.createElement(st,(0,ze.Z)({},Gn,{scope:Pn.title?Gn.colSpan>1?"colgroup":"col":null,ellipsis:Pn.ellipsis,align:Pn.align,component:Pn.title?nt:ft,prefixCls:fn,key:Hn[ta]},va,{additionalProps:ia,rowType:"header"}))}))}Qn.displayName="HeaderRow";var Vr=Qn;function Nr(ue){var ge=[];function Ae(ft,It){var Nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[Nt]=ge[Nt]||[];var Vt=It,fn=ft.filter(Boolean).map(function(qt){var Wn={key:qt.key,className:qt.className||"",children:qt.title,column:qt,colStart:Vt},Hn=1,Gn=qt.children;return Gn&&Gn.length>0&&(Hn=Ae(Gn,Vt,Nt+1).reduce(function(ta,Pn){return ta+Pn},0),Wn.hasSubColumns=!0),"colSpan"in qt&&(Hn=qt.colSpan),"rowSpan"in qt&&(Wn.rowSpan=qt.rowSpan),Wn.colSpan=Hn,Wn.colEnd=Wn.colStart+Hn-1,ge[Nt].push(Wn),Vt+=Hn,Hn});return fn}Ae(ue,0);for(var Me=ge.length,Ze=function(It){ge[It].forEach(function(Nt){!("rowSpan"in Nt)&&!Nt.hasSubColumns&&(Nt.rowSpan=Me-It)})},nt=0;nt<Me;nt+=1)Ze(nt);return ge}function Uo(ue){var ge=ue.stickyOffsets,Ae=ue.columns,Me=ue.flattenColumns,Ze=ue.onHeaderRow,nt=Te(ae,["prefixCls","getComponent"]),ft=nt.prefixCls,It=nt.getComponent,Nt=ie.useMemo(function(){return Nr(Ae)},[Ae]),Vt=It(["header","wrapper"],"thead"),fn=It(["header","row"],"tr"),qt=It(["header","cell"],"th"),Wn=It(["header","cell"],"td");return ie.createElement(Vt,{className:"".concat(ft,"-thead")},Nt.map(function(Hn,Gn){var ta=ie.createElement(Vr,{key:Gn,flattenColumns:Me,cells:Hn,stickyOffsets:ge,rowComponent:fn,cellComponent:qt,tdCellComponent:Wn,onHeaderRow:Ze,index:Gn});return ta}))}var Ao=te(Uo);function ko(ue){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ae=[];return ie.Children.forEach(ue,function(Me){Me==null&&!ge.keepEmpty||(Array.isArray(Me)?Ae=Ae.concat(ko(Me)):(0,Gt.isFragment)(Me)&&Me.props?Ae=Ae.concat(ko(Me.props.children,ge)):Ae.push(Me))}),Ae}function ji(ue){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?ue*parseFloat(ge)/100:null}function Jo(ue,ge){return ie.useMemo(function(){if(ge&&ge>0){var Ae=0,Me=0;ue.forEach(function(Vt){var fn=ji(ge,Vt.width);fn?Ae+=fn:Me+=1});var Ze=ge-Ae,nt=Me,ft=Ze/Me,It=0,Nt=ue.map(function(Vt){var fn=(0,be.Z)({},Vt),qt=ji(ge,fn.width);if(qt)fn.width=qt;else{var Wn=Math.floor(ft);fn.width=nt===1?Ze:Wn,Ze-=Wn,nt-=1}return It+=fn.width,fn});return[Nt,It]}return[ue,ge]},[ue,ge])}var nl=["children"],al=["fixed"];function Zn(ue){return ko(ue).filter(function(ge){return ie.isValidElement(ge)}).map(function(ge){var Ae=ge.key,Me=ge.props,Ze=Me.children,nt=(0,en.Z)(Me,nl),ft=(0,be.Z)({key:Ae},nt);return Ze&&(ft.children=Zn(Ze)),ft})}function Ea(ue){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ue.filter(function(Ae){return Ae&&(0,Ce.Z)(Ae)==="object"}).reduce(function(Ae,Me,Ze){var nt=Me.fixed,ft=nt===!0?"left":nt,It="".concat(ge,"-").concat(Ze),Nt=Me.children;return Nt&&Nt.length>0?[].concat((0,Sr.Z)(Ae),(0,Sr.Z)(Ea(Nt,It).map(function(Vt){return(0,be.Z)({fixed:ft},Vt)}))):[].concat((0,Sr.Z)(Ae),[(0,be.Z)((0,be.Z)({key:It},Me),{},{fixed:ft})])},[])}function io(ue){for(var ge=!0,Ae=0;Ae<ue.length;Ae+=1){var Me=ue[Ae];if(ge&&Me.fixed!=="left")ge=!1;else if(!ge&&Me.fixed==="left"){warning(!1,"Index ".concat(Ae-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ze=!0,nt=ue.length-1;nt>=0;nt-=1){var ft=ue[nt];if(Ze&&ft.fixed!=="right")Ze=!1;else if(!Ze&&ft.fixed==="right"){warning(!1,"Index ".concat(nt+1," of `columns` missing `fixed='right'` prop."));break}}}function Wo(ue){return ue.map(function(ge){var Ae=ge.fixed,Me=(0,en.Z)(ge,al),Ze=Ae;return Ae==="left"?Ze="right":Ae==="right"&&(Ze="left"),(0,be.Z)({fixed:Ze},Me)})}function wi(ue,ge){var Ae=ue.prefixCls,Me=ue.columns,Ze=ue.children,nt=ue.expandable,ft=ue.expandedKeys,It=ue.columnTitle,Nt=ue.getRowKey,Vt=ue.onTriggerExpand,fn=ue.expandIcon,qt=ue.rowExpandable,Wn=ue.expandIconColumnIndex,Hn=ue.direction,Gn=ue.expandRowByClick,ta=ue.columnWidth,Pn=ue.fixed,va=ue.scrollWidth,ia=ie.useMemo(function(){return Me||Zn(Ze)},[Me,Ze]),Ha=ie.useMemo(function(){if(nt){var or,Va=ia.slice();if(!Va.includes(x)){var ja=Wn||0;ja>=0&&Va.splice(ja,0,x)}var qa=Va.indexOf(x);Va=Va.filter(function(br,ro){return br!==x||ro===qa});var Tr=ia[qa],no;(Pn==="left"||Pn)&&!Wn?no="left":(Pn==="right"||Pn)&&Wn===ia.length?no="right":no=Tr?Tr.fixed:null;var Gr=(or={},(0,ye.Z)(or,Or,{className:"".concat(Ae,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ye.Z)(or,"title",It),(0,ye.Z)(or,"fixed",no),(0,ye.Z)(or,"className","".concat(Ae,"-row-expand-icon-cell")),(0,ye.Z)(or,"width",ta),(0,ye.Z)(or,"render",function(ro,po,_o){var bo=Nt(po,_o),Si=ft.has(bo),Pi=qt?qt(po):!0,qr=fn({prefixCls:Ae,expanded:Si,expandable:Pi,record:po,onExpand:Vt});return Gn?ie.createElement("span",{onClick:function(No){return No.stopPropagation()}},qr):qr}),or);return Va.map(function(br){return br===x?Gr:br})}return ia.filter(function(br){return br!==x})},[nt,ia,Nt,ft,fn,Hn]),gr=ie.useMemo(function(){var or=Ha;return ge&&(or=ge(or)),or.length||(or=[{render:function(){return null}}]),or},[ge,Ha,Hn]),Pr=ie.useMemo(function(){return Hn==="rtl"?Wo(Ea(gr)):Ea(gr)},[gr,Hn,va]),nr=Jo(Pr,va),Lr=(0,pe.Z)(nr,2),Jr=Lr[0],_a=Lr[1];return[gr,Jr,_a]}var ri=wi;function oi(ue){var ge,Ae=ue.prefixCls,Me=ue.record,Ze=ue.onExpand,nt=ue.expanded,ft=ue.expandable,It="".concat(Ae,"-row-expand-icon");if(!ft)return ie.createElement("span",{className:Oe()(It,"".concat(Ae,"-row-spaced"))});var Nt=function(fn){Ze(Me,fn),fn.stopPropagation()};return ie.createElement("span",{className:Oe()(It,(ge={},(0,ye.Z)(ge,"".concat(Ae,"-row-expanded"),nt),(0,ye.Z)(ge,"".concat(Ae,"-row-collapsed"),!nt),ge)),onClick:Nt})}function Qi(ue,ge,Ae){var Me=[];function Ze(nt){(nt||[]).forEach(function(ft,It){Me.push(ge(ft,It)),Ze(ft[Ae])})}return Ze(ue),Me}function Hr(ue,ge,Ae){var Me=Wr(ue),Ze=Me.expandIcon,nt=Me.expandedRowKeys,ft=Me.defaultExpandedRowKeys,It=Me.defaultExpandAllRows,Nt=Me.expandedRowRender,Vt=Me.onExpand,fn=Me.onExpandedRowsChange,qt=Me.childrenColumnName,Wn=Ze||oi,Hn=qt||"children",Gn=ie.useMemo(function(){return Nt?"row":ue.expandable&&ue.internalHooks===de&&ue.expandable.__PARENT_RENDER_ICON__||ge.some(function(Pr){return Pr&&(0,Ce.Z)(Pr)==="object"&&Pr[Hn]})?"nest":!1},[!!Nt,ge]),ta=ie.useState(function(){return ft||(It?Qi(ge,Ae,Hn):[])}),Pn=(0,pe.Z)(ta,2),va=Pn[0],ia=Pn[1],Ha=ie.useMemo(function(){return new Set(nt||va||[])},[nt,va]),gr=ie.useCallback(function(Pr){var nr=Ae(Pr,ge.indexOf(Pr)),Lr,Jr=Ha.has(nr);Jr?(Ha.delete(nr),Lr=(0,Sr.Z)(Ha)):Lr=[].concat((0,Sr.Z)(Ha),[nr]),ia(Lr),Vt&&Vt(!Jr,Pr),fn&&fn(Lr)},[Ae,Ha,ge,Vt,fn]);return[Me,Gn,Ha,Wn,Hn,gr]}function ce(ue,ge,Ae,Me){var Ze=ue.map(function(nt,ft){return Jt(ft,ft,ue,ge,Ae,Me==null?void 0:Me[ft])});return $e(function(){return Ze},[Ze],function(nt,ft){return!Bt(nt,ft)})}function Pe(ue){var ge=(0,ie.useRef)(ue),Ae=(0,ie.useState)({}),Me=(0,pe.Z)(Ae,2),Ze=Me[1],nt=(0,ie.useRef)(null),ft=(0,ie.useRef)([]);function It(Nt){ft.current.push(Nt);var Vt=Promise.resolve();nt.current=Vt,Vt.then(function(){if(nt.current===Vt){var fn=ft.current,qt=ge.current;ft.current=[],fn.forEach(function(Wn){ge.current=Wn(ge.current)}),nt.current=null,qt!==ge.current&&Ze({})}})}return(0,ie.useEffect)(function(){return function(){nt.current=null}},[]),[ge.current,It]}function Ne(ue){var ge=(0,ie.useRef)(ue||null),Ae=(0,ie.useRef)();function Me(){window.clearTimeout(Ae.current)}function Ze(ft){ge.current=ft,Me(),Ae.current=window.setTimeout(function(){ge.current=null,Ae.current=void 0},100)}function nt(){return ge.current}return(0,ie.useEffect)(function(){return Me},[]),[Ze,nt]}function Se(){var ue=ie.useState(-1),ge=(0,pe.Z)(ue,2),Ae=ge[0],Me=ge[1],Ze=ie.useState(-1),nt=(0,pe.Z)(Ze,2),ft=nt[0],It=nt[1],Nt=ie.useCallback(function(Vt,fn){Me(Vt),It(fn)},[]);return[Ae,ft,Nt]}var Qe=yt()?window:null;function rt(ue,ge){var Ae=(0,Ce.Z)(ue)==="object"?ue:{},Me=Ae.offsetHeader,Ze=Me===void 0?0:Me,nt=Ae.offsetSummary,ft=nt===void 0?0:nt,It=Ae.offsetScroll,Nt=It===void 0?0:It,Vt=Ae.getContainer,fn=Vt===void 0?function(){return Qe}:Vt,qt=fn()||Qe;return ie.useMemo(function(){var Wn=!!ue;return{isSticky:Wn,stickyClassName:Wn?"".concat(ge,"-sticky-holder"):"",offsetHeader:Ze,offsetSummary:ft,offsetScroll:Nt,container:qt}},[Nt,Ze,ft,ge,qt])}function bt(ue,ge,Ae){var Me=(0,ie.useMemo)(function(){for(var Ze=[],nt=[],ft=0,It=0,Nt=0;Nt<ge;Nt+=1)if(Ae==="rtl"){nt[Nt]=It,It+=ue[Nt]||0;var Vt=ge-Nt-1;Ze[Vt]=ft,ft+=ue[Vt]||0}else{Ze[Nt]=ft,ft+=ue[Nt]||0;var fn=ge-Nt-1;nt[fn]=It,It+=ue[fn]||0}return{left:Ze,right:nt}},[ue,ge,Ae]);return Me}var tt=bt;function lt(ue){var ge=ue.className,Ae=ue.children;return ie.createElement("div",{className:ge},Ae)}var mt=lt;function on(ue,ge,Ae,Me){var Ze=Ue.unstable_batchedUpdates?function(ft){Ue.unstable_batchedUpdates(Ae,ft)}:Ae;return ue!=null&&ue.addEventListener&&ue.addEventListener(ge,Ze,Me),{remove:function(){ue!=null&&ue.removeEventListener&&ue.removeEventListener(ge,Ze,Me)}}}var hn=/margin|padding|width|height|max|min|offset/,Vn={left:!0,top:!0},kn={cssFloat:1,styleFloat:1,float:1};function Aa(ue){return ue.nodeType===1?ue.ownerDocument.defaultView.getComputedStyle(ue,null):{}}function pa(ue,ge,Ae){if(ge=ge.toLowerCase(),Ae==="auto"){if(ge==="height")return ue.offsetHeight;if(ge==="width")return ue.offsetWidth}return ge in Vn||(Vn[ge]=hn.test(ge)),Vn[ge]?parseFloat(Ae)||0:Ae}function Sn(ue,ge){var Ae=arguments.length,Me=Aa(ue);return ge=kn[ge]?"cssFloat"in ue.style?"cssFloat":"styleFloat":ge,Ae===1?Me:pa(ue,ge,Me[ge]||ue.style[ge])}function jt(ue,ge,Ae){var Me=arguments.length;if(ge=kn[ge]?"cssFloat"in ue.style?"cssFloat":"styleFloat":ge,Me===3)return typeof Ae=="number"&&hn.test(ge)&&(Ae="".concat(Ae,"px")),ue.style[ge]=Ae,Ae;for(var Ze in ge)ge.hasOwnProperty(Ze)&&jt(ue,Ze,ge[Ze]);return Aa(ue)}function yn(ue){return ue===document.body?document.documentElement.clientWidth:ue.offsetWidth}function Cn(ue){return ue===document.body?window.innerHeight||document.documentElement.clientHeight:ue.offsetHeight}function ha(){var ue=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ge=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ue,height:ge}}function Da(){var ue=document.documentElement.clientWidth,ge=window.innerHeight||document.documentElement.clientHeight;return{width:ue,height:ge}}function wa(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function za(ue){var ge=ue.getBoundingClientRect(),Ae=document.documentElement;return{left:ge.left+(window.pageXOffset||Ae.scrollLeft)-(Ae.clientLeft||document.body.clientLeft||0),top:ge.top+(window.pageYOffset||Ae.scrollTop)-(Ae.clientTop||document.body.clientTop||0)}}var Oa=function(ge,Ae){var Me,Ze,nt=ge.scrollBodyRef,ft=ge.onScroll,It=ge.offsetScroll,Nt=ge.container,Vt=Te(ae,"prefixCls"),fn=((Me=nt.current)===null||Me===void 0?void 0:Me.scrollWidth)||0,qt=((Ze=nt.current)===null||Ze===void 0?void 0:Ze.clientWidth)||0,Wn=fn&&qt*(qt/fn),Hn=ie.useRef(),Gn=Pe({scrollLeft:0,isHiddenScrollBar:!1}),ta=(0,pe.Z)(Gn,2),Pn=ta[0],va=ta[1],ia=ie.useRef({delta:0,x:0}),Ha=ie.useState(!1),gr=(0,pe.Z)(Ha,2),Pr=gr[0],nr=gr[1],Lr=function(){nr(!1)},Jr=function(qa){qa.persist(),ia.current.delta=qa.pageX-Pn.scrollLeft,ia.current.x=0,nr(!0),qa.preventDefault()},_a=function(qa){var Tr,no=qa||((Tr=window)===null||Tr===void 0?void 0:Tr.event),Gr=no.buttons;if(!Pr||Gr===0){Pr&&nr(!1);return}var br=ia.current.x+qa.pageX-ia.current.x-ia.current.delta;br<=0&&(br=0),br+Wn>=qt&&(br=qt-Wn),ft({scrollLeft:br/qt*(fn+2)}),ia.current.x=qa.pageX},or=function(){if(nt.current){var qa=za(nt.current).top,Tr=qa+nt.current.offsetHeight,no=Nt===window?document.documentElement.scrollTop+window.innerHeight:za(Nt).top+Nt.clientHeight;Tr-Dt()<=no||qa>=no-It?va(function(Gr){return(0,be.Z)((0,be.Z)({},Gr),{},{isHiddenScrollBar:!0})}):va(function(Gr){return(0,be.Z)((0,be.Z)({},Gr),{},{isHiddenScrollBar:!1})})}},Va=function(qa){va(function(Tr){return(0,be.Z)((0,be.Z)({},Tr),{},{scrollLeft:qa/fn*qt||0})})};return ie.useImperativeHandle(Ae,function(){return{setScrollLeft:Va}}),ie.useEffect(function(){var ja=on(document.body,"mouseup",Lr,!1),qa=on(document.body,"mousemove",_a,!1);return or(),function(){ja.remove(),qa.remove()}},[Wn,Pr]),ie.useEffect(function(){var ja=on(Nt,"scroll",or,!1),qa=on(window,"resize",or,!1);return function(){ja.remove(),qa.remove()}},[Nt]),ie.useEffect(function(){Pn.isHiddenScrollBar||va(function(ja){var qa=nt.current;return qa?(0,be.Z)((0,be.Z)({},ja),{},{scrollLeft:qa.scrollLeft/qa.scrollWidth*qa.clientWidth}):ja})},[Pn.isHiddenScrollBar]),fn<=qt||!Wn||Pn.isHiddenScrollBar?null:ie.createElement("div",{style:{height:Dt(),width:qt,bottom:It},className:"".concat(Vt,"-sticky-scroll")},ie.createElement("div",{onMouseDown:Jr,ref:Hn,className:Oe()("".concat(Vt,"-sticky-scroll-bar"),(0,ye.Z)({},"".concat(Vt,"-sticky-scroll-bar-active"),Pr)),style:{width:"".concat(Wn,"px"),transform:"translate3d(".concat(Pn.scrollLeft,"px, 0, 0)")}}))},ea=ie.forwardRef(Oa);function Ba(ue){return null}var xa=Ba;function Ya(ue){return null}var er=Ya,Rr="rc-table",ao=[],wo={};function ma(){return"No Data"}function Eo(ue){var ge,Ae=(0,be.Z)({rowKey:"key",prefixCls:Rr,emptyText:ma},ue),Me=Ae.prefixCls,Ze=Ae.className,nt=Ae.rowClassName,ft=Ae.style,It=Ae.data,Nt=Ae.rowKey,Vt=Ae.scroll,fn=Ae.tableLayout,qt=Ae.direction,Wn=Ae.title,Hn=Ae.footer,Gn=Ae.summary,ta=Ae.caption,Pn=Ae.id,va=Ae.showHeader,ia=Ae.components,Ha=Ae.emptyText,gr=Ae.onRow,Pr=Ae.onHeaderRow,nr=Ae.internalHooks,Lr=Ae.transformColumns,Jr=Ae.internalRefs,_a=Ae.tailor,or=Ae.sticky,Va=It||ao,ja=!!Va.length,qa=nr===de,Tr=ie.useCallback(function($o,bi){return ut(ia,$o)||bi},[ia]),no=ie.useMemo(function(){return typeof Nt=="function"?Nt:function($o){var bi=$o&&$o[Nt];return bi}},[Nt]),Gr=Tr(["body"]),br=Se(),ro=(0,pe.Z)(br,3),po=ro[0],_o=ro[1],bo=ro[2],Si=Hr(Ae,Va,no),Pi=(0,pe.Z)(Si,6),qr=Pi[0],Bi=Pi[1],No=Pi[2],mi=Pi[3],ui=Pi[4],pl=Pi[5],yr=Vt==null?void 0:Vt.x,Ar=ie.useState(0),Fr=(0,pe.Z)(Ar,2),pr=Fr[0],Oo=Fr[1],hr=ri((0,be.Z)((0,be.Z)((0,be.Z)({},Ae),qr),{},{expandable:!!qr.expandedRowRender,columnTitle:qr.columnTitle,expandedKeys:No,getRowKey:no,onTriggerExpand:pl,expandIcon:mi,expandIconColumnIndex:qr.expandIconColumnIndex,direction:qt,scrollWidth:qa&&_a&&typeof yr=="number"?yr:null}),qa?Lr:null),Ur=(0,pe.Z)(hr,3),Bo=Ur[0],ho=Ur[1],ol=Ur[2],tl=ol!=null?ol:yr,Nl=ie.useMemo(function(){return{columns:Bo,flattenColumns:ho}},[Bo,ho]),Mi=ie.useRef(),Rl=ie.useRef(),Ti=ie.useRef(),hl=ie.useRef(),gu=ie.useRef(),zo=ie.useState(!1),Ko=(0,pe.Z)(zo,2),fi=Ko[0],Ri=Ko[1],Wi=ie.useState(!1),mo=(0,pe.Z)(Wi,2),vl=mo[0],il=mo[1],bl=Pe(new Map),jl=(0,pe.Z)(bl,2),Kl=jl[0],vu=jl[1],tu=Dn(ho),Il=tu.map(function($o){return Kl.get($o)}),Sl=ie.useMemo(function(){return Il},[Il.join("_")]),dl=tt(Sl,ho.length,qt),Hi=Vt&&Ct(Vt.y),yi=Vt&&Ct(tl)||!!qr.fixed,Yl=yi&&ho.some(function($o){var bi=$o.fixed;return bi}),mu=ie.useRef(),Vl=rt(or,Me),Xl=Vl.isSticky,Au=Vl.offsetHeader,Cu=Vl.offsetSummary,oo=Vl.offsetScroll,ai=Vl.stickyClassName,ll=Vl.container,pi=ie.useMemo(function(){return Gn==null?void 0:Gn(Va)},[Gn,Va]),ul=(Hi||Xl)&&ie.isValidElement(pi)&&pi.type===we&&pi.props.fixed,wl,xl,nu;Hi&&(xl={overflowY:"scroll",maxHeight:Vt.y}),yi&&(wl={overflowX:"auto"},Hi||(xl={overflowY:"hidden"}),nu={width:tl===!0?"auto":tl,minWidth:"100%"});var Fu=ie.useCallback(function($o,bi){Ma(Mi.current)&&vu(function(_l){if(_l.get($o)!==bi){var yu=new Map(_l);return yu.set($o,bi),yu}return _l})},[]),Tu=Ne(null),Bu=(0,pe.Z)(Tu,2),Ru=Bu[0],Du=Bu[1];function Su($o,bi){bi&&(typeof bi=="function"?bi($o):bi.scrollLeft!==$o&&(bi.scrollLeft=$o,bi.scrollLeft!==$o&&setTimeout(function(){bi.scrollLeft=$o},0)))}var iu=Ye(function($o){var bi=$o.currentTarget,_l=$o.scrollLeft,yu=qt==="rtl",Eu=typeof _l=="number"?_l:bi.scrollLeft,ts=bi||wo;if(!Du()||Du()===ts){var ju;Ru(ts),Su(Eu,Rl.current),Su(Eu,Ti.current),Su(Eu,gu.current),Su(Eu,(ju=mu.current)===null||ju===void 0?void 0:ju.setScrollLeft)}var Ku=bi||Rl.current;if(Ku){var Gu=Ku.scrollWidth,Uu=Ku.clientWidth;if(Gu===Uu){Ri(!1),il(!1);return}yu?(Ri(-Eu<Gu-Uu),il(-Eu>0)):(Ri(Eu>0),il(Eu<Gu-Uu))}}),Lu=function(){yi&&Ti.current?iu({currentTarget:Ti.current}):(Ri(!1),il(!1))},ku=function(bi){var _l=bi.width;_l!==pr&&(Lu(),Oo(Mi.current?Mi.current.offsetWidth:_l))},Ro=ie.useRef(!1);ie.useEffect(function(){Ro.current&&Lu()},[yi,It,Bo.length]),ie.useEffect(function(){Ro.current=!0},[]);var Er=ie.useState(0),Yr=(0,pe.Z)(Er,2),Io=Yr[0],Ci=Yr[1],Pu=ie.useState(!0),kl=(0,pe.Z)(Pu,2),au=kl[0],lu=kl[1];ie.useEffect(function(){(!_a||!qa)&&(Ti.current instanceof Element?Ci(Rn(Ti.current).width):Ci(Rn(hl.current).width)),lu(La("position","sticky"))},[]),ie.useEffect(function(){qa&&Jr&&(Jr.body.current=Ti.current)});var bu=ie.useCallback(function($o){return ie.createElement(ie.Fragment,null,ie.createElement(Ao,$o),ul==="top"&&ie.createElement(Wt,$o,pi))},[ul,pi]),fu=ie.useCallback(function($o){return ie.createElement(Wt,$o,pi)},[pi]),Zl=Tr(["table"],"table"),Ou=ie.useMemo(function(){return fn||(Yl?tl==="max-content"?"auto":"fixed":Hi||Xl||ho.some(function($o){var bi=$o.ellipsis;return bi})?"fixed":"auto")},[Hi,Yl,ho,fn,Xl]),Zu,zu={colWidths:Sl,columCount:ho.length,stickyOffsets:dl,onHeaderRow:Pr,fixHeader:Hi,scroll:Vt},Xu=ie.useMemo(function(){return ja?null:typeof Ha=="function"?Ha():Ha},[ja,Ha]),_u=ie.createElement(Za,{data:Va,measureColumnWidth:Hi||yi||Xl}),Qu=ie.createElement(Mo,{colWidths:ho.map(function($o){var bi=$o.width;return bi}),columns:ho}),$u=ta!=null?ie.createElement("caption",{className:"".concat(Me,"-caption")},ta):void 0,is=co(Ae,{data:!0}),Ju=co(Ae,{aria:!0});if(Hi||Xl){var Wu;typeof Gr=="function"?(Wu=Gr(Va,{scrollbarSize:Io,ref:Ti,onScroll:iu}),zu.colWidths=ho.map(function($o,bi){var _l=$o.width,yu=bi===ho.length-1?_l-Io:_l;return typeof yu=="number"&&!Number.isNaN(yu)?yu:0})):Wu=ie.createElement("div",{style:(0,be.Z)((0,be.Z)({},wl),xl),onScroll:iu,ref:Ti,className:Oe()("".concat(Me,"-body"))},ie.createElement(Zl,(0,ze.Z)({style:(0,be.Z)((0,be.Z)({},nu),{},{tableLayout:Ou})},Ju),$u,Qu,_u,!ul&&pi&&ie.createElement(Wt,{stickyOffsets:dl,flattenColumns:ho,columns:Bo},pi)));var qu=(0,be.Z)((0,be.Z)((0,be.Z)({noData:!Va.length,maxContentScroll:yi&&tl==="max-content"},zu),Nl),{},{direction:qt,stickyClassName:ai,onScroll:iu});Zu=ie.createElement(ie.Fragment,null,va!==!1&&ie.createElement(mr,(0,ze.Z)({},qu,{stickyTopOffset:Au,className:"".concat(Me,"-header"),ref:Rl}),bu),Wu,ul&&ul!=="top"&&ie.createElement(mr,(0,ze.Z)({},qu,{stickyBottomOffset:Cu,className:"".concat(Me,"-summary"),ref:gu}),fu),Xl&&ie.createElement(ea,{ref:mu,offsetScroll:oo,scrollBodyRef:Ti,onScroll:iu,container:ll}))}else Zu=ie.createElement("div",{style:(0,be.Z)((0,be.Z)({},wl),xl),className:Oe()("".concat(Me,"-content")),onScroll:iu,ref:Ti},ie.createElement(Zl,(0,ze.Z)({style:(0,be.Z)((0,be.Z)({},nu),{},{tableLayout:Ou})},Ju),$u,Qu,va!==!1&&ie.createElement(Ao,(0,ze.Z)({},zu,Nl)),_u,pi&&ie.createElement(Wt,{stickyOffsets:dl,flattenColumns:ho,columns:Bo},pi)));var Hu=ie.createElement("div",(0,ze.Z)({className:Oe()(Me,Ze,(ge={},(0,ye.Z)(ge,"".concat(Me,"-rtl"),qt==="rtl"),(0,ye.Z)(ge,"".concat(Me,"-ping-left"),fi),(0,ye.Z)(ge,"".concat(Me,"-ping-right"),vl),(0,ye.Z)(ge,"".concat(Me,"-layout-fixed"),fn==="fixed"),(0,ye.Z)(ge,"".concat(Me,"-fixed-header"),Hi),(0,ye.Z)(ge,"".concat(Me,"-fixed-column"),Yl),(0,ye.Z)(ge,"".concat(Me,"-scroll-horizontal"),yi),(0,ye.Z)(ge,"".concat(Me,"-has-fix-left"),ho[0]&&ho[0].fixed),(0,ye.Z)(ge,"".concat(Me,"-has-fix-right"),ho[ho.length-1]&&ho[ho.length-1].fixed==="right"),ge)),style:ft,id:Pn,ref:Mi},is),Wn&&ie.createElement(mt,{className:"".concat(Me,"-title")},Wn(Va)),ie.createElement("div",{ref:hl,className:"".concat(Me,"-container")},Zu),Hn&&ie.createElement(mt,{className:"".concat(Me,"-footer")},Hn(Va)));yi&&(Hu=ie.createElement(Na.Z,{onResize:ku},Hu));var es=ce(ho,dl,qt,Bo),ls=ie.useMemo(function(){return{scrollX:tl,prefixCls:Me,getComponent:Tr,scrollbarSize:Io,direction:qt,fixedInfoList:es,isSticky:Xl,supportSticky:au,componentWidth:pr,fixHeader:Hi,fixColumn:Yl,horizonScroll:yi,tableLayout:Ou,rowClassName:nt,expandedRowClassName:qr.expandedRowClassName,expandIcon:mi,expandableType:Bi,expandRowByClick:qr.expandRowByClick,expandedRowRender:qr.expandedRowRender,onTriggerExpand:pl,expandIconColumnIndex:qr.expandIconColumnIndex,indentSize:qr.indentSize,allColumnsFixedLeft:ho.every(function($o){return $o.fixed==="left"}),emptyNode:Xu,columns:Bo,flattenColumns:ho,onColumnResize:Fu,hoverStartRow:po,hoverEndRow:_o,onHover:bo,rowExpandable:qr.rowExpandable,onRow:gr,getRowKey:no,expandedKeys:No,childrenColumnName:ui}},[tl,Me,Tr,Io,qt,es,Xl,au,pr,Hi,Yl,yi,Ou,nt,qr.expandedRowClassName,mi,Bi,qr.expandRowByClick,qr.expandedRowRender,pl,qr.expandIconColumnIndex,qr.indentSize,Xu,Bo,ho,Fu,po,_o,bo,qr.rowExpandable,gr,no,No,ui]);return ie.createElement(ae.Provider,{value:ls},Hu)}function ii(ue){return z(Eo,ue)}var ki=ii();ki.EXPAND_COLUMN=x,ki.INTERNAL_HOOKS=de,ki.Column=xa,ki.ColumnGroup=er,ki.Summary=et;var sl=ki,Zi=ee(73299),di=Ie(null),Yo=Ie(null);function $i(ue,ge,Ae){var Me=ge||1;return Ae[ue+Me]-(Ae[ue]||0)}function Fi(ue){var ge=ue.rowInfo,Ae=ue.column,Me=ue.colIndex,Ze=ue.indent,nt=ue.index,ft=ue.renderIndex,It=ue.record,Nt=ue.style,Vt=ue.className,fn=ue.inverse,qt=ue.getHeight,Wn=Ae.render,Hn=Ae.dataIndex,Gn=Ae.className,ta=Ae.width,Pn=Te(Yo,["columnsOffset"]),va=Pn.columnsOffset,ia=cn(ge,Ae,Me,Ze,nt),Ha=ia.key,gr=ia.fixedInfo,Pr=ia.appendCellNode,nr=ia.additionalCellProps,Lr=nr.style,Jr=nr.colSpan,_a=Jr===void 0?1:Jr,or=nr.rowSpan,Va=or===void 0?1:or,ja=Me-1,qa=$i(ja,_a,va),Tr=_a>1?ta-qa:0,no=(0,be.Z)((0,be.Z)((0,be.Z)({},Lr),Nt),{},{flex:"0 0 ".concat(qa,"px"),width:"".concat(qa,"px"),marginRight:Tr,pointerEvents:"auto"}),Gr=ie.useMemo(function(){return fn?Va<=1:_a===0||Va===0||Va>1},[Va,_a,fn]);Gr?no.visibility="hidden":fn&&(no.height=qt==null?void 0:qt(Va));var br=Gr?function(){return null}:Wn,ro={};return(Va===0||_a===0)&&(ro.rowSpan=1,ro.colSpan=1),ie.createElement(st,(0,ze.Z)({className:Oe()(Gn,Vt),ellipsis:Ae.ellipsis,align:Ae.align,scope:Ae.rowScope,component:"div",prefixCls:ge.prefixCls,key:Ha,record:It,index:nt,renderIndex:ft,dataIndex:Hn,render:br,shouldCellUpdate:Ae.shouldCellUpdate},gr,{appendNode:Pr,additionalProps:(0,be.Z)((0,be.Z)({},nr),{},{style:no},ro)}))}var cl=Fi,_t=["data","index","className","rowKey","style","extra","getHeight"],Zt=ie.forwardRef(function(ue,ge){var Ae=ue.data,Me=ue.index,Ze=ue.className,nt=ue.rowKey,ft=ue.style,It=ue.extra,Nt=ue.getHeight,Vt=(0,en.Z)(ue,_t),fn=Ae.record,qt=Ae.indent,Wn=Ae.index,Hn=Te(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Gn=Hn.scrollX,ta=Hn.flattenColumns,Pn=Hn.prefixCls,va=Hn.fixColumn,ia=Hn.componentWidth,Ha=Xt(fn,nt,Me,qt),gr=Ha.rowSupportExpand,Pr=Ha.expanded,nr=Ha.rowProps,Lr=Ha.expandedRowRender,Jr=Ha.expandedRowClassName,_a;if(gr&&Pr){var or=Lr(fn,Me,qt+1,Pr),Va=Jr==null?void 0:Jr(fn,Me,qt),ja={};va&&(ja={style:(0,ye.Z)({},"--virtual-width","".concat(ia,"px"))});var qa="".concat(Pn,"-expanded-row-cell");_a=ie.createElement("div",{className:Oe()("".concat(Pn,"-expanded-row"),"".concat(Pn,"-expanded-row-level-").concat(qt+1),Va)},ie.createElement(st,{component:"div",prefixCls:Pn,className:Oe()(qa,(0,ye.Z)({},"".concat(qa,"-fixed"),va)),additionalProps:ja},or))}var Tr=(0,be.Z)((0,be.Z)({},ft),{},{width:Gn});It&&(Tr.position="absolute",Tr.pointerEvents="none");var no=ie.createElement("div",(0,ze.Z)({},nr,Vt,{ref:gr?null:ge,className:Oe()(Ze,"".concat(Pn,"-row"),nr==null?void 0:nr.className,(0,ye.Z)({},"".concat(Pn,"-row-extra"),It)),style:(0,be.Z)((0,be.Z)({},Tr),nr==null?void 0:nr.style)}),ta.map(function(Gr,br){return ie.createElement(cl,{key:br,rowInfo:Ha,column:Gr,colIndex:br,indent:qt,index:Me,renderIndex:Wn,record:fn,inverse:It,getHeight:Nt})}));return gr?ie.createElement("div",{ref:ge},no,_a):no}),zt=te(Zt),Fa=zt,ar=ie.forwardRef(function(ue,ge){var Ae=ue.data,Me=ue.onScroll,Ze=Te(ae,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),nt=Ze.flattenColumns,ft=Ze.onColumnResize,It=Ze.getRowKey,Nt=Ze.expandedKeys,Vt=Ze.prefixCls,fn=Ze.childrenColumnName,qt=Ze.emptyNode,Wn=Ze.scrollX,Hn=Te(di),Gn=Hn.scrollY,ta=Hn.listItemHeight,Pn=ie.useRef(),va=ur(Ae,fn,Nt,It),ia=ie.useMemo(function(){var _a=0;return nt.map(function(or){var Va=or.width,ja=or.key;return _a+=Va,[ja,Va,_a]})},[nt]),Ha=ie.useMemo(function(){return ia.map(function(_a){return _a[2]})},[ia]);ie.useEffect(function(){ia.forEach(function(_a){var or=(0,pe.Z)(_a,2),Va=or[0],ja=or[1];ft(Va,ja)})},[ia]),ie.useImperativeHandle(ge,function(){var _a={};return Object.defineProperty(_a,"scrollLeft",{get:function(){var Va;return((Va=Pn.current)===null||Va===void 0?void 0:Va.getScrollInfo().x)||0},set:function(Va){var ja;(ja=Pn.current)===null||ja===void 0||ja.scrollTo({left:Va})}}),_a});var gr=function(or,Va){var ja,qa=(ja=va[Va])===null||ja===void 0?void 0:ja.record,Tr=or.onCell;if(Tr){var no,Gr=Tr(qa,Va);return(no=Gr==null?void 0:Gr.rowSpan)!==null&&no!==void 0?no:1}return 1},Pr=function(or){var Va=or.start,ja=or.end,qa=or.getSize,Tr=or.offsetY;if(ja<0)return null;for(var no=nt.filter(function(yr){return gr(yr,Va)===0}),Gr=Va,br=function(Ar){if(no=no.filter(function(Fr){return gr(Fr,Ar)===0}),!no.length)return Gr=Ar,"break"},ro=Va;ro>=0;ro-=1){var po=br(ro);if(po==="break")break}for(var _o=nt.filter(function(yr){return gr(yr,ja)!==1}),bo=ja,Si=function(Ar){if(_o=_o.filter(function(Fr){return gr(Fr,Ar)!==1}),!_o.length)return bo=Math.max(Ar-1,ja),"break"},Pi=ja;Pi<va.length;Pi+=1){var qr=Si(Pi);if(qr==="break")break}for(var Bi=[],No=function(Ar){var Fr=va[Ar];if(!Fr)return"continue";nt.some(function(pr){return gr(pr,Ar)>1})&&Bi.push(Ar)},mi=Gr;mi<=bo;mi+=1)var ui=No(mi);var pl=Bi.map(function(yr){var Ar=va[yr],Fr=It(Ar.record,yr),pr=function(Ur){var Bo=yr+Ur-1,ho=It(va[Bo].record,Bo),ol=qa(Fr,ho);return ol.bottom-ol.top},Oo=qa(Fr);return ie.createElement(Fa,{key:yr,data:Ar,rowKey:Fr,index:yr,style:{top:-Tr+Oo.top},extra:!0,getHeight:pr})});return pl},nr=ie.useMemo(function(){return{columnsOffset:Ha}},[Ha]),Lr="".concat(Vt,"-tbody"),Jr;return va.length?Jr=ie.createElement(Zi.Z,{fullHeight:!1,ref:Pn,className:Oe()(Lr,"".concat(Lr,"-virtual")),height:Gn,itemHeight:ta||24,data:va,itemKey:function(or){return It(or.record)},scrollWidth:Wn,onVirtualScroll:function(or){var Va=or.x;Me({scrollLeft:Va})},extraRender:Pr},function(_a,or,Va){var ja=It(_a.record,or);return ie.createElement(Fa,(0,ze.Z)({data:_a,rowKey:ja,index:or},Va))}):Jr=ie.createElement("div",{className:Oe()("".concat(Vt,"-placeholder"))},ie.createElement(st,{component:"div",prefixCls:Vt},qt)),ie.createElement(Yo.Provider,{value:nr},Jr)}),Ia=te(ar),zn=Ia,Qa=function(ge,Ae){var Me=Ae.ref,Ze=Ae.onScroll;return ie.createElement(zn,{ref:Me,data:ge,onScroll:Ze})},xn=100;function Ca(ue){var ge=ue.columns,Ae=ue.scroll,Me=ue.prefixCls,Ze=Me===void 0?Rr:Me,nt=ue.className,ft=ue.listItemHeight,It=Ae||{},Nt=It.x,Vt=It.y;typeof Nt!="number"&&(Nt=((ge||[]).length+1)*xn),typeof Vt!="number"&&(Vt=500);var fn=ie.useMemo(function(){return{scrollY:Vt,listItemHeight:ft}},[Vt,ft]);return ie.createElement(di.Provider,{value:fn},ie.createElement(sl,(0,ze.Z)({},ue,{className:Oe()(nt,"".concat(Ze,"-virtual")),scroll:(0,be.Z)((0,be.Z)({},Ae),{},{x:Nt}),components:{body:Qa},columns:ge,internalHooks:de,tailor:!0})))}function Sa(ue){return z(Ca,ue)}var jr=Sa(),Ga=null;function Ho(ue){return null}var lo=Ho;function vo(ue){return null}var cr=vo,sr=ee(10366),Xn=ee(58375),Ir=ee(53124),li=ee(88258),ka=ee(98675),Pa=ee(25378),Qr=ee(24457),Li=ee(28452),qn=ee(57953),fr=ee(46605);function ya(ue){return function(Ae){let{prefixCls:Me,onExpand:Ze,record:nt,expanded:ft,expandable:It}=Ae;const Nt=`${Me}-row-expand-icon`;return ie.createElement("button",{type:"button",onClick:Vt=>{Ze(nt,Vt),Vt.stopPropagation()},className:Oe()(Nt,{[`${Nt}-spaced`]:!It,[`${Nt}-expanded`]:It&&ft,[`${Nt}-collapsed`]:It&&!ft}),"aria-label":ft?ue.collapse:ue.expand,"aria-expanded":ft})}}var un=ya;function ca(ue,ge){return"key"in ue&&ue.key!==void 0&&ue.key!==null?ue.key:ue.dataIndex?Array.isArray(ue.dataIndex)?ue.dataIndex.join("."):ue.dataIndex:ge}function Bn(ue,ge){return ge?`${ge}-${ue}`:`${ue}`}function Xr(ue,ge){return typeof ue=="function"?ue(ge):ue}function wr(ue,ge){const Ae=Xr(ue,ge);return Object.prototype.toString.call(Ae)==="[object Object]"?"":Ae}var Dr={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"},uo=Dr,xr=ee(74643),fo=function(ge,Ae){return ie.createElement(xr.Z,(0,ze.Z)({},ge,{ref:Ae,icon:uo}))},lr=ie.forwardRef(fo),Br=ee(7699),So=ee(57838);function Vo(ue){const ge=ie.useRef(ue),Ae=(0,So.Z)();return[()=>ge.current,Me=>{ge.current=Me,Ae()}]}var Mn=ee(71577),ga=ee(84567),rr=ee(85418),na=ee(32983),Ua=ee(68508),Kr=ee(76529),Mr=ee(78045),Lo=ee(79870),hi=ee(72395),Ki=ee(69677);function Ji(ue){let{value:ge,onChange:Ae,filterSearch:Me,tablePrefixCls:Ze,locale:nt}=ue;return Me?ie.createElement("div",{className:`${Ze}-filter-dropdown-search`},ie.createElement(Ki.default,{prefix:ie.createElement(hi.Z,null),placeholder:nt.filterSearchPlaceholder,onChange:Ae,value:ge,htmlSize:1,className:`${Ze}-filter-dropdown-search-input`})):null}var Pl=Ji,wu=ee(92389);const Mu=ue=>{const{keyCode:ge}=ue;ge===wu.Z.ENTER&&ue.stopPropagation()};var se=ie.forwardRef((ue,ge)=>ie.createElement("div",{className:ue.className,onClick:Ae=>Ae.stopPropagation(),onKeyDown:Mu,ref:ge},ue.children));function fe(ue){let ge=[];return(ue||[]).forEach(Ae=>{let{value:Me,children:Ze}=Ae;ge.push(Me),Ze&&(ge=[].concat((0,Sr.Z)(ge),(0,Sr.Z)(fe(Ze))))}),ge}function Ee(ue){return ue.some(ge=>{let{children:Ae}=ge;return Ae})}function Xe(ue,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(ue.trim().toLowerCase()):!1}function _e(ue){let{filters:ge,prefixCls:Ae,filteredKeys:Me,filterMultiple:Ze,searchValue:nt,filterSearch:ft}=ue;return ge.map((It,Nt)=>{const Vt=String(It.value);if(It.children)return{key:Vt||Nt,label:It.text,popupClassName:`${Ae}-dropdown-submenu`,children:_e({filters:It.children,prefixCls:Ae,filteredKeys:Me,filterMultiple:Ze,searchValue:nt,filterSearch:ft})};const fn=Ze?ga.default:Mr.ZP,qt={key:It.value!==void 0?Vt:Nt,label:ie.createElement(ie.Fragment,null,ie.createElement(fn,{checked:Me.includes(Vt)}),ie.createElement("span",null,It.text))};return nt.trim()?typeof ft=="function"?ft(nt,It)?qt:null:Xe(nt,It.text)?qt:null:qt})}function Tt(ue){var ge,Ae;const{tablePrefixCls:Me,prefixCls:Ze,column:nt,dropdownPrefixCls:ft,columnKey:It,filterMultiple:Nt,filterMode:Vt="menu",filterSearch:fn=!1,filterState:qt,triggerFilter:Wn,locale:Hn,children:Gn,getPopupContainer:ta}=ue,{filterDropdownOpen:Pn,onFilterDropdownOpenChange:va,filterResetToDefaultFilteredValue:ia,defaultFilteredValue:Ha,filterDropdownVisible:gr,onFilterDropdownVisibleChange:Pr}=nt,[nr,Lr]=ie.useState(!1),Jr=!!(qt&&(!((ge=qt.filteredKeys)===null||ge===void 0)&&ge.length||qt.forceFiltered)),_a=hr=>{Lr(hr),va==null||va(hr),Pr==null||Pr(hr)},or=(Ae=Pn!=null?Pn:gr)!==null&&Ae!==void 0?Ae:nr,Va=qt==null?void 0:qt.filteredKeys,[ja,qa]=Vo(Va||[]),Tr=hr=>{let{selectedKeys:Ur}=hr;qa(Ur)},no=(hr,Ur)=>{let{node:Bo,checked:ho}=Ur;Tr(Nt?{selectedKeys:hr}:{selectedKeys:ho&&Bo.key?[Bo.key]:[]})};ie.useEffect(()=>{nr&&Tr({selectedKeys:Va||[]})},[Va]);const[Gr,br]=ie.useState([]),ro=hr=>{br(hr)},[po,_o]=ie.useState(""),bo=hr=>{const{value:Ur}=hr.target;_o(Ur)};ie.useEffect(()=>{nr||_o("")},[nr]);const Si=hr=>{const Ur=hr&&hr.length?hr:null;if(Ur===null&&(!qt||!qt.filteredKeys)||(0,Br.Z)(Ur,qt==null?void 0:qt.filteredKeys,!0))return null;Wn({column:nt,key:It,filteredKeys:Ur})},Pi=()=>{_a(!1),Si(ja())},qr=function(){let{confirm:hr,closeDropdown:Ur}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};hr&&Si([]),Ur&&_a(!1),_o(""),qa(ia?(Ha||[]).map(Bo=>String(Bo)):[])},Bi=function(){let{closeDropdown:hr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};hr&&_a(!1),Si(ja())},No=hr=>{hr&&Va!==void 0&&qa(Va||[]),_a(hr),!hr&&!nt.filterDropdown&&Pi()},mi=Oe()({[`${ft}-menu-without-submenu`]:!Ee(nt.filters||[])}),ui=hr=>{if(hr.target.checked){const Ur=fe(nt==null?void 0:nt.filters).map(Bo=>String(Bo));qa(Ur)}else qa([])},pl=hr=>{let{filters:Ur}=hr;return(Ur||[]).map((Bo,ho)=>{const ol=String(Bo.value),tl={title:Bo.text,key:Bo.value!==void 0?ol:ho};return Bo.children&&(tl.children=pl({filters:Bo.children})),tl})},yr=hr=>{var Ur;return Object.assign(Object.assign({},hr),{text:hr.title,value:hr.key,children:((Ur=hr.children)===null||Ur===void 0?void 0:Ur.map(Bo=>yr(Bo)))||[]})};let Ar;if(typeof nt.filterDropdown=="function")Ar=nt.filterDropdown({prefixCls:`${ft}-custom`,setSelectedKeys:hr=>Tr({selectedKeys:hr}),selectedKeys:ja(),confirm:Bi,clearFilters:qr,filters:nt.filters,visible:or,close:()=>{_a(!1)}});else if(nt.filterDropdown)Ar=nt.filterDropdown;else{const hr=ja()||[],Ur=()=>(nt.filters||[]).length===0?ie.createElement(na.Z,{image:na.Z.PRESENTED_IMAGE_SIMPLE,description:Hn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Vt==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(Pl,{filterSearch:fn,value:po,onChange:bo,tablePrefixCls:Me,locale:Hn}),ie.createElement("div",{className:`${Me}-filter-dropdown-tree`},Nt?ie.createElement(ga.default,{checked:hr.length===fe(nt.filters).length,indeterminate:hr.length>0&&hr.length<fe(nt.filters).length,className:`${Me}-filter-dropdown-checkall`,onChange:ui},Hn.filterCheckall):null,ie.createElement(Lo.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Nt,checkStrictly:!Nt,className:`${ft}-menu`,onCheck:no,checkedKeys:hr,selectedKeys:hr,showIcon:!1,treeData:pl({filters:nt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:po.trim()?ho=>typeof fn=="function"?fn(po,yr(ho)):Xe(po,ho.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(Pl,{filterSearch:fn,value:po,onChange:bo,tablePrefixCls:Me,locale:Hn}),ie.createElement(Ua.default,{selectable:!0,multiple:Nt,prefixCls:`${ft}-menu`,className:mi,onSelect:Tr,onDeselect:Tr,selectedKeys:hr,getPopupContainer:ta,openKeys:Gr,onOpenChange:ro,items:_e({filters:nt.filters||[],filterSearch:fn,prefixCls:Ze,filteredKeys:ja(),filterMultiple:Nt,searchValue:po})})),Bo=()=>ia?(0,Br.Z)((Ha||[]).map(ho=>String(ho)),hr,!0):hr.length===0;Ar=ie.createElement(ie.Fragment,null,Ur(),ie.createElement("div",{className:`${Ze}-dropdown-btns`},ie.createElement(Mn.ZP,{type:"link",size:"small",disabled:Bo(),onClick:()=>qr()},Hn.filterReset),ie.createElement(Mn.ZP,{type:"primary",size:"small",onClick:Pi},Hn.filterConfirm)))}nt.filterDropdown&&(Ar=ie.createElement(Kr.J,{selectable:void 0},Ar));const Fr=()=>ie.createElement(se,{className:`${Ze}-dropdown`},Ar);let pr;typeof nt.filterIcon=="function"?pr=nt.filterIcon(Jr):nt.filterIcon?pr=nt.filterIcon:pr=ie.createElement(lr,null);const{direction:Oo}=ie.useContext(Ir.E_);return ie.createElement("div",{className:`${Ze}-column`},ie.createElement("span",{className:`${Me}-column-title`},Gn),ie.createElement(rr.Z,{dropdownRender:Fr,trigger:["click"],open:or,onOpenChange:No,getPopupContainer:ta,placement:Oo==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:Oe()(`${Ze}-trigger`,{active:Jr}),onClick:hr=>{hr.stopPropagation()}},pr)))}var At=Tt;function ln(ue,ge,Ae){let Me=[];return(ue||[]).forEach((Ze,nt)=>{var ft;const It=Bn(nt,Ae);if(Ze.filters||"filterDropdown"in Ze||"onFilter"in Ze)if("filteredValue"in Ze){let Nt=Ze.filteredValue;"filterDropdown"in Ze||(Nt=(ft=Nt==null?void 0:Nt.map(String))!==null&&ft!==void 0?ft:Nt),Me.push({column:Ze,key:ca(Ze,It),filteredKeys:Nt,forceFiltered:Ze.filtered})}else Me.push({column:Ze,key:ca(Ze,It),filteredKeys:ge&&Ze.defaultFilteredValue?Ze.defaultFilteredValue:void 0,forceFiltered:Ze.filtered});"children"in Ze&&(Me=[].concat((0,Sr.Z)(Me),(0,Sr.Z)(ln(Ze.children,ge,It))))}),Me}function sn(ue,ge,Ae,Me,Ze,nt,ft,It){return Ae.map((Nt,Vt)=>{const fn=Bn(Vt,It),{filterMultiple:qt=!0,filterMode:Wn,filterSearch:Hn}=Nt;let Gn=Nt;if(Gn.filters||Gn.filterDropdown){const ta=ca(Gn,fn),Pn=Me.find(va=>{let{key:ia}=va;return ta===ia});Gn=Object.assign(Object.assign({},Gn),{title:va=>ie.createElement(At,{tablePrefixCls:ue,prefixCls:`${ue}-filter`,dropdownPrefixCls:ge,column:Gn,columnKey:ta,filterState:Pn,filterMultiple:qt,filterMode:Wn,filterSearch:Hn,triggerFilter:nt,locale:Ze,getPopupContainer:ft},Xr(Nt.title,va))})}return"children"in Gn&&(Gn=Object.assign(Object.assign({},Gn),{children:sn(ue,ge,Gn.children,Me,Ze,nt,ft,fn)})),Gn})}function An(ue){const ge={};return ue.forEach(Ae=>{let{key:Me,filteredKeys:Ze,column:nt}=Ae;const{filters:ft,filterDropdown:It}=nt;if(It)ge[Me]=Ze||null;else if(Array.isArray(Ze)){const Nt=fe(ft);ge[Me]=Nt.filter(Vt=>Ze.includes(String(Vt)))}else ge[Me]=null}),ge}function ba(ue,ge){return ge.reduce((Ae,Me)=>{const{column:{onFilter:Ze,filters:nt},filteredKeys:ft}=Me;return Ze&&ft&&ft.length?Ae.filter(It=>ft.some(Nt=>{const Vt=fe(nt),fn=Vt.findIndex(Wn=>String(Wn)===String(Nt)),qt=fn!==-1?Vt[fn]:Nt;return Ze(qt,It)})):Ae},ue)}const On=ue=>ue.flatMap(ge=>"children"in ge?[ge].concat((0,Sr.Z)(On(ge.children||[]))):[ge]);function Tn(ue){let{prefixCls:ge,dropdownPrefixCls:Ae,mergedColumns:Me,onFilterChange:Ze,getPopupContainer:nt,locale:ft}=ue;const It=ie.useMemo(()=>On(Me||[]),[Me]),[Nt,Vt]=ie.useState(()=>ln(It,!0)),fn=ie.useMemo(()=>{const Gn=ln(It,!1);if(Gn.length===0)return Gn;let ta=!0,Pn=!0;if(Gn.forEach(va=>{let{filteredKeys:ia}=va;ia!==void 0?ta=!1:Pn=!1}),ta){const va=(It||[]).map((ia,Ha)=>ca(ia,Bn(Ha)));return Nt.filter(ia=>{let{key:Ha}=ia;return va.includes(Ha)}).map(ia=>{const Ha=It[va.findIndex(gr=>gr===ia.key)];return Object.assign(Object.assign({},ia),{column:Object.assign(Object.assign({},ia.column),Ha),forceFiltered:Ha.filtered})})}return Gn},[It,Nt]),qt=ie.useMemo(()=>An(fn),[fn]),Wn=Gn=>{const ta=fn.filter(Pn=>{let{key:va}=Pn;return va!==Gn.key});ta.push(Gn),Vt(ta),Ze(An(ta),ta)};return[Gn=>sn(ge,Ae,Gn,fn,ft,Wn,nt),fn,qt]}var aa=Tn;function oa(ue,ge,Ae){const Me=ie.useRef({});function Ze(nt){if(!Me.current||Me.current.data!==ue||Me.current.childrenColumnName!==ge||Me.current.getRowKey!==Ae){let It=function(Nt){Nt.forEach((Vt,fn)=>{const qt=Ae(Vt,fn);ft.set(qt,Vt),Vt&&typeof Vt=="object"&&ge in Vt&&It(Vt[ge]||[])})};const ft=new Map;It(ue),Me.current={data:ue,childrenColumnName:ge,kvMap:ft,getRowKey:Ae}}return Me.current.kvMap.get(nt)}return[Ze]}var dn=ee(38780),Ln=function(ue,ge){var Ae={};for(var Me in ue)Object.prototype.hasOwnProperty.call(ue,Me)&&ge.indexOf(Me)<0&&(Ae[Me]=ue[Me]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Me=Object.getOwnPropertySymbols(ue);Ze<Me.length;Ze++)ge.indexOf(Me[Ze])<0&&Object.prototype.propertyIsEnumerable.call(ue,Me[Ze])&&(Ae[Me[Ze]]=ue[Me[Ze]]);return Ae};const da=10;function Xa(ue,ge){const Ae={current:ue.current,pageSize:ue.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach(Ze=>{const nt=ue[Ze];typeof nt!="function"&&(Ae[Ze]=nt)}),Ae}function Ka(ue,ge,Ae){const Me=Ae&&typeof Ae=="object"?Ae:{},{total:Ze=0}=Me,nt=Ln(Me,["total"]),[ft,It]=(0,ie.useState)(()=>({current:"defaultCurrent"in nt?nt.defaultCurrent:1,pageSize:"defaultPageSize"in nt?nt.defaultPageSize:da})),Nt=(0,dn.Z)(ft,nt,{total:Ze>0?Ze:ue}),Vt=Math.ceil((Ze||ue)/Nt.pageSize);Nt.current>Vt&&(Nt.current=Vt||1);const fn=(Wn,Hn)=>{It({current:Wn!=null?Wn:1,pageSize:Hn||Nt.pageSize})},qt=(Wn,Hn)=>{var Gn;Ae&&((Gn=Ae.onChange)===null||Gn===void 0||Gn.call(Ae,Wn,Hn)),fn(Wn,Hn),ge(Wn,Hn||(Nt==null?void 0:Nt.pageSize))};return Ae===!1?[{},()=>{}]:[Object.assign(Object.assign({},Nt),{onChange:qt}),fn]}var $a=Ka,tr=ee(42922),Ja=ee(29873),Wa=ee(97153),so=ee(83898),kr=ee(5663);const eo={},Co="SELECT_ALL",jo="SELECT_INVERT",Xo="SELECT_NONE",vi=[],Zo=(ue,ge)=>{let Ae=[];return(ge||[]).forEach(Me=>{Ae.push(Me),Me&&typeof Me=="object"&&ue in Me&&(Ae=[].concat((0,Sr.Z)(Ae),(0,Sr.Z)(Zo(ue,Me[ue]))))}),Ae};var Do=(ue,ge)=>{const{preserveSelectedRowKeys:Ae,selectedRowKeys:Me,defaultSelectedRowKeys:Ze,getCheckboxProps:nt,onChange:ft,onSelect:It,onSelectAll:Nt,onSelectInvert:Vt,onSelectNone:fn,onSelectMultiple:qt,columnWidth:Wn,type:Hn,selections:Gn,fixed:ta,renderCell:Pn,hideSelectAll:va,checkStrictly:ia=!0}=ge||{},{prefixCls:Ha,data:gr,pageData:Pr,getRecordByKey:nr,getRowKey:Lr,expandType:Jr,childrenColumnName:_a,locale:or,getPopupContainer:Va}=ue,[ja,qa]=(0,kr.Z)(Me||Ze||vi,{value:Me}),Tr=ie.useRef(new Map),no=(0,ie.useCallback)(yr=>{if(Ae){const Ar=new Map;yr.forEach(Fr=>{let pr=nr(Fr);!pr&&Tr.current.has(Fr)&&(pr=Tr.current.get(Fr)),Ar.set(Fr,pr)}),Tr.current=Ar}},[nr,Ae]);ie.useEffect(()=>{no(ja)},[ja]);const{keyEntities:Gr}=(0,ie.useMemo)(()=>{if(ia)return{keyEntities:null};let yr=gr;if(Ae){const Ar=new Set(gr.map((pr,Oo)=>Lr(pr,Oo))),Fr=Array.from(Tr.current).reduce((pr,Oo)=>{let[hr,Ur]=Oo;return Ar.has(hr)?pr:pr.concat(Ur)},[]);yr=[].concat((0,Sr.Z)(yr),(0,Sr.Z)(Fr))}return(0,so.I8)(yr,{externalGetKey:Lr,childrenPropName:_a})},[gr,Lr,ia,_a,Ae]),br=(0,ie.useMemo)(()=>Zo(_a,Pr),[_a,Pr]),ro=(0,ie.useMemo)(()=>{const yr=new Map;return br.forEach((Ar,Fr)=>{const pr=Lr(Ar,Fr),Oo=(nt?nt(Ar):null)||{};yr.set(pr,Oo)}),yr},[br,Lr,nt]),po=(0,ie.useCallback)(yr=>{var Ar;return!!(!((Ar=ro.get(Lr(yr)))===null||Ar===void 0)&&Ar.disabled)},[ro,Lr]),[_o,bo]=(0,ie.useMemo)(()=>{if(ia)return[ja||[],[]];const{checkedKeys:yr,halfCheckedKeys:Ar}=(0,Wa.S)(ja,!0,Gr,po);return[yr||[],Ar]},[ja,ia,Gr,po]),Si=(0,ie.useMemo)(()=>{const yr=Hn==="radio"?_o.slice(0,1):_o;return new Set(yr)},[_o,Hn]),Pi=(0,ie.useMemo)(()=>Hn==="radio"?new Set:new Set(bo),[bo,Hn]),[qr,Bi]=(0,ie.useState)(null);ie.useEffect(()=>{ge||qa(vi)},[!!ge]);const No=(0,ie.useCallback)((yr,Ar)=>{let Fr,pr;no(yr),Ae?(Fr=yr,pr=yr.map(Oo=>Tr.current.get(Oo))):(Fr=[],pr=[],yr.forEach(Oo=>{const hr=nr(Oo);hr!==void 0&&(Fr.push(Oo),pr.push(hr))})),qa(Fr),ft==null||ft(Fr,pr,{type:Ar})},[qa,nr,ft,Ae]),mi=(0,ie.useCallback)((yr,Ar,Fr,pr)=>{if(It){const Oo=Fr.map(hr=>nr(hr));It(nr(yr),Ar,Oo,pr)}No(Fr,"single")},[It,nr,No]),ui=(0,ie.useMemo)(()=>!Gn||va?null:(Gn===!0?[Co,jo,Xo]:Gn).map(Ar=>Ar===Co?{key:"all",text:or.selectionAll,onSelect(){No(gr.map((Fr,pr)=>Lr(Fr,pr)).filter(Fr=>{const pr=ro.get(Fr);return!(pr!=null&&pr.disabled)||Si.has(Fr)}),"all")}}:Ar===jo?{key:"invert",text:or.selectInvert,onSelect(){const Fr=new Set(Si);Pr.forEach((Oo,hr)=>{const Ur=Lr(Oo,hr),Bo=ro.get(Ur);Bo!=null&&Bo.disabled||(Fr.has(Ur)?Fr.delete(Ur):Fr.add(Ur))});const pr=Array.from(Fr);Vt&&Vt(pr),No(pr,"invert")}}:Ar===Xo?{key:"none",text:or.selectNone,onSelect(){fn==null||fn(),No(Array.from(Si).filter(Fr=>{const pr=ro.get(Fr);return pr==null?void 0:pr.disabled}),"none")}}:Ar).map(Ar=>Object.assign(Object.assign({},Ar),{onSelect:function(){for(var Fr,pr,Oo=arguments.length,hr=new Array(Oo),Ur=0;Ur<Oo;Ur++)hr[Ur]=arguments[Ur];(pr=Ar.onSelect)===null||pr===void 0||(Fr=pr).call.apply(Fr,[Ar].concat(hr)),Bi(null)}})),[Gn,Si,Pr,Lr,Vt,No]);return[(0,ie.useCallback)(yr=>{var Ar;if(!ge)return yr.filter(zo=>zo!==eo);let Fr=(0,Sr.Z)(yr);const pr=new Set(Si),Oo=br.map(Lr).filter(zo=>!ro.get(zo).disabled),hr=Oo.every(zo=>pr.has(zo)),Ur=Oo.some(zo=>pr.has(zo)),Bo=()=>{const zo=[];hr?Oo.forEach(fi=>{pr.delete(fi),zo.push(fi)}):Oo.forEach(fi=>{pr.has(fi)||(pr.add(fi),zo.push(fi))});const Ko=Array.from(pr);Nt==null||Nt(!hr,Ko.map(fi=>nr(fi)),zo.map(fi=>nr(fi))),No(Ko,"all"),Bi(null)};let ho;if(Hn!=="radio"){let zo;if(ui){const mo={getPopupContainer:Va,items:ui.map((vl,il)=>{const{key:bl,text:jl,onSelect:Kl}=vl;return{key:bl!=null?bl:il,onClick:()=>{Kl==null||Kl(Oo)},label:jl}})};zo=ie.createElement("div",{className:`${Ha}-selection-extra`},ie.createElement(rr.Z,{menu:mo,getPopupContainer:Va},ie.createElement("span",null,ie.createElement(tr.Z,null))))}const Ko=br.map((mo,vl)=>{const il=Lr(mo,vl),bl=ro.get(il)||{};return Object.assign({checked:pr.has(il)},bl)}).filter(mo=>{let{disabled:vl}=mo;return vl}),fi=!!Ko.length&&Ko.length===br.length,Ri=fi&&Ko.every(mo=>{let{checked:vl}=mo;return vl}),Wi=fi&&Ko.some(mo=>{let{checked:vl}=mo;return vl});ho=!va&&ie.createElement("div",{className:`${Ha}-selection`},ie.createElement(ga.default,{checked:fi?Ri:!!br.length&&hr,indeterminate:fi?!Ri&&Wi:!hr&&Ur,onChange:Bo,disabled:br.length===0||fi,"aria-label":zo?"Custom selection":"Select all",skipGroup:!0}),zo)}let ol;Hn==="radio"?ol=(zo,Ko,fi)=>{const Ri=Lr(Ko,fi),Wi=pr.has(Ri);return{node:ie.createElement(Mr.ZP,Object.assign({},ro.get(Ri),{checked:Wi,onClick:mo=>mo.stopPropagation(),onChange:mo=>{pr.has(Ri)||mi(Ri,!0,[Ri],mo.nativeEvent)}})),checked:Wi}}:ol=(zo,Ko,fi)=>{var Ri;const Wi=Lr(Ko,fi),mo=pr.has(Wi),vl=Pi.has(Wi),il=ro.get(Wi);let bl;return Jr==="nest"?bl=vl:bl=(Ri=il==null?void 0:il.indeterminate)!==null&&Ri!==void 0?Ri:vl,{node:ie.createElement(ga.default,Object.assign({},il,{indeterminate:bl,checked:mo,skipGroup:!0,onClick:jl=>jl.stopPropagation(),onChange:jl=>{let{nativeEvent:Kl}=jl;const{shiftKey:vu}=Kl;let tu=-1,Il=-1;if(vu&&ia){const Sl=new Set([qr,Wi]);Oo.some((dl,Hi)=>{if(Sl.has(dl))if(tu===-1)tu=Hi;else return Il=Hi,!0;return!1})}if(Il!==-1&&tu!==Il&&ia){const Sl=Oo.slice(tu,Il+1),dl=[];mo?Sl.forEach(yi=>{pr.has(yi)&&(dl.push(yi),pr.delete(yi))}):Sl.forEach(yi=>{pr.has(yi)||(dl.push(yi),pr.add(yi))});const Hi=Array.from(pr);qt==null||qt(!mo,Hi.map(yi=>nr(yi)),dl.map(yi=>nr(yi))),No(Hi,"multiple")}else{const Sl=_o;if(ia){const dl=mo?(0,Ja._5)(Sl,Wi):(0,Ja.L0)(Sl,Wi);mi(Wi,!mo,dl,Kl)}else{const dl=(0,Wa.S)([].concat((0,Sr.Z)(Sl),[Wi]),!0,Gr,po),{checkedKeys:Hi,halfCheckedKeys:yi}=dl;let Yl=Hi;if(mo){const mu=new Set(Hi);mu.delete(Wi),Yl=(0,Wa.S)(Array.from(mu),{checked:!1,halfCheckedKeys:yi},Gr,po).checkedKeys}mi(Wi,!mo,Yl,Kl)}}Bi(mo?null:Wi)}})),checked:mo}};const tl=(zo,Ko,fi)=>{const{node:Ri,checked:Wi}=ol(zo,Ko,fi);return Pn?Pn(Wi,Ko,fi,Ri):Ri};if(!Fr.includes(eo))if(Fr.findIndex(zo=>{var Ko;return((Ko=zo[Or])===null||Ko===void 0?void 0:Ko.columnType)==="EXPAND_COLUMN"})===0){const[zo,...Ko]=Fr;Fr=[zo,eo].concat((0,Sr.Z)(Ko))}else Fr=[eo].concat((0,Sr.Z)(Fr));const Nl=Fr.indexOf(eo);Fr=Fr.filter((zo,Ko)=>zo!==eo||Ko===Nl);const Mi=Fr[Nl-1],Rl=Fr[Nl+1];let Ti=ta;Ti===void 0&&((Rl==null?void 0:Rl.fixed)!==void 0?Ti=Rl.fixed:(Mi==null?void 0:Mi.fixed)!==void 0&&(Ti=Mi.fixed)),Ti&&Mi&&((Ar=Mi[Or])===null||Ar===void 0?void 0:Ar.columnType)==="EXPAND_COLUMN"&&Mi.fixed===void 0&&(Mi.fixed=Ti);const hl=Oe()(`${Ha}-selection-col`,{[`${Ha}-selection-col-with-dropdown`]:Gn&&Hn==="checkbox"}),gu={fixed:Ti,width:Wn,className:`${Ha}-selection-column`,title:ge.columnTitle||ho,render:tl,onCell:ge.onCell,[Or]:{className:hl}};return Fr.map(zo=>zo===eo?gu:zo)},[Lr,br,ge,_o,Si,Pi,Wn,ui,Jr,qr,ro,qt,mi,po]),Si]},Qo=ee(33463),ei=ee(28575),To=ee(83062);const ti="ascend",Oi="descend";function Ei(ue){return typeof ue.sorter=="object"&&typeof ue.sorter.multiple=="number"?ue.sorter.multiple:!1}function Xi(ue){return typeof ue=="function"?ue:ue&&typeof ue=="object"&&ue.compare?ue.compare:!1}function xi(ue,ge){return ge?ue[ue.indexOf(ge)+1]:ue[0]}function Gi(ue,ge,Ae){let Me=[];function Ze(nt,ft){Me.push({column:nt,key:ca(nt,ft),multiplePriority:Ei(nt),sortOrder:nt.sortOrder})}return(ue||[]).forEach((nt,ft)=>{const It=Bn(ft,Ae);nt.children?("sortOrder"in nt&&Ze(nt,It),Me=[].concat((0,Sr.Z)(Me),(0,Sr.Z)(Gi(nt.children,ge,It)))):nt.sorter&&("sortOrder"in nt?Ze(nt,It):ge&&nt.defaultSortOrder&&Me.push({column:nt,key:ca(nt,It),multiplePriority:Ei(nt),sortOrder:nt.defaultSortOrder}))}),Me}function ci(ue,ge,Ae,Me,Ze,nt,ft,It){return(ge||[]).map((Nt,Vt)=>{const fn=Bn(Vt,It);let qt=Nt;if(qt.sorter){const Wn=qt.sortDirections||Ze,Hn=qt.showSorterTooltip===void 0?ft:qt.showSorterTooltip,Gn=ca(qt,fn),ta=Ae.find(Jr=>{let{key:_a}=Jr;return _a===Gn}),Pn=ta?ta.sortOrder:null,va=xi(Wn,Pn);let ia;if(Nt.sortIcon)ia=Nt.sortIcon({sortOrder:Pn});else{const Jr=Wn.includes(ti)&&ie.createElement(ei.Z,{className:Oe()(`${ue}-column-sorter-up`,{active:Pn===ti})}),_a=Wn.includes(Oi)&&ie.createElement(Qo.Z,{className:Oe()(`${ue}-column-sorter-down`,{active:Pn===Oi})});ia=ie.createElement("span",{className:Oe()(`${ue}-column-sorter`,{[`${ue}-column-sorter-full`]:!!(Jr&&_a)})},ie.createElement("span",{className:`${ue}-column-sorter-inner`,"aria-hidden":"true"},Jr,_a))}const{cancelSort:Ha,triggerAsc:gr,triggerDesc:Pr}=nt||{};let nr=Ha;va===Oi?nr=Pr:va===ti&&(nr=gr);const Lr=typeof Hn=="object"?Hn:{title:nr};qt=Object.assign(Object.assign({},qt),{className:Oe()(qt.className,{[`${ue}-column-sort`]:Pn}),title:Jr=>{const _a=ie.createElement("div",{className:`${ue}-column-sorters`},ie.createElement("span",{className:`${ue}-column-title`},Xr(Nt.title,Jr)),ia);return Hn?ie.createElement(To.Z,Object.assign({},Lr),_a):_a},onHeaderCell:Jr=>{const _a=Nt.onHeaderCell&&Nt.onHeaderCell(Jr)||{},or=_a.onClick,Va=_a.onKeyDown;_a.onClick=Tr=>{Me({column:Nt,key:Gn,sortOrder:va,multiplePriority:Ei(Nt)}),or==null||or(Tr)},_a.onKeyDown=Tr=>{Tr.keyCode===wu.Z.ENTER&&(Me({column:Nt,key:Gn,sortOrder:va,multiplePriority:Ei(Nt)}),Va==null||Va(Tr))};const ja=wr(Nt.title,{}),qa=ja==null?void 0:ja.toString();return Pn?_a["aria-sort"]=Pn==="ascend"?"ascending":"descending":_a["aria-label"]=qa||"",_a.className=Oe()(_a.className,`${ue}-column-has-sorters`),_a.tabIndex=0,Nt.ellipsis&&(_a.title=(ja!=null?ja:"").toString()),_a}})}return"children"in qt&&(qt=Object.assign(Object.assign({},qt),{children:ci(ue,qt.children,Ae,Me,Ze,nt,ft,fn)})),qt})}function Di(ue){const{column:ge,sortOrder:Ae}=ue;return{column:ge,order:Ae,field:ge.dataIndex,columnKey:ge.key}}function Ui(ue){const ge=ue.filter(Ae=>{let{sortOrder:Me}=Ae;return Me}).map(Di);return ge.length===0&&ue.length?Object.assign(Object.assign({},Di(ue[ue.length-1])),{column:void 0}):ge.length<=1?ge[0]||{}:ge}function qi(ue,ge,Ae){const Me=ge.slice().sort((ft,It)=>It.multiplePriority-ft.multiplePriority),Ze=ue.slice(),nt=Me.filter(ft=>{let{column:{sorter:It},sortOrder:Nt}=ft;return Xi(It)&&Nt});return nt.length?Ze.sort((ft,It)=>{for(let Nt=0;Nt<nt.length;Nt+=1){const Vt=nt[Nt],{column:{sorter:fn},sortOrder:qt}=Vt,Wn=Xi(fn);if(Wn&&qt){const Hn=Wn(ft,It,qt);if(Hn!==0)return qt===ti?Hn:-Hn}}return 0}).map(ft=>{const It=ft[Ae];return It?Object.assign(Object.assign({},ft),{[Ae]:qi(It,ge,Ae)}):ft}):Ze}function _i(ue){let{prefixCls:ge,mergedColumns:Ae,onSorterChange:Me,sortDirections:Ze,tableLocale:nt,showSorterTooltip:ft}=ue;const[It,Nt]=ie.useState(Gi(Ae,!0)),Vt=ie.useMemo(()=>{let Gn=!0;const ta=Gi(Ae,!1);if(!ta.length)return It;const Pn=[];function va(Ha){Gn?Pn.push(Ha):Pn.push(Object.assign(Object.assign({},Ha),{sortOrder:null}))}let ia=null;return ta.forEach(Ha=>{ia===null?(va(Ha),Ha.sortOrder&&(Ha.multiplePriority===!1?Gn=!1:ia=!0)):(ia&&Ha.multiplePriority!==!1||(Gn=!1),va(Ha))}),Pn},[Ae,It]),fn=ie.useMemo(()=>{const Gn=Vt.map(ta=>{let{column:Pn,sortOrder:va}=ta;return{column:Pn,order:va}});return{sortColumns:Gn,sortColumn:Gn[0]&&Gn[0].column,sortOrder:Gn[0]&&Gn[0].order}},[Vt]);function qt(Gn){let ta;Gn.multiplePriority===!1||!Vt.length||Vt[0].multiplePriority===!1?ta=[Gn]:ta=[].concat((0,Sr.Z)(Vt.filter(Pn=>{let{key:va}=Pn;return va!==Gn.key})),[Gn]),Nt(ta),Me(Ui(ta),ta)}return[Gn=>ci(ge,Gn,Vt,qt,Ze,nt,ft),Vt,fn,()=>Ui(Vt)]}function gl(ue,ge){return ue.map(Ae=>{const Me=Object.assign({},Ae);return Me.title=Xr(Ae.title,ge),"children"in Me&&(Me.children=gl(Me.children,ge)),Me})}function Al(ue){return[ie.useCallback(Ae=>gl(Ae,ue),[ue])]}var Po=ii((ue,ge)=>{const{_renderTimes:Ae}=ue,{_renderTimes:Me}=ge;return Ae!==Me}),Ni=Sa((ue,ge)=>{const{_renderTimes:Ae}=ue,{_renderTimes:Me}=ge;return Ae!==Me}),gi=ee(84780),zi=ee(14747),rl=ee(67968),Ai=ee(45503),zl=ue=>{const{componentCls:ge}=ue,Ae=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`,Me=(Ze,nt,ft)=>({[`&${ge}-${Ze}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${nt}px -${ft+ue.lineWidth}px`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:Ae,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:Ae,borderTop:Ae,[`
> ${ge}-content,
> ${ge}-header,
> ${ge}-body,
> ${ge}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Ae},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Ae},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:Ae}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${ue.tablePaddingVertical}px -${ue.tablePaddingHorizontal+ue.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ue.lineWidth,bottom:0,borderInlineEnd:Ae,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
> tr${ge}-expanded-row,
> tr${ge}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Me("middle",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle)),Me("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:Ae,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ue.lineWidth}px 0 ${ue.lineWidth}px ${ue.tableHeaderBg}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:Ae}}}},ml=ue=>{const{componentCls:ge}=ue;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},zi.vS),{wordBreak:"keep-all",[`
&${ge}-cell-fix-left-last,
&${ge}-cell-fix-right-first
`]:{overflow:"visible",[`${ge}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ge}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},pu=ue=>{const{componentCls:ge}=ue;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:ue.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ue.colorBgContainer}}}}},su=ee(49867),Ml=ue=>{const{componentCls:ge,antCls:Ae,controlInteractiveSize:Me,motionDurationSlow:Ze,lineWidth:nt,paddingXS:ft,lineType:It,tableBorderColor:Nt,tableExpandIconBg:Vt,tableExpandColumnWidth:fn,borderRadius:qt,fontSize:Wn,fontSizeSM:Hn,lineHeight:Gn,tablePaddingVertical:ta,tablePaddingHorizontal:Pn,tableExpandedRowBg:va,paddingXXS:ia}=ue,Ha=Me/2-nt,gr=Ha*2+nt*3,Pr=`${nt}px ${It} ${Nt}`,nr=ia-nt;return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:fn},[`${ge}-row-expand-icon-cell`]:{textAlign:"center",[`${ge}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ge}-row-indent`]:{height:1,float:"left"},[`${ge}-row-expand-icon`]:Object.assign(Object.assign({},(0,su.N)(ue)),{position:"relative",float:"left",boxSizing:"border-box",width:gr,height:gr,padding:0,color:"inherit",lineHeight:`${gr}px`,background:Vt,border:Pr,borderRadius:qt,transform:`scale(${Me/gr})`,transition:`all ${Ze}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ze} ease-out`,content:'""'},"&::before":{top:Ha,insetInlineEnd:nr,insetInlineStart:nr,height:nt},"&::after":{top:nr,bottom:nr,insetInlineStart:Ha,width:nt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ge}-row-indent + ${ge}-row-expand-icon`]:{marginTop:(Wn*Gn-nt*3)/2-Math.ceil((Hn*1.4-nt*3)/2),marginInlineEnd:ft},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:va}},[`${Ae}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`-${ta}px -${Pn}px`,padding:`${ta}px ${Pn}px`}}}},du=ue=>{const{componentCls:ge,antCls:Ae,iconCls:Me,tableFilterDropdownWidth:Ze,tableFilterDropdownSearchWidth:nt,paddingXXS:ft,paddingXS:It,colorText:Nt,lineWidth:Vt,lineType:fn,tableBorderColor:qt,tableHeaderIconColor:Wn,fontSizeSM:Hn,tablePaddingHorizontal:Gn,borderRadius:ta,motionDurationSlow:Pn,colorTextDescription:va,colorPrimary:ia,tableHeaderFilterActiveBg:Ha,colorTextDisabled:gr,tableFilterDropdownBg:Pr,tableFilterDropdownHeight:nr,controlItemBgHover:Lr,controlItemBgActive:Jr,boxShadowSecondary:_a,filterDropdownMenuBg:or}=ue,Va=`${Ae}-dropdown`,ja=`${ge}-filter-dropdown`,qa=`${Ae}-tree`,Tr=`${Vt}px ${fn} ${qt}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-ft,marginInline:`${ft}px ${-Gn/2}px`,padding:`0 ${ft}px`,color:Wn,fontSize:Hn,borderRadius:ta,cursor:"pointer",transition:`all ${Pn}`,"&:hover":{color:va,background:Ha},"&.active":{color:ia}}}},{[`${Ae}-dropdown`]:{[ja]:Object.assign(Object.assign({},(0,zi.Wf)(ue)),{minWidth:Ze,backgroundColor:Pr,borderRadius:ta,boxShadow:_a,overflow:"hidden",[`${Va}-menu`]:{maxHeight:nr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:or,"&:empty::after":{display:"block",padding:`${It}px 0`,color:gr,fontSize:Hn,textAlign:"center",content:'"Not Found"'}},[`${ja}-tree`]:{paddingBlock:`${It}px 0`,paddingInline:It,[qa]:{padding:0},[`${qa}-treenode ${qa}-node-content-wrapper:hover`]:{backgroundColor:Lr},[`${qa}-treenode-checkbox-checked ${qa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Jr}}},[`${ja}-search`]:{padding:It,borderBottom:Tr,"&-input":{input:{minWidth:nt},[Me]:{color:gr}}},[`${ja}-checkall`]:{width:"100%",marginBottom:ft,marginInlineStart:ft},[`${ja}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${It-Vt}px ${It}px`,overflow:"hidden",borderTop:Tr}})}},{[`${Ae}-dropdown ${ja}, ${ja}-submenu`]:{[`${Ae}-checkbox-wrapper + span`]:{paddingInlineStart:It,color:Nt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Dl=ue=>{const{componentCls:ge,lineWidth:Ae,colorSplit:Me,motionDurationSlow:Ze,zIndexTableFixed:nt,tableBg:ft,zIndexTableSticky:It}=ue,Nt=Me;return{[`${ge}-wrapper`]:{[`
${ge}-cell-fix-left,
${ge}-cell-fix-right
`]:{position:"sticky !important",zIndex:nt,background:ft},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Ae,width:30,transform:"translateX(100%)",transition:`box-shadow ${Ze}`,content:'""',pointerEvents:"none"},[`${ge}-cell-fix-left-all::after`]:{display:"none"},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Ae,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ze}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:It+1,width:30,transition:`box-shadow ${Ze}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Nt}`}},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Nt}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Nt}`}},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Nt}`}}}}},yl=ue=>{const{componentCls:ge,antCls:Ae}=ue;return{[`${ge}-wrapper`]:{[`${ge}-pagination${Ae}-pagination`]:{margin:`${ue.margin}px 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ue.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Gl=ue=>{const{componentCls:ge,tableRadius:Ae}=ue;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${Ae}px ${Ae}px 0 0`},[`${ge}-title + ${ge}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ge}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Ae,borderStartEndRadius:Ae,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ae},"> *:last-child":{borderStartEndRadius:Ae}}},"&-footer":{borderRadius:`0 0 ${Ae}px ${Ae}px`}}}}},Ll=ue=>{const{componentCls:ge}=ue;return{[`${ge}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ge}-pagination-left`]:{justifyContent:"flex-end"},[`${ge}-pagination-right`]:{justifyContent:"flex-start"},[`${ge}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ge}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ge}-row-indent`]:{float:"right"}}}}},Yi=ue=>{const{componentCls:ge,antCls:Ae,iconCls:Me,fontSizeIcon:Ze,padding:nt,paddingXS:ft,tableHeaderIconColor:It,tableHeaderIconColorHover:Nt,tableSelectionColumnWidth:Vt}=ue;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Vt,[`&${ge}-selection-col-with-dropdown`]:{width:Vt+Ze+nt/4}},[`${ge}-bordered ${ge}-selection-col`]:{width:Vt+ft*2,[`&${ge}-selection-col-with-dropdown`]:{width:Vt+Ze+nt/4+ft*2}},[`
table tr th${ge}-selection-column,
table tr td${ge}-selection-column
`]:{paddingInlineEnd:ue.paddingXS,paddingInlineStart:ue.paddingXS,textAlign:"center",[`${Ae}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:ue.zIndexTableFixed+1},[`table tr th${ge}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ge}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ge}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ue.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ue.tablePaddingHorizontal/4}px`,[Me]:{color:It,fontSize:Ze,verticalAlign:"baseline","&:hover":{color:Nt}}}}}},$l=ue=>{const{componentCls:ge}=ue,Ae=(Me,Ze,nt,ft)=>({[`${ge}${ge}-${Me}`]:{fontSize:ft,[`
${ge}-title,
${ge}-footer,
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Ze}px ${nt}px`},[`${ge}-filter-trigger`]:{marginInlineEnd:`-${nt/2}px`},[`${ge}-expanded-row-fixed`]:{margin:`-${Ze}px -${nt}px`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:`-${Ze}px`,marginInline:`${ue.tableExpandColumnWidth-nt}px -${nt}px`}},[`${ge}-selection-column`]:{paddingInlineStart:`${nt/4}px`}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},Ae("middle",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle,ue.tableFontSizeMiddle)),Ae("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall,ue.tableFontSizeSmall))}},Cl=ue=>{const{componentCls:ge,marginXXS:Ae,fontSizeIcon:Me,tableHeaderIconColor:Ze,tableHeaderIconColorHover:nt}=ue;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ue.motionDurationSlow}`,"&:hover":{background:ue.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ue.colorPrimary},[`
&${ge}-cell-fix-left:hover,
&${ge}-cell-fix-right:hover
`]:{background:ue.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:ue.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:ue.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorter`]:{marginInlineStart:Ae,color:Ze,fontSize:0,transition:`color ${ue.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Me,"&.active":{color:ue.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:nt}}}},ni=ue=>{const{componentCls:ge,opacityLoading:Ae,tableScrollThumbBg:Me,tableScrollThumbBgHover:Ze,tableScrollThumbSize:nt,tableScrollBg:ft,zIndexTableSticky:It,stickyScrollBarBorderRadius:Nt}=ue,Vt=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:It,background:ue.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${nt}px !important`,zIndex:It,display:"flex",alignItems:"center",background:ft,borderTop:Vt,opacity:Ae,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:nt,backgroundColor:Me,borderRadius:Nt,transition:`all ${ue.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ze}}}}}}},Ol=ue=>{const{componentCls:ge,lineWidth:Ae,tableBorderColor:Me}=ue,Ze=`${Ae}px ${ue.lineType} ${Me}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:ue.zIndexTableFixed,background:ue.tableBg,"> tr":{"> th, > td":{borderBottom:Ze}}},[`div${ge}-summary`]:{boxShadow:`0 -${Ae}px 0 ${Me}`}}}},cu=ue=>{const{componentCls:ge}=ue,Ae=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`,Me=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ge}-cell`]:{borderBottom:Ae},[`${ge}-expanded-row`]:{[`${Me}${Me}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ue.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Ae,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:Ae,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ue.lineWidth,borderInlineStart:Ae}}}}}}};const eu=ue=>{const{componentCls:ge,fontWeightStrong:Ae,tablePaddingVertical:Me,tablePaddingHorizontal:Ze,lineWidth:nt,lineType:ft,tableBorderColor:It,tableFontSize:Nt,tableBg:Vt,tableRadius:fn,tableHeaderTextColor:qt,motionDurationMid:Wn,tableHeaderBg:Hn,tableHeaderCellSplitColor:Gn,tableRowHoverBg:ta,tableSelectedRowBg:Pn,tableSelectedRowHoverBg:va,tableFooterTextColor:ia,tableFooterBg:Ha,paddingContentVerticalLG:gr}=ue,Pr=`${nt}px ${ft} ${It}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,zi.dF)()),{[ge]:Object.assign(Object.assign({},(0,zi.Wf)(ue)),{fontSize:Nt,background:Vt,borderRadius:`${fn}px ${fn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${fn}px ${fn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${gr}px ${Ze}px`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${Me}px ${Ze}px`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:qt,fontWeight:Ae,textAlign:"start",background:Hn,borderBottom:Pr,transition:`background ${Wn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ge}-selection-column):not(${ge}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Gn,transform:"translateY(-50%)",transition:`background-color ${Wn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Wn}, border-color ${Wn}`,borderBottom:Pr,[`
> ${ge}-wrapper:only-child,
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
`]:{[ge]:{marginBlock:`-${Me}px`,marginInline:`${ue.tableExpandColumnWidth-Ze}px -${Ze}px`,[`${ge}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:qt,fontWeight:Ae,textAlign:"start",background:Hn,borderBottom:Pr,transition:`background ${Wn} ease`},[`
&${ge}-row:hover > th,
&${ge}-row:hover > td,
> th${ge}-cell-row-hover,
> td${ge}-cell-row-hover
`]:{background:ta},[`&${ge}-row-selected`]:{"> th, > td":{background:Pn},"&:hover > th, &:hover > td":{background:va}}}},[`${ge}-footer`]:{padding:`${Me}px ${Ze}px`,color:ia,background:Ha}})}};var hu=(0,rl.Z)("Table",ue=>{const{colorTextHeading:ge,colorSplit:Ae,colorIcon:Me,colorIconHover:Ze,opacityLoading:nt,colorBgContainer:ft,controlInteractiveSize:It,headerBg:Nt,headerColor:Vt,headerSortActiveBg:fn,headerSortHoverBg:qt,bodySortBg:Wn,rowHoverBg:Hn,rowSelectedBg:Gn,rowSelectedHoverBg:ta,rowExpandedBg:Pn,cellPaddingBlock:va,cellPaddingInline:ia,cellPaddingBlockMD:Ha,cellPaddingInlineMD:gr,cellPaddingBlockSM:Pr,cellPaddingInlineSM:nr,borderColor:Lr,footerBg:Jr,footerColor:_a,headerBorderRadius:or,cellFontSize:Va,cellFontSizeMD:ja,cellFontSizeSM:qa,headerSplitColor:Tr,fixedHeaderSortActiveBg:no,headerFilterHoverBg:Gr,filterDropdownBg:br,expandIconBg:ro,selectionColumnWidth:po,stickyScrollBarBg:_o}=ue,bo=new gi.C(Me),Si=new gi.C(Ze),Pi=2,qr=(0,Ai.TS)(ue,{tableFontSize:Va,tableBg:ft,tableRadius:or,tablePaddingVertical:va,tablePaddingHorizontal:ia,tablePaddingVerticalMiddle:Ha,tablePaddingHorizontalMiddle:gr,tablePaddingVerticalSmall:Pr,tablePaddingHorizontalSmall:nr,tableBorderColor:Lr,tableHeaderTextColor:Vt,tableHeaderBg:Nt,tableFooterTextColor:_a,tableFooterBg:Jr,tableHeaderCellSplitColor:Tr,tableHeaderSortBg:fn,tableHeaderSortHoverBg:qt,tableHeaderIconColor:bo.clone().setAlpha(bo.getAlpha()*nt).toRgbString(),tableHeaderIconColorHover:Si.clone().setAlpha(Si.getAlpha()*nt).toRgbString(),tableBodySortBg:Wn,tableFixedHeaderSortActiveBg:no,tableHeaderFilterActiveBg:Gr,tableFilterDropdownBg:br,tableRowHoverBg:Hn,tableSelectedRowBg:Gn,tableSelectedRowHoverBg:ta,zIndexTableFixed:Pi,zIndexTableSticky:Pi+1,tableFontSizeMiddle:ja,tableFontSizeSmall:qa,tableSelectionColumnWidth:po,tableExpandIconBg:ro,tableExpandColumnWidth:It+2*ue.padding,tableExpandedRowBg:Pn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:_o,tableScrollThumbBgHover:ge,tableScrollBg:Ae});return[eu(qr),yl(qr),Ol(qr),Cl(qr),du(qr),zl(qr),Gl(qr),Ml(qr),Ol(qr),pu(qr),Yi(qr),Dl(qr),ni(qr),ml(qr),$l(qr),Ll(qr),cu(qr)]},ue=>{const{colorFillAlter:ge,colorBgContainer:Ae,colorTextHeading:Me,colorFillSecondary:Ze,colorFillContent:nt,controlItemBgActive:ft,controlItemBgActiveHover:It,padding:Nt,paddingSM:Vt,paddingXS:fn,colorBorderSecondary:qt,borderRadiusLG:Wn,fontSize:Hn,controlHeight:Gn,colorTextPlaceholder:ta}=ue,Pn=new gi.C(Ze).onBackground(Ae).toHexShortString(),va=new gi.C(nt).onBackground(Ae).toHexShortString(),ia=new gi.C(ge).onBackground(Ae).toHexShortString();return{headerBg:ia,headerColor:Me,headerSortActiveBg:Pn,headerSortHoverBg:va,bodySortBg:ia,rowHoverBg:ia,rowSelectedBg:ft,rowSelectedHoverBg:It,rowExpandedBg:ge,cellPaddingBlock:Nt,cellPaddingInline:Nt,cellPaddingBlockMD:Vt,cellPaddingInlineMD:fn,cellPaddingBlockSM:fn,cellPaddingInlineSM:fn,borderColor:qt,headerBorderRadius:Wn,footerBg:ia,footerColor:Me,cellFontSize:Hn,cellFontSizeMD:Hn,cellFontSizeSM:Hn,headerSplitColor:qt,fixedHeaderSortActiveBg:Pn,headerFilterHoverBg:nt,filterDropdownMenuBg:Ae,filterDropdownBg:Ae,expandIconBg:Ae,selectionColumnWidth:Gn,stickyScrollBarBg:ta,stickyScrollBarBorderRadius:100}});const ou=[],to=(ue,ge)=>{const{prefixCls:Ae,className:Me,rootClassName:Ze,style:nt,size:ft,bordered:It,dropdownPrefixCls:Nt,dataSource:Vt,pagination:fn,rowSelection:qt,rowKey:Wn="key",rowClassName:Hn,columns:Gn,children:ta,childrenColumnName:Pn,onChange:va,getPopupContainer:ia,loading:Ha,expandIcon:gr,expandable:Pr,expandedRowRender:nr,expandIconColumnIndex:Lr,indentSize:Jr,scroll:_a,sortDirections:or,locale:Va,showSorterTooltip:ja=!0,virtual:qa}=ue,Tr=ie.useMemo(()=>Gn||Zn(ta),[Gn,ta]),no=ie.useMemo(()=>Tr.some(oo=>oo.responsive),[Tr]),Gr=(0,Pa.Z)(no),br=ie.useMemo(()=>{const oo=new Set(Object.keys(Gr).filter(ai=>Gr[ai]));return Tr.filter(ai=>!ai.responsive||ai.responsive.some(ll=>oo.has(ll)))},[Tr,Gr]),ro=(0,sr.Z)(ue,["className","style","columns"]),{locale:po=Qr.Z,direction:_o,table:bo,renderEmpty:Si,getPrefixCls:Pi,getPopupContainer:qr}=ie.useContext(Ir.E_),Bi=(0,ka.Z)(ft),No=Object.assign(Object.assign({},po.Table),Va),mi=Vt||ou,ui=Pi("table",Ae),pl=Pi("dropdown",Nt),yr=Object.assign({childrenColumnName:Pn,expandIconColumnIndex:Lr},Pr),{childrenColumnName:Ar="children"}=yr,Fr=ie.useMemo(()=>mi.some(oo=>oo==null?void 0:oo[Ar])?"nest":nr||Pr&&Pr.expandedRowRender?"row":null,[mi]),pr={body:ie.useRef()},Oo=ie.useMemo(()=>typeof Wn=="function"?Wn:oo=>oo==null?void 0:oo[Wn],[Wn]),[hr]=oa(mi,Ar,Oo),Ur={},Bo=function(oo,ai){let ll=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var pi,ul,wl;const xl=Object.assign(Object.assign({},Ur),oo);ll&&((pi=Ur.resetPagination)===null||pi===void 0||pi.call(Ur),!((ul=xl.pagination)===null||ul===void 0)&&ul.current&&(xl.pagination.current=1),fn&&fn.onChange&&fn.onChange(1,(wl=xl.pagination)===null||wl===void 0?void 0:wl.pageSize)),_a&&_a.scrollToFirstRowOnChange!==!1&&pr.body.current&&(0,Xn.Z)(0,{getContainer:()=>pr.body.current}),va==null||va(xl.pagination,xl.filters,xl.sorter,{currentDataSource:ba(qi(mi,xl.sorterStates,Ar),xl.filterStates),action:ai})},ho=(oo,ai)=>{Bo({sorter:oo,sorterStates:ai},"sort",!1)},[ol,tl,Nl,Mi]=_i({prefixCls:ui,mergedColumns:br,onSorterChange:ho,sortDirections:or||["ascend","descend"],tableLocale:No,showSorterTooltip:ja}),Rl=ie.useMemo(()=>qi(mi,tl,Ar),[mi,tl]);Ur.sorter=Mi(),Ur.sorterStates=tl;const Ti=(oo,ai)=>{Bo({filters:oo,filterStates:ai},"filter",!0)},[hl,gu,zo]=aa({prefixCls:ui,locale:No,dropdownPrefixCls:pl,mergedColumns:br,onFilterChange:Ti,getPopupContainer:ia||qr}),Ko=ba(Rl,gu);Ur.filters=zo,Ur.filterStates=gu;const fi=ie.useMemo(()=>{const oo={};return Object.keys(zo).forEach(ai=>{zo[ai]!==null&&(oo[ai]=zo[ai])}),Object.assign(Object.assign({},Nl),{filters:oo})},[Nl,zo]),[Ri]=Al(fi),Wi=(oo,ai)=>{Bo({pagination:Object.assign(Object.assign({},Ur.pagination),{current:oo,pageSize:ai})},"paginate")},[mo,vl]=$a(Ko.length,Wi,fn);Ur.pagination=fn===!1?{}:Xa(mo,fn),Ur.resetPagination=vl;const il=ie.useMemo(()=>{if(fn===!1||!mo.pageSize)return Ko;const{current:oo=1,total:ai,pageSize:ll=da}=mo;return Ko.length<ai?Ko.length>ll?Ko.slice((oo-1)*ll,oo*ll):Ko:Ko.slice((oo-1)*ll,oo*ll)},[!!fn,Ko,mo&&mo.current,mo&&mo.pageSize,mo&&mo.total]),[bl,jl]=Do({prefixCls:ui,data:Ko,pageData:il,getRowKey:Oo,getRecordByKey:hr,expandType:Fr,childrenColumnName:Ar,locale:No,getPopupContainer:ia||qr},qt),Kl=(oo,ai,ll)=>{let pi;return typeof Hn=="function"?pi=Oe()(Hn(oo,ai,ll)):pi=Oe()(Hn),Oe()({[`${ui}-row-selected`]:jl.has(Oo(oo,ai))},pi)};yr.__PARENT_RENDER_ICON__=yr.expandIcon,yr.expandIcon=yr.expandIcon||gr||un(No),Fr==="nest"&&yr.expandIconColumnIndex===void 0?yr.expandIconColumnIndex=qt?1:0:yr.expandIconColumnIndex>0&&qt&&(yr.expandIconColumnIndex-=1),typeof yr.indentSize!="number"&&(yr.indentSize=typeof Jr=="number"?Jr:15);const vu=ie.useCallback(oo=>Ri(bl(hl(ol(oo)))),[ol,hl,bl]);let tu,Il;if(fn!==!1&&(mo!=null&&mo.total)){let oo;mo.size?oo=mo.size:oo=Bi==="small"||Bi==="middle"?"small":void 0;const ai=ul=>ie.createElement(Li.Z,Object.assign({},mo,{className:Oe()(`${ui}-pagination ${ui}-pagination-${ul}`,mo.className),size:oo})),ll=_o==="rtl"?"left":"right",{position:pi}=mo;if(pi!==null&&Array.isArray(pi)){const ul=pi.find(nu=>nu.includes("top")),wl=pi.find(nu=>nu.includes("bottom")),xl=pi.every(nu=>`${nu}`=="none");!ul&&!wl&&!xl&&(Il=ai(ll)),ul&&(tu=ai(ul.toLowerCase().replace("top",""))),wl&&(Il=ai(wl.toLowerCase().replace("bottom","")))}else Il=ai(ll)}let Sl;typeof Ha=="boolean"?Sl={spinning:Ha}:typeof Ha=="object"&&(Sl=Object.assign({spinning:!0},Ha));const[dl,Hi]=hu(ui),[,yi]=(0,fr.Z)(),Yl=Oe()(`${ui}-wrapper`,bo==null?void 0:bo.className,{[`${ui}-wrapper-rtl`]:_o==="rtl"},Me,Ze,Hi),mu=Object.assign(Object.assign({},bo==null?void 0:bo.style),nt),Vl=Va&&Va.emptyText||(Si==null?void 0:Si("Table"))||ie.createElement(li.Z,{componentName:"Table"}),Xl=qa?Ni:Po,Au={},Cu=ie.useMemo(()=>{const{fontSize:oo,lineHeight:ai,padding:ll,paddingXS:pi,paddingSM:ul}=yi,wl=Math.floor(oo*ai);switch(Bi){case"large":return ll*2+wl;case"small":return pi*2+wl;default:return ul*2+wl}},[yi,Bi]);return qa&&(Au.listItemHeight=Cu),dl(ie.createElement("div",{ref:ge,className:Yl,style:mu},ie.createElement(qn.Z,Object.assign({spinning:!1},Sl),tu,ie.createElement(Xl,Object.assign({},Au,ro,{columns:br,direction:_o,expandable:yr,prefixCls:ui,className:Oe()({[`${ui}-middle`]:Bi==="middle",[`${ui}-small`]:Bi==="small",[`${ui}-bordered`]:It,[`${ui}-empty`]:mi.length===0}),data:il,rowKey:Oo,rowClassName:Kl,emptyText:Vl,internalHooks:de,internalRefs:pr,transformColumns:vu})),Il)))};var dr=ie.forwardRef(to);const yo=(ue,ge)=>{const Ae=ie.useRef(0);return Ae.current+=1,ie.createElement(dr,Object.assign({},ue,{ref:ge,_renderTimes:Ae.current}))},qo=ie.forwardRef(yo);qo.SELECTION_COLUMN=eo,qo.EXPAND_COLUMN=x,qo.SELECTION_ALL=Co,qo.SELECTION_INVERT=jo,qo.SELECTION_NONE=Xo,qo.Column=lo,qo.ColumnGroup=cr,qo.Summary=et;var Tl=qo,xu=Tl},79870:function(ct,it,ee){"use strict";ee.d(it,{default:function(){return Hr}});var x=ee(87462),de=ee(4942),pe=ee(71002),Fe=ee(1413),xe=ee(74902),ke=ee(15671),ie=ee(43144),Ue=ee(97326),Ie=ee(60136),Te=ee(51630),ze=ee(94184),Be=ee.n(ze),me={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Pe){var Ne=Pe.keyCode;if(Pe.altKey&&!Pe.ctrlKey||Pe.metaKey||Ne>=me.F1&&Ne<=me.F12)return!1;switch(Ne){case me.ALT:case me.CAPS_LOCK:case me.CONTEXT_MENU:case me.CTRL:case me.DOWN:case me.END:case me.ESC:case me.HOME:case me.INSERT:case me.LEFT:case me.MAC_FF_META:case me.META:case me.NUMLOCK:case me.NUM_CENTER:case me.PAGE_DOWN:case me.PAGE_UP:case me.PAUSE:case me.PRINT_SCREEN:case me.RIGHT:case me.SHIFT:case me.UP:case me.WIN_KEY:case me.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Pe){if(Pe>=me.ZERO&&Pe<=me.NINE||Pe>=me.NUM_ZERO&&Pe<=me.NUM_MULTIPLY||Pe>=me.A&&Pe<=me.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Pe===0)return!0;switch(Pe){case me.SPACE:case me.QUESTION_MARK:case me.NUM_PLUS:case me.NUM_MINUS:case me.NUM_PERIOD:case me.NUM_DIVISION:case me.SEMICOLON:case me.DASH:case me.EQUALS:case me.COMMA:case me.PERIOD:case me.SLASH:case me.APOSTROPHE:case me.SINGLE_QUOTE:case me.OPEN_SQUARE_BRACKET:case me.BACKSLASH:case me.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},oe=me,a=ee(34952),y=ee(72978),b=ee(67294),E=ee(69610);function z(ce){var Pe=ce.dropPosition,Ne=ce.dropLevelOffset,Se=ce.indent,Qe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Pe){case-1:Qe.top=0,Qe.left=-Ne*Se;break;case 1:Qe.bottom=0,Qe.left=-Ne*Se;break;case 0:Qe.bottom=0,Qe.left=Se;break}return b.createElement("div",{style:Qe})}var te=ee(36459),ne=ee(97685),re=ee(45987);function ae(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var le=ae()?b.useLayoutEffect:b.useEffect,he=le,ve=function(Pe,Ne){var Se=React.useRef(!0);le(function(){if(!Se.current)return Pe()},Ne),le(function(){return Se.current=!1,function(){Se.current=!0}},[])},Ce=ee(73299),be=ee(73935);function ye(ce){return ce instanceof HTMLElement||ce instanceof SVGElement}function De(ce){return ye(ce)?ce:ce instanceof b.Component?be.findDOMNode(ce):null}var Oe=ee(28580);function $e(ce,Pe,Ne){var Se=React.useRef({});return(!("value"in Se.current)||Ne(Se.current.condition,Pe))&&(Se.current.value=ce(),Se.current.condition=Pe),Se.current.value}function Le(ce,Pe){typeof ce=="function"?ce(Pe):(0,pe.Z)(ce)==="object"&&ce&&"current"in ce&&(ce.current=Pe)}function je(){for(var ce=arguments.length,Pe=new Array(ce),Ne=0;Ne<ce;Ne++)Pe[Ne]=arguments[Ne];var Se=Pe.filter(function(Qe){return Qe});return Se.length<=1?Se[0]:function(Qe){Pe.forEach(function(rt){Le(rt,Qe)})}}function We(){for(var ce=arguments.length,Pe=new Array(ce),Ne=0;Ne<ce;Ne++)Pe[Ne]=arguments[Ne];return useMemo(function(){return je.apply(void 0,Pe)},Pe,function(Se,Qe){return Se.length===Qe.length&&Se.every(function(rt,bt){return rt===Qe[bt]})})}function Ke(ce){var Pe,Ne,Se=(0,Oe.isMemo)(ce)?ce.type.type:ce.type;return!(typeof Se=="function"&&!((Pe=Se.prototype)!==null&&Pe!==void 0&&Pe.render)||typeof ce=="function"&&!((Ne=ce.prototype)!==null&&Ne!==void 0&&Ne.render))}function qe(ce,Pe){var Ne={};return Ne[ce.toLowerCase()]=Pe.toLowerCase(),Ne["Webkit".concat(ce)]="webkit".concat(Pe),Ne["Moz".concat(ce)]="moz".concat(Pe),Ne["ms".concat(ce)]="MS".concat(Pe),Ne["O".concat(ce)]="o".concat(Pe.toLowerCase()),Ne}function ot(ce,Pe){var Ne={animationend:qe("Animation","AnimationEnd"),transitionend:qe("Transition","TransitionEnd")};return ce&&("AnimationEvent"in Pe||delete Ne.animationend.animation,"TransitionEvent"in Pe||delete Ne.transitionend.transition),Ne}var dt=ot(ae(),typeof window!="undefined"?window:{}),$t={};if(ae()){var gn=document.createElement("div");$t=gn.style}var at={};function ht(ce){if(at[ce])return at[ce];var Pe=dt[ce];if(Pe)for(var Ne=Object.keys(Pe),Se=Ne.length,Qe=0;Qe<Se;Qe+=1){var rt=Ne[Qe];if(Object.prototype.hasOwnProperty.call(Pe,rt)&&rt in $t)return at[ce]=Pe[rt],at[ce]}return""}var Bt=ht("animationend"),ut=ht("transitionend"),wt=!!(Bt&&ut),Ht=Bt||"animationend",Ge=ut||"transitionend";function bn(ce,Pe){if(!ce)return null;if((0,pe.Z)(ce)==="object"){var Ne=Pe.replace(/-\w/g,function(Se){return Se[1].toUpperCase()});return ce[Ne]}return"".concat(ce,"-").concat(Pe)}var Dn="none",Ct="appear",Kt="enter",Ut="leave",Rt="none",St="prepare",Ft="start",Pt="active",st="end";function Jt(ce){var Pe=b.useRef(!1),Ne=b.useState(ce),Se=(0,ne.Z)(Ne,2),Qe=Se[0],rt=Se[1];b.useEffect(function(){return Pe.current=!1,function(){Pe.current=!0}},[]);function bt(tt,lt){lt&&Pe.current||rt(tt)}return[Qe,bt]}var Ot=function(Pe){return+setTimeout(Pe,16)},xt=function(Pe){return clearTimeout(Pe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ot=function(Pe){return window.requestAnimationFrame(Pe)},xt=function(Pe){return window.cancelAnimationFrame(Pe)});var mn=0,en=new Map;function Ve(ce){en.delete(ce)}var Re=function(Pe){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;mn+=1;var Se=mn;function Qe(rt){if(rt===0)Ve(Se),Pe();else{var bt=Ot(function(){Qe(rt-1)});en.set(Se,bt)}}return Qe(Ne),Se};Re.cancel=function(ce){var Pe=en.get(ce);return Ve(Pe),xt(Pe)};var In=Re,we=function(){var ce=b.useRef(null);function Pe(){In.cancel(ce.current)}function Ne(Se){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Pe();var rt=In(function(){Qe<=1?Se({isCanceled:function(){return rt!==ce.current}}):Ne(Se,Qe-1)});ce.current=rt}return b.useEffect(function(){return function(){Pe()}},[]),[Ne,Pe]},He=ae()?b.useLayoutEffect:b.useEffect,Wt=He,et=[St,Ft,Pt,st],Ye=!1,yt=!0;function vt(ce){return ce===Pt||ce===st}var kt=function(ce,Pe){var Ne=Jt(Rt),Se=(0,ne.Z)(Ne,2),Qe=Se[0],rt=Se[1],bt=we(),tt=(0,ne.Z)(bt,2),lt=tt[0],mt=tt[1];function on(){rt(St,!0)}return Wt(function(){if(Qe!==Rt&&Qe!==st){var hn=et.indexOf(Qe),Vn=et[hn+1],kn=Pe(Qe);kn===Ye?rt(Vn,!0):lt(function(Aa){function pa(){Aa.isCanceled()||rt(Vn,!0)}kn===!0?pa():Promise.resolve(kn).then(pa)})}},[ce,Qe]),b.useEffect(function(){return function(){mt()}},[]),[on,Qe]},En=function(ce){var Pe=(0,b.useRef)(),Ne=(0,b.useRef)(ce);Ne.current=ce;var Se=b.useCallback(function(bt){Ne.current(bt)},[]);function Qe(bt){bt&&(bt.removeEventListener(Ge,Se),bt.removeEventListener(Ht,Se))}function rt(bt){Pe.current&&Pe.current!==bt&&Qe(Pe.current),bt&&bt!==Pe.current&&(bt.addEventListener(Ge,Se),bt.addEventListener(Ht,Se),Pe.current=bt)}return b.useEffect(function(){return function(){Qe(Pe.current)}},[]),[rt,Qe]};function Lt(ce,Pe,Ne,Se){var Qe=Se.motionEnter,rt=Qe===void 0?!0:Qe,bt=Se.motionAppear,tt=bt===void 0?!0:bt,lt=Se.motionLeave,mt=lt===void 0?!0:lt,on=Se.motionDeadline,hn=Se.motionLeaveImmediately,Vn=Se.onAppearPrepare,kn=Se.onEnterPrepare,Aa=Se.onLeavePrepare,pa=Se.onAppearStart,Sn=Se.onEnterStart,jt=Se.onLeaveStart,yn=Se.onAppearActive,Cn=Se.onEnterActive,ha=Se.onLeaveActive,Da=Se.onAppearEnd,wa=Se.onEnterEnd,za=Se.onLeaveEnd,Oa=Se.onVisibleChanged,ea=Jt(),Ba=(0,ne.Z)(ea,2),xa=Ba[0],Ya=Ba[1],er=Jt(Dn),Rr=(0,ne.Z)(er,2),ao=Rr[0],wo=Rr[1],ma=Jt(null),Eo=(0,ne.Z)(ma,2),ii=Eo[0],ki=Eo[1],sl=(0,b.useRef)(!1),Zi=(0,b.useRef)(null);function di(){return Ne()}var Yo=(0,b.useRef)(!1);function $i(Ca){var Sa=di();if(!(Ca&&!Ca.deadline&&Ca.target!==Sa)){var jr=Yo.current,Ga;ao===Ct&&jr?Ga=Da==null?void 0:Da(Sa,Ca):ao===Kt&&jr?Ga=wa==null?void 0:wa(Sa,Ca):ao===Ut&&jr&&(Ga=za==null?void 0:za(Sa,Ca)),ao!==Dn&&jr&&Ga!==!1&&(wo(Dn,!0),ki(null,!0))}}var Fi=En($i),cl=(0,ne.Z)(Fi,1),_t=cl[0],Zt=b.useMemo(function(){var Ca,Sa,jr;switch(ao){case Ct:return Ca={},(0,de.Z)(Ca,St,Vn),(0,de.Z)(Ca,Ft,pa),(0,de.Z)(Ca,Pt,yn),Ca;case Kt:return Sa={},(0,de.Z)(Sa,St,kn),(0,de.Z)(Sa,Ft,Sn),(0,de.Z)(Sa,Pt,Cn),Sa;case Ut:return jr={},(0,de.Z)(jr,St,Aa),(0,de.Z)(jr,Ft,jt),(0,de.Z)(jr,Pt,ha),jr;default:return{}}},[ao]),zt=kt(ao,function(Ca){if(Ca===St){var Sa=Zt[St];return Sa?Sa(di()):Ye}if(Ia in Zt){var jr;ki(((jr=Zt[Ia])===null||jr===void 0?void 0:jr.call(Zt,di(),null))||null)}return Ia===Pt&&(_t(di()),on>0&&(clearTimeout(Zi.current),Zi.current=setTimeout(function(){$i({deadline:!0})},on))),yt}),Fa=(0,ne.Z)(zt,2),ar=Fa[0],Ia=Fa[1],zn=vt(Ia);Yo.current=zn,Wt(function(){Ya(Pe);var Ca=sl.current;if(sl.current=!0,!!ce){var Sa;!Ca&&Pe&&tt&&(Sa=Ct),Ca&&Pe&&rt&&(Sa=Kt),(Ca&&!Pe&&mt||!Ca&&hn&&!Pe&&mt)&&(Sa=Ut),Sa&&(wo(Sa),ar())}},[Pe]),(0,b.useEffect)(function(){(ao===Ct&&!tt||ao===Kt&&!rt||ao===Ut&&!mt)&&wo(Dn)},[tt,rt,mt]),(0,b.useEffect)(function(){return function(){sl.current=!1,clearTimeout(Zi.current)}},[]);var Qa=b.useRef(!1);(0,b.useEffect)(function(){xa&&(Qa.current=!0),xa!==void 0&&ao===Dn&&((Qa.current||xa)&&(Oa==null||Oa(xa)),Qa.current=!0)},[xa,ao]);var xn=ii;return Zt[St]&&Ia===Ft&&(xn=(0,Fe.Z)({transition:"none"},xn)),[ao,Ia,xn,xa!=null?xa:Pe]}var Mt=function(ce){(0,Ie.Z)(Ne,ce);var Pe=(0,Te.Z)(Ne);function Ne(){return(0,ke.Z)(this,Ne),Pe.apply(this,arguments)}return(0,ie.Z)(Ne,[{key:"render",value:function(){return this.props.children}}]),Ne}(b.Component),pt=Mt;function an(ce){var Pe=ce;(0,pe.Z)(ce)==="object"&&(Pe=ce.transitionSupport);function Ne(Qe){return!!(Qe.motionName&&Pe)}var Se=b.forwardRef(function(Qe,rt){var bt=Qe.visible,tt=bt===void 0?!0:bt,lt=Qe.removeOnLeave,mt=lt===void 0?!0:lt,on=Qe.forceRender,hn=Qe.children,Vn=Qe.motionName,kn=Qe.leavedClassName,Aa=Qe.eventProps,pa=Ne(Qe),Sn=(0,b.useRef)(),jt=(0,b.useRef)();function yn(){try{return Sn.current instanceof HTMLElement?Sn.current:De(jt.current)}catch(ma){return null}}var Cn=Lt(pa,tt,yn,Qe),ha=(0,ne.Z)(Cn,4),Da=ha[0],wa=ha[1],za=ha[2],Oa=ha[3],ea=b.useRef(Oa);Oa&&(ea.current=!0);var Ba=b.useCallback(function(ma){Sn.current=ma,Le(rt,ma)},[rt]),xa,Ya=(0,Fe.Z)((0,Fe.Z)({},Aa),{},{visible:tt});if(!hn)xa=null;else if(Da===Dn||!Ne(Qe))Oa?xa=hn((0,Fe.Z)({},Ya),Ba):!mt&&ea.current&&kn?xa=hn((0,Fe.Z)((0,Fe.Z)({},Ya),{},{className:kn}),Ba):on||!mt&&!kn?xa=hn((0,Fe.Z)((0,Fe.Z)({},Ya),{},{style:{display:"none"}}),Ba):xa=null;else{var er,Rr;wa===St?Rr="prepare":vt(wa)?Rr="active":wa===Ft&&(Rr="start"),xa=hn((0,Fe.Z)((0,Fe.Z)({},Ya),{},{className:Be()(bn(Vn,Da),(er={},(0,de.Z)(er,bn(Vn,"".concat(Da,"-").concat(Rr)),Rr),(0,de.Z)(er,Vn,typeof Vn=="string"),er)),style:za}),Ba)}if(b.isValidElement(xa)&&Ke(xa)){var ao=xa,wo=ao.ref;wo||(xa=b.cloneElement(xa,{ref:Ba}))}return b.createElement(pt,{ref:jt},xa)});return Se.displayName="CSSMotion",Se}var Gt=an(wt),pn="add",$n="keep",Fn="remove",Yn="removed";function fa(ce){var Pe;return ce&&(0,pe.Z)(ce)==="object"&&"key"in ce?Pe=ce:Pe={key:ce},(0,Fe.Z)((0,Fe.Z)({},Pe),{},{key:String(Pe.key)})}function Yt(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return ce.map(fa)}function Qt(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ne=[],Se=0,Qe=Pe.length,rt=Yt(ce),bt=Yt(Pe);rt.forEach(function(mt){for(var on=!1,hn=Se;hn<Qe;hn+=1){var Vn=bt[hn];if(Vn.key===mt.key){Se<hn&&(Ne=Ne.concat(bt.slice(Se,hn).map(function(kn){return(0,Fe.Z)((0,Fe.Z)({},kn),{},{status:pn})})),Se=hn),Ne.push((0,Fe.Z)((0,Fe.Z)({},Vn),{},{status:$n})),Se+=1,on=!0;break}}on||Ne.push((0,Fe.Z)((0,Fe.Z)({},mt),{},{status:Fn}))}),Se<Qe&&(Ne=Ne.concat(bt.slice(Se).map(function(mt){return(0,Fe.Z)((0,Fe.Z)({},mt),{},{status:pn})})));var tt={};Ne.forEach(function(mt){var on=mt.key;tt[on]=(tt[on]||0)+1});var lt=Object.keys(tt).filter(function(mt){return tt[mt]>1});return lt.forEach(function(mt){Ne=Ne.filter(function(on){var hn=on.key,Vn=on.status;return hn!==mt||Vn!==Fn}),Ne.forEach(function(on){on.key===mt&&(on.status=$n)})}),Ne}var nn=["component","children","onVisibleChanged","onAllRemoved"],ua=["status"],ra=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function jn(ce){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gt,Ne=function(Se){(0,Ie.Z)(rt,Se);var Qe=(0,Te.Z)(rt);function rt(){var bt;(0,ke.Z)(this,rt);for(var tt=arguments.length,lt=new Array(tt),mt=0;mt<tt;mt++)lt[mt]=arguments[mt];return bt=Qe.call.apply(Qe,[this].concat(lt)),(0,de.Z)((0,Ue.Z)(bt),"state",{keyEntities:[]}),(0,de.Z)((0,Ue.Z)(bt),"removeKey",function(on){var hn=bt.state.keyEntities,Vn=hn.map(function(kn){return kn.key!==on?kn:(0,Fe.Z)((0,Fe.Z)({},kn),{},{status:Yn})});return bt.setState({keyEntities:Vn}),Vn.filter(function(kn){var Aa=kn.status;return Aa!==Yn}).length}),bt}return(0,ie.Z)(rt,[{key:"render",value:function(){var tt=this,lt=this.state.keyEntities,mt=this.props,on=mt.component,hn=mt.children,Vn=mt.onVisibleChanged,kn=mt.onAllRemoved,Aa=(0,re.Z)(mt,nn),pa=on||b.Fragment,Sn={};return ra.forEach(function(jt){Sn[jt]=Aa[jt],delete Aa[jt]}),delete Aa.keys,b.createElement(pa,Aa,lt.map(function(jt){var yn=jt.status,Cn=(0,re.Z)(jt,ua),ha=yn===pn||yn===$n;return b.createElement(Pe,(0,x.Z)({},Sn,{key:Cn.key,visible:ha,eventProps:Cn,onVisibleChanged:function(wa){if(Vn==null||Vn(wa,{key:Cn.key}),!wa){var za=tt.removeKey(Cn.key);za===0&&kn&&kn()}}}),hn)}))}}],[{key:"getDerivedStateFromProps",value:function(tt,lt){var mt=tt.keys,on=lt.keyEntities,hn=Yt(mt),Vn=Qt(on,hn);return{keyEntities:Vn.filter(function(kn){var Aa=on.find(function(pa){var Sn=pa.key;return kn.key===Sn});return!(Aa&&Aa.status===Yn&&kn.status===Fn)})}}}]),rt}(b.Component);return(0,de.Z)(Ne,"defaultProps",{component:"div"}),Ne}var Na=jn(wt),Ma=Gt,vr=ee(56261);function zr(ce,Pe){var Ne=b.useState(!1),Se=(0,ne.Z)(Ne,2),Qe=Se[0],rt=Se[1];b.useLayoutEffect(function(){if(Qe)return ce(),function(){Pe()}},[Qe]),b.useLayoutEffect(function(){return rt(!0),function(){rt(!1)}},[])}var La=ee(83898),Je=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Dt=function(Pe,Ne){var Se=Pe.className,Qe=Pe.style,rt=Pe.motion,bt=Pe.motionNodes,tt=Pe.motionType,lt=Pe.onMotionStart,mt=Pe.onMotionEnd,on=Pe.active,hn=Pe.treeNodeRequiredProps,Vn=(0,re.Z)(Pe,Je),kn=b.useState(!0),Aa=(0,ne.Z)(kn,2),pa=Aa[0],Sn=Aa[1],jt=b.useContext(E.k),yn=jt.prefixCls,Cn=bt&&tt!=="hide";he(function(){bt&&Cn!==pa&&Sn(Cn)},[bt]);var ha=function(){bt&&lt()},Da=b.useRef(!1),wa=function(){bt&&!Da.current&&(Da.current=!0,mt())};zr(ha,wa);var za=function(ea){Cn===ea&&wa()};return bt?b.createElement(Ma,(0,x.Z)({ref:Ne,visible:pa},rt,{motionAppear:tt==="show",onVisibleChanged:za}),function(Oa,ea){var Ba=Oa.className,xa=Oa.style;return b.createElement("div",{ref:ea,className:Be()("".concat(yn,"-treenode-motion"),Ba),style:xa},bt.map(function(Ya){var er=(0,x.Z)({},((0,te.Z)(Ya.data),Ya.data)),Rr=Ya.title,ao=Ya.key,wo=Ya.isStart,ma=Ya.isEnd;delete er.children;var Eo=(0,La.H8)(ao,hn);return b.createElement(vr.Z,(0,x.Z)({},er,Eo,{title:Rr,active:on,data:Ya.data,key:ao,isStart:wo,isEnd:ma}))}))}):b.createElement(vr.Z,(0,x.Z)({domRef:Ne,className:Se,style:Qe},Vn,{active:on}))};Dt.displayName="MotionTreeNode";var Et=b.forwardRef(Dt),Rn=Et;function vn(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ne=ce.length,Se=Pe.length;if(Math.abs(Ne-Se)!==1)return{add:!1,key:null};function Qe(rt,bt){var tt=new Map;rt.forEach(function(mt){tt.set(mt,!0)});var lt=bt.filter(function(mt){return!tt.has(mt)});return lt.length===1?lt[0]:null}return Ne<Se?{add:!0,key:Qe(ce,Pe)}:{add:!1,key:Qe(Pe,ce)}}function Un(ce,Pe,Ne){var Se=ce.findIndex(function(tt){return tt.key===Ne}),Qe=ce[Se+1],rt=Pe.findIndex(function(tt){return tt.key===Ne});if(Qe){var bt=Pe.findIndex(function(tt){return tt.key===Qe.key});return Pe.slice(rt+1,bt)}return Pe.slice(rt+1)}var $r=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Ta={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Cr=function(){},_r="RC_TREE_MOTION_".concat(Math.random()),co={key:_r},Jn={key:_r,level:0,index:0,pos:"0",node:co,nodes:[co]},ur={parent:null,children:[],pos:Jn.pos,data:co,title:null,key:_r,isStart:[],isEnd:[]};function gt(ce,Pe,Ne,Se){return Pe===!1||!Ne?ce:ce.slice(0,Math.ceil(Ne/Se)+1)}function tn(ce){var Pe=ce.key,Ne=ce.pos;return(0,La.km)(Pe,Ne)}function Xt(ce){for(var Pe=String(ce.data.key),Ne=ce;Ne.parent;)Ne=Ne.parent,Pe="".concat(Ne.data.key," > ").concat(Pe);return Pe}var cn=b.forwardRef(function(ce,Pe){var Ne=ce.prefixCls,Se=ce.data,Qe=ce.selectable,rt=ce.checkable,bt=ce.expandedKeys,tt=ce.selectedKeys,lt=ce.checkedKeys,mt=ce.loadedKeys,on=ce.loadingKeys,hn=ce.halfCheckedKeys,Vn=ce.keyEntities,kn=ce.disabled,Aa=ce.dragging,pa=ce.dragOverNodeKey,Sn=ce.dropPosition,jt=ce.motion,yn=ce.height,Cn=ce.itemHeight,ha=ce.virtual,Da=ce.focusable,wa=ce.activeItem,za=ce.focused,Oa=ce.tabIndex,ea=ce.onKeyDown,Ba=ce.onFocus,xa=ce.onBlur,Ya=ce.onActiveChange,er=ce.onListChangeStart,Rr=ce.onListChangeEnd,ao=(0,re.Z)(ce,$r),wo=b.useRef(null),ma=b.useRef(null);b.useImperativeHandle(Pe,function(){return{scrollTo:function(vo){wo.current.scrollTo(vo)},getIndentWidth:function(){return ma.current.offsetWidth}}});var Eo=b.useState(bt),ii=(0,ne.Z)(Eo,2),ki=ii[0],sl=ii[1],Zi=b.useState(Se),di=(0,ne.Z)(Zi,2),Yo=di[0],$i=di[1],Fi=b.useState(Se),cl=(0,ne.Z)(Fi,2),_t=cl[0],Zt=cl[1],zt=b.useState([]),Fa=(0,ne.Z)(zt,2),ar=Fa[0],Ia=Fa[1],zn=b.useState(null),Qa=(0,ne.Z)(zn,2),xn=Qa[0],Ca=Qa[1],Sa=b.useRef(Se);Sa.current=Se;function jr(){var lo=Sa.current;$i(lo),Zt(lo),Ia([]),Ca(null),Rr()}he(function(){sl(bt);var lo=vn(ki,bt);if(lo.key!==null)if(lo.add){var vo=Yo.findIndex(function(ka){var Pa=ka.key;return Pa===lo.key}),cr=gt(Un(Yo,Se,lo.key),ha,yn,Cn),sr=Yo.slice();sr.splice(vo+1,0,ur),Zt(sr),Ia(cr),Ca("show")}else{var Xn=Se.findIndex(function(ka){var Pa=ka.key;return Pa===lo.key}),Ir=gt(Un(Se,Yo,lo.key),ha,yn,Cn),li=Se.slice();li.splice(Xn+1,0,ur),Zt(li),Ia(Ir),Ca("hide")}else Yo!==Se&&($i(Se),Zt(Se))},[bt,Se]),b.useEffect(function(){Aa||jr()},[Aa]);var Ga=jt?_t:Se,Ho={expandedKeys:bt,selectedKeys:tt,loadedKeys:mt,loadingKeys:on,checkedKeys:lt,halfCheckedKeys:hn,dragOverNodeKey:pa,dropPosition:Sn,keyEntities:Vn};return b.createElement(b.Fragment,null,za&&wa&&b.createElement("span",{style:Ta,"aria-live":"assertive"},Xt(wa)),b.createElement("div",null,b.createElement("input",{style:Ta,disabled:Da===!1||kn,tabIndex:Da!==!1?Oa:null,onKeyDown:ea,onFocus:Ba,onBlur:xa,value:"",onChange:Cr,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(Ne,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(Ne,"-indent")},b.createElement("div",{ref:ma,className:"".concat(Ne,"-indent-unit")}))),b.createElement(Ce.Z,(0,x.Z)({},ao,{data:Ga,itemKey:tn,height:yn,fullHeight:!1,virtual:ha,itemHeight:Cn,prefixCls:"".concat(Ne,"-list"),ref:wo,onVisibleChange:function(vo,cr){var sr=new Set(vo),Xn=cr.filter(function(Ir){return!sr.has(Ir)});Xn.some(function(Ir){return tn(Ir)===_r})&&jr()}}),function(lo){var vo=lo.pos,cr=(0,x.Z)({},((0,te.Z)(lo.data),lo.data)),sr=lo.title,Xn=lo.key,Ir=lo.isStart,li=lo.isEnd,ka=(0,La.km)(Xn,vo);delete cr.key,delete cr.children;var Pa=(0,La.H8)(ka,Ho);return b.createElement(Rn,(0,x.Z)({},cr,Pa,{title:sr,active:!!wa&&Xn===wa.key,pos:vo,data:lo.data,isStart:Ir,isEnd:li,motion:jt,motionNodes:Xn===_r?ar:null,motionType:xn,onMotionStart:er,onMotionEnd:jr,treeNodeRequiredProps:Ho,onMouseMove:function(){Ya(null)}}))}))});cn.displayName="NodeList";var Kn=cn,rn=ee(29873),_n=ee(97153),wn=ee(3596),la=10,Za=function(ce){(0,Ie.Z)(Ne,ce);var Pe=(0,Te.Z)(Ne);function Ne(){var Se;(0,ke.Z)(this,Ne);for(var Qe=arguments.length,rt=new Array(Qe),bt=0;bt<Qe;bt++)rt[bt]=arguments[bt];return Se=Pe.call.apply(Pe,[this].concat(rt)),Se.destroyed=!1,Se.delayedDragEnterLogic=void 0,Se.loadingRetryTimes={},Se.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,La.w$)()},Se.dragStartMousePosition=null,Se.dragNode=void 0,Se.currentMouseOverDroppableNodeKey=null,Se.listRef=b.createRef(),Se.onNodeDragStart=function(tt,lt){var mt=Se.state,on=mt.expandedKeys,hn=mt.keyEntities,Vn=Se.props.onDragStart,kn=lt.props.eventKey;Se.dragNode=lt,Se.dragStartMousePosition={x:tt.clientX,y:tt.clientY};var Aa=(0,rn._5)(on,kn);Se.setState({draggingNodeKey:kn,dragChildrenKeys:(0,rn.wA)(kn,hn),indent:Se.listRef.current.getIndentWidth()}),Se.setExpandedKeys(Aa),window.addEventListener("dragend",Se.onWindowDragEnd),Vn==null||Vn({event:tt,node:(0,La.F)(lt.props)})},Se.onNodeDragEnter=function(tt,lt){var mt=Se.state,on=mt.expandedKeys,hn=mt.keyEntities,Vn=mt.dragChildrenKeys,kn=mt.flattenNodes,Aa=mt.indent,pa=Se.props,Sn=pa.onDragEnter,jt=pa.onExpand,yn=pa.allowDrop,Cn=pa.direction,ha=lt.props,Da=ha.pos,wa=ha.eventKey,za=(0,Ue.Z)(Se),Oa=za.dragNode;if(Se.currentMouseOverDroppableNodeKey!==wa&&(Se.currentMouseOverDroppableNodeKey=wa),!Oa){Se.resetDragState();return}var ea=(0,rn.OM)(tt,Oa,lt,Aa,Se.dragStartMousePosition,yn,kn,hn,on,Cn),Ba=ea.dropPosition,xa=ea.dropLevelOffset,Ya=ea.dropTargetKey,er=ea.dropContainerKey,Rr=ea.dropTargetPos,ao=ea.dropAllowed,wo=ea.dragOverNodeKey;if(Vn.indexOf(Ya)!==-1||!ao){Se.resetDragState();return}if(Se.delayedDragEnterLogic||(Se.delayedDragEnterLogic={}),Object.keys(Se.delayedDragEnterLogic).forEach(function(ma){clearTimeout(Se.delayedDragEnterLogic[ma])}),Oa.props.eventKey!==lt.props.eventKey&&(tt.persist(),Se.delayedDragEnterLogic[Da]=window.setTimeout(function(){if(Se.state.draggingNodeKey!==null){var ma=(0,xe.Z)(on),Eo=(0,wn.Z)(hn,lt.props.eventKey);Eo&&(Eo.children||[]).length&&(ma=(0,rn.L0)(on,lt.props.eventKey)),"expandedKeys"in Se.props||Se.setExpandedKeys(ma),jt==null||jt(ma,{node:(0,La.F)(lt.props),expanded:!0,nativeEvent:tt.nativeEvent})}},800)),Oa.props.eventKey===Ya&&xa===0){Se.resetDragState();return}Se.setState({dragOverNodeKey:wo,dropPosition:Ba,dropLevelOffset:xa,dropTargetKey:Ya,dropContainerKey:er,dropTargetPos:Rr,dropAllowed:ao}),Sn==null||Sn({event:tt,node:(0,La.F)(lt.props),expandedKeys:on})},Se.onNodeDragOver=function(tt,lt){var mt=Se.state,on=mt.dragChildrenKeys,hn=mt.flattenNodes,Vn=mt.keyEntities,kn=mt.expandedKeys,Aa=mt.indent,pa=Se.props,Sn=pa.onDragOver,jt=pa.allowDrop,yn=pa.direction,Cn=(0,Ue.Z)(Se),ha=Cn.dragNode;if(ha){var Da=(0,rn.OM)(tt,ha,lt,Aa,Se.dragStartMousePosition,jt,hn,Vn,kn,yn),wa=Da.dropPosition,za=Da.dropLevelOffset,Oa=Da.dropTargetKey,ea=Da.dropContainerKey,Ba=Da.dropAllowed,xa=Da.dropTargetPos,Ya=Da.dragOverNodeKey;on.indexOf(Oa)!==-1||!Ba||(ha.props.eventKey===Oa&&za===0?Se.state.dropPosition===null&&Se.state.dropLevelOffset===null&&Se.state.dropTargetKey===null&&Se.state.dropContainerKey===null&&Se.state.dropTargetPos===null&&Se.state.dropAllowed===!1&&Se.state.dragOverNodeKey===null||Se.resetDragState():wa===Se.state.dropPosition&&za===Se.state.dropLevelOffset&&Oa===Se.state.dropTargetKey&&ea===Se.state.dropContainerKey&&xa===Se.state.dropTargetPos&&Ba===Se.state.dropAllowed&&Ya===Se.state.dragOverNodeKey||Se.setState({dropPosition:wa,dropLevelOffset:za,dropTargetKey:Oa,dropContainerKey:ea,dropTargetPos:xa,dropAllowed:Ba,dragOverNodeKey:Ya}),Sn==null||Sn({event:tt,node:(0,La.F)(lt.props)}))}},Se.onNodeDragLeave=function(tt,lt){Se.currentMouseOverDroppableNodeKey===lt.props.eventKey&&!tt.currentTarget.contains(tt.relatedTarget)&&(Se.resetDragState(),Se.currentMouseOverDroppableNodeKey=null);var mt=Se.props.onDragLeave;mt==null||mt({event:tt,node:(0,La.F)(lt.props)})},Se.onWindowDragEnd=function(tt){Se.onNodeDragEnd(tt,null,!0),window.removeEventListener("dragend",Se.onWindowDragEnd)},Se.onNodeDragEnd=function(tt,lt){var mt=Se.props.onDragEnd;Se.setState({dragOverNodeKey:null}),Se.cleanDragState(),mt==null||mt({event:tt,node:(0,La.F)(lt.props)}),Se.dragNode=null,window.removeEventListener("dragend",Se.onWindowDragEnd)},Se.onNodeDrop=function(tt,lt){var mt,on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,hn=Se.state,Vn=hn.dragChildrenKeys,kn=hn.dropPosition,Aa=hn.dropTargetKey,pa=hn.dropTargetPos,Sn=hn.dropAllowed;if(Sn){var jt=Se.props.onDrop;if(Se.setState({dragOverNodeKey:null}),Se.cleanDragState(),Aa!==null){var yn=(0,Fe.Z)((0,Fe.Z)({},(0,La.H8)(Aa,Se.getTreeNodeRequiredProps())),{},{active:((mt=Se.getActiveItem())===null||mt===void 0?void 0:mt.key)===Aa,data:(0,wn.Z)(Se.state.keyEntities,Aa).node}),Cn=Vn.indexOf(Aa)!==-1;(0,y.ZP)(!Cn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ha=(0,rn.yx)(pa),Da={event:tt,node:(0,La.F)(yn),dragNode:Se.dragNode?(0,La.F)(Se.dragNode.props):null,dragNodesKeys:[Se.dragNode.props.eventKey].concat(Vn),dropToGap:kn!==0,dropPosition:kn+Number(ha[ha.length-1])};on||jt==null||jt(Da),Se.dragNode=null}}},Se.cleanDragState=function(){var tt=Se.state.draggingNodeKey;tt!==null&&Se.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Se.dragStartMousePosition=null,Se.currentMouseOverDroppableNodeKey=null},Se.triggerExpandActionExpand=function(tt,lt){var mt=Se.state,on=mt.expandedKeys,hn=mt.flattenNodes,Vn=lt.expanded,kn=lt.key,Aa=lt.isLeaf;if(!(Aa||tt.shiftKey||tt.metaKey||tt.ctrlKey)){var pa=hn.filter(function(jt){return jt.key===kn})[0],Sn=(0,La.F)((0,Fe.Z)((0,Fe.Z)({},(0,La.H8)(kn,Se.getTreeNodeRequiredProps())),{},{data:pa.data}));Se.setExpandedKeys(Vn?(0,rn._5)(on,kn):(0,rn.L0)(on,kn)),Se.onNodeExpand(tt,Sn)}},Se.onNodeClick=function(tt,lt){var mt=Se.props,on=mt.onClick,hn=mt.expandAction;hn==="click"&&Se.triggerExpandActionExpand(tt,lt),on==null||on(tt,lt)},Se.onNodeDoubleClick=function(tt,lt){var mt=Se.props,on=mt.onDoubleClick,hn=mt.expandAction;hn==="doubleClick"&&Se.triggerExpandActionExpand(tt,lt),on==null||on(tt,lt)},Se.onNodeSelect=function(tt,lt){var mt=Se.state.selectedKeys,on=Se.state,hn=on.keyEntities,Vn=on.fieldNames,kn=Se.props,Aa=kn.onSelect,pa=kn.multiple,Sn=lt.selected,jt=lt[Vn.key],yn=!Sn;yn?pa?mt=(0,rn.L0)(mt,jt):mt=[jt]:mt=(0,rn._5)(mt,jt);var Cn=mt.map(function(ha){var Da=(0,wn.Z)(hn,ha);return Da?Da.node:null}).filter(function(ha){return ha});Se.setUncontrolledState({selectedKeys:mt}),Aa==null||Aa(mt,{event:"select",selected:yn,node:lt,selectedNodes:Cn,nativeEvent:tt.nativeEvent})},Se.onNodeCheck=function(tt,lt,mt){var on=Se.state,hn=on.keyEntities,Vn=on.checkedKeys,kn=on.halfCheckedKeys,Aa=Se.props,pa=Aa.checkStrictly,Sn=Aa.onCheck,jt=lt.key,yn,Cn={event:"check",node:lt,checked:mt,nativeEvent:tt.nativeEvent};if(pa){var ha=mt?(0,rn.L0)(Vn,jt):(0,rn._5)(Vn,jt),Da=(0,rn._5)(kn,jt);yn={checked:ha,halfChecked:Da},Cn.checkedNodes=ha.map(function(xa){return(0,wn.Z)(hn,xa)}).filter(function(xa){return xa}).map(function(xa){return xa.node}),Se.setUncontrolledState({checkedKeys:ha})}else{var wa=(0,_n.S)([].concat((0,xe.Z)(Vn),[jt]),!0,hn),za=wa.checkedKeys,Oa=wa.halfCheckedKeys;if(!mt){var ea=new Set(za);ea.delete(jt);var Ba=(0,_n.S)(Array.from(ea),{checked:!1,halfCheckedKeys:Oa},hn);za=Ba.checkedKeys,Oa=Ba.halfCheckedKeys}yn=za,Cn.checkedNodes=[],Cn.checkedNodesPositions=[],Cn.halfCheckedKeys=Oa,za.forEach(function(xa){var Ya=(0,wn.Z)(hn,xa);if(Ya){var er=Ya.node,Rr=Ya.pos;Cn.checkedNodes.push(er),Cn.checkedNodesPositions.push({node:er,pos:Rr})}}),Se.setUncontrolledState({checkedKeys:za},!1,{halfCheckedKeys:Oa})}Sn==null||Sn(yn,Cn)},Se.onNodeLoad=function(tt){var lt=tt.key,mt=new Promise(function(on,hn){Se.setState(function(Vn){var kn=Vn.loadedKeys,Aa=kn===void 0?[]:kn,pa=Vn.loadingKeys,Sn=pa===void 0?[]:pa,jt=Se.props,yn=jt.loadData,Cn=jt.onLoad;if(!yn||Aa.indexOf(lt)!==-1||Sn.indexOf(lt)!==-1)return null;var ha=yn(tt);return ha.then(function(){var Da=Se.state.loadedKeys,wa=(0,rn.L0)(Da,lt);Cn==null||Cn(wa,{event:"load",node:tt}),Se.setUncontrolledState({loadedKeys:wa}),Se.setState(function(za){return{loadingKeys:(0,rn._5)(za.loadingKeys,lt)}}),on()}).catch(function(Da){if(Se.setState(function(za){return{loadingKeys:(0,rn._5)(za.loadingKeys,lt)}}),Se.loadingRetryTimes[lt]=(Se.loadingRetryTimes[lt]||0)+1,Se.loadingRetryTimes[lt]>=la){var wa=Se.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Se.setUncontrolledState({loadedKeys:(0,rn.L0)(wa,lt)}),on()}hn(Da)}),{loadingKeys:(0,rn.L0)(Sn,lt)}})});return mt.catch(function(){}),mt},Se.onNodeMouseEnter=function(tt,lt){var mt=Se.props.onMouseEnter;mt==null||mt({event:tt,node:lt})},Se.onNodeMouseLeave=function(tt,lt){var mt=Se.props.onMouseLeave;mt==null||mt({event:tt,node:lt})},Se.onNodeContextMenu=function(tt,lt){var mt=Se.props.onRightClick;mt&&(tt.preventDefault(),mt({event:tt,node:lt}))},Se.onFocus=function(){var tt=Se.props.onFocus;Se.setState({focused:!0});for(var lt=arguments.length,mt=new Array(lt),on=0;on<lt;on++)mt[on]=arguments[on];tt==null||tt.apply(void 0,mt)},Se.onBlur=function(){var tt=Se.props.onBlur;Se.setState({focused:!1}),Se.onActiveChange(null);for(var lt=arguments.length,mt=new Array(lt),on=0;on<lt;on++)mt[on]=arguments[on];tt==null||tt.apply(void 0,mt)},Se.getTreeNodeRequiredProps=function(){var tt=Se.state,lt=tt.expandedKeys,mt=tt.selectedKeys,on=tt.loadedKeys,hn=tt.loadingKeys,Vn=tt.checkedKeys,kn=tt.halfCheckedKeys,Aa=tt.dragOverNodeKey,pa=tt.dropPosition,Sn=tt.keyEntities;return{expandedKeys:lt||[],selectedKeys:mt||[],loadedKeys:on||[],loadingKeys:hn||[],checkedKeys:Vn||[],halfCheckedKeys:kn||[],dragOverNodeKey:Aa,dropPosition:pa,keyEntities:Sn}},Se.setExpandedKeys=function(tt){var lt=Se.state,mt=lt.treeData,on=lt.fieldNames,hn=(0,La.oH)(mt,tt,on);Se.setUncontrolledState({expandedKeys:tt,flattenNodes:hn},!0)},Se.onNodeExpand=function(tt,lt){var mt=Se.state.expandedKeys,on=Se.state,hn=on.listChanging,Vn=on.fieldNames,kn=Se.props,Aa=kn.onExpand,pa=kn.loadData,Sn=lt.expanded,jt=lt[Vn.key];if(!hn){var yn=mt.indexOf(jt),Cn=!Sn;if((0,y.ZP)(Sn&&yn!==-1||!Sn&&yn===-1,"Expand state not sync with index check"),Cn?mt=(0,rn.L0)(mt,jt):mt=(0,rn._5)(mt,jt),Se.setExpandedKeys(mt),Aa==null||Aa(mt,{node:lt,expanded:Cn,nativeEvent:tt.nativeEvent}),Cn&&pa){var ha=Se.onNodeLoad(lt);ha&&ha.then(function(){var Da=(0,La.oH)(Se.state.treeData,mt,Vn);Se.setUncontrolledState({flattenNodes:Da})}).catch(function(){var Da=Se.state.expandedKeys,wa=(0,rn._5)(Da,jt);Se.setExpandedKeys(wa)})}}},Se.onListChangeStart=function(){Se.setUncontrolledState({listChanging:!0})},Se.onListChangeEnd=function(){setTimeout(function(){Se.setUncontrolledState({listChanging:!1})})},Se.onActiveChange=function(tt){var lt=Se.state.activeKey,mt=Se.props.onActiveChange;lt!==tt&&(Se.setState({activeKey:tt}),tt!==null&&Se.scrollTo({key:tt}),mt==null||mt(tt))},Se.getActiveItem=function(){var tt=Se.state,lt=tt.activeKey,mt=tt.flattenNodes;return lt===null?null:mt.find(function(on){var hn=on.key;return hn===lt})||null},Se.offsetActiveKey=function(tt){var lt=Se.state,mt=lt.flattenNodes,on=lt.activeKey,hn=mt.findIndex(function(Aa){var pa=Aa.key;return pa===on});hn===-1&&tt<0&&(hn=mt.length),hn=(hn+tt+mt.length)%mt.length;var Vn=mt[hn];if(Vn){var kn=Vn.key;Se.onActiveChange(kn)}else Se.onActiveChange(null)},Se.onKeyDown=function(tt){var lt=Se.state,mt=lt.activeKey,on=lt.expandedKeys,hn=lt.checkedKeys,Vn=lt.fieldNames,kn=Se.props,Aa=kn.onKeyDown,pa=kn.checkable,Sn=kn.selectable;switch(tt.which){case oe.UP:{Se.offsetActiveKey(-1),tt.preventDefault();break}case oe.DOWN:{Se.offsetActiveKey(1),tt.preventDefault();break}}var jt=Se.getActiveItem();if(jt&&jt.data){var yn=Se.getTreeNodeRequiredProps(),Cn=jt.data.isLeaf===!1||!!(jt.data[Vn.children]||[]).length,ha=(0,La.F)((0,Fe.Z)((0,Fe.Z)({},(0,La.H8)(mt,yn)),{},{data:jt.data,active:!0}));switch(tt.which){case oe.LEFT:{Cn&&on.includes(mt)?Se.onNodeExpand({},ha):jt.parent&&Se.onActiveChange(jt.parent.key),tt.preventDefault();break}case oe.RIGHT:{Cn&&!on.includes(mt)?Se.onNodeExpand({},ha):jt.children&&jt.children.length&&Se.onActiveChange(jt.children[0].key),tt.preventDefault();break}case oe.ENTER:case oe.SPACE:{pa&&!ha.disabled&&ha.checkable!==!1&&!ha.disableCheckbox?Se.onNodeCheck({},ha,!hn.includes(mt)):!pa&&Sn&&!ha.disabled&&ha.selectable!==!1&&Se.onNodeSelect({},ha);break}}}Aa==null||Aa(tt)},Se.setUncontrolledState=function(tt){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Se.destroyed){var on=!1,hn=!0,Vn={};Object.keys(tt).forEach(function(kn){if(kn in Se.props){hn=!1;return}on=!0,Vn[kn]=tt[kn]}),on&&(!lt||hn)&&Se.setState((0,Fe.Z)((0,Fe.Z)({},Vn),mt))}},Se.scrollTo=function(tt){Se.listRef.current.scrollTo(tt)},Se}return(0,ie.Z)(Ne,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Qe=this.props.activeKey;Qe!==void 0&&Qe!==this.state.activeKey&&(this.setState({activeKey:Qe}),Qe!==null&&this.scrollTo({key:Qe}))}},{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 Qe,rt=this.state,bt=rt.focused,tt=rt.flattenNodes,lt=rt.keyEntities,mt=rt.draggingNodeKey,on=rt.activeKey,hn=rt.dropLevelOffset,Vn=rt.dropContainerKey,kn=rt.dropTargetKey,Aa=rt.dropPosition,pa=rt.dragOverNodeKey,Sn=rt.indent,jt=this.props,yn=jt.prefixCls,Cn=jt.className,ha=jt.style,Da=jt.showLine,wa=jt.focusable,za=jt.tabIndex,Oa=za===void 0?0:za,ea=jt.selectable,Ba=jt.showIcon,xa=jt.icon,Ya=jt.switcherIcon,er=jt.draggable,Rr=jt.checkable,ao=jt.checkStrictly,wo=jt.disabled,ma=jt.motion,Eo=jt.loadData,ii=jt.filterTreeNode,ki=jt.height,sl=jt.itemHeight,Zi=jt.virtual,di=jt.titleRender,Yo=jt.dropIndicatorRender,$i=jt.onContextMenu,Fi=jt.onScroll,cl=jt.direction,_t=jt.rootClassName,Zt=jt.rootStyle,zt=(0,a.Z)(this.props,{aria:!0,data:!0}),Fa;return er&&((0,pe.Z)(er)==="object"?Fa=er:typeof er=="function"?Fa={nodeDraggable:er}:Fa={}),b.createElement(E.k.Provider,{value:{prefixCls:yn,selectable:ea,showIcon:Ba,icon:xa,switcherIcon:Ya,draggable:Fa,draggingNodeKey:mt,checkable:Rr,checkStrictly:ao,disabled:wo,keyEntities:lt,dropLevelOffset:hn,dropContainerKey:Vn,dropTargetKey:kn,dropPosition:Aa,dragOverNodeKey:pa,indent:Sn,direction:cl,dropIndicatorRender:Yo,loadData:Eo,filterTreeNode:ii,titleRender:di,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}},b.createElement("div",{role:"tree",className:Be()(yn,Cn,_t,(Qe={},(0,de.Z)(Qe,"".concat(yn,"-show-line"),Da),(0,de.Z)(Qe,"".concat(yn,"-focused"),bt),(0,de.Z)(Qe,"".concat(yn,"-active-focused"),on!==null),Qe)),style:Zt},b.createElement(Kn,(0,x.Z)({ref:this.listRef,prefixCls:yn,style:ha,data:tt,disabled:wo,selectable:ea,checkable:!!Rr,motion:ma,dragging:mt!==null,height:ki,itemHeight:sl,virtual:Zi,focusable:wa,focused:bt,tabIndex:Oa,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:$i,onScroll:Fi},this.getTreeNodeRequiredProps(),zt))))}}],[{key:"getDerivedStateFromProps",value:function(Qe,rt){var bt=rt.prevProps,tt={prevProps:Qe};function lt(wa){return!bt&&wa in Qe||bt&&bt[wa]!==Qe[wa]}var mt,on=rt.fieldNames;if(lt("fieldNames")&&(on=(0,La.w$)(Qe.fieldNames),tt.fieldNames=on),lt("treeData")?mt=Qe.treeData:lt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),mt=(0,La.zn)(Qe.children)),mt){tt.treeData=mt;var hn=(0,La.I8)(mt,{fieldNames:on});tt.keyEntities=(0,Fe.Z)((0,de.Z)({},_r,Jn),hn.keyEntities)}var Vn=tt.keyEntities||rt.keyEntities;if(lt("expandedKeys")||bt&&lt("autoExpandParent"))tt.expandedKeys=Qe.autoExpandParent||!bt&&Qe.defaultExpandParent?(0,rn.r7)(Qe.expandedKeys,Vn):Qe.expandedKeys;else if(!bt&&Qe.defaultExpandAll){var kn=(0,Fe.Z)({},Vn);delete kn[_r],tt.expandedKeys=Object.keys(kn).map(function(wa){return kn[wa].key})}else!bt&&Qe.defaultExpandedKeys&&(tt.expandedKeys=Qe.autoExpandParent||Qe.defaultExpandParent?(0,rn.r7)(Qe.defaultExpandedKeys,Vn):Qe.defaultExpandedKeys);if(tt.expandedKeys||delete tt.expandedKeys,mt||tt.expandedKeys){var Aa=(0,La.oH)(mt||rt.treeData,tt.expandedKeys||rt.expandedKeys,on);tt.flattenNodes=Aa}if(Qe.selectable&&(lt("selectedKeys")?tt.selectedKeys=(0,rn.BT)(Qe.selectedKeys,Qe):!bt&&Qe.defaultSelectedKeys&&(tt.selectedKeys=(0,rn.BT)(Qe.defaultSelectedKeys,Qe))),Qe.checkable){var pa;if(lt("checkedKeys")?pa=(0,rn.E6)(Qe.checkedKeys)||{}:!bt&&Qe.defaultCheckedKeys?pa=(0,rn.E6)(Qe.defaultCheckedKeys)||{}:mt&&(pa=(0,rn.E6)(Qe.checkedKeys)||{checkedKeys:rt.checkedKeys,halfCheckedKeys:rt.halfCheckedKeys}),pa){var Sn=pa,jt=Sn.checkedKeys,yn=jt===void 0?[]:jt,Cn=Sn.halfCheckedKeys,ha=Cn===void 0?[]:Cn;if(!Qe.checkStrictly){var Da=(0,_n.S)(yn,!0,Vn);yn=Da.checkedKeys,ha=Da.halfCheckedKeys}tt.checkedKeys=yn,tt.halfCheckedKeys=ha}}return lt("loadedKeys")&&(tt.loadedKeys=Qe.loadedKeys),tt}}]),Ne}(b.Component);Za.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:z,allowDrop:function(){return!0},expandAction:!1},Za.TreeNode=vr.Z;var ir=Za,Or=ir,Wr=ee(73148),Nn=ee(56747),Go={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"},Mo=Go,Sr=ee(74643),xo=function(Pe,Ne){return b.createElement(Sr.Z,(0,x.Z)({},Pe,{ref:Ne,icon:Mo}))},sa=b.forwardRef(xo),Ra=ee(53124),mr=ee(50881),Qn=ee(33603),Vr=ee(32157);const Nr=4;function Uo(ce){const{dropPosition:Pe,dropLevelOffset:Ne,prefixCls:Se,indent:Qe,direction:rt="ltr"}=ce,bt=rt==="ltr"?"left":"right",tt=rt==="ltr"?"right":"left",lt={[bt]:-Ne*Qe+Nr,[tt]:0};switch(Pe){case-1:lt.top=-3;break;case 1:lt.bottom=-3;break;default:lt.bottom=-3,lt[bt]=Qe+Nr;break}return b.createElement("div",{style:lt,className:`${Se}-drop-indicator`})}var Ao=ee(99184),ji=b.forwardRef((ce,Pe)=>{const{getPrefixCls:Ne,direction:Se,virtual:Qe,tree:rt}=b.useContext(Ra.E_),{prefixCls:bt,className:tt,showIcon:lt=!1,showLine:mt,switcherIcon:on,blockNode:hn=!1,children:Vn,checkable:kn=!1,selectable:Aa=!0,draggable:pa,motion:Sn,style:jt}=ce,yn=Ne("tree",bt),Cn=Ne(),ha=Sn!=null?Sn:Object.assign(Object.assign({},(0,Qn.Z)(Cn)),{motionAppear:!1}),Da=Object.assign(Object.assign({},ce),{checkable:kn,selectable:Aa,showIcon:lt,motion:ha,blockNode:hn,showLine:!!mt,dropIndicatorRender:Uo}),[wa,za]=(0,Vr.ZP)(yn),Oa=b.useMemo(()=>{if(!pa)return!1;let Ba={};switch(typeof pa){case"function":Ba.nodeDraggable=pa;break;case"object":Ba=Object.assign({},pa);break;default:break}return Ba.icon!==!1&&(Ba.icon=Ba.icon||b.createElement(mr.Z,null)),Ba},[pa]),ea=Ba=>b.createElement(Ao.Z,{prefixCls:yn,switcherIcon:on,treeNodeProps:Ba,showLine:mt});return wa(b.createElement(Or,Object.assign({itemHeight:20,ref:Pe,virtual:Qe},Da,{style:Object.assign(Object.assign({},rt==null?void 0:rt.style),jt),prefixCls:yn,className:Be()({[`${yn}-icon-hide`]:!lt,[`${yn}-block-node`]:hn,[`${yn}-unselectable`]:!Aa,[`${yn}-rtl`]:Se==="rtl"},rt==null?void 0:rt.className,tt,za),direction:Se,checkable:kn&&b.createElement("span",{className:`${yn}-checkbox-inner`}),selectable:Aa,switcherIcon:ea,draggable:Oa}),Vn))}),Jo;(function(ce){ce[ce.None=0]="None",ce[ce.Start=1]="Start",ce[ce.End=2]="End"})(Jo||(Jo={}));function nl(ce,Pe){function Ne(Se){const{key:Qe,children:rt}=Se;Pe(Qe,Se)!==!1&&nl(rt||[],Pe)}ce.forEach(Ne)}function al(ce){let{treeData:Pe,expandedKeys:Ne,startKey:Se,endKey:Qe}=ce;const rt=[];let bt=Jo.None;if(Se&&Se===Qe)return[Se];if(!Se||!Qe)return[];function tt(lt){return lt===Se||lt===Qe}return nl(Pe,lt=>{if(bt===Jo.End)return!1;if(tt(lt)){if(rt.push(lt),bt===Jo.None)bt=Jo.Start;else if(bt===Jo.Start)return bt=Jo.End,!1}else bt===Jo.Start&&rt.push(lt);return Ne.includes(lt)}),rt}function Zn(ce,Pe){const Ne=(0,xe.Z)(Pe),Se=[];return nl(ce,(Qe,rt)=>{const bt=Ne.indexOf(Qe);return bt!==-1&&(Se.push(rt),Ne.splice(bt,1)),!!Ne.length}),Se}var Ea=function(ce,Pe){var Ne={};for(var Se in ce)Object.prototype.hasOwnProperty.call(ce,Se)&&Pe.indexOf(Se)<0&&(Ne[Se]=ce[Se]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Se=Object.getOwnPropertySymbols(ce);Qe<Se.length;Qe++)Pe.indexOf(Se[Qe])<0&&Object.prototype.propertyIsEnumerable.call(ce,Se[Qe])&&(Ne[Se[Qe]]=ce[Se[Qe]]);return Ne};function io(ce){const{isLeaf:Pe,expanded:Ne}=ce;return Pe?b.createElement(Wr.Z,null):Ne?b.createElement(Nn.Z,null):b.createElement(sa,null)}function Wo(ce){let{treeData:Pe,children:Ne}=ce;return Pe||(0,La.zn)(Ne)}const wi=(ce,Pe)=>{var{defaultExpandAll:Ne,defaultExpandParent:Se,defaultExpandedKeys:Qe}=ce,rt=Ea(ce,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const bt=b.useRef(),tt=b.useRef(),lt=()=>{const{keyEntities:Oa}=(0,La.I8)(Wo(rt));let ea;return Ne?ea=Object.keys(Oa):Se?ea=(0,rn.r7)(rt.expandedKeys||Qe||[],Oa):ea=rt.expandedKeys||Qe,ea},[mt,on]=b.useState(rt.selectedKeys||rt.defaultSelectedKeys||[]),[hn,Vn]=b.useState(()=>lt());b.useEffect(()=>{"selectedKeys"in rt&&on(rt.selectedKeys)},[rt.selectedKeys]),b.useEffect(()=>{"expandedKeys"in rt&&Vn(rt.expandedKeys)},[rt.expandedKeys]);const kn=(Oa,ea)=>{var Ba;return"expandedKeys"in rt||Vn(Oa),(Ba=rt.onExpand)===null||Ba===void 0?void 0:Ba.call(rt,Oa,ea)},Aa=(Oa,ea)=>{var Ba;const{multiple:xa}=rt,{node:Ya,nativeEvent:er}=ea,{key:Rr=""}=Ya,ao=Wo(rt),wo=Object.assign(Object.assign({},ea),{selected:!0}),ma=(er==null?void 0:er.ctrlKey)||(er==null?void 0:er.metaKey),Eo=er==null?void 0:er.shiftKey;let ii;xa&&ma?(ii=Oa,bt.current=Rr,tt.current=ii,wo.selectedNodes=Zn(ao,ii)):xa&&Eo?(ii=Array.from(new Set([].concat((0,xe.Z)(tt.current||[]),(0,xe.Z)(al({treeData:ao,expandedKeys:hn,startKey:Rr,endKey:bt.current}))))),wo.selectedNodes=Zn(ao,ii)):(ii=[Rr],bt.current=Rr,tt.current=ii,wo.selectedNodes=Zn(ao,ii)),(Ba=rt.onSelect)===null||Ba===void 0||Ba.call(rt,ii,wo),"selectedKeys"in rt||on(ii)},{getPrefixCls:pa,direction:Sn}=b.useContext(Ra.E_),{prefixCls:jt,className:yn,showIcon:Cn=!0,expandAction:ha="click"}=rt,Da=Ea(rt,["prefixCls","className","showIcon","expandAction"]),wa=pa("tree",jt),za=Be()(`${wa}-directory`,{[`${wa}-directory-rtl`]:Sn==="rtl"},yn);return b.createElement(ji,Object.assign({icon:io,ref:Pe,blockNode:!0},Da,{showIcon:Cn,expandAction:ha,prefixCls:wa,className:za,expandedKeys:hn,selectedKeys:mt,onSelect:Aa,onExpand:kn}))};var oi=b.forwardRef(wi);const Qi=ji;Qi.DirectoryTree=oi,Qi.TreeNode=vr.Z;var Hr=Qi},32157:function(ct,it,ee){"use strict";ee.d(it,{TM:function(){return me},Yk:function(){return Be}});var x=ee(45930),de=ee(63185),pe=ee(14747),Fe=ee(33507),xe=ee(45503),ke=ee(67968);const ie=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ue=(oe,a)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),Ie=(oe,a)=>({[`.${oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Te=(oe,a)=>{const{treeCls:y,treeNodeCls:b,treeNodePadding:E,titleHeight:z,nodeSelectedBg:te,nodeHoverBg:ne}=a,re=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,pe.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,pe.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,pe.oN)(a)),[`&:not(${b}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}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:z}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},Ue(oe,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}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:z/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:re},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}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:te},[`${y}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},Ie(oe,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:z/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:`${z/2}px !important`}}}}})}},ze=oe=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:z}=oe;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:oe.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${oe.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},Be=(oe,a)=>{const y=`.${oe}`,b=`${y}-treenode`,E=a.paddingXS/2,z=(0,xe.TS)(a,{treeCls:y,treeNodeCls:b,treeNodePadding:E});return[Te(oe,z),ze(z)]},me=oe=>{const{controlHeightSM:a}=oe;return{titleHeight:a,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};it.ZP=(0,ke.Z)("Tree",(oe,a)=>{let{prefixCls:y}=a;return[{[oe.componentCls]:(0,de.C2)(`${y}-checkbox`,oe)},Be(y,oe),(0,Fe.Z)(oe)]},oe=>{const{colorTextLightSolid:a,colorPrimary:y}=oe;return Object.assign(Object.assign({},me(oe)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return y}});var x=ee(87462),de=ee(67294),pe={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"},Fe=pe,xe=ee(74643),ke=function(E,z){return de.createElement(xe.Z,(0,x.Z)({},E,{ref:z,icon:Fe}))},ie=de.forwardRef(ke),Ue=ee(73148),Ie=ee(3407),Te=ee(34182),ze=ee(74664),Be=ee(94184),me=ee.n(Be),oe=ee(96159),y=b=>{const{prefixCls:E,switcherIcon:z,treeNodeProps:te,showLine:ne}=b,{isLeaf:re,expanded:ae,loading:le}=te;if(le)return de.createElement(Ie.Z,{className:`${E}-switcher-loading-icon`});let he;if(ne&&typeof ne=="object"&&(he=ne.showLeafIcon),re){if(!ne)return null;if(typeof he!="boolean"&&he){const be=typeof he=="function"?he(te):he,ye=`${E}-switcher-line-custom-icon`;return(0,oe.l$)(be)?(0,oe.Tm)(be,{className:me()(be.props.className||"",ye)}):be}return he?de.createElement(Ue.Z,{className:`${E}-switcher-line-icon`}):de.createElement("span",{className:`${E}-switcher-leaf-line`})}const ve=`${E}-switcher-icon`,Ce=typeof z=="function"?z(te):z;return(0,oe.l$)(Ce)?(0,oe.Tm)(Ce,{className:me()(Ce.props.className||"",ve)}):Ce!==void 0?Ce:ne?ae?de.createElement(Te.Z,{className:`${E}-switcher-line-icon`}):de.createElement(ze.Z,{className:`${E}-switcher-line-icon`}):de.createElement(ie,{className:ve})}},59810:function(ct,it,ee){"use strict";ee.d(it,{default:function(){return ur}});var x=ee(67294),de=ee(74902),pe=ee(94184),Fe=ee.n(pe),xe=ee(87462),ke=ee(15671),ie=ee(43144),Ue=ee(60136),Ie=ee(51630),Te=ee(4942),ze=ee(45987),Be=ee(74165),me=ee(71002),oe=ee(15861),a=ee(64217);function y(gt,tn){var Xt="cannot ".concat(gt.method," ").concat(gt.action," ").concat(tn.status,"'"),cn=new Error(Xt);return cn.status=tn.status,cn.method=gt.method,cn.url=gt.action,cn}function b(gt){var tn=gt.responseText||gt.response;if(!tn)return tn;try{return JSON.parse(tn)}catch(Xt){return tn}}function E(gt){var tn=new XMLHttpRequest;gt.onProgress&&tn.upload&&(tn.upload.onprogress=function(rn){rn.total>0&&(rn.percent=rn.loaded/rn.total*100),gt.onProgress(rn)});var Xt=new FormData;gt.data&&Object.keys(gt.data).forEach(function(Kn){var rn=gt.data[Kn];if(Array.isArray(rn)){rn.forEach(function(_n){Xt.append("".concat(Kn,"[]"),_n)});return}Xt.append(Kn,rn)}),gt.file instanceof Blob?Xt.append(gt.filename,gt.file,gt.file.name):Xt.append(gt.filename,gt.file),tn.onerror=function(rn){gt.onError(rn)},tn.onload=function(){return tn.status<200||tn.status>=300?gt.onError(y(gt,tn),b(tn)):gt.onSuccess(b(tn),tn)},tn.open(gt.method,gt.action,!0),gt.withCredentials&&"withCredentials"in tn&&(tn.withCredentials=!0);var cn=gt.headers||{};return cn["X-Requested-With"]!==null&&tn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(cn).forEach(function(Kn){cn[Kn]!==null&&tn.setRequestHeader(Kn,cn[Kn])}),tn.send(Xt),{abort:function(){tn.abort()}}}var z=+new Date,te=0;function ne(){return"rc-upload-".concat(z,"-").concat(++te)}var re=ee(80334),ae=function(gt,tn){if(gt&&tn){var Xt=Array.isArray(tn)?tn:tn.split(","),cn=gt.name||"",Kn=gt.type||"",rn=Kn.replace(/\/.*$/,"");return Xt.some(function(_n){var wn=_n.trim();if(/^\*(\/\*)?$/.test(_n))return!0;if(wn.charAt(0)==="."){var la=cn.toLowerCase(),Za=wn.toLowerCase(),ir=[Za];return(Za===".jpg"||Za===".jpeg")&&(ir=[".jpg",".jpeg"]),ir.some(function(Or){return la.endsWith(Or)})}return/\/\*$/.test(wn)?rn===wn.replace(/\/.*$/,""):Kn===wn?!0:/^\w+$/.test(wn)?((0,re.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(wn,"'.Skip for check.")),!0):!1})}return!0};function le(gt,tn){var Xt=gt.createReader(),cn=[];function Kn(){Xt.readEntries(function(rn){var _n=Array.prototype.slice.apply(rn);cn=cn.concat(_n);var wn=!_n.length;wn?tn(cn):Kn()})}Kn()}var he=function(tn,Xt,cn){var Kn=function rn(_n,wn){_n&&(_n.path=wn||"",_n.isFile?_n.file(function(la){cn(la)&&(_n.fullPath&&!la.webkitRelativePath&&(Object.defineProperties(la,{webkitRelativePath:{writable:!0}}),la.webkitRelativePath=_n.fullPath.replace(/^\//,""),Object.defineProperties(la,{webkitRelativePath:{writable:!1}})),Xt([la]))}):_n.isDirectory&&le(_n,function(la){la.forEach(function(Za){rn(Za,"".concat(wn).concat(_n.name,"/"))})}))};tn.forEach(function(rn){Kn(rn.webkitGetAsEntry())})},ve=he,Ce=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],be=function(gt){(0,Ue.Z)(Xt,gt);var tn=(0,Ie.Z)(Xt);function Xt(){var cn;(0,ke.Z)(this,Xt);for(var Kn=arguments.length,rn=new Array(Kn),_n=0;_n<Kn;_n++)rn[_n]=arguments[_n];return cn=tn.call.apply(tn,[this].concat(rn)),cn.state={uid:ne()},cn.reqs={},cn.fileInput=void 0,cn._isMounted=void 0,cn.onChange=function(wn){var la=cn.props,Za=la.accept,ir=la.directory,Or=wn.target.files,Wr=(0,de.Z)(Or).filter(function(Nn){return!ir||ae(Nn,Za)});cn.uploadFiles(Wr),cn.reset()},cn.onClick=function(wn){var la=cn.fileInput;if(la){var Za=cn.props,ir=Za.children,Or=Za.onClick;if(ir&&ir.type==="button"){var Wr=la.parentNode;Wr.focus(),Wr.querySelector("button").blur()}la.click(),Or&&Or(wn)}},cn.onKeyDown=function(wn){wn.key==="Enter"&&cn.onClick(wn)},cn.onFileDrop=function(wn){var la=cn.props.multiple;if(wn.preventDefault(),wn.type!=="dragover")if(cn.props.directory)ve(Array.prototype.slice.call(wn.dataTransfer.items),cn.uploadFiles,function(ir){return ae(ir,cn.props.accept)});else{var Za=(0,de.Z)(wn.dataTransfer.files).filter(function(ir){return ae(ir,cn.props.accept)});la===!1&&(Za=Za.slice(0,1)),cn.uploadFiles(Za)}},cn.uploadFiles=function(wn){var la=(0,de.Z)(wn),Za=la.map(function(ir){return ir.uid=ne(),cn.processFile(ir,la)});Promise.all(Za).then(function(ir){var Or=cn.props.onBatchStart;Or==null||Or(ir.map(function(Wr){var Nn=Wr.origin,Go=Wr.parsedFile;return{file:Nn,parsedFile:Go}})),ir.filter(function(Wr){return Wr.parsedFile!==null}).forEach(function(Wr){cn.post(Wr)})})},cn.processFile=function(){var wn=(0,oe.Z)((0,Be.Z)().mark(function la(Za,ir){var Or,Wr,Nn,Go,Mo,Sr,xo,sa,Ra;return(0,Be.Z)().wrap(function(Qn){for(;;)switch(Qn.prev=Qn.next){case 0:if(Or=cn.props.beforeUpload,Wr=Za,!Or){Qn.next=14;break}return Qn.prev=3,Qn.next=6,Or(Za,ir);case 6:Wr=Qn.sent,Qn.next=12;break;case 9:Qn.prev=9,Qn.t0=Qn.catch(3),Wr=!1;case 12:if(Wr!==!1){Qn.next=14;break}return Qn.abrupt("return",{origin:Za,parsedFile:null,action:null,data:null});case 14:if(Nn=cn.props.action,typeof Nn!="function"){Qn.next=21;break}return Qn.next=18,Nn(Za);case 18:Go=Qn.sent,Qn.next=22;break;case 21:Go=Nn;case 22:if(Mo=cn.props.data,typeof Mo!="function"){Qn.next=29;break}return Qn.next=26,Mo(Za);case 26:Sr=Qn.sent,Qn.next=30;break;case 29:Sr=Mo;case 30:return xo=((0,me.Z)(Wr)==="object"||typeof Wr=="string")&&Wr?Wr:Za,xo instanceof File?sa=xo:sa=new File([xo],Za.name,{type:Za.type}),Ra=sa,Ra.uid=Za.uid,Qn.abrupt("return",{origin:Za,data:Sr,parsedFile:Ra,action:Go});case 35:case"end":return Qn.stop()}},la,null,[[3,9]])}));return function(la,Za){return wn.apply(this,arguments)}}(),cn.saveFileInput=function(wn){cn.fileInput=wn},cn}return(0,ie.Z)(Xt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Kn){var rn=this,_n=Kn.data,wn=Kn.origin,la=Kn.action,Za=Kn.parsedFile;if(this._isMounted){var ir=this.props,Or=ir.onStart,Wr=ir.customRequest,Nn=ir.name,Go=ir.headers,Mo=ir.withCredentials,Sr=ir.method,xo=wn.uid,sa=Wr||E,Ra={action:la,filename:Nn,data:_n,file:Za,headers:Go,withCredentials:Mo,method:Sr||"post",onProgress:function(Qn){var Vr=rn.props.onProgress;Vr==null||Vr(Qn,Za)},onSuccess:function(Qn,Vr){var Nr=rn.props.onSuccess;Nr==null||Nr(Qn,Za,Vr),delete rn.reqs[xo]},onError:function(Qn,Vr){var Nr=rn.props.onError;Nr==null||Nr(Qn,Vr,Za),delete rn.reqs[xo]}};Or(wn),this.reqs[xo]=sa(Ra)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(Kn){var rn=this.reqs;if(Kn){var _n=Kn.uid?Kn.uid:Kn;rn[_n]&&rn[_n].abort&&rn[_n].abort(),delete rn[_n]}else Object.keys(rn).forEach(function(wn){rn[wn]&&rn[wn].abort&&rn[wn].abort(),delete rn[wn]})}},{key:"render",value:function(){var Kn,rn=this.props,_n=rn.component,wn=rn.prefixCls,la=rn.className,Za=rn.disabled,ir=rn.id,Or=rn.style,Wr=rn.multiple,Nn=rn.accept,Go=rn.capture,Mo=rn.children,Sr=rn.directory,xo=rn.openFileDialogOnClick,sa=rn.onMouseEnter,Ra=rn.onMouseLeave,mr=(0,ze.Z)(rn,Ce),Qn=Fe()((Kn={},(0,Te.Z)(Kn,wn,!0),(0,Te.Z)(Kn,"".concat(wn,"-disabled"),Za),(0,Te.Z)(Kn,la,la),Kn)),Vr=Sr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Nr=Za?{}:{onClick:xo?this.onClick:function(){},onKeyDown:xo?this.onKeyDown:function(){},onMouseEnter:sa,onMouseLeave:Ra,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return x.createElement(_n,(0,xe.Z)({},Nr,{className:Qn,role:"button",style:Or}),x.createElement("input",(0,xe.Z)({},(0,a.Z)(mr,{aria:!0,data:!0}),{id:ir,disabled:Za,type:"file",ref:this.saveFileInput,onClick:function(Ao){return Ao.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Nn},Vr,{multiple:Wr,onChange:this.onChange},Go!=null?{capture:Go}:{})),Mo)}}]),Xt}(x.Component),ye=be;function De(){}var Oe=function(gt){(0,Ue.Z)(Xt,gt);var tn=(0,Ie.Z)(Xt);function Xt(){var cn;(0,ke.Z)(this,Xt);for(var Kn=arguments.length,rn=new Array(Kn),_n=0;_n<Kn;_n++)rn[_n]=arguments[_n];return cn=tn.call.apply(tn,[this].concat(rn)),cn.uploader=void 0,cn.saveUploader=function(wn){cn.uploader=wn},cn}return(0,ie.Z)(Xt,[{key:"abort",value:function(Kn){this.uploader.abort(Kn)}},{key:"render",value:function(){return x.createElement(ye,(0,xe.Z)({},this.props,{ref:this.saveUploader}))}}]),Xt}(x.Component);Oe.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:De,onError:De,onSuccess:De,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var $e=Oe,Le=$e,je=ee(5663),We=ee(73935),Ke=ee(53124),qe=ee(98866),ot=ee(10110),dt=ee(24457),$t={icon:function(tn,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Xt}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:tn}}]}},name:"file",theme:"twotone"},gn=$t,at=ee(74643),ht=function(tn,Xt){return x.createElement(at.Z,(0,xe.Z)({},tn,{ref:Xt,icon:gn}))},Bt=x.forwardRef(ht),ut=ee(3407),wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Ht=wt,Ge=function(tn,Xt){return x.createElement(at.Z,(0,xe.Z)({},tn,{ref:Xt,icon:Ht}))},bn=x.forwardRef(Ge),Dn={icon:function(tn,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:tn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Xt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:Xt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Xt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:tn}}]}},name:"picture",theme:"twotone"},Ct=Dn,Kt=function(tn,Xt){return x.createElement(at.Z,(0,xe.Z)({},tn,{ref:Xt,icon:Ct}))},Ut=x.forwardRef(Kt),Rt=ee(38379),St=ee(57838),Ft=ee(33603),Pt=ee(96159),st=ee(71577);function Jt(gt){return Object.assign(Object.assign({},gt),{lastModified:gt.lastModified,lastModifiedDate:gt.lastModifiedDate,name:gt.name,size:gt.size,type:gt.type,uid:gt.uid,percent:0,originFileObj:gt})}function Ot(gt,tn){const Xt=(0,de.Z)(tn),cn=Xt.findIndex(Kn=>{let{uid:rn}=Kn;return rn===gt.uid});return cn===-1?Xt.push(gt):Xt[cn]=gt,Xt}function xt(gt,tn){const Xt=gt.uid!==void 0?"uid":"name";return tn.filter(cn=>cn[Xt]===gt[Xt])[0]}function mn(gt,tn){const Xt=gt.uid!==void 0?"uid":"name",cn=tn.filter(Kn=>Kn[Xt]!==gt[Xt]);return cn.length===tn.length?null:cn}const en=function(){const tn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),cn=tn[tn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(cn)||[""])[0]},Ve=gt=>gt.indexOf("image/")===0,Re=gt=>{if(gt.type&&!gt.thumbUrl)return Ve(gt.type);const tn=gt.thumbUrl||gt.url||"",Xt=en(tn);return/^data:image\//.test(tn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Xt)?!0:!(/^data:/.test(tn)||Xt)},In=200;function we(gt){return new Promise(tn=>{if(!gt.type||!Ve(gt.type)){tn("");return}const Xt=document.createElement("canvas");Xt.width=In,Xt.height=In,Xt.style.cssText=`position: fixed; left: 0; top: 0; width: ${In}px; height: ${In}px; z-index: 9999; display: none;`,document.body.appendChild(Xt);const cn=Xt.getContext("2d"),Kn=new Image;if(Kn.onload=()=>{const{width:rn,height:_n}=Kn;let wn=In,la=In,Za=0,ir=0;rn>_n?(la=_n*(In/rn),ir=-(la-wn)/2):(wn=rn*(In/_n),Za=-(wn-la)/2),cn.drawImage(Kn,Za,ir,wn,la);const Or=Xt.toDataURL();document.body.removeChild(Xt),window.URL.revokeObjectURL(Kn.src),tn(Or)},Kn.crossOrigin="anonymous",gt.type.startsWith("image/svg+xml")){const rn=new FileReader;rn.onload=()=>{rn.result&&(Kn.src=rn.result)},rn.readAsDataURL(gt)}else if(gt.type.startsWith("image/gif")){const rn=new FileReader;rn.onload=()=>{rn.result&&tn(rn.result)},rn.readAsDataURL(gt)}else Kn.src=window.URL.createObjectURL(gt)})}var He=ee(84249),Wt=ee(90674),et=ee(99569),Ye=ee(38703),yt=ee(83062),kt=x.forwardRef((gt,tn)=>{let{prefixCls:Xt,className:cn,style:Kn,locale:rn,listType:_n,file:wn,items:la,progress:Za,iconRender:ir,actionIconRender:Or,itemRender:Wr,isImgUrl:Nn,showPreviewIcon:Go,showRemoveIcon:Mo,showDownloadIcon:Sr,previewIcon:xo,removeIcon:sa,downloadIcon:Ra,onPreview:mr,onDownload:Qn,onClose:Vr}=gt;var Nr,Uo;const{status:Ao}=wn,[ko,ji]=x.useState(Ao);x.useEffect(()=>{Ao!=="removed"&&ji(Ao)},[Ao]);const[Jo,nl]=x.useState(!1);x.useEffect(()=>{const tt=setTimeout(()=>{nl(!0)},300);return()=>{clearTimeout(tt)}},[]);const al=ir(wn);let Zn=x.createElement("div",{className:`${Xt}-icon`},al);if(_n==="picture"||_n==="picture-card"||_n==="picture-circle")if(ko==="uploading"||!wn.thumbUrl&&!wn.url){const tt=Fe()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:ko!=="uploading"});Zn=x.createElement("div",{className:tt},al)}else{const tt=Nn!=null&&Nn(wn)?x.createElement("img",{src:wn.thumbUrl||wn.url,alt:wn.name,className:`${Xt}-list-item-image`,crossOrigin:wn.crossOrigin}):al,lt=Fe()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:Nn&&!Nn(wn)});Zn=x.createElement("a",{className:lt,onClick:mt=>mr(wn,mt),href:wn.url||wn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},tt)}const Ea=Fe()(`${Xt}-list-item`,`${Xt}-list-item-${ko}`),io=typeof wn.linkProps=="string"?JSON.parse(wn.linkProps):wn.linkProps,Wo=Mo?Or((typeof sa=="function"?sa(wn):sa)||x.createElement(He.Z,null),()=>Vr(wn),Xt,rn.removeFile):null,wi=Sr&&ko==="done"?Or((typeof Ra=="function"?Ra(wn):Ra)||x.createElement(Wt.Z,null),()=>Qn(wn),Xt,rn.downloadFile):null,ri=_n!=="picture-card"&&_n!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:Fe()(`${Xt}-list-item-actions`,{picture:_n==="picture"})},wi,Wo),oi=Fe()(`${Xt}-list-item-name`),Qi=wn.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:oi,title:wn.name},io,{href:wn.url,onClick:tt=>mr(wn,tt)}),wn.name),ri]:[x.createElement("span",{key:"view",className:oi,onClick:tt=>mr(wn,tt),title:wn.name},wn.name),ri],Hr={pointerEvents:"none",opacity:.5},ce=Go?x.createElement("a",{href:wn.url||wn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:wn.url||wn.thumbUrl?void 0:Hr,onClick:tt=>mr(wn,tt),title:rn.previewFile},typeof xo=="function"?xo(wn):xo||x.createElement(et.Z,null)):null,Pe=(_n==="picture-card"||_n==="picture-circle")&&ko!=="uploading"&&x.createElement("span",{className:`${Xt}-list-item-actions`},ce,ko==="done"&&wi,Wo),{getPrefixCls:Ne}=x.useContext(Ke.E_),Se=Ne(),Qe=x.createElement("div",{className:Ea},Zn,Qi,Pe,Jo&&x.createElement(Rt.default,{motionName:`${Se}-fade`,visible:ko==="uploading",motionDeadline:2e3},tt=>{let{className:lt}=tt;const mt="percent"in wn?x.createElement(Ye.Z,Object.assign({},Za,{type:"line",percent:wn.percent,"aria-label":wn["aria-label"],"aria-labelledby":wn["aria-labelledby"]})):null;return x.createElement("div",{className:Fe()(`${Xt}-list-item-progress`,lt)},mt)})),rt=wn.response&&typeof wn.response=="string"?wn.response:((Nr=wn.error)===null||Nr===void 0?void 0:Nr.statusText)||((Uo=wn.error)===null||Uo===void 0?void 0:Uo.message)||rn.uploadError,bt=ko==="error"?x.createElement(yt.Z,{title:rt,getPopupContainer:tt=>tt.parentNode},Qe):Qe;return x.createElement("div",{className:Fe()(`${Xt}-list-item-container`,cn),style:Kn,ref:tn},Wr?Wr(bt,wn,la,{download:Qn.bind(null,wn),preview:mr.bind(null,wn),remove:Vr.bind(null,wn)}):bt)});const En=(gt,tn)=>{const{listType:Xt="text",previewFile:cn=we,onPreview:Kn,onDownload:rn,onRemove:_n,locale:wn,iconRender:la,isImageUrl:Za=Re,prefixCls:ir,items:Or=[],showPreviewIcon:Wr=!0,showRemoveIcon:Nn=!0,showDownloadIcon:Go=!1,removeIcon:Mo,previewIcon:Sr,downloadIcon:xo,progress:sa={size:[-1,2],showInfo:!1},appendAction:Ra,appendActionVisible:mr=!0,itemRender:Qn,disabled:Vr}=gt,Nr=(0,St.Z)(),[Uo,Ao]=x.useState(!1);x.useEffect(()=>{Xt!=="picture"&&Xt!=="picture-card"&&Xt!=="picture-circle"||(Or||[]).forEach(Hr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Hr.originFileObj instanceof File||Hr.originFileObj instanceof Blob)||Hr.thumbUrl!==void 0||(Hr.thumbUrl="",cn&&cn(Hr.originFileObj).then(ce=>{Hr.thumbUrl=ce||"",Nr()}))})},[Xt,Or,cn]),x.useEffect(()=>{Ao(!0)},[]);const ko=(Hr,ce)=>{if(Kn)return ce==null||ce.preventDefault(),Kn(Hr)},ji=Hr=>{typeof rn=="function"?rn(Hr):Hr.url&&window.open(Hr.url)},Jo=Hr=>{_n==null||_n(Hr)},nl=Hr=>{if(la)return la(Hr,Xt);const ce=Hr.status==="uploading",Pe=Za&&Za(Hr)?x.createElement(Ut,null):x.createElement(Bt,null);let Ne=ce?x.createElement(ut.Z,null):x.createElement(bn,null);return Xt==="picture"?Ne=ce?x.createElement(ut.Z,null):Pe:(Xt==="picture-card"||Xt==="picture-circle")&&(Ne=ce?wn.uploading:Pe),Ne},al=(Hr,ce,Pe,Ne)=>{const Se={type:"text",size:"small",title:Ne,onClick:Qe=>{ce(),(0,Pt.l$)(Hr)&&Hr.props.onClick&&Hr.props.onClick(Qe)},className:`${Pe}-list-item-action`,disabled:Vr};if((0,Pt.l$)(Hr)){const Qe=(0,Pt.Tm)(Hr,Object.assign(Object.assign({},Hr.props),{onClick:()=>{}}));return x.createElement(st.ZP,Object.assign({},Se,{icon:Qe}))}return x.createElement(st.ZP,Object.assign({},Se),x.createElement("span",null,Hr))};x.useImperativeHandle(tn,()=>({handlePreview:ko,handleDownload:ji}));const{getPrefixCls:Zn}=x.useContext(Ke.E_),Ea=Zn("upload",ir),io=Zn(),Wo=Fe()(`${Ea}-list`,`${Ea}-list-${Xt}`),wi=(0,de.Z)(Or.map(Hr=>({key:Hr.uid,file:Hr})));let oi={motionDeadline:2e3,motionName:`${Ea}-${Xt==="picture-card"||Xt==="picture-circle"?"animate-inline":"animate"}`,keys:wi,motionAppear:Uo};const Qi=x.useMemo(()=>{const Hr=Object.assign({},(0,Ft.Z)(io));return delete Hr.onAppearEnd,delete Hr.onEnterEnd,delete Hr.onLeaveEnd,Hr},[io]);return Xt!=="picture-card"&&Xt!=="picture-circle"&&(oi=Object.assign(Object.assign({},Qi),oi)),x.createElement("div",{className:Wo},x.createElement(Rt.CSSMotionList,Object.assign({},oi,{component:!1}),Hr=>{let{key:ce,file:Pe,className:Ne,style:Se}=Hr;return x.createElement(kt,{key:ce,locale:wn,prefixCls:Ea,className:Ne,style:Se,file:Pe,items:Or,progress:sa,listType:Xt,isImgUrl:Za,showPreviewIcon:Wr,showRemoveIcon:Nn,showDownloadIcon:Go,removeIcon:Mo,previewIcon:Sr,downloadIcon:xo,iconRender:nl,actionIconRender:al,itemRender:Qn,onPreview:ko,onDownload:ji,onClose:Jo})}),Ra&&x.createElement(Rt.default,Object.assign({},oi,{visible:mr,forceRender:!0}),Hr=>{let{className:ce,style:Pe}=Hr;return(0,Pt.Tm)(Ra,Ne=>({className:Fe()(Ne.className,ce),style:Object.assign(Object.assign(Object.assign({},Pe),{pointerEvents:ce?"none":void 0}),Ne.style)}))}))};var Mt=x.forwardRef(En),pt=ee(14747),an=ee(33507),Gt=ee(67968),pn=ee(45503),Fn=gt=>{const{componentCls:tn,iconCls:Xt}=gt;return{[`${tn}-wrapper`]:{[`${tn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:gt.colorFillAlter,border:`${gt.lineWidth}px dashed ${gt.colorBorder}`,borderRadius:gt.borderRadiusLG,cursor:"pointer",transition:`border-color ${gt.motionDurationSlow}`,[tn]:{padding:`${gt.padding}px 0`},[`${tn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${tn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${tn}-disabled):hover`]:{borderColor:gt.colorPrimaryHover},[`p${tn}-drag-icon`]:{marginBottom:gt.margin,[Xt]:{color:gt.colorPrimary,fontSize:gt.uploadThumbnailSize}},[`p${tn}-text`]:{margin:`0 0 ${gt.marginXXS}px`,color:gt.colorTextHeading,fontSize:gt.fontSizeLG},[`p${tn}-hint`]:{color:gt.colorTextDescription,fontSize:gt.fontSize},[`&${tn}-disabled`]:{cursor:"not-allowed",[`p${tn}-drag-icon ${Xt},
p${tn}-text,
p${tn}-hint
`]:{color:gt.colorTextDisabled}}}}}},fa=gt=>{const{componentCls:tn,antCls:Xt,iconCls:cn,fontSize:Kn,lineHeight:rn}=gt,_n=`${tn}-list-item`,wn=`${_n}-actions`,la=`${_n}-action`,Za=Math.round(Kn*rn);return{[`${tn}-wrapper`]:{[`${tn}-list`]:Object.assign(Object.assign({},(0,pt.dF)()),{lineHeight:gt.lineHeight,[_n]:{position:"relative",height:gt.lineHeight*Kn,marginTop:gt.marginXS,fontSize:Kn,display:"flex",alignItems:"center",transition:`background-color ${gt.motionDurationSlow}`,"&:hover":{backgroundColor:gt.controlItemBgHover},[`${_n}-name`]:Object.assign(Object.assign({},pt.vS),{padding:`0 ${gt.paddingXS}px`,lineHeight:rn,flex:"auto",transition:`all ${gt.motionDurationSlow}`}),[wn]:{[la]:{opacity:0},[`${la}${Xt}-btn-sm`]:{height:Za,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${la}:focus-visible,
&.picture ${la}
`]:{opacity:1},[cn]:{color:gt.actionsColor,transition:`all ${gt.motionDurationSlow}`},[`&:hover ${cn}`]:{color:gt.colorText}},[`${tn}-icon ${cn}`]:{color:gt.colorTextDescription,fontSize:Kn},[`${_n}-progress`]:{position:"absolute",bottom:-gt.uploadProgressOffset,width:"100%",paddingInlineStart:Kn+gt.paddingXS,fontSize:Kn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${_n}:hover ${la}`]:{opacity:1,color:gt.colorText},[`${_n}-error`]:{color:gt.colorError,[`${_n}-name, ${tn}-icon ${cn}`]:{color:gt.colorError},[wn]:{[`${cn}, ${cn}:hover`]:{color:gt.colorError},[la]:{opacity:1}}},[`${tn}-list-item-container`]:{transition:`opacity ${gt.motionDurationSlow}, height ${gt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Yt=ee(45930),Qt=ee(16932);const nn=new Yt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),ua=new Yt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var jn=gt=>{const{componentCls:tn}=gt,Xt=`${tn}-animate-inline`;return[{[`${tn}-wrapper`]:{[`${Xt}-appear, ${Xt}-enter, ${Xt}-leave`]:{animationDuration:gt.motionDurationSlow,animationTimingFunction:gt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Xt}-appear, ${Xt}-enter`]:{animationName:nn},[`${Xt}-leave`]:{animationName:ua}}},{[`${tn}-wrapper`]:(0,Qt.J$)(gt)},nn,ua]},Na=ee(47448),Ma=ee(84780);const vr=gt=>{const{componentCls:tn,iconCls:Xt,uploadThumbnailSize:cn,uploadProgressOffset:Kn}=gt,rn=`${tn}-list`,_n=`${rn}-item`;return{[`${tn}-wrapper`]:{[`
${rn}${rn}-picture,
${rn}${rn}-picture-card,
${rn}${rn}-picture-circle
`]:{[_n]:{position:"relative",height:cn+gt.lineWidth*2+gt.paddingXS*2,padding:gt.paddingXS,border:`${gt.lineWidth}px ${gt.lineType} ${gt.colorBorder}`,borderRadius:gt.borderRadiusLG,"&:hover":{background:"transparent"},[`${_n}-thumbnail`]:Object.assign(Object.assign({},pt.vS),{width:cn,height:cn,lineHeight:`${cn+gt.paddingSM}px`,textAlign:"center",flex:"none",[Xt]:{fontSize:gt.fontSizeHeading2,color:gt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${_n}-progress`]:{bottom:Kn,width:`calc(100% - ${gt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:cn+gt.paddingXS}},[`${_n}-error`]:{borderColor:gt.colorError,[`${_n}-thumbnail ${Xt}`]:{[`svg path[fill='${Na.blue[0]}']`]:{fill:gt.colorErrorBg},[`svg path[fill='${Na.blue.primary}']`]:{fill:gt.colorError}}},[`${_n}-uploading`]:{borderStyle:"dashed",[`${_n}-name`]:{marginBottom:Kn}}},[`${rn}${rn}-picture-circle ${_n}`]:{[`&, &::before, ${_n}-thumbnail`]:{borderRadius:"50%"}}}}},zr=gt=>{const{componentCls:tn,iconCls:Xt,fontSizeLG:cn,colorTextLightSolid:Kn}=gt,rn=`${tn}-list`,_n=`${rn}-item`,wn=gt.uploadPicCardSize;return{[`
${tn}-wrapper${tn}-picture-card-wrapper,
${tn}-wrapper${tn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,pt.dF)()),{display:"inline-block",width:"100%",[`${tn}${tn}-select`]:{width:wn,height:wn,marginInlineEnd:gt.marginXS,marginBottom:gt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:gt.colorFillAlter,border:`${gt.lineWidth}px dashed ${gt.colorBorder}`,borderRadius:gt.borderRadiusLG,cursor:"pointer",transition:`border-color ${gt.motionDurationSlow}`,[`> ${tn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${tn}-disabled):hover`]:{borderColor:gt.colorPrimary}},[`${rn}${rn}-picture-card, ${rn}${rn}-picture-circle`]:{[`${rn}-item-container`]:{display:"inline-block",width:wn,height:wn,marginBlock:`0 ${gt.marginXS}px`,marginInline:`0 ${gt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[_n]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${gt.paddingXS*2}px)`,height:`calc(100% - ${gt.paddingXS*2}px)`,backgroundColor:gt.colorBgMask,opacity:0,transition:`all ${gt.motionDurationSlow}`,content:'" "'}},[`${_n}:hover`]:{[`&::before, ${_n}-actions`]:{opacity:1}},[`${_n}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${gt.motionDurationSlow}`,[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{zIndex:10,width:cn,margin:`0 ${gt.marginXXS}px`,fontSize:cn,cursor:"pointer",transition:`all ${gt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${_n}-actions, ${_n}-actions:hover`]:{[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{color:new Ma.C(Kn).setAlpha(.65).toRgbString(),"&:hover":{color:Kn}}},[`${_n}-thumbnail, ${_n}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${_n}-name`]:{display:"none",textAlign:"center"},[`${_n}-file + ${_n}-name`]:{position:"absolute",bottom:gt.margin,display:"block",width:`calc(100% - ${gt.paddingXS*2}px)`},[`${_n}-uploading`]:{[`&${_n}`]:{backgroundColor:gt.colorFillAlter},[`&::before, ${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{display:"none"}},[`${_n}-progress`]:{bottom:gt.marginXL,width:`calc(100% - ${gt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${tn}-wrapper${tn}-picture-circle-wrapper`]:{[`${tn}${tn}-select`]:{borderRadius:"50%"}}}};var Je=gt=>{const{componentCls:tn}=gt;return{[`${tn}-rtl`]:{direction:"rtl"}}};const Dt=gt=>{const{componentCls:tn,colorTextDisabled:Xt}=gt;return{[`${tn}-wrapper`]:Object.assign(Object.assign({},(0,pt.Wf)(gt)),{[tn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${tn}-select`]:{display:"inline-block"},[`${tn}-disabled`]:{color:Xt,cursor:"not-allowed"}})}};var Et=(0,Gt.Z)("Upload",gt=>{const{fontSizeHeading3:tn,fontSize:Xt,lineHeight:cn,lineWidth:Kn,controlHeightLG:rn}=gt,_n=Math.round(Xt*cn),wn=(0,pn.TS)(gt,{uploadThumbnailSize:tn*2,uploadProgressOffset:_n/2+Kn,uploadPicCardSize:rn*2.55});return[Dt(wn),Fn(wn),vr(wn),zr(wn),fa(wn),jn(wn),Je(wn),(0,an.Z)(wn)]},gt=>({actionsColor:gt.colorTextDescription})),Rn=function(gt,tn,Xt,cn){function Kn(rn){return rn instanceof Xt?rn:new Xt(function(_n){_n(rn)})}return new(Xt||(Xt=Promise))(function(rn,_n){function wn(ir){try{Za(cn.next(ir))}catch(Or){_n(Or)}}function la(ir){try{Za(cn.throw(ir))}catch(Or){_n(Or)}}function Za(ir){ir.done?rn(ir.value):Kn(ir.value).then(wn,la)}Za((cn=cn.apply(gt,tn||[])).next())})};const vn=`__LIST_IGNORE_${Date.now()}__`,Un=(gt,tn)=>{const{fileList:Xt,defaultFileList:cn,onRemove:Kn,showUploadList:rn=!0,listType:_n="text",onPreview:wn,onDownload:la,onChange:Za,onDrop:ir,previewFile:Or,disabled:Wr,locale:Nn,iconRender:Go,isImageUrl:Mo,progress:Sr,prefixCls:xo,className:sa,type:Ra="select",children:mr,style:Qn,itemRender:Vr,maxCount:Nr,data:Uo={},multiple:Ao=!1,action:ko="",accept:ji="",supportServerRender:Jo=!0,rootClassName:nl}=gt,al=x.useContext(qe.Z),Zn=Wr!=null?Wr:al,[Ea,io]=(0,je.Z)(cn||[],{value:Xt,postState:ea=>ea!=null?ea:[]}),[Wo,wi]=x.useState("drop"),ri=x.useRef(null);x.useMemo(()=>{const ea=Date.now();(Xt||[]).forEach((Ba,xa)=>{!Ba.uid&&!Object.isFrozen(Ba)&&(Ba.uid=`__AUTO__${ea}_${xa}__`)})},[Xt]);const oi=(ea,Ba,xa)=>{let Ya=(0,de.Z)(Ba),er=!1;Nr===1?Ya=Ya.slice(-1):Nr&&(er=Ya.length>Nr,Ya=Ya.slice(0,Nr)),(0,We.flushSync)(()=>{io(Ya)});const Rr={file:ea,fileList:Ya};xa&&(Rr.event=xa),(!er||Ya.some(ao=>ao.uid===ea.uid))&&(0,We.flushSync)(()=>{Za==null||Za(Rr)})},Qi=(ea,Ba)=>Rn(void 0,void 0,void 0,function*(){const{beforeUpload:xa,transformFile:Ya}=gt;let er=ea;if(xa){const Rr=yield xa(ea,Ba);if(Rr===!1)return!1;if(delete ea[vn],Rr===vn)return Object.defineProperty(ea,vn,{value:!0,configurable:!0}),!1;typeof Rr=="object"&&Rr&&(er=Rr)}return Ya&&(er=yield Ya(er)),er}),Hr=ea=>{const Ba=ea.filter(er=>!er.file[vn]);if(!Ba.length)return;const xa=Ba.map(er=>Jt(er.file));let Ya=(0,de.Z)(Ea);xa.forEach(er=>{Ya=Ot(er,Ya)}),xa.forEach((er,Rr)=>{let ao=er;if(Ba[Rr].parsedFile)er.status="uploading";else{const{originFileObj:wo}=er;let ma;try{ma=new File([wo],wo.name,{type:wo.type})}catch(Eo){ma=new Blob([wo],{type:wo.type}),ma.name=wo.name,ma.lastModifiedDate=new Date,ma.lastModified=new Date().getTime()}ma.uid=er.uid,ao=ma}oi(ao,Ya)})},ce=(ea,Ba,xa)=>{try{typeof ea=="string"&&(ea=JSON.parse(ea))}catch(Rr){}if(!xt(Ba,Ea))return;const Ya=Jt(Ba);Ya.status="done",Ya.percent=100,Ya.response=ea,Ya.xhr=xa;const er=Ot(Ya,Ea);oi(Ya,er)},Pe=(ea,Ba)=>{if(!xt(Ba,Ea))return;const xa=Jt(Ba);xa.status="uploading",xa.percent=ea.percent;const Ya=Ot(xa,Ea);oi(xa,Ya,ea)},Ne=(ea,Ba,xa)=>{if(!xt(xa,Ea))return;const Ya=Jt(xa);Ya.error=ea,Ya.response=Ba,Ya.status="error";const er=Ot(Ya,Ea);oi(Ya,er)},Se=ea=>{let Ba;Promise.resolve(typeof Kn=="function"?Kn(ea):Kn).then(xa=>{var Ya;if(xa===!1)return;const er=mn(ea,Ea);er&&(Ba=Object.assign(Object.assign({},ea),{status:"removed"}),Ea==null||Ea.forEach(Rr=>{const ao=Ba.uid!==void 0?"uid":"name";Rr[ao]===Ba[ao]&&!Object.isFrozen(Rr)&&(Rr.status="removed")}),(Ya=ri.current)===null||Ya===void 0||Ya.abort(Ba),oi(Ba,er))})},Qe=ea=>{wi(ea.type),ea.type==="drop"&&(ir==null||ir(ea))};x.useImperativeHandle(tn,()=>({onBatchStart:Hr,onSuccess:ce,onProgress:Pe,onError:Ne,fileList:Ea,upload:ri.current}));const{getPrefixCls:rt,direction:bt,upload:tt}=x.useContext(Ke.E_),lt=rt("upload",xo),mt=Object.assign(Object.assign({onBatchStart:Hr,onError:Ne,onProgress:Pe,onSuccess:ce},gt),{data:Uo,multiple:Ao,action:ko,accept:ji,supportServerRender:Jo,prefixCls:lt,disabled:Zn,beforeUpload:Qi,onChange:void 0});delete mt.className,delete mt.style,(!mr||Zn)&&delete mt.id;const[on,hn]=Et(lt),[Vn]=(0,ot.Z)("Upload",dt.Z.Upload),{showRemoveIcon:kn,showPreviewIcon:Aa,showDownloadIcon:pa,removeIcon:Sn,previewIcon:jt,downloadIcon:yn}=typeof rn=="boolean"?{}:rn,Cn=(ea,Ba)=>rn?x.createElement(Mt,{prefixCls:lt,listType:_n,items:Ea,previewFile:Or,onPreview:wn,onDownload:la,onRemove:Se,showRemoveIcon:!Zn&&kn,showPreviewIcon:Aa,showDownloadIcon:pa,removeIcon:Sn,previewIcon:jt,downloadIcon:yn,iconRender:Go,locale:Object.assign(Object.assign({},Vn),Nn),isImageUrl:Mo,progress:Sr,appendAction:ea,appendActionVisible:Ba,itemRender:Vr,disabled:Zn}):ea,ha=Fe()(`${lt}-wrapper`,sa,nl,hn,tt==null?void 0:tt.className,{[`${lt}-rtl`]:bt==="rtl",[`${lt}-picture-card-wrapper`]:_n==="picture-card",[`${lt}-picture-circle-wrapper`]:_n==="picture-circle"}),Da=Object.assign(Object.assign({},tt==null?void 0:tt.style),Qn);if(Ra==="drag"){const ea=Fe()(hn,lt,`${lt}-drag`,{[`${lt}-drag-uploading`]:Ea.some(Ba=>Ba.status==="uploading"),[`${lt}-drag-hover`]:Wo==="dragover",[`${lt}-disabled`]:Zn,[`${lt}-rtl`]:bt==="rtl"});return on(x.createElement("span",{className:ha},x.createElement("div",{className:ea,style:Da,onDrop:Qe,onDragOver:Qe,onDragLeave:Qe},x.createElement(Le,Object.assign({},mt,{ref:ri,className:`${lt}-btn`}),x.createElement("div",{className:`${lt}-drag-container`},mr))),Cn()))}const wa=Fe()(lt,`${lt}-select`,{[`${lt}-disabled`]:Zn}),Oa=(ea=>x.createElement("div",{className:wa,style:ea},x.createElement(Le,Object.assign({},mt,{ref:ri}))))(mr?void 0:{display:"none"});return on(_n==="picture-card"||_n==="picture-circle"?x.createElement("span",{className:ha},Cn(Oa,!!mr)):x.createElement("span",{className:ha},Oa,Cn()))};var Ta=x.forwardRef(Un),Cr=function(gt,tn){var Xt={};for(var cn in gt)Object.prototype.hasOwnProperty.call(gt,cn)&&tn.indexOf(cn)<0&&(Xt[cn]=gt[cn]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kn=0,cn=Object.getOwnPropertySymbols(gt);Kn<cn.length;Kn++)tn.indexOf(cn[Kn])<0&&Object.prototype.propertyIsEnumerable.call(gt,cn[Kn])&&(Xt[cn[Kn]]=gt[cn[Kn]]);return Xt},co=x.forwardRef((gt,tn)=>{var{style:Xt,height:cn}=gt,Kn=Cr(gt,["style","height"]);return x.createElement(Ta,Object.assign({ref:tn},Kn,{type:"drag",style:Object.assign(Object.assign({},Xt),{height:cn})}))});const Jn=Ta;Jn.Dragger=co,Jn.LIST_IGNORE=vn;var ur=Jn},97909:function(ct){(function(it,ee){ct.exports=ee()})(this,function(){"use strict";var it=1e3,ee=6e4,x=36e5,de="millisecond",pe="second",Fe="minute",xe="hour",ke="day",ie="week",Ue="month",Ie="quarter",Te="year",ze="date",Be="Invalid Date",me=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,oe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,a={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ce){var be=["th","st","nd","rd"],ye=Ce%100;return"["+Ce+(be[(ye-20)%10]||be[ye]||be[0])+"]"}},y=function(Ce,be,ye){var De=String(Ce);return!De||De.length>=be?Ce:""+Array(be+1-De.length).join(ye)+Ce},b={s:y,z:function(Ce){var be=-Ce.utcOffset(),ye=Math.abs(be),De=Math.floor(ye/60),Oe=ye%60;return(be<=0?"+":"-")+y(De,2,"0")+":"+y(Oe,2,"0")},m:function Ce(be,ye){if(be.date()<ye.date())return-Ce(ye,be);var De=12*(ye.year()-be.year())+(ye.month()-be.month()),Oe=be.clone().add(De,Ue),$e=ye-Oe<0,Le=be.clone().add(De+($e?-1:1),Ue);return+(-(De+(ye-Oe)/($e?Oe-Le:Le-Oe))||0)},a:function(Ce){return Ce<0?Math.ceil(Ce)||0:Math.floor(Ce)},p:function(Ce){return{M:Ue,y:Te,w:ie,d:ke,D:ze,h:xe,m:Fe,s:pe,ms:de,Q:Ie}[Ce]||String(Ce||"").toLowerCase().replace(/s$/,"")},u:function(Ce){return Ce===void 0}},E="en",z={};z[E]=a;var te="$isDayjsObject",ne=function(Ce){return Ce instanceof he||!(!Ce||!Ce[te])},re=function Ce(be,ye,De){var Oe;if(!be)return E;if(typeof be=="string"){var $e=be.toLowerCase();z[$e]&&(Oe=$e),ye&&(z[$e]=ye,Oe=$e);var Le=be.split("-");if(!Oe&&Le.length>1)return Ce(Le[0])}else{var je=be.name;z[je]=be,Oe=je}return!De&&Oe&&(E=Oe),Oe||!De&&E},ae=function(Ce,be){if(ne(Ce))return Ce.clone();var ye=typeof be=="object"?be:{};return ye.date=Ce,ye.args=arguments,new he(ye)},le=b;le.l=re,le.i=ne,le.w=function(Ce,be){return ae(Ce,{locale:be.$L,utc:be.$u,x:be.$x,$offset:be.$offset})};var he=function(){function Ce(ye){this.$L=re(ye.locale,null,!0),this.parse(ye),this.$x=this.$x||ye.x||{},this[te]=!0}var be=Ce.prototype;return be.parse=function(ye){this.$d=function(De){var Oe=De.date,$e=De.utc;if(Oe===null)return new Date(NaN);if(le.u(Oe))return new Date;if(Oe instanceof Date)return new Date(Oe);if(typeof Oe=="string"&&!/Z$/i.test(Oe)){var Le=Oe.match(me);if(Le){var je=Le[2]-1||0,We=(Le[7]||"0").substring(0,3);return $e?new Date(Date.UTC(Le[1],je,Le[3]||1,Le[4]||0,Le[5]||0,Le[6]||0,We)):new Date(Le[1],je,Le[3]||1,Le[4]||0,Le[5]||0,Le[6]||0,We)}}return new Date(Oe)}(ye),this.init()},be.init=function(){var ye=this.$d;this.$y=ye.getFullYear(),this.$M=ye.getMonth(),this.$D=ye.getDate(),this.$W=ye.getDay(),this.$H=ye.getHours(),this.$m=ye.getMinutes(),this.$s=ye.getSeconds(),this.$ms=ye.getMilliseconds()},be.$utils=function(){return le},be.isValid=function(){return this.$d.toString()!==Be},be.isSame=function(ye,De){var Oe=ae(ye);return this.startOf(De)<=Oe&&Oe<=this.endOf(De)},be.isAfter=function(ye,De){return ae(ye)<this.startOf(De)},be.isBefore=function(ye,De){return this.endOf(De)<ae(ye)},be.$g=function(ye,De,Oe){return le.u(ye)?this[De]:this.set(Oe,ye)},be.unix=function(){return Math.floor(this.valueOf()/1e3)},be.valueOf=function(){return this.$d.getTime()},be.startOf=function(ye,De){var Oe=this,$e=!!le.u(De)||De,Le=le.p(ye),je=function(at,ht){var Bt=le.w(Oe.$u?Date.UTC(Oe.$y,ht,at):new Date(Oe.$y,ht,at),Oe);return $e?Bt:Bt.endOf(ke)},We=function(at,ht){return le.w(Oe.toDate()[at].apply(Oe.toDate("s"),($e?[0,0,0,0]:[23,59,59,999]).slice(ht)),Oe)},Ke=this.$W,qe=this.$M,ot=this.$D,dt="set"+(this.$u?"UTC":"");switch(Le){case Te:return $e?je(1,0):je(31,11);case Ue:return $e?je(1,qe):je(0,qe+1);case ie:var $t=this.$locale().weekStart||0,gn=(Ke<$t?Ke+7:Ke)-$t;return je($e?ot-gn:ot+(6-gn),qe);case ke:case ze:return We(dt+"Hours",0);case xe:return We(dt+"Minutes",1);case Fe:return We(dt+"Seconds",2);case pe:return We(dt+"Milliseconds",3);default:return this.clone()}},be.endOf=function(ye){return this.startOf(ye,!1)},be.$set=function(ye,De){var Oe,$e=le.p(ye),Le="set"+(this.$u?"UTC":""),je=(Oe={},Oe[ke]=Le+"Date",Oe[ze]=Le+"Date",Oe[Ue]=Le+"Month",Oe[Te]=Le+"FullYear",Oe[xe]=Le+"Hours",Oe[Fe]=Le+"Minutes",Oe[pe]=Le+"Seconds",Oe[de]=Le+"Milliseconds",Oe)[$e],We=$e===ke?this.$D+(De-this.$W):De;if($e===Ue||$e===Te){var Ke=this.clone().set(ze,1);Ke.$d[je](We),Ke.init(),this.$d=Ke.set(ze,Math.min(this.$D,Ke.daysInMonth())).$d}else je&&this.$d[je](We);return this.init(),this},be.set=function(ye,De){return this.clone().$set(ye,De)},be.get=function(ye){return this[le.p(ye)]()},be.add=function(ye,De){var Oe,$e=this;ye=Number(ye);var Le=le.p(De),je=function(qe){var ot=ae($e);return le.w(ot.date(ot.date()+Math.round(qe*ye)),$e)};if(Le===Ue)return this.set(Ue,this.$M+ye);if(Le===Te)return this.set(Te,this.$y+ye);if(Le===ke)return je(1);if(Le===ie)return je(7);var We=(Oe={},Oe[Fe]=ee,Oe[xe]=x,Oe[pe]=it,Oe)[Le]||1,Ke=this.$d.getTime()+ye*We;return le.w(Ke,this)},be.subtract=function(ye,De){return this.add(-1*ye,De)},be.format=function(ye){var De=this,Oe=this.$locale();if(!this.isValid())return Oe.invalidDate||Be;var $e=ye||"YYYY-MM-DDTHH:mm:ssZ",Le=le.z(this),je=this.$H,We=this.$m,Ke=this.$M,qe=Oe.weekdays,ot=Oe.months,dt=Oe.meridiem,$t=function(ht,Bt,ut,wt){return ht&&(ht[Bt]||ht(De,$e))||ut[Bt].slice(0,wt)},gn=function(ht){return le.s(je%12||12,ht,"0")},at=dt||function(ht,Bt,ut){var wt=ht<12?"AM":"PM";return ut?wt.toLowerCase():wt};return $e.replace(oe,function(ht,Bt){return Bt||function(ut){switch(ut){case"YY":return String(De.$y).slice(-2);case"YYYY":return le.s(De.$y,4,"0");case"M":return Ke+1;case"MM":return le.s(Ke+1,2,"0");case"MMM":return $t(Oe.monthsShort,Ke,ot,3);case"MMMM":return $t(ot,Ke);case"D":return De.$D;case"DD":return le.s(De.$D,2,"0");case"d":return String(De.$W);case"dd":return $t(Oe.weekdaysMin,De.$W,qe,2);case"ddd":return $t(Oe.weekdaysShort,De.$W,qe,3);case"dddd":return qe[De.$W];case"H":return String(je);case"HH":return le.s(je,2,"0");case"h":return gn(1);case"hh":return gn(2);case"a":return at(je,We,!0);case"A":return at(je,We,!1);case"m":return String(We);case"mm":return le.s(We,2,"0");case"s":return String(De.$s);case"ss":return le.s(De.$s,2,"0");case"SSS":return le.s(De.$ms,3,"0");case"Z":return Le}return null}(ht)||Le.replace(":","")})},be.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},be.diff=function(ye,De,Oe){var $e,Le=this,je=le.p(De),We=ae(ye),Ke=(We.utcOffset()-this.utcOffset())*ee,qe=this-We,ot=function(){return le.m(Le,We)};switch(je){case Te:$e=ot()/12;break;case Ue:$e=ot();break;case Ie:$e=ot()/3;break;case ie:$e=(qe-Ke)/6048e5;break;case ke:$e=(qe-Ke)/864e5;break;case xe:$e=qe/x;break;case Fe:$e=qe/ee;break;case pe:$e=qe/it;break;default:$e=qe}return Oe?$e:le.a($e)},be.daysInMonth=function(){return this.endOf(Ue).$D},be.$locale=function(){return z[this.$L]},be.locale=function(ye,De){if(!ye)return this.$L;var Oe=this.clone(),$e=re(ye,De,!0);return $e&&(Oe.$L=$e),Oe},be.clone=function(){return le.w(this.$d,this)},be.toDate=function(){return new Date(this.valueOf())},be.toJSON=function(){return this.isValid()?this.toISOString():null},be.toISOString=function(){return this.$d.toISOString()},be.toString=function(){return this.$d.toUTCString()},Ce}(),ve=he.prototype;return ae.prototype=ve,[["$ms",de],["$s",pe],["$m",Fe],["$H",xe],["$W",ke],["$M",Ue],["$y",Te],["$D",ze]].forEach(function(Ce){ve[Ce[1]]=function(be){return this.$g(be,Ce[0],Ce[1])}}),ae.extend=function(Ce,be){return Ce.$i||(Ce(be,he,ae),Ce.$i=!0),ae},ae.locale=re,ae.isDayjs=ne,ae.unix=function(Ce){return ae(1e3*Ce)},ae.en=z[E],ae.Ls=z,ae.p={},ae})},86625:function(ct){(function(it,ee){ct.exports=ee()})(this,function(){"use strict";return function(it,ee){var x=ee.prototype,de=x.format;x.format=function(pe){var Fe=this,xe=this.$locale();if(!this.isValid())return de.bind(this)(pe);var ke=this.$utils(),ie=(pe||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(Ue){switch(Ue){case"Q":return Math.ceil((Fe.$M+1)/3);case"Do":return xe.ordinal(Fe.$D);case"gggg":return Fe.weekYear();case"GGGG":return Fe.isoWeekYear();case"wo":return xe.ordinal(Fe.week(),"W");case"w":case"ww":return ke.s(Fe.week(),Ue==="w"?1:2,"0");case"W":case"WW":return ke.s(Fe.isoWeek(),Ue==="W"?1:2,"0");case"k":case"kk":return ke.s(String(Fe.$H===0?24:Fe.$H),Ue==="k"?1:2,"0");case"X":return Math.floor(Fe.$d.getTime()/1e3);case"x":return Fe.$d.getTime();case"z":return"["+Fe.offsetName()+"]";case"zzz":return"["+Fe.offsetName("long")+"]";default:return Ue}});return de.bind(this)(ie)}}})},40618:function(ct){(function(it,ee){ct.exports=ee()})(this,function(){"use strict";var it={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ee=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,x=/\d\d/,de=/\d\d?/,pe=/\d*[^-_:/,()\s\d]+/,Fe={},xe=function(Be){return(Be=+Be)+(Be>68?1900:2e3)},ke=function(Be){return function(me){this[Be]=+me}},ie=[/[+-]\d\d:?(\d\d)?|Z/,function(Be){(this.zone||(this.zone={})).offset=function(me){if(!me||me==="Z")return 0;var oe=me.match(/([+-]|\d\d)/g),a=60*oe[1]+(+oe[2]||0);return a===0?0:oe[0]==="+"?-a:a}(Be)}],Ue=function(Be){var me=Fe[Be];return me&&(me.indexOf?me:me.s.concat(me.f))},Ie=function(Be,me){var oe,a=Fe.meridiem;if(a){for(var y=1;y<=24;y+=1)if(Be.indexOf(a(y,0,me))>-1){oe=y>12;break}}else oe=Be===(me?"pm":"PM");return oe},Te={A:[pe,function(Be){this.afternoon=Ie(Be,!1)}],a:[pe,function(Be){this.afternoon=Ie(Be,!0)}],S:[/\d/,function(Be){this.milliseconds=100*+Be}],SS:[x,function(Be){this.milliseconds=10*+Be}],SSS:[/\d{3}/,function(Be){this.milliseconds=+Be}],s:[de,ke("seconds")],ss:[de,ke("seconds")],m:[de,ke("minutes")],mm:[de,ke("minutes")],H:[de,ke("hours")],h:[de,ke("hours")],HH:[de,ke("hours")],hh:[de,ke("hours")],D:[de,ke("day")],DD:[x,ke("day")],Do:[pe,function(Be){var me=Fe.ordinal,oe=Be.match(/\d+/);if(this.day=oe[0],me)for(var a=1;a<=31;a+=1)me(a).replace(/\[|\]/g,"")===Be&&(this.day=a)}],M:[de,ke("month")],MM:[x,ke("month")],MMM:[pe,function(Be){var me=Ue("months"),oe=(Ue("monthsShort")||me.map(function(a){return a.slice(0,3)})).indexOf(Be)+1;if(oe<1)throw new Error;this.month=oe%12||oe}],MMMM:[pe,function(Be){var me=Ue("months").indexOf(Be)+1;if(me<1)throw new Error;this.month=me%12||me}],Y:[/[+-]?\d+/,ke("year")],YY:[x,function(Be){this.year=xe(Be)}],YYYY:[/\d{4}/,ke("year")],Z:ie,ZZ:ie};function ze(Be){var me,oe;me=Be,oe=Fe&&Fe.formats;for(var a=(Be=me.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(re,ae,le){var he=le&&le.toUpperCase();return ae||oe[le]||it[le]||oe[he].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ve,Ce,be){return Ce||be.slice(1)})})).match(ee),y=a.length,b=0;b<y;b+=1){var E=a[b],z=Te[E],te=z&&z[0],ne=z&&z[1];a[b]=ne?{regex:te,parser:ne}:E.replace(/^\[|\]$/g,"")}return function(re){for(var ae={},le=0,he=0;le<y;le+=1){var ve=a[le];if(typeof ve=="string")he+=ve.length;else{var Ce=ve.regex,be=ve.parser,ye=re.slice(he),De=Ce.exec(ye)[0];be.call(ae,De),re=re.replace(De,"")}}return function(Oe){var $e=Oe.afternoon;if($e!==void 0){var Le=Oe.hours;$e?Le<12&&(Oe.hours+=12):Le===12&&(Oe.hours=0),delete Oe.afternoon}}(ae),ae}}return function(Be,me,oe){oe.p.customParseFormat=!0,Be&&Be.parseTwoDigitYear&&(xe=Be.parseTwoDigitYear);var a=me.prototype,y=a.parse;a.parse=function(b){var E=b.date,z=b.utc,te=b.args;this.$u=z;var ne=te[1];if(typeof ne=="string"){var re=te[2]===!0,ae=te[3]===!0,le=re||ae,he=te[2];ae&&(he=te[2]),Fe=this.$locale(),!re&&he&&(Fe=oe.Ls[he]),this.$d=function(ye,De,Oe){try{if(["x","X"].indexOf(De)>-1)return new Date((De==="X"?1e3:1)*ye);var $e=ze(De)(ye),Le=$e.year,je=$e.month,We=$e.day,Ke=$e.hours,qe=$e.minutes,ot=$e.seconds,dt=$e.milliseconds,$t=$e.zone,gn=new Date,at=We||(Le||je?1:gn.getDate()),ht=Le||gn.getFullYear(),Bt=0;Le&&!je||(Bt=je>0?je-1:gn.getMonth());var ut=Ke||0,wt=qe||0,Ht=ot||0,Ge=dt||0;return $t?new Date(Date.UTC(ht,Bt,at,ut,wt,Ht,Ge+60*$t.offset*1e3)):Oe?new Date(Date.UTC(ht,Bt,at,ut,wt,Ht,Ge)):new Date(ht,Bt,at,ut,wt,Ht,Ge)}catch(bn){return new Date("")}}(E,ne,z),this.init(),he&&he!==!0&&(this.$L=this.locale(he).$L),le&&E!=this.format(ne)&&(this.$d=new Date("")),Fe={}}else if(ne instanceof Array)for(var ve=ne.length,Ce=1;Ce<=ve;Ce+=1){te[1]=ne[Ce-1];var be=oe.apply(this,te);if(be.isValid()){this.$d=be.$d,this.$L=be.$L,this.init();break}Ce===ve&&(this.$d=new Date(""))}else y.call(this,b)}}})},26850:function(ct){(function(it,ee){ct.exports=ee()})(this,function(){"use strict";return function(it,ee,x){var de=ee.prototype,pe=function(Ue){return Ue&&(Ue.indexOf?Ue:Ue.s)},Fe=function(Ue,Ie,Te,ze,Be){var me=Ue.name?Ue:Ue.$locale(),oe=pe(me[Ie]),a=pe(me[Te]),y=oe||a.map(function(E){return E.slice(0,ze)});if(!Be)return y;var b=me.weekStart;return y.map(function(E,z){return y[(z+(b||0))%7]})},xe=function(){return x.Ls[x.locale()]},ke=function(Ue,Ie){return Ue.formats[Ie]||function(Te){return Te.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ze,Be,me){return Be||me.slice(1)})}(Ue.formats[Ie.toUpperCase()])},ie=function(){var Ue=this;return{months:function(Ie){return Ie?Ie.format("MMMM"):Fe(Ue,"months")},monthsShort:function(Ie){return Ie?Ie.format("MMM"):Fe(Ue,"monthsShort","months",3)},firstDayOfWeek:function(){return Ue.$locale().weekStart||0},weekdays:function(Ie){return Ie?Ie.format("dddd"):Fe(Ue,"weekdays")},weekdaysMin:function(Ie){return Ie?Ie.format("dd"):Fe(Ue,"weekdaysMin","weekdays",2)},weekdaysShort:function(Ie){return Ie?Ie.format("ddd"):Fe(Ue,"weekdaysShort","weekdays",3)},longDateFormat:function(Ie){return ke(Ue.$locale(),Ie)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};de.localeData=function(){return ie.bind(this)()},x.localeData=function(){var Ue=xe();return{firstDayOfWeek:function(){return Ue.weekStart||0},weekdays:function(){return x.weekdays()},weekdaysShort:function(){return x.weekdaysShort()},weekdaysMin:function(){return x.weekdaysMin()},months:function(){return x.months()},monthsShort:function(){return x.monthsShort()},longDateFormat:function(Ie){return ke(Ue,Ie)},meridiem:Ue.meridiem,ordinal:Ue.ordinal}},x.months=function(){return Fe(xe(),"months")},x.monthsShort=function(){return Fe(xe(),"monthsShort","months",3)},x.weekdays=function(Ue){return Fe(xe(),"weekdays",null,null,Ue)},x.weekdaysShort=function(Ue){return Fe(xe(),"weekdaysShort","weekdays",3,Ue)},x.weekdaysMin=function(Ue){return Fe(xe(),"weekdaysMin","weekdays",2,Ue)}}})},23082:function(ct){(function(it,ee){ct.exports=ee()})(this,function(){"use strict";var it="week",ee="year";return function(x,de,pe){var Fe=de.prototype;Fe.week=function(xe){if(xe===void 0&&(xe=null),xe!==null)return this.add(7*(xe-this.week()),"day");var ke=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var ie=pe(this).startOf(ee).add(1,ee).date(ke),Ue=pe(this).endOf(it);if(ie.isBefore(Ue))return 1}var Ie=pe(this).startOf(ee).date(ke).startOf(it).subtract(1,"millisecond"),Te=this.diff(Ie,it,!0);return Te<0?pe(this).startOf("week").week():Math.ceil(Te)},Fe.weeks=function(xe){return xe===void 0&&(xe=null),this.week(xe)}}})},99873:function(ct){(function(it,ee){ct.exports=ee()})(this,function(){"use strict";return function(it,ee){ee.prototype.weekYear=function(){var x=this.month(),de=this.week(),pe=this.year();return de===1&&x===11?pe+1:x===0&&de>=52?pe-1:pe}}})},33088:function(ct){(function(it,ee){ct.exports=ee()})(this,function(){"use strict";return function(it,ee){ee.prototype.weekday=function(x){var de=this.$locale().weekStart||0,pe=this.$W,Fe=(pe<de?pe+7:pe)-de;return this.$utils().u(x)?Fe:this.subtract(Fe,"day").add(x,"day")}}})},72665:function(ct,it){"use strict";var ee;var x=typeof Symbol=="function"&&Symbol.for,de=x?Symbol.for("react.element"):60103,pe=x?Symbol.for("react.portal"):60106,Fe=x?Symbol.for("react.fragment"):60107,xe=x?Symbol.for("react.strict_mode"):60108,ke=x?Symbol.for("react.profiler"):60114,ie=x?Symbol.for("react.provider"):60109,Ue=x?Symbol.for("react.context"):60110,Ie=x?Symbol.for("react.async_mode"):60111,Te=x?Symbol.for("react.concurrent_mode"):60111,ze=x?Symbol.for("react.forward_ref"):60112,Be=x?Symbol.for("react.suspense"):60113,me=x?Symbol.for("react.suspense_list"):60120,oe=x?Symbol.for("react.memo"):60115,a=x?Symbol.for("react.lazy"):60116,y=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,E=x?Symbol.for("react.responder"):60118,z=x?Symbol.for("react.scope"):60119;function te(re){if(typeof re=="object"&&re!==null){var ae=re.$$typeof;switch(ae){case de:switch(re=re.type,re){case Ie:case Te:case Fe:case ke:case xe:case Be:return re;default:switch(re=re&&re.$$typeof,re){case Ue:case ze:case a:case oe:case ie:return re;default:return ae}}case pe:return ae}}}function ne(re){return te(re)===Te}ee=Ie,ee=Te,ee=Ue,ee=ie,ee=de,ee=ze,ee=Fe,ee=a,ee=oe,ee=pe,ee=ke,ee=xe,ee=Be,ee=function(re){return ne(re)||te(re)===Ie},ee=ne,ee=function(re){return te(re)===Ue},ee=function(re){return te(re)===ie},ee=function(re){return typeof re=="object"&&re!==null&&re.$$typeof===de},ee=function(re){return te(re)===ze},ee=function(re){return te(re)===Fe},ee=function(re){return te(re)===a},it.isMemo=function(re){return te(re)===oe},ee=function(re){return te(re)===pe},ee=function(re){return te(re)===ke},ee=function(re){return te(re)===xe},ee=function(re){return te(re)===Be},ee=function(re){return typeof re=="string"||typeof re=="function"||re===Fe||re===Te||re===ke||re===xe||re===Be||re===me||typeof re=="object"&&re!==null&&(re.$$typeof===a||re.$$typeof===oe||re.$$typeof===ie||re.$$typeof===Ue||re.$$typeof===ze||re.$$typeof===b||re.$$typeof===E||re.$$typeof===z||re.$$typeof===y)},ee=te},12060:function(ct,it,ee){"use strict";ct.exports=ee(72665)},56261:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return he}});var x=ee(87462),de=ee(4942),pe=ee(45987),Fe=ee(1413),xe=ee(15671),ke=ee(43144),ie=ee(97326),Ue=ee(60136),Ie=ee(51630),Te=ee(94184),ze=ee.n(Te),Be=ee(34952),me=ee(67294),oe=ee(69610),a=function(Ce){for(var be=Ce.prefixCls,ye=Ce.level,De=Ce.isStart,Oe=Ce.isEnd,$e="".concat(be,"-indent-unit"),Le=[],je=0;je<ye;je+=1){var We;Le.push(me.createElement("span",{key:je,className:ze()($e,(We={},(0,de.Z)(We,"".concat($e,"-start"),De[je]),(0,de.Z)(We,"".concat($e,"-end"),Oe[je]),We))}))}return me.createElement("span",{"aria-hidden":"true",className:"".concat(be,"-indent")},Le)},y=me.memo(a),b=ee(3596),E=ee(83898),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",ne="close",re="---",ae=function(ve){(0,Ue.Z)(be,ve);var Ce=(0,Ie.Z)(be);function be(){var ye;(0,xe.Z)(this,be);for(var De=arguments.length,Oe=new Array(De),$e=0;$e<De;$e++)Oe[$e]=arguments[$e];return ye=Ce.call.apply(Ce,[this].concat(Oe)),ye.state={dragNodeHighlight:!1},ye.selectHandle=void 0,ye.cacheIndent=void 0,ye.onSelectorClick=function(Le){var je=ye.props.context.onNodeClick;je(Le,(0,E.F)(ye.props)),ye.isSelectable()?ye.onSelect(Le):ye.onCheck(Le)},ye.onSelectorDoubleClick=function(Le){var je=ye.props.context.onNodeDoubleClick;je(Le,(0,E.F)(ye.props))},ye.onSelect=function(Le){if(!ye.isDisabled()){var je=ye.props.context.onNodeSelect;je(Le,(0,E.F)(ye.props))}},ye.onCheck=function(Le){if(!ye.isDisabled()){var je=ye.props,We=je.disableCheckbox,Ke=je.checked,qe=ye.props.context.onNodeCheck;if(!(!ye.isCheckable()||We)){var ot=!Ke;qe(Le,(0,E.F)(ye.props),ot)}}},ye.onMouseEnter=function(Le){var je=ye.props.context.onNodeMouseEnter;je(Le,(0,E.F)(ye.props))},ye.onMouseLeave=function(Le){var je=ye.props.context.onNodeMouseLeave;je(Le,(0,E.F)(ye.props))},ye.onContextMenu=function(Le){var je=ye.props.context.onNodeContextMenu;je(Le,(0,E.F)(ye.props))},ye.onDragStart=function(Le){var je=ye.props.context.onNodeDragStart;Le.stopPropagation(),ye.setState({dragNodeHighlight:!0}),je(Le,(0,ie.Z)(ye));try{Le.dataTransfer.setData("text/plain","")}catch(We){}},ye.onDragEnter=function(Le){var je=ye.props.context.onNodeDragEnter;Le.preventDefault(),Le.stopPropagation(),je(Le,(0,ie.Z)(ye))},ye.onDragOver=function(Le){var je=ye.props.context.onNodeDragOver;Le.preventDefault(),Le.stopPropagation(),je(Le,(0,ie.Z)(ye))},ye.onDragLeave=function(Le){var je=ye.props.context.onNodeDragLeave;Le.stopPropagation(),je(Le,(0,ie.Z)(ye))},ye.onDragEnd=function(Le){var je=ye.props.context.onNodeDragEnd;Le.stopPropagation(),ye.setState({dragNodeHighlight:!1}),je(Le,(0,ie.Z)(ye))},ye.onDrop=function(Le){var je=ye.props.context.onNodeDrop;Le.preventDefault(),Le.stopPropagation(),ye.setState({dragNodeHighlight:!1}),je(Le,(0,ie.Z)(ye))},ye.onExpand=function(Le){var je=ye.props,We=je.loading,Ke=je.context.onNodeExpand;We||Ke(Le,(0,E.F)(ye.props))},ye.setSelectHandle=function(Le){ye.selectHandle=Le},ye.getNodeState=function(){var Le=ye.props.expanded;return ye.isLeaf()?null:Le?te:ne},ye.hasChildren=function(){var Le=ye.props.eventKey,je=ye.props.context.keyEntities,We=(0,b.Z)(je,Le)||{},Ke=We.children;return!!(Ke||[]).length},ye.isLeaf=function(){var Le=ye.props,je=Le.isLeaf,We=Le.loaded,Ke=ye.props.context.loadData,qe=ye.hasChildren();return je===!1?!1:je||!Ke&&!qe||Ke&&We&&!qe},ye.isDisabled=function(){var Le=ye.props.disabled,je=ye.props.context.disabled;return!!(je||Le)},ye.isCheckable=function(){var Le=ye.props.checkable,je=ye.props.context.checkable;return!je||Le===!1?!1:je},ye.syncLoadData=function(Le){var je=Le.expanded,We=Le.loading,Ke=Le.loaded,qe=ye.props.context,ot=qe.loadData,dt=qe.onNodeLoad;We||ot&&je&&!ye.isLeaf()&&!ye.hasChildren()&&!Ke&&dt((0,E.F)(ye.props))},ye.isDraggable=function(){var Le=ye.props,je=Le.data,We=Le.context.draggable;return!!(We&&(!We.nodeDraggable||We.nodeDraggable(je)))},ye.renderDragHandler=function(){var Le=ye.props.context,je=Le.draggable,We=Le.prefixCls;return je!=null&&je.icon?me.createElement("span",{className:"".concat(We,"-draggable-icon")},je.icon):null},ye.renderSwitcherIconDom=function(Le){var je=ye.props.switcherIcon,We=ye.props.context.switcherIcon,Ke=je||We;return typeof Ke=="function"?Ke((0,Fe.Z)((0,Fe.Z)({},ye.props),{},{isLeaf:Le})):Ke},ye.renderSwitcher=function(){var Le=ye.props.expanded,je=ye.props.context.prefixCls;if(ye.isLeaf()){var We=ye.renderSwitcherIconDom(!0);return We!==!1?me.createElement("span",{className:ze()("".concat(je,"-switcher"),"".concat(je,"-switcher-noop"))},We):null}var Ke=ze()("".concat(je,"-switcher"),"".concat(je,"-switcher_").concat(Le?te:ne)),qe=ye.renderSwitcherIconDom(!1);return qe!==!1?me.createElement("span",{onClick:ye.onExpand,className:Ke},qe):null},ye.renderCheckbox=function(){var Le=ye.props,je=Le.checked,We=Le.halfChecked,Ke=Le.disableCheckbox,qe=ye.props.context.prefixCls,ot=ye.isDisabled(),dt=ye.isCheckable();if(!dt)return null;var $t=typeof dt!="boolean"?dt:null;return me.createElement("span",{className:ze()("".concat(qe,"-checkbox"),je&&"".concat(qe,"-checkbox-checked"),!je&&We&&"".concat(qe,"-checkbox-indeterminate"),(ot||Ke)&&"".concat(qe,"-checkbox-disabled")),onClick:ye.onCheck},$t)},ye.renderIcon=function(){var Le=ye.props.loading,je=ye.props.context.prefixCls;return me.createElement("span",{className:ze()("".concat(je,"-iconEle"),"".concat(je,"-icon__").concat(ye.getNodeState()||"docu"),Le&&"".concat(je,"-icon_loading"))})},ye.renderSelector=function(){var Le=ye.state.dragNodeHighlight,je=ye.props,We=je.title,Ke=We===void 0?re:We,qe=je.selected,ot=je.icon,dt=je.loading,$t=je.data,gn=ye.props.context,at=gn.prefixCls,ht=gn.showIcon,Bt=gn.icon,ut=gn.loadData,wt=gn.titleRender,Ht=ye.isDisabled(),Ge="".concat(at,"-node-content-wrapper"),bn;if(ht){var Dn=ot||Bt;bn=Dn?me.createElement("span",{className:ze()("".concat(at,"-iconEle"),"".concat(at,"-icon__customize"))},typeof Dn=="function"?Dn(ye.props):Dn):ye.renderIcon()}else ut&&dt&&(bn=ye.renderIcon());var Ct;typeof Ke=="function"?Ct=Ke($t):wt?Ct=wt($t):Ct=Ke;var Kt=me.createElement("span",{className:"".concat(at,"-title")},Ct);return me.createElement("span",{ref:ye.setSelectHandle,title:typeof Ke=="string"?Ke:"",className:ze()("".concat(Ge),"".concat(Ge,"-").concat(ye.getNodeState()||"normal"),!Ht&&(qe||Le)&&"".concat(at,"-node-selected")),onMouseEnter:ye.onMouseEnter,onMouseLeave:ye.onMouseLeave,onContextMenu:ye.onContextMenu,onClick:ye.onSelectorClick,onDoubleClick:ye.onSelectorDoubleClick},bn,Kt,ye.renderDropIndicator())},ye.renderDropIndicator=function(){var Le=ye.props,je=Le.disabled,We=Le.eventKey,Ke=ye.props.context,qe=Ke.draggable,ot=Ke.dropLevelOffset,dt=Ke.dropPosition,$t=Ke.prefixCls,gn=Ke.indent,at=Ke.dropIndicatorRender,ht=Ke.dragOverNodeKey,Bt=Ke.direction,ut=!!qe,wt=!je&&ut&&ht===We,Ht=gn!=null?gn:ye.cacheIndent;return ye.cacheIndent=gn,wt?at({dropPosition:dt,dropLevelOffset:ot,indent:Ht,prefixCls:$t,direction:Bt}):null},ye}return(0,ke.Z)(be,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var De=this.props.selectable,Oe=this.props.context.selectable;return typeof De=="boolean"?De:Oe}},{key:"render",value:function(){var De,Oe=this.props,$e=Oe.eventKey,Le=Oe.className,je=Oe.style,We=Oe.dragOver,Ke=Oe.dragOverGapTop,qe=Oe.dragOverGapBottom,ot=Oe.isLeaf,dt=Oe.isStart,$t=Oe.isEnd,gn=Oe.expanded,at=Oe.selected,ht=Oe.checked,Bt=Oe.halfChecked,ut=Oe.loading,wt=Oe.domRef,Ht=Oe.active,Ge=Oe.data,bn=Oe.onMouseMove,Dn=Oe.selectable,Ct=(0,pe.Z)(Oe,z),Kt=this.props.context,Ut=Kt.prefixCls,Rt=Kt.filterTreeNode,St=Kt.keyEntities,Ft=Kt.dropContainerKey,Pt=Kt.dropTargetKey,st=Kt.draggingNodeKey,Jt=this.isDisabled(),Ot=(0,Be.Z)(Ct,{aria:!0,data:!0}),xt=(0,b.Z)(St,$e)||{},mn=xt.level,en=$t[$t.length-1],Ve=this.isDraggable(),Re=!Jt&&Ve,In=st===$e,we=Dn!==void 0?{"aria-selected":!!Dn}:void 0;return me.createElement("div",(0,x.Z)({ref:wt,className:ze()(Le,"".concat(Ut,"-treenode"),(De={},(0,de.Z)(De,"".concat(Ut,"-treenode-disabled"),Jt),(0,de.Z)(De,"".concat(Ut,"-treenode-switcher-").concat(gn?"open":"close"),!ot),(0,de.Z)(De,"".concat(Ut,"-treenode-checkbox-checked"),ht),(0,de.Z)(De,"".concat(Ut,"-treenode-checkbox-indeterminate"),Bt),(0,de.Z)(De,"".concat(Ut,"-treenode-selected"),at),(0,de.Z)(De,"".concat(Ut,"-treenode-loading"),ut),(0,de.Z)(De,"".concat(Ut,"-treenode-active"),Ht),(0,de.Z)(De,"".concat(Ut,"-treenode-leaf-last"),en),(0,de.Z)(De,"".concat(Ut,"-treenode-draggable"),Ve),(0,de.Z)(De,"dragging",In),(0,de.Z)(De,"drop-target",Pt===$e),(0,de.Z)(De,"drop-container",Ft===$e),(0,de.Z)(De,"drag-over",!Jt&&We),(0,de.Z)(De,"drag-over-gap-top",!Jt&&Ke),(0,de.Z)(De,"drag-over-gap-bottom",!Jt&&qe),(0,de.Z)(De,"filter-node",Rt&&Rt((0,E.F)(this.props))),De)),style:je,draggable:Re,"aria-grabbed":In,onDragStart:Re?this.onDragStart:void 0,onDragEnter:Ve?this.onDragEnter:void 0,onDragOver:Ve?this.onDragOver:void 0,onDragLeave:Ve?this.onDragLeave:void 0,onDrop:Ve?this.onDrop:void 0,onDragEnd:Ve?this.onDragEnd:void 0,onMouseMove:bn},we,Ot),me.createElement(y,{prefixCls:Ut,level:mn,isStart:dt,isEnd:$t}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),be}(me.Component),le=function(Ce){return me.createElement(oe.k.Consumer,null,function(be){return me.createElement(ae,(0,x.Z)({},Ce,{context:be}))})};le.displayName="TreeNode",le.isTreeNode=1;var he=le},69610:function(ct,it,ee){"use strict";ee.d(it,{k:function(){return de}});var x=ee(67294),de=x.createContext(null)},29873:function(ct,it,ee){"use strict";ee.d(it,{BT:function(){return y},E6:function(){return z},L0:function(){return Te},OM:function(){return a},_5:function(){return Ie},r7:function(){return te},wA:function(){return Be},yx:function(){return ze}});var x=ee(74902),de=ee(71002),pe=ee(72978),Fe=ee(67294),xe=ee(56261),ke=ee(3596),ie=ee(83898),Ue=null;function Ie(ne,re){if(!ne)return[];var ae=ne.slice(),le=ae.indexOf(re);return le>=0&&ae.splice(le,1),ae}function Te(ne,re){var ae=(ne||[]).slice();return ae.indexOf(re)===-1&&ae.push(re),ae}function ze(ne){return ne.split("-")}function Be(ne,re){var ae=[],le=(0,ke.Z)(re,ne);function he(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ve.forEach(function(Ce){var be=Ce.key,ye=Ce.children;ae.push(be),he(ye)})}return he(le.children),ae}function me(ne){if(ne.parent){var re=ze(ne.pos);return Number(re[re.length-1])===ne.parent.children.length-1}return!1}function oe(ne){var re=ze(ne.pos);return Number(re[re.length-1])===0}function a(ne,re,ae,le,he,ve,Ce,be,ye,De){var Oe,$e=ne.clientX,Le=ne.clientY,je=ne.target.getBoundingClientRect(),We=je.top,Ke=je.height,qe=(De==="rtl"?-1:1)*(((he==null?void 0:he.x)||0)-$e),ot=(qe-12)/le,dt=(0,ke.Z)(be,ae.props.eventKey);if(Le<We+Ke/2){var $t=Ce.findIndex(function(Kt){return Kt.key===dt.key}),gn=$t<=0?0:$t-1,at=Ce[gn].key;dt=(0,ke.Z)(be,at)}var ht=dt.key,Bt=dt,ut=dt.key,wt=0,Ht=0;if(!ye.includes(ht))for(var Ge=0;Ge<ot&&me(dt);Ge+=1)dt=dt.parent,Ht+=1;var bn=re.props.data,Dn=dt.node,Ct=!0;return oe(dt)&&dt.level===0&&Le<We+Ke/2&&ve({dragNode:bn,dropNode:Dn,dropPosition:-1})&&dt.key===ae.props.eventKey?wt=-1:(Bt.children||[]).length&&ye.includes(ut)?ve({dragNode:bn,dropNode:Dn,dropPosition:0})?wt=0:Ct=!1:Ht===0?ot>-1.5?ve({dragNode:bn,dropNode:Dn,dropPosition:1})?wt=1:Ct=!1:ve({dragNode:bn,dropNode:Dn,dropPosition:0})?wt=0:ve({dragNode:bn,dropNode:Dn,dropPosition:1})?wt=1:Ct=!1:ve({dragNode:bn,dropNode:Dn,dropPosition:1})?wt=1:Ct=!1,{dropPosition:wt,dropLevelOffset:Ht,dropTargetKey:dt.key,dropTargetPos:dt.pos,dragOverNodeKey:ut,dropContainerKey:wt===0?null:((Oe=dt.parent)===null||Oe===void 0?void 0:Oe.key)||null,dropAllowed:Ct}}function y(ne,re){if(ne){var ae=re.multiple;return ae?ne.slice():ne.length?[ne[0]]:ne}}var b=function(re){return re};function E(ne,re){if(!ne)return[];var ae=re||{},le=ae.processProps,he=le===void 0?b:le,ve=Array.isArray(ne)?ne:[ne];return ve.map(function(Ce){var be=Ce.children,ye=_objectWithoutProperties(Ce,Ue),De=E(be,re);return React.createElement(TreeNode,_extends({key:ye.key},he(ye)),De)})}function z(ne){if(!ne)return null;var re;if(Array.isArray(ne))re={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,de.Z)(ne)==="object")re={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,pe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return re}function te(ne,re){var ae=new Set;function le(he){if(!ae.has(he)){var ve=(0,ke.Z)(re,he);if(ve){ae.add(he);var Ce=ve.parent,be=ve.node;be.disabled||Ce&&le(Ce.key)}}}return(ne||[]).forEach(function(he){le(he)}),(0,x.Z)(ae)}},97153:function(ct,it,ee){"use strict";ee.d(it,{S:function(){return ie}});var x=ee(72978),de=ee(3596);function pe(Ue,Ie){var Te=new Set;return Ue.forEach(function(ze){Ie.has(ze)||Te.add(ze)}),Te}function Fe(Ue){var Ie=Ue||{},Te=Ie.disabled,ze=Ie.disableCheckbox,Be=Ie.checkable;return!!(Te||ze)||Be===!1}function xe(Ue,Ie,Te,ze){for(var Be=new Set(Ue),me=new Set,oe=0;oe<=Te;oe+=1){var a=Ie.get(oe)||new Set;a.forEach(function(z){var te=z.key,ne=z.node,re=z.children,ae=re===void 0?[]:re;Be.has(te)&&!ze(ne)&&ae.filter(function(le){return!ze(le.node)}).forEach(function(le){Be.add(le.key)})})}for(var y=new Set,b=Te;b>=0;b-=1){var E=Ie.get(b)||new Set;E.forEach(function(z){var te=z.parent,ne=z.node;if(!(ze(ne)||!z.parent||y.has(z.parent.key))){if(ze(z.parent.node)){y.add(te.key);return}var re=!0,ae=!1;(te.children||[]).filter(function(le){return!ze(le.node)}).forEach(function(le){var he=le.key,ve=Be.has(he);re&&!ve&&(re=!1),!ae&&(ve||me.has(he))&&(ae=!0)}),re&&Be.add(te.key),ae&&me.add(te.key),y.add(te.key)}})}return{checkedKeys:Array.from(Be),halfCheckedKeys:Array.from(pe(me,Be))}}function ke(Ue,Ie,Te,ze,Be){for(var me=new Set(Ue),oe=new Set(Ie),a=0;a<=ze;a+=1){var y=Te.get(a)||new Set;y.forEach(function(te){var ne=te.key,re=te.node,ae=te.children,le=ae===void 0?[]:ae;!me.has(ne)&&!oe.has(ne)&&!Be(re)&&le.filter(function(he){return!Be(he.node)}).forEach(function(he){me.delete(he.key)})})}oe=new Set;for(var b=new Set,E=ze;E>=0;E-=1){var z=Te.get(E)||new Set;z.forEach(function(te){var ne=te.parent,re=te.node;if(!(Be(re)||!te.parent||b.has(te.parent.key))){if(Be(te.parent.node)){b.add(ne.key);return}var ae=!0,le=!1;(ne.children||[]).filter(function(he){return!Be(he.node)}).forEach(function(he){var ve=he.key,Ce=me.has(ve);ae&&!Ce&&(ae=!1),!le&&(Ce||oe.has(ve))&&(le=!0)}),ae||me.delete(ne.key),le&&oe.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(me),halfCheckedKeys:Array.from(pe(oe,me))}}function ie(Ue,Ie,Te,ze){var Be=[],me;ze?me=ze:me=Fe;var oe=new Set(Ue.filter(function(E){var z=!!(0,de.Z)(Te,E);return z||Be.push(E),z})),a=new Map,y=0;Object.keys(Te).forEach(function(E){var z=Te[E],te=z.level,ne=a.get(te);ne||(ne=new Set,a.set(te,ne)),ne.add(z),y=Math.max(y,te)}),(0,x.ZP)(!Be.length,"Tree missing follow keys: ".concat(Be.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return Ie===!0?b=xe(oe,a,y,me):b=ke(oe,Ie.halfCheckedKeys,a,y,me),b}},3596:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return x}});function x(de,pe){return de[pe]}},83898:function(ct,it,ee){"use strict";ee.d(it,{I8:function(){return te},F:function(){return re},zn:function(){return b},w$:function(){return a},oH:function(){return E},km:function(){return oe},H8:function(){return ne}});var x=ee(71002),de=ee(74902),pe=ee(1413),Fe=ee(45987),xe=ee(67294),ke=ee(28580);function ie(ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=[];return xe.Children.forEach(ae,function(ve){ve==null&&!le.keepEmpty||(Array.isArray(ve)?he=he.concat(ie(ve)):(0,ke.isFragment)(ve)&&ve.props?he=he.concat(ie(ve.props.children,le)):he.push(ve))}),he}function Ue(ae,le){var he=(0,pe.Z)({},ae);return Array.isArray(le)&&le.forEach(function(ve){delete he[ve]}),he}var Ie=ee(72978),Te=ee(3596),ze=["children"];function Be(ae,le){return"".concat(ae,"-").concat(le)}function me(ae){return ae&&ae.type&&ae.type.isTreeNode}function oe(ae,le){return ae!=null?ae:le}function a(ae){var le=ae||{},he=le.title,ve=le._title,Ce=le.key,be=le.children,ye=he||"title";return{title:ye,_title:ve||[ye],key:Ce||"key",children:be||"children"}}function y(ae,le){var he=new Map;function ve(Ce){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Ce||[]).forEach(function(ye){var De=ye[le.key],Oe=ye[le.children];warning(De!=null,"Tree node must have a certain key: [".concat(be).concat(De,"]"));var $e=String(De);warning(!he.has($e)||De===null||De===void 0,"Same 'key' exist in the Tree: ".concat($e)),he.set($e,!0),ve(Oe,"".concat(be).concat($e," > "))})}ve(ae)}function b(ae){function le(he){var ve=ie(he);return ve.map(function(Ce){if(!me(Ce))return(0,Ie.ZP)(!Ce,"Tree/TreeNode can only accept TreeNode as children."),null;var be=Ce.key,ye=Ce.props,De=ye.children,Oe=(0,Fe.Z)(ye,ze),$e=(0,pe.Z)({key:be},Oe),Le=le(De);return Le.length&&($e.children=Le),$e}).filter(function(Ce){return Ce})}return le(ae)}function E(ae,le,he){var ve=a(he),Ce=ve._title,be=ve.key,ye=ve.children,De=new Set(le===!0?[]:le),Oe=[];function $e(Le){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Le.map(function(We,Ke){for(var qe=Be(je?je.pos:"0",Ke),ot=oe(We[be],qe),dt,$t=0;$t<Ce.length;$t+=1){var gn=Ce[$t];if(We[gn]!==void 0){dt=We[gn];break}}var at=(0,pe.Z)((0,pe.Z)({},Ue(We,[].concat((0,de.Z)(Ce),[be,ye]))),{},{title:dt,key:ot,parent:je,pos:qe,children:null,data:We,isStart:[].concat((0,de.Z)(je?je.isStart:[]),[Ke===0]),isEnd:[].concat((0,de.Z)(je?je.isEnd:[]),[Ke===Le.length-1])});return Oe.push(at),le===!0||De.has(ot)?at.children=$e(We[ye]||[],at):at.children=[],at})}return $e(ae),Oe}function z(ae,le,he){var ve={};(0,x.Z)(he)==="object"?ve=he:ve={externalGetKey:he},ve=ve||{};var Ce=ve,be=Ce.childrenPropName,ye=Ce.externalGetKey,De=Ce.fieldNames,Oe=a(De),$e=Oe.key,Le=Oe.children,je=be||Le,We;ye?typeof ye=="string"?We=function(ot){return ot[ye]}:typeof ye=="function"&&(We=function(ot){return ye(ot)}):We=function(ot,dt){return oe(ot[$e],dt)};function Ke(qe,ot,dt,$t){var gn=qe?qe[je]:ae,at=qe?Be(dt.pos,ot):"0",ht=qe?[].concat((0,de.Z)($t),[qe]):[];if(qe){var Bt=We(qe,at),ut={node:qe,index:ot,pos:at,key:Bt,parentPos:dt.node?dt.pos:null,level:dt.level+1,nodes:ht};le(ut)}gn&&gn.forEach(function(wt,Ht){Ke(wt,Ht,{node:qe,pos:at,level:dt?dt.level+1:-1},ht)})}Ke(null)}function te(ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=le.initWrapper,ve=le.processEntity,Ce=le.onProcessFinished,be=le.externalGetKey,ye=le.childrenPropName,De=le.fieldNames,Oe=arguments.length>2?arguments[2]:void 0,$e=be||Oe,Le={},je={},We={posEntities:Le,keyEntities:je};return he&&(We=he(We)||We),z(ae,function(Ke){var qe=Ke.node,ot=Ke.index,dt=Ke.pos,$t=Ke.key,gn=Ke.parentPos,at=Ke.level,ht=Ke.nodes,Bt={node:qe,nodes:ht,index:ot,key:$t,pos:dt,level:at},ut=oe($t,dt);Le[dt]=Bt,je[ut]=Bt,Bt.parent=Le[gn],Bt.parent&&(Bt.parent.children=Bt.parent.children||[],Bt.parent.children.push(Bt)),ve&&ve(Bt,We)},{externalGetKey:$e,childrenPropName:ye,fieldNames:De}),Ce&&Ce(We),We}function ne(ae,le){var he=le.expandedKeys,ve=le.selectedKeys,Ce=le.loadedKeys,be=le.loadingKeys,ye=le.checkedKeys,De=le.halfCheckedKeys,Oe=le.dragOverNodeKey,$e=le.dropPosition,Le=le.keyEntities,je=(0,Te.Z)(Le,ae),We={eventKey:ae,expanded:he.indexOf(ae)!==-1,selected:ve.indexOf(ae)!==-1,loaded:Ce.indexOf(ae)!==-1,loading:be.indexOf(ae)!==-1,checked:ye.indexOf(ae)!==-1,halfChecked:De.indexOf(ae)!==-1,pos:String(je?je.pos:""),dragOver:Oe===ae&&$e===0,dragOverGapTop:Oe===ae&&$e===-1,dragOverGapBottom:Oe===ae&&$e===1};return We}function re(ae){var le=ae.data,he=ae.expanded,ve=ae.selected,Ce=ae.checked,be=ae.loaded,ye=ae.loading,De=ae.halfChecked,Oe=ae.dragOver,$e=ae.dragOverGapTop,Le=ae.dragOverGapBottom,je=ae.pos,We=ae.active,Ke=ae.eventKey,qe=(0,pe.Z)((0,pe.Z)({},le),{},{expanded:he,selected:ve,checked:Ce,loaded:be,loading:ye,halfChecked:De,dragOver:Oe,dragOverGapTop:$e,dragOverGapBottom:Le,pos:je,active:We,key:Ke});return"props"in qe||Object.defineProperty(qe,"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`."),ae}}),qe}},34952:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return Ue}});var x=ee(1413),de=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,pe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Fe="".concat(de," ").concat(pe).split(/[\s\n]+/),xe="aria-",ke="data-";function ie(Ie,Te){return Ie.indexOf(Te)===0}function Ue(Ie){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ze;Te===!1?ze={aria:!0,data:!0,attr:!0}:Te===!0?ze={aria:!0}:ze=(0,x.Z)({},Te);var Be={};return Object.keys(Ie).forEach(function(me){(ze.aria&&(me==="role"||ie(me,xe))||ze.data&&ie(me,ke)||ze.attr&&Fe.includes(me))&&(Be[me]=Ie[me])}),Be}},72978:function(ct,it,ee){"use strict";var x={};function de(Ue,Ie){}function pe(Ue,Ie){}function Fe(){x={}}function xe(Ue,Ie,Te){!Ie&&!x[Te]&&(Ue(!1,Te),x[Te]=!0)}function ke(Ue,Ie){xe(de,Ue,Ie)}function ie(Ue,Ie){xe(pe,Ue,Ie)}it.ZP=ke},81533:function(ct,it){"use strict";var ee;var x=typeof Symbol=="function"&&Symbol.for,de=x?Symbol.for("react.element"):60103,pe=x?Symbol.for("react.portal"):60106,Fe=x?Symbol.for("react.fragment"):60107,xe=x?Symbol.for("react.strict_mode"):60108,ke=x?Symbol.for("react.profiler"):60114,ie=x?Symbol.for("react.provider"):60109,Ue=x?Symbol.for("react.context"):60110,Ie=x?Symbol.for("react.async_mode"):60111,Te=x?Symbol.for("react.concurrent_mode"):60111,ze=x?Symbol.for("react.forward_ref"):60112,Be=x?Symbol.for("react.suspense"):60113,me=x?Symbol.for("react.suspense_list"):60120,oe=x?Symbol.for("react.memo"):60115,a=x?Symbol.for("react.lazy"):60116,y=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,E=x?Symbol.for("react.responder"):60118,z=x?Symbol.for("react.scope"):60119;function te(re){if(typeof re=="object"&&re!==null){var ae=re.$$typeof;switch(ae){case de:switch(re=re.type,re){case Ie:case Te:case Fe:case ke:case xe:case Be:return re;default:switch(re=re&&re.$$typeof,re){case Ue:case ze:case a:case oe:case ie:return re;default:return ae}}case pe:return ae}}}function ne(re){return te(re)===Te}ee=Ie,ee=Te,ee=Ue,ee=ie,ee=de,ee=ze,ee=Fe,ee=a,ee=oe,ee=pe,ee=ke,ee=xe,ee=Be,ee=function(re){return ne(re)||te(re)===Ie},ee=ne,ee=function(re){return te(re)===Ue},ee=function(re){return te(re)===ie},ee=function(re){return typeof re=="object"&&re!==null&&re.$$typeof===de},ee=function(re){return te(re)===ze},it.isFragment=function(re){return te(re)===Fe},ee=function(re){return te(re)===a},it.isMemo=function(re){return te(re)===oe},ee=function(re){return te(re)===pe},ee=function(re){return te(re)===ke},ee=function(re){return te(re)===xe},ee=function(re){return te(re)===Be},ee=function(re){return typeof re=="string"||typeof re=="function"||re===Fe||re===Te||re===ke||re===xe||re===Be||re===me||typeof re=="object"&&re!==null&&(re.$$typeof===a||re.$$typeof===oe||re.$$typeof===ie||re.$$typeof===Ue||re.$$typeof===ze||re.$$typeof===b||re.$$typeof===E||re.$$typeof===z||re.$$typeof===y)},ee=te},28580:function(ct,it,ee){"use strict";ct.exports=ee(81533)},92389:function(ct,it){"use strict";var ee={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(de){var pe=de.keyCode;if(de.altKey&&!de.ctrlKey||de.metaKey||pe>=ee.F1&&pe<=ee.F12)return!1;switch(pe){case ee.ALT:case ee.CAPS_LOCK:case ee.CONTEXT_MENU:case ee.CTRL:case ee.DOWN:case ee.END:case ee.ESC:case ee.HOME:case ee.INSERT:case ee.LEFT:case ee.MAC_FF_META:case ee.META:case ee.NUMLOCK:case ee.NUM_CENTER:case ee.PAGE_DOWN:case ee.PAGE_UP:case ee.PAUSE:case ee.PRINT_SCREEN:case ee.RIGHT:case ee.SHIFT:case ee.UP:case ee.WIN_KEY:case ee.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(de){if(de>=ee.ZERO&&de<=ee.NINE||de>=ee.NUM_ZERO&&de<=ee.NUM_MULTIPLY||de>=ee.A&&de<=ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&de===0)return!0;switch(de){case ee.SPACE:case ee.QUESTION_MARK:case ee.NUM_PLUS:case ee.NUM_MINUS:case ee.NUM_PERIOD:case ee.NUM_DIVISION:case ee.SEMICOLON:case ee.DASH:case ee.EQUALS:case ee.COMMA:case ee.PERIOD:case ee.SLASH:case ee.APOSTROPHE:case ee.SINGLE_QUOTE:case ee.OPEN_SQUARE_BRACKET:case ee.BACKSLASH:case ee.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};it.Z=ee},19575:function(ct,it,ee){var x,de;(function(pe,Fe){ct.exports=Fe(pe)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee.g!="undefined"?ee.g:this,function(pe){"use strict";pe=pe||{};var Fe=pe.Base64,xe="2.6.4",ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(Oe){for(var $e={},Le=0,je=Oe.length;Le<je;Le++)$e[Oe.charAt(Le)]=Le;return $e}(ke),Ue=String.fromCharCode,Ie=function(Oe){if(Oe.length<2){var $e=Oe.charCodeAt(0);return $e<128?Oe:$e<2048?Ue(192|$e>>>6)+Ue(128|$e&63):Ue(224|$e>>>12&15)+Ue(128|$e>>>6&63)+Ue(128|$e&63)}else{var $e=65536+(Oe.charCodeAt(0)-55296)*1024+(Oe.charCodeAt(1)-56320);return Ue(240|$e>>>18&7)+Ue(128|$e>>>12&63)+Ue(128|$e>>>6&63)+Ue(128|$e&63)}},Te=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ze=function(Oe){return Oe.replace(Te,Ie)},Be=function(Oe){var $e=[0,2,1][Oe.length%3],Le=Oe.charCodeAt(0)<<16|(Oe.length>1?Oe.charCodeAt(1):0)<<8|(Oe.length>2?Oe.charCodeAt(2):0),je=[ke.charAt(Le>>>18),ke.charAt(Le>>>12&63),$e>=2?"=":ke.charAt(Le>>>6&63),$e>=1?"=":ke.charAt(Le&63)];return je.join("")},me=pe.btoa&&typeof pe.btoa=="function"?function(Oe){return pe.btoa(Oe)}:function(Oe){if(Oe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Oe.replace(/[\s\S]{1,3}/g,Be)},oe=function(Oe){return me(ze(String(Oe)))},a=function(Oe){return Oe.replace(/[+\/]/g,function($e){return $e=="+"?"-":"_"}).replace(/=/g,"")},y=function(Oe,$e){return $e?a(oe(Oe)):oe(Oe)},b=function(Oe){return y(Oe,!0)},E;pe.Uint8Array&&(E=function(Oe,$e){for(var Le="",je=0,We=Oe.length;je<We;je+=3){var Ke=Oe[je],qe=Oe[je+1],ot=Oe[je+2],dt=Ke<<16|qe<<8|ot;Le+=ke.charAt(dt>>>18)+ke.charAt(dt>>>12&63)+(typeof qe!="undefined"?ke.charAt(dt>>>6&63):"=")+(typeof ot!="undefined"?ke.charAt(dt&63):"=")}return $e?a(Le):Le});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Oe){switch(Oe.length){case 4:var $e=(7&Oe.charCodeAt(0))<<18|(63&Oe.charCodeAt(1))<<12|(63&Oe.charCodeAt(2))<<6|63&Oe.charCodeAt(3),Le=$e-65536;return Ue((Le>>>10)+55296)+Ue((Le&1023)+56320);case 3:return Ue((15&Oe.charCodeAt(0))<<12|(63&Oe.charCodeAt(1))<<6|63&Oe.charCodeAt(2));default:return Ue((31&Oe.charCodeAt(0))<<6|63&Oe.charCodeAt(1))}},ne=function(Oe){return Oe.replace(z,te)},re=function(Oe){var $e=Oe.length,Le=$e%4,je=($e>0?ie[Oe.charAt(0)]<<18:0)|($e>1?ie[Oe.charAt(1)]<<12:0)|($e>2?ie[Oe.charAt(2)]<<6:0)|($e>3?ie[Oe.charAt(3)]:0),We=[Ue(je>>>16),Ue(je>>>8&255),Ue(je&255)];return We.length-=[0,0,2,1][Le],We.join("")},ae=pe.atob&&typeof pe.atob=="function"?function(Oe){return pe.atob(Oe)}:function(Oe){return Oe.replace(/\S{1,4}/g,re)},le=function(Oe){return ae(String(Oe).replace(/[^A-Za-z0-9\+\/]/g,""))},he=function(Oe){return ne(ae(Oe))},ve=function(Oe){return String(Oe).replace(/[-_]/g,function($e){return $e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ce=function(Oe){return he(ve(Oe))},be;pe.Uint8Array&&(be=function(Oe){return Uint8Array.from(le(ve(Oe)),function($e){return $e.charCodeAt(0)})});var ye=function(){var Oe=pe.Base64;return pe.Base64=Fe,Oe};if(pe.Base64={VERSION:xe,atob:le,btoa:me,fromBase64:Ce,toBase64:y,utob:ze,encode:y,encodeURI:b,btou:ne,decode:Ce,noConflict:ye,fromUint8Array:E,toUint8Array:be},typeof Object.defineProperty=="function"){var De=function(Oe){return{value:Oe,enumerable:!1,writable:!0,configurable:!0}};pe.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",De(function(){return Ce(this)})),Object.defineProperty(String.prototype,"toBase64",De(function(Oe){return y(this,Oe)})),Object.defineProperty(String.prototype,"toBase64URI",De(function(){return y(this,!0)}))}}return pe.Meteor&&(Base64=pe.Base64),ct.exports?ct.exports.Base64=pe.Base64:(x=[],de=function(){return pe.Base64}.apply(it,x),de!==void 0&&(ct.exports=de)),{Base64:pe.Base64}})},46762:function(ct,it){"use strict";var ee;var x=Symbol.for("react.element"),de=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),Fe=Symbol.for("react.strict_mode"),xe=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),ie=Symbol.for("react.context"),Ue=Symbol.for("react.server_context"),Ie=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),ze=Symbol.for("react.suspense_list"),Be=Symbol.for("react.memo"),me=Symbol.for("react.lazy"),oe=Symbol.for("react.offscreen"),a;a=Symbol.for("react.module.reference");function y(b){if(typeof b=="object"&&b!==null){var E=b.$$typeof;switch(E){case x:switch(b=b.type,b){case pe:case xe:case Fe:case Te:case ze:return b;default:switch(b=b&&b.$$typeof,b){case Ue:case ie:case Ie:case me:case Be:case ke:return b;default:return E}}case de:return E}}}ee=ie,ee=ke,ee=x,ee=Ie,ee=pe,ee=me,ee=Be,ee=de,ee=xe,ee=Fe,ee=Te,ee=ze,ee=function(){return!1},ee=function(){return!1},ee=function(b){return y(b)===ie},ee=function(b){return y(b)===ke},ee=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===x},ee=function(b){return y(b)===Ie},it.isFragment=function(b){return y(b)===pe},ee=function(b){return y(b)===me},ee=function(b){return y(b)===Be},ee=function(b){return y(b)===de},ee=function(b){return y(b)===xe},ee=function(b){return y(b)===Fe},ee=function(b){return y(b)===Te},ee=function(b){return y(b)===ze},ee=function(b){return typeof b=="string"||typeof b=="function"||b===pe||b===xe||b===Fe||b===Te||b===ze||b===oe||typeof b=="object"&&b!==null&&(b.$$typeof===me||b.$$typeof===Be||b.$$typeof===ke||b.$$typeof===ie||b.$$typeof===Ie||b.$$typeof===a||b.getModuleId!==void 0)},ee=y},35110:function(ct,it,ee){"use strict";ct.exports=ee(46762)},64217:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return Ue}});var x=ee(1413),de=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,pe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Fe="".concat(de," ").concat(pe).split(/[\s\n]+/),xe="aria-",ke="data-";function ie(Ie,Te){return Ie.indexOf(Te)===0}function Ue(Ie){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ze;Te===!1?ze={aria:!0,data:!0,attr:!0}:Te===!0?ze={aria:!0}:ze=(0,x.Z)({},Te);var Be={};return Object.keys(Ie).forEach(function(me){(ze.aria&&(me==="role"||ie(me,xe))||ze.data&&ie(me,ke)||ze.attr&&Fe.includes(me))&&(Be[me]=Ie[me])}),Be}},57761:function(ct,it,ee){"use strict";Object.defineProperty(it,"__esModule",{value:!0});var x=function(){function Be(me,oe){for(var a=0;a<oe.length;a++){var y=oe[a];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(me,y.key,y)}}return function(me,oe,a){return oe&&Be(me.prototype,oe),a&&Be(me,a),me}}(),de=ee(67294),pe=ke(de),Fe=ee(45697),xe=ke(Fe);function ke(Be){return Be&&Be.__esModule?Be:{default:Be}}function ie(Be,me){var oe={};for(var a in Be)me.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(Be,a)&&(oe[a]=Be[a]);return oe}function Ue(Be,me){if(!(Be instanceof me))throw new TypeError("Cannot call a class as a function")}function Ie(Be,me){if(!Be)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:Be}function Te(Be,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);Be.prototype=Object.create(me&&me.prototype,{constructor:{value:Be,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(Be,me):Be.__proto__=me)}var ze=function(Be){Te(me,Be);function me(oe){Ue(this,me);var a=Ie(this,(me.__proto__||Object.getPrototypeOf(me)).call(this,oe));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return x(me,[{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 z=document.documentElement||document.body.parentNode||document.body,te=y.pageYOffset!==void 0?y.pageYOffset:z.scrollTop;this.props.isReverse?E=te:E=this.calculateOffset(a,te)}else this.props.isReverse?E=b.scrollTop:E=a.scrollHeight-b.scrollTop-b.clientHeight;E<Number(this.props.threshold)&&a&&a.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=b.scrollHeight,this.beforeScrollTop=b.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(a,y){return a?this.calculateTopPosition(a)+(a.offsetHeight-y-window.innerHeight):0}},{key:"calculateTopPosition",value:function(a){return a?a.offsetTop+this.calculateTopPosition(a.offsetParent):0}},{key:"render",value:function(){var a=this,y=this.filterProps(this.props),b=y.children,E=y.element,z=y.hasMore,te=y.initialLoad,ne=y.isReverse,re=y.loader,ae=y.loadMore,le=y.pageStart,he=y.ref,ve=y.threshold,Ce=y.useCapture,be=y.useWindow,ye=y.getScrollParent,De=ie(y,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);De.ref=function($e){a.scrollComponent=$e,he&&he($e)};var Oe=[b];return z&&(re?ne?Oe.unshift(re):Oe.push(re):this.defaultLoader&&(ne?Oe.unshift(this.defaultLoader):Oe.push(this.defaultLoader))),pe.default.createElement(E,De,Oe)}}]),me}(de.Component);ze.propTypes={children:xe.default.node.isRequired,element:xe.default.node,hasMore:xe.default.bool,initialLoad:xe.default.bool,isReverse:xe.default.bool,loader:xe.default.node,loadMore:xe.default.func.isRequired,pageStart:xe.default.number,ref:xe.default.func,getScrollParent:xe.default.func,threshold:xe.default.number,useCapture:xe.default.bool,useWindow:xe.default.bool},ze.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},it.default=ze,ct.exports=it.default},246:function(ct,it,ee){ct.exports=ee(57761)},95742:function(ct,it,ee){"use strict";ee.d(it,{JN:function(){return Ft},Rp:function(){return te},W8:function(){return Jt}});var x=ee(87462),de=ee(97685),pe=ee(94334),Fe=ee(15671),xe=ee(43144),ke=ee(82963),ie=ee(61120),Ue=ee(60136),Ie=ee(97326),Te=ee(4942),ze=ee(67294),Be=ee(45697),me=ee.n(Be),oe=ee(73935),a=ee(41143),y=ee.n(a),b=ee(74902),E=function(){function Ot(){(0,Fe.Z)(this,Ot),(0,Te.Z)(this,"refs",{})}return(0,xe.Z)(Ot,[{key:"add",value:function(mn,en){this.refs[mn]||(this.refs[mn]=[]),this.refs[mn].push(en)}},{key:"remove",value:function(mn,en){var Ve=this.getIndex(mn,en);Ve!==-1&&this.refs[mn].splice(Ve,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var mn=this;return this.refs[this.active.collection].find(function(en){var Ve=en.node;return Ve.sortableInfo.index==mn.active.index})}},{key:"getIndex",value:function(mn,en){return this.refs[mn].indexOf(en)}},{key:"getOrderedRefs",value:function(){var mn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[mn].sort(z)}}]),Ot}();function z(Ot,xt){var mn=Ot.node.sortableInfo.index,en=xt.node.sortableInfo.index;return mn-en}function te(Ot,xt,mn){return Ot=Ot.slice(),Ot.splice(mn<0?Ot.length+mn:mn,0,Ot.splice(xt,1)[0]),Ot}function ne(Ot,xt){return Object.keys(Ot).reduce(function(mn,en){return xt.indexOf(en)===-1&&(mn[en]=Ot[en]),mn},{})}var re={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ae=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ot=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],xt=(Array.prototype.slice.call(Ot).join("").match(/-(moz|webkit|ms)-/)||Ot.OLink===""&&["","o"])[1];switch(xt){case"ms":return"ms";default:return xt&&xt.length?xt[0].toUpperCase()+xt.substr(1):""}}();function le(Ot,xt){Object.keys(xt).forEach(function(mn){Ot.style[mn]=xt[mn]})}function he(Ot,xt){Ot.style["".concat(ae,"Transform")]=xt==null?"":"translate3d(".concat(xt.x,"px,").concat(xt.y,"px,0)")}function ve(Ot,xt){Ot.style["".concat(ae,"TransitionDuration")]=xt==null?"":"".concat(xt,"ms")}function Ce(Ot,xt){for(;Ot;){if(xt(Ot))return Ot;Ot=Ot.parentNode}return null}function be(Ot,xt,mn){return Math.max(Ot,Math.min(mn,xt))}function ye(Ot){return Ot.substr(-2)==="px"?parseFloat(Ot):0}function De(Ot){var xt=window.getComputedStyle(Ot);return{bottom:ye(xt.marginBottom),left:ye(xt.marginLeft),right:ye(xt.marginRight),top:ye(xt.marginTop)}}function Oe(Ot,xt){var mn=xt.displayName||xt.name;return mn?"".concat(Ot,"(").concat(mn,")"):Ot}function $e(Ot,xt){var mn=Ot.getBoundingClientRect();return{top:mn.top+xt.top,left:mn.left+xt.left}}function Le(Ot){return Ot.touches&&Ot.touches.length?{x:Ot.touches[0].pageX,y:Ot.touches[0].pageY}:Ot.changedTouches&&Ot.changedTouches.length?{x:Ot.changedTouches[0].pageX,y:Ot.changedTouches[0].pageY}:{x:Ot.pageX,y:Ot.pageY}}function je(Ot){return Ot.touches&&Ot.touches.length||Ot.changedTouches&&Ot.changedTouches.length}function We(Ot,xt){var mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(Ot){var en={left:mn.left+Ot.offsetLeft,top:mn.top+Ot.offsetTop};return Ot.parentNode===xt?en:We(Ot.parentNode,xt,en)}}function Ke(Ot,xt,mn){return Ot<mn&&Ot>xt?Ot-1:Ot>mn&&Ot<xt?Ot+1:Ot}function qe(Ot){var xt=Ot.lockOffset,mn=Ot.width,en=Ot.height,Ve=xt,Re=xt,In="px";if(typeof xt=="string"){var we=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(xt);y()(we!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',xt),Ve=parseFloat(xt),Re=parseFloat(xt),In=we[1]}return y()(isFinite(Ve)&&isFinite(Re),"lockOffset value should be a finite. Given %s",xt),In==="%"&&(Ve=Ve*mn/100,Re=Re*en/100),{x:Ve,y:Re}}function ot(Ot){var xt=Ot.height,mn=Ot.width,en=Ot.lockOffset,Ve=Array.isArray(en)?en:[en,en];y()(Ve.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",en);var Re=(0,de.Z)(Ve,2),In=Re[0],we=Re[1];return[qe({height:xt,lockOffset:In,width:mn}),qe({height:xt,lockOffset:we,width:mn})]}function dt(Ot){var xt=window.getComputedStyle(Ot),mn=/(auto|scroll)/,en=["overflow","overflowX","overflowY"];return en.find(function(Ve){return mn.test(xt[Ve])})}function $t(Ot){return Ot instanceof HTMLElement?dt(Ot)?Ot:$t(Ot.parentNode):null}function gn(Ot){var xt=window.getComputedStyle(Ot);return xt.display==="grid"?{x:ye(xt.gridColumnGap),y:ye(xt.gridRowGap)}:{x:0,y:0}}var at={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},ht={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Bt(Ot){var xt="input, textarea, select, canvas, [contenteditable]",mn=Ot.querySelectorAll(xt),en=Ot.cloneNode(!0),Ve=(0,b.Z)(en.querySelectorAll(xt));return Ve.forEach(function(Re,In){if(Re.type!=="file"&&(Re.value=mn[In].value),Re.type==="radio"&&Re.name&&(Re.name="__sortableClone__".concat(Re.name)),Re.tagName===ht.Canvas&&mn[In].width>0&&mn[In].height>0){var we=Re.getContext("2d");we.drawImage(mn[In],0,0)}}),en}function ut(Ot){var xt,mn,en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return mn=xt=function(Ve){_inherits(Re,Ve);function Re(){return _classCallCheck(this,Re),_possibleConstructorReturn(this,_getPrototypeOf(Re).apply(this,arguments))}return _createClass(Re,[{key:"componentDidMount",value:function(){var we=findDOMNode(this);we.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return invariant(en.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 we=en.withRef?"wrappedInstance":null;return createElement(Ot,_extends({ref:we},this.props))}}]),Re}(Component),_defineProperty(xt,"displayName",Oe("sortableHandle",Ot)),mn}function wt(Ot){return Ot.sortableHandle!=null}var Ht=function(){function Ot(xt,mn){(0,Fe.Z)(this,Ot),this.container=xt,this.onScrollCallback=mn}return(0,xe.Z)(Ot,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(mn){var en=this,Ve=mn.translate,Re=mn.minTranslate,In=mn.maxTranslate,we=mn.width,He=mn.height,Wt={x:0,y:0},et={x:1,y:1},Ye={x:10,y:10},yt=this.container,vt=yt.scrollTop,kt=yt.scrollLeft,En=yt.scrollHeight,Lt=yt.scrollWidth,Mt=yt.clientHeight,pt=yt.clientWidth,an=vt===0,Gt=En-vt-Mt===0,pn=kt===0,$n=Lt-kt-pt===0;Ve.y>=In.y-He/2&&!Gt?(Wt.y=1,et.y=Ye.y*Math.abs((In.y-He/2-Ve.y)/He)):Ve.x>=In.x-we/2&&!$n?(Wt.x=1,et.x=Ye.x*Math.abs((In.x-we/2-Ve.x)/we)):Ve.y<=Re.y+He/2&&!an?(Wt.y=-1,et.y=Ye.y*Math.abs((Ve.y-He/2-Re.y)/He)):Ve.x<=Re.x+we/2&&!pn&&(Wt.x=-1,et.x=Ye.x*Math.abs((Ve.x-we/2-Re.x)/we)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Wt.x!==0||Wt.y!==0)&&(this.interval=setInterval(function(){en.isAutoScrolling=!0;var Fn={left:et.x*Wt.x,top:et.y*Wt.y};en.container.scrollTop+=Fn.top,en.container.scrollLeft+=Fn.left,en.onScrollCallback(Fn)},5))}}]),Ot}();function Ge(Ot){var xt=Ot.node;return{height:xt.offsetHeight,width:xt.offsetWidth}}function bn(Ot){var xt=[ht.Input,ht.Textarea,ht.Select,ht.Option,ht.Button];return!!(xt.indexOf(Ot.target.tagName)!==-1||Ce(Ot.target,function(mn){return mn.contentEditable==="true"}))}var Dn={axis:me().oneOf(["x","y","xy"]),contentWindow:me().any,disableAutoscroll:me().bool,distance:me().number,getContainer:me().func,getHelperDimensions:me().func,helperClass:me().string,helperContainer:me().oneOfType([me().func,typeof HTMLElement=="undefined"?me().any:me().instanceOf(HTMLElement)]),hideSortableGhost:me().bool,keyboardSortingTransitionDuration:me().number,lockAxis:me().string,lockOffset:me().oneOfType([me().number,me().string,me().arrayOf(me().oneOfType([me().number,me().string]))]),lockToContainerEdges:me().bool,onSortEnd:me().func,onSortMove:me().func,onSortOver:me().func,onSortStart:me().func,pressDelay:me().number,pressThreshold:me().number,keyCodes:me().shape({lift:me().arrayOf(me().number),drop:me().arrayOf(me().number),cancel:me().arrayOf(me().number),up:me().arrayOf(me().number),down:me().arrayOf(me().number)}),shouldCancelStart:me().func,transitionDuration:me().number,updateBeforeSortStart:me().func,useDragHandle:me().bool,useWindowAsScrollContainer:me().bool},Ct={lift:[at.SPACE],drop:[at.SPACE],cancel:[at.ESC],up:[at.UP,at.LEFT],down:[at.DOWN,at.RIGHT]},Kt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Ge,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Ct,shouldCancelStart:bn,transitionDuration:300,useWindowAsScrollContainer:!1},Ut=Object.keys(Dn);function Rt(Ot){y()(!(Ot.distance&&Ot.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 St(Ot,xt){try{var mn=Ot()}catch(en){return xt(!0,en)}return mn&&mn.then?mn.then(xt.bind(null,!1),xt.bind(null,!0)):xt(!1,value)}function Ft(Ot){var xt,mn,en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return mn=xt=function(Ve){(0,Ue.Z)(Re,Ve);function Re(In){var we;return(0,Fe.Z)(this,Re),we=(0,ke.Z)(this,(0,ie.Z)(Re).call(this,In)),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"state",{}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"handleStart",function(He){var Wt=we.props,et=Wt.distance,Ye=Wt.shouldCancelStart;if(!(He.button===2||Ye(He))){we.touched=!0,we.position=Le(He);var yt=Ce(He.target,function(pt){return pt.sortableInfo!=null});if(yt&&yt.sortableInfo&&we.nodeIsChild(yt)&&!we.state.sorting){var vt=we.props.useDragHandle,kt=yt.sortableInfo,En=kt.index,Lt=kt.collection,Mt=kt.disabled;if(Mt||vt&&!Ce(He.target,wt))return;we.manager.active={collection:Lt,index:En},!je(He)&&He.target.tagName===ht.Anchor&&He.preventDefault(),et||(we.props.pressDelay===0?we.handlePress(He):we.pressTimer=setTimeout(function(){return we.handlePress(He)},we.props.pressDelay))}}}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"nodeIsChild",function(He){return He.sortableInfo.manager===we.manager}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"handleMove",function(He){var Wt=we.props,et=Wt.distance,Ye=Wt.pressThreshold;if(!we.state.sorting&&we.touched&&!we._awaitingUpdateBeforeSortStart){var yt=Le(He),vt={x:we.position.x-yt.x,y:we.position.y-yt.y},kt=Math.abs(vt.x)+Math.abs(vt.y);we.delta=vt,!et&&(!Ye||kt>=Ye)?(clearTimeout(we.cancelTimer),we.cancelTimer=setTimeout(we.cancel,0)):et&&kt>=et&&we.manager.isActive()&&we.handlePress(He)}}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"handleEnd",function(){we.touched=!1,we.cancel()}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"cancel",function(){var He=we.props.distance,Wt=we.state.sorting;Wt||(He||clearTimeout(we.pressTimer),we.manager.active=null)}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"handlePress",function(He){try{var Wt=we.manager.getActive(),et=function(){if(Wt){var Ye=function(){var fa=Gt.sortableInfo.index,Yt=De(Gt),Qt=gn(we.container),nn=we.scrollContainer.getBoundingClientRect(),ua=kt({index:fa,node:Gt,collection:pn});if(we.node=Gt,we.margin=Yt,we.gridGap=Qt,we.width=ua.width,we.height=ua.height,we.marginOffset={x:we.margin.left+we.margin.right+we.gridGap.x,y:Math.max(we.margin.top,we.margin.bottom,we.gridGap.y)},we.boundingClientRect=Gt.getBoundingClientRect(),we.containerBoundingRect=nn,we.index=fa,we.newIndex=fa,we.axis={x:vt.indexOf("x")>=0,y:vt.indexOf("y")>=0},we.offsetEdge=We(Gt,we.container),$n?we.initialOffset=Le((0,pe.Z)({},He,{pageX:we.boundingClientRect.left,pageY:we.boundingClientRect.top})):we.initialOffset=Le(He),we.initialScroll={left:we.scrollContainer.scrollLeft,top:we.scrollContainer.scrollTop},we.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},we.helper=we.helperContainer.appendChild(Bt(Gt)),le(we.helper,{boxSizing:"border-box",height:"".concat(we.height,"px"),left:"".concat(we.boundingClientRect.left-Yt.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(we.boundingClientRect.top-Yt.top,"px"),width:"".concat(we.width,"px")}),$n&&we.helper.focus(),Lt&&(we.sortableGhost=Gt,le(Gt,{opacity:0,visibility:"hidden"})),we.minTranslate={},we.maxTranslate={},$n){var ra=an?{top:0,left:0,width:we.contentWindow.innerWidth,height:we.contentWindow.innerHeight}:we.containerBoundingRect,jn=ra.top,Na=ra.left,Ma=ra.width,vr=ra.height,zr=jn+vr,La=Na+Ma;we.axis.x&&(we.minTranslate.x=Na-we.boundingClientRect.left,we.maxTranslate.x=La-(we.boundingClientRect.left+we.width)),we.axis.y&&(we.minTranslate.y=jn-we.boundingClientRect.top,we.maxTranslate.y=zr-(we.boundingClientRect.top+we.height))}else we.axis.x&&(we.minTranslate.x=(an?0:nn.left)-we.boundingClientRect.left-we.width/2,we.maxTranslate.x=(an?we.contentWindow.innerWidth:nn.left+nn.width)-we.boundingClientRect.left-we.width/2),we.axis.y&&(we.minTranslate.y=(an?0:nn.top)-we.boundingClientRect.top-we.height/2,we.maxTranslate.y=(an?we.contentWindow.innerHeight:nn.top+nn.height)-we.boundingClientRect.top-we.height/2);En&&En.split(" ").forEach(function(Je){return we.helper.classList.add(Je)}),we.listenerNode=He.touches?Gt:we.contentWindow,$n?(we.listenerNode.addEventListener("wheel",we.handleKeyEnd,!0),we.listenerNode.addEventListener("mousedown",we.handleKeyEnd,!0),we.listenerNode.addEventListener("keydown",we.handleKeyDown)):(re.move.forEach(function(Je){return we.listenerNode.addEventListener(Je,we.handleSortMove,!1)}),re.end.forEach(function(Je){return we.listenerNode.addEventListener(Je,we.handleSortEnd,!1)})),we.setState({sorting:!0,sortingIndex:fa}),pt&&pt({node:Gt,index:fa,collection:pn,isKeySorting:$n,nodes:we.manager.getOrderedRefs(),helper:we.helper},He),$n&&we.keyMove(0)},yt=we.props,vt=yt.axis,kt=yt.getHelperDimensions,En=yt.helperClass,Lt=yt.hideSortableGhost,Mt=yt.updateBeforeSortStart,pt=yt.onSortStart,an=yt.useWindowAsScrollContainer,Gt=Wt.node,pn=Wt.collection,$n=we.manager.isKeySorting,Fn=function(){if(typeof Mt=="function"){we._awaitingUpdateBeforeSortStart=!0;var Yn=St(function(){var fa=Gt.sortableInfo.index;return Promise.resolve(Mt({collection:pn,index:fa,node:Gt,isKeySorting:$n},He)).then(function(){})},function(fa,Yt){if(we._awaitingUpdateBeforeSortStart=!1,fa)throw Yt;return Yt});if(Yn&&Yn.then)return Yn.then(function(){})}}();return Fn&&Fn.then?Fn.then(Ye):Ye(Fn)}}();return Promise.resolve(et&&et.then?et.then(function(){}):void 0)}catch(Ye){return Promise.reject(Ye)}}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"handleSortMove",function(He){var Wt=we.props.onSortMove;typeof He.preventDefault=="function"&&He.preventDefault(),we.updateHelperPosition(He),we.animateNodes(),we.autoscroll(),Wt&&Wt(He)}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"handleSortEnd",function(He){var Wt=we.props,et=Wt.hideSortableGhost,Ye=Wt.onSortEnd,yt=we.manager,vt=yt.active.collection,kt=yt.isKeySorting,En=we.manager.getOrderedRefs();we.listenerNode&&(kt?(we.listenerNode.removeEventListener("wheel",we.handleKeyEnd,!0),we.listenerNode.removeEventListener("mousedown",we.handleKeyEnd,!0),we.listenerNode.removeEventListener("keydown",we.handleKeyDown)):(re.move.forEach(function(Gt){return we.listenerNode.removeEventListener(Gt,we.handleSortMove)}),re.end.forEach(function(Gt){return we.listenerNode.removeEventListener(Gt,we.handleSortEnd)}))),we.helper.parentNode.removeChild(we.helper),et&&we.sortableGhost&&le(we.sortableGhost,{opacity:"",visibility:""});for(var Lt=0,Mt=En.length;Lt<Mt;Lt++){var pt=En[Lt],an=pt.node;pt.edgeOffset=null,pt.boundingClientRect=null,he(an,null),ve(an,null),pt.translate=null}we.autoScroller.clear(),we.manager.active=null,we.manager.isKeySorting=!1,we.setState({sorting:!1,sortingIndex:null}),typeof Ye=="function"&&Ye({collection:vt,newIndex:we.newIndex,oldIndex:we.index,isKeySorting:kt,nodes:En},He),we.touched=!1}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"autoscroll",function(){var He=we.props.disableAutoscroll,Wt=we.manager.isKeySorting;if(He){we.autoScroller.clear();return}if(Wt){var et=(0,pe.Z)({},we.translate),Ye=0,yt=0;we.axis.x&&(et.x=Math.min(we.maxTranslate.x,Math.max(we.minTranslate.x,we.translate.x)),Ye=we.translate.x-et.x),we.axis.y&&(et.y=Math.min(we.maxTranslate.y,Math.max(we.minTranslate.y,we.translate.y)),yt=we.translate.y-et.y),we.translate=et,he(we.helper,we.translate),we.scrollContainer.scrollLeft+=Ye,we.scrollContainer.scrollTop+=yt;return}we.autoScroller.update({height:we.height,maxTranslate:we.maxTranslate,minTranslate:we.minTranslate,translate:we.translate,width:we.width})}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"onAutoScroll",function(He){we.translate.x+=He.left,we.translate.y+=He.top,we.animateNodes()}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"handleKeyDown",function(He){var Wt=He.keyCode,et=we.props,Ye=et.shouldCancelStart,yt=et.keyCodes,vt=yt===void 0?{}:yt,kt=(0,pe.Z)({},Ct,vt);we.manager.active&&!we.manager.isKeySorting||!we.manager.active&&(!kt.lift.includes(Wt)||Ye(He)||!we.isValidSortingTarget(He))||(He.stopPropagation(),He.preventDefault(),kt.lift.includes(Wt)&&!we.manager.active?we.keyLift(He):kt.drop.includes(Wt)&&we.manager.active?we.keyDrop(He):kt.cancel.includes(Wt)?(we.newIndex=we.manager.active.index,we.keyDrop(He)):kt.up.includes(Wt)?we.keyMove(-1):kt.down.includes(Wt)&&we.keyMove(1))}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"keyLift",function(He){var Wt=He.target,et=Ce(Wt,function(kt){return kt.sortableInfo!=null}),Ye=et.sortableInfo,yt=Ye.index,vt=Ye.collection;we.initialFocusedNode=Wt,we.manager.isKeySorting=!0,we.manager.active={index:yt,collection:vt},we.handlePress(He)}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"keyMove",function(He){var Wt=we.manager.getOrderedRefs(),et=Wt[Wt.length-1].node.sortableInfo.index,Ye=we.newIndex+He,yt=we.newIndex;if(!(Ye<0||Ye>et)){we.prevIndex=yt,we.newIndex=Ye;var vt=Ke(we.newIndex,we.prevIndex,we.index),kt=Wt.find(function($n){var Fn=$n.node;return Fn.sortableInfo.index===vt}),En=kt.node,Lt=we.containerScrollDelta,Mt=kt.boundingClientRect||$e(En,Lt),pt=kt.translate||{x:0,y:0},an={top:Mt.top+pt.y-Lt.top,left:Mt.left+pt.x-Lt.left},Gt=yt<Ye,pn={x:Gt&&we.axis.x?En.offsetWidth-we.width:0,y:Gt&&we.axis.y?En.offsetHeight-we.height:0};we.handleSortMove({pageX:an.left+pn.x,pageY:an.top+pn.y,ignoreTransition:He===0})}}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"keyDrop",function(He){we.handleSortEnd(He),we.initialFocusedNode&&we.initialFocusedNode.focus()}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"handleKeyEnd",function(He){we.manager.active&&we.keyDrop(He)}),(0,Te.Z)((0,Ie.Z)((0,Ie.Z)(we)),"isValidSortingTarget",function(He){var Wt=we.props.useDragHandle,et=He.target,Ye=Ce(et,function(yt){return yt.sortableInfo!=null});return Ye&&Ye.sortableInfo&&!Ye.sortableInfo.disabled&&(Wt?wt(et):et.sortableInfo)}),Rt(In),we.manager=new E,we.events={end:we.handleEnd,move:we.handleMove,start:we.handleStart},we}return(0,xe.Z)(Re,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var we=this,He=this.props.useWindowAsScrollContainer,Wt=this.getContainer();Promise.resolve(Wt).then(function(et){we.container=et,we.document=we.container.ownerDocument||document;var Ye=we.props.contentWindow||we.document.defaultView||window;we.contentWindow=typeof Ye=="function"?Ye():Ye,we.scrollContainer=He?we.document.scrollingElement||we.document.documentElement:$t(we.container)||we.container,we.autoScroller=new Ht(we.scrollContainer,we.onAutoScroll),Object.keys(we.events).forEach(function(yt){return re[yt].forEach(function(vt){return we.container.addEventListener(vt,we.events[yt],!1)})}),we.container.addEventListener("keydown",we.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var we=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(He){return re[He].forEach(function(Wt){return we.container.removeEventListener(Wt,we.events[He])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(we){var He=this.props,Wt=He.lockAxis,et=He.lockOffset,Ye=He.lockToContainerEdges,yt=He.transitionDuration,vt=He.keyboardSortingTransitionDuration,kt=vt===void 0?yt:vt,En=this.manager.isKeySorting,Lt=we.ignoreTransition,Mt=Le(we),pt={x:Mt.x-this.initialOffset.x,y:Mt.y-this.initialOffset.y};if(pt.y-=window.pageYOffset-this.initialWindowScroll.top,pt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=pt,Ye){var an=ot({height:this.height,lockOffset:et,width:this.width}),Gt=(0,de.Z)(an,2),pn=Gt[0],$n=Gt[1],Fn={x:this.width/2-pn.x,y:this.height/2-pn.y},Yn={x:this.width/2-$n.x,y:this.height/2-$n.y};pt.x=be(this.minTranslate.x+Fn.x,this.maxTranslate.x-Yn.x,pt.x),pt.y=be(this.minTranslate.y+Fn.y,this.maxTranslate.y-Yn.y,pt.y)}Wt==="x"?pt.y=0:Wt==="y"&&(pt.x=0),En&&kt&&!Lt&&ve(this.helper,kt),he(this.helper,pt)}},{key:"animateNodes",value:function(){var we=this.props,He=we.transitionDuration,Wt=we.hideSortableGhost,et=we.onSortOver,Ye=this.containerScrollDelta,yt=this.windowScrollDelta,vt=this.manager.getOrderedRefs(),kt={left:this.offsetEdge.left+this.translate.x+Ye.left,top:this.offsetEdge.top+this.translate.y+Ye.top},En=this.manager.isKeySorting,Lt=this.newIndex;this.newIndex=null;for(var Mt=0,pt=vt.length;Mt<pt;Mt++){var an=vt[Mt].node,Gt=an.sortableInfo.index,pn=an.offsetWidth,$n=an.offsetHeight,Fn={height:this.height>$n?$n/2:this.height/2,width:this.width>pn?pn/2:this.width/2},Yn=En&&Gt>this.index&&Gt<=Lt,fa=En&&Gt<this.index&&Gt>=Lt,Yt={x:0,y:0},Qt=vt[Mt].edgeOffset;Qt||(Qt=We(an,this.container),vt[Mt].edgeOffset=Qt,En&&(vt[Mt].boundingClientRect=$e(an,Ye)));var nn=Mt<vt.length-1&&vt[Mt+1],ua=Mt>0&&vt[Mt-1];if(nn&&!nn.edgeOffset&&(nn.edgeOffset=We(nn.node,this.container),En&&(nn.boundingClientRect=$e(nn.node,Ye))),Gt===this.index){Wt&&(this.sortableGhost=an,le(an,{opacity:0,visibility:"hidden"}));continue}He&&ve(an,He),this.axis.x?this.axis.y?fa||Gt<this.index&&(kt.left+yt.left-Fn.width<=Qt.left&&kt.top+yt.top<=Qt.top+Fn.height||kt.top+yt.top+Fn.height<=Qt.top)?(Yt.x=this.width+this.marginOffset.x,Qt.left+Yt.x>this.containerBoundingRect.width-Fn.width&&nn&&(Yt.x=nn.edgeOffset.left-Qt.left,Yt.y=nn.edgeOffset.top-Qt.top),this.newIndex===null&&(this.newIndex=Gt)):(Yn||Gt>this.index&&(kt.left+yt.left+Fn.width>=Qt.left&&kt.top+yt.top+Fn.height>=Qt.top||kt.top+yt.top+Fn.height>=Qt.top+$n))&&(Yt.x=-(this.width+this.marginOffset.x),Qt.left+Yt.x<this.containerBoundingRect.left+Fn.width&&ua&&(Yt.x=ua.edgeOffset.left-Qt.left,Yt.y=ua.edgeOffset.top-Qt.top),this.newIndex=Gt):Yn||Gt>this.index&&kt.left+yt.left+Fn.width>=Qt.left?(Yt.x=-(this.width+this.marginOffset.x),this.newIndex=Gt):(fa||Gt<this.index&&kt.left+yt.left<=Qt.left+Fn.width)&&(Yt.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Gt)):this.axis.y&&(Yn||Gt>this.index&&kt.top+yt.top+Fn.height>=Qt.top?(Yt.y=-(this.height+this.marginOffset.y),this.newIndex=Gt):(fa||Gt<this.index&&kt.top+yt.top<=Qt.top+Fn.height)&&(Yt.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Gt))),he(an,Yt),vt[Mt].translate=Yt}this.newIndex==null&&(this.newIndex=this.index),En&&(this.newIndex=Lt);var ra=En?this.prevIndex:Lt;et&&this.newIndex!==ra&&et({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:ra,isKeySorting:En,nodes:vt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return y()(en.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var we=this.props.getContainer;return typeof we!="function"?(0,oe.findDOMNode)(this):we(en.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var we=en.withRef?"wrappedInstance":null;return(0,ze.createElement)(Ot,(0,x.Z)({ref:we},ne(this.props,Ut)))}},{key:"helperContainer",get:function(){var we=this.props.helperContainer;return typeof we=="function"?we():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var we=this.props.useWindowAsScrollContainer;return we?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),Re}(ze.Component),(0,Te.Z)(xt,"displayName",Oe("sortableList",Ot)),(0,Te.Z)(xt,"defaultProps",Kt),(0,Te.Z)(xt,"propTypes",Dn),(0,Te.Z)(xt,"childContextTypes",{manager:me().object.isRequired}),mn}var Pt={index:me().number.isRequired,collection:me().oneOfType([me().number,me().string]),disabled:me().bool},st=Object.keys(Pt);function Jt(Ot){var xt,mn,en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return mn=xt=function(Ve){(0,Ue.Z)(Re,Ve);function Re(){return(0,Fe.Z)(this,Re),(0,ke.Z)(this,(0,ie.Z)(Re).apply(this,arguments))}return(0,xe.Z)(Re,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(we){this.node&&(we.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),we.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),we.collection!==this.props.collection&&(this.unregister(we.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var we=this.props,He=we.collection,Wt=we.disabled,et=we.index,Ye=(0,oe.findDOMNode)(this);Ye.sortableInfo={collection:He,disabled:Wt,index:et,manager:this.context.manager},this.node=Ye,this.ref={node:Ye},this.context.manager.add(He,this.ref)}},{key:"unregister",value:function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(we,this.ref)}},{key:"getWrappedInstance",value:function(){return y()(en.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 we=en.withRef?"wrappedInstance":null;return(0,ze.createElement)(Ot,(0,x.Z)({ref:we},ne(this.props,st)))}}]),Re}(ze.Component),(0,Te.Z)(xt,"displayName",Oe("sortableElement",Ot)),(0,Te.Z)(xt,"contextTypes",{manager:me().object.isRequired}),(0,Te.Z)(xt,"propTypes",Pt),(0,Te.Z)(xt,"defaultProps",{collection:0}),mn}},25510:function(ct){"use strict";ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAY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7zn99cffXVRd3SYuL73/9+8/d///ebeGPnQADJInJ2Fnrzm9/c/M7v/E5nuXkXWDrAknOX67M///M/bz74wQ8mF76SE+dNsN3YnrxXUtj/+q//OhHWocIii6bjouQMWuPKRn6/973vNa94xSsmO4AsTdQ/ncMiIPNzP/dzzf/7f/8vFd1pwH3Z5Uw6hVwV6KykTmsQc8csLFqWd2r7LIqYAyWPdo7ecccdDcY0J/s7bT6UjHtRZbCz11133aKab2136QCLemrDEigMlMmNN97YfOQjH5msMJeOmrugQ0z6Q4cOJcCyF1YrylfQrhzk7oYbbhhczk455ZTm61//enPeeedNDq/zh8J5cWIenHXWWc2TTz654yVtWeUMGj/++OPNy172sqRzBFZikdS/yNUAFloHtABYrrrqqglvkCPlGPXfw71bYwCWCt63xZDlYamoKopWUgCQctttt+0JwLJoOWN1idK2z7SwA9+98IUvbH76059WcnX5ii+znOHBwsOinU2inv/38lF1Z/WoFrAwOlIC8LAEb4bldQCWCvou2pBUdHXXFV1mQ9I3sRctZwFYlhMYB2Dpe6bl6wvAMh86z9JKAJYKqi3akFR0ddcVDcDSNPPy5AVgCcCy6xRIxYACsFQQa85FA7BUEDwASwWxei4agCUAS88ila1umeUsPCzzkIAmhUNLk27VowgJzYc3AVgq6ByApYJYPRddZkPS81BbD5oKD0vflN5a3zLLWQCW4flPCwFY5kPnWVoJwFJBtQAsFcTquegyG5KehxqApW+CVtS3zHIWgKWCkdsoGoBlG8Qb+NUALBUEDsBSQayeiy6zIel5qAFY+iZoRX3LLGcBWCoYuY2iAVi2QbyBXw3AUkHgACwVxOq56DIbkp6HGoClb4JW1LfMchaApYKR2ygagGUbxBv41QAsFQQOwFJBrJ6LLrMh6XmoAVj6JmhFfcssZwFYKhi5jaIBWLZBvIFfDcBSQeAALBXE6rnoMhuSnocagKVvglbUt8xyFoClgpHbKBqAZRvEG/jVACwVBO4TsHziE59oLr744orWd1fRT33qUw0/pSdDdhmSNt684x3vaB599NFi4j3vec9rPvvZzzb8Ln2on3Z4NB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ATEAlTEhcV24yBsT0MbscAbSAw89YHt9aC+774H77JBDDw2ZgjdYfwObM3den0to1CgbiYUIT1Kf4aTPUjTidZsza7aNCX6qPuCFKWXeq6/ZSE6dDtmC2SreF4ATvHHBtTQ/cGb+VmwF6DRZWIhh8S4hv02WMcPyx0o+9eoWYPHvZ14Qk0dekbqLBZqP/ZgyZYrdcccdwWKUeg01YEGO01dZvflbC0pZl3MColP7rXIFsORSzKwAlgqaEXDLqsgrvthtkkrqqq1mPLvSSiv1r2BS6+o2YEltRyfKdRuwpLSx5wHL/Lwol112qZ155pn23f/9no0ZOzakrw8wJYCJ123U6FE2b+48W3yxxe3444+xf/rHXWxsiGWZf7AzlobZs23mK6/ajHvvs03evolNHD/Rfnveb22rrbYMW4+DFXN4rTMAACAASURBVGqRMcGFQsI3EA8Wjr4wWdwrCPYxfUBontkzTz9rl156mf3Xf33K/vbc88GSM/ktb7GJEybZE089Hd6FW2qddabZGWf8ypYKro++bcGLLDLGZs0iXgaghWtrtM187dWgvIlF6XvfPBs1t89yFLqLJYQAyZFgmNfswYcetD332sse+uv9dsghX7OtttzK1pu23vw525fuf97IEfbqrFk2iXqJlyH/zJxZ4cykMLfDP9xf7Djq6zvXmDEjbebM2TZuHGCvT6nR6b44tL48LKOw/pjZtddea8suu2z/2WM+WPXFF18Mhx/GpzV73sxdEAwWYFlllVVq5VPV7iCse7kW06EGLCkyoptlCmDJp24BLAWw5HNNB54ogKUvrqQuNX/YWcaJxrPn2LXXXWfnn3+eff3rX7fttt/e9tvv87baqqv1xUVguZvdl+skxOssvphNmjzBxuDSCAnPXrfnnn7K3jJpsr3y6hy7a8a9tunmW9gKKyxjp/7057bp299u80ZgPRltr816tS/ny2h2/mDkeD18wm6ZsG15bPg/773lllts///+b7vx8sttvfXXt403fpv956c/bRMnLWq33HyLnX7GGXb2OecEgLX/Vw+w9+32L7b88sv2Bdvi1ho9KgTPzglAaqYt9pbFwzbr2RhxQsoTdi+xM6jPwjJ6kTH24gsv2ZxwE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X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3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1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(ct,it,ee){"use strict";ct.exports=ee.p+"static/AssistantCode3.a8740efb.jpeg"},36459:function(ct,it,ee){"use strict";ee.d(it,{Z:function(){return x}});function x(de){if(de==null)throw new TypeError("Cannot destructure "+de)}}}]);
}());