!(function(){var Td=Object.defineProperty,Zd=Object.defineProperties;var Kd=Object.getOwnPropertyDescriptors;var Kc=Object.getOwnPropertySymbols;var sd=Object.prototype.hasOwnProperty,cd=Object.prototype.propertyIsEnumerable;var Uc=Math.pow,ud=(Zt,Ht,z)=>Ht in Zt?Td(Zt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:z}):Zt[Ht]=z,si=(Zt,Ht)=>{for(var z in Ht||(Ht={}))sd.call(Ht,z)&&ud(Zt,z,Ht[z]);if(Kc)for(var z of Kc(Ht))cd.call(Ht,z)&&ud(Zt,z,Ht[z]);return Zt},Gl=(Zt,Ht)=>Zd(Zt,Kd(Ht));var zc=(Zt,Ht)=>{var z={};for(var te in Zt)sd.call(Zt,te)&&Ht.indexOf(te)<0&&(z[te]=Zt[te]);if(Zt!=null&&Kc)for(var te of Kc(Zt))Ht.indexOf(te)<0&&cd.call(Zt,te)&&(z[te]=Zt[te]);return z};var dd=(Zt,Ht,z)=>new Promise((te,ie)=>{var Fe=je=>{try{ze(z.next(je))}catch(se){ie(se)}},Xe=je=>{try{ze(z.throw(je))}catch(se){ie(se)}},ze=je=>je.done?te(je.value):Promise.resolve(je.value).then(Fe,Xe);ze((z=z.apply(Zt,Ht)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[4030],{33463:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},28575:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},81893:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},55304:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},73148:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},56747:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},50881:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},22751:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},34182:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},74664:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},91034:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return se}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Oe,Re){return ie.createElement(ze.Z,(0,te.Z)({},Oe,{ref:Re,icon:Xe}))},se=ie.forwardRef(je)},60887:function(Zt,Ht,z){"use strict";z.d(Ht,{LB:function(){return Ql},g4:function(){return xt},VK:function(){return Lt},Cj:function(){return Ji},O1:function(){return Yr},Zj:function(){return oo}});var te=z(67294),ie=z(73935),Fe=z(24285);const Xe={display:"none"};function ze(ve){let{id:Ee,value:Ve}=ve;return te.createElement("div",{id:Ee,style:Xe},Ve)}function je(ve){let{id:Ee,announcement:Ve,ariaLiveType:be="assertive"}=ve;const ft={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return te.createElement("div",{id:Ee,style:ft,role:"status","aria-live":be,"aria-atomic":!0},Ve)}function se(){const[ve,Ee]=(0,te.useState)("");return{announce:(0,te.useCallback)(be=>{be!=null&&Ee(be)},[]),announcement:ve}}const We=(0,te.createContext)(null);function Oe(ve){const Ee=(0,te.useContext)(We);(0,te.useEffect)(()=>{if(!Ee)throw new Error("useDndMonitor must be used within a children of ");return Ee(ve)},[ve,Ee])}function Re(){const[ve]=(0,te.useState)(()=>new Set),Ee=(0,te.useCallback)(be=>(ve.add(be),()=>ve.delete(be)),[ve]);return[(0,te.useCallback)(be=>{let{type:ft,event:Ue}=be;ve.forEach(st=>{var dt;return(dt=st[ft])==null?void 0:dt.call(st,Ue)})},[ve]),Ee]}const Ye={draggable:` To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel. `},ce={onDragStart(ve){let{active:Ee}=ve;return"Picked up draggable item "+Ee.id+"."},onDragOver(ve){let{active:Ee,over:Ve}=ve;return Ve?"Draggable item "+Ee.id+" was moved over droppable area "+Ve.id+".":"Draggable item "+Ee.id+" is no longer over a droppable area."},onDragEnd(ve){let{active:Ee,over:Ve}=ve;return Ve?"Draggable item "+Ee.id+" was dropped over droppable area "+Ve.id:"Draggable item "+Ee.id+" was dropped."},onDragCancel(ve){let{active:Ee}=ve;return"Dragging was cancelled. Draggable item "+Ee.id+" was dropped."}};function De(ve){let{announcements:Ee=ce,container:Ve,hiddenTextDescribedById:be,screenReaderInstructions:ft=Ye}=ve;const{announce:Ue,announcement:st}=se(),dt=(0,Fe.Ld)("DndLiveRegion"),[pt,bt]=(0,te.useState)(!1);if((0,te.useEffect)(()=>{bt(!0)},[]),Oe((0,te.useMemo)(()=>({onDragStart(hn){let{active:qn}=hn;Ue(Ee.onDragStart({active:qn}))},onDragMove(hn){let{active:qn,over:ea}=hn;Ee.onDragMove&&Ue(Ee.onDragMove({active:qn,over:ea}))},onDragOver(hn){let{active:qn,over:ea}=hn;Ue(Ee.onDragOver({active:qn,over:ea}))},onDragEnd(hn){let{active:qn,over:ea}=hn;Ue(Ee.onDragEnd({active:qn,over:ea}))},onDragCancel(hn){let{active:qn,over:ea}=hn;Ue(Ee.onDragCancel({active:qn,over:ea}))}}),[Ue,Ee])),!pt)return null;const yn=te.createElement(te.Fragment,null,te.createElement(ze,{id:be,value:ft.draggable}),te.createElement(je,{id:dt,announcement:st}));return Ve?(0,ie.createPortal)(yn,Ve):yn}var de;(function(ve){ve.DragStart="dragStart",ve.DragMove="dragMove",ve.DragEnd="dragEnd",ve.DragCancel="dragCancel",ve.DragOver="dragOver",ve.RegisterDroppable="registerDroppable",ve.SetDroppableDisabled="setDroppableDisabled",ve.UnregisterDroppable="unregisterDroppable"})(de||(de={}));function a(){}function y(ve,Ee){return useMemo(()=>({sensor:ve,options:Ee!=null?Ee:{}}),[ve,Ee])}function b(){for(var ve=arguments.length,Ee=new Array(ve),Ve=0;Ve[...Ee].filter(be=>be!=null),[...Ee])}const E=Object.freeze({x:0,y:0});function x(ve,Ee){return Math.sqrt(Math.pow(ve.x-Ee.x,2)+Math.pow(ve.y-Ee.y,2))}function ee(ve,Ee){const Ve=getEventCoordinates(ve);if(!Ve)return"0 0";const be={x:(Ve.x-Ee.left)/Ee.width*100,y:(Ve.y-Ee.top)/Ee.height*100};return be.x+"% "+be.y+"%"}function re(ve,Ee){let{data:{value:Ve}}=ve,{data:{value:be}}=Ee;return Ve-be}function ae(ve,Ee){let{data:{value:Ve}}=ve,{data:{value:be}}=Ee;return be-Ve}function ne(ve){let{left:Ee,top:Ve,height:be,width:ft}=ve;return[{x:Ee,y:Ve},{x:Ee+ft,y:Ve},{x:Ee,y:Ve+be},{x:Ee+ft,y:Ve+be}]}function pe(ve,Ee){if(!ve||ve.length===0)return null;const[Ve]=ve;return Ee?Ve[Ee]:Ve}function Ce(ve,Ee,Ve){return Ee===void 0&&(Ee=ve.left),Ve===void 0&&(Ve=ve.top),{x:Ee+ve.width*.5,y:Ve+ve.height*.5}}const Ae=ve=>{let{collisionRect:Ee,droppableRects:Ve,droppableContainers:be}=ve;const ft=Ce(Ee,Ee.left,Ee.top),Ue=[];for(const st of be){const{id:dt}=st,pt=Ve.get(dt);if(pt){const bt=x(Ce(pt),ft);Ue.push({id:dt,data:{droppableContainer:st,value:bt}})}}return Ue.sort(re)},Le=ve=>{let{collisionRect:Ee,droppableRects:Ve,droppableContainers:be}=ve;const ft=ne(Ee),Ue=[];for(const st of be){const{id:dt}=st,pt=Ve.get(dt);if(pt){const bt=ne(pt),yn=ft.reduce((qn,ea,ur)=>qn+x(bt[ur],ea),0),hn=Number((yn/4).toFixed(4));Ue.push({id:dt,data:{droppableContainer:st,value:hn}})}}return Ue.sort(re)};function Se(ve,Ee){const Ve=Math.max(Ee.top,ve.top),be=Math.max(Ee.left,ve.left),ft=Math.min(Ee.left+Ee.width,ve.left+ve.width),Ue=Math.min(Ee.top+Ee.height,ve.top+ve.height),st=ft-be,dt=Ue-Ve;if(be{let{collisionRect:Ee,droppableRects:Ve,droppableContainers:be}=ve;const ft=[];for(const Ue of be){const{id:st}=Ue,dt=Ve.get(st);if(dt){const pt=Se(dt,Ee);pt>0&&ft.push({id:st,data:{droppableContainer:Ue,value:pt}})}}return ft.sort(ae)};function Qe(ve,Ee){const{top:Ve,left:be,bottom:ft,right:Ue}=Ee;return Ve<=ve.y&&ve.y<=ft&&be<=ve.x&&ve.x<=Ue}const Be=ve=>{let{droppableContainers:Ee,droppableRects:Ve,pointerCoordinates:be}=ve;if(!be)return[];const ft=[];for(const Ue of Ee){const{id:st}=Ue,dt=Ve.get(st);if(dt&&Qe(be,dt)){const bt=ne(dt).reduce((hn,qn)=>hn+x(be,qn),0),yn=Number((bt/4).toFixed(4));ft.push({id:st,data:{droppableContainer:Ue,value:yn}})}}return ft.sort(re)};function Ge(ve,Ee,Ve){return Gl(si({},ve),{scaleX:Ee&&Ve?Ee.width/Ve.width:1,scaleY:Ee&&Ve?Ee.height/Ve.height:1})}function Ze(ve,Ee){return ve&&Ee?{x:ve.left-Ee.left,y:ve.top-Ee.top}:E}function it(ve){return function(Ve){for(var be=arguments.length,ft=new Array(be>1?be-1:0),Ue=1;UeGl(si({},st),{top:st.top+ve*dt.y,bottom:st.bottom+ve*dt.y,left:st.left+ve*dt.x,right:st.right+ve*dt.x}),si({},Ve))}}const Je=it(1);function Dt(ve){if(ve.startsWith("matrix3d(")){const Ee=ve.slice(9,-1).split(/, /);return{x:+Ee[12],y:+Ee[13],scaleX:+Ee[0],scaleY:+Ee[5]}}else if(ve.startsWith("matrix(")){const Ee=ve.slice(7,-1).split(/, /);return{x:+Ee[4],y:+Ee[5],scaleX:+Ee[0],scaleY:+Ee[3]}}return null}function Nt(ve,Ee,Ve){const be=Dt(Ee);if(!be)return ve;const{scaleX:ft,scaleY:Ue,x:st,y:dt}=be,pt=ve.left-st-(1-ft)*parseFloat(Ve),bt=ve.top-dt-(1-Ue)*parseFloat(Ve.slice(Ve.indexOf(" ")+1)),yn=ft?ve.width/ft:ve.width,hn=Ue?ve.height/Ue:ve.height;return{width:yn,height:hn,top:bt,right:pt+yn,bottom:bt+hn,left:pt}}const St={ignoreTransform:!1};function Lt(ve,Ee){Ee===void 0&&(Ee=St);let Ve=ve.getBoundingClientRect();if(Ee.ignoreTransform){const{transform:bt,transformOrigin:yn}=(0,Fe.Jj)(ve).getComputedStyle(ve);bt&&(Ve=Nt(Ve,bt,yn))}const{top:be,left:ft,width:Ue,height:st,bottom:dt,right:pt}=Ve;return{top:be,left:ft,width:Ue,height:st,bottom:dt,right:pt}}function $t(ve){return Lt(ve,{ignoreTransform:!0})}function un(ve){const Ee=ve.innerWidth,Ve=ve.innerHeight;return{top:0,left:0,right:Ee,bottom:Ve,width:Ee,height:Ve}}function yt(ve,Ee){return Ee===void 0&&(Ee=(0,Fe.Jj)(ve).getComputedStyle(ve)),Ee.position==="fixed"}function It(ve,Ee){Ee===void 0&&(Ee=(0,Fe.Jj)(ve).getComputedStyle(ve));const Ve=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(ft=>{const Ue=Ee[ft];return typeof Ue=="string"?Ve.test(Ue):!1})}function Kt(ve,Ee){const Ve=[];function be(ft){if(Ee!=null&&Ve.length>=Ee||!ft)return Ve;if((0,Fe.qk)(ft)&&ft.scrollingElement!=null&&!Ve.includes(ft.scrollingElement))return Ve.push(ft.scrollingElement),Ve;if(!(0,Fe.Re)(ft)||(0,Fe.vZ)(ft)||Ve.includes(ft))return Ve;const Ue=(0,Fe.Jj)(ve).getComputedStyle(ft);return ft!==ve&&It(ft,Ue)&&Ve.push(ft),yt(ft,Ue)?Ve:be(ft.parentNode)}return ve?be(ve):Ve}function An(ve){const[Ee]=Kt(ve,1);return Ee!=null?Ee:null}function Pt(ve){return!Fe.Nq||!ve?null:(0,Fe.FJ)(ve)?ve:(0,Fe.UG)(ve)?(0,Fe.qk)(ve)||ve===(0,Fe.r3)(ve).scrollingElement?window:(0,Fe.Re)(ve)?ve:null:null}function Qt(ve){return(0,Fe.FJ)(ve)?ve.scrollX:ve.scrollLeft}function ke(ve){return(0,Fe.FJ)(ve)?ve.scrollY:ve.scrollTop}function zn(ve){return{x:Qt(ve),y:ke(ve)}}var an;(function(ve){ve[ve.Forward=1]="Forward",ve[ve.Backward=-1]="Backward"})(an||(an={}));function ya(ve){return!Fe.Nq||!ve?!1:ve===document.scrollingElement}function da(ve){const Ee={x:0,y:0},Ve=ya(ve)?{height:window.innerHeight,width:window.innerWidth}:{height:ve.clientHeight,width:ve.clientWidth},be={x:ve.scrollWidth-Ve.width,y:ve.scrollHeight-Ve.height},ft=ve.scrollTop<=Ee.y,Ue=ve.scrollLeft<=Ee.x,st=ve.scrollTop>=be.y,dt=ve.scrollLeft>=be.x;return{isTop:ft,isLeft:Ue,isBottom:st,isRight:dt,maxScroll:be,minScroll:Ee}}const Dn={x:.2,y:.2};function ht(ve,Ee,Ve,be,ft){let{top:Ue,left:st,right:dt,bottom:pt}=Ve;be===void 0&&(be=10),ft===void 0&&(ft=Dn);const{isTop:bt,isBottom:yn,isLeft:hn,isRight:qn}=da(ve),ea={x:0,y:0},ur={x:0,y:0},sa={height:Ee.height*ft.y,width:Ee.width*ft.x};return!bt&&Ue<=Ee.top+sa.height?(ea.y=an.Backward,ur.y=be*Math.abs((Ee.top+sa.height-Ue)/sa.height)):!yn&&pt>=Ee.bottom-sa.height&&(ea.y=an.Forward,ur.y=be*Math.abs((Ee.bottom-sa.height-pt)/sa.height)),!qn&&dt>=Ee.right-sa.width?(ea.x=an.Forward,ur.x=be*Math.abs((Ee.right-sa.width-dt)/sa.width)):!hn&&st<=Ee.left+sa.width&&(ea.x=an.Backward,ur.x=be*Math.abs((Ee.left+sa.width-st)/sa.width)),{direction:ea,speed:ur}}function nt(ve){if(ve===document.scrollingElement){const{innerWidth:Ue,innerHeight:st}=window;return{top:0,left:0,right:Ue,bottom:st,width:Ue,height:st}}const{top:Ee,left:Ve,right:be,bottom:ft}=ve.getBoundingClientRect();return{top:Ee,left:Ve,right:be,bottom:ft,width:ve.clientWidth,height:ve.clientHeight}}function tn(ve){return ve.reduce((Ee,Ve)=>(0,Fe.IH)(Ee,zn(Ve)),E)}function vn(ve){return ve.reduce((Ee,Ve)=>Ee+Qt(Ve),0)}function Vt(ve){return ve.reduce((Ee,Ve)=>Ee+ke(Ve),0)}function La(ve,Ee){if(Ee===void 0&&(Ee=Lt),!ve)return;const{top:Ve,left:be,bottom:ft,right:Ue}=Ee(ve);An(ve)&&(ft<=0||Ue<=0||Ve>=window.innerHeight||be>=window.innerWidth)&&ve.scrollIntoView({block:"center",inline:"center"})}const En=[["x",["left","right"],vn],["y",["top","bottom"],Vt]];class Ea{constructor(Ee,Ve){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 be=Kt(Ve),ft=tn(be);this.rect=si({},Ee),this.width=Ee.width,this.height=Ee.height;for(const[Ue,st,dt]of En)for(const pt of st)Object.defineProperty(this,pt,{get:()=>{const bt=dt(be),yn=ft[Ue]-bt;return this.rect[pt]+yn},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ia{constructor(Ee){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Ve=>{var be;return(be=this.target)==null?void 0:be.removeEventListener(...Ve)})},this.target=Ee}add(Ee,Ve,be){var ft;(ft=this.target)==null||ft.addEventListener(Ee,Ve,be),this.listeners.push([Ee,Ve,be])}}function Ta(ve){const{EventTarget:Ee}=(0,Fe.Jj)(ve);return ve instanceof Ee?ve:(0,Fe.r3)(ve)}function gt(ve,Ee){const Ve=Math.abs(ve.x),be=Math.abs(ve.y);return typeof Ee=="number"?Math.sqrt(Uc(Ve,2)+Uc(be,2))>Ee:"x"in Ee&&"y"in Ee?Ve>Ee.x&&be>Ee.y:"x"in Ee?Ve>Ee.x:"y"in Ee?be>Ee.y:!1}var Rt;(function(ve){ve.Click="click",ve.DragStart="dragstart",ve.Keydown="keydown",ve.ContextMenu="contextmenu",ve.Resize="resize",ve.SelectionChange="selectionchange",ve.VisibilityChange="visibilitychange"})(Rt||(Rt={}));function tr(ve){ve.preventDefault()}function Qn(ve){ve.stopPropagation()}var xt;(function(ve){ve.Space="Space",ve.Down="ArrowDown",ve.Right="ArrowRight",ve.Left="ArrowLeft",ve.Up="ArrowUp",ve.Esc="Escape",ve.Enter="Enter"})(xt||(xt={}));const wn={start:[xt.Space,xt.Enter],cancel:[xt.Esc],end:[xt.Space,xt.Enter]},Za=(ve,Ee)=>{let{currentCoordinates:Ve}=Ee;switch(ve.code){case xt.Right:return Gl(si({},Ve),{x:Ve.x+25});case xt.Left:return Gl(si({},Ve),{x:Ve.x-25});case xt.Down:return Gl(si({},Ve),{y:Ve.y+25});case xt.Up:return Gl(si({},Ve),{y:Ve.y-25})}};class Nn{constructor(Ee){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=Ee;const{event:{target:Ve}}=Ee;this.props=Ee,this.listeners=new Ia((0,Fe.r3)(Ve)),this.windowListeners=new Ia((0,Fe.Jj)(Ve)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Rt.Resize,this.handleCancel),this.windowListeners.add(Rt.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Rt.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:Ee,onStart:Ve}=this.props,be=Ee.node.current;be&&La(be),Ve(E)}handleKeyDown(Ee){if((0,Fe.vd)(Ee)){const{active:Ve,context:be,options:ft}=this.props,{keyboardCodes:Ue=wn,coordinateGetter:st=Za,scrollBehavior:dt="smooth"}=ft,{code:pt}=Ee;if(Ue.end.includes(pt)){this.handleEnd(Ee);return}if(Ue.cancel.includes(pt)){this.handleCancel(Ee);return}const{collisionRect:bt}=be.current,yn=bt?{x:bt.left,y:bt.top}:E;this.referenceCoordinates||(this.referenceCoordinates=yn);const hn=st(Ee,{active:Ve,context:be.current,currentCoordinates:yn});if(hn){const qn=(0,Fe.$X)(hn,yn),ea={x:0,y:0},{scrollableAncestors:ur}=be.current;for(const sa of ur){const jn=Ee.code,{isTop:rn,isRight:Gn,isLeft:Wn,isBottom:Ua,maxScroll:dr,minScroll:Ir}=da(sa),Fr=nt(sa),Sr={x:Math.min(jn===xt.Right?Fr.right-Fr.width/2:Fr.right,Math.max(jn===xt.Right?Fr.left:Fr.left+Fr.width/2,hn.x)),y:Math.min(jn===xt.Down?Fr.bottom-Fr.height/2:Fr.bottom,Math.max(jn===xt.Down?Fr.top:Fr.top+Fr.height/2,hn.y))},Xr=jn===xt.Right&&!Gn||jn===xt.Left&&!Wn,Co=jn===xt.Down&&!Ua||jn===xt.Up&&!rn;if(Xr&&Sr.x!==hn.x){const Vr=sa.scrollLeft+qn.x,di=jn===xt.Right&&Vr<=dr.x||jn===xt.Left&&Vr>=Ir.x;if(di&&!qn.y){sa.scrollTo({left:Vr,behavior:dt});return}di?ea.x=sa.scrollLeft-Vr:ea.x=jn===xt.Right?sa.scrollLeft-dr.x:sa.scrollLeft-Ir.x,ea.x&&sa.scrollBy({left:-ea.x,behavior:dt});break}else if(Co&&Sr.y!==hn.y){const Vr=sa.scrollTop+qn.y,di=jn===xt.Down&&Vr<=dr.y||jn===xt.Up&&Vr>=Ir.y;if(di&&!qn.x){sa.scrollTo({top:Vr,behavior:dt});return}di?ea.y=sa.scrollTop-Vr:ea.y=jn===xt.Down?sa.scrollTop-dr.y:sa.scrollTop-Ir.y,ea.y&&sa.scrollBy({top:-ea.y,behavior:dt});break}}this.handleMove(Ee,(0,Fe.IH)((0,Fe.$X)(hn,this.referenceCoordinates),ea))}}}handleMove(Ee,Ve){const{onMove:be}=this.props;Ee.preventDefault(),be(Ve)}handleEnd(Ee){const{onEnd:Ve}=this.props;Ee.preventDefault(),this.detach(),Ve()}handleCancel(Ee){const{onCancel:Ve}=this.props;Ee.preventDefault(),this.detach(),Ve()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Nn.activators=[{eventName:"onKeyDown",handler:(ve,Ee,Ve)=>{let{keyboardCodes:be=wn,onActivation:ft}=Ee,{active:Ue}=Ve;const{code:st}=ve.nativeEvent;if(be.start.includes(st)){const dt=Ue.activatorNode.current;return dt&&ve.target!==dt?!1:(ve.preventDefault(),ft==null||ft({event:ve.nativeEvent}),!0)}return!1}}];function mr(ve){return!!(ve&&"distance"in ve)}function Ka(ve){return!!(ve&&"delay"in ve)}class wa{constructor(Ee,Ve,be){var ft;be===void 0&&(be=Ta(Ee.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=Ee,this.events=Ve;const{event:Ue}=Ee,{target:st}=Ue;this.props=Ee,this.events=Ve,this.document=(0,Fe.r3)(st),this.documentListeners=new Ia(this.document),this.listeners=new Ia(be),this.windowListeners=new Ia((0,Fe.Jj)(st)),this.initialCoordinates=(ft=(0,Fe.DC)(Ue))!=null?ft: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:Ee,props:{options:{activationConstraint:Ve,bypassActivationConstraint:be}}}=this;if(this.listeners.add(Ee.move.name,this.handleMove,{passive:!1}),this.listeners.add(Ee.end.name,this.handleEnd),this.windowListeners.add(Rt.Resize,this.handleCancel),this.windowListeners.add(Rt.DragStart,tr),this.windowListeners.add(Rt.VisibilityChange,this.handleCancel),this.windowListeners.add(Rt.ContextMenu,tr),this.documentListeners.add(Rt.Keydown,this.handleKeydown),Ve){if(be!=null&&be({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Ka(Ve)){this.timeoutId=setTimeout(this.handleStart,Ve.delay);return}if(mr(Ve))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:Ee}=this,{onStart:Ve}=this.props;Ee&&(this.activated=!0,this.documentListeners.add(Rt.Click,Qn,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Rt.SelectionChange,this.removeTextSelection),Ve(Ee))}handleMove(Ee){var Ve;const{activated:be,initialCoordinates:ft,props:Ue}=this,{onMove:st,options:{activationConstraint:dt}}=Ue;if(!ft)return;const pt=(Ve=(0,Fe.DC)(Ee))!=null?Ve:E,bt=(0,Fe.$X)(ft,pt);if(!be&&dt){if(mr(dt)){if(dt.tolerance!=null&>(bt,dt.tolerance))return this.handleCancel();if(gt(bt,dt.distance))return this.handleStart()}return Ka(dt)&>(bt,dt.tolerance)?this.handleCancel():void 0}Ee.cancelable&&Ee.preventDefault(),st(pt)}handleEnd(){const{onEnd:Ee}=this.props;this.detach(),Ee()}handleCancel(){const{onCancel:Ee}=this.props;this.detach(),Ee()}handleKeydown(Ee){Ee.code===xt.Esc&&this.handleCancel()}removeTextSelection(){var Ee;(Ee=this.document.getSelection())==null||Ee.removeAllRanges()}}const hr={move:{name:"pointermove"},end:{name:"pointerup"}};class fn extends wa{constructor(Ee){const{event:Ve}=Ee,be=(0,Fe.r3)(Ve.target);super(Ee,hr,be)}}fn.activators=[{eventName:"onPointerDown",handler:(ve,Ee)=>{let{nativeEvent:Ve}=ve,{onActivation:be}=Ee;return!Ve.isPrimary||Ve.button!==0?!1:(be==null||be({event:Ve}),!0)}}];const to={move:{name:"mousemove"},end:{name:"mouseup"}};var Qr;(function(ve){ve[ve.RightClick=2]="RightClick"})(Qr||(Qr={}));class zo extends wa{constructor(Ee){super(Ee,to,(0,Fe.r3)(Ee.event.target))}}zo.activators=[{eventName:"onMouseDown",handler:(ve,Ee)=>{let{nativeEvent:Ve}=ve,{onActivation:be}=Ee;return Ve.button===Qr.RightClick?!1:(be==null||be({event:Ve}),!0)}}];const Mr={move:{name:"touchmove"},end:{name:"touchend"}};class Po extends wa{constructor(Ee){super(Ee,Mr)}static setup(){return window.addEventListener(Mr.move.name,Ee,{capture:!1,passive:!1}),function(){window.removeEventListener(Mr.move.name,Ee)};function Ee(){}}}Po.activators=[{eventName:"onTouchStart",handler:(ve,Ee)=>{let{nativeEvent:Ve}=ve,{onActivation:be}=Ee;const{touches:ft}=Ve;return ft.length>1?!1:(be==null||be({event:Ve}),!0)}}];var ni;(function(ve){ve[ve.Pointer=0]="Pointer",ve[ve.DraggableRect=1]="DraggableRect"})(ni||(ni={}));var qo;(function(ve){ve[ve.TreeOrder=0]="TreeOrder",ve[ve.ReversedTreeOrder=1]="ReversedTreeOrder"})(qo||(qo={}));function Pi(ve){let{acceleration:Ee,activator:Ve=ni.Pointer,canScroll:be,draggingRect:ft,enabled:Ue,interval:st=5,order:dt=qo.TreeOrder,pointerCoordinates:pt,scrollableAncestors:bt,scrollableAncestorRects:yn,delta:hn,threshold:qn}=ve;const ea=_i({delta:hn,disabled:!Ue}),[ur,sa]=(0,Fe.Yz)(),jn=(0,te.useRef)({x:0,y:0}),rn=(0,te.useRef)({x:0,y:0}),Gn=(0,te.useMemo)(()=>{switch(Ve){case ni.Pointer:return pt?{top:pt.y,bottom:pt.y,left:pt.x,right:pt.x}:null;case ni.DraggableRect:return ft}},[Ve,ft,pt]),Wn=(0,te.useRef)(null),Ua=(0,te.useCallback)(()=>{const Ir=Wn.current;if(!Ir)return;const Fr=jn.current.x*rn.current.x,Sr=jn.current.y*rn.current.y;Ir.scrollBy(Fr,Sr)},[]),dr=(0,te.useMemo)(()=>dt===qo.TreeOrder?[...bt].reverse():bt,[dt,bt]);(0,te.useEffect)(()=>{if(!Ue||!bt.length||!Gn){sa();return}for(const Ir of dr){if((be==null?void 0:be(Ir))===!1)continue;const Fr=bt.indexOf(Ir),Sr=yn[Fr];if(!Sr)continue;const{direction:Xr,speed:Co}=ht(Ir,Sr,Gn,Ee,qn);for(const Vr of["x","y"])ea[Vr][Xr[Vr]]||(Co[Vr]=0,Xr[Vr]=0);if(Co.x>0||Co.y>0){sa(),Wn.current=Ir,ur(Ua,st),jn.current=Co,rn.current=Xr;return}}jn.current={x:0,y:0},rn.current={x:0,y:0},sa()},[Ee,Ua,be,sa,Ue,st,JSON.stringify(Gn),JSON.stringify(ea),ur,bt,dr,yn,JSON.stringify(qn)])}const ki={x:{[an.Backward]:!1,[an.Forward]:!1},y:{[an.Backward]:!1,[an.Forward]:!1}};function _i(ve){let{delta:Ee,disabled:Ve}=ve;const be=(0,Fe.D9)(Ee);return(0,Fe.Gj)(ft=>{if(Ve||!be||!ft)return ki;const Ue={x:Math.sign(Ee.x-be.x),y:Math.sign(Ee.y-be.y)};return{x:{[an.Backward]:ft.x[an.Backward]||Ue.x===-1,[an.Forward]:ft.x[an.Forward]||Ue.x===1},y:{[an.Backward]:ft.y[an.Backward]||Ue.y===-1,[an.Forward]:ft.y[an.Forward]||Ue.y===1}}},[Ve,Ee,be])}function ta(ve,Ee){const Ve=Ee!==null?ve.get(Ee):void 0,be=Ve?Ve.node.current:null;return(0,Fe.Gj)(ft=>{var Ue;return Ee===null?null:(Ue=be!=null?be:ft)!=null?Ue:null},[be,Ee])}function Ya(ve,Ee){return(0,te.useMemo)(()=>ve.reduce((Ve,be)=>{const{sensor:ft}=be,Ue=ft.activators.map(st=>({eventName:st.eventName,handler:Ee(st.handler,be)}));return[...Ve,...Ue]},[]),[ve,Ee])}var Kr;(function(ve){ve[ve.Always=0]="Always",ve[ve.BeforeDragging=1]="BeforeDragging",ve[ve.WhileDragging=2]="WhileDragging"})(Kr||(Kr={}));var Yn;(function(ve){ve.Optimized="optimized"})(Yn||(Yn={}));const Mn=new Map;function la(ve,Ee){let{dragging:Ve,dependencies:be,config:ft}=Ee;const[Ue,st]=(0,te.useState)(null),{frequency:dt,measure:pt,strategy:bt}=ft,yn=(0,te.useRef)(ve),hn=jn(),qn=(0,Fe.Ey)(hn),ea=(0,te.useCallback)(function(rn){rn===void 0&&(rn=[]),!qn.current&&st(Gn=>Gn===null?rn:Gn.concat(rn.filter(Wn=>!Gn.includes(Wn))))},[qn]),ur=(0,te.useRef)(null),sa=(0,Fe.Gj)(rn=>{if(hn&&!Ve)return Mn;if(!rn||rn===Mn||yn.current!==ve||Ue!=null){const Gn=new Map;for(let Wn of ve){if(!Wn)continue;if(Ue&&Ue.length>0&&!Ue.includes(Wn.id)&&Wn.rect.current){Gn.set(Wn.id,Wn.rect.current);continue}const Ua=Wn.node.current,dr=Ua?new Ea(pt(Ua),Ua):null;Wn.rect.current=dr,dr&&Gn.set(Wn.id,dr)}return Gn}return rn},[ve,Ue,Ve,hn,pt]);return(0,te.useEffect)(()=>{yn.current=ve},[ve]),(0,te.useEffect)(()=>{hn||ea()},[Ve,hn]),(0,te.useEffect)(()=>{Ue&&Ue.length>0&&st(null)},[JSON.stringify(Ue)]),(0,te.useEffect)(()=>{hn||typeof dt!="number"||ur.current!==null||(ur.current=setTimeout(()=>{ea(),ur.current=null},dt))},[dt,hn,ea,...be]),{droppableRects:sa,measureDroppableContainers:ea,measuringScheduled:Ue!=null};function jn(){switch(bt){case Kr.Always:return!1;case Kr.BeforeDragging:return Ve;default:return!Ve}}}function Ft(ve,Ee){return(0,Fe.Gj)(Ve=>ve?Ve||(typeof Ee=="function"?Ee(ve):ve):null,[Ee,ve])}function Kn(ve,Ee){return Ft(ve,Ee)}function ua(ve){let{callback:Ee,disabled:Ve}=ve;const be=(0,Fe.zX)(Ee),ft=(0,te.useMemo)(()=>{if(Ve||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Ue}=window;return new Ue(be)},[be,Ve]);return(0,te.useEffect)(()=>()=>ft==null?void 0:ft.disconnect(),[ft]),ft}function Fn(ve){let{callback:Ee,disabled:Ve}=ve;const be=(0,Fe.zX)(Ee),ft=(0,te.useMemo)(()=>{if(Ve||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Ue}=window;return new Ue(be)},[Ve]);return(0,te.useEffect)(()=>()=>ft==null?void 0:ft.disconnect(),[ft]),ft}function wt(ve){return new Ea(Lt(ve),ve)}function kt(ve,Ee,Ve){Ee===void 0&&(Ee=wt);const[be,ft]=(0,te.useReducer)(dt,null),Ue=ua({callback(pt){if(ve)for(const bt of pt){const{type:yn,target:hn}=bt;if(yn==="childList"&&hn instanceof HTMLElement&&hn.contains(ve)){ft();break}}}}),st=Fn({callback:ft});return(0,Fe.LI)(()=>{ft(),ve?(st==null||st.observe(ve),Ue==null||Ue.observe(document.body,{childList:!0,subtree:!0})):(st==null||st.disconnect(),Ue==null||Ue.disconnect())},[ve]),be;function dt(pt){if(!ve)return null;if(ve.isConnected===!1){var bt;return(bt=pt!=null?pt:Ve)!=null?bt:null}const yn=Ee(ve);return JSON.stringify(pt)===JSON.stringify(yn)?pt:yn}}function Bt(ve){const Ee=Ft(ve);return Ze(ve,Ee)}const gn=[];function Hn(ve){const Ee=(0,te.useRef)(ve),Ve=(0,Fe.Gj)(be=>ve?be&&be!==gn&&ve&&Ee.current&&ve.parentNode===Ee.current.parentNode?be:Kt(ve):gn,[ve]);return(0,te.useEffect)(()=>{Ee.current=ve},[ve]),Ve}function oa(ve){const[Ee,Ve]=(0,te.useState)(null),be=(0,te.useRef)(ve),ft=(0,te.useCallback)(Ue=>{const st=Pt(Ue.target);st&&Ve(dt=>dt?(dt.set(st,zn(st)),new Map(dt)):null)},[]);return(0,te.useEffect)(()=>{const Ue=be.current;if(ve!==Ue){st(Ue);const dt=ve.map(pt=>{const bt=Pt(pt);return bt?(bt.addEventListener("scroll",ft,{passive:!0}),[bt,zn(bt)]):null}).filter(pt=>pt!=null);Ve(dt.length?new Map(dt):null),be.current=ve}return()=>{st(ve),st(Ue)};function st(dt){dt.forEach(pt=>{const bt=Pt(pt);bt==null||bt.removeEventListener("scroll",ft)})}},[ft,ve]),(0,te.useMemo)(()=>ve.length?Ee?Array.from(Ee.values()).reduce((Ue,st)=>(0,Fe.IH)(Ue,st),E):tn(ve):E,[ve,Ee])}function Cr(ve,Ee){Ee===void 0&&(Ee=[]);const Ve=(0,te.useRef)(null);return(0,te.useEffect)(()=>{Ve.current=null},Ee),(0,te.useEffect)(()=>{const be=ve!==E;be&&!Ve.current&&(Ve.current=ve),!be&&Ve.current&&(Ve.current=null)},[ve]),Ve.current?(0,Fe.$X)(ve,Ve.current):E}function _t(ve){(0,te.useEffect)(()=>{if(!Fe.Nq)return;const Ee=ve.map(Ve=>{let{sensor:be}=Ve;return be.setup==null?void 0:be.setup()});return()=>{for(const Ve of Ee)Ve==null||Ve()}},ve.map(Ee=>{let{sensor:Ve}=Ee;return Ve}))}function Fa(ve,Ee){return(0,te.useMemo)(()=>ve.reduce((Ve,be)=>{let{eventName:ft,handler:Ue}=be;return Ve[ft]=st=>{Ue(st,Ee)},Ve},{}),[ve,Ee])}function pr(ve){return(0,te.useMemo)(()=>ve?un(ve):null,[ve])}const vi=[];function na(ve,Ee){Ee===void 0&&(Ee=Lt);const[Ve]=ve,be=pr(Ve?(0,Fe.Jj)(Ve):null),[ft,Ue]=(0,te.useReducer)(dt,vi),st=Fn({callback:Ue});return ve.length>0&&ft===vi&&Ue(),(0,Fe.LI)(()=>{ve.length?ve.forEach(pt=>st==null?void 0:st.observe(pt)):(st==null||st.disconnect(),Ue())},[ve]),ft;function dt(){return ve.length?ve.map(pt=>ya(pt)?be:new Ea(Ee(pt),pt)):vi}}function wo(ve){if(!ve)return null;if(ve.children.length>1)return ve;const Ee=ve.children[0];return(0,Fe.Re)(Ee)?Ee:ve}function Tr(ve){let{measure:Ee}=ve;const[Ve,be]=(0,te.useState)(null),ft=(0,te.useCallback)(bt=>{for(const{target:yn}of bt)if((0,Fe.Re)(yn)){be(hn=>{const qn=Ee(yn);return hn?Gl(si({},hn),{width:qn.width,height:qn.height}):qn});break}},[Ee]),Ue=Fn({callback:ft}),st=(0,te.useCallback)(bt=>{const yn=wo(bt);Ue==null||Ue.disconnect(),yn&&(Ue==null||Ue.observe(yn)),be(yn?Ee(yn):null)},[Ee,Ue]),[dt,pt]=(0,Fe.wm)(st);return(0,te.useMemo)(()=>({nodeRef:dt,rect:Ve,setRef:pt}),[Ve,dt,pt])}const ho=[{sensor:fn,options:{}},{sensor:Nn,options:{}}],Ao={current:{}},_o={draggable:{measure:$t},droppable:{measure:$t,strategy:Kr.WhileDragging,frequency:Yn.Optimized},dragOverlay:{measure:Lt}};class ji extends Map{get(Ee){var Ve;return Ee!=null&&(Ve=super.get(Ee))!=null?Ve:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(Ee=>{let{disabled:Ve}=Ee;return!Ve})}getNodeFor(Ee){var Ve,be;return(Ve=(be=this.get(Ee))==null?void 0:be.node.current)!=null?Ve:void 0}}const Eo={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new ji,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:_o,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},Wi={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},dl=(0,te.createContext)(Wi),ml=(0,te.createContext)(Eo);function tl(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new ji}}}function nl(ve,Ee){switch(Ee.type){case de.DragStart:return Gl(si({},ve),{draggable:Gl(si({},ve.draggable),{initialCoordinates:Ee.initialCoordinates,active:Ee.active})});case de.DragMove:return ve.draggable.active?Gl(si({},ve),{draggable:Gl(si({},ve.draggable),{translate:{x:Ee.coordinates.x-ve.draggable.initialCoordinates.x,y:Ee.coordinates.y-ve.draggable.initialCoordinates.y}})}):ve;case de.DragEnd:case de.DragCancel:return Gl(si({},ve),{draggable:Gl(si({},ve.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case de.RegisterDroppable:{const{element:Ve}=Ee,{id:be}=Ve,ft=new ji(ve.droppable.containers);return ft.set(be,Ve),Gl(si({},ve),{droppable:Gl(si({},ve.droppable),{containers:ft})})}case de.SetDroppableDisabled:{const{id:Ve,key:be,disabled:ft}=Ee,Ue=ve.droppable.containers.get(Ve);if(!Ue||be!==Ue.key)return ve;const st=new ji(ve.droppable.containers);return st.set(Ve,Gl(si({},Ue),{disabled:ft})),Gl(si({},ve),{droppable:Gl(si({},ve.droppable),{containers:st})})}case de.UnregisterDroppable:{const{id:Ve,key:be}=Ee,ft=ve.droppable.containers.get(Ve);if(!ft||be!==ft.key)return ve;const Ue=new ji(ve.droppable.containers);return Ue.delete(Ve),Gl(si({},ve),{droppable:Gl(si({},ve.droppable),{containers:Ue})})}default:return ve}}function li(ve){let{disabled:Ee}=ve;const{active:Ve,activatorEvent:be,draggableNodes:ft}=(0,te.useContext)(dl),Ue=(0,Fe.D9)(be),st=(0,Fe.D9)(Ve==null?void 0:Ve.id);return(0,te.useEffect)(()=>{if(!Ee&&!be&&Ue&&st!=null){if(!(0,Fe.vd)(Ue)||document.activeElement===Ue.target)return;const dt=ft.get(st);if(!dt)return;const{activatorNode:pt,node:bt}=dt;if(!pt.current&&!bt.current)return;requestAnimationFrame(()=>{for(const yn of[pt.current,bt.current]){if(!yn)continue;const hn=(0,Fe.so)(yn);if(hn){hn.focus();break}}})}},[be,Ee,ft,st,Ue]),null}function bl(ve,Ee){let ft=Ee,{transform:Ve}=ft,be=zc(ft,["transform"]);return ve!=null&&ve.length?ve.reduce((Ue,st)=>st(si({transform:Ue},be)),Ve):Ve}function ba(ve){return(0,te.useMemo)(()=>({draggable:si(si({},_o.draggable),ve==null?void 0:ve.draggable),droppable:si(si({},_o.droppable),ve==null?void 0:ve.droppable),dragOverlay:si(si({},_o.dragOverlay),ve==null?void 0:ve.dragOverlay)}),[ve==null?void 0:ve.draggable,ve==null?void 0:ve.droppable,ve==null?void 0:ve.dragOverlay])}function wu(ve){let{activeNode:Ee,measure:Ve,initialRect:be,config:ft=!0}=ve;const Ue=(0,te.useRef)(!1),{x:st,y:dt}=typeof ft=="boolean"?{x:ft,y:ft}:ft;(0,Fe.LI)(()=>{if(!st&&!dt||!Ee){Ue.current=!1;return}if(Ue.current||!be)return;const bt=Ee==null?void 0:Ee.node.current;if(!bt||bt.isConnected===!1)return;const yn=Ve(bt),hn=Ze(yn,be);if(st||(hn.x=0),dt||(hn.y=0),Ue.current=!0,Math.abs(hn.x)>0||Math.abs(hn.y)>0){const qn=An(bt);qn&&qn.scrollBy({top:hn.y,left:hn.x})}},[Ee,st,dt,be,Ve])}const Dl=(0,te.createContext)(Gl(si({},E),{scaleX:1,scaleY:1}));var hi;(function(ve){ve[ve.Uninitialized=0]="Uninitialized",ve[ve.Initializing=1]="Initializing",ve[ve.Initialized=2]="Initialized"})(hi||(hi={}));const Ql=(0,te.memo)(function(Ee){var Ve,be,ft,Ue;let Fs=Ee,{id:st,accessibility:dt,autoScroll:pt=!0,children:bt,sensors:yn=ho,collisionDetection:hn=we,measuring:qn,modifiers:ea}=Fs,ur=zc(Fs,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const sa=(0,te.useReducer)(nl,void 0,tl),[jn,rn]=sa,[Gn,Wn]=Re(),[Ua,dr]=(0,te.useState)(hi.Uninitialized),Ir=Ua===hi.Initialized,{draggable:{active:Fr,nodes:Sr,translate:Xr},droppable:{containers:Co}}=jn,Vr=Fr?Sr.get(Fr):null,di=(0,te.useRef)({initial:null,translated:null}),gi=(0,te.useMemo)(()=>{var $l;return Fr!=null?{id:Fr,data:($l=Vr==null?void 0:Vr.data)!=null?$l:Ao,rect:di}:null},[Fr,Vr]),Oi=(0,te.useRef)(null),[pi,Yi]=(0,te.useState)(null),[Vi,Gi]=(0,te.useState)(null),al=(0,Fe.Ey)(ur,Object.values(ur)),ql=(0,Fe.Ld)("DndDescribedBy",st),mu=(0,te.useMemo)(()=>Co.getEnabled(),[Co]),Hl=ba(qn),{droppableRects:wl,measureDroppableContainers:vl,measuringScheduled:Gu}=la(mu,{dragging:Ir,dependencies:[Xr.x,Xr.y],config:Hl.droppable}),Il=ta(Sr,Fr),Tu=(0,te.useMemo)(()=>Vi?(0,Fe.DC)(Vi):null,[Vi]),ts=Zs(),vu=Kn(Il,Hl.draggable.measure);wu({activeNode:Fr?Sr.get(Fr):null,config:ts.layoutShiftCompensation,initialRect:vu,measure:Hl.draggable.measure});const tu=kt(Il,Hl.draggable.measure,vu),nu=kt(Il?Il.parentElement:null),ns=(0,te.useRef)({activatorEvent:null,active:null,activeNode:Il,collisionRect:null,collisions:null,droppableRects:wl,draggableNodes:Sr,draggingNode:null,draggingNodeRect:null,droppableContainers:Co,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),iu=Co.getNodeFor((Ve=ns.current.over)==null?void 0:Ve.id),Du=Tr({measure:Hl.dragOverlay.measure}),hu=(be=Du.nodeRef.current)!=null?be:Il,qu=Ir?(ft=Du.rect)!=null?ft:tu:null,yl=!!(Du.nodeRef.current&&Du.rect),xl=Bt(yl?null:tu),Tl=pr(hu?(0,Fe.Jj)(hu):null),pu=Hn(Ir?iu!=null?iu:Il:null),Zu=na(pu),rl=bl(ea,{transform:{x:Xr.x-xl.x,y:Xr.y-xl.y,scaleX:1,scaleY:1},activatorEvent:Vi,active:gi,activeNodeRect:tu,containerNodeRect:nu,draggingNodeRect:qu,over:ns.current.over,overlayNodeRect:Du.rect,scrollableAncestors:pu,scrollableAncestorRects:Zu,windowRect:Tl}),Ku=Tu?(0,Fe.IH)(Tu,Xr):null,Lu=oa(pu),er=Cr(Lu),Ul=Cr(Lu,[tu]),lu=(0,Fe.IH)(rl,er),zu=qu?Je(qu,rl):null,Uu=gi&&zu?hn({active:gi,collisionRect:zu,droppableRects:wl,droppableContainers:mu,pointerCoordinates:Ku}):null,ps=pe(Uu,"id"),[Ss,us]=(0,te.useState)(null),ss=yl?rl:(0,Fe.IH)(rl,Ul),Vs=Ge(ss,(Ue=Ss==null?void 0:Ss.rect)!=null?Ue:null,tu),Ds=(0,te.useCallback)(($l,Fu)=>{let{sensor:Bu,options:ds}=Fu;if(Oi.current==null)return;const uu=Sr.get(Oi.current);if(!uu)return;const Nu=$l.nativeEvent,su=new Bu({active:Oi.current,activeNode:uu,event:Nu,options:ds,context:ns,onStart(Mu){const Bs=Oi.current;if(Bs==null)return;const as=Sr.get(Bs);if(!as)return;const{onDragStart:$u}=al.current,Ns={active:{id:Bs,data:as.data,rect:di}};(0,ie.unstable_batchedUpdates)(()=>{$u==null||$u(Ns),dr(hi.Initializing),rn({type:de.DragStart,initialCoordinates:Mu,active:Bs}),Gn({type:"onDragStart",event:Ns})})},onMove(Mu){rn({type:de.DragMove,coordinates:Mu})},onEnd:Ps(de.DragEnd),onCancel:Ps(de.DragCancel)});(0,ie.unstable_batchedUpdates)(()=>{Yi(su),Gi($l.nativeEvent)});function Ps(Mu){return function(){return dd(this,null,function*(){const{active:as,collisions:$u,over:Ns,scrollAdjustedTranslate:gs}=ns.current;let Ms=null;if(as&&gs){const{cancelDrop:Ke}=al.current;Ms={activatorEvent:Nu,active:as,collisions:$u,delta:gs,over:Ns},Mu===de.DragEnd&&typeof Ke=="function"&&(yield Promise.resolve(Ke(Ms)))&&(Mu=de.DragCancel)}Oi.current=null,(0,ie.unstable_batchedUpdates)(()=>{rn({type:Mu}),dr(hi.Uninitialized),us(null),Yi(null),Gi(null);const Ke=Mu===de.DragEnd?"onDragEnd":"onDragCancel";if(Ms){const mt=al.current[Ke];mt==null||mt(Ms),Gn({type:Ke,event:Ms})}})})}}},[Sr]),Ls=(0,te.useCallback)(($l,Fu)=>(Bu,ds)=>{const uu=Bu.nativeEvent,Nu=Sr.get(ds);if(Oi.current!==null||!Nu||uu.dndKit||uu.defaultPrevented)return;const su={active:Nu};$l(Bu,Fu.options,su)===!0&&(uu.dndKit={capturedBy:Fu.sensor},Oi.current=ds,Ds(Bu,Fu))},[Sr,Ds]),cs=Ya(yn,Ls);_t(yn),(0,Fe.LI)(()=>{tu&&Ua===hi.Initializing&&dr(hi.Initialized)},[tu,Ua]),(0,te.useEffect)(()=>{const{onDragMove:$l}=al.current,{active:Fu,activatorEvent:Bu,collisions:ds,over:uu}=ns.current;if(!Fu||!Bu)return;const Nu={active:Fu,activatorEvent:Bu,collisions:ds,delta:{x:lu.x,y:lu.y},over:uu};(0,ie.unstable_batchedUpdates)(()=>{$l==null||$l(Nu),Gn({type:"onDragMove",event:Nu})})},[lu.x,lu.y]),(0,te.useEffect)(()=>{const{active:$l,activatorEvent:Fu,collisions:Bu,droppableContainers:ds,scrollAdjustedTranslate:uu}=ns.current;if(!$l||Oi.current==null||!Fu||!uu)return;const{onDragOver:Nu}=al.current,su=ds.get(ps),Ps=su&&su.rect.current?{id:su.id,rect:su.rect.current,data:su.data,disabled:su.disabled}:null,Mu={active:$l,activatorEvent:Fu,collisions:Bu,delta:{x:uu.x,y:uu.y},over:Ps};(0,ie.unstable_batchedUpdates)(()=>{us(Ps),Nu==null||Nu(Mu),Gn({type:"onDragOver",event:Mu})})},[ps]),(0,Fe.LI)(()=>{ns.current={activatorEvent:Vi,active:gi,activeNode:Il,collisionRect:zu,collisions:Uu,droppableRects:wl,draggableNodes:Sr,draggingNode:hu,draggingNodeRect:qu,droppableContainers:Co,over:Ss,scrollableAncestors:pu,scrollAdjustedTranslate:lu},di.current={initial:qu,translated:zu}},[gi,Il,Uu,zu,Sr,hu,qu,wl,Co,Ss,pu,lu]),Pi(Gl(si({},ts),{delta:Xr,draggingRect:zu,pointerCoordinates:Ku,scrollableAncestors:pu,scrollableAncestorRects:Zu}));const Cs=(0,te.useMemo)(()=>({active:gi,activeNode:Il,activeNodeRect:tu,activatorEvent:Vi,collisions:Uu,containerNodeRect:nu,dragOverlay:Du,draggableNodes:Sr,droppableContainers:Co,droppableRects:wl,over:Ss,measureDroppableContainers:vl,scrollableAncestors:pu,scrollableAncestorRects:Zu,measuringConfiguration:Hl,measuringScheduled:Gu,windowRect:Tl}),[gi,Il,tu,Vi,Uu,nu,Du,Sr,Co,wl,Ss,vl,pu,Zu,Hl,Gu,Tl]),ys=(0,te.useMemo)(()=>({activatorEvent:Vi,activators:cs,active:gi,activeNodeRect:tu,ariaDescribedById:{draggable:ql},dispatch:rn,draggableNodes:Sr,over:Ss,measureDroppableContainers:vl}),[Vi,cs,gi,tu,rn,ql,Sr,Ss,vl]);return te.createElement(We.Provider,{value:Wn},te.createElement(dl.Provider,{value:ys},te.createElement(ml.Provider,{value:Cs},te.createElement(Dl.Provider,{value:Vs},bt)),te.createElement(li,{disabled:(dt==null?void 0:dt.restoreFocus)===!1})),te.createElement(De,Gl(si({},dt),{hiddenTextDescribedById:ql})));function Zs(){const $l=(pi==null?void 0:pi.autoScrollEnabled)===!1,Fu=typeof pt=="object"?pt.enabled===!1:pt===!1,Bu=Ir&&!$l&&!Fu;return typeof pt=="object"?Gl(si({},pt),{enabled:Bu}):{enabled:Bu}}}),ir=(0,te.createContext)(null),$r="button",Ho="Droppable";function Yr(ve){let{id:Ee,data:Ve,disabled:be=!1,attributes:ft}=ve;const Ue=(0,Fe.Ld)(Ho),{activators:st,activatorEvent:dt,active:pt,activeNodeRect:bt,ariaDescribedById:yn,draggableNodes:hn,over:qn}=(0,te.useContext)(dl),{role:ea=$r,roleDescription:ur="draggable",tabIndex:sa=0}=ft!=null?ft:{},jn=(pt==null?void 0:pt.id)===Ee,rn=(0,te.useContext)(jn?Dl:ir),[Gn,Wn]=(0,Fe.wm)(),[Ua,dr]=(0,Fe.wm)(),Ir=Fa(st,Ee),Fr=(0,Fe.Ey)(Ve);(0,Fe.LI)(()=>(hn.set(Ee,{id:Ee,key:Ue,node:Gn,activatorNode:Ua,data:Fr}),()=>{const Xr=hn.get(Ee);Xr&&Xr.key===Ue&&hn.delete(Ee)}),[hn,Ee]);const Sr=(0,te.useMemo)(()=>({role:ea,tabIndex:sa,"aria-disabled":be,"aria-pressed":jn&&ea===$r?!0:void 0,"aria-roledescription":ur,"aria-describedby":yn.draggable}),[be,ea,sa,jn,ur,yn.draggable]);return{active:pt,activatorEvent:dt,activeNodeRect:bt,attributes:Sr,isDragging:jn,listeners:be?void 0:Ir,node:Gn,over:qn,setNodeRef:Wn,setActivatorNodeRef:dr,transform:rn}}function Ji(){return(0,te.useContext)(ml)}const Nr="Droppable",Wo={timeout:25};function oo(ve){let{data:Ee,disabled:Ve=!1,id:be,resizeObserverConfig:ft}=ve;const Ue=(0,Fe.Ld)(Nr),{active:st,dispatch:dt,over:pt,measureDroppableContainers:bt}=(0,te.useContext)(dl),yn=(0,te.useRef)({disabled:Ve}),hn=(0,te.useRef)(!1),qn=(0,te.useRef)(null),ea=(0,te.useRef)(null),{disabled:ur,updateMeasurementsFor:sa,timeout:jn}=si(si({},Wo),ft),rn=(0,Fe.Ey)(sa!=null?sa:be),Gn=(0,te.useCallback)(()=>{if(!hn.current){hn.current=!0;return}ea.current!=null&&clearTimeout(ea.current),ea.current=setTimeout(()=>{bt(Array.isArray(rn.current)?rn.current:[rn.current]),ea.current=null},jn)},[jn]),Wn=Fn({callback:Gn,disabled:ur||!st}),Ua=(0,te.useCallback)((Sr,Xr)=>{Wn&&(Xr&&(Wn.unobserve(Xr),hn.current=!1),Sr&&Wn.observe(Sr))},[Wn]),[dr,Ir]=(0,Fe.wm)(Ua),Fr=(0,Fe.Ey)(Ee);return(0,te.useEffect)(()=>{!Wn||!dr.current||(Wn.disconnect(),hn.current=!1,Wn.observe(dr.current))},[dr,Wn]),(0,Fe.LI)(()=>(dt({type:de.RegisterDroppable,element:{id:be,key:Ue,disabled:Ve,node:dr,rect:qn,data:Fr}}),()=>dt({type:de.UnregisterDroppable,key:Ue,id:be})),[be]),(0,te.useEffect)(()=>{Ve!==yn.current.disabled&&(dt({type:de.SetDroppableDisabled,id:be,key:Ue,disabled:Ve}),yn.current.disabled=Ve)},[be,Ue,Ve,dt]),{active:st,rect:qn,isOver:(pt==null?void 0:pt.id)===be,node:dr,over:pt,setNodeRef:Ir}}function ci(ve){let{animation:Ee,children:Ve}=ve;const[be,ft]=useState(null),[Ue,st]=useState(null),dt=usePrevious(Ve);return!Ve&&!be&&dt&&ft(dt),useIsomorphicLayoutEffect(()=>{if(!Ue)return;const pt=be==null?void 0:be.key,bt=be==null?void 0:be.props.id;if(pt==null||bt==null){ft(null);return}Promise.resolve(Ee(bt,Ue)).then(()=>{ft(null)})},[Ee,be,Ue]),React.createElement(React.Fragment,null,Ve,be?cloneElement(be,{ref:st}):null)}const Ti={x:0,y:0,scaleX:1,scaleY:1};function jo(ve){let{children:Ee}=ve;return React.createElement(dl.Provider,{value:Wi},React.createElement(Dl.Provider,{value:Ti},Ee))}const Ei={position:"fixed",touchAction:"none"},Xl=ve=>isKeyboardEvent(ve)?"transform 250ms ease":void 0,kl=null,xu={duration:250,easing:"ease",keyframes:ve=>{let{transform:{initial:Ee,final:Ve}}=ve;return[{transform:Fe.ux.Transform.toString(Ee)},{transform:Fe.ux.Transform.toString(Ve)}]},sideEffects:(ve=>Ee=>{let{active:Ve,dragOverlay:be}=Ee;const ft={},{styles:Ue,className:st}=ve;if(Ue!=null&&Ue.active)for(const[dt,pt]of Object.entries(Ue.active))pt!==void 0&&(ft[dt]=Ve.node.style.getPropertyValue(dt),Ve.node.style.setProperty(dt,pt));if(Ue!=null&&Ue.dragOverlay)for(const[dt,pt]of Object.entries(Ue.dragOverlay))pt!==void 0&&be.node.style.setProperty(dt,pt);return st!=null&&st.active&&Ve.node.classList.add(st.active),st!=null&&st.dragOverlay&&be.node.classList.add(st.dragOverlay),function(){for(const[pt,bt]of Object.entries(ft))Ve.node.style.setProperty(pt,bt);st!=null&&st.active&&Ve.node.classList.remove(st.active)}})({styles:{active:{opacity:"0"}}})};function Zi(ve){let{config:Ee,draggableNodes:Ve,droppableContainers:be,measuringConfiguration:ft}=ve;return useEvent((Ue,st)=>{if(Ee===null)return;const dt=Ve.get(Ue);if(!dt)return;const pt=dt.node.current;if(!pt)return;const bt=wo(st);if(!bt)return;const{transform:yn}=getWindow(st).getComputedStyle(st),hn=Dt(yn);if(!hn)return;const qn=typeof Ee=="function"?Ee:Sl(Ee);return La(pt,ft.draggable.measure),qn({active:{id:Ue,data:dt.data,node:pt,rect:ft.draggable.measure(pt)},draggableNodes:Ve,dragOverlay:{node:st,rect:ft.dragOverlay.measure(bt)},droppableContainers:be,measuringConfiguration:ft,transform:hn})})}function Sl(ve){const{duration:Ee,easing:Ve,sideEffects:be,keyframes:ft}=si(si({},xu),ve);return Ue=>{let Gn=Ue,{active:st,dragOverlay:dt,transform:pt}=Gn,bt=zc(Gn,["active","dragOverlay","transform"]);if(!Ee)return;const yn={x:dt.rect.left-st.rect.left,y:dt.rect.top-st.rect.top},hn={scaleX:pt.scaleX!==1?st.rect.width*pt.scaleX/dt.rect.width:1,scaleY:pt.scaleY!==1?st.rect.height*pt.scaleY/dt.rect.height:1},qn=si({x:pt.x-yn.x,y:pt.y-yn.y},hn),ea=ft(Gl(si({},bt),{active:st,dragOverlay:dt,transform:{initial:pt,final:qn}})),[ur]=ea,sa=ea[ea.length-1];if(JSON.stringify(ur)===JSON.stringify(sa))return;const jn=be==null?void 0:be(si({active:st,dragOverlay:dt},bt)),rn=dt.node.animate(ea,{duration:Ee,easing:Ve,fill:"forwards"});return new Promise(Wn=>{rn.onfinish=()=>{jn==null||jn(),Wn()}})}}let Jl=0;function Au(ve){return useMemo(()=>{if(ve!=null)return Jl++,Jl},[ve])}const Ju=null},32339:function(Zt,Ht,z){"use strict";z.d(Ht,{DL:function(){return se}});var te=z(24285);function ie(Re){return Ye=>{let{transform:ce}=Ye;return Gl(si({},ce),{x:Math.ceil(ce.x/Re)*Re,y:Math.ceil(ce.y/Re)*Re})}}const Fe=Re=>{let{transform:Ye}=Re;return Gl(si({},Ye),{y:0})};function Xe(Re,Ye,ce){const De=si({},Re);return Ye.top+Re.y<=ce.top?De.y=ce.top-Ye.top:Ye.bottom+Re.y>=ce.top+ce.height&&(De.y=ce.top+ce.height-Ye.bottom),Ye.left+Re.x<=ce.left?De.x=ce.left-Ye.left:Ye.right+Re.x>=ce.left+ce.width&&(De.x=ce.left+ce.width-Ye.right),De}const ze=Re=>{let{containerNodeRect:Ye,draggingNodeRect:ce,transform:De}=Re;return!ce||!Ye?De:Xe(De,ce,Ye)},je=Re=>{let{draggingNodeRect:Ye,transform:ce,scrollableAncestorRects:De}=Re;const de=De[0];return!Ye||!de?ce:Xe(ce,Ye,de)},se=Re=>{let{transform:Ye}=Re;return Gl(si({},Ye),{x:0})},We=Re=>{let{transform:Ye,draggingNodeRect:ce,windowRect:De}=Re;return!ce||!De?Ye:Xe(Ye,ce,De)},Oe=Re=>{let{activatorEvent:Ye,draggingNodeRect:ce,transform:De}=Re;if(ce&&Ye){const de=getEventCoordinates(Ye);if(!de)return De;const a=de.x-ce.left,y=de.y-ce.top;return Gl(si({},De),{x:De.x+a-ce.width/2,y:De.y+y-ce.height/2})}return De}},45587:function(Zt,Ht,z){"use strict";z.d(Ht,{Fo:function(){return ee},Rp:function(){return Xe},nB:function(){return Se},qw:function(){return y}});var te=z(67294),ie=z(60887),Fe=z(24285);function Xe(Je,Dt,Nt){const St=Je.slice();return St.splice(Nt<0?St.length+Nt:Nt,0,St.splice(Dt,1)[0]),St}function ze(Je,Dt,Nt){const St=Je.slice();return St[Dt]=Je[Nt],St[Nt]=Je[Dt],St}function je(Je,Dt){return Je.reduce((Nt,St,Lt)=>{const $t=Dt.get(St);return $t&&(Nt[Lt]=$t),Nt},Array(Je.length))}function se(Je){return Je!==null&&Je>=0}function We(Je,Dt){if(Je===Dt)return!0;if(Je.length!==Dt.length)return!1;for(let Nt=0;Nt{var Dt;let{rects:Nt,activeNodeRect:St,activeIndex:Lt,overIndex:$t,index:un}=Je;const yt=(Dt=Nt[Lt])!=null?Dt:St;if(!yt)return null;const It=ce(Nt,un,Lt);if(un===Lt){const Kt=Nt[$t];return Kt?si({x:Lt<$t?Kt.left+Kt.width-(yt.left+yt.width):Kt.left-yt.left,y:0},Re):null}return un>Lt&&un<=$t?si({x:-yt.width-It,y:0},Re):un=$t?si({x:yt.width+It,y:0},Re):si({x:0,y:0},Re)};function ce(Je,Dt,Nt){const St=Je[Dt],Lt=Je[Dt-1],$t=Je[Dt+1];return!St||!Lt&&!$t?0:Nt{let{rects:Dt,activeIndex:Nt,overIndex:St,index:Lt}=Je;const $t=Xe(Dt,St,Nt),un=Dt[Lt],yt=$t[Lt];return!yt||!un?null:{x:yt.left-un.left,y:yt.top-un.top,scaleX:yt.width/un.width,scaleY:yt.height/un.height}},de=Je=>{let{activeIndex:Dt,index:Nt,rects:St,overIndex:Lt}=Je,$t,un;return Nt===Dt&&($t=St[Nt],un=St[Lt]),Nt===Lt&&($t=St[Nt],un=St[Dt]),!un||!$t?null:{x:un.left-$t.left,y:un.top-$t.top,scaleX:un.width/$t.width,scaleY:un.height/$t.height}},a={scaleX:1,scaleY:1},y=Je=>{var Dt;let{activeIndex:Nt,activeNodeRect:St,index:Lt,rects:$t,overIndex:un}=Je;const yt=(Dt=$t[Nt])!=null?Dt:St;if(!yt)return null;if(Lt===Nt){const Kt=$t[un];return Kt?si({x:0,y:NtNt&&Lt<=un?si({x:0,y:-yt.height-It},a):Lt=un?si({x:0,y:yt.height+It},a):si({x:0,y:0},a)};function b(Je,Dt,Nt){const St=Je[Dt],Lt=Je[Dt-1],$t=Je[Dt+1];return St?NtSt.map(vn=>typeof vn=="object"&&"id"in vn?vn.id:vn),[St]),zn=un!=null,an=un?ke.indexOf(un.id):-1,ya=Kt?ke.indexOf(Kt.id):-1,da=(0,te.useRef)(ke),Dn=!We(ke,da.current),ht=ya!==-1&&an===-1||Dn,nt=Oe($t);(0,Fe.LI)(()=>{Dn&&zn&&An(ke)},[Dn,ke,zn,An]),(0,te.useEffect)(()=>{da.current=ke},[ke]);const tn=(0,te.useMemo)(()=>({activeIndex:an,containerId:Pt,disabled:nt,disableTransforms:ht,items:ke,overIndex:ya,useDragOverlay:Qt,sortedRects:je(ke,It),strategy:Lt}),[an,Pt,nt.draggable,nt.droppable,ht,ke,ya,It,Qt,Lt]);return te.createElement(x.Provider,{value:tn},Dt)}const re=Je=>{let{id:Dt,items:Nt,activeIndex:St,overIndex:Lt}=Je;return Xe(Nt,St,Lt).indexOf(Dt)},ae=Je=>{let{containerId:Dt,isSorting:Nt,wasDragging:St,index:Lt,items:$t,newIndex:un,previousItems:yt,previousContainerId:It,transition:Kt}=Je;return!Kt||!St||yt!==$t&&Lt===un?!1:Nt?!0:un!==Lt&&Dt===It},ne={duration:200,easing:"ease"},pe="transform",Ce=Fe.ux.Transition.toString({property:pe,duration:0,easing:"linear"}),Ae={roleDescription:"sortable"};function Le(Je){let{disabled:Dt,index:Nt,node:St,rect:Lt}=Je;const[$t,un]=(0,te.useState)(null),yt=(0,te.useRef)(Nt);return(0,Fe.LI)(()=>{if(!Dt&&Nt!==yt.current&&St.current){const It=Lt.current;if(It){const Kt=(0,ie.VK)(St.current,{ignoreTransform:!0}),An={x:It.left-Kt.left,y:It.top-Kt.top,scaleX:It.width/Kt.width,scaleY:It.height/Kt.height};(An.x||An.y)&&un(An)}}Nt!==yt.current&&(yt.current=Nt)},[Dt,Nt,St,Lt]),(0,te.useEffect)(()=>{$t&&un(null)},[$t]),$t}function Se(Je){let{animateLayoutChanges:Dt=ae,attributes:Nt,disabled:St,data:Lt,getNewIndex:$t=re,id:un,strategy:yt,resizeObserverConfig:It,transition:Kt=ne}=Je;const{items:An,containerId:Pt,activeIndex:Qt,disabled:ke,disableTransforms:zn,sortedRects:an,overIndex:ya,useDragOverlay:da,strategy:Dn}=(0,te.useContext)(x),ht=we(St,ke),nt=An.indexOf(un),tn=(0,te.useMemo)(()=>si({sortable:{containerId:Pt,index:nt,items:An}},Lt),[Pt,Lt,nt,An]),vn=(0,te.useMemo)(()=>An.slice(An.indexOf(un)),[An,un]),{rect:Vt,node:La,isOver:En,setNodeRef:Ea}=(0,ie.Zj)({id:un,data:tn,disabled:ht.droppable,resizeObserverConfig:si({updateMeasurementsFor:vn},It)}),{active:Ia,activatorEvent:Ta,activeNodeRect:gt,attributes:Rt,setNodeRef:tr,listeners:Qn,isDragging:xt,over:wn,setActivatorNodeRef:Za,transform:Nn}=(0,ie.O1)({id:un,data:tn,attributes:si(si({},Ae),Nt),disabled:ht.draggable}),mr=(0,Fe.HB)(Ea,tr),Ka=!!Ia,wa=Ka&&!zn&&se(Qt)&&se(ya),hr=!da&&xt,fn=hr&&wa?Nn:null,to=yt!=null?yt:Dn,Qr=wa?fn!=null?fn:to({rects:an,activeNodeRect:gt,activeIndex:Qt,overIndex:ya,index:nt}):null,zo=se(Qt)&&se(ya)?$t({id:un,items:An,activeIndex:Qt,overIndex:ya}):nt,Mr=Ia==null?void 0:Ia.id,Po=(0,te.useRef)({activeId:Mr,items:An,newIndex:zo,containerId:Pt}),ni=An!==Po.current.items,qo=Dt({active:Ia,containerId:Pt,isDragging:xt,isSorting:Ka,id:un,index:nt,items:An,newIndex:Po.current.newIndex,previousItems:Po.current.items,previousContainerId:Po.current.containerId,transition:Kt,wasDragging:Po.current.activeId!=null}),Pi=Le({disabled:!qo,index:nt,node:La,rect:Vt});return(0,te.useEffect)(()=>{Ka&&Po.current.newIndex!==zo&&(Po.current.newIndex=zo),Pt!==Po.current.containerId&&(Po.current.containerId=Pt),An!==Po.current.items&&(Po.current.items=An)},[Ka,zo,Pt,An]),(0,te.useEffect)(()=>{if(Mr===Po.current.activeId)return;if(Mr&&!Po.current.activeId){Po.current.activeId=Mr;return}const _i=setTimeout(()=>{Po.current.activeId=Mr},50);return()=>clearTimeout(_i)},[Mr]),{active:Ia,activeIndex:Qt,attributes:Rt,data:tn,rect:Vt,index:nt,newIndex:zo,items:An,isOver:En,isSorting:Ka,isDragging:xt,listeners:Qn,node:La,overIndex:ya,over:wn,setNodeRef:mr,setActivatorNodeRef:Za,setDroppableNodeRef:Ea,setDraggableNodeRef:tr,transform:Pi!=null?Pi:Qr,transition:ki()};function ki(){if(Pi||ni&&Po.current.newIndex===nt)return Ce;if(!(hr&&!(0,Fe.vd)(Ta)||!Kt)&&(Ka||qo))return Fe.ux.Transition.toString(Gl(si({},Kt),{property:pe}))}}function we(Je,Dt){var Nt,St;return typeof Je=="boolean"?{draggable:Je,droppable:!1}:{draggable:(Nt=Je==null?void 0:Je.draggable)!=null?Nt:Dt.draggable,droppable:(St=Je==null?void 0:Je.droppable)!=null?St:Dt.droppable}}function Qe(Je){if(!Je)return!1;const Dt=Je.data.current;return!!(Dt&&"sortable"in Dt&&typeof Dt.sortable=="object"&&"containerId"in Dt.sortable&&"items"in Dt.sortable&&"index"in Dt.sortable)}const Be=[ie.g4.Down,ie.g4.Right,ie.g4.Up,ie.g4.Left],Ge=(Je,Dt)=>{let{context:{active:Nt,collisionRect:St,droppableRects:Lt,droppableContainers:$t,over:un,scrollableAncestors:yt}}=Dt;if(Be.includes(Je.code)){if(Je.preventDefault(),!Nt||!St)return;const It=[];$t.getEnabled().forEach(Pt=>{if(!Pt||Pt!=null&&Pt.disabled)return;const Qt=Lt.get(Pt.id);if(Qt)switch(Je.code){case KeyboardCode.Down:St.topQt.top&&It.push(Pt);break;case KeyboardCode.Left:St.left>Qt.left&&It.push(Pt);break;case KeyboardCode.Right:St.left1&&(An=Kt[1].id),An!=null){const Pt=$t.get(Nt.id),Qt=$t.get(An),ke=Qt?Lt.get(Qt.id):null,zn=Qt==null?void 0:Qt.node.current;if(zn&&ke&&Pt&&Qt){const ya=getScrollableAncestors(zn).some((vn,Vt)=>yt[Vt]!==vn),da=Ze(Pt,Qt),Dn=it(Pt,Qt),ht=ya||!da?{x:0,y:0}:{x:Dn?St.width-ke.width:0,y:Dn?St.height-ke.height:0},nt={x:ke.left,y:ke.top};return ht.x&&ht.y?nt:subtract(nt,ht)}}}};function Ze(Je,Dt){return!Qe(Je)||!Qe(Dt)?!1:Je.data.current.sortable.containerId===Dt.data.current.sortable.containerId}function it(Je,Dt){return!Qe(Je)||!Qe(Dt)||!Ze(Je,Dt)?!1:Je.data.current.sortable.indexZe=>{Be.forEach(it=>it(Ze))},Be)}const Fe=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Xe(Qe){const Be=Object.prototype.toString.call(Qe);return Be==="[object Window]"||Be==="[object global]"}function ze(Qe){return"nodeType"in Qe}function je(Qe){var Be,Ge;return Qe?Xe(Qe)?Qe:ze(Qe)&&(Be=(Ge=Qe.ownerDocument)==null?void 0:Ge.defaultView)!=null?Be:window:window}function se(Qe){const{Document:Be}=je(Qe);return Qe instanceof Be}function We(Qe){return Xe(Qe)?!1:Qe instanceof je(Qe).HTMLElement}function Oe(Qe){return Qe instanceof je(Qe).SVGElement}function Re(Qe){return Qe?Xe(Qe)?Qe.document:ze(Qe)?se(Qe)?Qe:We(Qe)||Oe(Qe)?Qe.ownerDocument:document:document:document}const Ye=Fe?te.useLayoutEffect:te.useEffect;function ce(Qe){const Be=(0,te.useRef)(Qe);return Ye(()=>{Be.current=Qe}),(0,te.useCallback)(function(){for(var Ge=arguments.length,Ze=new Array(Ge),it=0;it{Qe.current=setInterval(Ze,it)},[]),Ge=(0,te.useCallback)(()=>{Qe.current!==null&&(clearInterval(Qe.current),Qe.current=null)},[]);return[Be,Ge]}function de(Qe,Be){Be===void 0&&(Be=[Qe]);const Ge=(0,te.useRef)(Qe);return Ye(()=>{Ge.current!==Qe&&(Ge.current=Qe)},Be),Ge}function a(Qe,Be){const Ge=(0,te.useRef)();return(0,te.useMemo)(()=>{const Ze=Qe(Ge.current);return Ge.current=Ze,Ze},[...Be])}function y(Qe){const Be=ce(Qe),Ge=(0,te.useRef)(null),Ze=(0,te.useCallback)(it=>{it!==Ge.current&&(Be==null||Be(it,Ge.current)),Ge.current=it},[]);return[Ge,Ze]}function b(Qe){const Be=(0,te.useRef)();return(0,te.useEffect)(()=>{Be.current=Qe},[Qe]),Be.current}let E={};function x(Qe,Be){return(0,te.useMemo)(()=>{if(Be)return Be;const Ge=E[Qe]==null?0:E[Qe]+1;return E[Qe]=Ge,Qe+"-"+Ge},[Qe,Be])}function ee(Qe){return function(Be){for(var Ge=arguments.length,Ze=new Array(Ge>1?Ge-1:0),it=1;it{const Nt=Object.entries(Dt);for(const[St,Lt]of Nt){const $t=Je[St];$t!=null&&(Je[St]=$t+Qe*Lt)}return Je},si({},Be))}}const re=ee(1),ae=ee(-1);function ne(Qe){return"clientX"in Qe&&"clientY"in Qe}function pe(Qe){if(!Qe)return!1;const{KeyboardEvent:Be}=je(Qe.target);return Be&&Qe instanceof Be}function Ce(Qe){if(!Qe)return!1;const{TouchEvent:Be}=je(Qe.target);return Be&&Qe instanceof Be}function Ae(Qe){if(Ce(Qe)){if(Qe.touches&&Qe.touches.length){const{clientX:Be,clientY:Ge}=Qe.touches[0];return{x:Be,y:Ge}}else if(Qe.changedTouches&&Qe.changedTouches.length){const{clientX:Be,clientY:Ge}=Qe.changedTouches[0];return{x:Be,y:Ge}}}return ne(Qe)?{x:Qe.clientX,y:Qe.clientY}:null}const Le=Object.freeze({Translate:{toString(Qe){if(!Qe)return;const{x:Be,y:Ge}=Qe;return"translate3d("+(Be?Math.round(Be):0)+"px, "+(Ge?Math.round(Ge):0)+"px, 0)"}},Scale:{toString(Qe){if(!Qe)return;const{scaleX:Be,scaleY:Ge}=Qe;return"scaleX("+Be+") scaleY("+Ge+")"}},Transform:{toString(Qe){if(Qe)return[Le.Translate.toString(Qe),Le.Scale.toString(Qe)].join(" ")}},Transition:{toString(Qe){let{property:Be,duration:Ge,easing:Ze}=Qe;return Be+" "+Ge+"ms "+Ze}}}),Se="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function we(Qe){return Qe.matches(Se)?Qe:Qe.querySelector(Se)}},71736:function(Zt,Ht){"use strict";Ht.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},39886:function(Zt,Ht){"use strict";Ht.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"}},57971:function(Zt,Ht,z){"use strict";var te=z(67294),ie=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,je=(Oe,Re,Ye)=>Re in Oe?ie(Oe,Re,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Re]=Ye,se=(Oe,Re)=>{for(var Ye in Re||(Re={}))Xe.call(Re,Ye)&&je(Oe,Ye,Re[Ye]);if(Fe)for(var Ye of Fe(Re))ze.call(Re,Ye)&&je(Oe,Ye,Re[Ye]);return Oe};const We=Oe=>React.createElement("svg",se({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Oe),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));Ht.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},36913:function(Zt,Ht,z){"use strict";var te=z(67294),ie=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,je=(Oe,Re,Ye)=>Re in Oe?ie(Oe,Re,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Oe[Re]=Ye,se=(Oe,Re)=>{for(var Ye in Re||(Re={}))Xe.call(Re,Ye)&&je(Oe,Ye,Re[Ye]);if(Fe)for(var Ye of Fe(Re))ze.call(Re,Ye)&&je(Oe,Ye,Re[Ye]);return Oe};const We=Oe=>React.createElement("svg",se({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Oe),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));Ht.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},18023:function(){"use strict";function Zt(de,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=de,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(Zt.prototype,"name",{get:function(){return this._name},set:function(de){if(typeof de!="string"||de==="")throw new Error("Shape name must be a valid string.");this._name=de}}),Object.defineProperty(Zt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(de){if(typeof de!="number"||isNaN(de))throw new Error("The default value must be a real number, not: "+de);this._defaultValue=de}}),Object.defineProperty(Zt.prototype,"minimum",{get:function(){return this._minimum},set:function(de){if(typeof de!="number"||isNaN(de))throw new Error("Minimum must be a real number, not: "+de);this._minimum=de}}),Object.defineProperty(Zt.prototype,"maximum",{get:function(){return this._maximum},set:function(de){if(typeof de!="number"||isNaN(de))throw new Error("Maximum must be a real number, not: "+de);this._maximum=de}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(de,a){var y=go.Shape._FigureParameters[de];return y?y[a]:null},go.Shape.setFigureParameter=function(de,a,y){if(!(y instanceof Zt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var b=go.Shape._FigureParameters[de];b||(b=[],go.Shape._FigureParameters[de]=b),b[a]=y};var Ht=[];function z(de,a){var y=Ht.pop();return y===void 0?new go.Point(de,a):(y.x=de,y.y=a,y)}function te(){var de=Ht.pop();return de===void 0?new go.Point:de}function ie(de){Ht.push(de)}function Fe(de,a,y,b,E,x,ee,re,ae){ae||(ae=new go.Point);var ne=de-y,pe=E-ee,Ce=NaN,Ae=NaN;if(ne===0)if(pe===0)de===y&&(Ce=de,Ae=a);else{var Le=(x-re)/pe,Se=x-Le*E;Ce=de,Ae=Le*Ce+Se}else if(pe===0){var we=(a-b)/ne,Qe=a-we*de;Ce=E,Ae=we*Ce+Qe}else{var we=(a-b)/ne,Le=(x-re)/pe,Qe=a-we*de,Se=x-Le*E;Ce=(Se-Qe)/(we-Le),Ae=we*Ce+Qe}return ae.x=Ce,ae.y=Ae,ae}function Xe(de,a,y,b,E,x,ee,re,ae,ne,pe,Ce,Ae,Le){var Se=1-ae,we=ae,Qe=de*Se+y*we,Be=a*Se+b*we,Ge=y*Se+E*we,Ze=b*Se+x*we,it=E*Se+ee*we,Je=x*Se+re*we,Dt=Qe*Se+Ge*we,Nt=Be*Se+Ze*we,St=Ge*Se+it*we,Lt=Ze*Se+Je*we,$t=Dt*Se+St*we,un=Nt*Se+Lt*we;ne.x=Qe,ne.y=Be,pe.x=Dt,pe.y=Nt,Ce.x=$t,Ce.y=un,Ae.x=St,Ae.y=Lt,Le.x=it,Le.y=Je}var ze=new go.Spot(.156,.156),je=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Zt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(de,a,y){var b=de?de.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*se,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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=ze,E.spot2=je,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(de,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(de,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(de,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,se*a,0,a,(1-se)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(de,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,se*y,(1-se)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(de,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,se*y,se*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(de,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-se)*a,0,0,(1-se)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(de,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(de,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(de,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(de,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 Zt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(b=a);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,re,re).close())),x.spot1=ze,x.spot2=je,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(de,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(de,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 Zt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Zt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(de,a,y){var b=de?de.parameter1:NaN,E=de?de.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var ee=E%360,re=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,x,ee,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(de,a,y){var b=se/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 Zt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(de,a,y){var b=de?de.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 Zt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(de,a,y){var b=de?de.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 Zt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(de,a,y){var b=de?de.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,re=Math.atan2(y,a),ae=b-Math.min(Math.cos(re)*b/2,x),ne=b-Math.min(Math.sin(re)*b/2,ee),E=new go.Geometry,pe=new go.PathFigure(ae,0,!0);return E.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,x,.2*y)),pe.add(new go.PathSegment(go.PathSegment.Line,a-ae,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,a,y-ne)),pe.add(new go.PathSegment(go.PathSegment.Line,a-ae,y)),pe.add(new go.PathSegment(go.PathSegment.Line,x,.8*y)),pe.add(new go.PathSegment(go.PathSegment.Line,ae,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y-ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Zt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(de,a,y){var b=de?de.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 Zt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(de,a,y){var b=de?de.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 Zt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(de,a,y){var b=de?de.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(de,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,se*a,0,a,(.5-se/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+se/2)*y,se*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(de,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(de,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(de,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(de,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,re=0,ae=x*se;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+re)*y,(.5-x+ee)*a,(.5+ae+re)*y,(.5-ae+ee)*a,(.5+x+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+re)*y,(.5+ae+ee)*a,(.5+x+re)*y,(.5+x+ee)*a,(.5+ae+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+re)*y,(1-.5+x+ee)*a,(.5-ae+re)*y,(.5+ae+ee)*a,(.5-x+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ae+ee)*a,(.5-x+re)*y,(.5-x+ee+.05)*a,(.5-ae+re-.02)*y)),x=.2,ee=0,re=-.3,ae=x*se,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+re)*y,(.5+ae+ee)*a,(.5+x+re)*y,(.5+x+ee)*a,(.5+ae+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+re)*y,(1-.5+x+ee)*a,(.5-ae+re)*y,(.5+ae+ee)*a,(.5-x+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+re)*y,(.5-ae+ee)*a,(.5-x+re)*y,(.5-x+ee)*a,(.5-ae+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+ee)*a,(.5+x+re)*y,(.5-x+ee)*a,(.5+ae+re)*y,(.5-ae+ee)*a,(.5+x+re)*y)),x=.2,ee=-.3,re=0,ae=x*se,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+re)*y,(1-.5+x+ee-.05)*a,(.5-ae+re-.02)*y,(.5+ae+ee)*a,(.5-x+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+re)*y,(.5-ae+ee)*a,(.5-x+re)*y,(.5-x+ee)*a,(.5-ae+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+re)*y,(.5-x+ee)*a,(.5+ae+re)*y,(.5-ae+ee)*a,(.5+x+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ae+ee)*a,(.5+x+re)*y,(.5+x+ee)*a,(.5+ae+re)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(de,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,re=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ee+x)*a,re*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*re,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)),re=.75,E=new go.PathFigure((ee+x)*a,re*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*re,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(de,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(de,a,y){var b=new go.Geometry,E=se*.5,x=.5,ee=.5,re=.5,ae=new go.PathFigure(ee*a,(re-x)*y);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,re*y,(ee-E)*a,(re-x)*y,(ee-x)*a,(re-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+x)*y,(ee-x)*a,(re+E)*y,(ee-E)*a,(re+x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,re*y,(ee+E)*a,(re+x)*y,(ee+x)*a,(re+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-x)*y,(ee+x)*a,(re-E)*y,(ee+E)*a,(re-x)*y)),x=.4,E=se*.4;var ne=te(),pe=te(),Ce=te(),Ae=te();Xe(ee,re-x,ee+E,re-x,ee+x,re-E,ee+x,re,.42,ne,pe,Ce,Ae,Ae);var Le=te(),Se=te(),we=te();Xe(ee,re-x,ee+E,re-x,ee+x,re-E,ee+x,re,.58,Ae,Ae,we,Le,Se);var Qe=te(),Be=te(),Ge=te();Xe(ee,re+x,ee-E,re+x,ee-x,re+E,ee-x,re,.42,Qe,Be,Ge,Ae,Ae);var Ze=te(),it=te(),Je=te();return Xe(ee,re+x,ee-E,re+x,ee-x,re+E,ee-x,re,.58,Ae,Ae,Je,Ze,it),ae.add(new go.PathSegment(go.PathSegment.Move,Je.x*a,Je.y*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,re*y,Ze.x*a,Ze.y*y,it.x*a,it.y*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-x)*y,(ee-x)*a,(re-E)*y,(ee-E)*a,(re-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ce.x*a,Ce.y*y,ne.x*a,ne.y*y,pe.x*a,pe.y*y)),ae.add(new go.PathSegment(go.PathSegment.Line,Je.x*a,Je.y*y).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Ge.x*a,Ge.y*y)),ae.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,re*y,Le.x*a,Le.y*y,Se.x*a,Se.y*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+x)*y,(ee+x)*a,(re+E)*y,(ee+E)*a,(re+x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge.x*a,Ge.y*y,Qe.x*a,Qe.y*y,Be.x*a,Be.y*y).close()),ie(ne),ie(pe),ie(Ce),ie(Ae),ie(Le),ie(Se),ie(we),ie(Qe),ie(Be),ie(Ge),ie(Ze),ie(it),ie(Je),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(de,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 Zt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(de,a,y){var b=de?de.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(de,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(de,a,y){var b=new go.Geometry,E=se*.4,x=.4,ee=.5,re=.5,ae=te(),ne=te(),pe=te(),Ce=te(),Ae=new go.PathFigure((ee-x)*a,re*y,!1);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-x)*y,(ee-x)*a,(re-E)*y,(ee-E)*a,(re-x)*y)),Xe(ee,re-x,ee+E,re-x,ee+x,re-E,ee+x,re,.44,pe,Ce,ne,ae,ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,pe.x*a,pe.y*y,Ce.x*a,Ce.y*y));var Le=z(ne.x,ne.y);Xe(ee,re-x,ee+E,re-x,ee+x,re-E,ee+x,re,.56,ae,ae,ne,pe,Ce);var Se=z(ne.x,ne.y);Ae.add(new go.PathSegment(go.PathSegment.Line,(Le.x*.1+.95*.9)*a,Le.y*.1*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,Le.y*.1*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,.15*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,(Se.y*.1+.05*.9)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,re*y,pe.x*a,pe.y*y,Ce.x*a,Ce.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+x)*y,(ee+x)*a,(re+E)*y,(ee+E)*a,(re+x)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,re*y,(ee-E)*a,(re+x)*y,(ee-x)*a,(re+E)*y)),x=.35,E=se*.35;var we=new go.PathFigure(ee*a,(re-x)*y,!1);b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,re*y,(ee-E)*a,(re-x)*y,(ee-x)*a,(re-E)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+x)*y,(ee-x)*a,(re+E)*y,(ee-E)*a,(re+x)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,re*y,(ee+E)*a,(re+x)*y,(ee+x)*a,(re+E)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-x)*y,(ee+x)*a,(re-E)*y,(ee+E)*a,(re-x)*y));var Qe=new go.PathFigure((ee-x)*a,re*y,!1);return b.add(Qe),ie(ae),ie(ne),ie(pe),ie(Ce),ie(Le),ie(Se),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(de,a,y){var b=new go.Geometry,E=.375,x=0,ee=-.125,re=E*se,ae=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+re+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+re+ee)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-re+ee)*y,(.5+re+x)*a,(.5-E+ee)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-re+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-re+ee)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+re+ee)*y,(.5-re+x)*a,(.5+E+ee)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,x=0,ee=-.125,re=E*se;var ae=new go.PathFigure((1-.5+E+x)*a,(.5+ee)*y,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+re+ee)*y,(.5+re+x)*a,(.5+E+ee)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-re+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+re+ee)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-re+ee)*y,(.5-re+x)*a,(.5-E+ee)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+re+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-re+ee)*y));var ae=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);return b.add(ae),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(de,a,y){var b=de?de.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(de,a,y){var b=de?de.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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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 Zt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Zt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=.3);var E=de?de.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*a,ee=(.5-E/2)*y,re=(.5+E/2)*y,ae=new go.Geometry,ne=new go.PathFigure(0,ee,!0);ae.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ne.add(new go.PathSegment(go.PathSegment.Line,x,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,x,y)),ne.add(new go.PathSegment(go.PathSegment.Line,x,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ae.spot1=new go.Spot(0,ee/y);var pe=Fe(0,re/y,1,re/y,x/a,1,1,.5,te());return ae.spot2=new go.Spot(pe.x,pe.y),ie(pe),ae}),go.Shape.setFigureParameter("Arrow2",0,new Zt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Zt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=de?de.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var x=a-b,ee=(y-E)/2,re=ee+E,ae=new go.Geometry,ne=new go.PathFigure(0,ee,!0);ae.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ne.add(new go.PathSegment(go.PathSegment.Line,x,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,x,y)),ne.add(new go.PathSegment(go.PathSegment.Line,x,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ae.spot1=new go.Spot(0,ee/y);var pe=Fe(0,re/y,1,re/y,x/a,1,1,.5,te());return ae.spot2=new go.Spot(pe.x,pe.y),ie(pe),ae}),go.Shape.defineFigureGenerator("Chevron",function(de,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(de,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 Zt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ae=Fe(0,.5,.3,0,0,E/y,.1,E/y,te());return ee.spot1=new go.Spot(ae.x,ae.y),ae=Fe(.7,1,1,.5,0,x/y,1,x/y,ae),ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Zt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Zt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=40);var E=de?de.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,re=(y-E)/2,ae=re+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,re=0,ae=y):(x=0,ee=y,re=0,ae=y));var ne=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ne.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ae)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ae)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var Ce=Fe(0,.5,.3,re/y,0,x/y,1,x/y,te());return ne.spot1=new go.Spot(Ce.x,Ce.y),Ce=Fe(.7,ae/y,1,.5,0,ee/y,1,ee/y,Ce),ne.spot2=new go.Spot(Ce.x,Ce.y),ie(Ce),ne}),go.Shape.setFigureParameter("IBeamArrow",0,new Zt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,E/y);var ae=Fe(.7,1,1,.5,0,x/y,1,x/y,te());return ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Zt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Zt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=40);var E=de?de.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,re=(y-E)/2,ae=re+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,re=0,ae=y):(x=0,ee=y,re=0,ae=y));var ne=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ne.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ae)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ae)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ae)),pe.add(new go.PathSegment(go.PathSegment.Line,0,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),ne.spot1=new go.Spot(0,x/y);var Ce=Fe(.7,ae/y,1,.5,0,ee/y,1,ee/y,te());return ne.spot2=new go.Spot(Ce.x,Ce.y),ie(Ce),ne}),go.Shape.setFigureParameter("Pointer",0,new Zt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(de,a,y){var b=de?de.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=Fe(.2,.65,1,.65,0,1,1,.5,te());return E.spot2=new go.Spot(ee.x,ee.y),ie(ee),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Zt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(de,a,y){var b=de?de.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=Fe(0,.65,1,.65,0,1,1,.5,te());return E.spot2=new go.Spot(ee.x,ee.y),ie(ee),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Zt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var ae=Fe(.7,1,1,.5,0,x/y,1,x/y,te());return ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Zt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(de,a,y){var b=de?de.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,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,E/y);var ae=Fe(.7,1,1,.5,0,x/y,1,x/y,te());return ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Zt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(de,a,y){var b=de?de.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(de,a,y){var b=new go.Geometry,E=se*.5,x=se*.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(de,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(de,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(de,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(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=se*.5,ee=new go.PathFigure(0,b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,se*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-se*b,(.5+x)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,1*y,0,y-se*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var re=new go.PathFigure(a,b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-se*b,(.5+x)*a,2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-se*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=se*.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,se*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,se*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-se*b,(.5+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,y,0,y-se*b));var re=new go.PathFigure(0,y-b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*b,0,y-b-se*b,(.5-x)*a,y-2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+x)*a,y-2*b,a,y-b-se*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=se*.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-se*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-se*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,se*b,0));var re=new go.PathFigure(b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*y,b+se*b,0,2*b,(.5-x)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+x)*y,b+se*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(de,a,y){var b=de?de.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=se*.5,ee=new go.PathFigure(a-b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-se*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-se*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,se*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var re=new go.PathFigure(a-b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*y,a-b-se*b,0,a-2*b,(.5-x)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+x)*y,a-b-se*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(de,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(de,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(de,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(de,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(de,a,y){var b=new go.Geometry,E=.2,x=.1,ee=se*E,re=se*x,ae=.5,ne=.1,pe=new go.PathFigure(ae*a,(ne+x)*y,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-E)*a,ne*y,(ae-ee)*a,(ne+x)*y,(ae-E)*a,(ne+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne-x)*y,(ae-E)*a,(ne-re)*y,(ae-ee)*a,(ne-x)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+E)*a,ne*y,(ae+ee)*a,(ne-x)*y,(ae+E)*a,(ne-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne+x)*y,(ae+E)*a,(ne+re)*y,(ae+ee)*a,(ne+x)*y));var Ce=.05,Ae=se*Ce;ae=.05,ne=.25;var Le=new go.PathFigure(.5*a,.2*y,!0);return b.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ae=.95,ne=.25,Le.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Ce)*a,ne*y,(ae+Ae)*a,(ne-Ce)*y,(ae+Ce)*a,(ne-Ae)*y)),Le.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),Ce=.025,Ae=se*Ce,ae=.825,ne=.35,Le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne-Ce)*y,(ae+Ce)*a,(ne-Ae)*y,(ae+Ae)*a,(ne-Ce)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ce)*a,ne*y,(ae-Ae)*a,(ne-Ce)*y,(ae-Ce)*a,(ne-Ae)*y)),Le.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),Ce=.05,Ae=se*Ce,ae=.5,ne=.7,Le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne-Ce)*y,(ae+Ce)*a,(ne-Ae)*y,(ae+Ae)*a,(ne-Ce)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ce)*a,ne*y,(ae-Ae)*a,(ne-Ce)*y,(ae-Ce)*a,(ne-Ae)*y)),Le.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),Ce=.025,Ae=se*Ce,ae=.175,ne=.35,Le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne-Ce)*y,(ae+Ce)*a,(ne-Ae)*y,(ae+Ae)*a,(ne-Ce)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ce)*a,ne*y,(ae-Ae)*a,(ne-Ce)*y,(ae-Ce)*a,(ne-Ae)*y)),Le.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Le.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Le.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),Ce=.05,Ae=se*Ce,ae=.05,ne=.25,Le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne-Ce)*y,(ae-Ce)*a,(ne-Ae)*y,(ae-Ae)*a,(ne-Ce)*y)),Le.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 Zt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(de,a,y){var b=de?de.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(de,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(de,a,y){var b=new go.Geometry,E=de?de.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(de,a,y){var b=new go.Geometry,E=se*.5,x=se*.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 re=new go.PathFigure(a,.1*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+x)*y,(.5+E)*a,.4*y)),re.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(de,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(de,a,y){var b=new go.Geometry,E=se*.5,x=se*.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 re=new go.PathFigure(a,.1*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),re.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(de,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(de,a,y){var b=new go.Geometry,E=de?de.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=se*.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 re=new go.PathFigure(0,E*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(de,a,y){var b=new go.Geometry,E=de?de.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(de,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(de,a,y){var b=new go.Geometry,E=de?de.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(de,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(de,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(de,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(de,a,y){var b=new go.Geometry,E=de?de.parameter1:NaN,x=de?de.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 re=new go.PathFigure(E*a,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,0,x*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),b}),go.Shape.defineFigureGenerator("Junction",function(de,a,y){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,ee=se*.5,re=.5,ae=new go.PathFigure(a,re*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+ee)*y,(re+ee)*a,y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-ee)*a,y,0,(re+ee)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-ee)*y,(re-ee)*a,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+ee)*a,0,a,(re-ee)*y));var ne=new go.PathFigure((x+E)*a,(x+E)*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)),ne.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Line,(x+E)*a,x*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(de,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(de,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(de,a,y){var b=new go.Geometry,E=se*.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(de,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(de,a,y){var b=new go.Geometry,E=de?de.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(de,a,y){var b=new go.Geometry,E=de?de.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(de,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(de,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(de,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(de,a,y){var b=new go.Geometry,E=de?de.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 re=new go.PathFigure(.5*E*a,E*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(de,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(de,a,y){var b=new go.Geometry,E=se*.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 re=new go.PathFigure(a,.5*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(de,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(de,a,y){var b=new go.Geometry,E=de?de.parameter1:NaN,x=de?de.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(de,a,y){var b=new go.Geometry,E=de?de.parameter1:NaN,x=de?de.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(de,a,y){var b=new go.Geometry,E=de?de.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(de,a,y){var b=new go.Geometry,E=de?de.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(de,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(de,a,y){var b=new go.Geometry,E=de?de.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(de,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(de,a,y){var b=new go.Geometry,E=de?de.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(de,a,y){var b=new go.Geometry,E=se*.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(de,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(de,a,y){var b=new go.Geometry,E=se*.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 re=new go.PathFigure(a,x*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,x*y));var ae=new go.PathFigure(.8*a,.75*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(de,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(de,a,y){var b=new go.Geometry,E=se*.1,x=.1,ee=.9,re=.5,ae=new go.PathFigure(.8*a,.5*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ne=new go.PathFigure((ee+x)*a,re*y,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+x)*y,(ee+x)*a,(re+E)*y,(ee+E)*a,(re+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,re*y,(ee-E)*a,(re+x)*y,(ee-x)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-x)*y,(ee-x)*a,(re-E)*y,(ee-E)*a,(re-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,re*y,(ee+E)*a,(re-x)*y,(ee+x)*a,(re-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(de,a,y){var b=new go.Geometry,E=se*.5,x=se*.4,ee=se*.1,re=.1,ae=.9,ne=.5,pe=new go.PathFigure(.8*a,.5*y,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+x)*y,(.4+E)*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-x)*y));var Ce=new go.PathFigure((ae+re)*a,ne*y,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne+re)*y,(ae+re)*a,(ne+ee)*y,(ae+ee)*a,(ne+re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae-re)*a,ne*y,(ae-ee)*a,(ne+re)*y,(ae-re)*a,(ne+ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne-re)*y,(ae-re)*a,(ne-ee)*y,(ae-ee)*a,(ne-re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae+re)*a,ne*y,(ae+ee)*a,(ne-re)*y,(ae+re)*a,(ne-ee)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(de,a,y){var b=new go.Geometry,E=.5,x=se*E,ee=0,re=.5,ae=new go.PathFigure(.8*a,.5*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+x)*y,(ee+x)*a,(re+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(re-E)*y,.7*a,(re-x)*y)),E=.1,x=se*.1,ee=.9,re=.5;var ne=new go.PathFigure((ee-E)*a,re*y,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-E)*y,(ee-E)*a,(re-x)*y,(ee-x)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,re*y,(ee+x)*a,(re-E)*y,(ee+E)*a,(re-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+E)*y,(ee+E)*a,(re+x)*y,(ee+x)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,re*y,(ee-x)*a,(re+E)*y,(ee-E)*a,(re+x)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(de,a,y){var b=new go.Geometry,E=.5,x=se*E,ee=0,re=.5,ae=new go.PathFigure(0,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x+x)*a,(re-E)*y,.8*a,(re-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+x)*y,(ee+x+x)*a,(re+E)*y)),ae.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(de,a,y){var b=new go.Geometry,E=.5,x=se*E,ee=.2,re=.5,ae=new go.PathFigure(.1*a,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ne=new go.PathFigure(.8*a,.5*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+x)*y,(ee+x)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(re-E)*y,.7*a,(re-x)*y)),E=.1,x=se*.1,ee=.9,re=.5;var pe=new go.PathFigure((ee-E)*a,re*y,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-E)*y,(ee-E)*a,(re-x)*y,(ee-x)*a,(re-E)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,re*y,(ee+x)*a,(re-E)*y,(ee+E)*a,(re-x)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+E)*y,(ee+E)*a,(re+x)*y,(ee+x)*a,(re+E)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,re*y,(ee-x)*a,(re+E)*y,(ee-E)*a,(re+x)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(de,a,y){var b=new go.Geometry,E=.5,x=se*E,ee=.2,re=.5,ae=new go.PathFigure(.1*a,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ne=new go.PathFigure(.2*a,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x)*a,(re-E)*y,.9*a,(re-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+x)*y,(ee+x)*a,(re+E)*y)),ne.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(de,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(de,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(de,a,y){var b=new go.Geometry,E=se*.1,x=.1,ee=.1,re=.5,ae=new go.PathFigure((ee-E*.5)*a,y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.9,ae.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(de,a,y){var b=new go.Geometry,E=se*.5,x=.5,ee=.5,re=.5,ae=new go.PathFigure((ee-x)*a,re*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-x)*y,(ee-x)*a,(re-E)*y,(ee-E)*a,(re-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,re*y,(ee+E)*a,(re-x)*y,(ee+x)*a,(re-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+x)*y,(ee+x)*a,(re+E)*y,(ee+E)*a,(re+x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,re*y,(ee-E)*a,(re+x)*y,(ee-x)*a,(re+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Move,(ee-x+.1)*a,re*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x-.1)*a,re*y,ee*a,(re-x)*y,ee*a,(re+x)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(de,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(de,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(de,a,y){var b=new go.Geometry,E=a,x=y;a=a*.38,y=y*.6;var ee=se*.8,re=.8,ae=0,ne=.5,pe=(E-a)/2,Ce=(x-y)/2,Ae=new go.PathFigure(ae*a+pe,(ne+re)*y+Ce,!0);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ae-re)*a+pe,ne*y+Ce,(ae-ee)*a+pe,(ne+re)*y+Ce,(ae-re)*a+pe,(ne+ee)*y+Ce)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne-re)*y+Ce,(ae-re)*a+pe,(ne-ee)*y+Ce,(ae-ee)*a+pe,(ne-re)*y+Ce)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ae-re+ee*.5)*a+pe,ne*y+Ce,ae*a+pe,(ne-re)*y+Ce,(ae-re+ee*.5)*a+pe,(ne-ee)*y+Ce)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne+re)*y+Ce,(ae-re+ee*.5)*a+pe,(ne+ee)*y+Ce,ae*a+pe,(ne+re)*y+Ce).close()),ee=se*.4,re=.4,ae=.2,ne=.5;var Le=new go.PathFigure(ae*a+pe,(ne+re)*y+Ce,!0);b.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ae-re)*a+pe,ne*y+Ce,(ae-ee)*a+pe,(ne+re)*y+Ce,(ae-re)*a+pe,(ne+ee)*y+Ce)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne-re)*y+Ce,(ae-re)*a+pe,(ne-ee)*y+Ce,(ae-ee)*a+pe,(ne-re)*y+Ce)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ae-re+ee*.5)*a+pe,ne*y+Ce,ae*a+pe,(ne-re)*y+Ce,(ae-re+ee*.5)*a+pe,(ne-ee)*y+Ce)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne+re)*y+Ce,(ae-re+ee*.5)*a+pe,(ne+ee)*y+Ce,ae*a+pe,(ne+re)*y+Ce).close()),ee=se*.2,re=.2,ae=.5,ne=.5;var Se=new go.PathFigure((ae-re)*a+pe,ne*y+Ce,!0);b.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne-re)*y+Ce,(ae-re)*a+pe,(ne-ee)*y+Ce,(ae-ee)*a+pe,(ne-re)*y+Ce)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae+re)*a+pe,ne*y+Ce,(ae+ee)*a+pe,(ne-re)*y+Ce,(ae+re)*a+pe,(ne-ee)*y+Ce)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne+re)*y+Ce,(ae+re)*a+pe,(ne+ee)*y+Ce,(ae+ee)*a+pe,(ne+re)*y+Ce)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-re)*a+pe,ne*y+Ce,(ae-ee)*a+pe,(ne+re)*y+Ce,(ae-re)*a+pe,(ne+ee)*y+Ce)),ee=se*.4,re=.4,ae=.8,ne=.5;var we=new go.PathFigure(ae*a+pe,(ne-re)*y+Ce,!0);b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(ae+re)*a+pe,ne*y+Ce,(ae+ee)*a+pe,(ne-re)*y+Ce,(ae+re)*a+pe,(ne-ee)*y+Ce)),we.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne+re)*y+Ce,(ae+re)*a+pe,(ne+ee)*y+Ce,(ae+ee)*a+pe,(ne+re)*y+Ce)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ae+re-ee*.5)*a+pe,ne*y+Ce,ae*a+pe,(ne+re)*y+Ce,(ae+re-ee*.5)*a+pe,(ne+ee)*y+Ce)),we.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne-re)*y+Ce,(ae+re-ee*.5)*a+pe,(ne-ee)*y+Ce,ae*a+pe,(ne-re)*y+Ce).close()),ee=se*.8,re=.8,ae=1,ne=.5;var Qe=new go.PathFigure(ae*a+pe,(ne-re)*y+Ce,!0);return b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+re)*a+pe,ne*y+Ce,(ae+ee)*a+pe,(ne-re)*y+Ce,(ae+re)*a+pe,(ne-ee)*y+Ce)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne+re)*y+Ce,(ae+re)*a+pe,(ne+ee)*y+Ce,(ae+ee)*a+pe,(ne+re)*y+Ce)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+re-ee*.5)*a+pe,ne*y+Ce,ae*a+pe,(ne+re)*y+Ce,(ae+re-ee*.5)*a+pe,(ne+ee)*y+Ce)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+pe,(ne-re)*y+Ce,(ae+re-ee*.5)*a+pe,(ne-ee)*y+Ce,ae*a+pe,(ne-re)*y+Ce).close()),b}),go.Shape.defineFigureGenerator("Email",function(de,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(de,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 re=new go.PathFigure(0,.5*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),b}),go.Shape.defineFigureGenerator("Power",function(de,a,y){var b=new go.Geometry,E=se*.4,x=.4,ee=.5,re=.5,ae=te(),ne=te(),pe=te(),Ce=te();Xe(ee,re-x,ee+E,re-x,ee+x,re-E,ee+x,re,.5,ae,ae,ne,pe,Ce);var Ae=z(ne.x,ne.y),Le=new go.PathFigure(ne.x*a,ne.y*y,!0);b.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,re*y,pe.x*a,pe.y*y,Ce.x*a,Ce.y*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+x)*y,(ee+x)*a,(re+E)*y,(ee+E)*a,(re+x)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,re*y,(ee-E)*a,(re+x)*y,(ee-x)*a,(re+E)*y)),Xe(ee-x,re,ee-x,re-E,ee-E,re-x,ee,re-x,.5,pe,Ce,ne,ae,ae),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,pe.x*a,pe.y*y,Ce.x*a,Ce.y*y)),E=se*.3,x=.3,Xe(ee-x,re,ee-x,re-E,ee-E,re-x,ee,re-x,.5,pe,Ce,ne,ae,ae),Le.add(new go.PathSegment(go.PathSegment.Line,ne.x*a,ne.y*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,re*y,Ce.x*a,Ce.y*y,pe.x*a,pe.y*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+x)*y,(ee-x)*a,(re+E)*y,(ee-E)*a,(re+x)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,re*y,(ee+E)*a,(re+x)*y,(ee+x)*a,(re+E)*y)),Xe(ee,re-x,ee+E,re-x,ee+x,re-E,ee+x,re,.5,ae,ae,ne,pe,Ce),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,Ce.x*a,Ce.y*y,pe.x*a,pe.y*y).close());var Le=new go.PathFigure(.45*a,0,!0);return b.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ie(ae),ie(ne),ie(pe),ie(Ce),ie(Ae),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(de,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,re,ae){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+ae)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+ae)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+ae)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+ae)*y).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(de,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(de,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(de,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(de,a,y){var b=new go.Geometry,E=.5,x=0,ee=0,re=E*se,ae=.4*Math.SQRT2/2+.5,ne=.5-.5*Math.SQRT2/2,pe=1,Ce=.5,Ae=.5,Le=0,Se=new go.PathFigure(ae*a,(1-ne)*y,!1);return b.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,Ce*y,pe*a,.7*y,pe*a,Ce*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+x)*a,(Le+x)*y,(.5+E+x)*a,(.5-re+x)*y,(.5+re+x)*a,(.5-E+x)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-re+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-re+ee)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*y,(.5-E+x)*a,(.5+re+ee)*y,(.5-re+x)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(de,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(de,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(de,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(de,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(de,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(de,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(de,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,re=.5,ae=ee,ne=Math.PI/4,pe=4*(1-Math.cos(ne))/(3*Math.sin(ne)),Ce=pe*.5,Ae=ee,Le=ee,Se=pe*Ae,we=pe*Le;x.add(new go.PathSegment(go.PathSegment.Bezier,(re-Ae)*a,ae*y,(re-(Se+Ae)/2)*a,(ae+(Le+we)/2)*y,(re-Ae)*a,(ae+we)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ae-Le)*y,(re-Ae)*a,(ae-we)*y,(re-Se)*a,(ae-Le)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(re+Ae)*a,ae*y,(re+Se)*a,(ae-Le)*y,(re+Ae)*a,(ae-we)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+Ae)*a,(ae+we)*y,(re+(Se+Ae)/2)*a,(ae+(Le+we)/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 Qe=new go.PathFigure(.2*a,y,!1);b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Be=new go.PathFigure(.8*a,y,!1);return b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(de,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(de,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(de,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(de,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(de,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(de,a,y){var b=new go.Geometry,E=.5,x=se*.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 re=new go.PathFigure(E*a,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),re.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),re.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),b}),go.Shape.defineFigureGenerator("Package",function(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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,re=se*.1,ae=.2,ne=.9,pe=new go.PathFigure((ae-ee)*a,ne*y,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne-ee)*y,(ae-ee)*a,(ne-re)*y,(ae-re)*a,(ne-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*a,ne*y,(ae+re)*a,(ne-ee)*y,(ae+ee)*a,(ne-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne+ee)*y,(ae+ee)*a,(ne+re)*y,(ae+re)*a,(ne+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*a,ne*y,(ae-re)*a,(ne+ee)*y,(ae-ee)*a,(ne+re)*y).close()),ee=.1,re=se*.1,ae=.8,ne=.9;var Ce=new go.PathFigure((ae-ee)*a,ne*y,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne-ee)*y,(ae-ee)*a,(ne-re)*y,(ae-re)*a,(ne-ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*a,ne*y,(ae+re)*a,(ne-ee)*y,(ae+ee)*a,(ne-re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ne+ee)*y,(ae+ee)*a,(ne+re)*y,(ae+re)*a,(ne+ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*a,ne*y,(ae-re)*a,(ne+ee)*y,(ae-ee)*a,(ne+re)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(de,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(de,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 re=new go.PathFigure(.5*a,.7*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ae=.1,ne=se*.1,pe=.1,Ce=.9,Ae=new go.PathFigure((pe-ae)*a,Ce*y,!0);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(Ce-ae)*y,(pe-ae)*a,(Ce-ne)*y,(pe-ne)*a,(Ce-ae)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ae)*a,Ce*y,(pe+ne)*a,(Ce-ae)*y,(pe+ae)*a,(Ce-ne)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(Ce+ae)*y,(pe+ae)*a,(Ce+ne)*y,(pe+ne)*a,(Ce+ae)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ae)*a,Ce*y,(pe-ne)*a,(Ce+ae)*y,(pe-ae)*a,(Ce+ne)*y)),ae=.1,ne=se*.1,pe=.4,Ce=.9;var Le=new go.PathFigure((pe-ae)*a,Ce*y,!0);return b.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(Ce-ae)*y,(pe-ae)*a,(Ce-ne)*y,(pe-ne)*a,(Ce-ae)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ae)*a,Ce*y,(pe+ne)*a,(Ce-ae)*y,(pe+ae)*a,(Ce-ne)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(Ce+ae)*y,(pe+ae)*a,(Ce+ne)*y,(pe+ne)*a,(Ce+ae)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ae)*a,Ce*y,(pe-ne)*a,(Ce+ae)*y,(pe-ae)*a,(Ce+ne)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(de,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 pe=.05,Ce=se*.05,Ae=.175,Le=.95,re=new go.PathFigure((Ae-pe)*a,Le*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(Le-pe)*y,(Ae-pe)*a,(Le-Ce)*y,(Ae-Ce)*a,(Le-pe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+pe)*a,Le*y,(Ae+Ce)*a,(Le-pe)*y,(Ae+pe)*a,(Le-Ce)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(Le+pe)*y,(Ae+pe)*a,(Le+Ce)*y,(Ae+Ce)*a,(Le+pe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-pe)*a,Le*y,(Ae-Ce)*a,(Le+pe)*y,(Ae-pe)*a,(Le+Ce)*y));var pe=.05,Ce=se*.05,Ae=.375,Le=.95,ae=new go.PathFigure((Ae-pe)*a,Le*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(Le-pe)*y,(Ae-pe)*a,(Le-Ce)*y,(Ae-Ce)*a,(Le-pe)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+pe)*a,Le*y,(Ae+Ce)*a,(Le-pe)*y,(Ae+pe)*a,(Le-Ce)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(Le+pe)*y,(Ae+pe)*a,(Le+Ce)*y,(Ae+Ce)*a,(Le+pe)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-pe)*a,Le*y,(Ae-Ce)*a,(Le+pe)*y,(Ae-pe)*a,(Le+Ce)*y));var pe=.05,Ce=se*.05,Ae=.625,Le=.95,ne=new go.PathFigure((Ae-pe)*a,Le*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(Le-pe)*y,(Ae-pe)*a,(Le-Ce)*y,(Ae-Ce)*a,(Le-pe)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+pe)*a,Le*y,(Ae+Ce)*a,(Le-pe)*y,(Ae+pe)*a,(Le-Ce)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(Le+pe)*y,(Ae+pe)*a,(Le+Ce)*y,(Ae+Ce)*a,(Le+pe)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-pe)*a,Le*y,(Ae-Ce)*a,(Le+pe)*y,(Ae-pe)*a,(Le+Ce)*y));var pe=.05,Ce=se*.05,Ae=.825,Le=.95,Se=new go.PathFigure((Ae-pe)*a,Le*y,!0);b.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(Le-pe)*y,(Ae-pe)*a,(Le-Ce)*y,(Ae-Ce)*a,(Le-pe)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+pe)*a,Le*y,(Ae+Ce)*a,(Le-pe)*y,(Ae+pe)*a,(Le-Ce)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(Le+pe)*y,(Ae+pe)*a,(Le+Ce)*y,(Ae+Ce)*a,(Le+pe)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-pe)*a,Le*y,(Ae-Ce)*a,(Le+pe)*y,(Ae-pe)*a,(Le+Ce)*y).close());var we=new go.PathFigure(0,y,!1);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(de,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 re=.05,ae=se*.05,ne=.35,pe=.775,Ce=new go.PathFigure((ne-re)*a,pe*y,!0);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(pe-re)*y,(ne-re)*a,(pe-ae)*y,(ne-ae)*a,(pe-re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+re)*a,pe*y,(ne+ae)*a,(pe-re)*y,(ne+re)*a,(pe-ae)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(pe+re)*y,(ne+re)*a,(pe+ae)*y,(ne+ae)*a,(pe+re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-re)*a,pe*y,(ne-ae)*a,(pe+re)*y,(ne-re)*a,(pe+ae)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(de,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(de,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(de,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(de,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(de,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(de,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(de,a,y){var b=new go.Geometry,E=.3,x=se*.3,ee=.5,re=.7,ae=new go.PathFigure((ee-E)*a,re*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-E)*y,(ee-E)*a,(re-x)*y,(ee-x)*a,(re-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,re*y,(ee+x)*a,(re-E)*y,(ee+E)*a,(re-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+E)*y,(ee+E)*a,(re+x)*y,(ee+x)*a,(re+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,re*y,(ee-x)*a,(re+E)*y,(ee-E)*a,(re+x)*y));var ne=new go.PathFigure(0,.7*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(de,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(de,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(de,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(de,a,y){var b=new go.Geometry,E=.5,x=se*.5,ee=.5,re=.5,ae=new go.PathFigure((ee-E)*a,re*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-E)*y,(ee-E)*a,(re-x)*y,(ee-x)*a,(re-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,re*y,(ee+x)*a,(re-E)*y,(ee+E)*a,(re-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+E)*y,(ee+E)*a,(re+x)*y,(ee+x)*a,(re+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,re*y,(ee-x)*a,(re+E)*y,(ee-E)*a,(re+x)*y));var ne=new go.PathFigure(.15*a,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),b}),go.Shape.defineFigureGenerator("Flag",function(de,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(de,a,y){var b=new go.Geometry,E=.5,x=se*.5,ee=.5,re=.5,ae=new go.PathFigure((ee-E)*a,re*y,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-E)*y,(ee-E)*a,(re-x)*y,(ee-x)*a,(re-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,re*y,(ee+x)*a,(re-E)*y,(ee+E)*a,(re-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+E)*y,(ee+E)*a,(re+x)*y,(ee+x)*a,(re+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,re*y,(ee-x)*a,(re+E)*y,(ee-E)*a,(re+x)*y).close()),E=.05,x=se*.05,ee=.5,re=.8;var ne=new go.PathFigure((ee-E)*a,re*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-E)*y,(ee-E)*a,(re-x)*y,(ee-x)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,re*y,(ee+x)*a,(re-E)*y,(ee+E)*a,(re-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+E)*y,(ee+E)*a,(re+x)*y,(ee+x)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,re*y,(ee-x)*a,(re+E)*y,(ee-E)*a,(re+x)*y).close()),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ne.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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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(de,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 re=new go.PathFigure(.678*a,.85*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var ae=new go.PathFigure(.5*a,.1*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(de,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(de,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 re=new go.PathFigure(a*.612,y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var ae=new go.PathFigure(a*.816,y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(de,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 re=new go.PathFigure(a*.055,.18*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var ae=new go.PathFigure(a*1,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(de,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(de,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(de,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 re=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var ae=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(de,a,y){var b=new go.Geometry,E=8,x=E*se,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 re=new go.PathFigure(a*.83,0,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var ae=new go.PathFigure(a*.83,y*1,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ne=new go.PathFigure(a*.78,y*.05,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(de,a,y){var b=de?de.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*se,x=y*.8,ee=new go.Geometry,re=new go.PathFigure(b,0,!0);return ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)),re.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-E,a-E,x)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),re.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),re.add(new go.PathSegment(go.PathSegment.Line,b,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.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(de,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(de,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(de,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(de,a,y){var b=new go.Geometry,E=15,x=E*se,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(de,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(de,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(de,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(de,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(de,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(de,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Zt={},Ht="5.0",z={},te=null,ie=!1,Fe=!1,Xe=null,ze=!1,je=null,se=null,We=0;We4?parseFloat(yt):5};Zt.setHTML5Codebase=function(yt,It){se=yt,Lt(yt,It)},Zt.setJavaCodebase=Zt.setJavaCodebaseVersion=Zt.isCompiledInstalled=Zt.setPreCompiledScriptPath=Zt.setPreCompiledResourcePath=function(){},Zt.setHTML5CodebaseVersion=function(yt,It){var Kt=parseFloat(yt);if(Kt!==NaN&&Kt<5){console.log("The GeoGebra HTML5 codebase version "+Kt+" is deprecated. Using version latest instead.");return}je=yt,St(yt,It)},Zt.getHTML5CodebaseVersion=function(){return de},Zt.getParameters=function(){return z},Zt.setFontsCSSURL=function(yt){ee=yt},Zt.setGiacJSURL=function(yt){},Zt.setJNLPFile=function(yt){Re=yt},Zt.setJNLPBaseDir=function(yt){},Zt.inject=function(){function yt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var It="auto",Kt=z.id,An,Pt=!1,Qt=0;Qt=5)return!0;var yt=Zt.getAppletObject();return yt&&typeof yt.recalculateEnvironments=="function"?(yt.recalculateEnvironments(),!0):!1},Zt.startAnimation=function(){var yt=Zt.getAppletObject();return yt&&typeof yt.startAnimation=="function"?(yt.startAnimation(),!0):!1},Zt.stopAnimation=function(){var yt=Zt.getAppletObject();return yt&&typeof yt.stopAnimation=="function"?(yt.stopAnimation(),!0):!1},Zt.getAppletObject=function(){var yt=z.id!==void 0?z.id:"ggbApplet";return window[yt]},Zt.resize=function(){};var Se=function(yt,It,Kt){var An=document.createElement("param");An.setAttribute("name",It),An.setAttribute("value",Kt),yt.appendChild(An)},we=function(yt){return yt&&yt!=="false"},Qe=function(yt,It,Kt){ae(de)<=4.2&&(Kt=!0);var An=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==de||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(An=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Pt=document.createElement("div");Pt.classList.add("appletParameters","notranslate");var Qt=It.width,ke=It.height;if(It.disableAutoScale=It.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():It.disableAutoScale,It.width!==void 0)if(ae(de)<=4.4)we(It.showToolBar)&&(It.height-=7),we(It.showAlgebraInput)&&(It.height-=37),It.width<605&&we(It.showToolBar)&&(It.width=605,Qt=605);else{var zn=100;(we(It.showToolBar)||we(It.showMenuBar))&&(It.hasOwnProperty("customToolBar")&&(It.customToolbar=It.customToolBar),zn=we(It.showMenuBar)?245:155),Qt=5?(It.appletOnLoad=function(Ta){var gt=yt.querySelector(".ggb_preview");gt&>.parentNode.removeChild(gt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(da),window.GGBT_wsf_view&&$(window).trigger("resize"),ya(Ta)},Dn||da.appendChild(ht)):Pt.appendChild(ht),da.appendChild(Pt),Dn||yt.appendChild(da),setTimeout(function(){Zt.resize()},1)}else{var nt=document.createElement("div");nt.className="applet_scaler",nt.style.position="relative",nt.style.display="block",nt.appendChild(Pt),yt.appendChild(nt),It.appletOnLoad=function(Ta){Zt.resize(),ya(Ta)}}function tn(Ta,gt){gt&&typeof gt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ta,gt.appletOnLoad):renderGGBElement(Ta),$t("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",gt)}function vn(Ta,gt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ta,params:gt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Rt){tn(Rt.article,Rt.params)}),html5AppletsToProcess=null)},ae(de)<5&&(Ta.className+=" geogebraweb")):tn(Ta,gt)}if(An){scriptLoadStarted=!0;for(var Vt=0;Vt0?(an.remove(),da.attr("id","fullscreencontent").show(),jQuery(ya).append(da),window.dispatchEvent(new Event("resize"))):Qe(an,It,!1),window.GGBT_wsf_view.launchFullScreen(ya)}else De=An,Qe(yt,It,!1);if(!window.GGBT_wsf_view)for(ke=0;keyt/4*3&&(an=yt/4*3),ya=an/5.8,zn.setAttribute("src",E),zn.setAttribute("width",an),zn.setAttribute("height",ya);var da=(yt-an)/2,Dn=(It-ya)/2;zn.style.left=da+"px",zn.style.top=Dn+"px",Pt.appendChild(zn)}}return Pt.appendChild(ke),Pt},Dt=function(yt){return yt=yt.toLowerCase(),yt==="html5"||yt==="screenshot"?yt:"html5"},Nt=["web","webSimple","web3d","tablet","tablet3d","phone"],St=function(yt,It){if(de=yt,It){Lt(de,!0);return}var Kt=!ie;if(Kt){var An=ae(de);!isNaN(An)&&An<4.4&&(Kt=!1)}var Pt,Qt;window.location.protocol.substr(0,4)==="http"?Pt=window.location.protocol:Pt="http:";var ke=de.indexOf("//");ke>0?Qt=de:ke===0?Qt=Pt+de:Qt="https://www.geogebra.org/apps/5.2.814.0/";for(var zn in Nt)if(de.slice(Nt[zn].length*-1)===Nt[zn]||de.slice((Nt[zn].length+1)*-1)===Nt[zn]+"/"){Lt(Qt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Kt&&!te.is3D&&!te.AV&&!te.SV&&!te.CV&&!te.EV2&&!te.CP&&!te.PC&&!te.DA&&!te.FI&&!te.PV&&!we(z.showToolBar)&&!we(z.showMenuBar)&&!we(z.showAlgebraInput)&&!we(z.enableRightClick)&&(!z.appName||z.appName=="classic")?Qt+="webSimple/":Qt+="web3d/",Lt(Qt,!1)},Lt=function(yt,It){if(yt.requirejs){Ye=yt;return}yt.slice(-1)!=="/"&&(yt+="/"),Ye=yt,It===null&&(It=yt.indexOf("http")===-1),ce=It,a="web.nocache.js",y=!1;var Kt=Ye.split("/");Kt.length>1&&(!It&&Kt[Kt.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Nt.indexOf(Kt[Kt.length-2])>=0&&(a=Kt[Kt.length-2]+".nocache.js")),Kt=yt.split("/"),de=Kt[Kt.length-3],de.substr(0,4)==="test"?de=de.substr(4,1)+"."+de.substr(5,1):(de.substr(0,3)==="war"||de.substr(0,4)==="beta")&&(de="5.0");var An=parseFloat(de);An!==NaN&&An<5&&yt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+An+" is deprecated. Using version latest instead."),St("5.0",It))},$t=function(yt,It){window.console&&window.console.log&&(!It||typeof It.showLogging=="undefined"||It.showLogging&&It.showLogging!=="false")&&console.log(yt)};z.material_id!==void 0?Ce(un):un();function un(){var yt=Ht;je!==null?yt=je:parseFloat(yt)<5&&(yt="5.0"),St(yt,!1),se!==null&&Lt(se,ce),ze=!0}return Zt},GGBAppletUtils=function(){"use strict";function Zt(){return window.GGBT_wsf_edit!==void 0}function Ht(ze,je){je!=1?(ze.style.transformOrigin="0% 0% 0px",ze.style.webkitTransformOrigin="0% 0% 0px",ze.style.transform="scale("+je+","+je+")",ze.style.webkitTransform="scale("+je+","+je+")",ze.style.maxWidth="initial",ze.querySelector(".ggb_preview")!==null&&(ze.querySelector(".ggb_preview").style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ze.style.transform="none",ze.style.webkitTransform="none")}function z(ze,je,se,We,Oe,Re){var Ye=null;if(Re!=null&&Re!="")for(var ce=ze.parentNode;ce!=null;)if((" "+ce.className+" ").indexOf(" "+Re+" ")>-1){Ye=ce;break}else ce=ce.parentNode;var De=0,de=0,a=0,y=0,b=0,E=0,x=0;if(Ye)De=Ye.offsetWidth,de=Math.max(We?Ye.offsetWidth:0,Ye.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(De=Math.min(window.innerWidth,document.documentElement.clientWidth),de=Math.min(window.innerHeight,document.documentElement.clientHeight),a=De):(De=window.innerWidth,de=window.innerHeight,a=window.innerWidth),ze){var ee=ze.getBoundingClientRect();ee.left>0&&ee.left<=De&&(Oe===void 0||!Oe)&&(document.dir==="rtl"?(b=De-ee.width-ee.left,E=a<=480?10:30):(E=ee.left,b=a<=480?10:30),y=E+b)}if(ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,x=40)}}return ze&&((se===void 0||!se)&&je>0&&je+y1&&(Re=!0)),je&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Re=!0),!(ze.hasOwnProperty("disableAutoScale")&&ze.disableAutoScale))Oe=te(ze,je,Re,se,ze.scaleContainerClass);else return We;return Re&&(!ze.hasOwnProperty("scale")||We===1)?Oe:Math.min(We,Oe)}function Fe(ze){var je=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),We=ze.getBoundingClientRect(),Oe=(je-We.width)/2,Re=(se-We.height)/2;Re<0&&(Re=0),ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Oe<40?ze.style.left="40px":ze.style.left=Oe+"px",ze.style.top=Re+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Re<40?ze.style.top="40px":ze.style.top=Re+"px",ze.style.left=Oe+"px")}function Xe(ze,je){var se=ze.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(je.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var We=ie(je,ze);Zt()&&se.setAttribute("data-param-scale",We);for(var Oe=null,Re=0;Re=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(Zt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Zt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Zt){var Ht=c[Zt];return Ht==null?null:Ht},r=d,webModule.__errFn=e}function B(){function Zt(ze){var je=ze.lastIndexOf(rb);je==-1&&(je=ze.length);var se=ze.indexOf(sb);se==-1&&(se=ze.length);var We=ze.lastIndexOf(tb,Math.min(se,je));return We>=O?ze.substring(O,We+P):W}function Ht(ze){if(!ze.match(/^\w+:\/\//)){var je=o.createElement(ub);je.src=ze+vb,ze=Zt(je.src)}return ze}function z(){var ze=__gwt_getMetaProperty(wb);return ze!=null?ze:W}function te(){for(var ze=o.getElementsByTagName(_),je=O;jeO?ze[ze.length-P].href:W}function Fe(){var ze=o.location;return ze.href==ze.protocol+zb+ze.host+ze.pathname+ze.search+ze.hash}var Xe=z();return Xe==W&&(Xe=te()),Xe==W&&(Xe=ie()),Xe==W&&Fe()&&(Xe=Zt(o.location.href)),Xe=Ht(Xe),Xe}function C(Zt){return Zt.match(/^\//)||Zt.match(/^[a-zA-Z]+:\/\//)?Zt:webModule.__moduleBase+Zt}function D(){var Zt=[],Ht=O,z=[],te=[];function ie(ze){var je=te[ze](),se=z[ze];if(je in se)return je;var We=[];for(var Oe in se)We[se[Oe]]=Oe;throw r&&r(ze,We,je),null}if(__gwt_isKnownPropertyValue=function(ze,je){return je in z[ze]},webModule.__getPropMap=function(){var ze={};for(var je in z)z.hasOwnProperty(je)&&(ze[je]=ie(je));return ze},webModule.__computePropValue=ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Fe;try{Fe=Cb;var Xe=Fe.indexOf(Db);Xe!=-1&&(Ht=parseInt(Fe.substring(Xe+P),$),Fe=Fe.substring(O,Xe))}catch(ze){}return webModule.__softPermutationId=Ht,C(Fe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(Zt,Ht,z){"use strict";z.d(Ht,{Ax:function(){return Xe},Ds:function(){return ze},KI:function(){return se},SI:function(){return Fe},f1:function(){return ie}});var te=z(11320);function ie(We){let Oe=!0;if(We.length>0){for(let Re=0;Renew Promise((a,y)=>{var b=ee=>{try{x(de.next(ee))}catch(re){y(re)}},E=ee=>{try{x(de.throw(ee))}catch(re){y(re)}},x=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(b,E);x((de=de.apply(ce,De)).next())}),Ye=({data:ce,className:De,fullWidth:de,style:a={},onClose:y,onOk:b,showFullTools:E,noAssociationId:x})=>{const ee=(0,te.useRef)(null),re=(0,te.useRef)(null),ae=(0,te.useRef)(null),ne=(0,te.useRef)(null),[pe,Ce]=(0,te.useState)(!1),[Ae,Le]=(0,te.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,te.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),ce!=null&&ce.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",ce!=null&&ce.src&&Se()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[ce==null?void 0:ce.visible]);const Se=()=>Oe(void 0,null,function*(){Ce(!0),Le("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ze=yield(0,We.ZJ)(ce==null?void 0:ce.src);ee.current.src="",ee.current.src=Ze,ee.current.onload=function(){Ge()},Ce(!1),Le("")}),we=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",y()},Qe=Ze=>Oe(void 0,null,function*(){Ce(!0),Le("\u6B63\u5728\u4FDD\u5B58\u4E2D");const it=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ce.title,file:Ze.dataUrl}});it!=null&&it.id&&!x?(yield(0,se.ZP)(`/api/attachments/${ce.id}/add_subitem.json`,{method:"post",body:{subitem_id:it==null?void 0:it.id,settings:JSON.stringify(Ze.state)}})).status===0&&b():it!=null&&it.id&&b(it),document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",Ce(!1),Le("")}),Be=()=>{const Ze=document.querySelector('a[href="https://markerjs.com/"]');Ze&&Ze.parentNode&&(Ze.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Je=>{const Dt=document.querySelector(Je.name);Dt&&Dt.setAttribute("title",Je.title)})},Ge=()=>{re.current=new je.hP(ee.current),re.current.targetRoot=ne.current,re.current.addEventListener("render",Qe),re.current.addEventListener("beforeclose",we),E&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),ce!=null&&ce.snapshotData&&re.current.restoreState(ce.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Be()},300)};return te.createElement(te.Fragment,null,(ce==null?void 0:ce.visible)&&te.createElement(ze.Z,{spinning:pe,tip:Ae,style:{position:"absolute"}},te.createElement("div",{ref:ne,className:Xe()(ie.imageDimensions,De,de?ie.fullWidth:""),style:a},te.createElement("img",{className:ie.img,ref:ee}))))}},36527:function(Zt,Ht,z){"use strict";var te=z(67294),ie=z(71230),Fe=z(15746),Xe=z(66368),ze=z(71577),je=z(85725),se=z(71736),We=z(84279),Oe=z(67294);const Re=(0,te.forwardRef)(({callback:Ye,showSaveButton:ce,value:De=""},de)=>{const a=(0,te.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=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Oe.createElement(ie.Z,{className:se.Z.lists,gutter:[10,10]},y.map((re,ae)=>Oe.createElement(Fe.Z,{flex:"110px",className:se.Z.item},Oe.createElement("div",null,Oe.createElement(je.Z,{value:`$$${re.value}$$`}),re.name),Oe.createElement("div",{className:se.Z.children},re.children.map((ne,pe)=>Oe.createElement("div",{key:pe},Oe.createElement("h1",null,ne.name),Oe.createElement(ie.Z,{gutter:[10,10]},ne.data.map((Ce,Ae)=>Oe.createElement(Fe.Z,{key:Ae,onClick:()=>E(Ce),className:se.Z.diamond},Oe.createElement(je.Z,{value:"`$$"+Ce.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Oe.createElement(ie.Z,{className:se.Z.lists,gutter:[10,10]},b.map((re,ae)=>Oe.createElement(Fe.Z,{flex:"110px",className:se.Z.item},Oe.createElement("div",null,Oe.createElement(je.Z,{value:"`$$"+re.value+"$$`"}),re.name),Oe.createElement("div",{className:se.Z.children},re.children.map((ne,pe)=>Oe.createElement("div",{key:pe},ne.name&&Oe.createElement("h1",null,ne.name),Oe.createElement(ie.Z,{gutter:[10,10]},ne.data.map((Ce,Ae)=>Oe.createElement(Fe.Z,{key:Ae,onClick:()=>E(Ce),className:se.Z.diamond},Oe.createElement(je.Z,{value:"`$$"+Ce.value+"$$`"}))))))))))}],ee=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var ae=re.innerText;return Ye&&Ye(ae),ae};return(0,te.useImperativeHandle)(de,()=>({getData:ee})),Oe.createElement("div",{className:se.Z.mathWrap},Oe.createElement(Xe.default,{defaultActiveKey:"1",items:x}),Oe.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},De||""),ce&&Oe.createElement("div",{className:se.Z.button},Oe.createElement(ze.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ht.Z=Re},39717:function(Zt,Ht,z){"use strict";z.d(Ht,{Q:function(){return je}});var te=z(67294),ie=z(42563),Fe=z(78045),Xe=z(31795),ze=z(67294),je=(We=>(We[We.Number=1]="Number",We[We.Percent=2]="Percent",We))(je||{});const se=({value:We,onChange:Oe,disabled:Re,hidePercentOption:Ye=!1,percentType:ce="select"})=>{const De=(0,te.useMemo)(()=>Ye?1:2,[Ye]),[de,a]=(0,te.useState)(De);console.log(de);const y=E=>We.type===1?`${E}\u5206`:`${E}%`,b=(0,te.useCallback)(E=>{if(de===1){const x=E.replace("\u5206","");return isNaN(parseInt(x,10))?0:x}else return E.replace("%","")},[de]);return(0,te.useEffect)(()=>{a(We.type)},[We]),ze.createElement("div",{style:{display:"flex",alignItems:"center"}},ce=="select"&&ze.createElement(ie.default,{size:"large",onChange:E=>{a(E),Oe({type:E,inputValue:E===1?5:20})},value:de||De,style:{width:100},options:Ye?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Re}),ce=="radio"&&ze.createElement(Fe.ZP.Group,{size:"large",onChange:E=>{const x=E.target.value;a(x),Oe({type:x,inputValue:x===1?5:20})},value:de||De,disabled:Re},!Ye&&ze.createElement(Fe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),ze.createElement(Fe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),ce=="radio"&&ze.createElement("div",{style:{marginRight:"10px",color:"#000000"}},We.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),ze.createElement(Xe.Z,{size:"large",disabled:Re,value:We.inputValue,style:{width:"120px"},parser:b,addonAfter:We.type===1?"\u5206":"%",max:de===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:E=>{Oe({type:de,inputValue:E})}}),ce=="radio"&&We.type==2&&ze.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Ht.Z=se},96332:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return We}});var te=z(67294),ie={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"},Fe=z(14446),Xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",je=(Oe,Re,Ye)=>new Promise((ce,De)=>{var de=b=>{try{y(Ye.next(b))}catch(E){De(E)}},a=b=>{try{y(Ye.throw(b))}catch(E){De(E)}},y=b=>b.done?ce(b.value):Promise.resolve(b.value).then(de,a);y((Ye=Ye.apply(Oe,Re)).next())}),We=({type:Oe,resdata:Re,onok:Ye,oktext:ce,okloading:De})=>{const[de,a]=(0,te.useState)(!1),{can_copy_list:y,can_copy_num:b,challenge_type:E,course_data_list:x,no_copy_list:ee,no_copy_num:re,no_use_list:ae,no_use_num:ne,repeat_shixun_num:pe,student_count:Ce,total_num:Ae,use_num:Le}=Re;let Se=b>0||Oe==="exercise";(0,te.useEffect)(()=>{(Re==null?void 0:Re.student_count)>0&&a(!0)},[Re]),console.log("---11",De),(0,te.useEffect)(()=>{De||a(!1)},[De]);const we=()=>{if(Oe==="exercise"&&E===1)return te.createElement(te.Fragment,null,"\u8BFE\u5802\u5185\u6709",te.createElement("span",{className:ie.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",te.createElement("span",{className:ie.orangeColor},Le),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",te.createElement("span",{className:ie.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(Oe==="exercise"&&E===2)return te.createElement(te.Fragment,null,"\u8BFE\u5802\u5185\u6709",te.createElement("span",{className:ie.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",te.createElement("span",{className:ie.orangeColor},Le),"\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",te.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="shixun"&&E===1)return te.createElement(te.Fragment,null,"\u8BFE\u5802\u5185\u6709",te.createElement("span",{className:ie.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",te.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="shixun"&&E===2)return te.createElement(te.Fragment,null,"\u8BFE\u5802\u5185\u6709",te.createElement("span",{className:ie.orangeColor},Ce),"\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",te.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="subject"&&E===1)return te.createElement(te.Fragment,null,"\u8BFE\u5802\u5185\u6709",te.createElement("span",{className:ie.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",te.createElement("span",{className:ie.orangeColor},Le),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",te.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="subject"&&E===2)return te.createElement(te.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",te.createElement("span",{className:ie.orangeColor},Ce)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",te.createElement("span",{className:ie.orangeColor},Le)," \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",te.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="exercisepush")return te.createElement(te.Fragment,null,"\u8BFE\u5802\u5185\u6709",te.createElement("span",{className:ie.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",te.createElement("span",{className:ie.orangeColor},Le),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",te.createElement("span",{className:ie.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(Oe==="shixunpush"&&E===1)return te.createElement(te.Fragment,null,"\u8BFE\u5802\u5185\u6709",te.createElement("span",{className:ie.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",te.createElement("span",{className:ie.orangeColor},Le),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",te.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="shixunpush"&&E===2)return te.createElement(te.Fragment,null,"\u8BFE\u5802\u5185\u6709",te.createElement("span",{className:ie.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",te.createElement("span",{className:ie.orangeColor},Le),"\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",te.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Qe=()=>{if(Oe==="exercise"||Oe==="subject"||Oe==="exercisepush"||Oe==="shixunpush")return te.createElement("div",{style:{marginTop:20}},re>0&&te.createElement("div",null,te.createElement("span",{className:ie.flex},te.createElement("img",{src:ze,style:{width:14}}),te.createElement("span",{className:ie.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),te.createElement("div",{className:ie.statusbody},Oe==="exercise"&&te.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",te.createElement("span",{className:ie.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"),(Oe==="subject"||Oe==="exercisepush")&&te.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se&&te.createElement("span",{className:ie.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"),Oe==="shixunpush"&&te.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se&&te.createElement("span",{className:ie.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"),te.createElement("div",null,ee==null?void 0:ee.map((Be,Ge)=>te.createElement("a",{href:`/shixuns/${Be.identifier}/challenges`,target:"_blank"},"\u300A",Be==null?void 0:Be.name,"\u300B",Ge+1!==re&&"\u3001"))))),b>0&&te.createElement("div",{style:{marginTop:20}},te.createElement("span",{className:ie.flex},te.createElement("img",{src:Xe,style:{width:14}}),te.createElement("span",{className:ie.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),te.createElement("div",{className:ie.statusbody},Oe==="exercise"&&te.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"),(Oe==="subject"||Oe==="exercisepush")&&te.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"),Oe==="shixunpush"&&te.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"),te.createElement("div",null,y==null?void 0:y.map((Be,Ge)=>te.createElement("a",{href:`/shixuns/${Be.identifier}/challenges`,target:"_blank"},"\u300A",Be==null?void 0:Be.name,"\u300B",Ge+1!==b&&"\u3001"))))));if(Oe==="shixun")return te.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 te.createElement(Fe.default,{open:de,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Se&&"none"}},zIndex:1003,confirmLoading:De,okText:Se?ce:"\u6211\u77E5\u9053\u4E86",onOk:()=>je(void 0,null,function*(){Se?yield Ye([...y,...ae]):a(!1)})},te.createElement("div",{style:{maxHeight:600,overflow:"auto"}},we(),Qe()))}},57444:function(Zt,Ht,z){"use strict";z.d(Ht,{h:function(){return re}});var te=z(67294),ie=z(42563),Fe=z(22150),Xe=z(71577),ze=z(4631),je=z.n(ze),se=z(71749),We=z(30483),Oe=Object.defineProperty,Re=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,a=(ae,ne,pe)=>ne in ae?Oe(ae,ne,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ae[ne]=pe,y=(ae,ne)=>{for(var pe in ne||(ne={}))De.call(ne,pe)&&a(ae,pe,ne[pe]);if(ce)for(var pe of ce(ne))de.call(ne,pe)&&a(ae,pe,ne[pe]);return ae},b=(ae,ne)=>Re(ae,Ye(ne));const E=ie.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"]};Ht.Z=({callback:ae,onCancel:ne})=>{const[pe,Ce]=(0,te.useState)("python");function Ae(Se){Ce(ee[Se][1])}function Le(Se){ae(Se)}return te.createElement(Fe.default,b(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Le,style:{width:500}}),te.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},te.createElement(ie.default,{getPopupContainer:Se=>Se.parentNode,onChange:Ae},Object.keys(ee).map(Se=>te.createElement(E,{key:Se,value:Se},ee[Se][0])))),te.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},te.createElement(re,{mode:pe})),te.createElement("div",{className:"flex-container flex-end"},te.createElement(Xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),te.createElement(Xe.ZP,{type:"ghost",onClick:ne},"\u53D6\u6D88")))};function re({value:ae,onChange:ne,mode:pe,options:Ce={}}){const Ae=(0,te.useRef)(),[Le,Se]=(0,te.useState)();return(0,te.useEffect)(()=>{if(Le){let we=function(Qe){const Be=Qe.getValue();ne&&ne(Be)};return Le.on("change",we),()=>{Le.off("change",we)}}},[Le,ne]),(0,te.useEffect)(()=>{Le&&Le.setOption("mode",pe)},[Le,pe]),(0,te.useEffect)(()=>{Le&&(ae!==Le.getValue()||ae==="")&&setTimeout(()=>{Le.setValue(ae||"")},300)},[Le,ae]),(0,te.useEffect)(()=>{if(Ae.current&&!Le){const we=je().fromTextArea(Ae.current,y({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ce));Se(we)}},[Ae.current,Le]),te.createElement("div",{className:"my-codemirror-container"},te.createElement("textarea",{ref:Ae}))}},35567:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return Fn}});var te=z(67294),ie=z(4631),Fe=z.n(ie),Xe=z(91033),ze=z(71749),je=z(57341),se=z(82801),We=z(88386),Oe=z(49047),Re=z(80785),Ye=z(85725),ce=({value:wt="",className:kt,showTextOnly:Bt,showLines:gn,style:Hn={}})=>{const oa=(0,te.useMemo)(()=>"",[wt]);return te.createElement(te.Fragment,null,te.createElement("div",{dangerouslySetInnerHTML:{__html:oa}}))},De=z(67294),de=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(wt,kt,Bt)=>kt in wt?de(wt,kt,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):wt[kt]=Bt,re=(wt,kt)=>{for(var Bt in kt||(kt={}))E.call(kt,Bt)&&ee(wt,Bt,kt[Bt]);if(b)for(var Bt of b(kt))x.call(kt,Bt)&&ee(wt,Bt,kt[Bt]);return wt},ae=(wt,kt)=>a(wt,y(kt));let ne=[{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 pe({onActionCallback:wt,title:kt,icon:Bt,actionName:gn,className:Hn="",children:oa}){function Cr(){wt(gn)}return De.createElement("a",{title:kt,className:Hn,onClick:Cr},De.createElement("i",{className:`${Bt}`}),oa)}var Ce=({watch:wt,showNullButton:kt,showNullProgramButton:Bt,onActionCallback:gn,fullScreen:Hn,insertTemp:oa,hidetoolBar:Cr,extraUse:_t})=>{const Fa=[...ne,{title:`${wt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${wt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return De.createElement("ul",{className:"markdown-toolbar-container"},!Cr&&Fa.map((pr,vi)=>De.createElement("li",{key:vi},pr.actionName?De.createElement(pe,ae(re({},pr),{onActionCallback:gn})):De.createElement("span",{className:"v-line"}))),kt?De.createElement("li",null,De.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:gn},De.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Bt?De.createElement(De.Fragment,null,De.createElement("li",null,De.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:gn},De.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),De.createElement("li",null,De.createElement(pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:gn},De.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,oa&&De.createElement("li",null,De.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${oa}`,onActionCallback:gn},De.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),_t&&De.createElement("li",null,_t),De.createElement("li",{className:"btn-full-screen"},De.createElement(pe,{icon:`${Hn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Hn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:gn})))},Ae=z(76621),Le=z(22150),Se=z(69677),we=z(71577),Qe=Object.defineProperty,Be=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Dt=(wt,kt,Bt)=>kt in wt?Qe(wt,kt,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):wt[kt]=Bt,Nt=(wt,kt)=>{for(var Bt in kt||(kt={}))it.call(kt,Bt)&&Dt(wt,Bt,kt[Bt]);if(Ze)for(var Bt of Ze(kt))Je.call(kt,Bt)&&Dt(wt,Bt,kt[Bt]);return wt},St=(wt,kt)=>Be(wt,Ge(kt));const Lt={labelCol:{span:4},wrapperCol:{span:20}};var $t=({callback:wt,onCancel:kt})=>{function Bt(gn){wt(gn)}return te.createElement(Le.default,St(Nt({},Lt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Bt,style:{width:500}}),te.createElement(Le.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},te.createElement(Se.default,null)),te.createElement(Le.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},te.createElement(Se.default,null)),te.createElement("div",{className:"flex-container flex-end"},te.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),te.createElement(we.ZP,{type:"ghost",onClick:kt},"\u53D6\u6D88")))},un=z(57444),yt=z(70859),It=z(14446),Kt=z(71230),An=z(63205),Pt=z(67294),Qt=({callback:wt,onCancel:kt})=>{const Bt=document.createElement("canvas"),gn=Bt.getContext("2d");Bt.width=1e3,Bt.height=800,gn.fillStyle="#ffffff",gn.fillRect(0,0,Bt.width,Bt.height);const Hn=Bt.toDataURL("image/png");return Pt.createElement(It.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Pt.createElement(Kt.Z,{style:{height:"100vh"}},Pt.createElement(An.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Hn,visible:!0,title:String(Date.now())},onOk:oa=>{wt({src:oa.url})},onClose:kt})))},ke=z(23495);function zn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(zn,go.CommandHandler),zn.prototype.canAlignSelection=function(){var wt=this.diagram;return!(wt===null||wt.isReadOnly||wt.isModelReadOnly||wt.selection.count<2)},zn.prototype.alignLeft=function(){var wt=this.diagram;wt.startTransaction("aligning left");var kt=1/0;wt.selection.each(function(Bt){Bt instanceof go.Link||(kt=Math.min(Bt.position.x,kt))}),wt.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(kt,Bt.position.y))}),wt.commitTransaction("aligning left")},zn.prototype.alignRight=function(){var wt=this.diagram;wt.startTransaction("aligning right");var kt=-1/0;wt.selection.each(function(Bt){if(!(Bt instanceof go.Link)){var gn=Bt.actualBounds.x+Bt.actualBounds.width;kt=Math.max(gn,kt)}}),wt.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(kt-Bt.actualBounds.width,Bt.position.y))}),wt.commitTransaction("aligning right")},zn.prototype.alignTop=function(){var wt=this.diagram;wt.startTransaction("alignTop");var kt=1/0;wt.selection.each(function(Bt){Bt instanceof go.Link||(kt=Math.min(Bt.position.y,kt))}),wt.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(Bt.position.x,kt))}),wt.commitTransaction("alignTop")},zn.prototype.alignBottom=function(){var wt=this.diagram;wt.startTransaction("aligning bottom");var kt=-1/0;wt.selection.each(function(Bt){if(!(Bt instanceof go.Link)){var gn=Bt.actualBounds.y+Bt.actualBounds.height;kt=Math.max(gn,kt)}}),wt.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(Bt.actualBounds.x,kt-Bt.actualBounds.height))}),wt.commitTransaction("aligning bottom")},zn.prototype.alignCenterX=function(){var wt=this.diagram,kt=wt.selection.first();if(kt){wt.startTransaction("aligning Center X");var Bt=kt.actualBounds.x+kt.actualBounds.width/2;wt.selection.each(function(gn){gn instanceof go.Link||gn.move(new go.Point(Bt-gn.actualBounds.width/2,gn.actualBounds.y))}),wt.commitTransaction("aligning Center X")}},zn.prototype.alignCenterY=function(){var wt=this.diagram,kt=wt.selection.first();if(kt){wt.startTransaction("aligning Center Y");var Bt=kt.actualBounds.y+kt.actualBounds.height/2;wt.selection.each(function(gn){gn instanceof go.Link||gn.move(new go.Point(gn.actualBounds.x,Bt-gn.actualBounds.height/2))}),wt.commitTransaction("aligning Center Y")}},zn.prototype.alignColumn=function(wt){var kt=this.diagram;kt.startTransaction("align Column"),wt===void 0&&(wt=0),wt=parseFloat(wt);var Bt=new Array;kt.selection.each(function(_t){_t instanceof go.Link||Bt.push(_t)});for(var gn=0;gn0){for(var _t=oa.elt(Cr-1);_t!==null&&_t.isTreeExpanded&&!_t.isTreeLeaf;){var Fa=this._sortTreeChildrenByY(_t);_t=Fa.last()}_t!==null&&wt.select(_t)}else wt.select(Hn)}}else if(Bt.key==="Down")if(kt.isTreeExpanded&&!kt.isTreeLeaf){var gn=this._sortTreeChildrenByY(kt).first();gn!==null&&wt.select(gn)}else for(;kt!==null;){var Hn=kt.findTreeParentNode();if(Hn===null)break;var oa=this._sortTreeChildrenByY(Hn),Cr=oa.indexOf(kt);if(Croa.y?1:Hn.xoa.x?1:0}),kt},zn.prototype.copyToClipboard=function(wt){go.CommandHandler.prototype.copyToClipboard.call(this,wt),this._lastPasteOffset.set(this.pasteOffset)},zn.prototype.pasteFromClipboard=function(){var wt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(wt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),wt},Object.defineProperty(zn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(wt){if(wt!=="move"&&wt!=="select"&&wt!=="scroll"&&wt!=="tree"&&wt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+wt);this._arrowKeyBehavior=wt}}),Object.defineProperty(zn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(wt){if(!(wt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+wt);this._pasteOffset.set(wt)}});var an=zn,ya=z(18023),da=z(15746),Dn=z(33170),ht={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},nt=z(67294),tn=(wt,kt,Bt)=>new Promise((gn,Hn)=>{var oa=Fa=>{try{_t(Bt.next(Fa))}catch(pr){Hn(pr)}},Cr=Fa=>{try{_t(Bt.throw(Fa))}catch(pr){Hn(pr)}},_t=Fa=>Fa.done?gn(Fa.value):Promise.resolve(Fa.value).then(oa,Cr);_t((Bt=Bt.apply(wt,kt)).next())});function vn({onCancel:wt,callback:kt}){let Bt=(0,te.useRef)(),gn=(0,te.useRef)(),Hn=(0,te.useRef)(),oa=(0,te.useRef)(!1);const Cr=(0,te.useRef)(!1),[_t,Fa]=(0,te.useState)(0);function pr(){const na=ke.bx.make,wo={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"};Bt.current=new ke.S0(gn.current,{padding:20,grid:na(ke.s_,"Grid",na(ke.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),na(ke.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ir=>{var $r=ir.diagram.commandHandler.addTopLevelParts(ir.diagram.selection,!0);$r||ir.diagram.currentTool.doCancel()},commandHandler:na(an),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ir=>{var $r=ir.subject;$r.location=$r.location.copy().snapToGridPoint(ir.diagram.grid.gridOrigin,ir.diagram.grid.gridCellSize),setTimeout(()=>{ir.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ir=>{var $r=ir.subject;setTimeout(()=>{ir.diagram.commandHandler.editTextBlock()})},LinkRelinked:ir=>{var $r=ir.parameter.part;$r.invalidateConnectedLinks();var Ho=ir.subject;ir.diagram.toolManager.linkingTool.isForwards?Ho.toNode.invalidateConnectedLinks():Ho.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Bt.current.nodeTemplate=na(ke.NB,"Auto",{locationSpot:ke.z6.Center,locationObjectName:"SHAPE",desiredSize:new ke.$u(120,60),minSize:new ke.$u(40,40),resizable:!0,resizeCellSize:new ke.$u(10,10),rotatable:!0},new ke.KX("location","loc",ke.E9.parse).makeTwoWay(ke.E9.stringify),new ke.KX("desiredSize","size",ke.$u.parse).makeTwoWay(ke.$u.stringify),na(ke.bn,{name:"SHAPE",fill:wo.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ke.z6.AllSides,toSpot:ke.z6.AllSides},new ke.KX("figure"),new ke.KX("fill"),new ke.KX("stroke","borderColor"),new ke.KX("strokeWidth","thickness"),new ke.KX("strokeDashArray","dash")),na(ke.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),na(ke.al,{margin:1,textAlign:"center",overflow:ke.al.OverflowEllipsis,editable:!0},new ke.KX("text").makeTwoWay(),new ke.KX("stroke","color"))),Bt.current.nodeTemplate.toolTip=na("ToolTip",na(ke.s_,"Vertical",{maxSize:new ke.$u(200,NaN)},na(ke.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ke.KX("text")),na(ke.al,{font:"10pt sans-serif",textAlign:"center"},new ke.KX("text","details"))));function Tr(ir,$r){var Ho=(Yr,Ji)=>{Yr.handled=!0,Yr.diagram.model.commit(Nr=>{var Wo=Ji.part.adornedPart,oo=new ke.E9().setRectSpot(Wo.actualBounds,ir);oo.subtract(Wo.location),oo.scale(2,2),oo.x+=Math.sign(oo.x)*130,oo.y+=Math.sign(oo.y)*130,oo.add(Wo.location),oo.snapToGridPoint(Yr.diagram.grid.gridOrigin,Yr.diagram.grid.gridCellSize);var ci=Nr.copyNodeData(Wo.data);Nr.setGroupKeyForNodeData(ci,Nr.getGroupKeyForNodeData(Wo.data)),Nr.addNodeData(ci);var Ti={from:Wo.key,to:Nr.getKeyForNodeData(ci)};Nr.addLinkData(Ti);var jo=Yr.diagram.findNodeForData(ci);jo.location=oo,Yr.diagram.select(jo),setTimeout(()=>{Yr.diagram.commandHandler.editTextBlock()},20)})};return na(ke.bn,{figure:$r,alignment:ir,alignmentFocus:ir.opposite(),width:ir.equals(ke.z6.Top)||ir.equals(ke.z6.Bottom)?25:18,height:ir.equals(ke.z6.Top)||ir.equals(ke.z6.Bottom)?18:25,fill:"orange",stroke:wo.white,strokeWidth:4,mouseEnter:(Yr,Ji)=>Ji.fill="dodgerblue",mouseLeave:(Yr,Ji)=>Ji.fill="orange",isActionable:!0,click:Ho,contextClick:Ho})}function ho(ir){return na(ke.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:($r,Ho)=>Ho.fill="dodgerblue",mouseLeave:($r,Ho)=>Ho.fill="orange",click:($r,Ho)=>{$r.diagram.commandHandler.showContextMenu(Ho.part.adornedPart)}},ir||{})}Bt.current.nodeTemplate.selectionAdornmentTemplate=na(ke.uz,"Spot",na(ke.Vm,{padding:10}),Tr(ke.z6.Top,"TriangleUp"),Tr(ke.z6.Left,"TriangleLeft"),Tr(ke.z6.Right,"TriangleRight"),Tr(ke.z6.Bottom,"TriangleDown"),ho({alignment:new ke.z6(.75,0)}));function Ao(ir,$r){return(Ho,Yr)=>{Ho.handled=!0,Ho.diagram.model.commit(Ji=>{Ji.set(Yr.part.adornedPart.data,ir,$r)})}}function _o(ir,$r){return $r||($r="color"),na(ke.bn,{width:16,height:16,stroke:"lightgray",fill:ir,margin:1,background:"transparent",mouseEnter:(Ho,Yr)=>Yr.stroke="dodgerblue",mouseLeave:(Ho,Yr)=>Yr.stroke="lightgray",click:Ao($r,ir),contextClick:Ao($r,ir)})}function ji(){return[na("ContextMenuButton",na(ke.s_,"Horizontal",_o(wo.white,"fill"),_o(wo.beige,"fill"),_o(wo.extralightblue,"fill"),_o(wo.extralightred,"fill"))),na("ContextMenuButton",na(ke.s_,"Horizontal",_o(wo.lightgray,"fill"),_o(wo.lightgreen,"fill"),_o(wo.lightblue,"fill"),_o(wo.lightred,"fill")))]}function Eo(){return[na("ContextMenuButton",na(ke.s_,"Horizontal",_o(wo.black),_o(wo.green),_o(wo.blue),_o(wo.red))),na("ContextMenuButton",na(ke.s_,"Horizontal",_o(wo.white),_o(wo.magenta),_o(wo.purple),_o(wo.orange)))]}function Wi(ir,$r){return $r||($r="thickness"),na(ke.bn,"LineH",{width:16,height:16,strokeWidth:ir,margin:1,background:"transparent",mouseEnter:(Ho,Yr)=>Yr.background="dodgerblue",mouseLeave:(Ho,Yr)=>Yr.background="transparent",click:Ao($r,ir),contextClick:Ao($r,ir)})}function dl(ir,$r){return $r||($r="dash"),na(ke.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ir,margin:1,background:"transparent",mouseEnter:(Ho,Yr)=>Yr.background="dodgerblue",mouseLeave:(Ho,Yr)=>Yr.background="transparent",click:Ao($r,ir),contextClick:Ao($r,ir)})}function ml(){return[na("ContextMenuButton",na(ke.s_,"Horizontal",Wi(1),Wi(2),Wi(3),Wi(4))),na("ContextMenuButton",na(ke.s_,"Horizontal",dl(null),dl([2,4]),dl([4,4])))]}function tl(ir,$r){return $r||($r="figure"),na(ke.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ir,margin:1,background:"transparent",mouseEnter:(Ho,Yr)=>Yr.fill="dodgerblue",mouseLeave:(Ho,Yr)=>Yr.fill="lightgray",click:Ao($r,ir),contextClick:Ao($r,ir)})}Bt.current.nodeTemplate.contextMenu=na("ContextMenu",na("ContextMenuButton",na(ke.s_,"Horizontal",tl("Rectangle"),tl("RoundedRectangle"),tl("Ellipse"),tl("Diamond"))),na("ContextMenuButton",na(ke.s_,"Horizontal",tl("Parallelogram2"),tl("ManualOperation"),tl("Procedure"),tl("Cylinder1"))),na("ContextMenuButton",na(ke.s_,"Horizontal",tl("Terminator"),tl("CreateRequest"),tl("Document"),tl("TriangleDown"))),ji(),Eo(),ml()),Bt.current.groupTemplate=na(ke.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ke.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ir,$r)=>{var Ho=$r.addMembers($r.diagram.selection,!0);Ho||$r.diagram.currentTool.doCancel()},avoidable:!1},new ke.KX("location","loc",ke.E9.parse).makeTwoWay(ke.E9.stringify),na(ke.s_,"Auto",{name:"BODY"},na(ke.bn,{parameter1:10,fill:wo.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ke.z6.AllSides,toSpot:ke.z6.AllSides},new ke.KX("fill"),new ke.KX("stroke","color"),new ke.KX("strokeWidth","thickness"),new ke.KX("strokeDashArray","dash")),na(ke.Vm,{background:"transparent",margin:20})),na(ke.al,{alignment:ke.z6.Top,alignmentFocus:ke.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ke.KX("text"),new ke.KX("stroke","color"))),Bt.current.groupTemplate.selectionAdornmentTemplate=na(ke.uz,"Spot",na(ke.s_,"Auto",na(ke.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),na(ke.Vm,{margin:1.5})),ho({alignment:ke.z6.TopRight,alignmentFocus:ke.z6.BottomRight})),Bt.current.groupTemplate.contextMenu=na("ContextMenu",ji(),Eo(),ml()),Bt.current.linkTemplate=na(ke.rU,{layerName:"Foreground",routing:ke.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ke.KX("fromSpot","fromSpot",ke.z6.parse),new ke.KX("toSpot","toSpot",ke.z6.parse),new ke.KX("fromShortLength","dir",ir=>ir>=1?10:0),new ke.KX("toShortLength","dir",ir=>ir>=1?10:0),new ke.KX("points").makeTwoWay(),na(ke.bn,{strokeWidth:2},new ke.KX("stroke","color"),new ke.KX("strokeWidth","thickness"),new ke.KX("strokeDashArray","dash")),na(ke.bn,{segmentIndex:0,segmentOffset:new ke.E9(15,0),segmentOrientation:ke.rU.OrientAlong,alignmentFocus:ke.z6.Right,figure:"circle",width:10,strokeWidth:0},new ke.KX("fill","color"),new ke.KX("visible","dir",ir=>ir===1)),na(ke.bn,{segmentIndex:-1,segmentOffset:new ke.E9(-10,6),segmentOrientation:ke.rU.OrientPlus90,alignmentFocus:ke.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ke.KX("fill","color"),new ke.KX("visible","dir",ir=>ir>=1),new ke.KX("width","thickness",ir=>7+3*ir),new ke.KX("height","thickness",ir=>7+3*ir),new ke.KX("segmentOffset","thickness",ir=>new ke.E9(-15,4+1.5*ir))),na(ke.bn,{segmentIndex:0,segmentOffset:new ke.E9(15,-6),segmentOrientation:ke.rU.OrientMinus90,alignmentFocus:ke.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ke.KX("fill","color"),new ke.KX("visible","dir",ir=>ir===2),new ke.KX("width","thickness",ir=>7+3*ir),new ke.KX("height","thickness",ir=>7+3*ir),new ke.KX("segmentOffset","thickness",ir=>new ke.E9(-15,4+1.5*ir))),na(ke.al,{alignmentFocus:new ke.z6(0,1,-4,0),editable:!0},new ke.KX("text").makeTwoWay(),new ke.KX("stroke","color"))),Bt.current.linkTemplate.selectionAdornmentTemplate=na(ke.uz,na(ke.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:nl(2)},new ke.KX("pathPattern","thickness",nl)),ho({alignmentFocus:new ke.z6(0,0,-6,-4)}));function nl(ir){return na(ke.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ir+4).toString()+" H3"})}function li(ir){var $r="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ir===0?$r="M0 0 M16 16 M0 8 L16 8":ir===2&&($r="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),na(ke.bn,{geometryString:$r,margin:2,background:"transparent",mouseEnter:(Ho,Yr)=>Yr.background="dodgerblue",mouseLeave:(Ho,Yr)=>Yr.background="transparent",click:Ao("dir",ir),contextClick:Ao("dir",ir)})}function bl(ir){var $r=(Ho,Yr)=>{Ho.handled=!0,Ho.diagram.model.commit(Ji=>{var Nr=Yr.part.adornedPart;Ji.set(Nr.data,ir?"toSpot":"fromSpot",ke.z6.stringify(ke.z6.AllSides)),(ir?Nr.toNode:Nr.fromNode).invalidateConnectedLinks()})};return na(ke.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ho,Yr)=>Yr.background="dodgerblue",mouseLeave:(Ho,Yr)=>Yr.background="transparent",click:$r,contextClick:$r})}function ba(ir,$r){var Ho=0,Yr=ke.z6.RightSide;ir.equals(ke.z6.Top)?(Ho=270,Yr=ke.z6.TopSide):ir.equals(ke.z6.Left)?(Ho=180,Yr=ke.z6.LeftSide):ir.equals(ke.z6.Bottom)&&(Ho=90,Yr=ke.z6.BottomSide),$r||(Ho-=180);var Ji=(Nr,Wo)=>{Nr.handled=!0,Nr.diagram.model.commit(oo=>{var ci=Wo.part.adornedPart;oo.set(ci.data,$r?"toSpot":"fromSpot",ke.z6.stringify(Yr)),($r?ci.toNode:ci.fromNode).invalidateConnectedLinks()})};return na(ke.bn,{alignment:ir,alignmentFocus:ir.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ho,background:"transparent",mouseEnter:(Nr,Wo)=>Wo.background="dodgerblue",mouseLeave:(Nr,Wo)=>Wo.background="transparent",click:Ji,contextClick:Ji})}Bt.current.linkTemplate.contextMenu=na("ContextMenu",Eo(),ml(),na("ContextMenuButton",na(ke.s_,"Horizontal",li(0),li(1),li(2))),na("ContextMenuButton",na(ke.s_,"Horizontal",na(ke.s_,"Spot",bl(!1),ba(ke.z6.Top,!1),ba(ke.z6.Left,!1),ba(ke.z6.Right,!1),ba(ke.z6.Bottom,!1)),na(ke.s_,"Spot",{margin:new ke.Zt(0,0,0,2)},bl(!0),ba(ke.z6.Top,!0),ba(ke.z6.Left,!0),ba(ke.z6.Right,!0),ba(ke.z6.Bottom,!0)))));const wu=`{ "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 Dl=["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 hi(ir){return console.log("shapeName:",ir),Dl.indexOf(ir)>=0}var Ql=new ke.YI(Hn.current,{maxSelectionCount:1,linkTemplate:na(ke.rU,{locationSpot:ke.z6.Center,selectionAdornmentTemplate:na(ke.uz,"Link",{locationSpot:ke.z6.Center},na(ke.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),na(ke.bn,{toArrow:"Standard",stroke:null}))},{routing:ke.rU.AvoidsNodes,curve:ke.rU.JumpOver,corner:5,toShortLength:4},new ke.KX("points"),na(ke.bn,{isPanelMain:!0,strokeWidth:2}),na(ke.bn,{toArrow:"Standard",stroke:null})),model:new ke.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ke.bn.getFigureGenerators().toArray().map(ir=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ir.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Bt.current.addDiagramListener("TextEdited",function(ir){var $r;const Ho=ir.subject.part;var Yr=($r=document.activeElement)==null?void 0:$r.value;typeof Yr=="string"&&Yr.trim()===""&&Bt.current.model.commit(function(Ji){Ji.set(Ho.data,"text","\u672A\u547D\u540D"),Bt.current.commandHandler.stopCommand()},"increment")}),Ql.nodeTemplate=na(ke.NB,"Auto",{locationSpot:ke.z6.Center},new ke.KX("location","location",ke.E9.parse).makeTwoWay(ke.E9.stringify),na(ke.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 ke.KX("stroke").makeTwoWay(),new ke.KX("fill").makeTwoWay(),new ke.KX("figure")),na(ke.al,{margin:new ke.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ke.$u(16,16),maxSize:new ke.$u(10,NaN),textAlign:"center",editable:!0},new ke.KX("key").makeTwoWay())),setTimeout(()=>{Bt.current.grid=na(ke.s_,"Grid",na(ke.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),na(ke.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Bt.current.grid.visible=!0,Bt.current.grid.gridCellStroke="darkgray",Bt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Bt.current,Bt.current}const vi=()=>tn(this,null,function*(){var na=Bt.current.makeImage();const wo=yield(0,Dn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:na.src}});kt({src:wo.url})});return(0,te.useEffect)(()=>(setTimeout(()=>{pr()},500),Fa(_t+1),()=>{Bt.current=null}),[]),nt.createElement("div",{ref:Cr,className:oa.current?`${ht.maxH60} body-overflow-initial`:"body-overflow-initial"},nt.createElement(It.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!_t,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:nt.createElement(Kt.Z,null,nt.createElement(da.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),nt.createElement(da.Z,{onClick:()=>{var na,wo,Tr=Bt.current.selection.first();if(oa.current=!oa.current,document.activeElement&&Tr){let ho=(wo=(na=document.activeElement)==null?void 0:na.value)==null?void 0:wo.trim();typeof ho=="string"&&Bt.current.model.commit(function(Ao){Ao.set(Tr.data,"text",ho||"\u672A\u547D\u540D"),Bt.current.commandHandler.stopCommand()},"increment")}Fa(_t+1)}},nt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:wt},nt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ht.flowChartWrp},nt.createElement("div",{style:{display:"flex",height:"100%"}},nt.createElement("div",{style:{width:"300px",height:"100%"}},nt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),nt.createElement("div",{style:{height:"calc(100% - 50px)"},className:ht.myPaletteDiv,ref:Hn})),nt.createElement("div",{style:{flex:1,position:"relative"}},nt.createElement("div",{ref:gn,style:{height:"80vh"}}))),nt.createElement("div",{className:"tr"},nt.createElement(we.ZP,{size:"large",onClick:vi,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Vt=vn,La=z(78045),En=z(31795);const Ea=La.ZP.Group,Ia={margin:"0 8px"};var Ta=({callback:wt,onCancel:kt})=>{function Bt(gn){wt(gn)}return te.createElement(Le.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Bt},te.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},te.createElement("span",{style:Ia},"\u5355\u5143\u683C\u6570\uFF1A"),te.createElement("span",{style:Ia},"\u884C\u6570"),te.createElement(Le.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},te.createElement(En.Z,null)),te.createElement("span",{style:Ia},"\u5217\u6570"),te.createElement(Le.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},te.createElement(En.Z,null))),te.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},te.createElement("span",{style:Ia},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),te.createElement(Le.default.Item,{name:"align"},te.createElement(Ea,null,te.createElement(La.ZP,{value:"default"},te.createElement("i",{className:"fa fa-align-justify"})),te.createElement(La.ZP,{value:"left"},te.createElement("i",{className:"fa fa-align-left"})),te.createElement(La.ZP,{value:"center"},te.createElement("i",{className:"fa fa-align-center"})),te.createElement(La.ZP,{value:"right"},te.createElement("i",{className:"fa fa-align-right"}))))),te.createElement("div",{className:"flex-container flex-end"},te.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),te.createElement(we.ZP,{type:"ghost",onClick:kt},"\u53D6\u6D88")))},gt=z(47897),Rt=z(61016),tr=z.n(Rt),xt=(0,te.forwardRef)(({use3d:wt,width:kt,height:Bt,callback:gn,showSaveButton:Hn},oa)=>{const Cr=(0,te.useRef)(),_t=(0,te.useRef)(),[Fa,pr]=(0,te.useState)(!1),vi=(0,te.useRef)({id:Cr,appName:"graphing",width:kt||1e3,height:Bt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,te.useEffect)(()=>{_t.current=new(tr())(vi.current,!0),window.onload=function(){_t.current.inject("applet_container")}},[]);const na=()=>{var wo=window.ggbApplet.getPNGBase64(1,!0,72);return gn&&gn(wo),wo};return(0,te.useEffect)(()=>{vi.current.appName=Fa?"3D":"graphing",_t.current.inject("applet_container")},[Fa]),(0,te.useEffect)(()=>{pr(wt)},[wt]),(0,te.useImperativeHandle)(oa,()=>({getImgData:na})),te.createElement(te.Fragment,null,te.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Cr}),te.createElement(Kt.Z,{align:"middle"},te.createElement(da.Z,{flex:1},te.createElement(gt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Fa,onChange:wo=>pr(wo)})),te.createElement(da.Z,null,te.createElement(we.ZP,{size:"large",onClick:na,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),wn=z(36527),Za=z(25934),Nn=z(2453);const mr="link",Ka="upload-image",wa="add-flowchart",hr="draw-image",fn="add-flowchart",to="code-block",Qr="add-table",zo="------------",Mr={default:zo,left:`:${zo}`,center:`:${zo}:`,right:`${zo}:`};var Po=z(99914),ni=(wt,kt,Bt)=>new Promise((gn,Hn)=>{var oa=Fa=>{try{_t(Bt.next(Fa))}catch(pr){Hn(pr)}},Cr=Fa=>{try{_t(Bt.throw(Fa))}catch(pr){Hn(pr)}},_t=Fa=>Fa.done?gn(Fa.value):Promise.resolve(Fa.value).then(oa,Cr);_t((Bt=Bt.apply(wt,kt)).next())});function qo(){}let Pi=0;const ki=1e4,_i="\u2581",ta="@\u2581\u2581@",Ya="@\u2581@",Kr=` **\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`,Yn=["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(wt){return/^\d+$/.test(wt)?`${wt}px`:wt}const Ft=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Kn={[Ft+"-B"]:"bold",[Ft+"-I"]:"italic"},ua={[mr]:"\u6DFB\u52A0\u94FE\u63A5",[to]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ka]:"\u6DFB\u52A0\u56FE\u7247",[hr]:"\u6DFB\u52A0\u753B\u56FE",[wa]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Qr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Fn=({defaultValue:wt="",onChange:kt,width:Bt="100%",height:gn=400,miniToolbar:Hn=!1,isFocus:oa=!1,watch:Cr,insertTemp:_t,mode:Fa="markdown",id:pr="markdown-editor-id",showResizeBar:vi=!1,noStorage:na=!1,showNullButton:wo=!1,showNullProgramButton:Tr=!1,hidetoolBar:ho=!1,fullScreen:Ao=!1,onBlur:_o,onCMBeforeChange:ji,onFullScreen:Eo,className:Wi="",disablePaste:dl=!1,disabled:ml=!1,disabledFill:tl=!1,placeholder:nl="",values:li="",extraUse:bl})=>{const[ba,wu]=(0,te.useState)(null),[Dl,hi]=(0,te.useState)(wt),[Ql,ir]=(0,te.useState)(Cr),[$r,Ho]=(0,te.useState)(Ao),[Yr,Ji]=(0,te.useState)(""),[Nr,Wo]=(0,te.useState)(0),[oo,ci]=(0,te.useState)(gn),[Ti,jo]=(0,te.useState)(!1),Ei=(0,te.useRef)((0,Za.Z)()),Xl=(0,te.useRef)(!1),kl=(0,te.useRef)(),[eu,ou]=(0,te.useState)(0),[xu,Zi]=(0,te.useState)(0),Sl=(0,te.useRef)(),Jl=(0,te.useRef)(),Au=(0,te.useRef)(),Ju=(0,te.useRef)(),ve=()=>ni(void 0,null,function*(){var jn;const rn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ei.current}});(jn=rn==null?void 0:rn.attachments)!=null&&jn.length&&(console.log("cm:",ba,Sl),rn.attachments.map(Gn=>{Gn.content_type.indexOf("image")>-1?ba.replaceSelection(`![,](/api/attachments/${Gn.id}?type=${Gn.content_type})`):Gn.content_type.indexOf("video")>-1?ba.replaceSelection(``):Gn.content_type.indexOf("pdf")>-1?ba.replaceSelection(`${Gn.name}`):ba.replaceSelection(`[${Gn.name}](${ENV.API_SERVER}/api/attachments/${Gn.id}?type=${Gn.content_type})`)}))});(0,te.useEffect)(()=>{const jn=window.scrollY||window.pageYOffset;hi(li),ba==null||ba.setValue(li),window.scrollTo(0,jn)},[li]),(0,te.useEffect)(()=>{Eo==null||Eo($r)},[$r]),(0,te.useEffect)(()=>{if(Sl.current){let jn=function(Gn,Wn){var Ua;if(dl){Wn.preventDefault();return}const dr=Wn.clipboardData;if(dr){const Ir=dr.types.toString(),Fr=dr.items;if(Ir==="Files"||dr.types.indexOf("Files")>-1){if(Wn.preventDefault(),Fa=="stex")return;try{let Sr=Fr[1];((Ua=Fr[0])==null?void 0:Ua.kind)==="file"&&(Sr=Fr[0]);const Xr=Sr.getAsFile(),Co=Xr.name.split(".").pop();(0,yt.I)(Xr,Vr=>{var di,gi,Oi;Vr.id?((di=Xr==null?void 0:Xr.type)==null?void 0:di.indexOf("image"))>-1?rn.replaceSelection(``):((gi=Xr==null?void 0:Xr.type)==null?void 0:gi.indexOf("video"))>-1?rn.replaceSelection(``):((Oi=Xr==null?void 0:Xr.type)==null?void 0:Oi.indexOf("pdf"))>-1?rn.replaceSelection(`${Xr.name}`):Yn.includes(Co)?rn.replaceSelection(`${Xr.name}`):rn.replaceSelection(`[${Xr.name}](/api/attachments/${Vr.id}?type=${Vr.content_type})`):(Vr==null?void 0:Vr.status)===401&&(Nn.ZP.warning((Vr==null?void 0:Vr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Sr){Nn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const rn=Fe().fromTextArea(Sl.current,{mode:Fa,lineNumbers:!Hn,lineWrapping:!0,value:wt,autoCloseTags:!Tr,autoCloseBrackets:!0});return rn.on("keyup",function(Gn,Wn){Wn.keyCode===8&&(Gn.getValue()==""?rn.setOption("placeholder",nl):rn.setOption("placeholder",null))}),rn.on("keydown",function(Gn,Wn){if(Wn.keyCode===8){var Ua=Ve(Gn);Ua&&Wn.preventDefault()}}),oa&&rn.focus(),rn.on("paste",jn),rn.on("dragleave",function(Gn,Wn){Jl.current.classList.remove("mouse-hover-md")}),ml&&rn.on("beforeChange",function(Gn,Wn){(Wn.origin==="paste"||Wn.origin==="+input")&&Wn.cancel()}),wu(rn),()=>{rn.off("paste",jn)}}},[]);const Ee=(0,te.useCallback)(()=>{if(Jl.current)try{}catch(jn){console.log(jn,"---- to set md editor body height")}},[oo,Jl,$r]);(0,te.useEffect)(()=>{function jn(){let rn=new Xe.Z(Gn=>{for(let Wn of Gn)(Wn.target.offsetHeight>0||Wn.target.offsetWidth>0)&&(Ee(),ba.setSize("100%","100%"),ba.refresh())});return rn.observe(Sl.current.parentElement),rn}if(ba){const rn=jn();return()=>{var Gn,Wn;(Gn=Sl.current)!=null&&Gn.parentElement&&rn.unobserve((Wn=Sl.current)==null?void 0:Wn.parentElement)}}},[ba,Ee]),(0,te.useEffect)(()=>{if(ba){let jn=[];for(const[rn,Gn]of Object.entries(Kn)){let Wn={[rn]:()=>{be(Gn)}};jn.push(Wn),ba.addKeyMap(Wn)}return kl.current=setInterval(()=>{Xl.current&&ve()},4e3),()=>{clearInterval(kl.current);for(let rn of jn)ba.removeKeyMap(rn)}}},[ba]),(0,te.useEffect)(()=>{Ao!==$r&&Ho(Ao)},[Ao]),(0,Po.Z)(()=>{if(!na&&Nr>0){let jn=new Date().getTime(),rn=window.sessionStorage.getItem(pr);jn>=Nr+ki&&(!rn||rn!==Dl)&&(window.sessionStorage.setItem(pr,Dl),jo(!0))}},ki),(0,te.useEffect)(()=>{ir(Cr)},[ba,Cr]),(0,te.useEffect)(()=>{ba&&oa&&ba.focus()},[ba,oa]),(0,te.useEffect)(()=>{if(Ql&&ba){let jn=function(Gn){let Wn=Gn.target;if(Ju.current){let Ua=Wn.scrollTop/Wn.scrollHeight;Ju.current.scrollTop=Ju.current.scrollHeight*Ua}};const rn=ba.getScrollerElement();return rn.addEventListener("scroll",jn),()=>{rn.removeEventListener("scroll",jn)}}},[ba,Ql]),(0,te.useEffect)(()=>{if(ba&&ji){let jn=function(rn,Gn){ji(rn,Gn)};return ba.on("beforeChange",jn),()=>{ba.off("beforeChange",jn)}}},[ba,ji]),(0,te.useEffect)(()=>{if(ba&&_o){let jn=function(){_o(ba.getValue())};return ba.on("blur",jn),()=>{ba.off("blur",jn)}}},[ba,_o]);function Ve(jn,rn){var Gn=jn.getDoc(),Wn=Gn.getCursor(),Ua=Gn.getLine(Wn.line),dr=Ua.charAt(Wn.ch-1),Ir=Ua.lastIndexOf("@\u2581@",Wn.ch),Fr=Ua.lastIndexOf("@\u2581\u2581@",Wn.ch),Sr=Ir>Fr?Ir:Fr,Xr=Ir>Fr?3:4;if(ta.indexOf(dr)===-1)return null;if(console.log("change1:",rn,jn,Ua,Wn,Sr,Ir,Fr,dr),Sr>=0&&Wn.ch-Sr<5){var Co=Sr+Xr;return Gn.replaceRange("",{line:Wn.line,ch:Sr},{line:Wn.line,ch:Co}),{line:Wn.line,ch:Co}}return null}(0,te.useEffect)(()=>{if(ba){let jn=function(rn,Gn){const Wn=rn.getValue();hi(Wn),Wo(new Date().getTime()),rn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),kt&&(Tr?kt(Wn,hn(Wn)):kt(Wn))};return ba.on("change",jn),()=>{ba.off("change",jn)}}},[ba,kt]),(0,te.useEffect)(()=>{if(ba)if(wt==null)ba.setValue(""),hi("");else{const jn=window.scrollY||window.pageYOffset;wt!==ba.getValue()&&(ba.setValue(wt),hi(wt),ba.setCursor(ml?1:ba.lineCount(),0),window.scrollTo(0,jn))}},[ba,wt]);const be=(0,te.useCallback)(jn=>{const rn=ba.getCursor(),Gn=ba.getSelection();let Wn=Gn.split(` `);switch(jn){case"bold":return ba.replaceSelection("**"+Gn+"**"),Gn===""&&ba.setCursor(rn.line,rn.ch+2),ba.focus();case"italic":return ba.replaceSelection("*"+Gn+"*"),Gn===""&&ba.setCursor(rn.line,rn.ch+1),ba.focus();case"code":return ba.replaceSelection("`"+Gn+"`"),Gn===""&&ba.setCursor(rn.line,rn.ch+1),ba.focus();case"inline-latex":return Ji("inline-latex"),ba.focus();case"latex":return ba.replaceSelection("```latex\n"+Gn+"\n```"),ba.setCursor(rn.line+1,Gn.length+1),ba.focus();case"line-break":return ba.replaceSelection(`
`),ba.focus();case"list-ul":return Gn===""?ba.replaceSelection("- "+Gn):ba.replaceSelection(Wn.map(Ua=>Ua===""?"":`- ${Ua}`).join(` `)),ba.focus();case"list-ol":return Gn===""?ba.replaceSelection("1. "+Gn):ba.replaceSelection(Wn.map((Ua,dr)=>Ua===""?"":`${dr+1}. ${Ua}`).join(` `)),ba.focus();case"add-null-ch":return Gn===""&&ba.setCursor(rn.line,rn.ch),ba.replaceSelection(_i),ba.focus();case"add-signal":return Gn===""&&ba.setCursor(rn.line,rn.ch),ba.replaceSelection(Ya),ba.focus();case"add-multiple":return Gn===""&&ba.setCursor(rn.line,rn.ch),ba.replaceSelection(ta),ba.focus();case"inster-template-1":return Gn===""&&ba.setCursor(rn.line,rn.ch),ba.replaceSelection(Kr),ba.focus();case"eraser":return ba.setValue(""),ba.focus();case"trigger-watch":return ir(!Ql),ba.focus();case"trigger-full-screen":return Ho(!$r),ba.focus();case mr:Ji(mr);return;case to:Ji(to);return;case Ka:Ji(Ka);return;case hr:Ji(hr);return;case"maths-latex":Ji("maths-latex");return;case wa:Ji(wa);return;case Qr:Ji(Qr);return;default:throw new Error}},[ba,Ql,$r]),ft=(0,te.useCallback)((jn,rn)=>{var Gn,Wn,Ua,dr,Ir,Fr;switch(Ji(""),Yr){case mr:const{title:di,link:gi}=jn;return ba.replaceSelection(`[${di}](${gi})`),ba.focus();case to:const{language:Oi,content:pi}=jn;return ba.replaceSelection(["```"+Oi,pi,"```"].join(` `)),ba.focus();case"maths-latex":for(var Sr=atob(jn),Xr=new Uint8Array(Sr.length),Co=0;Co{vl.id?ba.replaceSelection(`![,](/api/attachments/${vl.id}?type=${vl.content_type})`):(vl==null?void 0:vl.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":ba.replaceSelection("`$$"+jn+"$$`");break;case Ka:case hr:case fn:const{src:Yi,alt:Vi}=jn,Gi=rn,al=(Ua=(Wn=(Gn=Gi==null?void 0:Gi.name)==null?void 0:Gn.split("."))==null?void 0:Wn.pop)==null?void 0:Ua.call(Wn);return((dr=Gi==null?void 0:Gi.type)==null?void 0:dr.indexOf("image"))>-1||!(Gi!=null&&Gi.type)?Gi.align||Gi.width?ba.replaceSelection(`

${Vi||

`):ba.replaceSelection(`${Vi||`):((Ir=Gi==null?void 0:Gi.type)==null?void 0:Ir.indexOf("video"))>-1?ba.replaceSelection(``):((Fr=Gi==null?void 0:Gi.type)==null?void 0:Fr.indexOf("pdf"))>-1?ba.replaceSelection(`${Gi.name}`):Yn.includes(al)?ba.replaceSelection(`${Gi.name}`):ba.replaceSelection(`[${Gi.name}](${Yi})`),ba.focus();case Qr:const{row:ql,col:mu,align:Hl}=jn;let wl=` `;for(let vl=0;vl{switch(Yr){case mr:return te.createElement($t,{callback:ft,onCancel:st});case to:return te.createElement(un.Z,{callback:ft,onCancel:st});case Ka:return te.createElement(yt.Z,{callback:ft,onCancel:st});case wa:return te.createElement(Vt,{callback:ft,onCancel:st});case Qr:return te.createElement(Ta,{callback:ft,onCancel:st});case"maths-latex":return te.createElement(xt,{showSaveButton:!0,callback:ft});case"inline-latex":return te.createElement(wn.Z,{showSaveButton:!0,callback:ft});default:return null}},[Yr]);function st(){Ji("")}(0,te.useEffect)(()=>{if(Au.current){let jn=function(Ir){Ua=!0,dr=Ir.pageY},rn=function(){Ua=!1},Gn=function(Ir){if(Ua){let Fr=Ir.pageY-dr;Fr<0&&(Fr=0),Fr>300&&(Fr=300);let Sr=gn+Fr+"px";ci(Sr)}},Wn=Au.current,Ua=!1,dr=0;return Wn.addEventListener("mousedown",jn),document.addEventListener("mousemove",Gn),document.addEventListener("mouseup",rn),()=>{Wn.removeEventListener("mousedown",jn),document.removeEventListener("mousemove",Gn),document.removeEventListener("mouseup",rn)}}},[ba,Au]),(0,te.useEffect)(()=>{ci(gn)},[gn]);const dt=Mn(Bt),pt=Mn(oo),bt={width:dt,height:pt},yn=(0,te.useMemo)(()=>{if(Nr){let jn=new Date(Nr),rn=jn.getHours(),Gn=jn.getMinutes(),Wn=jn.getSeconds();return rn=rn<10?"0"+rn:rn,Gn=Gn<10?"0"+Gn:Gn,Wn=Wn<10?"0"+Wn:Wn,`${rn}:${Gn}:${Wn}`}return 0},[Nr]),hn=jn=>{const rn=[];if(Tr){let Gn=-1;jn=jn.replace(/(@▁▁@|@▁@)/g,function(Wn,Ua,dr){rn.push({multiLine:Wn!==Ya})})}return rn};function qn(){window.sessionStorage.removeItem(pr),jo(!1),Wo(0)}function ea(){jo(!1),Wo(0),ba.setValue(window.sessionStorage.getItem(pr))}(0,te.useEffect)(()=>{ua[Yr]&&Yr!==hr&&Yr!==wa&&setTimeout(()=>{const jn=document.getElementsByClassName("markdown-popup-form")[0],rn=window.innerWidth/2-jn.offsetWidth/2,Gn=window.innerHeight/2-jn.offsetHeight/2;ou(rn),Zi(Gn)},0)},[Yr]);const ur=jn=>{jn.preventDefault();const rn=jn.clientX-eu,Gn=jn.clientY-xu;document.body.onmousemove=Wn=>{let Ua=Wn.clientX-rn,dr=Wn.clientY-Gn;const Ir=document.getElementsByClassName("markdown-popup-form")[0],Fr=window.innerWidth-Ir.offsetWidth,Sr=window.innerHeight-Ir.offsetHeight;Ua=Math.max(0,Math.min(Ua,Fr)),dr=Math.max(0,Math.min(dr,Sr)),sa(Wn.clientX,Wn.clientY,rn,Gn)&&(ou(Ua),Zi(dr))},document.body.onmouseup=function(){document.body.onmousemove=null}},sa=(jn,rn,Gn,Wn)=>{const Ua=document.body.clientHeight,dr=document.body.clientWidth;return jn<20&&Gn>jn||jn>dr-20&&Gnrn||rn>Ua-20&&WnSe in Le?ce(Le,Se,{enumerable:!0,configurable:!0,writable:!0,value:we}):Le[Se]=we,x=(Le,Se)=>{for(var we in Se||(Se={}))y.call(Se,we)&&E(Le,we,Se[we]);if(a)for(var we of a(Se))b.call(Se,we)&&E(Le,we,Se[we]);return Le},ee=(Le,Se)=>De(Le,de(Se));const{useForm:re}=te.default,ae={width:280,marginRight:10},ne={labelCol:{span:5},wrapperCol:{span:19}};var pe=({callback:Le,onCancel:Se})=>{const[we]=re();let Qe=(0,Oe.useRef)();function Be(it){Qe.current.width=we.getFieldValue("width"),Qe.current.align=we.getFieldValue("align"),Le(it,Qe.current)}function Ge(it,Je){if(it.status===-1){ie.ZP.error(it.message);return}we.setFieldsValue({src:`/api/attachments/${it.id}`,type:Je.type})}function Ze(it){let Je=it.target.files[0];Qe.current=Je,Ae(Je,Ge)}return Ye.createElement(te.default,ee(x({form:we},ne),{className:"upload-image-panel",onFinish:Be,style:{width:470,overflow:"hidden"}}),Ye.createElement(te.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ye.createElement("div",{className:"flex-container"},Ye.createElement(te.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ye.createElement(Fe.default,{style:ae})),Ye.createElement(Ce,{onFileChange:Ze}))),Ye.createElement(te.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ye.createElement(Fe.default,{style:{width:264}})),Ye.createElement(te.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ye.createElement(Xe.Z,null,Ye.createElement(te.default.Item,{name:"width",style:{margin:0}},Ye.createElement(ze.Z,{style:{width:264}})),Ye.createElement("span",{className:"ml8"},"%"))),Ye.createElement(te.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ye.createElement(je.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"}]})),Ye.createElement("aside",null,Ye.createElement(te.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ye.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ye.createElement(se.ZP,{type:"default",onClick:Se},"\u53D6\u6D88"))))};function Ce({onFileChange:Le}){return Ye.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ye.createElement("input",{type:"file",onChange:Le}))}function Ae(Le,Se){if(!Le)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Re.bg)())throw ie.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",Le),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var Qe=new window.XMLHttpRequest;Qe.withCredentials=!0,Qe.addEventListener("load",function(Be){Se(JSON.parse(Be.target.responseText),Le)},!1),Qe.addEventListener("error",function(Be){console.error(Be)},!1),Qe.open("POST",`${We.KI}/api/attachments.json`),Qe.send(we)}},76621:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return Fe}});var te=z(67294),ie=z(73935);class Fe extends te.Component{constructor(ze){super(ze);const je=window.document;this.node=je.createElement("div"),je.body.appendChild(this.node)}render(){const{children:ze}=this.props;return(0,ie.createPortal)(ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},9897:function(Zt,Ht,z){"use strict";z.d(Ht,{i:function(){return ae},Z:function(){return pe}});var te={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ie=z(57953),Fe=z(83062),Xe=z(94184),ze=z.n(Xe),je=z(28706),se=z(26194),We=z(52262),Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEA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5+cQZuyvLyzwSSBt8BZJgESwsN65snmj3gzR3xh6YujGOSVMPo8sxK8dcHWudc6Z4dWVJZIv5Bn93p40Y84KdYpJzQ/Dz6PHEvcoaIfGP2VMyv4CglP/0qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",re=z(67294);const ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Oe,swimg:Re},{name:"101\u8BA1\u5212",ptimg:Ye,swimg:ce},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:De,swimg:de},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:y},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:E},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:ee}];var pe=({className:Ce,dataSource:Ae=[],col:Le=4,right:Se,bottom:we=23,precision:Qe=0,wrapWidth:Be=1200,trackEventItems:Ge,loading:Ze,onRemove:it=()=>{},isCurrent:Je=!0,showAlias:Dt=!1})=>{const Nt=Math.floor((Be-(Le-1)*Se)/Le),St=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Lt=>(window.ENV==="build"&&(Lt.ptimg=`/react/build${Lt.ptimg}`,Lt.swimg=`/react/build${Lt.swimg}`),Lt));return re.createElement(ie.Z,{spinning:Ze},re.createElement("div",{className:ze()(te.list,Ce)},!!(Ae!=null&&Ae.length)&&(Ae==null?void 0:Ae.map((Lt,$t)=>{var un;const{name:yt,id:It,identifier:Kt,featured:An,school_name:Pt,image_url:Qt,excellent:ke,is_plan:zn}=Lt;return re.createElement("div",{key:It,className:te.wrap,style:{width:Nt,marginRight:(1+$t)%Le===0?0:Se+Qe,marginBottom:we}},re.createElement("a",{className:te.li,onClick:an=>{an.preventDefault(),an.stopPropagation(),Ge&&(0,je.L9)([Ge]),(0,je.xg)(`/paths/${Kt}`)}},re.createElement("div",{className:te.img},re.createElement("img",{className:te.cover,src:`${Qt}`}),Je&&(0,We.bg)()&&(Lt==null?void 0:Lt.studying)&&re.createElement("div",{className:`${te.movebq} user-path-items`,onClick:an=>{an.stopPropagation(),it(Lt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(un=Lt==null?void 0:Lt.subject_tags)==null?void 0:un.map((an,ya)=>{var da,Dn;if(ya===0){const nt=(da=St.find(tn=>tn.name==an))==null?void 0:da.swimg;return re.createElement("img",{className:te.sign,src:nt,style:{left:"-4px"}})}const ht=(Dn=St.find(nt=>nt.name==an))==null?void 0:Dn.ptimg;return re.createElement("img",{className:te.sign,src:ht,style:{left:`${48+52*(ya-1)+2*ya}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Lt==null?void 0:Lt.excellent)&&re.createElement("div",{className:te.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:te.name},re.createElement(Fe.Z,{title:Dt&&(Lt!=null&&Lt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${yt}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Lt==null?void 0:Lt.excellent_alias_name}`)):yt},re.createElement("span",{className:te.e},Dt&&(Lt==null?void 0:Lt.excellent_alias_name)||yt))),re.createElement("div",{className:te.tags},re.createElement("div",null,re.createElement(Fe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,Lt.stages_count))),re.createElement(Fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,Lt.members_count)))))))})),!Ae.length&&re.createElement(se.Z,null)))}},30001:function(Zt,Ht,z){"use strict";z.d(Ht,{jL:function(){return ze},w9:function(){return Lt},QD:function(){return wn},cQ:function(){return it.Z},op:function(){return Ta},O5:function(){return Kr},_b:function(){return hr},t7:function(){return E},Gi:function(){return An},YG:function(){return It},qp:function(){return Ye},vr:function(){return mr},qE:function(){return tr},Je:function(){return re},wb:function(){return Ze},cq:function(){return ya},tp:function(){return de}});var te=z(67294),ie={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns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5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ze=({dataSource:Yn=[],img:Mn,imgWidth:la=346,title:Ft,sunTitle:Kn,bannerExtraContent:ua})=>te.createElement("div",{className:ie.banner},te.createElement("div",{className:ie.content},te.createElement("aside",null,te.createElement("p",null,te.createElement("b",null,Ft),te.createElement("span",null,Kn)),Yn.length>0&&te.createElement("div",{className:ie.btns},Yn.map((Fn,wt)=>te.createElement("div",{key:wt,onClick:Fn.click},Fn.name,Fn.sign?te.createElement("img",{src:Fe,width:39}):null))),ua),Mn&&te.createElement("img",{style:{marginTop:33,marginRight:38},src:Mn,width:la}))),je={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},se=z(94184),We=z.n(se),Oe=z(96486),Ye=({dataSource:Yn=[],value:Mn,onChange:la,onTitleChange:Ft,className:Kn,title:ua,titleWidth:Fn=41,style:wt={},fontColor:kt="#6A7283",showCount:Bt})=>{const[gn,Hn]=(0,te.useState)(0),[oa,Cr]=(0,te.useState)(!1),_t=(0,te.useRef)(null),Fa=(0,te.useRef)(null);return(0,te.useEffect)(()=>{var pr;Yn.length!==0&&(((pr=_t==null?void 0:_t.current)==null?void 0:pr.clientHeight)>97?Hn(1):Hn(0)),Yn.length===0&&Hn(0),Cr(!1)},[Yn]),te.createElement("div",{className:We()(je.row,Kn),style:wt},te.createElement("div",{onClick:(0,Oe.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:Fn,marginTop:oa?12:4},className:`${je.title} ${Ft?"current":""}`},ua),te.createElement("div",{className:oa?`${je.tagsWrap} ${je.tagsBorderWrap}`:je.tagsWrap},te.createElement("div",{className:je.bar,ref:Fa,style:gn>0?{height:gn===1?97:"auto",overflow:gn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},te.createElement("div",{className:je.tag,ref:_t},Yn==null?void 0:Yn.map(pr=>te.createElement("span",{onClick:()=>la(pr.id),key:pr.id,style:{color:kt},className:Mn===pr.id?je.active:""},te.createElement("span",{title:pr.name,className:je.name},pr.name),!!Bt&&te.createElement("span",{className:je.num},pr.count))))),!!gn&&te.createElement(te.Fragment,null,gn===1?te.createElement("div",{onClick:()=>{var pr;Hn(2),((pr=_t==null?void 0:_t.current)==null?void 0:pr.clientHeight)>245?Cr(!0):Cr(!1)},className:je.action},"\u5C55\u5F00",te.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):te.createElement("div",{onClick:()=>{Fa.current.scrollTop=0,Hn(1),Cr(!1)},className:je.action},"\u6536\u8D77",te.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ce={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},de=({dataSource:Yn=[],value:Mn,onChange:la,className:Ft,style:Kn={}})=>te.createElement("div",{style:Kn,className:We()(ce.tabs,Ft)},Yn.map(ua=>te.createElement("span",{onClick:()=>la(ua.id),className:Mn===ua.id?ce.active:"",key:ua.id},ua.name))),a={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},y=z(69677),E=({dataSource:Yn=[],value:Mn="",onChange:la,onInputChange:Ft=()=>{},className:Kn,style:ua={},placeholder:Fn,allowClear:wt=!1})=>{var kt;const[Bt,gn]=(0,te.useState)(""),[Hn,oa]=(0,te.useState)("");(0,te.useEffect)(()=>{var Fa;let pr=Mn;(Fa=JSON.stringify(Mn))!=null&&Fa.includes("{")&&(gn(Mn.id),pr=Mn.value||"");try{oa(decodeURIComponent(pr||""))}catch(vi){oa(decodeURIComponent(pr||""))}},[Mn]);const Cr=()=>{la(encodeURIComponent(Hn),Bt||null)},_t=Fa=>{Fa!==Bt&&(gn(Fa),la(encodeURIComponent(Hn),Fa))};return te.createElement("div",{className:We()(a.input,Kn),style:ua},!!Yn.length&&te.createElement("div",{className:a.dropdown},te.createElement("div",{className:a.text},(kt=Yn.find(Fa=>Fa.id===Bt))==null?void 0:kt.name,te.createElement("i",{className:"iconfont icon-zhankai4"}),te.createElement("b",{className:a.b1}),te.createElement("b",{className:a.b2})),te.createElement("div",{className:a.menu},Yn.map((Fa,pr)=>te.createElement("div",{key:pr,onClick:()=>_t(Fa.id)},Fa.name)))),te.createElement(y.default,{onPressEnter:Cr,value:Hn,onChange:Fa=>{oa(Fa.target.value),Ft(encodeURIComponent(Fa.target.value),Bt||null)},bordered:!1,placeholder:Fn}),te.createElement("i",{onClick:Cr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},x={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},re=({value:Yn,onChange:Mn,className:la,total:Ft,pageSize:Kn,style:ua={}})=>{const Fn=Yn<2,wt=Yn>=Math.ceil(Ft/Kn);return Ft<=Kn?te.createElement(te.Fragment,null):te.createElement("div",{className:We()(x.quickPager,la),style:ua},te.createElement("div",{onClick:()=>{Fn||Mn(Yn-1,"prev")},className:Fn?x.disabled:""},"\u4E0A\u4E00\u9875"),te.createElement("div",{onClick:()=>{wt||Mn(Yn+1,"next")},className:wt?x.disabled:""},"\u4E0B\u4E00\u9875"))},ae={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ne=z(57953),pe=z(83062),Ce=z(12604),Ae=z(11320),Le=z(28706),Se=z(96908),we=z(57177),Qe=z(81378),Be=z(26194),Ze=({className:Yn,dataSource:Mn=[],col:la=4,right:Ft,bottom:Kn=23,precision:ua=0,wrapWidth:Fn=1200,trackEventItems:wt,loading:kt})=>{const Bt=Math.floor((Fn-(la-1)*Ft)/la);return te.createElement(ne.Z,{spinning:kt},te.createElement("div",{className:We()(ae.list,Yn)},!!Mn.length&&Mn.map((gn,Hn)=>{const{name:oa,id:Cr,identifier:_t,power:Fa,cover_image_id:pr,pic:vi}=gn;return te.createElement("div",{className:ae.wrap,key:Cr,style:{width:Bt,marginRight:(1+Hn)%la===0?0:Ft+ua,marginBottom:Kn}},te.createElement("a",{target:"_blank",href:`/shixuns/${_t}/challenges`,className:ae.li,onClick:na=>{na.preventDefault(),wt&&(0,Le.L9)([wt]),Fa&&(0,Le.xg)(`/shixuns/${_t}/challenges`)}},te.createElement("div",{className:ae.img},te.createElement("img",{className:ae.cover,src:`${vi}`}),gn.is_jupyter&&te.createElement("img",{className:ae.sign,src:Se}),gn.is_jupyter_lab&&te.createElement("img",{className:ae.sign,src:we}),gn.is_unity_3d&&te.createElement("img",{className:ae.sign,src:Qe})),te.createElement("div",{className:ae.name},te.createElement(pe.Z,{title:oa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},te.createElement("span",{className:ae.e},oa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),te.createElement("div",{className:ae.tags},te.createElement(pe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},te.createElement("span",null,te.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),te.createElement("span",null,gn.challenges_count))),!!gn.myshixuns_count&&te.createElement(pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},te.createElement("span",null,te.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),te.createElement("span",null,gn.myshixuns_count))),te.createElement(pe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},te.createElement("span",null,te.createElement("span",null,gn.level))),te.createElement("div",{className:ae.rate},te.createElement(Ce.Z,{allowHalf:!0,disabled:!0,defaultValue:gn.score_info}),te.createElement("span",null,"\xA0",gn.score_info?`${gn.score_info}\u5206`:"5\u5206")))),!Fa&&te.createElement("div",{className:ae.lockWrap},te.createElement("img",{src:`${Ae.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),te.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Mn.length&&te.createElement(Be.Z,null)))},it=z(9897),Je={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JK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mcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Nt=z(67294),Lt=({className:Yn,dataSource:Mn=[],col:la=4,right:Ft,bottom:Kn=23,precision:ua=0,wrapWidth:Fn=1200,trackEventItems:wt,loading:kt})=>{const Bt=Math.floor((Fn-(la-1)*Ft)/la);return Nt.createElement(ne.Z,{spinning:kt},Nt.createElement("div",{className:We()(Je.list,Yn)},!!Mn.length&&Mn.map((gn,Hn)=>{const{subject_identifier:oa,id:Cr,identifier:_t,power:Fa}=gn,pr=gn.is_public!=0&&gn.is_public;return Nt.createElement("div",{className:Je.wrap,key:Cr,style:{width:Bt,marginRight:(1+Hn)%la===0?0:Ft+ua,marginBottom:Kn}},Nt.createElement("a",{className:Je.li,onClick:vi=>{vi.preventDefault(),wt&&(0,Le.L9)([wt]),(0,Le.xg)(gn.first_category_url)}},Nt.createElement("div",{className:Je.top},Nt.createElement(pe.Z,{title:gn.name},Nt.createElement("div",{className:Je.name},gn.name)),Nt.createElement("img",{className:Je.img,src:Ae.Z.IMG_SERVER+"/images/"+gn.avatar_url}),Nt.createElement("div",{className:Je.text,title:gn.creator},gn.creator),oa&&Nt.createElement("div",{className:Je.btns},Nt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Nt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),pr&&Nt.createElement("div",{className:Je.sign},"\u516C\u5F00")),Nt.createElement("div",{className:Je.bottom},gn.visits>0&&Nt.createElement(pe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Nt.createElement("span",null,Nt.createElement("i",{className:"iconfont icon-liulanyan"}),Nt.createElement("span",null,gn.visits))),gn.course_members_count>0&&Nt.createElement(pe.Z,{title:"\u6210\u5458",placement:"bottom"},Nt.createElement("span",null,Nt.createElement("i",{className:"iconfont icon-chengyuan"}),gn.course_members_count)),gn.tasks_count>0&&Nt.createElement(pe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Nt.createElement("span",null,Nt.createElement("i",{className:"iconfont icon-zuoye"}),gn.tasks_count)),gn.is_end?Nt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Nt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!gn.is_accessible&&Nt.createElement("div",{className:Je.lockWrap},Nt.createElement("img",{src:`${Ae.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Nt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Mn.length&&Nt.createElement(Be.Z,null)))},$t={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},un=z(35973),It=({dataSource:Yn=[],value:Mn,onChange:la,className:Ft,style:Kn={},tabBarExtraContent:ua})=>te.createElement("div",{className:We()($t.tabs,Ft),style:Kn},te.createElement("div",{className:$t.tabsWrap},Yn.map((Fn,wt)=>te.createElement("aside",{className:$t.tab,onClick:()=>{la(Fn.id),Fn.link&&un.history.push(Fn.link)},key:wt},te.createElement("div",{className:Mn===Fn.id?$t.active:""},Fn.name),(Fn==null?void 0:Fn.resetCount)==null&&(Fn==null?void 0:Fn.total)!==void 0&&te.createElement("span",null,"\uFF08",Fn==null?void 0:Fn.total,"\uFF09"),(Fn==null?void 0:Fn.resetCount)!==void 0&&(Fn==null?void 0:Fn.total)!==void 0&&te.createElement(pe.Z,{title:(Fn==null?void 0:Fn.tip)!=null?Fn==null?void 0:Fn.tip:""},te.createElement("span",{style:{color:"#9096A3"}},"\uFF08",te.createElement("span",{style:{color:"#000"}},Fn==null?void 0:Fn.resetCount),"/",te.createElement("span",null,Fn==null?void 0:Fn.total),"\uFF09"))))),te.createElement("div",{className:$t.tabBar},ua)),An=({className:Yn,style:Mn={},children:la})=>te.createElement("div",{className:We()(Yn),style:Mn},la),Pt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Qt=z(85418),ke=z(68508);const zn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ya=({sortValue:Yn,dropValue:Mn,className:la,onSort:Ft,onDrop:Kn,dataSource:ua=zn})=>{var Fn;return te.createElement("div",{className:We()(Pt.orderWrap,la)},te.createElement(Qt.Z,{dropdownRender:()=>te.createElement(ke.default,null,ua.map((wt,kt)=>te.createElement(ke.default.Item,{key:kt,onClick:()=>Kn(wt.id)},wt.name)))},te.createElement("span",{className:Pt.orderTextWrap},(Fn=ua.find(wt=>Mn===wt.id))==null?void 0:Fn.name)),te.createElement("span",{className:Pt.orderIconWrap},te.createElement("span",{className:Pt.orderAsc},te.createElement("i",{className:Yn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Pt.cursorPointer} ${Pt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Pt.cursorPointer}`,onClick:()=>Ft(Yn==="asc"?"desc":"asc")})),te.createElement("span",{className:Pt.orderDesc},te.createElement("i",{className:Yn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Pt.cursorPointer} ${Pt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Pt.cursorPointer}`,onClick:()=>Ft(Yn==="asc"?"desc":"asc")}))))},da={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Dn=z(71577),ht=Object.defineProperty,nt=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,Vt=(Yn,Mn,la)=>Mn in Yn?ht(Yn,Mn,{enumerable:!0,configurable:!0,writable:!0,value:la}):Yn[Mn]=la,La=(Yn,Mn)=>{for(var la in Mn||(Mn={}))tn.call(Mn,la)&&Vt(Yn,la,Mn[la]);if(nt)for(var la of nt(Mn))vn.call(Mn,la)&&Vt(Yn,la,Mn[la]);return Yn},En=(Yn,Mn)=>{var la={};for(var Ft in Yn)tn.call(Yn,Ft)&&Mn.indexOf(Ft)<0&&(la[Ft]=Yn[Ft]);if(Yn!=null&&nt)for(var Ft of nt(Yn))Mn.indexOf(Ft)<0&&vn.call(Yn,Ft)&&(la[Ft]=Yn[Ft]);return la},Ea=(Yn,Mn,la)=>new Promise((Ft,Kn)=>{var ua=kt=>{try{wt(la.next(kt))}catch(Bt){Kn(Bt)}},Fn=kt=>{try{wt(la.throw(kt))}catch(Bt){Kn(Bt)}},wt=kt=>kt.done?Ft(kt.value):Promise.resolve(kt.value).then(ua,Fn);wt((la=la.apply(Yn,Mn)).next())}),Ta=Yn=>{var Mn=Yn,{className:la,style:Ft,children:Kn,loading:ua=!1,openLoading:Fn,onClick:wt=()=>{},size:kt="middle",shape:Bt="round"}=Mn,gn=En(Mn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Hn,oa]=(0,te.useState)(!1);return te.createElement(Dn.ZP,La({onClick:(0,Oe.throttle)(Cr=>Ea(void 0,null,function*(){Fn&&oa(!0);try{yield wt(Cr)}catch(_t){console.log("error",_t)}Fn&&oa(!1)}),2e3,{leading:!0,trailing:!1}),className:We()(da.btn,da[`${kt}-${Bt}`],la),style:Ft,size:kt,shape:Bt,loading:Hn||ua},gn),Kn)},gt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},tr=({className:Yn,style:Mn,children:la=null,onClick:Ft,title:Kn})=>te.createElement("div",{className:We()(gt.head,Yn),style:Mn},te.createElement("span",{className:"primary-hover",onClick:Ft},te.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),te.createElement("b",{title:Kn},Kn),te.createElement("div",{className:gt.node},la)),Qn={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},wn=({confirmShow:Yn=!0,confirmTitle:Mn,confirmClick:la,cancelShow:Ft=!0,cancelTitle:Kn,cancelClick:ua,className:Fn,style:wt,confirmLoading:kt=!1})=>te.createElement("div",{className:We()(Qn.btns,Fn),style:wt},Yn&&te.createElement(Dn.ZP,{loading:kt,onClick:la,type:"primary",className:Qn.confirm},Mn),Ft&&te.createElement(Dn.ZP,{onClick:ua,className:Qn.cancel},Kn)),Za={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},mr=({className:Yn,style:Mn={},LeftContent:la,children:Ft,RightContent:Kn})=>te.createElement("div",{className:We()(Za.fixedBottom,Yn),style:Mn},te.createElement("div",{className:Za.wrap},te.createElement("div",{className:Za.left},la),te.createElement("div",{className:Za.center},Ft),te.createElement("div",{className:Za.right},Kn))),Ka={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},hr=({className:Yn,style:Mn={},dataSource:la=[]})=>te.createElement("div",{className:We()(Ka.crumbs,Yn),style:Mn},la.map((Ft,Kn)=>Knun.history.push(Ft.path)},Ft.name):te.createElement("span",null,Ft.name),te.createElement("span",null,"\xA0",">","\xA0")):te.createElement("span",{key:Kn,style:{color:"#5F6368"}},Ft.name))),fn=z(55054),to=Object.defineProperty,Qr=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,Mr=Object.getOwnPropertySymbols,Po=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,qo=(Yn,Mn,la)=>Mn in Yn?to(Yn,Mn,{enumerable:!0,configurable:!0,writable:!0,value:la}):Yn[Mn]=la,Pi=(Yn,Mn)=>{for(var la in Mn||(Mn={}))Po.call(Mn,la)&&qo(Yn,la,Mn[la]);if(Mr)for(var la of Mr(Mn))ni.call(Mn,la)&&qo(Yn,la,Mn[la]);return Yn},ki=(Yn,Mn)=>Qr(Yn,zo(Mn)),_i=(Yn,Mn)=>{var la={};for(var Ft in Yn)Po.call(Yn,Ft)&&Mn.indexOf(Ft)<0&&(la[Ft]=Yn[Ft]);if(Yn!=null&&Mr)for(var Ft of Mr(Yn))Mn.indexOf(Ft)<0&&ni.call(Yn,Ft)&&(la[Ft]=Yn[Ft]);return la};const{Countdown:ta}=fn.default;var Kr=Yn=>{var Mn=Yn,{onChange:la}=Mn,Ft=_i(Mn,["onChange"]);const[Kn,ua]=(0,te.useState)(null);(0,te.useEffect)(()=>{typeof Kn=="number"&&Kn>=0&&la(Kn)},[Kn]);const Fn=wt=>{const kt=Math.floor(wt/1e3);ua(kt)};return te.createElement(ta,ki(Pi({},Ft),{onChange:Fn}))}},99914:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return ie}});var te=z(67294);function ie(Fe,Xe){const ze=(0,te.useRef)();(0,te.useEffect)(()=>{ze.current=Fe}),(0,te.useEffect)(()=>{function je(){ze.current()}if(Xe!==null){let se=setInterval(je,Xe);return()=>clearInterval(se)}},[Xe])}},81119:function(Zt,Ht,z){"use strict";z.r(Ht),z.d(Ht,{default:function(){return la}});var te=z(67294),ie={card:"card___c4ypw",head:"head___d2Dfo",element:"element___PyfcV",collaborator:"collaborator___o6MF4",btn:"btn___CF6mw",delSty:"delSty___Wm5pj",delBorder:"delBorder___IVg2Z",copHover:"copHover___rNmmw",wrap:"wrap___feope",center:"center___uU09V",tip:"tip___yCX57",title:"title___OpV1r",content:"content___XU4yH",fixedBtns:"fixedBtns___ItSdd"},Fe=z(94184),Xe=z.n(Fe),ze=z(30001),je=z(35567),se=z(71230),We=z(71577),Oe=z(14446),Re=z(69677),Ye=z(9430),ce=z(22150),De=z(83062),de=z(31795),a=z(2453),y=z(57953),b=z(84567),E=z(78045),x=z(20669),ee=z(28706),re=z(35973),ae=z(50881),ne=z(60887),pe=z(32339),Ce=z(45587),Ae=z(24285),Le=z(26194),Se=Object.defineProperty,we=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,it=(Ft,Kn,ua)=>Kn in Ft?Se(Ft,Kn,{enumerable:!0,configurable:!0,writable:!0,value:ua}):Ft[Kn]=ua,Je=(Ft,Kn)=>{for(var ua in Kn||(Kn={}))Ge.call(Kn,ua)&&it(Ft,ua,Kn[ua]);if(Be)for(var ua of Be(Kn))Ze.call(Kn,ua)&&it(Ft,ua,Kn[ua]);return Ft},Dt=(Ft,Kn)=>we(Ft,Qe(Kn));const Nt=te.createContext({}),St=()=>{const{setActivatorNodeRef:Ft,listeners:Kn}=(0,te.useContext)(Nt);return te.createElement(We.ZP,Je({type:"text",size:"small",icon:te.createElement(De.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"},te.createElement(ae.Z,null)),style:{cursor:"move"},ref:Ft},Kn))},Lt=Ft=>{const{attributes:Kn,listeners:ua,setNodeRef:Fn,setActivatorNodeRef:wt,transform:kt,transition:Bt,isDragging:gn}=(0,Ce.nB)({id:Ft["data-row-key"]}),Hn=Je(Dt(Je({},Ft.style),{transform:Ae.ux.Translate.toString(kt),transition:Bt}),gn?{position:"relative",zIndex:99}:{}),oa=(0,te.useMemo)(()=>({setActivatorNodeRef:wt,listeners:ua}),[wt,ua]);return te.createElement(Nt.Provider,{value:oa},te.createElement("tr",Je(Dt(Je({},Ft),{ref:Fn,style:Hn}),Kn)))};var un=({columns:Ft,dataSource:Kn,setDataSource:ua,loading:Fn})=>{const wt=({active:kt,over:Bt})=>{kt.id!==(Bt==null?void 0:Bt.id)&&ua(gn=>{const Hn=gn.findIndex(Cr=>Cr.id===(kt==null?void 0:kt.id)),oa=gn.findIndex(Cr=>Cr.id===(Bt==null?void 0:Bt.id));return(0,Ce.Rp)(gn,Hn,oa)})};return te.createElement(ne.LB,{modifiers:[pe.DL],onDragEnd:wt},te.createElement(Ce.Fo,{items:Kn.map(kt=>kt.id),strategy:Ce.qw},te.createElement(Ye.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:Fn,locale:{emptyText:te.createElement(Le.Z,{styles:{margin:"80px auto"},customText:te.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",te.createElement("span",{style:{color:"#CA7720"}},"\u53F3\u4E0A\u89D2\u64CD\u4F5C\u6309\u94AE"),"\u8FDB\u884C\u6DFB\u52A0\uFF5E")})},dataSource:Kn,components:{body:{row:Lt}},columns:[{key:"sort",align:"center",width:80,render:()=>te.createElement(St,null)},...Ft],size:"middle"})))},yt=z(66368),It=z(85546),Kt=z(42563),An=z(48305),Pt=z(28452),Qt=z(33170),ke={flex_box_center:"flex_box_center___Iqqr9",flex_space_between:"flex_space_between___y0uZc",flex_box_vertical_center:"flex_box_vertical_center___akeKA",flex_box_center_end:"flex_box_center_end___DEJG9",flex_box_column:"flex_box_column___pgYr1",scoremodal:"scoremodal___PYXCN",selectWrapper:"selectWrapper___RNoPX",selectWrappers:"selectWrappers___fUTXA",allqingchu:"allqingchu___k6Qgb",title:"title___AAfdA",score:"score___oYtrM",close:"close___i8V3V",content:"content___JpTOI",items:"items___je5K0",bottom:"bottom___jjylc",yes:"yes___Wh4La",no:"no___fIya2",titlecount:"titlecount___pZQaF",add:"add___hT0xx",search:"search___WBmWG",searchIcon:"searchIcon___LgZF_",tabWrap:"tabWrap___lGZ3A",previewModal:"previewModal___jPoO2"},zn=z(53430),an={flex_box_center:"flex_box_center____Tkex",flex_space_between:"flex_space_between___EZnYm",flex_box_vertical_center:"flex_box_vertical_center___e6Uyw",flex_box_center_end:"flex_box_center_end___FubGu",flex_box_column:"flex_box_column___ibm4g",warp:"warp___IgClr",shixunbutton:"shixunbutton___DTP9s",redio:"redio___wfYmJ",redioitem:"redioitem___Lx8l8",redioitemyes:"redioitemyes___KKsIv",title:"title___GXJmE",titleyes:"titleyes___yYOlS",yestag:"yestag___WQlWV",qcount:"qcount___QpuQ9",score:"score___WkTL9",qtitle:"qtitle___TQM3w",checkbox:"checkbox___XWcyb",checkboxitem:"checkboxitem___eUzWD",checkboxitemyes:"checkboxitemyes___LOyRE",bottom:"bottom___IKM1j",bottomitem:"bottomitem___TaUK6",left:"left___szEjt",right:"right___XEuVG",completion:"completion___bVp0S",content:"content___R3KZ7",items:"items___DCx2v",simple:"simple___GPeTT",shixun:"shixun___hhixj",combination:"combination___toZnZ",program:"program___alaBk"},ya=z(85725),da=z(19575);const Dn=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var nt=({qitem:Ft})=>{var Kn,ua,Fn,wt,kt,Bt,gn,Hn,oa,Cr;return te.createElement("div",{className:an.warp},te.createElement("div",{className:an.mainPart},te.createElement("div",{className:an.qcount},(Ft==null?void 0:Ft.question_type)===8&&te.createElement(ya.Z,{className:an.content,showProgramFill:!0,value:(Kn=Ft==null?void 0:Ft.program_attr)==null?void 0:Kn.description}),(Ft==null?void 0:Ft.question_type)!=8&&te.createElement(ya.Z,{className:an.qtitle,value:(Ft==null?void 0:Ft.name)||(Ft==null?void 0:Ft.title)})),((Ft==null?void 0:Ft.question_type)===0||(Ft==null?void 0:Ft.question_type)===2)&&te.createElement("div",null,(ua=Ft==null?void 0:Ft.choices)==null?void 0:ua.map((_t,Fa)=>te.createElement("div",{className:an.redio},!(_t!=null&&_t.is_answer)&&te.createElement("span",{className:an.redioitem}),(_t==null?void 0:_t.is_answer)&&te.createElement("i",{className:`${an.redioitemyes} icon-duigou1`}),te.createElement(ya.Z,{className:_t!=null&&_t.is_answer?an.titleyes:an.title,value:Dn[Fa]+(_t==null?void 0:_t.choice_text)}),(_t==null?void 0:_t.is_answer)&&te.createElement("div",{className:an.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ft==null?void 0:Ft.question_type)===1&&te.createElement("div",null,(Fn=Ft==null?void 0:Ft.choices)==null?void 0:Fn.map((_t,Fa)=>te.createElement("div",{className:an.checkbox},!(_t!=null&&_t.is_answer)&&te.createElement("span",{className:an.checkboxitem}),(_t==null?void 0:_t.is_answer)&&te.createElement("i",{className:`${an.checkboxitemyes} icon-duigou1`}),te.createElement(ya.Z,{className:_t!=null&&_t.is_answer?an.titleyes:an.title,value:Dn[Fa]+(_t==null?void 0:_t.choice_text)}),(_t==null?void 0:_t.is_answer)&&te.createElement("div",{className:an.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ft==null?void 0:Ft.question_type)===3&&te.createElement("div",{className:an.completion},(wt=Ft==null?void 0:Ft.standard_answer)==null?void 0:wt.map((_t,Fa)=>{var pr;return te.createElement("div",{style:{display:"flex"}},te.createElement("span",{className:an.title},"\u586B\u7A7A\u9879",Fa+1),te.createElement("div",{className:an.content},(pr=_t==null?void 0:_t.answer_text)==null?void 0:pr.map((vi,na)=>te.createElement("div",{className:an.items},vi))))})),(Ft==null?void 0:Ft.question_type)===4&&te.createElement("div",{className:an.simple},te.createElement("div",{className:an.title},"\u53C2\u8003\u7B54\u6848"),te.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(kt=Ft==null?void 0:Ft.answer_texts)!=null&&kt[0]?te.createElement(ya.Z,{className:an.content,value:(Bt=Ft==null?void 0:Ft.answer_texts)==null?void 0:Bt[0]}):te.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(Ft==null?void 0:Ft.question_type)===5&&((gn=Ft==null?void 0:Ft.challenge_names)==null?void 0:gn.map((_t,Fa)=>te.createElement("div",{className:an.shixun},te.createElement("span",{className:an.qtitle},te.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,ee.EM)(Fa+1),"\u9898"),_t)))),(Ft==null?void 0:Ft.question_type)===6&&te.createElement("div",{className:an.program},te.createElement(ya.Z,{className:an.content,value:((Hn=Ft==null?void 0:Ft.program_attr)==null?void 0:Hn.description)||"- -"})),(Ft==null?void 0:Ft.question_type)===7&&((oa=Ft==null?void 0:Ft.sub_item_banks)==null?void 0:oa.map((_t,Fa)=>{var pr,vi,na,wo,Tr;return te.createElement("div",null,te.createElement("div",{className:an.combination},te.createElement("span",{className:an.qtitle},_t==null?void 0:_t.name)),te.createElement("div",{className:an.warp,style:{padding:"0px",paddingTop:20}},te.createElement("div",null,((_t==null?void 0:_t.item_type)=="SINGLE"||(_t==null?void 0:_t.item_type)=="JUDGMENT")&&((pr=_t==null?void 0:_t.choices)==null?void 0:pr.map((ho,Ao)=>te.createElement("div",{className:an.redio},!(ho!=null&&ho.is_answer)&&te.createElement("span",{className:an.redioitem}),(ho==null?void 0:ho.is_answer)&&te.createElement("i",{className:`${an.redioitemyes} icon-duigou1`}),te.createElement(ya.Z,{className:ho!=null&&ho.is_answer?an.titleyes:an.title,value:Dn[Ao]+(ho==null?void 0:ho.choice_text)}),(ho==null?void 0:ho.is_answer)&&te.createElement("div",{className:an.yestag},"\u6B63\u786E\u7B54\u6848")))),(_t==null?void 0:_t.item_type)=="MULTIPLE"&&((vi=_t==null?void 0:_t.choices)==null?void 0:vi.map((ho,Ao)=>te.createElement("div",{className:an.checkbox},!(ho!=null&&ho.is_answer)&&te.createElement("span",{className:an.checkboxitem}),(ho==null?void 0:ho.is_answer)&&te.createElement("i",{className:`${an.checkboxitemyes} icon-duigou1`}),te.createElement(ya.Z,{className:ho!=null&&ho.is_answer?an.titleyes:an.title,value:Dn[Ao]+(ho==null?void 0:ho.choice_text)}),(ho==null?void 0:ho.is_answer)&&te.createElement("div",{className:an.yestag},"\u6B63\u786E\u7B54\u6848")))),(_t==null?void 0:_t.item_type)=="COMPLETION"&&te.createElement("div",{className:an.completion},(na=_t==null?void 0:_t.standard_answer)==null?void 0:na.map((ho,Ao)=>{var _o;return te.createElement("div",{style:{display:"flex"}},te.createElement("span",{className:an.title},"\u586B\u7A7A\u9879",Ao+1),te.createElement("div",{className:an.content},(_o=ho==null?void 0:ho.answer_text)==null?void 0:_o.map((ji,Eo)=>te.createElement("div",{className:an.items},ji))))})),(_t==null?void 0:_t.item_type)=="SUBJECTIVE"&&te.createElement("div",{className:an.simple},te.createElement("div",{className:an.title},"\u53C2\u8003\u7B54\u6848"),te.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(wo=_t==null?void 0:_t.answer_texts)!=null&&wo[0]?te.createElement(ya.Z,{className:an.content,value:(Tr=_t==null?void 0:_t.answer_texts)==null?void 0:Tr[0]}):te.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(Ft==null?void 0:Ft.question_type)===8&&te.createElement("div",null,te.createElement(ya.Z,{disabledFill:!0,className:an.content,showProgramFill:!0,value:da.Base64.decode(((Cr=Ft==null?void 0:Ft.program_attr)==null?void 0:Cr.code)||"")})),(Ft==null?void 0:Ft.question_type)===5&&te.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},te.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},te.createElement("div",{style:{marginRight:30}},te.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),te.createElement("span",{style:{color:"#000000"}},(Ft==null?void 0:Ft.author_name)||"- -")),te.createElement("div",{style:{marginRight:30}},te.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),te.createElement("span",{style:{color:"#000000"}},(Ft==null?void 0:Ft.author_school_name)||"- -")),te.createElement("div",{style:{marginRight:30}},te.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),te.createElement("span",{style:{color:"#000000"}},(Ft==null?void 0:Ft.study_count)||"0"))),te.createElement("a",{className:an.shixunbutton,href:`/shixuns/${Ft==null?void 0:Ft.identifier}/challenges?exercise=true`,target:"_blank"},te.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((Ft==null?void 0:Ft.question_type)<=4||[6,8].includes(Ft==null?void 0:Ft.question_type))&&te.createElement("div",{className:an.bottom},te.createElement("div",{className:an.bottomitem},te.createElement("span",{className:an.left},"\u89E3\u6790"),te.createElement("span",{className:an.right},Ft!=null&&Ft.analysis?te.createElement(ya.Z,{value:Ft==null?void 0:Ft.analysis}):te.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),te.createElement("div",{className:an.bottomitem},te.createElement("span",{className:an.left},"\u96BE\u5EA6"),te.createElement("span",{className:an.right},(Ft==null?void 0:Ft.difficulty)===1?"\u7B80\u5355":(Ft==null?void 0:Ft.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),te.createElement("div",{className:an.bottomitem},te.createElement("span",{className:an.left},"\u77E5\u8BC6\u70B9"),te.createElement("span",{className:an.right},Ft!=null&&Ft.tag_discipline?Ft==null?void 0:Ft.tag_discipline:te.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},tn=z(36913),vn=z(57971),Vt=z(38244),La=z(17663),En=z(67294),Ea=Object.defineProperty,Ia=Object.defineProperties,Ta=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,Qn=(Ft,Kn,ua)=>Kn in Ft?Ea(Ft,Kn,{enumerable:!0,configurable:!0,writable:!0,value:ua}):Ft[Kn]=ua,xt=(Ft,Kn)=>{for(var ua in Kn||(Kn={}))Rt.call(Kn,ua)&&Qn(Ft,ua,Kn[ua]);if(gt)for(var ua of gt(Kn))tr.call(Kn,ua)&&Qn(Ft,ua,Kn[ua]);return Ft},wn=(Ft,Kn)=>Ia(Ft,Ta(Kn)),Za=(Ft,Kn,ua)=>new Promise((Fn,wt)=>{var kt=Hn=>{try{gn(ua.next(Hn))}catch(oa){wt(oa)}},Bt=Hn=>{try{gn(ua.throw(Hn))}catch(oa){wt(oa)}},gn=Hn=>Hn.done?Fn(Hn.value):Promise.resolve(Hn.value).then(kt,Bt);gn((ua=ua.apply(Ft,Kn)).next())});const Nn=({setScoreShow:Ft,ScoreShow:Kn,onOk:ua,isshixuns:Fn,isloadings:wt,dispatch:kt,selectedIds:Bt,user:gn,virtualId:Hn,shixunsDetail:oa})=>{var Cr;let[_t,Fa]=(0,te.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[pr,vi]=(0,te.useState)([]),[na,wo]=(0,te.useState)([]),[Tr,ho]=(0,te.useState)([]),[Ao,_o]=(0,te.useState)([]);const[ji,Eo]=(0,te.useState)(!1),[Wi]=ce.default.useForm(),[dl,ml]=(0,te.useState)(),[tl,nl]=(0,te.useState)(!1);let[li,bl]=(0,te.useState)(Fn);const[ba,wu]=(0,te.useState)([]),[Dl,hi]=(0,te.useState)(0),[Ql,ir]=(0,te.useState)(!0),[$r,Ho]=(0,te.useState)([]),[Yr,Ji]=(0,te.useState)([]),Nr=[{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}],[Wo,oo]=(0,te.useState)([]),ci=(0,te.useRef)(new Set),Ti=(0,te.useRef)(new Set),jo=(0,te.useRef)(1),Ei=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Xl=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],kl=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[eu,ou]=(0,te.useState)(!1),xu=()=>{Wi.resetFields(),li=!1,bl(!1),ou(!1),Wi.submit()};(0,te.useEffect)(()=>{Kn&&(Wi.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),Ql&&li&&(Wi.setFieldsValue({item_type:"SHIXUN"}),_t.item_type="SHIXUN",Fa(xt({},_t)),ir(!1)),_t.type="0",wo(Bt),ho(Bt),Ti.current=new Set(Bt),Zi(_t),Sl(),Jl({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Au())},[Kn]),console.log(na,Tr,"listitems"),(0,te.useEffect)(()=>{Dl>0&&setTimeout(()=>{hi(0)},2e3)},[Dl]);function Zi(Ue){return Za(this,null,function*(){var st,dt,pt;if(Eo(!0),Fa(xt({},Ue)),(Tr==null?void 0:Tr.length)<=0&&Ue.type==="5"){_o([]),Eo(!1);return}let bt=Ue.type==="5"?Tr==null?void 0:Tr.filter(ea=>!ba.includes(ea)):null,yn=Ue.type==="5"?Tr==null?void 0:Tr.filter(ea=>ba.includes(ea)):null;jo.current=jo.current+1;const hn=jo.current;Ue.group_id=((st=Ue.group_id)==null?void 0:st.map(ea=>ea==null?void 0:ea.value))||null;let qn=yield(0,Qt.ZP)("/api/item_banks.json",{method:"get",params:wn(xt({},Ue),{discipline_id:((dt=Ue==null?void 0:Ue.courseid)==null?void 0:dt[0])||null,sub_discipline_id:((pt=Ue==null?void 0:Ue.courseid)==null?void 0:pt[1])||null,ids:bt,shixun_ids:yn,include_shixuns:!0,keyword:Ue.keyword?encodeURIComponent(Ue.keyword):Ue.keyword,type:Ue.type==="5"?null:Ue.type,clazz:Ue.type==="3"?"ItemBanksGroup":null})});jo.current===hn&&(_o(qn),Eo(!1))})}function Sl(){return Za(this,null,function*(){let Ue=yield(0,Qt.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:_t.type==="5"?null:_t.type,clazz:"ItemBanksGroup"}});vi((0,zn.L)(Ue==null?void 0:Ue.disciplines))})}function Jl(Ue){return Za(this,null,function*(){var st;let dt=yield(0,Qt.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Ue}),pt=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(st=dt==null?void 0:dt.data)==null?void 0:st.map(bt=>({title:bt.name,id:bt.id,pid:bt.id,value:bt.id,key:bt.id,isLeaf:!bt.have_child}))}];Ho(pt)})}function Au(){return Za(this,null,function*(){let Ue=yield(0,Vt.Dm)({});(Ue==null?void 0:Ue.status)===0&&Ji(Ue==null?void 0:Ue.groups)})}function Ju(Ue){return Za(this,null,function*(){var st,dt,pt,bt;Eo(!0);let yn=(st=Ue.list)==null?void 0:st.filter(ea=>!ba.includes(ea)),hn=(dt=Ue.list)==null?void 0:dt.filter(ea=>ba.includes(ea));if(yn.length===0&&hn.length===0){Eo(!1),_o([]);return}let qn=yield(0,Qt.ZP)("/api/item_banks.json",{method:"get",params:wn(xt({},Ue),{discipline_id:((pt=Ue==null?void 0:Ue.courseid)==null?void 0:pt[0])||null,sub_discipline_id:((bt=Ue==null?void 0:Ue.courseid)==null?void 0:bt[1])||null,ids:yn,shixun_ids:hn,type:Ue.type==="5"?null:Ue.type,clazz:Ue.type==="3"?"ItemBanksGroup":null})});Eo(!1),_o(qn)})}const ve=Ue=>Za(void 0,null,function*(){const st=yield kt({type:"shixunsDetail/release",payload:{id:Ue}});let dt=st==null?void 0:st.tag_position,pt=(st==null?void 0:st.evaluation_set_position)||[],bt=st.status;return bt===0?(a.ZP.success("\u53D1\u5E03\u6210\u529F"),Zi(_t),!0):(bt===2?a.ZP.error(`\u7B2C${pt.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):bt===3?a.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${dt.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):a.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),Ee=Ue=>(Ue==null?void 0:Ue.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Ve=()=>ji?"\u6682\u65E0\u6570\u636E":_t.type==="3"&&!(Yr!=null&&Yr.length)?En.createElement("span",null,"\u4F60\u8FD8\u672A\u52A0\u5165\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u5148 ",En.createElement("span",{onClick:()=>{var Ue;return(0,ee.xg)(`/users/${(Ue=gn==null?void 0:gn.userInfo)==null?void 0:Ue.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):_t.type==="0"&&(Ao==null?void 0:Ao.items_count)===0&&!(_t!=null&&_t.tag_discipline_id)&&!(_t!=null&&_t.difficulty)&&!(_t!=null&&_t.keyword)&&!(_t!=null&&_t.group_id)&&!(_t!=null&&_t.difficulty)?En.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",En.createElement("span",{onClick:()=>{(0,ee.xg)(`/problems/newcreate?&pageId=${Hn}`),Ft(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",be=(Ue,st,dt)=>Ue.map(pt=>pt.key===st?xt(xt({},pt),dt):pt.children?wn(xt({},pt),{children:be(pt.children,st,dt)}):pt),ft=Ue=>Za(void 0,null,function*(){const{key:st}=Ue;let dt=_t.type;const pt=yield(0,Vt.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(st),type:dt}),{data:bt,total_count:yn}=pt||{};yn>0&&Ho(hn=>be(hn,st,{children:bt.map(qn=>({title:qn.name,id:qn.id,pid:qn.id,value:qn.id,key:qn.id,isLeaf:!qn.have_child}))}))});return En.createElement("div",null,En.createElement(Oe.default,{title:!1,footer:!1,open:Kn,width:1200,centered:!0,className:ke.scoremodal,onCancel:()=>{Ft(!1)}},En.createElement("div",{style:{display:"flex",alignItems:"center"}},En.createElement("div",{className:ke.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),En.createElement(yt.default,{className:ke.tabWrap,activeKey:_t.type,onChange:Ue=>{Ue==="3"?(_t.show_all_share=!0,Jl({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):_t.show_all_share=null,Ue==="0"&&Jl({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),_t.type=Ue,_t.page=1,_t.updated_at="",_t.quotes="",_t.courseid="",_t.tag_discipline_id=null,_t.difficulty=null,_t.keyword=null,_t.group_id=null,_t.teach_group_id=null,Wi.setFieldsValue({courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(_t==null?void 0:_t.item_type)==="SHIXUN"&&_t.type!=="5"&&(li=!0,bl(!0)),ou(!1),_t.type==="5"&&(li=!1,bl(!1)),Fa(xt({},_t)),Zi(xt({},_t)),Sl()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u516C\u5171",key:"1"},{label:En.createElement("div",null,"\u5DF2\u9009",Tr.length>0&&En.createElement("span",{className:ke.titlecount},Tr.length),Dl>0&&En.createElement("span",{className:ke.add},"+",Dl)),key:"5"}]}),En.createElement(ce.default,{layout:"inline",form:Wi,onValuesChange:(Ue,st)=>{const dt=Object.values(st).some(bt=>bt!==null&&bt!==""&&bt!==void 0),pt=st.keyword==="";if(ou(dt||!pt),_t.page=1,(st==null?void 0:st.item_type)==="SHIXUN"){if(_t.type==="5"?bl(!1):bl(!0),Ue.keyword||Ue.keyword==="")return;Wi.submit()}else{if(Ue!=null&&Ue.courseid&&Wi.setFieldsValue({tag_discipline_id:""}),bl(!1),Ue.keyword||Ue.keyword==="")return;Wi.submit()}},onFinish:Ue=>{var st;_t.type==="3"&&(!Ue.group_id||((st=Ue==null?void 0:Ue.group_id)==null?void 0:st.length)===0)?_t.show_all_share=!0:_t.show_all_share=null,Fa(xt(xt({},_t),Ue)),Zi(xt(xt({},_t),Ue))}},En.createElement(ce.default.Item,{name:"courseid"},En.createElement(It.Z,{className:ke.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:pr})),!li&&En.createElement(ce.default.Item,{name:"tag_discipline_id"},En.createElement(Kt.default,{className:ke.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Cr=Ao==null?void 0:Ao.tag_disciplines)==null?void 0:Cr.map(Ue=>En.createElement(Kt.default.Option,{key:Ue.id},Ue.name)))),En.createElement(ce.default.Item,{name:li?"diff":"difficulty"},En.createElement(Kt.default,{className:ke.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!li&&Ei.map(Ue=>En.createElement(Kt.default.Option,{key:Ue.value},Ue.name)),li&&Xl.map(Ue=>En.createElement(Kt.default.Option,{key:Ue.value},Ue.name)))),li&&En.createElement(ce.default.Item,{name:"shixun_publish_status"},En.createElement(Kt.default,{className:ke.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},kl.map(Ue=>En.createElement(Kt.default.Option,{key:Ue.value},Ue.name)))),_t.type==="3"&&!li&&En.createElement(ce.default.Item,{name:"teach_group_id"},En.createElement(Kt.default,{className:ke.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(Ue,st)=>(console.log("---",Ue,st),st.children.toUpperCase().indexOf(Ue.toUpperCase())!==-1)},Yr==null?void 0:Yr.map(Ue=>En.createElement(Kt.default.Option,{key:Ue.group_id},Ue.name)))),(_t.type==="3"||_t.type==="0")&&!li&&En.createElement(ce.default.Item,{name:"group_id"},En.createElement(An.default,{treeDataSimpleMode:!0,style:{width:118},className:ke.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(Ue,st)=>st.title.toUpperCase().indexOf(Ue.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:ft,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:$r})),eu&&En.createElement("span",{className:ke.allqingchu,onClick:xu},En.createElement("i",{className:"iconfont icon-guanbi4"}),En.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),En.createElement(ce.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},En.createElement(Re.default.Search,{className:ke.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u9898\u7F16\u53F7\u6216\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:En.createElement("i",{className:`iconfont icon-sousuo9 font14 ${ke.searchIcon}`,onClick:()=>Wi.submit()}),onSearch:Ue=>{Wi.submit()}}))),En.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},En.createElement("div",{onClick:()=>{_t.updated_at==="asc"?_t.updated_at="desc":_t.updated_at="asc",Fa(wn(xt({},_t),{page:1})),Zi(wn(xt({},_t),{page:1}))}}," ",_t.updated_at?En.createElement("img",{src:_t.updated_at==="asc"?tn.Z:vn.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):En.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),En.createElement("div",{onClick:()=>{_t.quotes==="asc"?_t.quotes="desc":_t.quotes="asc",Fa(wn(xt({},_t),{page:1})),Zi(wn(xt({},_t),{page:1}))},style:{marginLeft:20}}," ",_t.quotes?En.createElement("img",{src:_t.quotes==="asc"?tn.Z:vn.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):En.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),En.createElement(Ye.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ao==null?void 0:Ao.items)||(Ao==null?void 0:Ao.shixun_list),pagination:!1,locale:{emptyText:En.createElement(Le.Z,{styles:{margin:"18px auto"},customText:Ve()})},loading:ji,rowKey:Ue=>Ue.id,rowSelection:{type:"checkbox",selectedRowKeys:na,getCheckboxProps:Ue=>({disabled:Ue.shixun_tag_num===1}),onSelect(Ue,st,dt){if(st)li&&wu([...ba,Ue.id]),wo([...na,Ue.id]),oo([...Wo,Ue]),Ue.identifier?ci.current.add(Ue.id):Ti.current.add(Ue.id),hi(1),ho([...Tr,Ue.id]);else{const pt=Wo.filter(hn=>hn.id!==Ue.id);oo(pt);const bt=pt.map(hn=>hn.id);wo([...bt]),Ue.identifier?ci.current.delete(Ue.id):Ti.current.delete(Ue.id);let yn=Tr.filter(hn=>hn!==Ue.id);if(ho(yn),li){let hn=ba.filter(qn=>qn!==Ue.id);wu([...hn])}if(_t.type==="5"){Ju(wn(xt({},_t),{list:[...yn]}));return}}},onSelectAll(Ue,st,dt){if(Ue){const pt=dt.map(bt=>bt.id);li&&wu([...ba,...pt]),oo([...Wo,...dt]),wo([...na,...pt]),ho([...Tr,...pt]);for(const bt of dt)bt.identifier?ci.current.add(bt.id):Ti.current.add(bt.id)}else{const pt=dt.map(hn=>hn.id),bt=na.filter(hn=>!pt.some(qn=>qn===hn)),yn=Wo.filter(hn=>!pt.some(qn=>qn===hn.id));if(oo(yn),wo([...bt]),ho([...bt]),li){let hn=ba.filter(qn=>!pt.some(ea=>ea===qn.id));wu([...hn])}_t.type==="5"&&Ju(wn(xt({},_t),{list:[...bt]}));for(const hn of pt)hn.identifier?ci.current.delete(hn):Ti.current.delete(hn)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(Ue,st,dt)=>{const pt=`No.${Ue}`;return En.createElement(De.Z,{title:pt},En.createElement("span",null,pt))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:li?"30%":"60%",key:"name",render:(Ue,st,dt)=>{var pt;return En.createElement(De.Z,{title:Ee(st)},En.createElement("span",null,En.createElement(ya.Z,{key:1,showLines:1,showTextOnly:!0,value:li||st!=null&&st.challenge_names?st!=null&&st.title||Ue===null?"--":Ue:(st==null?void 0:st.item_type)=="BPROGRAM"?(pt=st==null?void 0:st.program_attr)==null?void 0:pt.description:Ue})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(Ue,st,dt)=>En.createElement(De.Z,{title:Ue},En.createElement("span",null,Ue||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!li,render:(Ue,st,dt)=>{var pt;return En.createElement(De.Z,{title:Ee(st)},En.createElement("span",null,Ue?(pt=Ue==null?void 0:Ue.split("\u3001"))==null?void 0:pt[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!li,render:(Ue,st,dt)=>En.createElement(De.Z,{title:Ee(st)},En.createElement("span",null,Ue||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(Ue,st,dt)=>{var pt,bt,yn,hn;return En.createElement(De.Z,{title:Ee(st)},En.createElement("div",null,li||st!=null&&st.challenge_names?(st==null?void 0:st.level)||((bt=(pt=Ei==null?void 0:Ei.filter(qn=>qn.value===Ue))==null?void 0:pt[0])==null?void 0:bt.name):(hn=(yn=Ei==null?void 0:Ei.filter(qn=>qn.value===Ue))==null?void 0:yn[0])==null?void 0:hn.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!li,render:(Ue,st,dt)=>En.createElement(De.Z,{title:Ee(st)},En.createElement("div",null,Ue||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(Ue,st,dt)=>En.createElement(De.Z,{title:Ee(st)},En.createElement("div",null,li||st!=null&&st.challenge_names?(st==null?void 0:st.study_count)||(st==null?void 0:st.stu_num):Ue))},{title:En.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",En.createElement(De.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},En.createElement(La.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!li,render:(Ue,st,dt)=>En.createElement(De.Z,{title:Ee(st)},En.createElement("div",null,Ue||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(Ue,st,dt)=>En.createElement(De.Z,{title:Ee(st)},En.createElement("div",{style:{flex:1,textAlign:"start"}},En.createElement("a",{onClick:()=>{var pt,bt;ml(wn(xt({},st),{question_type:li||st!=null&&st.challenge_names?5:(bt=(pt=Nr==null?void 0:Nr.filter(yn=>yn.value===(st==null?void 0:st.item_type)))==null?void 0:pt[0])==null?void 0:bt.question_type})),nl(!0)}},"\u67E5\u770B"),(st==null?void 0:st.shixun_tag_num)===1&&En.createElement("a",{style:{marginLeft:10},onClick:()=>{Oe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:En.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",En.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${st==null?void 0:st.identifier}/challenges`)}},(st==null?void 0:st.shixun_name)||"--"),"\uFF1F"),onOk:()=>Za(void 0,null,function*(){if(!ve(st==null?void 0:st.identifier))return new Promise((pt,bt)=>{bt()})})})}},"\u53D1\u5E03")))}].filter(Ue=>!Ue.hidden)}),En.createElement(Pt.Z,{current:_t.page,total:(Ao==null?void 0:Ao.items_count)||(Ao==null?void 0:Ao.shixuns_count),style:{marginBottom:20},defaultPageSize:_t.per_page,hideOnSinglePage:!(Ao!=null&&Ao.items_count),showTotal:Ue=>En.createElement("span",null,"\u5171\xA0",En.createElement("span",{style:{color:"#165DFF"}},Ue),"\xA0\u6761\u6570\u636E"),pageSize:_t.per_page,onChange:(Ue,st)=>{_t.page=Ue,_t.per_page=st,Fa(xt({},_t)),Zi(xt({},_t))}}),En.createElement("div",{className:ke.bottom},En.createElement(We.ZP,{className:ke.no,onClick:()=>{Ft(!1)}},"\u53D6\u6D88"),En.createElement(We.ZP,{loading:wt,style:{width:wt&&75},className:ke.yes,onClick:()=>Za(void 0,null,function*(){if((Tr==null?void 0:Tr.length)<=0){a.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}ua([...Ti.current],[...ci.current],!0,Tr==null?void 0:Tr.length)})},"\u786E\u8BA4"))),En.createElement(Oe.default,{open:tl,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:ke.previewModal,width:1e3,centered:!0,onCancel:()=>{nl(!1)},onOk:()=>{nl(!1)}},En.createElement(nt,{qitem:dl})))};var mr=(0,re.connect)(({shixunsDetail:Ft,user:Kn})=>({shixunsDetail:Ft,user:Kn}))(Nn),Ka=z(12082),wa=z(27484),hr=z.n(wa),fn=z(67294),to=Object.defineProperty,Qr=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,Mr=Object.getOwnPropertySymbols,Po=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,qo=(Ft,Kn,ua)=>Kn in Ft?to(Ft,Kn,{enumerable:!0,configurable:!0,writable:!0,value:ua}):Ft[Kn]=ua,Pi=(Ft,Kn)=>{for(var ua in Kn||(Kn={}))Po.call(Kn,ua)&&qo(Ft,ua,Kn[ua]);if(Mr)for(var ua of Mr(Kn))ni.call(Kn,ua)&&qo(Ft,ua,Kn[ua]);return Ft},ki=(Ft,Kn)=>Qr(Ft,zo(Kn)),_i=(Ft,Kn)=>{var ua={};for(var Fn in Ft)Po.call(Ft,Fn)&&Kn.indexOf(Fn)<0&&(ua[Fn]=Ft[Fn]);if(Ft!=null&&Mr)for(var Fn of Mr(Ft))Kn.indexOf(Fn)<0&&ni.call(Ft,Fn)&&(ua[Fn]=Ft[Fn]);return ua},ta=(Ft,Kn,ua)=>new Promise((Fn,wt)=>{var kt=Hn=>{try{gn(ua.next(Hn))}catch(oa){wt(oa)}},Bt=Hn=>{try{gn(ua.throw(Hn))}catch(oa){wt(oa)}},gn=Hn=>Hn.done?Fn(Hn.value):Promise.resolve(Hn.value).then(kt,Bt);gn((ua=ua.apply(Ft,Kn)).next())});const Ya=({title:Ft,icon:Kn,className:ua,style:Fn,children:wt})=>fn.createElement("div",{className:Xe()(ie.card,ua),style:Fn},fn.createElement("div",{className:ie.head},fn.createElement("i",{className:Kn}),fn.createElement("b",null,Ft)),fn.createElement("div",{className:ie.element},wt)),Kr=Ft=>{var Kn=Ft,{value:ua,onChange:Fn}=Kn,wt=_i(Kn,["value","onChange"]);return fn.createElement(je.Z,ki(Pi({},wt),{defaultValue:ua,onChange:Fn}))},Yn=({value:Ft=[],onChange:Kn,params:ua,className:Fn})=>{const[wt,kt]=(0,te.useState)(!1),[Bt,gn]=(0,te.useState)([]),[Hn,oa]=(0,te.useState)(""),[Cr,_t]=(0,te.useState)([]),[Fa,pr]=(0,te.useState)("");(0,te.useEffect)(()=>{vi()},[]);function vi(){return ta(this,null,function*(){let na=yield(0,Qt.ZP)(`/api/courses/${ua==null?void 0:ua.coursesId}/teachers`,{method:"get",params:{homework_id:ua.categoryId,limit:1e3}});_t((na==null?void 0:na.teacher_list)||[])})}return fn.createElement(te.Fragment,null,fn.createElement("div",{className:Xe()(ie.collaborator,Fn)},Ft==null?void 0:Ft.map(na=>fn.createElement(se.Z,{align:"middle",className:`${ie.btn} ${Fa==(na==null?void 0:na.user_id)?ie.delBorder:""}`,key:na.user_id},fn.createElement("span",{className:"c-grey-333"},na==null?void 0:na.name),fn.createElement("span",{className:`iconfont icon-guanbi11 current ml20 c-grey-ccc ${ie.delSty}`,onMouseEnter:()=>{pr(na==null?void 0:na.user_id)},onMouseLeave:()=>{pr("")},onClick:()=>{const wo=Ft.filter(Tr=>Tr.user_id!==na.user_id);gn(wo.map(Tr=>Tr.user_id)),Kn(wo)}}))),fn.createElement(We.ZP,{className:ie.copHover,style:{height:38,padding:"6px 15px"},type:"primary",ghost:!0,onClick:()=>kt(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),fn.createElement(Oe.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:wt,onCancel:()=>kt(!1),onOk:()=>{const na=Cr.filter(wo=>Bt.includes(wo.user_id));Kn(na),kt(!1)},afterClose:()=>{oa("")}},fn.createElement(se.Z,{align:"middle"},fn.createElement("label",null,"\u59D3\u540D\uFF1A"),fn.createElement(Re.default.Search,{value:Hn,size:"middle",style:{flex:1},onChange:na=>oa(na.target.value)})),fn.createElement(Ye.default,{style:{marginTop:10,height:300,overflow:"auto"},rowSelection:{type:"checkbox",onChange:na=>{gn(na)},selectedRowKeys:Bt,getCheckboxProps:na=>({disabled:na.is_collaborator})},pagination:!1,rowKey:"user_id",size:"middle",dataSource:Cr.filter(na=>na.name.includes(Hn)),columns:[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u89D2\u8272",dataIndex:"role"}]})))};var la=()=>{var Ft;const Kn=(0,re.useParams)(),ua=(0,re.useDispatch)(),[Fn]=ce.default.useForm(),wt=ce.default.useWatch("hack_score_settings",Fn),kt=ce.default.useWatch("open_code",Fn),Bt=ce.default.useWatch("rank_forbidden",Fn),gn=ce.default.useWatch("hack_analysis",Fn),Hn=ce.default.useWatch("hack_answer",Fn),[oa,Cr]=(0,te.useState)([]),[_t,Fa]=(0,te.useState)({}),[pr,vi]=(0,te.useState)({course_end_date:null,manage_all_group:!0,send_type:0,can_publish:!0,difficult_settings:[],difficult_count:[],unified_setting:!0}),[na,wo]=(0,te.useState)(!0),[Tr,ho]=(0,te.useState)(!1),[Ao,_o]=(0,te.useState)(!1),[ji,Eo]=(0,te.useState)({}),[Wi,dl]=(0,te.useState)(!1),[ml,tl]=(0,te.useState)(!1),nl=(0,te.useRef)(!1),li=(0,te.useRef)(String(Math.random()).slice(-6)),bl=(Ft=window.location.pathname)==null?void 0:Ft.includes("add");(0,te.useEffect)(()=>(window.addEventListener("visibilitychange",ba),()=>{window.removeEventListener("visibilitychange",ba)}),[oa,ji]),(0,te.useEffect)(()=>(ua({type:"globalSetting/footerToggle",payload:!1}),()=>{ua({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,te.useEffect)(()=>{oa.length&&wt!==void 0&&$r()},[wt,JSON.stringify(oa==null?void 0:oa.map(Nr=>Nr.id+Nr.hack_score))]),(0,te.useEffect)(()=>{wu(),bl?wo(!1):Dl()},[]);const ba=()=>ta(void 0,null,function*(){var Nr;if(document.visibilityState==="visible"){tl(!0);let Wo=oa.map(Ti=>Ti.id),oo=localStorage.getItem(li.current);oo&&(oo=JSON.parse(oo),oo=Array.isArray(oo)?oo:[],Wo=[...Wo,...oo],localStorage.removeItem(li.current));const ci=yield(0,Qt.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:Wo.length?Wo:-1,homework_common_id:bl?null:ji==null?void 0:ji.homework_id}});if(ci!=null&&ci.items){const Ti=(Nr=ci==null?void 0:ci.items)==null?void 0:Nr.map(jo=>{const Ei=oa.find(Xl=>Xl.id===jo.id);return Ei?ki(Pi({},jo),{hack_score:Ei.hack_score}):jo});Cr(Ti)}tl(!1)}}),wu=()=>ta(void 0,null,function*(){const Nr=yield(0,Qt.ZP)(`/api/courses/${Kn.coursesId}/homework_commons/new.json`,{method:"get",params:{category:Kn==null?void 0:Kn.categoryId,type:5}});Nr!=null&&Nr.course_name&&Fa(Nr)}),Dl=()=>ta(void 0,null,function*(){var Nr,Wo;const oo=yield(0,Qt.ZP)(`/api/homework_commons/${Kn==null?void 0:Kn.categoryId}/edit_hack.json`,{method:"get"});if((oo==null?void 0:oo.status)===0){const ci=(Nr=oo==null?void 0:oo.collaborators_data)==null?void 0:Nr.map(jo=>({user_id:jo.id,name:jo.real_name}));Fn.setFieldsValue(ki(Pi({},oo),{user_ids:ci,rank_forbidden_start:oo!=null&&oo.rank_forbidden_start?hr()(oo==null?void 0:oo.rank_forbidden_start):"",rank_forbidden_end:oo!=null&&oo.rank_forbidden_end?hr()(oo==null?void 0:oo.rank_forbidden_end):""}));const Ti=(Wo=oo==null?void 0:oo.items)==null?void 0:Wo.map((jo,Ei)=>{var Xl,kl;return ki(Pi({},jo),{hack_score:(kl=(Xl=oo==null?void 0:oo.hack_settings)==null?void 0:Xl[Ei])==null?void 0:kl.hack_score})});Cr(Ti||[]),Eo(Pi({},oo))}wo(!1)}),hi=()=>{let Nr=`/classrooms/${Kn==null?void 0:Kn.coursesId}/program_homework`;return bl||(Nr=`/classrooms/${Kn==null?void 0:Kn.coursesId}/program_homework/${Kn==null?void 0:Kn.categoryId}/detail`),Nr},Ql=[{name:(_t==null?void 0:_t.course_name)||"",path:`/classrooms/${_t==null?void 0:_t.course_id}/program_homework`},{name:bl?"\u7F16\u7A0B\u4F5C\u4E1A":ji==null?void 0:ji.name,path:hi()},{name:(bl?"\u65B0\u5EFA":"\u7F16\u8F91")+"\u7F16\u7A0B\u4F5C\u4E1A"}],ir=[{title:"\u5E8F\u53F7",dataIndex:"index",width:80,render:(Nr,Wo,oo)=>oo+1},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,render:Nr=>fn.createElement(De.Z,{placement:"topLeft",title:Nr},fn.createElement("span",null,Nr||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(Nr,Wo,oo)=>fn.createElement(de.Z,{disabled:wt!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:Nr,onChange:ci=>{oa[oo].hack_score=ci;const Ti=oa.reduce((jo,Ei)=>jo+Number(Ei.hack_score||0),0);Fn.setFieldsValue({total_score:Ti.toFixed(2)}),Cr([...oa])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:Nr=>fn.createElement("span",null,Nr===1?"\u7B80\u5355":Nr===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:Nr=>fn.createElement(De.Z,{placement:"topLeft",title:Nr},fn.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},Nr||"--"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes"},{title:"\u64CD\u4F5C",dataIndex:"action",width:146,render:(Nr,Wo)=>fn.createElement("span",null,fn.createElement("span",{onClick:()=>ta(void 0,null,function*(){var oo;ua({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let ci=yield(0,Qt.ZP)(`/api/problems/${(oo=Wo==null?void 0:Wo.program_attr)==null?void 0:oo.identifier}/start.json`,{method:"get"});(ci==null?void 0:ci.status)===0&&(0,ee.xg)(`/myproblems/${ci==null?void 0:ci.identifier}?type=1&pageId=edit&backUrl=${hi()}`),ua({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),fn.createElement("span",{onClick:()=>{var oo;return(0,ee.xg)(`/problems/newedit/${(oo=Wo==null?void 0:Wo.program_attr)==null?void 0:oo.identifier}?type=1&pageId=edit&backUrl=${window.location.pathname}`)},className:"c-light-primary current mr20 ml20"},"\u7F16\u8F91"),fn.createElement("span",{onClick:()=>{const oo=oa.filter(ci=>ci.id!==Wo.id);Cr(oo),a.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],$r=()=>{const Nr=[...oa],Wo=Fn.getFieldValue("total_score"),oo=Nr==null?void 0:Nr.length;let ci=0,Ti;switch(wt){case 0:const jo=(Wo/oo).toFixed(2);Nr.map((Sl,Jl)=>{ci=Jl,Sl.hack_score=jo>0?jo:0}),Ti=(Wo-jo*(oo-1)).toFixed(2),Nr[ci].hack_score=Ti>0?Ti:0;break;case 1:const Ei=[0,1,3,6];let Xl=0;const kl=Nr.filter(Sl=>Sl.difficulty===1).length*Ei[1],eu=Nr.filter(Sl=>Sl.difficulty===2).length*Ei[2],ou=Nr.filter(Sl=>Sl.difficulty===3).length*Ei[3],xu=Wo/(kl+eu+ou);Nr.map((Sl,Jl)=>{ci=Jl,Sl.hack_score=(Ei[Sl.difficulty]*xu).toFixed(2),Xl=Xl+Number(Sl.hack_score)});let Zi=Nr[ci].hack_score;Ti=(Wo-Xl+Number(Zi)).toFixed(2),Nr[ci].hack_score=Ti>0?Ti:0;break}Cr(Nr)},Ho=Nr=>{nl.current=Nr,Fn.submit()},Yr=Nr=>ta(void 0,null,function*(){var Wo;if(!oa.length){a.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),Fn.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}dl(!0);const oo=[],ci=oa.map(Ei=>(oo.push(Ei.hack_id),{hack_id:Ei.hack_id,hack_name:Ei.name,hack_score:Ei.hack_score,difficult:Ei.difficulty})),Ti=(Wo=Nr==null?void 0:Nr.user_ids)==null?void 0:Wo.map(Ei=>Ei.user_id),jo=yield(0,Qt.ZP)(`/api/courses/${Kn.coursesId}/homework_commons/create_hack_homework.json`,{method:"post",body:ki(Pi({},Nr),{category:bl?Number(Kn==null?void 0:Kn.categoryId):null,homework_id:bl?null:ji==null?void 0:ji.homework_id,hack_settings:ci,user_ids:Ti,hack_ids:oo})});if((jo==null?void 0:jo.status)===0)if(a.ZP.success("\u4FDD\u5B58\u6210\u529F"),nl.current){const Ei=Pi({},jo);vi(Ei),ua({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[jo==null?void 0:jo.id],selectArrsAll:[Ei],params:Kn,detail:!0,type:2,manage_all_group:Ei==null?void 0:Ei.manage_all_group}})}else re.history.push(`/classrooms/${Kn.coursesId}/program_homework/${jo==null?void 0:jo.id}/detail`);dl(!1)}),Ji=Nr=>ta(void 0,null,function*(){if(!Nr.length){a.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898");return}if(Nr.length>200){a.ZP.warning("\u7F16\u7A0B\u9898\u6570\u91CF\u4E0D\u5F97\u8D85\u8FC7200\u9053");return}const Wo=[],oo=oa.map(jo=>{var Ei;return(Ei=jo.program_attr)==null?void 0:Ei.origin_item_bank_id}),ci=[];Nr.forEach(jo=>{if(oo.includes(jo)){const Ei=oa.find(Xl=>{var kl;return((kl=Xl.program_attr)==null?void 0:kl.origin_item_bank_id)===jo});ci.push(Ei)}else Wo.push(jo)}),_o(!0);const Ti=yield(0,Qt.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:Wo}});if(Ti!=null&&Ti.items){const jo=[...ci,...Ti==null?void 0:Ti.items];if(wt===2){const Ei=jo.reduce((Xl,kl)=>Xl+Number(kl.hack_score||0),0);Fn.setFieldsValue({total_score:Ei.toFixed(2)})}Cr(jo),ho(!1)}_o(!1)});return fn.createElement("div",{className:ie.wrap},fn.createElement(y.Z,{spinning:na},fn.createElement("div",{className:ie.center},fn.createElement(ze._b,{dataSource:Ql,className:"mb20"}),fn.createElement(ce.default,{form:Fn,preserve:!1,onValuesChange:Nr=>{"total_score"in Nr&&$r()},onFinishFailed:Nr=>ta(void 0,null,function*(){var Wo,oo;a.ZP.error(Nr.errorFields[0].errors[0]),Fn.scrollToField((oo=(Wo=Nr==null?void 0:Nr.errorFields)==null?void 0:Wo[0])==null?void 0:oo.name,{behavior:"smooth",block:"center"})}),onFinish:Yr,colon:!1,size:"large"},fn.createElement(Ya,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},fn.createElement(ce.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"},{whitespace:!0,message:"\u4F5C\u4E1A\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},fn.createElement(Re.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),fn.createElement(ce.default.Item,{labelCol:{flex:"81px"},label:"\u4F5C\u4E1A\u8BF4\u660E",name:"description",initialValue:"",rules:[{max:5e4,message:"\u4F5C\u4E1A\u8BF4\u660E\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26"}]},fn.createElement(Kr,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0}))),fn.createElement(Ya,{className:"mb20",title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},fn.createElement(ce.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},fn.createElement(b.default.Group,null,fn.createElement(b.default,{value:"c"},"C\u8BED\u8A00"),fn.createElement(b.default,{value:"c++"},"C++\u8BED\u8A00"),fn.createElement(b.default,{value:"java"},"Java\u8BED\u8A00"),fn.createElement(b.default,{value:"python"},"Python\u8BED\u8A00"))),fn.createElement(se.Z,{align:"middle"},fn.createElement(ce.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},fn.createElement(de.Z,{precision:1,disabled:wt===2,min:0,style:{width:223},addonAfter:"\u5206"})),fn.createElement(ce.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},fn.createElement(de.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),fn.createElement(ce.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},fn.createElement(E.ZP.Group,null,fn.createElement(E.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),fn.createElement(E.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),fn.createElement(E.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),fn.createElement(se.Z,{align:"middle"},fn.createElement("span",null,"\u9898\u76EE\u5217\u8868"),fn.createElement(We.ZP,{onClick:()=>ho(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),fn.createElement(We.ZP,{onClick:()=>(0,ee.xg)(`/problems/newcreate?pageId=${li.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),fn.createElement("div",{className:ie.tip},fn.createElement("i",{className:"iconfont icon-tishi12 mr5 font14"}),"\u63D0\u793A\uFF1A\u53EF\u4EE5\u70B9\u51FB\u201C\u7F16\u8F91\u201D\u5BF9\u8BE5\u8BD5\u9898\u7684\u6D4B\u8BD5\u7528\u4F8B/\u521D\u59CB\u4EE3\u7801\u8FDB\u884C\u4FEE\u6539\uFF0C\u4FEE\u6539\u7684\u5185\u5BB9\u5E76\u4E0D\u4F1A\u540C\u6B65\u5230\u8BD5\u9898\u5E93"),fn.createElement(ce.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},fn.createElement(un,{dataSource:oa,setDataSource:Cr,columns:ir,loading:ml}))),fn.createElement(Ya,{style:{marginBottom:100},title:"\u4F5C\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-zuoyeshezhi"},fn.createElement("div",{className:ie.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),fn.createElement("div",{className:`${ie.content} mb30`},fn.createElement(ce.default.Item,{name:"hack_rank_rule",noStyle:!0,initialValue:0},fn.createElement(E.ZP.Group,null,fn.createElement(E.ZP,{value:0},fn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),fn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),fn.createElement(E.ZP,{style:{marginLeft:40},value:1},fn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),fn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09"))))),fn.createElement("div",{className:`${ie.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),fn.createElement("div",{className:ie.content},fn.createElement(ce.default.Item,{name:"show_late_code",noStyle:!0,valuePropName:"checked",initialValue:!0},fn.createElement(b.default,null,fn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),fn.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")))),fn.createElement("div",{className:`${ie.title} mt30`},"\u516C\u5F00\u8BBE\u7F6E"),fn.createElement("div",{className:ie.content},fn.createElement(ce.default.Item,{name:"score_open",valuePropName:"checked",className:"mb0",initialValue:!1},fn.createElement(b.default,null,fn.createElement("span",{className:"c-black"},"\u516C\u5F00\u6210\u7EE9"),fn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u52FE\u9009\u540E\u5B66\u751F\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u540E\uFF0C\u53EF\u67E5\u770B\u5176\u4ED6\u5B66\u751F\u7684\u6210\u7EE9\uFF09"))),fn.createElement(ce.default.Item,{name:"open_code",valuePropName:"checked",className:"mb0",initialValue:!1},fn.createElement(b.default,null,fn.createElement("span",{className:"c-black"},"\u516C\u5F00\u4EE3\u7801"),fn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u53EF\u5728\u6392\u884C\u699C\u4E2D\u67E5\u770B\u4ED6\u4EBA\u8BD5\u9898\u901A\u8FC7\u4EE3\u7801\u8BE6\u60C5\uFF09"))),!!kt&&fn.createElement(ce.default.Item,{name:"open_code_type",className:"mb0 ml25",initialValue:1},fn.createElement(E.ZP.Group,null,fn.createElement(E.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),fn.createElement(E.ZP,{style:{marginLeft:60},value:0},"\u4EFB\u610F\u65F6\u95F4"))),fn.createElement(ce.default.Item,{name:"rank_forbidden",valuePropName:"checked",className:"mb0",initialValue:!1},fn.createElement(b.default,null,fn.createElement("span",{className:"c-black"},"\u5F00\u542F\u5C01\u699C"),fn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u4E0D\u53EF\u67E5\u770B\u6392\u884C\u699C\u4FE1\u606F\u7684\u65F6\u95F4\u6BB5\uFF09"))),!!Bt&&fn.createElement(se.Z,{align:"middle",className:"ml25"},fn.createElement(ce.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"rank_forbidden_start",initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},fn.createElement(x.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:ee.Q8,disabledTime:ee.d0})),fn.createElement(ce.default.Item,{label:"\u622A\u6B62\u65F6\u95F4",name:"rank_forbidden_end",style:{marginLeft:40},initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},fn.createElement(x.default,{style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",disabledDate:ee.Q8,disabledTime:ee.d0}))),fn.createElement(ce.default.Item,{name:"hack_analysis",valuePropName:"checked",className:"mb0",initialValue:!1},fn.createElement(b.default,null,fn.createElement("span",{className:"c-black"},"\u516C\u5F00\u89E3\u6790"),fn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09"))),!!gn&&fn.createElement(ce.default.Item,{name:"hack_analysis_type",className:"mb0 ml25",initialValue:2},fn.createElement(E.ZP.Group,null,fn.createElement(E.ZP,{value:2},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),fn.createElement(E.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4"),fn.createElement(E.ZP,{style:{marginLeft:60},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),fn.createElement(ce.default.Item,{name:"hack_answer",valuePropName:"checked",className:"mb0",initialValue:!1},fn.createElement(b.default,null,fn.createElement("span",{className:"c-black"},"\u516C\u5F00\u7B54\u6848"),fn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09"))),!!Hn&&fn.createElement(ce.default.Item,{name:"hack_answer_type",className:"mb0 ml25",initialValue:1},fn.createElement(E.ZP.Group,null,fn.createElement(E.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),fn.createElement(E.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4")))),fn.createElement("div",{className:`${ie.title} mt30`},"\u534F\u4F5C\u8BBE\u7F6E"),fn.createElement(ce.default.Item,{name:"user_ids",noStyle:!0,initialValue:[]},fn.createElement(Yn,{params:Kn}))))),fn.createElement("div",{className:ie.fixedBtns},fn.createElement(se.Z,{align:"middle",className:ie.center},fn.createElement(We.ZP,{onClick:()=>re.history.push(hi()),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),fn.createElement(We.ZP,{loading:Wi&&!nl.current,disabled:Wi&&nl.current,onClick:()=>Ho(!1),style:{marginLeft:"auto",marginRight:20,padding:"6px 40px"},type:"primary",ghost:!0},"\u4FDD\u5B58\u4F5C\u4E1A"),fn.createElement(We.ZP,{loading:Wi&&nl.current,disabled:Wi&&!nl.current,onClick:()=>Ho(!0),style:{padding:"6px 19px"},type:"primary"},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u4F5C\u4E1A")))),fn.createElement(mr,{setScoreShow:ho,isshixuns:!1,ScoreShow:Tr,virtualId:li.current,isloadings:Ao,onOk:Ji,selectedIds:oa.map(Nr=>{var Wo;return(Wo=Nr.program_attr)==null?void 0:Wo.origin_item_bank_id})||[]}),fn.createElement(Ka.Z,{courseEndTime:pr==null?void 0:pr.course_end_date,onWindowBack:()=>{window.location.href=`/classrooms/${Kn==null?void 0:Kn.coursesId}/program_homework/${pr==null?void 0:pr.id}/detail`}}))}},12082:function(Zt,Ht,z){"use strict";var te=z(67294),ie=z(22150),Fe=z(2453),Xe=z(14446),ze=z(71230),je=z(78045),se=z(31795),We=z(15746),Oe=z(20669),Re=z(84567),Ye=z(27484),ce=z.n(Ye),De=z(33170),de=z(52262),a=z(28706),y=z(35973),b=z(12317),E=z(89779),x=z(17998),ee=z(67294),re=Object.defineProperty,ae=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Le=(Ze,it,Je)=>it in Ze?re(Ze,it,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Ze[it]=Je,Se=(Ze,it)=>{for(var Je in it||(it={}))Ce.call(it,Je)&&Le(Ze,Je,it[Je]);if(pe)for(var Je of pe(it))Ae.call(it,Je)&&Le(Ze,Je,it[Je]);return Ze},we=(Ze,it)=>ae(Ze,ne(it)),Qe=(Ze,it)=>{var Je={};for(var Dt in Ze)Ce.call(Ze,Dt)&&it.indexOf(Dt)<0&&(Je[Dt]=Ze[Dt]);if(Ze!=null&&pe)for(var Dt of pe(Ze))it.indexOf(Dt)<0&&Ae.call(Ze,Dt)&&(Je[Dt]=Ze[Dt]);return Je},Be=(Ze,it,Je)=>new Promise((Dt,Nt)=>{var St=un=>{try{$t(Je.next(un))}catch(yt){Nt(yt)}},Lt=un=>{try{$t(Je.throw(un))}catch(yt){Nt(yt)}},$t=un=>un.done?Dt(un.value):Promise.resolve(un.value).then(St,Lt);$t((Je=Je.apply(Ze,it)).next())});const Ge=Ze=>{var it=Ze,{classroomList:Je,dispatch:Dt,courseEndTime:Nt,onWindowBack:St}=it,Lt=Qe(it,["classroomList","dispatch","courseEndTime","onWindowBack"]),$t,un,yt,It,Kt,An,Pt,Qt,ke,zn,an,ya,da,Dn,ht,nt,tn,vn,Vt,La,En,Ea,Ia,Ta,gt,Rt,tr,Qn,xt,wn,Za,Nn,mr,Ka,wa,hr,fn,to,Qr;const zo=(0,y.useParams)(),[Mr]=ie.default.useForm(),[Po,ni]=(0,te.useState)(1),[qo,Pi]=(0,te.useState)([]),[ki,_i]=(0,te.useState)(0),[ta,Ya]=(0,te.useState)(2e3),[Kr,Yn]=(0,te.useState)(!0),[Mn,la]=(0,te.useState)(!1),[Ft,Kn]=(0,te.useState)(!1),[ua,Fn]=(0,te.useState)([]),[wt,kt]=(0,te.useState)(!0),[Bt,gn]=(0,te.useState)(!((yt=(un=($t=Je.actionTabs)==null?void 0:$t.selectArrsAll)==null?void 0:un[0])!=null&&yt.send_type));let[Hn,oa]=(0,te.useState)([0,0,0]);(0,te.useEffect)(()=>{var Tr,ho,Ao,_o,ji,Eo,Wi,dl,ml,tl,nl,li,bl;if(Je.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(pr(),(Ao=(ho=(Tr=Je.actionTabs)==null?void 0:Tr.selectArrsAll)==null?void 0:ho[0])!=null&&Ao.can_publish?oa([...(ml=(dl=(Wi=Je.actionTabs)==null?void 0:Wi.selectArrsAll)==null?void 0:dl[0])==null?void 0:ml.difficult_count]):oa([...(Eo=(ji=(_o=Je.actionTabs)==null?void 0:_o.selectArrsAll)==null?void 0:ji[0])==null?void 0:Eo.difficult_settings]),gn(!((li=(nl=(tl=Je.actionTabs)==null?void 0:tl.selectArrsAll)==null?void 0:nl[0])!=null&&li.send_type)),Cr(),Je.actionTabs.type===2){const ba=(bl=Je.actionTabs.selectArrsAll)==null?void 0:bl[0];kt(ba.unified_setting)}else kt(!1)},[Je.actionTabs]),(0,te.useEffect)(()=>{if(Mn){if(Ft)return;Dt({type:"classroomList/setActionTabs",payload:{}}),(0,de.GJ)()?(Dt({type:"classroomList/getClassroomTeacherCommonList",payload:we(Se({},Je.actionTabs.params),{type:1})}),Dt({type:"shixunHomeworks/getWorkList",payload:Se({},zo)})):Dt({type:"classroomList/getClassroomCommonList",payload:Se({},Je.actionTabs.params)})}},[Mn]);const Cr=Tr=>Be(void 0,null,function*(){Yn(!0);const ho=yield(0,E.c_)(we(Se({},zo),{page:Tr||Po,limit:2e4,homework_id:Je.actionTabs.type===1?"":Je.actionTabs.selectArrs[0]}));ho==null||ho.course_groups.map((Ao,_o)=>{Ao.key=Ao.id,Ao.title=Ao.name,Ao.disabled=Ao.is_published}),ho&&(Pi([...ho==null?void 0:ho.course_groups]),_i(ho==null?void 0:ho.course_groups_count),Yn(!1),Tr||Mr.setFieldsValue({publish_time:ce()(ce()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:ce()(ce()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),_t=()=>{(0,de.GJ)()?Je.actionTabs.detail?(Dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Dt({type:"shixunHomeworks/getWorkList",payload:Se({},zo)}),Dt({type:"shixunHomeworks/getWorkSetting",payload:Se({},zo)})):Dt({type:"classroomList/getClassroomTeacherCommonList",payload:we(Se({},Je.actionTabs.params),{type:5,category:Je.actionTabs.params.categoryId})}):Dt({type:"classroomList/getClassroomCommonList",payload:Se({},Je.actionTabs.params)})},Fa=()=>Be(void 0,null,function*(){var Tr,ho;if((0,de.Rm)()&&!((Tr=Je.AssistantObject.hack)!=null&&Tr.can_publish)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),wo(!1);return}const Ao=Se({},Mr.getFieldsValue());if(Ao.end_time<=Ao.publish_time){Fe.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),wo(!1);return}if((ua==null?void 0:ua.length)<=0&&!wt&&qo.length>0){Fe.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),wo(!1);return}if(Hn.reduce((Eo,Wi)=>Eo+Wi)===0&&!Bt){Fe.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),wo(!1);return}let _o={homework_ids:[...Je.actionTabs.selectArrs],group_ids:ua.length>0?ua.map(Eo=>Eo.id):(ho=Je.detailCommonHomeworksList)==null?void 0:ho.course_groups,end_time:ce()(Ao.end_time).format("YYYY-MM-DD HH:mm"),publish_time:ce()(Ao.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:Hn==null?void 0:Hn.map(Eo=>Eo),send_type:Bt?"0":"1",unified_setting:!ua.length};if(wo(!0),(yield(0,De.ZP)(`/api/courses/${zo.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:Se({},_o)})).status===0){if(wo(!1),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),Fe.ZP.success("\u53D1\u5E03\u6210\u529F"),Dt({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),St){St();return}Lt.onCallback&&Lt.onCallback(),_t(),localStorage.getItem("Noviceguide")==="0"||Dt({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 wo(!1)}),pr=()=>{ni(1),Pi([]),Fn([])},vi=ki>Po*ta,[na,wo]=(0,te.useState)(!1);return ee.createElement(Xe.default,{width:600,confirmLoading:na,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Je.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:Fa,onCancel:()=>{if(pr(),Dt({type:"classroomList/setActionTabs",payload:{}}),St){St();return}_t()}},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'),qo&&ee.createElement(ie.default,{form:Mr},ee.createElement("div",{style:{paddingLeft:0}},Je.actionTabs.type===2&&ee.createElement(ze.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),ee.createElement(je.ZP.Group,{value:Bt,disabled:!((An=(Kt=(It=Je.actionTabs)==null?void 0:It.selectArrsAll)==null?void 0:Kt[0])!=null&&An.can_publish),onChange:Tr=>{gn(Tr.target.value)}},ee.createElement(je.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),ee.createElement(je.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Bt&&ee.createElement(ze.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{style:{marginRight:65}}),ee.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",ee.createElement(se.Z,{value:Hn[0],onChange:Tr=>{Hn[0]=Tr,oa([...Hn])},min:0,disabled:!((ke=(Qt=(Pt=Je.actionTabs)==null?void 0:Pt.selectArrsAll)==null?void 0:Qt[0])!=null&&ke.can_publish),placeholder:`\u6700\u5927${(da=(ya=(an=(zn=Je.actionTabs)==null?void 0:zn.selectArrsAll)==null?void 0:an[0])==null?void 0:ya.difficult_count)==null?void 0:da[0]}`,max:(tn=(nt=(ht=(Dn=Je.actionTabs)==null?void 0:Dn.selectArrsAll)==null?void 0:ht[0])==null?void 0:nt.difficult_count)==null?void 0:tn[0],style:{width:60}})),ee.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",ee.createElement(se.Z,{value:Hn[1],onChange:Tr=>{Hn[1]=Tr,oa([...Hn])},min:0,disabled:!((La=(Vt=(vn=Je.actionTabs)==null?void 0:vn.selectArrsAll)==null?void 0:Vt[0])!=null&&La.can_publish),max:(Ta=(Ia=(Ea=(En=Je.actionTabs)==null?void 0:En.selectArrsAll)==null?void 0:Ea[0])==null?void 0:Ia.difficult_count)==null?void 0:Ta[1],placeholder:`\u6700\u5927${(Qn=(tr=(Rt=(gt=Je.actionTabs)==null?void 0:gt.selectArrsAll)==null?void 0:Rt[0])==null?void 0:tr.difficult_count)==null?void 0:Qn[1]}`,style:{width:60}})),ee.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",ee.createElement(se.Z,{value:Hn[2],onChange:Tr=>{Hn[2]=Tr,oa([...Hn])},min:0,disabled:!((Za=(wn=(xt=Je.actionTabs)==null?void 0:xt.selectArrsAll)==null?void 0:wn[0])!=null&&Za.can_publish),placeholder:`\u6700\u5927${(wa=(Ka=(mr=(Nn=Je.actionTabs)==null?void 0:Nn.selectArrsAll)==null?void 0:mr[0])==null?void 0:Ka.difficult_count)==null?void 0:wa[2]}`,max:(Qr=(to=(fn=(hr=Je.actionTabs)==null?void 0:hr.selectArrsAll)==null?void 0:fn[0])==null?void 0:to.difficult_count)==null?void 0:Qr[2],style:{width:60}}))),ee.createElement(ze.Z,{className:"mt30",align:"middle"},ee.createElement(We.Z,null,ee.createElement(ie.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},ee.createElement(Oe.default,{style:{width:170,marginRight:"25px"},disabledDate:Tr=>(0,x.Q8)(Tr,Nt),disabledTime:Tr=>(0,x.d0)(Tr),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ce()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),ee.createElement(We.Z,{className:"ml20"},ee.createElement(ie.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},ee.createElement(Oe.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ce()((0,a.U6)(),"HH:mm")},disabledDate:Tr=>(0,x.Q8)(Tr,Nt,Mr.getFieldValue("publish_time")),disabledTime:Tr=>(0,x.d0)(Tr,Mr.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Je.actionTabs.type===2&&ee.createElement(ze.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),ee.createElement(je.ZP.Group,{value:wt,onChange:Tr=>{kt(Tr.target.value),Fn([])}},ee.createElement(je.ZP,{value:!0,disabled:!Je.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),ee.createElement(je.ZP,{className:"ml20",disabled:qo.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),qo.length<=0&&Je.actionTabs.type===2&&ee.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(Je.actionTabs.type===1||!wt)&&qo.length>0&&ee.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ee.createElement("span",{style:{flex:1}},ee.createElement(Re.default,{checked:ua.length===qo.length,onChange:Tr=>{ua.length===qo.length?Fn([]):Fn(qo.filter(ho=>!ho.is_published))}},"\u5168\u9009")," "),ee.createElement("span",{style:{width:16}}),ee.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ua.length||0,"\u4E2A\u5206\u73ED")),(Je.actionTabs.type===1||!wt)&&qo.length>0&&ee.createElement(b.Z,{data:qo,selectedRowKeys:ua,setSelectedRowKeys:Fn})))};Ht.Z=(0,y.connect)(({classroomList:Ze})=>({classroomList:Ze}))(Ge)},17998:function(Zt,Ht,z){"use strict";z.d(Ht,{Q8:function(){return St},d0:function(){return Lt},w6:function(){return Nt}});var te=z(67294),ie=z(20669),Fe=z(42563),Xe=z(2453),ze=z(14446),je=z(78045),se=z(71230),We=z(15746),Oe=z(83062),Re=z(84567),Ye=z(71577),ce=z(27484),De=z.n(ce),de=z(52262),a=z(33170),y=z(96486),b=z.n(y),E=z(28706),x=z(39886),ee=z(35973),re=z(39717),ae=z(78207),ne=z(92882),pe=z(96332),Ce=z(93686),Ae=z(67294),Le=Object.defineProperty,Se=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Ze=(It,Kt,An)=>Kt in It?Le(It,Kt,{enumerable:!0,configurable:!0,writable:!0,value:An}):It[Kt]=An,it=(It,Kt)=>{for(var An in Kt||(Kt={}))Be.call(Kt,An)&&Ze(It,An,Kt[An]);if(Qe)for(var An of Qe(Kt))Ge.call(Kt,An)&&Ze(It,An,Kt[An]);return It},Je=(It,Kt)=>Se(It,we(Kt)),Dt=(It,Kt,An)=>new Promise((Pt,Qt)=>{var ke=ya=>{try{an(An.next(ya))}catch(da){Qt(da)}},zn=ya=>{try{an(An.throw(ya))}catch(da){Qt(da)}},an=ya=>ya.done?Pt(ya.value):Promise.resolve(ya.value).then(ke,zn);an((An=An.apply(It,Kt)).next())});function Nt(It,Kt){const An=[];for(let Pt=It;Pt{const Pt=ItDe()(Kt).endOf("day"),ke=It{const An=parseInt(De()(It).format("HH")),Pt=parseInt(De()().format("HH")),Qt=parseInt(De()().format("mm"));if(!It)return{disabledHours:()=>Nt(0,Pt),disabledMinutes:()=>Nt(0,Qt)};if(Kt){const ke=parseInt(De()(Kt).format("HH")),zn=parseInt(De()(Kt).format("mm"));return De()(It).isSame(De()(Kt),"day")?{disabledHours:()=>Nt(0,ke),disabledMinutes:()=>An<=ke?Nt(0,zn):[]}:void 0}if(De()(It).isSame(De()(),"day"))return{disabledHours:()=>Nt(0,Pt),disabledMinutes:()=>De()(It).isSame(De()(),"hour")&&An<=Pt?Nt(0,Qt):[]}},{RangePicker:$t}=ie.default,{Option:un}=Fe.default,yt=({shixunHomeworks:It,loading:Kt,dispatch:An,classroomList:Pt,user:Qt})=>{var ke,zn,an,ya,da,Dn,ht,nt,tn;const vn=(0,ee.useParams)(),{workSetting:Vt,workList:La,shixunWorkList:En,headerInfo:Ea,changeData:Ia}=It,[Ta,gt]=(0,te.useState)(!1),[Rt,tr]=(0,te.useState)(!1);let[Qn,xt]=(0,te.useState)([]),[wn,Za]=(0,te.useState)([]),[Nn,mr]=(0,te.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:re.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[Ka,wa]=(0,te.useState)({}),[hr,fn]=(0,te.useState)({});(0,te.useEffect)(()=>()=>{xt([])},[]),(0,te.useEffect)(()=>{gt(!(0,de.GJ)())},[(0,de.GJ)()]);const to=()=>{An({type:"shixunHomeworks/getWorkSetting",payload:it({},vn)})};(0,te.useEffect)(()=>{if(!(Vt!=null&&Vt.course_id))return;Object.keys(Nn).map(function(Ya){Nn[Ya]=Vt[Ya]}),(!Nn.allow_late||!Nn.unified_late)&&(Nn.late_penalty=20,Nn.penalty_type=re.Q.Percent),Nn.unified_setting||(Nn.unified_late=!1,Nn.unified_anonymous_comment=!1,Nn.unified_anonymous_appeal=!1),Qn=JSON.parse(JSON.stringify(Vt.group_settings.map(Ya=>Je(it({},Ya),{group_name:[Ya.group_name]})).filter(Ya=>Ya.publish_time!==null))),wn=JSON.parse(JSON.stringify(Vt.allow_late_settings.map(Ya=>Je(it({},Ya),{group_name:[Ya.group_name]})).filter(Ya=>Ya.late_time!==null))),mr(it({},Nn));const ta=(0,E.QE)((Qn==null?void 0:Qn.length)>0?Qn:[]);xt([...ta]),(wn==null?void 0:wn.length)<=0?Za([{penalty_type:re.Q.Percent,late_penalty:20}]):Za([...wn])},[Vt]);const Qr=()=>Dt(void 0,null,function*(){var ta,Ya;if(((ta=Qt==null?void 0:Qt.userInfo)==null?void 0:ta.user_status)===2){(0,ae.Rd)();return}const Kr=JSON.parse(JSON.stringify(Nn));if(Kr.challenge_settings.filter(Mn=>!Mn.hide),Kr.categoryId=vn.categoryId,(Ya=Kr.challenge_settings)!=null&&Ya.every(Mn=>!Mn.checked)){Xe.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Qn),!Nn.unified_setting)Qn=Qn==null?void 0:Qn.map(Mn=>{var la;if(!Mn.publish_time||!Mn.end_time)throw Xe.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 Xe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Mn.group_name=typeof(Mn==null?void 0:Mn.group_name)=="string"?[Mn==null?void 0:Mn.group_name]:Mn==null?void 0:Mn.group_name,Mn.group_id=(la=Vt.group_settings)==null?void 0:la.filter(Ft=>{var Kn;return(Kn=Mn==null?void 0:Mn.group_name)==null?void 0:Kn.includes(Ft.group_name)}).map(Ft=>Ft.group_id||Ft.id).toString().split(","),Mn});else if(!Nn.publish_time||!Nn.end_time)throw Xe.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(Kr.group_settings=Qn,Nn.allow_late)if(Nn.unified_late){if(Nn.late_penalty===null||Nn.late_penalty===void 0||Nn.late_penalty<0||Nn.late_penalty>100)throw Xe.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(!Nn.late_time)throw Xe.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 wn=wn==null?void 0:wn.map(Mn=>{var la,Ft;if(Mn.late_penalty===null||Mn.late_penalty===void 0||Mn.late_penalty<0||Mn.late_penalty>100)throw Xe.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 Xe.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 Xe.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=(Ft=(la=Mn==null?void 0:Mn.group_name)==null?void 0:la.map(Kn=>{var ua,Fn;let wt=(Fn=(ua=Vt.group_settings)==null?void 0:ua.filter(kt=>(kt==null?void 0:kt.group_name)===Kn))==null?void 0:Fn[0];return wt==null?void 0:wt.group_id}))==null?void 0:Ft.toString().split(","),Mn}),Kr.allow_late_settings=wn;let Yn=yield(0,Ce.Tr)({homework_common_ids:[parseInt(vn.categoryId)],course_id:vn.coursesId,type:"homework_common"});(Yn==null?void 0:Yn.student_count)===0?zo(Kr):(fn(Kr),wa(Yn))}),zo=ta=>{var Ya;if(ta.total_score===null){Xe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(ta!=null&&ta.work_efficiency&&ta.eff_score===null){Xe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Kr=ta.challenge_settings.reduce((la,Ft)=>la+Number(Ft.challenge_score),0);if((Kr==null?void 0:Kr.toFixed(10))!==((Ya=ta.total_score-ta.eff_score)==null?void 0:Ya.toFixed(10))){Xe.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${ta.total_score}\u5206`);return}const Yn={shixun_evaluation:ta.shixun_evaluation,challenge_settings:ta.challenge_settings};let Mn=()=>{var la;const Ft=()=>Dt(void 0,null,function*(){tr(!0),(yield(0,a.ZP)(`/api/homework_commons/${vn.categoryId}/publish_setting.json`,{method:"post",body:it({},ta)})).status===0&&(Xe.ZP.success("\u66F4\u65B0\u6210\u529F"),to(),An({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:it({},vn)})),tr(!1)});!(0,y.isEqual)(Ia,Yn)&&!((la=Ea==null?void 0:Ea.homework_status)!=null&&la.includes("\u672A\u53D1\u5E03"))?ze.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:Ft}):Ft()};Vt!=null&&Vt.high_resources_consume&&!(Vt!=null&&Vt.high_resources_consume_permission)?An({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:vn.coursesId,type:"shixun",type_id:vn.categoryId,name:Vt.homework_name,fn:()=>{Mn()}}}):Mn()},Mr=(ta,Ya,Kr="group_id")=>{var Yn;return Ya?Ya.find(Mn=>Mn[Kr]===ta):(Yn=Vt==null?void 0:Vt.group_settings)==null?void 0:Yn.find(Mn=>Mn.group_id[0]===ta)},Po=(Vt==null?void 0:Vt.allow_late)||(Vt==null?void 0:Vt.anonymous_comment),ni=ta=>{var Ya,Kr;const Yn=Mr(ta,Vt==null?void 0:Vt.allow_late_settings,"id"),Mn=Mr(ta,Vt==null?void 0:Vt.anonymous_comment_settings),la=Mr(ta);return(Vt==null?void 0:Vt.allow_late)&&Yn&&De()(Yn==null?void 0:Yn.late_time)<=De()()||(Vt==null?void 0:Vt.anonymous_comment)&&Mn&&(Mn==null?void 0:Mn.evaluation_start)!==null||((Kr=(De()(la==null?void 0:la.end_time)<=De()()&&((Ya=Vt==null?void 0:Vt.allow_late_settings)==null?void 0:Ya.filter(Ft=>Ft.group_id.includes(ta))))[0])==null?void 0:Kr.late_time)!=null},qo=(0,te.useMemo)(()=>(Vt==null?void 0:Vt.allow_late)||(Vt==null?void 0:Vt.all_group_late),[Vt,Ea]),Pi=Vt==null?void 0:Vt.anonymous_comment,ki=ta=>{if(!ta)return!1;const Ya=Mr(ta,Vt==null?void 0:Vt.anonymous_comment_settings);return(Vt==null?void 0:Vt.anonymous_comment)&&Ya&&(Ya==null?void 0:Ya.evaluation_start)!==null},_i=(ta,Ya)=>{var Kr,Yn,Mn;An({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:ta,index:Ya,rangePickerDisabled:Ta||(De()()<=De()((Yn=Mr((Kr=ta==null?void 0:ta.group_id)==null?void 0:Kr[0]))==null?void 0:Yn.publish_time)?!1:[!0,ni((Mn=ta==null?void 0:ta.group_id)==null?void 0:Mn[0])]),disabledDate:Vt==null?void 0:Vt.course_end_date}})};return Ae.createElement("section",{className:x.Z.form},Ae.createElement("div",{className:x.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Ae.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")),Ae.createElement("div",null,Ae.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ae.createElement(je.ZP.Group,{disabled:Ta||!((ke=Ea==null?void 0:Ea.homework_status)!=null&&ke.includes("\u672A\u53D1\u5E03"))||(0,de.Rm)()&&!((zn=Pt.AssistantObject.practice)!=null&&zn.can_publish),value:Nn.unified_setting,onChange:ta=>{var Ya;if(!((Ya=Ea==null?void 0:Ea.homework_status)!=null&&Ya.includes("\u672A\u53D1\u5E03"))){Xe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Nn.unified_setting=!Nn.unified_setting,Nn.unified_setting||(Nn.unified_late=!1,Za([{late_penalty:5}])),mr(Object.assign({},Nn)),Nn.unified_setting===!1&&Qn==""){xt(Qn.concat({}));return}Nn.unified_setting&&(xt([]),Za([{late_penalty:5}]))}},Ae.createElement(je.ZP,{value:!0,disabled:Ta||!(Vt!=null&&Vt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Ae.createElement(je.ZP,{disabled:Ta||!((an=Vt==null?void 0:Vt.group_settings)!=null&&an.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ya=Vt==null?void 0:Vt.group_settings)==null?void 0:ya.length)===0&&Ae.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")),Nn.unified_setting&&Ae.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Ae.createElement(se.Z,{align:"middle"},Ae.createElement(We.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Ae.createElement(We.Z,{className:"ml10"},Ae.createElement(ie.default,{size:"large",disabled:Ta||!((da=Ea==null?void 0:Ea.homework_status)!=null&&da.includes("\u672A\u53D1\u5E03")||(Dn=Ea==null?void 0:Ea.homework_status)!=null&&Dn.includes("\u672A\u5F00\u59CB"))||(0,de.Rm)()&&!((ht=Pt.AssistantObject.practice)!=null&&ht.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:ta=>St(ta,Vt==null?void 0:Vt.course_end_date),disabledTime:ta=>Lt(ta),value:Nn.publish_time?De()(Nn.publish_time):"",onChange:(ta,Ya)=>{Nn.publish_time=Ya,(Nn.end_time==""||!Nn.end_time)&&Nn.unified_setting&&(Nn.end_time=De()(ta).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),mr(Object.assign({},Nn))}}))),Ae.createElement(se.Z,{align:"middle",className:"pl30"},Ae.createElement(We.Z,null,"\u622A\u6B62\u65F6\u95F4"),Ae.createElement(We.Z,{className:"ml10"},Ae.createElement(ie.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:De()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Vt==null?void 0:Vt.allow_late)&&(Vt==null?void 0:Vt.homework_status.includes("\u5DF2\u622A\u6B62"))||Ta||(Vt==null?void 0:Vt.allow_late)&&De()()>=De()(Vt==null?void 0:Vt.end_time)||(0,de.Rm)()&&!((nt=Pt.AssistantObject.practice)!=null&&nt.can_publish),disabledDate:ta=>St(ta,Vt==null?void 0:Vt.course_end_date,Nn.publish_time),disabledTime:ta=>Lt(ta,Nn.publish_time),value:Nn.end_time?De()(Nn.end_time):"",onChange:(ta,Ya)=>{Nn.end_time=Ya,mr(Object.assign({},Nn))}})))),!Nn.unified_setting&&(Qn==null?void 0:Qn.length)>0&&Ae.createElement(se.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Qn&&Qn.map(function(ta,Ya){var Kr,Yn,Mn,la,Ft,Kn,ua;return Ae.createElement(We.Z,{span:24,key:Ya},Ae.createElement(se.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ya==(Qn==null?void 0:Qn.length)-1?"0px":"10px"}},Ae.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Ya+1),Ae.createElement(Fe.default,{disabled:Ta||((Kr=Ea==null?void 0:Ea.homework_status)!=null&&Kr.includes("\u672A\u53D1\u5E03")&&ta.id||De()(){var wt;if((0,de.Rm)()&&!((wt=Pt.AssistantObject.practice)!=null&&wt.can_publish)){Xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qn[Ya].group_name=Fn,Qn[Ya].group_id=ta.group_id;const kt=(0,y.flattenDeep)(Qn.map(gn=>gn.group_name)),Bt=wn.map(gn=>{let Hn=(gn==null?void 0:gn.group_name)||[];return Je(it({},gn),{group_name:(0,y.remove)(Hn,oa=>kt.includes(oa))})});Za(Bt),xt(Qn.slice())},maxTagCount:4,maxTagPlaceholder:Fn=>Ae.createElement("div",{style:{cursor:"pointer"},onClick:()=>_i(ta,Ya)},"+",Fn==null?void 0:Fn.length)},Vt.group_settings&&Vt.group_settings.map(function(Fn){if(!Qn.map(kt=>kt.group_name).flat().includes(Fn.group_name))return Ae.createElement(un,{value:Fn.group_name,key:Fn.id},Fn.group_name)})),Ae.createElement("div",{className:"ml20"},Ae.createElement($t,{size:"large",ranges:{\u6B64\u523B:[ta.publish_time?De()(ta.publish_time):De()(),De()()]},allowClear:!1,disabled:Ta||(De()()<=De()((la=Mr((Mn=ta==null?void 0:ta.group_id)==null?void 0:Mn[0]))==null?void 0:la.publish_time)?!1:[!0,ni((Ft=ta==null?void 0:ta.group_id)==null?void 0:Ft[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:Fn=>St(Fn,Vt==null?void 0:Vt.course_end_date),disabledTime:Fn=>Lt(Fn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[De()((0,E.U6)(),"HH:mm"),De()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:ta.publish_time&&[De()(ta.publish_time),ta.end_time?De()(ta.end_time):void 0],onChange:(Fn,wt)=>{var kt;if((0,de.Rm)()&&!((kt=Pt.AssistantObject.practice)!=null&&kt.can_publish)){Xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qn[Ya].publish_time=wt[0],!ta.end_time&&wt[0]?Qn[Ya].end_time=De()(wt[0]).add(7,"days"):Qn[Ya].end_time=wt[1],xt([...Qn])},onCalendarChange:(Fn,wt,kt)=>{if(wt!=null&&wt[0]&&!wt[1]){const Bt=De()(wt[0]).add(7,"days");Qn[Ya].publish_time=wt[0],Qn[Ya].end_time=Bt,xt([...Qn])}}})),!Ta&&Ae.createElement("div",{style:{display:"flex",width:"50px"}},((Kn=ta==null?void 0:ta.group_id)==null?void 0:Kn.length)>1&&Ae.createElement(Oe.Z,{title:"\u89C4\u5219\u62C6\u5206"},Ae.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>_i(ta,Ya)})),Qn.length<((ua=Vt==null?void 0:Vt.group_settings)==null?void 0:ua.length)&&Ae.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Fn;if((0,de.Rm)()&&!((Fn=Pt.AssistantObject.practice)!=null&&Fn.can_publish)){Xe.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(Qn.concat({}))}}),((ta==null?void 0:ta.publish_time)&&De()(){const Fn=(0,y.cloneDeep)(wn);Fn.forEach((wt,kt)=>{wt.group_name&&(wt.group_name=wt.group_name.filter(Bt=>{var gn;return!((gn=Qn[Ya].group_name)!=null&&gn.includes(Bt))}))}),Qn=Qn.filter((wt,kt)=>Ya!==kt),Za(Fn),xt(Qn.slice()),setTimeout(()=>xt(Qn.slice()),10)}}))))}))),Ae.createElement(se.Z,null,Ae.createElement(We.Z,null,Ae.createElement("div",{className:x.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Ae.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"))),Ae.createElement(We.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ae.createElement(Re.default,{checked:Nn.allow_late,disabled:Ta||qo,onChange:ta=>{var Ya;if((0,de.Rm)()&&!((Ya=Pt.AssistantObject.practice)!=null&&Ya.can_late)){Xe.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}ta.target.checked&&ze.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Ae.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Ae.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"),Ae.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Ae.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"))}),Nn.allow_late=!Nn.allow_late,wn==""&&Za([{late_penalty:5}]),mr(Object.assign({},Nn))}},Ae.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Nn==null?void 0:Nn.allow_late)&&Ae.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Ae.createElement("div",{style:{display:"flex"}},Ae.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Ae.createElement(je.ZP.Group,{style:{marginLeft:"20px"},disabled:Ta||(Vt==null?void 0:Vt.anonymous_comment)||(Vt==null?void 0:Vt.allow_late),value:Nn.unified_late,onChange:ta=>{var Ya;if((0,de.Rm)()&&!((Ya=Pt.AssistantObject.practice)!=null&&Ya.can_late)){Xe.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.unified_late=ta.target.value,wn==""&&!ta.target.value&&Za([{penalty_type:re.Q.Percent,late_penalty:20}]),mr(it({},Nn))}},(Nn==null?void 0:Nn.unified_setting)&&Ae.createElement(je.ZP,{value:!0,disabled:!(Vt!=null&&Vt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((tn=Vt==null?void 0:Vt.group_settings)==null?void 0:tn.length)>0&&Ae.createElement(je.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Nn!=null&&Nn.unified_late?Ae.createElement(Ae.Fragment,null,Ae.createElement(se.Z,{align:"middle",style:{marginTop:"10px"}},Ae.createElement(We.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Ae.createElement(We.Z,{className:"ml20"},Ae.createElement(re.Z,{disabled:Ta||Pi,value:{type:Nn.penalty_type,inputValue:Nn.late_penalty},onChange:ta=>{var Ya;if((0,de.Rm)()&&!((Ya=Pt.AssistantObject.practice)!=null&&Ya.can_late)){Xe.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}mr(Je(it({},Nn),{late_penalty:ta.inputValue,penalty_type:ta.type}))}})),Ae.createElement(We.Z,{flex:"1",className:"ml5"},Ae.createElement("span",{className:"c-grey-c ml10"},Nn.penalty_type===re.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)"))),Ae.createElement(se.Z,{align:"middle",style:{marginTop:"15px"}},Ae.createElement(We.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ae.createElement(We.Z,{className:"ml20"},Ae.createElement(ie.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:De()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Ta||Pi,value:Nn.late_time?De()(Nn.late_time):"",disabledDate:ta=>St(ta,Vt==null?void 0:Vt.course_end_date),onChange:(ta,Ya)=>{var Kr;if((0,de.Rm)()&&!((Kr=Pt.AssistantObject.practice)!=null&&Kr.can_late)){Xe.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.late_time=Ya,mr(Object.assign({},Nn))}})))):wn.map(function(ta,Ya){var Kr;return Ae.createElement(We.Z,{span:24,key:Ya},Ae.createElement(se.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Ae.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Ya+1),Ae.createElement(Fe.default,{disabled:Ta||!((Kr=Ea==null?void 0:Ea.homework_status)!=null&&Kr.includes("\u672A\u53D1\u5E03"))&&ta.id||(Vt==null?void 0:Vt.anonymous_comment),mode:"multiple",className:x.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof ta.group_name=="string"?[ta.group_name]:ta.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Yn=>{var Mn;if((0,de.Rm)()&&!((Mn=Pt.AssistantObject.practice)!=null&&Mn.can_late)){Xe.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}wn[Ya].group_name=Yn,wn[Ya].group_id=ta.group_id,Za(wn.slice())}},Vt.group_settings&&Vt.group_settings.map(function(Yn){const Mn=wn.map(Ft=>Ft.group_name).flat(),la=Qn.map(Ft=>Ft.group_name).flat();if(Nn!=null&&Nn.unified_setting){if(!Mn.includes(Yn.group_name))return Ae.createElement(un,{value:Yn.group_name,key:Yn.id},Yn.group_name)}else if(la.includes(Yn.group_name)&&!Mn.includes(Yn.group_name))return Ae.createElement(un,{value:Yn.group_name,key:Yn.id},Yn.group_name)})),Ae.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Ae.createElement(re.Z,{disabled:Ta||ki(ta.id),value:{type:ta.penalty_type,inputValue:ta.late_penalty},onChange:Yn=>{var Mn;if((0,de.Rm)()&&!((Mn=Pt.AssistantObject.practice)!=null&&Mn.can_late)){Xe.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}wn[Ya].late_penalty=Yn.inputValue,wn[Ya].penalty_type=Yn.type,Za([...wn])}}),Ae.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ae.createElement(ie.default,{size:"large",disabled:Ta||ki(ta.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:De()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:Yn=>St(Yn,Vt==null?void 0:Vt.course_end_date),format:"YYYY-MM-DD HH:mm",value:ta!=null&&ta.late_time?De()(ta.late_time):void 0,onChange:(Yn,Mn)=>{var la;if((0,de.Rm)()&&!((la=Pt.AssistantObject.practice)!=null&&la.can_late)){Xe.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}wn[Ya].late_time=Mn,Za([...wn])}}),!Ta&&Ae.createElement("div",{style:{display:"flex",width:"50px"}},Ae.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Yn;if((0,de.Rm)()&&!((Yn=Pt.AssistantObject.practice)!=null&&Yn.can_late)){Xe.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}Za(wn.concat({penalty_type:re.Q.Percent,late_penalty:20}))}}),Ya>0&&!ta.id&&Ae.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var Yn;if((0,de.Rm)()&&!((Yn=Pt.AssistantObject.practice)!=null&&Yn.can_late)){Xe.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}wn=wn.filter((Mn,la)=>Ya!==la),Za(wn.slice()),setTimeout(()=>Za(wn.slice()),10)}}))))})),!Ta&&Ae.createElement(Ae.Fragment,null,Ae.createElement(Ye.ZP,{type:"primary",size:"large",loading:Rt,style:{width:"138px",marginTop:"30px"},onClick:()=>Qr()},"\u4FDD\u5B58")),Ae.createElement(ne.Z,{onConfirm:(ta,Ya)=>{Qn.splice(ta,0,...Ya),Qn.splice(ta+Ya.length,1);const Kr=(0,E.QE)([...Qn]);xt([...Kr])}}),Ae.createElement(pe.Z,{resdata:Ka,type:"shixun",okloading:Rt,oktext:(Ka==null?void 0:Ka.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ta=>Dt(void 0,null,function*(){tr(!0);let Ya=yield(0,a.ZP)(`/api/courses/${vn.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(vn.categoryId)]}});tr(!1),(Ya==null?void 0:Ya.status)===0&&zo(hr)})}))};Ht.ZP=(0,ee.connect)(({shixunHomeworks:It,classroomList:Kt,loading:An,user:Pt})=>({shixunHomeworks:It,classroomList:Kt,loading:An.effects,user:Pt}))(yt)},12317:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return Re}});var te=z(67294),ie=z(69677),Fe=z(84567),Xe=z(71230),ze={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",se=z(26194),We=(Ye,ce,De)=>new Promise((de,a)=>{var y=x=>{try{E(De.next(x))}catch(ee){a(ee)}},b=x=>{try{E(De.throw(x))}catch(ee){a(ee)}},E=x=>x.done?de(x.value):Promise.resolve(x.value).then(y,b);E((De=De.apply(Ye,ce)).next())}),Re=({data:Ye,value:ce=[],handleChangePage:De,setSelectedRowKeys:de,selectedRowKeys:a,onChange:y=()=>{}})=>{const[b,E]=(0,te.useState)([]),[x,ee]=(0,te.useState)([]),[re,ae]=(0,te.useState)([]);let[ne,pe]=(0,te.useState)(1),[Ce,Ae]=(0,te.useState)();return(0,te.useEffect)(()=>{E(Ye),ee([]),ae([])},[Ye]),(0,te.useEffect)(()=>{de&&(ee(a),ae(a))},[a]),te.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},te.createElement("div",{className:ze.leftdiv},te.createElement(ie.default.Search,{size:"middle",onChange:Le=>We(void 0,null,function*(){E(Ye.filter(Se=>{var we;return(we=Se==null?void 0:Se.name)==null?void 0:we.includes(Le.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&te.createElement(se.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),te.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},te.createElement(Fe.default.Group,{value:x.map(Le=>`${Le.id}`),onChange:Le=>{de(b.filter(Se=>Le.includes(`${Se.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((Le,Se)=>te.createElement(Xe.Z,{key:Le.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},te.createElement(Fe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Le.is_published,value:`${Le.id}`},te.createElement("div",{className:ze.listClass},te.createElement("span",{className:ze.spantitle,style:{width:Le.is_published?"108px":"170px"}},Le.name),Le.is_published&&te.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),te.createElement("div",{className:ze.rightdiv},te.createElement(ie.default.Search,{onChange:Le=>{ae(x.filter(Se=>Se.name.includes(Le.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),re.length===0&&te.createElement(se.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),re.length>0&&te.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},te.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},re.map((Le,Se)=>te.createElement(Xe.Z,{justify:"space-between",style:{marginTop:"10px"},key:Le.id},te.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Le.name),te.createElement("img",{src:je,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{de(x.filter(we=>`${we.id}`!=`${Le.id}`))}})))))))}},92882:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return y}});var te=z(67294),ie=z(35973),Fe=z(20669),Xe=z(14446),ze=z(69677),je=z(71230),se=z(15746),We={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},Oe=z(27484),Re=z.n(Oe),Ye=z(28706),ce=z(26194),De=z(67294);const{RangePicker:de}=Fe.default,a=({dispatch:b,classroomList:E,onConfirm:x})=>{const[ee,re]=(0,te.useState)([]),[ae,ne]=(0,te.useState)([]),[pe,Ce]=(0,te.useState)("");(0,te.useEffect)(()=>{var Se;if(E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let we=E.actionTabs.data;console.log("data",we);let Qe=(Se=we==null?void 0:we.group_name)==null?void 0:Se.map((Be,Ge)=>{var Ze;return{group_id:we==null?void 0:we.group_id[Ge],group_name:we==null?void 0:we.group_name[Ge],is_admin:we==null?void 0:we.is_admin,end_time:we==null?void 0:we.end_time,publish_time:Array.isArray(we==null?void 0:we.publish_time)?(Ze=we==null?void 0:we.publish_time)==null?void 0:Ze[0]:we==null?void 0:we.publish_time}});Qe&&(re([...Qe]),ne([...Qe]))}},[E.actionTabs]);const Ae=()=>{b({type:"classroomList/setActionTabs",payload:{}}),Ce("")},Le=Se=>{if(Se){const we=ae==null?void 0:ae.filter(Qe=>{var Be,Ge;return(Ge=(Be=Qe==null?void 0:Qe.group_name)==null?void 0:Be.toLowerCase())==null?void 0:Ge.includes(Se==null?void 0:Se.toLowerCase())});re(we)}else re(ae)};return De.createElement(Xe.default,{width:980,title:De.createElement("div",{style:{fontWeight:"bold",display:"flex"}},De.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",De.createElement("span",{className:We.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")),De.createElement(ze.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:pe,onChange:Se=>{Ce(Se.target.value.trim()),Le(Se.target.value.trim())}})),centered:!0,maskClosable:!1,open:E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Ae(),onOk:()=>{var Se;x((Se=E.actionTabs)==null?void 0:Se.index,ae),Ae()}},De.createElement("div",{className:We.modal_con},De.createElement(je.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ee==null?void 0:ee.length)>0?ee.map(function(Se,we){var Qe,Be;return De.createElement(se.Z,{span:24,key:we},De.createElement(je.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:we==(ee==null?void 0:ee.length)-1?"0px":"10px"}},De.createElement("div",{className:We.multiple_select,title:Se.group_name},Se.group_name),De.createElement("div",{className:"ml20"},De.createElement(de,{size:"large",ranges:{\u6B64\u523B:[Se.publish_time?Re()(Se.publish_time):Re()(),Re()()]},allowClear:!1,disabled:(Qe=E.actionTabs)==null?void 0:Qe.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:Ge=>{var Ze;return(0,Ye.Q8)(Ge,(Ze=E.actionTabs)==null?void 0:Ze.disabledDate)},disabledTime:Ge=>(0,Ye.d0)(Ge),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Re()((0,Ye.U6)(),"HH:mm"),Re()((0,Ye.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Se.publish_time&&[Re()(Se.publish_time),Se.end_time?Re()(Se.end_time):void 0],onChange:(Ge,Ze)=>{ee[we].publish_time=Ze[0],ee[we].end_time=Ze[1],re([...ee]),ae.forEach(it=>{it.group_id===Se.group_id&&(it.publish_time=Ze[0],it.end_time=Ze[1])}),ne([...ae])}})),(Be=E.actionTabs)!=null&&Be.rangePickerDisabled?De.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):De.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ee.splice(we,1),re([...ee]),ae.forEach((Ge,Ze)=>{Ge.group_id===Se.group_id&&ae.splice(Ze,1)}),ne([...ae])}})))}):De.createElement(ce.Z,null))))};var y=(0,ie.connect)(({classroomList:b})=>({classroomList:b}))(a)},78207:function(Zt,Ht,z){"use strict";z.d(Ht,{rX:function(){return re},pW:function(){return ae},gy:function(){return ne},xY:function(){return ee},O5:function(){return x},tJ:function(){return de},o1:function(){return a},Rd:function(){return E}});var te=z(35973),ie=z(14446),Fe=z(96074),Xe=z(2453),ze=z(52262),je=z(28706),se=z(55304),We=z(25510),Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2ycnXjFIjjCAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQU4bAGK25Fu/Besm03wm27i2/bEATbNmTbN6QoRzDkhCMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5F7Xpnpy2w7Ta8bawo4eDC6RVIf0YmufBXzCwKLIvaCgC2ceevGKeEA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K5CYII=",Re=z.p+"static/newqrcode.a8740efb.png",Ye=z(32637),ce=z(67294),De=(pe,Ce,Ae)=>new Promise((Le,Se)=>{var we=Ge=>{try{Be(Ae.next(Ge))}catch(Ze){Se(Ze)}},Qe=Ge=>{try{Be(Ae.throw(Ge))}catch(Ze){Se(Ze)}},Be=Ge=>Ge.done?Le(Ge.value):Promise.resolve(Ge.value).then(we,Qe);Be((Ae=Ae.apply(pe,Ce)).next())});const de=(pe,Ce=!1)=>!!(a(pe)&&y(Ce)),a=pe=>(0,ze.bg)()?!0:(pe({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(pe=!1)=>{var Ce;const{user:Ae}=(0,te.getDvaApp)()._store.getState();return(Ce=Ae.userInfo)!=null&&Ce.profile_completed?!0:(ie.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,je.xg)("/account/profile/edit"),b()}}),!1)},b=()=>{ie.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=()=>{ie.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ce.createElement("div",{style:{textAlign:"center"}},ce.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),ce.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ye}),ce.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},x=()=>{var pe;const{user:Ce}=(0,te.getDvaApp)()._store.getState();return(pe=Ce.userInfo)!=null&&pe.professional_certification?!0:(ie.default.confirm({title:"\u63D0\u793A",centered:!0,content:ce.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,je.xg)("/account/certification")}}),!1)},ee=()=>(0,ze.V9)()?!0:(ie.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ce.createElement("div",{className:"tc",style:{marginLeft:-38}},ce.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ce.createElement("img",{src:Re,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),re=(pe,Ce)=>pe?!0:(ie.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ce.createElement("div",null,ce.createElement("p",null,Ce||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),ce.createElement("div",{style:{marginLeft:"110px"}},ce.createElement("img",{src:Oe,width:200}),ce.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,je.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ae=pe=>{ie.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ce.createElement("div",null,ce.createElement("div",null,ce.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),ce.createElement(Fe.Z,null),ce.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ce.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",ce.createElement("a",null,pe),"\u5929\u3002"),ce.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ce.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),ce.createElement("div",{style:{textAlign:"center",marginTop:30}},ce.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:We,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ne=(pe,Ce="")=>{const{shixunsDetail:{detail:Ae}}=(0,te.getDvaApp)()._store.getState();if((Ae==null?void 0:Ae.public)===2||(Ae==null?void 0:Ae.public)===1||(Ae==null?void 0:Ae.shixun_status)===3){let Le="";return(Ae==null?void 0:Ae.public)===2&&(Le="\u5DF2\u516C\u5F00"),(Ae==null?void 0:Ae.public)===1&&(Le="\u5F85\u5BA1\u6838"),(Ae==null?void 0:Ae.shixun_status)===3&&(Le="\u5DF2\u5173\u95ED"),ie.default.info({centered:!0,icon:ce.createElement(se.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ce.createElement("div",{className:"tc",style:{marginLeft:-38}},ce.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ce.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Le,"\uFF0C",Ce,"\u3002"),ce.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ce.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:We,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ae==null?void 0:Ae.shixun_status)===2?(ie.default.confirm({centered:!0,icon:ce.createElement(se.Z,null),title:"\u63D0\u793A",content:ce.createElement("div",null,ce.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Ce,"\u3002"),ce.createElement("br",null),ce.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{ie.default.confirm({width:440,centered:!0,icon:ce.createElement(se.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:()=>De(void 0,null,function*(){(yield pe({type:"shixunsDetail/cancelRelease",payload:{id:Ae==null?void 0:Ae.identifier}})).status!==401&&(Xe.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),pe({type:"shixunsDetail/getShixunsDetail",payload:{id:Ae==null?void 0:Ae.identifier}}),pe({type:"practiceSetting/getCommonData",payload:{id:Ae==null?void 0:Ae.identifier}}))})})}}),!0):!1}},38780:function(Zt,Ht){"use strict";function z(){const te=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ie=1;ie{const ze=Fe[Xe];ze!==void 0&&(te[Xe]=ze)})}return te}Ht.Z=z},66367:function(Zt,Ht,z){"use strict";z.d(Ht,{F:function(){return te},Z:function(){return ie}});function te(Fe){return Fe!=null&&Fe===Fe.window}function ie(Fe,Xe){var ze,je;if(typeof window=="undefined")return 0;const se=Xe?"scrollTop":"scrollLeft";let We=0;return te(Fe)?We=Fe[Xe?"pageYOffset":"pageXOffset"]:Fe instanceof Document?We=Fe.documentElement[se]:(Fe instanceof HTMLElement||Fe)&&(We=Fe[se]),Fe&&!te(Fe)&&typeof We!="number"&&(We=(je=((ze=Fe.ownerDocument)!==null&&ze!==void 0?ze:Fe).documentElement)===null||je===void 0?void 0:je[se]),We}},57838:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return ie}});var te=z(67294);function ie(){const[,Fe]=te.useReducer(Xe=>Xe+1,0);return Fe}},58375:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return Xe}});var te=z(96523);function ie(ze,je,se,We){const Oe=se-je;return ze/=We/2,ze<1?Oe/2*ze*ze*ze+je:Oe/2*((ze-=2)*ze*ze+2)+je}var Fe=z(66367);function Xe(ze){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:We,duration:Oe=450}=je,Re=se(),Ye=(0,Fe.Z)(Re,!0),ce=Date.now(),De=()=>{const a=Date.now()-ce,y=ie(a>Oe?Oe:a,Ye,ze,Oe);(0,Fe.F)(Re)?Re.scrollTo(window.pageXOffset,y):Re instanceof Document||Re.constructor.name==="HTMLDocument"?Re.documentElement.scrollTop=y:Re.scrollTop=y,a=Be.F1&&at<=Be.F12)return!1;switch(at){case Be.ALT:case Be.CAPS_LOCK:case Be.CONTEXT_MENU:case Be.CTRL:case Be.DOWN:case Be.END:case Be.ESC:case Be.HOME:case Be.INSERT:case Be.LEFT:case Be.MAC_FF_META:case Be.META:case Be.NUMLOCK:case Be.NUM_CENTER:case Be.PAGE_DOWN:case Be.PAGE_UP:case Be.PAUSE:case Be.PRINT_SCREEN:case Be.RIGHT:case Be.SHIFT:case Be.UP:case Be.WIN_KEY:case Be.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(xe){if(xe>=Be.ZERO&&xe<=Be.NINE||xe>=Be.NUM_ZERO&&xe<=Be.NUM_MULTIPLY||xe>=Be.A&&xe<=Be.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&xe===0)return!0;switch(xe){case Be.SPACE:case Be.QUESTION_MARK:case Be.NUM_PLUS:case Be.NUM_MINUS:case Be.NUM_PERIOD:case Be.NUM_DIVISION:case Be.SEMICOLON:case Be.DASH:case Be.EQUALS:case Be.COMMA:case Be.PERIOD:case Be.SLASH:case Be.APOSTROPHE:case Be.SINGLE_QUOTE:case Be.OPEN_SQUARE_BRACKET:case Be.BACKSLASH:case Be.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Ge=Be,Ze=z(16357);function it(ye,xe,at){var _e=ie.useRef({});return(!("value"in _e.current)||at(_e.current.condition,xe))&&(_e.current.value=ye(),_e.current.condition=xe),_e.current.value}function Je(ye,xe){typeof ye=="function"?ye(xe):(0,De.Z)(ye)==="object"&&ye&&"current"in ye&&(ye.current=xe)}function Dt(){for(var ye=arguments.length,xe=new Array(ye),at=0;at5&&arguments[5]!==void 0?arguments[5]:!1,sn=arguments.length>6?arguments[6]:void 0,Tn=arguments.length>7?arguments[7]:void 0,In=ie.useMemo(function(){if((0,De.Z)(_e)==="object")return _e.clearIcon;if(Ot)return Ot},[_e,Ot]),kn=ie.useMemo(function(){return!!(!en&&_e&&(at.length||sn)&&!(Tn==="combobox"&&sn===""))},[_e,en,at.length,sn,Tn]);return{allowClear:kn,clearIcon:ie.createElement($t,{className:"".concat(ye,"-clear"),onMouseDown:xe,customizeIcon:In},"\xD7")}}var yt=ie.createContext(null);function It(){return ie.useContext(yt)}function Kt(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,xe=ie.useState(!1),at=(0,Oe.Z)(xe,2),_e=at[0],Ot=at[1],en=ie.useRef(null),sn=function(){window.clearTimeout(en.current)};ie.useEffect(function(){return sn},[]);var Tn=function(kn,Xn){sn(),en.current=window.setTimeout(function(){Ot(kn),Xn&&Xn()},ye)};return[_e,Tn,sn]}function An(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,xe=ie.useRef(null),at=ie.useRef(null);ie.useEffect(function(){return function(){window.clearTimeout(at.current)}},[]);function _e(Ot){(Ot||xe.current===null)&&(xe.current=Ot),window.clearTimeout(at.current),at.current=window.setTimeout(function(){xe.current=null},ye)}return[function(){return xe.current},_e]}function Pt(ye,xe,at,_e){var Ot=ie.useRef(null);Ot.current={open:xe,triggerOpen:at,customizedTrigger:_e},ie.useEffect(function(){function en(sn){var Tn;if(!((Tn=Ot.current)!==null&&Tn!==void 0&&Tn.customizedTrigger)){var In=sn.target;In.shadowRoot&&sn.composed&&(In=sn.composedPath()[0]||In),Ot.current.open&&ye().filter(function(kn){return kn}).every(function(kn){return!kn.contains(In)&&kn!==In})&&Ot.current.triggerOpen(!1)}}return window.addEventListener("mousedown",en),function(){return window.removeEventListener("mousedown",en)}},[])}var Qt=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,ke=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,zn="".concat(Qt," ").concat(ke).split(/[\s\n]+/),an="aria-",ya="data-";function da(ye,xe){return ye.indexOf(xe)===0}function Dn(ye){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,at;xe===!1?at={aria:!0,data:!0,attr:!0}:xe===!0?at={aria:!0}:at=(0,ce.Z)({},xe);var _e={};return Object.keys(ye).forEach(function(Ot){(at.aria&&(Ot==="role"||da(Ot,an))||at.data&&da(Ot,ya)||at.attr&&zn.includes(Ot))&&(_e[Ot]=ye[Ot])}),_e}var ht=z(48555);function nt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var tn=nt()?ie.useLayoutEffect:ie.useEffect,vn=function(xe,at){var _e=ie.useRef(!0);tn(function(){return xe(_e.current)},at),tn(function(){return _e.current=!1,function(){_e.current=!0}},[])},Vt=function(xe,at){vn(function(_e){if(!_e)return xe()},at)},La=vn,En=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Ea=void 0;function Ia(ye,xe){var at=ye.prefixCls,_e=ye.invalidate,Ot=ye.item,en=ye.renderItem,sn=ye.responsive,Tn=ye.responsiveDisabled,In=ye.registerSize,kn=ye.itemKey,Xn=ye.className,xa=ye.style,ja=ye.children,Ca=ye.display,Va=ye.order,gr=ye.component,qa=gr===void 0?"div":gr,nr=(0,Re.Z)(ye,En),he=sn&&!Ca;function Ie(At){In(kn,At)}ie.useEffect(function(){return function(){Ie(null)}},[]);var tt=en&&Ot!==Ea?en(Ot):ja,me;_e||(me={opacity:he?0:1,height:he?0:Ea,overflowY:he?"hidden":Ea,order:sn?Va:Ea,pointerEvents:he?"none":Ea,position:he?"absolute":Ea});var qe={};he&&(qe["aria-hidden"]=!0);var ot=ie.createElement(qa,(0,We.Z)({className:se()(!_e&&at,Xn),style:(0,ce.Z)((0,ce.Z)({},me),xa)},qe,nr,{ref:xe}),tt);return sn&&(ot=ie.createElement(ht.Z,{onResize:function(He){var et=He.offsetWidth;Ie(et)},disabled:Tn},ot)),ot}var Ta=ie.forwardRef(Ia);Ta.displayName="Item";var gt=Ta;function Rt(ye){var xe=ie.useRef();xe.current=ye;var at=ie.useCallback(function(){for(var _e,Ot=arguments.length,en=new Array(Ot),sn=0;sn1&&arguments[1]!==void 0?arguments[1]:1;wn+=1;var _e=wn;function Ot(en){if(en===0)Nn(_e),xe();else{var sn=Qn(function(){Ot(en-1)});Za.set(_e,sn)}}return Ot(at),_e};mr.cancel=function(ye){var xe=Za.get(ye);return Nn(xe),xt(xe)};var Ka=mr;function wa(ye){if(typeof MessageChannel=="undefined")Ka(ye);else{var xe=new MessageChannel;xe.port1.onmessage=function(){return ye()},xe.port2.postMessage(void 0)}}function hr(){var ye=ie.useRef(null),xe=function(_e){ye.current||(ye.current=[],wa(function(){(0,tr.unstable_batchedUpdates)(function(){ye.current.forEach(function(Ot){Ot()}),ye.current=null})})),ye.current.push(_e)};return xe}function fn(ye,xe){var at=ie.useState(xe),_e=(0,Oe.Z)(at,2),Ot=_e[0],en=_e[1],sn=Rt(function(Tn){ye(function(){en(Tn)})});return[Ot,sn]}var to=ie.createContext(null),Qr=["component"],zo=["className"],Mr=["className"],Po=function(xe,at){var _e=ie.useContext(to);if(!_e){var Ot=xe.component,en=Ot===void 0?"div":Ot,sn=(0,Re.Z)(xe,Qr);return ie.createElement(en,(0,We.Z)({},sn,{ref:at}))}var Tn=_e.className,In=(0,Re.Z)(_e,zo),kn=xe.className,Xn=(0,Re.Z)(xe,Mr);return ie.createElement(to.Provider,{value:null},ie.createElement(gt,(0,We.Z)({ref:at,className:se()(Tn,kn)},In,Xn)))},ni=ie.forwardRef(Po);ni.displayName="RawItem";var qo=ni,Pi=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ki="responsive",_i="invalidate";function ta(ye){return"+ ".concat(ye.length," ...")}function Ya(ye,xe){var at=ye.prefixCls,_e=at===void 0?"rc-overflow":at,Ot=ye.data,en=Ot===void 0?[]:Ot,sn=ye.renderItem,Tn=ye.renderRawItem,In=ye.itemKey,kn=ye.itemWidth,Xn=kn===void 0?10:kn,xa=ye.ssr,ja=ye.style,Ca=ye.className,Va=ye.maxCount,gr=ye.renderRest,qa=ye.renderRawRest,nr=ye.suffix,he=ye.component,Ie=he===void 0?"div":he,tt=ye.itemComponent,me=ye.onVisibleChange,qe=(0,Re.Z)(ye,Pi),ot=xa==="full",At=hr(),He=fn(At,null),et=(0,Oe.Z)(He,2),ut=et[0],Tt=et[1],Jt=ut||0,cn=fn(At,new Map),Wt=(0,Oe.Z)(cn,2),dn=Wt[0],Cn=Wt[1],bn=fn(At,0),on=(0,Oe.Z)(bn,2),aa=on[0],Un=on[1],fa=fn(At,0),ha=(0,Oe.Z)(fa,2),On=ha[0],Oa=ha[1],Aa=fn(At,0),$n=(0,Oe.Z)(Aa,2),Ln=$n[0],ia=$n[1],$a=(0,ie.useState)(null),za=(0,Oe.Z)($a,2),sr=za[0],Ha=za[1],Ra=(0,ie.useState)(null),Na=(0,Oe.Z)(Ra,2),ar=Na[0],Ar=Na[1],io=ie.useMemo(function(){return ar===null&&ot?Number.MAX_SAFE_INTEGER:ar||0},[ar,ut]),no=(0,ie.useState)(!1),po=(0,Oe.Z)(no,2),Do=po[0],lo=po[1],ai="".concat(_e,"-item"),xi=Math.max(aa,On),fr=Va===ki,_a=en.length&&fr,_r=Va===_i,fo=_a||typeof Va=="number"&&en.length>Va,kr=(0,ie.useMemo)(function(){var Lr=en;return _a?ut===null&&ot?Lr=en:Lr=en.slice(0,Math.min(en.length,Jt/Xn)):typeof Va=="number"&&(Lr=en.slice(0,Va)),Lr},[en,Xn,ut,Va,_a]),No=(0,ie.useMemo)(function(){return _a?en.slice(io+1):en.slice(kr.length)},[en,kr,_a,io]),Jr=(0,ie.useCallback)(function(Lr,pa){var vr;return typeof In=="function"?In(Lr):(vr=In&&(Lr==null?void 0:Lr[In]))!==null&&vr!==void 0?vr:pa},[In]),Yo=(0,ie.useCallback)(sn||function(Lr){return Lr},[sn]);function mo(Lr,pa,vr){ar===Lr&&(pa===void 0||pa===sr)||(Ar(Lr),vr||(lo(LrJt){mo(yr-1,Lr-ka-Ln+On);break}}nr&&bi(0)+Ln>Jt&&Ha(null)}},[Jt,dn,On,Ln,Jr,kr]);var mi=Do&&!!No.length,Ko={};sr!==null&&_a&&(Ko={position:"absolute",left:sr,top:0});var Io={prefixCls:ai,responsive:_a,component:tt,invalidate:_r},Or=Tn?function(Lr,pa){var vr=Jr(Lr,pa);return ie.createElement(to.Provider,{key:vr,value:(0,ce.Z)((0,ce.Z)({},Io),{},{order:pa,item:Lr,itemKey:vr,registerSize:fi,display:pa<=io})},Tn(Lr,pa))}:function(Lr,pa){var vr=Jr(Lr,pa);return ie.createElement(gt,(0,We.Z)({},Io,{order:pa,key:vr,item:Lr,renderItem:Yo,itemKey:vr,registerSize:fi,display:pa<=io}))},co,Vo={order:mi?io:Number.MAX_SAFE_INTEGER,className:"".concat(ai,"-rest"),registerSize:ko,display:mi};if(qa)qa&&(co=ie.createElement(to.Provider,{value:(0,ce.Z)((0,ce.Z)({},Io),Vo)},qa(No)));else{var To=gr||ta;co=ie.createElement(gt,(0,We.Z)({},Io,Vo),typeof To=="function"?To(No):To)}var Di=ie.createElement(Ie,(0,We.Z)({className:se()(!_r&&_e,Ca),style:ja,ref:xe},qe),kr.map(Or),fo?co:null,nr&&ie.createElement(gt,(0,We.Z)({},Io,{responsive:fr,responsiveDisabled:!_a,order:io,className:"".concat(ai,"-suffix"),registerSize:Ai,display:!0,style:Ko}),nr));return fr&&(Di=ie.createElement(ht.Z,{onResize:so,disabled:!_a},Di)),Di}var Kr=ie.forwardRef(Ya);Kr.displayName="Overflow",Kr.Item=qo,Kr.RESPONSIVE=ki,Kr.INVALIDATE=_i;var Yn=Kr,Mn=Yn,la=function(xe,at){var _e,Ot,en=xe.prefixCls,sn=xe.id,Tn=xe.inputElement,In=xe.disabled,kn=xe.tabIndex,Xn=xe.autoFocus,xa=xe.autoComplete,ja=xe.editable,Ca=xe.activeDescendantId,Va=xe.value,gr=xe.maxLength,qa=xe.onKeyDown,nr=xe.onMouseDown,he=xe.onChange,Ie=xe.onPaste,tt=xe.onCompositionStart,me=xe.onCompositionEnd,qe=xe.open,ot=xe.attrs,At=Tn||ie.createElement("input",null),He=At,et=He.ref,ut=He.props,Tt=ut.onKeyDown,Jt=ut.onChange,cn=ut.onMouseDown,Wt=ut.onCompositionStart,dn=ut.onCompositionEnd,Cn=ut.style;return"maxLength"in At.props,At=ie.cloneElement(At,(0,ce.Z)((0,ce.Z)((0,ce.Z)({type:"search"},ut),{},{id:sn,ref:Dt(at,et),disabled:In,tabIndex:kn,autoComplete:xa||"off",autoFocus:Xn,className:se()("".concat(en,"-selection-search-input"),(_e=At)===null||_e===void 0||(Ot=_e.props)===null||Ot===void 0?void 0:Ot.className),role:"combobox","aria-label":"Search","aria-expanded":qe||!1,"aria-haspopup":"listbox","aria-owns":"".concat(sn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(sn,"_list"),"aria-activedescendant":qe?Ca:void 0},ot),{},{value:ja?Va:"",maxLength:gr,readOnly:!ja,unselectable:ja?null:"on",style:(0,ce.Z)((0,ce.Z)({},Cn),{},{opacity:ja?null:0}),onKeyDown:function(on){qa(on),Tt&&Tt(on)},onMouseDown:function(on){nr(on),cn&&cn(on)},onChange:function(on){he(on),Jt&&Jt(on)},onCompositionStart:function(on){tt(on),Wt&&Wt(on)},onCompositionEnd:function(on){me(on),dn&&dn(on)},onPaste:Ie})),At},Ft=ie.forwardRef(la);Ft.displayName="Input";var Kn=Ft;function ua(ye){return Array.isArray(ye)?ye:ye!==void 0?[ye]:[]}var Fn=typeof window!="undefined"&&window.document&&window.document.documentElement,wt=Fn;function kt(ye){return ye!=null}function Bt(ye){return!ye&&ye!==0}function gn(ye){return["string","number"].includes((0,De.Z)(ye))}function Hn(ye){var xe=void 0;return ye&&(gn(ye.title)?xe=ye.title.toString():gn(ye.label)&&(xe=ye.label.toString())),xe}function oa(ye,xe){wt?ie.useLayoutEffect(ye,xe):ie.useEffect(ye,xe)}function Cr(ye){var xe;return(xe=ye.key)!==null&&xe!==void 0?xe:ye.value}var _t=function(xe){xe.preventDefault(),xe.stopPropagation()},Fa=function(xe){var at=xe.id,_e=xe.prefixCls,Ot=xe.values,en=xe.open,sn=xe.searchValue,Tn=xe.autoClearSearchValue,In=xe.inputRef,kn=xe.placeholder,Xn=xe.disabled,xa=xe.mode,ja=xe.showSearch,Ca=xe.autoFocus,Va=xe.autoComplete,gr=xe.activeDescendantId,qa=xe.tabIndex,nr=xe.removeIcon,he=xe.maxTagCount,Ie=xe.maxTagTextLength,tt=xe.maxTagPlaceholder,me=tt===void 0?function(Ha){return"+ ".concat(Ha.length," ...")}:tt,qe=xe.tagRender,ot=xe.onToggleOpen,At=xe.onRemove,He=xe.onInputChange,et=xe.onInputPaste,ut=xe.onInputKeyDown,Tt=xe.onInputMouseDown,Jt=xe.onInputCompositionStart,cn=xe.onInputCompositionEnd,Wt=ie.useRef(null),dn=(0,ie.useState)(0),Cn=(0,Oe.Z)(dn,2),bn=Cn[0],on=Cn[1],aa=(0,ie.useState)(!1),Un=(0,Oe.Z)(aa,2),fa=Un[0],ha=Un[1],On="".concat(_e,"-selection"),Oa=en||xa==="multiple"&&Tn===!1||xa==="tags"?sn:"",Aa=xa==="tags"||xa==="multiple"&&Tn===!1||ja&&(en||fa);oa(function(){on(Wt.current.scrollWidth)},[Oa]);function $n(Ha,Ra,Na,ar,Ar){return ie.createElement("span",{className:se()("".concat(On,"-item"),(0,Ye.Z)({},"".concat(On,"-item-disabled"),Na)),title:Hn(Ha)},ie.createElement("span",{className:"".concat(On,"-item-content")},Ra),ar&&ie.createElement($t,{className:"".concat(On,"-item-remove"),onMouseDown:_t,onClick:Ar,customizeIcon:nr},"\xD7"))}function Ln(Ha,Ra,Na,ar,Ar){var io=function(po){_t(po),ot(!en)};return ie.createElement("span",{onMouseDown:io},qe({label:Ra,value:Ha,disabled:Na,closable:ar,onClose:Ar}))}function ia(Ha){var Ra=Ha.disabled,Na=Ha.label,ar=Ha.value,Ar=!Xn&&!Ra,io=Na;if(typeof Ie=="number"&&(typeof Na=="string"||typeof Na=="number")){var no=String(io);no.length>Ie&&(io="".concat(no.slice(0,Ie),"..."))}var po=function(lo){lo&&lo.stopPropagation(),At(Ha)};return typeof qe=="function"?Ln(ar,io,Ra,Ar,po):$n(Ha,io,Ra,Ar,po)}function $a(Ha){var Ra=typeof me=="function"?me(Ha):me;return $n({title:Ra},Ra,!1)}var za=ie.createElement("div",{className:"".concat(On,"-search"),style:{width:bn},onFocus:function(){ha(!0)},onBlur:function(){ha(!1)}},ie.createElement(Kn,{ref:In,open:en,prefixCls:_e,id:at,inputElement:null,disabled:Xn,autoFocus:Ca,autoComplete:Va,editable:Aa,activeDescendantId:gr,value:Oa,onKeyDown:ut,onMouseDown:Tt,onChange:He,onPaste:et,onCompositionStart:Jt,onCompositionEnd:cn,tabIndex:qa,attrs:Dn(xe,!0)}),ie.createElement("span",{ref:Wt,className:"".concat(On,"-search-mirror"),"aria-hidden":!0},Oa,"\xA0")),sr=ie.createElement(Mn,{prefixCls:"".concat(On,"-overflow"),data:Ot,renderItem:ia,renderRest:$a,suffix:za,itemKey:Cr,maxCount:he});return ie.createElement(ie.Fragment,null,sr,!Ot.length&&!Oa&&ie.createElement("span",{className:"".concat(On,"-placeholder")},kn))},pr=Fa,vi=function(xe){var at=xe.inputElement,_e=xe.prefixCls,Ot=xe.id,en=xe.inputRef,sn=xe.disabled,Tn=xe.autoFocus,In=xe.autoComplete,kn=xe.activeDescendantId,Xn=xe.mode,xa=xe.open,ja=xe.values,Ca=xe.placeholder,Va=xe.tabIndex,gr=xe.showSearch,qa=xe.searchValue,nr=xe.activeValue,he=xe.maxLength,Ie=xe.onInputKeyDown,tt=xe.onInputMouseDown,me=xe.onInputChange,qe=xe.onInputPaste,ot=xe.onInputCompositionStart,At=xe.onInputCompositionEnd,He=xe.title,et=ie.useState(!1),ut=(0,Oe.Z)(et,2),Tt=ut[0],Jt=ut[1],cn=Xn==="combobox",Wt=cn||gr,dn=ja[0],Cn=qa||"";cn&&nr&&!Tt&&(Cn=nr),ie.useEffect(function(){cn&&Jt(!1)},[cn,nr]);var bn=Xn!=="combobox"&&!xa&&!gr?!1:!!Cn,on=He===void 0?Hn(dn):He,aa=function(){if(dn)return null;var fa=bn?{visibility:"hidden"}:void 0;return ie.createElement("span",{className:"".concat(_e,"-selection-placeholder"),style:fa},Ca)};return ie.createElement(ie.Fragment,null,ie.createElement("span",{className:"".concat(_e,"-selection-search")},ie.createElement(Kn,{ref:en,prefixCls:_e,id:Ot,open:xa,inputElement:at,disabled:sn,autoFocus:Tn,autoComplete:In,editable:Wt,activeDescendantId:kn,value:Cn,onKeyDown:Ie,onMouseDown:tt,onChange:function(fa){Jt(!0),me(fa)},onPaste:qe,onCompositionStart:ot,onCompositionEnd:At,tabIndex:Va,attrs:Dn(xe,!0),maxLength:cn?he:void 0})),!cn&&dn?ie.createElement("span",{className:"".concat(_e,"-selection-item"),title:on,style:bn?{visibility:"hidden"}:void 0},dn.label):null,aa())},na=vi;function wo(ye){return![Ge.ESC,Ge.SHIFT,Ge.BACKSPACE,Ge.TAB,Ge.WIN_KEY,Ge.ALT,Ge.META,Ge.WIN_KEY_RIGHT,Ge.CTRL,Ge.SEMICOLON,Ge.EQUALS,Ge.CAPS_LOCK,Ge.CONTEXT_MENU,Ge.F1,Ge.F2,Ge.F3,Ge.F4,Ge.F5,Ge.F6,Ge.F7,Ge.F8,Ge.F9,Ge.F10,Ge.F11,Ge.F12].includes(ye)}var Tr=function(xe,at){var _e=(0,ie.useRef)(null),Ot=(0,ie.useRef)(!1),en=xe.prefixCls,sn=xe.open,Tn=xe.mode,In=xe.showSearch,kn=xe.tokenWithEnter,Xn=xe.autoClearSearchValue,xa=xe.onSearch,ja=xe.onSearchSubmit,Ca=xe.onToggleOpen,Va=xe.onInputKeyDown,gr=xe.domRef;ie.useImperativeHandle(at,function(){return{focus:function(){_e.current.focus()},blur:function(){_e.current.blur()}}});var qa=An(0),nr=(0,Oe.Z)(qa,2),he=nr[0],Ie=nr[1],tt=function(Cn){var bn=Cn.which;(bn===Ge.UP||bn===Ge.DOWN)&&Cn.preventDefault(),Va&&Va(Cn),bn===Ge.ENTER&&Tn==="tags"&&!Ot.current&&!sn&&(ja==null||ja(Cn.target.value)),wo(bn)&&Ca(!0)},me=function(){Ie(!0)},qe=(0,ie.useRef)(null),ot=function(Cn){xa(Cn,!0,Ot.current)!==!1&&Ca(!0)},At=function(){Ot.current=!0},He=function(Cn){Ot.current=!1,Tn!=="combobox"&&ot(Cn.target.value)},et=function(Cn){var bn=Cn.target.value;if(kn&&qe.current&&/[\r\n]/.test(qe.current)){var on=qe.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");bn=bn.replace(on,qe.current)}qe.current=null,ot(bn)},ut=function(Cn){var bn=Cn.clipboardData,on=bn.getData("text");qe.current=on},Tt=function(Cn){var bn=Cn.target;if(bn!==_e.current){var on=document.body.style.msTouchAction!==void 0;on?setTimeout(function(){_e.current.focus()}):_e.current.focus()}},Jt=function(Cn){var bn=he();Cn.target!==_e.current&&!bn&&Tn!=="combobox"&&Cn.preventDefault(),(Tn!=="combobox"&&(!In||!bn)||!sn)&&(sn&&Xn!==!1&&xa("",!0,!1),Ca())},cn={inputRef:_e,onInputKeyDown:tt,onInputMouseDown:me,onInputChange:et,onInputPaste:ut,onInputCompositionStart:At,onInputCompositionEnd:He},Wt=Tn==="multiple"||Tn==="tags"?ie.createElement(pr,(0,We.Z)({},xe,cn)):ie.createElement(na,(0,We.Z)({},xe,cn));return ie.createElement("div",{ref:gr,className:"".concat(en,"-selector"),onClick:Tt,onMouseDown:Jt},Wt)},ho=ie.forwardRef(Tr);ho.displayName="Selector";var Ao=ho,_o=z(62709),ji=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Eo=function(xe){var at=xe===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:at,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:at,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:at,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:at,adjustY:1},htmlRegion:"scroll"}}},Wi=function(xe,at){var _e=xe.prefixCls,Ot=xe.disabled,en=xe.visible,sn=xe.children,Tn=xe.popupElement,In=xe.animation,kn=xe.transitionName,Xn=xe.dropdownStyle,xa=xe.dropdownClassName,ja=xe.direction,Ca=ja===void 0?"ltr":ja,Va=xe.placement,gr=xe.builtinPlacements,qa=xe.dropdownMatchSelectWidth,nr=xe.dropdownRender,he=xe.dropdownAlign,Ie=xe.getPopupContainer,tt=xe.empty,me=xe.getTriggerDOMNode,qe=xe.onPopupVisibleChange,ot=xe.onPopupMouseEnter,At=(0,Re.Z)(xe,ji),He="".concat(_e,"-dropdown"),et=Tn;nr&&(et=nr(Tn));var ut=ie.useMemo(function(){return gr||Eo(qa)},[gr,qa]),Tt=In?"".concat(He,"-").concat(In):kn,Jt=typeof qa=="number",cn=ie.useMemo(function(){return Jt?null:qa===!1?"minWidth":"width"},[qa,Jt]),Wt=Xn;Jt&&(Wt=(0,ce.Z)((0,ce.Z)({},Wt),{},{width:qa}));var dn=ie.useRef(null);return ie.useImperativeHandle(at,function(){return{getPopupElement:function(){return dn.current}}}),ie.createElement(_o.Z,(0,We.Z)({},At,{showAction:qe?["click"]:[],hideAction:qe?["click"]:[],popupPlacement:Va||(Ca==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ut,prefixCls:He,popupTransitionName:Tt,popup:ie.createElement("div",{ref:dn,onMouseEnter:ot},et),stretch:cn,popupAlign:he,popupVisible:en,getPopupContainer:Ie,popupClassName:se()(xa,(0,Ye.Z)({},"".concat(He,"-empty"),tt)),popupStyle:Wt,getTriggerDOMNode:me,onPopupVisibleChange:qe}),sn)},dl=ie.forwardRef(Wi);dl.displayName="SelectTrigger";var ml=dl,tl=z(84506);function nl(ye,xe){var at=ye.key,_e;return"value"in ye&&(_e=ye.value),at!=null?at:_e!==void 0?_e:"rc-index-key-".concat(xe)}function li(ye,xe){var at=ye||{},_e=at.label,Ot=at.value,en=at.options,sn=at.groupLabel,Tn=_e||(xe?"children":"label");return{label:Tn,value:Ot||"value",options:en||"options",groupLabel:sn||Tn}}function bl(ye){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},at=xe.fieldNames,_e=xe.childrenAsData,Ot=[],en=li(at,!1),sn=en.label,Tn=en.value,In=en.options,kn=en.groupLabel;function Xn(xa,ja){xa.forEach(function(Ca){if(ja||!(In in Ca)){var Va=Ca[Tn];Ot.push({key:nl(Ca,Ot.length),groupOption:ja,data:Ca,label:Ca[sn],value:Va})}else{var gr=Ca[kn];gr===void 0&&_e&&(gr=Ca.label),Ot.push({key:nl(Ca,Ot.length),group:!0,data:Ca,label:gr}),Xn(Ca[In],!0)}})}return Xn(ye,!1),Ot}function ba(ye){var xe=(0,ce.Z)({},ye);return"props"in xe||Object.defineProperty(xe,"props",{get:function(){return we(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),xe}}),xe}function wu(ye,xe){if(!xe||!xe.length)return null;var at=!1;function _e(en,sn){var Tn=(0,tl.Z)(sn),In=Tn[0],kn=Tn.slice(1);if(!In)return[en];var Xn=en.split(In);return at=at||Xn.length>1,Xn.reduce(function(xa,ja){return[].concat((0,te.Z)(xa),(0,te.Z)(_e(ja,kn)))},[]).filter(function(xa){return xa})}var Ot=_e(ye,xe);return at?Ot:null}var Dl=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],hi=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Ql(ye){return ye==="tags"||ye==="multiple"}var ir=ie.forwardRef(function(ye,xe){var at,_e,Ot=ye.id,en=ye.prefixCls,sn=ye.className,Tn=ye.showSearch,In=ye.tagRender,kn=ye.direction,Xn=ye.omitDomProps,xa=ye.displayValues,ja=ye.onDisplayValuesChange,Ca=ye.emptyOptions,Va=ye.notFoundContent,gr=Va===void 0?"Not Found":Va,qa=ye.onClear,nr=ye.mode,he=ye.disabled,Ie=ye.loading,tt=ye.getInputElement,me=ye.getRawInputElement,qe=ye.open,ot=ye.defaultOpen,At=ye.onDropdownVisibleChange,He=ye.activeValue,et=ye.onActiveValueChange,ut=ye.activeDescendantId,Tt=ye.searchValue,Jt=ye.autoClearSearchValue,cn=ye.onSearch,Wt=ye.onSearchSplit,dn=ye.tokenSeparators,Cn=ye.allowClear,bn=ye.suffixIcon,on=ye.clearIcon,aa=ye.OptionList,Un=ye.animation,fa=ye.transitionName,ha=ye.dropdownStyle,On=ye.dropdownClassName,Oa=ye.dropdownMatchSelectWidth,Aa=ye.dropdownRender,$n=ye.dropdownAlign,Ln=ye.placement,ia=ye.builtinPlacements,$a=ye.getPopupContainer,za=ye.showAction,sr=za===void 0?[]:za,Ha=ye.onFocus,Ra=ye.onBlur,Na=ye.onKeyUp,ar=ye.onKeyDown,Ar=ye.onMouseDown,io=(0,Re.Z)(ye,Dl),no=Ql(nr),po=(Tn!==void 0?Tn:no)||nr==="combobox",Do=(0,ce.Z)({},io);hi.forEach(function(ra){delete Do[ra]}),Xn==null||Xn.forEach(function(ra){delete Do[ra]});var lo=ie.useState(!1),ai=(0,Oe.Z)(lo,2),xi=ai[0],fr=ai[1];ie.useEffect(function(){fr(Qe())},[]);var _a=ie.useRef(null),_r=ie.useRef(null),fo=ie.useRef(null),kr=ie.useRef(null),No=ie.useRef(null),Jr=Kt(),Yo=(0,Oe.Z)(Jr,3),mo=Yo[0],so=Yo[1],fi=Yo[2];ie.useImperativeHandle(xe,function(){var ra,Jn;return{focus:(ra=kr.current)===null||ra===void 0?void 0:ra.focus,blur:(Jn=kr.current)===null||Jn===void 0?void 0:Jn.blur,scrollTo:function(cr){var wr;return(wr=No.current)===null||wr===void 0?void 0:wr.scrollTo(cr)}}});var ko=ie.useMemo(function(){var ra;if(nr!=="combobox")return Tt;var Jn=(ra=xa[0])===null||ra===void 0?void 0:ra.value;return typeof Jn=="string"||typeof Jn=="number"?String(Jn):""},[Tt,nr,xa]),Ai=nr==="combobox"&&typeof tt=="function"&&tt()||null,bi=typeof me=="function"&&me(),mi=Nt(_r,bi==null||(at=bi.props)===null||at===void 0?void 0:at.ref),Ko=ie.useState(!1),Io=(0,Oe.Z)(Ko,2),Or=Io[0],co=Io[1];b(function(){co(!0)},[]);var Vo=re(!1,{defaultValue:ot,value:qe}),To=(0,Oe.Z)(Vo,2),Di=To[0],Lr=To[1],pa=Or?Di:!1,vr=!gr&&Ca;(he||vr&&pa&&nr==="combobox")&&(pa=!1);var yr=vr?!1:pa,ka=ie.useCallback(function(ra){var Jn=ra!==void 0?ra:!pa;he||(Lr(Jn),pa!==Jn&&(At==null||At(Jn)))},[he,pa,Lr,At]),xo=ie.useMemo(function(){return(dn||[]).some(function(ra){return[` `,`\r `].includes(ra)})},[dn]),Go=function(Jn,Ma,cr){var wr=!0,eo=Jn;et==null||et(null);var uo=cr?null:wu(Jn,dn);return nr!=="combobox"&&uo&&(eo="",Wt==null||Wt(uo),ka(!1),wr=!1),cn&&ko!==eo&&cn(eo,{source:Ma?"typing":"effect"}),wr},Ri=function(Jn){!Jn||!Jn.trim()||cn(Jn,{source:"submit"})};ie.useEffect(function(){!pa&&!no&&nr!=="combobox"&&Go("",!1,!1)},[pa]),ie.useEffect(function(){Di&&he&&Lr(!1),he&&so(!1)},[he]);var Si=An(),ol=(0,Oe.Z)(Si,2),ge=ol[0],fe=ol[1],Ne=function(Jn){var Ma=ge(),cr=Jn.which;if(cr===Ge.ENTER&&(nr!=="combobox"&&Jn.preventDefault(),pa||ka(!0)),fe(!!ko),cr===Ge.BACKSPACE&&!Ma&&no&&!ko&&xa.length){for(var wr=(0,te.Z)(xa),eo=null,uo=wr.length-1;uo>=0;uo-=1){var zr=wr[uo];if(!zr.disabled){wr.splice(uo,1),eo=zr;break}}eo&&ja(wr,{type:"remove",values:[eo]})}for(var Bo=arguments.length,Lo=new Array(Bo>1?Bo-1:0),ri=1;ri1?Ma-1:0),wr=1;wr1?uo-1:0),Bo=1;Bo1&&arguments[1]!==void 0?arguments[1]:{},at=[];return ie.Children.forEach(ye,function(_e){_e==null&&!xe.keepEmpty||(Array.isArray(_e)?at=at.concat(Ti(_e)):(0,Ze.isFragment)(_e)&&_e.props?at=at.concat(Ti(_e.props.children,xe)):at.push(_e))}),at}var jo=["children","value"],Ei=["children"];function Xl(ye){var xe=ye,at=xe.key,_e=xe.props,Ot=_e.children,en=_e.value,sn=(0,Re.Z)(_e,jo);return(0,ce.Z)({key:at,value:en!==void 0?en:at,children:Ot},sn)}function kl(ye){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ti(ye).map(function(at,_e){if(!ie.isValidElement(at)||!at.type)return null;var Ot=at,en=Ot.type.isSelectOptGroup,sn=Ot.key,Tn=Ot.props,In=Tn.children,kn=(0,Re.Z)(Tn,Ei);return xe||!en?Xl(at):(0,ce.Z)((0,ce.Z)({key:"__RC_SELECT_GRP__".concat(sn===null?_e:sn,"__"),label:sn},kn),{},{options:kl(In)})}).filter(function(at){return at})}function eu(ye,xe,at,_e,Ot){return ie.useMemo(function(){var en=ye,sn=!ye;sn&&(en=kl(xe));var Tn=new Map,In=new Map,kn=function(ja,Ca,Va){Va&&typeof Va=="string"&&ja.set(Ca[Va],Ca)};function Xn(xa){for(var ja=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ca=0;Ca1&&arguments[1]!==void 0?arguments[1]:1,$a=et.length,za=0;za<$a;za+=1){var sr=(Ln+za*ia+$a)%$a,Ha=et[sr],Ra=Ha.group,Na=Ha.data;if(!Ra&&!Na.disabled)return sr}return-1},Wt=ie.useState(function(){return cn(0)}),dn=(0,Oe.Z)(Wt,2),Cn=dn[0],bn=dn[1],on=function(Ln){var ia=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;bn(Ln);var $a={source:ia?"keyboard":"mouse"},za=et[Ln];if(!za){gr(null,-1,$a);return}gr(za.value,Ln,$a)};(0,ie.useEffect)(function(){on(qa!==!1?cn(0):-1)},[et.length,kn]);var aa=ie.useCallback(function($n){return Ie.has($n)&&In!=="combobox"},[In,(0,te.Z)(Ie).toString(),Ie.size]);(0,ie.useEffect)(function(){var $n=setTimeout(function(){if(!Tn&&sn&&Ie.size===1){var ia=Array.from(Ie)[0],$a=et.findIndex(function(za){var sr=za.data;return sr.value===ia});$a!==-1&&(on($a),Jt($a))}});if(sn){var Ln;(Ln=ut.current)===null||Ln===void 0||Ln.scrollTo(void 0)}return function(){return clearTimeout($n)}},[sn,kn,Va.length]);var Un=function(Ln){Ln!==void 0&&nr(Ln,{selected:!Ie.has(Ln)}),Tn||Xn(!1)};if(ie.useImperativeHandle(at,function(){return{onKeyDown:function(Ln){var ia=Ln.which,$a=Ln.ctrlKey;switch(ia){case Ge.N:case Ge.P:case Ge.UP:case Ge.DOWN:{var za=0;if(ia===Ge.UP?za=-1:ia===Ge.DOWN?za=1:Ve()&&$a&&(ia===Ge.N?za=1:ia===Ge.P&&(za=-1)),za!==0){var sr=cn(Cn+za,za);Jt(sr),on(sr,!0)}break}case Ge.ENTER:{var Ha=et[Cn];Ha&&!Ha.data.disabled?Un(Ha.value):Un(void 0),sn&&Ln.preventDefault();break}case Ge.ESC:Xn(!1),sn&&Ln.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ln){Jt(Ln)}}}),et.length===0)return ie.createElement("div",{role:"listbox",id:"".concat(en,"_list"),className:"".concat(He,"-empty"),onMouseDown:Tt},xa);var fa=Object.keys(tt).map(function($n){return tt[$n]}),ha=function(Ln){return Ln.label};function On($n,Ln){var ia=$n.group;return{role:ia?"presentation":"option",id:"".concat(en,"_list_").concat(Ln)}}var Oa=function(Ln){var ia=et[Ln];if(!ia)return null;var $a=ia.data||{},za=$a.value,sr=ia.group,Ha=Dn($a,!0),Ra=ha(ia);return ia?ie.createElement("div",(0,We.Z)({"aria-label":typeof Ra=="string"&&!sr?Ra:null},Ha,{key:Ln},On(ia,Ln),{"aria-selected":aa(za)}),za):null},Aa={role:"listbox",id:"".concat(en,"_list")};return ie.createElement(ie.Fragment,null,me&&ie.createElement("div",(0,We.Z)({},Aa,{style:{height:0,width:0,overflow:"hidden"}}),Oa(Cn-1),Oa(Cn),Oa(Cn+1)),ie.createElement(Ju.Z,{itemKey:"key",ref:ut,data:et,height:ot,itemHeight:At,fullHeight:!1,onMouseDown:Tt,onScroll:ja,virtual:me,direction:qe,innerProps:me?null:Aa},function($n,Ln){var ia,$a=$n.group,za=$n.groupOption,sr=$n.data,Ha=$n.label,Ra=$n.value,Na=sr.key;if($a){var ar,Ar=(ar=sr.title)!==null&&ar!==void 0?ar:ft(Ha)?Ha.toString():void 0;return ie.createElement("div",{className:se()(He,"".concat(He,"-group")),title:Ar},Ha!==void 0?Ha:Na)}var io=sr.disabled,no=sr.title,po=sr.children,Do=sr.style,lo=sr.className,ai=(0,Re.Z)(sr,be),xi=Au(ai,fa),fr=aa(Ra),_a="".concat(He,"-option"),_r=se()(He,_a,lo,(ia={},(0,Ye.Z)(ia,"".concat(_a,"-grouped"),za),(0,Ye.Z)(ia,"".concat(_a,"-active"),Cn===Ln&&!io),(0,Ye.Z)(ia,"".concat(_a,"-disabled"),io),(0,Ye.Z)(ia,"".concat(_a,"-selected"),fr),ia)),fo=ha($n),kr=!he||typeof he=="function"||fr,No=typeof fo=="number"?fo:fo||Ra,Jr=ft(No)?No.toString():void 0;return no!==void 0&&(Jr=no),ie.createElement("div",(0,We.Z)({},Dn(xi),me?{}:On($n,Ln),{"aria-selected":fr,className:_r,title:Jr,onMouseMove:function(){Cn===Ln||io||on(Ln)},onClick:function(){io||Un(Ra)},style:Do}),ie.createElement("div",{className:"".concat(_a,"-content")},No),ie.isValidElement(he)||fr,kr&&ie.createElement($t,{className:"".concat(He,"-option-state"),customizeIcon:he,customizeIconProps:{isSelected:fr}},fr?"\u2713":null))}))},st=ie.forwardRef(Ue);st.displayName="OptionList";var dt=st;function pt(ye){var xe=ye.mode,at=ye.options,_e=ye.children,Ot=ye.backfill,en=ye.allowClear,sn=ye.placeholder,Tn=ye.getInputElement,In=ye.showSearch,kn=ye.onSearch,Xn=ye.defaultOpen,xa=ye.autoFocus,ja=ye.labelInValue,Ca=ye.value,Va=ye.inputValue,gr=ye.optionLabelProp,qa=isMultiple(xe),nr=In!==void 0?In:qa||xe==="combobox",he=at||convertChildrenToData(_e);if(warning(xe!=="tags"||he.every(function(qe){return!qe.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),xe==="tags"||xe==="combobox"){var Ie=he.some(function(qe){return qe.options?qe.options.some(function(ot){return typeof("value"in ot?ot.value:ot.key)=="number"}):typeof("value"in qe?qe.value:qe.key)=="number"});warning(!Ie,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(xe!=="combobox"||!gr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(xe==="combobox"||!Ot,"`backfill` only works with `combobox` mode."),warning(xe==="combobox"||!Tn,"`getInputElement` only work with `combobox` mode."),noteOnce(xe!=="combobox"||!Tn||!en||!sn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),kn&&!nr&&xe!=="combobox"&&xe!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Xn||xa,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ca!=null){var tt=toArray(Ca);warning(!ja||tt.every(function(qe){return _typeof(qe)==="object"&&("key"in qe||"value"in qe)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!qa||Array.isArray(Ca),"`value` should be array when `mode` is `multiple` or `tags`")}if(_e){var me=null;toNodeArray(_e).some(function(qe){if(!React.isValidElement(qe)||!qe.type)return!1;var ot=qe,At=ot.type;if(At.isSelectOption)return!1;if(At.isSelectOptGroup){var He=toNodeArray(qe.props.children).every(function(et){return!React.isValidElement(et)||!qe.type||et.type.isSelectOption?!0:(me=et.type,!1)});return!He}return me=At,!0}),me&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(me.displayName||me.name||me,"`.")),warning(Va===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function bt(ye,xe){if(ye){var at=function _e(Ot){for(var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sn=0;sn2&&arguments[2]!==void 0?arguments[2]:{},ka=yr.source,xo=ka===void 0?"keyboard":ka;mi(vr),sn&&_e==="combobox"&&pa!==null&&xo==="keyboard"&&fi(String(pa))},[sn,_e]),Or=function(vr,yr,ka){var xo=function(){var ct,Mt=lo(vr);return[Cn?{label:Mt==null?void 0:Mt[On.label],value:vr,key:(ct=Mt==null?void 0:Mt.key)!==null&&ct!==void 0?ct:vr}:vr,ba(Mt)]};if(yr&&Ca){var Go=xo(),Ri=(0,Oe.Z)(Go,2),Si=Ri[0],ol=Ri[1];Ca(Si,ol)}else if(!yr&&Va&&ka!=="clear"){var ge=xo(),fe=(0,Oe.Z)(ge,2),Ne=fe[0],Te=fe[1];Va(Ne,Te)}},co=ou(function(pa,vr){var yr,ka=Un?vr.selected:!0;ka?yr=Un?[].concat((0,te.Z)(Do),[pa]):[pa]:yr=Do.filter(function(xo){return xo.value!==pa}),Jr(yr),Or(pa,ka),_e==="combobox"?fi(""):(!Ql||ja)&&(Ln(""),fi(""))}),Vo=function(vr,yr){Jr(vr);var ka=yr.type,xo=yr.values;(ka==="remove"||ka==="clear")&&xo.forEach(function(Go){Or(Go.value,!1,ka)})},To=function(vr,yr){if(Ln(vr),fi(null),yr.source==="submit"){var ka=(vr||"").trim();if(ka){var xo=Array.from(new Set([].concat((0,te.Z)(xi),[ka])));Jr(xo),Or(ka,!0),Ln("")}return}yr.source!=="blur"&&(_e==="combobox"&&Jr(vr),Xn==null||Xn(vr))},Di=function(vr){var yr=vr;_e!=="tags"&&(yr=vr.map(function(xo){var Go=za.get(xo);return Go==null?void 0:Go.value}).filter(function(xo){return xo!==void 0}));var ka=Array.from(new Set([].concat((0,te.Z)(xi),(0,te.Z)(yr))));Jr(ka),ka.forEach(function(xo){Or(xo,!0)})},Lr=ie.useMemo(function(){var pa=He!==!1&&qa!==!1;return(0,ce.Z)((0,ce.Z)({},ia),{},{flattenOptions:No,onActiveValue:Io,defaultActiveFirstOption:Ko,onSelect:co,menuItemSelectedIcon:At,rawValues:xi,fieldNames:On,virtual:pa,direction:et,listHeight:Tt,listItemHeight:cn,childrenAsData:fa})},[ia,No,Io,Ko,co,At,xi,On,He,qa,Tt,cn,fa]);return ie.createElement(Ee.Provider,{value:Lr},ie.createElement($r,(0,We.Z)({},on,{id:aa,prefixCls:en,ref:xe,omitDomProps:qn,mode:_e,displayValues:ai,onDisplayValuesChange:Vo,direction:et,searchValue:$n,onSearch:To,autoClearSearchValue:ja,onSearchSplit:Di,dropdownMatchSelectWidth:qa,OptionList:dt,emptyOptions:!No.length,activeValue:so,activeDescendantId:"".concat(aa,"_list_").concat(bi)})))}),sa=ur;sa.Option=Jl,sa.OptGroup=Zi;var jn=null,rn=null,Gn=z(17341);function Wn(ye){var xe=ie.useRef(!1),at=ie.useState(ye),_e=(0,Oe.Z)(at,2),Ot=_e[0],en=_e[1];ie.useEffect(function(){return xe.current=!1,function(){xe.current=!0}},[]);function sn(Tn,In){In&&xe.current||en(Tn)}return[Ot,sn]}function Ua(ye){return ye!==void 0}function dr(ye,xe){var at=xe||{},_e=at.defaultValue,Ot=at.value,en=at.onChange,sn=at.postState,Tn=Wn(function(){return Ua(Ot)?Ot:Ua(_e)?typeof _e=="function"?_e():_e:typeof ye=="function"?ye():ye}),In=(0,Oe.Z)(Tn,2),kn=In[0],Xn=In[1],xa=Ot!==void 0?Ot:kn,ja=sn?sn(xa):xa,Ca=Rt(en),Va=Wn([xa]),gr=(0,Oe.Z)(Va,2),qa=gr[0],nr=gr[1];Vt(function(){var Ie=qa[0];kn!==Ie&&Ca(kn,Ie)},[qa]),Vt(function(){Ua(Ot)||Xn(Ot)},[Ot]);var he=Rt(function(Ie,tt){Xn(Ie,tt),nr([xa],tt)});return[ja,he]}var Ir=ie.createContext(null),Fr=Ir,Sr="__rc_cascader_search_mark__",Xr=function(xe,at,_e){var Ot=_e.label;return at.some(function(en){return String(en[Ot]).toLowerCase().includes(xe.toLowerCase())})},Co=function(xe,at,_e,Ot){return at.map(function(en){return en[Ot.label]}).join(" / ")},Vr=function(ye,xe,at,_e,Ot,en){var sn=Ot.filter,Tn=sn===void 0?Xr:sn,In=Ot.render,kn=In===void 0?Co:In,Xn=Ot.limit,xa=Xn===void 0?50:Xn,ja=Ot.sort;return ie.useMemo(function(){var Ca=[];if(!ye)return[];function Va(gr,qa){var nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;gr.forEach(function(he){if(!(!ja&&xa!==!1&&xa>0&&Ca.length>=xa)){var Ie=[].concat((0,te.Z)(qa),[he]),tt=he[at.children],me=nr||he.disabled;if((!tt||tt.length===0||en)&&Tn(ye,Ie,{label:at.label})){var qe;Ca.push((0,ce.Z)((0,ce.Z)({},he),{},(qe={disabled:me},(0,Ye.Z)(qe,at.label,kn(ye,Ie,_e,at)),(0,Ye.Z)(qe,Sr,Ie),(0,Ye.Z)(qe,at.children,void 0),qe)))}tt&&Va(he[at.children],Ie,me)}})}return Va(xe,[]),ja&&Ca.sort(function(gr,qa){return ja(gr[Sr],qa[Sr],ye,at)}),xa!==!1&&xa>0?Ca.slice(0,xa):Ca},[ye,xe,at,_e,kn,en,Tn,ja,xa])},di="__RC_CASCADER_SPLIT__",gi="SHOW_PARENT",Oi="SHOW_CHILD";function pi(ye){return ye.join(di)}function Yi(ye){return ye.map(pi)}function Vi(ye){return ye.split(di)}function Gi(ye){var xe=ye||{},at=xe.label,_e=xe.value,Ot=xe.children,en=_e||"value";return{label:at||"label",value:en,key:en,children:Ot||"children"}}function al(ye,xe){var at,_e;return(at=ye.isLeaf)!==null&&at!==void 0?at:!((_e=ye[xe.children])!==null&&_e!==void 0&&_e.length)}function ql(ye){var xe=ye.parentElement;if(xe){var at=ye.offsetTop-xe.offsetTop;at-xe.scrollTop<0?xe.scrollTo({top:at}):at+ye.offsetHeight-xe.scrollTop>xe.offsetHeight&&xe.scrollTo({top:at+ye.offsetHeight-xe.offsetHeight})}}function mu(ye,xe){return ye.map(function(at){var _e;return(_e=at[Sr])===null||_e===void 0?void 0:_e.map(function(Ot){return Ot[xe.value]})})}function Hl(ye,xe,at){var _e=new Set(ye),Ot=xe();return ye.filter(function(en){var sn=Ot[en],Tn=sn?sn.parent:null,In=sn?sn.children:null;return sn&&sn.node.disabled?!0:at===Oi?!(In&&In.some(function(kn){return kn.key&&_e.has(kn.key)})):!(Tn&&!Tn.node.disabled&&_e.has(Tn.key))})}function wl(ye,xe,at){for(var _e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ot=xe,en=[],sn=function(){var kn,Xn,xa,ja=ye[Tn],Ca=(kn=Ot)===null||kn===void 0?void 0:kn.findIndex(function(gr){var qa=gr[at.value];return _e?String(qa)===String(ja):qa===ja}),Va=Ca!==-1?(Xn=Ot)===null||Xn===void 0?void 0:Xn[Ca]:null;en.push({value:(xa=Va==null?void 0:Va[at.value])!==null&&xa!==void 0?xa:ja,index:Ca,option:Va}),Ot=Va==null?void 0:Va[at.children]},Tn=0;Tn=er.F1&&at<=er.F12)return!1;switch(at){case er.ALT:case er.CAPS_LOCK:case er.CONTEXT_MENU:case er.CTRL:case er.DOWN:case er.END:case er.ESC:case er.HOME:case er.INSERT:case er.LEFT:case er.MAC_FF_META:case er.META:case er.NUMLOCK:case er.NUM_CENTER:case er.PAGE_DOWN:case er.PAGE_UP:case er.PAUSE:case er.PRINT_SCREEN:case er.RIGHT:case er.SHIFT:case er.UP:case er.WIN_KEY:case er.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(xe){if(xe>=er.ZERO&&xe<=er.NINE||xe>=er.NUM_ZERO&&xe<=er.NUM_MULTIPLY||xe>=er.A&&xe<=er.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&xe===0)return!0;switch(xe){case er.SPACE:case er.QUESTION_MARK:case er.NUM_PLUS:case er.NUM_MINUS:case er.NUM_PERIOD:case er.NUM_DIVISION:case er.SEMICOLON:case er.DASH:case er.EQUALS:case er.COMMA:case er.PERIOD:case er.SLASH:case er.APOSTROPHE:case er.SINGLE_QUOTE:case er.OPEN_SQUARE_BRACKET:case er.BACKSLASH:case er.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Ul=er,lu=function(ye,xe,at,_e,Ot,en){var sn=It(),Tn=sn.direction,In=sn.searchValue,kn=sn.toggleOpen,Xn=sn.open,xa=Tn==="rtl",ja=ie.useMemo(function(){for(var qe=-1,ot=xe,At=[],He=[],et=_e.length,ut=mu(xe,at),Tt=function(bn){var on=ot.findIndex(function(aa,Un){return(ut[Un]?pi(ut[Un]):aa[at.value])===_e[bn]});if(on===-1)return"break";qe=on,At.push(qe),He.push(_e[bn]),ot=ot[qe][at.children]},Jt=0;Jt1){var ot=Va.slice(0,-1);he(ot)}else kn(!1)},me=function(){var ot,At=((ot=qa[gr])===null||ot===void 0?void 0:ot[at.children])||[],He=At.find(function(ut){return!ut.disabled});if(He){var et=[].concat((0,te.Z)(Va),[He[at.value]]);he(et)}};ie.useImperativeHandle(ye,function(){return{onKeyDown:function(ot){var At=ot.which;switch(At){case Ul.UP:case Ul.DOWN:{var He=0;At===Ul.UP?He=-1:At===Ul.DOWN&&(He=1),He!==0&&Ie(He);break}case Ul.LEFT:{if(In)break;xa?me():tt();break}case Ul.RIGHT:{if(In)break;xa?tt():me();break}case Ul.BACKSPACE:{In||tt();break}case Ul.ENTER:{if(Va.length){var et=qa[gr],ut=(et==null?void 0:et[Sr])||[];ut.length?en(ut.map(function(Tt){return Tt[at.value]}),ut[ut.length-1]):en(Va,qa[gr])}break}case Ul.ESC:kn(!1),Xn&&ot.stopPropagation()}},onKeyUp:function(){}}})},zu=ie.forwardRef(function(ye,xe){var at,_e,Ot,en,sn=It(),Tn=sn.prefixCls,In=sn.multiple,kn=sn.searchValue,Xn=sn.toggleOpen,xa=sn.notFoundContent,ja=sn.direction,Ca=sn.open,Va=ie.useRef(),gr=ja==="rtl",qa=ie.useContext(Fr),nr=qa.options,he=qa.values,Ie=qa.halfValues,tt=qa.fieldNames,me=qa.changeOnSelect,qe=qa.onSelect,ot=qa.searchOptions,At=qa.dropdownPrefixCls,He=qa.loadData,et=qa.expandTrigger,ut=At||Tn,Tt=ie.useState([]),Jt=(0,Oe.Z)(Tt,2),cn=Jt[0],Wt=Jt[1],dn=function(Na){if(!(!He||kn)){var ar=wl(Na,nr,tt),Ar=ar.map(function(po){var Do=po.option;return Do}),io=Ar[Ar.length-1];if(io&&!al(io,tt)){var no=pi(Na);Wt(function(po){return[].concat((0,te.Z)(po),[no])}),He(Ar)}}};ie.useEffect(function(){cn.length&&cn.forEach(function(Ra){var Na=Vi(Ra),ar=wl(Na,nr,tt,!0).map(function(io){var no=io.option;return no}),Ar=ar[ar.length-1];(!Ar||Ar[tt.children]||al(Ar,tt))&&Wt(function(io){return io.filter(function(no){return no!==Ra})})})},[nr,cn,tt]);var Cn=ie.useMemo(function(){return new Set(Yi(he))},[he]),bn=ie.useMemo(function(){return new Set(Yi(Ie))},[Ie]),on=Lu(),aa=(0,Oe.Z)(on,2),Un=aa[0],fa=aa[1],ha=function(Na){fa(Na),dn(Na)},On=function(Na){var ar=Na.disabled,Ar=al(Na,tt);return!ar&&(Ar||me||In)},Oa=function(Na,ar){var Ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;qe(Na),!In&&(ar||me&&(et==="hover"||Ar))&&Xn(!1)},Aa=ie.useMemo(function(){return kn?ot:nr},[kn,ot,nr]),$n=ie.useMemo(function(){for(var Ra=[{options:Aa}],Na=Aa,ar=mu(Na,tt),Ar=function(){var Do=Un[io],lo=Na.find(function(xi,fr){return(ar[fr]?pi(ar[fr]):xi[tt.value])===Do}),ai=lo==null?void 0:lo[tt.children];if(!(ai!=null&&ai.length))return"break";Na=ai,Ra.push({options:ai})},io=0;io":cn,dn=ye.loadingIcon,Cn=ye.children,bn=ye.dropdownMatchSelectWidth,on=bn===void 0?!1:bn,aa=ye.showCheckedStrategy,Un=aa===void 0?gi:aa,fa=(0,Re.Z)(ye,ss),ha=ci(at),On=!!xa,Oa=dr(sn,{value:Tn,postState:Ds}),Aa=(0,Oe.Z)(Oa,2),$n=Aa[0],Ln=Aa[1],ia=ie.useMemo(function(){return Gi(en)},[JSON.stringify(en)]),$a=ie.useMemo(function(){return he||[]},[he]),za=Il($a,ia),sr=ie.useCallback(function(Io){var Or=za();return Io.map(function(co){var Vo=Or[co].nodes;return Vo.map(function(To){return To[ia.value]})})},[za,ia]),Ha=dr("",{value:Va,postState:function(Or){return Or||""}}),Ra=(0,Oe.Z)(Ha,2),Na=Ra[0],ar=Ra[1],Ar=function(Or,co){ar(Or),co.source!=="blur"&&gr&&gr(Or)},io=xl(qa),no=(0,Oe.Z)(io,2),po=no[0],Do=no[1],lo=Vr(Na,$a,ia,Ie||Ot,Do,In),ai=Tu($a,ia),xi=ie.useMemo(function(){var Io=ai($n),Or=(0,Oe.Z)(Io,2),co=Or[0],Vo=Or[1];if(!On||!$n.length)return[co,[],Vo];var To=Yi(co),Di=za(),Lr=(0,Gn.S)(To,!0,Di),pa=Lr.checkedKeys,vr=Lr.halfCheckedKeys;return[sr(pa),sr(vr),Vo]},[On,$n,za,sr,ai]),fr=(0,Oe.Z)(xi,3),_a=fr[0],_r=fr[1],fo=fr[2],kr=ie.useMemo(function(){var Io=Yi(_a),Or=Hl(Io,za,Un);return[].concat((0,te.Z)(fo),(0,te.Z)(sr(Or)))},[_a,za,sr,fo,Un]),No=vl(kr,$a,ia,On,Xn),Jr=Rt(function(Io){if(Ln(Io),kn){var Or=Ds(Io),co=Or.map(function(Di){return wl(Di,$a,ia).map(function(Lr){return Lr.option})}),Vo=On?Or:Or[0],To=On?co:co[0];kn(Vo,To)}}),Yo=Rt(function(Io){if((!On||Ca)&&ar(""),!On)Jr(Io);else{var Or=pi(Io),co=Yi(_a),Vo=Yi(_r),To=co.includes(Or),Di=fo.some(function(Si){return pi(Si)===Or}),Lr=_a,pa=fo;if(Di&&!To)pa=fo.filter(function(Si){return pi(Si)!==Or});else{var vr=To?co.filter(function(Si){return Si!==Or}):[].concat((0,te.Z)(co),[Or]),yr=za(),ka;if(To){var xo=(0,Gn.S)(vr,{checked:!1,halfCheckedKeys:Vo},yr);ka=xo.checkedKeys}else{var Go=(0,Gn.S)(vr,!0,yr);ka=Go.checkedKeys}var Ri=Hl(ka,za,Un);Lr=sr(Ri)}Jr([].concat((0,te.Z)(pa),(0,te.Z)(Lr)))}}),mo=function(Or,co){if(co.type==="clear"){Jr([]);return}var Vo=co.values[0],To=Vo.valueCells;Yo(To)},so=qe!==void 0?qe:me,fi=At||ot,ko=ut||et,Ai=function(Or){Tt==null||Tt(Or),Jt==null||Jt(Or)},bi=ie.useMemo(function(){return{options:$a,fieldNames:ia,values:_a,halfValues:_r,changeOnSelect:In,onSelect:Yo,checkable:xa,searchOptions:lo,dropdownPrefixCls:Ie,loadData:tt,expandTrigger:nr,expandIcon:Wt,loadingIcon:dn,dropdownMenuColumnStyle:He}},[$a,ia,_a,_r,In,Yo,xa,lo,Ie,tt,nr,Wt,dn,He]),mi=!(Na?lo:$a).length,Ko=Na&&Do.matchInputWidth||mi?{}:{minWidth:"auto"};return ie.createElement(Fr.Provider,{value:bi},ie.createElement($r,(0,We.Z)({},fa,{ref:xe,id:ha,prefixCls:Ot,autoClearSearchValue:Ca,dropdownMatchSelectWidth:on,dropdownStyle:Ko,displayValues:No,onDisplayValuesChange:mo,mode:On?"multiple":void 0,searchValue:Na,onSearch:Ar,showSearch:po,OptionList:Uu,emptyOptions:mi,open:so,dropdownClassName:fi,placement:ko,onDropdownVisibleChange:Ai,getRawInputElement:function(){return Cn}})))});Ls.SHOW_PARENT=gi,Ls.SHOW_CHILD=Oi;var cs=Ls,Cs=cs,ys=z(10366),Zs=z(33603),Fs=z(8745),$l=z(9708),Fu=z(53124),Bu=z(88258),ds=z(98866),uu=z(98675),Nu=z(65223),su=z(87244),Ps=z(13458),Mu=z(78642),Bs=z(46163),as=z(4173),$u=z(63185),Ns=z(14747),gs=z(80110),Ms=z(67968);const Ke=ye=>{const{prefixCls:xe,componentCls:at,antCls:_e}=ye,Ot=`${at}-menu-item`,en=` &${Ot}-expand ${Ot}-expand-icon, ${Ot}-loading-icon `;return[{[at]:{width:ye.controlWidth}},{[`${at}-dropdown`]:[(0,$u.C2)(`${xe}-checkbox`,ye),{[`&${_e}-select-dropdown`]:{padding:0}},{[at]:{"&-checkbox":{top:0,marginInlineEnd:ye.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${at}-menu-empty`]:{[`${at}-menu`]:{width:"100%",height:"auto",[Ot]:{color:ye.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:ye.controlItemWidth,height:ye.dropdownHeight,margin:0,padding:ye.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${ye.lineWidth}px ${ye.lineType} ${ye.colorSplit}`},"&-item":Object.assign(Object.assign({},Ns.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:ye.optionPadding,lineHeight:ye.lineHeight,cursor:"pointer",transition:`all ${ye.motionDurationMid}`,borderRadius:ye.borderRadiusSM,"&:hover":{background:ye.controlItemBgHover},"&-disabled":{color:ye.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[en]:{color:ye.colorTextDisabled}},[`&-active:not(${Ot}-disabled)`]:{"&, &:hover":{fontWeight:ye.optionSelectedFontWeight,backgroundColor:ye.optionSelectedBg}},"&-content":{flex:"auto"},[en]:{marginInlineStart:ye.paddingXXS,color:ye.colorTextDescription,fontSize:ye.fontSizeIcon},"&-keyword":{color:ye.colorHighlight}})}}}]},{[`${at}-dropdown-rtl`]:{direction:"rtl"}},(0,gs.c)(ye)]};var mt=(0,Ms.Z)("Cascader",ye=>[Ke(ye)],ye=>{const xe=Math.round((ye.controlHeight-ye.fontSize*ye.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:ye.controlItemBgActive,optionSelectedFontWeight:ye.fontWeightStrong,optionPadding:`${xe}px ${ye.paddingSM}px`,menuPadding:ye.paddingXXS}}),vt=function(ye,xe){var at={};for(var _e in ye)Object.prototype.hasOwnProperty.call(ye,_e)&&xe.indexOf(_e)<0&&(at[_e]=ye[_e]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,_e=Object.getOwnPropertySymbols(ye);Ot<_e.length;Ot++)xe.indexOf(_e[Ot])<0&&Object.prototype.propertyIsEnumerable.call(ye,_e[Ot])&&(at[_e[Ot]]=ye[_e[Ot]]);return at};const{SHOW_CHILD:Xt,SHOW_PARENT:Bn}=Cs;function ga(ye,xe,at){const _e=ye.toLowerCase().split(xe).reduce((sn,Tn,In)=>In===0?[Tn]:[].concat((0,te.Z)(sn),[xe,Tn]),[]),Ot=[];let en=0;return _e.forEach((sn,Tn)=>{const In=en+sn.length;let kn=ye.slice(en,In);en=In,Tn%2===1&&(kn=ie.createElement("span",{className:`${at}-menu-item-keyword`,key:`separator-${Tn}`},kn)),Ot.push(kn)}),Ot}const Pa=(ye,xe,at,_e)=>{const Ot=[],en=ye.toLowerCase();return xe.forEach((sn,Tn)=>{Tn!==0&&Ot.push(" / ");let In=sn[_e.label];const kn=typeof In;(kn==="string"||kn==="number")&&(In=ga(String(In),en,at)),Ot.push(In)}),Ot},br=ie.forwardRef((ye,xe)=>{const{prefixCls:at,size:_e,disabled:Ot,className:en,rootClassName:sn,multiple:Tn,bordered:In=!0,transitionName:kn,choiceTransitionName:Xn="",popupClassName:xa,dropdownClassName:ja,expandIcon:Ca,placement:Va,showSearch:gr,allowClear:qa=!0,notFoundContent:nr,direction:he,getPopupContainer:Ie,status:tt,showArrow:me,builtinPlacements:qe,style:ot}=ye,At=vt(ye,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),He=(0,ys.Z)(At,["suffixIcon"]),{getPopupContainer:et,getPrefixCls:ut,renderEmpty:Tt,direction:Jt,popupOverflow:cn,cascader:Wt}=ie.useContext(Fu.E_),dn=he||Jt,Cn=dn==="rtl",{status:bn,hasFeedback:on,isFormItemInput:aa,feedbackIcon:Un}=ie.useContext(Nu.aM),fa=(0,$l.F)(bn,tt),ha=nr||(Tt==null?void 0:Tt("Cascader"))||ie.createElement(Bu.Z,{componentName:"Cascader"}),On=ut(),Oa=ut("select",at),Aa=ut("cascader",at),[$n,Ln]=(0,su.Z)(Oa),[ia]=mt(Aa),{compactSize:$a,compactItemClassnames:za}=(0,as.ri)(Oa,he),sr=se()(xa||ja,`${Aa}-dropdown`,{[`${Aa}-dropdown-rtl`]:dn==="rtl"},sn,Ln),Ha=ie.useMemo(()=>{if(!gr)return gr;let fo={render:Pa};return typeof gr=="object"&&(fo=Object.assign(Object.assign({},fo),gr)),fo},[gr]),Ra=(0,uu.Z)(fo=>{var kr;return(kr=_e!=null?_e:$a)!==null&&kr!==void 0?kr:fo}),Na=ie.useContext(ds.Z),ar=Ot!=null?Ot:Na;let Ar=Ca;Ca||(Ar=Cn?ie.createElement(Fe.Z,null):ie.createElement(ze.Z,null));const io=ie.createElement("span",{className:`${Oa}-menu-item-loading-icon`},ie.createElement(Xe.Z,{spin:!0})),no=ie.useMemo(()=>Tn?ie.createElement("span",{className:`${Aa}-checkbox-inner`}):!1,[Tn]),po=(0,Mu.Z)(ye.suffixIcon,me),{suffixIcon:Do,removeIcon:lo,clearIcon:ai}=(0,Bs.Z)(Object.assign(Object.assign({},ye),{hasFeedback:on,feedbackIcon:Un,showSuffixIcon:po,multiple:Tn,prefixCls:Oa,componentName:"Cascader"})),xi=ie.useMemo(()=>Va!==void 0?Va:Cn?"bottomRight":"bottomLeft",[Va,Cn]),fr=(0,Ps.Z)(qe,cn),_a=qa===!0?{clearIcon:ai}:qa,_r=ie.createElement(Cs,Object.assign({prefixCls:Oa,className:se()(!at&&Aa,{[`${Oa}-lg`]:Ra==="large",[`${Oa}-sm`]:Ra==="small",[`${Oa}-rtl`]:Cn,[`${Oa}-borderless`]:!In,[`${Oa}-in-form-item`]:aa},(0,$l.Z)(Oa,fa,on),za,Wt==null?void 0:Wt.className,en,sn,Ln),disabled:ar,style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),ot)},He,{builtinPlacements:fr,direction:dn,placement:xi,notFoundContent:ha,allowClear:_a,showSearch:Ha,expandIcon:Ar,suffixIcon:Do,removeIcon:lo,loadingIcon:io,checkable:no,dropdownClassName:sr,dropdownPrefixCls:at||Aa,choiceTransitionName:(0,Zs.m)(On,"",Xn),transitionName:(0,Zs.m)(On,"slide-up",kn),getPopupContainer:Ie||et,ref:xe}));return ia($n(_r))}),Gr=(0,Fs.Z)(br);br.SHOW_PARENT=Bn,br.SHOW_CHILD=Xt,br._InternalPanelDoNotUseOrYouWillBeFired=Gr;var Rr=br},84567:function(Zt,Ht,z){"use strict";z.d(Ht,{default:function(){return pe}});var te=z(94184),ie=z.n(te),Fe=z(95860),Xe=z(67294),ze=z(53124),je=z(98866),se=z(65223),Oe=Xe.createContext(null),Re=z(63185),Ye=z(45353),ce=z(92429),De=function(Ce,Ae){var Le={};for(var Se in Ce)Object.prototype.hasOwnProperty.call(Ce,Se)&&Ae.indexOf(Se)<0&&(Le[Se]=Ce[Se]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Se=Object.getOwnPropertySymbols(Ce);we{var Le;const{prefixCls:Se,className:we,rootClassName:Qe,children:Be,indeterminate:Ge=!1,style:Ze,onMouseEnter:it,onMouseLeave:Je,skipGroup:Dt=!1,disabled:Nt}=Ce,St=De(Ce,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Lt,direction:$t,checkbox:un}=Xe.useContext(ze.E_),yt=Xe.useContext(Oe),{isFormItemInput:It}=Xe.useContext(se.aM),Kt=Xe.useContext(je.Z),An=(Le=(yt==null?void 0:yt.disabled)||Nt)!==null&&Le!==void 0?Le:Kt,Pt=Xe.useRef(St.value);Xe.useEffect(()=>{yt==null||yt.registerValue(St.value)},[]),Xe.useEffect(()=>{if(!Dt)return St.value!==Pt.current&&(yt==null||yt.cancelValue(Pt.current),yt==null||yt.registerValue(St.value),Pt.current=St.value),()=>yt==null?void 0:yt.cancelValue(St.value)},[St.value]);const Qt=Lt("checkbox",Se),[ke,zn]=(0,Re.ZP)(Qt),an=Object.assign({},St);yt&&!Dt&&(an.onChange=function(){St.onChange&&St.onChange.apply(St,arguments),yt.toggleOption&&yt.toggleOption({label:Be,value:St.value})},an.name=yt.name,an.checked=yt.value.includes(St.value));const ya=ie()(`${Qt}-wrapper`,{[`${Qt}-rtl`]:$t==="rtl",[`${Qt}-wrapper-checked`]:an.checked,[`${Qt}-wrapper-disabled`]:An,[`${Qt}-wrapper-in-form-item`]:It},un==null?void 0:un.className,we,Qe,zn),da=ie()({[`${Qt}-indeterminate`]:Ge},ce.A,zn),Dn=Ge?"mixed":void 0;return ke(Xe.createElement(Ye.Z,{component:"Checkbox",disabled:An},Xe.createElement("label",{className:ya,style:Object.assign(Object.assign({},un==null?void 0:un.style),Ze),onMouseEnter:it,onMouseLeave:Je},Xe.createElement(Fe.Z,Object.assign({"aria-checked":Dn},an,{prefixCls:Qt,className:da,disabled:An,ref:Ae})),Be!==void 0&&Xe.createElement("span",null,Be))))};var y=Xe.forwardRef(de),b=z(74902),E=z(10366),x=function(Ce,Ae){var Le={};for(var Se in Ce)Object.prototype.hasOwnProperty.call(Ce,Se)&&Ae.indexOf(Se)<0&&(Le[Se]=Ce[Se]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Se=Object.getOwnPropertySymbols(Ce);we{const{defaultValue:Le,children:Se,options:we=[],prefixCls:Qe,className:Be,rootClassName:Ge,style:Ze,onChange:it}=Ce,Je=x(Ce,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Dt,direction:Nt}=Xe.useContext(ze.E_),[St,Lt]=Xe.useState(Je.value||Le||[]),[$t,un]=Xe.useState([]);Xe.useEffect(()=>{"value"in Je&&Lt(Je.value||[])},[Je.value]);const yt=Xe.useMemo(()=>we.map(ht=>typeof ht=="string"||typeof ht=="number"?{label:ht,value:ht}:ht),[we]),It=ht=>{un(nt=>nt.filter(tn=>tn!==ht))},Kt=ht=>{un(nt=>[].concat((0,b.Z)(nt),[ht]))},An=ht=>{const nt=St.indexOf(ht.value),tn=(0,b.Z)(St);nt===-1?tn.push(ht.value):tn.splice(nt,1),"value"in Je||Lt(tn),it==null||it(tn.filter(vn=>$t.includes(vn)).sort((vn,Vt)=>{const La=yt.findIndex(Ea=>Ea.value===vn),En=yt.findIndex(Ea=>Ea.value===Vt);return La-En}))},Pt=Dt("checkbox",Qe),Qt=`${Pt}-group`,[ke,zn]=(0,Re.ZP)(Pt),an=(0,E.Z)(Je,["value","disabled"]),ya=we.length?yt.map(ht=>Xe.createElement(y,{prefixCls:Pt,key:ht.value.toString(),disabled:"disabled"in ht?ht.disabled:Je.disabled,value:ht.value,checked:St.includes(ht.value),onChange:ht.onChange,className:`${Qt}-item`,style:ht.style,title:ht.title},ht.label)):Se,da={toggleOption:An,value:St,disabled:Je.disabled,name:Je.name,registerValue:Kt,cancelValue:It},Dn=ie()(Qt,{[`${Qt}-rtl`]:Nt==="rtl"},Be,Ge,zn);return ke(Xe.createElement("div",Object.assign({className:Dn,style:Ze},an,{ref:Ae}),Xe.createElement(Oe.Provider,{value:da},ya)))},re=Xe.forwardRef(ee);var ae=Xe.memo(re);const ne=y;ne.Group=ae,ne.__ANT_CHECKBOX=!0;var pe=ne},63185:function(Zt,Ht,z){"use strict";z.d(Ht,{C2:function(){return ze}});var te=z(14747),ie=z(45503),Fe=z(67968);const Xe=je=>{const{checkboxCls:se}=je,We=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,te.Wf)(je)),{display:"inline-flex",flexWrap:"wrap",columnGap:je.marginXS,[`> ${je.antCls}-row`]:{flex:1}}),[We]:Object.assign(Object.assign({},(0,te.Wf)(je)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${We}`]:{marginInlineStart:0},[`&${We}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,te.Wf)(je)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:je.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,te.oN)(je))},[`${se}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:je.checkboxSize,height:je.checkboxSize,direction:"ltr",backgroundColor:je.colorBgContainer,border:`${je.lineWidth}px ${je.lineType} ${je.colorBorder}`,borderRadius:je.borderRadiusSM,borderCollapse:"separate",transition:`all ${je.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:je.checkboxSize/14*5,height:je.checkboxSize/14*8,border:`${je.lineWidthBold}px solid ${je.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${je.motionDurationFast} ${je.motionEaseInBack}, opacity ${je.motionDurationFast}`}},"& + span":{paddingInlineStart:je.paddingXS,paddingInlineEnd:je.paddingXS}})},{[` ${We}:not(${We}-disabled), ${se}:not(${se}-disabled) `]:{[`&:hover ${se}-inner`]:{borderColor:je.colorPrimary}},[`${We}:not(${We}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:je.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:je.colorPrimary,borderColor:je.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${je.motionDurationMid} ${je.motionEaseOutBack} ${je.motionDurationFast}`}}},[` ${We}-checked:not(${We}-disabled), ${se}-checked:not(${se}-disabled) `]:{[`&:hover ${se}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:je.colorBgContainer,borderColor:je.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:je.fontSizeLG/2,height:je.fontSizeLG/2,backgroundColor:je.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${We}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:je.colorBgContainerDisabled,borderColor:je.colorBorder,"&:after":{borderColor:je.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:je.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:je.colorTextDisabled}}}]};function ze(je,se){const We=(0,ie.TS)(se,{checkboxCls:`.${je}`,checkboxSize:se.controlInteractiveSize});return[Xe(We)]}Ht.ZP=(0,Fe.Z)("Checkbox",(je,se)=>{let{prefixCls:We}=se;return[ze(We,je)]})},20669:function(Zt,Ht,z){"use strict";z.d(Ht,{default:function(){return Pl}});var te=z(97909),ie=z.n(te),Fe=z(68291),Xe=z(33088),ze=z.n(Xe),je=z(26850),se=z.n(je),We=z(23082),Oe=z.n(We),Re=z(99873),Ye=z.n(Re),ce=z(86625),De=z.n(ce),de=z(40618),a=z.n(de);ie().extend(a()),ie().extend(De()),ie().extend(ze()),ie().extend(se()),ie().extend(Oe()),ie().extend(Ye()),ie().extend(function(oe,le){var ue=le.prototype,Pe=ue.format;ue.format=function(lt){var rt=(lt||"").replace("Wo","wo");return Pe.bind(this)(rt)}});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(le){var ue=y[le];return ue||le.split("_")[0]},E=function(){(0,Fe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},x={getNow:function(){return ie()()},getFixedDate:function(le){return ie()(le,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(le){return le.endOf("month")},getWeekDay:function(le){var ue=le.locale("en");return ue.weekday()+ue.localeData().firstDayOfWeek()},getYear:function(le){return le.year()},getMonth:function(le){return le.month()},getDate:function(le){return le.date()},getHour:function(le){return le.hour()},getMinute:function(le){return le.minute()},getSecond:function(le){return le.second()},addYear:function(le,ue){return le.add(ue,"year")},addMonth:function(le,ue){return le.add(ue,"month")},addDate:function(le,ue){return le.add(ue,"day")},setYear:function(le,ue){return le.year(ue)},setMonth:function(le,ue){return le.month(ue)},setDate:function(le,ue){return le.date(ue)},setHour:function(le,ue){return le.hour(ue)},setMinute:function(le,ue){return le.minute(ue)},setSecond:function(le,ue){return le.second(ue)},isAfter:function(le,ue){return le.isAfter(ue)},isValidate:function(le){return le.isValid()},locale:{getWeekFirstDay:function(le){return ie()().locale(b(le)).localeData().firstDayOfWeek()},getWeekFirstDate:function(le,ue){return ue.locale(b(le)).weekday(0)},getWeek:function(le,ue){return ue.locale(b(le)).week()},getShortWeekDays:function(le){return ie()().locale(b(le)).localeData().weekdaysMin()},getShortMonths:function(le){return ie()().locale(b(le)).localeData().monthsShort()},format:function(le,ue,Pe){return ue.locale(b(le)).format(Pe)},parse:function(le,ue,Pe){for(var Me=b(le),lt=0;lt1&&(rt=le.addDate(rt,-7)),rt}function xt(oe,le,ue){var Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(le){case"year":return ue.addYear(oe,Pe*10);case"quarter":case"month":return ue.addYear(oe,Pe);default:return ue.addMonth(oe,Pe)}}function wn(oe,le){var ue=le.generateConfig,Pe=le.locale,Me=le.format;return typeof Me=="function"?Me(oe):ue.locale.format(Pe.locale,oe,Me)}function Za(oe,le){var ue=le.generateConfig,Pe=le.locale,Me=le.formatList;return!oe||typeof Me[0]=="function"?null:ue.locale.parse(Pe.locale,oe,Me)}function Nn(oe){var le=oe.cellDate,ue=oe.mode,Pe=oe.disabledDate,Me=oe.generateConfig;if(!Pe)return!1;var lt=function(xn,qt,Pn){for(var _n=qt;_n<=Pn;){var Ga=void 0;switch(xn){case"date":{if(Ga=Me.setDate(le,_n),!Pe(Ga))return!1;break}case"month":{if(Ga=Me.setMonth(le,_n),!Nn({cellDate:Ga,mode:"month",generateConfig:Me,disabledDate:Pe}))return!1;break}case"year":{if(Ga=Me.setYear(le,_n),!Nn({cellDate:Ga,mode:"year",generateConfig:Me,disabledDate:Pe}))return!1;break}}_n+=1}return!0};switch(ue){case"date":case"week":return Pe(le);case"month":{var rt=1,Gt=Me.getDate(Me.getEndDate(le));return lt("date",rt,Gt)}case"quarter":{var jt=Math.floor(Me.getMonth(le)/3)*3,nn=jt+2;return lt("month",jt,nn)}case"year":return lt("month",0,11);case"decade":{var Vn=Me.getYear(le),ln=Math.floor(Vn/Dn)*Dn,mn=ln+Dn-1;return lt("year",ln,mn)}}}function mr(oe,le){var ue=le.formatList,Pe=le.generateConfig,Me=le.locale;return(0,ya.Z)(function(){if(!oe)return[[""],""];for(var lt="",rt=[],Gt=0;Gt1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(nn.current),_n){jt(Pn);return}nn.current=requestAnimationFrame(function(){jt(Pn)})}var ln=mr(Gt,{formatList:ue,generateConfig:Pe,locale:Me}),mn=(0,ke.Z)(ln,2),Sn=mn[1];function xn(Pn){Vn(Pn)}function qt(){var Pn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Vn(null,Pn)}return(0,ne.useEffect)(function(){qt(!0)},[oe]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(nn.current)}},[]),[Sn,xn,qt]}var wa=z(92389),hr=z(96523),fn=z(74902),to=z(48130),Qr=new Map;function zo(oe,le){var ue;function Pe(){(0,to.Z)(oe)?le():ue=(0,hr.Z)(function(){Pe()})}return Pe(),function(){hr.Z.cancel(ue)}}function Mr(oe,le,ue){if(Qr.get(oe)&&cancelAnimationFrame(Qr.get(oe)),ue<=0){Qr.set(oe,requestAnimationFrame(function(){oe.scrollTop=le}));return}var Pe=le-oe.scrollTop,Me=Pe/ue*10;Qr.set(oe,requestAnimationFrame(function(){oe.scrollTop+=Me,oe.scrollTop!==le&&Mr(oe,le,ue-10)}))}function Po(oe,le){var ue=le.onLeftRight,Pe=le.onCtrlLeftRight,Me=le.onUpDown,lt=le.onPageUpDown,rt=le.onEnter,Gt=oe.which,jt=oe.ctrlKey,nn=oe.metaKey;switch(Gt){case wa.Z.LEFT:if(jt||nn){if(Pe)return Pe(-1),!0}else if(ue)return ue(-1),!0;break;case wa.Z.RIGHT:if(jt||nn){if(Pe)return Pe(1),!0}else if(ue)return ue(1),!0;break;case wa.Z.UP:if(Me)return Me(-1),!0;break;case wa.Z.DOWN:if(Me)return Me(1),!0;break;case wa.Z.PAGE_UP:if(lt)return lt(-1),!0;break;case wa.Z.PAGE_DOWN:if(lt)return lt(1),!0;break;case wa.Z.ENTER:if(rt)return rt(),!0;break}return!1}function ni(oe,le,ue,Pe){var Me=oe;if(!Me)switch(le){case"time":Me=Pe?"hh:mm:ss a":"HH:mm:ss";break;case"week":Me="gggg-wo";break;case"month":Me="YYYY-MM";break;case"quarter":Me="YYYY-[Q]Q";break;case"year":Me="YYYY";break;default:Me=ue?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Me}function qo(oe,le,ue){var Pe=oe==="time"?8:10,Me=typeof le=="function"?le(ue.getNow()).length:le.length;return Math.max(Pe,Me)+2}var Pi=null,ki=new Set;function _i(oe){return!Pi&&typeof window!="undefined"&&window.addEventListener&&(Pi=function(ue){(0,fn.Z)(ki).forEach(function(Pe){Pe(ue)})},window.addEventListener("mousedown",Pi)),ki.add(oe),function(){ki.delete(oe),ki.size===0&&(window.removeEventListener("mousedown",Pi),Pi=null)}}function ta(oe){var le=oe.target;if(oe.composed&&le.shadowRoot){var ue;return((ue=oe.composedPath)===null||ue===void 0?void 0:ue.call(oe)[0])||le}return le}var Ya=function(le){return le==="month"||le==="date"?"year":le},Kr=function(le){return le==="date"?"month":le},Yn=function(le){return le==="month"||le==="date"?"quarter":le},Mn=function(le){return le==="date"?"week":le},la={year:Ya,month:Kr,quarter:Yn,week:Mn,time:null,date:null};function Ft(oe,le){return oe.some(function(ue){return ue&&ue.contains(le)})}function Kn(oe){var le=oe.open,ue=oe.value,Pe=oe.isClickOutside,Me=oe.triggerOpen,lt=oe.forwardKeyDown,rt=oe.onKeyDown,Gt=oe.blurToCancel,jt=oe.onSubmit,nn=oe.onCancel,Vn=oe.onFocus,ln=oe.onBlur,mn=oe.changeOnBlur,Sn=(0,ne.useState)(!1),xn=(0,ke.Z)(Sn,2),qt=xn[0],Pn=xn[1],_n=(0,ne.useState)(!1),Ga=(0,ke.Z)(_n,2),Sa=Ga[0],ma=Ga[1],Er=(0,ne.useRef)(!1),ca=(0,ne.useRef)(!1),va=(0,ne.useRef)(!1),ao={onMouseDown:function(){Pn(!0),Me(!0)},onKeyDown:function(ro){var Hr=function(){va.current=!0};if(rt(ro,Hr),!va.current){switch(ro.which){case wa.Z.ENTER:{le?jt()!==!1&&Pn(!0):Me(!0),ro.preventDefault();return}case wa.Z.TAB:{qt&&le&&!ro.shiftKey?(Pn(!1),ro.preventDefault()):!qt&&le&&!lt(ro)&&ro.shiftKey&&(Pn(!0),ro.preventDefault());return}case wa.Z.ESC:{Pn(!0),nn();return}}!le&&![wa.Z.SHIFT].includes(ro.which)?Me(!0):qt||lt(ro)}},onFocus:function(ro){Pn(!0),ma(!0),Vn&&Vn(ro)},onBlur:function(ro){if(Er.current||!Pe(document.activeElement)){Er.current=!1;return}Gt?setTimeout(function(){for(var Hr=document,Oo=Hr.activeElement;Oo&&Oo.shadowRoot;)Oo=Oo.shadowRoot.activeElement;Pe(Oo)&&nn()},0):le&&(Me(!1),ca.current&&jt()),ma(!1),ln==null||ln(ro)}};return(0,ne.useEffect)(function(){ca.current=!1},[le]),(0,ne.useEffect)(function(){ca.current=!0},[ue]),(0,ne.useEffect)(function(){return _i(function(Dr){var ro=ta(Dr),Hr=Pe(ro);le&&(Hr?!mn&&(!Sa||Hr)&&Me(!1):(Er.current=!0,(0,hr.Z)(function(){Er.current=!1})))})}),[ao,{focused:Sa,typing:qt}]}function ua(oe,le){return ne.useMemo(function(){return oe||(le?((0,Fe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(le).map(function(ue){var Pe=(0,ke.Z)(ue,2),Me=Pe[0],lt=Pe[1];return{label:Me,value:lt}})):[])},[oe,le])}var Fn=z(14075);function wt(oe){var le=oe.valueTexts,ue=oe.onTextChange,Pe=ne.useState(""),Me=(0,ke.Z)(Pe,2),lt=Me[0],rt=Me[1],Gt=ne.useRef([]);Gt.current=le;function jt(Vn){rt(Vn),ue(Vn)}function nn(){rt(Gt.current[0])}return(0,Fn.Z)(function(){le.every(function(Vn){return Vn!==lt})&&nn()},[le.join("||")]),[lt,jt,nn]}var kt=ne.createContext({}),Bt=kt,gn=z(71002);function Hn(oe){var le=oe.cellRender,ue=oe.monthCellRender,Pe=oe.dateRender,Me=ne.useMemo(function(){if(le)return le;if(!(!ue&&!Pe))return function(lt,rt){var Gt=lt;return Pe&&rt.type==="date"?Pe(Gt,rt.today):ue&&rt.type==="month"?ue(Gt,rt.locale):rt.originNode}},[le,ue,Pe]);return Me}function oa(oe,le){for(var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Pe=String(oe);Pe.length=1?ue|0:1,rt=oe;rt<=le;rt+=lt)Me.push({label:oa(rt,2),value:rt,disabled:(Pe||[]).includes(rt)});return Me}function Nr(oe){var le=oe.generateConfig,ue=oe.prefixCls,Pe=oe.operationRef,Me=oe.activeColumnIndex,lt=oe.value,rt=oe.showHour,Gt=oe.showMinute,jt=oe.showSecond,nn=oe.use12Hours,Vn=oe.hourStep,ln=Vn===void 0?1:Vn,mn=oe.minuteStep,Sn=mn===void 0?1:mn,xn=oe.secondStep,qt=xn===void 0?1:xn,Pn=oe.disabledHours,_n=oe.disabledMinutes,Ga=oe.disabledSeconds,Sa=oe.disabledTime,ma=oe.hideDisabledOptions,Er=oe.onSelect,ca=oe.cellRender,va=oe.locale,ao=[],Dr="".concat(ue,"-content"),ro="".concat(ue,"-time-panel"),Hr,Oo=lt?le.getHour(lt):-1,oi=Oo,Fi=lt?le.getMinute(lt):-1,Ro=lt?le.getSecond(lt):-1,Zo=le.getNow(),So=ne.useMemo(function(){if(Sa){var ei=Sa(Zo);return[ei.disabledHours,ei.disabledMinutes,ei.disabledSeconds]}return[Pn,_n,Ga]},[Pn,_n,Ga,Sa,Zo]),Bi=(0,ke.Z)(So,3),$o=Bi[0],ii=Bi[1],ul=Bi[2],gl=Ji(0,23,ln,$o&&$o()),El=(0,ya.Z)(function(){return gl},gl,Yr);nn&&(Hr=oi>=12,oi%=12);var Vl=ne.useMemo(function(){if(!nn)return[!1,!1];var ei=[!0,!0];return El.forEach(function(fl){var qi=fl.disabled,Ni=fl.value;qi||(Ni>=12?ei[1]=!1:ei[0]=!1)}),ei},[nn,El]),il=(0,ke.Z)(Vl,2),Ol=il[0],Ui=il[1],Xi=ne.useMemo(function(){return nn?El.filter(Hr?function(ei){return ei.value>=12}:function(ei){return ei.value<12}).map(function(ei){var fl=ei.value%12,qi=fl===0?"12":oa(fl,2);return(0,Qt.Z)((0,Qt.Z)({},ei),{},{label:qi,value:fl})}):El},[nn,Hr,El]),sl=Ji(0,59,Sn,ii&&ii(Oo)),Rl=Ji(0,59,qt,ul&&ul(Oo,Fi)),Zl=ir({value:lt,generateConfig:le,disabledMinutes:ii,disabledSeconds:ul,minutes:sl,seconds:Rl,use12Hours:nn});Pe.current={onUpDown:function(fl){var qi=ao[Me];if(qi)for(var Ni=qi.units.findIndex(function(yu){return yu.value===qi.value}),Mo=qi.units.length,Ki=1;Ki2&&arguments[2]!==void 0?arguments[2]:!1;(Cl===Pn||Ml)&&(bs(yo),ao&&ao(yo),Zl&&Zl(yo,Hi),Dr&&!Rt(jt,yo,au)&&!(Sn!=null&&Sn(yo))&&Dr(yo))},Xu=function(yo){if(di.includes(Cl)){var Hi,Ml,os=Cl==="date";switch(yo===wa.Z.PAGE_UP||yo===wa.Z.PAGE_DOWN?Ml=os?jt.addMonth:jt.addYear:Ml=os?jt.addDate:jt.addMonth,yo){case wa.Z.LEFT:case wa.Z.PAGE_UP:Hi=Ml(Pu,-1);break;case wa.Z.RIGHT:case wa.Z.PAGE_DOWN:Hi=Ml(Pu,1);break;case wa.Z.UP:case wa.Z.DOWN:Hi=Ml(Pu,Number("".concat(yo===wa.Z.UP?"-":"").concat(os?nt:Ee)));break}if(Hi)return!(Sn!=null&&Sn(Hi))}return!0},ms=function(yo){if(Ki.current&&Ki.current.onKeyDown){var Hi=!0,Ml=yo.which;if([wa.Z.LEFT,wa.Z.RIGHT,wa.Z.UP,wa.Z.DOWN,wa.Z.PAGE_UP,wa.Z.PAGE_DOWN,wa.Z.ENTER].includes(Ml)&&(yo.preventDefault(),Ml!==wa.Z.ENTER&&Ga===0&&(Hi=Xu(Ml))),Hi)return Ki.current.onKeyDown(yo)}return(0,Fe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},$i=function(yo){Ki.current&&Ki.current.onBlur&&Ki.current.onBlur(yo)};Rl&&qi!=="right"&&(Rl.current={onKeyDown:ms,onClose:function(){Ki.current&&Ki.current.onClose&&Ki.current.onClose()}}),ne.useEffect(function(){nn&&!pl.current&&du(nn)},[nn]),ne.useEffect(function(){pl.current=!1},[]);var Qi,es=Hn({cellRender:Vl,monthCellRender:El,dateRender:gl}),ll=(0,Qt.Z)((0,Qt.Z)({},oe),{},{cellRender:es,operationRef:Ki,prefixCls:Me,viewDate:Pu,value:au,onViewDateChange:ti,sourceMode:Qu,onPanelChange:Cu,disabledDate:Sn});switch(delete ll.onChange,delete ll.onSelect,Cl){case"decade":Qi=ne.createElement(Au,(0,ae.Z)({},ll,{onSelect:function(yo,Hi){ti(yo),fu(yo,Hi)}}));break;case"year":Qi=ne.createElement(Xr,(0,ae.Z)({},ll,{onSelect:function(yo,Hi){ti(yo),fu(yo,Hi)}}));break;case"month":Qi=ne.createElement(st,(0,ae.Z)({},ll,{onSelect:function(yo,Hi){ti(yo),fu(yo,Hi)}}));break;case"quarter":Qi=ne.createElement(ur,(0,ae.Z)({},ll,{onSelect:function(yo,Hi){ti(yo),fu(yo,Hi)}}));break;case"week":Qi=ne.createElement(jn,(0,ae.Z)({},ll,{onSelect:function(yo,Hi){ti(yo),fu(yo,Hi)}}));break;case"time":delete ll.showTime,Qi=ne.createElement(Ti,(0,ae.Z)({},ll,(0,gn.Z)(ma)==="object"?ma:null,{onSelect:function(yo,Hi){ti(yo),fu(yo,Hi)}}));break;default:ma?Qi=ne.createElement(Xl,(0,ae.Z)({},ll,{onSelect:function(yo,Hi){ti(yo),fu(yo,Hi)}})):Qi=ne.createElement(Dl,(0,ae.Z)({},ll,{onSelect:function(yo,Hi){ti(yo),fu(yo,Hi)}}))}var ws,vs,hs=function(){var yo=jt.getNow(),Hi=_o(jt.getHour(yo),jt.getMinute(yo),jt.getSecond(yo),Ol?So:1,Ui?$o:1,Xi?ul:1),Ml=ho(jt,yo,Hi[0],Hi[1],Hi[2]);fu(Ml,"submit")};cu||(ws=Co(Me,Cl,ca),ma&&Cl!=="date"?vs=null:vs=Vr({prefixCls:Me,components:Fi,needConfirmButton:il,okDisabled:!au||Sn&&Sn(au),locale:Gt,showNow:Sa,onNow:il&&hs,onOk:function(){au&&(fu(au,"submit",!0),oi&&oi(au))}}));var rs;if(Er&&Cl==="date"&&Pn==="date"&&!ma){var xs=jt.getNow(),Gs="".concat(Me,"-today-btn"),Os=Sn&&Sn(xs);rs=ne.createElement("a",{className:$t()(Gs,Os&&"".concat(Gs,"-disabled")),"aria-disabled":Os,onClick:function(){Os||fu(xs,"mouse",!0)}},Gt.today)}return ne.createElement(Bt.Provider,{value:(0,Qt.Z)((0,Qt.Z)({},sl),{},{mode:Cl,hideHeader:"hideHeader"in oe?va:sl.hideHeader,hidePrevBtn:fl&&qi==="right",hideNextBtn:fl&&qi==="left"})},ne.createElement("div",{tabIndex:Ga,className:$t()("".concat(Me,"-panel"),lt,(le={},(0,Pt.Z)(le,"".concat(Me,"-panel-has-range"),Ni&&Ni[0]&&Ni[1]),(0,Pt.Z)(le,"".concat(Me,"-panel-has-range-hover"),Mo&&Mo[0]&&Mo[1]),(0,Pt.Z)(le,"".concat(Me,"-panel-rtl"),Ro==="rtl"),le)),style:rt,onKeyDown:ms,onBlur:$i,onMouseDown:Hr},Qi,ws||vs||rs?ne.createElement("div",{className:"".concat(Me,"-footer")},ws,vs,rs):null))}var Oi=gi,pi=z(45987),Yi=z(73935);function Vi(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Gi={};function al(oe,le){}function ql(oe,le){}function mu(){Gi={}}function Hl(oe,le,ue){!le&&!Gi[ue]&&(oe(!1,ue),Gi[ue]=!0)}function wl(oe,le){Hl(al,oe,le)}function vl(oe,le){Hl(ql,oe,le)}var Gu=null,Il=z(49286);function Tu(oe,le,ue){var Pe=ne.useRef({});return(!("value"in Pe.current)||ue(Pe.current.condition,le))&&(Pe.current.value=oe(),Pe.current.condition=le),Pe.current.value}function ts(oe,le){typeof oe=="function"?oe(le):(0,gn.Z)(oe)==="object"&&oe&&"current"in oe&&(oe.current=le)}function vu(){for(var oe=arguments.length,le=new Array(oe),ue=0;ue0&&arguments[0]!==void 0?arguments[0]:{},le=oe.mark;return le?le.startsWith("data-")?le:"data-".concat(le):Zu}function Lu(oe){if(oe.attachTo)return oe.attachTo;var le=document.querySelector("head");return le||document.body}function er(oe){return oe==="queue"?"prependQueue":oe?"prepend":"append"}function Ul(oe){return Array.from((rl.get(oe)||oe).children).filter(function(le){return le.tagName==="STYLE"})}function lu(oe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Vi())return null;var ue=le.csp,Pe=le.prepend,Me=document.createElement("style");Me.setAttribute(pu,er(Pe)),ue!=null&&ue.nonce&&(Me.nonce=ue==null?void 0:ue.nonce),Me.innerHTML=oe;var lt=Lu(le),rt=lt.firstChild;if(Pe){if(Pe==="queue"){var Gt=Ul(lt).filter(function(jt){return["prepend","prependQueue"].includes(jt.getAttribute(pu))});if(Gt.length)return lt.insertBefore(Me,Gt[Gt.length-1].nextSibling),Me}lt.insertBefore(Me,rt)}else lt.appendChild(Me);return Me}function zu(oe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=Lu(le);return Ul(ue).find(function(Pe){return Pe.getAttribute(Ku(le))===oe})}function Uu(oe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=zu(oe,le);if(ue){var Pe=Lu(le);Pe.removeChild(ue)}}function ps(oe,le){var ue=rl.get(oe);if(!ue||!Tl(document,ue)){var Pe=lu("",le),Me=Pe.parentNode;rl.set(oe,Me),oe.removeChild(Pe)}}function Ss(){rl.clear()}function us(oe,le){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Pe=Lu(ue);ps(Pe,ue);var Me=zu(le,ue);if(Me){var lt,rt;if((lt=ue.csp)!==null&<!==void 0&<.nonce&&Me.nonce!==((rt=ue.csp)===null||rt===void 0?void 0:rt.nonce)){var Gt;Me.nonce=(Gt=ue.csp)===null||Gt===void 0?void 0:Gt.nonce}return Me.innerHTML!==oe&&(Me.innerHTML=oe),Me}var jt=lu(oe,ue);return jt.setAttribute(Ku(ue),le),jt}var ss;function Vs(oe){if(typeof document=="undefined")return 0;if(oe||ss===void 0){var le=document.createElement("div");le.style.width="100%",le.style.height="200px";var ue=document.createElement("div"),Pe=ue.style;Pe.position="absolute",Pe.top="0",Pe.left="0",Pe.pointerEvents="none",Pe.visibility="hidden",Pe.width="200px",Pe.height="150px",Pe.overflow="hidden",ue.appendChild(le),document.body.appendChild(ue);var Me=le.offsetWidth;ue.style.overflow="scroll";var lt=le.offsetWidth;Me===lt&&(lt=ue.clientWidth),document.body.removeChild(ue),ss=Me-lt}return ss}function Ds(oe){var le=oe.match(/^(.*)px$/),ue=Number(le==null?void 0:le[1]);return Number.isNaN(ue)?Vs():ue}function Ls(oe){if(typeof document=="undefined"||!oe||!(oe instanceof Element))return{width:0,height:0};var le=getComputedStyle(oe,"::-webkit-scrollbar"),ue=le.width,Pe=le.height;return{width:Ds(ue),height:Ds(Pe)}}function cs(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Cs="rc-util-locker-".concat(Date.now()),ys=0;function Zs(oe){var le=!!oe,ue=ne.useState(function(){return ys+=1,"".concat(Cs,"_").concat(ys)}),Pe=(0,ke.Z)(ue,1),Me=Pe[0];hu(function(){if(le){var lt=Ls(document.body).width,rt=cs();us(` html body { overflow-y: hidden; `.concat(rt?"width: calc(100% - ".concat(lt,"px);"):"",` }`),Me)}else Uu(Me);return function(){Uu(Me)}},[le,Me])}var Fs=!1;function $l(oe){return typeof oe=="boolean"&&(Fs=oe),Fs}var Fu=function(le){return le===!1?!1:!Vi()||!le?null:typeof le=="string"?document.querySelector(le):typeof le=="function"?le():le},Bu=ne.forwardRef(function(oe,le){var ue=oe.open,Pe=oe.autoLock,Me=oe.getContainer,lt=oe.debug,rt=oe.autoDestroy,Gt=rt===void 0?!0:rt,jt=oe.children,nn=ne.useState(ue),Vn=(0,ke.Z)(nn,2),ln=Vn[0],mn=Vn[1],Sn=ln||ue;ne.useEffect(function(){(Gt||ue)&&mn(ue)},[ue,Gt]);var xn=ne.useState(function(){return Fu(Me)}),qt=(0,ke.Z)(xn,2),Pn=qt[0],_n=qt[1];ne.useEffect(function(){var Oo=Fu(Me);_n(Oo!=null?Oo:null)});var Ga=xl(Sn&&!Pn,lt),Sa=(0,ke.Z)(Ga,2),ma=Sa[0],Er=Sa[1],ca=Pn!=null?Pn:ma;Zs(Pe&&ue&&Vi()&&(ca===ma||ca===document.body));var va=null;if(jt&&nu(jt)&&le){var ao=jt;va=ao.ref}var Dr=tu(va,le);if(!Sn||!Vi()||Pn===void 0)return null;var ro=ca===!1||$l(),Hr=jt;return le&&(Hr=ne.cloneElement(jt,{ref:Dr})),ne.createElement(iu.Provider,{value:Er},ro?Hr:(0,Yi.createPortal)(Hr,ca))}),ds=Bu,uu=ds,Nu=z(48555);function su(oe){return oe instanceof HTMLElement||oe instanceof SVGElement}function Ps(oe){return su(oe)?oe:oe instanceof React.Component?ReactDOM.findDOMNode(oe):null}function Mu(oe){var le;return oe==null||(le=oe.getRootNode)===null||le===void 0?void 0:le.call(oe)}function Bs(oe){return Mu(oe)instanceof ShadowRoot}function as(oe){return Bs(oe)?Mu(oe):null}var $u=z(77527);function Ns(){var oe=(0,Qt.Z)({},pe);return oe.useId}var gs=0;function Ms(){}var Ke=Ns(),mt=Ke?function(le){var ue=Ke();return le||ue}:function(le){var ue=ne.useState("ssr-id"),Pe=(0,ke.Z)(ue,2),Me=Pe[0],lt=Pe[1];return ne.useEffect(function(){var rt=gs;gs+=1,lt("rc_unique_".concat(rt))},[]),le||Me},vt=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var oe=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(oe)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(oe==null?void 0:oe.substr(0,4))},Xt=ne.createContext(null),Bn=Xt;function ga(oe){return oe?Array.isArray(oe)?oe:[oe]:[]}function Pa(oe,le,ue,Pe){return ne.useMemo(function(){var Me=ga(ue!=null?ue:le),lt=ga(Pe!=null?Pe:le),rt=new Set(Me),Gt=new Set(lt);return oe&&(rt.has("hover")&&(rt.delete("hover"),rt.add("click")),Gt.has("hover")&&(Gt.delete("hover"),Gt.add("click"))),[rt,Gt]},[oe,le,ue,Pe])}function br(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ue=arguments.length>2?arguments[2]:void 0;return ue?oe[0]===le[0]:oe[0]===le[0]&&oe[1]===le[1]}function Gr(oe,le,ue,Pe){for(var Me=ue.points,lt=Object.keys(oe),rt=0;rt1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(oe)?le:oe}function _e(oe){return at(parseFloat(oe),0)}function Ot(oe,le){var ue=(0,Qt.Z)({},oe);return(le||[]).forEach(function(Pe){if(!(Pe instanceof HTMLBodyElement||Pe instanceof HTMLHtmlElement)){var Me=ye(Pe).getComputedStyle(Pe),lt=Me.overflow,rt=Me.overflowClipMargin,Gt=Me.borderTopWidth,jt=Me.borderBottomWidth,nn=Me.borderLeftWidth,Vn=Me.borderRightWidth,ln=Pe.getBoundingClientRect(),mn=Pe.offsetHeight,Sn=Pe.clientHeight,xn=Pe.offsetWidth,qt=Pe.clientWidth,Pn=_e(Gt),_n=_e(jt),Ga=_e(nn),Sa=_e(Vn),ma=at(Math.round(ln.width/xn*1e3)/1e3),Er=at(Math.round(ln.height/mn*1e3)/1e3),ca=(xn-qt-Ga-Sa)*ma,va=(mn-Sn-Pn-_n)*Er,ao=Pn*Er,Dr=_n*Er,ro=Ga*ma,Hr=Sa*ma,Oo=0,oi=0;if(lt==="clip"){var Fi=_e(rt);Oo=Fi*ma,oi=Fi*Er}var Ro=ln.x+ro-Oo,Zo=ln.y+ao-oi,So=Ro+ln.width+2*Oo-ro-Hr-ca,Bi=Zo+ln.height+2*oi-ao-Dr-va;ue.left=Math.max(ue.left,Ro),ue.top=Math.max(ue.top,Zo),ue.right=Math.min(ue.right,So),ue.bottom=Math.min(ue.bottom,Bi)}}),ue}function en(oe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ue="".concat(le),Pe=ue.match(/^(.*)\%$/);return Pe?oe*(parseFloat(Pe[1])/100):parseFloat(ue)}function sn(oe,le){var ue=le||[],Pe=(0,ke.Z)(ue,2),Me=Pe[0],lt=Pe[1];return[en(oe.width,Me),en(oe.height,lt)]}function Tn(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[oe[0],oe[1]]}function In(oe,le){var ue=le[0],Pe=le[1],Me,lt;return ue==="t"?lt=oe.y:ue==="b"?lt=oe.y+oe.height:lt=oe.y+oe.height/2,Pe==="l"?Me=oe.x:Pe==="r"?Me=oe.x+oe.width:Me=oe.x+oe.width/2,{x:Me,y:lt}}function kn(oe,le){var ue={t:"b",b:"t",l:"r",r:"l"};return oe.map(function(Pe,Me){return Me===le?ue[Pe]||"c":Pe}).join("")}function Xn(oe,le,ue,Pe,Me,lt,rt){var Gt=ne.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Me[Pe]||{}}),jt=(0,ke.Z)(Gt,2),nn=jt[0],Vn=jt[1],ln=ne.useRef(0),mn=ne.useMemo(function(){return le?xe(le):[]},[le]),Sn=ne.useRef({}),xn=function(){Sn.current={}};oe||xn();var qt=(0,$u.Z)(function(){if(le&&ue&&oe){let Es=function(Pc,oc){var js=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ki,Ec=$o.x+Pc,cc=$o.y+oc,Dc=Ec+Xi,Lc=cc+Ui,$s=Math.max(Ec,js.left),Fc=Math.max(cc,js.top),kc=Math.min(Dc,js.right),Xo=Math.min(Lc,js.bottom);return Math.max(0,(kc-$s)*(Xo-Fc))},Ws=function(){Ml=$o.y+Qi,os=Ml+Ui,zs=$o.x+$i,ks=zs+Xi};var Ga,Sa,ma=le,Er=ma.ownerDocument,ca=ye(ma),va=ca.getComputedStyle(ma),ao=va.width,Dr=va.height,ro=va.position,Hr=ma.style.left,Oo=ma.style.top,oi=ma.style.right,Fi=ma.style.bottom,Ro=(0,Qt.Z)((0,Qt.Z)({},Me[Pe]),lt),Zo=Er.createElement("div");(Ga=ma.parentElement)===null||Ga===void 0||Ga.appendChild(Zo),Zo.style.left="".concat(ma.offsetLeft,"px"),Zo.style.top="".concat(ma.offsetTop,"px"),Zo.style.position=ro,Zo.style.height="".concat(ma.offsetHeight,"px"),Zo.style.width="".concat(ma.offsetWidth,"px"),ma.style.left="0",ma.style.top="0",ma.style.right="auto",ma.style.bottom="auto";var So;if(Array.isArray(ue))So={x:ue[0],y:ue[1],width:0,height:0};else{var Bi=ue.getBoundingClientRect();So={x:Bi.x,y:Bi.y,width:Bi.width,height:Bi.height}}var $o=ma.getBoundingClientRect(),ii=Er.documentElement,ul=ii.clientWidth,gl=ii.clientHeight,El=ii.scrollWidth,Vl=ii.scrollHeight,il=ii.scrollTop,Ol=ii.scrollLeft,Ui=$o.height,Xi=$o.width,sl=So.height,Rl=So.width,Zl={left:0,top:0,right:ul,bottom:gl},cu={left:-Ol,top:-il,right:El-Ol,bottom:Vl-il},Kl=Ro.htmlRegion,ei="visible",fl="visibleFirst";Kl!=="scroll"&&Kl!==fl&&(Kl=ei);var qi=Kl===fl,Ni=Ot(cu,mn),Mo=Ot(Zl,mn),Ki=Kl===ei?Mo:Ni,pl=qi?Mo:Ki;ma.style.left="auto",ma.style.top="auto",ma.style.right="0",ma.style.bottom="0";var yu=ma.getBoundingClientRect();ma.style.left=Hr,ma.style.top=Oo,ma.style.right=oi,ma.style.bottom=Fi,(Sa=ma.parentElement)===null||Sa===void 0||Sa.removeChild(Zo);var Yu=at(Math.round(Xi/parseFloat(ao)*1e3)/1e3),au=at(Math.round(Ui/parseFloat(Dr)*1e3)/1e3);if(Yu===0||au===0||su(ue)&&!(0,to.Z)(ue))return;var bs=Ro.offset,Is=Ro.targetOffset,Hu=sn($o,bs),Pu=(0,ke.Z)(Hu,2),du=Pu[0],ti=Pu[1],cl=sn(So,Is),Nl=(0,ke.Z)(cl,2),gu=Nl[0],Cl=Nl[1];So.x-=gu,So.y-=Cl;var Eu=Ro.points||[],_l=(0,ke.Z)(Eu,2),Wu=_l[0],Qu=_l[1],ru=Tn(Qu),Cu=Tn(Wu),fu=In(So,ru),Xu=In($o,Cu),ms=(0,Qt.Z)({},Ro),$i=fu.x-Xu.x+du,Qi=fu.y-Xu.y+ti,es=Es($i,Qi),ll=Es($i,Qi,Mo),ws=In(So,["t","l"]),vs=In($o,["t","l"]),hs=In(So,["b","r"]),rs=In($o,["b","r"]),xs=Ro.overflow||{},Gs=xs.adjustX,Os=xs.adjustY,Ci=xs.shiftX,yo=xs.shiftY,Hi=function(oc){return typeof oc=="boolean"?oc:oc>=0},Ml,os,zs,ks;Ws();var Xs=Hi(Os),Us=Cu[0]===ru[0];if(Xs&&Cu[0]==="t"&&(os>pl.bottom||Sn.current.bt)){var Yl=Qi;Us?Yl-=Ui-sl:Yl=ws.y-rs.y-ti;var Mi=Es($i,Yl),ls=Es($i,Yl,Mo);Mi>es||Mi===es&&(!qi||ls>=ll)?(Sn.current.bt=!0,Qi=Yl,ti=-ti,ms.points=[kn(Cu,0),kn(ru,0)]):Sn.current.bt=!1}if(Xs&&Cu[0]==="b"&&(Mles||ec===es&&(!qi||hc>=ll)?(Sn.current.tb=!0,Qi=is,ti=-ti,ms.points=[kn(Cu,0),kn(ru,0)]):Sn.current.tb=!1}var ic=Hi(Gs),tc=Cu[1]===ru[1];if(ic&&Cu[1]==="l"&&(ks>pl.right||Sn.current.rl)){var Ts=$i;tc?Ts-=Xi-Rl:Ts=ws.x-rs.x-du;var nc=Es(Ts,Qi),pc=Es(Ts,Qi,Mo);nc>es||nc===es&&(!qi||pc>=ll)?(Sn.current.rl=!0,$i=Ts,du=-du,ms.points=[kn(Cu,1),kn(ru,1)]):Sn.current.rl=!1}if(ic&&Cu[1]==="r"&&(zses||zl===es&&(!qi||Jo>=ll)?(Sn.current.lr=!0,$i=Hs,du=-du,ms.points=[kn(Cu,1),kn(ru,1)]):Sn.current.lr=!1}Ws();var Iu=Ci===!0?0:Ci;typeof Iu=="number"&&(zsMo.right&&($i-=ks-Mo.right-du,So.x>Mo.right-Iu&&($i+=So.x-Mo.right+Iu)));var Ou=yo===!0?0:yo;typeof Ou=="number"&&(MlMo.bottom&&(Qi-=os-Mo.bottom-ti,So.y>Mo.bottom-Ou&&(Qi+=So.y-Mo.bottom+Ou)));var Js=$o.x+$i,qs=Js+Xi,lc=$o.y+Qi,ac=lc+Ui,Rs=So.x,Mc=Rs+Rl,bc=So.y,wc=bc+sl,rc=Math.max(Js,Rs),Ic=Math.min(qs,Mc),xc=(rc+Ic)/2,Oc=xc-Js,uc=Math.max(lc,bc),sc=Math.min(ac,wc),Ac=(uc+sc)/2,Sc=Ac-lc;rt==null||rt(le,ms);var Rc=yu.right-$o.x-($i+$o.width),yc=yu.bottom-$o.y-(Qi+$o.height);Vn({ready:!0,offsetX:$i/Yu,offsetY:Qi/au,offsetR:Rc/Yu,offsetB:yc/au,arrowX:Oc/Yu,arrowY:Sc/au,scaleX:Yu,scaleY:au,align:ms})}}),Pn=function(){ln.current+=1;var Sa=ln.current;Promise.resolve().then(function(){ln.current===Sa&&qt()})},_n=function(){Vn(function(Sa){return(0,Qt.Z)((0,Qt.Z)({},Sa),{},{ready:!1})})};return(0,Fn.Z)(_n,[Pe]),(0,Fn.Z)(function(){oe||_n()},[oe]),[nn.ready,nn.offsetX,nn.offsetY,nn.offsetR,nn.offsetB,nn.arrowX,nn.arrowY,nn.scaleX,nn.scaleY,nn.align,Pn]}function xa(oe,le,ue,Pe,Me){(0,Fn.Z)(function(){if(oe&&le&&ue){let ln=function(){Pe(),Me()};var lt=le,rt=ue,Gt=xe(lt),jt=xe(rt),nn=ye(rt),Vn=new Set([nn].concat((0,fn.Z)(Gt),(0,fn.Z)(jt)));return Vn.forEach(function(mn){mn.addEventListener("scroll",ln,{passive:!0})}),nn.addEventListener("resize",ln,{passive:!0}),Pe(),function(){Vn.forEach(function(mn){mn.removeEventListener("scroll",ln),nn.removeEventListener("resize",ln)})}}},[oe,le,ue])}var ja=z(60276);function Ca(oe,le,ue,Pe,Me,lt,rt,Gt){var jt=ne.useRef(oe),nn=ne.useRef(!1);jt.current!==oe&&(nn.current=!0,jt.current=oe),ne.useEffect(function(){var Vn=(0,hr.Z)(function(){nn.current=!1});return function(){hr.Z.cancel(Vn)}},[oe]),ne.useEffect(function(){if(le&&Pe&&(!Me||lt)){var Vn=function(){var ro=!1,Hr=function(Fi){var Ro=Fi.target;ro=rt(Ro)},Oo=function(Fi){var Ro=Fi.target;!nn.current&&jt.current&&!ro&&!rt(Ro)&&Gt(!1)};return[Hr,Oo]},ln=Vn(),mn=(0,ke.Z)(ln,2),Sn=mn[0],xn=mn[1],qt=Vn(),Pn=(0,ke.Z)(qt,2),_n=Pn[0],Ga=Pn[1],Sa=ye(Pe);Sa.addEventListener("mousedown",Sn,!0),Sa.addEventListener("click",xn,!0),Sa.addEventListener("contextmenu",xn,!0);var ma=as(ue);if(ma&&(ma.addEventListener("mousedown",_n,!0),ma.addEventListener("click",Ga,!0),ma.addEventListener("contextmenu",Ga,!0)),0)var Er,ca,va,ao;return function(){Sa.removeEventListener("mousedown",Sn,!0),Sa.removeEventListener("click",xn,!0),Sa.removeEventListener("contextmenu",xn,!0),ma&&(ma.removeEventListener("mousedown",_n,!0),ma.removeEventListener("click",Ga,!0),ma.removeEventListener("contextmenu",Ga,!0))}}},[le,ue,Pe,Me,lt])}function Va(oe){return oe instanceof HTMLElement||oe instanceof SVGElement}function gr(oe){return Va(oe)?oe:oe instanceof ne.Component?Yi.findDOMNode(oe):null}function qa(oe,le,ue){var Pe=React.useRef({});return(!("value"in Pe.current)||ue(Pe.current.condition,le))&&(Pe.current.value=oe(),Pe.current.condition=le),Pe.current.value}function nr(oe,le){typeof oe=="function"?oe(le):(0,gn.Z)(oe)==="object"&&oe&&"current"in oe&&(oe.current=le)}function he(){for(var oe=arguments.length,le=new Array(oe),ue=0;ue1&&arguments[1]!==void 0?arguments[1]:1;za+=1;var Pe=za;function Me(lt){if(lt===0)Ha(Pe),le();else{var rt=ia(function(){Me(lt-1)});sr.set(Pe,rt)}}return Me(ue),Pe};Ra.cancel=function(oe){var le=sr.get(oe);return Ha(le),$a(le)};var Na=Ra,ar=function(){var oe=ne.useRef(null);function le(){Na.cancel(oe.current)}function ue(Pe){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;le();var lt=Na(function(){Me<=1?Pe({isCanceled:function(){return lt!==oe.current}}):ue(Pe,Me-1)});oe.current=lt}return ne.useEffect(function(){return function(){le()}},[]),[ue,le]},Ar=me()?ne.useLayoutEffect:ne.useEffect,io=Ar,no=[On,Oa,Aa,$n],po=!1,Do=!0;function lo(oe){return oe===Aa||oe===$n}var ai=function(oe,le){var ue=Ln(ha),Pe=(0,ke.Z)(ue,2),Me=Pe[0],lt=Pe[1],rt=ar(),Gt=(0,ke.Z)(rt,2),jt=Gt[0],nn=Gt[1];function Vn(){lt(On,!0)}return io(function(){if(Me!==ha&&Me!==$n){var ln=no.indexOf(Me),mn=no[ln+1],Sn=le(Me);Sn===po?lt(mn,!0):jt(function(xn){function qt(){xn.isCanceled()||lt(mn,!0)}Sn===!0?qt():Promise.resolve(Sn).then(qt)})}},[oe,Me]),ne.useEffect(function(){return function(){nn()}},[]),[Vn,Me]},xi=function(oe){var le=(0,ne.useRef)(),ue=(0,ne.useRef)(oe);ue.current=oe;var Pe=ne.useCallback(function(rt){ue.current(rt)},[]);function Me(rt){rt&&(rt.removeEventListener(Cn,Pe),rt.removeEventListener(dn,Pe))}function lt(rt){le.current&&le.current!==rt&&Me(le.current),rt&&rt!==le.current&&(rt.addEventListener(Cn,Pe),rt.addEventListener(dn,Pe),le.current=rt)}return ne.useEffect(function(){return function(){Me(le.current)}},[]),[lt,Me]};function fr(oe,le,ue,Pe){var Me=Pe.motionEnter,lt=Me===void 0?!0:Me,rt=Pe.motionAppear,Gt=rt===void 0?!0:rt,jt=Pe.motionLeave,nn=jt===void 0?!0:jt,Vn=Pe.motionDeadline,ln=Pe.motionLeaveImmediately,mn=Pe.onAppearPrepare,Sn=Pe.onEnterPrepare,xn=Pe.onLeavePrepare,qt=Pe.onAppearStart,Pn=Pe.onEnterStart,_n=Pe.onLeaveStart,Ga=Pe.onAppearActive,Sa=Pe.onEnterActive,ma=Pe.onLeaveActive,Er=Pe.onAppearEnd,ca=Pe.onEnterEnd,va=Pe.onLeaveEnd,ao=Pe.onVisibleChanged,Dr=Ln(),ro=(0,ke.Z)(Dr,2),Hr=ro[0],Oo=ro[1],oi=Ln(on),Fi=(0,ke.Z)(oi,2),Ro=Fi[0],Zo=Fi[1],So=Ln(null),Bi=(0,ke.Z)(So,2),$o=Bi[0],ii=Bi[1],ul=(0,ne.useRef)(!1),gl=(0,ne.useRef)(null);function El(){return ue()}var Vl=(0,ne.useRef)(!1);function il(Ni){var Mo=El();if(!(Ni&&!Ni.deadline&&Ni.target!==Mo)){var Ki=Vl.current,pl;Ro===aa&&Ki?pl=Er==null?void 0:Er(Mo,Ni):Ro===Un&&Ki?pl=ca==null?void 0:ca(Mo,Ni):Ro===fa&&Ki&&(pl=va==null?void 0:va(Mo,Ni)),Ro!==on&&Ki&&pl!==!1&&(Zo(on,!0),ii(null,!0))}}var Ol=xi(il),Ui=(0,ke.Z)(Ol,1),Xi=Ui[0],sl=ne.useMemo(function(){var Ni,Mo,Ki;switch(Ro){case aa:return Ni={},(0,Pt.Z)(Ni,On,mn),(0,Pt.Z)(Ni,Oa,qt),(0,Pt.Z)(Ni,Aa,Ga),Ni;case Un:return Mo={},(0,Pt.Z)(Mo,On,Sn),(0,Pt.Z)(Mo,Oa,Pn),(0,Pt.Z)(Mo,Aa,Sa),Mo;case fa:return Ki={},(0,Pt.Z)(Ki,On,xn),(0,Pt.Z)(Ki,Oa,_n),(0,Pt.Z)(Ki,Aa,ma),Ki;default:return{}}},[Ro]),Rl=ai(Ro,function(Ni){if(Ni===On){var Mo=sl[On];return Mo?Mo(El()):po}if(Kl in sl){var Ki;ii(((Ki=sl[Kl])===null||Ki===void 0?void 0:Ki.call(sl,El(),null))||null)}return Kl===Aa&&(Xi(El()),Vn>0&&(clearTimeout(gl.current),gl.current=setTimeout(function(){il({deadline:!0})},Vn))),Do}),Zl=(0,ke.Z)(Rl,2),cu=Zl[0],Kl=Zl[1],ei=lo(Kl);Vl.current=ei,io(function(){Oo(le);var Ni=ul.current;if(ul.current=!0,!!oe){var Mo;!Ni&&le&&Gt&&(Mo=aa),Ni&&le&<&&(Mo=Un),(Ni&&!le&&nn||!Ni&&ln&&!le&&nn)&&(Mo=fa),Mo&&(Zo(Mo),cu())}},[le]),(0,ne.useEffect)(function(){(Ro===aa&&!Gt||Ro===Un&&!lt||Ro===fa&&!nn)&&Zo(on)},[Gt,lt,nn]),(0,ne.useEffect)(function(){return function(){ul.current=!1,clearTimeout(gl.current)}},[]);var fl=ne.useRef(!1);(0,ne.useEffect)(function(){Hr&&(fl.current=!0),Hr!==void 0&&Ro===on&&((fl.current||Hr)&&(ao==null||ao(Hr)),fl.current=!0)},[Hr,Ro]);var qi=$o;return sl[On]&&Kl===Oa&&(qi=(0,Qt.Z)({transition:"none"},qi)),[Ro,Kl,qi,Hr!=null?Hr:le]}var _a=function(oe){(0,Kt.Z)(ue,oe);var le=(0,An.Z)(ue);function ue(){return(0,un.Z)(this,ue),le.apply(this,arguments)}return(0,yt.Z)(ue,[{key:"render",value:function(){return this.props.children}}]),ue}(ne.Component),_r=_a;function fo(oe){var le=oe;(0,gn.Z)(oe)==="object"&&(le=oe.transitionSupport);function ue(Me){return!!(Me.motionName&&le)}var Pe=ne.forwardRef(function(Me,lt){var rt=Me.visible,Gt=rt===void 0?!0:rt,jt=Me.removeOnLeave,nn=jt===void 0?!0:jt,Vn=Me.forceRender,ln=Me.children,mn=Me.motionName,Sn=Me.leavedClassName,xn=Me.eventProps,qt=ue(Me),Pn=(0,ne.useRef)(),_n=(0,ne.useRef)();function Ga(){try{return Pn.current instanceof HTMLElement?Pn.current:gr(_n.current)}catch(So){return null}}var Sa=fr(qt,Gt,Ga,Me),ma=(0,ke.Z)(Sa,4),Er=ma[0],ca=ma[1],va=ma[2],ao=ma[3],Dr=ne.useRef(ao);ao&&(Dr.current=!0);var ro=ne.useCallback(function(So){Pn.current=So,nr(lt,So)},[lt]),Hr,Oo=(0,Qt.Z)((0,Qt.Z)({},xn),{},{visible:Gt});if(!ln)Hr=null;else if(Er===on||!ue(Me))ao?Hr=ln((0,Qt.Z)({},Oo),ro):!nn&&Dr.current&&Sn?Hr=ln((0,Qt.Z)((0,Qt.Z)({},Oo),{},{className:Sn}),ro):Vn||!nn&&!Sn?Hr=ln((0,Qt.Z)((0,Qt.Z)({},Oo),{},{style:{display:"none"}}),ro):Hr=null;else{var oi,Fi;ca===On?Fi="prepare":lo(ca)?Fi="active":ca===Oa&&(Fi="start"),Hr=ln((0,Qt.Z)((0,Qt.Z)({},Oo),{},{className:$t()(bn(mn,Er),(oi={},(0,Pt.Z)(oi,bn(mn,"".concat(Er,"-").concat(Fi)),Fi),(0,Pt.Z)(oi,mn,typeof mn=="string"),oi)),style:va}),ro)}if(ne.isValidElement(Hr)&&tt(Hr)){var Ro=Hr,Zo=Ro.ref;Zo||(Hr=ne.cloneElement(Hr,{ref:ro}))}return ne.createElement(_r,{ref:_n},Hr)});return Pe.displayName="CSSMotion",Pe}var kr=fo(Wt),No="add",Jr="keep",Yo="remove",mo="removed";function so(oe){var le;return oe&&(0,gn.Z)(oe)==="object"&&"key"in oe?le=oe:le={key:oe},(0,Qt.Z)((0,Qt.Z)({},le),{},{key:String(le.key)})}function fi(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return oe.map(so)}function ko(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ue=[],Pe=0,Me=le.length,lt=fi(oe),rt=fi(le);lt.forEach(function(nn){for(var Vn=!1,ln=Pe;ln1});return jt.forEach(function(nn){ue=ue.filter(function(Vn){var ln=Vn.key,mn=Vn.status;return ln!==nn||mn!==Yo}),ue.forEach(function(Vn){Vn.key===nn&&(Vn.status=Jr)})}),ue}var Ai=["component","children","onVisibleChanged","onAllRemoved"],bi=["status"],mi=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Ko(oe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kr,ue=function(Pe){(0,Kt.Z)(lt,Pe);var Me=(0,An.Z)(lt);function lt(){var rt;(0,un.Z)(this,lt);for(var Gt=arguments.length,jt=new Array(Gt),nn=0;nn0,El=ne.useState(!Sa||!gl),Vl=(0,ke.Z)(El,2),il=Vl[0],Ol=Vl[1];if((0,Fn.Z)(function(){!il&&gl&&rt&&Ol(!0)},[il,gl,rt]),!il)return null;var Ui="auto",Xi={left:"-1000vw",top:"-1000vh",right:Ui,bottom:Ui};if(ro||!jt){var sl,Rl=qt.points,Zl=qt.dynamicInset||((sl=qt._experimental)===null||sl===void 0?void 0:sl.dynamicInset),cu=Zl&&Rl[0][1]==="r",Kl=Zl&&Rl[0][0]==="b";cu?(Xi.right=oi,Xi.left=Ui):(Xi.left=Hr,Xi.right=Ui),Kl?(Xi.bottom=Fi,Xi.top=Ui):(Xi.top=Oo,Xi.bottom=Ui)}var ei={};return So&&(So.includes("height")&&$o?ei.height=$o:So.includes("minHeight")&&$o&&(ei.minHeight=$o),So.includes("width")&&Bi?ei.width=Bi:So.includes("minWidth")&&Bi&&(ei.minWidth=Bi)),jt||(ei.pointerEvents="none"),ne.createElement(Er,{open:Ga||ul,getContainer:Sa&&function(){return Sa(rt)},autoDestroy:ma},ne.createElement(To,{prefixCls:Me,open:jt,zIndex:ca,mask:mn,motion:_n}),ne.createElement(Nu.Z,{onResize:Ro,disabled:!jt},function(fl){return ne.createElement(Or,(0,ae.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ga,leavedClassName:"".concat(Me,"-hidden")},Pn,{onAppearPrepare:Zo,onEnterPrepare:Zo,visible:jt,onVisibleChanged:function(Ni){var Mo;Pn==null||(Mo=Pn.onVisibleChanged)===null||Mo===void 0||Mo.call(Pn,Ni),Gt(Ni)}}),function(qi,Ni){var Mo=qi.className,Ki=qi.style,pl=$t()(Me,Mo,Pe);return ne.createElement("div",{ref:(0,co.sQ)(fl,le,Ni),className:pl,style:(0,Qt.Z)((0,Qt.Z)((0,Qt.Z)((0,Qt.Z)({"--arrow-x":"".concat(xn.x||0,"px"),"--arrow-y":"".concat(xn.y||0,"px")},Xi),ei),Ki),{},{boxSizing:"border-box",zIndex:ca},lt),onMouseEnter:va,onMouseLeave:ao,onPointerEnter:Dr,onClick:ln},Sn&&ne.createElement(Vo,{prefixCls:Me,arrow:Sn,arrowPos:xn,align:qt}),ne.createElement(Lr,{cache:!jt&&!Vn},ii))})}))}),vr=pa,yr=ne.forwardRef(function(oe,le){var ue=oe.children,Pe=oe.getTriggerDOMNode,Me=(0,co.Yr)(ue),lt=ne.useCallback(function(Gt){(0,co.mH)(le,Pe?Pe(Gt):Gt)},[Pe]),rt=(0,co.x1)(lt,ue.ref);return Me?ne.cloneElement(ue,{ref:rt}):ue}),ka=yr,xo=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Go(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:uu,le=ne.forwardRef(function(ue,Pe){var Me=ue.prefixCls,lt=Me===void 0?"rc-trigger-popup":Me,rt=ue.children,Gt=ue.action,jt=Gt===void 0?"hover":Gt,nn=ue.showAction,Vn=ue.hideAction,ln=ue.popupVisible,mn=ue.defaultPopupVisible,Sn=ue.onPopupVisibleChange,xn=ue.afterPopupVisibleChange,qt=ue.mouseEnterDelay,Pn=ue.mouseLeaveDelay,_n=Pn===void 0?.1:Pn,Ga=ue.focusDelay,Sa=ue.blurDelay,ma=ue.mask,Er=ue.maskClosable,ca=Er===void 0?!0:Er,va=ue.getPopupContainer,ao=ue.forceRender,Dr=ue.autoDestroy,ro=ue.destroyPopupOnHide,Hr=ue.popup,Oo=ue.popupClassName,oi=ue.popupStyle,Fi=ue.popupPlacement,Ro=ue.builtinPlacements,Zo=Ro===void 0?{}:Ro,So=ue.popupAlign,Bi=ue.zIndex,$o=ue.stretch,ii=ue.getPopupClassNameFromAlign,ul=ue.fresh,gl=ue.alignPoint,El=ue.onPopupClick,Vl=ue.onPopupAlign,il=ue.arrow,Ol=ue.popupMotion,Ui=ue.maskMotion,Xi=ue.popupTransitionName,sl=ue.popupAnimation,Rl=ue.maskTransitionName,Zl=ue.maskAnimation,cu=ue.className,Kl=ue.getTriggerDOMNode,ei=(0,pi.Z)(ue,xo),fl=Dr||ro||!1,qi=ne.useState(!1),Ni=(0,ke.Z)(qi,2),Mo=Ni[0],Ki=Ni[1];(0,Fn.Z)(function(){Ki(vt())},[]);var pl=ne.useRef({}),yu=ne.useContext(Bn),Yu=ne.useMemo(function(){return{registerSubPopup:function(el,Ru){pl.current[el]=Ru,yu==null||yu.registerSubPopup(el,Ru)}}},[yu]),au=mt(),bs=ne.useState(null),Is=(0,ke.Z)(bs,2),Hu=Is[0],Pu=Is[1],du=(0,$u.Z)(function(Xo){su(Xo)&&Hu!==Xo&&Pu(Xo),yu==null||yu.registerSubPopup(au,Xo)}),ti=ne.useState(null),cl=(0,ke.Z)(ti,2),Nl=cl[0],gu=cl[1],Cl=(0,$u.Z)(function(Xo){su(Xo)&&Nl!==Xo&&gu(Xo)}),Eu=ne.Children.only(rt),_l=(Eu==null?void 0:Eu.props)||{},Wu={},Qu=(0,$u.Z)(function(Xo){var el,Ru,Vu=Nl;return(Vu==null?void 0:Vu.contains(Xo))||((el=as(Vu))===null||el===void 0?void 0:el.host)===Xo||Xo===Vu||(Hu==null?void 0:Hu.contains(Xo))||((Ru=as(Hu))===null||Ru===void 0?void 0:Ru.host)===Xo||Xo===Hu||Object.values(pl.current).some(function(ku){return(ku==null?void 0:ku.contains(Xo))||Xo===ku})}),ru=Rr(lt,Ol,sl,Xi),Cu=Rr(lt,Ui,Zl,Rl),fu=ne.useState(mn||!1),Xu=(0,ke.Z)(fu,2),ms=Xu[0],$i=Xu[1],Qi=ln!=null?ln:ms,es=(0,$u.Z)(function(Xo){ln===void 0&&$i(Xo)});(0,Fn.Z)(function(){$i(ln||!1)},[ln]);var ll=ne.useRef(Qi);ll.current=Qi;var ws=(0,$u.Z)(function(Xo){(0,Yi.flushSync)(function(){Qi!==Xo&&(es(Xo),Sn==null||Sn(Xo))})}),vs=ne.useRef(),hs=function(){clearTimeout(vs.current)},rs=function(el){var Ru=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;hs(),Ru===0?ws(el):vs.current=setTimeout(function(){ws(el)},Ru*1e3)};ne.useEffect(function(){return hs},[]);var xs=ne.useState(!1),Gs=(0,ke.Z)(xs,2),Os=Gs[0],Ci=Gs[1];(0,Fn.Z)(function(Xo){(!Xo||Qi)&&Ci(!0)},[Qi]);var yo=ne.useState(null),Hi=(0,ke.Z)(yo,2),Ml=Hi[0],os=Hi[1],zs=ne.useState([0,0]),ks=(0,ke.Z)(zs,2),Xs=ks[0],Us=ks[1],Yl=function(el){Us([el.clientX,el.clientY])},Mi=Xn(Qi,Hu,gl?Xs:Nl,Fi,Zo,So,Vl),ls=(0,ke.Z)(Mi,11),is=ls[0],ec=ls[1],hc=ls[2],ic=ls[3],tc=ls[4],Ts=ls[5],nc=ls[6],pc=ls[7],Hs=ls[8],zl=ls[9],Jo=ls[10],Iu=Pa(Mo,jt,nn,Vn),Ou=(0,ke.Z)(Iu,2),Js=Ou[0],qs=Ou[1],lc=Js.has("click"),ac=qs.has("click")||qs.has("contextMenu"),Rs=(0,$u.Z)(function(){Os||Jo()}),Mc=function(){ll.current&&gl&&ac&&rs(!1)};xa(Qi,Nl,Hu,Rs,Mc),(0,Fn.Z)(function(){Rs()},[Xs,Fi]),(0,Fn.Z)(function(){Qi&&!(Zo!=null&&Zo[Fi])&&Rs()},[JSON.stringify(So)]);var bc=ne.useMemo(function(){var Xo=Gr(Zo,lt,zl,gl);return $t()(Xo,ii==null?void 0:ii(zl))},[zl,ii,Zo,lt,gl]);ne.useImperativeHandle(Pe,function(){return{forceAlign:Rs}});var wc=ne.useState(0),rc=(0,ke.Z)(wc,2),Ic=rc[0],xc=rc[1],Oc=ne.useState(0),uc=(0,ke.Z)(Oc,2),sc=uc[0],Ac=uc[1],Sc=function(){if($o&&Nl){var el=Nl.getBoundingClientRect();xc(el.width),Ac(el.height)}},Rc=function(){Sc(),Rs()},yc=function(el){Ci(!1),Jo(),xn==null||xn(el)},Es=function(){return new Promise(function(el){Sc(),os(function(){return el})})};(0,Fn.Z)(function(){Ml&&(Jo(),Ml(),os(null))},[Ml]);function Ws(Xo,el,Ru,Vu){Wu[Xo]=function(ku){var dc;Vu==null||Vu(ku),rs(el,Ru);for(var Bc=arguments.length,Zc=new Array(Bc>1?Bc-1:0),gc=1;gc1?Ru-1:0),ku=1;ku1?Ru-1:0),ku=1;kumn(nn);case"month":return ln(qt)>ln(nn);case"week":return Vn(qt)>Vn(nn);default:return!Ia(Gt,qt,nn)&&Gt.isAfter(qt,nn)}return!1},[lt,rt[1],nn,le]),xn=ne.useCallback(function(qt){if(rt[1]||lt&<(qt))return!0;if(rt[0]&&jt)return!Ia(Gt,qt,nn)&&Gt.isAfter(jt,qt);if(!le&&jt)switch(ue){case"quarter":return mn(qt)0&&arguments[0]!==void 0?arguments[0]:!1,Uo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},wi=null;Yl&&$s&&$s[0]&&$s[1]&&qt.isAfter($s[1],$s[0])&&(wi=$s);var Ll=va;if(va&&(0,gn.Z)(va)==="object"&&va.defaultValue){var bu=va.defaultValue;Ll=(0,Qt.Z)((0,Qt.Z)({},va),{},{defaultValue:Fa(bu,Mi)||void 0})}return ne.createElement(Tr.Provider,{value:{inRange:!0,panelPosition:Al,rangedValue:Ec||Ci,hoverRangedValue:wi}},ne.createElement(Oi,(0,ae.Z)({},oe,Uo,{cellRender:Ad,showTime:Ll,mode:os[Mi],generateConfig:qt,style:void 0,direction:Pu,disabledDate:Mi===0?Ts:nc,disabledTime:function(Ys){return So?So(Ys,Mi===0?"start":"end"):!1},className:$t()((0,Pt.Z)({},"".concat(rt,"-panel-focused"),Mi===0?!$c:!nd)),value:Fa(Ci,Mi),locale:Pn,tabIndex:-1,onPanelChange:function(Ys,mc){Mi===0&&Vu(!0),Mi===1&&gc(!0),ks(pr(os,mc,Mi),pr(Ci,Ys,Mi));var vc=Ys;Al==="right"&&os[Mi]===mc&&(vc=xt(vc,mc,qt,-1)),xs(vc,Mi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Mi===0?Fa(Ci,1):Fa(Ci,0)})))}var fc=0,ad=0;if(Mi&&_l.current&&Qu.current&&Eu.current&&fu.current){fc=_l.current.offsetWidth+Qu.current.offsetWidth;var Ld=fu.current.offsetLeft>fc?fu.current.offsetLeft-fc:fu.current.offsetLeft,rd=Eu.current.offsetWidth,od=fu.current.offsetWidth;rd&&od&&fc>rd-od-(Pu==="rtl"?0:Ld)&&(ad=fc)}var Fd=Pu==="rtl"?{right:fc}:{left:fc};function Bd(){var Al,Uo=Co(rt,os[Mi],Zl),wi=Vr({prefixCls:rt,components:Is,needConfirmButton:gu,okDisabled:!Fa(Ci,Mi)||Zo&&Zo(Ci[Mi]),locale:Pn,onOk:function(){var Qs=Fa(Ci,Mi);Qs&&(Ou(Ci,Mi),au==null||au(Ci),is(!1,Mi,"confirm"))}});if(ca!=="time"&&!va){var Ll=rs(Mi),bu=xt(Ll,ca,qt),Nc=os[Mi],Ys=Nc===ca,mc=Wc(Ys?"left":!1,{pickerValue:Ll,onPickerValueChange:function(Qs){xs(Qs,Mi)}}),vc=Wc("right",{pickerValue:bu,onPickerValueChange:function(Qs){xs(xt(Qs,ca,qt,-1),Mi)}});Pu==="rtl"?Al=ne.createElement(ne.Fragment,null,vc,Ys&&mc):Al=ne.createElement(ne.Fragment,null,mc,Ys&&vc)}else Al=Wc();var Tc=ne.createElement("div",{className:"".concat(rt,"-panel-layout")},ne.createElement(fe,{prefixCls:rt,presets:Dd,onClick:function(Qs){Ou(Qs,null),is(!1,Mi,"preset")},onHover:function(Qs){cc(Qs)}}),ne.createElement("div",null,ne.createElement("div",{className:"".concat(rt,"-panels")},Al),(Uo||wi)&&ne.createElement("div",{className:"".concat(rt,"-footer")},Uo,wi)));return ul&&(Tc=ul(Tc)),ne.createElement("div",{className:"".concat(rt,"-panel-container"),style:{marginLeft:ad},ref:Eu,onMouseDown:function(Qs){Qs.preventDefault()}},Tc)}var Nd=ne.createElement("div",{className:$t()("".concat(rt,"-range-wrapper"),"".concat(rt,"-").concat(ca,"-range-wrapper")),style:{minWidth:zl}},ne.createElement("div",{ref:fu,className:"".concat(rt,"-range-arrow"),style:Fd}),Bd()),id;Ol&&(id=ne.createElement("span",{className:"".concat(rt,"-suffix"),onMouseDown:function(Uo){Uo.preventDefault()}},Ol));var Md=Te(rt,il,Ui),Id=ne.createElement("span",{onMouseDown:function(Uo){Uo.preventDefault(),Uo.stopPropagation()},onMouseUp:function(Uo){Uo.preventDefault(),Uo.stopPropagation();var wi=ll;$i[0]||(wi=pr(wi,null,0)),$i[1]||(wi=pr(wi,null,1)),Ou(wi,null),is(!1,Mi,"clear")},className:"".concat(rt,"-clear"),role:"button"},Md),Od=il&&(Fa(ll,0)&&!$i[0]||Fa(ll,1)&&!$i[1]),ld={size:qo(ca,Xu[0],qt)},Vc=0,Gc=0;_l.current&&Wu.current&&Qu.current&&(Mi===0?Gc=_l.current.offsetWidth:(Vc=fc,Gc=Wu.current.offsetWidth));var Rd=Pu==="rtl"?{right:Vc}:{left:Vc},kd=function(Uo,wi){var Ll=pr(Ci,Uo,Mi);if(wi==="submit"||wi!=="key"&&!gu){Ou(Ll,Mi),Mi===0?Vu():gc();var bu=Mi===0?1:0;$i[bu]?is(!1,!1,"confirm"):is(!1,Mi,"confirm")}else yo(Ll)};return ne.createElement(Bt.Provider,{value:{operationRef:ms,hideHeader:ca==="time",onDateMouseEnter:gd,onDateMouseLeave:fd,hideRanges:!0,onSelect:kd,open:Yl}},ne.createElement(ge,{visible:Yl,popupElement:Nd,popupStyle:Vn,prefixCls:rt,dropdownClassName:ln,dropdownAlign:Sn,getPopupContainer:xn,transitionName:mn,range:!0,direction:Pu},ne.createElement("div",(0,ae.Z)({ref:Cl,className:$t()(rt,"".concat(rt,"-range"),nn,(le={},(0,Pt.Z)(le,"".concat(rt,"-disabled"),$i[0]&&$i[1]),(0,Pt.Z)(le,"".concat(rt,"-focused"),Mi===0?qc:td),(0,Pt.Z)(le,"".concat(rt,"-rtl"),Pu==="rtl"),le)),style:jt,onClick:Cd,onMouseEnter:pl,onMouseLeave:yu,onMouseDown:bd,onMouseUp:Ki},(0,an.Z)(oe,{aria:!0,data:!0})),ne.createElement("div",{className:$t()("".concat(rt,"-input"),(ue={},(0,Pt.Z)(ue,"".concat(rt,"-input-active"),Mi===0),(0,Pt.Z)(ue,"".concat(rt,"-input-placeholder"),!!el),ue)),ref:_l},ne.createElement("input",(0,ae.Z)({id:Gt,disabled:$i[0],readOnly:sl||typeof Xu[0]=="function"||!$c,value:el||sc,onChange:function(Uo){Ac(Uo.target.value)},autoFocus:Ga,placeholder:Fa(_n,0)||"",ref:ru},yd,ld,{autoComplete:cl}))),ne.createElement("div",{className:"".concat(rt,"-range-separator"),ref:Qu},ro),ne.createElement("div",{className:$t()("".concat(rt,"-input"),(Pe={},(0,Pt.Z)(Pe,"".concat(rt,"-input-active"),Mi===1),(0,Pt.Z)(Pe,"".concat(rt,"-input-placeholder"),!!Bc),Pe)),ref:Wu},ne.createElement("input",(0,ae.Z)({disabled:$i[1],readOnly:sl||typeof Xu[0]=="function"||!nd,value:Bc||Es,onChange:function(Uo){Ws(Uo.target.value)},placeholder:Fa(_n,1)||"",ref:Cu},Ed,ld,{autoComplete:cl}))),ne.createElement("div",{className:"".concat(rt,"-active-bar"),style:(0,Qt.Z)((0,Qt.Z)({},Rd),{},{width:Gc,position:"absolute"})}),id,Od&&Id)))}var Wa=function(oe){(0,Kt.Z)(ue,oe);var le=(0,An.Z)(ue);function ue(){var Pe;(0,un.Z)(this,ue);for(var Me=arguments.length,lt=new Array(Me),rt=0;rt{const{lineHeight:Me}=oe,lt=Math.floor(ue*Me)+2,rt=Math.max((le-lt)/2,0),Gt=Math.max(le-lt-rt,0);return{padding:`${rt}px ${Pe}px ${Gt}px`}},ri=oe=>{const{componentCls:le,pickerCellCls:ue,pickerCellInnerCls:Pe,cellHeight:Me,motionDurationSlow:lt,borderRadiusSM:rt,motionDurationMid:Gt,cellHoverBg:jt,lineWidth:nn,lineType:Vn,colorPrimary:ln,cellActiveWithRangeBg:mn,colorTextLightSolid:Sn,controlHeightSM:xn,cellRangeBorderColor:qt,pickerCellBorderGap:Pn,cellHoverWithRangeBg:_n,cellWidth:Ga,colorTextDisabled:Sa,cellBgDisabled:ma}=oe;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Me,transform:"translateY(-50%)",transition:`all ${lt}`,content:'""'},[Pe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Me,height:Me,lineHeight:`${Me}px`,borderRadius:rt,transition:`background ${Gt}, border ${Gt}`},"&-range-hover-start, &-range-hover-end":{[Pe]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ue}-in-view), &:hover:not(${ue}-selected):not(${ue}-range-start):not(${ue}-range-end):not(${ue}-range-hover-start):not(${ue}-range-hover-end)`]:{[Pe]:{background:jt}},[`&-in-view${ue}-today ${Pe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${nn}px ${Vn} ${ln}`,borderRadius:rt,content:'""'}},[`&-in-view${ue}-in-range`]:{position:"relative","&::before":{background:mn}},[`&-in-view${ue}-selected ${Pe}, &-in-view${ue}-range-start ${Pe}, &-in-view${ue}-range-end ${Pe}`]:{color:Sn,background:ln},[`&-in-view${ue}-range-start:not(${ue}-range-start-single), &-in-view${ue}-range-end:not(${ue}-range-end-single)`]:{"&::before":{background:mn}},[`&-in-view${ue}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ue}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ue}-range-hover-start:not(${ue}-in-range):not(${ue}-range-start):not(${ue}-range-end), &-in-view${ue}-range-hover-end:not(${ue}-in-range):not(${ue}-range-start):not(${ue}-range-end), &-in-view${ue}-range-hover-start${ue}-range-start-single, &-in-view${ue}-range-hover-start${ue}-range-start${ue}-range-end${ue}-range-end-near-hover, &-in-view${ue}-range-hover-end${ue}-range-start${ue}-range-end${ue}-range-start-near-hover, &-in-view${ue}-range-hover-end${ue}-range-end-single, &-in-view${ue}-range-hover:not(${ue}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:xn,borderTop:`${nn}px dashed ${qt}`,borderBottom:`${nn}px dashed ${qt}`,transform:"translateY(-50%)",transition:`all ${lt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Pn},[`&-in-view${ue}-in-range${ue}-range-hover::before, &-in-view${ue}-in-range${ue}-range-hover-start::before, &-in-view${ue}-in-range${ue}-range-hover-end::before, &-in-view${ue}-range-start${ue}-range-hover::before, &-in-view${ue}-range-end${ue}-range-hover::before, &-in-view${ue}-range-start:not(${ue}-range-start-single)${ue}-range-hover-start::before, &-in-view${ue}-range-end:not(${ue}-range-end-single)${ue}-range-hover-end::before, ${le}-panel > :not(${le}-date-panel) &-in-view${ue}-in-range${ue}-range-hover-start::before, ${le}-panel > :not(${le}-date-panel) &-in-view${ue}-in-range${ue}-range-hover-end::before`]:{background:_n},[`&-in-view${ue}-range-start:not(${ue}-range-start-single):not(${ue}-range-end) ${Pe}`]:{borderStartStartRadius:rt,borderEndStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ue}-range-end:not(${ue}-range-end-single):not(${ue}-range-start) ${Pe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:rt,borderEndEndRadius:rt},[`&-range-hover${ue}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ue}-range-hover:first-child::after, tr > &-in-view${ue}-range-hover-end:first-child::after, &-in-view${ue}-start${ue}-range-hover-edge-start${ue}-range-hover-edge-start-near-range::after, &-in-view${ue}-range-hover-edge-start:not(${ue}-range-hover-edge-start-near-range)::after, &-in-view${ue}-range-hover-start::after`]:{insetInlineStart:(Ga-Me)/2,borderInlineStart:`${nn}px dashed ${qt}`,borderStartStartRadius:rt,borderEndStartRadius:rt},[`tr > &-in-view${ue}-range-hover:last-child::after, tr > &-in-view${ue}-range-hover-start:last-child::after, &-in-view${ue}-end${ue}-range-hover-edge-end${ue}-range-hover-edge-end-near-range::after, &-in-view${ue}-range-hover-edge-end:not(${ue}-range-hover-edge-end-near-range)::after, &-in-view${ue}-range-hover-end::after`]:{insetInlineEnd:(Ga-Me)/2,borderInlineEnd:`${nn}px dashed ${qt}`,borderStartEndRadius:rt,borderEndEndRadius:rt},"&-disabled":{color:Sa,pointerEvents:"none",[Pe]:{background:"transparent"},"&::before":{background:ma}},[`&-disabled${ue}-today ${Pe}::before`]:{borderColor:Sa}}},Ii=oe=>{const{componentCls:le,pickerCellCls:ue,pickerCellInnerCls:Pe,pickerYearMonthCellWidth:Me,pickerControlIconSize:lt,cellWidth:rt,paddingSM:Gt,paddingXS:jt,paddingXXS:nn,colorBgContainer:Vn,lineWidth:ln,lineType:mn,borderRadiusLG:Sn,colorPrimary:xn,colorTextHeading:qt,colorSplit:Pn,pickerControlIconBorderWidth:_n,colorIcon:Ga,textHeight:Sa,motionDurationMid:ma,colorIconHover:Er,fontWeightStrong:ca,cellHeight:va,pickerCellPaddingVertical:ao,colorTextDisabled:Dr,colorText:ro,fontSize:Hr,cellHoverWithRangeBg:Oo,motionDurationSlow:oi,withoutTimeCellHeight:Fi,pickerQuarterPanelContentHeight:Ro,colorLink:Zo,colorLinkActive:So,colorLinkHover:Bi,cellRangeBorderColor:$o,borderRadiusSM:ii,colorTextLightSolid:ul,cellHoverBg:gl,timeColumnHeight:El,timeColumnWidth:Vl,timeCellHeight:il,controlItemBgActive:Ol,marginXXS:Ui,pickerDatePanelPaddingHorizontal:Xi}=oe,sl=rt*7+Xi*2,Rl=(sl-jt*2)/3-Me-Gt,Zl=(sl-jt*2)/4-Me;return{[le]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Vn,border:`${ln}px ${mn} ${Pn}`,borderRadius:Sn,outline:"none","&-focused":{borderColor:xn},"&-rtl":{direction:"rtl",[`${le}-prev-icon, ${le}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${le}-next-icon, ${le}-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:sl},"&-header":{display:"flex",padding:`0 ${jt}px`,color:qt,borderBottom:`${ln}px ${mn} ${Pn}`,"> *":{flex:"none"},button:{padding:0,color:Ga,lineHeight:`${Sa}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${ma}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Hr,"&:hover":{color:Er}},"&-view":{flex:"auto",fontWeight:ca,lineHeight:`${Sa}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:jt},"&:hover":{color:xn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:lt,height:lt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:lt,height:lt,border:"0 solid currentcolor",borderBlockStartWidth:_n,borderBlockEndWidth:0,borderInlineStartWidth:_n,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(lt/2),insetInlineStart:Math.ceil(lt/2),display:"inline-block",width:lt,height:lt,border:"0 solid currentcolor",borderBlockStartWidth:_n,borderBlockEndWidth:0,borderInlineStartWidth:_n,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:va,fontWeight:"normal"},th:{height:va+ao*2,color:ro,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ao}px 0`,color:Dr,cursor:"pointer","&-in-view":{color:ro}},ri(oe)),[`&-date-panel ${le}-cell-in-view${le}-cell-in-range${le}-cell-range-hover-start ${Pe}, &-date-panel ${le}-cell-in-view${le}-cell-in-range${le}-cell-range-hover-end ${Pe}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Oo,transition:`all ${oi}`,content:'""'}},[`&-date-panel ${le}-cell-in-view${le}-cell-in-range${le}-cell-range-hover-start ${Pe}::after`]:{insetInlineEnd:-(rt-va)/2,insetInlineStart:0},[`&-date-panel ${le}-cell-in-view${le}-cell-in-range${le}-cell-range-hover-end ${Pe}::after`]:{insetInlineEnd:0,insetInlineStart:-(rt-va)/2},[`&-range-hover${le}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${le}-content`]:{height:Fi*4},[Pe]:{padding:`0 ${jt}px`}},"&-quarter-panel":{[`${le}-content`]:{height:Ro},[`${le}-cell-range-hover-start::after`]:{insetInlineStart:Zl,borderInlineStart:`${ln}px dashed ${$o}`,[`${le}-panel-rtl &`]:{insetInlineEnd:Zl,borderInlineEnd:`${ln}px dashed ${$o}`}},[`${le}-cell-range-hover-end::after`]:{insetInlineEnd:Zl,borderInlineEnd:`${ln}px dashed ${$o}`,[`${le}-panel-rtl &`]:{insetInlineStart:Zl,borderInlineStart:`${ln}px dashed ${$o}`}}},[`&-panel ${le}-footer`]:{borderTop:`${ln}px ${mn} ${Pn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Sa-2*ln}px`,textAlign:"center","&-extra":{padding:`0 ${Gt}px`,lineHeight:`${Sa-2*ln}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ln}px ${mn} ${Pn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Zo,"&:hover":{color:Bi},"&:active":{color:So},[`&${le}-today-btn-disabled`]:{color:Dr,cursor:"not-allowed"}},"&-decade-panel":{[Pe]:{padding:`0 ${jt/2}px`},[`${le}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${le}-body`]:{padding:`0 ${jt}px`},[Pe]:{width:Me},[`${le}-cell-range-hover-start::after`]:{borderStartStartRadius:ii,borderEndStartRadius:ii,borderStartEndRadius:0,borderEndEndRadius:0,[`${le}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ii,borderEndEndRadius:ii}},[`${le}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ii,borderEndEndRadius:ii,[`${le}-panel-rtl &`]:{borderStartStartRadius:ii,borderEndStartRadius:ii,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${le}-cell-range-hover-start::after`]:{insetInlineStart:Rl,borderInlineStart:`${ln}px dashed ${$o}`,[`${le}-panel-rtl &`]:{insetInlineEnd:Rl,borderInlineEnd:`${ln}px dashed ${$o}`}},[`${le}-cell-range-hover-end::after`]:{insetInlineEnd:Rl,borderInlineEnd:`${ln}px dashed ${$o}`,[`${le}-panel-rtl &`]:{insetInlineStart:Rl,borderInlineStart:`${ln}px dashed ${$o}`}}},"&-week-panel":{[`${le}-body`]:{padding:`${jt}px ${Gt}px`},[`${le}-cell`]:{[`&:hover ${Pe}, &-selected ${Pe}, ${Pe}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${ma}`},"&:first-child:before":{borderStartStartRadius:ii,borderEndStartRadius:ii},"&:last-child:before":{borderStartEndRadius:ii,borderEndEndRadius:ii}},"&:hover td":{"&:before":{background:gl}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ue}`]:{"&:before":{background:xn},[`&${le}-cell-week`]:{color:new ra.C(ul).setAlpha(.5).toHexString()},[Pe]:{color:ul}}},"&-range-hover td:before":{background:Ol}}},"&-date-panel":{[`${le}-body`]:{padding:`${jt}px ${Xi}px`},[`${le}-content`]:{width:rt*7,th:{width:rt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${le}-time-panel`]:{borderInlineStart:`${ln}px ${mn} ${Pn}`},[`${le}-date-panel, ${le}-time-panel`]:{transition:`opacity ${oi}`},"&-active":{[`${le}-date-panel, ${le}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${le}-content`]:{display:"flex",flex:"auto",height:El},"&-column":{flex:"1 0 auto",width:Vl,margin:`${nn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${ma}`,overflowX:"hidden","&::after":{display:"block",height:El-il,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ln}px ${mn} ${Pn}`},"&-active":{background:new ra.C(Ol).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${le}-time-panel-cell`]:{marginInline:Ui,[`${le}-time-panel-cell-inner`]:{display:"block",width:Vl-2*Ui,height:il,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Vl-il)/2,color:ro,lineHeight:`${il}px`,borderRadius:ii,cursor:"pointer",transition:`background ${ma}`,"&:hover":{background:gl}},"&-selected":{[`${le}-time-panel-cell-inner`]:{background:Ol}},"&-disabled":{[`${le}-time-panel-cell-inner`]:{color:Dr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${le}-time-panel-column:after`]:{height:El-il+nn*2}}}},Fl=oe=>{const{componentCls:le,colorBgContainer:ue,colorError:Pe,errorActiveShadow:Me,colorWarning:lt,warningActiveShadow:rt}=oe;return{[`${le}:not(${le}-disabled)`]:{[`&${le}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ue,borderColor:Pe},[`&${le}-focused, &:focus`]:Object.assign({},(0,Jn.M1)((0,zr.TS)(oe,{activeBorderColor:Pe,activeShadow:Me}))),[`${le}-active-bar`]:{background:Pe}},[`&${le}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ue,borderColor:lt},[`&${le}-focused, &:focus`]:Object.assign({},(0,Jn.M1)((0,zr.TS)(oe,{activeBorderColor:lt,activeShadow:rt}))),[`${le}-active-bar`]:{background:lt}}}}},Bl=oe=>{const{componentCls:le,antCls:ue,controlHeight:Pe,fontSize:Me,paddingInline:lt,colorBgContainer:rt,lineWidth:Gt,lineType:jt,colorBorder:nn,borderRadius:Vn,motionDurationMid:ln,colorBgContainerDisabled:mn,colorTextDisabled:Sn,colorTextPlaceholder:xn,controlHeightLG:qt,fontSizeLG:Pn,controlHeightSM:_n,paddingInlineSM:Ga,paddingXS:Sa,marginXS:ma,colorTextDescription:Er,lineWidthBold:ca,lineHeight:va,colorPrimary:ao,motionDurationSlow:Dr,zIndexPopup:ro,paddingXXS:Hr,paddingSM:Oo,textHeight:oi,cellActiveWithRangeBg:Fi,colorPrimaryBorder:Ro,sizePopupArrow:Zo,borderRadiusXS:So,borderRadiusOuter:Bi,colorBgElevated:$o,borderRadiusLG:ii,boxShadowSecondary:ul,borderRadiusSM:gl,colorSplit:El,cellHoverBg:Vl,presetsWidth:il,presetsMaxWidth:Ol,boxShadowPopoverArrow:Ui,colorTextQuaternary:Xi}=oe;return[{[le]:Object.assign(Object.assign(Object.assign({},(0,Ma.Wf)(oe)),Lo(oe,Pe,Me,lt)),{position:"relative",display:"inline-flex",alignItems:"center",background:rt,lineHeight:1,border:`${Gt}px ${jt} ${nn}`,borderRadius:Vn,transition:`border ${ln}, box-shadow ${ln}`,"&:hover, &-focused":Object.assign({},(0,Jn.pU)(oe)),"&-focused":Object.assign({},(0,Jn.M1)(oe)),[`&${le}-disabled`]:{background:mn,borderColor:nn,cursor:"not-allowed",[`${le}-suffix`]:{color:Xi}},[`&${le}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${le}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Jn.ik)(oe)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${le}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:xn}}},"&-large":Object.assign(Object.assign({},Lo(oe,qt,Pn,lt)),{[`${le}-input > input`]:{fontSize:Pn}}),"&-small":Object.assign({},Lo(oe,_n,Me,Ga)),[`${le}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Sa/2,color:Sn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:ma}}},[`${le}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Sn,lineHeight:1,background:rt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ln}, color ${ln}`,"> *":{verticalAlign:"top"},"&:hover":{color:Er}},[`${le}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Pn,color:Sn,fontSize:Pn,verticalAlign:"top",cursor:"default",[`${le}-focused &`]:{color:Er},[`${le}-range-separator &`]:{[`${le}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${le}-clear`]:{insetInlineEnd:lt},"&:hover":{[`${le}-clear`]:{opacity:1}},[`${le}-active-bar`]:{bottom:-Gt,height:ca,marginInlineStart:lt,background:ao,opacity:0,transition:`all ${Dr} ease-out`,pointerEvents:"none"},[`&${le}-focused`]:{[`${le}-active-bar`]:{opacity:1}},[`${le}-range-separator`]:{alignItems:"center",padding:`0 ${Sa}px`,lineHeight:1},[`&${le}-small`]:{[`${le}-clear`]:{insetInlineEnd:Ga},[`${le}-active-bar`]:{marginInlineStart:Ga}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Ma.Wf)(oe)),Ii(oe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ro,[`&${le}-dropdown-hidden`]:{display:"none"},[`&${le}-dropdown-placement-bottomLeft`]:{[`${le}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${le}-dropdown-placement-topLeft`]:{[`${le}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ue}-slide-up-enter${ue}-slide-up-enter-active${le}-dropdown-placement-topLeft, &${ue}-slide-up-enter${ue}-slide-up-enter-active${le}-dropdown-placement-topRight, &${ue}-slide-up-appear${ue}-slide-up-appear-active${le}-dropdown-placement-topLeft, &${ue}-slide-up-appear${ue}-slide-up-appear-active${le}-dropdown-placement-topRight`]:{animationName:eo.Qt},[`&${ue}-slide-up-enter${ue}-slide-up-enter-active${le}-dropdown-placement-bottomLeft, &${ue}-slide-up-enter${ue}-slide-up-enter-active${le}-dropdown-placement-bottomRight, &${ue}-slide-up-appear${ue}-slide-up-appear-active${le}-dropdown-placement-bottomLeft, &${ue}-slide-up-appear${ue}-slide-up-appear-active${le}-dropdown-placement-bottomRight`]:{animationName:eo.fJ},[`&${ue}-slide-up-leave${ue}-slide-up-leave-active${le}-dropdown-placement-topLeft, &${ue}-slide-up-leave${ue}-slide-up-leave-active${le}-dropdown-placement-topRight`]:{animationName:eo.ly},[`&${ue}-slide-up-leave${ue}-slide-up-leave-active${le}-dropdown-placement-bottomLeft, &${ue}-slide-up-leave${ue}-slide-up-leave-active${le}-dropdown-placement-bottomRight`]:{animationName:eo.Uw},[`${le}-panel > ${le}-time-panel`]:{paddingTop:Hr},[`${le}-ranges`]:{marginBottom:0,padding:`${Hr}px ${Oo}px`,overflow:"hidden",lineHeight:`${oi-2*Gt-Sa/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${le}-preset > ${ue}-tag-blue`]:{color:ao,background:Fi,borderColor:Ro,cursor:"pointer"},[`${le}-ok`]:{marginInlineStart:"auto"}},[`${le}-range-wrapper`]:{display:"flex",position:"relative"},[`${le}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:lt*1.5,transition:`left ${Dr} ease-out`},(0,cr.r)(Zo,So,Bi,$o,Ui)),[`${le}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:$o,borderRadius:ii,boxShadow:ul,transition:`margin ${Dr}`,[`${le}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${le}-presets`]:{display:"flex",flexDirection:"column",minWidth:il,maxWidth:Ol,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Sa,borderInlineEnd:`${Gt}px ${jt} ${El}`,li:Object.assign(Object.assign({},Ma.vS),{borderRadius:gl,paddingInline:Sa,paddingBlock:(_n-Math.round(Me*va))/2,cursor:"pointer",transition:`all ${Dr}`,"+ li":{marginTop:ma},"&:hover":{background:Vl}})}},[`${le}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${le}-panel`]:{borderWidth:`0 0 ${Gt}px`},"&:last-child":{[`${le}-panel`]:{borderWidth:0}}},[`${le}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${le}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:nn}}}}),"&-dropdown-range":{padding:`${Zo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${le}-separator`]:{transform:"rotate(180deg)"},[`${le}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,eo.oN)(oe,"slide-up"),(0,eo.oN)(oe,"slide-down"),(0,uo.Fm)(oe,"move-up"),(0,uo.Fm)(oe,"move-down")]},ui=oe=>{const{componentCls:le,controlHeightLG:ue,paddingXXS:Pe,padding:Me}=oe;return{pickerCellCls:`${le}-cell`,pickerCellInnerCls:`${le}-cell-inner`,pickerYearMonthCellWidth:ue*1.5,pickerQuarterPanelContentHeight:ue*1.4,pickerCellPaddingVertical:Pe+Pe/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Me+Pe/2}},Wl=oe=>({cellHoverBg:oe.controlItemBgHover,cellActiveWithRangeBg:oe.controlItemBgActive,cellHoverWithRangeBg:new ra.C(oe.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new ra.C(oe.colorPrimary).lighten(20).toHexString(),cellBgDisabled:oe.colorBgContainerDisabled,timeColumnWidth:oe.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:oe.controlHeightSM*1.5,cellHeight:oe.controlHeightSM,textHeight:oe.controlHeightLG,withoutTimeCellHeight:oe.controlHeightLG*1.65});var Pr=(0,Bo.Z)("DatePicker",oe=>{const le=(0,zr.TS)((0,Jn.e5)(oe),ui(oe));return[Bl(le),Fl(le),(0,wr.c)(oe,{focusElCls:`${oe.componentCls}-focused`})]},oe=>Object.assign(Object.assign(Object.assign({},(0,Jn.TM)(oe)),Wl(oe)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:oe.zIndexPopupBase+50}));function Fo(oe,le,ue){return ue!==void 0?ue:le==="year"&&oe.lang.yearPlaceholder?oe.lang.yearPlaceholder:le==="quarter"&&oe.lang.quarterPlaceholder?oe.lang.quarterPlaceholder:le==="month"&&oe.lang.monthPlaceholder?oe.lang.monthPlaceholder:le==="week"&&oe.lang.weekPlaceholder?oe.lang.weekPlaceholder:le==="time"&&oe.timePickerLocale.placeholder?oe.timePickerLocale.placeholder:oe.lang.placeholder}function Wr(oe,le,ue){return ue!==void 0?ue:le==="year"&&oe.lang.yearPlaceholder?oe.lang.rangeYearPlaceholder:le==="quarter"&&oe.lang.quarterPlaceholder?oe.lang.rangeQuarterPlaceholder:le==="month"&&oe.lang.monthPlaceholder?oe.lang.rangeMonthPlaceholder:le==="week"&&oe.lang.weekPlaceholder?oe.lang.rangeWeekPlaceholder:le==="time"&&oe.timePickerLocale.placeholder?oe.timePickerLocale.rangePlaceholder:oe.lang.rangePlaceholder}function vo(oe,le){const ue={adjustX:1,adjustY:1};switch(le){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ue};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ue};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ue};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ue};default:return{points:oe==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ue}}}function xr(oe){return oe?Array.isArray(oe)?oe:[oe]:[]}function Ur(oe){const{format:le,picker:ue,showHour:Pe,showMinute:Me,showSecond:lt,use12Hours:rt}=oe,Gt=xr(le)[0],jt=Object.assign({},oe);return le&&Array.isArray(le)&&(jt.format=Gt),Gt&&typeof Gt=="string"&&(!Gt.includes("s")&<===void 0&&(jt.showSecond=!1),!Gt.includes("m")&&Me===void 0&&(jt.showMinute=!1),!Gt.includes("H")&&!Gt.includes("h")&&!Gt.includes("K")&&!Gt.includes("k")&&Pe===void 0&&(jt.showHour=!1),(Gt.includes("a")||Gt.includes("A"))&&rt===void 0&&(jt.use12Hours=!0)),ue==="time"?jt:(typeof Gt=="function"&&delete jt.format,{showTime:jt})}function Zr(oe,le,ue){if(oe===!1)return!1;const Pe={clearIcon:le!=null?le:ue};return typeof oe=="object"?Object.assign(Object.assign({},Pe),oe):Pe}var jr=z(71577);function yi(oe){return ne.createElement(jr.ZP,Object.assign({size:"small",type:"primary"},oe))}var Qo={button:yi},zi=function(oe,le){var ue={};for(var Pe in oe)Object.prototype.hasOwnProperty.call(oe,Pe)&&le.indexOf(Pe)<0&&(ue[Pe]=oe[Pe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Pe=Object.getOwnPropertySymbols(oe);Me{const{prefixCls:Me,getPopupContainer:lt,className:rt,placement:Gt,size:jt,disabled:nn,bordered:Vn=!0,placeholder:ln,popupClassName:mn,dropdownClassName:Sn,status:xn,clearIcon:qt,allowClear:Pn,rootClassName:_n}=ue,Ga=zi(ue,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Sa=ne.useRef(null),{getPrefixCls:ma,direction:Er,getPopupContainer:ca}=(0,ne.useContext)(rr.E_),va=ma("picker",Me),{compactSize:ao,compactItemClassnames:Dr}=(0,qr.ri)(va,Er),{format:ro,showTime:Hr,picker:Oo}=ue,oi=ma(),[Fi,Ro]=Pr(va),Zo=Object.assign(Object.assign({},Hr?Ur(Object.assign({format:ro,picker:Oo},Hr)):{}),Oo==="time"?Ur(Object.assign(Object.assign({format:ro},ue),{picker:Oo})):{}),So=(0,lr.Z)(Ui=>{var Xi;return(Xi=jt!=null?jt:ao)!==null&&Xi!==void 0?Xi:Ui}),Bi=ne.useContext(Xa.Z),$o=nn!=null?nn:Bi,ii=(0,ne.useContext)(Ja.aM),{hasFeedback:ul,status:gl,feedbackIcon:El}=ii,Vl=ne.createElement(ne.Fragment,null,Oo==="time"?ne.createElement(Ze,null):ne.createElement(we,null),ul&&El);(0,ne.useImperativeHandle)(Pe,()=>({focus:()=>{var Ui;return(Ui=Sa.current)===null||Ui===void 0?void 0:Ui.focus()},blur:()=>{var Ui;return(Ui=Sa.current)===null||Ui===void 0?void 0:Ui.blur()}}));const[il]=(0,Br.Z)("Calendar",or.Z),Ol=Object.assign(Object.assign({},il),ue.locale);return Fi(ne.createElement(Ba,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${va}-separator`},ne.createElement(St,null)),disabled:$o,ref:Sa,dropdownAlign:vo(Er,Gt),placeholder:Wr(Ol,Oo,ln),suffixIcon:Vl,prevIcon:ne.createElement("span",{className:`${va}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${va}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${va}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${va}-super-next-icon`}),transitionName:`${oi}-slide-up`},Ga,Zo,{className:$t()({[`${va}-${So}`]:So,[`${va}-borderless`]:!Vn},(0,Da.Z)(va,(0,Da.F)(gl,xn),ul),Ro,Dr,rt,_n),locale:Ol.lang,prefixCls:va,getPopupContainer:lt||ca,generateConfig:oe,components:Qo,direction:Er,dropdownClassName:$t()(Ro,mn||Sn,_n),allowClear:Zr(Pn,qt,ne.createElement(it.Z,null))})))})}var ju=function(oe,le){var ue={};for(var Pe in oe)Object.prototype.hasOwnProperty.call(oe,Pe)&&le.indexOf(Pe)<0&&(ue[Pe]=oe[Pe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Pe=Object.getOwnPropertySymbols(oe);Me{const{prefixCls:xn,getPopupContainer:qt,style:Pn,className:_n,rootClassName:Ga,size:Sa,bordered:ma=!0,placement:Er,placeholder:ca,popupClassName:va,dropdownClassName:ao,disabled:Dr,status:ro,clearIcon:Hr,allowClear:Oo}=mn,oi=ju(mn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Fi,direction:Ro,getPopupContainer:Zo,[Vn]:So}=(0,ne.useContext)(rr.E_),Bi=Fi("picker",xn),{compactSize:$o,compactItemClassnames:ii}=(0,qr.ri)(Bi,Ro),ul=ne.useRef(null),{format:gl,showTime:El}=mn,[Vl,il]=Pr(Bi);(0,ne.useImperativeHandle)(Sn,()=>({focus:()=>{var pl;return(pl=ul.current)===null||pl===void 0?void 0:pl.focus()},blur:()=>{var pl;return(pl=ul.current)===null||pl===void 0?void 0:pl.blur()}}));const Ol={showToday:!0};let Ui={};jt&&(Ui.picker=jt);const Xi=jt||mn.picker;Ui=Object.assign(Object.assign(Object.assign({},Ui),El?Ur(Object.assign({format:gl,picker:Xi},El)):{}),Xi==="time"?Ur(Object.assign(Object.assign({format:gl},mn),{picker:Xi})):{});const sl=Fi(),Rl=(0,lr.Z)(pl=>{var yu;return(yu=Sa!=null?Sa:$o)!==null&&yu!==void 0?yu:pl}),Zl=ne.useContext(Xa.Z),cu=Dr!=null?Dr:Zl,Kl=(0,ne.useContext)(Ja.aM),{hasFeedback:ei,status:fl,feedbackIcon:qi}=Kl,Ni=ne.createElement(ne.Fragment,null,Xi==="time"?ne.createElement(Ze,null):ne.createElement(we,null),ei&&qi),[Mo]=(0,Br.Z)("DatePicker",or.Z),Ki=Object.assign(Object.assign({},Mo),mn.locale);return Vl(ne.createElement(Qa,Object.assign({ref:ul,placeholder:Fo(Ki,Xi,ca),suffixIcon:Ni,dropdownAlign:vo(Ro,Er),prevIcon:ne.createElement("span",{className:`${Bi}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Bi}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Bi}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Bi}-super-next-icon`}),transitionName:`${sl}-slide-up`},Ol,oi,Ui,{locale:Ki.lang,className:$t()({[`${Bi}-${Rl}`]:Rl,[`${Bi}-borderless`]:!ma},(0,Da.Z)(Bi,(0,Da.F)(fl,ro),ei),il,ii,So==null?void 0:So.className,_n,Ga),style:Object.assign(Object.assign({},So==null?void 0:So.style),Pn),prefixCls:Bi,getPopupContainer:qt||Zo,generateConfig:oe,components:Qo,direction:Ro,disabled:cu,dropdownClassName:$t()(il,Ga,va||ao),allowClear:Zr(Oo,Hr,ne.createElement(it.Z,null))})))});return nn&&(ln.displayName=nn),ln}const ue=le(),Pe=le("week","WeekPicker"),Me=le("month","MonthPicker"),lt=le("year","YearPicker"),rt=le("time","TimePicker"),Gt=le("quarter","QuarterPicker");return{DatePicker:ue,WeekPicker:Pe,MonthPicker:Me,YearPicker:lt,TimePicker:rt,QuarterPicker:Gt}}const Ks=null;function Su(oe){const{DatePicker:le,WeekPicker:ue,MonthPicker:Pe,YearPicker:Me,TimePicker:lt,QuarterPicker:rt}=_u(oe),Gt=Li(oe),jt=le;return jt.WeekPicker=ue,jt.MonthPicker=Pe,jt.YearPicker=Me,jt.RangePicker=Gt,jt.TimePicker=lt,jt.QuarterPicker=rt,jt}var As=Su;const jl=As(ee);function fs(oe){const le=vo(oe.direction,oe.placement);return le.overflow.adjustY=!1,le.overflow.adjustX=!1,Object.assign(Object.assign({},oe),{dropdownAlign:le})}const _s=(0,re.Z)(jl,"picker",null,fs);jl._InternalPanelDoNotUseOrYouWillBeFired=_s;const hl=(0,re.Z)(jl.RangePicker,"picker",null,fs);jl._InternalRangePanelDoNotUseOrYouWillBeFired=hl,jl.generatePicker=As;var Pl=jl},96074:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return ce}});var te=z(94184),ie=z.n(te),Fe=z(67294),Xe=z(53124),ze=z(14747),je=z(67968),se=z(45503);const We=De=>{const{componentCls:de,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:b,textPaddingInline:E,orientationMargin:x,verticalMarginInline:ee}=De;return{[de]:Object.assign(Object.assign({},(0,ze.Wf)(De)),{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:`${De.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${de}-with-text`]:{display:"flex",alignItems:"center",margin:`${De.dividerHorizontalWithTextGutterMargin}px 0`,color:De.colorTextHeading,fontWeight:500,fontSize:De.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${de}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${de}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${de}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${de}-with-text${de}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${de}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${de}-with-text`]:{color:De.colorText,fontWeight:"normal",fontSize:De.fontSize},[`&-horizontal${de}-with-text-left${de}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${de}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${de}-with-text-right${de}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${de}-inner-text`]:{paddingInlineEnd:a}}})}};var Oe=(0,je.Z)("Divider",De=>{const de=(0,se.TS)(De,{dividerHorizontalWithTextGutterMargin:De.margin,dividerHorizontalGutterMargin:De.marginLG,sizePaddingEdgeHorizontal:0});return[We(de)]},De=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:De.marginXS})),Re=function(De,de){var a={};for(var y in De)Object.prototype.hasOwnProperty.call(De,y)&&de.indexOf(y)<0&&(a[y]=De[y]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(De);b{const{getPrefixCls:de,direction:a,divider:y}=Fe.useContext(Xe.E_),{prefixCls:b,type:E="horizontal",orientation:x="center",orientationMargin:ee,className:re,rootClassName:ae,children:ne,dashed:pe,plain:Ce,style:Ae}=De,Le=Re(De,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Se=de("divider",b),[we,Qe]=Oe(Se),Be=x.length>0?`-${x}`:x,Ge=!!ne,Ze=x==="left"&&ee!=null,it=x==="right"&&ee!=null,Je=ie()(Se,y==null?void 0:y.className,Qe,`${Se}-${E}`,{[`${Se}-with-text`]:Ge,[`${Se}-with-text${Be}`]:Ge,[`${Se}-dashed`]:!!pe,[`${Se}-plain`]:!!Ce,[`${Se}-rtl`]:a==="rtl",[`${Se}-no-default-orientation-margin-left`]:Ze,[`${Se}-no-default-orientation-margin-right`]:it},re,ae),Dt=Fe.useMemo(()=>typeof ee=="number"?ee:/^\d+$/.test(ee)?Number(ee):ee,[ee]),Nt=Object.assign(Object.assign({},Ze&&{marginLeft:Dt}),it&&{marginRight:Dt});return we(Fe.createElement("div",Object.assign({className:Je,style:Object.assign(Object.assign({},y==null?void 0:y.style),Ae)},Le,{role:"separator"}),ne&&E!=="vertical"&&Fe.createElement("span",{className:`${Se}-inner-text`,style:Nt},ne)))}},56153:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return Ms}});var te=z(67294),ie=z.t(te,2),Fe=z(91034),Xe=z(94184),ze=z.n(Xe),je=z(87462),se=z(4942),We=z(97685),Oe=z(45987),Re=z(1413),Ye=z(73935);function ce(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var De={};function de(Ke,mt){}function a(Ke,mt){}function y(){De={}}function b(Ke,mt,vt){!mt&&!De[vt]&&(Ke(!1,vt),De[vt]=!0)}function E(Ke,mt){b(de,Ke,mt)}function x(Ke,mt){b(a,Ke,mt)}var ee=null,re=z(71002),ae=z(12060);function ne(Ke,mt,vt){var Xt=te.useRef({});return(!("value"in Xt.current)||vt(Xt.current.condition,mt))&&(Xt.current.value=Ke(),Xt.current.condition=mt),Xt.current.value}function pe(Ke,mt){typeof Ke=="function"?Ke(mt):(0,re.Z)(Ke)==="object"&&Ke&&"current"in Ke&&(Ke.current=mt)}function Ce(){for(var Ke=arguments.length,mt=new Array(Ke),vt=0;vt0&&arguments[0]!==void 0?arguments[0]:{},mt=Ke.mark;return mt?mt.startsWith("data-")?mt:"data-".concat(mt):St}function un(Ke){if(Ke.attachTo)return Ke.attachTo;var mt=document.querySelector("head");return mt||document.body}function yt(Ke){return Ke==="queue"?"prependQueue":Ke?"prepend":"append"}function It(Ke){return Array.from((Lt.get(Ke)||Ke).children).filter(function(mt){return mt.tagName==="STYLE"})}function Kt(Ke){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ce())return null;var vt=mt.csp,Xt=mt.prepend,Bn=document.createElement("style");Bn.setAttribute(Nt,yt(Xt)),vt!=null&&vt.nonce&&(Bn.nonce=vt==null?void 0:vt.nonce),Bn.innerHTML=Ke;var ga=un(mt),Pa=ga.firstChild;if(Xt){if(Xt==="queue"){var br=It(ga).filter(function(Gr){return["prepend","prependQueue"].includes(Gr.getAttribute(Nt))});if(br.length)return ga.insertBefore(Bn,br[br.length-1].nextSibling),Bn}ga.insertBefore(Bn,Pa)}else ga.appendChild(Bn);return Bn}function An(Ke){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vt=un(mt);return It(vt).find(function(Xt){return Xt.getAttribute($t(mt))===Ke})}function Pt(Ke){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vt=An(Ke,mt);if(vt){var Xt=un(mt);Xt.removeChild(vt)}}function Qt(Ke,mt){var vt=Lt.get(Ke);if(!vt||!Dt(document,vt)){var Xt=Kt("",mt),Bn=Xt.parentNode;Lt.set(Ke,Bn),Ke.removeChild(Xt)}}function ke(){Lt.clear()}function zn(Ke,mt){var vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Xt=un(vt);Qt(Xt,vt);var Bn=An(mt,vt);if(Bn){var ga,Pa;if((ga=vt.csp)!==null&&ga!==void 0&&ga.nonce&&Bn.nonce!==((Pa=vt.csp)===null||Pa===void 0?void 0:Pa.nonce)){var br;Bn.nonce=(br=vt.csp)===null||br===void 0?void 0:br.nonce}return Bn.innerHTML!==Ke&&(Bn.innerHTML=Ke),Bn}var Gr=Kt(Ke,vt);return Gr.setAttribute($t(vt),mt),Gr}var an;function ya(Ke){if(typeof document=="undefined")return 0;if(Ke||an===void 0){var mt=document.createElement("div");mt.style.width="100%",mt.style.height="200px";var vt=document.createElement("div"),Xt=vt.style;Xt.position="absolute",Xt.top="0",Xt.left="0",Xt.pointerEvents="none",Xt.visibility="hidden",Xt.width="200px",Xt.height="150px",Xt.overflow="hidden",vt.appendChild(mt),document.body.appendChild(vt);var Bn=mt.offsetWidth;vt.style.overflow="scroll";var ga=mt.offsetWidth;Bn===ga&&(ga=vt.clientWidth),document.body.removeChild(vt),an=Bn-ga}return an}function da(Ke){var mt=Ke.match(/^(.*)px$/),vt=Number(mt==null?void 0:mt[1]);return Number.isNaN(vt)?ya():vt}function Dn(Ke){if(typeof document=="undefined"||!Ke||!(Ke instanceof Element))return{width:0,height:0};var mt=getComputedStyle(Ke,"::-webkit-scrollbar"),vt=mt.width,Xt=mt.height;return{width:da(vt),height:da(Xt)}}function ht(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var nt="rc-util-locker-".concat(Date.now()),tn=0;function vn(Ke){var mt=!!Ke,vt=te.useState(function(){return tn+=1,"".concat(nt,"_").concat(tn)}),Xt=(0,We.Z)(vt,1),Bn=Xt[0];Ge(function(){if(mt){var ga=Dn(document.body).width,Pa=ht();zn(` html body { overflow-y: hidden; `.concat(Pa?"width: calc(100% - ".concat(ga,"px);"):"",` }`),Bn)}else Pt(Bn);return function(){Pt(Bn)}},[mt,Bn])}var Vt=!1;function La(Ke){return typeof Ke=="boolean"&&(Vt=Ke),Vt}var En=function(mt){return mt===!1?!1:!ce()||!mt?null:typeof mt=="string"?document.querySelector(mt):typeof mt=="function"?mt():mt},Ea=te.forwardRef(function(Ke,mt){var vt=Ke.open,Xt=Ke.autoLock,Bn=Ke.getContainer,ga=Ke.debug,Pa=Ke.autoDestroy,br=Pa===void 0?!0:Pa,Gr=Ke.children,Rr=te.useState(vt),ye=(0,We.Z)(Rr,2),xe=ye[0],at=ye[1],_e=xe||vt;te.useEffect(function(){(br||vt)&&at(vt)},[vt,br]);var Ot=te.useState(function(){return En(Bn)}),en=(0,We.Z)(Ot,2),sn=en[0],Tn=en[1];te.useEffect(function(){var he=En(Bn);Tn(he!=null?he:null)});var In=Je(_e&&!sn,ga),kn=(0,We.Z)(In,2),Xn=kn[0],xa=kn[1],ja=sn!=null?sn:Xn;vn(Xt&&vt&&ce()&&(ja===Xn||ja===document.body));var Ca=null;if(Gr&&Le(Gr)&&mt){var Va=Gr;Ca=Va.ref}var gr=Ae(Ca,mt);if(!_e||!ce()||sn===void 0)return null;var qa=ja===!1||La(),nr=Gr;return mt&&(nr=te.cloneElement(Gr,{ref:gr})),te.createElement(we.Provider,{value:xa},qa?nr:(0,Ye.createPortal)(nr,ja))}),Ia=Ea,Ta=Ia,gt=z(48555);function Rt(Ke){return Ke instanceof HTMLElement||Ke instanceof SVGElement}function tr(Ke){return Rt(Ke)?Ke:Ke instanceof React.Component?ReactDOM.findDOMNode(Ke):null}function Qn(Ke){var mt;return Ke==null||(mt=Ke.getRootNode)===null||mt===void 0?void 0:mt.call(Ke)}function xt(Ke){return Qn(Ke)instanceof ShadowRoot}function wn(Ke){return xt(Ke)?Qn(Ke):null}function Za(Ke){var mt=te.useRef();mt.current=Ke;var vt=te.useCallback(function(){for(var Xt,Bn=arguments.length,ga=new Array(Bn),Pa=0;Pa0&&arguments[0]!==void 0?arguments[0]:[],mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],vt=arguments.length>2?arguments[2]:void 0;return vt?Ke[0]===mt[0]:Ke[0]===mt[0]&&Ke[1]===mt[1]}function Ya(Ke,mt,vt,Xt){for(var Bn=vt.points,ga=Object.keys(Ke),Pa=0;Pa1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Ke)?mt:Ke}function Ft(Ke){return la(parseFloat(Ke),0)}function Kn(Ke,mt){var vt=(0,Re.Z)({},Ke);return(mt||[]).forEach(function(Xt){if(!(Xt instanceof HTMLBodyElement||Xt instanceof HTMLHtmlElement)){var Bn=Yn(Xt).getComputedStyle(Xt),ga=Bn.overflow,Pa=Bn.overflowClipMargin,br=Bn.borderTopWidth,Gr=Bn.borderBottomWidth,Rr=Bn.borderLeftWidth,ye=Bn.borderRightWidth,xe=Xt.getBoundingClientRect(),at=Xt.offsetHeight,_e=Xt.clientHeight,Ot=Xt.offsetWidth,en=Xt.clientWidth,sn=Ft(br),Tn=Ft(Gr),In=Ft(Rr),kn=Ft(ye),Xn=la(Math.round(xe.width/Ot*1e3)/1e3),xa=la(Math.round(xe.height/at*1e3)/1e3),ja=(Ot-en-In-kn)*Xn,Ca=(at-_e-sn-Tn)*xa,Va=sn*xa,gr=Tn*xa,qa=In*Xn,nr=kn*Xn,he=0,Ie=0;if(ga==="clip"){var tt=Ft(Pa);he=tt*Xn,Ie=tt*xa}var me=xe.x+qa-he,qe=xe.y+Va-Ie,ot=me+xe.width+2*he-qa-nr-ja,At=qe+xe.height+2*Ie-Va-gr-Ca;vt.left=Math.max(vt.left,me),vt.top=Math.max(vt.top,qe),vt.right=Math.min(vt.right,ot),vt.bottom=Math.min(vt.bottom,At)}}),vt}function ua(Ke){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,vt="".concat(mt),Xt=vt.match(/^(.*)\%$/);return Xt?Ke*(parseFloat(Xt[1])/100):parseFloat(vt)}function Fn(Ke,mt){var vt=mt||[],Xt=(0,We.Z)(vt,2),Bn=Xt[0],ga=Xt[1];return[ua(Ke.width,Bn),ua(Ke.height,ga)]}function wt(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Ke[0],Ke[1]]}function kt(Ke,mt){var vt=mt[0],Xt=mt[1],Bn,ga;return vt==="t"?ga=Ke.y:vt==="b"?ga=Ke.y+Ke.height:ga=Ke.y+Ke.height/2,Xt==="l"?Bn=Ke.x:Xt==="r"?Bn=Ke.x+Ke.width:Bn=Ke.x+Ke.width/2,{x:Bn,y:ga}}function Bt(Ke,mt){var vt={t:"b",b:"t",l:"r",r:"l"};return Ke.map(function(Xt,Bn){return Bn===mt?vt[Xt]||"c":Xt}).join("")}function gn(Ke,mt,vt,Xt,Bn,ga,Pa){var br=te.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Bn[Xt]||{}}),Gr=(0,We.Z)(br,2),Rr=Gr[0],ye=Gr[1],xe=te.useRef(0),at=te.useMemo(function(){return mt?Mn(mt):[]},[mt]),_e=te.useRef({}),Ot=function(){_e.current={}};Ke||Ot();var en=Za(function(){if(mt&&vt&&Ke){let wr=function(uo,zr){var Bo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ia,Lo=He.x+uo,ri=He.y+zr,Ii=Lo+bn,Fl=ri+Cn,Bl=Math.max(Lo,Bo.left),ui=Math.max(ri,Bo.top),Wl=Math.min(Ii,Bo.right),Pr=Math.min(Fl,Bo.bottom);return Math.max(0,(Wl-Bl)*(Pr-ui))},eo=function(){Lr=He.y+so,pa=Lr+Cn,vr=He.x+mo,yr=vr+bn};var In,kn,Xn=mt,xa=Xn.ownerDocument,ja=Yn(Xn),Ca=ja.getComputedStyle(Xn),Va=Ca.width,gr=Ca.height,qa=Ca.position,nr=Xn.style.left,he=Xn.style.top,Ie=Xn.style.right,tt=Xn.style.bottom,me=(0,Re.Z)((0,Re.Z)({},Bn[Xt]),ga),qe=xa.createElement("div");(In=Xn.parentElement)===null||In===void 0||In.appendChild(qe),qe.style.left="".concat(Xn.offsetLeft,"px"),qe.style.top="".concat(Xn.offsetTop,"px"),qe.style.position=qa,qe.style.height="".concat(Xn.offsetHeight,"px"),qe.style.width="".concat(Xn.offsetWidth,"px"),Xn.style.left="0",Xn.style.top="0",Xn.style.right="auto",Xn.style.bottom="auto";var ot;if(Array.isArray(vt))ot={x:vt[0],y:vt[1],width:0,height:0};else{var At=vt.getBoundingClientRect();ot={x:At.x,y:At.y,width:At.width,height:At.height}}var He=Xn.getBoundingClientRect(),et=xa.documentElement,ut=et.clientWidth,Tt=et.clientHeight,Jt=et.scrollWidth,cn=et.scrollHeight,Wt=et.scrollTop,dn=et.scrollLeft,Cn=He.height,bn=He.width,on=ot.height,aa=ot.width,Un={left:0,top:0,right:ut,bottom:Tt},fa={left:-dn,top:-Wt,right:Jt-dn,bottom:cn-Wt},ha=me.htmlRegion,On="visible",Oa="visibleFirst";ha!=="scroll"&&ha!==Oa&&(ha=On);var Aa=ha===Oa,$n=Kn(fa,at),Ln=Kn(Un,at),ia=ha===On?Ln:$n,$a=Aa?Ln:ia;Xn.style.left="auto",Xn.style.top="auto",Xn.style.right="0",Xn.style.bottom="0";var za=Xn.getBoundingClientRect();Xn.style.left=nr,Xn.style.top=he,Xn.style.right=Ie,Xn.style.bottom=tt,(kn=Xn.parentElement)===null||kn===void 0||kn.removeChild(qe);var sr=la(Math.round(bn/parseFloat(Va)*1e3)/1e3),Ha=la(Math.round(Cn/parseFloat(gr)*1e3)/1e3);if(sr===0||Ha===0||Rt(vt)&&!_i(vt))return;var Ra=me.offset,Na=me.targetOffset,ar=Fn(He,Ra),Ar=(0,We.Z)(ar,2),io=Ar[0],no=Ar[1],po=Fn(ot,Na),Do=(0,We.Z)(po,2),lo=Do[0],ai=Do[1];ot.x-=lo,ot.y-=ai;var xi=me.points||[],fr=(0,We.Z)(xi,2),_a=fr[0],_r=fr[1],fo=wt(_r),kr=wt(_a),No=kt(ot,fo),Jr=kt(He,kr),Yo=(0,Re.Z)({},me),mo=No.x-Jr.x+io,so=No.y-Jr.y+no,fi=wr(mo,so),ko=wr(mo,so,Ln),Ai=kt(ot,["t","l"]),bi=kt(He,["t","l"]),mi=kt(ot,["b","r"]),Ko=kt(He,["b","r"]),Io=me.overflow||{},Or=Io.adjustX,co=Io.adjustY,Vo=Io.shiftX,To=Io.shiftY,Di=function(zr){return typeof zr=="boolean"?zr:zr>=0},Lr,pa,vr,yr;eo();var ka=Di(co),xo=kr[0]===fo[0];if(ka&&kr[0]==="t"&&(pa>$a.bottom||_e.current.bt)){var Go=so;xo?Go-=Cn-on:Go=Ai.y-Ko.y-no;var Ri=wr(mo,Go),Si=wr(mo,Go,Ln);Ri>fi||Ri===fi&&(!Aa||Si>=ko)?(_e.current.bt=!0,so=Go,no=-no,Yo.points=[Bt(kr,0),Bt(fo,0)]):_e.current.bt=!1}if(ka&&kr[0]==="b"&&(Lr<$a.top||_e.current.tb)){var ol=so;xo?ol+=Cn-on:ol=mi.y-bi.y-no;var ge=wr(mo,ol),fe=wr(mo,ol,Ln);ge>fi||ge===fi&&(!Aa||fe>=ko)?(_e.current.tb=!0,so=ol,no=-no,Yo.points=[Bt(kr,0),Bt(fo,0)]):_e.current.tb=!1}var Ne=Di(Or),Te=kr[1]===fo[1];if(Ne&&kr[1]==="l"&&(yr>$a.right||_e.current.rl)){var $e=mo;Te?$e-=bn-aa:$e=Ai.x-Ko.x-io;var ct=wr($e,so),Mt=wr($e,so,Ln);ct>fi||ct===fi&&(!Aa||Mt>=ko)?(_e.current.rl=!0,mo=$e,io=-io,Yo.points=[Bt(kr,1),Bt(fo,1)]):_e.current.rl=!1}if(Ne&&kr[1]==="r"&&(vr<$a.left||_e.current.lr)){var Ut=mo;Te?Ut+=bn-aa:Ut=mi.x-bi.x-io;var Et=wr(Ut,so),Ct=wr(Ut,so,Ln);Et>fi||Et===fi&&(!Aa||Ct>=ko)?(_e.current.lr=!0,mo=Ut,io=-io,Yo.points=[Bt(kr,1),Bt(fo,1)]):_e.current.lr=!1}eo();var Yt=Vo===!0?0:Vo;typeof Yt=="number"&&(vrLn.right&&(mo-=yr-Ln.right-io,ot.x>Ln.right-Yt&&(mo+=ot.x-Ln.right+Yt)));var zt=To===!0?0:To;typeof zt=="number"&&(LrLn.bottom&&(so-=pa-Ln.bottom-no,ot.y>Ln.bottom-zt&&(so+=ot.y-Ln.bottom+zt)));var pn=He.x+mo,Rn=pn+bn,Zn=He.y+so,Wa=Zn+Cn,Ba=ot.x,Qa=Ba+aa,Da=ot.y,rr=Da+on,Xa=Math.max(pn,Ba),lr=Math.min(Rn,Qa),Ja=(Xa+lr)/2,Br=Ja-pn,qr=Math.max(Zn,Da),or=Math.min(Wa,rr),ra=(qr+or)/2,Jn=ra-Zn;Pa==null||Pa(mt,Yo);var Ma=za.right-He.x-(mo+He.width),cr=za.bottom-He.y-(so+He.height);ye({ready:!0,offsetX:mo/sr,offsetY:so/Ha,offsetR:Ma/sr,offsetB:cr/Ha,arrowX:Br/sr,arrowY:Jn/Ha,scaleX:sr,scaleY:Ha,align:Yo})}}),sn=function(){xe.current+=1;var kn=xe.current;Promise.resolve().then(function(){xe.current===kn&&en()})},Tn=function(){ye(function(kn){return(0,Re.Z)((0,Re.Z)({},kn),{},{ready:!1})})};return Mr(Tn,[Xt]),Mr(function(){Ke||Tn()},[Ke]),[Rr.ready,Rr.offsetX,Rr.offsetY,Rr.offsetR,Rr.offsetB,Rr.arrowX,Rr.arrowY,Rr.scaleX,Rr.scaleY,Rr.align,sn]}function Hn(Ke,mt,vt,Xt,Bn){Mr(function(){if(Ke&&mt&&vt){let xe=function(){Xt(),Bn()};var ga=mt,Pa=vt,br=Mn(ga),Gr=Mn(Pa),Rr=Yn(Pa),ye=new Set([Rr].concat((0,Qe.Z)(br),(0,Qe.Z)(Gr)));return ye.forEach(function(at){at.addEventListener("scroll",xe,{passive:!0})}),Rr.addEventListener("resize",xe,{passive:!0}),Xt(),function(){ye.forEach(function(at){at.removeEventListener("scroll",xe),Rr.removeEventListener("resize",xe)})}}},[Ke,mt,vt])}function oa(Ke){var mt=React.useRef(!1),vt=React.useState(Ke),Xt=_slicedToArray(vt,2),Bn=Xt[0],ga=Xt[1];React.useEffect(function(){return mt.current=!1,function(){mt.current=!0}},[]);function Pa(br,Gr){Gr&&mt.current||ga(br)}return[Bn,Pa]}function Cr(Ke){return Ke!==void 0}function _t(Ke,mt){var vt=mt||{},Xt=vt.defaultValue,Bn=vt.value,ga=vt.onChange,Pa=vt.postState,br=useState(function(){return Cr(Bn)?Bn:Cr(Xt)?typeof Xt=="function"?Xt():Xt:typeof Ke=="function"?Ke():Ke}),Gr=_slicedToArray(br,2),Rr=Gr[0],ye=Gr[1],xe=Bn!==void 0?Bn:Rr,at=Pa?Pa(xe):xe,_e=useEvent(ga),Ot=useState([xe]),en=_slicedToArray(Ot,2),sn=en[0],Tn=en[1];useLayoutUpdateEffect(function(){var kn=sn[0];Rr!==kn&&_e(Rr,kn)},[sn]),useLayoutUpdateEffect(function(){Cr(Bn)||ye(Bn)},[Bn]);var In=useEvent(function(kn,Xn){ye(kn,Xn),Tn([xe],Xn)});return[at,In]}var Fa=z(95845);function pr(Ke,mt,vt){var Xt=te.useRef({});return(!("value"in Xt.current)||vt(Xt.current.condition,mt))&&(Xt.current.value=Ke(),Xt.current.condition=mt),Xt.current.value}function vi(Ke,mt){typeof Ke=="function"?Ke(mt):(0,re.Z)(Ke)==="object"&&Ke&&"current"in Ke&&(Ke.current=mt)}function na(){for(var Ke=arguments.length,mt=new Array(Ke),vt=0;vt3&&arguments[3]!==void 0?arguments[3]:!1;return mt.length&&Xt&&vt===void 0&&!get(Ke,mt.slice(0,-1))?Ke:Ao(Ke,mt,vt,Xt)}function ji(Ke){return _typeof(Ke)==="object"&&Ke!==null&&Object.getPrototypeOf(Ke)===Object.prototype}function Eo(Ke){return Array.isArray(Ke)?[]:{}}var Wi=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function dl(){for(var Ke=arguments.length,mt=new Array(Ke),vt=0;vt1&&arguments[1]!==void 0?arguments[1]:1;Ho+=1;var Xt=Ho;function Bn(ga){if(ga===0)Ji(Xt),mt();else{var Pa=ir(function(){Bn(ga-1)});Yr.set(Xt,Pa)}}return Bn(vt),Xt};Nr.cancel=function(Ke){var mt=Yr.get(Ke);return Ji(mt),$r(mt)};var Wo=Nr;function oo(Ke,mt,vt,Xt,Bn,ga,Pa,br){var Gr=te.useRef(Ke),Rr=te.useRef(!1);Gr.current!==Ke&&(Rr.current=!0,Gr.current=Ke),te.useEffect(function(){var ye=Wo(function(){Rr.current=!1});return function(){Wo.cancel(ye)}},[Ke]),te.useEffect(function(){if(mt&&Xt&&(!Bn||ga)){var ye=function(){var qa=!1,nr=function(tt){var me=tt.target;qa=Pa(me)},he=function(tt){var me=tt.target;!Rr.current&&Gr.current&&!qa&&!Pa(me)&&br(!1)};return[nr,he]},xe=ye(),at=(0,We.Z)(xe,2),_e=at[0],Ot=at[1],en=ye(),sn=(0,We.Z)(en,2),Tn=sn[0],In=sn[1],kn=Yn(Xt);kn.addEventListener("mousedown",_e,!0),kn.addEventListener("click",Ot,!0),kn.addEventListener("contextmenu",Ot,!0);var Xn=wn(vt);if(Xn&&(Xn.addEventListener("mousedown",Tn,!0),Xn.addEventListener("click",In,!0),Xn.addEventListener("contextmenu",In,!0)),0)var xa,ja,Ca,Va;return function(){kn.removeEventListener("mousedown",_e,!0),kn.removeEventListener("click",Ot,!0),kn.removeEventListener("contextmenu",Ot,!0),Xn&&(Xn.removeEventListener("mousedown",Tn,!0),Xn.removeEventListener("click",In,!0),Xn.removeEventListener("contextmenu",In,!0))}}},[mt,vt,Xt,Bn,ga])}function ci(Ke){return Ke instanceof HTMLElement||Ke instanceof SVGElement}function Ti(Ke){return ci(Ke)?Ke:Ke instanceof te.Component?Ye.findDOMNode(Ke):null}function jo(Ke,mt){var vt={};return vt[Ke.toLowerCase()]=mt.toLowerCase(),vt["Webkit".concat(Ke)]="webkit".concat(mt),vt["Moz".concat(Ke)]="moz".concat(mt),vt["ms".concat(Ke)]="MS".concat(mt),vt["O".concat(Ke)]="o".concat(mt.toLowerCase()),vt}function Ei(Ke,mt){var vt={animationend:jo("Animation","AnimationEnd"),transitionend:jo("Transition","TransitionEnd")};return Ke&&("AnimationEvent"in mt||delete vt.animationend.animation,"TransitionEvent"in mt||delete vt.transitionend.transition),vt}var Xl=Ei(ce(),typeof window!="undefined"?window:{}),kl={};if(ce()){var eu=document.createElement("div");kl=eu.style}var ou={};function xu(Ke){if(ou[Ke])return ou[Ke];var mt=Xl[Ke];if(mt)for(var vt=Object.keys(mt),Xt=vt.length,Bn=0;Bn1&&arguments[1]!==void 0?arguments[1]:1;ea+=1;var Xt=ea;function Bn(ga){if(ga===0)sa(Xt),mt();else{var Pa=hn(function(){Bn(ga-1)});ur.set(Xt,Pa)}}return Bn(vt),Xt};jn.cancel=function(Ke){var mt=ur.get(Ke);return sa(mt),qn(mt)};var rn=jn,Gn=function(){var Ke=te.useRef(null);function mt(){rn.cancel(Ke.current)}function vt(Xt){var Bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;mt();var ga=rn(function(){Bn<=1?Xt({isCanceled:function(){return ga!==Ke.current}}):vt(Xt,Bn-1)});Ke.current=ga}return te.useEffect(function(){return function(){mt()}},[]),[vt,mt]},Wn=ce()?te.useLayoutEffect:te.useEffect,Ua=Wn,dr=[st,dt,pt,bt],Ir=!1,Fr=!0;function Sr(Ke){return Ke===pt||Ke===bt}var Xr=function(Ke,mt){var vt=yn(Ue),Xt=(0,We.Z)(vt,2),Bn=Xt[0],ga=Xt[1],Pa=Gn(),br=(0,We.Z)(Pa,2),Gr=br[0],Rr=br[1];function ye(){ga(st,!0)}return Ua(function(){if(Bn!==Ue&&Bn!==bt){var xe=dr.indexOf(Bn),at=dr[xe+1],_e=mt(Bn);_e===Ir?ga(at,!0):Gr(function(Ot){function en(){Ot.isCanceled()||ga(at,!0)}_e===!0?en():Promise.resolve(_e).then(en)})}},[Ke,Bn]),te.useEffect(function(){return function(){Rr()}},[]),[ye,Bn]},Co=function(Ke){var mt=(0,te.useRef)(),vt=(0,te.useRef)(Ke);vt.current=Ke;var Xt=te.useCallback(function(Pa){vt.current(Pa)},[]);function Bn(Pa){Pa&&(Pa.removeEventListener(Ju,Xt),Pa.removeEventListener(Au,Xt))}function ga(Pa){mt.current&&mt.current!==Pa&&Bn(mt.current),Pa&&Pa!==mt.current&&(Pa.addEventListener(Ju,Xt),Pa.addEventListener(Au,Xt),mt.current=Pa)}return te.useEffect(function(){return function(){Bn(mt.current)}},[]),[ga,Bn]};function Vr(Ke,mt,vt,Xt){var Bn=Xt.motionEnter,ga=Bn===void 0?!0:Bn,Pa=Xt.motionAppear,br=Pa===void 0?!0:Pa,Gr=Xt.motionLeave,Rr=Gr===void 0?!0:Gr,ye=Xt.motionDeadline,xe=Xt.motionLeaveImmediately,at=Xt.onAppearPrepare,_e=Xt.onEnterPrepare,Ot=Xt.onLeavePrepare,en=Xt.onAppearStart,sn=Xt.onEnterStart,Tn=Xt.onLeaveStart,In=Xt.onAppearActive,kn=Xt.onEnterActive,Xn=Xt.onLeaveActive,xa=Xt.onAppearEnd,ja=Xt.onEnterEnd,Ca=Xt.onLeaveEnd,Va=Xt.onVisibleChanged,gr=yn(),qa=(0,We.Z)(gr,2),nr=qa[0],he=qa[1],Ie=yn(Ee),tt=(0,We.Z)(Ie,2),me=tt[0],qe=tt[1],ot=yn(null),At=(0,We.Z)(ot,2),He=At[0],et=At[1],ut=(0,te.useRef)(!1),Tt=(0,te.useRef)(null);function Jt(){return vt()}var cn=(0,te.useRef)(!1);function Wt($n){var Ln=Jt();if(!($n&&!$n.deadline&&$n.target!==Ln)){var ia=cn.current,$a;me===Ve&&ia?$a=xa==null?void 0:xa(Ln,$n):me===be&&ia?$a=ja==null?void 0:ja(Ln,$n):me===ft&&ia&&($a=Ca==null?void 0:Ca(Ln,$n)),me!==Ee&&ia&&$a!==!1&&(qe(Ee,!0),et(null,!0))}}var dn=Co(Wt),Cn=(0,We.Z)(dn,1),bn=Cn[0],on=te.useMemo(function(){var $n,Ln,ia;switch(me){case Ve:return $n={},(0,se.Z)($n,st,at),(0,se.Z)($n,dt,en),(0,se.Z)($n,pt,In),$n;case be:return Ln={},(0,se.Z)(Ln,st,_e),(0,se.Z)(Ln,dt,sn),(0,se.Z)(Ln,pt,kn),Ln;case ft:return ia={},(0,se.Z)(ia,st,Ot),(0,se.Z)(ia,dt,Tn),(0,se.Z)(ia,pt,Xn),ia;default:return{}}},[me]),aa=Xr(me,function($n){if($n===st){var Ln=on[st];return Ln?Ln(Jt()):Ir}if(ha in on){var ia;et(((ia=on[ha])===null||ia===void 0?void 0:ia.call(on,Jt(),null))||null)}return ha===pt&&(bn(Jt()),ye>0&&(clearTimeout(Tt.current),Tt.current=setTimeout(function(){Wt({deadline:!0})},ye))),Fr}),Un=(0,We.Z)(aa,2),fa=Un[0],ha=Un[1],On=Sr(ha);cn.current=On,Ua(function(){he(mt);var $n=ut.current;if(ut.current=!0,!!Ke){var Ln;!$n&&mt&&br&&(Ln=Ve),$n&&mt&&ga&&(Ln=be),($n&&!mt&&Rr||!$n&&xe&&!mt&&Rr)&&(Ln=ft),Ln&&(qe(Ln),fa())}},[mt]),(0,te.useEffect)(function(){(me===Ve&&!br||me===be&&!ga||me===ft&&!Rr)&&qe(Ee)},[br,ga,Rr]),(0,te.useEffect)(function(){return function(){ut.current=!1,clearTimeout(Tt.current)}},[]);var Oa=te.useRef(!1);(0,te.useEffect)(function(){nr&&(Oa.current=!0),nr!==void 0&&me===Ee&&((Oa.current||nr)&&(Va==null||Va(nr)),Oa.current=!0)},[nr,me]);var Aa=He;return on[st]&&ha===dt&&(Aa=(0,Re.Z)({transition:"none"},Aa)),[me,ha,Aa,nr!=null?nr:mt]}var di=z(15671),gi=z(43144),Oi=z(60136),pi=z(51630),Yi=function(Ke){(0,Oi.Z)(vt,Ke);var mt=(0,pi.Z)(vt);function vt(){return(0,di.Z)(this,vt),mt.apply(this,arguments)}return(0,gi.Z)(vt,[{key:"render",value:function(){return this.props.children}}]),vt}(te.Component),Vi=Yi;function Gi(Ke){var mt=Ke;(0,re.Z)(Ke)==="object"&&(mt=Ke.transitionSupport);function vt(Bn){return!!(Bn.motionName&&mt)}var Xt=te.forwardRef(function(Bn,ga){var Pa=Bn.visible,br=Pa===void 0?!0:Pa,Gr=Bn.removeOnLeave,Rr=Gr===void 0?!0:Gr,ye=Bn.forceRender,xe=Bn.children,at=Bn.motionName,_e=Bn.leavedClassName,Ot=Bn.eventProps,en=vt(Bn),sn=(0,te.useRef)(),Tn=(0,te.useRef)();function In(){try{return sn.current instanceof HTMLElement?sn.current:Ti(Tn.current)}catch(ot){return null}}var kn=Vr(en,br,In,Bn),Xn=(0,We.Z)(kn,4),xa=Xn[0],ja=Xn[1],Ca=Xn[2],Va=Xn[3],gr=te.useRef(Va);Va&&(gr.current=!0);var qa=te.useCallback(function(ot){sn.current=ot,pe(ga,ot)},[ga]),nr,he=(0,Re.Z)((0,Re.Z)({},Ot),{},{visible:br});if(!xe)nr=null;else if(xa===Ee||!vt(Bn))Va?nr=xe((0,Re.Z)({},he),qa):!Rr&&gr.current&&_e?nr=xe((0,Re.Z)((0,Re.Z)({},he),{},{className:_e}),qa):ye||!Rr&&!_e?nr=xe((0,Re.Z)((0,Re.Z)({},he),{},{style:{display:"none"}}),qa):nr=null;else{var Ie,tt;ja===st?tt="prepare":Sr(ja)?tt="active":ja===dt&&(tt="start"),nr=xe((0,Re.Z)((0,Re.Z)({},he),{},{className:ze()(ve(at,xa),(Ie={},(0,se.Z)(Ie,ve(at,"".concat(xa,"-").concat(tt)),tt),(0,se.Z)(Ie,at,typeof at=="string"),Ie)),style:Ca}),qa)}if(te.isValidElement(nr)&&Le(nr)){var me=nr,qe=me.ref;qe||(nr=te.cloneElement(nr,{ref:qa}))}return te.createElement(Vi,{ref:Tn},nr)});return Xt.displayName="CSSMotion",Xt}var al=Gi(Jl),ql=z(97326),mu="add",Hl="keep",wl="remove",vl="removed";function Gu(Ke){var mt;return Ke&&(0,re.Z)(Ke)==="object"&&"key"in Ke?mt=Ke:mt={key:Ke},(0,Re.Z)((0,Re.Z)({},mt),{},{key:String(mt.key)})}function Il(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ke.map(Gu)}function Tu(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],vt=[],Xt=0,Bn=mt.length,ga=Il(Ke),Pa=Il(mt);ga.forEach(function(Rr){for(var ye=!1,xe=Xt;xe1});return Gr.forEach(function(Rr){vt=vt.filter(function(ye){var xe=ye.key,at=ye.status;return xe!==Rr||at!==wl}),vt.forEach(function(ye){ye.key===Rr&&(ye.status=Hl)})}),vt}var ts=["component","children","onVisibleChanged","onAllRemoved"],vu=["status"],tu=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function nu(Ke){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:al,vt=function(Xt){(0,Oi.Z)(ga,Xt);var Bn=(0,pi.Z)(ga);function ga(){var Pa;(0,di.Z)(this,ga);for(var br=arguments.length,Gr=new Array(br),Rr=0;Rr0,Jt=te.useState(!kn||!Tt),cn=(0,We.Z)(Jt,2),Wt=cn[0],dn=cn[1];if(Mr(function(){!Wt&&Tt&&Pa&&dn(!0)},[Wt,Tt,Pa]),!Wt)return null;var Cn="auto",bn={left:"-1000vw",top:"-1000vh",right:Cn,bottom:Cn};if(qa||!Gr){var on,aa=en.points,Un=en.dynamicInset||((on=en._experimental)===null||on===void 0?void 0:on.dynamicInset),fa=Un&&aa[0][1]==="r",ha=Un&&aa[0][0]==="b";fa?(bn.right=Ie,bn.left=Cn):(bn.left=nr,bn.right=Cn),ha?(bn.bottom=tt,bn.top=Cn):(bn.top=he,bn.bottom=Cn)}var On={};return ot&&(ot.includes("height")&&He?On.height=He:ot.includes("minHeight")&&He&&(On.minHeight=He),ot.includes("width")&&At?On.width=At:ot.includes("minWidth")&&At&&(On.minWidth=At)),Gr||(On.pointerEvents="none"),te.createElement(xa,{open:In||ut,getContainer:kn&&function(){return kn(Pa)},autoDestroy:Xn},te.createElement(hu,{prefixCls:Bn,open:Gr,zIndex:ja,mask:at,motion:Tn}),te.createElement(gt.Z,{onResize:me,disabled:!Gr},function(Oa){return te.createElement(iu,(0,je.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:In,leavedClassName:"".concat(Bn,"-hidden")},sn,{onAppearPrepare:qe,onEnterPrepare:qe,visible:Gr,onVisibleChanged:function($n){var Ln;sn==null||(Ln=sn.onVisibleChanged)===null||Ln===void 0||Ln.call(sn,$n),br($n)}}),function(Aa,$n){var Ln=Aa.className,ia=Aa.style,$a=ze()(Bn,Ln,Xt);return te.createElement("div",{ref:na(Oa,mt,$n),className:$a,style:(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)({"--arrow-x":"".concat(Ot.x||0,"px"),"--arrow-y":"".concat(Ot.y||0,"px")},bn),On),ia),{},{boxSizing:"border-box",zIndex:ja},ga),onMouseEnter:Ca,onMouseLeave:Va,onPointerEnter:gr,onClick:xe},_e&&te.createElement(Du,{prefixCls:Bn,arrow:_e,arrowPos:Ot,align:en}),te.createElement(yl,{cache:!Gr&&!ye},et))})}))}),Tl=xl,pu=te.forwardRef(function(Ke,mt){var vt=Ke.children,Xt=Ke.getTriggerDOMNode,Bn=Tr(vt),ga=te.useCallback(function(br){vi(mt,Xt?Xt(br):br)},[Xt]),Pa=wo(ga,vt.ref);return Bn?te.cloneElement(vt,{ref:Pa}):vt}),Zu=pu,rl=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Ku(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ta,mt=te.forwardRef(function(vt,Xt){var Bn=vt.prefixCls,ga=Bn===void 0?"rc-trigger-popup":Bn,Pa=vt.children,br=vt.action,Gr=br===void 0?"hover":br,Rr=vt.showAction,ye=vt.hideAction,xe=vt.popupVisible,at=vt.defaultPopupVisible,_e=vt.onPopupVisibleChange,Ot=vt.afterPopupVisibleChange,en=vt.mouseEnterDelay,sn=vt.mouseLeaveDelay,Tn=sn===void 0?.1:sn,In=vt.focusDelay,kn=vt.blurDelay,Xn=vt.mask,xa=vt.maskClosable,ja=xa===void 0?!0:xa,Ca=vt.getPopupContainer,Va=vt.forceRender,gr=vt.autoDestroy,qa=vt.destroyPopupOnHide,nr=vt.popup,he=vt.popupClassName,Ie=vt.popupStyle,tt=vt.popupPlacement,me=vt.builtinPlacements,qe=me===void 0?{}:me,ot=vt.popupAlign,At=vt.zIndex,He=vt.stretch,et=vt.getPopupClassNameFromAlign,ut=vt.fresh,Tt=vt.alignPoint,Jt=vt.onPopupClick,cn=vt.onPopupAlign,Wt=vt.arrow,dn=vt.popupMotion,Cn=vt.maskMotion,bn=vt.popupTransitionName,on=vt.popupAnimation,aa=vt.maskTransitionName,Un=vt.maskAnimation,fa=vt.className,ha=vt.getTriggerDOMNode,On=(0,Oe.Z)(vt,rl),Oa=gr||qa||!1,Aa=te.useState(!1),$n=(0,We.Z)(Aa,2),Ln=$n[0],ia=$n[1];Mr(function(){ia(Po())},[]);var $a=te.useRef({}),za=te.useContext(qo),sr=te.useMemo(function(){return{registerSubPopup:function(Fo,Wr){$a.current[Fo]=Wr,za==null||za.registerSubPopup(Fo,Wr)}}},[za]),Ha=hr(),Ra=te.useState(null),Na=(0,We.Z)(Ra,2),ar=Na[0],Ar=Na[1],io=Za(function(Pr){Rt(Pr)&&ar!==Pr&&Ar(Pr),za==null||za.registerSubPopup(Ha,Pr)}),no=te.useState(null),po=(0,We.Z)(no,2),Do=po[0],lo=po[1],ai=Za(function(Pr){Rt(Pr)&&Do!==Pr&&lo(Pr)}),xi=te.Children.only(Pa),fr=(xi==null?void 0:xi.props)||{},_a={},_r=Za(function(Pr){var Fo,Wr,vo=Do;return(vo==null?void 0:vo.contains(Pr))||((Fo=wn(vo))===null||Fo===void 0?void 0:Fo.host)===Pr||Pr===vo||(ar==null?void 0:ar.contains(Pr))||((Wr=wn(ar))===null||Wr===void 0?void 0:Wr.host)===Pr||Pr===ar||Object.values($a.current).some(function(xr){return(xr==null?void 0:xr.contains(Pr))||Pr===xr})}),fo=Kr(ga,dn,on,bn),kr=Kr(ga,Cn,Un,aa),No=te.useState(at||!1),Jr=(0,We.Z)(No,2),Yo=Jr[0],mo=Jr[1],so=xe!=null?xe:Yo,fi=Za(function(Pr){xe===void 0&&mo(Pr)});Mr(function(){mo(xe||!1)},[xe]);var ko=te.useRef(so);ko.current=so;var Ai=Za(function(Pr){(0,Ye.flushSync)(function(){so!==Pr&&(fi(Pr),_e==null||_e(Pr))})}),bi=te.useRef(),mi=function(){clearTimeout(bi.current)},Ko=function(Fo){var Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;mi(),Wr===0?Ai(Fo):bi.current=setTimeout(function(){Ai(Fo)},Wr*1e3)};te.useEffect(function(){return mi},[]);var Io=te.useState(!1),Or=(0,We.Z)(Io,2),co=Or[0],Vo=Or[1];Mr(function(Pr){(!Pr||so)&&Vo(!0)},[so]);var To=te.useState(null),Di=(0,We.Z)(To,2),Lr=Di[0],pa=Di[1],vr=te.useState([0,0]),yr=(0,We.Z)(vr,2),ka=yr[0],xo=yr[1],Go=function(Fo){xo([Fo.clientX,Fo.clientY])},Ri=gn(so,ar,Tt?ka:Do,tt,qe,ot,cn),Si=(0,We.Z)(Ri,11),ol=Si[0],ge=Si[1],fe=Si[2],Ne=Si[3],Te=Si[4],$e=Si[5],ct=Si[6],Mt=Si[7],Ut=Si[8],Et=Si[9],Ct=Si[10],Yt=ki(Ln,Gr,Rr,ye),zt=(0,We.Z)(Yt,2),pn=zt[0],Rn=zt[1],Zn=pn.has("click"),Wa=Rn.has("click")||Rn.has("contextMenu"),Ba=Za(function(){co||Ct()}),Qa=function(){ko.current&&Tt&&Wa&&Ko(!1)};Hn(so,Do,ar,Ba,Qa),Mr(function(){Ba()},[ka,tt]),Mr(function(){so&&!(qe!=null&&qe[tt])&&Ba()},[JSON.stringify(ot)]);var Da=te.useMemo(function(){var Pr=Ya(qe,ga,Et,Tt);return ze()(Pr,et==null?void 0:et(Et))},[Et,et,qe,ga,Tt]);te.useImperativeHandle(Xt,function(){return{forceAlign:Ba}});var rr=te.useState(0),Xa=(0,We.Z)(rr,2),lr=Xa[0],Ja=Xa[1],Br=te.useState(0),qr=(0,We.Z)(Br,2),or=qr[0],ra=qr[1],Jn=function(){if(He&&Do){var Fo=Do.getBoundingClientRect();Ja(Fo.width),ra(Fo.height)}},Ma=function(){Jn(),Ba()},cr=function(Fo){Vo(!1),Ct(),Ot==null||Ot(Fo)},wr=function(){return new Promise(function(Fo){Jn(),pa(function(){return Fo})})};Mr(function(){Lr&&(Ct(),Lr(),pa(null))},[Lr]);function eo(Pr,Fo,Wr,vo){_a[Pr]=function(xr){var Ur;vo==null||vo(xr),Ko(Fo,Wr);for(var Zr=arguments.length,jr=new Array(Zr>1?Zr-1:0),yi=1;yi1?Wr-1:0),xr=1;xr1?Wr-1:0),xr=1;xr=er.F1&&vt<=er.F12)return!1;switch(vt){case er.ALT:case er.CAPS_LOCK:case er.CONTEXT_MENU:case er.CTRL:case er.DOWN:case er.END:case er.ESC:case er.HOME:case er.INSERT:case er.LEFT:case er.MAC_FF_META:case er.META:case er.NUMLOCK:case er.NUM_CENTER:case er.PAGE_DOWN:case er.PAGE_UP:case er.PAUSE:case er.PRINT_SCREEN:case er.RIGHT:case er.SHIFT:case er.UP:case er.WIN_KEY:case er.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(mt){if(mt>=er.ZERO&&mt<=er.NINE||mt>=er.NUM_ZERO&&mt<=er.NUM_MULTIPLY||mt>=er.A&&mt<=er.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&mt===0)return!0;switch(mt){case er.SPACE:case er.QUESTION_MARK:case er.NUM_PLUS:case er.NUM_MINUS:case er.NUM_PERIOD:case er.NUM_DIVISION:case er.SEMICOLON:case er.DASH:case er.EQUALS:case er.COMMA:case er.PERIOD:case er.SLASH:case er.APOSTROPHE:case er.SINGLE_QUOTE:case er.OPEN_SQUARE_BRACKET:case er.BACKSLASH:case er.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Ul=er,lu=Ul.ESC,zu=Ul.TAB;function Uu(Ke){var mt=Ke.visible,vt=Ke.triggerRef,Xt=Ke.onVisibleChange,Bn=Ke.autoFocus,ga=Ke.overlayRef,Pa=te.useRef(!1),br=function(){if(mt){var xe,at;(xe=vt.current)===null||xe===void 0||(at=xe.focus)===null||at===void 0||at.call(xe),Xt==null||Xt(!1)}},Gr=function(){var xe;return(xe=ga.current)!==null&&xe!==void 0&&xe.focus?(ga.current.focus(),Pa.current=!0,!0):!1},Rr=function(xe){switch(xe.keyCode){case lu:br();break;case zu:{var at=!1;Pa.current||(at=Gr()),at?xe.preventDefault():br();break}}};te.useEffect(function(){return mt?(window.addEventListener("keydown",Rr),Bn&&rn(Gr,3),function(){window.removeEventListener("keydown",Rr),Pa.current=!1}):function(){Pa.current=!1}},[mt])}var ps=(0,te.forwardRef)(function(Ke,mt){var vt=Ke.overlay,Xt=Ke.arrow,Bn=Ke.prefixCls,ga=(0,te.useMemo)(function(){var br;return typeof vt=="function"?br=vt():br=vt,br},[vt]),Pa=Ce(mt,ga==null?void 0:ga.ref);return te.createElement(te.Fragment,null,Xt&&te.createElement("div",{className:"".concat(Bn,"-arrow")}),te.cloneElement(ga,{ref:Le(ga)?Pa:void 0}))}),Ss=ps,us={adjustX:1,adjustY:1},ss=[0,0],Vs={topLeft:{points:["bl","tl"],overflow:us,offset:[0,-4],targetOffset:ss},top:{points:["bc","tc"],overflow:us,offset:[0,-4],targetOffset:ss},topRight:{points:["br","tr"],overflow:us,offset:[0,-4],targetOffset:ss},bottomLeft:{points:["tl","bl"],overflow:us,offset:[0,4],targetOffset:ss},bottom:{points:["tc","bc"],overflow:us,offset:[0,4],targetOffset:ss},bottomRight:{points:["tr","br"],overflow:us,offset:[0,4],targetOffset:ss}},Ds=Vs,Ls=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function cs(Ke,mt){var vt,Xt=Ke.arrow,Bn=Xt===void 0?!1:Xt,ga=Ke.prefixCls,Pa=ga===void 0?"rc-dropdown":ga,br=Ke.transitionName,Gr=Ke.animation,Rr=Ke.align,ye=Ke.placement,xe=ye===void 0?"bottomLeft":ye,at=Ke.placements,_e=at===void 0?Ds:at,Ot=Ke.getPopupContainer,en=Ke.showAction,sn=Ke.hideAction,Tn=Ke.overlayClassName,In=Ke.overlayStyle,kn=Ke.visible,Xn=Ke.trigger,xa=Xn===void 0?["hover"]:Xn,ja=Ke.autoFocus,Ca=Ke.overlay,Va=Ke.children,gr=Ke.onVisibleChange,qa=(0,Oe.Z)(Ke,Ls),nr=te.useState(),he=(0,We.Z)(nr,2),Ie=he[0],tt=he[1],me="visible"in Ke?kn:Ie,qe=te.useRef(null),ot=te.useRef(null),At=te.useRef(null);te.useImperativeHandle(mt,function(){return qe.current});var He=function(bn){tt(bn),gr==null||gr(bn)};Uu({visible:me,triggerRef:At,onVisibleChange:He,autoFocus:ja,overlayRef:ot});var et=function(bn){var on=Ke.onOverlayClick;tt(!1),on&&on(bn)},ut=function(){return te.createElement(Ss,{ref:ot,overlay:Ca,prefixCls:Pa,arrow:Bn})},Tt=function(){return typeof Ca=="function"?ut:ut()},Jt=function(){var bn=Ke.minOverlayWidthMatchTrigger,on=Ke.alignPoint;return"minOverlayWidthMatchTrigger"in Ke?bn:!on},cn=function(){var bn=Ke.openClassName;return bn!==void 0?bn:"".concat(Pa,"-open")},Wt=te.cloneElement(Va,{className:ze()((vt=Va.props)===null||vt===void 0?void 0:vt.className,me&&cn()),ref:Le(Va)?Ce(At,Va.ref):void 0}),dn=sn;return!dn&&xa.indexOf("contextMenu")!==-1&&(dn=["click"]),te.createElement(Lu,(0,je.Z)({builtinPlacements:_e},qa,{prefixCls:Pa,ref:qe,popupClassName:ze()(Tn,(0,se.Z)({},"".concat(Pa,"-show-arrow"),Bn)),popupStyle:In,action:xa,showAction:en,hideAction:dn,popupPlacement:xe,popupAlign:Rr,popupTransitionName:br,popupAnimation:Gr,popupVisible:me,stretch:Jt()?"minWidth":"",popup:Tt(),onPopupVisibleChange:He,onPopupClick:et,getPopupContainer:Ot}),Wt)}var Cs=te.forwardRef(cs),ys=Cs,Zs=z(60276),Fs=z(5663),$l=z(10366),Fu=z(80636),Bu=z(8745),ds=z(96159),uu=z(53124),Nu=z(68508),su=z(76529),Ps=z(46605),Mu=z(66748);const Bs=null,as=Ke=>{const{menu:mt,arrow:vt,prefixCls:Xt,children:Bn,trigger:ga,disabled:Pa,dropdownRender:br,getPopupContainer:Gr,overlayClassName:Rr,rootClassName:ye,open:xe,onOpenChange:at,visible:_e,onVisibleChange:Ot,mouseEnterDelay:en=.15,mouseLeaveDelay:sn=.1,autoAdjustOverflow:Tn=!0,placement:In="",overlay:kn,transitionName:Xn}=Ke,{getPopupContainer:xa,getPrefixCls:ja,direction:Ca}=te.useContext(uu.E_),Va=te.useMemo(()=>{const Wt=ja();return Xn!==void 0?Xn:In.includes("top")?`${Wt}-slide-down`:`${Wt}-slide-up`},[ja,In,Xn]),gr=te.useMemo(()=>In?In.includes("Center")?In.slice(0,In.indexOf("Center")):In:Ca==="rtl"?"bottomRight":"bottomLeft",[In,Ca]),qa=ja("dropdown",Xt),[nr,he]=(0,Mu.Z)(qa),[,Ie]=(0,Ps.Z)(),tt=te.Children.only(Bn),me=(0,ds.Tm)(tt,{className:ze()(`${qa}-trigger`,{[`${qa}-rtl`]:Ca==="rtl"},tt.props.className),disabled:Pa}),qe=Pa?[]:ga;let ot;qe&&qe.includes("contextMenu")&&(ot=!0);const[At,He]=(0,Fs.Z)(!1,{value:xe!=null?xe:_e}),et=(0,Zs.useEvent)(Wt=>{at==null||at(Wt),Ot==null||Ot(Wt),He(Wt)}),ut=ze()(Rr,ye,he,{[`${qa}-rtl`]:Ca==="rtl"}),Tt=(0,Fu.Z)({arrowPointAtCenter:typeof vt=="object"&&vt.pointAtCenter,autoAdjustOverflow:Tn,offset:Ie.marginXXS,arrowWidth:vt?Ie.sizePopupArrow:0,borderRadius:Ie.borderRadius}),Jt=te.useCallback(()=>{He(!1)},[]),cn=()=>{let Wt;return mt!=null&&mt.items?Wt=te.createElement(Nu.default,Object.assign({},mt)):typeof kn=="function"?Wt=kn():Wt=kn,br&&(Wt=br(Wt)),Wt=te.Children.only(typeof Wt=="string"?te.createElement("span",null,Wt):Wt),te.createElement(su.J,{prefixCls:`${qa}-menu`,expandIcon:te.createElement("span",{className:`${qa}-menu-submenu-arrow`},te.createElement(Fe.Z,{className:`${qa}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Jt,validator:dn=>{let{mode:Cn}=dn}},Wt)};return nr(te.createElement(ys,Object.assign({alignPoint:ot},(0,$l.Z)(Ke,["rootClassName"]),{mouseEnterDelay:en,mouseLeaveDelay:sn,visible:At,builtinPlacements:Tt,arrow:!!vt,overlayClassName:ut,prefixCls:qa,getPopupContainer:Gr||xa,transitionName:Va,trigger:qe,overlay:cn,placement:gr,onVisibleChange:et}),me))};function $u(Ke){return Object.assign(Object.assign({},Ke),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ns=(0,Bu.Z)(as,"dropdown",Ke=>Ke,$u),gs=Ke=>te.createElement(Ns,Object.assign({},Ke),te.createElement("span",null));as._InternalPanelDoNotUseOrYouWillBeFired=gs;var Ms=as},85418:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return a}});var te=z(56153),ie=z(94184),Fe=z.n(ie),Xe=z(67294),ze=z(25877),je=z(71577),se=z(53124),We=z(93421),Oe=z(4173),Re=z(66748),Ye=function(y,b){var E={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(E[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,x=Object.getOwnPropertySymbols(y);ee{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Xe.useContext(se.E_),{prefixCls:ee,type:re="default",danger:ae,disabled:ne,loading:pe,onClick:Ce,htmlType:Ae,children:Le,className:Se,menu:we,arrow:Qe,autoFocus:Be,overlay:Ge,trigger:Ze,align:it,open:Je,onOpenChange:Dt,placement:Nt,getPopupContainer:St,href:Lt,icon:$t=Xe.createElement(ze.Z,null),title:un,buttonsRender:yt=Ia=>Ia,mouseEnterDelay:It,mouseLeaveDelay:Kt,overlayClassName:An,overlayStyle:Pt,destroyPopupOnHide:Qt,dropdownRender:ke}=y,zn=Ye(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"]),an=E("dropdown",ee),ya=`${an}-button`,[da,Dn]=(0,Re.Z)(an),ht={menu:we,arrow:Qe,autoFocus:Be,align:it,disabled:ne,trigger:ne?[]:Ze,onOpenChange:Dt,getPopupContainer:St||b,mouseEnterDelay:It,mouseLeaveDelay:Kt,overlayClassName:An,overlayStyle:Pt,destroyPopupOnHide:Qt,dropdownRender:ke},{compactSize:nt,compactItemClassnames:tn}=(0,Oe.ri)(an,x),vn=Fe()(ya,tn,Se,Dn);"overlay"in y&&(ht.overlay=Ge),"open"in y&&(ht.open=Je),"placement"in y?ht.placement=Nt:ht.placement=x==="rtl"?"bottomLeft":"bottomRight";const Vt=Xe.createElement(je.ZP,{type:re,danger:ae,disabled:ne,loading:pe,onClick:Ce,htmlType:Ae,href:Lt,title:un},Le),La=Xe.createElement(je.ZP,{type:re,danger:ae,icon:$t}),[En,Ea]=yt([Vt,La]);return da(Xe.createElement(We.Z.Compact,Object.assign({className:vn,size:nt,block:!0},zn),En,Xe.createElement(te.Z,Object.assign({},ht),Ea)))};ce.__ANT_BUTTON=!0;var De=ce;const de=te.Z;de.Button=De;var a=de},66748:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return Ye}});var te=z(14747),ie=z(67771),Fe=z(33297),Xe=z(50438),ze=z(97414),je=z(67968),se=z(45503),Oe=ce=>{const{componentCls:De,menuCls:de,colorError:a,colorTextLightSolid:y}=ce,b=`${de}-item`;return{[`${De}, ${De}-menu-submenu`]:{[`${de} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Re=ce=>{const{componentCls:De,menuCls:de,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:ee,dropdownPaddingVertical:re,fontSize:ae,dropdownEdgeChildPadding:ne,colorTextDisabled:pe,fontSizeIcon:Ce,controlPaddingHorizontal:Ae,colorBgElevated:Le}=ce;return[{[De]:Object.assign(Object.assign({},(0,te.Wf)(ce)),{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:Ce}},[`${De}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:Ce},[`${x}-down::before`]:{transition:`transform ${ee}`}},[`${De}-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${De}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${De}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${De}-placement-bottom, &${E}-slide-down-appear${E}-slide-down-appear-active${De}-placement-bottom, &${E}-slide-down-enter${E}-slide-down-enter-active${De}-placement-bottomRight, &${E}-slide-down-appear${E}-slide-down-appear-active${De}-placement-bottomRight`]:{animationName:ie.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${De}-placement-topLeft, &${E}-slide-up-appear${E}-slide-up-appear-active${De}-placement-topLeft, &${E}-slide-up-enter${E}-slide-up-enter-active${De}-placement-top, &${E}-slide-up-appear${E}-slide-up-appear-active${De}-placement-top, &${E}-slide-up-enter${E}-slide-up-enter-active${De}-placement-topRight, &${E}-slide-up-appear${E}-slide-up-appear-active${De}-placement-topRight`]:{animationName:ie.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${De}-placement-bottomLeft, &${E}-slide-down-leave${E}-slide-down-leave-active${De}-placement-bottom, &${E}-slide-down-leave${E}-slide-down-leave-active${De}-placement-bottomRight`]:{animationName:ie.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${De}-placement-topLeft, &${E}-slide-up-leave${E}-slide-up-leave-active${De}-placement-top, &${E}-slide-up-leave${E}-slide-up-leave-active${De}-placement-topRight`]:{animationName:ie.ly}})},(0,ze.ZP)(ce,{colorBg:Le,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${De} ${de}`]:{position:"relative",margin:0},[`${de}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${De}, ${De}-menu-submenu`]:{[de]:Object.assign(Object.assign({padding:ne,listStyleType:"none",backgroundColor:Le,backgroundClip:"padding-box",borderRadius:ce.borderRadiusLG,outline:"none",boxShadow:ce.boxShadowSecondary},(0,te.Qy)(ce)),{[`${de}-item-group-title`]:{padding:`${re}px ${Ae}px`,color:ce.colorTextDescription,transition:`all ${ee}`},[`${de}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${de}-item-icon`]:{minWidth:ae,marginInlineEnd:ce.marginXS,fontSize:ce.fontSizeSM},[`${de}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${de}-item, ${de}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${Ae}px`,color:ce.colorText,fontWeight:"normal",fontSize:ae,lineHeight:ce.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:ce.borderRadiusSM,"&:hover, &-active":{backgroundColor:ce.controlItemBgHover}},(0,te.Qy)(ce)),{"&-selected":{color:ce.colorPrimary,backgroundColor:ce.controlItemBgActive,"&:hover, &-active":{backgroundColor:ce.controlItemBgActiveHover}},"&-disabled":{color:pe,cursor:"not-allowed","&:hover":{color:pe,backgroundColor:Le,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ce.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ce.colorSplit},[`${De}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ce.paddingXS,[`${De}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ce.colorTextDescription,fontSize:Ce,fontStyle:"normal"}}}),[`${de}-item-group-list`]:{margin:`0 ${ce.marginXS}px`,padding:0,listStyle:"none"},[`${de}-submenu-title`]:{paddingInlineEnd:Ae+ce.fontSizeSM},[`${de}-submenu-vertical`]:{position:"relative"},[`${de}-submenu${de}-submenu-disabled ${De}-menu-submenu-title`]:{[`&, ${De}-menu-submenu-arrow-icon`]:{color:pe,backgroundColor:Le,cursor:"not-allowed"}},[`${de}-submenu-selected ${De}-menu-submenu-title`]:{color:ce.colorPrimary}})}},[(0,ie.oN)(ce,"slide-up"),(0,ie.oN)(ce,"slide-down"),(0,Fe.Fm)(ce,"move-up"),(0,Fe.Fm)(ce,"move-down"),(0,Xe._y)(ce,"zoom-big")]]};var Ye=(0,je.Z)("Dropdown",(ce,De)=>{let{rootPrefixCls:de}=De;const{marginXXS:a,sizePopupArrow:y,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:ee,componentCls:re,borderRadiusLG:ae}=ce,ne=(b-E*x)/2,{dropdownArrowOffset:pe}=(0,ze.fS)({contentRadius:ae}),Ce=(0,se.TS)(ce,{menuCls:`${re}-menu`,rootPrefixCls:de,dropdownArrowDistance:y/2+a,dropdownArrowOffset:pe,dropdownPaddingVertical:ne,dropdownEdgeChildPadding:ee});return[Re(Ce),Oe(Ce)]},ce=>({zIndexPopup:ce.zIndexPopupBase+50}))},25378:function(Zt,Ht,z){"use strict";var te=z(67294),ie=z(14075),Fe=z(57838),Xe=z(74443);function ze(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,te.useRef)({}),We=(0,Fe.Z)(),Oe=(0,Xe.ZP)();return(0,ie.Z)(()=>{const Re=Oe.subscribe(Ye=>{se.current=Ye,je&&We()});return()=>Oe.unsubscribe(Re)},[]),se.current}Ht.Z=ze},71322:function(Zt,Ht,z){"use strict";z.d(Ht,{D:function(){return x},Z:function(){return ae}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(pe,Ce){return ie.createElement(ze.Z,(0,te.Z)({},pe,{ref:Ce,icon:Xe}))},se=ie.forwardRef(je),We=z(22751),Oe=z(91034),Re=z(94184),Ye=z.n(Re),ce=z(10366),de=ne=>!isNaN(parseFloat(ne))&&isFinite(ne),a=z(53124),y=z(84321),b=function(ne,pe){var Ce={};for(var Ae in ne)Object.prototype.hasOwnProperty.call(ne,Ae)&&pe.indexOf(Ae)<0&&(Ce[Ae]=ne[Ae]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Ae=Object.getOwnPropertySymbols(ne);Le{let ne=0;return function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${pe}${ne}`}})();var ae=ie.forwardRef((ne,pe)=>{const{prefixCls:Ce,className:Ae,trigger:Le,children:Se,defaultCollapsed:we=!1,theme:Qe="dark",style:Be={},collapsible:Ge=!1,reverseArrow:Ze=!1,width:it=200,collapsedWidth:Je=80,zeroWidthTriggerStyle:Dt,breakpoint:Nt,onCollapse:St,onBreakpoint:Lt}=ne,$t=b(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:un}=(0,ie.useContext)(y.Gs),[yt,It]=(0,ie.useState)("collapsed"in ne?ne.collapsed:we),[Kt,An]=(0,ie.useState)(!1);(0,ie.useEffect)(()=>{"collapsed"in ne&&It(ne.collapsed)},[ne.collapsed]);const Pt=(da,Dn)=>{"collapsed"in ne||It(da),St==null||St(da,Dn)},Qt=(0,ie.useRef)();Qt.current=da=>{An(da.matches),Lt==null||Lt(da.matches),yt!==da.matches&&Pt(da.matches,"responsive")},(0,ie.useEffect)(()=>{function da(ht){return Qt.current(ht)}let Dn;if(typeof window!="undefined"){const{matchMedia:ht}=window;if(ht&&Nt&&Nt in E){Dn=ht(`(max-width: ${E[Nt]})`);try{Dn.addEventListener("change",da)}catch(nt){Dn.addListener(da)}da(Dn)}}return()=>{try{Dn==null||Dn.removeEventListener("change",da)}catch(ht){Dn==null||Dn.removeListener(da)}}},[Nt]),(0,ie.useEffect)(()=>{const da=ee("ant-sider-");return un.addSider(da),()=>un.removeSider(da)},[]);const ke=()=>{Pt(!yt,"clickTrigger")},{getPrefixCls:zn}=(0,ie.useContext)(a.E_),an=()=>{const da=zn("layout-sider",Ce),Dn=(0,ce.Z)($t,["collapsed"]),ht=yt?Je:it,nt=de(ht)?`${ht}px`:String(ht),tn=parseFloat(String(Je||0))===0?ie.createElement("span",{onClick:ke,className:Ye()(`${da}-zero-width-trigger`,`${da}-zero-width-trigger-${Ze?"right":"left"}`),style:Dt},Le||ie.createElement(se,null)):null,La={expanded:Ze?ie.createElement(Oe.Z,null):ie.createElement(We.Z,null),collapsed:Ze?ie.createElement(We.Z,null):ie.createElement(Oe.Z,null)}[yt?"collapsed":"expanded"],En=Le!==null?tn||ie.createElement("div",{className:`${da}-trigger`,onClick:ke,style:{width:nt}},Le||La):null,Ea=Object.assign(Object.assign({},Be),{flex:`0 0 ${nt}`,maxWidth:nt,minWidth:nt,width:nt}),Ia=Ye()(da,`${da}-${Qe}`,{[`${da}-collapsed`]:!!yt,[`${da}-has-trigger`]:Ge&&Le!==null&&!tn,[`${da}-below`]:!!Kt,[`${da}-zero-width`]:parseFloat(nt)===0},Ae);return ie.createElement("aside",Object.assign({className:Ia},Dn,{style:Ea,ref:pe}),ie.createElement("div",{className:`${da}-children`},Se),Ge||Kt&&tn?En:null)},ya=ie.useMemo(()=>({siderCollapsed:yt}),[yt]);return ie.createElement(x.Provider,{value:ya},an())})},84321:function(Zt,Ht,z){"use strict";z.d(Ht,{VY:function(){return ee},$_:function(){return x},h4:function(){return E},Gs:function(){return De},ZP:function(){return re}});var te=z(74902),ie=z(94184),Fe=z.n(ie),Xe=z(10366),ze=z(67294),je=z(53124),se=z(67968),Oe=ae=>{const{componentCls:ne,bodyBg:pe,lightSiderBg:Ce,lightTriggerBg:Ae,lightTriggerColor:Le}=ae;return{[`${ne}-sider-light`]:{background:Ce,[`${ne}-sider-trigger`]:{color:Le,background:Ae},[`${ne}-sider-zero-width-trigger`]:{color:Le,background:Ae,border:`1px solid ${pe}`,borderInlineStart:0}}}};const Re=ae=>{const{antCls:ne,componentCls:pe,colorText:Ce,triggerColor:Ae,footerBg:Le,triggerBg:Se,headerHeight:we,headerPadding:Qe,headerColor:Be,footerPadding:Ge,triggerHeight:Ze,zeroTriggerHeight:it,zeroTriggerWidth:Je,motionDurationMid:Dt,motionDurationSlow:Nt,fontSize:St,borderRadius:Lt,bodyBg:$t,headerBg:un,siderBg:yt}=ae;return{[pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:$t,"&, *":{boxSizing:"border-box"},[`&${pe}-has-sider`]:{flexDirection:"row",[`> ${pe}, > ${pe}-content`]:{width:0}},[`${pe}-header, &${pe}-footer`]:{flex:"0 0 auto"},[`${pe}-sider`]:{position:"relative",minWidth:0,background:yt,transition:`all ${Dt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ne}-menu${ne}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ze},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ze,color:Ae,lineHeight:`${Ze}px`,textAlign:"center",background:Se,cursor:"pointer",transition:`all ${Dt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:we,insetInlineEnd:-Je,zIndex:1,width:Je,height:it,color:Ae,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:yt,borderStartStartRadius:0,borderStartEndRadius:Lt,borderEndEndRadius:Lt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Nt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Nt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Je,borderStartStartRadius:Lt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Lt}}}}},Oe(ae)),{"&-rtl":{direction:"rtl"}}),[`${pe}-header`]:{height:we,padding:Qe,color:Be,lineHeight:`${we}px`,background:un,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${pe}-footer`]:{padding:Ge,color:Ce,fontSize:St,background:Le},[`${pe}-content`]:{flex:"auto",minHeight:0}}};var Ye=(0,se.Z)("Layout",ae=>[Re(ae)],ae=>{const{colorBgLayout:ne,controlHeight:pe,controlHeightLG:Ce,colorText:Ae,controlHeightSM:Le,marginXXS:Se,colorTextLightSolid:we,colorBgContainer:Qe}=ae,Be=Ce*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:pe*2,headerPadding:`0 ${Be}px`,headerColor:Ae,footerPadding:`${Le}px ${Be}px`,footerBg:ne,siderBg:"#001529",triggerHeight:Ce+Se*2,triggerBg:"#002140",triggerColor:we,zeroTriggerWidth:Ce,zeroTriggerHeight:Ce,lightSiderBg:Qe,lightTriggerBg:Qe,lightTriggerColor:Ae}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ce=function(ae,ne){var pe={};for(var Ce in ae)Object.prototype.hasOwnProperty.call(ae,Ce)&&ne.indexOf(Ce)<0&&(pe[Ce]=ae[Ce]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Ce=Object.getOwnPropertySymbols(ae);Aenull,removeSider:()=>null}});function de(ae){let{suffixCls:ne,tagName:pe,displayName:Ce}=ae;return Ae=>ze.forwardRef((Se,we)=>ze.createElement(Ae,Object.assign({ref:we,suffixCls:ne,tagName:pe},Se)))}const a=ze.forwardRef((ae,ne)=>{const{prefixCls:pe,suffixCls:Ce,className:Ae,tagName:Le}=ae,Se=ce(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:we}=ze.useContext(je.E_),Qe=we("layout",pe),[Be,Ge]=Ye(Qe),Ze=Ce?`${Qe}-${Ce}`:Qe;return Be(ze.createElement(Le,Object.assign({className:Fe()(pe||Ze,Ae,Ge),ref:ne},Se)))}),y=ze.forwardRef((ae,ne)=>{const{direction:pe}=ze.useContext(je.E_),[Ce,Ae]=ze.useState([]),{prefixCls:Le,className:Se,rootClassName:we,children:Qe,hasSider:Be,tagName:Ge,style:Ze}=ae,it=ce(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Je=(0,Xe.Z)(it,["suffixCls"]),{getPrefixCls:Dt,layout:Nt}=ze.useContext(je.E_),St=Dt("layout",Le),[Lt,$t]=Ye(St),un=Fe()(St,{[`${St}-has-sider`]:typeof Be=="boolean"?Be:Ce.length>0,[`${St}-rtl`]:pe==="rtl"},Nt==null?void 0:Nt.className,Se,we,$t),yt=ze.useMemo(()=>({siderHook:{addSider:It=>{Ae(Kt=>[].concat((0,te.Z)(Kt),[It]))},removeSider:It=>{Ae(Kt=>Kt.filter(An=>An!==It))}}}),[]);return Lt(ze.createElement(De.Provider,{value:yt},ze.createElement(Ge,Object.assign({ref:ne,className:un,style:Object.assign(Object.assign({},Nt==null?void 0:Nt.style),Ze)},Je),Qe)))}),b=de({tagName:"div",displayName:"Layout"})(y),E=de({suffixCls:"header",tagName:"header",displayName:"Header"})(a),x=de({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=de({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var re=b},76529:function(Zt,Ht,z){"use strict";z.d(Ht,{J:function(){return je}});var te=z(67294),ie=z(4173),Fe=z(60276),Xe=function(se,We){var Oe={};for(var Re in se)Object.prototype.hasOwnProperty.call(se,Re)&&We.indexOf(Re)<0&&(Oe[Re]=se[Re]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Re=Object.getOwnPropertySymbols(se);Ye{const{children:Oe}=se,Re=Xe(se,["children"]),Ye=te.useContext(ze),ce=te.useMemo(()=>Object.assign(Object.assign({},Ye),Re),[Ye,Re.prefixCls,Re.mode,Re.selectable]);return te.createElement(ze.Provider,{value:ce},te.createElement(ie.BR,null,(0,Fe.supportNodeRef)(Oe)?te.cloneElement(Oe,{ref:We}):Oe))});Ht.Z=ze},68508:function(Zt,Ht,z){"use strict";z.d(Ht,{default:function(){return da}});var te=z(52073),ie=z(67294),Fe=z(71322),Xe=z(94184),ze=z.n(Xe),je=z(53124),se=function(Dn,ht){var nt={};for(var tn in Dn)Object.prototype.hasOwnProperty.call(Dn,tn)&&ht.indexOf(tn)<0&&(nt[tn]=Dn[tn]);if(Dn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,tn=Object.getOwnPropertySymbols(Dn);vn{const{prefixCls:ht,className:nt,dashed:tn}=Dn,vn=se(Dn,["prefixCls","className","dashed"]),{getPrefixCls:Vt}=ie.useContext(je.E_),La=Vt("menu",ht),En=ze()({[`${La}-item-divider-dashed`]:!!tn},nt);return ie.createElement(te.iz,Object.assign({className:En},vn))},Re=z(37419),Ye=z(10366),ce=z(83062),De=z(96159),a=(0,ie.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Dn=>{var ht;const{className:nt,children:tn,icon:vn,title:Vt,danger:La}=Dn,{prefixCls:En,firstLevel:Ea,direction:Ia,disableMenuItemTitleTooltip:Ta,inlineCollapsed:gt}=ie.useContext(a),Rt=Nn=>{const mr=ie.createElement("span",{className:`${En}-title-content`},tn);return(!vn||(0,De.l$)(tn)&&tn.type==="span")&&tn&&Nn&&Ea&&typeof tn=="string"?ie.createElement("div",{className:`${En}-inline-collapsed-noicon`},tn.charAt(0)):mr},{siderCollapsed:tr}=ie.useContext(Fe.D);let Qn=Vt;typeof Vt=="undefined"?Qn=Ea?tn:"":Vt===!1&&(Qn="");const xt={title:Qn};!tr&&!gt&&(xt.title=null,xt.open=!1);const wn=(0,Re.Z)(tn).length;let Za=ie.createElement(te.ck,Object.assign({},(0,Ye.Z)(Dn,["title","icon","danger"]),{className:ze()({[`${En}-item-danger`]:La,[`${En}-item-only-child`]:(vn?wn+1:wn)===1},nt),title:typeof Vt=="string"?Vt:void 0}),(0,De.Tm)(vn,{className:ze()((0,De.l$)(vn)?(ht=vn.props)===null||ht===void 0?void 0:ht.className:"",`${En}-item-icon`)}),Rt(gt));return Ta||(Za=ie.createElement(ce.Z,Object.assign({},xt,{placement:Ia==="rtl"?"left":"right",overlayClassName:`${En}-inline-collapsed-tooltip`}),Za)),Za},x=Dn=>{var ht;const{popupClassName:nt,icon:tn,title:vn,theme:Vt}=Dn,La=ie.useContext(a),{prefixCls:En,inlineCollapsed:Ea,theme:Ia}=La,Ta=(0,te.Xl)();let gt;if(!tn)gt=Ea&&!Ta.length&&vn&&typeof vn=="string"?ie.createElement("div",{className:`${En}-inline-collapsed-noicon`},vn.charAt(0)):ie.createElement("span",{className:`${En}-title-content`},vn);else{const tr=(0,De.l$)(vn)&&vn.type==="span";gt=ie.createElement(ie.Fragment,null,(0,De.Tm)(tn,{className:ze()((0,De.l$)(tn)?(ht=tn.props)===null||ht===void 0?void 0:ht.className:"",`${En}-item-icon`)}),tr?vn:ie.createElement("span",{className:`${En}-title-content`},vn))}const Rt=ie.useMemo(()=>Object.assign(Object.assign({},La),{firstLevel:!1}),[La]);return ie.createElement(a.Provider,{value:Rt},ie.createElement(te.Wd,Object.assign({},(0,Ye.Z)(Dn,["icon"]),{title:gt,popupClassName:ze()(En,nt,`${En}-${Vt||Ia}`)})))},ee=z(25877),re=z(60276),ae=z(33603),ne=z(76529),pe=function(Dn,ht){var nt={};for(var tn in Dn)Object.prototype.hasOwnProperty.call(Dn,tn)&&ht.indexOf(tn)<0&&(nt[tn]=Dn[tn]);if(Dn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,tn=Object.getOwnPropertySymbols(Dn);vn{if(ht&&typeof ht=="object"){const tn=ht,{label:vn,children:Vt,key:La,type:En}=tn,Ea=pe(tn,["label","children","key","type"]),Ia=La!=null?La:`tmp-${nt}`;return Vt||En==="group"?En==="group"?ie.createElement(te.BW,Object.assign({key:Ia},Ea,{title:vn}),Ce(Vt)):ie.createElement(x,Object.assign({key:Ia},Ea,{title:vn}),Ce(Vt)):En==="divider"?ie.createElement(Oe,Object.assign({key:Ia},Ea)):ie.createElement(b,Object.assign({key:Ia},Ea),vn)}return null}).filter(ht=>ht)}function Ae(Dn){return ie.useMemo(()=>Dn&&Ce(Dn),[Dn])}var Le=z(84780),Se=z(14747),we=z(33507),Qe=z(67771),Be=z(50438),Ge=z(67968),Ze=z(45503),Je=Dn=>{const{componentCls:ht,motionDurationSlow:nt,horizontalLineHeight:tn,colorSplit:vn,lineWidth:Vt,lineType:La,itemPaddingInline:En}=Dn;return{[`${ht}-horizontal`]:{lineHeight:tn,border:0,borderBottom:`${Vt}px ${La} ${vn}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ht}-item, ${ht}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:En},[`> ${ht}-item:hover, > ${ht}-item-active, > ${ht}-submenu ${ht}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ht}-item, ${ht}-submenu-title`]:{transition:[`border-color ${nt}`,`background ${nt}`].join(",")},[`${ht}-submenu-arrow`]:{display:"none"}}}},Nt=Dn=>{let{componentCls:ht,menuArrowOffset:nt}=Dn;return{[`${ht}-rtl`]:{direction:"rtl"},[`${ht}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ht}-rtl${ht}-vertical, ${ht}-submenu-rtl ${ht}-vertical`]:{[`${ht}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${nt})`},"&::after":{transform:`rotate(45deg) translateY(${nt})`}}}}};const St=Dn=>Object.assign({},(0,Se.oN)(Dn));var $t=(Dn,ht)=>{const{componentCls:nt,itemColor:tn,itemSelectedColor:vn,groupTitleColor:Vt,itemBg:La,subMenuItemBg:En,itemSelectedBg:Ea,activeBarHeight:Ia,activeBarWidth:Ta,activeBarBorderWidth:gt,motionDurationSlow:Rt,motionEaseInOut:tr,motionEaseOut:Qn,itemPaddingInline:xt,motionDurationMid:wn,itemHoverColor:Za,lineType:Nn,colorSplit:mr,itemDisabledColor:Ka,dangerItemColor:wa,dangerItemHoverColor:hr,dangerItemSelectedColor:fn,dangerItemActiveBg:to,dangerItemSelectedBg:Qr,itemHoverBg:zo,itemActiveBg:Mr,menuSubMenuBg:Po,horizontalItemSelectedColor:ni,horizontalItemSelectedBg:qo,horizontalItemBorderRadius:Pi,horizontalItemHoverBg:ki,popupBg:_i}=Dn;return{[`${nt}-${ht}, ${nt}-${ht} > ${nt}`]:{color:tn,background:La,[`&${nt}-root:focus-visible`]:Object.assign({},St(Dn)),[`${nt}-item-group-title`]:{color:Vt},[`${nt}-submenu-selected`]:{[`> ${nt}-submenu-title`]:{color:vn}},[`${nt}-item-disabled, ${nt}-submenu-disabled`]:{color:`${Ka} !important`},[`${nt}-item:not(${nt}-item-selected):not(${nt}-submenu-selected)`]:{[`&:hover, > ${nt}-submenu-title:hover`]:{color:Za}},[`&:not(${nt}-horizontal)`]:{[`${nt}-item:not(${nt}-item-selected)`]:{"&:hover":{backgroundColor:zo},"&:active":{backgroundColor:Mr}},[`${nt}-submenu-title`]:{"&:hover":{backgroundColor:zo},"&:active":{backgroundColor:Mr}}},[`${nt}-item-danger`]:{color:wa,[`&${nt}-item:hover`]:{[`&:not(${nt}-item-selected):not(${nt}-submenu-selected)`]:{color:hr}},[`&${nt}-item:active`]:{background:to}},[`${nt}-item a`]:{"&, &:hover":{color:"inherit"}},[`${nt}-item-selected`]:{color:vn,[`&${nt}-item-danger`]:{color:fn},"a, a:hover":{color:"inherit"}},[`& ${nt}-item-selected`]:{backgroundColor:Ea,[`&${nt}-item-danger`]:{backgroundColor:Qr}},[`${nt}-item, ${nt}-submenu-title`]:{[`&:not(${nt}-item-disabled):focus-visible`]:Object.assign({},St(Dn))},[`&${nt}-submenu > ${nt}`]:{backgroundColor:Po},[`&${nt}-popup > ${nt}`]:{backgroundColor:_i},[`&${nt}-horizontal`]:Object.assign(Object.assign({},ht==="dark"?{borderBottom:0}:{}),{[`> ${nt}-item, > ${nt}-submenu`]:{top:gt,marginTop:-gt,marginBottom:0,borderRadius:Pi,"&::after":{position:"absolute",insetInline:xt,bottom:0,borderBottom:`${Ia}px solid transparent`,transition:`border-color ${Rt} ${tr}`,content:'""'},"&:hover, &-active, &-open":{background:ki,"&::after":{borderBottomWidth:Ia,borderBottomColor:ni}},"&-selected":{color:ni,backgroundColor:qo,"&:hover":{backgroundColor:qo},"&::after":{borderBottomWidth:Ia,borderBottomColor:ni}}}}),[`&${nt}-root`]:{[`&${nt}-inline, &${nt}-vertical`]:{borderInlineEnd:`${gt}px ${Nn} ${mr}`}},[`&${nt}-inline`]:{[`${nt}-sub${nt}-inline`]:{background:En},[`${nt}-item, ${nt}-submenu-title`]:gt&&Ta?{width:`calc(100% + ${gt}px)`}:{},[`${nt}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ta}px solid ${vn}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${wn} ${Qn}`,`opacity ${wn} ${Qn}`].join(","),content:'""'},[`&${nt}-item-danger`]:{"&::after":{borderInlineEndColor:fn}}},[`${nt}-selected, ${nt}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${wn} ${tr}`,`opacity ${wn} ${tr}`].join(",")}}}}}};const un=Dn=>{const{componentCls:ht,itemHeight:nt,itemMarginInline:tn,padding:vn,menuArrowSize:Vt,marginXS:La,itemMarginBlock:En}=Dn,Ea=vn+Vt+La;return{[`${ht}-item`]:{position:"relative",overflow:"hidden"},[`${ht}-item, ${ht}-submenu-title`]:{height:nt,lineHeight:`${nt}px`,paddingInline:vn,overflow:"hidden",textOverflow:"ellipsis",marginInline:tn,marginBlock:En,width:`calc(100% - ${tn*2}px)`},[`> ${ht}-item, > ${ht}-submenu > ${ht}-submenu-title`]:{height:nt,lineHeight:`${nt}px`},[`${ht}-item-group-list ${ht}-submenu-title, ${ht}-submenu-title`]:{paddingInlineEnd:Ea}}};var It=Dn=>{const{componentCls:ht,iconCls:nt,itemHeight:tn,colorTextLightSolid:vn,dropdownWidth:Vt,controlHeightLG:La,motionDurationMid:En,motionEaseOut:Ea,paddingXL:Ia,itemMarginInline:Ta,fontSizeLG:gt,motionDurationSlow:Rt,paddingXS:tr,boxShadowSecondary:Qn,collapsedWidth:xt,collapsedIconSize:wn}=Dn,Za={height:tn,lineHeight:`${tn}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ht]:{"&-inline, &-vertical":Object.assign({[`&${ht}-root`]:{boxShadow:"none"}},un(Dn))},[`${ht}-submenu-popup`]:{[`${ht}-vertical`]:Object.assign(Object.assign({},un(Dn)),{boxShadow:Qn})}},{[`${ht}-submenu-popup ${ht}-vertical${ht}-sub`]:{minWidth:Vt,maxHeight:`calc(100vh - ${La*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ht}-inline`]:{width:"100%",[`&${ht}-root`]:{[`${ht}-item, ${ht}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Rt}`,`background ${Rt}`,`padding ${En} ${Ea}`].join(","),[`> ${ht}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ht}-sub${ht}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ht}-submenu > ${ht}-submenu-title`]:Za,[`& ${ht}-item-group-title`]:{paddingInlineStart:Ia}},[`${ht}-item`]:Za}},{[`${ht}-inline-collapsed`]:{width:xt,[`&${ht}-root`]:{[`${ht}-item, ${ht}-submenu ${ht}-submenu-title`]:{[`> ${ht}-inline-collapsed-noicon`]:{fontSize:gt,textAlign:"center"}}},[`> ${ht}-item, > ${ht}-item-group > ${ht}-item-group-list > ${ht}-item, > ${ht}-item-group > ${ht}-item-group-list > ${ht}-submenu > ${ht}-submenu-title, > ${ht}-submenu > ${ht}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${gt/2}px - ${Ta}px)`,textOverflow:"clip",[` ${ht}-submenu-arrow, ${ht}-submenu-expand-icon `]:{opacity:0},[`${ht}-item-icon, ${nt}`]:{margin:0,fontSize:wn,lineHeight:`${tn}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ht}-item-icon, ${nt}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ht}-item-icon, ${nt}`]:{display:"none"},"a, a:hover":{color:vn}},[`${ht}-item-group-title`]:Object.assign(Object.assign({},Se.vS),{paddingInline:tr})}}]};const Kt=Dn=>{const{componentCls:ht,motionDurationSlow:nt,motionDurationMid:tn,motionEaseInOut:vn,motionEaseOut:Vt,iconCls:La,iconSize:En,iconMarginInlineEnd:Ea}=Dn;return{[`${ht}-item, ${ht}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${nt}`,`background ${nt}`,`padding ${nt} ${vn}`].join(","),[`${ht}-item-icon, ${La}`]:{minWidth:En,fontSize:En,transition:[`font-size ${tn} ${Vt}`,`margin ${nt} ${vn}`,`color ${nt}`].join(","),"+ span":{marginInlineStart:Ea,opacity:1,transition:[`opacity ${nt} ${vn}`,`margin ${nt}`,`color ${nt}`].join(",")}},[`${ht}-item-icon`]:Object.assign({},(0,Se.Ro)()),[`&${ht}-item-only-child`]:{[`> ${La}, > ${ht}-item-icon`]:{marginInlineEnd:0}}},[`${ht}-item-disabled, ${ht}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ht}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},An=Dn=>{const{componentCls:ht,motionDurationSlow:nt,motionEaseInOut:tn,borderRadius:vn,menuArrowSize:Vt,menuArrowOffset:La}=Dn;return{[`${ht}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Dn.margin,width:Vt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${nt} ${tn}, opacity ${nt}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Vt*.6,height:Vt*.15,backgroundColor:"currentcolor",borderRadius:vn,transition:[`background ${nt} ${tn}`,`transform ${nt} ${tn}`,`top ${nt} ${tn}`,`color ${nt} ${tn}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${La})`},"&::after":{transform:`rotate(-45deg) translateY(${La})`}}}}},Pt=Dn=>{const{antCls:ht,componentCls:nt,fontSize:tn,motionDurationSlow:vn,motionDurationMid:Vt,motionEaseInOut:La,paddingXS:En,padding:Ea,colorSplit:Ia,lineWidth:Ta,zIndexPopup:gt,borderRadiusLG:Rt,subMenuItemBorderRadius:tr,menuArrowSize:Qn,menuArrowOffset:xt,lineType:wn,menuPanelMaskInset:Za,groupTitleLineHeight:Nn,groupTitleFontSize:mr}=Dn;return[{"":{[`${nt}`]:Object.assign(Object.assign({},(0,Se.dF)()),{"&-hidden":{display:"none"}})},[`${nt}-submenu-hidden`]:{display:"none"}},{[nt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Se.Wf)(Dn)),(0,Se.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:tn,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${vn} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${nt}-item`]:{flex:"none"}},[`${nt}-item, ${nt}-submenu, ${nt}-submenu-title`]:{borderRadius:Dn.itemBorderRadius},[`${nt}-item-group-title`]:{padding:`${En}px ${Ea}px`,fontSize:mr,lineHeight:Nn,transition:`all ${vn}`},[`&-horizontal ${nt}-submenu`]:{transition:[`border-color ${vn} ${La}`,`background ${vn} ${La}`].join(",")},[`${nt}-submenu, ${nt}-submenu-inline`]:{transition:[`border-color ${vn} ${La}`,`background ${vn} ${La}`,`padding ${Vt} ${La}`].join(",")},[`${nt}-submenu ${nt}-sub`]:{cursor:"initial",transition:[`background ${vn} ${La}`,`padding ${vn} ${La}`].join(",")},[`${nt}-title-content`]:{transition:`color ${vn}`},[`${nt}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${nt}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ia,borderStyle:wn,borderWidth:0,borderTopWidth:Ta,marginBlock:Ta,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Kt(Dn)),{[`${nt}-item-group`]:{[`${nt}-item-group-list`]:{margin:0,padding:0,[`${nt}-item, ${nt}-submenu-title`]:{paddingInline:`${tn*2}px ${Ea}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:gt,borderRadius:Rt,boxShadow:"none",transformOrigin:"0 0",[`&${nt}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Za}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Za},"\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:Dn.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Dn.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Dn.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Dn.paddingXS},[`> ${nt}`]:Object.assign(Object.assign(Object.assign({borderRadius:Rt},Kt(Dn)),An(Dn)),{[`${nt}-item, ${nt}-submenu > ${nt}-submenu-title`]:{borderRadius:tr},[`${nt}-submenu-title::after`]:{transition:`transform ${vn} ${La}`}})}}),An(Dn)),{[`&-inline-collapsed ${nt}-submenu-arrow, &-inline ${nt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${xt})`},"&::after":{transform:`rotate(45deg) translateX(-${xt})`}},[`${nt}-submenu-open${nt}-submenu-inline > ${nt}-submenu-title > ${nt}-submenu-arrow`]:{transform:`translateY(-${Qn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${xt})`},"&::before":{transform:`rotate(45deg) translateX(${xt})`}}})},{[`${ht}-layout-header`]:{[nt]:{lineHeight:"inherit"}}}]};var Qt=(Dn,ht)=>(0,Ge.Z)("Menu",tn=>{if(ht===!1)return[];const{colorBgElevated:vn,colorPrimary:Vt,colorTextLightSolid:La,controlHeightLG:En,fontSize:Ea,darkItemColor:Ia,darkDangerItemColor:Ta,darkItemBg:gt,darkSubMenuItemBg:Rt,darkItemSelectedColor:tr,darkItemSelectedBg:Qn,darkDangerItemSelectedBg:xt,darkItemHoverBg:wn,darkGroupTitleColor:Za,darkItemHoverColor:Nn,darkItemDisabledColor:mr,darkDangerItemHoverColor:Ka,darkDangerItemSelectedColor:wa,darkDangerItemActiveBg:hr}=tn,fn=Ea/7*5,to=(0,Ze.TS)(tn,{menuArrowSize:fn,menuHorizontalHeight:En*1.15,menuArrowOffset:`${fn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:vn}),Qr=(0,Ze.TS)(to,{itemColor:Ia,itemHoverColor:Nn,groupTitleColor:Za,itemSelectedColor:tr,itemBg:gt,popupBg:gt,subMenuItemBg:Rt,itemActiveBg:"transparent",itemSelectedBg:Qn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:wn,itemDisabledColor:mr,dangerItemColor:Ta,dangerItemHoverColor:Ka,dangerItemSelectedColor:wa,dangerItemActiveBg:hr,dangerItemSelectedBg:xt,menuSubMenuBg:Rt,horizontalItemSelectedColor:La,horizontalItemSelectedBg:Vt});return[Pt(to),Je(to),It(to),$t(to,"light"),$t(Qr,"dark"),Nt(to),(0,we.Z)(to),(0,Qe.oN)(to,"slide-up"),(0,Qe.oN)(to,"slide-down"),(0,Be._y)(to,"zoom-big")]},tn=>{const{colorPrimary:vn,colorError:Vt,colorTextDisabled:La,colorErrorBg:En,colorText:Ea,colorTextDescription:Ia,colorBgContainer:Ta,colorFillAlter:gt,colorFillContent:Rt,lineWidth:tr,lineWidthBold:Qn,controlItemBgActive:xt,colorBgTextHover:wn,controlHeightLG:Za,lineHeight:Nn,colorBgElevated:mr,marginXXS:Ka,padding:wa,fontSize:hr,controlHeightSM:fn,fontSizeLG:to,colorTextLightSolid:Qr,colorErrorHover:zo}=tn,Mr=new Le.C(Qr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:tn.zIndexPopupBase+50,radiusItem:tn.borderRadiusLG,itemBorderRadius:tn.borderRadiusLG,radiusSubMenuItem:tn.borderRadiusSM,subMenuItemBorderRadius:tn.borderRadiusSM,colorItemText:Ea,itemColor:Ea,colorItemTextHover:Ea,itemHoverColor:Ea,colorItemTextHoverHorizontal:vn,horizontalItemHoverColor:vn,colorGroupTitle:Ia,groupTitleColor:Ia,colorItemTextSelected:vn,itemSelectedColor:vn,colorItemTextSelectedHorizontal:vn,horizontalItemSelectedColor:vn,colorItemBg:Ta,itemBg:Ta,colorItemBgHover:wn,itemHoverBg:wn,colorItemBgActive:Rt,itemActiveBg:xt,colorSubItemBg:gt,subMenuItemBg:gt,colorItemBgSelected:xt,itemSelectedBg:xt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Qn,activeBarHeight:Qn,colorActiveBarBorderSize:tr,activeBarBorderWidth:tr,colorItemTextDisabled:La,itemDisabledColor:La,colorDangerItemText:Vt,dangerItemColor:Vt,colorDangerItemTextHover:Vt,dangerItemHoverColor:Vt,colorDangerItemTextSelected:Vt,dangerItemSelectedColor:Vt,colorDangerItemBgActive:En,dangerItemActiveBg:En,colorDangerItemBgSelected:En,dangerItemSelectedBg:En,itemMarginInline:tn.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Za,groupTitleLineHeight:Nn,collapsedWidth:Za*2,popupBg:mr,itemMarginBlock:Ka,itemPaddingInline:wa,horizontalLineHeight:`${Za*1.15}px`,iconSize:hr,iconMarginInlineEnd:fn-hr,collapsedIconSize:to,groupTitleFontSize:hr,darkItemDisabledColor:new Le.C(Qr).setAlpha(.25).toRgbString(),darkItemColor:Mr,darkDangerItemColor:Vt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Qr,darkItemSelectedBg:vn,darkDangerItemSelectedBg:Vt,darkItemHoverBg:"transparent",darkGroupTitleColor:Mr,darkItemHoverColor:Qr,darkDangerItemHoverColor:zo,darkDangerItemSelectedColor:Qr,darkDangerItemActiveBg:Vt}},{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"]]})(Dn),ke=function(Dn,ht){var nt={};for(var tn in Dn)Object.prototype.hasOwnProperty.call(Dn,tn)&&ht.indexOf(tn)<0&&(nt[tn]=Dn[tn]);if(Dn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,tn=Object.getOwnPropertySymbols(Dn);vn{var nt,tn;const vn=ie.useContext(ne.Z),Vt=vn||{},{getPrefixCls:La,getPopupContainer:En,direction:Ea,menu:Ia}=ie.useContext(je.E_),Ta=La(),{prefixCls:gt,className:Rt,style:tr,theme:Qn="light",expandIcon:xt,_internalDisableMenuItemTitleTooltip:wn,inlineCollapsed:Za,siderCollapsed:Nn,items:mr,children:Ka,rootClassName:wa,mode:hr,selectable:fn,onClick:to,overflowedIndicatorPopupClassName:Qr}=Dn,zo=ke(Dn,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Mr=(0,Ye.Z)(zo,["collapsedWidth"]),Po=Ae(mr)||Ka;(nt=Vt.validator)===null||nt===void 0||nt.call(Vt,{mode:hr});const ni=(0,re.useEvent)(function(){var Ft;to==null||to.apply(void 0,arguments),(Ft=Vt.onClick)===null||Ft===void 0||Ft.call(Vt)}),qo=Vt.mode||hr,Pi=fn!=null?fn:Vt.selectable,ki=ie.useMemo(()=>Nn!==void 0?Nn:Za,[Za,Nn]),_i={horizontal:{motionName:`${Ta}-slide-up`},inline:(0,ae.Z)(Ta),other:{motionName:`${Ta}-zoom-big`}},ta=La("menu",gt||Vt.prefixCls),[Ya,Kr]=Qt(ta,!vn),Yn=ze()(`${ta}-${Qn}`,Ia==null?void 0:Ia.className,Rt);let Mn;if(typeof xt=="function")Mn=xt;else if(xt===null||xt===!1)Mn=null;else if(Vt.expandIcon===null||Vt.expandIcon===!1)Mn=null;else{const Ft=xt!=null?xt:Vt.expandIcon;Mn=(0,De.Tm)(Ft,{className:ze()(`${ta}-submenu-expand-icon`,(0,De.l$)(Ft)?(tn=Ft.props)===null||tn===void 0?void 0:tn.className:"")})}const la=ie.useMemo(()=>({prefixCls:ta,inlineCollapsed:ki||!1,direction:Ea,firstLevel:!0,theme:Qn,mode:qo,disableMenuItemTitleTooltip:wn}),[ta,ki,Ea,wn,Qn]);return Ya(ie.createElement(ne.Z.Provider,{value:null},ie.createElement(a.Provider,{value:la},ie.createElement(te.ZP,Object.assign({getPopupContainer:En,overflowedIndicator:ie.createElement(ee.Z,null),overflowedIndicatorPopupClassName:ze()(ta,`${ta}-${Qn}`,Qr),mode:qo,selectable:Pi,onClick:ni},Mr,{inlineCollapsed:ki,style:Object.assign(Object.assign({},Ia==null?void 0:Ia.style),tr),className:Yn,prefixCls:ta,direction:Ea,defaultMotions:_i,expandIcon:Mn,ref:ht,rootClassName:ze()(wa,Kr)}),Po))))});const ya=(0,ie.forwardRef)((Dn,ht)=>{const nt=(0,ie.useRef)(null),tn=ie.useContext(Fe.D);return(0,ie.useImperativeHandle)(ht,()=>({menu:nt.current,focus:vn=>{var Vt;(Vt=nt.current)===null||Vt===void 0||Vt.focus(vn)}})),ie.createElement(an,Object.assign({ref:nt},Dn,tn))});ya.Item=b,ya.SubMenu=x,ya.Divider=Oe,ya.ItemGroup=te.BW;var da=ya},28452:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return Ta}});var te=z(87462),ie=z(67294),Fe={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"},Xe=Fe,ze=z(74643),je=function(Rt,tr){return ie.createElement(ze.Z,(0,te.Z)({},Rt,{ref:tr,icon:Xe}))},se=ie.forwardRef(je),We=z(81893),Oe=z(22751),Re=z(91034),Ye=z(94184),ce=z.n(Ye),De=z(4942),de=z(1413),a=z(15671),y=z(43144),b=z(60136),E=z(51630),x=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,ee=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,re="".concat(x," ").concat(ee).split(/[\s\n]+/),ae="aria-",ne="data-";function pe(gt,Rt){return gt.indexOf(Rt)===0}function Ce(gt){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tr;Rt===!1?tr={aria:!0,data:!0,attr:!0}:Rt===!0?tr={aria:!0}:tr=(0,de.Z)({},Rt);var Qn={};return Object.keys(gt).forEach(function(xt){(tr.aria&&(xt==="role"||pe(xt,ae))||tr.data&&pe(xt,ne)||tr.attr&&re.includes(xt))&&(Qn[xt]=gt[xt])}),Qn}var Ae={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Le=Ae,Se=z(81626),we=function(gt){(0,b.Z)(tr,gt);var Rt=(0,E.Z)(tr);function tr(){var Qn;(0,a.Z)(this,tr);for(var xt=arguments.length,wn=new Array(xt),Za=0;Za=0||Nn.relatedTarget.className.indexOf("".concat(hr,"-item"))>=0))&&wa(Qn.getValidValue()))},Qn.go=function(Nn){var mr=Qn.state.goInputText;mr!==""&&(Nn.keyCode===Le.ENTER||Nn.type==="click")&&(Qn.setState({goInputText:""}),Qn.props.quickGo(Qn.getValidValue()))},Qn}return(0,y.Z)(tr,[{key:"getPageSizeOptions",value:function(){var xt=this.props,wn=xt.pageSize,Za=xt.pageSizeOptions;return Za.some(function(Nn){return Nn.toString()===wn.toString()})?Za:Za.concat([wn.toString()]).sort(function(Nn,mr){var Ka=Number.isNaN(Number(Nn))?0:Number(Nn),wa=Number.isNaN(Number(mr))?0:Number(mr);return Ka-wa})}},{key:"render",value:function(){var xt=this,wn=this.props,Za=wn.pageSize,Nn=wn.locale,mr=wn.rootPrefixCls,Ka=wn.changeSize,wa=wn.quickGo,hr=wn.goButton,fn=wn.selectComponentClass,to=wn.buildOptionText,Qr=wn.selectPrefixCls,zo=wn.disabled,Mr=this.state.goInputText,Po="".concat(mr,"-options"),ni=fn,qo=null,Pi=null,ki=null;if(!Ka&&!wa)return null;var _i=this.getPageSizeOptions();if(Ka&&ni){var ta=_i.map(function(Ya,Kr){return ie.createElement(ni.Option,{key:Kr,value:Ya.toString()},(to||xt.buildOptionText)(Ya))});qo=ie.createElement(ni,{disabled:zo,prefixCls:Qr,showSearch:!1,className:"".concat(Po,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Za||_i[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Kr){return Kr.parentNode},"aria-label":Nn.page_size,defaultOpen:!1},ta)}return wa&&(hr&&(ki=typeof hr=="boolean"?ie.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:zo,className:"".concat(Po,"-quick-jumper-button")},Nn.jump_to_confirm):ie.createElement("span",{onClick:this.go,onKeyUp:this.go},hr)),Pi=ie.createElement("div",{className:"".concat(Po,"-quick-jumper")},Nn.jump_to,ie.createElement("input",{disabled:zo,type:"text",value:Mr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Nn.page}),Nn.page,ki)),ie.createElement("li",{className:"".concat(Po)},qo,Pi)}}]),tr}(ie.Component);we.defaultProps={pageSizeOptions:["10","20","50","100"]};var Qe=we,Be=function(Rt){var tr,Qn=Rt.rootPrefixCls,xt=Rt.page,wn=Rt.active,Za=Rt.className,Nn=Rt.showTitle,mr=Rt.onClick,Ka=Rt.onKeyPress,wa=Rt.itemRender,hr="".concat(Qn,"-item"),fn=ce()(hr,"".concat(hr,"-").concat(xt),(tr={},(0,De.Z)(tr,"".concat(hr,"-active"),wn),(0,De.Z)(tr,"".concat(hr,"-disabled"),!xt),(0,De.Z)(tr,Rt.className,Za),tr)),to=function(){mr(xt)},Qr=function(Po){Ka(Po,mr,xt)},zo=wa(xt,"page",ie.createElement("a",{rel:"nofollow"},xt));return zo?ie.createElement("li",{title:Nn?xt.toString():null,className:fn,onClick:to,onKeyPress:Qr,tabIndex:0},zo):null},Ge=Be;function Ze(){}function it(gt){var Rt=Number(gt);return typeof Rt=="number"&&!Number.isNaN(Rt)&&isFinite(Rt)&&Math.floor(Rt)===Rt}var Je=function(Rt,tr,Qn){return Qn};function Dt(gt,Rt,tr){var Qn=typeof gt=="undefined"?Rt.pageSize:gt;return Math.floor((tr.total-1)/Qn)+1}var Nt=function(gt){(0,b.Z)(tr,gt);var Rt=(0,E.Z)(tr);function tr(Qn){var xt;(0,a.Z)(this,tr),xt=Rt.call(this,Qn),xt.paginationNode=ie.createRef(),xt.getJumpPrevPage=function(){return Math.max(1,xt.state.current-(xt.props.showLessItems?3:5))},xt.getJumpNextPage=function(){return Math.min(Dt(void 0,xt.state,xt.props),xt.state.current+(xt.props.showLessItems?3:5))},xt.getItemIcon=function(Ka,wa){var hr=xt.props.prefixCls,fn=Ka||ie.createElement("button",{type:"button","aria-label":wa,className:"".concat(hr,"-item-link")});return typeof Ka=="function"&&(fn=ie.createElement(Ka,(0,de.Z)({},xt.props))),fn},xt.isValid=function(Ka){var wa=xt.props.total;return it(Ka)&&Ka!==xt.state.current&&it(wa)&&wa>0},xt.shouldDisplayQuickJumper=function(){var Ka=xt.props,wa=Ka.showQuickJumper,hr=Ka.total,fn=xt.state.pageSize;return hr<=fn?!1:wa},xt.handleKeyDown=function(Ka){(Ka.keyCode===Le.ARROW_UP||Ka.keyCode===Le.ARROW_DOWN)&&Ka.preventDefault()},xt.handleKeyUp=function(Ka){var wa=xt.getValidValue(Ka),hr=xt.state.currentInputValue;wa!==hr&&xt.setState({currentInputValue:wa}),Ka.keyCode===Le.ENTER?xt.handleChange(wa):Ka.keyCode===Le.ARROW_UP?xt.handleChange(wa-1):Ka.keyCode===Le.ARROW_DOWN&&xt.handleChange(wa+1)},xt.handleBlur=function(Ka){var wa=xt.getValidValue(Ka);xt.handleChange(wa)},xt.changePageSize=function(Ka){var wa=xt.state.current,hr=Dt(Ka,xt.state,xt.props);wa=wa>hr?hr:wa,hr===0&&(wa=xt.state.current),typeof Ka=="number"&&("pageSize"in xt.props||xt.setState({pageSize:Ka}),"current"in xt.props||xt.setState({current:wa,currentInputValue:wa})),xt.props.onShowSizeChange(wa,Ka),"onChange"in xt.props&&xt.props.onChange&&xt.props.onChange(wa,Ka)},xt.handleChange=function(Ka){var wa=xt.props,hr=wa.disabled,fn=wa.onChange,to=xt.state,Qr=to.pageSize,zo=to.current,Mr=to.currentInputValue;if(xt.isValid(Ka)&&!hr){var Po=Dt(void 0,xt.state,xt.props),ni=Ka;return Ka>Po?ni=Po:Ka<1&&(ni=1),"current"in xt.props||xt.setState({current:ni}),ni!==Mr&&xt.setState({currentInputValue:ni}),fn(ni,Qr),ni}return zo},xt.prev=function(){xt.hasPrev()&&xt.handleChange(xt.state.current-1)},xt.next=function(){xt.hasNext()&&xt.handleChange(xt.state.current+1)},xt.jumpPrev=function(){xt.handleChange(xt.getJumpPrevPage())},xt.jumpNext=function(){xt.handleChange(xt.getJumpNextPage())},xt.hasPrev=function(){return xt.state.current>1},xt.hasNext=function(){return xt.state.current2?hr-2:0),to=2;to=Za?mr=Za:mr=Number(wn),mr}},{key:"getShowSizeChanger",value:function(){var xt=this.props,wn=xt.showSizeChanger,Za=xt.total,Nn=xt.totalBoundaryShowSizeChanger;return typeof wn!="undefined"?wn:Za>Nn}},{key:"render",value:function(){var xt=this.props,wn=xt.prefixCls,Za=xt.className,Nn=xt.style,mr=xt.disabled,Ka=xt.hideOnSinglePage,wa=xt.total,hr=xt.locale,fn=xt.showQuickJumper,to=xt.showLessItems,Qr=xt.showTitle,zo=xt.showTotal,Mr=xt.simple,Po=xt.itemRender,ni=xt.showPrevNextJumpers,qo=xt.jumpPrevIcon,Pi=xt.jumpNextIcon,ki=xt.selectComponentClass,_i=xt.selectPrefixCls,ta=xt.pageSizeOptions,Ya=this.state,Kr=Ya.current,Yn=Ya.pageSize,Mn=Ya.currentInputValue;if(Ka===!0&&wa<=Yn)return null;var la=Dt(void 0,this.state,this.props),Ft=[],Kn=null,ua=null,Fn=null,wt=null,kt=null,Bt=fn&&fn.goButton,gn=to?1:2,Hn=Kr-1>0?Kr-1:0,oa=Kr+1wa?wa:Kr*Yn]));if(Mr){Bt&&(typeof Bt=="boolean"?kt=ie.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},hr.jump_to_confirm):kt=ie.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Bt),kt=ie.createElement("li",{title:Qr?"".concat(hr.jump_to).concat(Kr,"/").concat(la):null,className:"".concat(wn,"-simple-pager")},kt));var Fa=this.renderPrev(Hn);return ie.createElement("ul",(0,te.Z)({className:ce()(wn,"".concat(wn,"-simple"),(0,De.Z)({},"".concat(wn,"-disabled"),mr),Za),style:Nn,ref:this.paginationNode},Cr),_t,Fa?ie.createElement("li",{title:Qr?hr.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ce()("".concat(wn,"-prev"),(0,De.Z)({},"".concat(wn,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Fa):null,ie.createElement("li",{title:Qr?"".concat(Kr,"/").concat(la):null,className:"".concat(wn,"-simple-pager")},ie.createElement("input",{type:"text",value:Mn,disabled:mr,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ie.createElement("span",{className:"".concat(wn,"-slash")},"/"),la),ie.createElement("li",{title:Qr?hr.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ce()("".concat(wn,"-next"),(0,De.Z)({},"".concat(wn,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(oa)),kt)}if(la<=3+gn*2){var pr={locale:hr,rootPrefixCls:wn,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Qr,itemRender:Po};la||Ft.push(ie.createElement(Ge,(0,te.Z)({},pr,{key:"noPager",page:1,className:"".concat(wn,"-item-disabled")})));for(var vi=1;vi<=la;vi+=1){var na=Kr===vi;Ft.push(ie.createElement(Ge,(0,te.Z)({},pr,{key:vi,page:vi,active:na})))}}else{var wo=to?hr.prev_3:hr.prev_5,Tr=to?hr.next_3:hr.next_5,ho=Po(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(qo,"prev page")),Ao=Po(this.getJumpNextPage(),"jump-next",this.getItemIcon(Pi,"next page"));ni&&(Kn=ho?ie.createElement("li",{title:Qr?wo:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ce()("".concat(wn,"-jump-prev"),(0,De.Z)({},"".concat(wn,"-jump-prev-custom-icon"),!!qo))},ho):null,ua=Ao?ie.createElement("li",{title:Qr?Tr:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ce()("".concat(wn,"-jump-next"),(0,De.Z)({},"".concat(wn,"-jump-next-custom-icon"),!!Pi))},Ao):null),wt=ie.createElement(Ge,{locale:hr,last:!0,rootPrefixCls:wn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:la,page:la,active:!1,showTitle:Qr,itemRender:Po}),Fn=ie.createElement(Ge,{locale:hr,rootPrefixCls:wn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Qr,itemRender:Po});var _o=Math.max(1,Kr-gn),ji=Math.min(Kr+gn,la);Kr-1<=gn&&(ji=1+gn*2),la-Kr<=gn&&(_o=la-gn*2);for(var Eo=_o;Eo<=ji;Eo+=1){var Wi=Kr===Eo;Ft.push(ie.createElement(Ge,{locale:hr,rootPrefixCls:wn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Eo,page:Eo,active:Wi,showTitle:Qr,itemRender:Po}))}Kr-1>=gn*2&&Kr!==3&&(Ft[0]=(0,ie.cloneElement)(Ft[0],{className:"".concat(wn,"-item-after-jump-prev")}),Ft.unshift(Kn)),la-Kr>=gn*2&&Kr!==la-2&&(Ft[Ft.length-1]=(0,ie.cloneElement)(Ft[Ft.length-1],{className:"".concat(wn,"-item-before-jump-next")}),Ft.push(ua)),_o!==1&&Ft.unshift(Fn),ji!==la&&Ft.push(wt)}var dl=!this.hasPrev()||!la,ml=!this.hasNext()||!la,tl=this.renderPrev(Hn),nl=this.renderNext(oa);return ie.createElement("ul",(0,te.Z)({className:ce()(wn,Za,(0,De.Z)({},"".concat(wn,"-disabled"),mr)),style:Nn,ref:this.paginationNode},Cr),_t,tl?ie.createElement("li",{title:Qr?hr.prev_page:null,onClick:this.prev,tabIndex:dl?null:0,onKeyPress:this.runIfEnterPrev,className:ce()("".concat(wn,"-prev"),(0,De.Z)({},"".concat(wn,"-disabled"),dl)),"aria-disabled":dl},tl):null,Ft,nl?ie.createElement("li",{title:Qr?hr.next_page:null,onClick:this.next,tabIndex:ml?null:0,onKeyPress:this.runIfEnterNext,className:ce()("".concat(wn,"-next"),(0,De.Z)({},"".concat(wn,"-disabled"),ml)),"aria-disabled":ml},nl):null,ie.createElement(Qe,{disabled:mr,locale:hr,rootPrefixCls:wn,selectComponentClass:ki,selectPrefixCls:_i,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Kr,pageSize:Yn,pageSizeOptions:ta,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Bt}))}}],[{key:"getDerivedStateFromProps",value:function(xt,wn){var Za={};if("current"in xt&&(Za.current=xt.current,xt.current!==wn.current&&(Za.currentInputValue=Za.current)),"pageSize"in xt&&xt.pageSize!==wn.pageSize){var Nn=wn.current,mr=Dt(xt.pageSize,wn,xt);Nn=Nn>mr?mr:Nn,"current"in xt||(Za.current=Nn,Za.currentInputValue=Nn),Za.pageSize=xt.pageSize}return Za}}]),tr}(ie.Component);Nt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ze,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ze,locale:Se.Z,style:{},itemRender:Je,totalBoundaryShowSizeChanger:50};var St=Nt,Lt=z(62906),$t=z(53124),un=z(98675),yt=z(25378),It=z(10110),Kt=z(42563);const An=gt=>ie.createElement(Kt.default,Object.assign({},gt,{showSearch:!0,size:"small"})),Pt=gt=>ie.createElement(Kt.default,Object.assign({},gt,{showSearch:!0,size:"middle"}));An.Option=Kt.default.Option,Pt.Option=Kt.default.Option;var Qt=z(47673),ke=z(14747),zn=z(67968),an=z(45503);const ya=gt=>{const{componentCls:Rt}=gt;return{[`${Rt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Rt}-item-link`]:{color:gt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Rt}-item-link`]:{color:gt.colorTextDisabled,cursor:"not-allowed"}}},[`&${Rt}-disabled`]:{cursor:"not-allowed",[`${Rt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:gt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:gt.colorBorder,backgroundColor:gt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:gt.itemActiveBgDisabled},a:{color:gt.itemActiveColorDisabled}}},[`${Rt}-item-link`]:{color:gt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Rt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Rt}-simple-pager`]:{color:gt.colorTextDisabled},[`${Rt}-jump-prev, ${Rt}-jump-next`]:{[`${Rt}-item-link-icon`]:{opacity:0},[`${Rt}-item-ellipsis`]:{opacity:1}}},[`&${Rt}-simple`]:{[`${Rt}-prev, ${Rt}-next`]:{[`&${Rt}-disabled ${Rt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},da=gt=>{const{componentCls:Rt}=gt;return{[`&${Rt}-mini ${Rt}-total-text, &${Rt}-mini ${Rt}-simple-pager`]:{height:gt.itemSizeSM,lineHeight:`${gt.itemSizeSM}px`},[`&${Rt}-mini ${Rt}-item`]:{minWidth:gt.itemSizeSM,height:gt.itemSizeSM,margin:0,lineHeight:`${gt.itemSizeSM-2}px`},[`&${Rt}-mini:not(${Rt}-disabled) ${Rt}-item:not(${Rt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:gt.colorBgTextHover},"&:active":{backgroundColor:gt.colorBgTextActive}},[`&${Rt}-mini ${Rt}-prev, &${Rt}-mini ${Rt}-next`]:{minWidth:gt.itemSizeSM,height:gt.itemSizeSM,margin:0,lineHeight:`${gt.itemSizeSM}px`},[`&${Rt}-mini:not(${Rt}-disabled)`]:{[`${Rt}-prev, ${Rt}-next`]:{[`&:hover ${Rt}-item-link`]:{backgroundColor:gt.colorBgTextHover},[`&:active ${Rt}-item-link`]:{backgroundColor:gt.colorBgTextActive},[`&${Rt}-disabled:hover ${Rt}-item-link`]:{backgroundColor:"transparent"}}},[` &${Rt}-mini ${Rt}-prev ${Rt}-item-link, &${Rt}-mini ${Rt}-next ${Rt}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:gt.itemSizeSM,lineHeight:`${gt.itemSizeSM}px`}},[`&${Rt}-mini ${Rt}-jump-prev, &${Rt}-mini ${Rt}-jump-next`]:{height:gt.itemSizeSM,marginInlineEnd:0,lineHeight:`${gt.itemSizeSM}px`},[`&${Rt}-mini ${Rt}-options`]:{marginInlineStart:gt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:gt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:gt.itemSizeSM,lineHeight:`${gt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Qt.x0)(gt)),{width:gt.paginationMiniQuickJumperInputWidth,height:gt.controlHeightSM})}}}},Dn=gt=>{const{componentCls:Rt}=gt;return{[` &${Rt}-simple ${Rt}-prev, &${Rt}-simple ${Rt}-next `]:{height:gt.itemSizeSM,lineHeight:`${gt.itemSizeSM}px`,verticalAlign:"top",[`${Rt}-item-link`]:{height:gt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:gt.colorBgTextHover},"&:active":{backgroundColor:gt.colorBgTextActive},"&::after":{height:gt.itemSizeSM,lineHeight:`${gt.itemSizeSM}px`}}},[`&${Rt}-simple ${Rt}-simple-pager`]:{display:"inline-block",height:gt.itemSizeSM,marginInlineEnd:gt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:gt.marginXS,padding:`0 ${gt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:gt.itemInputBg,border:`${gt.lineWidth}px ${gt.lineType} ${gt.colorBorder}`,borderRadius:gt.borderRadius,outline:"none",transition:`border-color ${gt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:gt.colorPrimary},"&:focus":{borderColor:gt.colorPrimaryHover,boxShadow:`${gt.inputOutlineOffset}px 0 ${gt.controlOutlineWidth}px ${gt.controlOutline}`},"&[disabled]":{color:gt.colorTextDisabled,backgroundColor:gt.colorBgContainerDisabled,borderColor:gt.colorBorder,cursor:"not-allowed"}}}}},ht=gt=>{const{componentCls:Rt}=gt;return{[`${Rt}-jump-prev, ${Rt}-jump-next`]:{outline:0,[`${Rt}-item-container`]:{position:"relative",[`${Rt}-item-link-icon`]:{color:gt.colorPrimary,fontSize:gt.fontSizeSM,opacity:0,transition:`all ${gt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Rt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:gt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:gt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:gt.paginationEllipsisTextIndent,opacity:1,transition:`all ${gt.motionDurationMid}`}},"&:hover":{[`${Rt}-item-link-icon`]:{opacity:1},[`${Rt}-item-ellipsis`]:{opacity:0}}},[` ${Rt}-prev, ${Rt}-jump-prev, ${Rt}-jump-next `]:{marginInlineEnd:gt.marginXS},[` ${Rt}-prev, ${Rt}-next, ${Rt}-jump-prev, ${Rt}-jump-next `]:{display:"inline-block",minWidth:gt.itemSize,height:gt.itemSize,color:gt.colorText,fontFamily:gt.fontFamily,lineHeight:`${gt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:gt.borderRadius,cursor:"pointer",transition:`all ${gt.motionDurationMid}`},[`${Rt}-prev, ${Rt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:gt.colorText,cursor:"pointer",userSelect:"none"},[`${Rt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:gt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${gt.lineWidth}px ${gt.lineType} transparent`,borderRadius:gt.borderRadius,outline:"none",transition:`all ${gt.motionDurationMid}`},[`&:hover ${Rt}-item-link`]:{backgroundColor:gt.colorBgTextHover},[`&:active ${Rt}-item-link`]:{backgroundColor:gt.colorBgTextActive},[`&${Rt}-disabled:hover`]:{[`${Rt}-item-link`]:{backgroundColor:"transparent"}}},[`${Rt}-slash`]:{marginInlineEnd:gt.paginationSlashMarginInlineEnd,marginInlineStart:gt.paginationSlashMarginInlineStart},[`${Rt}-options`]:{display:"inline-block",marginInlineStart:gt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:gt.controlHeight,marginInlineStart:gt.marginXS,lineHeight:`${gt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Qt.ik)(gt)),{width:gt.controlHeightLG*1.25,height:gt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:gt.marginXS,marginInlineEnd:gt.marginXS})}}}},nt=gt=>{const{componentCls:Rt}=gt;return{[`${Rt}-item`]:{display:"inline-block",minWidth:gt.itemSize,height:gt.itemSize,marginInlineEnd:gt.marginXS,fontFamily:gt.fontFamily,lineHeight:`${gt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${gt.lineWidth}px ${gt.lineType} transparent`,borderRadius:gt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${gt.paginationItemPaddingInline}px`,color:gt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Rt}-item-active)`]:{"&:hover":{transition:`all ${gt.motionDurationMid}`,backgroundColor:gt.colorBgTextHover},"&:active":{backgroundColor:gt.colorBgTextActive}},"&-active":{fontWeight:gt.fontWeightStrong,backgroundColor:gt.itemActiveBg,borderColor:gt.colorPrimary,a:{color:gt.colorPrimary},"&:hover":{borderColor:gt.colorPrimaryHover},"&:hover a":{color:gt.colorPrimaryHover}}}}},tn=gt=>{const{componentCls:Rt}=gt;return{[Rt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(gt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Rt}-total-text`]:{display:"inline-block",height:gt.itemSize,marginInlineEnd:gt.marginXS,lineHeight:`${gt.itemSize-2}px`,verticalAlign:"middle"}}),nt(gt)),ht(gt)),Dn(gt)),da(gt)),ya(gt)),{[`@media only screen and (max-width: ${gt.screenLG}px)`]:{[`${Rt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${gt.screenSM}px)`]:{[`${Rt}-options`]:{display:"none"}}}),[`&${gt.componentCls}-rtl`]:{direction:"rtl"}}},vn=gt=>{const{componentCls:Rt}=gt;return{[`${Rt}${Rt}-disabled:not(${Rt}-mini)`]:{"&, &:hover":{[`${Rt}-item-link`]:{borderColor:gt.colorBorder}},"&:focus-visible":{[`${Rt}-item-link`]:{borderColor:gt.colorBorder}},[`${Rt}-item, ${Rt}-item-link`]:{backgroundColor:gt.colorBgContainerDisabled,borderColor:gt.colorBorder,[`&:hover:not(${Rt}-item-active)`]:{backgroundColor:gt.colorBgContainerDisabled,borderColor:gt.colorBorder,a:{color:gt.colorTextDisabled}},[`&${Rt}-item-active`]:{backgroundColor:gt.itemActiveBgDisabled}},[`${Rt}-prev, ${Rt}-next`]:{"&:hover button":{backgroundColor:gt.colorBgContainerDisabled,borderColor:gt.colorBorder,color:gt.colorTextDisabled},[`${Rt}-item-link`]:{backgroundColor:gt.colorBgContainerDisabled,borderColor:gt.colorBorder}}},[`${Rt}:not(${Rt}-mini)`]:{[`${Rt}-prev, ${Rt}-next`]:{"&:hover button":{borderColor:gt.colorPrimaryHover,backgroundColor:gt.itemBg},[`${Rt}-item-link`]:{backgroundColor:gt.itemLinkBg,borderColor:gt.colorBorder},[`&:hover ${Rt}-item-link`]:{borderColor:gt.colorPrimary,backgroundColor:gt.itemBg,color:gt.colorPrimary},[`&${Rt}-disabled`]:{[`${Rt}-item-link`]:{borderColor:gt.colorBorder,color:gt.colorTextDisabled}}},[`${Rt}-item`]:{backgroundColor:gt.itemBg,border:`${gt.lineWidth}px ${gt.lineType} ${gt.colorBorder}`,[`&:hover:not(${Rt}-item-active)`]:{borderColor:gt.colorPrimary,backgroundColor:gt.itemBg,a:{color:gt.colorPrimary}},"&-active":{borderColor:gt.colorPrimary}}}}},Vt=gt=>{const{componentCls:Rt}=gt;return{[`${Rt}:not(${Rt}-disabled)`]:{[`${Rt}-item`]:Object.assign({},(0,ke.Qy)(gt)),[`${Rt}-jump-prev, ${Rt}-jump-next`]:{"&:focus-visible":Object.assign({[`${Rt}-item-link-icon`]:{opacity:1},[`${Rt}-item-ellipsis`]:{opacity:0}},(0,ke.oN)(gt))},[`${Rt}-prev, ${Rt}-next`]:{[`&:focus-visible ${Rt}-item-link`]:Object.assign({},(0,ke.oN)(gt))}}}};var La=(0,zn.Z)("Pagination",gt=>{const Rt=(0,an.TS)(gt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:gt.marginXXS/2,paginationMiniQuickJumperInputWidth:gt.controlHeightLG*1.1,paginationItemPaddingInline:gt.marginXXS*1.5,paginationEllipsisLetterSpacing:gt.marginXXS/2,paginationSlashMarginInlineStart:gt.marginXXS,paginationSlashMarginInlineEnd:gt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Qt.e5)(gt),(0,Qt.TM)(gt));return[tn(Rt),Vt(Rt),gt.wireframe&&vn(Rt)]},gt=>({itemBg:gt.colorBgContainer,itemSize:gt.controlHeight,itemSizeSM:gt.controlHeightSM,itemActiveBg:gt.colorBgContainer,itemLinkBg:gt.colorBgContainer,itemActiveColorDisabled:gt.colorTextDisabled,itemActiveBgDisabled:gt.controlItemBgActiveDisabled,itemInputBg:gt.colorBgContainer,miniOptionsSizeChangerTop:0})),En=function(gt,Rt){var tr={};for(var Qn in gt)Object.prototype.hasOwnProperty.call(gt,Qn)&&Rt.indexOf(Qn)<0&&(tr[Qn]=gt[Qn]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Qn=Object.getOwnPropertySymbols(gt);xt{const{prefixCls:Rt,selectPrefixCls:tr,className:Qn,rootClassName:xt,style:wn,size:Za,locale:Nn,selectComponentClass:mr,responsive:Ka,showSizeChanger:wa}=gt,hr=En(gt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:fn}=(0,yt.Z)(Ka),{getPrefixCls:to,direction:Qr,pagination:zo={}}=ie.useContext($t.E_),Mr=to("pagination",Rt),[Po,ni]=La(Mr),qo=wa!=null?wa:zo.showSizeChanger,Pi=ie.useMemo(()=>{const la=ie.createElement("span",{className:`${Mr}-item-ellipsis`},"\u2022\u2022\u2022"),Ft=ie.createElement("button",{className:`${Mr}-item-link`,type:"button",tabIndex:-1},Qr==="rtl"?ie.createElement(Re.Z,null):ie.createElement(Oe.Z,null)),Kn=ie.createElement("button",{className:`${Mr}-item-link`,type:"button",tabIndex:-1},Qr==="rtl"?ie.createElement(Oe.Z,null):ie.createElement(Re.Z,null)),ua=ie.createElement("a",{className:`${Mr}-item-link`},ie.createElement("div",{className:`${Mr}-item-container`},Qr==="rtl"?ie.createElement(We.Z,{className:`${Mr}-item-link-icon`}):ie.createElement(se,{className:`${Mr}-item-link-icon`}),la)),Fn=ie.createElement("a",{className:`${Mr}-item-link`},ie.createElement("div",{className:`${Mr}-item-container`},Qr==="rtl"?ie.createElement(se,{className:`${Mr}-item-link-icon`}):ie.createElement(We.Z,{className:`${Mr}-item-link-icon`}),la));return{prevIcon:Ft,nextIcon:Kn,jumpPrevIcon:ua,jumpNextIcon:Fn}},[Qr,Mr]),[ki]=(0,It.Z)("Pagination",Lt.Z),_i=Object.assign(Object.assign({},ki),Nn),ta=(0,un.Z)(Za),Ya=ta==="small"||!!(fn&&!ta&&Ka),Kr=to("select",tr),Yn=ce()({[`${Mr}-mini`]:Ya,[`${Mr}-rtl`]:Qr==="rtl"},zo==null?void 0:zo.className,Qn,xt,ni),Mn=Object.assign(Object.assign({},zo==null?void 0:zo.style),wn);return Po(ie.createElement(St,Object.assign({},Pi,hr,{style:Mn,prefixCls:Mr,selectPrefixCls:Kr,className:Yn,selectComponentClass:mr||(Ya?An:Pt),locale:_i,showSizeChanger:qo})))},Ta=Ia},12604:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return Nt}});var te=z(87462),ie=z(67294),Fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Xe=Fe,ze=z(74643),je=function(Lt,$t){return ie.createElement(ze.Z,(0,te.Z)({},Lt,{ref:$t,icon:Xe}))},se=ie.forwardRef(je),We=z(94184),Oe=z.n(We),Re=z(4942),Ye=z(97685),ce=z(45987),De=z(21770),de=z(15105),a=z(64217);function y(St,Lt){var $t=St.disabled,un=St.prefixCls,yt=St.character,It=St.characterRender,Kt=St.index,An=St.count,Pt=St.value,Qt=St.allowHalf,ke=St.focused,zn=St.onHover,an=St.onClick,ya=function(La){zn(La,Kt)},da=function(La){an(La,Kt)},Dn=function(La){La.keyCode===de.Z.ENTER&&an(La,Kt)},ht=Kt+1,nt=new Set([un]);Pt===0&&Kt===0&&ke?nt.add("".concat(un,"-focused")):Qt&&Pt+.5>=ht&&PtKt?"true":"false","aria-posinset":Kt+1,"aria-setsize":An,tabIndex:$t?-1:0},ie.createElement("div",{className:"".concat(un,"-first")},tn),ie.createElement("div",{className:"".concat(un,"-second")},tn)));return It&&(vn=It(vn,St)),vn}var b=ie.forwardRef(y);function E(){var St=ie.useRef({});function Lt(un){return St.current[un]}function $t(un){return function(yt){St.current[un]=yt}}return[Lt,$t]}function x(St){var Lt=St.pageXOffset,$t="scrollLeft";if(typeof Lt!="number"){var un=St.document;Lt=un.documentElement[$t],typeof Lt!="number"&&(Lt=un.body[$t])}return Lt}function ee(St){var Lt,$t,un=St.ownerDocument,yt=un.body,It=un&&un.documentElement,Kt=St.getBoundingClientRect();return Lt=Kt.left,$t=Kt.top,Lt-=It.clientLeft||yt.clientLeft||0,$t-=It.clientTop||yt.clientTop||0,{left:Lt,top:$t}}function re(St){var Lt=ee(St),$t=St.ownerDocument,un=$t.defaultView||$t.parentWindow;return Lt.left+=x(un),Lt.left}var ae=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ne(St,Lt){var $t,un=St.prefixCls,yt=un===void 0?"rc-rate":un,It=St.className,Kt=St.defaultValue,An=St.value,Pt=St.count,Qt=Pt===void 0?5:Pt,ke=St.allowHalf,zn=ke===void 0?!1:ke,an=St.allowClear,ya=an===void 0?!0:an,da=St.character,Dn=da===void 0?"\u2605":da,ht=St.characterRender,nt=St.disabled,tn=St.direction,vn=tn===void 0?"ltr":tn,Vt=St.tabIndex,La=Vt===void 0?0:Vt,En=St.autoFocus,Ea=St.onHoverChange,Ia=St.onChange,Ta=St.onFocus,gt=St.onBlur,Rt=St.onKeyDown,tr=St.onMouseLeave,Qn=(0,ce.Z)(St,ae),xt=E(),wn=(0,Ye.Z)(xt,2),Za=wn[0],Nn=wn[1],mr=ie.useRef(null),Ka=function(){if(!nt){var Hn;(Hn=mr.current)===null||Hn===void 0||Hn.focus()}};ie.useImperativeHandle(Lt,function(){return{focus:Ka,blur:function(){if(!nt){var Hn;(Hn=mr.current)===null||Hn===void 0||Hn.blur()}}}});var wa=(0,De.Z)(Kt||0,{value:An}),hr=(0,Ye.Z)(wa,2),fn=hr[0],to=hr[1],Qr=(0,De.Z)(null),zo=(0,Ye.Z)(Qr,2),Mr=zo[0],Po=zo[1],ni=function(Hn,oa){var Cr=vn==="rtl",_t=Hn+1;if(zn){var Fa=Za(Hn),pr=re(Fa),vi=Fa.clientWidth;(Cr&&oa-pr>vi/2||!Cr&&oa-pr0&&!Cr||oa===de.Z.RIGHT&&_t>0&&Cr?(zn?_t-=.5:_t-=1,qo(_t),Hn.preventDefault()):oa===de.Z.LEFT&&_t{const{componentCls:Lt}=St;return{[`${Lt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:St.marginXS},"> div":{transition:`all ${St.motionDurationMid}, outline 0s`,"&:hover":{transform:St.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${St.lineWidth}px dashed ${St.starColor}`,transform:St.starHoverScale}},"&-first, &-second":{color:St.starBg,transition:`all ${St.motionDurationMid}`,userSelect:"none",[St.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Lt}-star-first, &-half ${Lt}-star-second`]:{opacity:1},[`&-half ${Lt}-star-first, &-full ${Lt}-star-second`]:{color:"inherit"}}}},Ge=St=>({[`&-rtl${St.componentCls}`]:{direction:"rtl"}}),Ze=St=>{const{componentCls:Lt}=St;return{[Lt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Se.Wf)(St)),{display:"inline-block",margin:0,padding:0,color:St.starColor,fontSize:St.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Lt} ${Lt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Be(St)),{[`+ ${Lt}-text`]:{display:"inline-block",marginInlineStart:St.marginXS,fontSize:St.fontSize}}),Ge(St))}};var it=(0,we.Z)("Rate",St=>{const Lt=(0,Qe.TS)(St,{});return[Ze(Lt)]},St=>({starColor:St.yellow6,starSize:St.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:St.colorFillContent})),Je=function(St,Lt){var $t={};for(var un in St)Object.prototype.hasOwnProperty.call(St,un)&&Lt.indexOf(un)<0&&($t[un]=St[un]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,un=Object.getOwnPropertySymbols(St);yt{const{prefixCls:$t,className:un,rootClassName:yt,style:It,tooltips:Kt,character:An=ie.createElement(se,null)}=St,Pt=Je(St,["prefixCls","className","rootClassName","style","tooltips","character"]),Qt=(nt,tn)=>{let{index:vn}=tn;return Kt?ie.createElement(Le.Z,{title:Kt[vn]},nt):nt},{getPrefixCls:ke,direction:zn,rate:an}=ie.useContext(Ae.E_),ya=ke("rate",$t),[da,Dn]=it(ya),ht=Object.assign(Object.assign({},an==null?void 0:an.style),It);return da(ie.createElement(Ce,Object.assign({ref:Lt,character:An,characterRender:Qt},Pt,{className:Oe()(un,yt,Dn,an==null?void 0:an.className),style:ht,prefixCls:ya,direction:zn})))})},46303:function(Zt,Ht,z){"use strict";z.d(Ht,{Z:function(){return Dn}});var te=z(94184),ie=z.n(te),Fe=z(67294),Xe=z(53124),ze=z(10366),se=ht=>{const{prefixCls:nt,className:tn,style:vn,size:Vt,shape:La}=ht,En=ie()({[`${nt}-lg`]:Vt==="large",[`${nt}-sm`]:Vt==="small"}),Ea=ie()({[`${nt}-circle`]:La==="circle",[`${nt}-square`]:La==="square",[`${nt}-round`]:La==="round"}),Ia=Fe.useMemo(()=>typeof Vt=="number"?{width:Vt,height:Vt,lineHeight:`${Vt}px`}:{},[Vt]);return Fe.createElement("span",{className:ie()(nt,En,Ea,tn),style:Object.assign(Object.assign({},Ia),vn)})},We=z(45930),Oe=z(67968),Re=z(45503);const Ye=new We.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ce=ht=>({height:ht,lineHeight:`${ht}px`}),De=ht=>Object.assign({width:ht},ce(ht)),de=ht=>({background:ht.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ye,animationDuration:ht.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=ht=>Object.assign({width:ht*5,minWidth:ht*5},ce(ht)),y=ht=>{const{skeletonAvatarCls:nt,gradientFromColor:tn,controlHeight:vn,controlHeightLG:Vt,controlHeightSM:La}=ht;return{[`${nt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:tn},De(vn)),[`${nt}${nt}-circle`]:{borderRadius:"50%"},[`${nt}${nt}-lg`]:Object.assign({},De(Vt)),[`${nt}${nt}-sm`]:Object.assign({},De(La))}},b=ht=>{const{controlHeight:nt,borderRadiusSM:tn,skeletonInputCls:vn,controlHeightLG:Vt,controlHeightSM:La,gradientFromColor:En}=ht;return{[`${vn}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:En,borderRadius:tn},a(nt)),[`${vn}-lg`]:Object.assign({},a(Vt)),[`${vn}-sm`]:Object.assign({},a(La))}},E=ht=>Object.assign({width:ht},ce(ht)),x=ht=>{const{skeletonImageCls:nt,imageSizeBase:tn,gradientFromColor:vn,borderRadiusSM:Vt}=ht;return{[`${nt}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:vn,borderRadius:Vt},E(tn*2)),{[`${nt}-path`]:{fill:"#bfbfbf"},[`${nt}-svg`]:Object.assign(Object.assign({},E(tn)),{maxWidth:tn*4,maxHeight:tn*4}),[`${nt}-svg${nt}-svg-circle`]:{borderRadius:"50%"}}),[`${nt}${nt}-circle`]:{borderRadius:"50%"}}},ee=(ht,nt,tn)=>{const{skeletonButtonCls:vn}=ht;return{[`${tn}${vn}-circle`]:{width:nt,minWidth:nt,borderRadius:"50%"},[`${tn}${vn}-round`]:{borderRadius:nt}}},re=ht=>Object.assign({width:ht*2,minWidth:ht*2},ce(ht)),ae=ht=>{const{borderRadiusSM:nt,skeletonButtonCls:tn,controlHeight:vn,controlHeightLG:Vt,controlHeightSM:La,gradientFromColor:En}=ht;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${tn}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:En,borderRadius:nt,width:vn*2,minWidth:vn*2},re(vn))},ee(ht,vn,tn)),{[`${tn}-lg`]:Object.assign({},re(Vt))}),ee(ht,Vt,`${tn}-lg`)),{[`${tn}-sm`]:Object.assign({},re(La))}),ee(ht,La,`${tn}-sm`))},ne=ht=>{const{componentCls:nt,skeletonAvatarCls:tn,skeletonTitleCls:vn,skeletonParagraphCls:Vt,skeletonButtonCls:La,skeletonInputCls:En,skeletonImageCls:Ea,controlHeight:Ia,controlHeightLG:Ta,controlHeightSM:gt,gradientFromColor:Rt,padding:tr,marginSM:Qn,borderRadius:xt,titleHeight:wn,blockRadius:Za,paragraphLiHeight:Nn,controlHeightXS:mr,paragraphMarginTop:Ka}=ht;return{[`${nt}`]:{display:"table",width:"100%",[`${nt}-header`]:{display:"table-cell",paddingInlineEnd:tr,verticalAlign:"top",[`${tn}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Rt},De(Ia)),[`${tn}-circle`]:{borderRadius:"50%"},[`${tn}-lg`]:Object.assign({},De(Ta)),[`${tn}-sm`]:Object.assign({},De(gt))},[`${nt}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${vn}`]:{width:"100%",height:wn,background:Rt,borderRadius:Za,[`+ ${Vt}`]:{marginBlockStart:gt}},[`${Vt}`]:{padding:0,"> li":{width:"100%",height:Nn,listStyle:"none",background:Rt,borderRadius:Za,"+ li":{marginBlockStart:mr}}},[`${Vt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${nt}-content`]:{[`${vn}, ${Vt} > li`]:{borderRadius:xt}}},[`${nt}-with-avatar ${nt}-content`]:{[`${vn}`]:{marginBlockStart:Qn,[`+ ${Vt}`]:{marginBlockStart:Ka}}},[`${nt}${nt}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(ht)),y(ht)),b(ht)),x(ht)),[`${nt}${nt}-block`]:{width:"100%",[`${La}`]:{width:"100%"},[`${En}`]:{width:"100%"}},[`${nt}${nt}-active`]:{[` ${vn}, ${Vt} > li, ${tn}, ${La}, ${En}, ${Ea} `]:Object.assign({},de(ht))}}};var pe=(0,Oe.Z)("Skeleton",ht=>{const{componentCls:nt}=ht,tn=(0,Re.TS)(ht,{skeletonAvatarCls:`${nt}-avatar`,skeletonTitleCls:`${nt}-title`,skeletonParagraphCls:`${nt}-paragraph`,skeletonButtonCls:`${nt}-button`,skeletonInputCls:`${nt}-input`,skeletonImageCls:`${nt}-image`,imageSizeBase:ht.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ht.gradientFromColor} 25%, ${ht.gradientToColor} 37%, ${ht.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ne(tn)]},ht=>{const{colorFillContent:nt,colorFill:tn}=ht,vn=nt,Vt=tn;return{color:vn,colorGradientEnd:Vt,gradientFromColor:vn,gradientToColor:Vt,titleHeight:ht.controlHeight/2,blockRadius:ht.borderRadiusSM,paragraphMarginTop:ht.marginLG+ht.marginXXS,paragraphLiHeight:ht.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ae=ht=>{const{prefixCls:nt,className:tn,rootClassName:vn,active:Vt,shape:La="circle",size:En="default"}=ht,{getPrefixCls:Ea}=Fe.useContext(Xe.E_),Ia=Ea("skeleton",nt),[Ta,gt]=pe(Ia),Rt=(0,ze.Z)(ht,["prefixCls","className"]),tr=ie()(Ia,`${Ia}-element`,{[`${Ia}-active`]:Vt},tn,vn,gt);return Ta(Fe.createElement("div",{className:tr},Fe.createElement(se,Object.assign({prefixCls:`${Ia}-avatar`,shape:La,size:En},Rt))))},Se=ht=>{const{prefixCls:nt,className:tn,rootClassName:vn,active:Vt,block:La=!1,size:En="default"}=ht,{getPrefixCls:Ea}=Fe.useContext(Xe.E_),Ia=Ea("skeleton",nt),[Ta,gt]=pe(Ia),Rt=(0,ze.Z)(ht,["prefixCls"]),tr=ie()(Ia,`${Ia}-element`,{[`${Ia}-active`]:Vt,[`${Ia}-block`]:La},tn,vn,gt);return Ta(Fe.createElement("div",{className:tr},Fe.createElement(se,Object.assign({prefixCls:`${Ia}-button`,size:En},Rt))))};const we="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Be=ht=>{const{prefixCls:nt,className:tn,rootClassName:vn,style:Vt,active:La}=ht,{getPrefixCls:En}=Fe.useContext(Xe.E_),Ea=En("skeleton",nt),[Ia,Ta]=pe(Ea),gt=ie()(Ea,`${Ea}-element`,{[`${Ea}-active`]:La},tn,vn,Ta);return Ia(Fe.createElement("div",{className:gt},Fe.createElement("div",{className:ie()(`${Ea}-image`,tn),style:Vt},Fe.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Ea}-image-svg`},Fe.createElement("path",{d:we,className:`${Ea}-image-path`})))))},Ze=ht=>{const{prefixCls:nt,className:tn,rootClassName:vn,active:Vt,block:La,size:En="default"}=ht,{getPrefixCls:Ea}=Fe.useContext(Xe.E_),Ia=Ea("skeleton",nt),[Ta,gt]=pe(Ia),Rt=(0,ze.Z)(ht,["prefixCls"]),tr=ie()(Ia,`${Ia}-element`,{[`${Ia}-active`]:Vt,[`${Ia}-block`]:La},tn,vn,gt);return Ta(Fe.createElement("div",{className:tr},Fe.createElement(se,Object.assign({prefixCls:`${Ia}-input`,size:En},Rt))))},it=z(87462),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Dt=Je,Nt=z(74643),St=function(nt,tn){return Fe.createElement(Nt.Z,(0,it.Z)({},nt,{ref:tn,icon:Dt}))},Lt=Fe.forwardRef(St),un=ht=>{const{prefixCls:nt,className:tn,rootClassName:vn,style:Vt,active:La,children:En}=ht,{getPrefixCls:Ea}=Fe.useContext(Xe.E_),Ia=Ea("skeleton",nt),[Ta,gt]=pe(Ia),Rt=ie()(Ia,`${Ia}-element`,{[`${Ia}-active`]:La},gt,tn,vn),tr=En!=null?En:Fe.createElement(Lt,null);return Ta(Fe.createElement("div",{className:Rt},Fe.createElement("div",{className:ie()(`${Ia}-image`,tn),style:Vt},tr)))},yt=z(74902),Kt=ht=>{const nt=Ea=>{const{width:Ia,rows:Ta=2}=ht;if(Array.isArray(Ia))return Ia[Ea];if(Ta-1===Ea)return Ia},{prefixCls:tn,className:vn,style:Vt,rows:La}=ht,En=(0,yt.Z)(Array(La)).map((Ea,Ia)=>Fe.createElement("li",{key:Ia,style:{width:nt(Ia)}}));return Fe.createElement("ul",{className:ie()(tn,vn),style:Vt},En)},Pt=ht=>{let{prefixCls:nt,className:tn,width:vn,style:Vt}=ht;return Fe.createElement("h3",{className:ie()(nt,tn),style:Object.assign({width:vn},Vt)})};function Qt(ht){return ht&&typeof ht=="object"?ht:{}}function ke(ht,nt){return ht&&!nt?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function zn(ht,nt){return!ht&&nt?{width:"38%"}:ht&&nt?{width:"50%"}:{}}function an(ht,nt){const tn={};return(!ht||!nt)&&(tn.width="61%"),!ht&&nt?tn.rows=3:tn.rows=2,tn}const ya=ht=>{const{prefixCls:nt,loading:tn,className:vn,rootClassName:Vt,style:La,children:En,avatar:Ea=!1,title:Ia=!0,paragraph:Ta=!0,active:gt,round:Rt}=ht,{getPrefixCls:tr,direction:Qn,skeleton:xt}=Fe.useContext(Xe.E_),wn=tr("skeleton",nt),[Za,Nn]=pe(wn);if(tn||!("loading"in ht)){const mr=!!Ea,Ka=!!Ia,wa=!!Ta;let hr;if(mr){const Qr=Object.assign(Object.assign({prefixCls:`${wn}-avatar`},ke(Ka,wa)),Qt(Ea));hr=Fe.createElement("div",{className:`${wn}-header`},Fe.createElement(se,Object.assign({},Qr)))}let fn;if(Ka||wa){let Qr;if(Ka){const Mr=Object.assign(Object.assign({prefixCls:`${wn}-title`},zn(mr,wa)),Qt(Ia));Qr=Fe.createElement(Pt,Object.assign({},Mr))}let zo;if(wa){const Mr=Object.assign(Object.assign({prefixCls:`${wn}-paragraph`},an(mr,Ka)),Qt(Ta));zo=Fe.createElement(Kt,Object.assign({},Mr))}fn=Fe.createElement("div",{className:`${wn}-content`},Qr,zo)}const to=ie()(wn,{[`${wn}-with-avatar`]:mr,[`${wn}-active`]:gt,[`${wn}-rtl`]:Qn==="rtl",[`${wn}-round`]:Rt},xt==null?void 0:xt.className,vn,Vt,Nn);return Za(Fe.createElement("div",{className:to,style:Object.assign(Object.assign({},xt==null?void 0:xt.style),La)},hr,fn))}return typeof En!="undefined"?En:null};ya.Button=Se,ya.Avatar=Ae,ya.Input=Ze,ya.Image=Be,ya.Node=un;var da=ya,Dn=da},55054:function(Zt,Ht,z){"use strict";z.d(Ht,{default:function(){return pe}});var te=z(67294),ie=z(57838),Fe=z(96159),Xe=z(94184),ze=z.n(Xe),je=z(53124),se=z(46303),Oe=Ce=>{const{value:Ae,formatter:Le,precision:Se,decimalSeparator:we,groupSeparator:Qe="",prefixCls:Be}=Ce;let Ge;if(typeof Le=="function")Ge=Le(Ae);else{const Ze=String(Ae),it=Ze.match(/^(-?)(\d*)(\.(\d+))?$/);if(!it||Ze==="-")Ge=Ze;else{const Je=it[1];let Dt=it[2]||"0",Nt=it[4]||"";Dt=Dt.replace(/\B(?=(\d{3})+(?!\d))/g,Qe),typeof Se=="number"&&(Nt=Nt.padEnd(Se,"0").slice(0,Se>0?Se:0)),Nt&&(Nt=`${we}${Nt}`),Ge=[te.createElement("span",{key:"int",className:`${Be}-content-value-int`},Je,Dt),Nt&&te.createElement("span",{key:"decimal",className:`${Be}-content-value-decimal`},Nt)]}}return te.createElement("span",{className:`${Be}-content-value`},Ge)},Re=z(14747),Ye=z(67968),ce=z(45503);const De=Ce=>{const{componentCls:Ae,marginXXS:Le,padding:Se,colorTextDescription:we,titleFontSize:Qe,colorTextHeading:Be,contentFontSize:Ge,fontFamily:Ze}=Ce;return{[`${Ae}`]:Object.assign(Object.assign({},(0,Re.Wf)(Ce)),{[`${Ae}-title`]:{marginBottom:Le,color:we,fontSize:Qe},[`${Ae}-skeleton`]:{paddingTop:Se},[`${Ae}-content`]:{color:Be,fontSize:Ge,fontFamily:Ze,[`${Ae}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ae}-content-prefix, ${Ae}-content-suffix`]:{display:"inline-block"},[`${Ae}-content-prefix`]:{marginInlineEnd:Le},[`${Ae}-content-suffix`]:{marginInlineStart:Le}}})}};var de=(0,Ye.Z)("Statistic",Ce=>{const Ae=(0,ce.TS)(Ce,{});return[De(Ae)]},Ce=>{const{fontSizeHeading3:Ae,fontSize:Le}=Ce;return{titleFontSize:Le,contentFontSize:Ae}}),y=Ce=>{const{prefixCls:Ae,className:Le,rootClassName:Se,style:we,valueStyle:Qe,value:Be=0,title:Ge,valueRender:Ze,prefix:it,suffix:Je,loading:Dt=!1,onMouseEnter:Nt,onMouseLeave:St,decimalSeparator:Lt=".",groupSeparator:$t=","}=Ce,{getPrefixCls:un,direction:yt,statistic:It}=te.useContext(je.E_),Kt=un("statistic",Ae),[An,Pt]=de(Kt),Qt=te.createElement(Oe,Object.assign({decimalSeparator:Lt,groupSeparator:$t,prefixCls:Kt},Ce,{value:Be})),ke=ze()(Kt,{[`${Kt}-rtl`]:yt==="rtl"},It==null?void 0:It.className,Le,Se,Pt);return An(te.createElement("div",{className:ke,style:Object.assign(Object.assign({},It==null?void 0:It.style),we),onMouseEnter:Nt,onMouseLeave:St},Ge&&te.createElement("div",{className:`${Kt}-title`},Ge),te.createElement(se.Z,{paragraph:!1,loading:Dt,className:`${Kt}-skeleton`},te.createElement("div",{style:Qe,className:`${Kt}-content`},it&&te.createElement("span",{className:`${Kt}-content-prefix`},it),Ze?Ze(Qt):Qt,Je&&te.createElement("span",{className:`${Kt}-content-suffix`},Je)))))};const b=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function E(Ce,Ae){let Le=Ce;const Se=/\[[^\]]*]/g,we=(Ae.match(Se)||[]).map(Ze=>Ze.slice(1,-1)),Qe=Ae.replace(Se,"[]"),Be=b.reduce((Ze,it)=>{let[Je,Dt]=it;if(Ze.includes(Je)){const Nt=Math.floor(Le/Dt);return Le-=Nt*Dt,Ze.replace(new RegExp(`${Je}+`,"g"),St=>{const Lt=St.length;return Nt.toString().padStart(Lt,"0")})}return Ze},Qe);let Ge=0;return Be.replace(Se,()=>{const Ze=we[Ge];return Ge+=1,Ze})}function x(Ce,Ae){const{format:Le=""}=Ae,Se=new Date(Ce).getTime(),we=Date.now(),Qe=Math.max(Se-we,0);return E(Qe,Le)}const ee=1e3/30;function re(Ce){return new Date(Ce).getTime()}const ae=Ce=>{const{value:Ae,format:Le="HH:mm:ss",onChange:Se,onFinish:we}=Ce,Qe=(0,ie.Z)(),Be=te.useRef(null),Ge=()=>{we==null||we(),Be.current&&(clearInterval(Be.current),Be.current=null)},Ze=()=>{const Dt=re(Ae);Dt>=Date.now()&&(Be.current=setInterval(()=>{Qe(),Se==null||Se(Dt-Date.now()),Dt(Ze(),()=>{Be.current&&(clearInterval(Be.current),Be.current=null)}),[Ae]);const it=(Dt,Nt)=>x(Dt,Object.assign(Object.assign({},Nt),{format:Le})),Je=Dt=>(0,Fe.Tm)(Dt,{title:void 0});return te.createElement(y,Object.assign({},Ce,{valueRender:Je,formatter:it}))};var ne=te.memo(ae);y.Countdown=ne;var pe=y},49867:function(Zt,Ht,z){"use strict";z.d(Ht,{N:function(){return te}});const te=ie=>({color:ie.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ie.motionDurationSlow}`,"&:focus, &:hover":{color:ie.colorLinkHover},"&:active":{color:ie.colorLinkActive}})},9430:function(Zt,Ht,z){"use strict";z.d(Ht,{default:function(){return ol}});var te={},ie="rc-table-internal-hook",Fe=z(97685),Xe=z(66680),ze=z(8410),je=z(91881),se=z(67294),We=z(73935);function Oe(ge){var fe=se.createContext(void 0),Ne=function($e){var ct=$e.value,Mt=$e.children,Ut=se.useRef(ct);Ut.current=ct;var Et=se.useState(function(){return{getValue:function(){return Ut.current},listeners:new Set}}),Ct=(0,Fe.Z)(Et,1),Yt=Ct[0];return(0,ze.Z)(function(){(0,We.unstable_batchedUpdates)(function(){Yt.listeners.forEach(function(zt){zt(ct)})})},[ct]),se.createElement(fe.Provider,{value:Yt},Mt)};return{Context:fe,Provider:Ne,defaultValue:ge}}function Re(ge,fe){var Ne=(0,Xe.Z)(typeof fe=="function"?fe:function(zt){if(fe===void 0)return zt;if(!Array.isArray(fe))return zt[fe];var pn={};return fe.forEach(function(Rn){pn[Rn]=zt[Rn]}),pn}),Te=se.useContext(ge==null?void 0:ge.Context),$e=Te||{},ct=$e.listeners,Mt=$e.getValue,Ut=se.useRef();Ut.current=Ne(Te?Mt():ge==null?void 0:ge.defaultValue);var Et=se.useState({}),Ct=(0,Fe.Z)(Et,2),Yt=Ct[1];return(0,ze.Z)(function(){if(!Te)return;function zt(pn){var Rn=Ne(pn);(0,je.Z)(Ut.current,Rn,!0)||Yt({})}return ct.add(zt),function(){ct.delete(zt)}},[Te]),Ut.current}var Ye=z(87462),ce=z(42550);function De(){var ge=se.createContext(null);function fe(){return se.useContext(ge)}function Ne($e,ct){var Mt=(0,ce.Yr)($e),Ut=function(Ct,Yt){var zt=Mt?{ref:Yt}:{},pn=se.useRef(0),Rn=se.useRef(Ct),Zn=fe();return Zn!==null?se.createElement($e,(0,Ye.Z)({},Ct,zt)):((!ct||ct(Rn.current,Ct))&&(pn.current+=1),Rn.current=Ct,se.createElement(ge.Provider,{value:pn.current},se.createElement($e,(0,Ye.Z)({},Ct,zt))))};return Mt?se.forwardRef(Ut):Ut}function Te($e,ct){var Mt=(0,ce.Yr)($e),Ut=function(Ct,Yt){var zt=Mt?{ref:Yt}:{};return fe(),se.createElement($e,(0,Ye.Z)({},Ct,zt))};return Mt?se.memo(se.forwardRef(Ut),ct):se.memo(Ut,ct)}return{makeImmutable:Ne,responseImmutable:Te,useImmutableMark:fe}}var de=De(),a=de.makeImmutable,y=de.responseImmutable,b=de.useImmutableMark,E=De(),x=E.makeImmutable,ee=E.responseImmutable,re=E.useImmutableMark,ae=Oe(),ne=ae;function pe(ge,fe){var Ne=se.useRef(0);Ne.current+=1;var Te=se.useRef(ge),$e=[];Object.keys(ge||{}).map(function(Mt){var Ut;(ge==null?void 0:ge[Mt])!==((Ut=Te.current)===null||Ut===void 0?void 0:Ut[Mt])&&$e.push(Mt)}),Te.current=ge;var ct=se.useRef([]);return $e.length&&(ct.current=$e),se.useDebugValue(Ne.current),se.useDebugValue(ct.current.join(", ")),fe&&console.log("".concat(fe,":"),Ne.current,ct.current),Ne.current}var Ce=null,Ae=se.memo(function(){var ge=pe();return se.createElement("h1",null,"Render Times: ",ge)});Ae.displayName="RenderBlock";var Le=z(71002),Se=z(1413),we=z(4942),Qe=z(94184),Be=z.n(Qe);function Ge(ge,fe,Ne){var Te=se.useRef({});return(!("value"in Te.current)||Ne(Te.current.condition,fe))&&(Te.current.value=ge(),Te.current.condition=fe),Te.current.value}var Ze={},it=[],Je=function(fe){it.push(fe)};function Dt(ge,fe){if(0)var Ne}function Nt(ge,fe){if(0)var Ne}function St(){Ze={}}function Lt(ge,fe,Ne){!fe&&!Ze[Ne]&&(ge(!1,Ne),Ze[Ne]=!0)}function $t(ge,fe){Lt(Dt,ge,fe)}function un(ge,fe){Lt(Nt,ge,fe)}$t.preMessage=Je,$t.resetWarned=St,$t.noteOnce=un;var yt=$t;function It(ge,fe){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Te=new Set;function $e(ct,Mt){var Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Et=Te.has(ct);if(yt(!Et,"Warning: There may be circular references"),Et)return!1;if(ct===Mt)return!0;if(Ne&&Ut>1)return!1;Te.add(ct);var Ct=Ut+1;if(Array.isArray(ct)){if(!Array.isArray(Mt)||ct.length!==Mt.length)return!1;for(var Yt=0;Yt=Ne}function nt(ge,fe){return Re(ne,function(Ne){var Te=ht(ge,fe||1,Ne.hoverStartRow,Ne.hoverEndRow);return[Te,Ne.onHover]})}var tn=function(fe){var Ne=fe.ellipsis,Te=fe.rowType,$e=fe.children,ct,Mt=Ne===!0?{showTitle:!0}:Ne;return Mt&&(Mt.showTitle||Te==="header")&&(typeof $e=="string"||typeof $e=="number"?ct=$e.toString():se.isValidElement($e)&&typeof $e.props.children=="string"&&(ct=$e.props.children)),ct};function vn(ge){var fe,Ne,Te,$e,ct,Mt,Ut,Et,Ct=ge.component,Yt=ge.children,zt=ge.ellipsis,pn=ge.scope,Rn=ge.prefixCls,Zn=ge.className,Wa=ge.align,Ba=ge.record,Qa=ge.render,Da=ge.dataIndex,rr=ge.renderIndex,Xa=ge.shouldCellUpdate,lr=ge.index,Ja=ge.rowType,Br=ge.colSpan,qr=ge.rowSpan,or=ge.fixLeft,ra=ge.fixRight,Jn=ge.firstFixLeft,Ma=ge.lastFixLeft,cr=ge.firstFixRight,wr=ge.lastFixRight,eo=ge.appendNode,uo=ge.additionalProps,zr=uo===void 0?{}:uo,Bo=ge.isSticky,Lo="".concat(Rn,"-cell"),ri=Re(ne,["supportSticky","allColumnsFixedLeft"]),Ii=ri.supportSticky,Fl=ri.allColumnsFixedLeft,Bl=Dn(Ba,Da,rr,Yt,Qa,Xa),ui=(0,Fe.Z)(Bl,2),Wl=ui[0],Pr=ui[1],Fo={},Wr=typeof or=="number"&&Ii,vo=typeof ra=="number"&&Ii;Wr&&(Fo.position="sticky",Fo.left=or),vo&&(Fo.position="sticky",Fo.right=ra);var xr=(fe=(Ne=(Te=Pr==null?void 0:Pr.colSpan)!==null&&Te!==void 0?Te:zr.colSpan)!==null&&Ne!==void 0?Ne:Br)!==null&&fe!==void 0?fe:1,Ur=($e=(ct=(Mt=Pr==null?void 0:Pr.rowSpan)!==null&&Mt!==void 0?Mt:zr.rowSpan)!==null&&ct!==void 0?ct:qr)!==null&&$e!==void 0?$e:1,Zr=nt(lr,Ur),jr=(0,Fe.Z)(Zr,2),yi=jr[0],bo=jr[1],Qo=function(jl){var fs;Ba&&bo(lr,lr+Ur-1),zr==null||(fs=zr.onMouseEnter)===null||fs===void 0||fs.call(zr,jl)},zi=function(jl){var fs;Ba&&bo(-1,-1),zr==null||(fs=zr.onMouseLeave)===null||fs===void 0||fs.call(zr,jl)};if(xr===0||Ur===0)return null;var Li=(Ut=zr.title)!==null&&Ut!==void 0?Ut:tn({rowType:Ja,ellipsis:zt,children:Wl}),ju=Be()(Lo,Zn,(Et={},(0,we.Z)(Et,"".concat(Lo,"-fix-left"),Wr&&Ii),(0,we.Z)(Et,"".concat(Lo,"-fix-left-first"),Jn&&Ii),(0,we.Z)(Et,"".concat(Lo,"-fix-left-last"),Ma&&Ii),(0,we.Z)(Et,"".concat(Lo,"-fix-left-all"),Ma&&Fl&&Ii),(0,we.Z)(Et,"".concat(Lo,"-fix-right"),vo&&Ii),(0,we.Z)(Et,"".concat(Lo,"-fix-right-first"),cr&&Ii),(0,we.Z)(Et,"".concat(Lo,"-fix-right-last"),wr&&Ii),(0,we.Z)(Et,"".concat(Lo,"-ellipsis"),zt),(0,we.Z)(Et,"".concat(Lo,"-with-append"),eo),(0,we.Z)(Et,"".concat(Lo,"-fix-sticky"),(Wr||vo)&&Bo&&Ii),(0,we.Z)(Et,"".concat(Lo,"-row-hover"),!Pr&&yi),Et),zr.className,Pr==null?void 0:Pr.className),_u={};Wa&&(_u.textAlign=Wa);var Ks=(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},Fo),zr.style),_u),Pr==null?void 0:Pr.style),Su=Wl;return(0,Le.Z)(Su)==="object"&&!Array.isArray(Su)&&!se.isValidElement(Su)&&(Su=null),zt&&(Ma||cr)&&(Su=se.createElement("span",{className:"".concat(Lo,"-content")},Su)),se.createElement(Ct,(0,Ye.Z)({},Pr,zr,{className:ju,style:Ks,title:Li,scope:pn,onMouseEnter:Qo,onMouseLeave:zi,colSpan:xr!==1?xr:null,rowSpan:Ur!==1?Ur:null}),eo,Su)}var Vt=se.memo(vn);function La(ge,fe,Ne,Te,$e,ct){var Mt=Ne[ge]||{},Ut=Ne[fe]||{},Et,Ct;Mt.fixed==="left"?Et=Te.left[$e==="rtl"?fe:ge]:Ut.fixed==="right"&&(Ct=Te.right[$e==="rtl"?ge:fe]);var Yt=!1,zt=!1,pn=!1,Rn=!1,Zn=Ne[fe+1],Wa=Ne[ge-1],Ba=!(ct!=null&&ct.children);if($e==="rtl"){if(Et!==void 0){var Qa=Wa&&Wa.fixed==="left";Rn=!Qa&&Ba}else if(Ct!==void 0){var Da=Zn&&Zn.fixed==="right";pn=!Da&&Ba}}else if(Et!==void 0){var rr=Zn&&Zn.fixed==="left";Yt=!rr&&Ba}else if(Ct!==void 0){var Xa=Wa&&Wa.fixed==="right";zt=!Xa&&Ba}return{fixLeft:Et,fixRight:Ct,lastFixLeft:Yt,firstFixRight:zt,lastFixRight:pn,firstFixLeft:Rn,isSticky:Te.isSticky}}var En=se.createContext({}),Ea=En;function Ia(ge){var fe=ge.className,Ne=ge.index,Te=ge.children,$e=ge.colSpan,ct=$e===void 0?1:$e,Mt=ge.rowSpan,Ut=ge.align,Et=Re(ne,["prefixCls","direction"]),Ct=Et.prefixCls,Yt=Et.direction,zt=se.useContext(Ea),pn=zt.scrollColumnIndex,Rn=zt.stickyOffsets,Zn=zt.flattenColumns,Wa=zt.columns,Ba=Ne+ct-1,Qa=Ba+1===pn?ct+1:ct,Da=La(Ne,Ne+Qa-1,Zn,Rn,Yt,Wa==null?void 0:Wa[Ne]);return se.createElement(Vt,(0,Ye.Z)({className:fe,index:Ne,component:"td",prefixCls:Ct,record:null,dataIndex:null,align:Ut,colSpan:Qa,rowSpan:Mt,render:function(){return Te}},Da))}var Ta=z(45987),gt=["children"];function Rt(ge){var fe=ge.children,Ne=(0,Ta.Z)(ge,gt);return se.createElement("tr",Ne,fe)}function tr(ge){var fe=ge.children;return fe}tr.Row=Rt,tr.Cell=Ia;var Qn=tr;function xt(ge){var fe=ge.children,Ne=ge.stickyOffsets,Te=ge.flattenColumns,$e=ge.columns,ct=Re(ne,"prefixCls"),Mt=Te.length-1,Ut=Te[Mt],Et=se.useMemo(function(){return{stickyOffsets:Ne,flattenColumns:Te,scrollColumnIndex:Ut!=null&&Ut.scrollbar?Mt:null,columns:$e}},[Ut,Te,Mt,Ne,$e]);return se.createElement(Ea.Provider,{value:Et},se.createElement("tfoot",{className:"".concat(ct,"-summary")},fe))}var wn=ee(xt),Za=Qn;function Nn(ge){var fe=se.useRef();fe.current=ge;var Ne=se.useCallback(function(){for(var Te,$e=arguments.length,ct=new Array($e),Mt=0;Mt<$e;Mt++)ct[Mt]=arguments[Mt];return(Te=fe.current)===null||Te===void 0?void 0:Te.call.apply(Te,[fe].concat(ct))},[]);return Ne}function mr(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ka=mr()?se.useLayoutEffect:se.useEffect,wa=function(fe,Ne){var Te=React.useRef(!0);Ka(function(){return fe(Te.current)},Ne),Ka(function(){return Te.current=!1,function(){Te.current=!0}},[])},hr=function(fe,Ne){wa(function(Te){if(!Te)return fe()},Ne)},fn=null;function to(ge){var fe=React.useRef(!1),Ne=React.useState(ge),Te=_slicedToArray(Ne,2),$e=Te[0],ct=Te[1];React.useEffect(function(){return fe.current=!1,function(){fe.current=!0}},[]);function Mt(Ut,Et){Et&&fe.current||ct(Ut)}return[$e,Mt]}function Qr(ge){return ge!==void 0}function zo(ge,fe){var Ne=fe||{},Te=Ne.defaultValue,$e=Ne.value,ct=Ne.onChange,Mt=Ne.postState,Ut=useState(function(){return Qr($e)?$e:Qr(Te)?typeof Te=="function"?Te():Te:typeof ge=="function"?ge():ge}),Et=_slicedToArray(Ut,2),Ct=Et[0],Yt=Et[1],zt=$e!==void 0?$e:Ct,pn=Mt?Mt(zt):zt,Rn=useEvent(ct),Zn=useState([zt]),Wa=_slicedToArray(Zn,2),Ba=Wa[0],Qa=Wa[1];useLayoutUpdateEffect(function(){var rr=Ba[0];Ct!==rr&&Rn(Ct,rr)},[Ba]),useLayoutUpdateEffect(function(){Qr($e)||Yt($e)},[$e]);var Da=useEvent(function(rr,Xa){Yt(rr,Xa),Qa([zt],Xa)});return[pn,Da]}var Mr=z(35110);function Po(ge,fe){typeof ge=="function"?ge(fe):(0,Le.Z)(ge)==="object"&&ge&&"current"in ge&&(ge.current=fe)}function ni(){for(var ge=arguments.length,fe=new Array(ge),Ne=0;Ne3&&arguments[3]!==void 0?arguments[3]:!1;return fe.length&&Te&&Ne===void 0&&!get(ge,fe.slice(0,-1))?ge:_i(ge,fe,Ne,Te)}function Ya(ge){return _typeof(ge)==="object"&&ge!==null&&Object.getPrototypeOf(ge)===Object.prototype}function Kr(ge){return Array.isArray(ge)?[]:{}}var Yn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Mn(){for(var ge=arguments.length,fe=new Array(ge),Ne=0;Ne