You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
276 lines
1.1 MiB
276 lines
1.1 MiB
!(function(){var Hu=Object.defineProperty,ju=Object.defineProperties;var Gu=Object.getOwnPropertyDescriptors;var iu=Object.getOwnPropertySymbols;var Du=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable;var yu=Math.pow,Fu=(Et,St,te)=>St in Et?Hu(Et,St,{enumerable:!0,configurable:!0,writable:!0,value:te}):Et[St]=te,Hr=(Et,St)=>{for(var te in St||(St={}))Du.call(St,te)&&Fu(Et,te,St[te]);if(iu)for(var te of iu(St))Bu.call(St,te)&&Fu(Et,te,St[te]);return Et},li=(Et,St)=>ju(Et,Gu(St));var lu=(Et,St)=>{var te={};for(var z in Et)Du.call(Et,z)&&St.indexOf(z)<0&&(te[z]=Et[z]);if(Et!=null&&iu)for(var z of iu(Et))St.indexOf(z)<0&&Bu.call(Et,z)&&(te[z]=Et[z]);return te};var Au=(Et,St,te)=>new Promise((z,se)=>{var he=Ne=>{try{be(te.next(Ne))}catch(ie){se(ie)}},Ie=Ne=>{try{be(te.throw(Ne))}catch(ie){se(ie)}},be=Ne=>Ne.done?z(Ne.value):Promise.resolve(Ne.value).then(he,Ie);be((te=te.apply(Et,St)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3951],{27812:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},89489:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},59477:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},26227:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},67921:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},49198:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},41464:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},87169:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},52671:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},8657:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},56082:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},33853:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},12893:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},15075:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},32134:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},43531:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},38819:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ie=he,be=te(7657),Ne=function(Ze,ze){return se.createElement(be.Z,(0,z.Z)({},Ze,{ref:ze,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie},87954:function(Et,St,te){"use strict";te.d(St,{LB:function(){return Ko},g4:function(){return ut},we:function(){return dt},pE:function(){return fe},VK:function(){return vt},Cj:function(){return Ir},O1:function(){return Oa},Zj:function(){return fo},VT:function(){return y}});var z=te(59301),se=te(4676),he=te(35241);const Ie={display:"none"};function be(Ce){let{id:Te,value:Ye}=Ce;return z.createElement("div",{id:Te,style:Ie},Ye)}function Ne(Ce){let{id:Te,announcement:Ye,ariaLiveType:Ct="assertive"}=Ce;const Jt={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return z.createElement("div",{id:Te,style:Jt,role:"status","aria-live":Ct,"aria-atomic":!0},Ye)}function ie(){const[Ce,Te]=(0,z.useState)("");return{announce:(0,z.useCallback)(Ct=>{Ct!=null&&Te(Ct)},[]),announcement:Ce}}const nt=(0,z.createContext)(null);function je(Ce){const Te=(0,z.useContext)(nt);(0,z.useEffect)(()=>{if(!Te)throw new Error("useDndMonitor must be used within a children of <DndContext>");return Te(Ce)},[Ce,Te])}function Ze(){const[Ce]=(0,z.useState)(()=>new Set),Te=(0,z.useCallback)(Ct=>(Ce.add(Ct),()=>Ce.delete(Ct)),[Ce]);return[(0,z.useCallback)(Ct=>{let{type:Jt,event:Ut}=Ct;Ce.forEach(Ln=>{var fn;return(fn=Ln[Jt])==null?void 0:fn.call(Ln,Ut)})},[Ce]),Te]}const ze={draggable:`
|
|
To pick up a draggable item, press the space bar.
|
|
While dragging, use the arrow keys to move the item.
|
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
`},Me={onDragStart(Ce){let{active:Te}=Ce;return"Picked up draggable item "+Te.id+"."},onDragOver(Ce){let{active:Te,over:Ye}=Ce;return Ye?"Draggable item "+Te.id+" was moved over droppable area "+Ye.id+".":"Draggable item "+Te.id+" is no longer over a droppable area."},onDragEnd(Ce){let{active:Te,over:Ye}=Ce;return Ye?"Draggable item "+Te.id+" was dropped over droppable area "+Ye.id:"Draggable item "+Te.id+" was dropped."},onDragCancel(Ce){let{active:Te}=Ce;return"Dragging was cancelled. Draggable item "+Te.id+" was dropped."}};function ye(Ce){let{announcements:Te=Me,container:Ye,hiddenTextDescribedById:Ct,screenReaderInstructions:Jt=ze}=Ce;const{announce:Ut,announcement:Ln}=ie(),fn=(0,he.Ld)("DndLiveRegion"),[Yn,Sa]=(0,z.useState)(!1);if((0,z.useEffect)(()=>{Sa(!0)},[]),je((0,z.useMemo)(()=>({onDragStart(ca){let{active:Mr}=ca;Ut(Te.onDragStart({active:Mr}))},onDragMove(ca){let{active:Mr,over:kr}=ca;Te.onDragMove&&Ut(Te.onDragMove({active:Mr,over:kr}))},onDragOver(ca){let{active:Mr,over:kr}=ca;Ut(Te.onDragOver({active:Mr,over:kr}))},onDragEnd(ca){let{active:Mr,over:kr}=ca;Ut(Te.onDragEnd({active:Mr,over:kr}))},onDragCancel(ca){let{active:Mr,over:kr}=ca;Ut(Te.onDragCancel({active:Mr,over:kr}))}}),[Ut,Te])),!Yn)return null;const Ea=z.createElement(z.Fragment,null,z.createElement(be,{id:Ct,value:Jt.draggable}),z.createElement(Ne,{id:fn,announcement:Ln}));return Ye?(0,se.createPortal)(Ea,Ye):Ea}var re;(function(Ce){Ce.DragStart="dragStart",Ce.DragMove="dragMove",Ce.DragEnd="dragEnd",Ce.DragCancel="dragCancel",Ce.DragOver="dragOver",Ce.RegisterDroppable="registerDroppable",Ce.SetDroppableDisabled="setDroppableDisabled",Ce.UnregisterDroppable="unregisterDroppable"})(re||(re={}));function a(){}function y(Ce,Te){return(0,z.useMemo)(()=>({sensor:Ce,options:Te!=null?Te:{}}),[Ce,Te])}function b(){for(var Ce=arguments.length,Te=new Array(Ce),Ye=0;Ye<Ce;Ye++)Te[Ye]=arguments[Ye];return useMemo(()=>[...Te].filter(Ct=>Ct!=null),[...Te])}const E=Object.freeze({x:0,y:0});function x(Ce,Te){return Math.sqrt(Math.pow(Ce.x-Te.x,2)+Math.pow(Ce.y-Te.y,2))}function ee(Ce,Te){const Ye=getEventCoordinates(Ce);if(!Ye)return"0 0";const Ct={x:(Ye.x-Te.left)/Te.width*100,y:(Ye.y-Te.top)/Te.height*100};return Ct.x+"% "+Ct.y+"%"}function ne(Ce,Te){let{data:{value:Ye}}=Ce,{data:{value:Ct}}=Te;return Ye-Ct}function oe(Ce,Te){let{data:{value:Ye}}=Ce,{data:{value:Ct}}=Te;return Ct-Ye}function ae(Ce){let{left:Te,top:Ye,height:Ct,width:Jt}=Ce;return[{x:Te,y:Ye},{x:Te+Jt,y:Ye},{x:Te,y:Ye+Ct},{x:Te+Jt,y:Ye+Ct}]}function ue(Ce,Te){if(!Ce||Ce.length===0)return null;const[Ye]=Ce;return Te?Ye[Te]:Ye}function me(Ce,Te,Ye){return Te===void 0&&(Te=Ce.left),Ye===void 0&&(Ye=Ce.top),{x:Te+Ce.width*.5,y:Ye+Ce.height*.5}}const fe=Ce=>{let{collisionRect:Te,droppableRects:Ye,droppableContainers:Ct}=Ce;const Jt=me(Te,Te.left,Te.top),Ut=[];for(const Ln of Ct){const{id:fn}=Ln,Yn=Ye.get(fn);if(Yn){const Sa=x(me(Yn),Jt);Ut.push({id:fn,data:{droppableContainer:Ln,value:Sa}})}}return Ut.sort(ne)},Pe=Ce=>{let{collisionRect:Te,droppableRects:Ye,droppableContainers:Ct}=Ce;const Jt=ae(Te),Ut=[];for(const Ln of Ct){const{id:fn}=Ln,Yn=Ye.get(fn);if(Yn){const Sa=ae(Yn),Ea=Jt.reduce((Mr,kr,Zo)=>Mr+x(Sa[Zo],kr),0),ca=Number((Ea/4).toFixed(4));Ut.push({id:fn,data:{droppableContainer:Ln,value:ca}})}}return Ut.sort(ne)};function xe(Ce,Te){const Ye=Math.max(Te.top,Ce.top),Ct=Math.max(Te.left,Ce.left),Jt=Math.min(Te.left+Te.width,Ce.left+Ce.width),Ut=Math.min(Te.top+Te.height,Ce.top+Ce.height),Ln=Jt-Ct,fn=Ut-Ye;if(Ct<Jt&&Ye<Ut){const Yn=Te.width*Te.height,Sa=Ce.width*Ce.height,Ea=Ln*fn,ca=Ea/(Yn+Sa-Ea);return Number(ca.toFixed(4))}return 0}const Ee=Ce=>{let{collisionRect:Te,droppableRects:Ye,droppableContainers:Ct}=Ce;const Jt=[];for(const Ut of Ct){const{id:Ln}=Ut,fn=Ye.get(Ln);if(fn){const Yn=xe(fn,Te);Yn>0&&Jt.push({id:Ln,data:{droppableContainer:Ut,value:Yn}})}}return Jt.sort(oe)};function De(Ce,Te){const{top:Ye,left:Ct,bottom:Jt,right:Ut}=Te;return Ye<=Ce.y&&Ce.y<=Jt&&Ct<=Ce.x&&Ce.x<=Ut}const _e=Ce=>{let{droppableContainers:Te,droppableRects:Ye,pointerCoordinates:Ct}=Ce;if(!Ct)return[];const Jt=[];for(const Ut of Te){const{id:Ln}=Ut,fn=Ye.get(Ln);if(fn&&De(Ct,fn)){const Sa=ae(fn).reduce((ca,Mr)=>ca+x(Ct,Mr),0),Ea=Number((Sa/4).toFixed(4));Jt.push({id:Ln,data:{droppableContainer:Ut,value:Ea}})}}return Jt.sort(ne)};function pt(Ce,Te,Ye){return li(Hr({},Ce),{scaleX:Te&&Ye?Te.width/Ye.width:1,scaleY:Te&&Ye?Te.height/Ye.height:1})}function Be(Ce,Te){return Ce&&Te?{x:Ce.left-Te.left,y:Ce.top-Te.top}:E}function $e(Ce){return function(Ye){for(var Ct=arguments.length,Jt=new Array(Ct>1?Ct-1:0),Ut=1;Ut<Ct;Ut++)Jt[Ut-1]=arguments[Ut];return Jt.reduce((Ln,fn)=>li(Hr({},Ln),{top:Ln.top+Ce*fn.y,bottom:Ln.bottom+Ce*fn.y,left:Ln.left+Ce*fn.x,right:Ln.right+Ce*fn.x}),Hr({},Ye))}}const Ke=$e(1);function Ve(Ce){if(Ce.startsWith("matrix3d(")){const Te=Ce.slice(9,-1).split(/, /);return{x:+Te[12],y:+Te[13],scaleX:+Te[0],scaleY:+Te[5]}}else if(Ce.startsWith("matrix(")){const Te=Ce.slice(7,-1).split(/, /);return{x:+Te[4],y:+Te[5],scaleX:+Te[0],scaleY:+Te[3]}}return null}function it(Ce,Te,Ye){const Ct=Ve(Te);if(!Ct)return Ce;const{scaleX:Jt,scaleY:Ut,x:Ln,y:fn}=Ct,Yn=Ce.left-Ln-(1-Jt)*parseFloat(Ye),Sa=Ce.top-fn-(1-Ut)*parseFloat(Ye.slice(Ye.indexOf(" ")+1)),Ea=Jt?Ce.width/Jt:Ce.width,ca=Ut?Ce.height/Ut:Ce.height;return{width:Ea,height:ca,top:Sa,right:Yn+Ea,bottom:Sa+ca,left:Yn}}const rt={ignoreTransform:!1};function vt(Ce,Te){Te===void 0&&(Te=rt);let Ye=Ce.getBoundingClientRect();if(Te.ignoreTransform){const{transform:Sa,transformOrigin:Ea}=(0,he.Jj)(Ce).getComputedStyle(Ce);Sa&&(Ye=it(Ye,Sa,Ea))}const{top:Ct,left:Jt,width:Ut,height:Ln,bottom:fn,right:Yn}=Ye;return{top:Ct,left:Jt,width:Ut,height:Ln,bottom:fn,right:Yn}}function Rt(Ce){return vt(Ce,{ignoreTransform:!0})}function Yt(Ce){const Te=Ce.innerWidth,Ye=Ce.innerHeight;return{top:0,left:0,right:Te,bottom:Ye,width:Te,height:Ye}}function Je(Ce,Te){return Te===void 0&&(Te=(0,he.Jj)(Ce).getComputedStyle(Ce)),Te.position==="fixed"}function st(Ce,Te){Te===void 0&&(Te=(0,he.Jj)(Ce).getComputedStyle(Ce));const Ye=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Jt=>{const Ut=Te[Jt];return typeof Ut=="string"?Ye.test(Ut):!1})}function At(Ce,Te){const Ye=[];function Ct(Jt){if(Te!=null&&Ye.length>=Te||!Jt)return Ye;if((0,he.qk)(Jt)&&Jt.scrollingElement!=null&&!Ye.includes(Jt.scrollingElement))return Ye.push(Jt.scrollingElement),Ye;if(!(0,he.Re)(Jt)||(0,he.vZ)(Jt)||Ye.includes(Jt))return Ye;const Ut=(0,he.Jj)(Ce).getComputedStyle(Jt);return Jt!==Ce&&st(Jt,Ut)&&Ye.push(Jt),Je(Jt,Ut)?Ye:Ct(Jt.parentNode)}return Ce?Ct(Ce):Ye}function Nt(Ce){const[Te]=At(Ce,1);return Te!=null?Te:null}function Pt(Ce){return!he.Nq||!Ce?null:(0,he.FJ)(Ce)?Ce:(0,he.UG)(Ce)?(0,he.qk)(Ce)||Ce===(0,he.r3)(Ce).scrollingElement?window:(0,he.Re)(Ce)?Ce:null:null}function sn(Ce){return(0,he.FJ)(Ce)?Ce.scrollX:Ce.scrollLeft}function Fe(Ce){return(0,he.FJ)(Ce)?Ce.scrollY:Ce.scrollTop}function Qt(Ce){return{x:sn(Ce),y:Fe(Ce)}}var Gt;(function(Ce){Ce[Ce.Forward=1]="Forward",Ce[Ce.Backward=-1]="Backward"})(Gt||(Gt={}));function Hn(Ce){return!he.Nq||!Ce?!1:Ce===document.scrollingElement}function ea(Ce){const Te={x:0,y:0},Ye=Hn(Ce)?{height:window.innerHeight,width:window.innerWidth}:{height:Ce.clientHeight,width:Ce.clientWidth},Ct={x:Ce.scrollWidth-Ye.width,y:Ce.scrollHeight-Ye.height},Jt=Ce.scrollTop<=Te.y,Ut=Ce.scrollLeft<=Te.x,Ln=Ce.scrollTop>=Ct.y,fn=Ce.scrollLeft>=Ct.x;return{isTop:Jt,isLeft:Ut,isBottom:Ln,isRight:fn,maxScroll:Ct,minScroll:Te}}const Re={x:.2,y:.2};function qe(Ce,Te,Ye,Ct,Jt){let{top:Ut,left:Ln,right:fn,bottom:Yn}=Ye;Ct===void 0&&(Ct=10),Jt===void 0&&(Jt=Re);const{isTop:Sa,isBottom:Ea,isLeft:ca,isRight:Mr}=ea(Ce),kr={x:0,y:0},Zo={x:0,y:0},Ur={height:Te.height*Jt.y,width:Te.width*Jt.x};return!Sa&&Ut<=Te.top+Ur.height?(kr.y=Gt.Backward,Zo.y=Ct*Math.abs((Te.top+Ur.height-Ut)/Ur.height)):!Ea&&Yn>=Te.bottom-Ur.height&&(kr.y=Gt.Forward,Zo.y=Ct*Math.abs((Te.bottom-Ur.height-Yn)/Ur.height)),!Mr&&fn>=Te.right-Ur.width?(kr.x=Gt.Forward,Zo.x=Ct*Math.abs((Te.right-Ur.width-fn)/Ur.width)):!ca&&Ln<=Te.left+Ur.width&&(kr.x=Gt.Backward,Zo.x=Ct*Math.abs((Te.left+Ur.width-Ln)/Ur.width)),{direction:kr,speed:Zo}}function tt(Ce){if(Ce===document.scrollingElement){const{innerWidth:Ut,innerHeight:Ln}=window;return{top:0,left:0,right:Ut,bottom:Ln,width:Ut,height:Ln}}const{top:Te,left:Ye,right:Ct,bottom:Jt}=Ce.getBoundingClientRect();return{top:Te,left:Ye,right:Ct,bottom:Jt,width:Ce.clientWidth,height:Ce.clientHeight}}function Le(Ce){return Ce.reduce((Te,Ye)=>(0,he.IH)(Te,Qt(Ye)),E)}function ft(Ce){return Ce.reduce((Te,Ye)=>Te+sn(Ye),0)}function gt(Ce){return Ce.reduce((Te,Ye)=>Te+Fe(Ye),0)}function Oe(Ce,Te){if(Te===void 0&&(Te=vt),!Ce)return;const{top:Ye,left:Ct,bottom:Jt,right:Ut}=Te(Ce);Nt(Ce)&&(Jt<=0||Ut<=0||Ye>=window.innerHeight||Ct>=window.innerWidth)&&Ce.scrollIntoView({block:"center",inline:"center"})}const ve=[["x",["left","right"],ft],["y",["top","bottom"],gt]];class Ge{constructor(Te,Ye){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const Ct=At(Ye),Jt=Le(Ct);this.rect=Hr({},Te),this.width=Te.width,this.height=Te.height;for(const[Ut,Ln,fn]of ve)for(const Yn of Ln)Object.defineProperty(this,Yn,{get:()=>{const Sa=fn(Ct),Ea=Jt[Ut]-Sa;return this.rect[Yn]+Ea},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class We{constructor(Te){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Ye=>{var Ct;return(Ct=this.target)==null?void 0:Ct.removeEventListener(...Ye)})},this.target=Te}add(Te,Ye,Ct){var Jt;(Jt=this.target)==null||Jt.addEventListener(Te,Ye,Ct),this.listeners.push([Te,Ye,Ct])}}function we(Ce){const{EventTarget:Te}=(0,he.Jj)(Ce);return Ce instanceof Te?Ce:(0,he.r3)(Ce)}function mt(Ce,Te){const Ye=Math.abs(Ce.x),Ct=Math.abs(Ce.y);return typeof Te=="number"?Math.sqrt(yu(Ye,2)+yu(Ct,2))>Te:"x"in Te&&"y"in Te?Ye>Te.x&&Ct>Te.y:"x"in Te?Ye>Te.x:"y"in Te?Ct>Te.y:!1}var et;(function(Ce){Ce.Click="click",Ce.DragStart="dragstart",Ce.Keydown="keydown",Ce.ContextMenu="contextmenu",Ce.Resize="resize",Ce.SelectionChange="selectionchange",Ce.VisibilityChange="visibilitychange"})(et||(et={}));function Ht(Ce){Ce.preventDefault()}function Se(Ce){Ce.stopPropagation()}var ut;(function(Ce){Ce.Space="Space",Ce.Down="ArrowDown",Ce.Right="ArrowRight",Ce.Left="ArrowLeft",Ce.Up="ArrowUp",Ce.Esc="Escape",Ce.Enter="Enter",Ce.Tab="Tab"})(ut||(ut={}));const xt={start:[ut.Space,ut.Enter],cancel:[ut.Esc],end:[ut.Space,ut.Enter,ut.Tab]},Ae=(Ce,Te)=>{let{currentCoordinates:Ye}=Te;switch(Ce.code){case ut.Right:return li(Hr({},Ye),{x:Ye.x+25});case ut.Left:return li(Hr({},Ye),{x:Ye.x-25});case ut.Down:return li(Hr({},Ye),{y:Ye.y+25});case ut.Up:return li(Hr({},Ye),{y:Ye.y-25})}};class He{constructor(Te){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=Te;const{event:{target:Ye}}=Te;this.props=Te,this.listeners=new We((0,he.r3)(Ye)),this.windowListeners=new We((0,he.Jj)(Ye)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(et.Resize,this.handleCancel),this.windowListeners.add(et.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(et.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:Te,onStart:Ye}=this.props,Ct=Te.node.current;Ct&&Oe(Ct),Ye(E)}handleKeyDown(Te){if((0,he.vd)(Te)){const{active:Ye,context:Ct,options:Jt}=this.props,{keyboardCodes:Ut=xt,coordinateGetter:Ln=Ae,scrollBehavior:fn="smooth"}=Jt,{code:Yn}=Te;if(Ut.end.includes(Yn)){this.handleEnd(Te);return}if(Ut.cancel.includes(Yn)){this.handleCancel(Te);return}const{collisionRect:Sa}=Ct.current,Ea=Sa?{x:Sa.left,y:Sa.top}:E;this.referenceCoordinates||(this.referenceCoordinates=Ea);const ca=Ln(Te,{active:Ye,context:Ct.current,currentCoordinates:Ea});if(ca){const Mr=(0,he.$X)(ca,Ea),kr={x:0,y:0},{scrollableAncestors:Zo}=Ct.current;for(const Ur of Zo){const ho=Te.code,{isTop:ga,isRight:Jn,isLeft:Qn,isBottom:pa,maxScroll:hr,minScroll:or}=ea(Ur),Zr=tt(Ur),Tr={x:Math.min(ho===ut.Right?Zr.right-Zr.width/2:Zr.right,Math.max(ho===ut.Right?Zr.left:Zr.left+Zr.width/2,ca.x)),y:Math.min(ho===ut.Down?Zr.bottom-Zr.height/2:Zr.bottom,Math.max(ho===ut.Down?Zr.top:Zr.top+Zr.height/2,ca.y))},vo=ho===ut.Right&&!Jn||ho===ut.Left&&!Qn,Lo=ho===ut.Down&&!pa||ho===ut.Up&&!ga;if(vo&&Tr.x!==ca.x){const zo=Ur.scrollLeft+Mr.x,sr=ho===ut.Right&&zo<=hr.x||ho===ut.Left&&zo>=or.x;if(sr&&!Mr.y){Ur.scrollTo({left:zo,behavior:fn});return}sr?kr.x=Ur.scrollLeft-zo:kr.x=ho===ut.Right?Ur.scrollLeft-hr.x:Ur.scrollLeft-or.x,kr.x&&Ur.scrollBy({left:-kr.x,behavior:fn});break}else if(Lo&&Tr.y!==ca.y){const zo=Ur.scrollTop+Mr.y,sr=ho===ut.Down&&zo<=hr.y||ho===ut.Up&&zo>=or.y;if(sr&&!Mr.x){Ur.scrollTo({top:zo,behavior:fn});return}sr?kr.y=Ur.scrollTop-zo:kr.y=ho===ut.Down?Ur.scrollTop-hr.y:Ur.scrollTop-or.y,kr.y&&Ur.scrollBy({top:-kr.y,behavior:fn});break}}this.handleMove(Te,(0,he.IH)((0,he.$X)(ca,this.referenceCoordinates),kr))}}}handleMove(Te,Ye){const{onMove:Ct}=this.props;Te.preventDefault(),Ct(Ye)}handleEnd(Te){const{onEnd:Ye}=this.props;Te.preventDefault(),this.detach(),Ye()}handleCancel(Te){const{onCancel:Ye}=this.props;Te.preventDefault(),this.detach(),Ye()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}He.activators=[{eventName:"onKeyDown",handler:(Ce,Te,Ye)=>{let{keyboardCodes:Ct=xt,onActivation:Jt}=Te,{active:Ut}=Ye;const{code:Ln}=Ce.nativeEvent;if(Ct.start.includes(Ln)){const fn=Ut.activatorNode.current;return fn&&Ce.target!==fn?!1:(Ce.preventDefault(),Jt==null||Jt({event:Ce.nativeEvent}),!0)}return!1}}];function ct(Ce){return!!(Ce&&"distance"in Ce)}function wt(Ce){return!!(Ce&&"delay"in Ce)}class Zt{constructor(Te,Ye,Ct){var Jt;Ct===void 0&&(Ct=we(Te.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=Te,this.events=Ye;const{event:Ut}=Te,{target:Ln}=Ut;this.props=Te,this.events=Ye,this.document=(0,he.r3)(Ln),this.documentListeners=new We(this.document),this.listeners=new We(Ct),this.windowListeners=new We((0,he.Jj)(Ln)),this.initialCoordinates=(Jt=(0,he.DC)(Ut))!=null?Jt:E,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:Te,props:{options:{activationConstraint:Ye,bypassActivationConstraint:Ct}}}=this;if(this.listeners.add(Te.move.name,this.handleMove,{passive:!1}),this.listeners.add(Te.end.name,this.handleEnd),Te.cancel&&this.listeners.add(Te.cancel.name,this.handleCancel),this.windowListeners.add(et.Resize,this.handleCancel),this.windowListeners.add(et.DragStart,Ht),this.windowListeners.add(et.VisibilityChange,this.handleCancel),this.windowListeners.add(et.ContextMenu,Ht),this.documentListeners.add(et.Keydown,this.handleKeydown),Ye){if(Ct!=null&&Ct({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(wt(Ye)){this.timeoutId=setTimeout(this.handleStart,Ye.delay),this.handlePending(Ye);return}if(ct(Ye)){this.handlePending(Ye);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(Te,Ye){const{active:Ct,onPending:Jt}=this.props;Jt(Ct,Te,this.initialCoordinates,Ye)}handleStart(){const{initialCoordinates:Te}=this,{onStart:Ye}=this.props;Te&&(this.activated=!0,this.documentListeners.add(et.Click,Se,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(et.SelectionChange,this.removeTextSelection),Ye(Te))}handleMove(Te){var Ye;const{activated:Ct,initialCoordinates:Jt,props:Ut}=this,{onMove:Ln,options:{activationConstraint:fn}}=Ut;if(!Jt)return;const Yn=(Ye=(0,he.DC)(Te))!=null?Ye:E,Sa=(0,he.$X)(Jt,Yn);if(!Ct&&fn){if(ct(fn)){if(fn.tolerance!=null&&mt(Sa,fn.tolerance))return this.handleCancel();if(mt(Sa,fn.distance))return this.handleStart()}if(wt(fn)&&mt(Sa,fn.tolerance))return this.handleCancel();this.handlePending(fn,Sa);return}Te.cancelable&&Te.preventDefault(),Ln(Yn)}handleEnd(){const{onAbort:Te,onEnd:Ye}=this.props;this.detach(),this.activated||Te(this.props.active),Ye()}handleCancel(){const{onAbort:Te,onCancel:Ye}=this.props;this.detach(),this.activated||Te(this.props.active),Ye()}handleKeydown(Te){Te.code===ut.Esc&&this.handleCancel()}removeTextSelection(){var Te;(Te=this.document.getSelection())==null||Te.removeAllRanges()}}const gn={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class dt extends Zt{constructor(Te){const{event:Ye}=Te,Ct=(0,he.r3)(Ye.target);super(Te,gn,Ct)}}dt.activators=[{eventName:"onPointerDown",handler:(Ce,Te)=>{let{nativeEvent:Ye}=Ce,{onActivation:Ct}=Te;return!Ye.isPrimary||Ye.button!==0?!1:(Ct==null||Ct({event:Ye}),!0)}}];const Dt={move:{name:"mousemove"},end:{name:"mouseup"}};var yt;(function(Ce){Ce[Ce.RightClick=2]="RightClick"})(yt||(yt={}));class en extends Zt{constructor(Te){super(Te,Dt,(0,he.r3)(Te.event.target))}}en.activators=[{eventName:"onMouseDown",handler:(Ce,Te)=>{let{nativeEvent:Ye}=Ce,{onActivation:Ct}=Te;return Ye.button===yt.RightClick?!1:(Ct==null||Ct({event:Ye}),!0)}}];const Vt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class un extends Zt{constructor(Te){super(Te,Vt)}static setup(){return window.addEventListener(Vt.move.name,Te,{capture:!1,passive:!1}),function(){window.removeEventListener(Vt.move.name,Te)};function Te(){}}}un.activators=[{eventName:"onTouchStart",handler:(Ce,Te)=>{let{nativeEvent:Ye}=Ce,{onActivation:Ct}=Te;const{touches:Jt}=Ye;return Jt.length>1?!1:(Ct==null||Ct({event:Ye}),!0)}}];var Un;(function(Ce){Ce[Ce.Pointer=0]="Pointer",Ce[Ce.DraggableRect=1]="DraggableRect"})(Un||(Un={}));var mn;(function(Ce){Ce[Ce.TreeOrder=0]="TreeOrder",Ce[Ce.ReversedTreeOrder=1]="ReversedTreeOrder"})(mn||(mn={}));function an(Ce){let{acceleration:Te,activator:Ye=Un.Pointer,canScroll:Ct,draggingRect:Jt,enabled:Ut,interval:Ln=5,order:fn=mn.TreeOrder,pointerCoordinates:Yn,scrollableAncestors:Sa,scrollableAncestorRects:Ea,delta:ca,threshold:Mr}=Ce;const kr=_t({delta:ca,disabled:!Ut}),[Zo,Ur]=(0,he.Yz)(),ho=(0,z.useRef)({x:0,y:0}),ga=(0,z.useRef)({x:0,y:0}),Jn=(0,z.useMemo)(()=>{switch(Ye){case Un.Pointer:return Yn?{top:Yn.y,bottom:Yn.y,left:Yn.x,right:Yn.x}:null;case Un.DraggableRect:return Jt}},[Ye,Jt,Yn]),Qn=(0,z.useRef)(null),pa=(0,z.useCallback)(()=>{const or=Qn.current;if(!or)return;const Zr=ho.current.x*ga.current.x,Tr=ho.current.y*ga.current.y;or.scrollBy(Zr,Tr)},[]),hr=(0,z.useMemo)(()=>fn===mn.TreeOrder?[...Sa].reverse():Sa,[fn,Sa]);(0,z.useEffect)(()=>{if(!Ut||!Sa.length||!Jn){Ur();return}for(const or of hr){if((Ct==null?void 0:Ct(or))===!1)continue;const Zr=Sa.indexOf(or),Tr=Ea[Zr];if(!Tr)continue;const{direction:vo,speed:Lo}=qe(or,Tr,Jn,Te,Mr);for(const zo of["x","y"])kr[zo][vo[zo]]||(Lo[zo]=0,vo[zo]=0);if(Lo.x>0||Lo.y>0){Ur(),Qn.current=or,Zo(pa,Ln),ho.current=Lo,ga.current=vo;return}}ho.current={x:0,y:0},ga.current={x:0,y:0},Ur()},[Te,pa,Ct,Ur,Ut,Ln,JSON.stringify(Jn),JSON.stringify(kr),Zo,Sa,hr,Ea,JSON.stringify(Mr)])}const $n={x:{[Gt.Backward]:!1,[Gt.Forward]:!1},y:{[Gt.Backward]:!1,[Gt.Forward]:!1}};function _t(Ce){let{delta:Te,disabled:Ye}=Ce;const Ct=(0,he.D9)(Te);return(0,he.Gj)(Jt=>{if(Ye||!Ct||!Jt)return $n;const Ut={x:Math.sign(Te.x-Ct.x),y:Math.sign(Te.y-Ct.y)};return{x:{[Gt.Backward]:Jt.x[Gt.Backward]||Ut.x===-1,[Gt.Forward]:Jt.x[Gt.Forward]||Ut.x===1},y:{[Gt.Backward]:Jt.y[Gt.Backward]||Ut.y===-1,[Gt.Forward]:Jt.y[Gt.Forward]||Ut.y===1}}},[Ye,Te,Ct])}function Tt(Ce,Te){const Ye=Te!=null?Ce.get(Te):void 0,Ct=Ye?Ye.node.current:null;return(0,he.Gj)(Jt=>{var Ut;return Te==null?null:(Ut=Ct!=null?Ct:Jt)!=null?Ut:null},[Ct,Te])}function Xt(Ce,Te){return(0,z.useMemo)(()=>Ce.reduce((Ye,Ct)=>{const{sensor:Jt}=Ct,Ut=Jt.activators.map(Ln=>({eventName:Ln.eventName,handler:Te(Ln.handler,Ct)}));return[...Ye,...Ut]},[]),[Ce,Te])}var ya;(function(Ce){Ce[Ce.Always=0]="Always",Ce[Ce.BeforeDragging=1]="BeforeDragging",Ce[Ce.WhileDragging=2]="WhileDragging"})(ya||(ya={}));var ta;(function(Ce){Ce.Optimized="optimized"})(ta||(ta={}));const Mn=new Map;function Ga(Ce,Te){let{dragging:Ye,dependencies:Ct,config:Jt}=Te;const[Ut,Ln]=(0,z.useState)(null),{frequency:fn,measure:Yn,strategy:Sa}=Jt,Ea=(0,z.useRef)(Ce),ca=ho(),Mr=(0,he.Ey)(ca),kr=(0,z.useCallback)(function(ga){ga===void 0&&(ga=[]),!Mr.current&&Ln(Jn=>Jn===null?ga:Jn.concat(ga.filter(Qn=>!Jn.includes(Qn))))},[Mr]),Zo=(0,z.useRef)(null),Ur=(0,he.Gj)(ga=>{if(ca&&!Ye)return Mn;if(!ga||ga===Mn||Ea.current!==Ce||Ut!=null){const Jn=new Map;for(let Qn of Ce){if(!Qn)continue;if(Ut&&Ut.length>0&&!Ut.includes(Qn.id)&&Qn.rect.current){Jn.set(Qn.id,Qn.rect.current);continue}const pa=Qn.node.current,hr=pa?new Ge(Yn(pa),pa):null;Qn.rect.current=hr,hr&&Jn.set(Qn.id,hr)}return Jn}return ga},[Ce,Ut,Ye,ca,Yn]);return(0,z.useEffect)(()=>{Ea.current=Ce},[Ce]),(0,z.useEffect)(()=>{ca||kr()},[Ye,ca]),(0,z.useEffect)(()=>{Ut&&Ut.length>0&&Ln(null)},[JSON.stringify(Ut)]),(0,z.useEffect)(()=>{ca||typeof fn!="number"||Zo.current!==null||(Zo.current=setTimeout(()=>{kr(),Zo.current=null},fn))},[fn,ca,kr,...Ct]),{droppableRects:Ur,measureDroppableContainers:kr,measuringScheduled:Ut!=null};function ho(){switch(Sa){case ya.Always:return!1;case ya.BeforeDragging:return Ye;default:return!Ye}}}function Ba(Ce,Te){return(0,he.Gj)(Ye=>Ce?Ye||(typeof Te=="function"?Te(Ce):Ce):null,[Te,Ce])}function Nr(Ce,Te){return Ba(Ce,Te)}function Dr(Ce){let{callback:Te,disabled:Ye}=Ce;const Ct=(0,he.zX)(Te),Jt=(0,z.useMemo)(()=>{if(Ye||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Ut}=window;return new Ut(Ct)},[Ct,Ye]);return(0,z.useEffect)(()=>()=>Jt==null?void 0:Jt.disconnect(),[Jt]),Jt}function Xa(Ce){let{callback:Te,disabled:Ye}=Ce;const Ct=(0,he.zX)(Te),Jt=(0,z.useMemo)(()=>{if(Ye||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Ut}=window;return new Ut(Ct)},[Ye]);return(0,z.useEffect)(()=>()=>Jt==null?void 0:Jt.disconnect(),[Jt]),Jt}function at(Ce){return new Ge(vt(Ce),Ce)}function Mt(Ce,Te,Ye){Te===void 0&&(Te=at);const[Ct,Jt]=(0,z.useState)(null);function Ut(){Jt(Yn=>{if(!Ce)return null;if(Ce.isConnected===!1){var Sa;return(Sa=Yn!=null?Yn:Ye)!=null?Sa:null}const Ea=Te(Ce);return JSON.stringify(Yn)===JSON.stringify(Ea)?Yn:Ea})}const Ln=Dr({callback(Yn){if(Ce)for(const Sa of Yn){const{type:Ea,target:ca}=Sa;if(Ea==="childList"&&ca instanceof HTMLElement&&ca.contains(Ce)){Ut();break}}}}),fn=Xa({callback:Ut});return(0,he.LI)(()=>{Ut(),Ce?(fn==null||fn.observe(Ce),Ln==null||Ln.observe(document.body,{childList:!0,subtree:!0})):(fn==null||fn.disconnect(),Ln==null||Ln.disconnect())},[Ce]),Ct}function Ft(Ce){const Te=Ba(Ce);return Be(Ce,Te)}const kn=[];function dn(Ce){const Te=(0,z.useRef)(Ce),Ye=(0,he.Gj)(Ct=>Ce?Ct&&Ct!==kn&&Ce&&Te.current&&Ce.parentNode===Te.current.parentNode?Ct:At(Ce):kn,[Ce]);return(0,z.useEffect)(()=>{Te.current=Ce},[Ce]),Ye}function An(Ce){const[Te,Ye]=(0,z.useState)(null),Ct=(0,z.useRef)(Ce),Jt=(0,z.useCallback)(Ut=>{const Ln=Pt(Ut.target);Ln&&Ye(fn=>fn?(fn.set(Ln,Qt(Ln)),new Map(fn)):null)},[]);return(0,z.useEffect)(()=>{const Ut=Ct.current;if(Ce!==Ut){Ln(Ut);const fn=Ce.map(Yn=>{const Sa=Pt(Yn);return Sa?(Sa.addEventListener("scroll",Jt,{passive:!0}),[Sa,Qt(Sa)]):null}).filter(Yn=>Yn!=null);Ye(fn.length?new Map(fn):null),Ct.current=Ce}return()=>{Ln(Ce),Ln(Ut)};function Ln(fn){fn.forEach(Yn=>{const Sa=Pt(Yn);Sa==null||Sa.removeEventListener("scroll",Jt)})}},[Jt,Ce]),(0,z.useMemo)(()=>Ce.length?Te?Array.from(Te.values()).reduce((Ut,Ln)=>(0,he.IH)(Ut,Ln),E):Le(Ce):E,[Ce,Te])}function Xr(Ce,Te){Te===void 0&&(Te=[]);const Ye=(0,z.useRef)(null);return(0,z.useEffect)(()=>{Ye.current=null},Te),(0,z.useEffect)(()=>{const Ct=Ce!==E;Ct&&!Ye.current&&(Ye.current=Ce),!Ct&&Ye.current&&(Ye.current=null)},[Ce]),Ye.current?(0,he.$X)(Ce,Ye.current):E}function Fr(Ce){(0,z.useEffect)(()=>{if(!he.Nq)return;const Te=Ce.map(Ye=>{let{sensor:Ct}=Ye;return Ct.setup==null?void 0:Ct.setup()});return()=>{for(const Ye of Te)Ye==null||Ye()}},Ce.map(Te=>{let{sensor:Ye}=Te;return Ye}))}function Kr(Ce,Te){return(0,z.useMemo)(()=>Ce.reduce((Ye,Ct)=>{let{eventName:Jt,handler:Ut}=Ct;return Ye[Jt]=Ln=>{Ut(Ln,Te)},Ye},{}),[Ce,Te])}function ro(Ce){return(0,z.useMemo)(()=>Ce?Yt(Ce):null,[Ce])}const Ja=[];function Nn(Ce,Te){Te===void 0&&(Te=vt);const[Ye]=Ce,Ct=ro(Ye?(0,he.Jj)(Ye):null),[Jt,Ut]=(0,z.useState)(Ja);function Ln(){Ut(()=>Ce.length?Ce.map(Yn=>Hn(Yn)?Ct:new Ge(Te(Yn),Yn)):Ja)}const fn=Xa({callback:Ln});return(0,he.LI)(()=>{fn==null||fn.disconnect(),Ln(),Ce.forEach(Yn=>fn==null?void 0:fn.observe(Yn))},[Ce]),Jt}function gr(Ce){if(!Ce)return null;if(Ce.children.length>1)return Ce;const Te=Ce.children[0];return(0,he.Re)(Te)?Te:Ce}function ar(Ce){let{measure:Te}=Ce;const[Ye,Ct]=(0,z.useState)(null),Jt=(0,z.useCallback)(Sa=>{for(const{target:Ea}of Sa)if((0,he.Re)(Ea)){Ct(ca=>{const Mr=Te(Ea);return ca?li(Hr({},ca),{width:Mr.width,height:Mr.height}):Mr});break}},[Te]),Ut=Xa({callback:Jt}),Ln=(0,z.useCallback)(Sa=>{const Ea=gr(Sa);Ut==null||Ut.disconnect(),Ea&&(Ut==null||Ut.observe(Ea)),Ct(Ea?Te(Ea):null)},[Te,Ut]),[fn,Yn]=(0,he.wm)(Ln);return(0,z.useMemo)(()=>({nodeRef:fn,rect:Ye,setRef:Yn}),[Ye,fn,Yn])}const mr=[{sensor:dt,options:{}},{sensor:He,options:{}}],tr={current:{}},ht={draggable:{measure:Rt},droppable:{measure:Rt,strategy:ya.WhileDragging,frequency:ta.Optimized},dragOverlay:{measure:vt}};class qt extends Map{get(Te){var Ye;return Te!=null&&(Ye=super.get(Te))!=null?Ye:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(Te=>{let{disabled:Ye}=Te;return!Ye})}getNodeFor(Te){var Ye,Ct;return(Ye=(Ct=this.get(Te))==null?void 0:Ct.node.current)!=null?Ye:void 0}}const tn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new qt,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:ht,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},Pn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},Rn=(0,z.createContext)(Pn),cn=(0,z.createContext)(tn);function On(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new qt}}}function yn(Ce,Te){switch(Te.type){case re.DragStart:return li(Hr({},Ce),{draggable:li(Hr({},Ce.draggable),{initialCoordinates:Te.initialCoordinates,active:Te.active})});case re.DragMove:return Ce.draggable.active==null?Ce:li(Hr({},Ce),{draggable:li(Hr({},Ce.draggable),{translate:{x:Te.coordinates.x-Ce.draggable.initialCoordinates.x,y:Te.coordinates.y-Ce.draggable.initialCoordinates.y}})});case re.DragEnd:case re.DragCancel:return li(Hr({},Ce),{draggable:li(Hr({},Ce.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case re.RegisterDroppable:{const{element:Ye}=Te,{id:Ct}=Ye,Jt=new qt(Ce.droppable.containers);return Jt.set(Ct,Ye),li(Hr({},Ce),{droppable:li(Hr({},Ce.droppable),{containers:Jt})})}case re.SetDroppableDisabled:{const{id:Ye,key:Ct,disabled:Jt}=Te,Ut=Ce.droppable.containers.get(Ye);if(!Ut||Ct!==Ut.key)return Ce;const Ln=new qt(Ce.droppable.containers);return Ln.set(Ye,li(Hr({},Ut),{disabled:Jt})),li(Hr({},Ce),{droppable:li(Hr({},Ce.droppable),{containers:Ln})})}case re.UnregisterDroppable:{const{id:Ye,key:Ct}=Te,Jt=Ce.droppable.containers.get(Ye);if(!Jt||Ct!==Jt.key)return Ce;const Ut=new qt(Ce.droppable.containers);return Ut.delete(Ye),li(Hr({},Ce),{droppable:li(Hr({},Ce.droppable),{containers:Ut})})}default:return Ce}}function rr(Ce){let{disabled:Te}=Ce;const{active:Ye,activatorEvent:Ct,draggableNodes:Jt}=(0,z.useContext)(Rn),Ut=(0,he.D9)(Ct),Ln=(0,he.D9)(Ye==null?void 0:Ye.id);return(0,z.useEffect)(()=>{if(!Te&&!Ct&&Ut&&Ln!=null){if(!(0,he.vd)(Ut)||document.activeElement===Ut.target)return;const fn=Jt.get(Ln);if(!fn)return;const{activatorNode:Yn,node:Sa}=fn;if(!Yn.current&&!Sa.current)return;requestAnimationFrame(()=>{for(const Ea of[Yn.current,Sa.current]){if(!Ea)continue;const ca=(0,he.so)(Ea);if(ca){ca.focus();break}}})}},[Ct,Te,Jt,Ln,Ut]),null}function Ma(Ce,Te){let Jt=Te,{transform:Ye}=Jt,Ct=lu(Jt,["transform"]);return Ce!=null&&Ce.length?Ce.reduce((Ut,Ln)=>Ln(Hr({transform:Ut},Ct)),Ye):Ye}function ur(Ce){return(0,z.useMemo)(()=>({draggable:Hr(Hr({},ht.draggable),Ce==null?void 0:Ce.draggable),droppable:Hr(Hr({},ht.droppable),Ce==null?void 0:Ce.droppable),dragOverlay:Hr(Hr({},ht.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 Fn(Ce){let{activeNode:Te,measure:Ye,initialRect:Ct,config:Jt=!0}=Ce;const Ut=(0,z.useRef)(!1),{x:Ln,y:fn}=typeof Jt=="boolean"?{x:Jt,y:Jt}:Jt;(0,he.LI)(()=>{if(!Ln&&!fn||!Te){Ut.current=!1;return}if(Ut.current||!Ct)return;const Sa=Te==null?void 0:Te.node.current;if(!Sa||Sa.isConnected===!1)return;const Ea=Ye(Sa),ca=Be(Ea,Ct);if(Ln||(ca.x=0),fn||(ca.y=0),Ut.current=!0,Math.abs(ca.x)>0||Math.abs(ca.y)>0){const Mr=Nt(Sa);Mr&&Mr.scrollBy({top:ca.y,left:ca.x})}},[Te,Ln,fn,Ct,Ye])}const oo=(0,z.createContext)(li(Hr({},E),{scaleX:1,scaleY:1}));var to;(function(Ce){Ce[Ce.Uninitialized=0]="Uninitialized",Ce[Ce.Initializing=1]="Initializing",Ce[Ce.Initialized=2]="Initialized"})(to||(to={}));const Ko=(0,z.memo)(function(Te){var Ye,Ct,Jt,Ut;let qo=Te,{id:Ln,accessibility:fn,autoScroll:Yn=!0,children:Sa,sensors:Ea=mr,collisionDetection:ca=Ee,measuring:Mr,modifiers:kr}=qo,Zo=lu(qo,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const Ur=(0,z.useReducer)(yn,void 0,On),[ho,ga]=Ur,[Jn,Qn]=Ze(),[pa,hr]=(0,z.useState)(to.Uninitialized),or=pa===to.Initialized,{draggable:{active:Zr,nodes:Tr,translate:vo},droppable:{containers:Lo}}=ho,zo=Zr!=null?Tr.get(Zr):null,sr=(0,z.useRef)({initial:null,translated:null}),ao=(0,z.useMemo)(()=>{var Sr;return Zr!=null?{id:Zr,data:(Sr=zo==null?void 0:zo.data)!=null?Sr:tr,rect:sr}:null},[Zr,zo]),xo=(0,z.useRef)(null),[uo,_o]=(0,z.useState)(null),[oa,Ti]=(0,z.useState)(null),wo=(0,he.Ey)(Zo,Object.values(Zo)),ki=(0,he.Ld)("DndDescribedBy",Ln),rl=(0,z.useMemo)(()=>Lo.getEnabled(),[Lo]),Qi=ur(Mr),{droppableRects:Yi,measureDroppableContainers:Xi,measuringScheduled:Gi}=Ga(rl,{dragging:or,dependencies:[vo.x,vo.y],config:Qi.droppable}),Zi=Tt(Tr,Zr),ol=(0,z.useMemo)(()=>oa?(0,he.DC)(oa):null,[oa]),Wt=zr(),zt=Nr(Zi,Qi.draggable.measure);Fn({activeNode:Zr!=null?Tr.get(Zr):null,config:Wt.layoutShiftCompensation,initialRect:zt,measure:Qi.draggable.measure});const kt=Mt(Zi,Qi.draggable.measure,zt),Ca=Mt(Zi?Zi.parentElement:null),Va=(0,z.useRef)({activatorEvent:null,active:null,activeNode:Zi,collisionRect:null,collisions:null,droppableRects:Yi,draggableNodes:Tr,draggingNode:null,draggingNodeRect:null,droppableContainers:Lo,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),wa=Lo.getNodeFor((Ye=Va.current.over)==null?void 0:Ye.id),In=ar({measure:Qi.dragOverlay.measure}),Ua=(Ct=In.nodeRef.current)!=null?Ct:Zi,hn=or?(Jt=In.rect)!=null?Jt:kt:null,Za=!!(In.nodeRef.current&&In.rect),Fa=Ft(Za?null:kt),Io=ro(Ua?(0,he.Jj)(Ua):null),Ia=dn(or?wa!=null?wa:Zi:null),Yo=Nn(Ia),vi=Ma(kr,{transform:{x:vo.x-Fa.x,y:vo.y-Fa.y,scaleX:1,scaleY:1},activatorEvent:oa,active:ao,activeNodeRect:kt,containerNodeRect:Ca,draggingNodeRect:hn,over:Va.current.over,overlayNodeRect:In.rect,scrollableAncestors:Ia,scrollableAncestorRects:Yo,windowRect:Io}),Wo=ol?(0,he.IH)(ol,vo):null,br=An(Ia),xr=Xr(br),Xn=Xr(br,[kt]),no=(0,he.IH)(vi,xr),oi=hn?Ke(hn,vi):null,fa=ao&&oi?ca({active:ao,collisionRect:oi,droppableRects:Yi,droppableContainers:rl,pointerCoordinates:Wo}):null,sa=ue(fa,"id"),[eo,Bi]=(0,z.useState)(null),Tn=Za?vi:(0,he.IH)(vi,Xn),nr=pt(Tn,(Ut=eo==null?void 0:eo.rect)!=null?Ut:null,kt),ra=(0,z.useRef)(null),nn=(0,z.useCallback)((Sr,So)=>{let{sensor:Ha,options:Yr}=So;if(xo.current==null)return;const mo=Tr.get(xo.current);if(!mo)return;const Fo=Sr.nativeEvent,vn=new Ha({active:xo.current,activeNode:mo,event:Fo,options:Yr,context:Va,onAbort(Aa){if(!Tr.get(Aa))return;const{onDragAbort:Pa}=wo.current,Br={id:Aa};Pa==null||Pa(Br),Jn({type:"onDragAbort",event:Br})},onPending(Aa,zn,Pa,Br){if(!Tr.get(Aa))return;const{onDragPending:yo}=wo.current,ei={id:Aa,constraint:zn,initialCoordinates:Pa,offset:Br};yo==null||yo(ei),Jn({type:"onDragPending",event:ei})},onStart(Aa){const zn=xo.current;if(zn==null)return;const Pa=Tr.get(zn);if(!Pa)return;const{onDragStart:Br}=wo.current,Ar={activatorEvent:Fo,active:{id:zn,data:Pa.data,rect:sr}};(0,se.unstable_batchedUpdates)(()=>{Br==null||Br(Ar),hr(to.Initializing),ga({type:re.DragStart,initialCoordinates:Aa,active:zn}),Jn({type:"onDragStart",event:Ar}),_o(ra.current),Ti(Fo)})},onMove(Aa){ga({type:re.DragMove,coordinates:Aa})},onEnd:aa(re.DragEnd),onCancel:aa(re.DragCancel)});ra.current=vn;function aa(Aa){return function(){return Au(this,null,function*(){const{active:Pa,collisions:Br,over:Ar,scrollAdjustedTranslate:yo}=Va.current;let ei=null;if(Pa&&yo){const{cancelDrop:Di}=wo.current;ei={activatorEvent:Fo,active:Pa,collisions:Br,delta:yo,over:Ar},Aa===re.DragEnd&&typeof Di=="function"&&(yield Promise.resolve(Di(ei)))&&(Aa=re.DragCancel)}xo.current=null,(0,se.unstable_batchedUpdates)(()=>{ga({type:Aa}),hr(to.Uninitialized),Bi(null),_o(null),Ti(null),ra.current=null;const Di=Aa===re.DragEnd?"onDragEnd":"onDragCancel";if(ei){const zi=wo.current[Di];zi==null||zi(ei),Jn({type:Di,event:ei})}})})}}},[Tr]),Vn=(0,z.useCallback)((Sr,So)=>(Ha,Yr)=>{const mo=Ha.nativeEvent,Fo=Tr.get(Yr);if(xo.current!==null||!Fo||mo.dndKit||mo.defaultPrevented)return;const vn={active:Fo};Sr(Ha,So.options,vn)===!0&&(mo.dndKit={capturedBy:So.sensor},xo.current=Yr,nn(Ha,So))},[Tr,nn]),Cn=Xt(Ea,Vn);Fr(Ea),(0,he.LI)(()=>{kt&&pa===to.Initializing&&hr(to.Initialized)},[kt,pa]),(0,z.useEffect)(()=>{const{onDragMove:Sr}=wo.current,{active:So,activatorEvent:Ha,collisions:Yr,over:mo}=Va.current;if(!So||!Ha)return;const Fo={active:So,activatorEvent:Ha,collisions:Yr,delta:{x:no.x,y:no.y},over:mo};(0,se.unstable_batchedUpdates)(()=>{Sr==null||Sr(Fo),Jn({type:"onDragMove",event:Fo})})},[no.x,no.y]),(0,z.useEffect)(()=>{const{active:Sr,activatorEvent:So,collisions:Ha,droppableContainers:Yr,scrollAdjustedTranslate:mo}=Va.current;if(!Sr||xo.current==null||!So||!mo)return;const{onDragOver:Fo}=wo.current,vn=Yr.get(sa),aa=vn&&vn.rect.current?{id:vn.id,rect:vn.rect.current,data:vn.data,disabled:vn.disabled}:null,Aa={active:Sr,activatorEvent:So,collisions:Ha,delta:{x:mo.x,y:mo.y},over:aa};(0,se.unstable_batchedUpdates)(()=>{Bi(aa),Fo==null||Fo(Aa),Jn({type:"onDragOver",event:Aa})})},[sa]),(0,he.LI)(()=>{Va.current={activatorEvent:oa,active:ao,activeNode:Zi,collisionRect:oi,collisions:fa,droppableRects:Yi,draggableNodes:Tr,draggingNode:Ua,draggingNodeRect:hn,droppableContainers:Lo,over:eo,scrollableAncestors:Ia,scrollAdjustedTranslate:no},sr.current={initial:hn,translated:oi}},[ao,Zi,fa,oi,Tr,Ua,hn,Yi,Lo,eo,Ia,no]),an(li(Hr({},Wt),{delta:vo,draggingRect:oi,pointerCoordinates:Wo,scrollableAncestors:Ia,scrollableAncestorRects:Yo}));const $r=(0,z.useMemo)(()=>({active:ao,activeNode:Zi,activeNodeRect:kt,activatorEvent:oa,collisions:fa,containerNodeRect:Ca,dragOverlay:In,draggableNodes:Tr,droppableContainers:Lo,droppableRects:Yi,over:eo,measureDroppableContainers:Xi,scrollableAncestors:Ia,scrollableAncestorRects:Yo,measuringConfiguration:Qi,measuringScheduled:Gi,windowRect:Io}),[ao,Zi,kt,oa,fa,Ca,In,Tr,Lo,Yi,eo,Xi,Ia,Yo,Qi,Gi,Io]),vr=(0,z.useMemo)(()=>({activatorEvent:oa,activators:Cn,active:ao,activeNodeRect:kt,ariaDescribedById:{draggable:ki},dispatch:ga,draggableNodes:Tr,over:eo,measureDroppableContainers:Xi}),[oa,Cn,ao,kt,ga,ki,Tr,eo,Xi]);return z.createElement(nt.Provider,{value:Qn},z.createElement(Rn.Provider,{value:vr},z.createElement(cn.Provider,{value:$r},z.createElement(oo.Provider,{value:nr},Sa)),z.createElement(rr,{disabled:(fn==null?void 0:fn.restoreFocus)===!1})),z.createElement(ye,li(Hr({},fn),{hiddenTextDescribedById:ki})));function zr(){const Sr=(uo==null?void 0:uo.autoScrollEnabled)===!1,So=typeof Yn=="object"?Yn.enabled===!1:Yn===!1,Ha=or&&!Sr&&!So;return typeof Yn=="object"?li(Hr({},Yn),{enabled:Ha}):{enabled:Ha}}}),jn=(0,z.createContext)(null),Ra="button",Qa="Draggable";function Oa(Ce){let{id:Te,data:Ye,disabled:Ct=!1,attributes:Jt}=Ce;const Ut=(0,he.Ld)(Qa),{activators:Ln,activatorEvent:fn,active:Yn,activeNodeRect:Sa,ariaDescribedById:Ea,draggableNodes:ca,over:Mr}=(0,z.useContext)(Rn),{role:kr=Ra,roleDescription:Zo="draggable",tabIndex:Ur=0}=Jt!=null?Jt:{},ho=(Yn==null?void 0:Yn.id)===Te,ga=(0,z.useContext)(ho?oo:jn),[Jn,Qn]=(0,he.wm)(),[pa,hr]=(0,he.wm)(),or=Kr(Ln,Te),Zr=(0,he.Ey)(Ye);(0,he.LI)(()=>(ca.set(Te,{id:Te,key:Ut,node:Jn,activatorNode:pa,data:Zr}),()=>{const vo=ca.get(Te);vo&&vo.key===Ut&&ca.delete(Te)}),[ca,Te]);const Tr=(0,z.useMemo)(()=>({role:kr,tabIndex:Ur,"aria-disabled":Ct,"aria-pressed":ho&&kr===Ra?!0:void 0,"aria-roledescription":Zo,"aria-describedby":Ea.draggable}),[Ct,kr,Ur,ho,Zo,Ea.draggable]);return{active:Yn,activatorEvent:fn,activeNodeRect:Sa,attributes:Tr,isDragging:ho,listeners:Ct?void 0:or,node:Jn,over:Mr,setNodeRef:Qn,setActivatorNodeRef:hr,transform:ga}}function Ir(){return(0,z.useContext)(cn)}const Er="Droppable",Cr={timeout:25};function fo(Ce){let{data:Te,disabled:Ye=!1,id:Ct,resizeObserverConfig:Jt}=Ce;const Ut=(0,he.Ld)(Er),{active:Ln,dispatch:fn,over:Yn,measureDroppableContainers:Sa}=(0,z.useContext)(Rn),Ea=(0,z.useRef)({disabled:Ye}),ca=(0,z.useRef)(!1),Mr=(0,z.useRef)(null),kr=(0,z.useRef)(null),{disabled:Zo,updateMeasurementsFor:Ur,timeout:ho}=Hr(Hr({},Cr),Jt),ga=(0,he.Ey)(Ur!=null?Ur:Ct),Jn=(0,z.useCallback)(()=>{if(!ca.current){ca.current=!0;return}kr.current!=null&&clearTimeout(kr.current),kr.current=setTimeout(()=>{Sa(Array.isArray(ga.current)?ga.current:[ga.current]),kr.current=null},ho)},[ho]),Qn=Xa({callback:Jn,disabled:Zo||!Ln}),pa=(0,z.useCallback)((Tr,vo)=>{Qn&&(vo&&(Qn.unobserve(vo),ca.current=!1),Tr&&Qn.observe(Tr))},[Qn]),[hr,or]=(0,he.wm)(pa),Zr=(0,he.Ey)(Te);return(0,z.useEffect)(()=>{!Qn||!hr.current||(Qn.disconnect(),ca.current=!1,Qn.observe(hr.current))},[hr,Qn]),(0,z.useEffect)(()=>(fn({type:re.RegisterDroppable,element:{id:Ct,key:Ut,disabled:Ye,node:hr,rect:Mr,data:Zr}}),()=>fn({type:re.UnregisterDroppable,key:Ut,id:Ct})),[Ct]),(0,z.useEffect)(()=>{Ye!==Ea.current.disabled&&(fn({type:re.SetDroppableDisabled,id:Ct,key:Ut,disabled:Ye}),Ea.current.disabled=Ye)},[Ct,Ut,Ye,fn]),{active:Ln,rect:Mr,isOver:(Yn==null?void 0:Yn.id)===Ct,node:hr,over:Yn,setNodeRef:or}}function Ao(Ce){let{animation:Te,children:Ye}=Ce;const[Ct,Jt]=useState(null),[Ut,Ln]=useState(null),fn=usePrevious(Ye);return!Ye&&!Ct&&fn&&Jt(fn),useIsomorphicLayoutEffect(()=>{if(!Ut)return;const Yn=Ct==null?void 0:Ct.key,Sa=Ct==null?void 0:Ct.props.id;if(Yn==null||Sa==null){Jt(null);return}Promise.resolve(Te(Sa,Ut)).then(()=>{Jt(null)})},[Te,Ct,Ut]),React.createElement(React.Fragment,null,Ye,Ct?cloneElement(Ct,{ref:Ln}):null)}const wi={x:0,y:0,scaleX:1,scaleY:1};function Fi(Ce){let{children:Te}=Ce;return React.createElement(Rn.Provider,{value:Pn},React.createElement(oo.Provider,{value:wi},Te))}const hi={position:"fixed",touchAction:"none"},Ui=Ce=>isKeyboardEvent(Ce)?"transform 250ms ease":void 0,_n=null,Co={duration:250,easing:"ease",keyframes:Ce=>{let{transform:{initial:Te,final:Ye}}=Ce;return[{transform:he.ux.Transform.toString(Te)},{transform:he.ux.Transform.toString(Ye)}]},sideEffects:(Ce=>Te=>{let{active:Ye,dragOverlay:Ct}=Te;const Jt={},{styles:Ut,className:Ln}=Ce;if(Ut!=null&&Ut.active)for(const[fn,Yn]of Object.entries(Ut.active))Yn!==void 0&&(Jt[fn]=Ye.node.style.getPropertyValue(fn),Ye.node.style.setProperty(fn,Yn));if(Ut!=null&&Ut.dragOverlay)for(const[fn,Yn]of Object.entries(Ut.dragOverlay))Yn!==void 0&&Ct.node.style.setProperty(fn,Yn);return Ln!=null&&Ln.active&&Ye.node.classList.add(Ln.active),Ln!=null&&Ln.dragOverlay&&Ct.node.classList.add(Ln.dragOverlay),function(){for(const[Yn,Sa]of Object.entries(Jt))Ye.node.style.setProperty(Yn,Sa);Ln!=null&&Ln.active&&Ye.node.classList.remove(Ln.active)}})({styles:{active:{opacity:"0"}}})};function bo(Ce){let{config:Te,draggableNodes:Ye,droppableContainers:Ct,measuringConfiguration:Jt}=Ce;return useEvent((Ut,Ln)=>{if(Te===null)return;const fn=Ye.get(Ut);if(!fn)return;const Yn=fn.node.current;if(!Yn)return;const Sa=gr(Ln);if(!Sa)return;const{transform:Ea}=getWindow(Ln).getComputedStyle(Ln),ca=Ve(Ea);if(!ca)return;const Mr=typeof Te=="function"?Te:Ei(Te);return Oe(Yn,Jt.draggable.measure),Mr({active:{id:Ut,data:fn.data,node:Yn,rect:Jt.draggable.measure(Yn)},draggableNodes:Ye,dragOverlay:{node:Ln,rect:Jt.dragOverlay.measure(Sa)},droppableContainers:Ct,measuringConfiguration:Jt,transform:ca})})}function Ei(Ce){const{duration:Te,easing:Ye,sideEffects:Ct,keyframes:Jt}=Hr(Hr({},Co),Ce);return Ut=>{let Jn=Ut,{active:Ln,dragOverlay:fn,transform:Yn}=Jn,Sa=lu(Jn,["active","dragOverlay","transform"]);if(!Te)return;const Ea={x:fn.rect.left-Ln.rect.left,y:fn.rect.top-Ln.rect.top},ca={scaleX:Yn.scaleX!==1?Ln.rect.width*Yn.scaleX/fn.rect.width:1,scaleY:Yn.scaleY!==1?Ln.rect.height*Yn.scaleY/fn.rect.height:1},Mr=Hr({x:Yn.x-Ea.x,y:Yn.y-Ea.y},ca),kr=Jt(li(Hr({},Sa),{active:Ln,dragOverlay:fn,transform:{initial:Yn,final:Mr}})),[Zo]=kr,Ur=kr[kr.length-1];if(JSON.stringify(Zo)===JSON.stringify(Ur))return;const ho=Ct==null?void 0:Ct(Hr({active:Ln,dragOverlay:fn},Sa)),ga=fn.node.animate(kr,{duration:Te,easing:Ye,fill:"forwards"});return new Promise(Qn=>{ga.onfinish=()=>{ho==null||ho(),Qn()}})}}let yi=0;function $i(Ce){return useMemo(()=>{if(Ce!=null)return yi++,yi},[Ce])}const Ni=null},18257:function(Et,St,te){"use strict";te.d(St,{DL:function(){return ie}});var z=te(35241);function se(Ze){return ze=>{let{transform:Me}=ze;return li(Hr({},Me),{x:Math.ceil(Me.x/Ze)*Ze,y:Math.ceil(Me.y/Ze)*Ze})}}const he=Ze=>{let{transform:ze}=Ze;return li(Hr({},ze),{y:0})};function Ie(Ze,ze,Me){const ye=Hr({},Ze);return ze.top+Ze.y<=Me.top?ye.y=Me.top-ze.top:ze.bottom+Ze.y>=Me.top+Me.height&&(ye.y=Me.top+Me.height-ze.bottom),ze.left+Ze.x<=Me.left?ye.x=Me.left-ze.left:ze.right+Ze.x>=Me.left+Me.width&&(ye.x=Me.left+Me.width-ze.right),ye}const be=Ze=>{let{containerNodeRect:ze,draggingNodeRect:Me,transform:ye}=Ze;return!Me||!ze?ye:Ie(ye,Me,ze)},Ne=Ze=>{let{draggingNodeRect:ze,transform:Me,scrollableAncestorRects:ye}=Ze;const re=ye[0];return!ze||!re?Me:Ie(Me,ze,re)},ie=Ze=>{let{transform:ze}=Ze;return li(Hr({},ze),{x:0})},nt=Ze=>{let{transform:ze,draggingNodeRect:Me,windowRect:ye}=Ze;return!Me||!ye?ze:Ie(ze,Me,ye)},je=Ze=>{let{activatorEvent:ze,draggingNodeRect:Me,transform:ye}=Ze;if(Me&&ze){const re=getEventCoordinates(ze);if(!re)return ye;const a=re.x-Me.left,y=re.y-Me.top;return li(Hr({},ye),{x:ye.x+a-Me.width/2,y:ye.y+y-Me.height/2})}return ye}},19719:function(Et,St,te){"use strict";te.d(St,{Fo:function(){return ee},PG:function(){return ze},Rp:function(){return Ie},nB:function(){return xe},qw:function(){return y}});var z=te(59301),se=te(87954),he=te(35241);function Ie(Ke,Ve,it){const rt=Ke.slice();return rt.splice(it<0?rt.length+it:it,0,rt.splice(Ve,1)[0]),rt}function be(Ke,Ve,it){const rt=Ke.slice();return rt[Ve]=Ke[it],rt[it]=Ke[Ve],rt}function Ne(Ke,Ve){return Ke.reduce((it,rt,vt)=>{const Rt=Ve.get(rt);return Rt&&(it[vt]=Rt),it},Array(Ke.length))}function ie(Ke){return Ke!==null&&Ke>=0}function nt(Ke,Ve){if(Ke===Ve)return!0;if(Ke.length!==Ve.length)return!1;for(let it=0;it<Ke.length;it++)if(Ke[it]!==Ve[it])return!1;return!0}function je(Ke){return typeof Ke=="boolean"?{draggable:Ke,droppable:Ke}:Ke}const Ze={scaleX:1,scaleY:1},ze=Ke=>{var Ve;let{rects:it,activeNodeRect:rt,activeIndex:vt,overIndex:Rt,index:Yt}=Ke;const Je=(Ve=it[vt])!=null?Ve:rt;if(!Je)return null;const st=Me(it,Yt,vt);if(Yt===vt){const At=it[Rt];return At?Hr({x:vt<Rt?At.left+At.width-(Je.left+Je.width):At.left-Je.left,y:0},Ze):null}return Yt>vt&&Yt<=Rt?Hr({x:-Je.width-st,y:0},Ze):Yt<vt&&Yt>=Rt?Hr({x:Je.width+st,y:0},Ze):Hr({x:0,y:0},Ze)};function Me(Ke,Ve,it){const rt=Ke[Ve],vt=Ke[Ve-1],Rt=Ke[Ve+1];return!rt||!vt&&!Rt?0:it<Ve?vt?rt.left-(vt.left+vt.width):Rt.left-(rt.left+rt.width):Rt?Rt.left-(rt.left+rt.width):rt.left-(vt.left+vt.width)}const ye=Ke=>{let{rects:Ve,activeIndex:it,overIndex:rt,index:vt}=Ke;const Rt=Ie(Ve,rt,it),Yt=Ve[vt],Je=Rt[vt];return!Je||!Yt?null:{x:Je.left-Yt.left,y:Je.top-Yt.top,scaleX:Je.width/Yt.width,scaleY:Je.height/Yt.height}},re=Ke=>{let{activeIndex:Ve,index:it,rects:rt,overIndex:vt}=Ke,Rt,Yt;return it===Ve&&(Rt=rt[it],Yt=rt[vt]),it===vt&&(Rt=rt[it],Yt=rt[Ve]),!Yt||!Rt?null:{x:Yt.left-Rt.left,y:Yt.top-Rt.top,scaleX:Yt.width/Rt.width,scaleY:Yt.height/Rt.height}},a={scaleX:1,scaleY:1},y=Ke=>{var Ve;let{activeIndex:it,activeNodeRect:rt,index:vt,rects:Rt,overIndex:Yt}=Ke;const Je=(Ve=Rt[it])!=null?Ve:rt;if(!Je)return null;if(vt===it){const At=Rt[Yt];return At?Hr({x:0,y:it<Yt?At.top+At.height-(Je.top+Je.height):At.top-Je.top},a):null}const st=b(Rt,vt,it);return vt>it&&vt<=Yt?Hr({x:0,y:-Je.height-st},a):vt<it&&vt>=Yt?Hr({x:0,y:Je.height+st},a):Hr({x:0,y:0},a)};function b(Ke,Ve,it){const rt=Ke[Ve],vt=Ke[Ve-1],Rt=Ke[Ve+1];return rt?it<Ve?vt?rt.top-(vt.top+vt.height):Rt?Rt.top-(rt.top+rt.height):0:Rt?Rt.top-(rt.top+rt.height):vt?rt.top-(vt.top+vt.height):0:0}const E="Sortable",x=z.createContext({activeIndex:-1,containerId:E,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:ye,disabled:{draggable:!1,droppable:!1}});function ee(Ke){let{children:Ve,id:it,items:rt,strategy:vt=ye,disabled:Rt=!1}=Ke;const{active:Yt,dragOverlay:Je,droppableRects:st,over:At,measureDroppableContainers:Nt}=(0,se.Cj)(),Pt=(0,he.Ld)(E,it),sn=Je.rect!==null,Fe=(0,z.useMemo)(()=>rt.map(ft=>typeof ft=="object"&&"id"in ft?ft.id:ft),[rt]),Qt=Yt!=null,Gt=Yt?Fe.indexOf(Yt.id):-1,Hn=At?Fe.indexOf(At.id):-1,ea=(0,z.useRef)(Fe),Re=!nt(Fe,ea.current),qe=Hn!==-1&&Gt===-1||Re,tt=je(Rt);(0,he.LI)(()=>{Re&&Qt&&Nt(Fe)},[Re,Fe,Qt,Nt]),(0,z.useEffect)(()=>{ea.current=Fe},[Fe]);const Le=(0,z.useMemo)(()=>({activeIndex:Gt,containerId:Pt,disabled:tt,disableTransforms:qe,items:Fe,overIndex:Hn,useDragOverlay:sn,sortedRects:Ne(Fe,st),strategy:vt}),[Gt,Pt,tt.draggable,tt.droppable,qe,Fe,Hn,st,sn,vt]);return z.createElement(x.Provider,{value:Le},Ve)}const ne=Ke=>{let{id:Ve,items:it,activeIndex:rt,overIndex:vt}=Ke;return Ie(it,rt,vt).indexOf(Ve)},oe=Ke=>{let{containerId:Ve,isSorting:it,wasDragging:rt,index:vt,items:Rt,newIndex:Yt,previousItems:Je,previousContainerId:st,transition:At}=Ke;return!At||!rt||Je!==Rt&&vt===Yt?!1:it?!0:Yt!==vt&&Ve===st},ae={duration:200,easing:"ease"},ue="transform",me=he.ux.Transition.toString({property:ue,duration:0,easing:"linear"}),fe={roleDescription:"sortable"};function Pe(Ke){let{disabled:Ve,index:it,node:rt,rect:vt}=Ke;const[Rt,Yt]=(0,z.useState)(null),Je=(0,z.useRef)(it);return(0,he.LI)(()=>{if(!Ve&&it!==Je.current&&rt.current){const st=vt.current;if(st){const At=(0,se.VK)(rt.current,{ignoreTransform:!0}),Nt={x:st.left-At.left,y:st.top-At.top,scaleX:st.width/At.width,scaleY:st.height/At.height};(Nt.x||Nt.y)&&Yt(Nt)}}it!==Je.current&&(Je.current=it)},[Ve,it,rt,vt]),(0,z.useEffect)(()=>{Rt&&Yt(null)},[Rt]),Rt}function xe(Ke){let{animateLayoutChanges:Ve=oe,attributes:it,disabled:rt,data:vt,getNewIndex:Rt=ne,id:Yt,strategy:Je,resizeObserverConfig:st,transition:At=ae}=Ke;const{items:Nt,containerId:Pt,activeIndex:sn,disabled:Fe,disableTransforms:Qt,sortedRects:Gt,overIndex:Hn,useDragOverlay:ea,strategy:Re}=(0,z.useContext)(x),qe=Ee(rt,Fe),tt=Nt.indexOf(Yt),Le=(0,z.useMemo)(()=>Hr({sortable:{containerId:Pt,index:tt,items:Nt}},vt),[Pt,vt,tt,Nt]),ft=(0,z.useMemo)(()=>Nt.slice(Nt.indexOf(Yt)),[Nt,Yt]),{rect:gt,node:Oe,isOver:ve,setNodeRef:Ge}=(0,se.Zj)({id:Yt,data:Le,disabled:qe.droppable,resizeObserverConfig:Hr({updateMeasurementsFor:ft},st)}),{active:We,activatorEvent:we,activeNodeRect:mt,attributes:et,setNodeRef:Ht,listeners:Se,isDragging:ut,over:xt,setActivatorNodeRef:Ae,transform:He}=(0,se.O1)({id:Yt,data:Le,attributes:Hr(Hr({},fe),it),disabled:qe.draggable}),ct=(0,he.HB)(Ge,Ht),wt=!!We,Zt=wt&&!Qt&&ie(sn)&&ie(Hn),gn=!ea&&ut,dt=gn&&Zt?He:null,Dt=Je!=null?Je:Re,yt=Zt?dt!=null?dt:Dt({rects:Gt,activeNodeRect:mt,activeIndex:sn,overIndex:Hn,index:tt}):null,en=ie(sn)&&ie(Hn)?Rt({id:Yt,items:Nt,activeIndex:sn,overIndex:Hn}):tt,Vt=We==null?void 0:We.id,un=(0,z.useRef)({activeId:Vt,items:Nt,newIndex:en,containerId:Pt}),Un=Nt!==un.current.items,mn=Ve({active:We,containerId:Pt,isDragging:ut,isSorting:wt,id:Yt,index:tt,items:Nt,newIndex:un.current.newIndex,previousItems:un.current.items,previousContainerId:un.current.containerId,transition:At,wasDragging:un.current.activeId!=null}),an=Pe({disabled:!mn,index:tt,node:Oe,rect:gt});return(0,z.useEffect)(()=>{wt&&un.current.newIndex!==en&&(un.current.newIndex=en),Pt!==un.current.containerId&&(un.current.containerId=Pt),Nt!==un.current.items&&(un.current.items=Nt)},[wt,en,Pt,Nt]),(0,z.useEffect)(()=>{if(Vt===un.current.activeId)return;if(Vt&&!un.current.activeId){un.current.activeId=Vt;return}const _t=setTimeout(()=>{un.current.activeId=Vt},50);return()=>clearTimeout(_t)},[Vt]),{active:We,activeIndex:sn,attributes:et,data:Le,rect:gt,index:tt,newIndex:en,items:Nt,isOver:ve,isSorting:wt,isDragging:ut,listeners:Se,node:Oe,overIndex:Hn,over:xt,setNodeRef:ct,setActivatorNodeRef:Ae,setDroppableNodeRef:Ge,setDraggableNodeRef:Ht,transform:an!=null?an:yt,transition:$n()};function $n(){if(an||Un&&un.current.newIndex===tt)return me;if(!(gn&&!(0,he.vd)(we)||!At)&&(wt||mn))return he.ux.Transition.toString(li(Hr({},At),{property:ue}))}}function Ee(Ke,Ve){var it,rt;return typeof Ke=="boolean"?{draggable:Ke,droppable:!1}:{draggable:(it=Ke==null?void 0:Ke.draggable)!=null?it:Ve.draggable,droppable:(rt=Ke==null?void 0:Ke.droppable)!=null?rt:Ve.droppable}}function De(Ke){if(!Ke)return!1;const Ve=Ke.data.current;return!!(Ve&&"sortable"in Ve&&typeof Ve.sortable=="object"&&"containerId"in Ve.sortable&&"items"in Ve.sortable&&"index"in Ve.sortable)}const _e=[se.g4.Down,se.g4.Right,se.g4.Up,se.g4.Left],pt=(Ke,Ve)=>{let{context:{active:it,collisionRect:rt,droppableRects:vt,droppableContainers:Rt,over:Yt,scrollableAncestors:Je}}=Ve;if(_e.includes(Ke.code)){if(Ke.preventDefault(),!it||!rt)return;const st=[];Rt.getEnabled().forEach(Pt=>{if(!Pt||Pt!=null&&Pt.disabled)return;const sn=vt.get(Pt.id);if(sn)switch(Ke.code){case KeyboardCode.Down:rt.top<sn.top&&st.push(Pt);break;case KeyboardCode.Up:rt.top>sn.top&&st.push(Pt);break;case KeyboardCode.Left:rt.left>sn.left&&st.push(Pt);break;case KeyboardCode.Right:rt.left<sn.left&&st.push(Pt);break}});const At=closestCorners({active:it,collisionRect:rt,droppableRects:vt,droppableContainers:st,pointerCoordinates:null});let Nt=getFirstCollision(At,"id");if(Nt===(Yt==null?void 0:Yt.id)&&At.length>1&&(Nt=At[1].id),Nt!=null){const Pt=Rt.get(it.id),sn=Rt.get(Nt),Fe=sn?vt.get(sn.id):null,Qt=sn==null?void 0:sn.node.current;if(Qt&&Fe&&Pt&&sn){const Hn=getScrollableAncestors(Qt).some((ft,gt)=>Je[gt]!==ft),ea=Be(Pt,sn),Re=$e(Pt,sn),qe=Hn||!ea?{x:0,y:0}:{x:Re?rt.width-Fe.width:0,y:Re?rt.height-Fe.height:0},tt={x:Fe.left,y:Fe.top};return qe.x&&qe.y?tt:subtract(tt,qe)}}}};function Be(Ke,Ve){return!De(Ke)||!De(Ve)?!1:Ke.data.current.sortable.containerId===Ve.data.current.sortable.containerId}function $e(Ke,Ve){return!De(Ke)||!De(Ve)||!Be(Ke,Ve)?!1:Ke.data.current.sortable.index<Ve.data.current.sortable.index}},35241:function(Et,St,te){"use strict";te.d(St,{$X:function(){return oe},D9:function(){return b},DC:function(){return fe},Ey:function(){return re},FJ:function(){return Ie},Gj:function(){return a},HB:function(){return se},IH:function(){return ne},Jj:function(){return Ne},LI:function(){return ze},Ld:function(){return x},Nq:function(){return he},Re:function(){return nt},UG:function(){return be},Yz:function(){return ye},qk:function(){return ie},r3:function(){return Ze},so:function(){return Ee},ux:function(){return Pe},vZ:function(){return je},vd:function(){return ue},wm:function(){return y},zX:function(){return Me}});var z=te(59301);function se(){for(var De=arguments.length,_e=new Array(De),pt=0;pt<De;pt++)_e[pt]=arguments[pt];return(0,z.useMemo)(()=>Be=>{_e.forEach($e=>$e(Be))},_e)}const he=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Ie(De){const _e=Object.prototype.toString.call(De);return _e==="[object Window]"||_e==="[object global]"}function be(De){return"nodeType"in De}function Ne(De){var _e,pt;return De?Ie(De)?De:be(De)&&(_e=(pt=De.ownerDocument)==null?void 0:pt.defaultView)!=null?_e:window:window}function ie(De){const{Document:_e}=Ne(De);return De instanceof _e}function nt(De){return Ie(De)?!1:De instanceof Ne(De).HTMLElement}function je(De){return De instanceof Ne(De).SVGElement}function Ze(De){return De?Ie(De)?De.document:be(De)?ie(De)?De:nt(De)||je(De)?De.ownerDocument:document:document:document}const ze=he?z.useLayoutEffect:z.useEffect;function Me(De){const _e=(0,z.useRef)(De);return ze(()=>{_e.current=De}),(0,z.useCallback)(function(){for(var pt=arguments.length,Be=new Array(pt),$e=0;$e<pt;$e++)Be[$e]=arguments[$e];return _e.current==null?void 0:_e.current(...Be)},[])}function ye(){const De=(0,z.useRef)(null),_e=(0,z.useCallback)((Be,$e)=>{De.current=setInterval(Be,$e)},[]),pt=(0,z.useCallback)(()=>{De.current!==null&&(clearInterval(De.current),De.current=null)},[]);return[_e,pt]}function re(De,_e){_e===void 0&&(_e=[De]);const pt=(0,z.useRef)(De);return ze(()=>{pt.current!==De&&(pt.current=De)},_e),pt}function a(De,_e){const pt=(0,z.useRef)();return(0,z.useMemo)(()=>{const Be=De(pt.current);return pt.current=Be,Be},[..._e])}function y(De){const _e=Me(De),pt=(0,z.useRef)(null),Be=(0,z.useCallback)($e=>{$e!==pt.current&&(_e==null||_e($e,pt.current)),pt.current=$e},[]);return[pt,Be]}function b(De){const _e=(0,z.useRef)();return(0,z.useEffect)(()=>{_e.current=De},[De]),_e.current}let E={};function x(De,_e){return(0,z.useMemo)(()=>{if(_e)return _e;const pt=E[De]==null?0:E[De]+1;return E[De]=pt,De+"-"+pt},[De,_e])}function ee(De){return function(_e){for(var pt=arguments.length,Be=new Array(pt>1?pt-1:0),$e=1;$e<pt;$e++)Be[$e-1]=arguments[$e];return Be.reduce((Ke,Ve)=>{const it=Object.entries(Ve);for(const[rt,vt]of it){const Rt=Ke[rt];Rt!=null&&(Ke[rt]=Rt+De*vt)}return Ke},Hr({},_e))}}const ne=ee(1),oe=ee(-1);function ae(De){return"clientX"in De&&"clientY"in De}function ue(De){if(!De)return!1;const{KeyboardEvent:_e}=Ne(De.target);return _e&&De instanceof _e}function me(De){if(!De)return!1;const{TouchEvent:_e}=Ne(De.target);return _e&&De instanceof _e}function fe(De){if(me(De)){if(De.touches&&De.touches.length){const{clientX:_e,clientY:pt}=De.touches[0];return{x:_e,y:pt}}else if(De.changedTouches&&De.changedTouches.length){const{clientX:_e,clientY:pt}=De.changedTouches[0];return{x:_e,y:pt}}}return ae(De)?{x:De.clientX,y:De.clientY}:null}const Pe=Object.freeze({Translate:{toString(De){if(!De)return;const{x:_e,y:pt}=De;return"translate3d("+(_e?Math.round(_e):0)+"px, "+(pt?Math.round(pt):0)+"px, 0)"}},Scale:{toString(De){if(!De)return;const{scaleX:_e,scaleY:pt}=De;return"scaleX("+_e+") scaleY("+pt+")"}},Transform:{toString(De){if(De)return[Pe.Translate.toString(De),Pe.Scale.toString(De)].join(" ")}},Transition:{toString(De){let{property:_e,duration:pt,easing:Be}=De;return _e+" "+pt+"ms "+Be}}}),xe="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Ee(De){return De.matches(xe)?De:De.querySelector(xe)}},69453:function(Et,St){"use strict";St.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},65038:function(Et,St){"use strict";St.Z={flex_box_center:"flex_box_center___oaxfO",flex_space_between:"flex_space_between___NQ5Gm",flex_box_vertical_center:"flex_box_vertical_center___UGzY9",flex_box_center_end:"flex_box_center_end___SnN1r",flex_box_column:"flex_box_column___c0981",right:"right___sOpmg",title:"title___Nmi5q",titles:"titles___PaouY",tips:"tips___h2FE4"}},63621:function(Et,St){"use strict";St.Z={flex_box_center:"flex_box_center___eQ57b",flex_space_between:"flex_space_between___PVjBV",flex_box_vertical_center:"flex_box_vertical_center___ghTL_",flex_box_center_end:"flex_box_center_end___z8oKm",flex_box_column:"flex_box_column___JQV5n",title:"title___w80Ja",workListTabWrap:"workListTabWrap___YRwm7",workListTabButton:"workListTabButton___ebGCB",tables:"tables___AYvHM",checkboxgroup:"checkboxgroup___fZHgL"}},7937:function(Et,St){"use strict";St.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY"}},85707:function(Et,St){"use strict";St.Z={flex_box_center:"flex_box_center___SF0m3",flex_space_between:"flex_space_between___ChLjp",flex_box_vertical_center:"flex_box_vertical_center____l_EF",flex_box_center_end:"flex_box_center_end___YcZNu",flex_box_column:"flex_box_column___R9dNq",downloadbutton:"downloadbutton___oEXJW",configWorkContainer:"configWorkContainer___CHUrh"}},4105:function(Et,St,te){"use strict";var z=te(59301),se=Object.defineProperty,he=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(je,Ze,ze)=>Ze in je?se(je,Ze,{enumerable:!0,configurable:!0,writable:!0,value:ze}):je[Ze]=ze,ie=(je,Ze)=>{for(var ze in Ze||(Ze={}))Ie.call(Ze,ze)&&Ne(je,ze,Ze[ze]);if(he)for(var ze of he(Ze))be.call(Ze,ze)&&Ne(je,ze,Ze[ze]);return je};const nt=je=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},je),React.createElement("path",{fill:"#F7B500",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm1 3H6.395a3.501 3.501 0 0 1-.857 1.245c-.32.294-.752.551-1.297.772L4 9.109V10.9c.448-.154.82-.315 1.117-.483.222-.126.45-.282.685-.466l.236-.194V15H8V7ZM4.812 0c.175 0 .35.16.438.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.663 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));St.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},99714:function(Et,St,te){"use strict";var z=te(59301),se=Object.defineProperty,he=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(je,Ze,ze)=>Ze in je?se(je,Ze,{enumerable:!0,configurable:!0,writable:!0,value:ze}):je[Ze]=ze,ie=(je,Ze)=>{for(var ze in Ze||(Ze={}))Ie.call(Ze,ze)&&Ne(je,ze,Ze[ze]);if(he)for(var ze of he(Ze))be.call(Ze,ze)&&Ne(je,ze,Ze[ze]);return je};const nt=je=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},je),React.createElement("path",{fill:"#B9C4CF",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm.05 3c-.675 0-1.203.092-1.584.276a2.056 2.056 0 0 0-.887.794c-.18.296-.31.691-.394 1.186l-.038.255 2.004.177c.055-.443.164-.753.326-.928a.814.814 0 0 1 .626-.263.81.81 0 0 1 .611.255c.162.17.243.375.243.614 0 .222-.081.456-.245.703-.164.247-.539.608-1.124 1.084-.96.776-1.613 1.45-1.962 2.02a4.363 4.363 0 0 0-.588 1.552L4 15h6v-1.781H6.877c.184-.197.343-.356.479-.478.136-.122.405-.334.808-.638.677-.523 1.145-1.002 1.401-1.438.257-.437.386-.895.386-1.374 0-.45-.112-.858-.336-1.22a2.043 2.043 0 0 0-.924-.808C8.301 7.088 7.753 7 7.05 7ZM4.812 0c.175 0 .35.16.437.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.662 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));St.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0I5QzRDRiIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLjA1IDNjLS42NzUgMC0xLjIwMy4wOTItMS41ODQuMjc2YTIuMDU2IDIuMDU2IDAgMCAwLS44ODcuNzk0Yy0uMTguMjk2LS4zMS42OTEtLjM5NCAxLjE4NmwtLjAzOC4yNTUgMi4wMDQuMTc3Yy4wNTUtLjQ0My4xNjQtLjc1My4zMjYtLjkyOGEuODE0LjgxNCAwIDAgMSAuNjI2LS4yNjMuODEuODEgMCAwIDEgLjYxMS4yNTVjLjE2Mi4xNy4yNDMuMzc1LjI0My42MTQgMCAuMjIyLS4wODEuNDU2LS4yNDUuNzAzLS4xNjQuMjQ3LS41MzkuNjA4LTEuMTI0IDEuMDg0LS45Ni43NzYtMS42MTMgMS40NS0xLjk2MiAyLjAyYTQuMzYzIDQuMzYzIDAgMCAwLS41ODggMS41NTJMNCAxNWg2di0xLjc4MUg2Ljg3N2MuMTg0LS4xOTcuMzQzLS4zNTYuNDc5LS40NzguMTM2LS4xMjIuNDA1LS4zMzQuODA4LS42MzguNjc3LS41MjMgMS4xNDUtMS4wMDIgMS40MDEtMS40MzguMjU3LS40MzcuMzg2LS44OTUuMzg2LTEuMzc0IDAtLjQ1LS4xMTItLjg1OC0uMzM2LTEuMjJhMi4wNDMgMi4wNDMgMCAwIDAtLjkyNC0uODA4QzguMzAxIDcuMDg4IDcuNzUzIDcgNy4wNSA3Wk00LjgxMiAwYy4xNzUgMCAuMzUuMTYuNDM3LjMxOGwxLjMxMyAyLjMwOXMtMi44LjE2LTQuNDYzIDEuNjcyTC4wODguNzE2QzAgLjYzNiAwIC41NTcgMCAuNDc4IDAgLjE1OS4yNjMgMCAuNTI1IDBabTguNjYyIDBjLjI2MyAwIC41MjUuMjM5LjUyNS40NzggMCAuMDggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},97959:function(Et,St,te){"use strict";var z=te(59301),se=Object.defineProperty,he=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(je,Ze,ze)=>Ze in je?se(je,Ze,{enumerable:!0,configurable:!0,writable:!0,value:ze}):je[Ze]=ze,ie=(je,Ze)=>{for(var ze in Ze||(Ze={}))Ie.call(Ze,ze)&&Ne(je,ze,Ze[ze]);if(he)for(var ze of he(Ze))be.call(Ze,ze)&&Ne(je,ze,Ze[ze]);return je};const nt=je=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},je),React.createElement("path",{fill:"#D09F18",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm-.062 3c-.826 0-1.464.172-1.915.517-.4.307-.686.733-.856 1.278l-.058.21 1.908.364c.052-.383.153-.651.302-.804a.772.772 0 0 1 .58-.23c.23 0 .412.07.544.211.133.14.199.33.199.565a.88.88 0 0 1-.265.638.89.89 0 0 1-.662.27 1.35 1.35 0 0 1-.158-.012l-.104-.015-.105 1.536c.278-.085.496-.127.654-.127.298 0 .533.099.707.296.173.197.26.475.26.833 0 .352-.09.634-.27.845a.852.852 0 0 1-.677.316.862.862 0 0 1-.636-.25c-.143-.144-.254-.384-.333-.723l-.036-.177L4 12.826c.132.482.321.882.567 1.2.246.319.56.56.942.726.381.165.902.248 1.563.248.677 0 1.224-.112 1.64-.335.416-.223.735-.542.956-.955.221-.414.332-.845.332-1.296 0-.359-.067-.667-.2-.926a1.633 1.633 0 0 0-.563-.625c-.149-.099-.363-.185-.644-.259.347-.204.606-.441.778-.712a1.66 1.66 0 0 0 .257-.908 1.82 1.82 0 0 0-.634-1.42C8.571 7.189 7.886 7 6.938 7ZM4.813 0c.175 0 .35.17.437.338l1.313 2.453s-2.8.17-4.463 1.776L.088.761C0 .677 0 .592 0 .507 0 .17.263 0 .525 0Zm8.662 0c.263 0 .525.254.525.507 0 .085 0 .17-.088.254L11.9 4.483C10.238 2.96 7.437 2.79 7.437 2.79L8.75.338C8.75.17 8.925 0 9.188 0Z"}));St.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI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0Ny0uMjA0LjYwNi0uNDQxLjc3OC0uNzEyYTEuNjYgMS42NiAwIDAgMCAuMjU3LS45MDggMS44MiAxLjgyIDAgMCAwLS42MzQtMS40MkM4LjU3MSA3LjE4OSA3Ljg4NiA3IDYuOTM4IDdaTTQuODEzIDBjLjE3NSAwIC4zNS4xNy40MzcuMzM4bDEuMzEzIDIuNDUzcy0yLjguMTctNC40NjMgMS43NzZMLjA4OC43NjFDMCAuNjc3IDAgLjU5MiAwIC41MDcgMCAuMTcuMjYzIDAgLjUyNSAwWm04LjY2MiAwYy4yNjMgMCAuNTI1LjI1NC41MjUuNTA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},72179:function(){"use strict";function Et(re,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=re,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(Et.prototype,"name",{get:function(){return this._name},set:function(re){if(typeof re!="string"||re==="")throw new Error("Shape name must be a valid string.");this._name=re}}),Object.defineProperty(Et.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("The default value must be a real number, not: "+re);this._defaultValue=re}}),Object.defineProperty(Et.prototype,"minimum",{get:function(){return this._minimum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Minimum must be a real number, not: "+re);this._minimum=re}}),Object.defineProperty(Et.prototype,"maximum",{get:function(){return this._maximum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Maximum must be a real number, not: "+re);this._maximum=re}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(re,a){var y=go.Shape._FigureParameters[re];return y?y[a]:null},go.Shape.setFigureParameter=function(re,a,y){if(!(y instanceof Et))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var b=go.Shape._FigureParameters[re];b||(b=[],go.Shape._FigureParameters[re]=b),b[a]=y};var St=[];function te(re,a){var y=St.pop();return y===void 0?new go.Point(re,a):(y.x=re,y.y=a,y)}function z(){var re=St.pop();return re===void 0?new go.Point:re}function se(re){St.push(re)}function he(re,a,y,b,E,x,ee,ne,oe){oe||(oe=new go.Point);var ae=re-y,ue=E-ee,me=NaN,fe=NaN;if(ae===0)if(ue===0)re===y&&(me=re,fe=a);else{var Pe=(x-ne)/ue,xe=x-Pe*E;me=re,fe=Pe*me+xe}else if(ue===0){var Ee=(a-b)/ae,De=a-Ee*re;me=E,fe=Ee*me+De}else{var Ee=(a-b)/ae,Pe=(x-ne)/ue,De=a-Ee*re,xe=x-Pe*E;me=(xe-De)/(Ee-Pe),fe=Ee*me+De}return oe.x=me,oe.y=fe,oe}function Ie(re,a,y,b,E,x,ee,ne,oe,ae,ue,me,fe,Pe){var xe=1-oe,Ee=oe,De=re*xe+y*Ee,_e=a*xe+b*Ee,pt=y*xe+E*Ee,Be=b*xe+x*Ee,$e=E*xe+ee*Ee,Ke=x*xe+ne*Ee,Ve=De*xe+pt*Ee,it=_e*xe+Be*Ee,rt=pt*xe+$e*Ee,vt=Be*xe+Ke*Ee,Rt=Ve*xe+rt*Ee,Yt=it*xe+vt*Ee;ae.x=De,ae.y=_e,ue.x=Ve,ue.y=it,me.x=Rt,me.y=Yt,fe.x=rt,fe.y=vt,Pe.x=$e,Pe.y=Ke}var be=new go.Spot(.156,.156),Ne=new go.Spot(.844,.844),ie=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Et("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=y/2,b.endX=a,b.endY=y/2,b}),go.Shape.defineFigureGenerator("LineV",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=y,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(re,a,y){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(re,a,y){var b=a/2,E=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=be,E.spot2=Ne,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}),go.Shape.defineFigureGenerator("Line2",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=y,b}),go.Shape.defineFigureGenerator("Curve1",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ie*a,0,a,(1-ie)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ie*y,(1-ie)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ie*y,ie*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ie)*a,0,0,(1-ie)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Et("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Et("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a:b>a&&(b=a);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.setFigureParameter("Trapezoid1",0,new Et("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Et("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=20:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.setFigureParameter("ManualOperation",0,new Et("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}});var nt=[];function je(){var re=nt.pop();return re===void 0?[]:re}function Ze(re){re.length=0,nt.push(re)}function ze(re){for(var a=je(),y=.5,b=.5,E=Math.PI*1.5,x=0,ee=0;ee<re;ee++)x=2*Math.PI/re*ee+E,a[ee]=new go.Point(b+y*Math.cos(x),b+y*Math.sin(x));return a.push(a[0]),a}function Me(re){var a=ye(re),y=je();y[0]=a[0];for(var b=1,E=1;b<a.length;b+=2,E+=3)y[E]=a[b],y[E+1]=a[b],y[E+2]=a[b+1];return Ze(a),y}function ye(re){for(var a=ze(re),y=je(),b=Math.floor(a.length/2),E=a.length-1,x=re%2===0?2:1,ee=0;ee<E;ee++){var ne=a[ee],oe=a[ee+1],ae=a[(b+ee-1)%E],ue=a[(b+ee+x)%E];y[ee*2]=ne,y[ee*2+1]=he(ne.x,ne.y,ae.x,ae.y,oe.x,oe.y,ue.x,ue.y,new go.Point)}return y[y.length]=y[0],Ze(a),y}go.Shape.defineFigureGenerator("Pentagon",function(re,a,y){var b=ze(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<5;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(re,a,y){var b=ze(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<6;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(re,a,y){var b=ze(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<7;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(re,a,y){var b=ze(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<8;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(re,a,y){var b=ze(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<9;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(re,a,y){var b=ze(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(re,a,y){var b=ze(12),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(re,a,y){var b=ye(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(re,a,y){var b=ye(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(re,a,y){var b=ye(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<14;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(re,a,y){var b=ye(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<16;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(re,a,y){var b=ye(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<18;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(re,a,y){var b=ye(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<20;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Ze(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(re,a,y){var b=Me(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(re,a,y){var b=Me(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(re,a,y){var b=Me(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(re,a,y){var b=Me(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(re,a,y){var b=Me(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(re,a,y){var b=Me(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),Ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new Et("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Et("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(re,a,y){var b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var x=new go.Geometry,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b<a/2&&E<y/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y-E)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,y-E)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,E).close())),x.setSpots(0,0,1,1,b,E,-b,-E),x}),go.Shape.setFigureParameter("Ring",0,new Et("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=a/2,x=new go.Geometry,ee=new go.PathFigure(a,a/2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var ne=Math.max(E-b,0);return ne>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ne,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ne,ne).close())),x.spot1=be,x.spot2=Ne,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(re,a,y){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,b*y).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new Et("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Et("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(re,a,y){var b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var ee=E%360,ne=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,x,ee,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(re,a,y){var b=ie/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,x*y,a,(1-b)*y,(E+b)*a,(x+b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,a)/2,x=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Et("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,a)/2,x=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(re,a,y){var b=re?re.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var x=a/2,ee=y/2,ne=Math.atan2(y,a),oe=b-Math.min(Math.cos(ne)*b/2,x),ae=b-Math.min(Math.sin(ne)*b/2,ee),E=new go.Geometry,ue=new go.PathFigure(oe,0,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,0)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a,y-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,y)),ue.add(new go.PathSegment(go.PathSegment.Line,x,.8*y)),ue.add(new go.PathSegment(go.PathSegment.Line,oe,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Et("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Et("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Et("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-b)*a,.25*y,Math.abs(1-b)*a,.75*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ie*a,0,a,(.5-ie/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ie/2)*y,ie*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var x=.2,ee=.3,ne=0,oe=x*ie;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+ne)*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee)*a,(.5-oe+ne)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee+.05)*a,(.5-oe+ne-.02)*y)),x=.2,ee=0,ne=-.3,oe=x*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+ne)*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee)*a,(.5-oe+ne)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+ne)*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee)*a,(.5-oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),x=.2,ee=-.3,ne=0,oe=x*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee-.05)*a,(.5-oe+ne-.02)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+ne)*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee)*a,(.5-oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,ee=.5,ne=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ee+x)*a,ne*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ne,x*a,x*a).close()),E=new go.PathFigure(a*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ne=.75,E=new go.PathFigure((ee+x)*a,ne*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ne,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(re,a,y){var b=.8535533905932737,E=.5*a,x=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure(ee*a,(ne-x)*y);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),x=.4,E=ie*.4;var ae=z(),ue=z(),me=z(),fe=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.42,ae,ue,me,fe,fe);var Pe=z(),xe=z(),Ee=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.58,fe,fe,Ee,Pe,xe);var De=z(),_e=z(),pt=z();Ie(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.42,De,_e,pt,fe,fe);var Be=z(),$e=z(),Ke=z();return Ie(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.58,fe,fe,Ke,Be,$e),oe.add(new go.PathSegment(go.PathSegment.Move,Ke.x*a,Ke.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,Be.x*a,Be.y*y,$e.x*a,$e.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ae.x*a,ae.y*y,ue.x*a,ue.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ke.x*a,Ke.y*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,pt.x*a,pt.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,Pe.x*a,Pe.y*y,xe.x*a,xe.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,pt.x*a,pt.y*y,De.x*a,De.y*y,_e.x*a,_e.y*y).close()),se(ae),se(ue),se(me),se(fe),se(Pe),se(xe),se(Ee),se(De),se(_e),se(pt),se(Be),se($e),se(Ke),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var E=(a-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,E,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(re,a,y){var b=new go.Geometry,E=ie*.4,x=.4,ee=.5,ne=.5,oe=z(),ae=z(),ue=z(),me=z(),fe=new go.PathFigure((ee-x)*a,ne*y,!1);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.44,ue,me,ae,oe,oe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,me.x*a,me.y*y));var Pe=te(ae.x,ae.y);Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.56,oe,oe,ae,ue,me);var xe=te(ae.x,ae.y);fe.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.95*.9)*a,Pe.y*.1*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,Pe.y*.1*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,(xe.y*.1+.05*.9)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),x=.35,E=ie*.35;var Ee=new go.PathFigure(ee*a,(ne-x)*y,!1);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y));var De=new go.PathFigure((ee-x)*a,ne*y,!1);return b.add(De),se(oe),se(ae),se(ue),se(me),se(Pe),se(xe),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(re,a,y){var b=new go.Geometry,E=.375,x=0,ee=-.125,ne=E*ie,oe=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+ne+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-ne+ee)*y,(.5+ne+x)*a,(.5-E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+ne+ee)*y,(.5-ne+x)*a,(.5+E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,x=0,ee=-.125,ne=E*ie;var oe=new go.PathFigure((1-.5+E+x)*a,(.5+ee)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+ne+ee)*y,(.5+ne+x)*a,(.5+E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+ne+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-ne+ee)*y));var oe=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);return b.add(oe),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(re,a,y){var b=re?re.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(re,a,y){var b=re?re.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(re,a,y){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(re,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(re,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Et("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Et("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=re?re.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*a,ee=(.5-E/2)*y,ne=(.5+E/2)*y,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/y);var ue=he(0,ne/y,1,ne/y,x/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.setFigureParameter("Arrow2",0,new Et("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Et("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=re?re.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var x=a-b,ee=(y-E)/2,ne=ee+E,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/y);var ue=he(0,ne/y,1,ne/y,x/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.defineFigureGenerator("Chevron",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Et("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var oe=he(0,.5,.3,0,0,E/y,.1,E/y,z());return ee.spot1=new go.Spot(oe.x,oe.y),oe=he(.7,1,1,.5,0,x/y,1,x/y,oe),ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Et("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Et("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=40);var E=re?re.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,ne=(y-E)/2,oe=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,ne=0,oe=y):(x=0,ee=y,ne=0,oe=y));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close());var me=he(0,.5,.3,ne/y,0,x/y,1,x/y,z());return ae.spot1=new go.Spot(me.x,me.y),me=he(.7,oe/y,1,.5,0,ee/y,1,ee/y,me),ae.spot2=new go.Spot(me.x,me.y),se(me),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new Et("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,E/y);var oe=he(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Et("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Et("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=40);var E=re?re.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,ne=(y-E)/2,oe=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,ne=0,oe=y):(x=0,ee=y,ne=0,oe=y));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close()),ae.spot1=new go.Spot(0,x/y);var me=he(.7,oe/y,1,.5,0,ee/y,1,ee/y,z());return ae.spot2=new go.Spot(me.x,me.y),se(me),ae}),go.Shape.setFigureParameter("Pointer",0,new Et("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var ee=he(.2,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),se(ee),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Et("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E.spot1=new go.Spot(b,.35);var ee=he(0,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),se(ee),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Et("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var oe=he(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Et("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=50);var E=(y-b)/2,x=E+b;b>y&&(E=0,x=y);var ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,E/y);var oe=he(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Et("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(0,.9*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var x=new go.PathFigure(0,.9*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(0,b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ie*b,(.5+x)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,1*y,0,y-ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var ne=new go.PathFigure(a,b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-ie*b,(.5+x)*a,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-ie*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(0,y-b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ie*b,(.5+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,y,0,y-ie*b));var ne=new go.PathFigure(0,y-b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*b,0,y-b-ie*b,(.5-x)*a,y-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+x)*a,y-2*b,a,y-b-ie*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ie*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ie*b,0));var ne=new go.PathFigure(b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*y,b+ie*b,0,2*b,(.5-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+x)*y,b+ie*b,y)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(a-b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ie*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ie*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var ne=new go.PathFigure(a-b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*y,a-b-ie*b,0,a-2*b,(.5-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+x)*y,a-b-ie*b,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.25*a,.25*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(re,a,y){var b=new go.Geometry,E=.2,x=.1,ee=ie*E,ne=ie*x,oe=.5,ae=.1,ue=new go.PathFigure(oe*a,(ae+x)*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-E)*a,ae*y,(oe-ee)*a,(ae+x)*y,(oe-E)*a,(ae+ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-x)*y,(oe-E)*a,(ae-ne)*y,(oe-ee)*a,(ae-x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+E)*a,ae*y,(oe+ee)*a,(ae-x)*y,(oe+E)*a,(ae-ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+x)*y,(oe+E)*a,(ae+ne)*y,(oe+ee)*a,(ae+x)*y));var me=.05,fe=ie*me;oe=.05,ae=.25;var Pe=new go.PathFigure(.5*a,.2*y,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),oe=.95,ae=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+me)*a,ae*y,(oe+fe)*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,fe=ie*me,oe=.825,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,fe=ie*me,oe=.5,ae=.7,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,fe=ie*me,oe=.175,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,fe=ie*me,oe=.05,ae=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y,(oe-fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Et("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var x=new go.PathFigure(.5*a,.5*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("Database",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(a,.1*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ne=new go.PathFigure(a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+x)*y,(.5+E)*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+x)*y)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(a,.1*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ne=new go.PathFigure(a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=ie*.2,ee=new go.PathFigure(0,.2*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*y,(.2-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+x)*a,0,a,(.2-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+x)*y,(.8+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-x)*a,y,0,(.8+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ne=new go.PathFigure(0,E*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("Document",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(.1*a,.4*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var x=new go.PathFigure(a,.5*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ne=new go.PathFigure(E*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ne.add(new go.PathSegment(go.PathSegment.Move,0,x*y)),ne.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),b}),go.Shape.defineFigureGenerator("Junction",function(re,a,y){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,ee=ie*.5,ne=.5,oe=new go.PathFigure(a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,y,a,(ne+ee)*y,(ne+ee)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*y,(ne-ee)*a,y,0,(ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,0,0,(ne-ee)*y,(ne-ee)*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,ne*y,(ne+ee)*a,0,a,(ne-ee)*y));var ae=new go.PathFigure((x+E)*a,(x+E)*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)),ae.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(x+E)*a,x*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(.5*a,y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*y,a,(x+E)*y,(x+E)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var x=new go.PathFigure(.2*a,.1*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ne=new go.PathFigure(.5*E*a,E*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(a,x*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ne=new go.PathFigure(a,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-E)*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b}),go.Shape.defineFigureGenerator("Process",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(0,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(a,x*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ne=new go.PathFigure(a,x*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,x*y));var oe=new go.PathFigure(.8*a,.75*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b}),go.Shape.defineFigureGenerator("Inverter",function(re,a,y){var b=new go.Geometry,E=ie*.1,x=.1,ee=.9,ne=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ae=new go.PathFigure((ee+x)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne-x)*y,(ee+x)*a,(ne-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.4,ee=ie*.1,ne=.1,oe=.9,ae=.5,ue=new go.PathFigure(.8*a,.5*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+x)*y,(.4+E)*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-x)*y));var me=new go.PathFigure((oe+ne)*a,ae*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a,ae*y,(oe-ee)*a,(ae+ne)*y,(oe-ne)*a,(ae+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a,ae*y,(oe+ee)*a,(ae-ne)*y,(oe+ne)*a,(ae-ee)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=0,ne=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(ne-E)*y,.7*a,(ne-x)*y)),E=.1,x=ie*.1,ee=.9,ne=.5;var ae=new go.PathFigure((ee-E)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=0,ne=.5,oe=new go.PathFigure(0,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x+x)*a,(ne-E)*y,.8*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ne+x)*y,(ee+x+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.8*a,.5*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(ne-E)*y,.7*a,(ne-x)*y)),E=.1,x=ie*.1,ee=.9,ne=.5;var ue=new go.PathFigure((ee-E)*a,ne*y,!0);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.2*a,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x)*a,(ne-E)*y,.9*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Resistor",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b}),go.Shape.defineFigureGenerator("Inductor",function(re,a,y){var b=new go.Geometry,E=ie*.1,x=.1,ee=.1,ne=.5,oe=new go.PathFigure((ee-E*.5)*a,y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E*.5)*a,y,(ee+x)*a,0,(ee+E)*a,y)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-x)*a,ne*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne-x)*y,(ee+x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Move,(ee-x+.1)*a,ne*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x-.1)*a,ne*y,ee*a,(ne-x)*y,ee*a,(ne+x)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Diode",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(re,a,y){var b=new go.Geometry,E=a,x=y;a=a*.38,y=y*.6;var ee=ie*.8,ne=.8,oe=0,ae=.5,ue=(E-a)/2,me=(x-y)/2,fe=new go.PathFigure(oe*a+ue,(ae+ne)*y+me,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae-ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+me,oe*a+ue,(ae+ne)*y+me).close()),ee=ie*.4,ne=.4,oe=.2,ae=.5;var Pe=new go.PathFigure(oe*a+ue,(ae+ne)*y+me,!0);b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae-ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+me,oe*a+ue,(ae+ne)*y+me).close()),ee=ie*.2,ne=.2,oe=.5,ae=.5;var xe=new go.PathFigure((oe-ne)*a+ue,ae*y+me,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),ee=ie*.4,ne=.4,oe=.8,ae=.5;var Ee=new go.PathFigure(oe*a+ue,(ae-ne)*y+me,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae+ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+me,oe*a+ue,(ae-ne)*y+me).close()),ee=ie*.8,ne=.8,oe=1,ae=.5;var De=new go.PathFigure(oe*a+ue,(ae-ne)*y+me,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),De.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),De.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae+ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+me)),De.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+me,oe*a+ue,(ae-ne)*y+me).close()),b}),go.Shape.defineFigureGenerator("Email",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),b}),go.Shape.defineFigureGenerator("Ethernet",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,y,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ne=new go.PathFigure(0,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),b}),go.Shape.defineFigureGenerator("Power",function(re,a,y){var b=new go.Geometry,E=ie*.4,x=.4,ee=.5,ne=.5,oe=z(),ae=z(),ue=z(),me=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,me);var fe=te(ae.x,ae.y),Pe=new go.PathFigure(ae.x*a,ae.y*y,!0);b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),Ie(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,me,ae,oe,oe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),E=ie*.3,x=.3,Ie(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,me,ae,oe,oe),Pe.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,me.x*a,me.y*y,ue.x*a,ue.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,me),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,me.x*a,me.y*y,ue.x*a,ue.y*y).close());var Pe=new go.PathFigure(.45*a,0,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),se(oe),se(ae),se(ue),se(me),se(fe),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function x(ee,ne,oe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*a,(.8+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*a,(.5+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*a,(.5+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*a,(.8+oe)*y).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(re,a,y){var b=new go.Geometry,E=.5,x=0,ee=0,ne=E*ie,oe=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,ue=1,me=.5,fe=.5,Pe=0,xe=new go.PathFigure(oe*a,(1-ae)*y,!1);return b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,me*y,ue*a,.7*y,ue*a,me*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+x)*a,(Pe+x)*y,(.5+E+x)*a,(.5-ne+x)*y,(.5+ne+x)*a,(.5-E+x)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*y,(.5-E+x)*a,(.5+ne+ee)*y,(.5-ne+x)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var x=new go.PathFigure(.45*a,.73*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*a,(1-.555)*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ne=.5,oe=ee,ae=Math.PI/4,ue=4*(1-Math.cos(ae))/(3*Math.sin(ae)),me=ue*.5,fe=ee,Pe=ee,xe=ue*fe,Ee=ue*Pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-fe)*a,oe*y,(ne-(xe+fe)/2)*a,(oe+(Pe+Ee)/2)*y,(ne-fe)*a,(oe+Ee)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-Pe)*y,(ne-fe)*a,(oe-Ee)*y,(ne-xe)*a,(oe-Pe)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+fe)*a,oe*y,(ne+xe)*a,(oe-Pe)*y,(ne+fe)*a,(oe-Ee)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ne+fe)*a,(oe+Ee)*y,(ne+(xe+fe)/2)*a,(oe+(Pe+Ee)/2)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var De=new go.PathFigure(.2*a,y,!1);b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var _e=new go.PathFigure(.8*a,y,!1);return b.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var x=new go.PathFigure(.2*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var ee=new go.PathFigure(.1*a,y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Caution",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,x*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),b}),go.Shape.defineFigureGenerator("Recycle",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var x=new go.PathFigure(.475*a,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=new go.PathFigure(a,E*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+x)*y,(E+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-x)*a,y,0,(E+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-x)*y,(E-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+x)*a,0,a,(E-x)*y));var ne=new go.PathFigure(E*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),b}),go.Shape.defineFigureGenerator("Package",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,.15*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Component",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var x=new go.PathFigure(0,.2*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var x=new go.PathFigure(.15*a,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ne=ie*.1,oe=.2,ae=.9,ue=new go.PathFigure((oe-ee)*a,ae*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*y,(oe+ne)*a,(ae-ee)*y,(oe+ee)*a,(ae-ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*y,(oe-ne)*a,(ae+ee)*y,(oe-ee)*a,(ae+ne)*y).close()),ee=.1,ne=ie*.1,oe=.8,ae=.9;var me=new go.PathFigure((oe-ee)*a,ae*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*y,(oe+ne)*a,(ae-ee)*y,(oe+ee)*a,(ae-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*y,(oe-ne)*a,(ae+ee)*y,(oe-ee)*a,(ae+ne)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b}),go.Shape.defineFigureGenerator("Forklift",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ne=new go.PathFigure(.5*a,.7*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var oe=.1,ae=ie*.1,ue=.1,me=.9,fe=new go.PathFigure((ue-oe)*a,me*y,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me-oe)*y,(ue-oe)*a,(me-ae)*y,(ue-ae)*a,(me-oe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,me*y,(ue+ae)*a,(me-oe)*y,(ue+oe)*a,(me-ae)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me+oe)*y,(ue+oe)*a,(me+ae)*y,(ue+ae)*a,(me+oe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,me*y,(ue-ae)*a,(me+oe)*y,(ue-oe)*a,(me+ae)*y)),oe=.1,ae=ie*.1,ue=.4,me=.9;var Pe=new go.PathFigure((ue-oe)*a,me*y,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me-oe)*y,(ue-oe)*a,(me-ae)*y,(ue-ae)*a,(me-oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,me*y,(ue+ae)*a,(me-oe)*y,(ue+oe)*a,(me-ae)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me+oe)*y,(ue+oe)*a,(me+ae)*y,(ue+ae)*a,(me+oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,me*y,(ue-ae)*a,(me+oe)*y,(ue-oe)*a,(me+ae)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var x=new go.PathFigure(.45*a,.7*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ue=.05,me=ie*.05,fe=.175,Pe=.95,ne=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.375,Pe=.95,oe=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.625,Pe=.95,ae=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.825,Pe=.95,xe=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y).close());var Ee=new go.PathFigure(0,y,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ne=.05,oe=ie*.05,ae=.35,ue=.775,me=new go.PathFigure((ae-ne)*a,ue*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue-ne)*y,(ae-ne)*a,(ue-oe)*y,(ae-oe)*a,(ue-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*a,ue*y,(ae+oe)*a,(ue-ne)*y,(ae+ne)*a,(ue-oe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue+ne)*y,(ae+ne)*a,(ue+oe)*y,(ae+oe)*a,(ue+ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*a,ue*y,(ae-oe)*a,(ue+ne)*y,(ae-ne)*a,(ue+oe)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Globe",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),b}),go.Shape.defineFigureGenerator("Wave",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),b}),go.Shape.defineFigureGenerator("Operator",function(re,a,y){var b=new go.Geometry,E=.3,x=ie*.3,ee=.5,ne=.7,oe=new go.PathFigure((ee-E)*a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y));var ae=new go.PathFigure(0,.7*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var x=new go.PathFigure(0,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b}),go.Shape.defineFigureGenerator("Delete",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y));var ae=new go.PathFigure(.15*a,.5*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),b}),go.Shape.defineFigureGenerator("Flag",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),b}),go.Shape.defineFigureGenerator("Help",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*a,ne*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y).close()),E=.05,x=ie*.05,ee=.5,ne=.8;var ae=new go.PathFigure((ee-E)*a,ne*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y).close()),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),b}),go.Shape.defineFigureGenerator("Location",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),b}),go.Shape.defineFigureGenerator("Unlocked",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),b}),go.Shape.defineFigureGenerator("Gear",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),b}),go.Shape.defineFigureGenerator("Map",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b}),go.Shape.defineFigureGenerator("Eject",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var x=new go.PathFigure(0,y*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var x=new go.PathFigure(.126*a,.85*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ne=new go.PathFigure(.678*a,.85*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var oe=new go.PathFigure(.5*a,.1*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var x=new go.PathFigure(a*.204,y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ne=new go.PathFigure(a*.612,y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var oe=new go.PathFigure(a*.816,y,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ne=new go.PathFigure(a*.055,.18*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var oe=new go.PathFigure(a*1,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),b}),go.Shape.defineFigureGenerator("Key",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var oe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(re,a,y){var b=new go.Geometry,E=8,x=E*ie,ee=new go.PathFigure(E,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ne=new go.PathFigure(a*.83,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var oe=new go.PathFigure(a*.83,y*1,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ae=new go.PathFigure(a*.78,y*.05,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,x=y*.8,ee=new go.Geometry,ne=new go.PathFigure(b,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-E,a-E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ne.add(new go.PathSegment(go.PathSegment.Line,b,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(ee.spot1=new go.Spot(0,0,E,E),ee.spot2=new go.Spot(1,.8,-E,-E)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var x=new go.PathFigure(a*1,y*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var x=new go.PathFigure(a*.1,y*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(re,a,y){var b=new go.Geometry,E=15,x=E*ie,ee=new go.PathFigure(a*.62,y*.475,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var x=new go.PathFigure(a*.235,y*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},25730:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Et={},St="5.0",te={},z=null,se=!1,he=!1,Ie=null,be=!1,Ne=null,ie=null,nt=0;nt<arguments.length;nt++){var je=arguments[nt];if(je!==null)switch(typeof je){case"number":St=je.toFixed(1);break;case"string":je.match(new RegExp("^[0-9]\\.[0-9]+$"))?St=je:Ie=je;break;case"object":typeof je.is3D!="undefined"?z=je:te=je;break;case"boolean":se=je,he=!0;break}}z===null&&(z={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!he&&(se=!0)),Ie!==null&&te.id===void 0&&(te.id=Ie);var Ze="",ze="",Me=!1,ye=null,re=null,a=null,y=!1,b=null,E=null,x=null,ee=null,ne=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var oe=function(Je){return parseFloat(Je)>4?parseFloat(Je):5};Et.setHTML5Codebase=function(Je,st){ie=Je,vt(Je,st)},Et.setJavaCodebase=Et.setJavaCodebaseVersion=Et.isCompiledInstalled=Et.setPreCompiledScriptPath=Et.setPreCompiledResourcePath=function(){},Et.setHTML5CodebaseVersion=function(Je,st){var At=parseFloat(Je);if(At!==NaN&&At<5){console.log("The GeoGebra HTML5 codebase version "+At+" is deprecated. Using version latest instead.");return}Ne=Je,rt(Je,st)},Et.getHTML5CodebaseVersion=function(){return re},Et.getParameters=function(){return te},Et.setFontsCSSURL=function(Je){ee=Je},Et.setGiacJSURL=function(Je){},Et.setJNLPFile=function(Je){Ze=Je},Et.setJNLPBaseDir=function(Je){},Et.inject=function(){function Je(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var st="auto",At=te.id,Nt,Pt=!1,sn=0;sn<arguments.length;sn++){var Fe=arguments[sn];typeof Fe=="string"?(Fe=Fe.toLowerCase(),Fe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?st=Fe:At=arguments[sn]):typeof Fe=="boolean"?Pt=Fe:Fe instanceof HTMLElement&&(Nt=Fe)}Qt();function Qt(){if(!be){setTimeout(Qt,200);return}st=Ve(st);var Gt=Nt||document.getElementById(At);if(!Gt){console.log("possibly bug on ajax loading? ");return}if(Et.removeExistingApplet(Gt,!1),te.width===void 0&&Gt.clientWidth&&(te.width=Gt.clientWidth),te.height===void 0&&Gt.clientHeight&&(te.height=Gt.clientHeight),!(te.width&&te.height)&&st==="html5"&&(delete te.width,delete te.height),ye=st,st==="screenshot")_e(Gt,te);else{var Hn=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?Hn=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(Hn=(!ae()||Je())&&ue()),Hn?(ye="screenshot",Be(Gt,te,Pt,st)):De(Gt,te,Pt)}}};function ae(){try{return window.self!==window.top}catch(Je){return!0}}function ue(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Et.getViews=function(){return z},Et.isJavaInstalled=function(){return!1};var me=function(Je){var st=function(sn){var Fe=JSON.parse(sn),Qt=function(ea){return ea.type=="G"||ea.type=="E"},Gt=Fe.elements?Fe.elements.filter(Qt)[0]:Fe;if(!Gt||!Gt.url){At();return}te.fileName=Gt.url,fe(Gt.settings||{}),z.is3D=!0;var Hn="https://www.geogebra.org/images/";Et.setPreviewImage(b||Gt.previewUrl,Hn+"GeoGebra_loading.png",Hn+"applet_play.png"),Je()},At=function(){te.onError&&te.onError(),Rt("Error: Fetching material (id "+te.material_id+") failed.",te)},Nt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Pt="/materials/"+te.material_id+"?scope=basic";Pe("https://"+Nt+"/api/proxy.php?path="+encodeURIComponent(Pt),st,At)};function fe(Je){var st=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(At){Je[At]=!!Je[At]}),st.forEach(function(At){te[At]===void 0&&Je[At]!==void 0&&(te[At]=Je[At])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function Pe(Je,st,At){var Nt=new XMLHttpRequest;Nt.open("GET",Je),Nt.onload=function(){st(Nt.responseText)},Nt.onerror=At,Nt.send()}Et.isHTML5Installed=function(){return!0},Et.getLoadedAppletType=function(){return ye},Et.setPreviewImage=function(Je,st,At){b=Je,E=st,x=At},Et.removeExistingApplet=function(Je,st){var At;typeof Je=="string"&&(Je=document.getElementById(Je)),ye=null;var Nt=null;for(At=0;At<Je.childNodes.length;At++){var Pt=Je.childNodes[At],sn=Pt.className;sn==="applet_screenshot"?st?(Pt.style.display="block",ye="screenshot"):Pt.style.display="none":sn!=="applet_scaler prerender"&&(Je.removeChild(Pt),Nt=sn&&sn.indexOf("appletParameters")!=-1?Pt.id:null,At--)}var Fe=te.id!==void 0?te.id:Nt,Qt=window[Fe];Qt&&typeof Qt.getBase64=="function"&&(Qt.remove(),window[Fe]=null)},Et.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Je=Et.getAppletObject();return Je&&typeof Je.recalculateEnvironments=="function"?(Je.recalculateEnvironments(),!0):!1},Et.startAnimation=function(){var Je=Et.getAppletObject();return Je&&typeof Je.startAnimation=="function"?(Je.startAnimation(),!0):!1},Et.stopAnimation=function(){var Je=Et.getAppletObject();return Je&&typeof Je.stopAnimation=="function"?(Je.stopAnimation(),!0):!1},Et.getAppletObject=function(){var Je=te.id!==void 0?te.id:"ggbApplet";return window[Je]},Et.resize=function(){};var xe=function(Je,st,At){var Nt=document.createElement("param");Nt.setAttribute("name",st),Nt.setAttribute("value",At),Je.appendChild(Nt)},Ee=function(Je){return Je&&Je!=="false"},De=function(Je,st,At){oe(re)<=4.2&&(At=!0);var Nt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==re||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Nt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Pt=document.createElement("div");Pt.classList.add("appletParameters","notranslate");var sn=st.width,Fe=st.height;if(st.disableAutoScale=st.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():st.disableAutoScale,st.width!==void 0)if(oe(re)<=4.4)Ee(st.showToolBar)&&(st.height-=7),Ee(st.showAlgebraInput)&&(st.height-=37),st.width<605&&Ee(st.showToolBar)&&(st.width=605,sn=605);else{var Qt=100;(Ee(st.showToolBar)||Ee(st.showMenuBar))&&(st.hasOwnProperty("customToolBar")&&(st.customToolbar=st.customToolBar),Qt=Ee(st.showMenuBar)?245:155),sn<Qt&&(st.width=Qt,sn=Qt)}Pt.style.border="none",Pt.style.display="inline-block";for(var Gt in st)st.hasOwnProperty(Gt)&&Gt!=="appletOnLoad"&&Pt.setAttribute("data-param-"+Gt,st[Gt]);ee&&Pt.setAttribute("data-param-fontscssurl",ee),Et.resize=function(){GGBAppletUtils.responsiveResize(Je,st)},window.addEventListener("resize",function(we){Et.resize()});var Hn=typeof st.appletOnLoad=="function"?st.appletOnLoad:function(){};if(!At&&st.width!==void 0){st.hasOwnProperty("showSplash")||Pt.setAttribute("data-param-showSplash","false");var ea=Je.querySelector(".applet_scaler.prerender"),Re=ea!==null;if(Re)var qe=ea.querySelector(".ggb_preview");else{var qe=Ke(sn,Fe,st.borderColor,!1);ea=document.createElement("div"),ea.className="applet_scaler",ea.style.position="relative",ea.style.display="block",ea.style.width=sn+"px",ea.style.height=Fe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ea,"66%"),oe(re)>=5?(st.appletOnLoad=function(we){var mt=Je.querySelector(".ggb_preview");mt&&mt.parentNode.removeChild(mt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ea),window.GGBT_wsf_view&&$(window).trigger("resize"),Hn(we)},Re||ea.appendChild(qe)):Pt.appendChild(qe),ea.appendChild(Pt),Re||Je.appendChild(ea),setTimeout(function(){Et.resize()},1)}else{var tt=document.createElement("div");tt.className="applet_scaler",tt.style.position="relative",tt.style.display="block",tt.appendChild(Pt),Je.appendChild(tt),st.appletOnLoad=function(we){Et.resize(),Hn(we)}}function Le(we,mt){mt&&typeof mt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(we,mt.appletOnLoad):renderGGBElement(we),Rt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",mt)}function ft(we,mt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:we,params:mt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(et){Le(et.article,et.params)}),html5AppletsToProcess=null)},oe(re)<5&&(we.className+=" geogebraweb")):Le(we,mt)}if(Nt){scriptLoadStarted=!0;for(var gt=0;gt<Pt.childNodes.length;gt++){var Oe=Pt.childNodes[gt].tagName;Oe==="TABLE"&&(Pt.removeChild(Pt.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var ve=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ve!=null&&ve.parentNode.removeChild(ve)}var Ge=document.createElement("script"),We=function(){ft(Pt,st)};Ge.src=ze+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=re,ggbHTML5LoadedScript=Ge.src,Rt("GeoGebra HTML5 codebase loaded: '"+ze+"'.",st),!ie&&(!Ne||Ne=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),We()):ze.requirejs?__webpack_require__.e(3690).then(function(){var we=[__webpack_require__(63690)];We.apply(null,we)}.bind(this)).catch(__webpack_require__.oe):(Ge.onload=We,Je.appendChild(Ge))}else ft(Pt,st);st.height=Fe,st.width=sn},_e=function(Je,st,At){var Nt=Ke(st.width,st.height,st.borderColor,At),Pt=document.createElement("div");Pt.style.position="relative",Pt.style.display="block",Pt.style.width=st.width+"px",Pt.style.height=st.height+"px",Pt.className="applet_screenshot applet_scaler"+(At?" applet_screenshot_play":""),Pt.appendChild(Nt);var sn=GGBAppletUtils.getScale(st,Je,At);At?(Je.appendChild($e()),window.GGBT_wsf_view||(Je.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Pt,"66%"),Je.appendChild(Pt),sn!==1&&!isNaN(sn)&&(GGBAppletUtils.scaleElement(Pt,sn),Pt.style.width=st.width+"px",Pt.style.height=st.height+"px",Pt.parentNode.style.width=st.width*sn+"px",Pt.parentNode.style.height=st.height*sn+"px"),Et.resize=function(){pt(Je,Nt,Pt,At)},window.addEventListener("resize",function(Fe){Et.resize()}),Et.resize()};function pt(Je,st,At,Nt){if(Je.contains(st)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Je.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Je)}var Pt=GGBAppletUtils.getScale(te,Je,Nt);At.parentNode!==null&&(!isNaN(Pt)&&Pt!==1?(GGBAppletUtils.scaleElement(At,Pt),At.parentNode.style.width=te.width*Pt+"px",At.parentNode.style.height=te.height*Pt+"px"):(GGBAppletUtils.scaleElement(At,1),At.parentNode.style.width=te.width+"px",At.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Je),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Et.onExitFullscreen=function(Je,st){st.appendChild(Je)};var Be=function(Je,st,At,Nt){_e(Je,st,!0);for(var Pt=function(){var Qt=[];for(Fe=0;Fe<Je.childNodes.length;Fe++)Qt.push(Je.childNodes[Fe]);if(window.GGBT_wsf_view){var Gt=window.GGBT_wsf_view.renderFullScreen(Je,st.id),Hn=document.getElementById("fullscreencontainer"),ea=jQuery(Je).find(".fullscreencontent");ea.length>0?(Gt.remove(),ea.attr("id","fullscreencontent").show(),jQuery(Hn).append(ea),window.dispatchEvent(new Event("resize"))):De(Gt,st,!1),window.GGBT_wsf_view.launchFullScreen(Hn)}else ye=Nt,De(Je,st,!1);if(!window.GGBT_wsf_view)for(Fe=0;Fe<Qt.length;Fe++)Je.removeChild(Qt[Fe])},sn=Je.getElementsByClassName("ggb_preview_play"),Fe=0;Fe<sn.length;Fe++)sn[Fe].addEventListener("click",Pt,!1),sn[Fe].addEventListener("ontouchstart",Pt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Je),ue()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},$e=function(){var Je=document.createElement("div");if(Je.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var st='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',At=document.createElement("style");At.styleSheet?At.styleSheet.cssText=st:At.appendChild(document.createTextNode(st)),document.getElementsByTagName("head")[0].appendChild(At)}return Je},Ke=function(Je,st,At,Nt){var Pt=document.createElement("div");Pt.className="ggb_preview",Pt.style.position="absolute",Pt.style.zIndex="90",Pt.style.width=Je-2+"px",Pt.style.height=st-2+"px",Pt.style.top="0px",Pt.style.left="0px",Pt.style.overflow="hidden",Pt.style.backgroundColor="white";var sn="lightgrey";At!==void 0&&(At==="none"?sn="transparent":sn=At),Pt.style.border="1px solid "+sn;var Fe=document.createElement("img");if(Fe.style.position="relative",Fe.style.zIndex="1000",Fe.style.top="-1px",Fe.style.left="-1px",b!==null&&Fe.setAttribute("src",b),Fe.style.opacity=.7,E!==null){var Qt,Gt,Hn;if(!Nt){Qt=document.createElement("img"),Qt.style.position="absolute",Qt.style.zIndex="1001",Qt.style.opacity=1,Fe.style.opacity=.3,Gt=360,Gt>Je/4*3&&(Gt=Je/4*3),Hn=Gt/5.8,Qt.setAttribute("src",E),Qt.setAttribute("width",Gt),Qt.setAttribute("height",Hn);var ea=(Je-Gt)/2,Re=(st-Hn)/2;Qt.style.left=ea+"px",Qt.style.top=Re+"px",Pt.appendChild(Qt)}}return Pt.appendChild(Fe),Pt},Ve=function(Je){return Je=Je.toLowerCase(),Je==="html5"||Je==="screenshot"?Je:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],rt=function(Je,st){if(re=Je,st){vt(re,!0);return}var At=!se;if(At){var Nt=oe(re);!isNaN(Nt)&&Nt<4.4&&(At=!1)}var Pt,sn;window.location.protocol.substr(0,4)==="http"?Pt=window.location.protocol:Pt="http:";var Fe=re.indexOf("//");Fe>0?sn=re:Fe===0?sn=Pt+re:sn="https://www.geogebra.org/apps/5.2.814.0/";for(var Qt in it)if(re.slice(it[Qt].length*-1)===it[Qt]||re.slice((it[Qt].length+1)*-1)===it[Qt]+"/"){vt(sn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&At&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!Ee(te.showToolBar)&&!Ee(te.showMenuBar)&&!Ee(te.showAlgebraInput)&&!Ee(te.enableRightClick)&&(!te.appName||te.appName=="classic")?sn+="webSimple/":sn+="web3d/",vt(sn,!1)},vt=function(Je,st){if(Je.requirejs){ze=Je;return}Je.slice(-1)!=="/"&&(Je+="/"),ze=Je,st===null&&(st=Je.indexOf("http")===-1),Me=st,a="web.nocache.js",y=!1;var At=ze.split("/");At.length>1&&(!st&&At[At.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):it.indexOf(At[At.length-2])>=0&&(a=At[At.length-2]+".nocache.js")),At=Je.split("/"),re=At[At.length-3],re.substr(0,4)==="test"?re=re.substr(4,1)+"."+re.substr(5,1):(re.substr(0,3)==="war"||re.substr(0,4)==="beta")&&(re="5.0");var Nt=parseFloat(re);Nt!==NaN&&Nt<5&&Je.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Nt+" is deprecated. Using version latest instead."),rt("5.0",st))},Rt=function(Je,st){window.console&&window.console.log&&(!st||typeof st.showLogging=="undefined"||st.showLogging&&st.showLogging!=="false")&&console.log(Je)};te.material_id!==void 0?me(Yt):Yt();function Yt(){var Je=St;Ne!==null?Je=Ne:parseFloat(Je)<5&&(Je="5.0"),rt(Je,!1),ie!==null&&vt(ie,Me),be=!0}return Et},GGBAppletUtils=function(){"use strict";function Et(){return window.GGBT_wsf_edit!==void 0}function St(be,Ne){Ne!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+Ne+","+Ne+")",be.style.webkitTransform="scale("+Ne+","+Ne+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function te(be,Ne,ie,nt,je,Ze){var ze=null;if(Ze!=null&&Ze!="")for(var Me=be.parentNode;Me!=null;)if((" "+Me.className+" ").indexOf(" "+Ze+" ")>-1){ze=Me;break}else Me=Me.parentNode;var ye=0,re=0,a=0,y=0,b=0,E=0,x=0;if(ze)ye=ze.offsetWidth,re=Math.max(nt?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ye=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ye):(ye=window.innerWidth,re=window.innerHeight,a=window.innerWidth),be){var ee=be.getBoundingClientRect();ee.left>0&&ee.left<=ye&&(je===void 0||!je)&&(document.dir==="rtl"?(b=ye-ee.width-ee.left,E=a<=480?10:30):(E=ee.left,b=a<=480?10:30),y=E+b)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,x=40)}}return be&&((ie===void 0||!ie)&&Ne>0&&Ne+y<ye?ye=Ne:ye-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie===void 0||!ie)&&(re-=x)),{width:ye,height:re}}function z(be,Ne,ie,nt,je){if(be.isScreenshoGenerator)return 1;var Ze=nt!==void 0&&nt,ze=be.noScaleMargin!=null&&be.noScaleMargin,Me=function(ne){return ne&&ne!=="false"},ye=Me(be.autoHeight),re=te(Ne,be.width,ie,ye,Ze&&window.GGBT_wsf_view||ze,je),a=parseInt(re.width),y=be.width,b=be.height;if(y===void 0){var E=Ne.querySelector(".appletParameters");E&&(y=E.offsetWidth,b=E.offsetHeight)}var x=a/y,ee=Ze?1:re.height/b;return ie!==void 0&&!ie&&(x=Math.min(1,x),ee=Math.min(1,ee)),Math.min(x,ee)}function se(be,Ne,ie){var nt=1,je,Ze=!1;if(be.hasOwnProperty("allowUpscale")&&(Ze=be.allowUpscale),be.hasOwnProperty("scale")&&(nt=parseFloat(be.scale),(isNaN(nt)||nt===null||nt===0)&&(nt=1),nt>1&&(Ze=!0)),Ne&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ze=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))je=z(be,Ne,Ze,ie,be.scaleContainerClass);else return nt;return Ze&&(!be.hasOwnProperty("scale")||nt===1)?je:Math.min(nt,je)}function he(be){var Ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),nt=be.getBoundingClientRect(),je=(Ne-nt.width)/2,Ze=(ie-nt.height)/2;Ze<0&&(Ze=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je<40?be.style.left="40px":be.style.left=je+"px",be.style.top=Ze+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ze<40?be.style.top="40px":be.style.top=Ze+"px",be.style.left=je+"px")}function Ie(be,Ne){var ie=be.querySelector(".appletParameters");if(ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ne.id!==ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(ie.parentElement&&/fullscreen/.test(ie.parentElement.className))return;var nt=se(Ne,be);Et()&&ie.setAttribute("data-param-scale",nt);for(var je=null,Ze=0;Ze<be.childNodes.length;Ze++)if(be.childNodes[Ze].className!==void 0&&be.childNodes[Ze].className.match(/^applet_scaler/)){je=be.childNodes[Ze];break}if(je!==null&&je.querySelector(".noscale")!==null)return;var ze=Ne.id!==void 0?Ne.id:"ggbApplet",Me=window[ze];(Me==null||!Me.recalculateEnvironments)&&je!==null&&!je.className.match(/fullscreen/)&&(je.parentNode.style.transform="",!isNaN(nt)&&nt!==1?(je.parentNode.style.width=Ne.width*nt+"px",je.parentNode.style.height=Ne.height*nt+"px",St(je,nt)):(St(je,1),je.parentNode.style.width=Ne.width+"px",je.parentNode.style.height=Ne.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&he(be),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ie).parents(".content-added-content"))}}return{responsiveResize:Ie,isFlexibleWorksheetEditor:Et,positionCenter:he,getScale:se,scaleElement:St}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Et=n.location.search;return Et.indexOf(J)!=-1||Et.indexOf(K)!=-1}function q(Et,St){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Et){var St=s[L].bindings;s[L].bindings=function(){for(var te=St?St():{},z=Et[webModule.__softPermutationId],se=O;se<z.length;se++){var he=z[se];te[he[O]]=he[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var Et=o.createElement(Q);if(Et.id=L,Et.style.cssText=R+S,Et.tabIndex=-1,o.body.appendChild(Et),t=Et.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var St=document.compatMode==U?V:W;t.write(St+X),t.close()}}}function w(Et){function St(z){function se(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var he=se();if(he){z();return}function Ie(){if(!he){if(!se())return;he=!0,z(),o.removeEventListener&&o.removeEventListener(Z,Ie,!1),be&&clearInterval(be)}}o.addEventListener&&o.addEventListener(Z,Ie,!1);var be=setInterval(function(){Ie()},$)}function te(z){var se=u(),he=se.body,Ie=se.createElement(_);Ie.language=ab,Ie.crossOrigin=W,Ie.src=z,webModule.__errFn&&(Ie.onerror=function(){webModule.__errFn(L,new Error(bb+z))}),he.appendChild(Ie)}St(function(){te(Et)})}webModule.__startLoadingFragment=function(Et){return C(Et)},webModule.__installRunAsyncCode=function(Et){var St=u(),te=St.body,z=St.createElement(_);z.language=ab,z.text=Et,te.appendChild(z),te.removeChild(z)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Et){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Et){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Et){var St=c[Et];return St==null?null:St},r=d,webModule.__errFn=e}function B(){function Et(be){var Ne=be.lastIndexOf(rb);Ne==-1&&(Ne=be.length);var ie=be.indexOf(sb);ie==-1&&(ie=be.length);var nt=be.lastIndexOf(tb,Math.min(ie,Ne));return nt>=O?be.substring(O,nt+P):W}function St(be){if(!be.match(/^\w+:\/\//)){var Ne=o.createElement(ub);Ne.src=be+vb,be=Et(Ne.src)}return be}function te(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function z(){for(var be=o.getElementsByTagName(_),Ne=O;Ne<be.length;++Ne)if(be[Ne].src.indexOf(xb)!=-1)return Et(be[Ne].src);return W}function se(){var be=o.getElementsByTagName(yb);return be.length>O?be[be.length-P].href:W}function he(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Ie=te();return Ie==W&&(Ie=z()),Ie==W&&(Ie=se()),Ie==W&&he()&&(Ie=Et(o.location.href)),Ie=St(Ie),Ie}function C(Et){return Et.match(/^\//)||Et.match(/^[a-zA-Z]+:\/\//)?Et:webModule.__moduleBase+Et}function D(){var Et=[],St=O,te=[],z=[];function se(be){var Ne=z[be](),ie=te[be];if(Ne in ie)return Ne;var nt=[];for(var je in ie)nt[ie[je]]=je;throw r&&r(be,nt,Ne),null}if(__gwt_isKnownPropertyValue=function(be,Ne){return Ne in te[be]},webModule.__getPropMap=function(){var be={};for(var Ne in te)te.hasOwnProperty(Ne)&&(be[Ne]=se(Ne));return be},webModule.__computePropValue=se,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var he;try{he=Cb;var Ie=he.indexOf(Db);Ie!=-1&&(St=parseInt(he.substring(Ie+P),$),he=he.substring(O,Ie))}catch(be){}return webModule.__softPermutationId=St,C(he+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},82977:function(Et,St,te){"use strict";te.d(St,{Ax:function(){return Ie},Ds:function(){return be},KI:function(){return ie},SI:function(){return he},f1:function(){return se}});var z=te(49647);function se(nt){let je=!0;if(nt.length>0){for(let Ze=0;Ze<nt.length;Ze++)if(nt[Ze].compile_success==0||!nt[Ze].compile_success){je=!1;break}}else je=!1;return je}function he(nt,je=""){let Ze=[];for(let ze=0;ze<nt.length;ze++){let Me=nt[ze],ye=je?`${je}/${Me.name}`:`${Me.name}`;Ze.push({title:Me.name,type:Me.type,isLeaf:Me.type!=="tree",key:ye})}return Ze}function Ie(nt,je,Ze){for(let ze=0;ze<nt.length;ze++){let Me=nt[ze];if(Me.key===je){Me.children=Ze;break}Me.children&&Ie(Me.children,je,Ze)}return nt}function be(nt,je,Ze){let ze;return function(){let Me=this,ye=arguments,re=function(){ze=null,Ze||nt.apply(Me,ye)},a=Ze&&!ze;clearTimeout(ze),ze=setTimeout(re,je),a&&nt.apply(Me,ye)}}const Ne=!0,ie=z.Z.API_SERVER},33829:function(Et,St,te){"use strict";te.d(St,{Z:function(){return x}});var z=te(59301),se=te(78241),he=te(8591),Ie=te(43418),be=te(5083),Ne=te(92832),ie=te(1710),nt=te(95237),je=te(43604),Ze=te(66649),ze=te.n(Ze),Me=te(19374),ye=te(75790),re={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},a=te(98458),y=te(95211),b=(ee,ne,oe)=>new Promise((ae,ue)=>{var me=xe=>{try{Pe(oe.next(xe))}catch(Ee){ue(Ee)}},fe=xe=>{try{Pe(oe.throw(xe))}catch(Ee){ue(Ee)}},Pe=xe=>xe.done?ae(xe.value):Promise.resolve(xe.value).then(me,fe);Pe((oe=oe.apply(ee,ne)).next())});const E=({dispatch:ee,courseEndTime:ne,classroomList:oe,successCallback:ae=()=>{},visible:ue,homeworkIds:me,courseId:fe,isBatch:Pe,shixunHomeworks:xe})=>{const[Ee]=se.default.useForm(),[De,_e]=(0,z.useState)(!1),[pt,Be]=(0,z.useState)(!1),[$e,Ke]=(0,z.useState)(!1),[Ve,it]=(0,z.useState)([]),[rt,vt]=(0,z.useState)([]),[Rt,Yt]=(0,z.useState)([]),[Je,st]=(0,z.useState)([]),[At,Nt]=(0,z.useState)([]),[Pt,sn]=(0,z.useState)([]),[Fe,Qt]=(0,z.useState)([]),[Gt,Hn]=(0,z.useState)([]),[ea,Re]=(0,z.useState)([]);(0,z.useEffect)(()=>{ue?qe():Le()},[ue]);const qe=()=>b(void 0,null,function*(){_e(!0);const ft=yield(0,a.oR)(me[0],{course_id:fe});Ke(ft.no_group),Pe?(Qt(ft.all_course_groups),Hn(ft.all_course_groups)):(st(ft.late_course_groups),Nt(ft.late_course_groups),it(ft.submit_course_groups),vt(ft.submit_course_groups)),_e(!1),Ee.setFieldsValue({end_time:ze()()})}),tt=()=>b(void 0,null,function*(){const ft=Ee.getFieldsValue(),gt=ze()(ft.end_time).format("YYYY-MM-DD HH:mm");if((Pe?ea.length===0:Rt.length===0&&Pt.length===0)&&!$e){he.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}Be(!0);const ve=yield(0,a.Mc)(fe,{no_group:$e,homework_ids:me,group_ids:Pe?ea:Rt,end_time:gt,late_group_ids:Pe?ea:Pt});Be(!1),ve.status===0&&(Le(),he.ZP.success("\u64CD\u4F5C\u6210\u529F"),ae(),ee({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),Le=()=>{Yt([]),sn([]),vt([]),Nt([])};return z.createElement(Ie.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:re.modalWrapper,width:Pe||$e?520:760,open:ue,confirmLoading:pt,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>tt(),onCancel:()=>{Le(),ee({type:"classroomList/setActionTabs",payload:{}})}},z.createElement("div",{className:re.tips},z.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),z.createElement("div",null,"2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002")),z.createElement(se.default,{form:Ee,layout:"vertical"},z.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},z.createElement(be.default,{style:{width:"100%"},disabledDate:ft=>(0,y.Q8)(ft,ne),disabledTime:ft=>(0,y.d0)(ft),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ze()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!$e&&z.createElement(z.Fragment,null,Pe?z.createElement("div",null,z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:ft=>{Hn(Fe.filter(gt=>gt.name.indexOf(ft.target.value)>-1))}}),z.createElement(ie.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:ft=>{Re(ft)}},rowKey:"id",pagination:!1,dataSource:Gt,loading:De,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):z.createElement(nt.Z,{gutter:24},z.createElement(je.Z,{span:14},z.createElement("div",{className:re.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:ft=>{vt(Ve.filter(gt=>gt.name.indexOf(ft.target.value)>-1))}}),z.createElement("div",{className:re.tableWrapper},z.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:ft=>{Yt(ft)}},rowKey:"id",pagination:!1,dataSource:rt,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"}]}))),z.createElement(je.Z,{flex:10,style:{maxWidth:"280px"}},z.createElement("div",{className:re.homeworkType},"\u8865\u4EA4\u622A\u6B62"),z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:ft=>{Nt(Je.filter(gt=>gt.name.indexOf(ft.target.value)>-1))}}),z.createElement("div",{className:re.tableWrapper},z.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:ft=>{sn(ft)}},rowKey:"id",pagination:!1,loading:De,dataSource:At,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var x=(0,ye.connect)(({shixunHomeworks:ee,classroomList:ne})=>({shixunHomeworks:ee,classroomList:ne}))(E)},5140:function(Et,St,te){"use strict";te.d(St,{Z:function(){return ze}});var z=te(59301),se={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},he=te(92310),Ie=te.n(he),be=te(71418),Ne=te(2859),ie=te(98280),nt=te(19374),je=(Me,ye,re)=>new Promise((a,y)=>{var b=ee=>{try{x(re.next(ee))}catch(ne){y(ne)}},E=ee=>{try{x(re.throw(ee))}catch(ne){y(ne)}},x=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(b,E);x((re=re.apply(Me,ye)).next())}),ze=({data:Me,className:ye,fullWidth:re,style:a={},onClose:y,onOk:b,showFullTools:E,noAssociationId:x})=>{const ee=(0,z.useRef)(null),ne=(0,z.useRef)(null),oe=(0,z.useRef)(null),ae=(0,z.useRef)(null),[ue,me]=(0,z.useState)(!1),[fe,Pe]=(0,z.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,z.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),Me!=null&&Me.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",Me!=null&&Me.src&&xe()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[Me==null?void 0:Me.visible]);const xe=()=>je(void 0,null,function*(){me(!0),Pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Be=yield(0,nt.ZJ)(Me==null?void 0:Me.src);ee.current.src="",ee.current.src=Be,ee.current.onload=function(){pt()},me(!1),Pe("")}),Ee=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",y()},De=Be=>je(void 0,null,function*(){me(!0),Pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const $e=yield(0,ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Me.title,file:Be.dataUrl}});$e!=null&&$e.id&&!x?(yield(0,ie.ZP)(`/api/attachments/${Me.id}/add_subitem.json`,{method:"post",body:{subitem_id:$e==null?void 0:$e.id,settings:JSON.stringify(Be.state)}})).status===0&&b():$e!=null&&$e.id&&b($e),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",me(!1),Pe("")}),_e=()=>{const Be=document.querySelector('a[href="https://markerjs.com/"]');Be&&Be.parentNode&&(Be.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(Ke=>{const Ve=document.querySelector(Ke.name);Ve&&Ve.setAttribute("title",Ke.title)})},pt=()=>{ne.current=new Ne.hP(ee.current),ne.current.targetRoot=ae.current,ne.current.addEventListener("render",De),ne.current.addEventListener("beforeclose",Ee),E&&(ne.current.availableMarkerTypes=ne.current.ALL_MARKER_TYPES,ne.current.uiStyleSettings.redoButtonVisible=!0,ne.current.uiStyleSettings.notesButtonVisible=!0,ne.current.uiStyleSettings.zoomButtonVisible=!0,ne.current.uiStyleSettings.zoomOutButtonVisible=!0,ne.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ne.current.uiStyleSettings,ne.current.show(),Me!=null&&Me.snapshotData&&ne.current.restoreState(Me.snapshotData),setTimeout(()=>{window.scrollTo(0,0),_e()},300)};return z.createElement(z.Fragment,null,(Me==null?void 0:Me.visible)&&z.createElement(be.Z,{spinning:ue,tip:fe,style:{position:"absolute"}},z.createElement("div",{ref:ae,className:Ie()(se.imageDimensions,ye,re?se.fullWidth:""),style:a},z.createElement("img",{className:se.img,ref:ee}))))}},88601:function(Et,St,te){"use strict";var z=te(59301),se=te(95237),he=te(43604),Ie=te(99313),be=te(3113),Ne=te(12470),ie=te(69453),nt=te(48136),je=te(59301);const Ze=(0,z.forwardRef)(({callback:ze,showSaveButton:Me,value:ye=""},re)=>{const a=(0,z.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],b=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
y=b + r\\text{sin}\\theta \r
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\left\\{\\begin{matrix} \r
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
\\end{matrix}\\right. \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
a \\perp \\alpha \\ \r
|
|
b \\perp \\alpha \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
a \\perp m,a \\perp n \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
a^{2}+b^{2}=c^{2} \r
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
a,b \\in R^{+} \\ \r
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
a,b \\in R \\ \r
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
P \\left( S \\right) =1 \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
\\forall A \\in S \\\\ \r
|
|
P \\left( A \\right) \\ge 0 \r
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
P_{n}=n! \\\\ \r
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
\\end{array}`}]}]}],E=ne=>{a.current.setValue(a.current.getValue()+" "+ne.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:je.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((ne,oe)=>je.createElement(he.Z,{flex:"110px",className:ie.Z.item},je.createElement("div",null,je.createElement(Ne.Z,{value:`$$${ne.value}$$`}),ne.name),je.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>je.createElement("div",{key:ue},je.createElement("h1",null,ae.name),je.createElement(se.Z,{gutter:[10,10]},ae.data.map((me,fe)=>je.createElement(he.Z,{key:fe,onClick:()=>E(me),className:ie.Z.diamond},je.createElement(Ne.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:je.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},b.map((ne,oe)=>je.createElement(he.Z,{flex:"110px",className:ie.Z.item},je.createElement("div",null,je.createElement(Ne.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),je.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>je.createElement("div",{key:ue},ae.name&&je.createElement("h1",null,ae.name),je.createElement(se.Z,{gutter:[10,10]},ae.data.map((me,fe)=>je.createElement(he.Z,{key:fe,onClick:()=>E(me),className:ie.Z.diamond},je.createElement(Ne.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],ee=()=>{var ne=document.createElement("div");ne.innerHTML=a.current.getValue();var oe=ne.innerText;return ze&&ze(oe),oe};return(0,z.useImperativeHandle)(re,()=>({getData:ee})),je.createElement("div",{className:ie.Z.mathWrap},je.createElement(Ie.default,{defaultActiveKey:"1",items:x}),je.createElement("math-field",{locale:"zh_cn",className:ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ye||""),Me&&je.createElement("div",{className:ie.Z.button},je.createElement(be.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});St.Z=Ze},36222:function(Et,St,te){"use strict";te.d(St,{Q:function(){return Ne}});var z=te(59301),se=te(57809),he=te(5112),Ie=te(5871),be=te(59301),Ne=(nt=>(nt[nt.Number=1]="Number",nt[nt.Percent=2]="Percent",nt))(Ne||{});const ie=({value:nt,onChange:je,disabled:Ze,hidePercentOption:ze=!1,percentType:Me="select"})=>{const ye=(0,z.useMemo)(()=>ze?1:2,[ze]),[re,a]=(0,z.useState)(ye);console.log(re);const y=E=>nt.type===1?`${E}\u5206`:`${E}%`,b=(0,z.useCallback)(E=>{if(re===1){const x=E.replace("\u5206","");return isNaN(parseInt(x,10))?0:x}else return E.replace("%","")},[re]);return(0,z.useEffect)(()=>{a(nt.type)},[nt]),be.createElement("div",{style:{display:"flex",alignItems:"center"}},Me=="select"&&be.createElement(se.default,{size:"large",onChange:E=>{a(E),je({type:E,inputValue:E===1?5:20})},value:re||ye,style:{width:100},options:ze?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Ze}),Me=="radio"&&be.createElement(he.ZP.Group,{size:"large",onChange:E=>{const x=E.target.value;a(x),je({type:x,inputValue:x===1?5:20})},value:re||ye,disabled:Ze},!ze&&be.createElement(he.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),be.createElement(he.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Me=="radio"&&be.createElement("div",{style:{marginRight:"10px",color:"#000000"}},nt.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),be.createElement(Ie.Z,{size:"large",disabled:Ze,value:nt.inputValue,style:{width:"120px"},parser:b,addonAfter:nt.type===1?"\u5206":"%",max:re===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:E=>{je({type:re,inputValue:E})}}),Me=="radio"&&nt.type==2&&be.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};St.Z=ie},89975:function(Et,St,te){"use strict";te.d(St,{Z:function(){return nt}});var z=te(59301),se={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},he=te(43418),Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ne=(je,Ze,ze)=>new Promise((Me,ye)=>{var re=b=>{try{y(ze.next(b))}catch(E){ye(E)}},a=b=>{try{y(ze.throw(b))}catch(E){ye(E)}},y=b=>b.done?Me(b.value):Promise.resolve(b.value).then(re,a);y((ze=ze.apply(je,Ze)).next())}),nt=({type:je,resdata:Ze,onok:ze,oktext:Me,okloading:ye})=>{const[re,a]=(0,z.useState)(!1),{can_copy_list:y,can_copy_num:b,challenge_type:E,course_data_list:x,no_copy_list:ee,no_copy_num:ne,no_use_list:oe,no_use_num:ae,repeat_shixun_num:ue,student_count:me,total_num:fe,use_num:Pe}=Ze;let xe=b>0||je==="exercise";(0,z.useEffect)(()=>{(Ze==null?void 0:Ze.student_count)>0&&a(!0)},[Ze]),console.log("---11",ye),(0,z.useEffect)(()=>{ye||a(!1)},[ye]);const Ee=()=>{if(je==="exercise"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(je==="exercise"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",z.createElement("span",{className:se.orangeColor},me)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",z.createElement("span",{className:se.orangeColor},Pe)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="exercisepush")return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(je==="shixunpush"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixunpush"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},De=()=>{if(je==="exercise"||je==="subject"||je==="exercisepush"||je==="shixunpush")return z.createElement("div",{style:{marginTop:20}},ne>0&&z.createElement("div",null,z.createElement("span",{className:se.flex},z.createElement("img",{src:be,style:{width:14}}),z.createElement("span",{className:se.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:se.statusbody},je==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(je==="subject"||je==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&z.createElement("span",{className:se.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),je==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&z.createElement("span",{className:se.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),z.createElement("div",null,ee==null?void 0:ee.map((_e,pt)=>z.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},"\u300A",_e==null?void 0:_e.name,"\u300B",pt+1!==ne&&"\u3001"))))),b>0&&z.createElement("div",{style:{marginTop:20}},z.createElement("span",{className:se.flex},z.createElement("img",{src:Ie,style:{width:14}}),z.createElement("span",{className:se.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:se.statusbody},je==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(je==="subject"||je==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),je==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),z.createElement("div",null,y==null?void 0:y.map((_e,pt)=>z.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},"\u300A",_e==null?void 0:_e.name,"\u300B",pt+1!==b&&"\u3001"))))));if(je==="shixun")return z.createElement("div",{style:{marginTop:20}},b>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return z.createElement(he.default,{open:re,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!xe&&"none"}},zIndex:1003,confirmLoading:ye,okText:xe?Me:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ne(void 0,null,function*(){xe?yield ze([...y,...oe]):a(!1)})},z.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ee(),De()))}},45923:function(Et,St,te){"use strict";te.d(St,{h:function(){return ne}});var z=te(59301),se=te(57809),he=te(78241),Ie=te(3113),be=te(89780),Ne=te.n(be),ie=te(6303),nt=te(87671),je=Object.defineProperty,Ze=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,a=(oe,ae,ue)=>ae in oe?je(oe,ae,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[ae]=ue,y=(oe,ae)=>{for(var ue in ae||(ae={}))ye.call(ae,ue)&&a(oe,ue,ae[ue]);if(Me)for(var ue of Me(ae))re.call(ae,ue)&&a(oe,ue,ae[ue]);return oe},b=(oe,ae)=>Ze(oe,ze(ae));const E=se.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},ee={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};St.Z=({callback:oe,onCancel:ae})=>{const[ue,me]=(0,z.useState)("python");function fe(xe){me(ee[xe][1])}function Pe(xe){oe(xe)}return z.createElement(he.default,b(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),z.createElement(he.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},z.createElement(se.default,{getPopupContainer:xe=>xe.parentNode,onChange:fe},Object.keys(ee).map(xe=>z.createElement(E,{key:xe,value:xe},ee[xe][0])))),z.createElement(he.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},z.createElement(ne,{mode:ue})),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ie.ZP,{type:"ghost",onClick:ae},"\u53D6\u6D88")))};function ne({value:oe,onChange:ae,mode:ue,options:me={}}){const fe=(0,z.useRef)(),[Pe,xe]=(0,z.useState)();return(0,z.useEffect)(()=>{if(Pe){let Ee=function(De){const _e=De.getValue();ae&&ae(_e)};return Pe.on("change",Ee),()=>{Pe.off("change",Ee)}}},[Pe,ae]),(0,z.useEffect)(()=>{Pe&&Pe.setOption("mode",ue)},[Pe,ue]),(0,z.useEffect)(()=>{Pe&&(oe!==Pe.getValue()||oe==="")&&setTimeout(()=>{Pe.setValue(oe||"")},300)},[Pe,oe]),(0,z.useEffect)(()=>{if(fe.current&&!Pe){const Ee=Ne().fromTextArea(fe.current,y({mode:ue,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));xe(Ee)}},[fe.current,Pe]),z.createElement("div",{className:"my-codemirror-container"},z.createElement("textarea",{ref:fe}))}},48551:function(Et,St,te){"use strict";te.d(St,{Z:function(){return Xa}});var z=te(59301),se=te(89780),he=te.n(se),Ie=te(76374),be=te(6303),Ne=te(6313),ie=te(25717),nt=te(99498),je=te(25419),Ze=te(67549),ze=te(12470),Me=({value:at="",className:Mt,showTextOnly:Ft,showLines:kn,style:dn={}})=>{const An=(0,z.useMemo)(()=>"",[at]);return z.createElement(z.Fragment,null,z.createElement("div",{dangerouslySetInnerHTML:{__html:An}}))},ye=te(59301),re=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(at,Mt,Ft)=>Mt in at?re(at,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):at[Mt]=Ft,ne=(at,Mt)=>{for(var Ft in Mt||(Mt={}))E.call(Mt,Ft)&&ee(at,Ft,Mt[Ft]);if(b)for(var Ft of b(Mt))x.call(Mt,Ft)&&ee(at,Ft,Mt[Ft]);return at},oe=(at,Mt)=>a(at,y(Mt));let ae=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ue({onActionCallback:at,title:Mt,icon:Ft,actionName:kn,className:dn="",children:An}){function Xr(){at(kn)}return ye.createElement("a",{title:Mt,className:dn,onClick:Xr},ye.createElement("i",{className:`${Ft}`}),An)}var me=({watch:at,showNullButton:Mt,showNullProgramButton:Ft,onActionCallback:kn,fullScreen:dn,insertTemp:An,hidetoolBar:Xr,extraUse:Fr})=>{const Kr=[...ae,{title:`${at?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${at?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ye.createElement("ul",{className:"markdown-toolbar-container"},!Xr&&Kr.map((ro,Ja)=>ye.createElement("li",{key:Ja},ro.actionName?ye.createElement(ue,oe(ne({},ro),{onActionCallback:kn})):ye.createElement("span",{className:"v-line"}))),Mt?ye.createElement("li",null,ye.createElement(ue,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kn},ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Ft?ye.createElement(ye.Fragment,null,ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kn},ye.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kn},ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,An&&ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${An}`,onActionCallback:kn},ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Fr&&ye.createElement("li",null,Fr),ye.createElement("li",{className:"btn-full-screen"},ye.createElement(ue,{icon:`${dn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:dn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kn})))},fe=te(44991),Pe=te(78241),xe=te(92832),Ee=te(3113),De=Object.defineProperty,_e=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Ve=(at,Mt,Ft)=>Mt in at?De(at,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):at[Mt]=Ft,it=(at,Mt)=>{for(var Ft in Mt||(Mt={}))$e.call(Mt,Ft)&&Ve(at,Ft,Mt[Ft]);if(Be)for(var Ft of Be(Mt))Ke.call(Mt,Ft)&&Ve(at,Ft,Mt[Ft]);return at},rt=(at,Mt)=>_e(at,pt(Mt));const vt={labelCol:{span:4},wrapperCol:{span:20}};var Rt=({callback:at,onCancel:Mt})=>{function Ft(kn){at(kn)}return z.createElement(Pe.default,rt(it({},vt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ft,style:{width:500}}),z.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},z.createElement(xe.default,null)),z.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},z.createElement(xe.default,null)),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ee.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},Yt=te(45923),Je=te(76021),st=te(43418),At=te(95237),Nt=te(5140),Pt=te(59301),sn=({callback:at,onCancel:Mt})=>{const Ft=document.createElement("canvas"),kn=Ft.getContext("2d");Ft.width=1e3,Ft.height=800,kn.fillStyle="#ffffff",kn.fillRect(0,0,Ft.width,Ft.height);const dn=Ft.toDataURL("image/png");return Pt.createElement(st.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Pt.createElement(At.Z,{style:{height:"100vh"}},Pt.createElement(Nt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:dn,visible:!0,title:String(Date.now())},onOk:An=>{at({src:An.url})},onClose:Mt})))},Fe=te(12378);function Qt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Qt,go.CommandHandler),Qt.prototype.canAlignSelection=function(){var at=this.diagram;return!(at===null||at.isReadOnly||at.isModelReadOnly||at.selection.count<2)},Qt.prototype.alignLeft=function(){var at=this.diagram;at.startTransaction("aligning left");var Mt=1/0;at.selection.each(function(Ft){Ft instanceof go.Link||(Mt=Math.min(Ft.position.x,Mt))}),at.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Mt,Ft.position.y))}),at.commitTransaction("aligning left")},Qt.prototype.alignRight=function(){var at=this.diagram;at.startTransaction("aligning right");var Mt=-1/0;at.selection.each(function(Ft){if(!(Ft instanceof go.Link)){var kn=Ft.actualBounds.x+Ft.actualBounds.width;Mt=Math.max(kn,Mt)}}),at.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Mt-Ft.actualBounds.width,Ft.position.y))}),at.commitTransaction("aligning right")},Qt.prototype.alignTop=function(){var at=this.diagram;at.startTransaction("alignTop");var Mt=1/0;at.selection.each(function(Ft){Ft instanceof go.Link||(Mt=Math.min(Ft.position.y,Mt))}),at.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Ft.position.x,Mt))}),at.commitTransaction("alignTop")},Qt.prototype.alignBottom=function(){var at=this.diagram;at.startTransaction("aligning bottom");var Mt=-1/0;at.selection.each(function(Ft){if(!(Ft instanceof go.Link)){var kn=Ft.actualBounds.y+Ft.actualBounds.height;Mt=Math.max(kn,Mt)}}),at.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Ft.actualBounds.x,Mt-Ft.actualBounds.height))}),at.commitTransaction("aligning bottom")},Qt.prototype.alignCenterX=function(){var at=this.diagram,Mt=at.selection.first();if(Mt){at.startTransaction("aligning Center X");var Ft=Mt.actualBounds.x+Mt.actualBounds.width/2;at.selection.each(function(kn){kn instanceof go.Link||kn.move(new go.Point(Ft-kn.actualBounds.width/2,kn.actualBounds.y))}),at.commitTransaction("aligning Center X")}},Qt.prototype.alignCenterY=function(){var at=this.diagram,Mt=at.selection.first();if(Mt){at.startTransaction("aligning Center Y");var Ft=Mt.actualBounds.y+Mt.actualBounds.height/2;at.selection.each(function(kn){kn instanceof go.Link||kn.move(new go.Point(kn.actualBounds.x,Ft-kn.actualBounds.height/2))}),at.commitTransaction("aligning Center Y")}},Qt.prototype.alignColumn=function(at){var Mt=this.diagram;Mt.startTransaction("align Column"),at===void 0&&(at=0),at=parseFloat(at);var Ft=new Array;Mt.selection.each(function(Fr){Fr instanceof go.Link||Ft.push(Fr)});for(var kn=0;kn<Ft.length-1;kn++){var dn=Ft[kn],An=dn.actualBounds.y+dn.actualBounds.height+at,Xr=Ft[kn+1];Xr.move(new go.Point(dn.actualBounds.x,An))}Mt.commitTransaction("align Column")},Qt.prototype.alignRow=function(at){at===void 0&&(at=0),at=parseFloat(at);var Mt=this.diagram;Mt.startTransaction("align Row");var Ft=new Array;Mt.selection.each(function(Fr){Fr instanceof go.Link||Ft.push(Fr)});for(var kn=0;kn<Ft.length-1;kn++){var dn=Ft[kn],An=dn.actualBounds.x+dn.actualBounds.width+at,Xr=Ft[kn+1];Xr.move(new go.Point(An,dn.actualBounds.y))}Mt.commitTransaction("align Row")},Qt.prototype.canRotate=function(at){var Mt=this.diagram;return!(Mt===null||Mt.isReadOnly||Mt.isModelReadOnly||Mt.selection.count<1)},Qt.prototype.rotate=function(at){at===void 0&&(at=90);var Mt=this.diagram;Mt.startTransaction("rotate "+at.toString());var Mt=this.diagram;Mt.selection.each(function(Ft){Ft instanceof go.Link||Ft instanceof go.Group||(Ft.angle+=at)}),Mt.commitTransaction("rotate "+at.toString())},Qt.prototype.pullToFront=function(){var at=this.diagram;at.startTransaction("pullToFront");var Mt=new go.Map;at.selection.each(function(Ft){Mt.set(Ft.layer,0)}),Mt.iteratorKeys.each(function(Ft){var kn=0;Ft.parts.each(function(dn){if(!dn.isSelected){var An=dn.zOrder;isNaN(An)?dn.zOrder=0:kn=Math.max(kn,An)}}),Mt.set(Ft,kn)}),at.selection.each(function(Ft){Qt._assignZOrder(Ft,Mt.get(Ft.layer)+1)}),at.commitTransaction("pullToFront")},Qt.prototype.pushToBack=function(){var at=this.diagram;at.startTransaction("pushToBack");var Mt=new go.Map;at.selection.each(function(Ft){Mt.set(Ft.layer,0)}),Mt.iteratorKeys.each(function(Ft){var kn=0;Ft.parts.each(function(dn){if(!dn.isSelected){var An=dn.zOrder;isNaN(An)?dn.zOrder=0:kn=Math.min(kn,An)}}),Mt.set(Ft,kn)}),at.selection.each(function(Ft){Qt._assignZOrder(Ft,Mt.get(Ft.layer)-1-Qt._findGroupDepth(Ft))}),at.commitTransaction("pushToBack")},Qt._assignZOrder=function(at,Mt,Ft){Ft===void 0&&(Ft=at),at.layer===Ft.layer&&(at.zOrder=Mt),at instanceof go.Group&&at.memberParts.each(function(kn){Qt._assignZOrder(kn,Mt+1,Ft)})},Qt._findGroupDepth=function(at){if(at instanceof go.Group){var Mt=0;return at.memberParts.each(function(Ft){Mt=Math.max(Mt,Qt._findGroupDepth(Ft))}),Mt+1}else return 0},Qt.prototype.doKeyDown=function(){var at=this.diagram;if(at!==null){var Mt=at.lastInput;if(Mt.key==="Up"||Mt.key==="Down"||Mt.key==="Left"||Mt.key==="Right"){var Ft=this.arrowKeyBehavior;if(Ft==="none")return;if(Ft==="select"){this._arrowKeySelect();return}else if(Ft==="move"){this._arrowKeyMove();return}else if(Ft==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Qt.prototype._getAllParts=function(){var at=new Array;return this.diagram.nodes.each(function(Mt){at.push(Mt)}),this.diagram.parts.each(function(Mt){at.push(Mt)}),at},Qt.prototype._arrowKeyMove=function(){var at=this.diagram,Mt=at.lastInput,Ft=0,kn=0;if(Mt.control||Mt.meta)Ft=1,kn=1;else if(at.grid!==null){var dn=at.grid.gridCellSize;kn=dn.width,Ft=dn.height}at.startTransaction("arrowKeyMove"),at.selection.each(function(An){Mt.key==="Up"?An.move(new go.Point(An.actualBounds.x,An.actualBounds.y-Ft)):Mt.key==="Down"?An.move(new go.Point(An.actualBounds.x,An.actualBounds.y+Ft)):Mt.key==="Left"?An.move(new go.Point(An.actualBounds.x-kn,An.actualBounds.y)):Mt.key==="Right"&&An.move(new go.Point(An.actualBounds.x+kn,An.actualBounds.y))}),at.commitTransaction("arrowKeyMove")},Qt.prototype._arrowKeySelect=function(){var at=this.diagram,Mt=at.lastInput,Ft=null;Mt.key==="Up"?Ft=this._findNearestPartTowards(270):Mt.key==="Down"?Ft=this._findNearestPartTowards(90):Mt.key==="Left"?Ft=this._findNearestPartTowards(180):Mt.key==="Right"&&(Ft=this._findNearestPartTowards(0)),Ft!==null&&(Mt.shift?Ft.isSelected=!0:Mt.control||Mt.meta?Ft.isSelected=!Ft.isSelected:at.select(Ft))},Qt.prototype._findNearestPartTowards=function(at){var Mt=this.diagram.selection.first();if(Mt===null)return null;for(var Ft=Mt.actualBounds.center,kn=this._getAllParts(),dn=1/0,An=Mt,Xr=0;Xr<kn.length;Xr++){var Fr=kn[Xr];if(Fr!==Mt&&Fr.canSelect()){var Kr=Fr.actualBounds.center,ro=Ft.directionPoint(Kr),Ja=this._angleCloseness(ro,at);if(Ja<=45){var Nn=Ft.distanceSquaredPoint(Kr);Nn*=1+Math.sin(Ja*Math.PI/180),Nn<dn&&(dn=Nn,An=Fr)}}}return An},Qt.prototype._angleCloseness=function(at,Mt){return Math.min(Math.abs(Mt-at),Math.min(Math.abs(Mt+360-at),Math.abs(Mt-360-at)))},Qt.prototype._arrowKeyTree=function(){var at=this.diagram,Mt=at.selection.first();if(Mt instanceof go.Node){var Ft=at.lastInput;if(Ft.key==="Right"){if(!Mt.isTreeLeaf)if(!Mt.isTreeExpanded)at.commandHandler.canExpandTree(Mt)&&at.commandHandler.expandTree(Mt);else{var kn=this._sortTreeChildrenByY(Mt).first();kn!==null&&at.select(kn)}}else if(Ft.key==="Left")if(!Mt.isTreeLeaf&&Mt.isTreeExpanded)at.commandHandler.canCollapseTree(Mt)&&at.commandHandler.collapseTree(Mt);else{var dn=Mt.findTreeParentNode();dn!==null&&at.select(dn)}else if(Ft.key==="Up"){var dn=Mt.findTreeParentNode();if(dn!==null){var An=this._sortTreeChildrenByY(dn),Xr=An.indexOf(Mt);if(Xr>0){for(var Fr=An.elt(Xr-1);Fr!==null&&Fr.isTreeExpanded&&!Fr.isTreeLeaf;){var Kr=this._sortTreeChildrenByY(Fr);Fr=Kr.last()}Fr!==null&&at.select(Fr)}else at.select(dn)}}else if(Ft.key==="Down")if(Mt.isTreeExpanded&&!Mt.isTreeLeaf){var kn=this._sortTreeChildrenByY(Mt).first();kn!==null&&at.select(kn)}else for(;Mt!==null;){var dn=Mt.findTreeParentNode();if(dn===null)break;var An=this._sortTreeChildrenByY(dn),Xr=An.indexOf(Mt);if(Xr<An.length-1){at.select(An.elt(Xr+1));break}else Mt=dn}var ro=at.selection.first();ro!==null&&at.scrollToRect(ro.actualBounds)}},Qt.prototype._sortTreeChildrenByY=function(at){var Mt=new go.List().addAll(at.findTreeChildrenNodes());return Mt.sort(function(Ft,kn){var dn=Ft.location,An=kn.location;return dn.y<An.y?-1:dn.y>An.y?1:dn.x<An.x?-1:dn.x>An.x?1:0}),Mt},Qt.prototype.copyToClipboard=function(at){go.CommandHandler.prototype.copyToClipboard.call(this,at),this._lastPasteOffset.set(this.pasteOffset)},Qt.prototype.pasteFromClipboard=function(){var at=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(at,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),at},Object.defineProperty(Qt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(at){if(at!=="move"&&at!=="select"&&at!=="scroll"&&at!=="tree"&&at!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+at);this._arrowKeyBehavior=at}}),Object.defineProperty(Qt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(at){if(!(at instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+at);this._pasteOffset.set(at)}});var Gt=Qt,Hn=te(72179),ea=te(43604),Re=te(98280),qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},tt=te(59301),Le=(at,Mt,Ft)=>new Promise((kn,dn)=>{var An=Kr=>{try{Fr(Ft.next(Kr))}catch(ro){dn(ro)}},Xr=Kr=>{try{Fr(Ft.throw(Kr))}catch(ro){dn(ro)}},Fr=Kr=>Kr.done?kn(Kr.value):Promise.resolve(Kr.value).then(An,Xr);Fr((Ft=Ft.apply(at,Mt)).next())});function ft({onCancel:at,callback:Mt}){let Ft=(0,z.useRef)(),kn=(0,z.useRef)(),dn=(0,z.useRef)(),An=(0,z.useRef)(!1);const Xr=(0,z.useRef)(!1),[Fr,Kr]=(0,z.useState)(0);function ro(){const Nn=Fe.bx.make,gr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ft.current=new Fe.S0(kn.current,{padding:20,grid:Nn(Fe.s_,"Grid",Nn(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:jn=>{var Ra=jn.diagram.commandHandler.addTopLevelParts(jn.diagram.selection,!0);Ra||jn.diagram.currentTool.doCancel()},commandHandler:Nn(Gt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:jn=>{var Ra=jn.subject;Ra.location=Ra.location.copy().snapToGridPoint(jn.diagram.grid.gridOrigin,jn.diagram.grid.gridCellSize),setTimeout(()=>{jn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:jn=>{var Ra=jn.subject;setTimeout(()=>{jn.diagram.commandHandler.editTextBlock()})},LinkRelinked:jn=>{var Ra=jn.parameter.part;Ra.invalidateConnectedLinks();var Qa=jn.subject;jn.diagram.toolManager.linkingTool.isForwards?Qa.toNode.invalidateConnectedLinks():Qa.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ft.current.nodeTemplate=Nn(Fe.NB,"Auto",{locationSpot:Fe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Fe.$u(120,60),minSize:new Fe.$u(40,40),resizable:!0,resizeCellSize:new Fe.$u(10,10),rotatable:!0},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),new Fe.KX("desiredSize","size",Fe.$u.parse).makeTwoWay(Fe.$u.stringify),Nn(Fe.bn,{name:"SHAPE",fill:gr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("figure"),new Fe.KX("fill"),new Fe.KX("stroke","borderColor"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Nn(Fe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Nn(Fe.al,{margin:1,textAlign:"center",overflow:Fe.al.OverflowEllipsis,editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Ft.current.nodeTemplate.toolTip=Nn("ToolTip",Nn(Fe.s_,"Vertical",{maxSize:new Fe.$u(200,NaN)},Nn(Fe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Fe.KX("text")),Nn(Fe.al,{font:"10pt sans-serif",textAlign:"center"},new Fe.KX("text","details"))));function ar(jn,Ra){var Qa=(Oa,Ir)=>{Oa.handled=!0,Oa.diagram.model.commit(Er=>{var Cr=Ir.part.adornedPart,fo=new Fe.E9().setRectSpot(Cr.actualBounds,jn);fo.subtract(Cr.location),fo.scale(2,2),fo.x+=Math.sign(fo.x)*130,fo.y+=Math.sign(fo.y)*130,fo.add(Cr.location),fo.snapToGridPoint(Oa.diagram.grid.gridOrigin,Oa.diagram.grid.gridCellSize);var Ao=Er.copyNodeData(Cr.data);Er.setGroupKeyForNodeData(Ao,Er.getGroupKeyForNodeData(Cr.data)),Er.addNodeData(Ao);var wi={from:Cr.key,to:Er.getKeyForNodeData(Ao)};Er.addLinkData(wi);var Fi=Oa.diagram.findNodeForData(Ao);Fi.location=fo,Oa.diagram.select(Fi),setTimeout(()=>{Oa.diagram.commandHandler.editTextBlock()},20)})};return Nn(Fe.bn,{figure:Ra,alignment:jn,alignmentFocus:jn.opposite(),width:jn.equals(Fe.z6.Top)||jn.equals(Fe.z6.Bottom)?25:18,height:jn.equals(Fe.z6.Top)||jn.equals(Fe.z6.Bottom)?18:25,fill:"orange",stroke:gr.white,strokeWidth:4,mouseEnter:(Oa,Ir)=>Ir.fill="dodgerblue",mouseLeave:(Oa,Ir)=>Ir.fill="orange",isActionable:!0,click:Qa,contextClick:Qa})}function mr(jn){return Nn(Fe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ra,Qa)=>Qa.fill="dodgerblue",mouseLeave:(Ra,Qa)=>Qa.fill="orange",click:(Ra,Qa)=>{Ra.diagram.commandHandler.showContextMenu(Qa.part.adornedPart)}},jn||{})}Ft.current.nodeTemplate.selectionAdornmentTemplate=Nn(Fe.uz,"Spot",Nn(Fe.Vm,{padding:10}),ar(Fe.z6.Top,"TriangleUp"),ar(Fe.z6.Left,"TriangleLeft"),ar(Fe.z6.Right,"TriangleRight"),ar(Fe.z6.Bottom,"TriangleDown"),mr({alignment:new Fe.z6(.75,0)}));function tr(jn,Ra){return(Qa,Oa)=>{Qa.handled=!0,Qa.diagram.model.commit(Ir=>{Ir.set(Oa.part.adornedPart.data,jn,Ra)})}}function ht(jn,Ra){return Ra||(Ra="color"),Nn(Fe.bn,{width:16,height:16,stroke:"lightgray",fill:jn,margin:1,background:"transparent",mouseEnter:(Qa,Oa)=>Oa.stroke="dodgerblue",mouseLeave:(Qa,Oa)=>Oa.stroke="lightgray",click:tr(Ra,jn),contextClick:tr(Ra,jn)})}function qt(){return[Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ht(gr.white,"fill"),ht(gr.beige,"fill"),ht(gr.extralightblue,"fill"),ht(gr.extralightred,"fill"))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ht(gr.lightgray,"fill"),ht(gr.lightgreen,"fill"),ht(gr.lightblue,"fill"),ht(gr.lightred,"fill")))]}function tn(){return[Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ht(gr.black),ht(gr.green),ht(gr.blue),ht(gr.red))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",ht(gr.white),ht(gr.magenta),ht(gr.purple),ht(gr.orange)))]}function Pn(jn,Ra){return Ra||(Ra="thickness"),Nn(Fe.bn,"LineH",{width:16,height:16,strokeWidth:jn,margin:1,background:"transparent",mouseEnter:(Qa,Oa)=>Oa.background="dodgerblue",mouseLeave:(Qa,Oa)=>Oa.background="transparent",click:tr(Ra,jn),contextClick:tr(Ra,jn)})}function Rn(jn,Ra){return Ra||(Ra="dash"),Nn(Fe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:jn,margin:1,background:"transparent",mouseEnter:(Qa,Oa)=>Oa.background="dodgerblue",mouseLeave:(Qa,Oa)=>Oa.background="transparent",click:tr(Ra,jn),contextClick:tr(Ra,jn)})}function cn(){return[Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",Pn(1),Pn(2),Pn(3),Pn(4))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",Rn(null),Rn([2,4]),Rn([4,4])))]}function On(jn,Ra){return Ra||(Ra="figure"),Nn(Fe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:jn,margin:1,background:"transparent",mouseEnter:(Qa,Oa)=>Oa.fill="dodgerblue",mouseLeave:(Qa,Oa)=>Oa.fill="lightgray",click:tr(Ra,jn),contextClick:tr(Ra,jn)})}Ft.current.nodeTemplate.contextMenu=Nn("ContextMenu",Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",On("Rectangle"),On("RoundedRectangle"),On("Ellipse"),On("Diamond"))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",On("Parallelogram2"),On("ManualOperation"),On("Procedure"),On("Cylinder1"))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",On("Terminator"),On("CreateRequest"),On("Document"),On("TriangleDown"))),qt(),tn(),cn()),Ft.current.groupTemplate=Nn(Fe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Fe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(jn,Ra)=>{var Qa=Ra.addMembers(Ra.diagram.selection,!0);Qa||Ra.diagram.currentTool.doCancel()},avoidable:!1},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),Nn(Fe.s_,"Auto",{name:"BODY"},Nn(Fe.bn,{parameter1:10,fill:gr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("fill"),new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Nn(Fe.Vm,{background:"transparent",margin:20})),Nn(Fe.al,{alignment:Fe.z6.Top,alignmentFocus:Fe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Fe.KX("text"),new Fe.KX("stroke","color"))),Ft.current.groupTemplate.selectionAdornmentTemplate=Nn(Fe.uz,"Spot",Nn(Fe.s_,"Auto",Nn(Fe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Nn(Fe.Vm,{margin:1.5})),mr({alignment:Fe.z6.TopRight,alignmentFocus:Fe.z6.BottomRight})),Ft.current.groupTemplate.contextMenu=Nn("ContextMenu",qt(),tn(),cn()),Ft.current.linkTemplate=Nn(Fe.rU,{layerName:"Foreground",routing:Fe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Fe.KX("fromSpot","fromSpot",Fe.z6.parse),new Fe.KX("toSpot","toSpot",Fe.z6.parse),new Fe.KX("fromShortLength","dir",jn=>jn>=1?10:0),new Fe.KX("toShortLength","dir",jn=>jn>=1?10:0),new Fe.KX("points").makeTwoWay(),Nn(Fe.bn,{strokeWidth:2},new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),Nn(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,0),segmentOrientation:Fe.rU.OrientAlong,alignmentFocus:Fe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",jn=>jn===1)),Nn(Fe.bn,{segmentIndex:-1,segmentOffset:new Fe.E9(-10,6),segmentOrientation:Fe.rU.OrientPlus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",jn=>jn>=1),new Fe.KX("width","thickness",jn=>7+3*jn),new Fe.KX("height","thickness",jn=>7+3*jn),new Fe.KX("segmentOffset","thickness",jn=>new Fe.E9(-15,4+1.5*jn))),Nn(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,-6),segmentOrientation:Fe.rU.OrientMinus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",jn=>jn===2),new Fe.KX("width","thickness",jn=>7+3*jn),new Fe.KX("height","thickness",jn=>7+3*jn),new Fe.KX("segmentOffset","thickness",jn=>new Fe.E9(-15,4+1.5*jn))),Nn(Fe.al,{alignmentFocus:new Fe.z6(0,1,-4,0),editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Ft.current.linkTemplate.selectionAdornmentTemplate=Nn(Fe.uz,Nn(Fe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:yn(2)},new Fe.KX("pathPattern","thickness",yn)),mr({alignmentFocus:new Fe.z6(0,0,-6,-4)}));function yn(jn){return Nn(Fe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(jn+4).toString()+" H3"})}function rr(jn){var Ra="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return jn===0?Ra="M0 0 M16 16 M0 8 L16 8":jn===2&&(Ra="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Nn(Fe.bn,{geometryString:Ra,margin:2,background:"transparent",mouseEnter:(Qa,Oa)=>Oa.background="dodgerblue",mouseLeave:(Qa,Oa)=>Oa.background="transparent",click:tr("dir",jn),contextClick:tr("dir",jn)})}function Ma(jn){var Ra=(Qa,Oa)=>{Qa.handled=!0,Qa.diagram.model.commit(Ir=>{var Er=Oa.part.adornedPart;Ir.set(Er.data,jn?"toSpot":"fromSpot",Fe.z6.stringify(Fe.z6.AllSides)),(jn?Er.toNode:Er.fromNode).invalidateConnectedLinks()})};return Nn(Fe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Qa,Oa)=>Oa.background="dodgerblue",mouseLeave:(Qa,Oa)=>Oa.background="transparent",click:Ra,contextClick:Ra})}function ur(jn,Ra){var Qa=0,Oa=Fe.z6.RightSide;jn.equals(Fe.z6.Top)?(Qa=270,Oa=Fe.z6.TopSide):jn.equals(Fe.z6.Left)?(Qa=180,Oa=Fe.z6.LeftSide):jn.equals(Fe.z6.Bottom)&&(Qa=90,Oa=Fe.z6.BottomSide),Ra||(Qa-=180);var Ir=(Er,Cr)=>{Er.handled=!0,Er.diagram.model.commit(fo=>{var Ao=Cr.part.adornedPart;fo.set(Ao.data,Ra?"toSpot":"fromSpot",Fe.z6.stringify(Oa)),(Ra?Ao.toNode:Ao.fromNode).invalidateConnectedLinks()})};return Nn(Fe.bn,{alignment:jn,alignmentFocus:jn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Qa,background:"transparent",mouseEnter:(Er,Cr)=>Cr.background="dodgerblue",mouseLeave:(Er,Cr)=>Cr.background="transparent",click:Ir,contextClick:Ir})}Ft.current.linkTemplate.contextMenu=Nn("ContextMenu",tn(),cn(),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",rr(0),rr(1),rr(2))),Nn("ContextMenuButton",Nn(Fe.s_,"Horizontal",Nn(Fe.s_,"Spot",Ma(!1),ur(Fe.z6.Top,!1),ur(Fe.z6.Left,!1),ur(Fe.z6.Right,!1),ur(Fe.z6.Bottom,!1)),Nn(Fe.s_,"Spot",{margin:new Fe.Zt(0,0,0,2)},Ma(!0),ur(Fe.z6.Top,!0),ur(Fe.z6.Left,!0),ur(Fe.z6.Right,!0),ur(Fe.z6.Bottom,!0)))));const Fn=`{ "class": "GraphLinksModel",
|
|
"nodeDataArray": [
|
|
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
|
|
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
|
|
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
|
|
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
|
|
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
|
|
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
|
|
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
|
|
],
|
|
"linkDataArray": [
|
|
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
|
|
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
|
|
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
|
|
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
|
|
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
|
|
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
|
|
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
|
|
]}`;var oo=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function to(jn){return console.log("shapeName:",jn),oo.indexOf(jn)>=0}var Ko=new Fe.YI(dn.current,{maxSelectionCount:1,linkTemplate:Nn(Fe.rU,{locationSpot:Fe.z6.Center,selectionAdornmentTemplate:Nn(Fe.uz,"Link",{locationSpot:Fe.z6.Center},Nn(Fe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Nn(Fe.bn,{toArrow:"Standard",stroke:null}))},{routing:Fe.rU.AvoidsNodes,curve:Fe.rU.JumpOver,corner:5,toShortLength:4},new Fe.KX("points"),Nn(Fe.bn,{isPanelMain:!0,strokeWidth:2}),Nn(Fe.bn,{toArrow:"Standard",stroke:null})),model:new Fe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Fe.bn.getFigureGenerators().toArray().map(jn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:jn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ft.current.addDiagramListener("TextEdited",function(jn){var Ra;const Qa=jn.subject.part;var Oa=(Ra=document.activeElement)==null?void 0:Ra.value;typeof Oa=="string"&&Oa.trim()===""&&Ft.current.model.commit(function(Ir){Ir.set(Qa.data,"text","\u672A\u547D\u540D"),Ft.current.commandHandler.stopCommand()},"increment")}),Ko.nodeTemplate=Nn(Fe.NB,"Auto",{locationSpot:Fe.z6.Center},new Fe.KX("location","location",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),Nn(Fe.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Fe.KX("stroke").makeTwoWay(),new Fe.KX("fill").makeTwoWay(),new Fe.KX("figure")),Nn(Fe.al,{margin:new Fe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Fe.$u(16,16),maxSize:new Fe.$u(10,NaN),textAlign:"center",editable:!0},new Fe.KX("key").makeTwoWay())),setTimeout(()=>{Ft.current.grid=Nn(Fe.s_,"Grid",Nn(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ft.current.grid.visible=!0,Ft.current.grid.gridCellStroke="darkgray",Ft.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ft.current,Ft.current}const Ja=()=>Le(this,null,function*(){var Nn=Ft.current.makeImage();const gr=yield(0,Re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Nn.src}});Mt({src:gr.url})});return(0,z.useEffect)(()=>(setTimeout(()=>{ro()},500),Kr(Fr+1),()=>{Ft.current=null}),[]),tt.createElement("div",{ref:Xr,className:An.current?`${qe.maxH60} body-overflow-initial`:"body-overflow-initial"},tt.createElement(st.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Fr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:tt.createElement(At.Z,null,tt.createElement(ea.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),tt.createElement(ea.Z,{onClick:()=>{var Nn,gr,ar=Ft.current.selection.first();if(An.current=!An.current,document.activeElement&&ar){let mr=(gr=(Nn=document.activeElement)==null?void 0:Nn.value)==null?void 0:gr.trim();typeof mr=="string"&&Ft.current.model.commit(function(tr){tr.set(ar.data,"text",mr||"\u672A\u547D\u540D"),Ft.current.commandHandler.stopCommand()},"increment")}Kr(Fr+1)}},tt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:at},tt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:qe.flowChartWrp},tt.createElement("div",{style:{display:"flex",height:"100%"}},tt.createElement("div",{style:{width:"300px",height:"100%"}},tt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),tt.createElement("div",{style:{height:"calc(100% - 50px)"},className:qe.myPaletteDiv,ref:dn})),tt.createElement("div",{style:{flex:1,position:"relative"}},tt.createElement("div",{ref:kn,style:{height:"80vh"}}))),tt.createElement("div",{className:"tr"},tt.createElement(Ee.ZP,{size:"large",onClick:Ja,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=ft,Oe=te(5112),ve=te(5871);const Ge=Oe.ZP.Group,We={margin:"0 8px"};var we=({callback:at,onCancel:Mt})=>{function Ft(kn){at(kn)}return z.createElement(Pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ft},z.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},z.createElement("span",{style:We},"\u5355\u5143\u683C\u6570\uFF1A"),z.createElement("span",{style:We},"\u884C\u6570"),z.createElement(Pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},z.createElement(ve.Z,null)),z.createElement("span",{style:We},"\u5217\u6570"),z.createElement(Pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},z.createElement(ve.Z,null))),z.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},z.createElement("span",{style:We},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),z.createElement(Pe.default.Item,{name:"align"},z.createElement(Ge,null,z.createElement(Oe.ZP,{value:"default"},z.createElement("i",{className:"fa fa-align-justify"})),z.createElement(Oe.ZP,{value:"left"},z.createElement("i",{className:"fa fa-align-left"})),z.createElement(Oe.ZP,{value:"center"},z.createElement("i",{className:"fa fa-align-center"})),z.createElement(Oe.ZP,{value:"right"},z.createElement("i",{className:"fa fa-align-right"}))))),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ee.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},mt=te(78673),et=te(25730),Ht=te.n(et),ut=(0,z.forwardRef)(({use3d:at,width:Mt,height:Ft,callback:kn,showSaveButton:dn},An)=>{const Xr=(0,z.useRef)(),Fr=(0,z.useRef)(),[Kr,ro]=(0,z.useState)(!1),Ja=(0,z.useRef)({id:Xr,appName:"graphing",width:Mt||1e3,height:Ft||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,z.useEffect)(()=>{Fr.current=new(Ht())(Ja.current,!0),window.onload=function(){Fr.current.inject("applet_container")}},[]);const Nn=()=>{var gr=window.ggbApplet.getPNGBase64(1,!0,72);return kn&&kn(gr),gr};return(0,z.useEffect)(()=>{Ja.current.appName=Kr?"3D":"graphing",Fr.current.inject("applet_container")},[Kr]),(0,z.useEffect)(()=>{ro(at)},[at]),(0,z.useImperativeHandle)(An,()=>({getImgData:Nn})),z.createElement(z.Fragment,null,z.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Xr}),z.createElement(At.Z,{align:"middle"},z.createElement(ea.Z,{flex:1},z.createElement(mt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Kr,onChange:gr=>ro(gr)})),z.createElement(ea.Z,null,z.createElement(Ee.ZP,{size:"large",onClick:Nn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),xt=te(88601),Ae=te(1012),He=te(8591);const ct="link",wt="upload-image",Zt="add-flowchart",gn="draw-image",dt="add-flowchart",Dt="code-block",yt="add-table",en="------------",Vt={default:en,left:`:${en}`,center:`:${en}:`,right:`${en}:`};var un=te(28934),Un=(at,Mt,Ft)=>new Promise((kn,dn)=>{var An=Kr=>{try{Fr(Ft.next(Kr))}catch(ro){dn(ro)}},Xr=Kr=>{try{Fr(Ft.throw(Kr))}catch(ro){dn(ro)}},Fr=Kr=>Kr.done?kn(Kr.value):Promise.resolve(Kr.value).then(An,Xr);Fr((Ft=Ft.apply(at,Mt)).next())});function mn(){}let an=0;const $n=1e4,_t="\u2581",Tt="@\u2581\u2581@",Xt="@\u2581@",ya=`
|
|
**\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`,ta=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Mn(at){return/^\d+$/.test(at)?`${at}px`:at}const Ba=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Nr={[Ba+"-B"]:"bold",[Ba+"-I"]:"italic"},Dr={[ct]:"\u6DFB\u52A0\u94FE\u63A5",[Dt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[wt]:"\u6DFB\u52A0\u56FE\u7247",[gn]:"\u6DFB\u52A0\u753B\u56FE",[Zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[yt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Xa=({defaultValue:at="",onChange:Mt,width:Ft="100%",height:kn=400,miniToolbar:dn=!1,isFocus:An=!1,watch:Xr,insertTemp:Fr,mode:Kr="markdown",id:ro="markdown-editor-id",showResizeBar:Ja=!1,noStorage:Nn=!1,showNullButton:gr=!1,showNullProgramButton:ar=!1,hidetoolBar:mr=!1,fullScreen:tr=!1,onBlur:ht,onCMBeforeChange:qt,onFullScreen:tn,className:Pn="",disablePaste:Rn=!1,disabled:cn=!1,disabledFill:On=!1,placeholder:yn="",values:rr="",extraUse:Ma,onAddBlank:ur})=>{const[Fn,oo]=(0,z.useState)(null),[to,Ko]=(0,z.useState)(at),[jn,Ra]=(0,z.useState)(Xr),[Qa,Oa]=(0,z.useState)(tr),[Ir,Er]=(0,z.useState)(""),[Cr,fo]=(0,z.useState)(0),[Ao,wi]=(0,z.useState)(kn),[Fi,hi]=(0,z.useState)(!1),Ui=(0,z.useRef)((0,Ae.Z)()),_n=(0,z.useRef)(!1),Na=(0,z.useRef)(),[co,Co]=(0,z.useState)(0),[bo,Ei]=(0,z.useState)(0),yi=(0,z.useRef)(),$i=(0,z.useRef)(),Ni=(0,z.useRef)(),Ce=(0,z.useRef)(),Te=()=>Un(void 0,null,function*(){var ga;const Jn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ui.current}});(ga=Jn==null?void 0:Jn.attachments)!=null&&ga.length&&(console.log("cm:",Fn,yi),Jn.attachments.map(Qn=>{Qn.content_type.indexOf("image")>-1?Fn.replaceSelection(``):Qn.content_type.indexOf("video")>-1?Fn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Qn.content_type.indexOf("pdf")>-1?Fn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Qn.id}?type=${Qn.content_type}&disposition=inline" target="_blank">${Qn.name}</a>`):Fn.replaceSelection(`[${Qn.name}](${ENV.API_SERVER}/api/attachments/${Qn.id}?type=${Qn.content_type})`)}))});(0,z.useEffect)(()=>{const ga=window.scrollY||window.pageYOffset;Ko(rr),Fn==null||Fn.setValue(rr),window.scrollTo(0,ga)},[rr]),(0,z.useEffect)(()=>{tn==null||tn(Qa)},[Qa]),(0,z.useEffect)(()=>{if(yi.current){let ga=function(Qn,pa){var hr;if(Rn){pa.preventDefault();return}const or=pa.clipboardData;if(or){const Zr=or.types.toString(),Tr=or.items;if(Zr==="Files"||or.types.indexOf("Files")>-1){if(pa.preventDefault(),Kr=="stex")return;try{let vo=Tr[1];((hr=Tr[0])==null?void 0:hr.kind)==="file"&&(vo=Tr[0]);const Lo=vo.getAsFile(),zo=Lo.name.split(".").pop();(0,Je.I)(Lo,sr=>{var ao,xo,uo;sr.id?((ao=Lo==null?void 0:Lo.type)==null?void 0:ao.indexOf("image"))>-1?Jn.replaceSelection(`<img width="100%" src="/api/attachments/${sr.id}?type=${sr.content_type})" alt="" />`):((xo=Lo==null?void 0:Lo.type)==null?void 0:xo.indexOf("video"))>-1?Jn.replaceSelection(`<video width="100%" controls src="/api/attachments/${sr.id}"></video>`):((uo=Lo==null?void 0:Lo.type)==null?void 0:uo.indexOf("pdf"))>-1?Jn.replaceSelection(`<a href="/api/attachments/${sr.id}?type=${Lo.type}&disposition=inline" target="_blank">${Lo.name}</a>`):ta.includes(zo)?Jn.replaceSelection(`<a href="/api/attachments/${sr.id}?type=office&disposition=inline" target="_blank">${Lo.name}</a>`):Jn.replaceSelection(`[${Lo.name}](/api/attachments/${sr.id}?type=${sr.content_type})`):(sr==null?void 0:sr.status)===401&&(He.ZP.warning((sr==null?void 0:sr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(vo){He.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Jn=he().fromTextArea(yi.current,{mode:Kr,lineNumbers:!dn,lineWrapping:!0,value:at,autoCloseTags:!ar,autoCloseBrackets:!0});return Jn.on("keyup",function(Qn,pa){pa.keyCode===8&&(Qn.getValue()==""?Jn.setOption("placeholder",yn):Jn.setOption("placeholder",null))}),Jn.on("keydown",function(Qn,pa){if(pa.keyCode===8){var hr=Ct(Qn);hr&&pa.preventDefault()}}),An&&Jn.focus(),Jn.on("paste",ga),Jn.on("dragleave",function(Qn,pa){$i.current.classList.remove("mouse-hover-md")}),cn&&Jn.on("beforeChange",function(Qn,pa){(pa.origin==="paste"||pa.origin==="+input")&&pa.cancel()}),oo(Jn),()=>{Jn.off("paste",ga)}}},[]);const Ye=(0,z.useCallback)(()=>{if($i.current)try{}catch(ga){console.log(ga,"---- to set md editor body height")}},[Ao,$i,Qa]);(0,z.useEffect)(()=>{function ga(){let Jn=new Ie.Z(Qn=>{for(let pa of Qn)(pa.target.offsetHeight>0||pa.target.offsetWidth>0)&&(Ye(),Fn.setSize("100%","100%"),Fn.refresh())});return Jn.observe(yi.current.parentElement),Jn}if(Fn){const Jn=ga();return()=>{var Qn,pa;(Qn=yi.current)!=null&&Qn.parentElement&&Jn.unobserve((pa=yi.current)==null?void 0:pa.parentElement)}}},[Fn,Ye]),(0,z.useEffect)(()=>{if(Fn){let ga=[];for(const[Jn,Qn]of Object.entries(Nr)){let pa={[Jn]:()=>{Jt(Qn)}};ga.push(pa),Fn.addKeyMap(pa)}return Na.current=setInterval(()=>{_n.current&&Te()},4e3),()=>{clearInterval(Na.current);for(let Jn of ga)Fn.removeKeyMap(Jn)}}},[Fn]),(0,z.useEffect)(()=>{tr!==Qa&&Oa(tr)},[tr]),(0,un.Z)(()=>{if(!Nn&&Cr>0){let ga=new Date().getTime(),Jn=window.sessionStorage.getItem(ro);ga>=Cr+$n&&(!Jn||Jn!==to)&&(window.sessionStorage.setItem(ro,to),hi(!0))}},$n),(0,z.useEffect)(()=>{Ra(Xr)},[Fn,Xr]),(0,z.useEffect)(()=>{Fn&&An&&Fn.focus()},[Fn,An]),(0,z.useEffect)(()=>{if(jn&&Fn){let ga=function(Qn){let pa=Qn.target;if(Ce.current){let hr=pa.scrollTop/pa.scrollHeight;Ce.current.scrollTop=Ce.current.scrollHeight*hr}};const Jn=Fn.getScrollerElement();return Jn.addEventListener("scroll",ga),()=>{Jn.removeEventListener("scroll",ga)}}},[Fn,jn]),(0,z.useEffect)(()=>{if(Fn&&qt){let ga=function(Jn,Qn){qt(Jn,Qn)};return Fn.on("beforeChange",ga),()=>{Fn.off("beforeChange",ga)}}},[Fn,qt]),(0,z.useEffect)(()=>{if(Fn&&ht){let ga=function(){ht(Fn.getValue())};return Fn.on("blur",ga),()=>{Fn.off("blur",ga)}}},[Fn,ht]);function Ct(ga,Jn){var Qn=ga.getDoc(),pa=Qn.getCursor(),hr=Qn.getLine(pa.line),or=hr.charAt(pa.ch-1),Zr=hr.lastIndexOf("@\u2581@",pa.ch),Tr=hr.lastIndexOf("@\u2581\u2581@",pa.ch),vo=Zr>Tr?Zr:Tr,Lo=Zr>Tr?3:4;if(Tt.indexOf(or)===-1)return null;if(console.log("change1:",Jn,ga,hr,pa,vo,Zr,Tr,or),vo>=0&&pa.ch-vo<5){var zo=vo+Lo;return Qn.replaceRange("",{line:pa.line,ch:vo},{line:pa.line,ch:zo}),{line:pa.line,ch:zo}}return null}(0,z.useEffect)(()=>{if(Fn){let ga=function(Jn,Qn){const pa=Jn.getValue();Ko(pa),fo(new Date().getTime()),Jn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Mt&&(ar?Mt(pa,Mr(pa)):Mt(pa))};return Fn.on("change",ga),()=>{Fn.off("change",ga)}}},[Fn,Mt]),(0,z.useEffect)(()=>{if(Fn)if(at==null)Fn.setValue(""),Ko("");else{const ga=window.scrollY||window.pageYOffset;at!==Fn.getValue()&&(Fn.setValue(at),Ko(at),Fn.setCursor(cn?1:Fn.lineCount(),0),window.scrollTo(0,ga))}},[Fn,at]);const Jt=(0,z.useCallback)(ga=>{const Jn=Fn.getCursor(),Qn=Fn.getSelection();let pa=Qn.split(`
|
|
`);switch(ga){case"bold":return Fn.replaceSelection("**"+Qn+"**"),Qn===""&&Fn.setCursor(Jn.line,Jn.ch+2),Fn.focus();case"italic":return Fn.replaceSelection("*"+Qn+"*"),Qn===""&&Fn.setCursor(Jn.line,Jn.ch+1),Fn.focus();case"code":return Fn.replaceSelection("`"+Qn+"`"),Qn===""&&Fn.setCursor(Jn.line,Jn.ch+1),Fn.focus();case"inline-latex":return Er("inline-latex"),Fn.focus();case"latex":return Fn.replaceSelection("```latex\n"+Qn+"\n```"),Fn.setCursor(Jn.line+1,Qn.length+1),Fn.focus();case"line-break":return Fn.replaceSelection(`<br/>
|
|
`),Fn.focus();case"list-ul":return Qn===""?Fn.replaceSelection("- "+Qn):Fn.replaceSelection(pa.map(hr=>hr===""?"":`- ${hr}`).join(`
|
|
`)),Fn.focus();case"list-ol":return Qn===""?Fn.replaceSelection("1. "+Qn):Fn.replaceSelection(pa.map((hr,or)=>hr===""?"":`${or+1}. ${hr}`).join(`
|
|
`)),Fn.focus();case"add-null-ch":ur==null||ur();return;case"add-signal":return Qn===""&&Fn.setCursor(Jn.line,Jn.ch),Fn.replaceSelection(Xt),Fn.focus();case"add-multiple":return Qn===""&&Fn.setCursor(Jn.line,Jn.ch),Fn.replaceSelection(Tt),Fn.focus();case"inster-template-1":return Qn===""&&Fn.setCursor(Jn.line,Jn.ch),Fn.replaceSelection(ya),Fn.focus();case"eraser":return Fn.setValue(""),Fn.focus();case"trigger-watch":return Ra(!jn),Fn.focus();case"trigger-full-screen":return Oa(!Qa),Fn.focus();case ct:Er(ct);return;case Dt:Er(Dt);return;case wt:Er(wt);return;case gn:Er(gn);return;case"maths-latex":Er("maths-latex");return;case Zt:Er(Zt);return;case yt:Er(yt);return;default:throw new Error}},[Fn,jn,Qa]),Ut=(0,z.useCallback)((ga,Jn)=>{var Qn,pa,hr,or,Zr,Tr;switch(Er(""),Ir){case ct:const{title:ao,link:xo}=ga;return Fn.replaceSelection(`[${ao}](${xo})`),Fn.focus();case Dt:const{language:uo,content:_o}=ga;return Fn.replaceSelection(["```"+uo,_o,"```"].join(`
|
|
`)),Fn.focus();case"maths-latex":for(var vo=atob(ga),Lo=new Uint8Array(vo.length),zo=0;zo<vo.length;zo++)Lo[zo]=vo.charCodeAt(zo);var sr=new Blob([Lo],{type:"image/png"});(0,Je.I)(sr,Gi=>{Gi.id?Fn.replaceSelection(``):(Gi==null?void 0:Gi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Fn.replaceSelection("`$$"+ga+"$$`");break;case wt:case gn:case dt:const{src:oa,alt:Ti}=ga,wo=Jn,ki=(hr=(pa=(Qn=wo==null?void 0:wo.name)==null?void 0:Qn.split("."))==null?void 0:pa.pop)==null?void 0:hr.call(pa);return((or=wo==null?void 0:wo.type)==null?void 0:or.indexOf("image"))>-1||!(wo!=null&&wo.type)?wo.align||wo.width?Fn.replaceSelection(`<p style="text-align:${wo.align||"initial"}"><img width="${wo.width?wo.width+"%":"initial"}" src="${oa}" alt="${Ti||""}" /></p>`):Fn.replaceSelection(`<img width="100%" src="${oa}" alt="${Ti||""}" />`):((Zr=wo==null?void 0:wo.type)==null?void 0:Zr.indexOf("video"))>-1?Fn.replaceSelection(`<video width="100%" controls src="${oa}"></video>`):((Tr=wo==null?void 0:wo.type)==null?void 0:Tr.indexOf("pdf"))>-1?Fn.replaceSelection(`<a href="${oa}?type=${wo.type}&disposition=inline" target="_blank">${wo.name}</a>`):ta.includes(ki)?Fn.replaceSelection(`<a href="${oa}?type=office&disposition=inline" target="_blank">${wo.name}</a>`):Fn.replaceSelection(`[${wo.name}](${oa})`),Fn.focus();case yt:const{row:rl,col:Qi,align:Yi}=ga;let Xi=`
|
|
`;for(let Gi=0;Gi<rl;Gi++){let Zi=[],ol=[];for(let Wt=0;Wt<Qi;Wt++)Gi===1&&ol.push(Vt[Yi]),Zi.push(" ");Gi===1&&(Xi+=`| ${ol.join(" | ")} |
|
|
`),Xi+=`| ${Zi.join(Qi===1?"":" | ")} |
|
|
`}return Fn.replaceSelection(Xi+`
|
|
`),Fn.focus();default:throw new Error}},[Fn,Ir]),Ln=(0,z.useMemo)(()=>{switch(Ir){case ct:return z.createElement(Rt,{callback:Ut,onCancel:fn});case Dt:return z.createElement(Yt.Z,{callback:Ut,onCancel:fn});case wt:return z.createElement(Je.Z,{callback:Ut,onCancel:fn});case Zt:return z.createElement(gt,{callback:Ut,onCancel:fn});case yt:return z.createElement(we,{callback:Ut,onCancel:fn});case"maths-latex":return z.createElement(ut,{showSaveButton:!0,callback:Ut});case"inline-latex":return z.createElement(xt.Z,{showSaveButton:!0,callback:Ut});default:return null}},[Ir]);function fn(){Er("")}(0,z.useEffect)(()=>{if(Ni.current){let ga=function(Zr){hr=!0,or=Zr.pageY},Jn=function(){hr=!1},Qn=function(Zr){if(hr){let Tr=Zr.pageY-or;Tr<0&&(Tr=0),Tr>300&&(Tr=300);let vo=kn+Tr+"px";wi(vo)}},pa=Ni.current,hr=!1,or=0;return pa.addEventListener("mousedown",ga),document.addEventListener("mousemove",Qn),document.addEventListener("mouseup",Jn),()=>{pa.removeEventListener("mousedown",ga),document.removeEventListener("mousemove",Qn),document.removeEventListener("mouseup",Jn)}}},[Fn,Ni]),(0,z.useEffect)(()=>{wi(kn)},[kn]);const Yn=Mn(Ft),Sa=Mn(Ao),Ea={width:Yn,height:Sa},ca=(0,z.useMemo)(()=>{if(Cr){let ga=new Date(Cr),Jn=ga.getHours(),Qn=ga.getMinutes(),pa=ga.getSeconds();return Jn=Jn<10?"0"+Jn:Jn,Qn=Qn<10?"0"+Qn:Qn,pa=pa<10?"0"+pa:pa,`${Jn}:${Qn}:${pa}`}return 0},[Cr]),Mr=ga=>{const Jn=[];if(ar){let Qn=-1;ga=ga.replace(/(@▁▁@|@▁@)/g,function(pa,hr,or){Jn.push({multiLine:pa!==Xt})})}return Jn};function kr(){window.sessionStorage.removeItem(ro),hi(!1),fo(0)}function Zo(){hi(!1),fo(0),Fn.setValue(window.sessionStorage.getItem(ro))}(0,z.useEffect)(()=>{Dr[Ir]&&Ir!==gn&&Ir!==Zt&&setTimeout(()=>{const ga=document.getElementsByClassName("markdown-popup-form")[0],Jn=window.innerWidth/2-ga.offsetWidth/2,Qn=window.innerHeight/2-ga.offsetHeight/2;Co(Jn),Ei(Qn)},0)},[Ir]);const Ur=ga=>{ga.preventDefault();const Jn=ga.clientX-co,Qn=ga.clientY-bo;document.body.onmousemove=pa=>{let hr=pa.clientX-Jn,or=pa.clientY-Qn;const Zr=document.getElementsByClassName("markdown-popup-form")[0],Tr=window.innerWidth-Zr.offsetWidth,vo=window.innerHeight-Zr.offsetHeight;hr=Math.max(0,Math.min(hr,Tr)),or=Math.max(0,Math.min(or,vo)),ho(pa.clientX,pa.clientY,Jn,Qn)&&(Co(hr),Ei(or))},document.body.onmouseup=function(){document.body.onmousemove=null}},ho=(ga,Jn,Qn,pa)=>{const hr=document.body.clientHeight,or=document.body.clientWidth;return ga<20&&Qn>ga||ga>or-20&&Qn<ga||Jn<20&&pa>Jn||Jn>hr-20&&pa<Jn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return z.createElement(z.Fragment,null,z.createElement("div",{className:"markdown-editor-wrapper",ref:$i},z.createElement("div",{className:`markdown-editor-container ${Pn} ${jn?"on-preview":""} ${dn?"mini":""} ${Qa?"full-screen":""}`,style:Ea},z.createElement(me,{insertTemp:Fr,watch:jn,fullScreen:Qa,showNullButton:gr,showNullProgramButton:ar,onActionCallback:Jt,hidetoolBar:mr,extraUse:Ma}),z.createElement("div",{className:"markdown-editor-body"},z.createElement("div",{className:"codemirror-container"},z.createElement("textarea",{ref:yi,placeholder:yn})),jn?z.createElement("div",{ref:Ce,className:"preview-container"},Kr==="stex"&&z.createElement(Me,{value:to}),Kr!=="stex"&&z.createElement(ze.Z,{disabledFill:On,showProgramFill:ar,value:to})):null))),Ja?z.createElement("a",{ref:Ni,className:"editor-resize"}):null,Ir===gn&&z.createElement(sn,{callback:Ut,onCancel:fn}),Ir===Zt&&z.createElement(gt,{callback:Ut,onCancel:fn}),z.createElement(fe.Z,null,Dr[Ir]&&Ir!==gn&&Ir!==Zt?z.createElement(st.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:co,top:bo},title:z.createElement("div",{style:{cursor:"move"},onMouseDown:Ur},Dr[Ir]),open:!0,onCancel:fn,footer:null,destroyOnClose:!0,width:Ir===Zt?"1200px":null,height:Ir===Zt?"80vh":null,className:"markdown-popup-form"},Ln):null))}},76021:function(Et,St,te){"use strict";te.d(St,{Z:function(){return ue},I:function(){return fe}});var z=te(78241),se=te(8591),he=te(92832),Ie=te(81327),be=te(5871),Ne=te(5112),ie=te(3113),nt=te(82977),je=te(59301),Ze=te(53229),ze=te(59301),Me=Object.defineProperty,ye=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Pe,xe,Ee)=>xe in Pe?Me(Pe,xe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):Pe[xe]=Ee,x=(Pe,xe)=>{for(var Ee in xe||(xe={}))y.call(xe,Ee)&&E(Pe,Ee,xe[Ee]);if(a)for(var Ee of a(xe))b.call(xe,Ee)&&E(Pe,Ee,xe[Ee]);return Pe},ee=(Pe,xe)=>ye(Pe,re(xe));const{useForm:ne}=z.default,oe={width:280,marginRight:10},ae={labelCol:{span:5},wrapperCol:{span:19}};var ue=({callback:Pe,onCancel:xe})=>{const[Ee]=ne();let De=(0,je.useRef)();function _e($e){De.current.width=Ee.getFieldValue("width"),De.current.align=Ee.getFieldValue("align"),Pe($e,De.current)}function pt($e,Ke){if($e.status===-1){se.ZP.error($e.message);return}Ee.setFieldsValue({src:`/api/attachments/${$e.id}`,type:Ke.type})}function Be($e){let Ke=$e.target.files[0];De.current=Ke,fe(Ke,pt)}return ze.createElement(z.default,ee(x({form:Ee},ae),{className:"upload-image-panel",onFinish:_e,style:{width:470,overflow:"hidden"}}),ze.createElement(z.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(z.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(he.default,{style:oe})),ze.createElement(me,{onFileChange:Be}))),ze.createElement(z.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(he.default,{style:{width:264}})),ze.createElement(z.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(Ie.Z,null,ze.createElement(z.default.Item,{name:"width",style:{margin:0}},ze.createElement(be.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(z.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(Ne.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ze.createElement("aside",null,ze.createElement(z.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(ie.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function me({onFileChange:Pe}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:Pe}))}function fe(Pe,xe){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ze.bg)())throw se.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ee=new FormData;Ee.append("editormd-image-file",Pe),Ee.append("file_param_name","editormd-image-file"),Ee.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(_e){xe(JSON.parse(_e.target.responseText),Pe)},!1),De.addEventListener("error",function(_e){console.error(_e)},!1),De.open("POST",`${nt.KI}/api/attachments.json`),De.send(Ee)}},44991:function(Et,St,te){"use strict";te.d(St,{Z:function(){return he}});var z=te(59301),se=te(4676);class he extends z.Component{constructor(be){super(be);const Ne=window.document;this.node=Ne.createElement("div"),Ne.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,se.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},28934:function(Et,St,te){"use strict";te.d(St,{Z:function(){return se}});var z=te(59301);function se(he,Ie){const be=(0,z.useRef)();(0,z.useEffect)(()=>{be.current=he}),(0,z.useEffect)(()=>{function Ne(){be.current()}if(Ie!==null){let ie=setInterval(Ne,Ie);return()=>clearInterval(ie)}},[Ie])}},18193:function(Et,St,te){"use strict";te.d(St,{Z:function(){return Ke}});var z=te(59301),se=te(5112),he=te(3113),Ie=te(8591),be=te(43418),Ne=te(5871),ie=te(95237),nt=te(43604),je=te(28103),Ze=te(36420),ze={flex_box_center:"flex_box_center___eijRq",flex_space_between:"flex_space_between___R4Vev",flex_box_vertical_center:"flex_box_vertical_center___j8R6g",flex_box_center_end:"flex_box_center_end___eB0cz",flex_box_column:"flex_box_column___b9VdU",md:"md___tcpb2",title:"title___dVHM9"},Me=te(53229),ye=te(24334),re=te(98280),a=te(75790),y=te(12470),b=te(59189),E=te(87169),x=te(26227),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Pe=(Ve,it,rt)=>it in Ve?ne(Ve,it,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ve[it]=rt,xe=(Ve,it)=>{for(var rt in it||(it={}))me.call(it,rt)&&Pe(Ve,rt,it[rt]);if(ue)for(var rt of ue(it))fe.call(it,rt)&&Pe(Ve,rt,it[rt]);return Ve},Ee=(Ve,it)=>oe(Ve,ae(it)),De=(Ve,it,rt)=>new Promise((vt,Rt)=>{var Yt=At=>{try{st(rt.next(At))}catch(Nt){Rt(Nt)}},Je=At=>{try{st(rt.throw(At))}catch(Nt){Rt(Nt)}},st=At=>At.done?vt(At.value):Promise.resolve(At.value).then(Yt,Je);st((rt=rt.apply(Ve,it)).next())});const _e={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var pt=(Ve=>(Ve[Ve.SET_PATH=0]="SET_PATH",Ve[Ve.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ve))(pt||{});function Be(Ve,it){switch(it.type){case 0:return Ee(xe({},Ve),{selectedPath:it.payload});case 1:return Ee(xe({},Ve),{passedContent:it.payload});default:throw new Error}}var Ke=({language:Ve,dispatch:it,shixunWorkReport:rt,v:vt,languages:Rt,classroomList:Yt,autoHeight:Je,diff_code_count:st,data:At})=>{const[Nt,Pt]=(0,z.useState)(Rt==null?void 0:Rt[0]),sn=(0,a.useParams)();return(0,z.useEffect)(()=>{Pt(Rt==null?void 0:Rt[0])},[]),(0,z.useEffect)(()=>{var Fe;Pt((Fe=Rt==null?void 0:Rt.filter(Qt=>Qt.language===(Nt==null?void 0:Nt.language)))==null?void 0:Fe[0])},[Rt]),ee.createElement(ee.Fragment,null,ee.createElement("h2",null," ",ee.createElement("span",null,vt.is_finish?ee.createElement("span",null,"\u6700\u540E\u901A\u5173\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801")):ee.createElement("span",null,"\u6700\u65B0\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5")),(Rt==null?void 0:Rt.length)>1&&ee.createElement(se.ZP.Group,{defaultValue:Ve,style:{marginLeft:10},onChange:Fe=>{var Qt;vt.language=Fe.target.value,Pt((Qt=Rt==null?void 0:Rt.filter(Gt=>Gt.language===Fe.target.value))==null?void 0:Qt[0])}},Rt==null?void 0:Rt.map(Fe=>ee.createElement(se.ZP,{value:Fe==null?void 0:Fe.language},Fe==null?void 0:Fe.language)))),(0,Me.GJ)()&&rt!="shixunWorkReport"&&ee.createElement("span",null,ee.createElement("span",null,"\u5F97\u5206 ",Nt==null?void 0:Nt.score,"/",Nt==null?void 0:Nt.total_score),ee.createElement(he.ZP,{style:{margin:"0px 10px"},onClick:()=>{var Fe,Qt;if(!((Qt=(Fe=Yt.AssistantObject)==null?void 0:Fe.hack)!=null&&Qt.can_appraise)&&(0,Me.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}let Gt=Nt==null?void 0:Nt.score;be.default.confirm({title:"\u8C03\u5206",content:ee.createElement("div",null,ee.createElement("p",null,"\u5F97\u5206\uFF1A",Nt==null?void 0:Nt.score,"/",Nt==null?void 0:Nt.total_score),ee.createElement("p",null,"\u8C03\u5206\uFF1A",ee.createElement(Ne.Z,{min:0,max:Nt==null?void 0:Nt.total_score,defaultValue:Nt==null?void 0:Nt.score,onChange:Hn=>{Gt=Hn}}))),okText:"\u786E\u8BA4",onOk:()=>De(void 0,null,function*(){(yield(0,re.ZP)(`/api/courses/${sn==null?void 0:sn.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:sn==null?void 0:sn.coursesId,hack_user_code_id:Nt==null?void 0:Nt.hack_user_id,score:Gt}})).status===0&&(Ie.ZP.success("\u8C03\u5206\u6210\u529F"),it({type:"shixunHomeworks/setActionTabs",payload:{}}),it({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},sn)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,Me.GJ)()&&rt!="shixunWorkReport"&&ee.createElement(he.ZP,{onClick:()=>{var Fe;if(!((Fe=Yt.AssistantObject.hack)!=null&&Fe.can_appraise)&&(0,Me.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}it({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:rt.user_id,type:"1",language:Nt==null?void 0:Nt.language,v:vt,data:xe({},rt)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),ee.createElement(Ze.ZP,{height:300,language:Nt==null?void 0:Nt.language,value:Nt!=null&&Nt.code?ye.Base64.decode(Nt==null?void 0:Nt.code):"",autoHeight:Je,theme:"default",options:_e}),((Nt==null?void 0:Nt.comment)||(Nt==null?void 0:Nt.hidden_comment))&&ee.createElement("div",null,ee.createElement(ie.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},ee.createElement(nt.Z,{flex:1},ee.createElement("h1",{className:ze.title},"\u70B9\u8BC4\u5185\u5BB9")),ee.createElement(nt.Z,{className:"pr30"},(0,Me.GJ)()&&ee.createElement(he.ZP,{onClick:()=>De(void 0,null,function*(){be.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ee.createElement(E.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return De(this,null,function*(){(yield(0,b.gZ)({comment_id:Nt==null?void 0:Nt.comment_id,homeworkId:sn.homeworkId,type:"hack"})).status===0&&(Ie.ZP.success("\u5220\u9664\u6210\u529F"),it({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},sn)}))})}})})},ee.createElement(x.Z,null),"\u5220\u9664"))),ee.createElement(je.Z,{style:{margin:0}}),(Nt==null?void 0:Nt.comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:Nt==null?void 0:Nt.comment})),(Nt==null?void 0:Nt.hidden_comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:Nt==null?void 0:Nt.hidden_comment}))))}},71092:function(Et,St,te){"use strict";te.r(St),te.d(St,{default:function(){return xe}});var z=te(59301),se=te(75790),he=te(99313),Ie=te(3113),be=te(58421),Ne=te(53229),ie=te(98280),nt=te(91570),je=te(65038),Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAAAAXNSR0IArs4c6QAABPdJREFUSEullWloHGUYx//vzO7sHDuzm93sZpM2l/SgRyK7xSYxrfYgbdUq6JcixXqAUrxItGAVMT1A+kH7Re1WWppa6afiAYJIi7ZB07vkIARzVJqYbJMmu90zszOzM6/MVEXQotR3mPky8/7e//N7ZuYl+J+jt7fX7/f7i/X19cU/UORemZRSZnBwsKNQKLztdrtHOI57sqGhYcbm3ROUUsoOD4++Mz9f2CtJItE0DaVSqTMWi+27Jyil1DM0NLTfsmgHpZbLhthQSmlfTU3NmkgkUvjPSSmlZGRkZI2maZ2mWdpAGBehpgnd0KBpOkzTLPn9/gei0Wjfv0JHR0cXGpq2xTDNHZTSJ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kymatSiCoEX4C8rA+fh4eE4GioPrI1Goz3k1Fdf7KlcEuvsu3z1mN9jjY3fSr/vgX5oV/trr/zTrtDf379wYmIinkqlHrMsi8iyDFnxQRCFsdrq6tW1tbW3yXt79z77y42J44KL5FPJOeJiXUb0/oYdu9/t/OZuW42tpa+v75iqqtvy+RwqwiEIvPjJw+vXv+q8011dXXx/f/9WWZaVQCBwE0Bfe3v7NCHE/rDuOmzw+Pj4p4lEYruLZWeqa2o2xmKxIXvCb487Tm3fsdeDAAAAAElFTkSuQmCC",ze=te(28103),Me=te(12470),ye=te(49647),re=(Ee,De,_e)=>new Promise((pt,Be)=>{var $e=it=>{try{Ve(_e.next(it))}catch(rt){Be(rt)}},Ke=it=>{try{Ve(_e.throw(it))}catch(rt){Be(rt)}},Ve=it=>it.done?pt(it.value):Promise.resolve(it.value).then($e,Ke);Ve((_e=_e.apply(Ee,De)).next())});const a=({user:Ee,item:De,getdata:_e,params:pt})=>{var Be;const $e=(0,z.useRef)(),[Ke,Ve]=(0,z.useState)(),[it,rt]=(0,z.useState)(!0);return(0,z.useEffect)(()=>{if(!$e.current)return;function vt(){var Yt;let Je=new ResizeObserver(st=>{for(let At of st)console.log("----",At,st),Ve(At.target.offsetHeight>=52)});return Je.observe((Yt=$e.current)==null?void 0:Yt.firstElementChild),Je}const Rt=vt();return()=>{var Yt,Je;(Yt=$e.current)!=null&&Yt.firstElementChild&&Rt.unobserve((Je=$e.current)==null?void 0:Je.firstElementChild)}},[$e.current]),z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${pt.coursesId}/program_homework/${pt.categoryId}/answer/${De.id}/detail`)},style:{padding:"0px 20px",cursor:"pointer"}},z.createElement("div",{className:je.Z.titles,style:{fontWeight:600,fontSize:18,color:"#000000"}},De.name),z.createElement("div",{style:{display:"flex",marginTop:10}},z.createElement("div",{style:{flex:1,display:"flex",alignItems:"center",color:"#5F6368"}},z.createElement("img",{style:{width:24,borderRadius:50},src:`${ye.Z.IMG_SERVER}/images/${De.author.image_url}`}),z.createElement("span",{style:{margin:"0px 12px 0px 8px"}},(Be=De==null?void 0:De.author)==null?void 0:Be.name),z.createElement("span",null,"\u53D1\u8868\u4E8E",De.created_at)),z.createElement("div",null,z.createElement("span",{style:{color:"#5F6368",cursor:"pointer"},onClick:()=>{}},"\u56DE\u590D\uFF08",(De==null?void 0:De.descendants_count)||0,"\uFF09"),(0,Ne.eB)()&&z.createElement("span",{onClick:vt=>re(void 0,null,function*(){vt.stopPropagation(),(yield(0,ie.ZP)(`/api/hack_messages/${De.id}/update_public`,{method:"post"})).status===0&&_e()}),style:{color:"#44D7B6",cursor:"pointer",marginLeft:20}},De.is_public?"\u53D6\u6D88\u516C\u5F00":"\u516C\u5F00"))),z.createElement("div",{ref:$e,style:{margin:"15px 0px",maxHeight:it?52:"",overflow:"hidden"}},z.createElement(Me.Z,{style:{color:"#434D6C",fontSize:14},value:De.content})),(De==null?void 0:De.hack_identifier)&&z.createElement("span",{onClick:vt=>re(void 0,null,function*(){var Rt;if(vt.stopPropagation(),(0,Ne.dE)())return;let Yt=yield(0,ie.ZP)(`/api/problems/${De==null?void 0:De.hack_identifier}/start.json`,{method:"get",params:{hack_user_id:(Rt=De==null?void 0:De.author)==null?void 0:Rt.id}});Yt&&(window.open(`/myproblems/${Yt==null?void 0:Yt.identifier}?type=1`),localStorage.setItem("program_homework",[pt.coursesId,pt.categoryId]))}),className:je.Z.tips},De==null?void 0:De.hack_name),Ke&&z.createElement("div",{onClick:vt=>{vt.stopPropagation(),rt(!it)}},z.createElement(ze.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},z.createElement("a",{className:`font14 ${je.Z.color999}`},it?"\u9605\u8BFB\u5168\u6587 ":"\u6536\u8D77\u5168\u6587 ",z.createElement("i",{className:`iconfont font14 ${it?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`})))))};var y=(0,se.connect)(({user:Ee})=>({user:Ee}))(a),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ae=(Ee,De,_e)=>De in Ee?b(Ee,De,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ee[De]=_e,ue=(Ee,De)=>{for(var _e in De||(De={}))ne.call(De,_e)&&ae(Ee,_e,De[_e]);if(ee)for(var _e of ee(De))oe.call(De,_e)&&ae(Ee,_e,De[_e]);return Ee},me=(Ee,De)=>E(Ee,x(De)),fe=(Ee,De,_e)=>new Promise((pt,Be)=>{var $e=it=>{try{Ve(_e.next(it))}catch(rt){Be(rt)}},Ke=it=>{try{Ve(_e.throw(it))}catch(rt){Be(rt)}},Ve=it=>it.done?pt(it.value):Promise.resolve(it.value).then($e,Ke);Ve((_e=_e.apply(Ee,De)).next())});const Pe=({user:Ee})=>{var De,_e,pt,Be;let[$e,Ke]=(0,z.useState)(me(ue({},(0,se.useParams)()),{page:1,per_page:10,type:1,sort_by:"",course_group:(0,Ne.dE)()?[Ee.userInfo.course.course_group_id]:[]}));const[Ve,it]=(0,z.useState)([]);(0,z.useEffect)(()=>{rt()},[]);function rt(){return fe(this,null,function*(){let vt=yield(0,ie.ZP)(`/api/homework_commons/${$e.categoryId}/hack_messages`,{method:"get",params:me(ue({},$e),{type:1})});it(vt)})}return z.createElement("div",{style:{width:1200,margin:"0px auto"}},z.createElement("div",{style:{marginTop:10,display:"flex"}},z.createElement("div",{style:{flex:1,marginRight:30,background:"#fff"}},z.createElement(he.default,{tabBarStyle:{padding:"0px 10px"},style:{width:"850px"},tabBarExtraContent:(0,Ne.dE)()&&z.createElement(Ie.ZP,{type:"primary",style:{width:88},onClick:()=>{se.history.push(`/classrooms/${$e.coursesId}/program_homework/${$e.categoryId}/answer/add`)}},"\u53D1\u8868\u7B54\u7591 "),onChange:vt=>{vt==="1"?$e.sort_by="":$e.sort_by="created_at",Ke(ue({},$e)),rt()}},z.createElement(he.default.TabPane,{key:"1",tab:"\u6700\u65B0\u56DE\u590D"}),z.createElement(he.default.TabPane,{key:"2",tab:"\u6700\u65B0\u53D1\u8868"})),((De=Ve==null?void 0:Ve.data)==null?void 0:De.length)<=0&&z.createElement(nt.Z,{customText:"\u6682\u65E0\u8BA8\u8BBA"}),(_e=Ve==null?void 0:Ve.data)==null?void 0:_e.map(vt=>z.createElement(y,{item:vt,params:$e,getdata:rt})),z.createElement("div",{style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(be.Z,{current:$e.page,pageSize:$e.per_page,total:Ve==null?void 0:Ve.count,hideOnSinglePage:!0,onChange:(vt,Rt)=>{$e.page=vt,$e.per_page=Rt,Ke(ue({},$e)),rt()}}))),z.createElement("div",{className:je.Z.right,style:{width:300,height:"100%"}},z.createElement("div",{style:{display:"flex"}},z.createElement("div",{style:{flex:1,display:"flex",alignItems:"center"}},z.createElement("span",{style:{marginRight:3,fontSize:20,fontWeight:600,color:"#000"}},"\u5E7F\u64AD"),z.createElement("img",{width:21,src:Ze})," "),(0,Ne.GJ)()&&z.createElement(Ie.ZP,{type:"primary",onClick:()=>{se.history.push(`/classrooms/${$e.coursesId}/program_homework/${$e.categoryId}/answer/add`)}},"\u53D1\u5E03\u5E7F\u64AD")),((pt=Ve==null?void 0:Ve.radio_messages)==null?void 0:pt.length)<=0&&z.createElement(nt.Z,null),(Be=Ve==null?void 0:Ve.radio_messages)==null?void 0:Be.map(vt=>z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${$e.coursesId}/program_homework/${$e.categoryId}/answer/${vt.id}/detail`)},style:{marginTop:30,cursor:"pointer"}},z.createElement("div",{className:je.Z.title,style:{fontSize:"16px",fontWeight:600}},z.createElement("span",{style:{color:(vt==null?void 0:vt.message_type)===2?"#4C7BE6":"#E17E7E"}},(vt==null?void 0:vt.message_type)===2?"\u3010\u9898\u89E3\u3011":"\u3010\u901A\u77E5\u3011"),z.createElement("span",{title:vt.name},vt.name)),z.createElement("div",{style:{marginTop:15,color:"#5F6368"}},"\u53D1\u8868\u4E8E",vt.created_at))))))};var xe=(0,se.connect)(({user:Ee})=>({user:Ee}))(Pe)},80743:function(Et,St,te){"use strict";te.d(St,{Z:function(){return me}});var z=te(59301),se={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},he=Object.defineProperty,Ie=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ie=(fe,Pe,xe)=>Pe in fe?he(fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[Pe]=xe,nt=(fe,Pe)=>{for(var xe in Pe||(Pe={}))be.call(Pe,xe)&&ie(fe,xe,Pe[xe]);if(Ie)for(var xe of Ie(Pe))Ne.call(Pe,xe)&&ie(fe,xe,Pe[xe]);return fe};const je=fe=>React.createElement("svg",nt({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},fe),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var Ze="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",ze=te(99313),Me=te(92310),ye=te.n(Me),re=te(59301),a=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ne=(fe,Pe,xe)=>Pe in fe?a(fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[Pe]=xe,oe=(fe,Pe)=>{for(var xe in Pe||(Pe={}))x.call(Pe,xe)&&ne(fe,xe,Pe[xe]);if(E)for(var xe of E(Pe))ee.call(Pe,xe)&&ne(fe,xe,Pe[xe]);return fe},ae=(fe,Pe)=>y(fe,b(Pe)),me=({dataSource:fe,className:Pe,style:xe})=>{const[Ee,De]=(0,z.useState)([]),[_e,pt]=(0,z.useState)(""),Be=(0,z.useRef)("");(0,z.useEffect)(()=>{if(fe!=null&&fe.length){const Ve=String(Math.random()).slice(-6),it=fe.map(rt=>ae(oe({},rt),{key:`${Ve}-${rt.key}`}));De(it),pt(it[0].key)}},[fe.length]);const $e=Ve=>{pt(Ve),Be.current=Ve;const it=document.getElementById(Ve);if(it){const rt=it.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:rt,behavior:"smooth"})}},Ke=()=>{const Ve=Ee.map(rt=>document.getElementById(rt.key)),it=window.innerHeight/2;for(const rt of Ve)if(rt){const vt=rt.getBoundingClientRect();if(vt.top>=0&&vt.top<it){if(Be.current===rt.id){Be.current="";return}if(Be.current)return;pt(rt.id);break}}};return(0,z.useEffect)(()=>(window.addEventListener("scroll",Ke),()=>{window.removeEventListener("scroll",Ke)}),[Ee]),re.createElement("div",{className:ye()(se.anchorNavigation,Pe),style:xe},re.createElement(ze.default,{items:Ee,tabBarGutter:60,className:se.tabs,activeKey:_e,onChange:$e}),Ee.map(Ve=>re.createElement("div",{key:Ve.key,id:Ve.key,className:se.box},re.createElement("div",{className:se.head},re.createElement("img",{className:"mr10",src:Ze,alt:"Dot"}),Ve.label),re.createElement("div",{className:se.element},Ve.element))))}},55813:function(Et,St,te){"use strict";var z=te(59301),se=te(43418),he=te(8591),Ie=te(98280),be=te(75790),Ne=Object.defineProperty,ie=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ze=(a,y,b)=>y in a?Ne(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,ze=(a,y)=>{for(var b in y||(y={}))nt.call(y,b)&&Ze(a,b,y[b]);if(ie)for(var b of ie(y))je.call(y,b)&&Ze(a,b,y[b]);return a},Me=(a,y)=>{var b={};for(var E in a)nt.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&ie)for(var E of ie(a))y.indexOf(E)<0&&je.call(a,E)&&(b[E]=a[E]);return b},ye=(a,y,b)=>new Promise((E,x)=>{var ee=ae=>{try{oe(b.next(ae))}catch(ue){x(ue)}},ne=ae=>{try{oe(b.throw(ae))}catch(ue){x(ue)}},oe=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(ee,ne);oe((b=b.apply(a,y)).next())});const re=a=>{var y=a,{shixunHomeworks:b,dispatch:E}=y,x=Me(y,["shixunHomeworks","dispatch"]);const ee=(0,be.useParams)();return z.createElement(se.default,{centered:!0,title:"\u63D0\u793A",open:b.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ye(void 0,null,function*(){(yield(0,Ie.ZP)(`/api/myshixuns/${b.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ee.coursesId}})).shixun_identifier&&(he.ZP.success("\u64CD\u4F5C\u6210\u529F"),E({type:"shixunHomeworks/setActionTabs",payload:{}}),E({type:"shixunHomeworks/getWorkList",payload:ze({},b.actionTabs.params)}))}),onCancel:()=>{E({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),z.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};St.Z=(0,be.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(re)},12492:function(Et,St,te){"use strict";te.d(St,{n:function(){return wt},Z:function(){return gn}});var z=te(59301),se=te(78241),he=te(8591),Ie=te(6848),be=te(43418),Ne=te(20834),ie=te(24905),nt=te(95237),je=te(43604),Ze=te(92832),ze=te(3113),Me=te(38854),ye=te(1710),re=te(5112),a=te(5871),y=te(58421),b=te(84105),E=te(87395),x=te(67921),ee=te(89489),ne=te(91570),oe=te(19374),ae=te(55813),ue=te(96512),me=te(98280),fe=te(75790),Pe=Object.defineProperty,xe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,_e=(dt,Dt,yt)=>Dt in dt?Pe(dt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):dt[Dt]=yt,pt=(dt,Dt)=>{for(var yt in Dt||(Dt={}))Ee.call(Dt,yt)&&_e(dt,yt,Dt[yt]);if(xe)for(var yt of xe(Dt))De.call(Dt,yt)&&_e(dt,yt,Dt[yt]);return dt},Be=(dt,Dt)=>{var yt={};for(var en in dt)Ee.call(dt,en)&&Dt.indexOf(en)<0&&(yt[en]=dt[en]);if(dt!=null&&xe)for(var en of xe(dt))Dt.indexOf(en)<0&&De.call(dt,en)&&(yt[en]=dt[en]);return yt},$e=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{mn(yt.next(an))}catch($n){Vt($n)}},Un=an=>{try{mn(yt.throw(an))}catch($n){Vt($n)}},mn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Un);mn((yt=yt.apply(dt,Dt)).next())});const Ke=dt=>{var Dt=dt,{shixunHomeworks:yt,dispatch:en}=Dt,Vt=Be(Dt,["shixunHomeworks","dispatch"]);const un=(0,fe.useParams)(),[Un,mn]=(0,z.useState)(!0),[an,$n]=(0,z.useState)(!1),[_t]=se.default.useForm(),Tt=()=>$e(void 0,null,function*(){const Xt=_t.getFieldValue();(yield(0,me.ZP)(`/api/homework_commons/${un.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...yt.actionTabs.selectArrs],cover_all:Un,hidden_comment:Xt.hidden_comment,comment:Xt.comment}})).status===0&&(he.ZP.success("\u8BC4\u9605\u6210\u529F"),_t.resetFields(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),en({type:"shixunHomeworks/getWorkList",payload:pt({},yt.actionTabs.params)}))});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:yt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>$e(void 0,null,function*(){const Xt=_t.getFieldValue();JSON.stringify(Xt)==="{}"||Xt.hidden_comment===""&&Xt.comment===""?$n(!0):yt.workList.partial_comment?en({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:yt.actionTabs.selectArrs,params:yt.actionTabs.params}}):Tt()}),onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:_t,onChange:()=>{an&&$n(!1)}},z.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"comment"},z.createElement(Ze.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),z.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"hidden_comment"},z.createElement(Ze.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),an&&z.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),z.createElement(be.default,{centered:!0,title:z.createElement("span",null,z.createElement(ue.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:yt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Tt()},onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},z.createElement("div",{className:"tc"},z.createElement("p",null,"\u90E8\u5206\u5B66\u751F\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF0C\u662F\u5426\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF1F"),z.createElement("p",null,z.createElement(re.ZP.Group,{onChange:Xt=>{mn(Xt.target.value)},value:Un},z.createElement(re.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),z.createElement(re.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ve=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Ke),it=te(59189),rt=te(53229),vt={wrap:"wrap___altfw",maxWidth70:"maxWidth70___Q4NoO",maxWidth80:"maxWidth80___lwsmt",maxWidth100:"maxWidth100___Wnsw8",maxWidth110:"maxWidth110___zQh0P",maxWidth120:"maxWidth120___gjwfa",reviewStatusTooltip:"reviewStatusTooltip___um7Rt",color32C:"color32C___GIjgW",MdEditor:"MdEditor___OuyKH",tr1:"tr1___nwwbX",TableDom:"TableDom___pl59W"},Rt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,st=(dt,Dt)=>{var yt={};for(var en in dt)Yt.call(dt,en)&&Dt.indexOf(en)<0&&(yt[en]=dt[en]);if(dt!=null&&Rt)for(var en of Rt(dt))Dt.indexOf(en)<0&&Je.call(dt,en)&&(yt[en]=dt[en]);return yt},At=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{mn(yt.next(an))}catch($n){Vt($n)}},Un=an=>{try{mn(yt.throw(an))}catch($n){Vt($n)}},mn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Un);mn((yt=yt.apply(dt,Dt)).next())});const Nt=dt=>{var Dt=dt,{shixunHomeworks:yt,dispatch:en}=Dt,Vt=st(Dt,["shixunHomeworks","dispatch"]),un,Un,mn,an;const $n=(0,fe.useParams)(),[_t,Tt]=(0,z.useState)(!1),[Xt,ya]=(0,z.useState)((Un=(un=yt.actionTabs.selectArrs)==null?void 0:un.data)==null?void 0:Un.name),[ta]=se.default.useForm();(0,z.useEffect)(()=>{var Ga,Ba,Nr,Dr,Xa,at;yt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&ta.setFieldsValue({comment:(Ba=(Ga=yt.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:Ba.work_comment,hidden_comment:(Dr=(Nr=yt.actionTabs.selectArrs)==null?void 0:Nr.data)==null?void 0:Dr.work_comment_hidden}),ya((at=(Xa=yt.actionTabs.selectArrs)==null?void 0:Xa.data)==null?void 0:at.name)},[yt.actionTabs.key]);const Mn=()=>At(void 0,null,function*(){var Ga,Ba;const Nr=ta.getFieldValue();if((yield(0,me.ZP)(`/api/student_works/${(Ba=(Ga=yt.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:Ba.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Nr.hidden_comment,comment:Nr.comment}})).status===0)return he.ZP.success("\u8BC4\u9605\u6210\u529F"),ta.resetFields(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),en({type:"shixunHomeworks/getWorkList",payload:$n})});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:(an=(mn=yt.actionTabs.selectArrs)==null?void 0:mn.data)!=null&&an.work_comment_hidden?"\u66F4\u6539"+Xt+"\u70B9\u8BC4":Xt+"\u70B9\u8BC4",open:yt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>At(void 0,null,function*(){const Ga=ta.getFieldValue();JSON.stringify(Ga)==="{}"||Ga.hidden_comment===""&&Ga.comment===""?Tt(!0):Mn()}),onCancel:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:ta,onChange:()=>{_t&&Tt(!1)}},z.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"comment"},z.createElement(Ze.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),z.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"hidden_comment"},z.createElement(Ze.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),_t&&z.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var Pt=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Nt),sn=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,Gt=(dt,Dt)=>{var yt={};for(var en in dt)Fe.call(dt,en)&&Dt.indexOf(en)<0&&(yt[en]=dt[en]);if(dt!=null&&sn)for(var en of sn(dt))Dt.indexOf(en)<0&&Qt.call(dt,en)&&(yt[en]=dt[en]);return yt},Hn=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{mn(yt.next(an))}catch($n){Vt($n)}},Un=an=>{try{mn(yt.throw(an))}catch($n){Vt($n)}},mn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Un);mn((yt=yt.apply(dt,Dt)).next())});const ea=dt=>{var Dt=dt,{shixunHomeworks:yt,dispatch:en}=Dt,Vt=Gt(Dt,["shixunHomeworks","dispatch"]);const un=(0,fe.useParams)(),[Un,mn]=(0,z.useState)([]),[an,$n]=(0,z.useState)([]);(0,z.useEffect)(()=>{yt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&_t()},[yt.actionTabs.key]);function _t(){return Hn(this,null,function*(){const Xt=yield(0,me.ZP)(`/api/homework_commons/${un.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});mn(Xt)})}const Tt=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:yt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Hn(void 0,null,function*(){const Xt=yield(0,me.ZP)(`/api/homework_commons/${un.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:an}});(Xt==null?void 0:Xt.status)===0&&(fe.history.replace(`/classrooms/${un.coursesId}/shixun_homework/${un.categoryId}/detail?tabs=4`),window.location.reload(),en({type:"shixunHomeworks/setActionTabs",payload:{}}),$n([]))}),onCancel:()=>{$n([]),en({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(ye.default,{rowSelection:{type:"checkbox",onChange:(Xt,ya)=>{$n([...Xt])},selectedRowKeys:an,getCheckboxProps:Xt=>({disabled:Xt.status==="\u8FDB\u884C\u4E2D"||Xt.works_count===0})},rowKey:Xt=>Xt.key||Xt.id,scroll:{y:300},pagination:!1,columns:Tt,dataSource:Un==null?void 0:Un.group_list})))};var Re=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(ea),qe=te(48551),tt=te(34188),Le=Object.defineProperty,ft=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,ve=(dt,Dt,yt)=>Dt in dt?Le(dt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):dt[Dt]=yt,Ge=(dt,Dt)=>{for(var yt in Dt||(Dt={}))gt.call(Dt,yt)&&ve(dt,yt,Dt[yt]);if(ft)for(var yt of ft(Dt))Oe.call(Dt,yt)&&ve(dt,yt,Dt[yt]);return dt},We=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{mn(yt.next(an))}catch($n){Vt($n)}},Un=an=>{try{mn(yt.throw(an))}catch($n){Vt($n)}},mn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Un);mn((yt=yt.apply(dt,Dt)).next())});const we=({shixunHomeworks:dt,dispatch:Dt,isShow:yt,setIsShow:en,item:Vt,coursesId:un,categoryId:Un})=>{const[mn,an]=(0,z.useState)({page:1,limit:10}),[$n,_t]=(0,z.useState)([]),[Tt,Xt]=(0,z.useState)(!1);(0,z.useEffect)(()=>{yt&&ya()},[yt]);function ya(){return We(this,null,function*(){Xt(!0);const Mn=yield(0,me.ZP)(`/api/student_works/${Vt.id}/game_details.json`,{method:"get",params:Ge({},mn)});Xt(!1),Mn.status===0&&_t(Mn==null?void 0:Mn.data)})}const ta=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(Mn,Ga,Ba)=>z.createElement("span",{style:{color:"#000"}},mn.limit*(mn.page-1)+Ba+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(Mn,Ga,Ba)=>z.createElement("span",{style:{color:"#000"}},Mn)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(Mn,Ga,Ba)=>z.createElement("span",null,Mn==0?"\u672A\u901A\u5173":Mn==4?"\u622A\u6B62\u540E\u901A\u5173":"\u5DF2\u901A\u5173")},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",key:"evaluate_count",width:100,ellipsis:!0,render:(Mn,Ga,Ba)=>z.createElement("span",{style:{color:"#333"}},Mn)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(Mn,Ga,Ba)=>z.createElement("span",{style:{color:"#333"}},Mn)}];return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:yt,width:700,footer:null,maskClosable:!1,onCancel:()=>{mn.page=1,mn.limit=10,an(Ge({},mn)),en(!1)}},z.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},z.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),z.createElement("span",{title:Vt==null?void 0:Vt.user_name,style:{color:"#232B40"}},Vt==null?void 0:Vt.user_name)),z.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u53F7"),z.createElement("span",{title:Vt==null?void 0:Vt.student_id,style:{color:"#232B40"}},(Vt==null?void 0:Vt.student_id)||"--")),z.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),z.createElement("span",{title:Vt==null?void 0:Vt.group_name,style:{color:"#232B40"}},(Vt==null?void 0:Vt.group_name)||"--"))),z.createElement(ye.default,{scroll:{y:380},columns:ta,loading:Tt,style:{marginBottom:mn.limit>($n==null?void 0:$n.count)?"16px":"0"},dataSource:$n.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:mn.limit,current:mn.page,position:["bottomRight"],onChange:(Mn,Ga)=>{mn.page=Mn,mn.limit=Ga,an(Ge({},mn)),ya()},total:$n==null?void 0:$n.count,showTotal:(Mn,Ga)=>z.createElement("span",null,"\u5171",z.createElement("span",{style:{color:"#165DFF"}}," ",Mn," "),"\u6761\u6570\u636E")}})))};var mt=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(we),et=te(59301),Ht=Object.defineProperty,Se=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,Ae=(dt,Dt,yt)=>Dt in dt?Ht(dt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):dt[Dt]=yt,He=(dt,Dt)=>{for(var yt in Dt||(Dt={}))ut.call(Dt,yt)&&Ae(dt,yt,Dt[yt]);if(Se)for(var yt of Se(Dt))xt.call(Dt,yt)&&Ae(dt,yt,Dt[yt]);return dt},ct=(dt,Dt,yt)=>new Promise((en,Vt)=>{var un=an=>{try{mn(yt.next(an))}catch($n){Vt($n)}},Un=an=>{try{mn(yt.throw(an))}catch($n){Vt($n)}},mn=an=>an.done?en(an.value):Promise.resolve(an.value).then(un,Un);mn((yt=yt.apply(dt,Dt)).next())});const wt=({value:dt,placeholder:Dt=""})=>{if(dt==null||dt==="")return et.createElement("span",null,Dt);{const yt=Number(dt);if(yt>=80)return et.createElement("span",{style:{color:"#009C0F"}},yt);if(yt<80&&yt>=60)return et.createElement("span",{style:{color:"#FA6400"}},yt);if(yt<60)return et.createElement("span",{style:{color:"#E30000"}},yt)}},Zt=({shixunHomeworks:dt,classroomList:Dt,globalSetting:yt,loading:en,dispatch:Vt,setExportParams:un,user:Un})=>{var mn,an,$n,_t,Tt,Xt,ya,ta,Mn,Ga,Ba,Nr,Dr;const Xa=(0,fe.useParams)(),[at,Mt]=(0,z.useState)(He(He({},{page:1,limit:20,order:"work_score",b_order:"desc"}),Xa)),[Ft]=se.default.useForm(),[kn,dn]=(0,z.useState)(),[An,Xr]=(0,z.useState)({}),[Fr,Kr]=(0,z.useState)([]),[ro,Ja]=(0,z.useState)(!1),[Nn,gr]=(0,z.useState)([]),[ar,mr]=(0,z.useState)(!1),[tr,ht]=(0,z.useState)(),[qt,tn]=(0,z.useState)(1),[Pn,Rn]=(0,z.useState)(),[cn,On]=(0,z.useState)(),[yn,rr]=(0,z.useState)(),[Ma,ur]=(0,z.useState)(),[Fn,oo]=(0,z.useState)(),[to,Ko]=(0,z.useState)(!1),[jn,Ra]=(0,z.useState)(!1),[Qa,Oa]=(0,z.useState)(),Ir=(0,fe.useLocation)();(0,z.useEffect)(()=>(Er(),()=>{Xr([]),Kr([])}),[at.coursesId]),(0,z.useEffect)(()=>{var _n;const Na=JSON.parse(JSON.stringify(dt.workList));!((_n=Na==null?void 0:Na.student_works)!=null&&_n.length)&&(Na!=null&&Na.id)?(Na.student_works=[He({},Na)],Xr(Na)):(Na!=null&&Na.id&&Kr([He(He({},Na),{number:"\u6211"})]),Xr(He({},Na)))},[dt.workList]);const Er=_n=>(un(He({},at)),Vt({type:"shixunHomeworks/getWorkList",payload:at}));(0,z.useEffect)(()=>{Vt({type:"user/getUserInfo",payload:{course_id:at.coursesId}})},[]);const Cr=()=>ct(void 0,null,function*(){const _n=yield(0,it.Uc)({categoryId:Xa.categoryId});dn(_n==null?void 0:_n.update_score)}),fo=()=>ct(void 0,null,function*(){Vt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const _n=yield(0,it.Vs)({categoryId:Xa.categoryId});Vt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(_n==null?void 0:_n.status)===0&&(he.ZP.success(_n==null?void 0:_n.message),Er())}),Ao=()=>{at.page=1;const _n=Object.assign({},Ft.getFieldsValue());delete at.course_group,delete at.teacher_comment,Object.keys(_n).map(function(Na){var co;switch(Na){case"task_status":_n[Na].includes("all")||!_n[Na].length?(delete at.work_status,Ft.setFieldsValue({task_status:"all"})):(at.work_status=_n[Na],Ft.setFieldsValue({task_status:at.work_status}));break;case"course_group_info":_n[Na].includes("all")||!_n[Na].length?(delete at.course_group,Ft.setFieldsValue({course_group_info:"all"})):(at.course_group=_n[Na],Ft.setFieldsValue({course_group_info:at.course_group}));break;case"teacher_comment":_n[Na].includes("all")||!_n[Na].length?(delete at.teacher_comment,Ft.setFieldsValue({teacher_comment:"all"})):(at.teacher_comment=((co=_n[Na])==null?void 0:co.length)===1?Number(_n[Na][0]):"",Ft.setFieldsValue({teacher_comment:_n[Na]}));break}}),Er()};(0,z.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(oo(47),Ko(!0))},[document.getElementById("divhe")]);const wi=(_n,Na)=>{at.page=_n,at.limit=20,Er()};function Fi(){tn(1),Rn(""),On(""),rr(""),ur(""),gr([])}const hi=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(_n,Na,co)=>at.limit*(at.page-1)+co+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:_n=>et.createElement(Ie.Z,{placement:"bottomLeft",title:_n},et.createElement("span",{className:"current"},_n))},!(0,rt.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:at.order==="student_id"?at.b_order==="desc"?"descend":"ascend":null,render:_n=>et.createElement(Ie.Z,{placement:"bottomLeft",title:_n||"--"},et.createElement("span",{className:"current"},_n||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(_n,Na)=>_n?et.createElement(Ie.Z,{placement:"bottom",title:_n},et.createElement("span",{className:"current"},_n)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:at.order==="work_status"?at.b_order==="desc"?"descend":"ascend":null,render:_n=>et.createElement(oe.lC,{status:_n})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:at.order==="achieve_time"?at.b_order==="desc"?"descend":"ascend":null,render:(_n,Na)=>et.createElement(Ie.Z,{placement:"bottomLeft",title:_n},et.createElement("span",{className:"current"},_n))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(_n,Na)=>et.createElement("span",{onClick:co=>{var Co;co.stopPropagation(),(Co=An.homework_status)!=null&&Co.includes("\u5BFC\u5165")&&(Oa(Na),Ra(!0))}},_n||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:at.order==="work_score"?at.b_order==="desc"?"descend":"ascend":null,render:(_n,Na)=>et.createElement(Ie.Z,{title:et.createElement(et.Fragment,null,et.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Na==null?void 0:Na.late_final_score)||0),et.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Na==null?void 0:Na.late_penalty)||0),et.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Na==null?void 0:Na.score)||0))},wt({value:_n,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:at.order==="achieve_time_long"?at.b_order==="desc"?"descend":"ascend":null,render:(_n,Na)=>_n&&_n!="--"?et.createElement(Ie.Z,{placement:"bottom",title:_n},et.createElement("span",{className:"current"},_n)):"--"},((mn=An.homework_status)==null?void 0:mn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((an=An.homework_status)!=null&&an.includes("\u5BFC\u5165"))&&{title:et.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:_n=>_n?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(_n,Na)=>{var co;return(co=An.homework_status)!=null&&co.includes("\u5BFC\u5165")?(0,rt.GJ)()?et.createElement("a",{onClick:Co=>{Co.stopPropagation(),Vt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Na==null?void 0:Na.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):et.createElement("a",{onClick:Co=>{Co.stopPropagation(),Oa(Na),Ra(!0)}},"\u67E5\u770B"):(0,rt.dE)()?et.createElement("div",null,(0,oe.JL)(Na==null?void 0:Na.work_status)==="\u672A\u5F00\u542F"?et.createElement("span",null,"--"):et.createElement("a",{onClick:Co=>{var bo;if(Co.stopPropagation(),(0,rt.Rm)()&&!((bo=Dt.AssistantObject.hack)!=null&&bo.can_view)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${at.coursesId}/program_homework/${at.categoryId}/${Na.id}/${Na.user_id}/comment`,"_blank")}},"\u67E5\u770B")):et.createElement("a",{target:"_blank",onClick:Co=>{var bo,Ei;if(Co.stopPropagation(),(0,rt.Rm)()&&!((bo=Dt.AssistantObject.hack)!=null&&bo.can_view)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if((Ei=Un.userInfo)!=null&&Ei.professional_certification)window.open(`/classrooms/${at.coursesId}/program_homework/${at.categoryId}/${Na.id}/${Na.user_id}/comment`,"_blank");else return be.default.confirm({title:"\u63D0\u793A",centered:!0,content:et.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,oe.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(_n=>!!_n),Ui=()=>{var _n,Na;return et.createElement(Ne.default,null,et.createElement(Ne.default.Item,{onClick:()=>{var co;if((0,rt.Rm)()&&!((co=Dt.AssistantObject.hack)!=null&&co.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Vt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:An==null?void 0:An.course_group_info,fn:()=>{(0,tt.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,rt.GJ)()&&((_n=An==null?void 0:An.student_works)==null?void 0:_n.length)>0&&!((Na=An==null?void 0:An.homework_status)!=null&&Na.includes("\u5BFC\u5165"))&&et.createElement(Ne.default.Item,{key:"3",onClick:()=>{var co;if((0,rt.Rm)()&&!((co=Dt.AssistantObject.hack)!=null&&co.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Vt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:An==null?void 0:An.course_group_info,fn:()=>{var Co,bo,Ei,yi;Vt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),fe.history.push(`/classrooms/${at==null?void 0:at.coursesId}/program_homework/${at.categoryId}/${(bo=(Co=An==null?void 0:An.student_works)==null?void 0:Co[0])==null?void 0:bo.id}/${(yi=(Ei=An==null?void 0:An.student_works)==null?void 0:Ei[0])==null?void 0:yi.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),et.createElement(Ne.default.Item,{key:"2",onClick:()=>{var co;if((0,rt.Rm)()&&!((co=Dt.AssistantObject.hack)!=null&&co.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}fe.history.push(`/classrooms/${at.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return et.createElement(et.Fragment,null,et.createElement("section",{className:`${vt.wrap} minH500 bg-white pl30 pr30 pt30`},(($n=An.homework_status)==null?void 0:$n.includes("\u672A\u53D1\u5E03"))&&et.createElement(ne.Z,null),!((_t=An.homework_status)!=null&&_t.includes("\u672A\u53D1\u5E03"))&&et.createElement("aside",null,!(0,rt.GJ)()&&et.createElement("div",{className:"c-light-black font12"},et.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",An==null?void 0:An.publish_time),et.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",An==null?void 0:An.end_time),et.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(An==null?void 0:An.late_time)||"- -")),(0,rt.GJ)()&&et.createElement(et.Fragment,null,et.createElement(se.default,{form:Ft,onChange:Ao,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Tt=An.task_status)==null?void 0:Tt.length)>0&&et.createElement(se.default.Item,{name:"task_status"},et.createElement(ie.default.Group,{value:[],style:{width:"100%"}},et.createElement(nt.Z,null,et.createElement(je.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),et.createElement(je.Z,{flex:"80px"},et.createElement(ie.default,{value:"all"},"\u5168\u90E8")),et.createElement(je.Z,{flex:"1"},An.task_status&&An.task_status.map((_n,Na)=>et.createElement(ie.default,{name:"task_status",value:_n.id},_n.name,"(",_n.count,")")))))),((Xt=An.course_group_info)==null?void 0:Xt.length)>0&&et.createElement(se.default.Item,{name:"course_group_info"},et.createElement(ie.default.Group,{style:{width:"100%"}},et.createElement(nt.Z,null,et.createElement(je.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),et.createElement(je.Z,{flex:"80px"},et.createElement(ie.default,{value:"all"},"\u5168\u90E8")),et.createElement(je.Z,{flex:"1",id:"divhe",style:{height:Fn+"px",overflow:"hidden"}},(ya=An.course_group_info)==null?void 0:ya.map((_n,Na)=>et.createElement(ie.default,{value:_n.course_group_id},_n.group_group_name,"(",_n.count,")"))),to&&et.createElement("span",{onClick:()=>{let _n=document.getElementById("divhe").scrollHeight;Fn>47?oo(47):oo(_n)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Fn===47?"\u5C55\u5F00":"\u6536\u8D77",Fn===47?et.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):et.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((ta=An.teacher_comment)==null?void 0:ta.length)>0&&et.createElement(se.default.Item,{name:"teacher_comment"},et.createElement(ie.default.Group,{style:{width:"100%"}},et.createElement(nt.Z,null,et.createElement(je.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),et.createElement(je.Z,{flex:"80px"},et.createElement(ie.default,{value:"all"},"\u5168\u90E8")),et.createElement(je.Z,{flex:"1"},An.teacher_comment&&An.teacher_comment.map((_n,Na)=>et.createElement(ie.default,{value:String(_n.id)},_n.name,"(",_n.count,")"))))))),et.createElement(nt.Z,{align:"middle"},et.createElement(je.Z,{flex:"1"},et.createElement(nt.Z,{align:"middle"},et.createElement(je.Z,null,et.createElement(Ze.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:_n=>{at.search=_n.trim(),at.page=1,Er()},style:{width:240}})),et.createElement(je.Z,null,et.createElement("span",{className:"ml5"},et.createElement("span",{className:"c-red"},An.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",An.work_count,"\u4E2A\u5B66\u751F\uFF09")))),et.createElement(je.Z,null,(0,rt.GJ)()&&!((Mn=An.homework_status)!=null&&Mn.includes("\u5BFC\u5165"))&&!((Ga=yt==null?void 0:yt.setting)!=null&&Ga.hide_code_repeat)&&et.createElement(ze.ZP,{className:"ml10",onClick:()=>{Vt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:An.student_works.map(_n=>_n.id),params:at}})}},et.createElement("span",{className:`${vt.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,rt.GJ)()&&!((Ba=An.homework_status)!=null&&Ba.includes("\u5BFC\u5165"))&&et.createElement(ze.ZP,{className:"ml10",onClick:fo},et.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,rt.GJ)()&&et.createElement(Me.Z,{dropdownRender:Ui,className:"ml10"},et.createElement(ze.ZP,null,et.createElement(x.Z,null),"\u5BFC\u51FA",et.createElement(ee.Z,null)))))),et.createElement(nt.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,rt.GJ)()&&kn&&et.createElement("span",null,et.createElement("span",{style:{color:"red"}},"*"),"\u5217\u8868\u4E2D\u4F5C\u4E1A\u8BB0\u5F55\u5B58\u5728\u5DEE\u5F02\uFF0C\u8BF7\u70B9\u51FB\u201C\u66F4\u65B0\u6210\u7EE9\u201D\u6309\u94AE")),et.createElement(ye.default,{className:`mt30 ${vt.TableDom}`,loading:en["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:_n=>({onClick:Na=>{var co,Co;if(!((co=An.homework_status)!=null&&co.includes("\u5BFC\u5165"))){if((0,rt.Rm)()&&!((Co=Dt.AssistantObject.hack)!=null&&Co.can_view)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${at.coursesId}/program_homework/${at.categoryId}/${_n.id}/${_n.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:An.student_works,columns:hi,onChange:(_n,Na,co)=>{co.field&&(at.order=co.field==="score"?"work_score":co.field),co.order||(at.b_order="asc"),co.order==="ascend"&&(at.b_order="asc"),co.order==="descend"&&(at.b_order="desc"),co.order||(at.b_order="asc"),Er()}}),et.createElement(Ve,null),et.createElement(Pt,null),et.createElement(ae.Z,null)),et.createElement(be.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:ro,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>ct(void 0,null,function*(){if(qt===2){if(Nn.length<=0){he.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!Ma){he.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let _n=yield(0,me.ZP)(`/api/homework_commons/${at.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:at.categoryId,comment:Ma,status:Nn}});_n.status===0&&(ht(_n),Ja(!1),mr(!0))}else{if(!(yn===0||cn===0)){if(!yn){he.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!cn){he.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(yn>cn){he.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!Ma){he.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let _n=yield(0,me.ZP)(`/api/homework_commons/${at.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:at.categoryId,comment:Ma,min_score:yn,max_score:cn}});_n.status===0&&(ht(_n),Ja(!1),mr(!0))}}),onCancel:()=>{Ja(!1),Fi()}},et.createElement("div",{style:{padding:"32px"}},et.createElement("div",null,et.createElement("div",null,et.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),et.createElement(re.ZP.Group,{value:qt,onChange:_n=>{tn(_n.target.value)}},et.createElement(re.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),et.createElement(re.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),qt===1&&et.createElement("div",{style:{display:"flex",marginTop:"20px"}},et.createElement("span",{style:{width:"70px",textAlign:"end"}},et.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),et.createElement(a.Z,{min:0,max:100,value:yn,onChange:_n=>rr(_n),style:{width:"100px"}}),et.createElement("span",{style:{width:"80px",textAlign:"end"}},et.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),et.createElement(a.Z,{min:0,max:100,value:cn,onChange:_n=>On(_n),style:{width:"100px"}})),qt===2&&et.createElement("div",{style:{display:"flex",marginTop:"20px"}},et.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),et.createElement(ie.default.Group,{onChange:_n=>{gr([..._n])},style:{width:"100%"}},(Nr=An.task_status)==null?void 0:Nr.map((_n,Na)=>et.createElement(ie.default,{name:"task_status",value:_n.id},_n.name,"(",_n.count,")")))),et.createElement("div",{style:{display:"flex",marginTop:"20px"}},et.createElement("span",{style:{width:"70px",textAlign:"end"}},et.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),et.createElement(qe.Z,{className:vt.MdEditor,onChange:_n=>ur(_n),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),et.createElement(be.default,{open:ar,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>ct(void 0,null,function*(){qt===2?(yield(0,me.ZP)(`/api/homework_commons/${at.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:at.categoryId,comment:Ma,status:Nn}})).status===0&&(he.ZP.info("\u6253\u56DE\u6210\u529F"),Fi(),Er(),mr(!1)):(yield(0,me.ZP)(`/api/homework_commons/${at.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:at.categoryId,comment:Ma,min_score:yn,max_score:cn}})).status===0&&(he.ZP.info("\u6253\u56DE\u6210\u529F"),Fi(),Er(),mr(!1))}),onCancel:()=>{Fi(),mr(!1)}},et.createElement("div",{style:{padding:"32px"}},qt===1&&et.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",yn,"-",cn,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),qt===2&&et.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((Dr=An.task_status)==null?void 0:Dr.filter(_n=>Nn==null?void 0:Nn.includes(_n.id)).map(_n=>_n.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),et.createElement("br",null),et.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",tr==null?void 0:tr.count,"\u540D\u5B66\u751F")))),et.createElement(Re,null),et.createElement(mt,{isShow:jn,setIsShow:Ra,item:Qa,coursesId:at.coursesId,categoryId:at.categoryId}),et.createElement("aside",{className:"tc mb50 mt30"},et.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:wi,current:at.page||1,defaultPageSize:20,total:An.work_count})))};var gn=(0,fe.connect)(({shixunHomeworks:dt,classroomList:Dt,globalSetting:yt,loading:en,user:Vt})=>({shixunHomeworks:dt,classroomList:Dt,globalSetting:yt,loading:en.effects,user:Vt}))(Zt)},40538:function(Et,St,te){"use strict";te.r(St),te.d(St,{default:function(){return ol}});var z=te(59301),se=te(98280),he=te(75790),Ie=te(8591),be=te(43418),Ne=te(3113),ie=te(66104),nt=te(6848),je=te(99313),Ze=te(1710),ze=te(27812),Me=te(19374),ye=te(12470),re=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Wt,zt,kt)=>zt in Wt?re(Wt,zt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Wt[zt]=kt,x=(Wt,zt)=>{for(var kt in zt||(zt={}))y.call(zt,kt)&&E(Wt,kt,zt[kt]);if(a)for(var kt of a(zt))b.call(zt,kt)&&E(Wt,kt,zt[kt]);return Wt},ee=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});const ne=({shixunHomeworks:Wt,dispatch:zt})=>{const kt=(0,he.useParams)();return z.createElement(be.default,{centered:!0,title:"\u63D0\u793A",open:Wt.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ee(void 0,null,function*(){(yield zt({type:"shixunHomeworks/deleteReply",payload:{object_id:Wt.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(Ie.ZP.success("\u5220\u9664\u6210\u529F"),zt({type:"shixunHomeworks/setActionTabs",payload:{}}),zt({type:"shixunHomeworks/getReplyList",payload:x({},Wt.actionTabs.params)}))}),onCancel:()=>{zt({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var oe=(0,he.connect)(({shixunHomeworks:Wt})=>({shixunHomeworks:Wt}))(ne),ae=te(66649),ue=te.n(ae),me=te(49647),fe=te(71418),Pe=te(58421),xe={flex_box_center:"flex_box_center___zN9Rd",flex_space_between:"flex_space_between___OHt3Z",flex_box_vertical_center:"flex_box_vertical_center___xzO8Q",flex_box_center_end:"flex_box_center_end___LuRwh",flex_box_column:"flex_box_column___rEgTS",bg:"bg___F3FV1",top:"top___vNhKr",desc:"desc___IlwMy",deseIconSty:"deseIconSty___gIJAj",liked:"liked___gFxXM",likedActive:"likedActive___bEcK_",reply:"reply___q4nj7",replyList:"replyList___qxCAX",comment:"comment___gIcRF",buttonEdit:"buttonEdit____8SMk",md:"md___cq_mx",maskWrap:"maskWrap___bHoew",desHead:"desHead___Njyrc",mask:"mask___o8p8v",info:"info___V66Uf",upDownSty:"upDownSty___Q_kpi"},Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAgCAYAAACo7RKTAAAAAXNSR0IArs4c6QAAFaNJREFUeF7tXHl8XHW1/557Z5JM0yTtA9qy6dwktMVaKMncAVo2F0Rk0aeg+FCK+tzg8WRR5qYFCdA2dwou+AR9LCpSZVE+ICIi+ACfpOjcSaAthdImudMFCm0hbfZl7u/Ib5KZznJnSdqnrx97/4HOPb/zO7/zO7/fPcv3hACg+xH/NBoaXMnARwjwMeGvxNSqgFZXzSq36AOxIUk3kYcfulDdI1qPJ4iFDF7EwEJiVABoBZV9a9pFWzsnwu8g7UEN7A8NED9RX72np6cNTNOJcB8Thpl5ITHpDK4gohEA7QRaLUCtXqV89dRPx97Mnpwfqq3p4cGTBHgRMUsjPxGMqSAwAS8yaDUResD8aQCHqh7llKoL3ly/PxZxkMdBDZSqAdr9wIyVzHSZonoXVJ92j4P46E0A10OMxkZ2rt46vP1ZEn1ba8G0iMEzJWMCdTFxKxF6IcjDhJOJeR4DCgiDBPwvMVoZVMng0LTGb5+EqdoCCLEITt+cnvYb5sIZWldzwZZTShW0GN2a5roZ8SE0CBYNU3xTbh0YGZoNh/8j52AS7wia9reL8ftnfB9tqr2aBWbnrJ24Rzfta5O/R0O15zBwnpuOFKK/NJqdP/v/qj9p8BsAeq7mQ/fdhOFheeNOy10wegH6S3zPpldGtz01NNL98mHA8CIWmEMKdrCgp0jhVha4S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vtSqdvM1jEQYonYfRK+SEY2RmBp6oepJYj3tsJdoZkIJNoAPEkD0h1HRTfYTsAegGgVqh4kmadk9Mp848wioNz/vNpwNXgs9XAbz1Rh+He0+PdG86P92890enfOtPZ00FitBdQvfBWyS9AfeIW99TUM9TyV6SPCGA1yjytpbot/3zqP7jiv7cGSjL4nAPQ/ew0DA2e7HSvP1etniv/QI7sI1oNUlejwvcCTf9AsW73v/c6D853UAMJDfwN/F3Fz8TPqaAAAAAASUVORK5CYII=",De=te(53229),_e=te(48551),pt=te(56082),Be=te(87954),$e=te(18257),Ke=te(12492),Ve=te(19719),it=te(35241),rt=te(44589),vt=te(87395),Rt=te(84105),Yt=Object.defineProperty,Je=Object.defineProperties,st=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,sn=(Wt,zt,kt)=>zt in Wt?Yt(Wt,zt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Wt[zt]=kt,Fe=(Wt,zt)=>{for(var kt in zt||(zt={}))Nt.call(zt,kt)&&sn(Wt,kt,zt[kt]);if(At)for(var kt of At(zt))Pt.call(zt,kt)&&sn(Wt,kt,zt[kt]);return Wt},Qt=(Wt,zt)=>Je(Wt,st(zt)),Gt=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});ue().locale("ZH-cn");let Hn=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const ea=z.createContext({}),Re=()=>{const{setActivatorNodeRef:Wt,listeners:zt}=(0,z.useContext)(ea);return z.createElement(Ne.ZP,Fe({type:"text",size:"small",className:xe.upDownSty,icon:z.createElement(nt.Z,{title:"\u53EF\u9F20\u6807\u62D6\u62FD\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"},z.createElement(pt.Z,null)),style:{cursor:"move"},ref:Wt},zt))},qe=Wt=>{const{attributes:zt,listeners:kt,setNodeRef:Ca,setActivatorNodeRef:Va,transform:wa,transition:In,isDragging:Ua}=(0,Ve.nB)({id:Wt["data-row-key"]}),hn=Fe(Qt(Fe({},Wt.style),{transform:it.ux.Translate.toString(wa),transition:In}),Ua?{position:"relative",zIndex:100}:{}),Za=(0,z.useMemo)(()=>({setActivatorNodeRef:Va,listeners:kt}),[Va,kt]);return z.createElement(ea.Provider,{value:Za},z.createElement("tr",Fe(Qt(Fe({},Wt),{ref:Ca,style:hn}),zt)))},tt=({shixunHomeworks:Wt,classroomList:zt,globalSetting:kt,user:Ca,loading:Va,dispatch:wa})=>{var In,Ua,hn,Za;const[Fa,Io]=(0,z.useState)(Qt(Fe({},(0,he.useParams)()),{page:1,per_page:10})),[Ia,Yo]=(0,z.useState)([]),[vi,Wo]=(0,z.useState)(-1),[br,xr]=(0,z.useState)(""),[Xn,no]=(0,z.useState)(""),{detailLeftMenus:oi}=zt,fa=(0,he.useLocation)(),[sa,eo]=(0,z.useState)({}),{workDetail:Bi,workList:Tn,workSetting:nr}=Wt,[ra,nn]=(0,z.useState)("1"),[Vn,Cn]=(0,z.useState)(!1),[$r,vr]=(0,z.useState)(!1),[zr,qo]=(0,z.useState)(""),[Sr,So]=(0,z.useState)(1),Ha=(0,z.useRef)(null),[Yr,mo]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Tn.homework_status&&Fo()},[Tn]),(0,z.useEffect)(()=>{Ha.current&&(Ha.current.clientHeight>200?So(2):So(4))},[Ia==null?void 0:Ia.description]);function Fo(){return Gt(this,null,function*(){var zn,Pa,Br;Cn(!0);let Ar=yield(0,se.ZP)(`/api/courses/${Fa.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:Qt(Fe({},Fa),{id:Fa.categoryId})});if(Yo(Ar),Cn(!1),Fa.defaultExpandedRowKeys=[`${(Pa=(zn=Ar==null?void 0:Ar.data)==null?void 0:zn[0])==null?void 0:Pa.identifier}`],Ar!=null&&Ar.hide_description)nn("2");else if(ra!="2"){if((Br=Tn.homework_status)!=null&&Br.includes("\u5BFC\u5165"))return;nn(Ar!=null&&Ar.description?"1":"2")}Io(Fe({},Fa))})}const vn=()=>{if(Sr===1)return{visibility:"hidden"};if(Sr===2)return{overflow:"hidden",height:"200px"};if(Sr===3)return{overflow:"initial"};if(Sr===4)return{overflow:"initial"}},aa=zn=>Gt(void 0,[zn],function*({active:Pa,over:Br}){if(Pa.id!==(Br==null?void 0:Br.id)&&(Br!=null&&Br.id)){Yo(yo=>{var ei;const Di=(ei=yo==null?void 0:yo.data)==null?void 0:ei.findIndex(el=>el.identifier===Pa.id),zi=yo==null?void 0:yo.data.findIndex(el=>el.identifier===(Br==null?void 0:Br.id));return Qt(Fe({},yo),{data:(0,rt.Rp)(yo==null?void 0:yo.data,Di,zi)})});let Ar=yield(0,se.ZP)(`/api/courses/${Fa==null?void 0:Fa.coursesId}/homework_commons/change_hack_position.json`,{method:"post",body:{id:Fa==null?void 0:Fa.categoryId,origin_identifier:Pa==null?void 0:Pa.id,target_identifier:Br==null?void 0:Br.id}});(Ar==null?void 0:Ar.status)==0&&(Ie.ZP.success("\u6392\u5E8F\u6210\u529F"),Fo())}}),Aa=zn=>Gt(void 0,null,function*(){const Pa=()=>Gt(void 0,null,function*(){let Ar=yield(0,se.ZP)(`/api/item_banks/${zn}/copy_hack_item.json`,{method:"post"});(Ar==null?void 0:Ar.status)===0&&Ie.ZP.success("\u52A0\u5165\u8BD5\u9898\u5E93\u6210\u529F\uFF01")});mo(!0);let Br=yield(0,se.ZP)(`/api/item_banks/${zn}/check_hack_item.json`,{method:"get"});(Br==null?void 0:Br.status)===-20?be.default.confirm({icon:null,centered:!0,closable:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u8BD5\u9898\u5E93\u63D0\u793A",content:"\u8BE5\u8BD5\u9898\u5728\u8BD5\u9898\u5E93\u4E2D\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u52A0\u5165\u8BD5\u9898\u5E93\uFF1F",onOk:Pa}):Pa(),mo(!1)});return z.createElement("section",{className:xe.bg},z.createElement(fe.Z,{spinning:Vn},(!(Ia!=null&&Ia.hide_description)||(0,De.GJ)())&&z.createElement("section",{className:" edu-container",style:{padding:"20px 20px 0 20px",background:"#fff",position:"relative"}},!$r&&(0,De.GJ)()&&z.createElement("div",{style:{position:"absolute",zIndex:10,right:34,top:30}},(nr==null?void 0:nr.hack_edit_permission)&&z.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{vr(!0)}},z.createElement(nt.Z,{title:"\u7F16\u8F91\u8BF4\u660E"},z.createElement("i",{className:"iconfont icon-bianji-moren font14"}),z.createElement("span",null,"\u7F16\u8F91\u8BF4\u660E"))),z.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"20px",cursor:"pointer"},onClick:()=>Gt(void 0,null,function*(){if(!(Ia!=null&&Ia.hide_description))be.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u9690\u85CF\u540E\uFF0C\u5B66\u751F\u7AEF\u5C06\u9690\u85CF\u4F5C\u4E1A\u8BF4\u660E\u6A21\u5757",onOk:()=>Gt(void 0,null,function*(){let zn=yield(0,se.ZP)(`/api/homework_commons/${Fa==null?void 0:Fa.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(zn==null?void 0:zn.status)==0&&(Ie.ZP.success("\u9690\u85CF\u6210\u529F"),Fo())})});else{let zn=yield(0,se.ZP)(`/api/homework_commons/${Fa==null?void 0:Fa.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(zn==null?void 0:zn.status)==0&&(Ie.ZP.success("\u516C\u5F00\u6210\u529F"),Fo())}})},z.createElement(nt.Z,{title:Ia!=null&&Ia.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E"},z.createElement("i",{className:"iconfont icon-xianshiyincang font14"}),z.createElement("span",null,Ia!=null&&Ia.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E")))),$r?z.createElement(z.Fragment,null,z.createElement(_e.Z,{defaultValue:Ia==null?void 0:Ia.description,watch:!0,height:155,onChange:zn=>{qo(zn)}}),z.createElement("div",{style:{display:"flex"}},z.createElement(Ne.ZP,{size:"middle",type:"primary",className:`${xe.buttonEdit} mr20`,style:{marginLeft:"auto"},htmlType:"submit",onClick:()=>Gt(void 0,null,function*(){So(1);let zn=yield(0,se.ZP)(`/api/homework_commons/${Fa==null?void 0:Fa.categoryId}/update_description.json`,{method:"post",body:{description:zr}});(zn==null?void 0:zn.status)==0&&(Ie.ZP.success("\u7F16\u8F91\u6210\u529F"),vr(!1),Fo())})},"\u63D0\u4EA4"),z.createElement(Ne.ZP,{size:"middle",type:"primary",ghost:!0,className:xe.buttonEdit,onClick:()=>{vr(!1)}},"\u53D6\u6D88"))):!!(Ia!=null&&Ia.description)&&z.createElement("div",{ref:Ha,className:xe.maskWrap,style:vn()},z.createElement("div",{className:xe.desHead},z.createElement("img",{src:Ee,width:94})),z.createElement(ye.Z,{className:xe.md,value:(Ia==null?void 0:Ia.description)||""}),Sr===2&&z.createElement("div",{className:xe.mask},z.createElement("div",{onClick:()=>So(3)},"\u5C55\u5F00",z.createElement("i",{className:"iconfont icon-zhankai4"}))),Sr===3&&z.createElement("div",{className:xe.mask,style:{position:"relative",height:30,background:"transparent",paddingTop:5}},z.createElement("div",{onClick:()=>So(2)},"\u6536\u8D77",z.createElement("i",{className:"iconfont icon-shouqi5"}))))),(0,De.dE)()&&!!(Ia!=null&&Ia.group_name)&&z.createElement("div",{className:xe.info},z.createElement("img",{src:`${me.Z.IMG_SERVER}/images/${(In=Ia==null?void 0:Ia.user)==null?void 0:In.image_url}`}),z.createElement("div",{className:"ml20",style:{alignItems:"start"}},z.createElement("b",null,(Ia==null?void 0:Ia.name)||""),z.createElement("span",{title:(Ia==null?void 0:Ia.group_name)||"",style:{maxWidth:"130px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-all"}},(Ia==null?void 0:Ia.group_name)||"")),z.createElement(nt.Z,{title:z.createElement(z.Fragment,null,z.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ia==null?void 0:Ia.late_final_score)||0),z.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ia==null?void 0:Ia.late_penalty)||0),z.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ia==null?void 0:Ia.total_score)||0))},z.createElement("div",null,z.createElement("b",null,z.createElement(Ke.n,{value:Ia==null?void 0:Ia.total_score})),z.createElement("span",null,"\u603B\u6210\u7EE9"))),z.createElement("div",null,z.createElement("b",null,(Ia==null?void 0:Ia.total_time)||"-"),z.createElement("span",null,"\u603B\u8017\u65F6")),z.createElement("div",null,z.createElement("b",{style:{color:"#009C0F"}},Ia==null?void 0:Ia.pass_count),z.createElement("span",null,"\u5DF2\u901A\u8FC7\u6570")),z.createElement("div",null,z.createElement("b",{style:{color:"#FA6400"}},Ia==null?void 0:Ia.doing_count),z.createElement("span",null,"\u8FDB\u884C\u4E2D")),z.createElement("div",null,z.createElement("b",{style:{color:"#E30000"}},Ia==null?void 0:Ia.not_pass_count),z.createElement("span",null,"\u672A\u7B54\u9898\u6570"))),!((Ua=Tn.homework_status)!=null&&Ua.includes("\u5BFC\u5165"))&&z.createElement("div",null,z.createElement("section",{className:" edu-container",style:{padding:"20px",background:"#fff"}},(0,De.GJ)()&&z.createElement("div",{style:{marginBottom:"10px",fontSize:"12px"}},"\u53EF\u9F20\u6807\u62D6\u62FD\u201C ",z.createElement(pt.Z,null)," \u201D\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"),Fa.defaultExpandedRowKeys&&z.createElement(Be.LB,{modifiers:[$e.DL],onDragEnd:aa},z.createElement(Ve.Fo,{items:(hn=Ia==null?void 0:Ia.data)==null?void 0:hn.map(zn=>zn==null?void 0:zn.identifier),strategy:Ve.qw},z.createElement(Ze.default,{components:{body:{row:qe}},dataSource:Ia==null?void 0:Ia.data,rowKey:zn=>zn==null?void 0:zn.identifier,pagination:!1,expandable:{expandIcon:({expanded:zn,onExpand:Pa,record:Br})=>zn?z.createElement(nt.Z,{title:"\u6536\u8D77"},z.createElement(vt.Z,{className:xe.upDownSty,onClick:Ar=>Pa(Br,Ar)})):z.createElement(nt.Z,{title:"\u5C55\u5F00"},z.createElement(Rt.Z,{className:xe.upDownSty,onClick:Ar=>Pa(Br,Ar)})),expandedRowRender:zn=>{var Pa;return z.createElement("div",{style:{padding:"10px 0px 10px 48px",borderRadius:2}},z.createElement("div",{style:{overflow:"auto",maxHeight:300}},z.createElement("p",null,"\u9898\u76EE\uFF1A",zn==null?void 0:zn.name),z.createElement("p",null,"\u63CF\u8FF0\uFF1A",z.createElement(ye.Z,{value:(zn==null?void 0:zn.description)||""})),!(0,De.dE)()&&z.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",z.createElement(ye.Z,{style:{fontSize:"14px"},value:(zn==null?void 0:zn.analysis)||"\u6682\u65E0\u89E3\u6790"}))),z.createElement("div",{style:{width:"100%",textAlign:"end"}},(nr==null?void 0:nr.hack_edit_permission)&&z.createElement(Ne.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${zn==null?void 0:zn.identifier}?type=1`),localStorage.setItem("program_homework",[Fa.coursesId,Fa.categoryId])}},"\u7F16\u8F91"),(nr==null?void 0:nr.hack_edit_permission)&&((Pa=Ia==null?void 0:Ia.homework_status)==null?void 0:Pa.includes("\u672A\u53D1\u5E03"))&&z.createElement(Ne.ZP,{className:"mt20",type:"primary",style:{marginLeft:20},ghost:!0,onClick:()=>{be.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u786E\u8BA4\u5220\u9664",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Gt(void 0,null,function*(){let Br=yield(0,se.ZP)(`/api/problems/${zn==null?void 0:zn.identifier}.json`,{method:"delete"});(Br==null?void 0:Br.status)===0&&(Ie.ZP.info("\u5220\u9664\u6210\u529F"),Fa.page=1,Fo())})})}},"\u5220\u9664")))},defaultExpandedRowKeys:Fa.defaultExpandedRowKeys},columns:(Za=[(0,De.GJ)()&&{key:"sort",align:"center",width:40,render:()=>z.createElement(Re,null)},{title:"\u5E8F\u53F7",dataIndex:"index",ellipsis:!0,key:"index",width:55,render:(zn,Pa,Br)=>`${(Fa.page-1)*Fa.per_page+Br+1}`},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,key:"name"},((0,De.dE)()||(Ia==null?void 0:Ia.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(zn,Pa,Br){return z.createElement("div",null,Hn[zn])}},{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:zn=>{let Pa="",Br=Number(zn);return Br>=0&&Br<=60?Pa="c-red":Br>=90?Pa="c-green":Br>60?Pa="c-orange":Pa="",z.createElement("span",{className:Pa},zn)}},(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:(zn,Pa)=>z.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},zn||"--")},(0,De.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(zn){return z.createElement(z.Fragment,null,zn===0&&z.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),zn===1&&z.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),zn===2&&z.createElement("span",{style:{color:"#009C0F"}},"\u5DF2\u901A\u8FC7"))}},{title:"\u64CD\u4F5C",dataIndex:"identifier",key:"identifier",width:(0,De.GJ)()?280:146,align:"right",render(zn,Pa,Br){return z.createElement("div",null,(0,De.GJ)()&&z.createElement(Ne.ZP,{type:"link",style:{marginRight:"5px"},loading:Yr,onClick:()=>Gt(this,null,function*(){Aa(Pa==null?void 0:Pa.id)})},"\u52A0\u5165\u8BD5\u9898\u5E93"),z.createElement("a",{onClick:()=>{var Ar;if((0,De.Rm)()&&!((Ar=zt.AssistantObject.hack)!=null&&Ar.can_question_eaderboard)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${Fa.coursesId}/program_homework/${Fa.categoryId}/${zn}/ranking`)}},"\u6392\u884C"),z.createElement("a",{onClick:()=>Gt(this,null,function*(){let Ar=yield(0,se.ZP)(`/api/problems/${Pa==null?void 0:Pa.identifier}/start.json`,{method:"get"});Ar&&(window.open(`/myproblems/${Ar==null?void 0:Ar.identifier}?type=1&backUrl=/classrooms/${Fa.coursesId}/program_homework/${Fa.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Fa.coursesId,Fa.categoryId]))}),className:"ml20"},(0,De.GJ)()?"\u4F53\u9A8C":"\u8FDB\u5165\u7B54\u9898"),(nr==null?void 0:nr.hack_edit_permission)&&z.createElement("a",{className:"ml20",onClick:()=>Gt(this,null,function*(){window.open(`/problems/newedit/${Pa==null?void 0:Pa.identifier}?type=1`),localStorage.setItem("program_homework",[Fa.coursesId,Fa.categoryId])})},"\u7F16\u8F91"))}}])==null?void 0:Za.filter(zn=>!!zn)})))),z.createElement("aside",{style:{padding:"0 20px 20px 20px"}},z.createElement(Pe.Z,{defaultCurrent:1,total:Ia==null?void 0:Ia.count,hideOnSinglePage:!0,showTotal:zn=>z.createElement("span",null,"\u5171",zn,"\u6761"),current:Fa.page||1,pageSize:Fa.per_page||10,onChange:(zn,Pa)=>{Fa.page=zn,Fa.per_page=Pa,Io(Fe({},Fa)),Fo()}})))),z.createElement(oe,null))};var Le=(0,he.connect)(({shixunHomeworks:Wt,classroomList:zt,loading:kt,user:Ca,globalSetting:Va})=>({shixunHomeworks:Wt,globalSetting:Va,classroomList:zt,user:Ca,loading:kt.effects}))(tt),ft=te(78241),gt=te(95237),Oe=te(43604),ve=te(92832),Ge=te(24905),We=te(91570),we=te(59301),mt=Object.defineProperty,et=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,ut=(Wt,zt,kt)=>zt in Wt?mt(Wt,zt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Wt[zt]=kt,xt=(Wt,zt)=>{for(var kt in zt||(zt={}))Ht.call(zt,kt)&&ut(Wt,kt,zt[kt]);if(et)for(var kt of et(zt))Se.call(zt,kt)&&ut(Wt,kt,zt[kt]);return Wt},Ae=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});const He=({shixunHomeworks:Wt,loading:zt,dispatch:kt,classroomList:Ca})=>{var Va;const wa=(0,he.useParams)(),[In,Ua]=(0,z.useState)(xt(xt({},{page:1,limit:20,group_ids:[]}),wa)),hn=(0,he.useLocation)(),{codeReview:Za}=Wt,[Fa,Io]=(0,z.useState)({}),[Ia]=ft.default.useForm();In.order="code_rate",In.sort="desc",In.category=In.categoryId,(0,z.useEffect)(()=>{Yo(),console.log("params",In)},[In]),(0,z.useEffect)(()=>{Wt.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&Yo()},[Wt.actionTabs.key]);const Yo=()=>Ae(void 0,null,function*(){(yield kt({type:"shixunHomeworks/getCodeReview",payload:xt({},In)})).status===-2&&setTimeout(()=>Yo(),1500)}),vi=()=>{},Wo=(xr,Xn)=>{In.page=xr,In.limit=20,kt({type:"shixunHomeworks/getCodeReview",payload:xt({},In)})},br=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(xr,Xn,no)=>In.limit*(In.page-1)+no+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:xr=>we.createElement("span",{className:"c-orange"},xr)},{title:"\u64CD\u4F5C",dataInex:"action",render:(xr,Xn)=>we.createElement("div",null,we.createElement("a",{onClick:()=>{var no;if((0,De.Rm)()&&!((no=Ca.AssistantObject.hack)!=null&&no.can_view)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${In.coursesId}/program_homework/${In.categoryId}/review_detail/${Xn.user_id}`)}},"\u67E5\u770B"),we.createElement("br",null))}];return we.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(Za==null?void 0:Za.status)===-2&&we.createElement(We.Z,{customText:"\u6B63\u5728\u8FDB\u884C\u4EE3\u7801\u67E5\u91CD\uFF0C\u8BF7\u7A0D\u5019\u3002\u67E5\u91CD\u7ED3\u675F\u540E\uFF0C\u9875\u9762\u5C06\u81EA\u52A8\u66F4\u65B0\u663E\u793A\u7ED3\u679C"}),(Za==null?void 0:Za.status)!==-2&&we.createElement("div",null,we.createElement(gt.Z,null,we.createElement(Oe.Z,{flex:"1"},we.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",Za.last_review_time,we.createElement(Ne.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{kt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:In}})}},"\u4EE3\u7801\u67E5\u91CD"))),we.createElement(Oe.Z,null,we.createElement(ve.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:xr=>{In.search=xr,kt({type:"shixunHomeworks/getCodeReview",payload:In})},style:{width:200}}),we.createElement("span",{className:"ml5 c-red"}))),((Va=Za.group_info)==null?void 0:Va.length)>0&&we.createElement(we.Fragment,null,we.createElement(gt.Z,null,we.createElement(Oe.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),we.createElement(Oe.Z,{flex:"80px"},we.createElement(Ge.default,{checked:In.group_ids=="",value:"all",onChange:xr=>{delete In.group_ids,In.group_ids=[],In.page=1,Ua(xt({},In))}},"\u5168\u90E8")),we.createElement(Oe.Z,{flex:"1"},Za.group_info&&Za.group_info.map((xr,Xn)=>we.createElement(Ge.default,{style:{marginLeft:0},value:xr.id,checked:In.group_ids.includes(xr.id),onChange:no=>{no.target.checked?In.group_ids.push(xr.id):In.group_ids.splice(In.group_ids.indexOf(xr.id),1),In.page=1,Ua(xt({},In))}},xr.name,"(",xr.members_count,")")))),we.createElement(gt.Z,{className:"font14 c-red mt5"},we.createElement(Oe.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),we.createElement("p",{className:"mt10"},we.createElement("span",{className:"c-red"},Za.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",Za.all_reviews_count,"\u4F5C\u54C1\uFF09"),we.createElement(Ze.default,{className:"mt30",loading:zt["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:Za.users_reviews,columns:br,onChange:(xr,Xn,no)=>{no.order==="ascend"&&(In.b_order="asc"),no.order==="descend"&&(In.b_order="desc"),no.order||delete In.b_order,kt({type:"shixunHomeworks/getCodeReview",payload:xt({},In)})}}),we.createElement("aside",{className:"tc mb50 mt30"},we.createElement(Pe.Z,{showSizeChanger:!1,onChange:Wo,defaultCurrent:In.page||1,current:In.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:Za.copy_reviews_count}))))};var ct=(0,he.connect)(({shixunHomeworks:Wt,classroomList:zt,loading:kt})=>({shixunHomeworks:Wt,classroomList:zt,loading:kt.effects}))(He),wt=te(80743),Zt=te(5083),gn=te(57809),dt=te(5112),Dt=te(5871),yt=te(32134),en=te(12893),Vt=te(89392),un={flex_box_center:"flex_box_center___pegyD",flex_space_between:"flex_space_between___OEf74",flex_box_vertical_center:"flex_box_vertical_center___Gg0ks",flex_box_center_end:"flex_box_center_end___ZDNgp",flex_box_column:"flex_box_column___kUnuF",form:"form___dWO2F",title:"title___tyrHF",content:"content____AOnH",pubColSty:"pubColSty___jjxFz",selectSty:"selectSty___RPIyk",borderSty:"borderSty___NbRdH",delSty:"delSty___Yap2B",delBorder:"delBorder___iWzM8",copHover:"copHover___DYJF8"},Un=te(36222),mn=te(95211),an=te(1997),$n=te(82125),_t=te(59301),Tt=Object.defineProperty,Xt=Object.defineProperties,ya=Object.getOwnPropertyDescriptors,ta=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,Ba=(Wt,zt,kt)=>zt in Wt?Tt(Wt,zt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Wt[zt]=kt,Nr=(Wt,zt)=>{for(var kt in zt||(zt={}))Mn.call(zt,kt)&&Ba(Wt,kt,zt[kt]);if(ta)for(var kt of ta(zt))Ga.call(zt,kt)&&Ba(Wt,kt,zt[kt]);return Wt},Dr=(Wt,zt)=>Xt(Wt,ya(zt)),Xa=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});const{RangePicker:at}=Zt.default,{Option:Mt}=gn.default,Ft=({shixunHomeworks:Wt,user:zt,loading:kt,classroomList:Ca,dispatch:Va})=>{var wa,In,Ua,hn,Za,Fa,Io,Ia,Yo,vi,Wo,br;const xr=(0,he.useParams)(),{workSetting:Xn,workList:no,changeData:oi}=Wt,[fa,sa]=(0,z.useState)(!0),[eo,Bi]=(0,z.useState)(!1);let[Tn,nr]=(0,z.useState)([]),[ra,nn]=(0,z.useState)([]);const Vn=(0,z.useRef)(!0);let[Cn,$r]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_minus_score:0,penalty_type:Un.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,send_type:void 0,difficult_count:[],difficult_settings:[],late_penalty:0});(0,z.useEffect)(()=>(vr(),()=>{nr([])}),[]);const vr=()=>{Va({type:"shixunHomeworks/getWorkSetting",payload:Nr({},xr)})};(0,z.useEffect)(()=>{var vn,aa;((0,De.G5)()||(0,De.Rm)()&&((vn=Ca.AssistantObject.hack)!=null&&vn.can_late||(aa=Ca.AssistantObject.hack)!=null&&aa.can_publish))&&sa(!1)},[zt,Ca]),(0,z.useEffect)(()=>{if(!(Xn!=null&&Xn.course_id)||!Vn.current)return;Vn.current=!1,Object.keys(Cn).map(function(aa){Cn[aa]=Xn[aa]}),(!Cn.allow_late||!Cn.unified_late)&&(Cn.late_minus_score=20,Cn.penalty_type=Un.Q.Percent),Cn.unified_setting||(Cn.unified_late=!1,Cn.unified_anonymous_comment=!1,Cn.unified_anonymous_appeal=!1),Tn=JSON.parse(JSON.stringify(Xn.group_settings.map(aa=>Dr(Nr({},aa),{group_name:[aa.group_name]})).filter(aa=>aa.publish_time!==null))),ra=JSON.parse(JSON.stringify(Xn.allow_late_settings.map(aa=>Dr(Nr({},aa),{group_name:[aa.group_name]})).filter(aa=>aa.late_time!==null))),Cn.difficult_settings.length===0&&(Cn.difficult_settings=[0,0,0]),$r(Nr({},Cn));const vn=(0,Me.QE)((Tn==null?void 0:Tn.length)>0?Tn:[]);nr([...vn]),(ra==null?void 0:ra.length)<=0?nn([{late_minus_score:20}]):nn([...ra])},[Xn]);const zr=()=>{var vn;if(((vn=zt==null?void 0:zt.userInfo)==null?void 0:vn.user_status)===2){(0,an.Rd)();return}const aa=JSON.parse(JSON.stringify(Cn));if(aa.categoryId=xr.categoryId,Cn.unified_setting||(Tn=Tn==null?void 0:Tn.map(Aa=>{var zn;if(!Aa.publish_time||!Aa.end_time)throw Ie.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Aa.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Aa.group_name=typeof(Aa==null?void 0:Aa.group_name)=="string"?[Aa==null?void 0:Aa.group_name]:Aa==null?void 0:Aa.group_name,Aa.group_id=(zn=Xn.group_settings)==null?void 0:zn.filter(Pa=>{var Br;return(Br=Aa==null?void 0:Aa.group_name)==null?void 0:Br.includes(Pa.group_name)}).map(Pa=>Pa.group_id||Pa.id).toString().split(","),Aa})),aa.group_settings=Tn,Cn.allow_late)if(Cn.unified_late){if(Cn.late_minus_score===null||Cn.late_minus_score===void 0||Cn.late_minus_score<0||Cn.late_minus_score>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Cn.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else ra=ra==null?void 0:ra.map(Aa=>{var zn,Pa;if(Aa.late_minus_score===null||Aa.late_minus_score===void 0||Aa.late_minus_score<0||Aa.late_minus_score>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Aa.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Aa.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Aa.group_name=typeof(Aa==null?void 0:Aa.group_name)=="string"?[Aa==null?void 0:Aa.group_name]:Aa==null?void 0:Aa.group_name,Aa.group_id=(Pa=(zn=Aa==null?void 0:Aa.group_name)==null?void 0:zn.map(Br=>{var Ar,yo;let ei=(yo=(Ar=Xn.group_settings)==null?void 0:Ar.filter(Di=>(Di==null?void 0:Di.group_name)===Br))==null?void 0:yo[0];return ei==null?void 0:ei.group_id}))==null?void 0:Pa.toString().split(","),Aa}),aa.allow_late_settings=ra;aa.send_type===1&&(aa.difficult_settings=aa.difficult_settings.map(Aa=>Aa||0)),qo(aa)},qo=vn=>{var aa;if(vn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(vn!=null&&vn.work_efficiency&&vn.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Aa={shixun_evaluation:vn.shixun_evaluation,challenge_settings:vn.challenge_settings},zn=()=>Xa(void 0,null,function*(){Bi(!0),(yield(0,se.ZP)(`/api/homework_commons/${xr.categoryId}/publish_setting.json`,{method:"post",body:Nr({},vn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),vr(),Va({type:"shixunHomeworks/getWorkList",payload:Nr({},xr)})),Bi(!1)});!(0,Vt.isEqual)(oi,Aa)&&!((aa=no==null?void 0:no.homework_status)!=null&&aa.includes("\u672A\u53D1\u5E03"))?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:zn}):zn()},Sr=(vn,aa,Aa="group_id")=>{var zn;return aa?aa.find(Pa=>Pa[Aa]===vn):(zn=Xn==null?void 0:Xn.group_settings)==null?void 0:zn.find(Pa=>Pa.group_id[0]===vn)},So=(Xn==null?void 0:Xn.allow_late)||(Xn==null?void 0:Xn.anonymous_comment),Ha=vn=>{var aa,Aa;const zn=Sr(vn,Xn==null?void 0:Xn.allow_late_settings,"id"),Pa=Sr(vn,Xn==null?void 0:Xn.anonymous_comment_settings),Br=Sr(vn);return(Xn==null?void 0:Xn.allow_late)&&zn&&ue()(zn==null?void 0:zn.late_time)<=ue()()||(Xn==null?void 0:Xn.anonymous_comment)&&Pa&&(Pa==null?void 0:Pa.evaluation_start)!==null||((Aa=(ue()(Br==null?void 0:Br.end_time)<=ue()()&&((aa=Xn==null?void 0:Xn.allow_late_settings)==null?void 0:aa.filter(Ar=>Ar.group_id.includes(vn))))[0])==null?void 0:Aa.late_time)!=null},Yr=Xn==null?void 0:Xn.anonymous_comment,mo=vn=>{if(!vn)return!1;const aa=Sr(vn,Xn==null?void 0:Xn.anonymous_comment_settings);return(Xn==null?void 0:Xn.anonymous_comment)&&aa&&(aa==null?void 0:aa.evaluation_start)!==null},Fo=(vn,aa)=>{var Aa,zn,Pa;Va({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:vn,index:aa,rangePickerDisabled:fa||(ue()()<=ue()((zn=Sr((Aa=vn==null?void 0:vn.group_id)==null?void 0:Aa[0]))==null?void 0:zn.publish_time)?!1:[!0,Ha((Pa=vn==null?void 0:vn.group_id)==null?void 0:Pa[0])]),disabledDate:Xn==null?void 0:Xn.course_end_date}})};return _t.createElement("section",{className:un.form},_t.createElement("div",{className:un.title},"\u8BD5\u9898\u53D1\u5E03",_t.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),_t.createElement("div",{className:un.content},_t.createElement(dt.ZP.Group,{disabled:fa||!((wa=no==null?void 0:no.homework_status)!=null&&wa.includes("\u672A\u53D1\u5E03"))||!((In=Ca.AssistantObject.hack)!=null&&In.can_publish)&&(0,De.Rm)(),value:Cn.send_type,onChange:vn=>{Cn.send_type=vn.target.value,$r(Object.assign({},Cn))}},_t.createElement(dt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),_t.createElement(dt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),Cn.send_type===1&&_t.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff"}},_t.createElement(gt.Z,{style:{marginLeft:"165px"}},_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",_t.createElement(Dt.Z,{size:"large",precision:0,disabled:fa||!((Ua=no==null?void 0:no.homework_status)!=null&&Ua.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Cn.difficult_count[0]||0}`,min:0,max:Cn.difficult_count[0]||0,value:Cn.difficult_settings[0],onChange:vn=>{Cn.difficult_settings[0]=vn,$r(Object.assign({},Cn))},className:"ml10 mr20",style:{width:120}})),_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",_t.createElement(Dt.Z,{size:"large",precision:0,disabled:fa||!((hn=no==null?void 0:no.homework_status)!=null&&hn.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Cn.difficult_count[1]||0}`,min:0,max:Cn.difficult_count[1]||0,value:Cn.difficult_settings[1],onChange:vn=>{Cn.difficult_settings[1]=vn,$r(Object.assign({},Cn))},className:"ml10 mr20",style:{width:120}})),_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",_t.createElement(Dt.Z,{size:"large",precision:0,disabled:fa||!((Za=no==null?void 0:no.homework_status)!=null&&Za.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Cn.difficult_count[2]||0}`,min:0,max:Cn.difficult_count[2]||0,value:Cn.difficult_settings[2],onChange:vn=>{Cn.difficult_settings[2]=vn,$r(Object.assign({},Cn))},className:"ml10 mr20",style:{width:120}})))),_t.createElement("div",{className:`${un.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",_t.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u53D1\u5E03\u65B9\u5F0F\uFF09")),_t.createElement("div",{className:un.content},_t.createElement(dt.ZP.Group,{disabled:fa||!((Fa=no==null?void 0:no.homework_status)!=null&&Fa.includes("\u672A\u53D1\u5E03"))||!((Io=Ca.AssistantObject.hack)!=null&&Io.can_publish)&&(0,De.Rm)(),value:Cn.unified_setting,onChange:vn=>{var aa;if(!((aa=no==null?void 0:no.homework_status)!=null&&aa.includes("\u672A\u53D1\u5E03"))){Ie.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Cn.unified_setting=!Cn.unified_setting,Cn.unified_setting||(Cn.unified_late=!1),$r(Object.assign({},Cn)),Cn.unified_setting===!1&&Tn==""){nr(Tn.concat({}));return}Cn.unified_setting&&(nr([]),nn([{late_minus_score:5}]))}},_t.createElement(dt.ZP,{value:!0,disabled:!(Xn!=null&&Xn.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),_t.createElement(dt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((Ia=Xn==null?void 0:Xn.group_settings)==null?void 0:Ia.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),((Yo=Xn==null?void 0:Xn.group_settings)==null?void 0:Yo.length)===0&&_t.createElement("p",{style:{marginLeft:"14px",color:"rgba(0, 0, 0, 0.25)"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),_t.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff"}},Cn.unified_setting&&_t.createElement(gt.Z,{align:"middle",className:"ml25"},_t.createElement(gt.Z,{align:"middle"},_t.createElement(Oe.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),_t.createElement(Oe.Z,{className:"ml10"},_t.createElement(Zt.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,size:"large",format:"YYYY-MM-DD HH:mm",disabledDate:vn=>(0,mn.Q8)(vn,Xn==null?void 0:Xn.course_end_date),disabledTime:vn=>(0,mn.d0)(vn),disabled:fa||ue()()>=ue()(Xn==null?void 0:Xn.publish_time)||!((vi=Ca.AssistantObject.hack)!=null&&vi.can_publish)&&(0,De.Rm)(),value:Cn.publish_time?ue()(Cn.publish_time):"",onChange:(vn,aa)=>{Cn.publish_time=aa,(Cn.end_time==""||!Cn.end_time)&&Cn.unified_setting&&(Cn.end_time=ue()(vn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),$r(Object.assign({},Cn))}}))),_t.createElement(gt.Z,{align:"middle",style:{marginLeft:40}},_t.createElement(Oe.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),_t.createElement(Oe.Z,{className:"ml10"},_t.createElement(Zt.default,{style:{width:170},allowClear:!1,size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Xn==null?void 0:Xn.allow_late)&&(Xn==null?void 0:Xn.homework_status.includes("\u5DF2\u622A\u6B62"))||fa||(Xn==null?void 0:Xn.allow_late)&&ue()()>=ue()(Xn==null?void 0:Xn.end_time)||!((Wo=Ca.AssistantObject.hack)!=null&&Wo.can_publish)&&(0,De.Rm)(),disabledDate:vn=>(0,mn.Q8)(vn,Xn==null?void 0:Xn.course_end_date,Cn.publish_time),disabledTime:vn=>(0,mn.d0)(vn,Cn.publish_time),value:Cn.end_time?ue()(Cn.end_time):"",onChange:(vn,aa)=>{Cn.end_time=aa,$r(Object.assign({},Cn))}})))),!Cn.unified_setting&&(Tn==null?void 0:Tn.length)>0&&_t.createElement(gt.Z,{className:"ml25"},Tn&&Tn.map(function(vn,aa){var Aa,zn,Pa,Br;return _t.createElement(Oe.Z,{className:aa!==0&&"mt20",span:24,key:aa},_t.createElement(gt.Z,{gutter:[0,16]},_t.createElement(Oe.Z,{span:8},_t.createElement(gt.Z,{gutter:[8,16],align:"middle"},_t.createElement(Oe.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",aa+1),_t.createElement(Oe.Z,{flex:"1",style:{maxWidth:300}},_t.createElement(gn.default,{size:"large",disabled:fa||((Aa=Xn==null?void 0:Xn.homework_status)!=null&&Aa.includes("\u672A\u53D1\u5E03")&&vn.id||ue()()<ue()(vn==null?void 0:vn.publish_time)?!1:!!(vn!=null&&vn.publish_time)),mode:"multiple",className:`${un.selectSty}`,style:{width:250},value:vn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ar=>{var yo;if(!((yo=Ca.AssistantObject.hack)!=null&&yo.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Tn[aa].group_name=Ar,Tn[aa].group_id=vn.group_id;const ei=(0,Vt.flattenDeep)(Tn.map(zi=>zi.group_name)),Di=ra.map(zi=>{let el=(zi==null?void 0:zi.group_name)||[];return Dr(Nr({},zi),{group_name:(0,Vt.remove)(el,wl=>ei.includes(wl))})});nn(Di),nr(Tn.slice())},maxTagCount:4,maxTagPlaceholder:Ar=>_t.createElement("div",{style:{cursor:"pointer"},onClick:()=>Fo(vn,aa)},"+",Ar==null?void 0:Ar.length)},Xn.group_settings&&Xn.group_settings.map(function(Ar){if(!Tn.map(yo=>yo.group_name).toString().split(",").includes(String(Ar.group_name)))return _t.createElement(Mt,{value:Ar.group_name,key:Ar.id},Ar.group_name)}))))),_t.createElement(Oe.Z,{span:14,style:{display:"flex",alignItems:"center"}},_t.createElement(at,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[vn.publish_time?ue()(vn.publish_time):ue()(),ue()()]},disabled:fa||(ue()()<=ue()((zn=Sr(vn.id))==null?void 0:zn.publish_time)?!1:[!0,Ha(vn.id)]),style:{width:605,marginLeft:10},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Ar=>(0,mn.Q8)(Ar,Xn==null?void 0:Xn.course_end_date),disabledTime:Ar=>(0,mn.d0)(Ar),showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:vn.publish_time&&[ue()(vn.publish_time),vn.end_time?ue()(vn.end_time):void 0],onChange:(Ar,yo)=>{var ei;if(!((ei=Ca.AssistantObject.hack)!=null&&ei.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Tn[aa].publish_time=yo[0],!vn.end_time&&yo[0]?Tn[aa].end_time=ue()(yo[0]).add(7,"days"):Tn[aa].end_time=yo[1],nr([...Tn])},onCalendarChange:(Ar,yo,ei)=>{if(yo!=null&&yo[0]&&!yo[1]){const Di=ue()(yo[0]).add(7,"days");Tn[aa].publish_time=yo[0],Tn[aa].end_time=Di,nr([...Tn])}}})),!fa&&_t.createElement(Oe.Z,{span:2,style:{display:"flex",alignItems:"center"}},((Pa=vn==null?void 0:vn.group_id)==null?void 0:Pa.length)>1&&_t.createElement(nt.Z,{title:"\u89C4\u5219\u62C6\u5206"},_t.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>Fo(vn,aa)})),Tn.length<((Br=Xn==null?void 0:Xn.group_settings)==null?void 0:Br.length)&&_t.createElement(yt.Z,{className:"c-green ml10 mr10",onClick:()=>{nr(Tn.concat({}))}}),((vn==null?void 0:vn.publish_time)&&ue()()<ue()(vn==null?void 0:vn.publish_time)||!(vn!=null&&vn.publish_time))&&aa!=0&&_t.createElement(en.Z,{style:{color:"#E30000"},onClick:()=>{var Ar;if(!((Ar=Ca.AssistantObject.hack)!=null&&Ar.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const yo=(0,Vt.cloneDeep)(ra);yo.forEach((ei,Di)=>{ei.group_name&&(ei.group_name=ei.group_name.filter(zi=>{var el;return!((el=Tn[aa].group_name)!=null&&el.includes(zi))}))}),nn(yo),Tn=Tn.filter((ei,Di)=>aa!==Di),nr(Tn.slice()),setTimeout(()=>nr(Tn.slice()),10)}}))))}))),_t.createElement("div",{className:`${un.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",_t.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09")),_t.createElement("div",{className:un.content},_t.createElement(gt.Z,null,_t.createElement(Ge.default,{checked:Cn.allow_late,disabled:fa||(Xn==null?void 0:Xn.allow_late),onChange:vn=>{var aa;if(!((aa=Ca.AssistantObject.hack)!=null&&aa.can_late)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}vn.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:_t.createElement("div",{style:{padding:10,background:"#f5f6f9"}},_t.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),_t.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),_t.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),Cn.allow_late=!Cn.allow_late,ra==""&&nn([{late_minus_score:5}]),$r(Object.assign({},Cn))}},_t.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(Cn==null?void 0:Cn.allow_late)&&_t.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},_t.createElement("div",null,_t.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),_t.createElement(dt.ZP.Group,{disabled:fa||(Xn==null?void 0:Xn.anonymous_comment)||(Xn==null?void 0:Xn.allow_late),value:Cn.unified_late,onChange:vn=>{var aa;if((0,De.Rm)()&&!((aa=Ca.AssistantObject.hack)!=null&&aa.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Cn.unified_late=vn.target.value,ra==""&&!vn.target.value&&nn([{late_minus_score:5}]),$r(Nr({},Cn))}},(Cn==null?void 0:Cn.unified_setting)&&_t.createElement(dt.ZP,{value:!0,style:{color:"#333333"},disabled:!(Xn!=null&&Xn.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((br=Xn==null?void 0:Xn.group_settings)==null?void 0:br.length)&&_t.createElement(dt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),Cn!=null&&Cn.unified_late?_t.createElement(_t.Fragment,null,_t.createElement(gt.Z,{align:"middle",className:"mt25"},_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),_t.createElement(Oe.Z,{className:"ml5"},_t.createElement(Un.Z,{disabled:fa||Yr,value:{type:Cn.penalty_type,inputValue:Cn.late_minus_score},onChange:vn=>{var aa;if((0,De.Rm)()&&!((aa=Ca.AssistantObject.hack)!=null&&aa.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$r(Dr(Nr({},Cn),{late_minus_score:vn.inputValue,penalty_type:vn.type}))}})),_t.createElement(Oe.Z,{flex:"1",className:"ml5"},_t.createElement("span",{className:"c-grey-c ml10"},Cn.penalty_type===Un.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),_t.createElement(gt.Z,{align:"middle",className:"mt25"},_t.createElement(Oe.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),_t.createElement(Oe.Z,{className:"ml5"},_t.createElement(Zt.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:fa||Yr,value:Cn.late_time?ue()(Cn.late_time):"",disabledDate:vn=>(0,mn.Q8)(vn,Xn==null?void 0:Xn.course_end_date),disabledTime:vn=>(0,mn.d0)(vn),onChange:(vn,aa)=>{var Aa;if((0,De.Rm)()&&!((Aa=Ca.AssistantObject.hack)!=null&&Aa.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Cn.late_time=aa,$r(Object.assign({},Cn))}})),_t.createElement(Oe.Z,null,_t.createElement("span",{className:"c-grey-c ml10"},"(\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9)")))):ra.map(function(vn,aa){var Aa;return _t.createElement(Oe.Z,{span:24,key:aa},_t.createElement(gt.Z,{className:"mt25",align:"middle"},_t.createElement(Oe.Z,null,_t.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",aa+1,"\uFF1A"),_t.createElement(gn.default,{size:"large",disabled:fa||!((Aa=no==null?void 0:no.homework_status)!=null&&Aa.includes("\u672A\u53D1\u5E03"))&&vn.id||(Xn==null?void 0:Xn.anonymous_comment),mode:"multiple",className:`${un.selectSty}`,style:{width:200},value:typeof vn.group_name=="string"?[vn.group_name]:vn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:zn=>{var Pa;if((0,De.Rm)()&&!((Pa=Ca.AssistantObject.hack)!=null&&Pa.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ra[aa].group_name=zn,ra[aa].group_id=vn.group_id,nn(ra.slice())}},Xn.group_settings&&Xn.group_settings.map(function(zn){if(Cn!=null&&Cn.unified_setting&&!ra.map(Pa=>Pa.group_name).toString().split(",").includes(String(zn.group_name)))return _t.createElement(Mt,{value:zn.group_name,key:zn.id},zn.group_name);if(Tn.map(Pa=>Pa.group_name).toString().split(",").includes(String(zn.group_name))&&!ra.map(Pa=>Pa.group_name).toString().split(",").includes(String(zn.group_name)))return _t.createElement(Mt,{value:zn.group_name,key:zn.id},zn.group_name)}))),_t.createElement(Oe.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},_t.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),_t.createElement(Un.Z,{disabled:fa||mo(vn.id),value:{type:vn.penalty_type,inputValue:vn.late_minus_score},onChange:zn=>{var Pa;if((0,De.Rm)()&&!((Pa=Ca.AssistantObject.hack)!=null&&Pa.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ra[aa].late_minus_score=zn.inputValue,ra[aa].penalty_type=zn.type,nn([...ra])}})),_t.createElement(Oe.Z,{className:"ml20"},_t.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),_t.createElement(Zt.default,{size:"large",disabled:fa||mo(vn.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:zn=>(0,mn.Q8)(zn,Xn==null?void 0:Xn.course_end_date),disabledTime:zn=>(0,mn.d0)(zn),format:"YYYY-MM-DD HH:mm",value:vn!=null&&vn.late_time?ue()(vn.late_time):void 0,onChange:(zn,Pa)=>{var Br;if((0,De.Rm)()&&!((Br=Ca.AssistantObject.hack)!=null&&Br.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ra[aa].late_time=Pa,nn([...ra])}})),!fa&&_t.createElement(Oe.Z,{style:{marginLeft:10}},aa>0&&!vn.id&&_t.createElement(en.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{ra=ra.filter((zn,Pa)=>aa!==Pa),nn(ra.slice()),setTimeout(()=>nn(ra.slice()),10)}}),_t.createElement(yt.Z,{className:"c-green",onClick:()=>{var zn;if((0,De.Rm)()&&!((zn=Ca.AssistantObject.hack)!=null&&zn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}nn(ra.concat({penalty_type:Un.Q.Percent,late_minus_score:20}))}}))))})),!fa&&_t.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:eo,onClick:()=>zr()},"\u4FDD\u5B58"),_t.createElement($n.Z,{onConfirm:(vn,aa)=>{Tn.splice(vn,0,...aa),Tn.splice(vn+aa.length,1);const Aa=(0,Me.QE)([...Tn]);nr([...Aa])}}))};var kn=(0,he.connect)(({shixunHomeworks:Wt,classroomList:zt,user:kt,loading:Ca})=>({shixunHomeworks:Wt,loading:Ca.effects,user:kt,classroomList:zt}))(Ft),dn=te(59301),An=Object.defineProperty,Xr=Object.defineProperties,Fr=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,Nn=(Wt,zt,kt)=>zt in Wt?An(Wt,zt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Wt[zt]=kt,gr=(Wt,zt)=>{for(var kt in zt||(zt={}))ro.call(zt,kt)&&Nn(Wt,kt,zt[kt]);if(Kr)for(var kt of Kr(zt))Ja.call(zt,kt)&&Nn(Wt,kt,zt[kt]);return Wt},ar=(Wt,zt)=>Xr(Wt,Fr(zt)),mr=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});function tr(Wt,zt){const kt=[];for(let Ca=Wt;Ca<zt;Ca++)kt.push(Ca);return kt}const ht=Wt=>{let zt=new Date;const kt=ue()(Wt).format("HH");if(ue()(Wt).isSame(ue()(zt),"day")){const Ca=ue()(zt).format("HH"),Va=ue()(zt).format("mm");return{disabledHours:()=>tr(0,24).splice(1,Ca*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",kt,Ca),ue()(Wt).isSame(ue()(zt),"hour")&&kt<=Ca?tr(0,60).splice(0,Va):tr(60,60))}}else if(ue()(Wt).isSame(ue()(),"day")){const Ca=ue()().format("HH"),Va=ue()().format("mm");return{disabledHours:()=>tr(0,24).splice(0,Ca),disabledMinutes:()=>kt<=Ca?tr(0,Va):tr(60,60)}}else return},{RangePicker:qt}=Zt.default,{Option:tn}=gn.default,Pn=({shixunHomeworks:Wt,loading:zt,dispatch:kt})=>{const Ca=(0,he.useParams)(),Va=(0,he.useLocation)(),{workSetting:wa,workList:In,changeData:Ua}=Wt,[hn,Za]=(0,z.useState)(!0),[Fa,Io]=(0,z.useState)({}),[Ia,Yo]=(0,z.useState)(!1),[vi]=ft.default.useForm();let[Wo,br]=(0,z.useState)([]),[xr,Xn]=(0,z.useState)([]);const[no,oi]=(0,z.useState)([]),fa=(0,z.useRef)(!0);let[sa,eo]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,open_code:!1,rank_forbidden:!1,hack_analysis:!1,hack_answer:!1,open_code_type:void 0,hack_analysis_type:2,hack_answer_type:1,comment_public:!0,total_score:"",eff_score:0,rank_forbidden_start:"",rank_forbidden_end:"",show_late_code:!0});(0,z.useEffect)(()=>()=>{br([])},[]),(0,z.useEffect)(()=>{wa!=null&&wa.can_edit&&Za(!1)},[wa]);const Bi=()=>{kt({type:"shixunHomeworks/getWorkSetting",payload:gr({},Ca)})},Tn=nn=>nn&&nn<ue()().startOf("day");(0,z.useEffect)(()=>{wa!=null&&wa.course_id&&fa.current&&(fa.current=!1,Object.keys(sa).map(function(nn){wa[nn]!==void 0&&(sa[nn]=wa[nn])}),(!sa.allow_late||!sa.unified_late)&&(sa.late_penalty=5),Wo=JSON.parse(JSON.stringify(wa.group_settings.map(nn=>ar(gr({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.publish_time!==null))),xr=JSON.parse(JSON.stringify(wa.allow_late_settings.map(nn=>ar(gr({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.rank_forbidden_start!==null))),eo(gr({},sa)),console.log(sa,wa,"data"),br([...Wo]),(xr==null?void 0:xr.length)<=0?Xn([{}]):Xn([...xr]))},[wa]);const nr=()=>{const nn=JSON.parse(JSON.stringify(sa));if(nn.categoryId=Ca.categoryId,sa.unified_setting||(Wo=Wo==null?void 0:Wo.map(Vn=>{var Cn;if(!Vn.publish_time||!Vn.end_time)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Vn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Vn.group_name=typeof(Vn==null?void 0:Vn.group_name)=="string"?[Vn==null?void 0:Vn.group_name]:Vn==null?void 0:Vn.group_name,Vn.group_id=(Cn=wa.group_settings)==null?void 0:Cn.filter($r=>{var vr;return(vr=Vn==null?void 0:Vn.group_name)==null?void 0:vr.includes($r.group_name)}).map($r=>$r.group_id||$r.id).toString().split(","),Vn})),nn.group_settings=Wo,sa.rank_forbidden)if(sa.unified_setting){if(!sa.rank_forbidden_start)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!sa.rank_forbidden_end)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(ue()(sa.rank_forbidden_end)<ue()(sa.rank_forbidden_start))throw Ie.ZP.error("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4"),new String("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4")}else xr=xr==null?void 0:xr.map(Vn=>{var Cn,$r;if(!Vn.rank_forbidden_start)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Vn.rank_forbidden_end)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Vn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Vn.group_name=typeof(Vn==null?void 0:Vn.group_name)=="string"?[Vn==null?void 0:Vn.group_name]:Vn==null?void 0:Vn.group_name,Vn.group_id=($r=(Cn=Vn==null?void 0:Vn.group_name)==null?void 0:Cn.map(vr=>{var zr,qo;let Sr=(qo=(zr=wa.group_settings)==null?void 0:zr.filter(So=>(So==null?void 0:So.group_name)===vr))==null?void 0:qo[0];return Sr==null?void 0:Sr.group_id}))==null?void 0:$r.toString().split(","),Vn}),nn.group_settingss=xr;ra(nn)},ra=nn=>{if(console.log(nn.total_score,nn.eff_score),nn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(nn!=null&&nn.work_efficiency&&nn.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Vn={shixun_evaluation:nn.shixun_evaluation};mr(void 0,null,function*(){Yo(!0),(yield(0,se.ZP)(`/api/homework_commons/${Ca.categoryId}/public_setting.json`,{method:"post",body:gr({},nn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),Bi(),kt({type:"shixunHomeworks/getWorkList",payload:gr({},Ca)})),Yo(!1)})};return dn.createElement("section",{className:un.form},dn.createElement("div",{className:un.title},"\u516C\u5F00\u8BBE\u7F6E"),dn.createElement("div",{className:un.content,style:{padding:0}},dn.createElement(gt.Z,null,dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(Ge.default,{checked:sa.score_open,disabled:hn,onChange:nn=>{sa.score_open=nn.target.checked,eo(Object.assign({},sa))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u6210\u7EE9")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u52FE\u9009\u540E\u5B66\u751F\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u540E\uFF0C\u53EF\u67E5\u770B\u5176\u4ED6\u5B66\u751F\u7684\u6210\u7EE9\uFF09")),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:sa.open_code?"none":"1px solid #fff"}},dn.createElement(Ge.default,{checked:sa.open_code,disabled:hn,onChange:nn=>{sa.open_code=nn.target.checked,nn.target.checked&&(sa.open_code_type=1),eo(Object.assign({},sa))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u4EE3\u7801")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u53EF\u5728\u6392\u884C\u699C\u4E2D\u67E5\u770B\u4ED6\u4EBA\u8BD5\u9898\u901A\u8FC7\u4EE3\u7801\u8BE6\u60C5\uFF09")),!!sa.open_code&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:hn,value:sa.open_code_type,onChange:nn=>{sa.open_code_type=nn.target.value,eo(Object.assign({},sa))}},dn.createElement(dt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),dn.createElement(dt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:sa.rank_forbidden&&sa.unified_setting||!sa.unified_setting&&(Wo==null?void 0:Wo.length)>0&&sa.rank_forbidden?"none":"1px solid #fff"}},dn.createElement(Ge.default,{checked:sa.rank_forbidden,disabled:hn,onChange:nn=>{sa.rank_forbidden=nn.target.checked,eo(Object.assign({},sa))}},dn.createElement("span",{className:"font14"},"\u5F00\u542F\u5C01\u699C")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u4E0D\u53EF\u67E5\u770B\u6392\u884C\u699C\u4FE1\u606F\u7684\u65F6\u95F4\u6BB5\uFF09")),!!sa.rank_forbidden&&sa.unified_setting&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{height:"50px",lineHeight:"50px"}},dn.createElement("div",{style:{marginLeft:"24px"}},dn.createElement(gt.Z,{align:"middle"},dn.createElement(Oe.Z,null,"\u5F00\u59CB\u65F6\u95F4"),dn.createElement(Oe.Z,{className:"ml10"},dn.createElement(Zt.default,{size:"large",style:{width:370},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u5F00\u59CB\u65F6\u95F4\uFF09",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Tn,disabledTime:ht,disabled:hn||ue()()>ue()(wa.rank_forbidden_start),value:sa.rank_forbidden_start?ue()(sa.rank_forbidden_start):"",onChange:(nn,Vn)=>{sa.rank_forbidden_start=Vn,(sa.end_time==""||!sa.end_time)&&sa.unified_setting&&(sa.end_time=ue()(nn).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),eo(Object.assign({},sa))}})),dn.createElement(Oe.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),dn.createElement(Oe.Z,{className:"ml10"},dn.createElement(Zt.default,{size:"large",style:{width:370},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u7ED3\u675F\u65F6\u95F4\uFF09",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:hn,disabledDate:Tn,value:sa.rank_forbidden_end?ue()(sa.rank_forbidden_end):"",onChange:(nn,Vn)=>{sa.rank_forbidden_end=Vn,eo(Object.assign({},sa))}}))))),!sa.unified_setting&&(Wo==null?void 0:Wo.length)>0&&!!sa.rank_forbidden&&dn.createElement(gt.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},xr.map(function(nn,Vn){var Cn,$r,vr,zr,qo,Sr,So;return dn.createElement(Oe.Z,{span:24,key:Vn,style:{marginLeft:"24px"}},dn.createElement(gt.Z,{className:"mt10 ml30",align:"middle"},dn.createElement(Oe.Z,null,dn.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",Vn+1,"\uFF1A"),dn.createElement(gn.default,{size:"large",disabled:hn||!((Cn=In==null?void 0:In.homework_status)!=null&&Cn.includes("\u672A\u53D1\u5E03"))&&nn.id,mode:"multiple",className:un.selectSty,style:{width:250},value:typeof nn.group_name=="string"?[nn.group_name]:nn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ha=>{xr[Vn].group_name=Ha,xr[Vn].group_id=nn.group_id,Xn(xr.slice())}},wa.group_settings&&wa.group_settings.map(function(Ha){if(sa!=null&&sa.unified_setting&&!xr.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name)))return dn.createElement(tn,{value:Ha.group_name,key:Ha.id},Ha.group_name);if(Wo.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name))&&!xr.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name)))return dn.createElement(tn,{value:Ha.group_name,key:Ha.id},Ha.group_name)}))),dn.createElement(Oe.Z,{span:15},dn.createElement("div",{className:"ml20"},dn.createElement(qt,{size:"large",allowClear:!1,disabled:hn||((zr=(vr=($r=wa==null?void 0:wa.group_settings)==null?void 0:$r.filter(Ha=>Ha.id===nn.id))==null?void 0:vr[0])!=null&&zr.rank_forbidden_start?ue()()<ue()((So=(Sr=(qo=wa==null?void 0:wa.group_settings)==null?void 0:qo.filter(Ha=>Ha.id===nn.id))==null?void 0:Sr[0])==null?void 0:So.rank_forbidden_start)?!1:[!0,!1]:!1),style:{width:635},placeholder:["\u5F00\u59CB\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u5F00\u59CB\u65F6\u95F4\uFF09","\u7ED3\u675F\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u7ED3\u675F\u65F6\u95F4\uFF09"],disabledDate:Tn,disabledTime:ht,showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:nn.rank_forbidden_start&&[ue()(nn.rank_forbidden_start),nn.rank_forbidden_end?ue()(nn.rank_forbidden_end):void 0],onChange:(Ha,Yr)=>{xr[Vn].rank_forbidden_start=Yr[0],xr[Vn].rank_forbidden_end=Yr[1],Xn([...xr])}}))),!hn&&dn.createElement(Oe.Z,null,dn.createElement(yt.Z,{className:"c-green",onClick:()=>{Xn(xr.concat({}))}}),Vn>0&&!nn.id&&dn.createElement(en.Z,{className:"c-red ml10",onClick:()=>{xr=xr.filter((Ha,Yr)=>Vn!==Yr),Xn(xr.slice()),setTimeout(()=>Xn(xr.slice()),10)}}))))})),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:sa.hack_analysis?"none":"1px solid #fff"}},dn.createElement(Ge.default,{checked:sa.hack_analysis,disabled:hn,onChange:nn=>{sa.hack_analysis=nn.target.checked,nn.target.checked&&(sa.hack_analysis_type=2),eo(Object.assign({},sa))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u89E3\u6790")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09")),!!sa.hack_analysis&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:hn,value:sa.hack_analysis_type,onChange:nn=>{sa.hack_analysis_type=nn.target.value,eo(Object.assign({},sa))}},dn.createElement(dt.ZP,{value:2,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),dn.createElement(dt.ZP,{style:{marginLeft:60,color:"#333333"},value:0},"\u4EFB\u610F\u65F6\u95F4"),dn.createElement(dt.ZP,{style:{marginLeft:60,color:"#333333"},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),dn.createElement(Oe.Z,{span:24,className:un.pubColSty,style:{borderBottom:sa.hack_answer?"none":"1px solid #fff"}},dn.createElement(Ge.default,{checked:sa.hack_answer,disabled:hn,onChange:nn=>{sa.hack_answer=nn.target.checked,nn.target.checked&&(sa.hack_answer_type=1),eo(Object.assign({},sa))}},dn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u7B54\u6848")),dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09")),!!sa.hack_answer&&dn.createElement(Oe.Z,{span:24,className:un.pubColSty},dn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:hn,value:sa.hack_answer_type,onChange:nn=>{sa.hack_answer_type=nn.target.value,eo(Object.assign({},sa))}},dn.createElement(dt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),dn.createElement(dt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))))),dn.createElement("div",{className:`${un.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),dn.createElement("div",{className:un.content},dn.createElement(Ge.default,{disabled:hn,checked:sa.show_late_code,onChange:()=>{sa.show_late_code=!sa.show_late_code,eo(Object.assign({},sa))}},dn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),dn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801\uFF0C\u5426\u5219\u53EA\u5C55\u793A\u5728\u4F5C\u4E1A\u65F6\u95F4\u8303\u56F4\u5185\u63D0\u4EA4\u7684\u4EE3\u7801\uFF09"))),!hn&&dn.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Ia,onClick:()=>nr()},"\u4FDD\u5B58"))};var Rn=(0,he.connect)(({shixunHomeworks:Wt,loading:zt})=>({shixunHomeworks:Wt,loading:zt.effects}))(Pn),cn=te(59301),On=Object.defineProperty,yn=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,Ma=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,oo=(Wt,zt,kt)=>zt in Wt?On(Wt,zt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Wt[zt]=kt,to=(Wt,zt)=>{for(var kt in zt||(zt={}))ur.call(zt,kt)&&oo(Wt,kt,zt[kt]);if(Ma)for(var kt of Ma(zt))Fn.call(zt,kt)&&oo(Wt,kt,zt[kt]);return Wt},Ko=(Wt,zt)=>yn(Wt,rr(zt)),jn=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});const Ra=({shixunHomeworks:Wt,loading:zt,dispatch:kt})=>{var Ca;const Va=(0,he.useParams)(),{workSetting:wa,workList:In,changeData:Ua}=Wt,[hn,Za]=(0,z.useState)(!0),[Fa,Io]=(0,z.useState)(!1),[Ia,Yo]=(0,z.useState)(!1),[vi]=ft.default.useForm();let[Wo,br]=(0,z.useState)([]),[xr,Xn]=(0,z.useState)([]);const no=!((Ca=In==null?void 0:In.homework_status)!=null&&Ca.includes("\u672A\u53D1\u5E03")),oi=(0,z.useRef)(!0);let[fa,sa]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,is_onpage_time:!0,training_time_rules:1,hack_settings:[],punish_time:void 0,hack_score_settings:void 0,hack_rank_rule:0});(0,z.useEffect)(()=>()=>{br([])},[]),(0,z.useEffect)(()=>{wa!=null&&wa.can_edit&&Za(!1)},[wa]);const eo=()=>{kt({type:"shixunHomeworks/getWorkSetting",payload:to({},Va)})};(0,z.useEffect)(()=>{wa!=null&&wa.course_id&&oi.current&&(oi.current=!1,Object.keys(fa).map(function(nn){fa[nn]=wa[nn]}),(!fa.allow_late||!fa.unified_late)&&(fa.late_penalty=5),Wo=JSON.parse(JSON.stringify(wa.group_settings.map(nn=>Ko(to({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.publish_time!==null))),xr=JSON.parse(JSON.stringify(wa.allow_late_settings.map(nn=>Ko(to({},nn),{group_name:[nn.group_name]})).filter(nn=>nn.late_time!==null))),nr(),sa(to({},fa)),br([...Wo]),Xn([...xr]))},[wa]);const Bi=()=>{const nn=JSON.parse(JSON.stringify(fa));Tn(nn)},Tn=nn=>{if(console.log(nn.total_score,nn.eff_score),nn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}const Vn=()=>jn(void 0,null,function*(){Io(!0),(yield(0,se.ZP)(`/api/homework_commons/${Va.categoryId}/hack_score_setting.json`,{method:"post",body:to({},nn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),eo(),kt({type:"shixunHomeworks/getWorkList",payload:to({},Va)})),Io(!1)});(fa==null?void 0:fa.hack_score_settings)!==(wa==null?void 0:wa.hack_score_settings)&&no?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Vn}):Vn()},nr=()=>{var nn;const{total_score:Vn}=fa,Cn=(nn=fa.hack_settings)==null?void 0:nn.length;if(!Cn)return;let $r=0,vr;switch(fa.hack_score_settings){case 0:const zr=(Vn/Cn).toFixed(2);fa.hack_settings.map((vn,aa)=>{$r=aa,vn.hack_score=zr>0?zr:0}),vr=(Vn-zr*(Cn-1)).toFixed(2),fa.hack_settings[$r].hack_score=vr>0?vr:0;break;case 1:const qo=[0,1,3,6];let Sr=0;const So=fa.hack_settings.filter(vn=>vn.difficult===1).length*qo[1],Ha=fa.hack_settings.filter(vn=>vn.difficult===2).length*qo[2],Yr=fa.hack_settings.filter(vn=>vn.difficult===3).length*qo[3],mo=Vn/(So+Ha+Yr);console.log(mo,2222),fa.hack_settings.map((vn,aa)=>{$r=aa,vn.hack_score=(qo[vn.difficult]*mo).toFixed(2),Sr=Sr+Number(vn.hack_score)});let Fo=fa.hack_settings[$r].hack_score;vr=(Vn-Sr+Number(Fo)).toFixed(2),fa.hack_settings[$r].hack_score=vr>0?vr:0;break}},ra=(wa==null?void 0:wa.send_type)===0||(wa==null?void 0:wa.send_type)===1&&(fa==null?void 0:fa.hack_score_settings)===2;return cn.createElement("section",{className:un.form},cn.createElement("div",{className:un.title},"\u5206\u503C\u8BBE\u7F6E"),cn.createElement("div",{className:`${un.content} mb30`},cn.createElement(gt.Z,{align:"middle"},cn.createElement(gt.Z,{align:"middle"},cn.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),cn.createElement(Dt.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:fa.total_score,disabled:hn,onChange:nn=>{fa.total_score=nn,sa(Object.assign({},fa)),nr()},addonAfter:"\u5206"})),cn.createElement(gt.Z,{align:"middle",style:{marginLeft:60}},cn.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),cn.createElement(Dt.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:fa.punish_time,precision:0,disabled:hn,onChange:nn=>{fa.punish_time=nn,sa(Object.assign({},fa)),nr()},addonAfter:"\u5206\u949F"})))),cn.createElement("div",{className:un.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),cn.createElement("div",{className:`${un.content} mb30`},cn.createElement(dt.ZP.Group,{disabled:hn,value:fa.hack_rank_rule,onChange:nn=>{fa.hack_rank_rule=nn.target.value,sa(Object.assign({},fa))}},cn.createElement(dt.ZP,{value:0},cn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),cn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),cn.createElement(dt.ZP,{style:{marginLeft:40},value:1},cn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),cn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),cn.createElement("div",{className:un.title},"\u8BD5\u9898\u5206\u503C"),cn.createElement("div",{className:un.content},cn.createElement(dt.ZP.Group,{value:fa.hack_score_settings,onChange:nn=>{fa.hack_score_settings=nn.target.value,sa(Object.assign({},fa)),nr()}},cn.createElement(dt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),cn.createElement(dt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),cn.createElement(dt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),cn.createElement("div",{className:un.content,style:{borderTop:"1px solid #fff"}},cn.createElement("div",{style:{padding:"0px 20px 20px 20px"}},fa.hack_settings&&fa.hack_settings.map(function(nn,Vn){return cn.createElement(gt.Z,{key:Vn,align:"middle",style:{marginTop:20}},cn.createElement(Oe.Z,{flex:"1",className:"pr10"},cn.createElement("span",{style:{color:"#333333"}},nn.hack_name)),cn.createElement(Oe.Z,{flex:"150px"},cn.createElement(Dt.Z,{min:0,step:.1,style:{visibility:ra?"visible":"hidden"},value:nn.hack_score,disabled:fa.hack_score_settings!==2,onChange:Cn=>{fa.hack_settings[Vn].hack_score=Cn;const $r=fa.hack_settings.reduce((vr,zr)=>vr+Number(zr.hack_score),0);fa.total_score=$r.toFixed(2),sa(to({},fa))},size:"large",addonAfter:"\u5206"})),cn.createElement(Oe.Z,{className:"ml20",style:{lineHeight:"20px"}},nn.difficult===1&&cn.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),nn.difficult===2&&cn.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),nn.difficult===3&&cn.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!hn&&cn.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Fa,onClick:()=>Bi()},"\u4FDD\u5B58"))};var Qa=(0,he.connect)(({shixunHomeworks:Wt,loading:zt})=>({shixunHomeworks:Wt,loading:zt.effects}))(Ra),Oa=te(59301),Ir=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});const Er=({shixunHomeworks:Wt,loading:zt,dispatch:kt})=>{var Ca,Va;const[wa,In]=(0,z.useState)(!0),[Ua,hn]=(0,z.useState)(!1),[Za,Fa]=(0,z.useState)([]),[Io,Ia]=(0,z.useState)([]),[Yo,vi]=(0,z.useState)([]),[Wo,br]=(0,z.useState)([]),[xr,Xn]=(0,z.useState)(!1),[no,oi]=(0,z.useState)(""),fa=(0,he.useParams)();function sa(){return Ir(this,null,function*(){let Tn=yield(0,se.ZP)(`/api/homework_commons/${fa.categoryId}/homework_common_collaborators.json`,{method:"get"});Ia(Tn)})}function eo(){return Ir(this,null,function*(){var Tn;let nr=yield(0,se.ZP)(`/api/courses/${fa==null?void 0:fa.coursesId}/teachers`,{method:"get",params:{homework_id:fa.categoryId,limit:1e3}});(Tn=nr==null?void 0:nr.teacher_list)==null||Tn.map(ra=>{ra.key=ra.user_id}),vi(nr==null?void 0:nr.teacher_list),br(nr==null?void 0:nr.teacher_list)})}(0,z.useEffect)(()=>{sa(),eo()},[fa]);const Bi=()=>{};return Oa.createElement("section",{className:un.form},Oa.createElement(gt.Z,{className:un.content,style:{padding:"20px 30px",gap:20}},(Ca=Io==null?void 0:Io.data)==null?void 0:Ca.map(Tn=>Oa.createElement(gt.Z,{align:"middle",className:`${un.borderSty} ${no===(Tn==null?void 0:Tn.id)?un.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},Oa.createElement("span",{className:"c-grey-333"},Tn==null?void 0:Tn.real_name),(Io==null?void 0:Io.can_edit)&&Oa.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${un.delSty}`,onMouseEnter:()=>{oi(Tn.id)},onMouseLeave:()=>{oi("")},onClick:()=>Ir(void 0,null,function*(){(yield(0,se.ZP)(`/api/homework_commons/${fa.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:Tn.id}})).status===0&&(Ie.ZP.info("\u5220\u9664\u6210\u529F"),sa(),eo())})}))),!(Io!=null&&Io.can_edit)&&!((Va=Io==null?void 0:Io.data)!=null&&Va.length)&&Oa.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(Io==null?void 0:Io.can_edit)&&Oa.createElement(Ne.ZP,{className:un.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>hn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),Oa.createElement(be.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Ua,confirmLoading:xr,onCancel:()=>hn(!1),onOk:()=>Ir(void 0,null,function*(){if(Za.length===0){Ie.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}Xn(!0),(yield(0,se.ZP)(`/api/homework_commons/${fa.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:Za}})).status===0&&(Ie.ZP.info("\u6DFB\u52A0\u6210\u529F"),Fa([]),sa(),eo(),hn(!1)),Xn(!1)})},Oa.createElement("div",null,Oa.createElement("div",{style:{display:"flex"}},Oa.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",Oa.createElement(ve.default.Search,{onChange:Tn=>{vi(Wo.filter(nr=>nr.name.indexOf(Tn.target.value)>-1))}})),Oa.createElement(Ze.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(Tn,nr)=>{Fa(Tn)},selectedRowKeys:Za,getCheckboxProps:Tn=>({disabled:Tn.is_collaborator})},pagination:!1,dataSource:Yo,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var Cr=(0,he.connect)(({shixunHomeworks:Wt,loading:zt})=>({shixunHomeworks:Wt,loading:zt.effects}))(Er),fo=te(59301);const Ao=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:fo.createElement(kn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:fo.createElement(Qa,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:fo.createElement(Rn,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:fo.createElement(Cr,null)}];var Fi=()=>fo.createElement(wt.Z,{dataSource:Ao,style:{marginBottom:52}}),hi=te(26724),Ui=te.n(hi),_n=te(59189),Na=te(59301),co=Object.defineProperty,Co=Object.defineProperties,bo=Object.getOwnPropertyDescriptors,Ei=Object.getOwnPropertySymbols,yi=Object.prototype.hasOwnProperty,$i=Object.prototype.propertyIsEnumerable,Ni=(Wt,zt,kt)=>zt in Wt?co(Wt,zt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Wt[zt]=kt,Ce=(Wt,zt)=>{for(var kt in zt||(zt={}))yi.call(zt,kt)&&Ni(Wt,kt,zt[kt]);if(Ei)for(var kt of Ei(zt))$i.call(zt,kt)&&Ni(Wt,kt,zt[kt]);return Wt},Te=(Wt,zt)=>Co(Wt,bo(zt)),Ye=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});const Ct=({shixunHomeworks:Wt,loading:zt,dispatch:kt})=>{const Ca=(0,he.useParams)(),Va=(0,he.useLocation)(),[wa,In]=(0,z.useState)([]),[Ua,hn]=(0,z.useState)([]),[Za,Fa]=(0,z.useState)(!0),[Io,Ia]=(0,z.useState)(!1),[Yo,vi]=(0,z.useState)(1),[Wo,br]=(0,z.useState)([]),[xr,Xn]=(0,z.useState)(!1),[no,oi]=(0,z.useState)(!1),[fa,sa]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Wt.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(eo.resetFields(),In([]),Xn(!0),Tn()):Xn(!1)},[Wt.actionTabs.key]);const[eo]=ft.default.useForm();let Bi=[];const Tn=()=>Ye(void 0,null,function*(){var nn;if(Za&&!Io){Ia(!0),vi(Yo+1);const Vn=yield(0,_n.JG)(Te(Ce({},Ca),{page:Yo})),Cn=[...Vn.group_list];Vn!=null&&Vn.ungroup_list&&Cn.push({id:Vn==null?void 0:Vn.ungroup_list.id,name:Vn==null?void 0:Vn.ungroup_list.name,works_count:Vn==null?void 0:Vn.ungroup_list.work_count,last_review_time:Vn==null?void 0:Vn.ungroup_list.last_review_time}),In([...wa,...Cn]),Ia(!1),((nn=Vn.group_list)==null?void 0:nn.length)<10&&Fa(!1)}}),nr=()=>{kt({type:"shixunHomeworks/setActionTabs",payload:{}}),oi(!1),Fa(!0),Ia(!1),vi(1),In([]),eo.resetFields()},ra=[{title:"",dataIndex:"id",width:280,render:(nn,Vn)=>Na.createElement(Ge.default,{disabled:!(Vn.works_count>1),value:String(Vn.id)},Vn.name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_review_time",width:130}];return Na.createElement(be.default,{centered:!0,title:"\u4EE3\u7801\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:xr,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>Ye(void 0,null,function*(){const nn=eo.getFieldValue();sa(!0);const Vn=yield(0,se.ZP)(`/api/homework_commons/${Ca.categoryId}/hack_homework_code_repeat.json`,{method:"post",body:{group_ids:[...nn.group_ids]}});sa(!1),Vn.status===0&&(nr(),yield kt({type:"shixunHomeworks/getWorkList",payload:Wt.actionTabs.params}),he.history.push(`/classrooms/${Ca.coursesId}/program_homework/${Ca.categoryId}/detail?tabs=2`),kt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:fa},onCancel:nr},Na.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"),Wt.codeReviewCourse&&Na.createElement(ft.default,{form:eo,onChange:nn=>{br(Ce({},eo.getFieldValue()))},initialValues:{group_ids:Bi,end_time:ue()(ue()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},Na.createElement("div",{className:"flexd-table-header mt20"},Na.createElement(Ze.default,{pagination:!1,dataSource:[],columns:ra})),Na.createElement(ft.default.Item,{name:"group_ids"},Na.createElement(Ge.default.Group,{className:"w100"},Na.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},Na.createElement(Ui(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:nn=>{Tn()},hasMore:Za,useWindow:!1},Na.createElement(Ze.default,{loading:zt.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:ra,dataSource:wa,pagination:!1})))))),Na.createElement(gt.Z,null,Na.createElement(Oe.Z,{className:"ml10"},Na.createElement(Ge.default,{checked:no,onChange:nn=>{oi(nn.target.checked);let Vn=[];nn.target.checked&&(Vn=wa.filter(Cn=>Cn.works_count>1).map(Cn=>Cn.id+"")),eo.setFieldsValue({group_ids:Vn})}},"\u5168\u9009"))))};var Jt=(0,he.connect)(({shixunHomeworks:Wt,loading:zt})=>({shixunHomeworks:Wt,loading:zt}))(Ct),Ut=te(33829),Ln=te(34703),fn=te(63621),Yn=te(72946),Sa=te(34188),Ea=te(4105),ca=te(99714),Mr=te(97959),kr=te(18193),Zo=te(22243),Ur=Object.defineProperty,ho=Object.defineProperties,ga=Object.getOwnPropertyDescriptors,Jn=Object.getOwnPropertySymbols,Qn=Object.prototype.hasOwnProperty,pa=Object.prototype.propertyIsEnumerable,hr=(Wt,zt,kt)=>zt in Wt?Ur(Wt,zt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Wt[zt]=kt,or=(Wt,zt)=>{for(var kt in zt||(zt={}))Qn.call(zt,kt)&&hr(Wt,kt,zt[kt]);if(Jn)for(var kt of Jn(zt))pa.call(zt,kt)&&hr(Wt,kt,zt[kt]);return Wt},Zr=(Wt,zt)=>ho(Wt,ga(zt)),Tr=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});let vo=[Ea.Z,ca.Z,Mr.Z];const Lo=({user:Wt,classroomList:zt,shixunHomeworks:kt})=>{var Ca,Va,wa;let[In,Ua]=(0,z.useState)(or(Zr(or({},(0,he.useParams)()),{page:1,per_page:20,rank_type:2,search:"",course_group:(0,De.dE)()?[Wt.userInfo.course.course_group_id]:[]}),(0,he.useParams)()));const[hn,Za]=(0,z.useState)([]),[Fa,Io]=(0,z.useState)([]),[Ia,Yo]=(0,z.useState)([]),[vi,Wo]=(0,z.useState)(!1),[br,xr]=(0,z.useState)(!1);let[Xn,no]=(0,z.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(Tn,nr)=>Tn.rank-nr.rank,render:(Tn,nr,ra)=>Tn<4?z.createElement("img",{src:vo[Tn-1]}):Tn},{title:"\u59D3\u540D",dataIndex:"user_name",width:80,fixed:"left",ellipsis:!0,key:"user_name",render:(Tn,nr,ra)=>z.createElement("span",null,nr.is_me&&z.createElement("span",{style:{display:"inline-block",fontSize:12,color:"#CA7720",background:"rgba(255, 181, 56, 0.36)",borderRadius:2,width:16,height:16,textAlign:"center",lineHeight:"16px",transform:"translateY(-1px)"}},"\u6211"),Tn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",width:80,ellipsis:!0,fixed:"left",render:Tn=>Tn||"- -"},{title:"\u73ED\u7EA7",dataIndex:"course_group",key:"course_group",ellipsis:!0,width:70,fixed:"left"},{title:"\u901A\u8FC7",dataIndex:"passed_count",width:60,fixed:"left",ellipsis:!0,key:"passed_count",render:Tn=>z.createElement("span",null,Tn," ",Tn!="-"&&"\u9898")},{title:"\u5F97\u5206",dataIndex:"score",width:50,ellipsis:!0,fixed:"left",key:"score"}]);const[oi,fa]=(0,z.useState)(null),sa=()=>{var Tn,nr;const ra=((Tn=document.getElementById("filterWarp"))==null?void 0:Tn.clientHeight)||0,nn=((nr=document.getElementById("pagination"))==null?void 0:nr.clientHeight)||0;return window.innerHeight-ra-nn-110};(0,z.useEffect)(()=>{const Tn=()=>{fa(sa())};return window.addEventListener("resize",Tn),()=>{window.removeEventListener("resize",Tn)}},[]),(0,z.useEffect)(()=>{var Tn,nr,ra,nn,Vn;Xn.splice(7);for(let Cn=0;Cn<((Tn=hn==null?void 0:hn.question_data)==null?void 0:Tn.length);Cn++){let $r={};$r.title=hn!=null&&hn.sent_type?z.createElement("span",null,"\u9898\u76EE"+(Cn+1)+`\uFF08${(ra=(nr=hn==null?void 0:hn.question_data)==null?void 0:nr[Cn])==null?void 0:ra.question_score}\uFF09`):z.createElement("a",{onClick:()=>Tr(void 0,null,function*(){var vr,zr;let qo=yield(0,se.ZP)(`/api/problems/${(zr=(vr=hn==null?void 0:hn.question_data)==null?void 0:vr[Cn])==null?void 0:zr.identifier}/start.json`,{method:"get"});qo&&(window.open(`/myproblems/${qo==null?void 0:qo.identifier}?type=1`),localStorage.setItem("program_homework",[In.coursesId,In.categoryId]))})},"\u9898\u76EE"+(Cn+1)+`\uFF08${(Vn=(nn=hn==null?void 0:hn.question_data)==null?void 0:nn[Cn])==null?void 0:Vn.question_score}\uFF09`),$r.dataIndex="question_data",$r.width=140,$r.render=(vr,zr)=>{var qo,Sr,So,Ha,Yr;return z.createElement("div",null,((qo=vr==null?void 0:vr[Cn])==null?void 0:qo.answer_question_time)&&z.createElement("div",null,z.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Tr(void 0,null,function*(){var mo,Fo,vn,aa,Aa,zn,Pa,Br;if((0,De.Rm)()&&!((mo=zt.AssistantObject.hack)!=null&&mo.can_appraise)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(!((Fo=vr==null?void 0:vr[Cn])!=null&&Fo.open_code)){Ie.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Ar=yield(0,se.ZP)("/api/courses/view_code.json",{method:"get",params:Zr(or({},In),{id:In.coursesId,homework_common_id:In.categoryId,hack_user_code_id:(vn=vr==null?void 0:vr[Cn])==null?void 0:vn.hack_user_code_id})});be.default.warning({icon:null,width:800,title:z.createElement("div",null,z.createElement("span",null,"\u4EE3\u7801"),z.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(aa=vr==null?void 0:vr[Cn])==null?void 0:aa.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Aa=vr==null?void 0:vr[Cn])==null?void 0:Aa.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(zn=vr==null?void 0:vr[Cn])==null?void 0:zn.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(Pa=vr==null?void 0:vr[Cn])==null?void 0:Pa.score)),content:z.createElement(kr.Z,{classroomList:zt,user:Wt,languages:[{language:(Br=vr==null?void 0:vr[Cn])==null?void 0:Br.language,code:Ar==null?void 0:Ar.code}],v:vr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:vr.language,game_id:vr.id,diff_code_count:vr.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((Sr=vr==null?void 0:vr[Cn])==null?void 0:Sr.answer_question_time)||"- -"),(So=vr==null?void 0:vr[Cn])!=null&&So.submit_count?z.createElement(nt.Z,{title:`${((Ha=vr==null?void 0:vr[Cn])==null?void 0:Ha.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Yr=vr==null?void 0:vr[Cn])==null?void 0:Yr.submit_count)||0):null))},Xn.push($r)}no([...Xn])},[hn==null?void 0:hn.question_data]),(0,z.useEffect)(()=>{var Tn;(Tn=Wt==null?void 0:Wt.userInfo)!=null&&Tn.course&&((0,De.dE)()&&(In.course_group=(0,De.dE)()?[Wt.userInfo.course.course_group_id]:[],Ua(or({},In))),eo(1))},[Wt==null?void 0:Wt.userInfo]);function eo(Tn){return Tr(this,null,function*(){var nr,ra,nn,Vn,Cn,$r,vr;Wo(!0);let zr=yield(0,se.ZP)("/api/courses/rank_list.json",{method:"get",params:Zr(or({},In),{id:In.coursesId,rank_type:2,homework_common_id:In.categoryId})});if(Za(zr),Wo(!1),zr.status!=-1&&((0,De.dE)()?(Tn===1&&Io([(ra=(nr=zr==null?void 0:zr.course_group)==null?void 0:nr[0])==null?void 0:ra.id]),zr!=null&&zr.my_rank?Yo([or({is_me:!0},zr==null?void 0:zr.my_rank),...zr==null?void 0:zr.rank_list]):Yo([...zr==null?void 0:zr.rank_list])):Yo([...zr==null?void 0:zr.rank_list]),Tn===1)){let qo={title:(zr==null?void 0:zr.hack_rank_rule)===0?z.createElement(nt.Z,{title:`\u603B\u8017\u65F6\u65F6\u4E3A\u505A\u9898\u901A\u8FC7\u65F6\u957F\u548C\u7F5A\u65F6\u65F6\u957F\u7684\u603B\u548C\uFF0C
|
|
\u7F5A\u65F6\u65F6\u957F=\u8BC4\u6D4B\u51FA\u9519\u6B21\u6570X\u8BBE\u7F6E\u7684\u7F5A\u65F6\uFF08\u5F53\u524D\u4E3A${zr==null?void 0:zr.punish_time}\u5206\uFF09`},z.createElement("span",{style:{marginRight:3}},"\u603B\u8017\u65F6")," ",z.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-tishixiaowenhao c-blue"})):"\u5B8C\u6210\u65F6\u95F4",dataIndex:(zr==null?void 0:zr.hack_rank_rule)===0?"finish_time":"finish_at",width:(zr==null?void 0:zr.hack_rank_rule)===0?80:150,ellipsis:!0,fixed:"left",key:"finish_time"};Xn.push(qo);for(let Sr=0;Sr<((nn=zr==null?void 0:zr.question_data)==null?void 0:nn.length);Sr++){let So={};So.title=zr!=null&&zr.sent_type?z.createElement("span",null,"\u9898\u76EE"+(Sr+1)+`\uFF08${(Cn=(Vn=zr==null?void 0:zr.question_data)==null?void 0:Vn[Sr])==null?void 0:Cn.question_score}\uFF09`):z.createElement("a",{onClick:()=>Tr(this,null,function*(){var Ha,Yr;let mo=yield(0,se.ZP)(`/api/problems/${(Yr=(Ha=zr==null?void 0:zr.question_data)==null?void 0:Ha[Sr])==null?void 0:Yr.identifier}/start.json`,{method:"get"});mo&&(window.open(`/myproblems/${mo==null?void 0:mo.identifier}?type=1`),localStorage.setItem("program_homework",[In.coursesId,In.categoryId]))})},"\u9898\u76EE"+(Sr+1)+`\uFF08${(vr=($r=zr==null?void 0:zr.question_data)==null?void 0:$r[Sr])==null?void 0:vr.question_score}\uFF09`),So.dataIndex="question_data",So.width=140,So.render=(Ha,Yr)=>{var mo,Fo,vn,aa,Aa;return z.createElement("div",null,((mo=Ha==null?void 0:Ha[Sr])==null?void 0:mo.answer_question_time)&&z.createElement("div",null,z.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Tr(this,null,function*(){var zn,Pa,Br,Ar,yo,ei,Di,zi;if((0,De.Rm)()&&!((zn=zt.AssistantObject.hack)!=null&&zn.can_view)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(!((Pa=Ha==null?void 0:Ha[Sr])!=null&&Pa.open_code)){Ie.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let el=yield(0,se.ZP)("/api/courses/view_code.json",{method:"get",params:Zr(or({},In),{id:In.coursesId,homework_common_id:In.categoryId,hack_user_code_id:(Br=Ha==null?void 0:Ha[Sr])==null?void 0:Br.hack_user_code_id})});be.default.warning({icon:null,width:800,title:z.createElement("div",null,z.createElement("span",null,"\u4EE3\u7801"),z.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(Ar=Ha==null?void 0:Ha[Sr])==null?void 0:Ar.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(yo=Ha==null?void 0:Ha[Sr])==null?void 0:yo.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(ei=Ha==null?void 0:Ha[Sr])==null?void 0:ei.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(Di=Ha==null?void 0:Ha[Sr])==null?void 0:Di.score)),content:z.createElement(kr.Z,{classroomList:zt,user:Wt,languages:[{language:(zi=Ha==null?void 0:Ha[Sr])==null?void 0:zi.language,code:el==null?void 0:el.code}],v:Ha,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:Ha.language,game_id:Ha.id,diff_code_count:Ha.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((Fo=Ha==null?void 0:Ha[Sr])==null?void 0:Fo.answer_question_time)||"- -"),(vn=Ha==null?void 0:Ha[Sr])!=null&&vn.submit_count?z.createElement(nt.Z,{title:`${((aa=Ha==null?void 0:Ha[Sr])==null?void 0:aa.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Aa=Ha==null?void 0:Ha[Sr])==null?void 0:Aa.submit_count)||0):null))},Xn.push(So)}no([...Xn])}})}console.log("----",kt,Xn);const Bi=(Ca=kt==null?void 0:kt.workSetting)==null?void 0:Ca.hack_rank_rule;return z.createElement("div",{style:{width:1200,margin:"0px auto",minHeight:br?"100vh":""},id:"rankingInfo"},(hn==null?void 0:hn.message)==="\u5C01\u699C\u4E2D"?z.createElement(We.Z,{customText:"\u7B54\u9898\u65F6\u95F4\u8FDB\u5165\u5012\u8BA1\u65F6\uFF0C\u6682\u65F6\u5C01\u699C\uFF0C\u8BF7\u52A0\u901F\u7ADE\u6280\u901A\u5173\u7B54\u9898"}):z.createElement("div",{style:{background:"#fff",padding:20,height:"100%",overflow:"auto"}},z.createElement("div",{id:"filterWarp"},z.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},z.createElement("div",{style:{display:"flex",width:"90%"}},z.createElement("label",null,"\u5206\u73ED\u60C5\u51B5\uFF1A"),(0,De.GJ)()&&z.createElement("div",{style:{flex:1}},z.createElement(Ge.default.Group,{className:fn.Z.checkboxgroup,value:Fa,onChange:Tn=>{var nr;In.type===1?(Io([]),In.course_group=[],In.page=1,Ua(or({},In)),eo()):In.type===2?(Io(["\u5168\u90E8"]),In.course_group=(nr=hn==null?void 0:hn.course_group)==null?void 0:nr.map(ra=>ra.id),In.page=1,Ua(or({},In)),eo()):(Io([...Tn.filter(ra=>ra!="\u5168\u90E8")]),In.course_group=Tn.filter(ra=>ra!="\u5168\u90E8"),In.page=1,Ua(or({},In)),eo())}},z.createElement(Ge.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:Tn=>{Tn.target.checked?In.type=2:In.type=1}},"\u5168\u90E8\u5206\u73ED"),(Va=hn==null?void 0:hn.course_group)==null?void 0:Va.map((Tn,nr)=>z.createElement(Ge.default,{style:{marginBottom:10},onChange:ra=>{In.type=3},value:Tn.id},Tn==null?void 0:Tn.name)))),(0,De.dE)()&&z.createElement(dt.ZP.Group,{style:{marginBottom:10},onChange:Tn=>{Tn.target.value==="\u5168\u90E8"?(In.course_group=[],In.page=1,Ua(or({},In)),eo()):(In.course_group=[Tn.target.value],In.page=1,Ua(or({},In)),eo())},defaultValue:Wt.userInfo.course.course_group_id},z.createElement(dt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(wa=hn==null?void 0:hn.course_group)==null?void 0:wa.map((Tn,nr)=>z.createElement(dt.ZP,{style:{marginBottom:10},value:Tn.id},Tn.name)))),z.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{br?(0,Zo.BU)():(0,Zo.Dj)(document.getElementById("rankingInfo")),xr(!br)}},z.createElement("i",{style:{fontSize:12},className:`mr10 iconfont ${br?"icon-tuichuquanping2":"icon-quanping2"}`}),z.createElement("span",null,br?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F\u5C55\u793A"))),z.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"space-between",marginTop:10}},z.createElement("span",{style:{fontSize:14,color:"#B1BACD"}},"\u6392\u884C\u89C4\u5219\uFF1A",Bi===0?"\u4F5C\u4E1A\u65F6\u95F4\u6BB5\u4E4B\u5916\u7684\u63D0\u4EA4\u4E0D\u8BA1\u5165\u6392\u884C\u3002\u5F53\u524D\u6309\u5B9E\u9645\u5B9E\u9A8C\u65F6\u957F\u4F18\u5148\uFF0C\u540C\u901A\u8FC7\u9898\u6570\u4E0B\u65F6\u957F\u77ED\u540D\u6B21\u9760\u524D\u3002":"\u4F5C\u4E1A\u65F6\u95F4\u6BB5\u4E4B\u5916\u7684\u63D0\u4EA4\u4E0D\u8BA1\u5165\u6392\u884C\u3002\u5F53\u524D\u6309\u5B8C\u6210\u65F6\u95F4\u5148\u540E\u4F18\u5148\uFF0C\u540C\u901A\u8FC7\u9898\u6570\u4E0B\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u9760\u524D\u3002"," ",z.createElement("a",{onClick:()=>{be.default.warning({title:"\u8BA1\u5206\u89C4\u5219",width:500,content:z.createElement("div",null,Bi===0&&z.createElement("p",null,"\u6392\u540D\u89C4\u5219\uFF1A\u7ECF\u5178ACM\u89C4\u5219"),z.createElement("p",null,"AC\uFF08\u901A\u8FC7\u9898\u76EE\uFF09\u8D8A\u591A\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),z.createElement("p",null,"AC\u76F8\u540C\uFF0C\u603B\u7528\u65F6\u8D8A\u5C11\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),Bi==0&&z.createElement(z.Fragment,null,z.createElement("p",null,"\u603B\u7528\u65F6=\u2211\uFF08\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6\uFF09"),z.createElement("p",null,"\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6=\u6BD4\u8D5B\u5F00\u59CB\u5230\u63D0\u4EA4\u88AB\u901A\u8FC7\u7684\u65F6\u95F4+\u7F5A\u65F6"),z.createElement("p",null,"\u7F5A\u65F6=\uFF08\u901A\u8FC7\u524D\uFF09\u9519\u8BEF\u4EE3\u7801\u63D0\u4EA4\u6B21\u6570*\u6BCF\u6B21\u7F5A\u65F6"),z.createElement("p",null,"\u4E0D\u7B97\u7F5A\u65F6\u7684\u60C5\u51B5\uFF1A\u6CA1\u6709\u901A\u8FC7\u7684\u9898\u76EE\u3001\uFF08\u7CFB\u7EDF\uFF09\u5185\u90E8\u9519\u8BEF\u3001\u7F16\u8BD1\u9519\u8BEF")))})}},"\u70B9\u51FB\u67E5\u770B\u8BA1\u5206\u89C4\u5219")),(0,De.GJ)()&&z.createElement(z.Fragment,null,z.createElement(ve.default.Search,{className:"mr20",onSearch:Tn=>{In.page=1,In.search=Tn,Ua(or({},In)),eo()},placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:250,marginLeft:"auto"}}),z.createElement(Ne.ZP,{onClick:()=>{(0,Sa.VY)(Zr(or({},In),{id:In.coursesId,rank_type:2,homework_common_id:In.categoryId}))}},"\u5BFC\u51FA")))),z.createElement(fe.Z,{spinning:vi},z.createElement(Ze.default,{style:{marginTop:10},pagination:!1,scroll:{x:1200,y:br?oi:null},rowClassName:(Tn,nr)=>nr===0&&(0,De.dE)()&&fn.Z.tables,dataSource:Ia,columns:Xn})),z.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(Pe.Z,{current:In.page,pageSize:In.per_page,total:hn==null?void 0:hn.count,showSizeChanger:!0,onChange:(Tn,nr)=>{In.page=Tn,In.per_page=nr,Ua(or({},In)),eo()}}))))};var zo=(0,he.connect)(({shixunHomeworks:Wt,user:zt,classroomList:kt})=>({user:zt,shixunHomeworks:Wt,classroomList:kt}))(Lo),sr=te(24107),ao=te(59131),xo=te(70047),uo=te(84796),_o=te(71092),oa=te(59301),Ti=Object.defineProperty,wo=Object.getOwnPropertySymbols,ki=Object.prototype.hasOwnProperty,rl=Object.prototype.propertyIsEnumerable,Qi=(Wt,zt,kt)=>zt in Wt?Ti(Wt,zt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Wt[zt]=kt,Yi=(Wt,zt)=>{for(var kt in zt||(zt={}))ki.call(zt,kt)&&Qi(Wt,kt,zt[kt]);if(wo)for(var kt of wo(zt))rl.call(zt,kt)&&Qi(Wt,kt,zt[kt]);return Wt},Xi=(Wt,zt,kt)=>new Promise((Ca,Va)=>{var wa=hn=>{try{Ua(kt.next(hn))}catch(Za){Va(Za)}},In=hn=>{try{Ua(kt.throw(hn))}catch(Za){Va(Za)}},Ua=hn=>hn.done?Ca(hn.value):Promise.resolve(hn.value).then(wa,In);Ua((kt=kt.apply(Wt,zt)).next())});let Gi=[{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 Zi=({shixunHomeworks:Wt,classroomList:zt,globalSetting:kt,user:Ca,loading:Va,dispatch:wa})=>{var In,Ua,hn,Za;const Fa=(0,he.useParams)(),[Io]=(0,he.useSearchParams)(),[Ia,Yo]=(0,z.useState)(Io.get("tabs")||"0"),[vi,Wo]=(0,z.useState)({}),{workList:br,workSetting:xr}=Wt,[Xn,no]=(0,z.useState)(!1);Fa.category=Io.get("category_id"),Fa.order="work_score",Fa.b_order="desc",(0,z.useEffect)(()=>{(0,De.Rm)()&&wa({type:"classroomList/getAssistantPermissions",payload:{course_id:Fa.coursesId}})},[(In=Ca==null?void 0:Ca.userInfo)==null?void 0:In.login]);const oi=ra=>{var nn;if(ra==="3"&&wa({type:"shixunHomeworks/getWorkSetting",payload:Yi({},Fa)}),ra==="5"&&!((nn=zt.AssistantObject.hack)!=null&&nn.can_exam_leaderboard)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Yo(ra),ra==="0"&&wa({type:"shixunHomeworks/getWorkList",payload:Fa})},fa=()=>{be.default.confirm({centered:!0,width:530,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:oa.createElement("div",{className:"tc font16"},"\u4F60\u5728\u8BE5\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF0C\u65E0\u6CD5\u6062\u590D",oa.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u91CD\u505A\uFF1F"),onOk:()=>Xi(void 0,null,function*(){var ra;const nn=(ra=Wt.workList)==null?void 0:ra.myshixun_identifier;(yield(0,_n.Fr)({id:nn}))&&(Ie.ZP.info(`\u5DF2\u6E05\u7A7A\u672C\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55
|
|
|
|
\u8BF7\u70B9\u51FB\u201C\u5F00\u542F\u6311\u6218\u201D\u91CD\u505A\u8BFE\u7A0B\u5B9E\u9A8C`),wa({type:"shixunHomeworks/getWorkList",payload:vi}))})})},sa=ra=>{ra=ra!=null&&ra.includes(".json")?ra:`${ra}.json`,be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:oa.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Xi(void 0,null,function*(){const nn=yield(0,Yn.$Q)({url:ra});if(!nn)return;Ie.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Vn=yield(0,Yn.Ir)({id:nn.shixun_identifier});if(Vn!=null&&Vn.game_identifier){(0,Me.xg)(`/tasks/${Vn.game_identifier}?coursesId=${Fa.coursesId}`);return}(Vn==null?void 0:Vn.status)===2?sa(Vn==null?void 0:Vn.message):(Vn==null?void 0:Vn.status)===3&&eo(Vn==null?void 0:Vn.message)})})},eo=ra=>{be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:oa.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",ra,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Bi=ra=>Xi(void 0,null,function*(){ra=ra!=null&&ra.includes(".json")?ra:`${ra}.json`;const nn=yield(0,Yn.$Q)({url:ra});if(console.log(nn,"execRes"),nn!=null&&nn.game_identifier){(0,Me.xg)(`/tasks/${nn.game_identifier}?coursesId=${Fa.coursesId}`);return}(nn==null?void 0:nn.status)===-3?(0,Me.eF)():(nn==null?void 0:nn.status)===2?sa(nn==null?void 0:nn.message):(nn==null?void 0:nn.status)===3&&eo(nn==null?void 0:nn.message)}),Tn=[(0,De.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:oa.createElement(Le,null)},{name:(0,De.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",compontent:oa.createElement(Ke.Z,{setExportParams:Wo}),forceRender:!0},!(0,De.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:oa.createElement(Le,null),hidden:!1},{name:"\u6392\u540D",id:"5",compontent:oa.createElement(zo,null),hidden:!1},{name:"\u4EE3\u7801\u67E5\u91CD",id:"2",compontent:oa.createElement(ct,null),hidden:(Ua=kt==null?void 0:kt.setting)==null?void 0:Ua.hide_code_repeat},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",compontent:oa.createElement(uo.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(hn=br.homework_status)!=null&&hn.includes("\u5BFC\u5165")?oa.createElement(xo.Z,null):oa.createElement(Fi,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:oa.createElement(_o.default,null)}].filter(ra=>!!ra).filter(ra=>{var nn,Vn;return(0,De.dE)()?ra.name!=="\u4EE3\u7801\u67E5\u91CD"&&ra.name!=="\u8BBE\u7F6E":(0,De.dE)()||((nn=br==null?void 0:br.homework_status)==null?void 0:nn[0])!=="\u5DF2\u622A\u6B62"?ra.name!=="\u8D28\u91CF\u68C0\u6D4B":!br.code_review&&((Vn=br==null?void 0:br.homework_status)==null?void 0:Vn[0])!=="\u672A\u53D1\u5E03"?!0:ra.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(ra=>br.open_code_quality_analysis?!0:ra.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(ra=>{var nn;return(nn=br.homework_status)!=null&&nn.includes("\u5BFC\u5165")?(0,De.dE)()?["0","1"].includes(ra.id):["0","1","3"].includes(ra.id):!0}).filter(ra=>!(ra!=null&&ra.hidden)),nr=()=>{var ra,nn,Vn,Cn,$r,vr,zr,qo,Sr,So,Ha;return oa.createElement("aside",{className:fn.Z.workListTabButton},(0,De.dE)()&&!((ra=br.homework_status)!=null&&ra.includes("\u5BFC\u5165"))&&oa.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},oa.createElement(Ne.ZP,{onClick:()=>Xi(void 0,null,function*(){var Yr;let mo=yield(0,se.ZP)(`/api/problems/${(Yr=Wt.workList)==null?void 0:Yr.start_identifier}/start.json`,{method:"get"});mo&&(window.open(`/myproblems/${mo==null?void 0:mo.identifier}?type=1&backUrl=/classrooms/${Fa.coursesId}/program_homework/${Fa.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Fa==null?void 0:Fa.coursesId,Fa==null?void 0:Fa.categoryId]))}),type:"primary"},(nn=br.homework_status)!=null&&nn.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,De.dE)()&&((Vn=Wt.workList)==null?void 0:Vn.redo_work)&&oa.createElement(Ne.ZP,{onClick:fa,type:"primary",icon:oa.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((Cn=Wt.workList)==null?void 0:Cn.shixun_status)>1&&(($r=Wt.workList)==null?void 0:$r.time_status)<5&&(0,De.dE)()&&oa.createElement(Ne.ZP,{type:"primary",icon:oa.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var Yr,mo,Fo,vn,aa,Aa,zn;(0,an.tJ)(wa,!0)&&((Fo=(mo=(Yr=Wt.workList)==null?void 0:Yr.task_operation)==null?void 0:mo[1])!=null&&Fo.includes("/")?Bi((aa=(vn=Wt.workList)==null?void 0:vn.task_operation)==null?void 0:aa[1]):(0,Me.xg)(`/tasks/${(zn=(Aa=Wt.workList)==null?void 0:Aa.task_operation)==null?void 0:zn[1]}`))}},(zr=(vr=Wt.workList)==null?void 0:vr.task_operation)==null?void 0:zr[0]),((qo=Wt.workList)==null?void 0:qo.commit_des)&&((Sr=Wt.workList)==null?void 0:Sr.commit_des)&&oa.createElement(Ne.ZP,{type:"primary",icon:oa.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var Yr;(0,Me.xg)(`/classrooms/${Fa.coursesId}/shixun_homework/${Fa.categoryId}/${(Yr=Wt.workList)==null?void 0:Yr.id}/commitsummary`)}},(So=Wt.workList)==null?void 0:So.commit_des),(xr==null?void 0:xr.hack_edit_permission)&&((Ha=br==null?void 0:br.homework_status)==null?void 0:Ha[0])==="\u672A\u53D1\u5E03"&&oa.createElement(Ne.ZP,{type:"primary",icon:oa.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var Yr;if(!((Yr=zt.AssistantObject.hack)!=null&&Yr.can_create)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}he.history.push(`/classrooms/${Fa.coursesId}/program_homework/${Fa.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"),(0,De.GJ)()&&br.publish_immediately&&oa.createElement(Ne.ZP,{type:"primary",icon:oa.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:()=>{var Yr,mo;if(!((Yr=zt.AssistantObject.hack)!=null&&Yr.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(((mo=Ca==null?void 0:Ca.userInfo)==null?void 0:mo.user_status)===2){(0,an.Rd)();return}wa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Fa.categoryId],selectArrsAll:[br],params:Fa,detail:!0,type:2,manage_all_group:xr==null?void 0:xr.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),(0,De.GJ)()&&br.end_immediately&&oa.createElement(Ne.ZP,{style:{background:"#0152d9",color:"#fff"},type:"primary",icon:oa.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:()=>{var Yr;if(!((Yr=zt.AssistantObject.hack)!=null&&Yr.can_stop)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}wa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",params:Fa,type:2,detail:!0,selectArrs:[Fa.categoryId]}})}},"\u7ACB\u5373\u622A\u6B62"))};return oa.createElement("section",null,oa.createElement("div",{className:"edu-container"},br.homework_name&&oa.createElement("section",{className:"animated fadeIn"},oa.createElement("aside",{className:"mt10"},br.category&&oa.createElement(ie.Z,{separator:">"},oa.createElement(ie.Z.Item,null,oa.createElement(he.Link,{to:`/classrooms/${Fa==null?void 0:Fa.coursesId}/program_homework`},br.course_name)),oa.createElement(ie.Z.Item,null,oa.createElement(he.Link,{to:`/classrooms/${Fa==null?void 0:Fa.coursesId}/program_homework/${br.category.main?"":br.category.category_id}`},br.category.category_name)),oa.createElement(ie.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),oa.createElement("aside",{className:[fn.Z.title,"mt20"].join(" ")},oa.createElement(he.Link,{to:`/classrooms/${br.course_id}/program_homework/${br.category.main?"":br.category.category_id}`},oa.createElement(ze.Z,{className:"font16 c-black"})),oa.createElement(nt.Z,{title:br.homework_name,placement:"bottom"},oa.createElement("strong",{className:"font20 ml5"},br.homework_name)),oa.createElement(Me.VV,{temporary:!0,status:br.homework_status}))),oa.createElement("aside",{className:`mt30 relative ${fn.Z.workListTabWrap}`},oa.createElement(je.default,{type:"card",defaultActiveKey:Ia,activeKey:Ia,tabBarExtraContent:(Za=br.homework_status)!=null&&Za.includes("\u5BFC\u5165")&&(0,De.GJ)()?oa.createElement(Ne.ZP,{icon:oa.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{wa({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:br==null?void 0:br.homework_name,id:br==null?void 0:br.homework_id,type:"hack"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):nr(),onChange:oi},Tn.map((ra,nn)=>oa.createElement(je.default.TabPane,{tab:ra.name,key:ra.id,forceRender:ra.forceRender},ra.compontent))))),oa.createElement(Jt,null),oa.createElement(Ut.Z,{courseEndTime:br==null?void 0:br.course_end_date,successCallback:()=>{wa({type:"shixunHomeworks/getWorkList",payload:Yi({},Fa)})},visible:zt.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[Fa.categoryId],courseId:Fa.coursesId,isBatch:!1}),oa.createElement(Ln.Z,{courseEndTime:br==null?void 0:br.course_end_date}),oa.createElement(sr.Z,{onOk:()=>{wa({type:"shixunHomeworks/getWorkList",payload:Yi({},Fa)})}}),oa.createElement(ao.Z,{onOk:()=>{wa({type:"shixunHomeworks/getWorkList",payload:Yi({},Fa)})}}),oa.createElement(be.default,{open:Xn,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{no(!1)}},oa.createElement("p",null,"\u4E00\u3001\u7B49\u7EA7\u89C4\u5219"),oa.createElement("p",{style:{marginLeft:"10px"}},"1. \u7F3A\u9677\u7B49\u7EA7"),oa.createElement("p",{style:{marginLeft:"10px"}},oa.createElement(Ze.default,{dataSource:Gi,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})),oa.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"),oa.createElement("p",{style:{marginLeft:"20px"}},"Technical Debt Ratio = \u6280\u672F\u503A\u52A1\u65F6\u95F4 / \u5F00\u53D1\u65F6\u95F4"),oa.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"),oa.createElement("p",null,"\u4E8C\u3001\u590D\u6742\u5EA6\u89C4\u5219"),oa.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"),oa.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"),oa.createElement("p",null,"\u4E09\u3001\u4EE3\u7801\u8D28\u91CF\u5206\u89C4\u5219"),oa.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"),oa.createElement("p",{style:{marginLeft:"10px"}},"\u5176\u4E2D\uFF1A"),oa.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"),oa.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u5206\u6570\u4E3A\u7A7A\u7684\u4EE3\u8868\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u683C\u5F0F\u3002")))};var ol=(0,he.connect)(({shixunHomeworks:Wt,classroomList:zt,loading:kt,user:Ca,globalSetting:Va})=>({classroomList:zt,shixunHomeworks:Wt,globalSetting:Va,user:Ca,loading:kt.effects}))(Zi)},34703:function(Et,St,te){"use strict";var z=te(59301),se=te(78241),he=te(8591),Ie=te(43418),be=te(95237),Ne=te(5112),ie=te(5871),nt=te(43604),je=te(5083),Ze=te(24905),ze=te(66649),Me=te.n(ze),ye=te(98280),re=te(53229),a=te(19374),y=te(75790),b=te(46180),E=te(98458),x=te(95211),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Pe=(Be,$e,Ke)=>$e in Be?ne(Be,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Be[$e]=Ke,xe=(Be,$e)=>{for(var Ke in $e||($e={}))me.call($e,Ke)&&Pe(Be,Ke,$e[Ke]);if(ue)for(var Ke of ue($e))fe.call($e,Ke)&&Pe(Be,Ke,$e[Ke]);return Be},Ee=(Be,$e)=>oe(Be,ae($e)),De=(Be,$e)=>{var Ke={};for(var Ve in Be)me.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&ue)for(var Ve of ue(Be))$e.indexOf(Ve)<0&&fe.call(Be,Ve)&&(Ke[Ve]=Be[Ve]);return Ke},_e=(Be,$e,Ke)=>new Promise((Ve,it)=>{var rt=Yt=>{try{Rt(Ke.next(Yt))}catch(Je){it(Je)}},vt=Yt=>{try{Rt(Ke.throw(Yt))}catch(Je){it(Je)}},Rt=Yt=>Yt.done?Ve(Yt.value):Promise.resolve(Yt.value).then(rt,vt);Rt((Ke=Ke.apply(Be,$e)).next())});const pt=Be=>{var $e=Be,{classroomList:Ke,dispatch:Ve,courseEndTime:it,onWindowBack:rt}=$e,vt=De($e,["classroomList","dispatch","courseEndTime","onWindowBack"]),Rt,Yt,Je,st,At,Nt,Pt,sn,Fe,Qt,Gt,Hn,ea,Re,qe,tt,Le,ft,gt,Oe,ve,Ge,We,we,mt,et,Ht,Se,ut,xt,Ae,He,ct,wt,Zt,gn,dt,Dt,yt;const en=(0,y.useParams)(),[Vt]=se.default.useForm(),[un,Un]=(0,z.useState)(1),[mn,an]=(0,z.useState)([]),[$n,_t]=(0,z.useState)(0),[Tt,Xt]=(0,z.useState)(2e3),[ya,ta]=(0,z.useState)(!0),[Mn,Ga]=(0,z.useState)(!1),[Ba,Nr]=(0,z.useState)(!1),[Dr,Xa]=(0,z.useState)([]),[at,Mt]=(0,z.useState)(!0),[Ft,kn]=(0,z.useState)(!((Je=(Yt=(Rt=Ke.actionTabs)==null?void 0:Rt.selectArrsAll)==null?void 0:Yt[0])!=null&&Je.send_type));let[dn,An]=(0,z.useState)([0,0,0]);(0,z.useEffect)(()=>{var ar,mr,tr,ht,qt,tn,Pn,Rn,cn,On,yn,rr,Ma;if(Ke.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(ro(),(tr=(mr=(ar=Ke.actionTabs)==null?void 0:ar.selectArrsAll)==null?void 0:mr[0])!=null&&tr.can_publish?An([...(cn=(Rn=(Pn=Ke.actionTabs)==null?void 0:Pn.selectArrsAll)==null?void 0:Rn[0])==null?void 0:cn.difficult_count]):An([...(tn=(qt=(ht=Ke.actionTabs)==null?void 0:ht.selectArrsAll)==null?void 0:qt[0])==null?void 0:tn.difficult_settings]),kn(!((rr=(yn=(On=Ke.actionTabs)==null?void 0:On.selectArrsAll)==null?void 0:yn[0])!=null&&rr.send_type)),Xr(),Ke.actionTabs.type===2){const ur=(Ma=Ke.actionTabs.selectArrsAll)==null?void 0:Ma[0];Mt(ur.unified_setting)}else Mt(!1)},[Ke.actionTabs]),(0,z.useEffect)(()=>{if(Mn){if(Ba)return;Ve({type:"classroomList/setActionTabs",payload:{}}),(0,re.GJ)()?(Ve({type:"classroomList/getClassroomTeacherCommonList",payload:Ee(xe({},Ke.actionTabs.params),{type:1})}),Ve({type:"shixunHomeworks/getWorkList",payload:xe({},en)})):Ve({type:"classroomList/getClassroomCommonList",payload:xe({},Ke.actionTabs.params)})}},[Mn]);const Xr=ar=>_e(void 0,null,function*(){ta(!0);const mr=yield(0,E.c_)(Ee(xe({},en),{page:ar||un,limit:2e4,homework_id:Ke.actionTabs.type===1?"":Ke.actionTabs.selectArrs[0]}));mr==null||mr.course_groups.map((tr,ht)=>{tr.key=tr.id,tr.title=tr.name,tr.disabled=tr.is_published}),mr&&(an([...mr==null?void 0:mr.course_groups]),_t(mr==null?void 0:mr.course_groups_count),ta(!1),ar||Vt.setFieldsValue({publish_time:Me()(Me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Me()(Me()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Fr=()=>{(0,re.GJ)()?Ke.actionTabs.detail?(Ve({type:"shixunHomeworks/setActionTabs",payload:{}}),Ve({type:"shixunHomeworks/getWorkList",payload:xe({},en)}),Ve({type:"shixunHomeworks/getWorkSetting",payload:xe({},en)})):Ve({type:"classroomList/getClassroomTeacherCommonList",payload:Ee(xe({},Ke.actionTabs.params),{type:5,category:Ke.actionTabs.params.categoryId})}):Ve({type:"classroomList/getClassroomCommonList",payload:xe({},Ke.actionTabs.params)})},Kr=()=>_e(void 0,null,function*(){var ar,mr;if((0,re.Rm)()&&!((ar=Ke.AssistantObject.hack)!=null&&ar.can_publish)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),gr(!1);return}const tr=xe({},Vt.getFieldsValue());if(tr.end_time<=tr.publish_time){he.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),gr(!1);return}if((Dr==null?void 0:Dr.length)<=0&&!at&&mn.length>0){he.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),gr(!1);return}if(dn.reduce((tn,Pn)=>tn+Pn)===0&&!Ft){he.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),gr(!1);return}let ht={homework_ids:[...Ke.actionTabs.selectArrs],group_ids:Dr.length>0?Dr.map(tn=>tn.id):(mr=Ke.detailCommonHomeworksList)==null?void 0:mr.course_groups,end_time:Me()(tr.end_time).format("YYYY-MM-DD HH:mm"),publish_time:Me()(tr.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:dn==null?void 0:dn.map(tn=>tn),send_type:Ft?"0":"1",unified_setting:!Dr.length};if(gr(!0),(yield(0,ye.ZP)(`/api/courses/${en.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:xe({},ht)})).status===0){if(gr(!1),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),he.ZP.success("\u53D1\u5E03\u6210\u529F"),Ve({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),rt){rt();return}vt.onCallback&&vt.onCallback(),Fr(),localStorage.getItem("Noviceguide")==="0"||Ve({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:ee.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}})}else gr(!1)}),ro=()=>{Un(1),an([]),Xa([])},Ja=$n>un*Tt,[Nn,gr]=(0,z.useState)(!1);return ee.createElement(Ie.default,{width:600,confirmLoading:Nn,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Ke.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:Kr,onCancel:()=>{if(ro(),Ve({type:"classroomList/setActionTabs",payload:{}}),rt){rt();return}Fr()}},ee.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",ee.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),mn&&ee.createElement(se.default,{form:Vt},ee.createElement("div",{style:{paddingLeft:0}},Ke.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),ee.createElement(Ne.ZP.Group,{value:Ft,disabled:!((Nt=(At=(st=Ke.actionTabs)==null?void 0:st.selectArrsAll)==null?void 0:At[0])!=null&&Nt.can_publish),onChange:ar=>{kn(ar.target.value)}},ee.createElement(Ne.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),ee.createElement(Ne.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Ft&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{style:{marginRight:65}}),ee.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",ee.createElement(ie.Z,{value:dn[0],onChange:ar=>{dn[0]=ar,An([...dn])},min:0,disabled:!((Fe=(sn=(Pt=Ke.actionTabs)==null?void 0:Pt.selectArrsAll)==null?void 0:sn[0])!=null&&Fe.can_publish),placeholder:`\u6700\u5927${(ea=(Hn=(Gt=(Qt=Ke.actionTabs)==null?void 0:Qt.selectArrsAll)==null?void 0:Gt[0])==null?void 0:Hn.difficult_count)==null?void 0:ea[0]}`,max:(Le=(tt=(qe=(Re=Ke.actionTabs)==null?void 0:Re.selectArrsAll)==null?void 0:qe[0])==null?void 0:tt.difficult_count)==null?void 0:Le[0],style:{width:60}})),ee.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",ee.createElement(ie.Z,{value:dn[1],onChange:ar=>{dn[1]=ar,An([...dn])},min:0,disabled:!((Oe=(gt=(ft=Ke.actionTabs)==null?void 0:ft.selectArrsAll)==null?void 0:gt[0])!=null&&Oe.can_publish),max:(we=(We=(Ge=(ve=Ke.actionTabs)==null?void 0:ve.selectArrsAll)==null?void 0:Ge[0])==null?void 0:We.difficult_count)==null?void 0:we[1],placeholder:`\u6700\u5927${(Se=(Ht=(et=(mt=Ke.actionTabs)==null?void 0:mt.selectArrsAll)==null?void 0:et[0])==null?void 0:Ht.difficult_count)==null?void 0:Se[1]}`,style:{width:60}})),ee.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",ee.createElement(ie.Z,{value:dn[2],onChange:ar=>{dn[2]=ar,An([...dn])},min:0,disabled:!((Ae=(xt=(ut=Ke.actionTabs)==null?void 0:ut.selectArrsAll)==null?void 0:xt[0])!=null&&Ae.can_publish),placeholder:`\u6700\u5927${(Zt=(wt=(ct=(He=Ke.actionTabs)==null?void 0:He.selectArrsAll)==null?void 0:ct[0])==null?void 0:wt.difficult_count)==null?void 0:Zt[2]}`,max:(yt=(Dt=(dt=(gn=Ke.actionTabs)==null?void 0:gn.selectArrsAll)==null?void 0:dt[0])==null?void 0:Dt.difficult_count)==null?void 0:yt[2],style:{width:60}}))),ee.createElement(be.Z,{className:"mt30",align:"middle"},ee.createElement(nt.Z,null,ee.createElement(se.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},ee.createElement(je.default,{style:{width:170,marginRight:"25px"},disabledDate:ar=>(0,x.Q8)(ar,it),disabledTime:ar=>(0,x.d0)(ar),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Me()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),ee.createElement(nt.Z,{className:"ml20"},ee.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},ee.createElement(je.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Me()((0,a.U6)(),"HH:mm")},disabledDate:ar=>(0,x.Q8)(ar,it,Vt.getFieldValue("publish_time")),disabledTime:ar=>(0,x.d0)(ar,Vt.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Ke.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),ee.createElement(Ne.ZP.Group,{value:at,onChange:ar=>{Mt(ar.target.value),Xa([])}},ee.createElement(Ne.ZP,{value:!0,disabled:!Ke.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),ee.createElement(Ne.ZP,{className:"ml20",disabled:mn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),mn.length<=0&&Ke.actionTabs.type===2&&ee.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(Ke.actionTabs.type===1||!at)&&mn.length>0&&ee.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ee.createElement("span",{style:{flex:1}},ee.createElement(Ze.default,{checked:Dr.length===mn.length,onChange:ar=>{Dr.length===mn.length?Xa([]):Xa(mn.filter(mr=>!mr.is_published))}},"\u5168\u9009")," "),ee.createElement("span",{style:{width:16}}),ee.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Dr.length||0,"\u4E2A\u5206\u73ED")),(Ke.actionTabs.type===1||!at)&&mn.length>0&&ee.createElement(b.Z,{data:mn,selectedRowKeys:Dr,setSelectedRowKeys:Xa})))};St.Z=(0,y.connect)(({classroomList:Be})=>({classroomList:Be}))(pt)},95211:function(Et,St,te){"use strict";te.d(St,{Q8:function(){return rt},d0:function(){return vt},w6:function(){return it}});var z=te(59301),se=te(5083),he=te(57809),Ie=te(8591),be=te(43418),Ne=te(5112),ie=te(95237),nt=te(43604),je=te(6848),Ze=te(24905),ze=te(3113),Me=te(66649),ye=te.n(Me),re=te(53229),a=te(98280),y=te(89392),b=te.n(y),E=te(19374),x=te(7937),ee=te(75790),ne=te(36222),oe=te(1997),ae=te(82125),ue=te(89975),me=te(72946),fe=te(59301),Pe=Object.defineProperty,xe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Be=(st,At,Nt)=>At in st?Pe(st,At,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):st[At]=Nt,$e=(st,At)=>{for(var Nt in At||(At={}))_e.call(At,Nt)&&Be(st,Nt,At[Nt]);if(De)for(var Nt of De(At))pt.call(At,Nt)&&Be(st,Nt,At[Nt]);return st},Ke=(st,At)=>xe(st,Ee(At)),Ve=(st,At,Nt)=>new Promise((Pt,sn)=>{var Fe=Hn=>{try{Gt(Nt.next(Hn))}catch(ea){sn(ea)}},Qt=Hn=>{try{Gt(Nt.throw(Hn))}catch(ea){sn(ea)}},Gt=Hn=>Hn.done?Pt(Hn.value):Promise.resolve(Hn.value).then(Fe,Qt);Gt((Nt=Nt.apply(st,At)).next())});function it(st,At){const Nt=[];for(let Pt=st;Pt<At;Pt++)Nt.push(Pt);return Nt}const rt=(st,At,Nt)=>{const Pt=st<ye()().startOf("day"),sn=st>ye()(At).endOf("day"),Fe=st<ye()(Nt).startOf("day");return At?Nt?ye()()<=ye()(Nt)?Fe||sn:Pt||sn:st&&Pt||sn:Nt&&ye()()<=ye()(Nt)?Fe:Pt},vt=(st,At)=>{const Nt=parseInt(ye()(st).format("HH")),Pt=parseInt(ye()().format("HH")),sn=parseInt(ye()().format("mm"));if(!st)return{disabledHours:()=>it(0,Pt),disabledMinutes:()=>it(0,sn)};if(At){const Fe=parseInt(ye()(At).format("HH")),Qt=parseInt(ye()(At).format("mm"));return ye()(st).isSame(ye()(At),"day")?{disabledHours:()=>it(0,Fe),disabledMinutes:()=>Nt<=Fe?it(0,Qt):[]}:void 0}if(ye()(st).isSame(ye()(),"day"))return{disabledHours:()=>it(0,Pt),disabledMinutes:()=>ye()(st).isSame(ye()(),"hour")&&Nt<=Pt?it(0,sn):[]}},{RangePicker:Rt}=se.default,{Option:Yt}=he.default,Je=({shixunHomeworks:st,loading:At,dispatch:Nt,classroomList:Pt,user:sn})=>{var Fe,Qt,Gt,Hn,ea,Re,qe,tt,Le;const ft=(0,ee.useParams)(),{workSetting:gt,workList:Oe,shixunWorkList:ve,headerInfo:Ge,changeData:We}=st,[we,mt]=(0,z.useState)(!1),[et,Ht]=(0,z.useState)(!1);let[Se,ut]=(0,z.useState)([]),[xt,Ae]=(0,z.useState)([]),[He,ct]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ne.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[wt,Zt]=(0,z.useState)({}),[gn,dt]=(0,z.useState)({});(0,z.useEffect)(()=>()=>{ut([])},[]),(0,z.useEffect)(()=>{mt(!(0,re.GJ)())},[(0,re.GJ)()]);const Dt=()=>{Nt({type:"shixunHomeworks/getWorkSetting",payload:$e({},ft)})};(0,z.useEffect)(()=>{if(!(gt!=null&>.course_id))return;Object.keys(He).map(function(Xt){He[Xt]=gt[Xt]}),(!He.allow_late||!He.unified_late)&&(He.late_penalty=20,He.penalty_type=ne.Q.Percent),He.unified_setting||(He.unified_late=!1,He.unified_anonymous_comment=!1,He.unified_anonymous_appeal=!1),Se=JSON.parse(JSON.stringify(gt.group_settings.map(Xt=>Ke($e({},Xt),{group_name:[Xt.group_name]})).filter(Xt=>Xt.publish_time!==null))),xt=JSON.parse(JSON.stringify(gt.allow_late_settings.map(Xt=>Ke($e({},Xt),{group_name:[Xt.group_name]})).filter(Xt=>Xt.late_time!==null))),ct($e({},He));const Tt=(0,E.QE)((Se==null?void 0:Se.length)>0?Se:[]);ut([...Tt]),(xt==null?void 0:xt.length)<=0?Ae([{penalty_type:ne.Q.Percent,late_penalty:20}]):Ae([...xt])},[gt]);const yt=()=>Ve(void 0,null,function*(){var Tt,Xt;if(((Tt=sn==null?void 0:sn.userInfo)==null?void 0:Tt.user_status)===2){(0,oe.Rd)();return}const ya=JSON.parse(JSON.stringify(He));if(ya.challenge_settings.filter(Mn=>!Mn.hide),ya.categoryId=ft.categoryId,(Xt=ya.challenge_settings)!=null&&Xt.every(Mn=>!Mn.checked)){Ie.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Se),!He.unified_setting)Se=Se==null?void 0:Se.map(Mn=>{var Ga;if(!Mn.publish_time||!Mn.end_time)throw Ie.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Mn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Mn.group_name=typeof(Mn==null?void 0:Mn.group_name)=="string"?[Mn==null?void 0:Mn.group_name]:Mn==null?void 0:Mn.group_name,Mn.group_id=(Ga=gt.group_settings)==null?void 0:Ga.filter(Ba=>{var Nr;return(Nr=Mn==null?void 0:Mn.group_name)==null?void 0:Nr.includes(Ba.group_name)}).map(Ba=>Ba.group_id||Ba.id).toString().split(","),Mn});else if(!He.publish_time||!He.end_time)throw Ie.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(ya.group_settings=Se,He.allow_late)if(He.unified_late){if(He.late_penalty===null||He.late_penalty===void 0||He.late_penalty<0||He.late_penalty>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!He.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else xt=xt==null?void 0:xt.map(Mn=>{var Ga,Ba;if(Mn.late_penalty===null||Mn.late_penalty===void 0||Mn.late_penalty<0||Mn.late_penalty>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Mn.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Mn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Mn.group_name=typeof(Mn==null?void 0:Mn.group_name)=="string"?[Mn==null?void 0:Mn.group_name]:Mn==null?void 0:Mn.group_name,Mn.group_id=(Ba=(Ga=Mn==null?void 0:Mn.group_name)==null?void 0:Ga.map(Nr=>{var Dr,Xa;let at=(Xa=(Dr=gt.group_settings)==null?void 0:Dr.filter(Mt=>(Mt==null?void 0:Mt.group_name)===Nr))==null?void 0:Xa[0];return at==null?void 0:at.group_id}))==null?void 0:Ba.toString().split(","),Mn}),ya.allow_late_settings=xt;let ta=yield(0,me.Tr)({homework_common_ids:[parseInt(ft.categoryId)],course_id:ft.coursesId,type:"homework_common"});(ta==null?void 0:ta.student_count)===0?en(ya):(dt(ya),Zt(ta))}),en=Tt=>{var Xt;if(Tt.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Tt!=null&&Tt.work_efficiency&&Tt.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const ya=Tt.challenge_settings.reduce((Ga,Ba)=>Ga+Number(Ba.challenge_score),0);if((ya==null?void 0:ya.toFixed(10))!==((Xt=Tt.total_score-Tt.eff_score)==null?void 0:Xt.toFixed(10))){Ie.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Tt.total_score}\u5206`);return}const ta={shixun_evaluation:Tt.shixun_evaluation,challenge_settings:Tt.challenge_settings};let Mn=()=>{var Ga;const Ba=()=>Ve(void 0,null,function*(){Ht(!0),(yield(0,a.ZP)(`/api/homework_commons/${ft.categoryId}/publish_setting.json`,{method:"post",body:$e({},Tt)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),Dt(),Nt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:$e({},ft)})),Ht(!1)});!(0,y.isEqual)(We,ta)&&!((Ga=Ge==null?void 0:Ge.homework_status)!=null&&Ga.includes("\u672A\u53D1\u5E03"))?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Ba}):Ba()};gt!=null&>.high_resources_consume&&!(gt!=null&>.high_resources_consume_permission)?Nt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:ft.coursesId,type:"shixun",type_id:ft.categoryId,name:gt.homework_name,fn:()=>{Mn()}}}):Mn()},Vt=(Tt,Xt,ya="group_id")=>{var ta;return Xt?Xt.find(Mn=>Mn[ya]===Tt):(ta=gt==null?void 0:gt.group_settings)==null?void 0:ta.find(Mn=>Mn.group_id[0]===Tt)},un=(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.anonymous_comment),Un=Tt=>{var Xt,ya;const ta=Vt(Tt,gt==null?void 0:gt.allow_late_settings,"id"),Mn=Vt(Tt,gt==null?void 0:gt.anonymous_comment_settings),Ga=Vt(Tt);return(gt==null?void 0:gt.allow_late)&&ta&&ye()(ta==null?void 0:ta.late_time)<=ye()()||(gt==null?void 0:gt.anonymous_comment)&&Mn&&(Mn==null?void 0:Mn.evaluation_start)!==null||((ya=(ye()(Ga==null?void 0:Ga.end_time)<=ye()()&&((Xt=gt==null?void 0:gt.allow_late_settings)==null?void 0:Xt.filter(Ba=>Ba.group_id.includes(Tt))))[0])==null?void 0:ya.late_time)!=null},mn=(0,z.useMemo)(()=>(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.all_group_late),[gt,Ge]),an=gt==null?void 0:gt.anonymous_comment,$n=Tt=>{if(!Tt)return!1;const Xt=Vt(Tt,gt==null?void 0:gt.anonymous_comment_settings);return(gt==null?void 0:gt.anonymous_comment)&&Xt&&(Xt==null?void 0:Xt.evaluation_start)!==null},_t=(Tt,Xt)=>{var ya,ta,Mn;Nt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Tt,index:Xt,rangePickerDisabled:we||(ye()()<=ye()((ta=Vt((ya=Tt==null?void 0:Tt.group_id)==null?void 0:ya[0]))==null?void 0:ta.publish_time)?!1:[!0,Un((Mn=Tt==null?void 0:Tt.group_id)==null?void 0:Mn[0])]),disabledDate:gt==null?void 0:gt.course_end_date}})};return fe.createElement("section",{className:x.Z.form},fe.createElement("div",{className:x.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",fe.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),fe.createElement("div",null,fe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},fe.createElement(Ne.ZP.Group,{disabled:we||!((Fe=Ge==null?void 0:Ge.homework_status)!=null&&Fe.includes("\u672A\u53D1\u5E03"))||(0,re.Rm)()&&!((Qt=Pt.AssistantObject.practice)!=null&&Qt.can_publish),value:He.unified_setting,onChange:Tt=>{var Xt;if(!((Xt=Ge==null?void 0:Ge.homework_status)!=null&&Xt.includes("\u672A\u53D1\u5E03"))){Ie.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(He.unified_setting=!He.unified_setting,He.unified_setting||(He.unified_late=!1,Ae([{late_penalty:5}])),ct(Object.assign({},He)),He.unified_setting===!1&&Se==""){ut(Se.concat({}));return}He.unified_setting&&(ut([]),Ae([{late_penalty:5}]))}},fe.createElement(Ne.ZP,{value:!0,disabled:we||!(gt!=null&>.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),fe.createElement(Ne.ZP,{disabled:we||!((Gt=gt==null?void 0:gt.group_settings)!=null&&Gt.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Hn=gt==null?void 0:gt.group_settings)==null?void 0:Hn.length)===0&&fe.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),He.unified_setting&&fe.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},fe.createElement(ie.Z,{align:"middle"},fe.createElement(nt.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),fe.createElement(nt.Z,{className:"ml10"},fe.createElement(se.default,{size:"large",disabled:we||!((ea=Ge==null?void 0:Ge.homework_status)!=null&&ea.includes("\u672A\u53D1\u5E03")||(Re=Ge==null?void 0:Ge.homework_status)!=null&&Re.includes("\u672A\u5F00\u59CB"))||(0,re.Rm)()&&!((qe=Pt.AssistantObject.practice)!=null&&qe.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Tt=>rt(Tt,gt==null?void 0:gt.course_end_date),disabledTime:Tt=>vt(Tt),value:He.publish_time?ye()(He.publish_time):"",onChange:(Tt,Xt)=>{He.publish_time=Xt,(He.end_time==""||!He.end_time)&&He.unified_setting&&(He.end_time=ye()(Tt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),ct(Object.assign({},He))}}))),fe.createElement(ie.Z,{align:"middle",className:"pl30"},fe.createElement(nt.Z,null,"\u622A\u6B62\u65F6\u95F4"),fe.createElement(nt.Z,{className:"ml10"},fe.createElement(se.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(gt==null?void 0:gt.allow_late)&&(gt==null?void 0:gt.homework_status.includes("\u5DF2\u622A\u6B62"))||we||(gt==null?void 0:gt.allow_late)&&ye()()>=ye()(gt==null?void 0:gt.end_time)||(0,re.Rm)()&&!((tt=Pt.AssistantObject.practice)!=null&&tt.can_publish),disabledDate:Tt=>rt(Tt,gt==null?void 0:gt.course_end_date,He.publish_time),disabledTime:Tt=>vt(Tt,He.publish_time),value:He.end_time?ye()(He.end_time):"",onChange:(Tt,Xt)=>{He.end_time=Xt,ct(Object.assign({},He))}})))),!He.unified_setting&&(Se==null?void 0:Se.length)>0&&fe.createElement(ie.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Se&&Se.map(function(Tt,Xt){var ya,ta,Mn,Ga,Ba,Nr,Dr;return fe.createElement(nt.Z,{span:24,key:Xt},fe.createElement(ie.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Xt==(Se==null?void 0:Se.length)-1?"0px":"10px"}},fe.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Xt+1),fe.createElement(he.default,{disabled:we||((ya=Ge==null?void 0:Ge.homework_status)!=null&&ya.includes("\u672A\u53D1\u5E03")&&Tt.id||ye()()<ye()(Tt==null?void 0:Tt.publish_time)?!1:!!(Tt!=null&&Tt.publish_time))||(0,re.Rm)()&&!((ta=Pt.AssistantObject.practice)!=null&&ta.can_publish),mode:"multiple",className:x.Z.multiple_select,style:{width:"250px"},value:Tt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Xa=>{var at;if((0,re.Rm)()&&!((at=Pt.AssistantObject.practice)!=null&&at.can_publish)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Se[Xt].group_name=Xa,Se[Xt].group_id=Tt.group_id;const Mt=(0,y.flattenDeep)(Se.map(kn=>kn.group_name)),Ft=xt.map(kn=>{let dn=(kn==null?void 0:kn.group_name)||[];return Ke($e({},kn),{group_name:(0,y.remove)(dn,An=>Mt.includes(An))})});Ae(Ft),ut(Se.slice())},maxTagCount:4,maxTagPlaceholder:Xa=>fe.createElement("div",{style:{cursor:"pointer"},onClick:()=>_t(Tt,Xt)},"+",Xa==null?void 0:Xa.length)},gt.group_settings&>.group_settings.map(function(Xa){if(!Se.map(Mt=>Mt.group_name).flat().includes(Xa.group_name))return fe.createElement(Yt,{value:Xa.group_name,key:Xa.id},Xa.group_name)})),fe.createElement("div",{className:"ml20"},fe.createElement(Rt,{size:"large",ranges:{\u6B64\u523B:[Tt.publish_time?ye()(Tt.publish_time):ye()(),ye()()]},allowClear:!1,disabled:we||(ye()()<=ye()((Ga=Vt((Mn=Tt==null?void 0:Tt.group_id)==null?void 0:Mn[0]))==null?void 0:Ga.publish_time)?!1:[!0,Un((Ba=Tt==null?void 0:Tt.group_id)==null?void 0:Ba[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:Xa=>rt(Xa,gt==null?void 0:gt.course_end_date),disabledTime:Xa=>vt(Xa),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ye()((0,E.U6)(),"HH:mm"),ye()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Tt.publish_time&&[ye()(Tt.publish_time),Tt.end_time?ye()(Tt.end_time):void 0],onChange:(Xa,at)=>{var Mt;if((0,re.Rm)()&&!((Mt=Pt.AssistantObject.practice)!=null&&Mt.can_publish)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Se[Xt].publish_time=at[0],!Tt.end_time&&at[0]?Se[Xt].end_time=ye()(at[0]).add(7,"days"):Se[Xt].end_time=at[1],ut([...Se])},onCalendarChange:(Xa,at,Mt)=>{if(at!=null&&at[0]&&!at[1]){const Ft=ye()(at[0]).add(7,"days");Se[Xt].publish_time=at[0],Se[Xt].end_time=Ft,ut([...Se])}}})),!we&&fe.createElement("div",{style:{display:"flex",width:"50px"}},((Nr=Tt==null?void 0:Tt.group_id)==null?void 0:Nr.length)>1&&fe.createElement(je.Z,{title:"\u89C4\u5219\u62C6\u5206"},fe.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>_t(Tt,Xt)})),Se.length<((Dr=gt==null?void 0:gt.group_settings)==null?void 0:Dr.length)&&fe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Xa;if((0,re.Rm)()&&!((Xa=Pt.AssistantObject.practice)!=null&&Xa.can_publish)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ut(Se.concat({}))}}),((Tt==null?void 0:Tt.publish_time)&&ye()()<ye()(Tt==null?void 0:Tt.publish_time)||!(Tt!=null&&Tt.publish_time))&&Xt!=0&&fe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Xa=(0,y.cloneDeep)(xt);Xa.forEach((at,Mt)=>{at.group_name&&(at.group_name=at.group_name.filter(Ft=>{var kn;return!((kn=Se[Xt].group_name)!=null&&kn.includes(Ft))}))}),Se=Se.filter((at,Mt)=>Xt!==Mt),Ae(Xa),ut(Se.slice()),setTimeout(()=>ut(Se.slice()),10)}}))))}))),fe.createElement(ie.Z,null,fe.createElement(nt.Z,null,fe.createElement("div",{className:x.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",fe.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),fe.createElement(nt.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},fe.createElement(Ze.default,{checked:He.allow_late,disabled:we||mn,onChange:Tt=>{var Xt;if((0,re.Rm)()&&!((Xt=Pt.AssistantObject.practice)!=null&&Xt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Tt.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:fe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},fe.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),fe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),fe.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),He.allow_late=!He.allow_late,xt==""&&Ae([{late_penalty:5}]),ct(Object.assign({},He))}},fe.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(He==null?void 0:He.allow_late)&&fe.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},fe.createElement("div",{style:{display:"flex"}},fe.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),fe.createElement(Ne.ZP.Group,{style:{marginLeft:"20px"},disabled:we||(gt==null?void 0:gt.anonymous_comment)||(gt==null?void 0:gt.allow_late),value:He.unified_late,onChange:Tt=>{var Xt;if((0,re.Rm)()&&!((Xt=Pt.AssistantObject.practice)!=null&&Xt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}He.unified_late=Tt.target.value,xt==""&&!Tt.target.value&&Ae([{penalty_type:ne.Q.Percent,late_penalty:20}]),ct($e({},He))}},(He==null?void 0:He.unified_setting)&&fe.createElement(Ne.ZP,{value:!0,disabled:!(gt!=null&>.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Le=gt==null?void 0:gt.group_settings)==null?void 0:Le.length)>0&&fe.createElement(Ne.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),He!=null&&He.unified_late?fe.createElement(fe.Fragment,null,fe.createElement(ie.Z,{align:"middle",style:{marginTop:"10px"}},fe.createElement(nt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),fe.createElement(nt.Z,{className:"ml20"},fe.createElement(ne.Z,{disabled:we||an,value:{type:He.penalty_type,inputValue:He.late_penalty},onChange:Tt=>{var Xt;if((0,re.Rm)()&&!((Xt=Pt.AssistantObject.practice)!=null&&Xt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ct(Ke($e({},He),{late_penalty:Tt.inputValue,penalty_type:Tt.type}))}})),fe.createElement(nt.Z,{flex:"1",className:"ml5"},fe.createElement("span",{className:"c-grey-c ml10"},He.penalty_type===ne.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),fe.createElement(ie.Z,{align:"middle",style:{marginTop:"15px"}},fe.createElement(nt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),fe.createElement(nt.Z,{className:"ml20"},fe.createElement(se.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:we||an,value:He.late_time?ye()(He.late_time):"",disabledDate:Tt=>rt(Tt,gt==null?void 0:gt.course_end_date),onChange:(Tt,Xt)=>{var ya;if((0,re.Rm)()&&!((ya=Pt.AssistantObject.practice)!=null&&ya.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}He.late_time=Xt,ct(Object.assign({},He))}})))):xt.map(function(Tt,Xt){var ya;return fe.createElement(nt.Z,{span:24,key:Xt},fe.createElement(ie.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},fe.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Xt+1),fe.createElement(he.default,{disabled:we||!((ya=Ge==null?void 0:Ge.homework_status)!=null&&ya.includes("\u672A\u53D1\u5E03"))&&Tt.id||(gt==null?void 0:gt.anonymous_comment),mode:"multiple",className:x.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Tt.group_name=="string"?[Tt.group_name]:Tt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ta=>{var Mn;if((0,re.Rm)()&&!((Mn=Pt.AssistantObject.practice)!=null&&Mn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xt[Xt].group_name=ta,xt[Xt].group_id=Tt.group_id,Ae(xt.slice())}},gt.group_settings&>.group_settings.map(function(ta){const Mn=xt.map(Ba=>Ba.group_name).flat(),Ga=Se.map(Ba=>Ba.group_name).flat();if(He!=null&&He.unified_setting){if(!Mn.includes(ta.group_name))return fe.createElement(Yt,{value:ta.group_name,key:ta.id},ta.group_name)}else if(Ga.includes(ta.group_name)&&!Mn.includes(ta.group_name))return fe.createElement(Yt,{value:ta.group_name,key:ta.id},ta.group_name)})),fe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),fe.createElement(ne.Z,{disabled:we||$n(Tt.id),value:{type:Tt.penalty_type,inputValue:Tt.late_penalty},onChange:ta=>{var Mn;if((0,re.Rm)()&&!((Mn=Pt.AssistantObject.practice)!=null&&Mn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xt[Xt].late_penalty=ta.inputValue,xt[Xt].penalty_type=ta.type,Ae([...xt])}}),fe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),fe.createElement(se.default,{size:"large",disabled:we||$n(Tt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:ta=>rt(ta,gt==null?void 0:gt.course_end_date),format:"YYYY-MM-DD HH:mm",value:Tt!=null&&Tt.late_time?ye()(Tt.late_time):void 0,onChange:(ta,Mn)=>{var Ga;if((0,re.Rm)()&&!((Ga=Pt.AssistantObject.practice)!=null&&Ga.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xt[Xt].late_time=Mn,Ae([...xt])}}),!we&&fe.createElement("div",{style:{display:"flex",width:"50px"}},fe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var ta;if((0,re.Rm)()&&!((ta=Pt.AssistantObject.practice)!=null&&ta.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ae(xt.concat({penalty_type:ne.Q.Percent,late_penalty:20}))}}),Xt>0&&!Tt.id&&fe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var ta;if((0,re.Rm)()&&!((ta=Pt.AssistantObject.practice)!=null&&ta.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xt=xt.filter((Mn,Ga)=>Xt!==Ga),Ae(xt.slice()),setTimeout(()=>Ae(xt.slice()),10)}}))))})),!we&&fe.createElement(fe.Fragment,null,fe.createElement(ze.ZP,{type:"primary",size:"large",loading:et,style:{width:"138px",marginTop:"30px"},onClick:()=>yt()},"\u4FDD\u5B58")),fe.createElement(ae.Z,{onConfirm:(Tt,Xt)=>{Se.splice(Tt,0,...Xt),Se.splice(Tt+Xt.length,1);const ya=(0,E.QE)([...Se]);ut([...ya])}}),fe.createElement(ue.Z,{resdata:wt,type:"shixun",okloading:et,oktext:(wt==null?void 0:wt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Tt=>Ve(void 0,null,function*(){Ht(!0);let Xt=yield(0,a.ZP)(`/api/courses/${ft.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(ft.categoryId)]}});Ht(!1),(Xt==null?void 0:Xt.status)===0&&en(gn)})}))};St.ZP=(0,ee.connect)(({shixunHomeworks:st,classroomList:At,loading:Nt,user:Pt})=>({shixunHomeworks:st,classroomList:At,loading:Nt.effects,user:Pt}))(Je)},24107:function(Et,St,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(43418),be=te(8591),Ne=te(1710),ie=te(75790),nt=te(49647),je=te(85707),Ze=te(98280),ze=te(66649),Me=te.n(ze),ye=te(19374),re=te(59301),a=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,x=(ue,me,fe)=>me in ue?a(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ue[me]=fe,ee=(ue,me)=>{for(var fe in me||(me={}))b.call(me,fe)&&x(ue,fe,me[fe]);if(y)for(var fe of y(me))E.call(me,fe)&&x(ue,fe,me[fe]);return ue},ne=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=pt=>{try{_e(fe.next(pt))}catch(Be){xe(Be)}},De=pt=>{try{_e(fe.throw(pt))}catch(Be){xe(Be)}},_e=pt=>pt.done?Pe(pt.value):Promise.resolve(pt.value).then(Ee,De);_e((fe=fe.apply(ue,me)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:me,onOk:fe})=>{const Pe=(0,ie.useParams)(),[xe]=he.default.useForm(),[Ee,De]=(0,z.useState)(),[_e,pt]=(0,z.useState)(!1),Be={height:100,onRemove:()=>{De("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:$e=>ne(void 0,null,function*(){return De($e),!1})};return(0,z.useEffect)(()=>{xe.setFieldsValue({publish_time:Me()(Me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Me()(Me()(new Date((0,ye.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),re.createElement(Ie.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:ue.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:_e},onOk:()=>ne(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}})}},re.createElement(he.default,{form:xe,onFinish:$e=>ne(void 0,null,function*(){var Ke,Ve,it;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}pt(!0);let rt=new FormData;rt.append("type",ue.actionTabs.type),rt.append("file",Ee);let vt;window.location.href.indexOf("exercise")>-1?vt=`/api/exercises/${ue.actionTabs.id}/supplement_score.json`:vt=`/api/homework_commons/${ue.actionTabs.id}/supplement_score.json`;let Rt=yield(0,Ze.ZP)(vt,{method:"post",body:rt},!0);pt(!1),(Rt==null?void 0:Rt.status)===0&&(fe(),xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}}),((Ve=(Ke=Rt==null?void 0:Rt.data)==null?void 0:Ke.fail)==null?void 0:Ve.length)>0&&Ie.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:re.createElement(Ne.default,{pagination:!1,dataSource:(it=Rt==null?void 0:Rt.data)==null?void 0:it.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ye.FH)("",nt.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${ue.actionTabs.type}`)}}))})},re.createElement(he.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},ue.actionTabs.name),re.createElement(he.default.Item,{style:{marginBottom:0},label:re.createElement("div",null,re.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),re.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},re.createElement("div",null,re.createElement("a",{download:"\u6A21\u7248.xlsx",className:je.Z.downloadbutton,href:nt.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${ue.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),re.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),re.createElement(he.default.Item,{style:{marginBottom:0}},re.createElement(oe,ee({},Be),re.createElement("a",{className:je.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),re.createElement("br",null),re.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};St.Z=(0,ie.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},84796:function(Et,St,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(99313),be=te(1710),Ne=te(58421),ie=te(75790),nt=te(98280),je=te(66649),Ze=te.n(je),ze=te(59301),Me=(a,y,b)=>new Promise((E,x)=>{var ee=ae=>{try{oe(b.next(ae))}catch(ue){x(ue)}},ne=ae=>{try{oe(b.throw(ae))}catch(ue){x(ue)}},oe=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(ee,ne);oe((b=b.apply(a,y)).next())});const{Dragger:ye}=se.default,re=({})=>{const a=(0,ie.useParams)(),[y]=he.default.useForm(),[b,E]=(0,z.useState)(!0),[x,ee]=(0,z.useState)(!1);let[ne,oe]=(0,z.useState)({type:window.location.href.indexOf("program_homework")>-1?2:1,limit:10,page:1});const ae=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}];function ue(){return Me(this,null,function*(){let fe;ee(!0),window.location.href.indexOf("exercise")>-1?fe=`/api/exercises/${a==null?void 0:a.categoryId}/redo_logs.json`:fe=`/api/homework_commons/${a==null?void 0:a.categoryId}/redo_logs.json`;let Pe=yield(0,nt.ZP)(fe,{method:"get",params:ne});ee(!1),(Pe==null?void 0:Pe.status)===0&&E(Pe==null?void 0:Pe.data)})}(0,z.useEffect)(()=>{ue()},[]);let me=[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u9898\u578B",dataIndex:"question_type",render:(fe,Pe,xe)=>{var Ee;return(Ee=ae.find(De=>De.question_type===fe))==null?void 0:Ee.name}},window.location.href.indexOf("exercise")>-1&&{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"question_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u5173\u5361\u540D\u79F0",dataIndex:"challenge_name"},window.location.href.indexOf("exercise")<=-1&&{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"task_name",width:"40%"},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(fe,Pe,xe)=>{var Ee;return(Ee=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(De=>De.id===fe))==null?void 0:Ee.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(fe,Pe,xe)=>Ze()(fe).format("YYYY-MM-DD HH:mm:ss")}].filter(fe=>!!fe);return ze.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},ze.createElement(Ie.default,{destroyInactiveTabPane:!0,onChange:fe=>{ne.type=fe,ne.page=1,ne.limit=10,oe(ne),ue()},items:[window.location.href.indexOf("program_homework")<=-1&&{key:"1",label:"\u6253\u56DE\u91CD\u505A",children:ze.createElement(be.default,{className:"mt20",loading:x,columns:[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},{title:"\u6253\u56DE\u91CD\u505A\u65F6\u95F4",dataIndex:"created_at",render:(fe,Pe,xe)=>Ze()(fe).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"operator"}],dataSource:b==null?void 0:b.list,pagination:!1})},{key:"2",label:"\u91CD\u7F6E\u4EE3\u7801",children:ze.createElement(be.default,{className:"mt20",loading:x,columns:me,dataSource:b==null?void 0:b.list,pagination:!1})}].filter(fe=>!!fe)}),ze.createElement(Ne.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(fe,Pe)=>{ne.page=fe,ne.limit=Pe,oe(ne),ue()},current:ne.page,total:b.count,pageSize:ne.limit,style:{marginTop:20}}))};St.Z=(0,ie.connect)(({classroomList:a})=>({classroomList:a}))(re)},59131:function(Et,St,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(43418),be=te(5871),Ne=te(75790),ie=te(98280),nt=te(66649),je=te.n(nt),Ze=te(19374),ze=te(59301),Me=Object.defineProperty,ye=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(ue,me,fe)=>me in ue?Me(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ue[me]=fe,x=(ue,me)=>{for(var fe in me||(me={}))y.call(me,fe)&&E(ue,fe,me[fe]);if(a)for(var fe of a(me))b.call(me,fe)&&E(ue,fe,me[fe]);return ue},ee=(ue,me)=>ye(ue,re(me)),ne=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=pt=>{try{_e(fe.next(pt))}catch(Be){xe(Be)}},De=pt=>{try{_e(fe.throw(pt))}catch(Be){xe(Be)}},_e=pt=>pt.done?Pe(pt.value):Promise.resolve(pt.value).then(Ee,De);_e((fe=fe.apply(ue,me)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:me,onOk:fe})=>{const Pe=(0,Ne.useParams)(),[xe]=he.default.useForm(),[Ee,De]=(0,z.useState)(),[_e,pt]=(0,z.useState)(!1),Be={height:100,onRemove:()=>{De("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:$e=>ne(void 0,null,function*(){return De($e),!1})};return(0,z.useEffect)(()=>{xe.setFieldsValue({publish_time:je()(je()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:je()(je()(new Date((0,Ze.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),ze.createElement(Ie.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:ue.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:_e},onOk:()=>ne(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}})}},ze.createElement(he.default,{form:xe,onFinish:$e=>ne(void 0,null,function*(){var Ke,Ve;console.log("---",ue.actionTabs,$e,Pe);let it=((Ke=ue==null?void 0:ue.actionTabs)==null?void 0:Ke.type)==="exercise"?`/api/exercises/${Pe==null?void 0:Pe.category}/exercise_user/edit_score.json`:`/api/student_works/${ue.actionTabs.id}/edit_score.json`;pt(!0);let rt=yield(0,ie.ZP)(it,{method:"post",body:ee(x({},$e),{exercise_user_id:((Ve=ue==null?void 0:ue.actionTabs)==null?void 0:Ve.type)==="exercise"?ue.actionTabs.id:""})});pt(!1),xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}}),fe()})},ze.createElement(he.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},ze.createElement(be.Z,{min:0,style:{width:"100%"}}))))};St.Z=(0,Ne.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},70047:function(Et,St,te){"use strict";var z=te(59301),se=te(54580),he=te(78241),Ie=te(3113),be=te(95237),Ne=te(81327),ie=te(5083),nt=te(75790),je=te(66649),Ze=te.n(je),ze=te(95211),Me=te(98280),ye=te(59301),re=(b,E,x)=>new Promise((ee,ne)=>{var oe=me=>{try{ue(x.next(me))}catch(fe){ne(fe)}},ae=me=>{try{ue(x.throw(me))}catch(fe){ne(fe)}},ue=me=>me.done?ee(me.value):Promise.resolve(me.value).then(oe,ae);ue((x=x.apply(b,E)).next())});const{Dragger:a}=se.default,y=({})=>{const b=(0,nt.useParams)(),[E]=he.default.useForm(),[x,ee]=(0,z.useState)(!0),[ne,oe]=(0,z.useState)(!1);console.log("----",b);function ae(){return re(this,null,function*(){var ue,me;let fe;window.location.href.indexOf("exercise")>-1?fe=`/api/exercises/${b==null?void 0:b.categoryId}/get_time_setting.json`:fe=`/api/homework_commons/${b==null?void 0:b.categoryId}/get_time_setting.json`;let Pe=yield(0,Me.ZP)(fe,{method:"get"});(Pe==null?void 0:Pe.status)===0&&E.setFieldsValue({publish_time:Ze()(Ze()((ue=Pe==null?void 0:Pe.data)==null?void 0:ue.publish_time).format("YYYY-MM-DD HH:mm")),end_time:Ze()(Ze()((me=Pe==null?void 0:Pe.data)==null?void 0:me.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,z.useEffect)(()=>{ae()},[]),ye.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},ye.createElement("div",{style:{textAlign:"end"}},x&&ye.createElement(Ie.ZP,{onClick:()=>{ee(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!x&&ye.createElement("div",null,ye.createElement(Ie.ZP,{type:"primary",loading:ne,onClick:()=>{E.submit()}},"\u63D0\u4EA4"),ye.createElement(Ie.ZP,{style:{marginLeft:20},onClick:()=>{ee(!0)}},"\u53D6\u6D88"))),ye.createElement(he.default,{form:E,disabled:x,onFinish:ue=>re(void 0,null,function*(){oe(!0),console.log("---",window.location.href);let me;window.location.href.indexOf("exercise")>-1?me=`/api/exercises/${b==null?void 0:b.categoryId}/time_setting.json`:me=`/api/homework_commons/${b==null?void 0:b.categoryId}/time_setting.json`;let fe=yield(0,Me.ZP)(me,{method:"post",body:{publish_time:Ze()(ue.publish_time).format("YYYY-MM-DD HH:mm"),end_time:Ze()(ue.end_time).format("YYYY-MM-DD HH:mm")}});oe(!1),(fe==null?void 0:fe.status)===0&&ee(!0)})},ye.createElement(be.Z,null,ye.createElement(Ne.Z,null,ye.createElement(he.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ye.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,ze.Q8)(ue),disabledTime:ue=>(0,ze.d0)(ue),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ye.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),ye.createElement(be.Z,null,ye.createElement(Ne.Z,null,ye.createElement(he.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ye.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,ze.Q8)(ue,"",E.getFieldValue("publish_time")),disabledTime:ue=>(0,ze.d0)(ue,E.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ye.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")))))};St.Z=(0,nt.connect)(({classroomList:b})=>({classroomList:b}))(y)},46180:function(Et,St,te){"use strict";te.d(St,{Z:function(){return Ze}});var z=te(59301),se=te(92832),he=te(24905),Ie=te(95237),be={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ie=te(91570),nt=(ze,Me,ye)=>new Promise((re,a)=>{var y=x=>{try{E(ye.next(x))}catch(ee){a(ee)}},b=x=>{try{E(ye.throw(x))}catch(ee){a(ee)}},E=x=>x.done?re(x.value):Promise.resolve(x.value).then(y,b);E((ye=ye.apply(ze,Me)).next())}),Ze=({data:ze,value:Me=[],handleChangePage:ye,setSelectedRowKeys:re,selectedRowKeys:a,onChange:y=()=>{}})=>{const[b,E]=(0,z.useState)([]),[x,ee]=(0,z.useState)([]),[ne,oe]=(0,z.useState)([]);let[ae,ue]=(0,z.useState)(1),[me,fe]=(0,z.useState)();return(0,z.useEffect)(()=>{E(ze),ee([]),oe([])},[ze]),(0,z.useEffect)(()=>{re&&(ee(a),oe(a))},[a]),z.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},z.createElement("div",{className:be.leftdiv},z.createElement(se.default.Search,{size:"middle",onChange:Pe=>nt(void 0,null,function*(){E(ze.filter(xe=>{var Ee;return(Ee=xe==null?void 0:xe.name)==null?void 0:Ee.includes(Pe.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&z.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),z.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},z.createElement(he.default.Group,{value:x.map(Pe=>`${Pe.id}`),onChange:Pe=>{re(b.filter(xe=>Pe.includes(`${xe.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((Pe,xe)=>z.createElement(Ie.Z,{key:Pe.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},z.createElement(he.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Pe.is_published,value:`${Pe.id}`},z.createElement("div",{className:be.listClass},z.createElement("span",{className:be.spantitle,style:{width:Pe.is_published?"108px":"170px"}},Pe.name),Pe.is_published&&z.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),z.createElement("div",{className:be.rightdiv},z.createElement(se.default.Search,{onChange:Pe=>{oe(x.filter(xe=>xe.name.includes(Pe.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ne.length===0&&z.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ne.length>0&&z.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},z.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ne.map((Pe,xe)=>z.createElement(Ie.Z,{justify:"space-between",style:{marginTop:"10px"},key:Pe.id},z.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Pe.name),z.createElement("img",{src:Ne,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{re(x.filter(Ee=>`${Ee.id}`!=`${Pe.id}`))}})))))))}},82125:function(Et,St,te){"use strict";te.d(St,{Z:function(){return y}});var z=te(59301),se=te(75790),he=te(5083),Ie=te(43418),be=te(92832),Ne=te(95237),ie=te(43604),nt={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},je=te(66649),Ze=te.n(je),ze=te(19374),Me=te(91570),ye=te(59301);const{RangePicker:re}=he.default,a=({dispatch:b,classroomList:E,onConfirm:x})=>{const[ee,ne]=(0,z.useState)([]),[oe,ae]=(0,z.useState)([]),[ue,me]=(0,z.useState)("");(0,z.useEffect)(()=>{var xe;if(E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Ee=E.actionTabs.data;console.log("data",Ee);let De=(xe=Ee==null?void 0:Ee.group_name)==null?void 0:xe.map((_e,pt)=>{var Be;return{group_id:Ee==null?void 0:Ee.group_id[pt],group_name:Ee==null?void 0:Ee.group_name[pt],is_admin:Ee==null?void 0:Ee.is_admin,end_time:Ee==null?void 0:Ee.end_time,publish_time:Array.isArray(Ee==null?void 0:Ee.publish_time)?(Be=Ee==null?void 0:Ee.publish_time)==null?void 0:Be[0]:Ee==null?void 0:Ee.publish_time}});De&&(ne([...De]),ae([...De]))}},[E.actionTabs]);const fe=()=>{b({type:"classroomList/setActionTabs",payload:{}}),me("")},Pe=xe=>{if(xe){const Ee=oe==null?void 0:oe.filter(De=>{var _e,pt;return(pt=(_e=De==null?void 0:De.group_name)==null?void 0:_e.toLowerCase())==null?void 0:pt.includes(xe==null?void 0:xe.toLowerCase())});ne(Ee)}else ne(oe)};return ye.createElement(Ie.default,{width:980,title:ye.createElement("div",{style:{fontWeight:"bold",display:"flex"}},ye.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",ye.createElement("span",{className:nt.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),ye.createElement(be.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:ue,onChange:xe=>{me(xe.target.value.trim()),Pe(xe.target.value.trim())}})),centered:!0,maskClosable:!1,open:E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>fe(),onOk:()=>{var xe;x((xe=E.actionTabs)==null?void 0:xe.index,oe),fe()}},ye.createElement("div",{className:nt.modal_con},ye.createElement(Ne.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ee==null?void 0:ee.length)>0?ee.map(function(xe,Ee){var De,_e;return ye.createElement(ie.Z,{span:24,key:Ee},ye.createElement(Ne.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ee==(ee==null?void 0:ee.length)-1?"0px":"10px"}},ye.createElement("div",{className:nt.multiple_select,title:xe.group_name},xe.group_name),ye.createElement("div",{className:"ml20"},ye.createElement(re,{size:"large",ranges:{\u6B64\u523B:[xe.publish_time?Ze()(xe.publish_time):Ze()(),Ze()()]},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:pt=>{var Be;return(0,ze.Q8)(pt,(Be=E.actionTabs)==null?void 0:Be.disabledDate)},disabledTime:pt=>(0,ze.d0)(pt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ze()((0,ze.U6)(),"HH:mm"),Ze()((0,ze.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:xe.publish_time&&[Ze()(xe.publish_time),xe.end_time?Ze()(xe.end_time):void 0],onChange:(pt,Be)=>{ee[Ee].publish_time=Be[0],ee[Ee].end_time=Be[1],ne([...ee]),oe.forEach($e=>{$e.group_id===xe.group_id&&($e.publish_time=Be[0],$e.end_time=Be[1])}),ae([...oe])}})),(_e=E.actionTabs)!=null&&_e.rangePickerDisabled?ye.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):ye.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ee.splice(Ee,1),ne([...ee]),oe.forEach((pt,Be)=>{pt.group_id===xe.group_id&&oe.splice(Be,1)}),ae([...oe])}})))}):ye.createElement(Me.Z,null))))};var y=(0,se.connect)(({classroomList:b})=>({classroomList:b}))(a)},34188:function(Et,St,te){"use strict";te.d(St,{AD:function(){return pt},BA:function(){return ea},D9:function(){return rt},Hp:function(){return ae},IM:function(){return Rt},Iy:function(){return ue},KM:function(){return Hn},KU:function(){return At},MJ:function(){return me},Ne:function(){return vt},ON:function(){return Pt},Uj:function(){return Qt},VY:function(){return st},YO:function(){return Fe},YX:function(){return sn},Zn:function(){return a},_g:function(){return ee},_k:function(){return Ve},c6:function(){return De},cr:function(){return y},eV:function(){return _e},fi:function(){return b},gh:function(){return xe},hS:function(){return Yt},iA:function(){return E},j6:function(){return ne},je:function(){return Ke},jj:function(){return oe},kS:function(){return Nt},o6:function(){return Ee},pO:function(){return Gt},rQ:function(){return Be},sA:function(){return Pe},xm:function(){return it},xo:function(){return Je},y8:function(){return $e},yd:function(){return x}});var z=te(98458),se=te(75790),he=te(19374),Ie=te(8591),be=te(49647),Ne=Object.defineProperty,ie=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ze=(Re,qe,tt)=>qe in Re?Ne(Re,qe,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Re[qe]=tt,ze=(Re,qe)=>{for(var tt in qe||(qe={}))nt.call(qe,tt)&&Ze(Re,tt,qe[tt]);if(ie)for(var tt of ie(qe))je.call(qe,tt)&&Ze(Re,tt,qe[tt]);return Re},Me=(Re,qe,tt)=>new Promise((Le,ft)=>{var gt=Ge=>{try{ve(tt.next(Ge))}catch(We){ft(We)}},Oe=Ge=>{try{ve(tt.throw(Ge))}catch(We){ft(We)}},ve=Ge=>Ge.done?Le(Ge.value):Promise.resolve(Ge.value).then(gt,Oe);ve((tt=tt.apply(Re,qe)).next())});const ye=()=>{(0,se.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},re=()=>{(0,se.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=Re=>Me(void 0,null,function*(){ye(),(yield(0,z.YR)(ze({},Re))).status===0&&(yield(0,he.QH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_couser_info.json`,query:Re}))),re()}),y=Re=>Me(void 0,null,function*(){const qe=yield(0,z.yS)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`);else{if(qe.status===-2)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`))}}),b=Re=>Me(void 0,null,function*(){const qe=yield(0,z.W0)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`))}}),E=Re=>Me(void 0,null,function*(){const qe=yield(0,z.Nl)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=Re=>Me(void 0,null,function*(){const qe=yield(0,z.IU)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`))}}),ee=Re=>Me(void 0,null,function*(){const qe=yield(0,z.td)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-2)return qe;if(qe.status===-3)(0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else if(qe.status===-4)return qe}}),ne=Re=>Me(void 0,null,function*(){const qe=yield(0,z.QX)(ze({},Re));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`))}}),oe=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.o_)(ze({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),ae=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.ZL)(ze({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),ue=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.aP)(ze({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),me=(Re,qe)=>Me(void 0,null,function*(){const tt=yield(0,z.vV)(ze({},Re));tt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):tt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),fe=Re=>Me(void 0,null,function*(){ye(),(yield exportCourseWorkListAppendix(ze({},Re))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Re.categoryId}/works_list.zip`,query:Re}))),re()}),Pe=Re=>Me(void 0,null,function*(){ye(),yield(0,he.QH)("",be.Z.API_SERVER+`/api/polls/${Re.categoryId}/commit_result.xlsx`),re()}),xe=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/attendances/export_xlsx_data.xlsx`,query:Re}))}),Ee=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/video_study_statics.xlsx`,query:Re}))}),De=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_video_study.xlsx`,query:Re}))}),_e=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_course_students_info.xlsx`,query:Re}))}),pt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Re}))}),Be=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Re}))}),$e=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Re}))}),Ke=Re=>Me(void 0,null,function*(){const qe=yield(0,z.Uy)(ze({},Re));qe.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`)):qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ve=Re=>Me(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/export_records/${Re.id}.xlsx`,query:Re}))}),it=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Re}))}),rt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/${Re.menuKey}_statistic.xlsx?${Re.checkedList.map(qe=>`course_group_id[]=${qe}`).join("&")}`,query:Re}))}),vt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_training_objectives.xlsx`,query:Re}))}),Rt=Re=>Me(void 0,null,function*(){yield(0,he.FH)(Re==null?void 0:Re.name,(0,he.NY)({url:be.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Re}))}),Yt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_courses.xlsx`,query:Re}))}),Je=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_graduation_requirements.xlsx`,query:Re}))}),st=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Re}))}),At=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/exercises/${Re.categoryId}/rank_list.xlsx`,query:Re}))}),Nt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Re}))}),Pt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/examination_banks/${Re.id}.json`,query:Re}))}),sn=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/exercises/${Re.categoryId}.json`,query:Re}))}),Fe=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/polls/${Re==null?void 0:Re.id}/commit_result.json`,query:Re}))}),Qt=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Re}))}),Gt=(Re,qe)=>Me(void 0,null,function*(){yield(0,he.FH)(qe||"",(0,he.NY)({url:be.Z.API_SERVER+`/api/exercises/${Re==null?void 0:Re.exercise_id}/consult_exercise.json`,query:Re}))}),Hn=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/competitions/${Re==null?void 0:Re.identifier}/competition_commit_records/member_works.xlsx`,query:Re}))}),ea=Re=>Me(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:be.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/group_homeworks/import_group_template.xlsx`,query:Re}))})},22243:function(Et,St,te){"use strict";te.d(St,{BU:function(){return se},Dj:function(){return z},gH:function(){return he},vp:function(){return Ie}});function z(be){try{be.mozRequestFullScreen?be.mozRequestFullScreen():be.webkitRequestFullScreen&&be.webkitRequestFullScreen()}catch(Ne){console.log(Ne,":e")}}function se(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const he=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Ie(){var be=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,Ne=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",be),window.isFullScreen?window.isFullScreen:be!=null}},1997:function(Et,St,te){"use strict";te.d(St,{rX:function(){return ne},pW:function(){return oe},gy:function(){return ae},xY:function(){return ee},O5:function(){return x},tJ:function(){return re},o1:function(){return a},Rd:function(){return E}});var z=te(75790),se=te(43418),he=te(28103),Ie=te(8591),be=te(53229),Ne=te(19374),ie=te(87169),nt=te(25510),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGK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ee=pt=>{try{_e(fe.next(pt))}catch(Be){xe(Be)}},De=pt=>{try{_e(fe.throw(pt))}catch(Be){xe(Be)}},_e=pt=>pt.done?Pe(pt.value):Promise.resolve(pt.value).then(Ee,De);_e((fe=fe.apply(ue,me)).next())});const re=(ue,me=!1)=>!!(a(ue)&&y(me)),a=ue=>(0,be.bg)()?!0:(ue({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(ue=!1)=>{var me;const{user:fe}=(0,z.getDvaApp)()._store.getState();return(me=fe.userInfo)!=null&&me.profile_completed?!0:(se.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ne.xg)("/account/profile/edit"),b()}}),!1)},b=()=>{se.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},E=()=>{se.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Me.createElement("div",{style:{textAlign:"center"}},Me.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),Me.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ze}),Me.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},x=()=>{var ue;const{user:me}=(0,z.getDvaApp)()._store.getState();return(ue=me.userInfo)!=null&&ue.professional_certification?!0:(se.default.confirm({title:"\u63D0\u793A",centered:!0,content:Me.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ne.xg)("/account/certification")}}),!1)},ee=()=>(0,be.V9)()?!0:(se.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Me.createElement("div",{className:"tc",style:{marginLeft:-38}},Me.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Me.createElement("img",{src:Ze,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ne=(ue,me)=>ue?!0:(se.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Me.createElement("div",null,Me.createElement("p",null,me||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),Me.createElement("div",{style:{marginLeft:"110px"}},Me.createElement("img",{src:je,width:200}),Me.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ne.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),oe=ue=>{se.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Me.createElement("div",null,Me.createElement("div",null,Me.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),Me.createElement(he.Z,null),Me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",Me.createElement("a",null,ue),"\u5929\u3002"),Me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),Me.createElement("div",{style:{textAlign:"center",marginTop:30}},Me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:nt,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ae=(ue,me="")=>{const{shixunsDetail:{detail:fe}}=(0,z.getDvaApp)()._store.getState();if((fe==null?void 0:fe.public)===2||(fe==null?void 0:fe.public)===1||(fe==null?void 0:fe.shixun_status)===3){let Pe="";return(fe==null?void 0:fe.public)===2&&(Pe="\u5DF2\u516C\u5F00"),(fe==null?void 0:fe.public)===1&&(Pe="\u5F85\u5BA1\u6838"),(fe==null?void 0:fe.shixun_status)===3&&(Pe="\u5DF2\u5173\u95ED"),se.default.info({centered:!0,icon:Me.createElement(ie.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Me.createElement("div",{className:"tc",style:{marginLeft:-38}},Me.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Pe,"\uFF0C",me,"\u3002"),Me.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:nt,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(fe==null?void 0:fe.shixun_status)===2?(se.default.confirm({centered:!0,icon:Me.createElement(ie.Z,null),title:"\u63D0\u793A",content:Me.createElement("div",null,Me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",me,"\u3002"),Me.createElement("br",null),Me.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{se.default.confirm({width:440,centered:!0,icon:Me.createElement(ie.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>ye(void 0,null,function*(){(yield ue({type:"shixunsDetail/cancelRelease",payload:{id:fe==null?void 0:fe.identifier}})).status!==401&&(Ie.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),ue({type:"shixunsDetail/getShixunsDetail",payload:{id:fe==null?void 0:fe.identifier}}),ue({type:"practiceSetting/getCommonData",payload:{id:fe==null?void 0:fe.identifier}}))})})}}),!0):!1}},50371:function(Et,St){"use strict";function te(){const z=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let se=1;se<arguments.length;se++){const he=se<0||arguments.length<=se?void 0:arguments[se];he&&Object.keys(he).forEach(Ie=>{const be=he[Ie];be!==void 0&&(z[Ie]=be)})}return z}St.Z=te},13845:function(Et,St,te){"use strict";te.d(St,{F:function(){return z},Z:function(){return se}});function z(he){return he!=null&&he===he.window}function se(he,Ie){var be,Ne;if(typeof window=="undefined")return 0;const ie=Ie?"scrollTop":"scrollLeft";let nt=0;return z(he)?nt=he[Ie?"pageYOffset":"pageXOffset"]:he instanceof Document?nt=he.documentElement[ie]:(he instanceof HTMLElement||he)&&(nt=he[ie]),he&&!z(he)&&typeof nt!="number"&&(nt=(Ne=((be=he.ownerDocument)!==null&&be!==void 0?be:he).documentElement)===null||Ne===void 0?void 0:Ne[ie]),nt}},56762:function(Et,St,te){"use strict";te.d(St,{Z:function(){return se}});var z=te(59301);function se(){const[,he]=z.useReducer(Ie=>Ie+1,0);return he}},68031:function(Et,St,te){"use strict";te.d(St,{Z:function(){return Ie}});var z=te(16089);function se(be,Ne,ie,nt){const je=ie-Ne;return be/=nt/2,be<1?je/2*be*be*be+Ne:je/2*((be-=2)*be*be+2)+Ne}var he=te(13845);function Ie(be){let Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ie=()=>window,callback:nt,duration:je=450}=Ne,Ze=ie(),ze=(0,he.Z)(Ze,!0),Me=Date.now(),ye=()=>{const a=Date.now()-Me,y=se(a>je?je:a,ze,be,je);(0,he.F)(Ze)?Ze.scrollTo(window.pageXOffset,y):Ze instanceof Document||Ze.constructor.name==="HTMLDocument"?Ze.documentElement.scrollTop=y:Ze.scrollTop=y,a<je?(0,z.Z)(ye):typeof nt=="function"&&nt()};(0,z.Z)(ye)}},66104:function(Et,St,te){"use strict";te.d(St,{Z:function(){return pt}});var z=te(92310),se=te.n(z),he=te(11592),Ie=te(26112),be=te(59301),Ne=te(92343),ie=te(36355),nt=te(84105),je=te(91857);const Ze=Be=>{let{children:$e}=Be;const{getPrefixCls:Ke}=be.useContext(ie.E_),Ve=Ke("breadcrumb");return be.createElement("li",{className:`${Ve}-separator`,"aria-hidden":"true"},$e===""?$e:$e||"/")};Ze.__ANT_BREADCRUMB_SEPARATOR=!0;var ze=Ze,Me=function(Be,$e){var Ke={};for(var Ve in Be)Object.prototype.hasOwnProperty.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ve=Object.getOwnPropertySymbols(Be);it<Ve.length;it++)$e.indexOf(Ve[it])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ve[it])&&(Ke[Ve[it]]=Be[Ve[it]]);return Ke};function ye(Be,$e){if(Be.title===void 0||Be.title===null)return null;const Ke=Object.keys($e).join("|");return typeof Be.title=="object"?Be.title:String(Be.title).replace(new RegExp(`:(${Ke})`,"g"),(Ve,it)=>$e[it]||Ve)}function re(Be,$e,Ke,Ve){if(Ke==null)return null;const{className:it,onClick:rt}=$e,vt=Me($e,["className","onClick"]),Rt=Object.assign(Object.assign({},(0,Ie.Z)(vt,{data:!0,aria:!0})),{onClick:rt});return Ve!==void 0?be.createElement("a",Object.assign({},Rt,{className:se()(`${Be}-link`,it),href:Ve}),Ke):be.createElement("span",Object.assign({},Rt,{className:se()(`${Be}-link`,it)}),Ke)}function a(Be,$e){return(Ve,it,rt,vt,Rt)=>{if($e)return $e(Ve,it,rt,vt);const Yt=ye(Ve,it);return re(Be,Ve,Yt,Rt)}}var y=function(Be,$e){var Ke={};for(var Ve in Be)Object.prototype.hasOwnProperty.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ve=Object.getOwnPropertySymbols(Be);it<Ve.length;it++)$e.indexOf(Ve[it])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ve[it])&&(Ke[Ve[it]]=Be[Ve[it]]);return Ke};const b=Be=>{const{prefixCls:$e,separator:Ke="/",children:Ve,menu:it,overlay:rt,dropdownProps:vt,href:Rt}=Be,Je=(st=>{if(it||rt){const At=Object.assign({},vt);if(it){const Nt=it||{},{items:Pt}=Nt,sn=y(Nt,["items"]);At.menu=Object.assign(Object.assign({},sn),{items:Pt==null?void 0:Pt.map((Fe,Qt)=>{var{key:Gt,title:Hn,label:ea,path:Re}=Fe,qe=y(Fe,["key","title","label","path"]);let tt=ea!=null?ea:Hn;return Re&&(tt=be.createElement("a",{href:`${Rt}${Re}`},tt)),Object.assign(Object.assign({},qe),{key:Gt!=null?Gt:Qt,label:tt})})})}else rt&&(At.overlay=rt);return be.createElement(je.Z,Object.assign({placement:"bottom"},At),be.createElement("span",{className:`${$e}-overlay-link`},st,be.createElement(nt.Z,null)))}return st})(Ve);return Je!=null?be.createElement(be.Fragment,null,be.createElement("li",null,Je),Ke&&be.createElement(ze,null,Ke)):null},E=Be=>{const{prefixCls:$e,children:Ke,href:Ve}=Be,it=y(Be,["prefixCls","children","href"]),{getPrefixCls:rt}=be.useContext(ie.E_),vt=rt("breadcrumb",$e);return be.createElement(b,Object.assign({},it,{prefixCls:vt}),re(vt,it,Ke,Ve))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,ee=te(17313),ne=te(83116),oe=te(37613);const ae=Be=>{const{componentCls:$e,iconCls:Ke}=Be;return{[$e]:Object.assign(Object.assign({},(0,ee.Wf)(Be)),{color:Be.itemColor,fontSize:Be.fontSize,[Ke]:{fontSize:Be.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Be.linkColor,transition:`color ${Be.motionDurationMid}`,padding:`0 ${Be.paddingXXS}px`,borderRadius:Be.borderRadiusSM,height:Be.lineHeight*Be.fontSize,display:"inline-block",marginInline:-Be.marginXXS,"&:hover":{color:Be.linkHoverColor,backgroundColor:Be.colorBgTextHover}},(0,ee.Qy)(Be)),"li:last-child":{color:Be.lastItemColor},[`${$e}-separator`]:{marginInline:Be.separatorMargin,color:Be.separatorColor},[`${$e}-link`]:{[`
|
|
> ${Ke} + span,
|
|
> ${Ke} + a
|
|
`]:{marginInlineStart:Be.marginXXS}},[`${$e}-overlay-link`]:{borderRadius:Be.borderRadiusSM,height:Be.lineHeight*Be.fontSize,display:"inline-block",padding:`0 ${Be.paddingXXS}px`,marginInline:-Be.marginXXS,[`> ${Ke}`]:{marginInlineStart:Be.marginXXS,fontSize:Be.fontSizeIcon},"&:hover":{color:Be.linkHoverColor,backgroundColor:Be.colorBgTextHover,a:{color:Be.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Be.componentCls}-rtl`]:{direction:"rtl"}})}};var ue=(0,ne.Z)("Breadcrumb",Be=>{const $e=(0,oe.TS)(Be,{});return[ae($e)]},Be=>({itemColor:Be.colorTextDescription,lastItemColor:Be.colorText,iconFontSize:Be.fontSize,linkColor:Be.colorTextDescription,linkHoverColor:Be.colorText,separatorColor:Be.colorTextDescription,separatorMargin:Be.marginXS})),me=function(Be,$e){var Ke={};for(var Ve in Be)Object.prototype.hasOwnProperty.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ve=Object.getOwnPropertySymbols(Be);it<Ve.length;it++)$e.indexOf(Ve[it])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ve[it])&&(Ke[Ve[it]]=Be[Ve[it]]);return Ke};function fe(Be){const{breadcrumbName:$e,children:Ke}=Be,Ve=me(Be,["breadcrumbName","children"]),it=Object.assign({title:$e},Ve);return Ke&&(it.menu={items:Ke.map(rt=>{var{breadcrumbName:vt}=rt,Rt=me(rt,["breadcrumbName"]);return Object.assign(Object.assign({},Rt),{title:vt})})}),it}function Pe(Be,$e){return(0,be.useMemo)(()=>Be||($e?$e.map(fe):null),[Be,$e])}var xe=function(Be,$e){var Ke={};for(var Ve in Be)Object.prototype.hasOwnProperty.call(Be,Ve)&&$e.indexOf(Ve)<0&&(Ke[Ve]=Be[Ve]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Ve=Object.getOwnPropertySymbols(Be);it<Ve.length;it++)$e.indexOf(Ve[it])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ve[it])&&(Ke[Ve[it]]=Be[Ve[it]]);return Ke};const Ee=(Be,$e)=>{if($e===void 0)return $e;let Ke=($e||"").replace(/^\//,"");return Object.keys(Be).forEach(Ve=>{Ke=Ke.replace(`:${Ve}`,Be[Ve])}),Ke},De=Be=>{const{prefixCls:$e,separator:Ke="/",style:Ve,className:it,rootClassName:rt,routes:vt,items:Rt,children:Yt,itemRender:Je,params:st={}}=Be,At=xe(Be,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Nt,direction:Pt,breadcrumb:sn}=be.useContext(ie.E_);let Fe;const Qt=Nt("breadcrumb",$e),[Gt,Hn]=ue(Qt),ea=Pe(Rt,vt),Re=a(Qt,Je);if(ea&&ea.length>0){const Le=[],ft=Rt||vt;Fe=ea.map((gt,Oe)=>{const{path:ve,key:Ge,type:We,menu:we,overlay:mt,onClick:et,className:Ht,separator:Se,dropdownProps:ut}=gt,xt=Ee(st,ve);xt!==void 0&&Le.push(xt);const Ae=Ge!=null?Ge:Oe;if(We==="separator")return be.createElement(ze,{key:Ae},Se);const He={},ct=Oe===ea.length-1;we?He.menu=we:mt&&(He.overlay=mt);let{href:wt}=gt;return Le.length&&xt!==void 0&&(wt=`#/${Le.join("/")}`),be.createElement(b,Object.assign({key:Ae},He,(0,Ie.Z)(gt,{data:!0,aria:!0}),{className:Ht,dropdownProps:ut,href:wt,separator:ct?"":Ke,onClick:et,prefixCls:Qt}),Re(gt,st,ft,Le,wt))})}else if(Yt){const Le=(0,he.Z)(Yt).length;Fe=(0,he.Z)(Yt).map((ft,gt)=>{if(!ft)return ft;const Oe=gt===Le-1;return(0,Ne.Tm)(ft,{separator:Oe?"":Ke,key:gt})})}const qe=se()(Qt,sn==null?void 0:sn.className,{[`${Qt}-rtl`]:Pt==="rtl"},it,rt,Hn),tt=Object.assign(Object.assign({},sn==null?void 0:sn.style),Ve);return Gt(be.createElement("nav",Object.assign({className:qe,style:tt},At),be.createElement("ol",null,Fe)))};De.Item=x,De.Separator=ze;var _e=De,pt=_e},24905:function(Et,St,te){"use strict";te.d(St,{default:function(){return ue}});var z=te(92310),se=te.n(z),he=te(5630),Ie=te(59301),be=te(36355),Ne=te(1684),ie=te(32441),je=Ie.createContext(null),Ze=te(98447),ze=te(14088),Me=te(4572),ye=function(me,fe){var Pe={};for(var xe in me)Object.prototype.hasOwnProperty.call(me,xe)&&fe.indexOf(xe)<0&&(Pe[xe]=me[xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(me);Ee<xe.length;Ee++)fe.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(me,xe[Ee])&&(Pe[xe[Ee]]=me[xe[Ee]]);return Pe};const re=(me,fe)=>{var Pe;const{prefixCls:xe,className:Ee,rootClassName:De,children:_e,indeterminate:pt=!1,style:Be,onMouseEnter:$e,onMouseLeave:Ke,skipGroup:Ve=!1,disabled:it}=me,rt=ye(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:vt,direction:Rt,checkbox:Yt}=Ie.useContext(be.E_),Je=Ie.useContext(je),{isFormItemInput:st}=Ie.useContext(ie.aM),At=Ie.useContext(Ne.Z),Nt=(Pe=(Je==null?void 0:Je.disabled)||it)!==null&&Pe!==void 0?Pe:At,Pt=Ie.useRef(rt.value);Ie.useEffect(()=>{Je==null||Je.registerValue(rt.value)},[]),Ie.useEffect(()=>{if(!Ve)return rt.value!==Pt.current&&(Je==null||Je.cancelValue(Pt.current),Je==null||Je.registerValue(rt.value),Pt.current=rt.value),()=>Je==null?void 0:Je.cancelValue(rt.value)},[rt.value]);const sn=vt("checkbox",xe),[Fe,Qt]=(0,Ze.ZP)(sn),Gt=Object.assign({},rt);Je&&!Ve&&(Gt.onChange=function(){rt.onChange&&rt.onChange.apply(rt,arguments),Je.toggleOption&&Je.toggleOption({label:_e,value:rt.value})},Gt.name=Je.name,Gt.checked=Je.value.includes(rt.value));const Hn=se()(`${sn}-wrapper`,{[`${sn}-rtl`]:Rt==="rtl",[`${sn}-wrapper-checked`]:Gt.checked,[`${sn}-wrapper-disabled`]:Nt,[`${sn}-wrapper-in-form-item`]:st},Yt==null?void 0:Yt.className,Ee,De,Qt),ea=se()({[`${sn}-indeterminate`]:pt},Me.A,Qt),Re=pt?"mixed":void 0;return Fe(Ie.createElement(ze.Z,{component:"Checkbox",disabled:Nt},Ie.createElement("label",{className:Hn,style:Object.assign(Object.assign({},Yt==null?void 0:Yt.style),Be),onMouseEnter:$e,onMouseLeave:Ke},Ie.createElement(he.Z,Object.assign({"aria-checked":Re},Gt,{prefixCls:sn,className:ea,disabled:Nt,ref:fe})),_e!==void 0&&Ie.createElement("span",null,_e))))};var y=Ie.forwardRef(re),b=te(94480),E=te(2738),x=function(me,fe){var Pe={};for(var xe in me)Object.prototype.hasOwnProperty.call(me,xe)&&fe.indexOf(xe)<0&&(Pe[xe]=me[xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(me);Ee<xe.length;Ee++)fe.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(me,xe[Ee])&&(Pe[xe[Ee]]=me[xe[Ee]]);return Pe};const ee=(me,fe)=>{const{defaultValue:Pe,children:xe,options:Ee=[],prefixCls:De,className:_e,rootClassName:pt,style:Be,onChange:$e}=me,Ke=x(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ve,direction:it}=Ie.useContext(be.E_),[rt,vt]=Ie.useState(Ke.value||Pe||[]),[Rt,Yt]=Ie.useState([]);Ie.useEffect(()=>{"value"in Ke&&vt(Ke.value||[])},[Ke.value]);const Je=Ie.useMemo(()=>Ee.map(qe=>typeof qe=="string"||typeof qe=="number"?{label:qe,value:qe}:qe),[Ee]),st=qe=>{Yt(tt=>tt.filter(Le=>Le!==qe))},At=qe=>{Yt(tt=>[].concat((0,b.Z)(tt),[qe]))},Nt=qe=>{const tt=rt.indexOf(qe.value),Le=(0,b.Z)(rt);tt===-1?Le.push(qe.value):Le.splice(tt,1),"value"in Ke||vt(Le),$e==null||$e(Le.filter(ft=>Rt.includes(ft)).sort((ft,gt)=>{const Oe=Je.findIndex(Ge=>Ge.value===ft),ve=Je.findIndex(Ge=>Ge.value===gt);return Oe-ve}))},Pt=Ve("checkbox",De),sn=`${Pt}-group`,[Fe,Qt]=(0,Ze.ZP)(Pt),Gt=(0,E.Z)(Ke,["value","disabled"]),Hn=Ee.length?Je.map(qe=>Ie.createElement(y,{prefixCls:Pt,key:qe.value.toString(),disabled:"disabled"in qe?qe.disabled:Ke.disabled,value:qe.value,checked:rt.includes(qe.value),onChange:qe.onChange,className:`${sn}-item`,style:qe.style,title:qe.title},qe.label)):xe,ea={toggleOption:Nt,value:rt,disabled:Ke.disabled,name:Ke.name,registerValue:At,cancelValue:st},Re=se()(sn,{[`${sn}-rtl`]:it==="rtl"},_e,pt,Qt);return Fe(Ie.createElement("div",Object.assign({className:Re,style:Be},Gt,{ref:fe}),Ie.createElement(je.Provider,{value:ea},Hn)))},ne=Ie.forwardRef(ee);var oe=Ie.memo(ne);const ae=y;ae.Group=oe,ae.__ANT_CHECKBOX=!0;var ue=ae},98447:function(Et,St,te){"use strict";te.d(St,{C2:function(){return be}});var z=te(17313),se=te(37613),he=te(83116);const Ie=Ne=>{const{checkboxCls:ie}=Ne,nt=`${ie}-wrapper`;return[{[`${ie}-group`]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ne.marginXS,[`> ${Ne.antCls}-row`]:{flex:1}}),[nt]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${nt}`]:{marginInlineStart:0},[`&${nt}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ie]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ne.borderRadiusSM,alignSelf:"center",[`${ie}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ie}-inner`]:Object.assign({},(0,z.oN)(Ne))},[`${ie}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ne.checkboxSize,height:Ne.checkboxSize,direction:"ltr",backgroundColor:Ne.colorBgContainer,border:`${Ne.lineWidth}px ${Ne.lineType} ${Ne.colorBorder}`,borderRadius:Ne.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ne.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ne.checkboxSize/14*5,height:Ne.checkboxSize/14*8,border:`${Ne.lineWidthBold}px solid ${Ne.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ne.motionDurationFast} ${Ne.motionEaseInBack}, opacity ${Ne.motionDurationFast}`}},"& + span":{paddingInlineStart:Ne.paddingXS,paddingInlineEnd:Ne.paddingXS}})},{[`
|
|
${nt}:not(${nt}-disabled),
|
|
${ie}:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{borderColor:Ne.colorPrimary}},[`${nt}:not(${nt}-disabled)`]:{[`&:hover ${ie}-checked:not(${ie}-disabled) ${ie}-inner`]:{backgroundColor:Ne.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ie}-checked:not(${ie}-disabled):after`]:{borderColor:Ne.colorPrimaryHover}}},{[`${ie}-checked`]:{[`${ie}-inner`]:{backgroundColor:Ne.colorPrimary,borderColor:Ne.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ne.motionDurationMid} ${Ne.motionEaseOutBack} ${Ne.motionDurationFast}`}}},[`
|
|
${nt}-checked:not(${nt}-disabled),
|
|
${ie}-checked:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{backgroundColor:Ne.colorPrimaryHover,borderColor:"transparent"}}},{[ie]:{"&-indeterminate":{[`${ie}-inner`]:{backgroundColor:Ne.colorBgContainer,borderColor:Ne.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ne.fontSizeLG/2,height:Ne.fontSizeLG/2,backgroundColor:Ne.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${nt}-disabled`]:{cursor:"not-allowed"},[`${ie}-disabled`]:{[`&, ${ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ie}-inner`]:{background:Ne.colorBgContainerDisabled,borderColor:Ne.colorBorder,"&:after":{borderColor:Ne.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ne.colorTextDisabled},[`&${ie}-indeterminate ${ie}-inner::after`]:{background:Ne.colorTextDisabled}}}]};function be(Ne,ie){const nt=(0,se.TS)(ie,{checkboxCls:`.${Ne}`,checkboxSize:ie.controlInteractiveSize});return[Ie(nt)]}St.ZP=(0,he.Z)("Checkbox",(Ne,ie)=>{let{prefixCls:nt}=ie;return[be(nt,Ne)]})},5083:function(Et,St,te){"use strict";te.d(St,{default:function(){return su}});var z=te(66649),se=te.n(z),he=te(48736),Ie=te(9007),be=te.n(Ie),Ne=te(50991),ie=te.n(Ne),nt=te(9084),je=te.n(nt),Ze=te(58626),ze=te.n(Ze),Me=te(13477),ye=te.n(Me),re=te(64796),a=te.n(re);se().extend(a()),se().extend(ye()),se().extend(be()),se().extend(ie()),se().extend(je()),se().extend(ze()),se().extend(function(le,de){var ge=de.prototype,Qe=ge.format;ge.format=function(It){var bt=(It||"").replace("Wo","wo");return Qe.bind(this)(bt)}});var y={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},b=function(de){var ge=y[de];return ge||de.split("_")[0]},E=function(){(0,he.ET)(!1,"Not match any format. Please help to fire a issue about this.")},x={getNow:function(){return se()()},getFixedDate:function(de){return se()(de,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(de){return de.endOf("month")},getWeekDay:function(de){var ge=de.locale("en");return ge.weekday()+ge.localeData().firstDayOfWeek()},getYear:function(de){return de.year()},getMonth:function(de){return de.month()},getDate:function(de){return de.date()},getHour:function(de){return de.hour()},getMinute:function(de){return de.minute()},getSecond:function(de){return de.second()},addYear:function(de,ge){return de.add(ge,"year")},addMonth:function(de,ge){return de.add(ge,"month")},addDate:function(de,ge){return de.add(ge,"day")},setYear:function(de,ge){return de.year(ge)},setMonth:function(de,ge){return de.month(ge)},setDate:function(de,ge){return de.date(ge)},setHour:function(de,ge){return de.hour(ge)},setMinute:function(de,ge){return de.minute(ge)},setSecond:function(de,ge){return de.second(ge)},isAfter:function(de,ge){return de.isAfter(ge)},isValidate:function(de){return de.isValid()},locale:{getWeekFirstDay:function(de){return se()().locale(b(de)).localeData().firstDayOfWeek()},getWeekFirstDate:function(de,ge){return ge.locale(b(de)).weekday(0)},getWeek:function(de,ge){return ge.locale(b(de)).week()},getShortWeekDays:function(de){return se()().locale(b(de)).localeData().weekdaysMin()},getShortMonths:function(de){return se()().locale(b(de)).localeData().monthsShort()},format:function(de,ge,Qe){return ge.locale(b(de)).format(Qe)},parse:function(de,ge,Qe){for(var Xe=b(de),It=0;It<Qe.length;It+=1){var bt=Qe[It],ln=ge;if(bt.includes("wo")||bt.includes("Wo")){for(var rn=ln.split("-")[0],pn=ln.split("-")[1],ia=se()(rn,"YYYY").startOf("year").locale(Xe),wn=0;wn<=52;wn+=1){var Bn=ia.add(wn,"week");if(Bn.format("Wo")===pn)return Bn}return E(),null}var Gn=se()(ln,bt,!0).locale(Xe);if(Gn.isValid())return Gn}return ge&&E(),null}}},ee=x,ne=te(53487),oe=te(54476),ae=te(59301),ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},me=ue,fe=te(7657),Pe=function(de,ge){return ae.createElement(fe.Z,(0,oe.Z)({},de,{ref:ge,icon:me}))},xe=ae.forwardRef(Pe),Ee=xe,De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"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"},_e=De,pt=function(de,ge){return ae.createElement(fe.Z,(0,oe.Z)({},de,{ref:ge,icon:_e}))},Be=ae.forwardRef(pt),$e=Be,Ke=te(19248),Ve={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},it=Ve,rt=function(de,ge){return ae.createElement(fe.Z,(0,oe.Z)({},de,{ref:ge,icon:it}))},vt=ae.forwardRef(rt),Rt=vt,Yt=te(92310),Je=te.n(Yt),st=te(67732),At=te(83652),Nt=te(31226),Pt=te(42403),sn=te(158),Fe=te(20068),Qt=te(33885),Gt=te(42978),Hn=te(18929),ea=te(26112),Re=te(80547),qe=te(13697),tt=10,Le=tt*10,ft=7;function gt(le,de){if(!le&&!de)return!0;if(!le||!de)return!1}function Oe(le,de,ge){var Qe=gt(de,ge);if(typeof Qe=="boolean")return Qe;var Xe=Math.floor(le.getYear(de)/10),It=Math.floor(le.getYear(ge)/10);return Xe===It}function ve(le,de,ge){var Qe=gt(de,ge);return typeof Qe=="boolean"?Qe:le.getYear(de)===le.getYear(ge)}function Ge(le,de){var ge=Math.floor(le.getMonth(de)/3);return ge+1}function We(le,de,ge){var Qe=gt(de,ge);return typeof Qe=="boolean"?Qe:ve(le,de,ge)&&Ge(le,de)===Ge(le,ge)}function we(le,de,ge){var Qe=gt(de,ge);return typeof Qe=="boolean"?Qe:ve(le,de,ge)&&le.getMonth(de)===le.getMonth(ge)}function mt(le,de,ge){var Qe=gt(de,ge);return typeof Qe=="boolean"?Qe:le.getYear(de)===le.getYear(ge)&&le.getMonth(de)===le.getMonth(ge)&&le.getDate(de)===le.getDate(ge)}function et(le,de,ge){var Qe=gt(de,ge);return typeof Qe=="boolean"?Qe:le.getHour(de)===le.getHour(ge)&&le.getMinute(de)===le.getMinute(ge)&&le.getSecond(de)===le.getSecond(ge)}function Ht(le,de,ge,Qe){var Xe=gt(ge,Qe);return typeof Xe=="boolean"?Xe:ve(le,ge,Qe)&&le.locale.getWeek(de,ge)===le.locale.getWeek(de,Qe)}function Se(le,de,ge){return mt(le,de,ge)&&et(le,de,ge)}function ut(le,de,ge,Qe){return!de||!ge||!Qe?!1:!mt(le,de,Qe)&&!mt(le,ge,Qe)&&le.isAfter(Qe,de)&&le.isAfter(ge,Qe)}function xt(le,de,ge){var Qe=de.locale.getWeekFirstDay(le),Xe=de.setDate(ge,1),It=de.getWeekDay(Xe),bt=de.addDate(Xe,Qe-It);return de.getMonth(bt)===de.getMonth(ge)&&de.getDate(bt)>1&&(bt=de.addDate(bt,-7)),bt}function Ae(le,de,ge){var Qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(de){case"year":return ge.addYear(le,Qe*10);case"quarter":case"month":return ge.addYear(le,Qe);default:return ge.addMonth(le,Qe)}}function He(le,de){var ge=de.generateConfig,Qe=de.locale,Xe=de.format;return typeof Xe=="function"?Xe(le):ge.locale.format(Qe.locale,le,Xe)}function ct(le,de){var ge=de.generateConfig,Qe=de.locale,Xe=de.formatList;return!le||typeof Xe[0]=="function"?null:ge.locale.parse(Qe.locale,le,Xe)}function wt(le){var de=le.cellDate,ge=le.mode,Qe=le.disabledDate,Xe=le.generateConfig;if(!Qe)return!1;var It=function(Kn,on,bn){for(var qn=on;qn<=bn;){var Ta=void 0;switch(Kn){case"date":{if(Ta=Xe.setDate(de,qn),!Qe(Ta))return!1;break}case"month":{if(Ta=Xe.setMonth(de,qn),!wt({cellDate:Ta,mode:"month",generateConfig:Xe,disabledDate:Qe}))return!1;break}case"year":{if(Ta=Xe.setYear(de,qn),!wt({cellDate:Ta,mode:"year",generateConfig:Xe,disabledDate:Qe}))return!1;break}}qn+=1}return!0};switch(ge){case"date":case"week":return Qe(de);case"month":{var bt=1,ln=Xe.getDate(Xe.getEndDate(de));return It("date",bt,ln)}case"quarter":{var rn=Math.floor(Xe.getMonth(de)/3)*3,pn=rn+2;return It("month",rn,pn)}case"year":return It("month",0,11);case"decade":{var ia=Xe.getYear(de),wn=Math.floor(ia/tt)*tt,Bn=wn+tt-1;return It("year",wn,Bn)}}}function Zt(le,de){var ge=de.formatList,Qe=de.generateConfig,Xe=de.locale;return(0,Re.Z)(function(){if(!le)return[[""],""];for(var It="",bt=[],ln=0;ln<ge.length;ln+=1){var rn=ge[ln],pn=He(le,{generateConfig:Qe,locale:Xe,format:rn});bt.push(pn),ln===0&&(It=pn)}return[bt,It]},[le,ge,Xe],function(It,bt){return!Se(Qe,It[0],bt[0])||!(0,qe.Z)(It[1],bt[1],!0)||!(0,qe.Z)(It[2],bt[2],!0)})}function gn(le,de){var ge=de.formatList,Qe=de.generateConfig,Xe=de.locale,It=(0,ae.useState)(null),bt=(0,Gt.Z)(It,2),ln=bt[0],rn=bt[1],pn=(0,ae.useRef)(null);function ia(bn){var qn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(pn.current),qn){rn(bn);return}pn.current=requestAnimationFrame(function(){rn(bn)})}var wn=Zt(ln,{formatList:ge,generateConfig:Qe,locale:Xe}),Bn=(0,Gt.Z)(wn,2),Gn=Bn[1];function Kn(bn){ia(bn)}function on(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ia(null,bn)}return(0,ae.useEffect)(function(){on(!0)},[le]),(0,ae.useEffect)(function(){return function(){return cancelAnimationFrame(pn.current)}},[]),[Gn,Kn,on]}var dt=te(10228),Dt=te(16089),yt=te(94480),en=te(29194),Vt=new Map;function un(le,de){var ge;function Qe(){(0,en.Z)(le)?de():ge=(0,Dt.Z)(function(){Qe()})}return Qe(),function(){Dt.Z.cancel(ge)}}function Un(le,de,ge){if(Vt.get(le)&&cancelAnimationFrame(Vt.get(le)),ge<=0){Vt.set(le,requestAnimationFrame(function(){le.scrollTop=de}));return}var Qe=de-le.scrollTop,Xe=Qe/ge*10;Vt.set(le,requestAnimationFrame(function(){le.scrollTop+=Xe,le.scrollTop!==de&&Un(le,de,ge-10)}))}function mn(le,de){var ge=de.onLeftRight,Qe=de.onCtrlLeftRight,Xe=de.onUpDown,It=de.onPageUpDown,bt=de.onEnter,ln=le.which,rn=le.ctrlKey,pn=le.metaKey;switch(ln){case dt.Z.LEFT:if(rn||pn){if(Qe)return Qe(-1),!0}else if(ge)return ge(-1),!0;break;case dt.Z.RIGHT:if(rn||pn){if(Qe)return Qe(1),!0}else if(ge)return ge(1),!0;break;case dt.Z.UP:if(Xe)return Xe(-1),!0;break;case dt.Z.DOWN:if(Xe)return Xe(1),!0;break;case dt.Z.PAGE_UP:if(It)return It(-1),!0;break;case dt.Z.PAGE_DOWN:if(It)return It(1),!0;break;case dt.Z.ENTER:if(bt)return bt(),!0;break}return!1}function an(le,de,ge,Qe){var Xe=le;if(!Xe)switch(de){case"time":Xe=Qe?"hh:mm:ss a":"HH:mm:ss";break;case"week":Xe="gggg-wo";break;case"month":Xe="YYYY-MM";break;case"quarter":Xe="YYYY-[Q]Q";break;case"year":Xe="YYYY";break;default:Xe=ge?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Xe}function $n(le,de,ge){var Qe=le==="time"?8:10,Xe=typeof de=="function"?de(ge.getNow()).length:de.length;return Math.max(Qe,Xe)+2}var _t=null,Tt=new Set;function Xt(le){return!_t&&typeof window!="undefined"&&window.addEventListener&&(_t=function(ge){(0,yt.Z)(Tt).forEach(function(Qe){Qe(ge)})},window.addEventListener("mousedown",_t)),Tt.add(le),function(){Tt.delete(le),Tt.size===0&&(window.removeEventListener("mousedown",_t),_t=null)}}function ya(le){var de=le.target;if(le.composed&&de.shadowRoot){var ge;return((ge=le.composedPath)===null||ge===void 0?void 0:ge.call(le)[0])||de}return de}var ta=function(de){return de==="month"||de==="date"?"year":de},Mn=function(de){return de==="date"?"month":de},Ga=function(de){return de==="month"||de==="date"?"quarter":de},Ba=function(de){return de==="date"?"week":de},Nr={year:ta,month:Mn,quarter:Ga,week:Ba,time:null,date:null};function Dr(le,de){return le.some(function(ge){return ge&&ge.contains(de)})}function Xa(le){var de=le.open,ge=le.value,Qe=le.isClickOutside,Xe=le.triggerOpen,It=le.forwardKeyDown,bt=le.onKeyDown,ln=le.blurToCancel,rn=le.onSubmit,pn=le.onCancel,ia=le.onFocus,wn=le.onBlur,Bn=le.changeOnBlur,Gn=(0,ae.useState)(!1),Kn=(0,Gt.Z)(Gn,2),on=Kn[0],bn=Kn[1],qn=(0,ae.useState)(!1),Ta=(0,Gt.Z)(qn,2),Da=Ta[0],za=Ta[1],$a=(0,ae.useRef)(!1),ja=(0,ae.useRef)(!1),ba=(0,ae.useRef)(!1),so={onMouseDown:function(){bn(!0),Xe(!0)},onKeyDown:function(po){var Oo=function(){ba.current=!0};if(bt(po,Oo),!ba.current){switch(po.which){case dt.Z.ENTER:{de?rn()!==!1&&bn(!0):Xe(!0),po.preventDefault();return}case dt.Z.TAB:{on&&de&&!po.shiftKey?(bn(!1),po.preventDefault()):!on&&de&&!It(po)&&po.shiftKey&&(bn(!0),po.preventDefault());return}case dt.Z.ESC:{bn(!0),pn();return}}!de&&![dt.Z.SHIFT].includes(po.which)?Xe(!0):on||It(po)}},onFocus:function(po){bn(!0),za(!0),ia&&ia(po)},onBlur:function(po){if($a.current||!Qe(document.activeElement)){$a.current=!1;return}ln?setTimeout(function(){for(var Oo=document,Vo=Oo.activeElement;Vo&&Vo.shadowRoot;)Vo=Vo.shadowRoot.activeElement;Qe(Vo)&&pn()},0):de&&(Xe(!1),ja.current&&rn()),za(!1),wn==null||wn(po)}};return(0,ae.useEffect)(function(){ja.current=!1},[de]),(0,ae.useEffect)(function(){ja.current=!0},[ge]),(0,ae.useEffect)(function(){return Xt(function(jr){var po=ya(jr),Oo=Qe(po);de&&(Oo?!Bn&&(!Da||Oo)&&Xe(!1):($a.current=!0,(0,Dt.Z)(function(){$a.current=!1})))})}),[so,{focused:Da,typing:on}]}function at(le,de){return ae.useMemo(function(){return le||(de?((0,he.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(de).map(function(ge){var Qe=(0,Gt.Z)(ge,2),Xe=Qe[0],It=Qe[1];return{label:Xe,value:It}})):[])},[le,de])}var Mt=te(34280);function Ft(le){var de=le.valueTexts,ge=le.onTextChange,Qe=ae.useState(""),Xe=(0,Gt.Z)(Qe,2),It=Xe[0],bt=Xe[1],ln=ae.useRef([]);ln.current=de;function rn(ia){bt(ia),ge(ia)}function pn(){bt(ln.current[0])}return(0,Mt.Z)(function(){de.every(function(ia){return ia!==It})&&pn()},[de.join("||")]),[It,rn,pn]}var kn=ae.createContext({}),dn=kn,An=te(76190);function Xr(le){var de=le.cellRender,ge=le.monthCellRender,Qe=le.dateRender,Xe=ae.useMemo(function(){if(de)return de;if(!(!ge&&!Qe))return function(It,bt){var ln=It;return Qe&&bt.type==="date"?Qe(ln,bt.today):ge&&bt.type==="month"?ge(ln,bt.locale):bt.originNode}},[de,ge,Qe]);return Xe}function Fr(le,de){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Qe=String(le);Qe.length<de;)Qe="".concat(ge).concat(le);return Qe}var Kr=function(){for(var de=arguments.length,ge=new Array(de),Qe=0;Qe<de;Qe++)ge[Qe]=arguments[Qe];return ge};function ro(le){return le==null?[]:Array.isArray(le)?le:[le]}function Ja(le,de){return le?le[de]:null}function Nn(le,de,ge){var Qe=[Ja(le,0),Ja(le,1)];return Qe[ge]=typeof de=="function"?de(Qe[ge]):de,!Qe[0]&&!Qe[1]?null:Qe}function gr(le){return typeof le=="function"?le():le}function ar(le){var de=le.cellPrefixCls,ge=le.generateConfig,Qe=le.rangedValue,Xe=le.hoverRangedValue,It=le.isInView,bt=le.isSameCell,ln=le.offsetCell,rn=le.today,pn=le.value;function ia(wn){var Bn,Gn=ln(wn,-1),Kn=ln(wn,1),on=Ja(Qe,0),bn=Ja(Qe,1),qn=Ja(Xe,0),Ta=Ja(Xe,1),Da=ut(ge,qn,Ta,wn);function za(po){return bt(on,po)}function $a(po){return bt(bn,po)}var ja=bt(qn,wn),ba=bt(Ta,wn),so=(Da||ba)&&(!It(Gn)||$a(Gn)),jr=(Da||ja)&&(!It(Kn)||za(Kn));return Bn={},(0,Fe.Z)(Bn,"".concat(de,"-in-view"),It(wn)),(0,Fe.Z)(Bn,"".concat(de,"-in-range"),ut(ge,on,bn,wn)),(0,Fe.Z)(Bn,"".concat(de,"-range-start"),za(wn)),(0,Fe.Z)(Bn,"".concat(de,"-range-end"),$a(wn)),(0,Fe.Z)(Bn,"".concat(de,"-range-start-single"),za(wn)&&!bn),(0,Fe.Z)(Bn,"".concat(de,"-range-end-single"),$a(wn)&&!on),(0,Fe.Z)(Bn,"".concat(de,"-range-start-near-hover"),za(wn)&&(bt(Gn,qn)||ut(ge,qn,Ta,Gn))),(0,Fe.Z)(Bn,"".concat(de,"-range-end-near-hover"),$a(wn)&&(bt(Kn,Ta)||ut(ge,qn,Ta,Kn))),(0,Fe.Z)(Bn,"".concat(de,"-range-hover"),Da),(0,Fe.Z)(Bn,"".concat(de,"-range-hover-start"),ja),(0,Fe.Z)(Bn,"".concat(de,"-range-hover-end"),ba),(0,Fe.Z)(Bn,"".concat(de,"-range-hover-edge-start"),so),(0,Fe.Z)(Bn,"".concat(de,"-range-hover-edge-end"),jr),(0,Fe.Z)(Bn,"".concat(de,"-range-hover-edge-start-near-range"),so&&bt(Gn,bn)),(0,Fe.Z)(Bn,"".concat(de,"-range-hover-edge-end-near-range"),jr&&bt(Kn,on)),(0,Fe.Z)(Bn,"".concat(de,"-today"),bt(rn,wn)),(0,Fe.Z)(Bn,"".concat(de,"-selected"),bt(pn,wn)),Bn}return ia}var mr=ae.createContext({}),tr=mr;function ht(le,de,ge,Qe,Xe){var It=le.setHour(de,ge);return It=le.setMinute(It,Qe),It=le.setSecond(It,Xe),It}function qt(le,de,ge){if(!ge)return de;var Qe=de;return Qe=le.setHour(Qe,le.getHour(ge)),Qe=le.setMinute(Qe,le.getMinute(ge)),Qe=le.setSecond(Qe,le.getSecond(ge)),Qe}function tn(le,de,ge,Qe,Xe,It){var bt=Math.floor(le/Qe)*Qe;if(bt<le)return[bt,60-Xe,60-It];var ln=Math.floor(de/Xe)*Xe;if(ln<de)return[bt,ln,60-It];var rn=Math.floor(ge/It)*It;return[bt,ln,rn]}function Pn(le,de){var ge=le.getYear(de),Qe=le.getMonth(de)+1,Xe=le.getEndDate(le.getFixedDate("".concat(ge,"-").concat(Qe,"-01"))),It=le.getDate(Xe),bt=Qe<10?"0".concat(Qe):"".concat(Qe);return"".concat(ge,"-").concat(bt,"-").concat(It)}function Rn(le){for(var de=le.prefixCls,ge=le.disabledDate,Qe=le.onSelect,Xe=le.picker,It=le.rowNum,bt=le.colNum,ln=le.prefixColumn,rn=le.rowClassName,pn=le.baseDate,ia=le.getCellClassName,wn=le.getCellText,Bn=le.getCellNode,Gn=le.getCellDate,Kn=le.generateConfig,on=le.titleCell,bn=le.headerCells,qn=ae.useContext(dn),Ta=qn.onDateMouseEnter,Da=qn.onDateMouseLeave,za=qn.mode,$a="".concat(de,"-cell"),ja=[],ba=0;ba<It;ba+=1){for(var so=[],jr=void 0,po=function(){var ni,gi=ba*bt+Oo,Go=Gn(pn,gi),Eo=wt({cellDate:Go,mode:za,disabledDate:ge,generateConfig:Kn});Oo===0&&(jr=Go,ln&&so.push(ln(jr)));var Do=on&&on(Go),Qo=ae.createElement("div",{className:"".concat($a,"-inner")},wn(Go));so.push(ae.createElement("td",{key:Oo,title:Do,className:Je()($a,(0,Qt.Z)((ni={},(0,Fe.Z)(ni,"".concat($a,"-disabled"),Eo),(0,Fe.Z)(ni,"".concat($a,"-start"),wn(Go)===1||Xe==="year"&&Number(Do)%10===0),(0,Fe.Z)(ni,"".concat($a,"-end"),Do===Pn(Kn,Go)||Xe==="year"&&Number(Do)%10===9),ni),ia(Go))),onClick:function(){Eo||Qe(Go)},onMouseEnter:function(){!Eo&&Ta&&Ta(Go)},onMouseLeave:function(){!Eo&&Da&&Da(Go)}},Bn?Bn(Go,Qo):Qo))},Oo=0;Oo<bt;Oo+=1)po();ja.push(ae.createElement("tr",{key:ba,className:rn&&rn(jr)},so))}return ae.createElement("div",{className:"".concat(de,"-body")},ae.createElement("table",{className:"".concat(de,"-content")},bn&&ae.createElement("thead",null,ae.createElement("tr",null,bn)),ae.createElement("tbody",null,ja)))}function cn(le){var de=le.prefixCls,ge=le.generateConfig,Qe=le.prefixColumn,Xe=le.locale,It=le.rowCount,bt=le.viewDate,ln=le.value,rn=le.cellRender,pn=le.isSameCell,ia=ae.useContext(tr),wn=ia.rangedValue,Bn=ia.hoverRangedValue,Gn=xt(Xe.locale,ge,bt),Kn="".concat(de,"-cell"),on=ge.locale.getWeekFirstDay(Xe.locale),bn=ge.getNow(),qn=[],Ta=Xe.shortWeekDays||(ge.locale.getShortWeekDays?ge.locale.getShortWeekDays(Xe.locale):[]);Qe&&qn.push(ae.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Da=0;Da<ft;Da+=1)qn.push(ae.createElement("th",{key:Da},Ta[(Da+on)%ft]));var za=ar({cellPrefixCls:Kn,today:bn,value:ln,generateConfig:ge,rangedValue:Qe?null:wn,hoverRangedValue:Qe?null:Bn,isSameCell:pn||function(ja,ba){return mt(ge,ja,ba)},isInView:function(ba){return we(ge,ba,bt)},offsetCell:function(ba,so){return ge.addDate(ba,so)}}),$a=rn?function(ja,ba){return rn(ja,{originNode:ba,today:bn,type:"date",locale:Xe})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:It,colNum:ft,baseDate:Gn,getCellNode:$a,getCellText:ge.getDate,getCellClassName:za,getCellDate:ge.addDate,titleCell:function(ba){return He(ba,{locale:Xe,format:"YYYY-MM-DD",generateConfig:ge})},headerCells:qn}))}var On=cn,yn={visibility:"hidden"};function rr(le){var de=le.prefixCls,ge=le.prevIcon,Qe=ge===void 0?"\u2039":ge,Xe=le.nextIcon,It=Xe===void 0?"\u203A":Xe,bt=le.superPrevIcon,ln=bt===void 0?"\xAB":bt,rn=le.superNextIcon,pn=rn===void 0?"\xBB":rn,ia=le.onSuperPrev,wn=le.onSuperNext,Bn=le.onPrev,Gn=le.onNext,Kn=le.children,on=ae.useContext(dn),bn=on.hideNextBtn,qn=on.hidePrevBtn;return ae.createElement("div",{className:de},ia&&ae.createElement("button",{type:"button",onClick:ia,tabIndex:-1,className:"".concat(de,"-super-prev-btn"),style:qn?yn:{}},ln),Bn&&ae.createElement("button",{type:"button",onClick:Bn,tabIndex:-1,className:"".concat(de,"-prev-btn"),style:qn?yn:{}},Qe),ae.createElement("div",{className:"".concat(de,"-view")},Kn),Gn&&ae.createElement("button",{type:"button",onClick:Gn,tabIndex:-1,className:"".concat(de,"-next-btn"),style:bn?yn:{}},It),wn&&ae.createElement("button",{type:"button",onClick:wn,tabIndex:-1,className:"".concat(de,"-super-next-btn"),style:bn?yn:{}},pn))}var Ma=rr;function ur(le){var de=le.prefixCls,ge=le.generateConfig,Qe=le.locale,Xe=le.viewDate,It=le.onNextMonth,bt=le.onPrevMonth,ln=le.onNextYear,rn=le.onPrevYear,pn=le.onYearClick,ia=le.onMonthClick,wn=ae.useContext(dn),Bn=wn.hideHeader;if(Bn)return null;var Gn="".concat(de,"-header"),Kn=Qe.shortMonths||(ge.locale.getShortMonths?ge.locale.getShortMonths(Qe.locale):[]),on=ge.getMonth(Xe),bn=ae.createElement("button",{type:"button",key:"year",onClick:pn,tabIndex:-1,className:"".concat(de,"-year-btn")},He(Xe,{locale:Qe,format:Qe.yearFormat,generateConfig:ge})),qn=ae.createElement("button",{type:"button",key:"month",onClick:ia,tabIndex:-1,className:"".concat(de,"-month-btn")},Qe.monthFormat?He(Xe,{locale:Qe,format:Qe.monthFormat,generateConfig:ge}):Kn[on]),Ta=Qe.monthBeforeYear?[qn,bn]:[bn,qn];return ae.createElement(Ma,(0,oe.Z)({},le,{prefixCls:Gn,onSuperPrev:rn,onPrev:bt,onNext:It,onSuperNext:ln}),Ta)}var Fn=ur,oo=6;function to(le){var de=le.prefixCls,ge=le.panelName,Qe=ge===void 0?"date":ge,Xe=le.keyboardConfig,It=le.active,bt=le.operationRef,ln=le.generateConfig,rn=le.value,pn=le.viewDate,ia=le.onViewDateChange,wn=le.onPanelChange,Bn=le.onSelect,Gn="".concat(de,"-").concat(Qe,"-panel");bt.current={onKeyDown:function(qn){return mn(qn,(0,Qt.Z)({onLeftRight:function(Da){Bn(ln.addDate(rn||pn,Da),"key")},onCtrlLeftRight:function(Da){Bn(ln.addYear(rn||pn,Da),"key")},onUpDown:function(Da){Bn(ln.addDate(rn||pn,Da*ft),"key")},onPageUpDown:function(Da){Bn(ln.addMonth(rn||pn,Da),"key")}},Xe))}};var Kn=function(qn){var Ta=ln.addYear(pn,qn);ia(Ta),wn(null,Ta)},on=function(qn){var Ta=ln.addMonth(pn,qn);ia(Ta),wn(null,Ta)};return ae.createElement("div",{className:Je()(Gn,(0,Fe.Z)({},"".concat(Gn,"-active"),It))},ae.createElement(Fn,(0,oe.Z)({},le,{prefixCls:de,value:rn,viewDate:pn,onPrevYear:function(){Kn(-1)},onNextYear:function(){Kn(1)},onPrevMonth:function(){on(-1)},onNextMonth:function(){on(1)},onMonthClick:function(){wn("month",pn)},onYearClick:function(){wn("year",pn)}})),ae.createElement(On,(0,oe.Z)({},le,{onSelect:function(qn){return Bn(qn,"mouse")},prefixCls:de,value:rn,viewDate:pn,rowCount:oo})))}var Ko=to;function jn(le){var de=ae.useContext(dn),ge=de.hideHeader;if(ge)return null;var Qe=le.prefixCls,Xe=le.generateConfig,It=le.locale,bt=le.value,ln=le.format,rn="".concat(Qe,"-header");return ae.createElement(Ma,{prefixCls:rn},bt?He(bt,{locale:It,format:ln,generateConfig:Xe}):"\xA0")}var Ra=jn;function Qa(le){var de=le.value,ge=le.generateConfig,Qe=le.disabledMinutes,Xe=le.disabledSeconds,It=le.minutes,bt=le.seconds,ln=le.use12Hours,rn=function(ia,wn,Bn,Gn){var Kn=ge.getNow(),on=de||Kn,bn=wn<0?ge.getHour(Kn):wn,qn=Bn<0?ge.getMinute(Kn):Bn,Ta=Gn<0?ge.getSecond(Kn):Gn,Da=Qe&&Qe(bn);if(Da!=null&&Da.includes(qn)){var za=It.find(function(ba){return!Da.includes(ba.value)});if(za)qn=za.value;else return null}var $a=Xe&&Xe(bn,qn);if($a!=null&&$a.includes(Ta)){var ja=bt.find(function(ba){return!$a.includes(ba.value)});if(ja)Ta=ja.value;else return null}return on=ht(ge,on,!ln||!ia?bn:bn+12,qn,Ta),on};return rn}function Oa(le){var de=le.prefixCls,ge=le.units,Qe=le.onSelect,Xe=le.value,It=le.active,bt=le.hideDisabledOptions,ln=le.info,rn=le.type,pn="".concat(de,"-cell"),ia=ae.useContext(dn),wn=ia.open,Bn=(0,ae.useRef)(null),Gn=(0,ae.useRef)(new Map),Kn=(0,ae.useRef)();return(0,ae.useLayoutEffect)(function(){var on=Gn.current.get(Xe);on&&wn!==!1&&Un(Bn.current,on.offsetTop,120)},[Xe]),(0,ae.useLayoutEffect)(function(){if(wn){var on=Gn.current.get(Xe);on&&(Kn.current=un(on,function(){Un(Bn.current,on.offsetTop,0)}))}return function(){var bn;(bn=Kn.current)===null||bn===void 0||bn.call(Kn)}},[wn]),ae.createElement("ul",{className:Je()("".concat(de,"-column"),(0,Fe.Z)({},"".concat(de,"-column-active"),It)),ref:Bn,style:{position:"relative"}},ge.map(function(on){var bn;return bt&&on.disabled?null:ae.createElement("li",{key:on.value,ref:function(Ta){Gn.current.set(on.value,Ta)},className:Je()(pn,(bn={},(0,Fe.Z)(bn,"".concat(pn,"-disabled"),on.disabled),(0,Fe.Z)(bn,"".concat(pn,"-selected"),Xe===on.value),bn)),onClick:function(){on.disabled||Qe(on.value)}},ln.cellRender?ln.cellRender(on.value,{today:ln.today,locale:ln.locale,originNode:ae.createElement("div",{className:"".concat(pn,"-inner")},on.label),type:"time",subType:rn}):ae.createElement("div",{className:"".concat(pn,"-inner")},on.label))}))}var Ir=Oa;function Er(le,de){if(le.length!==de.length)return!0;for(var ge=0;ge<le.length;ge+=1)if(le[ge].disabled!==de[ge].disabled)return!0;return!1}function Cr(le,de,ge,Qe){for(var Xe=[],It=ge>=1?ge|0:1,bt=le;bt<=de;bt+=It)Xe.push({label:Fr(bt,2),value:bt,disabled:(Qe||[]).includes(bt)});return Xe}function fo(le){var de=le.generateConfig,ge=le.prefixCls,Qe=le.operationRef,Xe=le.activeColumnIndex,It=le.value,bt=le.showHour,ln=le.showMinute,rn=le.showSecond,pn=le.use12Hours,ia=le.hourStep,wn=ia===void 0?1:ia,Bn=le.minuteStep,Gn=Bn===void 0?1:Bn,Kn=le.secondStep,on=Kn===void 0?1:Kn,bn=le.disabledHours,qn=le.disabledMinutes,Ta=le.disabledSeconds,Da=le.disabledTime,za=le.hideDisabledOptions,$a=le.onSelect,ja=le.cellRender,ba=le.locale,so=[],jr="".concat(ge,"-content"),po="".concat(ge,"-time-panel"),Oo,Vo=It?de.getHour(It):-1,ni=Vo,gi=It?de.getMinute(It):-1,Go=It?de.getSecond(It):-1,Eo=de.getNow(),Do=ae.useMemo(function(){if(Da){var jt=Da(Eo);return[jt.disabledHours,jt.disabledMinutes,jt.disabledSeconds]}return[bn,qn,Ta]},[bn,qn,Ta,Da,Eo]),Qo=(0,Gt.Z)(Do,3),ai=Qo[0],Mo=Qo[1],Ho=Qo[2],Ai=Cr(0,23,wn,ai&&ai()),Ci=(0,Re.Z)(function(){return Ai},Ai,Er);pn&&(Oo=ni>=12,ni%=12);var ce=ae.useMemo(function(){if(!pn)return[!1,!1];var jt=[!0,!0];return Ci.forEach(function(Kt){var En=Kt.disabled,Sn=Kt.value;En||(Sn>=12?jt[1]=!1:jt[0]=!1)}),jt},[pn,Ci]),pe=(0,Gt.Z)(ce,2),ke=pe[0],Ue=pe[1],ot=ae.useMemo(function(){return pn?Ci.filter(Oo?function(jt){return jt.value>=12}:function(jt){return jt.value<12}).map(function(jt){var Kt=jt.value%12,En=Kt===0?"12":Fr(Kt,2);return(0,Qt.Z)((0,Qt.Z)({},jt),{},{label:En,value:Kt})}):Ci},[pn,Oo,Ci]),lt=Cr(0,59,Gn,Mo&&Mo(Vo)),Ot=Cr(0,59,on,Ho&&Ho(Vo,gi)),Lt=Qa({value:It,generateConfig:de,disabledMinutes:Mo,disabledSeconds:Ho,minutes:lt,seconds:Ot,use12Hours:pn});Qe.current={onUpDown:function(Kt){var En=so[Xe];if(En)for(var Sn=En.units.findIndex(function(la){return la.value===En.value}),xn=En.units.length,Wn=1;Wn<xn;Wn+=1){var Zn=En.units[(Sn+Kt*Wn+xn)%xn];if(Zn.disabled!==!0){En.onSelect(Zn.value);break}}}};function Bt(jt,Kt,En,Sn,xn){jt!==!1&&so.push({node:ae.cloneElement(Kt,{prefixCls:po,value:En,active:Xe===so.length,onSelect:xn,units:Sn,hideDisabledOptions:za}),onSelect:xn,value:En,units:Sn})}Bt(bt,ae.createElement(Ir,{key:"hour",type:"hour",info:{today:Eo,locale:ba,cellRender:ja}}),ni,ot,function(jt){$a(Lt(Oo,jt,gi,Go),"mouse")}),Bt(ln,ae.createElement(Ir,{key:"minute",type:"minute",info:{today:Eo,locale:ba,cellRender:ja}}),gi,lt,function(jt){$a(Lt(Oo,ni,jt,Go),"mouse")}),Bt(rn,ae.createElement(Ir,{key:"second",type:"second",info:{today:Eo,locale:ba,cellRender:ja}}),Go,Ot,function(jt){$a(Lt(Oo,ni,gi,jt),"mouse")});var $t=-1;return typeof Oo=="boolean"&&($t=Oo?1:0),Bt(pn===!0,ae.createElement(Ir,{key:"meridiem",type:"meridiem",info:{today:Eo,locale:ba,cellRender:ja}}),$t,[{label:"AM",value:0,disabled:ke},{label:"PM",value:1,disabled:Ue}],function(jt){$a(Lt(!!jt,ni,gi,Go),"mouse")}),ae.createElement("div",{className:jr},so.map(function(jt){var Kt=jt.node;return Kt}))}var Ao=fo,wi=function(de){return de.filter(function(ge){return ge!==!1}).length};function Fi(le){var de=le.generateConfig,ge=le.format,Qe=ge===void 0?"HH:mm:ss":ge,Xe=le.prefixCls,It=le.active,bt=le.operationRef,ln=le.showHour,rn=le.showMinute,pn=le.showSecond,ia=le.use12Hours,wn=ia===void 0?!1:ia,Bn=le.onSelect,Gn=le.value,Kn="".concat(Xe,"-time-panel"),on=ae.useRef(),bn=ae.useState(-1),qn=(0,Gt.Z)(bn,2),Ta=qn[0],Da=qn[1],za=wi([ln,rn,pn,wn]);return bt.current={onKeyDown:function(ja){return mn(ja,{onLeftRight:function(so){Da((Ta+so+za)%za)},onUpDown:function(so){Ta===-1?Da(0):on.current&&on.current.onUpDown(so)},onEnter:function(){Bn(Gn||de.getNow(),"key"),Da(-1)}})},onBlur:function(){Da(-1)}},ae.createElement("div",{className:Je()(Kn,(0,Fe.Z)({},"".concat(Kn,"-active"),It))},ae.createElement(Ra,(0,oe.Z)({},le,{format:Qe,prefixCls:Xe})),ae.createElement(Ao,(0,oe.Z)({},le,{prefixCls:Xe,activeColumnIndex:Ta,operationRef:on})))}var hi=Fi,Ui=Kr("date","time");function _n(le){var de=le.prefixCls,ge=le.operationRef,Qe=le.generateConfig,Xe=le.value,It=le.defaultValue,bt=le.disabledTime,ln=le.showTime,rn=le.onSelect,pn=le.cellRender,ia="".concat(de,"-datetime-panel"),wn=ae.useState(null),Bn=(0,Gt.Z)(wn,2),Gn=Bn[0],Kn=Bn[1],on=ae.useRef({}),bn=ae.useRef({}),qn=(0,An.Z)(ln)==="object"?(0,Qt.Z)({},ln):{};function Ta(ja){var ba=Ui.indexOf(Gn)+ja,so=Ui[ba]||null;return so}var Da=function(ba){bn.current.onBlur&&bn.current.onBlur(ba),Kn(null)};ge.current={onKeyDown:function(ba){if(ba.which===dt.Z.TAB){var so=Ta(ba.shiftKey?-1:1);return Kn(so),so&&ba.preventDefault(),!0}if(Gn){var jr=Gn==="date"?on:bn;return jr.current&&jr.current.onKeyDown&&jr.current.onKeyDown(ba),!0}return[dt.Z.LEFT,dt.Z.RIGHT,dt.Z.UP,dt.Z.DOWN].includes(ba.which)?(Kn("date"),!0):!1},onBlur:Da,onClose:Da};var za=function(ba,so){var jr=ba;so==="date"&&!Xe&&qn.defaultValue?(jr=Qe.setHour(jr,Qe.getHour(qn.defaultValue)),jr=Qe.setMinute(jr,Qe.getMinute(qn.defaultValue)),jr=Qe.setSecond(jr,Qe.getSecond(qn.defaultValue))):so==="time"&&!Xe&&It&&(jr=Qe.setYear(jr,Qe.getYear(It)),jr=Qe.setMonth(jr,Qe.getMonth(It)),jr=Qe.setDate(jr,Qe.getDate(It))),rn&&rn(jr,"mouse")},$a=bt?bt(Xe||null):{};return ae.createElement("div",{className:Je()(ia,(0,Fe.Z)({},"".concat(ia,"-active"),Gn))},ae.createElement(Ko,(0,oe.Z)({},le,{cellRender:pn,operationRef:on,active:Gn==="date",onSelect:function(ba){za(qt(Qe,ba,!Xe&&(0,An.Z)(ln)==="object"?ln.defaultValue:null),"date")}})),ae.createElement(hi,(0,oe.Z)({},le,{cellRender:pn?function(ja,ba){return pn(ja,(0,Qt.Z)((0,Qt.Z)({},ba),{},{type:"time"}))}:void 0,format:void 0},qn,$a,{disabledTime:null,defaultValue:void 0,operationRef:bn,active:Gn==="time",onSelect:function(ba){za(ba,"time")}})))}var Na=_n;function co(le){var de=le.prefixCls,ge=le.generateConfig,Qe=le.viewDate,Xe=le.onPrevDecades,It=le.onNextDecades,bt=ae.useContext(dn),ln=bt.hideHeader;if(ln)return null;var rn="".concat(de,"-header"),pn=ge.getYear(Qe),ia=Math.floor(pn/Le)*Le,wn=ia+Le-1;return ae.createElement(Ma,(0,oe.Z)({},le,{prefixCls:rn,onSuperPrev:Xe,onSuperNext:It}),ia,"-",wn)}var Co=co,bo=3,Ei=4;function yi(le){var de=tt-1,ge=le.prefixCls,Qe=le.viewDate,Xe=le.generateConfig,It=le.cellRender,bt=le.locale,ln="".concat(ge,"-cell"),rn=Xe.getYear(Qe),pn=Math.floor(rn/tt)*tt,ia=Math.floor(rn/Le)*Le,wn=ia+Le-1,Bn=Xe.setYear(Qe,ia-Math.ceil((bo*Ei*tt-Le)/2)),Gn=function(bn){var qn,Ta=Xe.getYear(bn),Da=Ta+de;return qn={},(0,Fe.Z)(qn,"".concat(ln,"-in-view"),ia<=Ta&&Da<=wn),(0,Fe.Z)(qn,"".concat(ln,"-selected"),Ta===pn),qn},Kn=It?function(on,bn){return It(on,{originNode:bn,today:Xe.getNow(),type:"decade",locale:bt})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:Ei,colNum:bo,baseDate:Bn,getCellNode:Kn,getCellText:function(bn){var qn=Xe.getYear(bn);return"".concat(qn,"-").concat(qn+de)},getCellClassName:Gn,getCellDate:function(bn,qn){return Xe.addYear(bn,qn*tt)}}))}var $i=yi;function Ni(le){var de=le.prefixCls,ge=le.onViewDateChange,Qe=le.generateConfig,Xe=le.viewDate,It=le.operationRef,bt=le.onSelect,ln=le.onPanelChange,rn="".concat(de,"-decade-panel");It.current={onKeyDown:function(Bn){return mn(Bn,{onLeftRight:function(Kn){bt(Qe.addYear(Xe,Kn*tt),"key")},onCtrlLeftRight:function(Kn){bt(Qe.addYear(Xe,Kn*Le),"key")},onUpDown:function(Kn){bt(Qe.addYear(Xe,Kn*tt*bo),"key")},onEnter:function(){ln("year",Xe)}})}};var pn=function(Bn){var Gn=Qe.addYear(Xe,Bn*Le);ge(Gn),ln(null,Gn)},ia=function(Bn){bt(Bn,"mouse"),ln("year",Bn)};return ae.createElement("div",{className:rn},ae.createElement(Co,(0,oe.Z)({},le,{prefixCls:de,onPrevDecades:function(){pn(-1)},onNextDecades:function(){pn(1)}})),ae.createElement($i,(0,oe.Z)({},le,{prefixCls:de,onSelect:ia})))}var Ce=Ni;function Te(le){var de=le.prefixCls,ge=le.generateConfig,Qe=le.locale,Xe=le.viewDate,It=le.onNextYear,bt=le.onPrevYear,ln=le.onYearClick,rn=ae.useContext(dn),pn=rn.hideHeader;if(pn)return null;var ia="".concat(de,"-header");return ae.createElement(Ma,(0,oe.Z)({},le,{prefixCls:ia,onSuperPrev:bt,onSuperNext:It}),ae.createElement("button",{type:"button",onClick:ln,className:"".concat(de,"-year-btn")},He(Xe,{locale:Qe,format:Qe.yearFormat,generateConfig:ge})))}var Ye=Te,Ct=3,Jt=4;function Ut(le){var de=le.prefixCls,ge=le.locale,Qe=le.value,Xe=le.viewDate,It=le.generateConfig,bt=le.cellRender,ln=ae.useContext(tr),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia="".concat(de,"-cell"),wn=ar({cellPrefixCls:ia,value:Qe,generateConfig:It,rangedValue:rn,hoverRangedValue:pn,isSameCell:function(bn,qn){return we(It,bn,qn)},isInView:function(){return!0},offsetCell:function(bn,qn){return It.addMonth(bn,qn)}}),Bn=ge.shortMonths||(It.locale.getShortMonths?It.locale.getShortMonths(ge.locale):[]),Gn=It.setMonth(Xe,0),Kn=bt?function(on,bn){return bt(on,{originNode:bn,locale:ge,today:It.getNow(),type:"month"})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:Jt,colNum:Ct,baseDate:Gn,getCellNode:Kn,getCellText:function(bn){return ge.monthFormat?He(bn,{locale:ge,format:ge.monthFormat,generateConfig:It}):Bn[It.getMonth(bn)]},getCellClassName:wn,getCellDate:It.addMonth,titleCell:function(bn){return He(bn,{locale:ge,format:"YYYY-MM",generateConfig:It})}}))}var Ln=Ut;function fn(le){var de=le.prefixCls,ge=le.operationRef,Qe=le.onViewDateChange,Xe=le.generateConfig,It=le.value,bt=le.viewDate,ln=le.onPanelChange,rn=le.onSelect,pn="".concat(de,"-month-panel");ge.current={onKeyDown:function(Bn){return mn(Bn,{onLeftRight:function(Kn){rn(Xe.addMonth(It||bt,Kn),"key")},onCtrlLeftRight:function(Kn){rn(Xe.addYear(It||bt,Kn),"key")},onUpDown:function(Kn){rn(Xe.addMonth(It||bt,Kn*Ct),"key")},onEnter:function(){ln("date",It||bt)}})}};var ia=function(Bn){var Gn=Xe.addYear(bt,Bn);Qe(Gn),ln(null,Gn)};return ae.createElement("div",{className:pn},ae.createElement(Ye,(0,oe.Z)({},le,{prefixCls:de,onPrevYear:function(){ia(-1)},onNextYear:function(){ia(1)},onYearClick:function(){ln("year",bt)}})),ae.createElement(Ln,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(Bn){rn(Bn,"mouse"),ln("date",Bn)}})))}var Yn=fn;function Sa(le){var de=le.prefixCls,ge=le.generateConfig,Qe=le.locale,Xe=le.viewDate,It=le.onNextYear,bt=le.onPrevYear,ln=le.onYearClick,rn=ae.useContext(dn),pn=rn.hideHeader;if(pn)return null;var ia="".concat(de,"-header");return ae.createElement(Ma,(0,oe.Z)({},le,{prefixCls:ia,onSuperPrev:bt,onSuperNext:It}),ae.createElement("button",{type:"button",onClick:ln,className:"".concat(de,"-year-btn")},He(Xe,{locale:Qe,format:Qe.yearFormat,generateConfig:ge})))}var Ea=Sa,ca=4,Mr=1;function kr(le){var de=le.prefixCls,ge=le.locale,Qe=le.value,Xe=le.viewDate,It=le.generateConfig,bt=le.cellRender,ln=ae.useContext(tr),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia="".concat(de,"-cell"),wn=ar({cellPrefixCls:ia,value:Qe,generateConfig:It,rangedValue:rn,hoverRangedValue:pn,isSameCell:function(on,bn){return We(It,on,bn)},isInView:function(){return!0},offsetCell:function(on,bn){return It.addMonth(on,bn*3)}}),Bn=It.setDate(It.setMonth(Xe,0),1),Gn=bt?function(Kn,on){return bt(Kn,{originNode:on,locale:ge,today:It.getNow(),type:"quarter"})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:Mr,colNum:ca,baseDate:Bn,getCellNode:Gn,getCellText:function(on){return He(on,{locale:ge,format:ge.quarterFormat||"[Q]Q",generateConfig:It})},getCellClassName:wn,getCellDate:function(on,bn){return It.addMonth(on,bn*3)},titleCell:function(on){return He(on,{locale:ge,format:"YYYY-[Q]Q",generateConfig:It})}}))}var Zo=kr;function Ur(le){var de=le.prefixCls,ge=le.operationRef,Qe=le.onViewDateChange,Xe=le.generateConfig,It=le.value,bt=le.viewDate,ln=le.onPanelChange,rn=le.onSelect,pn="".concat(de,"-quarter-panel");ge.current={onKeyDown:function(Bn){return mn(Bn,{onLeftRight:function(Kn){rn(Xe.addMonth(It||bt,Kn*3),"key")},onCtrlLeftRight:function(Kn){rn(Xe.addYear(It||bt,Kn),"key")},onUpDown:function(Kn){rn(Xe.addYear(It||bt,Kn),"key")}})}};var ia=function(Bn){var Gn=Xe.addYear(bt,Bn);Qe(Gn),ln(null,Gn)};return ae.createElement("div",{className:pn},ae.createElement(Ea,(0,oe.Z)({},le,{prefixCls:de,onPrevYear:function(){ia(-1)},onNextYear:function(){ia(1)},onYearClick:function(){ln("year",bt)}})),ae.createElement(Zo,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(Bn){rn(Bn,"mouse")}})))}var ho=Ur;function ga(le){var de=le.prefixCls,ge=le.generateConfig,Qe=le.locale,Xe=le.value,It=le.disabledDate,bt=le.onSelect,ln=ae.useContext(tr),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia=ae.useContext(dn),wn=ia.onDateMouseEnter,Bn=ia.onDateMouseLeave,Gn=(pn==null?void 0:pn[0])||(rn==null?void 0:rn[0]),Kn=(pn==null?void 0:pn[1])||(rn==null?void 0:rn[1]),on="".concat(de,"-cell"),bn=function(za){var $a=wt({cellDate:za,mode:"week",disabledDate:It,generateConfig:ge});return ae.createElement("td",{key:"week",className:Je()(on,"".concat(on,"-week")),onClick:function(){$a||bt(za,"mouse")},onMouseEnter:function(){!$a&&wn&&wn(za)},onMouseLeave:function(){!$a&&Bn&&Bn(za)}},ae.createElement("div",{className:"".concat(on,"-inner")},ge.locale.getWeek(Qe.locale,za)))},qn="".concat(de,"-week-panel-row"),Ta=function(za){var $a,ja=Ht(ge,Qe.locale,Gn,za),ba=Ht(ge,Qe.locale,Kn,za);return Je()(qn,($a={},(0,Fe.Z)($a,"".concat(qn,"-selected"),!rn&&Ht(ge,Qe.locale,Xe,za)),(0,Fe.Z)($a,"".concat(qn,"-range-start"),ja),(0,Fe.Z)($a,"".concat(qn,"-range-end"),ba),(0,Fe.Z)($a,"".concat(qn,"-range-hover"),!ja&&!ba&&ut(ge,Gn,Kn,za)),$a))};return ae.createElement(Ko,(0,oe.Z)({},le,{panelName:"week",prefixColumn:bn,rowClassName:Ta,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Jn=ga,Qn=10;function pa(le){var de=le.prefixCls,ge=le.generateConfig,Qe=le.viewDate,Xe=le.onPrevDecade,It=le.onNextDecade,bt=le.onDecadeClick,ln=ae.useContext(dn),rn=ln.hideHeader;if(rn)return null;var pn="".concat(de,"-header"),ia=ge.getYear(Qe),wn=Math.floor(ia/Qn)*Qn,Bn=wn+Qn-1;return ae.createElement(Ma,(0,oe.Z)({},le,{prefixCls:pn,onSuperPrev:Xe,onSuperNext:It}),ae.createElement("button",{type:"button",onClick:bt,className:"".concat(de,"-decade-btn")},wn,"-",Bn))}var hr=pa,or=3,Zr=4;function Tr(le){var de=le.prefixCls,ge=le.value,Qe=le.viewDate,Xe=le.locale,It=le.generateConfig,bt=le.cellRender,ln=ae.useContext(tr),rn=ln.rangedValue,pn=ln.hoverRangedValue,ia="".concat(de,"-cell"),wn=It.getYear(Qe),Bn=Math.floor(wn/Qn)*Qn,Gn=Bn+Qn-1,Kn=It.setYear(Qe,Bn-Math.ceil((or*Zr-Qn)/2)),on=It.getNow(),bn=function(za){var $a=It.getYear(za);return Bn<=$a&&$a<=Gn},qn=ar({cellPrefixCls:ia,value:ge,generateConfig:It,rangedValue:rn,hoverRangedValue:pn,isSameCell:function(za,$a){return ve(It,za,$a)},isInView:bn,offsetCell:function(za,$a){return It.addYear(za,$a)}}),Ta=bt?function(Da,za){return bt(Da,{originNode:za,today:on,type:"year",locale:Xe})}:void 0;return ae.createElement(Rn,(0,oe.Z)({},le,{rowNum:Zr,colNum:or,baseDate:Kn,getCellNode:Ta,getCellText:It.getYear,getCellClassName:qn,getCellDate:It.addYear,titleCell:function(za){return He(za,{locale:Xe,format:"YYYY",generateConfig:It})}}))}var vo=Tr;function Lo(le){var de=le.prefixCls,ge=le.operationRef,Qe=le.onViewDateChange,Xe=le.generateConfig,It=le.value,bt=le.viewDate,ln=le.sourceMode,rn=le.onSelect,pn=le.onPanelChange,ia="".concat(de,"-year-panel");ge.current={onKeyDown:function(Gn){return mn(Gn,{onLeftRight:function(on){rn(Xe.addYear(It||bt,on),"key")},onCtrlLeftRight:function(on){rn(Xe.addYear(It||bt,on*Qn),"key")},onUpDown:function(on){rn(Xe.addYear(It||bt,on*or),"key")},onEnter:function(){pn(ln==="date"?"date":"month",It||bt)}})}};var wn=function(Gn){var Kn=Xe.addYear(bt,Gn*10);Qe(Kn),pn(null,Kn)};return ae.createElement("div",{className:ia},ae.createElement(hr,(0,oe.Z)({},le,{prefixCls:de,onPrevDecade:function(){wn(-1)},onNextDecade:function(){wn(1)},onDecadeClick:function(){pn("decade",bt)}})),ae.createElement(vo,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(Gn){pn(ln==="date"?"date":"month",Gn),rn(Gn,"mouse")}})))}var zo=Lo;function sr(le,de,ge){return ge?ae.createElement("div",{className:"".concat(le,"-footer-extra")},ge(de)):null}function ao(le){var de=le.prefixCls,ge=le.components,Qe=ge===void 0?{}:ge,Xe=le.needConfirmButton,It=le.onNow,bt=le.onOk,ln=le.okDisabled,rn=le.showNow,pn=le.locale,ia,wn;if(Xe){var Bn=Qe.button||"button";It&&rn!==!1&&(ia=ae.createElement("li",{className:"".concat(de,"-now")},ae.createElement("a",{className:"".concat(de,"-now-btn"),onClick:It},pn.now))),wn=Xe&&ae.createElement("li",{className:"".concat(de,"-ok")},ae.createElement(Bn,{disabled:ln,onClick:bt},pn.ok))}return!ia&&!wn?null:ae.createElement("ul",{className:"".concat(de,"-ranges")},ia,wn)}var xo=["date","month"];function uo(le){var de,ge=le,Qe=ge.prefixCls,Xe=Qe===void 0?"rc-picker":Qe,It=ge.className,bt=ge.style,ln=ge.locale,rn=ge.generateConfig,pn=ge.value,ia=ge.defaultValue,wn=ge.pickerValue,Bn=ge.defaultPickerValue,Gn=ge.disabledDate,Kn=ge.mode,on=ge.picker,bn=on===void 0?"date":on,qn=ge.tabIndex,Ta=qn===void 0?0:qn,Da=ge.showNow,za=ge.showTime,$a=ge.showToday,ja=ge.renderExtraFooter,ba=ge.hideHeader,so=ge.onSelect,jr=ge.onChange,po=ge.onPanelChange,Oo=ge.onMouseDown,Vo=ge.onPickerValueChange,ni=ge.onOk,gi=ge.components,Go=ge.direction,Eo=ge.hourStep,Do=Eo===void 0?1:Eo,Qo=ge.minuteStep,ai=Qo===void 0?1:Qo,Mo=ge.secondStep,Ho=Mo===void 0?1:Mo,Ai=ge.dateRender,Ci=ge.monthCellRender,ce=ge.cellRender,pe=bn==="date"&&!!za||bn==="time",ke=24%Do===0,Ue=60%ai===0,ot=60%Ho===0,lt=ae.useContext(dn),Ot=lt.operationRef,Lt=lt.onSelect,Bt=lt.hideRanges,$t=lt.defaultOpenValue,jt=ae.useContext(tr),Kt=jt.inRange,En=jt.panelPosition,Sn=jt.rangedValue,xn=jt.hoverRangedValue,Wn=ae.useRef({}),Zn=ae.useRef(!0),la=(0,Hn.Z)(null,{value:pn,defaultValue:ia,postState:function(Dn){return!Dn&&$t&&bn==="time"?$t:Dn}}),na=(0,Gt.Z)(la,2),da=na[0],Ya=na[1],ir=(0,Hn.Z)(null,{value:wn,defaultValue:Bn||da,postState:function(Dn){var ha=rn.getNow();if(!Dn)return ha;if(!da&&za){var Or=(0,An.Z)(za)==="object"?za.defaultValue:ia;return qt(rn,Array.isArray(Dn)?Dn[0]:Dn,Or||ha)}return Array.isArray(Dn)?Dn[0]:Dn}}),ka=(0,Gt.Z)(ir,2),qa=ka[0],Lr=ka[1],va=function(Dn){Lr(Dn),Vo&&Vo(Dn)},_a=function(Dn){var ha=Nr[bn];return ha?ha(Dn):Dn},xa=(0,Hn.Z)(function(){return bn==="time"?"time":_a("date")},{value:Kn}),ua=(0,Gt.Z)(xa,2),ma=ua[0],er=ua[1];ae.useEffect(function(){er(bn)},[bn]);var Gr=ae.useState(function(){return ma}),Rr=(0,Gt.Z)(Gr,2),Ka=Rr[0],_r=Rr[1],Wr=function(Dn,ha){var Or=_a(Dn||ma);_r(ma),er(Or),po&&(ma!==Or||Se(rn,qa,qa))&&po(ha,Or)},Jr=function(Dn,ha){var Or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ma===bn||Or)&&(Ya(Dn),so&&so(Dn),Lt&&Lt(Dn,ha),jr&&!Se(rn,Dn,da)&&!(Gn!=null&&Gn(Dn))&&jr(Dn))},Vr=function(Dn){if(xo.includes(ma)){var ha,Or,Qr=ma==="date";switch(Dn===dt.Z.PAGE_UP||Dn===dt.Z.PAGE_DOWN?Or=Qr?rn.addMonth:rn.addYear:Or=Qr?rn.addDate:rn.addMonth,Dn){case dt.Z.LEFT:case dt.Z.PAGE_UP:ha=Or(qa,-1);break;case dt.Z.RIGHT:case dt.Z.PAGE_DOWN:ha=Or(qa,1);break;case dt.Z.UP:case dt.Z.DOWN:ha=Or(qa,Number("".concat(Dn===dt.Z.UP?"-":"").concat(Qr?ft:Ct)));break}if(ha)return!(Gn!=null&&Gn(ha))}return!0},Uo=function(Dn){if(Wn.current&&Wn.current.onKeyDown){var ha=!0,Or=Dn.which;if([dt.Z.LEFT,dt.Z.RIGHT,dt.Z.UP,dt.Z.DOWN,dt.Z.PAGE_UP,dt.Z.PAGE_DOWN,dt.Z.ENTER].includes(Or)&&(Dn.preventDefault(),Or!==dt.Z.ENTER&&Ta===0&&(ha=Vr(Or))),ha)return Wn.current.onKeyDown(Dn)}return(0,he.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},io=function(Dn){Wn.current&&Wn.current.onBlur&&Wn.current.onBlur(Dn)};Ot&&En!=="right"&&(Ot.current={onKeyDown:Uo,onClose:function(){Wn.current&&Wn.current.onClose&&Wn.current.onClose()}}),ae.useEffect(function(){pn&&!Zn.current&&Lr(pn)},[pn]),ae.useEffect(function(){Zn.current=!1},[]);var yr,ti=Xr({cellRender:ce,monthCellRender:Ci,dateRender:Ai}),fr=(0,Qt.Z)((0,Qt.Z)({},le),{},{cellRender:ti,operationRef:Wn,prefixCls:Xe,viewDate:qa,value:da,onViewDateChange:va,sourceMode:Ka,onPanelChange:Wr,disabledDate:Gn});switch(delete fr.onChange,delete fr.onSelect,ma){case"decade":yr=ae.createElement(Ce,(0,oe.Z)({},fr,{onSelect:function(Dn,ha){va(Dn),Jr(Dn,ha)}}));break;case"year":yr=ae.createElement(zo,(0,oe.Z)({},fr,{onSelect:function(Dn,ha){va(Dn),Jr(Dn,ha)}}));break;case"month":yr=ae.createElement(Yn,(0,oe.Z)({},fr,{onSelect:function(Dn,ha){va(Dn),Jr(Dn,ha)}}));break;case"quarter":yr=ae.createElement(ho,(0,oe.Z)({},fr,{onSelect:function(Dn,ha){va(Dn),Jr(Dn,ha)}}));break;case"week":yr=ae.createElement(Jn,(0,oe.Z)({},fr,{onSelect:function(Dn,ha){va(Dn),Jr(Dn,ha)}}));break;case"time":delete fr.showTime,yr=ae.createElement(hi,(0,oe.Z)({},fr,(0,An.Z)(za)==="object"?za:null,{onSelect:function(Dn,ha){va(Dn),Jr(Dn,ha)}}));break;default:za?yr=ae.createElement(Na,(0,oe.Z)({},fr,{onSelect:function(Dn,ha){va(Dn),Jr(Dn,ha)}})):yr=ae.createElement(Ko,(0,oe.Z)({},fr,{onSelect:function(Dn,ha){va(Dn),Jr(Dn,ha)}}))}var Ro,Bo,mi=function(){var Dn=rn.getNow(),ha=tn(rn.getHour(Dn),rn.getMinute(Dn),rn.getSecond(Dn),ke?Do:1,Ue?ai:1,ot?Ho:1),Or=ht(rn,Dn,ha[0],ha[1],ha[2]);Jr(Or,"submit")};Bt||(Ro=sr(Xe,ma,ja),za&&ma!=="date"?Bo=null:Bo=ao({prefixCls:Xe,components:gi,needConfirmButton:pe,okDisabled:!da||Gn&&Gn(da),locale:ln,showNow:Da,onNow:pe&&mi,onOk:function(){da&&(Jr(da,"submit",!0),ni&&ni(da))}}));var pr;if($a&&ma==="date"&&bn==="date"&&!za){var lr=rn.getNow(),dr="".concat(Xe,"-today-btn"),Wa=Gn&&Gn(lr);pr=ae.createElement("a",{className:Je()(dr,Wa&&"".concat(dr,"-disabled")),"aria-disabled":Wa,onClick:function(){Wa||Jr(lr,"mouse",!0)}},ln.today)}return ae.createElement(dn.Provider,{value:(0,Qt.Z)((0,Qt.Z)({},lt),{},{mode:ma,hideHeader:"hideHeader"in le?ba:lt.hideHeader,hidePrevBtn:Kt&&En==="right",hideNextBtn:Kt&&En==="left"})},ae.createElement("div",{tabIndex:Ta,className:Je()("".concat(Xe,"-panel"),It,(de={},(0,Fe.Z)(de,"".concat(Xe,"-panel-has-range"),Sn&&Sn[0]&&Sn[1]),(0,Fe.Z)(de,"".concat(Xe,"-panel-has-range-hover"),xn&&xn[0]&&xn[1]),(0,Fe.Z)(de,"".concat(Xe,"-panel-rtl"),Go==="rtl"),de)),style:bt,onKeyDown:Uo,onBlur:io,onMouseDown:Oo},yr,Ro||Bo||pr?ae.createElement("div",{className:"".concat(Xe,"-footer")},Ro,Bo,pr):null))}var _o=uo,oa=te(35593),Ti={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(le){var de,ge=le.prefixCls,Qe=le.popupElement,Xe=le.popupStyle,It=le.visible,bt=le.dropdownClassName,ln=le.dropdownAlign,rn=le.transitionName,pn=le.getPopupContainer,ia=le.children,wn=le.range,Bn=le.popupPlacement,Gn=le.direction,Kn="".concat(ge,"-dropdown"),on=function(){return Bn!==void 0?Bn:Gn==="rtl"?"bottomRight":"bottomLeft"};return ae.createElement(oa.Z,{showAction:[],hideAction:[],popupPlacement:on(),builtinPlacements:Ti,prefixCls:Kn,popupTransitionName:rn,popup:Qe,popupAlign:ln,popupVisible:It,popupClassName:Je()(bt,(de={},(0,Fe.Z)(de,"".concat(Kn,"-range"),wn),(0,Fe.Z)(de,"".concat(Kn,"-rtl"),Gn==="rtl"),de)),popupStyle:Xe,getPopupContainer:pn},ia)}var ki=wo;function rl(le){var de=le.prefixCls,ge=le.presets,Qe=le.onClick,Xe=le.onHover;return ge.length?ae.createElement("div",{className:"".concat(de,"-presets")},ae.createElement("ul",null,ge.map(function(It,bt){var ln=It.label,rn=It.value;return ae.createElement("li",{key:bt,onClick:function(){return Qe==null?void 0:Qe(gr(rn))},onMouseEnter:function(){return Xe==null?void 0:Xe(gr(rn))},onMouseLeave:function(){return Xe==null?void 0:Xe(null)}},ln)}))):null}function Qi(le){var de=le.picker,ge=le.disabledHours,Qe=le.disabledMinutes,Xe=le.disabledSeconds;de==="time"&&(ge||Qe||Xe)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Yi(le,de,ge){var Qe=(0,An.Z)(de)==="object"?de.clearIcon:ge;return Qe||ae.createElement("span",{className:"".concat(le,"-clear-btn")})}function Xi(le){var de,ge=le,Qe=ge.prefixCls,Xe=Qe===void 0?"rc-picker":Qe,It=ge.id,bt=ge.name,ln=ge.tabIndex,rn=ge.style,pn=ge.className,ia=ge.dropdownClassName,wn=ge.dropdownAlign,Bn=ge.popupStyle,Gn=ge.transitionName,Kn=ge.generateConfig,on=ge.locale,bn=ge.inputReadOnly,qn=ge.allowClear,Ta=ge.autoFocus,Da=ge.showTime,za=ge.picker,$a=za===void 0?"date":za,ja=ge.format,ba=ge.use12Hours,so=ge.value,jr=ge.defaultValue,po=ge.presets,Oo=ge.open,Vo=ge.defaultOpen,ni=ge.defaultOpenValue,gi=ge.suffixIcon,Go=ge.clearIcon,Eo=ge.disabled,Do=ge.disabledDate,Qo=ge.placeholder,ai=ge.getPopupContainer,Mo=ge.pickerRef,Ho=ge.panelRender,Ai=ge.onChange,Ci=ge.onOpenChange,ce=ge.onFocus,pe=ge.onBlur,ke=ge.onMouseDown,Ue=ge.onMouseUp,ot=ge.onMouseEnter,lt=ge.onMouseLeave,Ot=ge.onContextMenu,Lt=ge.onClick,Bt=ge.onKeyDown,$t=ge.onSelect,jt=ge.direction,Kt=ge.autoComplete,En=Kt===void 0?"off":Kt,Sn=ge.inputRender,xn=ge.changeOnBlur,Wn=ae.useRef(null),Zn=$a==="date"&&!!Da||$a==="time",la=at(po),na=ro(an(ja,$a,Da,ba)),da=ae.useRef(null),Ya=ae.useRef(null),ir=ae.useRef(null),ka=(0,Hn.Z)(null,{value:so,defaultValue:jr}),qa=(0,Gt.Z)(ka,2),Lr=qa[0],va=qa[1],_a=ae.useState(Lr),xa=(0,Gt.Z)(_a,2),ua=xa[0],ma=xa[1],er=ae.useRef(null),Gr=(0,Hn.Z)(!1,{value:Oo,defaultValue:Vo,postState:function(Pr){return Eo?!1:Pr},onChange:function(Pr){Ci&&Ci(Pr),!Pr&&er.current&&er.current.onClose&&er.current.onClose()}}),Rr=(0,Gt.Z)(Gr,2),Ka=Rr[0],_r=Rr[1],Wr=Zt(ua,{formatList:na,generateConfig:Kn,locale:on}),Jr=(0,Gt.Z)(Wr,2),Vr=Jr[0],Uo=Jr[1],io=Ft({valueTexts:Vr,onTextChange:function(Pr){var pi=ct(Pr,{locale:on,formatList:na,generateConfig:Kn});pi&&(!Do||!Do(pi))&&ma(pi)}}),yr=(0,Gt.Z)(io,3),ti=yr[0],fr=yr[1],Ro=yr[2],Bo=function(Pr){ma(Pr),va(Pr),Ai&&!Se(Kn,Lr,Pr)&&Ai(Pr,Pr?He(Pr,{generateConfig:Kn,locale:on,format:na[0]}):"")},mi=function(Pr){Eo&&Pr||_r(Pr)},pr=function(Pr){return Ka&&er.current&&er.current.onKeyDown?er.current.onKeyDown(Pr):((0,he.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},lr=function(){for(var Pr=arguments.length,pi=new Array(Pr),Mi=0;Mi<Pr;Mi++)pi[Mi]=arguments[Mi];Lt==null||Lt.apply(void 0,pi),Wn.current&&(Wn.current.focus(),mi(!0))},dr=function(Pr){xn&&Bo(ua),pe==null||pe(Pr)},Wa=Xa({blurToCancel:Zn,open:Ka,value:ti,triggerOpen:mi,forwardKeyDown:pr,isClickOutside:function(Pr){return!Dr([da.current,Ya.current,ir.current],Pr)},onSubmit:function(){return!ua||Do&&Do(ua)?!1:(Bo(ua),mi(!1),Ro(),!0)},onCancel:function(){mi(!1),ma(Lr),Ro()},onKeyDown:function(Pr,pi){Bt==null||Bt(Pr,pi)},onFocus:ce,onBlur:dr,changeOnBlur:xn}),La=(0,Gt.Z)(Wa,2),Dn=La[0],ha=La[1],Or=ha.focused,Qr=ha.typing;ae.useEffect(function(){Ka||(ma(Lr),!Vr.length||Vr[0]===""?fr(""):Uo!==ti&&Ro())},[Ka,Vr]),ae.useEffect(function(){Ka||Ro()},[$a]),ae.useEffect(function(){ma(Lr)},[Lr]),Mo&&(Mo.current={focus:function(){var Pr;(Pr=Wn.current)===null||Pr===void 0||Pr.focus()},blur:function(){var Pr;(Pr=Wn.current)===null||Pr===void 0||Pr.blur()}});var Li=gn(ti,{formatList:na,generateConfig:Kn,locale:on}),bi=(0,Gt.Z)(Li,3),qi=bi[0],ui=bi[1],ri=bi[2],cr=(0,Qt.Z)((0,Qt.Z)({},le),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Ii=ae.createElement("div",{className:"".concat(Xe,"-panel-layout")},ae.createElement(rl,{prefixCls:Xe,presets:la,onClick:function(Pr){Bo(Pr),mi(!1)}}),ae.createElement(_o,(0,oe.Z)({},cr,{generateConfig:Kn,className:Je()((0,Fe.Z)({},"".concat(Xe,"-panel-focused"),!Qr)),value:ua,locale:on,tabIndex:-1,onSelect:function(Pr){$t==null||$t(Pr),ma(Pr)},direction:jt,onPanelChange:function(Pr,pi){var Mi=le.onPanelChange;ri(!0),Mi==null||Mi(Pr,pi)}})));Ho&&(Ii=Ho(Ii));var _i=ae.createElement("div",{className:"".concat(Xe,"-panel-container"),ref:da,onMouseDown:function(Pr){Pr.preventDefault()}},Ii),No;gi&&(No=ae.createElement("span",{className:"".concat(Xe,"-suffix"),onMouseDown:function(Pr){Pr.preventDefault()}},gi));var To=Yi(Xe,qn,Go),ii=ae.createElement("span",{onMouseDown:function(Pr){Pr.preventDefault(),Pr.stopPropagation()},onMouseUp:function(Pr){Pr.preventDefault(),Pr.stopPropagation(),Bo(null),mi(!1)},className:"".concat(Xe,"-clear"),role:"button"},To),Si=!!qn&&Lr&&!Eo,fi=(0,Qt.Z)((0,Qt.Z)((0,Qt.Z)({id:It,tabIndex:ln,disabled:Eo,readOnly:bn||typeof na[0]=="function"||!Qr,value:qi||ti,onChange:function(Pr){fr(Pr.target.value)},autoFocus:Ta,placeholder:Qo,ref:Wn,title:ti},Dn),{},{size:$n($a,na[0],Kn),name:bt},(0,ea.Z)(le,{aria:!0,data:!0})),{},{autoComplete:En}),lo=Sn?Sn(fi):ae.createElement("input",fi),Hi=function(Pr,pi){(pi==="submit"||pi!=="key"&&!Zn)&&(Bo(Pr),mi(!1))},Oi=jt==="rtl"?"bottomRight":"bottomLeft";return ae.createElement(dn.Provider,{value:{operationRef:er,hideHeader:$a==="time",onSelect:Hi,open:Ka,defaultOpenValue:ni,onDateMouseEnter:ui,onDateMouseLeave:ri}},ae.createElement(ki,{visible:Ka,popupElement:_i,popupStyle:Bn,prefixCls:Xe,dropdownClassName:ia,dropdownAlign:wn,getPopupContainer:ai,transitionName:Gn,popupPlacement:Oi,direction:jt},ae.createElement("div",{ref:ir,className:Je()(Xe,pn,(de={},(0,Fe.Z)(de,"".concat(Xe,"-disabled"),Eo),(0,Fe.Z)(de,"".concat(Xe,"-focused"),Or),(0,Fe.Z)(de,"".concat(Xe,"-rtl"),jt==="rtl"),de)),style:rn,onMouseDown:ke,onMouseUp:Ue,onMouseEnter:ot,onMouseLeave:lt,onContextMenu:Ot,onClick:lr},ae.createElement("div",{className:Je()("".concat(Xe,"-input"),(0,Fe.Z)({},"".concat(Xe,"-input-placeholder"),!!qi)),ref:Ya},lo,No,Si&&ii))))}var Gi=function(le){(0,Pt.Z)(ge,le);var de=(0,sn.Z)(ge);function ge(){var Qe;(0,st.Z)(this,ge);for(var Xe=arguments.length,It=new Array(Xe),bt=0;bt<Xe;bt++)It[bt]=arguments[bt];return Qe=de.call.apply(de,[this].concat(It)),(0,Fe.Z)((0,Nt.Z)(Qe),"pickerRef",ae.createRef()),(0,Fe.Z)((0,Nt.Z)(Qe),"focus",function(){Qe.pickerRef.current&&Qe.pickerRef.current.focus()}),(0,Fe.Z)((0,Nt.Z)(Qe),"blur",function(){Qe.pickerRef.current&&Qe.pickerRef.current.blur()}),Qe}return(0,At.Z)(ge,[{key:"render",value:function(){return ae.createElement(Xi,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(ae.Component),Zi=Gi;function ol(le,de){var ge=le.picker,Qe=le.locale,Xe=le.selectedValue,It=le.disabledDate,bt=le.disabled,ln=le.generateConfig,rn=Ja(Xe,0),pn=Ja(Xe,1);function ia(on){return ln.locale.getWeekFirstDate(Qe.locale,on)}function wn(on){var bn=ln.getYear(on),qn=ln.getMonth(on);return bn*100+qn}function Bn(on){var bn=ln.getYear(on),qn=Ge(ln,on);return bn*10+qn}var Gn=ae.useCallback(function(on){if(bt[0]||It&&It(on))return!0;if(bt[1]&&pn)return!mt(ln,on,pn)&&ln.isAfter(on,pn);if(!de&&pn)switch(ge){case"quarter":return Bn(on)>Bn(pn);case"month":return wn(on)>wn(pn);case"week":return ia(on)>ia(pn);default:return!mt(ln,on,pn)&&ln.isAfter(on,pn)}return!1},[It,bt[1],pn,de]),Kn=ae.useCallback(function(on){if(bt[1]||It&&It(on))return!0;if(bt[0]&&rn)return!mt(ln,on,pn)&&ln.isAfter(rn,on);if(!de&&rn)switch(ge){case"quarter":return Bn(on)<Bn(rn);case"month":return wn(on)<wn(rn);case"week":return ia(on)<ia(rn);default:return!mt(ln,on,rn)&&ln.isAfter(rn,on)}return!1},[It,bt[0],rn,de]);return[Gn,Kn]}var Wt=te(70425),zt=te(6089);function kt(le,de,ge,Qe,Xe,It,bt,ln,rn,pn){var ia=ae.useState(!1),wn=(0,Gt.Z)(ia,2),Bn=wn[0],Gn=wn[1],Kn=(0,Wt.useMergedState)(le||!1,{value:de}),on=(0,Gt.Z)(Kn,2),bn=on[0],qn=on[1],Ta=(0,Wt.useMergedState)(le||!1,{value:de,onChange:function(Do){pn==null||pn(Do)}}),Da=(0,Gt.Z)(Ta,2),za=Da[0],$a=Da[1],ja=(0,Wt.useMergedState)(0,{value:ge}),ba=(0,Gt.Z)(ja,2),so=ba[0],jr=ba[1],po=ae.useState(null),Oo=(0,Gt.Z)(po,2),Vo=Oo[0],ni=Oo[1];ae.useEffect(function(){za&&Gn(!0)},[za]);var gi=function(Do){return Do===0?1:0},Go=(0,zt.Z)(function(Eo,Do,Qo){if(Do===!1)$a(Eo);else if(Eo){jr(Do),$a(Eo);var ai=gi(Do);!za||![bt,ln][ai]?ni(ai):(Gn(!1),Vo!==null&&ni(null))}else if(Qo==="confirm"||Qo==="blur"&&Qe){var Mo=bn?gi(Do):Vo;Mo!==null&&(Gn(!1),jr(Mo)),ni(null),Mo!==null&&!rn[Mo]?(0,Dt.Z)(function(){var Ho,Ai=[Xe,It][Mo];(Ho=Ai.current)===null||Ho===void 0||Ho.focus()}):$a(!1)}else $a(!1),qn(!1)});return[za,so,Bn,Go]}function Ca(le,de,ge,Qe){var Xe=Ae(le,ge,Qe,1);function It(bt){return bt(le,de)?"same":bt(Xe,de)?"closing":"far"}switch(ge){case"year":return It(function(bt,ln){return Oe(Qe,bt,ln)});case"quarter":case"month":return It(function(bt,ln){return ve(Qe,bt,ln)});default:return It(function(bt,ln){return we(Qe,bt,ln)})}}function Va(le,de,ge,Qe){var Xe=Ja(le,0),It=Ja(le,1);if(de===0)return Xe;if(Xe&&It){var bt=Ca(Xe,It,ge,Qe);switch(bt){case"same":return Xe;case"closing":return Xe;default:return Ae(It,ge,Qe,-1)}}return Xe}function wa(le){var de=le.values,ge=le.picker,Qe=le.defaultDates,Xe=le.generateConfig,It=ae.useState(function(){return[Ja(Qe,0),Ja(Qe,1)]}),bt=(0,Gt.Z)(It,2),ln=bt[0],rn=bt[1],pn=ae.useState(null),ia=(0,Gt.Z)(pn,2),wn=ia[0],Bn=ia[1],Gn=Ja(de,0),Kn=Ja(de,1);function on(qn){return ln[qn]?ln[qn]:Ja(wn,qn)||Va(de,qn,ge,Xe)||Gn||Kn||Xe.getNow()}function bn(qn,Ta){if(qn){var Da=Nn(wn,qn,Ta);rn(Nn(ln,null,Ta)||[null,null]);var za=(Ta+1)%2;Ja(de,za)||(Da=Nn(Da,qn,za)),Bn(Da)}else(Gn||Kn)&&Bn(null)}return[on,bn]}function In(le,de){return le&&le[0]&&le[1]&&de.isAfter(le[0],le[1])?[le[1],le[0]]:le}function Ua(le,de,ge,Qe){return!!(le||Qe&&Qe[de]||ge[(de+1)%2])}function hn(le){var de,ge,Qe,Xe=le,It=Xe.prefixCls,bt=It===void 0?"rc-picker":It,ln=Xe.id,rn=Xe.style,pn=Xe.className,ia=Xe.popupStyle,wn=Xe.dropdownClassName,Bn=Xe.transitionName,Gn=Xe.dropdownAlign,Kn=Xe.getPopupContainer,on=Xe.generateConfig,bn=Xe.locale,qn=Xe.placeholder,Ta=Xe.autoFocus,Da=Xe.disabled,za=Xe.format,$a=Xe.picker,ja=$a===void 0?"date":$a,ba=Xe.showTime,so=Xe.use12Hours,jr=Xe.separator,po=jr===void 0?"~":jr,Oo=Xe.value,Vo=Xe.defaultValue,ni=Xe.defaultPickerValue,gi=Xe.open,Go=Xe.defaultOpen,Eo=Xe.disabledDate,Do=Xe.disabledTime,Qo=Xe.dateRender,ai=Xe.monthCellRender,Mo=Xe.cellRender,Ho=Xe.panelRender,Ai=Xe.presets,Ci=Xe.ranges,ce=Xe.allowEmpty,pe=Xe.allowClear,ke=Xe.suffixIcon,Ue=Xe.clearIcon,ot=Xe.pickerRef,lt=Xe.inputReadOnly,Ot=Xe.mode,Lt=Xe.renderExtraFooter,Bt=Xe.onChange,$t=Xe.onOpenChange,jt=Xe.onPanelChange,Kt=Xe.onCalendarChange,En=Xe.onFocus,Sn=Xe.onBlur,xn=Xe.onMouseDown,Wn=Xe.onMouseUp,Zn=Xe.onMouseEnter,la=Xe.onMouseLeave,na=Xe.onClick,da=Xe.onOk,Ya=Xe.onKeyDown,ir=Xe.components,ka=Xe.order,qa=Xe.direction,Lr=Xe.activePickerIndex,va=Xe.autoComplete,_a=va===void 0?"off":va,xa=Xe.changeOnBlur,ua=ja==="date"&&!!ba||ja==="time",ma=(0,ae.useRef)(null),er=(0,ae.useRef)(null),Gr=(0,ae.useRef)(null),Rr=(0,ae.useRef)(null),Ka=(0,ae.useRef)(null),_r=(0,ae.useRef)(null),Wr=(0,ae.useRef)(null),Jr=(0,ae.useRef)(null),Vr=ro(an(za,ja,ba,so)),Uo=(0,ae.useRef)(null),io=ae.useMemo(function(){return Array.isArray(Da)?Da:[Da||!1,Da||!1]},[Da]),yr=(0,Hn.Z)(null,{value:Oo,defaultValue:Vo,postState:function(wr){return ja==="time"&&!ka?wr:In(wr,on)}}),ti=(0,Gt.Z)(yr,2),fr=ti[0],Ro=ti[1],Bo=wa({values:fr,picker:ja,defaultDates:ni,generateConfig:on}),mi=(0,Gt.Z)(Bo,2),pr=mi[0],lr=mi[1],dr=(0,Hn.Z)(fr,{postState:function(wr){var qr=wr;if(io[0]&&io[1])return qr;for(var Jo=0;Jo<2;Jo+=1)io[Jo]&&!qr&&!Ja(qr,Jo)&&!Ja(ce,Jo)&&(qr=Nn(qr,on.getNow(),Jo));return qr}}),Wa=(0,Gt.Z)(dr,2),La=Wa[0],Dn=Wa[1],ha=(0,Hn.Z)([ja,ja],{value:Ot}),Or=(0,Gt.Z)(ha,2),Qr=Or[0],Li=Or[1];(0,ae.useEffect)(function(){Li([ja,ja])},[ja]);var bi=function(wr,qr){Li(wr),jt&&jt(qr,wr)},qi=kt(Go,gi,Lr,xa,_r,Wr,Ja(La,0),Ja(La,1),io,$t),ui=(0,Gt.Z)(qi,4),ri=ui[0],cr=ui[1],Ii=ui[2],_i=ui[3],No=ri&&cr===0,To=ri&&cr===1,ii=ol({picker:ja,selectedValue:La,locale:bn,disabled:io,disabledDate:Eo,generateConfig:on},!ri||Ii),Si=(0,Gt.Z)(ii,2),fi=Si[0],lo=Si[1],Hi=(0,ae.useState)(0),Oi=(0,Gt.Z)(Hi,2),ko=Oi[0],Pr=Oi[1];(0,ae.useEffect)(function(){!ri&&ma.current&&Pr(ma.current.offsetWidth)},[ri]);function pi($o){_i(!0,$o,"open"),(0,Dt.Z)(function(){var wr,qr=[_r,Wr][$o];(wr=qr.current)===null||wr===void 0||wr.focus()},0)}function Mi($o,wr){var qr=$o,Jo=Ja(qr,0),xi=Ja(qr,1);Jo&&xi&&on.isAfter(Jo,xi)&&(ja==="week"&&!Ht(on,bn.locale,Jo,xi)||ja==="quarter"&&!We(on,Jo,xi)||ja!=="week"&&ja!=="quarter"&&ja!=="time"&&!mt(on,Jo,xi)?wr===0?(qr=[Jo,null],xi=null):(Jo=null,qr=[null,xi]):(ja!=="time"||ka!==!1)&&(qr=In(qr,on))),Dn(qr);var Ml=qr&&qr[0]?He(qr[0],{generateConfig:on,locale:bn,format:Vr[0]}):"",gl=qr&&qr[1]?He(qr[1],{generateConfig:on,locale:bn,format:Vr[0]}):"";if(Kt){var yl={range:wr===0?"start":"end"};Kt(qr,[Ml,gl],yl)}var El=Ua(Jo,0,io,ce),Jl=Ua(xi,1,io,ce),xl=qr===null||El&&Jl;xl&&(Ro(qr),Bt&&(!Se(on,Ja(fr,0),Jo)||!Se(on,Ja(fr,1),xi))&&Bt(qr,[Ml,gl]))}var sl=function(wr){return ri&&Uo.current&&Uo.current.onKeyDown?Uo.current.onKeyDown(wr):((0,he.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},tl={formatList:Vr,generateConfig:on,locale:bn},Ji=Zt(Ja(La,0),tl),Ki=(0,Gt.Z)(Ji,2),Pi=Ki[0],ci=Ki[1],il=Zt(Ja(La,1),tl),fl=(0,Gt.Z)(il,2),al=fl[0],ll=fl[1],Cl=function(wr,qr){var Jo=ct(wr,{locale:bn,formatList:Vr,generateConfig:on}),xi=qr===0?fi:lo;Jo&&!xi(Jo)&&(Dn(Nn(La,Jo,qr)),lr(Jo,qr))},Rl=Ft({valueTexts:Pi,onTextChange:function(wr){return Cl(wr,0)}}),Po=(0,Gt.Z)(Rl,3),Xo=Po[0],Ri=Po[1],si=Po[2],Wi=Ft({valueTexts:al,onTextChange:function(wr){return Cl(wr,1)}}),Vi=(0,Gt.Z)(Wi,3),ji=Vi[0],ul=Vi[1],Tl=Vi[2],du=(0,ae.useState)(null),kl=(0,Gt.Z)(du,2),cu=kl[0],ql=kl[1],Dl=(0,ae.useState)(null),pl=(0,Gt.Z)(Dl,2),hl=pl[0],eu=pl[1],tu=gn(Xo,{formatList:Vr,generateConfig:on,locale:bn}),Zl=(0,Gt.Z)(tu,3),zl=Zl[0],Bl=Zl[1],Al=Zl[2],gu=gn(ji,{formatList:Vr,generateConfig:on,locale:bn}),Ll=(0,Gt.Z)(gu,3),_l=Ll[0],mu=Ll[1],Hl=Ll[2],fu=function(wr){eu(Nn(La,wr,cr)),cr===0?Bl(wr):mu(wr)},nu=function(){eu(Nn(La,null,cr)),cr===0?Al():Hl()},Ol=ae.useState(ri),Nl=(0,Gt.Z)(Ol,2),jl=Nl[0],au=Nl[1];ae.useEffect(function(){au(ri)},[ri]);var ru=function(wr){if(xa&&jl){var qr=Ja(La,cr);qr&&Mi(La,cr)}return Sn==null?void 0:Sn(wr)},Gl=function(wr,qr){return{blurToCancel:!xa&&ua,forwardKeyDown:sl,onBlur:ru,isClickOutside:function(xi){return!Dr([er.current,Gr.current,Rr.current,ma.current],xi)},onFocus:function(xi){En&&En(xi)},triggerOpen:function(xi){xi?_i(xi,wr,"open"):_i(xi,Ja(La,wr)?wr:!1,"blur")},onSubmit:function(){if(!La||Eo&&Eo(La[wr]))return!1;Mi(La,wr),qr(),_i(!1,cr,"confirm")},onCancel:function(){_i(!1,wr,"cancel"),Dn(fr),qr()}}},Kl={onKeyDown:function(wr,qr){Ya==null||Ya(wr,qr)},changeOnBlur:xa},pu=Xa((0,Qt.Z)((0,Qt.Z)({},Gl(0,si)),{},{open:No,value:Xo},Kl)),Wl=(0,Gt.Z)(pu,2),Vl=Wl[0],Ul=Wl[1],Il=Ul.focused,$l=Ul.typing,hu=Xa((0,Qt.Z)((0,Qt.Z)({},Gl(1,Tl)),{},{open:To,value:ji},Kl)),jo=(0,Gt.Z)(hu,2),di=jo[0],nl=jo[1],dl=nl.focused,cl=nl.typing,ou=function(wr){na&&na(wr),!ri&&!_r.current.contains(wr.target)&&!Wr.current.contains(wr.target)&&(io[0]?io[1]||pi(1):pi(0))},Yl=function(wr){xn&&xn(wr),ri&&(Il||dl)&&!_r.current.contains(wr.target)&&!Wr.current.contains(wr.target)&&wr.preventDefault()},Ql=fr&&fr[0]?He(fr[0],{locale:bn,format:"YYYYMMDDHHmmss",generateConfig:on}):"",Xl=fr&&fr[1]?He(fr[1],{locale:bn,format:"YYYYMMDDHHmmss",generateConfig:on}):"";(0,ae.useEffect)(function(){ri||(Dn(fr),!Pi.length||Pi[0]===""?Ri(""):ci!==Xo&&si(),!al.length||al[0]===""?ul(""):ll!==ji&&Tl())},[ri,Pi,al]),(0,ae.useEffect)(function(){Dn(fr)},[Ql,Xl]);var bl=Xr({cellRender:Mo,monthCellRender:ai,dateRender:Qo}),Lu=ae.useMemo(function(){if(bl)return function($o,wr){return bl($o,(0,Qt.Z)((0,Qt.Z)({},wr),{},{range:cr?"end":"start"}))}},[cr,bl]);ot&&(ot.current={focus:function(){_r.current&&_r.current.focus()},blur:function(){_r.current&&_r.current.blur(),Wr.current&&Wr.current.blur()}});var Ou=at(Ai,Ci);function vu(){var $o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qr=null;ri&&hl&&hl[0]&&hl[1]&&on.isAfter(hl[1],hl[0])&&(qr=hl);var Jo=ba;if(ba&&(0,An.Z)(ba)==="object"&&ba.defaultValue){var xi=ba.defaultValue;Jo=(0,Qt.Z)((0,Qt.Z)({},ba),{},{defaultValue:Ja(xi,cr)||void 0})}return ae.createElement(tr.Provider,{value:{inRange:!0,panelPosition:$o,rangedValue:cu||La,hoverRangedValue:qr}},ae.createElement(_o,(0,oe.Z)({},le,wr,{cellRender:Lu,showTime:Jo,mode:Qr[cr],generateConfig:on,style:void 0,direction:qa,disabledDate:cr===0?fi:lo,disabledTime:function(gl){return Do?Do(gl,cr===0?"start":"end"):!1},className:Je()((0,Fe.Z)({},"".concat(bt,"-panel-focused"),cr===0?!$l:!cl)),value:Ja(La,cr),locale:bn,tabIndex:-1,onPanelChange:function(gl,yl){cr===0&&Al(!0),cr===1&&Hl(!0),bi(Nn(Qr,yl,cr),Nn(La,gl,cr));var El=gl;$o==="right"&&Qr[cr]===yl&&(El=Ae(El,yl,on,-1)),lr(El,cr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:cr===0?Ja(La,1):Ja(La,0)})))}var Pl=0,Eu=0;if(cr&&Gr.current&&Ka.current&&er.current&&Jr.current){Pl=Gr.current.offsetWidth+Ka.current.offsetWidth;var Nu=Jr.current.offsetLeft>Pl?Jr.current.offsetLeft-Pl:Jr.current.offsetLeft,Cu=er.current.offsetWidth,bu=Jr.current.offsetWidth;Cu&&bu&&Pl>Cu-bu-(qa==="rtl"?0:Nu)&&(Eu=Pl)}var Iu=qa==="rtl"?{right:Pl}:{left:Pl};function Mu(){var $o,wr=sr(bt,Qr[cr],Lt),qr=ao({prefixCls:bt,components:ir,needConfirmButton:ua,okDisabled:!Ja(La,cr)||Eo&&Eo(La[cr]),locale:bn,onOk:function(){var ml=Ja(La,cr);ml&&(Mi(La,cr),da==null||da(La),_i(!1,cr,"confirm"))}});if(ja!=="time"&&!ba){var Jo=pr(cr),xi=Ae(Jo,ja,on),Ml=Qr[cr],gl=Ml===ja,yl=vu(gl?"left":!1,{pickerValue:Jo,onPickerValueChange:function(ml){lr(ml,cr)}}),El=vu("right",{pickerValue:xi,onPickerValueChange:function(ml){lr(Ae(ml,ja,on,-1),cr)}});qa==="rtl"?$o=ae.createElement(ae.Fragment,null,El,gl&&yl):$o=ae.createElement(ae.Fragment,null,yl,gl&&El)}else $o=vu();var Jl=ae.createElement("div",{className:"".concat(bt,"-panel-layout")},ae.createElement(rl,{prefixCls:bt,presets:Ou,onClick:function(ml){Mi(ml,null),_i(!1,cr,"preset")},onHover:function(ml){ql(ml)}}),ae.createElement("div",null,ae.createElement("div",{className:"".concat(bt,"-panels")},$o),(wr||qr)&&ae.createElement("div",{className:"".concat(bt,"-footer")},wr,qr)));return Ho&&(Jl=Ho(Jl)),ae.createElement("div",{className:"".concat(bt,"-panel-container"),style:{marginLeft:Eu},ref:er,onMouseDown:function(ml){ml.preventDefault()}},Jl)}var Ru=ae.createElement("div",{className:Je()("".concat(bt,"-range-wrapper"),"".concat(bt,"-").concat(ja,"-range-wrapper")),style:{minWidth:ko}},ae.createElement("div",{ref:Jr,className:"".concat(bt,"-range-arrow"),style:Iu}),Mu()),xu;ke&&(xu=ae.createElement("span",{className:"".concat(bt,"-suffix"),onMouseDown:function(wr){wr.preventDefault()}},ke));var Tu=Yi(bt,pe,Ue),ku=ae.createElement("span",{onMouseDown:function(wr){wr.preventDefault(),wr.stopPropagation()},onMouseUp:function(wr){wr.preventDefault(),wr.stopPropagation();var qr=fr;io[0]||(qr=Nn(qr,null,0)),io[1]||(qr=Nn(qr,null,1)),Mi(qr,null),_i(!1,cr,"clear")},className:"".concat(bt,"-clear"),role:"button"},Tu),Zu=pe&&(Ja(fr,0)&&!io[0]||Ja(fr,1)&&!io[1]),wu={size:$n(ja,Vr[0],on)},Su=0,Pu=0;Gr.current&&Rr.current&&Ka.current&&(cr===0?Pu=Gr.current.offsetWidth:(Su=Pl,Pu=Rr.current.offsetWidth));var zu=qa==="rtl"?{right:Su}:{left:Su},_u=function(wr,qr){var Jo=Nn(La,wr,cr);if(qr==="submit"||qr!=="key"&&!ua){Mi(Jo,cr),cr===0?Al():Hl();var xi=cr===0?1:0;io[xi]?_i(!1,!1,"confirm"):_i(!1,cr,"confirm")}else Dn(Jo)};return ae.createElement(dn.Provider,{value:{operationRef:Uo,hideHeader:ja==="time",onDateMouseEnter:fu,onDateMouseLeave:nu,hideRanges:!0,onSelect:_u,open:ri}},ae.createElement(ki,{visible:ri,popupElement:Ru,popupStyle:ia,prefixCls:bt,dropdownClassName:wn,dropdownAlign:Gn,getPopupContainer:Kn,transitionName:Bn,range:!0,direction:qa},ae.createElement("div",(0,oe.Z)({ref:ma,className:Je()(bt,"".concat(bt,"-range"),pn,(de={},(0,Fe.Z)(de,"".concat(bt,"-disabled"),io[0]&&io[1]),(0,Fe.Z)(de,"".concat(bt,"-focused"),cr===0?Il:dl),(0,Fe.Z)(de,"".concat(bt,"-rtl"),qa==="rtl"),de)),style:rn,onClick:ou,onMouseEnter:Zn,onMouseLeave:la,onMouseDown:Yl,onMouseUp:Wn},(0,ea.Z)(le,{aria:!0,data:!0})),ae.createElement("div",{className:Je()("".concat(bt,"-input"),(ge={},(0,Fe.Z)(ge,"".concat(bt,"-input-active"),cr===0),(0,Fe.Z)(ge,"".concat(bt,"-input-placeholder"),!!zl),ge)),ref:Gr},ae.createElement("input",(0,oe.Z)({id:ln,disabled:io[0],readOnly:lt||typeof Vr[0]=="function"||!$l,value:zl||Xo,onChange:function(wr){Ri(wr.target.value)},autoFocus:Ta,placeholder:Ja(qn,0)||"",ref:_r},Vl,wu,{autoComplete:_a}))),ae.createElement("div",{className:"".concat(bt,"-range-separator"),ref:Ka},po),ae.createElement("div",{className:Je()("".concat(bt,"-input"),(Qe={},(0,Fe.Z)(Qe,"".concat(bt,"-input-active"),cr===1),(0,Fe.Z)(Qe,"".concat(bt,"-input-placeholder"),!!_l),Qe)),ref:Rr},ae.createElement("input",(0,oe.Z)({disabled:io[1],readOnly:lt||typeof Vr[0]=="function"||!cl,value:_l||ji,onChange:function(wr){ul(wr.target.value)},placeholder:Ja(qn,1)||"",ref:Wr},di,wu,{autoComplete:_a}))),ae.createElement("div",{className:"".concat(bt,"-active-bar"),style:(0,Qt.Z)((0,Qt.Z)({},zu),{},{width:Pu,position:"absolute"})}),xu,Zu&&ku)))}var Za=function(le){(0,Pt.Z)(ge,le);var de=(0,sn.Z)(ge);function ge(){var Qe;(0,st.Z)(this,ge);for(var Xe=arguments.length,It=new Array(Xe),bt=0;bt<Xe;bt++)It[bt]=arguments[bt];return Qe=de.call.apply(de,[this].concat(It)),(0,Fe.Z)((0,Nt.Z)(Qe),"pickerRef",ae.createRef()),(0,Fe.Z)((0,Nt.Z)(Qe),"focus",function(){Qe.pickerRef.current&&Qe.pickerRef.current.focus()}),(0,Fe.Z)((0,Nt.Z)(Qe),"blur",function(){Qe.pickerRef.current&&Qe.pickerRef.current.blur()}),Qe}return(0,At.Z)(ge,[{key:"render",value:function(){return ae.createElement(hn,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(ae.Component),Fa=Za,Io=Zi,Ia=te(19080),Yo=te(36355),vi=te(1684),Wo=te(19716),br=te(32441),xr=te(9763),Xn=te(33234),no=te(48183),oi=te(64993),fa=te(9937),sa=te(17313),eo=te(47585),Bi=te(74207),Tn=te(13826),nr=te(92899),ra=te(37613),nn=te(83116);const Vn=(le,de,ge,Qe)=>{const{lineHeight:Xe}=le,It=Math.floor(ge*Xe)+2,bt=Math.max((de-It)/2,0),ln=Math.max(de-It-bt,0);return{padding:`${bt}px ${Qe}px ${ln}px`}},Cn=le=>{const{componentCls:de,pickerCellCls:ge,pickerCellInnerCls:Qe,cellHeight:Xe,motionDurationSlow:It,borderRadiusSM:bt,motionDurationMid:ln,cellHoverBg:rn,lineWidth:pn,lineType:ia,colorPrimary:wn,cellActiveWithRangeBg:Bn,colorTextLightSolid:Gn,controlHeightSM:Kn,cellRangeBorderColor:on,pickerCellBorderGap:bn,cellHoverWithRangeBg:qn,cellWidth:Ta,colorTextDisabled:Da,cellBgDisabled:za}=le;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Xe,transform:"translateY(-50%)",transition:`all ${It}`,content:'""'},[Qe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Xe,height:Xe,lineHeight:`${Xe}px`,borderRadius:bt,transition:`background ${ln}, border ${ln}`},"&-range-hover-start, &-range-hover-end":{[Qe]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ge}-in-view),
|
|
&:hover:not(${ge}-selected):not(${ge}-range-start):not(${ge}-range-end):not(${ge}-range-hover-start):not(${ge}-range-hover-end)`]:{[Qe]:{background:rn}},[`&-in-view${ge}-today ${Qe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${pn}px ${ia} ${wn}`,borderRadius:bt,content:'""'}},[`&-in-view${ge}-in-range`]:{position:"relative","&::before":{background:Bn}},[`&-in-view${ge}-selected ${Qe},
|
|
&-in-view${ge}-range-start ${Qe},
|
|
&-in-view${ge}-range-end ${Qe}`]:{color:Gn,background:wn},[`&-in-view${ge}-range-start:not(${ge}-range-start-single),
|
|
&-in-view${ge}-range-end:not(${ge}-range-end-single)`]:{"&::before":{background:Bn}},[`&-in-view${ge}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ge}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ge}-range-hover-start:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end),
|
|
&-in-view${ge}-range-hover-end:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end),
|
|
&-in-view${ge}-range-hover-start${ge}-range-start-single,
|
|
&-in-view${ge}-range-hover-start${ge}-range-start${ge}-range-end${ge}-range-end-near-hover,
|
|
&-in-view${ge}-range-hover-end${ge}-range-start${ge}-range-end${ge}-range-start-near-hover,
|
|
&-in-view${ge}-range-hover-end${ge}-range-end-single,
|
|
&-in-view${ge}-range-hover:not(${ge}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Kn,borderTop:`${pn}px dashed ${on}`,borderBottom:`${pn}px dashed ${on}`,transform:"translateY(-50%)",transition:`all ${It}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:bn},[`&-in-view${ge}-in-range${ge}-range-hover::before,
|
|
&-in-view${ge}-in-range${ge}-range-hover-start::before,
|
|
&-in-view${ge}-in-range${ge}-range-hover-end::before,
|
|
&-in-view${ge}-range-start${ge}-range-hover::before,
|
|
&-in-view${ge}-range-end${ge}-range-hover::before,
|
|
&-in-view${ge}-range-start:not(${ge}-range-start-single)${ge}-range-hover-start::before,
|
|
&-in-view${ge}-range-end:not(${ge}-range-end-single)${ge}-range-hover-end::before,
|
|
${de}-panel
|
|
> :not(${de}-date-panel)
|
|
&-in-view${ge}-in-range${ge}-range-hover-start::before,
|
|
${de}-panel
|
|
> :not(${de}-date-panel)
|
|
&-in-view${ge}-in-range${ge}-range-hover-end::before`]:{background:qn},[`&-in-view${ge}-range-start:not(${ge}-range-start-single):not(${ge}-range-end) ${Qe}`]:{borderStartStartRadius:bt,borderEndStartRadius:bt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ge}-range-end:not(${ge}-range-end-single):not(${ge}-range-start) ${Qe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:bt,borderEndEndRadius:bt},[`&-range-hover${ge}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ge}-range-hover:first-child::after,
|
|
tr > &-in-view${ge}-range-hover-end:first-child::after,
|
|
&-in-view${ge}-start${ge}-range-hover-edge-start${ge}-range-hover-edge-start-near-range::after,
|
|
&-in-view${ge}-range-hover-edge-start:not(${ge}-range-hover-edge-start-near-range)::after,
|
|
&-in-view${ge}-range-hover-start::after`]:{insetInlineStart:(Ta-Xe)/2,borderInlineStart:`${pn}px dashed ${on}`,borderStartStartRadius:bt,borderEndStartRadius:bt},[`tr > &-in-view${ge}-range-hover:last-child::after,
|
|
tr > &-in-view${ge}-range-hover-start:last-child::after,
|
|
&-in-view${ge}-end${ge}-range-hover-edge-end${ge}-range-hover-edge-end-near-range::after,
|
|
&-in-view${ge}-range-hover-edge-end:not(${ge}-range-hover-edge-end-near-range)::after,
|
|
&-in-view${ge}-range-hover-end::after`]:{insetInlineEnd:(Ta-Xe)/2,borderInlineEnd:`${pn}px dashed ${on}`,borderStartEndRadius:bt,borderEndEndRadius:bt},"&-disabled":{color:Da,pointerEvents:"none",[Qe]:{background:"transparent"},"&::before":{background:za}},[`&-disabled${ge}-today ${Qe}::before`]:{borderColor:Da}}},$r=le=>{const{componentCls:de,pickerCellCls:ge,pickerCellInnerCls:Qe,pickerYearMonthCellWidth:Xe,pickerControlIconSize:It,cellWidth:bt,paddingSM:ln,paddingXS:rn,paddingXXS:pn,colorBgContainer:ia,lineWidth:wn,lineType:Bn,borderRadiusLG:Gn,colorPrimary:Kn,colorTextHeading:on,colorSplit:bn,pickerControlIconBorderWidth:qn,colorIcon:Ta,textHeight:Da,motionDurationMid:za,colorIconHover:$a,fontWeightStrong:ja,cellHeight:ba,pickerCellPaddingVertical:so,colorTextDisabled:jr,colorText:po,fontSize:Oo,cellHoverWithRangeBg:Vo,motionDurationSlow:ni,withoutTimeCellHeight:gi,pickerQuarterPanelContentHeight:Go,colorLink:Eo,colorLinkActive:Do,colorLinkHover:Qo,cellRangeBorderColor:ai,borderRadiusSM:Mo,colorTextLightSolid:Ho,cellHoverBg:Ai,timeColumnHeight:Ci,timeColumnWidth:ce,timeCellHeight:pe,controlItemBgActive:ke,marginXXS:Ue,pickerDatePanelPaddingHorizontal:ot}=le,lt=bt*7+ot*2,Ot=(lt-rn*2)/3-Xe-ln,Lt=(lt-rn*2)/4-Xe;return{[de]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:ia,border:`${wn}px ${Bn} ${bn}`,borderRadius:Gn,outline:"none","&-focused":{borderColor:Kn},"&-rtl":{direction:"rtl",[`${de}-prev-icon,
|
|
${de}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${de}-next-icon,
|
|
${de}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:lt},"&-header":{display:"flex",padding:`0 ${rn}px`,color:on,borderBottom:`${wn}px ${Bn} ${bn}`,"> *":{flex:"none"},button:{padding:0,color:Ta,lineHeight:`${Da}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${za}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Oo,"&:hover":{color:$a}},"&-view":{flex:"auto",fontWeight:ja,lineHeight:`${Da}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:rn},"&:hover":{color:Kn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:It,height:It,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:It,height:It,border:"0 solid currentcolor",borderBlockStartWidth:qn,borderBlockEndWidth:0,borderInlineStartWidth:qn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(It/2),insetInlineStart:Math.ceil(It/2),display:"inline-block",width:It,height:It,border:"0 solid currentcolor",borderBlockStartWidth:qn,borderBlockEndWidth:0,borderInlineStartWidth:qn,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:ba,fontWeight:"normal"},th:{height:ba+so*2,color:po,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${so}px 0`,color:jr,cursor:"pointer","&-in-view":{color:po}},Cn(le)),[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start ${Qe},
|
|
&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${Qe}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Vo,transition:`all ${ni}`,content:'""'}},[`&-date-panel
|
|
${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start
|
|
${Qe}::after`]:{insetInlineEnd:-(bt-ba)/2,insetInlineStart:0},[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${Qe}::after`]:{insetInlineEnd:0,insetInlineStart:-(bt-ba)/2},[`&-range-hover${de}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${de}-content`]:{height:gi*4},[Qe]:{padding:`0 ${rn}px`}},"&-quarter-panel":{[`${de}-content`]:{height:Go},[`${de}-cell-range-hover-start::after`]:{insetInlineStart:Lt,borderInlineStart:`${wn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Lt,borderInlineEnd:`${wn}px dashed ${ai}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Lt,borderInlineEnd:`${wn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineStart:Lt,borderInlineStart:`${wn}px dashed ${ai}`}}},[`&-panel ${de}-footer`]:{borderTop:`${wn}px ${Bn} ${bn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Da-2*wn}px`,textAlign:"center","&-extra":{padding:`0 ${ln}px`,lineHeight:`${Da-2*wn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${wn}px ${Bn} ${bn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Eo,"&:hover":{color:Qo},"&:active":{color:Do},[`&${de}-today-btn-disabled`]:{color:jr,cursor:"not-allowed"}},"&-decade-panel":{[Qe]:{padding:`0 ${rn/2}px`},[`${de}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${de}-body`]:{padding:`0 ${rn}px`},[Qe]:{width:Xe},[`${de}-cell-range-hover-start::after`]:{borderStartStartRadius:Mo,borderEndStartRadius:Mo,borderStartEndRadius:0,borderEndEndRadius:0,[`${de}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Mo,borderEndEndRadius:Mo}},[`${de}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Mo,borderEndEndRadius:Mo,[`${de}-panel-rtl &`]:{borderStartStartRadius:Mo,borderEndStartRadius:Mo,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${de}-cell-range-hover-start::after`]:{insetInlineStart:Ot,borderInlineStart:`${wn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Ot,borderInlineEnd:`${wn}px dashed ${ai}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Ot,borderInlineEnd:`${wn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineStart:Ot,borderInlineStart:`${wn}px dashed ${ai}`}}},"&-week-panel":{[`${de}-body`]:{padding:`${rn}px ${ln}px`},[`${de}-cell`]:{[`&:hover ${Qe},
|
|
&-selected ${Qe},
|
|
${Qe}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${za}`},"&:first-child:before":{borderStartStartRadius:Mo,borderEndStartRadius:Mo},"&:last-child:before":{borderStartEndRadius:Mo,borderEndEndRadius:Mo}},"&:hover td":{"&:before":{background:Ai}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ge}`]:{"&:before":{background:Kn},[`&${de}-cell-week`]:{color:new oi.C(Ho).setAlpha(.5).toHexString()},[Qe]:{color:Ho}}},"&-range-hover td:before":{background:ke}}},"&-date-panel":{[`${de}-body`]:{padding:`${rn}px ${ot}px`},[`${de}-content`]:{width:bt*7,th:{width:bt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${de}-time-panel`]:{borderInlineStart:`${wn}px ${Bn} ${bn}`},[`${de}-date-panel,
|
|
${de}-time-panel`]:{transition:`opacity ${ni}`},"&-active":{[`${de}-date-panel,
|
|
${de}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${de}-content`]:{display:"flex",flex:"auto",height:Ci},"&-column":{flex:"1 0 auto",width:ce,margin:`${pn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${za}`,overflowX:"hidden","&::after":{display:"block",height:Ci-pe,content:'""'},"&:not(:first-child)":{borderInlineStart:`${wn}px ${Bn} ${bn}`},"&-active":{background:new oi.C(ke).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${de}-time-panel-cell`]:{marginInline:Ue,[`${de}-time-panel-cell-inner`]:{display:"block",width:ce-2*Ue,height:pe,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ce-pe)/2,color:po,lineHeight:`${pe}px`,borderRadius:Mo,cursor:"pointer",transition:`background ${za}`,"&:hover":{background:Ai}},"&-selected":{[`${de}-time-panel-cell-inner`]:{background:ke}},"&-disabled":{[`${de}-time-panel-cell-inner`]:{color:jr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${de}-time-panel-column:after`]:{height:Ci-pe+pn*2}}}},vr=le=>{const{componentCls:de,colorBgContainer:ge,colorError:Qe,errorActiveShadow:Xe,colorWarning:It,warningActiveShadow:bt}=le;return{[`${de}:not(${de}-disabled)`]:{[`&${de}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:Qe},[`&${de}-focused, &:focus`]:Object.assign({},(0,fa.M1)((0,ra.TS)(le,{activeBorderColor:Qe,activeShadow:Xe}))),[`${de}-active-bar`]:{background:Qe}},[`&${de}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:It},[`&${de}-focused, &:focus`]:Object.assign({},(0,fa.M1)((0,ra.TS)(le,{activeBorderColor:It,activeShadow:bt}))),[`${de}-active-bar`]:{background:It}}}}},zr=le=>{const{componentCls:de,antCls:ge,controlHeight:Qe,fontSize:Xe,paddingInline:It,colorBgContainer:bt,lineWidth:ln,lineType:rn,colorBorder:pn,borderRadius:ia,motionDurationMid:wn,colorBgContainerDisabled:Bn,colorTextDisabled:Gn,colorTextPlaceholder:Kn,controlHeightLG:on,fontSizeLG:bn,controlHeightSM:qn,paddingInlineSM:Ta,paddingXS:Da,marginXS:za,colorTextDescription:$a,lineWidthBold:ja,lineHeight:ba,colorPrimary:so,motionDurationSlow:jr,zIndexPopup:po,paddingXXS:Oo,paddingSM:Vo,textHeight:ni,cellActiveWithRangeBg:gi,colorPrimaryBorder:Go,sizePopupArrow:Eo,borderRadiusXS:Do,borderRadiusOuter:Qo,colorBgElevated:ai,borderRadiusLG:Mo,boxShadowSecondary:Ho,borderRadiusSM:Ai,colorSplit:Ci,cellHoverBg:ce,presetsWidth:pe,presetsMaxWidth:ke,boxShadowPopoverArrow:Ue,colorTextQuaternary:ot}=le;return[{[de]:Object.assign(Object.assign(Object.assign({},(0,sa.Wf)(le)),Vn(le,Qe,Xe,It)),{position:"relative",display:"inline-flex",alignItems:"center",background:bt,lineHeight:1,border:`${ln}px ${rn} ${pn}`,borderRadius:ia,transition:`border ${wn}, box-shadow ${wn}`,"&:hover, &-focused":Object.assign({},(0,fa.pU)(le)),"&-focused":Object.assign({},(0,fa.M1)(le)),[`&${de}-disabled`]:{background:Bn,borderColor:pn,cursor:"not-allowed",[`${de}-suffix`]:{color:ot}},[`&${de}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${de}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,fa.ik)(le)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${de}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Kn}}},"&-large":Object.assign(Object.assign({},Vn(le,on,bn,It)),{[`${de}-input > input`]:{fontSize:bn}}),"&-small":Object.assign({},Vn(le,qn,Xe,Ta)),[`${de}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Da/2,color:Gn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:za}}},[`${de}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Gn,lineHeight:1,background:bt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${wn}, color ${wn}`,"> *":{verticalAlign:"top"},"&:hover":{color:$a}},[`${de}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:bn,color:Gn,fontSize:bn,verticalAlign:"top",cursor:"default",[`${de}-focused &`]:{color:$a},[`${de}-range-separator &`]:{[`${de}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${de}-clear`]:{insetInlineEnd:It},"&:hover":{[`${de}-clear`]:{opacity:1}},[`${de}-active-bar`]:{bottom:-ln,height:ja,marginInlineStart:It,background:so,opacity:0,transition:`all ${jr} ease-out`,pointerEvents:"none"},[`&${de}-focused`]:{[`${de}-active-bar`]:{opacity:1}},[`${de}-range-separator`]:{alignItems:"center",padding:`0 ${Da}px`,lineHeight:1},[`&${de}-small`]:{[`${de}-clear`]:{insetInlineEnd:Ta},[`${de}-active-bar`]:{marginInlineStart:Ta}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,sa.Wf)(le)),$r(le)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:po,[`&${de}-dropdown-hidden`]:{display:"none"},[`&${de}-dropdown-placement-bottomLeft`]:{[`${de}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${de}-dropdown-placement-topLeft`]:{[`${de}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-topLeft,
|
|
&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-topRight,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-topLeft,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-topRight`]:{animationName:Tn.Qt},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-bottomLeft,
|
|
&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-bottomRight,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-bottomLeft,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-bottomRight`]:{animationName:Tn.fJ},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-topLeft,
|
|
&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-topRight`]:{animationName:Tn.ly},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-bottomLeft,
|
|
&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-bottomRight`]:{animationName:Tn.Uw},[`${de}-panel > ${de}-time-panel`]:{paddingTop:Oo},[`${de}-ranges`]:{marginBottom:0,padding:`${Oo}px ${Vo}px`,overflow:"hidden",lineHeight:`${ni-2*ln-Da/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${de}-preset > ${ge}-tag-blue`]:{color:so,background:gi,borderColor:Go,cursor:"pointer"},[`${de}-ok`]:{marginInlineStart:"auto"}},[`${de}-range-wrapper`]:{display:"flex",position:"relative"},[`${de}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:It*1.5,transition:`left ${jr} ease-out`},(0,eo.r)(Eo,Do,Qo,ai,Ue)),[`${de}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ai,borderRadius:Mo,boxShadow:Ho,transition:`margin ${jr}`,[`${de}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${de}-presets`]:{display:"flex",flexDirection:"column",minWidth:pe,maxWidth:ke,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Da,borderInlineEnd:`${ln}px ${rn} ${Ci}`,li:Object.assign(Object.assign({},sa.vS),{borderRadius:Ai,paddingInline:Da,paddingBlock:(qn-Math.round(Xe*ba))/2,cursor:"pointer",transition:`all ${jr}`,"+ li":{marginTop:za},"&:hover":{background:ce}})}},[`${de}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${de}-panel`]:{borderWidth:`0 0 ${ln}px`},"&:last-child":{[`${de}-panel`]:{borderWidth:0}}},[`${de}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${de}-content,
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:pn}}}}),"&-dropdown-range":{padding:`${Eo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${de}-separator`]:{transform:"rotate(180deg)"},[`${de}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Tn.oN)(le,"slide-up"),(0,Tn.oN)(le,"slide-down"),(0,nr.Fm)(le,"move-up"),(0,nr.Fm)(le,"move-down")]},qo=le=>{const{componentCls:de,controlHeightLG:ge,paddingXXS:Qe,padding:Xe}=le;return{pickerCellCls:`${de}-cell`,pickerCellInnerCls:`${de}-cell-inner`,pickerYearMonthCellWidth:ge*1.5,pickerQuarterPanelContentHeight:ge*1.4,pickerCellPaddingVertical:Qe+Qe/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Xe+Qe/2}},Sr=le=>({cellHoverBg:le.controlItemBgHover,cellActiveWithRangeBg:le.controlItemBgActive,cellHoverWithRangeBg:new oi.C(le.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new oi.C(le.colorPrimary).lighten(20).toHexString(),cellBgDisabled:le.colorBgContainerDisabled,timeColumnWidth:le.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:le.controlHeightSM*1.5,cellHeight:le.controlHeightSM,textHeight:le.controlHeightLG,withoutTimeCellHeight:le.controlHeightLG*1.65});var So=(0,nn.Z)("DatePicker",le=>{const de=(0,ra.TS)((0,fa.e5)(le),qo(le));return[zr(de),vr(de),(0,Bi.c)(le,{focusElCls:`${le.componentCls}-focused`})]},le=>Object.assign(Object.assign(Object.assign({},(0,fa.TM)(le)),Sr(le)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:le.zIndexPopupBase+50}));function Ha(le,de,ge){return ge!==void 0?ge:de==="year"&&le.lang.yearPlaceholder?le.lang.yearPlaceholder:de==="quarter"&&le.lang.quarterPlaceholder?le.lang.quarterPlaceholder:de==="month"&&le.lang.monthPlaceholder?le.lang.monthPlaceholder:de==="week"&&le.lang.weekPlaceholder?le.lang.weekPlaceholder:de==="time"&&le.timePickerLocale.placeholder?le.timePickerLocale.placeholder:le.lang.placeholder}function Yr(le,de,ge){return ge!==void 0?ge:de==="year"&&le.lang.yearPlaceholder?le.lang.rangeYearPlaceholder:de==="quarter"&&le.lang.quarterPlaceholder?le.lang.rangeQuarterPlaceholder:de==="month"&&le.lang.monthPlaceholder?le.lang.rangeMonthPlaceholder:de==="week"&&le.lang.weekPlaceholder?le.lang.rangeWeekPlaceholder:de==="time"&&le.timePickerLocale.placeholder?le.timePickerLocale.rangePlaceholder:le.lang.rangePlaceholder}function mo(le,de){const ge={adjustX:1,adjustY:1};switch(de){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ge};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ge};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ge};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ge};default:return{points:le==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ge}}}function Fo(le){return le?Array.isArray(le)?le:[le]:[]}function vn(le){const{format:de,picker:ge,showHour:Qe,showMinute:Xe,showSecond:It,use12Hours:bt}=le,ln=Fo(de)[0],rn=Object.assign({},le);return de&&Array.isArray(de)&&(rn.format=ln),ln&&typeof ln=="string"&&(!ln.includes("s")&&It===void 0&&(rn.showSecond=!1),!ln.includes("m")&&Xe===void 0&&(rn.showMinute=!1),!ln.includes("H")&&!ln.includes("h")&&!ln.includes("K")&&!ln.includes("k")&&Qe===void 0&&(rn.showHour=!1),(ln.includes("a")||ln.includes("A"))&&bt===void 0&&(rn.use12Hours=!0)),ge==="time"?rn:(typeof ln=="function"&&delete rn.format,{showTime:rn})}function aa(le,de,ge){if(le===!1)return!1;const Qe={clearIcon:de!=null?de:ge};return typeof le=="object"?Object.assign(Object.assign({},Qe),le):Qe}var Aa=te(3113);function zn(le){return ae.createElement(Aa.ZP,Object.assign({size:"small",type:"primary"},le))}var Br={button:zn},Ar=function(le,de){var ge={};for(var Qe in le)Object.prototype.hasOwnProperty.call(le,Qe)&&de.indexOf(Qe)<0&&(ge[Qe]=le[Qe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Qe=Object.getOwnPropertySymbols(le);Xe<Qe.length;Xe++)de.indexOf(Qe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(le,Qe[Xe])&&(ge[Qe[Xe]]=le[Qe[Xe]]);return ge};function yo(le){return(0,ae.forwardRef)((ge,Qe)=>{const{prefixCls:Xe,getPopupContainer:It,className:bt,placement:ln,size:rn,disabled:pn,bordered:ia=!0,placeholder:wn,popupClassName:Bn,dropdownClassName:Gn,status:Kn,clearIcon:on,allowClear:bn,rootClassName:qn}=ge,Ta=Ar(ge,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Da=ae.useRef(null),{getPrefixCls:za,direction:$a,getPopupContainer:ja}=(0,ae.useContext)(Yo.E_),ba=za("picker",Xe),{compactSize:so,compactItemClassnames:jr}=(0,Xn.ri)(ba,$a),{format:po,showTime:Oo,picker:Vo}=ge,ni=za(),[gi,Go]=So(ba),Eo=Object.assign(Object.assign({},Oo?vn(Object.assign({format:po,picker:Vo},Oo)):{}),Vo==="time"?vn(Object.assign(Object.assign({format:po},ge),{picker:Vo})):{}),Do=(0,Wo.Z)(Ue=>{var ot;return(ot=rn!=null?rn:so)!==null&&ot!==void 0?ot:Ue}),Qo=ae.useContext(vi.Z),ai=pn!=null?pn:Qo,Mo=(0,ae.useContext)(br.aM),{hasFeedback:Ho,status:Ai,feedbackIcon:Ci}=Mo,ce=ae.createElement(ae.Fragment,null,Vo==="time"?ae.createElement($e,null):ae.createElement(Ee,null),Ho&&Ci);(0,ae.useImperativeHandle)(Qe,()=>({focus:()=>{var Ue;return(Ue=Da.current)===null||Ue===void 0?void 0:Ue.focus()},blur:()=>{var Ue;return(Ue=Da.current)===null||Ue===void 0?void 0:Ue.blur()}}));const[pe]=(0,xr.Z)("Calendar",no.Z),ke=Object.assign(Object.assign({},pe),ge.locale);return gi(ae.createElement(Fa,Object.assign({separator:ae.createElement("span",{"aria-label":"to",className:`${ba}-separator`},ae.createElement(Rt,null)),disabled:ai,ref:Da,dropdownAlign:mo($a,ln),placeholder:Yr(ke,Vo,wn),suffixIcon:ce,prevIcon:ae.createElement("span",{className:`${ba}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${ba}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${ba}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${ba}-super-next-icon`}),transitionName:`${ni}-slide-up`},Ta,Eo,{className:Je()({[`${ba}-${Do}`]:Do,[`${ba}-borderless`]:!ia},(0,Ia.Z)(ba,(0,Ia.F)(Ai,Kn),Ho),Go,jr,bt,qn),locale:ke.lang,prefixCls:ba,getPopupContainer:It||ja,generateConfig:le,components:Br,direction:$a,dropdownClassName:Je()(Go,Bn||Gn,qn),allowClear:aa(bn,on,ae.createElement(Ke.Z,null))})))})}var ei=function(le,de){var ge={};for(var Qe in le)Object.prototype.hasOwnProperty.call(le,Qe)&&de.indexOf(Qe)<0&&(ge[Qe]=le[Qe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Qe=Object.getOwnPropertySymbols(le);Xe<Qe.length;Xe++)de.indexOf(Qe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(le,Qe[Xe])&&(ge[Qe[Xe]]=le[Qe[Xe]]);return ge};function Di(le){function de(rn,pn){const ia=pn==="TimePicker"?"timePicker":"datePicker",wn=(0,ae.forwardRef)((Bn,Gn)=>{const{prefixCls:Kn,getPopupContainer:on,style:bn,className:qn,rootClassName:Ta,size:Da,bordered:za=!0,placement:$a,placeholder:ja,popupClassName:ba,dropdownClassName:so,disabled:jr,status:po,clearIcon:Oo,allowClear:Vo}=Bn,ni=ei(Bn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:gi,direction:Go,getPopupContainer:Eo,[ia]:Do}=(0,ae.useContext)(Yo.E_),Qo=gi("picker",Kn),{compactSize:ai,compactItemClassnames:Mo}=(0,Xn.ri)(Qo,Go),Ho=ae.useRef(null),{format:Ai,showTime:Ci}=Bn,[ce,pe]=So(Qo);(0,ae.useImperativeHandle)(Gn,()=>({focus:()=>{var Zn;return(Zn=Ho.current)===null||Zn===void 0?void 0:Zn.focus()},blur:()=>{var Zn;return(Zn=Ho.current)===null||Zn===void 0?void 0:Zn.blur()}}));const ke={showToday:!0};let Ue={};rn&&(Ue.picker=rn);const ot=rn||Bn.picker;Ue=Object.assign(Object.assign(Object.assign({},Ue),Ci?vn(Object.assign({format:Ai,picker:ot},Ci)):{}),ot==="time"?vn(Object.assign(Object.assign({format:Ai},Bn),{picker:ot})):{});const lt=gi(),Ot=(0,Wo.Z)(Zn=>{var la;return(la=Da!=null?Da:ai)!==null&&la!==void 0?la:Zn}),Lt=ae.useContext(vi.Z),Bt=jr!=null?jr:Lt,$t=(0,ae.useContext)(br.aM),{hasFeedback:jt,status:Kt,feedbackIcon:En}=$t,Sn=ae.createElement(ae.Fragment,null,ot==="time"?ae.createElement($e,null):ae.createElement(Ee,null),jt&&En),[xn]=(0,xr.Z)("DatePicker",no.Z),Wn=Object.assign(Object.assign({},xn),Bn.locale);return ce(ae.createElement(Io,Object.assign({ref:Ho,placeholder:Ha(Wn,ot,ja),suffixIcon:Sn,dropdownAlign:mo(Go,$a),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:`${lt}-slide-up`},ke,ni,Ue,{locale:Wn.lang,className:Je()({[`${Qo}-${Ot}`]:Ot,[`${Qo}-borderless`]:!za},(0,Ia.Z)(Qo,(0,Ia.F)(Kt,po),jt),pe,Mo,Do==null?void 0:Do.className,qn,Ta),style:Object.assign(Object.assign({},Do==null?void 0:Do.style),bn),prefixCls:Qo,getPopupContainer:on||Eo,generateConfig:le,components:Br,direction:Go,disabled:Bt,dropdownClassName:Je()(pe,Ta,ba||so),allowClear:aa(Vo,Oo,ae.createElement(Ke.Z,null))})))});return pn&&(wn.displayName=pn),wn}const ge=de(),Qe=de("week","WeekPicker"),Xe=de("month","MonthPicker"),It=de("year","YearPicker"),bt=de("time","TimePicker"),ln=de("quarter","QuarterPicker");return{DatePicker:ge,WeekPicker:Qe,MonthPicker:Xe,YearPicker:It,TimePicker:bt,QuarterPicker:ln}}const zi=null;function el(le){const{DatePicker:de,WeekPicker:ge,MonthPicker:Qe,YearPicker:Xe,TimePicker:It,QuarterPicker:bt}=Di(le),ln=yo(le),rn=de;return rn.WeekPicker=ge,rn.MonthPicker=Qe,rn.YearPicker=Xe,rn.RangePicker=ln,rn.TimePicker=It,rn.QuarterPicker=bt,rn}var wl=el;const vl=wl(ee);function Sl(le){const de=mo(le.direction,le.placement);return de.overflow.adjustY=!1,de.overflow.adjustX=!1,Object.assign(Object.assign({},le),{dropdownAlign:de})}const Fl=(0,ne.Z)(vl,"picker",null,Sl);vl._InternalPanelDoNotUseOrYouWillBeFired=Fl;const uu=(0,ne.Z)(vl.RangePicker,"picker",null,Sl);vl._InternalRangePanelDoNotUseOrYouWillBeFired=uu,vl.generatePicker=wl;var su=vl},28103:function(Et,St,te){"use strict";te.d(St,{Z:function(){return Me}});var z=te(92310),se=te.n(z),he=te(59301),Ie=te(36355),be=te(17313),Ne=te(83116),ie=te(37613);const nt=ye=>{const{componentCls:re,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:b,textPaddingInline:E,orientationMargin:x,verticalMarginInline:ee}=ye;return{[re]:Object.assign(Object.assign({},(0,be.Wf)(ye)),{borderBlockStart:`${b}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ee,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${ye.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${re}-with-text`]:{display:"flex",alignItems:"center",margin:`${ye.dividerHorizontalWithTextGutterMargin}px 0`,color:ye.colorTextHeading,fontWeight:500,fontSize:ye.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${y}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${re}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${re}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${re}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${re}-with-text${re}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${re}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${re}-with-text`]:{color:ye.colorText,fontWeight:"normal",fontSize:ye.fontSize},[`&-horizontal${re}-with-text-left${re}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${re}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${re}-with-text-right${re}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${re}-inner-text`]:{paddingInlineEnd:a}}})}};var je=(0,Ne.Z)("Divider",ye=>{const re=(0,ie.TS)(ye,{dividerHorizontalWithTextGutterMargin:ye.margin,dividerHorizontalGutterMargin:ye.marginLG,sizePaddingEdgeHorizontal:0});return[nt(re)]},ye=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:ye.marginXS})),Ze=function(ye,re){var a={};for(var y in ye)Object.prototype.hasOwnProperty.call(ye,y)&&re.indexOf(y)<0&&(a[y]=ye[y]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(ye);b<y.length;b++)re.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(ye,y[b])&&(a[y[b]]=ye[y[b]]);return a},Me=ye=>{const{getPrefixCls:re,direction:a,divider:y}=he.useContext(Ie.E_),{prefixCls:b,type:E="horizontal",orientation:x="center",orientationMargin:ee,className:ne,rootClassName:oe,children:ae,dashed:ue,plain:me,style:fe}=ye,Pe=Ze(ye,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=re("divider",b),[Ee,De]=je(xe),_e=x.length>0?`-${x}`:x,pt=!!ae,Be=x==="left"&&ee!=null,$e=x==="right"&&ee!=null,Ke=se()(xe,y==null?void 0:y.className,De,`${xe}-${E}`,{[`${xe}-with-text`]:pt,[`${xe}-with-text${_e}`]:pt,[`${xe}-dashed`]:!!ue,[`${xe}-plain`]:!!me,[`${xe}-rtl`]:a==="rtl",[`${xe}-no-default-orientation-margin-left`]:Be,[`${xe}-no-default-orientation-margin-right`]:$e},ne,oe),Ve=he.useMemo(()=>typeof ee=="number"?ee:/^\d+$/.test(ee)?Number(ee):ee,[ee]),it=Object.assign(Object.assign({},Be&&{marginLeft:Ve}),$e&&{marginRight:Ve});return Ee(he.createElement("div",Object.assign({className:Ke,style:Object.assign(Object.assign({},y==null?void 0:y.style),fe)},Pe,{role:"separator"}),ae&&E!=="vertical"&&he.createElement("span",{className:`${xe}-inner-text`,style:it},ae)))}},91857:function(Et,St,te){"use strict";var z=te(59301),se=te(38819),he=te(92310),Ie=te.n(he),be=te(31561),Ne=te(70425),ie=te(18929),nt=te(2738),je=te(79676),Ze=te(53487),ze=te(92343),Me=te(36355),ye=te(20834),re=te(40875),a=te(88088),y=te(47211);const b=null,E=oe=>{const{menu:ae,arrow:ue,prefixCls:me,children:fe,trigger:Pe,disabled:xe,dropdownRender:Ee,getPopupContainer:De,overlayClassName:_e,rootClassName:pt,open:Be,onOpenChange:$e,visible:Ke,onVisibleChange:Ve,mouseEnterDelay:it=.15,mouseLeaveDelay:rt=.1,autoAdjustOverflow:vt=!0,placement:Rt="",overlay:Yt,transitionName:Je}=oe,{getPopupContainer:st,getPrefixCls:At,direction:Nt}=z.useContext(Me.E_),Pt=z.useMemo(()=>{const we=At();return Je!==void 0?Je:Rt.includes("top")?`${we}-slide-down`:`${we}-slide-up`},[At,Rt,Je]),sn=z.useMemo(()=>Rt?Rt.includes("Center")?Rt.slice(0,Rt.indexOf("Center")):Rt:Nt==="rtl"?"bottomRight":"bottomLeft",[Rt,Nt]),Fe=At("dropdown",me),[Qt,Gt]=(0,y.Z)(Fe),[,Hn]=(0,a.Z)(),ea=z.Children.only(fe),Re=(0,ze.Tm)(ea,{className:Ie()(`${Fe}-trigger`,{[`${Fe}-rtl`]:Nt==="rtl"},ea.props.className),disabled:xe}),qe=xe?[]:Pe;let tt;qe&&qe.includes("contextMenu")&&(tt=!0);const[Le,ft]=(0,ie.Z)(!1,{value:Be!=null?Be:Ke}),gt=(0,Ne.useEvent)(we=>{$e==null||$e(we),Ve==null||Ve(we),ft(we)}),Oe=Ie()(_e,pt,Gt,{[`${Fe}-rtl`]:Nt==="rtl"}),ve=(0,je.Z)({arrowPointAtCenter:typeof ue=="object"&&ue.pointAtCenter,autoAdjustOverflow:vt,offset:Hn.marginXXS,arrowWidth:ue?Hn.sizePopupArrow:0,borderRadius:Hn.borderRadius}),Ge=z.useCallback(()=>{ft(!1)},[]),We=()=>{let we;return ae!=null&&ae.items?we=z.createElement(ye.default,Object.assign({},ae)):typeof Yt=="function"?we=Yt():we=Yt,Ee&&(we=Ee(we)),we=z.Children.only(typeof we=="string"?z.createElement("span",null,we):we),z.createElement(re.J,{prefixCls:`${Fe}-menu`,expandIcon:z.createElement("span",{className:`${Fe}-menu-submenu-arrow`},z.createElement(se.Z,{className:`${Fe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ge,validator:mt=>{let{mode:et}=mt}},we)};return Qt(z.createElement(be.Z,Object.assign({alignPoint:tt},(0,nt.Z)(oe,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:rt,visible:Le,builtinPlacements:ve,arrow:!!ue,overlayClassName:Oe,prefixCls:Fe,getPopupContainer:De||st,transitionName:Pt,trigger:qe,overlay:We,placement:sn,onVisibleChange:gt}),Re))};function x(oe){return Object.assign(Object.assign({},oe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,Ze.Z)(E,"dropdown",oe=>oe,x),ne=oe=>z.createElement(ee,Object.assign({},oe),z.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ne,St.Z=E},38854:function(Et,St,te){"use strict";te.d(St,{Z:function(){return a}});var z=te(91857),se=te(92310),he=te.n(se),Ie=te(59301),be=te(18785),Ne=te(3113),ie=te(36355),nt=te(81327),je=te(33234),Ze=te(47211),ze=function(y,b){var E={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(E[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,x=Object.getOwnPropertySymbols(y);ee<x.length;ee++)b.indexOf(x[ee])<0&&Object.prototype.propertyIsEnumerable.call(y,x[ee])&&(E[x[ee]]=y[x[ee]]);return E};const Me=y=>{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Ie.useContext(ie.E_),{prefixCls:ee,type:ne="default",danger:oe,disabled:ae,loading:ue,onClick:me,htmlType:fe,children:Pe,className:xe,menu:Ee,arrow:De,autoFocus:_e,overlay:pt,trigger:Be,align:$e,open:Ke,onOpenChange:Ve,placement:it,getPopupContainer:rt,href:vt,icon:Rt=Ie.createElement(be.Z,null),title:Yt,buttonsRender:Je=We=>We,mouseEnterDelay:st,mouseLeaveDelay:At,overlayClassName:Nt,overlayStyle:Pt,destroyPopupOnHide:sn,dropdownRender:Fe}=y,Qt=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"]),Gt=E("dropdown",ee),Hn=`${Gt}-button`,[ea,Re]=(0,Ze.Z)(Gt),qe={menu:Ee,arrow:De,autoFocus:_e,align:$e,disabled:ae,trigger:ae?[]:Be,onOpenChange:Ve,getPopupContainer:rt||b,mouseEnterDelay:st,mouseLeaveDelay:At,overlayClassName:Nt,overlayStyle:Pt,destroyPopupOnHide:sn,dropdownRender:Fe},{compactSize:tt,compactItemClassnames:Le}=(0,je.ri)(Gt,x),ft=he()(Hn,Le,xe,Re);"overlay"in y&&(qe.overlay=pt),"open"in y&&(qe.open=Ke),"placement"in y?qe.placement=it:qe.placement=x==="rtl"?"bottomLeft":"bottomRight";const gt=Ie.createElement(Ne.ZP,{type:ne,danger:oe,disabled:ae,loading:ue,onClick:me,htmlType:fe,href:vt,title:Yt},Pe),Oe=Ie.createElement(Ne.ZP,{type:ne,danger:oe,icon:Rt}),[ve,Ge]=Je([gt,Oe]);return ea(Ie.createElement(nt.Z.Compact,Object.assign({className:ft,size:tt,block:!0},Qt),ve,Ie.createElement(z.Z,Object.assign({},qe),Ge)))};Me.__ANT_BUTTON=!0;var ye=Me;const re=z.Z;re.Button=ye;var a=re},47211:function(Et,St,te){"use strict";te.d(St,{Z:function(){return ze}});var z=te(17313),se=te(13826),he=te(92899),Ie=te(29878),be=te(19447),Ne=te(83116),ie=te(37613),je=Me=>{const{componentCls:ye,menuCls:re,colorError:a,colorTextLightSolid:y}=Me,b=`${re}-item`;return{[`${ye}, ${ye}-menu-submenu`]:{[`${re} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Ze=Me=>{const{componentCls:ye,menuCls:re,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:ee,dropdownPaddingVertical:ne,fontSize:oe,dropdownEdgeChildPadding:ae,colorTextDisabled:ue,fontSizeIcon:me,controlPaddingHorizontal:fe,colorBgElevated:Pe}=Me;return[{[ye]:Object.assign(Object.assign({},(0,z.Wf)(Me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${x}-down, & > ${E}-btn-icon > ${x}-down`]:{fontSize:me}},[`${ye}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:me},[`${x}-down::before`]:{transition:`transform ${ee}`}},[`${ye}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottomLeft,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottomLeft,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottom,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottom,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottomRight,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottomRight`]:{animationName:se.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-topLeft,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-topLeft,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-top,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-top,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-topRight,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-topRight`]:{animationName:se.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottomLeft,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottom,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottomRight`]:{animationName:se.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-topLeft,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-top,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-topRight`]:{animationName:se.ly}})},(0,be.ZP)(Me,{colorBg:Pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ye} ${re}`]:{position:"relative",margin:0},[`${re}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ye}, ${ye}-menu-submenu`]:{[re]:Object.assign(Object.assign({padding:ae,listStyleType:"none",backgroundColor:Pe,backgroundClip:"padding-box",borderRadius:Me.borderRadiusLG,outline:"none",boxShadow:Me.boxShadowSecondary},(0,z.Qy)(Me)),{[`${re}-item-group-title`]:{padding:`${ne}px ${fe}px`,color:Me.colorTextDescription,transition:`all ${ee}`},[`${re}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${re}-item-icon`]:{minWidth:oe,marginInlineEnd:Me.marginXS,fontSize:Me.fontSizeSM},[`${re}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${re}-item, ${re}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${fe}px`,color:Me.colorText,fontWeight:"normal",fontSize:oe,lineHeight:Me.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:Me.borderRadiusSM,"&:hover, &-active":{backgroundColor:Me.controlItemBgHover}},(0,z.Qy)(Me)),{"&-selected":{color:Me.colorPrimary,backgroundColor:Me.controlItemBgActive,"&:hover, &-active":{backgroundColor:Me.controlItemBgActiveHover}},"&-disabled":{color:ue,cursor:"not-allowed","&:hover":{color:ue,backgroundColor:Pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Me.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Me.colorSplit},[`${ye}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Me.paddingXS,[`${ye}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Me.colorTextDescription,fontSize:me,fontStyle:"normal"}}}),[`${re}-item-group-list`]:{margin:`0 ${Me.marginXS}px`,padding:0,listStyle:"none"},[`${re}-submenu-title`]:{paddingInlineEnd:fe+Me.fontSizeSM},[`${re}-submenu-vertical`]:{position:"relative"},[`${re}-submenu${re}-submenu-disabled ${ye}-menu-submenu-title`]:{[`&, ${ye}-menu-submenu-arrow-icon`]:{color:ue,backgroundColor:Pe,cursor:"not-allowed"}},[`${re}-submenu-selected ${ye}-menu-submenu-title`]:{color:Me.colorPrimary}})}},[(0,se.oN)(Me,"slide-up"),(0,se.oN)(Me,"slide-down"),(0,he.Fm)(Me,"move-up"),(0,he.Fm)(Me,"move-down"),(0,Ie._y)(Me,"zoom-big")]]};var ze=(0,Ne.Z)("Dropdown",(Me,ye)=>{let{rootPrefixCls:re}=ye;const{marginXXS:a,sizePopupArrow:y,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:ee,componentCls:ne,borderRadiusLG:oe}=Me,ae=(b-E*x)/2,{dropdownArrowOffset:ue}=(0,be.fS)({contentRadius:oe}),me=(0,ie.TS)(Me,{menuCls:`${ne}-menu`,rootPrefixCls:re,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ue,dropdownPaddingVertical:ae,dropdownEdgeChildPadding:ee});return[Ze(me),je(me)]},Me=>({zIndexPopup:Me.zIndexPopupBase+50}))},8628:function(Et,St,te){"use strict";var z=te(59301),se=te(34280),he=te(56762),Ie=te(69507);function be(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ie=(0,z.useRef)({}),nt=(0,he.Z)(),je=(0,Ie.ZP)();return(0,se.Z)(()=>{const Ze=je.subscribe(ze=>{ie.current=ze,Ne&&nt()});return()=>je.unsubscribe(Ze)},[]),ie.current}St.Z=be},45818:function(Et,St,te){"use strict";te.d(St,{D:function(){return ee},Z:function(){return ae}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ie=he,be=te(7657),Ne=function(me,fe){return se.createElement(be.Z,(0,z.Z)({},me,{ref:fe,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie,je=te(33853),Ze=te(38819),ze=te(92310),Me=te.n(ze),ye=te(2738),a=ue=>!isNaN(parseFloat(ue))&&isFinite(ue),y=te(36355),b=te(84966),E=function(ue,me){var fe={};for(var Pe in ue)Object.prototype.hasOwnProperty.call(ue,Pe)&&me.indexOf(Pe)<0&&(fe[Pe]=ue[Pe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Pe=Object.getOwnPropertySymbols(ue);xe<Pe.length;xe++)me.indexOf(Pe[xe])<0&&Object.prototype.propertyIsEnumerable.call(ue,Pe[xe])&&(fe[Pe[xe]]=ue[Pe[xe]]);return fe};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=se.createContext({}),ne=(()=>{let ue=0;return function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ue+=1,`${me}${ue}`}})();var ae=se.forwardRef((ue,me)=>{const{prefixCls:fe,className:Pe,trigger:xe,children:Ee,defaultCollapsed:De=!1,theme:_e="dark",style:pt={},collapsible:Be=!1,reverseArrow:$e=!1,width:Ke=200,collapsedWidth:Ve=80,zeroWidthTriggerStyle:it,breakpoint:rt,onCollapse:vt,onBreakpoint:Rt}=ue,Yt=E(ue,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Je}=(0,se.useContext)(b.Gs),[st,At]=(0,se.useState)("collapsed"in ue?ue.collapsed:De),[Nt,Pt]=(0,se.useState)(!1);(0,se.useEffect)(()=>{"collapsed"in ue&&At(ue.collapsed)},[ue.collapsed]);const sn=(Re,qe)=>{"collapsed"in ue||At(Re),vt==null||vt(Re,qe)},Fe=(0,se.useRef)();Fe.current=Re=>{Pt(Re.matches),Rt==null||Rt(Re.matches),st!==Re.matches&&sn(Re.matches,"responsive")},(0,se.useEffect)(()=>{function Re(tt){return Fe.current(tt)}let qe;if(typeof window!="undefined"){const{matchMedia:tt}=window;if(tt&&rt&&rt in x){qe=tt(`(max-width: ${x[rt]})`);try{qe.addEventListener("change",Re)}catch(Le){qe.addListener(Re)}Re(qe)}}return()=>{try{qe==null||qe.removeEventListener("change",Re)}catch(tt){qe==null||qe.removeListener(Re)}}},[rt]),(0,se.useEffect)(()=>{const Re=ne("ant-sider-");return Je.addSider(Re),()=>Je.removeSider(Re)},[]);const Qt=()=>{sn(!st,"clickTrigger")},{getPrefixCls:Gt}=(0,se.useContext)(y.E_),Hn=()=>{const Re=Gt("layout-sider",fe),qe=(0,ye.Z)(Yt,["collapsed"]),tt=st?Ve:Ke,Le=a(tt)?`${tt}px`:String(tt),ft=parseFloat(String(Ve||0))===0?se.createElement("span",{onClick:Qt,className:Me()(`${Re}-zero-width-trigger`,`${Re}-zero-width-trigger-${$e?"right":"left"}`),style:it},xe||se.createElement(nt,null)):null,ve={expanded:$e?se.createElement(Ze.Z,null):se.createElement(je.Z,null),collapsed:$e?se.createElement(je.Z,null):se.createElement(Ze.Z,null)}[st?"collapsed":"expanded"],Ge=xe!==null?ft||se.createElement("div",{className:`${Re}-trigger`,onClick:Qt,style:{width:Le}},xe||ve):null,We=Object.assign(Object.assign({},pt),{flex:`0 0 ${Le}`,maxWidth:Le,minWidth:Le,width:Le}),we=Me()(Re,`${Re}-${_e}`,{[`${Re}-collapsed`]:!!st,[`${Re}-has-trigger`]:Be&&xe!==null&&!ft,[`${Re}-below`]:!!Nt,[`${Re}-zero-width`]:parseFloat(Le)===0},Pe);return se.createElement("aside",Object.assign({className:we},qe,{style:We,ref:me}),se.createElement("div",{className:`${Re}-children`},Ee),Be||Nt&&ft?Ge:null)},ea=se.useMemo(()=>({siderCollapsed:st}),[st]);return se.createElement(ee.Provider,{value:ea},Hn())})},84966:function(Et,St,te){"use strict";te.d(St,{VY:function(){return ee},$_:function(){return x},h4:function(){return E},Gs:function(){return ye},ZP:function(){return ne}});var z=te(94480),se=te(92310),he=te.n(se),Ie=te(2738),be=te(59301),Ne=te(36355),ie=te(83116),je=oe=>{const{componentCls:ae,bodyBg:ue,lightSiderBg:me,lightTriggerBg:fe,lightTriggerColor:Pe}=oe;return{[`${ae}-sider-light`]:{background:me,[`${ae}-sider-trigger`]:{color:Pe,background:fe},[`${ae}-sider-zero-width-trigger`]:{color:Pe,background:fe,border:`1px solid ${ue}`,borderInlineStart:0}}}};const Ze=oe=>{const{antCls:ae,componentCls:ue,colorText:me,triggerColor:fe,footerBg:Pe,triggerBg:xe,headerHeight:Ee,headerPadding:De,headerColor:_e,footerPadding:pt,triggerHeight:Be,zeroTriggerHeight:$e,zeroTriggerWidth:Ke,motionDurationMid:Ve,motionDurationSlow:it,fontSize:rt,borderRadius:vt,bodyBg:Rt,headerBg:Yt,siderBg:Je}=oe;return{[ue]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Rt,"&, *":{boxSizing:"border-box"},[`&${ue}-has-sider`]:{flexDirection:"row",[`> ${ue}, > ${ue}-content`]:{width:0}},[`${ue}-header, &${ue}-footer`]:{flex:"0 0 auto"},[`${ue}-sider`]:{position:"relative",minWidth:0,background:Je,transition:`all ${Ve}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ae}-menu${ae}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Be},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Be,color:fe,lineHeight:`${Be}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${Ve}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ee,insetInlineEnd:-Ke,zIndex:1,width:Ke,height:$e,color:fe,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Je,borderStartStartRadius:0,borderStartEndRadius:vt,borderEndEndRadius:vt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ke,borderStartStartRadius:vt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:vt}}}}},je(oe)),{"&-rtl":{direction:"rtl"}}),[`${ue}-header`]:{height:Ee,padding:De,color:_e,lineHeight:`${Ee}px`,background:Yt,[`${ae}-menu`]:{lineHeight:"inherit"}},[`${ue}-footer`]:{padding:pt,color:me,fontSize:rt,background:Pe},[`${ue}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,ie.Z)("Layout",oe=>[Ze(oe)],oe=>{const{colorBgLayout:ae,controlHeight:ue,controlHeightLG:me,colorText:fe,controlHeightSM:Pe,marginXXS:xe,colorTextLightSolid:Ee,colorBgContainer:De}=oe,_e=me*1.25;return{colorBgHeader:"#001529",colorBgBody:ae,colorBgTrigger:"#002140",bodyBg:ae,headerBg:"#001529",headerHeight:ue*2,headerPadding:`0 ${_e}px`,headerColor:fe,footerPadding:`${Pe}px ${_e}px`,footerBg:ae,siderBg:"#001529",triggerHeight:me+xe*2,triggerBg:"#002140",triggerColor:Ee,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:De,lightTriggerBg:De,lightTriggerColor:fe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Me=function(oe,ae){var ue={};for(var me in oe)Object.prototype.hasOwnProperty.call(oe,me)&&ae.indexOf(me)<0&&(ue[me]=oe[me]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,me=Object.getOwnPropertySymbols(oe);fe<me.length;fe++)ae.indexOf(me[fe])<0&&Object.prototype.propertyIsEnumerable.call(oe,me[fe])&&(ue[me[fe]]=oe[me[fe]]);return ue};const ye=be.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function re(oe){let{suffixCls:ae,tagName:ue,displayName:me}=oe;return fe=>be.forwardRef((xe,Ee)=>be.createElement(fe,Object.assign({ref:Ee,suffixCls:ae,tagName:ue},xe)))}const a=be.forwardRef((oe,ae)=>{const{prefixCls:ue,suffixCls:me,className:fe,tagName:Pe}=oe,xe=Me(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ee}=be.useContext(Ne.E_),De=Ee("layout",ue),[_e,pt]=ze(De),Be=me?`${De}-${me}`:De;return _e(be.createElement(Pe,Object.assign({className:he()(ue||Be,fe,pt),ref:ae},xe)))}),y=be.forwardRef((oe,ae)=>{const{direction:ue}=be.useContext(Ne.E_),[me,fe]=be.useState([]),{prefixCls:Pe,className:xe,rootClassName:Ee,children:De,hasSider:_e,tagName:pt,style:Be}=oe,$e=Me(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ke=(0,Ie.Z)($e,["suffixCls"]),{getPrefixCls:Ve,layout:it}=be.useContext(Ne.E_),rt=Ve("layout",Pe),[vt,Rt]=ze(rt),Yt=he()(rt,{[`${rt}-has-sider`]:typeof _e=="boolean"?_e:me.length>0,[`${rt}-rtl`]:ue==="rtl"},it==null?void 0:it.className,xe,Ee,Rt),Je=be.useMemo(()=>({siderHook:{addSider:st=>{fe(At=>[].concat((0,z.Z)(At),[st]))},removeSider:st=>{fe(At=>At.filter(Nt=>Nt!==st))}}}),[]);return vt(be.createElement(ye.Provider,{value:Je},be.createElement(pt,Object.assign({ref:ae,className:Yt,style:Object.assign(Object.assign({},it==null?void 0:it.style),Be)},Ke),De)))}),b=re({tagName:"div",displayName:"Layout"})(y),E=re({suffixCls:"header",tagName:"header",displayName:"Header"})(a),x=re({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=re({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ne=b},40875:function(Et,St,te){"use strict";te.d(St,{J:function(){return Ne}});var z=te(59301),se=te(33234),he=te(70425),Ie=function(ie,nt){var je={};for(var Ze in ie)Object.prototype.hasOwnProperty.call(ie,Ze)&&nt.indexOf(Ze)<0&&(je[Ze]=ie[Ze]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ze=Object.getOwnPropertySymbols(ie);ze<Ze.length;ze++)nt.indexOf(Ze[ze])<0&&Object.prototype.propertyIsEnumerable.call(ie,Ze[ze])&&(je[Ze[ze]]=ie[Ze[ze]]);return je};const be=z.createContext(null),Ne=z.forwardRef((ie,nt)=>{const{children:je}=ie,Ze=Ie(ie,["children"]),ze=z.useContext(be),Me=z.useMemo(()=>Object.assign(Object.assign({},ze),Ze),[ze,Ze.prefixCls,Ze.mode,Ze.selectable]);return z.createElement(be.Provider,{value:Me},z.createElement(se.BR,null,(0,he.supportNodeRef)(je)?z.cloneElement(je,{ref:nt}):je))});St.Z=be},20834:function(Et,St,te){"use strict";te.d(St,{default:function(){return ea}});var z=te(15285),se=te(59301),he=te(45818),Ie=te(92310),be=te.n(Ie),Ne=te(36355),ie=function(Re,qe){var tt={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&qe.indexOf(Le)<0&&(tt[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Le=Object.getOwnPropertySymbols(Re);ft<Le.length;ft++)qe.indexOf(Le[ft])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[ft])&&(tt[Le[ft]]=Re[Le[ft]]);return tt},je=Re=>{const{prefixCls:qe,className:tt,dashed:Le}=Re,ft=ie(Re,["prefixCls","className","dashed"]),{getPrefixCls:gt}=se.useContext(Ne.E_),Oe=gt("menu",qe),ve=be()({[`${Oe}-item-divider-dashed`]:!!Le},tt);return se.createElement(z.iz,Object.assign({className:ve},ft))},Ze=te(11592),ze=te(2738),Me=te(6848),ye=te(92343),a=(0,se.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Re=>{var qe;const{className:tt,children:Le,icon:ft,title:gt,danger:Oe}=Re,{prefixCls:ve,firstLevel:Ge,direction:We,disableMenuItemTitleTooltip:we,inlineCollapsed:mt}=se.useContext(a),et=He=>{const ct=se.createElement("span",{className:`${ve}-title-content`},Le);return(!ft||(0,ye.l$)(Le)&&Le.type==="span")&&Le&&He&&Ge&&typeof Le=="string"?se.createElement("div",{className:`${ve}-inline-collapsed-noicon`},Le.charAt(0)):ct},{siderCollapsed:Ht}=se.useContext(he.D);let Se=gt;typeof gt=="undefined"?Se=Ge?Le:"":gt===!1&&(Se="");const ut={title:Se};!Ht&&!mt&&(ut.title=null,ut.open=!1);const xt=(0,Ze.Z)(Le).length;let Ae=se.createElement(z.ck,Object.assign({},(0,ze.Z)(Re,["title","icon","danger"]),{className:be()({[`${ve}-item-danger`]:Oe,[`${ve}-item-only-child`]:(ft?xt+1:xt)===1},tt),title:typeof gt=="string"?gt:void 0}),(0,ye.Tm)(ft,{className:be()((0,ye.l$)(ft)?(qe=ft.props)===null||qe===void 0?void 0:qe.className:"",`${ve}-item-icon`)}),et(mt));return we||(Ae=se.createElement(Me.Z,Object.assign({},ut,{placement:We==="rtl"?"left":"right",overlayClassName:`${ve}-inline-collapsed-tooltip`}),Ae)),Ae},x=Re=>{var qe;const{popupClassName:tt,icon:Le,title:ft,theme:gt}=Re,Oe=se.useContext(a),{prefixCls:ve,inlineCollapsed:Ge,theme:We}=Oe,we=(0,z.Xl)();let mt;if(!Le)mt=Ge&&!we.length&&ft&&typeof ft=="string"?se.createElement("div",{className:`${ve}-inline-collapsed-noicon`},ft.charAt(0)):se.createElement("span",{className:`${ve}-title-content`},ft);else{const Ht=(0,ye.l$)(ft)&&ft.type==="span";mt=se.createElement(se.Fragment,null,(0,ye.Tm)(Le,{className:be()((0,ye.l$)(Le)?(qe=Le.props)===null||qe===void 0?void 0:qe.className:"",`${ve}-item-icon`)}),Ht?ft:se.createElement("span",{className:`${ve}-title-content`},ft))}const et=se.useMemo(()=>Object.assign(Object.assign({},Oe),{firstLevel:!1}),[Oe]);return se.createElement(a.Provider,{value:et},se.createElement(z.Wd,Object.assign({},(0,ze.Z)(Re,["icon"]),{title:mt,popupClassName:be()(ve,tt,`${ve}-${gt||We}`)})))},ee=te(18785),ne=te(70425),oe=te(62892),ae=te(40875),ue=function(Re,qe){var tt={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&qe.indexOf(Le)<0&&(tt[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Le=Object.getOwnPropertySymbols(Re);ft<Le.length;ft++)qe.indexOf(Le[ft])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[ft])&&(tt[Le[ft]]=Re[Le[ft]]);return tt};function me(Re){return(Re||[]).map((qe,tt)=>{if(qe&&typeof qe=="object"){const Le=qe,{label:ft,children:gt,key:Oe,type:ve}=Le,Ge=ue(Le,["label","children","key","type"]),We=Oe!=null?Oe:`tmp-${tt}`;return gt||ve==="group"?ve==="group"?se.createElement(z.BW,Object.assign({key:We},Ge,{title:ft}),me(gt)):se.createElement(x,Object.assign({key:We},Ge,{title:ft}),me(gt)):ve==="divider"?se.createElement(je,Object.assign({key:We},Ge)):se.createElement(b,Object.assign({key:We},Ge),ft)}return null}).filter(qe=>qe)}function fe(Re){return se.useMemo(()=>Re&&me(Re),[Re])}var Pe=te(64993),xe=te(17313),Ee=te(8378),De=te(13826),_e=te(29878),pt=te(83116),Be=te(37613),Ke=Re=>{const{componentCls:qe,motionDurationSlow:tt,horizontalLineHeight:Le,colorSplit:ft,lineWidth:gt,lineType:Oe,itemPaddingInline:ve}=Re;return{[`${qe}-horizontal`]:{lineHeight:Le,border:0,borderBottom:`${gt}px ${Oe} ${ft}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${qe}-item, ${qe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ve},[`> ${qe}-item:hover,
|
|
> ${qe}-item-active,
|
|
> ${qe}-submenu ${qe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${qe}-item, ${qe}-submenu-title`]:{transition:[`border-color ${tt}`,`background ${tt}`].join(",")},[`${qe}-submenu-arrow`]:{display:"none"}}}},it=Re=>{let{componentCls:qe,menuArrowOffset:tt}=Re;return{[`${qe}-rtl`]:{direction:"rtl"},[`${qe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${qe}-rtl${qe}-vertical,
|
|
${qe}-submenu-rtl ${qe}-vertical`]:{[`${qe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${tt})`},"&::after":{transform:`rotate(45deg) translateY(${tt})`}}}}};const rt=Re=>Object.assign({},(0,xe.oN)(Re));var Rt=(Re,qe)=>{const{componentCls:tt,itemColor:Le,itemSelectedColor:ft,groupTitleColor:gt,itemBg:Oe,subMenuItemBg:ve,itemSelectedBg:Ge,activeBarHeight:We,activeBarWidth:we,activeBarBorderWidth:mt,motionDurationSlow:et,motionEaseInOut:Ht,motionEaseOut:Se,itemPaddingInline:ut,motionDurationMid:xt,itemHoverColor:Ae,lineType:He,colorSplit:ct,itemDisabledColor:wt,dangerItemColor:Zt,dangerItemHoverColor:gn,dangerItemSelectedColor:dt,dangerItemActiveBg:Dt,dangerItemSelectedBg:yt,itemHoverBg:en,itemActiveBg:Vt,menuSubMenuBg:un,horizontalItemSelectedColor:Un,horizontalItemSelectedBg:mn,horizontalItemBorderRadius:an,horizontalItemHoverBg:$n,popupBg:_t}=Re;return{[`${tt}-${qe}, ${tt}-${qe} > ${tt}`]:{color:Le,background:Oe,[`&${tt}-root:focus-visible`]:Object.assign({},rt(Re)),[`${tt}-item-group-title`]:{color:gt},[`${tt}-submenu-selected`]:{[`> ${tt}-submenu-title`]:{color:ft}},[`${tt}-item-disabled, ${tt}-submenu-disabled`]:{color:`${wt} !important`},[`${tt}-item:not(${tt}-item-selected):not(${tt}-submenu-selected)`]:{[`&:hover, > ${tt}-submenu-title:hover`]:{color:Ae}},[`&:not(${tt}-horizontal)`]:{[`${tt}-item:not(${tt}-item-selected)`]:{"&:hover":{backgroundColor:en},"&:active":{backgroundColor:Vt}},[`${tt}-submenu-title`]:{"&:hover":{backgroundColor:en},"&:active":{backgroundColor:Vt}}},[`${tt}-item-danger`]:{color:Zt,[`&${tt}-item:hover`]:{[`&:not(${tt}-item-selected):not(${tt}-submenu-selected)`]:{color:gn}},[`&${tt}-item:active`]:{background:Dt}},[`${tt}-item a`]:{"&, &:hover":{color:"inherit"}},[`${tt}-item-selected`]:{color:ft,[`&${tt}-item-danger`]:{color:dt},"a, a:hover":{color:"inherit"}},[`& ${tt}-item-selected`]:{backgroundColor:Ge,[`&${tt}-item-danger`]:{backgroundColor:yt}},[`${tt}-item, ${tt}-submenu-title`]:{[`&:not(${tt}-item-disabled):focus-visible`]:Object.assign({},rt(Re))},[`&${tt}-submenu > ${tt}`]:{backgroundColor:un},[`&${tt}-popup > ${tt}`]:{backgroundColor:_t},[`&${tt}-horizontal`]:Object.assign(Object.assign({},qe==="dark"?{borderBottom:0}:{}),{[`> ${tt}-item, > ${tt}-submenu`]:{top:mt,marginTop:-mt,marginBottom:0,borderRadius:an,"&::after":{position:"absolute",insetInline:ut,bottom:0,borderBottom:`${We}px solid transparent`,transition:`border-color ${et} ${Ht}`,content:'""'},"&:hover, &-active, &-open":{background:$n,"&::after":{borderBottomWidth:We,borderBottomColor:Un}},"&-selected":{color:Un,backgroundColor:mn,"&:hover":{backgroundColor:mn},"&::after":{borderBottomWidth:We,borderBottomColor:Un}}}}),[`&${tt}-root`]:{[`&${tt}-inline, &${tt}-vertical`]:{borderInlineEnd:`${mt}px ${He} ${ct}`}},[`&${tt}-inline`]:{[`${tt}-sub${tt}-inline`]:{background:ve},[`${tt}-item, ${tt}-submenu-title`]:mt&&we?{width:`calc(100% + ${mt}px)`}:{},[`${tt}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${we}px solid ${ft}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${xt} ${Se}`,`opacity ${xt} ${Se}`].join(","),content:'""'},[`&${tt}-item-danger`]:{"&::after":{borderInlineEndColor:dt}}},[`${tt}-selected, ${tt}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${xt} ${Ht}`,`opacity ${xt} ${Ht}`].join(",")}}}}}};const Yt=Re=>{const{componentCls:qe,itemHeight:tt,itemMarginInline:Le,padding:ft,menuArrowSize:gt,marginXS:Oe,itemMarginBlock:ve}=Re,Ge=ft+gt+Oe;return{[`${qe}-item`]:{position:"relative",overflow:"hidden"},[`${qe}-item, ${qe}-submenu-title`]:{height:tt,lineHeight:`${tt}px`,paddingInline:ft,overflow:"hidden",textOverflow:"ellipsis",marginInline:Le,marginBlock:ve,width:`calc(100% - ${Le*2}px)`},[`> ${qe}-item,
|
|
> ${qe}-submenu > ${qe}-submenu-title`]:{height:tt,lineHeight:`${tt}px`},[`${qe}-item-group-list ${qe}-submenu-title,
|
|
${qe}-submenu-title`]:{paddingInlineEnd:Ge}}};var st=Re=>{const{componentCls:qe,iconCls:tt,itemHeight:Le,colorTextLightSolid:ft,dropdownWidth:gt,controlHeightLG:Oe,motionDurationMid:ve,motionEaseOut:Ge,paddingXL:We,itemMarginInline:we,fontSizeLG:mt,motionDurationSlow:et,paddingXS:Ht,boxShadowSecondary:Se,collapsedWidth:ut,collapsedIconSize:xt}=Re,Ae={height:Le,lineHeight:`${Le}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[qe]:{"&-inline, &-vertical":Object.assign({[`&${qe}-root`]:{boxShadow:"none"}},Yt(Re))},[`${qe}-submenu-popup`]:{[`${qe}-vertical`]:Object.assign(Object.assign({},Yt(Re)),{boxShadow:Se})}},{[`${qe}-submenu-popup ${qe}-vertical${qe}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Oe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${qe}-inline`]:{width:"100%",[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${et}`,`background ${et}`,`padding ${ve} ${Ge}`].join(","),[`> ${qe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${qe}-sub${qe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${qe}-submenu > ${qe}-submenu-title`]:Ae,[`& ${qe}-item-group-title`]:{paddingInlineStart:We}},[`${qe}-item`]:Ae}},{[`${qe}-inline-collapsed`]:{width:ut,[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu ${qe}-submenu-title`]:{[`> ${qe}-inline-collapsed-noicon`]:{fontSize:mt,textAlign:"center"}}},[`> ${qe}-item,
|
|
> ${qe}-item-group > ${qe}-item-group-list > ${qe}-item,
|
|
> ${qe}-item-group > ${qe}-item-group-list > ${qe}-submenu > ${qe}-submenu-title,
|
|
> ${qe}-submenu > ${qe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${mt/2}px - ${we}px)`,textOverflow:"clip",[`
|
|
${qe}-submenu-arrow,
|
|
${qe}-submenu-expand-icon
|
|
`]:{opacity:0},[`${qe}-item-icon, ${tt}`]:{margin:0,fontSize:xt,lineHeight:`${Le}px`,"+ span":{display:"inline-block",opacity:0}}},[`${qe}-item-icon, ${tt}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${qe}-item-icon, ${tt}`]:{display:"none"},"a, a:hover":{color:ft}},[`${qe}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:Ht})}}]};const At=Re=>{const{componentCls:qe,motionDurationSlow:tt,motionDurationMid:Le,motionEaseInOut:ft,motionEaseOut:gt,iconCls:Oe,iconSize:ve,iconMarginInlineEnd:Ge}=Re;return{[`${qe}-item, ${qe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${tt}`,`background ${tt}`,`padding ${tt} ${ft}`].join(","),[`${qe}-item-icon, ${Oe}`]:{minWidth:ve,fontSize:ve,transition:[`font-size ${Le} ${gt}`,`margin ${tt} ${ft}`,`color ${tt}`].join(","),"+ span":{marginInlineStart:Ge,opacity:1,transition:[`opacity ${tt} ${ft}`,`margin ${tt}`,`color ${tt}`].join(",")}},[`${qe}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${qe}-item-only-child`]:{[`> ${Oe}, > ${qe}-item-icon`]:{marginInlineEnd:0}}},[`${qe}-item-disabled, ${qe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${qe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Nt=Re=>{const{componentCls:qe,motionDurationSlow:tt,motionEaseInOut:Le,borderRadius:ft,menuArrowSize:gt,menuArrowOffset:Oe}=Re;return{[`${qe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Re.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${tt} ${Le}, opacity ${tt}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:ft,transition:[`background ${tt} ${Le}`,`transform ${tt} ${Le}`,`top ${tt} ${Le}`,`color ${tt} ${Le}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Oe})`},"&::after":{transform:`rotate(-45deg) translateY(${Oe})`}}}}},Pt=Re=>{const{antCls:qe,componentCls:tt,fontSize:Le,motionDurationSlow:ft,motionDurationMid:gt,motionEaseInOut:Oe,paddingXS:ve,padding:Ge,colorSplit:We,lineWidth:we,zIndexPopup:mt,borderRadiusLG:et,subMenuItemBorderRadius:Ht,menuArrowSize:Se,menuArrowOffset:ut,lineType:xt,menuPanelMaskInset:Ae,groupTitleLineHeight:He,groupTitleFontSize:ct}=Re;return[{"":{[`${tt}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${tt}-submenu-hidden`]:{display:"none"}},{[tt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(Re)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Le,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ft} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${tt}-item`]:{flex:"none"}},[`${tt}-item, ${tt}-submenu, ${tt}-submenu-title`]:{borderRadius:Re.itemBorderRadius},[`${tt}-item-group-title`]:{padding:`${ve}px ${Ge}px`,fontSize:ct,lineHeight:He,transition:`all ${ft}`},[`&-horizontal ${tt}-submenu`]:{transition:[`border-color ${ft} ${Oe}`,`background ${ft} ${Oe}`].join(",")},[`${tt}-submenu, ${tt}-submenu-inline`]:{transition:[`border-color ${ft} ${Oe}`,`background ${ft} ${Oe}`,`padding ${gt} ${Oe}`].join(",")},[`${tt}-submenu ${tt}-sub`]:{cursor:"initial",transition:[`background ${ft} ${Oe}`,`padding ${ft} ${Oe}`].join(",")},[`${tt}-title-content`]:{transition:`color ${ft}`},[`${tt}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${tt}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:We,borderStyle:xt,borderWidth:0,borderTopWidth:we,marginBlock:we,padding:0,"&-dashed":{borderStyle:"dashed"}}}),At(Re)),{[`${tt}-item-group`]:{[`${tt}-item-group-list`]:{margin:0,padding:0,[`${tt}-item, ${tt}-submenu-title`]:{paddingInline:`${Le*2}px ${Ge}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:mt,borderRadius:et,boxShadow:"none",transformOrigin:"0 0",[`&${tt}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ae}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ae},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Re.paddingXS},[`> ${tt}`]:Object.assign(Object.assign(Object.assign({borderRadius:et},At(Re)),Nt(Re)),{[`${tt}-item, ${tt}-submenu > ${tt}-submenu-title`]:{borderRadius:Ht},[`${tt}-submenu-title::after`]:{transition:`transform ${ft} ${Oe}`}})}}),Nt(Re)),{[`&-inline-collapsed ${tt}-submenu-arrow,
|
|
&-inline ${tt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ut})`},"&::after":{transform:`rotate(45deg) translateX(-${ut})`}},[`${tt}-submenu-open${tt}-submenu-inline > ${tt}-submenu-title > ${tt}-submenu-arrow`]:{transform:`translateY(-${Se*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ut})`},"&::before":{transform:`rotate(45deg) translateX(${ut})`}}})},{[`${qe}-layout-header`]:{[tt]:{lineHeight:"inherit"}}}]};var sn=(Re,qe)=>(0,pt.Z)("Menu",Le=>{if(qe===!1)return[];const{colorBgElevated:ft,colorPrimary:gt,colorTextLightSolid:Oe,controlHeightLG:ve,fontSize:Ge,darkItemColor:We,darkDangerItemColor:we,darkItemBg:mt,darkSubMenuItemBg:et,darkItemSelectedColor:Ht,darkItemSelectedBg:Se,darkDangerItemSelectedBg:ut,darkItemHoverBg:xt,darkGroupTitleColor:Ae,darkItemHoverColor:He,darkItemDisabledColor:ct,darkDangerItemHoverColor:wt,darkDangerItemSelectedColor:Zt,darkDangerItemActiveBg:gn}=Le,dt=Ge/7*5,Dt=(0,Be.TS)(Le,{menuArrowSize:dt,menuHorizontalHeight:ve*1.15,menuArrowOffset:`${dt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:ft}),yt=(0,Be.TS)(Dt,{itemColor:We,itemHoverColor:He,groupTitleColor:Ae,itemSelectedColor:Ht,itemBg:mt,popupBg:mt,subMenuItemBg:et,itemActiveBg:"transparent",itemSelectedBg:Se,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:xt,itemDisabledColor:ct,dangerItemColor:we,dangerItemHoverColor:wt,dangerItemSelectedColor:Zt,dangerItemActiveBg:gn,dangerItemSelectedBg:ut,menuSubMenuBg:et,horizontalItemSelectedColor:Oe,horizontalItemSelectedBg:gt});return[Pt(Dt),Ke(Dt),st(Dt),Rt(Dt,"light"),Rt(yt,"dark"),it(Dt),(0,Ee.Z)(Dt),(0,De.oN)(Dt,"slide-up"),(0,De.oN)(Dt,"slide-down"),(0,_e._y)(Dt,"zoom-big")]},Le=>{const{colorPrimary:ft,colorError:gt,colorTextDisabled:Oe,colorErrorBg:ve,colorText:Ge,colorTextDescription:We,colorBgContainer:we,colorFillAlter:mt,colorFillContent:et,lineWidth:Ht,lineWidthBold:Se,controlItemBgActive:ut,colorBgTextHover:xt,controlHeightLG:Ae,lineHeight:He,colorBgElevated:ct,marginXXS:wt,padding:Zt,fontSize:gn,controlHeightSM:dt,fontSizeLG:Dt,colorTextLightSolid:yt,colorErrorHover:en}=Le,Vt=new Pe.C(yt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Le.zIndexPopupBase+50,radiusItem:Le.borderRadiusLG,itemBorderRadius:Le.borderRadiusLG,radiusSubMenuItem:Le.borderRadiusSM,subMenuItemBorderRadius:Le.borderRadiusSM,colorItemText:Ge,itemColor:Ge,colorItemTextHover:Ge,itemHoverColor:Ge,colorItemTextHoverHorizontal:ft,horizontalItemHoverColor:ft,colorGroupTitle:We,groupTitleColor:We,colorItemTextSelected:ft,itemSelectedColor:ft,colorItemTextSelectedHorizontal:ft,horizontalItemSelectedColor:ft,colorItemBg:we,itemBg:we,colorItemBgHover:xt,itemHoverBg:xt,colorItemBgActive:et,itemActiveBg:ut,colorSubItemBg:mt,subMenuItemBg:mt,colorItemBgSelected:ut,itemSelectedBg:ut,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Se,activeBarHeight:Se,colorActiveBarBorderSize:Ht,activeBarBorderWidth:Ht,colorItemTextDisabled:Oe,itemDisabledColor:Oe,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:ve,dangerItemActiveBg:ve,colorDangerItemBgSelected:ve,dangerItemSelectedBg:ve,itemMarginInline:Le.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ae,groupTitleLineHeight:He,collapsedWidth:Ae*2,popupBg:ct,itemMarginBlock:wt,itemPaddingInline:Zt,horizontalLineHeight:`${Ae*1.15}px`,iconSize:gn,iconMarginInlineEnd:dt-gn,collapsedIconSize:Dt,groupTitleFontSize:gn,darkItemDisabledColor:new Pe.C(yt).setAlpha(.25).toRgbString(),darkItemColor:Vt,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:yt,darkItemSelectedBg:ft,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Vt,darkItemHoverColor:yt,darkDangerItemHoverColor:en,darkDangerItemSelectedColor:yt,darkDangerItemActiveBg:gt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Re),Fe=function(Re,qe){var tt={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&qe.indexOf(Le)<0&&(tt[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Le=Object.getOwnPropertySymbols(Re);ft<Le.length;ft++)qe.indexOf(Le[ft])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[ft])&&(tt[Le[ft]]=Re[Le[ft]]);return tt},Gt=(0,se.forwardRef)((Re,qe)=>{var tt,Le;const ft=se.useContext(ae.Z),gt=ft||{},{getPrefixCls:Oe,getPopupContainer:ve,direction:Ge,menu:We}=se.useContext(Ne.E_),we=Oe(),{prefixCls:mt,className:et,style:Ht,theme:Se="light",expandIcon:ut,_internalDisableMenuItemTitleTooltip:xt,inlineCollapsed:Ae,siderCollapsed:He,items:ct,children:wt,rootClassName:Zt,mode:gn,selectable:dt,onClick:Dt,overflowedIndicatorPopupClassName:yt}=Re,en=Fe(Re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Vt=(0,ze.Z)(en,["collapsedWidth"]),un=fe(ct)||wt;(tt=gt.validator)===null||tt===void 0||tt.call(gt,{mode:gn});const Un=(0,ne.useEvent)(function(){var Ba;Dt==null||Dt.apply(void 0,arguments),(Ba=gt.onClick)===null||Ba===void 0||Ba.call(gt)}),mn=gt.mode||gn,an=dt!=null?dt:gt.selectable,$n=se.useMemo(()=>He!==void 0?He:Ae,[Ae,He]),_t={horizontal:{motionName:`${we}-slide-up`},inline:(0,oe.Z)(we),other:{motionName:`${we}-zoom-big`}},Tt=Oe("menu",mt||gt.prefixCls),[Xt,ya]=sn(Tt,!ft),ta=be()(`${Tt}-${Se}`,We==null?void 0:We.className,et);let Mn;if(typeof ut=="function")Mn=ut;else if(ut===null||ut===!1)Mn=null;else if(gt.expandIcon===null||gt.expandIcon===!1)Mn=null;else{const Ba=ut!=null?ut:gt.expandIcon;Mn=(0,ye.Tm)(Ba,{className:be()(`${Tt}-submenu-expand-icon`,(0,ye.l$)(Ba)?(Le=Ba.props)===null||Le===void 0?void 0:Le.className:"")})}const Ga=se.useMemo(()=>({prefixCls:Tt,inlineCollapsed:$n||!1,direction:Ge,firstLevel:!0,theme:Se,mode:mn,disableMenuItemTitleTooltip:xt}),[Tt,$n,Ge,xt,Se]);return Xt(se.createElement(ae.Z.Provider,{value:null},se.createElement(a.Provider,{value:Ga},se.createElement(z.ZP,Object.assign({getPopupContainer:ve,overflowedIndicator:se.createElement(ee.Z,null),overflowedIndicatorPopupClassName:be()(Tt,`${Tt}-${Se}`,yt),mode:mn,selectable:an,onClick:Un},Vt,{inlineCollapsed:$n,style:Object.assign(Object.assign({},We==null?void 0:We.style),Ht),className:ta,prefixCls:Tt,direction:Ge,defaultMotions:_t,expandIcon:Mn,ref:qe,rootClassName:be()(Zt,ya)}),un))))});const Hn=(0,se.forwardRef)((Re,qe)=>{const tt=(0,se.useRef)(null),Le=se.useContext(he.D);return(0,se.useImperativeHandle)(qe,()=>({menu:tt.current,focus:ft=>{var gt;(gt=tt.current)===null||gt===void 0||gt.focus(ft)}})),se.createElement(Gt,Object.assign({ref:tt},Re,Le))});Hn.Item=b,Hn.SubMenu=x,Hn.Divider=je,Hn.ItemGroup=z.BW;var ea=Hn},58421:function(Et,St,te){"use strict";te.d(St,{Z:function(){return gt}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ie=he,be=te(7657),Ne=function(ve,Ge){return se.createElement(be.Z,(0,z.Z)({},ve,{ref:Ge,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie,je=te(49198),Ze=te(33853),ze=te(38819),Me=te(92310),ye=te.n(Me),re=te(20068),a=te(33885),y=te(67732),b=te(83652),E=te(42403),x=te(158),ee=te(26112),ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},oe=ne,ae=te(91735),ue=function(Oe){(0,E.Z)(Ge,Oe);var ve=(0,x.Z)(Ge);function Ge(){var We;(0,y.Z)(this,Ge);for(var we=arguments.length,mt=new Array(we),et=0;et<we;et++)mt[et]=arguments[et];return We=ve.call.apply(ve,[this].concat(mt)),We.state={goInputText:""},We.getValidValue=function(){var Ht=We.state.goInputText;return!Ht||Number.isNaN(Ht)?void 0:Number(Ht)},We.buildOptionText=function(Ht){return"".concat(Ht," ").concat(We.props.locale.items_per_page)},We.changeSize=function(Ht){We.props.changeSize(Number(Ht))},We.handleChange=function(Ht){We.setState({goInputText:Ht.target.value})},We.handleBlur=function(Ht){var Se=We.props,ut=Se.goButton,xt=Se.quickGo,Ae=Se.rootPrefixCls,He=We.state.goInputText;ut||He===""||(We.setState({goInputText:""}),!(Ht.relatedTarget&&(Ht.relatedTarget.className.indexOf("".concat(Ae,"-item-link"))>=0||Ht.relatedTarget.className.indexOf("".concat(Ae,"-item"))>=0))&&xt(We.getValidValue()))},We.go=function(Ht){var Se=We.state.goInputText;Se!==""&&(Ht.keyCode===oe.ENTER||Ht.type==="click")&&(We.setState({goInputText:""}),We.props.quickGo(We.getValidValue()))},We}return(0,b.Z)(Ge,[{key:"getPageSizeOptions",value:function(){var we=this.props,mt=we.pageSize,et=we.pageSizeOptions;return et.some(function(Ht){return Ht.toString()===mt.toString()})?et:et.concat([mt.toString()]).sort(function(Ht,Se){var ut=Number.isNaN(Number(Ht))?0:Number(Ht),xt=Number.isNaN(Number(Se))?0:Number(Se);return ut-xt})}},{key:"render",value:function(){var we=this,mt=this.props,et=mt.pageSize,Ht=mt.locale,Se=mt.rootPrefixCls,ut=mt.changeSize,xt=mt.quickGo,Ae=mt.goButton,He=mt.selectComponentClass,ct=mt.buildOptionText,wt=mt.selectPrefixCls,Zt=mt.disabled,gn=this.state.goInputText,dt="".concat(Se,"-options"),Dt=He,yt=null,en=null,Vt=null;if(!ut&&!xt)return null;var un=this.getPageSizeOptions();if(ut&&Dt){var Un=un.map(function(mn,an){return se.createElement(Dt.Option,{key:an,value:mn.toString()},(ct||we.buildOptionText)(mn))});yt=se.createElement(Dt,{disabled:Zt,prefixCls:wt,showSearch:!1,className:"".concat(dt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(et||un[0]).toString(),onChange:this.changeSize,getPopupContainer:function(an){return an.parentNode},"aria-label":Ht.page_size,defaultOpen:!1},Un)}return xt&&(Ae&&(Vt=typeof Ae=="boolean"?se.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Zt,className:"".concat(dt,"-quick-jumper-button")},Ht.jump_to_confirm):se.createElement("span",{onClick:this.go,onKeyUp:this.go},Ae)),en=se.createElement("div",{className:"".concat(dt,"-quick-jumper")},Ht.jump_to,se.createElement("input",{disabled:Zt,type:"text",value:gn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ht.page}),Ht.page,Vt)),se.createElement("li",{className:"".concat(dt)},yt,en)}}]),Ge}(se.Component);ue.defaultProps={pageSizeOptions:["10","20","50","100"]};var me=ue,fe=function(ve){var Ge,We=ve.rootPrefixCls,we=ve.page,mt=ve.active,et=ve.className,Ht=ve.showTitle,Se=ve.onClick,ut=ve.onKeyPress,xt=ve.itemRender,Ae="".concat(We,"-item"),He=ye()(Ae,"".concat(Ae,"-").concat(we),(Ge={},(0,re.Z)(Ge,"".concat(Ae,"-active"),mt),(0,re.Z)(Ge,"".concat(Ae,"-disabled"),!we),(0,re.Z)(Ge,ve.className,et),Ge)),ct=function(){Se(we)},wt=function(dt){ut(dt,Se,we)},Zt=xt(we,"page",se.createElement("a",{rel:"nofollow"},we));return Zt?se.createElement("li",{title:Ht?we.toString():null,className:He,onClick:ct,onKeyPress:wt,tabIndex:0},Zt):null},Pe=fe;function xe(){}function Ee(Oe){var ve=Number(Oe);return typeof ve=="number"&&!Number.isNaN(ve)&&isFinite(ve)&&Math.floor(ve)===ve}var De=function(ve,Ge,We){return We};function _e(Oe,ve,Ge){var We=typeof Oe=="undefined"?ve.pageSize:Oe;return Math.floor((Ge.total-1)/We)+1}var pt=function(Oe){(0,E.Z)(Ge,Oe);var ve=(0,x.Z)(Ge);function Ge(We){var we;(0,y.Z)(this,Ge),we=ve.call(this,We),we.paginationNode=se.createRef(),we.getJumpPrevPage=function(){return Math.max(1,we.state.current-(we.props.showLessItems?3:5))},we.getJumpNextPage=function(){return Math.min(_e(void 0,we.state,we.props),we.state.current+(we.props.showLessItems?3:5))},we.getItemIcon=function(ut,xt){var Ae=we.props.prefixCls,He=ut||se.createElement("button",{type:"button","aria-label":xt,className:"".concat(Ae,"-item-link")});return typeof ut=="function"&&(He=se.createElement(ut,(0,a.Z)({},we.props))),He},we.isValid=function(ut){var xt=we.props.total;return Ee(ut)&&ut!==we.state.current&&Ee(xt)&&xt>0},we.shouldDisplayQuickJumper=function(){var ut=we.props,xt=ut.showQuickJumper,Ae=ut.total,He=we.state.pageSize;return Ae<=He?!1:xt},we.handleKeyDown=function(ut){(ut.keyCode===oe.ARROW_UP||ut.keyCode===oe.ARROW_DOWN)&&ut.preventDefault()},we.handleKeyUp=function(ut){var xt=we.getValidValue(ut),Ae=we.state.currentInputValue;xt!==Ae&&we.setState({currentInputValue:xt}),ut.keyCode===oe.ENTER?we.handleChange(xt):ut.keyCode===oe.ARROW_UP?we.handleChange(xt-1):ut.keyCode===oe.ARROW_DOWN&&we.handleChange(xt+1)},we.handleBlur=function(ut){var xt=we.getValidValue(ut);we.handleChange(xt)},we.changePageSize=function(ut){var xt=we.state.current,Ae=_e(ut,we.state,we.props);xt=xt>Ae?Ae:xt,Ae===0&&(xt=we.state.current),typeof ut=="number"&&("pageSize"in we.props||we.setState({pageSize:ut}),"current"in we.props||we.setState({current:xt,currentInputValue:xt})),we.props.onShowSizeChange(xt,ut),"onChange"in we.props&&we.props.onChange&&we.props.onChange(xt,ut)},we.handleChange=function(ut){var xt=we.props,Ae=xt.disabled,He=xt.onChange,ct=we.state,wt=ct.pageSize,Zt=ct.current,gn=ct.currentInputValue;if(we.isValid(ut)&&!Ae){var dt=_e(void 0,we.state,we.props),Dt=ut;return ut>dt?Dt=dt:ut<1&&(Dt=1),"current"in we.props||we.setState({current:Dt}),Dt!==gn&&we.setState({currentInputValue:Dt}),He(Dt,wt),Dt}return Zt},we.prev=function(){we.hasPrev()&&we.handleChange(we.state.current-1)},we.next=function(){we.hasNext()&&we.handleChange(we.state.current+1)},we.jumpPrev=function(){we.handleChange(we.getJumpPrevPage())},we.jumpNext=function(){we.handleChange(we.getJumpNextPage())},we.hasPrev=function(){return we.state.current>1},we.hasNext=function(){return we.state.current<_e(void 0,we.state,we.props)},we.runIfEnter=function(ut,xt){if(ut.key==="Enter"||ut.charCode===13){for(var Ae=arguments.length,He=new Array(Ae>2?Ae-2:0),ct=2;ct<Ae;ct++)He[ct-2]=arguments[ct];xt.apply(void 0,He)}},we.runIfEnterPrev=function(ut){we.runIfEnter(ut,we.prev)},we.runIfEnterNext=function(ut){we.runIfEnter(ut,we.next)},we.runIfEnterJumpPrev=function(ut){we.runIfEnter(ut,we.jumpPrev)},we.runIfEnterJumpNext=function(ut){we.runIfEnter(ut,we.jumpNext)},we.handleGoTO=function(ut){(ut.keyCode===oe.ENTER||ut.type==="click")&&we.handleChange(we.state.currentInputValue)},we.renderPrev=function(ut){var xt=we.props,Ae=xt.prevIcon,He=xt.itemRender,ct=He(ut,"prev",we.getItemIcon(Ae,"prev page")),wt=!we.hasPrev();return(0,se.isValidElement)(ct)?(0,se.cloneElement)(ct,{disabled:wt}):ct},we.renderNext=function(ut){var xt=we.props,Ae=xt.nextIcon,He=xt.itemRender,ct=He(ut,"next",we.getItemIcon(Ae,"next page")),wt=!we.hasNext();return(0,se.isValidElement)(ct)?(0,se.cloneElement)(ct,{disabled:wt}):ct};var mt=We.onChange!==xe,et="current"in We;et&&!mt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ht=We.defaultCurrent;"current"in We&&(Ht=We.current);var Se=We.defaultPageSize;return"pageSize"in We&&(Se=We.pageSize),Ht=Math.min(Ht,_e(Se,void 0,We)),we.state={current:Ht,currentInputValue:Ht,pageSize:Se},we}return(0,b.Z)(Ge,[{key:"componentDidUpdate",value:function(we,mt){var et=this.props.prefixCls;if(mt.current!==this.state.current&&this.paginationNode.current){var Ht=this.paginationNode.current.querySelector(".".concat(et,"-item-").concat(mt.current));if(Ht&&document.activeElement===Ht){var Se;Ht==null||(Se=Ht.blur)===null||Se===void 0||Se.call(Ht)}}}},{key:"getValidValue",value:function(we){var mt=we.target.value,et=_e(void 0,this.state,this.props),Ht=this.state.currentInputValue,Se;return mt===""?Se=mt:Number.isNaN(Number(mt))?Se=Ht:mt>=et?Se=et:Se=Number(mt),Se}},{key:"getShowSizeChanger",value:function(){var we=this.props,mt=we.showSizeChanger,et=we.total,Ht=we.totalBoundaryShowSizeChanger;return typeof mt!="undefined"?mt:et>Ht}},{key:"render",value:function(){var we=this.props,mt=we.prefixCls,et=we.className,Ht=we.style,Se=we.disabled,ut=we.hideOnSinglePage,xt=we.total,Ae=we.locale,He=we.showQuickJumper,ct=we.showLessItems,wt=we.showTitle,Zt=we.showTotal,gn=we.simple,dt=we.itemRender,Dt=we.showPrevNextJumpers,yt=we.jumpPrevIcon,en=we.jumpNextIcon,Vt=we.selectComponentClass,un=we.selectPrefixCls,Un=we.pageSizeOptions,mn=this.state,an=mn.current,$n=mn.pageSize,_t=mn.currentInputValue;if(ut===!0&&xt<=$n)return null;var Tt=_e(void 0,this.state,this.props),Xt=[],ya=null,ta=null,Mn=null,Ga=null,Ba=null,Nr=He&&He.goButton,Dr=ct?1:2,Xa=an-1>0?an-1:0,at=an+1<Tt?an+1:Tt,Mt=(0,ee.Z)(this.props,{aria:!0,data:!0}),Ft=Zt&&se.createElement("li",{className:"".concat(mt,"-total-text")},Zt(xt,[xt===0?0:(an-1)*$n+1,an*$n>xt?xt:an*$n]));if(gn){Nr&&(typeof Nr=="boolean"?Ba=se.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ae.jump_to_confirm):Ba=se.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Nr),Ba=se.createElement("li",{title:wt?"".concat(Ae.jump_to).concat(an,"/").concat(Tt):null,className:"".concat(mt,"-simple-pager")},Ba));var kn=this.renderPrev(Xa);return se.createElement("ul",(0,z.Z)({className:ye()(mt,"".concat(mt,"-simple"),(0,re.Z)({},"".concat(mt,"-disabled"),Se),et),style:Ht,ref:this.paginationNode},Mt),Ft,kn?se.createElement("li",{title:wt?Ae.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ye()("".concat(mt,"-prev"),(0,re.Z)({},"".concat(mt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},kn):null,se.createElement("li",{title:wt?"".concat(an,"/").concat(Tt):null,className:"".concat(mt,"-simple-pager")},se.createElement("input",{type:"text",value:_t,disabled:Se,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),se.createElement("span",{className:"".concat(mt,"-slash")},"/"),Tt),se.createElement("li",{title:wt?Ae.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ye()("".concat(mt,"-next"),(0,re.Z)({},"".concat(mt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(at)),Ba)}if(Tt<=3+Dr*2){var dn={locale:Ae,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:wt,itemRender:dt};Tt||Xt.push(se.createElement(Pe,(0,z.Z)({},dn,{key:"noPager",page:1,className:"".concat(mt,"-item-disabled")})));for(var An=1;An<=Tt;An+=1){var Xr=an===An;Xt.push(se.createElement(Pe,(0,z.Z)({},dn,{key:An,page:An,active:Xr})))}}else{var Fr=ct?Ae.prev_3:Ae.prev_5,Kr=ct?Ae.next_3:Ae.next_5,ro=dt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(yt,"prev page")),Ja=dt(this.getJumpNextPage(),"jump-next",this.getItemIcon(en,"next page"));Dt&&(ya=ro?se.createElement("li",{title:wt?Fr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ye()("".concat(mt,"-jump-prev"),(0,re.Z)({},"".concat(mt,"-jump-prev-custom-icon"),!!yt))},ro):null,ta=Ja?se.createElement("li",{title:wt?Kr:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ye()("".concat(mt,"-jump-next"),(0,re.Z)({},"".concat(mt,"-jump-next-custom-icon"),!!en))},Ja):null),Ga=se.createElement(Pe,{locale:Ae,last:!0,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Tt,page:Tt,active:!1,showTitle:wt,itemRender:dt}),Mn=se.createElement(Pe,{locale:Ae,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:wt,itemRender:dt});var Nn=Math.max(1,an-Dr),gr=Math.min(an+Dr,Tt);an-1<=Dr&&(gr=1+Dr*2),Tt-an<=Dr&&(Nn=Tt-Dr*2);for(var ar=Nn;ar<=gr;ar+=1){var mr=an===ar;Xt.push(se.createElement(Pe,{locale:Ae,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ar,page:ar,active:mr,showTitle:wt,itemRender:dt}))}an-1>=Dr*2&&an!==3&&(Xt[0]=(0,se.cloneElement)(Xt[0],{className:"".concat(mt,"-item-after-jump-prev")}),Xt.unshift(ya)),Tt-an>=Dr*2&&an!==Tt-2&&(Xt[Xt.length-1]=(0,se.cloneElement)(Xt[Xt.length-1],{className:"".concat(mt,"-item-before-jump-next")}),Xt.push(ta)),Nn!==1&&Xt.unshift(Mn),gr!==Tt&&Xt.push(Ga)}var tr=!this.hasPrev()||!Tt,ht=!this.hasNext()||!Tt,qt=this.renderPrev(Xa),tn=this.renderNext(at);return se.createElement("ul",(0,z.Z)({className:ye()(mt,et,(0,re.Z)({},"".concat(mt,"-disabled"),Se)),style:Ht,ref:this.paginationNode},Mt),Ft,qt?se.createElement("li",{title:wt?Ae.prev_page:null,onClick:this.prev,tabIndex:tr?null:0,onKeyPress:this.runIfEnterPrev,className:ye()("".concat(mt,"-prev"),(0,re.Z)({},"".concat(mt,"-disabled"),tr)),"aria-disabled":tr},qt):null,Xt,tn?se.createElement("li",{title:wt?Ae.next_page:null,onClick:this.next,tabIndex:ht?null:0,onKeyPress:this.runIfEnterNext,className:ye()("".concat(mt,"-next"),(0,re.Z)({},"".concat(mt,"-disabled"),ht)),"aria-disabled":ht},tn):null,se.createElement(me,{disabled:Se,locale:Ae,rootPrefixCls:mt,selectComponentClass:Vt,selectPrefixCls:un,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:an,pageSize:$n,pageSizeOptions:Un,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Nr}))}}],[{key:"getDerivedStateFromProps",value:function(we,mt){var et={};if("current"in we&&(et.current=we.current,we.current!==mt.current&&(et.currentInputValue=et.current)),"pageSize"in we&&we.pageSize!==mt.pageSize){var Ht=mt.current,Se=_e(we.pageSize,mt,we);Ht=Ht>Se?Se:Ht,"current"in we||(et.current=Ht,et.currentInputValue=Ht),et.pageSize=we.pageSize}return et}}]),Ge}(se.Component);pt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:xe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:xe,locale:ae.Z,style:{},itemRender:De,totalBoundaryShowSizeChanger:50};var Be=pt,$e=te(22075),Ke=te(36355),Ve=te(19716),it=te(8628),rt=te(9763),vt=te(57809);const Rt=Oe=>se.createElement(vt.default,Object.assign({},Oe,{showSearch:!0,size:"small"})),Yt=Oe=>se.createElement(vt.default,Object.assign({},Oe,{showSearch:!0,size:"middle"}));Rt.Option=vt.default.Option,Yt.Option=vt.default.Option;var Je=te(9937),st=te(17313),At=te(83116),Nt=te(37613);const Pt=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}}},[`&${ve}-disabled`]:{cursor:"not-allowed",[`${ve}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Oe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Oe.colorBorder,backgroundColor:Oe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Oe.itemActiveBgDisabled},a:{color:Oe.itemActiveColorDisabled}}},[`${ve}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ve}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ve}-simple-pager`]:{color:Oe.colorTextDisabled},[`${ve}-jump-prev, ${ve}-jump-next`]:{[`${ve}-item-link-icon`]:{opacity:0},[`${ve}-item-ellipsis`]:{opacity:1}}},[`&${ve}-simple`]:{[`${ve}-prev, ${ve}-next`]:{[`&${ve}-disabled ${ve}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},sn=Oe=>{const{componentCls:ve}=Oe;return{[`&${ve}-mini ${ve}-total-text, &${ve}-mini ${ve}-simple-pager`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`},[`&${ve}-mini ${ve}-item`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM-2}px`},[`&${ve}-mini:not(${ve}-disabled) ${ve}-item:not(${ve}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},[`&${ve}-mini ${ve}-prev, &${ve}-mini ${ve}-next`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${ve}-mini:not(${ve}-disabled)`]:{[`${ve}-prev, ${ve}-next`]:{[`&:hover ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${ve}-disabled:hover ${ve}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${ve}-mini ${ve}-prev ${ve}-item-link,
|
|
&${ve}-mini ${ve}-next ${ve}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}},[`&${ve}-mini ${ve}-jump-prev, &${ve}-mini ${ve}-jump-next`]:{height:Oe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${ve}-mini ${ve}-options`]:{marginInlineStart:Oe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Oe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Je.x0)(Oe)),{width:Oe.paginationMiniQuickJumperInputWidth,height:Oe.controlHeightSM})}}}},Fe=Oe=>{const{componentCls:ve}=Oe;return{[`
|
|
&${ve}-simple ${ve}-prev,
|
|
&${ve}-simple ${ve}-next
|
|
`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,verticalAlign:"top",[`${ve}-item-link`]:{height:Oe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive},"&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}}},[`&${ve}-simple ${ve}-simple-pager`]:{display:"inline-block",height:Oe.itemSizeSM,marginInlineEnd:Oe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Oe.marginXS,padding:`0 ${Oe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Oe.itemInputBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadius,outline:"none",transition:`border-color ${Oe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Oe.colorPrimary},"&:focus":{borderColor:Oe.colorPrimaryHover,boxShadow:`${Oe.inputOutlineOffset}px 0 ${Oe.controlOutlineWidth}px ${Oe.controlOutline}`},"&[disabled]":{color:Oe.colorTextDisabled,backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,cursor:"not-allowed"}}}}},Qt=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}-jump-prev, ${ve}-jump-next`]:{outline:0,[`${ve}-item-container`]:{position:"relative",[`${ve}-item-link-icon`]:{color:Oe.colorPrimary,fontSize:Oe.fontSizeSM,opacity:0,transition:`all ${Oe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ve}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Oe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Oe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Oe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Oe.motionDurationMid}`}},"&:hover":{[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}}},[`
|
|
${ve}-prev,
|
|
${ve}-jump-prev,
|
|
${ve}-jump-next
|
|
`]:{marginInlineEnd:Oe.marginXS},[`
|
|
${ve}-prev,
|
|
${ve}-next,
|
|
${ve}-jump-prev,
|
|
${ve}-jump-next
|
|
`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,color:Oe.colorText,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Oe.borderRadius,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`},[`${ve}-prev, ${ve}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Oe.colorText,cursor:"pointer",userSelect:"none"},[`${ve}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Oe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:"none",transition:`all ${Oe.motionDurationMid}`},[`&:hover ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${ve}-disabled:hover`]:{[`${ve}-item-link`]:{backgroundColor:"transparent"}}},[`${ve}-slash`]:{marginInlineEnd:Oe.paginationSlashMarginInlineEnd,marginInlineStart:Oe.paginationSlashMarginInlineStart},[`${ve}-options`]:{display:"inline-block",marginInlineStart:Oe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Oe.controlHeight,marginInlineStart:Oe.marginXS,lineHeight:`${Oe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Je.ik)(Oe)),{width:Oe.controlHeightLG*1.25,height:Oe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Oe.marginXS,marginInlineEnd:Oe.marginXS})}}}},Gt=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}-item`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,marginInlineEnd:Oe.marginXS,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Oe.paginationItemPaddingInline}px`,color:Oe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ve}-item-active)`]:{"&:hover":{transition:`all ${Oe.motionDurationMid}`,backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},"&-active":{fontWeight:Oe.fontWeightStrong,backgroundColor:Oe.itemActiveBg,borderColor:Oe.colorPrimary,a:{color:Oe.colorPrimary},"&:hover":{borderColor:Oe.colorPrimaryHover},"&:hover a":{color:Oe.colorPrimaryHover}}}}},Hn=Oe=>{const{componentCls:ve}=Oe;return{[ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,st.Wf)(Oe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ve}-total-text`]:{display:"inline-block",height:Oe.itemSize,marginInlineEnd:Oe.marginXS,lineHeight:`${Oe.itemSize-2}px`,verticalAlign:"middle"}}),Gt(Oe)),Qt(Oe)),Fe(Oe)),sn(Oe)),Pt(Oe)),{[`@media only screen and (max-width: ${Oe.screenLG}px)`]:{[`${ve}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Oe.screenSM}px)`]:{[`${ve}-options`]:{display:"none"}}}),[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}}},ea=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}${ve}-disabled:not(${ve}-mini)`]:{"&, &:hover":{[`${ve}-item-link`]:{borderColor:Oe.colorBorder}},"&:focus-visible":{[`${ve}-item-link`]:{borderColor:Oe.colorBorder}},[`${ve}-item, ${ve}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,[`&:hover:not(${ve}-item-active)`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,a:{color:Oe.colorTextDisabled}},[`&${ve}-item-active`]:{backgroundColor:Oe.itemActiveBgDisabled}},[`${ve}-prev, ${ve}-next`]:{"&:hover button":{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,color:Oe.colorTextDisabled},[`${ve}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder}}},[`${ve}:not(${ve}-mini)`]:{[`${ve}-prev, ${ve}-next`]:{"&:hover button":{borderColor:Oe.colorPrimaryHover,backgroundColor:Oe.itemBg},[`${ve}-item-link`]:{backgroundColor:Oe.itemLinkBg,borderColor:Oe.colorBorder},[`&:hover ${ve}-item-link`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,color:Oe.colorPrimary},[`&${ve}-disabled`]:{[`${ve}-item-link`]:{borderColor:Oe.colorBorder,color:Oe.colorTextDisabled}}},[`${ve}-item`]:{backgroundColor:Oe.itemBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,[`&:hover:not(${ve}-item-active)`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,a:{color:Oe.colorPrimary}},"&-active":{borderColor:Oe.colorPrimary}}}}},Re=Oe=>{const{componentCls:ve}=Oe;return{[`${ve}:not(${ve}-disabled)`]:{[`${ve}-item`]:Object.assign({},(0,st.Qy)(Oe)),[`${ve}-jump-prev, ${ve}-jump-next`]:{"&:focus-visible":Object.assign({[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}},(0,st.oN)(Oe))},[`${ve}-prev, ${ve}-next`]:{[`&:focus-visible ${ve}-item-link`]:Object.assign({},(0,st.oN)(Oe))}}}};var qe=(0,At.Z)("Pagination",Oe=>{const ve=(0,Nt.TS)(Oe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Oe.marginXXS/2,paginationMiniQuickJumperInputWidth:Oe.controlHeightLG*1.1,paginationItemPaddingInline:Oe.marginXXS*1.5,paginationEllipsisLetterSpacing:Oe.marginXXS/2,paginationSlashMarginInlineStart:Oe.marginXXS,paginationSlashMarginInlineEnd:Oe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Je.e5)(Oe),(0,Je.TM)(Oe));return[Hn(ve),Re(ve),Oe.wireframe&&ea(ve)]},Oe=>({itemBg:Oe.colorBgContainer,itemSize:Oe.controlHeight,itemSizeSM:Oe.controlHeightSM,itemActiveBg:Oe.colorBgContainer,itemLinkBg:Oe.colorBgContainer,itemActiveColorDisabled:Oe.colorTextDisabled,itemActiveBgDisabled:Oe.controlItemBgActiveDisabled,itemInputBg:Oe.colorBgContainer,miniOptionsSizeChangerTop:0})),tt=function(Oe,ve){var Ge={};for(var We in Oe)Object.prototype.hasOwnProperty.call(Oe,We)&&ve.indexOf(We)<0&&(Ge[We]=Oe[We]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,We=Object.getOwnPropertySymbols(Oe);we<We.length;we++)ve.indexOf(We[we])<0&&Object.prototype.propertyIsEnumerable.call(Oe,We[we])&&(Ge[We[we]]=Oe[We[we]]);return Ge},ft=Oe=>{const{prefixCls:ve,selectPrefixCls:Ge,className:We,rootClassName:we,style:mt,size:et,locale:Ht,selectComponentClass:Se,responsive:ut,showSizeChanger:xt}=Oe,Ae=tt(Oe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:He}=(0,it.Z)(ut),{getPrefixCls:ct,direction:wt,pagination:Zt={}}=se.useContext(Ke.E_),gn=ct("pagination",ve),[dt,Dt]=qe(gn),yt=xt!=null?xt:Zt.showSizeChanger,en=se.useMemo(()=>{const Tt=se.createElement("span",{className:`${gn}-item-ellipsis`},"\u2022\u2022\u2022"),Xt=se.createElement("button",{className:`${gn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?se.createElement(ze.Z,null):se.createElement(Ze.Z,null)),ya=se.createElement("button",{className:`${gn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?se.createElement(Ze.Z,null):se.createElement(ze.Z,null)),ta=se.createElement("a",{className:`${gn}-item-link`},se.createElement("div",{className:`${gn}-item-container`},wt==="rtl"?se.createElement(je.Z,{className:`${gn}-item-link-icon`}):se.createElement(nt,{className:`${gn}-item-link-icon`}),Tt)),Mn=se.createElement("a",{className:`${gn}-item-link`},se.createElement("div",{className:`${gn}-item-container`},wt==="rtl"?se.createElement(nt,{className:`${gn}-item-link-icon`}):se.createElement(je.Z,{className:`${gn}-item-link-icon`}),Tt));return{prevIcon:Xt,nextIcon:ya,jumpPrevIcon:ta,jumpNextIcon:Mn}},[wt,gn]),[Vt]=(0,rt.Z)("Pagination",$e.Z),un=Object.assign(Object.assign({},Vt),Ht),Un=(0,Ve.Z)(et),mn=Un==="small"||!!(He&&!Un&&ut),an=ct("select",Ge),$n=ye()({[`${gn}-mini`]:mn,[`${gn}-rtl`]:wt==="rtl"},Zt==null?void 0:Zt.className,We,we,Dt),_t=Object.assign(Object.assign({},Zt==null?void 0:Zt.style),mt);return dt(se.createElement(Be,Object.assign({},en,Ae,{style:_t,prefixCls:gn,selectPrefixCls:an,className:$n,selectComponentClass:Se||(mn?Rt:Yt),locale:un,showSizeChanger:yt})))},gt=ft},93948:function(Et,St,te){"use strict";te.d(St,{Z:function(){return xt}});var z=te(59301),se=te(29679),he=te(40001),Ie=te(19248),be=te(99267),Ne=te(92310),ie=te.n(Ne),nt=te(2738),je=te(36355),Ze=te(54476),ze=te(33885),Me=te(75931),ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},re=function(){var He=(0,z.useRef)([]),ct=(0,z.useRef)(null);return(0,z.useEffect)(function(){var wt=Date.now(),Zt=!1;He.current.forEach(function(gn){if(gn){Zt=!0;var dt=gn.style;dt.transitionDuration=".3s, .3s, .3s, .06s",ct.current&&wt-ct.current<100&&(dt.transitionDuration="0s, 0s")}}),Zt&&(ct.current=Date.now())}),He.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(He){var ct=(0,ze.Z)((0,ze.Z)({},ye),He),wt=ct.className,Zt=ct.percent,gn=ct.prefixCls,dt=ct.strokeColor,Dt=ct.strokeLinecap,yt=ct.strokeWidth,en=ct.style,Vt=ct.trailColor,un=ct.trailWidth,Un=ct.transition,mn=(0,Me.Z)(ct,a);delete mn.gapPosition;var an=Array.isArray(Zt)?Zt:[Zt],$n=Array.isArray(dt)?dt:[dt],_t=re(),Tt=yt/2,Xt=100-yt/2,ya="M ".concat(Dt==="round"?Tt:0,",").concat(Tt,`
|
|
L `).concat(Dt==="round"?Xt:100,",").concat(Tt),ta="0 0 100 ".concat(yt),Mn=0;return z.createElement("svg",(0,Ze.Z)({className:ie()("".concat(gn,"-line"),wt),viewBox:ta,preserveAspectRatio:"none",style:en},mn),z.createElement("path",{className:"".concat(gn,"-line-trail"),d:ya,strokeLinecap:Dt,stroke:Vt,strokeWidth:un||yt,fillOpacity:"0"}),an.map(function(Ga,Ba){var Nr=1;switch(Dt){case"round":Nr=1-yt/100;break;case"square":Nr=1-yt/2/100;break;default:Nr=1;break}var Dr={strokeDasharray:"".concat(Ga*Nr,"px, 100px"),strokeDashoffset:"-".concat(Mn,"px"),transition:Un||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Xa=$n[Ba]||$n[$n.length-1];return Mn+=Ga,z.createElement("path",{key:Ba,className:"".concat(gn,"-line-path"),d:ya,strokeLinecap:Dt,stroke:Xa,strokeWidth:yt,fillOpacity:"0",ref:function(Mt){_t[Ba]=Mt},style:Dr})}))},b=y,E=te(76190),x=te(42978),ee=te(47273),ne=0,oe=(0,ee.Z)();function ae(){var Ae;return oe?(Ae=ne,ne+=1):Ae="TEST_OR_SSR",Ae}var ue=function(Ae){var He=z.useState(),ct=(0,x.Z)(He,2),wt=ct[0],Zt=ct[1];return z.useEffect(function(){Zt("rc_progress_".concat(ae()))},[]),Ae||wt},me=function(He){var ct=He.bg,wt=He.children;return z.createElement("div",{style:{width:"100%",height:"100%",background:ct}},wt)};function fe(Ae,He){return Object.keys(Ae).map(function(ct){var wt=parseFloat(ct),Zt="".concat(Math.floor(wt*He),"%");return"".concat(Ae[ct]," ").concat(Zt)})}var Pe=z.forwardRef(function(Ae,He){var ct=Ae.prefixCls,wt=Ae.color,Zt=Ae.gradientId,gn=Ae.radius,dt=Ae.style,Dt=Ae.ptg,yt=Ae.strokeLinecap,en=Ae.strokeWidth,Vt=Ae.size,un=Ae.gapDegree,Un=wt&&(0,E.Z)(wt)==="object",mn=Un?"#FFF":void 0,an=Vt/2,$n=z.createElement("circle",{className:"".concat(ct,"-circle-path"),r:gn,cx:an,cy:an,stroke:mn,strokeLinecap:yt,strokeWidth:en,opacity:Dt===0?0:1,style:dt,ref:He});if(!Un)return $n;var _t="".concat(Zt,"-conic"),Tt=un?"".concat(180+un/2,"deg"):"0deg",Xt=fe(wt,(360-un)/360),ya=fe(wt,1),ta="conic-gradient(from ".concat(Tt,", ").concat(Xt.join(", "),")"),Mn="linear-gradient(to ".concat(un?"bottom":"top",", ").concat(ya.join(", "),")");return z.createElement(z.Fragment,null,z.createElement("mask",{id:_t},$n),z.createElement("foreignObject",{x:0,y:0,width:Vt,height:Vt,mask:"url(#".concat(_t,")")},z.createElement(me,{bg:Mn},z.createElement(me,{bg:ta}))))}),xe=Pe,Ee=100,De=function(He,ct,wt,Zt,gn,dt,Dt,yt,en,Vt){var un=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Un=wt/100*360*((360-dt)/360),mn=dt===0?0:{bottom:0,top:180,left:90,right:-90}[Dt],an=(100-Zt)/100*ct;en==="round"&&Zt!==100&&(an+=Vt/2,an>=ct&&(an=ct-.01));var $n=Ee/2;return{stroke:typeof yt=="string"?yt:void 0,strokeDasharray:"".concat(ct,"px ").concat(He),strokeDashoffset:an+un,transform:"rotate(".concat(gn+Un+mn,"deg)"),transformOrigin:"".concat($n,"px ").concat($n,"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}},_e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function pt(Ae){var He=Ae!=null?Ae:[];return Array.isArray(He)?He:[He]}var Be=function(He){var ct=(0,ze.Z)((0,ze.Z)({},ye),He),wt=ct.id,Zt=ct.prefixCls,gn=ct.steps,dt=ct.strokeWidth,Dt=ct.trailWidth,yt=ct.gapDegree,en=yt===void 0?0:yt,Vt=ct.gapPosition,un=ct.trailColor,Un=ct.strokeLinecap,mn=ct.style,an=ct.className,$n=ct.strokeColor,_t=ct.percent,Tt=(0,Me.Z)(ct,_e),Xt=Ee/2,ya=ue(wt),ta="".concat(ya,"-gradient"),Mn=Xt-dt/2,Ga=Math.PI*2*Mn,Ba=en>0?90+en/2:-90,Nr=Ga*((360-en)/360),Dr=(0,E.Z)(gn)==="object"?gn:{count:gn,space:2},Xa=Dr.count,at=Dr.space,Mt=pt(_t),Ft=pt($n),kn=Ft.find(function(Ja){return Ja&&(0,E.Z)(Ja)==="object"}),dn=kn&&(0,E.Z)(kn)==="object",An=dn?"butt":Un,Xr=De(Ga,Nr,0,100,Ba,en,Vt,un,An,dt),Fr=re(),Kr=function(){var Nn=0;return Mt.map(function(gr,ar){var mr=Ft[ar]||Ft[Ft.length-1],tr=De(Ga,Nr,Nn,gr,Ba,en,Vt,mr,An,dt);return Nn+=gr,z.createElement(xe,{key:ar,color:mr,ptg:gr,radius:Mn,prefixCls:Zt,gradientId:ta,style:tr,strokeLinecap:An,strokeWidth:dt,gapDegree:en,ref:function(qt){Fr[ar]=qt},size:Ee})}).reverse()},ro=function(){var Nn=Math.round(Xa*(Mt[0]/100)),gr=100/Xa,ar=0;return new Array(Xa).fill(null).map(function(mr,tr){var ht=tr<=Nn-1?Ft[0]:un,qt=ht&&(0,E.Z)(ht)==="object"?"url(#".concat(ta,")"):void 0,tn=De(Ga,Nr,ar,gr,Ba,en,Vt,ht,"butt",dt,at);return ar+=(Nr-tn.strokeDashoffset+at)*100/Nr,z.createElement("circle",{key:tr,className:"".concat(Zt,"-circle-path"),r:Mn,cx:Xt,cy:Xt,stroke:qt,strokeWidth:dt,opacity:1,style:tn,ref:function(Rn){Fr[tr]=Rn}})})};return z.createElement("svg",(0,Ze.Z)({className:ie()("".concat(Zt,"-circle"),an),viewBox:"0 0 ".concat(Ee," ").concat(Ee),style:mn,id:wt,role:"presentation"},Tt),!Xa&&z.createElement("circle",{className:"".concat(Zt,"-circle-trail"),r:Mn,cx:Xt,cy:Xt,stroke:un,strokeLinecap:An,strokeWidth:Dt||dt,style:Xr}),Xa?ro():Kr())},$e=Be,Ke={Line:b,Circle:$e},Ve=te(6848),it=te(30071);function rt(Ae){return!Ae||Ae<0?0:Ae>100?100:Ae}function vt(Ae){let{success:He,successPercent:ct}=Ae,wt=ct;return He&&"progress"in He&&(wt=He.progress),He&&"percent"in He&&(wt=He.percent),wt}const Rt=Ae=>{let{percent:He,success:ct,successPercent:wt}=Ae;const Zt=rt(vt({success:ct,successPercent:wt}));return[Zt,rt(rt(He)-Zt)]},Yt=Ae=>{let{success:He={},strokeColor:ct}=Ae;const{strokeColor:wt}=He;return[wt||it.presetPrimaryColors.green,ct||null]},Je=(Ae,He,ct)=>{var wt,Zt,gn,dt;let Dt=-1,yt=-1;if(He==="step"){const en=ct.steps,Vt=ct.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?(Dt=Ae==="small"?2:14,yt=Vt!=null?Vt:8):typeof Ae=="number"?[Dt,yt]=[Ae,Ae]:[Dt=14,yt=8]=Ae,Dt*=en}else if(He==="line"){const en=ct==null?void 0:ct.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?yt=en||(Ae==="small"?6:8):typeof Ae=="number"?[Dt,yt]=[Ae,Ae]:[Dt=-1,yt=8]=Ae}else(He==="circle"||He==="dashboard")&&(typeof Ae=="string"||typeof Ae=="undefined"?[Dt,yt]=Ae==="small"?[60,60]:[120,120]:typeof Ae=="number"?[Dt,yt]=[Ae,Ae]:(Dt=(Zt=(wt=Ae[0])!==null&&wt!==void 0?wt:Ae[1])!==null&&Zt!==void 0?Zt:120,yt=(dt=(gn=Ae[0])!==null&&gn!==void 0?gn:Ae[1])!==null&&dt!==void 0?dt:120));return[Dt,yt]},st=3,At=Ae=>st/Ae*100;var Pt=Ae=>{const{prefixCls:He,trailColor:ct=null,strokeLinecap:wt="round",gapPosition:Zt,gapDegree:gn,width:dt=120,type:Dt,children:yt,success:en,size:Vt=dt}=Ae,[un,Un]=Je(Vt,"circle");let{strokeWidth:mn}=Ae;mn===void 0&&(mn=Math.max(At(un),6));const an={width:un,height:Un,fontSize:un*.15+6},$n=z.useMemo(()=>{if(gn||gn===0)return gn;if(Dt==="dashboard")return 75},[gn,Dt]),_t=Zt||Dt==="dashboard"&&"bottom"||void 0,Tt=Object.prototype.toString.call(Ae.strokeColor)==="[object Object]",Xt=Yt({success:en,strokeColor:Ae.strokeColor}),ya=ie()(`${He}-inner`,{[`${He}-circle-gradient`]:Tt}),ta=z.createElement($e,{percent:Rt(Ae),strokeWidth:mn,trailWidth:mn,strokeColor:Xt,strokeLinecap:wt,trailColor:ct,prefixCls:He,gapDegree:$n,gapPosition:_t});return z.createElement("div",{className:ya,style:an},un<=20?z.createElement(Ve.Z,{title:yt},z.createElement("span",null,ta)):z.createElement(z.Fragment,null,ta,yt))},sn=function(Ae,He){var ct={};for(var wt in Ae)Object.prototype.hasOwnProperty.call(Ae,wt)&&He.indexOf(wt)<0&&(ct[wt]=Ae[wt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,wt=Object.getOwnPropertySymbols(Ae);Zt<wt.length;Zt++)He.indexOf(wt[Zt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,wt[Zt])&&(ct[wt[Zt]]=Ae[wt[Zt]]);return ct};const Fe=Ae=>{let He=[];return Object.keys(Ae).forEach(ct=>{const wt=parseFloat(ct.replace(/%/g,""));isNaN(wt)||He.push({key:wt,value:Ae[ct]})}),He=He.sort((ct,wt)=>ct.key-wt.key),He.map(ct=>{let{key:wt,value:Zt}=ct;return`${Zt} ${wt}%`}).join(", ")},Qt=(Ae,He)=>{const{from:ct=it.presetPrimaryColors.blue,to:wt=it.presetPrimaryColors.blue,direction:Zt=He==="rtl"?"to left":"to right"}=Ae,gn=sn(Ae,["from","to","direction"]);if(Object.keys(gn).length!==0){const dt=Fe(gn);return{backgroundImage:`linear-gradient(${Zt}, ${dt})`}}return{backgroundImage:`linear-gradient(${Zt}, ${ct}, ${wt})`}};var Hn=Ae=>{const{prefixCls:He,direction:ct,percent:wt,size:Zt,strokeWidth:gn,strokeColor:dt,strokeLinecap:Dt="round",children:yt,trailColor:en=null,success:Vt}=Ae,un=dt&&typeof dt!="string"?Qt(dt,ct):{backgroundColor:dt},Un=Dt==="square"||Dt==="butt"?0:void 0,mn={backgroundColor:en||void 0,borderRadius:Un},an=Zt!=null?Zt:[-1,gn||(Zt==="small"?6:8)],[$n,_t]=Je(an,"line",{strokeWidth:gn}),Tt=Object.assign({width:`${rt(wt)}%`,height:_t,borderRadius:Un},un),Xt=vt(Ae),ya={width:`${rt(Xt)}%`,height:_t,borderRadius:Un,backgroundColor:Vt==null?void 0:Vt.strokeColor},ta={width:$n<0?"100%":$n,height:_t};return z.createElement(z.Fragment,null,z.createElement("div",{className:`${He}-outer`,style:ta},z.createElement("div",{className:`${He}-inner`,style:mn},z.createElement("div",{className:`${He}-bg`,style:Tt}),Xt!==void 0?z.createElement("div",{className:`${He}-success-bg`,style:ya}):null)),yt)},Re=Ae=>{const{size:He,steps:ct,percent:wt=0,strokeWidth:Zt=8,strokeColor:gn,trailColor:dt=null,prefixCls:Dt,children:yt}=Ae,en=Math.round(ct*(wt/100)),Vt=He==="small"?2:14,un=He!=null?He:[Vt,Zt],[Un,mn]=Je(un,"step",{steps:ct,strokeWidth:Zt}),an=Un/ct,$n=new Array(ct);for(let _t=0;_t<ct;_t++){const Tt=Array.isArray(gn)?gn[_t]:gn;$n[_t]=z.createElement("div",{key:_t,className:ie()(`${Dt}-steps-item`,{[`${Dt}-steps-item-active`]:_t<=en-1}),style:{backgroundColor:_t<=en-1?Tt:dt,width:an,height:mn}})}return z.createElement("div",{className:`${Dt}-steps-outer`},$n,yt)},qe=te(36237),tt=te(17313),Le=te(83116),ft=te(37613);const gt=Ae=>{const He=Ae?"100%":"-100%";return new qe.Keyframes(`antProgress${Ae?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${He}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${He}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Oe=Ae=>{const{componentCls:He,iconCls:ct}=Ae;return{[He]:Object.assign(Object.assign({},(0,tt.Wf)(Ae)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ae.fontSize,marginInlineEnd:Ae.marginXS,marginBottom:Ae.marginXS},[`${He}-outer`]:{display:"inline-block",width:"100%"},[`&${He}-show-info`]:{[`${He}-outer`]:{marginInlineEnd:`calc(-2em - ${Ae.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ae.paddingXS}px)`}},[`${He}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ae.remainingColor,borderRadius:Ae.lineBorderRadius},[`${He}-inner:not(${He}-circle-gradient)`]:{[`${He}-circle-path`]:{stroke:Ae.defaultColor}},[`${He}-success-bg, ${He}-bg`]:{position:"relative",backgroundColor:Ae.defaultColor,borderRadius:Ae.lineBorderRadius,transition:`all ${Ae.motionDurationSlow} ${Ae.motionEaseInOutCirc}`},[`${He}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ae.colorSuccess},[`${He}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ae.marginXS,color:Ae.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ct]:{fontSize:Ae.fontSize}},[`&${He}-status-active`]:{[`${He}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ae.colorBgContainer,borderRadius:Ae.lineBorderRadius,opacity:0,animationName:gt(),animationDuration:Ae.progressActiveMotionDuration,animationTimingFunction:Ae.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${He}-rtl${He}-status-active`]:{[`${He}-bg::before`]:{animationName:gt(!0)}},[`&${He}-status-exception`]:{[`${He}-bg`]:{backgroundColor:Ae.colorError},[`${He}-text`]:{color:Ae.colorError}},[`&${He}-status-exception ${He}-inner:not(${He}-circle-gradient)`]:{[`${He}-circle-path`]:{stroke:Ae.colorError}},[`&${He}-status-success`]:{[`${He}-bg`]:{backgroundColor:Ae.colorSuccess},[`${He}-text`]:{color:Ae.colorSuccess}},[`&${He}-status-success ${He}-inner:not(${He}-circle-gradient)`]:{[`${He}-circle-path`]:{stroke:Ae.colorSuccess}}})}},ve=Ae=>{const{componentCls:He,iconCls:ct}=Ae;return{[He]:{[`${He}-circle-trail`]:{stroke:Ae.remainingColor},[`&${He}-circle ${He}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${He}-circle ${He}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ae.circleTextColor,fontSize:Ae.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ct]:{fontSize:`${Ae.fontSize/Ae.fontSizeSM}em`}},[`${He}-circle&-status-exception`]:{[`${He}-text`]:{color:Ae.colorError}},[`${He}-circle&-status-success`]:{[`${He}-text`]:{color:Ae.colorSuccess}}},[`${He}-inline-circle`]:{lineHeight:1,[`${He}-inner`]:{verticalAlign:"bottom"}}}},Ge=Ae=>{const{componentCls:He}=Ae;return{[He]:{[`${He}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ae.progressStepMinWidth,marginInlineEnd:Ae.progressStepMarginInlineEnd,backgroundColor:Ae.remainingColor,transition:`all ${Ae.motionDurationSlow}`,"&-active":{backgroundColor:Ae.defaultColor}}}}}},We=Ae=>{const{componentCls:He,iconCls:ct}=Ae;return{[He]:{[`${He}-small&-line, ${He}-small&-line ${He}-text ${ct}`]:{fontSize:Ae.fontSizeSM}}}};var we=(0,Le.Z)("Progress",Ae=>{const He=Ae.marginXXS/2,ct=(0,ft.TS)(Ae,{progressStepMarginInlineEnd:He,progressStepMinWidth:He,progressActiveMotionDuration:"2.4s"});return[Oe(ct),ve(ct),Ge(ct),We(ct)]},Ae=>({circleTextColor:Ae.colorText,defaultColor:Ae.colorInfo,remainingColor:Ae.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),mt=function(Ae,He){var ct={};for(var wt in Ae)Object.prototype.hasOwnProperty.call(Ae,wt)&&He.indexOf(wt)<0&&(ct[wt]=Ae[wt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,wt=Object.getOwnPropertySymbols(Ae);Zt<wt.length;Zt++)He.indexOf(wt[Zt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,wt[Zt])&&(ct[wt[Zt]]=Ae[wt[Zt]]);return ct};const et=null,Ht=["normal","exception","active","success"];var ut=z.forwardRef((Ae,He)=>{const{prefixCls:ct,className:wt,rootClassName:Zt,steps:gn,strokeColor:dt,percent:Dt=0,size:yt="default",showInfo:en=!0,type:Vt="line",status:un,format:Un,style:mn}=Ae,an=mt(Ae,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),$n=z.useMemo(()=>{var Mt,Ft;const kn=vt(Ae);return parseInt(kn!==void 0?(Mt=kn!=null?kn:0)===null||Mt===void 0?void 0:Mt.toString():(Ft=Dt!=null?Dt:0)===null||Ft===void 0?void 0:Ft.toString(),10)},[Dt,Ae.success,Ae.successPercent]),_t=z.useMemo(()=>!Ht.includes(un)&&$n>=100?"success":un||"normal",[un,$n]),{getPrefixCls:Tt,direction:Xt,progress:ya}=z.useContext(je.E_),ta=Tt("progress",ct),[Mn,Ga]=we(ta),Ba=z.useMemo(()=>{if(!en)return null;const Mt=vt(Ae);let Ft;const kn=Un||(An=>`${An}%`),dn=Vt==="line";return Un||_t!=="exception"&&_t!=="success"?Ft=kn(rt(Dt),rt(Mt)):_t==="exception"?Ft=dn?z.createElement(Ie.Z,null):z.createElement(be.Z,null):_t==="success"&&(Ft=dn?z.createElement(se.Z,null):z.createElement(he.Z,null)),z.createElement("span",{className:`${ta}-text`,title:typeof Ft=="string"?Ft:void 0},Ft)},[en,Dt,$n,_t,Vt,ta,Un]),Nr=Array.isArray(dt)?dt[0]:dt,Dr=typeof dt=="string"||Array.isArray(dt)?dt:void 0;let Xa;Vt==="line"?Xa=gn?z.createElement(Re,Object.assign({},Ae,{strokeColor:Dr,prefixCls:ta,steps:gn}),Ba):z.createElement(Hn,Object.assign({},Ae,{strokeColor:Nr,prefixCls:ta,direction:Xt}),Ba):(Vt==="circle"||Vt==="dashboard")&&(Xa=z.createElement(Pt,Object.assign({},Ae,{strokeColor:Nr,prefixCls:ta,progressStatus:_t}),Ba));const at=ie()(ta,`${ta}-status-${_t}`,`${ta}-${Vt==="dashboard"&&"circle"||gn&&"steps"||Vt}`,{[`${ta}-inline-circle`]:Vt==="circle"&&Je(yt,"circle")[0]<=20,[`${ta}-show-info`]:en,[`${ta}-${yt}`]:typeof yt=="string",[`${ta}-rtl`]:Xt==="rtl"},ya==null?void 0:ya.className,wt,Zt,Ga);return Mn(z.createElement("div",Object.assign({ref:He,style:Object.assign(Object.assign({},ya==null?void 0:ya.style),mn),className:at,role:"progressbar","aria-valuenow":$n},(0,nt.Z)(an,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Xa))}),xt=ut},15969:function(Et,St,te){"use strict";te.d(St,{N:function(){return z}});const z=se=>({color:se.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${se.motionDurationSlow}`,"&:focus, &:hover":{color:se.colorLinkHover},"&:active":{color:se.colorLinkActive}})},1710:function(Et,St,te){"use strict";te.d(St,{default:function(){return Ci}});var z={},se="rc-table-internal-hook",he=te(42978),Ie=te(6089),be=te(34280),Ne=te(13697),ie=te(59301),nt=te(4676);function je(ce){var pe=ie.createContext(void 0),ke=function(ot){var lt=ot.value,Ot=ot.children,Lt=ie.useRef(lt);Lt.current=lt;var Bt=ie.useState(function(){return{getValue:function(){return Lt.current},listeners:new Set}}),$t=(0,he.Z)(Bt,1),jt=$t[0];return(0,be.Z)(function(){(0,nt.unstable_batchedUpdates)(function(){jt.listeners.forEach(function(Kt){Kt(lt)})})},[lt]),ie.createElement(pe.Provider,{value:jt},Ot)};return{Context:pe,Provider:ke,defaultValue:ce}}function Ze(ce,pe){var ke=(0,Ie.Z)(typeof pe=="function"?pe:function(Kt){if(pe===void 0)return Kt;if(!Array.isArray(pe))return Kt[pe];var En={};return pe.forEach(function(Sn){En[Sn]=Kt[Sn]}),En}),Ue=ie.useContext(ce==null?void 0:ce.Context),ot=Ue||{},lt=ot.listeners,Ot=ot.getValue,Lt=ie.useRef();Lt.current=ke(Ue?Ot():ce==null?void 0:ce.defaultValue);var Bt=ie.useState({}),$t=(0,he.Z)(Bt,2),jt=$t[1];return(0,be.Z)(function(){if(!Ue)return;function Kt(En){var Sn=ke(En);(0,Ne.Z)(Lt.current,Sn,!0)||jt({})}return lt.add(Kt),function(){lt.delete(Kt)}},[Ue]),Lt.current}var ze=te(54476),Me=te(8654);function ye(){var ce=ie.createContext(null);function pe(){return ie.useContext(ce)}function ke(ot,lt){var Ot=(0,Me.Yr)(ot),Lt=function($t,jt){var Kt=Ot?{ref:jt}:{},En=ie.useRef(0),Sn=ie.useRef($t),xn=pe();return xn!==null?ie.createElement(ot,(0,ze.Z)({},$t,Kt)):((!lt||lt(Sn.current,$t))&&(En.current+=1),Sn.current=$t,ie.createElement(ce.Provider,{value:En.current},ie.createElement(ot,(0,ze.Z)({},$t,Kt))))};return Ot?ie.forwardRef(Lt):Lt}function Ue(ot,lt){var Ot=(0,Me.Yr)(ot),Lt=function($t,jt){var Kt=Ot?{ref:jt}:{};return pe(),ie.createElement(ot,(0,ze.Z)({},$t,Kt))};return Ot?ie.memo(ie.forwardRef(Lt),lt):ie.memo(Lt,lt)}return{makeImmutable:ke,responseImmutable:Ue,useImmutableMark:pe}}var re=ye(),a=re.makeImmutable,y=re.responseImmutable,b=re.useImmutableMark,E=ye(),x=E.makeImmutable,ee=E.responseImmutable,ne=E.useImmutableMark,oe=je(),ae=oe;function ue(ce,pe){var ke=ie.useRef(0);ke.current+=1;var Ue=ie.useRef(ce),ot=[];Object.keys(ce||{}).map(function(Ot){var Lt;(ce==null?void 0:ce[Ot])!==((Lt=Ue.current)===null||Lt===void 0?void 0:Lt[Ot])&&ot.push(Ot)}),Ue.current=ce;var lt=ie.useRef([]);return ot.length&&(lt.current=ot),ie.useDebugValue(ke.current),ie.useDebugValue(lt.current.join(", ")),pe&&console.log("".concat(pe,":"),ke.current,lt.current),ke.current}var me=null,fe=ie.memo(function(){var ce=ue();return ie.createElement("h1",null,"Render Times: ",ce)});fe.displayName="RenderBlock";var Pe=te(76190),xe=te(33885),Ee=te(20068),De=te(92310),_e=te.n(De),pt=te(80547),Be=te(97938),$e=te(48736),Ke=ie.createContext({renderWithProps:!1}),Ve=Ke,it="RC_TABLE_KEY";function rt(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function vt(ce){var pe=[],ke={};return ce.forEach(function(Ue){for(var ot=Ue||{},lt=ot.key,Ot=ot.dataIndex,Lt=lt||rt(Ot).join("-")||it;ke[Lt];)Lt="".concat(Lt,"_next");ke[Lt]=!0,pe.push(Lt)}),pe}function Rt(ce){return ce!=null}function Yt(ce){return ce&&(0,Pe.Z)(ce)==="object"&&!Array.isArray(ce)&&!ie.isValidElement(ce)}function Je(ce,pe,ke,Ue,ot,lt){var Ot=ie.useContext(Ve),Lt=ne(),Bt=(0,pt.Z)(function(){if(Rt(Ue))return[Ue];var $t=pe==null||pe===""?[]:Array.isArray(pe)?pe:[pe],jt=(0,Be.Z)(ce,$t),Kt=jt,En=void 0;if(ot){var Sn=ot(jt,ce,ke);Yt(Sn)?(Kt=Sn.children,En=Sn.props,Ot.renderWithProps=!0):Kt=Sn}return[Kt,En]},[Lt,ce,Ue,pe,ot,ke],function($t,jt){if(lt){var Kt=(0,he.Z)($t,2),En=Kt[1],Sn=(0,he.Z)(jt,2),xn=Sn[1];return lt(xn,En)}return Ot.renderWithProps?!0:!(0,Ne.Z)($t,jt,!0)});return Bt}function st(ce,pe,ke,Ue){var ot=ce+pe-1;return ce<=Ue&&ot>=ke}function At(ce,pe){return Ze(ae,function(ke){var Ue=st(ce,pe||1,ke.hoverStartRow,ke.hoverEndRow);return[Ue,ke.onHover]})}var Nt=function(pe){var ke=pe.ellipsis,Ue=pe.rowType,ot=pe.children,lt,Ot=ke===!0?{showTitle:!0}:ke;return Ot&&(Ot.showTitle||Ue==="header")&&(typeof ot=="string"||typeof ot=="number"?lt=ot.toString():ie.isValidElement(ot)&&typeof ot.props.children=="string"&&(lt=ot.props.children)),lt};function Pt(ce){var pe,ke,Ue,ot,lt,Ot,Lt,Bt,$t=ce.component,jt=ce.children,Kt=ce.ellipsis,En=ce.scope,Sn=ce.prefixCls,xn=ce.className,Wn=ce.align,Zn=ce.record,la=ce.render,na=ce.dataIndex,da=ce.renderIndex,Ya=ce.shouldCellUpdate,ir=ce.index,ka=ce.rowType,qa=ce.colSpan,Lr=ce.rowSpan,va=ce.fixLeft,_a=ce.fixRight,xa=ce.firstFixLeft,ua=ce.lastFixLeft,ma=ce.firstFixRight,er=ce.lastFixRight,Gr=ce.appendNode,Rr=ce.additionalProps,Ka=Rr===void 0?{}:Rr,_r=ce.isSticky,Wr="".concat(Sn,"-cell"),Jr=Ze(ae,["supportSticky","allColumnsFixedLeft"]),Vr=Jr.supportSticky,Uo=Jr.allColumnsFixedLeft,io=Je(Zn,na,da,jt,la,Ya),yr=(0,he.Z)(io,2),ti=yr[0],fr=yr[1],Ro={},Bo=typeof va=="number"&&Vr,mi=typeof _a=="number"&&Vr;Bo&&(Ro.position="sticky",Ro.left=va),mi&&(Ro.position="sticky",Ro.right=_a);var pr=(pe=(ke=(Ue=fr==null?void 0:fr.colSpan)!==null&&Ue!==void 0?Ue:Ka.colSpan)!==null&&ke!==void 0?ke:qa)!==null&&pe!==void 0?pe:1,lr=(ot=(lt=(Ot=fr==null?void 0:fr.rowSpan)!==null&&Ot!==void 0?Ot:Ka.rowSpan)!==null&<!==void 0?lt:Lr)!==null&&ot!==void 0?ot:1,dr=At(ir,lr),Wa=(0,he.Z)(dr,2),La=Wa[0],Dn=Wa[1],ha=function(cr){var Ii;Zn&&Dn(ir,ir+lr-1),Ka==null||(Ii=Ka.onMouseEnter)===null||Ii===void 0||Ii.call(Ka,cr)},Or=function(cr){var Ii;Zn&&Dn(-1,-1),Ka==null||(Ii=Ka.onMouseLeave)===null||Ii===void 0||Ii.call(Ka,cr)};if(pr===0||lr===0)return null;var Qr=(Lt=Ka.title)!==null&&Lt!==void 0?Lt:Nt({rowType:ka,ellipsis:Kt,children:ti}),Li=_e()(Wr,xn,(Bt={},(0,Ee.Z)(Bt,"".concat(Wr,"-fix-left"),Bo&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-left-first"),xa&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-left-last"),ua&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-left-all"),ua&&Uo&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-right"),mi&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-right-first"),ma&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-right-last"),er&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-ellipsis"),Kt),(0,Ee.Z)(Bt,"".concat(Wr,"-with-append"),Gr),(0,Ee.Z)(Bt,"".concat(Wr,"-fix-sticky"),(Bo||mi)&&_r&&Vr),(0,Ee.Z)(Bt,"".concat(Wr,"-row-hover"),!fr&&La),Bt),Ka.className,fr==null?void 0:fr.className),bi={};Wn&&(bi.textAlign=Wn);var qi=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ro),Ka.style),bi),fr==null?void 0:fr.style),ui=ti;return(0,Pe.Z)(ui)==="object"&&!Array.isArray(ui)&&!ie.isValidElement(ui)&&(ui=null),Kt&&(ua||ma)&&(ui=ie.createElement("span",{className:"".concat(Wr,"-content")},ui)),ie.createElement($t,(0,ze.Z)({},fr,Ka,{className:Li,style:qi,title:Qr,scope:En,onMouseEnter:ha,onMouseLeave:Or,colSpan:pr!==1?pr:null,rowSpan:lr!==1?lr:null}),Gr,ui)}var sn=ie.memo(Pt);function Fe(ce,pe,ke,Ue,ot,lt){var Ot=ke[ce]||{},Lt=ke[pe]||{},Bt,$t;Ot.fixed==="left"?Bt=Ue.left[ot==="rtl"?pe:ce]:Lt.fixed==="right"&&($t=Ue.right[ot==="rtl"?ce:pe]);var jt=!1,Kt=!1,En=!1,Sn=!1,xn=ke[pe+1],Wn=ke[ce-1],Zn=!(lt!=null&<.children);if(ot==="rtl"){if(Bt!==void 0){var la=Wn&&Wn.fixed==="left";Sn=!la&&Zn}else if($t!==void 0){var na=xn&&xn.fixed==="right";En=!na&&Zn}}else if(Bt!==void 0){var da=xn&&xn.fixed==="left";jt=!da&&Zn}else if($t!==void 0){var Ya=Wn&&Wn.fixed==="right";Kt=!Ya&&Zn}return{fixLeft:Bt,fixRight:$t,lastFixLeft:jt,firstFixRight:Kt,lastFixRight:En,firstFixLeft:Sn,isSticky:Ue.isSticky}}var Qt=ie.createContext({}),Gt=Qt;function Hn(ce){var pe=ce.className,ke=ce.index,Ue=ce.children,ot=ce.colSpan,lt=ot===void 0?1:ot,Ot=ce.rowSpan,Lt=ce.align,Bt=Ze(ae,["prefixCls","direction"]),$t=Bt.prefixCls,jt=Bt.direction,Kt=ie.useContext(Gt),En=Kt.scrollColumnIndex,Sn=Kt.stickyOffsets,xn=Kt.flattenColumns,Wn=Kt.columns,Zn=ke+lt-1,la=Zn+1===En?lt+1:lt,na=Fe(ke,ke+la-1,xn,Sn,jt,Wn==null?void 0:Wn[ke]);return ie.createElement(sn,(0,ze.Z)({className:pe,index:ke,component:"td",prefixCls:$t,record:null,dataIndex:null,align:Lt,colSpan:la,rowSpan:Ot,render:function(){return Ue}},na))}var ea=te(75931),Re=["children"];function qe(ce){var pe=ce.children,ke=(0,ea.Z)(ce,Re);return ie.createElement("tr",ke,pe)}function tt(ce){var pe=ce.children;return pe}tt.Row=qe,tt.Cell=Hn;var Le=tt;function ft(ce){var pe=ce.children,ke=ce.stickyOffsets,Ue=ce.flattenColumns,ot=ce.columns,lt=Ze(ae,"prefixCls"),Ot=Ue.length-1,Lt=Ue[Ot],Bt=ie.useMemo(function(){return{stickyOffsets:ke,flattenColumns:Ue,scrollColumnIndex:Lt!=null&&Lt.scrollbar?Ot:null,columns:ot}},[Lt,Ue,Ot,ke,ot]);return ie.createElement(Gt.Provider,{value:Bt},ie.createElement("tfoot",{className:"".concat(lt,"-summary")},pe))}var gt=ee(ft),Oe=Le,ve=te(70425),Ge=te(29301),We=te(29194),we=te(24514),mt=te(75152),et=te(26112);function Ht(ce,pe,ke,Ue,ot,lt,Ot){ce.push({record:pe,indent:ke,index:Ot});var Lt=lt(pe),Bt=ot==null?void 0:ot.has(Lt);if(pe&&Array.isArray(pe[Ue])&&Bt)for(var $t=0;$t<pe[Ue].length;$t+=1)Ht(ce,pe[Ue][$t],ke+1,Ue,ot,lt,$t)}function Se(ce,pe,ke,Ue){var ot=ie.useMemo(function(){if(ke!=null&&ke.size){for(var lt=[],Ot=0;Ot<(ce==null?void 0:ce.length);Ot+=1){var Lt=ce[Ot];Ht(lt,Lt,0,pe,ke,Ue,Ot)}return lt}return ce==null?void 0:ce.map(function(Bt,$t){return{record:Bt,indent:0,index:$t}})},[ce,pe,ke,Ue]);return ot}function ut(ce){var pe=ce.prefixCls,ke=ce.children,Ue=ce.component,ot=ce.cellComponent,lt=ce.className,Ot=ce.expanded,Lt=ce.colSpan,Bt=ce.isEmpty,$t=Ze(ae,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),jt=$t.scrollbarSize,Kt=$t.fixHeader,En=$t.fixColumn,Sn=$t.componentWidth,xn=$t.horizonScroll,Wn=ke;return(Bt?xn&&Sn:En)&&(Wn=ie.createElement("div",{style:{width:Sn-(Kt?jt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(pe,"-expanded-row-fixed")},Wn)),ie.createElement(Ue,{className:lt,style:{display:Ot?null:"none"}},ie.createElement(sn,{component:ot,prefixCls:pe,colSpan:Lt},Wn))}var xt=ut;function Ae(ce,pe,ke,Ue){var ot=Ze(ae,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),lt=ot.flattenColumns,Ot=ot.expandableType,Lt=ot.expandedKeys,Bt=ot.childrenColumnName,$t=ot.onTriggerExpand,jt=ot.rowExpandable,Kt=ot.onRow,En=ot.expandRowByClick,Sn=ot.rowClassName,xn=Ot==="nest",Wn=Ot==="row"&&(!jt||jt(ce)),Zn=Wn||xn,la=Lt&&Lt.has(pe),na=Bt&&ce&&ce[Bt],da=(0,ve.useEvent)($t),Ya=Kt==null?void 0:Kt(ce,ke),ir=Ya==null?void 0:Ya.onClick,ka=function(_a){En&&Zn&&$t(ce,_a);for(var xa=arguments.length,ua=new Array(xa>1?xa-1:0),ma=1;ma<xa;ma++)ua[ma-1]=arguments[ma];ir==null||ir.apply(void 0,[_a].concat(ua))},qa;typeof Sn=="string"?qa=Sn:typeof Sn=="function"&&(qa=Sn(ce,ke,Ue));var Lr=vt(lt);return(0,xe.Z)((0,xe.Z)({},ot),{},{columnsKey:Lr,nestExpandable:xn,expanded:la,hasNestChildren:na,record:ce,onTriggerExpand:da,rowSupportExpand:Wn,expandable:Zn,rowProps:(0,xe.Z)((0,xe.Z)({},Ya),{},{className:_e()(qa,Ya==null?void 0:Ya.className),onClick:ka})})}function He(ce,pe,ke,Ue,ot){var lt=ce.record,Ot=ce.prefixCls,Lt=ce.columnsKey,Bt=ce.fixedInfoList,$t=ce.expandIconColumnIndex,jt=ce.nestExpandable,Kt=ce.indentSize,En=ce.expandIcon,Sn=ce.expanded,xn=ce.hasNestChildren,Wn=ce.onTriggerExpand,Zn=Lt[ke],la=Bt[ke],na;ke===($t||0)&&jt&&(na=ie.createElement(ie.Fragment,null,ie.createElement("span",{style:{paddingLeft:"".concat(Kt*Ue,"px")},className:"".concat(Ot,"-row-indent indent-level-").concat(Ue)}),En({prefixCls:Ot,expanded:Sn,expandable:xn,record:lt,onExpand:Wn})));var da;return pe.onCell&&(da=pe.onCell(lt,ot)),{key:Zn,fixedInfo:la,appendCellNode:na,additionalCellProps:da||{}}}function ct(ce){var pe=ce.className,ke=ce.style,Ue=ce.record,ot=ce.index,lt=ce.renderIndex,Ot=ce.rowKey,Lt=ce.indent,Bt=Lt===void 0?0:Lt,$t=ce.rowComponent,jt=ce.cellComponent,Kt=ce.scopeCellComponent,En=Ae(Ue,Ot,ot,Bt),Sn=En.prefixCls,xn=En.flattenColumns,Wn=En.expandedRowClassName,Zn=En.expandedRowRender,la=En.rowProps,na=En.expanded,da=En.rowSupportExpand,Ya=ie.useState(!1),ir=(0,he.Z)(Ya,2),ka=ir[0],qa=ir[1];ie.useEffect(function(){na&&qa(!0)},[na]);var Lr=ie.createElement($t,(0,ze.Z)({},la,{"data-row-key":Ot,className:_e()(pe,"".concat(Sn,"-row"),"".concat(Sn,"-row-level-").concat(Bt),la==null?void 0:la.className),style:(0,xe.Z)((0,xe.Z)({},ke),la==null?void 0:la.style)}),xn.map(function(ua,ma){var er=ua.render,Gr=ua.dataIndex,Rr=ua.className,Ka=He(En,ua,ma,Bt,ot),_r=Ka.key,Wr=Ka.fixedInfo,Jr=Ka.appendCellNode,Vr=Ka.additionalCellProps;return ie.createElement(sn,(0,ze.Z)({className:Rr,ellipsis:ua.ellipsis,align:ua.align,scope:ua.rowScope,component:ua.rowScope?Kt:jt,prefixCls:Sn,key:_r,record:Ue,index:ot,renderIndex:lt,dataIndex:Gr,render:er,shouldCellUpdate:ua.shouldCellUpdate},Wr,{appendNode:Jr,additionalProps:Vr}))})),va;if(da&&(ka||na)){var _a=Zn(Ue,ot,Bt+1,na),xa=Wn&&Wn(Ue,ot,Bt);va=ie.createElement(xt,{expanded:na,className:_e()("".concat(Sn,"-expanded-row"),"".concat(Sn,"-expanded-row-level-").concat(Bt+1),xa),prefixCls:Sn,component:$t,cellComponent:jt,colSpan:xn.length,isEmpty:!1},_a)}return ie.createElement(ie.Fragment,null,Lr,va)}ct.displayName="BodyRow";var wt=ee(ct);function Zt(ce){var pe=ce.columnKey,ke=ce.onColumnResize,Ue=ie.useRef();return ie.useEffect(function(){Ue.current&&ke(pe,Ue.current.offsetWidth)},[]),ie.createElement(Ge.Z,{data:pe},ie.createElement("td",{ref:Ue,style:{padding:0,border:0,height:0}},ie.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function gn(ce){var pe=ce.prefixCls,ke=ce.columnsKey,Ue=ce.onColumnResize;return ie.createElement("tr",{"aria-hidden":"true",className:"".concat(pe,"-measure-row"),style:{height:0,fontSize:0}},ie.createElement(Ge.Z.Collection,{onBatchResize:function(lt){lt.forEach(function(Ot){var Lt=Ot.data,Bt=Ot.size;Ue(Lt,Bt.offsetWidth)})}},ke.map(function(ot){return ie.createElement(Zt,{key:ot,columnKey:ot,onColumnResize:Ue})})))}function dt(ce){var pe=ce.data,ke=ce.measureColumnWidth,Ue=Ze(ae,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ot=Ue.prefixCls,lt=Ue.getComponent,Ot=Ue.onColumnResize,Lt=Ue.flattenColumns,Bt=Ue.getRowKey,$t=Ue.expandedKeys,jt=Ue.childrenColumnName,Kt=Ue.emptyNode,En=Se(pe,jt,$t,Bt),Sn=ie.useRef({renderWithProps:!1}),xn=lt(["body","wrapper"],"tbody"),Wn=lt(["body","row"],"tr"),Zn=lt(["body","cell"],"td"),la=lt(["body","cell"],"th"),na;pe.length?na=En.map(function(Ya,ir){var ka=Ya.record,qa=Ya.indent,Lr=Ya.index,va=Bt(ka,ir);return ie.createElement(wt,{key:va,rowKey:va,record:ka,index:ir,renderIndex:Lr,rowComponent:Wn,cellComponent:Zn,scopeCellComponent:la,getRowKey:Bt,indent:qa})}):na=ie.createElement(xt,{expanded:!0,className:"".concat(ot,"-placeholder"),prefixCls:ot,component:Wn,cellComponent:Zn,colSpan:Lt.length,isEmpty:!0},Kt);var da=vt(Lt);return ie.createElement(Ve.Provider,{value:Sn.current},ie.createElement(xn,{className:"".concat(ot,"-tbody")},ke&&ie.createElement(gn,{prefixCls:ot,columnsKey:da,onColumnResize:Ot}),na))}dt.displayName="Body";var Dt=ee(dt),yt=["expandable"],en="RC_TABLE_INTERNAL_COL_DEFINE";function Vt(ce){var pe=ce.expandable,ke=(0,ea.Z)(ce,yt),Ue;return"expandable"in ce?Ue=(0,xe.Z)((0,xe.Z)({},ke),pe):Ue=ke,Ue.showExpandColumn===!1&&(Ue.expandIconColumnIndex=-1),Ue}var un=["columnType"];function Un(ce){for(var pe=ce.colWidths,ke=ce.columns,Ue=ce.columCount,ot=[],lt=Ue||ke.length,Ot=!1,Lt=lt-1;Lt>=0;Lt-=1){var Bt=pe[Lt],$t=ke&&ke[Lt],jt=$t&&$t[en];if(Bt||jt||Ot){var Kt=jt||{},En=Kt.columnType,Sn=(0,ea.Z)(Kt,un);ot.unshift(ie.createElement("col",(0,ze.Z)({key:Lt,style:{width:Bt}},Sn))),Ot=!0}}return ie.createElement("colgroup",null,ot)}var mn=Un,an=te(94480),$n=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _t(ce,pe){return(0,ie.useMemo)(function(){for(var ke=[],Ue=0;Ue<pe;Ue+=1){var ot=ce[Ue];if(ot!==void 0)ke[Ue]=ot;else return null}return ke},[ce.join("_"),pe])}var Tt=ie.forwardRef(function(ce,pe){var ke=ce.className,Ue=ce.noData,ot=ce.columns,lt=ce.flattenColumns,Ot=ce.colWidths,Lt=ce.columCount,Bt=ce.stickyOffsets,$t=ce.direction,jt=ce.fixHeader,Kt=ce.stickyTopOffset,En=ce.stickyBottomOffset,Sn=ce.stickyClassName,xn=ce.onScroll,Wn=ce.maxContentScroll,Zn=ce.children,la=(0,ea.Z)(ce,$n),na=Ze(ae,["prefixCls","scrollbarSize","isSticky"]),da=na.prefixCls,Ya=na.scrollbarSize,ir=na.isSticky,ka=ir&&!jt?0:Ya,qa=ie.useRef(null),Lr=ie.useCallback(function(Rr){(0,Me.mH)(pe,Rr),(0,Me.mH)(qa,Rr)},[]);ie.useEffect(function(){var Rr;function Ka(_r){var Wr=_r,Jr=Wr.currentTarget,Vr=Wr.deltaX;Vr&&(xn({currentTarget:Jr,scrollLeft:Jr.scrollLeft+Vr}),_r.preventDefault())}return(Rr=qa.current)===null||Rr===void 0||Rr.addEventListener("wheel",Ka),function(){var _r;(_r=qa.current)===null||_r===void 0||_r.removeEventListener("wheel",Ka)}},[]);var va=ie.useMemo(function(){return lt.every(function(Rr){return Rr.width})},[lt]),_a=lt[lt.length-1],xa={fixed:_a?_a.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(da,"-cell-scrollbar")}}},ua=(0,ie.useMemo)(function(){return ka?[].concat((0,an.Z)(ot),[xa]):ot},[ka,ot]),ma=(0,ie.useMemo)(function(){return ka?[].concat((0,an.Z)(lt),[xa]):lt},[ka,lt]),er=(0,ie.useMemo)(function(){var Rr=Bt.right,Ka=Bt.left;return(0,xe.Z)((0,xe.Z)({},Bt),{},{left:$t==="rtl"?[].concat((0,an.Z)(Ka.map(function(_r){return _r+ka})),[0]):Ka,right:$t==="rtl"?Rr:[].concat((0,an.Z)(Rr.map(function(_r){return _r+ka})),[0]),isSticky:ir})},[ka,Bt,ir]),Gr=_t(Ot,Lt);return ie.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},ir?{top:Kt,bottom:En}:{}),ref:Lr,className:_e()(ke,(0,Ee.Z)({},Sn,!!Sn))},ie.createElement("table",{style:{tableLayout:"fixed",visibility:Ue||Gr?null:"hidden"}},(!Ue||!Wn||va)&&ie.createElement(mn,{colWidths:Gr?[].concat((0,an.Z)(Gr),[ka]):[],columCount:Lt+1,columns:ma}),Zn((0,xe.Z)((0,xe.Z)({},la),{},{stickyOffsets:er,columns:ua,flattenColumns:ma}))))});Tt.displayName="FixedHolder";var Xt=ie.memo(Tt);function ya(ce){var pe=ce.cells,ke=ce.stickyOffsets,Ue=ce.flattenColumns,ot=ce.rowComponent,lt=ce.cellComponent,Ot=ce.tdCellComponent,Lt=ce.onHeaderRow,Bt=ce.index,$t=Ze(ae,["prefixCls","direction"]),jt=$t.prefixCls,Kt=$t.direction,En;Lt&&(En=Lt(pe.map(function(xn){return xn.column}),Bt));var Sn=vt(pe.map(function(xn){return xn.column}));return ie.createElement(ot,En,pe.map(function(xn,Wn){var Zn=xn.column,la=Fe(xn.colStart,xn.colEnd,Ue,ke,Kt,Zn),na;return Zn&&Zn.onHeaderCell&&(na=xn.column.onHeaderCell(Zn)),ie.createElement(sn,(0,ze.Z)({},xn,{scope:Zn.title?xn.colSpan>1?"colgroup":"col":null,ellipsis:Zn.ellipsis,align:Zn.align,component:Zn.title?lt:Ot,prefixCls:jt,key:Sn[Wn]},la,{additionalProps:na,rowType:"header"}))}))}ya.displayName="HeaderRow";var ta=ya;function Mn(ce){var pe=[];function ke(Ot,Lt){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;pe[Bt]=pe[Bt]||[];var $t=Lt,jt=Ot.filter(Boolean).map(function(Kt){var En={key:Kt.key,className:Kt.className||"",children:Kt.title,column:Kt,colStart:$t},Sn=1,xn=Kt.children;return xn&&xn.length>0&&(Sn=ke(xn,$t,Bt+1).reduce(function(Wn,Zn){return Wn+Zn},0),En.hasSubColumns=!0),"colSpan"in Kt&&(Sn=Kt.colSpan),"rowSpan"in Kt&&(En.rowSpan=Kt.rowSpan),En.colSpan=Sn,En.colEnd=En.colStart+Sn-1,pe[Bt].push(En),$t+=Sn,Sn});return jt}ke(ce,0);for(var Ue=pe.length,ot=function(Lt){pe[Lt].forEach(function(Bt){!("rowSpan"in Bt)&&!Bt.hasSubColumns&&(Bt.rowSpan=Ue-Lt)})},lt=0;lt<Ue;lt+=1)ot(lt);return pe}function Ga(ce){var pe=ce.stickyOffsets,ke=ce.columns,Ue=ce.flattenColumns,ot=ce.onHeaderRow,lt=Ze(ae,["prefixCls","getComponent"]),Ot=lt.prefixCls,Lt=lt.getComponent,Bt=ie.useMemo(function(){return Mn(ke)},[ke]),$t=Lt(["header","wrapper"],"thead"),jt=Lt(["header","row"],"tr"),Kt=Lt(["header","cell"],"th"),En=Lt(["header","cell"],"td");return ie.createElement($t,{className:"".concat(Ot,"-thead")},Bt.map(function(Sn,xn){var Wn=ie.createElement(ta,{key:xn,flattenColumns:Ue,cells:Sn,stickyOffsets:pe,rowComponent:jt,cellComponent:Kt,tdCellComponent:En,onHeaderRow:ot,index:xn});return Wn}))}var Ba=ee(Ga),Nr=te(11592);function Dr(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof pe=="number"?pe:pe.endsWith("%")?ce*parseFloat(pe)/100:null}function Xa(ce,pe){return ie.useMemo(function(){if(pe&&pe>0){var ke=0,Ue=0;ce.forEach(function($t){var jt=Dr(pe,$t.width);jt?ke+=jt:Ue+=1});var ot=pe-ke,lt=Ue,Ot=ot/Ue,Lt=0,Bt=ce.map(function($t){var jt=(0,xe.Z)({},$t),Kt=Dr(pe,jt.width);if(Kt)jt.width=Kt;else{var En=Math.floor(Ot);jt.width=lt===1?ot:En,ot-=En,lt-=1}return Lt+=jt.width,jt});return[Bt,Lt]}return[ce,pe]},[ce,pe])}var at=["children"],Mt=["fixed"];function Ft(ce){return(0,Nr.Z)(ce).filter(function(pe){return ie.isValidElement(pe)}).map(function(pe){var ke=pe.key,Ue=pe.props,ot=Ue.children,lt=(0,ea.Z)(Ue,at),Ot=(0,xe.Z)({key:ke},lt);return ot&&(Ot.children=Ft(ot)),Ot})}function kn(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(ke){return ke&&(0,Pe.Z)(ke)==="object"}).reduce(function(ke,Ue,ot){var lt=Ue.fixed,Ot=lt===!0?"left":lt,Lt="".concat(pe,"-").concat(ot),Bt=Ue.children;return Bt&&Bt.length>0?[].concat((0,an.Z)(ke),(0,an.Z)(kn(Bt,Lt).map(function($t){return(0,xe.Z)({fixed:Ot},$t)}))):[].concat((0,an.Z)(ke),[(0,xe.Z)((0,xe.Z)({key:Lt},Ue),{},{fixed:Ot})])},[])}function dn(ce){for(var pe=!0,ke=0;ke<ce.length;ke+=1){var Ue=ce[ke];if(pe&&Ue.fixed!=="left")pe=!1;else if(!pe&&Ue.fixed==="left"){warning(!1,"Index ".concat(ke-1," of `columns` missing `fixed='left'` prop."));break}}for(var ot=!0,lt=ce.length-1;lt>=0;lt-=1){var Ot=ce[lt];if(ot&&Ot.fixed!=="right")ot=!1;else if(!ot&&Ot.fixed==="right"){warning(!1,"Index ".concat(lt+1," of `columns` missing `fixed='right'` prop."));break}}}function An(ce){return ce.map(function(pe){var ke=pe.fixed,Ue=(0,ea.Z)(pe,Mt),ot=ke;return ke==="left"?ot="right":ke==="right"&&(ot="left"),(0,xe.Z)({fixed:ot},Ue)})}function Xr(ce,pe){var ke=ce.prefixCls,Ue=ce.columns,ot=ce.children,lt=ce.expandable,Ot=ce.expandedKeys,Lt=ce.columnTitle,Bt=ce.getRowKey,$t=ce.onTriggerExpand,jt=ce.expandIcon,Kt=ce.rowExpandable,En=ce.expandIconColumnIndex,Sn=ce.direction,xn=ce.expandRowByClick,Wn=ce.columnWidth,Zn=ce.fixed,la=ce.scrollWidth,na=ie.useMemo(function(){return Ue||Ft(ot)},[Ue,ot]),da=ie.useMemo(function(){if(lt){var _a,xa=na.slice();if(!xa.includes(z)){var ua=En||0;ua>=0&&xa.splice(ua,0,z)}var ma=xa.indexOf(z);xa=xa.filter(function(Ka,_r){return Ka!==z||_r===ma});var er=na[ma],Gr;(Zn==="left"||Zn)&&!En?Gr="left":(Zn==="right"||Zn)&&En===na.length?Gr="right":Gr=er?er.fixed:null;var Rr=(_a={},(0,Ee.Z)(_a,en,{className:"".concat(ke,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ee.Z)(_a,"title",Lt),(0,Ee.Z)(_a,"fixed",Gr),(0,Ee.Z)(_a,"className","".concat(ke,"-row-expand-icon-cell")),(0,Ee.Z)(_a,"width",Wn),(0,Ee.Z)(_a,"render",function(_r,Wr,Jr){var Vr=Bt(Wr,Jr),Uo=Ot.has(Vr),io=Kt?Kt(Wr):!0,yr=jt({prefixCls:ke,expanded:Uo,expandable:io,record:Wr,onExpand:$t});return xn?ie.createElement("span",{onClick:function(fr){return fr.stopPropagation()}},yr):yr}),_a);return xa.map(function(Ka){return Ka===z?Rr:Ka})}return na.filter(function(Ka){return Ka!==z})},[lt,na,Bt,Ot,jt,Sn]),Ya=ie.useMemo(function(){var _a=da;return pe&&(_a=pe(_a)),_a.length||(_a=[{render:function(){return null}}]),_a},[pe,da,Sn]),ir=ie.useMemo(function(){return Sn==="rtl"?An(kn(Ya)):kn(Ya)},[Ya,Sn,la]),ka=Xa(ir,la),qa=(0,he.Z)(ka,2),Lr=qa[0],va=qa[1];return[Ya,Lr,va]}var Fr=Xr;function Kr(ce){var pe,ke=ce.prefixCls,Ue=ce.record,ot=ce.onExpand,lt=ce.expanded,Ot=ce.expandable,Lt="".concat(ke,"-row-expand-icon");if(!Ot)return ie.createElement("span",{className:_e()(Lt,"".concat(ke,"-row-spaced"))});var Bt=function(jt){ot(Ue,jt),jt.stopPropagation()};return ie.createElement("span",{className:_e()(Lt,(pe={},(0,Ee.Z)(pe,"".concat(ke,"-row-expanded"),lt),(0,Ee.Z)(pe,"".concat(ke,"-row-collapsed"),!lt),pe)),onClick:Bt})}function ro(ce,pe,ke){var Ue=[];function ot(lt){(lt||[]).forEach(function(Ot,Lt){Ue.push(pe(Ot,Lt)),ot(Ot[ke])})}return ot(ce),Ue}function Ja(ce,pe,ke){var Ue=Vt(ce),ot=Ue.expandIcon,lt=Ue.expandedRowKeys,Ot=Ue.defaultExpandedRowKeys,Lt=Ue.defaultExpandAllRows,Bt=Ue.expandedRowRender,$t=Ue.onExpand,jt=Ue.onExpandedRowsChange,Kt=Ue.childrenColumnName,En=ot||Kr,Sn=Kt||"children",xn=ie.useMemo(function(){return Bt?"row":ce.expandable&&ce.internalHooks===se&&ce.expandable.__PARENT_RENDER_ICON__||pe.some(function(ir){return ir&&(0,Pe.Z)(ir)==="object"&&ir[Sn]})?"nest":!1},[!!Bt,pe]),Wn=ie.useState(function(){return Ot||(Lt?ro(pe,ke,Sn):[])}),Zn=(0,he.Z)(Wn,2),la=Zn[0],na=Zn[1],da=ie.useMemo(function(){return new Set(lt||la||[])},[lt,la]),Ya=ie.useCallback(function(ir){var ka=ke(ir,pe.indexOf(ir)),qa,Lr=da.has(ka);Lr?(da.delete(ka),qa=(0,an.Z)(da)):qa=[].concat((0,an.Z)(da),[ka]),na(qa),$t&&$t(!Lr,ir),jt&&jt(qa)},[ke,da,pe,$t,jt]);return[Ue,xn,da,En,Sn,Ya]}function Nn(ce,pe,ke,Ue){var ot=ce.map(function(lt,Ot){return Fe(Ot,Ot,ce,pe,ke,Ue==null?void 0:Ue[Ot])});return(0,pt.Z)(function(){return ot},[ot],function(lt,Ot){return!(0,Ne.Z)(lt,Ot)})}function gr(ce){var pe=(0,ie.useRef)(ce),ke=(0,ie.useState)({}),Ue=(0,he.Z)(ke,2),ot=Ue[1],lt=(0,ie.useRef)(null),Ot=(0,ie.useRef)([]);function Lt(Bt){Ot.current.push(Bt);var $t=Promise.resolve();lt.current=$t,$t.then(function(){if(lt.current===$t){var jt=Ot.current,Kt=pe.current;Ot.current=[],jt.forEach(function(En){pe.current=En(pe.current)}),lt.current=null,Kt!==pe.current&&ot({})}})}return(0,ie.useEffect)(function(){return function(){lt.current=null}},[]),[pe.current,Lt]}function ar(ce){var pe=(0,ie.useRef)(ce||null),ke=(0,ie.useRef)();function Ue(){window.clearTimeout(ke.current)}function ot(Ot){pe.current=Ot,Ue(),ke.current=window.setTimeout(function(){pe.current=null,ke.current=void 0},100)}function lt(){return pe.current}return(0,ie.useEffect)(function(){return Ue},[]),[ot,lt]}function mr(){var ce=ie.useState(-1),pe=(0,he.Z)(ce,2),ke=pe[0],Ue=pe[1],ot=ie.useState(-1),lt=(0,he.Z)(ot,2),Ot=lt[0],Lt=lt[1],Bt=ie.useCallback(function($t,jt){Ue($t),Lt(jt)},[]);return[ke,Ot,Bt]}var tr=te(47273),ht=(0,tr.Z)()?window:null;function qt(ce,pe){var ke=(0,Pe.Z)(ce)==="object"?ce:{},Ue=ke.offsetHeader,ot=Ue===void 0?0:Ue,lt=ke.offsetSummary,Ot=lt===void 0?0:lt,Lt=ke.offsetScroll,Bt=Lt===void 0?0:Lt,$t=ke.getContainer,jt=$t===void 0?function(){return ht}:$t,Kt=jt()||ht;return ie.useMemo(function(){var En=!!ce;return{isSticky:En,stickyClassName:En?"".concat(pe,"-sticky-holder"):"",offsetHeader:ot,offsetSummary:Ot,offsetScroll:Bt,container:Kt}},[Bt,ot,Ot,pe,Kt])}function tn(ce,pe,ke){var Ue=(0,ie.useMemo)(function(){for(var ot=[],lt=[],Ot=0,Lt=0,Bt=0;Bt<pe;Bt+=1)if(ke==="rtl"){lt[Bt]=Lt,Lt+=ce[Bt]||0;var $t=pe-Bt-1;ot[$t]=Ot,Ot+=ce[$t]||0}else{ot[Bt]=Ot,Ot+=ce[Bt]||0;var jt=pe-Bt-1;lt[jt]=Lt,Lt+=ce[jt]||0}return{left:ot,right:lt}},[ce,pe,ke]);return Ue}var Pn=tn;function Rn(ce){var pe=ce.className,ke=ce.children;return ie.createElement("div",{className:pe},ke)}var cn=Rn,On=te(8224),yn=te(55468),rr=function(pe,ke){var Ue,ot,lt=pe.scrollBodyRef,Ot=pe.onScroll,Lt=pe.offsetScroll,Bt=pe.container,$t=Ze(ae,"prefixCls"),jt=((Ue=lt.current)===null||Ue===void 0?void 0:Ue.scrollWidth)||0,Kt=((ot=lt.current)===null||ot===void 0?void 0:ot.clientWidth)||0,En=jt&&Kt*(Kt/jt),Sn=ie.useRef(),xn=gr({scrollLeft:0,isHiddenScrollBar:!1}),Wn=(0,he.Z)(xn,2),Zn=Wn[0],la=Wn[1],na=ie.useRef({delta:0,x:0}),da=ie.useState(!1),Ya=(0,he.Z)(da,2),ir=Ya[0],ka=Ya[1],qa=function(){ka(!1)},Lr=function(ma){ma.persist(),na.current.delta=ma.pageX-Zn.scrollLeft,na.current.x=0,ka(!0),ma.preventDefault()},va=function(ma){var er,Gr=ma||((er=window)===null||er===void 0?void 0:er.event),Rr=Gr.buttons;if(!ir||Rr===0){ir&&ka(!1);return}var Ka=na.current.x+ma.pageX-na.current.x-na.current.delta;Ka<=0&&(Ka=0),Ka+En>=Kt&&(Ka=Kt-En),Ot({scrollLeft:Ka/Kt*(jt+2)}),na.current.x=ma.pageX},_a=function(){if(lt.current){var ma=(0,yn.os)(lt.current).top,er=ma+lt.current.offsetHeight,Gr=Bt===window?document.documentElement.scrollTop+window.innerHeight:(0,yn.os)(Bt).top+Bt.clientHeight;er-(0,mt.Z)()<=Gr||ma>=Gr-Lt?la(function(Rr){return(0,xe.Z)((0,xe.Z)({},Rr),{},{isHiddenScrollBar:!0})}):la(function(Rr){return(0,xe.Z)((0,xe.Z)({},Rr),{},{isHiddenScrollBar:!1})})}},xa=function(ma){la(function(er){return(0,xe.Z)((0,xe.Z)({},er),{},{scrollLeft:ma/jt*Kt||0})})};return ie.useImperativeHandle(ke,function(){return{setScrollLeft:xa}}),ie.useEffect(function(){var ua=(0,On.Z)(document.body,"mouseup",qa,!1),ma=(0,On.Z)(document.body,"mousemove",va,!1);return _a(),function(){ua.remove(),ma.remove()}},[En,ir]),ie.useEffect(function(){var ua=(0,On.Z)(Bt,"scroll",_a,!1),ma=(0,On.Z)(window,"resize",_a,!1);return function(){ua.remove(),ma.remove()}},[Bt]),ie.useEffect(function(){Zn.isHiddenScrollBar||la(function(ua){var ma=lt.current;return ma?(0,xe.Z)((0,xe.Z)({},ua),{},{scrollLeft:ma.scrollLeft/ma.scrollWidth*ma.clientWidth}):ua})},[Zn.isHiddenScrollBar]),jt<=Kt||!En||Zn.isHiddenScrollBar?null:ie.createElement("div",{style:{height:(0,mt.Z)(),width:Kt,bottom:Lt},className:"".concat($t,"-sticky-scroll")},ie.createElement("div",{onMouseDown:Lr,ref:Sn,className:_e()("".concat($t,"-sticky-scroll-bar"),(0,Ee.Z)({},"".concat($t,"-sticky-scroll-bar-active"),ir)),style:{width:"".concat(En,"px"),transform:"translate3d(".concat(Zn.scrollLeft,"px, 0, 0)")}}))},Ma=ie.forwardRef(rr);function ur(ce){return null}var Fn=ur;function oo(ce){return null}var to=oo,Ko="rc-table",jn=[],Ra={};function Qa(){return"No Data"}function Oa(ce){var pe,ke=(0,xe.Z)({rowKey:"key",prefixCls:Ko,emptyText:Qa},ce),Ue=ke.prefixCls,ot=ke.className,lt=ke.rowClassName,Ot=ke.style,Lt=ke.data,Bt=ke.rowKey,$t=ke.scroll,jt=ke.tableLayout,Kt=ke.direction,En=ke.title,Sn=ke.footer,xn=ke.summary,Wn=ke.caption,Zn=ke.id,la=ke.showHeader,na=ke.components,da=ke.emptyText,Ya=ke.onRow,ir=ke.onHeaderRow,ka=ke.internalHooks,qa=ke.transformColumns,Lr=ke.internalRefs,va=ke.tailor,_a=ke.sticky,xa=Lt||jn,ua=!!xa.length,ma=ka===se,er=ie.useCallback(function(jo,di){return(0,Be.Z)(na,jo)||di},[na]),Gr=ie.useMemo(function(){return typeof Bt=="function"?Bt:function(jo){var di=jo&&jo[Bt];return di}},[Bt]),Rr=er(["body"]),Ka=mr(),_r=(0,he.Z)(Ka,3),Wr=_r[0],Jr=_r[1],Vr=_r[2],Uo=Ja(ke,xa,Gr),io=(0,he.Z)(Uo,6),yr=io[0],ti=io[1],fr=io[2],Ro=io[3],Bo=io[4],mi=io[5],pr=$t==null?void 0:$t.x,lr=ie.useState(0),dr=(0,he.Z)(lr,2),Wa=dr[0],La=dr[1],Dn=Fr((0,xe.Z)((0,xe.Z)((0,xe.Z)({},ke),yr),{},{expandable:!!yr.expandedRowRender,columnTitle:yr.columnTitle,expandedKeys:fr,getRowKey:Gr,onTriggerExpand:mi,expandIcon:Ro,expandIconColumnIndex:yr.expandIconColumnIndex,direction:Kt,scrollWidth:ma&&va&&typeof pr=="number"?pr:null}),ma?qa:null),ha=(0,he.Z)(Dn,3),Or=ha[0],Qr=ha[1],Li=ha[2],bi=Li!=null?Li:pr,qi=ie.useMemo(function(){return{columns:Or,flattenColumns:Qr}},[Or,Qr]),ui=ie.useRef(),ri=ie.useRef(),cr=ie.useRef(),Ii=ie.useRef(),_i=ie.useRef(),No=ie.useState(!1),To=(0,he.Z)(No,2),ii=To[0],Si=To[1],fi=ie.useState(!1),lo=(0,he.Z)(fi,2),Hi=lo[0],Oi=lo[1],ko=gr(new Map),Pr=(0,he.Z)(ko,2),pi=Pr[0],Mi=Pr[1],sl=vt(Qr),tl=sl.map(function(jo){return pi.get(jo)}),Ji=ie.useMemo(function(){return tl},[tl.join("_")]),Ki=Pn(Ji,Qr.length,Kt),Pi=$t&&Rt($t.y),ci=$t&&Rt(bi)||!!yr.fixed,il=ci&&Qr.some(function(jo){var di=jo.fixed;return di}),fl=ie.useRef(),al=qt(_a,Ue),ll=al.isSticky,Cl=al.offsetHeader,Rl=al.offsetSummary,Po=al.offsetScroll,Xo=al.stickyClassName,Ri=al.container,si=ie.useMemo(function(){return xn==null?void 0:xn(xa)},[xn,xa]),Wi=(Pi||ll)&&ie.isValidElement(si)&&si.type===Le&&si.props.fixed,Vi,ji,ul;Pi&&(ji={overflowY:"scroll",maxHeight:$t.y}),ci&&(Vi={overflowX:"auto"},Pi||(ji={overflowY:"hidden"}),ul={width:bi===!0?"auto":bi,minWidth:"100%"});var Tl=ie.useCallback(function(jo,di){(0,We.Z)(ui.current)&&Mi(function(nl){if(nl.get(jo)!==di){var dl=new Map(nl);return dl.set(jo,di),dl}return nl})},[]),du=ar(null),kl=(0,he.Z)(du,2),cu=kl[0],ql=kl[1];function Dl(jo,di){di&&(typeof di=="function"?di(jo):di.scrollLeft!==jo&&(di.scrollLeft=jo,di.scrollLeft!==jo&&setTimeout(function(){di.scrollLeft=jo},0)))}var pl=(0,Ie.Z)(function(jo){var di=jo.currentTarget,nl=jo.scrollLeft,dl=Kt==="rtl",cl=typeof nl=="number"?nl:di.scrollLeft,ou=di||Ra;if(!ql()||ql()===ou){var Yl;cu(ou),Dl(cl,ri.current),Dl(cl,cr.current),Dl(cl,_i.current),Dl(cl,(Yl=fl.current)===null||Yl===void 0?void 0:Yl.setScrollLeft)}var Ql=di||ri.current;if(Ql){var Xl=Ql.scrollWidth,bl=Ql.clientWidth;if(Xl===bl){Si(!1),Oi(!1);return}dl?(Si(-cl<Xl-bl),Oi(-cl>0)):(Si(cl>0),Oi(cl<Xl-bl))}}),hl=function(){ci&&cr.current?pl({currentTarget:cr.current}):(Si(!1),Oi(!1))},eu=function(di){var nl=di.width;nl!==Wa&&(hl(),La(ui.current?ui.current.offsetWidth:nl))},tu=ie.useRef(!1);ie.useEffect(function(){tu.current&&hl()},[ci,Lt,Or.length]),ie.useEffect(function(){tu.current=!0},[]);var Zl=ie.useState(0),zl=(0,he.Z)(Zl,2),Bl=zl[0],Al=zl[1],gu=ie.useState(!0),Ll=(0,he.Z)(gu,2),_l=Ll[0],mu=Ll[1];ie.useEffect(function(){(!va||!ma)&&(cr.current instanceof Element?Al((0,mt.o)(cr.current).width):Al((0,mt.o)(Ii.current).width)),mu((0,we.G)("position","sticky"))},[]),ie.useEffect(function(){ma&&Lr&&(Lr.body.current=cr.current)});var Hl=ie.useCallback(function(jo){return ie.createElement(ie.Fragment,null,ie.createElement(Ba,jo),Wi==="top"&&ie.createElement(gt,jo,si))},[Wi,si]),fu=ie.useCallback(function(jo){return ie.createElement(gt,jo,si)},[si]),nu=er(["table"],"table"),Ol=ie.useMemo(function(){return jt||(il?bi==="max-content"?"auto":"fixed":Pi||ll||Qr.some(function(jo){var di=jo.ellipsis;return di})?"fixed":"auto")},[Pi,il,Qr,jt,ll]),Nl,jl={colWidths:Ji,columCount:Qr.length,stickyOffsets:Ki,onHeaderRow:ir,fixHeader:Pi,scroll:$t},au=ie.useMemo(function(){return ua?null:typeof da=="function"?da():da},[ua,da]),ru=ie.createElement(Dt,{data:xa,measureColumnWidth:Pi||ci||ll}),Gl=ie.createElement(mn,{colWidths:Qr.map(function(jo){var di=jo.width;return di}),columns:Qr}),Kl=Wn!=null?ie.createElement("caption",{className:"".concat(Ue,"-caption")},Wn):void 0,pu=(0,et.Z)(ke,{data:!0}),Wl=(0,et.Z)(ke,{aria:!0});if(Pi||ll){var Vl;typeof Rr=="function"?(Vl=Rr(xa,{scrollbarSize:Bl,ref:cr,onScroll:pl}),jl.colWidths=Qr.map(function(jo,di){var nl=jo.width,dl=di===Qr.length-1?nl-Bl:nl;return typeof dl=="number"&&!Number.isNaN(dl)?dl:0})):Vl=ie.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},Vi),ji),onScroll:pl,ref:cr,className:_e()("".concat(Ue,"-body"))},ie.createElement(nu,(0,ze.Z)({style:(0,xe.Z)((0,xe.Z)({},ul),{},{tableLayout:Ol})},Wl),Kl,Gl,ru,!Wi&&si&&ie.createElement(gt,{stickyOffsets:Ki,flattenColumns:Qr,columns:Or},si)));var Ul=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!xa.length,maxContentScroll:ci&&bi==="max-content"},jl),qi),{},{direction:Kt,stickyClassName:Xo,onScroll:pl});Nl=ie.createElement(ie.Fragment,null,la!==!1&&ie.createElement(Xt,(0,ze.Z)({},Ul,{stickyTopOffset:Cl,className:"".concat(Ue,"-header"),ref:ri}),Hl),Vl,Wi&&Wi!=="top"&&ie.createElement(Xt,(0,ze.Z)({},Ul,{stickyBottomOffset:Rl,className:"".concat(Ue,"-summary"),ref:_i}),fu),ll&&ie.createElement(Ma,{ref:fl,offsetScroll:Po,scrollBodyRef:cr,onScroll:pl,container:Ri}))}else Nl=ie.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},Vi),ji),className:_e()("".concat(Ue,"-content")),onScroll:pl,ref:cr},ie.createElement(nu,(0,ze.Z)({style:(0,xe.Z)((0,xe.Z)({},ul),{},{tableLayout:Ol})},Wl),Kl,Gl,la!==!1&&ie.createElement(Ba,(0,ze.Z)({},jl,qi)),ru,si&&ie.createElement(gt,{stickyOffsets:Ki,flattenColumns:Qr,columns:Or},si)));var Il=ie.createElement("div",(0,ze.Z)({className:_e()(Ue,ot,(pe={},(0,Ee.Z)(pe,"".concat(Ue,"-rtl"),Kt==="rtl"),(0,Ee.Z)(pe,"".concat(Ue,"-ping-left"),ii),(0,Ee.Z)(pe,"".concat(Ue,"-ping-right"),Hi),(0,Ee.Z)(pe,"".concat(Ue,"-layout-fixed"),jt==="fixed"),(0,Ee.Z)(pe,"".concat(Ue,"-fixed-header"),Pi),(0,Ee.Z)(pe,"".concat(Ue,"-fixed-column"),il),(0,Ee.Z)(pe,"".concat(Ue,"-scroll-horizontal"),ci),(0,Ee.Z)(pe,"".concat(Ue,"-has-fix-left"),Qr[0]&&Qr[0].fixed),(0,Ee.Z)(pe,"".concat(Ue,"-has-fix-right"),Qr[Qr.length-1]&&Qr[Qr.length-1].fixed==="right"),pe)),style:Ot,id:Zn,ref:ui},pu),En&&ie.createElement(cn,{className:"".concat(Ue,"-title")},En(xa)),ie.createElement("div",{ref:Ii,className:"".concat(Ue,"-container")},Nl),Sn&&ie.createElement(cn,{className:"".concat(Ue,"-footer")},Sn(xa)));ci&&(Il=ie.createElement(Ge.Z,{onResize:eu},Il));var $l=Nn(Qr,Ki,Kt,Or),hu=ie.useMemo(function(){return{scrollX:bi,prefixCls:Ue,getComponent:er,scrollbarSize:Bl,direction:Kt,fixedInfoList:$l,isSticky:ll,supportSticky:_l,componentWidth:Wa,fixHeader:Pi,fixColumn:il,horizonScroll:ci,tableLayout:Ol,rowClassName:lt,expandedRowClassName:yr.expandedRowClassName,expandIcon:Ro,expandableType:ti,expandRowByClick:yr.expandRowByClick,expandedRowRender:yr.expandedRowRender,onTriggerExpand:mi,expandIconColumnIndex:yr.expandIconColumnIndex,indentSize:yr.indentSize,allColumnsFixedLeft:Qr.every(function(jo){return jo.fixed==="left"}),emptyNode:au,columns:Or,flattenColumns:Qr,onColumnResize:Tl,hoverStartRow:Wr,hoverEndRow:Jr,onHover:Vr,rowExpandable:yr.rowExpandable,onRow:Ya,getRowKey:Gr,expandedKeys:fr,childrenColumnName:Bo}},[bi,Ue,er,Bl,Kt,$l,ll,_l,Wa,Pi,il,ci,Ol,lt,yr.expandedRowClassName,Ro,ti,yr.expandRowByClick,yr.expandedRowRender,mi,yr.expandIconColumnIndex,yr.indentSize,au,Or,Qr,Tl,Wr,Jr,Vr,yr.rowExpandable,Ya,Gr,fr,Bo]);return ie.createElement(ae.Provider,{value:hu},Il)}function Ir(ce){return x(Oa,ce)}var Er=Ir();Er.EXPAND_COLUMN=z,Er.INTERNAL_HOOKS=se,Er.Column=Fn,Er.ColumnGroup=to,Er.Summary=Oe;var Cr=Er,fo=te(48911),Ao=je(null),wi=je(null);function Fi(ce,pe,ke){var Ue=pe||1;return ke[ce+Ue]-(ke[ce]||0)}function hi(ce){var pe=ce.rowInfo,ke=ce.column,Ue=ce.colIndex,ot=ce.indent,lt=ce.index,Ot=ce.renderIndex,Lt=ce.record,Bt=ce.style,$t=ce.className,jt=ce.inverse,Kt=ce.getHeight,En=ke.render,Sn=ke.dataIndex,xn=ke.className,Wn=ke.width,Zn=Ze(wi,["columnsOffset"]),la=Zn.columnsOffset,na=He(pe,ke,Ue,ot,lt),da=na.key,Ya=na.fixedInfo,ir=na.appendCellNode,ka=na.additionalCellProps,qa=ka.style,Lr=ka.colSpan,va=Lr===void 0?1:Lr,_a=ka.rowSpan,xa=_a===void 0?1:_a,ua=Ue-1,ma=Fi(ua,va,la),er=va>1?Wn-ma:0,Gr=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},qa),Bt),{},{flex:"0 0 ".concat(ma,"px"),width:"".concat(ma,"px"),marginRight:er,pointerEvents:"auto"}),Rr=ie.useMemo(function(){return jt?xa<=1:va===0||xa===0||xa>1},[xa,va,jt]);Rr?Gr.visibility="hidden":jt&&(Gr.height=Kt==null?void 0:Kt(xa));var Ka=Rr?function(){return null}:En,_r={};return(xa===0||va===0)&&(_r.rowSpan=1,_r.colSpan=1),ie.createElement(sn,(0,ze.Z)({className:_e()(xn,$t),ellipsis:ke.ellipsis,align:ke.align,scope:ke.rowScope,component:"div",prefixCls:pe.prefixCls,key:da,record:Lt,index:lt,renderIndex:Ot,dataIndex:Sn,render:Ka,shouldCellUpdate:ke.shouldCellUpdate},Ya,{appendNode:ir,additionalProps:(0,xe.Z)((0,xe.Z)({},ka),{},{style:Gr},_r)}))}var Ui=hi,_n=["data","index","className","rowKey","style","extra","getHeight"],Na=ie.forwardRef(function(ce,pe){var ke=ce.data,Ue=ce.index,ot=ce.className,lt=ce.rowKey,Ot=ce.style,Lt=ce.extra,Bt=ce.getHeight,$t=(0,ea.Z)(ce,_n),jt=ke.record,Kt=ke.indent,En=ke.index,Sn=Ze(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),xn=Sn.scrollX,Wn=Sn.flattenColumns,Zn=Sn.prefixCls,la=Sn.fixColumn,na=Sn.componentWidth,da=Ae(jt,lt,Ue,Kt),Ya=da.rowSupportExpand,ir=da.expanded,ka=da.rowProps,qa=da.expandedRowRender,Lr=da.expandedRowClassName,va;if(Ya&&ir){var _a=qa(jt,Ue,Kt+1,ir),xa=Lr==null?void 0:Lr(jt,Ue,Kt),ua={};la&&(ua={style:(0,Ee.Z)({},"--virtual-width","".concat(na,"px"))});var ma="".concat(Zn,"-expanded-row-cell");va=ie.createElement("div",{className:_e()("".concat(Zn,"-expanded-row"),"".concat(Zn,"-expanded-row-level-").concat(Kt+1),xa)},ie.createElement(sn,{component:"div",prefixCls:Zn,className:_e()(ma,(0,Ee.Z)({},"".concat(ma,"-fixed"),la)),additionalProps:ua},_a))}var er=(0,xe.Z)((0,xe.Z)({},Ot),{},{width:xn});Lt&&(er.position="absolute",er.pointerEvents="none");var Gr=ie.createElement("div",(0,ze.Z)({},ka,$t,{ref:Ya?null:pe,className:_e()(ot,"".concat(Zn,"-row"),ka==null?void 0:ka.className,(0,Ee.Z)({},"".concat(Zn,"-row-extra"),Lt)),style:(0,xe.Z)((0,xe.Z)({},er),ka==null?void 0:ka.style)}),Wn.map(function(Rr,Ka){return ie.createElement(Ui,{key:Ka,rowInfo:da,column:Rr,colIndex:Ka,indent:Kt,index:Ue,renderIndex:En,record:jt,inverse:Lt,getHeight:Bt})}));return Ya?ie.createElement("div",{ref:pe},Gr,va):Gr}),co=ee(Na),Co=co,bo=ie.forwardRef(function(ce,pe){var ke=ce.data,Ue=ce.onScroll,ot=Ze(ae,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),lt=ot.flattenColumns,Ot=ot.onColumnResize,Lt=ot.getRowKey,Bt=ot.expandedKeys,$t=ot.prefixCls,jt=ot.childrenColumnName,Kt=ot.emptyNode,En=ot.scrollX,Sn=Ze(Ao),xn=Sn.scrollY,Wn=Sn.listItemHeight,Zn=ie.useRef(),la=Se(ke,jt,Bt,Lt),na=ie.useMemo(function(){var va=0;return lt.map(function(_a){var xa=_a.width,ua=_a.key;return va+=xa,[ua,xa,va]})},[lt]),da=ie.useMemo(function(){return na.map(function(va){return va[2]})},[na]);ie.useEffect(function(){na.forEach(function(va){var _a=(0,he.Z)(va,2),xa=_a[0],ua=_a[1];Ot(xa,ua)})},[na]),ie.useImperativeHandle(pe,function(){var va={};return Object.defineProperty(va,"scrollLeft",{get:function(){var xa;return((xa=Zn.current)===null||xa===void 0?void 0:xa.getScrollInfo().x)||0},set:function(xa){var ua;(ua=Zn.current)===null||ua===void 0||ua.scrollTo({left:xa})}}),va});var Ya=function(_a,xa){var ua,ma=(ua=la[xa])===null||ua===void 0?void 0:ua.record,er=_a.onCell;if(er){var Gr,Rr=er(ma,xa);return(Gr=Rr==null?void 0:Rr.rowSpan)!==null&&Gr!==void 0?Gr:1}return 1},ir=function(_a){var xa=_a.start,ua=_a.end,ma=_a.getSize,er=_a.offsetY;if(ua<0)return null;for(var Gr=lt.filter(function(pr){return Ya(pr,xa)===0}),Rr=xa,Ka=function(lr){if(Gr=Gr.filter(function(dr){return Ya(dr,lr)===0}),!Gr.length)return Rr=lr,"break"},_r=xa;_r>=0;_r-=1){var Wr=Ka(_r);if(Wr==="break")break}for(var Jr=lt.filter(function(pr){return Ya(pr,ua)!==1}),Vr=ua,Uo=function(lr){if(Jr=Jr.filter(function(dr){return Ya(dr,lr)!==1}),!Jr.length)return Vr=Math.max(lr-1,ua),"break"},io=ua;io<la.length;io+=1){var yr=Uo(io);if(yr==="break")break}for(var ti=[],fr=function(lr){var dr=la[lr];if(!dr)return"continue";lt.some(function(Wa){return Ya(Wa,lr)>1})&&ti.push(lr)},Ro=Rr;Ro<=Vr;Ro+=1)var Bo=fr(Ro);var mi=ti.map(function(pr){var lr=la[pr],dr=Lt(lr.record,pr),Wa=function(ha){var Or=pr+ha-1,Qr=Lt(la[Or].record,Or),Li=ma(dr,Qr);return Li.bottom-Li.top},La=ma(dr);return ie.createElement(Co,{key:pr,data:lr,rowKey:dr,index:pr,style:{top:-er+La.top},extra:!0,getHeight:Wa})});return mi},ka=ie.useMemo(function(){return{columnsOffset:da}},[da]),qa="".concat($t,"-tbody"),Lr;return la.length?Lr=ie.createElement(fo.Z,{fullHeight:!1,ref:Zn,className:_e()(qa,"".concat(qa,"-virtual")),height:xn,itemHeight:Wn||24,data:la,itemKey:function(_a){return Lt(_a.record)},scrollWidth:En,onVirtualScroll:function(_a){var xa=_a.x;Ue({scrollLeft:xa})},extraRender:ir},function(va,_a,xa){var ua=Lt(va.record,_a);return ie.createElement(Co,(0,ze.Z)({data:va,rowKey:ua,index:_a},xa))}):Lr=ie.createElement("div",{className:_e()("".concat($t,"-placeholder"))},ie.createElement(sn,{component:"div",prefixCls:$t},Kt)),ie.createElement(wi.Provider,{value:ka},Lr)}),Ei=ee(bo),yi=Ei,$i=function(pe,ke){var Ue=ke.ref,ot=ke.onScroll;return ie.createElement(yi,{ref:Ue,data:pe,onScroll:ot})},Ni=100;function Ce(ce){var pe=ce.columns,ke=ce.scroll,Ue=ce.prefixCls,ot=Ue===void 0?Ko:Ue,lt=ce.className,Ot=ce.listItemHeight,Lt=ke||{},Bt=Lt.x,$t=Lt.y;typeof Bt!="number"&&(Bt=((pe||[]).length+1)*Ni),typeof $t!="number"&&($t=500);var jt=ie.useMemo(function(){return{scrollY:$t,listItemHeight:Ot}},[$t,Ot]);return ie.createElement(Ao.Provider,{value:jt},ie.createElement(Cr,(0,ze.Z)({},ce,{className:_e()(lt,"".concat(ot,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},ke),{},{x:Bt}),components:{body:$i},columns:pe,internalHooks:se,tailor:!0})))}function Te(ce){return x(Ce,ce)}var Ye=Te(),Ct=null;function Jt(ce){return null}var Ut=Jt;function Ln(ce){return null}var fn=Ln,Yn=te(2738),Sa=te(68031),Ea=te(36355),ca=te(93891),Mr=te(19716),kr=te(8628),Zo=te(31724),Ur=te(58421),ho=te(71418),ga=te(88088);function Jn(ce){return function(ke){let{prefixCls:Ue,onExpand:ot,record:lt,expanded:Ot,expandable:Lt}=ke;const Bt=`${Ue}-row-expand-icon`;return ie.createElement("button",{type:"button",onClick:$t=>{ot(lt,$t),$t.stopPropagation()},className:_e()(Bt,{[`${Bt}-spaced`]:!Lt,[`${Bt}-expanded`]:Lt&&Ot,[`${Bt}-collapsed`]:Lt&&!Ot}),"aria-label":Ot?ce.collapse:ce.expand,"aria-expanded":Ot})}}var Qn=Jn;function pa(ce,pe){return"key"in ce&&ce.key!==void 0&&ce.key!==null?ce.key:ce.dataIndex?Array.isArray(ce.dataIndex)?ce.dataIndex.join("."):ce.dataIndex:pe}function hr(ce,pe){return pe?`${pe}-${ce}`:`${ce}`}function or(ce,pe){return typeof ce=="function"?ce(pe):ce}function Zr(ce,pe){const ke=or(ce,pe);return Object.prototype.toString.call(ke)==="[object Object]"?"":ke}var Tr={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"},vo=Tr,Lo=te(7657),zo=function(pe,ke){return ie.createElement(Lo.Z,(0,ze.Z)({},pe,{ref:ke,icon:vo}))},sr=ie.forwardRef(zo),ao=sr,xo=te(56762);function uo(ce){const pe=ie.useRef(ce),ke=(0,xo.Z)();return[()=>pe.current,Ue=>{pe.current=Ue,ke()}]}var _o=te(3113),oa=te(24905),Ti=te(38854),wo=te(64165),ki=te(20834),rl=te(40875),Qi=te(5112),Yi=te(17574),Xi=te(47472),Gi=te(92832);function Zi(ce){let{value:pe,onChange:ke,filterSearch:Ue,tablePrefixCls:ot,locale:lt}=ce;return Ue?ie.createElement("div",{className:`${ot}-filter-dropdown-search`},ie.createElement(Gi.default,{prefix:ie.createElement(Xi.Z,null),placeholder:lt.filterSearchPlaceholder,onChange:ke,value:pe,htmlSize:1,className:`${ot}-filter-dropdown-search-input`})):null}var ol=Zi,Wt=te(10228);const zt=ce=>{const{keyCode:pe}=ce;pe===Wt.Z.ENTER&&ce.stopPropagation()};var Ca=ie.forwardRef((ce,pe)=>ie.createElement("div",{className:ce.className,onClick:ke=>ke.stopPropagation(),onKeyDown:zt,ref:pe},ce.children));function Va(ce){let pe=[];return(ce||[]).forEach(ke=>{let{value:Ue,children:ot}=ke;pe.push(Ue),ot&&(pe=[].concat((0,an.Z)(pe),(0,an.Z)(Va(ot))))}),pe}function wa(ce){return ce.some(pe=>{let{children:ke}=pe;return ke})}function In(ce,pe){return typeof pe=="string"||typeof pe=="number"?pe==null?void 0:pe.toString().toLowerCase().includes(ce.trim().toLowerCase()):!1}function Ua(ce){let{filters:pe,prefixCls:ke,filteredKeys:Ue,filterMultiple:ot,searchValue:lt,filterSearch:Ot}=ce;return pe.map((Lt,Bt)=>{const $t=String(Lt.value);if(Lt.children)return{key:$t||Bt,label:Lt.text,popupClassName:`${ke}-dropdown-submenu`,children:Ua({filters:Lt.children,prefixCls:ke,filteredKeys:Ue,filterMultiple:ot,searchValue:lt,filterSearch:Ot})};const jt=ot?oa.default:Qi.ZP,Kt={key:Lt.value!==void 0?$t:Bt,label:ie.createElement(ie.Fragment,null,ie.createElement(jt,{checked:Ue.includes($t)}),ie.createElement("span",null,Lt.text))};return lt.trim()?typeof Ot=="function"?Ot(lt,Lt)?Kt:null:In(lt,Lt.text)?Kt:null:Kt})}function hn(ce){var pe,ke;const{tablePrefixCls:Ue,prefixCls:ot,column:lt,dropdownPrefixCls:Ot,columnKey:Lt,filterMultiple:Bt,filterMode:$t="menu",filterSearch:jt=!1,filterState:Kt,triggerFilter:En,locale:Sn,children:xn,getPopupContainer:Wn}=ce,{filterDropdownOpen:Zn,onFilterDropdownOpenChange:la,filterResetToDefaultFilteredValue:na,defaultFilteredValue:da,filterDropdownVisible:Ya,onFilterDropdownVisibleChange:ir}=lt,[ka,qa]=ie.useState(!1),Lr=!!(Kt&&(!((pe=Kt.filteredKeys)===null||pe===void 0)&&pe.length||Kt.forceFiltered)),va=Dn=>{qa(Dn),la==null||la(Dn),ir==null||ir(Dn)},_a=(ke=Zn!=null?Zn:Ya)!==null&&ke!==void 0?ke:ka,xa=Kt==null?void 0:Kt.filteredKeys,[ua,ma]=uo(xa||[]),er=Dn=>{let{selectedKeys:ha}=Dn;ma(ha)},Gr=(Dn,ha)=>{let{node:Or,checked:Qr}=ha;er(Bt?{selectedKeys:Dn}:{selectedKeys:Qr&&Or.key?[Or.key]:[]})};ie.useEffect(()=>{ka&&er({selectedKeys:xa||[]})},[xa]);const[Rr,Ka]=ie.useState([]),_r=Dn=>{Ka(Dn)},[Wr,Jr]=ie.useState(""),Vr=Dn=>{const{value:ha}=Dn.target;Jr(ha)};ie.useEffect(()=>{ka||Jr("")},[ka]);const Uo=Dn=>{const ha=Dn&&Dn.length?Dn:null;if(ha===null&&(!Kt||!Kt.filteredKeys)||(0,Ne.Z)(ha,Kt==null?void 0:Kt.filteredKeys,!0))return null;En({column:lt,key:Lt,filteredKeys:ha})},io=()=>{va(!1),Uo(ua())},yr=function(){let{confirm:Dn,closeDropdown:ha}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Dn&&Uo([]),ha&&va(!1),Jr(""),ma(na?(da||[]).map(Or=>String(Or)):[])},ti=function(){let{closeDropdown:Dn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Dn&&va(!1),Uo(ua())},fr=Dn=>{Dn&&xa!==void 0&&ma(xa||[]),va(Dn),!Dn&&!lt.filterDropdown&&io()},Ro=_e()({[`${Ot}-menu-without-submenu`]:!wa(lt.filters||[])}),Bo=Dn=>{if(Dn.target.checked){const ha=Va(lt==null?void 0:lt.filters).map(Or=>String(Or));ma(ha)}else ma([])},mi=Dn=>{let{filters:ha}=Dn;return(ha||[]).map((Or,Qr)=>{const Li=String(Or.value),bi={title:Or.text,key:Or.value!==void 0?Li:Qr};return Or.children&&(bi.children=mi({filters:Or.children})),bi})},pr=Dn=>{var ha;return Object.assign(Object.assign({},Dn),{text:Dn.title,value:Dn.key,children:((ha=Dn.children)===null||ha===void 0?void 0:ha.map(Or=>pr(Or)))||[]})};let lr;if(typeof lt.filterDropdown=="function")lr=lt.filterDropdown({prefixCls:`${Ot}-custom`,setSelectedKeys:Dn=>er({selectedKeys:Dn}),selectedKeys:ua(),confirm:ti,clearFilters:yr,filters:lt.filters,visible:_a,close:()=>{va(!1)}});else if(lt.filterDropdown)lr=lt.filterDropdown;else{const Dn=ua()||[],ha=()=>(lt.filters||[]).length===0?ie.createElement(wo.Z,{image:wo.Z.PRESENTED_IMAGE_SIMPLE,description:Sn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):$t==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(ol,{filterSearch:jt,value:Wr,onChange:Vr,tablePrefixCls:Ue,locale:Sn}),ie.createElement("div",{className:`${Ue}-filter-dropdown-tree`},Bt?ie.createElement(oa.default,{checked:Dn.length===Va(lt.filters).length,indeterminate:Dn.length>0&&Dn.length<Va(lt.filters).length,className:`${Ue}-filter-dropdown-checkall`,onChange:Bo},Sn.filterCheckall):null,ie.createElement(Yi.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Bt,checkStrictly:!Bt,className:`${Ot}-menu`,onCheck:Gr,checkedKeys:Dn,selectedKeys:Dn,showIcon:!1,treeData:mi({filters:lt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Wr.trim()?Qr=>typeof jt=="function"?jt(Wr,pr(Qr)):In(Wr,Qr.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(ol,{filterSearch:jt,value:Wr,onChange:Vr,tablePrefixCls:Ue,locale:Sn}),ie.createElement(ki.default,{selectable:!0,multiple:Bt,prefixCls:`${Ot}-menu`,className:Ro,onSelect:er,onDeselect:er,selectedKeys:Dn,getPopupContainer:Wn,openKeys:Rr,onOpenChange:_r,items:Ua({filters:lt.filters||[],filterSearch:jt,prefixCls:ot,filteredKeys:ua(),filterMultiple:Bt,searchValue:Wr})})),Or=()=>na?(0,Ne.Z)((da||[]).map(Qr=>String(Qr)),Dn,!0):Dn.length===0;lr=ie.createElement(ie.Fragment,null,ha(),ie.createElement("div",{className:`${ot}-dropdown-btns`},ie.createElement(_o.ZP,{type:"link",size:"small",disabled:Or(),onClick:()=>yr()},Sn.filterReset),ie.createElement(_o.ZP,{type:"primary",size:"small",onClick:io},Sn.filterConfirm)))}lt.filterDropdown&&(lr=ie.createElement(rl.J,{selectable:void 0},lr));const dr=()=>ie.createElement(Ca,{className:`${ot}-dropdown`},lr);let Wa;typeof lt.filterIcon=="function"?Wa=lt.filterIcon(Lr):lt.filterIcon?Wa=lt.filterIcon:Wa=ie.createElement(ao,null);const{direction:La}=ie.useContext(Ea.E_);return ie.createElement("div",{className:`${ot}-column`},ie.createElement("span",{className:`${Ue}-column-title`},xn),ie.createElement(Ti.Z,{dropdownRender:dr,trigger:["click"],open:_a,onOpenChange:fr,getPopupContainer:Wn,placement:La==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:_e()(`${ot}-trigger`,{active:Lr}),onClick:Dn=>{Dn.stopPropagation()}},Wa)))}var Za=hn;function Fa(ce,pe,ke){let Ue=[];return(ce||[]).forEach((ot,lt)=>{var Ot;const Lt=hr(lt,ke);if(ot.filters||"filterDropdown"in ot||"onFilter"in ot)if("filteredValue"in ot){let Bt=ot.filteredValue;"filterDropdown"in ot||(Bt=(Ot=Bt==null?void 0:Bt.map(String))!==null&&Ot!==void 0?Ot:Bt),Ue.push({column:ot,key:pa(ot,Lt),filteredKeys:Bt,forceFiltered:ot.filtered})}else Ue.push({column:ot,key:pa(ot,Lt),filteredKeys:pe&&ot.defaultFilteredValue?ot.defaultFilteredValue:void 0,forceFiltered:ot.filtered});"children"in ot&&(Ue=[].concat((0,an.Z)(Ue),(0,an.Z)(Fa(ot.children,pe,Lt))))}),Ue}function Io(ce,pe,ke,Ue,ot,lt,Ot,Lt){return ke.map((Bt,$t)=>{const jt=hr($t,Lt),{filterMultiple:Kt=!0,filterMode:En,filterSearch:Sn}=Bt;let xn=Bt;if(xn.filters||xn.filterDropdown){const Wn=pa(xn,jt),Zn=Ue.find(la=>{let{key:na}=la;return Wn===na});xn=Object.assign(Object.assign({},xn),{title:la=>ie.createElement(Za,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:pe,column:xn,columnKey:Wn,filterState:Zn,filterMultiple:Kt,filterMode:En,filterSearch:Sn,triggerFilter:lt,locale:ot,getPopupContainer:Ot},or(Bt.title,la))})}return"children"in xn&&(xn=Object.assign(Object.assign({},xn),{children:Io(ce,pe,xn.children,Ue,ot,lt,Ot,jt)})),xn})}function Ia(ce){const pe={};return ce.forEach(ke=>{let{key:Ue,filteredKeys:ot,column:lt}=ke;const{filters:Ot,filterDropdown:Lt}=lt;if(Lt)pe[Ue]=ot||null;else if(Array.isArray(ot)){const Bt=Va(Ot);pe[Ue]=Bt.filter($t=>ot.includes(String($t)))}else pe[Ue]=null}),pe}function Yo(ce,pe){return pe.reduce((ke,Ue)=>{const{column:{onFilter:ot,filters:lt},filteredKeys:Ot}=Ue;return ot&&Ot&&Ot.length?ke.filter(Lt=>Ot.some(Bt=>{const $t=Va(lt),jt=$t.findIndex(En=>String(En)===String(Bt)),Kt=jt!==-1?$t[jt]:Bt;return ot(Kt,Lt)})):ke},ce)}const vi=ce=>ce.flatMap(pe=>"children"in pe?[pe].concat((0,an.Z)(vi(pe.children||[]))):[pe]);function Wo(ce){let{prefixCls:pe,dropdownPrefixCls:ke,mergedColumns:Ue,onFilterChange:ot,getPopupContainer:lt,locale:Ot}=ce;const Lt=ie.useMemo(()=>vi(Ue||[]),[Ue]),[Bt,$t]=ie.useState(()=>Fa(Lt,!0)),jt=ie.useMemo(()=>{const xn=Fa(Lt,!1);if(xn.length===0)return xn;let Wn=!0,Zn=!0;if(xn.forEach(la=>{let{filteredKeys:na}=la;na!==void 0?Wn=!1:Zn=!1}),Wn){const la=(Lt||[]).map((na,da)=>pa(na,hr(da)));return Bt.filter(na=>{let{key:da}=na;return la.includes(da)}).map(na=>{const da=Lt[la.findIndex(Ya=>Ya===na.key)];return Object.assign(Object.assign({},na),{column:Object.assign(Object.assign({},na.column),da),forceFiltered:da.filtered})})}return xn},[Lt,Bt]),Kt=ie.useMemo(()=>Ia(jt),[jt]),En=xn=>{const Wn=jt.filter(Zn=>{let{key:la}=Zn;return la!==xn.key});Wn.push(xn),$t(Wn),ot(Ia(Wn),Wn)};return[xn=>Io(pe,ke,xn,jt,Ot,En,lt),jt,Kt]}var br=Wo;function xr(ce,pe,ke){const Ue=ie.useRef({});function ot(lt){if(!Ue.current||Ue.current.data!==ce||Ue.current.childrenColumnName!==pe||Ue.current.getRowKey!==ke){let Lt=function(Bt){Bt.forEach(($t,jt)=>{const Kt=ke($t,jt);Ot.set(Kt,$t),$t&&typeof $t=="object"&&pe in $t&&Lt($t[pe]||[])})};const Ot=new Map;Lt(ce),Ue.current={data:ce,childrenColumnName:pe,kvMap:Ot,getRowKey:ke}}return Ue.current.kvMap.get(lt)}return[ot]}var Xn=te(50371),no=function(ce,pe){var ke={};for(var Ue in ce)Object.prototype.hasOwnProperty.call(ce,Ue)&&pe.indexOf(Ue)<0&&(ke[Ue]=ce[Ue]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ue=Object.getOwnPropertySymbols(ce);ot<Ue.length;ot++)pe.indexOf(Ue[ot])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ue[ot])&&(ke[Ue[ot]]=ce[Ue[ot]]);return ke};const oi=10;function fa(ce,pe){const ke={current:ce.current,pageSize:ce.pageSize};return Object.keys(pe&&typeof pe=="object"?pe:{}).forEach(ot=>{const lt=ce[ot];typeof lt!="function"&&(ke[ot]=lt)}),ke}function sa(ce,pe,ke){const Ue=ke&&typeof ke=="object"?ke:{},{total:ot=0}=Ue,lt=no(Ue,["total"]),[Ot,Lt]=(0,ie.useState)(()=>({current:"defaultCurrent"in lt?lt.defaultCurrent:1,pageSize:"defaultPageSize"in lt?lt.defaultPageSize:oi})),Bt=(0,Xn.Z)(Ot,lt,{total:ot>0?ot:ce}),$t=Math.ceil((ot||ce)/Bt.pageSize);Bt.current>$t&&(Bt.current=$t||1);const jt=(En,Sn)=>{Lt({current:En!=null?En:1,pageSize:Sn||Bt.pageSize})},Kt=(En,Sn)=>{var xn;ke&&((xn=ke.onChange)===null||xn===void 0||xn.call(ke,En,Sn)),jt(En,Sn),pe(En,Sn||(Bt==null?void 0:Bt.pageSize))};return ke===!1?[{},()=>{}]:[Object.assign(Object.assign({},Bt),{onChange:Kt}),jt]}var eo=sa,Bi=te(84105),Tn=te(35654),nr=te(90782),ra=te(71430),nn=te(18929);const Vn={},Cn="SELECT_ALL",$r="SELECT_INVERT",vr="SELECT_NONE",zr=[],qo=(ce,pe)=>{let ke=[];return(pe||[]).forEach(Ue=>{ke.push(Ue),Ue&&typeof Ue=="object"&&ce in Ue&&(ke=[].concat((0,an.Z)(ke),(0,an.Z)(qo(ce,Ue[ce]))))}),ke};var So=(ce,pe)=>{const{preserveSelectedRowKeys:ke,selectedRowKeys:Ue,defaultSelectedRowKeys:ot,getCheckboxProps:lt,onChange:Ot,onSelect:Lt,onSelectAll:Bt,onSelectInvert:$t,onSelectNone:jt,onSelectMultiple:Kt,columnWidth:En,type:Sn,selections:xn,fixed:Wn,renderCell:Zn,hideSelectAll:la,checkStrictly:na=!0}=pe||{},{prefixCls:da,data:Ya,pageData:ir,getRecordByKey:ka,getRowKey:qa,expandType:Lr,childrenColumnName:va,locale:_a,getPopupContainer:xa}=ce,[ua,ma]=(0,nn.Z)(Ue||ot||zr,{value:Ue}),er=ie.useRef(new Map),Gr=(0,ie.useCallback)(pr=>{if(ke){const lr=new Map;pr.forEach(dr=>{let Wa=ka(dr);!Wa&&er.current.has(dr)&&(Wa=er.current.get(dr)),lr.set(dr,Wa)}),er.current=lr}},[ka,ke]);ie.useEffect(()=>{Gr(ua)},[ua]);const{keyEntities:Rr}=(0,ie.useMemo)(()=>{if(na)return{keyEntities:null};let pr=Ya;if(ke){const lr=new Set(Ya.map((Wa,La)=>qa(Wa,La))),dr=Array.from(er.current).reduce((Wa,La)=>{let[Dn,ha]=La;return lr.has(Dn)?Wa:Wa.concat(ha)},[]);pr=[].concat((0,an.Z)(pr),(0,an.Z)(dr))}return(0,ra.I8)(pr,{externalGetKey:qa,childrenPropName:va})},[Ya,qa,na,va,ke]),Ka=(0,ie.useMemo)(()=>qo(va,ir),[va,ir]),_r=(0,ie.useMemo)(()=>{const pr=new Map;return Ka.forEach((lr,dr)=>{const Wa=qa(lr,dr),La=(lt?lt(lr):null)||{};pr.set(Wa,La)}),pr},[Ka,qa,lt]),Wr=(0,ie.useCallback)(pr=>{var lr;return!!(!((lr=_r.get(qa(pr)))===null||lr===void 0)&&lr.disabled)},[_r,qa]),[Jr,Vr]=(0,ie.useMemo)(()=>{if(na)return[ua||[],[]];const{checkedKeys:pr,halfCheckedKeys:lr}=(0,nr.S)(ua,!0,Rr,Wr);return[pr||[],lr]},[ua,na,Rr,Wr]),Uo=(0,ie.useMemo)(()=>{const pr=Sn==="radio"?Jr.slice(0,1):Jr;return new Set(pr)},[Jr,Sn]),io=(0,ie.useMemo)(()=>Sn==="radio"?new Set:new Set(Vr),[Vr,Sn]),[yr,ti]=(0,ie.useState)(null);ie.useEffect(()=>{pe||ma(zr)},[!!pe]);const fr=(0,ie.useCallback)((pr,lr)=>{let dr,Wa;Gr(pr),ke?(dr=pr,Wa=pr.map(La=>er.current.get(La))):(dr=[],Wa=[],pr.forEach(La=>{const Dn=ka(La);Dn!==void 0&&(dr.push(La),Wa.push(Dn))})),ma(dr),Ot==null||Ot(dr,Wa,{type:lr})},[ma,ka,Ot,ke]),Ro=(0,ie.useCallback)((pr,lr,dr,Wa)=>{if(Lt){const La=dr.map(Dn=>ka(Dn));Lt(ka(pr),lr,La,Wa)}fr(dr,"single")},[Lt,ka,fr]),Bo=(0,ie.useMemo)(()=>!xn||la?null:(xn===!0?[Cn,$r,vr]:xn).map(lr=>lr===Cn?{key:"all",text:_a.selectionAll,onSelect(){fr(Ya.map((dr,Wa)=>qa(dr,Wa)).filter(dr=>{const Wa=_r.get(dr);return!(Wa!=null&&Wa.disabled)||Uo.has(dr)}),"all")}}:lr===$r?{key:"invert",text:_a.selectInvert,onSelect(){const dr=new Set(Uo);ir.forEach((La,Dn)=>{const ha=qa(La,Dn),Or=_r.get(ha);Or!=null&&Or.disabled||(dr.has(ha)?dr.delete(ha):dr.add(ha))});const Wa=Array.from(dr);$t&&$t(Wa),fr(Wa,"invert")}}:lr===vr?{key:"none",text:_a.selectNone,onSelect(){jt==null||jt(),fr(Array.from(Uo).filter(dr=>{const Wa=_r.get(dr);return Wa==null?void 0:Wa.disabled}),"none")}}:lr).map(lr=>Object.assign(Object.assign({},lr),{onSelect:function(){for(var dr,Wa,La=arguments.length,Dn=new Array(La),ha=0;ha<La;ha++)Dn[ha]=arguments[ha];(Wa=lr.onSelect)===null||Wa===void 0||(dr=Wa).call.apply(dr,[lr].concat(Dn)),ti(null)}})),[xn,Uo,ir,qa,$t,fr]);return[(0,ie.useCallback)(pr=>{var lr;if(!pe)return pr.filter(No=>No!==Vn);let dr=(0,an.Z)(pr);const Wa=new Set(Uo),La=Ka.map(qa).filter(No=>!_r.get(No).disabled),Dn=La.every(No=>Wa.has(No)),ha=La.some(No=>Wa.has(No)),Or=()=>{const No=[];Dn?La.forEach(ii=>{Wa.delete(ii),No.push(ii)}):La.forEach(ii=>{Wa.has(ii)||(Wa.add(ii),No.push(ii))});const To=Array.from(Wa);Bt==null||Bt(!Dn,To.map(ii=>ka(ii)),No.map(ii=>ka(ii))),fr(To,"all"),ti(null)};let Qr;if(Sn!=="radio"){let No;if(Bo){const lo={getPopupContainer:xa,items:Bo.map((Hi,Oi)=>{const{key:ko,text:Pr,onSelect:pi}=Hi;return{key:ko!=null?ko:Oi,onClick:()=>{pi==null||pi(La)},label:Pr}})};No=ie.createElement("div",{className:`${da}-selection-extra`},ie.createElement(Ti.Z,{menu:lo,getPopupContainer:xa},ie.createElement("span",null,ie.createElement(Bi.Z,null))))}const To=Ka.map((lo,Hi)=>{const Oi=qa(lo,Hi),ko=_r.get(Oi)||{};return Object.assign({checked:Wa.has(Oi)},ko)}).filter(lo=>{let{disabled:Hi}=lo;return Hi}),ii=!!To.length&&To.length===Ka.length,Si=ii&&To.every(lo=>{let{checked:Hi}=lo;return Hi}),fi=ii&&To.some(lo=>{let{checked:Hi}=lo;return Hi});Qr=!la&&ie.createElement("div",{className:`${da}-selection`},ie.createElement(oa.default,{checked:ii?Si:!!Ka.length&&Dn,indeterminate:ii?!Si&&fi:!Dn&&ha,onChange:Or,disabled:Ka.length===0||ii,"aria-label":No?"Custom selection":"Select all",skipGroup:!0}),No)}let Li;Sn==="radio"?Li=(No,To,ii)=>{const Si=qa(To,ii),fi=Wa.has(Si);return{node:ie.createElement(Qi.ZP,Object.assign({},_r.get(Si),{checked:fi,onClick:lo=>lo.stopPropagation(),onChange:lo=>{Wa.has(Si)||Ro(Si,!0,[Si],lo.nativeEvent)}})),checked:fi}}:Li=(No,To,ii)=>{var Si;const fi=qa(To,ii),lo=Wa.has(fi),Hi=io.has(fi),Oi=_r.get(fi);let ko;return Lr==="nest"?ko=Hi:ko=(Si=Oi==null?void 0:Oi.indeterminate)!==null&&Si!==void 0?Si:Hi,{node:ie.createElement(oa.default,Object.assign({},Oi,{indeterminate:ko,checked:lo,skipGroup:!0,onClick:Pr=>Pr.stopPropagation(),onChange:Pr=>{let{nativeEvent:pi}=Pr;const{shiftKey:Mi}=pi;let sl=-1,tl=-1;if(Mi&&na){const Ji=new Set([yr,fi]);La.some((Ki,Pi)=>{if(Ji.has(Ki))if(sl===-1)sl=Pi;else return tl=Pi,!0;return!1})}if(tl!==-1&&sl!==tl&&na){const Ji=La.slice(sl,tl+1),Ki=[];lo?Ji.forEach(ci=>{Wa.has(ci)&&(Ki.push(ci),Wa.delete(ci))}):Ji.forEach(ci=>{Wa.has(ci)||(Ki.push(ci),Wa.add(ci))});const Pi=Array.from(Wa);Kt==null||Kt(!lo,Pi.map(ci=>ka(ci)),Ki.map(ci=>ka(ci))),fr(Pi,"multiple")}else{const Ji=Jr;if(na){const Ki=lo?(0,Tn._5)(Ji,fi):(0,Tn.L0)(Ji,fi);Ro(fi,!lo,Ki,pi)}else{const Ki=(0,nr.S)([].concat((0,an.Z)(Ji),[fi]),!0,Rr,Wr),{checkedKeys:Pi,halfCheckedKeys:ci}=Ki;let il=Pi;if(lo){const fl=new Set(Pi);fl.delete(fi),il=(0,nr.S)(Array.from(fl),{checked:!1,halfCheckedKeys:ci},Rr,Wr).checkedKeys}Ro(fi,!lo,il,pi)}}ti(lo?null:fi)}})),checked:lo}};const bi=(No,To,ii)=>{const{node:Si,checked:fi}=Li(No,To,ii);return Zn?Zn(fi,To,ii,Si):Si};if(!dr.includes(Vn))if(dr.findIndex(No=>{var To;return((To=No[en])===null||To===void 0?void 0:To.columnType)==="EXPAND_COLUMN"})===0){const[No,...To]=dr;dr=[No,Vn].concat((0,an.Z)(To))}else dr=[Vn].concat((0,an.Z)(dr));const qi=dr.indexOf(Vn);dr=dr.filter((No,To)=>No!==Vn||To===qi);const ui=dr[qi-1],ri=dr[qi+1];let cr=Wn;cr===void 0&&((ri==null?void 0:ri.fixed)!==void 0?cr=ri.fixed:(ui==null?void 0:ui.fixed)!==void 0&&(cr=ui.fixed)),cr&&ui&&((lr=ui[en])===null||lr===void 0?void 0:lr.columnType)==="EXPAND_COLUMN"&&ui.fixed===void 0&&(ui.fixed=cr);const Ii=_e()(`${da}-selection-col`,{[`${da}-selection-col-with-dropdown`]:xn&&Sn==="checkbox"}),_i={fixed:cr,width:En,className:`${da}-selection-column`,title:pe.columnTitle||Qr,render:bi,onCell:pe.onCell,[en]:{className:Ii}};return dr.map(No=>No===Vn?_i:No)},[qa,Ka,pe,Jr,Uo,io,En,Bo,Lr,yr,_r,Kt,Ro,Wr]),Uo]},Ha=te(89489),Yr=te(59477),mo=te(6848);const Fo="ascend",vn="descend";function aa(ce){return typeof ce.sorter=="object"&&typeof ce.sorter.multiple=="number"?ce.sorter.multiple:!1}function Aa(ce){return typeof ce=="function"?ce:ce&&typeof ce=="object"&&ce.compare?ce.compare:!1}function zn(ce,pe){return pe?ce[ce.indexOf(pe)+1]:ce[0]}function Pa(ce,pe,ke){let Ue=[];function ot(lt,Ot){Ue.push({column:lt,key:pa(lt,Ot),multiplePriority:aa(lt),sortOrder:lt.sortOrder})}return(ce||[]).forEach((lt,Ot)=>{const Lt=hr(Ot,ke);lt.children?("sortOrder"in lt&&ot(lt,Lt),Ue=[].concat((0,an.Z)(Ue),(0,an.Z)(Pa(lt.children,pe,Lt)))):lt.sorter&&("sortOrder"in lt?ot(lt,Lt):pe&<.defaultSortOrder&&Ue.push({column:lt,key:pa(lt,Lt),multiplePriority:aa(lt),sortOrder:lt.defaultSortOrder}))}),Ue}function Br(ce,pe,ke,Ue,ot,lt,Ot,Lt){return(pe||[]).map((Bt,$t)=>{const jt=hr($t,Lt);let Kt=Bt;if(Kt.sorter){const En=Kt.sortDirections||ot,Sn=Kt.showSorterTooltip===void 0?Ot:Kt.showSorterTooltip,xn=pa(Kt,jt),Wn=ke.find(Lr=>{let{key:va}=Lr;return va===xn}),Zn=Wn?Wn.sortOrder:null,la=zn(En,Zn);let na;if(Bt.sortIcon)na=Bt.sortIcon({sortOrder:Zn});else{const Lr=En.includes(Fo)&&ie.createElement(Yr.Z,{className:_e()(`${ce}-column-sorter-up`,{active:Zn===Fo})}),va=En.includes(vn)&&ie.createElement(Ha.Z,{className:_e()(`${ce}-column-sorter-down`,{active:Zn===vn})});na=ie.createElement("span",{className:_e()(`${ce}-column-sorter`,{[`${ce}-column-sorter-full`]:!!(Lr&&va)})},ie.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Lr,va))}const{cancelSort:da,triggerAsc:Ya,triggerDesc:ir}=lt||{};let ka=da;la===vn?ka=ir:la===Fo&&(ka=Ya);const qa=typeof Sn=="object"?Sn:{title:ka};Kt=Object.assign(Object.assign({},Kt),{className:_e()(Kt.className,{[`${ce}-column-sort`]:Zn}),title:Lr=>{const va=ie.createElement("div",{className:`${ce}-column-sorters`},ie.createElement("span",{className:`${ce}-column-title`},or(Bt.title,Lr)),na);return Sn?ie.createElement(mo.Z,Object.assign({},qa),va):va},onHeaderCell:Lr=>{const va=Bt.onHeaderCell&&Bt.onHeaderCell(Lr)||{},_a=va.onClick,xa=va.onKeyDown;va.onClick=er=>{Ue({column:Bt,key:xn,sortOrder:la,multiplePriority:aa(Bt)}),_a==null||_a(er)},va.onKeyDown=er=>{er.keyCode===Wt.Z.ENTER&&(Ue({column:Bt,key:xn,sortOrder:la,multiplePriority:aa(Bt)}),xa==null||xa(er))};const ua=Zr(Bt.title,{}),ma=ua==null?void 0:ua.toString();return Zn?va["aria-sort"]=Zn==="ascend"?"ascending":"descending":va["aria-label"]=ma||"",va.className=_e()(va.className,`${ce}-column-has-sorters`),va.tabIndex=0,Bt.ellipsis&&(va.title=(ua!=null?ua:"").toString()),va}})}return"children"in Kt&&(Kt=Object.assign(Object.assign({},Kt),{children:Br(ce,Kt.children,ke,Ue,ot,lt,Ot,jt)})),Kt})}function Ar(ce){const{column:pe,sortOrder:ke}=ce;return{column:pe,order:ke,field:pe.dataIndex,columnKey:pe.key}}function yo(ce){const pe=ce.filter(ke=>{let{sortOrder:Ue}=ke;return Ue}).map(Ar);return pe.length===0&&ce.length?Object.assign(Object.assign({},Ar(ce[ce.length-1])),{column:void 0}):pe.length<=1?pe[0]||{}:pe}function ei(ce,pe,ke){const Ue=pe.slice().sort((Ot,Lt)=>Lt.multiplePriority-Ot.multiplePriority),ot=ce.slice(),lt=Ue.filter(Ot=>{let{column:{sorter:Lt},sortOrder:Bt}=Ot;return Aa(Lt)&&Bt});return lt.length?ot.sort((Ot,Lt)=>{for(let Bt=0;Bt<lt.length;Bt+=1){const $t=lt[Bt],{column:{sorter:jt},sortOrder:Kt}=$t,En=Aa(jt);if(En&&Kt){const Sn=En(Ot,Lt,Kt);if(Sn!==0)return Kt===Fo?Sn:-Sn}}return 0}).map(Ot=>{const Lt=Ot[ke];return Lt?Object.assign(Object.assign({},Ot),{[ke]:ei(Lt,pe,ke)}):Ot}):ot}function Di(ce){let{prefixCls:pe,mergedColumns:ke,onSorterChange:Ue,sortDirections:ot,tableLocale:lt,showSorterTooltip:Ot}=ce;const[Lt,Bt]=ie.useState(Pa(ke,!0)),$t=ie.useMemo(()=>{let xn=!0;const Wn=Pa(ke,!1);if(!Wn.length)return Lt;const Zn=[];function la(da){xn?Zn.push(da):Zn.push(Object.assign(Object.assign({},da),{sortOrder:null}))}let na=null;return Wn.forEach(da=>{na===null?(la(da),da.sortOrder&&(da.multiplePriority===!1?xn=!1:na=!0)):(na&&da.multiplePriority!==!1||(xn=!1),la(da))}),Zn},[ke,Lt]),jt=ie.useMemo(()=>{const xn=$t.map(Wn=>{let{column:Zn,sortOrder:la}=Wn;return{column:Zn,order:la}});return{sortColumns:xn,sortColumn:xn[0]&&xn[0].column,sortOrder:xn[0]&&xn[0].order}},[$t]);function Kt(xn){let Wn;xn.multiplePriority===!1||!$t.length||$t[0].multiplePriority===!1?Wn=[xn]:Wn=[].concat((0,an.Z)($t.filter(Zn=>{let{key:la}=Zn;return la!==xn.key})),[xn]),Bt(Wn),Ue(yo(Wn),Wn)}return[xn=>Br(pe,xn,$t,Kt,ot,lt,Ot),$t,jt,()=>yo($t)]}function zi(ce,pe){return ce.map(ke=>{const Ue=Object.assign({},ke);return Ue.title=or(ke.title,pe),"children"in Ue&&(Ue.children=zi(Ue.children,pe)),Ue})}function el(ce){return[ie.useCallback(ke=>zi(ke,ce),[ce])]}var wl=Ir((ce,pe)=>{const{_renderTimes:ke}=ce,{_renderTimes:Ue}=pe;return ke!==Ue}),vl=Te((ce,pe)=>{const{_renderTimes:ke}=ce,{_renderTimes:Ue}=pe;return ke!==Ue}),Sl=te(64993),Fl=te(17313),uu=te(83116),su=te(37613),de=ce=>{const{componentCls:pe}=ce,ke=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,Ue=(ot,lt,Ot)=>({[`&${pe}-${ot}`]:{[`> ${pe}-container`]:{[`> ${pe}-content, > ${pe}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${pe}-expanded-row-fixed`]:{margin:`-${lt}px -${Ot+ce.lineWidth}px`}}}}}});return{[`${pe}-wrapper`]:{[`${pe}${pe}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${pe}-title`]:{border:ke,borderBottom:0},[`> ${pe}-container`]:{borderInlineStart:ke,borderTop:ke,[`
|
|
> ${pe}-content,
|
|
> ${pe}-header,
|
|
> ${pe}-body,
|
|
> ${pe}-summary
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:ke},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ke},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${pe}-cell-fix-right-first::after`]:{borderInlineEnd:ke}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${pe}-expanded-row-fixed`]:{margin:`-${ce.tablePaddingVertical}px -${ce.tablePaddingHorizontal+ce.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ce.lineWidth,bottom:0,borderInlineEnd:ke,content:'""'}}}}}},[`&${pe}-scroll-horizontal`]:{[`> ${pe}-container > ${pe}-body`]:{"> table > tbody":{[`
|
|
> tr${pe}-expanded-row,
|
|
> tr${pe}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ue("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle)),Ue("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall)),{[`> ${pe}-footer`]:{border:ke,borderTop:0}}),[`${pe}-cell`]:{[`${pe}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ce.lineWidth}px 0 ${ce.lineWidth}px ${ce.tableHeaderBg}`}},[`${pe}-bordered ${pe}-cell-scrollbar`]:{borderInlineEnd:ke}}}},Qe=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper`]:{[`${pe}-cell-ellipsis`]:Object.assign(Object.assign({},Fl.vS),{wordBreak:"keep-all",[`
|
|
&${pe}-cell-fix-left-last,
|
|
&${pe}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${pe}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${pe}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},It=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper`]:{[`${pe}-tbody > tr${pe}-placeholder`]:{textAlign:"center",color:ce.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ce.colorBgContainer}}}}},bt=te(15969),rn=ce=>{const{componentCls:pe,antCls:ke,controlInteractiveSize:Ue,motionDurationSlow:ot,lineWidth:lt,paddingXS:Ot,lineType:Lt,tableBorderColor:Bt,tableExpandIconBg:$t,tableExpandColumnWidth:jt,borderRadius:Kt,fontSize:En,fontSizeSM:Sn,lineHeight:xn,tablePaddingVertical:Wn,tablePaddingHorizontal:Zn,tableExpandedRowBg:la,paddingXXS:na}=ce,da=Ue/2-lt,Ya=da*2+lt*3,ir=`${lt}px ${Lt} ${Bt}`,ka=na-lt;return{[`${pe}-wrapper`]:{[`${pe}-expand-icon-col`]:{width:jt},[`${pe}-row-expand-icon-cell`]:{textAlign:"center",[`${pe}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${pe}-row-indent`]:{height:1,float:"left"},[`${pe}-row-expand-icon`]:Object.assign(Object.assign({},(0,bt.N)(ce)),{position:"relative",float:"left",boxSizing:"border-box",width:Ya,height:Ya,padding:0,color:"inherit",lineHeight:`${Ya}px`,background:$t,border:ir,borderRadius:Kt,transform:`scale(${Ue/Ya})`,transition:`all ${ot}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ot} ease-out`,content:'""'},"&::before":{top:da,insetInlineEnd:ka,insetInlineStart:ka,height:lt},"&::after":{top:ka,bottom:ka,insetInlineStart:da,width:lt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${pe}-row-indent + ${pe}-row-expand-icon`]:{marginTop:(En*xn-lt*3)/2-Math.ceil((Sn*1.4-lt*3)/2),marginInlineEnd:Ot},[`tr${pe}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:la}},[`${ke}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${pe}-expanded-row-fixed`]:{position:"relative",margin:`-${Wn}px -${Zn}px`,padding:`${Wn}px ${Zn}px`}}}},ia=ce=>{const{componentCls:pe,antCls:ke,iconCls:Ue,tableFilterDropdownWidth:ot,tableFilterDropdownSearchWidth:lt,paddingXXS:Ot,paddingXS:Lt,colorText:Bt,lineWidth:$t,lineType:jt,tableBorderColor:Kt,tableHeaderIconColor:En,fontSizeSM:Sn,tablePaddingHorizontal:xn,borderRadius:Wn,motionDurationSlow:Zn,colorTextDescription:la,colorPrimary:na,tableHeaderFilterActiveBg:da,colorTextDisabled:Ya,tableFilterDropdownBg:ir,tableFilterDropdownHeight:ka,controlItemBgHover:qa,controlItemBgActive:Lr,boxShadowSecondary:va,filterDropdownMenuBg:_a}=ce,xa=`${ke}-dropdown`,ua=`${pe}-filter-dropdown`,ma=`${ke}-tree`,er=`${$t}px ${jt} ${Kt}`;return[{[`${pe}-wrapper`]:{[`${pe}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${pe}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Ot,marginInline:`${Ot}px ${-xn/2}px`,padding:`0 ${Ot}px`,color:En,fontSize:Sn,borderRadius:Wn,cursor:"pointer",transition:`all ${Zn}`,"&:hover":{color:la,background:da},"&.active":{color:na}}}},{[`${ke}-dropdown`]:{[ua]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{minWidth:ot,backgroundColor:ir,borderRadius:Wn,boxShadow:va,overflow:"hidden",[`${xa}-menu`]:{maxHeight:ka,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_a,"&:empty::after":{display:"block",padding:`${Lt}px 0`,color:Ya,fontSize:Sn,textAlign:"center",content:'"Not Found"'}},[`${ua}-tree`]:{paddingBlock:`${Lt}px 0`,paddingInline:Lt,[ma]:{padding:0},[`${ma}-treenode ${ma}-node-content-wrapper:hover`]:{backgroundColor:qa},[`${ma}-treenode-checkbox-checked ${ma}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Lr}}},[`${ua}-search`]:{padding:Lt,borderBottom:er,"&-input":{input:{minWidth:lt},[Ue]:{color:Ya}}},[`${ua}-checkall`]:{width:"100%",marginBottom:Ot,marginInlineStart:Ot},[`${ua}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Lt-$t}px ${Lt}px`,overflow:"hidden",borderTop:er}})}},{[`${ke}-dropdown ${ua}, ${ua}-submenu`]:{[`${ke}-checkbox-wrapper + span`]:{paddingInlineStart:Lt,color:Bt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Bn=ce=>{const{componentCls:pe,lineWidth:ke,colorSplit:Ue,motionDurationSlow:ot,zIndexTableFixed:lt,tableBg:Ot,zIndexTableSticky:Lt}=ce,Bt=Ue;return{[`${pe}-wrapper`]:{[`
|
|
${pe}-cell-fix-left,
|
|
${pe}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:lt,background:Ot},[`
|
|
${pe}-cell-fix-left-first::after,
|
|
${pe}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ke,width:30,transform:"translateX(100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${pe}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${pe}-cell-fix-right-first::after,
|
|
${pe}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-ke,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${pe}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Lt+1,width:30,transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${pe}-ping-left`]:{[`&:not(${pe}-has-fix-left) ${pe}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Bt}`}},[`
|
|
${pe}-cell-fix-left-first::after,
|
|
${pe}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Bt}`},[`${pe}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${pe}-ping-right`]:{[`&:not(${pe}-has-fix-right) ${pe}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Bt}`}},[`
|
|
${pe}-cell-fix-right-first::after,
|
|
${pe}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Bt}`}}}}},Kn=ce=>{const{componentCls:pe,antCls:ke}=ce;return{[`${pe}-wrapper`]:{[`${pe}-pagination${ke}-pagination`]:{margin:`${ce.margin}px 0`},[`${pe}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ce.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},bn=ce=>{const{componentCls:pe,tableRadius:ke}=ce;return{[`${pe}-wrapper`]:{[pe]:{[`${pe}-title, ${pe}-header`]:{borderRadius:`${ke}px ${ke}px 0 0`},[`${pe}-title + ${pe}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${pe}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:ke,borderStartEndRadius:ke,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ke},"> *:last-child":{borderStartEndRadius:ke}}},"&-footer":{borderRadius:`0 0 ${ke}px ${ke}px`}}}}},Ta=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${pe}-pagination-left`]:{justifyContent:"flex-end"},[`${pe}-pagination-right`]:{justifyContent:"flex-start"},[`${pe}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${pe}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${pe}-row-indent`]:{float:"right"}}}}},za=ce=>{const{componentCls:pe,antCls:ke,iconCls:Ue,fontSizeIcon:ot,padding:lt,paddingXS:Ot,tableHeaderIconColor:Lt,tableHeaderIconColorHover:Bt,tableSelectionColumnWidth:$t}=ce;return{[`${pe}-wrapper`]:{[`${pe}-selection-col`]:{width:$t,[`&${pe}-selection-col-with-dropdown`]:{width:$t+ot+lt/4}},[`${pe}-bordered ${pe}-selection-col`]:{width:$t+Ot*2,[`&${pe}-selection-col-with-dropdown`]:{width:$t+ot+lt/4+Ot*2}},[`
|
|
table tr th${pe}-selection-column,
|
|
table tr td${pe}-selection-column
|
|
`]:{paddingInlineEnd:ce.paddingXS,paddingInlineStart:ce.paddingXS,textAlign:"center",[`${ke}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${pe}-selection-column${pe}-cell-fix-left`]:{zIndex:ce.zIndexTableFixed+1},[`table tr th${pe}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${pe}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${pe}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ce.tablePaddingHorizontal/4}px`,[Ue]:{color:Lt,fontSize:ot,verticalAlign:"baseline","&:hover":{color:Bt}}}}}},ja=ce=>{const{componentCls:pe}=ce,ke=(Ue,ot,lt,Ot)=>({[`${pe}${pe}-${Ue}`]:{fontSize:Ot,[`
|
|
${pe}-title,
|
|
${pe}-footer,
|
|
${pe}-cell,
|
|
${pe}-thead > tr > th,
|
|
${pe}-tbody > tr > th,
|
|
${pe}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${ot}px ${lt}px`},[`${pe}-filter-trigger`]:{marginInlineEnd:`-${lt/2}px`},[`${pe}-expanded-row-fixed`]:{margin:`-${ot}px -${lt}px`},[`${pe}-tbody`]:{[`${pe}-wrapper:only-child ${pe}`]:{marginBlock:`-${ot}px`,marginInline:`${ce.tableExpandColumnWidth-lt}px -${lt}px`}},[`${pe}-selection-column`]:{paddingInlineStart:`${lt/4}px`}}});return{[`${pe}-wrapper`]:Object.assign(Object.assign({},ke("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle,ce.tableFontSizeMiddle)),ke("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall,ce.tableFontSizeSmall))}},so=ce=>{const{componentCls:pe,marginXXS:ke,fontSizeIcon:Ue,tableHeaderIconColor:ot,tableHeaderIconColorHover:lt}=ce;return{[`${pe}-wrapper`]:{[`${pe}-thead th${pe}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,"&:hover":{background:ce.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ce.colorPrimary},[`
|
|
&${pe}-cell-fix-left:hover,
|
|
&${pe}-cell-fix-right:hover
|
|
`]:{background:ce.tableFixedHeaderSortActiveBg}},[`${pe}-thead th${pe}-column-sort`]:{background:ce.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${pe}-column-sort`]:{background:ce.tableBodySortBg},[`${pe}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${pe}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${pe}-column-sorter`]:{marginInlineStart:ke,color:ot,fontSize:0,transition:`color ${ce.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ue,"&.active":{color:ce.colorPrimary}},[`${pe}-column-sorter-up + ${pe}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${pe}-column-sorters:hover ${pe}-column-sorter`]:{color:lt}}}},po=ce=>{const{componentCls:pe,opacityLoading:ke,tableScrollThumbBg:Ue,tableScrollThumbBgHover:ot,tableScrollThumbSize:lt,tableScrollBg:Ot,zIndexTableSticky:Lt,stickyScrollBarBorderRadius:Bt}=ce,$t=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${pe}-wrapper`]:{[`${pe}-sticky`]:{"&-holder":{position:"sticky",zIndex:Lt,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${lt}px !important`,zIndex:Lt,display:"flex",alignItems:"center",background:Ot,borderTop:$t,opacity:ke,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:lt,backgroundColor:Ue,borderRadius:Bt,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ot}}}}}}},Vo=ce=>{const{componentCls:pe,lineWidth:ke,tableBorderColor:Ue}=ce,ot=`${ke}px ${ce.lineType} ${Ue}`;return{[`${pe}-wrapper`]:{[`${pe}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:ot}}},[`div${pe}-summary`]:{boxShadow:`0 -${ke}px 0 ${Ue}`}}}},gi=ce=>{const{componentCls:pe}=ce,ke=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,Ue=`${pe}-expanded-row-cell`;return{[`${pe}-wrapper`]:{[`${pe}-tbody-virtual`]:{[`${pe}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${pe}-cell`]:{borderBottom:ke},[`${pe}-expanded-row`]:{[`${Ue}${Ue}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ce.lineWidth}px)`,borderInlineEnd:"none"}}},[`${pe}-bordered`]:{[`${pe}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ke,position:"absolute"},[`${pe}-cell`]:{borderInlineEnd:ke,[`&${pe}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ce.lineWidth,borderInlineStart:ke}}}}}}};const Go=ce=>{const{componentCls:pe,fontWeightStrong:ke,tablePaddingVertical:Ue,tablePaddingHorizontal:ot,lineWidth:lt,lineType:Ot,tableBorderColor:Lt,tableFontSize:Bt,tableBg:$t,tableRadius:jt,tableHeaderTextColor:Kt,motionDurationMid:En,tableHeaderBg:Sn,tableHeaderCellSplitColor:xn,tableRowHoverBg:Wn,tableSelectedRowBg:Zn,tableSelectedRowHoverBg:la,tableFooterTextColor:na,tableFooterBg:da,paddingContentVerticalLG:Ya}=ce,ir=`${lt}px ${Ot} ${Lt}`;return{[`${pe}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Fl.dF)()),{[pe]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{fontSize:Bt,background:$t,borderRadius:`${jt}px ${jt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${jt}px ${jt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${pe}-cell,
|
|
${pe}-thead > tr > th,
|
|
${pe}-tbody > tr > th,
|
|
${pe}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${Ya}px ${ot}px`,overflowWrap:"break-word"},[`${pe}-title`]:{padding:`${Ue}px ${ot}px`},[`${pe}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Kt,fontWeight:ke,textAlign:"start",background:Sn,borderBottom:ir,transition:`background ${En} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${pe}-selection-column):not(${pe}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:xn,transform:"translateY(-50%)",transition:`background-color ${En}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${pe}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${En}, border-color ${En}`,borderBottom:ir,[`
|
|
> ${pe}-wrapper:only-child,
|
|
> ${pe}-expanded-row-fixed > ${pe}-wrapper:only-child
|
|
`]:{[pe]:{marginBlock:`-${Ue}px`,marginInline:`${ce.tableExpandColumnWidth-ot}px -${ot}px`,[`${pe}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Kt,fontWeight:ke,textAlign:"start",background:Sn,borderBottom:ir,transition:`background ${En} ease`},[`
|
|
&${pe}-row:hover > th,
|
|
&${pe}-row:hover > td,
|
|
> th${pe}-cell-row-hover,
|
|
> td${pe}-cell-row-hover
|
|
`]:{background:Wn},[`&${pe}-row-selected`]:{"> th, > td":{background:Zn},"&:hover > th, &:hover > td":{background:la}}}},[`${pe}-footer`]:{padding:`${Ue}px ${ot}px`,color:na,background:da}})}};var Eo=(0,uu.Z)("Table",ce=>{const{colorTextHeading:pe,colorSplit:ke,colorIcon:Ue,colorIconHover:ot,opacityLoading:lt,colorBgContainer:Ot,controlInteractiveSize:Lt,headerBg:Bt,headerColor:$t,headerSortActiveBg:jt,headerSortHoverBg:Kt,bodySortBg:En,rowHoverBg:Sn,rowSelectedBg:xn,rowSelectedHoverBg:Wn,rowExpandedBg:Zn,cellPaddingBlock:la,cellPaddingInline:na,cellPaddingBlockMD:da,cellPaddingInlineMD:Ya,cellPaddingBlockSM:ir,cellPaddingInlineSM:ka,borderColor:qa,footerBg:Lr,footerColor:va,headerBorderRadius:_a,cellFontSize:xa,cellFontSizeMD:ua,cellFontSizeSM:ma,headerSplitColor:er,fixedHeaderSortActiveBg:Gr,headerFilterHoverBg:Rr,filterDropdownBg:Ka,expandIconBg:_r,selectionColumnWidth:Wr,stickyScrollBarBg:Jr}=ce,Vr=new Sl.C(Ue),Uo=new Sl.C(ot),io=2,yr=(0,su.TS)(ce,{tableFontSize:xa,tableBg:Ot,tableRadius:_a,tablePaddingVertical:la,tablePaddingHorizontal:na,tablePaddingVerticalMiddle:da,tablePaddingHorizontalMiddle:Ya,tablePaddingVerticalSmall:ir,tablePaddingHorizontalSmall:ka,tableBorderColor:qa,tableHeaderTextColor:$t,tableHeaderBg:Bt,tableFooterTextColor:va,tableFooterBg:Lr,tableHeaderCellSplitColor:er,tableHeaderSortBg:jt,tableHeaderSortHoverBg:Kt,tableHeaderIconColor:Vr.clone().setAlpha(Vr.getAlpha()*lt).toRgbString(),tableHeaderIconColorHover:Uo.clone().setAlpha(Uo.getAlpha()*lt).toRgbString(),tableBodySortBg:En,tableFixedHeaderSortActiveBg:Gr,tableHeaderFilterActiveBg:Rr,tableFilterDropdownBg:Ka,tableRowHoverBg:Sn,tableSelectedRowBg:xn,tableSelectedRowHoverBg:Wn,zIndexTableFixed:io,zIndexTableSticky:io+1,tableFontSizeMiddle:ua,tableFontSizeSmall:ma,tableSelectionColumnWidth:Wr,tableExpandIconBg:_r,tableExpandColumnWidth:Lt+2*ce.padding,tableExpandedRowBg:Zn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Jr,tableScrollThumbBgHover:pe,tableScrollBg:ke});return[Go(yr),Kn(yr),Vo(yr),so(yr),ia(yr),de(yr),bn(yr),rn(yr),Vo(yr),It(yr),za(yr),Bn(yr),po(yr),Qe(yr),ja(yr),Ta(yr),gi(yr)]},ce=>{const{colorFillAlter:pe,colorBgContainer:ke,colorTextHeading:Ue,colorFillSecondary:ot,colorFillContent:lt,controlItemBgActive:Ot,controlItemBgActiveHover:Lt,padding:Bt,paddingSM:$t,paddingXS:jt,colorBorderSecondary:Kt,borderRadiusLG:En,fontSize:Sn,controlHeight:xn,colorTextPlaceholder:Wn}=ce,Zn=new Sl.C(ot).onBackground(ke).toHexShortString(),la=new Sl.C(lt).onBackground(ke).toHexShortString(),na=new Sl.C(pe).onBackground(ke).toHexShortString();return{headerBg:na,headerColor:Ue,headerSortActiveBg:Zn,headerSortHoverBg:la,bodySortBg:na,rowHoverBg:na,rowSelectedBg:Ot,rowSelectedHoverBg:Lt,rowExpandedBg:pe,cellPaddingBlock:Bt,cellPaddingInline:Bt,cellPaddingBlockMD:$t,cellPaddingInlineMD:jt,cellPaddingBlockSM:jt,cellPaddingInlineSM:jt,borderColor:Kt,headerBorderRadius:En,footerBg:na,footerColor:Ue,cellFontSize:Sn,cellFontSizeMD:Sn,cellFontSizeSM:Sn,headerSplitColor:Kt,fixedHeaderSortActiveBg:Zn,headerFilterHoverBg:lt,filterDropdownMenuBg:ke,filterDropdownBg:ke,expandIconBg:ke,selectionColumnWidth:xn,stickyScrollBarBg:Wn,stickyScrollBarBorderRadius:100}});const Do=[],Qo=(ce,pe)=>{const{prefixCls:ke,className:Ue,rootClassName:ot,style:lt,size:Ot,bordered:Lt,dropdownPrefixCls:Bt,dataSource:$t,pagination:jt,rowSelection:Kt,rowKey:En="key",rowClassName:Sn,columns:xn,children:Wn,childrenColumnName:Zn,onChange:la,getPopupContainer:na,loading:da,expandIcon:Ya,expandable:ir,expandedRowRender:ka,expandIconColumnIndex:qa,indentSize:Lr,scroll:va,sortDirections:_a,locale:xa,showSorterTooltip:ua=!0,virtual:ma}=ce,er=ie.useMemo(()=>xn||Ft(Wn),[xn,Wn]),Gr=ie.useMemo(()=>er.some(Po=>Po.responsive),[er]),Rr=(0,kr.Z)(Gr),Ka=ie.useMemo(()=>{const Po=new Set(Object.keys(Rr).filter(Xo=>Rr[Xo]));return er.filter(Xo=>!Xo.responsive||Xo.responsive.some(Ri=>Po.has(Ri)))},[er,Rr]),_r=(0,Yn.Z)(ce,["className","style","columns"]),{locale:Wr=Zo.Z,direction:Jr,table:Vr,renderEmpty:Uo,getPrefixCls:io,getPopupContainer:yr}=ie.useContext(Ea.E_),ti=(0,Mr.Z)(Ot),fr=Object.assign(Object.assign({},Wr.Table),xa),Ro=$t||Do,Bo=io("table",ke),mi=io("dropdown",Bt),pr=Object.assign({childrenColumnName:Zn,expandIconColumnIndex:qa},ir),{childrenColumnName:lr="children"}=pr,dr=ie.useMemo(()=>Ro.some(Po=>Po==null?void 0:Po[lr])?"nest":ka||ir&&ir.expandedRowRender?"row":null,[Ro]),Wa={body:ie.useRef()},La=ie.useMemo(()=>typeof En=="function"?En:Po=>Po==null?void 0:Po[En],[En]),[Dn]=xr(Ro,lr,La),ha={},Or=function(Po,Xo){let Ri=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var si,Wi,Vi;const ji=Object.assign(Object.assign({},ha),Po);Ri&&((si=ha.resetPagination)===null||si===void 0||si.call(ha),!((Wi=ji.pagination)===null||Wi===void 0)&&Wi.current&&(ji.pagination.current=1),jt&&jt.onChange&&jt.onChange(1,(Vi=ji.pagination)===null||Vi===void 0?void 0:Vi.pageSize)),va&&va.scrollToFirstRowOnChange!==!1&&Wa.body.current&&(0,Sa.Z)(0,{getContainer:()=>Wa.body.current}),la==null||la(ji.pagination,ji.filters,ji.sorter,{currentDataSource:Yo(ei(Ro,ji.sorterStates,lr),ji.filterStates),action:Xo})},Qr=(Po,Xo)=>{Or({sorter:Po,sorterStates:Xo},"sort",!1)},[Li,bi,qi,ui]=Di({prefixCls:Bo,mergedColumns:Ka,onSorterChange:Qr,sortDirections:_a||["ascend","descend"],tableLocale:fr,showSorterTooltip:ua}),ri=ie.useMemo(()=>ei(Ro,bi,lr),[Ro,bi]);ha.sorter=ui(),ha.sorterStates=bi;const cr=(Po,Xo)=>{Or({filters:Po,filterStates:Xo},"filter",!0)},[Ii,_i,No]=br({prefixCls:Bo,locale:fr,dropdownPrefixCls:mi,mergedColumns:Ka,onFilterChange:cr,getPopupContainer:na||yr}),To=Yo(ri,_i);ha.filters=No,ha.filterStates=_i;const ii=ie.useMemo(()=>{const Po={};return Object.keys(No).forEach(Xo=>{No[Xo]!==null&&(Po[Xo]=No[Xo])}),Object.assign(Object.assign({},qi),{filters:Po})},[qi,No]),[Si]=el(ii),fi=(Po,Xo)=>{Or({pagination:Object.assign(Object.assign({},ha.pagination),{current:Po,pageSize:Xo})},"paginate")},[lo,Hi]=eo(To.length,fi,jt);ha.pagination=jt===!1?{}:fa(lo,jt),ha.resetPagination=Hi;const Oi=ie.useMemo(()=>{if(jt===!1||!lo.pageSize)return To;const{current:Po=1,total:Xo,pageSize:Ri=oi}=lo;return To.length<Xo?To.length>Ri?To.slice((Po-1)*Ri,Po*Ri):To:To.slice((Po-1)*Ri,Po*Ri)},[!!jt,To,lo&&lo.current,lo&&lo.pageSize,lo&&lo.total]),[ko,Pr]=So({prefixCls:Bo,data:To,pageData:Oi,getRowKey:La,getRecordByKey:Dn,expandType:dr,childrenColumnName:lr,locale:fr,getPopupContainer:na||yr},Kt),pi=(Po,Xo,Ri)=>{let si;return typeof Sn=="function"?si=_e()(Sn(Po,Xo,Ri)):si=_e()(Sn),_e()({[`${Bo}-row-selected`]:Pr.has(La(Po,Xo))},si)};pr.__PARENT_RENDER_ICON__=pr.expandIcon,pr.expandIcon=pr.expandIcon||Ya||Qn(fr),dr==="nest"&&pr.expandIconColumnIndex===void 0?pr.expandIconColumnIndex=Kt?1:0:pr.expandIconColumnIndex>0&&Kt&&(pr.expandIconColumnIndex-=1),typeof pr.indentSize!="number"&&(pr.indentSize=typeof Lr=="number"?Lr:15);const Mi=ie.useCallback(Po=>Si(ko(Ii(Li(Po)))),[Li,Ii,ko]);let sl,tl;if(jt!==!1&&(lo!=null&&lo.total)){let Po;lo.size?Po=lo.size:Po=ti==="small"||ti==="middle"?"small":void 0;const Xo=Wi=>ie.createElement(Ur.Z,Object.assign({},lo,{className:_e()(`${Bo}-pagination ${Bo}-pagination-${Wi}`,lo.className),size:Po})),Ri=Jr==="rtl"?"left":"right",{position:si}=lo;if(si!==null&&Array.isArray(si)){const Wi=si.find(ul=>ul.includes("top")),Vi=si.find(ul=>ul.includes("bottom")),ji=si.every(ul=>`${ul}`=="none");!Wi&&!Vi&&!ji&&(tl=Xo(Ri)),Wi&&(sl=Xo(Wi.toLowerCase().replace("top",""))),Vi&&(tl=Xo(Vi.toLowerCase().replace("bottom","")))}else tl=Xo(Ri)}let Ji;typeof da=="boolean"?Ji={spinning:da}:typeof da=="object"&&(Ji=Object.assign({spinning:!0},da));const[Ki,Pi]=Eo(Bo),[,ci]=(0,ga.Z)(),il=_e()(`${Bo}-wrapper`,Vr==null?void 0:Vr.className,{[`${Bo}-wrapper-rtl`]:Jr==="rtl"},Ue,ot,Pi),fl=Object.assign(Object.assign({},Vr==null?void 0:Vr.style),lt),al=xa&&xa.emptyText||(Uo==null?void 0:Uo("Table"))||ie.createElement(ca.Z,{componentName:"Table"}),ll=ma?vl:wl,Cl={},Rl=ie.useMemo(()=>{const{fontSize:Po,lineHeight:Xo,padding:Ri,paddingXS:si,paddingSM:Wi}=ci,Vi=Math.floor(Po*Xo);switch(ti){case"large":return Ri*2+Vi;case"small":return si*2+Vi;default:return Wi*2+Vi}},[ci,ti]);return ma&&(Cl.listItemHeight=Rl),Ki(ie.createElement("div",{ref:pe,className:il,style:fl},ie.createElement(ho.Z,Object.assign({spinning:!1},Ji),sl,ie.createElement(ll,Object.assign({},Cl,_r,{columns:Ka,direction:Jr,expandable:pr,prefixCls:Bo,className:_e()({[`${Bo}-middle`]:ti==="middle",[`${Bo}-small`]:ti==="small",[`${Bo}-bordered`]:Lt,[`${Bo}-empty`]:Ro.length===0}),data:Oi,rowKey:La,rowClassName:pi,emptyText:al,internalHooks:se,internalRefs:Wa,transformColumns:Mi})),tl)))};var ai=ie.forwardRef(Qo);const Mo=(ce,pe)=>{const ke=ie.useRef(0);return ke.current+=1,ie.createElement(ai,Object.assign({},ce,{ref:pe,_renderTimes:ke.current}))},Ho=ie.forwardRef(Mo);Ho.SELECTION_COLUMN=Vn,Ho.EXPAND_COLUMN=z,Ho.SELECTION_ALL=Cn,Ho.SELECTION_INVERT=$r,Ho.SELECTION_NONE=vr,Ho.Column=Ut,Ho.ColumnGroup=fn,Ho.Summary=Oe;var Ai=Ho,Ci=Ai},17574:function(Et,St,te){"use strict";te.d(St,{default:function(){return it}});var z=te(60091),se=te(94480),he=te(52671),Ie=te(8657),be=te(54476),Ne=te(59301),ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},nt=ie,je=te(7657),Ze=function(vt,Rt){return Ne.createElement(je.Z,(0,be.Z)({},vt,{ref:Rt,icon:nt}))},ze=Ne.forwardRef(Ze),Me=ze,ye=te(92310),re=te.n(ye),a=te(35654),y=te(71430),b=te(36355),E=te(56082),x=te(62892),ee=te(20648);const ne=4;function oe(rt){const{dropPosition:vt,dropLevelOffset:Rt,prefixCls:Yt,indent:Je,direction:st="ltr"}=rt,At=st==="ltr"?"left":"right",Nt=st==="ltr"?"right":"left",Pt={[At]:-Rt*Je+ne,[Nt]:0};switch(vt){case-1:Pt.top=-3;break;case 1:Pt.bottom=-3;break;default:Pt.bottom=-3,Pt[At]=Je+ne;break}return Ne.createElement("div",{style:Pt,className:`${Yt}-drop-indicator`})}var ae=te(71997),me=Ne.forwardRef((rt,vt)=>{const{getPrefixCls:Rt,direction:Yt,virtual:Je,tree:st}=Ne.useContext(b.E_),{prefixCls:At,className:Nt,showIcon:Pt=!1,showLine:sn,switcherIcon:Fe,blockNode:Qt=!1,children:Gt,checkable:Hn=!1,selectable:ea=!0,draggable:Re,motion:qe,style:tt}=rt,Le=Rt("tree",At),ft=Rt(),gt=qe!=null?qe:Object.assign(Object.assign({},(0,x.Z)(ft)),{motionAppear:!1}),Oe=Object.assign(Object.assign({},rt),{checkable:Hn,selectable:ea,showIcon:Pt,motion:gt,blockNode:Qt,showLine:!!sn,dropIndicatorRender:oe}),[ve,Ge]=(0,ee.ZP)(Le),We=Ne.useMemo(()=>{if(!Re)return!1;let mt={};switch(typeof Re){case"function":mt.nodeDraggable=Re;break;case"object":mt=Object.assign({},Re);break;default:break}return mt.icon!==!1&&(mt.icon=mt.icon||Ne.createElement(E.Z,null)),mt},[Re]),we=mt=>Ne.createElement(ae.Z,{prefixCls:Le,switcherIcon:Fe,treeNodeProps:mt,showLine:sn});return ve(Ne.createElement(z.Z,Object.assign({itemHeight:20,ref:vt,virtual:Je},Oe,{style:Object.assign(Object.assign({},st==null?void 0:st.style),tt),prefixCls:Le,className:re()({[`${Le}-icon-hide`]:!Pt,[`${Le}-block-node`]:Qt,[`${Le}-unselectable`]:!ea,[`${Le}-rtl`]:Yt==="rtl"},st==null?void 0:st.className,Nt,Ge),direction:Yt,checkable:Hn&&Ne.createElement("span",{className:`${Le}-checkbox-inner`}),selectable:ea,switcherIcon:we,draggable:We}),Gt))}),fe;(function(rt){rt[rt.None=0]="None",rt[rt.Start=1]="Start",rt[rt.End=2]="End"})(fe||(fe={}));function Pe(rt,vt){function Rt(Yt){const{key:Je,children:st}=Yt;vt(Je,Yt)!==!1&&Pe(st||[],vt)}rt.forEach(Rt)}function xe(rt){let{treeData:vt,expandedKeys:Rt,startKey:Yt,endKey:Je}=rt;const st=[];let At=fe.None;if(Yt&&Yt===Je)return[Yt];if(!Yt||!Je)return[];function Nt(Pt){return Pt===Yt||Pt===Je}return Pe(vt,Pt=>{if(At===fe.End)return!1;if(Nt(Pt)){if(st.push(Pt),At===fe.None)At=fe.Start;else if(At===fe.Start)return At=fe.End,!1}else At===fe.Start&&st.push(Pt);return Rt.includes(Pt)}),st}function Ee(rt,vt){const Rt=(0,se.Z)(vt),Yt=[];return Pe(rt,(Je,st)=>{const At=Rt.indexOf(Je);return At!==-1&&(Yt.push(st),Rt.splice(At,1)),!!Rt.length}),Yt}var De=function(rt,vt){var Rt={};for(var Yt in rt)Object.prototype.hasOwnProperty.call(rt,Yt)&&vt.indexOf(Yt)<0&&(Rt[Yt]=rt[Yt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Yt=Object.getOwnPropertySymbols(rt);Je<Yt.length;Je++)vt.indexOf(Yt[Je])<0&&Object.prototype.propertyIsEnumerable.call(rt,Yt[Je])&&(Rt[Yt[Je]]=rt[Yt[Je]]);return Rt};function _e(rt){const{isLeaf:vt,expanded:Rt}=rt;return vt?Ne.createElement(he.Z,null):Rt?Ne.createElement(Ie.Z,null):Ne.createElement(Me,null)}function pt(rt){let{treeData:vt,children:Rt}=rt;return vt||(0,y.zn)(Rt)}const Be=(rt,vt)=>{var{defaultExpandAll:Rt,defaultExpandParent:Yt,defaultExpandedKeys:Je}=rt,st=De(rt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const At=Ne.useRef(),Nt=Ne.useRef(),Pt=()=>{const{keyEntities:We}=(0,y.I8)(pt(st));let we;return Rt?we=Object.keys(We):Yt?we=(0,a.r7)(st.expandedKeys||Je||[],We):we=st.expandedKeys||Je,we},[sn,Fe]=Ne.useState(st.selectedKeys||st.defaultSelectedKeys||[]),[Qt,Gt]=Ne.useState(()=>Pt());Ne.useEffect(()=>{"selectedKeys"in st&&Fe(st.selectedKeys)},[st.selectedKeys]),Ne.useEffect(()=>{"expandedKeys"in st&&Gt(st.expandedKeys)},[st.expandedKeys]);const Hn=(We,we)=>{var mt;return"expandedKeys"in st||Gt(We),(mt=st.onExpand)===null||mt===void 0?void 0:mt.call(st,We,we)},ea=(We,we)=>{var mt;const{multiple:et}=st,{node:Ht,nativeEvent:Se}=we,{key:ut=""}=Ht,xt=pt(st),Ae=Object.assign(Object.assign({},we),{selected:!0}),He=(Se==null?void 0:Se.ctrlKey)||(Se==null?void 0:Se.metaKey),ct=Se==null?void 0:Se.shiftKey;let wt;et&&He?(wt=We,At.current=ut,Nt.current=wt,Ae.selectedNodes=Ee(xt,wt)):et&&ct?(wt=Array.from(new Set([].concat((0,se.Z)(Nt.current||[]),(0,se.Z)(xe({treeData:xt,expandedKeys:Qt,startKey:ut,endKey:At.current}))))),Ae.selectedNodes=Ee(xt,wt)):(wt=[ut],At.current=ut,Nt.current=wt,Ae.selectedNodes=Ee(xt,wt)),(mt=st.onSelect)===null||mt===void 0||mt.call(st,wt,Ae),"selectedKeys"in st||Fe(wt)},{getPrefixCls:Re,direction:qe}=Ne.useContext(b.E_),{prefixCls:tt,className:Le,showIcon:ft=!0,expandAction:gt="click"}=st,Oe=De(st,["prefixCls","className","showIcon","expandAction"]),ve=Re("tree",tt),Ge=re()(`${ve}-directory`,{[`${ve}-directory-rtl`]:qe==="rtl"},Le);return Ne.createElement(me,Object.assign({icon:_e,ref:vt,blockNode:!0},Oe,{showIcon:ft,expandAction:gt,prefixCls:ve,className:Ge,expandedKeys:Qt,selectedKeys:sn,onSelect:ea,onExpand:Hn}))};var Ke=Ne.forwardRef(Be);const Ve=me;Ve.DirectoryTree=Ke,Ve.TreeNode=z.O;var it=Ve},20648:function(Et,St,te){"use strict";te.d(St,{TM:function(){return ye},Yk:function(){return Me}});var z=te(36237),se=te(98447),he=te(17313),Ie=te(8378),be=te(37613),Ne=te(83116);const ie=new z.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),nt=(re,a)=>({[`.${re}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),je=(re,a)=>({[`.${re}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ze=(re,a)=>{const{treeCls:y,treeNodeCls:b,treeNodePadding:E,titleHeight:x,nodeSelectedBg:ee,nodeHoverBg:ne}=a,oe=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,he.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,he.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ie,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,he.oN)(a)),[`&:not(${b}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},nt(re,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ne},[`&${y}-node-selected`]:{backgroundColor:ee},[`${y}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},je(re,a)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},ze=re=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:x}=re;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${re.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:re.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${re.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${a}-switcher`]:{color:x},[`${a}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},Me=(re,a)=>{const y=`.${re}`,b=`${y}-treenode`,E=a.paddingXS/2,x=(0,be.TS)(a,{treeCls:y,treeNodeCls:b,treeNodePadding:E});return[Ze(re,x),ze(x)]},ye=re=>{const{controlHeightSM:a}=re;return{titleHeight:a,nodeHoverBg:re.controlItemBgHover,nodeSelectedBg:re.controlItemBgActive}};St.ZP=(0,Ne.Z)("Tree",(re,a)=>{let{prefixCls:y}=a;return[{[re.componentCls]:(0,se.C2)(`${y}-checkbox`,re)},Me(y,re),(0,Ie.Z)(re)]},re=>{const{colorTextLightSolid:a,colorPrimary:y}=re;return Object.assign(Object.assign({},ye(re)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(Et,St,te){"use strict";te.d(St,{Z:function(){return b}});var z=te(54476),se=te(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ie=he,be=te(7657),Ne=function(x,ee){return se.createElement(be.Z,(0,z.Z)({},x,{ref:ee,icon:Ie}))},ie=se.forwardRef(Ne),nt=ie,je=te(52671),Ze=te(58617),ze=te(15075),Me=te(43531),ye=te(92310),re=te.n(ye),a=te(92343),b=E=>{const{prefixCls:x,switcherIcon:ee,treeNodeProps:ne,showLine:oe}=E,{isLeaf:ae,expanded:ue,loading:me}=ne;if(me)return se.createElement(Ze.Z,{className:`${x}-switcher-loading-icon`});let fe;if(oe&&typeof oe=="object"&&(fe=oe.showLeafIcon),ae){if(!oe)return null;if(typeof fe!="boolean"&&fe){const Ee=typeof fe=="function"?fe(ne):fe,De=`${x}-switcher-line-custom-icon`;return(0,a.l$)(Ee)?(0,a.Tm)(Ee,{className:re()(Ee.props.className||"",De)}):Ee}return fe?se.createElement(je.Z,{className:`${x}-switcher-line-icon`}):se.createElement("span",{className:`${x}-switcher-leaf-line`})}const Pe=`${x}-switcher-icon`,xe=typeof ee=="function"?ee(ne):ee;return(0,a.l$)(xe)?(0,a.Tm)(xe,{className:re()(xe.props.className||"",Pe)}):xe!==void 0?xe:oe?ue?se.createElement(ze.Z,{className:`${x}-switcher-line-icon`}):se.createElement(Me.Z,{className:`${x}-switcher-line-icon`}):se.createElement(nt,{className:Pe})}},54580:function(Et,St,te){"use strict";te.d(St,{default:function(){return tr}});var z=te(59301),se=te(94480),he=te(92310),Ie=te.n(he),be=te(54476),Ne=te(67732),ie=te(83652),nt=te(42403),je=te(158),Ze=te(20068),ze=te(75931),Me=te(75044),ye=te(76190),re=te(3202),a=te(26112);function y(ht,qt){var tn="cannot ".concat(ht.method," ").concat(ht.action," ").concat(qt.status,"'"),Pn=new Error(tn);return Pn.status=qt.status,Pn.method=ht.method,Pn.url=ht.action,Pn}function b(ht){var qt=ht.responseText||ht.response;if(!qt)return qt;try{return JSON.parse(qt)}catch(tn){return qt}}function E(ht){var qt=new XMLHttpRequest;ht.onProgress&&qt.upload&&(qt.upload.onprogress=function(cn){cn.total>0&&(cn.percent=cn.loaded/cn.total*100),ht.onProgress(cn)});var tn=new FormData;ht.data&&Object.keys(ht.data).forEach(function(Rn){var cn=ht.data[Rn];if(Array.isArray(cn)){cn.forEach(function(On){tn.append("".concat(Rn,"[]"),On)});return}tn.append(Rn,cn)}),ht.file instanceof Blob?tn.append(ht.filename,ht.file,ht.file.name):tn.append(ht.filename,ht.file),qt.onerror=function(cn){ht.onError(cn)},qt.onload=function(){return qt.status<200||qt.status>=300?ht.onError(y(ht,qt),b(qt)):ht.onSuccess(b(qt),qt)},qt.open(ht.method,ht.action,!0),ht.withCredentials&&"withCredentials"in qt&&(qt.withCredentials=!0);var Pn=ht.headers||{};return Pn["X-Requested-With"]!==null&&qt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Pn).forEach(function(Rn){Pn[Rn]!==null&&qt.setRequestHeader(Rn,Pn[Rn])}),qt.send(tn),{abort:function(){qt.abort()}}}var x=+new Date,ee=0;function ne(){return"rc-upload-".concat(x,"-").concat(++ee)}var oe=te(48736),ae=function(ht,qt){if(ht&&qt){var tn=Array.isArray(qt)?qt:qt.split(","),Pn=ht.name||"",Rn=ht.type||"",cn=Rn.replace(/\/.*$/,"");return tn.some(function(On){var yn=On.trim();if(/^\*(\/\*)?$/.test(On))return!0;if(yn.charAt(0)==="."){var rr=Pn.toLowerCase(),Ma=yn.toLowerCase(),ur=[Ma];return(Ma===".jpg"||Ma===".jpeg")&&(ur=[".jpg",".jpeg"]),ur.some(function(Fn){return rr.endsWith(Fn)})}return/\/\*$/.test(yn)?cn===yn.replace(/\/.*$/,""):Rn===yn?!0:/^\w+$/.test(yn)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(yn,"'.Skip for check.")),!0):!1})}return!0};function ue(ht,qt){var tn=ht.createReader(),Pn=[];function Rn(){tn.readEntries(function(cn){var On=Array.prototype.slice.apply(cn);Pn=Pn.concat(On);var yn=!On.length;yn?qt(Pn):Rn()})}Rn()}var me=function(qt,tn,Pn){var Rn=function cn(On,yn){On&&(On.path=yn||"",On.isFile?On.file(function(rr){Pn(rr)&&(On.fullPath&&!rr.webkitRelativePath&&(Object.defineProperties(rr,{webkitRelativePath:{writable:!0}}),rr.webkitRelativePath=On.fullPath.replace(/^\//,""),Object.defineProperties(rr,{webkitRelativePath:{writable:!1}})),tn([rr]))}):On.isDirectory&&ue(On,function(rr){rr.forEach(function(Ma){cn(Ma,"".concat(yn).concat(On.name,"/"))})}))};qt.forEach(function(cn){Rn(cn.webkitGetAsEntry())})},fe=me,Pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],xe=function(ht){(0,nt.Z)(tn,ht);var qt=(0,je.Z)(tn);function tn(){var Pn;(0,Ne.Z)(this,tn);for(var Rn=arguments.length,cn=new Array(Rn),On=0;On<Rn;On++)cn[On]=arguments[On];return Pn=qt.call.apply(qt,[this].concat(cn)),Pn.state={uid:ne()},Pn.reqs={},Pn.fileInput=void 0,Pn._isMounted=void 0,Pn.onChange=function(yn){var rr=Pn.props,Ma=rr.accept,ur=rr.directory,Fn=yn.target.files,oo=(0,se.Z)(Fn).filter(function(to){return!ur||ae(to,Ma)});Pn.uploadFiles(oo),Pn.reset()},Pn.onClick=function(yn){var rr=Pn.fileInput;if(rr){var Ma=yn.target,ur=Pn.props.onClick;if(Ma&&Ma.tagName==="BUTTON"){var Fn=rr.parentNode;Fn.focus(),Ma.blur()}rr.click(),ur&&ur(yn)}},Pn.onKeyDown=function(yn){yn.key==="Enter"&&Pn.onClick(yn)},Pn.onFileDrop=function(yn){var rr=Pn.props.multiple;if(yn.preventDefault(),yn.type!=="dragover")if(Pn.props.directory)fe(Array.prototype.slice.call(yn.dataTransfer.items),Pn.uploadFiles,function(ur){return ae(ur,Pn.props.accept)});else{var Ma=(0,se.Z)(yn.dataTransfer.files).filter(function(ur){return ae(ur,Pn.props.accept)});rr===!1&&(Ma=Ma.slice(0,1)),Pn.uploadFiles(Ma)}},Pn.uploadFiles=function(yn){var rr=(0,se.Z)(yn),Ma=rr.map(function(ur){return ur.uid=ne(),Pn.processFile(ur,rr)});Promise.all(Ma).then(function(ur){var Fn=Pn.props.onBatchStart;Fn==null||Fn(ur.map(function(oo){var to=oo.origin,Ko=oo.parsedFile;return{file:to,parsedFile:Ko}})),ur.filter(function(oo){return oo.parsedFile!==null}).forEach(function(oo){Pn.post(oo)})})},Pn.processFile=function(){var yn=(0,re.Z)((0,Me.Z)().mark(function rr(Ma,ur){var Fn,oo,to,Ko,jn,Ra,Qa,Oa,Ir;return(0,Me.Z)().wrap(function(Cr){for(;;)switch(Cr.prev=Cr.next){case 0:if(Fn=Pn.props.beforeUpload,oo=Ma,!Fn){Cr.next=14;break}return Cr.prev=3,Cr.next=6,Fn(Ma,ur);case 6:oo=Cr.sent,Cr.next=12;break;case 9:Cr.prev=9,Cr.t0=Cr.catch(3),oo=!1;case 12:if(oo!==!1){Cr.next=14;break}return Cr.abrupt("return",{origin:Ma,parsedFile:null,action:null,data:null});case 14:if(to=Pn.props.action,typeof to!="function"){Cr.next=21;break}return Cr.next=18,to(Ma);case 18:Ko=Cr.sent,Cr.next=22;break;case 21:Ko=to;case 22:if(jn=Pn.props.data,typeof jn!="function"){Cr.next=29;break}return Cr.next=26,jn(Ma);case 26:Ra=Cr.sent,Cr.next=30;break;case 29:Ra=jn;case 30:return Qa=((0,ye.Z)(oo)==="object"||typeof oo=="string")&&oo?oo:Ma,Qa instanceof File?Oa=Qa:Oa=new File([Qa],Ma.name,{type:Ma.type}),Ir=Oa,Ir.uid=Ma.uid,Cr.abrupt("return",{origin:Ma,data:Ra,parsedFile:Ir,action:Ko});case 35:case"end":return Cr.stop()}},rr,null,[[3,9]])}));return function(rr,Ma){return yn.apply(this,arguments)}}(),Pn.saveFileInput=function(yn){Pn.fileInput=yn},Pn}return(0,ie.Z)(tn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Rn){var cn=this,On=Rn.data,yn=Rn.origin,rr=Rn.action,Ma=Rn.parsedFile;if(this._isMounted){var ur=this.props,Fn=ur.onStart,oo=ur.customRequest,to=ur.name,Ko=ur.headers,jn=ur.withCredentials,Ra=ur.method,Qa=yn.uid,Oa=oo||E,Ir={action:rr,filename:to,data:On,file:Ma,headers:Ko,withCredentials:jn,method:Ra||"post",onProgress:function(Cr){var fo=cn.props.onProgress;fo==null||fo(Cr,Ma)},onSuccess:function(Cr,fo){var Ao=cn.props.onSuccess;Ao==null||Ao(Cr,Ma,fo),delete cn.reqs[Qa]},onError:function(Cr,fo){var Ao=cn.props.onError;Ao==null||Ao(Cr,fo,Ma),delete cn.reqs[Qa]}};Fn(yn),this.reqs[Qa]=Oa(Ir)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(Rn){var cn=this.reqs;if(Rn){var On=Rn.uid?Rn.uid:Rn;cn[On]&&cn[On].abort&&cn[On].abort(),delete cn[On]}else Object.keys(cn).forEach(function(yn){cn[yn]&&cn[yn].abort&&cn[yn].abort(),delete cn[yn]})}},{key:"render",value:function(){var Rn=this.props,cn=Rn.component,On=Rn.prefixCls,yn=Rn.className,rr=Rn.disabled,Ma=Rn.id,ur=Rn.style,Fn=Rn.multiple,oo=Rn.accept,to=Rn.capture,Ko=Rn.children,jn=Rn.directory,Ra=Rn.openFileDialogOnClick,Qa=Rn.onMouseEnter,Oa=Rn.onMouseLeave,Ir=(0,ze.Z)(Rn,Pe),Er=Ie()((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)({},On,!0),"".concat(On,"-disabled"),rr),yn,yn)),Cr=jn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},fo=rr?{}:{onClick:Ra?this.onClick:function(){},onKeyDown:Ra?this.onKeyDown:function(){},onMouseEnter:Qa,onMouseLeave:Oa,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return z.createElement(cn,(0,be.Z)({},fo,{className:Er,role:"button",style:ur}),z.createElement("input",(0,be.Z)({},(0,a.Z)(Ir,{aria:!0,data:!0}),{id:Ma,disabled:rr,type:"file",ref:this.saveFileInput,onClick:function(wi){return wi.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:oo},Cr,{multiple:Fn,onChange:this.onChange},to!=null?{capture:to}:{})),Ko)}}]),tn}(z.Component),Ee=xe;function De(){}var _e=function(ht){(0,nt.Z)(tn,ht);var qt=(0,je.Z)(tn);function tn(){var Pn;(0,Ne.Z)(this,tn);for(var Rn=arguments.length,cn=new Array(Rn),On=0;On<Rn;On++)cn[On]=arguments[On];return Pn=qt.call.apply(qt,[this].concat(cn)),Pn.uploader=void 0,Pn.saveUploader=function(yn){Pn.uploader=yn},Pn}return(0,ie.Z)(tn,[{key:"abort",value:function(Rn){this.uploader.abort(Rn)}},{key:"render",value:function(){return z.createElement(Ee,(0,be.Z)({},this.props,{ref:this.saveUploader}))}}]),tn}(z.Component);_e.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 pt=_e,Be=pt,$e=te(18929),Ke=te(4676),Ve=te(36355),it=te(1684),rt=te(9763),vt=te(31724),Rt={icon:function(qt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:tn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:qt}}]}},name:"file",theme:"twotone"},Yt=Rt,Je=te(7657),st=function(qt,tn){return z.createElement(Je.Z,(0,be.Z)({},qt,{ref:tn,icon:Yt}))},At=z.forwardRef(st),Nt=At,Pt=te(58617),sn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Fe=sn,Qt=function(qt,tn){return z.createElement(Je.Z,(0,be.Z)({},qt,{ref:tn,icon:Fe}))},Gt=z.forwardRef(Qt),Hn=Gt,ea={icon:function(qt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:qt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:tn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:tn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:tn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:qt}}]}},name:"picture",theme:"twotone"},Re=ea,qe=function(qt,tn){return z.createElement(Je.Z,(0,be.Z)({},qt,{ref:tn,icon:Re}))},tt=z.forwardRef(qe),Le=tt,ft=te(77900),gt=te(56762),Oe=te(62892),ve=te(92343),Ge=te(3113);function We(ht){return Object.assign(Object.assign({},ht),{lastModified:ht.lastModified,lastModifiedDate:ht.lastModifiedDate,name:ht.name,size:ht.size,type:ht.type,uid:ht.uid,percent:0,originFileObj:ht})}function we(ht,qt){const tn=(0,se.Z)(qt),Pn=tn.findIndex(Rn=>{let{uid:cn}=Rn;return cn===ht.uid});return Pn===-1?tn.push(ht):tn[Pn]=ht,tn}function mt(ht,qt){const tn=ht.uid!==void 0?"uid":"name";return qt.filter(Pn=>Pn[tn]===ht[tn])[0]}function et(ht,qt){const tn=ht.uid!==void 0?"uid":"name",Pn=qt.filter(Rn=>Rn[tn]!==ht[tn]);return Pn.length===qt.length?null:Pn}const Ht=function(){const qt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Pn=qt[qt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Pn)||[""])[0]},Se=ht=>ht.indexOf("image/")===0,ut=ht=>{if(ht.type&&!ht.thumbUrl)return Se(ht.type);const qt=ht.thumbUrl||ht.url||"",tn=Ht(qt);return/^data:image\//.test(qt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(tn)?!0:!(/^data:/.test(qt)||tn)},xt=200;function Ae(ht){return new Promise(qt=>{if(!ht.type||!Se(ht.type)){qt("");return}const tn=document.createElement("canvas");tn.width=xt,tn.height=xt,tn.style.cssText=`position: fixed; left: 0; top: 0; width: ${xt}px; height: ${xt}px; z-index: 9999; display: none;`,document.body.appendChild(tn);const Pn=tn.getContext("2d"),Rn=new Image;if(Rn.onload=()=>{const{width:cn,height:On}=Rn;let yn=xt,rr=xt,Ma=0,ur=0;cn>On?(rr=On*(xt/cn),ur=-(rr-yn)/2):(yn=cn*(xt/On),Ma=-(yn-rr)/2),Pn.drawImage(Rn,Ma,ur,yn,rr);const Fn=tn.toDataURL();document.body.removeChild(tn),window.URL.revokeObjectURL(Rn.src),qt(Fn)},Rn.crossOrigin="anonymous",ht.type.startsWith("image/svg+xml")){const cn=new FileReader;cn.onload=()=>{cn.result&&(Rn.src=cn.result)},cn.readAsDataURL(ht)}else if(ht.type.startsWith("image/gif")){const cn=new FileReader;cn.onload=()=>{cn.result&&qt(cn.result)},cn.readAsDataURL(ht)}else Rn.src=window.URL.createObjectURL(ht)})}var He=te(26227),ct=te(41464),wt=te(15277),Zt=te(93948),gn=te(6848),Dt=z.forwardRef((ht,qt)=>{let{prefixCls:tn,className:Pn,style:Rn,locale:cn,listType:On,file:yn,items:rr,progress:Ma,iconRender:ur,actionIconRender:Fn,itemRender:oo,isImgUrl:to,showPreviewIcon:Ko,showRemoveIcon:jn,showDownloadIcon:Ra,previewIcon:Qa,removeIcon:Oa,downloadIcon:Ir,onPreview:Er,onDownload:Cr,onClose:fo}=ht;var Ao,wi;const{status:Fi}=yn,[hi,Ui]=z.useState(Fi);z.useEffect(()=>{Fi!=="removed"&&Ui(Fi)},[Fi]);const[_n,Na]=z.useState(!1);z.useEffect(()=>{const Ea=setTimeout(()=>{Na(!0)},300);return()=>{clearTimeout(Ea)}},[]);const co=ur(yn);let Co=z.createElement("div",{className:`${tn}-icon`},co);if(On==="picture"||On==="picture-card"||On==="picture-circle")if(hi==="uploading"||!yn.thumbUrl&&!yn.url){const Ea=Ie()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:hi!=="uploading"});Co=z.createElement("div",{className:Ea},co)}else{const Ea=to!=null&&to(yn)?z.createElement("img",{src:yn.thumbUrl||yn.url,alt:yn.name,className:`${tn}-list-item-image`,crossOrigin:yn.crossOrigin}):co,ca=Ie()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:to&&!to(yn)});Co=z.createElement("a",{className:ca,onClick:Mr=>Er(yn,Mr),href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ea)}const bo=Ie()(`${tn}-list-item`,`${tn}-list-item-${hi}`),Ei=typeof yn.linkProps=="string"?JSON.parse(yn.linkProps):yn.linkProps,yi=jn?Fn((typeof Oa=="function"?Oa(yn):Oa)||z.createElement(He.Z,null),()=>fo(yn),tn,cn.removeFile):null,$i=Ra&&hi==="done"?Fn((typeof Ir=="function"?Ir(yn):Ir)||z.createElement(ct.Z,null),()=>Cr(yn),tn,cn.downloadFile):null,Ni=On!=="picture-card"&&On!=="picture-circle"&&z.createElement("span",{key:"download-delete",className:Ie()(`${tn}-list-item-actions`,{picture:On==="picture"})},$i,yi),Ce=Ie()(`${tn}-list-item-name`),Te=yn.url?[z.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ce,title:yn.name},Ei,{href:yn.url,onClick:Ea=>Er(yn,Ea)}),yn.name),Ni]:[z.createElement("span",{key:"view",className:Ce,onClick:Ea=>Er(yn,Ea),title:yn.name},yn.name),Ni],Ye={pointerEvents:"none",opacity:.5},Ct=Ko?z.createElement("a",{href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:yn.url||yn.thumbUrl?void 0:Ye,onClick:Ea=>Er(yn,Ea),title:cn.previewFile},typeof Qa=="function"?Qa(yn):Qa||z.createElement(wt.Z,null)):null,Jt=(On==="picture-card"||On==="picture-circle")&&hi!=="uploading"&&z.createElement("span",{className:`${tn}-list-item-actions`},Ct,hi==="done"&&$i,yi),{getPrefixCls:Ut}=z.useContext(Ve.E_),Ln=Ut(),fn=z.createElement("div",{className:bo},Co,Te,Jt,_n&&z.createElement(ft.default,{motionName:`${Ln}-fade`,visible:hi==="uploading",motionDeadline:2e3},Ea=>{let{className:ca}=Ea;const Mr="percent"in yn?z.createElement(Zt.Z,Object.assign({},Ma,{type:"line",percent:yn.percent,"aria-label":yn["aria-label"],"aria-labelledby":yn["aria-labelledby"]})):null;return z.createElement("div",{className:Ie()(`${tn}-list-item-progress`,ca)},Mr)})),Yn=yn.response&&typeof yn.response=="string"?yn.response:((Ao=yn.error)===null||Ao===void 0?void 0:Ao.statusText)||((wi=yn.error)===null||wi===void 0?void 0:wi.message)||cn.uploadError,Sa=hi==="error"?z.createElement(gn.Z,{title:Yn,getPopupContainer:Ea=>Ea.parentNode},fn):fn;return z.createElement("div",{className:Ie()(`${tn}-list-item-container`,Pn),style:Rn,ref:qt},oo?oo(Sa,yn,rr,{download:Cr.bind(null,yn),preview:Er.bind(null,yn),remove:fo.bind(null,yn)}):Sa)});const yt=(ht,qt)=>{const{listType:tn="text",previewFile:Pn=Ae,onPreview:Rn,onDownload:cn,onRemove:On,locale:yn,iconRender:rr,isImageUrl:Ma=ut,prefixCls:ur,items:Fn=[],showPreviewIcon:oo=!0,showRemoveIcon:to=!0,showDownloadIcon:Ko=!1,removeIcon:jn,previewIcon:Ra,downloadIcon:Qa,progress:Oa={size:[-1,2],showInfo:!1},appendAction:Ir,appendActionVisible:Er=!0,itemRender:Cr,disabled:fo}=ht,Ao=(0,gt.Z)(),[wi,Fi]=z.useState(!1);z.useEffect(()=>{tn!=="picture"&&tn!=="picture-card"&&tn!=="picture-circle"||(Fn||[]).forEach(Ye=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Ye.originFileObj instanceof File||Ye.originFileObj instanceof Blob)||Ye.thumbUrl!==void 0||(Ye.thumbUrl="",Pn&&Pn(Ye.originFileObj).then(Ct=>{Ye.thumbUrl=Ct||"",Ao()}))})},[tn,Fn,Pn]),z.useEffect(()=>{Fi(!0)},[]);const hi=(Ye,Ct)=>{if(Rn)return Ct==null||Ct.preventDefault(),Rn(Ye)},Ui=Ye=>{typeof cn=="function"?cn(Ye):Ye.url&&window.open(Ye.url)},_n=Ye=>{On==null||On(Ye)},Na=Ye=>{if(rr)return rr(Ye,tn);const Ct=Ye.status==="uploading",Jt=Ma&&Ma(Ye)?z.createElement(Le,null):z.createElement(Nt,null);let Ut=Ct?z.createElement(Pt.Z,null):z.createElement(Hn,null);return tn==="picture"?Ut=Ct?z.createElement(Pt.Z,null):Jt:(tn==="picture-card"||tn==="picture-circle")&&(Ut=Ct?yn.uploading:Jt),Ut},co=(Ye,Ct,Jt,Ut)=>{const Ln={type:"text",size:"small",title:Ut,onClick:fn=>{Ct(),(0,ve.l$)(Ye)&&Ye.props.onClick&&Ye.props.onClick(fn)},className:`${Jt}-list-item-action`,disabled:fo};if((0,ve.l$)(Ye)){const fn=(0,ve.Tm)(Ye,Object.assign(Object.assign({},Ye.props),{onClick:()=>{}}));return z.createElement(Ge.ZP,Object.assign({},Ln,{icon:fn}))}return z.createElement(Ge.ZP,Object.assign({},Ln),z.createElement("span",null,Ye))};z.useImperativeHandle(qt,()=>({handlePreview:hi,handleDownload:Ui}));const{getPrefixCls:Co}=z.useContext(Ve.E_),bo=Co("upload",ur),Ei=Co(),yi=Ie()(`${bo}-list`,`${bo}-list-${tn}`),$i=(0,se.Z)(Fn.map(Ye=>({key:Ye.uid,file:Ye})));let Ce={motionDeadline:2e3,motionName:`${bo}-${tn==="picture-card"||tn==="picture-circle"?"animate-inline":"animate"}`,keys:$i,motionAppear:wi};const Te=z.useMemo(()=>{const Ye=Object.assign({},(0,Oe.Z)(Ei));return delete Ye.onAppearEnd,delete Ye.onEnterEnd,delete Ye.onLeaveEnd,Ye},[Ei]);return tn!=="picture-card"&&tn!=="picture-circle"&&(Ce=Object.assign(Object.assign({},Te),Ce)),z.createElement("div",{className:yi},z.createElement(ft.CSSMotionList,Object.assign({},Ce,{component:!1}),Ye=>{let{key:Ct,file:Jt,className:Ut,style:Ln}=Ye;return z.createElement(Dt,{key:Ct,locale:yn,prefixCls:bo,className:Ut,style:Ln,file:Jt,items:Fn,progress:Oa,listType:tn,isImgUrl:Ma,showPreviewIcon:oo,showRemoveIcon:to,showDownloadIcon:Ko,removeIcon:jn,previewIcon:Ra,downloadIcon:Qa,iconRender:Na,actionIconRender:co,itemRender:Cr,onPreview:hi,onDownload:Ui,onClose:_n})}),Ir&&z.createElement(ft.default,Object.assign({},Ce,{visible:Er,forceRender:!0}),Ye=>{let{className:Ct,style:Jt}=Ye;return(0,ve.Tm)(Ir,Ut=>({className:Ie()(Ut.className,Ct),style:Object.assign(Object.assign(Object.assign({},Jt),{pointerEvents:Ct?"none":void 0}),Ut.style)}))}))};var Vt=z.forwardRef(yt),un=te(17313),Un=te(8378),mn=te(83116),an=te(37613),_t=ht=>{const{componentCls:qt,iconCls:tn}=ht;return{[`${qt}-wrapper`]:{[`${qt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ht.colorFillAlter,border:`${ht.lineWidth}px dashed ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${ht.motionDurationSlow}`,[qt]:{padding:`${ht.padding}px 0`},[`${qt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${qt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${qt}-disabled):hover`]:{borderColor:ht.colorPrimaryHover},[`p${qt}-drag-icon`]:{marginBottom:ht.margin,[tn]:{color:ht.colorPrimary,fontSize:ht.uploadThumbnailSize}},[`p${qt}-text`]:{margin:`0 0 ${ht.marginXXS}px`,color:ht.colorTextHeading,fontSize:ht.fontSizeLG},[`p${qt}-hint`]:{color:ht.colorTextDescription,fontSize:ht.fontSize},[`&${qt}-disabled`]:{cursor:"not-allowed",[`p${qt}-drag-icon ${tn},
|
|
p${qt}-text,
|
|
p${qt}-hint
|
|
`]:{color:ht.colorTextDisabled}}}}}},Xt=ht=>{const{componentCls:qt,antCls:tn,iconCls:Pn,fontSize:Rn,lineHeight:cn}=ht,On=`${qt}-list-item`,yn=`${On}-actions`,rr=`${On}-action`,Ma=Math.round(Rn*cn);return{[`${qt}-wrapper`]:{[`${qt}-list`]:Object.assign(Object.assign({},(0,un.dF)()),{lineHeight:ht.lineHeight,[On]:{position:"relative",height:ht.lineHeight*Rn,marginTop:ht.marginXS,fontSize:Rn,display:"flex",alignItems:"center",transition:`background-color ${ht.motionDurationSlow}`,"&:hover":{backgroundColor:ht.controlItemBgHover},[`${On}-name`]:Object.assign(Object.assign({},un.vS),{padding:`0 ${ht.paddingXS}px`,lineHeight:cn,flex:"auto",transition:`all ${ht.motionDurationSlow}`}),[yn]:{[rr]:{opacity:0},[`${rr}${tn}-btn-sm`]:{height:Ma,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${rr}:focus-visible,
|
|
&.picture ${rr}
|
|
`]:{opacity:1},[Pn]:{color:ht.actionsColor,transition:`all ${ht.motionDurationSlow}`},[`&:hover ${Pn}`]:{color:ht.colorText}},[`${qt}-icon ${Pn}`]:{color:ht.colorTextDescription,fontSize:Rn},[`${On}-progress`]:{position:"absolute",bottom:-ht.uploadProgressOffset,width:"100%",paddingInlineStart:Rn+ht.paddingXS,fontSize:Rn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${On}:hover ${rr}`]:{opacity:1,color:ht.colorText},[`${On}-error`]:{color:ht.colorError,[`${On}-name, ${qt}-icon ${Pn}`]:{color:ht.colorError},[yn]:{[`${Pn}, ${Pn}:hover`]:{color:ht.colorError},[rr]:{opacity:1}}},[`${qt}-list-item-container`]:{transition:`opacity ${ht.motionDurationSlow}, height ${ht.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},ya=te(36237),ta=te(1950);const Mn=new ya.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ga=new ya.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Nr=ht=>{const{componentCls:qt}=ht,tn=`${qt}-animate-inline`;return[{[`${qt}-wrapper`]:{[`${tn}-appear, ${tn}-enter, ${tn}-leave`]:{animationDuration:ht.motionDurationSlow,animationTimingFunction:ht.motionEaseInOutCirc,animationFillMode:"forwards"},[`${tn}-appear, ${tn}-enter`]:{animationName:Mn},[`${tn}-leave`]:{animationName:Ga}}},{[`${qt}-wrapper`]:(0,ta.J$)(ht)},Mn,Ga]},Dr=te(30071),Xa=te(64993);const at=ht=>{const{componentCls:qt,iconCls:tn,uploadThumbnailSize:Pn,uploadProgressOffset:Rn}=ht,cn=`${qt}-list`,On=`${cn}-item`;return{[`${qt}-wrapper`]:{[`
|
|
${cn}${cn}-picture,
|
|
${cn}${cn}-picture-card,
|
|
${cn}${cn}-picture-circle
|
|
`]:{[On]:{position:"relative",height:Pn+ht.lineWidth*2+ht.paddingXS*2,padding:ht.paddingXS,border:`${ht.lineWidth}px ${ht.lineType} ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,"&:hover":{background:"transparent"},[`${On}-thumbnail`]:Object.assign(Object.assign({},un.vS),{width:Pn,height:Pn,lineHeight:`${Pn+ht.paddingSM}px`,textAlign:"center",flex:"none",[tn]:{fontSize:ht.fontSizeHeading2,color:ht.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${On}-progress`]:{bottom:Rn,width:`calc(100% - ${ht.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Pn+ht.paddingXS}},[`${On}-error`]:{borderColor:ht.colorError,[`${On}-thumbnail ${tn}`]:{[`svg path[fill='${Dr.blue[0]}']`]:{fill:ht.colorErrorBg},[`svg path[fill='${Dr.blue.primary}']`]:{fill:ht.colorError}}},[`${On}-uploading`]:{borderStyle:"dashed",[`${On}-name`]:{marginBottom:Rn}}},[`${cn}${cn}-picture-circle ${On}`]:{[`&, &::before, ${On}-thumbnail`]:{borderRadius:"50%"}}}}},Mt=ht=>{const{componentCls:qt,iconCls:tn,fontSizeLG:Pn,colorTextLightSolid:Rn}=ht,cn=`${qt}-list`,On=`${cn}-item`,yn=ht.uploadPicCardSize;return{[`
|
|
${qt}-wrapper${qt}-picture-card-wrapper,
|
|
${qt}-wrapper${qt}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,un.dF)()),{display:"inline-block",width:"100%",[`${qt}${qt}-select`]:{width:yn,height:yn,marginInlineEnd:ht.marginXS,marginBottom:ht.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:ht.colorFillAlter,border:`${ht.lineWidth}px dashed ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${ht.motionDurationSlow}`,[`> ${qt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${qt}-disabled):hover`]:{borderColor:ht.colorPrimary}},[`${cn}${cn}-picture-card, ${cn}${cn}-picture-circle`]:{[`${cn}-item-container`]:{display:"inline-block",width:yn,height:yn,marginBlock:`0 ${ht.marginXS}px`,marginInline:`0 ${ht.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[On]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ht.paddingXS*2}px)`,height:`calc(100% - ${ht.paddingXS*2}px)`,backgroundColor:ht.colorBgMask,opacity:0,transition:`all ${ht.motionDurationSlow}`,content:'" "'}},[`${On}:hover`]:{[`&::before, ${On}-actions`]:{opacity:1}},[`${On}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ht.motionDurationSlow}`,[`${tn}-eye, ${tn}-download, ${tn}-delete`]:{zIndex:10,width:Pn,margin:`0 ${ht.marginXXS}px`,fontSize:Pn,cursor:"pointer",transition:`all ${ht.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${On}-actions, ${On}-actions:hover`]:{[`${tn}-eye, ${tn}-download, ${tn}-delete`]:{color:new Xa.C(Rn).setAlpha(.65).toRgbString(),"&:hover":{color:Rn}}},[`${On}-thumbnail, ${On}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${On}-name`]:{display:"none",textAlign:"center"},[`${On}-file + ${On}-name`]:{position:"absolute",bottom:ht.margin,display:"block",width:`calc(100% - ${ht.paddingXS*2}px)`},[`${On}-uploading`]:{[`&${On}`]:{backgroundColor:ht.colorFillAlter},[`&::before, ${tn}-eye, ${tn}-download, ${tn}-delete`]:{display:"none"}},[`${On}-progress`]:{bottom:ht.marginXL,width:`calc(100% - ${ht.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${qt}-wrapper${qt}-picture-circle-wrapper`]:{[`${qt}${qt}-select`]:{borderRadius:"50%"}}}};var kn=ht=>{const{componentCls:qt}=ht;return{[`${qt}-rtl`]:{direction:"rtl"}}};const dn=ht=>{const{componentCls:qt,colorTextDisabled:tn}=ht;return{[`${qt}-wrapper`]:Object.assign(Object.assign({},(0,un.Wf)(ht)),{[qt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${qt}-select`]:{display:"inline-block"},[`${qt}-disabled`]:{color:tn,cursor:"not-allowed"}})}};var An=(0,mn.Z)("Upload",ht=>{const{fontSizeHeading3:qt,fontSize:tn,lineHeight:Pn,lineWidth:Rn,controlHeightLG:cn}=ht,On=Math.round(tn*Pn),yn=(0,an.TS)(ht,{uploadThumbnailSize:qt*2,uploadProgressOffset:On/2+Rn,uploadPicCardSize:cn*2.55});return[dn(yn),_t(yn),at(yn),Mt(yn),Xt(yn),Nr(yn),kn(yn),(0,Un.Z)(yn)]},ht=>({actionsColor:ht.colorTextDescription})),Xr=function(ht,qt,tn,Pn){function Rn(cn){return cn instanceof tn?cn:new tn(function(On){On(cn)})}return new(tn||(tn=Promise))(function(cn,On){function yn(ur){try{Ma(Pn.next(ur))}catch(Fn){On(Fn)}}function rr(ur){try{Ma(Pn.throw(ur))}catch(Fn){On(Fn)}}function Ma(ur){ur.done?cn(ur.value):Rn(ur.value).then(yn,rr)}Ma((Pn=Pn.apply(ht,qt||[])).next())})};const Fr=`__LIST_IGNORE_${Date.now()}__`,Kr=(ht,qt)=>{const{fileList:tn,defaultFileList:Pn,onRemove:Rn,showUploadList:cn=!0,listType:On="text",onPreview:yn,onDownload:rr,onChange:Ma,onDrop:ur,previewFile:Fn,disabled:oo,locale:to,iconRender:Ko,isImageUrl:jn,progress:Ra,prefixCls:Qa,className:Oa,type:Ir="select",children:Er,style:Cr,itemRender:fo,maxCount:Ao,data:wi={},multiple:Fi=!1,action:hi="",accept:Ui="",supportServerRender:_n=!0,rootClassName:Na}=ht,co=z.useContext(it.Z),Co=oo!=null?oo:co,[bo,Ei]=(0,$e.Z)(Pn||[],{value:tn,postState:sr=>sr!=null?sr:[]}),[yi,$i]=z.useState("drop"),Ni=z.useRef(null);z.useMemo(()=>{const sr=Date.now();(tn||[]).forEach((ao,xo)=>{!ao.uid&&!Object.isFrozen(ao)&&(ao.uid=`__AUTO__${sr}_${xo}__`)})},[tn]);const Ce=(sr,ao,xo)=>{let uo=(0,se.Z)(ao),_o=!1;Ao===1?uo=uo.slice(-1):Ao&&(_o=uo.length>Ao,uo=uo.slice(0,Ao)),(0,Ke.flushSync)(()=>{Ei(uo)});const oa={file:sr,fileList:uo};xo&&(oa.event=xo),(!_o||uo.some(Ti=>Ti.uid===sr.uid))&&(0,Ke.flushSync)(()=>{Ma==null||Ma(oa)})},Te=(sr,ao)=>Xr(void 0,void 0,void 0,function*(){const{beforeUpload:xo,transformFile:uo}=ht;let _o=sr;if(xo){const oa=yield xo(sr,ao);if(oa===!1)return!1;if(delete sr[Fr],oa===Fr)return Object.defineProperty(sr,Fr,{value:!0,configurable:!0}),!1;typeof oa=="object"&&oa&&(_o=oa)}return uo&&(_o=yield uo(_o)),_o}),Ye=sr=>{const ao=sr.filter(_o=>!_o.file[Fr]);if(!ao.length)return;const xo=ao.map(_o=>We(_o.file));let uo=(0,se.Z)(bo);xo.forEach(_o=>{uo=we(_o,uo)}),xo.forEach((_o,oa)=>{let Ti=_o;if(ao[oa].parsedFile)_o.status="uploading";else{const{originFileObj:wo}=_o;let ki;try{ki=new File([wo],wo.name,{type:wo.type})}catch(rl){ki=new Blob([wo],{type:wo.type}),ki.name=wo.name,ki.lastModifiedDate=new Date,ki.lastModified=new Date().getTime()}ki.uid=_o.uid,Ti=ki}Ce(Ti,uo)})},Ct=(sr,ao,xo)=>{try{typeof sr=="string"&&(sr=JSON.parse(sr))}catch(oa){}if(!mt(ao,bo))return;const uo=We(ao);uo.status="done",uo.percent=100,uo.response=sr,uo.xhr=xo;const _o=we(uo,bo);Ce(uo,_o)},Jt=(sr,ao)=>{if(!mt(ao,bo))return;const xo=We(ao);xo.status="uploading",xo.percent=sr.percent;const uo=we(xo,bo);Ce(xo,uo,sr)},Ut=(sr,ao,xo)=>{if(!mt(xo,bo))return;const uo=We(xo);uo.error=sr,uo.response=ao,uo.status="error";const _o=we(uo,bo);Ce(uo,_o)},Ln=sr=>{let ao;Promise.resolve(typeof Rn=="function"?Rn(sr):Rn).then(xo=>{var uo;if(xo===!1)return;const _o=et(sr,bo);_o&&(ao=Object.assign(Object.assign({},sr),{status:"removed"}),bo==null||bo.forEach(oa=>{const Ti=ao.uid!==void 0?"uid":"name";oa[Ti]===ao[Ti]&&!Object.isFrozen(oa)&&(oa.status="removed")}),(uo=Ni.current)===null||uo===void 0||uo.abort(ao),Ce(ao,_o))})},fn=sr=>{$i(sr.type),sr.type==="drop"&&(ur==null||ur(sr))};z.useImperativeHandle(qt,()=>({onBatchStart:Ye,onSuccess:Ct,onProgress:Jt,onError:Ut,fileList:bo,upload:Ni.current}));const{getPrefixCls:Yn,direction:Sa,upload:Ea}=z.useContext(Ve.E_),ca=Yn("upload",Qa),Mr=Object.assign(Object.assign({onBatchStart:Ye,onError:Ut,onProgress:Jt,onSuccess:Ct},ht),{data:wi,multiple:Fi,action:hi,accept:Ui,supportServerRender:_n,prefixCls:ca,disabled:Co,beforeUpload:Te,onChange:void 0});delete Mr.className,delete Mr.style,(!Er||Co)&&delete Mr.id;const[kr,Zo]=An(ca),[Ur]=(0,rt.Z)("Upload",vt.Z.Upload),{showRemoveIcon:ho,showPreviewIcon:ga,showDownloadIcon:Jn,removeIcon:Qn,previewIcon:pa,downloadIcon:hr}=typeof cn=="boolean"?{}:cn,or=(sr,ao)=>cn?z.createElement(Vt,{prefixCls:ca,listType:On,items:bo,previewFile:Fn,onPreview:yn,onDownload:rr,onRemove:Ln,showRemoveIcon:!Co&&ho,showPreviewIcon:ga,showDownloadIcon:Jn,removeIcon:Qn,previewIcon:pa,downloadIcon:hr,iconRender:Ko,locale:Object.assign(Object.assign({},Ur),to),isImageUrl:jn,progress:Ra,appendAction:sr,appendActionVisible:ao,itemRender:fo,disabled:Co}):sr,Zr=Ie()(`${ca}-wrapper`,Oa,Na,Zo,Ea==null?void 0:Ea.className,{[`${ca}-rtl`]:Sa==="rtl",[`${ca}-picture-card-wrapper`]:On==="picture-card",[`${ca}-picture-circle-wrapper`]:On==="picture-circle"}),Tr=Object.assign(Object.assign({},Ea==null?void 0:Ea.style),Cr);if(Ir==="drag"){const sr=Ie()(Zo,ca,`${ca}-drag`,{[`${ca}-drag-uploading`]:bo.some(ao=>ao.status==="uploading"),[`${ca}-drag-hover`]:yi==="dragover",[`${ca}-disabled`]:Co,[`${ca}-rtl`]:Sa==="rtl"});return kr(z.createElement("span",{className:Zr},z.createElement("div",{className:sr,style:Tr,onDrop:fn,onDragOver:fn,onDragLeave:fn},z.createElement(Be,Object.assign({},Mr,{ref:Ni,className:`${ca}-btn`}),z.createElement("div",{className:`${ca}-drag-container`},Er))),or()))}const vo=Ie()(ca,`${ca}-select`,{[`${ca}-disabled`]:Co}),zo=(sr=>z.createElement("div",{className:vo,style:sr},z.createElement(Be,Object.assign({},Mr,{ref:Ni}))))(Er?void 0:{display:"none"});return kr(On==="picture-card"||On==="picture-circle"?z.createElement("span",{className:Zr},or(zo,!!Er)):z.createElement("span",{className:Zr},zo,or()))};var Ja=z.forwardRef(Kr),Nn=function(ht,qt){var tn={};for(var Pn in ht)Object.prototype.hasOwnProperty.call(ht,Pn)&&qt.indexOf(Pn)<0&&(tn[Pn]=ht[Pn]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rn=0,Pn=Object.getOwnPropertySymbols(ht);Rn<Pn.length;Rn++)qt.indexOf(Pn[Rn])<0&&Object.prototype.propertyIsEnumerable.call(ht,Pn[Rn])&&(tn[Pn[Rn]]=ht[Pn[Rn]]);return tn},ar=z.forwardRef((ht,qt)=>{var{style:tn,height:Pn}=ht,Rn=Nn(ht,["style","height"]);return z.createElement(Ja,Object.assign({ref:qt},Rn,{type:"drag",style:Object.assign(Object.assign({},tn),{height:Pn})}))});const mr=Ja;mr.Dragger=ar,mr.LIST_IGNORE=Fr;var tr=mr},24334:function(Et,St,te){var z,se;(function(he,Ie){Et.exports=Ie(he)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(he){"use strict";he=he||{};var Ie=he.Base64,be="2.6.4",Ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(_e){for(var pt={},Be=0,$e=_e.length;Be<$e;Be++)pt[_e.charAt(Be)]=Be;return pt}(Ne),nt=String.fromCharCode,je=function(_e){if(_e.length<2){var pt=_e.charCodeAt(0);return pt<128?_e:pt<2048?nt(192|pt>>>6)+nt(128|pt&63):nt(224|pt>>>12&15)+nt(128|pt>>>6&63)+nt(128|pt&63)}else{var pt=65536+(_e.charCodeAt(0)-55296)*1024+(_e.charCodeAt(1)-56320);return nt(240|pt>>>18&7)+nt(128|pt>>>12&63)+nt(128|pt>>>6&63)+nt(128|pt&63)}},Ze=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ze=function(_e){return _e.replace(Ze,je)},Me=function(_e){var pt=[0,2,1][_e.length%3],Be=_e.charCodeAt(0)<<16|(_e.length>1?_e.charCodeAt(1):0)<<8|(_e.length>2?_e.charCodeAt(2):0),$e=[Ne.charAt(Be>>>18),Ne.charAt(Be>>>12&63),pt>=2?"=":Ne.charAt(Be>>>6&63),pt>=1?"=":Ne.charAt(Be&63)];return $e.join("")},ye=he.btoa&&typeof he.btoa=="function"?function(_e){return he.btoa(_e)}:function(_e){if(_e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return _e.replace(/[\s\S]{1,3}/g,Me)},re=function(_e){return ye(ze(String(_e)))},a=function(_e){return _e.replace(/[+\/]/g,function(pt){return pt=="+"?"-":"_"}).replace(/=/g,"")},y=function(_e,pt){return pt?a(re(_e)):re(_e)},b=function(_e){return y(_e,!0)},E;he.Uint8Array&&(E=function(_e,pt){for(var Be="",$e=0,Ke=_e.length;$e<Ke;$e+=3){var Ve=_e[$e],it=_e[$e+1],rt=_e[$e+2],vt=Ve<<16|it<<8|rt;Be+=Ne.charAt(vt>>>18)+Ne.charAt(vt>>>12&63)+(typeof it!="undefined"?Ne.charAt(vt>>>6&63):"=")+(typeof rt!="undefined"?Ne.charAt(vt&63):"=")}return pt?a(Be):Be});var x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(_e){switch(_e.length){case 4:var pt=(7&_e.charCodeAt(0))<<18|(63&_e.charCodeAt(1))<<12|(63&_e.charCodeAt(2))<<6|63&_e.charCodeAt(3),Be=pt-65536;return nt((Be>>>10)+55296)+nt((Be&1023)+56320);case 3:return nt((15&_e.charCodeAt(0))<<12|(63&_e.charCodeAt(1))<<6|63&_e.charCodeAt(2));default:return nt((31&_e.charCodeAt(0))<<6|63&_e.charCodeAt(1))}},ne=function(_e){return _e.replace(x,ee)},oe=function(_e){var pt=_e.length,Be=pt%4,$e=(pt>0?ie[_e.charAt(0)]<<18:0)|(pt>1?ie[_e.charAt(1)]<<12:0)|(pt>2?ie[_e.charAt(2)]<<6:0)|(pt>3?ie[_e.charAt(3)]:0),Ke=[nt($e>>>16),nt($e>>>8&255),nt($e&255)];return Ke.length-=[0,0,2,1][Be],Ke.join("")},ae=he.atob&&typeof he.atob=="function"?function(_e){return he.atob(_e)}:function(_e){return _e.replace(/\S{1,4}/g,oe)},ue=function(_e){return ae(String(_e).replace(/[^A-Za-z0-9\+\/]/g,""))},me=function(_e){return ne(ae(_e))},fe=function(_e){return String(_e).replace(/[-_]/g,function(pt){return pt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Pe=function(_e){return me(fe(_e))},xe;he.Uint8Array&&(xe=function(_e){return Uint8Array.from(ue(fe(_e)),function(pt){return pt.charCodeAt(0)})});var Ee=function(){var _e=he.Base64;return he.Base64=Ie,_e};if(he.Base64={VERSION:be,atob:ue,btoa:ye,fromBase64:Pe,toBase64:y,utob:ze,encode:y,encodeURI:b,btou:ne,decode:Pe,noConflict:Ee,fromUint8Array:E,toUint8Array:xe},typeof Object.defineProperty=="function"){var De=function(_e){return{value:_e,enumerable:!1,writable:!0,configurable:!0}};he.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",De(function(){return Pe(this)})),Object.defineProperty(String.prototype,"toBase64",De(function(_e){return y(this,_e)})),Object.defineProperty(String.prototype,"toBase64URI",De(function(){return y(this,!0)}))}}return he.Meteor&&(Base64=he.Base64),Et.exports?Et.exports.Base64=he.Base64:(z=[],se=function(){return he.Base64}.apply(St,z),se!==void 0&&(Et.exports=se)),{Base64:he.Base64}})},91735:function(Et,St){"use strict";St.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},39417:function(Et,St,te){"use strict";te.d(St,{Z:function(){return me}});var z=te(54476),se=te(20068),he=te(75931),Ie=te(33885),be=te(67732),Ne=te(83652),ie=te(31226),nt=te(42403),je=te(158),Ze=te(92310),ze=te.n(Ze),Me=te(26112),ye=te(59301),re=te(39378),a=function(Pe){for(var xe=Pe.prefixCls,Ee=Pe.level,De=Pe.isStart,_e=Pe.isEnd,pt="".concat(xe,"-indent-unit"),Be=[],$e=0;$e<Ee;$e+=1){var Ke;Be.push(ye.createElement("span",{key:$e,className:ze()(pt,(Ke={},(0,se.Z)(Ke,"".concat(pt,"-start"),De[$e]),(0,se.Z)(Ke,"".concat(pt,"-end"),_e[$e]),Ke))}))}return ye.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},Be)},y=ye.memo(a),b=te(67841),E=te(71430),x=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",ne="close",oe="---",ae=function(fe){(0,nt.Z)(xe,fe);var Pe=(0,je.Z)(xe);function xe(){var Ee;(0,be.Z)(this,xe);for(var De=arguments.length,_e=new Array(De),pt=0;pt<De;pt++)_e[pt]=arguments[pt];return Ee=Pe.call.apply(Pe,[this].concat(_e)),Ee.state={dragNodeHighlight:!1},Ee.selectHandle=void 0,Ee.cacheIndent=void 0,Ee.onSelectorClick=function(Be){var $e=Ee.props.context.onNodeClick;$e(Be,(0,E.F)(Ee.props)),Ee.isSelectable()?Ee.onSelect(Be):Ee.onCheck(Be)},Ee.onSelectorDoubleClick=function(Be){var $e=Ee.props.context.onNodeDoubleClick;$e(Be,(0,E.F)(Ee.props))},Ee.onSelect=function(Be){if(!Ee.isDisabled()){var $e=Ee.props.context.onNodeSelect;$e(Be,(0,E.F)(Ee.props))}},Ee.onCheck=function(Be){if(!Ee.isDisabled()){var $e=Ee.props,Ke=$e.disableCheckbox,Ve=$e.checked,it=Ee.props.context.onNodeCheck;if(!(!Ee.isCheckable()||Ke)){var rt=!Ve;it(Be,(0,E.F)(Ee.props),rt)}}},Ee.onMouseEnter=function(Be){var $e=Ee.props.context.onNodeMouseEnter;$e(Be,(0,E.F)(Ee.props))},Ee.onMouseLeave=function(Be){var $e=Ee.props.context.onNodeMouseLeave;$e(Be,(0,E.F)(Ee.props))},Ee.onContextMenu=function(Be){var $e=Ee.props.context.onNodeContextMenu;$e(Be,(0,E.F)(Ee.props))},Ee.onDragStart=function(Be){var $e=Ee.props.context.onNodeDragStart;Be.stopPropagation(),Ee.setState({dragNodeHighlight:!0}),$e(Be,(0,ie.Z)(Ee));try{Be.dataTransfer.setData("text/plain","")}catch(Ke){}},Ee.onDragEnter=function(Be){var $e=Ee.props.context.onNodeDragEnter;Be.preventDefault(),Be.stopPropagation(),$e(Be,(0,ie.Z)(Ee))},Ee.onDragOver=function(Be){var $e=Ee.props.context.onNodeDragOver;Be.preventDefault(),Be.stopPropagation(),$e(Be,(0,ie.Z)(Ee))},Ee.onDragLeave=function(Be){var $e=Ee.props.context.onNodeDragLeave;Be.stopPropagation(),$e(Be,(0,ie.Z)(Ee))},Ee.onDragEnd=function(Be){var $e=Ee.props.context.onNodeDragEnd;Be.stopPropagation(),Ee.setState({dragNodeHighlight:!1}),$e(Be,(0,ie.Z)(Ee))},Ee.onDrop=function(Be){var $e=Ee.props.context.onNodeDrop;Be.preventDefault(),Be.stopPropagation(),Ee.setState({dragNodeHighlight:!1}),$e(Be,(0,ie.Z)(Ee))},Ee.onExpand=function(Be){var $e=Ee.props,Ke=$e.loading,Ve=$e.context.onNodeExpand;Ke||Ve(Be,(0,E.F)(Ee.props))},Ee.setSelectHandle=function(Be){Ee.selectHandle=Be},Ee.getNodeState=function(){var Be=Ee.props.expanded;return Ee.isLeaf()?null:Be?ee:ne},Ee.hasChildren=function(){var Be=Ee.props.eventKey,$e=Ee.props.context.keyEntities,Ke=(0,b.Z)($e,Be)||{},Ve=Ke.children;return!!(Ve||[]).length},Ee.isLeaf=function(){var Be=Ee.props,$e=Be.isLeaf,Ke=Be.loaded,Ve=Ee.props.context.loadData,it=Ee.hasChildren();return $e===!1?!1:$e||!Ve&&!it||Ve&&Ke&&!it},Ee.isDisabled=function(){var Be=Ee.props.disabled,$e=Ee.props.context.disabled;return!!($e||Be)},Ee.isCheckable=function(){var Be=Ee.props.checkable,$e=Ee.props.context.checkable;return!$e||Be===!1?!1:$e},Ee.syncLoadData=function(Be){var $e=Be.expanded,Ke=Be.loading,Ve=Be.loaded,it=Ee.props.context,rt=it.loadData,vt=it.onNodeLoad;Ke||rt&&$e&&!Ee.isLeaf()&&!Ee.hasChildren()&&!Ve&&vt((0,E.F)(Ee.props))},Ee.isDraggable=function(){var Be=Ee.props,$e=Be.data,Ke=Be.context.draggable;return!!(Ke&&(!Ke.nodeDraggable||Ke.nodeDraggable($e)))},Ee.renderDragHandler=function(){var Be=Ee.props.context,$e=Be.draggable,Ke=Be.prefixCls;return $e!=null&&$e.icon?ye.createElement("span",{className:"".concat(Ke,"-draggable-icon")},$e.icon):null},Ee.renderSwitcherIconDom=function(Be){var $e=Ee.props.switcherIcon,Ke=Ee.props.context.switcherIcon,Ve=$e||Ke;return typeof Ve=="function"?Ve((0,Ie.Z)((0,Ie.Z)({},Ee.props),{},{isLeaf:Be})):Ve},Ee.renderSwitcher=function(){var Be=Ee.props.expanded,$e=Ee.props.context.prefixCls;if(Ee.isLeaf()){var Ke=Ee.renderSwitcherIconDom(!0);return Ke!==!1?ye.createElement("span",{className:ze()("".concat($e,"-switcher"),"".concat($e,"-switcher-noop"))},Ke):null}var Ve=ze()("".concat($e,"-switcher"),"".concat($e,"-switcher_").concat(Be?ee:ne)),it=Ee.renderSwitcherIconDom(!1);return it!==!1?ye.createElement("span",{onClick:Ee.onExpand,className:Ve},it):null},Ee.renderCheckbox=function(){var Be=Ee.props,$e=Be.checked,Ke=Be.halfChecked,Ve=Be.disableCheckbox,it=Ee.props.context.prefixCls,rt=Ee.isDisabled(),vt=Ee.isCheckable();if(!vt)return null;var Rt=typeof vt!="boolean"?vt:null;return ye.createElement("span",{className:ze()("".concat(it,"-checkbox"),$e&&"".concat(it,"-checkbox-checked"),!$e&&Ke&&"".concat(it,"-checkbox-indeterminate"),(rt||Ve)&&"".concat(it,"-checkbox-disabled")),onClick:Ee.onCheck},Rt)},Ee.renderIcon=function(){var Be=Ee.props.loading,$e=Ee.props.context.prefixCls;return ye.createElement("span",{className:ze()("".concat($e,"-iconEle"),"".concat($e,"-icon__").concat(Ee.getNodeState()||"docu"),Be&&"".concat($e,"-icon_loading"))})},Ee.renderSelector=function(){var Be=Ee.state.dragNodeHighlight,$e=Ee.props,Ke=$e.title,Ve=Ke===void 0?oe:Ke,it=$e.selected,rt=$e.icon,vt=$e.loading,Rt=$e.data,Yt=Ee.props.context,Je=Yt.prefixCls,st=Yt.showIcon,At=Yt.icon,Nt=Yt.loadData,Pt=Yt.titleRender,sn=Ee.isDisabled(),Fe="".concat(Je,"-node-content-wrapper"),Qt;if(st){var Gt=rt||At;Qt=Gt?ye.createElement("span",{className:ze()("".concat(Je,"-iconEle"),"".concat(Je,"-icon__customize"))},typeof Gt=="function"?Gt(Ee.props):Gt):Ee.renderIcon()}else Nt&&vt&&(Qt=Ee.renderIcon());var Hn;typeof Ve=="function"?Hn=Ve(Rt):Pt?Hn=Pt(Rt):Hn=Ve;var ea=ye.createElement("span",{className:"".concat(Je,"-title")},Hn);return ye.createElement("span",{ref:Ee.setSelectHandle,title:typeof Ve=="string"?Ve:"",className:ze()("".concat(Fe),"".concat(Fe,"-").concat(Ee.getNodeState()||"normal"),!sn&&(it||Be)&&"".concat(Je,"-node-selected")),onMouseEnter:Ee.onMouseEnter,onMouseLeave:Ee.onMouseLeave,onContextMenu:Ee.onContextMenu,onClick:Ee.onSelectorClick,onDoubleClick:Ee.onSelectorDoubleClick},Qt,ea,Ee.renderDropIndicator())},Ee.renderDropIndicator=function(){var Be=Ee.props,$e=Be.disabled,Ke=Be.eventKey,Ve=Ee.props.context,it=Ve.draggable,rt=Ve.dropLevelOffset,vt=Ve.dropPosition,Rt=Ve.prefixCls,Yt=Ve.indent,Je=Ve.dropIndicatorRender,st=Ve.dragOverNodeKey,At=Ve.direction,Nt=!!it,Pt=!$e&&Nt&&st===Ke,sn=Yt!=null?Yt:Ee.cacheIndent;return Ee.cacheIndent=Yt,Pt?Je({dropPosition:vt,dropLevelOffset:rt,indent:sn,prefixCls:Rt,direction:At}):null},Ee}return(0,Ne.Z)(xe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var De=this.props.selectable,_e=this.props.context.selectable;return typeof De=="boolean"?De:_e}},{key:"render",value:function(){var De,_e=this.props,pt=_e.eventKey,Be=_e.className,$e=_e.style,Ke=_e.dragOver,Ve=_e.dragOverGapTop,it=_e.dragOverGapBottom,rt=_e.isLeaf,vt=_e.isStart,Rt=_e.isEnd,Yt=_e.expanded,Je=_e.selected,st=_e.checked,At=_e.halfChecked,Nt=_e.loading,Pt=_e.domRef,sn=_e.active,Fe=_e.data,Qt=_e.onMouseMove,Gt=_e.selectable,Hn=(0,he.Z)(_e,x),ea=this.props.context,Re=ea.prefixCls,qe=ea.filterTreeNode,tt=ea.keyEntities,Le=ea.dropContainerKey,ft=ea.dropTargetKey,gt=ea.draggingNodeKey,Oe=this.isDisabled(),ve=(0,Me.Z)(Hn,{aria:!0,data:!0}),Ge=(0,b.Z)(tt,pt)||{},We=Ge.level,we=Rt[Rt.length-1],mt=this.isDraggable(),et=!Oe&&mt,Ht=gt===pt,Se=Gt!==void 0?{"aria-selected":!!Gt}:void 0;return ye.createElement("div",(0,z.Z)({ref:Pt,className:ze()(Be,"".concat(Re,"-treenode"),(De={},(0,se.Z)(De,"".concat(Re,"-treenode-disabled"),Oe),(0,se.Z)(De,"".concat(Re,"-treenode-switcher-").concat(Yt?"open":"close"),!rt),(0,se.Z)(De,"".concat(Re,"-treenode-checkbox-checked"),st),(0,se.Z)(De,"".concat(Re,"-treenode-checkbox-indeterminate"),At),(0,se.Z)(De,"".concat(Re,"-treenode-selected"),Je),(0,se.Z)(De,"".concat(Re,"-treenode-loading"),Nt),(0,se.Z)(De,"".concat(Re,"-treenode-active"),sn),(0,se.Z)(De,"".concat(Re,"-treenode-leaf-last"),we),(0,se.Z)(De,"".concat(Re,"-treenode-draggable"),mt),(0,se.Z)(De,"dragging",Ht),(0,se.Z)(De,"drop-target",ft===pt),(0,se.Z)(De,"drop-container",Le===pt),(0,se.Z)(De,"drag-over",!Oe&&Ke),(0,se.Z)(De,"drag-over-gap-top",!Oe&&Ve),(0,se.Z)(De,"drag-over-gap-bottom",!Oe&&it),(0,se.Z)(De,"filter-node",qe&&qe((0,E.F)(this.props))),De)),style:$e,draggable:et,"aria-grabbed":Ht,onDragStart:et?this.onDragStart:void 0,onDragEnter:mt?this.onDragEnter:void 0,onDragOver:mt?this.onDragOver:void 0,onDragLeave:mt?this.onDragLeave:void 0,onDrop:mt?this.onDrop:void 0,onDragEnd:mt?this.onDragEnd:void 0,onMouseMove:Qt},Se,ve),ye.createElement(y,{prefixCls:Re,level:We,isStart:vt,isEnd:Rt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xe}(ye.Component),ue=function(Pe){return ye.createElement(re.k.Consumer,null,function(xe){return ye.createElement(ae,(0,z.Z)({},Pe,{context:xe}))})};ue.displayName="TreeNode",ue.isTreeNode=1;var me=ue},39378:function(Et,St,te){"use strict";te.d(St,{k:function(){return se}});var z=te(59301),se=z.createContext(null)},60091:function(Et,St,te){"use strict";te.d(St,{O:function(){return me.Z},Z:function(){return ea}});var z=te(54476),se=te(20068),he=te(76190),Ie=te(33885),be=te(94480),Ne=te(67732),ie=te(83652),nt=te(31226),je=te(42403),Ze=te(158),ze=te(92310),Me=te.n(ze),ye=te(10228),re=te(26112),a=te(48736),y=te(59301),b=te(39378);function E(Re){var qe=Re.dropPosition,tt=Re.dropLevelOffset,Le=Re.indent,ft={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(qe){case-1:ft.top=0,ft.left=-tt*Le;break;case 1:ft.bottom=0,ft.left=-tt*Le;break;case 0:ft.bottom=0,ft.left=Le;break}return y.createElement("div",{style:ft})}function x(Re){if(Re==null)throw new TypeError("Cannot destructure "+Re)}var ee=te(42978),ne=te(75931),oe=te(34280),ae=te(48911),ue=te(77900),me=te(39417);function fe(Re,qe){var tt=y.useState(!1),Le=(0,ee.Z)(tt,2),ft=Le[0],gt=Le[1];y.useLayoutEffect(function(){if(ft)return Re(),function(){qe()}},[ft]),y.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var Pe=te(71430),xe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Ee=function(qe,tt){var Le=qe.className,ft=qe.style,gt=qe.motion,Oe=qe.motionNodes,ve=qe.motionType,Ge=qe.onMotionStart,We=qe.onMotionEnd,we=qe.active,mt=qe.treeNodeRequiredProps,et=(0,ne.Z)(qe,xe),Ht=y.useState(!0),Se=(0,ee.Z)(Ht,2),ut=Se[0],xt=Se[1],Ae=y.useContext(b.k),He=Ae.prefixCls,ct=Oe&&ve!=="hide";(0,oe.Z)(function(){Oe&&ct!==ut&&xt(ct)},[Oe]);var wt=function(){Oe&&Ge()},Zt=y.useRef(!1),gn=function(){Oe&&!Zt.current&&(Zt.current=!0,We())};fe(wt,gn);var dt=function(yt){ct===yt&&gn()};return Oe?y.createElement(ue.default,(0,z.Z)({ref:tt,visible:ut},gt,{motionAppear:ve==="show",onVisibleChanged:dt}),function(Dt,yt){var en=Dt.className,Vt=Dt.style;return y.createElement("div",{ref:yt,className:Me()("".concat(He,"-treenode-motion"),en),style:Vt},Oe.map(function(un){var Un=(0,z.Z)({},(x(un.data),un.data)),mn=un.title,an=un.key,$n=un.isStart,_t=un.isEnd;delete Un.children;var Tt=(0,Pe.H8)(an,mt);return y.createElement(me.Z,(0,z.Z)({},Un,Tt,{title:mn,active:we,data:un.data,key:an,isStart:$n,isEnd:_t}))}))}):y.createElement(me.Z,(0,z.Z)({domRef:tt,className:Le,style:ft},et,{active:we}))};Ee.displayName="MotionTreeNode";var De=y.forwardRef(Ee),_e=De;function pt(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],tt=Re.length,Le=qe.length;if(Math.abs(tt-Le)!==1)return{add:!1,key:null};function ft(gt,Oe){var ve=new Map;gt.forEach(function(We){ve.set(We,!0)});var Ge=Oe.filter(function(We){return!ve.has(We)});return Ge.length===1?Ge[0]:null}return tt<Le?{add:!0,key:ft(Re,qe)}:{add:!1,key:ft(qe,Re)}}function Be(Re,qe,tt){var Le=Re.findIndex(function(ve){return ve.key===tt}),ft=Re[Le+1],gt=qe.findIndex(function(ve){return ve.key===tt});if(ft){var Oe=qe.findIndex(function(ve){return ve.key===ft.key});return qe.slice(gt+1,Oe)}return qe.slice(gt+1)}var $e=["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"],Ke={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ve=function(){},it="RC_TREE_MOTION_".concat(Math.random()),rt={key:it},vt={key:it,level:0,index:0,pos:"0",node:rt,nodes:[rt]},Rt={parent:null,children:[],pos:vt.pos,data:rt,title:null,key:it,isStart:[],isEnd:[]};function Yt(Re,qe,tt,Le){return qe===!1||!tt?Re:Re.slice(0,Math.ceil(tt/Le)+1)}function Je(Re){var qe=Re.key,tt=Re.pos;return(0,Pe.km)(qe,tt)}function st(Re){for(var qe=String(Re.data.key),tt=Re;tt.parent;)tt=tt.parent,qe="".concat(tt.data.key," > ").concat(qe);return qe}var At=y.forwardRef(function(Re,qe){var tt=Re.prefixCls,Le=Re.data,ft=Re.selectable,gt=Re.checkable,Oe=Re.expandedKeys,ve=Re.selectedKeys,Ge=Re.checkedKeys,We=Re.loadedKeys,we=Re.loadingKeys,mt=Re.halfCheckedKeys,et=Re.keyEntities,Ht=Re.disabled,Se=Re.dragging,ut=Re.dragOverNodeKey,xt=Re.dropPosition,Ae=Re.motion,He=Re.height,ct=Re.itemHeight,wt=Re.virtual,Zt=Re.focusable,gn=Re.activeItem,dt=Re.focused,Dt=Re.tabIndex,yt=Re.onKeyDown,en=Re.onFocus,Vt=Re.onBlur,un=Re.onActiveChange,Un=Re.onListChangeStart,mn=Re.onListChangeEnd,an=(0,ne.Z)(Re,$e),$n=y.useRef(null),_t=y.useRef(null);y.useImperativeHandle(qe,function(){return{scrollTo:function(tr){$n.current.scrollTo(tr)},getIndentWidth:function(){return _t.current.offsetWidth}}});var Tt=y.useState(Oe),Xt=(0,ee.Z)(Tt,2),ya=Xt[0],ta=Xt[1],Mn=y.useState(Le),Ga=(0,ee.Z)(Mn,2),Ba=Ga[0],Nr=Ga[1],Dr=y.useState(Le),Xa=(0,ee.Z)(Dr,2),at=Xa[0],Mt=Xa[1],Ft=y.useState([]),kn=(0,ee.Z)(Ft,2),dn=kn[0],An=kn[1],Xr=y.useState(null),Fr=(0,ee.Z)(Xr,2),Kr=Fr[0],ro=Fr[1],Ja=y.useRef(Le);Ja.current=Le;function Nn(){var mr=Ja.current;Nr(mr),Mt(mr),An([]),ro(null),mn()}(0,oe.Z)(function(){ta(Oe);var mr=pt(ya,Oe);if(mr.key!==null)if(mr.add){var tr=Ba.findIndex(function(cn){var On=cn.key;return On===mr.key}),ht=Yt(Be(Ba,Le,mr.key),wt,He,ct),qt=Ba.slice();qt.splice(tr+1,0,Rt),Mt(qt),An(ht),ro("show")}else{var tn=Le.findIndex(function(cn){var On=cn.key;return On===mr.key}),Pn=Yt(Be(Le,Ba,mr.key),wt,He,ct),Rn=Le.slice();Rn.splice(tn+1,0,Rt),Mt(Rn),An(Pn),ro("hide")}else Ba!==Le&&(Nr(Le),Mt(Le))},[Oe,Le]),y.useEffect(function(){Se||Nn()},[Se]);var gr=Ae?at:Le,ar={expandedKeys:Oe,selectedKeys:ve,loadedKeys:We,loadingKeys:we,checkedKeys:Ge,halfCheckedKeys:mt,dragOverNodeKey:ut,dropPosition:xt,keyEntities:et};return y.createElement(y.Fragment,null,dt&&gn&&y.createElement("span",{style:Ke,"aria-live":"assertive"},st(gn)),y.createElement("div",null,y.createElement("input",{style:Ke,disabled:Zt===!1||Ht,tabIndex:Zt!==!1?Dt:null,onKeyDown:yt,onFocus:en,onBlur:Vt,value:"",onChange:Ve,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(tt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(tt,"-indent")},y.createElement("div",{ref:_t,className:"".concat(tt,"-indent-unit")}))),y.createElement(ae.Z,(0,z.Z)({},an,{data:gr,itemKey:Je,height:He,fullHeight:!1,virtual:wt,itemHeight:ct,prefixCls:"".concat(tt,"-list"),ref:$n,onVisibleChange:function(tr,ht){var qt=new Set(tr),tn=ht.filter(function(Pn){return!qt.has(Pn)});tn.some(function(Pn){return Je(Pn)===it})&&Nn()}}),function(mr){var tr=mr.pos,ht=(0,z.Z)({},(x(mr.data),mr.data)),qt=mr.title,tn=mr.key,Pn=mr.isStart,Rn=mr.isEnd,cn=(0,Pe.km)(tn,tr);delete ht.key,delete ht.children;var On=(0,Pe.H8)(cn,ar);return y.createElement(_e,(0,z.Z)({},ht,On,{title:qt,active:!!gn&&tn===gn.key,pos:tr,data:mr.data,isStart:Pn,isEnd:Rn,motion:Ae,motionNodes:tn===it?dn:null,motionType:Kr,onMotionStart:Un,onMotionEnd:Nn,treeNodeRequiredProps:ar,onMouseMove:function(){un(null)}}))}))});At.displayName="NodeList";var Nt=At,Pt=te(35654),sn=te(90782),Fe=te(67841),Qt=10,Gt=function(Re){(0,je.Z)(tt,Re);var qe=(0,Ze.Z)(tt);function tt(){var Le;(0,Ne.Z)(this,tt);for(var ft=arguments.length,gt=new Array(ft),Oe=0;Oe<ft;Oe++)gt[Oe]=arguments[Oe];return Le=qe.call.apply(qe,[this].concat(gt)),Le.destroyed=!1,Le.delayedDragEnterLogic=void 0,Le.loadingRetryTimes={},Le.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Pe.w$)()},Le.dragStartMousePosition=null,Le.dragNode=void 0,Le.currentMouseOverDroppableNodeKey=null,Le.listRef=y.createRef(),Le.onNodeDragStart=function(ve,Ge){var We=Le.state,we=We.expandedKeys,mt=We.keyEntities,et=Le.props.onDragStart,Ht=Ge.props.eventKey;Le.dragNode=Ge,Le.dragStartMousePosition={x:ve.clientX,y:ve.clientY};var Se=(0,Pt._5)(we,Ht);Le.setState({draggingNodeKey:Ht,dragChildrenKeys:(0,Pt.wA)(Ht,mt),indent:Le.listRef.current.getIndentWidth()}),Le.setExpandedKeys(Se),window.addEventListener("dragend",Le.onWindowDragEnd),et==null||et({event:ve,node:(0,Pe.F)(Ge.props)})},Le.onNodeDragEnter=function(ve,Ge){var We=Le.state,we=We.expandedKeys,mt=We.keyEntities,et=We.dragChildrenKeys,Ht=We.flattenNodes,Se=We.indent,ut=Le.props,xt=ut.onDragEnter,Ae=ut.onExpand,He=ut.allowDrop,ct=ut.direction,wt=Ge.props,Zt=wt.pos,gn=wt.eventKey,dt=(0,nt.Z)(Le),Dt=dt.dragNode;if(Le.currentMouseOverDroppableNodeKey!==gn&&(Le.currentMouseOverDroppableNodeKey=gn),!Dt){Le.resetDragState();return}var yt=(0,Pt.OM)(ve,Dt,Ge,Se,Le.dragStartMousePosition,He,Ht,mt,we,ct),en=yt.dropPosition,Vt=yt.dropLevelOffset,un=yt.dropTargetKey,Un=yt.dropContainerKey,mn=yt.dropTargetPos,an=yt.dropAllowed,$n=yt.dragOverNodeKey;if(et.indexOf(un)!==-1||!an){Le.resetDragState();return}if(Le.delayedDragEnterLogic||(Le.delayedDragEnterLogic={}),Object.keys(Le.delayedDragEnterLogic).forEach(function(_t){clearTimeout(Le.delayedDragEnterLogic[_t])}),Dt.props.eventKey!==Ge.props.eventKey&&(ve.persist(),Le.delayedDragEnterLogic[Zt]=window.setTimeout(function(){if(Le.state.draggingNodeKey!==null){var _t=(0,be.Z)(we),Tt=(0,Fe.Z)(mt,Ge.props.eventKey);Tt&&(Tt.children||[]).length&&(_t=(0,Pt.L0)(we,Ge.props.eventKey)),"expandedKeys"in Le.props||Le.setExpandedKeys(_t),Ae==null||Ae(_t,{node:(0,Pe.F)(Ge.props),expanded:!0,nativeEvent:ve.nativeEvent})}},800)),Dt.props.eventKey===un&&Vt===0){Le.resetDragState();return}Le.setState({dragOverNodeKey:$n,dropPosition:en,dropLevelOffset:Vt,dropTargetKey:un,dropContainerKey:Un,dropTargetPos:mn,dropAllowed:an}),xt==null||xt({event:ve,node:(0,Pe.F)(Ge.props),expandedKeys:we})},Le.onNodeDragOver=function(ve,Ge){var We=Le.state,we=We.dragChildrenKeys,mt=We.flattenNodes,et=We.keyEntities,Ht=We.expandedKeys,Se=We.indent,ut=Le.props,xt=ut.onDragOver,Ae=ut.allowDrop,He=ut.direction,ct=(0,nt.Z)(Le),wt=ct.dragNode;if(wt){var Zt=(0,Pt.OM)(ve,wt,Ge,Se,Le.dragStartMousePosition,Ae,mt,et,Ht,He),gn=Zt.dropPosition,dt=Zt.dropLevelOffset,Dt=Zt.dropTargetKey,yt=Zt.dropContainerKey,en=Zt.dropAllowed,Vt=Zt.dropTargetPos,un=Zt.dragOverNodeKey;we.indexOf(Dt)!==-1||!en||(wt.props.eventKey===Dt&&dt===0?Le.state.dropPosition===null&&Le.state.dropLevelOffset===null&&Le.state.dropTargetKey===null&&Le.state.dropContainerKey===null&&Le.state.dropTargetPos===null&&Le.state.dropAllowed===!1&&Le.state.dragOverNodeKey===null||Le.resetDragState():gn===Le.state.dropPosition&&dt===Le.state.dropLevelOffset&&Dt===Le.state.dropTargetKey&&yt===Le.state.dropContainerKey&&Vt===Le.state.dropTargetPos&&en===Le.state.dropAllowed&&un===Le.state.dragOverNodeKey||Le.setState({dropPosition:gn,dropLevelOffset:dt,dropTargetKey:Dt,dropContainerKey:yt,dropTargetPos:Vt,dropAllowed:en,dragOverNodeKey:un}),xt==null||xt({event:ve,node:(0,Pe.F)(Ge.props)}))}},Le.onNodeDragLeave=function(ve,Ge){Le.currentMouseOverDroppableNodeKey===Ge.props.eventKey&&!ve.currentTarget.contains(ve.relatedTarget)&&(Le.resetDragState(),Le.currentMouseOverDroppableNodeKey=null);var We=Le.props.onDragLeave;We==null||We({event:ve,node:(0,Pe.F)(Ge.props)})},Le.onWindowDragEnd=function(ve){Le.onNodeDragEnd(ve,null,!0),window.removeEventListener("dragend",Le.onWindowDragEnd)},Le.onNodeDragEnd=function(ve,Ge){var We=Le.props.onDragEnd;Le.setState({dragOverNodeKey:null}),Le.cleanDragState(),We==null||We({event:ve,node:(0,Pe.F)(Ge.props)}),Le.dragNode=null,window.removeEventListener("dragend",Le.onWindowDragEnd)},Le.onNodeDrop=function(ve,Ge){var We,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,mt=Le.state,et=mt.dragChildrenKeys,Ht=mt.dropPosition,Se=mt.dropTargetKey,ut=mt.dropTargetPos,xt=mt.dropAllowed;if(xt){var Ae=Le.props.onDrop;if(Le.setState({dragOverNodeKey:null}),Le.cleanDragState(),Se!==null){var He=(0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(Se,Le.getTreeNodeRequiredProps())),{},{active:((We=Le.getActiveItem())===null||We===void 0?void 0:We.key)===Se,data:(0,Fe.Z)(Le.state.keyEntities,Se).node}),ct=et.indexOf(Se)!==-1;(0,a.ZP)(!ct,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var wt=(0,Pt.yx)(ut),Zt={event:ve,node:(0,Pe.F)(He),dragNode:Le.dragNode?(0,Pe.F)(Le.dragNode.props):null,dragNodesKeys:[Le.dragNode.props.eventKey].concat(et),dropToGap:Ht!==0,dropPosition:Ht+Number(wt[wt.length-1])};we||Ae==null||Ae(Zt),Le.dragNode=null}}},Le.cleanDragState=function(){var ve=Le.state.draggingNodeKey;ve!==null&&Le.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Le.dragStartMousePosition=null,Le.currentMouseOverDroppableNodeKey=null},Le.triggerExpandActionExpand=function(ve,Ge){var We=Le.state,we=We.expandedKeys,mt=We.flattenNodes,et=Ge.expanded,Ht=Ge.key,Se=Ge.isLeaf;if(!(Se||ve.shiftKey||ve.metaKey||ve.ctrlKey)){var ut=mt.filter(function(Ae){return Ae.key===Ht})[0],xt=(0,Pe.F)((0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(Ht,Le.getTreeNodeRequiredProps())),{},{data:ut.data}));Le.setExpandedKeys(et?(0,Pt._5)(we,Ht):(0,Pt.L0)(we,Ht)),Le.onNodeExpand(ve,xt)}},Le.onNodeClick=function(ve,Ge){var We=Le.props,we=We.onClick,mt=We.expandAction;mt==="click"&&Le.triggerExpandActionExpand(ve,Ge),we==null||we(ve,Ge)},Le.onNodeDoubleClick=function(ve,Ge){var We=Le.props,we=We.onDoubleClick,mt=We.expandAction;mt==="doubleClick"&&Le.triggerExpandActionExpand(ve,Ge),we==null||we(ve,Ge)},Le.onNodeSelect=function(ve,Ge){var We=Le.state.selectedKeys,we=Le.state,mt=we.keyEntities,et=we.fieldNames,Ht=Le.props,Se=Ht.onSelect,ut=Ht.multiple,xt=Ge.selected,Ae=Ge[et.key],He=!xt;He?ut?We=(0,Pt.L0)(We,Ae):We=[Ae]:We=(0,Pt._5)(We,Ae);var ct=We.map(function(wt){var Zt=(0,Fe.Z)(mt,wt);return Zt?Zt.node:null}).filter(function(wt){return wt});Le.setUncontrolledState({selectedKeys:We}),Se==null||Se(We,{event:"select",selected:He,node:Ge,selectedNodes:ct,nativeEvent:ve.nativeEvent})},Le.onNodeCheck=function(ve,Ge,We){var we=Le.state,mt=we.keyEntities,et=we.checkedKeys,Ht=we.halfCheckedKeys,Se=Le.props,ut=Se.checkStrictly,xt=Se.onCheck,Ae=Ge.key,He,ct={event:"check",node:Ge,checked:We,nativeEvent:ve.nativeEvent};if(ut){var wt=We?(0,Pt.L0)(et,Ae):(0,Pt._5)(et,Ae),Zt=(0,Pt._5)(Ht,Ae);He={checked:wt,halfChecked:Zt},ct.checkedNodes=wt.map(function(Vt){return(0,Fe.Z)(mt,Vt)}).filter(function(Vt){return Vt}).map(function(Vt){return Vt.node}),Le.setUncontrolledState({checkedKeys:wt})}else{var gn=(0,sn.S)([].concat((0,be.Z)(et),[Ae]),!0,mt),dt=gn.checkedKeys,Dt=gn.halfCheckedKeys;if(!We){var yt=new Set(dt);yt.delete(Ae);var en=(0,sn.S)(Array.from(yt),{checked:!1,halfCheckedKeys:Dt},mt);dt=en.checkedKeys,Dt=en.halfCheckedKeys}He=dt,ct.checkedNodes=[],ct.checkedNodesPositions=[],ct.halfCheckedKeys=Dt,dt.forEach(function(Vt){var un=(0,Fe.Z)(mt,Vt);if(un){var Un=un.node,mn=un.pos;ct.checkedNodes.push(Un),ct.checkedNodesPositions.push({node:Un,pos:mn})}}),Le.setUncontrolledState({checkedKeys:dt},!1,{halfCheckedKeys:Dt})}xt==null||xt(He,ct)},Le.onNodeLoad=function(ve){var Ge=ve.key,We=new Promise(function(we,mt){Le.setState(function(et){var Ht=et.loadedKeys,Se=Ht===void 0?[]:Ht,ut=et.loadingKeys,xt=ut===void 0?[]:ut,Ae=Le.props,He=Ae.loadData,ct=Ae.onLoad;if(!He||Se.indexOf(Ge)!==-1||xt.indexOf(Ge)!==-1)return null;var wt=He(ve);return wt.then(function(){var Zt=Le.state.loadedKeys,gn=(0,Pt.L0)(Zt,Ge);ct==null||ct(gn,{event:"load",node:ve}),Le.setUncontrolledState({loadedKeys:gn}),Le.setState(function(dt){return{loadingKeys:(0,Pt._5)(dt.loadingKeys,Ge)}}),we()}).catch(function(Zt){if(Le.setState(function(dt){return{loadingKeys:(0,Pt._5)(dt.loadingKeys,Ge)}}),Le.loadingRetryTimes[Ge]=(Le.loadingRetryTimes[Ge]||0)+1,Le.loadingRetryTimes[Ge]>=Qt){var gn=Le.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Le.setUncontrolledState({loadedKeys:(0,Pt.L0)(gn,Ge)}),we()}mt(Zt)}),{loadingKeys:(0,Pt.L0)(xt,Ge)}})});return We.catch(function(){}),We},Le.onNodeMouseEnter=function(ve,Ge){var We=Le.props.onMouseEnter;We==null||We({event:ve,node:Ge})},Le.onNodeMouseLeave=function(ve,Ge){var We=Le.props.onMouseLeave;We==null||We({event:ve,node:Ge})},Le.onNodeContextMenu=function(ve,Ge){var We=Le.props.onRightClick;We&&(ve.preventDefault(),We({event:ve,node:Ge}))},Le.onFocus=function(){var ve=Le.props.onFocus;Le.setState({focused:!0});for(var Ge=arguments.length,We=new Array(Ge),we=0;we<Ge;we++)We[we]=arguments[we];ve==null||ve.apply(void 0,We)},Le.onBlur=function(){var ve=Le.props.onBlur;Le.setState({focused:!1}),Le.onActiveChange(null);for(var Ge=arguments.length,We=new Array(Ge),we=0;we<Ge;we++)We[we]=arguments[we];ve==null||ve.apply(void 0,We)},Le.getTreeNodeRequiredProps=function(){var ve=Le.state,Ge=ve.expandedKeys,We=ve.selectedKeys,we=ve.loadedKeys,mt=ve.loadingKeys,et=ve.checkedKeys,Ht=ve.halfCheckedKeys,Se=ve.dragOverNodeKey,ut=ve.dropPosition,xt=ve.keyEntities;return{expandedKeys:Ge||[],selectedKeys:We||[],loadedKeys:we||[],loadingKeys:mt||[],checkedKeys:et||[],halfCheckedKeys:Ht||[],dragOverNodeKey:Se,dropPosition:ut,keyEntities:xt}},Le.setExpandedKeys=function(ve){var Ge=Le.state,We=Ge.treeData,we=Ge.fieldNames,mt=(0,Pe.oH)(We,ve,we);Le.setUncontrolledState({expandedKeys:ve,flattenNodes:mt},!0)},Le.onNodeExpand=function(ve,Ge){var We=Le.state.expandedKeys,we=Le.state,mt=we.listChanging,et=we.fieldNames,Ht=Le.props,Se=Ht.onExpand,ut=Ht.loadData,xt=Ge.expanded,Ae=Ge[et.key];if(!mt){var He=We.indexOf(Ae),ct=!xt;if((0,a.ZP)(xt&&He!==-1||!xt&&He===-1,"Expand state not sync with index check"),ct?We=(0,Pt.L0)(We,Ae):We=(0,Pt._5)(We,Ae),Le.setExpandedKeys(We),Se==null||Se(We,{node:Ge,expanded:ct,nativeEvent:ve.nativeEvent}),ct&&ut){var wt=Le.onNodeLoad(Ge);wt&&wt.then(function(){var Zt=(0,Pe.oH)(Le.state.treeData,We,et);Le.setUncontrolledState({flattenNodes:Zt})}).catch(function(){var Zt=Le.state.expandedKeys,gn=(0,Pt._5)(Zt,Ae);Le.setExpandedKeys(gn)})}}},Le.onListChangeStart=function(){Le.setUncontrolledState({listChanging:!0})},Le.onListChangeEnd=function(){setTimeout(function(){Le.setUncontrolledState({listChanging:!1})})},Le.onActiveChange=function(ve){var Ge=Le.state.activeKey,We=Le.props.onActiveChange;Ge!==ve&&(Le.setState({activeKey:ve}),ve!==null&&Le.scrollTo({key:ve}),We==null||We(ve))},Le.getActiveItem=function(){var ve=Le.state,Ge=ve.activeKey,We=ve.flattenNodes;return Ge===null?null:We.find(function(we){var mt=we.key;return mt===Ge})||null},Le.offsetActiveKey=function(ve){var Ge=Le.state,We=Ge.flattenNodes,we=Ge.activeKey,mt=We.findIndex(function(Se){var ut=Se.key;return ut===we});mt===-1&&ve<0&&(mt=We.length),mt=(mt+ve+We.length)%We.length;var et=We[mt];if(et){var Ht=et.key;Le.onActiveChange(Ht)}else Le.onActiveChange(null)},Le.onKeyDown=function(ve){var Ge=Le.state,We=Ge.activeKey,we=Ge.expandedKeys,mt=Ge.checkedKeys,et=Ge.fieldNames,Ht=Le.props,Se=Ht.onKeyDown,ut=Ht.checkable,xt=Ht.selectable;switch(ve.which){case ye.Z.UP:{Le.offsetActiveKey(-1),ve.preventDefault();break}case ye.Z.DOWN:{Le.offsetActiveKey(1),ve.preventDefault();break}}var Ae=Le.getActiveItem();if(Ae&&Ae.data){var He=Le.getTreeNodeRequiredProps(),ct=Ae.data.isLeaf===!1||!!(Ae.data[et.children]||[]).length,wt=(0,Pe.F)((0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(We,He)),{},{data:Ae.data,active:!0}));switch(ve.which){case ye.Z.LEFT:{ct&&we.includes(We)?Le.onNodeExpand({},wt):Ae.parent&&Le.onActiveChange(Ae.parent.key),ve.preventDefault();break}case ye.Z.RIGHT:{ct&&!we.includes(We)?Le.onNodeExpand({},wt):Ae.children&&Ae.children.length&&Le.onActiveChange(Ae.children[0].key),ve.preventDefault();break}case ye.Z.ENTER:case ye.Z.SPACE:{ut&&!wt.disabled&&wt.checkable!==!1&&!wt.disableCheckbox?Le.onNodeCheck({},wt,!mt.includes(We)):!ut&&xt&&!wt.disabled&&wt.selectable!==!1&&Le.onNodeSelect({},wt);break}}}Se==null||Se(ve)},Le.setUncontrolledState=function(ve){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Le.destroyed){var we=!1,mt=!0,et={};Object.keys(ve).forEach(function(Ht){if(Ht in Le.props){mt=!1;return}we=!0,et[Ht]=ve[Ht]}),we&&(!Ge||mt)&&Le.setState((0,Ie.Z)((0,Ie.Z)({},et),We))}},Le.scrollTo=function(ve){Le.listRef.current.scrollTo(ve)},Le}return(0,ie.Z)(tt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ft=this.props.activeKey;ft!==void 0&&ft!==this.state.activeKey&&(this.setState({activeKey:ft}),ft!==null&&this.scrollTo({key:ft}))}},{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 ft,gt=this.state,Oe=gt.focused,ve=gt.flattenNodes,Ge=gt.keyEntities,We=gt.draggingNodeKey,we=gt.activeKey,mt=gt.dropLevelOffset,et=gt.dropContainerKey,Ht=gt.dropTargetKey,Se=gt.dropPosition,ut=gt.dragOverNodeKey,xt=gt.indent,Ae=this.props,He=Ae.prefixCls,ct=Ae.className,wt=Ae.style,Zt=Ae.showLine,gn=Ae.focusable,dt=Ae.tabIndex,Dt=dt===void 0?0:dt,yt=Ae.selectable,en=Ae.showIcon,Vt=Ae.icon,un=Ae.switcherIcon,Un=Ae.draggable,mn=Ae.checkable,an=Ae.checkStrictly,$n=Ae.disabled,_t=Ae.motion,Tt=Ae.loadData,Xt=Ae.filterTreeNode,ya=Ae.height,ta=Ae.itemHeight,Mn=Ae.virtual,Ga=Ae.titleRender,Ba=Ae.dropIndicatorRender,Nr=Ae.onContextMenu,Dr=Ae.onScroll,Xa=Ae.direction,at=Ae.rootClassName,Mt=Ae.rootStyle,Ft=(0,re.Z)(this.props,{aria:!0,data:!0}),kn;return Un&&((0,he.Z)(Un)==="object"?kn=Un:typeof Un=="function"?kn={nodeDraggable:Un}:kn={}),y.createElement(b.k.Provider,{value:{prefixCls:He,selectable:yt,showIcon:en,icon:Vt,switcherIcon:un,draggable:kn,draggingNodeKey:We,checkable:mn,checkStrictly:an,disabled:$n,keyEntities:Ge,dropLevelOffset:mt,dropContainerKey:et,dropTargetKey:Ht,dropPosition:Se,dragOverNodeKey:ut,indent:xt,direction:Xa,dropIndicatorRender:Ba,loadData:Tt,filterTreeNode:Xt,titleRender:Ga,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},y.createElement("div",{role:"tree",className:Me()(He,ct,at,(ft={},(0,se.Z)(ft,"".concat(He,"-show-line"),Zt),(0,se.Z)(ft,"".concat(He,"-focused"),Oe),(0,se.Z)(ft,"".concat(He,"-active-focused"),we!==null),ft)),style:Mt},y.createElement(Nt,(0,z.Z)({ref:this.listRef,prefixCls:He,style:wt,data:ve,disabled:$n,selectable:yt,checkable:!!mn,motion:_t,dragging:We!==null,height:ya,itemHeight:ta,virtual:Mn,focusable:gn,focused:Oe,tabIndex:Dt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Nr,onScroll:Dr},this.getTreeNodeRequiredProps(),Ft))))}}],[{key:"getDerivedStateFromProps",value:function(ft,gt){var Oe=gt.prevProps,ve={prevProps:ft};function Ge(gn){return!Oe&&gn in ft||Oe&&Oe[gn]!==ft[gn]}var We,we=gt.fieldNames;if(Ge("fieldNames")&&(we=(0,Pe.w$)(ft.fieldNames),ve.fieldNames=we),Ge("treeData")?We=ft.treeData:Ge("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),We=(0,Pe.zn)(ft.children)),We){ve.treeData=We;var mt=(0,Pe.I8)(We,{fieldNames:we});ve.keyEntities=(0,Ie.Z)((0,se.Z)({},it,vt),mt.keyEntities)}var et=ve.keyEntities||gt.keyEntities;if(Ge("expandedKeys")||Oe&&Ge("autoExpandParent"))ve.expandedKeys=ft.autoExpandParent||!Oe&&ft.defaultExpandParent?(0,Pt.r7)(ft.expandedKeys,et):ft.expandedKeys;else if(!Oe&&ft.defaultExpandAll){var Ht=(0,Ie.Z)({},et);delete Ht[it],ve.expandedKeys=Object.keys(Ht).map(function(gn){return Ht[gn].key})}else!Oe&&ft.defaultExpandedKeys&&(ve.expandedKeys=ft.autoExpandParent||ft.defaultExpandParent?(0,Pt.r7)(ft.defaultExpandedKeys,et):ft.defaultExpandedKeys);if(ve.expandedKeys||delete ve.expandedKeys,We||ve.expandedKeys){var Se=(0,Pe.oH)(We||gt.treeData,ve.expandedKeys||gt.expandedKeys,we);ve.flattenNodes=Se}if(ft.selectable&&(Ge("selectedKeys")?ve.selectedKeys=(0,Pt.BT)(ft.selectedKeys,ft):!Oe&&ft.defaultSelectedKeys&&(ve.selectedKeys=(0,Pt.BT)(ft.defaultSelectedKeys,ft))),ft.checkable){var ut;if(Ge("checkedKeys")?ut=(0,Pt.E6)(ft.checkedKeys)||{}:!Oe&&ft.defaultCheckedKeys?ut=(0,Pt.E6)(ft.defaultCheckedKeys)||{}:We&&(ut=(0,Pt.E6)(ft.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),ut){var xt=ut,Ae=xt.checkedKeys,He=Ae===void 0?[]:Ae,ct=xt.halfCheckedKeys,wt=ct===void 0?[]:ct;if(!ft.checkStrictly){var Zt=(0,sn.S)(He,!0,et);He=Zt.checkedKeys,wt=Zt.halfCheckedKeys}ve.checkedKeys=He,ve.halfCheckedKeys=wt}}return Ge("loadedKeys")&&(ve.loadedKeys=ft.loadedKeys),ve}}]),tt}(y.Component);Gt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:E,allowDrop:function(){return!0},expandAction:!1},Gt.TreeNode=me.Z;var Hn=Gt,ea=Hn},35654:function(Et,St,te){"use strict";te.d(St,{BT:function(){return y},E6:function(){return x},L0:function(){return Ze},OM:function(){return a},_5:function(){return je},r7:function(){return ee},wA:function(){return Me},yx:function(){return ze}});var z=te(94480),se=te(76190),he=te(48736),Ie=te(59301),be=te(39417),Ne=te(67841),ie=te(71430),nt=null;function je(ne,oe){if(!ne)return[];var ae=ne.slice(),ue=ae.indexOf(oe);return ue>=0&&ae.splice(ue,1),ae}function Ze(ne,oe){var ae=(ne||[]).slice();return ae.indexOf(oe)===-1&&ae.push(oe),ae}function ze(ne){return ne.split("-")}function Me(ne,oe){var ae=[],ue=(0,Ne.Z)(oe,ne);function me(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];fe.forEach(function(Pe){var xe=Pe.key,Ee=Pe.children;ae.push(xe),me(Ee)})}return me(ue.children),ae}function ye(ne){if(ne.parent){var oe=ze(ne.pos);return Number(oe[oe.length-1])===ne.parent.children.length-1}return!1}function re(ne){var oe=ze(ne.pos);return Number(oe[oe.length-1])===0}function a(ne,oe,ae,ue,me,fe,Pe,xe,Ee,De){var _e,pt=ne.clientX,Be=ne.clientY,$e=ne.target.getBoundingClientRect(),Ke=$e.top,Ve=$e.height,it=(De==="rtl"?-1:1)*(((me==null?void 0:me.x)||0)-pt),rt=(it-12)/ue,vt=(0,Ne.Z)(xe,ae.props.eventKey);if(Be<Ke+Ve/2){var Rt=Pe.findIndex(function(ea){return ea.key===vt.key}),Yt=Rt<=0?0:Rt-1,Je=Pe[Yt].key;vt=(0,Ne.Z)(xe,Je)}var st=vt.key,At=vt,Nt=vt.key,Pt=0,sn=0;if(!Ee.includes(st))for(var Fe=0;Fe<rt&&ye(vt);Fe+=1)vt=vt.parent,sn+=1;var Qt=oe.props.data,Gt=vt.node,Hn=!0;return re(vt)&&vt.level===0&&Be<Ke+Ve/2&&fe({dragNode:Qt,dropNode:Gt,dropPosition:-1})&&vt.key===ae.props.eventKey?Pt=-1:(At.children||[]).length&&Ee.includes(Nt)?fe({dragNode:Qt,dropNode:Gt,dropPosition:0})?Pt=0:Hn=!1:sn===0?rt>-1.5?fe({dragNode:Qt,dropNode:Gt,dropPosition:1})?Pt=1:Hn=!1:fe({dragNode:Qt,dropNode:Gt,dropPosition:0})?Pt=0:fe({dragNode:Qt,dropNode:Gt,dropPosition:1})?Pt=1:Hn=!1:fe({dragNode:Qt,dropNode:Gt,dropPosition:1})?Pt=1:Hn=!1,{dropPosition:Pt,dropLevelOffset:sn,dropTargetKey:vt.key,dropTargetPos:vt.pos,dragOverNodeKey:Nt,dropContainerKey:Pt===0?null:((_e=vt.parent)===null||_e===void 0?void 0:_e.key)||null,dropAllowed:Hn}}function y(ne,oe){if(ne){var ae=oe.multiple;return ae?ne.slice():ne.length?[ne[0]]:ne}}var b=function(oe){return oe};function E(ne,oe){if(!ne)return[];var ae=oe||{},ue=ae.processProps,me=ue===void 0?b:ue,fe=Array.isArray(ne)?ne:[ne];return fe.map(function(Pe){var xe=Pe.children,Ee=_objectWithoutProperties(Pe,nt),De=E(xe,oe);return React.createElement(TreeNode,_extends({key:Ee.key},me(Ee)),De)})}function x(ne){if(!ne)return null;var oe;if(Array.isArray(ne))oe={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,se.Z)(ne)==="object")oe={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,he.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function ee(ne,oe){var ae=new Set;function ue(me){if(!ae.has(me)){var fe=(0,Ne.Z)(oe,me);if(fe){ae.add(me);var Pe=fe.parent,xe=fe.node;xe.disabled||Pe&&ue(Pe.key)}}}return(ne||[]).forEach(function(me){ue(me)}),(0,z.Z)(ae)}},90782:function(Et,St,te){"use strict";te.d(St,{S:function(){return ie}});var z=te(48736),se=te(67841);function he(nt,je){var Ze=new Set;return nt.forEach(function(ze){je.has(ze)||Ze.add(ze)}),Ze}function Ie(nt){var je=nt||{},Ze=je.disabled,ze=je.disableCheckbox,Me=je.checkable;return!!(Ze||ze)||Me===!1}function be(nt,je,Ze,ze){for(var Me=new Set(nt),ye=new Set,re=0;re<=Ze;re+=1){var a=je.get(re)||new Set;a.forEach(function(x){var ee=x.key,ne=x.node,oe=x.children,ae=oe===void 0?[]:oe;Me.has(ee)&&!ze(ne)&&ae.filter(function(ue){return!ze(ue.node)}).forEach(function(ue){Me.add(ue.key)})})}for(var y=new Set,b=Ze;b>=0;b-=1){var E=je.get(b)||new Set;E.forEach(function(x){var ee=x.parent,ne=x.node;if(!(ze(ne)||!x.parent||y.has(x.parent.key))){if(ze(x.parent.node)){y.add(ee.key);return}var oe=!0,ae=!1;(ee.children||[]).filter(function(ue){return!ze(ue.node)}).forEach(function(ue){var me=ue.key,fe=Me.has(me);oe&&!fe&&(oe=!1),!ae&&(fe||ye.has(me))&&(ae=!0)}),oe&&Me.add(ee.key),ae&&ye.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(Me),halfCheckedKeys:Array.from(he(ye,Me))}}function Ne(nt,je,Ze,ze,Me){for(var ye=new Set(nt),re=new Set(je),a=0;a<=ze;a+=1){var y=Ze.get(a)||new Set;y.forEach(function(ee){var ne=ee.key,oe=ee.node,ae=ee.children,ue=ae===void 0?[]:ae;!ye.has(ne)&&!re.has(ne)&&!Me(oe)&&ue.filter(function(me){return!Me(me.node)}).forEach(function(me){ye.delete(me.key)})})}re=new Set;for(var b=new Set,E=ze;E>=0;E-=1){var x=Ze.get(E)||new Set;x.forEach(function(ee){var ne=ee.parent,oe=ee.node;if(!(Me(oe)||!ee.parent||b.has(ee.parent.key))){if(Me(ee.parent.node)){b.add(ne.key);return}var ae=!0,ue=!1;(ne.children||[]).filter(function(me){return!Me(me.node)}).forEach(function(me){var fe=me.key,Pe=ye.has(fe);ae&&!Pe&&(ae=!1),!ue&&(Pe||re.has(fe))&&(ue=!0)}),ae||ye.delete(ne.key),ue&&re.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(ye),halfCheckedKeys:Array.from(he(re,ye))}}function ie(nt,je,Ze,ze){var Me=[],ye;ze?ye=ze:ye=Ie;var re=new Set(nt.filter(function(E){var x=!!(0,se.Z)(Ze,E);return x||Me.push(E),x})),a=new Map,y=0;Object.keys(Ze).forEach(function(E){var x=Ze[E],ee=x.level,ne=a.get(ee);ne||(ne=new Set,a.set(ee,ne)),ne.add(x),y=Math.max(y,ee)}),(0,z.ZP)(!Me.length,"Tree missing follow keys: ".concat(Me.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return je===!0?b=be(re,a,y,ye):b=Ne(re,je.halfCheckedKeys,a,y,ye),b}},67841:function(Et,St,te){"use strict";te.d(St,{Z:function(){return z}});function z(se,he){return se[he]}},71430:function(Et,St,te){"use strict";te.d(St,{F:function(){return ee},H8:function(){return x},I8:function(){return E},km:function(){return Me},oH:function(){return y},w$:function(){return ye},zn:function(){return a}});var z=te(76190),se=te(94480),he=te(33885),Ie=te(75931),be=te(11592),Ne=te(2738),ie=te(48736),nt=te(67841),je=["children"];function Ze(ne,oe){return"".concat(ne,"-").concat(oe)}function ze(ne){return ne&&ne.type&&ne.type.isTreeNode}function Me(ne,oe){return ne!=null?ne:oe}function ye(ne){var oe=ne||{},ae=oe.title,ue=oe._title,me=oe.key,fe=oe.children,Pe=ae||"title";return{title:Pe,_title:ue||[Pe],key:me||"key",children:fe||"children"}}function re(ne,oe){var ae=new Map;function ue(me){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(me||[]).forEach(function(Pe){var xe=Pe[oe.key],Ee=Pe[oe.children];warning(xe!=null,"Tree node must have a certain key: [".concat(fe).concat(xe,"]"));var De=String(xe);warning(!ae.has(De)||xe===null||xe===void 0,"Same 'key' exist in the Tree: ".concat(De)),ae.set(De,!0),ue(Ee,"".concat(fe).concat(De," > "))})}ue(ne)}function a(ne){function oe(ae){var ue=(0,be.Z)(ae);return ue.map(function(me){if(!ze(me))return(0,ie.ZP)(!me,"Tree/TreeNode can only accept TreeNode as children."),null;var fe=me.key,Pe=me.props,xe=Pe.children,Ee=(0,Ie.Z)(Pe,je),De=(0,he.Z)({key:fe},Ee),_e=oe(xe);return _e.length&&(De.children=_e),De}).filter(function(me){return me})}return oe(ne)}function y(ne,oe,ae){var ue=ye(ae),me=ue._title,fe=ue.key,Pe=ue.children,xe=new Set(oe===!0?[]:oe),Ee=[];function De(_e){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return _e.map(function(Be,$e){for(var Ke=Ze(pt?pt.pos:"0",$e),Ve=Me(Be[fe],Ke),it,rt=0;rt<me.length;rt+=1){var vt=me[rt];if(Be[vt]!==void 0){it=Be[vt];break}}var Rt=(0,he.Z)((0,he.Z)({},(0,Ne.Z)(Be,[].concat((0,se.Z)(me),[fe,Pe]))),{},{title:it,key:Ve,parent:pt,pos:Ke,children:null,data:Be,isStart:[].concat((0,se.Z)(pt?pt.isStart:[]),[$e===0]),isEnd:[].concat((0,se.Z)(pt?pt.isEnd:[]),[$e===_e.length-1])});return Ee.push(Rt),oe===!0||xe.has(Ve)?Rt.children=De(Be[Pe]||[],Rt):Rt.children=[],Rt})}return De(ne),Ee}function b(ne,oe,ae){var ue={};(0,z.Z)(ae)==="object"?ue=ae:ue={externalGetKey:ae},ue=ue||{};var me=ue,fe=me.childrenPropName,Pe=me.externalGetKey,xe=me.fieldNames,Ee=ye(xe),De=Ee.key,_e=Ee.children,pt=fe||_e,Be;Pe?typeof Pe=="string"?Be=function(Ve){return Ve[Pe]}:typeof Pe=="function"&&(Be=function(Ve){return Pe(Ve)}):Be=function(Ve,it){return Me(Ve[De],it)};function $e(Ke,Ve,it,rt){var vt=Ke?Ke[pt]:ne,Rt=Ke?Ze(it.pos,Ve):"0",Yt=Ke?[].concat((0,se.Z)(rt),[Ke]):[];if(Ke){var Je=Be(Ke,Rt),st={node:Ke,index:Ve,pos:Rt,key:Je,parentPos:it.node?it.pos:null,level:it.level+1,nodes:Yt};oe(st)}vt&&vt.forEach(function(At,Nt){$e(At,Nt,{node:Ke,pos:Rt,level:it?it.level+1:-1},Yt)})}$e(null)}function E(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ae=oe.initWrapper,ue=oe.processEntity,me=oe.onProcessFinished,fe=oe.externalGetKey,Pe=oe.childrenPropName,xe=oe.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,De=fe||Ee,_e={},pt={},Be={posEntities:_e,keyEntities:pt};return ae&&(Be=ae(Be)||Be),b(ne,function($e){var Ke=$e.node,Ve=$e.index,it=$e.pos,rt=$e.key,vt=$e.parentPos,Rt=$e.level,Yt=$e.nodes,Je={node:Ke,nodes:Yt,index:Ve,key:rt,pos:it,level:Rt},st=Me(rt,it);_e[it]=Je,pt[st]=Je,Je.parent=_e[vt],Je.parent&&(Je.parent.children=Je.parent.children||[],Je.parent.children.push(Je)),ue&&ue(Je,Be)},{externalGetKey:De,childrenPropName:Pe,fieldNames:xe}),me&&me(Be),Be}function x(ne,oe){var ae=oe.expandedKeys,ue=oe.selectedKeys,me=oe.loadedKeys,fe=oe.loadingKeys,Pe=oe.checkedKeys,xe=oe.halfCheckedKeys,Ee=oe.dragOverNodeKey,De=oe.dropPosition,_e=oe.keyEntities,pt=(0,nt.Z)(_e,ne),Be={eventKey:ne,expanded:ae.indexOf(ne)!==-1,selected:ue.indexOf(ne)!==-1,loaded:me.indexOf(ne)!==-1,loading:fe.indexOf(ne)!==-1,checked:Pe.indexOf(ne)!==-1,halfChecked:xe.indexOf(ne)!==-1,pos:String(pt?pt.pos:""),dragOver:Ee===ne&&De===0,dragOverGapTop:Ee===ne&&De===-1,dragOverGapBottom:Ee===ne&&De===1};return Be}function ee(ne){var oe=ne.data,ae=ne.expanded,ue=ne.selected,me=ne.checked,fe=ne.loaded,Pe=ne.loading,xe=ne.halfChecked,Ee=ne.dragOver,De=ne.dragOverGapTop,_e=ne.dragOverGapBottom,pt=ne.pos,Be=ne.active,$e=ne.eventKey,Ke=(0,he.Z)((0,he.Z)({},oe),{},{expanded:ae,selected:ue,checked:me,loaded:fe,loading:Pe,halfChecked:xe,dragOver:Ee,dragOverGapTop:De,dragOverGapBottom:_e,pos:pt,active:Be,key:$e});return"props"in Ke||Object.defineProperty(Ke,"props",{get:function(){return(0,ie.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),Ke}},8224:function(Et,St,te){"use strict";te.d(St,{Z:function(){return se}});var z=te(4676);function se(he,Ie,be,Ne){var ie=z.unstable_batchedUpdates?function(je){z.unstable_batchedUpdates(be,je)}:be;return he!=null&&he.addEventListener&&he.addEventListener(Ie,ie,Ne),{remove:function(){he!=null&&he.removeEventListener&&he.removeEventListener(Ie,ie,Ne)}}}},55468:function(Et,St,te){"use strict";te.d(St,{g1:function(){return ze},os:function(){return ye}});var z=/margin|padding|width|height|max|min|offset/,se={left:!0,top:!0},he={cssFloat:1,styleFloat:1,float:1};function Ie(re){return re.nodeType===1?re.ownerDocument.defaultView.getComputedStyle(re,null):{}}function be(re,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return re.offsetHeight;if(a==="width")return re.offsetWidth}return a in se||(se[a]=z.test(a)),se[a]?parseFloat(y)||0:y}function Ne(re,a){var y=arguments.length,b=Ie(re);return a=he[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,y===1?b:be(re,a,b[a]||re.style[a])}function ie(re,a,y){var b=arguments.length;if(a=he[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,b===3)return typeof y=="number"&&z.test(a)&&(y="".concat(y,"px")),re.style[a]=y,y;for(var E in a)a.hasOwnProperty(E)&&ie(re,E,a[E]);return Ie(re)}function nt(re){return re===document.body?document.documentElement.clientWidth:re.offsetWidth}function je(re){return re===document.body?window.innerHeight||document.documentElement.clientHeight:re.offsetHeight}function Ze(){var re=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:re,height:a}}function ze(){var re=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:re,height:a}}function Me(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ye(re){var a=re.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},24514:function(Et,St,te){"use strict";te.d(St,{G:function(){return Ie}});var z=te(47273),se=function(Ne){if((0,z.Z)()&&window.document.documentElement){var ie=Array.isArray(Ne)?Ne:[Ne],nt=window.document.documentElement;return ie.some(function(je){return je in nt.style})}return!1},he=function(Ne,ie){if(!se(Ne))return!1;var nt=document.createElement("div"),je=nt.style[Ne];return nt.style[Ne]=ie,nt.style[Ne]!==je};function Ie(be,Ne){return!Array.isArray(be)&&Ne!==void 0?he(be,Ne):se(be)}},51581:function(Et,St,te){"use strict";Object.defineProperty(St,"__esModule",{value:!0});var z=function(){function Me(ye,re){for(var a=0;a<re.length;a++){var y=re[a];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(ye,y.key,y)}}return function(ye,re,a){return re&&Me(ye.prototype,re),a&&Me(ye,a),ye}}(),se=te(59301),he=Ne(se),Ie=te(12708),be=Ne(Ie);function Ne(Me){return Me&&Me.__esModule?Me:{default:Me}}function ie(Me,ye){var re={};for(var a in Me)ye.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(Me,a)&&(re[a]=Me[a]);return re}function nt(Me,ye){if(!(Me instanceof ye))throw new TypeError("Cannot call a class as a function")}function je(Me,ye){if(!Me)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ye&&(typeof ye=="object"||typeof ye=="function")?ye:Me}function Ze(Me,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ye);Me.prototype=Object.create(ye&&ye.prototype,{constructor:{value:Me,enumerable:!1,writable:!0,configurable:!0}}),ye&&(Object.setPrototypeOf?Object.setPrototypeOf(Me,ye):Me.__proto__=ye)}var ze=function(Me){Ze(ye,Me);function ye(re){nt(this,ye);var a=je(this,(ye.__proto__||Object.getPrototypeOf(ye)).call(this,re));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return z(ye,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,y={get passive(){a=!0}};try{document.addEventListener("test",null,y),document.removeEventListener("test",null,y)}catch(b){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var y=this.props.getScrollParent&&this.props.getScrollParent();return y!=null?y:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var y=window;this.props.useWindow===!1&&(y=a),y.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),y.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),y.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,y=window,b=this.getParentElement(a),E=void 0;if(this.props.useWindow){var x=document.documentElement||document.body.parentNode||document.body,ee=y.pageYOffset!==void 0?y.pageYOffset:x.scrollTop;this.props.isReverse?E=ee:E=this.calculateOffset(a,ee)}else this.props.isReverse?E=b.scrollTop:E=a.scrollHeight-b.scrollTop-b.clientHeight;E<Number(this.props.threshold)&&a&&a.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=b.scrollHeight,this.beforeScrollTop=b.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(a,y){return a?this.calculateTopPosition(a)+(a.offsetHeight-y-window.innerHeight):0}},{key:"calculateTopPosition",value:function(a){return a?a.offsetTop+this.calculateTopPosition(a.offsetParent):0}},{key:"render",value:function(){var a=this,y=this.filterProps(this.props),b=y.children,E=y.element,x=y.hasMore,ee=y.initialLoad,ne=y.isReverse,oe=y.loader,ae=y.loadMore,ue=y.pageStart,me=y.ref,fe=y.threshold,Pe=y.useCapture,xe=y.useWindow,Ee=y.getScrollParent,De=ie(y,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);De.ref=function(pt){a.scrollComponent=pt,me&&me(pt)};var _e=[b];return x&&(oe?ne?_e.unshift(oe):_e.push(oe):this.defaultLoader&&(ne?_e.unshift(this.defaultLoader):_e.push(this.defaultLoader))),he.default.createElement(E,De,_e)}}]),ye}(se.Component);ze.propTypes={children:be.default.node.isRequired,element:be.default.node,hasMore:be.default.bool,initialLoad:be.default.bool,isReverse:be.default.bool,loader:be.default.node,loadMore:be.default.func.isRequired,pageStart:be.default.number,ref:be.default.func,getScrollParent:be.default.func,threshold:be.default.number,useCapture:be.default.bool,useWindow:be.default.bool},ze.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},St.default=ze,Et.exports=St.default},26724:function(Et,St,te){Et.exports=te(51581)},44589:function(Et,St,te){"use strict";te.d(St,{JN:function(){return Le},Rp:function(){return ee},W8:function(){return Oe}});var z=te(54476),se=te(42978),he=te(75682),Ie=te(67732),be=te(83652),Ne=te(85458),ie=te(58289),nt=te(42403),je=te(31226),Ze=te(20068),ze=te(59301),Me=te(12708),ye=te.n(Me),re=te(4676),a=te(44520),y=te.n(a),b=te(94480),E=function(){function ve(){(0,Ie.Z)(this,ve),(0,Ze.Z)(this,"refs",{})}return(0,be.Z)(ve,[{key:"add",value:function(We,we){this.refs[We]||(this.refs[We]=[]),this.refs[We].push(we)}},{key:"remove",value:function(We,we){var mt=this.getIndex(We,we);mt!==-1&&this.refs[We].splice(mt,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var We=this;return this.refs[this.active.collection].find(function(we){var mt=we.node;return mt.sortableInfo.index==We.active.index})}},{key:"getIndex",value:function(We,we){return this.refs[We].indexOf(we)}},{key:"getOrderedRefs",value:function(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[We].sort(x)}}]),ve}();function x(ve,Ge){var We=ve.node.sortableInfo.index,we=Ge.node.sortableInfo.index;return We-we}function ee(ve,Ge,We){return ve=ve.slice(),ve.splice(We<0?ve.length+We:We,0,ve.splice(Ge,1)[0]),ve}function ne(ve,Ge){return Object.keys(ve).reduce(function(We,we){return Ge.indexOf(we)===-1&&(We[we]=ve[we]),We},{})}var oe={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ae=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var ve=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],Ge=(Array.prototype.slice.call(ve).join("").match(/-(moz|webkit|ms)-/)||ve.OLink===""&&["","o"])[1];switch(Ge){case"ms":return"ms";default:return Ge&&Ge.length?Ge[0].toUpperCase()+Ge.substr(1):""}}();function ue(ve,Ge){Object.keys(Ge).forEach(function(We){ve.style[We]=Ge[We]})}function me(ve,Ge){ve.style["".concat(ae,"Transform")]=Ge==null?"":"translate3d(".concat(Ge.x,"px,").concat(Ge.y,"px,0)")}function fe(ve,Ge){ve.style["".concat(ae,"TransitionDuration")]=Ge==null?"":"".concat(Ge,"ms")}function Pe(ve,Ge){for(;ve;){if(Ge(ve))return ve;ve=ve.parentNode}return null}function xe(ve,Ge,We){return Math.max(ve,Math.min(We,Ge))}function Ee(ve){return ve.substr(-2)==="px"?parseFloat(ve):0}function De(ve){var Ge=window.getComputedStyle(ve);return{bottom:Ee(Ge.marginBottom),left:Ee(Ge.marginLeft),right:Ee(Ge.marginRight),top:Ee(Ge.marginTop)}}function _e(ve,Ge){var We=Ge.displayName||Ge.name;return We?"".concat(ve,"(").concat(We,")"):ve}function pt(ve,Ge){var We=ve.getBoundingClientRect();return{top:We.top+Ge.top,left:We.left+Ge.left}}function Be(ve){return ve.touches&&ve.touches.length?{x:ve.touches[0].pageX,y:ve.touches[0].pageY}:ve.changedTouches&&ve.changedTouches.length?{x:ve.changedTouches[0].pageX,y:ve.changedTouches[0].pageY}:{x:ve.pageX,y:ve.pageY}}function $e(ve){return ve.touches&&ve.touches.length||ve.changedTouches&&ve.changedTouches.length}function Ke(ve,Ge){var We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(ve){var we={left:We.left+ve.offsetLeft,top:We.top+ve.offsetTop};return ve.parentNode===Ge?we:Ke(ve.parentNode,Ge,we)}}function Ve(ve,Ge,We){return ve<We&&ve>Ge?ve-1:ve>We&&ve<Ge?ve+1:ve}function it(ve){var Ge=ve.lockOffset,We=ve.width,we=ve.height,mt=Ge,et=Ge,Ht="px";if(typeof Ge=="string"){var Se=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(Ge);y()(Se!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',Ge),mt=parseFloat(Ge),et=parseFloat(Ge),Ht=Se[1]}return y()(isFinite(mt)&&isFinite(et),"lockOffset value should be a finite. Given %s",Ge),Ht==="%"&&(mt=mt*We/100,et=et*we/100),{x:mt,y:et}}function rt(ve){var Ge=ve.height,We=ve.width,we=ve.lockOffset,mt=Array.isArray(we)?we:[we,we];y()(mt.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",we);var et=(0,se.Z)(mt,2),Ht=et[0],Se=et[1];return[it({height:Ge,lockOffset:Ht,width:We}),it({height:Ge,lockOffset:Se,width:We})]}function vt(ve){var Ge=window.getComputedStyle(ve),We=/(auto|scroll)/,we=["overflow","overflowX","overflowY"];return we.find(function(mt){return We.test(Ge[mt])})}function Rt(ve){return ve instanceof HTMLElement?vt(ve)?ve:Rt(ve.parentNode):null}function Yt(ve){var Ge=window.getComputedStyle(ve);return Ge.display==="grid"?{x:Ee(Ge.gridColumnGap),y:Ee(Ge.gridRowGap)}:{x:0,y:0}}var Je={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},st={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function At(ve){var Ge="input, textarea, select, canvas, [contenteditable]",We=ve.querySelectorAll(Ge),we=ve.cloneNode(!0),mt=(0,b.Z)(we.querySelectorAll(Ge));return mt.forEach(function(et,Ht){if(et.type!=="file"&&(et.value=We[Ht].value),et.type==="radio"&&et.name&&(et.name="__sortableClone__".concat(et.name)),et.tagName===st.Canvas&&We[Ht].width>0&&We[Ht].height>0){var Se=et.getContext("2d");Se.drawImage(We[Ht],0,0)}}),we}function Nt(ve){var Ge,We,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return We=Ge=function(mt){_inherits(et,mt);function et(){return _classCallCheck(this,et),_possibleConstructorReturn(this,_getPrototypeOf(et).apply(this,arguments))}return _createClass(et,[{key:"componentDidMount",value:function(){var Se=findDOMNode(this);Se.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return invariant(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return createElement(ve,_extends({ref:Se},this.props))}}]),et}(Component),_defineProperty(Ge,"displayName",_e("sortableHandle",ve)),We}function Pt(ve){return ve.sortableHandle!=null}var sn=function(){function ve(Ge,We){(0,Ie.Z)(this,ve),this.container=Ge,this.onScrollCallback=We}return(0,be.Z)(ve,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(We){var we=this,mt=We.translate,et=We.minTranslate,Ht=We.maxTranslate,Se=We.width,ut=We.height,xt={x:0,y:0},Ae={x:1,y:1},He={x:10,y:10},ct=this.container,wt=ct.scrollTop,Zt=ct.scrollLeft,gn=ct.scrollHeight,dt=ct.scrollWidth,Dt=ct.clientHeight,yt=ct.clientWidth,en=wt===0,Vt=gn-wt-Dt===0,un=Zt===0,Un=dt-Zt-yt===0;mt.y>=Ht.y-ut/2&&!Vt?(xt.y=1,Ae.y=He.y*Math.abs((Ht.y-ut/2-mt.y)/ut)):mt.x>=Ht.x-Se/2&&!Un?(xt.x=1,Ae.x=He.x*Math.abs((Ht.x-Se/2-mt.x)/Se)):mt.y<=et.y+ut/2&&!en?(xt.y=-1,Ae.y=He.y*Math.abs((mt.y-ut/2-et.y)/ut)):mt.x<=et.x+Se/2&&!un&&(xt.x=-1,Ae.x=He.x*Math.abs((mt.x-Se/2-et.x)/Se)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(xt.x!==0||xt.y!==0)&&(this.interval=setInterval(function(){we.isAutoScrolling=!0;var mn={left:Ae.x*xt.x,top:Ae.y*xt.y};we.container.scrollTop+=mn.top,we.container.scrollLeft+=mn.left,we.onScrollCallback(mn)},5))}}]),ve}();function Fe(ve){var Ge=ve.node;return{height:Ge.offsetHeight,width:Ge.offsetWidth}}function Qt(ve){var Ge=[st.Input,st.Textarea,st.Select,st.Option,st.Button];return!!(Ge.indexOf(ve.target.tagName)!==-1||Pe(ve.target,function(We){return We.contentEditable==="true"}))}var Gt={axis:ye().oneOf(["x","y","xy"]),contentWindow:ye().any,disableAutoscroll:ye().bool,distance:ye().number,getContainer:ye().func,getHelperDimensions:ye().func,helperClass:ye().string,helperContainer:ye().oneOfType([ye().func,typeof HTMLElement=="undefined"?ye().any:ye().instanceOf(HTMLElement)]),hideSortableGhost:ye().bool,keyboardSortingTransitionDuration:ye().number,lockAxis:ye().string,lockOffset:ye().oneOfType([ye().number,ye().string,ye().arrayOf(ye().oneOfType([ye().number,ye().string]))]),lockToContainerEdges:ye().bool,onSortEnd:ye().func,onSortMove:ye().func,onSortOver:ye().func,onSortStart:ye().func,pressDelay:ye().number,pressThreshold:ye().number,keyCodes:ye().shape({lift:ye().arrayOf(ye().number),drop:ye().arrayOf(ye().number),cancel:ye().arrayOf(ye().number),up:ye().arrayOf(ye().number),down:ye().arrayOf(ye().number)}),shouldCancelStart:ye().func,transitionDuration:ye().number,updateBeforeSortStart:ye().func,useDragHandle:ye().bool,useWindowAsScrollContainer:ye().bool},Hn={lift:[Je.SPACE],drop:[Je.SPACE],cancel:[Je.ESC],up:[Je.UP,Je.LEFT],down:[Je.DOWN,Je.RIGHT]},ea={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Fe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Hn,shouldCancelStart:Qt,transitionDuration:300,useWindowAsScrollContainer:!1},Re=Object.keys(Gt);function qe(ve){y()(!(ve.distance&&ve.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function tt(ve,Ge){try{var We=ve()}catch(we){return Ge(!0,we)}return We&&We.then?We.then(Ge.bind(null,!1),Ge.bind(null,!0)):Ge(!1,value)}function Le(ve){var Ge,We,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return We=Ge=function(mt){(0,nt.Z)(et,mt);function et(Ht){var Se;return(0,Ie.Z)(this,et),Se=(0,Ne.Z)(this,(0,ie.Z)(et).call(this,Ht)),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"state",{}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleStart",function(ut){var xt=Se.props,Ae=xt.distance,He=xt.shouldCancelStart;if(!(ut.button===2||He(ut))){Se.touched=!0,Se.position=Be(ut);var ct=Pe(ut.target,function(yt){return yt.sortableInfo!=null});if(ct&&ct.sortableInfo&&Se.nodeIsChild(ct)&&!Se.state.sorting){var wt=Se.props.useDragHandle,Zt=ct.sortableInfo,gn=Zt.index,dt=Zt.collection,Dt=Zt.disabled;if(Dt||wt&&!Pe(ut.target,Pt))return;Se.manager.active={collection:dt,index:gn},!$e(ut)&&ut.target.tagName===st.Anchor&&ut.preventDefault(),Ae||(Se.props.pressDelay===0?Se.handlePress(ut):Se.pressTimer=setTimeout(function(){return Se.handlePress(ut)},Se.props.pressDelay))}}}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"nodeIsChild",function(ut){return ut.sortableInfo.manager===Se.manager}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleMove",function(ut){var xt=Se.props,Ae=xt.distance,He=xt.pressThreshold;if(!Se.state.sorting&&Se.touched&&!Se._awaitingUpdateBeforeSortStart){var ct=Be(ut),wt={x:Se.position.x-ct.x,y:Se.position.y-ct.y},Zt=Math.abs(wt.x)+Math.abs(wt.y);Se.delta=wt,!Ae&&(!He||Zt>=He)?(clearTimeout(Se.cancelTimer),Se.cancelTimer=setTimeout(Se.cancel,0)):Ae&&Zt>=Ae&&Se.manager.isActive()&&Se.handlePress(ut)}}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleEnd",function(){Se.touched=!1,Se.cancel()}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"cancel",function(){var ut=Se.props.distance,xt=Se.state.sorting;xt||(ut||clearTimeout(Se.pressTimer),Se.manager.active=null)}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handlePress",function(ut){try{var xt=Se.manager.getActive(),Ae=function(){if(xt){var He=function(){var $n=Vt.sortableInfo.index,_t=De(Vt),Tt=Yt(Se.container),Xt=Se.scrollContainer.getBoundingClientRect(),ya=Zt({index:$n,node:Vt,collection:un});if(Se.node=Vt,Se.margin=_t,Se.gridGap=Tt,Se.width=ya.width,Se.height=ya.height,Se.marginOffset={x:Se.margin.left+Se.margin.right+Se.gridGap.x,y:Math.max(Se.margin.top,Se.margin.bottom,Se.gridGap.y)},Se.boundingClientRect=Vt.getBoundingClientRect(),Se.containerBoundingRect=Xt,Se.index=$n,Se.newIndex=$n,Se.axis={x:wt.indexOf("x")>=0,y:wt.indexOf("y")>=0},Se.offsetEdge=Ke(Vt,Se.container),Un?Se.initialOffset=Be((0,he.Z)({},ut,{pageX:Se.boundingClientRect.left,pageY:Se.boundingClientRect.top})):Se.initialOffset=Be(ut),Se.initialScroll={left:Se.scrollContainer.scrollLeft,top:Se.scrollContainer.scrollTop},Se.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Se.helper=Se.helperContainer.appendChild(At(Vt)),ue(Se.helper,{boxSizing:"border-box",height:"".concat(Se.height,"px"),left:"".concat(Se.boundingClientRect.left-_t.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Se.boundingClientRect.top-_t.top,"px"),width:"".concat(Se.width,"px")}),Un&&Se.helper.focus(),dt&&(Se.sortableGhost=Vt,ue(Vt,{opacity:0,visibility:"hidden"})),Se.minTranslate={},Se.maxTranslate={},Un){var ta=en?{top:0,left:0,width:Se.contentWindow.innerWidth,height:Se.contentWindow.innerHeight}:Se.containerBoundingRect,Mn=ta.top,Ga=ta.left,Ba=ta.width,Nr=ta.height,Dr=Mn+Nr,Xa=Ga+Ba;Se.axis.x&&(Se.minTranslate.x=Ga-Se.boundingClientRect.left,Se.maxTranslate.x=Xa-(Se.boundingClientRect.left+Se.width)),Se.axis.y&&(Se.minTranslate.y=Mn-Se.boundingClientRect.top,Se.maxTranslate.y=Dr-(Se.boundingClientRect.top+Se.height))}else Se.axis.x&&(Se.minTranslate.x=(en?0:Xt.left)-Se.boundingClientRect.left-Se.width/2,Se.maxTranslate.x=(en?Se.contentWindow.innerWidth:Xt.left+Xt.width)-Se.boundingClientRect.left-Se.width/2),Se.axis.y&&(Se.minTranslate.y=(en?0:Xt.top)-Se.boundingClientRect.top-Se.height/2,Se.maxTranslate.y=(en?Se.contentWindow.innerHeight:Xt.top+Xt.height)-Se.boundingClientRect.top-Se.height/2);gn&&gn.split(" ").forEach(function(at){return Se.helper.classList.add(at)}),Se.listenerNode=ut.touches?Vt:Se.contentWindow,Un?(Se.listenerNode.addEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(at){return Se.listenerNode.addEventListener(at,Se.handleSortMove,!1)}),oe.end.forEach(function(at){return Se.listenerNode.addEventListener(at,Se.handleSortEnd,!1)})),Se.setState({sorting:!0,sortingIndex:$n}),yt&&yt({node:Vt,index:$n,collection:un,isKeySorting:Un,nodes:Se.manager.getOrderedRefs(),helper:Se.helper},ut),Un&&Se.keyMove(0)},ct=Se.props,wt=ct.axis,Zt=ct.getHelperDimensions,gn=ct.helperClass,dt=ct.hideSortableGhost,Dt=ct.updateBeforeSortStart,yt=ct.onSortStart,en=ct.useWindowAsScrollContainer,Vt=xt.node,un=xt.collection,Un=Se.manager.isKeySorting,mn=function(){if(typeof Dt=="function"){Se._awaitingUpdateBeforeSortStart=!0;var an=tt(function(){var $n=Vt.sortableInfo.index;return Promise.resolve(Dt({collection:un,index:$n,node:Vt,isKeySorting:Un},ut)).then(function(){})},function($n,_t){if(Se._awaitingUpdateBeforeSortStart=!1,$n)throw _t;return _t});if(an&&an.then)return an.then(function(){})}}();return mn&&mn.then?mn.then(He):He(mn)}}();return Promise.resolve(Ae&&Ae.then?Ae.then(function(){}):void 0)}catch(He){return Promise.reject(He)}}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleSortMove",function(ut){var xt=Se.props.onSortMove;typeof ut.preventDefault=="function"&&ut.preventDefault(),Se.updateHelperPosition(ut),Se.animateNodes(),Se.autoscroll(),xt&&xt(ut)}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleSortEnd",function(ut){var xt=Se.props,Ae=xt.hideSortableGhost,He=xt.onSortEnd,ct=Se.manager,wt=ct.active.collection,Zt=ct.isKeySorting,gn=Se.manager.getOrderedRefs();Se.listenerNode&&(Zt?(Se.listenerNode.removeEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(Vt){return Se.listenerNode.removeEventListener(Vt,Se.handleSortMove)}),oe.end.forEach(function(Vt){return Se.listenerNode.removeEventListener(Vt,Se.handleSortEnd)}))),Se.helper.parentNode.removeChild(Se.helper),Ae&&Se.sortableGhost&&ue(Se.sortableGhost,{opacity:"",visibility:""});for(var dt=0,Dt=gn.length;dt<Dt;dt++){var yt=gn[dt],en=yt.node;yt.edgeOffset=null,yt.boundingClientRect=null,me(en,null),fe(en,null),yt.translate=null}Se.autoScroller.clear(),Se.manager.active=null,Se.manager.isKeySorting=!1,Se.setState({sorting:!1,sortingIndex:null}),typeof He=="function"&&He({collection:wt,newIndex:Se.newIndex,oldIndex:Se.index,isKeySorting:Zt,nodes:gn},ut),Se.touched=!1}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"autoscroll",function(){var ut=Se.props.disableAutoscroll,xt=Se.manager.isKeySorting;if(ut){Se.autoScroller.clear();return}if(xt){var Ae=(0,he.Z)({},Se.translate),He=0,ct=0;Se.axis.x&&(Ae.x=Math.min(Se.maxTranslate.x,Math.max(Se.minTranslate.x,Se.translate.x)),He=Se.translate.x-Ae.x),Se.axis.y&&(Ae.y=Math.min(Se.maxTranslate.y,Math.max(Se.minTranslate.y,Se.translate.y)),ct=Se.translate.y-Ae.y),Se.translate=Ae,me(Se.helper,Se.translate),Se.scrollContainer.scrollLeft+=He,Se.scrollContainer.scrollTop+=ct;return}Se.autoScroller.update({height:Se.height,maxTranslate:Se.maxTranslate,minTranslate:Se.minTranslate,translate:Se.translate,width:Se.width})}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"onAutoScroll",function(ut){Se.translate.x+=ut.left,Se.translate.y+=ut.top,Se.animateNodes()}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleKeyDown",function(ut){var xt=ut.keyCode,Ae=Se.props,He=Ae.shouldCancelStart,ct=Ae.keyCodes,wt=ct===void 0?{}:ct,Zt=(0,he.Z)({},Hn,wt);Se.manager.active&&!Se.manager.isKeySorting||!Se.manager.active&&(!Zt.lift.includes(xt)||He(ut)||!Se.isValidSortingTarget(ut))||(ut.stopPropagation(),ut.preventDefault(),Zt.lift.includes(xt)&&!Se.manager.active?Se.keyLift(ut):Zt.drop.includes(xt)&&Se.manager.active?Se.keyDrop(ut):Zt.cancel.includes(xt)?(Se.newIndex=Se.manager.active.index,Se.keyDrop(ut)):Zt.up.includes(xt)?Se.keyMove(-1):Zt.down.includes(xt)&&Se.keyMove(1))}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"keyLift",function(ut){var xt=ut.target,Ae=Pe(xt,function(Zt){return Zt.sortableInfo!=null}),He=Ae.sortableInfo,ct=He.index,wt=He.collection;Se.initialFocusedNode=xt,Se.manager.isKeySorting=!0,Se.manager.active={index:ct,collection:wt},Se.handlePress(ut)}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"keyMove",function(ut){var xt=Se.manager.getOrderedRefs(),Ae=xt[xt.length-1].node.sortableInfo.index,He=Se.newIndex+ut,ct=Se.newIndex;if(!(He<0||He>Ae)){Se.prevIndex=ct,Se.newIndex=He;var wt=Ve(Se.newIndex,Se.prevIndex,Se.index),Zt=xt.find(function(Un){var mn=Un.node;return mn.sortableInfo.index===wt}),gn=Zt.node,dt=Se.containerScrollDelta,Dt=Zt.boundingClientRect||pt(gn,dt),yt=Zt.translate||{x:0,y:0},en={top:Dt.top+yt.y-dt.top,left:Dt.left+yt.x-dt.left},Vt=ct<He,un={x:Vt&&Se.axis.x?gn.offsetWidth-Se.width:0,y:Vt&&Se.axis.y?gn.offsetHeight-Se.height:0};Se.handleSortMove({pageX:en.left+un.x,pageY:en.top+un.y,ignoreTransition:ut===0})}}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"keyDrop",function(ut){Se.handleSortEnd(ut),Se.initialFocusedNode&&Se.initialFocusedNode.focus()}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"handleKeyEnd",function(ut){Se.manager.active&&Se.keyDrop(ut)}),(0,Ze.Z)((0,je.Z)((0,je.Z)(Se)),"isValidSortingTarget",function(ut){var xt=Se.props.useDragHandle,Ae=ut.target,He=Pe(Ae,function(ct){return ct.sortableInfo!=null});return He&&He.sortableInfo&&!He.sortableInfo.disabled&&(xt?Pt(Ae):Ae.sortableInfo)}),qe(Ht),Se.manager=new E,Se.events={end:Se.handleEnd,move:Se.handleMove,start:Se.handleStart},Se}return(0,be.Z)(et,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Se=this,ut=this.props.useWindowAsScrollContainer,xt=this.getContainer();Promise.resolve(xt).then(function(Ae){Se.container=Ae,Se.document=Se.container.ownerDocument||document;var He=Se.props.contentWindow||Se.document.defaultView||window;Se.contentWindow=typeof He=="function"?He():He,Se.scrollContainer=ut?Se.document.scrollingElement||Se.document.documentElement:Rt(Se.container)||Se.container,Se.autoScroller=new sn(Se.scrollContainer,Se.onAutoScroll),Object.keys(Se.events).forEach(function(ct){return oe[ct].forEach(function(wt){return Se.container.addEventListener(wt,Se.events[ct],!1)})}),Se.container.addEventListener("keydown",Se.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Se=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(ut){return oe[ut].forEach(function(xt){return Se.container.removeEventListener(xt,Se.events[ut])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(Se){var ut=this.props,xt=ut.lockAxis,Ae=ut.lockOffset,He=ut.lockToContainerEdges,ct=ut.transitionDuration,wt=ut.keyboardSortingTransitionDuration,Zt=wt===void 0?ct:wt,gn=this.manager.isKeySorting,dt=Se.ignoreTransition,Dt=Be(Se),yt={x:Dt.x-this.initialOffset.x,y:Dt.y-this.initialOffset.y};if(yt.y-=window.pageYOffset-this.initialWindowScroll.top,yt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=yt,He){var en=rt({height:this.height,lockOffset:Ae,width:this.width}),Vt=(0,se.Z)(en,2),un=Vt[0],Un=Vt[1],mn={x:this.width/2-un.x,y:this.height/2-un.y},an={x:this.width/2-Un.x,y:this.height/2-Un.y};yt.x=xe(this.minTranslate.x+mn.x,this.maxTranslate.x-an.x,yt.x),yt.y=xe(this.minTranslate.y+mn.y,this.maxTranslate.y-an.y,yt.y)}xt==="x"?yt.y=0:xt==="y"&&(yt.x=0),gn&&Zt&&!dt&&fe(this.helper,Zt),me(this.helper,yt)}},{key:"animateNodes",value:function(){var Se=this.props,ut=Se.transitionDuration,xt=Se.hideSortableGhost,Ae=Se.onSortOver,He=this.containerScrollDelta,ct=this.windowScrollDelta,wt=this.manager.getOrderedRefs(),Zt={left:this.offsetEdge.left+this.translate.x+He.left,top:this.offsetEdge.top+this.translate.y+He.top},gn=this.manager.isKeySorting,dt=this.newIndex;this.newIndex=null;for(var Dt=0,yt=wt.length;Dt<yt;Dt++){var en=wt[Dt].node,Vt=en.sortableInfo.index,un=en.offsetWidth,Un=en.offsetHeight,mn={height:this.height>Un?Un/2:this.height/2,width:this.width>un?un/2:this.width/2},an=gn&&Vt>this.index&&Vt<=dt,$n=gn&&Vt<this.index&&Vt>=dt,_t={x:0,y:0},Tt=wt[Dt].edgeOffset;Tt||(Tt=Ke(en,this.container),wt[Dt].edgeOffset=Tt,gn&&(wt[Dt].boundingClientRect=pt(en,He)));var Xt=Dt<wt.length-1&&wt[Dt+1],ya=Dt>0&&wt[Dt-1];if(Xt&&!Xt.edgeOffset&&(Xt.edgeOffset=Ke(Xt.node,this.container),gn&&(Xt.boundingClientRect=pt(Xt.node,He))),Vt===this.index){xt&&(this.sortableGhost=en,ue(en,{opacity:0,visibility:"hidden"}));continue}ut&&fe(en,ut),this.axis.x?this.axis.y?$n||Vt<this.index&&(Zt.left+ct.left-mn.width<=Tt.left&&Zt.top+ct.top<=Tt.top+mn.height||Zt.top+ct.top+mn.height<=Tt.top)?(_t.x=this.width+this.marginOffset.x,Tt.left+_t.x>this.containerBoundingRect.width-mn.width&&Xt&&(_t.x=Xt.edgeOffset.left-Tt.left,_t.y=Xt.edgeOffset.top-Tt.top),this.newIndex===null&&(this.newIndex=Vt)):(an||Vt>this.index&&(Zt.left+ct.left+mn.width>=Tt.left&&Zt.top+ct.top+mn.height>=Tt.top||Zt.top+ct.top+mn.height>=Tt.top+Un))&&(_t.x=-(this.width+this.marginOffset.x),Tt.left+_t.x<this.containerBoundingRect.left+mn.width&&ya&&(_t.x=ya.edgeOffset.left-Tt.left,_t.y=ya.edgeOffset.top-Tt.top),this.newIndex=Vt):an||Vt>this.index&&Zt.left+ct.left+mn.width>=Tt.left?(_t.x=-(this.width+this.marginOffset.x),this.newIndex=Vt):($n||Vt<this.index&&Zt.left+ct.left<=Tt.left+mn.width)&&(_t.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Vt)):this.axis.y&&(an||Vt>this.index&&Zt.top+ct.top+mn.height>=Tt.top?(_t.y=-(this.height+this.marginOffset.y),this.newIndex=Vt):($n||Vt<this.index&&Zt.top+ct.top<=Tt.top+mn.height)&&(_t.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Vt))),me(en,_t),wt[Dt].translate=_t}this.newIndex==null&&(this.newIndex=this.index),gn&&(this.newIndex=dt);var ta=gn?this.prevIndex:dt;Ae&&this.newIndex!==ta&&Ae({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:ta,isKeySorting:gn,nodes:wt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return y()(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Se=this.props.getContainer;return typeof Se!="function"?(0,re.findDOMNode)(this):Se(we.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return(0,ze.createElement)(ve,(0,z.Z)({ref:Se},ne(this.props,Re)))}},{key:"helperContainer",get:function(){var Se=this.props.helperContainer;return typeof Se=="function"?Se():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Se=this.props.useWindowAsScrollContainer;return Se?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),et}(ze.Component),(0,Ze.Z)(Ge,"displayName",_e("sortableList",ve)),(0,Ze.Z)(Ge,"defaultProps",ea),(0,Ze.Z)(Ge,"propTypes",Gt),(0,Ze.Z)(Ge,"childContextTypes",{manager:ye().object.isRequired}),We}var ft={index:ye().number.isRequired,collection:ye().oneOfType([ye().number,ye().string]),disabled:ye().bool},gt=Object.keys(ft);function Oe(ve){var Ge,We,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return We=Ge=function(mt){(0,nt.Z)(et,mt);function et(){return(0,Ie.Z)(this,et),(0,Ne.Z)(this,(0,ie.Z)(et).apply(this,arguments))}return(0,be.Z)(et,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Se){this.node&&(Se.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Se.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Se.collection!==this.props.collection&&(this.unregister(Se.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Se=this.props,ut=Se.collection,xt=Se.disabled,Ae=Se.index,He=(0,re.findDOMNode)(this);He.sortableInfo={collection:ut,disabled:xt,index:Ae,manager:this.context.manager},this.node=He,this.ref={node:He},this.context.manager.add(ut,this.ref)}},{key:"unregister",value:function(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Se,this.ref)}},{key:"getWrappedInstance",value:function(){return y()(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return(0,ze.createElement)(ve,(0,z.Z)({ref:Se},ne(this.props,gt)))}}]),et}(ze.Component),(0,Ze.Z)(Ge,"displayName",_e("sortableElement",ve)),(0,Ze.Z)(Ge,"contextTypes",{manager:ye().object.isRequired}),(0,Ze.Z)(Ge,"propTypes",ft),(0,Ze.Z)(Ge,"defaultProps",{collection:0}),We}},25510:function(Et){"use strict";Et.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhz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