!(function(){var lw=Object.defineProperty,uw=Object.defineProperties;var cw=Object.getOwnPropertyDescriptors;var rv=Object.getOwnPropertySymbols;var wx=Object.prototype.hasOwnProperty,Px=Object.prototype.propertyIsEnumerable;var _y=Math.pow,xx=(Rn,Fn,ye)=>Fn in Rn?lw(Rn,Fn,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Rn[Fn]=ye,da=(Rn,Fn)=>{for(var ye in Fn||(Fn={}))wx.call(Fn,ye)&&xx(Rn,ye,Fn[ye]);if(rv)for(var ye of rv(Fn))Px.call(Fn,ye)&&xx(Rn,ye,Fn[ye]);return Rn},tl=(Rn,Fn)=>uw(Rn,cw(Fn));var ov=(Rn,Fn)=>{var ye={};for(var Se in Rn)wx.call(Rn,Se)&&Fn.indexOf(Se)<0&&(ye[Se]=Rn[Se]);if(Rn!=null&&rv)for(var Se of rv(Rn))Fn.indexOf(Se)<0&&Px.call(Rn,Se)&&(ye[Se]=Rn[Se]);return ye};var Cx=(Rn,Fn,ye)=>new Promise((Se,Oe)=>{var He=vt=>{try{_e(ye.next(vt))}catch(ke){Oe(ke)}},Rt=vt=>{try{_e(ye.throw(vt))}catch(ke){Oe(ke)}},_e=vt=>vt.done?Se(vt.value):Promise.resolve(vt.value).then(He,Rt);_e((ye=ye.apply(Rn,Fn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[4030],{35323:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},19155:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},10402:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},93343:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},80205:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},61441:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},30631:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},43971:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},58358:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},44757:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},16537:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},77042:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},5527:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},86902:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},53878:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},21970:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(et,gt){return Oe.createElement(_e.Z,(0,Se.Z)({},et,{ref:gt,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke},87954:function(Rn,Fn,ye){"use strict";ye.d(Fn,{LB:function(){return Li},g4:function(){return Ut},VK:function(){return Mt},Cj:function(){return Nr},O1:function(){return dr},Zj:function(){return er}});var Se=ye(59301),Oe=ye(4676),He=ye(35241);const Rt={display:"none"};function _e(pt){let{id:It,value:sn}=pt;return Se.createElement("div",{id:It,style:Rt},sn)}function vt(pt){let{id:It,announcement:sn,ariaLiveType:Hn="assertive"}=pt;const On={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return Se.createElement("div",{id:It,style:On,role:"status","aria-live":Hn,"aria-atomic":!0},sn)}function ke(){const[pt,It]=(0,Se.useState)("");return{announce:(0,Se.useCallback)(Hn=>{Hn!=null&&It(Hn)},[]),announcement:pt}}const Tt=(0,Se.createContext)(null);function Lt(pt){const It=(0,Se.useContext)(Tt);(0,Se.useEffect)(()=>{if(!It)throw new Error("useDndMonitor must be used within a children of ");return It(pt)},[pt,It])}function et(){const[pt]=(0,Se.useState)(()=>new Set),It=(0,Se.useCallback)(Hn=>(pt.add(Hn),()=>pt.delete(Hn)),[pt]);return[(0,Se.useCallback)(Hn=>{let{type:On,event:Wt}=Hn;pt.forEach(Nn=>{var ai;return(ai=Nn[On])==null?void 0:ai.call(Nn,Wt)})},[pt]),It]}const gt={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. `},ct={onDragStart(pt){let{active:It}=pt;return"Picked up draggable item "+It.id+"."},onDragOver(pt){let{active:It,over:sn}=pt;return sn?"Draggable item "+It.id+" was moved over droppable area "+sn.id+".":"Draggable item "+It.id+" is no longer over a droppable area."},onDragEnd(pt){let{active:It,over:sn}=pt;return sn?"Draggable item "+It.id+" was dropped over droppable area "+sn.id:"Draggable item "+It.id+" was dropped."},onDragCancel(pt){let{active:It}=pt;return"Dragging was cancelled. Draggable item "+It.id+" was dropped."}};function wt(pt){let{announcements:It=ct,container:sn,hiddenTextDescribedById:Hn,screenReaderInstructions:On=gt}=pt;const{announce:Wt,announcement:Nn}=ke(),ai=(0,He.Ld)("DndLiveRegion"),[qn,Oi]=(0,Se.useState)(!1);if((0,Se.useEffect)(()=>{Oi(!0)},[]),Lt((0,Se.useMemo)(()=>({onDragStart(pi){let{active:Gi}=pi;Wt(It.onDragStart({active:Gi}))},onDragMove(pi){let{active:Gi,over:zn}=pi;It.onDragMove&&Wt(It.onDragMove({active:Gi,over:zn}))},onDragOver(pi){let{active:Gi,over:zn}=pi;Wt(It.onDragOver({active:Gi,over:zn}))},onDragEnd(pi){let{active:Gi,over:zn}=pi;Wt(It.onDragEnd({active:Gi,over:zn}))},onDragCancel(pi){let{active:Gi,over:zn}=pi;Wt(It.onDragCancel({active:Gi,over:zn}))}}),[Wt,It])),!qn)return null;const Bi=Se.createElement(Se.Fragment,null,Se.createElement(_e,{id:Hn,value:On.draggable}),Se.createElement(vt,{id:ai,announcement:Nn}));return sn?(0,Oe.createPortal)(Bi,sn):Bi}var Me;(function(pt){pt.DragStart="dragStart",pt.DragMove="dragMove",pt.DragEnd="dragEnd",pt.DragCancel="dragCancel",pt.DragOver="dragOver",pt.RegisterDroppable="registerDroppable",pt.SetDroppableDisabled="setDroppableDisabled",pt.UnregisterDroppable="unregisterDroppable"})(Me||(Me={}));function te(){}function ne(pt,It){return useMemo(()=>({sensor:pt,options:It!=null?It:{}}),[pt,It])}function ce(){for(var pt=arguments.length,It=new Array(pt),sn=0;sn[...It].filter(Hn=>Hn!=null),[...It])}const se=Object.freeze({x:0,y:0});function ge(pt,It){return Math.sqrt(Math.pow(pt.x-It.x,2)+Math.pow(pt.y-It.y,2))}function ve(pt,It){const sn=getEventCoordinates(pt);if(!sn)return"0 0";const Hn={x:(sn.x-It.left)/It.width*100,y:(sn.y-It.top)/It.height*100};return Hn.x+"% "+Hn.y+"%"}function be(pt,It){let{data:{value:sn}}=pt,{data:{value:Hn}}=It;return sn-Hn}function Fe(pt,It){let{data:{value:sn}}=pt,{data:{value:Hn}}=It;return Hn-sn}function Pe(pt){let{left:It,top:sn,height:Hn,width:On}=pt;return[{x:It,y:sn},{x:It+On,y:sn},{x:It,y:sn+Hn},{x:It+On,y:sn+Hn}]}function Ie(pt,It){if(!pt||pt.length===0)return null;const[sn]=pt;return It?sn[It]:sn}function We(pt,It,sn){return It===void 0&&(It=pt.left),sn===void 0&&(sn=pt.top),{x:It+pt.width*.5,y:sn+pt.height*.5}}const Ke=pt=>{let{collisionRect:It,droppableRects:sn,droppableContainers:Hn}=pt;const On=We(It,It.left,It.top),Wt=[];for(const Nn of Hn){const{id:ai}=Nn,qn=sn.get(ai);if(qn){const Oi=ge(We(qn),On);Wt.push({id:ai,data:{droppableContainer:Nn,value:Oi}})}}return Wt.sort(be)},Xe=pt=>{let{collisionRect:It,droppableRects:sn,droppableContainers:Hn}=pt;const On=Pe(It),Wt=[];for(const Nn of Hn){const{id:ai}=Nn,qn=sn.get(ai);if(qn){const Oi=Pe(qn),Bi=On.reduce((Gi,zn,_r)=>Gi+ge(Oi[_r],zn),0),pi=Number((Bi/4).toFixed(4));Wt.push({id:ai,data:{droppableContainer:Nn,value:pi}})}}return Wt.sort(be)};function ht(pt,It){const sn=Math.max(It.top,pt.top),Hn=Math.max(It.left,pt.left),On=Math.min(It.left+It.width,pt.left+pt.width),Wt=Math.min(It.top+It.height,pt.top+pt.height),Nn=On-Hn,ai=Wt-sn;if(Hn{let{collisionRect:It,droppableRects:sn,droppableContainers:Hn}=pt;const On=[];for(const Wt of Hn){const{id:Nn}=Wt,ai=sn.get(Nn);if(ai){const qn=ht(ai,It);qn>0&&On.push({id:Nn,data:{droppableContainer:Wt,value:qn}})}}return On.sort(Fe)};function Nt(pt,It){const{top:sn,left:Hn,bottom:On,right:Wt}=It;return sn<=pt.y&&pt.y<=On&&Hn<=pt.x&&pt.x<=Wt}const qe=pt=>{let{droppableContainers:It,droppableRects:sn,pointerCoordinates:Hn}=pt;if(!Hn)return[];const On=[];for(const Wt of It){const{id:Nn}=Wt,ai=sn.get(Nn);if(ai&&Nt(Hn,ai)){const Oi=Pe(ai).reduce((pi,Gi)=>pi+ge(Hn,Gi),0),Bi=Number((Oi/4).toFixed(4));On.push({id:Nn,data:{droppableContainer:Wt,value:Bi}})}}return On.sort(be)};function Ht(pt,It,sn){return tl(da({},pt),{scaleX:It&&sn?It.width/sn.width:1,scaleY:It&&sn?It.height/sn.height:1})}function Zt(pt,It){return pt&&It?{x:pt.left-It.left,y:pt.top-It.top}:se}function Yt(pt){return function(sn){for(var Hn=arguments.length,On=new Array(Hn>1?Hn-1:0),Wt=1;Wttl(da({},Nn),{top:Nn.top+pt*ai.y,bottom:Nn.bottom+pt*ai.y,left:Nn.left+pt*ai.x,right:Nn.right+pt*ai.x}),da({},sn))}}const Ot=Yt(1);function Qt(pt){if(pt.startsWith("matrix3d(")){const It=pt.slice(9,-1).split(/, /);return{x:+It[12],y:+It[13],scaleX:+It[0],scaleY:+It[5]}}else if(pt.startsWith("matrix(")){const It=pt.slice(7,-1).split(/, /);return{x:+It[4],y:+It[5],scaleX:+It[0],scaleY:+It[3]}}return null}function dt(pt,It,sn){const Hn=Qt(It);if(!Hn)return pt;const{scaleX:On,scaleY:Wt,x:Nn,y:ai}=Hn,qn=pt.left-Nn-(1-On)*parseFloat(sn),Oi=pt.top-ai-(1-Wt)*parseFloat(sn.slice(sn.indexOf(" ")+1)),Bi=On?pt.width/On:pt.width,pi=Wt?pt.height/Wt:pt.height;return{width:Bi,height:pi,top:Oi,right:qn+Bi,bottom:Oi+pi,left:qn}}const Re={ignoreTransform:!1};function Mt(pt,It){It===void 0&&(It=Re);let sn=pt.getBoundingClientRect();if(It.ignoreTransform){const{transform:Oi,transformOrigin:Bi}=(0,He.Jj)(pt).getComputedStyle(pt);Oi&&(sn=dt(sn,Oi,Bi))}const{top:Hn,left:On,width:Wt,height:Nn,bottom:ai,right:qn}=sn;return{top:Hn,left:On,width:Wt,height:Nn,bottom:ai,right:qn}}function Pn(pt){return Mt(pt,{ignoreTransform:!0})}function mn(pt){const It=pt.innerWidth,sn=pt.innerHeight;return{top:0,left:0,right:It,bottom:sn,width:It,height:sn}}function kt(pt,It){return It===void 0&&(It=(0,He.Jj)(pt).getComputedStyle(pt)),It.position==="fixed"}function _t(pt,It){It===void 0&&(It=(0,He.Jj)(pt).getComputedStyle(pt));const sn=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(On=>{const Wt=It[On];return typeof Wt=="string"?sn.test(Wt):!1})}function ln(pt,It){const sn=[];function Hn(On){if(It!=null&&sn.length>=It||!On)return sn;if((0,He.qk)(On)&&On.scrollingElement!=null&&!sn.includes(On.scrollingElement))return sn.push(On.scrollingElement),sn;if(!(0,He.Re)(On)||(0,He.vZ)(On)||sn.includes(On))return sn;const Wt=(0,He.Jj)(pt).getComputedStyle(On);return On!==pt&&_t(On,Wt)&&sn.push(On),kt(On,Wt)?sn:Hn(On.parentNode)}return pt?Hn(pt):sn}function Bn(pt){const[It]=ln(pt,1);return It!=null?It:null}function wn(pt){return!He.Nq||!pt?null:(0,He.FJ)(pt)?pt:(0,He.UG)(pt)?(0,He.qk)(pt)||pt===(0,He.r3)(pt).scrollingElement?window:(0,He.Re)(pt)?pt:null:null}function Kn(pt){return(0,He.FJ)(pt)?pt.scrollX:pt.scrollLeft}function yt(pt){return(0,He.FJ)(pt)?pt.scrollY:pt.scrollTop}function Jn(pt){return{x:Kn(pt),y:yt(pt)}}var bn;(function(pt){pt[pt.Forward=1]="Forward",pt[pt.Backward=-1]="Backward"})(bn||(bn={}));function ci(pt){return!He.Nq||!pt?!1:pt===document.scrollingElement}function Tn(pt){const It={x:0,y:0},sn=ci(pt)?{height:window.innerHeight,width:window.innerWidth}:{height:pt.clientHeight,width:pt.clientWidth},Hn={x:pt.scrollWidth-sn.width,y:pt.scrollHeight-sn.height},On=pt.scrollTop<=It.y,Wt=pt.scrollLeft<=It.x,Nn=pt.scrollTop>=Hn.y,ai=pt.scrollLeft>=Hn.x;return{isTop:On,isLeft:Wt,isBottom:Nn,isRight:ai,maxScroll:Hn,minScroll:It}}const tn={x:.2,y:.2};function $t(pt,It,sn,Hn,On){let{top:Wt,left:Nn,right:ai,bottom:qn}=sn;Hn===void 0&&(Hn=10),On===void 0&&(On=tn);const{isTop:Oi,isBottom:Bi,isLeft:pi,isRight:Gi}=Tn(pt),zn={x:0,y:0},_r={x:0,y:0},Gr={height:It.height*On.y,width:It.width*On.x};return!Oi&&Wt<=It.top+Gr.height?(zn.y=bn.Backward,_r.y=Hn*Math.abs((It.top+Gr.height-Wt)/Gr.height)):!Bi&&qn>=It.bottom-Gr.height&&(zn.y=bn.Forward,_r.y=Hn*Math.abs((It.bottom-Gr.height-qn)/Gr.height)),!Gi&&ai>=It.right-Gr.width?(zn.x=bn.Forward,_r.x=Hn*Math.abs((It.right-Gr.width-ai)/Gr.width)):!pi&&Nn<=It.left+Gr.width&&(zn.x=bn.Backward,_r.x=Hn*Math.abs((It.left+Gr.width-Nn)/Gr.width)),{direction:zn,speed:_r}}function ft(pt){if(pt===document.scrollingElement){const{innerWidth:Wt,innerHeight:Nn}=window;return{top:0,left:0,right:Wt,bottom:Nn,width:Wt,height:Nn}}const{top:It,left:sn,right:Hn,bottom:On}=pt.getBoundingClientRect();return{top:It,left:sn,right:Hn,bottom:On,width:pt.clientWidth,height:pt.clientHeight}}function Je(pt){return pt.reduce((It,sn)=>(0,He.IH)(It,Jn(sn)),se)}function Gt(pt){return pt.reduce((It,sn)=>It+Kn(sn),0)}function At(pt){return pt.reduce((It,sn)=>It+yt(sn),0)}function lt(pt,It){if(It===void 0&&(It=Mt),!pt)return;const{top:sn,left:Hn,bottom:On,right:Wt}=It(pt);Bn(pt)&&(On<=0||Wt<=0||sn>=window.innerHeight||Hn>=window.innerWidth)&&pt.scrollIntoView({block:"center",inline:"center"})}const Ge=[["x",["left","right"],Gt],["y",["top","bottom"],At]];class Be{constructor(It,sn){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 Hn=ln(sn),On=Je(Hn);this.rect=da({},It),this.width=It.width,this.height=It.height;for(const[Wt,Nn,ai]of Ge)for(const qn of Nn)Object.defineProperty(this,qn,{get:()=>{const Oi=ai(Hn),Bi=On[Wt]-Oi;return this.rect[qn]+Bi},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class we{constructor(It){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(sn=>{var Hn;return(Hn=this.target)==null?void 0:Hn.removeEventListener(...sn)})},this.target=It}add(It,sn,Hn){var On;(On=this.target)==null||On.addEventListener(It,sn,Hn),this.listeners.push([It,sn,Hn])}}function pe(pt){const{EventTarget:It}=(0,He.Jj)(pt);return pt instanceof It?pt:(0,He.r3)(pt)}function De(pt,It){const sn=Math.abs(pt.x),Hn=Math.abs(pt.y);return typeof It=="number"?Math.sqrt(_y(sn,2)+_y(Hn,2))>It:"x"in It&&"y"in It?sn>It.x&&Hn>It.y:"x"in It?sn>It.x:"y"in It?Hn>It.y:!1}var ze;(function(pt){pt.Click="click",pt.DragStart="dragstart",pt.Keydown="keydown",pt.ContextMenu="contextmenu",pt.Resize="resize",pt.SelectionChange="selectionchange",pt.VisibilityChange="visibilitychange"})(ze||(ze={}));function Le(pt){pt.preventDefault()}function nt(pt){pt.stopPropagation()}var Ut;(function(pt){pt.Space="Space",pt.Down="ArrowDown",pt.Right="ArrowRight",pt.Left="ArrowLeft",pt.Up="ArrowUp",pt.Esc="Escape",pt.Enter="Enter",pt.Tab="Tab"})(Ut||(Ut={}));const En={start:[Ut.Space,Ut.Enter],cancel:[Ut.Esc],end:[Ut.Space,Ut.Enter,Ut.Tab]},rn=(pt,It)=>{let{currentCoordinates:sn}=It;switch(pt.code){case Ut.Right:return tl(da({},sn),{x:sn.x+25});case Ut.Left:return tl(da({},sn),{x:sn.x-25});case Ut.Down:return tl(da({},sn),{y:sn.y+25});case Ut.Up:return tl(da({},sn),{y:sn.y-25})}};class vn{constructor(It){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=It;const{event:{target:sn}}=It;this.props=It,this.listeners=new we((0,He.r3)(sn)),this.windowListeners=new we((0,He.Jj)(sn)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ze.Resize,this.handleCancel),this.windowListeners.add(ze.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ze.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:It,onStart:sn}=this.props,Hn=It.node.current;Hn&<(Hn),sn(se)}handleKeyDown(It){if((0,He.vd)(It)){const{active:sn,context:Hn,options:On}=this.props,{keyboardCodes:Wt=En,coordinateGetter:Nn=rn,scrollBehavior:ai="smooth"}=On,{code:qn}=It;if(Wt.end.includes(qn)){this.handleEnd(It);return}if(Wt.cancel.includes(qn)){this.handleCancel(It);return}const{collisionRect:Oi}=Hn.current,Bi=Oi?{x:Oi.left,y:Oi.top}:se;this.referenceCoordinates||(this.referenceCoordinates=Bi);const pi=Nn(It,{active:sn,context:Hn.current,currentCoordinates:Bi});if(pi){const Gi=(0,He.$X)(pi,Bi),zn={x:0,y:0},{scrollableAncestors:_r}=Hn.current;for(const Gr of _r){const Ao=It.code,{isTop:qr,isRight:$r,isLeft:to,isBottom:$o,maxScroll:Qo,minScroll:pa}=Tn(Gr),qo=ft(Gr),Cn={x:Math.min(Ao===Ut.Right?qo.right-qo.width/2:qo.right,Math.max(Ao===Ut.Right?qo.left:qo.left+qo.width/2,pi.x)),y:Math.min(Ao===Ut.Down?qo.bottom-qo.height/2:qo.bottom,Math.max(Ao===Ut.Down?qo.top:qo.top+qo.height/2,pi.y))},ca=Ao===Ut.Right&&!$r||Ao===Ut.Left&&!to,es=Ao===Ut.Down&&!$o||Ao===Ut.Up&&!qr;if(ca&&Cn.x!==pi.x){const ts=Gr.scrollLeft+Gi.x,Ga=Ao===Ut.Right&&ts<=Qo.x||Ao===Ut.Left&&ts>=pa.x;if(Ga&&!Gi.y){Gr.scrollTo({left:ts,behavior:ai});return}Ga?zn.x=Gr.scrollLeft-ts:zn.x=Ao===Ut.Right?Gr.scrollLeft-Qo.x:Gr.scrollLeft-pa.x,zn.x&&Gr.scrollBy({left:-zn.x,behavior:ai});break}else if(es&&Cn.y!==pi.y){const ts=Gr.scrollTop+Gi.y,Ga=Ao===Ut.Down&&ts<=Qo.y||Ao===Ut.Up&&ts>=pa.y;if(Ga&&!Gi.x){Gr.scrollTo({top:ts,behavior:ai});return}Ga?zn.y=Gr.scrollTop-ts:zn.y=Ao===Ut.Down?Gr.scrollTop-Qo.y:Gr.scrollTop-pa.y,zn.y&&Gr.scrollBy({top:-zn.y,behavior:ai});break}}this.handleMove(It,(0,He.IH)((0,He.$X)(pi,this.referenceCoordinates),zn))}}}handleMove(It,sn){const{onMove:Hn}=this.props;It.preventDefault(),Hn(sn)}handleEnd(It){const{onEnd:sn}=this.props;It.preventDefault(),this.detach(),sn()}handleCancel(It){const{onCancel:sn}=this.props;It.preventDefault(),this.detach(),sn()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}vn.activators=[{eventName:"onKeyDown",handler:(pt,It,sn)=>{let{keyboardCodes:Hn=En,onActivation:On}=It,{active:Wt}=sn;const{code:Nn}=pt.nativeEvent;if(Hn.start.includes(Nn)){const ai=Wt.activatorNode.current;return ai&&pt.target!==ai?!1:(pt.preventDefault(),On==null||On({event:pt.nativeEvent}),!0)}return!1}}];function mi(pt){return!!(pt&&"distance"in pt)}function wi(pt){return!!(pt&&"delay"in pt)}class Ri{constructor(It,sn,Hn){var On;Hn===void 0&&(Hn=pe(It.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=It,this.events=sn;const{event:Wt}=It,{target:Nn}=Wt;this.props=It,this.events=sn,this.document=(0,He.r3)(Nn),this.documentListeners=new we(this.document),this.listeners=new we(Hn),this.windowListeners=new we((0,He.Jj)(Nn)),this.initialCoordinates=(On=(0,He.DC)(Wt))!=null?On:se,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:It,props:{options:{activationConstraint:sn,bypassActivationConstraint:Hn}}}=this;if(this.listeners.add(It.move.name,this.handleMove,{passive:!1}),this.listeners.add(It.end.name,this.handleEnd),It.cancel&&this.listeners.add(It.cancel.name,this.handleCancel),this.windowListeners.add(ze.Resize,this.handleCancel),this.windowListeners.add(ze.DragStart,Le),this.windowListeners.add(ze.VisibilityChange,this.handleCancel),this.windowListeners.add(ze.ContextMenu,Le),this.documentListeners.add(ze.Keydown,this.handleKeydown),sn){if(Hn!=null&&Hn({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(wi(sn)){this.timeoutId=setTimeout(this.handleStart,sn.delay),this.handlePending(sn);return}if(mi(sn)){this.handlePending(sn);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(It,sn){const{active:Hn,onPending:On}=this.props;On(Hn,It,this.initialCoordinates,sn)}handleStart(){const{initialCoordinates:It}=this,{onStart:sn}=this.props;It&&(this.activated=!0,this.documentListeners.add(ze.Click,nt,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ze.SelectionChange,this.removeTextSelection),sn(It))}handleMove(It){var sn;const{activated:Hn,initialCoordinates:On,props:Wt}=this,{onMove:Nn,options:{activationConstraint:ai}}=Wt;if(!On)return;const qn=(sn=(0,He.DC)(It))!=null?sn:se,Oi=(0,He.$X)(On,qn);if(!Hn&&ai){if(mi(ai)){if(ai.tolerance!=null&&De(Oi,ai.tolerance))return this.handleCancel();if(De(Oi,ai.distance))return this.handleStart()}if(wi(ai)&&De(Oi,ai.tolerance))return this.handleCancel();this.handlePending(ai,Oi);return}It.cancelable&&It.preventDefault(),Nn(qn)}handleEnd(){const{onAbort:It,onEnd:sn}=this.props;this.detach(),this.activated||It(this.props.active),sn()}handleCancel(){const{onAbort:It,onCancel:sn}=this.props;this.detach(),this.activated||It(this.props.active),sn()}handleKeydown(It){It.code===Ut.Esc&&this.handleCancel()}removeTextSelection(){var It;(It=this.document.getSelection())==null||It.removeAllRanges()}}const Wi={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Mn extends Ri{constructor(It){const{event:sn}=It,Hn=(0,He.r3)(sn.target);super(It,Wi,Hn)}}Mn.activators=[{eventName:"onPointerDown",handler:(pt,It)=>{let{nativeEvent:sn}=pt,{onActivation:Hn}=It;return!sn.isPrimary||sn.button!==0?!1:(Hn==null||Hn({event:sn}),!0)}}];const nr={move:{name:"mousemove"},end:{name:"mouseup"}};var Wr;(function(pt){pt[pt.RightClick=2]="RightClick"})(Wr||(Wr={}));class Hr extends Ri{constructor(It){super(It,nr,(0,He.r3)(It.event.target))}}Hr.activators=[{eventName:"onMouseDown",handler:(pt,It)=>{let{nativeEvent:sn}=pt,{onActivation:Hn}=It;return sn.button===Wr.RightClick?!1:(Hn==null||Hn({event:sn}),!0)}}];const Tr={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class Fr extends Ri{constructor(It){super(It,Tr)}static setup(){return window.addEventListener(Tr.move.name,It,{capture:!1,passive:!1}),function(){window.removeEventListener(Tr.move.name,It)};function It(){}}}Fr.activators=[{eventName:"onTouchStart",handler:(pt,It)=>{let{nativeEvent:sn}=pt,{onActivation:Hn}=It;const{touches:On}=sn;return On.length>1?!1:(Hn==null||Hn({event:sn}),!0)}}];var Yr;(function(pt){pt[pt.Pointer=0]="Pointer",pt[pt.DraggableRect=1]="DraggableRect"})(Yr||(Yr={}));var Kr;(function(pt){pt[pt.TreeOrder=0]="TreeOrder",pt[pt.ReversedTreeOrder=1]="ReversedTreeOrder"})(Kr||(Kr={}));function ar(pt){let{acceleration:It,activator:sn=Yr.Pointer,canScroll:Hn,draggingRect:On,enabled:Wt,interval:Nn=5,order:ai=Kr.TreeOrder,pointerCoordinates:qn,scrollableAncestors:Oi,scrollableAncestorRects:Bi,delta:pi,threshold:Gi}=pt;const zn=$n({delta:pi,disabled:!Wt}),[_r,Gr]=(0,He.Yz)(),Ao=(0,Se.useRef)({x:0,y:0}),qr=(0,Se.useRef)({x:0,y:0}),$r=(0,Se.useMemo)(()=>{switch(sn){case Yr.Pointer:return qn?{top:qn.y,bottom:qn.y,left:qn.x,right:qn.x}:null;case Yr.DraggableRect:return On}},[sn,On,qn]),to=(0,Se.useRef)(null),$o=(0,Se.useCallback)(()=>{const pa=to.current;if(!pa)return;const qo=Ao.current.x*qr.current.x,Cn=Ao.current.y*qr.current.y;pa.scrollBy(qo,Cn)},[]),Qo=(0,Se.useMemo)(()=>ai===Kr.TreeOrder?[...Oi].reverse():Oi,[ai,Oi]);(0,Se.useEffect)(()=>{if(!Wt||!Oi.length||!$r){Gr();return}for(const pa of Qo){if((Hn==null?void 0:Hn(pa))===!1)continue;const qo=Oi.indexOf(pa),Cn=Bi[qo];if(!Cn)continue;const{direction:ca,speed:es}=$t(pa,Cn,$r,It,Gi);for(const ts of["x","y"])zn[ts][ca[ts]]||(es[ts]=0,ca[ts]=0);if(es.x>0||es.y>0){Gr(),to.current=pa,_r($o,Nn),Ao.current=es,qr.current=ca;return}}Ao.current={x:0,y:0},qr.current={x:0,y:0},Gr()},[It,$o,Hn,Gr,Wt,Nn,JSON.stringify($r),JSON.stringify(zn),_r,Oi,Qo,Bi,JSON.stringify(Gi)])}const Co={x:{[bn.Backward]:!1,[bn.Forward]:!1},y:{[bn.Backward]:!1,[bn.Forward]:!1}};function $n(pt){let{delta:It,disabled:sn}=pt;const Hn=(0,He.D9)(It);return(0,He.Gj)(On=>{if(sn||!Hn||!On)return Co;const Wt={x:Math.sign(It.x-Hn.x),y:Math.sign(It.y-Hn.y)};return{x:{[bn.Backward]:On.x[bn.Backward]||Wt.x===-1,[bn.Forward]:On.x[bn.Forward]||Wt.x===1},y:{[bn.Backward]:On.y[bn.Backward]||Wt.y===-1,[bn.Forward]:On.y[bn.Forward]||Wt.y===1}}},[sn,It,Hn])}function Ce(pt,It){const sn=It!=null?pt.get(It):void 0,Hn=sn?sn.node.current:null;return(0,He.Gj)(On=>{var Wt;return It==null?null:(Wt=Hn!=null?Hn:On)!=null?Wt:null},[Hn,It])}function hi(pt,It){return(0,Se.useMemo)(()=>pt.reduce((sn,Hn)=>{const{sensor:On}=Hn,Wt=On.activators.map(Nn=>({eventName:Nn.eventName,handler:It(Nn.handler,Hn)}));return[...sn,...Wt]},[]),[pt,It])}var ki;(function(pt){pt[pt.Always=0]="Always",pt[pt.BeforeDragging=1]="BeforeDragging",pt[pt.WhileDragging=2]="WhileDragging"})(ki||(ki={}));var un;(function(pt){pt.Optimized="optimized"})(un||(un={}));const Wn=new Map;function li(pt,It){let{dragging:sn,dependencies:Hn,config:On}=It;const[Wt,Nn]=(0,Se.useState)(null),{frequency:ai,measure:qn,strategy:Oi}=On,Bi=(0,Se.useRef)(pt),pi=Ao(),Gi=(0,He.Ey)(pi),zn=(0,Se.useCallback)(function(qr){qr===void 0&&(qr=[]),!Gi.current&&Nn($r=>$r===null?qr:$r.concat(qr.filter(to=>!$r.includes(to))))},[Gi]),_r=(0,Se.useRef)(null),Gr=(0,He.Gj)(qr=>{if(pi&&!sn)return Wn;if(!qr||qr===Wn||Bi.current!==pt||Wt!=null){const $r=new Map;for(let to of pt){if(!to)continue;if(Wt&&Wt.length>0&&!Wt.includes(to.id)&&to.rect.current){$r.set(to.id,to.rect.current);continue}const $o=to.node.current,Qo=$o?new Be(qn($o),$o):null;to.rect.current=Qo,Qo&&$r.set(to.id,Qo)}return $r}return qr},[pt,Wt,sn,pi,qn]);return(0,Se.useEffect)(()=>{Bi.current=pt},[pt]),(0,Se.useEffect)(()=>{pi||zn()},[sn,pi]),(0,Se.useEffect)(()=>{Wt&&Wt.length>0&&Nn(null)},[JSON.stringify(Wt)]),(0,Se.useEffect)(()=>{pi||typeof ai!="number"||_r.current!==null||(_r.current=setTimeout(()=>{zn(),_r.current=null},ai))},[ai,pi,zn,...Hn]),{droppableRects:Gr,measureDroppableContainers:zn,measuringScheduled:Wt!=null};function Ao(){switch(Oi){case ki.Always:return!1;case ki.BeforeDragging:return sn;default:return!sn}}}function fn(pt,It){return(0,He.Gj)(sn=>pt?sn||(typeof It=="function"?It(pt):pt):null,[It,pt])}function on(pt,It){return fn(pt,It)}function mt(pt){let{callback:It,disabled:sn}=pt;const Hn=(0,He.zX)(It),On=(0,Se.useMemo)(()=>{if(sn||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Wt}=window;return new Wt(Hn)},[Hn,sn]);return(0,Se.useEffect)(()=>()=>On==null?void 0:On.disconnect(),[On]),On}function Pt(pt){let{callback:It,disabled:sn}=pt;const Hn=(0,He.zX)(It),On=(0,Se.useMemo)(()=>{if(sn||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Wt}=window;return new Wt(Hn)},[sn]);return(0,Se.useEffect)(()=>()=>On==null?void 0:On.disconnect(),[On]),On}function bt(pt){return new Be(Mt(pt),pt)}function tt(pt,It,sn){It===void 0&&(It=bt);const[Hn,On]=(0,Se.useState)(null);function Wt(){On(qn=>{if(!pt)return null;if(pt.isConnected===!1){var Oi;return(Oi=qn!=null?qn:sn)!=null?Oi:null}const Bi=It(pt);return JSON.stringify(qn)===JSON.stringify(Bi)?qn:Bi})}const Nn=mt({callback(qn){if(pt)for(const Oi of qn){const{type:Bi,target:pi}=Oi;if(Bi==="childList"&&pi instanceof HTMLElement&&pi.contains(pt)){Wt();break}}}}),ai=Pt({callback:Wt});return(0,He.LI)(()=>{Wt(),pt?(ai==null||ai.observe(pt),Nn==null||Nn.observe(document.body,{childList:!0,subtree:!0})):(ai==null||ai.disconnect(),Nn==null||Nn.disconnect())},[pt]),Hn}function qt(pt){const It=fn(pt);return Zt(pt,It)}const dn=[];function xt(pt){const It=(0,Se.useRef)(pt),sn=(0,He.Gj)(Hn=>pt?Hn&&Hn!==dn&&pt&&It.current&&pt.parentNode===It.current.parentNode?Hn:ln(pt):dn,[pt]);return(0,Se.useEffect)(()=>{It.current=pt},[pt]),sn}function Ye(pt){const[It,sn]=(0,Se.useState)(null),Hn=(0,Se.useRef)(pt),On=(0,Se.useCallback)(Wt=>{const Nn=wn(Wt.target);Nn&&sn(ai=>ai?(ai.set(Nn,Jn(Nn)),new Map(ai)):null)},[]);return(0,Se.useEffect)(()=>{const Wt=Hn.current;if(pt!==Wt){Nn(Wt);const ai=pt.map(qn=>{const Oi=wn(qn);return Oi?(Oi.addEventListener("scroll",On,{passive:!0}),[Oi,Jn(Oi)]):null}).filter(qn=>qn!=null);sn(ai.length?new Map(ai):null),Hn.current=pt}return()=>{Nn(pt),Nn(Wt)};function Nn(ai){ai.forEach(qn=>{const Oi=wn(qn);Oi==null||Oi.removeEventListener("scroll",On)})}},[On,pt]),(0,Se.useMemo)(()=>pt.length?It?Array.from(It.values()).reduce((Wt,Nn)=>(0,He.IH)(Wt,Nn),se):Je(pt):se,[pt,It])}function an(pt,It){It===void 0&&(It=[]);const sn=(0,Se.useRef)(null);return(0,Se.useEffect)(()=>{sn.current=null},It),(0,Se.useEffect)(()=>{const Hn=pt!==se;Hn&&!sn.current&&(sn.current=pt),!Hn&&sn.current&&(sn.current=null)},[pt]),sn.current?(0,He.$X)(pt,sn.current):se}function Bt(pt){(0,Se.useEffect)(()=>{if(!He.Nq)return;const It=pt.map(sn=>{let{sensor:Hn}=sn;return Hn.setup==null?void 0:Hn.setup()});return()=>{for(const sn of It)sn==null||sn()}},pt.map(It=>{let{sensor:sn}=It;return sn}))}function jn(pt,It){return(0,Se.useMemo)(()=>pt.reduce((sn,Hn)=>{let{eventName:On,handler:Wt}=Hn;return sn[On]=Nn=>{Wt(Nn,It)},sn},{}),[pt,It])}function cn(pt){return(0,Se.useMemo)(()=>pt?mn(pt):null,[pt])}const Et=[];function xn(pt,It){It===void 0&&(It=Mt);const[sn]=pt,Hn=cn(sn?(0,He.Jj)(sn):null),[On,Wt]=(0,Se.useState)(Et);function Nn(){Wt(()=>pt.length?pt.map(qn=>ci(qn)?Hn:new Be(It(qn),qn)):Et)}const ai=Pt({callback:Nn});return(0,He.LI)(()=>{ai==null||ai.disconnect(),Nn(),pt.forEach(qn=>ai==null?void 0:ai.observe(qn))},[pt]),On}function Qn(pt){if(!pt)return null;if(pt.children.length>1)return pt;const It=pt.children[0];return(0,He.Re)(It)?It:pt}function Un(pt){let{measure:It}=pt;const[sn,Hn]=(0,Se.useState)(null),On=(0,Se.useCallback)(Oi=>{for(const{target:Bi}of Oi)if((0,He.Re)(Bi)){Hn(pi=>{const Gi=It(Bi);return pi?tl(da({},pi),{width:Gi.width,height:Gi.height}):Gi});break}},[It]),Wt=Pt({callback:On}),Nn=(0,Se.useCallback)(Oi=>{const Bi=Qn(Oi);Wt==null||Wt.disconnect(),Bi&&(Wt==null||Wt.observe(Bi)),Hn(Bi?It(Bi):null)},[It,Wt]),[ai,qn]=(0,He.wm)(Nn);return(0,Se.useMemo)(()=>({nodeRef:ai,rect:sn,setRef:qn}),[sn,ai,qn])}const zt=[{sensor:Mn,options:{}},{sensor:vn,options:{}}],Sn={current:{}},Ci={draggable:{measure:Pn},droppable:{measure:Pn,strategy:ki.WhileDragging,frequency:un.Optimized},dragOverlay:{measure:Mt}};class Si extends Map{get(It){var sn;return It!=null&&(sn=super.get(It))!=null?sn:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(It=>{let{disabled:sn}=It;return!sn})}getNodeFor(It){var sn,Hn;return(sn=(Hn=this.get(It))==null?void 0:Hn.node.current)!=null?sn:void 0}}const vi={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Si,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:te},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ci,measureDroppableContainers:te,windowRect:null,measuringScheduled:!1},ti={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:te,draggableNodes:new Map,over:null,measureDroppableContainers:te},xi=(0,Se.createContext)(ti),Ni=(0,Se.createContext)(vi);function Zi(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Si}}}function cr(pt,It){switch(It.type){case Me.DragStart:return tl(da({},pt),{draggable:tl(da({},pt.draggable),{initialCoordinates:It.initialCoordinates,active:It.active})});case Me.DragMove:return pt.draggable.active==null?pt:tl(da({},pt),{draggable:tl(da({},pt.draggable),{translate:{x:It.coordinates.x-pt.draggable.initialCoordinates.x,y:It.coordinates.y-pt.draggable.initialCoordinates.y}})});case Me.DragEnd:case Me.DragCancel:return tl(da({},pt),{draggable:tl(da({},pt.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case Me.RegisterDroppable:{const{element:sn}=It,{id:Hn}=sn,On=new Si(pt.droppable.containers);return On.set(Hn,sn),tl(da({},pt),{droppable:tl(da({},pt.droppable),{containers:On})})}case Me.SetDroppableDisabled:{const{id:sn,key:Hn,disabled:On}=It,Wt=pt.droppable.containers.get(sn);if(!Wt||Hn!==Wt.key)return pt;const Nn=new Si(pt.droppable.containers);return Nn.set(sn,tl(da({},Wt),{disabled:On})),tl(da({},pt),{droppable:tl(da({},pt.droppable),{containers:Nn})})}case Me.UnregisterDroppable:{const{id:sn,key:Hn}=It,On=pt.droppable.containers.get(sn);if(!On||Hn!==On.key)return pt;const Wt=new Si(pt.droppable.containers);return Wt.delete(sn),tl(da({},pt),{droppable:tl(da({},pt.droppable),{containers:Wt})})}default:return pt}}function Gn(pt){let{disabled:It}=pt;const{active:sn,activatorEvent:Hn,draggableNodes:On}=(0,Se.useContext)(xi),Wt=(0,He.D9)(Hn),Nn=(0,He.D9)(sn==null?void 0:sn.id);return(0,Se.useEffect)(()=>{if(!It&&!Hn&&Wt&&Nn!=null){if(!(0,He.vd)(Wt)||document.activeElement===Wt.target)return;const ai=On.get(Nn);if(!ai)return;const{activatorNode:qn,node:Oi}=ai;if(!qn.current&&!Oi.current)return;requestAnimationFrame(()=>{for(const Bi of[qn.current,Oi.current]){if(!Bi)continue;const pi=(0,He.so)(Bi);if(pi){pi.focus();break}}})}},[Hn,It,On,Nn,Wt]),null}function Ai(pt,It){let On=It,{transform:sn}=On,Hn=ov(On,["transform"]);return pt!=null&&pt.length?pt.reduce((Wt,Nn)=>Nn(da({transform:Wt},Hn)),sn):sn}function br(pt){return(0,Se.useMemo)(()=>({draggable:da(da({},Ci.draggable),pt==null?void 0:pt.draggable),droppable:da(da({},Ci.droppable),pt==null?void 0:pt.droppable),dragOverlay:da(da({},Ci.dragOverlay),pt==null?void 0:pt.dragOverlay)}),[pt==null?void 0:pt.draggable,pt==null?void 0:pt.droppable,pt==null?void 0:pt.dragOverlay])}function kr(pt){let{activeNode:It,measure:sn,initialRect:Hn,config:On=!0}=pt;const Wt=(0,Se.useRef)(!1),{x:Nn,y:ai}=typeof On=="boolean"?{x:On,y:On}:On;(0,He.LI)(()=>{if(!Nn&&!ai||!It){Wt.current=!1;return}if(Wt.current||!Hn)return;const Oi=It==null?void 0:It.node.current;if(!Oi||Oi.isConnected===!1)return;const Bi=sn(Oi),pi=Zt(Bi,Hn);if(Nn||(pi.x=0),ai||(pi.y=0),Wt.current=!0,Math.abs(pi.x)>0||Math.abs(pi.y)>0){const Gi=Bn(Oi);Gi&&Gi.scrollBy({top:pi.y,left:pi.x})}},[It,Nn,ai,Hn,sn])}const Sr=(0,Se.createContext)(tl(da({},se),{scaleX:1,scaleY:1}));var Xt;(function(pt){pt[pt.Uninitialized=0]="Uninitialized",pt[pt.Initializing=1]="Initializing",pt[pt.Initialized=2]="Initialized"})(Xt||(Xt={}));const Li=(0,Se.memo)(function(It){var sn,Hn,On,Wt;let xs=It,{id:Nn,accessibility:ai,autoScroll:qn=!0,children:Oi,sensors:Bi=zt,collisionDetection:pi=Ve,measuring:Gi,modifiers:zn}=xs,_r=ov(xs,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const Gr=(0,Se.useReducer)(cr,void 0,Zi),[Ao,qr]=Gr,[$r,to]=et(),[$o,Qo]=(0,Se.useState)(Xt.Uninitialized),pa=$o===Xt.Initialized,{draggable:{active:qo,nodes:Cn,translate:ca},droppable:{containers:es}}=Ao,ts=qo!=null?Cn.get(qo):null,Ga=(0,Se.useRef)({initial:null,translated:null}),Ds=(0,Se.useMemo)(()=>{var Ks;return qo!=null?{id:qo,data:(Ks=ts==null?void 0:ts.data)!=null?Ks:Sn,rect:Ga}:null},[qo,ts]),pl=(0,Se.useRef)(null),[ma,Fo]=(0,Se.useState)(null),[Oo,Pa]=(0,Se.useState)(null),no=(0,He.Ey)(_r,Object.values(_r)),ko=(0,He.Ld)("DndDescribedBy",Nn),oo=(0,Se.useMemo)(()=>es.getEnabled(),[es]),Vi=br(Gi),{droppableRects:ha,measureDroppableContainers:Na,measuringScheduled:Bs}=li(oo,{dragging:pa,dependencies:[ca.x,ca.y],config:Vi.droppable}),ys=Ce(Cn,qo),nl=(0,Se.useMemo)(()=>Oo?(0,He.DC)(Oo):null,[Oo]),Yi=Ls(),Da=on(ys,Vi.draggable.measure);kr({activeNode:qo!=null?Cn.get(qo):null,config:Yi.layoutShiftCompensation,initialRect:Da,measure:Vi.draggable.measure});const ga=tt(ys,Vi.draggable.measure,Da),Is=tt(ys?ys.parentElement:null),ml=(0,Se.useRef)({activatorEvent:null,active:null,activeNode:ys,collisionRect:null,collisions:null,droppableRects:ha,draggableNodes:Cn,draggingNode:null,draggingNodeRect:null,droppableContainers:es,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Gl=es.getNodeFor((sn=ml.current.over)==null?void 0:sn.id),So=Un({measure:Vi.dragOverlay.measure}),Au=(Hn=So.nodeRef.current)!=null?Hn:ys,il=pa?(On=So.rect)!=null?On:ga:null,kl=!!(So.nodeRef.current&&So.rect),vl=qt(kl?null:ga),fu=cn(Au?(0,He.Jj)(Au):null),yl=xt(pa?Gl!=null?Gl:ys:null),rl=xn(yl),Sl=Ai(zn,{transform:{x:ca.x-vl.x,y:ca.y-vl.y,scaleX:1,scaleY:1},activatorEvent:Oo,active:Ds,activeNodeRect:ga,containerNodeRect:Is,draggingNodeRect:il,over:ml.current.over,overlayNodeRect:So.rect,scrollableAncestors:yl,scrollableAncestorRects:rl,windowRect:fu}),oc=nl?(0,He.IH)(nl,ca):null,Sc=Ye(yl),xc=an(Sc),Qc=an(Sc,[ga]),gu=(0,He.IH)(Sl,xc),zl=il?Ot(il,Sl):null,xl=Ds&&zl?pi({active:Ds,collisionRect:zl,droppableRects:ha,droppableContainers:oo,pointerCoordinates:oc}):null,Tl=Ie(xl,"id"),[pu,wc]=(0,Se.useState)(null),mu=kl?Sl:(0,He.IH)(Sl,Qc),Xo=Ht(mu,(Wt=pu==null?void 0:pu.rect)!=null?Wt:null,ga),va=(0,Se.useRef)(null),dl=(0,Se.useCallback)((Ks,Ts)=>{let{sensor:Fa,options:Hu}=Ts;if(pl.current==null)return;const Ol=Cn.get(pl.current);if(!Ol)return;const El=Ks.nativeEvent,Rr=new Fa({active:pl.current,activeNode:Ol,event:El,options:Hu,context:ml,onAbort(Kt){if(!Cn.get(Kt))return;const{onDragAbort:Mu}=no.current,Fu={id:Kt};Mu==null||Mu(Fu),$r({type:"onDragAbort",event:Fu})},onPending(Kt,di,Mu,Fu){if(!Cn.get(Kt))return;const{onDragPending:$l}=no.current,jl={id:Kt,constraint:di,initialCoordinates:Mu,offset:Fu};$l==null||$l(jl),$r({type:"onDragPending",event:jl})},onStart(Kt){const di=pl.current;if(di==null)return;const Mu=Cn.get(di);if(!Mu)return;const{onDragStart:Fu}=no.current,_l={activatorEvent:El,active:{id:di,data:Mu.data,rect:Ga}};(0,Oe.unstable_batchedUpdates)(()=>{Fu==null||Fu(_l),Qo(Xt.Initializing),qr({type:Me.DragStart,initialCoordinates:Kt,active:di}),$r({type:"onDragStart",event:_l}),Fo(va.current),Pa(El)})},onMove(Kt){qr({type:Me.DragMove,coordinates:Kt})},onEnd:Lu(Me.DragEnd),onCancel:Lu(Me.DragCancel)});va.current=Rr;function Lu(Kt){return function(){return Cx(this,null,function*(){const{active:Mu,collisions:Fu,over:_l,scrollAdjustedTranslate:$l}=ml.current;let jl=null;if(Mu&&$l){const{cancelDrop:Pc}=no.current;jl={activatorEvent:El,active:Mu,collisions:Fu,delta:$l,over:_l},Kt===Me.DragEnd&&typeof Pc=="function"&&(yield Promise.resolve(Pc(jl)))&&(Kt=Me.DragCancel)}pl.current=null,(0,Oe.unstable_batchedUpdates)(()=>{qr({type:Kt}),Qo(Xt.Uninitialized),wc(null),Fo(null),Pa(null),va.current=null;const Pc=Kt===Me.DragEnd?"onDragEnd":"onDragCancel";if(jl){const Ic=no.current[Pc];Ic==null||Ic(jl),$r({type:Pc,event:jl})}})})}}},[Cn]),Cs=(0,Se.useCallback)((Ks,Ts)=>(Fa,Hu)=>{const Ol=Fa.nativeEvent,El=Cn.get(Hu);if(pl.current!==null||!El||Ol.dndKit||Ol.defaultPrevented)return;const Rr={active:El};Ks(Fa,Ts.options,Rr)===!0&&(Ol.dndKit={capturedBy:Ts.sensor},pl.current=Hu,dl(Fa,Ts))},[Cn,dl]),Ss=hi(Bi,Cs);Bt(Bi),(0,He.LI)(()=>{ga&&$o===Xt.Initializing&&Qo(Xt.Initialized)},[ga,$o]),(0,Se.useEffect)(()=>{const{onDragMove:Ks}=no.current,{active:Ts,activatorEvent:Fa,collisions:Hu,over:Ol}=ml.current;if(!Ts||!Fa)return;const El={active:Ts,activatorEvent:Fa,collisions:Hu,delta:{x:gu.x,y:gu.y},over:Ol};(0,Oe.unstable_batchedUpdates)(()=>{Ks==null||Ks(El),$r({type:"onDragMove",event:El})})},[gu.x,gu.y]),(0,Se.useEffect)(()=>{const{active:Ks,activatorEvent:Ts,collisions:Fa,droppableContainers:Hu,scrollAdjustedTranslate:Ol}=ml.current;if(!Ks||pl.current==null||!Ts||!Ol)return;const{onDragOver:El}=no.current,Rr=Hu.get(Tl),Lu=Rr&&Rr.rect.current?{id:Rr.id,rect:Rr.rect.current,data:Rr.data,disabled:Rr.disabled}:null,Kt={active:Ks,activatorEvent:Ts,collisions:Fa,delta:{x:Ol.x,y:Ol.y},over:Lu};(0,Oe.unstable_batchedUpdates)(()=>{wc(Lu),El==null||El(Kt),$r({type:"onDragOver",event:Kt})})},[Tl]),(0,He.LI)(()=>{ml.current={activatorEvent:Oo,active:Ds,activeNode:ys,collisionRect:zl,collisions:xl,droppableRects:ha,draggableNodes:Cn,draggingNode:Au,draggingNodeRect:il,droppableContainers:es,over:pu,scrollableAncestors:yl,scrollAdjustedTranslate:gu},Ga.current={initial:il,translated:zl}},[Ds,ys,xl,zl,Cn,Au,il,ha,es,pu,yl,gu]),ar(tl(da({},Yi),{delta:ca,draggingRect:zl,pointerCoordinates:oc,scrollableAncestors:yl,scrollableAncestorRects:rl}));const os=(0,Se.useMemo)(()=>({active:Ds,activeNode:ys,activeNodeRect:ga,activatorEvent:Oo,collisions:xl,containerNodeRect:Is,dragOverlay:So,draggableNodes:Cn,droppableContainers:es,droppableRects:ha,over:pu,measureDroppableContainers:Na,scrollableAncestors:yl,scrollableAncestorRects:rl,measuringConfiguration:Vi,measuringScheduled:Bs,windowRect:fu}),[Ds,ys,ga,Oo,xl,Is,So,Cn,es,ha,pu,Na,yl,rl,Vi,Bs,fu]),hs=(0,Se.useMemo)(()=>({activatorEvent:Oo,activators:Ss,active:Ds,activeNodeRect:ga,ariaDescribedById:{draggable:ko},dispatch:qr,draggableNodes:Cn,over:pu,measureDroppableContainers:Na}),[Oo,Ss,Ds,ga,qr,ko,Cn,pu,Na]);return Se.createElement(Tt.Provider,{value:to},Se.createElement(xi.Provider,{value:hs},Se.createElement(Ni.Provider,{value:os},Se.createElement(Sr.Provider,{value:Xo},Oi)),Se.createElement(Gn,{disabled:(ai==null?void 0:ai.restoreFocus)===!1})),Se.createElement(wt,tl(da({},ai),{hiddenTextDescribedById:ko})));function Ls(){const Ks=(ma==null?void 0:ma.autoScrollEnabled)===!1,Ts=typeof qn=="object"?qn.enabled===!1:qn===!1,Fa=pa&&!Ks&&!Ts;return typeof qn=="object"?tl(da({},qn),{enabled:Fa}):{enabled:Fa}}}),rr=(0,Se.createContext)(null),Hi="button",Er="Draggable";function dr(pt){let{id:It,data:sn,disabled:Hn=!1,attributes:On}=pt;const Wt=(0,He.Ld)(Er),{activators:Nn,activatorEvent:ai,active:qn,activeNodeRect:Oi,ariaDescribedById:Bi,draggableNodes:pi,over:Gi}=(0,Se.useContext)(xi),{role:zn=Hi,roleDescription:_r="draggable",tabIndex:Gr=0}=On!=null?On:{},Ao=(qn==null?void 0:qn.id)===It,qr=(0,Se.useContext)(Ao?Sr:rr),[$r,to]=(0,He.wm)(),[$o,Qo]=(0,He.wm)(),pa=jn(Nn,It),qo=(0,He.Ey)(sn);(0,He.LI)(()=>(pi.set(It,{id:It,key:Wt,node:$r,activatorNode:$o,data:qo}),()=>{const ca=pi.get(It);ca&&ca.key===Wt&&pi.delete(It)}),[pi,It]);const Cn=(0,Se.useMemo)(()=>({role:zn,tabIndex:Gr,"aria-disabled":Hn,"aria-pressed":Ao&&zn===Hi?!0:void 0,"aria-roledescription":_r,"aria-describedby":Bi.draggable}),[Hn,zn,Gr,Ao,_r,Bi.draggable]);return{active:qn,activatorEvent:ai,activeNodeRect:Oi,attributes:Cn,isDragging:Ao,listeners:Hn?void 0:pa,node:$r,over:Gi,setNodeRef:to,setActivatorNodeRef:Qo,transform:qr}}function Nr(){return(0,Se.useContext)(Ni)}const Ti="Droppable",Qi={timeout:25};function er(pt){let{data:It,disabled:sn=!1,id:Hn,resizeObserverConfig:On}=pt;const Wt=(0,He.Ld)(Ti),{active:Nn,dispatch:ai,over:qn,measureDroppableContainers:Oi}=(0,Se.useContext)(xi),Bi=(0,Se.useRef)({disabled:sn}),pi=(0,Se.useRef)(!1),Gi=(0,Se.useRef)(null),zn=(0,Se.useRef)(null),{disabled:_r,updateMeasurementsFor:Gr,timeout:Ao}=da(da({},Qi),On),qr=(0,He.Ey)(Gr!=null?Gr:Hn),$r=(0,Se.useCallback)(()=>{if(!pi.current){pi.current=!0;return}zn.current!=null&&clearTimeout(zn.current),zn.current=setTimeout(()=>{Oi(Array.isArray(qr.current)?qr.current:[qr.current]),zn.current=null},Ao)},[Ao]),to=Pt({callback:$r,disabled:_r||!Nn}),$o=(0,Se.useCallback)((Cn,ca)=>{to&&(ca&&(to.unobserve(ca),pi.current=!1),Cn&&to.observe(Cn))},[to]),[Qo,pa]=(0,He.wm)($o),qo=(0,He.Ey)(It);return(0,Se.useEffect)(()=>{!to||!Qo.current||(to.disconnect(),pi.current=!1,to.observe(Qo.current))},[Qo,to]),(0,Se.useEffect)(()=>(ai({type:Me.RegisterDroppable,element:{id:Hn,key:Wt,disabled:sn,node:Qo,rect:Gi,data:qo}}),()=>ai({type:Me.UnregisterDroppable,key:Wt,id:Hn})),[Hn]),(0,Se.useEffect)(()=>{sn!==Bi.current.disabled&&(ai({type:Me.SetDroppableDisabled,id:Hn,key:Wt,disabled:sn}),Bi.current.disabled=sn)},[Hn,Wt,sn,ai]),{active:Nn,rect:Gi,isOver:(qn==null?void 0:qn.id)===Hn,node:Qo,over:qn,setNodeRef:pa}}function kn(pt){let{animation:It,children:sn}=pt;const[Hn,On]=useState(null),[Wt,Nn]=useState(null),ai=usePrevious(sn);return!sn&&!Hn&&ai&&On(ai),useIsomorphicLayoutEffect(()=>{if(!Wt)return;const qn=Hn==null?void 0:Hn.key,Oi=Hn==null?void 0:Hn.props.id;if(qn==null||Oi==null){On(null);return}Promise.resolve(It(Oi,Wt)).then(()=>{On(null)})},[It,Hn,Wt]),React.createElement(React.Fragment,null,sn,Hn?cloneElement(Hn,{ref:Nn}):null)}const Dr={x:0,y:0,scaleX:1,scaleY:1};function Ln(pt){let{children:It}=pt;return React.createElement(xi.Provider,{value:ti},React.createElement(Sr.Provider,{value:Dr},It))}const pr={position:"fixed",touchAction:"none"},Qr=pt=>isKeyboardEvent(pt)?"transform 250ms ease":void 0,vr=null,mr={duration:250,easing:"ease",keyframes:pt=>{let{transform:{initial:It,final:sn}}=pt;return[{transform:He.ux.Transform.toString(It)},{transform:He.ux.Transform.toString(sn)}]},sideEffects:(pt=>It=>{let{active:sn,dragOverlay:Hn}=It;const On={},{styles:Wt,className:Nn}=pt;if(Wt!=null&&Wt.active)for(const[ai,qn]of Object.entries(Wt.active))qn!==void 0&&(On[ai]=sn.node.style.getPropertyValue(ai),sn.node.style.setProperty(ai,qn));if(Wt!=null&&Wt.dragOverlay)for(const[ai,qn]of Object.entries(Wt.dragOverlay))qn!==void 0&&Hn.node.style.setProperty(ai,qn);return Nn!=null&&Nn.active&&sn.node.classList.add(Nn.active),Nn!=null&&Nn.dragOverlay&&Hn.node.classList.add(Nn.dragOverlay),function(){for(const[qn,Oi]of Object.entries(On))sn.node.style.setProperty(qn,Oi);Nn!=null&&Nn.active&&sn.node.classList.remove(Nn.active)}})({styles:{active:{opacity:"0"}}})};function hr(pt){let{config:It,draggableNodes:sn,droppableContainers:Hn,measuringConfiguration:On}=pt;return useEvent((Wt,Nn)=>{if(It===null)return;const ai=sn.get(Wt);if(!ai)return;const qn=ai.node.current;if(!qn)return;const Oi=Qn(Nn);if(!Oi)return;const{transform:Bi}=getWindow(Nn).getComputedStyle(Nn),pi=Qt(Bi);if(!pi)return;const Gi=typeof It=="function"?It:fr(It);return lt(qn,On.draggable.measure),Gi({active:{id:Wt,data:ai.data,node:qn,rect:On.draggable.measure(qn)},draggableNodes:sn,dragOverlay:{node:Nn,rect:On.dragOverlay.measure(Oi)},droppableContainers:Hn,measuringConfiguration:On,transform:pi})})}function fr(pt){const{duration:It,easing:sn,sideEffects:Hn,keyframes:On}=da(da({},mr),pt);return Wt=>{let $r=Wt,{active:Nn,dragOverlay:ai,transform:qn}=$r,Oi=ov($r,["active","dragOverlay","transform"]);if(!It)return;const Bi={x:ai.rect.left-Nn.rect.left,y:ai.rect.top-Nn.rect.top},pi={scaleX:qn.scaleX!==1?Nn.rect.width*qn.scaleX/ai.rect.width:1,scaleY:qn.scaleY!==1?Nn.rect.height*qn.scaleY/ai.rect.height:1},Gi=da({x:qn.x-Bi.x,y:qn.y-Bi.y},pi),zn=On(tl(da({},Oi),{active:Nn,dragOverlay:ai,transform:{initial:qn,final:Gi}})),[_r]=zn,Gr=zn[zn.length-1];if(JSON.stringify(_r)===JSON.stringify(Gr))return;const Ao=Hn==null?void 0:Hn(da({active:Nn,dragOverlay:ai},Oi)),qr=ai.node.animate(zn,{duration:It,easing:sn,fill:"forwards"});return new Promise(to=>{qr.onfinish=()=>{Ao==null||Ao(),to()}})}}let Vr=0;function Ii(pt){return useMemo(()=>{if(pt!=null)return Vr++,Vr},[pt])}const Qe=null},18257:function(Rn,Fn,ye){"use strict";ye.d(Fn,{DL:function(){return ke}});var Se=ye(35241);function Oe(et){return gt=>{let{transform:ct}=gt;return tl(da({},ct),{x:Math.ceil(ct.x/et)*et,y:Math.ceil(ct.y/et)*et})}}const He=et=>{let{transform:gt}=et;return tl(da({},gt),{y:0})};function Rt(et,gt,ct){const wt=da({},et);return gt.top+et.y<=ct.top?wt.y=ct.top-gt.top:gt.bottom+et.y>=ct.top+ct.height&&(wt.y=ct.top+ct.height-gt.bottom),gt.left+et.x<=ct.left?wt.x=ct.left-gt.left:gt.right+et.x>=ct.left+ct.width&&(wt.x=ct.left+ct.width-gt.right),wt}const _e=et=>{let{containerNodeRect:gt,draggingNodeRect:ct,transform:wt}=et;return!ct||!gt?wt:Rt(wt,ct,gt)},vt=et=>{let{draggingNodeRect:gt,transform:ct,scrollableAncestorRects:wt}=et;const Me=wt[0];return!gt||!Me?ct:Rt(ct,gt,Me)},ke=et=>{let{transform:gt}=et;return tl(da({},gt),{x:0})},Tt=et=>{let{transform:gt,draggingNodeRect:ct,windowRect:wt}=et;return!ct||!wt?gt:Rt(gt,ct,wt)},Lt=et=>{let{activatorEvent:gt,draggingNodeRect:ct,transform:wt}=et;if(ct&>){const Me=getEventCoordinates(gt);if(!Me)return wt;const te=Me.x-ct.left,ne=Me.y-ct.top;return tl(da({},wt),{x:wt.x+te-ct.width/2,y:wt.y+ne-ct.height/2})}return wt}},19719:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Fo:function(){return ve},Rp:function(){return Rt},nB:function(){return ht},qw:function(){return ne}});var Se=ye(59301),Oe=ye(87954),He=ye(35241);function Rt(Ot,Qt,dt){const Re=Ot.slice();return Re.splice(dt<0?Re.length+dt:dt,0,Re.splice(Qt,1)[0]),Re}function _e(Ot,Qt,dt){const Re=Ot.slice();return Re[Qt]=Ot[dt],Re[dt]=Ot[Qt],Re}function vt(Ot,Qt){return Ot.reduce((dt,Re,Mt)=>{const Pn=Qt.get(Re);return Pn&&(dt[Mt]=Pn),dt},Array(Ot.length))}function ke(Ot){return Ot!==null&&Ot>=0}function Tt(Ot,Qt){if(Ot===Qt)return!0;if(Ot.length!==Qt.length)return!1;for(let dt=0;dt{var Qt;let{rects:dt,activeNodeRect:Re,activeIndex:Mt,overIndex:Pn,index:mn}=Ot;const kt=(Qt=dt[Mt])!=null?Qt:Re;if(!kt)return null;const _t=ct(dt,mn,Mt);if(mn===Mt){const ln=dt[Pn];return ln?da({x:MtMt&&mn<=Pn?da({x:-kt.width-_t,y:0},et):mn=Pn?da({x:kt.width+_t,y:0},et):da({x:0,y:0},et)};function ct(Ot,Qt,dt){const Re=Ot[Qt],Mt=Ot[Qt-1],Pn=Ot[Qt+1];return!Re||!Mt&&!Pn?0:dt{let{rects:Qt,activeIndex:dt,overIndex:Re,index:Mt}=Ot;const Pn=Rt(Qt,Re,dt),mn=Qt[Mt],kt=Pn[Mt];return!kt||!mn?null:{x:kt.left-mn.left,y:kt.top-mn.top,scaleX:kt.width/mn.width,scaleY:kt.height/mn.height}},Me=Ot=>{let{activeIndex:Qt,index:dt,rects:Re,overIndex:Mt}=Ot,Pn,mn;return dt===Qt&&(Pn=Re[dt],mn=Re[Mt]),dt===Mt&&(Pn=Re[dt],mn=Re[Qt]),!mn||!Pn?null:{x:mn.left-Pn.left,y:mn.top-Pn.top,scaleX:mn.width/Pn.width,scaleY:mn.height/Pn.height}},te={scaleX:1,scaleY:1},ne=Ot=>{var Qt;let{activeIndex:dt,activeNodeRect:Re,index:Mt,rects:Pn,overIndex:mn}=Ot;const kt=(Qt=Pn[dt])!=null?Qt:Re;if(!kt)return null;if(Mt===dt){const ln=Pn[mn];return ln?da({x:0,y:dtdt&&Mt<=mn?da({x:0,y:-kt.height-_t},te):Mt=mn?da({x:0,y:kt.height+_t},te):da({x:0,y:0},te)};function ce(Ot,Qt,dt){const Re=Ot[Qt],Mt=Ot[Qt-1],Pn=Ot[Qt+1];return Re?dtRe.map(Gt=>typeof Gt=="object"&&"id"in Gt?Gt.id:Gt),[Re]),Jn=mn!=null,bn=mn?yt.indexOf(mn.id):-1,ci=ln?yt.indexOf(ln.id):-1,Tn=(0,Se.useRef)(yt),tn=!Tt(yt,Tn.current),$t=ci!==-1&&bn===-1||tn,ft=Lt(Pn);(0,He.LI)(()=>{tn&&Jn&&Bn(yt)},[tn,yt,Jn,Bn]),(0,Se.useEffect)(()=>{Tn.current=yt},[yt]);const Je=(0,Se.useMemo)(()=>({activeIndex:bn,containerId:wn,disabled:ft,disableTransforms:$t,items:yt,overIndex:ci,useDragOverlay:Kn,sortedRects:vt(yt,_t),strategy:Mt}),[bn,wn,ft.draggable,ft.droppable,$t,yt,ci,_t,Kn,Mt]);return Se.createElement(ge.Provider,{value:Je},Qt)}const be=Ot=>{let{id:Qt,items:dt,activeIndex:Re,overIndex:Mt}=Ot;return Rt(dt,Re,Mt).indexOf(Qt)},Fe=Ot=>{let{containerId:Qt,isSorting:dt,wasDragging:Re,index:Mt,items:Pn,newIndex:mn,previousItems:kt,previousContainerId:_t,transition:ln}=Ot;return!ln||!Re||kt!==Pn&&Mt===mn?!1:dt?!0:mn!==Mt&&Qt===_t},Pe={duration:200,easing:"ease"},Ie="transform",We=He.ux.Transition.toString({property:Ie,duration:0,easing:"linear"}),Ke={roleDescription:"sortable"};function Xe(Ot){let{disabled:Qt,index:dt,node:Re,rect:Mt}=Ot;const[Pn,mn]=(0,Se.useState)(null),kt=(0,Se.useRef)(dt);return(0,He.LI)(()=>{if(!Qt&&dt!==kt.current&&Re.current){const _t=Mt.current;if(_t){const ln=(0,Oe.VK)(Re.current,{ignoreTransform:!0}),Bn={x:_t.left-ln.left,y:_t.top-ln.top,scaleX:_t.width/ln.width,scaleY:_t.height/ln.height};(Bn.x||Bn.y)&&mn(Bn)}}dt!==kt.current&&(kt.current=dt)},[Qt,dt,Re,Mt]),(0,Se.useEffect)(()=>{Pn&&mn(null)},[Pn]),Pn}function ht(Ot){let{animateLayoutChanges:Qt=Fe,attributes:dt,disabled:Re,data:Mt,getNewIndex:Pn=be,id:mn,strategy:kt,resizeObserverConfig:_t,transition:ln=Pe}=Ot;const{items:Bn,containerId:wn,activeIndex:Kn,disabled:yt,disableTransforms:Jn,sortedRects:bn,overIndex:ci,useDragOverlay:Tn,strategy:tn}=(0,Se.useContext)(ge),$t=Ve(Re,yt),ft=Bn.indexOf(mn),Je=(0,Se.useMemo)(()=>da({sortable:{containerId:wn,index:ft,items:Bn}},Mt),[wn,Mt,ft,Bn]),Gt=(0,Se.useMemo)(()=>Bn.slice(Bn.indexOf(mn)),[Bn,mn]),{rect:At,node:lt,isOver:Ge,setNodeRef:Be}=(0,Oe.Zj)({id:mn,data:Je,disabled:$t.droppable,resizeObserverConfig:da({updateMeasurementsFor:Gt},_t)}),{active:we,activatorEvent:pe,activeNodeRect:De,attributes:ze,setNodeRef:Le,listeners:nt,isDragging:Ut,over:En,setActivatorNodeRef:rn,transform:vn}=(0,Oe.O1)({id:mn,data:Je,attributes:da(da({},Ke),dt),disabled:$t.draggable}),mi=(0,He.HB)(Be,Le),wi=!!we,Ri=wi&&!Jn&&ke(Kn)&&ke(ci),Wi=!Tn&&Ut,Mn=Wi&&Ri?vn:null,nr=kt!=null?kt:tn,Wr=Ri?Mn!=null?Mn:nr({rects:bn,activeNodeRect:De,activeIndex:Kn,overIndex:ci,index:ft}):null,Hr=ke(Kn)&&ke(ci)?Pn({id:mn,items:Bn,activeIndex:Kn,overIndex:ci}):ft,Tr=we==null?void 0:we.id,Fr=(0,Se.useRef)({activeId:Tr,items:Bn,newIndex:Hr,containerId:wn}),Yr=Bn!==Fr.current.items,Kr=Qt({active:we,containerId:wn,isDragging:Ut,isSorting:wi,id:mn,index:ft,items:Bn,newIndex:Fr.current.newIndex,previousItems:Fr.current.items,previousContainerId:Fr.current.containerId,transition:ln,wasDragging:Fr.current.activeId!=null}),ar=Xe({disabled:!Kr,index:ft,node:lt,rect:At});return(0,Se.useEffect)(()=>{wi&&Fr.current.newIndex!==Hr&&(Fr.current.newIndex=Hr),wn!==Fr.current.containerId&&(Fr.current.containerId=wn),Bn!==Fr.current.items&&(Fr.current.items=Bn)},[wi,Hr,wn,Bn]),(0,Se.useEffect)(()=>{if(Tr===Fr.current.activeId)return;if(Tr&&!Fr.current.activeId){Fr.current.activeId=Tr;return}const $n=setTimeout(()=>{Fr.current.activeId=Tr},50);return()=>clearTimeout($n)},[Tr]),{active:we,activeIndex:Kn,attributes:ze,data:Je,rect:At,index:ft,newIndex:Hr,items:Bn,isOver:Ge,isSorting:wi,isDragging:Ut,listeners:nt,node:lt,overIndex:ci,over:En,setNodeRef:mi,setActivatorNodeRef:rn,setDroppableNodeRef:Be,setDraggableNodeRef:Le,transform:ar!=null?ar:Wr,transition:Co()};function Co(){if(ar||Yr&&Fr.current.newIndex===ft)return We;if(!(Wi&&!(0,He.vd)(pe)||!ln)&&(wi||Kr))return He.ux.Transition.toString(tl(da({},ln),{property:Ie}))}}function Ve(Ot,Qt){var dt,Re;return typeof Ot=="boolean"?{draggable:Ot,droppable:!1}:{draggable:(dt=Ot==null?void 0:Ot.draggable)!=null?dt:Qt.draggable,droppable:(Re=Ot==null?void 0:Ot.droppable)!=null?Re:Qt.droppable}}function Nt(Ot){if(!Ot)return!1;const Qt=Ot.data.current;return!!(Qt&&"sortable"in Qt&&typeof Qt.sortable=="object"&&"containerId"in Qt.sortable&&"items"in Qt.sortable&&"index"in Qt.sortable)}const qe=[Oe.g4.Down,Oe.g4.Right,Oe.g4.Up,Oe.g4.Left],Ht=(Ot,Qt)=>{let{context:{active:dt,collisionRect:Re,droppableRects:Mt,droppableContainers:Pn,over:mn,scrollableAncestors:kt}}=Qt;if(qe.includes(Ot.code)){if(Ot.preventDefault(),!dt||!Re)return;const _t=[];Pn.getEnabled().forEach(wn=>{if(!wn||wn!=null&&wn.disabled)return;const Kn=Mt.get(wn.id);if(Kn)switch(Ot.code){case KeyboardCode.Down:Re.topKn.top&&_t.push(wn);break;case KeyboardCode.Left:Re.left>Kn.left&&_t.push(wn);break;case KeyboardCode.Right:Re.left1&&(Bn=ln[1].id),Bn!=null){const wn=Pn.get(dt.id),Kn=Pn.get(Bn),yt=Kn?Mt.get(Kn.id):null,Jn=Kn==null?void 0:Kn.node.current;if(Jn&&yt&&wn&&Kn){const ci=getScrollableAncestors(Jn).some((Gt,At)=>kt[At]!==Gt),Tn=Zt(wn,Kn),tn=Yt(wn,Kn),$t=ci||!Tn?{x:0,y:0}:{x:tn?Re.width-yt.width:0,y:tn?Re.height-yt.height:0},ft={x:yt.left,y:yt.top};return $t.x&&$t.y?ft:subtract(ft,$t)}}}};function Zt(Ot,Qt){return!Nt(Ot)||!Nt(Qt)?!1:Ot.data.current.sortable.containerId===Qt.data.current.sortable.containerId}function Yt(Ot,Qt){return!Nt(Ot)||!Nt(Qt)||!Zt(Ot,Qt)?!1:Ot.data.current.sortable.indexZt=>{qe.forEach(Yt=>Yt(Zt))},qe)}const He=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Rt(Nt){const qe=Object.prototype.toString.call(Nt);return qe==="[object Window]"||qe==="[object global]"}function _e(Nt){return"nodeType"in Nt}function vt(Nt){var qe,Ht;return Nt?Rt(Nt)?Nt:_e(Nt)&&(qe=(Ht=Nt.ownerDocument)==null?void 0:Ht.defaultView)!=null?qe:window:window}function ke(Nt){const{Document:qe}=vt(Nt);return Nt instanceof qe}function Tt(Nt){return Rt(Nt)?!1:Nt instanceof vt(Nt).HTMLElement}function Lt(Nt){return Nt instanceof vt(Nt).SVGElement}function et(Nt){return Nt?Rt(Nt)?Nt.document:_e(Nt)?ke(Nt)?Nt:Tt(Nt)||Lt(Nt)?Nt.ownerDocument:document:document:document}const gt=He?Se.useLayoutEffect:Se.useEffect;function ct(Nt){const qe=(0,Se.useRef)(Nt);return gt(()=>{qe.current=Nt}),(0,Se.useCallback)(function(){for(var Ht=arguments.length,Zt=new Array(Ht),Yt=0;Yt{Nt.current=setInterval(Zt,Yt)},[]),Ht=(0,Se.useCallback)(()=>{Nt.current!==null&&(clearInterval(Nt.current),Nt.current=null)},[]);return[qe,Ht]}function Me(Nt,qe){qe===void 0&&(qe=[Nt]);const Ht=(0,Se.useRef)(Nt);return gt(()=>{Ht.current!==Nt&&(Ht.current=Nt)},qe),Ht}function te(Nt,qe){const Ht=(0,Se.useRef)();return(0,Se.useMemo)(()=>{const Zt=Nt(Ht.current);return Ht.current=Zt,Zt},[...qe])}function ne(Nt){const qe=ct(Nt),Ht=(0,Se.useRef)(null),Zt=(0,Se.useCallback)(Yt=>{Yt!==Ht.current&&(qe==null||qe(Yt,Ht.current)),Ht.current=Yt},[]);return[Ht,Zt]}function ce(Nt){const qe=(0,Se.useRef)();return(0,Se.useEffect)(()=>{qe.current=Nt},[Nt]),qe.current}let se={};function ge(Nt,qe){return(0,Se.useMemo)(()=>{if(qe)return qe;const Ht=se[Nt]==null?0:se[Nt]+1;return se[Nt]=Ht,Nt+"-"+Ht},[Nt,qe])}function ve(Nt){return function(qe){for(var Ht=arguments.length,Zt=new Array(Ht>1?Ht-1:0),Yt=1;Yt{const dt=Object.entries(Qt);for(const[Re,Mt]of dt){const Pn=Ot[Re];Pn!=null&&(Ot[Re]=Pn+Nt*Mt)}return Ot},da({},qe))}}const be=ve(1),Fe=ve(-1);function Pe(Nt){return"clientX"in Nt&&"clientY"in Nt}function Ie(Nt){if(!Nt)return!1;const{KeyboardEvent:qe}=vt(Nt.target);return qe&&Nt instanceof qe}function We(Nt){if(!Nt)return!1;const{TouchEvent:qe}=vt(Nt.target);return qe&&Nt instanceof qe}function Ke(Nt){if(We(Nt)){if(Nt.touches&&Nt.touches.length){const{clientX:qe,clientY:Ht}=Nt.touches[0];return{x:qe,y:Ht}}else if(Nt.changedTouches&&Nt.changedTouches.length){const{clientX:qe,clientY:Ht}=Nt.changedTouches[0];return{x:qe,y:Ht}}}return Pe(Nt)?{x:Nt.clientX,y:Nt.clientY}:null}const Xe=Object.freeze({Translate:{toString(Nt){if(!Nt)return;const{x:qe,y:Ht}=Nt;return"translate3d("+(qe?Math.round(qe):0)+"px, "+(Ht?Math.round(Ht):0)+"px, 0)"}},Scale:{toString(Nt){if(!Nt)return;const{scaleX:qe,scaleY:Ht}=Nt;return"scaleX("+qe+") scaleY("+Ht+")"}},Transform:{toString(Nt){if(Nt)return[Xe.Translate.toString(Nt),Xe.Scale.toString(Nt)].join(" ")}},Transition:{toString(Nt){let{property:qe,duration:Ht,easing:Zt}=Nt;return qe+" "+Ht+"ms "+Zt}}}),ht="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Ve(Nt){return Nt.matches(ht)?Nt:Nt.querySelector(ht)}},79906:function(){"use strict"},93938:function(Rn,Fn){"use strict";Fn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},57534:function(Rn,Fn){"use strict";Fn.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"}},49731:function(Rn,Fn,ye){"use strict";var Se=ye(59301),Oe=Object.defineProperty,He=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,vt=(Lt,et,gt)=>et in Lt?Oe(Lt,et,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Lt[et]=gt,ke=(Lt,et)=>{for(var gt in et||(et={}))Rt.call(et,gt)&&vt(Lt,gt,et[gt]);if(He)for(var gt of He(et))_e.call(et,gt)&&vt(Lt,gt,et[gt]);return Lt};const Tt=Lt=>React.createElement("svg",ke({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Lt),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"}));Fn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},11961:function(Rn,Fn,ye){"use strict";var Se=ye(59301),Oe=Object.defineProperty,He=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,vt=(Lt,et,gt)=>et in Lt?Oe(Lt,et,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Lt[et]=gt,ke=(Lt,et)=>{for(var gt in et||(et={}))Rt.call(et,gt)&&vt(Lt,gt,et[gt]);if(He)for(var gt of He(et))_e.call(et,gt)&&vt(Lt,gt,et[gt]);return Lt};const Tt=Lt=>React.createElement("svg",ke({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Lt),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"}));Fn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},37404:function(){"use strict";function Rn(Me,te,ne,ce){ne===void 0&&(ne=0),ce===void 0&&(ce=1/0),this._name=Me,this._defaultValue=te,this._minimum=ne,this._maximum=ce}Object.defineProperty(Rn.prototype,"name",{get:function(){return this._name},set:function(Me){if(typeof Me!="string"||Me==="")throw new Error("Shape name must be a valid string.");this._name=Me}}),Object.defineProperty(Rn.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(Me){if(typeof Me!="number"||isNaN(Me))throw new Error("The default value must be a real number, not: "+Me);this._defaultValue=Me}}),Object.defineProperty(Rn.prototype,"minimum",{get:function(){return this._minimum},set:function(Me){if(typeof Me!="number"||isNaN(Me))throw new Error("Minimum must be a real number, not: "+Me);this._minimum=Me}}),Object.defineProperty(Rn.prototype,"maximum",{get:function(){return this._maximum},set:function(Me){if(typeof Me!="number"||isNaN(Me))throw new Error("Maximum must be a real number, not: "+Me);this._maximum=Me}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(Me,te){var ne=go.Shape._FigureParameters[Me];return ne?ne[te]:null},go.Shape.setFigureParameter=function(Me,te,ne){if(!(ne instanceof Rn))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+ne);if(ne.defaultValuene.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+ne.defaultValue);var ce=go.Shape._FigureParameters[Me];ce||(ce=[],go.Shape._FigureParameters[Me]=ce),ce[te]=ne};var Fn=[];function ye(Me,te){var ne=Fn.pop();return ne===void 0?new go.Point(Me,te):(ne.x=Me,ne.y=te,ne)}function Se(){var Me=Fn.pop();return Me===void 0?new go.Point:Me}function Oe(Me){Fn.push(Me)}function He(Me,te,ne,ce,se,ge,ve,be,Fe){Fe||(Fe=new go.Point);var Pe=Me-ne,Ie=se-ve,We=NaN,Ke=NaN;if(Pe===0)if(Ie===0)Me===ne&&(We=Me,Ke=te);else{var Xe=(ge-be)/Ie,ht=ge-Xe*se;We=Me,Ke=Xe*We+ht}else if(Ie===0){var Ve=(te-ce)/Pe,Nt=te-Ve*Me;We=se,Ke=Ve*We+Nt}else{var Ve=(te-ce)/Pe,Xe=(ge-be)/Ie,Nt=te-Ve*Me,ht=ge-Xe*se;We=(ht-Nt)/(Ve-Xe),Ke=Ve*We+Nt}return Fe.x=We,Fe.y=Ke,Fe}function Rt(Me,te,ne,ce,se,ge,ve,be,Fe,Pe,Ie,We,Ke,Xe){var ht=1-Fe,Ve=Fe,Nt=Me*ht+ne*Ve,qe=te*ht+ce*Ve,Ht=ne*ht+se*Ve,Zt=ce*ht+ge*Ve,Yt=se*ht+ve*Ve,Ot=ge*ht+be*Ve,Qt=Nt*ht+Ht*Ve,dt=qe*ht+Zt*Ve,Re=Ht*ht+Yt*Ve,Mt=Zt*ht+Ot*Ve,Pn=Qt*ht+Re*Ve,mn=dt*ht+Mt*Ve;Pe.x=Nt,Pe.y=qe,Ie.x=Qt,Ie.y=dt,We.x=Pn,We.y=mn,Ke.x=Re,Ke.y=Mt,Xe.x=Yt,Xe.y=Ot}var _e=new go.Spot(.156,.156),vt=new go.Spot(.844,.844),ke=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Rn("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=5),ce=Math.min(ce,te/3),ce=Math.min(ce,ne/3);var se=ce*ke,ge=new go.Geometry().add(new go.PathFigure(ce,0,!0).add(new go.PathSegment(go.PathSegment.Line,te-ce,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,ce,te-se,0,te,se)).add(new go.PathSegment(go.PathSegment.Line,te,ne-ce)).add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ne,te,ne-se,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,ce,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ce,se,ne,0,ne-se)).add(new go.PathSegment(go.PathSegment.Line,0,ce)).add(new go.PathSegment(go.PathSegment.Bezier,ce,0,0,se,se,0).close()));return se>1&&(ge.spot1=new go.Spot(0,0,se,se),ge.spot2=new go.Spot(1,1,-se,-se)),ge}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,ne).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,ne).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(Me,te,ne){var ce=new go.Geometry(go.Geometry.Line);return ce.startX=0,ce.startY=ne/2,ce.endX=te,ce.endY=ne/2,ce}),go.Shape.defineFigureGenerator("LineV",function(Me,te,ne){var ce=new go.Geometry(go.Geometry.Line);return ce.startX=te/2,ce.startY=0,ce.endX=te/2,ce.endY=ne,ce}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne/2,!1).add(new go.PathSegment(go.PathSegment.Line,te,ne/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ne)))}),go.Shape.defineFigureGenerator("XLine",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)))}),go.Shape.defineFigureGenerator("LineRight",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.25*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)))}),go.Shape.defineFigureGenerator("LineDown",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,.25*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.75*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)))}),go.Shape.defineFigureGenerator("LineLeft",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.75*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*te,ne)))}),go.Shape.defineFigureGenerator("LineUp",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,.75*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(Me,te,ne){var ce=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ce*te,(1-ce)*ne,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Move,ce*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,(1-ce)*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne/2)).add(new go.PathSegment(go.PathSegment.Line,te,ne/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ne)))}),go.Shape.defineFigureGenerator("CircleLine",function(Me,te,ne){var ce=te/2,se=new go.Geometry().add(new go.PathFigure(te,te/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ce,ce,ce,ce).close()));return se.spot1=_e,se.spot2=vt,se.defaultStretch=go.GraphObject.Uniform,se}),go.Shape.defineFigureGenerator("Line1",function(Me,te,ne){var ce=new go.Geometry(go.Geometry.Line);return ce.startX=0,ce.startY=0,ce.endX=te,ce.endY=ne,ce}),go.Shape.defineFigureGenerator("Line2",function(Me,te,ne){var ce=new go.Geometry(go.Geometry.Line);return ce.startX=te,ce.startY=0,ce.endX=0,ce.endY=ne,ce}),go.Shape.defineFigureGenerator("Curve1",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ne,ke*te,0,te,(1-ke)*ne)))}),go.Shape.defineFigureGenerator("Curve2",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ne,0,ke*ne,(1-ke)*te,ne)))}),go.Shape.defineFigureGenerator("Curve3",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,ke*ne,ke*te,ne)))}),go.Shape.defineFigureGenerator("Curve4",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,(1-ke)*te,0,0,(1-ke)*ne)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Rn("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)?ce=.1:ce<-1?ce=-1:ce>1&&(ce=1);var se=Math.abs(ce)*te;if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())),sete&&(ce=te);var se=Math.abs(ce);if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())),se.5&&(ce=.5);var se=Math.abs(ce)*te;if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())),sete&&(ce=te/2);var se=Math.abs(ce);if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())),sete&&(ce=te/2);var se=Math.abs(ce);if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())):ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())),se0&&(ve.add(new go.PathSegment(go.PathSegment.Move,te/2+be,te/2)),ve.add(new go.PathSegment(go.PathSegment.Arc,0,-360,se,se,be,be).close())),ge.spot1=_e,ge.spot2=vt,ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("Cloud",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.08034461*te,.1944299*ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*te,.05349299*ne,-.09239631*te,.07836421*ne,.1406031*te,-.0542823*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*te,.074219*ne,.2450511*te,-.00697547*ne,.3776197*te,-.01112067*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*te,.07004196*ne,.4539471*te,0,.6066018*te,-.02526587*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*te,.08370865*ne,.6914277*te,-.01904177*ne,.8921095*te,-.01220843*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*te,.3194596*ne,1.036446*te,.04105738*ne,1.020377*te,.3022052*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*te,.562044*ne,1.04448*te,.360238*ne,.992256*te,.5219009*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*te,.8217117*ne,1.032337*te,.5771781*ne,1.018411*te,.8120651*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*te,.9156953*ne,1.028411*te,.9571472*ne,.8556702*te,1.052487*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*te,.9310455*ne,.7431877*te,1.009325*ne,.5624123*te,1.021761*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*te,.9344623*ne,.4820677*te,1.031761*ne,.3030112*te,1.002796*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.870098*ne,.2329994*te,1.01518*ne,.03213784*te,1.01518*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*te,.6545475*ne,-.02812061*te,.9032597*ne,-.01205169*te,.6835638*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*te,.4265613*ne,-.01812061*te,.6089503*ne,-.00606892*te,.4555777*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.1944299*ne,-.01606892*te,.3892545*ne,-.01205169*te,.1944299*ne))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(Me,te,ne){var ce=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ce*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ce*ne)).add(new go.PathSegment(go.PathSegment.Line,te,(1-ce)*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ne)).add(new go.PathSegment(go.PathSegment.Line,ce*te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ce)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ce*ne).close())).setSpots(ce/2,ce/2,1-ce/2,1-ce/2)}),go.Shape.setFigureParameter("Pie",0,new Rn("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Rn("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(Me,te,ne){var ce=Me?Me.parameter1:NaN,se=Me?Me.parameter2:NaN;isNaN(ce)&&(ce=0),isNaN(se)&&(se=315);var ge=ce%360;ge<0&&(ge+=360);var ve=se%360,be=Math.min(te,ne)/2;return new go.Geometry().add(new go.PathFigure(be,be).add(new go.PathSegment(go.PathSegment.Arc,ge,ve,be,be,be,be).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(Me,te,ne){var ce=ke/Math.SQRT2*.5,se=Math.SQRT2/2,ge=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(te,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,se*te,ge*ne,te,(1-ce)*ne,(se+ce)*te,(ge+ce)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Rn("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=30);var se=Math.min(ce,te)/2,ge=te/2,ve=ne/2;return new go.Geometry().add(new go.PathFigure(ge-se,0,!0).add(new go.PathSegment(go.PathSegment.Line,ge+se,0)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ve-se)).add(new go.PathSegment(go.PathSegment.Line,te,ve-se)).add(new go.PathSegment(go.PathSegment.Line,te,ve+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ve+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ne)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ne)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ve+se)).add(new go.PathSegment(go.PathSegment.Line,0,ve+se)).add(new go.PathSegment(go.PathSegment.Line,0,ve-se)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ve-se).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Rn("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=10);var se=Math.min(ce,te)/2,ge=te/2,ve=ne/2;return new go.Geometry().add(new go.PathFigure(ge-se,0,!0).add(new go.PathSegment(go.PathSegment.Line,ge+se,0)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ve-se)).add(new go.PathSegment(go.PathSegment.Line,te,ve-se)).add(new go.PathSegment(go.PathSegment.Line,te,ve+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ve+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ne)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ne)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ve+se)).add(new go.PathSegment(go.PathSegment.Line,0,ve+se)).add(new go.PathSegment(go.PathSegment.Line,0,ve-se)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ve-se).close()))}),go.Shape.setFigureParameter("ThickX",0,new Rn("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;if((isNaN(ce)||ce<0)&&(ce=30),te===0||ne===0){var se=new go.Geometry(go.Geometry.Rectangle);return se.startX=0,se.startY=0,se.endX=te,se.endY=ne,se}else{var ge=te/2,ve=ne/2,be=Math.atan2(ne,te),Fe=ce-Math.min(Math.cos(be)*ce/2,ge),Pe=ce-Math.min(Math.sin(be)*ce/2,ve),se=new go.Geometry,Ie=new go.PathFigure(Fe,0,!0);return se.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,ge,.2*ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,te-Fe,0)),Ie.add(new go.PathSegment(go.PathSegment.Line,te,Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.8*te,ve)),Ie.add(new go.PathSegment(go.PathSegment.Line,te,ne-Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,te-Fe,ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,ge,.8*ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,Fe,ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,ne-Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,ve)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,Pe).close()),se}}),go.Shape.setFigureParameter("ThinX",0,new Rn("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=10);var se=new go.Geometry,ge=new go.PathFigure(.1*te,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne).close()),se}),go.Shape.setFigureParameter("SquareIBeam",0,new Rn("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.2);var se=new go.Geometry,ge=new go.PathFigure(0,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ce*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5+ce/2)*te,ce*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5+ce/2)*te,(1-ce)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,(1-ce)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,(1-ce)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5-ce/2)*te,(1-ce)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5-ce/2)*te,ce*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce*ne).close()),se}),go.Shape.setFigureParameter("RoundedIBeam",0,new Rn("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.5);var se=new go.Geometry,ge=new go.PathFigure(0,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,ne,Math.abs(1-ce)*te,.25*ne,Math.abs(1-ce)*te,.75*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ce*te,.75*ne,ce*te,.25*ne).close()),se}),go.Shape.defineFigureGenerator("HalfEllipse",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,ke*te,0,te,(.5-ke/2)*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,(.5+ke/2)*ne,ke*te,ne).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,0,te,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*te,.75*ne,.5*te,.25*ne).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,.1*te,.8*ne,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,0,0,.45*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ne,.55*te,0,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,.5*ne,.9*te,.8*ne).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*te,.01*ne)).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.6*te,.2*ne,te,.25*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.7*ne,te,.8*ne,.6*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,.5*te,.75*ne,.55*te,.95*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)).add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.7*ne,.45*te,.95*ne,.5*te,.75*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.4*te,.8*ne,0,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.49*te,.01*ne,0,.25*ne,.4*te,.2*ne).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.4*te,.6*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.15*te,ne,.5*te,.75*ne,.45*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.6*ne,.55*te,.95*ne,.5*te,.75*ne));var ge=.2,ve=.3,be=0,Fe=ge*ke;return se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5+ge+be)*ne,(.5-ge+ve)*te,(.5+Fe+be)*ne,(.5-Fe+ve)*te,(.5+ge+be)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ge+ve)*te,(.5+be)*ne,(.5+Fe+ve)*te,(.5+ge+be)*ne,(.5+ge+ve)*te,(.5+Fe+be)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5-ge+be)*ne,(1-.5+ge+ve)*te,(.5-Fe+be)*ne,(.5+Fe+ve)*te,(.5-ge+be)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.65*te,.36771243*ne,(.5-Fe+ve)*te,(.5-ge+be)*ne,(.5-ge+ve+.05)*te,(.5-Fe+be-.02)*ne)),ge=.2,ve=0,be=-.3,Fe=ge*ke,se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ge+ve)*te,(.5+be)*ne,(.5+Fe+ve)*te,(.5+ge+be)*ne,(.5+ge+ve)*te,(.5+Fe+be)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5-ge+be)*ne,(1-.5+ge+ve)*te,(.5-Fe+be)*ne,(.5+Fe+ve)*te,(.5-ge+be)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+ve)*te,(.5+be)*ne,(.5-Fe+ve)*te,(.5-ge+be)*ne,(.5-ge+ve)*te,(.5-Fe+be)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-Fe+ve)*te,(.5+ge+be)*ne,(.5-ge+ve)*te,(.5+Fe+be)*ne,(.5-Fe+ve)*te,(.5+ge+be)*ne)),ge=.2,ve=-.3,be=0,Fe=ge*ke,se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5-ge+be)*ne,(1-.5+ge+ve-.05)*te,(.5-Fe+be-.02)*ne,(.5+Fe+ve)*te,(.5-ge+be)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+ve)*te,(.5+be)*ne,(.5-Fe+ve)*te,(.5-ge+be)*ne,(.5-ge+ve)*te,(.5-Fe+be)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5+ge+be)*ne,(.5-ge+ve)*te,(.5+Fe+be)*ne,(.5-Fe+ve)*te,(.5+ge+be)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.6*ne,(.5+Fe+ve)*te,(.5+ge+be)*ne,(.5+ge+ve)*te,(.5+Fe+be)*ne).close()),ce.setSpots(.06,.33,.93,.68),ce}),go.Shape.defineFigureGenerator("YinYang",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*.5,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*.5,te*.5,te*.5,te*.5)),se.add(new go.PathSegment(go.PathSegment.Arc,90,-180,te*.5,te*.75,te*.25,te*.25)),se.add(new go.PathSegment(go.PathSegment.Arc,90,180,te*.5,te*.25,te*.25,te*.25));var ge=.1,ve=.5,be=.25;return se.add(new go.PathSegment(go.PathSegment.Move,(ve+ge)*te,be*ne)),se.add(new go.PathSegment(go.PathSegment.Arc,0,-360,te*ve,ne*be,ge*te,ge*te).close()),se=new go.PathFigure(te*.5,0,!1),ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*.5,te*.5,te*.5,te*.5)),be=.75,se=new go.PathFigure((ve+ge)*te,be*ne,!0),ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,0,360,te*ve,ne*be,ge*te,ge*te).close()),ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("Peace",function(Me,te,ne){var ce=.8535533905932737,se=.5*te,ge=.5*ne;return new go.Geometry().add(new go.PathFigure(se,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,se,ge,se,ge)).add(new go.PathSegment(go.PathSegment.Line,se,ne)).add(new go.PathSegment(go.PathSegment.Move,se,ge)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Move,se,ge)).add(new go.PathSegment(go.PathSegment.Line,ce*te,ce*ne)))}),go.Shape.defineFigureGenerator("NotAllowed",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ve=.5,be=.5,Fe=new go.PathFigure(ve*te,(be-ge)*ne);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ne,(ve-se)*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ne,(ve-ge)*te,(be+se)*ne,(ve-se)*te,(be+ge)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ne,(ve+se)*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ne,(ve+ge)*te,(be-se)*ne,(ve+se)*te,(be-ge)*ne)),ge=.4,se=ke*.4;var Pe=Se(),Ie=Se(),We=Se(),Ke=Se();Rt(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.42,Pe,Ie,We,Ke,Ke);var Xe=Se(),ht=Se(),Ve=Se();Rt(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.58,Ke,Ke,Ve,Xe,ht);var Nt=Se(),qe=Se(),Ht=Se();Rt(ve,be+ge,ve-se,be+ge,ve-ge,be+se,ve-ge,be,.42,Nt,qe,Ht,Ke,Ke);var Zt=Se(),Yt=Se(),Ot=Se();return Rt(ve,be+ge,ve-se,be+ge,ve-ge,be+se,ve-ge,be,.58,Ke,Ke,Ot,Zt,Yt),Fe.add(new go.PathSegment(go.PathSegment.Move,Ot.x*te,Ot.y*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ne,Zt.x*te,Zt.y*ne,Yt.x*te,Yt.y*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,We.x*te,We.y*ne,Pe.x*te,Pe.y*ne,Ie.x*te,Ie.y*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,Ot.x*te,Ot.y*ne).close()),Fe.add(new go.PathSegment(go.PathSegment.Move,Ht.x*te,Ht.y*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,Ve.x*te,Ve.y*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ne,Xe.x*te,Xe.y*ne,ht.x*te,ht.y*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,Ht.x*te,Ht.y*ne,Nt.x*te,Nt.y*ne,qe.x*te,qe.y*ne).close()),Oe(Pe),Oe(Ie),Oe(We),Oe(Ke),Oe(Xe),Oe(ht),Oe(Ve),Oe(Nt),Oe(qe),Oe(Ht),Oe(Zt),Oe(Yt),Oe(Ot),ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("Fragile",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*te,0)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.29*te,.33*ne)).add(new go.PathSegment(go.PathSegment.Line,.35*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.5*ne,te,.25*ne,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.5*ne,0,.25*ne).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Rn("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=30),ce>te&&(ce=te);var se=(te-ce)/2,ge=se+ce;return new go.Geometry().add(new go.PathFigure(ge,.5*ne).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,se,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,.55*ne).add(new go.PathSegment(go.PathSegment.Line,.6*te,0)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.55*ne).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(Me,te,ne){var ce=new go.Geometry,se=ke*.4,ge=.4,ve=.5,be=.5,Fe=Se(),Pe=Se(),Ie=Se(),We=Se(),Ke=new go.PathFigure((ve-ge)*te,be*ne,!1);ce.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne)),Rt(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.44,Ie,We,Pe,Fe,Fe),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*te,Pe.y*ne,Ie.x*te,Ie.y*ne,We.x*te,We.y*ne));var Xe=ye(Pe.x,Pe.y);Rt(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.56,Fe,Fe,Pe,Ie,We);var ht=ye(Pe.x,Pe.y);Ke.add(new go.PathSegment(go.PathSegment.Line,(Xe.x*.1+.95*.9)*te,Xe.y*.1*ne)),Ke.add(new go.PathSegment(go.PathSegment.Line,.85*te,Xe.y*.1*ne)),Ke.add(new go.PathSegment(go.PathSegment.Line,.85*te,0)),Ke.add(new go.PathSegment(go.PathSegment.Line,te,0)),Ke.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),Ke.add(new go.PathSegment(go.PathSegment.Line,(ht.x*.1+.9)*te,.15*ne)),Ke.add(new go.PathSegment(go.PathSegment.Line,(ht.x*.1+.9)*te,(ht.y*.1+.05*.9)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Line,ht.x*te,ht.y*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ne,Ie.x*te,Ie.y*ne,We.x*te,We.y*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ne,(ve-se)*te,(be+ge)*ne,(ve-ge)*te,(be+se)*ne)),ge=.35,se=ke*.35;var Ve=new go.PathFigure(ve*te,(be-ge)*ne,!1);ce.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ne,(ve-se)*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ne,(ve-ge)*te,(be+se)*ne,(ve-se)*te,(be+ge)*ne)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ne,(ve+se)*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ne,(ve+ge)*te,(be-se)*ne,(ve+se)*te,(be-ge)*ne));var Nt=new go.PathFigure((ve-ge)*te,be*ne,!1);return ce.add(Nt),Oe(Fe),Oe(Pe),Oe(Ie),Oe(We),Oe(Xe),Oe(ht),ce.spot1=new go.Spot(.202,.257),ce.spot2=new go.Spot(.792,.739),ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("GenderFemale",function(Me,te,ne){var ce=new go.Geometry,se=.375,ge=0,ve=-.125,be=se*ke,Fe=new go.PathFigure((.525+ge)*te,(.5+se+ve)*ne,!1);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+se+ge)*te,(.5+ve)*ne,(.5+be+ge)*te,(.5+se+ve)*ne,(.5+se+ge)*te,(.5+be+ve)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ge)*te,(.5-se+ve)*ne,(1-.5+se+ge)*te,(.5-be+ve)*ne,(.5+be+ge)*te,(.5-se+ve)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ge)*te,(.5+ve)*ne,(.5-be+ge)*te,(.5-se+ve)*ne,(.5-se+ge)*te,(.5-be+ve)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ge)*te,(.5+se+ve)*ne,(.5-se+ge)*te,(.5+be+ve)*ne,(.5-be+ge)*te,(.5+se+ve)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.475*te,.85*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.425*te,.85*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.425*te,.9*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.475*te,.9*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.475*te,ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.525*te,ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.525*te,.9*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.575*te,.9*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.575*te,.85*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ne).close()),se=.325,ge=0,ve=-.125,be=se*ke;var Fe=new go.PathFigure((1-.5+se+ge)*te,(.5+ve)*ne,!1);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ge)*te,(.5+se+ve)*ne,(.5+se+ge)*te,(.5+be+ve)*ne,(.5+be+ge)*te,(.5+se+ve)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ge)*te,(.5+ve)*ne,(.5-be+ge)*te,(.5+se+ve)*ne,(.5-se+ge)*te,(.5+be+ve)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ge)*te,(.5-se+ve)*ne,(.5-se+ge)*te,(.5-be+ve)*ne,(.5-be+ge)*te,(.5-se+ve)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+se+ge)*te,(.5+ve)*ne,(.5+be+ge)*te,(.5-se+ve)*ne,(1-.5+se+ge)*te,(.5-be+ve)*ne));var Fe=new go.PathFigure((.525+ge)*te,(.5+se+ve)*ne,!1);return ce.add(Fe),ce.spot1=new go.Spot(.232,.136),ce.spot2=new go.Spot(.682,.611),ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("LogicImplies",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;return isNaN(ce)&&(ce=.2),new go.Geometry().add(new go.PathFigure((1-ce)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;return isNaN(ce)&&(ce=.2),new go.Geometry().add(new go.PathFigure((1-ce)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,ce*te,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ce*te,ne))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)))}),go.Shape.defineFigureGenerator("LogicAnd",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(Me,te,ne){var ce=new go.Geometry().add(new go.PathFigure(.5*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*te,.5*ne,.5*te,.5*ne)));return ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("LogicTruth",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)))}),go.Shape.defineFigureGenerator("LogicForAll",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(Me,te,ne){var ce=.5;return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,0,ce*ne)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ce*te,ce*ne,ce*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(Me,te,ne){var ce=.5;return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,ce*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ce*te,ce*ne,ce*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Rn("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Rn("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.3);var se=Me?Me.parameter2:NaN;isNaN(se)&&(se=.3);var ge=(1-ce)*te,ve=(.5-se/2)*ne,be=(.5+se/2)*ne,Fe=new go.Geometry,Pe=new go.PathFigure(0,ve,!0);Fe.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,ve)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,be)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,be).close()),Fe.spot1=new go.Spot(0,ve/ne);var Ie=He(0,be/ne,1,be/ne,ge/te,1,1,.5,Se());return Fe.spot2=new go.Spot(Ie.x,Ie.y),Oe(Ie),Fe}),go.Shape.setFigureParameter("Arrow2",0,new Rn("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Rn("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=30),ce>te&&(ce=te);var se=Me?Me.parameter2:NaN;isNaN(se)&&(se=30),se=Math.min(se,ne/2);var ge=te-ce,ve=(ne-se)/2,be=ve+se,Fe=new go.Geometry,Pe=new go.PathFigure(0,ve,!0);Fe.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,ve)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,be)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,be).close()),Fe.spot1=new go.Spot(0,ve/ne);var Ie=He(0,be/ne,1,be/ne,ge/te,1,1,.5,Se());return Fe.spot2=new go.Spot(Ie.x,Ie.y),Oe(Ie),Fe}),go.Shape.defineFigureGenerator("Chevron",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne).close()),ce}),go.Shape.defineFigureGenerator("DoubleArrow",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.214*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,1*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.786*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,1*ne).close()),ce}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Rn("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.3);var se=(.5-ce/2)*ne,ge=(.5+ce/2)*ne,ve=new go.Geometry,be=new go.PathFigure(te,.5*ne,!0);ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.3*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)),be.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),be.add(new go.PathSegment(go.PathSegment.Line,.3*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close());var Fe=He(0,.5,.3,0,0,se/ne,.1,se/ne,Se());return ve.spot1=new go.Spot(Fe.x,Fe.y),Fe=He(.7,1,1,.5,0,ge/ne,1,ge/ne,Fe),ve.spot2=new go.Spot(Fe.x,Fe.y),Oe(Fe),ve}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Rn("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Rn("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=40);var se=Me?Me.parameter2:NaN;isNaN(se)&&(se=100);var ge=(ne-ce)/2,ve=ge+ce,be=(ne-se)/2,Fe=be+se;(ce>ne||se>ne)&&(se>ce?(ce=ce*ne/se,ge=(ne-ce)/2,ve=ge+ce,be=0,Fe=ne):(ge=0,ve=ne,be=0,Fe=ne));var Pe=new go.Geometry,Ie=new go.PathFigure(te,.5*ne,!0);Pe.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,Fe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,ve)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*te,ve)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*te,Fe)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*te,be)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*te,ge)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,be).close());var We=He(0,.5,.3,be/ne,0,ge/ne,1,ge/ne,Se());return Pe.spot1=new go.Spot(We.x,We.y),We=He(.7,Fe/ne,1,.5,0,ve/ne,1,ve/ne,We),Pe.spot2=new go.Spot(We.x,We.y),Oe(We),Pe}),go.Shape.setFigureParameter("IBeamArrow",0,new Rn("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.3);var se=(.5-ce/2)*ne,ge=(.5+ce/2)*ne,ve=new go.Geometry,be=new go.PathFigure(te,.5*ne,!0);ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),be.add(new go.PathSegment(go.PathSegment.Line,0,ne)),be.add(new go.PathSegment(go.PathSegment.Line,0,0)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),ve.spot1=new go.Spot(0,se/ne);var Fe=He(.7,1,1,.5,0,ge/ne,1,ge/ne,Se());return ve.spot2=new go.Spot(Fe.x,Fe.y),Oe(Fe),ve}),go.Shape.setFigureParameter("IBeamArrow2",0,new Rn("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Rn("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=40);var se=Me?Me.parameter2:NaN;isNaN(se)&&(se=100);var ge=(ne-ce)/2,ve=ge+ce,be=(ne-se)/2,Fe=be+se;(ce>ne||se>ne)&&(se>ce?(ce=ce*ne/se,ge=(ne-ce)/2,ve=ge+ce,be=0,Fe=ne):(ge=0,ve=ne,be=0,Fe=ne));var Pe=new go.Geometry,Ie=new go.PathFigure(te,.5*ne,!0);Pe.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,Fe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,ve)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,ve)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,Fe)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,Fe)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,be)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,be)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,ge)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,be).close()),Pe.spot1=new go.Spot(0,ge/ne);var We=He(.7,Fe/ne,1,.5,0,ve/ne,1,ve/ne,Se());return Pe.spot2=new go.Spot(We.x,We.y),Oe(We),Pe}),go.Shape.setFigureParameter("Pointer",0,new Rn("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.1);var se=new go.Geometry,ge=new go.PathFigure(te,.5*ne,!0);se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,ce*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),se.spot1=new go.Spot(ce,.35);var ve=He(.2,.65,1,.65,0,1,1,.5,Se());return se.spot2=new go.Spot(ve.x,ve.y),Oe(ve),se}),go.Shape.setFigureParameter("RoundedPointer",0,new Rn("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.3);var se=new go.Geometry,ge=new go.PathFigure(te,.5*ne,!0);se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ce*te,.75*ne,ce*te,.25*ne).close()),se.spot1=new go.Spot(ce,.35);var ve=He(0,.65,1,.65,0,1,1,.5,Se());return se.spot2=new go.Spot(ve.x,ve.y),Oe(ve),se}),go.Shape.setFigureParameter("SplitEndArrow",0,new Rn("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.4);var se=(.5-ce/2)*ne,ge=(.5+ce/2)*ne,ve=new go.Geometry,be=new go.PathFigure(te,.5*ne,!0);ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,0,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),be.add(new go.PathSegment(go.PathSegment.Line,0,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),ve.spot1=new go.Spot(.2,.3);var Fe=He(.7,1,1,.5,0,ge/ne,1,ge/ne,Se());return ve.spot2=new go.Spot(Fe.x,Fe.y),Oe(Fe),ve}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Rn("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=50);var se=(ne-ce)/2,ge=se+ce;ce>ne&&(se=0,ge=ne);var ve=new go.Geometry,be=new go.PathFigure(te,.5*ne,!0);ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,0,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),be.add(new go.PathSegment(go.PathSegment.Line,0,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),ve.spot1=new go.Spot(.2,se/ne);var Fe=He(.7,1,1,.5,0,ge/ne,1,ge/ne,Se());return ve.spot2=new go.Spot(Fe.x,Fe.y),Oe(Fe),ve}),go.Shape.setFigureParameter("SquareArrow",0,new Rn("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.7);var se=new go.Geometry,ge=new go.PathFigure(te,.5*ne,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ce*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,ce*te,0).close()),se.spot1=go.Spot.TopLeft,se.spot2=new go.Spot(ce,1),se}),go.Shape.defineFigureGenerator("Cone1",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=ke*.1,ve=new go.PathFigure(0,.9*ne,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+ge)*ne,(.5+se)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-se)*te,ne,0,(.9+ge)*ne).close()),ce.spot1=new go.Spot(.25,.5),ce.spot2=new go.Spot(.75,.97),ce}),go.Shape.defineFigureGenerator("Cone2",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.9*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ne,(1-.85/.9)*te,ne,.85/.9*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne).close());var ge=new go.PathFigure(0,.9*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ne,(1-.85/.9)*te,.8*ne,.85/.9*te,.8*ne)),ce.spot1=new go.Spot(.25,.5),ce.spot2=new go.Spot(.75,.82),ce}),go.Shape.defineFigureGenerator("Cube1",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var ge=new go.PathFigure(.5*te,ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.5*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),ce.spot1=new go.Spot(0,.3),ce.spot2=new go.Spot(.5,.85),ce}),go.Shape.defineFigureGenerator("Cube2",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.3*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,0).close());var ge=new go.PathFigure(0,.3*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Move,.7*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),ce.spot1=new go.Spot(0,.3),ce.spot2=new go.Spot(.7,1),ce}),go.Shape.defineFigureGenerator("Cylinder1",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=5),ce=Math.min(ce,ne/3);var se=new go.Geometry,ge=ke*.5,ve=new go.PathFigure(0,ce,!0);se.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,ke*ce,(.5-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,1*te,ce,(.5+ge)*te,0,1*te,ke*ce)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ne-ce)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,1*ne,1*te,ne-ke*ce,(.5+ge)*te,1*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ce,(.5-ge)*te,1*ne,0,ne-ke*ce)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce));var be=new go.PathFigure(te,ce,!1);return se.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,2*ce,1*te,2*ce-ke*ce,(.5+ge)*te,2*ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,ce,(.5-ge)*te,2*ce,0,2*ce-ke*ce)),se.spot1=new go.Spot(0,0,0,2*ce),se.spot2=new go.Spot(1,1),se}),go.Shape.defineFigureGenerator("Cylinder2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=5),ce=Math.min(ce,ne/3);var se=new go.Geometry,ge=ke*.5,ve=new go.PathFigure(0,ne-ce,!0);se.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,ke*ce,(.5-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,ce,(.5+ge)*te,0,te,ke*ce)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ne-ce)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,ne-ke*ce,(.5+ge)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ce,(.5-ge)*te,ne,0,ne-ke*ce));var be=new go.PathFigure(0,ne-ce,!1);return se.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne-2*ce,0,ne-ce-ke*ce,(.5-ge)*te,ne-2*ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,te,ne-ce,(.5+ge)*te,ne-2*ce,te,ne-ce-ke*ce)),se.spot1=new go.Spot(0,0),se.spot2=new go.Spot(1,1,0,-2*ce),se}),go.Shape.defineFigureGenerator("Cylinder3",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=5),ce=Math.min(ce,te/3);var se=new go.Geometry,ge=ke*.5,ve=new go.PathFigure(ce,0,!0);se.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te-ce,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,te-ke*ce,0,te,(.5-ge)*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ne,te,(.5+ge)*ne,te-ke*ce,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,ce,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,ke*ce,ne,0,(.5+ge)*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce,0,0,(.5-ge)*ne,ke*ce,0));var be=new go.PathFigure(ce,0,!1);return se.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,2*ce,.5*ne,ce+ke*ce,0,2*ce,(.5-ge)*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce,ne,2*ce,(.5+ge)*ne,ce+ke*ce,ne)),se.spot1=new go.Spot(0,0,2*ce,0),se.spot2=new go.Spot(1,1),se}),go.Shape.defineFigureGenerator("Cylinder4",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=5),ce=Math.min(ce,te/3);var se=new go.Geometry,ge=ke*.5,ve=new go.PathFigure(te-ce,0,!0);se.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,te-ke*ce,0,te,(.5-ge)*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ne,te,(.5+ge)*ne,te-ke*ce,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,ce,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,ke*ce,ne,0,(.5+ge)*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce,0,0,(.5-ge)*ne,ke*ce,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te-ce,0));var be=new go.PathFigure(te-ce,0,!1);return se.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,te-2*ce,.5*ne,te-ce-ke*ce,0,te-2*ce,(.5-ge)*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ne,te-2*ce,(.5+ge)*ne,te-ce-ke*ce,ne)),se.spot1=new go.Spot(0,0),se.spot2=new go.Spot(1,1,-2*ce,0),se}),go.Shape.defineFigureGenerator("Prism1",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.25*te,.25*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ge=new go.PathFigure(.25*te,.25*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),ce.spot1=new go.Spot(.408,.172),ce.spot2=new go.Spot(.833,.662),ce}),go.Shape.defineFigureGenerator("Prism2",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.25*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ge=new go.PathFigure(0,ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)),ce.spot1=new go.Spot(.25,.5),ce.spot2=new go.Spot(.75,.75),ce}),go.Shape.defineFigureGenerator("Pyramid1",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne).close());var ge=new go.PathFigure(.5*te,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),ce.spot1=new go.Spot(.25,.367),ce.spot2=new go.Spot(.75,.875),ce}),go.Shape.defineFigureGenerator("Pyramid2",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var ge=new go.PathFigure(.5*te,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),ce.spot1=new go.Spot(.25,.367),ce.spot2=new go.Spot(.75,.875),ce}),go.Shape.defineFigureGenerator("Actor",function(Me,te,ne){var ce=new go.Geometry,se=.2,ge=.1,ve=ke*se,be=ke*ge,Fe=.5,Pe=.1,Ie=new go.PathFigure(Fe*te,(Pe+ge)*ne,!0);ce.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-se)*te,Pe*ne,(Fe-ve)*te,(Pe+ge)*ne,(Fe-se)*te,(Pe+be)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe-ge)*ne,(Fe-se)*te,(Pe-be)*ne,(Fe-ve)*te,(Pe-ge)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+se)*te,Pe*ne,(Fe+ve)*te,(Pe-ge)*ne,(Fe+se)*te,(Pe-be)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe+ge)*ne,(Fe+se)*te,(Pe+be)*ne,(Fe+ve)*te,(Pe+ge)*ne));var We=.05,Ke=ke*We;Fe=.05,Pe=.25;var Xe=new go.PathFigure(.5*te,.2*ne,!0);return ce.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,.95*te,.2*ne)),Fe=.95,Pe=.25,Xe.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+We)*te,Pe*ne,(Fe+Ke)*te,(Pe-We)*ne,(Fe+We)*te,(Pe-Ke)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.85*te,.35*ne)),We=.025,Ke=ke*We,Fe=.825,Pe=.35,Xe.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe-We)*ne,(Fe+We)*te,(Pe-Ke)*ne,(Fe+Ke)*te,(Pe-We)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-We)*te,Pe*ne,(Fe-Ke)*te,(Pe-We)*ne,(Fe-We)*te,(Pe-Ke)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ne)),We=.05,Ke=ke*We,Fe=.5,Pe=.7,Xe.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe-We)*ne,(Fe+We)*te,(Pe-Ke)*ne,(Fe+Ke)*te,(Pe-We)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-We)*te,Pe*ne,(Fe-Ke)*te,(Pe-We)*ne,(Fe-We)*te,(Pe-Ke)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.45*te,ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.2*te,.35*ne)),We=.025,Ke=ke*We,Fe=.175,Pe=.35,Xe.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe-We)*ne,(Fe+We)*te,(Pe-Ke)*ne,(Fe+Ke)*te,(Pe-We)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-We)*te,Pe*ne,(Fe-Ke)*te,(Pe-We)*ne,(Fe-We)*te,(Pe-Ke)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),We=.05,Ke=ke*We,Fe=.05,Pe=.25,Xe.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe-We)*ne,(Fe-We)*te,(Pe-Ke)*ne,(Fe-Ke)*te,(Pe-We)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ne)),ce.spot1=new go.Spot(.2,.2),ce.spot2=new go.Spot(.8,.65),ce}),go.Shape.setFigureParameter("Card",0,new Rn("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.2);var se=new go.Geometry,ge=new go.PathFigure(te,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,ce*te,0).close()),se.spot1=new go.Spot(0,ce),se.spot2=go.Spot.BottomRight,se}),go.Shape.defineFigureGenerator("Collate",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,.5*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne));var ge=new go.PathFigure(.5*te,.5*ne,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),ce.spot1=new go.Spot(.25,0),ce.spot2=new go.Spot(.75,.25),ce}),go.Shape.defineFigureGenerator("CreateRequest",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ve=new go.PathFigure(0,se*ne,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,se*ne)),ve.add(new go.PathSegment(go.PathSegment.Move,0,(1-se)*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,te,(1-se)*ne)),ce}),go.Shape.defineFigureGenerator("Database",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=ke*.1,ve=new go.PathFigure(te,.1*ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+ge)*ne,(.5+se)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-se)*te,ne,0,(.9+ge)*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-ge)*ne,(.5-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,(.5+se)*te,0,te,(.1-ge)*ne));var be=new go.PathFigure(te,.1*ne,!1);return ce.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,te,(.1+ge)*ne,(.5+se)*te,.2*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-se)*te,.2*ne,0,(.1+ge)*ne)),be.add(new go.PathSegment(go.PathSegment.Move,te,.2*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,te,(.2+ge)*ne,(.5+se)*te,.3*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-se)*te,.3*ne,0,(.2+ge)*ne)),be.add(new go.PathSegment(go.PathSegment.Move,te,.3*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.4*ne,te,(.3+ge)*ne,(.5+se)*te,.4*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,(.5-se)*te,.4*ne,0,(.3+ge)*ne)),ce.spot1=new go.Spot(0,.4),ce.spot2=new go.Spot(1,.9),ce}),go.Shape.defineFigureGenerator("DataStorage",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,te,0,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.9*ne,.25*te,.1*ne).close()),ce.spot1=new go.Spot(.226,0),ce.spot2=new go.Spot(.81,1),ce}),go.Shape.defineFigureGenerator("DiskStorage",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=ke*.1,ve=new go.PathFigure(te,.1*ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+ge)*ne,(.5+se)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-se)*te,ne,0,(.9+ge)*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-ge)*ne,(.5-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,(.5+se)*te,0,te,(.1-ge)*ne));var be=new go.PathFigure(te,.1*ne,!1);return ce.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,te,(.1+ge)*ne,(.5+se)*te,.2*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-se)*te,.2*ne,0,(.1+ge)*ne)),be.add(new go.PathSegment(go.PathSegment.Move,te,.2*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,te,(.2+ge)*ne,(.5+se)*te,.3*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-se)*te,.3*ne,0,(.2+ge)*ne)),ce.spot1=new go.Spot(0,.3),ce.spot2=new go.Spot(1,.9),ce}),go.Shape.defineFigureGenerator("Display",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.25*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,te,0,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close()),ce.spot1=new go.Spot(.25,0),ce.spot2=new go.Spot(.75,1),ce}),go.Shape.defineFigureGenerator("DividedEvent",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)?se=.2:se<.15&&(se=.15);var ge=ke*.2,ve=new go.PathFigure(0,.2*ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,0,(.2-ge)*ne,(.2-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.2*ne,(.8+ge)*te,0,te,(.2-ge)*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,ne,te,(.8+ge)*ne,(.8+ge)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*ne,(.2-ge)*te,ne,0,(.8+ge)*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne));var be=new go.PathFigure(0,se*ne,!1);return ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te,se*ne)),ce}),go.Shape.defineFigureGenerator("DividedProcess",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;(isNaN(se)||se<.1)&&(se=.1);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ve=new go.PathFigure(0,se*ne,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,se*ne)),ce}),go.Shape.defineFigureGenerator("Document",function(Me,te,ne){var ce=new go.Geometry;ne=ne/.8;var se=new go.PathFigure(0,.7*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close()),ce.spot1=go.Spot.TopLeft,ce.spot2=new go.Spot(1,.6),ce}),go.Shape.defineFigureGenerator("ExternalOrganization",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;(isNaN(se)||se<.2)&&(se=.2);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ve=new go.PathFigure(se*te,0,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,0,se*ne)),ve.add(new go.PathSegment(go.PathSegment.Move,te,se*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,(1-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Move,0,(1-se)*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Move,(1-se)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,te,(1-se)*ne)),ce}),go.Shape.defineFigureGenerator("ExternalProcess",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var ge=new go.PathFigure(.1*te,.4*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.9*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.6*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.4*te,.9*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.9*ne)),ce.spot1=new go.Spot(.25,.25),ce.spot2=new go.Spot(.75,.75),ce}),go.Shape.defineFigureGenerator("File",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ge=new go.PathFigure(.75*te,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),ce.spot1=new go.Spot(0,.25),ce.spot2=go.Spot.BottomRight,ce}),go.Shape.defineFigureGenerator("Interrupt",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,.5*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne));var ge=new go.PathFigure(te,.5*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne));var ve=new go.PathFigure(te,.5*ne,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.5,.75),ce}),go.Shape.defineFigureGenerator("InternalStorage",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN,ge=Me?Me.parameter2:NaN;isNaN(se)&&(se=.1),isNaN(ge)&&(ge=.1);var ve=new go.PathFigure(0,0,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var be=new go.PathFigure(se*te,0,!1);return ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),be.add(new go.PathSegment(go.PathSegment.Move,0,ge*ne)),be.add(new go.PathSegment(go.PathSegment.Line,te,ge*ne)),ce}),go.Shape.defineFigureGenerator("Junction",function(Me,te,ne){var ce=new go.Geometry,se=1/Math.SQRT2,ge=(1-1/Math.SQRT2)/2,ve=ke*.5,be=.5,Fe=new go.PathFigure(te,be*ne,!0);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,be*te,ne,te,(be+ve)*ne,(be+ve)*te,ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,0,be*ne,(be-ve)*te,ne,0,(be+ve)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,be*te,0,0,(be-ve)*ne,(be-ve)*te,0)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,te,be*ne,(be+ve)*te,0,te,(be-ve)*ne));var Pe=new go.PathFigure((ge+se)*te,(ge+se)*ne,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,ge*te,ge*ne)),Pe.add(new go.PathSegment(go.PathSegment.Move,ge*te,(ge+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,(ge+se)*te,ge*ne)),ce}),go.Shape.defineFigureGenerator("LinedDocument",function(Me,te,ne){var ce=new go.Geometry;ne=ne/.8;var se=new go.PathFigure(0,.7*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close());var ge=new go.PathFigure(.1*te,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,.75*ne)),ce.spot1=new go.Spot(.1,0),ce.spot2=new go.Spot(1,.6),ce}),go.Shape.defineFigureGenerator("LoopLimit",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),ce.spot1=new go.Spot(0,.25),ce.spot2=go.Spot.BottomRight,ce}),go.Shape.defineFigureGenerator("MagneticTape",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ve=new go.PathFigure(.5*te,ne,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ge*ne,(ge-se)*te,ne,0,(ge+se)*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,0,0,(ge-se)*ne,(ge-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,ge*ne,(ge+se)*te,0,te,(ge-se)*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge+.1)*te,.9*ne,te,(ge+se)*ne,(ge+se)*te,.9*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),ce.spot1=new go.Spot(.15,.15),ce.spot2=new go.Spot(.85,.8),ce}),go.Shape.defineFigureGenerator("ManualInput",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne).close()),ce.spot1=new go.Spot(0,.25),ce.spot2=go.Spot.BottomRight,ce}),go.Shape.defineFigureGenerator("MessageFromUser",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.7);var ge=new go.PathFigure(0,0,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,se*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=go.Spot.TopLeft,ce}),go.Shape.defineFigureGenerator("MicroformProcessing",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.25);var ge=new go.PathFigure(0,0,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,se*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,(1-se)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce}),go.Shape.defineFigureGenerator("MicroformRecording",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(1,.75),ce}),go.Shape.defineFigureGenerator("MultiDocument",function(Me,te,ne){var ce=new go.Geometry;ne=ne/.8;var se=new go.PathFigure(te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.44*ne,.96*te,.47*ne,.93*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.54*ne,.86*te,.57*ne,.83*te,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.4*te,.4*ne,.4*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,0).close());var ge=new go.PathFigure(.1*te,.2*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.54*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.44*ne)),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.8,.77),ce}),go.Shape.defineFigureGenerator("MultiProcess",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.1*te,.1*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne).close());var ge=new go.PathFigure(.2*te,.1*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.1*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ne)),ce.spot1=new go.Spot(0,.2),ce.spot2=new go.Spot(.8,1),ce}),go.Shape.defineFigureGenerator("OfflineStorage",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=1-se,ve=new go.PathFigure(0,0,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close());var be=new go.PathFigure(.5*se*te,se*ne,!1);return ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,(1-.5*se)*te,se*ne)),ce}),go.Shape.defineFigureGenerator("OffPageConnector",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=go.Spot.TopLeft,ce.spot2=new go.Spot(.75,1),ce}),go.Shape.defineFigureGenerator("Or",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ve=new go.PathFigure(te,ge*ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,ne,te,(ge+se)*ne,(ge+se)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ge*ne,(ge-se)*te,ne,0,(ge+se)*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,0,0,(ge-se)*ne,(ge-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,ge*ne,(ge+se)*te,0,te,(ge-se)*ne));var be=new go.PathFigure(te,.5*ne,!1);return ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),be.add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)),be.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ce}),go.Shape.defineFigureGenerator("PaperTape",function(Me,te,ne){var ce=new go.Geometry;ne=ne/.8;var se=new go.PathFigure(0,.7*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.3*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ne,.5*te,.6*ne,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close()),ce.spot1=new go.Spot(0,.49),ce.spot2=new go.Spot(1,.75),ce}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN,ge=Me?Me.parameter2:NaN;isNaN(se)&&(se=.1),isNaN(ge)&&(ge=.3);var ve=new go.PathFigure(0,0,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,(1-ge)*te,.5*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN,ge=Me?Me.parameter2:NaN;isNaN(se)&&(se=.1),isNaN(ge)&&(ge=.3);var ve=new go.PathFigure(0,0,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,(1-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,(1-ge)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce}),go.Shape.defineFigureGenerator("Procedure",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ve=new go.PathFigure((1-se)*te,0,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,(1-se)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Move,se*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),ce}),go.Shape.defineFigureGenerator("Process",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ve=new go.PathFigure(se*te,0,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),ce.spot2=go.Spot.BottomRight,ce}),go.Shape.defineFigureGenerator("Sort",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var ge=new go.PathFigure(0,.5*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),ce.spot1=new go.Spot(.25,.25),ce.spot2=new go.Spot(.75,.5),ce}),go.Shape.defineFigureGenerator("Start",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.25);var ge=new go.PathFigure(se*te,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ne,.25*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ne,.25*te,.5*ne));var ve=new go.PathFigure(se*te,0,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Move,(1-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,(1-se)*te,ne)),ce.spot1=new go.Spot(se,0),ce.spot2=new go.Spot(1-se,1),ce}),go.Shape.defineFigureGenerator("Terminator",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.25*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ne,.25*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ne,.25*te,.5*ne)),ce.spot1=new go.Spot(.23,0),ce.spot2=new go.Spot(.77,1),ce}),go.Shape.defineFigureGenerator("TransmittalTape",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.75*te,(1-se)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,(1-se)*ne).close()),ce.spot1=go.Spot.TopLeft,ce}),go.Shape.defineFigureGenerator("AndGate",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=new go.PathFigure(0,0,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(.5+se)*te,0,te,(.5-se)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.5+se)*ne,(.5+se)*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=go.Spot.TopLeft,ce.spot2=new go.Spot(.55,1),ce}),go.Shape.defineFigureGenerator("Buffer",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.5,.75),ce}),go.Shape.defineFigureGenerator("Clock",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ve=new go.PathFigure(te,ge*ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,ne,te,(ge+se)*ne,(ge+se)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ge*ne,(ge-se)*te,ne,0,(ge+se)*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,0,0,(ge-se)*ne,(ge-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,ge*ne,(ge+se)*te,0,te,(ge-se)*ne));var be=new go.PathFigure(te,ge*ne,!1);ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te,ge*ne));var Fe=new go.PathFigure(.8*te,.75*ne,!1);return ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.25*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.25*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.75*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.75*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.25*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.2*te,.25*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,.2*te,.75*ne)),ce}),go.Shape.defineFigureGenerator("Ground",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.3*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.4*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne)),ce}),go.Shape.defineFigureGenerator("Inverter",function(Me,te,ne){var ce=new go.Geometry,se=ke*.1,ge=.1,ve=.9,be=.5,Fe=new go.PathFigure(.8*te,.5*ne,!0);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),Fe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne));var Pe=new go.PathFigure((ve+ge)*te,be*ne,!0);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ne,(ve-se)*te,(be+ge)*ne,(ve-ge)*te,(be+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ne,(ve+se)*te,(be-ge)*ne,(ve+ge)*te,(be-se)*ne)),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.4,.75),ce}),go.Shape.defineFigureGenerator("NandGate",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=ke*.4,ve=ke*.1,be=.1,Fe=.9,Pe=.5,Ie=new go.PathFigure(.8*te,.5*ne,!0);ce.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ne,.8*te,(.5+ge)*ne,(.4+se)*te,ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ie.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(.4+se)*te,0,.8*te,(.5-ge)*ne));var We=new go.PathFigure((Fe+be)*te,Pe*ne,!0);return ce.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe+be)*ne,(Fe+be)*te,(Pe+ve)*ne,(Fe+ve)*te,(Pe+be)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-be)*te,Pe*ne,(Fe-ve)*te,(Pe+be)*ne,(Fe-be)*te,(Pe+ve)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe-be)*ne,(Fe-be)*te,(Pe-ve)*ne,(Fe-ve)*te,(Pe-be)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+be)*te,Pe*ne,(Fe+ve)*te,(Pe-be)*ne,(Fe+be)*te,(Pe-ve)*ne)),ce.spot1=new go.Spot(0,.05),ce.spot2=new go.Spot(.55,.95),ce}),go.Shape.defineFigureGenerator("NorGate",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*se,ve=0,be=.5,Fe=new go.PathFigure(.8*te,.5*ne,!0);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.7*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ne,.25*te,.25*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(ve+ge)*te,(be-se)*ne,.7*te,(be-ge)*ne)),se=.1,ge=ke*.1,ve=.9,be=.5;var Pe=new go.PathFigure((ve-se)*te,be*ne,!0);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ne,(ve+ge)*te,(be-se)*ne,(ve+se)*te,(be-ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ne,(ve-ge)*te,(be+se)*ne,(ve-se)*te,(be+ge)*ne)),ce.spot1=new go.Spot(.2,.25),ce.spot2=new go.Spot(.6,.75),ce}),go.Shape.defineFigureGenerator("OrGate",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*se,ve=0,be=.5,Fe=new go.PathFigure(0,0,!0);return ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(ve+ge+ge)*te,(be-se)*ne,.8*te,(be-ge)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.8*te,(be+ge)*ne,(ve+ge+ge)*te,(be+se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ne,.25*te,.25*ne).close()),ce.spot1=new go.Spot(.2,.25),ce.spot2=new go.Spot(.75,.75),ce}),go.Shape.defineFigureGenerator("XnorGate",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*se,ve=.2,be=.5,Fe=new go.PathFigure(.1*te,0,!1);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ne,.35*te,.25*ne,.35*te,.75*ne));var Pe=new go.PathFigure(.8*te,.5*ne,!0);ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ne,.7*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ne,.45*te,.25*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(ve+ge)*te,(be-se)*ne,.7*te,(be-ge)*ne)),se=.1,ge=ke*.1,ve=.9,be=.5;var Ie=new go.PathFigure((ve-se)*te,be*ne,!0);return ce.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ne,(ve+ge)*te,(be-se)*ne,(ve+se)*te,(be-ge)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ne,(ve-ge)*te,(be+se)*ne,(ve-se)*te,(be+ge)*ne)),ce.spot1=new go.Spot(.4,.25),ce.spot2=new go.Spot(.65,.75),ce}),go.Shape.defineFigureGenerator("XorGate",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*se,ve=.2,be=.5,Fe=new go.PathFigure(.1*te,0,!1);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ne,.35*te,.25*ne,.35*te,.75*ne));var Pe=new go.PathFigure(.2*te,0,!0);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(ve+ge)*te,(be-se)*ne,.9*te,(be-ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ne,.9*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ne,.45*te,.25*ne).close()),ce.spot1=new go.Spot(.4,.25),ce.spot2=new go.Spot(.8,.75),ce}),go.Shape.defineFigureGenerator("Capacitor",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce}),go.Shape.defineFigureGenerator("Resistor",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ne)),ce}),go.Shape.defineFigureGenerator("Inductor",function(Me,te,ne){var ce=new go.Geometry,se=ke*.1,ge=.1,ve=.1,be=.5,Fe=new go.PathFigure((ve-se*.5)*te,ne,!1);return ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,0,(ve-se)*te,ne,(ve-ge)*te,0)),ve=.3,Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,ne,(ve+ge)*te,0,(ve+se)*te,ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,0,(ve-se)*te,ne,(ve-ge)*te,0)),ve=.5,Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,ne,(ve+ge)*te,0,(ve+se)*te,ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,0,(ve-se)*te,ne,(ve-ge)*te,0)),ve=.7,Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,ne,(ve+ge)*te,0,(ve+se)*te,ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,0,(ve-se)*te,ne,(ve-ge)*te,0)),ve=.9,Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se*.5)*te,ne,(ve+ge)*te,0,(ve+se)*te,ne)),ce}),go.Shape.defineFigureGenerator("ACvoltageSource",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ve=.5,be=.5,Fe=new go.PathFigure((ve-ge)*te,be*ne,!1);return ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ne,(ve+se)*te,(be-ge)*ne,(ve+ge)*te,(be-se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ne,(ve-se)*te,(be+ge)*ne,(ve-ge)*te,(be+se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Move,(ve-ge+.1)*te,be*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge-.1)*te,be*ne,ve*te,(be-ge)*ne,ve*te,(be+ge)*ne)),ce}),go.Shape.defineFigureGenerator("DCvoltageSource",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.75*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce}),go.Shape.defineFigureGenerator("Diode",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.5,.75),ce}),go.Shape.defineFigureGenerator("Wifi",function(Me,te,ne){var ce=new go.Geometry,se=te,ge=ne;te=te*.38,ne=ne*.6;var ve=ke*.8,be=.8,Fe=0,Pe=.5,Ie=(se-te)/2,We=(ge-ne)/2,Ke=new go.PathFigure(Fe*te+Ie,(Pe+be)*ne+We,!0);ce.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-be)*te+Ie,Pe*ne+We,(Fe-ve)*te+Ie,(Pe+be)*ne+We,(Fe-be)*te+Ie,(Pe+ve)*ne+We)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe-be)*ne+We,(Fe-be)*te+Ie,(Pe-ve)*ne+We,(Fe-ve)*te+Ie,(Pe-be)*ne+We)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-be+ve*.5)*te+Ie,Pe*ne+We,Fe*te+Ie,(Pe-be)*ne+We,(Fe-be+ve*.5)*te+Ie,(Pe-ve)*ne+We)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe+be)*ne+We,(Fe-be+ve*.5)*te+Ie,(Pe+ve)*ne+We,Fe*te+Ie,(Pe+be)*ne+We).close()),ve=ke*.4,be=.4,Fe=.2,Pe=.5;var Xe=new go.PathFigure(Fe*te+Ie,(Pe+be)*ne+We,!0);ce.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-be)*te+Ie,Pe*ne+We,(Fe-ve)*te+Ie,(Pe+be)*ne+We,(Fe-be)*te+Ie,(Pe+ve)*ne+We)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe-be)*ne+We,(Fe-be)*te+Ie,(Pe-ve)*ne+We,(Fe-ve)*te+Ie,(Pe-be)*ne+We)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-be+ve*.5)*te+Ie,Pe*ne+We,Fe*te+Ie,(Pe-be)*ne+We,(Fe-be+ve*.5)*te+Ie,(Pe-ve)*ne+We)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe+be)*ne+We,(Fe-be+ve*.5)*te+Ie,(Pe+ve)*ne+We,Fe*te+Ie,(Pe+be)*ne+We).close()),ve=ke*.2,be=.2,Fe=.5,Pe=.5;var ht=new go.PathFigure((Fe-be)*te+Ie,Pe*ne+We,!0);ce.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe-be)*ne+We,(Fe-be)*te+Ie,(Pe-ve)*ne+We,(Fe-ve)*te+Ie,(Pe-be)*ne+We)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+be)*te+Ie,Pe*ne+We,(Fe+ve)*te+Ie,(Pe-be)*ne+We,(Fe+be)*te+Ie,(Pe-ve)*ne+We)),ht.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe+be)*ne+We,(Fe+be)*te+Ie,(Pe+ve)*ne+We,(Fe+ve)*te+Ie,(Pe+be)*ne+We)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-be)*te+Ie,Pe*ne+We,(Fe-ve)*te+Ie,(Pe+be)*ne+We,(Fe-be)*te+Ie,(Pe+ve)*ne+We)),ve=ke*.4,be=.4,Fe=.8,Pe=.5;var Ve=new go.PathFigure(Fe*te+Ie,(Pe-be)*ne+We,!0);ce.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+be)*te+Ie,Pe*ne+We,(Fe+ve)*te+Ie,(Pe-be)*ne+We,(Fe+be)*te+Ie,(Pe-ve)*ne+We)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe+be)*ne+We,(Fe+be)*te+Ie,(Pe+ve)*ne+We,(Fe+ve)*te+Ie,(Pe+be)*ne+We)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+be-ve*.5)*te+Ie,Pe*ne+We,Fe*te+Ie,(Pe+be)*ne+We,(Fe+be-ve*.5)*te+Ie,(Pe+ve)*ne+We)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe-be)*ne+We,(Fe+be-ve*.5)*te+Ie,(Pe-ve)*ne+We,Fe*te+Ie,(Pe-be)*ne+We).close()),ve=ke*.8,be=.8,Fe=1,Pe=.5;var Nt=new go.PathFigure(Fe*te+Ie,(Pe-be)*ne+We,!0);return ce.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+be)*te+Ie,Pe*ne+We,(Fe+ve)*te+Ie,(Pe-be)*ne+We,(Fe+be)*te+Ie,(Pe-ve)*ne+We)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe+be)*ne+We,(Fe+be)*te+Ie,(Pe+ve)*ne+We,(Fe+ve)*te+Ie,(Pe+be)*ne+We)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+be-ve*.5)*te+Ie,Pe*ne+We,Fe*te+Ie,(Pe+be)*ne+We,(Fe+be-ve*.5)*te+Ie,(Pe+ve)*ne+We)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te+Ie,(Pe-be)*ne+We,(Fe+be-ve*.5)*te+Ie,(Pe-ve)*ne+We,Fe*te+Ie,(Pe-be)*ne+We).close()),ce}),go.Shape.defineFigureGenerator("Email",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(0,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Move,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.45*te,.54*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*te,.54*ne)),ce}),go.Shape.defineFigureGenerator("Ethernet",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.35*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,0).close());var ge=new go.PathFigure(.1*te,ne,!0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne).close());var ve=new go.PathFigure(.6*te,ne,!0,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.6*te,.6*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne).close());var be=new go.PathFigure(0,.5*ne,!1);return ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),be.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),be.add(new go.PathSegment(go.PathSegment.Move,.75*te,.5*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.75*te,.6*ne)),be.add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.25*te,.6*ne)),ce}),go.Shape.defineFigureGenerator("Power",function(Me,te,ne){var ce=new go.Geometry,se=ke*.4,ge=.4,ve=.5,be=.5,Fe=Se(),Pe=Se(),Ie=Se(),We=Se();Rt(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.5,Fe,Fe,Pe,Ie,We);var Ke=ye(Pe.x,Pe.y),Xe=new go.PathFigure(Pe.x*te,Pe.y*ne,!0);ce.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ne,Ie.x*te,Ie.y*ne,We.x*te,We.y*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ne,(ve-se)*te,(be+ge)*ne,(ve-ge)*te,(be+se)*ne)),Rt(ve-ge,be,ve-ge,be-se,ve-se,be-ge,ve,be-ge,.5,Ie,We,Pe,Fe,Fe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*te,Pe.y*ne,Ie.x*te,Ie.y*ne,We.x*te,We.y*ne)),se=ke*.3,ge=.3,Rt(ve-ge,be,ve-ge,be-se,ve-se,be-ge,ve,be-ge,.5,Ie,We,Pe,Fe,Fe),Xe.add(new go.PathSegment(go.PathSegment.Line,Pe.x*te,Pe.y*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ne,We.x*te,We.y*ne,Ie.x*te,Ie.y*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ne,(ve-ge)*te,(be+se)*ne,(ve-se)*te,(be+ge)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ne,(ve+se)*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Rt(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.5,Fe,Fe,Pe,Ie,We),Xe.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*te,Pe.y*ne,We.x*te,We.y*ne,Ie.x*te,Ie.y*ne).close());var Xe=new go.PathFigure(.45*te,0,!0);return ce.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.5*ne)),Xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,0).close()),Oe(Fe),Oe(Pe),Oe(Ie),Oe(We),Oe(Ke),ce.spot1=new go.Spot(.25,.45),ce.spot2=new go.Spot(.75,.8),ce}),go.Shape.defineFigureGenerator("Fallout",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne/2,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,180,360,te/2,ne/2,te/2,ne/2));function ge(ve,be,Fe){ve.add(new go.PathSegment(go.PathSegment.Move,(.3+be)*te,(.8+Fe)*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,(.5+be)*te,(.5+Fe)*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,(.1+be)*te,(.5+Fe)*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,(.3+be)*te,(.8+Fe)*ne).close())}return ge(se,0,0),ge(se,.4,0),ge(se,.2,-.3),ce}),go.Shape.defineFigureGenerator("IrritationHazard",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.2*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close()),ce.spot1=new go.Spot(.3,.3),ce.spot2=new go.Spot(.7,.7),ce}),go.Shape.defineFigureGenerator("ElectricalHazard",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.37*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.11*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.77*te,.04*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,.49*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.37*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.63*te,.86*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.77*te,.91*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.34*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.34*te,.78*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.44*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,.56*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne).close()),ce}),go.Shape.defineFigureGenerator("FireHazard",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.1*te,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.29*te,0,-.25*te,.63*ne,.45*te,.44*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.51*te,.42*ne,.48*te,.17*ne,.54*te,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.59*te,.18*ne,.59*te,.29*ne,.58*te,.28*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,.6*ne,.8*te,.34*ne,.88*te,.43*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.88*te,.31*ne,.87*te,.48*ne,.88*te,.43*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ne,1.17*te,.76*ne,.82*te,.8*ne).close()),ce.spot1=new go.Spot(.07,.445),ce.spot2=new go.Spot(.884,.958),ce}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=0,ve=0,be=se*ke,Fe=.4*Math.SQRT2/2+.5,Pe=.5-.5*Math.SQRT2/2,Ie=1,We=.5,Ke=.5,Xe=0,ht=new go.PathFigure(Fe*te,(1-Pe)*ne,!1);return ce.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,We*ne,Ie*te,.7*ne,Ie*te,We*ne)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(Ke+ge)*te,(Xe+ge)*ne,(.5+se+ge)*te,(.5-be+ge)*ne,(.5+be+ge)*te,(.5-se+ge)*ne)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ge)*te,(.5+ve)*ne,(.5-be+ge)*te,(.5-se+ve)*ne,(.5-se+ge)*te,(.5-be+ve)*ne)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ge)*te,.9*ne,(.5-se+ge)*te,(.5+be+ve)*ne,(.5-be+ge)*te,.9*ne)),ht.add(new go.PathSegment(go.PathSegment.Move,(.25+ge)*te,.8*ne)),ht.add(new go.PathSegment(go.PathSegment.Line,(.35+ge)*te,.9*ne)),ht.add(new go.PathSegment(go.PathSegment.Line,(.2+ge)*te,.95*ne)),ce}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Move,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);ce.add(se);var ge=new go.PathFigure(te,ne,!1);ce.add(ge);var ve=new go.PathFigure(0,.5*ne,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ne,.2*te,.35*ne,.3*te,.35*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.7*te,.65*ne,.8*te,.65*ne)),ce}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close()),ce}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.2*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne).close());var se=new go.PathFigure(0,.2*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),ce}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.7*te,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,0,.6*te,.5*ne,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,ne,.4*te,.5*ne,te,.5*ne).close());var ge=new go.PathFigure(.45*te,.73*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*te,.73*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.38*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.63*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.31*te,.27*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.56*te,.27*ne)),ce}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);ce.add(se);var ge=new go.PathFigure(.335*te,(1-.555)*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,.68*ne,(1-.12)*te,.46*ne,(1-.02)*te,.54*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.335*te,(1-.555)*ne,.02*te,.54*ne,.12*te,.46*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.365*te,(1-.595)*ne));var ve=.5-.285,be=.5,Fe=ve,Pe=Math.PI/4,Ie=4*(1-Math.cos(Pe))/(3*Math.sin(Pe)),We=Ie*.5,Ke=ve,Xe=ve,ht=Ie*Ke,Ve=Ie*Xe;ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-Ke)*te,Fe*ne,(be-(ht+Ke)/2)*te,(Fe+(Xe+Ve)/2)*ne,(be-Ke)*te,(Fe+Ve)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*te,(Fe-Xe)*ne,(be-Ke)*te,(Fe-Ve)*ne,(be-ht)*te,(Fe-Xe)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+Ke)*te,Fe*ne,(be+ht)*te,(Fe-Xe)*ne,(be+Ke)*te,(Fe-Ve)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*te,(1-.595)*ne,(be+Ke)*te,(Fe+Ve)*ne,(be+(ht+Ke)/2)*te,(Fe+(Xe+Ve)/2)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*te,(1-.595)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ne));var Nt=new go.PathFigure(.2*te,ne,!1);ce.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Line,.2*te,.8*ne));var qe=new go.PathFigure(.8*te,ne,!1);return ce.add(qe),qe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ne)),ce}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.1*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne).close());var ge=new go.PathFigure(.2*te,.2*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ne)),ce}),go.Shape.defineFigureGenerator("BpmnEventError",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,.5*ne).close()),ce}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);ce.add(se);var ge=new go.PathFigure(te,ne,!1);ce.add(ge);var ve=new go.PathFigure(.1*te,ne,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne).close()),ce}),go.Shape.defineFigureGenerator("Caution",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.05*te,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.8*ne,0,ne,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.1*ne,.5*te,0,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.95*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ne,te,ne,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.05*te,ne));var ge=.05;return se.add(new go.PathSegment(go.PathSegment.Move,(.5-ge)*te,.875*ne)),se.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*te,.875*ne,ge*te,ge*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.325*ne,.575*te,.725*ne,.625*te,.375*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.75*ne,.375*te,.375*ne,.425*te,.725*ne)),ce}),go.Shape.defineFigureGenerator("Recycle",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.45*te,.95*ne,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.185*te,.85*ne,.17*te,.95*ne,.15*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.235*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.625*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.275*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.05*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.05*te,.575*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.1875*te,.95*ne,0,.675*ne,0,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.45*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.775*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.22*te,.775*ne));var ge=new go.PathFigure(.475*te,.2*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.225*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.275*te,.175*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.325*te,.05*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.05*ne,.35*te,0,.375*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*te,.375*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.75*te,.475*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.85*te,.315*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.32*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.65*te,.05*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,0,.65*te,.05*ne,.625*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.38*te,.0105*ne));var ve=new go.PathFigure(.675*te,.575*ne,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.875*te,.525*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.775*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.85*te,.95*ne,te,.8*ne,te,.85*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.65*te,.95*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.65*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.85*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.65*te,.725*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.65*te,.775*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*te,.775*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.775*ne)),ve.add(new go.PathSegment(go.PathSegment.Move,.675*te,.575*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.775*te,.775*ne)),ce}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*.5,ve=new go.PathFigure(te,se*ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*te,ne,te,(se+ge)*ne,(se+ge)*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,se*ne,(se-ge)*te,ne,0,(se+ge)*ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*te,0,0,(se-ge)*ne,(se-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,se*ne,(se+ge)*te,0,te,(se-ge)*ne));var be=new go.PathFigure(se*te,0,!1);return ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,se*te,.15*ne)),be.add(new go.PathSegment(go.PathSegment.Move,se*te,ne)),be.add(new go.PathSegment(go.PathSegment.Line,se*te,.85*ne)),be.add(new go.PathSegment(go.PathSegment.Move,0,se*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.15*te,se*ne)),be.add(new go.PathSegment(go.PathSegment.Move,te,se*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.85*te,se*ne)),be.add(new go.PathSegment(go.PathSegment.Move,se*te,se*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.58*te,.1*ne)),be.add(new go.PathSegment(go.PathSegment.Move,se*te,se*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.78*te,.54*ne)),ce}),go.Shape.defineFigureGenerator("Package",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.15*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ge=new go.PathFigure(0,.15*ne,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.65*te,.15*ne).close()),ce.spot1=new go.Spot(0,.1),ce.spot2=new go.Spot(1,1),ce}),go.Shape.defineFigureGenerator("Class",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(0,.2*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne).close());var ve=new go.PathFigure(0,.5*ne,!1);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne).close()),ce}),go.Shape.defineFigureGenerator("Component",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne).close());var ge=new go.PathFigure(0,.2*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.45*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close());var ve=new go.PathFigure(0,.6*ne,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*te,.6*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*te,.8*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne).close()),ce}),go.Shape.defineFigureGenerator("Boat Shipment",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.15*te,.6*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne));var ge=new go.PathFigure(.15*te,.6*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),ce}),go.Shape.defineFigureGenerator("Customer/Supplier",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),ce}),go.Shape.defineFigureGenerator("Workcell",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce}),go.Shape.defineFigureGenerator("Supermarket",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.66*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.66*ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,.66*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ce}),go.Shape.defineFigureGenerator("TruckShipment",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(te,.8*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne).close());var ve=.1,be=ke*.1,Fe=.2,Pe=.9,Ie=new go.PathFigure((Fe-ve)*te,Pe*ne,!0);ce.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe-ve)*ne,(Fe-ve)*te,(Pe-be)*ne,(Fe-be)*te,(Pe-ve)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+ve)*te,Pe*ne,(Fe+be)*te,(Pe-ve)*ne,(Fe+ve)*te,(Pe-be)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe+ve)*ne,(Fe+ve)*te,(Pe+be)*ne,(Fe+be)*te,(Pe+ve)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-ve)*te,Pe*ne,(Fe-be)*te,(Pe+ve)*ne,(Fe-ve)*te,(Pe+be)*ne).close()),ve=.1,be=ke*.1,Fe=.8,Pe=.9;var We=new go.PathFigure((Fe-ve)*te,Pe*ne,!0);return ce.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe-ve)*ne,(Fe-ve)*te,(Pe-be)*ne,(Fe-be)*te,(Pe-ve)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+ve)*te,Pe*ne,(Fe+be)*te,(Pe-ve)*ne,(Fe+ve)*te,(Pe-be)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,Fe*te,(Pe+ve)*ne,(Fe+ve)*te,(Pe+be)*ne,(Fe+be)*te,(Pe+ve)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-ve)*te,Pe*ne,(Fe-be)*te,(Pe+ve)*ne,(Fe-ve)*te,(Pe+be)*ne).close()),ce}),go.Shape.defineFigureGenerator("KanbanPost",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.2*te,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),ce}),go.Shape.defineFigureGenerator("Forklift",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,0));var ge=new go.PathFigure(0,.5*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var ve=new go.PathFigure(.5*te,.8*ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,.1*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.1*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.8*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ne));var be=new go.PathFigure(.5*te,.7*ne,!1);ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne));var Fe=.1,Pe=ke*.1,Ie=.1,We=.9,Ke=new go.PathFigure((Ie-Fe)*te,We*ne,!0);ce.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,(We-Fe)*ne,(Ie-Fe)*te,(We-Pe)*ne,(Ie-Pe)*te,(We-Fe)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Ie+Fe)*te,We*ne,(Ie+Pe)*te,(We-Fe)*ne,(Ie+Fe)*te,(We-Pe)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,(We+Fe)*ne,(Ie+Fe)*te,(We+Pe)*ne,(Ie+Pe)*te,(We+Fe)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Ie-Fe)*te,We*ne,(Ie-Pe)*te,(We+Fe)*ne,(Ie-Fe)*te,(We+Pe)*ne)),Fe=.1,Pe=ke*.1,Ie=.4,We=.9;var Xe=new go.PathFigure((Ie-Fe)*te,We*ne,!0);return ce.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,(We-Fe)*ne,(Ie-Fe)*te,(We-Pe)*ne,(Ie-Pe)*te,(We-Fe)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ie+Fe)*te,We*ne,(Ie+Pe)*te,(We-Fe)*ne,(Ie+Fe)*te,(We-Pe)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,(We+Fe)*ne,(Ie+Fe)*te,(We+Pe)*ne,(Ie+Pe)*te,(We+Fe)*ne)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ie-Fe)*te,We*ne,(Ie-Pe)*te,(We+Fe)*ne,(Ie-Fe)*te,(We+Pe)*ne)),ce}),go.Shape.defineFigureGenerator("RailShipment",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.1*te,.4*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.4*ne).close());var ge=new go.PathFigure(.45*te,.7*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ne));var ve=new go.PathFigure(.55*te,.4*ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.4*ne).close());var Ie=.05,We=ke*.05,Ke=.175,Xe=.95,be=new go.PathFigure((Ke-Ie)*te,Xe*ne,!0);ce.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(Xe-Ie)*ne,(Ke-Ie)*te,(Xe-We)*ne,(Ke-We)*te,(Xe-Ie)*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Ke+Ie)*te,Xe*ne,(Ke+We)*te,(Xe-Ie)*ne,(Ke+Ie)*te,(Xe-We)*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(Xe+Ie)*ne,(Ke+Ie)*te,(Xe+We)*ne,(Ke+We)*te,(Xe+Ie)*ne)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Ke-Ie)*te,Xe*ne,(Ke-We)*te,(Xe+Ie)*ne,(Ke-Ie)*te,(Xe+We)*ne));var Ie=.05,We=ke*.05,Ke=.375,Xe=.95,Fe=new go.PathFigure((Ke-Ie)*te,Xe*ne,!0);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(Xe-Ie)*ne,(Ke-Ie)*te,(Xe-We)*ne,(Ke-We)*te,(Xe-Ie)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Ke+Ie)*te,Xe*ne,(Ke+We)*te,(Xe-Ie)*ne,(Ke+Ie)*te,(Xe-We)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(Xe+Ie)*ne,(Ke+Ie)*te,(Xe+We)*ne,(Ke+We)*te,(Xe+Ie)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Ke-Ie)*te,Xe*ne,(Ke-We)*te,(Xe+Ie)*ne,(Ke-Ie)*te,(Xe+We)*ne));var Ie=.05,We=ke*.05,Ke=.625,Xe=.95,Pe=new go.PathFigure((Ke-Ie)*te,Xe*ne,!0);ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(Xe-Ie)*ne,(Ke-Ie)*te,(Xe-We)*ne,(Ke-We)*te,(Xe-Ie)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ke+Ie)*te,Xe*ne,(Ke+We)*te,(Xe-Ie)*ne,(Ke+Ie)*te,(Xe-We)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(Xe+Ie)*ne,(Ke+Ie)*te,(Xe+We)*ne,(Ke+We)*te,(Xe+Ie)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ke-Ie)*te,Xe*ne,(Ke-We)*te,(Xe+Ie)*ne,(Ke-Ie)*te,(Xe+We)*ne));var Ie=.05,We=ke*.05,Ke=.825,Xe=.95,ht=new go.PathFigure((Ke-Ie)*te,Xe*ne,!0);ce.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(Xe-Ie)*ne,(Ke-Ie)*te,(Xe-We)*ne,(Ke-We)*te,(Xe-Ie)*ne)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(Ke+Ie)*te,Xe*ne,(Ke+We)*te,(Xe-Ie)*ne,(Ke+Ie)*te,(Xe-We)*ne)),ht.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(Xe+Ie)*ne,(Ke+Ie)*te,(Xe+We)*ne,(Ke+We)*te,(Xe+Ie)*ne)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(Ke-Ie)*te,Xe*ne,(Ke-We)*te,(Xe+Ie)*ne,(Ke-Ie)*te,(Xe+We)*ne).close());var Ve=new go.PathFigure(0,ne,!1);return ce.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),ce}),go.Shape.defineFigureGenerator("Warehouse",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(0,.2*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne).close());var ve=new go.PathFigure(.15*te,ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.15*te,.5*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne).close());var be=.05,Fe=ke*.05,Pe=.35,Ie=.775,We=new go.PathFigure((Pe-be)*te,Ie*ne,!0);return ce.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Pe*te,(Ie-be)*ne,(Pe-be)*te,(Ie-Fe)*ne,(Pe-Fe)*te,(Ie-be)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+be)*te,Ie*ne,(Pe+Fe)*te,(Ie-be)*ne,(Pe+be)*te,(Ie-Fe)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,Pe*te,(Ie+be)*ne,(Pe+be)*te,(Ie+Fe)*ne,(Pe+Fe)*te,(Ie+be)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-be)*te,Ie*ne,(Pe-Fe)*te,(Ie+be)*ne,(Pe-be)*te,(Ie+Fe)*ne).close()),ce}),go.Shape.defineFigureGenerator("ControlCenter",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.1*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne).close()),ce}),go.Shape.defineFigureGenerator("Bluetooth",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.75*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),ce}),go.Shape.defineFigureGenerator("Bookmark",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),ce}),go.Shape.defineFigureGenerator("Bookmark",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),ce}),go.Shape.defineFigureGenerator("Globe",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.75*te,0,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,.75*ne,.75*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.25*te,ne,0,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,.25*ne,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,.15*te,.25*ne,.15*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.85*te,.75*ne,.85*te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.15*ne,.35*te,.3*ne,.65*te,.3*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.85*ne,.35*te,.7*ne,.65*te,.7*ne)),ce}),go.Shape.defineFigureGenerator("Wave",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.25*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.25*ne,.1*te,0,.2*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.25*ne,.425*te,.5*ne,.575*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.25*ne,.8*te,0,.9*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.75*ne,.1*te,.5*ne,.2*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.75*ne,.425*te,ne,.575*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.75*ne,.8*te,.5*ne,.9*te,.5*ne)),ce}),go.Shape.defineFigureGenerator("Operator",function(Me,te,ne){var ce=new go.Geometry,se=.3,ge=ke*.3,ve=.5,be=.7,Fe=new go.PathFigure((ve-se)*te,be*ne,!0);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ne,(ve+ge)*te,(be-se)*ne,(ve+se)*te,(be-ge)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ne,(ve-ge)*te,(be+se)*ne,(ve-se)*te,(be+ge)*ne));var Pe=new go.PathFigure(0,.7*ne,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.7*ne,0,0,te,0)),ce}),go.Shape.defineFigureGenerator("TripleFanBlades",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.65*te,.3*ne,.65*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.35*te,.5*ne,.35*te,.3*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.3*te,.6*ne,.1*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.2*te,ne,.35*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,ne,.7*te,.6*ne,.9*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.8*te,ne,.65*te,.95*ne)),ce}),go.Shape.defineFigureGenerator("CentrifugalPump",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,0,.075*ne,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ne,0,ne,.4*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.4*ne,.8*te,ne,.85*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),ce}),go.Shape.defineFigureGenerator("Battery",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.4*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.1*ne));var ge=new go.PathFigure(0,.6*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Move,0,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),ce}),go.Shape.defineFigureGenerator("Delete",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*.5,ve=.5,be=.5,Fe=new go.PathFigure((ve-se)*te,be*ne,!0);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ne,(ve+ge)*te,(be-se)*ne,(ve+se)*te,(be-ge)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ne,(ve-ge)*te,(be+se)*ne,(ve-se)*te,(be+ge)*ne));var Pe=new go.PathFigure(.15*te,.5*ne,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*te,.5*ne)),ce}),go.Shape.defineFigureGenerator("Flag",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.1*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,0,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.1*ne,.15*te,0,.35*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,.65*te,.2*ne,.85*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ne,.85*te,.6*ne,.65*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.35*te,.4*ne,.15*te,.4*ne).close()),ce}),go.Shape.defineFigureGenerator("Help",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*.5,ve=.5,be=.5,Fe=new go.PathFigure((ve-se)*te,be*ne,!1);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ne,(ve+ge)*te,(be-se)*ne,(ve+se)*te,(be-ge)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ne,(ve-ge)*te,(be+se)*ne,(ve-se)*te,(be+ge)*ne).close()),se=.05,ge=ke*.05,ve=.5,be=.8;var Pe=new go.PathFigure((ve-se)*te,be*ne,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ne,(ve-se)*te,(be-ge)*ne,(ve-ge)*te,(be-se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ne,(ve+ge)*te,(be-se)*ne,(ve+se)*te,(be-ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ne,(ve+se)*te,(be+ge)*ne,(ve+ge)*te,(be+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ne,(ve-ge)*te,(be+se)*ne,(ve-se)*te,(be+ge)*ne).close()),Pe.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,.75*te,.475*ne,.75*te,.225*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.35*ne,.4*te,.2*ne,.3*te,.25*ne)),ce}),go.Shape.defineFigureGenerator("Location",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,ne,!0).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.975*te,.025*ne,.5*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*te,.5*ne,.5*te,0,.025*te,.025*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ne)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*te,.3*ne,.1*te,.1*ne).close()))}),go.Shape.defineFigureGenerator("Lock",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var ge=new go.PathFigure(.2*te,.5*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ne,.25*te,0,.75*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.3*ne)),ce}),go.Shape.defineFigureGenerator("Unlocked",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var ge=new go.PathFigure(.2*te,.5*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ne,.25*te,0,.75*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.35*ne)),ce}),go.Shape.defineFigureGenerator("Gear",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.9375*te,.56246875*ne,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.80621875*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.763*te,.3316875*ne,.79840625*te,.39915625*ne,.7834375*te,.3635*ne)).add(new go.PathSegment(go.PathSegment.Line,.8566875*te,.23796875*ne)).add(new go.PathSegment(go.PathSegment.Line,.76825*te,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.67596875*te,.24184375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*te,.19378125*ne,.64228125*te,.2188125*ne,.603875*te,.2021875*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.19378125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*te,.239375*ne,.39759375*te,.20190625*ne,.36053125*te,.2176875*ne)).add(new go.PathSegment(go.PathSegment.Line,.2379375*te,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.14953125*te,.2379375*ne)).add(new go.PathSegment(go.PathSegment.Line,.23934375*te,.3278125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*te,.4375*ne,.21765625*te,.36059375*ne,.201875*te,.397625*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.5625*ne)).add(new go.PathSegment(go.PathSegment.Line,.1938125*te,.5625*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*te,.67596875*ne,.20221875*te,.603875*ne,.21884375*te,.64228125*ne)).add(new go.PathSegment(go.PathSegment.Line,.1495625*te,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.238*te,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.3316875*te,.76296875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*te,.80621875*ne,.36353125*te,.78340625*ne,.3991875*te,.79840625*ne)).add(new go.PathSegment(go.PathSegment.Line,.43753125*te,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.80621875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*te,.760625*ne,.602375*te,.79809375*ne,.63946875*te,.78234375*ne)).add(new go.PathSegment(go.PathSegment.Line,.76828125*te,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.85671875*te,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.76065625*te,.67221875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*te,.56246875*ne,.78234375*te,.63940625*ne,.798125*te,.602375*ne)).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.56246875*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*te,.5*ne,.1*te,.1*ne).close()))}),go.Shape.defineFigureGenerator("Hand",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.3*ne,0,.375*ne,.05*te,.325*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.075*ne,.3*te,.225*ne,.4*te,.175*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.525*te,.075*ne,.46*te,.05*ne,.525*te,.05*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.4*ne,.525*te,.275*ne,.475*te,.325*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.55*ne,te,.4*ne,te,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.425*te,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.7*ne,.675*te,.55*ne,.675*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.575*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,.85*ne,.65*te,.7*ne,.65*te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.535*te,ne,.61*te,.85*ne,.61*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,.435*te,ne,0,ne).close()),ce}),go.Shape.defineFigureGenerator("Map",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.2*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),se.add(new go.PathSegment(go.PathSegment.Move,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ne)),ce}),go.Shape.defineFigureGenerator("Eject",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne*.7)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.7).close());var ge=new go.PathFigure(0,ne*.6,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close()),ce}),go.Shape.defineFigureGenerator("Pencil",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne).close()))}),go.Shape.defineFigureGenerator("Building",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*1,ne*1,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.85)),se.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.85)),se.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.3)),se.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.3)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.3)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne*.3)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.85)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne*.85).close());var ge=new go.PathFigure(.126*te,.85*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.126*te,.45*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.322*te,.45*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.322*te,.85*ne).close());var ve=new go.PathFigure(.402*te,.85*ne,!1);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.402*te,.45*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.598*te,.45*ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.598*te,.85*ne).close());var be=new go.PathFigure(.678*te,.85*ne,!1);ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.678*te,.45*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.874*te,.45*ne)),be.add(new go.PathSegment(go.PathSegment.Line,.874*te,.85*ne).close());var Fe=new go.PathFigure(.5*te,.1*ne,!1);return ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*te,.3*ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*te,.3*ne).close()),ce}),go.Shape.defineFigureGenerator("Staircase",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne*1,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*.8)),se.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.8)),se.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.6)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.6)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.4)),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.4)),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.2)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.2)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.15)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.15)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.95).close()),ce}),go.Shape.defineFigureGenerator("5Bars",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne*1,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.184,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.184,ne*(1-.184)).close());var ge=new go.PathFigure(te*.204,ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.204,ne*(1-.184))),ge.add(new go.PathSegment(go.PathSegment.Line,te*.388,ne*(1-.184*2))),ge.add(new go.PathSegment(go.PathSegment.Line,te*.388,ne*1).close());var ve=new go.PathFigure(te*.408,ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.408,ne*(1-.184*2))),ve.add(new go.PathSegment(go.PathSegment.Line,te*.592,ne*(1-.184*3))),ve.add(new go.PathSegment(go.PathSegment.Line,te*.592,ne*1).close());var be=new go.PathFigure(te*.612,ne,!0);ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te*.612,ne*(1-.184*3))),be.add(new go.PathSegment(go.PathSegment.Line,te*.796,ne*(1-.184*4))),be.add(new go.PathSegment(go.PathSegment.Line,te*.796,ne*1).close());var Fe=new go.PathFigure(te*.816,ne,!0);return ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,te*.816,ne*(1-.184*4))),Fe.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-.184*5))),Fe.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1).close()),ce}),go.Shape.defineFigureGenerator("PC",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,0).close());var ge=new go.PathFigure(te*.055,.07*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.07)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.1).close());var ve=new go.PathFigure(te*.055,.13*ne,!0);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.13)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.16)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.16).close());var be=new go.PathFigure(te*.055,.18*ne,!0);ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.18)),be.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.21)),be.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.21).close());var Fe=new go.PathFigure(te*1,0,!0);return ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,te*.4,0)),Fe.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.65)),Fe.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.65).close()),ce}),go.Shape.defineFigureGenerator("Plane",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.55*te,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.475*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.35*te,.525*ne,0,.4*ne,.225*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.475*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.325*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.325*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.2*ne,.975*te,0,te,.08*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.55*te,ne).close()),ce}),go.Shape.defineFigureGenerator("Key",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*1,ne*.5,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.9,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.7,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.85,.575*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.9,.6*ne).close()),se.add(new go.PathSegment(go.PathSegment.Move,.17*te,.425*ne)),se.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*te,.5*ne,.075*te,.075*ne).close()),ce}),go.Shape.defineFigureGenerator("FilmTape",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*0,te*.3,te*.055)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.08,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.08,ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1));var ge=new go.PathFigure(0,0,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*0)),ge.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*1,te*.3,te*.055)),ge.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1));var ve=new go.PathFigure(te*.11,ne*.1,!1);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ne*.1)),ve.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ne*.8)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.11,ne*.8).close());var be=new go.PathFigure(te*(.11+.24133333*1+.028*1),ne*.1,!1);ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ne*.1)),be.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ne*.8)),be.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*1),ne*.8).close());var Fe=new go.PathFigure(te*(.11+.24133333*2+.028*2),ne*.1,!1);return ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ne*.1)),Fe.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ne*.8)),Fe.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*2),ne*.8).close()),ce}),go.Shape.defineFigureGenerator("FloppyDisk",function(Me,te,ne){var ce=new go.Geometry,se=8,ge=se*ke,ve=new go.PathFigure(se,0,!1);ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.86,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.14)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ne-se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te-se,ne,te,ne-ge,te-ge,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,se,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-se,ge,ne,0,ne-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se,0,0,ge,ge,0).close());var be=new go.PathFigure(te*.83,0,!1);ce.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te*.83,ne*.3)),be.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*.3)),be.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*0).close());var Fe=new go.PathFigure(te*.83,ne*1,!1);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,te*.83,ne*.5)),Fe.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*.5)),Fe.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*1).close());var Pe=new go.PathFigure(te*.78,ne*.05,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.05)),Pe.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.25)),Pe.add(new go.PathSegment(go.PathSegment.Line,te*.78,ne*.25).close()),ce}),go.Shape.defineFigureGenerator("SpeechBubble",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=15),ce=Math.min(ce,te/3),ce=Math.min(ce,ne/3);var se=ce*ke,ge=ne*.8,ve=new go.Geometry,be=new go.PathFigure(ce,0,!0);return ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te-ce,0)),be.add(new go.PathSegment(go.PathSegment.Bezier,te,ce,te-se,0,te,se)),be.add(new go.PathSegment(go.PathSegment.Line,te,ge-ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ge,te,ge-se,te-se,ge)),be.add(new go.PathSegment(go.PathSegment.Line,te*.7,ge)),be.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne)),be.add(new go.PathSegment(go.PathSegment.Line,te*.55,ge)),be.add(new go.PathSegment(go.PathSegment.Line,ce,ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,ge-ce,se,ge,0,ge-se)),be.add(new go.PathSegment(go.PathSegment.Line,0,ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce,0,0,se,se,0).close()),se>1?(ve.spot1=new go.Spot(0,0,se,se),ve.spot2=new go.Spot(1,.8,-se,-se)):(ve.spot1=go.Spot.TopLeft,ve.spot2=new go.Spot(1,.8)),ve}),go.Shape.defineFigureGenerator("Repeat",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*.45,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*.9)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.9)),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*.45).close());var ge=new go.PathFigure(te*1,ne*.55,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.55)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*.55)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*0)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.55).close()),ce}),go.Shape.defineFigureGenerator("Windows",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()).add(new go.PathSegment(go.PathSegment.Move,.4*te,.4*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.1*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.1*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne).close()))}),go.Shape.defineFigureGenerator("Terminal",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*.1,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.9)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*.9).close());var ge=new go.PathFigure(te*.1,ne*.2,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.22,ne*.285)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.32)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.37)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.275,ne*.32)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.275,ne*.25).close());var ve=new go.PathFigure(te*.28,ne*.37,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.37)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.41)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.28,ne*.41).close()),ce}),go.Shape.defineFigureGenerator("Beaker",function(Me,te,ne){var ce=new go.Geometry,se=15,ge=se*ke,ve=new go.PathFigure(te*.62,ne*.475,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,ne-se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te-se,ne,te,ne-ge,te-ge,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,se,ne)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-se,ge,ne,0,ne-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.38,ne*.475)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.38,ne*.03)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*0)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*0)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.62,ne*.03).close()),ge>1?(ce.spot1=new go.Spot(0,0,ge,ge),ce.spot2=new go.Spot(1,1,-ge,-ge)):(ce.spot1=go.Spot.TopLeft,ce.spot2=go.Spot.BottomRight),ce}),go.Shape.defineFigureGenerator("Download",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*1,!0);ce.add(se);var ge=.1/.3;se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-ge)).close());var ve=new go.PathFigure(te*.4,ne*0,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.44)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.26,ne*.44)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.66)),ve.add(new go.PathSegment(go.PathSegment.Line,te*(1-.26),ne*.44)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.44)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*0).close()),ce}),go.Shape.defineFigureGenerator("Bin",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*1,!0);ce.add(se);var ge=.1/.3;return se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-ge)).close()),ce}),go.Shape.defineFigureGenerator("Upload",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*1,!0);ce.add(se);var ge=.1/.3;se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-ge)).close());var ve=new go.PathFigure(te*.5,ne*0,!0);return ce.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.26,ne*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.63)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.63)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.74,ne*.25).close()),ce}),go.Shape.defineFigureGenerator("EmptyDrink",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*.15,ne*0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.85,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1).close()),ce}),go.Shape.defineFigureGenerator("Drink",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*.15,ne*0,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.85,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1).close());var ge=new go.PathFigure(te*.235,ne*.28,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.765,ne*.28)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.655,ne*.97)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.345,ne*.97).close()),ce}),go.Shape.defineFigureGenerator("4Arrows",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*.5,ne*0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*.25)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.25)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.5)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.65)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.65)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*.5)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.25)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.25).close()),ce}),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")},98598: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 Rn={},Fn="5.0",ye={},Se=null,Oe=!1,He=!1,Rt=null,_e=!1,vt=null,ke=null,Tt=0;Tt4?parseFloat(kt):5};Rn.setHTML5Codebase=function(kt,_t){ke=kt,Mt(kt,_t)},Rn.setJavaCodebase=Rn.setJavaCodebaseVersion=Rn.isCompiledInstalled=Rn.setPreCompiledScriptPath=Rn.setPreCompiledResourcePath=function(){},Rn.setHTML5CodebaseVersion=function(kt,_t){var ln=parseFloat(kt);if(ln!==NaN&&ln<5){console.log("The GeoGebra HTML5 codebase version "+ln+" is deprecated. Using version latest instead.");return}vt=kt,Re(kt,_t)},Rn.getHTML5CodebaseVersion=function(){return Me},Rn.getParameters=function(){return ye},Rn.setFontsCSSURL=function(kt){ve=kt},Rn.setGiacJSURL=function(kt){},Rn.setJNLPFile=function(kt){et=kt},Rn.setJNLPBaseDir=function(kt){},Rn.inject=function(){function kt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var _t="auto",ln=ye.id,Bn,wn=!1,Kn=0;Kn=5)return!0;var kt=Rn.getAppletObject();return kt&&typeof kt.recalculateEnvironments=="function"?(kt.recalculateEnvironments(),!0):!1},Rn.startAnimation=function(){var kt=Rn.getAppletObject();return kt&&typeof kt.startAnimation=="function"?(kt.startAnimation(),!0):!1},Rn.stopAnimation=function(){var kt=Rn.getAppletObject();return kt&&typeof kt.stopAnimation=="function"?(kt.stopAnimation(),!0):!1},Rn.getAppletObject=function(){var kt=ye.id!==void 0?ye.id:"ggbApplet";return window[kt]},Rn.resize=function(){};var ht=function(kt,_t,ln){var Bn=document.createElement("param");Bn.setAttribute("name",_t),Bn.setAttribute("value",ln),kt.appendChild(Bn)},Ve=function(kt){return kt&&kt!=="false"},Nt=function(kt,_t,ln){Fe(Me)<=4.2&&(ln=!0);var Bn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Me||ggbHTML5LoadedCodebaseIsWebSimple&&!ne)&&(Bn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var wn=document.createElement("div");wn.classList.add("appletParameters","notranslate");var Kn=_t.width,yt=_t.height;if(_t.disableAutoScale=_t.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():_t.disableAutoScale,_t.width!==void 0)if(Fe(Me)<=4.4)Ve(_t.showToolBar)&&(_t.height-=7),Ve(_t.showAlgebraInput)&&(_t.height-=37),_t.width<605&&Ve(_t.showToolBar)&&(_t.width=605,Kn=605);else{var Jn=100;(Ve(_t.showToolBar)||Ve(_t.showMenuBar))&&(_t.hasOwnProperty("customToolBar")&&(_t.customToolbar=_t.customToolBar),Jn=Ve(_t.showMenuBar)?245:155),Kn=5?(_t.appletOnLoad=function(pe){var De=kt.querySelector(".ggb_preview");De&&De.parentNode.removeChild(De),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Tn),window.GGBT_wsf_view&&$(window).trigger("resize"),ci(pe)},tn||Tn.appendChild($t)):wn.appendChild($t),Tn.appendChild(wn),tn||kt.appendChild(Tn),setTimeout(function(){Rn.resize()},1)}else{var ft=document.createElement("div");ft.className="applet_scaler",ft.style.position="relative",ft.style.display="block",ft.appendChild(wn),kt.appendChild(ft),_t.appletOnLoad=function(pe){Rn.resize(),ci(pe)}}function Je(pe,De){De&&typeof De.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(pe,De.appletOnLoad):renderGGBElement(pe),Pn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",De)}function Gt(pe,De){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:pe,params:De}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ze){Je(ze.article,ze.params)}),html5AppletsToProcess=null)},Fe(Me)<5&&(pe.className+=" geogebraweb")):Je(pe,De)}if(Bn){scriptLoadStarted=!0;for(var At=0;At0?(bn.remove(),Tn.attr("id","fullscreencontent").show(),jQuery(ci).append(Tn),window.dispatchEvent(new Event("resize"))):Nt(bn,_t,!1),window.GGBT_wsf_view.launchFullScreen(ci)}else wt=Bn,Nt(kt,_t,!1);if(!window.GGBT_wsf_view)for(yt=0;ytkt/4*3&&(bn=kt/4*3),ci=bn/5.8,Jn.setAttribute("src",se),Jn.setAttribute("width",bn),Jn.setAttribute("height",ci);var Tn=(kt-bn)/2,tn=(_t-ci)/2;Jn.style.left=Tn+"px",Jn.style.top=tn+"px",wn.appendChild(Jn)}}return wn.appendChild(yt),wn},Qt=function(kt){return kt=kt.toLowerCase(),kt==="html5"||kt==="screenshot"?kt:"html5"},dt=["web","webSimple","web3d","tablet","tablet3d","phone"],Re=function(kt,_t){if(Me=kt,_t){Mt(Me,!0);return}var ln=!Oe;if(ln){var Bn=Fe(Me);!isNaN(Bn)&&Bn<4.4&&(ln=!1)}var wn,Kn;window.location.protocol.substr(0,4)==="http"?wn=window.location.protocol:wn="http:";var yt=Me.indexOf("//");yt>0?Kn=Me:yt===0?Kn=wn+Me:Kn="https://www.geogebra.org/apps/5.2.814.0/";for(var Jn in dt)if(Me.slice(dt[Jn].length*-1)===dt[Jn]||Me.slice((dt[Jn].length+1)*-1)===dt[Jn]+"/"){Mt(Kn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ln&&!Se.is3D&&!Se.AV&&!Se.SV&&!Se.CV&&!Se.EV2&&!Se.CP&&!Se.PC&&!Se.DA&&!Se.FI&&!Se.PV&&!Ve(ye.showToolBar)&&!Ve(ye.showMenuBar)&&!Ve(ye.showAlgebraInput)&&!Ve(ye.enableRightClick)&&(!ye.appName||ye.appName=="classic")?Kn+="webSimple/":Kn+="web3d/",Mt(Kn,!1)},Mt=function(kt,_t){if(kt.requirejs){gt=kt;return}kt.slice(-1)!=="/"&&(kt+="/"),gt=kt,_t===null&&(_t=kt.indexOf("http")===-1),ct=_t,te="web.nocache.js",ne=!1;var ln=gt.split("/");ln.length>1&&(!_t&&ln[ln.length-2]==="webSimple"?(te="webSimple.nocache.js",ne=!0):dt.indexOf(ln[ln.length-2])>=0&&(te=ln[ln.length-2]+".nocache.js")),ln=kt.split("/"),Me=ln[ln.length-3],Me.substr(0,4)==="test"?Me=Me.substr(4,1)+"."+Me.substr(5,1):(Me.substr(0,3)==="war"||Me.substr(0,4)==="beta")&&(Me="5.0");var Bn=parseFloat(Me);Bn!==NaN&&Bn<5&&kt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Bn+" is deprecated. Using version latest instead."),Re("5.0",_t))},Pn=function(kt,_t){window.console&&window.console.log&&(!_t||typeof _t.showLogging=="undefined"||_t.showLogging&&_t.showLogging!=="false")&&console.log(kt)};ye.material_id!==void 0?We(mn):mn();function mn(){var kt=Fn;vt!==null?kt=vt:parseFloat(kt)<5&&(kt="5.0"),Re(kt,!1),ke!==null&&Mt(ke,ct),_e=!0}return Rn},GGBAppletUtils=function(){"use strict";function Rn(){return window.GGBT_wsf_edit!==void 0}function Fn(_e,vt){vt!=1?(_e.style.transformOrigin="0% 0% 0px",_e.style.webkitTransformOrigin="0% 0% 0px",_e.style.transform="scale("+vt+","+vt+")",_e.style.webkitTransform="scale("+vt+","+vt+")",_e.style.maxWidth="initial",_e.querySelector(".ggb_preview")!==null&&(_e.querySelector(".ggb_preview").style.maxWidth="initial"),_e.querySelectorAll(".ggb_preview img")[0]!==void 0&&(_e.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),_e.querySelectorAll(".ggb_preview img")[1]!==void 0&&(_e.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(_e.style.transform="none",_e.style.webkitTransform="none")}function ye(_e,vt,ke,Tt,Lt,et){var gt=null;if(et!=null&&et!="")for(var ct=_e.parentNode;ct!=null;)if((" "+ct.className+" ").indexOf(" "+et+" ")>-1){gt=ct;break}else ct=ct.parentNode;var wt=0,Me=0,te=0,ne=0,ce=0,se=0,ge=0;if(gt)wt=gt.offsetWidth,Me=Math.max(Tt?gt.offsetWidth:0,gt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(wt=Math.min(window.innerWidth,document.documentElement.clientWidth),Me=Math.min(window.innerHeight,document.documentElement.clientHeight),te=wt):(wt=window.innerWidth,Me=window.innerHeight,te=window.innerWidth),_e){var ve=_e.getBoundingClientRect();ve.left>0&&ve.left<=wt&&(Lt===void 0||!Lt)&&(document.dir==="rtl"?(ce=wt-ve.width-ve.left,se=te<=480?10:30):(se=ve.left,ce=te<=480?10:30),ne=se+ce)}if(_e&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var be=_e.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ne=40,ge=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ne=0,ge=40)}}return _e&&((ke===void 0||!ke)&&vt>0&&vt+ne1&&(et=!0)),vt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(et=!0),!(_e.hasOwnProperty("disableAutoScale")&&_e.disableAutoScale))Lt=Se(_e,vt,et,ke,_e.scaleContainerClass);else return Tt;return et&&(!_e.hasOwnProperty("scale")||Tt===1)?Lt:Math.min(Tt,Lt)}function He(_e){var vt=Math.min(window.innerWidth,document.documentElement.clientWidth),ke=Math.min(window.innerHeight,document.documentElement.clientHeight),Tt=_e.getBoundingClientRect(),Lt=(vt-Tt.width)/2,et=(ke-Tt.height)/2;et<0&&(et=0),_e.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Lt<40?_e.style.left="40px":_e.style.left=Lt+"px",_e.style.top=et+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(et<40?_e.style.top="40px":_e.style.top=et+"px",_e.style.left=Lt+"px")}function Rt(_e,vt){var ke=_e.querySelector(".appletParameters");if(ke){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(vt.id!==ke.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(_e)}if(ke.parentElement&&/fullscreen/.test(ke.parentElement.className))return;var Tt=Oe(vt,_e);Rn()&&ke.setAttribute("data-param-scale",Tt);for(var Lt=null,et=0;et<_e.childNodes.length;et++)if(_e.childNodes[et].className!==void 0&&_e.childNodes[et].className.match(/^applet_scaler/)){Lt=_e.childNodes[et];break}if(Lt!==null&&Lt.querySelector(".noscale")!==null)return;var gt=vt.id!==void 0?vt.id:"ggbApplet",ct=window[gt];(ct==null||!ct.recalculateEnvironments)&&Lt!==null&&!Lt.className.match(/fullscreen/)&&(Lt.parentNode.style.transform="",!isNaN(Tt)&&Tt!==1?(Lt.parentNode.style.width=vt.width*Tt+"px",Lt.parentNode.style.height=vt.height*Tt+"px",Fn(Lt,Tt)):(Fn(Lt,1),Lt.parentNode.style.width=vt.width+"px",Lt.parentNode.style.height=vt.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&He(_e),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ke).parents(".content-added-content"))}}return{responsiveResize:Rt,isFlexibleWorksheetEditor:Rn,positionCenter:He,getScale:Oe,scaleElement:Fn}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="",W="",X="",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Rn=n.location.search;return Rn.indexOf(J)!=-1||Rn.indexOf(K)!=-1}function q(Rn,Fn){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Rn){var Fn=s[L].bindings;s[L].bindings=function(){for(var ye=Fn?Fn():{},Se=Rn[webModule.__softPermutationId],Oe=O;Oe=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(Rn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Rn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Rn){var Fn=c[Rn];return Fn==null?null:Fn},r=d,webModule.__errFn=e}function B(){function Rn(_e){var vt=_e.lastIndexOf(rb);vt==-1&&(vt=_e.length);var ke=_e.indexOf(sb);ke==-1&&(ke=_e.length);var Tt=_e.lastIndexOf(tb,Math.min(ke,vt));return Tt>=O?_e.substring(O,Tt+P):W}function Fn(_e){if(!_e.match(/^\w+:\/\//)){var vt=o.createElement(ub);vt.src=_e+vb,_e=Rn(vt.src)}return _e}function ye(){var _e=__gwt_getMetaProperty(wb);return _e!=null?_e:W}function Se(){for(var _e=o.getElementsByTagName(_),vt=O;vt<_e.length;++vt)if(_e[vt].src.indexOf(xb)!=-1)return Rn(_e[vt].src);return W}function Oe(){var _e=o.getElementsByTagName(yb);return _e.length>O?_e[_e.length-P].href:W}function He(){var _e=o.location;return _e.href==_e.protocol+zb+_e.host+_e.pathname+_e.search+_e.hash}var Rt=ye();return Rt==W&&(Rt=Se()),Rt==W&&(Rt=Oe()),Rt==W&&He()&&(Rt=Rn(o.location.href)),Rt=Fn(Rt),Rt}function C(Rn){return Rn.match(/^\//)||Rn.match(/^[a-zA-Z]+:\/\//)?Rn:webModule.__moduleBase+Rn}function D(){var Rn=[],Fn=O,ye=[],Se=[];function Oe(_e){var vt=Se[_e](),ke=ye[_e];if(vt in ke)return vt;var Tt=[];for(var Lt in ke)Tt[ke[Lt]]=Lt;throw r&&r(_e,Tt,vt),null}if(__gwt_isKnownPropertyValue=function(_e,vt){return vt in ye[_e]},webModule.__getPropMap=function(){var _e={};for(var vt in ye)ye.hasOwnProperty(vt)&&(_e[vt]=Oe(vt));return _e},webModule.__computePropValue=Oe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var He;try{He=Cb;var Rt=He.indexOf(Db);Rt!=-1&&(Fn=parseInt(He.substring(Rt+P),$),He=He.substring(O,Rt))}catch(_e){}return webModule.__softPermutationId=Fn,C(He+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/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})()},58788:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Ax:function(){return Rt},Ds:function(){return _e},KI:function(){return ke},SI:function(){return He},f1:function(){return Oe}});var Se=ye(10148);function Oe(Tt){let Lt=!0;if(Tt.length>0){for(let et=0;et0&&ze[ze.length-1])||vn[0]!==6&&vn[0]!==2)){nt=0;continue}if(vn[0]===3&&(!ze||vn[1]>ze[0]&&vn[1]',"select"),this.addActionButton(De,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(De,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(De,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(De,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(De,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(De,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(De,'',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(Le){var nt=document.createElement("div");nt.className=""+pe.toolbarButtonStyleClass.name,nt.setAttribute("data-type-name",Le.typeName),nt.innerHTML=Le.icon,nt.addEventListener("click",function(){pe.markerToolbarButtonClicked(nt,Le)}),pe.buttons.push(nt),pe.markerButtons.push(nt)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var ze=document.createElement("div");ze.className=this.toolbarBlockStyleClass.name,ze.style.whiteSpace="nowrap",ze.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(ze),this.addActionButton(ze,'',"render"),this.addActionButton(ze,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Be.prototype.addButtonClickListener=function(we){this.buttonClickListeners.push(we)},Be.prototype.removeButtonClickListener=function(we){this.buttonClickListeners.indexOf(we)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(we),1)},Be.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Be.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var we=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var pe=0;pe0&&this.buttonClickListeners.forEach(function(De){return De("marker",pe)}),this.markerButtonOverflowBlock.style.display="none"},Be.prototype.actionToolbarButtonClicked=function(we,pe){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(De){return De("action",pe)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Be.prototype.setActiveButton=function(we){this.resetButtonStyles(),we.className=we.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),we.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Be.prototype.setActiveMarkerButton=function(we){var pe=this.markerButtons.find(function(De){return De.getAttribute("data-type-name")===we});pe&&this.setActiveButton(pe)},Be.prototype.setCurrentMarker=function(we){var pe=this;this.currentMarker=we,this.buttons.filter(function(De){return/delete|notes/.test(De.getAttribute("data-action"))}).forEach(function(De){pe.currentMarker===void 0?(De.style.fillOpacity="0.4",De.style.pointerEvents="none"):(De.style.fillOpacity="1",De.style.pointerEvents="all")})},Be}(),ge=function(){function Be(we,pe,De,ze){this.panels=[],this.panelButtons=[],this.markerjsContainer=we,this.displayMode=pe,this.uiStyleSettings=De,this.styles=ze,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Be.prototype.addStyles=function(){var we;this.toolboxStyleClass=this.styles.addClass(new ce("toolbox",` width: 100%; flex-shrink: 0; display: flex; flex-direction: column; font-family: sans-serif; `+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+` box-sizing: content-box; `+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+` `+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` `+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` overflow: hidden; `)),this.toolboxStyleColorsClass=this.styles.addClass(new ce("toolbox_colors",` color: `+this.uiStyleSettings.toolboxColor+`; `));var pe=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ce("toolbox-button-row",` display: flex; cursor: default; box-sizing: content-box; `)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ce("toolbox-button-row_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`; `)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ce("toolbox-panel-row",` display: flex; `+(this.displayMode==="inline"?"position: absolute;":"")+` `+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+` cursor: default; height: `+1.5*this.uiStyleSettings.toolbarHeight+`px; `+(this.displayMode==="inline"?"width: 100%;":"")+` box-sizing: content-box; `)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new ce("toolbox-panel-row_colors",` background-color: `+((we=this.uiStyleSettings.toolboxBackgroundColor)!==null&&we!==void 0?we:this.uiStyleSettings.toolbarBackgroundHoverColor)+`; `)),this.toolboxButtonStyleClass=this.styles.addClass(new ce("toolbox_button",` display: inline-block; width: `+(this.uiStyleSettings.toolbarHeight-2*pe)+`px; height: `+(this.uiStyleSettings.toolbarHeight-2*pe)+`px; padding: `+pe+`px; box-sizing: content-box; `)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ce("toolbox-button_colors",` fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ce("toolbox-active-button_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`; fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.styles.addRule(new ne("."+this.toolboxButtonStyleColorsClass.name+":hover",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+` `)),this.styles.addRule(new ne("."+this.toolboxButtonStyleClass.name+" svg",` height: `+this.uiStyleSettings.toolbarHeight/2+`px; `))},Be.prototype.show=function(we){var pe;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=we,this.uiContainer.className=this.toolboxStyleClass.name+" "+((pe=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&pe!==void 0?pe:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Be.prototype.setPanelButtons=function(we){var pe,De,ze=this;this.panels=we,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((pe=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&pe!==void 0?pe:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((De=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&De!==void 0?De:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(Le){var nt;Le.uiStyleSettings=ze.uiStyleSettings;var Ut=document.createElement("div");Ut.className=ze.toolboxButtonStyleClass.name+" "+((nt=ze.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&nt!==void 0?nt:ze.toolboxButtonStyleColorsClass.name),Ut.innerHTML=Le.icon,Ut.title=Le.title,Ut.addEventListener("click",function(){ze.panelButtonClick(Le)}),ze.panelButtons.push(Ut),ze.buttonRow.appendChild(Ut)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Be.prototype.panelButtonClick=function(we){var pe=this,De=-1;if(we!==this.activePanel){De=this.panels.indexOf(we),this.panelRow.innerHTML="";var ze=we.getUi();ze.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(ze),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=we}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){pe.displayMode==="inline"?pe.panelRow.style.display="none":pe.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(Le,nt){var Ut,En;Le.className=pe.toolboxButtonStyleClass.name+" "+(nt===De?""+((Ut=pe.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ut!==void 0?Ut:pe.toolboxActiveButtonStyleColorsClass.name):""+((En=pe.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&En!==void 0?En:pe.toolboxButtonStyleColorsClass.name))})},Be}(),ve=function(Be,we){this.title=Be,this.icon=we},be=function(Be){function we(pe,De,ze,Le){var nt=Be.call(this,pe,Le||'')||this;return nt.colors=[],nt.addTransparent=!1,nt.colorBoxes=[],nt.colors=De,nt.currentColor=ze,nt.setCurrentColor=nt.setCurrentColor.bind(nt),nt.getColorBox=nt.getColorBox.bind(nt),nt}return ke(we,Be),we.prototype.getUi=function(){var pe=this,De=document.createElement("div");return De.style.overflow="hidden",De.style.whiteSpace="nowrap",this.colors.forEach(function(ze){var Le=pe.getColorBox(ze);De.appendChild(Le),pe.colorBoxes.push(Le)}),De},we.prototype.getColorBox=function(pe){var De=this,ze=this.uiStyleSettings.toolbarHeight/4,Le=this.uiStyleSettings.toolbarHeight-ze,nt=document.createElement("div");nt.style.display="inline-block",nt.style.boxSizing="content-box",nt.style.width=Le-2+"px",nt.style.height=Le-2+"px",nt.style.padding="1px",nt.style.marginRight="2px",nt.style.marginBottom="2px",nt.style.borderWidth="2px",nt.style.borderStyle="solid",nt.style.borderRadius=(Le+2)/2+"px",nt.style.borderColor=pe===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",nt.addEventListener("click",function(){De.setCurrentColor(pe,nt)});var Ut=document.createElement("div");return Ut.style.display="inline-block",Ut.style.width=Le-2+"px",Ut.style.height=Le-2+"px",Ut.style.backgroundColor=pe,Ut.style.borderRadius=Le/2+"px",pe==="transparent"&&(Ut.style.fill=this.uiStyleSettings.toolboxAccentColor,Ut.innerHTML=` `),nt.appendChild(Ut),nt},we.prototype.setCurrentColor=function(pe,De){var ze=this;this.currentColor=pe,this.colorBoxes.forEach(function(Le){Le.style.borderColor=Le===De?ze.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(pe)},we}(ve),Fe=function(){function Be(we,pe,De){this._state="new",this._isSelected=!1,this._container=we,this._overlayContainer=pe,this.globalSettings=De,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Be.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Be.prototype.ownsTarget=function(we){return!1},Object.defineProperty(Be.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Be.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Be.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Be.prototype.pointerDown=function(we,pe){},Be.prototype.dblClick=function(we,pe){},Be.prototype.manipulate=function(we){},Be.prototype.pointerUp=function(we){this.stateChanged()},Be.prototype.dispose=function(){},Be.prototype.addMarkerVisualToContainer=function(we){this.container.childNodes.length>0?this.container.insertBefore(we,this.container.childNodes[0]):this.container.appendChild(we)},Be.prototype.getState=function(){return{typeName:Be.typeName,state:this.state,notes:this.notes}},Be.prototype.restoreState=function(we){this._state=we.state,this.notes=we.notes},Be.prototype.scale=function(we,pe){},Be.prototype.colorChanged=function(we){this.onColorChanged&&this.onColorChanged(we),this.stateChanged()},Be.prototype.fillColorChanged=function(we){this.onFillColorChanged&&this.onFillColorChanged(we),this.stateChanged()},Be.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var we=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),we.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(we)&&this.onStateChanged(this)}},Be.typeName="MarkerBase",Be}(),Pe=function(){function Be(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Be.prototype.findGripByVisual=function(we){return this.topLeft.ownsTarget(we)?this.topLeft:this.topCenter.ownsTarget(we)?this.topCenter:this.topRight.ownsTarget(we)?this.topRight:this.centerLeft.ownsTarget(we)?this.centerLeft:this.centerRight.ownsTarget(we)?this.centerRight:this.bottomLeft.ownsTarget(we)?this.bottomLeft:this.bottomCenter.ownsTarget(we)?this.bottomCenter:this.bottomRight.ownsTarget(we)?this.bottomRight:void 0},Be}(),Ie=function(){function Be(){this.GRIP_SIZE=10,this.visual=gt.createGroup(),this.visual.appendChild(gt.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(gt.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Be.prototype.ownsTarget=function(we){return we===this.visual||we===this.visual.childNodes[0]||we===this.visual.childNodes[1]},Be}(),We=function(){function Be(){}return Be.toITransformMatrix=function(we){return{a:we.a,b:we.b,c:we.c,d:we.d,e:we.e,f:we.f}},Be.toSVGMatrix=function(we,pe){return we.a=pe.a,we.b=pe.b,we.c=pe.c,we.d=pe.d,we.e=pe.e,we.f=pe.f,we},Be}(),Ke=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.left=0,Le.top=0,Le.width=0,Le.height=0,Le.defaultSize={x:50,y:20},Le.offsetX=0,Le.offsetY=0,Le.rotationAngle=0,Le.CB_DISTANCE=10,Le._suppressMarkerCreateEvent=!1,Le.container.transform.baseVal.appendItem(gt.createTransform()),Le.setupControlBox(),Le}return ke(we,Be),Object.defineProperty(we.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"visual",{get:function(){return this._visual},set:function(pe){this._visual=pe;var De=gt.createTransform();this._visual.transform.baseVal.appendItem(De)},enumerable:!1,configurable:!0}),we.prototype.ownsTarget=function(pe){return!!Be.prototype.ownsTarget.call(this,pe)||!!(this.controlGrips.findGripByVisual(pe)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(pe))},we.prototype.pointerDown=function(pe,De){Be.prototype.pointerDown.call(this,pe,De),this.state==="new"&&(this.left=pe.x,this.top=pe.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var ze=this.unrotatePoint(pe);if(this.manipulationStartX=ze.x,this.manipulationStartY=ze.y,this.offsetX=ze.x-this.left,this.offsetY=ze.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(De),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(De)){this.activeGrip=this.rotatorGrip;var Le=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Le.x-this.width/2,this.top=Le.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var nt=this.container.transform.baseVal.getItem(0);nt.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(nt,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},we.prototype.pointerUp=function(pe){var De=this.state;Be.prototype.pointerUp.call(this,pe),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(pe),this._state="select",De==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},we.prototype.moveVisual=function(pe){this.visual.style.transform="translate("+pe.x+"px, "+pe.y+"px)"},we.prototype.manipulate=function(pe){var De=this.unrotatePoint(pe);this.state==="creating"?this.resize(pe):this.state==="move"?(this.left=this.manipulationStartLeft+(De.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(De.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(De):this.state==="rotate"&&this.rotate(pe)},we.prototype.resize=function(pe){var De=this.manipulationStartLeft,ze=this.manipulationStartWidth,Le=this.manipulationStartTop,nt=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:De=this.manipulationStartLeft+pe.x-this.manipulationStartX,ze=this.manipulationStartWidth+this.manipulationStartLeft-De;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:ze=this.manipulationStartWidth+pe.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Le=this.manipulationStartTop+pe.y-this.manipulationStartY,nt=this.manipulationStartHeight+this.manipulationStartTop-Le;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:nt=this.manipulationStartHeight+pe.y-this.manipulationStartY}ze>=0?(this.left=De,this.width=ze):(this.left=De+ze,this.width=-ze),nt>=0?(this.top=Le,this.height=nt):(this.top=Le+nt,this.height=-nt),this.setSize()},we.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},we.prototype.rotate=function(pe){if(Math.abs(pe.x-this.centerX)>.1){var De=Math.sign(pe.x-this.centerX);this.rotationAngle=180*Math.atan((pe.y-this.centerY)/(pe.x-this.centerX))/Math.PI+90*De,this.applyRotation()}},we.prototype.applyRotation=function(){var pe=this.container.transform.baseVal.getItem(0);pe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(pe,0)},we.prototype.rotatePoint=function(pe){if(this.rotationAngle===0)return pe;var De=this.container.getCTM(),ze=gt.createPoint(pe.x,pe.y);return{x:(ze=ze.matrixTransform(De)).x,y:ze.y}},we.prototype.unrotatePoint=function(pe){if(this.rotationAngle===0)return pe;var De=this.container.getCTM();De=De.inverse();var ze=gt.createPoint(pe.x,pe.y);return{x:(ze=ze.matrixTransform(De)).x,y:ze.y}},we.prototype.select=function(){Be.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},we.prototype.deselect=function(){Be.prototype.deselect.call(this),this.controlBox.style.display="none"},we.prototype.setupControlBox=function(){this.controlBox=gt.createGroup();var pe=gt.createTransform();pe.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(pe),this.container.appendChild(this.controlBox),this.controlRect=gt.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=gt.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new Pe,this.addControlGrips(),this.controlBox.style.display="none"},we.prototype.adjustControlBox=function(){var pe=this.controlBox.transform.baseVal.getItem(0);pe.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(pe,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},we.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},we.prototype.createGrip=function(){var pe=new Ie;return pe.visual.transform.baseVal.appendItem(gt.createTransform()),this.controlBox.appendChild(pe.visual),pe},we.prototype.positionGrips=function(){var pe=this.controlGrips.topLeft.GRIP_SIZE,De=-pe/2,ze=De,Le=(this.width+this.CB_DISTANCE)/2-pe/2,nt=(this.height+this.CB_DISTANCE)/2-pe/2,Ut=this.height+this.CB_DISTANCE-pe/2,En=this.width+this.CB_DISTANCE-pe/2;this.positionGrip(this.controlGrips.topLeft.visual,De,ze),this.positionGrip(this.controlGrips.topCenter.visual,Le,ze),this.positionGrip(this.controlGrips.topRight.visual,En,ze),this.positionGrip(this.controlGrips.centerLeft.visual,De,nt),this.positionGrip(this.controlGrips.centerRight.visual,En,nt),this.positionGrip(this.controlGrips.bottomLeft.visual,De,Ut),this.positionGrip(this.controlGrips.bottomCenter.visual,Le,Ut),this.positionGrip(this.controlGrips.bottomRight.visual,En,Ut),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Le,ze-3*this.CB_DISTANCE)},we.prototype.positionGrip=function(pe,De,ze){var Le=pe.transform.baseVal.getItem(0);Le.setTranslate(De,ze),pe.transform.baseVal.replaceItem(Le,0)},we.prototype.hideControlBox=function(){this.controlBox.style.display="none"},we.prototype.showControlBox=function(){this.controlBox.style.display=""},we.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:We.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:We.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Be.prototype.getState.call(this))},we.prototype.restoreState=function(pe){Be.prototype.restoreState.call(this,pe);var De=pe;this.left=De.left,this.top=De.top,this.width=De.width,this.height=De.height,this.rotationAngle=De.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(We.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,De.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(We.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,De.containerTransformMatrix))},we.prototype.scale=function(pe,De){Be.prototype.scale.call(this,pe,De);var ze=this.rotatePoint({x:this.left,y:this.top}),Le=this.unrotatePoint({x:ze.x*pe,y:ze.y*De});this.left=Le.x,this.top=Le.y,this.width=this.width*pe,this.height=this.height*De,this.adjustControlBox()},we}(Fe),Xe=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.opacity=1,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le}return ke(we,Be),we.prototype.ownsTarget=function(pe){return!(!Be.prototype.ownsTarget.call(this,pe)&&pe!==this.visual)},we.prototype.createVisual=function(){this.visual=gt.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},we.prototype.pointerDown=function(pe,De){Be.prototype.pointerDown.call(this,pe,De),this.state==="new"&&(this.createVisual(),this.moveVisual(pe),this._state="creating")},we.prototype.manipulate=function(pe){Be.prototype.manipulate.call(this,pe)},we.prototype.resize=function(pe){Be.prototype.resize.call(this,pe),this.setSize()},we.prototype.setSize=function(){Be.prototype.setSize.call(this),gt.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},we.prototype.pointerUp=function(pe){Be.prototype.pointerUp.call(this,pe),this.setSize()},we.prototype.setStrokeColor=function(pe){this.strokeColor=pe,this.visual&>.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(pe),this.stateChanged()},we.prototype.setFillColor=function(pe){this.fillColor=pe,this.visual&>.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},we.prototype.setStrokeWidth=function(pe){this.strokeWidth=pe,this.visual&>.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},we.prototype.setStrokeDasharray=function(pe){this.strokeDasharray=pe,this.visual&>.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},we.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Be.prototype.getState.call(this))},we.prototype.restoreState=function(pe){var De=pe;this.fillColor=De.fillColor,this.strokeColor=De.strokeColor,this.strokeWidth=De.strokeWidth,this.strokeDasharray=De.strokeDasharray,this.opacity=De.opacity,this.createVisual(),Be.prototype.restoreState.call(this,pe),this.setSize()},we.prototype.scale=function(pe,De){Be.prototype.scale.call(this,pe,De),this.setSize()},we.title="Rectangle marker",we}(Ke),ht=function(Be){function we(pe,De,ze,Le){var nt=Be.call(this,pe,Le||'')||this;return nt.widths=[],nt.widthBoxes=[],nt.widths=De,nt.currentWidth=ze,nt.setCurrentWidth=nt.setCurrentWidth.bind(nt),nt}return ke(we,Be),we.prototype.getUi=function(){var pe=this,De=document.createElement("div");return De.style.display="flex",De.style.overflow="hidden",De.style.flexGrow="2",this.widths.forEach(function(ze){var Le=document.createElement("div");Le.style.display="flex",Le.style.flexGrow="2",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=ze===pe.currentWidth?pe.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){pe.setCurrentWidth(ze,Le)}),De.appendChild(Le);var nt=document.createElement("div");nt.innerText=ze.toString(),nt.style.marginRight="5px",Le.appendChild(nt);var Ut=document.createElement("div");Ut.style.minHeight="20px",Ut.style.flexGrow="2",Ut.style.display="flex",Ut.style.alignItems="center";var En=document.createElement("hr");En.style.minWidth="20px",En.style.border="0px",En.style.borderTop=ze+"px solid "+pe.uiStyleSettings.toolboxColor,En.style.flexGrow="2",Ut.appendChild(En),Le.appendChild(Ut),pe.widthBoxes.push(Le)}),De},we.prototype.setCurrentWidth=function(pe,De){var ze=this;this.currentWidth=pe,this.widthBoxes.forEach(function(Le){Le.style.borderColor=Le===De?ze.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},we}(ve),Ve=function(Be){function we(pe,De,ze,Le){var nt=Be.call(this,pe,Le||'')||this;return nt.styles=[],nt.styleBoxes=[],nt.styles=De,nt.currentStyle=ze,nt.setCurrentStyle=nt.setCurrentStyle.bind(nt),nt}return ke(we,Be),we.prototype.getUi=function(){var pe=this,De=document.createElement("div");return De.style.display="flex",De.style.overflow="hidden",De.style.flexGrow="2",this.styles.forEach(function(ze){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/pe.styles.length-5+"%",Le.style.borderColor=ze===pe.currentStyle?pe.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){pe.setCurrentStyle(ze,Le)}),De.appendChild(Le);var nt=document.createElement("div");nt.style.minHeight="20px",nt.style.flexGrow="2",nt.style.overflow="hidden";var Ut=` `;nt.innerHTML=Ut,Le.appendChild(nt),pe.styleBoxes.push(Le)}),De},we.prototype.setCurrentStyle=function(pe,De){var ze=this;this.currentStyle=pe,this.styleBoxes.forEach(function(Le){Le.style.borderColor=Le===De?ze.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},we}(ve),Nt=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.strokeColor=ze.defaultColor,Le.strokeWidth=ze.defaultStrokeWidth,Le.strokeDasharray=ze.defaultStrokeDasharray,Le.strokePanel=new be("Line color",ze.defaultColorSet,ze.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new ht("Line width",ze.defaultStrokeWidths,ze.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ve("Line style",ze.defaultStrokeDasharrays,ze.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return ke(we,Be),Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Be.prototype.getState.call(this);return pe.typeName=we.typeName,pe},we.typeName="FrameMarker",we.title="Frame marker",we.icon='',we}(Xe),qe=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Ht=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.x1=0,Le.y1=0,Le.x2=0,Le.y2=0,Le.defaultLength=50,Le.manipulationStartX=0,Le.manipulationStartY=0,Le.manipulationStartX1=0,Le.manipulationStartY1=0,Le.manipulationStartX2=0,Le.manipulationStartY2=0,Le.setupControlBox(),Le}return ke(we,Be),we.prototype.ownsTarget=function(pe){return!!Be.prototype.ownsTarget.call(this,pe)||!(!this.grip1.ownsTarget(pe)&&!this.grip2.ownsTarget(pe))},we.prototype.pointerDown=function(pe,De){Be.prototype.pointerDown.call(this,pe,De),this.manipulationStartX=pe.x,this.manipulationStartY=pe.y,this.state==="new"&&(this.x1=pe.x,this.y1=pe.y,this.x2=pe.x,this.y2=pe.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(De)?this.activeGrip=this.grip1:this.grip2.ownsTarget(De)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},we.prototype.pointerUp=function(pe){var De=this.state;Be.prototype.pointerUp.call(this,pe),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(pe),this._state="select",De==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},we.prototype.adjustVisual=function(){},we.prototype.manipulate=function(pe){this.state==="creating"?this.resize(pe):this.state==="move"?(this.x1=this.manipulationStartX1+pe.x-this.manipulationStartX,this.y1=this.manipulationStartY1+pe.y-this.manipulationStartY,this.x2=this.manipulationStartX2+pe.x-this.manipulationStartX,this.y2=this.manipulationStartY2+pe.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(pe)},we.prototype.resize=function(pe){switch(this.activeGrip){case this.grip1:this.x1=pe.x,this.y1=pe.y;break;case this.grip2:case void 0:this.x2=pe.x,this.y2=pe.y}this.adjustVisual(),this.adjustControlBox()},we.prototype.select=function(){Be.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},we.prototype.deselect=function(){Be.prototype.deselect.call(this),this.controlBox.style.display="none"},we.prototype.setupControlBox=function(){this.controlBox=gt.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},we.prototype.adjustControlBox=function(){this.positionGrips()},we.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},we.prototype.createGrip=function(){var pe=new Ie;return pe.visual.transform.baseVal.appendItem(gt.createTransform()),this.controlBox.appendChild(pe.visual),pe},we.prototype.positionGrips=function(){var pe=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-pe/2,this.y1-pe/2),this.positionGrip(this.grip2.visual,this.x2-pe/2,this.y2-pe/2)},we.prototype.positionGrip=function(pe,De,ze){var Le=pe.transform.baseVal.getItem(0);Le.setTranslate(De,ze),pe.transform.baseVal.replaceItem(Le,0)},we.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Be.prototype.getState.call(this))},we.prototype.restoreState=function(pe){Be.prototype.restoreState.call(this,pe);var De=pe;this.x1=De.x1,this.y1=De.y1,this.x2=De.x2,this.y2=De.y2},we.prototype.scale=function(pe,De){Be.prototype.scale.call(this,pe,De),this.x1=this.x1*pe,this.y1=this.y1*De,this.x2=this.x2*pe,this.y2=this.y2*De,this.adjustVisual(),this.adjustControlBox()},we}(Fe),Zt=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.strokeColor=ze.defaultColor,Le.strokeWidth=ze.defaultStrokeWidth,Le.strokeDasharray=ze.defaultStrokeDasharray,Le.strokePanel=new be("Line color",ze.defaultColorSet,ze.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new ht("Line width",ze.defaultStrokeWidths,ze.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ve("Line style",ze.defaultStrokeDasharrays,ze.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return ke(we,Be),we.prototype.ownsTarget=function(pe){return!(!Be.prototype.ownsTarget.call(this,pe)&&pe!==this.visual&&pe!==this.selectorLine&&pe!==this.visibleLine)},we.prototype.createVisual=function(){this.visual=gt.createGroup(),this.selectorLine=gt.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=gt.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},we.prototype.pointerDown=function(pe,De){Be.prototype.pointerDown.call(this,pe,De),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},we.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),gt.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),gt.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),gt.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},we.prototype.setStrokeColor=function(pe){this.strokeColor=pe,this.adjustVisual(),this.colorChanged(pe)},we.prototype.setStrokeWidth=function(pe){this.strokeWidth=pe,this.adjustVisual()},we.prototype.setStrokeDasharray=function(pe){this.strokeDasharray=pe,this.adjustVisual(),this.stateChanged()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Be.prototype.getState.call(this));return pe.typeName=we.typeName,pe},we.prototype.restoreState=function(pe){Be.prototype.restoreState.call(this,pe);var De=pe;this.strokeColor=De.strokeColor,this.strokeWidth=De.strokeWidth,this.strokeDasharray=De.strokeDasharray,this.createVisual(),this.adjustVisual()},we.typeName="LineMarker",we.title="Line marker",we.icon='',we}(Ht),Yt=function(Be){function we(pe,De,ze,Le){var nt=Be.call(this,pe,Le||'')||this;return nt.fonts=[],nt.fontBoxes=[],nt.fonts=De,nt.currentFont=ze,nt.setCurrentFont=nt.setCurrentFont.bind(nt),nt}return ke(we,Be),we.prototype.getUi=function(){var pe=this,De=document.createElement("div");return De.style.overflow="hidden",De.style.flexGrow="2",this.fonts.forEach(function(ze){var Le=document.createElement("div");Le.style.display="inline-block",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/pe.fonts.length-5+"%",Le.style.borderColor=ze===pe.currentFont?pe.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){pe.setCurrentFont(ze,Le)}),De.appendChild(Le);var nt=document.createElement("div");nt.style.display="flex",nt.style.minHeight="20px",nt.style.flexGrow="2",nt.style.fontFamily=ze,nt.style.overflow="hidden";var Ut=document.createElement("div");Ut.style.whiteSpace="nowrap",Ut.style.overflow="hidden",Ut.style.textOverflow="ellipsis",Ut.innerHTML="The quick brown fox jumps over the lazy dog",nt.appendChild(Ut),Le.appendChild(nt),pe.fontBoxes.push(Le)}),De},we.prototype.setCurrentFont=function(pe,De){var ze=this;this.currentFont=pe,this.fontBoxes.forEach(function(Le){Le.style.borderColor=Le===De?ze.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},we}(ve),Ot=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.color="transparent",Le.padding=5,Le.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Le.text=Le.DEFAULT_TEXT,Le.isMoved=!1,Le.color=ze.defaultColor,Le.fontFamily=ze.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setColor=Le.setColor.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.renderText=Le.renderText.bind(Le),Le.sizeText=Le.sizeText.bind(Le),Le.textEditDivClicked=Le.textEditDivClicked.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.setSize=Le.setSize.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.colorPanel=new be("Color",ze.defaultColorSet,ze.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.fontFamilyPanel=new Yt("Font",ze.defaultFontFamilies,ze.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le}return ke(we,Be),we.prototype.ownsTarget=function(pe){if(Be.prototype.ownsTarget.call(this,pe)||pe===this.visual||pe===this.textElement||pe===this.bgRectangle)return!0;var De=!1;return this.textElement.childNodes.forEach(function(ze){ze===pe&&(De=!0)}),De},we.prototype.createVisual=function(){this.visual=gt.createGroup(),this.bgRectangle=gt.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=gt.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(gt.createTransform()),this.textElement.transform.baseVal.appendItem(gt.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},we.prototype.pointerDown=function(pe,De){Be.prototype.pointerDown.call(this,pe,De),this.isMoved=!1,this.pointerDownPoint=pe,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(pe),this._state="creating")},we.prototype.renderText=function(){var pe=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(De){pe.textElement.appendChild(gt.createTSpan(De.trim()===""?" ":De.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},we.prototype.getTextScale=function(){var pe=this.textElement.getBBox(),De=1;if(pe.width>0&&pe.height>0){var ze=(1*this.width-this.width*this.padding*2/100)/pe.width,Le=(1*this.height-this.height*this.padding*2/100)/pe.height;De=Math.min(ze,Le)}return De},we.prototype.getTextPosition=function(pe){var De=this.textElement.getBBox(),ze=0,Le=0;return De.width>0&&De.height>0&&(ze=(this.width-De.width*pe)/2,Le=this.height/2-De.height*pe/2),{x:ze,y:Le}},we.prototype.sizeText=function(){var pe=this.textElement.getBBox(),De=this.getTextScale(),ze=this.getTextPosition(De);ze.y-=pe.y*De,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+ze.x+"px, "+ze.y+"px) scale("+De+", "+De+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(ze.x,ze.y),this.textElement.transform.baseVal.getItem(1).setScale(De,De))},we.prototype.manipulate=function(pe){Be.prototype.manipulate.call(this,pe),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(pe.x-this.pointerDownPoint.x)>5||Math.abs(pe.y-this.pointerDownPoint.y)>5)},we.prototype.resize=function(pe){Be.prototype.resize.call(this,pe),this.isMoved=!0,this.setSize(),this.sizeText()},we.prototype.setSize=function(){Be.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(gt.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),gt.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},we.prototype.pointerUp=function(pe){var De=this.state;De==="creating"&&(this._suppressMarkerCreateEvent=!0),Be.prototype.pointerUp.call(this,pe),this.setSize(),(De==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},we.prototype.showTextEditor=function(){var pe=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(De){De.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var De=Number.parseFloat(pe.textEditor.style.fontSize);pe.textEditor.clientWidth>=Number.parseInt(pe.textEditor.style.maxWidth)&&De>.9;)De-=.1,pe.textEditor.style.fontSize=Math.max(De,.9)+"em"}),this.textEditor.addEventListener("keyup",function(De){De.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(De){if(De.clipboardData){var ze=De.clipboardData.getData("text"),Le=window.getSelection();if(!Le.rangeCount)return!1;Le.deleteFromDocument(),Le.getRangeAt(0).insertNode(document.createTextNode(ze)),De.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){pe.textEditDivClicked(pe.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},we.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var pe=this.getTextScale(),De=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),ze=this.textElement.getBBox(),Le={x:ze.width*pe,y:ze.height*pe};De.x-=Le.x/2,De.y-=Le.y/2,this.textEditor.style.top=De.y+"px",this.textEditor.style.left=De.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-De.x+"px",this.textEditor.style.fontSize=Math.max(16*pe,12)+"px",this.textElement.style.display="none"}},we.prototype.textEditDivClicked=function(pe){this.text=pe.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},we.prototype.select=function(){Be.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},we.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Be.prototype.deselect.call(this)},we.prototype.dblClick=function(pe,De){Be.prototype.dblClick.call(this,pe,De),this.showTextEditor()},we.prototype.setColor=function(pe){this.textElement&>.setAttributes(this.textElement,[["fill",pe]]),this.color=pe,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(pe)},we.prototype.setFont=function(pe){this.textElement&>.setAttributes(this.textElement,[["font-family",pe]]),this.fontFamily=pe,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},we.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},we.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Be.prototype.getState.call(this));return pe.typeName=we.typeName,pe},we.prototype.restoreState=function(pe){var De=pe;this.color=De.color,this.fontFamily=De.fontFamily,this.padding=De.padding,this.text=De.text,this.createVisual(),Be.prototype.restoreState.call(this,pe),this.setSize()},we.prototype.scale=function(pe,De){Be.prototype.scale.call(this,pe,De),this.setSize(),this.sizeText(),this.positionTextEditor()},we.typeName="TextMarker",we.title="Text marker",we.icon='',we}(Ke),Qt=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.color="transparent",Le.lineWidth=3,Le.drawing=!1,Le.pixelRatio=1,Le.color=ze.defaultColor,Le.lineWidth=ze.defaultStrokeWidth,Le.pixelRatio=ze.freehandPixelRatio,Le.setColor=Le.setColor.bind(Le),Le.addCanvas=Le.addCanvas.bind(Le),Le.finishCreation=Le.finishCreation.bind(Le),Le.setLineWidth=Le.setLineWidth.bind(Le),Le.colorPanel=new be("Color",ze.defaultColorSet,ze.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.lineWidthPanel=new ht("Line width",ze.defaultStrokeWidths,ze.defaultStrokeWidth),Le.lineWidthPanel.onWidthChanged=Le.setLineWidth,Le}return ke(we,Be),we.prototype.ownsTarget=function(pe){return!(!Be.prototype.ownsTarget.call(this,pe)&&pe!==this.visual&&pe!==this.drawingImage)},we.prototype.createVisual=function(){this.visual=gt.createGroup(),this.drawingImage=gt.createImage(),this.visual.appendChild(this.drawingImage);var pe=gt.createTransform();this.visual.transform.baseVal.appendItem(pe),this.addMarkerVisualToContainer(this.visual)},we.prototype.pointerDown=function(pe,De){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(pe.x,pe.y),this.drawing=!0):Be.prototype.pointerDown.call(this,pe,De)},we.prototype.manipulate=function(pe){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(pe.x,pe.y),this.canvasContext.stroke()):Be.prototype.manipulate.call(this,pe)},we.prototype.resize=function(pe){Be.prototype.resize.call(this,pe),gt.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),gt.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},we.prototype.pointerUp=function(pe){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Be.prototype.pointerUp.call(this,pe)},we.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},we.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Be.prototype.select.call(this)},we.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Be.prototype.deselect.call(this)},we.prototype.finishCreation=function(){for(var pe=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),De=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],ze=De[0],Le=De[1],nt=De[2],Ut=De[3],En=!1,rn=0;rn0&&(En=!0,rnUt&&(Ut=rn),vn>nt&&(nt=vn));if(En){this.left=ze/this.pixelRatio,this.top=Le/this.pixelRatio,this.width=(nt-ze)/this.pixelRatio,this.height=(Ut-Le)/this.pixelRatio;var mi=document.createElement("canvas");mi.width=nt-ze,mi.height=Ut-Le,mi.getContext("2d").putImageData(this.canvasContext.getImageData(ze,Le,nt-ze,Ut-Le),0,0),this.drawingImgUrl=mi.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},we.prototype.setDrawingImage=function(){gt.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),gt.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},we.prototype.setColor=function(pe){this.color=pe,this.colorChanged(pe)},we.prototype.setLineWidth=function(pe){this.lineWidth=pe},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Object.assign({drawingImgUrl:this.drawingImgUrl},Be.prototype.getState.call(this));return pe.typeName=we.typeName,pe},we.prototype.restoreState=function(pe){this.createVisual(),Be.prototype.restoreState.call(this,pe),this.drawingImgUrl=pe.drawingImgUrl,this.setDrawingImage()},we.prototype.scale=function(pe,De){Be.prototype.scale.call(this,pe,De),this.setDrawingImage()},we.typeName="FreehandMarker",we.title="Freehand marker",we.icon='',we}(Ke),dt=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,ze||'')||this;return Le.typeBoxes=[],Le.currentType=De,Le.setCurrentType=Le.setCurrentType.bind(Le),Le}return ke(we,Be),we.prototype.getUi=function(){var pe=this,De=document.createElement("div");De.style.display="flex",De.style.overflow="hidden",De.style.flexGrow="2";for(var ze=function(Ut){var En="both";switch(Ut){case 0:En="both";break;case 1:En="start";break;case 2:En="end";break;case 3:En="none"}var rn=document.createElement("div");if(rn.style.display="flex",rn.style.flexGrow="2",rn.style.alignItems="center",rn.style.justifyContent="space-between",rn.style.padding="5px",rn.style.borderWidth="2px",rn.style.borderStyle="solid",rn.style.borderColor=En===Le.currentType?Le.uiStyleSettings.toolboxAccentColor:"transparent",rn.addEventListener("click",function(){pe.setCurrentType(En,rn)}),De.appendChild(rn),En==="both"||En==="start"){var vn=document.createElement("div");vn.style.display="flex",vn.style.alignItems="center",vn.style.minHeight="20px",vn.innerHTML=` `,vn.style.marginLeft="5px",rn.appendChild(vn)}var mi=document.createElement("div");mi.style.display="flex",mi.style.alignItems="center",mi.style.minHeight="20px",mi.style.flexGrow="2";var wi=document.createElement("hr");if(wi.style.minWidth="20px",wi.style.border="0px",wi.style.borderTop="3px solid "+(Le.uiStyleSettings!==void 0?Le.uiStyleSettings.toolboxColor:"#eeeeee"),wi.style.flexGrow="2",mi.appendChild(wi),rn.appendChild(mi),En==="both"||En==="end"){var Ri=document.createElement("div");Ri.style.display="flex",Ri.style.alignItems="center",Ri.style.minHeight="20px",Ri.innerHTML=` `,Ri.style.marginRight="5px",rn.appendChild(Ri)}Le.typeBoxes.push(rn)},Le=this,nt=0;nt<4;nt++)ze(nt);return De},we.prototype.setCurrentType=function(pe,De){var ze=this;this.currentType=pe,this.typeBoxes.forEach(function(Le){Le.style.borderColor=Le===De?ze.uiStyleSettings!==void 0?ze.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},we}(ve),Re=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.arrowType="end",Le.arrowBaseHeight=10,Le.arrowBaseWidth=10,Le.getArrowPoints=Le.getArrowPoints.bind(Le),Le.setArrowType=Le.setArrowType.bind(Le),Le.arrowTypePanel=new dt("Arrow type","end"),Le.arrowTypePanel.onArrowTypeChanged=Le.setArrowType,Le}return ke(we,Be),we.prototype.ownsTarget=function(pe){return!(!Be.prototype.ownsTarget.call(this,pe)&&pe!==this.arrow1&&pe!==this.arrow2)},we.prototype.getArrowPoints=function(pe,De){var ze=this.arrowBaseWidth+2*this.strokeWidth,Le=this.arrowBaseHeight+2*this.strokeWidth;return pe-ze/2+","+(De+Le/2)+" "+pe+","+(De-Le/2)+" "+(pe+ze/2)+","+(De+Le/2)},we.prototype.createTips=function(){this.arrow1=gt.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(gt.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=gt.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(gt.createTransform()),this.visual.appendChild(this.arrow2)},we.prototype.pointerDown=function(pe,De){Be.prototype.pointerDown.call(this,pe,De),this.state==="creating"&&this.createTips()},we.prototype.adjustVisual=function(){if(Be.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",gt.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),gt.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var pe=0;Math.abs(this.x1-this.x2)>.1&&(pe=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var De=this.arrow1.transform.baseVal.getItem(0);De.setRotate(pe,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(De,0);var ze=this.arrow2.transform.baseVal.getItem(0);ze.setRotate(pe+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(ze,0)}},we.prototype.setArrowType=function(pe){this.arrowType=pe,this.adjustVisual(),this.stateChanged()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Object.assign({arrowType:this.arrowType},Be.prototype.getState.call(this));return pe.typeName=we.typeName,pe},we.prototype.restoreState=function(pe){Be.prototype.restoreState.call(this,pe);var De=pe;this.arrowType=De.arrowType,this.createTips(),this.adjustVisual()},we.typeName="ArrowMarker",we.title="Arrow marker",we.icon='',we}(Zt),Mt=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.fillColor=ze.defaultFillColor,Le.strokeWidth=0,Le.fillPanel=new be("Color",ze.defaultColorSet,ze.defaultFillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le}return ke(we,Be),Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Be.prototype.getState.call(this);return pe.typeName=we.typeName,pe},we.typeName="CoverMarker",we.title="Cover marker",we.icon='',we}(Xe),Pn=function(Be){function we(pe,De,ze,Le){var nt=Be.call(this,pe,Le||'')||this;return nt.opacities=[],nt.opacityBoxes=[],nt.opacities=De,nt.currentOpacity=ze,nt.setCurrentOpacity=nt.setCurrentOpacity.bind(nt),nt}return ke(we,Be),we.prototype.getUi=function(){var pe=this,De=document.createElement("div");return De.style.display="flex",De.style.overflow="hidden",De.style.flexGrow="2",De.style.justifyContent="space-between",this.opacities.forEach(function(ze){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="center",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=ze===pe.currentOpacity?pe.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){pe.setCurrentOpacity(ze,Le)}),De.appendChild(Le);var nt=document.createElement("div");nt.innerText=100*ze+"%",Le.appendChild(nt),pe.opacityBoxes.push(Le)}),De},we.prototype.setCurrentOpacity=function(pe,De){var ze=this;this.currentOpacity=pe,this.opacityBoxes.forEach(function(Le){Le.style.borderColor=Le===De?ze.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},we}(ve),mn=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.setOpacity=Le.setOpacity.bind(Le),Le.fillColor=ze.defaultHighlightColor,Le.strokeWidth=0,Le.opacity=ze.defaultHighlightOpacity,Le.fillPanel=new be("Color",ze.defaultColorSet,Le.fillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le.opacityPanel=new Pn("Opacity",ze.defaultOpacitySteps,Le.opacity),Le.opacityPanel.onOpacityChanged=Le.setOpacity,Le}return ke(we,Be),we.prototype.setOpacity=function(pe){this.opacity=pe,this.visual&>.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Be.prototype.getState.call(this);return pe.typeName=we.typeName,pe},we.typeName="HighlightMarker",we.title="Highlight marker",we.icon='',we}(Mt),kt='',_t='',ln=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.bgColor="transparent",Le.tipPosition={x:0,y:0},Le.tipBase1Position={x:0,y:0},Le.tipBase2Position={x:0,y:0},Le.tipMoving=!1,Le.color=ze.defaultStrokeColor,Le.bgColor=ze.defaultFillColor,Le.fontFamily=ze.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setBgColor=Le.setBgColor.bind(Le),Le.getTipPoints=Le.getTipPoints.bind(Le),Le.positionTip=Le.positionTip.bind(Le),Le.setTipPoints=Le.setTipPoints.bind(Le),Le.colorPanel=new be("Text color",ze.defaultColorSet,Le.color,kt),Le.colorPanel.onColorChanged=Le.setColor,Le.bgColorPanel=new be("Fill color",ze.defaultColorSet,Le.bgColor,_t),Le.bgColorPanel.onColorChanged=Le.setBgColor,Le.fontFamilyPanel=new Yt("Font",ze.defaultFontFamilies,ze.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.tipGrip=new Ie,Le.tipGrip.visual.transform.baseVal.appendItem(gt.createTransform()),Le.controlBox.appendChild(Le.tipGrip.visual),Le}return ke(we,Be),we.prototype.ownsTarget=function(pe){return Be.prototype.ownsTarget.call(this,pe)||this.tipGrip.ownsTarget(pe)||this.tip===pe},we.prototype.createTip=function(){gt.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=gt.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},we.prototype.pointerDown=function(pe,De){this.state==="new"&&Be.prototype.pointerDown.call(this,pe,De),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(De)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Be.prototype.pointerDown.call(this,pe,De)},we.prototype.pointerUp=function(pe){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Be.prototype.pointerUp.call(this,pe);else{var De=this.state==="creating";Be.prototype.pointerUp.call(this,pe),this.setTipPoints(De),this.positionTip()}},we.prototype.manipulate=function(pe){if(this.tipMoving){var De=this.unrotatePoint(pe);this.tipPosition={x:De.x-this.manipulationStartLeft,y:De.y-this.manipulationStartTop},this.positionTip()}else Be.prototype.manipulate.call(this,pe)},we.prototype.setBgColor=function(pe){this.bgRectangle&&this.tip&&(gt.setAttributes(this.bgRectangle,[["fill",pe]]),gt.setAttributes(this.tip,[["fill",pe]])),this.bgColor=pe,this.fillColorChanged(pe)},we.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},we.prototype.setTipPoints=function(pe){pe===void 0&&(pe=!1);var De=Math.min(this.height/2,15),ze=this.height/5;pe&&(this.tipPosition={x:De+ze/2,y:this.height+20});var Le=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?Le.1)){var pe=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),De=this.tip1.transform.baseVal.getItem(0);De.setRotate(pe,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(De,0);var ze=this.tip2.transform.baseVal.getItem(0);ze.setRotate(pe+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(ze,0)}},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Be.prototype.getState.call(this);return pe.typeName=we.typeName,pe},we.prototype.restoreState=function(pe){Be.prototype.restoreState.call(this,pe),this.createTips(),this.adjustVisual()},we.typeName="MeasurementMarker",we.title="Measurement marker",we.icon='',we}(Zt),Kn=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.strokePanel.colors=ze.defaultColorSet,Le.fillColor="transparent",Le}return ke(we,Be),Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Be.prototype.getState.call(this);return pe.typeName=we.typeName,pe},we.typeName="EllipseFrameMarker",we.title="Ellipse frame marker",we.icon='',we}(Bn),yt=function(){function Be(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Be.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Be.prototype.addUndoStep=function(we){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(we)||(this.undoStack.push(we),JSON.stringify(this.lastRedoStep)!==JSON.stringify(we)&&this.redoStack.splice(0,this.redoStack.length))},Be.prototype.replaceLastUndoStep=function(we){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=we)},Be.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Be.prototype.undo=function(){if(this.undoStack.length>1){var we=this.undoStack.pop();return we!==void 0&&this.redoStack.push(we),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Be.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Be}(),Jn=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.curveX=0,Le.curveY=0,Le.manipulationStartCurveX=0,Le.manipulationStartCurveY=0,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.positionGrips=Le.positionGrips.bind(Le),Le.addControlGrips=Le.addControlGrips.bind(Le),Le.adjustVisual=Le.adjustVisual.bind(Le),Le.setupControlBox=Le.setupControlBox.bind(Le),Le.resize=Le.resize.bind(Le),Le.strokeColor=ze.defaultColor,Le.strokeWidth=ze.defaultStrokeWidth,Le.strokeDasharray=ze.defaultStrokeDasharray,Le.strokePanel=new be("Line color",ze.defaultColorSet,ze.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new ht("Line width",ze.defaultStrokeWidths,ze.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ve("Line style",ze.defaultStrokeDasharrays,ze.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return ke(we,Be),we.prototype.ownsTarget=function(pe){return!(!Be.prototype.ownsTarget.call(this,pe)&&pe!==this.visual&&pe!==this.selectorCurve&&pe!==this.visibleCurve&&!this.curveGrip.ownsTarget(pe))},we.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},we.prototype.createVisual=function(){this.visual=gt.createGroup(),this.selectorCurve=gt.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=gt.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},we.prototype.pointerDown=function(pe,De){Be.prototype.pointerDown.call(this,pe,De),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=pe.x,this.curveY=pe.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(De)&&(this.activeGrip=this.curveGrip,this._state="resize")},we.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),gt.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),gt.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),gt.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},we.prototype.setupControlBox=function(){Be.prototype.setupControlBox.call(this),this.curveControlLine1=gt.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=gt.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},we.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Be.prototype.addControlGrips.call(this)},we.prototype.positionGrips=function(){Be.prototype.positionGrips.call(this);var pe=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-pe/2,this.curveY-pe/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},we.prototype.manipulate=function(pe){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+pe.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+pe.y-this.manipulationStartY),Be.prototype.manipulate.call(this,pe)},we.prototype.resize=function(pe){this.activeGrip===this.curveGrip&&(this.curveX=pe.x,this.curveY=pe.y),Be.prototype.resize.call(this,pe),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},we.prototype.setStrokeColor=function(pe){this.strokeColor=pe,this.adjustVisual(),this.colorChanged(pe)},we.prototype.setStrokeWidth=function(pe){this.strokeWidth=pe,this.adjustVisual()},we.prototype.setStrokeDasharray=function(pe){this.strokeDasharray=pe,this.adjustVisual()},we.prototype.scale=function(pe,De){this.curveX=this.curveX*pe,this.curveY=this.curveY*De,Be.prototype.scale.call(this,pe,De)},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Be.prototype.getState.call(this));return pe.typeName=we.typeName,pe},we.prototype.restoreState=function(pe){Be.prototype.restoreState.call(this,pe);var De=pe;this.strokeColor=De.strokeColor,this.strokeWidth=De.strokeWidth,this.strokeDasharray=De.strokeDasharray,this.curveX=De.curveX,this.curveY=De.curveY,this.createVisual(),this.adjustVisual()},we.typeName="CurveMarker",we.title="Curve marker",we.icon='',we}(Ht),bn=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,De,ze)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.textColor="transparent",Le.fontSize="1rem",Le.isMoved=!1,Le.captionText="Caption",Le.PADDING=5,Le.captionBoxWidth=0,Le.captionBoxHeight=0,Le.strokeColor=ze.defaultColor,Le.strokeWidth=ze.defaultStrokeWidth,Le.strokeDasharray=ze.defaultStrokeDasharray,Le.fillColor=ze.defaultFillColor,Le.textColor=ze.defaultStrokeColor,Le.fontFamily=ze.defaultFontFamily,Le.fontSize=ze.defaultCaptionFontSize,Le.captionText=ze.defaultCaptionText,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le.sizeCaption=Le.sizeCaption.bind(Le),Le.setCaptionText=Le.setCaptionText.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.finishTextEditing=Le.finishTextEditing.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.setTextColor=Le.setTextColor.bind(Le),Le.strokePanel=new be("Line color",et(ze.defaultColorSet,["transparent"]),Le.strokeColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.fillPanel=new be("Fill color",et(ze.defaultColorSet,["transparent"]),Le.fillColor,_t),Le.fillPanel.onColorChanged=Le.setFillColor,Le.strokeWidthPanel=new ht("Line width",ze.defaultStrokeWidths,ze.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ve("Line style",ze.defaultStrokeDasharrays,ze.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le.fontFamilyPanel=new Yt("Font",ze.defaultFontFamilies,ze.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.textColorPanel=new be("Text color",ze.defaultColorSet,Le.textColor,kt),Le.textColorPanel.onColorChanged=Le.setTextColor,Le}return ke(we,Be),we.prototype.ownsTarget=function(pe){return!(!Be.prototype.ownsTarget.call(this,pe)&&pe!==this.visual&&pe!==this.frame&&pe!==this.captionBg&&pe!==this.captionElement)},we.prototype.createVisual=function(){this.visual=gt.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=gt.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=gt.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=gt.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},we.prototype.setCaptionText=function(pe){this.captionText=pe,this.captionElement.textContent=this.captionText,this.sizeCaption()},we.prototype.pointerDown=function(pe,De){Be.prototype.pointerDown.call(this,pe,De),this.isMoved=!1,this.pointerDownPoint=pe,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(pe),this._state="creating")},we.prototype.manipulate=function(pe){Be.prototype.manipulate.call(this,pe),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(pe.x-this.pointerDownPoint.x)>5||Math.abs(pe.y-this.pointerDownPoint.y)>5)},we.prototype.resize=function(pe){Be.prototype.resize.call(this,pe),this.setSize()},we.prototype.sizeCaption=function(){var pe=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=pe.width+2*this.PADDING,this.captionBoxHeight=pe.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),gt.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),gt.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},we.prototype.showTextEditor=function(){var pe=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(De){De.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(De){De.key==="Enter"&&pe.finishTextEditing(pe.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(De){De.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){pe.finishTextEditing(pe.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){pe.finishTextEditing(pe.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},we.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},we.prototype.finishTextEditing=function(pe){this.setCaptionText(pe.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},we.prototype.setFont=function(pe){this.captionElement&>.setAttributes(this.captionElement,[["font-family",pe]]),this.fontFamily=pe,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},we.prototype.setTextColor=function(pe){this.captionElement&>.setAttributes(this.captionElement,[["fill",pe]]),this.textColor=pe,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},we.prototype.setSize=function(){Be.prototype.setSize.call(this),gt.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},we.prototype.pointerUp=function(pe){Be.prototype.pointerUp.call(this,pe),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},we.prototype.dblClick=function(pe,De){Be.prototype.dblClick.call(this,pe,De),this.showTextEditor()},we.prototype.setStrokeColor=function(pe){this.strokeColor=pe,this.frame&>.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(pe),this.stateChanged()},we.prototype.setFillColor=function(pe){this.fillColor=pe,this.captionBg&>.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(pe),this.stateChanged()},we.prototype.setStrokeWidth=function(pe){this.strokeWidth=pe,this.frame&>.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},we.prototype.setStrokeDasharray=function(pe){this.strokeDasharray=pe,this.frame&>.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(we.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),we.prototype.getState=function(){var pe=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Be.prototype.getState.call(this));return pe.typeName=this.typeName,pe},we.prototype.restoreState=function(pe){var De=pe;this.fillColor=De.fillColor,this.strokeColor=De.strokeColor,this.strokeWidth=De.strokeWidth,this.strokeDasharray=De.strokeDasharray,this.textColor=De.textColor,this.fontFamily=De.fontFamily,this.captionText=De.captionText,this.fontSize=De.fontSize,this.createVisual(),Be.prototype.restoreState.call(this,pe),this.setSize()},we.prototype.scale=function(pe,De){Be.prototype.scale.call(this,pe,De),this.setSize()},we.typeName="CaptionFrameMarker",we.title="Caption frame marker",we.icon='',we}(Ke),ci=function(){function Be(we,pe){pe===void 0&&(pe=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=we,this.cancelable=pe}return Object.defineProperty(Be.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Be.prototype.preventDefault=function(){this._defaultPrevented=!0},Be}(),Tn=function(Be){function we(pe,De,ze){var Le=Be.call(this,pe,!1)||this;return Le.dataUrl=De,Le.state=ze,Le}return ke(we,Be),we}(ci),tn=function(Be){function we(pe,De,ze){ze===void 0&&(ze=!1);var Le=Be.call(this,pe,ze)||this;return Le.marker=De,Le}return ke(we,Be),we}(ci),$t=function(){function Be(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Be.prototype.addEventListener=function(we,pe){this[we].push(pe)},Be.prototype.removeEventListener=function(we,pe){var De=this[we].indexOf(pe);De>-1&&this[we].splice(De,1)},Be}(),ft=function(){function Be(we){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new qe,this._isOpen=!1,this.undoRedoManager=new yt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new $t,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Be.instanceCounter++,this.styles=new te(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=we,this.targetRoot=document.body,this.width=we.clientWidth,this.height=we.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Be.prototype,"ALL_MARKER_TYPES",{get:function(){return[Nt,Qt,Re,Ot,Kn,Bn,mn,ln,wn,Mt,Zt,Jn,bn]},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Nt,Qt,Re,Ot,Bn,mn,ln]},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Nt,Qt,Re,Ot,mn]},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(we){var pe=this;this._availableMarkerTypes.splice(0),we.forEach(function(De){if(typeof De=="string"){var ze=pe.ALL_MARKER_TYPES.find(function(Le){return Le.typeName===De});ze!==void 0&&pe._availableMarkerTypes.push(ze)}else pe._availableMarkerTypes.push(De)})},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(we){this._zoomLevel=we,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Be.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ct.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Be.prototype.show=function(){var we=this;this.styles.styleSheetRoot===void 0&&Me.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Me.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(pe){return pe(new ci(we))})},Be.prototype.render=function(){return Tt(this,void 0,void 0,function(){var we;return Lt(this,function(pe){switch(pe.label){case 0:return this.setCurrentMarker(),(we=new wt).naturalSize=this.renderAtNaturalSize,we.imageType=this.renderImageType,we.imageQuality=this.renderImageQuality,we.markersOnly=this.renderMarkersOnly,we.width=this.renderWidth,we.height=this.renderHeight,[4,we.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return pe.sent(),[4,we.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,pe.sent()]}})})},Be.prototype.close=function(we){var pe=this;if(we===void 0&&(we=!1),this.isOpen){var De=!1;we||this.eventListeners.beforeclose.forEach(function(ze){var Le=new ci(pe,!0);ze(Le),Le.defaultPrevented&&(De=!0)}),De||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(ze){return ze(new ci(pe))}),this.detachEvents(),this._isOpen=!1)}},Be.prototype.addMarkersToToolbar=function(){for(var we,pe=[],De=0;Dethis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*we:this.editorCanvas.clientWidth,De=pe',we.title="Powered by marker.js",we.style.display="grid",we.style.alignItems="center",we.style.justifyItems="center",we.style.padding="3px",we.style.width="20px",we.style.height="20px",this.logoUI.appendChild(we),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Be.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Be.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Be.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Be.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var we=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=we+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new se(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(we),1),we.dispose()},Be.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Be.prototype.toolbarButtonClicked=function(we,pe){if(we==="marker"&&pe!==void 0)this.createNewMarker(pe);else if(we==="action")switch(pe){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Be.prototype.deleteSelectedMarker=function(){var we=this;if(this._currentMarker!==void 0){var pe=!1;if(this.eventListeners.markerbeforedelete.forEach(function(ze){var Le=new tn(we,we._currentMarker,!0);ze(Le),Le.defaultPrevented&&(pe=!0)}),!pe){var De=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(ze){return ze(new tn(we,De))})}}},Be.prototype.clear=function(){var we=this,pe=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(nt){var Ut=new tn(we,void 0,!0);nt(Ut),Ut.defaultPrevented&&(pe=!0)}),!pe)){this.setCurrentMarker();for(var De=function(nt){var Ut=ze.markers[nt];ze.setCurrentMarker(ze.markers[nt]),ze._currentMarker.dispose(),ze.markerImage.removeChild(ze._currentMarker.container),ze.markers.splice(ze.markers.indexOf(ze._currentMarker),1),ze.eventListeners.markerdelete.forEach(function(En){return En(new tn(we,Ut))})},ze=this,Le=this.markers.length-1;Le>=0;Le--)De(Le);this.addUndoStep()}},Object.defineProperty(Be.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Be.prototype.showNotesEditor=function(){var we;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(we=this._currentMarker.notes)!==null&&we!==void 0?we:"",this.overlayContainer.appendChild(this.notesArea))},Be.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Be.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Be.prototype.addUndoStep=function(){var we=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var pe=this.getState(),De=this.undoRedoManager.getLastUndoStep();if(!De||De.width===pe.width&&De.height===pe.height){var ze=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(pe),ze1&&this.panTo({x:we.clientX,y:we.clientY}))},Be.prototype.onPointerUp=function(we){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(we.clientX,we.clientY)),this.isDragging=!1,this.addUndoStep()},Be.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Be.prototype.onKeyUp=function(we){this._currentMarker===void 0||this.notesArea!==void 0||we.key!=="Delete"&&we.key!=="Backspace"||this.deleteSelectedMarker()},Be.prototype.clientToLocalCoordinates=function(we,pe){var De=this.markerImage.getBoundingClientRect();return{x:(we-De.left)/this.zoomLevel,y:(pe-De.top)/this.zoomLevel}},Be.prototype.onWindowResize=function(){this.positionUI()},Be.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var we=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=we+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Be.prototype.addLicenseKey=function(we){ct.addKey(we)},Be.prototype.addEventListener=function(we,pe){this.eventListeners.addEventListener(we,pe)},Be.prototype.removeEventListener=function(we,pe){this.eventListeners.removeEventListener(we,pe)},Be.prototype.renderState=function(we){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(we),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Be.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Be.prototype.focus=function(){var we=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(pe){return pe(new ci(we))}))},Be.prototype.blur=function(){var we=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(pe){return pe(new ci(we))}))},Be.instanceCounter=0,Be}(),Je=ye(70635),Gt=ye(58130),At=(Be,we,pe)=>new Promise((De,ze)=>{var Le=En=>{try{Ut(pe.next(En))}catch(rn){ze(rn)}},nt=En=>{try{Ut(pe.throw(En))}catch(rn){ze(rn)}},Ut=En=>En.done?De(En.value):Promise.resolve(En.value).then(Le,nt);Ut((pe=pe.apply(Be,we)).next())}),Ge=({data:Be,className:we,fullWidth:pe,style:De={},onClose:ze,onOk:Le,showFullTools:nt,noAssociationId:Ut})=>{const En=(0,Se.useRef)(null),rn=(0,Se.useRef)(null),vn=(0,Se.useRef)(null),mi=(0,Se.useRef)(null),[wi,Ri]=(0,Se.useState)(!1),[Wi,Mn]=(0,Se.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Se.useEffect)(()=>{vn.current||(vn.current=document.createElement("style"),document.head.appendChild(vn.current)),Be!=null&&Be.visible?(document.body.setAttribute("data-custom","y-hidden"),vn.current.innerHTML=" html { overflow-y: hidden; }",Be!=null&&Be.src&&nr()):(document.body.removeAttribute("data-custom"),vn.current&&(document.head.removeChild(vn.current),vn.current=null))},[Be==null?void 0:Be.visible]);const nr=()=>At(void 0,null,function*(){Ri(!0),Mn("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Fr=yield(0,Gt.ZJ)(Be==null?void 0:Be.src);En.current.src="",En.current.src=Fr,En.current.onload=function(){Tr()},Ri(!1),Mn("")}),Wr=Fr=>At(void 0,null,function*(){Ri(!0),Mn("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Yr=yield(0,Je.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Be.title,file:Fr.dataUrl}});Yr!=null&&Yr.id&&!Ut?(yield(0,Je.ZP)(`/api/attachments/${Be.id}/add_subitem.json`,{method:"post",body:{subitem_id:Yr==null?void 0:Yr.id,settings:JSON.stringify(Fr.state)}})).status===0&&Le():Yr!=null&&Yr.id&&Le(Yr),Ri(!1),Mn("")}),Hr=()=>{const Fr=document.querySelector('a[href="https://markerjs.com/"]');Fr&&Fr.parentNode&&(Fr.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(Kr=>{const ar=document.querySelector(Kr.name);ar&&ar.setAttribute("title",Kr.title)})},Tr=()=>{rn.current=new ft(En.current),rn.current.targetRoot=mi.current,rn.current.addEventListener("render",Wr),rn.current.addEventListener("beforeclose",ze),nt&&(rn.current.availableMarkerTypes=rn.current.ALL_MARKER_TYPES,rn.current.uiStyleSettings.redoButtonVisible=!0,rn.current.uiStyleSettings.notesButtonVisible=!0,rn.current.uiStyleSettings.zoomButtonVisible=!0,rn.current.uiStyleSettings.zoomOutButtonVisible=!0,rn.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=rn.current.uiStyleSettings,rn.current.show(),Be!=null&&Be.snapshotData&&rn.current.restoreState(Be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Hr()},300)};return Se.createElement(Se.Fragment,null,(Be==null?void 0:Be.visible)&&Se.createElement(_e.Z,{spinning:wi,tip:Wi,style:{position:"absolute"}},Se.createElement("div",{ref:mi,className:Rt()(Oe.imageDimensions,we,pe?Oe.fullWidth:""),style:De},Se.createElement("img",{className:Oe.img,ref:En}))))}},75890:function(Rn,Fn,ye){"use strict";var Se=ye(59301),Oe=ye(95237),He=ye(43604),Rt=ye(99313),_e=ye(3113),vt=ye(25711),ke=ye(93938),Tt=ye(48136),Lt=ye(59301);const et=(0,Se.forwardRef)(({callback:gt,showSaveButton:ct,value:wt=""},Me)=>{const te=(0,Se.useRef)(),ne=[{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 "}]}]}],ce=[{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}`}]}]}],se=be=>{te.current.setValue(te.current.getValue()+" "+be.value+" ")},ge=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Lt.createElement(Oe.Z,{className:ke.Z.lists,gutter:[10,10]},ne.map((be,Fe)=>Lt.createElement(He.Z,{flex:"110px",className:ke.Z.item},Lt.createElement("div",null,Lt.createElement(vt.Z,{value:`$$${be.value}$$`}),be.name),Lt.createElement("div",{className:ke.Z.children},be.children.map((Pe,Ie)=>Lt.createElement("div",{key:Ie},Lt.createElement("h1",null,Pe.name),Lt.createElement(Oe.Z,{gutter:[10,10]},Pe.data.map((We,Ke)=>Lt.createElement(He.Z,{key:Ke,onClick:()=>se(We),className:ke.Z.diamond},Lt.createElement(vt.Z,{value:"`$$"+We.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Lt.createElement(Oe.Z,{className:ke.Z.lists,gutter:[10,10]},ce.map((be,Fe)=>Lt.createElement(He.Z,{flex:"110px",className:ke.Z.item},Lt.createElement("div",null,Lt.createElement(vt.Z,{value:"`$$"+be.value+"$$`"}),be.name),Lt.createElement("div",{className:ke.Z.children},be.children.map((Pe,Ie)=>Lt.createElement("div",{key:Ie},Pe.name&&Lt.createElement("h1",null,Pe.name),Lt.createElement(Oe.Z,{gutter:[10,10]},Pe.data.map((We,Ke)=>Lt.createElement(He.Z,{key:Ke,onClick:()=>se(We),className:ke.Z.diamond},Lt.createElement(vt.Z,{value:"`$$"+We.value+"$$`"}))))))))))}],ve=()=>{var be=document.createElement("div");be.innerHTML=te.current.getValue();var Fe=be.innerText;return gt&>(Fe),Fe};return(0,Se.useImperativeHandle)(Me,()=>({getData:ve})),Lt.createElement("div",{className:ke.Z.mathWrap},Lt.createElement(Rt.default,{defaultActiveKey:"1",items:ge}),Lt.createElement("math-field",{locale:"zh_cn",className:ke.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:te,style:{width:800,marginTop:30,fontSize:18}},wt||""),ct&&Lt.createElement("div",{className:ke.Z.button},Lt.createElement(_e.ZP,{size:"large",onClick:ve,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Fn.Z=et},97267:function(Rn,Fn,ye){"use strict";var Se=ye(59301),Oe=ye(93314),He=ye(3113),Rt=Object.defineProperty,_e=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,et=(Me,te,ne)=>te in Me?Rt(Me,te,{enumerable:!0,configurable:!0,writable:!0,value:ne}):Me[te]=ne,gt=(Me,te)=>{for(var ne in te||(te={}))Tt.call(te,ne)&&et(Me,ne,te[ne]);if(ke)for(var ne of ke(te))Lt.call(te,ne)&&et(Me,ne,te[ne]);return Me},ct=(Me,te)=>_e(Me,vt(te));const wt=({img:Me,buttonProps:te={},styles:ne={},customText:ce,ButtonText:se,ButtonClick:ge,Buttonclass:ve,ButtonTwo:be,imgStyles:Fe,loading:Pe=!1})=>Se.createElement("section",{className:"tc animated fadeIn",style:gt(gt({},{color:"#999",margin:"100px auto",visibility:Pe?"hidden":"visible"}),ne)},Se.createElement("img",{src:Me||Oe,style:ct(gt({},Fe),{pointerEvents:"none",userSelect:"none"})}),Se.createElement("p",{className:"mt20 font14"},ce||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),se&&Se.createElement(He.ZP,gt({className:ve,onClick:ge},te),se),be&&be);Fn.Z=wt},46898:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Q:function(){return vt}});var Se=ye(59301),Oe=ye(57809),He=ye(5112),Rt=ye(88897),_e=ye(59301),vt=(Tt=>(Tt[Tt.Number=1]="Number",Tt[Tt.Percent=2]="Percent",Tt))(vt||{});const ke=({value:Tt,onChange:Lt,disabled:et,hidePercentOption:gt=!1,percentType:ct="select"})=>{const wt=(0,Se.useMemo)(()=>gt?1:2,[gt]),[Me,te]=(0,Se.useState)(wt);console.log(Me);const ne=se=>Tt.type===1?`${se}\u5206`:`${se}%`,ce=(0,Se.useCallback)(se=>{if(Me===1){const ge=se.replace("\u5206","");return isNaN(parseInt(ge,10))?0:ge}else return se.replace("%","")},[Me]);return(0,Se.useEffect)(()=>{te(Tt.type)},[Tt]),_e.createElement("div",{style:{display:"flex",alignItems:"center"}},ct=="select"&&_e.createElement(Oe.default,{size:"large",onChange:se=>{te(se),Lt({type:se,inputValue:se===1?5:20})},value:Me||wt,style:{width:100},options:gt?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:et}),ct=="radio"&&_e.createElement(He.ZP.Group,{size:"large",onChange:se=>{const ge=se.target.value;te(ge),Lt({type:ge,inputValue:ge===1?5:20})},value:Me||wt,disabled:et},!gt&&_e.createElement(He.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),_e.createElement(He.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),ct=="radio"&&_e.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Tt.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),_e.createElement(Rt.Z,{size:"large",disabled:et,value:Tt.inputValue,style:{width:"120px"},parser:ce,addonAfter:Tt.type===1?"\u5206":"%",max:Me===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:se=>{Lt({type:Me,inputValue:se})}}),ct=="radio"&&Tt.type==2&&_e.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Fn.Z=ke},79646:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return ve}});var Se=ye(59301),Oe={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},He=ye(3113),Rt=ye(63093),_e=ye(48551),vt=ye(6848),ke=ye(58130),Tt=ye(79124),Lt=ye(97267),et=ye(10148),gt=ye(63486),ct=ye(59301),wt=Object.defineProperty,Me=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,ce=(be,Fe,Pe)=>Fe in be?wt(be,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):be[Fe]=Pe,se=(be,Fe)=>{for(var Pe in Fe||(Fe={}))te.call(Fe,Pe)&&ce(be,Pe,Fe[Pe]);if(Me)for(var Pe of Me(Fe))ne.call(Fe,Pe)&&ce(be,Pe,Fe[Pe]);return be},ge=(be,Fe,Pe)=>new Promise((Ie,We)=>{var Ke=Ve=>{try{ht(Pe.next(Ve))}catch(Nt){We(Nt)}},Xe=Ve=>{try{ht(Pe.throw(Ve))}catch(Nt){We(Nt)}},ht=Ve=>Ve.done?Ie(Ve.value):Promise.resolve(Ve.value).then(Ke,Xe);ht((Pe=Pe.apply(be,Fe)).next())}),ve=({editOffice:be="view",data:Fe,theme:Pe,type:Ie,filename:We,monacoEditor:Ke,className:Xe,style:ht,close:Ve,onClose:Nt,hasMask:qe,disabledDownload:Ht,onImgDimensions:Zt,showNodata:Yt,recordInfo:Ot})=>{const[Qt,dt]=(0,Se.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Re,Mt]=(0,Se.useState)(""),[Pn,mn]=(0,Se.useState)(),kt=window.ENV==="build"?"/react/build":"",_t=location.host.startsWith("localhost")?et.Z.PROXY_SERVER:et.Z.API_SERVER,Bn=10*(1024*1024),wn=(0,Se.useRef)();Fe!=null&&Fe.startsWith("/api")&&Ie!=="txt"&&(Fe=et.Z.API_SERVER+Fe);const Kn=ci=>ci.substring(ci.lastIndexOf("/")+1).split(".").pop();We&&Ke&&(Ke.filename=We),(0,Se.useEffect)(()=>{var ci,Tn;const tn=(Tn=(ci=document.cookie)==null?void 0:ci.replace(/\s/g,""))==null?void 0:Tn.split(";");tn==null||tn.map($t=>{let ft=$t.split("=");ft[0]==="_educoder_session"&&Mt(ft[1])})},[]),(0,Se.useEffect)(()=>{Ie==="office"&&(Fe.indexOf("bigfilescdn.")>-1||Fe.indexOf("bigfiles1")>-1?mn({url:Fe,fileType:Kn(Fe),model:Fe.indexOf("model=edit")?"edit":"view"}):yt())},[Ie,Fe]);const yt=()=>ge(void 0,null,function*(){console.log("data:",Fe);let ci=Fe;Fe.startsWith("http")||(ci=location.origin+ci);let Tn=new URL(ci).pathname.split("/").pop();const tn=yield(0,Tt.gJ)({attachment_id:Tn});tn.url=_t+tn.url,mn(tn)}),Jn=()=>{if(Fe.startsWith("http")||Fe.startsWith("blob:")){bn();return}(0,ke.Sv)(We||"educoder",Fe,We)},bn=()=>{Ot&&(0,gt.fc)({id:Ot==null?void 0:Ot.id,watch_type:1,course_id:Ot==null?void 0:Ot.course_id}),(0,ke.Nd)(We||"educoder",decodeURIComponent(Fe))};return ct.createElement("div",{style:se({},ht||{}),className:`${qe&&Oe.bgBlack} ${Ie?Oe.wrp:"hide"}`},Ve&&ct.createElement("div",{className:Oe.close,ref:wn},!!Zt&&ct.createElement(vt.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>wn.current},ct.createElement("span",{onClick:()=>{Nt(),Zt()}},ct.createElement("i",{className:"icon-yulanpizhu"}))),!Ht&&ct.createElement(vt.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>wn.current},ct.createElement("span",{onClick:bn},ct.createElement("i",{className:"icon-quxiaozhiding"}))),ct.createElement(vt.Z,{title:"\u5173\u95ED",getPopupContainer:()=>wn.current},ct.createElement("span",{className:"",onClick:Nt},ct.createElement("i",{className:"icon-guanbi1"})))),ct.createElement("div",{className:`${Oe[Xe]} ${Xe} ${Oe.monaco} ${Ie==="txt"?"show":"hide"}`},Ie==="txt"&&ct.createElement(ct.Fragment,null,ct.createElement(_e.ZP,se({},Ke)))),Ie==="audio"&&ct.createElement("audio",{src:`${(Fe==null?void 0:Fe.indexOf("http://"))>-1||(Fe==null?void 0:Fe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Fe}`,autoPlay:!0}),Ie==="video"&&ct.createElement(ct.Fragment,null,(Fe==null?void 0:Fe.indexOf("http"))>-1?ct.createElement("video",{controls:!0,src:`${Fe}`,autoPlay:!0}):ct.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Fe}`,autoPlay:!0})),Ie==="office"&&Pn&&ct.createElement("iframe",{src:`${kt}/office.html?key=${Pn.key}&url=${btoa(Pn.url)}&callbackUrl=${_t+(Pn.callbackUrl||"")}&fileType=${Pn.fileType}&title=${Pn.title||""}&model=${be}&officeServer=${et.Z.ONLYOFFICE}&disabledDownload=${!!Ht}`}),Ie==="html"&&ct.createElement("iframe",{src:Fe+"&disposition=inline"}),Ie==="pdf"&&ct.createElement("iframe",{src:`${kt}/js/pdfview/index.html?filename=${We||"educoder.pdf"}&url=${encodeURIComponent(Fe)}&disabledDownload=${!!Ht}`}),Ie==="image"&&ct.createElement("img",{src:`${(Fe==null?void 0:Fe.indexOf("http://"))>-1||(Fe==null?void 0:Fe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Fe}`}),(Ie==="other"||Ie==="download")&&ct.createElement(ct.Fragment,null,Yt?ct.createElement(Lt.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ct.createElement(He.ZP,{icon:ct.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Jn,disabled:Ht},"\u4E0B\u8F7D")}):ct.createElement(He.ZP,{type:"primary",size:"middle",onClick:Jn,disabled:Ht},ct.createElement(Rt.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},25711:function(Rn,Fn,ye){"use strict";ye.d(Fn,{z:function(){return Ie},Z:function(){return We}});var Se=ye(59301),Oe=ye(1751),He=ye(31087),Rt=ye(64018),_e=ye(37312),vt=ye(10148),ke=ye(58130),Tt=ye(15342),Lt=ye(1012),et=ye(79646),gt=ye(59301),wt=({html:Ke})=>{const Xe=(0,Se.useRef)(null),ht=(0,Se.useRef)(null),Ve=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 36px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,Se.useEffect)(()=>{const Nt=Xe.current.attachShadow({mode:"open"});ht.current=document.createElement("div"),ht.current.className="markdown-body",ht.current.innerHTML=Ke,Nt.appendChild(ht.current);const qe=document.createElement("style");return qe.textContent=Ve,Nt.appendChild(qe),()=>{Nt.innerHTML=""}},[]),(0,Se.useEffect)(()=>{ht.current&&(ht.current.innerHTML=Ke)},[Ke]),gt.createElement("div",{ref:Xe})},Me=Object.defineProperty,te=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,se=(Ke,Xe,ht)=>Xe in Ke?Me(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Ke[Xe]=ht,ge=(Ke,Xe)=>{for(var ht in Xe||(Xe={}))ne.call(Xe,ht)&&se(Ke,ht,Xe[ht]);if(te)for(var ht of te(Xe))ce.call(Xe,ht)&&se(Ke,ht,Xe[ht]);return Ke};const ve="@\u2581\u2581@",be="@\u2581@",Fe=/]*>/g;function Pe(Ke){let Xe=document.createElement("div");return Xe.innerHTML=Ke,Xe.childNodes.length===0?"":Xe.childNodes[0].nodeValue}const Ie=(Ke,Xe)=>{Ke=Ke||"";const ht=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ve=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Nt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,qe=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Xe?Ke.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ht,(Ht,Zt,Yt,Ot,Qt,dt,Re)=>{const Mt=Zt||Ot||dt,Pn=Yt||Qt||Re||"?";return vt.Z.API_SERVER+"/api/attachments/"+Mt+Pn+"&t="+(0,ke.Jn)(Mt,Date.now())+(Ht.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Ke=Ke.replace(qe,(Ht,Zt,Yt,Ot,Qt,dt,Re)=>{const Mt=Zt||Ot||dt,Pn=Yt||Qt||Re||"?";return vt.Z.API_SERVER+"/attachments/download/"+Mt+Pn+"&t="+(0,ke.Jn)(Mt,Date.now())+(Ht.indexOf(")")>-1?")":"&")}).replace(ht,(Ht,Zt,Yt,Ot,Qt,dt,Re)=>{const Mt=Zt||Ot||dt,Pn=Yt||Qt||Re||"?";return vt.Z.API_SERVER+"/api/attachments/"+Mt+Pn+"&t="+(0,ke.Jn)(Mt,Date.now())+(Ht.indexOf(")")>-1?")":"&")}).replace(Ve,(Ht,Zt,Yt,Ot,Qt)=>{const dt=Zt||Ot,Re=Yt||Qt||"";return'"'+vt.Z.API_SERVER+"/api/attachments/"+dt+Re+dt+Re+"&t="+(0,ke.Jn)(dt,Date.now())}).replace(Nt,(Ht,Zt,Yt,Ot,Qt)=>{const dt=Zt||Ot,Re=Yt||Qt||"";return"("+vt.Z.API_SERVER+"/files/uploads/"+dt+Re+dt+Re+"&t="+(0,ke.Jn)(dt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),Ke)};var We=({value:Ke="",className:Xe,showTextOnly:ht,showLines:Ve,style:Nt={},stylesPrev:qe={},highlightKeywords:Ht,showProgramFill:Zt,isProgramFill:Yt,disabledFill:Ot=!1,programFillValue:Qt,onFillChange:dt=Pn=>{},onFillBlur:Re=()=>{},onFillFocus:Mt=()=>{}})=>{let Pn=String(Ke);const[mn,kt]=(0,Se.useState)(""),[_t,ln]=(0,Se.useState)("office"),[Bn,wn]=(0,Se.useState)([]),Kn=(0,Se.useRef)("a"+(0,Lt.Z)()),yt={},Jn=(Be,we,pe)=>{const De=document.createElement(Be===be?"input":"textarea");De.style.width="100%",De.style.height=Be===be?"40px":"151px",De.rows=5,De.spellcheck=!1,De.name="edu-program-fill",De.placeholder="\u8BF7\u8F93\u5165",De.dataset.id=we;const ze=Object.keys(yt).length;return yt[ze]=De,`${De.outerHTML}`};function bn(Be){return Be=Be.replace(/!\[.*?\]\(.*?\)/g,""),Be=Be.replace(/\[.*?\]\(.*?\)/g,""),Be=Be.replace(new RegExp("","gs"),""),Be=Be.replace(//g,""),Be=Be.replace(//g,""),Be=Be.replace(new RegExp(".*?<\\/video>","gs"),""),Be=Be.replace(new RegExp(".*?<\\/audio>","gs"),""),Be=Be.replace(new RegExp(".*?<\\/style>","gs"),""),Be=Be.replace(new RegExp(".*?<\\/script>","gs"),""),Be}const ci=Be=>Be.replace(/([\s\S]+?)<\/style>/gim,function(we,pe){let De=pe.replace(/(\n|\r)/g,"").split("}"),ze=[];return De.map(Le=>{Le!=""&&ze.push(`.${Kn.current} ${Le}`)}),``}),Tn=(0,Se.useMemo)(()=>{try{const De=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,ze=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Le=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,nt=/\(\/attachments\/download\//g;Pn=Pn.replace(nt,"("+vt.Z.API_SERVER+"/attachments/download/").replace(De,"("+vt.Z.API_SERVER+"/api/attachments/").replace(ze,'"'+vt.Z.API_SERVER+"/api/attachments/").replace(Le,'"'+vt.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `)}catch(De){}if(Zt){let De=-1;return Pn=Pn.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(ze,Le,nt){var Ut;return++De,Jn(ze,De,(Ut=Qt==null?void 0:Qt[De])==null?void 0:Ut.value.replaceAll("<","<").replaceAll(">",">"))}),`
${ci(Pn||"")}
`}let Be=ci(Pn);Be=(0,He.ZP)(Be);const we=(0,He.ez)();Pn.match(/\[TOC\]/)&&(Be=Be.replace("

[TOC]

",(0,He.Qv)()),(0,He.Iy)()),Be=Be.replace(/(__special_katext_id_\d+__)/g,(De,ze)=>{const{type:Le,expression:nt}=we[ze];return(0,Tt.renderToString)(Pe(nt)||"",{displayMode:Le==="block",throwOnError:!1,output:"html"})}),Be=Be.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,He.AL)();const pe=document.createElement("div");if(pe.innerHTML=Be,ht)return pe.innerText;if(Ht){const De=Ht.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je(pe,De),pe.innerHTML}return setTimeout(()=>lt(),500),pe.innerHTML},[Pn,Ht]);(0,Se.useEffect)(()=>{Gt.current&&Gt.current.querySelectorAll(["input","textarea"]).forEach(we=>{we.oninput=tn,we.onblur=$t,we.onfocus=ft})},[Bn]),(0,Se.useEffect)(()=>{var Be,we,pe,De,ze;if(Qt!=null&&Qt.length)try{const Le=Gt.current.querySelectorAll(".edu-program-fill-score"),nt=Gt.current.querySelectorAll('[name="edu-program-fill"]');for(const[Ut,En]of nt.entries())En.value=((Be=Qt==null?void 0:Qt[Ut])==null?void 0:Be.value)||"",((we=Qt==null?void 0:Qt[Ut])==null?void 0:we.type)==="warning"?En.className="program-fill-warning":((pe=Qt==null?void 0:Qt[Ut])==null?void 0:pe.type)==="success"?En.className="program-fill-success":En.className="";for(const[Ut,En]of Le.entries())En.innerHTML=(De=Qt==null?void 0:Qt[Ut])!=null&&De.score?`${(ze=Qt==null?void 0:Qt[Ut])==null?void 0:ze.score}\u5206`:"";wn(Qt)}catch(Le){console.log(Le,"error")}},[Qt]);const tn=Be=>{Bn[Be.target.dataset.id]=Bn[Be.target.dataset.id]||{},Bn[Be.target.dataset.id].value=Be.target.value,wn([...Bn]),dt(Bn,Be.target.dataset.id)},$t=Be=>{Bn[Be.target.dataset.id]=Bn[Be.target.dataset.id]||{},Bn[Be.target.dataset.id].value=Be.target.value,wn([...Bn]),Re(Bn,Be.target.dataset.id)},ft=Be=>{Bn[Be.target.dataset.id]=Bn[Be.target.dataset.id]||{},Bn[Be.target.dataset.id].value=Be.target.value,wn([...Bn]),Mt(Bn,Be.target.dataset.id)};function Je(Be,we){return Be.childNodes.forEach(pe=>{var De;if(pe.childNodes.length>0)Je(pe,we);else if(pe.nodeName!=="IMG")if(pe.innerHTML)pe.innerHTML=(De=pe.innerHTML)==null?void 0:De.replace(new RegExp(we,"gi"),'$&');else{const ze=document.createElement("span");ze.innerHTML=pe.textContent.replace(new RegExp(we,"gi"),'$&'),pe.replaceWith(ze)}})}const Gt=(0,Se.useRef)();He.jb.WebkitLineClamp=Ve,Ve&&(Nt=ge(ge({},Nt),He.jb));function At(Be){let we=Be.target;if(we.tagName.toUpperCase()==="A"){let pe=we.getAttribute("href");if(pe.indexOf("office")>-1)Be.preventDefault(),kt(pe),ln("office");else if(pe.indexOf("application/pdf")>-1)Be.preventDefault(),kt(pe),ln("pdf");else if(pe.indexOf("text/html")>-1)Be.preventDefault(),kt(pe),ln("html");else if(pe.startsWith("#")){Be.preventDefault();let De=document.getElementById(pe.replace("#",""));De&&De.scrollIntoView(!0)}}}const lt=()=>{var Be;const we=(Be=Gt.current)==null?void 0:Be.querySelectorAll("video");we==null||we.forEach(pe=>{if(pe.oncontextmenu=()=>!1,pe.src.indexOf(".m3u8")>-1&&!pe.canPlayType("application/vnd.apple.mpegurl")){if(_e.ZP.isSupported()){var De=new _e.ZP;De.loadSource(pe.src),De.attachMedia(pe)}}})};(0,Se.useEffect)(()=>{if(Gt.current&&Tn&&Tn.match(Fe)&&window.PR.prettyPrint(),Gt.current)return Gt.current.addEventListener("click",At),()=>{var Be;(Be=Gt.current)==null||Be.removeEventListener("click",At),(0,He.AL)(),(0,He.Iy)()}},[Tn,Gt.current,At]),(0,Se.useEffect)(()=>{var Be;const we=pe=>{pe.preventDefault(),pe.clipboardData.setData("text",window.getSelection().toString())};return(Be=Gt.current)==null||Be.addEventListener("copy",we),()=>{var pe;(pe=Gt.current)==null||pe.removeEventListener("copy",we)}},[Gt.current]);const Ge=Be=>//i.test(Be||"");return Se.createElement(Se.Fragment,null,ht&&Se.createElement("div",{ref:Gt},Tn),!ht&&!Ge(Tn)&&Se.createElement("div",{ref:Gt,style:ge({},Nt),className:`${Xe||""} ${Ot?"disabled-fill":""} markdown-body ${Kn.current}`,dangerouslySetInnerHTML:{__html:Tn}}),!ht&&Ge(Tn)&&Se.createElement(wt,{html:Tn}),Se.createElement(et.Z,{close:!0,data:mn,type:mn!=null&&mn.length?_t:"",style:ge({},qe),onClose:()=>kt("")}))}},83476:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(59301),Oe={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},He=ye(43418),Rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",vt=(Lt,et,gt)=>new Promise((ct,wt)=>{var Me=ce=>{try{ne(gt.next(ce))}catch(se){wt(se)}},te=ce=>{try{ne(gt.throw(ce))}catch(se){wt(se)}},ne=ce=>ce.done?ct(ce.value):Promise.resolve(ce.value).then(Me,te);ne((gt=gt.apply(Lt,et)).next())}),Tt=({type:Lt,resdata:et,onok:gt,oktext:ct,okloading:wt})=>{const[Me,te]=(0,Se.useState)(!1),{can_copy_list:ne,can_copy_num:ce,challenge_type:se,course_data_list:ge,no_copy_list:ve,no_copy_num:be,no_use_list:Fe,no_use_num:Pe,repeat_shixun_num:Ie,student_count:We,total_num:Ke,use_num:Xe}=et;let ht=ce>0||Lt==="exercise";(0,Se.useEffect)(()=>{(et==null?void 0:et.student_count)>0&&te(!0)},[et]),console.log("---11",wt),(0,Se.useEffect)(()=>{wt||te(!1)},[wt]);const Ve=()=>{if(Lt==="exercise"&&se===1)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},We),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.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(Lt==="exercise"&&se===2)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},We),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Xe),"\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",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Lt==="shixun"&&se===1)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},We),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Lt==="shixun"&&se===2)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},We),"\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",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Lt==="subject"&&se===1)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},We),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Lt==="subject"&&se===2)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",Se.createElement("span",{className:Oe.orangeColor},We)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",Se.createElement("span",{className:Oe.orangeColor},Xe)," \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",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Lt==="exercisepush")return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},We),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",Se.createElement("span",{className:Oe.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(Lt==="shixunpush"&&se===1)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},We),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Lt==="shixunpush"&&se===2)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},We),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",Se.createElement("span",{className:Oe.orangeColor},Xe),"\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",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Nt=()=>{if(Lt==="exercise"||Lt==="subject"||Lt==="exercisepush"||Lt==="shixunpush")return Se.createElement("div",{style:{marginTop:20}},be>0&&Se.createElement("div",null,Se.createElement("span",{className:Oe.flex},Se.createElement("img",{src:_e,style:{width:14}}),Se.createElement("span",{className:Oe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),Se.createElement("div",{className:Oe.statusbody},Lt==="exercise"&&Se.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.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"),(Lt==="subject"||Lt==="exercisepush")&&Se.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ht&&Se.createElement("span",{className:Oe.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"),Lt==="shixunpush"&&Se.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ht&&Se.createElement("span",{className:Oe.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"),Se.createElement("div",null,ve==null?void 0:ve.map((qe,Ht)=>Se.createElement("a",{href:`/shixuns/${qe.identifier}/challenges`,target:"_blank"},"\u300A",qe==null?void 0:qe.name,"\u300B",Ht+1!==be&&"\u3001"))))),ce>0&&Se.createElement("div",{style:{marginTop:20}},Se.createElement("span",{className:Oe.flex},Se.createElement("img",{src:Rt,style:{width:14}}),Se.createElement("span",{className:Oe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),Se.createElement("div",{className:Oe.statusbody},Lt==="exercise"&&Se.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"),(Lt==="subject"||Lt==="exercisepush")&&Se.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"),Lt==="shixunpush"&&Se.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"),Se.createElement("div",null,ne==null?void 0:ne.map((qe,Ht)=>Se.createElement("a",{href:`/shixuns/${qe.identifier}/challenges`,target:"_blank"},"\u300A",qe==null?void 0:qe.name,"\u300B",Ht+1!==ce&&"\u3001"))))));if(Lt==="shixun")return Se.createElement("div",{style:{marginTop:20}},ce>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 Se.createElement(He.default,{open:Me,onCancel:()=>{te(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ht&&"none"}},zIndex:1003,confirmLoading:wt,okText:ht?ct:"\u6211\u77E5\u9053\u4E86",onOk:()=>vt(void 0,null,function*(){ht?yield gt([...ne,...Fe]):te(!1)})},Se.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ve(),Nt()))}},36866:function(Rn,Fn,ye){"use strict";ye.d(Fn,{h:function(){return be},Z:function(){return ve}});var Se=ye(59301),Oe=ye(57809),He=ye(78241),Rt=ye(3113),_e=ye(89780),vt=ye.n(_e),ke=ye(79906),Tt=Object.defineProperty,Lt=Object.defineProperties,et=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,Me=(Fe,Pe,Ie)=>Pe in Fe?Tt(Fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Fe[Pe]=Ie,te=(Fe,Pe)=>{for(var Ie in Pe||(Pe={}))ct.call(Pe,Ie)&&Me(Fe,Ie,Pe[Ie]);if(gt)for(var Ie of gt(Pe))wt.call(Pe,Ie)&&Me(Fe,Ie,Pe[Ie]);return Fe},ne=(Fe,Pe)=>Lt(Fe,et(Pe));const ce=Oe.default.Option,se={labelCol:{span:4},wrapperCol:{span:20}},ge={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"]};var ve=({callback:Fe,onCancel:Pe})=>{const[Ie,We]=(0,Se.useState)("python");function Ke(ht){We(ge[ht][1])}function Xe(ht){Fe(ht)}return Se.createElement(He.default,ne(te({},se),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Xe,style:{width:500}}),Se.createElement(He.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Se.createElement(Oe.default,{getPopupContainer:ht=>ht.parentNode,onChange:Ke},Object.keys(ge).map(ht=>Se.createElement(ce,{key:ht,value:ht},ge[ht][0])))),Se.createElement(He.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Se.createElement(be,{mode:Ie})),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(Rt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(Rt.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))};function be({value:Fe,onChange:Pe,mode:Ie,options:We={}}){const Ke=(0,Se.useRef)(),[Xe,ht]=(0,Se.useState)();return(0,Se.useEffect)(()=>{if(Xe){let Ve=function(Nt){const qe=Nt.getValue();Pe&&Pe(qe)};return Xe.on("change",Ve),()=>{Xe.off("change",Ve)}}},[Xe,Pe]),(0,Se.useEffect)(()=>{Xe&&Xe.setOption("mode",Ie)},[Xe,Ie]),(0,Se.useEffect)(()=>{Xe&&(Fe!==Xe.getValue()||Fe==="")&&setTimeout(()=>{Xe.setValue(Fe||"")},300)},[Xe,Fe]),(0,Se.useEffect)(()=>{if(Ke.current&&!Xe){const Ve=vt().fromTextArea(Ke.current,te({mode:Ie,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},We));ht(Ve)}},[Ke.current,Xe]),Se.createElement("div",{className:"my-codemirror-container"},Se.createElement("textarea",{ref:Ke}))}},23469:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return on}});var Se=ye(59301),Oe=ye(89780),He=ye.n(Oe),Rt=ye(76374),_e=ye(79906),vt=ye(6313),ke=ye(25717),Tt=ye(99498),Lt=ye(25419),et=ye(67549),gt=ye(25711),ct=({value:mt="",className:Pt,showTextOnly:bt,showLines:tt,style:qt={}})=>{const dn=(0,Se.useMemo)(()=>"",[mt]);return Se.createElement(Se.Fragment,null,Se.createElement("div",{dangerouslySetInnerHTML:{__html:dn}}))},wt=ye(59301),Me=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ve=(mt,Pt,bt)=>Pt in mt?Me(mt,Pt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):mt[Pt]=bt,be=(mt,Pt)=>{for(var bt in Pt||(Pt={}))se.call(Pt,bt)&&ve(mt,bt,Pt[bt]);if(ce)for(var bt of ce(Pt))ge.call(Pt,bt)&&ve(mt,bt,Pt[bt]);return mt},Fe=(mt,Pt)=>te(mt,ne(Pt));let Pe=[{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 Ie({onActionCallback:mt,title:Pt,icon:bt,actionName:tt,className:qt="",children:dn}){function xt(){mt(tt)}return wt.createElement("a",{title:Pt,className:qt,onClick:xt},wt.createElement("i",{className:`${bt}`}),dn)}var We=({watch:mt,showNullButton:Pt,showNullProgramButton:bt,onActionCallback:tt,fullScreen:qt,insertTemp:dn,hidetoolBar:xt,extraUse:Ye})=>{const an=[...Pe,{title:`${mt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${mt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return wt.createElement("ul",{className:"markdown-toolbar-container"},!xt&&an.map((Bt,jn)=>wt.createElement("li",{key:jn},Bt.actionName?wt.createElement(Ie,Fe(be({},Bt),{onActionCallback:tt})):wt.createElement("span",{className:"v-line"}))),Pt?wt.createElement("li",null,wt.createElement(Ie,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:tt},wt.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,bt?wt.createElement(wt.Fragment,null,wt.createElement("li",null,wt.createElement(Ie,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:tt},wt.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),wt.createElement("li",null,wt.createElement(Ie,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:tt},wt.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,dn&&wt.createElement("li",null,wt.createElement(Ie,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${dn}`,onActionCallback:tt},wt.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ye&&wt.createElement("li",null,Ye),wt.createElement("li",{className:"btn-full-screen"},wt.createElement(Ie,{icon:`${qt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:qt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:tt})))},Ke=ye(50474),Xe=ye(78241),ht=ye(92832),Ve=ye(3113),Nt=Object.defineProperty,qe=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,Qt=(mt,Pt,bt)=>Pt in mt?Nt(mt,Pt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):mt[Pt]=bt,dt=(mt,Pt)=>{for(var bt in Pt||(Pt={}))Yt.call(Pt,bt)&&Qt(mt,bt,Pt[bt]);if(Zt)for(var bt of Zt(Pt))Ot.call(Pt,bt)&&Qt(mt,bt,Pt[bt]);return mt},Re=(mt,Pt)=>qe(mt,Ht(Pt));const Mt={labelCol:{span:4},wrapperCol:{span:20}};var Pn=({callback:mt,onCancel:Pt})=>{function bt(tt){mt(tt)}return Se.createElement(Xe.default,Re(dt({},Mt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:bt,style:{width:500}}),Se.createElement(Xe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Se.createElement(ht.default,null)),Se.createElement(Xe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Se.createElement(ht.default,null)),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(Ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(Ve.ZP,{type:"ghost",onClick:Pt},"\u53D6\u6D88")))},mn=ye(36866),kt=ye(56701),_t=ye(43418),ln=ye(95237),Bn=ye(65983),wn=ye(59301),Kn=({callback:mt,onCancel:Pt})=>{const bt=document.createElement("canvas"),tt=bt.getContext("2d");bt.width=1e3,bt.height=800,tt.fillStyle="#ffffff",tt.fillRect(0,0,bt.width,bt.height);const qt=bt.toDataURL("image/png");return wn.createElement(_t.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},wn.createElement(ln.Z,{style:{height:"100vh"}},wn.createElement(Bn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:qt,visible:!0,title:String(Date.now())},onOk:dn=>{mt({src:dn.url})},onClose:Pt})))},yt=ye(12378);function Jn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Jn,go.CommandHandler),Jn.prototype.canAlignSelection=function(){var mt=this.diagram;return!(mt===null||mt.isReadOnly||mt.isModelReadOnly||mt.selection.count<2)},Jn.prototype.alignLeft=function(){var mt=this.diagram;mt.startTransaction("aligning left");var Pt=1/0;mt.selection.each(function(bt){bt instanceof go.Link||(Pt=Math.min(bt.position.x,Pt))}),mt.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(Pt,bt.position.y))}),mt.commitTransaction("aligning left")},Jn.prototype.alignRight=function(){var mt=this.diagram;mt.startTransaction("aligning right");var Pt=-1/0;mt.selection.each(function(bt){if(!(bt instanceof go.Link)){var tt=bt.actualBounds.x+bt.actualBounds.width;Pt=Math.max(tt,Pt)}}),mt.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(Pt-bt.actualBounds.width,bt.position.y))}),mt.commitTransaction("aligning right")},Jn.prototype.alignTop=function(){var mt=this.diagram;mt.startTransaction("alignTop");var Pt=1/0;mt.selection.each(function(bt){bt instanceof go.Link||(Pt=Math.min(bt.position.y,Pt))}),mt.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(bt.position.x,Pt))}),mt.commitTransaction("alignTop")},Jn.prototype.alignBottom=function(){var mt=this.diagram;mt.startTransaction("aligning bottom");var Pt=-1/0;mt.selection.each(function(bt){if(!(bt instanceof go.Link)){var tt=bt.actualBounds.y+bt.actualBounds.height;Pt=Math.max(tt,Pt)}}),mt.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(bt.actualBounds.x,Pt-bt.actualBounds.height))}),mt.commitTransaction("aligning bottom")},Jn.prototype.alignCenterX=function(){var mt=this.diagram,Pt=mt.selection.first();if(Pt){mt.startTransaction("aligning Center X");var bt=Pt.actualBounds.x+Pt.actualBounds.width/2;mt.selection.each(function(tt){tt instanceof go.Link||tt.move(new go.Point(bt-tt.actualBounds.width/2,tt.actualBounds.y))}),mt.commitTransaction("aligning Center X")}},Jn.prototype.alignCenterY=function(){var mt=this.diagram,Pt=mt.selection.first();if(Pt){mt.startTransaction("aligning Center Y");var bt=Pt.actualBounds.y+Pt.actualBounds.height/2;mt.selection.each(function(tt){tt instanceof go.Link||tt.move(new go.Point(tt.actualBounds.x,bt-tt.actualBounds.height/2))}),mt.commitTransaction("aligning Center Y")}},Jn.prototype.alignColumn=function(mt){var Pt=this.diagram;Pt.startTransaction("align Column"),mt===void 0&&(mt=0),mt=parseFloat(mt);var bt=new Array;Pt.selection.each(function(Ye){Ye instanceof go.Link||bt.push(Ye)});for(var tt=0;tt0){for(var Ye=dn.elt(xt-1);Ye!==null&&Ye.isTreeExpanded&&!Ye.isTreeLeaf;){var an=this._sortTreeChildrenByY(Ye);Ye=an.last()}Ye!==null&&mt.select(Ye)}else mt.select(qt)}}else if(bt.key==="Down")if(Pt.isTreeExpanded&&!Pt.isTreeLeaf){var tt=this._sortTreeChildrenByY(Pt).first();tt!==null&&mt.select(tt)}else for(;Pt!==null;){var qt=Pt.findTreeParentNode();if(qt===null)break;var dn=this._sortTreeChildrenByY(qt),xt=dn.indexOf(Pt);if(xtdn.y?1:qt.xdn.x?1:0}),Pt},Jn.prototype.copyToClipboard=function(mt){go.CommandHandler.prototype.copyToClipboard.call(this,mt),this._lastPasteOffset.set(this.pasteOffset)},Jn.prototype.pasteFromClipboard=function(){var mt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(mt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),mt},Object.defineProperty(Jn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(mt){if(mt!=="move"&&mt!=="select"&&mt!=="scroll"&&mt!=="tree"&&mt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+mt);this._arrowKeyBehavior=mt}}),Object.defineProperty(Jn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(mt){if(!(mt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+mt);this._pasteOffset.set(mt)}});var bn=Jn,ci=ye(37404),Tn=ye(43604),tn=ye(70635),$t={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ft=ye(59301),Je=(mt,Pt,bt)=>new Promise((tt,qt)=>{var dn=an=>{try{Ye(bt.next(an))}catch(Bt){qt(Bt)}},xt=an=>{try{Ye(bt.throw(an))}catch(Bt){qt(Bt)}},Ye=an=>an.done?tt(an.value):Promise.resolve(an.value).then(dn,xt);Ye((bt=bt.apply(mt,Pt)).next())});function Gt({onCancel:mt,callback:Pt}){let bt=(0,Se.useRef)(),tt=(0,Se.useRef)(),qt=(0,Se.useRef)(),dn=(0,Se.useRef)(!1);const xt=(0,Se.useRef)(!1),[Ye,an]=(0,Se.useState)(0);function Bt(){const cn=yt.bx.make,Et={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 yt.S0(tt.current,{padding:20,grid:cn(yt.s_,"Grid",cn(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),cn(yt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Xt=>{var Li=Xt.diagram.commandHandler.addTopLevelParts(Xt.diagram.selection,!0);Li||Xt.diagram.currentTool.doCancel()},commandHandler:cn(bn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Xt=>{var Li=Xt.subject;Li.location=Li.location.copy().snapToGridPoint(Xt.diagram.grid.gridOrigin,Xt.diagram.grid.gridCellSize),setTimeout(()=>{Xt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Xt=>{var Li=Xt.subject;setTimeout(()=>{Xt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Xt=>{var Li=Xt.parameter.part;Li.invalidateConnectedLinks();var rr=Xt.subject;Xt.diagram.toolManager.linkingTool.isForwards?rr.toNode.invalidateConnectedLinks():rr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),bt.current.nodeTemplate=cn(yt.NB,"Auto",{locationSpot:yt.z6.Center,locationObjectName:"SHAPE",desiredSize:new yt.$u(120,60),minSize:new yt.$u(40,40),resizable:!0,resizeCellSize:new yt.$u(10,10),rotatable:!0},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),new yt.KX("desiredSize","size",yt.$u.parse).makeTwoWay(yt.$u.stringify),cn(yt.bn,{name:"SHAPE",fill:Et.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("figure"),new yt.KX("fill"),new yt.KX("stroke","borderColor"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),cn(yt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),cn(yt.al,{margin:1,textAlign:"center",overflow:yt.al.OverflowEllipsis,editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),bt.current.nodeTemplate.toolTip=cn("ToolTip",cn(yt.s_,"Vertical",{maxSize:new yt.$u(200,NaN)},cn(yt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new yt.KX("text")),cn(yt.al,{font:"10pt sans-serif",textAlign:"center"},new yt.KX("text","details"))));function xn(Xt,Li){var rr=(Hi,Er)=>{Hi.handled=!0,Hi.diagram.model.commit(dr=>{var Nr=Er.part.adornedPart,Ti=new yt.E9().setRectSpot(Nr.actualBounds,Xt);Ti.subtract(Nr.location),Ti.scale(2,2),Ti.x+=Math.sign(Ti.x)*130,Ti.y+=Math.sign(Ti.y)*130,Ti.add(Nr.location),Ti.snapToGridPoint(Hi.diagram.grid.gridOrigin,Hi.diagram.grid.gridCellSize);var Qi=dr.copyNodeData(Nr.data);dr.setGroupKeyForNodeData(Qi,dr.getGroupKeyForNodeData(Nr.data)),dr.addNodeData(Qi);var er={from:Nr.key,to:dr.getKeyForNodeData(Qi)};dr.addLinkData(er);var kn=Hi.diagram.findNodeForData(Qi);kn.location=Ti,Hi.diagram.select(kn),setTimeout(()=>{Hi.diagram.commandHandler.editTextBlock()},20)})};return cn(yt.bn,{figure:Li,alignment:Xt,alignmentFocus:Xt.opposite(),width:Xt.equals(yt.z6.Top)||Xt.equals(yt.z6.Bottom)?25:18,height:Xt.equals(yt.z6.Top)||Xt.equals(yt.z6.Bottom)?18:25,fill:"orange",stroke:Et.white,strokeWidth:4,mouseEnter:(Hi,Er)=>Er.fill="dodgerblue",mouseLeave:(Hi,Er)=>Er.fill="orange",isActionable:!0,click:rr,contextClick:rr})}function Qn(Xt){return cn(yt.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:(Li,rr)=>rr.fill="dodgerblue",mouseLeave:(Li,rr)=>rr.fill="orange",click:(Li,rr)=>{Li.diagram.commandHandler.showContextMenu(rr.part.adornedPart)}},Xt||{})}bt.current.nodeTemplate.selectionAdornmentTemplate=cn(yt.uz,"Spot",cn(yt.Vm,{padding:10}),xn(yt.z6.Top,"TriangleUp"),xn(yt.z6.Left,"TriangleLeft"),xn(yt.z6.Right,"TriangleRight"),xn(yt.z6.Bottom,"TriangleDown"),Qn({alignment:new yt.z6(.75,0)}));function Un(Xt,Li){return(rr,Hi)=>{rr.handled=!0,rr.diagram.model.commit(Er=>{Er.set(Hi.part.adornedPart.data,Xt,Li)})}}function zt(Xt,Li){return Li||(Li="color"),cn(yt.bn,{width:16,height:16,stroke:"lightgray",fill:Xt,margin:1,background:"transparent",mouseEnter:(rr,Hi)=>Hi.stroke="dodgerblue",mouseLeave:(rr,Hi)=>Hi.stroke="lightgray",click:Un(Li,Xt),contextClick:Un(Li,Xt)})}function Sn(){return[cn("ContextMenuButton",cn(yt.s_,"Horizontal",zt(Et.white,"fill"),zt(Et.beige,"fill"),zt(Et.extralightblue,"fill"),zt(Et.extralightred,"fill"))),cn("ContextMenuButton",cn(yt.s_,"Horizontal",zt(Et.lightgray,"fill"),zt(Et.lightgreen,"fill"),zt(Et.lightblue,"fill"),zt(Et.lightred,"fill")))]}function Ci(){return[cn("ContextMenuButton",cn(yt.s_,"Horizontal",zt(Et.black),zt(Et.green),zt(Et.blue),zt(Et.red))),cn("ContextMenuButton",cn(yt.s_,"Horizontal",zt(Et.white),zt(Et.magenta),zt(Et.purple),zt(Et.orange)))]}function Si(Xt,Li){return Li||(Li="thickness"),cn(yt.bn,"LineH",{width:16,height:16,strokeWidth:Xt,margin:1,background:"transparent",mouseEnter:(rr,Hi)=>Hi.background="dodgerblue",mouseLeave:(rr,Hi)=>Hi.background="transparent",click:Un(Li,Xt),contextClick:Un(Li,Xt)})}function vi(Xt,Li){return Li||(Li="dash"),cn(yt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Xt,margin:1,background:"transparent",mouseEnter:(rr,Hi)=>Hi.background="dodgerblue",mouseLeave:(rr,Hi)=>Hi.background="transparent",click:Un(Li,Xt),contextClick:Un(Li,Xt)})}function ti(){return[cn("ContextMenuButton",cn(yt.s_,"Horizontal",Si(1),Si(2),Si(3),Si(4))),cn("ContextMenuButton",cn(yt.s_,"Horizontal",vi(null),vi([2,4]),vi([4,4])))]}function xi(Xt,Li){return Li||(Li="figure"),cn(yt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Xt,margin:1,background:"transparent",mouseEnter:(rr,Hi)=>Hi.fill="dodgerblue",mouseLeave:(rr,Hi)=>Hi.fill="lightgray",click:Un(Li,Xt),contextClick:Un(Li,Xt)})}bt.current.nodeTemplate.contextMenu=cn("ContextMenu",cn("ContextMenuButton",cn(yt.s_,"Horizontal",xi("Rectangle"),xi("RoundedRectangle"),xi("Ellipse"),xi("Diamond"))),cn("ContextMenuButton",cn(yt.s_,"Horizontal",xi("Parallelogram2"),xi("ManualOperation"),xi("Procedure"),xi("Cylinder1"))),cn("ContextMenuButton",cn(yt.s_,"Horizontal",xi("Terminator"),xi("CreateRequest"),xi("Document"),xi("TriangleDown"))),Sn(),Ci(),ti()),bt.current.groupTemplate=cn(yt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:yt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Xt,Li)=>{var rr=Li.addMembers(Li.diagram.selection,!0);rr||Li.diagram.currentTool.doCancel()},avoidable:!1},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),cn(yt.s_,"Auto",{name:"BODY"},cn(yt.bn,{parameter1:10,fill:Et.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("fill"),new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),cn(yt.Vm,{background:"transparent",margin:20})),cn(yt.al,{alignment:yt.z6.Top,alignmentFocus:yt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new yt.KX("text"),new yt.KX("stroke","color"))),bt.current.groupTemplate.selectionAdornmentTemplate=cn(yt.uz,"Spot",cn(yt.s_,"Auto",cn(yt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),cn(yt.Vm,{margin:1.5})),Qn({alignment:yt.z6.TopRight,alignmentFocus:yt.z6.BottomRight})),bt.current.groupTemplate.contextMenu=cn("ContextMenu",Sn(),Ci(),ti()),bt.current.linkTemplate=cn(yt.rU,{layerName:"Foreground",routing:yt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new yt.KX("fromSpot","fromSpot",yt.z6.parse),new yt.KX("toSpot","toSpot",yt.z6.parse),new yt.KX("fromShortLength","dir",Xt=>Xt>=1?10:0),new yt.KX("toShortLength","dir",Xt=>Xt>=1?10:0),new yt.KX("points").makeTwoWay(),cn(yt.bn,{strokeWidth:2},new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),cn(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,0),segmentOrientation:yt.rU.OrientAlong,alignmentFocus:yt.z6.Right,figure:"circle",width:10,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",Xt=>Xt===1)),cn(yt.bn,{segmentIndex:-1,segmentOffset:new yt.E9(-10,6),segmentOrientation:yt.rU.OrientPlus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",Xt=>Xt>=1),new yt.KX("width","thickness",Xt=>7+3*Xt),new yt.KX("height","thickness",Xt=>7+3*Xt),new yt.KX("segmentOffset","thickness",Xt=>new yt.E9(-15,4+1.5*Xt))),cn(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,-6),segmentOrientation:yt.rU.OrientMinus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",Xt=>Xt===2),new yt.KX("width","thickness",Xt=>7+3*Xt),new yt.KX("height","thickness",Xt=>7+3*Xt),new yt.KX("segmentOffset","thickness",Xt=>new yt.E9(-15,4+1.5*Xt))),cn(yt.al,{alignmentFocus:new yt.z6(0,1,-4,0),editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),bt.current.linkTemplate.selectionAdornmentTemplate=cn(yt.uz,cn(yt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Ni(2)},new yt.KX("pathPattern","thickness",Ni)),Qn({alignmentFocus:new yt.z6(0,0,-6,-4)}));function Ni(Xt){return cn(yt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Xt+4).toString()+" H3"})}function Zi(Xt){var Li="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Xt===0?Li="M0 0 M16 16 M0 8 L16 8":Xt===2&&(Li="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),cn(yt.bn,{geometryString:Li,margin:2,background:"transparent",mouseEnter:(rr,Hi)=>Hi.background="dodgerblue",mouseLeave:(rr,Hi)=>Hi.background="transparent",click:Un("dir",Xt),contextClick:Un("dir",Xt)})}function cr(Xt){var Li=(rr,Hi)=>{rr.handled=!0,rr.diagram.model.commit(Er=>{var dr=Hi.part.adornedPart;Er.set(dr.data,Xt?"toSpot":"fromSpot",yt.z6.stringify(yt.z6.AllSides)),(Xt?dr.toNode:dr.fromNode).invalidateConnectedLinks()})};return cn(yt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(rr,Hi)=>Hi.background="dodgerblue",mouseLeave:(rr,Hi)=>Hi.background="transparent",click:Li,contextClick:Li})}function Gn(Xt,Li){var rr=0,Hi=yt.z6.RightSide;Xt.equals(yt.z6.Top)?(rr=270,Hi=yt.z6.TopSide):Xt.equals(yt.z6.Left)?(rr=180,Hi=yt.z6.LeftSide):Xt.equals(yt.z6.Bottom)&&(rr=90,Hi=yt.z6.BottomSide),Li||(rr-=180);var Er=(dr,Nr)=>{dr.handled=!0,dr.diagram.model.commit(Ti=>{var Qi=Nr.part.adornedPart;Ti.set(Qi.data,Li?"toSpot":"fromSpot",yt.z6.stringify(Hi)),(Li?Qi.toNode:Qi.fromNode).invalidateConnectedLinks()})};return cn(yt.bn,{alignment:Xt,alignmentFocus:Xt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:rr,background:"transparent",mouseEnter:(dr,Nr)=>Nr.background="dodgerblue",mouseLeave:(dr,Nr)=>Nr.background="transparent",click:Er,contextClick:Er})}bt.current.linkTemplate.contextMenu=cn("ContextMenu",Ci(),ti(),cn("ContextMenuButton",cn(yt.s_,"Horizontal",Zi(0),Zi(1),Zi(2))),cn("ContextMenuButton",cn(yt.s_,"Horizontal",cn(yt.s_,"Spot",cr(!1),Gn(yt.z6.Top,!1),Gn(yt.z6.Left,!1),Gn(yt.z6.Right,!1),Gn(yt.z6.Bottom,!1)),cn(yt.s_,"Spot",{margin:new yt.Zt(0,0,0,2)},cr(!0),Gn(yt.z6.Top,!0),Gn(yt.z6.Left,!0),Gn(yt.z6.Right,!0),Gn(yt.z6.Bottom,!0)))));const Ai=`{ "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 br=["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 kr(Xt){return console.log("shapeName:",Xt),br.indexOf(Xt)>=0}var Sr=new yt.YI(qt.current,{maxSelectionCount:1,linkTemplate:cn(yt.rU,{locationSpot:yt.z6.Center,selectionAdornmentTemplate:cn(yt.uz,"Link",{locationSpot:yt.z6.Center},cn(yt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),cn(yt.bn,{toArrow:"Standard",stroke:null}))},{routing:yt.rU.AvoidsNodes,curve:yt.rU.JumpOver,corner:5,toShortLength:4},new yt.KX("points"),cn(yt.bn,{isPanelMain:!0,strokeWidth:2}),cn(yt.bn,{toArrow:"Standard",stroke:null})),model:new yt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...yt.bn.getFigureGenerators().toArray().map(Xt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Xt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return bt.current.addDiagramListener("TextEdited",function(Xt){var Li;const rr=Xt.subject.part;var Hi=(Li=document.activeElement)==null?void 0:Li.value;typeof Hi=="string"&&Hi.trim()===""&&bt.current.model.commit(function(Er){Er.set(rr.data,"text","\u672A\u547D\u540D"),bt.current.commandHandler.stopCommand()},"increment")}),Sr.nodeTemplate=cn(yt.NB,"Auto",{locationSpot:yt.z6.Center},new yt.KX("location","location",yt.E9.parse).makeTwoWay(yt.E9.stringify),cn(yt.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 yt.KX("stroke").makeTwoWay(),new yt.KX("fill").makeTwoWay(),new yt.KX("figure")),cn(yt.al,{margin:new yt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new yt.$u(16,16),maxSize:new yt.$u(10,NaN),textAlign:"center",editable:!0},new yt.KX("key").makeTwoWay())),setTimeout(()=>{bt.current.grid=cn(yt.s_,"Grid",cn(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),cn(yt.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 jn=()=>Je(this,null,function*(){var cn=bt.current.makeImage();const Et=yield(0,tn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:cn.src}});Pt({src:Et.url})});return(0,Se.useEffect)(()=>(setTimeout(()=>{Bt()},500),an(Ye+1),()=>{bt.current=null}),[]),ft.createElement("div",{ref:xt,className:dn.current?`${$t.maxH60} body-overflow-initial`:"body-overflow-initial"},ft.createElement(_t.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ye,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ft.createElement(ln.Z,null,ft.createElement(Tn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ft.createElement(Tn.Z,{onClick:()=>{var cn,Et,xn=bt.current.selection.first();if(dn.current=!dn.current,document.activeElement&&xn){let Qn=(Et=(cn=document.activeElement)==null?void 0:cn.value)==null?void 0:Et.trim();typeof Qn=="string"&&bt.current.model.commit(function(Un){Un.set(xn.data,"text",Qn||"\u672A\u547D\u540D"),bt.current.commandHandler.stopCommand()},"increment")}an(Ye+1)}},ft.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:mt},ft.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:$t.flowChartWrp},ft.createElement("div",{style:{display:"flex",height:"100%"}},ft.createElement("div",{style:{width:"300px",height:"100%"}},ft.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ft.createElement("div",{style:{height:"calc(100% - 50px)"},className:$t.myPaletteDiv,ref:qt})),ft.createElement("div",{style:{flex:1,position:"relative"}},ft.createElement("div",{ref:tt,style:{height:"80vh"}}))),ft.createElement("div",{className:"tr"},ft.createElement(Ve.ZP,{size:"large",onClick:jn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var At=Gt,lt=ye(5112),Ge=ye(88897);const Be=lt.ZP.Group,we={margin:"0 8px"};var pe=({callback:mt,onCancel:Pt})=>{function bt(tt){mt(tt)}return Se.createElement(Xe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:bt},Se.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Se.createElement("span",{style:we},"\u5355\u5143\u683C\u6570\uFF1A"),Se.createElement("span",{style:we},"\u884C\u6570"),Se.createElement(Xe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Se.createElement(Ge.Z,null)),Se.createElement("span",{style:we},"\u5217\u6570"),Se.createElement(Xe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Se.createElement(Ge.Z,null))),Se.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Se.createElement("span",{style:we},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Se.createElement(Xe.default.Item,{name:"align"},Se.createElement(Be,null,Se.createElement(lt.ZP,{value:"default"},Se.createElement("i",{className:"fa fa-align-justify"})),Se.createElement(lt.ZP,{value:"left"},Se.createElement("i",{className:"fa fa-align-left"})),Se.createElement(lt.ZP,{value:"center"},Se.createElement("i",{className:"fa fa-align-center"})),Se.createElement(lt.ZP,{value:"right"},Se.createElement("i",{className:"fa fa-align-right"}))))),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(Ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(Ve.ZP,{type:"ghost",onClick:Pt},"\u53D6\u6D88")))},De=ye(78673),ze=ye(98598),Le=ye.n(ze),Ut=(0,Se.forwardRef)(({use3d:mt,width:Pt,height:bt,callback:tt,showSaveButton:qt},dn)=>{const xt=(0,Se.useRef)(),Ye=(0,Se.useRef)(),[an,Bt]=(0,Se.useState)(!1),jn=(0,Se.useRef)({id:xt,appName:"graphing",width:Pt||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,Se.useEffect)(()=>{Ye.current=new(Le())(jn.current,!0),window.onload=function(){Ye.current.inject("applet_container")}},[]);const cn=()=>{var Et=window.ggbApplet.getPNGBase64(1,!0,72);return tt&&tt(Et),Et};return(0,Se.useEffect)(()=>{jn.current.appName=an?"3D":"graphing",Ye.current.inject("applet_container")},[an]),(0,Se.useEffect)(()=>{Bt(mt)},[mt]),(0,Se.useImperativeHandle)(dn,()=>({getImgData:cn})),Se.createElement(Se.Fragment,null,Se.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:xt}),Se.createElement(ln.Z,{align:"middle"},Se.createElement(Tn.Z,{flex:1},Se.createElement(De.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:an,onChange:Et=>Bt(Et)})),Se.createElement(Tn.Z,null,Se.createElement(Ve.ZP,{size:"large",onClick:cn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),En=ye(75890),rn=ye(8591);const vn="link",mi="upload-image",wi="add-flowchart",Ri="draw-image",Wi="add-flowchart",Mn="code-block",nr="add-table",Wr="------------",Hr={default:Wr,left:`:${Wr}`,center:`:${Wr}:`,right:`${Wr}:`};var Tr=ye(91300);function Fr(){}let Yr=0;const Kr=1e4,ar="\u2581",Co="@\u2581\u2581@",$n="@\u2581@",Ce=` **\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`,hi=["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 ki(mt){return/^\d+$/.test(mt)?`${mt}px`:mt}const Wn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",li={[Wn+"-B"]:"bold",[Wn+"-I"]:"italic"},fn={[vn]:"\u6DFB\u52A0\u94FE\u63A5",[Mn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[mi]:"\u6DFB\u52A0\u56FE\u7247",[Ri]:"\u6DFB\u52A0\u753B\u56FE",[wi]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[nr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var on=({defaultValue:mt="",onChange:Pt,width:bt="100%",height:tt=400,miniToolbar:qt=!1,isFocus:dn=!1,watch:xt,insertTemp:Ye,mode:an="markdown",id:Bt="markdown-editor-id",showResizeBar:jn=!1,noStorage:cn=!1,showNullButton:Et=!1,showNullProgramButton:xn=!1,hidetoolBar:Qn=!1,fullScreen:Un=!1,onBlur:zt,onCMBeforeChange:Sn,onFullScreen:Ci,className:Si="",disablePaste:vi=!1,disabled:ti=!1,disabledFill:xi=!1,placeholder:Ni="",values:Zi="",extraUse:cr})=>{const[Gn,Ai]=(0,Se.useState)(null),[br,kr]=(0,Se.useState)(mt),[Sr,Xt]=(0,Se.useState)(xt),[Li,rr]=(0,Se.useState)(Un),[Hi,Er]=(0,Se.useState)(""),[dr,Nr]=(0,Se.useState)(0),[Ti,Qi]=(0,Se.useState)(tt),[er,kn]=(0,Se.useState)(!1),[Dr,Ln]=(0,Se.useState)(0),[pr,Qr]=(0,Se.useState)(0),vr=(0,Se.useRef)(),Ho=(0,Se.useRef)(),co=(0,Se.useRef)(),mr=(0,Se.useRef)();(0,Se.useEffect)(()=>{const Bi=window.scrollY||window.pageYOffset;kr(Zi),Gn==null||Gn.setValue(Zi),window.scrollTo(0,Bi)},[Zi]),(0,Se.useEffect)(()=>{Ci==null||Ci(Li)},[Li]),(0,Se.useEffect)(()=>{if(vr.current){let Bi=function(Gi,zn){var _r;if(vi){zn.preventDefault();return}const Gr=zn.clipboardData;if(Gr){const Ao=Gr.types.toString(),qr=Gr.items;if(Ao==="Files"||Gr.types.indexOf("Files")>-1){if(zn.preventDefault(),an=="stex")return;try{let $r=qr[1];((_r=qr[0])==null?void 0:_r.kind)==="file"&&($r=qr[0]);const to=$r.getAsFile(),$o=to.name.split(".").pop();(0,kt.I)(to,Qo=>{var pa,qo,Cn;Qo.id?((pa=to==null?void 0:to.type)==null?void 0:pa.indexOf("image"))>-1?pi.replaceSelection(`![,](/api/attachments/${Qo.id}?type=${Qo.content_type})`):((qo=to==null?void 0:to.type)==null?void 0:qo.indexOf("video"))>-1?pi.replaceSelection(``):((Cn=to==null?void 0:to.type)==null?void 0:Cn.indexOf("pdf"))>-1?pi.replaceSelection(`${to.name}`):hi.includes($o)?pi.replaceSelection(`${to.name}`):pi.replaceSelection(`[${to.name}](/api/attachments/${Qo.id}?type=${Qo.content_type})`):(Qo==null?void 0:Qo.status)===401&&(document.location.href="/user/login")})}catch($r){rn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const pi=He().fromTextArea(vr.current,{mode:an,lineNumbers:!qt,lineWrapping:!0,value:mt,autoCloseTags:!0,autoCloseBrackets:!0});return pi.on("keyup",function(Gi,zn){zn.keyCode===8&&(Gi.getValue()==""?pi.setOption("placeholder",Ni):pi.setOption("placeholder",null))}),pi.on("keydown",function(Gi,zn){if(zn.keyCode===8){var _r=fr(Gi);_r&&zn.preventDefault()}}),dn&&pi.focus(),pi.on("paste",Bi),ti&&pi.on("beforeChange",function(Gi,zn){(zn.origin==="paste"||zn.origin==="+input")&&zn.cancel()}),Ai(pi),()=>{pi.off("paste",Bi)}}},[]);const hr=(0,Se.useCallback)(()=>{if(Ho.current)try{}catch(Bi){console.log(Bi,"---- to set md editor body height")}},[Ti,Ho,Li]);(0,Se.useEffect)(()=>{function Bi(){let pi=new Rt.Z(Gi=>{for(let zn of Gi)(zn.target.offsetHeight>0||zn.target.offsetWidth>0)&&(hr(),Gn.setSize("100%","100%"),Gn.refresh())});return pi.observe(vr.current.parentElement),pi}if(Gn){const pi=Bi();return()=>{var Gi,zn;(Gi=vr.current)!=null&&Gi.parentElement&&pi.unobserve((zn=vr.current)==null?void 0:zn.parentElement)}}},[Gn,hr]),(0,Se.useEffect)(()=>{if(Gn){let Bi=[];for(const[pi,Gi]of Object.entries(li)){let zn={[pi]:()=>{Vr(Gi)}};Bi.push(zn),Gn.addKeyMap(zn)}return()=>{for(let pi of Bi)Gn.removeKeyMap(pi)}}},[Gn]),(0,Se.useEffect)(()=>{Un!==Li&&rr(Un)},[Un]),(0,Tr.Z)(()=>{if(!cn&&dr>0){let Bi=new Date().getTime(),pi=window.sessionStorage.getItem(Bt);Bi>=dr+Kr&&(!pi||pi!==br)&&(window.sessionStorage.setItem(Bt,br),kn(!0))}},Kr),(0,Se.useEffect)(()=>{Xt(xt)},[Gn,xt]),(0,Se.useEffect)(()=>{Gn&&dn&&Gn.focus()},[Gn,dn]),(0,Se.useEffect)(()=>{if(Sr&&Gn){let Bi=function(Gi){let zn=Gi.target;if(mr.current){let _r=zn.scrollTop/zn.scrollHeight;mr.current.scrollTop=mr.current.scrollHeight*_r}};const pi=Gn.getScrollerElement();return pi.addEventListener("scroll",Bi),()=>{pi.removeEventListener("scroll",Bi)}}},[Gn,Sr]),(0,Se.useEffect)(()=>{if(Gn&&Sn){let Bi=function(pi,Gi){Sn(pi,Gi)};return Gn.on("beforeChange",Bi),()=>{Gn.off("beforeChange",Bi)}}},[Gn,Sn]),(0,Se.useEffect)(()=>{if(Gn&&zt){let Bi=function(){zt(Gn.getValue())};return Gn.on("blur",Bi),()=>{Gn.off("blur",Bi)}}},[Gn,zt]);function fr(Bi,pi){var Gi=Bi.getDoc(),zn=Gi.getCursor(),_r=Gi.getLine(zn.line),Gr=_r.charAt(zn.ch-1),Ao=_r.lastIndexOf("@\u2581@",zn.ch),qr=_r.lastIndexOf("@\u2581\u2581@",zn.ch),$r=Ao>qr?Ao:qr,to=Ao>qr?3:4;if(Co.indexOf(Gr)===-1)return null;if(console.log("change1:",pi,Bi,_r,zn,$r,Ao,qr,Gr),$r>=0&&zn.ch-$r<5){var $o=$r+to;return Gi.replaceRange("",{line:zn.line,ch:$r},{line:zn.line,ch:$o}),{line:zn.line,ch:$o}}return null}(0,Se.useEffect)(()=>{if(Gn){let Bi=function(pi,Gi){const zn=pi.getValue();kr(zn),Nr(new Date().getTime()),pi.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Pt&&(xn?Pt(zn,Wt(zn)):Pt(zn))};return Gn.on("change",Bi),()=>{Gn.off("change",Bi)}}},[Gn,Pt]),(0,Se.useEffect)(()=>{if(Gn)if(mt==null)Gn.setValue(""),kr("");else{const Bi=window.scrollY||window.pageYOffset;mt!==Gn.getValue()&&(Gn.setValue(mt),kr(mt),Gn.setCursor(ti?1:Gn.lineCount(),0),window.scrollTo(0,Bi))}},[Gn,mt]);const Vr=(0,Se.useCallback)(Bi=>{const pi=Gn.getCursor(),Gi=Gn.getSelection();let zn=Gi.split(` `);switch(Bi){case"bold":return Gn.replaceSelection("**"+Gi+"**"),Gi===""&&Gn.setCursor(pi.line,pi.ch+2),Gn.focus();case"italic":return Gn.replaceSelection("*"+Gi+"*"),Gi===""&&Gn.setCursor(pi.line,pi.ch+1),Gn.focus();case"code":return Gn.replaceSelection("`"+Gi+"`"),Gi===""&&Gn.setCursor(pi.line,pi.ch+1),Gn.focus();case"inline-latex":return Er("inline-latex"),Gn.focus();case"latex":return Gn.replaceSelection("```latex\n"+Gi+"\n```"),Gn.setCursor(pi.line+1,Gi.length+1),Gn.focus();case"line-break":return Gn.replaceSelection(`
`),Gn.focus();case"list-ul":return Gi===""?Gn.replaceSelection("- "+Gi):Gn.replaceSelection(zn.map(_r=>_r===""?"":`- ${_r}`).join(` `)),Gn.focus();case"list-ol":return Gi===""?Gn.replaceSelection("1. "+Gi):Gn.replaceSelection(zn.map((_r,Gr)=>_r===""?"":`${Gr+1}. ${_r}`).join(` `)),Gn.focus();case"add-null-ch":return Gi===""&&Gn.setCursor(pi.line,pi.ch),Gn.replaceSelection(ar),Gn.focus();case"add-signal":return Gi===""&&Gn.setCursor(pi.line,pi.ch),Gn.replaceSelection($n),Gn.focus();case"add-multiple":return Gi===""&&Gn.setCursor(pi.line,pi.ch),Gn.replaceSelection(Co),Gn.focus();case"inster-template-1":return Gi===""&&Gn.setCursor(pi.line,pi.ch),Gn.replaceSelection(Ce),Gn.focus();case"eraser":return Gn.setValue(""),Gn.focus();case"trigger-watch":return Xt(!Sr),Gn.focus();case"trigger-full-screen":return rr(!Li),Gn.focus();case vn:Er(vn);return;case Mn:Er(Mn);return;case mi:Er(mi);return;case Ri:Er(Ri);return;case"maths-latex":Er("maths-latex");return;case wi:Er(wi);return;case nr:Er(nr);return;default:throw new Error}},[Gn,Sr,Li]),Ii=(0,Se.useCallback)((Bi,pi)=>{var Gi,zn,_r,Gr,Ao,qr;switch(Er(""),Hi){case vn:const{title:pa,link:qo}=Bi;return Gn.replaceSelection(`[${pa}](${qo})`),Gn.focus();case Mn:const{language:Cn,content:ca}=Bi;return Gn.replaceSelection(["```"+Cn,ca,"```"].join(` `)),Gn.focus();case"maths-latex":for(var $r=atob(Bi),to=new Uint8Array($r.length),$o=0;$o<$r.length;$o++)to[$o]=$r.charCodeAt($o);var Qo=new Blob([to],{type:"image/png"});(0,kt.I)(Qo,Pa=>{Pa.id?Gn.replaceSelection(`![,](/api/attachments/${Pa.id}?type=${Pa.content_type})`):(Pa==null?void 0:Pa.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Gn.replaceSelection("`$$"+Bi+"$$`");break;case mi:case Ri:case Wi:const{src:es,alt:ts}=Bi,Ga=pi,Ds=(_r=(zn=(Gi=Ga==null?void 0:Ga.name)==null?void 0:Gi.split("."))==null?void 0:zn.pop)==null?void 0:_r.call(zn);return((Gr=Ga==null?void 0:Ga.type)==null?void 0:Gr.indexOf("image"))>-1||!(Ga!=null&&Ga.type)?ts?Gn.replaceSelection(`![ ${ts} ]( ${es} "${ts}" )`):Gn.replaceSelection(`![,](${es})`):((Ao=Ga==null?void 0:Ga.type)==null?void 0:Ao.indexOf("video"))>-1?Gn.replaceSelection(``):((qr=Ga==null?void 0:Ga.type)==null?void 0:qr.indexOf("pdf"))>-1?Gn.replaceSelection(`${Ga.name}`):hi.includes(Ds)?Gn.replaceSelection(`${Ga.name}`):Gn.replaceSelection(`[${Ga.name}](${es})`),Gn.focus();case nr:const{row:pl,col:ma,align:Fo}=Bi;let Oo=` `;for(let Pa=0;Pa{switch(Hi){case vn:return Se.createElement(Pn,{callback:Ii,onCancel:pt});case Mn:return Se.createElement(mn.Z,{callback:Ii,onCancel:pt});case mi:return Se.createElement(kt.Z,{callback:Ii,onCancel:pt});case wi:return Se.createElement(At,{callback:Ii,onCancel:pt});case nr:return Se.createElement(pe,{callback:Ii,onCancel:pt});case"maths-latex":return Se.createElement(Ut,{showSaveButton:!0,callback:Ii});case"inline-latex":return Se.createElement(En.Z,{showSaveButton:!0,callback:Ii});default:return null}},[Hi]);function pt(){Er("")}(0,Se.useEffect)(()=>{if(co.current){let Bi=function(Ao){_r=!0,Gr=Ao.pageY},pi=function(){_r=!1},Gi=function(Ao){if(_r){let qr=Ao.pageY-Gr;qr<0&&(qr=0),qr>300&&(qr=300);let $r=tt+qr+"px";Qi($r)}},zn=co.current,_r=!1,Gr=0;return zn.addEventListener("mousedown",Bi),document.addEventListener("mousemove",Gi),document.addEventListener("mouseup",pi),()=>{zn.removeEventListener("mousedown",Bi),document.removeEventListener("mousemove",Gi),document.removeEventListener("mouseup",pi)}}},[Gn,co]),(0,Se.useEffect)(()=>{Qi(tt)},[tt]);const It=ki(bt),sn=ki(Ti),Hn={width:It,height:sn},On=(0,Se.useMemo)(()=>{if(dr){let Bi=new Date(dr),pi=Bi.getHours(),Gi=Bi.getMinutes(),zn=Bi.getSeconds();return pi=pi<10?"0"+pi:pi,Gi=Gi<10?"0"+Gi:Gi,zn=zn<10?"0"+zn:zn,`${pi}:${Gi}:${zn}`}return 0},[dr]),Wt=Bi=>{const pi=[];if(xn){let Gi=-1;Bi=Bi.replace(/(@▁▁@|@▁@)/g,function(zn,_r,Gr){pi.push({multiLine:zn!==$n})})}return pi};function Nn(){window.sessionStorage.removeItem(Bt),kn(!1),Nr(0)}function ai(){kn(!1),Nr(0),Gn.setValue(window.sessionStorage.getItem(Bt))}(0,Se.useEffect)(()=>{fn[Hi]&&Hi!==Ri&&Hi!==wi&&setTimeout(()=>{const Bi=document.getElementsByClassName("markdown-popup-form")[0],pi=window.innerWidth/2-Bi.offsetWidth/2,Gi=window.innerHeight/2-Bi.offsetHeight/2;Ln(pi),Qr(Gi)},0)},[Hi]);const qn=Bi=>{Bi.preventDefault();const pi=Bi.clientX-Dr,Gi=Bi.clientY-pr;document.body.onmousemove=zn=>{let _r=zn.clientX-pi,Gr=zn.clientY-Gi;const Ao=document.getElementsByClassName("markdown-popup-form")[0],qr=window.innerWidth-Ao.offsetWidth,$r=window.innerHeight-Ao.offsetHeight;_r=Math.max(0,Math.min(_r,qr)),Gr=Math.max(0,Math.min(Gr,$r)),Oi(zn.clientX,zn.clientY,pi,Gi)&&(Ln(_r),Qr(Gr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Oi=(Bi,pi,Gi,zn)=>{const _r=document.body.clientHeight,Gr=document.body.clientWidth;return Bi<20&&Gi>Bi||Bi>Gr-20&&Gipi||pi>_r-20&&znIe in Pe?Tt(Pe,Ie,{enumerable:!0,configurable:!0,writable:!0,value:We}):Pe[Ie]=We,te=(Pe,Ie)=>{for(var We in Ie||(Ie={}))ct.call(Ie,We)&&Me(Pe,We,Ie[We]);if(gt)for(var We of gt(Ie))wt.call(Ie,We)&&Me(Pe,We,Ie[We]);return Pe},ne=(Pe,Ie)=>Lt(Pe,et(Ie));const{useForm:ce}=Se.default,se={width:280,marginRight:10},ge={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:Pe,onCancel:Ie})=>{const[We]=ce();let Ke=(0,vt.useRef)();function Xe(Nt){Pe(Nt,Ke.current)}function ht(Nt,qe){if(Nt.status===-1){Oe.ZP.error(Nt.message);return}We.setFieldsValue({src:`/api/attachments/${Nt.id}`,type:qe.type})}function Ve(Nt){let qe=Nt.target.files[0];Ke.current=qe,Fe(qe,ht)}return ke.createElement(Se.default,ne(te({form:We},ge),{className:"upload-image-panel",onFinish:Xe,style:{width:470,overflow:"hidden"}}),ke.createElement(Se.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ke.createElement("div",{className:"flex-container"},ke.createElement(Se.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},ke.createElement(He.default,{style:se})),ke.createElement(be,{onFileChange:Ve}))),ke.createElement(Se.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ke.createElement(He.default,{style:{width:264}})),ke.createElement(Se.default.Item,{style:{textAlign:"right"}},ke.createElement(Rt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ke.createElement(Rt.ZP,{type:"default",onClick:Ie},"\u53D6\u6D88")))};function be({onFileChange:Pe}){return ke.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ke.createElement("input",{type:"file",onChange:Pe}))}function Fe(Pe,Ie){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");let We=new FormData;We.append("editormd-image-file",Pe),We.append("file_param_name","editormd-image-file"),We.append("byxhr","true");var Ke=new window.XMLHttpRequest;Ke.withCredentials=!0,Ke.addEventListener("load",function(Xe){Ie(JSON.parse(Xe.target.responseText),Pe)},!1),Ke.addEventListener("error",function(Xe){console.error(Xe)},!1),Ke.open("POST",`${_e.KI}/api/attachments.json`),Ke.send(We)}},50474:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return He}});var Se=ye(59301),Oe=ye(4676);class He extends Se.Component{constructor(_e){super(_e);const vt=window.document;this.node=vt.createElement("div"),vt.body.appendChild(this.node)}render(){const{children:_e}=this.props;return(0,Oe.createPortal)(_e,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},48551:function(Rn,Fn,ye){"use strict";ye.d(Fn,{SV:function(){return Gt},ZP:function(){return Je}});var Se=ye(59301),Oe=ye(76374);const He={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Rt={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},_e={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std;",content:["using namespace std;"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},vt={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},ke={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` `)}]};var Tt=ye(86061),Lt=ye.n(Tt),et=Object.defineProperty,gt=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(At,lt,Ge)=>lt in At?et(At,lt,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):At[lt]=Ge,ce=(At,lt)=>{for(var Ge in lt||(lt={}))Me.call(lt,Ge)&&ne(At,Ge,lt[Ge]);if(wt)for(var Ge of wt(lt))te.call(lt,Ge)&&ne(At,Ge,lt[Ge]);return At},se=(At,lt)=>gt(At,ct(lt)),ge=(At,lt,Ge)=>new Promise((Be,we)=>{var pe=Le=>{try{ze(Ge.next(Le))}catch(nt){we(nt)}},De=Le=>{try{ze(Ge.throw(Le))}catch(nt){we(nt)}},ze=Le=>Le.done?Be(Le.value):Promise.resolve(Le.value).then(pe,De);ze((Ge=Ge.apply(At,lt)).next())});const ve={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},be=(At,lt)=>lt.map(Ge=>({label:Ge,kind:At.languages.CompletionItemKind.Keyword,insertText:Ge})),Fe=At=>Object.keys(ve.tables).map(lt=>({label:lt,kind:At.languages.CompletionItemKind.Variable,insertText:lt})),Pe=(At,lt)=>{const Ge=ve.tables[At];return Ge?Ge.map(Be=>({label:Be,kind:lt.languages.CompletionItemKind.Field,insertText:Be})):[]};function Ie(At,lt,Ge,Be,we){let pe=lt.getWordUntilPosition(Ge),De={startLineNumber:Ge.lineNumber,endLineNumber:Ge.lineNumber,startColumn:pe.startColumn,endColumn:pe.endColumn},ze=Be.map(Le=>({label:Le,kind:At.languages.CompletionItemKind.Keyword,insertText:Le,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:De}));return we.map(Le=>{ze.push(se(ce({},Le),{range:De}))}),ze}var We=At=>{ve.languages.map(we=>(At.languages.registerDocumentFormattingEditProvider(we,{provideDocumentFormattingEdits(pe,De,ze){return ge(this,null,function*(){const Le=Lt()(pe.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:pe.getFullModelRange(),text:Le}]})}}),we));const lt=_e.quickKey.map(we=>({label:we.label,kind:At.languages.CompletionItemKind.Method,insertText:we.content,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ge=vt.quickKey.map(we=>({label:we.label,kind:At.languages.CompletionItemKind.Method,insertText:we.content,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Be=Rt.quickKey.map(we=>({label:we.label,kind:At.languages.CompletionItemKind.Method,insertText:we.content,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet}));At.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(we,pe){var De=we.getWordUntilPosition(pe),ze={startLineNumber:pe.lineNumber,endLineNumber:pe.lineNumber,startColumn:De.startColumn,endColumn:De.endColumn},Le=we.getLineContent(pe.lineNumber).substring(De.startColumn-2,De.endColumn);return{suggestions:[..._e.keywords.map(nt=>({label:nt,kind:At.languages.CompletionItemKind.Function,documentation:nt,insertText:nt,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ze})),..._e.quickKey.map(nt=>({label:nt.label,kind:At.languages.CompletionItemKind.Function,documentation:nt.content,insertText:Le.startsWith("#")?nt.content.replace(/#/,""):nt.content,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ze}))]}}}),At.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(we,pe){var De=we.getWordUntilPosition(pe),ze={startLineNumber:pe.lineNumber,endLineNumber:pe.lineNumber,startColumn:De.startColumn,endColumn:De.endColumn};return{suggestions:[...He.keywords.map(Le=>({label:Le,kind:At.languages.CompletionItemKind.Function,documentation:Le,insertText:Le,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ze}))]}}}),At.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(we,pe){var De=we.getWordUntilPosition(pe),ze={startLineNumber:pe.lineNumber,endLineNumber:pe.lineNumber,startColumn:De.startColumn,endColumn:De.endColumn},Le=we.getLineContent(pe.lineNumber).substring(De.startColumn-2,De.endColumn);return{suggestions:[...Rt.keywords.map(nt=>({label:nt,kind:At.languages.CompletionItemKind.Function,documentation:nt,insertText:nt,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ze})),...Rt.quickKey.map(nt=>({label:nt.label,kind:At.languages.CompletionItemKind.Function,documentation:nt.content,insertText:Le.startsWith("#")?nt.content.replace(/#/,""):nt.content,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ze}))]}}}),At.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(we,pe){var De=we.getWordUntilPosition(pe),ze={startLineNumber:pe.lineNumber,endLineNumber:pe.lineNumber,startColumn:De.startColumn,endColumn:De.endColumn},Le=we.getLineContent(pe.lineNumber).substring(De.startColumn-2,De.endColumn);return{suggestions:[...ke.keywords.map(nt=>({label:nt,kind:At.languages.CompletionItemKind.Function,documentation:nt,insertText:nt,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ze})),...ke.quickKey.map(nt=>({label:nt.label,kind:At.languages.CompletionItemKind.Function,documentation:nt.content,insertText:Le.startsWith("#")?nt.content.replace(/#/,""):nt.content,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ze}))]}}}),At.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(we,pe){var De=we.getWordUntilPosition(pe),ze={startLineNumber:pe.lineNumber,endLineNumber:pe.lineNumber,startColumn:De.startColumn,endColumn:De.endColumn},Le=we.getLineContent(pe.lineNumber).substring(De.startColumn-2,De.endColumn);return{suggestions:[...vt.keywords.map(nt=>({label:nt,kind:At.languages.CompletionItemKind.Function,documentation:nt,insertText:nt,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ze})),...vt.quickKey.map(nt=>({label:nt.label,kind:At.languages.CompletionItemKind.Function,documentation:nt.content,insertText:Le.startsWith("#")?nt.content.replace(/#/,""):nt.content,insertTextRules:At.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ze}))]}}})};const Ke="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Xe=Object.defineProperty,ht=(At,lt,Ge)=>lt in At?Xe(At,lt,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):At[lt]=Ge,Ve=(At,lt,Ge)=>ht(At,typeof lt!="symbol"?lt+"":lt,Ge);const Nt=class bx{constructor(lt,Ge,Be){this.placeholder=lt,this.editor=Ge,this.monaco=Be,Ge.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return bx.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Ve(Nt,"ID","editor.widget.placeholderHint");var Ht=Nt,Zt=ye(96236),Yt=ye(8591),Ot=ye(6848),Qt=ye(89392),dt=ye(86766),Re=ye(56102),Mt=Object.defineProperty,Pn=Object.defineProperties,mn=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable,Bn=(At,lt,Ge)=>lt in At?Mt(At,lt,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):At[lt]=Ge,wn=(At,lt)=>{for(var Ge in lt||(lt={}))_t.call(lt,Ge)&&Bn(At,Ge,lt[Ge]);if(kt)for(var Ge of kt(lt))ln.call(lt,Ge)&&Bn(At,Ge,lt[Ge]);return At},Kn=(At,lt)=>Pn(At,mn(lt)),yt=(At,lt)=>{var Ge={};for(var Be in At)_t.call(At,Be)&<.indexOf(Be)<0&&(Ge[Be]=At[Be]);if(At!=null&&kt)for(var Be of kt(At))lt.indexOf(Be)<0&&ln.call(At,Be)&&(Ge[Be]=At[Be]);return Ge},Jn=(At,lt,Ge)=>new Promise((Be,we)=>{var pe=Le=>{try{ze(Ge.next(Le))}catch(nt){we(nt)}},De=Le=>{try{ze(Ge.throw(Le))}catch(nt){we(nt)}},ze=Le=>Le.done?Be(Le.value):Promise.resolve(Le.value).then(pe,De);ze((Ge=Ge.apply(At,lt)).next())});function bn(At){return/^\d+$/.test(At)?`${At}px`:At}function ci(){}let Tn=!1;const tn={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function $t(At=[]){let lt=At;if(Array.isArray(At)){for(let Ge=0;Ge{var lt=At,{width:Ge="100%",height:Be="100%",value:we,language:pe="javascript",style:De={},options:ze={},overrideServices:Le={},theme:nt="vs-dark",onEditBlur:Ut,isCopy:En=!1,onSave:rn,autoHeight:vn=!1,forbidCopy:mi=!1,onChange:wi=ci,editorDidMount:Ri=ci,onFocus:Wi=ci,onBreakPoint:Mn=ci,breakPointValue:nr=[],filename:Wr="educoder.txt",errorLine:Hr,errorContent:Tr="",highlightLine:Fr,openBreakPoint:Yr=!1,placeholder:Kr=""}=lt,ar=yt(lt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Co=(0,Se.useRef)(),$n=(0,Se.useRef)({}),Ce=(0,Se.useRef)(),hi=(0,Se.useRef)(),ki=(0,Se.useRef)([]),un=(0,Se.useRef)(!1),Wn=(0,Se.useRef)(),li=(0,Se.useRef)(),fn=(0,Se.useRef)(!1),[on,mt]=(0,Se.useState)(!1);function Pt(){let zt;return Co.current&&(zt=new Oe.Z(Sn=>{for(let Ci of Sn)(Ci.target.offsetHeight>0||Ci.target.offsetWidth>0)&&$n.current.instance.layout()}),zt.observe(Co.current)),zt}function bt(){Yt.ZP.warning({content:decodeURIComponent(Ke),key:"monaco-editor-tip"})}const tt=()=>{let zt=$n.current.instance;if(we!=null&&zt&&on){const Sn=zt.getModel();Sn&&we!==Sn.getValue()&&(Tn=!0,Sn.setValue(we),zt.layout(),Tn=!1)}};(0,Se.useEffect)(()=>{const zt=dt.Z.subscribe("formatDocument",Sn=>{var Ci;let Si=$n.current.instance;(Ci=Si==null?void 0:Si.getAction)==null||Ci.call(Si,"editor.action.formatDocument").run()});return window.updateMonacoValue=Sn=>{wi(Sn)},zt},[]),(0,Se.useEffect)(()=>{var zt;let Sn=$n.current.instance;hi.current&&clearTimeout(hi.current),hi.current=setTimeout(()=>{tt()},500),we&&(we!=null&&we.length)&&((zt=Sn==null?void 0:Sn.updateOptions)==null||zt.call(Sn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(we.split(/\r\n|\r|\n/g).length))+3,5)}))},[we,on,$n.current]),(0,Se.useEffect)(()=>{if(Hr&&$n.current&&$n.current.instance){let Sn=$n.current.instance;Sn.changeViewZones(function(Ci){var Si=document.createElement("div");Si.style.padding="10px 20px",Si.style.width="calc(100% - 20px)",Si.className="my-error-line-wrp",Si.innerHTML=Tr,Ci.addZone({afterLineNumber:Hr||11,heightInLines:3,domNode:Si})});var zt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Sn.addOverlayWidget(zt),Sn.revealPositionInCenter({lineNumber:20,column:1})}},[Hr,$n.current,on]);const qt=(zt="",Sn)=>{if(!zt||zt.trim()==="")return!0;const Si=$n.current.instance.getModel().getLineTokens(Sn);let vi=!1;for(let ti=0;ti<2;ti++)Si.getStandardTokenType(ti)===1&&(vi=!0);return vi};(0,Se.useEffect)(()=>{var zt;const Sn=(zt=$n.current)==null?void 0:zt.instance;if(Sn&&on&&mi){const Ci=Sn.onDidBlurEditorWidget(()=>{fn.current=!1}),Si=Sn.onDidFocusEditorText(()=>{fn.current=!0});return()=>{Ci.dispose(),Si.dispose()}}},[$n.current,on,mi]),(0,Se.useEffect)(()=>{var zt;if((zt=$n.current)!=null&&zt.instance&&on&&Yr){let Sn=$n.current.instance,Ci=Sn.getModel();if(!Ci)return;(()=>{var Sr;let Xt=[],Li=[];const rr=Ci.getAllDecorations();for(let Er of rr)Er.options.className==="highlighted-line"&&(Xt.push((Sr=Er==null?void 0:Er.range)==null?void 0:Sr.startLineNumber),Li.push(Er==null?void 0:Er.id));if(Fr===Xt[0])return;Ci.deltaDecorations(Li,[]);const Hi=Ci.getLineCount();Fr&&Fr<=Hi&&(Sn.deltaDecorations([],[{range:new ft.Range(Fr,1,Fr,Ci.getLineMaxColumn(Fr)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Sn.revealLineInCenter(Fr))})();const vi=(Sr=!1)=>{var Xt;let Li=[],rr=[];const Hi=Ci.getAllDecorations();for(let Er of Hi)Er.options.linesDecorationsClassName==="breakpoints-select"&&(Li.push((Xt=Er==null?void 0:Er.range)==null?void 0:Xt.startLineNumber),rr.push(Er==null?void 0:Er.id));if(Sr)return{lines:Li,ids:rr};Mn(Li)},ti=Sr=>Jn(void 0,null,function*(){let Xt={range:new ft.Range(Sr,1,Sr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ci.deltaDecorations([],[Xt]),vi()}),xi=Sr=>Jn(void 0,null,function*(){let Xt=[];const Li=Sn.getLineDecorations(Sr);for(let rr of Li)rr.options.linesDecorationsClassName==="breakpoints-select"&&Xt.push(rr.id);yield Ci.deltaDecorations(Xt,[]),vi()}),Ni=Sr=>{let Xt=Sn.getLineDecorations(Sr);for(let Li of Xt)if(Li.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Qt.isEqual)(nr,vi(!0).lines)){Ci.deltaDecorations(vi(!0).ids,[]);const Sr=nr.map(Xt=>({range:new ft.Range(Xt,1,Xt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ci.deltaDecorations([],Sr)}const Zi=Sn.onDidChangeModelContent(Sr=>{let Xt=Sn.getPosition();if(Xt){let Li=Xt.lineNumber;clearTimeout(li.current),li.current=setTimeout(()=>{qt(Ci.getLineContent(Li),Li)?xi(Li):Ni(Li)?(xi(Li),ti(Li)):vi()},100)}}),cr=Sn.onMouseDown(Sr=>{var Xt,Li,rr;if(Sr.target.detail&&((rr=(Li=(Xt=Sr.target)==null?void 0:Xt.element)==null?void 0:Li.className)!=null&&rr.includes("line-numbers"))){let Hi=Sr.target.position.lineNumber;if(qt(Ci.getLineContent(Hi),Hi))return;Ni(Hi)?xi(Hi):ti(Hi)}}),Gn=Sr=>{let Xt={range:new ft.Range(Sr,1,Sr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};ki.current=Sn.deltaDecorations(ki.current,[Xt])},Ai=()=>{ki.current=Sn.deltaDecorations(ki.current,[])},br=Sn.onMouseMove(Sr=>{var Xt,Li,rr;if(Ai(),Sr.target.detail&&((rr=(Li=(Xt=Sr.target)==null?void 0:Xt.element)==null?void 0:Li.className)!=null&&rr.includes("line-numbers"))){let Hi=Sr.target.position.lineNumber;if(qt(Ci.getLineContent(Hi),Hi))return;Gn(Hi)}}),kr=Sn.onMouseLeave(()=>{Ai()});return()=>{Zi.dispose(),cr.dispose(),br.dispose(),kr.dispose()}}},[$n.current,on,nr,Fr,Yr,pe]),(0,Se.useEffect)(()=>{var zt;(zt=$n.current)!=null&&zt.instance&&Yr&&$n.current.instance.setPosition({lineNumber:0,column:0})},[Fr]);function dn(){let zt=$n.current.instance;if(zt){const Sn=zt.getSelection(),Ci=$n.current.pastePos||{},Si=new ft.Range(Ci.startLineNumber||Sn.endLineNumber,Ci.startColumn||Sn.endColumn,Ci.endLineNumber||Sn.endLineNumber,Ci.endColumn||Sn.endColumn);setTimeout(()=>{zt.executeEdits("",[{range:Si,text:""}])},300)}}function xt(zt){(window.navigator.platform.match("Mac")?zt.metaKey:zt.ctrlKey)&&zt.keyCode==83&&(zt.preventDefault(),rn())}const Ye=()=>{if(vn&&$n.current.instance){const zt=$n.current.instance.getContentHeight();Qn(zt{if(!fn.current)return;const{keyCode:Sn,ctrlKey:Ci,metaKey:Si,target:vi,type:ti}=zt;return(ti==="paste"||(Sn===67||Sn===86)&&(Si||Ci))&&vi.nodeName==="TEXTAREA"&&(bt(),zt.preventDefault()),!1};function jn(zt,Sn){var Ci=window.URL||window.webkitURL||window,Si=new Blob([Sn]),vi=document.createElementNS("http://www.w3.org/1999/xhtml","a");vi.href=Ci.createObjectURL(Si),vi.download=zt,an(vi)}(0,Se.useEffect)(()=>{Ye()},[Ye]),(0,Se.useEffect)(()=>{Co.current&&!on&&Promise.all([ye.e(8909),ye.e(1810)]).then(ye.bind(ye,71448)).then(zt=>{try{ft=zt,$n.current.instance=ft.editor.create(Co.current,{value:we,language:$t(pe),theme:nt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Le);const Sn=$n.current.instance;let vi=[...Zt.BH._menuItems].find(Zi=>Zi[0]._debugName=="EditorContext")[1],ti=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],xi=(Zi,cr)=>{var Gn,Ai;let br=Zi._first;do cr.includes((Ai=(Gn=br.element)==null?void 0:Gn.command)==null?void 0:Ai.id)&&Zi._remove(br);while(br=br.next)};if(Ri(Sn,ft),setTimeout(()=>{Ye(),$n.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{jn(Wr||"educoder.txt",Sn.getValue())}})},500),$n.current.subscription=Sn.onDidChangeModelContent(Zi=>{un.current?clearTimeout(Wn.current):(Ye(),wi(Sn.getValue(),Zi)),Wn.current=setTimeout(()=>{un.current=!1},500)}),window.Monaco||We(ft,$t(pe)),mi&&(xi(vi,ti),Co.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Bt),window.removeEventListener("paste",Bt),window.addEventListener("keydown",Bt),window.addEventListener("paste",Bt)),window.Monaco=ft,Ut&&Sn.onDidBlurEditorWidget(()=>{Ut(Sn.getValue())}),Wi&&Sn.onDidFocusEditorText(()=>{Wi(Sn.getValue())}),mi)try{Sn.onDidPaste(Zi=>{const cr=Sn.getSelection(),Gn=$n.current.pastePos||{},Ai=new ft.Range(Gn.startLineNumber||cr.endLineNumber,Gn.startColumn||cr.endColumn,Gn.endLineNumber||cr.endLineNumber,Gn.endColumn||cr.endColumn);Sn.executeEdits("",[{range:Zi.range,text:""}])})}catch(Zi){}let Ni=Pt();return Kr&&typeof Kr=="string"&&new Ht(Kr,Sn,ft),mt(!0),()=>{const Zi=$n.current.instance;Zi.dispose();const cr=Zi.getModel();cr&&cr.dispose(),$n.current.subscription&&$n.current.subscription.dispose(),Ni.unobserve(Co.current)}}catch(Sn){}})},[]),(0,Se.useEffect)(()=>{if($n.current.instance&&on)return document.addEventListener("keydown",xt,!1),()=>{document.removeEventListener("keydown",xt)}},[rn,on]),(0,Se.useEffect)(()=>{let zt=$n.current.instance;if(zt&&on){let Sn=$t(pe);ft.editor.setModelLanguage(zt.getModel(),Sn)}},[pe,on]),(0,Se.useEffect)(()=>{$n.current.instance&&on&&ft.editor.setTheme(nt)},[nt,on]),(0,Se.useEffect)(()=>{let zt=$n.current.instance;Ce.current=ze,zt&&on&&(zt.updateOptions(wn({},ze)),setTimeout(()=>{zt.getModel().updateOptions(wn({},ze))},200))},[JSON.stringify(ze),on]),(0,Se.useEffect)(()=>{let zt=$n.current.instance;zt&&on&&zt.layout()},[Ge,Be,on]);const[cn,Et]=(0,Se.useState)(bn(Ge)),[xn,Qn]=(0,Se.useState)(bn(Be)),Un=Kn(wn({},De),{width:cn,height:xn,position:"relative"});return Se.createElement("div",{className:"my-monaco-editor",ref:Co,style:Un},En&&Se.createElement(Re.CopyToClipboard,{text:we,onCopy:()=>Yt.ZP.success("\u590D\u5236\u6210\u529F")},Se.createElement(Ot.Z,{title:"\u590D\u5236\u4EE3\u7801"},Se.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},Se.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Gt({width:At="100%",height:lt="100%",original:Ge,modified:Be,language:we,options:pe={}}){const De=(0,Se.useRef)(),[ze,Le]=(0,Se.useState)(null);function nt(vn){let mi;return De.current&&(mi=new Oe.Z(wi=>{for(let Ri of wi)(Ri.target.offsetHeight>0||Ri.target.offsetWidth>0)&&vn.layout()}),mi.observe(De.current)),mi}(0,Se.useEffect)(()=>(De.current&&Promise.all([ye.e(8909),ye.e(9404)]).then(ye.bind(ye,2550)).then(vn=>{ft=vn;const mi=ft.editor.createDiffEditor(De.current,Kn(wn({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},pe),{wordWrap:!0}));Le(mi);let wi=nt(mi);return()=>{mi.dispose();const Ri=mi.getModel();Ri&&Ri.dispose(),wi.unobserve(De.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,Se.useEffect)(()=>{ze&&ze.setModel({original:ft.editor.createModel(Ge,we),modified:ft.editor.createModel(Be,we)})},[Ge,Be,we,ze]);const Ut=bn(At),En=bn(lt),rn={width:Ut,height:En};return Se.createElement("div",{className:"my-diff-editor",ref:De,style:rn})}},94606:function(Rn,Fn,ye){"use strict";ye.d(Fn,{jL:function(){return _e},w9:function(){return _t},QD:function(){return wi},cQ:function(){return Re},op:function(){return nt},O5:function(){return fn},_b:function(){return Hr},t7:function(){return se},Gi:function(){return Jn},YG:function(){return Kn},qp:function(){return gt},vr:function(){return Mn},qE:function(){return rn},Je:function(){return be},wb:function(){return Zt},cq:function(){return ft},tp:function(){return Me}});var Se=ye(59301),Oe={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___Pb35j"},He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfC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1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",_e=({dataSource:on=[],img:mt,imgWidth:Pt=346,title:bt,sunTitle:tt,bannerExtraContent:qt})=>Se.createElement("div",{className:Oe.banner},Se.createElement("div",{className:Oe.content},Se.createElement("aside",null,Se.createElement("p",null,Se.createElement("b",null,bt),Se.createElement("span",null,tt)),on.length>0&&Se.createElement("div",{className:Oe.btns},on.map((dn,xt)=>Se.createElement("div",{key:xt,onClick:dn.click},dn.name,dn.sign?Se.createElement("img",{src:He,width:39}):null))),qt),mt&&Se.createElement("img",{style:{marginTop:33,marginRight:38},src:mt,width:Pt}))),vt={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"},ke=ye(92310),Tt=ye.n(ke),Lt=ye(89392),gt=({dataSource:on=[],value:mt,onChange:Pt,onTitleChange:bt,className:tt,title:qt,titleWidth:dn=41,style:xt={},fontColor:Ye="#6A7283",showCount:an})=>{const[Bt,jn]=(0,Se.useState)(0),[cn,Et]=(0,Se.useState)(!1),xn=(0,Se.useRef)(null),Qn=(0,Se.useRef)(null);return(0,Se.useEffect)(()=>{var Un;on.length!==0&&(((Un=xn==null?void 0:xn.current)==null?void 0:Un.clientHeight)>97?jn(1):jn(0)),on.length===0&&jn(0),Et(!1)},[on]),Se.createElement("div",{className:Tt()(vt.row,tt),style:xt},Se.createElement("div",{onClick:(0,Lt.throttle)(()=>bt==null?void 0:bt(),2e3),style:{width:dn,marginTop:cn?12:4},className:`${vt.title} ${bt?"current":""}`},qt),Se.createElement("div",{className:cn?`${vt.tagsWrap} ${vt.tagsBorderWrap}`:vt.tagsWrap},Se.createElement("div",{className:vt.bar,ref:Qn,style:Bt>0?{height:Bt===1?97:"auto",overflow:Bt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},Se.createElement("div",{className:vt.tag,ref:xn},on==null?void 0:on.map(Un=>Se.createElement("span",{onClick:()=>Pt(Un.id),key:Un.id,style:{color:Ye},className:mt===Un.id?vt.active:""},Se.createElement("span",{title:Un.name,className:vt.name},Un.name),!!an&&Se.createElement("span",{className:vt.num},Un.count))))),!!Bt&&Se.createElement(Se.Fragment,null,Bt===1?Se.createElement("div",{onClick:()=>{var Un;jn(2),((Un=xn==null?void 0:xn.current)==null?void 0:Un.clientHeight)>245?Et(!0):Et(!1)},className:vt.action},"\u5C55\u5F00",Se.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):Se.createElement("div",{onClick:()=>{Qn.current.scrollTop=0,jn(1),Et(!1)},className:vt.action},"\u6536\u8D77",Se.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ct={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"},Me=({dataSource:on=[],value:mt,onChange:Pt,className:bt,style:tt={}})=>Se.createElement("div",{style:tt,className:Tt()(ct.tabs,bt)},on.map(qt=>Se.createElement("span",{onClick:()=>Pt(qt.id),className:mt===qt.id?ct.active:"",key:qt.id},qt.name))),te={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"},ne=ye(92832),se=({dataSource:on=[],value:mt="",onChange:Pt,onInputChange:bt=()=>{},className:tt,style:qt={},placeholder:dn,allowClear:xt=!1})=>{var Ye;const[an,Bt]=(0,Se.useState)(""),[jn,cn]=(0,Se.useState)("");(0,Se.useEffect)(()=>{var Qn;let Un=mt;(Qn=JSON.stringify(mt))!=null&&Qn.includes("{")&&(Bt(mt.id),Un=mt.value||"");try{cn(decodeURIComponent(Un||""))}catch(zt){cn(decodeURIComponent(Un||""))}},[mt]);const Et=()=>{Pt(encodeURIComponent(jn),an||null)},xn=Qn=>{Qn!==an&&(Bt(Qn),Pt(encodeURIComponent(jn),Qn))};return Se.createElement("div",{className:Tt()(te.input,tt),style:qt},!!on.length&&Se.createElement("div",{className:te.dropdown},Se.createElement("div",{className:te.text},(Ye=on.find(Qn=>Qn.id===an))==null?void 0:Ye.name,Se.createElement("i",{className:"iconfont icon-zhankai4"}),Se.createElement("b",{className:te.b1}),Se.createElement("b",{className:te.b2})),Se.createElement("div",{className:te.menu},on.map((Qn,Un)=>Se.createElement("div",{key:Un,onClick:()=>xn(Qn.id)},Qn.name)))),Se.createElement(ne.default,{onPressEnter:Et,value:jn,onChange:Qn=>{cn(Qn.target.value),bt(encodeURIComponent(Qn.target.value),an||null)},bordered:!1,placeholder:dn}),Se.createElement("i",{onClick:Et,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ge={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"},be=({value:on,onChange:mt,className:Pt,total:bt,pageSize:tt,style:qt={}})=>{const dn=on<2,xt=on>=Math.ceil(bt/tt);return bt<=tt?Se.createElement(Se.Fragment,null):Se.createElement("div",{className:Tt()(ge.quickPager,Pt),style:qt},Se.createElement("div",{onClick:()=>{dn||mt(on-1,"prev")},className:dn?ge.disabled:""},"\u4E0A\u4E00\u9875"),Se.createElement("div",{onClick:()=>{xt||mt(on+1,"next")},className:xt?ge.disabled:""},"\u4E0B\u4E00\u9875"))},Fe={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"},Pe=ye(71418),Ie=ye(6848),We=ye(39978),Ke=ye(10148),Xe=ye(58130),ht=ye(96908),Ve=ye(57177),Nt=ye(81378),qe=ye(97267),Zt=({className:on,dataSource:mt=[],col:Pt=4,right:bt,bottom:tt=23,precision:qt=0,wrapWidth:dn=1200,trackEventItems:xt,loading:Ye})=>{const an=Math.floor((dn-(Pt-1)*bt)/Pt);return Se.createElement(Pe.Z,{spinning:Ye},Se.createElement("div",{className:Tt()(Fe.list,on)},!!mt.length&&mt.map((Bt,jn)=>{const{name:cn,id:Et,identifier:xn,power:Qn,cover_image_id:Un,pic:zt}=Bt;return Se.createElement("div",{className:Fe.wrap,key:Et,style:{width:an,marginRight:(1+jn)%Pt===0?0:bt+qt,marginBottom:tt}},Se.createElement("a",{target:"_blank",href:`/shixuns/${xn}/challenges`,className:Fe.li,onClick:Sn=>{Sn.preventDefault(),xt&&(0,Xe.L9)([xt]),Qn&&(0,Xe.xg)(`/shixuns/${xn}/challenges`)}},Se.createElement("div",{className:Fe.img},Se.createElement("img",{className:Fe.cover,src:`${zt}`}),Bt.is_jupyter&&Se.createElement("img",{className:Fe.sign,src:ht}),Bt.is_jupyter_lab&&Se.createElement("img",{className:Fe.sign,src:Ve}),Bt.is_unity_3d&&Se.createElement("img",{className:Fe.sign,src:Nt})),Se.createElement("div",{className:Fe.name},Se.createElement(Ie.Z,{title:cn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Se.createElement("span",{className:Fe.e},cn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Se.createElement("div",{className:Fe.tags},Se.createElement(Ie.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Se.createElement("span",null,Se.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Se.createElement("span",null,Bt.challenges_count))),!!Bt.myshixuns_count&&Se.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Se.createElement("span",null,Se.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Se.createElement("span",null,Bt.myshixuns_count))),Se.createElement(Ie.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Se.createElement("span",null,Se.createElement("span",null,Bt.level))),Se.createElement("div",{className:Fe.rate},Se.createElement(We.Z,{allowHalf:!0,disabled:!0,defaultValue:Bt.score_info}),Se.createElement("span",null,"\xA0",Bt.score_info?`${Bt.score_info}\u5206`:"5\u5206")))),!Qn&&Se.createElement("div",{className:Fe.lockWrap},Se.createElement("img",{src:`${Ke.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Se.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!mt.length&&Se.createElement(qe.Z,null)))},Yt={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"},Ot=ye(2119),Qt=ye(59301),Re=({className:on,dataSource:mt=[],col:Pt=4,right:bt,bottom:tt=23,precision:qt=0,wrapWidth:dn=1200,trackEventItems:xt,loading:Ye,onRemove:an=()=>{},isCurrent:Bt=!0,showAlias:jn=!1})=>{const cn=Math.floor((dn-(Pt-1)*bt)/Pt),Et=[{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"}];return Qt.createElement(Pe.Z,{spinning:Ye},Qt.createElement("div",{className:Tt()(Yt.list,on)},!!(mt!=null&&mt.length)&&(mt==null?void 0:mt.map((xn,Qn)=>{var Un;const{name:zt,id:Sn,identifier:Ci,featured:Si,school_name:vi,image_url:ti,excellent:xi,is_plan:Ni}=xn;return Qt.createElement("div",{key:Sn,className:Yt.wrap,style:{width:cn,marginRight:(1+Qn)%Pt===0?0:bt+qt,marginBottom:tt}},Qt.createElement("a",{className:Yt.li,onClick:Zi=>{Zi.preventDefault(),Zi.stopPropagation(),xt&&(0,Xe.L9)([xt]),(0,Xe.xg)(`/paths/${Ci}`)}},Qt.createElement("div",{className:Yt.img},Qt.createElement("img",{className:Yt.cover,src:`${ti}`}),Bt&&(0,Ot.bg)()&&(xn==null?void 0:xn.studying)&&Qt.createElement("div",{className:`${Yt.movebq} user-path-items`,onClick:Zi=>{Zi.stopPropagation(),an(xn)}},Qt.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Qt.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Un=xn==null?void 0:xn.subject_tags)==null?void 0:Un.map((Zi,cr)=>{var Gn,Ai;if(cr===0){const kr=(Gn=Et.find(Sr=>Sr.name==Zi))==null?void 0:Gn.swimg;return Qt.createElement("img",{className:Yt.sign,src:kr,style:{left:"-4px"}})}const br=(Ai=Et.find(kr=>kr.name==Zi))==null?void 0:Ai.ptimg;return Qt.createElement("img",{className:Yt.sign,src:br,style:{left:`${48+52*(cr-1)+2*cr}px`}})}),Qt.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(xn==null?void 0:xn.excellent)&&Qt.createElement("div",{className:Yt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Qt.createElement("div",{className:Yt.name},Qt.createElement(Ie.Z,{title:jn&&(xn!=null&&xn.excellent_alias_name)?Qt.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${zt}`,Qt.createElement("br",null),Qt.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${xn==null?void 0:xn.excellent_alias_name}`)):zt},Qt.createElement("span",{className:Yt.e},jn&&(xn==null?void 0:xn.excellent_alias_name)||zt))),Qt.createElement(Ie.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${vi}`},Qt.createElement("div",{className:Yt.unit},Qt.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),vi)),Qt.createElement("div",{className:Yt.tags},Qt.createElement("div",null,Qt.createElement(Ie.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Qt.createElement("span",null,Qt.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Qt.createElement("span",null,xn.stages_count))),Qt.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Qt.createElement("span",null,Qt.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Qt.createElement("span",null,xn.members_count)))))))})),!mt.length&&Qt.createElement(qe.Z,null)))},Mt={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"},Pn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYw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JkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",mn=ye(59301),_t=({className:on,dataSource:mt=[],col:Pt=4,right:bt,bottom:tt=23,precision:qt=0,wrapWidth:dn=1200,trackEventItems:xt,loading:Ye})=>{const an=Math.floor((dn-(Pt-1)*bt)/Pt);return mn.createElement(Pe.Z,{spinning:Ye},mn.createElement("div",{className:Tt()(Mt.list,on)},!!mt.length&&mt.map((Bt,jn)=>{const{subject_identifier:cn,id:Et,identifier:xn,power:Qn}=Bt,Un=Bt.is_public!=0&&Bt.is_public;return mn.createElement("div",{className:Mt.wrap,key:Et,style:{width:an,marginRight:(1+jn)%Pt===0?0:bt+qt,marginBottom:tt}},mn.createElement("a",{className:Mt.li,onClick:zt=>{zt.preventDefault(),xt&&(0,Xe.L9)([xt]),(0,Xe.xg)(Bt.first_category_url)}},mn.createElement("div",{className:Mt.top},mn.createElement(Ie.Z,{title:Bt.name},mn.createElement("div",{className:Mt.name},Bt.name)),mn.createElement("img",{className:Mt.img,src:Ke.Z.IMG_SERVER+"/images/"+Bt.avatar_url}),mn.createElement("div",{className:Mt.text,title:Bt.creator},Bt.creator),cn&&mn.createElement("div",{className:Mt.btns},mn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),mn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Un&&mn.createElement("div",{className:Mt.sign},"\u516C\u5F00")),mn.createElement("div",{className:Mt.bottom},Bt.visits>0&&mn.createElement(Ie.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},mn.createElement("span",null,mn.createElement("i",{className:"iconfont icon-liulanyan"}),mn.createElement("span",null,Bt.visits))),Bt.course_members_count>0&&mn.createElement(Ie.Z,{title:"\u6210\u5458",placement:"bottom"},mn.createElement("span",null,mn.createElement("i",{className:"iconfont icon-chengyuan"}),Bt.course_members_count)),Bt.tasks_count>0&&mn.createElement(Ie.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},mn.createElement("span",null,mn.createElement("i",{className:"iconfont icon-zuoye"}),Bt.tasks_count)),Bt.is_end?mn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):mn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Bt.is_accessible&&mn.createElement("div",{className:Mt.lockWrap},mn.createElement("img",{src:`${Ke.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),mn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!mt.length&&mn.createElement(qe.Z,null)))},ln={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"},Bn=ye(42203),Kn=({dataSource:on=[],value:mt,onChange:Pt,className:bt,style:tt={},tabBarExtraContent:qt})=>Se.createElement("div",{className:Tt()(ln.tabs,bt),style:tt},Se.createElement("div",{className:ln.tabsWrap},on.map((dn,xt)=>Se.createElement("aside",{className:ln.tab,onClick:()=>{Pt(dn.id),dn.link&&Bn.history.push(dn.link)},key:xt},Se.createElement("div",{className:mt===dn.id?ln.active:""},dn.name),(dn==null?void 0:dn.resetCount)==null&&(dn==null?void 0:dn.total)!==void 0&&Se.createElement("span",null,"\uFF08",dn==null?void 0:dn.total,"\uFF09"),(dn==null?void 0:dn.resetCount)!==void 0&&(dn==null?void 0:dn.total)!==void 0&&Se.createElement(Ie.Z,{title:(dn==null?void 0:dn.tip)!=null?dn==null?void 0:dn.tip:""},Se.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Se.createElement("span",{style:{color:"#000"}},dn==null?void 0:dn.resetCount),"/",Se.createElement("span",null,dn==null?void 0:dn.total),"\uFF09"))))),Se.createElement("div",{className:ln.tabBar},qt)),Jn=({className:on,style:mt={},children:Pt})=>Se.createElement("div",{className:Tt()(on),style:mt},Pt),bn={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"},ci=ye(38854),Tn=ye(20834);const tn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ft=({sortValue:on,dropValue:mt,className:Pt,onSort:bt,onDrop:tt,dataSource:qt=tn})=>{var dn;return Se.createElement("div",{className:Tt()(bn.orderWrap,Pt)},Se.createElement(ci.Z,{dropdownRender:()=>Se.createElement(Tn.default,null,qt.map((xt,Ye)=>Se.createElement(Tn.default.Item,{key:Ye,onClick:()=>tt(xt.id)},xt.name)))},Se.createElement("span",{className:bn.orderTextWrap},(dn=qt.find(xt=>mt===xt.id))==null?void 0:dn.name)),Se.createElement("span",{className:bn.orderIconWrap},Se.createElement("span",{className:bn.orderAsc},Se.createElement("i",{className:on==="asc"?`iconfont icon-sanjiaoxing-up font12 ${bn.cursorPointer} ${bn.active}`:`iconfont icon-sanjiaoxing-up font12 ${bn.cursorPointer}`,onClick:()=>bt(on==="asc"?"desc":"asc")})),Se.createElement("span",{className:bn.orderDesc},Se.createElement("i",{className:on==="desc"?`iconfont icon-sanjiaoxing-down font12 ${bn.cursorPointer} ${bn.active}`:`iconfont icon-sanjiaoxing-down font12 ${bn.cursorPointer}`,onClick:()=>bt(on==="asc"?"desc":"asc")}))))},Je={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"},Gt=ye(3113),At=Object.defineProperty,lt=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,we=(on,mt,Pt)=>mt in on?At(on,mt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):on[mt]=Pt,pe=(on,mt)=>{for(var Pt in mt||(mt={}))Ge.call(mt,Pt)&&we(on,Pt,mt[Pt]);if(lt)for(var Pt of lt(mt))Be.call(mt,Pt)&&we(on,Pt,mt[Pt]);return on},De=(on,mt)=>{var Pt={};for(var bt in on)Ge.call(on,bt)&&mt.indexOf(bt)<0&&(Pt[bt]=on[bt]);if(on!=null&<)for(var bt of lt(on))mt.indexOf(bt)<0&&Be.call(on,bt)&&(Pt[bt]=on[bt]);return Pt},ze=(on,mt,Pt)=>new Promise((bt,tt)=>{var qt=Ye=>{try{xt(Pt.next(Ye))}catch(an){tt(an)}},dn=Ye=>{try{xt(Pt.throw(Ye))}catch(an){tt(an)}},xt=Ye=>Ye.done?bt(Ye.value):Promise.resolve(Ye.value).then(qt,dn);xt((Pt=Pt.apply(on,mt)).next())}),nt=on=>{var mt=on,{className:Pt,style:bt,children:tt,loading:qt=!1,openLoading:dn,onClick:xt=()=>{},size:Ye="middle",shape:an="round"}=mt,Bt=De(mt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[jn,cn]=(0,Se.useState)(!1);return Se.createElement(Gt.ZP,pe({onClick:(0,Lt.throttle)(Et=>ze(void 0,null,function*(){dn&&cn(!0);try{yield xt(Et)}catch(xn){console.log("error",xn)}dn&&cn(!1)}),2e3,{leading:!0,trailing:!1}),className:Tt()(Je.btn,Je[`${Ye}-${an}`],Pt),style:bt,size:Ye,shape:an,loading:jn||qt},Bt),tt)},Ut={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"},rn=({className:on,style:mt,children:Pt=null,onClick:bt,title:tt})=>Se.createElement("div",{className:Tt()(Ut.head,on),style:mt},Se.createElement("span",{className:"primary-hover",onClick:bt},Se.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),Se.createElement("b",{title:tt},tt),Se.createElement("div",{className:Ut.node},Pt)),vn={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"},wi=({confirmShow:on=!0,confirmTitle:mt,confirmClick:Pt,cancelShow:bt=!0,cancelTitle:tt,cancelClick:qt,className:dn,style:xt,confirmLoading:Ye=!1})=>Se.createElement("div",{className:Tt()(vn.btns,dn),style:xt},on&&Se.createElement(Gt.ZP,{loading:Ye,onClick:Pt,type:"primary",className:vn.confirm},mt),bt&&Se.createElement(Gt.ZP,{onClick:qt,className:vn.cancel},tt)),Ri={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"},Mn=({className:on,style:mt={},LeftContent:Pt,children:bt,RightContent:tt})=>Se.createElement("div",{className:Tt()(Ri.fixedBottom,on),style:mt},Se.createElement("div",{className:Ri.wrap},Se.createElement("div",{className:Ri.left},Pt),Se.createElement("div",{className:Ri.center},bt),Se.createElement("div",{className:Ri.right},tt))),nr={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:on,style:mt={},dataSource:Pt=[]})=>Se.createElement("div",{className:Tt()(nr.crumbs,on),style:mt},Pt.map((bt,tt)=>ttBn.history.push(bt.path)},bt.name):Se.createElement("span",null,bt.name),Se.createElement("span",null,"\xA0",">","\xA0")):Se.createElement("span",{key:tt,style:{color:"#5F6368"}},bt.name))),Tr=ye(31797),Fr=Object.defineProperty,Yr=Object.defineProperties,Kr=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,Ce=(on,mt,Pt)=>mt in on?Fr(on,mt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):on[mt]=Pt,hi=(on,mt)=>{for(var Pt in mt||(mt={}))Co.call(mt,Pt)&&Ce(on,Pt,mt[Pt]);if(ar)for(var Pt of ar(mt))$n.call(mt,Pt)&&Ce(on,Pt,mt[Pt]);return on},ki=(on,mt)=>Yr(on,Kr(mt)),un=(on,mt)=>{var Pt={};for(var bt in on)Co.call(on,bt)&&mt.indexOf(bt)<0&&(Pt[bt]=on[bt]);if(on!=null&&ar)for(var bt of ar(on))mt.indexOf(bt)<0&&$n.call(on,bt)&&(Pt[bt]=on[bt]);return Pt};const{Countdown:Wn}=Tr.default;var fn=on=>{var mt=on,{onChange:Pt}=mt,bt=un(mt,["onChange"]);const[tt,qt]=(0,Se.useState)(null);(0,Se.useEffect)(()=>{typeof tt=="number"&&tt>=0&&Pt(tt)},[tt]);const dn=xt=>{const Ye=Math.floor(xt/1e3);qt(Ye)};return Se.createElement(Wn,ki(hi({},bt),{onChange:dn}))}},91300:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Oe}});var Se=ye(59301);function Oe(He,Rt){const _e=(0,Se.useRef)();(0,Se.useEffect)(()=>{_e.current=He}),(0,Se.useEffect)(()=>{function vt(){_e.current()}if(Rt!==null){let ke=setInterval(vt,Rt);return()=>clearInterval(ke)}},[Rt])}},41997:function(Rn,Fn,ye){"use strict";ye.r(Fn),ye.d(Fn,{default:function(){return li}});var Se=ye(59301),Oe={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"},He=ye(92310),Rt=ye.n(He),_e=ye(94606),vt=ye(23469),ke=ye(95237),Tt=ye(3113),Lt=ye(43418),et=ye(92832),gt=ye(2595),ct=ye(78241),wt=ye(6848),Me=ye(88897),te=ye(8591),ne=ye(71418),ce=ye(24905),se=ye(5112),ge=ye(78550),ve=ye(58130),be=ye(42203),Fe=ye(44757),Pe=ye(87954),Ie=ye(18257),We=ye(19719),Ke=ye(35241),Xe=ye(97267),ht=Object.defineProperty,Ve=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,qe=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Yt=(fn,on,mt)=>on in fn?ht(fn,on,{enumerable:!0,configurable:!0,writable:!0,value:mt}):fn[on]=mt,Ot=(fn,on)=>{for(var mt in on||(on={}))Ht.call(on,mt)&&Yt(fn,mt,on[mt]);if(qe)for(var mt of qe(on))Zt.call(on,mt)&&Yt(fn,mt,on[mt]);return fn},Qt=(fn,on)=>Ve(fn,Nt(on));const dt=Se.createContext({}),Re=()=>{const{setActivatorNodeRef:fn,listeners:on}=(0,Se.useContext)(dt);return Se.createElement(Tt.ZP,Ot({type:"text",size:"small",icon:Se.createElement(wt.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"},Se.createElement(Fe.Z,null)),style:{cursor:"move"},ref:fn},on))},Mt=fn=>{const{attributes:on,listeners:mt,setNodeRef:Pt,setActivatorNodeRef:bt,transform:tt,transition:qt,isDragging:dn}=(0,We.nB)({id:fn["data-row-key"]}),xt=Ot(Qt(Ot({},fn.style),{transform:Ke.ux.Translate.toString(tt),transition:qt}),dn?{position:"relative",zIndex:99}:{}),Ye=(0,Se.useMemo)(()=>({setActivatorNodeRef:bt,listeners:mt}),[bt,mt]);return Se.createElement(dt.Provider,{value:Ye},Se.createElement("tr",Ot(Qt(Ot({},fn),{ref:Pt,style:xt}),on)))};var mn=({columns:fn,dataSource:on,setDataSource:mt,loading:Pt})=>{const bt=({active:tt,over:qt})=>{tt.id!==(qt==null?void 0:qt.id)&&mt(dn=>{const xt=dn.findIndex(an=>an.id===(tt==null?void 0:tt.id)),Ye=dn.findIndex(an=>an.id===(qt==null?void 0:qt.id));return(0,We.Rp)(dn,xt,Ye)})};return Se.createElement(Pe.LB,{modifiers:[Ie.DL],onDragEnd:bt},Se.createElement(We.Fo,{items:on.map(tt=>tt.id),strategy:We.qw},Se.createElement(gt.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:Pt,locale:{emptyText:Se.createElement(Xe.Z,{styles:{margin:"80px auto"},customText:Se.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Se.createElement("span",{style:{color:"#CA7720"}},"\u53F3\u4E0A\u89D2\u64CD\u4F5C\u6309\u94AE"),"\u8FDB\u884C\u6DFB\u52A0\uFF5E")})},dataSource:on,components:{body:{row:Mt}},columns:[{key:"sort",align:"center",width:80,render:()=>Se.createElement(Re,null)},...fn],size:"middle"})))},kt=ye(99313),_t=ye(19842),ln=ye(57809),Bn=ye(98228),wn=ye(25700),Kn=ye(70635),yt={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"},Jn=ye(69831),bn={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"},ci=ye(25711),Tn=ye(24334);const tn=["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 ft=({qitem:fn})=>{var on,mt,Pt,bt,tt,qt,dn,xt,Ye,an;return Se.createElement("div",{className:bn.warp},Se.createElement("div",{className:bn.mainPart},Se.createElement("div",{className:bn.qcount},(fn==null?void 0:fn.question_type)===8&&Se.createElement(ci.Z,{className:bn.content,showProgramFill:!0,value:(on=fn==null?void 0:fn.program_attr)==null?void 0:on.description}),(fn==null?void 0:fn.question_type)!=8&&Se.createElement(ci.Z,{className:bn.qtitle,value:(fn==null?void 0:fn.name)||(fn==null?void 0:fn.title)})),((fn==null?void 0:fn.question_type)===0||(fn==null?void 0:fn.question_type)===2)&&Se.createElement("div",null,(mt=fn==null?void 0:fn.choices)==null?void 0:mt.map((Bt,jn)=>Se.createElement("div",{className:bn.redio},!(Bt!=null&&Bt.is_answer)&&Se.createElement("span",{className:bn.redioitem}),(Bt==null?void 0:Bt.is_answer)&&Se.createElement("i",{className:`${bn.redioitemyes} icon-duigou1`}),Se.createElement(ci.Z,{className:Bt!=null&&Bt.is_answer?bn.titleyes:bn.title,value:tn[jn]+(Bt==null?void 0:Bt.choice_text)}),(Bt==null?void 0:Bt.is_answer)&&Se.createElement("div",{className:bn.yestag},"\u6B63\u786E\u7B54\u6848")))),(fn==null?void 0:fn.question_type)===1&&Se.createElement("div",null,(Pt=fn==null?void 0:fn.choices)==null?void 0:Pt.map((Bt,jn)=>Se.createElement("div",{className:bn.checkbox},!(Bt!=null&&Bt.is_answer)&&Se.createElement("span",{className:bn.checkboxitem}),(Bt==null?void 0:Bt.is_answer)&&Se.createElement("i",{className:`${bn.checkboxitemyes} icon-duigou1`}),Se.createElement(ci.Z,{className:Bt!=null&&Bt.is_answer?bn.titleyes:bn.title,value:tn[jn]+(Bt==null?void 0:Bt.choice_text)}),(Bt==null?void 0:Bt.is_answer)&&Se.createElement("div",{className:bn.yestag},"\u6B63\u786E\u7B54\u6848")))),(fn==null?void 0:fn.question_type)===3&&Se.createElement("div",{className:bn.completion},(bt=fn==null?void 0:fn.standard_answer)==null?void 0:bt.map((Bt,jn)=>{var cn;return Se.createElement("div",{style:{display:"flex"}},Se.createElement("span",{className:bn.title},"\u586B\u7A7A\u9879",jn+1),Se.createElement("div",{className:bn.content},(cn=Bt==null?void 0:Bt.answer_text)==null?void 0:cn.map((Et,xn)=>Se.createElement("div",{className:bn.items},Et))))})),(fn==null?void 0:fn.question_type)===4&&Se.createElement("div",{className:bn.simple},Se.createElement("div",{className:bn.title},"\u53C2\u8003\u7B54\u6848"),Se.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(tt=fn==null?void 0:fn.answer_texts)!=null&&tt[0]?Se.createElement(ci.Z,{className:bn.content,value:(qt=fn==null?void 0:fn.answer_texts)==null?void 0:qt[0]}):Se.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(fn==null?void 0:fn.question_type)===5&&((dn=fn==null?void 0:fn.challenge_names)==null?void 0:dn.map((Bt,jn)=>Se.createElement("div",{className:bn.shixun},Se.createElement("span",{className:bn.qtitle},Se.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,ve.EM)(jn+1),"\u9898"),Bt)))),(fn==null?void 0:fn.question_type)===6&&Se.createElement("div",{className:bn.program},Se.createElement(ci.Z,{className:bn.content,value:((xt=fn==null?void 0:fn.program_attr)==null?void 0:xt.description)||"- -"})),(fn==null?void 0:fn.question_type)===7&&((Ye=fn==null?void 0:fn.sub_item_banks)==null?void 0:Ye.map((Bt,jn)=>{var cn,Et,xn,Qn,Un;return Se.createElement("div",null,Se.createElement("div",{className:bn.combination},Se.createElement("span",{className:bn.qtitle},Bt==null?void 0:Bt.name)),Se.createElement("div",{className:bn.warp,style:{padding:"0px",paddingTop:20}},Se.createElement("div",null,((Bt==null?void 0:Bt.item_type)=="SINGLE"||(Bt==null?void 0:Bt.item_type)=="JUDGMENT")&&((cn=Bt==null?void 0:Bt.choices)==null?void 0:cn.map((zt,Sn)=>Se.createElement("div",{className:bn.redio},!(zt!=null&&zt.is_answer)&&Se.createElement("span",{className:bn.redioitem}),(zt==null?void 0:zt.is_answer)&&Se.createElement("i",{className:`${bn.redioitemyes} icon-duigou1`}),Se.createElement(ci.Z,{className:zt!=null&&zt.is_answer?bn.titleyes:bn.title,value:tn[Sn]+(zt==null?void 0:zt.choice_text)}),(zt==null?void 0:zt.is_answer)&&Se.createElement("div",{className:bn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Bt==null?void 0:Bt.item_type)=="MULTIPLE"&&((Et=Bt==null?void 0:Bt.choices)==null?void 0:Et.map((zt,Sn)=>Se.createElement("div",{className:bn.checkbox},!(zt!=null&&zt.is_answer)&&Se.createElement("span",{className:bn.checkboxitem}),(zt==null?void 0:zt.is_answer)&&Se.createElement("i",{className:`${bn.checkboxitemyes} icon-duigou1`}),Se.createElement(ci.Z,{className:zt!=null&&zt.is_answer?bn.titleyes:bn.title,value:tn[Sn]+(zt==null?void 0:zt.choice_text)}),(zt==null?void 0:zt.is_answer)&&Se.createElement("div",{className:bn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Bt==null?void 0:Bt.item_type)=="COMPLETION"&&Se.createElement("div",{className:bn.completion},(xn=Bt==null?void 0:Bt.standard_answer)==null?void 0:xn.map((zt,Sn)=>{var Ci;return Se.createElement("div",{style:{display:"flex"}},Se.createElement("span",{className:bn.title},"\u586B\u7A7A\u9879",Sn+1),Se.createElement("div",{className:bn.content},(Ci=zt==null?void 0:zt.answer_text)==null?void 0:Ci.map((Si,vi)=>Se.createElement("div",{className:bn.items},Si))))})),(Bt==null?void 0:Bt.item_type)=="SUBJECTIVE"&&Se.createElement("div",{className:bn.simple},Se.createElement("div",{className:bn.title},"\u53C2\u8003\u7B54\u6848"),Se.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Qn=Bt==null?void 0:Bt.answer_texts)!=null&&Qn[0]?Se.createElement(ci.Z,{className:bn.content,value:(Un=Bt==null?void 0:Bt.answer_texts)==null?void 0:Un[0]}):Se.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(fn==null?void 0:fn.question_type)===8&&Se.createElement("div",null,Se.createElement(ci.Z,{disabledFill:!0,className:bn.content,showProgramFill:!0,value:Tn.Base64.decode(((an=fn==null?void 0:fn.program_attr)==null?void 0:an.code)||"")})),(fn==null?void 0:fn.question_type)===5&&Se.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},Se.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},Se.createElement("div",{style:{marginRight:30}},Se.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),Se.createElement("span",{style:{color:"#000000"}},(fn==null?void 0:fn.author_name)||"- -")),Se.createElement("div",{style:{marginRight:30}},Se.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),Se.createElement("span",{style:{color:"#000000"}},(fn==null?void 0:fn.author_school_name)||"- -")),Se.createElement("div",{style:{marginRight:30}},Se.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),Se.createElement("span",{style:{color:"#000000"}},(fn==null?void 0:fn.study_count)||"0"))),Se.createElement("a",{className:bn.shixunbutton,href:`/shixuns/${fn==null?void 0:fn.identifier}/challenges?exercise=true`,target:"_blank"},Se.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((fn==null?void 0:fn.question_type)<=4||[6,8].includes(fn==null?void 0:fn.question_type))&&Se.createElement("div",{className:bn.bottom},Se.createElement("div",{className:bn.bottomitem},Se.createElement("span",{className:bn.left},"\u89E3\u6790"),Se.createElement("span",{className:bn.right},fn!=null&&fn.analysis?Se.createElement(ci.Z,{value:fn==null?void 0:fn.analysis}):Se.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),Se.createElement("div",{className:bn.bottomitem},Se.createElement("span",{className:bn.left},"\u96BE\u5EA6"),Se.createElement("span",{className:bn.right},(fn==null?void 0:fn.difficulty)===1?"\u7B80\u5355":(fn==null?void 0:fn.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Se.createElement("div",{className:bn.bottomitem},Se.createElement("span",{className:bn.left},"\u77E5\u8BC6\u70B9"),Se.createElement("span",{className:bn.right},fn!=null&&fn.tag_discipline?fn==null?void 0:fn.tag_discipline:Se.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},Je=ye(11961),Gt=ye(49731),At=ye(2908),lt=ye(86902),Ge=ye(59301),Be=Object.defineProperty,we=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,nt=(fn,on,mt)=>on in fn?Be(fn,on,{enumerable:!0,configurable:!0,writable:!0,value:mt}):fn[on]=mt,Ut=(fn,on)=>{for(var mt in on||(on={}))ze.call(on,mt)&&nt(fn,mt,on[mt]);if(De)for(var mt of De(on))Le.call(on,mt)&&nt(fn,mt,on[mt]);return fn},En=(fn,on)=>we(fn,pe(on)),rn=(fn,on,mt)=>new Promise((Pt,bt)=>{var tt=xt=>{try{dn(mt.next(xt))}catch(Ye){bt(Ye)}},qt=xt=>{try{dn(mt.throw(xt))}catch(Ye){bt(Ye)}},dn=xt=>xt.done?Pt(xt.value):Promise.resolve(xt.value).then(tt,qt);dn((mt=mt.apply(fn,on)).next())});const vn=({setScoreShow:fn,ScoreShow:on,onOk:mt,isshixuns:Pt,isloadings:bt,dispatch:tt,selectedIds:qt,user:dn,virtualId:xt,shixunsDetail:Ye})=>{var an;let[Bt,jn]=(0,Se.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[cn,Et]=(0,Se.useState)([]),[xn,Qn]=(0,Se.useState)([]),[Un,zt]=(0,Se.useState)([]),[Sn,Ci]=(0,Se.useState)([]);const[Si,vi]=(0,Se.useState)(!1),[ti]=ct.default.useForm(),[xi,Ni]=(0,Se.useState)(),[Zi,cr]=(0,Se.useState)(!1);let[Gn,Ai]=(0,Se.useState)(Pt);const[br,kr]=(0,Se.useState)([]),[Sr,Xt]=(0,Se.useState)(0),[Li,rr]=(0,Se.useState)(!0),[Hi,Er]=(0,Se.useState)([]),[dr,Nr]=(0,Se.useState)([]),Ti=[{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}],[Qi,er]=(0,Se.useState)([]),kn=(0,Se.useRef)(new Set),Dr=(0,Se.useRef)(new Set),Ln=(0,Se.useRef)(1),pr=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Qr=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],vr=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Ho,co]=(0,Se.useState)(!1),mr=()=>{ti.resetFields(),Gn=!1,Ai(!1),co(!1),ti.submit()};(0,Se.useEffect)(()=>{on&&(ti.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),Li&&Gn&&(ti.setFieldsValue({item_type:"SHIXUN"}),Bt.item_type="SHIXUN",jn(Ut({},Bt)),rr(!1)),Bt.type="0",Qn(qt),zt(qt),Dr.current=new Set(qt),hr(Bt),fr(),Vr({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Ii())},[on]),console.log(xn,Un,"listitems"),(0,Se.useEffect)(()=>{Sr>0&&setTimeout(()=>{Xt(0)},2e3)},[Sr]);function hr(Wt){return rn(this,null,function*(){var Nn,ai,qn;if(vi(!0),jn(Ut({},Wt)),(Un==null?void 0:Un.length)<=0&&Wt.type==="5"){Ci([]),vi(!1);return}let Oi=Wt.type==="5"?Un==null?void 0:Un.filter(zn=>!br.includes(zn)):null,Bi=Wt.type==="5"?Un==null?void 0:Un.filter(zn=>br.includes(zn)):null;Ln.current=Ln.current+1;const pi=Ln.current;Wt.group_id=((Nn=Wt.group_id)==null?void 0:Nn.map(zn=>zn==null?void 0:zn.value))||null;let Gi=yield(0,Kn.ZP)("/api/item_banks.json",{method:"get",params:En(Ut({},Wt),{discipline_id:((ai=Wt==null?void 0:Wt.courseid)==null?void 0:ai[0])||null,sub_discipline_id:((qn=Wt==null?void 0:Wt.courseid)==null?void 0:qn[1])||null,ids:Oi,shixun_ids:Bi,include_shixuns:!0,keyword:Wt.keyword?encodeURIComponent(Wt.keyword):Wt.keyword,type:Wt.type==="5"?null:Wt.type,clazz:Wt.type==="3"?"ItemBanksGroup":null})});Ln.current===pi&&(Ci(Gi),vi(!1))})}function fr(){return rn(this,null,function*(){let Wt=yield(0,Kn.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Bt.type==="5"?null:Bt.type,clazz:"ItemBanksGroup"}});Et((0,Jn.L)(Wt==null?void 0:Wt.disciplines))})}function Vr(Wt){return rn(this,null,function*(){var Nn;let ai=yield(0,Kn.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Wt}),qn=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Nn=ai==null?void 0:ai.data)==null?void 0:Nn.map(Oi=>({title:Oi.name,id:Oi.id,pid:Oi.id,value:Oi.id,key:Oi.id,isLeaf:!Oi.have_child}))}];Er(qn)})}function Ii(){return rn(this,null,function*(){let Wt=yield(0,At.Dm)({});(Wt==null?void 0:Wt.status)===0&&Nr(Wt==null?void 0:Wt.groups)})}function Qe(Wt){return rn(this,null,function*(){var Nn,ai,qn,Oi;vi(!0);let Bi=(Nn=Wt.list)==null?void 0:Nn.filter(zn=>!br.includes(zn)),pi=(ai=Wt.list)==null?void 0:ai.filter(zn=>br.includes(zn));if(Bi.length===0&&pi.length===0){vi(!1),Ci([]);return}let Gi=yield(0,Kn.ZP)("/api/item_banks.json",{method:"get",params:En(Ut({},Wt),{discipline_id:((qn=Wt==null?void 0:Wt.courseid)==null?void 0:qn[0])||null,sub_discipline_id:((Oi=Wt==null?void 0:Wt.courseid)==null?void 0:Oi[1])||null,ids:Bi,shixun_ids:pi,type:Wt.type==="5"?null:Wt.type,clazz:Wt.type==="3"?"ItemBanksGroup":null})});vi(!1),Ci(Gi)})}const pt=Wt=>rn(void 0,null,function*(){const Nn=yield tt({type:"shixunsDetail/release",payload:{id:Wt}});let ai=Nn==null?void 0:Nn.tag_position,qn=(Nn==null?void 0:Nn.evaluation_set_position)||[],Oi=Nn.status;return Oi===0?(te.ZP.success("\u53D1\u5E03\u6210\u529F"),hr(Bt),!0):(Oi===2?te.ZP.error(`\u7B2C${qn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Oi===3?te.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${ai.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):te.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),It=Wt=>(Wt==null?void 0:Wt.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",sn=()=>Si?"\u6682\u65E0\u6570\u636E":Bt.type==="3"&&!(dr!=null&&dr.length)?Ge.createElement("span",null,"\u4F60\u8FD8\u672A\u52A0\u5165\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u5148 ",Ge.createElement("span",{onClick:()=>{var Wt;return(0,ve.xg)(`/users/${(Wt=dn==null?void 0:dn.userInfo)==null?void 0:Wt.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):Bt.type==="0"&&(Sn==null?void 0:Sn.items_count)===0&&!(Bt!=null&&Bt.tag_discipline_id)&&!(Bt!=null&&Bt.difficulty)&&!(Bt!=null&&Bt.keyword)&&!(Bt!=null&&Bt.group_id)&&!(Bt!=null&&Bt.difficulty)?Ge.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",Ge.createElement("span",{onClick:()=>{(0,ve.xg)(`/problems/newcreate?&pageId=${xt}`),fn(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",Hn=(Wt,Nn,ai)=>Wt.map(qn=>qn.key===Nn?Ut(Ut({},qn),ai):qn.children?En(Ut({},qn),{children:Hn(qn.children,Nn,ai)}):qn),On=Wt=>rn(void 0,null,function*(){const{key:Nn}=Wt;let ai=Bt.type;const qn=yield(0,At.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Nn),type:ai}),{data:Oi,total_count:Bi}=qn||{};Bi>0&&Er(pi=>Hn(pi,Nn,{children:Oi.map(Gi=>({title:Gi.name,id:Gi.id,pid:Gi.id,value:Gi.id,key:Gi.id,isLeaf:!Gi.have_child}))}))});return Ge.createElement("div",null,Ge.createElement(Lt.default,{title:!1,footer:!1,open:on,width:1200,centered:!0,className:yt.scoremodal,onCancel:()=>{fn(!1)}},Ge.createElement("div",{style:{display:"flex",alignItems:"center"}},Ge.createElement("div",{className:yt.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),Ge.createElement(kt.default,{className:yt.tabWrap,activeKey:Bt.type,onChange:Wt=>{Wt==="3"?(Bt.show_all_share=!0,Vr({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Bt.show_all_share=null,Wt==="0"&&Vr({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Bt.type=Wt,Bt.page=1,Bt.updated_at="",Bt.quotes="",Bt.courseid="",Bt.tag_discipline_id=null,Bt.difficulty=null,Bt.keyword=null,Bt.group_id=null,Bt.teach_group_id=null,ti.setFieldsValue({courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(Bt==null?void 0:Bt.item_type)==="SHIXUN"&&Bt.type!=="5"&&(Gn=!0,Ai(!0)),co(!1),Bt.type==="5"&&(Gn=!1,Ai(!1)),jn(Ut({},Bt)),hr(Ut({},Bt)),fr()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u516C\u5171",key:"1"},{label:Ge.createElement("div",null,"\u5DF2\u9009",Un.length>0&&Ge.createElement("span",{className:yt.titlecount},Un.length),Sr>0&&Ge.createElement("span",{className:yt.add},"+",Sr)),key:"5"}]}),Ge.createElement(ct.default,{layout:"inline",form:ti,onValuesChange:(Wt,Nn)=>{const ai=Object.values(Nn).some(Oi=>Oi!==null&&Oi!==""&&Oi!==void 0),qn=Nn.keyword==="";if(co(ai||!qn),Bt.page=1,(Nn==null?void 0:Nn.item_type)==="SHIXUN"){if(Bt.type==="5"?Ai(!1):Ai(!0),Wt.keyword||Wt.keyword==="")return;ti.submit()}else{if(Wt!=null&&Wt.courseid&&ti.setFieldsValue({tag_discipline_id:""}),Ai(!1),Wt.keyword||Wt.keyword==="")return;ti.submit()}},onFinish:Wt=>{var Nn;Bt.type==="3"&&(!Wt.group_id||((Nn=Wt==null?void 0:Wt.group_id)==null?void 0:Nn.length)===0)?Bt.show_all_share=!0:Bt.show_all_share=null,jn(Ut(Ut({},Bt),Wt)),hr(Ut(Ut({},Bt),Wt))}},Ge.createElement(ct.default.Item,{name:"courseid"},Ge.createElement(_t.Z,{className:yt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:cn})),!Gn&&Ge.createElement(ct.default.Item,{name:"tag_discipline_id"},Ge.createElement(ln.default,{className:yt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(an=Sn==null?void 0:Sn.tag_disciplines)==null?void 0:an.map(Wt=>Ge.createElement(ln.default.Option,{key:Wt.id},Wt.name)))),Ge.createElement(ct.default.Item,{name:Gn?"diff":"difficulty"},Ge.createElement(ln.default,{className:yt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Gn&&pr.map(Wt=>Ge.createElement(ln.default.Option,{key:Wt.value},Wt.name)),Gn&&Qr.map(Wt=>Ge.createElement(ln.default.Option,{key:Wt.value},Wt.name)))),Gn&&Ge.createElement(ct.default.Item,{name:"shixun_publish_status"},Ge.createElement(ln.default,{className:yt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},vr.map(Wt=>Ge.createElement(ln.default.Option,{key:Wt.value},Wt.name)))),Bt.type==="3"&&!Gn&&Ge.createElement(ct.default.Item,{name:"teach_group_id"},Ge.createElement(ln.default,{className:yt.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(Wt,Nn)=>(console.log("---",Wt,Nn),Nn.children.toUpperCase().indexOf(Wt.toUpperCase())!==-1)},dr==null?void 0:dr.map(Wt=>Ge.createElement(ln.default.Option,{key:Wt.group_id},Wt.name)))),(Bt.type==="3"||Bt.type==="0")&&!Gn&&Ge.createElement(ct.default.Item,{name:"group_id"},Ge.createElement(Bn.default,{treeDataSimpleMode:!0,style:{width:118},className:yt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(Wt,Nn)=>Nn.title.toUpperCase().indexOf(Wt.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:On,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:Hi})),Ho&&Ge.createElement("span",{className:yt.allqingchu,onClick:mr},Ge.createElement("i",{className:"iconfont icon-guanbi4"}),Ge.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Ge.createElement(ct.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Ge.createElement(et.default.Search,{className:yt.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u9898\u7F16\u53F7\u6216\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Ge.createElement("i",{className:`iconfont icon-sousuo9 font14 ${yt.searchIcon}`,onClick:()=>ti.submit()}),onSearch:Wt=>{ti.submit()}}))),Ge.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Ge.createElement("div",{onClick:()=>{Bt.updated_at==="asc"?Bt.updated_at="desc":Bt.updated_at="asc",jn(En(Ut({},Bt),{page:1})),hr(En(Ut({},Bt),{page:1}))}}," ",Bt.updated_at?Ge.createElement("img",{src:Bt.updated_at==="asc"?Je.Z:Gt.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ge.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Ge.createElement("div",{onClick:()=>{Bt.quotes==="asc"?Bt.quotes="desc":Bt.quotes="asc",jn(En(Ut({},Bt),{page:1})),hr(En(Ut({},Bt),{page:1}))},style:{marginLeft:20}}," ",Bt.quotes?Ge.createElement("img",{src:Bt.quotes==="asc"?Je.Z:Gt.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ge.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Ge.createElement(gt.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Sn==null?void 0:Sn.items)||(Sn==null?void 0:Sn.shixun_list),pagination:!1,locale:{emptyText:Ge.createElement(Xe.Z,{styles:{margin:"18px auto"},customText:sn()})},loading:Si,rowKey:Wt=>Wt.id,rowSelection:{type:"checkbox",selectedRowKeys:xn,getCheckboxProps:Wt=>({disabled:Wt.shixun_tag_num===1}),onSelect(Wt,Nn,ai){if(Nn)Gn&&kr([...br,Wt.id]),Qn([...xn,Wt.id]),er([...Qi,Wt]),Wt.identifier?kn.current.add(Wt.id):Dr.current.add(Wt.id),Xt(1),zt([...Un,Wt.id]);else{const qn=Qi.filter(pi=>pi.id!==Wt.id);er(qn);const Oi=qn.map(pi=>pi.id);Qn([...Oi]),Wt.identifier?kn.current.delete(Wt.id):Dr.current.delete(Wt.id);let Bi=Un.filter(pi=>pi!==Wt.id);if(zt(Bi),Gn){let pi=br.filter(Gi=>Gi!==Wt.id);kr([...pi])}if(Bt.type==="5"){Qe(En(Ut({},Bt),{list:[...Bi]}));return}}},onSelectAll(Wt,Nn,ai){if(Wt){const qn=ai.map(Oi=>Oi.id);Gn&&kr([...br,...qn]),er([...Qi,...ai]),Qn([...xn,...qn]),zt([...Un,...qn]);for(const Oi of ai)Oi.identifier?kn.current.add(Oi.id):Dr.current.add(Oi.id)}else{const qn=ai.map(pi=>pi.id),Oi=xn.filter(pi=>!qn.some(Gi=>Gi===pi)),Bi=Qi.filter(pi=>!qn.some(Gi=>Gi===pi.id));if(er(Bi),Qn([...Oi]),zt([...Oi]),Gn){let pi=br.filter(Gi=>!qn.some(zn=>zn===Gi.id));kr([...pi])}Bt.type==="5"&&Qe(En(Ut({},Bt),{list:[...Oi]}));for(const pi of qn)pi.identifier?kn.current.delete(pi):Dr.current.delete(pi)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(Wt,Nn,ai)=>{const qn=`No.${Wt}`;return Ge.createElement(wt.Z,{title:qn},Ge.createElement("span",null,qn))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Gn?"30%":"60%",key:"name",render:(Wt,Nn,ai)=>{var qn;return Ge.createElement(wt.Z,{title:It(Nn)},Ge.createElement("span",null,Ge.createElement(ci.Z,{key:1,showLines:1,showTextOnly:!0,value:Gn||Nn!=null&&Nn.challenge_names?Nn!=null&&Nn.title||Wt===null?"--":Wt:(Nn==null?void 0:Nn.item_type)=="BPROGRAM"?(qn=Nn==null?void 0:Nn.program_attr)==null?void 0:qn.description:Wt})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(Wt,Nn,ai)=>Ge.createElement(wt.Z,{title:Wt},Ge.createElement("span",null,Wt||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Gn,render:(Wt,Nn,ai)=>{var qn;return Ge.createElement(wt.Z,{title:It(Nn)},Ge.createElement("span",null,Wt?(qn=Wt==null?void 0:Wt.split("\u3001"))==null?void 0:qn[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Gn,render:(Wt,Nn,ai)=>Ge.createElement(wt.Z,{title:It(Nn)},Ge.createElement("span",null,Wt||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(Wt,Nn,ai)=>{var qn,Oi,Bi,pi;return Ge.createElement(wt.Z,{title:It(Nn)},Ge.createElement("div",null,Gn||Nn!=null&&Nn.challenge_names?(Nn==null?void 0:Nn.level)||((Oi=(qn=pr==null?void 0:pr.filter(Gi=>Gi.value===Wt))==null?void 0:qn[0])==null?void 0:Oi.name):(pi=(Bi=pr==null?void 0:pr.filter(Gi=>Gi.value===Wt))==null?void 0:Bi[0])==null?void 0:pi.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Gn,render:(Wt,Nn,ai)=>Ge.createElement(wt.Z,{title:It(Nn)},Ge.createElement("div",null,Wt||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(Wt,Nn,ai)=>Ge.createElement(wt.Z,{title:It(Nn)},Ge.createElement("div",null,Gn||Nn!=null&&Nn.challenge_names?(Nn==null?void 0:Nn.study_count)||(Nn==null?void 0:Nn.stu_num):Wt))},{title:Ge.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ge.createElement(wt.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ge.createElement(lt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Gn,render:(Wt,Nn,ai)=>Ge.createElement(wt.Z,{title:It(Nn)},Ge.createElement("div",null,Wt||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(Wt,Nn,ai)=>Ge.createElement(wt.Z,{title:It(Nn)},Ge.createElement("div",{style:{flex:1,textAlign:"start"}},Ge.createElement("a",{onClick:()=>{var qn,Oi;Ni(En(Ut({},Nn),{question_type:Gn||Nn!=null&&Nn.challenge_names?5:(Oi=(qn=Ti==null?void 0:Ti.filter(Bi=>Bi.value===(Nn==null?void 0:Nn.item_type)))==null?void 0:qn[0])==null?void 0:Oi.question_type})),cr(!0)}},"\u67E5\u770B"),(Nn==null?void 0:Nn.shixun_tag_num)===1&&Ge.createElement("a",{style:{marginLeft:10},onClick:()=>{Lt.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Ge.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Ge.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Nn==null?void 0:Nn.identifier}/challenges`)}},(Nn==null?void 0:Nn.shixun_name)||"--"),"\uFF1F"),onOk:()=>rn(void 0,null,function*(){if(!pt(Nn==null?void 0:Nn.identifier))return new Promise((qn,Oi)=>{Oi()})})})}},"\u53D1\u5E03")))}].filter(Wt=>!Wt.hidden)}),Ge.createElement(wn.Z,{current:Bt.page,total:(Sn==null?void 0:Sn.items_count)||(Sn==null?void 0:Sn.shixuns_count),style:{marginBottom:20},defaultPageSize:Bt.per_page,hideOnSinglePage:!(Sn!=null&&Sn.items_count),showTotal:Wt=>Ge.createElement("span",null,"\u5171\xA0",Ge.createElement("span",{style:{color:"#165DFF"}},Wt),"\xA0\u6761\u6570\u636E"),pageSize:Bt.per_page,onChange:(Wt,Nn)=>{Bt.page=Wt,Bt.per_page=Nn,jn(Ut({},Bt)),hr(Ut({},Bt))}}),Ge.createElement("div",{className:yt.bottom},Ge.createElement(Tt.ZP,{className:yt.no,onClick:()=>{fn(!1)}},"\u53D6\u6D88"),Ge.createElement(Tt.ZP,{loading:bt,style:{width:bt&&75},className:yt.yes,onClick:()=>rn(void 0,null,function*(){if((Un==null?void 0:Un.length)<=0){te.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}mt([...Dr.current],[...kn.current],!0,Un==null?void 0:Un.length)})},"\u786E\u8BA4"))),Ge.createElement(Lt.default,{open:Zi,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:yt.previewModal,width:1e3,centered:!0,onCancel:()=>{cr(!1)},onOk:()=>{cr(!1)}},Ge.createElement(ft,{qitem:xi})))};var mi=(0,be.connect)(({shixunsDetail:fn,user:on})=>({shixunsDetail:fn,user:on}))(vn),wi=ye(37010),Ri=ye(61186),Wi=ye.n(Ri),Mn=ye(59301),nr=Object.defineProperty,Wr=Object.defineProperties,Hr=Object.getOwnPropertyDescriptors,Tr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,Kr=(fn,on,mt)=>on in fn?nr(fn,on,{enumerable:!0,configurable:!0,writable:!0,value:mt}):fn[on]=mt,ar=(fn,on)=>{for(var mt in on||(on={}))Fr.call(on,mt)&&Kr(fn,mt,on[mt]);if(Tr)for(var mt of Tr(on))Yr.call(on,mt)&&Kr(fn,mt,on[mt]);return fn},Co=(fn,on)=>Wr(fn,Hr(on)),$n=(fn,on)=>{var mt={};for(var Pt in fn)Fr.call(fn,Pt)&&on.indexOf(Pt)<0&&(mt[Pt]=fn[Pt]);if(fn!=null&&Tr)for(var Pt of Tr(fn))on.indexOf(Pt)<0&&Yr.call(fn,Pt)&&(mt[Pt]=fn[Pt]);return mt},Ce=(fn,on,mt)=>new Promise((Pt,bt)=>{var tt=xt=>{try{dn(mt.next(xt))}catch(Ye){bt(Ye)}},qt=xt=>{try{dn(mt.throw(xt))}catch(Ye){bt(Ye)}},dn=xt=>xt.done?Pt(xt.value):Promise.resolve(xt.value).then(tt,qt);dn((mt=mt.apply(fn,on)).next())});const hi=({title:fn,icon:on,className:mt,style:Pt,children:bt})=>Mn.createElement("div",{className:Rt()(Oe.card,mt),style:Pt},Mn.createElement("div",{className:Oe.head},Mn.createElement("i",{className:on}),Mn.createElement("b",null,fn)),Mn.createElement("div",{className:Oe.element},bt)),ki=fn=>{var on=fn,{value:mt,onChange:Pt}=on,bt=$n(on,["value","onChange"]);return Mn.createElement(vt.Z,Co(ar({},bt),{defaultValue:mt,onChange:Pt}))},un=({value:fn=[],onChange:on,params:mt,className:Pt})=>{const[bt,tt]=(0,Se.useState)(!1),[qt,dn]=(0,Se.useState)([]),[xt,Ye]=(0,Se.useState)(""),[an,Bt]=(0,Se.useState)([]),[jn,cn]=(0,Se.useState)("");(0,Se.useEffect)(()=>{Et()},[]);function Et(){return Ce(this,null,function*(){let xn=yield(0,Kn.ZP)(`/api/courses/${mt==null?void 0:mt.coursesId}/teachers`,{method:"get",params:{homework_id:mt.categoryId,limit:1e3}});Bt((xn==null?void 0:xn.teacher_list)||[])})}return Mn.createElement(Se.Fragment,null,Mn.createElement("div",{className:Rt()(Oe.collaborator,Pt)},fn==null?void 0:fn.map(xn=>Mn.createElement(ke.Z,{align:"middle",className:`${Oe.btn} ${jn==(xn==null?void 0:xn.user_id)?Oe.delBorder:""}`,key:xn.user_id},Mn.createElement("span",{className:"c-grey-333"},xn==null?void 0:xn.name),Mn.createElement("span",{className:`iconfont icon-guanbi11 current ml20 c-grey-ccc ${Oe.delSty}`,onMouseEnter:()=>{cn(xn==null?void 0:xn.user_id)},onMouseLeave:()=>{cn("")},onClick:()=>{const Qn=fn.filter(Un=>Un.user_id!==xn.user_id);dn(Qn.map(Un=>Un.user_id)),on(Qn)}}))),Mn.createElement(Tt.ZP,{className:Oe.copHover,style:{height:38,padding:"6px 15px"},type:"primary",ghost:!0,onClick:()=>tt(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),Mn.createElement(Lt.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:bt,onCancel:()=>tt(!1),onOk:()=>{const xn=an.filter(Qn=>qt.includes(Qn.user_id));on(xn),tt(!1)},afterClose:()=>{Ye("")}},Mn.createElement(ke.Z,{align:"middle"},Mn.createElement("label",null,"\u59D3\u540D\uFF1A"),Mn.createElement(et.default.Search,{value:xt,size:"middle",style:{flex:1},onChange:xn=>Ye(xn.target.value)})),Mn.createElement(gt.default,{style:{marginTop:10,height:300,overflow:"auto"},rowSelection:{type:"checkbox",onChange:xn=>{dn(xn)},selectedRowKeys:qt,getCheckboxProps:xn=>({disabled:xn.is_collaborator})},pagination:!1,rowKey:"user_id",size:"middle",dataSource:an.filter(xn=>xn.name.includes(xt)),columns:[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u89D2\u8272",dataIndex:"role"}]})))};var li=()=>{var fn;const on=(0,be.useParams)(),mt=(0,be.useDispatch)(),[Pt]=ct.default.useForm(),bt=ct.default.useWatch("hack_score_settings",Pt),tt=ct.default.useWatch("open_code",Pt),qt=ct.default.useWatch("rank_forbidden",Pt),dn=ct.default.useWatch("hack_analysis",Pt),xt=ct.default.useWatch("hack_answer",Pt),[Ye,an]=(0,Se.useState)([]),[Bt,jn]=(0,Se.useState)({}),[cn,Et]=(0,Se.useState)({course_end_date:null,manage_all_group:!0,send_type:0,can_publish:!0,difficult_settings:[],difficult_count:[],unified_setting:!0}),[xn,Qn]=(0,Se.useState)(!0),[Un,zt]=(0,Se.useState)(!1),[Sn,Ci]=(0,Se.useState)(!1),[Si,vi]=(0,Se.useState)({}),[ti,xi]=(0,Se.useState)(!1),[Ni,Zi]=(0,Se.useState)(!1),cr=(0,Se.useRef)(!1),Gn=(0,Se.useRef)(String(Math.random()).slice(-6)),Ai=(fn=window.location.pathname)==null?void 0:fn.includes("add");(0,Se.useEffect)(()=>(window.addEventListener("visibilitychange",br),()=>{window.removeEventListener("visibilitychange",br)}),[Ye,Si]),(0,Se.useEffect)(()=>(mt({type:"globalSetting/footerToggle",payload:!1}),()=>{mt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Se.useEffect)(()=>{Ye.length&&bt!==void 0&&Hi()},[bt,JSON.stringify(Ye==null?void 0:Ye.map(Ti=>Ti.id+Ti.hack_score))]),(0,Se.useEffect)(()=>{kr(),Ai?Qn(!1):Sr()},[]);const br=()=>Ce(void 0,null,function*(){var Ti;if(document.visibilityState==="visible"){Zi(!0);let Qi=Ye.map(Dr=>Dr.id),er=localStorage.getItem(Gn.current);er&&(er=JSON.parse(er),er=Array.isArray(er)?er:[],Qi=[...Qi,...er],localStorage.removeItem(Gn.current));const kn=yield(0,Kn.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:Qi.length?Qi:-1,homework_common_id:Ai?null:Si==null?void 0:Si.homework_id}});if(kn!=null&&kn.items){const Dr=(Ti=kn==null?void 0:kn.items)==null?void 0:Ti.map(Ln=>{const pr=Ye.find(Qr=>Qr.id===Ln.id);return pr?Co(ar({},Ln),{hack_score:pr.hack_score}):Ln});an(Dr)}Zi(!1)}}),kr=()=>Ce(void 0,null,function*(){const Ti=yield(0,Kn.ZP)(`/api/courses/${on.coursesId}/homework_commons/new.json`,{method:"get",params:{category:on==null?void 0:on.categoryId,type:5}});Ti!=null&&Ti.course_name&&jn(Ti)}),Sr=()=>Ce(void 0,null,function*(){var Ti,Qi;const er=yield(0,Kn.ZP)(`/api/homework_commons/${on==null?void 0:on.categoryId}/edit_hack.json`,{method:"get"});if((er==null?void 0:er.status)===0){const kn=(Ti=er==null?void 0:er.collaborators_data)==null?void 0:Ti.map(Ln=>({user_id:Ln.id,name:Ln.real_name}));Pt.setFieldsValue(Co(ar({},er),{user_ids:kn,rank_forbidden_start:er!=null&&er.rank_forbidden_start?Wi()(er==null?void 0:er.rank_forbidden_start):"",rank_forbidden_end:er!=null&&er.rank_forbidden_end?Wi()(er==null?void 0:er.rank_forbidden_end):""}));const Dr=(Qi=er==null?void 0:er.items)==null?void 0:Qi.map((Ln,pr)=>{var Qr,vr;return Co(ar({},Ln),{hack_score:(vr=(Qr=er==null?void 0:er.hack_settings)==null?void 0:Qr[pr])==null?void 0:vr.hack_score})});an(Dr||[]),vi(ar({},er))}Qn(!1)}),Xt=()=>{let Ti=`/classrooms/${on==null?void 0:on.coursesId}/program_homework`;return Ai||(Ti=`/classrooms/${on==null?void 0:on.coursesId}/program_homework/${on==null?void 0:on.categoryId}/detail`),Ti},Li=[{name:(Bt==null?void 0:Bt.course_name)||"",path:`/classrooms/${Bt==null?void 0:Bt.course_id}/program_homework`},{name:Ai?"\u7F16\u7A0B\u4F5C\u4E1A":Si==null?void 0:Si.name,path:Xt()},{name:(Ai?"\u65B0\u5EFA":"\u7F16\u8F91")+"\u7F16\u7A0B\u4F5C\u4E1A"}],rr=[{title:"\u5E8F\u53F7",dataIndex:"index",width:80,render:(Ti,Qi,er)=>er+1},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,render:Ti=>Mn.createElement(wt.Z,{placement:"topLeft",title:Ti},Mn.createElement("span",null,Ti||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(Ti,Qi,er)=>Mn.createElement(Me.Z,{disabled:bt!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:Ti,onChange:kn=>{Ye[er].hack_score=kn;const Dr=Ye.reduce((Ln,pr)=>Ln+Number(pr.hack_score||0),0);Pt.setFieldsValue({total_score:Dr.toFixed(2)}),an([...Ye])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:Ti=>Mn.createElement("span",null,Ti===1?"\u7B80\u5355":Ti===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:Ti=>Mn.createElement(wt.Z,{placement:"topLeft",title:Ti},Mn.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},Ti||"--"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes"},{title:"\u64CD\u4F5C",dataIndex:"action",width:146,render:(Ti,Qi)=>Mn.createElement("span",null,Mn.createElement("span",{onClick:()=>Ce(void 0,null,function*(){var er;mt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let kn=yield(0,Kn.ZP)(`/api/problems/${(er=Qi==null?void 0:Qi.program_attr)==null?void 0:er.identifier}/start.json`,{method:"get"});(kn==null?void 0:kn.status)===0&&(0,ve.xg)(`/myproblems/${kn==null?void 0:kn.identifier}?type=1&pageId=edit&backUrl=${Xt()}`),mt({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),Mn.createElement("span",{onClick:()=>{var er;return(0,ve.xg)(`/problems/newedit/${(er=Qi==null?void 0:Qi.program_attr)==null?void 0:er.identifier}?type=1&pageId=edit&backUrl=${window.location.pathname}`)},className:"c-light-primary current mr20 ml20"},"\u7F16\u8F91"),Mn.createElement("span",{onClick:()=>{const er=Ye.filter(kn=>kn.id!==Qi.id);an(er),te.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],Hi=()=>{const Ti=[...Ye],Qi=Pt.getFieldValue("total_score"),er=Ti==null?void 0:Ti.length;let kn=0,Dr;switch(bt){case 0:const Ln=(Qi/er).toFixed(2);Ti.map((fr,Vr)=>{kn=Vr,fr.hack_score=Ln>0?Ln:0}),Dr=(Qi-Ln*(er-1)).toFixed(2),Ti[kn].hack_score=Dr>0?Dr:0;break;case 1:const pr=[0,1,3,6];let Qr=0;const vr=Ti.filter(fr=>fr.difficulty===1).length*pr[1],Ho=Ti.filter(fr=>fr.difficulty===2).length*pr[2],co=Ti.filter(fr=>fr.difficulty===3).length*pr[3],mr=Qi/(vr+Ho+co);Ti.map((fr,Vr)=>{kn=Vr,fr.hack_score=(pr[fr.difficulty]*mr).toFixed(2),Qr=Qr+Number(fr.hack_score)});let hr=Ti[kn].hack_score;Dr=(Qi-Qr+Number(hr)).toFixed(2),Ti[kn].hack_score=Dr>0?Dr:0;break}an(Ti)},Er=Ti=>{cr.current=Ti,Pt.submit()},dr=Ti=>Ce(void 0,null,function*(){var Qi;if(!Ye.length){te.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),Pt.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}xi(!0);const er=[],kn=Ye.map(pr=>(er.push(pr.hack_id),{hack_id:pr.hack_id,hack_name:pr.name,hack_score:pr.hack_score,difficult:pr.difficulty})),Dr=(Qi=Ti==null?void 0:Ti.user_ids)==null?void 0:Qi.map(pr=>pr.user_id),Ln=yield(0,Kn.ZP)(`/api/courses/${on.coursesId}/homework_commons/create_hack_homework.json`,{method:"post",body:Co(ar({},Ti),{category:Ai?Number(on==null?void 0:on.categoryId):null,homework_id:Ai?null:Si==null?void 0:Si.homework_id,hack_settings:kn,user_ids:Dr,hack_ids:er})});if((Ln==null?void 0:Ln.status)===0)if(te.ZP.success("\u4FDD\u5B58\u6210\u529F"),cr.current){const pr=ar({},Ln);Et(pr),mt({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Ln==null?void 0:Ln.id],selectArrsAll:[pr],params:on,detail:!0,type:2,manage_all_group:pr==null?void 0:pr.manage_all_group}})}else be.history.push(`/classrooms/${on.coursesId}/program_homework/${Ln==null?void 0:Ln.id}/detail`);xi(!1)}),Nr=Ti=>Ce(void 0,null,function*(){if(!Ti.length){te.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898");return}if(Ti.length>200){te.ZP.warning("\u7F16\u7A0B\u9898\u6570\u91CF\u4E0D\u5F97\u8D85\u8FC7200\u9053");return}const Qi=[],er=Ye.map(Ln=>{var pr;return(pr=Ln.program_attr)==null?void 0:pr.origin_item_bank_id}),kn=[];Ti.forEach(Ln=>{if(er.includes(Ln)){const pr=Ye.find(Qr=>{var vr;return((vr=Qr.program_attr)==null?void 0:vr.origin_item_bank_id)===Ln});kn.push(pr)}else Qi.push(Ln)}),Ci(!0);const Dr=yield(0,Kn.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:Qi}});if(Dr!=null&&Dr.items){const Ln=[...kn,...Dr==null?void 0:Dr.items];if(bt===2){const pr=Ln.reduce((Qr,vr)=>Qr+Number(vr.hack_score||0),0);Pt.setFieldsValue({total_score:pr.toFixed(2)})}an(Ln),zt(!1)}Ci(!1)});return Mn.createElement("div",{className:Oe.wrap},Mn.createElement(ne.Z,{spinning:xn},Mn.createElement("div",{className:Oe.center},Mn.createElement(_e._b,{dataSource:Li,className:"mb20"}),Mn.createElement(ct.default,{form:Pt,preserve:!1,onValuesChange:Ti=>{"total_score"in Ti&&Hi()},onFinishFailed:Ti=>Ce(void 0,null,function*(){var Qi,er;te.ZP.error(Ti.errorFields[0].errors[0]),Pt.scrollToField((er=(Qi=Ti==null?void 0:Ti.errorFields)==null?void 0:Qi[0])==null?void 0:er.name,{behavior:"smooth",block:"center"})}),onFinish:dr,colon:!1,size:"large"},Mn.createElement(hi,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},Mn.createElement(ct.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"}]},Mn.createElement(et.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),Mn.createElement(ct.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"}]},Mn.createElement(ki,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0}))),Mn.createElement(hi,{className:"mb20",title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},Mn.createElement(ct.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},Mn.createElement(ce.default.Group,null,Mn.createElement(ce.default,{value:"c"},"C\u8BED\u8A00"),Mn.createElement(ce.default,{value:"c++"},"C++\u8BED\u8A00"),Mn.createElement(ce.default,{value:"java"},"Java\u8BED\u8A00"),Mn.createElement(ce.default,{value:"python"},"Python\u8BED\u8A00"))),Mn.createElement(ke.Z,{align:"middle"},Mn.createElement(ct.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},Mn.createElement(Me.Z,{precision:1,disabled:bt===2,min:0,style:{width:223},addonAfter:"\u5206"})),Mn.createElement(ct.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},Mn.createElement(Me.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),Mn.createElement(ct.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},Mn.createElement(se.ZP.Group,null,Mn.createElement(se.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),Mn.createElement(se.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),Mn.createElement(se.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),Mn.createElement(ke.Z,{align:"middle"},Mn.createElement("span",null,"\u9898\u76EE\u5217\u8868"),Mn.createElement(Tt.ZP,{onClick:()=>zt(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),Mn.createElement(Tt.ZP,{onClick:()=>(0,ve.xg)(`/problems/newcreate?pageId=${Gn.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),Mn.createElement("div",{className:Oe.tip},Mn.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"),Mn.createElement(ct.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},Mn.createElement(mn,{dataSource:Ye,setDataSource:an,columns:rr,loading:Ni}))),Mn.createElement(hi,{style:{marginBottom:100},title:"\u4F5C\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-zuoyeshezhi"},Mn.createElement("div",{className:Oe.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),Mn.createElement("div",{className:`${Oe.content} mb30`},Mn.createElement(ct.default.Item,{name:"hack_rank_rule",noStyle:!0,initialValue:0},Mn.createElement(se.ZP.Group,null,Mn.createElement(se.ZP,{value:0},Mn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),Mn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),Mn.createElement(se.ZP,{style:{marginLeft:40},value:1},Mn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),Mn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09"))))),Mn.createElement("div",{className:`${Oe.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),Mn.createElement("div",{className:Oe.content},Mn.createElement(ct.default.Item,{name:"show_late_code",noStyle:!0,valuePropName:"checked",initialValue:!0},Mn.createElement(ce.default,null,Mn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),Mn.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")))),Mn.createElement("div",{className:`${Oe.title} mt30`},"\u516C\u5F00\u8BBE\u7F6E"),Mn.createElement("div",{className:Oe.content},Mn.createElement(ct.default.Item,{name:"score_open",valuePropName:"checked",className:"mb0",initialValue:!1},Mn.createElement(ce.default,null,Mn.createElement("span",{className:"c-black"},"\u516C\u5F00\u6210\u7EE9"),Mn.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"))),Mn.createElement(ct.default.Item,{name:"open_code",valuePropName:"checked",className:"mb0",initialValue:!1},Mn.createElement(ce.default,null,Mn.createElement("span",{className:"c-black"},"\u516C\u5F00\u4EE3\u7801"),Mn.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"))),!!tt&&Mn.createElement(ct.default.Item,{name:"open_code_type",className:"mb0 ml25",initialValue:1},Mn.createElement(se.ZP.Group,null,Mn.createElement(se.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Mn.createElement(se.ZP,{style:{marginLeft:60},value:0},"\u4EFB\u610F\u65F6\u95F4"))),Mn.createElement(ct.default.Item,{name:"rank_forbidden",valuePropName:"checked",className:"mb0",initialValue:!1},Mn.createElement(ce.default,null,Mn.createElement("span",{className:"c-black"},"\u5F00\u542F\u5C01\u699C"),Mn.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"))),!!qt&&Mn.createElement(ke.Z,{align:"middle",className:"ml25"},Mn.createElement(ct.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"},Mn.createElement(ge.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:ve.Q8,disabledTime:ve.d0})),Mn.createElement(ct.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"},Mn.createElement(ge.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:ve.Q8,disabledTime:ve.d0}))),Mn.createElement(ct.default.Item,{name:"hack_analysis",valuePropName:"checked",className:"mb0",initialValue:!1},Mn.createElement(ce.default,null,Mn.createElement("span",{className:"c-black"},"\u516C\u5F00\u89E3\u6790"),Mn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09"))),!!dn&&Mn.createElement(ct.default.Item,{name:"hack_analysis_type",className:"mb0 ml25",initialValue:2},Mn.createElement(se.ZP.Group,null,Mn.createElement(se.ZP,{value:2},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Mn.createElement(se.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4"),Mn.createElement(se.ZP,{style:{marginLeft:60},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),Mn.createElement(ct.default.Item,{name:"hack_answer",valuePropName:"checked",className:"mb0",initialValue:!1},Mn.createElement(ce.default,null,Mn.createElement("span",{className:"c-black"},"\u516C\u5F00\u7B54\u6848"),Mn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09"))),!!xt&&Mn.createElement(ct.default.Item,{name:"hack_answer_type",className:"mb0 ml25",initialValue:1},Mn.createElement(se.ZP.Group,null,Mn.createElement(se.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Mn.createElement(se.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4")))),Mn.createElement("div",{className:`${Oe.title} mt30`},"\u534F\u4F5C\u8BBE\u7F6E"),Mn.createElement(ct.default.Item,{name:"user_ids",noStyle:!0,initialValue:[]},Mn.createElement(un,{params:on}))))),Mn.createElement("div",{className:Oe.fixedBtns},Mn.createElement(ke.Z,{align:"middle",className:Oe.center},Mn.createElement(Tt.ZP,{onClick:()=>be.history.push(Xt()),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),Mn.createElement(Tt.ZP,{loading:ti&&!cr.current,disabled:ti&&cr.current,onClick:()=>Er(!1),style:{marginLeft:"auto",marginRight:20,padding:"6px 40px"},type:"primary",ghost:!0},"\u4FDD\u5B58\u4F5C\u4E1A"),Mn.createElement(Tt.ZP,{loading:ti&&cr.current,disabled:ti&&!cr.current,onClick:()=>Er(!0),style:{padding:"6px 19px"},type:"primary"},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u4F5C\u4E1A")))),Mn.createElement(mi,{setScoreShow:zt,isshixuns:!1,ScoreShow:Un,virtualId:Gn.current,isloadings:Sn,onOk:Nr,selectedIds:Ye.map(Ti=>{var Qi;return(Qi=Ti.program_attr)==null?void 0:Qi.origin_item_bank_id})||[]}),Mn.createElement(wi.Z,{courseEndTime:cn==null?void 0:cn.course_end_date,onWindowBack:()=>{window.location.href=`/classrooms/${on==null?void 0:on.coursesId}/program_homework/${cn==null?void 0:cn.id}/detail`}}))}},37010:function(Rn,Fn,ye){"use strict";var Se=ye(59301),Oe=ye(78241),He=ye(8591),Rt=ye(43418),_e=ye(95237),vt=ye(5112),ke=ye(88897),Tt=ye(43604),Lt=ye(78550),et=ye(24905),gt=ye(61186),ct=ye.n(gt),wt=ye(70635),Me=ye(2119),te=ye(58130),ne=ye(42203),ce=ye(706),se=ye(16597),ge=ye(66539),ve=ye(59301),be=Object.defineProperty,Fe=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Xe=(Zt,Yt,Ot)=>Yt in Zt?be(Zt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Zt[Yt]=Ot,ht=(Zt,Yt)=>{for(var Ot in Yt||(Yt={}))We.call(Yt,Ot)&&Xe(Zt,Ot,Yt[Ot]);if(Ie)for(var Ot of Ie(Yt))Ke.call(Yt,Ot)&&Xe(Zt,Ot,Yt[Ot]);return Zt},Ve=(Zt,Yt)=>Fe(Zt,Pe(Yt)),Nt=(Zt,Yt)=>{var Ot={};for(var Qt in Zt)We.call(Zt,Qt)&&Yt.indexOf(Qt)<0&&(Ot[Qt]=Zt[Qt]);if(Zt!=null&&Ie)for(var Qt of Ie(Zt))Yt.indexOf(Qt)<0&&Ke.call(Zt,Qt)&&(Ot[Qt]=Zt[Qt]);return Ot},qe=(Zt,Yt,Ot)=>new Promise((Qt,dt)=>{var Re=mn=>{try{Pn(Ot.next(mn))}catch(kt){dt(kt)}},Mt=mn=>{try{Pn(Ot.throw(mn))}catch(kt){dt(kt)}},Pn=mn=>mn.done?Qt(mn.value):Promise.resolve(mn.value).then(Re,Mt);Pn((Ot=Ot.apply(Zt,Yt)).next())});const Ht=Zt=>{var Yt=Zt,{classroomList:Ot,dispatch:Qt,courseEndTime:dt,onWindowBack:Re}=Yt,Mt=Nt(Yt,["classroomList","dispatch","courseEndTime","onWindowBack"]),Pn,mn,kt,_t,ln,Bn,wn,Kn,yt,Jn,bn,ci,Tn,tn,$t,ft,Je,Gt,At,lt,Ge,Be,we,pe,De,ze,Le,nt,Ut,En,rn,vn,mi,wi,Ri,Wi,Mn,nr,Wr;const Hr=(0,ne.useParams)(),[Tr]=Oe.default.useForm(),[Fr,Yr]=(0,Se.useState)(1),[Kr,ar]=(0,Se.useState)([]),[Co,$n]=(0,Se.useState)(0),[Ce,hi]=(0,Se.useState)(2e3),[ki,un]=(0,Se.useState)(!0),[Wn,li]=(0,Se.useState)(!1),[fn,on]=(0,Se.useState)(!1),[mt,Pt]=(0,Se.useState)([]),[bt,tt]=(0,Se.useState)(!0),[qt,dn]=(0,Se.useState)(!((kt=(mn=(Pn=Ot.actionTabs)==null?void 0:Pn.selectArrsAll)==null?void 0:mn[0])!=null&&kt.send_type));let[xt,Ye]=(0,Se.useState)([0,0,0]);(0,Se.useEffect)(()=>{var Un,zt,Sn,Ci,Si,vi,ti,xi,Ni,Zi,cr,Gn,Ai;if(Ot.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(cn(),(Sn=(zt=(Un=Ot.actionTabs)==null?void 0:Un.selectArrsAll)==null?void 0:zt[0])!=null&&Sn.can_publish?Ye([...(Ni=(xi=(ti=Ot.actionTabs)==null?void 0:ti.selectArrsAll)==null?void 0:xi[0])==null?void 0:Ni.difficult_count]):Ye([...(vi=(Si=(Ci=Ot.actionTabs)==null?void 0:Ci.selectArrsAll)==null?void 0:Si[0])==null?void 0:vi.difficult_settings]),dn(!((Gn=(cr=(Zi=Ot.actionTabs)==null?void 0:Zi.selectArrsAll)==null?void 0:cr[0])!=null&&Gn.send_type)),an(),Ot.actionTabs.type===2){const br=(Ai=Ot.actionTabs.selectArrsAll)==null?void 0:Ai[0];tt(br.unified_setting)}else tt(!1)},[Ot.actionTabs]),(0,Se.useEffect)(()=>{if(Wn){if(fn)return;Qt({type:"classroomList/setActionTabs",payload:{}}),(0,Me.GJ)()?(Qt({type:"classroomList/getClassroomTeacherCommonList",payload:Ve(ht({},Ot.actionTabs.params),{type:1})}),Qt({type:"shixunHomeworks/getWorkList",payload:ht({},Hr)})):Qt({type:"classroomList/getClassroomCommonList",payload:ht({},Ot.actionTabs.params)})}},[Wn]);const an=Un=>qe(void 0,null,function*(){un(!0);const zt=yield(0,se.c_)(Ve(ht({},Hr),{page:Un||Fr,limit:2e4,homework_id:Ot.actionTabs.type===1?"":Ot.actionTabs.selectArrs[0]}));zt==null||zt.course_groups.map((Sn,Ci)=>{Sn.key=Sn.id,Sn.title=Sn.name,Sn.disabled=Sn.is_published}),zt&&(ar([...zt==null?void 0:zt.course_groups]),$n(zt==null?void 0:zt.course_groups_count),un(!1),Un||Tr.setFieldsValue({publish_time:ct()(ct()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:ct()(ct()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Bt=()=>{(0,Me.GJ)()?Ot.actionTabs.detail?(Qt({type:"shixunHomeworks/setActionTabs",payload:{}}),Qt({type:"shixunHomeworks/getWorkList",payload:ht({},Hr)}),Qt({type:"shixunHomeworks/getWorkSetting",payload:ht({},Hr)})):Qt({type:"classroomList/getClassroomTeacherCommonList",payload:Ve(ht({},Ot.actionTabs.params),{type:5,category:Ot.actionTabs.params.categoryId})}):Qt({type:"classroomList/getClassroomCommonList",payload:ht({},Ot.actionTabs.params)})},jn=()=>qe(void 0,null,function*(){var Un,zt;if((0,Me.Rm)()&&!((Un=Ot.AssistantObject.hack)!=null&&Un.can_publish)){He.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),Qn(!1);return}const Sn=ht({},Tr.getFieldsValue());if(Sn.end_time<=Sn.publish_time){He.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Qn(!1);return}if((mt==null?void 0:mt.length)<=0&&!bt&&Kr.length>0){He.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Qn(!1);return}if(xt.reduce((vi,ti)=>vi+ti)===0&&!qt){He.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),Qn(!1);return}let Ci={homework_ids:[...Ot.actionTabs.selectArrs],group_ids:mt.length>0?mt.map(vi=>vi.id):(zt=Ot.detailCommonHomeworksList)==null?void 0:zt.course_groups,end_time:ct()(Sn.end_time).format("YYYY-MM-DD HH:mm"),publish_time:ct()(Sn.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:xt==null?void 0:xt.map(vi=>vi),send_type:qt?"0":"1",unified_setting:!mt.length};if(Qn(!0),(yield(0,wt.ZP)(`/api/courses/${Hr.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:ht({},Ci)})).status===0){if(Qn(!1),(0,te.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),He.ZP.success("\u53D1\u5E03\u6210\u529F"),Qt({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),Re){Re();return}Mt.onCallback&&Mt.onCallback(),Bt(),localStorage.getItem("Noviceguide")==="0"||Qt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:ve.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 Qn(!1)}),cn=()=>{Yr(1),ar([]),Pt([])},Et=Co>Fr*Ce,[xn,Qn]=(0,Se.useState)(!1);return ve.createElement(Rt.default,{width:600,confirmLoading:xn,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Ot.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:jn,onCancel:()=>{if(cn(),Qt({type:"classroomList/setActionTabs",payload:{}}),Re){Re();return}Bt()}},ve.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",ve.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),Kr&&ve.createElement(Oe.default,{form:Tr},ve.createElement("div",{style:{paddingLeft:0}},Ot.actionTabs.type===2&&ve.createElement(_e.Z,{style:{marginBottom:"10px"}},ve.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),ve.createElement(vt.ZP.Group,{value:qt,disabled:!((Bn=(ln=(_t=Ot.actionTabs)==null?void 0:_t.selectArrsAll)==null?void 0:ln[0])!=null&&Bn.can_publish),onChange:Un=>{dn(Un.target.value)}},ve.createElement(vt.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),ve.createElement(vt.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!qt&&ve.createElement(_e.Z,{style:{marginBottom:"10px"}},ve.createElement("span",{style:{marginRight:65}}),ve.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",ve.createElement(ke.Z,{value:xt[0],onChange:Un=>{xt[0]=Un,Ye([...xt])},min:0,disabled:!((yt=(Kn=(wn=Ot.actionTabs)==null?void 0:wn.selectArrsAll)==null?void 0:Kn[0])!=null&&yt.can_publish),placeholder:`\u6700\u5927${(Tn=(ci=(bn=(Jn=Ot.actionTabs)==null?void 0:Jn.selectArrsAll)==null?void 0:bn[0])==null?void 0:ci.difficult_count)==null?void 0:Tn[0]}`,max:(Je=(ft=($t=(tn=Ot.actionTabs)==null?void 0:tn.selectArrsAll)==null?void 0:$t[0])==null?void 0:ft.difficult_count)==null?void 0:Je[0],style:{width:60}})),ve.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",ve.createElement(ke.Z,{value:xt[1],onChange:Un=>{xt[1]=Un,Ye([...xt])},min:0,disabled:!((lt=(At=(Gt=Ot.actionTabs)==null?void 0:Gt.selectArrsAll)==null?void 0:At[0])!=null&<.can_publish),max:(pe=(we=(Be=(Ge=Ot.actionTabs)==null?void 0:Ge.selectArrsAll)==null?void 0:Be[0])==null?void 0:we.difficult_count)==null?void 0:pe[1],placeholder:`\u6700\u5927${(nt=(Le=(ze=(De=Ot.actionTabs)==null?void 0:De.selectArrsAll)==null?void 0:ze[0])==null?void 0:Le.difficult_count)==null?void 0:nt[1]}`,style:{width:60}})),ve.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",ve.createElement(ke.Z,{value:xt[2],onChange:Un=>{xt[2]=Un,Ye([...xt])},min:0,disabled:!((rn=(En=(Ut=Ot.actionTabs)==null?void 0:Ut.selectArrsAll)==null?void 0:En[0])!=null&&rn.can_publish),placeholder:`\u6700\u5927${(Ri=(wi=(mi=(vn=Ot.actionTabs)==null?void 0:vn.selectArrsAll)==null?void 0:mi[0])==null?void 0:wi.difficult_count)==null?void 0:Ri[2]}`,max:(Wr=(nr=(Mn=(Wi=Ot.actionTabs)==null?void 0:Wi.selectArrsAll)==null?void 0:Mn[0])==null?void 0:nr.difficult_count)==null?void 0:Wr[2],style:{width:60}}))),ve.createElement(_e.Z,{className:"mt30",align:"middle"},ve.createElement(Tt.Z,null,ve.createElement(Oe.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},ve.createElement(Lt.default,{style:{width:170,marginRight:"25px"},disabledDate:Un=>(0,ge.Q8)(Un,dt),disabledTime:Un=>(0,ge.d0)(Un),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ct()((0,te.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),ve.createElement(Tt.Z,{className:"ml20"},ve.createElement(Oe.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},ve.createElement(Lt.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ct()((0,te.U6)(),"HH:mm")},disabledDate:Un=>(0,ge.Q8)(Un,dt,Tr.getFieldValue("publish_time")),disabledTime:Un=>(0,ge.d0)(Un,Tr.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Ot.actionTabs.type===2&&ve.createElement(_e.Z,{style:{marginBottom:"10px"}},ve.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),ve.createElement(vt.ZP.Group,{value:bt,onChange:Un=>{tt(Un.target.value),Pt([])}},ve.createElement(vt.ZP,{value:!0,disabled:!Ot.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),ve.createElement(vt.ZP,{className:"ml20",disabled:Kr.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Kr.length<=0&&Ot.actionTabs.type===2&&ve.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"')),(Ot.actionTabs.type===1||!bt)&&Kr.length>0&&ve.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ve.createElement("span",{style:{flex:1}},ve.createElement(et.default,{checked:mt.length===Kr.length,onChange:Un=>{mt.length===Kr.length?Pt([]):Pt(Kr.filter(zt=>!zt.is_published))}},"\u5168\u9009")," "),ve.createElement("span",{style:{width:16}}),ve.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",mt.length||0,"\u4E2A\u5206\u73ED")),(Ot.actionTabs.type===1||!bt)&&Kr.length>0&&ve.createElement(ce.Z,{data:Kr,selectedRowKeys:mt,setSelectedRowKeys:Pt})))};Fn.Z=(0,ne.connect)(({classroomList:Zt})=>({classroomList:Zt}))(Ht)},66539:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Q8:function(){return Re},d0:function(){return Mt},w6:function(){return dt}});var Se=ye(59301),Oe=ye(78550),He=ye(57809),Rt=ye(8591),_e=ye(43418),vt=ye(5112),ke=ye(95237),Tt=ye(43604),Lt=ye(6848),et=ye(24905),gt=ye(3113),ct=ye(61186),wt=ye.n(ct),Me=ye(2119),te=ye(70635),ne=ye(89392),ce=ye.n(ne),se=ye(58130),ge=ye(57534),ve=ye(42203),be=ye(46898),Fe=ye(18032),Pe=ye(30738),Ie=ye(83476),We=ye(20387),Ke=ye(59301),Xe=Object.defineProperty,ht=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Nt=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,Zt=(_t,ln,Bn)=>ln in _t?Xe(_t,ln,{enumerable:!0,configurable:!0,writable:!0,value:Bn}):_t[ln]=Bn,Yt=(_t,ln)=>{for(var Bn in ln||(ln={}))qe.call(ln,Bn)&&Zt(_t,Bn,ln[Bn]);if(Nt)for(var Bn of Nt(ln))Ht.call(ln,Bn)&&Zt(_t,Bn,ln[Bn]);return _t},Ot=(_t,ln)=>ht(_t,Ve(ln)),Qt=(_t,ln,Bn)=>new Promise((wn,Kn)=>{var yt=ci=>{try{bn(Bn.next(ci))}catch(Tn){Kn(Tn)}},Jn=ci=>{try{bn(Bn.throw(ci))}catch(Tn){Kn(Tn)}},bn=ci=>ci.done?wn(ci.value):Promise.resolve(ci.value).then(yt,Jn);bn((Bn=Bn.apply(_t,ln)).next())});function dt(_t,ln){const Bn=[];for(let wn=_t;wn{const wn=_twt()(ln).endOf("day"),yt=_t{const Bn=parseInt(wt()(_t).format("HH")),wn=parseInt(wt()().format("HH")),Kn=parseInt(wt()().format("mm"));if(!_t)return{disabledHours:()=>dt(0,wn),disabledMinutes:()=>dt(0,Kn)};if(ln){const yt=parseInt(wt()(ln).format("HH")),Jn=parseInt(wt()(ln).format("mm"));return wt()(_t).isSame(wt()(ln),"day")?{disabledHours:()=>dt(0,yt),disabledMinutes:()=>Bn<=yt?dt(0,Jn):[]}:void 0}if(wt()(_t).isSame(wt()(),"day"))return{disabledHours:()=>dt(0,wn),disabledMinutes:()=>wt()(_t).isSame(wt()(),"hour")&&Bn<=wn?dt(0,Kn):[]}},{RangePicker:Pn}=Oe.default,{Option:mn}=He.default,kt=({shixunHomeworks:_t,loading:ln,dispatch:Bn,classroomList:wn,user:Kn})=>{var yt,Jn,bn,ci,Tn,tn,$t,ft,Je;const Gt=(0,ve.useParams)(),{workSetting:At,workList:lt,shixunWorkList:Ge,headerInfo:Be,changeData:we}=_t,[pe,De]=(0,Se.useState)(!1),[ze,Le]=(0,Se.useState)(!1);let[nt,Ut]=(0,Se.useState)([]),[En,rn]=(0,Se.useState)([]),[vn,mi]=(0,Se.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:be.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[wi,Ri]=(0,Se.useState)({}),[Wi,Mn]=(0,Se.useState)({});(0,Se.useEffect)(()=>()=>{Ut([])},[]),(0,Se.useEffect)(()=>{De(!(0,Me.GJ)())},[(0,Me.GJ)()]);const nr=()=>{Bn({type:"shixunHomeworks/getWorkSetting",payload:Yt({},Gt)})};(0,Se.useEffect)(()=>{if(!(At!=null&&At.course_id))return;Object.keys(vn).map(function(hi){vn[hi]=At[hi]}),(!vn.allow_late||!vn.unified_late)&&(vn.late_penalty=20,vn.penalty_type=be.Q.Percent),vn.unified_setting||(vn.unified_late=!1,vn.unified_anonymous_comment=!1,vn.unified_anonymous_appeal=!1),nt=JSON.parse(JSON.stringify(At.group_settings.map(hi=>Ot(Yt({},hi),{group_name:[hi.group_name]})).filter(hi=>hi.publish_time!==null))),En=JSON.parse(JSON.stringify(At.allow_late_settings.map(hi=>Ot(Yt({},hi),{group_name:[hi.group_name]})).filter(hi=>hi.late_time!==null))),mi(Yt({},vn));const Ce=(0,se.QE)((nt==null?void 0:nt.length)>0?nt:[]);Ut([...Ce]),(En==null?void 0:En.length)<=0?rn([{penalty_type:be.Q.Percent,late_penalty:20}]):rn([...En])},[At]);const Wr=()=>Qt(void 0,null,function*(){var Ce,hi;if(((Ce=Kn==null?void 0:Kn.userInfo)==null?void 0:Ce.user_status)===2){(0,Fe.Rd)();return}const ki=JSON.parse(JSON.stringify(vn));if(ki.challenge_settings.filter(Wn=>!Wn.hide),ki.categoryId=Gt.categoryId,(hi=ki.challenge_settings)!=null&&hi.every(Wn=>!Wn.checked)){Rt.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(nt),!vn.unified_setting)nt=nt==null?void 0:nt.map(Wn=>{var li;if(!Wn.publish_time||!Wn.end_time)throw Rt.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(!Wn.group_name)throw Rt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Wn.group_name=typeof(Wn==null?void 0:Wn.group_name)=="string"?[Wn==null?void 0:Wn.group_name]:Wn==null?void 0:Wn.group_name,Wn.group_id=(li=At.group_settings)==null?void 0:li.filter(fn=>{var on;return(on=Wn==null?void 0:Wn.group_name)==null?void 0:on.includes(fn.group_name)}).map(fn=>fn.group_id||fn.id).toString().split(","),Wn});else if(!vn.publish_time||!vn.end_time)throw Rt.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(ki.group_settings=nt,vn.allow_late)if(vn.unified_late){if(vn.late_penalty===null||vn.late_penalty===void 0||vn.late_penalty<0||vn.late_penalty>100)throw Rt.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(!vn.late_time)throw Rt.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 En=En==null?void 0:En.map(Wn=>{var li,fn;if(Wn.late_penalty===null||Wn.late_penalty===void 0||Wn.late_penalty<0||Wn.late_penalty>100)throw Rt.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(!Wn.late_time)throw Rt.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Wn.group_name)throw Rt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Wn.group_name=typeof(Wn==null?void 0:Wn.group_name)=="string"?[Wn==null?void 0:Wn.group_name]:Wn==null?void 0:Wn.group_name,Wn.group_id=(fn=(li=Wn==null?void 0:Wn.group_name)==null?void 0:li.map(on=>{var mt,Pt;let bt=(Pt=(mt=At.group_settings)==null?void 0:mt.filter(tt=>(tt==null?void 0:tt.group_name)===on))==null?void 0:Pt[0];return bt==null?void 0:bt.group_id}))==null?void 0:fn.toString().split(","),Wn}),ki.allow_late_settings=En;let un=yield(0,We.Tr)({homework_common_ids:[parseInt(Gt.categoryId)],course_id:Gt.coursesId,type:"homework_common"});(un==null?void 0:un.student_count)===0?Hr(ki):(Mn(ki),Ri(un))}),Hr=Ce=>{var hi;if(Ce.total_score===null){Rt.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Ce!=null&&Ce.work_efficiency&&Ce.eff_score===null){Rt.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const ki=Ce.challenge_settings.reduce((li,fn)=>li+Number(fn.challenge_score),0);if((ki==null?void 0:ki.toFixed(10))!==((hi=Ce.total_score-Ce.eff_score)==null?void 0:hi.toFixed(10))){Rt.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Ce.total_score}\u5206`);return}const un={shixun_evaluation:Ce.shixun_evaluation,challenge_settings:Ce.challenge_settings};let Wn=()=>{var li;const fn=()=>Qt(void 0,null,function*(){Le(!0),(yield(0,te.ZP)(`/api/homework_commons/${Gt.categoryId}/publish_setting.json`,{method:"post",body:Yt({},Ce)})).status===0&&(Rt.ZP.success("\u66F4\u65B0\u6210\u529F"),nr(),Bn({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Yt({},Gt)})),Le(!1)});!(0,ne.isEqual)(we,un)&&!((li=Be==null?void 0:Be.homework_status)!=null&&li.includes("\u672A\u53D1\u5E03"))?_e.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:fn}):fn()};At!=null&&At.high_resources_consume&&!(At!=null&&At.high_resources_consume_permission)?Bn({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Gt.coursesId,type:"shixun",type_id:Gt.categoryId,name:At.homework_name,fn:()=>{Wn()}}}):Wn()},Tr=(Ce,hi,ki="group_id")=>{var un;return hi?hi.find(Wn=>Wn[ki]===Ce):(un=At==null?void 0:At.group_settings)==null?void 0:un.find(Wn=>Wn.group_id[0]===Ce)},Fr=(At==null?void 0:At.allow_late)||(At==null?void 0:At.anonymous_comment),Yr=Ce=>{var hi,ki;const un=Tr(Ce,At==null?void 0:At.allow_late_settings,"id"),Wn=Tr(Ce,At==null?void 0:At.anonymous_comment_settings),li=Tr(Ce);return(At==null?void 0:At.allow_late)&&un&&wt()(un==null?void 0:un.late_time)<=wt()()||(At==null?void 0:At.anonymous_comment)&&Wn&&(Wn==null?void 0:Wn.evaluation_start)!==null||((ki=(wt()(li==null?void 0:li.end_time)<=wt()()&&((hi=At==null?void 0:At.allow_late_settings)==null?void 0:hi.filter(fn=>fn.group_id.includes(Ce))))[0])==null?void 0:ki.late_time)!=null},Kr=(0,Se.useMemo)(()=>(At==null?void 0:At.allow_late)||(At==null?void 0:At.all_group_late),[At,Be]),ar=At==null?void 0:At.anonymous_comment,Co=Ce=>{if(!Ce)return!1;const hi=Tr(Ce,At==null?void 0:At.anonymous_comment_settings);return(At==null?void 0:At.anonymous_comment)&&hi&&(hi==null?void 0:hi.evaluation_start)!==null},$n=(Ce,hi)=>{var ki,un,Wn;Bn({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Ce,index:hi,rangePickerDisabled:pe||(wt()()<=wt()((un=Tr((ki=Ce==null?void 0:Ce.group_id)==null?void 0:ki[0]))==null?void 0:un.publish_time)?!1:[!0,Yr((Wn=Ce==null?void 0:Ce.group_id)==null?void 0:Wn[0])]),disabledDate:At==null?void 0:At.course_end_date}})};return Ke.createElement("section",{className:ge.Z.form},Ke.createElement("div",{className:ge.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Ke.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")),Ke.createElement("div",null,Ke.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ke.createElement(vt.ZP.Group,{disabled:pe||!((yt=Be==null?void 0:Be.homework_status)!=null&&yt.includes("\u672A\u53D1\u5E03"))||(0,Me.Rm)()&&!((Jn=wn.AssistantObject.practice)!=null&&Jn.can_publish),value:vn.unified_setting,onChange:Ce=>{var hi;if(!((hi=Be==null?void 0:Be.homework_status)!=null&&hi.includes("\u672A\u53D1\u5E03"))){Rt.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(vn.unified_setting=!vn.unified_setting,vn.unified_setting||(vn.unified_late=!1,rn([{late_penalty:5}])),mi(Object.assign({},vn)),vn.unified_setting===!1&&nt==""){Ut(nt.concat({}));return}vn.unified_setting&&(Ut([]),rn([{late_penalty:5}]))}},Ke.createElement(vt.ZP,{value:!0,disabled:pe||!(At!=null&&At.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Ke.createElement(vt.ZP,{disabled:pe||!((bn=At==null?void 0:At.group_settings)!=null&&bn.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ci=At==null?void 0:At.group_settings)==null?void 0:ci.length)===0&&Ke.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")),vn.unified_setting&&Ke.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Ke.createElement(ke.Z,{align:"middle"},Ke.createElement(Tt.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Ke.createElement(Tt.Z,{className:"ml10"},Ke.createElement(Oe.default,{size:"large",disabled:pe||!((Tn=Be==null?void 0:Be.homework_status)!=null&&Tn.includes("\u672A\u53D1\u5E03")||(tn=Be==null?void 0:Be.homework_status)!=null&&tn.includes("\u672A\u5F00\u59CB"))||(0,Me.Rm)()&&!(($t=wn.AssistantObject.practice)!=null&&$t.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:Ce=>Re(Ce,At==null?void 0:At.course_end_date),disabledTime:Ce=>Mt(Ce),value:vn.publish_time?wt()(vn.publish_time):"",onChange:(Ce,hi)=>{vn.publish_time=hi,(vn.end_time==""||!vn.end_time)&&vn.unified_setting&&(vn.end_time=wt()(Ce).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),mi(Object.assign({},vn))}}))),Ke.createElement(ke.Z,{align:"middle",className:"pl30"},Ke.createElement(Tt.Z,null,"\u622A\u6B62\u65F6\u95F4"),Ke.createElement(Tt.Z,{className:"ml10"},Ke.createElement(Oe.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:wt()((0,se.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(At==null?void 0:At.allow_late)&&(At==null?void 0:At.homework_status.includes("\u5DF2\u622A\u6B62"))||pe||(At==null?void 0:At.allow_late)&&wt()()>=wt()(At==null?void 0:At.end_time)||(0,Me.Rm)()&&!((ft=wn.AssistantObject.practice)!=null&&ft.can_publish),disabledDate:Ce=>Re(Ce,At==null?void 0:At.course_end_date,vn.publish_time),disabledTime:Ce=>Mt(Ce,vn.publish_time),value:vn.end_time?wt()(vn.end_time):"",onChange:(Ce,hi)=>{vn.end_time=hi,mi(Object.assign({},vn))}})))),!vn.unified_setting&&(nt==null?void 0:nt.length)>0&&Ke.createElement(ke.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},nt&&nt.map(function(Ce,hi){var ki,un,Wn,li,fn,on,mt;return Ke.createElement(Tt.Z,{span:24,key:hi},Ke.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:hi==(nt==null?void 0:nt.length)-1?"0px":"10px"}},Ke.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",hi+1),Ke.createElement(He.default,{disabled:pe||((ki=Be==null?void 0:Be.homework_status)!=null&&ki.includes("\u672A\u53D1\u5E03")&&Ce.id||wt()(){var bt;if((0,Me.Rm)()&&!((bt=wn.AssistantObject.practice)!=null&&bt.can_publish)){Rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}nt[hi].group_name=Pt,nt[hi].group_id=Ce.group_id;const tt=(0,ne.flattenDeep)(nt.map(dn=>dn.group_name)),qt=En.map(dn=>{let xt=(dn==null?void 0:dn.group_name)||[];return Ot(Yt({},dn),{group_name:(0,ne.remove)(xt,Ye=>tt.includes(Ye))})});rn(qt),Ut(nt.slice())},maxTagCount:4,maxTagPlaceholder:Pt=>Ke.createElement("div",{style:{cursor:"pointer"},onClick:()=>$n(Ce,hi)},"+",Pt==null?void 0:Pt.length)},At.group_settings&&At.group_settings.map(function(Pt){if(!nt.map(tt=>tt.group_name).flat().includes(Pt.group_name))return Ke.createElement(mn,{value:Pt.group_name,key:Pt.id},Pt.group_name)})),Ke.createElement("div",{className:"ml20"},Ke.createElement(Pn,{size:"large",ranges:{\u6B64\u523B:[Ce.publish_time?wt()(Ce.publish_time):wt()(),wt()()]},allowClear:!1,disabled:pe||(wt()()<=wt()((li=Tr((Wn=Ce==null?void 0:Ce.group_id)==null?void 0:Wn[0]))==null?void 0:li.publish_time)?!1:[!0,Yr((fn=Ce==null?void 0:Ce.group_id)==null?void 0:fn[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:Pt=>Re(Pt,At==null?void 0:At.course_end_date),disabledTime:Pt=>Mt(Pt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[wt()((0,se.U6)(),"HH:mm"),wt()((0,se.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Ce.publish_time&&[wt()(Ce.publish_time),Ce.end_time?wt()(Ce.end_time):void 0],onChange:(Pt,bt)=>{var tt;if((0,Me.Rm)()&&!((tt=wn.AssistantObject.practice)!=null&&tt.can_publish)){Rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}nt[hi].publish_time=bt[0],!Ce.end_time&&bt[0]?nt[hi].end_time=wt()(bt[0]).add(7,"days"):nt[hi].end_time=bt[1],Ut([...nt])},onCalendarChange:(Pt,bt,tt)=>{if(bt!=null&&bt[0]&&!bt[1]){const qt=wt()(bt[0]).add(7,"days");nt[hi].publish_time=bt[0],nt[hi].end_time=qt,Ut([...nt])}}})),!pe&&Ke.createElement("div",{style:{display:"flex",width:"50px"}},((on=Ce==null?void 0:Ce.group_id)==null?void 0:on.length)>1&&Ke.createElement(Lt.Z,{title:"\u89C4\u5219\u62C6\u5206"},Ke.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>$n(Ce,hi)})),nt.length<((mt=At==null?void 0:At.group_settings)==null?void 0:mt.length)&&Ke.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Pt;if((0,Me.Rm)()&&!((Pt=wn.AssistantObject.practice)!=null&&Pt.can_publish)){Rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ut(nt.concat({}))}}),((Ce==null?void 0:Ce.publish_time)&&wt()(){const Pt=(0,ne.cloneDeep)(En);Pt.forEach((bt,tt)=>{bt.group_name&&(bt.group_name=bt.group_name.filter(qt=>{var dn;return!((dn=nt[hi].group_name)!=null&&dn.includes(qt))}))}),nt=nt.filter((bt,tt)=>hi!==tt),rn(Pt),Ut(nt.slice()),setTimeout(()=>Ut(nt.slice()),10)}}))))}))),Ke.createElement(ke.Z,null,Ke.createElement(Tt.Z,null,Ke.createElement("div",{className:ge.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Ke.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"))),Ke.createElement(Tt.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ke.createElement(et.default,{checked:vn.allow_late,disabled:pe||Kr,onChange:Ce=>{var hi;if((0,Me.Rm)()&&!((hi=wn.AssistantObject.practice)!=null&&hi.can_late)){Rt.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}Ce.target.checked&&_e.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Ke.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Ke.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"),Ke.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Ke.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"))}),vn.allow_late=!vn.allow_late,En==""&&rn([{late_penalty:5}]),mi(Object.assign({},vn))}},Ke.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(vn==null?void 0:vn.allow_late)&&Ke.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Ke.createElement("div",{style:{display:"flex"}},Ke.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Ke.createElement(vt.ZP.Group,{style:{marginLeft:"20px"},disabled:pe||(At==null?void 0:At.anonymous_comment)||(At==null?void 0:At.allow_late),value:vn.unified_late,onChange:Ce=>{var hi;if((0,Me.Rm)()&&!((hi=wn.AssistantObject.practice)!=null&&hi.can_late)){Rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}vn.unified_late=Ce.target.value,En==""&&!Ce.target.value&&rn([{penalty_type:be.Q.Percent,late_penalty:20}]),mi(Yt({},vn))}},(vn==null?void 0:vn.unified_setting)&&Ke.createElement(vt.ZP,{value:!0,disabled:!(At!=null&&At.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Je=At==null?void 0:At.group_settings)==null?void 0:Je.length)>0&&Ke.createElement(vt.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),vn!=null&&vn.unified_late?Ke.createElement(Ke.Fragment,null,Ke.createElement(ke.Z,{align:"middle",style:{marginTop:"10px"}},Ke.createElement(Tt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Ke.createElement(Tt.Z,{className:"ml20"},Ke.createElement(be.Z,{disabled:pe||ar,value:{type:vn.penalty_type,inputValue:vn.late_penalty},onChange:Ce=>{var hi;if((0,Me.Rm)()&&!((hi=wn.AssistantObject.practice)!=null&&hi.can_late)){Rt.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}mi(Ot(Yt({},vn),{late_penalty:Ce.inputValue,penalty_type:Ce.type}))}})),Ke.createElement(Tt.Z,{flex:"1",className:"ml5"},Ke.createElement("span",{className:"c-grey-c ml10"},vn.penalty_type===be.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)"))),Ke.createElement(ke.Z,{align:"middle",style:{marginTop:"15px"}},Ke.createElement(Tt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ke.createElement(Tt.Z,{className:"ml20"},Ke.createElement(Oe.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:wt()((0,se.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:pe||ar,value:vn.late_time?wt()(vn.late_time):"",disabledDate:Ce=>Re(Ce,At==null?void 0:At.course_end_date),onChange:(Ce,hi)=>{var ki;if((0,Me.Rm)()&&!((ki=wn.AssistantObject.practice)!=null&&ki.can_late)){Rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}vn.late_time=hi,mi(Object.assign({},vn))}})))):En.map(function(Ce,hi){var ki;return Ke.createElement(Tt.Z,{span:24,key:hi},Ke.createElement(ke.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Ke.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",hi+1),Ke.createElement(He.default,{disabled:pe||!((ki=Be==null?void 0:Be.homework_status)!=null&&ki.includes("\u672A\u53D1\u5E03"))&&Ce.id||(At==null?void 0:At.anonymous_comment),mode:"multiple",className:ge.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Ce.group_name=="string"?[Ce.group_name]:Ce.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:un=>{var Wn;if((0,Me.Rm)()&&!((Wn=wn.AssistantObject.practice)!=null&&Wn.can_late)){Rt.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}En[hi].group_name=un,En[hi].group_id=Ce.group_id,rn(En.slice())}},At.group_settings&&At.group_settings.map(function(un){const Wn=En.map(fn=>fn.group_name).flat(),li=nt.map(fn=>fn.group_name).flat();if(vn!=null&&vn.unified_setting){if(!Wn.includes(un.group_name))return Ke.createElement(mn,{value:un.group_name,key:un.id},un.group_name)}else if(li.includes(un.group_name)&&!Wn.includes(un.group_name))return Ke.createElement(mn,{value:un.group_name,key:un.id},un.group_name)})),Ke.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Ke.createElement(be.Z,{disabled:pe||Co(Ce.id),value:{type:Ce.penalty_type,inputValue:Ce.late_penalty},onChange:un=>{var Wn;if((0,Me.Rm)()&&!((Wn=wn.AssistantObject.practice)!=null&&Wn.can_late)){Rt.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}En[hi].late_penalty=un.inputValue,En[hi].penalty_type=un.type,rn([...En])}}),Ke.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ke.createElement(Oe.default,{size:"large",disabled:pe||Co(Ce.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:wt()((0,se.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:un=>Re(un,At==null?void 0:At.course_end_date),format:"YYYY-MM-DD HH:mm",value:Ce!=null&&Ce.late_time?wt()(Ce.late_time):void 0,onChange:(un,Wn)=>{var li;if((0,Me.Rm)()&&!((li=wn.AssistantObject.practice)!=null&&li.can_late)){Rt.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}En[hi].late_time=Wn,rn([...En])}}),!pe&&Ke.createElement("div",{style:{display:"flex",width:"50px"}},Ke.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var un;if((0,Me.Rm)()&&!((un=wn.AssistantObject.practice)!=null&&un.can_late)){Rt.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}rn(En.concat({penalty_type:be.Q.Percent,late_penalty:20}))}}),hi>0&&!Ce.id&&Ke.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var un;if((0,Me.Rm)()&&!((un=wn.AssistantObject.practice)!=null&&un.can_late)){Rt.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}En=En.filter((Wn,li)=>hi!==li),rn(En.slice()),setTimeout(()=>rn(En.slice()),10)}}))))})),!pe&&Ke.createElement(Ke.Fragment,null,Ke.createElement(gt.ZP,{type:"primary",size:"large",loading:ze,style:{width:"138px",marginTop:"30px"},onClick:()=>Wr()},"\u4FDD\u5B58")),Ke.createElement(Pe.Z,{onConfirm:(Ce,hi)=>{nt.splice(Ce,0,...hi),nt.splice(Ce+hi.length,1);const ki=(0,se.QE)([...nt]);Ut([...ki])}}),Ke.createElement(Ie.Z,{resdata:wi,type:"shixun",okloading:ze,oktext:(wi==null?void 0:wi.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Ce=>Qt(void 0,null,function*(){Le(!0);let hi=yield(0,te.ZP)(`/api/courses/${Gt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Gt.categoryId)]}});Le(!1),(hi==null?void 0:hi.status)===0&&Hr(Wi)})}))};Fn.ZP=(0,ve.connect)(({shixunHomeworks:_t,classroomList:ln,loading:Bn,user:wn})=>({shixunHomeworks:_t,classroomList:ln,loading:Bn.effects,user:wn}))(kt)},706:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return et}});var Se=ye(59301),Oe=ye(92832),He=ye(24905),Rt=ye(95237),_e={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},vt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ke=ye(97267),Tt=(gt,ct,wt)=>new Promise((Me,te)=>{var ne=ge=>{try{se(wt.next(ge))}catch(ve){te(ve)}},ce=ge=>{try{se(wt.throw(ge))}catch(ve){te(ve)}},se=ge=>ge.done?Me(ge.value):Promise.resolve(ge.value).then(ne,ce);se((wt=wt.apply(gt,ct)).next())}),et=({data:gt,value:ct=[],handleChangePage:wt,setSelectedRowKeys:Me,selectedRowKeys:te,onChange:ne=()=>{}})=>{const[ce,se]=(0,Se.useState)([]),[ge,ve]=(0,Se.useState)([]),[be,Fe]=(0,Se.useState)([]);let[Pe,Ie]=(0,Se.useState)(1),[We,Ke]=(0,Se.useState)();return(0,Se.useEffect)(()=>{se(gt),ve([]),Fe([])},[gt]),(0,Se.useEffect)(()=>{Me&&(ve(te),Fe(te))},[te]),Se.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},Se.createElement("div",{className:_e.leftdiv},Se.createElement(Oe.default.Search,{size:"middle",onChange:Xe=>Tt(void 0,null,function*(){se(gt.filter(ht=>{var Ve;return(Ve=ht==null?void 0:ht.name)==null?void 0:Ve.includes(Xe.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ce.length===0&&Se.createElement(ke.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),Se.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},Se.createElement(He.default.Group,{value:ge.map(Xe=>`${Xe.id}`),onChange:Xe=>{Me(ce.filter(ht=>Xe.includes(`${ht.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},ce.map((Xe,ht)=>Se.createElement(Rt.Z,{key:Xe.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},Se.createElement(He.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Xe.is_published,value:`${Xe.id}`},Se.createElement("div",{className:_e.listClass},Se.createElement("span",{className:_e.spantitle,style:{width:Xe.is_published?"108px":"170px"}},Xe.name),Xe.is_published&&Se.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),Se.createElement("div",{className:_e.rightdiv},Se.createElement(Oe.default.Search,{onChange:Xe=>{Fe(ge.filter(ht=>ht.name.includes(Xe.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),be.length===0&&Se.createElement(ke.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),be.length>0&&Se.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},Se.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},be.map((Xe,ht)=>Se.createElement(Rt.Z,{justify:"space-between",style:{marginTop:"10px"},key:Xe.id},Se.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Xe.name),Se.createElement("img",{src:vt,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{Me(ge.filter(Ve=>`${Ve.id}`!=`${Xe.id}`))}})))))))}},30738:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return ne}});var Se=ye(59301),Oe=ye(42203),He=ye(78550),Rt=ye(43418),_e=ye(92832),vt=ye(95237),ke=ye(43604),Tt={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},Lt=ye(61186),et=ye.n(Lt),gt=ye(58130),ct=ye(97267),wt=ye(59301);const{RangePicker:Me}=He.default,te=({dispatch:ce,classroomList:se,onConfirm:ge})=>{const[ve,be]=(0,Se.useState)([]),[Fe,Pe]=(0,Se.useState)([]),[Ie,We]=(0,Se.useState)("");(0,Se.useEffect)(()=>{var ht;if(se.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Ve=se.actionTabs.data;console.log("data",Ve);let Nt=(ht=Ve==null?void 0:Ve.group_name)==null?void 0:ht.map((qe,Ht)=>{var Zt;return{group_id:Ve==null?void 0:Ve.group_id[Ht],group_name:Ve==null?void 0:Ve.group_name[Ht],is_admin:Ve==null?void 0:Ve.is_admin,end_time:Ve==null?void 0:Ve.end_time,publish_time:Array.isArray(Ve==null?void 0:Ve.publish_time)?(Zt=Ve==null?void 0:Ve.publish_time)==null?void 0:Zt[0]:Ve==null?void 0:Ve.publish_time}});Nt&&(be([...Nt]),Pe([...Nt]))}},[se.actionTabs]);const Ke=()=>{ce({type:"classroomList/setActionTabs",payload:{}}),We("")},Xe=ht=>{if(ht){const Ve=Fe==null?void 0:Fe.filter(Nt=>{var qe,Ht;return(Ht=(qe=Nt==null?void 0:Nt.group_name)==null?void 0:qe.toLowerCase())==null?void 0:Ht.includes(ht==null?void 0:ht.toLowerCase())});be(Ve)}else be(Fe)};return wt.createElement(Rt.default,{width:980,title:wt.createElement("div",{style:{fontWeight:"bold",display:"flex"}},wt.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",wt.createElement("span",{className:Tt.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")),wt.createElement(_e.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:Ie,onChange:ht=>{We(ht.target.value.trim()),Xe(ht.target.value.trim())}})),centered:!0,maskClosable:!1,open:se.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Ke(),onOk:()=>{var ht;ge((ht=se.actionTabs)==null?void 0:ht.index,Fe),Ke()}},wt.createElement("div",{className:Tt.modal_con},wt.createElement(vt.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ve==null?void 0:ve.length)>0?ve.map(function(ht,Ve){var Nt,qe;return wt.createElement(ke.Z,{span:24,key:Ve},wt.createElement(vt.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ve==(ve==null?void 0:ve.length)-1?"0px":"10px"}},wt.createElement("div",{className:Tt.multiple_select,title:ht.group_name},ht.group_name),wt.createElement("div",{className:"ml20"},wt.createElement(Me,{size:"large",ranges:{\u6B64\u523B:[ht.publish_time?et()(ht.publish_time):et()(),et()()]},allowClear:!1,disabled:(Nt=se.actionTabs)==null?void 0:Nt.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:Ht=>{var Zt;return(0,gt.Q8)(Ht,(Zt=se.actionTabs)==null?void 0:Zt.disabledDate)},disabledTime:Ht=>(0,gt.d0)(Ht),showTime:{showNow:!0,format:"HH:mm",defaultValue:[et()((0,gt.U6)(),"HH:mm"),et()((0,gt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:ht.publish_time&&[et()(ht.publish_time),ht.end_time?et()(ht.end_time):void 0],onChange:(Ht,Zt)=>{ve[Ve].publish_time=Zt[0],ve[Ve].end_time=Zt[1],be([...ve]),Fe.forEach(Yt=>{Yt.group_id===ht.group_id&&(Yt.publish_time=Zt[0],Yt.end_time=Zt[1])}),Pe([...Fe])}})),(qe=se.actionTabs)!=null&&qe.rangePickerDisabled?wt.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):wt.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ve.splice(Ve,1),be([...ve]),Fe.forEach((Ht,Zt)=>{Ht.group_id===ht.group_id&&Fe.splice(Zt,1)}),Pe([...Fe])}})))}):wt.createElement(ct.Z,null))))};var ne=(0,Oe.connect)(({classroomList:ce})=>({classroomList:ce}))(te)},31087:function(Rn,Fn,ye){"use strict";ye.d(Fn,{AL:function(){return be},Iy:function(){return gt},Qv:function(){return Me},ez:function(){return ve},jb:function(){return ct}});var Se=ye(32834),Oe=ye.n(Se),He=ye(11690),Rt=ye.n(He);let _e=1;function vt(Ke,Xe){const ht=Ke.match(/^(\s+)(?:```)/);if(ht===null)return Xe;const Ve=ht[1];return Xe.split(` `).map(Nt=>{const qe=Nt.match(/^\s+/);if(qe===null)return Nt;const[Ht]=qe;return Ht.length>=Ve.length?Nt.slice(Ve.length):Nt}).join(` `)}let ke=[],Tt=["
    "];const Lt=new(Oe()).Renderer,et=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function gt(){ke.length=0,Tt=["
      "]}const ct={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function wt(Ke,Xe,ht,Ve){if(Xe>=Ke.length||Ke[Xe].level<=ht)return Xe;var Nt=Ke[Xe];Ve.push("
    • "+Nt.text+""),Xe++;var qe=[];return Xe=wt(Ke,Xe,Nt.level,qe),qe.length>0&&(Ve.push("
        "),qe.forEach(function(Ht){Ve.push(Ht)}),Ve.push("
      ")),Ve.push("
    • "),Xe=wt(Ke,Xe,ht,Ve),Xe}function Me(){return wt(ke,0,0,Tt),Tt.push("
    "),Tt.join("")}const te={heading(Ke){const Xe=et.exec(Ke);if(_e+=1,Xe)return{type:"heading",raw:Xe[0],depth:Xe[1].length,text:Xe[2]}},fences(Ke){const Xe=this.rules.block.fences.exec(Ke);if(Xe){const ht=Xe[0];let Ve=vt(ht,Xe[3]||"");const Nt=Xe[2]?Xe[2].trim():Xe[2];if(["latex","katex","math"].indexOf(Nt)>=0){const qe=se(),Ht=Ve;Ve=qe,ge[qe]={type:"block",expression:Ht}}return{type:"code",raw:ht,lang:Nt,text:Ve}}}},ne=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ce=0;const se=()=>`__special_katext_id_${ce++}__`;let ge={};function ve(){return ge}function be(){ce=0,ge={}}function Fe(Ke){return Ke=Ke.replace(ne,(Xe,ht)=>{const Ve=se();return ge[Ve]={type:"inline",expression:ht},Ve}),Ke}const Pe=Lt.listitem;Lt.listitem=function(Ke){return Pe(Fe(Ke))};const Ie=Lt.paragraph;Lt.paragraph=function(Ke){return Ie(Fe(Ke))};const We=Lt.tablecell;Lt.tablecell=function(Ke,Xe){return We(Fe(Ke),Xe)},Lt.code=function(Ke,Xe,ht){const Ve=(Xe||"").match(/\S*/)[0];return Ve?["latex","katex","math"].indexOf(Ve)>=0?`

    ${Ke}

    `:`
    ${ht?Ke:(0,He.escape)(Ke,!0)}
    `:'
    '+(ht?Ke:(0,He.escape)(Ke,!0))+"
    "},Lt.heading=function(Ke,Xe,ht){let Ve=this.options.headerPrefix+ht.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return ke.push({anchor:Ve,level:Xe,text:Ke}),"'+Ke+""},Oe().setOptions({silent:!0,gfm:!0,pedantic:!1}),Oe().use({tokenizer:te,renderer:Lt}),Fn.ZP=Oe()},18032:function(Rn,Fn,ye){"use strict";ye.d(Fn,{rX:function(){return be},pW:function(){return Fe},gy:function(){return Pe},xY:function(){return ve},O5:function(){return ge},tJ:function(){return Me},o1:function(){return te},Rd:function(){return se}});var Se=ye(42203),Oe=ye(43418),He=ye(28103),Rt=ye(8591),_e=ye(2119),vt=ye(58130),ke=ye(80205),Tt=ye(25510),Lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2yc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l0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",et=ye.p+"static/newqrcode.a8740efb.png",gt=ye(32637),ct=ye(59301),wt=(Ie,We,Ke)=>new Promise((Xe,ht)=>{var Ve=Ht=>{try{qe(Ke.next(Ht))}catch(Zt){ht(Zt)}},Nt=Ht=>{try{qe(Ke.throw(Ht))}catch(Zt){ht(Zt)}},qe=Ht=>Ht.done?Xe(Ht.value):Promise.resolve(Ht.value).then(Ve,Nt);qe((Ke=Ke.apply(Ie,We)).next())});const Me=(Ie,We=!1)=>!!(te(Ie)&&ne(We)),te=Ie=>(0,_e.bg)()?!0:(Ie({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ne=(Ie=!1)=>{var We;const{user:Ke}=(0,Se.getDvaApp)()._store.getState();return(We=Ke.userInfo)!=null&&We.profile_completed?!0:(Oe.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,vt.xg)("/account/profile/edit"),ce()}}),!1)},ce=()=>{Oe.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()}})},se=()=>{Oe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ct.createElement("div",{style:{textAlign:"center"}},ct.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"),ct.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:gt}),ct.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ge=()=>{var Ie;const{user:We}=(0,Se.getDvaApp)()._store.getState();return(Ie=We.userInfo)!=null&&Ie.professional_certification?!0:(Oe.default.confirm({title:"\u63D0\u793A",centered:!0,content:ct.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,vt.xg)("/account/certification")}}),!1)},ve=()=>(0,_e.V9)()?!0:(Oe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ct.createElement("div",{className:"tc",style:{marginLeft:-38}},ct.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ct.createElement("img",{src:et,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),be=(Ie,We)=>Ie?!0:(Oe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ct.createElement("div",null,ct.createElement("p",null,We||"\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"),ct.createElement("div",{style:{marginLeft:"110px"}},ct.createElement("img",{src:Lt,width:200}),ct.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,vt.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),Fe=Ie=>{Oe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ct.createElement("div",null,ct.createElement("div",null,ct.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"),ct.createElement(He.Z,null),ct.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ct.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 ",ct.createElement("a",null,Ie),"\u5929\u3002"),ct.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ct.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")),ct.createElement("div",{style:{textAlign:"center",marginTop:30}},ct.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Tt,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Pe=(Ie,We="")=>{const{shixunsDetail:{detail:Ke}}=(0,Se.getDvaApp)()._store.getState();if((Ke==null?void 0:Ke.public)===2||(Ke==null?void 0:Ke.public)===1||(Ke==null?void 0:Ke.shixun_status)===3){let Xe="";return(Ke==null?void 0:Ke.public)===2&&(Xe="\u5DF2\u516C\u5F00"),(Ke==null?void 0:Ke.public)===1&&(Xe="\u5F85\u5BA1\u6838"),(Ke==null?void 0:Ke.shixun_status)===3&&(Xe="\u5DF2\u5173\u95ED"),Oe.default.info({centered:!0,icon:ct.createElement(ke.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ct.createElement("div",{className:"tc",style:{marginLeft:-38}},ct.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ct.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Xe,"\uFF0C",We,"\u3002"),ct.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ct.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Tt,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ke==null?void 0:Ke.shixun_status)===2?(Oe.default.confirm({centered:!0,icon:ct.createElement(ke.Z,null),title:"\u63D0\u793A",content:ct.createElement("div",null,ct.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",We,"\u3002"),ct.createElement("br",null),ct.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:()=>{Oe.default.confirm({width:440,centered:!0,icon:ct.createElement(ke.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:()=>wt(void 0,null,function*(){(yield Ie({type:"shixunsDetail/cancelRelease",payload:{id:Ke==null?void 0:Ke.identifier}})).status!==401&&(Rt.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Ie({type:"shixunsDetail/getShixunsDetail",payload:{id:Ke==null?void 0:Ke.identifier}}),Ie({type:"practiceSetting/getCommonData",payload:{id:Ke==null?void 0:Ke.identifier}}))})})}}),!0):!1}},50371:function(Rn,Fn){"use strict";function ye(){const Se=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Oe=1;Oe{const _e=He[Rt];_e!==void 0&&(Se[Rt]=_e)})}return Se}Fn.Z=ye},13845:function(Rn,Fn,ye){"use strict";ye.d(Fn,{F:function(){return Se},Z:function(){return Oe}});function Se(He){return He!=null&&He===He.window}function Oe(He,Rt){var _e,vt;if(typeof window=="undefined")return 0;const ke=Rt?"scrollTop":"scrollLeft";let Tt=0;return Se(He)?Tt=He[Rt?"pageYOffset":"pageXOffset"]:He instanceof Document?Tt=He.documentElement[ke]:(He instanceof HTMLElement||He)&&(Tt=He[ke]),He&&!Se(He)&&typeof Tt!="number"&&(Tt=(vt=((_e=He.ownerDocument)!==null&&_e!==void 0?_e:He).documentElement)===null||vt===void 0?void 0:vt[ke]),Tt}},56762:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Oe}});var Se=ye(59301);function Oe(){const[,He]=Se.useReducer(Rt=>Rt+1,0);return He}},68031:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Rt}});var Se=ye(23073);function Oe(_e,vt,ke,Tt){const Lt=ke-vt;return _e/=Tt/2,_e<1?Lt/2*_e*_e*_e+vt:Lt/2*((_e-=2)*_e*_e+2)+vt}var He=ye(13845);function Rt(_e){let vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ke=()=>window,callback:Tt,duration:Lt=450}=vt,et=ke(),gt=(0,He.Z)(et,!0),ct=Date.now(),wt=()=>{const te=Date.now()-ct,ne=Oe(te>Lt?Lt:te,gt,_e,Lt);(0,He.F)(et)?et.scrollTo(window.pageXOffset,ne):et instanceof Document||et.constructor.name==="HTMLDocument"?et.documentElement.scrollTop=ne:et.scrollTop=ne,te2&&arguments[2]!==void 0?arguments[2]:!1;jn.forEach(function(xn){if(!(!Ye&&xt!==!1&&xt>0&&an.length>=xt)){var Qn=[].concat((0,Se.Z)(cn),[xn]),Un=xn[li.children],zt=Et||xn.disabled;if((!Un||Un.length===0||mt)&&bt(un,Qn,{label:li.label})){var Sn;an.push((0,ve.Z)((0,ve.Z)({},xn),{},(Sn={disabled:zt},(0,ge.Z)(Sn,li.label,qt(un,Qn,fn,li)),(0,ge.Z)(Sn,be,Qn),(0,ge.Z)(Sn,li.children,void 0),Sn)))}Un&&Bt(xn[li.children],Qn,zt)}})}return Bt(Wn,[]),Ye&&an.sort(function(jn,cn){return Ye(jn[be],cn[be],un,li)}),xt!==!1&&xt>0?an.slice(0,xt):an},[un,Wn,li,fn,qt,mt,bt,Ye,xt])},We="__RC_CASCADER_SPLIT__",Ke="SHOW_PARENT",Xe="SHOW_CHILD";function ht(un){return un.join(We)}function Ve(un){return un.map(ht)}function Nt(un){return un.split(We)}function qe(un){var Wn=un||{},li=Wn.label,fn=Wn.value,on=Wn.children,mt=fn||"value";return{label:li||"label",value:mt,key:mt,children:on||"children"}}function Ht(un,Wn){var li,fn;return(li=un.isLeaf)!==null&&li!==void 0?li:!((fn=un[Wn.children])!==null&&fn!==void 0&&fn.length)}function Zt(un){var Wn=un.parentElement;if(Wn){var li=un.offsetTop-Wn.offsetTop;li-Wn.scrollTop<0?Wn.scrollTo({top:li}):li+un.offsetHeight-Wn.scrollTop>Wn.offsetHeight&&Wn.scrollTo({top:li+un.offsetHeight-Wn.offsetHeight})}}function Yt(un,Wn){return un.map(function(li){var fn;return(fn=li[be])===null||fn===void 0?void 0:fn.map(function(on){return on[Wn.value]})})}function Ot(un,Wn,li){var fn=new Set(un),on=Wn();return un.filter(function(mt){var Pt=on[mt],bt=Pt?Pt.parent:null,tt=Pt?Pt.children:null;return Pt&&Pt.node.disabled?!0:li===Xe?!(tt&&tt.some(function(qt){return qt.key&&fn.has(qt.key)})):!(bt&&!bt.node.disabled&&fn.has(bt.key))})}function Qt(un,Wn,li){for(var fn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,on=Wn,mt=[],Pt=function(){var qt,dn,xt,Ye=un[bt],an=(qt=on)===null||qt===void 0?void 0:qt.findIndex(function(jn){var cn=jn[li.value];return fn?String(cn)===String(Ye):cn===Ye}),Bt=an!==-1?(dn=on)===null||dn===void 0?void 0:dn[an]:null;mt.push({value:(xt=Bt==null?void 0:Bt[li.value])!==null&&xt!==void 0?xt:Ye,index:an,option:Bt}),on=Bt==null?void 0:Bt[li.children]},bt=0;bt1){var Ci=Bt.slice(0,-1);xn(Ci)}else qt(!1)},zt=function(){var Ci,Si=((Ci=cn[jn])===null||Ci===void 0?void 0:Ci[li.children])||[],vi=Si.find(function(xi){return!xi.disabled});if(vi){var ti=[].concat((0,Se.Z)(Bt),[vi[li.value]]);xn(ti)}};Oe.useImperativeHandle(un,function(){return{onKeyDown:function(Ci){var Si=Ci.which;switch(Si){case Jn.Z.UP:case Jn.Z.DOWN:{var vi=0;Si===Jn.Z.UP?vi=-1:Si===Jn.Z.DOWN&&(vi=1),vi!==0&&Qn(vi);break}case Jn.Z.LEFT:{if(tt)break;xt?zt():Un();break}case Jn.Z.RIGHT:{if(tt)break;xt?Un():zt();break}case Jn.Z.BACKSPACE:{tt||Un();break}case Jn.Z.ENTER:{if(Bt.length){var ti=cn[jn],xi=(ti==null?void 0:ti[be])||[];xi.length?mt(xi.map(function(Ni){return Ni[li.value]}),xi[xi.length-1]):mt(Bt,cn[jn])}break}case Jn.Z.ESC:qt(!1),dn&&Ci.stopPropagation()}},onKeyUp:function(){}}})},ci=Oe.forwardRef(function(un,Wn){var li,fn,on,mt,Pt=(0,gt.lk)(),bt=Pt.prefixCls,tt=Pt.multiple,qt=Pt.searchValue,dn=Pt.toggleOpen,xt=Pt.notFoundContent,Ye=Pt.direction,an=Pt.open,Bt=Oe.useRef(),jn=Ye==="rtl",cn=Oe.useContext(ce),Et=cn.options,xn=cn.values,Qn=cn.halfValues,Un=cn.fieldNames,zt=cn.changeOnSelect,Sn=cn.onSelect,Ci=cn.searchOptions,Si=cn.dropdownPrefixCls,vi=cn.loadData,ti=cn.expandTrigger,xi=Si||bt,Ni=Oe.useState([]),Zi=(0,Lt.Z)(Ni,2),cr=Zi[0],Gn=Zi[1],Ai=function(vr){if(!(!vi||qt)){var Ho=Qt(vr,Et,Un),co=Ho.map(function(fr){var Vr=fr.option;return Vr}),mr=co[co.length-1];if(mr&&!Ht(mr,Un)){var hr=ht(vr);Gn(function(fr){return[].concat((0,Se.Z)(fr),[hr])}),vi(co)}}};Oe.useEffect(function(){cr.length&&cr.forEach(function(Qr){var vr=Nt(Qr),Ho=Qt(vr,Et,Un,!0).map(function(mr){var hr=mr.option;return hr}),co=Ho[Ho.length-1];(!co||co[Un.children]||Ht(co,Un))&&Gn(function(mr){return mr.filter(function(hr){return hr!==Qr})})})},[Et,cr,Un]);var br=Oe.useMemo(function(){return new Set(Ve(xn))},[xn]),kr=Oe.useMemo(function(){return new Set(Ve(Qn))},[Qn]),Sr=yt(),Xt=(0,Lt.Z)(Sr,2),Li=Xt[0],rr=Xt[1],Hi=function(vr){rr(vr),Ai(vr)},Er=function(vr){var Ho=vr.disabled,co=Ht(vr,Un);return!Ho&&(co||zt||tt)},dr=function(vr,Ho){var co=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Sn(vr),!tt&&(Ho||zt&&(ti==="hover"||co))&&dn(!1)},Nr=Oe.useMemo(function(){return qt?Ci:Et},[qt,Ci,Et]),Ti=Oe.useMemo(function(){for(var Qr=[{options:Nr}],vr=Nr,Ho=Yt(vr,Un),co=function(){var Vr=Li[mr],Ii=vr.find(function(pt,It){return(Ho[It]?ht(Ho[It]):pt[Un.value])===Vr}),Qe=Ii==null?void 0:Ii[Un.children];if(!(Qe!=null&&Qe.length))return"break";vr=Qe,Qr.push({options:Qe})},mr=0;mr":cr,Ai=un.loadingIcon,br=un.children,kr=un.dropdownMatchSelectWidth,Sr=kr===void 0?!1:kr,Xt=un.showCheckedStrategy,Li=Xt===void 0?Ke:Xt,rr=(0,et.Z)(un,Je),Hi=(0,ct.ZP)(li),Er=!!xt,dr=(0,te.Z)(Pt,{value:bt,postState:At}),Nr=(0,Lt.Z)(dr,2),Ti=Nr[0],Qi=Nr[1],er=Oe.useMemo(function(){return qe(mt)},[JSON.stringify(mt)]),kn=Oe.useMemo(function(){return xn||[]},[xn]),Dr=Mt(kn,er),Ln=Oe.useCallback(function(qr){var $r=Dr();return qr.map(function(to){var $o=$r[to].nodes;return $o.map(function(Qo){return Qo[er.value]})})},[Dr,er]),pr=(0,te.Z)("",{value:Bt,postState:function($r){return $r||""}}),Qr=(0,Lt.Z)(pr,2),vr=Qr[0],Ho=Qr[1],co=function($r,to){Ho($r),to.source!=="blur"&&jn&&jn($r)},mr=kt(cn),hr=(0,Lt.Z)(mr,2),fr=hr[0],Vr=hr[1],Ii=Ie(vr,kn,er,Qn||on,Vr,tt),Qe=Pn(kn,er),pt=Oe.useMemo(function(){var qr=Qe(Ti),$r=(0,Lt.Z)(qr,2),to=$r[0],$o=$r[1];if(!Er||!Ti.length)return[to,[],$o];var Qo=Ve(to),pa=Dr(),qo=(0,wt.S)(Qo,!0,pa),Cn=qo.checkedKeys,ca=qo.halfCheckedKeys;return[Ln(Cn),Ln(ca),$o]},[Er,Ti,Dr,Ln,Qe]),It=(0,Lt.Z)(pt,3),sn=It[0],Hn=It[1],On=It[2],Wt=Oe.useMemo(function(){var qr=Ve(sn),$r=Ot(qr,Dr,Li);return[].concat((0,Se.Z)(On),(0,Se.Z)(Ln($r)))},[sn,Dr,Ln,On,Li]),Nn=dt(Wt,kn,er,Er,dn),ai=(0,Me.Z)(function(qr){if(Qi(qr),qt){var $r=At(qr),to=$r.map(function(pa){return Qt(pa,kn,er).map(function(qo){return qo.option})}),$o=Er?$r:$r[0],Qo=Er?to:to[0];qt($o,Qo)}}),qn=(0,Me.Z)(function(qr){if((!Er||an)&&Ho(""),!Er)ai(qr);else{var $r=ht(qr),to=Ve(sn),$o=Ve(Hn),Qo=to.includes($r),pa=On.some(function(ma){return ht(ma)===$r}),qo=sn,Cn=On;if(pa&&!Qo)Cn=On.filter(function(ma){return ht(ma)!==$r});else{var ca=Qo?to.filter(function(ma){return ma!==$r}):[].concat((0,Se.Z)(to),[$r]),es=Dr(),ts;if(Qo){var Ga=(0,wt.S)(ca,{checked:!1,halfCheckedKeys:$o},es);ts=Ga.checkedKeys}else{var Ds=(0,wt.S)(ca,!0,es);ts=Ds.checkedKeys}var pl=Ot(ts,Dr,Li);qo=Ln(pl)}ai([].concat((0,Se.Z)(Cn),(0,Se.Z)(qo)))}}),Oi=function($r,to){if(to.type==="clear"){ai([]);return}var $o=to.values[0],Qo=$o.valueCells;qn(Qo)},Bi=Sn!==void 0?Sn:zt,pi=Si||Ci,Gi=xi||ti,zn=function($r){Ni==null||Ni($r),Zi==null||Zi($r)},_r=Oe.useMemo(function(){return{options:kn,fieldNames:er,values:sn,halfValues:Hn,changeOnSelect:tt,onSelect:qn,checkable:xt,searchOptions:Ii,dropdownPrefixCls:Qn,loadData:Un,expandTrigger:Et,expandIcon:Gn,loadingIcon:Ai,dropdownMenuColumnStyle:vi}},[kn,er,sn,Hn,tt,qn,xt,Ii,Qn,Un,Et,Gn,Ai,vi]),Gr=!(vr?Ii:kn).length,Ao=vr&&Vr.matchInputWidth||Gr?{}:{minWidth:"auto"};return Oe.createElement(ce.Provider,{value:_r},Oe.createElement(gt.Ac,(0,Tt.Z)({},rr,{ref:Wn,id:Hi,prefixCls:on,autoClearSearchValue:an,dropdownMatchSelectWidth:Sr,dropdownStyle:Ao,displayValues:Nn,onDisplayValuesChange:Oi,mode:Er?"multiple":void 0,searchValue:vr,onSearch:co,showSearch:fr,OptionList:Tn,emptyOptions:Gr,open:Bi,dropdownClassName:pi,placement:Gi,onDropdownVisibleChange:zn,getRawInputElement:function(){return br}})))});lt.SHOW_PARENT=Ke,lt.SHOW_CHILD=Xe;var Ge=lt,Be=Ge,we=ye(64002),pe=ye(62892),De=ye(53487),ze=ye(19080),Le=ye(36355),nt=ye(93891),Ut=ye(1684),En=ye(19716),rn=ye(32441),vn=ye(14154),mi=ye(58582),wi=ye(84443),Ri=ye(66339),Wi=ye(33234),Mn=ye(98447),nr=ye(17313),Wr=ye(74207),Hr=ye(83116);const Tr=un=>{const{prefixCls:Wn,componentCls:li,antCls:fn}=un,on=`${li}-menu-item`,mt=` &${on}-expand ${on}-expand-icon, ${on}-loading-icon `;return[{[li]:{width:un.controlWidth}},{[`${li}-dropdown`]:[(0,Mn.C2)(`${Wn}-checkbox`,un),{[`&${fn}-select-dropdown`]:{padding:0}},{[li]:{"&-checkbox":{top:0,marginInlineEnd:un.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${li}-menu-empty`]:{[`${li}-menu`]:{width:"100%",height:"auto",[on]:{color:un.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:un.controlItemWidth,height:un.dropdownHeight,margin:0,padding:un.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${un.lineWidth}px ${un.lineType} ${un.colorSplit}`},"&-item":Object.assign(Object.assign({},nr.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:un.optionPadding,lineHeight:un.lineHeight,cursor:"pointer",transition:`all ${un.motionDurationMid}`,borderRadius:un.borderRadiusSM,"&:hover":{background:un.controlItemBgHover},"&-disabled":{color:un.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[mt]:{color:un.colorTextDisabled}},[`&-active:not(${on}-disabled)`]:{"&, &:hover":{fontWeight:un.optionSelectedFontWeight,backgroundColor:un.optionSelectedBg}},"&-content":{flex:"auto"},[mt]:{marginInlineStart:un.paddingXXS,color:un.colorTextDescription,fontSize:un.fontSizeIcon},"&-keyword":{color:un.colorHighlight}})}}}]},{[`${li}-dropdown-rtl`]:{direction:"rtl"}},(0,Wr.c)(un)]};var Fr=(0,Hr.Z)("Cascader",un=>[Tr(un)],un=>{const Wn=Math.round((un.controlHeight-un.fontSize*un.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:un.controlItemBgActive,optionSelectedFontWeight:un.fontWeightStrong,optionPadding:`${Wn}px ${un.paddingSM}px`,menuPadding:un.paddingXXS}}),Yr=function(un,Wn){var li={};for(var fn in un)Object.prototype.hasOwnProperty.call(un,fn)&&Wn.indexOf(fn)<0&&(li[fn]=un[fn]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,fn=Object.getOwnPropertySymbols(un);ontt===0?[bt]:[].concat((0,Se.Z)(Pt),[Wn,bt]),[]),on=[];let mt=0;return fn.forEach((Pt,bt)=>{const tt=mt+Pt.length;let qt=un.slice(mt,tt);mt=tt,bt%2===1&&(qt=Oe.createElement("span",{className:`${li}-menu-item-keyword`,key:`separator-${bt}`},qt)),on.push(qt)}),on}const $n=(un,Wn,li,fn)=>{const on=[],mt=un.toLowerCase();return Wn.forEach((Pt,bt)=>{bt!==0&&on.push(" / ");let tt=Pt[fn.label];const qt=typeof tt;(qt==="string"||qt==="number")&&(tt=Co(String(tt),mt,li)),on.push(tt)}),on},Ce=Oe.forwardRef((un,Wn)=>{const{prefixCls:li,size:fn,disabled:on,className:mt,rootClassName:Pt,multiple:bt,bordered:tt=!0,transitionName:qt,choiceTransitionName:dn="",popupClassName:xt,dropdownClassName:Ye,expandIcon:an,placement:Bt,showSearch:jn,allowClear:cn=!0,notFoundContent:Et,direction:xn,getPopupContainer:Qn,status:Un,showArrow:zt,builtinPlacements:Sn,style:Ci}=un,Si=Yr(un,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),vi=(0,we.Z)(Si,["suffixIcon"]),{getPopupContainer:ti,getPrefixCls:xi,renderEmpty:Ni,direction:Zi,popupOverflow:cr,cascader:Gn}=Oe.useContext(Le.E_),Ai=xn||Zi,br=Ai==="rtl",{status:kr,hasFeedback:Sr,isFormItemInput:Xt,feedbackIcon:Li}=Oe.useContext(rn.aM),rr=(0,ze.F)(kr,Un),Hi=Et||(Ni==null?void 0:Ni("Cascader"))||Oe.createElement(nt.Z,{componentName:"Cascader"}),Er=xi(),dr=xi("select",li),Nr=xi("cascader",li),[Ti,Qi]=(0,vn.Z)(dr),[er]=Fr(Nr),{compactSize:kn,compactItemClassnames:Dr}=(0,Wi.ri)(dr,xn),Ln=ke()(xt||Ye,`${Nr}-dropdown`,{[`${Nr}-dropdown-rtl`]:Ai==="rtl"},Pt,Qi),pr=Oe.useMemo(()=>{if(!jn)return jn;let On={render:$n};return typeof jn=="object"&&(On=Object.assign(Object.assign({},On),jn)),On},[jn]),Qr=(0,En.Z)(On=>{var Wt;return(Wt=fn!=null?fn:kn)!==null&&Wt!==void 0?Wt:On}),vr=Oe.useContext(Ut.Z),Ho=on!=null?on:vr;let co=an;an||(co=br?Oe.createElement(He.Z,null):Oe.createElement(_e.Z,null));const mr=Oe.createElement("span",{className:`${dr}-menu-item-loading-icon`},Oe.createElement(Rt.Z,{spin:!0})),hr=Oe.useMemo(()=>bt?Oe.createElement("span",{className:`${Nr}-checkbox-inner`}):!1,[bt]),fr=(0,wi.Z)(un.suffixIcon,zt),{suffixIcon:Vr,removeIcon:Ii,clearIcon:Qe}=(0,Ri.Z)(Object.assign(Object.assign({},un),{hasFeedback:Sr,feedbackIcon:Li,showSuffixIcon:fr,multiple:bt,prefixCls:dr,componentName:"Cascader"})),pt=Oe.useMemo(()=>Bt!==void 0?Bt:br?"bottomRight":"bottomLeft",[Bt,br]),It=(0,mi.Z)(Sn,cr),sn=cn===!0?{clearIcon:Qe}:cn,Hn=Oe.createElement(Be,Object.assign({prefixCls:dr,className:ke()(!li&&Nr,{[`${dr}-lg`]:Qr==="large",[`${dr}-sm`]:Qr==="small",[`${dr}-rtl`]:br,[`${dr}-borderless`]:!tt,[`${dr}-in-form-item`]:Xt},(0,ze.Z)(dr,rr,Sr),Dr,Gn==null?void 0:Gn.className,mt,Pt,Qi),disabled:Ho,style:Object.assign(Object.assign({},Gn==null?void 0:Gn.style),Ci)},vi,{builtinPlacements:It,direction:Ai,placement:pt,notFoundContent:Hi,allowClear:sn,showSearch:pr,expandIcon:co,suffixIcon:Vr,removeIcon:Ii,loadingIcon:mr,checkable:hr,dropdownClassName:Ln,dropdownPrefixCls:li||Nr,choiceTransitionName:(0,pe.m)(Er,"",dn),transitionName:(0,pe.m)(Er,"slide-up",qt),getPopupContainer:Qn||ti,ref:Wn}));return er(Ti(Hn))}),hi=(0,De.Z)(Ce);Ce.SHOW_PARENT=ar,Ce.SHOW_CHILD=Kr,Ce._InternalPanelDoNotUseOrYouWillBeFired=hi;var ki=Ce},24905:function(Rn,Fn,ye){"use strict";ye.d(Fn,{default:function(){return Ie}});var Se=ye(92310),Oe=ye.n(Se),He=ye(5630),Rt=ye(59301),_e=ye(36355),vt=ye(1684),ke=ye(32441),Lt=Rt.createContext(null),et=ye(98447),gt=ye(14088),ct=ye(4572),wt=function(We,Ke){var Xe={};for(var ht in We)Object.prototype.hasOwnProperty.call(We,ht)&&Ke.indexOf(ht)<0&&(Xe[ht]=We[ht]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,ht=Object.getOwnPropertySymbols(We);Ve{var Xe;const{prefixCls:ht,className:Ve,rootClassName:Nt,children:qe,indeterminate:Ht=!1,style:Zt,onMouseEnter:Yt,onMouseLeave:Ot,skipGroup:Qt=!1,disabled:dt}=We,Re=wt(We,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Mt,direction:Pn,checkbox:mn}=Rt.useContext(_e.E_),kt=Rt.useContext(Lt),{isFormItemInput:_t}=Rt.useContext(ke.aM),ln=Rt.useContext(vt.Z),Bn=(Xe=(kt==null?void 0:kt.disabled)||dt)!==null&&Xe!==void 0?Xe:ln,wn=Rt.useRef(Re.value);Rt.useEffect(()=>{kt==null||kt.registerValue(Re.value)},[]),Rt.useEffect(()=>{if(!Qt)return Re.value!==wn.current&&(kt==null||kt.cancelValue(wn.current),kt==null||kt.registerValue(Re.value),wn.current=Re.value),()=>kt==null?void 0:kt.cancelValue(Re.value)},[Re.value]);const Kn=Mt("checkbox",ht),[yt,Jn]=(0,et.ZP)(Kn),bn=Object.assign({},Re);kt&&!Qt&&(bn.onChange=function(){Re.onChange&&Re.onChange.apply(Re,arguments),kt.toggleOption&&kt.toggleOption({label:qe,value:Re.value})},bn.name=kt.name,bn.checked=kt.value.includes(Re.value));const ci=Oe()(`${Kn}-wrapper`,{[`${Kn}-rtl`]:Pn==="rtl",[`${Kn}-wrapper-checked`]:bn.checked,[`${Kn}-wrapper-disabled`]:Bn,[`${Kn}-wrapper-in-form-item`]:_t},mn==null?void 0:mn.className,Ve,Nt,Jn),Tn=Oe()({[`${Kn}-indeterminate`]:Ht},ct.A,Jn),tn=Ht?"mixed":void 0;return yt(Rt.createElement(gt.Z,{component:"Checkbox",disabled:Bn},Rt.createElement("label",{className:ci,style:Object.assign(Object.assign({},mn==null?void 0:mn.style),Zt),onMouseEnter:Yt,onMouseLeave:Ot},Rt.createElement(He.Z,Object.assign({"aria-checked":tn},bn,{prefixCls:Kn,className:Tn,disabled:Bn,ref:Ke})),qe!==void 0&&Rt.createElement("span",null,qe))))};var ne=Rt.forwardRef(Me),ce=ye(26390),se=ye(64002),ge=function(We,Ke){var Xe={};for(var ht in We)Object.prototype.hasOwnProperty.call(We,ht)&&Ke.indexOf(ht)<0&&(Xe[ht]=We[ht]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,ht=Object.getOwnPropertySymbols(We);Ve{const{defaultValue:Xe,children:ht,options:Ve=[],prefixCls:Nt,className:qe,rootClassName:Ht,style:Zt,onChange:Yt}=We,Ot=ge(We,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Qt,direction:dt}=Rt.useContext(_e.E_),[Re,Mt]=Rt.useState(Ot.value||Xe||[]),[Pn,mn]=Rt.useState([]);Rt.useEffect(()=>{"value"in Ot&&Mt(Ot.value||[])},[Ot.value]);const kt=Rt.useMemo(()=>Ve.map($t=>typeof $t=="string"||typeof $t=="number"?{label:$t,value:$t}:$t),[Ve]),_t=$t=>{mn(ft=>ft.filter(Je=>Je!==$t))},ln=$t=>{mn(ft=>[].concat((0,ce.Z)(ft),[$t]))},Bn=$t=>{const ft=Re.indexOf($t.value),Je=(0,ce.Z)(Re);ft===-1?Je.push($t.value):Je.splice(ft,1),"value"in Ot||Mt(Je),Yt==null||Yt(Je.filter(Gt=>Pn.includes(Gt)).sort((Gt,At)=>{const lt=kt.findIndex(Be=>Be.value===Gt),Ge=kt.findIndex(Be=>Be.value===At);return lt-Ge}))},wn=Qt("checkbox",Nt),Kn=`${wn}-group`,[yt,Jn]=(0,et.ZP)(wn),bn=(0,se.Z)(Ot,["value","disabled"]),ci=Ve.length?kt.map($t=>Rt.createElement(ne,{prefixCls:wn,key:$t.value.toString(),disabled:"disabled"in $t?$t.disabled:Ot.disabled,value:$t.value,checked:Re.includes($t.value),onChange:$t.onChange,className:`${Kn}-item`,style:$t.style,title:$t.title},$t.label)):ht,Tn={toggleOption:Bn,value:Re,disabled:Ot.disabled,name:Ot.name,registerValue:ln,cancelValue:_t},tn=Oe()(Kn,{[`${Kn}-rtl`]:dt==="rtl"},qe,Ht,Jn);return yt(Rt.createElement("div",Object.assign({className:tn,style:Zt},bn,{ref:Ke}),Rt.createElement(Lt.Provider,{value:Tn},ci)))},be=Rt.forwardRef(ve);var Fe=Rt.memo(be);const Pe=ne;Pe.Group=Fe,Pe.__ANT_CHECKBOX=!0;var Ie=Pe},98447:function(Rn,Fn,ye){"use strict";ye.d(Fn,{C2:function(){return _e}});var Se=ye(17313),Oe=ye(37613),He=ye(83116);const Rt=vt=>{const{checkboxCls:ke}=vt,Tt=`${ke}-wrapper`;return[{[`${ke}-group`]:Object.assign(Object.assign({},(0,Se.Wf)(vt)),{display:"inline-flex",flexWrap:"wrap",columnGap:vt.marginXS,[`> ${vt.antCls}-row`]:{flex:1}}),[Tt]:Object.assign(Object.assign({},(0,Se.Wf)(vt)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Tt}`]:{marginInlineStart:0},[`&${Tt}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ke]:Object.assign(Object.assign({},(0,Se.Wf)(vt)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:vt.borderRadiusSM,alignSelf:"center",[`${ke}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ke}-inner`]:Object.assign({},(0,Se.oN)(vt))},[`${ke}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:vt.checkboxSize,height:vt.checkboxSize,direction:"ltr",backgroundColor:vt.colorBgContainer,border:`${vt.lineWidth}px ${vt.lineType} ${vt.colorBorder}`,borderRadius:vt.borderRadiusSM,borderCollapse:"separate",transition:`all ${vt.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:vt.checkboxSize/14*5,height:vt.checkboxSize/14*8,border:`${vt.lineWidthBold}px solid ${vt.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${vt.motionDurationFast} ${vt.motionEaseInBack}, opacity ${vt.motionDurationFast}`}},"& + span":{paddingInlineStart:vt.paddingXS,paddingInlineEnd:vt.paddingXS}})},{[` ${Tt}:not(${Tt}-disabled), ${ke}:not(${ke}-disabled) `]:{[`&:hover ${ke}-inner`]:{borderColor:vt.colorPrimary}},[`${Tt}:not(${Tt}-disabled)`]:{[`&:hover ${ke}-checked:not(${ke}-disabled) ${ke}-inner`]:{backgroundColor:vt.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ke}-checked:not(${ke}-disabled):after`]:{borderColor:vt.colorPrimaryHover}}},{[`${ke}-checked`]:{[`${ke}-inner`]:{backgroundColor:vt.colorPrimary,borderColor:vt.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${vt.motionDurationMid} ${vt.motionEaseOutBack} ${vt.motionDurationFast}`}}},[` ${Tt}-checked:not(${Tt}-disabled), ${ke}-checked:not(${ke}-disabled) `]:{[`&:hover ${ke}-inner`]:{backgroundColor:vt.colorPrimaryHover,borderColor:"transparent"}}},{[ke]:{"&-indeterminate":{[`${ke}-inner`]:{backgroundColor:vt.colorBgContainer,borderColor:vt.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:vt.fontSizeLG/2,height:vt.fontSizeLG/2,backgroundColor:vt.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Tt}-disabled`]:{cursor:"not-allowed"},[`${ke}-disabled`]:{[`&, ${ke}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ke}-inner`]:{background:vt.colorBgContainerDisabled,borderColor:vt.colorBorder,"&:after":{borderColor:vt.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:vt.colorTextDisabled},[`&${ke}-indeterminate ${ke}-inner::after`]:{background:vt.colorTextDisabled}}}]};function _e(vt,ke){const Tt=(0,Oe.TS)(ke,{checkboxCls:`.${vt}`,checkboxSize:ke.controlInteractiveSize});return[Rt(Tt)]}Fn.ZP=(0,He.Z)("Checkbox",(vt,ke)=>{let{prefixCls:Tt}=ke;return[_e(Tt,vt)]})},93891:function(Rn,Fn,ye){"use strict";var Se=ye(59301),Oe=ye(36355),He=ye(64165);const Rt=_e=>{const{componentName:vt}=_e,{getPrefixCls:ke}=(0,Se.useContext)(Oe.E_),Tt=ke("empty");switch(vt){case"Table":case"List":return Se.createElement(He.Z,{image:He.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Se.createElement(He.Z,{image:He.Z.PRESENTED_IMAGE_SIMPLE,className:`${Tt}-small`});default:return Se.createElement(He.Z,null)}};Fn.Z=Rt},78550:function(Rn,Fn,ye){"use strict";ye.d(Fn,{default:function(){return ol}});var Se=ye(61186),Oe=ye.n(Se),He=ye(51395),Rt=ye(90111),_e=ye.n(Rt),vt=ye(58319),ke=ye.n(vt),Tt=ye(23250),Lt=ye.n(Tt),et=ye(74959),gt=ye.n(et),ct=ye(10238),wt=ye.n(ct),Me=ye(33656),te=ye.n(Me);Oe().extend(te()),Oe().extend(wt()),Oe().extend(_e()),Oe().extend(ke()),Oe().extend(Lt()),Oe().extend(gt()),Oe().extend(function(je,$e){var st=$e.prototype,nn=st.format;st.format=function(In){var Zn=(In||"").replace("Wo","wo");return nn.bind(this)(Zn)}});var ne={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"},ce=function($e){var st=ne[$e];return st||$e.split("_")[0]},se=function(){(0,He.ET)(!1,"Not match any format. Please help to fire a issue about this.")},ge={getNow:function(){return Oe()()},getFixedDate:function($e){return Oe()($e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function($e){return $e.endOf("month")},getWeekDay:function($e){var st=$e.locale("en");return st.weekday()+st.localeData().firstDayOfWeek()},getYear:function($e){return $e.year()},getMonth:function($e){return $e.month()},getDate:function($e){return $e.date()},getHour:function($e){return $e.hour()},getMinute:function($e){return $e.minute()},getSecond:function($e){return $e.second()},addYear:function($e,st){return $e.add(st,"year")},addMonth:function($e,st){return $e.add(st,"month")},addDate:function($e,st){return $e.add(st,"day")},setYear:function($e,st){return $e.year(st)},setMonth:function($e,st){return $e.month(st)},setDate:function($e,st){return $e.date(st)},setHour:function($e,st){return $e.hour(st)},setMinute:function($e,st){return $e.minute(st)},setSecond:function($e,st){return $e.second(st)},isAfter:function($e,st){return $e.isAfter(st)},isValidate:function($e){return $e.isValid()},locale:{getWeekFirstDay:function($e){return Oe()().locale(ce($e)).localeData().firstDayOfWeek()},getWeekFirstDate:function($e,st){return st.locale(ce($e)).weekday(0)},getWeek:function($e,st){return st.locale(ce($e)).week()},getShortWeekDays:function($e){return Oe()().locale(ce($e)).localeData().weekdaysMin()},getShortMonths:function($e){return Oe()().locale(ce($e)).localeData().monthsShort()},format:function($e,st,nn){return st.locale(ce($e)).format(nn)},parse:function($e,st,nn){for(var hn=ce($e),In=0;In1&&(Zn=$e.addDate(Zn,-7)),Zn}function rn(je,$e,st){var nn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch($e){case"year":return st.addYear(je,nn*10);case"quarter":case"month":return st.addYear(je,nn);default:return st.addMonth(je,nn)}}function vn(je,$e){var st=$e.generateConfig,nn=$e.locale,hn=$e.format;return typeof hn=="function"?hn(je):st.locale.format(nn.locale,je,hn)}function mi(je,$e){var st=$e.generateConfig,nn=$e.locale,hn=$e.formatList;return!je||typeof hn[0]=="function"?null:st.locale.parse(nn.locale,je,hn)}function wi(je){var $e=je.cellDate,st=je.mode,nn=je.disabledDate,hn=je.generateConfig;if(!nn)return!1;var In=function(xr,ni,$i){for(var wr=ni;wr<=$i;){var ho=void 0;switch(xr){case"date":{if(ho=hn.setDate($e,wr),!nn(ho))return!1;break}case"month":{if(ho=hn.setMonth($e,wr),!wi({cellDate:ho,mode:"month",generateConfig:hn,disabledDate:nn}))return!1;break}case"year":{if(ho=hn.setYear($e,wr),!wi({cellDate:ho,mode:"year",generateConfig:hn,disabledDate:nn}))return!1;break}}wr+=1}return!0};switch(st){case"date":case"week":return nn($e);case"month":{var Zn=1,oi=hn.getDate(hn.getEndDate($e));return In("date",Zn,oi)}case"quarter":{var ui=Math.floor(hn.getMonth($e)/3)*3,Mi=ui+2;return In("month",ui,Mi)}case"year":return In("month",0,11);case"decade":{var sr=hn.getYear($e),Ei=Math.floor(sr/ft)*ft,_i=Ei+ft-1;return In("year",Ei,_i)}}}function Ri(je,$e){var st=$e.formatList,nn=$e.generateConfig,hn=$e.locale;return(0,tn.Z)(function(){if(!je)return[[""],""];for(var In="",Zn=[],oi=0;oi1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Mi.current),wr){ui($i);return}Mi.current=requestAnimationFrame(function(){ui($i)})}var Ei=Ri(oi,{formatList:st,generateConfig:nn,locale:hn}),_i=(0,bn.Z)(Ei,2),bi=_i[1];function xr($i){sr($i)}function ni(){var $i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;sr(null,$i)}return(0,Pe.useEffect)(function(){ni(!0)},[je]),(0,Pe.useEffect)(function(){return function(){return cancelAnimationFrame(Mi.current)}},[]),[bi,xr,ni]}var Mn=ye(85108),nr=ye(23073),Wr=ye(26390),Hr=ye(48886),Tr=new Map;function Fr(je,$e){var st;function nn(){(0,Hr.Z)(je)?$e():st=(0,nr.Z)(function(){nn()})}return nn(),function(){nr.Z.cancel(st)}}function Yr(je,$e,st){if(Tr.get(je)&&cancelAnimationFrame(Tr.get(je)),st<=0){Tr.set(je,requestAnimationFrame(function(){je.scrollTop=$e}));return}var nn=$e-je.scrollTop,hn=nn/st*10;Tr.set(je,requestAnimationFrame(function(){je.scrollTop+=hn,je.scrollTop!==$e&&Yr(je,$e,st-10)}))}function Kr(je,$e){var st=$e.onLeftRight,nn=$e.onCtrlLeftRight,hn=$e.onUpDown,In=$e.onPageUpDown,Zn=$e.onEnter,oi=je.which,ui=je.ctrlKey,Mi=je.metaKey;switch(oi){case Mn.Z.LEFT:if(ui||Mi){if(nn)return nn(-1),!0}else if(st)return st(-1),!0;break;case Mn.Z.RIGHT:if(ui||Mi){if(nn)return nn(1),!0}else if(st)return st(1),!0;break;case Mn.Z.UP:if(hn)return hn(-1),!0;break;case Mn.Z.DOWN:if(hn)return hn(1),!0;break;case Mn.Z.PAGE_UP:if(In)return In(-1),!0;break;case Mn.Z.PAGE_DOWN:if(In)return In(1),!0;break;case Mn.Z.ENTER:if(Zn)return Zn(),!0;break}return!1}function ar(je,$e,st,nn){var hn=je;if(!hn)switch($e){case"time":hn=nn?"hh:mm:ss a":"HH:mm:ss";break;case"week":hn="gggg-wo";break;case"month":hn="YYYY-MM";break;case"quarter":hn="YYYY-[Q]Q";break;case"year":hn="YYYY";break;default:hn=st?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return hn}function Co(je,$e,st){var nn=je==="time"?8:10,hn=typeof $e=="function"?$e(st.getNow()).length:$e.length;return Math.max(nn,hn)+2}var $n=null,Ce=new Set;function hi(je){return!$n&&typeof window!="undefined"&&window.addEventListener&&($n=function(st){(0,Wr.Z)(Ce).forEach(function(nn){nn(st)})},window.addEventListener("mousedown",$n)),Ce.add(je),function(){Ce.delete(je),Ce.size===0&&(window.removeEventListener("mousedown",$n),$n=null)}}function ki(je){var $e=je.target;if(je.composed&&$e.shadowRoot){var st;return((st=je.composedPath)===null||st===void 0?void 0:st.call(je)[0])||$e}return $e}var un=function($e){return $e==="month"||$e==="date"?"year":$e},Wn=function($e){return $e==="date"?"month":$e},li=function($e){return $e==="month"||$e==="date"?"quarter":$e},fn=function($e){return $e==="date"?"week":$e},on={year:un,month:Wn,quarter:li,week:fn,time:null,date:null};function mt(je,$e){return je.some(function(st){return st&&st.contains($e)})}function Pt(je){var $e=je.open,st=je.value,nn=je.isClickOutside,hn=je.triggerOpen,In=je.forwardKeyDown,Zn=je.onKeyDown,oi=je.blurToCancel,ui=je.onSubmit,Mi=je.onCancel,sr=je.onFocus,Ei=je.onBlur,_i=je.changeOnBlur,bi=(0,Pe.useState)(!1),xr=(0,bn.Z)(bi,2),ni=xr[0],$i=xr[1],wr=(0,Pe.useState)(!1),ho=(0,bn.Z)(wr,2),io=ho[0],mo=ho[1],vo=(0,Pe.useRef)(!1),fo=(0,Pe.useRef)(!1),lr=(0,Pe.useRef)(!1),aa={onMouseDown:function(){$i(!0),hn(!0)},onKeyDown:function(Sa){var Ka=function(){lr.current=!0};if(Zn(Sa,Ka),!lr.current){switch(Sa.which){case Mn.Z.ENTER:{$e?ui()!==!1&&$i(!0):hn(!0),Sa.preventDefault();return}case Mn.Z.TAB:{ni&&$e&&!Sa.shiftKey?($i(!1),Sa.preventDefault()):!ni&&$e&&!In(Sa)&&Sa.shiftKey&&($i(!0),Sa.preventDefault());return}case Mn.Z.ESC:{$i(!0),Mi();return}}!$e&&![Mn.Z.SHIFT].includes(Sa.which)?hn(!0):ni||In(Sa)}},onFocus:function(Sa){$i(!0),mo(!0),sr&&sr(Sa)},onBlur:function(Sa){if(vo.current||!nn(document.activeElement)){vo.current=!1;return}oi?setTimeout(function(){for(var Ka=document,Ha=Ka.activeElement;Ha&&Ha.shadowRoot;)Ha=Ha.shadowRoot.activeElement;nn(Ha)&&Mi()},0):$e&&(hn(!1),fo.current&&ui()),mo(!1),Ei==null||Ei(Sa)}};return(0,Pe.useEffect)(function(){fo.current=!1},[$e]),(0,Pe.useEffect)(function(){fo.current=!0},[st]),(0,Pe.useEffect)(function(){return hi(function(ea){var Sa=ki(ea),Ka=nn(Sa);$e&&(Ka?!_i&&(!io||Ka)&&hn(!1):(vo.current=!0,(0,nr.Z)(function(){vo.current=!1})))})}),[aa,{focused:io,typing:ni}]}function bt(je,$e){return Pe.useMemo(function(){return je||($e?((0,He.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries($e).map(function(st){var nn=(0,bn.Z)(st,2),hn=nn[0],In=nn[1];return{label:hn,value:In}})):[])},[je,$e])}var tt=ye(28800);function qt(je){var $e=je.valueTexts,st=je.onTextChange,nn=Pe.useState(""),hn=(0,bn.Z)(nn,2),In=hn[0],Zn=hn[1],oi=Pe.useRef([]);oi.current=$e;function ui(sr){Zn(sr),st(sr)}function Mi(){Zn(oi.current[0])}return(0,tt.Z)(function(){$e.every(function(sr){return sr!==In})&&Mi()},[$e.join("||")]),[In,ui,Mi]}var dn=Pe.createContext({}),xt=dn,Ye=ye(80665);function an(je){var $e=je.cellRender,st=je.monthCellRender,nn=je.dateRender,hn=Pe.useMemo(function(){if($e)return $e;if(!(!st&&!nn))return function(In,Zn){var oi=In;return nn&&Zn.type==="date"?nn(oi,Zn.today):st&&Zn.type==="month"?st(oi,Zn.locale):Zn.originNode}},[$e,st,nn]);return hn}function Bt(je,$e){for(var st=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",nn=String(je);nn.length<$e;)nn="".concat(st).concat(je);return nn}var jn=function(){for(var $e=arguments.length,st=new Array($e),nn=0;nn<$e;nn++)st[nn]=arguments[nn];return st};function cn(je){return je==null?[]:Array.isArray(je)?je:[je]}function Et(je,$e){return je?je[$e]:null}function xn(je,$e,st){var nn=[Et(je,0),Et(je,1)];return nn[st]=typeof $e=="function"?$e(nn[st]):$e,!nn[0]&&!nn[1]?null:nn}function Qn(je){return typeof je=="function"?je():je}function Un(je){var $e=je.cellPrefixCls,st=je.generateConfig,nn=je.rangedValue,hn=je.hoverRangedValue,In=je.isInView,Zn=je.isSameCell,oi=je.offsetCell,ui=je.today,Mi=je.value;function sr(Ei){var _i,bi=oi(Ei,-1),xr=oi(Ei,1),ni=Et(nn,0),$i=Et(nn,1),wr=Et(hn,0),ho=Et(hn,1),io=Ut(st,wr,ho,Ei);function mo(Sa){return Zn(ni,Sa)}function vo(Sa){return Zn($i,Sa)}var fo=Zn(wr,Ei),lr=Zn(ho,Ei),aa=(io||lr)&&(!In(bi)||vo(bi)),ea=(io||fo)&&(!In(xr)||mo(xr));return _i={},(0,yt.Z)(_i,"".concat($e,"-in-view"),In(Ei)),(0,yt.Z)(_i,"".concat($e,"-in-range"),Ut(st,ni,$i,Ei)),(0,yt.Z)(_i,"".concat($e,"-range-start"),mo(Ei)),(0,yt.Z)(_i,"".concat($e,"-range-end"),vo(Ei)),(0,yt.Z)(_i,"".concat($e,"-range-start-single"),mo(Ei)&&!$i),(0,yt.Z)(_i,"".concat($e,"-range-end-single"),vo(Ei)&&!ni),(0,yt.Z)(_i,"".concat($e,"-range-start-near-hover"),mo(Ei)&&(Zn(bi,wr)||Ut(st,wr,ho,bi))),(0,yt.Z)(_i,"".concat($e,"-range-end-near-hover"),vo(Ei)&&(Zn(xr,ho)||Ut(st,wr,ho,xr))),(0,yt.Z)(_i,"".concat($e,"-range-hover"),io),(0,yt.Z)(_i,"".concat($e,"-range-hover-start"),fo),(0,yt.Z)(_i,"".concat($e,"-range-hover-end"),lr),(0,yt.Z)(_i,"".concat($e,"-range-hover-edge-start"),aa),(0,yt.Z)(_i,"".concat($e,"-range-hover-edge-end"),ea),(0,yt.Z)(_i,"".concat($e,"-range-hover-edge-start-near-range"),aa&&Zn(bi,$i)),(0,yt.Z)(_i,"".concat($e,"-range-hover-edge-end-near-range"),ea&&Zn(xr,ni)),(0,yt.Z)(_i,"".concat($e,"-today"),Zn(ui,Ei)),(0,yt.Z)(_i,"".concat($e,"-selected"),Zn(Mi,Ei)),_i}return sr}var zt=Pe.createContext({}),Sn=zt;function Ci(je,$e,st,nn,hn){var In=je.setHour($e,st);return In=je.setMinute(In,nn),In=je.setSecond(In,hn),In}function Si(je,$e,st){if(!st)return $e;var nn=$e;return nn=je.setHour(nn,je.getHour(st)),nn=je.setMinute(nn,je.getMinute(st)),nn=je.setSecond(nn,je.getSecond(st)),nn}function vi(je,$e,st,nn,hn,In){var Zn=Math.floor(je/nn)*nn;if(Zn=1?st|0:1,Zn=je;Zn<=$e;Zn+=In)hn.push({label:Bt(Zn,2),value:Zn,disabled:(nn||[]).includes(Zn)});return hn}function er(je){var $e=je.generateConfig,st=je.prefixCls,nn=je.operationRef,hn=je.activeColumnIndex,In=je.value,Zn=je.showHour,oi=je.showMinute,ui=je.showSecond,Mi=je.use12Hours,sr=je.hourStep,Ei=sr===void 0?1:sr,_i=je.minuteStep,bi=_i===void 0?1:_i,xr=je.secondStep,ni=xr===void 0?1:xr,$i=je.disabledHours,wr=je.disabledMinutes,ho=je.disabledSeconds,io=je.disabledTime,mo=je.hideDisabledOptions,vo=je.onSelect,fo=je.cellRender,lr=je.locale,aa=[],ea="".concat(st,"-content"),Sa="".concat(st,"-time-panel"),Ka,Ha=In?$e.getHour(In):-1,Ba=Ha,fs=In?$e.getMinute(In):-1,La=In?$e.getSecond(In):-1,Ca=$e.getNow(),Ta=Pe.useMemo(function(){if(io){var ii=io(Ca);return[ii.disabledHours,ii.disabledMinutes,ii.disabledSeconds]}return[$i,wr,ho]},[$i,wr,ho,io,Ca]),as=(0,bn.Z)(Ta,3),gs=as[0],Ja=as[1],Oa=as[2],Rs=Qi(0,23,Ei,gs&&gs()),hl=(0,tn.Z)(function(){return Rs},Rs,Ti);Mi&&(Ka=Ba>=12,Ba%=12);var it=Pe.useMemo(function(){if(!Mi)return[!1,!1];var ii=[!0,!0];return hl.forEach(function(yi){var Ji=yi.disabled,Ui=yi.value;Ji||(Ui>=12?ii[1]=!1:ii[0]=!1)}),ii},[Mi,hl]),ut=(0,bn.Z)(it,2),Jt=ut[0],en=ut[1],An=Pe.useMemo(function(){return Mi?hl.filter(Ka?function(ii){return ii.value>=12}:function(ii){return ii.value<12}).map(function(ii){var yi=ii.value%12,Ji=yi===0?"12":Bt(yi,2);return(0,Jn.Z)((0,Jn.Z)({},ii),{},{label:Ji,value:yi})}):hl},[Mi,Ka,hl]),gn=Qi(0,59,bi,Ja&&Ja(Ha)),Xn=Qi(0,59,ni,Oa&&Oa(Ha,fs)),Yn=Er({value:In,generateConfig:$e,disabledMinutes:Ja,disabledSeconds:Oa,minutes:gn,seconds:Xn,use12Hours:Mi});nn.current={onUpDown:function(yi){var Ji=aa[hn];if(Ji)for(var Ui=Ji.units.findIndex(function(Ar){return Ar.value===Ji.value}),zi=Ji.units.length,yr=1;yr2&&arguments[2]!==void 0?arguments[2]:!1;(Lr===$i||Uo)&&(yo(qi),aa&&aa(qi),Yn&&Yn(qi,Zr),ea&&!nt(ui,qi,Br)&&!(bi!=null&&bi(qi))&&ea(qi))},ta=function(qi){if(pl.includes(Lr)){var Zr,Uo,sa=Lr==="date";switch(qi===Mn.Z.PAGE_UP||qi===Mn.Z.PAGE_DOWN?Uo=sa?ui.addMonth:ui.addYear:Uo=sa?ui.addDate:ui.addMonth,qi){case Mn.Z.LEFT:case Mn.Z.PAGE_UP:Zr=Uo(eo,-1);break;case Mn.Z.RIGHT:case Mn.Z.PAGE_DOWN:Zr=Uo(eo,1);break;case Mn.Z.UP:case Mn.Z.DOWN:Zr=Uo(eo,Number("".concat(qi===Mn.Z.UP?"-":"").concat(sa?Gt:Hn)));break}if(Zr)return!(bi!=null&&bi(Zr))}return!0},Qa=function(qi){if(yr.current&&yr.current.onKeyDown){var Zr=!0,Uo=qi.which;if([Mn.Z.LEFT,Mn.Z.RIGHT,Mn.Z.UP,Mn.Z.DOWN,Mn.Z.PAGE_UP,Mn.Z.PAGE_DOWN,Mn.Z.ENTER].includes(Uo)&&(qi.preventDefault(),Uo!==Mn.Z.ENTER&&ho===0&&(Zr=ta(Uo))),Zr)return yr.current.onKeyDown(qi)}return(0,He.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},fa=function(qi){yr.current&&yr.current.onBlur&&yr.current.onBlur(qi)};Xn&&Ji!=="right"&&(Xn.current={onKeyDown:Qa,onClose:function(){yr.current&&yr.current.onClose&&yr.current.onClose()}}),Pe.useEffect(function(){Mi&&!Ki.current&&Ko(Mi)},[Mi]),Pe.useEffect(function(){Ki.current=!1},[]);var Wo,wo=an({cellRender:it,monthCellRender:hl,dateRender:Rs}),To=(0,Jn.Z)((0,Jn.Z)({},je),{},{cellRender:wo,operationRef:yr,prefixCls:hn,viewDate:eo,value:Br,onViewDateChange:Or,sourceMode:Mr,onPanelChange:_o,disabledDate:bi});switch(delete To.onChange,delete To.onSelect,Lr){case"decade":Wo=Pe.createElement(pt,(0,Fe.Z)({},To,{onSelect:function(qi,Zr){Or(qi),na(qi,Zr)}}));break;case"year":Wo=Pe.createElement(ts,(0,Fe.Z)({},To,{onSelect:function(qi,Zr){Or(qi),na(qi,Zr)}}));break;case"month":Wo=Pe.createElement(qn,(0,Fe.Z)({},To,{onSelect:function(qi,Zr){Or(qi),na(qi,Zr)}}));break;case"quarter":Wo=Pe.createElement(Ao,(0,Fe.Z)({},To,{onSelect:function(qi,Zr){Or(qi),na(qi,Zr)}}));break;case"week":Wo=Pe.createElement($r,(0,Fe.Z)({},To,{onSelect:function(qi,Zr){Or(qi),na(qi,Zr)}}));break;case"time":delete To.showTime,Wo=Pe.createElement(pr,(0,Fe.Z)({},To,(0,Ye.Z)(mo)==="object"?mo:null,{onSelect:function(qi,Zr){Or(qi),na(qi,Zr)}}));break;default:mo?Wo=Pe.createElement(Ho,(0,Fe.Z)({},To,{onSelect:function(qi,Zr){Or(qi),na(qi,Zr)}})):Wo=Pe.createElement(Li,(0,Fe.Z)({},To,{onSelect:function(qi,Zr){Or(qi),na(qi,Zr)}}))}var Ya,Ia,ns=function(){var qi=ui.getNow(),Zr=vi(ui.getHour(qi),ui.getMinute(qi),ui.getSecond(qi),Jt?Ta:1,en?gs:1,An?Oa:1),Uo=Ci(ui,qi,Zr[0],Zr[1],Zr[2]);na(Uo,"submit")};Vn||(Ya=Ga(hn,Lr,fo),mo&&Lr!=="date"?Ia=null:Ia=Ds({prefixCls:hn,components:fs,needConfirmButton:ut,okDisabled:!Br||bi&&bi(Br),locale:oi,showNow:io,onNow:ut&&ns,onOk:function(){Br&&(na(Br,"submit",!0),Ba&&Ba(Br))}}));var Ro;if(vo&&Lr==="date"&&$i==="date"&&!mo){var bo=ui.getNow(),Zo="".concat(hn,"-today-btn"),xo=bi&&bi(bo);Ro=Pe.createElement("a",{className:kt()(Zo,xo&&"".concat(Zo,"-disabled")),"aria-disabled":xo,onClick:function(){xo||na(bo,"mouse",!0)}},oi.today)}return Pe.createElement(xt.Provider,{value:(0,Jn.Z)((0,Jn.Z)({},gn),{},{mode:Lr,hideHeader:"hideHeader"in je?lr:gn.hideHeader,hidePrevBtn:yi&&Ji==="right",hideNextBtn:yi&&Ji==="left"})},Pe.createElement("div",{tabIndex:ho,className:kt()("".concat(hn,"-panel"),In,($e={},(0,yt.Z)($e,"".concat(hn,"-panel-has-range"),Ui&&Ui[0]&&Ui[1]),(0,yt.Z)($e,"".concat(hn,"-panel-has-range-hover"),zi&&zi[0]&&zi[1]),(0,yt.Z)($e,"".concat(hn,"-panel-rtl"),La==="rtl"),$e)),style:Zn,onKeyDown:Qa,onBlur:fa,onMouseDown:Ka},Wo,Ya||Ia||Ro?Pe.createElement("div",{className:"".concat(hn,"-footer")},Ya,Ia,Ro):null))}var Fo=ma,Oo=ye(35593),Pa={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function no(je){var $e,st=je.prefixCls,nn=je.popupElement,hn=je.popupStyle,In=je.visible,Zn=je.dropdownClassName,oi=je.dropdownAlign,ui=je.transitionName,Mi=je.getPopupContainer,sr=je.children,Ei=je.range,_i=je.popupPlacement,bi=je.direction,xr="".concat(st,"-dropdown"),ni=function(){return _i!==void 0?_i:bi==="rtl"?"bottomRight":"bottomLeft"};return Pe.createElement(Oo.Z,{showAction:[],hideAction:[],popupPlacement:ni(),builtinPlacements:Pa,prefixCls:xr,popupTransitionName:ui,popup:nn,popupAlign:oi,popupVisible:In,popupClassName:kt()(Zn,($e={},(0,yt.Z)($e,"".concat(xr,"-range"),Ei),(0,yt.Z)($e,"".concat(xr,"-rtl"),bi==="rtl"),$e)),popupStyle:hn,getPopupContainer:Mi},sr)}var ko=no;function oo(je){var $e=je.prefixCls,st=je.presets,nn=je.onClick,hn=je.onHover;return st.length?Pe.createElement("div",{className:"".concat($e,"-presets")},Pe.createElement("ul",null,st.map(function(In,Zn){var oi=In.label,ui=In.value;return Pe.createElement("li",{key:Zn,onClick:function(){return nn==null?void 0:nn(Qn(ui))},onMouseEnter:function(){return hn==null?void 0:hn(Qn(ui))},onMouseLeave:function(){return hn==null?void 0:hn(null)}},oi)}))):null}function Vi(je){var $e=je.picker,st=je.disabledHours,nn=je.disabledMinutes,hn=je.disabledSeconds;$e==="time"&&(st||nn||hn)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ha(je,$e,st){var nn=(0,Ye.Z)($e)==="object"?$e.clearIcon:st;return nn||Pe.createElement("span",{className:"".concat(je,"-clear-btn")})}function Na(je){var $e,st=je,nn=st.prefixCls,hn=nn===void 0?"rc-picker":nn,In=st.id,Zn=st.name,oi=st.tabIndex,ui=st.style,Mi=st.className,sr=st.dropdownClassName,Ei=st.dropdownAlign,_i=st.popupStyle,bi=st.transitionName,xr=st.generateConfig,ni=st.locale,$i=st.inputReadOnly,wr=st.allowClear,ho=st.autoFocus,io=st.showTime,mo=st.picker,vo=mo===void 0?"date":mo,fo=st.format,lr=st.use12Hours,aa=st.value,ea=st.defaultValue,Sa=st.presets,Ka=st.open,Ha=st.defaultOpen,Ba=st.defaultOpenValue,fs=st.suffixIcon,La=st.clearIcon,Ca=st.disabled,Ta=st.disabledDate,as=st.placeholder,gs=st.getPopupContainer,Ja=st.pickerRef,Oa=st.panelRender,Rs=st.onChange,hl=st.onOpenChange,it=st.onFocus,ut=st.onBlur,Jt=st.onMouseDown,en=st.onMouseUp,An=st.onMouseEnter,gn=st.onMouseLeave,Xn=st.onContextMenu,Yn=st.onClick,Vn=st.onKeyDown,Pi=st.onSelect,ii=st.direction,yi=st.autoComplete,Ji=yi===void 0?"off":yi,Ui=st.inputRender,zi=st.changeOnBlur,yr=Pe.useRef(null),Ki=vo==="date"&&!!io||vo==="time",Ar=bt(Sa),Pr=cn(ar(fo,vo,io,lr)),Br=Pe.useRef(null),yo=Pe.useRef(null),Lo=Pe.useRef(null),zr=(0,ci.Z)(null,{value:aa,defaultValue:ea}),eo=(0,bn.Z)(zr,2),Ko=eo[0],Or=eo[1],so=Pe.useState(Ko),jr=(0,bn.Z)(so,2),gr=jr[0],Lr=jr[1],lo=Pe.useRef(null),Mo=(0,ci.Z)(!1,{value:Ka,defaultValue:Ha,postState:function(zo){return Ca?!1:zo},onChange:function(zo){hl&&hl(zo),!zo&&lo.current&&lo.current.onClose&&lo.current.onClose()}}),No=(0,bn.Z)(Mo,2),Mr=No[0],Vo=No[1],_o=Ri(gr,{formatList:Pr,generateConfig:xr,locale:ni}),na=(0,bn.Z)(_o,2),ta=na[0],Qa=na[1],fa=qt({valueTexts:ta,onTextChange:function(zo){var Ms=mi(zo,{locale:ni,formatList:Pr,generateConfig:xr});Ms&&(!Ta||!Ta(Ms))&&Lr(Ms)}}),Wo=(0,bn.Z)(fa,3),wo=Wo[0],To=Wo[1],Ya=Wo[2],Ia=function(zo){Lr(zo),Or(zo),Rs&&!nt(xr,Ko,zo)&&Rs(zo,zo?vn(zo,{generateConfig:xr,locale:ni,format:Pr[0]}):"")},ns=function(zo){Ca&&zo||Vo(zo)},Ro=function(zo){return Mr&&lo.current&&lo.current.onKeyDown?lo.current.onKeyDown(zo):((0,He.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},bo=function(){for(var zo=arguments.length,Ms=new Array(zo),Ys=0;Ys_i(Mi);case"month":return Ei(ni)>Ei(Mi);case"week":return sr(ni)>sr(Mi);default:return!De(oi,ni,Mi)&&oi.isAfter(ni,Mi)}return!1},[In,Zn[1],Mi,$e]),xr=Pe.useCallback(function(ni){if(Zn[1]||In&&In(ni))return!0;if(Zn[0]&&ui)return!De(oi,ni,Mi)&&oi.isAfter(ui,ni);if(!$e&&ui)switch(st){case"quarter":return _i(ni)<_i(ui);case"month":return Ei(ni)0&&arguments[0]!==void 0?arguments[0]:!1,Go=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},la=null;Ua&&zc&&zc[0]&&zc[1]&&ni.isAfter(zc[1],zc[0])&&(la=zc);var rs=lr;if(lr&&(0,Ye.Z)(lr)==="object"&&lr.defaultValue){var ll=lr.defaultValue;rs=(0,Jn.Z)((0,Jn.Z)({},lr),{},{defaultValue:Et(ll,Do)||void 0})}return Pe.createElement(Sn.Provider,{value:{inRange:!0,panelPosition:us,rangedValue:bc||ao,hoverRangedValue:la}},Pe.createElement(Fo,(0,Fe.Z)({},je,Go,{cellRender:mf,showTime:rs,mode:sa[Do],generateConfig:ni,style:void 0,direction:eo,disabledDate:Do===0?Gs:xa,disabledTime:function(tu){return Ta?Ta(tu,Do===0?"start":"end"):!1},className:kt()((0,yt.Z)({},"".concat(Zn,"-panel-focused"),Do===0?!Xd:!Bu)),value:Et(ao,Do),locale:$i,tabIndex:-1,onPanelChange:function(tu,td){Do===0&&Kd(!0),Do===1&&$c(!0),zs(xn(sa,td,Do),xn(ao,tu,Do));var Ac=tu;us==="right"&&sa[Do]===td&&(Ac=rn(Ac,td,ni,-1)),bo(Ac,Do)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Do===0?Et(ao,1):Et(ao,0)})))}var _u=0,yf=0;if(Do&&Mo.current&&Mr.current&&lo.current&&na.current){_u=Mo.current.offsetWidth+Mr.current.offsetWidth;var Kf=na.current.offsetLeft>_u?na.current.offsetLeft-_u:na.current.offsetLeft,Sf=lo.current.offsetWidth,Ec=na.current.offsetWidth;Sf&&Ec&&_u>Sf-Ec-(eo==="rtl"?0:Kf)&&(yf=_u)}var wg=eo==="rtl"?{right:_u}:{left:_u};function Vf(){var us,Go=Ga(Zn,sa[Do],Yn),la=Ds({prefixCls:Zn,components:Lo,needConfirmButton:gr,okDisabled:!Et(ao,Do)||Ca&&Ca(ao[Do]),locale:$i,onOk:function(){var Lc=Et(ao,Do);Lc&&(Ys(ao,Do),Br==null||Br(ao),Ll(!1,Do,"confirm"))}});if(fo!=="time"&&!lr){var rs=Ro(Do),ll=rn(rs,fo,ni),md=sa[Do],tu=md===fo,td=fh(tu?"left":!1,{pickerValue:rs,onPickerValueChange:function(Lc){bo(Lc,Do)}}),Ac=fh("right",{pickerValue:ll,onPickerValueChange:function(Lc){bo(rn(Lc,fo,ni,-1),Do)}});eo==="rtl"?us=Pe.createElement(Pe.Fragment,null,Ac,tu&&td):us=Pe.createElement(Pe.Fragment,null,td,tu&&Ac)}else us=fh();var ph=Pe.createElement("div",{className:"".concat(Zn,"-panel-layout")},Pe.createElement(oo,{prefixCls:Zn,presets:vf,onClick:function(Lc){Ys(Lc,null),Ll(!1,Do,"preset")},onHover:function(Lc){jh(Lc)}}),Pe.createElement("div",null,Pe.createElement("div",{className:"".concat(Zn,"-panels")},us),(Go||la)&&Pe.createElement("div",{className:"".concat(Zn,"-footer")},Go,la)));return Oa&&(ph=Oa(ph)),Pe.createElement("div",{className:"".concat(Zn,"-panel-container"),style:{marginLeft:yf},ref:lo,onMouseDown:function(Lc){Lc.preventDefault()}},ph)}var gh=Pe.createElement("div",{className:kt()("".concat(Zn,"-range-wrapper"),"".concat(Zn,"-").concat(fo,"-range-wrapper")),style:{minWidth:Xa}},Pe.createElement("div",{ref:na,className:"".concat(Zn,"-range-arrow"),style:wg}),Vf()),Ad;Jt&&(Ad=Pe.createElement("span",{className:"".concat(Zn,"-suffix"),onMouseDown:function(Go){Go.preventDefault()}},Jt));var Gf=ha(Zn,ut,en),Hc=Pe.createElement("span",{onMouseDown:function(Go){Go.preventDefault(),Go.stopPropagation()},onMouseUp:function(Go){Go.preventDefault(),Go.stopPropagation();var la=To;fa[0]||(la=xn(la,null,0)),fa[1]||(la=xn(la,null,1)),Ys(la,null),Ll(!1,Do,"clear")},className:"".concat(Zn,"-clear"),role:"button"},Gf),Yf=ut&&(Et(To,0)&&!fa[0]||Et(To,1)&&!fa[1]),Wh={size:Co(fo,ta[0],ni)},xf=0,Zh=0;Mo.current&&No.current&&Mr.current&&(Do===0?Zh=Mo.current.offsetWidth:(xf=_u,Zh=No.current.offsetWidth));var Uf=eo==="rtl"?{right:xf}:{left:xf},up=function(Go,la){var rs=xn(ao,Go,Do);if(la==="submit"||la!=="key"&&!gr){Ys(rs,Do),Do===0?Kd():$c();var ll=Do===0?1:0;fa[ll]?Ll(!1,!1,"confirm"):Ll(!1,Do,"confirm")}else qi(rs)};return Pe.createElement(xt.Provider,{value:{operationRef:Qa,hideHeader:fo==="time",onDateMouseEnter:Hh,onDateMouseLeave:lc,hideRanges:!0,onSelect:up,open:Ua}},Pe.createElement(ko,{visible:Ua,popupElement:gh,popupStyle:sr,prefixCls:Zn,dropdownClassName:Ei,dropdownAlign:bi,getPopupContainer:xr,transitionName:_i,range:!0,direction:eo},Pe.createElement("div",(0,Fe.Z)({ref:Lr,className:kt()(Zn,"".concat(Zn,"-range"),Mi,($e={},(0,yt.Z)($e,"".concat(Zn,"-disabled"),fa[0]&&fa[1]),(0,yt.Z)($e,"".concat(Zn,"-focused"),Do===0?Hl:Du),(0,yt.Z)($e,"".concat(Zn,"-rtl"),eo==="rtl"),$e)),style:ui,onClick:hh,onMouseEnter:Ki,onMouseLeave:Ar,onMouseDown:ed,onMouseUp:yr},(0,Tn.Z)(je,{aria:!0,data:!0})),Pe.createElement("div",{className:kt()("".concat(Zn,"-input"),(st={},(0,yt.Z)(st,"".concat(Zn,"-input-active"),Do===0),(0,yt.Z)(st,"".concat(Zn,"-input-placeholder"),!!Wd),st)),ref:Mo},Pe.createElement("input",(0,Fe.Z)({id:oi,disabled:fa[0],readOnly:gn||typeof ta[0]=="function"||!Xd,value:Wd||ls,onChange:function(Go){Qs(Go.target.value)},autoFocus:ho,placeholder:Et(wr,0)||"",ref:Vo},dh,Wh,{autoComplete:so}))),Pe.createElement("div",{className:"".concat(Zn,"-range-separator"),ref:Mr},Sa),Pe.createElement("div",{className:kt()("".concat(Zn,"-input"),(nn={},(0,yt.Z)(nn,"".concat(Zn,"-input-active"),Do===1),(0,yt.Z)(nn,"".concat(Zn,"-input-placeholder"),!!Gd),nn)),ref:No},Pe.createElement("input",(0,Fe.Z)({disabled:fa[1],readOnly:gn||typeof ta[0]=="function"||!Bu,value:Gd||Rl,onChange:function(Go){Zu(Go.target.value)},placeholder:Et(wr,1)||"",ref:_o},Es,Wh,{autoComplete:so}))),Pe.createElement("div",{className:"".concat(Zn,"-active-bar"),style:(0,Jn.Z)((0,Jn.Z)({},Uf),{},{width:Zh,position:"absolute"})}),Ad,Yf&&Hc)))}var kl=function(je){(0,wn.Z)(st,je);var $e=(0,Kn.Z)(st);function st(){var nn;(0,_t.Z)(this,st);for(var hn=arguments.length,In=new Array(hn),Zn=0;Zn{const{lineHeight:hn}=je,In=Math.floor(st*hn)+2,Zn=Math.max(($e-In)/2,0),oi=Math.max($e-In-Zn,0);return{padding:`${Zn}px ${nn}px ${oi}px`}},Ss=je=>{const{componentCls:$e,pickerCellCls:st,pickerCellInnerCls:nn,cellHeight:hn,motionDurationSlow:In,borderRadiusSM:Zn,motionDurationMid:oi,cellHoverBg:ui,lineWidth:Mi,lineType:sr,colorPrimary:Ei,cellActiveWithRangeBg:_i,colorTextLightSolid:bi,controlHeightSM:xr,cellRangeBorderColor:ni,pickerCellBorderGap:$i,cellHoverWithRangeBg:wr,cellWidth:ho,colorTextDisabled:io,cellBgDisabled:mo}=je;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:hn,transform:"translateY(-50%)",transition:`all ${In}`,content:'""'},[nn]:{position:"relative",zIndex:2,display:"inline-block",minWidth:hn,height:hn,lineHeight:`${hn}px`,borderRadius:Zn,transition:`background ${oi}, border ${oi}`},"&-range-hover-start, &-range-hover-end":{[nn]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${st}-in-view), &:hover:not(${st}-selected):not(${st}-range-start):not(${st}-range-end):not(${st}-range-hover-start):not(${st}-range-hover-end)`]:{[nn]:{background:ui}},[`&-in-view${st}-today ${nn}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Mi}px ${sr} ${Ei}`,borderRadius:Zn,content:'""'}},[`&-in-view${st}-in-range`]:{position:"relative","&::before":{background:_i}},[`&-in-view${st}-selected ${nn}, &-in-view${st}-range-start ${nn}, &-in-view${st}-range-end ${nn}`]:{color:bi,background:Ei},[`&-in-view${st}-range-start:not(${st}-range-start-single), &-in-view${st}-range-end:not(${st}-range-end-single)`]:{"&::before":{background:_i}},[`&-in-view${st}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${st}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${st}-range-hover-start:not(${st}-in-range):not(${st}-range-start):not(${st}-range-end), &-in-view${st}-range-hover-end:not(${st}-in-range):not(${st}-range-start):not(${st}-range-end), &-in-view${st}-range-hover-start${st}-range-start-single, &-in-view${st}-range-hover-start${st}-range-start${st}-range-end${st}-range-end-near-hover, &-in-view${st}-range-hover-end${st}-range-start${st}-range-end${st}-range-start-near-hover, &-in-view${st}-range-hover-end${st}-range-end-single, &-in-view${st}-range-hover:not(${st}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:xr,borderTop:`${Mi}px dashed ${ni}`,borderBottom:`${Mi}px dashed ${ni}`,transform:"translateY(-50%)",transition:`all ${In}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:$i},[`&-in-view${st}-in-range${st}-range-hover::before, &-in-view${st}-in-range${st}-range-hover-start::before, &-in-view${st}-in-range${st}-range-hover-end::before, &-in-view${st}-range-start${st}-range-hover::before, &-in-view${st}-range-end${st}-range-hover::before, &-in-view${st}-range-start:not(${st}-range-start-single)${st}-range-hover-start::before, &-in-view${st}-range-end:not(${st}-range-end-single)${st}-range-hover-end::before, ${$e}-panel > :not(${$e}-date-panel) &-in-view${st}-in-range${st}-range-hover-start::before, ${$e}-panel > :not(${$e}-date-panel) &-in-view${st}-in-range${st}-range-hover-end::before`]:{background:wr},[`&-in-view${st}-range-start:not(${st}-range-start-single):not(${st}-range-end) ${nn}`]:{borderStartStartRadius:Zn,borderEndStartRadius:Zn,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${st}-range-end:not(${st}-range-end-single):not(${st}-range-start) ${nn}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Zn,borderEndEndRadius:Zn},[`&-range-hover${st}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${st}-range-hover:first-child::after, tr > &-in-view${st}-range-hover-end:first-child::after, &-in-view${st}-start${st}-range-hover-edge-start${st}-range-hover-edge-start-near-range::after, &-in-view${st}-range-hover-edge-start:not(${st}-range-hover-edge-start-near-range)::after, &-in-view${st}-range-hover-start::after`]:{insetInlineStart:(ho-hn)/2,borderInlineStart:`${Mi}px dashed ${ni}`,borderStartStartRadius:Zn,borderEndStartRadius:Zn},[`tr > &-in-view${st}-range-hover:last-child::after, tr > &-in-view${st}-range-hover-start:last-child::after, &-in-view${st}-end${st}-range-hover-edge-end${st}-range-hover-edge-end-near-range::after, &-in-view${st}-range-hover-edge-end:not(${st}-range-hover-edge-end-near-range)::after, &-in-view${st}-range-hover-end::after`]:{insetInlineEnd:(ho-hn)/2,borderInlineEnd:`${Mi}px dashed ${ni}`,borderStartEndRadius:Zn,borderEndEndRadius:Zn},"&-disabled":{color:io,pointerEvents:"none",[nn]:{background:"transparent"},"&::before":{background:mo}},[`&-disabled${st}-today ${nn}::before`]:{borderColor:io}}},os=je=>{const{componentCls:$e,pickerCellCls:st,pickerCellInnerCls:nn,pickerYearMonthCellWidth:hn,pickerControlIconSize:In,cellWidth:Zn,paddingSM:oi,paddingXS:ui,paddingXXS:Mi,colorBgContainer:sr,lineWidth:Ei,lineType:_i,borderRadiusLG:bi,colorPrimary:xr,colorTextHeading:ni,colorSplit:$i,pickerControlIconBorderWidth:wr,colorIcon:ho,textHeight:io,motionDurationMid:mo,colorIconHover:vo,fontWeightStrong:fo,cellHeight:lr,pickerCellPaddingVertical:aa,colorTextDisabled:ea,colorText:Sa,fontSize:Ka,cellHoverWithRangeBg:Ha,motionDurationSlow:Ba,withoutTimeCellHeight:fs,pickerQuarterPanelContentHeight:La,colorLink:Ca,colorLinkActive:Ta,colorLinkHover:as,cellRangeBorderColor:gs,borderRadiusSM:Ja,colorTextLightSolid:Oa,cellHoverBg:Rs,timeColumnHeight:hl,timeColumnWidth:it,timeCellHeight:ut,controlItemBgActive:Jt,marginXXS:en,pickerDatePanelPaddingHorizontal:An}=je,gn=Zn*7+An*2,Xn=(gn-ui*2)/3-hn-oi,Yn=(gn-ui*2)/4-hn;return{[$e]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:sr,border:`${Ei}px ${_i} ${$i}`,borderRadius:bi,outline:"none","&-focused":{borderColor:xr},"&-rtl":{direction:"rtl",[`${$e}-prev-icon, ${$e}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${$e}-next-icon, ${$e}-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:gn},"&-header":{display:"flex",padding:`0 ${ui}px`,color:ni,borderBottom:`${Ei}px ${_i} ${$i}`,"> *":{flex:"none"},button:{padding:0,color:ho,lineHeight:`${io}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${mo}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Ka,"&:hover":{color:vo}},"&-view":{flex:"auto",fontWeight:fo,lineHeight:`${io}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:ui},"&:hover":{color:xr}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:In,height:In,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:In,height:In,border:"0 solid currentcolor",borderBlockStartWidth:wr,borderBlockEndWidth:0,borderInlineStartWidth:wr,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(In/2),insetInlineStart:Math.ceil(In/2),display:"inline-block",width:In,height:In,border:"0 solid currentcolor",borderBlockStartWidth:wr,borderBlockEndWidth:0,borderInlineStartWidth:wr,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:lr,fontWeight:"normal"},th:{height:lr+aa*2,color:Sa,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${aa}px 0`,color:ea,cursor:"pointer","&-in-view":{color:Sa}},Ss(je)),[`&-date-panel ${$e}-cell-in-view${$e}-cell-in-range${$e}-cell-range-hover-start ${nn}, &-date-panel ${$e}-cell-in-view${$e}-cell-in-range${$e}-cell-range-hover-end ${nn}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Ha,transition:`all ${Ba}`,content:'""'}},[`&-date-panel ${$e}-cell-in-view${$e}-cell-in-range${$e}-cell-range-hover-start ${nn}::after`]:{insetInlineEnd:-(Zn-lr)/2,insetInlineStart:0},[`&-date-panel ${$e}-cell-in-view${$e}-cell-in-range${$e}-cell-range-hover-end ${nn}::after`]:{insetInlineEnd:0,insetInlineStart:-(Zn-lr)/2},[`&-range-hover${$e}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${$e}-content`]:{height:fs*4},[nn]:{padding:`0 ${ui}px`}},"&-quarter-panel":{[`${$e}-content`]:{height:La},[`${$e}-cell-range-hover-start::after`]:{insetInlineStart:Yn,borderInlineStart:`${Ei}px dashed ${gs}`,[`${$e}-panel-rtl &`]:{insetInlineEnd:Yn,borderInlineEnd:`${Ei}px dashed ${gs}`}},[`${$e}-cell-range-hover-end::after`]:{insetInlineEnd:Yn,borderInlineEnd:`${Ei}px dashed ${gs}`,[`${$e}-panel-rtl &`]:{insetInlineStart:Yn,borderInlineStart:`${Ei}px dashed ${gs}`}}},[`&-panel ${$e}-footer`]:{borderTop:`${Ei}px ${_i} ${$i}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${io-2*Ei}px`,textAlign:"center","&-extra":{padding:`0 ${oi}px`,lineHeight:`${io-2*Ei}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Ei}px ${_i} ${$i}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Ca,"&:hover":{color:as},"&:active":{color:Ta},[`&${$e}-today-btn-disabled`]:{color:ea,cursor:"not-allowed"}},"&-decade-panel":{[nn]:{padding:`0 ${ui/2}px`},[`${$e}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${$e}-body`]:{padding:`0 ${ui}px`},[nn]:{width:hn},[`${$e}-cell-range-hover-start::after`]:{borderStartStartRadius:Ja,borderEndStartRadius:Ja,borderStartEndRadius:0,borderEndEndRadius:0,[`${$e}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ja,borderEndEndRadius:Ja}},[`${$e}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ja,borderEndEndRadius:Ja,[`${$e}-panel-rtl &`]:{borderStartStartRadius:Ja,borderEndStartRadius:Ja,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${$e}-cell-range-hover-start::after`]:{insetInlineStart:Xn,borderInlineStart:`${Ei}px dashed ${gs}`,[`${$e}-panel-rtl &`]:{insetInlineEnd:Xn,borderInlineEnd:`${Ei}px dashed ${gs}`}},[`${$e}-cell-range-hover-end::after`]:{insetInlineEnd:Xn,borderInlineEnd:`${Ei}px dashed ${gs}`,[`${$e}-panel-rtl &`]:{insetInlineStart:Xn,borderInlineStart:`${Ei}px dashed ${gs}`}}},"&-week-panel":{[`${$e}-body`]:{padding:`${ui}px ${oi}px`},[`${$e}-cell`]:{[`&:hover ${nn}, &-selected ${nn}, ${nn}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${mo}`},"&:first-child:before":{borderStartStartRadius:Ja,borderEndStartRadius:Ja},"&:last-child:before":{borderStartEndRadius:Ja,borderEndEndRadius:Ja}},"&:hover td":{"&:before":{background:Rs}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${st}`]:{"&:before":{background:xr},[`&${$e}-cell-week`]:{color:new zl.C(Oa).setAlpha(.5).toHexString()},[nn]:{color:Oa}}},"&-range-hover td:before":{background:Jt}}},"&-date-panel":{[`${$e}-body`]:{padding:`${ui}px ${An}px`},[`${$e}-content`]:{width:Zn*7,th:{width:Zn,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${$e}-time-panel`]:{borderInlineStart:`${Ei}px ${_i} ${$i}`},[`${$e}-date-panel, ${$e}-time-panel`]:{transition:`opacity ${Ba}`},"&-active":{[`${$e}-date-panel, ${$e}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${$e}-content`]:{display:"flex",flex:"auto",height:hl},"&-column":{flex:"1 0 auto",width:it,margin:`${Mi}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${mo}`,overflowX:"hidden","&::after":{display:"block",height:hl-ut,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Ei}px ${_i} ${$i}`},"&-active":{background:new zl.C(Jt).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${$e}-time-panel-cell`]:{marginInline:en,[`${$e}-time-panel-cell-inner`]:{display:"block",width:it-2*en,height:ut,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(it-ut)/2,color:Sa,lineHeight:`${ut}px`,borderRadius:Ja,cursor:"pointer",transition:`background ${mo}`,"&:hover":{background:Rs}},"&-selected":{[`${$e}-time-panel-cell-inner`]:{background:Jt}},"&-disabled":{[`${$e}-time-panel-cell-inner`]:{color:ea,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${$e}-time-panel-column:after`]:{height:hl-ut+Mi*2}}}},hs=je=>{const{componentCls:$e,colorBgContainer:st,colorError:nn,errorActiveShadow:hn,colorWarning:In,warningActiveShadow:Zn}=je;return{[`${$e}:not(${$e}-disabled)`]:{[`&${$e}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:st,borderColor:nn},[`&${$e}-focused, &:focus`]:Object.assign({},(0,xl.M1)((0,va.TS)(je,{activeBorderColor:nn,activeShadow:hn}))),[`${$e}-active-bar`]:{background:nn}},[`&${$e}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:st,borderColor:In},[`&${$e}-focused, &:focus`]:Object.assign({},(0,xl.M1)((0,va.TS)(je,{activeBorderColor:In,activeShadow:Zn}))),[`${$e}-active-bar`]:{background:In}}}}},Ls=je=>{const{componentCls:$e,antCls:st,controlHeight:nn,fontSize:hn,paddingInline:In,colorBgContainer:Zn,lineWidth:oi,lineType:ui,colorBorder:Mi,borderRadius:sr,motionDurationMid:Ei,colorBgContainerDisabled:_i,colorTextDisabled:bi,colorTextPlaceholder:xr,controlHeightLG:ni,fontSizeLG:$i,controlHeightSM:wr,paddingInlineSM:ho,paddingXS:io,marginXS:mo,colorTextDescription:vo,lineWidthBold:fo,lineHeight:lr,colorPrimary:aa,motionDurationSlow:ea,zIndexPopup:Sa,paddingXXS:Ka,paddingSM:Ha,textHeight:Ba,cellActiveWithRangeBg:fs,colorPrimaryBorder:La,sizePopupArrow:Ca,borderRadiusXS:Ta,borderRadiusOuter:as,colorBgElevated:gs,borderRadiusLG:Ja,boxShadowSecondary:Oa,borderRadiusSM:Rs,colorSplit:hl,cellHoverBg:it,presetsWidth:ut,presetsMaxWidth:Jt,boxShadowPopoverArrow:en,colorTextQuaternary:An}=je;return[{[$e]:Object.assign(Object.assign(Object.assign({},(0,Tl.Wf)(je)),Cs(je,nn,hn,In)),{position:"relative",display:"inline-flex",alignItems:"center",background:Zn,lineHeight:1,border:`${oi}px ${ui} ${Mi}`,borderRadius:sr,transition:`border ${Ei}, box-shadow ${Ei}`,"&:hover, &-focused":Object.assign({},(0,xl.pU)(je)),"&-focused":Object.assign({},(0,xl.M1)(je)),[`&${$e}-disabled`]:{background:_i,borderColor:Mi,cursor:"not-allowed",[`${$e}-suffix`]:{color:An}},[`&${$e}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${$e}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,xl.ik)(je)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${$e}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:xr}}},"&-large":Object.assign(Object.assign({},Cs(je,ni,$i,In)),{[`${$e}-input > input`]:{fontSize:$i}}),"&-small":Object.assign({},Cs(je,wr,hn,ho)),[`${$e}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:io/2,color:bi,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:mo}}},[`${$e}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:bi,lineHeight:1,background:Zn,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Ei}, color ${Ei}`,"> *":{verticalAlign:"top"},"&:hover":{color:vo}},[`${$e}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:$i,color:bi,fontSize:$i,verticalAlign:"top",cursor:"default",[`${$e}-focused &`]:{color:vo},[`${$e}-range-separator &`]:{[`${$e}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${$e}-clear`]:{insetInlineEnd:In},"&:hover":{[`${$e}-clear`]:{opacity:1}},[`${$e}-active-bar`]:{bottom:-oi,height:fo,marginInlineStart:In,background:aa,opacity:0,transition:`all ${ea} ease-out`,pointerEvents:"none"},[`&${$e}-focused`]:{[`${$e}-active-bar`]:{opacity:1}},[`${$e}-range-separator`]:{alignItems:"center",padding:`0 ${io}px`,lineHeight:1},[`&${$e}-small`]:{[`${$e}-clear`]:{insetInlineEnd:ho},[`${$e}-active-bar`]:{marginInlineStart:ho}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Tl.Wf)(je)),os(je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Sa,[`&${$e}-dropdown-hidden`]:{display:"none"},[`&${$e}-dropdown-placement-bottomLeft`]:{[`${$e}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${$e}-dropdown-placement-topLeft`]:{[`${$e}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${st}-slide-up-enter${st}-slide-up-enter-active${$e}-dropdown-placement-topLeft, &${st}-slide-up-enter${st}-slide-up-enter-active${$e}-dropdown-placement-topRight, &${st}-slide-up-appear${st}-slide-up-appear-active${$e}-dropdown-placement-topLeft, &${st}-slide-up-appear${st}-slide-up-appear-active${$e}-dropdown-placement-topRight`]:{animationName:mu.Qt},[`&${st}-slide-up-enter${st}-slide-up-enter-active${$e}-dropdown-placement-bottomLeft, &${st}-slide-up-enter${st}-slide-up-enter-active${$e}-dropdown-placement-bottomRight, &${st}-slide-up-appear${st}-slide-up-appear-active${$e}-dropdown-placement-bottomLeft, &${st}-slide-up-appear${st}-slide-up-appear-active${$e}-dropdown-placement-bottomRight`]:{animationName:mu.fJ},[`&${st}-slide-up-leave${st}-slide-up-leave-active${$e}-dropdown-placement-topLeft, &${st}-slide-up-leave${st}-slide-up-leave-active${$e}-dropdown-placement-topRight`]:{animationName:mu.ly},[`&${st}-slide-up-leave${st}-slide-up-leave-active${$e}-dropdown-placement-bottomLeft, &${st}-slide-up-leave${st}-slide-up-leave-active${$e}-dropdown-placement-bottomRight`]:{animationName:mu.Uw},[`${$e}-panel > ${$e}-time-panel`]:{paddingTop:Ka},[`${$e}-ranges`]:{marginBottom:0,padding:`${Ka}px ${Ha}px`,overflow:"hidden",lineHeight:`${Ba-2*oi-io/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${$e}-preset > ${st}-tag-blue`]:{color:aa,background:fs,borderColor:La,cursor:"pointer"},[`${$e}-ok`]:{marginInlineStart:"auto"}},[`${$e}-range-wrapper`]:{display:"flex",position:"relative"},[`${$e}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:In*1.5,transition:`left ${ea} ease-out`},(0,pu.r)(Ca,Ta,as,gs,en)),[`${$e}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:gs,borderRadius:Ja,boxShadow:Oa,transition:`margin ${ea}`,[`${$e}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${$e}-presets`]:{display:"flex",flexDirection:"column",minWidth:ut,maxWidth:Jt,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:io,borderInlineEnd:`${oi}px ${ui} ${hl}`,li:Object.assign(Object.assign({},Tl.vS),{borderRadius:Rs,paddingInline:io,paddingBlock:(wr-Math.round(hn*lr))/2,cursor:"pointer",transition:`all ${ea}`,"+ li":{marginTop:mo},"&:hover":{background:it}})}},[`${$e}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${$e}-panel`]:{borderWidth:`0 0 ${oi}px`},"&:last-child":{[`${$e}-panel`]:{borderWidth:0}}},[`${$e}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${$e}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Mi}}}}),"&-dropdown-range":{padding:`${Ca*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${$e}-separator`]:{transform:"rotate(180deg)"},[`${$e}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,mu.oN)(je,"slide-up"),(0,mu.oN)(je,"slide-down"),(0,Xo.Fm)(je,"move-up"),(0,Xo.Fm)(je,"move-down")]},xs=je=>{const{componentCls:$e,controlHeightLG:st,paddingXXS:nn,padding:hn}=je;return{pickerCellCls:`${$e}-cell`,pickerCellInnerCls:`${$e}-cell-inner`,pickerYearMonthCellWidth:st*1.5,pickerQuarterPanelContentHeight:st*1.4,pickerCellPaddingVertical:nn+nn/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:hn+nn/2}},Ks=je=>({cellHoverBg:je.controlItemBgHover,cellActiveWithRangeBg:je.controlItemBgActive,cellHoverWithRangeBg:new zl.C(je.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new zl.C(je.colorPrimary).lighten(20).toHexString(),cellBgDisabled:je.colorBgContainerDisabled,timeColumnWidth:je.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:je.controlHeightSM*1.5,cellHeight:je.controlHeightSM,textHeight:je.controlHeightLG,withoutTimeCellHeight:je.controlHeightLG*1.65});var Ts=(0,dl.Z)("DatePicker",je=>{const $e=(0,va.TS)((0,xl.e5)(je),xs(je));return[Ls($e),hs($e),(0,wc.c)(je,{focusElCls:`${je.componentCls}-focused`})]},je=>Object.assign(Object.assign(Object.assign({},(0,xl.TM)(je)),Ks(je)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:je.zIndexPopupBase+50}));function Fa(je,$e,st){return st!==void 0?st:$e==="year"&&je.lang.yearPlaceholder?je.lang.yearPlaceholder:$e==="quarter"&&je.lang.quarterPlaceholder?je.lang.quarterPlaceholder:$e==="month"&&je.lang.monthPlaceholder?je.lang.monthPlaceholder:$e==="week"&&je.lang.weekPlaceholder?je.lang.weekPlaceholder:$e==="time"&&je.timePickerLocale.placeholder?je.timePickerLocale.placeholder:je.lang.placeholder}function Hu(je,$e,st){return st!==void 0?st:$e==="year"&&je.lang.yearPlaceholder?je.lang.rangeYearPlaceholder:$e==="quarter"&&je.lang.quarterPlaceholder?je.lang.rangeQuarterPlaceholder:$e==="month"&&je.lang.monthPlaceholder?je.lang.rangeMonthPlaceholder:$e==="week"&&je.lang.weekPlaceholder?je.lang.rangeWeekPlaceholder:$e==="time"&&je.timePickerLocale.placeholder?je.timePickerLocale.rangePlaceholder:je.lang.rangePlaceholder}function Ol(je,$e){const st={adjustX:1,adjustY:1};switch($e){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:st};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:st};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:st};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:st};default:return{points:je==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:st}}}function El(je){return je?Array.isArray(je)?je:[je]:[]}function Rr(je){const{format:$e,picker:st,showHour:nn,showMinute:hn,showSecond:In,use12Hours:Zn}=je,oi=El($e)[0],ui=Object.assign({},je);return $e&&Array.isArray($e)&&(ui.format=oi),oi&&typeof oi=="string"&&(!oi.includes("s")&&In===void 0&&(ui.showSecond=!1),!oi.includes("m")&&hn===void 0&&(ui.showMinute=!1),!oi.includes("H")&&!oi.includes("h")&&!oi.includes("K")&&!oi.includes("k")&&nn===void 0&&(ui.showHour=!1),(oi.includes("a")||oi.includes("A"))&&Zn===void 0&&(ui.use12Hours=!0)),st==="time"?ui:(typeof oi=="function"&&delete ui.format,{showTime:ui})}function Lu(je,$e,st){if(je===!1)return!1;const nn={clearIcon:$e!=null?$e:st};return typeof je=="object"?Object.assign(Object.assign({},nn),je):nn}var Kt=ye(3113);function di(je){return Pe.createElement(Kt.ZP,Object.assign({size:"small",type:"primary"},je))}var Fu={button:di},_l=function(je,$e){var st={};for(var nn in je)Object.prototype.hasOwnProperty.call(je,nn)&&$e.indexOf(nn)<0&&(st[nn]=je[nn]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,nn=Object.getOwnPropertySymbols(je);hn{const{prefixCls:hn,getPopupContainer:In,className:Zn,placement:oi,size:ui,disabled:Mi,bordered:sr=!0,placeholder:Ei,popupClassName:_i,dropdownClassName:bi,status:xr,clearIcon:ni,allowClear:$i,rootClassName:wr}=st,ho=_l(st,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),io=Pe.useRef(null),{getPrefixCls:mo,direction:vo,getPopupContainer:fo}=(0,Pe.useContext)(rl.E_),lr=mo("picker",hn),{compactSize:aa,compactItemClassnames:ea}=(0,Qc.ri)(lr,vo),{format:Sa,showTime:Ka,picker:Ha}=st,Ba=mo(),[fs,La]=Ts(lr),Ca=Object.assign(Object.assign({},Ka?Rr(Object.assign({format:Sa,picker:Ha},Ka)):{}),Ha==="time"?Rr(Object.assign(Object.assign({format:Sa},st),{picker:Ha})):{}),Ta=(0,oc.Z)(en=>{var An;return(An=ui!=null?ui:aa)!==null&&An!==void 0?An:en}),as=Pe.useContext(Sl.Z),gs=Mi!=null?Mi:as,Ja=(0,Pe.useContext)(Sc.aM),{hasFeedback:Oa,status:Rs,feedbackIcon:hl}=Ja,it=Pe.createElement(Pe.Fragment,null,Ha==="time"?Pe.createElement(Yt,null):Pe.createElement(Ve,null),Oa&&hl);(0,Pe.useImperativeHandle)(nn,()=>({focus:()=>{var en;return(en=io.current)===null||en===void 0?void 0:en.focus()},blur:()=>{var en;return(en=io.current)===null||en===void 0?void 0:en.blur()}}));const[ut]=(0,xc.Z)("Calendar",gu.Z),Jt=Object.assign(Object.assign({},ut),st.locale);return fs(Pe.createElement(vl,Object.assign({separator:Pe.createElement("span",{"aria-label":"to",className:`${lr}-separator`},Pe.createElement(Pn,null)),disabled:gs,ref:io,dropdownAlign:Ol(vo,oi),placeholder:Hu(Jt,Ha,Ei),suffixIcon:it,prevIcon:Pe.createElement("span",{className:`${lr}-prev-icon`}),nextIcon:Pe.createElement("span",{className:`${lr}-next-icon`}),superPrevIcon:Pe.createElement("span",{className:`${lr}-super-prev-icon`}),superNextIcon:Pe.createElement("span",{className:`${lr}-super-next-icon`}),transitionName:`${Ba}-slide-up`},ho,Ca,{className:kt()({[`${lr}-${Ta}`]:Ta,[`${lr}-borderless`]:!sr},(0,yl.Z)(lr,(0,yl.F)(Rs,xr),Oa),La,ea,Zn,wr),locale:Jt.lang,prefixCls:lr,getPopupContainer:In||fo,generateConfig:je,components:Fu,direction:vo,dropdownClassName:kt()(La,_i||bi,wr),allowClear:Lu($i,ni,Pe.createElement(Ot.Z,null))})))})}var jl=function(je,$e){var st={};for(var nn in je)Object.prototype.hasOwnProperty.call(je,nn)&&$e.indexOf(nn)<0&&(st[nn]=je[nn]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,nn=Object.getOwnPropertySymbols(je);hn{const{prefixCls:xr,getPopupContainer:ni,style:$i,className:wr,rootClassName:ho,size:io,bordered:mo=!0,placement:vo,placeholder:fo,popupClassName:lr,dropdownClassName:aa,disabled:ea,status:Sa,clearIcon:Ka,allowClear:Ha}=_i,Ba=jl(_i,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:fs,direction:La,getPopupContainer:Ca,[sr]:Ta}=(0,Pe.useContext)(rl.E_),as=fs("picker",xr),{compactSize:gs,compactItemClassnames:Ja}=(0,Qc.ri)(as,La),Oa=Pe.useRef(null),{format:Rs,showTime:hl}=_i,[it,ut]=Ts(as);(0,Pe.useImperativeHandle)(bi,()=>({focus:()=>{var Ki;return(Ki=Oa.current)===null||Ki===void 0?void 0:Ki.focus()},blur:()=>{var Ki;return(Ki=Oa.current)===null||Ki===void 0?void 0:Ki.blur()}}));const Jt={showToday:!0};let en={};ui&&(en.picker=ui);const An=ui||_i.picker;en=Object.assign(Object.assign(Object.assign({},en),hl?Rr(Object.assign({format:Rs,picker:An},hl)):{}),An==="time"?Rr(Object.assign(Object.assign({format:Rs},_i),{picker:An})):{});const gn=fs(),Xn=(0,oc.Z)(Ki=>{var Ar;return(Ar=io!=null?io:gs)!==null&&Ar!==void 0?Ar:Ki}),Yn=Pe.useContext(Sl.Z),Vn=ea!=null?ea:Yn,Pi=(0,Pe.useContext)(Sc.aM),{hasFeedback:ii,status:yi,feedbackIcon:Ji}=Pi,Ui=Pe.createElement(Pe.Fragment,null,An==="time"?Pe.createElement(Yt,null):Pe.createElement(Ve,null),ii&&Ji),[zi]=(0,xc.Z)("DatePicker",gu.Z),yr=Object.assign(Object.assign({},zi),_i.locale);return it(Pe.createElement(fu,Object.assign({ref:Oa,placeholder:Fa(yr,An,fo),suffixIcon:Ui,dropdownAlign:Ol(La,vo),prevIcon:Pe.createElement("span",{className:`${as}-prev-icon`}),nextIcon:Pe.createElement("span",{className:`${as}-next-icon`}),superPrevIcon:Pe.createElement("span",{className:`${as}-super-prev-icon`}),superNextIcon:Pe.createElement("span",{className:`${as}-super-next-icon`}),transitionName:`${gn}-slide-up`},Jt,Ba,en,{locale:yr.lang,className:kt()({[`${as}-${Xn}`]:Xn,[`${as}-borderless`]:!mo},(0,yl.Z)(as,(0,yl.F)(yi,Sa),ii),ut,Ja,Ta==null?void 0:Ta.className,wr,ho),style:Object.assign(Object.assign({},Ta==null?void 0:Ta.style),$i),prefixCls:as,getPopupContainer:ni||Ca,generateConfig:je,components:Fu,direction:La,disabled:Vn,dropdownClassName:kt()(ut,ho,lr||aa),allowClear:Lu(Ha,Ka,Pe.createElement(Ot.Z,null))})))});return Mi&&(Ei.displayName=Mi),Ei}const st=$e(),nn=$e("week","WeekPicker"),hn=$e("month","MonthPicker"),In=$e("year","YearPicker"),Zn=$e("time","TimePicker"),oi=$e("quarter","QuarterPicker");return{DatePicker:st,WeekPicker:nn,MonthPicker:hn,YearPicker:In,TimePicker:Zn,QuarterPicker:oi}}const Ic=null;function Os(je){const{DatePicker:$e,WeekPicker:st,MonthPicker:nn,YearPicker:hn,TimePicker:In,QuarterPicker:Zn}=Pc(je),oi=$l(je),ui=$e;return ui.WeekPicker=st,ui.MonthPicker=nn,ui.YearPicker=hn,ui.RangePicker=oi,ui.TimePicker=In,ui.QuarterPicker=Zn,ui}var Io=Os;const wl=Io(ve);function Il(je){const $e=Ol(je.direction,je.placement);return $e.overflow.adjustY=!1,$e.overflow.adjustX=!1,Object.assign(Object.assign({},je),{dropdownAlign:$e})}const ws=(0,be.Z)(wl,"picker",null,Il);wl._InternalPanelDoNotUseOrYouWillBeFired=ws;const ya=(0,be.Z)(wl.RangePicker,"picker",null,Il);wl._InternalRangePanelDoNotUseOrYouWillBeFired=ya,wl.generatePicker=Io;var ol=wl},28103:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return ct}});var Se=ye(92310),Oe=ye.n(Se),He=ye(59301),Rt=ye(36355),_e=ye(17313),vt=ye(83116),ke=ye(37613);const Tt=wt=>{const{componentCls:Me,sizePaddingEdgeHorizontal:te,colorSplit:ne,lineWidth:ce,textPaddingInline:se,orientationMargin:ge,verticalMarginInline:ve}=wt;return{[Me]:Object.assign(Object.assign({},(0,_e.Wf)(wt)),{borderBlockStart:`${ce}px solid ${ne}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ve,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ce}px solid ${ne}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${wt.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Me}-with-text`]:{display:"flex",alignItems:"center",margin:`${wt.dividerHorizontalWithTextGutterMargin}px 0`,color:wt.colorTextHeading,fontWeight:500,fontSize:wt.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ne}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ce}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Me}-with-text-left`]:{"&::before":{width:`${ge*100}%`},"&::after":{width:`${100-ge*100}%`}},[`&-horizontal${Me}-with-text-right`]:{"&::before":{width:`${100-ge*100}%`},"&::after":{width:`${ge*100}%`}},[`${Me}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:se},"&-dashed":{background:"none",borderColor:ne,borderStyle:"dashed",borderWidth:`${ce}px 0 0`},[`&-horizontal${Me}-with-text${Me}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Me}-dashed`]:{borderInlineStartWidth:ce,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Me}-with-text`]:{color:wt.colorText,fontWeight:"normal",fontSize:wt.fontSize},[`&-horizontal${Me}-with-text-left${Me}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Me}-inner-text`]:{paddingInlineStart:te}},[`&-horizontal${Me}-with-text-right${Me}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Me}-inner-text`]:{paddingInlineEnd:te}}})}};var Lt=(0,vt.Z)("Divider",wt=>{const Me=(0,ke.TS)(wt,{dividerHorizontalWithTextGutterMargin:wt.margin,dividerHorizontalGutterMargin:wt.marginLG,sizePaddingEdgeHorizontal:0});return[Tt(Me)]},wt=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:wt.marginXS})),et=function(wt,Me){var te={};for(var ne in wt)Object.prototype.hasOwnProperty.call(wt,ne)&&Me.indexOf(ne)<0&&(te[ne]=wt[ne]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,ne=Object.getOwnPropertySymbols(wt);ce{const{getPrefixCls:Me,direction:te,divider:ne}=He.useContext(Rt.E_),{prefixCls:ce,type:se="horizontal",orientation:ge="center",orientationMargin:ve,className:be,rootClassName:Fe,children:Pe,dashed:Ie,plain:We,style:Ke}=wt,Xe=et(wt,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),ht=Me("divider",ce),[Ve,Nt]=Lt(ht),qe=ge.length>0?`-${ge}`:ge,Ht=!!Pe,Zt=ge==="left"&&ve!=null,Yt=ge==="right"&&ve!=null,Ot=Oe()(ht,ne==null?void 0:ne.className,Nt,`${ht}-${se}`,{[`${ht}-with-text`]:Ht,[`${ht}-with-text${qe}`]:Ht,[`${ht}-dashed`]:!!Ie,[`${ht}-plain`]:!!We,[`${ht}-rtl`]:te==="rtl",[`${ht}-no-default-orientation-margin-left`]:Zt,[`${ht}-no-default-orientation-margin-right`]:Yt},be,Fe),Qt=He.useMemo(()=>typeof ve=="number"?ve:/^\d+$/.test(ve)?Number(ve):ve,[ve]),dt=Object.assign(Object.assign({},Zt&&{marginLeft:Qt}),Yt&&{marginRight:Qt});return Ve(He.createElement("div",Object.assign({className:Ot,style:Object.assign(Object.assign({},ne==null?void 0:ne.style),Ke)},Xe,{role:"separator"}),Pe&&se!=="vertical"&&He.createElement("span",{className:`${ht}-inner-text`,style:dt},Pe)))}},91857:function(Rn,Fn,ye){"use strict";var Se=ye(59301),Oe=ye(53878),He=ye(92310),Rt=ye.n(He),_e=ye(31561),vt=ye(80764),ke=ye(35788),Tt=ye(64002),Lt=ye(79676),et=ye(53487),gt=ye(92343),ct=ye(36355),wt=ye(20834),Me=ye(40875),te=ye(88088),ne=ye(47211);const ce=null,se=Fe=>{const{menu:Pe,arrow:Ie,prefixCls:We,children:Ke,trigger:Xe,disabled:ht,dropdownRender:Ve,getPopupContainer:Nt,overlayClassName:qe,rootClassName:Ht,open:Zt,onOpenChange:Yt,visible:Ot,onVisibleChange:Qt,mouseEnterDelay:dt=.15,mouseLeaveDelay:Re=.1,autoAdjustOverflow:Mt=!0,placement:Pn="",overlay:mn,transitionName:kt}=Fe,{getPopupContainer:_t,getPrefixCls:ln,direction:Bn}=Se.useContext(ct.E_),wn=Se.useMemo(()=>{const pe=ln();return kt!==void 0?kt:Pn.includes("top")?`${pe}-slide-down`:`${pe}-slide-up`},[ln,Pn,kt]),Kn=Se.useMemo(()=>Pn?Pn.includes("Center")?Pn.slice(0,Pn.indexOf("Center")):Pn:Bn==="rtl"?"bottomRight":"bottomLeft",[Pn,Bn]),yt=ln("dropdown",We),[Jn,bn]=(0,ne.Z)(yt),[,ci]=(0,te.Z)(),Tn=Se.Children.only(Ke),tn=(0,gt.Tm)(Tn,{className:Rt()(`${yt}-trigger`,{[`${yt}-rtl`]:Bn==="rtl"},Tn.props.className),disabled:ht}),$t=ht?[]:Xe;let ft;$t&&$t.includes("contextMenu")&&(ft=!0);const[Je,Gt]=(0,ke.Z)(!1,{value:Zt!=null?Zt:Ot}),At=(0,vt.useEvent)(pe=>{Yt==null||Yt(pe),Qt==null||Qt(pe),Gt(pe)}),lt=Rt()(qe,Ht,bn,{[`${yt}-rtl`]:Bn==="rtl"}),Ge=(0,Lt.Z)({arrowPointAtCenter:typeof Ie=="object"&&Ie.pointAtCenter,autoAdjustOverflow:Mt,offset:ci.marginXXS,arrowWidth:Ie?ci.sizePopupArrow:0,borderRadius:ci.borderRadius}),Be=Se.useCallback(()=>{Gt(!1)},[]),we=()=>{let pe;return Pe!=null&&Pe.items?pe=Se.createElement(wt.default,Object.assign({},Pe)):typeof mn=="function"?pe=mn():pe=mn,Ve&&(pe=Ve(pe)),pe=Se.Children.only(typeof pe=="string"?Se.createElement("span",null,pe):pe),Se.createElement(Me.J,{prefixCls:`${yt}-menu`,expandIcon:Se.createElement("span",{className:`${yt}-menu-submenu-arrow`},Se.createElement(Oe.Z,{className:`${yt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Be,validator:De=>{let{mode:ze}=De}},pe)};return Jn(Se.createElement(_e.Z,Object.assign({alignPoint:ft},(0,Tt.Z)(Fe,["rootClassName"]),{mouseEnterDelay:dt,mouseLeaveDelay:Re,visible:Je,builtinPlacements:Ge,arrow:!!Ie,overlayClassName:lt,prefixCls:yt,getPopupContainer:Nt||_t,transitionName:wn,trigger:$t,overlay:we,placement:Kn,onVisibleChange:At}),tn))};function ge(Fe){return Object.assign(Object.assign({},Fe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ve=(0,et.Z)(se,"dropdown",Fe=>Fe,ge),be=Fe=>Se.createElement(ve,Object.assign({},Fe),Se.createElement("span",null));se._InternalPanelDoNotUseOrYouWillBeFired=be,Fn.Z=se},38854:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return te}});var Se=ye(91857),Oe=ye(92310),He=ye.n(Oe),Rt=ye(59301),_e=ye(19362),vt=ye(3113),ke=ye(36355),Tt=ye(81327),Lt=ye(33234),et=ye(47211),gt=function(ne,ce){var se={};for(var ge in ne)Object.prototype.hasOwnProperty.call(ne,ge)&&ce.indexOf(ge)<0&&(se[ge]=ne[ge]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,ge=Object.getOwnPropertySymbols(ne);ve{const{getPopupContainer:ce,getPrefixCls:se,direction:ge}=Rt.useContext(ke.E_),{prefixCls:ve,type:be="default",danger:Fe,disabled:Pe,loading:Ie,onClick:We,htmlType:Ke,children:Xe,className:ht,menu:Ve,arrow:Nt,autoFocus:qe,overlay:Ht,trigger:Zt,align:Yt,open:Ot,onOpenChange:Qt,placement:dt,getPopupContainer:Re,href:Mt,icon:Pn=Rt.createElement(_e.Z,null),title:mn,buttonsRender:kt=we=>we,mouseEnterDelay:_t,mouseLeaveDelay:ln,overlayClassName:Bn,overlayStyle:wn,destroyPopupOnHide:Kn,dropdownRender:yt}=ne,Jn=gt(ne,["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"]),bn=se("dropdown",ve),ci=`${bn}-button`,[Tn,tn]=(0,et.Z)(bn),$t={menu:Ve,arrow:Nt,autoFocus:qe,align:Yt,disabled:Pe,trigger:Pe?[]:Zt,onOpenChange:Qt,getPopupContainer:Re||ce,mouseEnterDelay:_t,mouseLeaveDelay:ln,overlayClassName:Bn,overlayStyle:wn,destroyPopupOnHide:Kn,dropdownRender:yt},{compactSize:ft,compactItemClassnames:Je}=(0,Lt.ri)(bn,ge),Gt=He()(ci,Je,ht,tn);"overlay"in ne&&($t.overlay=Ht),"open"in ne&&($t.open=Ot),"placement"in ne?$t.placement=dt:$t.placement=ge==="rtl"?"bottomLeft":"bottomRight";const At=Rt.createElement(vt.ZP,{type:be,danger:Fe,disabled:Pe,loading:Ie,onClick:We,htmlType:Ke,href:Mt,title:mn},Xe),lt=Rt.createElement(vt.ZP,{type:be,danger:Fe,icon:Pn}),[Ge,Be]=kt([At,lt]);return Tn(Rt.createElement(Tt.Z.Compact,Object.assign({className:Gt,size:ft,block:!0},Jn),Ge,Rt.createElement(Se.Z,Object.assign({},$t),Be)))};ct.__ANT_BUTTON=!0;var wt=ct;const Me=Se.Z;Me.Button=wt;var te=Me},47211:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return gt}});var Se=ye(17313),Oe=ye(13826),He=ye(92899),Rt=ye(29878),_e=ye(19447),vt=ye(83116),ke=ye(37613),Lt=ct=>{const{componentCls:wt,menuCls:Me,colorError:te,colorTextLightSolid:ne}=ct,ce=`${Me}-item`;return{[`${wt}, ${wt}-menu-submenu`]:{[`${Me} ${ce}`]:{[`&${ce}-danger:not(${ce}-disabled)`]:{color:te,"&:hover":{color:ne,backgroundColor:te}}}}}};const et=ct=>{const{componentCls:wt,menuCls:Me,zIndexPopup:te,dropdownArrowDistance:ne,sizePopupArrow:ce,antCls:se,iconCls:ge,motionDurationMid:ve,dropdownPaddingVertical:be,fontSize:Fe,dropdownEdgeChildPadding:Pe,colorTextDisabled:Ie,fontSizeIcon:We,controlPaddingHorizontal:Ke,colorBgElevated:Xe}=ct;return[{[wt]:Object.assign(Object.assign({},(0,Se.Wf)(ct)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:te,display:"block","&::before":{position:"absolute",insetBlock:-ne+ce/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${se}-btn`]:{[`& > ${ge}-down, & > ${se}-btn-icon > ${ge}-down`]:{fontSize:We}},[`${wt}-wrap`]:{position:"relative",[`${se}-btn > ${ge}-down`]:{fontSize:We},[`${ge}-down::before`]:{transition:`transform ${ve}`}},[`${wt}-wrap-open`]:{[`${ge}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${se}-slide-down-enter${se}-slide-down-enter-active${wt}-placement-bottomLeft, &${se}-slide-down-appear${se}-slide-down-appear-active${wt}-placement-bottomLeft, &${se}-slide-down-enter${se}-slide-down-enter-active${wt}-placement-bottom, &${se}-slide-down-appear${se}-slide-down-appear-active${wt}-placement-bottom, &${se}-slide-down-enter${se}-slide-down-enter-active${wt}-placement-bottomRight, &${se}-slide-down-appear${se}-slide-down-appear-active${wt}-placement-bottomRight`]:{animationName:Oe.fJ},[`&${se}-slide-up-enter${se}-slide-up-enter-active${wt}-placement-topLeft, &${se}-slide-up-appear${se}-slide-up-appear-active${wt}-placement-topLeft, &${se}-slide-up-enter${se}-slide-up-enter-active${wt}-placement-top, &${se}-slide-up-appear${se}-slide-up-appear-active${wt}-placement-top, &${se}-slide-up-enter${se}-slide-up-enter-active${wt}-placement-topRight, &${se}-slide-up-appear${se}-slide-up-appear-active${wt}-placement-topRight`]:{animationName:Oe.Qt},[`&${se}-slide-down-leave${se}-slide-down-leave-active${wt}-placement-bottomLeft, &${se}-slide-down-leave${se}-slide-down-leave-active${wt}-placement-bottom, &${se}-slide-down-leave${se}-slide-down-leave-active${wt}-placement-bottomRight`]:{animationName:Oe.Uw},[`&${se}-slide-up-leave${se}-slide-up-leave-active${wt}-placement-topLeft, &${se}-slide-up-leave${se}-slide-up-leave-active${wt}-placement-top, &${se}-slide-up-leave${se}-slide-up-leave-active${wt}-placement-topRight`]:{animationName:Oe.ly}})},(0,_e.ZP)(ct,{colorBg:Xe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${wt} ${Me}`]:{position:"relative",margin:0},[`${Me}-submenu-popup`]:{position:"absolute",zIndex:te,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${wt}, ${wt}-menu-submenu`]:{[Me]:Object.assign(Object.assign({padding:Pe,listStyleType:"none",backgroundColor:Xe,backgroundClip:"padding-box",borderRadius:ct.borderRadiusLG,outline:"none",boxShadow:ct.boxShadowSecondary},(0,Se.Qy)(ct)),{[`${Me}-item-group-title`]:{padding:`${be}px ${Ke}px`,color:ct.colorTextDescription,transition:`all ${ve}`},[`${Me}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Me}-item-icon`]:{minWidth:Fe,marginInlineEnd:ct.marginXS,fontSize:ct.fontSizeSM},[`${Me}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ve}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${Me}-item, ${Me}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${be}px ${Ke}px`,color:ct.colorText,fontWeight:"normal",fontSize:Fe,lineHeight:ct.lineHeight,cursor:"pointer",transition:`all ${ve}`,borderRadius:ct.borderRadiusSM,"&:hover, &-active":{backgroundColor:ct.controlItemBgHover}},(0,Se.Qy)(ct)),{"&-selected":{color:ct.colorPrimary,backgroundColor:ct.controlItemBgActive,"&:hover, &-active":{backgroundColor:ct.controlItemBgActiveHover}},"&-disabled":{color:Ie,cursor:"not-allowed","&:hover":{color:Ie,backgroundColor:Xe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ct.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ct.colorSplit},[`${wt}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ct.paddingXS,[`${wt}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ct.colorTextDescription,fontSize:We,fontStyle:"normal"}}}),[`${Me}-item-group-list`]:{margin:`0 ${ct.marginXS}px`,padding:0,listStyle:"none"},[`${Me}-submenu-title`]:{paddingInlineEnd:Ke+ct.fontSizeSM},[`${Me}-submenu-vertical`]:{position:"relative"},[`${Me}-submenu${Me}-submenu-disabled ${wt}-menu-submenu-title`]:{[`&, ${wt}-menu-submenu-arrow-icon`]:{color:Ie,backgroundColor:Xe,cursor:"not-allowed"}},[`${Me}-submenu-selected ${wt}-menu-submenu-title`]:{color:ct.colorPrimary}})}},[(0,Oe.oN)(ct,"slide-up"),(0,Oe.oN)(ct,"slide-down"),(0,He.Fm)(ct,"move-up"),(0,He.Fm)(ct,"move-down"),(0,Rt._y)(ct,"zoom-big")]]};var gt=(0,vt.Z)("Dropdown",(ct,wt)=>{let{rootPrefixCls:Me}=wt;const{marginXXS:te,sizePopupArrow:ne,controlHeight:ce,fontSize:se,lineHeight:ge,paddingXXS:ve,componentCls:be,borderRadiusLG:Fe}=ct,Pe=(ce-se*ge)/2,{dropdownArrowOffset:Ie}=(0,_e.fS)({contentRadius:Fe}),We=(0,ke.TS)(ct,{menuCls:`${be}-menu`,rootPrefixCls:Me,dropdownArrowDistance:ne/2+te,dropdownArrowOffset:Ie,dropdownPaddingVertical:Pe,dropdownEdgeChildPadding:ve});return[et(We),Lt(We)]},ct=>({zIndexPopup:ct.zIndexPopupBase+50}))},64165:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return ve}});var Se=ye(92310),Oe=ye.n(Se),He=ye(59301),Rt=ye(36355),_e=ye(9763),vt=ye(64993),ke=ye(88088),Lt=()=>{const[,be]=(0,ke.Z)(),Pe=new vt.C(be.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return He.createElement("svg",{style:Pe,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},He.createElement("g",{fill:"none",fillRule:"evenodd"},He.createElement("g",{transform:"translate(24 31.67)"},He.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),He.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),He.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),He.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),He.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),He.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),He.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},He.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),He.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},gt=()=>{const[,be]=(0,ke.Z)(),{colorFill:Fe,colorFillTertiary:Pe,colorFillQuaternary:Ie,colorBgContainer:We}=be,{borderColor:Ke,shadowColor:Xe,contentColor:ht}=(0,He.useMemo)(()=>({borderColor:new vt.C(Fe).onBackground(We).toHexShortString(),shadowColor:new vt.C(Pe).onBackground(We).toHexShortString(),contentColor:new vt.C(Ie).onBackground(We).toHexShortString()}),[Fe,Pe,Ie,We]);return He.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},He.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},He.createElement("ellipse",{fill:Xe,cx:"32",cy:"33",rx:"32",ry:"7"}),He.createElement("g",{fillRule:"nonzero",stroke:Ke},He.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),He.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:ht}))))},ct=ye(83116),wt=ye(37613);const Me=be=>{const{componentCls:Fe,margin:Pe,marginXS:Ie,marginXL:We,fontSize:Ke,lineHeight:Xe}=be;return{[Fe]:{marginInline:Ie,fontSize:Ke,lineHeight:Xe,textAlign:"center",[`${Fe}-image`]:{height:be.emptyImgHeight,marginBottom:Ie,opacity:be.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Fe}-description`]:{color:be.colorText},[`${Fe}-footer`]:{marginTop:Pe},"&-normal":{marginBlock:We,color:be.colorTextDisabled,[`${Fe}-description`]:{color:be.colorTextDisabled},[`${Fe}-image`]:{height:be.emptyImgHeightMD}},"&-small":{marginBlock:Ie,color:be.colorTextDisabled,[`${Fe}-image`]:{height:be.emptyImgHeightSM}}}}};var te=(0,ct.Z)("Empty",be=>{const{componentCls:Fe,controlHeightLG:Pe}=be,Ie=(0,wt.TS)(be,{emptyImgCls:`${Fe}-img`,emptyImgHeight:Pe*2.5,emptyImgHeightMD:Pe,emptyImgHeightSM:Pe*.875});return[Me(Ie)]}),ne=function(be,Fe){var Pe={};for(var Ie in be)Object.prototype.hasOwnProperty.call(be,Ie)&&Fe.indexOf(Ie)<0&&(Pe[Ie]=be[Ie]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ie=Object.getOwnPropertySymbols(be);We{var{className:Fe,rootClassName:Pe,prefixCls:Ie,image:We=ce,description:Ke,children:Xe,imageStyle:ht,style:Ve}=be,Nt=ne(be,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:qe,direction:Ht,empty:Zt}=He.useContext(Rt.E_),Yt=qe("empty",Ie),[Ot,Qt]=te(Yt),[dt]=(0,_e.Z)("Empty"),Re=typeof Ke!="undefined"?Ke:dt==null?void 0:dt.description,Mt=typeof Re=="string"?Re:"empty";let Pn=null;return typeof We=="string"?Pn=He.createElement("img",{alt:Mt,src:We}):Pn=We,Ot(He.createElement("div",Object.assign({className:Oe()(Qt,Yt,Zt==null?void 0:Zt.className,{[`${Yt}-normal`]:We===se,[`${Yt}-rtl`]:Ht==="rtl"},Fe,Pe),style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),Ve)},Nt),He.createElement("div",{className:`${Yt}-image`,style:ht},Pn),Re&&He.createElement("div",{className:`${Yt}-description`},Re),Xe&&He.createElement("div",{className:`${Yt}-footer`},Xe)))};ge.PRESENTED_IMAGE_DEFAULT=ce,ge.PRESENTED_IMAGE_SIMPLE=se;var ve=ge},78241:function(Rn,Fn,ye){"use strict";ye.d(Fn,{default:function(){return bt}});var Se=ye(26390),Oe=ye(92310),He=ye.n(Oe),Rt=ye(43469),_e=ye(59301),vt=ye(62892),ke=ye(32441);function Tt(tt){const[qt,dn]=_e.useState(tt);return _e.useEffect(()=>{const xt=setTimeout(()=>{dn(tt)},tt.length?0:10);return()=>{clearTimeout(xt)}},[tt]),qt}var Lt=ye(17313),et=ye(29878),gt=ye(8378),ct=ye(37613),wt=ye(83116),te=tt=>{const{componentCls:qt}=tt,dn=`${qt}-show-help`,xt=`${qt}-show-help-item`;return{[dn]:{transition:`opacity ${tt.motionDurationSlow} ${tt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[xt]:{overflow:"hidden",transition:`height ${tt.motionDurationSlow} ${tt.motionEaseInOut}, opacity ${tt.motionDurationSlow} ${tt.motionEaseInOut}, transform ${tt.motionDurationSlow} ${tt.motionEaseInOut} !important`,[`&${xt}-appear, &${xt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${xt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ne=tt=>({legend:{display:"block",width:"100%",marginBottom:tt.marginLG,padding:0,color:tt.colorTextDescription,fontSize:tt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${tt.lineWidth}px ${tt.lineType} ${tt.colorBorder}`},label:{fontSize:tt.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${tt.controlOutlineWidth}px ${tt.controlOutline}`},output:{display:"block",paddingTop:15,color:tt.colorText,fontSize:tt.fontSize,lineHeight:tt.lineHeight}}),ce=(tt,qt)=>{const{formItemCls:dn}=tt;return{[dn]:{[`${dn}-label > label`]:{height:qt},[`${dn}-control-input`]:{minHeight:qt}}}},se=tt=>{const{componentCls:qt}=tt;return{[tt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Lt.Wf)(tt)),ne(tt)),{[`${qt}-text`]:{display:"inline-block",paddingInlineEnd:tt.paddingSM},"&-small":Object.assign({},ce(tt,tt.controlHeightSM)),"&-large":Object.assign({},ce(tt,tt.controlHeightLG))})}},ge=tt=>{const{formItemCls:qt,iconCls:dn,componentCls:xt,rootPrefixCls:Ye,labelRequiredMarkColor:an,labelColor:Bt,labelFontSize:jn,labelHeight:cn,labelColonMarginInlineStart:Et,labelColonMarginInlineEnd:xn,itemMarginBottom:Qn}=tt;return{[qt]:Object.assign(Object.assign({},(0,Lt.Wf)(tt)),{marginBottom:Qn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden.${Ye}-row`]:{display:"none"},"&-has-warning":{[`${qt}-split`]:{color:tt.colorError}},"&-has-error":{[`${qt}-split`]:{color:tt.colorWarning}},[`${qt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${tt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:cn,color:Bt,fontSize:jn,[`> ${dn}`]:{fontSize:tt.fontSize,verticalAlign:"top"},[`&${qt}-required:not(${qt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:tt.marginXXS,color:an,fontSize:tt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${xt}-hide-required-mark &`]:{display:"none"}},[`${qt}-optional`]:{display:"inline-block",marginInlineStart:tt.marginXXS,color:tt.colorTextDescription,[`${xt}-hide-required-mark &`]:{display:"none"}},[`${qt}-tooltip`]:{color:tt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:tt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Et,marginInlineEnd:xn},[`&${qt}-no-colon::after`]:{content:'"\\a0"'}}},[`${qt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ye}-col-'"]):not([class*="' ${Ye}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:tt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[qt]:{"&-explain, &-extra":{clear:"both",color:tt.colorTextDescription,fontSize:tt.fontSize,lineHeight:tt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:tt.controlHeightSM,transition:`color ${tt.motionDurationMid} ${tt.motionEaseOut}`},"&-explain":{"&-error":{color:tt.colorError},"&-warning":{color:tt.colorWarning}}},[`&-with-help ${qt}-explain`]:{height:"auto",opacity:1},[`${qt}-feedback-icon`]:{fontSize:tt.fontSize,textAlign:"center",visibility:"visible",animationName:et.kr,animationDuration:tt.motionDurationMid,animationTimingFunction:tt.motionEaseOutBack,pointerEvents:"none","&-success":{color:tt.colorSuccess},"&-error":{color:tt.colorError},"&-warning":{color:tt.colorWarning},"&-validating":{color:tt.colorPrimary}}})}},ve=tt=>{const{componentCls:qt,formItemCls:dn}=tt;return{[`${qt}-horizontal`]:{[`${dn}-label`]:{flexGrow:0},[`${dn}-control`]:{flex:"1 1 0",minWidth:0},[`${dn}-label[class$='-24'], ${dn}-label[class*='-24 ']`]:{[`& + ${dn}-control`]:{minWidth:"unset"}}}}},be=tt=>{const{componentCls:qt,formItemCls:dn}=tt;return{[`${qt}-inline`]:{display:"flex",flexWrap:"wrap",[dn]:{flex:"none",marginInlineEnd:tt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${dn}-label, > ${dn}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${dn}-label`]:{flex:"none"},[`${qt}-text`]:{display:"inline-block"},[`${dn}-has-feedback`]:{display:"inline-block"}}}}},Fe=tt=>({padding:tt.verticalLabelPadding,margin:tt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Pe=tt=>{const{componentCls:qt,formItemCls:dn,rootPrefixCls:xt}=tt;return{[`${dn} ${dn}-label`]:Fe(tt),[qt]:{[dn]:{flexWrap:"wrap",[`${dn}-label, ${dn}-control`]:{[`&:not([class*=" ${xt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ie=tt=>{const{componentCls:qt,formItemCls:dn,rootPrefixCls:xt}=tt;return{[`${qt}-vertical`]:{[dn]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${qt}-item-control`]:{width:"100%"}}},[`${qt}-vertical ${dn}-label, .${xt}-col-24${dn}-label, .${xt}-col-xl-24${dn}-label`]:Fe(tt),[`@media (max-width: ${tt.screenXSMax}px)`]:[Pe(tt),{[qt]:{[`.${xt}-col-xs-24${dn}-label`]:Fe(tt)}}],[`@media (max-width: ${tt.screenSMMax}px)`]:{[qt]:{[`.${xt}-col-sm-24${dn}-label`]:Fe(tt)}},[`@media (max-width: ${tt.screenMDMax}px)`]:{[qt]:{[`.${xt}-col-md-24${dn}-label`]:Fe(tt)}},[`@media (max-width: ${tt.screenLGMax}px)`]:{[qt]:{[`.${xt}-col-lg-24${dn}-label`]:Fe(tt)}}}},We=(tt,qt)=>(0,ct.TS)(tt,{formItemCls:`${tt.componentCls}-item`,rootPrefixCls:qt});var Ke=(0,wt.Z)("Form",(tt,qt)=>{let{rootPrefixCls:dn}=qt;const xt=We(tt,dn);return[se(xt),ge(xt),te(xt),ve(xt),be(xt),Ie(xt),(0,gt.Z)(xt),et.kr]},tt=>({labelRequiredMarkColor:tt.colorError,labelColor:tt.colorTextHeading,labelFontSize:tt.fontSize,labelHeight:tt.controlHeight,labelColonMarginInlineStart:tt.marginXXS/2,labelColonMarginInlineEnd:tt.marginXS,itemMarginBottom:tt.marginLG,verticalLabelPadding:`0 0 ${tt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Xe=[];function ht(tt,qt,dn){let xt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof tt=="string"?tt:`${qt}-${xt}`,error:tt,errorStatus:dn}}var Nt=tt=>{let{help:qt,helpStatus:dn,errors:xt=Xe,warnings:Ye=Xe,className:an,fieldId:Bt,onVisibleChanged:jn}=tt;const{prefixCls:cn}=_e.useContext(ke.Rk),Et=`${cn}-item-explain`,[,xn]=Ke(cn),Qn=(0,_e.useMemo)(()=>(0,vt.Z)(cn),[cn]),Un=Tt(xt),zt=Tt(Ye),Sn=_e.useMemo(()=>qt!=null?[ht(qt,"help",dn)]:[].concat((0,Se.Z)(Un.map((Si,vi)=>ht(Si,"error","error",vi))),(0,Se.Z)(zt.map((Si,vi)=>ht(Si,"warning","warning",vi)))),[qt,dn,Un,zt]),Ci={};return Bt&&(Ci.id=`${Bt}_help`),_e.createElement(Rt.default,{motionDeadline:Qn.motionDeadline,motionName:`${cn}-show-help`,visible:!!Sn.length,onVisibleChanged:jn},Si=>{const{className:vi,style:ti}=Si;return _e.createElement("div",Object.assign({},Ci,{className:He()(Et,vi,an,xn),style:ti,role:"alert"}),_e.createElement(Rt.CSSMotionList,Object.assign({keys:Sn},(0,vt.Z)(cn),{motionName:`${cn}-show-help-item`,component:!1}),xi=>{const{key:Ni,error:Zi,errorStatus:cr,className:Gn,style:Ai}=xi;return _e.createElement("div",{key:Ni,className:He()(Gn,{[`${Et}-${cr}`]:cr}),style:Ai},Zi)}))})},qe=ye(95013),Ht=ye(36355),Zt=ye(1684),Yt=ye(52946),Ot=ye(19716),Qt=ye(16722);const dt=["parentNode"],Re="form_item";function Mt(tt){return tt===void 0||tt===!1?[]:Array.isArray(tt)?tt:[tt]}function Pn(tt,qt){if(!tt.length)return;const dn=tt.join("_");return qt?`${qt}_${dn}`:dt.includes(dn)?`${Re}_${dn}`:dn}function mn(tt,qt,dn,xt,Ye,an){let Bt=xt;return an!==void 0?Bt=an:dn.validating?Bt="validating":tt.length?Bt="error":qt.length?Bt="warning":(dn.touched||Ye&&dn.validated)&&(Bt="success"),Bt}function kt(tt){return Mt(tt).join("_")}function _t(tt){const[qt]=(0,qe.useForm)(),dn=_e.useRef({}),xt=_e.useMemo(()=>tt!=null?tt:Object.assign(Object.assign({},qt),{__INTERNAL__:{itemRef:Ye=>an=>{const Bt=kt(Ye);an?dn.current[Bt]=an:delete dn.current[Bt]}},scrollToField:function(Ye){let an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Bt=Mt(Ye),jn=Pn(Bt,xt.__INTERNAL__.name),cn=jn?document.getElementById(jn):null;cn&&(0,Qt.Z)(cn,Object.assign({scrollMode:"if-needed",block:"nearest"},an))},getFieldInstance:Ye=>{const an=kt(Ye);return dn.current[an]}}),[tt,qt]);return[xt]}var ln=ye(28726),Bn=function(tt,qt){var dn={};for(var xt in tt)Object.prototype.hasOwnProperty.call(tt,xt)&&qt.indexOf(xt)<0&&(dn[xt]=tt[xt]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,xt=Object.getOwnPropertySymbols(tt);Ye{const dn=_e.useContext(Zt.Z),{getPrefixCls:xt,direction:Ye,form:an}=_e.useContext(Ht.E_),{prefixCls:Bt,className:jn,rootClassName:cn,size:Et,disabled:xn=dn,form:Qn,colon:Un,labelAlign:zt,labelWrap:Sn,labelCol:Ci,wrapperCol:Si,hideRequiredMark:vi,layout:ti="horizontal",scrollToFirstError:xi,requiredMark:Ni,onFinishFailed:Zi,name:cr,style:Gn,feedbackIcons:Ai}=tt,br=Bn(tt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),kr=(0,Ot.Z)(Et),Sr=_e.useContext(ln.Z),Xt=(0,_e.useMemo)(()=>Ni!==void 0?Ni:an&&an.requiredMark!==void 0?an.requiredMark:!vi,[vi,Ni,an]),Li=Un!=null?Un:an==null?void 0:an.colon,rr=xt("form",Bt),[Hi,Er]=Ke(rr),dr=He()(rr,`${rr}-${ti}`,{[`${rr}-hide-required-mark`]:Xt===!1,[`${rr}-rtl`]:Ye==="rtl",[`${rr}-${kr}`]:kr},Er,an==null?void 0:an.className,jn,cn),[Nr]=_t(Qn),{__INTERNAL__:Ti}=Nr;Ti.name=cr;const Qi=(0,_e.useMemo)(()=>({name:cr,labelAlign:zt,labelCol:Ci,labelWrap:Sn,wrapperCol:Si,vertical:ti==="vertical",colon:Li,requiredMark:Xt,itemRef:Ti.itemRef,form:Nr,feedbackIcons:Ai}),[cr,zt,Ci,Si,ti,Li,Xt,Nr,Ai]);_e.useImperativeHandle(qt,()=>Nr);const er=(Dr,Ln)=>{if(Dr){let pr={block:"nearest"};typeof Dr=="object"&&(pr=Dr),Nr.scrollToField(Ln,pr)}},kn=Dr=>{if(Zi==null||Zi(Dr),Dr.errorFields.length){const Ln=Dr.errorFields[0].name;if(xi!==void 0){er(xi,Ln);return}an&&an.scrollToFirstError!==void 0&&er(an.scrollToFirstError,Ln)}};return Hi(_e.createElement(Zt.n,{disabled:xn},_e.createElement(Yt.q,{size:kr},_e.createElement(ke.RV,Object.assign({},{validateMessages:Sr}),_e.createElement(ke.q3.Provider,{value:Qi},_e.createElement(qe.default,Object.assign({id:cr},br,{name:cr,onFinishFailed:kn,form:Nr,style:Object.assign(Object.assign({},an==null?void 0:an.style),Gn),className:dr})))))))};var yt=_e.forwardRef(wn),Jn=ye(12383),bn=ye(20475),ci=ye(92343),Tn=ye(38298);function tn(tt){if(typeof tt=="function")return tt;const qt=(0,Tn.Z)(tt);return qt.length<=1?qt[0]:qt}const $t=()=>{const{status:tt,errors:qt=[],warnings:dn=[]}=(0,_e.useContext)(ke.aM);return{status:tt,errors:qt,warnings:dn}};$t.Context=ke.aM;var ft=$t,Je=ye(23073);function Gt(tt){const[qt,dn]=_e.useState(tt),xt=(0,_e.useRef)(null),Ye=(0,_e.useRef)([]),an=(0,_e.useRef)(!1);_e.useEffect(()=>(an.current=!1,()=>{an.current=!0,Je.Z.cancel(xt.current),xt.current=null}),[]);function Bt(jn){an.current||(xt.current===null&&(Ye.current=[],xt.current=(0,Je.Z)(()=>{xt.current=null,dn(cn=>{let Et=cn;return Ye.current.forEach(xn=>{Et=xn(Et)}),Et})})),Ye.current.push(jn))}return[qt,Bt]}function At(){const{itemRef:tt}=_e.useContext(ke.q3),qt=_e.useRef({});function dn(xt,Ye){const an=Ye&&typeof Ye=="object"&&Ye.ref,Bt=xt.join("_");return(qt.current.name!==Bt||qt.current.originRef!==an)&&(qt.current.name=Bt,qt.current.originRef=an,qt.current.ref=(0,bn.sQ)(tt(xt),an)),qt.current.ref}return dn}var lt=ye(48886),Ge=ye(28800),Be=ye(64002),we=ye(27382),pe=ye(37028);const De=tt=>{const{formItemCls:qt}=tt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${qt}-control`]:{display:"flex"}}}};var ze=(0,wt.b)(["Form","item-item"],(tt,qt)=>{let{rootPrefixCls:dn}=qt;const xt=We(tt,dn);return[De(xt)]}),nt=tt=>{const{prefixCls:qt,status:dn,wrapperCol:xt,children:Ye,errors:an,warnings:Bt,_internalItemRender:jn,extra:cn,help:Et,fieldId:xn,marginBottom:Qn,onErrorVisibleChanged:Un}=tt,zt=`${qt}-item`,Sn=_e.useContext(ke.q3),Ci=xt||Sn.wrapperCol||{},Si=He()(`${zt}-control`,Ci.className),vi=_e.useMemo(()=>Object.assign({},Sn),[Sn]);delete vi.labelCol,delete vi.wrapperCol;const ti=_e.createElement("div",{className:`${zt}-control-input`},_e.createElement("div",{className:`${zt}-control-input-content`},Ye)),xi=_e.useMemo(()=>({prefixCls:qt,status:dn}),[qt,dn]),Ni=Qn!==null||an.length||Bt.length?_e.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},_e.createElement(ke.Rk.Provider,{value:xi},_e.createElement(Nt,{fieldId:xn,errors:an,warnings:Bt,help:Et,helpStatus:dn,className:`${zt}-explain-connected`,onVisibleChanged:Un})),!!Qn&&_e.createElement("div",{style:{width:0,height:Qn}})):null,Zi={};xn&&(Zi.id=`${xn}_extra`);const cr=cn?_e.createElement("div",Object.assign({},Zi,{className:`${zt}-extra`}),cn):null,Gn=jn&&jn.mark==="pro_table_render"&&jn.render?jn.render(tt,{input:ti,errorList:Ni,extra:cr}):_e.createElement(_e.Fragment,null,ti,Ni,cr);return _e.createElement(ke.q3.Provider,{value:vi},_e.createElement(pe.Z,Object.assign({},Ci,{className:Si}),Gn),_e.createElement(ze,{prefixCls:qt}))},Ut=ye(86902),En=ye(31724),rn=ye(9763),vn=ye(6848),mi=function(tt,qt){var dn={};for(var xt in tt)Object.prototype.hasOwnProperty.call(tt,xt)&&qt.indexOf(xt)<0&&(dn[xt]=tt[xt]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,xt=Object.getOwnPropertySymbols(tt);Ye{let{prefixCls:qt,label:dn,htmlFor:xt,labelCol:Ye,labelAlign:an,colon:Bt,required:jn,requiredMark:cn,tooltip:Et}=tt;var xn;const[Qn]=(0,rn.Z)("Form"),{vertical:Un,labelAlign:zt,labelCol:Sn,labelWrap:Ci,colon:Si}=_e.useContext(ke.q3);if(!dn)return null;const vi=Ye||Sn||{},ti=an||zt,xi=`${qt}-item-label`,Ni=He()(xi,ti==="left"&&`${xi}-left`,vi.className,{[`${xi}-wrap`]:!!Ci});let Zi=dn;const cr=Bt===!0||Si!==!1&&Bt!==!1;cr&&!Un&&typeof dn=="string"&&dn.trim()!==""&&(Zi=dn.replace(/[:|:]\s*$/,""));const Ai=wi(Et);if(Ai){const{icon:Xt=_e.createElement(Ut.Z,null)}=Ai,Li=mi(Ai,["icon"]),rr=_e.createElement(vn.Z,Object.assign({},Li),_e.cloneElement(Xt,{className:`${qt}-item-tooltip`,title:""}));Zi=_e.createElement(_e.Fragment,null,Zi,rr)}const br=cn==="optional",kr=typeof cn=="function";kr?Zi=cn(Zi,{required:!!jn}):br&&!jn&&(Zi=_e.createElement(_e.Fragment,null,Zi,_e.createElement("span",{className:`${qt}-item-optional`,title:""},(Qn==null?void 0:Qn.optional)||((xn=En.Z.Form)===null||xn===void 0?void 0:xn.optional))));const Sr=He()({[`${qt}-item-required`]:jn,[`${qt}-item-required-mark-optional`]:br||kr,[`${qt}-item-no-colon`]:!cr});return _e.createElement(pe.Z,Object.assign({},vi,{className:Ni}),_e.createElement("label",{htmlFor:xt,className:Sr,title:typeof dn=="string"?dn:""},Zi))},Mn=ye(79999),nr=ye(33130),Wr=ye(85404),Hr=ye(50023);const Tr={success:Mn.Z,warning:Wr.Z,error:nr.Z,validating:Hr.Z};function Fr(tt){let{children:qt,errors:dn,warnings:xt,hasFeedback:Ye,validateStatus:an,prefixCls:Bt,meta:jn,noStyle:cn}=tt;const Et=`${Bt}-item`,{feedbackIcons:xn}=_e.useContext(ke.q3),Qn=mn(dn,xt,jn,null,!!Ye,an),{isFormItemInput:Un,status:zt}=_e.useContext(ke.aM),Sn=_e.useMemo(()=>{var Ci;let Si;if(Ye){const xi=Ye!==!0&&Ye.icons||xn,Ni=Qn&&((Ci=xi==null?void 0:xi({status:Qn,errors:dn,warnings:xt}))===null||Ci===void 0?void 0:Ci[Qn]),Zi=Qn&&Tr[Qn];Si=Ni!==!1&&Zi?_e.createElement("span",{className:He()(`${Et}-feedback-icon`,`${Et}-feedback-icon-${Qn}`)},Ni||_e.createElement(Zi,null)):null}let vi=!0,ti=Qn||"";return cn&&(vi=Un,ti=(Qn!=null?Qn:zt)||""),{status:ti,errors:dn,warnings:xt,hasFeedback:!!Ye,feedbackIcon:Si,isFormItemInput:vi}},[Qn,Ye,cn,Un,zt]);return _e.createElement(ke.aM.Provider,{value:Sn},qt)}var Yr=function(tt,qt){var dn={};for(var xt in tt)Object.prototype.hasOwnProperty.call(tt,xt)&&qt.indexOf(xt)<0&&(dn[xt]=tt[xt]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,xt=Object.getOwnPropertySymbols(tt);Ye{if(Ai&&Ni.current){const Er=getComputedStyle(Ni.current);Sr(parseInt(Er.marginBottom,10))}},[Ai,br]);const Xt=Er=>{Er||Sr(null)},rr=function(){let Er=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const dr=Er?Zi:Et.errors,Nr=Er?cr:Et.warnings;return mn(dr,Nr,Et,"",!!xn,cn)}(),Hi=He()(ti,dn,xt,{[`${ti}-with-help`]:Gn||Zi.length||cr.length,[`${ti}-has-feedback`]:rr&&xn,[`${ti}-has-success`]:rr==="success",[`${ti}-has-warning`]:rr==="warning",[`${ti}-has-error`]:rr==="error",[`${ti}-is-validating`]:rr==="validating",[`${ti}-hidden`]:Qn});return _e.createElement("div",{className:Hi,style:Ye,ref:Ni},_e.createElement(we.Z,Object.assign({className:`${ti}-row`},(0,Be.Z)(vi,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),_e.createElement(Wi,Object.assign({htmlFor:zt},tt,{requiredMark:xi,required:Sn!=null?Sn:Ci,prefixCls:qt})),_e.createElement(nt,Object.assign({},tt,Et,{errors:Zi,warnings:cr,prefixCls:qt,status:rr,help:an,marginBottom:kr,onErrorVisibleChanged:Xt}),_e.createElement(ke.qI.Provider,{value:Si},_e.createElement(Fr,{prefixCls:qt,meta:Et,errors:Et.errors,warnings:Et.warnings,hasFeedback:xn,validateStatus:rr},Un)))),!!kr&&_e.createElement("div",{className:`${ti}-margin-offset`,style:{marginBottom:-kr}}))}const ar="__SPLIT__",Co=null,$n=_e.memo(tt=>{let{children:qt}=tt;return qt},(tt,qt)=>tt.value===qt.value&&tt.update===qt.update&&tt.childProps.length===qt.childProps.length&&tt.childProps.every((dn,xt)=>dn===qt.childProps[xt]));function Ce(tt){return tt!=null}function hi(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function ki(tt){const{name:qt,noStyle:dn,className:xt,dependencies:Ye,prefixCls:an,shouldUpdate:Bt,rules:jn,children:cn,required:Et,label:xn,messageVariables:Qn,trigger:Un="onChange",validateTrigger:zt,hidden:Sn,help:Ci}=tt,{getPrefixCls:Si}=_e.useContext(Ht.E_),{name:vi}=_e.useContext(ke.q3),ti=tn(cn),xi=typeof ti=="function",Ni=_e.useContext(ke.qI),{validateTrigger:Zi}=_e.useContext(qe.FieldContext),cr=zt!==void 0?zt:Zi,Gn=Ce(qt),Ai=Si("form",an),[br,kr]=Ke(Ai),Sr=_e.useContext(qe.ListContext),Xt=_e.useRef(),[Li,rr]=Gt({}),[Hi,Er]=(0,Jn.Z)(()=>hi()),dr=Ln=>{const pr=Sr==null?void 0:Sr.getKey(Ln.name);if(Er(Ln.destroy?hi():Ln,!0),dn&&Ci!==!1&&Ni){let Qr=Ln.name;if(Ln.destroy)Qr=Xt.current||Qr;else if(pr!==void 0){const[vr,Ho]=pr;Qr=[vr].concat((0,Se.Z)(Ho)),Xt.current=Qr}Ni(Ln,Qr)}},Nr=(Ln,pr)=>{rr(Qr=>{const vr=Object.assign({},Qr),co=[].concat((0,Se.Z)(Ln.name.slice(0,-1)),(0,Se.Z)(pr)).join(ar);return Ln.destroy?delete vr[co]:vr[co]=Ln,vr})},[Ti,Qi]=_e.useMemo(()=>{const Ln=(0,Se.Z)(Hi.errors),pr=(0,Se.Z)(Hi.warnings);return Object.values(Li).forEach(Qr=>{Ln.push.apply(Ln,(0,Se.Z)(Qr.errors||[])),pr.push.apply(pr,(0,Se.Z)(Qr.warnings||[]))}),[Ln,pr]},[Li,Hi.errors,Hi.warnings]),er=At();function kn(Ln,pr,Qr){return dn&&!Sn?_e.createElement(Fr,{prefixCls:Ai,hasFeedback:tt.hasFeedback,validateStatus:tt.validateStatus,meta:Hi,errors:Ti,warnings:Qi,noStyle:!0},Ln):_e.createElement(Kr,Object.assign({key:"row"},tt,{className:He()(xt,kr),prefixCls:Ai,fieldId:pr,isRequired:Qr,errors:Ti,warnings:Qi,meta:Hi,onSubItemMetaChange:Nr}),Ln)}if(!Gn&&!xi&&!Ye)return br(kn(ti));let Dr={};return typeof xn=="string"?Dr.label=xn:qt&&(Dr.label=String(qt)),Qn&&(Dr=Object.assign(Object.assign({},Dr),Qn)),br(_e.createElement(qe.Field,Object.assign({},tt,{messageVariables:Dr,trigger:Un,validateTrigger:cr,onMetaChange:dr}),(Ln,pr,Qr)=>{const vr=Mt(qt).length&&pr?pr.name:[],Ho=Pn(vr,vi),co=Et!==void 0?Et:!!(jn&&jn.some(fr=>{if(fr&&typeof fr=="object"&&fr.required&&!fr.warningOnly)return!0;if(typeof fr=="function"){const Vr=fr(Qr);return Vr&&Vr.required&&!Vr.warningOnly}return!1})),mr=Object.assign({},Ln);let hr=null;if(Array.isArray(ti)&&Gn)hr=ti;else if(!(xi&&(!(Bt||Ye)||Gn))){if(!(Ye&&!xi&&!Gn))if((0,ci.l$)(ti)){const fr=Object.assign(Object.assign({},ti.props),mr);if(fr.id||(fr.id=Ho),Ci||Ti.length>0||Qi.length>0||tt.extra){const Qe=[];(Ci||Ti.length>0)&&Qe.push(`${Ho}_help`),tt.extra&&Qe.push(`${Ho}_extra`),fr["aria-describedby"]=Qe.join(" ")}Ti.length>0&&(fr["aria-invalid"]="true"),co&&(fr["aria-required"]="true"),(0,bn.Yr)(ti)&&(fr.ref=er(vr,ti)),new Set([].concat((0,Se.Z)(Mt(Un)),(0,Se.Z)(Mt(cr)))).forEach(Qe=>{fr[Qe]=function(){for(var pt,It,sn,Hn,On,Wt=arguments.length,Nn=new Array(Wt),ai=0;ai{var{prefixCls:qt,children:dn}=tt,xt=li(tt,["prefixCls","children"]);const{getPrefixCls:Ye}=_e.useContext(Ht.E_),an=Ye("form",qt),Bt=_e.useMemo(()=>({prefixCls:an,status:"error"}),[an]);return _e.createElement(qe.List,Object.assign({},xt),(jn,cn,Et)=>_e.createElement(ke.Rk.Provider,{value:Bt},dn(jn.map(xn=>Object.assign(Object.assign({},xn),{fieldKey:xn.key})),cn,{errors:Et.errors,warnings:Et.warnings})))};function mt(){const{form:tt}=(0,_e.useContext)(ke.q3);return tt}const Pt=yt;Pt.Item=Wn,Pt.List=on,Pt.ErrorList=Nt,Pt.useForm=_t,Pt.useFormInstance=mt,Pt.useWatch=qe.useWatch,Pt.Provider=ke.RV,Pt.create=()=>{};var bt=Pt},8628:function(Rn,Fn,ye){"use strict";var Se=ye(59301),Oe=ye(28800),He=ye(56762),Rt=ye(69507);function _e(){let vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ke=(0,Se.useRef)({}),Tt=(0,He.Z)(),Lt=(0,Rt.ZP)();return(0,Oe.Z)(()=>{const et=Lt.subscribe(gt=>{ke.current=gt,vt&&Tt()});return()=>Lt.unsubscribe(et)},[]),ke.current}Fn.Z=_e},9432:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return ge},n:function(){return ce}});var Se=ye(33130),Oe=ye(92310),He=ye.n(Oe),Rt=ye(93681),_e=ye(20475),vt=ye(59301),ke=ye(19080),Tt=ye(36355),Lt=ye(1684),et=ye(19716),gt=ye(32441),ct=ye(33234),wt=ye(59412),Me=ye(9937);function te(ve){return!!(ve.prefix||ve.suffix||ve.allowClear)}var ne=function(ve,be){var Fe={};for(var Pe in ve)Object.prototype.hasOwnProperty.call(ve,Pe)&&be.indexOf(Pe)<0&&(Fe[Pe]=ve[Pe]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Pe=Object.getOwnPropertySymbols(ve);Ie{var Fe;const{prefixCls:Pe,bordered:Ie=!0,status:We,size:Ke,disabled:Xe,onBlur:ht,onFocus:Ve,suffix:Nt,allowClear:qe,addonAfter:Ht,addonBefore:Zt,className:Yt,style:Ot,styles:Qt,rootClassName:dt,onChange:Re,classNames:Mt}=ve,Pn=ne(ve,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:mn,direction:kt,input:_t}=vt.useContext(Tt.E_),ln=mn("input",Pe),Bn=(0,vt.useRef)(null),[wn,Kn]=(0,Me.ZP)(ln),{compactSize:yt,compactItemClassnames:Jn}=(0,ct.ri)(ln,kt),bn=(0,et.Z)(ze=>{var Le;return(Le=Ke!=null?Ke:yt)!==null&&Le!==void 0?Le:ze}),ci=vt.useContext(Lt.Z),Tn=Xe!=null?Xe:ci,{status:tn,hasFeedback:$t,feedbackIcon:ft}=(0,vt.useContext)(gt.aM),Je=(0,ke.F)(tn,We),Gt=te(ve)||!!$t,At=(0,vt.useRef)(Gt);(0,vt.useEffect)(()=>{var ze;Gt&&At.current,At.current=Gt},[Gt]);const lt=(0,wt.Z)(Bn,!0),Ge=ze=>{lt(),ht==null||ht(ze)},Be=ze=>{lt(),Ve==null||Ve(ze)},we=ze=>{lt(),Re==null||Re(ze)},pe=($t||Nt)&&vt.createElement(vt.Fragment,null,Nt,$t&&ft);let De;return typeof qe=="object"&&(qe!=null&&qe.clearIcon)?De=qe:qe&&(De={clearIcon:vt.createElement(Se.Z,null)}),wn(vt.createElement(Rt.default,Object.assign({ref:(0,_e.sQ)(be,Bn),prefixCls:ln,autoComplete:_t==null?void 0:_t.autoComplete},Pn,{disabled:Tn,onBlur:Ge,onFocus:Be,style:Object.assign(Object.assign({},_t==null?void 0:_t.style),Ot),styles:Object.assign(Object.assign({},_t==null?void 0:_t.styles),Qt),suffix:pe,allowClear:De,className:He()(Yt,dt,Jn,_t==null?void 0:_t.className),onChange:we,addonAfter:Ht&&vt.createElement(ct.BR,null,vt.createElement(gt.Ux,{override:!0,status:!0},Ht)),addonBefore:Zt&&vt.createElement(ct.BR,null,vt.createElement(gt.Ux,{override:!0,status:!0},Zt)),classNames:Object.assign(Object.assign(Object.assign({},Mt),_t==null?void 0:_t.classNames),{input:He()({[`${ln}-sm`]:bn==="small",[`${ln}-lg`]:bn==="large",[`${ln}-rtl`]:kt==="rtl",[`${ln}-borderless`]:!Ie},!Gt&&(0,ke.Z)(ln,Je),Mt==null?void 0:Mt.input,(Fe=_t==null?void 0:_t.classNames)===null||Fe===void 0?void 0:Fe.input,Kn)}),classes:{affixWrapper:He()({[`${ln}-affix-wrapper-sm`]:bn==="small",[`${ln}-affix-wrapper-lg`]:bn==="large",[`${ln}-affix-wrapper-rtl`]:kt==="rtl",[`${ln}-affix-wrapper-borderless`]:!Ie},(0,ke.Z)(`${ln}-affix-wrapper`,Je,$t),Kn),wrapper:He()({[`${ln}-group-rtl`]:kt==="rtl"},Kn),group:He()({[`${ln}-group-wrapper-sm`]:bn==="small",[`${ln}-group-wrapper-lg`]:bn==="large",[`${ln}-group-wrapper-rtl`]:kt==="rtl",[`${ln}-group-wrapper-disabled`]:Tn},(0,ke.Z)(`${ln}-group-wrapper`,Je,$t),Kn)}})))})},1643:function(Rn,Fn,ye){"use strict";var Se=ye(33130),Oe=ye(92310),He=ye.n(Oe),Rt=ye(9296),_e=ye(59301),vt=ye(19080),ke=ye(36355),Tt=ye(1684),Lt=ye(19716),et=ye(32441),gt=ye(9432),ct=ye(9937),wt=function(te,ne){var ce={};for(var se in te)Object.prototype.hasOwnProperty.call(te,se)&&ne.indexOf(se)<0&&(ce[se]=te[se]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,se=Object.getOwnPropertySymbols(te);ge{const{prefixCls:ce,bordered:se=!0,size:ge,disabled:ve,status:be,allowClear:Fe,showCount:Pe,classNames:Ie,rootClassName:We,className:Ke}=te,Xe=wt(te,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:ht,direction:Ve}=_e.useContext(ke.E_),Nt=(0,Lt.Z)(ge),qe=_e.useContext(Tt.Z),Ht=ve!=null?ve:qe,{status:Zt,hasFeedback:Yt,feedbackIcon:Ot}=_e.useContext(et.aM),Qt=(0,vt.F)(Zt,be),dt=_e.useRef(null);_e.useImperativeHandle(ne,()=>{var kt;return{resizableTextArea:(kt=dt.current)===null||kt===void 0?void 0:kt.resizableTextArea,focus:_t=>{var ln,Bn;(0,gt.n)((Bn=(ln=dt.current)===null||ln===void 0?void 0:ln.resizableTextArea)===null||Bn===void 0?void 0:Bn.textArea,_t)},blur:()=>{var _t;return(_t=dt.current)===null||_t===void 0?void 0:_t.blur()}}});const Re=ht("input",ce);let Mt;typeof Fe=="object"&&(Fe!=null&&Fe.clearIcon)?Mt=Fe:Fe&&(Mt={clearIcon:_e.createElement(Se.Z,null)});const[Pn,mn]=(0,ct.ZP)(Re);return Pn(_e.createElement(Rt.default,Object.assign({},Xe,{disabled:Ht,allowClear:Mt,className:He()(Ke,We),classes:{affixWrapper:He()(`${Re}-textarea-affix-wrapper`,{[`${Re}-affix-wrapper-rtl`]:Ve==="rtl",[`${Re}-affix-wrapper-borderless`]:!se,[`${Re}-affix-wrapper-sm`]:Nt==="small",[`${Re}-affix-wrapper-lg`]:Nt==="large",[`${Re}-textarea-show-count`]:Pe},(0,vt.Z)(`${Re}-affix-wrapper`,Qt),mn)},classNames:Object.assign(Object.assign({},Ie),{textarea:He()({[`${Re}-borderless`]:!se,[`${Re}-sm`]:Nt==="small",[`${Re}-lg`]:Nt==="large"},(0,vt.Z)(Re,Qt),mn,Ie==null?void 0:Ie.textarea)}),prefixCls:Re,suffix:Yt&&_e.createElement("span",{className:`${Re}-textarea-suffix`},Ot),showCount:Pe,ref:dt})))});Fn.Z=Me},59412:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Oe}});var Se=ye(59301);function Oe(He,Rt){const _e=(0,Se.useRef)([]),vt=()=>{_e.current.push(setTimeout(()=>{var ke,Tt,Lt,et;!((ke=He.current)===null||ke===void 0)&&ke.input&&((Tt=He.current)===null||Tt===void 0?void 0:Tt.input.getAttribute("type"))==="password"&&(!((Lt=He.current)===null||Lt===void 0)&&Lt.input.hasAttribute("value"))&&((et=He.current)===null||et===void 0||et.input.removeAttribute("value"))}))};return(0,Se.useEffect)(()=>(Rt&&vt(),()=>_e.current.forEach(ke=>{ke&&clearTimeout(ke)})),[]),vt}},92832:function(Rn,Fn,ye){"use strict";ye.d(Fn,{default:function(){return Nt}});var Se=ye(92310),Oe=ye.n(Se),He=ye(59301),Rt=ye(36355),_e=ye(32441),vt=ye(9937),Tt=qe=>{const{getPrefixCls:Ht,direction:Zt}=(0,He.useContext)(Rt.E_),{prefixCls:Yt,className:Ot}=qe,Qt=Ht("input-group",Yt),dt=Ht("input"),[Re,Mt]=(0,vt.ZP)(dt),Pn=Oe()(Qt,{[`${Qt}-lg`]:qe.size==="large",[`${Qt}-sm`]:qe.size==="small",[`${Qt}-compact`]:qe.compact,[`${Qt}-rtl`]:Zt==="rtl"},Mt,Ot),mn=(0,He.useContext)(_e.aM),kt=(0,He.useMemo)(()=>Object.assign(Object.assign({},mn),{isFormItemInput:!1}),[mn]);return Re(He.createElement("span",{className:Pn,style:qe.style,onMouseEnter:qe.onMouseEnter,onMouseLeave:qe.onMouseLeave,onFocus:qe.onFocus,onBlur:qe.onBlur},He.createElement(_e.aM.Provider,{value:kt},qe.children)))},Lt=ye(9432),et=ye(61441),gt=ye(30631),ct=ye(64002),wt=ye(20475),Me=ye(59412),te=function(qe,Ht){var Zt={};for(var Yt in qe)Object.prototype.hasOwnProperty.call(qe,Yt)&&Ht.indexOf(Yt)<0&&(Zt[Yt]=qe[Yt]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Yt=Object.getOwnPropertySymbols(qe);Otqe?He.createElement(gt.Z,null):He.createElement(et.Z,null),ce={click:"onClick",hover:"onMouseOver"};var ge=He.forwardRef((qe,Ht)=>{const{visibilityToggle:Zt=!0}=qe,Yt=typeof Zt=="object"&&Zt.visible!==void 0,[Ot,Qt]=(0,He.useState)(()=>Yt?Zt.visible:!1),dt=(0,He.useRef)(null);He.useEffect(()=>{Yt&&Qt(Zt.visible)},[Yt,Zt]);const Re=(0,Me.Z)(dt),Mt=()=>{const{disabled:Tn}=qe;Tn||(Ot&&Re(),Qt(tn=>{var $t;const ft=!tn;return typeof Zt=="object"&&(($t=Zt.onVisibleChange)===null||$t===void 0||$t.call(Zt,ft)),ft}))},Pn=Tn=>{const{action:tn="click",iconRender:$t=ne}=qe,ft=ce[tn]||"",Je=$t(Ot),Gt={[ft]:Mt,className:`${Tn}-icon`,key:"passwordIcon",onMouseDown:At=>{At.preventDefault()},onMouseUp:At=>{At.preventDefault()}};return He.cloneElement(He.isValidElement(Je)?Je:He.createElement("span",null,Je),Gt)},{className:mn,prefixCls:kt,inputPrefixCls:_t,size:ln}=qe,Bn=te(qe,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:wn}=He.useContext(Rt.E_),Kn=wn("input",_t),yt=wn("input-password",kt),Jn=Zt&&Pn(yt),bn=Oe()(yt,mn,{[`${yt}-${ln}`]:!!ln}),ci=Object.assign(Object.assign({},(0,ct.Z)(Bn,["suffix","iconRender","visibilityToggle"])),{type:Ot?"text":"password",className:bn,prefixCls:Kn,suffix:Jn});return ln&&(ci.size=ln),He.createElement(Lt.Z,Object.assign({ref:(0,wt.sQ)(Ht,dt)},ci))}),ve=ye(21970),be=ye(92343),Fe=ye(3113),Pe=ye(19716),Ie=ye(33234),We=function(qe,Ht){var Zt={};for(var Yt in qe)Object.prototype.hasOwnProperty.call(qe,Yt)&&Ht.indexOf(Yt)<0&&(Zt[Yt]=qe[Yt]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Yt=Object.getOwnPropertySymbols(qe);Ot{const{prefixCls:Zt,inputPrefixCls:Yt,className:Ot,size:Qt,suffix:dt,enterButton:Re=!1,addonAfter:Mt,loading:Pn,disabled:mn,onSearch:kt,onChange:_t,onCompositionStart:ln,onCompositionEnd:Bn}=qe,wn=We(qe,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Kn,direction:yt}=He.useContext(Rt.E_),Jn=He.useRef(!1),bn=Kn("input-search",Zt),ci=Kn("input",Yt),{compactSize:Tn}=(0,Ie.ri)(bn,yt),tn=(0,Pe.Z)(nt=>{var Ut;return(Ut=Qt!=null?Qt:Tn)!==null&&Ut!==void 0?Ut:nt}),$t=He.useRef(null),ft=nt=>{nt&&nt.target&&nt.type==="click"&&kt&&kt(nt.target.value,nt,{source:"clear"}),_t&&_t(nt)},Je=nt=>{var Ut;document.activeElement===((Ut=$t.current)===null||Ut===void 0?void 0:Ut.input)&&nt.preventDefault()},Gt=nt=>{var Ut,En;kt&&kt((En=(Ut=$t.current)===null||Ut===void 0?void 0:Ut.input)===null||En===void 0?void 0:En.value,nt,{source:"input"})},At=nt=>{Jn.current||Pn||Gt(nt)},lt=typeof Re=="boolean"?He.createElement(ve.Z,null):null,Ge=`${bn}-button`;let Be;const we=Re||{},pe=we.type&&we.type.__ANT_BUTTON===!0;pe||we.type==="button"?Be=(0,be.Tm)(we,Object.assign({onMouseDown:Je,onClick:nt=>{var Ut,En;(En=(Ut=we==null?void 0:we.props)===null||Ut===void 0?void 0:Ut.onClick)===null||En===void 0||En.call(Ut,nt),Gt(nt)},key:"enterButton"},pe?{className:Ge,size:tn}:{})):Be=He.createElement(Fe.ZP,{className:Ge,type:Re?"primary":void 0,size:tn,disabled:mn,key:"enterButton",onMouseDown:Je,onClick:Gt,loading:Pn,icon:lt},Re),Mt&&(Be=[Be,(0,be.Tm)(Mt,{key:"addonAfter"})]);const De=Oe()(bn,{[`${bn}-rtl`]:yt==="rtl",[`${bn}-${tn}`]:!!tn,[`${bn}-with-button`]:!!Re},Ot),ze=nt=>{Jn.current=!0,ln==null||ln(nt)},Le=nt=>{Jn.current=!1,Bn==null||Bn(nt)};return He.createElement(Lt.Z,Object.assign({ref:(0,wt.sQ)($t,Ht),onPressEnter:At},wn,{size:tn,onCompositionStart:ze,onCompositionEnd:Le,prefixCls:ci,addonAfter:Be,suffix:dt,onChange:ft,className:De,disabled:mn}))}),ht=ye(1643);const Ve=Lt.Z;Ve.Group=Tt,Ve.Search=Xe,Ve.TextArea=ht.Z,Ve.Password=ge;var Nt=Ve},99580:function(Rn,Fn,ye){"use strict";ye.d(Fn,{D:function(){return ve},Z:function(){return Pe}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(We,Ke){return Oe.createElement(_e.Z,(0,Se.Z)({},We,{ref:Ke,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke,Lt=ye(16537),et=ye(53878),gt=ye(92310),ct=ye.n(gt),wt=ye(64002),te=Ie=>!isNaN(parseFloat(Ie))&&isFinite(Ie),ne=ye(36355),ce=ye(84966),se=function(Ie,We){var Ke={};for(var Xe in Ie)Object.prototype.hasOwnProperty.call(Ie,Xe)&&We.indexOf(Xe)<0&&(Ke[Xe]=Ie[Xe]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Xe=Object.getOwnPropertySymbols(Ie);ht{let Ie=0;return function(){let We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ie+=1,`${We}${Ie}`}})();var Pe=Oe.forwardRef((Ie,We)=>{const{prefixCls:Ke,className:Xe,trigger:ht,children:Ve,defaultCollapsed:Nt=!1,theme:qe="dark",style:Ht={},collapsible:Zt=!1,reverseArrow:Yt=!1,width:Ot=200,collapsedWidth:Qt=80,zeroWidthTriggerStyle:dt,breakpoint:Re,onCollapse:Mt,onBreakpoint:Pn}=Ie,mn=se(Ie,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:kt}=(0,Oe.useContext)(ce.Gs),[_t,ln]=(0,Oe.useState)("collapsed"in Ie?Ie.collapsed:Nt),[Bn,wn]=(0,Oe.useState)(!1);(0,Oe.useEffect)(()=>{"collapsed"in Ie&&ln(Ie.collapsed)},[Ie.collapsed]);const Kn=(tn,$t)=>{"collapsed"in Ie||ln(tn),Mt==null||Mt(tn,$t)},yt=(0,Oe.useRef)();yt.current=tn=>{wn(tn.matches),Pn==null||Pn(tn.matches),_t!==tn.matches&&Kn(tn.matches,"responsive")},(0,Oe.useEffect)(()=>{function tn(ft){return yt.current(ft)}let $t;if(typeof window!="undefined"){const{matchMedia:ft}=window;if(ft&&Re&&Re in ge){$t=ft(`(max-width: ${ge[Re]})`);try{$t.addEventListener("change",tn)}catch(Je){$t.addListener(tn)}tn($t)}}return()=>{try{$t==null||$t.removeEventListener("change",tn)}catch(ft){$t==null||$t.removeListener(tn)}}},[Re]),(0,Oe.useEffect)(()=>{const tn=be("ant-sider-");return kt.addSider(tn),()=>kt.removeSider(tn)},[]);const Jn=()=>{Kn(!_t,"clickTrigger")},{getPrefixCls:bn}=(0,Oe.useContext)(ne.E_),ci=()=>{const tn=bn("layout-sider",Ke),$t=(0,wt.Z)(mn,["collapsed"]),ft=_t?Qt:Ot,Je=te(ft)?`${ft}px`:String(ft),Gt=parseFloat(String(Qt||0))===0?Oe.createElement("span",{onClick:Jn,className:ct()(`${tn}-zero-width-trigger`,`${tn}-zero-width-trigger-${Yt?"right":"left"}`),style:dt},ht||Oe.createElement(Tt,null)):null,Ge={expanded:Yt?Oe.createElement(et.Z,null):Oe.createElement(Lt.Z,null),collapsed:Yt?Oe.createElement(Lt.Z,null):Oe.createElement(et.Z,null)}[_t?"collapsed":"expanded"],Be=ht!==null?Gt||Oe.createElement("div",{className:`${tn}-trigger`,onClick:Jn,style:{width:Je}},ht||Ge):null,we=Object.assign(Object.assign({},Ht),{flex:`0 0 ${Je}`,maxWidth:Je,minWidth:Je,width:Je}),pe=ct()(tn,`${tn}-${qe}`,{[`${tn}-collapsed`]:!!_t,[`${tn}-has-trigger`]:Zt&&ht!==null&&!Gt,[`${tn}-below`]:!!Bn,[`${tn}-zero-width`]:parseFloat(Je)===0},Xe);return Oe.createElement("aside",Object.assign({className:pe},$t,{style:we,ref:We}),Oe.createElement("div",{className:`${tn}-children`},Ve),Zt||Bn&&Gt?Be:null)},Tn=Oe.useMemo(()=>({siderCollapsed:_t}),[_t]);return Oe.createElement(ve.Provider,{value:Tn},ci())})},84966:function(Rn,Fn,ye){"use strict";ye.d(Fn,{VY:function(){return ve},$_:function(){return ge},h4:function(){return se},Gs:function(){return wt},ZP:function(){return be}});var Se=ye(26390),Oe=ye(92310),He=ye.n(Oe),Rt=ye(64002),_e=ye(59301),vt=ye(36355),ke=ye(83116),Lt=Fe=>{const{componentCls:Pe,bodyBg:Ie,lightSiderBg:We,lightTriggerBg:Ke,lightTriggerColor:Xe}=Fe;return{[`${Pe}-sider-light`]:{background:We,[`${Pe}-sider-trigger`]:{color:Xe,background:Ke},[`${Pe}-sider-zero-width-trigger`]:{color:Xe,background:Ke,border:`1px solid ${Ie}`,borderInlineStart:0}}}};const et=Fe=>{const{antCls:Pe,componentCls:Ie,colorText:We,triggerColor:Ke,footerBg:Xe,triggerBg:ht,headerHeight:Ve,headerPadding:Nt,headerColor:qe,footerPadding:Ht,triggerHeight:Zt,zeroTriggerHeight:Yt,zeroTriggerWidth:Ot,motionDurationMid:Qt,motionDurationSlow:dt,fontSize:Re,borderRadius:Mt,bodyBg:Pn,headerBg:mn,siderBg:kt}=Fe;return{[Ie]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Pn,"&, *":{boxSizing:"border-box"},[`&${Ie}-has-sider`]:{flexDirection:"row",[`> ${Ie}, > ${Ie}-content`]:{width:0}},[`${Ie}-header, &${Ie}-footer`]:{flex:"0 0 auto"},[`${Ie}-sider`]:{position:"relative",minWidth:0,background:kt,transition:`all ${Qt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Pe}-menu${Pe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Zt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Zt,color:Ke,lineHeight:`${Zt}px`,textAlign:"center",background:ht,cursor:"pointer",transition:`all ${Qt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ve,insetInlineEnd:-Ot,zIndex:1,width:Ot,height:Yt,color:Ke,fontSize:Fe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:kt,borderStartStartRadius:0,borderStartEndRadius:Mt,borderEndEndRadius:Mt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${dt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${dt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ot,borderStartStartRadius:Mt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Mt}}}}},Lt(Fe)),{"&-rtl":{direction:"rtl"}}),[`${Ie}-header`]:{height:Ve,padding:Nt,color:qe,lineHeight:`${Ve}px`,background:mn,[`${Pe}-menu`]:{lineHeight:"inherit"}},[`${Ie}-footer`]:{padding:Ht,color:We,fontSize:Re,background:Xe},[`${Ie}-content`]:{flex:"auto",minHeight:0}}};var gt=(0,ke.Z)("Layout",Fe=>[et(Fe)],Fe=>{const{colorBgLayout:Pe,controlHeight:Ie,controlHeightLG:We,colorText:Ke,controlHeightSM:Xe,marginXXS:ht,colorTextLightSolid:Ve,colorBgContainer:Nt}=Fe,qe=We*1.25;return{colorBgHeader:"#001529",colorBgBody:Pe,colorBgTrigger:"#002140",bodyBg:Pe,headerBg:"#001529",headerHeight:Ie*2,headerPadding:`0 ${qe}px`,headerColor:Ke,footerPadding:`${Xe}px ${qe}px`,footerBg:Pe,siderBg:"#001529",triggerHeight:We+ht*2,triggerBg:"#002140",triggerColor:Ve,zeroTriggerWidth:We,zeroTriggerHeight:We,lightSiderBg:Nt,lightTriggerBg:Nt,lightTriggerColor:Ke}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ct=function(Fe,Pe){var Ie={};for(var We in Fe)Object.prototype.hasOwnProperty.call(Fe,We)&&Pe.indexOf(We)<0&&(Ie[We]=Fe[We]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,We=Object.getOwnPropertySymbols(Fe);Kenull,removeSider:()=>null}});function Me(Fe){let{suffixCls:Pe,tagName:Ie,displayName:We}=Fe;return Ke=>_e.forwardRef((ht,Ve)=>_e.createElement(Ke,Object.assign({ref:Ve,suffixCls:Pe,tagName:Ie},ht)))}const te=_e.forwardRef((Fe,Pe)=>{const{prefixCls:Ie,suffixCls:We,className:Ke,tagName:Xe}=Fe,ht=ct(Fe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ve}=_e.useContext(vt.E_),Nt=Ve("layout",Ie),[qe,Ht]=gt(Nt),Zt=We?`${Nt}-${We}`:Nt;return qe(_e.createElement(Xe,Object.assign({className:He()(Ie||Zt,Ke,Ht),ref:Pe},ht)))}),ne=_e.forwardRef((Fe,Pe)=>{const{direction:Ie}=_e.useContext(vt.E_),[We,Ke]=_e.useState([]),{prefixCls:Xe,className:ht,rootClassName:Ve,children:Nt,hasSider:qe,tagName:Ht,style:Zt}=Fe,Yt=ct(Fe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ot=(0,Rt.Z)(Yt,["suffixCls"]),{getPrefixCls:Qt,layout:dt}=_e.useContext(vt.E_),Re=Qt("layout",Xe),[Mt,Pn]=gt(Re),mn=He()(Re,{[`${Re}-has-sider`]:typeof qe=="boolean"?qe:We.length>0,[`${Re}-rtl`]:Ie==="rtl"},dt==null?void 0:dt.className,ht,Ve,Pn),kt=_e.useMemo(()=>({siderHook:{addSider:_t=>{Ke(ln=>[].concat((0,Se.Z)(ln),[_t]))},removeSider:_t=>{Ke(ln=>ln.filter(Bn=>Bn!==_t))}}}),[]);return Mt(_e.createElement(wt.Provider,{value:kt},_e.createElement(Ht,Object.assign({ref:Pe,className:mn,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),Zt)},Ot),Nt)))}),ce=Me({tagName:"div",displayName:"Layout"})(ne),se=Me({suffixCls:"header",tagName:"header",displayName:"Header"})(te),ge=Me({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(te),ve=Me({suffixCls:"content",tagName:"main",displayName:"Content"})(te);var be=ce},40875:function(Rn,Fn,ye){"use strict";ye.d(Fn,{J:function(){return vt}});var Se=ye(59301),Oe=ye(33234),He=ye(80764),Rt=function(ke,Tt){var Lt={};for(var et in ke)Object.prototype.hasOwnProperty.call(ke,et)&&Tt.indexOf(et)<0&&(Lt[et]=ke[et]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,et=Object.getOwnPropertySymbols(ke);gt{const{children:Lt}=ke,et=Rt(ke,["children"]),gt=Se.useContext(_e),ct=Se.useMemo(()=>Object.assign(Object.assign({},gt),et),[gt,et.prefixCls,et.mode,et.selectable]);return Se.createElement(_e.Provider,{value:ct},Se.createElement(Oe.BR,null,(0,He.supportNodeRef)(Lt)?Se.cloneElement(Lt,{ref:Tt}):Lt))});Fn.Z=_e},20834:function(Rn,Fn,ye){"use strict";ye.d(Fn,{default:function(){return Tn}});var Se=ye(22798),Oe=ye(59301),He=ye(99580),Rt=ye(92310),_e=ye.n(Rt),vt=ye(36355),ke=function(tn,$t){var ft={};for(var Je in tn)Object.prototype.hasOwnProperty.call(tn,Je)&&$t.indexOf(Je)<0&&(ft[Je]=tn[Je]);if(tn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Je=Object.getOwnPropertySymbols(tn);Gt{const{prefixCls:$t,className:ft,dashed:Je}=tn,Gt=ke(tn,["prefixCls","className","dashed"]),{getPrefixCls:At}=Oe.useContext(vt.E_),lt=At("menu",$t),Ge=_e()({[`${lt}-item-divider-dashed`]:!!Je},ft);return Oe.createElement(Se.iz,Object.assign({className:Ge},Gt))},et=ye(38298),gt=ye(64002),ct=ye(6848),wt=ye(92343),te=(0,Oe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ce=tn=>{var $t;const{className:ft,children:Je,icon:Gt,title:At,danger:lt}=tn,{prefixCls:Ge,firstLevel:Be,direction:we,disableMenuItemTitleTooltip:pe,inlineCollapsed:De}=Oe.useContext(te),ze=vn=>{const mi=Oe.createElement("span",{className:`${Ge}-title-content`},Je);return(!Gt||(0,wt.l$)(Je)&&Je.type==="span")&&Je&&vn&&Be&&typeof Je=="string"?Oe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Je.charAt(0)):mi},{siderCollapsed:Le}=Oe.useContext(He.D);let nt=At;typeof At=="undefined"?nt=Be?Je:"":At===!1&&(nt="");const Ut={title:nt};!Le&&!De&&(Ut.title=null,Ut.open=!1);const En=(0,et.Z)(Je).length;let rn=Oe.createElement(Se.ck,Object.assign({},(0,gt.Z)(tn,["title","icon","danger"]),{className:_e()({[`${Ge}-item-danger`]:lt,[`${Ge}-item-only-child`]:(Gt?En+1:En)===1},ft),title:typeof At=="string"?At:void 0}),(0,wt.Tm)(Gt,{className:_e()((0,wt.l$)(Gt)?($t=Gt.props)===null||$t===void 0?void 0:$t.className:"",`${Ge}-item-icon`)}),ze(De));return pe||(rn=Oe.createElement(ct.Z,Object.assign({},Ut,{placement:we==="rtl"?"left":"right",overlayClassName:`${Ge}-inline-collapsed-tooltip`}),rn)),rn},ge=tn=>{var $t;const{popupClassName:ft,icon:Je,title:Gt,theme:At}=tn,lt=Oe.useContext(te),{prefixCls:Ge,inlineCollapsed:Be,theme:we}=lt,pe=(0,Se.Xl)();let De;if(!Je)De=Be&&!pe.length&&Gt&&typeof Gt=="string"?Oe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Gt.charAt(0)):Oe.createElement("span",{className:`${Ge}-title-content`},Gt);else{const Le=(0,wt.l$)(Gt)&&Gt.type==="span";De=Oe.createElement(Oe.Fragment,null,(0,wt.Tm)(Je,{className:_e()((0,wt.l$)(Je)?($t=Je.props)===null||$t===void 0?void 0:$t.className:"",`${Ge}-item-icon`)}),Le?Gt:Oe.createElement("span",{className:`${Ge}-title-content`},Gt))}const ze=Oe.useMemo(()=>Object.assign(Object.assign({},lt),{firstLevel:!1}),[lt]);return Oe.createElement(te.Provider,{value:ze},Oe.createElement(Se.Wd,Object.assign({},(0,gt.Z)(tn,["icon"]),{title:De,popupClassName:_e()(Ge,ft,`${Ge}-${At||we}`)})))},ve=ye(19362),be=ye(80764),Fe=ye(62892),Pe=ye(40875),Ie=function(tn,$t){var ft={};for(var Je in tn)Object.prototype.hasOwnProperty.call(tn,Je)&&$t.indexOf(Je)<0&&(ft[Je]=tn[Je]);if(tn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Je=Object.getOwnPropertySymbols(tn);Gt{if($t&&typeof $t=="object"){const Je=$t,{label:Gt,children:At,key:lt,type:Ge}=Je,Be=Ie(Je,["label","children","key","type"]),we=lt!=null?lt:`tmp-${ft}`;return At||Ge==="group"?Ge==="group"?Oe.createElement(Se.BW,Object.assign({key:we},Be,{title:Gt}),We(At)):Oe.createElement(ge,Object.assign({key:we},Be,{title:Gt}),We(At)):Ge==="divider"?Oe.createElement(Lt,Object.assign({key:we},Be)):Oe.createElement(ce,Object.assign({key:we},Be),Gt)}return null}).filter($t=>$t)}function Ke(tn){return Oe.useMemo(()=>tn&&We(tn),[tn])}var Xe=ye(64993),ht=ye(17313),Ve=ye(8378),Nt=ye(13826),qe=ye(29878),Ht=ye(83116),Zt=ye(37613),Ot=tn=>{const{componentCls:$t,motionDurationSlow:ft,horizontalLineHeight:Je,colorSplit:Gt,lineWidth:At,lineType:lt,itemPaddingInline:Ge}=tn;return{[`${$t}-horizontal`]:{lineHeight:Je,border:0,borderBottom:`${At}px ${lt} ${Gt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${$t}-item, ${$t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ge},[`> ${$t}-item:hover, > ${$t}-item-active, > ${$t}-submenu ${$t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${$t}-item, ${$t}-submenu-title`]:{transition:[`border-color ${ft}`,`background ${ft}`].join(",")},[`${$t}-submenu-arrow`]:{display:"none"}}}},dt=tn=>{let{componentCls:$t,menuArrowOffset:ft}=tn;return{[`${$t}-rtl`]:{direction:"rtl"},[`${$t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${$t}-rtl${$t}-vertical, ${$t}-submenu-rtl ${$t}-vertical`]:{[`${$t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ft})`},"&::after":{transform:`rotate(45deg) translateY(${ft})`}}}}};const Re=tn=>Object.assign({},(0,ht.oN)(tn));var Pn=(tn,$t)=>{const{componentCls:ft,itemColor:Je,itemSelectedColor:Gt,groupTitleColor:At,itemBg:lt,subMenuItemBg:Ge,itemSelectedBg:Be,activeBarHeight:we,activeBarWidth:pe,activeBarBorderWidth:De,motionDurationSlow:ze,motionEaseInOut:Le,motionEaseOut:nt,itemPaddingInline:Ut,motionDurationMid:En,itemHoverColor:rn,lineType:vn,colorSplit:mi,itemDisabledColor:wi,dangerItemColor:Ri,dangerItemHoverColor:Wi,dangerItemSelectedColor:Mn,dangerItemActiveBg:nr,dangerItemSelectedBg:Wr,itemHoverBg:Hr,itemActiveBg:Tr,menuSubMenuBg:Fr,horizontalItemSelectedColor:Yr,horizontalItemSelectedBg:Kr,horizontalItemBorderRadius:ar,horizontalItemHoverBg:Co,popupBg:$n}=tn;return{[`${ft}-${$t}, ${ft}-${$t} > ${ft}`]:{color:Je,background:lt,[`&${ft}-root:focus-visible`]:Object.assign({},Re(tn)),[`${ft}-item-group-title`]:{color:At},[`${ft}-submenu-selected`]:{[`> ${ft}-submenu-title`]:{color:Gt}},[`${ft}-item-disabled, ${ft}-submenu-disabled`]:{color:`${wi} !important`},[`${ft}-item:not(${ft}-item-selected):not(${ft}-submenu-selected)`]:{[`&:hover, > ${ft}-submenu-title:hover`]:{color:rn}},[`&:not(${ft}-horizontal)`]:{[`${ft}-item:not(${ft}-item-selected)`]:{"&:hover":{backgroundColor:Hr},"&:active":{backgroundColor:Tr}},[`${ft}-submenu-title`]:{"&:hover":{backgroundColor:Hr},"&:active":{backgroundColor:Tr}}},[`${ft}-item-danger`]:{color:Ri,[`&${ft}-item:hover`]:{[`&:not(${ft}-item-selected):not(${ft}-submenu-selected)`]:{color:Wi}},[`&${ft}-item:active`]:{background:nr}},[`${ft}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ft}-item-selected`]:{color:Gt,[`&${ft}-item-danger`]:{color:Mn},"a, a:hover":{color:"inherit"}},[`& ${ft}-item-selected`]:{backgroundColor:Be,[`&${ft}-item-danger`]:{backgroundColor:Wr}},[`${ft}-item, ${ft}-submenu-title`]:{[`&:not(${ft}-item-disabled):focus-visible`]:Object.assign({},Re(tn))},[`&${ft}-submenu > ${ft}`]:{backgroundColor:Fr},[`&${ft}-popup > ${ft}`]:{backgroundColor:$n},[`&${ft}-horizontal`]:Object.assign(Object.assign({},$t==="dark"?{borderBottom:0}:{}),{[`> ${ft}-item, > ${ft}-submenu`]:{top:De,marginTop:-De,marginBottom:0,borderRadius:ar,"&::after":{position:"absolute",insetInline:Ut,bottom:0,borderBottom:`${we}px solid transparent`,transition:`border-color ${ze} ${Le}`,content:'""'},"&:hover, &-active, &-open":{background:Co,"&::after":{borderBottomWidth:we,borderBottomColor:Yr}},"&-selected":{color:Yr,backgroundColor:Kr,"&:hover":{backgroundColor:Kr},"&::after":{borderBottomWidth:we,borderBottomColor:Yr}}}}),[`&${ft}-root`]:{[`&${ft}-inline, &${ft}-vertical`]:{borderInlineEnd:`${De}px ${vn} ${mi}`}},[`&${ft}-inline`]:{[`${ft}-sub${ft}-inline`]:{background:Ge},[`${ft}-item, ${ft}-submenu-title`]:De&&pe?{width:`calc(100% + ${De}px)`}:{},[`${ft}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${pe}px solid ${Gt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${En} ${nt}`,`opacity ${En} ${nt}`].join(","),content:'""'},[`&${ft}-item-danger`]:{"&::after":{borderInlineEndColor:Mn}}},[`${ft}-selected, ${ft}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${En} ${Le}`,`opacity ${En} ${Le}`].join(",")}}}}}};const mn=tn=>{const{componentCls:$t,itemHeight:ft,itemMarginInline:Je,padding:Gt,menuArrowSize:At,marginXS:lt,itemMarginBlock:Ge}=tn,Be=Gt+At+lt;return{[`${$t}-item`]:{position:"relative",overflow:"hidden"},[`${$t}-item, ${$t}-submenu-title`]:{height:ft,lineHeight:`${ft}px`,paddingInline:Gt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Je,marginBlock:Ge,width:`calc(100% - ${Je*2}px)`},[`> ${$t}-item, > ${$t}-submenu > ${$t}-submenu-title`]:{height:ft,lineHeight:`${ft}px`},[`${$t}-item-group-list ${$t}-submenu-title, ${$t}-submenu-title`]:{paddingInlineEnd:Be}}};var _t=tn=>{const{componentCls:$t,iconCls:ft,itemHeight:Je,colorTextLightSolid:Gt,dropdownWidth:At,controlHeightLG:lt,motionDurationMid:Ge,motionEaseOut:Be,paddingXL:we,itemMarginInline:pe,fontSizeLG:De,motionDurationSlow:ze,paddingXS:Le,boxShadowSecondary:nt,collapsedWidth:Ut,collapsedIconSize:En}=tn,rn={height:Je,lineHeight:`${Je}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[$t]:{"&-inline, &-vertical":Object.assign({[`&${$t}-root`]:{boxShadow:"none"}},mn(tn))},[`${$t}-submenu-popup`]:{[`${$t}-vertical`]:Object.assign(Object.assign({},mn(tn)),{boxShadow:nt})}},{[`${$t}-submenu-popup ${$t}-vertical${$t}-sub`]:{minWidth:At,maxHeight:`calc(100vh - ${lt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${$t}-inline`]:{width:"100%",[`&${$t}-root`]:{[`${$t}-item, ${$t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ze}`,`background ${ze}`,`padding ${Ge} ${Be}`].join(","),[`> ${$t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${$t}-sub${$t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${$t}-submenu > ${$t}-submenu-title`]:rn,[`& ${$t}-item-group-title`]:{paddingInlineStart:we}},[`${$t}-item`]:rn}},{[`${$t}-inline-collapsed`]:{width:Ut,[`&${$t}-root`]:{[`${$t}-item, ${$t}-submenu ${$t}-submenu-title`]:{[`> ${$t}-inline-collapsed-noicon`]:{fontSize:De,textAlign:"center"}}},[`> ${$t}-item, > ${$t}-item-group > ${$t}-item-group-list > ${$t}-item, > ${$t}-item-group > ${$t}-item-group-list > ${$t}-submenu > ${$t}-submenu-title, > ${$t}-submenu > ${$t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${De/2}px - ${pe}px)`,textOverflow:"clip",[` ${$t}-submenu-arrow, ${$t}-submenu-expand-icon `]:{opacity:0},[`${$t}-item-icon, ${ft}`]:{margin:0,fontSize:En,lineHeight:`${Je}px`,"+ span":{display:"inline-block",opacity:0}}},[`${$t}-item-icon, ${ft}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${$t}-item-icon, ${ft}`]:{display:"none"},"a, a:hover":{color:Gt}},[`${$t}-item-group-title`]:Object.assign(Object.assign({},ht.vS),{paddingInline:Le})}}]};const ln=tn=>{const{componentCls:$t,motionDurationSlow:ft,motionDurationMid:Je,motionEaseInOut:Gt,motionEaseOut:At,iconCls:lt,iconSize:Ge,iconMarginInlineEnd:Be}=tn;return{[`${$t}-item, ${$t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ft}`,`background ${ft}`,`padding ${ft} ${Gt}`].join(","),[`${$t}-item-icon, ${lt}`]:{minWidth:Ge,fontSize:Ge,transition:[`font-size ${Je} ${At}`,`margin ${ft} ${Gt}`,`color ${ft}`].join(","),"+ span":{marginInlineStart:Be,opacity:1,transition:[`opacity ${ft} ${Gt}`,`margin ${ft}`,`color ${ft}`].join(",")}},[`${$t}-item-icon`]:Object.assign({},(0,ht.Ro)()),[`&${$t}-item-only-child`]:{[`> ${lt}, > ${$t}-item-icon`]:{marginInlineEnd:0}}},[`${$t}-item-disabled, ${$t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${$t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Bn=tn=>{const{componentCls:$t,motionDurationSlow:ft,motionEaseInOut:Je,borderRadius:Gt,menuArrowSize:At,menuArrowOffset:lt}=tn;return{[`${$t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:tn.margin,width:At,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ft} ${Je}, opacity ${ft}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:At*.6,height:At*.15,backgroundColor:"currentcolor",borderRadius:Gt,transition:[`background ${ft} ${Je}`,`transform ${ft} ${Je}`,`top ${ft} ${Je}`,`color ${ft} ${Je}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${lt})`},"&::after":{transform:`rotate(-45deg) translateY(${lt})`}}}}},wn=tn=>{const{antCls:$t,componentCls:ft,fontSize:Je,motionDurationSlow:Gt,motionDurationMid:At,motionEaseInOut:lt,paddingXS:Ge,padding:Be,colorSplit:we,lineWidth:pe,zIndexPopup:De,borderRadiusLG:ze,subMenuItemBorderRadius:Le,menuArrowSize:nt,menuArrowOffset:Ut,lineType:En,menuPanelMaskInset:rn,groupTitleLineHeight:vn,groupTitleFontSize:mi}=tn;return[{"":{[`${ft}`]:Object.assign(Object.assign({},(0,ht.dF)()),{"&-hidden":{display:"none"}})},[`${ft}-submenu-hidden`]:{display:"none"}},{[ft]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ht.Wf)(tn)),(0,ht.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Je,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Gt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ft}-item`]:{flex:"none"}},[`${ft}-item, ${ft}-submenu, ${ft}-submenu-title`]:{borderRadius:tn.itemBorderRadius},[`${ft}-item-group-title`]:{padding:`${Ge}px ${Be}px`,fontSize:mi,lineHeight:vn,transition:`all ${Gt}`},[`&-horizontal ${ft}-submenu`]:{transition:[`border-color ${Gt} ${lt}`,`background ${Gt} ${lt}`].join(",")},[`${ft}-submenu, ${ft}-submenu-inline`]:{transition:[`border-color ${Gt} ${lt}`,`background ${Gt} ${lt}`,`padding ${At} ${lt}`].join(",")},[`${ft}-submenu ${ft}-sub`]:{cursor:"initial",transition:[`background ${Gt} ${lt}`,`padding ${Gt} ${lt}`].join(",")},[`${ft}-title-content`]:{transition:`color ${Gt}`},[`${ft}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ft}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:we,borderStyle:En,borderWidth:0,borderTopWidth:pe,marginBlock:pe,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ln(tn)),{[`${ft}-item-group`]:{[`${ft}-item-group-list`]:{margin:0,padding:0,[`${ft}-item, ${ft}-submenu-title`]:{paddingInline:`${Je*2}px ${Be}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:De,borderRadius:ze,boxShadow:"none",transformOrigin:"0 0",[`&${ft}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${rn}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:rn},"\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:tn.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:tn.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:tn.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:tn.paddingXS},[`> ${ft}`]:Object.assign(Object.assign(Object.assign({borderRadius:ze},ln(tn)),Bn(tn)),{[`${ft}-item, ${ft}-submenu > ${ft}-submenu-title`]:{borderRadius:Le},[`${ft}-submenu-title::after`]:{transition:`transform ${Gt} ${lt}`}})}}),Bn(tn)),{[`&-inline-collapsed ${ft}-submenu-arrow, &-inline ${ft}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ut})`},"&::after":{transform:`rotate(45deg) translateX(-${Ut})`}},[`${ft}-submenu-open${ft}-submenu-inline > ${ft}-submenu-title > ${ft}-submenu-arrow`]:{transform:`translateY(-${nt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ut})`},"&::before":{transform:`rotate(45deg) translateX(${Ut})`}}})},{[`${$t}-layout-header`]:{[ft]:{lineHeight:"inherit"}}}]};var Kn=(tn,$t)=>(0,Ht.Z)("Menu",Je=>{if($t===!1)return[];const{colorBgElevated:Gt,colorPrimary:At,colorTextLightSolid:lt,controlHeightLG:Ge,fontSize:Be,darkItemColor:we,darkDangerItemColor:pe,darkItemBg:De,darkSubMenuItemBg:ze,darkItemSelectedColor:Le,darkItemSelectedBg:nt,darkDangerItemSelectedBg:Ut,darkItemHoverBg:En,darkGroupTitleColor:rn,darkItemHoverColor:vn,darkItemDisabledColor:mi,darkDangerItemHoverColor:wi,darkDangerItemSelectedColor:Ri,darkDangerItemActiveBg:Wi}=Je,Mn=Be/7*5,nr=(0,Zt.TS)(Je,{menuArrowSize:Mn,menuHorizontalHeight:Ge*1.15,menuArrowOffset:`${Mn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Gt}),Wr=(0,Zt.TS)(nr,{itemColor:we,itemHoverColor:vn,groupTitleColor:rn,itemSelectedColor:Le,itemBg:De,popupBg:De,subMenuItemBg:ze,itemActiveBg:"transparent",itemSelectedBg:nt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:En,itemDisabledColor:mi,dangerItemColor:pe,dangerItemHoverColor:wi,dangerItemSelectedColor:Ri,dangerItemActiveBg:Wi,dangerItemSelectedBg:Ut,menuSubMenuBg:ze,horizontalItemSelectedColor:lt,horizontalItemSelectedBg:At});return[wn(nr),Ot(nr),_t(nr),Pn(nr,"light"),Pn(Wr,"dark"),dt(nr),(0,Ve.Z)(nr),(0,Nt.oN)(nr,"slide-up"),(0,Nt.oN)(nr,"slide-down"),(0,qe._y)(nr,"zoom-big")]},Je=>{const{colorPrimary:Gt,colorError:At,colorTextDisabled:lt,colorErrorBg:Ge,colorText:Be,colorTextDescription:we,colorBgContainer:pe,colorFillAlter:De,colorFillContent:ze,lineWidth:Le,lineWidthBold:nt,controlItemBgActive:Ut,colorBgTextHover:En,controlHeightLG:rn,lineHeight:vn,colorBgElevated:mi,marginXXS:wi,padding:Ri,fontSize:Wi,controlHeightSM:Mn,fontSizeLG:nr,colorTextLightSolid:Wr,colorErrorHover:Hr}=Je,Tr=new Xe.C(Wr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Je.zIndexPopupBase+50,radiusItem:Je.borderRadiusLG,itemBorderRadius:Je.borderRadiusLG,radiusSubMenuItem:Je.borderRadiusSM,subMenuItemBorderRadius:Je.borderRadiusSM,colorItemText:Be,itemColor:Be,colorItemTextHover:Be,itemHoverColor:Be,colorItemTextHoverHorizontal:Gt,horizontalItemHoverColor:Gt,colorGroupTitle:we,groupTitleColor:we,colorItemTextSelected:Gt,itemSelectedColor:Gt,colorItemTextSelectedHorizontal:Gt,horizontalItemSelectedColor:Gt,colorItemBg:pe,itemBg:pe,colorItemBgHover:En,itemHoverBg:En,colorItemBgActive:ze,itemActiveBg:Ut,colorSubItemBg:De,subMenuItemBg:De,colorItemBgSelected:Ut,itemSelectedBg:Ut,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:nt,activeBarHeight:nt,colorActiveBarBorderSize:Le,activeBarBorderWidth:Le,colorItemTextDisabled:lt,itemDisabledColor:lt,colorDangerItemText:At,dangerItemColor:At,colorDangerItemTextHover:At,dangerItemHoverColor:At,colorDangerItemTextSelected:At,dangerItemSelectedColor:At,colorDangerItemBgActive:Ge,dangerItemActiveBg:Ge,colorDangerItemBgSelected:Ge,dangerItemSelectedBg:Ge,itemMarginInline:Je.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:rn,groupTitleLineHeight:vn,collapsedWidth:rn*2,popupBg:mi,itemMarginBlock:wi,itemPaddingInline:Ri,horizontalLineHeight:`${rn*1.15}px`,iconSize:Wi,iconMarginInlineEnd:Mn-Wi,collapsedIconSize:nr,groupTitleFontSize:Wi,darkItemDisabledColor:new Xe.C(Wr).setAlpha(.25).toRgbString(),darkItemColor:Tr,darkDangerItemColor:At,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Wr,darkItemSelectedBg:Gt,darkDangerItemSelectedBg:At,darkItemHoverBg:"transparent",darkGroupTitleColor:Tr,darkItemHoverColor:Wr,darkDangerItemHoverColor:Hr,darkDangerItemSelectedColor:Wr,darkDangerItemActiveBg:At}},{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"]]})(tn),yt=function(tn,$t){var ft={};for(var Je in tn)Object.prototype.hasOwnProperty.call(tn,Je)&&$t.indexOf(Je)<0&&(ft[Je]=tn[Je]);if(tn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Je=Object.getOwnPropertySymbols(tn);Gt{var ft,Je;const Gt=Oe.useContext(Pe.Z),At=Gt||{},{getPrefixCls:lt,getPopupContainer:Ge,direction:Be,menu:we}=Oe.useContext(vt.E_),pe=lt(),{prefixCls:De,className:ze,style:Le,theme:nt="light",expandIcon:Ut,_internalDisableMenuItemTitleTooltip:En,inlineCollapsed:rn,siderCollapsed:vn,items:mi,children:wi,rootClassName:Ri,mode:Wi,selectable:Mn,onClick:nr,overflowedIndicatorPopupClassName:Wr}=tn,Hr=yt(tn,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Tr=(0,gt.Z)(Hr,["collapsedWidth"]),Fr=Ke(mi)||wi;(ft=At.validator)===null||ft===void 0||ft.call(At,{mode:Wi});const Yr=(0,be.useEvent)(function(){var fn;nr==null||nr.apply(void 0,arguments),(fn=At.onClick)===null||fn===void 0||fn.call(At)}),Kr=At.mode||Wi,ar=Mn!=null?Mn:At.selectable,Co=Oe.useMemo(()=>vn!==void 0?vn:rn,[rn,vn]),$n={horizontal:{motionName:`${pe}-slide-up`},inline:(0,Fe.Z)(pe),other:{motionName:`${pe}-zoom-big`}},Ce=lt("menu",De||At.prefixCls),[hi,ki]=Kn(Ce,!Gt),un=_e()(`${Ce}-${nt}`,we==null?void 0:we.className,ze);let Wn;if(typeof Ut=="function")Wn=Ut;else if(Ut===null||Ut===!1)Wn=null;else if(At.expandIcon===null||At.expandIcon===!1)Wn=null;else{const fn=Ut!=null?Ut:At.expandIcon;Wn=(0,wt.Tm)(fn,{className:_e()(`${Ce}-submenu-expand-icon`,(0,wt.l$)(fn)?(Je=fn.props)===null||Je===void 0?void 0:Je.className:"")})}const li=Oe.useMemo(()=>({prefixCls:Ce,inlineCollapsed:Co||!1,direction:Be,firstLevel:!0,theme:nt,mode:Kr,disableMenuItemTitleTooltip:En}),[Ce,Co,Be,En,nt]);return hi(Oe.createElement(Pe.Z.Provider,{value:null},Oe.createElement(te.Provider,{value:li},Oe.createElement(Se.ZP,Object.assign({getPopupContainer:Ge,overflowedIndicator:Oe.createElement(ve.Z,null),overflowedIndicatorPopupClassName:_e()(Ce,`${Ce}-${nt}`,Wr),mode:Kr,selectable:ar,onClick:Yr},Tr,{inlineCollapsed:Co,style:Object.assign(Object.assign({},we==null?void 0:we.style),Le),className:un,prefixCls:Ce,direction:Be,defaultMotions:$n,expandIcon:Wn,ref:$t,rootClassName:_e()(Ri,ki)}),Fr))))});const ci=(0,Oe.forwardRef)((tn,$t)=>{const ft=(0,Oe.useRef)(null),Je=Oe.useContext(He.D);return(0,Oe.useImperativeHandle)($t,()=>({menu:ft.current,focus:Gt=>{var At;(At=ft.current)===null||At===void 0||At.focus(Gt)}})),Oe.createElement(bn,Object.assign({ref:ft},tn,Je))});ci.Item=ce,ci.SubMenu=ge,ci.Divider=Lt,ci.ItemGroup=Se.BW;var Tn=ci},25700:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return At}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Rt=He,_e=ye(88853),vt=function(Ge,Be){return Oe.createElement(_e.Z,(0,Se.Z)({},Ge,{ref:Be,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke,Lt=ye(93343),et=ye(16537),gt=ye(53878),ct=ye(92310),wt=ye.n(ct),Me=ye(80962),te=ye(57259),ne=ye(79545),ce=ye(68550),se=ye(17928),ge=ye(7711),ve=ye(36994),be={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Fe=be,Pe=ye(91735),Ie=function(lt){(0,se.Z)(Be,lt);var Ge=(0,ge.Z)(Be);function Be(){var we;(0,ne.Z)(this,Be);for(var pe=arguments.length,De=new Array(pe),ze=0;ze=0||Le.relatedTarget.className.indexOf("".concat(rn,"-item"))>=0))&&En(we.getValidValue()))},we.go=function(Le){var nt=we.state.goInputText;nt!==""&&(Le.keyCode===Fe.ENTER||Le.type==="click")&&(we.setState({goInputText:""}),we.props.quickGo(we.getValidValue()))},we}return(0,ce.Z)(Be,[{key:"getPageSizeOptions",value:function(){var pe=this.props,De=pe.pageSize,ze=pe.pageSizeOptions;return ze.some(function(Le){return Le.toString()===De.toString()})?ze:ze.concat([De.toString()]).sort(function(Le,nt){var Ut=Number.isNaN(Number(Le))?0:Number(Le),En=Number.isNaN(Number(nt))?0:Number(nt);return Ut-En})}},{key:"render",value:function(){var pe=this,De=this.props,ze=De.pageSize,Le=De.locale,nt=De.rootPrefixCls,Ut=De.changeSize,En=De.quickGo,rn=De.goButton,vn=De.selectComponentClass,mi=De.buildOptionText,wi=De.selectPrefixCls,Ri=De.disabled,Wi=this.state.goInputText,Mn="".concat(nt,"-options"),nr=vn,Wr=null,Hr=null,Tr=null;if(!Ut&&!En)return null;var Fr=this.getPageSizeOptions();if(Ut&&nr){var Yr=Fr.map(function(Kr,ar){return Oe.createElement(nr.Option,{key:ar,value:Kr.toString()},(mi||pe.buildOptionText)(Kr))});Wr=Oe.createElement(nr,{disabled:Ri,prefixCls:wi,showSearch:!1,className:"".concat(Mn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ze||Fr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ar){return ar.parentNode},"aria-label":Le.page_size,defaultOpen:!1},Yr)}return En&&(rn&&(Tr=typeof rn=="boolean"?Oe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ri,className:"".concat(Mn,"-quick-jumper-button")},Le.jump_to_confirm):Oe.createElement("span",{onClick:this.go,onKeyUp:this.go},rn)),Hr=Oe.createElement("div",{className:"".concat(Mn,"-quick-jumper")},Le.jump_to,Oe.createElement("input",{disabled:Ri,type:"text",value:Wi,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Le.page}),Le.page,Tr)),Oe.createElement("li",{className:"".concat(Mn)},Wr,Hr)}}]),Be}(Oe.Component);Ie.defaultProps={pageSizeOptions:["10","20","50","100"]};var We=Ie,Ke=function(Ge){var Be,we=Ge.rootPrefixCls,pe=Ge.page,De=Ge.active,ze=Ge.className,Le=Ge.showTitle,nt=Ge.onClick,Ut=Ge.onKeyPress,En=Ge.itemRender,rn="".concat(we,"-item"),vn=wt()(rn,"".concat(rn,"-").concat(pe),(Be={},(0,Me.Z)(Be,"".concat(rn,"-active"),De),(0,Me.Z)(Be,"".concat(rn,"-disabled"),!pe),(0,Me.Z)(Be,Ge.className,ze),Be)),mi=function(){nt(pe)},wi=function(Mn){Ut(Mn,nt,pe)},Ri=En(pe,"page",Oe.createElement("a",{rel:"nofollow"},pe));return Ri?Oe.createElement("li",{title:Le?pe.toString():null,className:vn,onClick:mi,onKeyPress:wi,tabIndex:0},Ri):null},Xe=Ke;function ht(){}function Ve(lt){var Ge=Number(lt);return typeof Ge=="number"&&!Number.isNaN(Ge)&&isFinite(Ge)&&Math.floor(Ge)===Ge}var Nt=function(Ge,Be,we){return we};function qe(lt,Ge,Be){var we=typeof lt=="undefined"?Ge.pageSize:lt;return Math.floor((Be.total-1)/we)+1}var Ht=function(lt){(0,se.Z)(Be,lt);var Ge=(0,ge.Z)(Be);function Be(we){var pe;(0,ne.Z)(this,Be),pe=Ge.call(this,we),pe.paginationNode=Oe.createRef(),pe.getJumpPrevPage=function(){return Math.max(1,pe.state.current-(pe.props.showLessItems?3:5))},pe.getJumpNextPage=function(){return Math.min(qe(void 0,pe.state,pe.props),pe.state.current+(pe.props.showLessItems?3:5))},pe.getItemIcon=function(Ut,En){var rn=pe.props.prefixCls,vn=Ut||Oe.createElement("button",{type:"button","aria-label":En,className:"".concat(rn,"-item-link")});return typeof Ut=="function"&&(vn=Oe.createElement(Ut,(0,te.Z)({},pe.props))),vn},pe.isValid=function(Ut){var En=pe.props.total;return Ve(Ut)&&Ut!==pe.state.current&&Ve(En)&&En>0},pe.shouldDisplayQuickJumper=function(){var Ut=pe.props,En=Ut.showQuickJumper,rn=Ut.total,vn=pe.state.pageSize;return rn<=vn?!1:En},pe.handleKeyDown=function(Ut){(Ut.keyCode===Fe.ARROW_UP||Ut.keyCode===Fe.ARROW_DOWN)&&Ut.preventDefault()},pe.handleKeyUp=function(Ut){var En=pe.getValidValue(Ut),rn=pe.state.currentInputValue;En!==rn&&pe.setState({currentInputValue:En}),Ut.keyCode===Fe.ENTER?pe.handleChange(En):Ut.keyCode===Fe.ARROW_UP?pe.handleChange(En-1):Ut.keyCode===Fe.ARROW_DOWN&&pe.handleChange(En+1)},pe.handleBlur=function(Ut){var En=pe.getValidValue(Ut);pe.handleChange(En)},pe.changePageSize=function(Ut){var En=pe.state.current,rn=qe(Ut,pe.state,pe.props);En=En>rn?rn:En,rn===0&&(En=pe.state.current),typeof Ut=="number"&&("pageSize"in pe.props||pe.setState({pageSize:Ut}),"current"in pe.props||pe.setState({current:En,currentInputValue:En})),pe.props.onShowSizeChange(En,Ut),"onChange"in pe.props&&pe.props.onChange&&pe.props.onChange(En,Ut)},pe.handleChange=function(Ut){var En=pe.props,rn=En.disabled,vn=En.onChange,mi=pe.state,wi=mi.pageSize,Ri=mi.current,Wi=mi.currentInputValue;if(pe.isValid(Ut)&&!rn){var Mn=qe(void 0,pe.state,pe.props),nr=Ut;return Ut>Mn?nr=Mn:Ut<1&&(nr=1),"current"in pe.props||pe.setState({current:nr}),nr!==Wi&&pe.setState({currentInputValue:nr}),vn(nr,wi),nr}return Ri},pe.prev=function(){pe.hasPrev()&&pe.handleChange(pe.state.current-1)},pe.next=function(){pe.hasNext()&&pe.handleChange(pe.state.current+1)},pe.jumpPrev=function(){pe.handleChange(pe.getJumpPrevPage())},pe.jumpNext=function(){pe.handleChange(pe.getJumpNextPage())},pe.hasPrev=function(){return pe.state.current>1},pe.hasNext=function(){return pe.state.current2?rn-2:0),mi=2;mi=ze?nt=ze:nt=Number(De),nt}},{key:"getShowSizeChanger",value:function(){var pe=this.props,De=pe.showSizeChanger,ze=pe.total,Le=pe.totalBoundaryShowSizeChanger;return typeof De!="undefined"?De:ze>Le}},{key:"render",value:function(){var pe=this.props,De=pe.prefixCls,ze=pe.className,Le=pe.style,nt=pe.disabled,Ut=pe.hideOnSinglePage,En=pe.total,rn=pe.locale,vn=pe.showQuickJumper,mi=pe.showLessItems,wi=pe.showTitle,Ri=pe.showTotal,Wi=pe.simple,Mn=pe.itemRender,nr=pe.showPrevNextJumpers,Wr=pe.jumpPrevIcon,Hr=pe.jumpNextIcon,Tr=pe.selectComponentClass,Fr=pe.selectPrefixCls,Yr=pe.pageSizeOptions,Kr=this.state,ar=Kr.current,Co=Kr.pageSize,$n=Kr.currentInputValue;if(Ut===!0&&En<=Co)return null;var Ce=qe(void 0,this.state,this.props),hi=[],ki=null,un=null,Wn=null,li=null,fn=null,on=vn&&vn.goButton,mt=mi?1:2,Pt=ar-1>0?ar-1:0,bt=ar+1En?En:ar*Co]));if(Wi){on&&(typeof on=="boolean"?fn=Oe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},rn.jump_to_confirm):fn=Oe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},on),fn=Oe.createElement("li",{title:wi?"".concat(rn.jump_to).concat(ar,"/").concat(Ce):null,className:"".concat(De,"-simple-pager")},fn));var dn=this.renderPrev(Pt);return Oe.createElement("ul",(0,Se.Z)({className:wt()(De,"".concat(De,"-simple"),(0,Me.Z)({},"".concat(De,"-disabled"),nt),ze),style:Le,ref:this.paginationNode},tt),qt,dn?Oe.createElement("li",{title:wi?rn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:wt()("".concat(De,"-prev"),(0,Me.Z)({},"".concat(De,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},dn):null,Oe.createElement("li",{title:wi?"".concat(ar,"/").concat(Ce):null,className:"".concat(De,"-simple-pager")},Oe.createElement("input",{type:"text",value:$n,disabled:nt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Oe.createElement("span",{className:"".concat(De,"-slash")},"/"),Ce),Oe.createElement("li",{title:wi?rn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:wt()("".concat(De,"-next"),(0,Me.Z)({},"".concat(De,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(bt)),fn)}if(Ce<=3+mt*2){var xt={locale:rn,rootPrefixCls:De,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:wi,itemRender:Mn};Ce||hi.push(Oe.createElement(Xe,(0,Se.Z)({},xt,{key:"noPager",page:1,className:"".concat(De,"-item-disabled")})));for(var Ye=1;Ye<=Ce;Ye+=1){var an=ar===Ye;hi.push(Oe.createElement(Xe,(0,Se.Z)({},xt,{key:Ye,page:Ye,active:an})))}}else{var Bt=mi?rn.prev_3:rn.prev_5,jn=mi?rn.next_3:rn.next_5,cn=Mn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Wr,"prev page")),Et=Mn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Hr,"next page"));nr&&(ki=cn?Oe.createElement("li",{title:wi?Bt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:wt()("".concat(De,"-jump-prev"),(0,Me.Z)({},"".concat(De,"-jump-prev-custom-icon"),!!Wr))},cn):null,un=Et?Oe.createElement("li",{title:wi?jn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:wt()("".concat(De,"-jump-next"),(0,Me.Z)({},"".concat(De,"-jump-next-custom-icon"),!!Hr))},Et):null),li=Oe.createElement(Xe,{locale:rn,last:!0,rootPrefixCls:De,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ce,page:Ce,active:!1,showTitle:wi,itemRender:Mn}),Wn=Oe.createElement(Xe,{locale:rn,rootPrefixCls:De,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:wi,itemRender:Mn});var xn=Math.max(1,ar-mt),Qn=Math.min(ar+mt,Ce);ar-1<=mt&&(Qn=1+mt*2),Ce-ar<=mt&&(xn=Ce-mt*2);for(var Un=xn;Un<=Qn;Un+=1){var zt=ar===Un;hi.push(Oe.createElement(Xe,{locale:rn,rootPrefixCls:De,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Un,page:Un,active:zt,showTitle:wi,itemRender:Mn}))}ar-1>=mt*2&&ar!==3&&(hi[0]=(0,Oe.cloneElement)(hi[0],{className:"".concat(De,"-item-after-jump-prev")}),hi.unshift(ki)),Ce-ar>=mt*2&&ar!==Ce-2&&(hi[hi.length-1]=(0,Oe.cloneElement)(hi[hi.length-1],{className:"".concat(De,"-item-before-jump-next")}),hi.push(un)),xn!==1&&hi.unshift(Wn),Qn!==Ce&&hi.push(li)}var Sn=!this.hasPrev()||!Ce,Ci=!this.hasNext()||!Ce,Si=this.renderPrev(Pt),vi=this.renderNext(bt);return Oe.createElement("ul",(0,Se.Z)({className:wt()(De,ze,(0,Me.Z)({},"".concat(De,"-disabled"),nt)),style:Le,ref:this.paginationNode},tt),qt,Si?Oe.createElement("li",{title:wi?rn.prev_page:null,onClick:this.prev,tabIndex:Sn?null:0,onKeyPress:this.runIfEnterPrev,className:wt()("".concat(De,"-prev"),(0,Me.Z)({},"".concat(De,"-disabled"),Sn)),"aria-disabled":Sn},Si):null,hi,vi?Oe.createElement("li",{title:wi?rn.next_page:null,onClick:this.next,tabIndex:Ci?null:0,onKeyPress:this.runIfEnterNext,className:wt()("".concat(De,"-next"),(0,Me.Z)({},"".concat(De,"-disabled"),Ci)),"aria-disabled":Ci},vi):null,Oe.createElement(We,{disabled:nt,locale:rn,rootPrefixCls:De,selectComponentClass:Tr,selectPrefixCls:Fr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ar,pageSize:Co,pageSizeOptions:Yr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:on}))}}],[{key:"getDerivedStateFromProps",value:function(pe,De){var ze={};if("current"in pe&&(ze.current=pe.current,pe.current!==De.current&&(ze.currentInputValue=ze.current)),"pageSize"in pe&&pe.pageSize!==De.pageSize){var Le=De.current,nt=qe(pe.pageSize,De,pe);Le=Le>nt?nt:Le,"current"in pe||(ze.current=Le,ze.currentInputValue=Le),ze.pageSize=pe.pageSize}return ze}}]),Be}(Oe.Component);Ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ht,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ht,locale:Pe.Z,style:{},itemRender:Nt,totalBoundaryShowSizeChanger:50};var Zt=Ht,Yt=ye(22075),Ot=ye(36355),Qt=ye(19716),dt=ye(8628),Re=ye(9763),Mt=ye(57809);const Pn=lt=>Oe.createElement(Mt.default,Object.assign({},lt,{showSearch:!0,size:"small"})),mn=lt=>Oe.createElement(Mt.default,Object.assign({},lt,{showSearch:!0,size:"middle"}));Pn.Option=Mt.default.Option,mn.Option=Mt.default.Option;var kt=ye(9937),_t=ye(17313),ln=ye(83116),Bn=ye(37613);const wn=lt=>{const{componentCls:Ge}=lt;return{[`${Ge}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ge}-item-link`]:{color:lt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ge}-item-link`]:{color:lt.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ge}-disabled`]:{cursor:"not-allowed",[`${Ge}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:lt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:lt.colorBorder,backgroundColor:lt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:lt.itemActiveBgDisabled},a:{color:lt.itemActiveColorDisabled}}},[`${Ge}-item-link`]:{color:lt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ge}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ge}-simple-pager`]:{color:lt.colorTextDisabled},[`${Ge}-jump-prev, ${Ge}-jump-next`]:{[`${Ge}-item-link-icon`]:{opacity:0},[`${Ge}-item-ellipsis`]:{opacity:1}}},[`&${Ge}-simple`]:{[`${Ge}-prev, ${Ge}-next`]:{[`&${Ge}-disabled ${Ge}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Kn=lt=>{const{componentCls:Ge}=lt;return{[`&${Ge}-mini ${Ge}-total-text, &${Ge}-mini ${Ge}-simple-pager`]:{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`},[`&${Ge}-mini ${Ge}-item`]:{minWidth:lt.itemSizeSM,height:lt.itemSizeSM,margin:0,lineHeight:`${lt.itemSizeSM-2}px`},[`&${Ge}-mini:not(${Ge}-disabled) ${Ge}-item:not(${Ge}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:lt.colorBgTextHover},"&:active":{backgroundColor:lt.colorBgTextActive}},[`&${Ge}-mini ${Ge}-prev, &${Ge}-mini ${Ge}-next`]:{minWidth:lt.itemSizeSM,height:lt.itemSizeSM,margin:0,lineHeight:`${lt.itemSizeSM}px`},[`&${Ge}-mini:not(${Ge}-disabled)`]:{[`${Ge}-prev, ${Ge}-next`]:{[`&:hover ${Ge}-item-link`]:{backgroundColor:lt.colorBgTextHover},[`&:active ${Ge}-item-link`]:{backgroundColor:lt.colorBgTextActive},[`&${Ge}-disabled:hover ${Ge}-item-link`]:{backgroundColor:"transparent"}}},[` &${Ge}-mini ${Ge}-prev ${Ge}-item-link, &${Ge}-mini ${Ge}-next ${Ge}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`}},[`&${Ge}-mini ${Ge}-jump-prev, &${Ge}-mini ${Ge}-jump-next`]:{height:lt.itemSizeSM,marginInlineEnd:0,lineHeight:`${lt.itemSizeSM}px`},[`&${Ge}-mini ${Ge}-options`]:{marginInlineStart:lt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:lt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,kt.x0)(lt)),{width:lt.paginationMiniQuickJumperInputWidth,height:lt.controlHeightSM})}}}},yt=lt=>{const{componentCls:Ge}=lt;return{[` &${Ge}-simple ${Ge}-prev, &${Ge}-simple ${Ge}-next `]:{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`,verticalAlign:"top",[`${Ge}-item-link`]:{height:lt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:lt.colorBgTextHover},"&:active":{backgroundColor:lt.colorBgTextActive},"&::after":{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`}}},[`&${Ge}-simple ${Ge}-simple-pager`]:{display:"inline-block",height:lt.itemSizeSM,marginInlineEnd:lt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:lt.marginXS,padding:`0 ${lt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:lt.itemInputBg,border:`${lt.lineWidth}px ${lt.lineType} ${lt.colorBorder}`,borderRadius:lt.borderRadius,outline:"none",transition:`border-color ${lt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:lt.colorPrimary},"&:focus":{borderColor:lt.colorPrimaryHover,boxShadow:`${lt.inputOutlineOffset}px 0 ${lt.controlOutlineWidth}px ${lt.controlOutline}`},"&[disabled]":{color:lt.colorTextDisabled,backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,cursor:"not-allowed"}}}}},Jn=lt=>{const{componentCls:Ge}=lt;return{[`${Ge}-jump-prev, ${Ge}-jump-next`]:{outline:0,[`${Ge}-item-container`]:{position:"relative",[`${Ge}-item-link-icon`]:{color:lt.colorPrimary,fontSize:lt.fontSizeSM,opacity:0,transition:`all ${lt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ge}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:lt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:lt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:lt.paginationEllipsisTextIndent,opacity:1,transition:`all ${lt.motionDurationMid}`}},"&:hover":{[`${Ge}-item-link-icon`]:{opacity:1},[`${Ge}-item-ellipsis`]:{opacity:0}}},[` ${Ge}-prev, ${Ge}-jump-prev, ${Ge}-jump-next `]:{marginInlineEnd:lt.marginXS},[` ${Ge}-prev, ${Ge}-next, ${Ge}-jump-prev, ${Ge}-jump-next `]:{display:"inline-block",minWidth:lt.itemSize,height:lt.itemSize,color:lt.colorText,fontFamily:lt.fontFamily,lineHeight:`${lt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:lt.borderRadius,cursor:"pointer",transition:`all ${lt.motionDurationMid}`},[`${Ge}-prev, ${Ge}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:lt.colorText,cursor:"pointer",userSelect:"none"},[`${Ge}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:lt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${lt.lineWidth}px ${lt.lineType} transparent`,borderRadius:lt.borderRadius,outline:"none",transition:`all ${lt.motionDurationMid}`},[`&:hover ${Ge}-item-link`]:{backgroundColor:lt.colorBgTextHover},[`&:active ${Ge}-item-link`]:{backgroundColor:lt.colorBgTextActive},[`&${Ge}-disabled:hover`]:{[`${Ge}-item-link`]:{backgroundColor:"transparent"}}},[`${Ge}-slash`]:{marginInlineEnd:lt.paginationSlashMarginInlineEnd,marginInlineStart:lt.paginationSlashMarginInlineStart},[`${Ge}-options`]:{display:"inline-block",marginInlineStart:lt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:lt.controlHeight,marginInlineStart:lt.marginXS,lineHeight:`${lt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,kt.ik)(lt)),{width:lt.controlHeightLG*1.25,height:lt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:lt.marginXS,marginInlineEnd:lt.marginXS})}}}},bn=lt=>{const{componentCls:Ge}=lt;return{[`${Ge}-item`]:{display:"inline-block",minWidth:lt.itemSize,height:lt.itemSize,marginInlineEnd:lt.marginXS,fontFamily:lt.fontFamily,lineHeight:`${lt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${lt.lineWidth}px ${lt.lineType} transparent`,borderRadius:lt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${lt.paginationItemPaddingInline}px`,color:lt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ge}-item-active)`]:{"&:hover":{transition:`all ${lt.motionDurationMid}`,backgroundColor:lt.colorBgTextHover},"&:active":{backgroundColor:lt.colorBgTextActive}},"&-active":{fontWeight:lt.fontWeightStrong,backgroundColor:lt.itemActiveBg,borderColor:lt.colorPrimary,a:{color:lt.colorPrimary},"&:hover":{borderColor:lt.colorPrimaryHover},"&:hover a":{color:lt.colorPrimaryHover}}}}},ci=lt=>{const{componentCls:Ge}=lt;return{[Ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_t.Wf)(lt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ge}-total-text`]:{display:"inline-block",height:lt.itemSize,marginInlineEnd:lt.marginXS,lineHeight:`${lt.itemSize-2}px`,verticalAlign:"middle"}}),bn(lt)),Jn(lt)),yt(lt)),Kn(lt)),wn(lt)),{[`@media only screen and (max-width: ${lt.screenLG}px)`]:{[`${Ge}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${lt.screenSM}px)`]:{[`${Ge}-options`]:{display:"none"}}}),[`&${lt.componentCls}-rtl`]:{direction:"rtl"}}},Tn=lt=>{const{componentCls:Ge}=lt;return{[`${Ge}${Ge}-disabled:not(${Ge}-mini)`]:{"&, &:hover":{[`${Ge}-item-link`]:{borderColor:lt.colorBorder}},"&:focus-visible":{[`${Ge}-item-link`]:{borderColor:lt.colorBorder}},[`${Ge}-item, ${Ge}-item-link`]:{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,[`&:hover:not(${Ge}-item-active)`]:{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,a:{color:lt.colorTextDisabled}},[`&${Ge}-item-active`]:{backgroundColor:lt.itemActiveBgDisabled}},[`${Ge}-prev, ${Ge}-next`]:{"&:hover button":{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,color:lt.colorTextDisabled},[`${Ge}-item-link`]:{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder}}},[`${Ge}:not(${Ge}-mini)`]:{[`${Ge}-prev, ${Ge}-next`]:{"&:hover button":{borderColor:lt.colorPrimaryHover,backgroundColor:lt.itemBg},[`${Ge}-item-link`]:{backgroundColor:lt.itemLinkBg,borderColor:lt.colorBorder},[`&:hover ${Ge}-item-link`]:{borderColor:lt.colorPrimary,backgroundColor:lt.itemBg,color:lt.colorPrimary},[`&${Ge}-disabled`]:{[`${Ge}-item-link`]:{borderColor:lt.colorBorder,color:lt.colorTextDisabled}}},[`${Ge}-item`]:{backgroundColor:lt.itemBg,border:`${lt.lineWidth}px ${lt.lineType} ${lt.colorBorder}`,[`&:hover:not(${Ge}-item-active)`]:{borderColor:lt.colorPrimary,backgroundColor:lt.itemBg,a:{color:lt.colorPrimary}},"&-active":{borderColor:lt.colorPrimary}}}}},tn=lt=>{const{componentCls:Ge}=lt;return{[`${Ge}:not(${Ge}-disabled)`]:{[`${Ge}-item`]:Object.assign({},(0,_t.Qy)(lt)),[`${Ge}-jump-prev, ${Ge}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ge}-item-link-icon`]:{opacity:1},[`${Ge}-item-ellipsis`]:{opacity:0}},(0,_t.oN)(lt))},[`${Ge}-prev, ${Ge}-next`]:{[`&:focus-visible ${Ge}-item-link`]:Object.assign({},(0,_t.oN)(lt))}}}};var $t=(0,ln.Z)("Pagination",lt=>{const Ge=(0,Bn.TS)(lt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:lt.marginXXS/2,paginationMiniQuickJumperInputWidth:lt.controlHeightLG*1.1,paginationItemPaddingInline:lt.marginXXS*1.5,paginationEllipsisLetterSpacing:lt.marginXXS/2,paginationSlashMarginInlineStart:lt.marginXXS,paginationSlashMarginInlineEnd:lt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,kt.e5)(lt),(0,kt.TM)(lt));return[ci(Ge),tn(Ge),lt.wireframe&&Tn(Ge)]},lt=>({itemBg:lt.colorBgContainer,itemSize:lt.controlHeight,itemSizeSM:lt.controlHeightSM,itemActiveBg:lt.colorBgContainer,itemLinkBg:lt.colorBgContainer,itemActiveColorDisabled:lt.colorTextDisabled,itemActiveBgDisabled:lt.controlItemBgActiveDisabled,itemInputBg:lt.colorBgContainer,miniOptionsSizeChangerTop:0})),ft=function(lt,Ge){var Be={};for(var we in lt)Object.prototype.hasOwnProperty.call(lt,we)&&Ge.indexOf(we)<0&&(Be[we]=lt[we]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,we=Object.getOwnPropertySymbols(lt);pe{const{prefixCls:Ge,selectPrefixCls:Be,className:we,rootClassName:pe,style:De,size:ze,locale:Le,selectComponentClass:nt,responsive:Ut,showSizeChanger:En}=lt,rn=ft(lt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:vn}=(0,dt.Z)(Ut),{getPrefixCls:mi,direction:wi,pagination:Ri={}}=Oe.useContext(Ot.E_),Wi=mi("pagination",Ge),[Mn,nr]=$t(Wi),Wr=En!=null?En:Ri.showSizeChanger,Hr=Oe.useMemo(()=>{const Ce=Oe.createElement("span",{className:`${Wi}-item-ellipsis`},"\u2022\u2022\u2022"),hi=Oe.createElement("button",{className:`${Wi}-item-link`,type:"button",tabIndex:-1},wi==="rtl"?Oe.createElement(gt.Z,null):Oe.createElement(et.Z,null)),ki=Oe.createElement("button",{className:`${Wi}-item-link`,type:"button",tabIndex:-1},wi==="rtl"?Oe.createElement(et.Z,null):Oe.createElement(gt.Z,null)),un=Oe.createElement("a",{className:`${Wi}-item-link`},Oe.createElement("div",{className:`${Wi}-item-container`},wi==="rtl"?Oe.createElement(Lt.Z,{className:`${Wi}-item-link-icon`}):Oe.createElement(Tt,{className:`${Wi}-item-link-icon`}),Ce)),Wn=Oe.createElement("a",{className:`${Wi}-item-link`},Oe.createElement("div",{className:`${Wi}-item-container`},wi==="rtl"?Oe.createElement(Tt,{className:`${Wi}-item-link-icon`}):Oe.createElement(Lt.Z,{className:`${Wi}-item-link-icon`}),Ce));return{prevIcon:hi,nextIcon:ki,jumpPrevIcon:un,jumpNextIcon:Wn}},[wi,Wi]),[Tr]=(0,Re.Z)("Pagination",Yt.Z),Fr=Object.assign(Object.assign({},Tr),Le),Yr=(0,Qt.Z)(ze),Kr=Yr==="small"||!!(vn&&!Yr&&Ut),ar=mi("select",Be),Co=wt()({[`${Wi}-mini`]:Kr,[`${Wi}-rtl`]:wi==="rtl"},Ri==null?void 0:Ri.className,we,pe,nr),$n=Object.assign(Object.assign({},Ri==null?void 0:Ri.style),De);return Mn(Oe.createElement(Zt,Object.assign({},Hr,rn,{style:$n,prefixCls:Wi,selectPrefixCls:ar,className:Co,selectComponentClass:nt||(Kr?Pn:mn),locale:Fr,showSizeChanger:Wr})))},At=Gt},39978:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Re}});var Se=ye(5891),Oe=ye(59301),He={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"},Rt=He,_e=ye(88853),vt=function(Pn,mn){return Oe.createElement(_e.Z,(0,Se.Z)({},Pn,{ref:mn,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke,Lt=ye(92310),et=ye.n(Lt),gt=ye(80962),ct=ye(29043),wt=ye(19149),Me=ye(35788),te=ye(85108),ne=ye(36994);function ce(Mt,Pn){var mn=Mt.disabled,kt=Mt.prefixCls,_t=Mt.character,ln=Mt.characterRender,Bn=Mt.index,wn=Mt.count,Kn=Mt.value,yt=Mt.allowHalf,Jn=Mt.focused,bn=Mt.onHover,ci=Mt.onClick,Tn=function(Ge){bn(Ge,Bn)},tn=function(Ge){ci(Ge,Bn)},$t=function(Ge){Ge.keyCode===te.Z.ENTER&&ci(Ge,Bn)},ft=Bn+1,Je=new Set([kt]);Kn===0&&Bn===0&&Jn?Je.add("".concat(kt,"-focused")):yt&&Kn+.5>=ft&&KnBn?"true":"false","aria-posinset":Bn+1,"aria-setsize":wn,tabIndex:mn?-1:0},Oe.createElement("div",{className:"".concat(kt,"-first")},Gt),Oe.createElement("div",{className:"".concat(kt,"-second")},Gt)));return ln&&(At=ln(At,Mt)),At}var se=Oe.forwardRef(ce);function ge(){var Mt=Oe.useRef({});function Pn(kt){return Mt.current[kt]}function mn(kt){return function(_t){Mt.current[kt]=_t}}return[Pn,mn]}function ve(Mt){var Pn=Mt.pageXOffset,mn="scrollLeft";if(typeof Pn!="number"){var kt=Mt.document;Pn=kt.documentElement[mn],typeof Pn!="number"&&(Pn=kt.body[mn])}return Pn}function be(Mt){var Pn,mn,kt=Mt.ownerDocument,_t=kt.body,ln=kt&&kt.documentElement,Bn=Mt.getBoundingClientRect();return Pn=Bn.left,mn=Bn.top,Pn-=ln.clientLeft||_t.clientLeft||0,mn-=ln.clientTop||_t.clientTop||0,{left:Pn,top:mn}}function Fe(Mt){var Pn=be(Mt),mn=Mt.ownerDocument,kt=mn.defaultView||mn.parentWindow;return Pn.left+=ve(kt),Pn.left}var Pe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ie(Mt,Pn){var mn,kt=Mt.prefixCls,_t=kt===void 0?"rc-rate":kt,ln=Mt.className,Bn=Mt.defaultValue,wn=Mt.value,Kn=Mt.count,yt=Kn===void 0?5:Kn,Jn=Mt.allowHalf,bn=Jn===void 0?!1:Jn,ci=Mt.allowClear,Tn=ci===void 0?!0:ci,tn=Mt.character,$t=tn===void 0?"\u2605":tn,ft=Mt.characterRender,Je=Mt.disabled,Gt=Mt.direction,At=Gt===void 0?"ltr":Gt,lt=Mt.tabIndex,Ge=lt===void 0?0:lt,Be=Mt.autoFocus,we=Mt.onHoverChange,pe=Mt.onChange,De=Mt.onFocus,ze=Mt.onBlur,Le=Mt.onKeyDown,nt=Mt.onMouseLeave,Ut=(0,wt.Z)(Mt,Pe),En=ge(),rn=(0,ct.Z)(En,2),vn=rn[0],mi=rn[1],wi=Oe.useRef(null),Ri=function(){if(!Je){var Ye;(Ye=wi.current)===null||Ye===void 0||Ye.focus()}};Oe.useImperativeHandle(Pn,function(){return{focus:Ri,blur:function(){if(!Je){var Ye;(Ye=wi.current)===null||Ye===void 0||Ye.blur()}}}});var Wi=(0,Me.Z)(Bn||0,{value:wn}),Mn=(0,ct.Z)(Wi,2),nr=Mn[0],Wr=Mn[1],Hr=(0,Me.Z)(null),Tr=(0,ct.Z)(Hr,2),Fr=Tr[0],Yr=Tr[1],Kr=function(Ye,an){var Bt=At==="rtl",jn=Ye+1;if(bn){var cn=vn(Ye),Et=Fe(cn),xn=cn.clientWidth;(Bt&&an-Et>xn/2||!Bt&&an-Et0&&!Bt||an===te.Z.RIGHT&&jn>0&&Bt?(bn?jn-=.5:jn-=1,ar(jn),Ye.preventDefault()):an===te.Z.LEFT&&jn{const{componentCls:Pn}=Mt;return{[`${Pn}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Mt.marginXS},"> div":{transition:`all ${Mt.motionDurationMid}, outline 0s`,"&:hover":{transform:Mt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Mt.lineWidth}px dashed ${Mt.starColor}`,transform:Mt.starHoverScale}},"&-first, &-second":{color:Mt.starBg,transition:`all ${Mt.motionDurationMid}`,userSelect:"none",[Mt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Pn}-star-first, &-half ${Pn}-star-second`]:{opacity:1},[`&-half ${Pn}-star-first, &-full ${Pn}-star-second`]:{color:"inherit"}}}},Zt=Mt=>({[`&-rtl${Mt.componentCls}`]:{direction:"rtl"}}),Yt=Mt=>{const{componentCls:Pn}=Mt;return{[Pn]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ve.Wf)(Mt)),{display:"inline-block",margin:0,padding:0,color:Mt.starColor,fontSize:Mt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Pn} ${Pn}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ht(Mt)),{[`+ ${Pn}-text`]:{display:"inline-block",marginInlineStart:Mt.marginXS,fontSize:Mt.fontSize}}),Zt(Mt))}};var Ot=(0,Nt.Z)("Rate",Mt=>{const Pn=(0,qe.TS)(Mt,{});return[Yt(Pn)]},Mt=>({starColor:Mt.yellow6,starSize:Mt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Mt.colorFillContent})),Qt=function(Mt,Pn){var mn={};for(var kt in Mt)Object.prototype.hasOwnProperty.call(Mt,kt)&&Pn.indexOf(kt)<0&&(mn[kt]=Mt[kt]);if(Mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,kt=Object.getOwnPropertySymbols(Mt);_t{const{prefixCls:mn,className:kt,rootClassName:_t,style:ln,tooltips:Bn,character:wn=Oe.createElement(Tt,null)}=Mt,Kn=Qt(Mt,["prefixCls","className","rootClassName","style","tooltips","character"]),yt=(Je,Gt)=>{let{index:At}=Gt;return Bn?Oe.createElement(ht.Z,{title:Bn[At]},Je):Je},{getPrefixCls:Jn,direction:bn,rate:ci}=Oe.useContext(Xe.E_),Tn=Jn("rate",mn),[tn,$t]=Ot(Tn),ft=Object.assign(Object.assign({},ci==null?void 0:ci.style),ln);return tn(Oe.createElement(Ke,Object.assign({ref:Pn,character:wn,characterRender:yt},Kn,{className:et()(kt,_t,$t,ci==null?void 0:ci.className),style:ft,prefixCls:Tn,direction:bn})))})},57809:function(Rn,Fn,ye){"use strict";var Se=ye(92310),Oe=ye.n(Se),He=ye(77861),Rt=ye(64002),_e=ye(59301),vt=ye(53487),ke=ye(62892),Tt=ye(19080),Lt=ye(36355),et=ye(1684),gt=ye(93891),ct=ye(19716),wt=ye(32441),Me=ye(33234),te=ye(14154),ne=ye(58582),ce=ye(84443),se=ye(66339),ge=function(Ie,We){var Ke={};for(var Xe in Ie)Object.prototype.hasOwnProperty.call(Ie,Xe)&&We.indexOf(Xe)<0&&(Ke[Xe]=Ie[Xe]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Xe=Object.getOwnPropertySymbols(Ie);ht{var Ke,{prefixCls:Xe,bordered:ht=!0,className:Ve,rootClassName:Nt,getPopupContainer:qe,popupClassName:Ht,dropdownClassName:Zt,listHeight:Yt=256,placement:Ot,listItemHeight:Qt=24,size:dt,disabled:Re,notFoundContent:Mt,status:Pn,builtinPlacements:mn,dropdownMatchSelectWidth:kt,popupMatchSelectWidth:_t,direction:ln,style:Bn,allowClear:wn}=Ie,Kn=ge(Ie,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:yt,getPrefixCls:Jn,renderEmpty:bn,direction:ci,virtual:Tn,popupMatchSelectWidth:tn,popupOverflow:$t,select:ft}=_e.useContext(Lt.E_),Je=Jn("select",Xe),Gt=Jn(),At=ln!=null?ln:ci,{compactSize:lt,compactItemClassnames:Ge}=(0,Me.ri)(Je,At),[Be,we]=(0,te.Z)(Je),pe=_e.useMemo(()=>{const{mode:$n}=Kn;if($n!=="combobox")return $n===ve?"combobox":$n},[Kn.mode]),De=pe==="multiple"||pe==="tags",ze=(0,ce.Z)(Kn.suffixIcon,Kn.showArrow),Le=(Ke=_t!=null?_t:kt)!==null&&Ke!==void 0?Ke:tn,{status:nt,hasFeedback:Ut,isFormItemInput:En,feedbackIcon:rn}=_e.useContext(wt.aM),vn=(0,Tt.F)(nt,Pn);let mi;Mt!==void 0?mi=Mt:pe==="combobox"?mi=null:mi=(bn==null?void 0:bn("Select"))||_e.createElement(gt.Z,{componentName:"Select"});const{suffixIcon:wi,itemIcon:Ri,removeIcon:Wi,clearIcon:Mn}=(0,se.Z)(Object.assign(Object.assign({},Kn),{multiple:De,hasFeedback:Ut,feedbackIcon:rn,showSuffixIcon:ze,prefixCls:Je,showArrow:Kn.showArrow,componentName:"Select"})),nr=wn===!0?{clearIcon:Mn}:wn,Wr=(0,Rt.Z)(Kn,["suffixIcon","itemIcon"]),Hr=Oe()(Ht||Zt,{[`${Je}-dropdown-${At}`]:At==="rtl"},Nt,we),Tr=(0,ct.Z)($n=>{var Ce;return(Ce=dt!=null?dt:lt)!==null&&Ce!==void 0?Ce:$n}),Fr=_e.useContext(et.Z),Yr=Re!=null?Re:Fr,Kr=Oe()({[`${Je}-lg`]:Tr==="large",[`${Je}-sm`]:Tr==="small",[`${Je}-rtl`]:At==="rtl",[`${Je}-borderless`]:!ht,[`${Je}-in-form-item`]:En},(0,Tt.Z)(Je,vn,Ut),Ge,ft==null?void 0:ft.className,Ve,Nt,we),ar=_e.useMemo(()=>Ot!==void 0?Ot:At==="rtl"?"bottomRight":"bottomLeft",[Ot,At]),Co=(0,ne.Z)(mn,$t);return Be(_e.createElement(He.ZP,Object.assign({ref:We,virtual:Tn,showSearch:ft==null?void 0:ft.showSearch},Wr,{style:Object.assign(Object.assign({},ft==null?void 0:ft.style),Bn),dropdownMatchSelectWidth:Le,builtinPlacements:Co,transitionName:(0,ke.m)(Gt,"slide-up",Kn.transitionName),listHeight:Yt,listItemHeight:Qt,mode:pe,prefixCls:Je,placement:ar,direction:At,suffixIcon:wi,menuItemSelectedIcon:Ri,removeIcon:Wi,allowClear:nr,notFoundContent:mi,className:Kr,getPopupContainer:qe||yt,dropdownClassName:Hr,disabled:Yr})))},Fe=_e.forwardRef(be),Pe=(0,vt.Z)(Fe);Fe.SECRET_COMBOBOX_MODE_DO_NOT_USE=ve,Fe.Option=He.Wx,Fe.OptGroup=He.Xo,Fe._InternalPanelDoNotUseOrYouWillBeFired=Pe,Fn.default=Fe},14154:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Fe}});var Se=ye(17313),Oe=ye(74207),He=ye(37613),Rt=ye(83116),_e=ye(13826),vt=ye(92899);const ke=Pe=>{const{optionHeight:Ie,optionFontSize:We,optionLineHeight:Ke,optionPadding:Xe}=Pe;return{position:"relative",display:"block",minHeight:Ie,padding:Xe,color:Pe.colorText,fontWeight:"normal",fontSize:We,lineHeight:Ke,boxSizing:"border-box"}};var Lt=Pe=>{const{antCls:Ie,componentCls:We}=Pe,Ke=`${We}-item`,Xe=`&${Ie}-slide-up-enter${Ie}-slide-up-enter-active`,ht=`&${Ie}-slide-up-appear${Ie}-slide-up-appear-active`,Ve=`&${Ie}-slide-up-leave${Ie}-slide-up-leave-active`,Nt=`${We}-dropdown-placement-`;return[{[`${We}-dropdown`]:Object.assign(Object.assign({},(0,Se.Wf)(Pe)),{position:"absolute",top:-9999,zIndex:Pe.zIndexPopup,boxSizing:"border-box",padding:Pe.paddingXXS,overflow:"hidden",fontSize:Pe.fontSize,fontVariant:"initial",backgroundColor:Pe.colorBgElevated,borderRadius:Pe.borderRadiusLG,outline:"none",boxShadow:Pe.boxShadowSecondary,[` ${Xe}${Nt}bottomLeft, ${ht}${Nt}bottomLeft `]:{animationName:_e.fJ},[` ${Xe}${Nt}topLeft, ${ht}${Nt}topLeft, ${Xe}${Nt}topRight, ${ht}${Nt}topRight `]:{animationName:_e.Qt},[`${Ve}${Nt}bottomLeft`]:{animationName:_e.Uw},[` ${Ve}${Nt}topLeft, ${Ve}${Nt}topRight `]:{animationName:_e.ly},"&-hidden":{display:"none"},[`${Ke}`]:Object.assign(Object.assign({},ke(Pe)),{cursor:"pointer",transition:`background ${Pe.motionDurationSlow} ease`,borderRadius:Pe.borderRadiusSM,"&-group":{color:Pe.colorTextDescription,fontSize:Pe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Se.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Ke}-option-disabled)`]:{backgroundColor:Pe.optionActiveBg},[`&-selected:not(${Ke}-option-disabled)`]:{color:Pe.optionSelectedColor,fontWeight:Pe.optionSelectedFontWeight,backgroundColor:Pe.optionSelectedBg,[`${Ke}-option-state`]:{color:Pe.colorPrimary}},"&-disabled":{[`&${Ke}-option-selected`]:{backgroundColor:Pe.colorBgContainerDisabled},color:Pe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Pe.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,_e.oN)(Pe,"slide-up"),(0,_e.oN)(Pe,"slide-down"),(0,vt.Fm)(Pe,"move-up"),(0,vt.Fm)(Pe,"move-down")]};const et=2,gt=Pe=>{let{controlHeightSM:Ie,controlHeight:We,lineWidth:Ke}=Pe;const Xe=(We-Ie)/2-Ke,ht=Math.ceil(Xe/2);return[Xe,ht]};function ct(Pe,Ie){const{componentCls:We,iconCls:Ke}=Pe,Xe=`${We}-selection-overflow`,ht=Pe.multipleSelectItemHeight,[Ve]=gt(Pe),Nt=Ie?`${We}-${Ie}`:"";return{[`${We}-multiple${Nt}`]:{fontSize:Pe.fontSize,[Xe]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${We}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Ve-et}px ${et*2}px`,borderRadius:Pe.borderRadius,[`${We}-show-search&`]:{cursor:"text"},[`${We}-disabled&`]:{background:Pe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${et}px 0`,lineHeight:`${ht}px`,visibility:"hidden",content:'"\\a0"'}},[` &${We}-show-arrow ${We}-selector, &${We}-allow-clear ${We}-selector `]:{paddingInlineEnd:Pe.fontSizeIcon+Pe.controlPaddingHorizontal},[`${We}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:ht,marginTop:et,marginBottom:et,lineHeight:`${ht-Pe.lineWidth*2}px`,background:Pe.multipleItemBg,border:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.multipleItemBorderColor}`,borderRadius:Pe.borderRadiusSM,cursor:"default",transition:`font-size ${Pe.motionDurationSlow}, line-height ${Pe.motionDurationSlow}, height ${Pe.motionDurationSlow}`,userSelect:"none",marginInlineEnd:et*2,paddingInlineStart:Pe.paddingXS,paddingInlineEnd:Pe.paddingXS/2,[`${We}-disabled&`]:{color:Pe.multipleItemColorDisabled,borderColor:Pe.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:Pe.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Se.Ro)()),{display:"inline-flex",alignItems:"center",color:Pe.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Ke}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Pe.colorIconHover}})},[`${Xe}-item + ${Xe}-item`]:{[`${We}-selection-search`]:{marginInlineStart:0}},[`${We}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:Pe.inputPaddingHorizontalBase-Ve,"\n &-input,\n &-mirror\n ":{height:ht,fontFamily:Pe.fontFamily,lineHeight:`${ht}px`,transition:`all ${Pe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${We}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:Pe.inputPaddingHorizontalBase,insetInlineEnd:Pe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${Pe.motionDurationSlow}`}}}}var Me=Pe=>{const{componentCls:Ie}=Pe,We=(0,He.TS)(Pe,{controlHeight:Pe.controlHeightSM,multipleSelectItemHeight:Pe.controlHeightXS,borderRadius:Pe.borderRadiusSM,borderRadiusSM:Pe.borderRadiusXS}),Ke=(0,He.TS)(Pe,{fontSize:Pe.fontSizeLG,controlHeight:Pe.controlHeightLG,multipleSelectItemHeight:Pe.multipleItemHeightLG,borderRadius:Pe.borderRadiusLG,borderRadiusSM:Pe.borderRadius}),[,Xe]=gt(Pe);return[ct(Pe),ct(We,"sm"),{[`${Ie}-multiple${Ie}-sm`]:{[`${Ie}-selection-placeholder`]:{insetInline:Pe.controlPaddingHorizontalSM-Pe.lineWidth},[`${Ie}-selection-search`]:{marginInlineStart:Xe}}},ct(Ke,"lg")]};function te(Pe,Ie){const{componentCls:We,inputPaddingHorizontalBase:Ke,borderRadius:Xe}=Pe,ht=Pe.controlHeight-Pe.lineWidth*2,Ve=Math.ceil(Pe.fontSize*1.25),Nt=Ie?`${We}-${Ie}`:"";return{[`${We}-single${Nt}`]:{fontSize:Pe.fontSize,[`${We}-selector`]:Object.assign(Object.assign({},(0,Se.Wf)(Pe)),{display:"flex",borderRadius:Xe,[`${We}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Ke,insetInlineEnd:Ke,bottom:0,"&-input":{width:"100%"}},[` ${We}-selection-item, ${We}-selection-placeholder `]:{padding:0,lineHeight:`${ht}px`,transition:`all ${Pe.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${ht}px`}},[`${We}-selection-item`]:{position:"relative",userSelect:"none"},[`${We}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${We}-selection-item:after`,`${We}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${We}-show-arrow ${We}-selection-item, &${We}-show-arrow ${We}-selection-placeholder `]:{paddingInlineEnd:Ve},[`&${We}-open ${We}-selection-item`]:{color:Pe.colorTextPlaceholder},[`&:not(${We}-customize-input)`]:{[`${We}-selector`]:{width:"100%",height:Pe.controlHeight,padding:`0 ${Ke}px`,[`${We}-selection-search-input`]:{height:ht},"&:after":{lineHeight:`${ht}px`}}},[`&${We}-customize-input`]:{[`${We}-selector`]:{"&:after":{display:"none"},[`${We}-selection-search`]:{position:"static",width:"100%"},[`${We}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Ke}px`,"&:after":{display:"none"}}}}}}}function ne(Pe){const{componentCls:Ie}=Pe,We=Pe.controlPaddingHorizontalSM-Pe.lineWidth;return[te(Pe),te((0,He.TS)(Pe,{controlHeight:Pe.controlHeightSM,borderRadius:Pe.borderRadiusSM}),"sm"),{[`${Ie}-single${Ie}-sm`]:{[`&:not(${Ie}-customize-input)`]:{[`${Ie}-selection-search`]:{insetInlineStart:We,insetInlineEnd:We},[`${Ie}-selector`]:{padding:`0 ${We}px`},[`&${Ie}-show-arrow ${Ie}-selection-search`]:{insetInlineEnd:We+Pe.fontSize*1.5},[` &${Ie}-show-arrow ${Ie}-selection-item, &${Ie}-show-arrow ${Ie}-selection-placeholder `]:{paddingInlineEnd:Pe.fontSize*1.5}}}},te((0,He.TS)(Pe,{controlHeight:Pe.singleItemHeightLG,fontSize:Pe.fontSizeLG,borderRadius:Pe.borderRadiusLG}),"lg")]}const ce=Pe=>{const{componentCls:Ie,selectorBg:We}=Pe;return{position:"relative",backgroundColor:We,border:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.colorBorder}`,transition:`all ${Pe.motionDurationMid} ${Pe.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ie}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Ie}-disabled&`]:{color:Pe.colorTextDisabled,background:Pe.colorBgContainerDisabled,cursor:"not-allowed",[`${Ie}-multiple&`]:{background:Pe.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},se=function(Pe,Ie){let We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Ke,borderHoverColor:Xe,outlineColor:ht,antCls:Ve}=Ie,Nt=We?{[`${Ke}-selector`]:{borderColor:Xe}}:{};return{[Pe]:{[`&:not(${Ke}-disabled):not(${Ke}-customize-input):not(${Ve}-pagination-size-changer)`]:Object.assign(Object.assign({},Nt),{[`${Ke}-focused& ${Ke}-selector`]:{borderColor:Xe,boxShadow:`0 0 0 ${Ie.controlOutlineWidth}px ${ht}`,outline:0},[`&:hover ${Ke}-selector`]:{borderColor:Xe}})}}},ge=Pe=>{const{componentCls:Ie}=Pe;return{[`${Ie}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ve=Pe=>{const{componentCls:Ie,inputPaddingHorizontalBase:We,iconCls:Ke}=Pe;return{[Ie]:Object.assign(Object.assign({},(0,Se.Wf)(Pe)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Ie}-customize-input) ${Ie}-selector`]:Object.assign(Object.assign({},ce(Pe)),ge(Pe)),[`${Ie}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},Se.vS),[`${Ie}-selection-placeholder`]:Object.assign(Object.assign({},Se.vS),{flex:1,color:Pe.colorTextPlaceholder,pointerEvents:"none"}),[`${Ie}-arrow`]:Object.assign(Object.assign({},(0,Se.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:We,height:Pe.fontSizeIcon,marginTop:-Pe.fontSizeIcon/2,color:Pe.colorTextQuaternary,fontSize:Pe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Ke]:{verticalAlign:"top",transition:`transform ${Pe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Ie}-suffix)`]:{pointerEvents:"auto"}},[`${Ie}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Ie}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:We,zIndex:1,display:"inline-block",width:Pe.fontSizeIcon,height:Pe.fontSizeIcon,marginTop:-Pe.fontSizeIcon/2,color:Pe.colorTextQuaternary,fontSize:Pe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:Pe.clearBg,cursor:"pointer",opacity:0,transition:`color ${Pe.motionDurationMid} ease, opacity ${Pe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Pe.colorTextTertiary}},"&:hover":{[`${Ie}-clear`]:{opacity:1}}}),[`${Ie}-has-feedback`]:{[`${Ie}-clear`]:{insetInlineEnd:We+Pe.fontSize+Pe.paddingXS}}}},be=Pe=>{const{componentCls:Ie}=Pe;return[{[Ie]:{[`&-borderless ${Ie}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Ie}-in-form-item`]:{width:"100%"}}},ve(Pe),ne(Pe),Me(Pe),Lt(Pe),{[`${Ie}-rtl`]:{direction:"rtl"}},se(Ie,(0,He.TS)(Pe,{borderHoverColor:Pe.colorPrimaryHover,outlineColor:Pe.controlOutline})),se(`${Ie}-status-error`,(0,He.TS)(Pe,{borderHoverColor:Pe.colorErrorHover,outlineColor:Pe.colorErrorOutline}),!0),se(`${Ie}-status-warning`,(0,He.TS)(Pe,{borderHoverColor:Pe.colorWarningHover,outlineColor:Pe.colorWarningOutline}),!0),(0,Oe.c)(Pe,{borderElCls:`${Ie}-selector`,focusElCls:`${Ie}-focused`})]};var Fe=(0,Rt.Z)("Select",(Pe,Ie)=>{let{rootPrefixCls:We}=Ie;const Ke=(0,He.TS)(Pe,{rootPrefixCls:We,inputPaddingHorizontalBase:Pe.paddingSM-1,multipleSelectItemHeight:Pe.multipleItemHeight});return[be(Ke)]},Pe=>{const{fontSize:Ie,lineHeight:We,controlHeight:Ke,controlPaddingHorizontal:Xe,zIndexPopupBase:ht,colorText:Ve,fontWeightStrong:Nt,controlItemBgActive:qe,controlItemBgHover:Ht,colorBgContainer:Zt,colorFillSecondary:Yt,controlHeightLG:Ot,controlHeightSM:Qt,colorBgContainerDisabled:dt,colorTextDisabled:Re}=Pe;return{zIndexPopup:ht+50,optionSelectedColor:Ve,optionSelectedFontWeight:Nt,optionSelectedBg:qe,optionActiveBg:Ht,optionPadding:`${(Ke-Ie*We)/2}px ${Xe}px`,optionFontSize:Ie,optionLineHeight:We,optionHeight:Ke,selectorBg:Zt,clearBg:Zt,singleItemHeightLG:Ot,multipleItemBg:Yt,multipleItemBorderColor:"transparent",multipleItemHeight:Qt,multipleItemHeightLG:Ke,multipleSelectorBgDisabled:dt,multipleItemColorDisabled:Re,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Oe}});const Se=He=>{const _e={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:He==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},_e),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},_e),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},_e),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},_e),{points:["br","tr"],offset:[0,-4]})}};function Oe(He,Rt){return He||Se(Rt)}},84443:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Se}});function Se(Oe,He){return He!==void 0?He:Oe!==null}},66339:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});var Se=ye(10402),Oe=ye(33130),He=ye(72119),Rt=ye(18290),_e=ye(50023),vt=ye(21970),ke=ye(59301);function Tt(Lt){let{suffixIcon:et,clearIcon:gt,menuItemSelectedIcon:ct,removeIcon:wt,loading:Me,multiple:te,hasFeedback:ne,prefixCls:ce,showSuffixIcon:se,feedbackIcon:ge,showArrow:ve,componentName:be}=Lt;const Fe=gt!=null?gt:ke.createElement(Oe.Z,null),Pe=Xe=>et===null&&!ne&&!ve?null:ke.createElement(ke.Fragment,null,se!==!1&&Xe,ne&&ge);let Ie=null;if(et!==void 0)Ie=Pe(et);else if(Me)Ie=Pe(ke.createElement(_e.Z,{spin:!0}));else{const Xe=`${ce}-suffix`;Ie=ht=>{let{open:Ve,showSearch:Nt}=ht;return Pe(Ve&&Nt?ke.createElement(vt.Z,{className:Xe}):ke.createElement(Rt.Z,{className:Xe}))}}let We=null;ct!==void 0?We=ct:te?We=ke.createElement(Se.Z,null):We=null;let Ke=null;return wt!==void 0?Ke=wt:Ke=ke.createElement(He.Z,null),{clearIcon:Fe,suffixIcon:Ie,itemIcon:We,removeIcon:Ke}}},78485:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return $t}});var Se=ye(92310),Oe=ye.n(Se),He=ye(59301),Rt=ye(36355),_e=ye(64002),ke=ft=>{const{prefixCls:Je,className:Gt,style:At,size:lt,shape:Ge}=ft,Be=Oe()({[`${Je}-lg`]:lt==="large",[`${Je}-sm`]:lt==="small"}),we=Oe()({[`${Je}-circle`]:Ge==="circle",[`${Je}-square`]:Ge==="square",[`${Je}-round`]:Ge==="round"}),pe=He.useMemo(()=>typeof lt=="number"?{width:lt,height:lt,lineHeight:`${lt}px`}:{},[lt]);return He.createElement("span",{className:Oe()(Je,Be,we,Gt),style:Object.assign(Object.assign({},pe),At)})},Tt=ye(9792),Lt=ye(83116),et=ye(37613);const gt=new Tt.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ct=ft=>({height:ft,lineHeight:`${ft}px`}),wt=ft=>Object.assign({width:ft},ct(ft)),Me=ft=>({background:ft.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:gt,animationDuration:ft.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),te=ft=>Object.assign({width:ft*5,minWidth:ft*5},ct(ft)),ne=ft=>{const{skeletonAvatarCls:Je,gradientFromColor:Gt,controlHeight:At,controlHeightLG:lt,controlHeightSM:Ge}=ft;return{[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Gt},wt(At)),[`${Je}${Je}-circle`]:{borderRadius:"50%"},[`${Je}${Je}-lg`]:Object.assign({},wt(lt)),[`${Je}${Je}-sm`]:Object.assign({},wt(Ge))}},ce=ft=>{const{controlHeight:Je,borderRadiusSM:Gt,skeletonInputCls:At,controlHeightLG:lt,controlHeightSM:Ge,gradientFromColor:Be}=ft;return{[`${At}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Be,borderRadius:Gt},te(Je)),[`${At}-lg`]:Object.assign({},te(lt)),[`${At}-sm`]:Object.assign({},te(Ge))}},se=ft=>Object.assign({width:ft},ct(ft)),ge=ft=>{const{skeletonImageCls:Je,imageSizeBase:Gt,gradientFromColor:At,borderRadiusSM:lt}=ft;return{[`${Je}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:At,borderRadius:lt},se(Gt*2)),{[`${Je}-path`]:{fill:"#bfbfbf"},[`${Je}-svg`]:Object.assign(Object.assign({},se(Gt)),{maxWidth:Gt*4,maxHeight:Gt*4}),[`${Je}-svg${Je}-svg-circle`]:{borderRadius:"50%"}}),[`${Je}${Je}-circle`]:{borderRadius:"50%"}}},ve=(ft,Je,Gt)=>{const{skeletonButtonCls:At}=ft;return{[`${Gt}${At}-circle`]:{width:Je,minWidth:Je,borderRadius:"50%"},[`${Gt}${At}-round`]:{borderRadius:Je}}},be=ft=>Object.assign({width:ft*2,minWidth:ft*2},ct(ft)),Fe=ft=>{const{borderRadiusSM:Je,skeletonButtonCls:Gt,controlHeight:At,controlHeightLG:lt,controlHeightSM:Ge,gradientFromColor:Be}=ft;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Be,borderRadius:Je,width:At*2,minWidth:At*2},be(At))},ve(ft,At,Gt)),{[`${Gt}-lg`]:Object.assign({},be(lt))}),ve(ft,lt,`${Gt}-lg`)),{[`${Gt}-sm`]:Object.assign({},be(Ge))}),ve(ft,Ge,`${Gt}-sm`))},Pe=ft=>{const{componentCls:Je,skeletonAvatarCls:Gt,skeletonTitleCls:At,skeletonParagraphCls:lt,skeletonButtonCls:Ge,skeletonInputCls:Be,skeletonImageCls:we,controlHeight:pe,controlHeightLG:De,controlHeightSM:ze,gradientFromColor:Le,padding:nt,marginSM:Ut,borderRadius:En,titleHeight:rn,blockRadius:vn,paragraphLiHeight:mi,controlHeightXS:wi,paragraphMarginTop:Ri}=ft;return{[`${Je}`]:{display:"table",width:"100%",[`${Je}-header`]:{display:"table-cell",paddingInlineEnd:nt,verticalAlign:"top",[`${Gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Le},wt(pe)),[`${Gt}-circle`]:{borderRadius:"50%"},[`${Gt}-lg`]:Object.assign({},wt(De)),[`${Gt}-sm`]:Object.assign({},wt(ze))},[`${Je}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${At}`]:{width:"100%",height:rn,background:Le,borderRadius:vn,[`+ ${lt}`]:{marginBlockStart:ze}},[`${lt}`]:{padding:0,"> li":{width:"100%",height:mi,listStyle:"none",background:Le,borderRadius:vn,"+ li":{marginBlockStart:wi}}},[`${lt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Je}-content`]:{[`${At}, ${lt} > li`]:{borderRadius:En}}},[`${Je}-with-avatar ${Je}-content`]:{[`${At}`]:{marginBlockStart:Ut,[`+ ${lt}`]:{marginBlockStart:Ri}}},[`${Je}${Je}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Fe(ft)),ne(ft)),ce(ft)),ge(ft)),[`${Je}${Je}-block`]:{width:"100%",[`${Ge}`]:{width:"100%"},[`${Be}`]:{width:"100%"}},[`${Je}${Je}-active`]:{[` ${At}, ${lt} > li, ${Gt}, ${Ge}, ${Be}, ${we} `]:Object.assign({},Me(ft))}}};var Ie=(0,Lt.Z)("Skeleton",ft=>{const{componentCls:Je}=ft,Gt=(0,et.TS)(ft,{skeletonAvatarCls:`${Je}-avatar`,skeletonTitleCls:`${Je}-title`,skeletonParagraphCls:`${Je}-paragraph`,skeletonButtonCls:`${Je}-button`,skeletonInputCls:`${Je}-input`,skeletonImageCls:`${Je}-image`,imageSizeBase:ft.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ft.gradientFromColor} 25%, ${ft.gradientToColor} 37%, ${ft.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Pe(Gt)]},ft=>{const{colorFillContent:Je,colorFill:Gt}=ft,At=Je,lt=Gt;return{color:At,colorGradientEnd:lt,gradientFromColor:At,gradientToColor:lt,titleHeight:ft.controlHeight/2,blockRadius:ft.borderRadiusSM,paragraphMarginTop:ft.marginLG+ft.marginXXS,paragraphLiHeight:ft.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ke=ft=>{const{prefixCls:Je,className:Gt,rootClassName:At,active:lt,shape:Ge="circle",size:Be="default"}=ft,{getPrefixCls:we}=He.useContext(Rt.E_),pe=we("skeleton",Je),[De,ze]=Ie(pe),Le=(0,_e.Z)(ft,["prefixCls","className"]),nt=Oe()(pe,`${pe}-element`,{[`${pe}-active`]:lt},Gt,At,ze);return De(He.createElement("div",{className:nt},He.createElement(ke,Object.assign({prefixCls:`${pe}-avatar`,shape:Ge,size:Be},Le))))},ht=ft=>{const{prefixCls:Je,className:Gt,rootClassName:At,active:lt,block:Ge=!1,size:Be="default"}=ft,{getPrefixCls:we}=He.useContext(Rt.E_),pe=we("skeleton",Je),[De,ze]=Ie(pe),Le=(0,_e.Z)(ft,["prefixCls"]),nt=Oe()(pe,`${pe}-element`,{[`${pe}-active`]:lt,[`${pe}-block`]:Ge},Gt,At,ze);return De(He.createElement("div",{className:nt},He.createElement(ke,Object.assign({prefixCls:`${pe}-button`,size:Be},Le))))};const Ve="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 qe=ft=>{const{prefixCls:Je,className:Gt,rootClassName:At,style:lt,active:Ge}=ft,{getPrefixCls:Be}=He.useContext(Rt.E_),we=Be("skeleton",Je),[pe,De]=Ie(we),ze=Oe()(we,`${we}-element`,{[`${we}-active`]:Ge},Gt,At,De);return pe(He.createElement("div",{className:ze},He.createElement("div",{className:Oe()(`${we}-image`,Gt),style:lt},He.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${we}-image-svg`},He.createElement("path",{d:Ve,className:`${we}-image-path`})))))},Zt=ft=>{const{prefixCls:Je,className:Gt,rootClassName:At,active:lt,block:Ge,size:Be="default"}=ft,{getPrefixCls:we}=He.useContext(Rt.E_),pe=we("skeleton",Je),[De,ze]=Ie(pe),Le=(0,_e.Z)(ft,["prefixCls"]),nt=Oe()(pe,`${pe}-element`,{[`${pe}-active`]:lt,[`${pe}-block`]:Ge},Gt,At,ze);return De(He.createElement("div",{className:nt},He.createElement(ke,Object.assign({prefixCls:`${pe}-input`,size:Be},Le))))},Yt=ye(5891),Ot={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"},Qt=Ot,dt=ye(88853),Re=function(Je,Gt){return He.createElement(dt.Z,(0,Yt.Z)({},Je,{ref:Gt,icon:Qt}))},Mt=He.forwardRef(Re),Pn=Mt,kt=ft=>{const{prefixCls:Je,className:Gt,rootClassName:At,style:lt,active:Ge,children:Be}=ft,{getPrefixCls:we}=He.useContext(Rt.E_),pe=we("skeleton",Je),[De,ze]=Ie(pe),Le=Oe()(pe,`${pe}-element`,{[`${pe}-active`]:Ge},ze,Gt,At),nt=Be!=null?Be:He.createElement(Pn,null);return De(He.createElement("div",{className:Le},He.createElement("div",{className:Oe()(`${pe}-image`,Gt),style:lt},nt)))},_t=ye(26390),Bn=ft=>{const Je=we=>{const{width:pe,rows:De=2}=ft;if(Array.isArray(pe))return pe[we];if(De-1===we)return pe},{prefixCls:Gt,className:At,style:lt,rows:Ge}=ft,Be=(0,_t.Z)(Array(Ge)).map((we,pe)=>He.createElement("li",{key:pe,style:{width:Je(pe)}}));return He.createElement("ul",{className:Oe()(Gt,At),style:lt},Be)},Kn=ft=>{let{prefixCls:Je,className:Gt,width:At,style:lt}=ft;return He.createElement("h3",{className:Oe()(Je,Gt),style:Object.assign({width:At},lt)})};function yt(ft){return ft&&typeof ft=="object"?ft:{}}function Jn(ft,Je){return ft&&!Je?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function bn(ft,Je){return!ft&&Je?{width:"38%"}:ft&&Je?{width:"50%"}:{}}function ci(ft,Je){const Gt={};return(!ft||!Je)&&(Gt.width="61%"),!ft&&Je?Gt.rows=3:Gt.rows=2,Gt}const Tn=ft=>{const{prefixCls:Je,loading:Gt,className:At,rootClassName:lt,style:Ge,children:Be,avatar:we=!1,title:pe=!0,paragraph:De=!0,active:ze,round:Le}=ft,{getPrefixCls:nt,direction:Ut,skeleton:En}=He.useContext(Rt.E_),rn=nt("skeleton",Je),[vn,mi]=Ie(rn);if(Gt||!("loading"in ft)){const wi=!!we,Ri=!!pe,Wi=!!De;let Mn;if(wi){const Hr=Object.assign(Object.assign({prefixCls:`${rn}-avatar`},Jn(Ri,Wi)),yt(we));Mn=He.createElement("div",{className:`${rn}-header`},He.createElement(ke,Object.assign({},Hr)))}let nr;if(Ri||Wi){let Hr;if(Ri){const Fr=Object.assign(Object.assign({prefixCls:`${rn}-title`},bn(wi,Wi)),yt(pe));Hr=He.createElement(Kn,Object.assign({},Fr))}let Tr;if(Wi){const Fr=Object.assign(Object.assign({prefixCls:`${rn}-paragraph`},ci(wi,Ri)),yt(De));Tr=He.createElement(Bn,Object.assign({},Fr))}nr=He.createElement("div",{className:`${rn}-content`},Hr,Tr)}const Wr=Oe()(rn,{[`${rn}-with-avatar`]:wi,[`${rn}-active`]:ze,[`${rn}-rtl`]:Ut==="rtl",[`${rn}-round`]:Le},En==null?void 0:En.className,At,lt,mi);return vn(He.createElement("div",{className:Wr,style:Object.assign(Object.assign({},En==null?void 0:En.style),Ge)},Mn,nr))}return typeof Be!="undefined"?Be:null};Tn.Button=ht,Tn.Avatar=Ke,Tn.Input=Zt,Tn.Image=qe,Tn.Node=kt;var tn=Tn,$t=tn},81327:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return ce}});var Se=ye(59301),Oe=ye(92310),He=ye.n(Oe),Rt=ye(38298),_e=ye(36355),vt=ye(33234);const ke=Se.createContext({latestIndex:0}),Tt=ke.Provider;var et=se=>{let{className:ge,index:ve,children:be,split:Fe,style:Pe}=se;const{latestIndex:Ie}=Se.useContext(ke);return be==null?null:Se.createElement(Se.Fragment,null,Se.createElement("div",{className:ge,style:Pe},be),ve{var ve,be;const{getPrefixCls:Fe,space:Pe,direction:Ie}=Se.useContext(_e.E_),{size:We=(Pe==null?void 0:Pe.size)||"small",align:Ke,className:Xe,rootClassName:ht,children:Ve,direction:Nt="horizontal",prefixCls:qe,split:Ht,style:Zt,wrap:Yt=!1,classNames:Ot,styles:Qt}=se,dt=Me(se,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Re,Mt]=Array.isArray(We)?We:[We,We],Pn=ct(Mt),mn=ct(Re),kt=wt(Mt),_t=wt(Re),ln=(0,Rt.Z)(Ve,{keepEmpty:!0}),Bn=Ke===void 0&&Nt==="horizontal"?"center":Ke,wn=Fe("space",qe),[Kn,yt]=(0,gt.Z)(wn),Jn=He()(wn,Pe==null?void 0:Pe.className,yt,`${wn}-${Nt}`,{[`${wn}-rtl`]:Ie==="rtl",[`${wn}-align-${Bn}`]:Bn,[`${wn}-gap-row-${Mt}`]:Pn,[`${wn}-gap-col-${Re}`]:mn},Xe,ht),bn=He()(`${wn}-item`,(ve=Ot==null?void 0:Ot.item)!==null&&ve!==void 0?ve:(be=Pe==null?void 0:Pe.classNames)===null||be===void 0?void 0:be.item);let ci=0;const Tn=ln.map((ft,Je)=>{var Gt,At;ft!=null&&(ci=Je);const lt=ft&&ft.key||`${bn}-${Je}`;return Se.createElement(et,{className:bn,key:lt,index:Je,split:Ht,style:(Gt=Qt==null?void 0:Qt.item)!==null&&Gt!==void 0?Gt:(At=Pe==null?void 0:Pe.styles)===null||At===void 0?void 0:At.item},ft)}),tn=Se.useMemo(()=>({latestIndex:ci}),[ci]);if(ln.length===0)return null;const $t={};return Yt&&($t.flexWrap="wrap"),!mn&&_t&&($t.columnGap=Re),!Pn&&kt&&($t.rowGap=Mt),Kn(Se.createElement("div",Object.assign({ref:ge,className:Jn,style:Object.assign(Object.assign(Object.assign({},$t),Pe==null?void 0:Pe.style),Zt)},dt),Se.createElement(Tt,{value:tn},Tn)))});ne.Compact=vt.ZP;var ce=ne},31797:function(Rn,Fn,ye){"use strict";ye.d(Fn,{default:function(){return Ie}});var Se=ye(59301),Oe=ye(56762),He=ye(92343),Rt=ye(92310),_e=ye.n(Rt),vt=ye(36355),ke=ye(78485),Lt=We=>{const{value:Ke,formatter:Xe,precision:ht,decimalSeparator:Ve,groupSeparator:Nt="",prefixCls:qe}=We;let Ht;if(typeof Xe=="function")Ht=Xe(Ke);else{const Zt=String(Ke),Yt=Zt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Yt||Zt==="-")Ht=Zt;else{const Ot=Yt[1];let Qt=Yt[2]||"0",dt=Yt[4]||"";Qt=Qt.replace(/\B(?=(\d{3})+(?!\d))/g,Nt),typeof ht=="number"&&(dt=dt.padEnd(ht,"0").slice(0,ht>0?ht:0)),dt&&(dt=`${Ve}${dt}`),Ht=[Se.createElement("span",{key:"int",className:`${qe}-content-value-int`},Ot,Qt),dt&&Se.createElement("span",{key:"decimal",className:`${qe}-content-value-decimal`},dt)]}}return Se.createElement("span",{className:`${qe}-content-value`},Ht)},et=ye(17313),gt=ye(83116),ct=ye(37613);const wt=We=>{const{componentCls:Ke,marginXXS:Xe,padding:ht,colorTextDescription:Ve,titleFontSize:Nt,colorTextHeading:qe,contentFontSize:Ht,fontFamily:Zt}=We;return{[`${Ke}`]:Object.assign(Object.assign({},(0,et.Wf)(We)),{[`${Ke}-title`]:{marginBottom:Xe,color:Ve,fontSize:Nt},[`${Ke}-skeleton`]:{paddingTop:ht},[`${Ke}-content`]:{color:qe,fontSize:Ht,fontFamily:Zt,[`${Ke}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ke}-content-prefix, ${Ke}-content-suffix`]:{display:"inline-block"},[`${Ke}-content-prefix`]:{marginInlineEnd:Xe},[`${Ke}-content-suffix`]:{marginInlineStart:Xe}}})}};var Me=(0,gt.Z)("Statistic",We=>{const Ke=(0,ct.TS)(We,{});return[wt(Ke)]},We=>{const{fontSizeHeading3:Ke,fontSize:Xe}=We;return{titleFontSize:Xe,contentFontSize:Ke}}),ne=We=>{const{prefixCls:Ke,className:Xe,rootClassName:ht,style:Ve,valueStyle:Nt,value:qe=0,title:Ht,valueRender:Zt,prefix:Yt,suffix:Ot,loading:Qt=!1,onMouseEnter:dt,onMouseLeave:Re,decimalSeparator:Mt=".",groupSeparator:Pn=","}=We,{getPrefixCls:mn,direction:kt,statistic:_t}=Se.useContext(vt.E_),ln=mn("statistic",Ke),[Bn,wn]=Me(ln),Kn=Se.createElement(Lt,Object.assign({decimalSeparator:Mt,groupSeparator:Pn,prefixCls:ln},We,{value:qe})),yt=_e()(ln,{[`${ln}-rtl`]:kt==="rtl"},_t==null?void 0:_t.className,Xe,ht,wn);return Bn(Se.createElement("div",{className:yt,style:Object.assign(Object.assign({},_t==null?void 0:_t.style),Ve),onMouseEnter:dt,onMouseLeave:Re},Ht&&Se.createElement("div",{className:`${ln}-title`},Ht),Se.createElement(ke.Z,{paragraph:!1,loading:Qt,className:`${ln}-skeleton`},Se.createElement("div",{style:Nt,className:`${ln}-content`},Yt&&Se.createElement("span",{className:`${ln}-content-prefix`},Yt),Zt?Zt(Kn):Kn,Ot&&Se.createElement("span",{className:`${ln}-content-suffix`},Ot)))))};const ce=[["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 se(We,Ke){let Xe=We;const ht=/\[[^\]]*]/g,Ve=(Ke.match(ht)||[]).map(Zt=>Zt.slice(1,-1)),Nt=Ke.replace(ht,"[]"),qe=ce.reduce((Zt,Yt)=>{let[Ot,Qt]=Yt;if(Zt.includes(Ot)){const dt=Math.floor(Xe/Qt);return Xe-=dt*Qt,Zt.replace(new RegExp(`${Ot}+`,"g"),Re=>{const Mt=Re.length;return dt.toString().padStart(Mt,"0")})}return Zt},Nt);let Ht=0;return qe.replace(ht,()=>{const Zt=Ve[Ht];return Ht+=1,Zt})}function ge(We,Ke){const{format:Xe=""}=Ke,ht=new Date(We).getTime(),Ve=Date.now(),Nt=Math.max(ht-Ve,0);return se(Nt,Xe)}const ve=1e3/30;function be(We){return new Date(We).getTime()}const Fe=We=>{const{value:Ke,format:Xe="HH:mm:ss",onChange:ht,onFinish:Ve}=We,Nt=(0,Oe.Z)(),qe=Se.useRef(null),Ht=()=>{Ve==null||Ve(),qe.current&&(clearInterval(qe.current),qe.current=null)},Zt=()=>{const Qt=be(Ke);Qt>=Date.now()&&(qe.current=setInterval(()=>{Nt(),ht==null||ht(Qt-Date.now()),Qt(Zt(),()=>{qe.current&&(clearInterval(qe.current),qe.current=null)}),[Ke]);const Yt=(Qt,dt)=>ge(Qt,Object.assign(Object.assign({},dt),{format:Xe})),Ot=Qt=>(0,He.Tm)(Qt,{title:void 0});return Se.createElement(ne,Object.assign({},We,{valueRender:Ot,formatter:Yt}))};var Pe=Se.memo(Fe);ne.Countdown=Pe;var Ie=ne},15969:function(Rn,Fn,ye){"use strict";ye.d(Fn,{N:function(){return Se}});const Se=Oe=>({color:Oe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Oe.motionDurationSlow}`,"&:focus, &:hover":{color:Oe.colorLinkHover},"&:active":{color:Oe.colorLinkActive}})},78673:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Nt}});var Se=ye(50023),Oe=ye(92310),He=ye.n(Oe),Rt=ye(5891),_e=ye(80962),vt=ye(29043),ke=ye(19149),Tt=ye(59301),Lt=ye(35788),et=ye(85108),gt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ct=Tt.forwardRef(function(qe,Ht){var Zt,Yt=qe.prefixCls,Ot=Yt===void 0?"rc-switch":Yt,Qt=qe.className,dt=qe.checked,Re=qe.defaultChecked,Mt=qe.disabled,Pn=qe.loadingIcon,mn=qe.checkedChildren,kt=qe.unCheckedChildren,_t=qe.onClick,ln=qe.onChange,Bn=qe.onKeyDown,wn=(0,ke.Z)(qe,gt),Kn=(0,Lt.Z)(!1,{value:dt,defaultValue:Re}),yt=(0,vt.Z)(Kn,2),Jn=yt[0],bn=yt[1];function ci(ft,Je){var Gt=Jn;return Mt||(Gt=ft,bn(Gt),ln==null||ln(Gt,Je)),Gt}function Tn(ft){ft.which===et.Z.LEFT?ci(!1,ft):ft.which===et.Z.RIGHT&&ci(!0,ft),Bn==null||Bn(ft)}function tn(ft){var Je=ci(!Jn,ft);_t==null||_t(Je,ft)}var $t=He()(Ot,Qt,(Zt={},(0,_e.Z)(Zt,"".concat(Ot,"-checked"),Jn),(0,_e.Z)(Zt,"".concat(Ot,"-disabled"),Mt),Zt));return Tt.createElement("button",(0,Rt.Z)({},wn,{type:"button",role:"switch","aria-checked":Jn,disabled:Mt,className:$t,ref:Ht,onKeyDown:Tn,onClick:tn}),Pn,Tt.createElement("span",{className:"".concat(Ot,"-inner")},Tt.createElement("span",{className:"".concat(Ot,"-inner-checked")},mn),Tt.createElement("span",{className:"".concat(Ot,"-inner-unchecked")},kt)))});ct.displayName="Switch";var wt=ct,Me=ye(14088),te=ye(36355),ne=ye(1684),ce=ye(19716),se=ye(64993),ge=ye(17313),ve=ye(83116),be=ye(37613);const Fe=qe=>{const{componentCls:Ht,trackHeightSM:Zt,trackPadding:Yt,trackMinWidthSM:Ot,innerMinMarginSM:Qt,innerMaxMarginSM:dt,handleSizeSM:Re}=qe,Mt=`${Ht}-inner`;return{[Ht]:{[`&${Ht}-small`]:{minWidth:Ot,height:Zt,lineHeight:`${Zt}px`,[`${Ht}-inner`]:{paddingInlineStart:dt,paddingInlineEnd:Qt,[`${Mt}-checked`]:{marginInlineStart:`calc(-100% + ${Re+Yt*2}px - ${dt*2}px)`,marginInlineEnd:`calc(100% - ${Re+Yt*2}px + ${dt*2}px)`},[`${Mt}-unchecked`]:{marginTop:-Zt,marginInlineStart:0,marginInlineEnd:0}},[`${Ht}-handle`]:{width:Re,height:Re},[`${Ht}-loading-icon`]:{top:(Re-qe.switchLoadingIconSize)/2,fontSize:qe.switchLoadingIconSize},[`&${Ht}-checked`]:{[`${Ht}-inner`]:{paddingInlineStart:Qt,paddingInlineEnd:dt,[`${Mt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Mt}-unchecked`]:{marginInlineStart:`calc(100% - ${Re+Yt*2}px + ${dt*2}px)`,marginInlineEnd:`calc(-100% + ${Re+Yt*2}px - ${dt*2}px)`}},[`${Ht}-handle`]:{insetInlineStart:`calc(100% - ${Re+Yt}px)`}},[`&:not(${Ht}-disabled):active`]:{[`&:not(${Ht}-checked) ${Mt}`]:{[`${Mt}-unchecked`]:{marginInlineStart:qe.marginXXS/2,marginInlineEnd:-qe.marginXXS/2}},[`&${Ht}-checked ${Mt}`]:{[`${Mt}-checked`]:{marginInlineStart:-qe.marginXXS/2,marginInlineEnd:qe.marginXXS/2}}}}}}},Pe=qe=>{const{componentCls:Ht,handleSize:Zt}=qe;return{[Ht]:{[`${Ht}-loading-icon${qe.iconCls}`]:{position:"relative",top:(Zt-qe.fontSize)/2,color:qe.switchLoadingIconColor,verticalAlign:"top"},[`&${Ht}-checked ${Ht}-loading-icon`]:{color:qe.switchColor}}}},Ie=qe=>{const{componentCls:Ht,motion:Zt,trackPadding:Yt,handleBg:Ot,handleShadow:Qt,handleSize:dt}=qe,Re=`${Ht}-handle`;return{[Ht]:{[Re]:{position:"absolute",top:Yt,insetInlineStart:Yt,width:dt,height:dt,transition:`all ${qe.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ot,borderRadius:dt/2,boxShadow:Qt,transition:`all ${qe.switchDuration} ease-in-out`,content:'""'}},[`&${Ht}-checked ${Re}`]:{insetInlineStart:`calc(100% - ${dt+Yt}px)`},[`&:not(${Ht}-disabled):active`]:Zt?{[`${Re}::before`]:{insetInlineEnd:qe.switchHandleActiveInset,insetInlineStart:0},[`&${Ht}-checked ${Re}::before`]:{insetInlineEnd:0,insetInlineStart:qe.switchHandleActiveInset}}:{}}}},We=qe=>{const{componentCls:Ht,trackHeight:Zt,trackPadding:Yt,innerMinMargin:Ot,innerMaxMargin:Qt,handleSize:dt}=qe,Re=`${Ht}-inner`;return{[Ht]:{[Re]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Qt,paddingInlineEnd:Ot,transition:`padding-inline-start ${qe.switchDuration} ease-in-out, padding-inline-end ${qe.switchDuration} ease-in-out`,[`${Re}-checked, ${Re}-unchecked`]:{display:"block",color:qe.colorTextLightSolid,fontSize:qe.fontSizeSM,transition:`margin-inline-start ${qe.switchDuration} ease-in-out, margin-inline-end ${qe.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Re}-checked`]:{marginInlineStart:`calc(-100% + ${dt+Yt*2}px - ${Qt*2}px)`,marginInlineEnd:`calc(100% - ${dt+Yt*2}px + ${Qt*2}px)`},[`${Re}-unchecked`]:{marginTop:-Zt,marginInlineStart:0,marginInlineEnd:0}},[`&${Ht}-checked ${Re}`]:{paddingInlineStart:Ot,paddingInlineEnd:Qt,[`${Re}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Re}-unchecked`]:{marginInlineStart:`calc(100% - ${dt+Yt*2}px + ${Qt*2}px)`,marginInlineEnd:`calc(-100% + ${dt+Yt*2}px - ${Qt*2}px)`}},[`&:not(${Ht}-disabled):active`]:{[`&:not(${Ht}-checked) ${Re}`]:{[`${Re}-unchecked`]:{marginInlineStart:Yt*2,marginInlineEnd:-Yt*2}},[`&${Ht}-checked ${Re}`]:{[`${Re}-checked`]:{marginInlineStart:-Yt*2,marginInlineEnd:Yt*2}}}}}},Ke=qe=>{const{componentCls:Ht,trackHeight:Zt,trackMinWidth:Yt}=qe;return{[Ht]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(qe)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Yt,height:Zt,lineHeight:`${Zt}px`,verticalAlign:"middle",background:qe.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${qe.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ht}-disabled)`]:{background:qe.colorTextTertiary}}),(0,ge.Qy)(qe)),{[`&${Ht}-checked`]:{background:qe.switchColor,[`&:hover:not(${Ht}-disabled)`]:{background:qe.colorPrimaryHover}},[`&${Ht}-loading, &${Ht}-disabled`]:{cursor:"not-allowed",opacity:qe.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ht}-rtl`]:{direction:"rtl"}})}};var Xe=(0,ve.Z)("Switch",qe=>{const Ht=(0,be.TS)(qe,{switchDuration:qe.motionDurationMid,switchColor:qe.colorPrimary,switchDisabledOpacity:qe.opacityLoading,switchLoadingIconSize:qe.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${qe.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ke(Ht),We(Ht),Ie(Ht),Pe(Ht),Fe(Ht)]},qe=>{const{fontSize:Ht,lineHeight:Zt,controlHeight:Yt,colorWhite:Ot}=qe,Qt=Ht*Zt,dt=Yt/2,Re=2,Mt=Qt-Re*2,Pn=dt-Re*2;return{trackHeight:Qt,trackHeightSM:dt,trackMinWidth:Mt*2+Re*4,trackMinWidthSM:Pn*2+Re*2,trackPadding:Re,handleBg:Ot,handleSize:Mt,handleSizeSM:Pn,handleShadow:`0 2px 4px 0 ${new se.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:Mt/2,innerMaxMargin:Mt+Re+Re*2,innerMinMarginSM:Pn/2,innerMaxMarginSM:Pn+Re+Re*2}}),ht=function(qe,Ht){var Zt={};for(var Yt in qe)Object.prototype.hasOwnProperty.call(qe,Yt)&&Ht.indexOf(Yt)<0&&(Zt[Yt]=qe[Yt]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Yt=Object.getOwnPropertySymbols(qe);Ot{const{prefixCls:Zt,size:Yt,disabled:Ot,loading:Qt,className:dt,rootClassName:Re,style:Mt}=qe,Pn=ht(qe,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:mn,direction:kt,switch:_t}=Tt.useContext(te.E_),ln=Tt.useContext(ne.Z),Bn=(Ot!=null?Ot:ln)||Qt,wn=mn("switch",Zt),Kn=Tt.createElement("div",{className:`${wn}-handle`},Qt&&Tt.createElement(Se.Z,{className:`${wn}-loading-icon`})),[yt,Jn]=Xe(wn),bn=(0,ce.Z)(Yt),ci=He()(_t==null?void 0:_t.className,{[`${wn}-small`]:bn==="small",[`${wn}-loading`]:Qt,[`${wn}-rtl`]:kt==="rtl"},dt,Re,Jn),Tn=Object.assign(Object.assign({},_t==null?void 0:_t.style),Mt);return yt(Tt.createElement(Me.Z,{component:"Switch"},Tt.createElement(wt,Object.assign({},Pn,{prefixCls:wn,className:ci,style:Tn,disabled:Bn,ref:Ht,loadingIcon:Kn}))))});Ve.__ANT_SWITCH=!0;var Nt=Ve},2595:function(Rn,Fn,ye){"use strict";ye.d(Fn,{default:function(){return hl}});var Se={},Oe="rc-table-internal-hook",He=ye(29043),Rt=ye(8107),_e=ye(28800),vt=ye(51346),ke=ye(59301),Tt=ye(4676);function Lt(it){var ut=ke.createContext(void 0),Jt=function(An){var gn=An.value,Xn=An.children,Yn=ke.useRef(gn);Yn.current=gn;var Vn=ke.useState(function(){return{getValue:function(){return Yn.current},listeners:new Set}}),Pi=(0,He.Z)(Vn,1),ii=Pi[0];return(0,_e.Z)(function(){(0,Tt.unstable_batchedUpdates)(function(){ii.listeners.forEach(function(yi){yi(gn)})})},[gn]),ke.createElement(ut.Provider,{value:ii},Xn)};return{Context:ut,Provider:Jt,defaultValue:it}}function et(it,ut){var Jt=(0,Rt.Z)(typeof ut=="function"?ut:function(yi){if(ut===void 0)return yi;if(!Array.isArray(ut))return yi[ut];var Ji={};return ut.forEach(function(Ui){Ji[Ui]=yi[Ui]}),Ji}),en=ke.useContext(it==null?void 0:it.Context),An=en||{},gn=An.listeners,Xn=An.getValue,Yn=ke.useRef();Yn.current=Jt(en?Xn():it==null?void 0:it.defaultValue);var Vn=ke.useState({}),Pi=(0,He.Z)(Vn,2),ii=Pi[1];return(0,_e.Z)(function(){if(!en)return;function yi(Ji){var Ui=Jt(Ji);(0,vt.Z)(Yn.current,Ui,!0)||ii({})}return gn.add(yi),function(){gn.delete(yi)}},[en]),Yn.current}var gt=ye(5891),ct=ye(20475);function wt(){var it=ke.createContext(null);function ut(){return ke.useContext(it)}function Jt(An,gn){var Xn=(0,ct.Yr)(An),Yn=function(Pi,ii){var yi=Xn?{ref:ii}:{},Ji=ke.useRef(0),Ui=ke.useRef(Pi),zi=ut();return zi!==null?ke.createElement(An,(0,gt.Z)({},Pi,yi)):((!gn||gn(Ui.current,Pi))&&(Ji.current+=1),Ui.current=Pi,ke.createElement(it.Provider,{value:Ji.current},ke.createElement(An,(0,gt.Z)({},Pi,yi))))};return Xn?ke.forwardRef(Yn):Yn}function en(An,gn){var Xn=(0,ct.Yr)(An),Yn=function(Pi,ii){var yi=Xn?{ref:ii}:{};return ut(),ke.createElement(An,(0,gt.Z)({},Pi,yi))};return Xn?ke.memo(ke.forwardRef(Yn),gn):ke.memo(Yn,gn)}return{makeImmutable:Jt,responseImmutable:en,useImmutableMark:ut}}var Me=wt(),te=Me.makeImmutable,ne=Me.responseImmutable,ce=Me.useImmutableMark,se=wt(),ge=se.makeImmutable,ve=se.responseImmutable,be=se.useImmutableMark,Fe=Lt(),Pe=Fe;function Ie(it,ut){var Jt=ke.useRef(0);Jt.current+=1;var en=ke.useRef(it),An=[];Object.keys(it||{}).map(function(Xn){var Yn;(it==null?void 0:it[Xn])!==((Yn=en.current)===null||Yn===void 0?void 0:Yn[Xn])&&An.push(Xn)}),en.current=it;var gn=ke.useRef([]);return An.length&&(gn.current=An),ke.useDebugValue(Jt.current),ke.useDebugValue(gn.current.join(", ")),ut&&console.log("".concat(ut,":"),Jt.current,gn.current),Jt.current}var We=null,Ke=ke.memo(function(){var it=Ie();return ke.createElement("h1",null,"Render Times: ",it)});Ke.displayName="RenderBlock";var Xe=ye(80665),ht=ye(57259),Ve=ye(80962),Nt=ye(92310),qe=ye.n(Nt),Ht=ye(79722),Zt=ye(69004),Yt=ye(51395),Ot=ke.createContext({renderWithProps:!1}),Qt=Ot,dt="RC_TABLE_KEY";function Re(it){return it==null?[]:Array.isArray(it)?it:[it]}function Mt(it){var ut=[],Jt={};return it.forEach(function(en){for(var An=en||{},gn=An.key,Xn=An.dataIndex,Yn=gn||Re(Xn).join("-")||dt;Jt[Yn];)Yn="".concat(Yn,"_next");Jt[Yn]=!0,ut.push(Yn)}),ut}function Pn(it){return it!=null}function mn(it){return it&&(0,Xe.Z)(it)==="object"&&!Array.isArray(it)&&!ke.isValidElement(it)}function kt(it,ut,Jt,en,An,gn){var Xn=ke.useContext(Qt),Yn=be(),Vn=(0,Ht.Z)(function(){if(Pn(en))return[en];var Pi=ut==null||ut===""?[]:Array.isArray(ut)?ut:[ut],ii=(0,Zt.Z)(it,Pi),yi=ii,Ji=void 0;if(An){var Ui=An(ii,it,Jt);mn(Ui)?(yi=Ui.children,Ji=Ui.props,Xn.renderWithProps=!0):yi=Ui}return[yi,Ji]},[Yn,it,en,ut,An,Jt],function(Pi,ii){if(gn){var yi=(0,He.Z)(Pi,2),Ji=yi[1],Ui=(0,He.Z)(ii,2),zi=Ui[1];return gn(zi,Ji)}return Xn.renderWithProps?!0:!(0,vt.Z)(Pi,ii,!0)});return Vn}function _t(it,ut,Jt,en){var An=it+ut-1;return it<=en&&An>=Jt}function ln(it,ut){return et(Pe,function(Jt){var en=_t(it,ut||1,Jt.hoverStartRow,Jt.hoverEndRow);return[en,Jt.onHover]})}var Bn=function(ut){var Jt=ut.ellipsis,en=ut.rowType,An=ut.children,gn,Xn=Jt===!0?{showTitle:!0}:Jt;return Xn&&(Xn.showTitle||en==="header")&&(typeof An=="string"||typeof An=="number"?gn=An.toString():ke.isValidElement(An)&&typeof An.props.children=="string"&&(gn=An.props.children)),gn};function wn(it){var ut,Jt,en,An,gn,Xn,Yn,Vn,Pi=it.component,ii=it.children,yi=it.ellipsis,Ji=it.scope,Ui=it.prefixCls,zi=it.className,yr=it.align,Ki=it.record,Ar=it.render,Pr=it.dataIndex,Br=it.renderIndex,yo=it.shouldCellUpdate,Lo=it.index,zr=it.rowType,eo=it.colSpan,Ko=it.rowSpan,Or=it.fixLeft,so=it.fixRight,jr=it.firstFixLeft,gr=it.lastFixLeft,Lr=it.firstFixRight,lo=it.lastFixRight,Mo=it.appendNode,No=it.additionalProps,Mr=No===void 0?{}:No,Vo=it.isSticky,_o="".concat(Ui,"-cell"),na=et(Pe,["supportSticky","allColumnsFixedLeft"]),ta=na.supportSticky,Qa=na.allColumnsFixedLeft,fa=kt(Ki,Pr,Br,ii,Ar,yo),Wo=(0,He.Z)(fa,2),wo=Wo[0],To=Wo[1],Ya={},Ia=typeof Or=="number"&&ta,ns=typeof so=="number"&&ta;Ia&&(Ya.position="sticky",Ya.left=Or),ns&&(Ya.position="sticky",Ya.right=so);var Ro=(ut=(Jt=(en=To==null?void 0:To.colSpan)!==null&&en!==void 0?en:Mr.colSpan)!==null&&Jt!==void 0?Jt:eo)!==null&&ut!==void 0?ut:1,bo=(An=(gn=(Xn=To==null?void 0:To.rowSpan)!==null&&Xn!==void 0?Xn:Mr.rowSpan)!==null&&gn!==void 0?gn:Ko)!==null&&An!==void 0?An:1,Zo=ln(Lo,bo),xo=(0,He.Z)(Zo,2),ao=xo[0],qi=xo[1],Zr=function(Do){var Vs;Ki&&qi(Lo,Lo+bo-1),Mr==null||(Vs=Mr.onMouseEnter)===null||Vs===void 0||Vs.call(Mr,Do)},Uo=function(Do){var Vs;Ki&&qi(-1,-1),Mr==null||(Vs=Mr.onMouseLeave)===null||Vs===void 0||Vs.call(Mr,Do)};if(Ro===0||bo===0)return null;var sa=(Yn=Mr.title)!==null&&Yn!==void 0?Yn:Bn({rowType:zr,ellipsis:yi,children:wo}),al=qe()(_o,zi,(Vn={},(0,Ve.Z)(Vn,"".concat(_o,"-fix-left"),Ia&&ta),(0,Ve.Z)(Vn,"".concat(_o,"-fix-left-first"),jr&&ta),(0,Ve.Z)(Vn,"".concat(_o,"-fix-left-last"),gr&&ta),(0,Ve.Z)(Vn,"".concat(_o,"-fix-left-all"),gr&&Qa&&ta),(0,Ve.Z)(Vn,"".concat(_o,"-fix-right"),ns&&ta),(0,Ve.Z)(Vn,"".concat(_o,"-fix-right-first"),Lr&&ta),(0,Ve.Z)(Vn,"".concat(_o,"-fix-right-last"),lo&&ta),(0,Ve.Z)(Vn,"".concat(_o,"-ellipsis"),yi),(0,Ve.Z)(Vn,"".concat(_o,"-with-append"),Mo),(0,Ve.Z)(Vn,"".concat(_o,"-fix-sticky"),(Ia||ns)&&Vo&&ta),(0,Ve.Z)(Vn,"".concat(_o,"-row-hover"),!To&&ao),Vn),Mr.className,To==null?void 0:To.className),zs={};yr&&(zs.textAlign=yr);var Al=(0,ht.Z)((0,ht.Z)((0,ht.Z)((0,ht.Z)({},Ya),Mr.style),zs),To==null?void 0:To.style),ka=wo;return(0,Xe.Z)(ka)==="object"&&!Array.isArray(ka)&&!ke.isValidElement(ka)&&(ka=null),yi&&(gr||Lr)&&(ka=ke.createElement("span",{className:"".concat(_o,"-content")},ka)),ke.createElement(Pi,(0,gt.Z)({},To,Mr,{className:al,style:Al,title:sa,scope:Ji,onMouseEnter:Zr,onMouseLeave:Uo,colSpan:Ro!==1?Ro:null,rowSpan:bo!==1?bo:null}),Mo,ka)}var Kn=ke.memo(wn);function yt(it,ut,Jt,en,An,gn){var Xn=Jt[it]||{},Yn=Jt[ut]||{},Vn,Pi;Xn.fixed==="left"?Vn=en.left[An==="rtl"?ut:it]:Yn.fixed==="right"&&(Pi=en.right[An==="rtl"?it:ut]);var ii=!1,yi=!1,Ji=!1,Ui=!1,zi=Jt[ut+1],yr=Jt[it-1],Ki=!(gn!=null&&gn.children);if(An==="rtl"){if(Vn!==void 0){var Ar=yr&&yr.fixed==="left";Ui=!Ar&&Ki}else if(Pi!==void 0){var Pr=zi&&zi.fixed==="right";Ji=!Pr&&Ki}}else if(Vn!==void 0){var Br=zi&&zi.fixed==="left";ii=!Br&&Ki}else if(Pi!==void 0){var yo=yr&&yr.fixed==="right";yi=!yo&&Ki}return{fixLeft:Vn,fixRight:Pi,lastFixLeft:ii,firstFixRight:yi,lastFixRight:Ji,firstFixLeft:Ui,isSticky:en.isSticky}}var Jn=ke.createContext({}),bn=Jn;function ci(it){var ut=it.className,Jt=it.index,en=it.children,An=it.colSpan,gn=An===void 0?1:An,Xn=it.rowSpan,Yn=it.align,Vn=et(Pe,["prefixCls","direction"]),Pi=Vn.prefixCls,ii=Vn.direction,yi=ke.useContext(bn),Ji=yi.scrollColumnIndex,Ui=yi.stickyOffsets,zi=yi.flattenColumns,yr=yi.columns,Ki=Jt+gn-1,Ar=Ki+1===Ji?gn+1:gn,Pr=yt(Jt,Jt+Ar-1,zi,Ui,ii,yr==null?void 0:yr[Jt]);return ke.createElement(Kn,(0,gt.Z)({className:ut,index:Jt,component:"td",prefixCls:Pi,record:null,dataIndex:null,align:Yn,colSpan:Ar,rowSpan:Xn,render:function(){return en}},Pr))}var Tn=ye(19149),tn=["children"];function $t(it){var ut=it.children,Jt=(0,Tn.Z)(it,tn);return ke.createElement("tr",Jt,ut)}function ft(it){var ut=it.children;return ut}ft.Row=$t,ft.Cell=ci;var Je=ft;function Gt(it){var ut=it.children,Jt=it.stickyOffsets,en=it.flattenColumns,An=it.columns,gn=et(Pe,"prefixCls"),Xn=en.length-1,Yn=en[Xn],Vn=ke.useMemo(function(){return{stickyOffsets:Jt,flattenColumns:en,scrollColumnIndex:Yn!=null&&Yn.scrollbar?Xn:null,columns:An}},[Yn,en,Xn,Jt,An]);return ke.createElement(bn.Provider,{value:Vn},ke.createElement("tfoot",{className:"".concat(gn,"-summary")},ut))}var At=ve(Gt),lt=Je,Ge=ye(80764),Be=ye(29301),we=ye(48886),pe=ye(24387),De=ye(59055),ze=ye(36994);function Le(it,ut,Jt,en,An,gn,Xn){it.push({record:ut,indent:Jt,index:Xn});var Yn=gn(ut),Vn=An==null?void 0:An.has(Yn);if(ut&&Array.isArray(ut[en])&&Vn)for(var Pi=0;Pi1?jr-1:0),Lr=1;Lr=0;Yn-=1){var Vn=ut[Yn],Pi=Jt&&Jt[Yn],ii=Pi&&Pi[Hr];if(Vn||ii||Xn){var yi=ii||{},Ji=yi.columnType,Ui=(0,Tn.Z)(yi,Fr);An.unshift(ke.createElement("col",(0,gt.Z)({key:Yn,style:{width:Vn}},Ui))),Xn=!0}}return ke.createElement("colgroup",null,An)}var Kr=Yr,ar=ye(26390),Co=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function $n(it,ut){return(0,ke.useMemo)(function(){for(var Jt=[],en=0;en1?"colgroup":"col":null,ellipsis:Ki.ellipsis,align:Ki.align,component:Ki.title?gn:Xn,prefixCls:ii,key:Ui[yr]},Ar,{additionalProps:Pr,rowType:"header"}))}))}ki.displayName="HeaderRow";var un=ki;function Wn(it){var ut=[];function Jt(Xn,Yn){var Vn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ut[Vn]=ut[Vn]||[];var Pi=Yn,ii=Xn.filter(Boolean).map(function(yi){var Ji={key:yi.key,className:yi.className||"",children:yi.title,column:yi,colStart:Pi},Ui=1,zi=yi.children;return zi&&zi.length>0&&(Ui=Jt(zi,Pi,Vn+1).reduce(function(yr,Ki){return yr+Ki},0),Ji.hasSubColumns=!0),"colSpan"in yi&&(Ui=yi.colSpan),"rowSpan"in yi&&(Ji.rowSpan=yi.rowSpan),Ji.colSpan=Ui,Ji.colEnd=Ji.colStart+Ui-1,ut[Vn].push(Ji),Pi+=Ui,Ui});return ii}Jt(it,0);for(var en=ut.length,An=function(Yn){ut[Yn].forEach(function(Vn){!("rowSpan"in Vn)&&!Vn.hasSubColumns&&(Vn.rowSpan=en-Yn)})},gn=0;gn1&&arguments[1]!==void 0?arguments[1]:"";return typeof ut=="number"?ut:ut.endsWith("%")?it*parseFloat(ut)/100:null}function Pt(it,ut){return ke.useMemo(function(){if(ut&&ut>0){var Jt=0,en=0;it.forEach(function(Pi){var ii=mt(ut,Pi.width);ii?Jt+=ii:en+=1});var An=ut-Jt,gn=en,Xn=An/en,Yn=0,Vn=it.map(function(Pi){var ii=(0,ht.Z)({},Pi),yi=mt(ut,ii.width);if(yi)ii.width=yi;else{var Ji=Math.floor(Xn);ii.width=gn===1?An:Ji,An-=Ji,gn-=1}return Yn+=ii.width,ii});return[Vn,Yn]}return[it,ut]},[it,ut])}var bt=["children"],tt=["fixed"];function qt(it){return(0,on.Z)(it).filter(function(ut){return ke.isValidElement(ut)}).map(function(ut){var Jt=ut.key,en=ut.props,An=en.children,gn=(0,Tn.Z)(en,bt),Xn=(0,ht.Z)({key:Jt},gn);return An&&(Xn.children=qt(An)),Xn})}function dn(it){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return it.filter(function(Jt){return Jt&&(0,Xe.Z)(Jt)==="object"}).reduce(function(Jt,en,An){var gn=en.fixed,Xn=gn===!0?"left":gn,Yn="".concat(ut,"-").concat(An),Vn=en.children;return Vn&&Vn.length>0?[].concat((0,ar.Z)(Jt),(0,ar.Z)(dn(Vn,Yn).map(function(Pi){return(0,ht.Z)({fixed:Xn},Pi)}))):[].concat((0,ar.Z)(Jt),[(0,ht.Z)((0,ht.Z)({key:Yn},en),{},{fixed:Xn})])},[])}function xt(it){for(var ut=!0,Jt=0;Jt=0;gn-=1){var Xn=it[gn];if(An&&Xn.fixed!=="right")An=!1;else if(!An&&Xn.fixed==="right"){warning(!1,"Index ".concat(gn+1," of `columns` missing `fixed='right'` prop."));break}}}function Ye(it){return it.map(function(ut){var Jt=ut.fixed,en=(0,Tn.Z)(ut,tt),An=Jt;return Jt==="left"?An="right":Jt==="right"&&(An="left"),(0,ht.Z)({fixed:An},en)})}function an(it,ut){var Jt=it.prefixCls,en=it.columns,An=it.children,gn=it.expandable,Xn=it.expandedKeys,Yn=it.columnTitle,Vn=it.getRowKey,Pi=it.onTriggerExpand,ii=it.expandIcon,yi=it.rowExpandable,Ji=it.expandIconColumnIndex,Ui=it.direction,zi=it.expandRowByClick,yr=it.columnWidth,Ki=it.fixed,Ar=it.scrollWidth,Pr=ke.useMemo(function(){return en||qt(An)},[en,An]),Br=ke.useMemo(function(){if(gn){var so,jr=Pr.slice();if(!jr.includes(Se)){var gr=Ji||0;gr>=0&&jr.splice(gr,0,Se)}var Lr=jr.indexOf(Se);jr=jr.filter(function(Mr,Vo){return Mr!==Se||Vo===Lr});var lo=Pr[Lr],Mo;(Ki==="left"||Ki)&&!Ji?Mo="left":(Ki==="right"||Ki)&&Ji===Pr.length?Mo="right":Mo=lo?lo.fixed:null;var No=(so={},(0,Ve.Z)(so,Hr,{className:"".concat(Jt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ve.Z)(so,"title",Yn),(0,Ve.Z)(so,"fixed",Mo),(0,Ve.Z)(so,"className","".concat(Jt,"-row-expand-icon-cell")),(0,Ve.Z)(so,"width",yr),(0,Ve.Z)(so,"render",function(Vo,_o,na){var ta=Vn(_o,na),Qa=Xn.has(ta),fa=yi?yi(_o):!0,Wo=ii({prefixCls:Jt,expanded:Qa,expandable:fa,record:_o,onExpand:Pi});return zi?ke.createElement("span",{onClick:function(To){return To.stopPropagation()}},Wo):Wo}),so);return jr.map(function(Mr){return Mr===Se?No:Mr})}return Pr.filter(function(Mr){return Mr!==Se})},[gn,Pr,Vn,Xn,ii,Ui]),yo=ke.useMemo(function(){var so=Br;return ut&&(so=ut(so)),so.length||(so=[{render:function(){return null}}]),so},[ut,Br,Ui]),Lo=ke.useMemo(function(){return Ui==="rtl"?Ye(dn(yo)):dn(yo)},[yo,Ui,Ar]),zr=Pt(Lo,Ar),eo=(0,He.Z)(zr,2),Ko=eo[0],Or=eo[1];return[yo,Ko,Or]}var Bt=an;function jn(it){var ut,Jt=it.prefixCls,en=it.record,An=it.onExpand,gn=it.expanded,Xn=it.expandable,Yn="".concat(Jt,"-row-expand-icon");if(!Xn)return ke.createElement("span",{className:qe()(Yn,"".concat(Jt,"-row-spaced"))});var Vn=function(ii){An(en,ii),ii.stopPropagation()};return ke.createElement("span",{className:qe()(Yn,(ut={},(0,Ve.Z)(ut,"".concat(Jt,"-row-expanded"),gn),(0,Ve.Z)(ut,"".concat(Jt,"-row-collapsed"),!gn),ut)),onClick:Vn})}function cn(it,ut,Jt){var en=[];function An(gn){(gn||[]).forEach(function(Xn,Yn){en.push(ut(Xn,Yn)),An(Xn[Jt])})}return An(it),en}function Et(it,ut,Jt){var en=Tr(it),An=en.expandIcon,gn=en.expandedRowKeys,Xn=en.defaultExpandedRowKeys,Yn=en.defaultExpandAllRows,Vn=en.expandedRowRender,Pi=en.onExpand,ii=en.onExpandedRowsChange,yi=en.childrenColumnName,Ji=An||jn,Ui=yi||"children",zi=ke.useMemo(function(){return Vn?"row":it.expandable&&it.internalHooks===Oe&&it.expandable.__PARENT_RENDER_ICON__||ut.some(function(Lo){return Lo&&(0,Xe.Z)(Lo)==="object"&&Lo[Ui]})?"nest":!1},[!!Vn,ut]),yr=ke.useState(function(){return Xn||(Yn?cn(ut,Jt,Ui):[])}),Ki=(0,He.Z)(yr,2),Ar=Ki[0],Pr=Ki[1],Br=ke.useMemo(function(){return new Set(gn||Ar||[])},[gn,Ar]),yo=ke.useCallback(function(Lo){var zr=Jt(Lo,ut.indexOf(Lo)),eo,Ko=Br.has(zr);Ko?(Br.delete(zr),eo=(0,ar.Z)(Br)):eo=[].concat((0,ar.Z)(Br),[zr]),Pr(eo),Pi&&Pi(!Ko,Lo),ii&&ii(eo)},[Jt,Br,ut,Pi,ii]);return[en,zi,Br,Ji,Ui,yo]}function xn(it,ut,Jt,en){var An=it.map(function(gn,Xn){return yt(Xn,Xn,it,ut,Jt,en==null?void 0:en[Xn])});return(0,Ht.Z)(function(){return An},[An],function(gn,Xn){return!(0,vt.Z)(gn,Xn)})}function Qn(it){var ut=(0,ke.useRef)(it),Jt=(0,ke.useState)({}),en=(0,He.Z)(Jt,2),An=en[1],gn=(0,ke.useRef)(null),Xn=(0,ke.useRef)([]);function Yn(Vn){Xn.current.push(Vn);var Pi=Promise.resolve();gn.current=Pi,Pi.then(function(){if(gn.current===Pi){var ii=Xn.current,yi=ut.current;Xn.current=[],ii.forEach(function(Ji){ut.current=Ji(ut.current)}),gn.current=null,yi!==ut.current&&An({})}})}return(0,ke.useEffect)(function(){return function(){gn.current=null}},[]),[ut.current,Yn]}function Un(it){var ut=(0,ke.useRef)(it||null),Jt=(0,ke.useRef)();function en(){window.clearTimeout(Jt.current)}function An(Xn){ut.current=Xn,en(),Jt.current=window.setTimeout(function(){ut.current=null,Jt.current=void 0},100)}function gn(){return ut.current}return(0,ke.useEffect)(function(){return en},[]),[An,gn]}function zt(){var it=ke.useState(-1),ut=(0,He.Z)(it,2),Jt=ut[0],en=ut[1],An=ke.useState(-1),gn=(0,He.Z)(An,2),Xn=gn[0],Yn=gn[1],Vn=ke.useCallback(function(Pi,ii){en(Pi),Yn(ii)},[]);return[Jt,Xn,Vn]}var Sn=ye(87746),Ci=(0,Sn.Z)()?window:null;function Si(it,ut){var Jt=(0,Xe.Z)(it)==="object"?it:{},en=Jt.offsetHeader,An=en===void 0?0:en,gn=Jt.offsetSummary,Xn=gn===void 0?0:gn,Yn=Jt.offsetScroll,Vn=Yn===void 0?0:Yn,Pi=Jt.getContainer,ii=Pi===void 0?function(){return Ci}:Pi,yi=ii()||Ci;return ke.useMemo(function(){var Ji=!!it;return{isSticky:Ji,stickyClassName:Ji?"".concat(ut,"-sticky-holder"):"",offsetHeader:An,offsetSummary:Xn,offsetScroll:Vn,container:yi}},[Vn,An,Xn,ut,yi])}function vi(it,ut,Jt){var en=(0,ke.useMemo)(function(){for(var An=[],gn=[],Xn=0,Yn=0,Vn=0;Vn=yi&&(Mr=yi-Ji),Xn({scrollLeft:Mr/yi*(ii+2)}),Pr.current.x=Lr.pageX},so=function(){if(gn.current){var Lr=(0,cr.os)(gn.current).top,lo=Lr+gn.current.offsetHeight,Mo=Vn===window?document.documentElement.scrollTop+window.innerHeight:(0,cr.os)(Vn).top+Vn.clientHeight;lo-(0,De.Z)()<=Mo||Lr>=Mo-Yn?Ar(function(No){return(0,ht.Z)((0,ht.Z)({},No),{},{isHiddenScrollBar:!0})}):Ar(function(No){return(0,ht.Z)((0,ht.Z)({},No),{},{isHiddenScrollBar:!1})})}},jr=function(Lr){Ar(function(lo){return(0,ht.Z)((0,ht.Z)({},lo),{},{scrollLeft:Lr/ii*yi||0})})};return ke.useImperativeHandle(Jt,function(){return{setScrollLeft:jr}}),ke.useEffect(function(){var gr=(0,Zi.Z)(document.body,"mouseup",eo,!1),Lr=(0,Zi.Z)(document.body,"mousemove",Or,!1);return so(),function(){gr.remove(),Lr.remove()}},[Ji,Lo]),ke.useEffect(function(){var gr=(0,Zi.Z)(Vn,"scroll",so,!1),Lr=(0,Zi.Z)(window,"resize",so,!1);return function(){gr.remove(),Lr.remove()}},[Vn]),ke.useEffect(function(){Ki.isHiddenScrollBar||Ar(function(gr){var Lr=gn.current;return Lr?(0,ht.Z)((0,ht.Z)({},gr),{},{scrollLeft:Lr.scrollLeft/Lr.scrollWidth*Lr.clientWidth}):gr})},[Ki.isHiddenScrollBar]),ii<=yi||!Ji||Ki.isHiddenScrollBar?null:ke.createElement("div",{style:{height:(0,De.Z)(),width:yi,bottom:Yn},className:"".concat(Pi,"-sticky-scroll")},ke.createElement("div",{onMouseDown:Ko,ref:Ui,className:qe()("".concat(Pi,"-sticky-scroll-bar"),(0,Ve.Z)({},"".concat(Pi,"-sticky-scroll-bar-active"),Lo)),style:{width:"".concat(Ji,"px"),transform:"translate3d(".concat(Ki.scrollLeft,"px, 0, 0)")}}))},Ai=ke.forwardRef(Gn);function br(it){return null}var kr=br;function Sr(it){return null}var Xt=Sr,Li="rc-table",rr=[],Hi={};function Er(){return"No Data"}function dr(it){var ut,Jt=(0,ht.Z)({rowKey:"key",prefixCls:Li,emptyText:Er},it),en=Jt.prefixCls,An=Jt.className,gn=Jt.rowClassName,Xn=Jt.style,Yn=Jt.data,Vn=Jt.rowKey,Pi=Jt.scroll,ii=Jt.tableLayout,yi=Jt.direction,Ji=Jt.title,Ui=Jt.footer,zi=Jt.summary,yr=Jt.caption,Ki=Jt.id,Ar=Jt.showHeader,Pr=Jt.components,Br=Jt.emptyText,yo=Jt.onRow,Lo=Jt.onHeaderRow,zr=Jt.internalHooks,eo=Jt.transformColumns,Ko=Jt.internalRefs,Or=Jt.tailor,so=Jt.sticky,jr=Yn||rr,gr=!!jr.length,Lr=zr===Oe,lo=ke.useCallback(function(Va,Es){return(0,Zt.Z)(Pr,Va)||Es},[Pr]),Mo=ke.useMemo(function(){return typeof Vn=="function"?Vn:function(Va){var Es=Va&&Va[Vn];return Es}},[Vn]),No=lo(["body"]),Mr=zt(),Vo=(0,He.Z)(Mr,3),_o=Vo[0],na=Vo[1],ta=Vo[2],Qa=Et(Jt,jr,Mo),fa=(0,He.Z)(Qa,6),Wo=fa[0],wo=fa[1],To=fa[2],Ya=fa[3],Ia=fa[4],ns=fa[5],Ro=Pi==null?void 0:Pi.x,bo=ke.useState(0),Zo=(0,He.Z)(bo,2),xo=Zo[0],ao=Zo[1],qi=Bt((0,ht.Z)((0,ht.Z)((0,ht.Z)({},Jt),Wo),{},{expandable:!!Wo.expandedRowRender,columnTitle:Wo.columnTitle,expandedKeys:To,getRowKey:Mo,onTriggerExpand:ns,expandIcon:Ya,expandIconColumnIndex:Wo.expandIconColumnIndex,direction:yi,scrollWidth:Lr&&Or&&typeof Ro=="number"?Ro:null}),Lr?eo:null),Zr=(0,He.Z)(qi,3),Uo=Zr[0],sa=Zr[1],al=Zr[2],zs=al!=null?al:Ro,Al=ke.useMemo(function(){return{columns:Uo,flattenColumns:sa}},[Uo,sa]),ka=ke.useRef(),Ua=ke.useRef(),Do=ke.useRef(),Vs=ke.useRef(),Ll=ke.useRef(),Wa=ke.useState(!1),_a=(0,He.Z)(Wa,2),is=_a[0],bs=_a[1],Gs=ke.useState(!1),xa=(0,He.Z)(Gs,2),ss=xa[0],Js=xa[1],Xa=Qn(new Map),zo=(0,He.Z)(Xa,2),Ms=zo[0],Ys=zo[1],Wu=Mt(sa),vu=Wu.map(function(Va){return Ms.get(Va)}),$a=ke.useMemo(function(){return vu},[vu.join("_")]),Ml=ti($a,sa.length,yi),Ps=Pi&&Pn(Pi.y),ps=Pi&&Pn(zs)||!!Wo.fixed,ku=ps&&sa.some(function(Va){var Es=Va.fixed;return Es}),Cc=ke.useRef(),ql=Si(so,en),ac=ql.isSticky,sc=ql.offsetHeader,yu=ql.offsetSummary,Ra=ql.offsetScroll,ls=ql.stickyClassName,Qs=ql.container,ms=ke.useMemo(function(){return zi==null?void 0:zi(jr)},[zi,jr]),za=(Ps||ac)&&ke.isValidElement(ms)&&ms.type===Je&&ms.props.fixed,_s,Rl,Zu;Ps&&(Rl={overflowY:"scroll",maxHeight:Pi.y}),ps&&(_s={overflowX:"auto"},Ps||(Rl={overflowY:"hidden"}),Zu={width:zs===!0?"auto":zs,minWidth:"100%"});var uh=ke.useCallback(function(Va,Es){(0,we.Z)(ka.current)&&Ys(function(Dl){if(Dl.get(Va)!==Es){var Du=new Map(Dl);return Du.set(Va,Es),Du}return Dl})},[]),pn=Un(null),Rc=(0,He.Z)(pn,2),bc=Rc[0],jh=Rc[1];function bd(Va,Es){Es&&(typeof Es=="function"?Es(Va):Es.scrollLeft!==Va&&(Es.scrollLeft=Va,Es.scrollLeft!==Va&&setTimeout(function(){Es.scrollLeft=Va},0)))}var _c=(0,Rt.Z)(function(Va){var Es=Va.currentTarget,Dl=Va.scrollLeft,Du=yi==="rtl",Bu=typeof Dl=="number"?Dl:Es.scrollLeft,hh=Es||Hi;if(!jh()||jh()===hh){var ed;bc(hh),bd(Bu,Ua.current),bd(Bu,Do.current),bd(Bu,Ll.current),bd(Bu,(ed=Cc.current)===null||ed===void 0?void 0:ed.setScrollLeft)}var Jd=Es||Ua.current;if(Jd){var Qu=Jd.scrollWidth,uc=Jd.clientWidth;if(Qu===uc){bs(!1),Js(!1);return}Du?(bs(-Bu0)):(bs(Bu>0),Js(Bu1?yr-Lr:0,Mo=(0,ht.Z)((0,ht.Z)((0,ht.Z)({},eo),Vn),{},{flex:"0 0 ".concat(Lr,"px"),width:"".concat(Lr,"px"),marginRight:lo,pointerEvents:"auto"}),No=ke.useMemo(function(){return ii?jr<=1:Or===0||jr===0||jr>1},[jr,Or,ii]);No?Mo.visibility="hidden":ii&&(Mo.height=yi==null?void 0:yi(jr));var Mr=No?function(){return null}:Ji,Vo={};return(jr===0||Or===0)&&(Vo.rowSpan=1,Vo.colSpan=1),ke.createElement(Kn,(0,gt.Z)({className:qe()(zi,Pi),ellipsis:Jt.ellipsis,align:Jt.align,scope:Jt.rowScope,component:"div",prefixCls:ut.prefixCls,key:Br,record:Yn,index:gn,renderIndex:Xn,dataIndex:Ui,render:Mr,shouldCellUpdate:Jt.shouldCellUpdate},yo,{appendNode:Lo,additionalProps:(0,ht.Z)((0,ht.Z)({},zr),{},{style:Mo},Vo)}))}var Qr=pr,vr=["data","index","className","rowKey","style","extra","getHeight"],Ho=ke.forwardRef(function(it,ut){var Jt=it.data,en=it.index,An=it.className,gn=it.rowKey,Xn=it.style,Yn=it.extra,Vn=it.getHeight,Pi=(0,Tn.Z)(it,vr),ii=Jt.record,yi=Jt.indent,Ji=Jt.index,Ui=et(Pe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),zi=Ui.scrollX,yr=Ui.flattenColumns,Ki=Ui.prefixCls,Ar=Ui.fixColumn,Pr=Ui.componentWidth,Br=rn(ii,gn,en,yi),yo=Br.rowSupportExpand,Lo=Br.expanded,zr=Br.rowProps,eo=Br.expandedRowRender,Ko=Br.expandedRowClassName,Or;if(yo&&Lo){var so=eo(ii,en,yi+1,Lo),jr=Ko==null?void 0:Ko(ii,en,yi),gr={};Ar&&(gr={style:(0,Ve.Z)({},"--virtual-width","".concat(Pr,"px"))});var Lr="".concat(Ki,"-expanded-row-cell");Or=ke.createElement("div",{className:qe()("".concat(Ki,"-expanded-row"),"".concat(Ki,"-expanded-row-level-").concat(yi+1),jr)},ke.createElement(Kn,{component:"div",prefixCls:Ki,className:qe()(Lr,(0,Ve.Z)({},"".concat(Lr,"-fixed"),Ar)),additionalProps:gr},so))}var lo=(0,ht.Z)((0,ht.Z)({},Xn),{},{width:zi});Yn&&(lo.position="absolute",lo.pointerEvents="none");var Mo=ke.createElement("div",(0,gt.Z)({},zr,Pi,{ref:yo?null:ut,className:qe()(An,"".concat(Ki,"-row"),zr==null?void 0:zr.className,(0,Ve.Z)({},"".concat(Ki,"-row-extra"),Yn)),style:(0,ht.Z)((0,ht.Z)({},lo),zr==null?void 0:zr.style)}),yr.map(function(No,Mr){return ke.createElement(Qr,{key:Mr,rowInfo:Br,column:No,colIndex:Mr,indent:yi,index:en,renderIndex:Ji,record:ii,inverse:Yn,getHeight:Vn})}));return yo?ke.createElement("div",{ref:ut},Mo,Or):Mo}),co=ve(Ho),mr=co,hr=ke.forwardRef(function(it,ut){var Jt=it.data,en=it.onScroll,An=et(Pe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),gn=An.flattenColumns,Xn=An.onColumnResize,Yn=An.getRowKey,Vn=An.expandedKeys,Pi=An.prefixCls,ii=An.childrenColumnName,yi=An.emptyNode,Ji=An.scrollX,Ui=et(kn),zi=Ui.scrollY,yr=Ui.listItemHeight,Ki=ke.useRef(),Ar=nt(Jt,ii,Vn,Yn),Pr=ke.useMemo(function(){var Or=0;return gn.map(function(so){var jr=so.width,gr=so.key;return Or+=jr,[gr,jr,Or]})},[gn]),Br=ke.useMemo(function(){return Pr.map(function(Or){return Or[2]})},[Pr]);ke.useEffect(function(){Pr.forEach(function(Or){var so=(0,He.Z)(Or,2),jr=so[0],gr=so[1];Xn(jr,gr)})},[Pr]),ke.useImperativeHandle(ut,function(){var Or={};return Object.defineProperty(Or,"scrollLeft",{get:function(){var jr;return((jr=Ki.current)===null||jr===void 0?void 0:jr.getScrollInfo().x)||0},set:function(jr){var gr;(gr=Ki.current)===null||gr===void 0||gr.scrollTo({left:jr})}}),Or});var yo=function(so,jr){var gr,Lr=(gr=Ar[jr])===null||gr===void 0?void 0:gr.record,lo=so.onCell;if(lo){var Mo,No=lo(Lr,jr);return(Mo=No==null?void 0:No.rowSpan)!==null&&Mo!==void 0?Mo:1}return 1},Lo=function(so){var jr=so.start,gr=so.end,Lr=so.getSize,lo=so.offsetY;if(gr<0)return null;for(var Mo=gn.filter(function(Ro){return yo(Ro,jr)===0}),No=jr,Mr=function(bo){if(Mo=Mo.filter(function(Zo){return yo(Zo,bo)===0}),!Mo.length)return No=bo,"break"},Vo=jr;Vo>=0;Vo-=1){var _o=Mr(Vo);if(_o==="break")break}for(var na=gn.filter(function(Ro){return yo(Ro,gr)!==1}),ta=gr,Qa=function(bo){if(na=na.filter(function(Zo){return yo(Zo,bo)!==1}),!na.length)return ta=Math.max(bo-1,gr),"break"},fa=gr;fa1})&&wo.push(bo)},Ya=No;Ya<=ta;Ya+=1)var Ia=To(Ya);var ns=wo.map(function(Ro){var bo=Ar[Ro],Zo=Yn(bo.record,Ro),xo=function(Zr){var Uo=Ro+Zr-1,sa=Yn(Ar[Uo].record,Uo),al=Lr(Zo,sa);return al.bottom-al.top},ao=Lr(Zo);return ke.createElement(mr,{key:Ro,data:bo,rowKey:Zo,index:Ro,style:{top:-lo+ao.top},extra:!0,getHeight:xo})});return ns},zr=ke.useMemo(function(){return{columnsOffset:Br}},[Br]),eo="".concat(Pi,"-tbody"),Ko;return Ar.length?Ko=ke.createElement(er.Z,{fullHeight:!1,ref:Ki,className:qe()(eo,"".concat(eo,"-virtual")),height:zi,itemHeight:yr||24,data:Ar,itemKey:function(so){return Yn(so.record)},scrollWidth:Ji,onVirtualScroll:function(so){var jr=so.x;en({scrollLeft:jr})},extraRender:Lo},function(Or,so,jr){var gr=Yn(Or.record,so);return ke.createElement(mr,(0,gt.Z)({data:Or,rowKey:gr,index:so},jr))}):Ko=ke.createElement("div",{className:qe()("".concat(Pi,"-placeholder"))},ke.createElement(Kn,{component:"div",prefixCls:Pi},yi)),ke.createElement(Dr.Provider,{value:zr},Ko)}),fr=ve(hr),Vr=fr,Ii=function(ut,Jt){var en=Jt.ref,An=Jt.onScroll;return ke.createElement(Vr,{ref:en,data:ut,onScroll:An})},Qe=100;function pt(it){var ut=it.columns,Jt=it.scroll,en=it.prefixCls,An=en===void 0?Li:en,gn=it.className,Xn=it.listItemHeight,Yn=Jt||{},Vn=Yn.x,Pi=Yn.y;typeof Vn!="number"&&(Vn=((ut||[]).length+1)*Qe),typeof Pi!="number"&&(Pi=500);var ii=ke.useMemo(function(){return{scrollY:Pi,listItemHeight:Xn}},[Pi,Xn]);return ke.createElement(kn.Provider,{value:ii},ke.createElement(Qi,(0,gt.Z)({},it,{className:qe()(gn,"".concat(An,"-virtual")),scroll:(0,ht.Z)((0,ht.Z)({},Jt),{},{x:Vn}),components:{body:Ii},columns:ut,internalHooks:Oe,tailor:!0})))}function It(it){return ge(pt,it)}var sn=It(),Hn=null;function On(it){return null}var Wt=On;function Nn(it){return null}var ai=Nn,qn=ye(64002),Oi=ye(68031),Bi=ye(36355),pi=ye(93891),Gi=ye(19716),zn=ye(8628),_r=ye(31724),Gr=ye(25700),Ao=ye(71418),qr=ye(88088);function $r(it){return function(Jt){let{prefixCls:en,onExpand:An,record:gn,expanded:Xn,expandable:Yn}=Jt;const Vn=`${en}-row-expand-icon`;return ke.createElement("button",{type:"button",onClick:Pi=>{An(gn,Pi),Pi.stopPropagation()},className:qe()(Vn,{[`${Vn}-spaced`]:!Yn,[`${Vn}-expanded`]:Yn&&Xn,[`${Vn}-collapsed`]:Yn&&!Xn}),"aria-label":Xn?it.collapse:it.expand,"aria-expanded":Xn})}}var to=$r;function $o(it,ut){return"key"in it&&it.key!==void 0&&it.key!==null?it.key:it.dataIndex?Array.isArray(it.dataIndex)?it.dataIndex.join("."):it.dataIndex:ut}function Qo(it,ut){return ut?`${ut}-${it}`:`${it}`}function pa(it,ut){return typeof it=="function"?it(ut):it}function qo(it,ut){const Jt=pa(it,ut);return Object.prototype.toString.call(Jt)==="[object Object]"?"":Jt}var Cn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ca=Cn,es=ye(88853),ts=function(ut,Jt){return ke.createElement(es.Z,(0,gt.Z)({},ut,{ref:Jt,icon:ca}))},Ga=ke.forwardRef(ts),Ds=Ga,pl=ye(56762);function ma(it){const ut=ke.useRef(it),Jt=(0,pl.Z)();return[()=>ut.current,en=>{ut.current=en,Jt()}]}var Fo=ye(3113),Oo=ye(24905),Pa=ye(38854),no=ye(64165),ko=ye(20834),oo=ye(40875),Vi=ye(5112),ha=ye(86914),Na=ye(21970),Bs=ye(92832);function ys(it){let{value:ut,onChange:Jt,filterSearch:en,tablePrefixCls:An,locale:gn}=it;return en?ke.createElement("div",{className:`${An}-filter-dropdown-search`},ke.createElement(Bs.default,{prefix:ke.createElement(Na.Z,null),placeholder:gn.filterSearchPlaceholder,onChange:Jt,value:ut,htmlSize:1,className:`${An}-filter-dropdown-search-input`})):null}var nl=ys,Yi=ye(85108);const Da=it=>{const{keyCode:ut}=it;ut===Yi.Z.ENTER&&it.stopPropagation()};var Is=ke.forwardRef((it,ut)=>ke.createElement("div",{className:it.className,onClick:Jt=>Jt.stopPropagation(),onKeyDown:Da,ref:ut},it.children));function ml(it){let ut=[];return(it||[]).forEach(Jt=>{let{value:en,children:An}=Jt;ut.push(en),An&&(ut=[].concat((0,ar.Z)(ut),(0,ar.Z)(ml(An))))}),ut}function Gl(it){return it.some(ut=>{let{children:Jt}=ut;return Jt})}function So(it,ut){return typeof ut=="string"||typeof ut=="number"?ut==null?void 0:ut.toString().toLowerCase().includes(it.trim().toLowerCase()):!1}function Au(it){let{filters:ut,prefixCls:Jt,filteredKeys:en,filterMultiple:An,searchValue:gn,filterSearch:Xn}=it;return ut.map((Yn,Vn)=>{const Pi=String(Yn.value);if(Yn.children)return{key:Pi||Vn,label:Yn.text,popupClassName:`${Jt}-dropdown-submenu`,children:Au({filters:Yn.children,prefixCls:Jt,filteredKeys:en,filterMultiple:An,searchValue:gn,filterSearch:Xn})};const ii=An?Oo.default:Vi.ZP,yi={key:Yn.value!==void 0?Pi:Vn,label:ke.createElement(ke.Fragment,null,ke.createElement(ii,{checked:en.includes(Pi)}),ke.createElement("span",null,Yn.text))};return gn.trim()?typeof Xn=="function"?Xn(gn,Yn)?yi:null:So(gn,Yn.text)?yi:null:yi})}function il(it){var ut,Jt;const{tablePrefixCls:en,prefixCls:An,column:gn,dropdownPrefixCls:Xn,columnKey:Yn,filterMultiple:Vn,filterMode:Pi="menu",filterSearch:ii=!1,filterState:yi,triggerFilter:Ji,locale:Ui,children:zi,getPopupContainer:yr}=it,{filterDropdownOpen:Ki,onFilterDropdownOpenChange:Ar,filterResetToDefaultFilteredValue:Pr,defaultFilteredValue:Br,filterDropdownVisible:yo,onFilterDropdownVisibleChange:Lo}=gn,[zr,eo]=ke.useState(!1),Ko=!!(yi&&(!((ut=yi.filteredKeys)===null||ut===void 0)&&ut.length||yi.forceFiltered)),Or=qi=>{eo(qi),Ar==null||Ar(qi),Lo==null||Lo(qi)},so=(Jt=Ki!=null?Ki:yo)!==null&&Jt!==void 0?Jt:zr,jr=yi==null?void 0:yi.filteredKeys,[gr,Lr]=ma(jr||[]),lo=qi=>{let{selectedKeys:Zr}=qi;Lr(Zr)},Mo=(qi,Zr)=>{let{node:Uo,checked:sa}=Zr;lo(Vn?{selectedKeys:qi}:{selectedKeys:sa&&Uo.key?[Uo.key]:[]})};ke.useEffect(()=>{zr&&lo({selectedKeys:jr||[]})},[jr]);const[No,Mr]=ke.useState([]),Vo=qi=>{Mr(qi)},[_o,na]=ke.useState(""),ta=qi=>{const{value:Zr}=qi.target;na(Zr)};ke.useEffect(()=>{zr||na("")},[zr]);const Qa=qi=>{const Zr=qi&&qi.length?qi:null;if(Zr===null&&(!yi||!yi.filteredKeys)||(0,vt.Z)(Zr,yi==null?void 0:yi.filteredKeys,!0))return null;Ji({column:gn,key:Yn,filteredKeys:Zr})},fa=()=>{Or(!1),Qa(gr())},Wo=function(){let{confirm:qi,closeDropdown:Zr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};qi&&Qa([]),Zr&&Or(!1),na(""),Lr(Pr?(Br||[]).map(Uo=>String(Uo)):[])},wo=function(){let{closeDropdown:qi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};qi&&Or(!1),Qa(gr())},To=qi=>{qi&&jr!==void 0&&Lr(jr||[]),Or(qi),!qi&&!gn.filterDropdown&&fa()},Ya=qe()({[`${Xn}-menu-without-submenu`]:!Gl(gn.filters||[])}),Ia=qi=>{if(qi.target.checked){const Zr=ml(gn==null?void 0:gn.filters).map(Uo=>String(Uo));Lr(Zr)}else Lr([])},ns=qi=>{let{filters:Zr}=qi;return(Zr||[]).map((Uo,sa)=>{const al=String(Uo.value),zs={title:Uo.text,key:Uo.value!==void 0?al:sa};return Uo.children&&(zs.children=ns({filters:Uo.children})),zs})},Ro=qi=>{var Zr;return Object.assign(Object.assign({},qi),{text:qi.title,value:qi.key,children:((Zr=qi.children)===null||Zr===void 0?void 0:Zr.map(Uo=>Ro(Uo)))||[]})};let bo;if(typeof gn.filterDropdown=="function")bo=gn.filterDropdown({prefixCls:`${Xn}-custom`,setSelectedKeys:qi=>lo({selectedKeys:qi}),selectedKeys:gr(),confirm:wo,clearFilters:Wo,filters:gn.filters,visible:so,close:()=>{Or(!1)}});else if(gn.filterDropdown)bo=gn.filterDropdown;else{const qi=gr()||[],Zr=()=>(gn.filters||[]).length===0?ke.createElement(no.Z,{image:no.Z.PRESENTED_IMAGE_SIMPLE,description:Ui.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Pi==="tree"?ke.createElement(ke.Fragment,null,ke.createElement(nl,{filterSearch:ii,value:_o,onChange:ta,tablePrefixCls:en,locale:Ui}),ke.createElement("div",{className:`${en}-filter-dropdown-tree`},Vn?ke.createElement(Oo.default,{checked:qi.length===ml(gn.filters).length,indeterminate:qi.length>0&&qi.lengthtypeof ii=="function"?ii(_o,Ro(sa)):So(_o,sa.title):void 0}))):ke.createElement(ke.Fragment,null,ke.createElement(nl,{filterSearch:ii,value:_o,onChange:ta,tablePrefixCls:en,locale:Ui}),ke.createElement(ko.default,{selectable:!0,multiple:Vn,prefixCls:`${Xn}-menu`,className:Ya,onSelect:lo,onDeselect:lo,selectedKeys:qi,getPopupContainer:yr,openKeys:No,onOpenChange:Vo,items:Au({filters:gn.filters||[],filterSearch:ii,prefixCls:An,filteredKeys:gr(),filterMultiple:Vn,searchValue:_o})})),Uo=()=>Pr?(0,vt.Z)((Br||[]).map(sa=>String(sa)),qi,!0):qi.length===0;bo=ke.createElement(ke.Fragment,null,Zr(),ke.createElement("div",{className:`${An}-dropdown-btns`},ke.createElement(Fo.ZP,{type:"link",size:"small",disabled:Uo(),onClick:()=>Wo()},Ui.filterReset),ke.createElement(Fo.ZP,{type:"primary",size:"small",onClick:fa},Ui.filterConfirm)))}gn.filterDropdown&&(bo=ke.createElement(oo.J,{selectable:void 0},bo));const Zo=()=>ke.createElement(Is,{className:`${An}-dropdown`},bo);let xo;typeof gn.filterIcon=="function"?xo=gn.filterIcon(Ko):gn.filterIcon?xo=gn.filterIcon:xo=ke.createElement(Ds,null);const{direction:ao}=ke.useContext(Bi.E_);return ke.createElement("div",{className:`${An}-column`},ke.createElement("span",{className:`${en}-column-title`},zi),ke.createElement(Pa.Z,{dropdownRender:Zo,trigger:["click"],open:so,onOpenChange:To,getPopupContainer:yr,placement:ao==="rtl"?"bottomLeft":"bottomRight"},ke.createElement("span",{role:"button",tabIndex:-1,className:qe()(`${An}-trigger`,{active:Ko}),onClick:qi=>{qi.stopPropagation()}},xo)))}var kl=il;function vl(it,ut,Jt){let en=[];return(it||[]).forEach((An,gn)=>{var Xn;const Yn=Qo(gn,Jt);if(An.filters||"filterDropdown"in An||"onFilter"in An)if("filteredValue"in An){let Vn=An.filteredValue;"filterDropdown"in An||(Vn=(Xn=Vn==null?void 0:Vn.map(String))!==null&&Xn!==void 0?Xn:Vn),en.push({column:An,key:$o(An,Yn),filteredKeys:Vn,forceFiltered:An.filtered})}else en.push({column:An,key:$o(An,Yn),filteredKeys:ut&&An.defaultFilteredValue?An.defaultFilteredValue:void 0,forceFiltered:An.filtered});"children"in An&&(en=[].concat((0,ar.Z)(en),(0,ar.Z)(vl(An.children,ut,Yn))))}),en}function fu(it,ut,Jt,en,An,gn,Xn,Yn){return Jt.map((Vn,Pi)=>{const ii=Qo(Pi,Yn),{filterMultiple:yi=!0,filterMode:Ji,filterSearch:Ui}=Vn;let zi=Vn;if(zi.filters||zi.filterDropdown){const yr=$o(zi,ii),Ki=en.find(Ar=>{let{key:Pr}=Ar;return yr===Pr});zi=Object.assign(Object.assign({},zi),{title:Ar=>ke.createElement(kl,{tablePrefixCls:it,prefixCls:`${it}-filter`,dropdownPrefixCls:ut,column:zi,columnKey:yr,filterState:Ki,filterMultiple:yi,filterMode:Ji,filterSearch:Ui,triggerFilter:gn,locale:An,getPopupContainer:Xn},pa(Vn.title,Ar))})}return"children"in zi&&(zi=Object.assign(Object.assign({},zi),{children:fu(it,ut,zi.children,en,An,gn,Xn,ii)})),zi})}function yl(it){const ut={};return it.forEach(Jt=>{let{key:en,filteredKeys:An,column:gn}=Jt;const{filters:Xn,filterDropdown:Yn}=gn;if(Yn)ut[en]=An||null;else if(Array.isArray(An)){const Vn=ml(Xn);ut[en]=Vn.filter(Pi=>An.includes(String(Pi)))}else ut[en]=null}),ut}function rl(it,ut){return ut.reduce((Jt,en)=>{const{column:{onFilter:An,filters:gn},filteredKeys:Xn}=en;return An&&Xn&&Xn.length?Jt.filter(Yn=>Xn.some(Vn=>{const Pi=ml(gn),ii=Pi.findIndex(Ji=>String(Ji)===String(Vn)),yi=ii!==-1?Pi[ii]:Vn;return An(yi,Yn)})):Jt},it)}const Sl=it=>it.flatMap(ut=>"children"in ut?[ut].concat((0,ar.Z)(Sl(ut.children||[]))):[ut]);function oc(it){let{prefixCls:ut,dropdownPrefixCls:Jt,mergedColumns:en,onFilterChange:An,getPopupContainer:gn,locale:Xn}=it;const Yn=ke.useMemo(()=>Sl(en||[]),[en]),[Vn,Pi]=ke.useState(()=>vl(Yn,!0)),ii=ke.useMemo(()=>{const zi=vl(Yn,!1);if(zi.length===0)return zi;let yr=!0,Ki=!0;if(zi.forEach(Ar=>{let{filteredKeys:Pr}=Ar;Pr!==void 0?yr=!1:Ki=!1}),yr){const Ar=(Yn||[]).map((Pr,Br)=>$o(Pr,Qo(Br)));return Vn.filter(Pr=>{let{key:Br}=Pr;return Ar.includes(Br)}).map(Pr=>{const Br=Yn[Ar.findIndex(yo=>yo===Pr.key)];return Object.assign(Object.assign({},Pr),{column:Object.assign(Object.assign({},Pr.column),Br),forceFiltered:Br.filtered})})}return zi},[Yn,Vn]),yi=ke.useMemo(()=>yl(ii),[ii]),Ji=zi=>{const yr=ii.filter(Ki=>{let{key:Ar}=Ki;return Ar!==zi.key});yr.push(zi),Pi(yr),An(yl(yr),yr)};return[zi=>fu(ut,Jt,zi,ii,Xn,Ji,gn),ii,yi]}var Sc=oc;function xc(it,ut,Jt){const en=ke.useRef({});function An(gn){if(!en.current||en.current.data!==it||en.current.childrenColumnName!==ut||en.current.getRowKey!==Jt){let Yn=function(Vn){Vn.forEach((Pi,ii)=>{const yi=Jt(Pi,ii);Xn.set(yi,Pi),Pi&&typeof Pi=="object"&&ut in Pi&&Yn(Pi[ut]||[])})};const Xn=new Map;Yn(it),en.current={data:it,childrenColumnName:ut,kvMap:Xn,getRowKey:Jt}}return en.current.kvMap.get(gn)}return[An]}var Qc=ye(50371),gu=function(it,ut){var Jt={};for(var en in it)Object.prototype.hasOwnProperty.call(it,en)&&ut.indexOf(en)<0&&(Jt[en]=it[en]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var An=0,en=Object.getOwnPropertySymbols(it);An{const gn=it[An];typeof gn!="function"&&(Jt[An]=gn)}),Jt}function Tl(it,ut,Jt){const en=Jt&&typeof Jt=="object"?Jt:{},{total:An=0}=en,gn=gu(en,["total"]),[Xn,Yn]=(0,ke.useState)(()=>({current:"defaultCurrent"in gn?gn.defaultCurrent:1,pageSize:"defaultPageSize"in gn?gn.defaultPageSize:zl})),Vn=(0,Qc.Z)(Xn,gn,{total:An>0?An:it}),Pi=Math.ceil((An||it)/Vn.pageSize);Vn.current>Pi&&(Vn.current=Pi||1);const ii=(Ji,Ui)=>{Yn({current:Ji!=null?Ji:1,pageSize:Ui||Vn.pageSize})},yi=(Ji,Ui)=>{var zi;Jt&&((zi=Jt.onChange)===null||zi===void 0||zi.call(Jt,Ji,Ui)),ii(Ji,Ui),ut(Ji,Ui||(Vn==null?void 0:Vn.pageSize))};return Jt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Vn),{onChange:yi}),ii]}var pu=Tl,wc=ye(18290),mu=ye(35654),Xo=ye(90782),va=ye(71430),dl=ye(35788);const Cs={},Ss="SELECT_ALL",os="SELECT_INVERT",hs="SELECT_NONE",Ls=[],xs=(it,ut)=>{let Jt=[];return(ut||[]).forEach(en=>{Jt.push(en),en&&typeof en=="object"&&it in en&&(Jt=[].concat((0,ar.Z)(Jt),(0,ar.Z)(xs(it,en[it]))))}),Jt};var Ts=(it,ut)=>{const{preserveSelectedRowKeys:Jt,selectedRowKeys:en,defaultSelectedRowKeys:An,getCheckboxProps:gn,onChange:Xn,onSelect:Yn,onSelectAll:Vn,onSelectInvert:Pi,onSelectNone:ii,onSelectMultiple:yi,columnWidth:Ji,type:Ui,selections:zi,fixed:yr,renderCell:Ki,hideSelectAll:Ar,checkStrictly:Pr=!0}=ut||{},{prefixCls:Br,data:yo,pageData:Lo,getRecordByKey:zr,getRowKey:eo,expandType:Ko,childrenColumnName:Or,locale:so,getPopupContainer:jr}=it,[gr,Lr]=(0,dl.Z)(en||An||Ls,{value:en}),lo=ke.useRef(new Map),Mo=(0,ke.useCallback)(Ro=>{if(Jt){const bo=new Map;Ro.forEach(Zo=>{let xo=zr(Zo);!xo&&lo.current.has(Zo)&&(xo=lo.current.get(Zo)),bo.set(Zo,xo)}),lo.current=bo}},[zr,Jt]);ke.useEffect(()=>{Mo(gr)},[gr]);const{keyEntities:No}=(0,ke.useMemo)(()=>{if(Pr)return{keyEntities:null};let Ro=yo;if(Jt){const bo=new Set(yo.map((xo,ao)=>eo(xo,ao))),Zo=Array.from(lo.current).reduce((xo,ao)=>{let[qi,Zr]=ao;return bo.has(qi)?xo:xo.concat(Zr)},[]);Ro=[].concat((0,ar.Z)(Ro),(0,ar.Z)(Zo))}return(0,va.I8)(Ro,{externalGetKey:eo,childrenPropName:Or})},[yo,eo,Pr,Or,Jt]),Mr=(0,ke.useMemo)(()=>xs(Or,Lo),[Or,Lo]),Vo=(0,ke.useMemo)(()=>{const Ro=new Map;return Mr.forEach((bo,Zo)=>{const xo=eo(bo,Zo),ao=(gn?gn(bo):null)||{};Ro.set(xo,ao)}),Ro},[Mr,eo,gn]),_o=(0,ke.useCallback)(Ro=>{var bo;return!!(!((bo=Vo.get(eo(Ro)))===null||bo===void 0)&&bo.disabled)},[Vo,eo]),[na,ta]=(0,ke.useMemo)(()=>{if(Pr)return[gr||[],[]];const{checkedKeys:Ro,halfCheckedKeys:bo}=(0,Xo.S)(gr,!0,No,_o);return[Ro||[],bo]},[gr,Pr,No,_o]),Qa=(0,ke.useMemo)(()=>{const Ro=Ui==="radio"?na.slice(0,1):na;return new Set(Ro)},[na,Ui]),fa=(0,ke.useMemo)(()=>Ui==="radio"?new Set:new Set(ta),[ta,Ui]),[Wo,wo]=(0,ke.useState)(null);ke.useEffect(()=>{ut||Lr(Ls)},[!!ut]);const To=(0,ke.useCallback)((Ro,bo)=>{let Zo,xo;Mo(Ro),Jt?(Zo=Ro,xo=Ro.map(ao=>lo.current.get(ao))):(Zo=[],xo=[],Ro.forEach(ao=>{const qi=zr(ao);qi!==void 0&&(Zo.push(ao),xo.push(qi))})),Lr(Zo),Xn==null||Xn(Zo,xo,{type:bo})},[Lr,zr,Xn,Jt]),Ya=(0,ke.useCallback)((Ro,bo,Zo,xo)=>{if(Yn){const ao=Zo.map(qi=>zr(qi));Yn(zr(Ro),bo,ao,xo)}To(Zo,"single")},[Yn,zr,To]),Ia=(0,ke.useMemo)(()=>!zi||Ar?null:(zi===!0?[Ss,os,hs]:zi).map(bo=>bo===Ss?{key:"all",text:so.selectionAll,onSelect(){To(yo.map((Zo,xo)=>eo(Zo,xo)).filter(Zo=>{const xo=Vo.get(Zo);return!(xo!=null&&xo.disabled)||Qa.has(Zo)}),"all")}}:bo===os?{key:"invert",text:so.selectInvert,onSelect(){const Zo=new Set(Qa);Lo.forEach((ao,qi)=>{const Zr=eo(ao,qi),Uo=Vo.get(Zr);Uo!=null&&Uo.disabled||(Zo.has(Zr)?Zo.delete(Zr):Zo.add(Zr))});const xo=Array.from(Zo);Pi&&Pi(xo),To(xo,"invert")}}:bo===hs?{key:"none",text:so.selectNone,onSelect(){ii==null||ii(),To(Array.from(Qa).filter(Zo=>{const xo=Vo.get(Zo);return xo==null?void 0:xo.disabled}),"none")}}:bo).map(bo=>Object.assign(Object.assign({},bo),{onSelect:function(){for(var Zo,xo,ao=arguments.length,qi=new Array(ao),Zr=0;Zr{var bo;if(!ut)return Ro.filter(Wa=>Wa!==Cs);let Zo=(0,ar.Z)(Ro);const xo=new Set(Qa),ao=Mr.map(eo).filter(Wa=>!Vo.get(Wa).disabled),qi=ao.every(Wa=>xo.has(Wa)),Zr=ao.some(Wa=>xo.has(Wa)),Uo=()=>{const Wa=[];qi?ao.forEach(is=>{xo.delete(is),Wa.push(is)}):ao.forEach(is=>{xo.has(is)||(xo.add(is),Wa.push(is))});const _a=Array.from(xo);Vn==null||Vn(!qi,_a.map(is=>zr(is)),Wa.map(is=>zr(is))),To(_a,"all"),wo(null)};let sa;if(Ui!=="radio"){let Wa;if(Ia){const xa={getPopupContainer:jr,items:Ia.map((ss,Js)=>{const{key:Xa,text:zo,onSelect:Ms}=ss;return{key:Xa!=null?Xa:Js,onClick:()=>{Ms==null||Ms(ao)},label:zo}})};Wa=ke.createElement("div",{className:`${Br}-selection-extra`},ke.createElement(Pa.Z,{menu:xa,getPopupContainer:jr},ke.createElement("span",null,ke.createElement(wc.Z,null))))}const _a=Mr.map((xa,ss)=>{const Js=eo(xa,ss),Xa=Vo.get(Js)||{};return Object.assign({checked:xo.has(Js)},Xa)}).filter(xa=>{let{disabled:ss}=xa;return ss}),is=!!_a.length&&_a.length===Mr.length,bs=is&&_a.every(xa=>{let{checked:ss}=xa;return ss}),Gs=is&&_a.some(xa=>{let{checked:ss}=xa;return ss});sa=!Ar&&ke.createElement("div",{className:`${Br}-selection`},ke.createElement(Oo.default,{checked:is?bs:!!Mr.length&&qi,indeterminate:is?!bs&&Gs:!qi&&Zr,onChange:Uo,disabled:Mr.length===0||is,"aria-label":Wa?"Custom selection":"Select all",skipGroup:!0}),Wa)}let al;Ui==="radio"?al=(Wa,_a,is)=>{const bs=eo(_a,is),Gs=xo.has(bs);return{node:ke.createElement(Vi.ZP,Object.assign({},Vo.get(bs),{checked:Gs,onClick:xa=>xa.stopPropagation(),onChange:xa=>{xo.has(bs)||Ya(bs,!0,[bs],xa.nativeEvent)}})),checked:Gs}}:al=(Wa,_a,is)=>{var bs;const Gs=eo(_a,is),xa=xo.has(Gs),ss=fa.has(Gs),Js=Vo.get(Gs);let Xa;return Ko==="nest"?Xa=ss:Xa=(bs=Js==null?void 0:Js.indeterminate)!==null&&bs!==void 0?bs:ss,{node:ke.createElement(Oo.default,Object.assign({},Js,{indeterminate:Xa,checked:xa,skipGroup:!0,onClick:zo=>zo.stopPropagation(),onChange:zo=>{let{nativeEvent:Ms}=zo;const{shiftKey:Ys}=Ms;let Wu=-1,vu=-1;if(Ys&&Pr){const $a=new Set([Wo,Gs]);ao.some((Ml,Ps)=>{if($a.has(Ml))if(Wu===-1)Wu=Ps;else return vu=Ps,!0;return!1})}if(vu!==-1&&Wu!==vu&&Pr){const $a=ao.slice(Wu,vu+1),Ml=[];xa?$a.forEach(ps=>{xo.has(ps)&&(Ml.push(ps),xo.delete(ps))}):$a.forEach(ps=>{xo.has(ps)||(Ml.push(ps),xo.add(ps))});const Ps=Array.from(xo);yi==null||yi(!xa,Ps.map(ps=>zr(ps)),Ml.map(ps=>zr(ps))),To(Ps,"multiple")}else{const $a=na;if(Pr){const Ml=xa?(0,mu._5)($a,Gs):(0,mu.L0)($a,Gs);Ya(Gs,!xa,Ml,Ms)}else{const Ml=(0,Xo.S)([].concat((0,ar.Z)($a),[Gs]),!0,No,_o),{checkedKeys:Ps,halfCheckedKeys:ps}=Ml;let ku=Ps;if(xa){const Cc=new Set(Ps);Cc.delete(Gs),ku=(0,Xo.S)(Array.from(Cc),{checked:!1,halfCheckedKeys:ps},No,_o).checkedKeys}Ya(Gs,!xa,ku,Ms)}}wo(xa?null:Gs)}})),checked:xa}};const zs=(Wa,_a,is)=>{const{node:bs,checked:Gs}=al(Wa,_a,is);return Ki?Ki(Gs,_a,is,bs):bs};if(!Zo.includes(Cs))if(Zo.findIndex(Wa=>{var _a;return((_a=Wa[Hr])===null||_a===void 0?void 0:_a.columnType)==="EXPAND_COLUMN"})===0){const[Wa,..._a]=Zo;Zo=[Wa,Cs].concat((0,ar.Z)(_a))}else Zo=[Cs].concat((0,ar.Z)(Zo));const Al=Zo.indexOf(Cs);Zo=Zo.filter((Wa,_a)=>Wa!==Cs||_a===Al);const ka=Zo[Al-1],Ua=Zo[Al+1];let Do=yr;Do===void 0&&((Ua==null?void 0:Ua.fixed)!==void 0?Do=Ua.fixed:(ka==null?void 0:ka.fixed)!==void 0&&(Do=ka.fixed)),Do&&ka&&((bo=ka[Hr])===null||bo===void 0?void 0:bo.columnType)==="EXPAND_COLUMN"&&ka.fixed===void 0&&(ka.fixed=Do);const Vs=qe()(`${Br}-selection-col`,{[`${Br}-selection-col-with-dropdown`]:zi&&Ui==="checkbox"}),Ll={fixed:Do,width:Ji,className:`${Br}-selection-column`,title:ut.columnTitle||sa,render:zs,onCell:ut.onCell,[Hr]:{className:Vs}};return Zo.map(Wa=>Wa===Cs?Ll:Wa)},[eo,Mr,ut,na,Qa,fa,Ji,Ia,Ko,Wo,Vo,yi,Ya,_o]),Qa]},Fa=ye(35323),Hu=ye(19155),Ol=ye(6848);const El="ascend",Rr="descend";function Lu(it){return typeof it.sorter=="object"&&typeof it.sorter.multiple=="number"?it.sorter.multiple:!1}function Kt(it){return typeof it=="function"?it:it&&typeof it=="object"&&it.compare?it.compare:!1}function di(it,ut){return ut?it[it.indexOf(ut)+1]:it[0]}function Mu(it,ut,Jt){let en=[];function An(gn,Xn){en.push({column:gn,key:$o(gn,Xn),multiplePriority:Lu(gn),sortOrder:gn.sortOrder})}return(it||[]).forEach((gn,Xn)=>{const Yn=Qo(Xn,Jt);gn.children?("sortOrder"in gn&&An(gn,Yn),en=[].concat((0,ar.Z)(en),(0,ar.Z)(Mu(gn.children,ut,Yn)))):gn.sorter&&("sortOrder"in gn?An(gn,Yn):ut&&gn.defaultSortOrder&&en.push({column:gn,key:$o(gn,Yn),multiplePriority:Lu(gn),sortOrder:gn.defaultSortOrder}))}),en}function Fu(it,ut,Jt,en,An,gn,Xn,Yn){return(ut||[]).map((Vn,Pi)=>{const ii=Qo(Pi,Yn);let yi=Vn;if(yi.sorter){const Ji=yi.sortDirections||An,Ui=yi.showSorterTooltip===void 0?Xn:yi.showSorterTooltip,zi=$o(yi,ii),yr=Jt.find(Ko=>{let{key:Or}=Ko;return Or===zi}),Ki=yr?yr.sortOrder:null,Ar=di(Ji,Ki);let Pr;if(Vn.sortIcon)Pr=Vn.sortIcon({sortOrder:Ki});else{const Ko=Ji.includes(El)&&ke.createElement(Hu.Z,{className:qe()(`${it}-column-sorter-up`,{active:Ki===El})}),Or=Ji.includes(Rr)&&ke.createElement(Fa.Z,{className:qe()(`${it}-column-sorter-down`,{active:Ki===Rr})});Pr=ke.createElement("span",{className:qe()(`${it}-column-sorter`,{[`${it}-column-sorter-full`]:!!(Ko&&Or)})},ke.createElement("span",{className:`${it}-column-sorter-inner`,"aria-hidden":"true"},Ko,Or))}const{cancelSort:Br,triggerAsc:yo,triggerDesc:Lo}=gn||{};let zr=Br;Ar===Rr?zr=Lo:Ar===El&&(zr=yo);const eo=typeof Ui=="object"?Ui:{title:zr};yi=Object.assign(Object.assign({},yi),{className:qe()(yi.className,{[`${it}-column-sort`]:Ki}),title:Ko=>{const Or=ke.createElement("div",{className:`${it}-column-sorters`},ke.createElement("span",{className:`${it}-column-title`},pa(Vn.title,Ko)),Pr);return Ui?ke.createElement(Ol.Z,Object.assign({},eo),Or):Or},onHeaderCell:Ko=>{const Or=Vn.onHeaderCell&&Vn.onHeaderCell(Ko)||{},so=Or.onClick,jr=Or.onKeyDown;Or.onClick=lo=>{en({column:Vn,key:zi,sortOrder:Ar,multiplePriority:Lu(Vn)}),so==null||so(lo)},Or.onKeyDown=lo=>{lo.keyCode===Yi.Z.ENTER&&(en({column:Vn,key:zi,sortOrder:Ar,multiplePriority:Lu(Vn)}),jr==null||jr(lo))};const gr=qo(Vn.title,{}),Lr=gr==null?void 0:gr.toString();return Ki?Or["aria-sort"]=Ki==="ascend"?"ascending":"descending":Or["aria-label"]=Lr||"",Or.className=qe()(Or.className,`${it}-column-has-sorters`),Or.tabIndex=0,Vn.ellipsis&&(Or.title=(gr!=null?gr:"").toString()),Or}})}return"children"in yi&&(yi=Object.assign(Object.assign({},yi),{children:Fu(it,yi.children,Jt,en,An,gn,Xn,ii)})),yi})}function _l(it){const{column:ut,sortOrder:Jt}=it;return{column:ut,order:Jt,field:ut.dataIndex,columnKey:ut.key}}function $l(it){const ut=it.filter(Jt=>{let{sortOrder:en}=Jt;return en}).map(_l);return ut.length===0&&it.length?Object.assign(Object.assign({},_l(it[it.length-1])),{column:void 0}):ut.length<=1?ut[0]||{}:ut}function jl(it,ut,Jt){const en=ut.slice().sort((Xn,Yn)=>Yn.multiplePriority-Xn.multiplePriority),An=it.slice(),gn=en.filter(Xn=>{let{column:{sorter:Yn},sortOrder:Vn}=Xn;return Kt(Yn)&&Vn});return gn.length?An.sort((Xn,Yn)=>{for(let Vn=0;Vn{const Yn=Xn[Jt];return Yn?Object.assign(Object.assign({},Xn),{[Jt]:jl(Yn,ut,Jt)}):Xn}):An}function Pc(it){let{prefixCls:ut,mergedColumns:Jt,onSorterChange:en,sortDirections:An,tableLocale:gn,showSorterTooltip:Xn}=it;const[Yn,Vn]=ke.useState(Mu(Jt,!0)),Pi=ke.useMemo(()=>{let zi=!0;const yr=Mu(Jt,!1);if(!yr.length)return Yn;const Ki=[];function Ar(Br){zi?Ki.push(Br):Ki.push(Object.assign(Object.assign({},Br),{sortOrder:null}))}let Pr=null;return yr.forEach(Br=>{Pr===null?(Ar(Br),Br.sortOrder&&(Br.multiplePriority===!1?zi=!1:Pr=!0)):(Pr&&Br.multiplePriority!==!1||(zi=!1),Ar(Br))}),Ki},[Jt,Yn]),ii=ke.useMemo(()=>{const zi=Pi.map(yr=>{let{column:Ki,sortOrder:Ar}=yr;return{column:Ki,order:Ar}});return{sortColumns:zi,sortColumn:zi[0]&&zi[0].column,sortOrder:zi[0]&&zi[0].order}},[Pi]);function yi(zi){let yr;zi.multiplePriority===!1||!Pi.length||Pi[0].multiplePriority===!1?yr=[zi]:yr=[].concat((0,ar.Z)(Pi.filter(Ki=>{let{key:Ar}=Ki;return Ar!==zi.key})),[zi]),Vn(yr),en($l(yr),yr)}return[zi=>Fu(ut,zi,Pi,yi,An,gn,Xn),Pi,ii,()=>$l(Pi)]}function Ic(it,ut){return it.map(Jt=>{const en=Object.assign({},Jt);return en.title=pa(Jt.title,ut),"children"in en&&(en.children=Ic(en.children,ut)),en})}function Os(it){return[ke.useCallback(Jt=>Ic(Jt,it),[it])]}var Io=Nr((it,ut)=>{const{_renderTimes:Jt}=it,{_renderTimes:en}=ut;return Jt!==en}),wl=It((it,ut)=>{const{_renderTimes:Jt}=it,{_renderTimes:en}=ut;return Jt!==en}),Il=ye(64993),ws=ye(17313),ya=ye(83116),ol=ye(37613),$e=it=>{const{componentCls:ut}=it,Jt=`${it.lineWidth}px ${it.lineType} ${it.tableBorderColor}`,en=(An,gn,Xn)=>({[`&${ut}-${An}`]:{[`> ${ut}-container`]:{[`> ${ut}-content, > ${ut}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ut}-expanded-row-fixed`]:{margin:`-${gn}px -${Xn+it.lineWidth}px`}}}}}});return{[`${ut}-wrapper`]:{[`${ut}${ut}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ut}-title`]:{border:Jt,borderBottom:0},[`> ${ut}-container`]:{borderInlineStart:Jt,borderTop:Jt,[` > ${ut}-content, > ${ut}-header, > ${ut}-body, > ${ut}-summary `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Jt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Jt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ut}-cell-fix-right-first::after`]:{borderInlineEnd:Jt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ut}-expanded-row-fixed`]:{margin:`-${it.tablePaddingVertical}px -${it.tablePaddingHorizontal+it.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:it.lineWidth,bottom:0,borderInlineEnd:Jt,content:'""'}}}}}},[`&${ut}-scroll-horizontal`]:{[`> ${ut}-container > ${ut}-body`]:{"> table > tbody":{[` > tr${ut}-expanded-row, > tr${ut}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},en("middle",it.tablePaddingVerticalMiddle,it.tablePaddingHorizontalMiddle)),en("small",it.tablePaddingVerticalSmall,it.tablePaddingHorizontalSmall)),{[`> ${ut}-footer`]:{border:Jt,borderTop:0}}),[`${ut}-cell`]:{[`${ut}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${it.lineWidth}px 0 ${it.lineWidth}px ${it.tableHeaderBg}`}},[`${ut}-bordered ${ut}-cell-scrollbar`]:{borderInlineEnd:Jt}}}},nn=it=>{const{componentCls:ut}=it;return{[`${ut}-wrapper`]:{[`${ut}-cell-ellipsis`]:Object.assign(Object.assign({},ws.vS),{wordBreak:"keep-all",[` &${ut}-cell-fix-left-last, &${ut}-cell-fix-right-first `]:{overflow:"visible",[`${ut}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ut}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},In=it=>{const{componentCls:ut}=it;return{[`${ut}-wrapper`]:{[`${ut}-tbody > tr${ut}-placeholder`]:{textAlign:"center",color:it.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:it.colorBgContainer}}}}},Zn=ye(15969),ui=it=>{const{componentCls:ut,antCls:Jt,controlInteractiveSize:en,motionDurationSlow:An,lineWidth:gn,paddingXS:Xn,lineType:Yn,tableBorderColor:Vn,tableExpandIconBg:Pi,tableExpandColumnWidth:ii,borderRadius:yi,fontSize:Ji,fontSizeSM:Ui,lineHeight:zi,tablePaddingVertical:yr,tablePaddingHorizontal:Ki,tableExpandedRowBg:Ar,paddingXXS:Pr}=it,Br=en/2-gn,yo=Br*2+gn*3,Lo=`${gn}px ${Yn} ${Vn}`,zr=Pr-gn;return{[`${ut}-wrapper`]:{[`${ut}-expand-icon-col`]:{width:ii},[`${ut}-row-expand-icon-cell`]:{textAlign:"center",[`${ut}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ut}-row-indent`]:{height:1,float:"left"},[`${ut}-row-expand-icon`]:Object.assign(Object.assign({},(0,Zn.N)(it)),{position:"relative",float:"left",boxSizing:"border-box",width:yo,height:yo,padding:0,color:"inherit",lineHeight:`${yo}px`,background:Pi,border:Lo,borderRadius:yi,transform:`scale(${en/yo})`,transition:`all ${An}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${An} ease-out`,content:'""'},"&::before":{top:Br,insetInlineEnd:zr,insetInlineStart:zr,height:gn},"&::after":{top:zr,bottom:zr,insetInlineStart:Br,width:gn,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ut}-row-indent + ${ut}-row-expand-icon`]:{marginTop:(Ji*zi-gn*3)/2-Math.ceil((Ui*1.4-gn*3)/2),marginInlineEnd:Xn},[`tr${ut}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Ar}},[`${Jt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ut}-expanded-row-fixed`]:{position:"relative",margin:`-${yr}px -${Ki}px`,padding:`${yr}px ${Ki}px`}}}},sr=it=>{const{componentCls:ut,antCls:Jt,iconCls:en,tableFilterDropdownWidth:An,tableFilterDropdownSearchWidth:gn,paddingXXS:Xn,paddingXS:Yn,colorText:Vn,lineWidth:Pi,lineType:ii,tableBorderColor:yi,tableHeaderIconColor:Ji,fontSizeSM:Ui,tablePaddingHorizontal:zi,borderRadius:yr,motionDurationSlow:Ki,colorTextDescription:Ar,colorPrimary:Pr,tableHeaderFilterActiveBg:Br,colorTextDisabled:yo,tableFilterDropdownBg:Lo,tableFilterDropdownHeight:zr,controlItemBgHover:eo,controlItemBgActive:Ko,boxShadowSecondary:Or,filterDropdownMenuBg:so}=it,jr=`${Jt}-dropdown`,gr=`${ut}-filter-dropdown`,Lr=`${Jt}-tree`,lo=`${Pi}px ${ii} ${yi}`;return[{[`${ut}-wrapper`]:{[`${ut}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ut}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Xn,marginInline:`${Xn}px ${-zi/2}px`,padding:`0 ${Xn}px`,color:Ji,fontSize:Ui,borderRadius:yr,cursor:"pointer",transition:`all ${Ki}`,"&:hover":{color:Ar,background:Br},"&.active":{color:Pr}}}},{[`${Jt}-dropdown`]:{[gr]:Object.assign(Object.assign({},(0,ws.Wf)(it)),{minWidth:An,backgroundColor:Lo,borderRadius:yr,boxShadow:Or,overflow:"hidden",[`${jr}-menu`]:{maxHeight:zr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:so,"&:empty::after":{display:"block",padding:`${Yn}px 0`,color:yo,fontSize:Ui,textAlign:"center",content:'"Not Found"'}},[`${gr}-tree`]:{paddingBlock:`${Yn}px 0`,paddingInline:Yn,[Lr]:{padding:0},[`${Lr}-treenode ${Lr}-node-content-wrapper:hover`]:{backgroundColor:eo},[`${Lr}-treenode-checkbox-checked ${Lr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ko}}},[`${gr}-search`]:{padding:Yn,borderBottom:lo,"&-input":{input:{minWidth:gn},[en]:{color:yo}}},[`${gr}-checkall`]:{width:"100%",marginBottom:Xn,marginInlineStart:Xn},[`${gr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Yn-Pi}px ${Yn}px`,overflow:"hidden",borderTop:lo}})}},{[`${Jt}-dropdown ${gr}, ${gr}-submenu`]:{[`${Jt}-checkbox-wrapper + span`]:{paddingInlineStart:Yn,color:Vn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},_i=it=>{const{componentCls:ut,lineWidth:Jt,colorSplit:en,motionDurationSlow:An,zIndexTableFixed:gn,tableBg:Xn,zIndexTableSticky:Yn}=it,Vn=en;return{[`${ut}-wrapper`]:{[` ${ut}-cell-fix-left, ${ut}-cell-fix-right `]:{position:"sticky !important",zIndex:gn,background:Xn},[` ${ut}-cell-fix-left-first::after, ${ut}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Jt,width:30,transform:"translateX(100%)",transition:`box-shadow ${An}`,content:'""',pointerEvents:"none"},[`${ut}-cell-fix-left-all::after`]:{display:"none"},[` ${ut}-cell-fix-right-first::after, ${ut}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-Jt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${An}`,content:'""',pointerEvents:"none"},[`${ut}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Yn+1,width:30,transition:`box-shadow ${An}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ut}-ping-left`]:{[`&:not(${ut}-has-fix-left) ${ut}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Vn}`}},[` ${ut}-cell-fix-left-first::after, ${ut}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Vn}`},[`${ut}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ut}-ping-right`]:{[`&:not(${ut}-has-fix-right) ${ut}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Vn}`}},[` ${ut}-cell-fix-right-first::after, ${ut}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Vn}`}}}}},xr=it=>{const{componentCls:ut,antCls:Jt}=it;return{[`${ut}-wrapper`]:{[`${ut}-pagination${Jt}-pagination`]:{margin:`${it.margin}px 0`},[`${ut}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:it.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},$i=it=>{const{componentCls:ut,tableRadius:Jt}=it;return{[`${ut}-wrapper`]:{[ut]:{[`${ut}-title, ${ut}-header`]:{borderRadius:`${Jt}px ${Jt}px 0 0`},[`${ut}-title + ${ut}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ut}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Jt,borderStartEndRadius:Jt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Jt},"> *:last-child":{borderStartEndRadius:Jt}}},"&-footer":{borderRadius:`0 0 ${Jt}px ${Jt}px`}}}}},ho=it=>{const{componentCls:ut}=it;return{[`${ut}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ut}-pagination-left`]:{justifyContent:"flex-end"},[`${ut}-pagination-right`]:{justifyContent:"flex-start"},[`${ut}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ut}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ut}-row-indent`]:{float:"right"}}}}},mo=it=>{const{componentCls:ut,antCls:Jt,iconCls:en,fontSizeIcon:An,padding:gn,paddingXS:Xn,tableHeaderIconColor:Yn,tableHeaderIconColorHover:Vn,tableSelectionColumnWidth:Pi}=it;return{[`${ut}-wrapper`]:{[`${ut}-selection-col`]:{width:Pi,[`&${ut}-selection-col-with-dropdown`]:{width:Pi+An+gn/4}},[`${ut}-bordered ${ut}-selection-col`]:{width:Pi+Xn*2,[`&${ut}-selection-col-with-dropdown`]:{width:Pi+An+gn/4+Xn*2}},[` table tr th${ut}-selection-column, table tr td${ut}-selection-column `]:{paddingInlineEnd:it.paddingXS,paddingInlineStart:it.paddingXS,textAlign:"center",[`${Jt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ut}-selection-column${ut}-cell-fix-left`]:{zIndex:it.zIndexTableFixed+1},[`table tr th${ut}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ut}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ut}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${it.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${it.tablePaddingHorizontal/4}px`,[en]:{color:Yn,fontSize:An,verticalAlign:"baseline","&:hover":{color:Vn}}}}}},fo=it=>{const{componentCls:ut}=it,Jt=(en,An,gn,Xn)=>({[`${ut}${ut}-${en}`]:{fontSize:Xn,[` ${ut}-title, ${ut}-footer, ${ut}-cell, ${ut}-thead > tr > th, ${ut}-tbody > tr > th, ${ut}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${An}px ${gn}px`},[`${ut}-filter-trigger`]:{marginInlineEnd:`-${gn/2}px`},[`${ut}-expanded-row-fixed`]:{margin:`-${An}px -${gn}px`},[`${ut}-tbody`]:{[`${ut}-wrapper:only-child ${ut}`]:{marginBlock:`-${An}px`,marginInline:`${it.tableExpandColumnWidth-gn}px -${gn}px`}},[`${ut}-selection-column`]:{paddingInlineStart:`${gn/4}px`}}});return{[`${ut}-wrapper`]:Object.assign(Object.assign({},Jt("middle",it.tablePaddingVerticalMiddle,it.tablePaddingHorizontalMiddle,it.tableFontSizeMiddle)),Jt("small",it.tablePaddingVerticalSmall,it.tablePaddingHorizontalSmall,it.tableFontSizeSmall))}},aa=it=>{const{componentCls:ut,marginXXS:Jt,fontSizeIcon:en,tableHeaderIconColor:An,tableHeaderIconColorHover:gn}=it;return{[`${ut}-wrapper`]:{[`${ut}-thead th${ut}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${it.motionDurationSlow}`,"&:hover":{background:it.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:it.colorPrimary},[` &${ut}-cell-fix-left:hover, &${ut}-cell-fix-right:hover `]:{background:it.tableFixedHeaderSortActiveBg}},[`${ut}-thead th${ut}-column-sort`]:{background:it.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ut}-column-sort`]:{background:it.tableBodySortBg},[`${ut}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ut}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ut}-column-sorter`]:{marginInlineStart:Jt,color:An,fontSize:0,transition:`color ${it.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:en,"&.active":{color:it.colorPrimary}},[`${ut}-column-sorter-up + ${ut}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ut}-column-sorters:hover ${ut}-column-sorter`]:{color:gn}}}},Sa=it=>{const{componentCls:ut,opacityLoading:Jt,tableScrollThumbBg:en,tableScrollThumbBgHover:An,tableScrollThumbSize:gn,tableScrollBg:Xn,zIndexTableSticky:Yn,stickyScrollBarBorderRadius:Vn}=it,Pi=`${it.lineWidth}px ${it.lineType} ${it.tableBorderColor}`;return{[`${ut}-wrapper`]:{[`${ut}-sticky`]:{"&-holder":{position:"sticky",zIndex:Yn,background:it.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${gn}px !important`,zIndex:Yn,display:"flex",alignItems:"center",background:Xn,borderTop:Pi,opacity:Jt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:gn,backgroundColor:en,borderRadius:Vn,transition:`all ${it.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:An}}}}}}},Ha=it=>{const{componentCls:ut,lineWidth:Jt,tableBorderColor:en}=it,An=`${Jt}px ${it.lineType} ${en}`;return{[`${ut}-wrapper`]:{[`${ut}-summary`]:{position:"relative",zIndex:it.zIndexTableFixed,background:it.tableBg,"> tr":{"> th, > td":{borderBottom:An}}},[`div${ut}-summary`]:{boxShadow:`0 -${Jt}px 0 ${en}`}}}},fs=it=>{const{componentCls:ut}=it,Jt=`${it.lineWidth}px ${it.lineType} ${it.tableBorderColor}`,en=`${ut}-expanded-row-cell`;return{[`${ut}-wrapper`]:{[`${ut}-tbody-virtual`]:{[`${ut}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ut}-cell`]:{borderBottom:Jt},[`${ut}-expanded-row`]:{[`${en}${en}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${it.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ut}-bordered`]:{[`${ut}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Jt,position:"absolute"},[`${ut}-cell`]:{borderInlineEnd:Jt,[`&${ut}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-it.lineWidth,borderInlineStart:Jt}}}}}}};const La=it=>{const{componentCls:ut,fontWeightStrong:Jt,tablePaddingVertical:en,tablePaddingHorizontal:An,lineWidth:gn,lineType:Xn,tableBorderColor:Yn,tableFontSize:Vn,tableBg:Pi,tableRadius:ii,tableHeaderTextColor:yi,motionDurationMid:Ji,tableHeaderBg:Ui,tableHeaderCellSplitColor:zi,tableRowHoverBg:yr,tableSelectedRowBg:Ki,tableSelectedRowHoverBg:Ar,tableFooterTextColor:Pr,tableFooterBg:Br,paddingContentVerticalLG:yo}=it,Lo=`${gn}px ${Xn} ${Yn}`;return{[`${ut}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ws.dF)()),{[ut]:Object.assign(Object.assign({},(0,ws.Wf)(it)),{fontSize:Vn,background:Pi,borderRadius:`${ii}px ${ii}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${ii}px ${ii}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${ut}-cell, ${ut}-thead > tr > th, ${ut}-tbody > tr > th, ${ut}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${yo}px ${An}px`,overflowWrap:"break-word"},[`${ut}-title`]:{padding:`${en}px ${An}px`},[`${ut}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:yi,fontWeight:Jt,textAlign:"start",background:Ui,borderBottom:Lo,transition:`background ${Ji} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ut}-selection-column):not(${ut}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:zi,transform:"translateY(-50%)",transition:`background-color ${Ji}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ut}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Ji}, border-color ${Ji}`,borderBottom:Lo,[` > ${ut}-wrapper:only-child, > ${ut}-expanded-row-fixed > ${ut}-wrapper:only-child `]:{[ut]:{marginBlock:`-${en}px`,marginInline:`${it.tableExpandColumnWidth-An}px -${An}px`,[`${ut}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:yi,fontWeight:Jt,textAlign:"start",background:Ui,borderBottom:Lo,transition:`background ${Ji} ease`},[` &${ut}-row:hover > th, &${ut}-row:hover > td, > th${ut}-cell-row-hover, > td${ut}-cell-row-hover `]:{background:yr},[`&${ut}-row-selected`]:{"> th, > td":{background:Ki},"&:hover > th, &:hover > td":{background:Ar}}}},[`${ut}-footer`]:{padding:`${en}px ${An}px`,color:Pr,background:Br}})}};var Ca=(0,ya.Z)("Table",it=>{const{colorTextHeading:ut,colorSplit:Jt,colorIcon:en,colorIconHover:An,opacityLoading:gn,colorBgContainer:Xn,controlInteractiveSize:Yn,headerBg:Vn,headerColor:Pi,headerSortActiveBg:ii,headerSortHoverBg:yi,bodySortBg:Ji,rowHoverBg:Ui,rowSelectedBg:zi,rowSelectedHoverBg:yr,rowExpandedBg:Ki,cellPaddingBlock:Ar,cellPaddingInline:Pr,cellPaddingBlockMD:Br,cellPaddingInlineMD:yo,cellPaddingBlockSM:Lo,cellPaddingInlineSM:zr,borderColor:eo,footerBg:Ko,footerColor:Or,headerBorderRadius:so,cellFontSize:jr,cellFontSizeMD:gr,cellFontSizeSM:Lr,headerSplitColor:lo,fixedHeaderSortActiveBg:Mo,headerFilterHoverBg:No,filterDropdownBg:Mr,expandIconBg:Vo,selectionColumnWidth:_o,stickyScrollBarBg:na}=it,ta=new Il.C(en),Qa=new Il.C(An),fa=2,Wo=(0,ol.TS)(it,{tableFontSize:jr,tableBg:Xn,tableRadius:so,tablePaddingVertical:Ar,tablePaddingHorizontal:Pr,tablePaddingVerticalMiddle:Br,tablePaddingHorizontalMiddle:yo,tablePaddingVerticalSmall:Lo,tablePaddingHorizontalSmall:zr,tableBorderColor:eo,tableHeaderTextColor:Pi,tableHeaderBg:Vn,tableFooterTextColor:Or,tableFooterBg:Ko,tableHeaderCellSplitColor:lo,tableHeaderSortBg:ii,tableHeaderSortHoverBg:yi,tableHeaderIconColor:ta.clone().setAlpha(ta.getAlpha()*gn).toRgbString(),tableHeaderIconColorHover:Qa.clone().setAlpha(Qa.getAlpha()*gn).toRgbString(),tableBodySortBg:Ji,tableFixedHeaderSortActiveBg:Mo,tableHeaderFilterActiveBg:No,tableFilterDropdownBg:Mr,tableRowHoverBg:Ui,tableSelectedRowBg:zi,tableSelectedRowHoverBg:yr,zIndexTableFixed:fa,zIndexTableSticky:fa+1,tableFontSizeMiddle:gr,tableFontSizeSmall:Lr,tableSelectionColumnWidth:_o,tableExpandIconBg:Vo,tableExpandColumnWidth:Yn+2*it.padding,tableExpandedRowBg:Ki,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:na,tableScrollThumbBgHover:ut,tableScrollBg:Jt});return[La(Wo),xr(Wo),Ha(Wo),aa(Wo),sr(Wo),$e(Wo),$i(Wo),ui(Wo),Ha(Wo),In(Wo),mo(Wo),_i(Wo),Sa(Wo),nn(Wo),fo(Wo),ho(Wo),fs(Wo)]},it=>{const{colorFillAlter:ut,colorBgContainer:Jt,colorTextHeading:en,colorFillSecondary:An,colorFillContent:gn,controlItemBgActive:Xn,controlItemBgActiveHover:Yn,padding:Vn,paddingSM:Pi,paddingXS:ii,colorBorderSecondary:yi,borderRadiusLG:Ji,fontSize:Ui,controlHeight:zi,colorTextPlaceholder:yr}=it,Ki=new Il.C(An).onBackground(Jt).toHexShortString(),Ar=new Il.C(gn).onBackground(Jt).toHexShortString(),Pr=new Il.C(ut).onBackground(Jt).toHexShortString();return{headerBg:Pr,headerColor:en,headerSortActiveBg:Ki,headerSortHoverBg:Ar,bodySortBg:Pr,rowHoverBg:Pr,rowSelectedBg:Xn,rowSelectedHoverBg:Yn,rowExpandedBg:ut,cellPaddingBlock:Vn,cellPaddingInline:Vn,cellPaddingBlockMD:Pi,cellPaddingInlineMD:ii,cellPaddingBlockSM:ii,cellPaddingInlineSM:ii,borderColor:yi,headerBorderRadius:Ji,footerBg:Pr,footerColor:en,cellFontSize:Ui,cellFontSizeMD:Ui,cellFontSizeSM:Ui,headerSplitColor:yi,fixedHeaderSortActiveBg:Ki,headerFilterHoverBg:gn,filterDropdownMenuBg:Jt,filterDropdownBg:Jt,expandIconBg:Jt,selectionColumnWidth:zi,stickyScrollBarBg:yr,stickyScrollBarBorderRadius:100}});const Ta=[],as=(it,ut)=>{const{prefixCls:Jt,className:en,rootClassName:An,style:gn,size:Xn,bordered:Yn,dropdownPrefixCls:Vn,dataSource:Pi,pagination:ii,rowSelection:yi,rowKey:Ji="key",rowClassName:Ui,columns:zi,children:yr,childrenColumnName:Ki,onChange:Ar,getPopupContainer:Pr,loading:Br,expandIcon:yo,expandable:Lo,expandedRowRender:zr,expandIconColumnIndex:eo,indentSize:Ko,scroll:Or,sortDirections:so,locale:jr,showSorterTooltip:gr=!0,virtual:Lr}=it,lo=ke.useMemo(()=>zi||qt(yr),[zi,yr]),Mo=ke.useMemo(()=>lo.some(Ra=>Ra.responsive),[lo]),No=(0,zn.Z)(Mo),Mr=ke.useMemo(()=>{const Ra=new Set(Object.keys(No).filter(ls=>No[ls]));return lo.filter(ls=>!ls.responsive||ls.responsive.some(Qs=>Ra.has(Qs)))},[lo,No]),Vo=(0,qn.Z)(it,["className","style","columns"]),{locale:_o=_r.Z,direction:na,table:ta,renderEmpty:Qa,getPrefixCls:fa,getPopupContainer:Wo}=ke.useContext(Bi.E_),wo=(0,Gi.Z)(Xn),To=Object.assign(Object.assign({},_o.Table),jr),Ya=Pi||Ta,Ia=fa("table",Jt),ns=fa("dropdown",Vn),Ro=Object.assign({childrenColumnName:Ki,expandIconColumnIndex:eo},Lo),{childrenColumnName:bo="children"}=Ro,Zo=ke.useMemo(()=>Ya.some(Ra=>Ra==null?void 0:Ra[bo])?"nest":zr||Lo&&Lo.expandedRowRender?"row":null,[Ya]),xo={body:ke.useRef()},ao=ke.useMemo(()=>typeof Ji=="function"?Ji:Ra=>Ra==null?void 0:Ra[Ji],[Ji]),[qi]=xc(Ya,bo,ao),Zr={},Uo=function(Ra,ls){let Qs=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ms,za,_s;const Rl=Object.assign(Object.assign({},Zr),Ra);Qs&&((ms=Zr.resetPagination)===null||ms===void 0||ms.call(Zr),!((za=Rl.pagination)===null||za===void 0)&&za.current&&(Rl.pagination.current=1),ii&&ii.onChange&&ii.onChange(1,(_s=Rl.pagination)===null||_s===void 0?void 0:_s.pageSize)),Or&&Or.scrollToFirstRowOnChange!==!1&&xo.body.current&&(0,Oi.Z)(0,{getContainer:()=>xo.body.current}),Ar==null||Ar(Rl.pagination,Rl.filters,Rl.sorter,{currentDataSource:rl(jl(Ya,Rl.sorterStates,bo),Rl.filterStates),action:ls})},sa=(Ra,ls)=>{Uo({sorter:Ra,sorterStates:ls},"sort",!1)},[al,zs,Al,ka]=Pc({prefixCls:Ia,mergedColumns:Mr,onSorterChange:sa,sortDirections:so||["ascend","descend"],tableLocale:To,showSorterTooltip:gr}),Ua=ke.useMemo(()=>jl(Ya,zs,bo),[Ya,zs]);Zr.sorter=ka(),Zr.sorterStates=zs;const Do=(Ra,ls)=>{Uo({filters:Ra,filterStates:ls},"filter",!0)},[Vs,Ll,Wa]=Sc({prefixCls:Ia,locale:To,dropdownPrefixCls:ns,mergedColumns:Mr,onFilterChange:Do,getPopupContainer:Pr||Wo}),_a=rl(Ua,Ll);Zr.filters=Wa,Zr.filterStates=Ll;const is=ke.useMemo(()=>{const Ra={};return Object.keys(Wa).forEach(ls=>{Wa[ls]!==null&&(Ra[ls]=Wa[ls])}),Object.assign(Object.assign({},Al),{filters:Ra})},[Al,Wa]),[bs]=Os(is),Gs=(Ra,ls)=>{Uo({pagination:Object.assign(Object.assign({},Zr.pagination),{current:Ra,pageSize:ls})},"paginate")},[xa,ss]=pu(_a.length,Gs,ii);Zr.pagination=ii===!1?{}:xl(xa,ii),Zr.resetPagination=ss;const Js=ke.useMemo(()=>{if(ii===!1||!xa.pageSize)return _a;const{current:Ra=1,total:ls,pageSize:Qs=zl}=xa;return _a.lengthQs?_a.slice((Ra-1)*Qs,Ra*Qs):_a:_a.slice((Ra-1)*Qs,Ra*Qs)},[!!ii,_a,xa&&xa.current,xa&&xa.pageSize,xa&&xa.total]),[Xa,zo]=Ts({prefixCls:Ia,data:_a,pageData:Js,getRowKey:ao,getRecordByKey:qi,expandType:Zo,childrenColumnName:bo,locale:To,getPopupContainer:Pr||Wo},yi),Ms=(Ra,ls,Qs)=>{let ms;return typeof Ui=="function"?ms=qe()(Ui(Ra,ls,Qs)):ms=qe()(Ui),qe()({[`${Ia}-row-selected`]:zo.has(ao(Ra,ls))},ms)};Ro.__PARENT_RENDER_ICON__=Ro.expandIcon,Ro.expandIcon=Ro.expandIcon||yo||to(To),Zo==="nest"&&Ro.expandIconColumnIndex===void 0?Ro.expandIconColumnIndex=yi?1:0:Ro.expandIconColumnIndex>0&&yi&&(Ro.expandIconColumnIndex-=1),typeof Ro.indentSize!="number"&&(Ro.indentSize=typeof Ko=="number"?Ko:15);const Ys=ke.useCallback(Ra=>bs(Xa(Vs(al(Ra)))),[al,Vs,Xa]);let Wu,vu;if(ii!==!1&&(xa!=null&&xa.total)){let Ra;xa.size?Ra=xa.size:Ra=wo==="small"||wo==="middle"?"small":void 0;const ls=za=>ke.createElement(Gr.Z,Object.assign({},xa,{className:qe()(`${Ia}-pagination ${Ia}-pagination-${za}`,xa.className),size:Ra})),Qs=na==="rtl"?"left":"right",{position:ms}=xa;if(ms!==null&&Array.isArray(ms)){const za=ms.find(Zu=>Zu.includes("top")),_s=ms.find(Zu=>Zu.includes("bottom")),Rl=ms.every(Zu=>`${Zu}`=="none");!za&&!_s&&!Rl&&(vu=ls(Qs)),za&&(Wu=ls(za.toLowerCase().replace("top",""))),_s&&(vu=ls(_s.toLowerCase().replace("bottom","")))}else vu=ls(Qs)}let $a;typeof Br=="boolean"?$a={spinning:Br}:typeof Br=="object"&&($a=Object.assign({spinning:!0},Br));const[Ml,Ps]=Ca(Ia),[,ps]=(0,qr.Z)(),ku=qe()(`${Ia}-wrapper`,ta==null?void 0:ta.className,{[`${Ia}-wrapper-rtl`]:na==="rtl"},en,An,Ps),Cc=Object.assign(Object.assign({},ta==null?void 0:ta.style),gn),ql=jr&&jr.emptyText||(Qa==null?void 0:Qa("Table"))||ke.createElement(pi.Z,{componentName:"Table"}),ac=Lr?wl:Io,sc={},yu=ke.useMemo(()=>{const{fontSize:Ra,lineHeight:ls,padding:Qs,paddingXS:ms,paddingSM:za}=ps,_s=Math.floor(Ra*ls);switch(wo){case"large":return Qs*2+_s;case"small":return ms*2+_s;default:return za*2+_s}},[ps,wo]);return Lr&&(sc.listItemHeight=yu),Ml(ke.createElement("div",{ref:ut,className:ku,style:Cc},ke.createElement(Ao.Z,Object.assign({spinning:!1},$a),Wu,ke.createElement(ac,Object.assign({},sc,Vo,{columns:Mr,direction:na,expandable:Ro,prefixCls:Ia,className:qe()({[`${Ia}-middle`]:wo==="middle",[`${Ia}-small`]:wo==="small",[`${Ia}-bordered`]:Yn,[`${Ia}-empty`]:Ya.length===0}),data:Js,rowKey:ao,rowClassName:Ms,emptyText:ql,internalHooks:Oe,internalRefs:xo,transformColumns:Ys})),vu)))};var gs=ke.forwardRef(as);const Ja=(it,ut)=>{const Jt=ke.useRef(0);return Jt.current+=1,ke.createElement(gs,Object.assign({},it,{ref:ut,_renderTimes:Jt.current}))},Oa=ke.forwardRef(Ja);Oa.SELECTION_COLUMN=Cs,Oa.EXPAND_COLUMN=Se,Oa.SELECTION_ALL=Ss,Oa.SELECTION_INVERT=os,Oa.SELECTION_NONE=hs,Oa.Column=Wt,Oa.ColumnGroup=ai,Oa.Summary=lt;var Rs=Oa,hl=Rs},98228:function(Rn,Fn,ye){"use strict";ye.d(Fn,{default:function(){return Co}});var Se=ye(92310),Oe=ye.n(Se),He=ye(5891),Rt=ye(26390),_e=ye(57259),vt=ye(29043),ke=ye(19149),Tt=ye(80665),Lt=ye(77861),et=ye(17115),gt=ye(90782),ct=ye(35788),wt=ye(51395),Me=ye(59301),te=function($n){var Ce=Me.useRef({valueLabels:new Map});return Me.useMemo(function(){var hi=Ce.current.valueLabels,ki=new Map,un=$n.map(function(Wn){var li,fn=Wn.value,on=(li=Wn.label)!==null&&li!==void 0?li:hi.get(fn);return ki.set(fn,on),(0,_e.Z)((0,_e.Z)({},Wn),{},{label:on})});return Ce.current.valueLabels=ki,[un]},[$n])},ne=function($n,Ce,hi,ki){return Me.useMemo(function(){var un=$n.map(function(on){var mt=on.value;return mt}),Wn=Ce.map(function(on){var mt=on.value;return mt}),li=un.filter(function(on){return!ki[on]});if(hi){var fn=(0,gt.S)(un,!0,ki);un=fn.checkedKeys,Wn=fn.halfCheckedKeys}return[Array.from(new Set([].concat((0,Rt.Z)(li),(0,Rt.Z)(un)))),Wn]},[$n,Ce,hi,ki])},ce=ye(71430),se=function($n,Ce){return Me.useMemo(function(){var hi=(0,ce.I8)($n,{fieldNames:Ce,initWrapper:function(un){return(0,_e.Z)((0,_e.Z)({},un),{},{valueEntities:new Map})},processEntity:function(un,Wn){var li=un.node[Ce.value];if(0)var fn;Wn.valueEntities.set(li,un)}});return hi},[$n,Ce])},ge=ye(80962),ve=ye(38298),be=function(){return null},Fe=be,Pe=["children","value"];function Ie($n){return(0,ve.Z)($n).map(function(Ce){if(!Me.isValidElement(Ce)||!Ce.type)return null;var hi=Ce,ki=hi.key,un=hi.props,Wn=un.children,li=un.value,fn=(0,ke.Z)(un,Pe),on=(0,_e.Z)({key:ki,value:li},fn),mt=Ie(Wn);return mt.length&&(on.children=mt),on}).filter(function(Ce){return Ce})}function We($n){if(!$n)return $n;var Ce=(0,_e.Z)({},$n);return"props"in Ce||Object.defineProperty(Ce,"props",{get:function(){return(0,wt.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Ce}}),Ce}function Ke($n,Ce,hi,ki,un,Wn){var li=null,fn=null;function on(){function mt(Pt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Pt.map(function(qt,dn){var xt="".concat(bt,"-").concat(dn),Ye=qt[Wn.value],an=hi.includes(Ye),Bt=mt(qt[Wn.children]||[],xt,an),jn=Me.createElement(Fe,qt,Bt.map(function(Et){return Et.node}));if(Ce===Ye&&(li=jn),an){var cn={pos:xt,node:jn,children:Bt};return tt||fn.push(cn),cn}return null}).filter(function(qt){return qt})}fn||(fn=[],mt(ki),fn.sort(function(Pt,bt){var tt=Pt.node.props.value,qt=bt.node.props.value,dn=hi.indexOf(tt),xt=hi.indexOf(qt);return dn-xt}))}Object.defineProperty($n,"triggerNode",{get:function(){return(0,wt.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),on(),li}}),Object.defineProperty($n,"allCheckedNodes",{get:function(){return(0,wt.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),on(),un?fn:fn.map(function(Pt){var bt=Pt.node;return bt})}})}var Xe=function($n,Ce,hi){var ki=hi.treeNodeFilterProp,un=hi.filterTreeNode,Wn=hi.fieldNames,li=Wn.children;return Me.useMemo(function(){if(!Ce||un===!1)return $n;var fn;if(typeof un=="function")fn=un;else{var on=Ce.toUpperCase();fn=function(bt,tt){var qt=tt[ki];return String(qt).toUpperCase().includes(on)}}function mt(Pt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Pt.reduce(function(tt,qt){var dn=qt[li],xt=bt||fn(Ce,We(qt)),Ye=mt(dn||[],xt);return(xt||Ye.length)&&tt.push((0,_e.Z)((0,_e.Z)({},qt),{},(0,ge.Z)({isLeaf:void 0},li,Ye))),tt},[])}return mt($n)},[$n,Ce,li,ki,un])};function ht($n){var Ce=Me.useRef();Ce.current=$n;var hi=Me.useCallback(function(){return Ce.current.apply(Ce,arguments)},[]);return hi}function Ve($n,Ce){var hi=Ce.id,ki=Ce.pId,un=Ce.rootPId,Wn={},li=[],fn=$n.map(function(on){var mt=(0,_e.Z)({},on),Pt=mt[hi];return Wn[Pt]=mt,mt.key=mt.key||Pt,mt});return fn.forEach(function(on){var mt=on[ki],Pt=Wn[mt];Pt&&(Pt.children=Pt.children||[],Pt.children.push(on)),(mt===un||!Pt&&un===null)&&li.push(on)}),li}function Nt($n,Ce,hi){return Me.useMemo(function(){return $n?hi?Ve($n,(0,_e.Z)({id:"id",pId:"pId",rootPId:null},hi!==!0?hi:{})):$n:Ie(Ce)},[Ce,hi,$n])}var qe=Me.createContext(null),Ht=qe,Zt=ye(85108),Yt=ye(79722),Ot=ye(99581),Qt=Me.createContext(null),dt=Qt;function Re($n){return Array.isArray($n)?$n:$n!==void 0?[$n]:[]}function Mt($n){var Ce=$n||{},hi=Ce.label,ki=Ce.value,un=Ce.children,Wn=ki||"value";return{_title:hi?[hi]:["title","label"],value:Wn,key:Wn,children:un||"children"}}function Pn($n){return!$n||$n.disabled||$n.disableCheckbox||$n.checkable===!1}function mn($n,Ce){var hi=[];function ki(un){un.forEach(function(Wn){var li=Wn[Ce.children];li&&(hi.push(Wn[Ce.value]),ki(li))})}return ki($n),hi}function kt($n){return $n==null}var _t={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ln=function(Ce,hi){var ki=(0,Lt.lk)(),un=ki.prefixCls,Wn=ki.multiple,li=ki.searchValue,fn=ki.toggleOpen,on=ki.open,mt=ki.notFoundContent,Pt=Me.useContext(dt),bt=Pt.virtual,tt=Pt.listHeight,qt=Pt.listItemHeight,dn=Pt.treeData,xt=Pt.fieldNames,Ye=Pt.onSelect,an=Pt.dropdownMatchSelectWidth,Bt=Pt.treeExpandAction,jn=Me.useContext(Ht),cn=jn.checkable,Et=jn.checkedKeys,xn=jn.halfCheckedKeys,Qn=jn.treeExpandedKeys,Un=jn.treeDefaultExpandAll,zt=jn.treeDefaultExpandedKeys,Sn=jn.onTreeExpand,Ci=jn.treeIcon,Si=jn.showTreeIcon,vi=jn.switcherIcon,ti=jn.treeLine,xi=jn.treeNodeFilterProp,Ni=jn.loadData,Zi=jn.treeLoadedKeys,cr=jn.treeMotion,Gn=jn.onTreeLoad,Ai=jn.keyEntities,br=Me.useRef(),kr=(0,Yt.Z)(function(){return dn},[on,dn],function(fr,Vr){return Vr[0]&&fr[1]!==Vr[1]}),Sr=Me.useState(null),Xt=(0,vt.Z)(Sr,2),Li=Xt[0],rr=Xt[1],Hi=Ai[Li],Er=Me.useMemo(function(){return cn?{checked:Et,halfChecked:xn}:null},[cn,Et,xn]);Me.useEffect(function(){if(on&&!Wn&&Et.length){var fr;(fr=br.current)===null||fr===void 0||fr.scrollTo({key:Et[0]}),rr(Et[0])}},[on]);var dr=String(li).toLowerCase(),Nr=function(Vr){return dr?String(Vr[xi]).toLowerCase().includes(dr):!1},Ti=Me.useState(zt),Qi=(0,vt.Z)(Ti,2),er=Qi[0],kn=Qi[1],Dr=Me.useState(null),Ln=(0,vt.Z)(Dr,2),pr=Ln[0],Qr=Ln[1],vr=Me.useMemo(function(){return Qn?(0,Rt.Z)(Qn):li?pr:er},[er,pr,Qn,li]);Me.useEffect(function(){li&&Qr(mn(dn,xt))},[li]);var Ho=function(Vr){kn(Vr),Qr(Vr),Sn&&Sn(Vr)},co=function(Vr){Vr.preventDefault()},mr=function(Vr,Ii){var Qe=Ii.node;cn&&Pn(Qe)||(Ye(Qe.key,{selected:!Et.includes(Qe.key)}),Wn||fn(!1))};if(Me.useImperativeHandle(hi,function(){var fr;return{scrollTo:(fr=br.current)===null||fr===void 0?void 0:fr.scrollTo,onKeyDown:function(Ii){var Qe,pt=Ii.which;switch(pt){case Zt.Z.UP:case Zt.Z.DOWN:case Zt.Z.LEFT:case Zt.Z.RIGHT:(Qe=br.current)===null||Qe===void 0||Qe.onKeyDown(Ii);break;case Zt.Z.ENTER:{if(Hi){var It=(Hi==null?void 0:Hi.node)||{},sn=It.selectable,Hn=It.value;sn!==!1&&mr(null,{node:{key:Li},selected:!Et.includes(Hn)})}break}case Zt.Z.ESC:fn(!1)}},onKeyUp:function(){}}}),kr.length===0)return Me.createElement("div",{role:"listbox",className:"".concat(un,"-empty"),onMouseDown:co},mt);var hr={fieldNames:xt};return Zi&&(hr.loadedKeys=Zi),vr&&(hr.expandedKeys=vr),Me.createElement("div",{onMouseDown:co},Hi&&on&&Me.createElement("span",{style:_t,"aria-live":"assertive"},Hi.node.value),Me.createElement(Ot.Z,(0,He.Z)({ref:br,focusable:!1,prefixCls:"".concat(un,"-tree"),treeData:kr,height:tt,itemHeight:qt,virtual:bt!==!1&&an!==!1,multiple:Wn,icon:Ci,showIcon:Si,switcherIcon:vi,showLine:ti,loadData:li?null:Ni,motion:cr,activeKey:Li,checkable:cn,checkStrictly:!0,checkedKeys:Er,selectedKeys:cn?[]:Et,defaultExpandAll:Un},hr,{onActiveChange:rr,onSelect:mr,onCheck:mr,onExpand:Ho,onLoad:Gn,filterTreeNode:Nr,expandAction:Bt})))},Bn=Me.forwardRef(ln);Bn.displayName="OptionList";var wn=Bn,Kn="SHOW_ALL",yt="SHOW_PARENT",Jn="SHOW_CHILD";function bn($n,Ce,hi,ki){var un=new Set($n);return Ce===Jn?$n.filter(function(Wn){var li=hi[Wn];return!(li&&li.children&&li.children.some(function(fn){var on=fn.node;return un.has(on[ki.value])})&&li.children.every(function(fn){var on=fn.node;return Pn(on)||un.has(on[ki.value])}))}):Ce===yt?$n.filter(function(Wn){var li=hi[Wn],fn=li?li.parent:null;return!(fn&&!Pn(fn.node)&&un.has(fn.key))}):$n}function ci($n){var Ce=$n.searchPlaceholder,hi=$n.treeCheckStrictly,ki=$n.treeCheckable,un=$n.labelInValue,Wn=$n.value,li=$n.multiple;warning(!Ce,"`searchPlaceholder` has been removed."),hi&&un===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(un||hi)&&warning(toArray(Wn).every(function(fn){return fn&&_typeof(fn)==="object"&&"value"in fn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),hi||li||ki?warning(!Wn||Array.isArray(Wn),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Wn),"`value` should not be array when `TreeSelect` is single mode.")}var Tn=null,tn=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function $t($n){return!$n||(0,Tt.Z)($n)!=="object"}var ft=Me.forwardRef(function($n,Ce){var hi=$n.id,ki=$n.prefixCls,un=ki===void 0?"rc-tree-select":ki,Wn=$n.value,li=$n.defaultValue,fn=$n.onChange,on=$n.onSelect,mt=$n.onDeselect,Pt=$n.searchValue,bt=$n.inputValue,tt=$n.onSearch,qt=$n.autoClearSearchValue,dn=qt===void 0?!0:qt,xt=$n.filterTreeNode,Ye=$n.treeNodeFilterProp,an=Ye===void 0?"value":Ye,Bt=$n.showCheckedStrategy,jn=$n.treeNodeLabelProp,cn=$n.multiple,Et=$n.treeCheckable,xn=$n.treeCheckStrictly,Qn=$n.labelInValue,Un=$n.fieldNames,zt=$n.treeDataSimpleMode,Sn=$n.treeData,Ci=$n.children,Si=$n.loadData,vi=$n.treeLoadedKeys,ti=$n.onTreeLoad,xi=$n.treeDefaultExpandAll,Ni=$n.treeExpandedKeys,Zi=$n.treeDefaultExpandedKeys,cr=$n.onTreeExpand,Gn=$n.treeExpandAction,Ai=$n.virtual,br=$n.listHeight,kr=br===void 0?200:br,Sr=$n.listItemHeight,Xt=Sr===void 0?20:Sr,Li=$n.onDropdownVisibleChange,rr=$n.dropdownMatchSelectWidth,Hi=rr===void 0?!0:rr,Er=$n.treeLine,dr=$n.treeIcon,Nr=$n.showTreeIcon,Ti=$n.switcherIcon,Qi=$n.treeMotion,er=(0,ke.Z)($n,tn),kn=(0,et.ZP)(hi),Dr=Et&&!xn,Ln=Et||xn,pr=xn||Qn,Qr=Ln||cn,vr=(0,ct.Z)(li,{value:Wn}),Ho=(0,vt.Z)(vr,2),co=Ho[0],mr=Ho[1],hr=Me.useMemo(function(){return Et?Bt||Jn:Kn},[Bt,Et]),fr=Me.useMemo(function(){return Mt(Un)},[JSON.stringify(Un)]),Vr=(0,ct.Z)("",{value:Pt!==void 0?Pt:bt,postState:function(Fo){return Fo||""}}),Ii=(0,vt.Z)(Vr,2),Qe=Ii[0],pt=Ii[1],It=function(Fo){pt(Fo),tt==null||tt(Fo)},sn=Nt(Sn,Ci,zt),Hn=se(sn,fr),On=Hn.keyEntities,Wt=Hn.valueEntities,Nn=Me.useCallback(function(ma){var Fo=[],Oo=[];return ma.forEach(function(Pa){Wt.has(Pa)?Oo.push(Pa):Fo.push(Pa)}),{missingRawValues:Fo,existRawValues:Oo}},[Wt]),ai=Xe(sn,Qe,{fieldNames:fr,treeNodeFilterProp:an,filterTreeNode:xt}),qn=Me.useCallback(function(ma){if(ma){if(jn)return ma[jn];for(var Fo=fr._title,Oo=0;Oo{const{componentCls:Ce,treePrefixCls:hi,colorBgElevated:ki}=$n,un=`.${hi}`;return[{[`${Ce}-dropdown`]:[{padding:`${$n.paddingXS}px ${$n.paddingXS/2}px`},(0,nr.Yk)(hi,(0,Wi.TS)($n,{colorBgContainer:ki})),{[un]:{borderRadius:0,[`${un}-list-holder-inner`]:{alignItems:"stretch",[`${un}-treenode`]:{[`${un}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Ri.C2)(`${hi}-checkbox`,$n),{"&-rtl":{direction:"rtl",[`${un}-switcher${un}-switcher_close`]:{[`${un}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Hr($n,Ce){return(0,Mn.Z)("TreeSelect",hi=>{const ki=(0,Wi.TS)(hi,{treePrefixCls:Ce});return[Wr(ki)]},nr.TM)($n)}var Tr=function($n,Ce){var hi={};for(var ki in $n)Object.prototype.hasOwnProperty.call($n,ki)&&Ce.indexOf(ki)<0&&(hi[ki]=$n[ki]);if($n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,ki=Object.getOwnPropertySymbols($n);un{var hi,{prefixCls:ki,size:un,disabled:Wn,bordered:li=!0,className:fn,rootClassName:on,treeCheckable:mt,multiple:Pt,listHeight:bt=256,listItemHeight:tt=26,placement:qt,notFoundContent:dn,switcherIcon:xt,treeLine:Ye,getPopupContainer:an,popupClassName:Bt,dropdownClassName:jn,treeIcon:cn=!1,transitionName:Et,choiceTransitionName:xn="",status:Qn,treeExpandAction:Un,builtinPlacements:zt,dropdownMatchSelectWidth:Sn,popupMatchSelectWidth:Ci,allowClear:Si}=$n,vi=Tr($n,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:ti,getPrefixCls:xi,renderEmpty:Ni,direction:Zi,virtual:cr,popupMatchSelectWidth:Gn,popupOverflow:Ai}=Me.useContext(pe.E_),br=xi(),kr=xi("select",ki),Sr=xi("select-tree",ki),Xt=xi("tree-select",ki),{compactSize:Li,compactItemClassnames:rr}=(0,mi.ri)(kr,Zi),[Hi,Er]=(0,Ut.Z)(kr),[dr]=Hr(Xt,Sr),Nr=Oe()(Bt||jn,`${Xt}-dropdown`,{[`${Xt}-dropdown-rtl`]:Zi==="rtl"},on,Er),Ti=!!(mt||Pt),Qi=(0,rn.Z)(vi.suffixIcon,vi.showArrow),er=(hi=Ci!=null?Ci:Sn)!==null&&hi!==void 0?hi:Gn,{status:kn,hasFeedback:Dr,isFormItemInput:Ln,feedbackIcon:pr}=Me.useContext(nt.aM),Qr=(0,we.F)(kn,Qn),{suffixIcon:vr,removeIcon:Ho,clearIcon:co}=(0,vn.Z)(Object.assign(Object.assign({},vi),{multiple:Ti,showSuffixIcon:Qi,hasFeedback:Dr,feedbackIcon:pr,prefixCls:kr,componentName:"TreeSelect"})),mr=Si===!0?{clearIcon:co}:Si;let hr;dn!==void 0?hr=dn:hr=(Ni==null?void 0:Ni("Select"))||Me.createElement(ze.Z,{componentName:"Select"});const fr=(0,lt.Z)(vi,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Vr=Me.useMemo(()=>qt!==void 0?qt:Zi==="rtl"?"bottomRight":"bottomLeft",[qt,Zi]),Ii=(0,En.Z)(zt,Ai),Qe=(0,Le.Z)(Wt=>{var Nn;return(Nn=un!=null?un:Li)!==null&&Nn!==void 0?Nn:Wt}),pt=Me.useContext(De.Z),It=Wn!=null?Wn:pt,sn=Oe()(!ki&&Xt,{[`${kr}-lg`]:Qe==="large",[`${kr}-sm`]:Qe==="small",[`${kr}-rtl`]:Zi==="rtl",[`${kr}-borderless`]:!li,[`${kr}-in-form-item`]:Ln},(0,we.Z)(kr,Qr,Dr),rr,fn,on,Er),Hn=Wt=>Me.createElement(wi.Z,{prefixCls:Sr,switcherIcon:xt,treeNodeProps:Wt,showLine:Ye}),On=Me.createElement(At,Object.assign({virtual:cr,disabled:It},fr,{dropdownMatchSelectWidth:er,builtinPlacements:Ii,ref:Ce,prefixCls:kr,className:sn,listHeight:bt,listItemHeight:tt,treeCheckable:mt&&Me.createElement("span",{className:`${kr}-tree-checkbox-inner`}),treeLine:!!Ye,suffixIcon:vr,multiple:Ti,placement:Vr,removeIcon:Ho,allowClear:mr,switcherIcon:Hn,showTreeIcon:cn,notFoundContent:hr,getPopupContainer:an||ti,treeMotion:null,dropdownClassName:Nr,choiceTransitionName:(0,Be.m)(br,"",xn),transitionName:(0,Be.m)(br,"slide-up",Et),treeExpandAction:Un}));return Hi(dr(On))},Kr=Me.forwardRef(Fr),ar=(0,Ge.Z)(Kr);Kr.TreeNode=Fe,Kr.SHOW_ALL=Kn,Kr.SHOW_PARENT=yt,Kr.SHOW_CHILD=Jn,Kr._InternalPanelDoNotUseOrYouWillBeFired=ar;var Co=Kr},86914:function(Rn,Fn,ye){"use strict";ye.d(Fn,{default:function(){return dt}});var Se=ye(99581),Oe=ye(26390),He=ye(43971),Rt=ye(58358),_e=ye(5891),vt=ye(59301),ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Tt=ke,Lt=ye(88853),et=function(Mt,Pn){return vt.createElement(Lt.Z,(0,_e.Z)({},Mt,{ref:Pn,icon:Tt}))},gt=vt.forwardRef(et),ct=gt,wt=ye(92310),Me=ye.n(wt),te=ye(35654),ne=ye(71430),ce=ye(36355),se=ye(44757),ge=ye(62892),ve=ye(20648);const be=4;function Fe(Re){const{dropPosition:Mt,dropLevelOffset:Pn,prefixCls:mn,indent:kt,direction:_t="ltr"}=Re,ln=_t==="ltr"?"left":"right",Bn=_t==="ltr"?"right":"left",wn={[ln]:-Pn*kt+be,[Bn]:0};switch(Mt){case-1:wn.top=-3;break;case 1:wn.bottom=-3;break;default:wn.bottom=-3,wn[ln]=kt+be;break}return vt.createElement("div",{style:wn,className:`${mn}-drop-indicator`})}var Pe=ye(48610),We=vt.forwardRef((Re,Mt)=>{const{getPrefixCls:Pn,direction:mn,virtual:kt,tree:_t}=vt.useContext(ce.E_),{prefixCls:ln,className:Bn,showIcon:wn=!1,showLine:Kn,switcherIcon:yt,blockNode:Jn=!1,children:bn,checkable:ci=!1,selectable:Tn=!0,draggable:tn,motion:$t,style:ft}=Re,Je=Pn("tree",ln),Gt=Pn(),At=$t!=null?$t:Object.assign(Object.assign({},(0,ge.Z)(Gt)),{motionAppear:!1}),lt=Object.assign(Object.assign({},Re),{checkable:ci,selectable:Tn,showIcon:wn,motion:At,blockNode:Jn,showLine:!!Kn,dropIndicatorRender:Fe}),[Ge,Be]=(0,ve.ZP)(Je),we=vt.useMemo(()=>{if(!tn)return!1;let De={};switch(typeof tn){case"function":De.nodeDraggable=tn;break;case"object":De=Object.assign({},tn);break;default:break}return De.icon!==!1&&(De.icon=De.icon||vt.createElement(se.Z,null)),De},[tn]),pe=De=>vt.createElement(Pe.Z,{prefixCls:Je,switcherIcon:yt,treeNodeProps:De,showLine:Kn});return Ge(vt.createElement(Se.Z,Object.assign({itemHeight:20,ref:Mt,virtual:kt},lt,{style:Object.assign(Object.assign({},_t==null?void 0:_t.style),ft),prefixCls:Je,className:Me()({[`${Je}-icon-hide`]:!wn,[`${Je}-block-node`]:Jn,[`${Je}-unselectable`]:!Tn,[`${Je}-rtl`]:mn==="rtl"},_t==null?void 0:_t.className,Bn,Be),direction:mn,checkable:ci&&vt.createElement("span",{className:`${Je}-checkbox-inner`}),selectable:Tn,switcherIcon:pe,draggable:we}),bn))}),Ke;(function(Re){Re[Re.None=0]="None",Re[Re.Start=1]="Start",Re[Re.End=2]="End"})(Ke||(Ke={}));function Xe(Re,Mt){function Pn(mn){const{key:kt,children:_t}=mn;Mt(kt,mn)!==!1&&Xe(_t||[],Mt)}Re.forEach(Pn)}function ht(Re){let{treeData:Mt,expandedKeys:Pn,startKey:mn,endKey:kt}=Re;const _t=[];let ln=Ke.None;if(mn&&mn===kt)return[mn];if(!mn||!kt)return[];function Bn(wn){return wn===mn||wn===kt}return Xe(Mt,wn=>{if(ln===Ke.End)return!1;if(Bn(wn)){if(_t.push(wn),ln===Ke.None)ln=Ke.Start;else if(ln===Ke.Start)return ln=Ke.End,!1}else ln===Ke.Start&&_t.push(wn);return Pn.includes(wn)}),_t}function Ve(Re,Mt){const Pn=(0,Oe.Z)(Mt),mn=[];return Xe(Re,(kt,_t)=>{const ln=Pn.indexOf(kt);return ln!==-1&&(mn.push(_t),Pn.splice(ln,1)),!!Pn.length}),mn}var Nt=function(Re,Mt){var Pn={};for(var mn in Re)Object.prototype.hasOwnProperty.call(Re,mn)&&Mt.indexOf(mn)<0&&(Pn[mn]=Re[mn]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,mn=Object.getOwnPropertySymbols(Re);kt{var{defaultExpandAll:Pn,defaultExpandParent:mn,defaultExpandedKeys:kt}=Re,_t=Nt(Re,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ln=vt.useRef(),Bn=vt.useRef(),wn=()=>{const{keyEntities:we}=(0,ne.I8)(Ht(_t));let pe;return Pn?pe=Object.keys(we):mn?pe=(0,te.r7)(_t.expandedKeys||kt||[],we):pe=_t.expandedKeys||kt,pe},[Kn,yt]=vt.useState(_t.selectedKeys||_t.defaultSelectedKeys||[]),[Jn,bn]=vt.useState(()=>wn());vt.useEffect(()=>{"selectedKeys"in _t&&yt(_t.selectedKeys)},[_t.selectedKeys]),vt.useEffect(()=>{"expandedKeys"in _t&&bn(_t.expandedKeys)},[_t.expandedKeys]);const ci=(we,pe)=>{var De;return"expandedKeys"in _t||bn(we),(De=_t.onExpand)===null||De===void 0?void 0:De.call(_t,we,pe)},Tn=(we,pe)=>{var De;const{multiple:ze}=_t,{node:Le,nativeEvent:nt}=pe,{key:Ut=""}=Le,En=Ht(_t),rn=Object.assign(Object.assign({},pe),{selected:!0}),vn=(nt==null?void 0:nt.ctrlKey)||(nt==null?void 0:nt.metaKey),mi=nt==null?void 0:nt.shiftKey;let wi;ze&&vn?(wi=we,ln.current=Ut,Bn.current=wi,rn.selectedNodes=Ve(En,wi)):ze&&mi?(wi=Array.from(new Set([].concat((0,Oe.Z)(Bn.current||[]),(0,Oe.Z)(ht({treeData:En,expandedKeys:Jn,startKey:Ut,endKey:ln.current}))))),rn.selectedNodes=Ve(En,wi)):(wi=[Ut],ln.current=Ut,Bn.current=wi,rn.selectedNodes=Ve(En,wi)),(De=_t.onSelect)===null||De===void 0||De.call(_t,wi,rn),"selectedKeys"in _t||yt(wi)},{getPrefixCls:tn,direction:$t}=vt.useContext(ce.E_),{prefixCls:ft,className:Je,showIcon:Gt=!0,expandAction:At="click"}=_t,lt=Nt(_t,["prefixCls","className","showIcon","expandAction"]),Ge=tn("tree",ft),Be=Me()(`${Ge}-directory`,{[`${Ge}-directory-rtl`]:$t==="rtl"},Je);return vt.createElement(We,Object.assign({icon:qe,ref:Mt,blockNode:!0},lt,{showIcon:Gt,expandAction:At,prefixCls:Ge,className:Be,expandedKeys:Jn,selectedKeys:Kn,onSelect:Tn,onExpand:ci}))};var Ot=vt.forwardRef(Zt);const Qt=We;Qt.DirectoryTree=Ot,Qt.TreeNode=Se.O;var dt=Qt},20648:function(Rn,Fn,ye){"use strict";ye.d(Fn,{TM:function(){return wt},Yk:function(){return ct}});var Se=ye(9792),Oe=ye(98447),He=ye(17313),Rt=ye(8378),_e=ye(37613),vt=ye(83116);const ke=new Se.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Tt=(Me,te)=>({[`.${Me}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${te.motionDurationSlow}`}}}),Lt=(Me,te)=>({[`.${Me}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:te.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${te.lineWidthBold}px solid ${te.colorPrimary}`,borderRadius:"50%",content:'""'}}}),et=(Me,te)=>{const{treeCls:ne,treeNodeCls:ce,treeNodePadding:se,titleHeight:ge,nodeSelectedBg:ve,nodeHoverBg:be}=te,Fe=te.paddingXS;return{[ne]:Object.assign(Object.assign({},(0,He.Wf)(te)),{background:te.colorBgContainer,borderRadius:te.borderRadius,transition:`background-color ${te.motionDurationSlow}`,[`&${ne}-rtl`]:{[`${ne}-switcher`]:{"&_close":{[`${ne}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ne}-active-focused)`]:Object.assign({},(0,He.oN)(te)),[`${ne}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ne}-block-node`]:{[`${ne}-list-holder-inner`]:{alignItems:"stretch",[`${ne}-node-content-wrapper`]:{flex:"auto"},[`${ce}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:se,insetInlineStart:0,border:`1px solid ${te.colorPrimary}`,opacity:0,animationName:ke,animationDuration:te.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ce}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${se}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ne}-node-content-wrapper`]:{color:te.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ne}-node-content-wrapper`]:Object.assign({},(0,He.oN)(te)),[`&:not(${ce}-disabled).filter-node ${ne}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ne}-draggable-icon`]:{flexShrink:0,width:ge,lineHeight:`${ge}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${te.motionDurationSlow}`,[`${ce}:hover &`]:{opacity:.45}},[`&${ce}-disabled`]:{[`${ne}-draggable-icon`]:{visibility:"hidden"}}}},[`${ne}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:ge}},[`${ne}-draggable-icon`]:{visibility:"hidden"},[`${ne}-switcher`]:Object.assign(Object.assign({},Tt(Me,te)),{position:"relative",flex:"none",alignSelf:"stretch",width:ge,margin:0,lineHeight:`${ge}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ne}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:te.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ge/2,bottom:-se,marginInlineStart:-1,borderInlineEnd:`1px solid ${te.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ge/2*.8,height:ge/2,borderBottom:`1px solid ${te.colorBorder}`,content:'""'}}}),[`${ne}-checkbox`]:{top:"initial",marginInlineEnd:Fe},[`${ne}-node-content-wrapper, ${ne}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:ge,margin:0,padding:`0 ${te.paddingXS/2}px`,color:"inherit",lineHeight:`${ge}px`,background:"transparent",borderRadius:te.borderRadius,cursor:"pointer",transition:`all ${te.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:be},[`&${ne}-node-selected`]:{backgroundColor:ve},[`${ne}-iconEle`]:{display:"inline-block",width:ge,height:ge,lineHeight:`${ge}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ne}-unselectable ${ne}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ne}-node-content-wrapper`]:Object.assign({lineHeight:`${ge}px`,userSelect:"none"},Lt(Me,te)),[`${ce}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${te.colorPrimary}`}},"&-show-line":{[`${ne}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ge/2,bottom:-se,borderInlineEnd:`1px solid ${te.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ne}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ce}-leaf-last`]:{[`${ne}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${ge/2}px !important`}}}}})}},gt=Me=>{const{treeCls:te,treeNodeCls:ne,treeNodePadding:ce,directoryNodeSelectedBg:se,directoryNodeSelectedColor:ge}=Me;return{[`${te}${te}-directory`]:{[ne]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ce,insetInlineStart:0,transition:`background-color ${Me.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:Me.controlItemBgHover}},"> *":{zIndex:1},[`${te}-switcher`]:{transition:`color ${Me.motionDurationMid}`},[`${te}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${te}-node-selected`]:{color:ge,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:se},[`${te}-switcher`]:{color:ge},[`${te}-node-content-wrapper`]:{color:ge,background:"transparent"}}}}}},ct=(Me,te)=>{const ne=`.${Me}`,ce=`${ne}-treenode`,se=te.paddingXS/2,ge=(0,_e.TS)(te,{treeCls:ne,treeNodeCls:ce,treeNodePadding:se});return[et(Me,ge),gt(ge)]},wt=Me=>{const{controlHeightSM:te}=Me;return{titleHeight:te,nodeHoverBg:Me.controlItemBgHover,nodeSelectedBg:Me.controlItemBgActive}};Fn.ZP=(0,vt.Z)("Tree",(Me,te)=>{let{prefixCls:ne}=te;return[{[Me.componentCls]:(0,Oe.C2)(`${ne}-checkbox`,Me)},ct(ne,Me),(0,Rt.Z)(Me)]},Me=>{const{colorTextLightSolid:te,colorPrimary:ne}=Me;return Object.assign(Object.assign({},wt(Me)),{directoryNodeSelectedColor:te,directoryNodeSelectedBg:ne})})},48610:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return ce}});var Se=ye(5891),Oe=ye(59301),He={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Rt=He,_e=ye(88853),vt=function(ge,ve){return Oe.createElement(_e.Z,(0,Se.Z)({},ge,{ref:ve,icon:Rt}))},ke=Oe.forwardRef(vt),Tt=ke,Lt=ye(43971),et=ye(50023),gt=ye(77042),ct=ye(5527),wt=ye(92310),Me=ye.n(wt),te=ye(92343),ce=se=>{const{prefixCls:ge,switcherIcon:ve,treeNodeProps:be,showLine:Fe}=se,{isLeaf:Pe,expanded:Ie,loading:We}=be;if(We)return Oe.createElement(et.Z,{className:`${ge}-switcher-loading-icon`});let Ke;if(Fe&&typeof Fe=="object"&&(Ke=Fe.showLeafIcon),Pe){if(!Fe)return null;if(typeof Ke!="boolean"&&Ke){const Ve=typeof Ke=="function"?Ke(be):Ke,Nt=`${ge}-switcher-line-custom-icon`;return(0,te.l$)(Ve)?(0,te.Tm)(Ve,{className:Me()(Ve.props.className||"",Nt)}):Ve}return Ke?Oe.createElement(Lt.Z,{className:`${ge}-switcher-line-icon`}):Oe.createElement("span",{className:`${ge}-switcher-leaf-line`})}const Xe=`${ge}-switcher-icon`,ht=typeof ve=="function"?ve(be):ve;return(0,te.l$)(ht)?(0,te.Tm)(ht,{className:Me()(ht.props.className||"",Xe)}):ht!==void 0?ht:Fe?Ie?Oe.createElement(gt.Z,{className:`${ge}-switcher-line-icon`}):Oe.createElement(ct.Z,{className:`${ge}-switcher-line-icon`}):Oe.createElement(Tt,{className:Xe})}},99498:function(Rn,Fn,ye){(function(Se){Se(ye(89780))})(function(Se){Se.defineOption("placeholder","",function(Tt,Lt,et){var gt=et&&et!=Se.Init;if(Lt&&!gt)Tt.on("blur",_e),Tt.on("change",vt),Tt.on("swapDoc",vt),Se.on(Tt.getInputField(),"compositionupdate",Tt.state.placeholderCompose=function(){Rt(Tt)}),vt(Tt);else if(!Lt&>){Tt.off("blur",_e),Tt.off("change",vt),Tt.off("swapDoc",vt),Se.off(Tt.getInputField(),"compositionupdate",Tt.state.placeholderCompose),Oe(Tt);var ct=Tt.getWrapperElement();ct.className=ct.className.replace(" CodeMirror-empty","")}Lt&&!Tt.hasFocus()&&_e(Tt)});function Oe(Tt){Tt.state.placeholder&&(Tt.state.placeholder.parentNode.removeChild(Tt.state.placeholder),Tt.state.placeholder=null)}function He(Tt){Oe(Tt);var Lt=Tt.state.placeholder=document.createElement("pre");Lt.style.cssText="height: 0; overflow: visible",Lt.style.direction=Tt.getOption("direction"),Lt.className="CodeMirror-placeholder CodeMirror-line-like";var et=Tt.getOption("placeholder");typeof et=="string"&&(et=document.createTextNode(et)),Lt.appendChild(et),Tt.display.lineSpace.insertBefore(Lt,Tt.display.lineSpace.firstChild)}function Rt(Tt){setTimeout(function(){var Lt=!1,et=Tt.getInputField();et.nodeName=="TEXTAREA"?Lt=!et.value:Tt.lineCount()==1&&(Lt=!/[^\u200b]/.test(et.querySelector(".CodeMirror-line").textContent)),Lt?He(Tt):Oe(Tt)},20)}function _e(Tt){ke(Tt)&&He(Tt)}function vt(Tt){var Lt=Tt.getWrapperElement(),et=ke(Tt);Lt.className=Lt.className.replace(" CodeMirror-empty","")+(et?" CodeMirror-empty":""),et?He(Tt):Oe(Tt)}function ke(Tt){return Tt.lineCount()===1&&Tt.getLine(0)===""}})},25717:function(Rn,Fn,ye){(function(Se){Se(ye(89780))})(function(Se){var Oe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},He=Se.Pos;Se.defineOption("autoCloseBrackets",!1,function(te,ne,ce){ce&&ce!=Se.Init&&(te.removeKeyMap(_e),te.state.closeBrackets=null),ne&&(vt(Rt(ne,"pairs")),te.state.closeBrackets=ne,te.addKeyMap(_e))});function Rt(te,ne){return ne=="pairs"&&typeof te=="string"?te:typeof te=="object"&&te[ne]!=null?te[ne]:Oe[ne]}var _e={Backspace:Lt,Enter:et};function vt(te){for(var ne=0;ne=0;ge--){var be=se[ge].head;te.replaceRange("",He(be.line,be.ch-1),He(be.line,be.ch+1),"+delete")}}function et(te){var ne=Tt(te),ce=ne&&Rt(ne,"explode");if(!ce||te.getOption("disableInput"))return Se.Pass;for(var se=te.listSelections(),ge=0;ge0;return{anchor:new He(te.anchor.line,te.anchor.ch+(ne?-1:1)),head:new He(te.head.line,te.head.ch+(ne?1:-1))}}function ct(te,ne){var ce=Tt(te);if(!ce||te.getOption("disableInput"))return Se.Pass;var se=Rt(ce,"pairs"),ge=se.indexOf(ne);if(ge==-1)return Se.Pass;for(var ve=Rt(ce,"closeBefore"),be=Rt(ce,"triples"),Fe=se.charAt(ge+1)==ne,Pe=te.listSelections(),Ie=ge%2==0,We,Ke=0;Ke=0&&te.getRange(ht,He(ht.line,ht.ch+3))==ne+ne+ne?Ve="skipThree":Ve="skip";else if(Fe&&ht.ch>1&&be.indexOf(ne)>=0&&te.getRange(He(ht.line,ht.ch-2),ht)==ne+ne){if(ht.ch>2&&/\bstring/.test(te.getTokenTypeAt(He(ht.line,ht.ch-2))))return Se.Pass;Ve="addFour"}else if(Fe){var qe=ht.ch==0?" ":te.getRange(He(ht.line,ht.ch-1),ht);if(!Se.isWordChar(Nt)&&qe!=ne&&!Se.isWordChar(qe))Ve="both";else return Se.Pass}else if(Ie&&(Nt.length===0||/\s/.test(Nt)||ve.indexOf(Nt)>-1))Ve="both";else return Se.Pass;if(!We)We=Ve;else if(We!=Ve)return Se.Pass}var Ht=ge%2?se.charAt(ge-1):ne,Zt=ge%2?ne:se.charAt(ge+1);te.operation(function(){if(We=="skip")te.execCommand("goCharRight");else if(We=="skipThree")for(var Yt=0;Yt<3;Yt++)te.execCommand("goCharRight");else if(We=="surround"){for(var Ot=te.getSelections(),Yt=0;Yt'"]=function(wt){return Rt(wt)}),Lt.addKeyMap(ct)}});var Oe=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],He=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function Rt(Lt){if(Lt.getOption("disableInput"))return Se.Pass;for(var et=Lt.listSelections(),gt=[],ct=Lt.getOption("autoCloseTags"),wt=0;wtMe.ch&&(ge=ge.slice(0,ge.length-te.end+Me.ch));var Pe=ge.toLowerCase();if(!ge||te.type=="string"&&(te.end!=Me.ch||!/[\"\']/.test(te.string.charAt(te.string.length-1))||te.string.length==1)||te.type=="tag"&&se.close||te.string.indexOf("/")==Me.ch-te.start-1||be&&ke(be,Pe)>-1||Tt(Lt,ne.mode.xmlCurrentContext&&ne.mode.xmlCurrentContext(ce)||[],ge,Me,!0))return Se.Pass;var Ie=typeof ct=="object"&&ct.emptyTags;if(Ie&&ke(Ie,ge)>-1){gt[wt]={text:"/>",newPos:Se.Pos(Me.line,Me.ch+2)};continue}var We=Fe&&ke(Fe,Pe)>-1;gt[wt]={indent:We,text:">"+(We?` `:"")+"",newPos:We?Se.Pos(Me.line+1,0):Se.Pos(Me.line,Me.ch+1)}}for(var Ke=typeof ct=="object"&&ct.dontIndentOnAutoClose,wt=et.length-1;wt>=0;wt--){var Xe=gt[wt];Lt.replaceRange(Xe.text,et[wt].head,et[wt].anchor,"+insert");var ht=Lt.listSelections().slice(0);ht[wt]={head:Xe.newPos,anchor:Xe.newPos},Lt.setSelections(ht),!Ke&&Xe.indent&&(Lt.indentLine(Xe.newPos.line,null,!0),Lt.indentLine(Xe.newPos.line+1,null,!0))}}function _e(Lt,et){for(var gt=Lt.listSelections(),ct=[],wt=et?"/":""&&(be+=">"),ct[ne]=be}if(Lt.replaceSelections(ct),gt=Lt.listSelections(),!te)for(var ne=0;ne=0&&et[ce]==gt;ce--)++ne;ct=te.to;for(var ce=1;ce=ce.max))return ce.ch=0,ce.text=ce.cm.getLine(++ce.line),!0}function et(ce){if(!(ce.line<=ce.min))return ce.text=ce.cm.getLine(--ce.line),ce.ch=ce.text.length,!0}function gt(ce){for(;;){var se=ce.text.indexOf(">",ce.ch);if(se==-1){if(Lt(ce))continue;return}if(!Tt(ce,se+1)){ce.ch=se+1;continue}var ge=ce.text.lastIndexOf("/",se),ve=ge>-1&&!/\S/.test(ce.text.slice(ge+1,se));return ce.ch=se+1,ve?"selfClose":"regular"}}function ct(ce){for(;;){var se=ce.ch?ce.text.lastIndexOf("<",ce.ch-1):-1;if(se==-1){if(et(ce))continue;return}if(!Tt(ce,se+1)){ce.ch=se;continue}vt.lastIndex=se,ce.ch=se;var ge=vt.exec(ce.text);if(ge&&ge.index==se)return ge}}function wt(ce){for(;;){vt.lastIndex=ce.ch;var se=vt.exec(ce.text);if(!se){if(Lt(ce))continue;return}if(!Tt(ce,se.index+1)){ce.ch=se.index+1;continue}return ce.ch=se.index+se[0].length,se}}function Me(ce){for(;;){var se=ce.ch?ce.text.lastIndexOf(">",ce.ch-1):-1;if(se==-1){if(et(ce))continue;return}if(!Tt(ce,se+1)){ce.ch=se;continue}var ge=ce.text.lastIndexOf("/",se),ve=ge>-1&&!/\S/.test(ce.text.slice(ge+1,se));return ce.ch=se+1,ve?"selfClose":"regular"}}function te(ce,se){for(var ge=[];;){var ve=wt(ce),be,Fe=ce.line,Pe=ce.ch-(ve?ve[0].length:0);if(!ve||!(be=gt(ce)))return;if(be!="selfClose")if(ve[1]){for(var Ie=ge.length-1;Ie>=0;--Ie)if(ge[Ie]==ve[2]){ge.length=Ie;break}if(Ie<0&&(!se||se==ve[2]))return{tag:ve[2],from:Oe(Fe,Pe),to:Oe(ce.line,ce.ch)}}else ge.push(ve[2])}}function ne(ce,se){for(var ge=[];;){var ve=Me(ce);if(!ve)return;if(ve=="selfClose"){ct(ce);continue}var be=ce.line,Fe=ce.ch,Pe=ct(ce);if(!Pe)return;if(Pe[1])ge.push(Pe[2]);else{for(var Ie=ge.length-1;Ie>=0;--Ie)if(ge[Ie]==Pe[2]){ge.length=Ie;break}if(Ie<0&&(!se||se==Pe[2]))return{tag:Pe[2],from:Oe(ce.line,ce.ch),to:Oe(be,Fe)}}}}Se.registerHelper("fold","xml",function(ce,se){for(var ge=new ke(ce,se.line,0);;){var ve=wt(ge);if(!ve||ge.line!=se.line)return;var be=gt(ge);if(!be)return;if(!ve[1]&&be!="selfClose"){var Fe=Oe(ge.line,ge.ch),Pe=te(ge,ve[2]);return Pe&&He(Pe.from,Fe)>0?{from:Fe,to:Pe.from}:null}}}),Se.findMatchingTag=function(ce,se,ge){var ve=new ke(ce,se.line,se.ch,ge);if(!(ve.text.indexOf(">")==-1&&ve.text.indexOf("<")==-1)){var be=gt(ve),Fe=be&&Oe(ve.line,ve.ch),Pe=be&&ct(ve);if(!(!be||!Pe||He(ve,se)>0)){var Ie={from:Oe(ve.line,ve.ch),to:Fe,tag:Pe[2]};return be=="selfClose"?{open:Ie,close:null,at:"open"}:Pe[1]?{open:ne(ve,Pe[2]),close:Ie,at:"close"}:(ve=new ke(ce,Fe.line,Fe.ch,ge),{open:Ie,close:te(ve,Pe[2]),at:"open"})}}},Se.findEnclosingTag=function(ce,se,ge,ve){for(var be=new ke(ce,se.line,se.ch,ge);;){var Fe=ne(be,ve);if(!Fe)break;var Pe=new ke(ce,se.line,se.ch,ge),Ie=te(Pe,Fe.tag);if(Ie)return{open:Fe,close:Ie}}},Se.scanForClosingTag=function(ce,se,ge,ve){var be=new ke(ce,se.line,se.ch,ve?{from:0,to:ve}:null);return te(be,ge)}})},89780:function(Rn){(function(Fn,ye){Rn.exports=ye()})(this,function(){"use strict";var Fn=navigator.userAgent,ye=navigator.platform,Se=/gecko\/\d/i.test(Fn),Oe=/MSIE \d/.test(Fn),He=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Fn),Rt=/Edge\/(\d+)/.exec(Fn),_e=Oe||He||Rt,vt=_e&&(Oe?document.documentMode||6:+(Rt||He)[1]),ke=!Rt&&/WebKit\//.test(Fn),Tt=ke&&/Qt\/\d+\.\d+/.test(Fn),Lt=!Rt&&/Chrome\//.test(Fn),et=/Opera\//.test(Fn),gt=/Apple Computer/.test(navigator.vendor),ct=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Fn),wt=/PhantomJS/.test(Fn),Me=!Rt&&/AppleWebKit/.test(Fn)&&/Mobile\/\w+/.test(Fn),te=/Android/.test(Fn),ne=Me||te||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Fn),ce=Me||/Mac/.test(ye),se=/\bCrOS\b/.test(Fn),ge=/win/i.test(ye),ve=et&&Fn.match(/Version\/(\d*\.\d*)/);ve&&(ve=Number(ve[1])),ve&&ve>=15&&(et=!1,ke=!0);var be=ce&&(Tt||et&&(ve==null||ve<12.11)),Fe=Se||_e&&vt>=9;function Pe(ie){return new RegExp("(^|\\s)"+ie+"(?:$|\\s)\\s*")}var Ie=function(ie,ae){var he=ie.className,de=Pe(ae).exec(he);if(de){var me=he.slice(de.index+de[0].length);ie.className=he.slice(0,de.index)+(me?de[1]+me:"")}};function We(ie){for(var ae=ie.childNodes.length;ae>0;--ae)ie.removeChild(ie.firstChild);return ie}function Ke(ie,ae){return We(ie).appendChild(ae)}function Xe(ie,ae,he,de){var me=document.createElement(ie);if(he&&(me.className=he),de&&(me.style.cssText=de),typeof ae=="string")me.appendChild(document.createTextNode(ae));else if(ae)for(var Ne=0;Ne=ae)return Ze+(ae-Ne);Ze+=at-Ne,Ze+=he-Ze%he,Ne=at+1}}var Re=function(){this.id=null,this.f=null,this.time=0,this.handler=Ot(this.onTimeout,this)};Re.prototype.onTimeout=function(ie){ie.id=0,ie.time<=+new Date?ie.f():setTimeout(ie.handler,ie.time-+new Date)},Re.prototype.set=function(ie,ae){this.f=ae;var he=+new Date+ie;(!this.id||he=ae)return de+Math.min(Ze,ae-me);if(me+=Ne-de,me+=he-me%he,de=Ne+1,me>=ae)return de}}var wn=[""];function Kn(ie){for(;wn.length<=ie;)wn.push(yt(wn)+" ");return wn[ie]}function yt(ie){return ie[ie.length-1]}function Jn(ie,ae){for(var he=[],de=0;de"\x80"&&(ie.toUpperCase()!=ie.toLowerCase()||tn.test(ie))}function ft(ie,ae){return ae?ae.source.indexOf("\\w")>-1&&$t(ie)?!0:ae.test(ie):$t(ie)}function Je(ie){for(var ae in ie)if(ie.hasOwnProperty(ae)&&ie[ae])return!1;return!0}var Gt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function At(ie){return ie.charCodeAt(0)>=768&&Gt.test(ie)}function lt(ie,ae,he){for(;(he<0?ae>0:aehe?-1:1;;){if(ae==he)return ae;var me=(ae+he)/2,Ne=de<0?Math.ceil(me):Math.floor(me);if(Ne==ae)return ie(Ne)?ae:he;ie(Ne)?he=Ne:ae=Ne+de}}function Be(ie,ae,he,de){if(!ie)return de(ae,he,"ltr",0);for(var me=!1,Ne=0;Neae||ae==he&&Ze.to==ae)&&(de(Math.max(Ze.from,ae),Math.min(Ze.to,he),Ze.level==1?"rtl":"ltr",Ne),me=!0)}me||de(ae,he,"ltr")}var we=null;function pe(ie,ae,he){var de;we=null;for(var me=0;meae)return me;Ne.to==ae&&(Ne.from!=Ne.to&&he=="before"?de=me:we=me),Ne.from==ae&&(Ne.from!=Ne.to&&he!="before"?de=me:we=me)}return de!=null?de:we}var De=function(){var ie="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ae="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function he(Dt){return Dt<=247?ie.charAt(Dt):1424<=Dt&&Dt<=1524?"R":1536<=Dt&&Dt<=1785?ae.charAt(Dt-1536):1774<=Dt&&Dt<=2220?"r":8192<=Dt&&Dt<=8203?"w":Dt==8204?"b":"L"}var de=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,me=/[stwN]/,Ne=/[LRr]/,Ze=/[Lb1n]/,at=/[1n]/;function rt(Dt,Dn,Vt){this.level=Dt,this.from=Dn,this.to=Vt}return function(Dt,Dn){var Vt=Dn=="ltr"?"L":"R";if(Dt.length==0||Dn=="ltr"&&!de.test(Dt))return!1;for(var ri=Dt.length,ei=[],tr=0;tr-1&&(de[ae]=me.slice(0,Ne).concat(me.slice(Ne+1)))}}}function rn(ie,ae){var he=Ut(ie,ae);if(he.length)for(var de=Array.prototype.slice.call(arguments,2),me=0;me0}function Ri(ie){ie.prototype.on=function(ae,he){nt(this,ae,he)},ie.prototype.off=function(ae,he){En(this,ae,he)}}function Wi(ie){ie.preventDefault?ie.preventDefault():ie.returnValue=!1}function Mn(ie){ie.stopPropagation?ie.stopPropagation():ie.cancelBubble=!0}function nr(ie){return ie.defaultPrevented!=null?ie.defaultPrevented:ie.returnValue==!1}function Wr(ie){Wi(ie),Mn(ie)}function Hr(ie){return ie.target||ie.srcElement}function Tr(ie){var ae=ie.which;return ae==null&&(ie.button&1?ae=1:ie.button&2?ae=3:ie.button&4&&(ae=2)),ce&&ie.ctrlKey&&ae==1&&(ae=3),ae}var Fr=function(){if(_e&&vt<9)return!1;var ie=Xe("div");return"draggable"in ie||"dragDrop"in ie}(),Yr;function Kr(ie){if(Yr==null){var ae=Xe("span","\u200B");Ke(ie,Xe("span",[ae,document.createTextNode("x")])),ie.firstChild.offsetHeight!=0&&(Yr=ae.offsetWidth<=1&&ae.offsetHeight>2&&!(_e&&vt<8))}var he=Yr?Xe("span","\u200B"):Xe("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return he.setAttribute("cm-text",""),he}var ar;function Co(ie){if(ar!=null)return ar;var ae=Ke(ie,document.createTextNode("A\u062EA")),he=Ve(ae,0,1).getBoundingClientRect(),de=Ve(ae,1,2).getBoundingClientRect();return We(ie),!he||he.left==he.right?!1:ar=de.right-he.right<3}var $n=` b`.split(/\n/).length!=3?function(ie){for(var ae=0,he=[],de=ie.length;ae<=de;){var me=ie.indexOf(` `,ae);me==-1&&(me=ie.length);var Ne=ie.slice(ae,ie.charAt(me-1)=="\r"?me-1:me),Ze=Ne.indexOf("\r");Ze!=-1?(he.push(Ne.slice(0,Ze)),ae+=Ze+1):(he.push(Ne),ae=me+1)}return he}:function(ie){return ie.split(/\r\n?|\n/)},Ce=window.getSelection?function(ie){try{return ie.selectionStart!=ie.selectionEnd}catch(ae){return!1}}:function(ie){var ae;try{ae=ie.ownerDocument.selection.createRange()}catch(he){}return!ae||ae.parentElement()!=ie?!1:ae.compareEndPoints("StartToEnd",ae)!=0},hi=function(){var ie=Xe("div");return"oncopy"in ie?!0:(ie.setAttribute("oncopy","return;"),typeof ie.oncopy=="function")}(),ki=null;function un(ie){if(ki!=null)return ki;var ae=Ke(ie,Xe("span","x")),he=ae.getBoundingClientRect(),de=Ve(ae,0,1).getBoundingClientRect();return ki=Math.abs(he.left-de.left)>1}var Wn={},li={};function fn(ie,ae){arguments.length>2&&(ae.dependencies=Array.prototype.slice.call(arguments,2)),Wn[ie]=ae}function on(ie,ae){li[ie]=ae}function mt(ie){if(typeof ie=="string"&&li.hasOwnProperty(ie))ie=li[ie];else if(ie&&typeof ie.name=="string"&&li.hasOwnProperty(ie.name)){var ae=li[ie.name];typeof ae=="string"&&(ae={name:ae}),ie=Tn(ae,ie),ie.name=ae.name}else{if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(ie))return mt("application/xml");if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(ie))return mt("application/json")}return typeof ie=="string"?{name:ie}:ie||{name:"null"}}function Pt(ie,ae){ae=mt(ae);var he=Wn[ae.name];if(!he)return Pt(ie,"text/plain");var de=he(ie,ae);if(bt.hasOwnProperty(ae.name)){var me=bt[ae.name];for(var Ne in me)me.hasOwnProperty(Ne)&&(de.hasOwnProperty(Ne)&&(de["_"+Ne]=de[Ne]),de[Ne]=me[Ne])}if(de.name=ae.name,ae.helperType&&(de.helperType=ae.helperType),ae.modeProps)for(var Ze in ae.modeProps)de[Ze]=ae.modeProps[Ze];return de}var bt={};function tt(ie,ae){var he=bt.hasOwnProperty(ie)?bt[ie]:bt[ie]={};Qt(ae,he)}function qt(ie,ae){if(ae===!0)return ae;if(ie.copyState)return ie.copyState(ae);var he={};for(var de in ae){var me=ae[de];me instanceof Array&&(me=me.concat([])),he[de]=me}return he}function dn(ie,ae){for(var he;ie.innerMode&&(he=ie.innerMode(ae),!(!he||he.mode==ie));)ae=he.state,ie=he.mode;return he||{mode:ie,state:ae}}function xt(ie,ae,he){return ie.startState?ie.startState(ae,he):!0}var Ye=function(ie,ae,he){this.pos=this.start=0,this.string=ie,this.tabSize=ae||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=he};Ye.prototype.eol=function(){return this.pos>=this.string.length},Ye.prototype.sol=function(){return this.pos==this.lineStart},Ye.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ye.prototype.next=function(){if(this.posae},Ye.prototype.eatSpace=function(){for(var ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>ie},Ye.prototype.skipToEnd=function(){this.pos=this.string.length},Ye.prototype.skipTo=function(ie){var ae=this.string.indexOf(ie,this.pos);if(ae>-1)return this.pos=ae,!0},Ye.prototype.backUp=function(ie){this.pos-=ie},Ye.prototype.column=function(){return this.lastColumnPos0?null:(Ne&&ae!==!1&&(this.pos+=Ne[0].length),Ne)}},Ye.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ye.prototype.hideFirstChars=function(ie,ae){this.lineStart+=ie;try{return ae()}finally{this.lineStart-=ie}},Ye.prototype.lookAhead=function(ie){var ae=this.lineOracle;return ae&&ae.lookAhead(ie)},Ye.prototype.baseToken=function(){var ie=this.lineOracle;return ie&&ie.baseToken(this.pos)};function an(ie,ae){if(ae-=ie.first,ae<0||ae>=ie.size)throw new Error("There is no line "+(ae+ie.first)+" in the document.");for(var he=ie;!he.lines;)for(var de=0;;++de){var me=he.children[de],Ne=me.chunkSize();if(ae=ie.first&&aehe?zt(he,an(ie,he).text.length):Zi(ae,an(ie,ae.line).text.length)}function Zi(ie,ae){var he=ie.ch;return he==null||he>ae?zt(ie.line,ae):he<0?zt(ie.line,0):ie}function cr(ie,ae){for(var he=[],de=0;dethis.maxLookAhead&&(this.maxLookAhead=ie),ae},Ai.prototype.baseToken=function(ie){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=ie;)this.baseTokenPos+=2;var ae=this.baseTokens[this.baseTokenPos+1];return{type:ae&&ae.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-ie}},Ai.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ai.fromSaved=function(ie,ae,he){return ae instanceof Gn?new Ai(ie,qt(ie.mode,ae.state),he,ae.lookAhead):new Ai(ie,qt(ie.mode,ae),he)},Ai.prototype.save=function(ie){var ae=ie!==!1?qt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Gn(ae,this.maxLookAhead):ae};function br(ie,ae,he,de){var me=[ie.state.modeGen],Ne={};Nr(ie,ae.text,ie.doc.mode,he,function(Dt,Dn){return me.push(Dt,Dn)},Ne,de);for(var Ze=he.state,at=function(Dt){he.baseTokens=me;var Dn=ie.state.overlays[Dt],Vt=1,ri=0;he.state=!0,Nr(ie,ae.text,Dn.mode,he,function(ei,tr){for(var or=Vt;riei&&me.splice(Vt,1,ei,me[Vt+1],Cr),Vt+=2,ri=Math.min(ei,Cr)}if(tr)if(Dn.opaque)me.splice(or,Vt-or,ei,"overlay "+tr),Vt=or+2;else for(;orie.options.maxHighlightLength&&qt(ie.doc.mode,de.state),Ne=br(ie,ae,de);me&&(de.state=me),ae.stateAfter=de.save(!me),ae.styles=Ne.styles,Ne.classes?ae.styleClasses=Ne.classes:ae.styleClasses&&(ae.styleClasses=null),he===ie.doc.highlightFrontier&&(ie.doc.modeFrontier=Math.max(ie.doc.modeFrontier,++ie.doc.highlightFrontier))}return ae.styles}function Sr(ie,ae,he){var de=ie.doc,me=ie.display;if(!de.mode.startState)return new Ai(de,!0,ae);var Ne=Ti(ie,ae,he),Ze=Ne>de.first&&an(de,Ne-1).stateAfter,at=Ze?Ai.fromSaved(de,Ze,Ne):new Ai(de,xt(de.mode),Ne);return de.iter(Ne,ae,function(rt){Xt(ie,rt.text,at);var Dt=at.line;rt.stateAfter=Dt==ae-1||Dt%5==0||Dt>=me.viewFrom&&Dtae.start)return Ne}throw new Error("Mode "+ie.name+" failed to advance stream.")}var Hi=function(ie,ae,he){this.start=ie.start,this.end=ie.pos,this.string=ie.current(),this.type=ae||null,this.state=he};function Er(ie,ae,he,de){var me=ie.doc,Ne=me.mode,Ze;ae=Ni(me,ae);var at=an(me,ae.line),rt=Sr(ie,ae.line,he),Dt=new Ye(at.text,ie.options.tabSize,rt),Dn;for(de&&(Dn=[]);(de||Dt.posie.options.maxHighlightLength?(at=!1,Ze&&Xt(ie,ae,de,Dn.pos),Dn.pos=ae.length,Vt=null):Vt=dr(rr(he,Dn,de.state,ri),Ne),ri){var ei=ri[0].name;ei&&(Vt="m-"+(Vt?ei+" "+Vt:ei))}if(!at||Dt!=Vt){for(;rtZe;--at){if(at<=Ne.first)return Ne.first;var rt=an(Ne,at-1),Dt=rt.stateAfter;if(Dt&&(!he||at+(Dt instanceof Gn?Dt.lookAhead:0)<=Ne.modeFrontier))return at;var Dn=dt(rt.text,null,ie.options.tabSize);(me==null||de>Dn)&&(me=at-1,de=Dn)}return me}function Qi(ie,ae){if(ie.modeFrontier=Math.min(ie.modeFrontier,ae),!(ie.highlightFrontierhe;de--){var me=an(ie,de).stateAfter;if(me&&(!(me instanceof Gn)||de+me.lookAhead=ae:Ne.to>ae);(de||(de=[])).push(new pr(Ze,Ne.from,rt?null:Ne.to))}}return de}function mr(ie,ae,he){var de;if(ie)for(var me=0;me=ae:Ne.to>ae);if(at||Ne.from==ae&&Ze.type=="bookmark"&&(!he||Ne.marker.insertLeft)){var rt=Ne.from==null||(Ze.inclusiveLeft?Ne.from<=ae:Ne.from0&&at)for(var jo=0;jo0)){var Dn=[rt,1],Vt=Sn(Dt.from,at.from),ri=Sn(Dt.to,at.to);(Vt<0||!Ze.inclusiveLeft&&!Vt)&&Dn.push({from:Dt.from,to:at.from}),(ri>0||!Ze.inclusiveRight&&!ri)&&Dn.push({from:at.to,to:Dt.to}),me.splice.apply(me,Dn),rt+=Dn.length-3}}return me}function Ii(ie){var ae=ie.markedSpans;if(ae){for(var he=0;heae)&&(!de||sn(de,Ne.marker)<0)&&(de=Ne.marker)}return de}function ai(ie,ae,he,de,me){var Ne=an(ie,ae),Ze=kn&&Ne.markedSpans;if(Ze)for(var at=0;at=0&&Vt<=0||Dn<=0&&Vt>=0)&&(Dn<=0&&(rt.marker.inclusiveRight&&me.inclusiveLeft?Sn(Dt.to,he)>=0:Sn(Dt.to,he)>0)||Dn>=0&&(rt.marker.inclusiveRight&&me.inclusiveLeft?Sn(Dt.from,de)<=0:Sn(Dt.from,de)<0)))return!0}}}function qn(ie){for(var ae;ae=On(ie);)ie=ae.find(-1,!0).line;return ie}function Oi(ie){for(var ae;ae=Wt(ie);)ie=ae.find(1,!0).line;return ie}function Bi(ie){for(var ae,he;ae=Wt(ie);)ie=ae.find(1,!0).line,(he||(he=[])).push(ie);return he}function pi(ie,ae){var he=an(ie,ae),de=qn(he);return he==de?ae:Et(de)}function Gi(ie,ae){if(ae>ie.lastLine())return ae;var he=an(ie,ae),de;if(!zn(ie,he))return ae;for(;de=Wt(he);)he=de.find(1,!0).line;return Et(he)+1}function zn(ie,ae){var he=kn&&ae.markedSpans;if(he){for(var de=void 0,me=0;meae.maxLineLength&&(ae.maxLineLength=me,ae.maxLine=de)})}var $r=function(ie,ae,he){this.text=ie,Qe(this,ae),this.height=he?he(this):1};$r.prototype.lineNo=function(){return Et(this)},Ri($r);function to(ie,ae,he,de){ie.text=ae,ie.stateAfter&&(ie.stateAfter=null),ie.styles&&(ie.styles=null),ie.order!=null&&(ie.order=null),Ii(ie),Qe(ie,he);var me=de?de(ie):1;me!=ie.height&&cn(ie,me)}function $o(ie){ie.parent=null,Ii(ie)}var Qo={},pa={};function qo(ie,ae){if(!ie||/^\s*$/.test(ie))return null;var he=ae.addModeClass?pa:Qo;return he[ie]||(he[ie]=ie.replace(/\S+/g,"cm-$&"))}function Cn(ie,ae){var he=ht("span",null,null,ke?"padding-right: .1px":null),de={pre:ht("pre",[he],"CodeMirror-line"),content:he,col:0,pos:0,cm:ie,trailingSpace:!1,splitSpaces:ie.getOption("lineWrapping")};ae.measure={};for(var me=0;me<=(ae.rest?ae.rest.length:0);me++){var Ne=me?ae.rest[me-1]:ae.line,Ze=void 0;de.pos=0,de.addToken=es,Co(ie.display.measure)&&(Ze=ze(Ne,ie.doc.direction))&&(de.addToken=Ga(de.addToken,Ze)),de.map=[];var at=ae!=ie.display.externalMeasured&&Et(Ne);pl(Ne,de,kr(ie,Ne,at)),Ne.styleClasses&&(Ne.styleClasses.bgClass&&(de.bgClass=Zt(Ne.styleClasses.bgClass,de.bgClass||"")),Ne.styleClasses.textClass&&(de.textClass=Zt(Ne.styleClasses.textClass,de.textClass||""))),de.map.length==0&&de.map.push(0,0,de.content.appendChild(Kr(ie.display.measure))),me==0?(ae.measure.map=de.map,ae.measure.cache={}):((ae.measure.maps||(ae.measure.maps=[])).push(de.map),(ae.measure.caches||(ae.measure.caches=[])).push({}))}if(ke){var rt=de.content.lastChild;(/\bcm-tab\b/.test(rt.className)||rt.querySelector&&rt.querySelector(".cm-tab"))&&(de.content.className="cm-tab-wrap-hack")}return rn(ie,"renderLine",ie,ae.line,de.pre),de.pre.className&&(de.textClass=Zt(de.pre.className,de.textClass||"")),de}function ca(ie){var ae=Xe("span","\u2022","cm-invalidchar");return ae.title="\\u"+ie.charCodeAt(0).toString(16),ae.setAttribute("aria-label",ae.title),ae}function es(ie,ae,he,de,me,Ne,Ze){if(ae){var at=ie.splitSpaces?ts(ae,ie.trailingSpace):ae,rt=ie.cm.state.specialChars,Dt=!1,Dn;if(!rt.test(ae))ie.col+=ae.length,Dn=document.createTextNode(at),ie.map.push(ie.pos,ie.pos+ae.length,Dn),_e&&vt<9&&(Dt=!0),ie.pos+=ae.length;else{Dn=document.createDocumentFragment();for(var Vt=0;;){rt.lastIndex=Vt;var ri=rt.exec(ae),ei=ri?ri.index-Vt:ae.length-Vt;if(ei){var tr=document.createTextNode(at.slice(Vt,Vt+ei));_e&&vt<9?Dn.appendChild(Xe("span",[tr])):Dn.appendChild(tr),ie.map.push(ie.pos,ie.pos+ei,tr),ie.col+=ei,ie.pos+=ei}if(!ri)break;Vt+=ei+1;var or=void 0;if(ri[0]==" "){var Cr=ie.cm.options.tabSize,Jr=Cr-ie.col%Cr;or=Dn.appendChild(Xe("span",Kn(Jr),"cm-tab")),or.setAttribute("role","presentation"),or.setAttribute("cm-text"," "),ie.col+=Jr}else ri[0]=="\r"||ri[0]==` `?(or=Dn.appendChild(Xe("span",ri[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),or.setAttribute("cm-text",ri[0]),ie.col+=1):(or=ie.cm.options.specialCharPlaceholder(ri[0]),or.setAttribute("cm-text",ri[0]),_e&&vt<9?Dn.appendChild(Xe("span",[or])):Dn.appendChild(or),ie.col+=1);ie.map.push(ie.pos,ie.pos+1,or),ie.pos++}}if(ie.trailingSpace=at.charCodeAt(ae.length-1)==32,he||de||me||Dt||Ne||Ze){var Eo=he||"";de&&(Eo+=de),me&&(Eo+=me);var po=Xe("span",[Dn],Eo,Ne);if(Ze)for(var jo in Ze)Ze.hasOwnProperty(jo)&&jo!="style"&&jo!="class"&&po.setAttribute(jo,Ze[jo]);return ie.content.appendChild(po)}ie.content.appendChild(Dn)}}function ts(ie,ae){if(ie.length>1&&!/ /.test(ie))return ie;for(var he=ae,de="",me=0;meDt&&Vt.from<=Dt));ri++);if(Vt.to>=Dn)return ie(he,de,me,Ne,Ze,at,rt);ie(he,de.slice(0,Vt.to-Dt),me,Ne,null,at,rt),Ne=null,de=de.slice(Vt.to-Dt),Dt=Vt.to}}}function Ds(ie,ae,he,de){var me=!de&&he.widgetNode;me&&ie.map.push(ie.pos,ie.pos+ae,me),!de&&ie.cm.display.input.needsContentAttribute&&(me||(me=ie.content.appendChild(document.createElement("span"))),me.setAttribute("cm-marker",he.id)),me&&(ie.cm.display.input.setUneditable(me),ie.content.appendChild(me)),ie.pos+=ae,ie.trailingSpace=!1}function pl(ie,ae,he){var de=ie.markedSpans,me=ie.text,Ne=0;if(!de){for(var Ze=1;Zert||Ma.collapsed&&uo.to==rt&&uo.from==rt)){if(uo.to!=null&&uo.to!=rt&&ei>uo.to&&(ei=uo.to,or=""),Ma.className&&(tr+=" "+Ma.className),Ma.css&&(ri=(ri?ri+";":"")+Ma.css),Ma.startStyle&&uo.from==rt&&(Cr+=" "+Ma.startStyle),Ma.endStyle&&uo.to==ei&&(jo||(jo=[])).push(Ma.endStyle,uo.to),Ma.title&&((Eo||(Eo={})).title=Ma.title),Ma.attributes)for(var $s in Ma.attributes)(Eo||(Eo={}))[$s]=Ma.attributes[$s];Ma.collapsed&&(!Jr||sn(Jr.marker,Ma)<0)&&(Jr=uo)}else uo.from>rt&&ei>uo.from&&(ei=uo.from)}if(jo)for(var Ul=0;Ul=at)break;for(var qu=Math.min(at,ei);;){if(Dn){var Tu=rt+Dn.length;if(!Jr){var Zl=Tu>qu?Dn.slice(0,qu-rt):Dn;ae.addToken(ae,Zl,Vt?Vt+tr:tr,Cr,rt+Zl.length==ei?or:"",ri,Eo)}if(Tu>=qu){Dn=Dn.slice(qu-rt),rt=qu;break}rt=Tu,Cr=""}Dn=me.slice(Ne,Ne=he[Dt++]),Vt=qo(he[Dt++],ae.cm.options)}}}function ma(ie,ae,he){this.line=ae,this.rest=Bi(ae),this.size=this.rest?Et(yt(this.rest))-he+1:1,this.node=this.text=null,this.hidden=zn(ie,ae)}function Fo(ie,ae,he){for(var de=[],me,Ne=ae;Ne2&&Ne.push((rt.bottom+Dt.top)/2-he.top)}}Ne.push(he.bottom-he.top)}}function xc(ie,ae,he){if(ie.line==ae)return{map:ie.measure.map,cache:ie.measure.cache};for(var de=0;dehe)return{map:ie.measure.maps[me],cache:ie.measure.caches[me],before:!0}}function Qc(ie,ae){ae=qn(ae);var he=Et(ae),de=ie.display.externalMeasured=new ma(ie.doc,ae,he);de.lineN=he;var me=de.built=Cn(ie,de);return de.text=me.pre,Ke(ie.display.lineMeasure,me.pre),de}function gu(ie,ae,he,de){return Tl(ie,xl(ie,ae),he,de)}function zl(ie,ae){if(ae>=ie.display.viewFrom&&ae=he.lineN&&aeae)&&(Ne=rt-at,me=Ne-1,ae>=rt&&(Ze="right")),me!=null){if(de=ie[Dt+2],at==rt&&he==(de.insertLeft?"left":"right")&&(Ze=he),he=="left"&&me==0)for(;Dt&&ie[Dt-2]==ie[Dt-3]&&ie[Dt-1].insertLeft;)de=ie[(Dt-=3)+2],Ze="left";if(he=="right"&&me==rt-at)for(;Dt=0&&(he=ie[me]).left==he.right;me--);return he}function Xo(ie,ae,he,de){var me=wc(ae.map,he,de),Ne=me.node,Ze=me.start,at=me.end,rt=me.collapse,Dt;if(Ne.nodeType==3){for(var Dn=0;Dn<4;Dn++){for(;Ze&&At(ae.line.text.charAt(me.coverStart+Ze));)--Ze;for(;me.coverStart+at0&&(rt=de="right");var Vt;ie.options.lineWrapping&&(Vt=Ne.getClientRects()).length>1?Dt=Vt[de=="right"?Vt.length-1:0]:Dt=Ne.getBoundingClientRect()}if(_e&&vt<9&&!Ze&&(!Dt||!Dt.left&&!Dt.right)){var ri=Ne.parentNode.getClientRects()[0];ri?Dt={left:ri.left,right:ri.left+jl(ie.display),top:ri.top,bottom:ri.bottom}:Dt=pu}for(var ei=Dt.top-ae.rect.top,tr=Dt.bottom-ae.rect.top,or=(ei+tr)/2,Cr=ae.view.measure.heights,Jr=0;Jr=de.text.length?(rt=de.text.length,Dt="before"):rt<=0&&(rt=0,Dt="after"),!at)return Ze(Dt=="before"?rt-1:rt,Dt=="before");function Dn(tr,or,Cr){var Jr=at[or],Eo=Jr.level==1;return Ze(Cr?tr-1:tr,Eo!=Cr)}var Vt=pe(at,rt,Dt),ri=we,ei=Dn(rt,Vt,Dt=="before");return ri!=null&&(ei.other=Dn(rt,ri,Dt!="before")),ei}function Hu(ie,ae){var he=0;ae=Ni(ie.doc,ae),ie.options.lineWrapping||(he=jl(ie.display)*ae.ch);var de=an(ie.doc,ae.line),me=Gr(de)+vl(ie.display);return{left:he,right:he,top:me,bottom:me+de.height}}function Ol(ie,ae,he,de,me){var Ne=zt(ie,ae,he);return Ne.xRel=me,de&&(Ne.outside=de),Ne}function El(ie,ae,he){var de=ie.doc;if(he+=ie.display.viewOffset,he<0)return Ol(de.first,0,null,-1,-1);var me=xn(de,he),Ne=de.first+de.size-1;if(me>Ne)return Ol(de.first+de.size-1,an(de,Ne).text.length,null,1,1);ae<0&&(ae=0);for(var Ze=an(de,me);;){var at=di(ie,Ze,me,ae,he),rt=Nn(Ze,at.ch+(at.xRel>0||at.outside>0?1:0));if(!rt)return at;var Dt=rt.find(1);if(Dt.line==me)return Dt;Ze=an(de,me=Dt.line)}}function Rr(ie,ae,he,de){de-=Ls(ae);var me=ae.text.length,Ne=Ge(function(Ze){return Tl(ie,he,Ze-1).bottom<=de},me,0);return me=Ge(function(Ze){return Tl(ie,he,Ze).top>de},Ne,me),{begin:Ne,end:me}}function Lu(ie,ae,he,de){he||(he=xl(ie,ae));var me=xs(ie,ae,Tl(ie,he,de),"line").top;return Rr(ie,ae,he,me)}function Kt(ie,ae,he,de){return ie.bottom<=he?!1:ie.top>he?!0:(de?ie.left:ie.right)>ae}function di(ie,ae,he,de,me){me-=Gr(ae);var Ne=xl(ie,ae),Ze=Ls(ae),at=0,rt=ae.text.length,Dt=!0,Dn=ze(ae,ie.doc.direction);if(Dn){var Vt=(ie.options.lineWrapping?Fu:Mu)(ie,ae,he,Ne,Dn,de,me);Dt=Vt.level!=1,at=Dt?Vt.from:Vt.to-1,rt=Dt?Vt.to:Vt.from-1}var ri=null,ei=null,tr=Ge(function(ua){var uo=Tl(ie,Ne,ua);return uo.top+=Ze,uo.bottom+=Ze,Kt(uo,de,me,!1)?(uo.top<=me&&uo.left<=de&&(ri=ua,ei=uo),!0):!1},at,rt),or,Cr,Jr=!1;if(ei){var Eo=de-ei.left=jo.bottom?1:0}return tr=lt(ae.text,tr,1),Ol(he,tr,Cr,Jr,de-or)}function Mu(ie,ae,he,de,me,Ne,Ze){var at=Ge(function(Vt){var ri=me[Vt],ei=ri.level!=1;return Kt(Fa(ie,zt(he,ei?ri.to:ri.from,ei?"before":"after"),"line",ae,de),Ne,Ze,!0)},0,me.length-1),rt=me[at];if(at>0){var Dt=rt.level!=1,Dn=Fa(ie,zt(he,Dt?rt.from:rt.to,Dt?"after":"before"),"line",ae,de);Kt(Dn,Ne,Ze,!0)&&Dn.top>Ze&&(rt=me[at-1])}return rt}function Fu(ie,ae,he,de,me,Ne,Ze){var at=Rr(ie,ae,de,Ze),rt=at.begin,Dt=at.end;/\s/.test(ae.text.charAt(Dt-1))&&Dt--;for(var Dn=null,Vt=null,ri=0;ri=Dt||ei.to<=rt)){var tr=ei.level!=1,or=Tl(ie,de,tr?Math.min(Dt,ei.to)-1:Math.max(rt,ei.from)).right,Cr=orCr)&&(Dn=ei,Vt=Cr)}}return Dn||(Dn=me[me.length-1]),Dn.fromDt&&(Dn={from:Dn.from,to:Dt,level:Dn.level}),Dn}var _l;function $l(ie){if(ie.cachedTextHeight!=null)return ie.cachedTextHeight;if(_l==null){_l=Xe("pre",null,"CodeMirror-line-like");for(var ae=0;ae<49;++ae)_l.appendChild(document.createTextNode("x")),_l.appendChild(Xe("br"));_l.appendChild(document.createTextNode("x"))}Ke(ie.measure,_l);var he=_l.offsetHeight/50;return he>3&&(ie.cachedTextHeight=he),We(ie.measure),he||1}function jl(ie){if(ie.cachedCharWidth!=null)return ie.cachedCharWidth;var ae=Xe("span","xxxxxxxxxx"),he=Xe("pre",[ae],"CodeMirror-line-like");Ke(ie.measure,he);var de=ae.getBoundingClientRect(),me=(de.right-de.left)/10;return me>2&&(ie.cachedCharWidth=me),me||10}function Pc(ie){for(var ae=ie.display,he={},de={},me=ae.gutters.clientLeft,Ne=ae.gutters.firstChild,Ze=0;Ne;Ne=Ne.nextSibling,++Ze){var at=ie.display.gutterSpecs[Ze].className;he[at]=Ne.offsetLeft+Ne.clientLeft+me,de[at]=Ne.clientWidth}return{fixedPos:Ic(ae),gutterTotalWidth:ae.gutters.offsetWidth,gutterLeft:he,gutterWidth:de,wrapperWidth:ae.wrapper.clientWidth}}function Ic(ie){return ie.scroller.getBoundingClientRect().left-ie.sizer.getBoundingClientRect().left}function Os(ie){var ae=$l(ie.display),he=ie.options.lineWrapping,de=he&&Math.max(5,ie.display.scroller.clientWidth/jl(ie.display)-3);return function(me){if(zn(ie.doc,me))return 0;var Ne=0;if(me.widgets)for(var Ze=0;Ze0&&(Dt=an(ie.doc,rt.line).text).length==rt.ch){var Dn=dt(Dt,Dt.length,ie.options.tabSize)-Dt.length;rt=zt(rt.line,Math.max(0,Math.round((Ne-yl(ie.display).left)/jl(ie.display))-Dn))}return rt}function Il(ie,ae){if(ae>=ie.display.viewTo||(ae-=ie.display.viewFrom,ae<0))return null;for(var he=ie.display.view,de=0;deae)&&(me.updateLineNumbers=ae),ie.curOp.viewChanged=!0,ae>=me.viewTo)kn&&pi(ie.doc,ae)me.viewFrom?ol(ie):(me.viewFrom+=de,me.viewTo+=de);else if(ae<=me.viewFrom&&he>=me.viewTo)ol(ie);else if(ae<=me.viewFrom){var Ne=je(ie,he,he+de,1);Ne?(me.view=me.view.slice(Ne.index),me.viewFrom=Ne.lineN,me.viewTo+=de):ol(ie)}else if(he>=me.viewTo){var Ze=je(ie,ae,ae,-1);Ze?(me.view=me.view.slice(0,Ze.index),me.viewTo=Ze.lineN):ol(ie)}else{var at=je(ie,ae,ae,-1),rt=je(ie,he,he+de,1);at&&rt?(me.view=me.view.slice(0,at.index).concat(Fo(ie,at.lineN,rt.lineN)).concat(me.view.slice(rt.index)),me.viewTo+=de):ol(ie)}var Dt=me.externalMeasured;Dt&&(he=me.lineN&&ae=de.viewTo)){var Ne=de.view[Il(ie,ae)];if(Ne.node!=null){var Ze=Ne.changes||(Ne.changes=[]);Mt(Ze,he)==-1&&Ze.push(he)}}}function ol(ie){ie.display.viewFrom=ie.display.viewTo=ie.doc.first,ie.display.view=[],ie.display.viewOffset=0}function je(ie,ae,he,de){var me=Il(ie,ae),Ne,Ze=ie.display.view;if(!kn||he==ie.doc.first+ie.doc.size)return{index:me,lineN:he};for(var at=ie.display.viewFrom,rt=0;rt0){if(me==Ze.length-1)return null;Ne=at+Ze[me].size-ae,me++}else Ne=at-ae;ae+=Ne,he+=Ne}for(;pi(ie.doc,he)!=he;){if(me==(de<0?0:Ze.length-1))return null;he+=de*Ze[me-(de<0?1:0)].size,me+=de}return{index:me,lineN:he}}function $e(ie,ae,he){var de=ie.display,me=de.view;me.length==0||ae>=de.viewTo||he<=de.viewFrom?(de.view=Fo(ie,ae,he),de.viewFrom=ae):(de.viewFrom>ae?de.view=Fo(ie,ae,de.viewFrom).concat(de.view):de.viewFromhe&&(de.view=de.view.slice(0,Il(ie,he)))),de.viewTo=he}function st(ie){for(var ae=ie.display.view,he=0,de=0;de=ie.display.viewTo||at.to().line0?ae.blinker=setInterval(function(){ie.hasFocus()||_i(ie),ae.cursorDiv.style.visibility=(he=!he)?"":"hidden"},ie.options.cursorBlinkRate):ie.options.cursorBlinkRate<0&&(ae.cursorDiv.style.visibility="hidden")}}function Mi(ie){ie.state.focused||(ie.display.input.focus(),Ei(ie))}function sr(ie){ie.state.delayingBlurEvent=!0,setTimeout(function(){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1,_i(ie))},100)}function Ei(ie,ae){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1),ie.options.readOnly!="nocursor"&&(ie.state.focused||(rn(ie,"focus",ie,ae),ie.state.focused=!0,Ht(ie.display.wrapper,"CodeMirror-focused"),!ie.curOp&&ie.display.selForContextMenu!=ie.doc.sel&&(ie.display.input.reset(),ke&&setTimeout(function(){return ie.display.input.reset(!0)},20)),ie.display.input.receivedFocus()),ui(ie))}function _i(ie,ae){ie.state.delayingBlurEvent||(ie.state.focused&&(rn(ie,"blur",ie,ae),ie.state.focused=!1,Ie(ie.display.wrapper,"CodeMirror-focused")),clearInterval(ie.display.blinker),setTimeout(function(){ie.state.focused||(ie.display.shift=!1)},150))}function bi(ie){for(var ae=ie.display,he=ae.lineDiv.offsetTop,de=0;de.005||Dn<-.005)&&(cn(me.line,Ze),xr(me.line),me.rest))for(var Vt=0;Vtie.display.sizerWidth){var ri=Math.ceil(at/jl(ie.display));ri>ie.display.maxLineLength&&(ie.display.maxLineLength=ri,ie.display.maxLine=me.line,ie.display.maxLineChanged=!0)}}}}function xr(ie){if(ie.widgets)for(var ae=0;ae=Ze&&(Ne=xn(ae,Gr(an(ae,rt))-ie.wrapper.clientHeight),Ze=rt)}return{from:Ne,to:Math.max(Ze,Ne+1)}}function $i(ie,ae){if(!vn(ie,"scrollCursorIntoView")){var he=ie.display,de=he.sizer.getBoundingClientRect(),me=null;if(ae.top+de.top<0?me=!0:ae.bottom+de.top>(window.innerHeight||document.documentElement.clientHeight)&&(me=!1),me!=null&&!wt){var Ne=Xe("div","\u200B",null,`position: absolute; top: `+(ae.top-he.viewOffset-vl(ie.display))+`px; height: `+(ae.bottom-ae.top+rl(ie)+he.barHeight)+`px; left: `+ae.left+"px; width: "+Math.max(2,ae.right-ae.left)+"px;");ie.display.lineSpace.appendChild(Ne),Ne.scrollIntoView(me),ie.display.lineSpace.removeChild(Ne)}}}function wr(ie,ae,he,de){de==null&&(de=0);var me;!ie.options.lineWrapping&&ae==he&&(ae=ae.ch?zt(ae.line,ae.sticky=="before"?ae.ch-1:ae.ch,"after"):ae,he=ae.sticky=="before"?zt(ae.line,ae.ch+1,"before"):ae);for(var Ne=0;Ne<5;Ne++){var Ze=!1,at=Fa(ie,ae),rt=!he||he==ae?at:Fa(ie,he);me={left:Math.min(at.left,rt.left),top:Math.min(at.top,rt.top)-de,right:Math.max(at.left,rt.left),bottom:Math.max(at.bottom,rt.bottom)+de};var Dt=io(ie,me),Dn=ie.doc.scrollTop,Vt=ie.doc.scrollLeft;if(Dt.scrollTop!=null&&(Sa(ie,Dt.scrollTop),Math.abs(ie.doc.scrollTop-Dn)>1&&(Ze=!0)),Dt.scrollLeft!=null&&(Ha(ie,Dt.scrollLeft),Math.abs(ie.doc.scrollLeft-Vt)>1&&(Ze=!0)),!Ze)break}return me}function ho(ie,ae){var he=io(ie,ae);he.scrollTop!=null&&Sa(ie,he.scrollTop),he.scrollLeft!=null&&Ha(ie,he.scrollLeft)}function io(ie,ae){var he=ie.display,de=$l(ie.display);ae.top<0&&(ae.top=0);var me=ie.curOp&&ie.curOp.scrollTop!=null?ie.curOp.scrollTop:he.scroller.scrollTop,Ne=oc(ie),Ze={};ae.bottom-ae.top>Ne&&(ae.bottom=ae.top+Ne);var at=ie.doc.height+fu(he),rt=ae.topat-de;if(ae.topme+Ne){var Dn=Math.min(ae.top,(Dt?at:ae.bottom)-Ne);Dn!=me&&(Ze.scrollTop=Dn)}var Vt=ie.options.fixedGutter?0:he.gutters.offsetWidth,ri=ie.curOp&&ie.curOp.scrollLeft!=null?ie.curOp.scrollLeft:he.scroller.scrollLeft-Vt,ei=Sl(ie)-he.gutters.offsetWidth,tr=ae.right-ae.left>ei;return tr&&(ae.right=ae.left+ei),ae.left<10?Ze.scrollLeft=0:ae.leftei+ri-3&&(Ze.scrollLeft=ae.right+(tr?0:10)-ei),Ze}function mo(ie,ae){ae!=null&&(aa(ie),ie.curOp.scrollTop=(ie.curOp.scrollTop==null?ie.doc.scrollTop:ie.curOp.scrollTop)+ae)}function vo(ie){aa(ie);var ae=ie.getCursor();ie.curOp.scrollToPos={from:ae,to:ae,margin:ie.options.cursorScrollMargin}}function fo(ie,ae,he){(ae!=null||he!=null)&&aa(ie),ae!=null&&(ie.curOp.scrollLeft=ae),he!=null&&(ie.curOp.scrollTop=he)}function lr(ie,ae){aa(ie),ie.curOp.scrollToPos=ae}function aa(ie){var ae=ie.curOp.scrollToPos;if(ae){ie.curOp.scrollToPos=null;var he=Hu(ie,ae.from),de=Hu(ie,ae.to);ea(ie,he,de,ae.margin)}}function ea(ie,ae,he,de){var me=io(ie,{left:Math.min(ae.left,he.left),top:Math.min(ae.top,he.top)-de,right:Math.max(ae.right,he.right),bottom:Math.max(ae.bottom,he.bottom)+de});fo(ie,me.scrollLeft,me.scrollTop)}function Sa(ie,ae){Math.abs(ie.doc.scrollTop-ae)<2||(Se||Ar(ie,{top:ae}),Ka(ie,ae,!0),Se&&Ar(ie),Pi(ie,100))}function Ka(ie,ae,he){ae=Math.max(0,Math.min(ie.display.scroller.scrollHeight-ie.display.scroller.clientHeight,ae)),!(ie.display.scroller.scrollTop==ae&&!he)&&(ie.doc.scrollTop=ae,ie.display.scrollbars.setScrollTop(ae),ie.display.scroller.scrollTop!=ae&&(ie.display.scroller.scrollTop=ae))}function Ha(ie,ae,he,de){ae=Math.max(0,Math.min(ae,ie.display.scroller.scrollWidth-ie.display.scroller.clientWidth)),!((he?ae==ie.doc.scrollLeft:Math.abs(ie.doc.scrollLeft-ae)<2)&&!de)&&(ie.doc.scrollLeft=ae,Lo(ie),ie.display.scroller.scrollLeft!=ae&&(ie.display.scroller.scrollLeft=ae),ie.display.scrollbars.setScrollLeft(ae))}function Ba(ie){var ae=ie.display,he=ae.gutters.offsetWidth,de=Math.round(ie.doc.height+fu(ie.display));return{clientHeight:ae.scroller.clientHeight,viewHeight:ae.wrapper.clientHeight,scrollWidth:ae.scroller.scrollWidth,clientWidth:ae.scroller.clientWidth,viewWidth:ae.wrapper.clientWidth,barLeft:ie.options.fixedGutter?he:0,docHeight:de,scrollHeight:de+rl(ie)+ae.barHeight,nativeBarWidth:ae.nativeBarWidth,gutterWidth:he}}var fs=function(ie,ae,he){this.cm=he;var de=this.vert=Xe("div",[Xe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),me=this.horiz=Xe("div",[Xe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");de.tabIndex=me.tabIndex=-1,ie(de),ie(me),nt(de,"scroll",function(){de.clientHeight&&ae(de.scrollTop,"vertical")}),nt(me,"scroll",function(){me.clientWidth&&ae(me.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,_e&&vt<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};fs.prototype.update=function(ie){var ae=ie.scrollWidth>ie.clientWidth+1,he=ie.scrollHeight>ie.clientHeight+1,de=ie.nativeBarWidth;if(he){this.vert.style.display="block",this.vert.style.bottom=ae?de+"px":"0";var me=ie.viewHeight-(ae?de:0);this.vert.firstChild.style.height=Math.max(0,ie.scrollHeight-ie.clientHeight+me)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ae){this.horiz.style.display="block",this.horiz.style.right=he?de+"px":"0",this.horiz.style.left=ie.barLeft+"px";var Ne=ie.viewWidth-ie.barLeft-(he?de:0);this.horiz.firstChild.style.width=Math.max(0,ie.scrollWidth-ie.clientWidth+Ne)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&ie.clientHeight>0&&(de==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:he?de:0,bottom:ae?de:0}},fs.prototype.setScrollLeft=function(ie){this.horiz.scrollLeft!=ie&&(this.horiz.scrollLeft=ie),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},fs.prototype.setScrollTop=function(ie){this.vert.scrollTop!=ie&&(this.vert.scrollTop=ie),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},fs.prototype.zeroWidthHack=function(){var ie=ce&&!ct?"12px":"18px";this.horiz.style.height=this.vert.style.width=ie,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Re,this.disableVert=new Re},fs.prototype.enableZeroWidthBar=function(ie,ae,he){ie.style.pointerEvents="auto";function de(){var me=ie.getBoundingClientRect(),Ne=he=="vert"?document.elementFromPoint(me.right-1,(me.top+me.bottom)/2):document.elementFromPoint((me.right+me.left)/2,me.bottom-1);Ne!=ie?ie.style.pointerEvents="none":ae.set(1e3,de)}ae.set(1e3,de)},fs.prototype.clear=function(){var ie=this.horiz.parentNode;ie.removeChild(this.horiz),ie.removeChild(this.vert)};var La=function(){};La.prototype.update=function(){return{bottom:0,right:0}},La.prototype.setScrollLeft=function(){},La.prototype.setScrollTop=function(){},La.prototype.clear=function(){};function Ca(ie,ae){ae||(ae=Ba(ie));var he=ie.display.barWidth,de=ie.display.barHeight;Ta(ie,ae);for(var me=0;me<4&&he!=ie.display.barWidth||de!=ie.display.barHeight;me++)he!=ie.display.barWidth&&ie.options.lineWrapping&&bi(ie),Ta(ie,Ba(ie)),he=ie.display.barWidth,de=ie.display.barHeight}function Ta(ie,ae){var he=ie.display,de=he.scrollbars.update(ae);he.sizer.style.paddingRight=(he.barWidth=de.right)+"px",he.sizer.style.paddingBottom=(he.barHeight=de.bottom)+"px",he.heightForcer.style.borderBottom=de.bottom+"px solid transparent",de.right&&de.bottom?(he.scrollbarFiller.style.display="block",he.scrollbarFiller.style.height=de.bottom+"px",he.scrollbarFiller.style.width=de.right+"px"):he.scrollbarFiller.style.display="",de.bottom&&ie.options.coverGutterNextToScrollbar&&ie.options.fixedGutter?(he.gutterFiller.style.display="block",he.gutterFiller.style.height=de.bottom+"px",he.gutterFiller.style.width=ae.gutterWidth+"px"):he.gutterFiller.style.display=""}var as={native:fs,null:La};function gs(ie){ie.display.scrollbars&&(ie.display.scrollbars.clear(),ie.display.scrollbars.addClass&&Ie(ie.display.wrapper,ie.display.scrollbars.addClass)),ie.display.scrollbars=new as[ie.options.scrollbarStyle](function(ae){ie.display.wrapper.insertBefore(ae,ie.display.scrollbarFiller),nt(ae,"mousedown",function(){ie.state.focused&&setTimeout(function(){return ie.display.input.focus()},0)}),ae.setAttribute("cm-not-content","true")},function(ae,he){he=="horizontal"?Ha(ie,ae):Sa(ie,ae)},ie),ie.display.scrollbars.addClass&&Ht(ie.display.wrapper,ie.display.scrollbars.addClass)}var Ja=0;function Oa(ie){ie.curOp={cm:ie,viewChanged:!1,startHeight:ie.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ja},Pa(ie.curOp)}function Rs(ie){var ae=ie.curOp;ae&&ko(ae,function(he){for(var de=0;de=he.viewTo)||he.maxLineChanged&&ae.options.lineWrapping,ie.update=ie.mustUpdate&&new yi(ae,ie.mustUpdate&&{top:ie.scrollTop,ensure:ie.scrollToPos},ie.forceUpdate)}function ut(ie){ie.updatedDisplay=ie.mustUpdate&&yr(ie.cm,ie.update)}function Jt(ie){var ae=ie.cm,he=ae.display;ie.updatedDisplay&&bi(ae),ie.barMeasure=Ba(ae),he.maxLineChanged&&!ae.options.lineWrapping&&(ie.adjustWidthTo=gu(ae,he.maxLine,he.maxLine.text.length).left+3,ae.display.sizerWidth=ie.adjustWidthTo,ie.barMeasure.scrollWidth=Math.max(he.scroller.clientWidth,he.sizer.offsetLeft+ie.adjustWidthTo+rl(ae)+ae.display.barWidth),ie.maxScrollLeft=Math.max(0,he.sizer.offsetLeft+ie.adjustWidthTo-Sl(ae))),(ie.updatedDisplay||ie.selectionChanged)&&(ie.preparedSelection=he.input.prepareSelection())}function en(ie){var ae=ie.cm;ie.adjustWidthTo!=null&&(ae.display.sizer.style.minWidth=ie.adjustWidthTo+"px",ie.maxScrollLeft=ie.display.viewTo)){var he=+new Date+ie.options.workTime,de=Sr(ie,ae.highlightFrontier),me=[];ae.iter(de.line,Math.min(ae.first+ae.size,ie.display.viewTo+500),function(Ne){if(de.line>=ie.display.viewFrom){var Ze=Ne.styles,at=Ne.text.length>ie.options.maxHighlightLength?qt(ae.mode,de.state):null,rt=br(ie,Ne,de,!0);at&&(de.state=at),Ne.styles=rt.styles;var Dt=Ne.styleClasses,Dn=rt.classes;Dn?Ne.styleClasses=Dn:Dt&&(Ne.styleClasses=null);for(var Vt=!Ze||Ze.length!=Ne.styles.length||Dt!=Dn&&(!Dt||!Dn||Dt.bgClass!=Dn.bgClass||Dt.textClass!=Dn.textClass),ri=0;!Vt&&rihe)return Pi(ie,ie.options.workDelay),!0}),ae.highlightFrontier=de.line,ae.modeFrontier=Math.max(ae.modeFrontier,de.line),me.length&&gn(ie,function(){for(var Ne=0;Ne=he.viewFrom&&ae.visible.to<=he.viewTo&&(he.updateLineNumbers==null||he.updateLineNumbers>=he.viewTo)&&he.renderedView==he.view&&st(ie)==0)return!1;zr(ie)&&(ol(ie),ae.dims=Pc(ie));var me=de.first+de.size,Ne=Math.max(ae.visible.from-ie.options.viewportMargin,de.first),Ze=Math.min(me,ae.visible.to+ie.options.viewportMargin);he.viewFromZe&&he.viewTo-Ze<20&&(Ze=Math.min(me,he.viewTo)),kn&&(Ne=pi(ie.doc,Ne),Ze=Gi(ie.doc,Ze));var at=Ne!=he.viewFrom||Ze!=he.viewTo||he.lastWrapHeight!=ae.wrapperHeight||he.lastWrapWidth!=ae.wrapperWidth;$e(ie,Ne,Ze),he.viewOffset=Gr(an(ie.doc,he.viewFrom)),ie.display.mover.style.top=he.viewOffset+"px";var rt=st(ie);if(!at&&rt==0&&!ae.force&&he.renderedView==he.view&&(he.updateLineNumbers==null||he.updateLineNumbers>=he.viewTo))return!1;var Dt=Ui(ie);return rt>4&&(he.lineDiv.style.display="none"),Pr(ie,he.updateLineNumbers,ae.dims),rt>4&&(he.lineDiv.style.display=""),he.renderedView=he.view,zi(Dt),We(he.cursorDiv),We(he.selectionDiv),he.gutters.style.height=he.sizer.style.minHeight=0,at&&(he.lastWrapHeight=ae.wrapperHeight,he.lastWrapWidth=ae.wrapperWidth,Pi(ie,400)),he.updateLineNumbers=null,!0}function Ki(ie,ae){for(var he=ae.viewport,de=!0;;de=!1){if(!de||!ie.options.lineWrapping||ae.oldDisplayWidth==Sl(ie)){if(he&&he.top!=null&&(he={top:Math.min(ie.doc.height+fu(ie.display)-oc(ie),he.top)}),ae.visible=ni(ie.display,ie.doc,he),ae.visible.from>=ie.display.viewFrom&&ae.visible.to<=ie.display.viewTo)break}else de&&(ae.visible=ni(ie.display,ie.doc,he));if(!yr(ie,ae))break;bi(ie);var me=Ba(ie);nn(ie),Ca(ie,me),yo(ie,me),ae.force=!1}ae.signal(ie,"update",ie),(ie.display.viewFrom!=ie.display.reportedViewFrom||ie.display.viewTo!=ie.display.reportedViewTo)&&(ae.signal(ie,"viewportChange",ie,ie.display.viewFrom,ie.display.viewTo),ie.display.reportedViewFrom=ie.display.viewFrom,ie.display.reportedViewTo=ie.display.viewTo)}function Ar(ie,ae){var he=new yi(ie,ae);if(yr(ie,he)){bi(ie),Ki(ie,he);var de=Ba(ie);nn(ie),Ca(ie,de),yo(ie,de),he.finish()}}function Pr(ie,ae,he){var de=ie.display,me=ie.options.lineNumbers,Ne=de.lineDiv,Ze=Ne.firstChild;function at(tr){var or=tr.nextSibling;return ke&&ce&&ie.display.currentWheelTarget==tr?tr.style.display="none":tr.parentNode.removeChild(tr),or}for(var rt=de.view,Dt=de.viewFrom,Dn=0;Dn-1&&(ei=!1),Na(ie,Vt,Dt,he)),ei&&(We(Vt.lineNumber),Vt.lineNumber.appendChild(document.createTextNode(Un(ie.options,Dt)))),Ze=Vt.node.nextSibling}Dt+=Vt.size}for(;Ze;)Ze=at(Ze)}function Br(ie){var ae=ie.gutters.offsetWidth;ie.sizer.style.marginLeft=ae+"px"}function yo(ie,ae){ie.display.sizer.style.minHeight=ae.docHeight+"px",ie.display.heightForcer.style.top=ae.docHeight+"px",ie.display.gutters.style.height=ae.docHeight+ie.display.barHeight+rl(ie)+"px"}function Lo(ie){var ae=ie.display,he=ae.view;if(!(!ae.alignWidgets&&(!ae.gutters.firstChild||!ie.options.fixedGutter))){for(var de=Ic(ae)-ae.scroller.scrollLeft+ie.doc.scrollLeft,me=ae.gutters.offsetWidth,Ne=de+"px",Ze=0;ZeZe.clientWidth,rt=Ze.scrollHeight>Ze.clientHeight;if(de&&at||me&&rt){if(me&&ce&&ke){e:for(var Dt=ae.target,Dn=Ne.view;Dt!=Ze;Dt=Dt.parentNode)for(var Vt=0;Vt=0&&Sn(ie,de.to())<=0)return he}return-1};var Mr=function(ie,ae){this.anchor=ie,this.head=ae};Mr.prototype.from=function(){return ti(this.anchor,this.head)},Mr.prototype.to=function(){return vi(this.anchor,this.head)},Mr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Vo(ie,ae,he){var de=ie&&ie.options.selectionsMayTouch,me=ae[he];ae.sort(function(ri,ei){return Sn(ri.from(),ei.from())}),he=Mt(ae,me);for(var Ne=1;Ne0:rt>=0){var Dt=ti(at.from(),Ze.from()),Dn=vi(at.to(),Ze.to()),Vt=at.empty()?Ze.from()==Ze.head:at.from()==at.head;Ne<=he&&--he,ae.splice(--Ne,2,new Mr(Vt?Dn:Dt,Vt?Dt:Dn))}}return new No(ae,he)}function _o(ie,ae){return new No([new Mr(ie,ae||ie)],0)}function na(ie){return ie.text?zt(ie.from.line+ie.text.length-1,yt(ie.text).length+(ie.text.length==1?ie.from.ch:0)):ie.to}function ta(ie,ae){if(Sn(ie,ae.from)<0)return ie;if(Sn(ie,ae.to)<=0)return na(ae);var he=ie.line+ae.text.length-(ae.to.line-ae.from.line)-1,de=ie.ch;return ie.line==ae.to.line&&(de+=na(ae).ch-ae.to.ch),zt(he,de)}function Qa(ie,ae){for(var he=[],de=0;de1&&ie.remove(at.line+1,tr-1),ie.insert(at.line+1,Jr)}Vi(ie,"change",ie,ae)}function ns(ie,ae,he){function de(me,Ne,Ze){if(me.linked)for(var at=0;at1&&!ie.done[ie.done.length-2].ranges)return ie.done.pop(),yt(ie.done)}function Uo(ie,ae,he,de){var me=ie.history;me.undone.length=0;var Ne=+new Date,Ze,at;if((me.lastOp==de||me.lastOrigin==ae.origin&&ae.origin&&(ae.origin.charAt(0)=="+"&&me.lastModTime>Ne-(ie.cm?ie.cm.options.historyEventDelay:500)||ae.origin.charAt(0)=="*"))&&(Ze=Zr(me,me.lastOp==de)))at=yt(Ze.changes),Sn(ae.from,ae.to)==0&&Sn(ae.from,at.to)==0?at.to=na(ae):Ze.changes.push(ao(ie,ae));else{var rt=yt(me.done);for((!rt||!rt.ranges)&&zs(ie.sel,me.done),Ze={changes:[ao(ie,ae)],generation:me.generation},me.done.push(Ze);me.done.length>me.undoDepth;)me.done.shift(),me.done[0].ranges||me.done.shift()}me.done.push(he),me.generation=++me.maxGeneration,me.lastModTime=me.lastSelTime=Ne,me.lastOp=me.lastSelOp=de,me.lastOrigin=me.lastSelOrigin=ae.origin,at||rn(ie,"historyAdded")}function sa(ie,ae,he,de){var me=ae.charAt(0);return me=="*"||me=="+"&&he.ranges.length==de.ranges.length&&he.somethingSelected()==de.somethingSelected()&&new Date-ie.history.lastSelTime<=(ie.cm?ie.cm.options.historyEventDelay:500)}function al(ie,ae,he,de){var me=ie.history,Ne=de&&de.origin;he==me.lastSelOp||Ne&&me.lastSelOrigin==Ne&&(me.lastModTime==me.lastSelTime&&me.lastOrigin==Ne||sa(ie,Ne,yt(me.done),ae))?me.done[me.done.length-1]=ae:zs(ae,me.done),me.lastSelTime=+new Date,me.lastSelOrigin=Ne,me.lastSelOp=he,de&&de.clearRedo!==!1&&qi(me.undone)}function zs(ie,ae){var he=yt(ae);he&&he.ranges&&he.equals(ie)||ae.push(ie)}function Al(ie,ae,he,de){var me=ae["spans_"+ie.id],Ne=0;ie.iter(Math.max(ie.first,he),Math.min(ie.first+ie.size,de),function(Ze){Ze.markedSpans&&((me||(me=ae["spans_"+ie.id]={}))[Ne]=Ze.markedSpans),++Ne})}function ka(ie){if(!ie)return null;for(var ae,he=0;he-1&&(yt(at)[Vt]=Dt[Vt],delete Dt[Vt])}}return de}function Ll(ie,ae,he,de){if(de){var me=ie.anchor;if(he){var Ne=Sn(ae,me)<0;Ne!=Sn(he,me)<0?(me=ae,ae=he):Ne!=Sn(ae,he)<0&&(ae=he)}return new Mr(me,ae)}else return new Mr(he||ae,ae)}function Wa(ie,ae,he,de,me){me==null&&(me=ie.cm&&(ie.cm.display.shift||ie.extend)),ss(ie,new No([Ll(ie.sel.primary(),ae,he,me)],0),de)}function _a(ie,ae,he){for(var de=[],me=ie.cm&&(ie.cm.display.shift||ie.extend),Ne=0;Ne=ae.ch:at.to>ae.ch))){if(me&&(rn(rt,"beforeCursorEnter"),rt.explicitlyCleared))if(Ne.markedSpans){--Ze;continue}else break;if(!rt.atomic)continue;if(he){var Vt=rt.find(de<0?1:-1),ri=void 0;if((de<0?Dn:Dt)&&(Vt=vu(ie,Vt,-de,Vt&&Vt.line==ae.line?Ne:null)),Vt&&Vt.line==ae.line&&(ri=Sn(Vt,he))&&(de<0?ri<0:ri>0))return Ys(ie,Vt,ae,de,me)}var ei=rt.find(de<0?-1:1);return(de<0?Dt:Dn)&&(ei=vu(ie,ei,de,ei.line==ae.line?Ne:null)),ei?Ys(ie,ei,ae,de,me):null}}return ae}function Wu(ie,ae,he,de,me){var Ne=de||1,Ze=Ys(ie,ae,he,Ne,me)||!me&&Ys(ie,ae,he,Ne,!0)||Ys(ie,ae,he,-Ne,me)||!me&&Ys(ie,ae,he,-Ne,!0);return Ze||(ie.cantEdit=!0,zt(ie.first,0))}function vu(ie,ae,he,de){return he<0&&ae.ch==0?ae.line>ie.first?Ni(ie,zt(ae.line-1)):null:he>0&&ae.ch==(de||an(ie,ae.line)).text.length?ae.line=0;--me)ps(ie,{from:de[me].from,to:de[me].to,text:me?[""]:ae.text,origin:ae.origin});else ps(ie,ae)}}function ps(ie,ae){if(!(ae.text.length==1&&ae.text[0]==""&&Sn(ae.from,ae.to)==0)){var he=Qa(ie,ae);Uo(ie,ae,he,ie.cm?ie.cm.curOp.id:NaN),ql(ie,ae,he,hr(ie,ae));var de=[];ns(ie,function(me,Ne){!Ne&&Mt(de,me.history)==-1&&(ls(me.history,ae),de.push(me.history)),ql(me,ae,null,hr(me,ae))})}}function ku(ie,ae,he){var de=ie.cm&&ie.cm.state.suppressEdits;if(!(de&&!he)){for(var me=ie.history,Ne,Ze=ie.sel,at=ae=="undo"?me.done:me.undone,rt=ae=="undo"?me.undone:me.done,Dt=0;Dt=0;--ei){var tr=ri(ei);if(tr)return tr.v}}}}function Cc(ie,ae){if(ae!=0&&(ie.first+=ae,ie.sel=new No(Jn(ie.sel.ranges,function(me){return new Mr(zt(me.anchor.line+ae,me.anchor.ch),zt(me.head.line+ae,me.head.ch))}),ie.sel.primIndex),ie.cm)){ws(ie.cm,ie.first,ie.first-ae,ae);for(var he=ie.cm.display,de=he.viewFrom;deie.lastLine())){if(ae.from.lineNe&&(ae={from:ae.from,to:zt(Ne,an(ie,Ne).text.length),text:[ae.text[0]],origin:ae.origin}),ae.removed=Bt(ie,ae.from,ae.to),he||(he=Qa(ie,ae)),ie.cm?ac(ie.cm,ae,de):Ia(ie,ae,de),Js(ie,he,kt),ie.cantEdit&&Wu(ie,zt(ie.firstLine(),0))&&(ie.cantEdit=!1)}}function ac(ie,ae,he){var de=ie.doc,me=ie.display,Ne=ae.from,Ze=ae.to,at=!1,rt=Ne.line;ie.options.lineWrapping||(rt=Et(qn(an(de,Ne.line))),de.iter(rt,Ze.line+1,function(ei){if(ei==me.maxLine)return at=!0,!0})),de.sel.contains(ae.from,ae.to)>-1&&mi(ie),Ia(de,ae,he,Os(ie)),ie.options.lineWrapping||(de.iter(rt,Ne.line+ae.text.length,function(ei){var tr=Ao(ei);tr>me.maxLineLength&&(me.maxLine=ei,me.maxLineLength=tr,me.maxLineChanged=!0,at=!1)}),at&&(ie.curOp.updateMaxLine=!0)),Qi(de,Ne.line),Pi(ie,400);var Dt=ae.text.length-(Ze.line-Ne.line)-1;ae.full?ws(ie):Ne.line==Ze.line&&ae.text.length==1&&!Ya(ie.doc,ae)?ya(ie,Ne.line,"text"):ws(ie,Ne.line,Ze.line+1,Dt);var Dn=wi(ie,"changes"),Vt=wi(ie,"change");if(Vt||Dn){var ri={from:Ne,to:Ze,text:ae.text,removed:ae.removed,origin:ae.origin};Vt&&Vi(ie,"change",ie,ri),Dn&&(ie.curOp.changeObjs||(ie.curOp.changeObjs=[])).push(ri)}ie.display.selForContextMenu=null}function sc(ie,ae,he,de,me){var Ne;de||(de=he),Sn(de,he)<0&&(Ne=[de,he],he=Ne[0],de=Ne[1]),typeof ae=="string"&&(ae=ie.splitLines(ae)),Ps(ie,{from:he,to:de,text:ae,origin:me})}function yu(ie,ae,he,de){he1||!(this.children[0]instanceof ms))){var at=[];this.collapse(at),this.children=[new ms(at)],this.children[0].parent=this}},collapse:function(ie){for(var ae=0;ae50){for(var Ze=me.lines.length%25+25,at=Ze;at10);ie.parent.maybeSpill()}},iterN:function(ie,ae,he){for(var de=0;deie.display.maxLineLength&&(ie.display.maxLine=Dt,ie.display.maxLineLength=Dn,ie.display.maxLineChanged=!0)}de!=null&&ie&&this.collapsed&&ws(ie,de,me+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,ie&&zo(ie.doc)),ie&&Vi(ie,"markerCleared",ie,this,de,me),ae&&Rs(ie),this.parent&&this.parent.clear()}},pn.prototype.find=function(ie,ae){ie==null&&this.type=="bookmark"&&(ie=1);for(var he,de,me=0;me0||Ze==0&&Ne.clearWhenEmpty!==!1)return Ne;if(Ne.replacedWith&&(Ne.collapsed=!0,Ne.widgetNode=ht("span",[Ne.replacedWith],"CodeMirror-widget"),de.handleMouseEvents||Ne.widgetNode.setAttribute("cm-ignore-events","true"),de.insertLeft&&(Ne.widgetNode.insertLeft=!0)),Ne.collapsed){if(ai(ie,ae.line,ae,he,Ne)||ae.line!=he.line&&ai(ie,he.line,ae,he,Ne))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ln()}Ne.addToHistory&&Uo(ie,{from:ae,to:he,origin:"markText"},ie.sel,NaN);var at=ae.line,rt=ie.cm,Dt;if(ie.iter(at,he.line+1,function(Vt){rt&&Ne.collapsed&&!rt.options.lineWrapping&&qn(Vt)==rt.display.maxLine&&(Dt=!0),Ne.collapsed&&at!=ae.line&&cn(Vt,0),Ho(Vt,new pr(Ne,at==ae.line?ae.ch:null,at==he.line?he.ch:null)),++at}),Ne.collapsed&&ie.iter(ae.line,he.line+1,function(Vt){zn(ie,Vt)&&cn(Vt,0)}),Ne.clearOnEnter&&nt(Ne,"beforeCursorEnter",function(){return Ne.clear()}),Ne.readOnly&&(Dr(),(ie.history.done.length||ie.history.undone.length)&&ie.clearHistory()),Ne.collapsed&&(Ne.id=++uh,Ne.atomic=!0),rt){if(Dt&&(rt.curOp.updateMaxLine=!0),Ne.collapsed)ws(rt,ae.line,he.line+1);else if(Ne.className||Ne.startStyle||Ne.endStyle||Ne.css||Ne.attributes||Ne.title)for(var Dn=ae.line;Dn<=he.line;Dn++)ya(rt,Dn,"text");Ne.atomic&&zo(rt.doc),Vi(rt,"markerAdded",rt,Ne)}return Ne}var bc=function(ie,ae){this.markers=ie,this.primary=ae;for(var he=0;he=0;rt--)Ps(this,de[rt]);at?xa(this,at):this.cm&&vo(this.cm)}),undo:Vn(function(){ku(this,"undo")}),redo:Vn(function(){ku(this,"redo")}),undoSelection:Vn(function(){ku(this,"undo",!0)}),redoSelection:Vn(function(){ku(this,"redo",!0)}),setExtending:function(ie){this.extend=ie},getExtending:function(){return this.extend},historySize:function(){for(var ie=this.history,ae=0,he=0,de=0;de=ie.ch)&&ae.push(me.marker.parent||me.marker)}return ae},findMarks:function(ie,ae,he){ie=Ni(this,ie),ae=Ni(this,ae);var de=[],me=ie.line;return this.iter(ie.line,ae.line+1,function(Ne){var Ze=Ne.markedSpans;if(Ze)for(var at=0;at=rt.to||rt.from==null&&me!=ie.line||rt.from!=null&&me==ae.line&&rt.from>=ae.ch)&&(!he||he(rt.marker))&&de.push(rt.marker.parent||rt.marker)}++me}),de},getAllMarks:function(){var ie=[];return this.iter(function(ae){var he=ae.markedSpans;if(he)for(var de=0;deie)return ae=ie,!0;ie-=Ne,++he}),Ni(this,zt(he,ae))},indexFromPos:function(ie){ie=Ni(this,ie);var ae=ie.ch;if(ie.lineae&&(ae=ie.from),ie.to!=null&&ie.to-1){ae.state.draggingText(ie),setTimeout(function(){return ae.display.input.focus()},20);return}try{var Dn=ie.dataTransfer.getData("Text");if(Dn){var Vt;if(ae.state.draggingText&&!ae.state.draggingText.copy&&(Vt=ae.listSelections()),Js(ae.doc,_o(he,he)),Vt)for(var ri=0;ri=0;at--)sc(ie.doc,"",de[at].from,de[at].to,"+delete");vo(ie)})}function Xd(ie,ae,he){var de=lt(ie.text,ae+he,he);return de<0||de>ie.text.length?null:de}function sl(ie,ae,he){var de=Xd(ie,ae.ch,he);return de==null?null:new zt(ae.line,de,he<0?"after":"before")}function Va(ie,ae,he,de,me){if(ie){ae.doc.direction=="rtl"&&(me=-me);var Ne=ze(he,ae.doc.direction);if(Ne){var Ze=me<0?yt(Ne):Ne[0],at=me<0==(Ze.level==1),rt=at?"after":"before",Dt;if(Ze.level>0||ae.doc.direction=="rtl"){var Dn=xl(ae,he);Dt=me<0?he.text.length-1:0;var Vt=Tl(ae,Dn,Dt).top;Dt=Ge(function(ri){return Tl(ae,Dn,ri).top==Vt},me<0==(Ze.level==1)?Ze.from:Ze.to-1,Dt),rt=="before"&&(Dt=Xd(he,Dt,1))}else Dt=me<0?Ze.to:Ze.from;return new zt(de,Dt,rt)}}return new zt(de,me<0?he.text.length:0,me<0?"before":"after")}function Es(ie,ae,he,de){var me=ze(ae,ie.doc.direction);if(!me)return sl(ae,he,de);he.ch>=ae.text.length?(he.ch=ae.text.length,he.sticky="before"):he.ch<=0&&(he.ch=0,he.sticky="after");var Ne=pe(me,he.ch,he.sticky),Ze=me[Ne];if(ie.doc.direction=="ltr"&&Ze.level%2==0&&(de>0?Ze.to>he.ch:Ze.from=Ze.from&&ri>=Dn.begin)){var ei=Vt?"before":"after";return new zt(he.line,ri,ei)}}var tr=function(Jr,Eo,po){for(var jo=function($s,Ul){return Ul?new zt(he.line,at($s,1),"before"):new zt(he.line,$s,"after")};Jr>=0&&Jr0==(ua.level!=1),Ma=uo?po.begin:at(po.end,-1);if(ua.from<=Ma&&Ma0?Dn.end:at(Dn.begin,-1);return Cr!=null&&!(de>0&&Cr==ae.text.length)&&(or=tr(de>0?0:me.length-1,de,Dt(Cr)),or)?or:null}var Dl={selectAll:$a,singleSelection:function(ie){return ie.setSelection(ie.getCursor("anchor"),ie.getCursor("head"),kt)},killLine:function(ie){return Hl(ie,function(ae){if(ae.empty()){var he=an(ie.doc,ae.head.line).text.length;return ae.head.ch==he&&ae.head.line0)me=new zt(me.line,me.ch+1),ie.replaceRange(Ne.charAt(me.ch-1)+Ne.charAt(me.ch-2),zt(me.line,me.ch-2),me,"+transpose");else if(me.line>ie.doc.first){var Ze=an(ie.doc,me.line-1).text;Ze&&(me=new zt(me.line,1),ie.replaceRange(Ne.charAt(0)+ie.doc.lineSeparator()+Ze.charAt(Ze.length-1),zt(me.line-1,Ze.length-1),me,"+transpose"))}}he.push(new Mr(me,me))}ie.setSelections(he)})},newlineAndIndent:function(ie){return gn(ie,function(){for(var ae=ie.listSelections(),he=ae.length-1;he>=0;he--)ie.replaceRange(ie.doc.lineSeparator(),ae[he].anchor,ae[he].head,"+input");ae=ie.listSelections();for(var de=0;deie&&Sn(ae,this.pos)==0&&he==this.button};var gh,Ad;function Gf(ie,ae){var he=+new Date;return Ad&&Ad.compare(he,ie,ae)?(gh=Ad=null,"triple"):gh&&gh.compare(he,ie,ae)?(Ad=new Vf(he,ie,ae),gh=null,"double"):(gh=new Vf(he,ie,ae),Ad=null,"single")}function Hc(ie){var ae=this,he=ae.display;if(!(vn(ae,ie)||he.activeTouch&&he.input.supportsTouch())){if(he.input.ensurePolled(),he.shift=ie.shiftKey,kl(he,ie)){ke||(he.scroller.draggable=!1,setTimeout(function(){return he.scroller.draggable=!0},100));return}if(!la(ae,ie)){var de=wl(ae,ie),me=Tr(ie),Ne=de?Gf(de,me):"single";window.focus(),me==1&&ae.state.selectingText&&ae.state.selectingText(ie),!(de&&Yf(ae,me,de,Ne,ie))&&(me==1?de?xf(ae,de,Ne,ie):Hr(ie)==he.scroller&&Wi(ie):me==2?(de&&Wa(ae.doc,de),setTimeout(function(){return he.input.focus()},20)):me==3&&(Fe?ae.display.input.onContextMenu(ie):sr(ae)))}}}function Yf(ie,ae,he,de,me){var Ne="Click";return de=="double"?Ne="Double"+Ne:de=="triple"&&(Ne="Triple"+Ne),Ne=(ae==1?"Left":ae==2?"Middle":"Right")+Ne,uc(ie,Ud(Ne,me),me,function(Ze){if(typeof Ze=="string"&&(Ze=Dl[Ze]),!Ze)return!1;var at=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),at=Ze(ie,he)!=mn}finally{ie.state.suppressEdits=!1}return at})}function Wh(ie,ae,he){var de=ie.getOption("configureMouse"),me=de?de(ie,ae,he):{};if(me.unit==null){var Ne=se?he.shiftKey&&he.metaKey:he.altKey;me.unit=Ne?"rectangle":ae=="single"?"char":ae=="double"?"word":"line"}return(me.extend==null||ie.doc.extend)&&(me.extend=ie.doc.extend||he.shiftKey),me.addNew==null&&(me.addNew=ce?he.metaKey:he.ctrlKey),me.moveOnDrag==null&&(me.moveOnDrag=!(ce?he.altKey:he.ctrlKey)),me}function xf(ie,ae,he,de){_e?setTimeout(Ot(Mi,ie),0):ie.curOp.focus=qe();var me=Wh(ie,he,de),Ne=ie.doc.sel,Ze;ie.options.dragDrop&&Fr&&!ie.isReadOnly()&&he=="single"&&(Ze=Ne.contains(ae))>-1&&(Sn((Ze=Ne.ranges[Ze]).from(),ae)<0||ae.xRel>0)&&(Sn(Ze.to(),ae)>0||ae.xRel<0)?Zh(ie,de,ae,me):up(ie,de,ae,me)}function Zh(ie,ae,he,de){var me=ie.display,Ne=!1,Ze=Xn(ie,function(Dt){ke&&(me.scroller.draggable=!1),ie.state.draggingText=!1,En(me.wrapper.ownerDocument,"mouseup",Ze),En(me.wrapper.ownerDocument,"mousemove",at),En(me.scroller,"dragstart",rt),En(me.scroller,"drop",Ze),Ne||(Wi(Dt),de.addNew||Wa(ie.doc,he,null,null,de.extend),ke&&!gt||_e&&vt==9?setTimeout(function(){me.wrapper.ownerDocument.body.focus({preventScroll:!0}),me.input.focus()},20):me.input.focus())}),at=function(Dt){Ne=Ne||Math.abs(ae.clientX-Dt.clientX)+Math.abs(ae.clientY-Dt.clientY)>=10},rt=function(){return Ne=!0};ke&&(me.scroller.draggable=!0),ie.state.draggingText=Ze,Ze.copy=!de.moveOnDrag,me.scroller.dragDrop&&me.scroller.dragDrop(),nt(me.wrapper.ownerDocument,"mouseup",Ze),nt(me.wrapper.ownerDocument,"mousemove",at),nt(me.scroller,"dragstart",rt),nt(me.scroller,"drop",Ze),sr(ie),setTimeout(function(){return me.input.focus()},20)}function Uf(ie,ae,he){if(he=="char")return new Mr(ae,ae);if(he=="word")return ie.findWordAt(ae);if(he=="line")return new Mr(zt(ae.line,0),Ni(ie.doc,zt(ae.line+1,0)));var de=he(ie,ae);return new Mr(de.from,de.to)}function up(ie,ae,he,de){var me=ie.display,Ne=ie.doc;Wi(ae);var Ze,at,rt=Ne.sel,Dt=rt.ranges;if(de.addNew&&!de.extend?(at=Ne.sel.contains(he),at>-1?Ze=Dt[at]:Ze=new Mr(he,he)):(Ze=Ne.sel.primary(),at=Ne.sel.primIndex),de.unit=="rectangle")de.addNew||(Ze=new Mr(he,he)),he=wl(ie,ae,!0,!0),at=-1;else{var Dn=Uf(ie,he,de.unit);de.extend?Ze=Ll(Ze,Dn.anchor,Dn.head,de.extend):Ze=Dn}de.addNew?at==-1?(at=Dt.length,ss(Ne,Vo(ie,Dt.concat([Ze]),at),{scroll:!1,origin:"*mouse"})):Dt.length>1&&Dt[at].empty()&&de.unit=="char"&&!de.extend?(ss(Ne,Vo(ie,Dt.slice(0,at).concat(Dt.slice(at+1)),0),{scroll:!1,origin:"*mouse"}),rt=Ne.sel):is(Ne,at,Ze,_t):(at=0,ss(Ne,new No([Ze],0),_t),rt=Ne.sel);var Vt=he;function ri(po){if(Sn(Vt,po)!=0)if(Vt=po,de.unit=="rectangle"){for(var jo=[],ua=ie.options.tabSize,uo=dt(an(Ne,he.line).text,he.ch,ua),Ma=dt(an(Ne,po.line).text,po.ch,ua),$s=Math.min(uo,Ma),Ul=Math.max(uo,Ma),fl=Math.min(he.line,po.line),qu=Math.min(ie.lastLine(),Math.max(he.line,po.line));fl<=qu;fl++){var Tu=an(Ne,fl).text,Zl=Bn(Tu,$s,ua);$s==Ul?jo.push(new Mr(zt(fl,Zl),zt(fl,Zl))):Tu.length>Zl&&jo.push(new Mr(zt(fl,Zl),zt(fl,Bn(Tu,Ul,ua))))}jo.length||jo.push(new Mr(he,he)),ss(Ne,Vo(ie,rt.ranges.slice(0,at).concat(jo),at),{origin:"*mouse",scroll:!1}),ie.scrollIntoView(po)}else{var cc=Ze,xu=Uf(ie,po,de.unit),Kl=cc.anchor,ds;Sn(xu.anchor,Kl)>0?(ds=xu.head,Kl=ti(cc.from(),xu.anchor)):(ds=xu.anchor,Kl=vi(cc.to(),xu.head));var Pl=rt.ranges.slice(0);Pl[at]=us(ie,new Mr(Ni(Ne,Kl),ds)),ss(Ne,Vo(ie,Pl,at),_t)}}var ei=me.wrapper.getBoundingClientRect(),tr=0;function or(po){var jo=++tr,ua=wl(ie,po,!0,de.unit=="rectangle");if(ua)if(Sn(ua,Vt)!=0){ie.curOp.focus=qe(),ri(ua);var uo=ni(me,Ne);(ua.line>=uo.to||ua.lineei.bottom?20:0;Ma&&setTimeout(Xn(ie,function(){tr==jo&&(me.scroller.scrollTop+=Ma,or(po))}),50)}}function Cr(po){ie.state.selectingText=!1,tr=1/0,po&&(Wi(po),me.input.focus()),En(me.wrapper.ownerDocument,"mousemove",Jr),En(me.wrapper.ownerDocument,"mouseup",Eo),Ne.history.lastSelOrigin=null}var Jr=Xn(ie,function(po){po.buttons===0||!Tr(po)?Cr(po):or(po)}),Eo=Xn(ie,Cr);ie.state.selectingText=Eo,nt(me.wrapper.ownerDocument,"mousemove",Jr),nt(me.wrapper.ownerDocument,"mouseup",Eo)}function us(ie,ae){var he=ae.anchor,de=ae.head,me=an(ie.doc,he.line);if(Sn(he,de)==0&&he.sticky==de.sticky)return ae;var Ne=ze(me);if(!Ne)return ae;var Ze=pe(Ne,he.ch,he.sticky),at=Ne[Ze];if(at.from!=he.ch&&at.to!=he.ch)return ae;var rt=Ze+(at.from==he.ch==(at.level!=1)?0:1);if(rt==0||rt==Ne.length)return ae;var Dt;if(de.line!=he.line)Dt=(de.line-he.line)*(ie.doc.direction=="ltr"?1:-1)>0;else{var Dn=pe(Ne,de.ch,de.sticky),Vt=Dn-Ze||(de.ch-he.ch)*(at.level==1?-1:1);Dn==rt-1||Dn==rt?Dt=Vt<0:Dt=Vt>0}var ri=Ne[rt+(Dt?-1:0)],ei=Dt==(ri.level==1),tr=ei?ri.from:ri.to,or=ei?"after":"before";return he.ch==tr&&he.sticky==or?ae:new Mr(new zt(he.line,tr,or),de)}function Go(ie,ae,he,de){var me,Ne;if(ae.touches)me=ae.touches[0].clientX,Ne=ae.touches[0].clientY;else try{me=ae.clientX,Ne=ae.clientY}catch(ri){return!1}if(me>=Math.floor(ie.display.gutters.getBoundingClientRect().right))return!1;de&&Wi(ae);var Ze=ie.display,at=Ze.lineDiv.getBoundingClientRect();if(Ne>at.bottom||!wi(ie,he))return nr(ae);Ne-=at.top-Ze.viewOffset;for(var rt=0;rt=me){var Dn=xn(ie.doc,Ne),Vt=ie.display.gutterSpecs[rt];return rn(ie,he,ie,Dn,Vt.className,ae),nr(ae)}}}function la(ie,ae){return Go(ie,ae,"gutterClick",!0)}function rs(ie,ae){kl(ie.display,ae)||ll(ie,ae)||vn(ie,ae,"contextmenu")||Fe||ie.display.input.onContextMenu(ae)}function ll(ie,ae){return wi(ie,"gutterContextMenu")?Go(ie,ae,"gutterContextMenu",!1):!1}function md(ie){ie.display.wrapper.className=ie.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+ie.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ss(ie)}var tu={toString:function(){return"CodeMirror.Init"}},td={},Ac={};function ph(ie){var ae=ie.optionHandlers;function he(de,me,Ne,Ze){ie.defaults[de]=me,Ne&&(ae[de]=Ze?function(at,rt,Dt){Dt!=tu&&Ne(at,rt,Dt)}:Ne)}ie.defineOption=he,ie.Init=tu,he("value","",function(de,me){return de.setValue(me)},!0),he("mode",null,function(de,me){de.doc.modeOption=me,wo(de)},!0),he("indentUnit",2,wo,!0),he("indentWithTabs",!1),he("smartIndent",!0),he("tabSize",4,function(de){To(de),Ss(de),ws(de)},!0),he("lineSeparator",null,function(de,me){if(de.doc.lineSep=me,!!me){var Ne=[],Ze=de.doc.first;de.doc.iter(function(rt){for(var Dt=0;;){var Dn=rt.text.indexOf(me,Dt);if(Dn==-1)break;Dt=Dn+me.length,Ne.push(zt(Ze,Dn))}Ze++});for(var at=Ne.length-1;at>=0;at--)sc(de.doc,me,Ne[at],zt(Ne[at].line,Ne[at].ch+me.length))}}),he("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(de,me,Ne){de.state.specialChars=new RegExp(me.source+(me.test(" ")?"":"| "),"g"),Ne!=tu&&de.refresh()}),he("specialCharPlaceholder",ca,function(de){return de.refresh()},!0),he("electricChars",!0),he("inputStyle",ne?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),he("spellcheck",!1,function(de,me){return de.getInputField().spellcheck=me},!0),he("autocorrect",!1,function(de,me){return de.getInputField().autocorrect=me},!0),he("autocapitalize",!1,function(de,me){return de.getInputField().autocapitalize=me},!0),he("rtlMoveVisually",!ge),he("wholeLineUpdateBefore",!0),he("theme","default",function(de){md(de),Or(de)},!0),he("keyMap","default",function(de,me,Ne){var Ze=jc(me),at=Ne!=tu&&jc(Ne);at&&at.detach&&at.detach(de,Ze),Ze.attach&&Ze.attach(de,at||null)}),he("extraKeys",null),he("configureMouse",null),he("lineWrapping",!1,Lc,!0),he("gutters",[],function(de,me){de.display.gutterSpecs=eo(me,de.options.lineNumbers),Or(de)},!0),he("fixedGutter",!0,function(de,me){de.display.gutters.style.left=me?Ic(de.display)+"px":"0",de.refresh()},!0),he("coverGutterNextToScrollbar",!1,function(de){return Ca(de)},!0),he("scrollbarStyle","native",function(de){gs(de),Ca(de),de.display.scrollbars.setScrollTop(de.doc.scrollTop),de.display.scrollbars.setScrollLeft(de.doc.scrollLeft)},!0),he("lineNumbers",!1,function(de,me){de.display.gutterSpecs=eo(de.options.gutters,me),Or(de)},!0),he("firstLineNumber",1,Or,!0),he("lineNumberFormatter",function(de){return de},Or,!0),he("showCursorWhenSelecting",!1,nn,!0),he("resetSelectionOnContextMenu",!0),he("lineWiseCopyCut",!0),he("pasteLinesPerSelection",!0),he("selectionsMayTouch",!1),he("readOnly",!1,function(de,me){me=="nocursor"&&(_i(de),de.display.input.blur()),de.display.input.readOnlyChanged(me)}),he("screenReaderLabel",null,function(de,me){me=me===""?null:me,de.display.input.screenReaderLabelChanged(me)}),he("disableInput",!1,function(de,me){me||de.display.input.reset()},!0),he("dragDrop",!0,nd),he("allowDropFileTypes",null),he("cursorBlinkRate",530),he("cursorScrollMargin",0),he("cursorHeight",1,nn,!0),he("singleCursorHeightPerLine",!0,nn,!0),he("workTime",100),he("workDelay",100),he("flattenSpans",!0,To,!0),he("addModeClass",!1,To,!0),he("pollInterval",100),he("undoDepth",200,function(de,me){return de.doc.history.undoDepth=me}),he("historyEventDelay",1250),he("viewportMargin",10,function(de){return de.refresh()},!0),he("maxHighlightLength",1e4,To,!0),he("moveInputWithCursor",!0,function(de,me){me||de.display.input.resetPosition()}),he("tabindex",null,function(de,me){return de.display.input.getField().tabIndex=me||""}),he("autofocus",null),he("direction","ltr",function(de,me){return de.doc.setDirection(me)},!0),he("phrases",null)}function nd(ie,ae,he){var de=he&&he!=tu;if(!ae!=!de){var me=ie.display.dragFunctions,Ne=ae?nt:En;Ne(ie.display.scroller,"dragstart",me.start),Ne(ie.display.scroller,"dragenter",me.enter),Ne(ie.display.scroller,"dragover",me.over),Ne(ie.display.scroller,"dragleave",me.leave),Ne(ie.display.scroller,"drop",me.drop)}}function Lc(ie){ie.options.lineWrapping?(Ht(ie.display.wrapper,"CodeMirror-wrap"),ie.display.sizer.style.minWidth="",ie.display.sizerWidth=null):(Ie(ie.display.wrapper,"CodeMirror-wrap"),qr(ie)),Io(ie),ws(ie),Ss(ie),setTimeout(function(){return Ca(ie)},100)}function cs(ie,ae){var he=this;if(!(this instanceof cs))return new cs(ie,ae);this.options=ae=ae?Qt(ae):{},Qt(td,ae,!1);var de=ae.value;typeof de=="string"?de=new Nl(de,ae.mode,null,ae.lineSeparator,ae.direction):ae.mode&&(de.modeOption=ae.mode),this.doc=de;var me=new cs.inputStyles[ae.inputStyle](this),Ne=this.display=new so(ie,de,me,ae);Ne.wrapper.CodeMirror=this,md(this),ae.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),gs(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Re,keySeq:null,specialChars:null},ae.autofocus&&!ne&&Ne.input.focus(),_e&&vt<11&&setTimeout(function(){return he.display.input.reset(!0)},20),wf(this),Nu(),Oa(this),this.curOp.forceUpdate=!0,Ro(this,de),ae.autofocus&&!ne||this.hasFocus()?setTimeout(function(){he.hasFocus()&&!he.state.focused&&Ei(he)},20):_i(this);for(var Ze in Ac)Ac.hasOwnProperty(Ze)&&Ac[Ze](this,ae[Ze],tu);zr(this),ae.finishInit&&ae.finishInit(this);for(var at=0;at20*20}nt(ae.scroller,"touchstart",function(rt){if(!vn(ie,rt)&&!Ne(rt)&&!la(ie,rt)){ae.input.ensurePolled(),clearTimeout(he);var Dt=+new Date;ae.activeTouch={start:Dt,moved:!1,prev:Dt-de.end<=300?de:null},rt.touches.length==1&&(ae.activeTouch.left=rt.touches[0].pageX,ae.activeTouch.top=rt.touches[0].pageY)}}),nt(ae.scroller,"touchmove",function(){ae.activeTouch&&(ae.activeTouch.moved=!0)}),nt(ae.scroller,"touchend",function(rt){var Dt=ae.activeTouch;if(Dt&&!kl(ae,rt)&&Dt.left!=null&&!Dt.moved&&new Date-Dt.start<300){var Dn=ie.coordsChar(ae.activeTouch,"page"),Vt;!Dt.prev||Ze(Dt,Dt.prev)?Vt=new Mr(Dn,Dn):!Dt.prev.prev||Ze(Dt,Dt.prev.prev)?Vt=ie.findWordAt(Dn):Vt=new Mr(zt(Dn.line,0),Ni(ie.doc,zt(Dn.line+1,0))),ie.setSelection(Vt.anchor,Vt.head),ie.focus(),Wi(rt)}me()}),nt(ae.scroller,"touchcancel",me),nt(ae.scroller,"scroll",function(){ae.scroller.clientHeight&&(Sa(ie,ae.scroller.scrollTop),Ha(ie,ae.scroller.scrollLeft,!0),rn(ie,"scroll",ie))}),nt(ae.scroller,"mousewheel",function(rt){return Mo(ie,rt)}),nt(ae.scroller,"DOMMouseScroll",function(rt){return Mo(ie,rt)}),nt(ae.wrapper,"scroll",function(){return ae.wrapper.scrollTop=ae.wrapper.scrollLeft=0}),ae.dragFunctions={enter:function(rt){vn(ie,rt)||Wr(rt)},over:function(rt){vn(ie,rt)||(Kd(ie,rt),Wr(rt))},start:function(rt){return Zd(ie,rt)},drop:Xn(ie,Wd),leave:function(rt){vn(ie,rt)||pf(ie)}};var at=ae.input.getField();nt(at,"keyup",function(rt){return Sf.call(ie,rt)}),nt(at,"keydown",Xn(ie,yf)),nt(at,"keypress",Xn(ie,Ec)),nt(at,"focus",function(rt){return Ei(ie,rt)}),nt(at,"blur",function(rt){return _i(ie,rt)})}var Kh=[];cs.defineInitHook=function(ie){return Kh.push(ie)};function Yl(ie,ae,he,de){var me=ie.doc,Ne;he==null&&(he="add"),he=="smart"&&(me.mode.indent?Ne=Sr(ie,ae).state:he="prev");var Ze=ie.options.tabSize,at=an(me,ae),rt=dt(at.text,null,Ze);at.stateAfter&&(at.stateAfter=null);var Dt=at.text.match(/^\s*/)[0],Dn;if(!de&&!/\S/.test(at.text))Dn=0,he="not";else if(he=="smart"&&(Dn=me.mode.indent(Ne,at.text.slice(Dt.length),at.text),Dn==mn||Dn>150)){if(!de)return;he="prev"}he=="prev"?ae>me.first?Dn=dt(an(me,ae-1).text,null,Ze):Dn=0:he=="add"?Dn=rt+ie.options.indentUnit:he=="subtract"?Dn=rt-ie.options.indentUnit:typeof he=="number"&&(Dn=rt+he),Dn=Math.max(0,Dn);var Vt="",ri=0;if(ie.options.indentWithTabs)for(var ei=Math.floor(Dn/Ze);ei;--ei)ri+=Ze,Vt+=" ";if(riZe,rt=$n(ae),Dt=null;if(at&&de.ranges.length>1)if($u&&$u.text.join(` `)==ae){if(de.ranges.length%$u.text.length==0){Dt=[];for(var Dn=0;Dn<$u.text.length;Dn++)Dt.push(Ne.splitLines($u.text[Dn]))}}else rt.length==de.ranges.length&&ie.options.pasteLinesPerSelection&&(Dt=Jn(rt,function(Jr){return[Jr]}));for(var Vt=ie.curOp.updateInput,ri=de.ranges.length-1;ri>=0;ri--){var ei=de.ranges[ri],tr=ei.from(),or=ei.to();ei.empty()&&(he&&he>0?tr=zt(tr.line,tr.ch-he):ie.state.overwrite&&!at?or=zt(or.line,Math.min(an(Ne,or.line).text.length,or.ch+yt(rt).length)):at&&$u&&$u.lineWise&&$u.text.join(` `)==rt.join(` `)&&(tr=or=zt(tr.line,0)));var Cr={from:tr,to:or,text:Dt?Dt[ri%Dt.length]:rt,origin:me||(at?"paste":ie.state.cutIncoming>Ze?"cut":"+input")};Ps(ie.doc,Cr),Vi(ie,"inputRead",ie,Cr)}ae&&!at&&dp(ie,ae),vo(ie),ie.curOp.updateInput<2&&(ie.curOp.updateInput=Vt),ie.curOp.typing=!0,ie.state.pasteIncoming=ie.state.cutIncoming=-1}function cp(ie,ae){var he=ie.clipboardData&&ie.clipboardData.getData("Text");if(he)return ie.preventDefault(),!ae.isReadOnly()&&!ae.options.disableInput&&gn(ae,function(){return Xf(ae,he,0,null,"paste")}),!0}function dp(ie,ae){if(!(!ie.options.electricChars||!ie.options.smartIndent))for(var he=ie.doc.sel,de=he.ranges.length-1;de>=0;de--){var me=he.ranges[de];if(!(me.head.ch>100||de&&he.ranges[de-1].head.line==me.head.line)){var Ne=ie.getModeAt(me.head),Ze=!1;if(Ne.electricChars){for(var at=0;at-1){Ze=Yl(ie,me.head.line,"smart");break}}else Ne.electricInput&&Ne.electricInput.test(an(ie.doc,me.head.line).text.slice(0,me.head.ch))&&(Ze=Yl(ie,me.head.line,"smart"));Ze&&Vi(ie,"electricInput",ie,me.head.line)}}}function hp(ie){for(var ae=[],he=[],de=0;deNe&&(Yl(this,at.head.line,de,!0),Ne=at.head.line,Ze==this.doc.sel.primIndex&&vo(this));else{var rt=at.from(),Dt=at.to(),Dn=Math.max(Ne,rt.line);Ne=Math.min(this.lastLine(),Dt.line-(Dt.ch?0:1))+1;for(var Vt=Dn;Vt0&&is(this.doc,Ze,new Mr(rt,ri[Ze].to()),kt)}}}),getTokenAt:function(de,me){return Er(this,de,me)},getLineTokens:function(de,me){return Er(this,zt(de),me,!0)},getTokenTypeAt:function(de){de=Ni(this.doc,de);var me=kr(this,an(this.doc,de.line)),Ne=0,Ze=(me.length-1)/2,at=de.ch,rt;if(at==0)rt=me[2];else for(;;){var Dt=Ne+Ze>>1;if((Dt?me[Dt*2-1]:0)>=at)Ze=Dt;else if(me[Dt*2+1]rt&&(de=rt,Ze=!0),at=an(this.doc,de)}else at=de;return xs(this,at,{top:0,left:0},me||"page",Ne||Ze).top+(Ze?this.doc.height-Gr(at):0)},defaultTextHeight:function(){return $l(this.display)},defaultCharWidth:function(){return jl(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(de,me,Ne,Ze,at){var rt=this.display;de=Fa(this,Ni(this.doc,de));var Dt=de.bottom,Dn=de.left;if(me.style.position="absolute",me.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(me),rt.sizer.appendChild(me),Ze=="over")Dt=de.top;else if(Ze=="above"||Ze=="near"){var Vt=Math.max(rt.wrapper.clientHeight,this.doc.height),ri=Math.max(rt.sizer.clientWidth,rt.lineSpace.clientWidth);(Ze=="above"||de.bottom+me.offsetHeight>Vt)&&de.top>me.offsetHeight?Dt=de.top-me.offsetHeight:de.bottom+me.offsetHeight<=Vt&&(Dt=de.bottom),Dn+me.offsetWidth>ri&&(Dn=ri-me.offsetWidth)}me.style.top=Dt+"px",me.style.left=me.style.right="",at=="right"?(Dn=rt.sizer.clientWidth-me.offsetWidth,me.style.right="0px"):(at=="left"?Dn=0:at=="middle"&&(Dn=(rt.sizer.clientWidth-me.offsetWidth)/2),me.style.left=Dn+"px"),Ne&&ho(this,{left:Dn,top:Dt,right:Dn+me.offsetWidth,bottom:Dt+me.offsetHeight})},triggerOnKeyDown:Yn(yf),triggerOnKeyPress:Yn(Ec),triggerOnKeyUp:Sf,triggerOnMouseDown:Yn(Hc),execCommand:function(de){if(Dl.hasOwnProperty(de))return Dl[de].call(null,this)},triggerElectric:Yn(function(de){dp(this,de)}),findPosH:function(de,me,Ne,Ze){var at=1;me<0&&(at=-1,me=-me);for(var rt=Ni(this.doc,de),Dt=0;Dt0&&Dn(Ne.charAt(Ze-1));)--Ze;for(;at.5||this.options.lineWrapping)&&Io(this),rn(this,"refresh",this)}),swapDoc:Yn(function(de){var me=this.doc;return me.cm=null,this.state.selectingText&&this.state.selectingText(),Ro(this,de),Ss(this),this.display.input.reset(),fo(this,de.scrollLeft,de.scrollTop),this.curOp.forceScroll=!0,Vi(this,"swapDoc",this,me),me}),phrase:function(de){var me=this.options.phrases;return me&&Object.prototype.hasOwnProperty.call(me,de)?me[de]:de},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ri(ie),ie.registerHelper=function(de,me,Ne){he.hasOwnProperty(de)||(he[de]=ie[de]={_global:[]}),he[de][me]=Ne},ie.registerGlobalHelper=function(de,me,Ne,Ze){ie.registerHelper(de,me,Ze),he[de]._global.push({pred:Ne,val:Ze})}}function Jf(ie,ae,he,de,me){var Ne=ae,Ze=he,at=an(ie,ae.line),rt=me&&ie.direction=="rtl"?-he:he;function Dt(){var Eo=ae.line+rt;return Eo=ie.first+ie.size?!1:(ae=new zt(Eo,ae.ch,ae.sticky),at=an(ie,Eo))}function Dn(Eo){var po;if(de=="codepoint"){var jo=at.text.charCodeAt(ae.ch+(de>0?0:-1));isNaN(jo)?po=null:po=new zt(ae.line,Math.max(0,Math.min(at.text.length,ae.ch+he*(jo>=55296&&jo<56320?2:1))),-he)}else me?po=Es(ie.cm,at,ae,he):po=sl(at,ae,he);if(po==null)if(!Eo&&Dt())ae=Va(me,ie.cm,at,ae.line,rt);else return!1;else ae=po;return!0}if(de=="char"||de=="codepoint")Dn();else if(de=="column")Dn(!0);else if(de=="word"||de=="group")for(var Vt=null,ri=de=="group",ei=ie.cm&&ie.cm.getHelper(ae,"wordChars"),tr=!0;!(he<0&&!Dn(!tr));tr=!1){var or=at.text.charAt(ae.ch)||` `,Cr=ft(or,ei)?"w":ri&&or==` `?"n":!ri||/\s/.test(or)?null:"p";if(ri&&!tr&&!Cr&&(Cr="s"),Vt&&Vt!=Cr){he<0&&(he=1,Dn(),ae.sticky="after");break}if(Cr&&(Vt=Cr),he>0&&!Dn(!tr))break}var Jr=Wu(ie,ae,Ne,Ze,!0);return Ci(Ne,Jr)&&(Jr.hitSide=!0),Jr}function vh(ie,ae,he,de){var me=ie.doc,Ne=ae.left,Ze;if(de=="page"){var at=Math.min(ie.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),rt=Math.max(at-.5*$l(ie.display),3);Ze=(he>0?ae.bottom:ae.top)+he*rt}else de=="line"&&(Ze=he>0?ae.bottom+3:ae.top-3);for(var Dt;Dt=El(ie,Ne,Ze),!!Dt.outside;){if(he<0?Ze<=0:Ze>=me.height){Dt.hitSide=!0;break}Ze+=he*5}return Dt}var js=function(ie){this.cm=ie,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Re,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};js.prototype.init=function(ie){var ae=this,he=this,de=he.cm,me=he.div=ie.lineDiv;fp(me,de.options.spellcheck,de.options.autocorrect,de.options.autocapitalize);function Ne(at){for(var rt=at.target;rt;rt=rt.parentNode){if(rt==me)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(rt.className))break}return!1}nt(me,"paste",function(at){!Ne(at)||vn(de,at)||cp(at,de)||vt<=11&&setTimeout(Xn(de,function(){return ae.updateFromDOM()}),20)}),nt(me,"compositionstart",function(at){ae.composing={data:at.data,done:!1}}),nt(me,"compositionupdate",function(at){ae.composing||(ae.composing={data:at.data,done:!1})}),nt(me,"compositionend",function(at){ae.composing&&(at.data!=ae.composing.data&&ae.readFromDOMSoon(),ae.composing.done=!0)}),nt(me,"touchstart",function(){return he.forceCompositionEnd()}),nt(me,"input",function(){ae.composing||ae.readFromDOMSoon()});function Ze(at){if(!(!Ne(at)||vn(de,at))){if(de.somethingSelected())Vh({lineWise:!1,text:de.getSelections()}),at.type=="cut"&&de.replaceSelection("",null,"cut");else if(de.options.lineWiseCopyCut){var rt=hp(de);Vh({lineWise:!0,text:rt.text}),at.type=="cut"&&de.operation(function(){de.setSelections(rt.ranges,0,kt),de.replaceSelection("",null,"cut")})}else return;if(at.clipboardData){at.clipboardData.clearData();var Dt=$u.text.join(` `);if(at.clipboardData.setData("Text",Dt),at.clipboardData.getData("Text")==Dt){at.preventDefault();return}}var Dn=gp(),Vt=Dn.firstChild;de.display.lineSpace.insertBefore(Dn,de.display.lineSpace.firstChild),Vt.value=$u.text.join(` `);var ri=document.activeElement;Yt(Vt),setTimeout(function(){de.display.lineSpace.removeChild(Dn),ri.focus(),ri==me&&he.showPrimarySelection()},50)}}nt(me,"copy",Ze),nt(me,"cut",Ze)},js.prototype.screenReaderLabelChanged=function(ie){ie?this.div.setAttribute("aria-label",ie):this.div.removeAttribute("aria-label")},js.prototype.prepareSelection=function(){var ie=hn(this.cm,!1);return ie.focus=document.activeElement==this.div,ie},js.prototype.showSelection=function(ie,ae){!ie||!this.cm.display.view.length||((ie.focus||ae)&&this.showPrimarySelection(),this.showMultipleSelections(ie))},js.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},js.prototype.showPrimarySelection=function(){var ie=this.getSelection(),ae=this.cm,he=ae.doc.sel.primary(),de=he.from(),me=he.to();if(ae.display.viewTo==ae.display.viewFrom||de.line>=ae.display.viewTo||me.line=ae.display.viewFrom&&Pg(ae,de)||{node:at[0].measure.map[2],offset:0},Dt=me.lineie.firstLine()&&(de=zt(de.line-1,an(ie.doc,de.line-1).length)),me.ch==an(ie.doc,me.line).text.length&&me.lineae.viewTo-1)return!1;var Ne,Ze,at;de.line==ae.viewFrom||(Ne=Il(ie,de.line))==0?(Ze=Et(ae.view[0].line),at=ae.view[0].node):(Ze=Et(ae.view[Ne].line),at=ae.view[Ne-1].node.nextSibling);var rt=Il(ie,me.line),Dt,Dn;if(rt==ae.view.length-1?(Dt=ae.viewTo-1,Dn=ae.lineDiv.lastChild):(Dt=Et(ae.view[rt+1].line)-1,Dn=ae.view[rt+1].node.previousSibling),!at)return!1;for(var Vt=ie.doc.splitLines(Cf(ie,at,Dn,Ze,Dt)),ri=Bt(ie.doc,zt(Ze,0),zt(Dt,an(ie.doc,Dt).text.length));Vt.length>1&&ri.length>1;)if(yt(Vt)==yt(ri))Vt.pop(),ri.pop(),Dt--;else if(Vt[0]==ri[0])Vt.shift(),ri.shift(),Ze++;else break;for(var ei=0,tr=0,or=Vt[0],Cr=ri[0],Jr=Math.min(or.length,Cr.length);eide.ch&&Eo.charCodeAt(Eo.length-tr-1)==po.charCodeAt(po.length-tr-1);)ei--,tr++;Vt[Vt.length-1]=Eo.slice(0,Eo.length-tr).replace(/^\u200b+/,""),Vt[0]=Vt[0].slice(ei).replace(/\u200b+$/,"");var ua=zt(Ze,ei),uo=zt(Dt,ri.length?yt(ri).length-tr:0);if(Vt.length>1||Vt[0]||Sn(ua,uo))return sc(ie.doc,Vt,ua,uo,"+input"),!0},js.prototype.ensurePolled=function(){this.forceCompositionEnd()},js.prototype.reset=function(){this.forceCompositionEnd()},js.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},js.prototype.readFromDOMSoon=function(){var ie=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(ie.readDOMTimeout=null,ie.composing)if(ie.composing.done)ie.composing=null;else return;ie.updateFromDOM()},80))},js.prototype.updateFromDOM=function(){var ie=this;(this.cm.isReadOnly()||!this.pollContent())&&gn(this.cm,function(){return ws(ie.cm)})},js.prototype.setUneditable=function(ie){ie.contentEditable="false"},js.prototype.onKeyPress=function(ie){ie.charCode==0||this.composing||(ie.preventDefault(),this.cm.isReadOnly()||Xn(this.cm,Xf)(this.cm,String.fromCharCode(ie.charCode==null?ie.keyCode:ie.charCode),0))},js.prototype.readOnlyChanged=function(ie){this.div.contentEditable=String(ie!="nocursor")},js.prototype.onContextMenu=function(){},js.prototype.resetPosition=function(){},js.prototype.needsContentAttribute=!0;function Pg(ie,ae){var he=zl(ie,ae.line);if(!he||he.hidden)return null;var de=an(ie.doc,ae.line),me=xc(he,de,ae.line),Ne=ze(de,ie.doc.direction),Ze="left";if(Ne){var at=pe(Ne,ae.ch);Ze=at%2?"right":"left"}var rt=wc(me.map,ae.ch,Ze);return rt.offset=rt.collapse=="right"?rt.end:rt.start,rt}function pp(ie){for(var ae=ie;ae;ae=ae.parentNode)if(/CodeMirror-gutter-wrapper/.test(ae.className))return!0;return!1}function Pf(ie,ae){return ae&&(ie.bad=!0),ie}function Cf(ie,ae,he,de,me){var Ne="",Ze=!1,at=ie.doc.lineSeparator(),rt=!1;function Dt(ei){return function(tr){return tr.id==ei}}function Dn(){Ze&&(Ne+=at,rt&&(Ne+=at),Ze=rt=!1)}function Vt(ei){ei&&(Dn(),Ne+=ei)}function ri(ei){if(ei.nodeType==1){var tr=ei.getAttribute("cm-text");if(tr){Vt(tr);return}var or=ei.getAttribute("cm-marker"),Cr;if(or){var Jr=ie.findMarks(zt(de,0),zt(me+1,0),Dt(+or));Jr.length&&(Cr=Jr[0].find(0))&&Vt(Bt(ie.doc,Cr.from,Cr.to).join(at));return}if(ei.getAttribute("contenteditable")=="false")return;var Eo=/^(pre|div|p|li|table|br)$/i.test(ei.nodeName);if(!/^br$/i.test(ei.nodeName)&&ei.textContent.length==0)return;Eo&&Dn();for(var po=0;po=9&&ae.hasSelection&&(ae.hasSelection=null),he.poll()}),nt(me,"paste",function(Ze){vn(de,Ze)||cp(Ze,de)||(de.state.pasteIncoming=+new Date,he.fastPoll())});function Ne(Ze){if(!vn(de,Ze)){if(de.somethingSelected())Vh({lineWise:!1,text:de.getSelections()});else if(de.options.lineWiseCopyCut){var at=hp(de);Vh({lineWise:!0,text:at.text}),Ze.type=="cut"?de.setSelections(at.ranges,null,kt):(he.prevInput="",me.value=at.text.join(` `),Yt(me))}else return;Ze.type=="cut"&&(de.state.cutIncoming=+new Date)}}nt(me,"cut",Ne),nt(me,"copy",Ne),nt(ie.scroller,"paste",function(Ze){if(!(kl(ie,Ze)||vn(de,Ze))){if(!me.dispatchEvent){de.state.pasteIncoming=+new Date,he.focus();return}var at=new Event("paste");at.clipboardData=Ze.clipboardData,me.dispatchEvent(at)}}),nt(ie.lineSpace,"selectstart",function(Ze){kl(ie,Ze)||Wi(Ze)}),nt(me,"compositionstart",function(){var Ze=de.getCursor("from");he.composing&&he.composing.range.clear(),he.composing={start:Ze,range:de.markText(Ze,de.getCursor("to"),{className:"CodeMirror-composing"})}}),nt(me,"compositionend",function(){he.composing&&(he.poll(),he.composing.range.clear(),he.composing=null)})},Wl.prototype.createField=function(ie){this.wrapper=gp(),this.textarea=this.wrapper.firstChild},Wl.prototype.screenReaderLabelChanged=function(ie){ie?this.textarea.setAttribute("aria-label",ie):this.textarea.removeAttribute("aria-label")},Wl.prototype.prepareSelection=function(){var ie=this.cm,ae=ie.display,he=ie.doc,de=hn(ie);if(ie.options.moveInputWithCursor){var me=Fa(ie,he.sel.primary().head,"div"),Ne=ae.wrapper.getBoundingClientRect(),Ze=ae.lineDiv.getBoundingClientRect();de.teTop=Math.max(0,Math.min(ae.wrapper.clientHeight-10,me.top+Ze.top-Ne.top)),de.teLeft=Math.max(0,Math.min(ae.wrapper.clientWidth-10,me.left+Ze.left-Ne.left))}return de},Wl.prototype.showSelection=function(ie){var ae=this.cm,he=ae.display;Ke(he.cursorDiv,ie.cursors),Ke(he.selectionDiv,ie.selection),ie.teTop!=null&&(this.wrapper.style.top=ie.teTop+"px",this.wrapper.style.left=ie.teLeft+"px")},Wl.prototype.reset=function(ie){if(!(this.contextMenuPending||this.composing)){var ae=this.cm;if(ae.somethingSelected()){this.prevInput="";var he=ae.getSelection();this.textarea.value=he,ae.state.focused&&Yt(this.textarea),_e&&vt>=9&&(this.hasSelection=he)}else ie||(this.prevInput=this.textarea.value="",_e&&vt>=9&&(this.hasSelection=null))}},Wl.prototype.getField=function(){return this.textarea},Wl.prototype.supportsTouch=function(){return!1},Wl.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ne||qe()!=this.textarea))try{this.textarea.focus()}catch(ie){}},Wl.prototype.blur=function(){this.textarea.blur()},Wl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Wl.prototype.receivedFocus=function(){this.slowPoll()},Wl.prototype.slowPoll=function(){var ie=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){ie.poll(),ie.cm.state.focused&&ie.slowPoll()})},Wl.prototype.fastPoll=function(){var ie=!1,ae=this;ae.pollingFast=!0;function he(){var de=ae.poll();!de&&!ie?(ie=!0,ae.polling.set(60,he)):(ae.pollingFast=!1,ae.slowPoll())}ae.polling.set(20,he)},Wl.prototype.poll=function(){var ie=this,ae=this.cm,he=this.textarea,de=this.prevInput;if(this.contextMenuPending||!ae.state.focused||Ce(he)&&!de&&!this.composing||ae.isReadOnly()||ae.options.disableInput||ae.state.keySeq)return!1;var me=he.value;if(me==de&&!ae.somethingSelected())return!1;if(_e&&vt>=9&&this.hasSelection===me||ce&&/[\uf700-\uf7ff]/.test(me))return ae.display.input.reset(),!1;if(ae.doc.sel==ae.display.selForContextMenu){var Ne=me.charCodeAt(0);if(Ne==8203&&!de&&(de="\u200B"),Ne==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ze=0,at=Math.min(de.length,me.length);Ze1e3||me.indexOf(` `)>-1?he.value=ie.prevInput="":ie.prevInput=me,ie.composing&&(ie.composing.range.clear(),ie.composing.range=ae.markText(ie.composing.start,ae.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Wl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Wl.prototype.onKeyPress=function(){_e&&vt>=9&&(this.hasSelection=null),this.fastPoll()},Wl.prototype.onContextMenu=function(ie){var ae=this,he=ae.cm,de=he.display,me=ae.textarea;ae.contextMenuPending&&ae.contextMenuPending();var Ne=wl(he,ie),Ze=de.scroller.scrollTop;if(!Ne||et)return;var at=he.options.resetSelectionOnContextMenu;at&&he.doc.sel.contains(Ne)==-1&&Xn(he,ss)(he.doc,_o(Ne),kt);var rt=me.style.cssText,Dt=ae.wrapper.style.cssText,Dn=ae.wrapper.offsetParent.getBoundingClientRect();ae.wrapper.style.cssText="position: static",me.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(ie.clientY-Dn.top-5)+"px; left: "+(ie.clientX-Dn.left-5)+`px; z-index: 1000; background: `+(_e?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Vt;ke&&(Vt=window.scrollY),de.input.focus(),ke&&window.scrollTo(null,Vt),de.input.reset(),he.somethingSelected()||(me.value=ae.prevInput=" "),ae.contextMenuPending=ei,de.selForContextMenu=he.doc.sel,clearTimeout(de.detectingSelectAll);function ri(){if(me.selectionStart!=null){var or=he.somethingSelected(),Cr="\u200B"+(or?me.value:"");me.value="\u21DA",me.value=Cr,ae.prevInput=or?"":"\u200B",me.selectionStart=1,me.selectionEnd=Cr.length,de.selForContextMenu=he.doc.sel}}function ei(){if(ae.contextMenuPending==ei&&(ae.contextMenuPending=!1,ae.wrapper.style.cssText=Dt,me.style.cssText=rt,_e&&vt<9&&de.scrollbars.setScrollTop(de.scroller.scrollTop=Ze),me.selectionStart!=null)){(!_e||_e&&vt<9)&&ri();var or=0,Cr=function(){de.selForContextMenu==he.doc.sel&&me.selectionStart==0&&me.selectionEnd>0&&ae.prevInput=="\u200B"?Xn(he,$a)(he):or++<10?de.detectingSelectAll=setTimeout(Cr,500):(de.selForContextMenu=null,de.input.reset())};de.detectingSelectAll=setTimeout(Cr,200)}}if(_e&&vt>=9&&ri(),Fe){Wr(ie);var tr=function(){En(window,"mouseup",tr),setTimeout(ei,20)};nt(window,"mouseup",tr)}else setTimeout(ei,50)},Wl.prototype.readOnlyChanged=function(ie){ie||this.reset(),this.textarea.disabled=ie=="nocursor",this.textarea.readOnly=!!ie},Wl.prototype.setUneditable=function(){},Wl.prototype.needsContentAttribute=!1;function gm(ie,ae){if(ae=ae?Qt(ae):{},ae.value=ie.value,!ae.tabindex&&ie.tabIndex&&(ae.tabindex=ie.tabIndex),!ae.placeholder&&ie.placeholder&&(ae.placeholder=ie.placeholder),ae.autofocus==null){var he=qe();ae.autofocus=he==ie||ie.getAttribute("autofocus")!=null&&he==document.body}function de(){ie.value=at.getValue()}var me;if(ie.form&&(nt(ie.form,"submit",de),!ae.leaveSubmitMethodAlone)){var Ne=ie.form;me=Ne.submit;try{var Ze=Ne.submit=function(){de(),Ne.submit=me,Ne.submit(),Ne.submit=Ze}}catch(rt){}}ae.finishInit=function(rt){rt.save=de,rt.getTextArea=function(){return ie},rt.toTextArea=function(){rt.toTextArea=isNaN,de(),ie.parentNode.removeChild(rt.getWrapperElement()),ie.style.display="",ie.form&&(En(ie.form,"submit",de),!ae.leaveSubmitMethodAlone&&typeof ie.form.submit=="function"&&(ie.form.submit=me))}},ie.style.display="none";var at=cs(function(rt){return ie.parentNode.insertBefore(rt,ie.nextSibling)},ae);return at}function bf(ie){ie.off=En,ie.on=nt,ie.wheelEventPixels=lo,ie.Doc=Nl,ie.splitLines=$n,ie.countColumn=dt,ie.findColumn=Bn,ie.isWordChar=$t,ie.Pass=mn,ie.signal=rn,ie.Line=$r,ie.changeEnd=na,ie.scrollbarModel=as,ie.Pos=zt,ie.cmpPos=Sn,ie.modes=Wn,ie.mimeModes=li,ie.resolveMode=mt,ie.getMode=Pt,ie.modeExtensions=bt,ie.extendMode=tt,ie.copyState=qt,ie.startState=xt,ie.innerMode=dn,ie.commands=Dl,ie.keyMap=eu,ie.keyName=dh,ie.isModifierKey=Ed,ie.lookupKey=Su,ie.normalizeKeyMap=Yd,ie.StringStream=Ye,ie.SharedTextMarker=bc,ie.TextMarker=pn,ie.LineWidget=_s,ie.e_preventDefault=Wi,ie.e_stopPropagation=Mn,ie.e_stop=Wr,ie.addClass=Ht,ie.contains=Nt,ie.rmClass=Ie,ie.keyNames=lc}ph(cs),mh(cs);var Qd="iter insert remove copy getEditor constructor".split(" ");for(var _f in Nl.prototype)Nl.prototype.hasOwnProperty(_f)&&Mt(Qd,_f)<0&&(cs.prototype[_f]=function(ie){return function(){return ie.apply(this.doc,arguments)}}(Nl.prototype[_f]));return Ri(Nl),cs.inputStyles={textarea:Wl,contenteditable:js},cs.defineMode=function(ie){!cs.defaults.mode&&ie!="null"&&(cs.defaults.mode=ie),fn.apply(this,arguments)},cs.defineMIME=on,cs.defineMode("null",function(){return{token:function(ie){return ie.skipToEnd()}}}),cs.defineMIME("text/plain","null"),cs.defineExtension=function(ie,ae){cs.prototype[ie]=ae},cs.defineDocExtension=function(ie,ae){Nl.prototype[ie]=ae},cs.fromTextArea=gm,bf(cs),cs.version="5.58.2",cs})},25419:function(Rn,Fn,ye){(function(Se){Se(ye(89780),ye(15525),ye(98101))})(function(Se){"use strict";Se.defineMode("markdown",function(Oe,He){var Rt=Se.getMode(Oe,"text/html"),_e=Rt.name=="null";function vt(dt){if(Se.findModeByName){var Re=Se.findModeByName(dt);Re&&(dt=Re.mime||Re.mimes[0])}var Mt=Se.getMode(Oe,dt);return Mt.name=="null"?null:Mt}He.highlightFormatting===void 0&&(He.highlightFormatting=!1),He.maxBlockquoteDepth===void 0&&(He.maxBlockquoteDepth=0),He.taskLists===void 0&&(He.taskLists=!1),He.strikethrough===void 0&&(He.strikethrough=!1),He.emoji===void 0&&(He.emoji=!1),He.fencedCodeBlockHighlighting===void 0&&(He.fencedCodeBlockHighlighting=!0),He.fencedCodeBlockDefaultMode===void 0&&(He.fencedCodeBlockDefaultMode="text/plain"),He.xml===void 0&&(He.xml=!0),He.tokenTypeOverrides===void 0&&(He.tokenTypeOverrides={});var ke={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Tt in ke)ke.hasOwnProperty(Tt)&&He.tokenTypeOverrides[Tt]&&(ke[Tt]=He.tokenTypeOverrides[Tt]);var Lt=/^([*\-_])(?:\s*\1){2,}\s*$/,et=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,gt=/^\[(x| )\](?=\s)/i,ct=He.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,wt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Me=/^[^#!\[\]*_\\<>` "'(~:]+/,te=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ne=/^\s*\[[^\]]+?\]:.*$/,ce=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,se=" ";function ge(dt,Re,Mt){return Re.f=Re.inline=Mt,Mt(dt,Re)}function ve(dt,Re,Mt){return Re.f=Re.block=Mt,Mt(dt,Re)}function be(dt){return!dt||!/\S/.test(dt.string)}function Fe(dt){if(dt.linkTitle=!1,dt.linkHref=!1,dt.linkText=!1,dt.em=!1,dt.strong=!1,dt.strikethrough=!1,dt.quote=0,dt.indentedCode=!1,dt.f==Ie){var Re=_e;if(!Re){var Mt=Se.innerMode(Rt,dt.htmlState);Re=Mt.mode.name=="xml"&&Mt.state.tagStart===null&&!Mt.state.context&&Mt.state.tokenize.isInText}Re&&(dt.f=ht,dt.block=Pe,dt.htmlState=null)}return dt.trailingSpace=0,dt.trailingSpaceNewLine=!1,dt.prevLine=dt.thisLine,dt.thisLine={stream:null},null}function Pe(dt,Re){var Mt=dt.column()===Re.indentation,Pn=be(Re.prevLine.stream),mn=Re.indentedCode,kt=Re.prevLine.hr,_t=Re.list!==!1,ln=(Re.listStack[Re.listStack.length-1]||0)+3;Re.indentedCode=!1;var Bn=Re.indentation;if(Re.indentationDiff===null&&(Re.indentationDiff=Re.indentation,_t)){for(Re.list=null;Bn=4&&(mn||Re.prevLine.fencedCodeEnd||Re.prevLine.header||Pn))return dt.skipToEnd(),Re.indentedCode=!0,ke.code;if(dt.eatSpace())return null;if(Mt&&Re.indentation<=ln&&(yt=dt.match(ct))&&yt[1].length<=6)return Re.quote=0,Re.header=yt[1].length,Re.thisLine.header=!0,He.highlightFormatting&&(Re.formatting="header"),Re.f=Re.inline,Ke(Re);if(Re.indentation<=ln&&dt.eat(">"))return Re.quote=Mt?1:Re.quote+1,He.highlightFormatting&&(Re.formatting="quote"),dt.eatSpace(),Ke(Re);if(!Kn&&!Re.setext&&Mt&&Re.indentation<=ln&&(yt=dt.match(et))){var Jn=yt[1]?"ol":"ul";return Re.indentation=Bn+dt.current().length,Re.list=!0,Re.quote=0,Re.listStack.push(Re.indentation),Re.em=!1,Re.strong=!1,Re.code=!1,Re.strikethrough=!1,He.taskLists&&dt.match(gt,!1)&&(Re.taskList=!0),Re.f=Re.inline,He.highlightFormatting&&(Re.formatting=["list","list-"+Jn]),Ke(Re)}else{if(Mt&&Re.indentation<=ln&&(yt=dt.match(te,!0)))return Re.quote=0,Re.fencedEndRE=new RegExp(yt[1]+"+ *$"),Re.localMode=He.fencedCodeBlockHighlighting&&vt(yt[2]||He.fencedCodeBlockDefaultMode),Re.localMode&&(Re.localState=Se.startState(Re.localMode)),Re.f=Re.block=We,He.highlightFormatting&&(Re.formatting="code-block"),Re.code=-1,Ke(Re);if(Re.setext||(!wn||!_t)&&!Re.quote&&Re.list===!1&&!Re.code&&!Kn&&!ne.test(dt.string)&&(yt=dt.lookAhead(1))&&(yt=yt.match(wt)))return Re.setext?(Re.header=Re.setext,Re.setext=0,dt.skipToEnd(),He.highlightFormatting&&(Re.formatting="header")):(Re.header=yt[0].charAt(0)=="="?1:2,Re.setext=Re.header),Re.thisLine.header=!0,Re.f=Re.inline,Ke(Re);if(Kn)return dt.skipToEnd(),Re.hr=!0,Re.thisLine.hr=!0,ke.hr;if(dt.peek()==="[")return ge(dt,Re,Zt)}return ge(dt,Re,Re.inline)}function Ie(dt,Re){var Mt=Rt.token(dt,Re.htmlState);if(!_e){var Pn=Se.innerMode(Rt,Re.htmlState);(Pn.mode.name=="xml"&&Pn.state.tagStart===null&&!Pn.state.context&&Pn.state.tokenize.isInText||Re.md_inside&&dt.current().indexOf(">")>-1)&&(Re.f=ht,Re.block=Pe,Re.htmlState=null)}return Mt}function We(dt,Re){var Mt=Re.listStack[Re.listStack.length-1]||0,Pn=Re.indentation=dt.quote?Re.push(ke.formatting+"-"+dt.formatting[Mt]+"-"+dt.quote):Re.push("error"))}if(dt.taskOpen)return Re.push("meta"),Re.length?Re.join(" "):null;if(dt.taskClosed)return Re.push("property"),Re.length?Re.join(" "):null;if(dt.linkHref?Re.push(ke.linkHref,"url"):(dt.strong&&Re.push(ke.strong),dt.em&&Re.push(ke.em),dt.strikethrough&&Re.push(ke.strikethrough),dt.emoji&&Re.push(ke.emoji),dt.linkText&&Re.push(ke.linkText),dt.code&&Re.push(ke.code),dt.image&&Re.push(ke.image),dt.imageAltText&&Re.push(ke.imageAltText,"link"),dt.imageMarker&&Re.push(ke.imageMarker)),dt.header&&Re.push(ke.header,ke.header+"-"+dt.header),dt.quote&&(Re.push(ke.quote),!He.maxBlockquoteDepth||He.maxBlockquoteDepth>=dt.quote?Re.push(ke.quote+"-"+dt.quote):Re.push(ke.quote+"-"+He.maxBlockquoteDepth)),dt.list!==!1){var Pn=(dt.listStack.length-1)%3;Pn?Pn===1?Re.push(ke.list2):Re.push(ke.list3):Re.push(ke.list1)}return dt.trailingSpaceNewLine?Re.push("trailing-space-new-line"):dt.trailingSpace&&Re.push("trailing-space-"+(dt.trailingSpace%2?"a":"b")),Re.length?Re.join(" "):null}function Xe(dt,Re){if(dt.match(Me,!0))return Ke(Re)}function ht(dt,Re){var Mt=Re.text(dt,Re);if(typeof Mt!="undefined")return Mt;if(Re.list)return Re.list=null,Ke(Re);if(Re.taskList){var Pn=dt.match(gt,!0)[1]===" ";return Pn?Re.taskOpen=!0:Re.taskClosed=!0,He.highlightFormatting&&(Re.formatting="task"),Re.taskList=!1,Ke(Re)}if(Re.taskOpen=!1,Re.taskClosed=!1,Re.header&&dt.match(/^#+$/,!0))return He.highlightFormatting&&(Re.formatting="header"),Ke(Re);var mn=dt.next();if(Re.linkTitle){Re.linkTitle=!1;var kt=mn;mn==="("&&(kt=")"),kt=(kt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var _t="^\\s*(?:[^"+kt+"\\\\]+|\\\\\\\\|\\\\.)"+kt;if(dt.match(new RegExp(_t),!0))return ke.linkHref}if(mn==="`"){var ln=Re.formatting;He.highlightFormatting&&(Re.formatting="code"),dt.eatWhile("`");var Bn=dt.current().length;if(Re.code==0&&(!Re.quote||Bn==1))return Re.code=Bn,Ke(Re);if(Bn==Re.code){var wn=Ke(Re);return Re.code=0,wn}else return Re.formatting=ln,Ke(Re)}else if(Re.code)return Ke(Re);if(mn==="\\"&&(dt.next(),He.highlightFormatting)){var Kn=Ke(Re),yt=ke.formatting+"-escape";return Kn?Kn+" "+yt:yt}if(mn==="!"&&dt.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Re.imageMarker=!0,Re.image=!0,He.highlightFormatting&&(Re.formatting="image"),Ke(Re);if(mn==="["&&Re.imageMarker&&dt.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Re.imageMarker=!1,Re.imageAltText=!0,He.highlightFormatting&&(Re.formatting="image"),Ke(Re);if(mn==="]"&&Re.imageAltText){He.highlightFormatting&&(Re.formatting="image");var Kn=Ke(Re);return Re.imageAltText=!1,Re.image=!1,Re.inline=Re.f=Nt,Kn}if(mn==="["&&!Re.image)return Re.linkText&&dt.match(/^.*?\]/)||(Re.linkText=!0,He.highlightFormatting&&(Re.formatting="link")),Ke(Re);if(mn==="]"&&Re.linkText){He.highlightFormatting&&(Re.formatting="link");var Kn=Ke(Re);return Re.linkText=!1,Re.inline=Re.f=dt.match(/\(.*?\)| ?\[.*?\]/,!1)?Nt:ht,Kn}if(mn==="<"&&dt.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Re.f=Re.inline=Ve,He.highlightFormatting&&(Re.formatting="link");var Kn=Ke(Re);return Kn?Kn+=" ":Kn="",Kn+ke.linkInline}if(mn==="<"&&dt.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Re.f=Re.inline=Ve,He.highlightFormatting&&(Re.formatting="link");var Kn=Ke(Re);return Kn?Kn+=" ":Kn="",Kn+ke.linkEmail}if(He.xml&&mn==="<"&&dt.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Jn=dt.string.indexOf(">",dt.pos);if(Jn!=-1){var bn=dt.string.substring(dt.start,Jn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(bn)&&(Re.md_inside=!0)}return dt.backUp(1),Re.htmlState=Se.startState(Rt),ve(dt,Re,Ie)}if(He.xml&&mn==="<"&&dt.match(/^\/\w*?>/))return Re.md_inside=!1,"tag";if(mn==="*"||mn==="_"){for(var ci=1,Tn=dt.pos==1?" ":dt.string.charAt(dt.pos-2);ci<3&&dt.eat(mn);)ci++;var tn=dt.peek()||" ",$t=!/\s/.test(tn)&&(!ce.test(tn)||/\s/.test(Tn)||ce.test(Tn)),ft=!/\s/.test(Tn)&&(!ce.test(Tn)||/\s/.test(tn)||ce.test(tn)),Je=null,Gt=null;if(ci%2&&(!Re.em&&$t&&(mn==="*"||!ft||ce.test(Tn))?Je=!0:Re.em==mn&&ft&&(mn==="*"||!$t||ce.test(tn))&&(Je=!1)),ci>1&&(!Re.strong&&$t&&(mn==="*"||!ft||ce.test(Tn))?Gt=!0:Re.strong==mn&&ft&&(mn==="*"||!$t||ce.test(tn))&&(Gt=!1)),Gt!=null||Je!=null){He.highlightFormatting&&(Re.formatting=Je==null?"strong":Gt==null?"em":"strong em"),Je===!0&&(Re.em=mn),Gt===!0&&(Re.strong=mn);var wn=Ke(Re);return Je===!1&&(Re.em=!1),Gt===!1&&(Re.strong=!1),wn}}else if(mn===" "&&(dt.eat("*")||dt.eat("_"))){if(dt.peek()===" ")return Ke(Re);dt.backUp(1)}if(He.strikethrough){if(mn==="~"&&dt.eatWhile(mn)){if(Re.strikethrough){He.highlightFormatting&&(Re.formatting="strikethrough");var wn=Ke(Re);return Re.strikethrough=!1,wn}else if(dt.match(/^[^\s]/,!1))return Re.strikethrough=!0,He.highlightFormatting&&(Re.formatting="strikethrough"),Ke(Re)}else if(mn===" "&&dt.match(/^~~/,!0)){if(dt.peek()===" ")return Ke(Re);dt.backUp(2)}}if(He.emoji&&mn===":"&&dt.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Re.emoji=!0,He.highlightFormatting&&(Re.formatting="emoji");var At=Ke(Re);return Re.emoji=!1,At}return mn===" "&&(dt.match(/^ +$/,!1)?Re.trailingSpace++:Re.trailingSpace&&(Re.trailingSpaceNewLine=!0)),Ke(Re)}function Ve(dt,Re){var Mt=dt.next();if(Mt===">"){Re.f=Re.inline=ht,He.highlightFormatting&&(Re.formatting="link");var Pn=Ke(Re);return Pn?Pn+=" ":Pn="",Pn+ke.linkInline}return dt.match(/^[^>]+/,!0),ke.linkInline}function Nt(dt,Re){if(dt.eatSpace())return null;var Mt=dt.next();return Mt==="("||Mt==="["?(Re.f=Re.inline=Ht(Mt==="("?")":"]"),He.highlightFormatting&&(Re.formatting="link-string"),Re.linkHref=!0,Ke(Re)):"error"}var qe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ht(dt){return function(Re,Mt){var Pn=Re.next();if(Pn===dt){Mt.f=Mt.inline=ht,He.highlightFormatting&&(Mt.formatting="link-string");var mn=Ke(Mt);return Mt.linkHref=!1,mn}return Re.match(qe[dt]),Mt.linkHref=!0,Ke(Mt)}}function Zt(dt,Re){return dt.match(/^([^\]\\]|\\.)*\]:/,!1)?(Re.f=Yt,dt.next(),He.highlightFormatting&&(Re.formatting="link"),Re.linkText=!0,Ke(Re)):ge(dt,Re,ht)}function Yt(dt,Re){if(dt.match(/^\]:/,!0)){Re.f=Re.inline=Ot,He.highlightFormatting&&(Re.formatting="link");var Mt=Ke(Re);return Re.linkText=!1,Mt}return dt.match(/^([^\]\\]|\\.)+/,!0),ke.linkText}function Ot(dt,Re){return dt.eatSpace()?null:(dt.match(/^[^\s]+/,!0),dt.peek()===void 0?Re.linkTitle=!0:dt.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Re.f=Re.inline=ht,ke.linkHref+" url")}var Qt={startState:function(){return{f:Pe,prevLine:{stream:null},thisLine:{stream:null},block:Pe,htmlState:null,indentation:0,inline:ht,text:Xe,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(dt){return{f:dt.f,prevLine:dt.prevLine,thisLine:dt.thisLine,block:dt.block,htmlState:dt.htmlState&&Se.copyState(Rt,dt.htmlState),indentation:dt.indentation,localMode:dt.localMode,localState:dt.localMode?Se.copyState(dt.localMode,dt.localState):null,inline:dt.inline,text:dt.text,formatting:!1,linkText:dt.linkText,linkTitle:dt.linkTitle,linkHref:dt.linkHref,code:dt.code,em:dt.em,strong:dt.strong,strikethrough:dt.strikethrough,emoji:dt.emoji,header:dt.header,setext:dt.setext,hr:dt.hr,taskList:dt.taskList,list:dt.list,listStack:dt.listStack.slice(0),quote:dt.quote,indentedCode:dt.indentedCode,trailingSpace:dt.trailingSpace,trailingSpaceNewLine:dt.trailingSpaceNewLine,md_inside:dt.md_inside,fencedEndRE:dt.fencedEndRE}},token:function(dt,Re){if(Re.formatting=!1,dt!=Re.thisLine.stream){if(Re.header=0,Re.hr=!1,dt.match(/^\s*$/,!0))return Fe(Re),null;if(Re.prevLine=Re.thisLine,Re.thisLine={stream:dt},Re.taskList=!1,Re.trailingSpace=0,Re.trailingSpaceNewLine=!1,!Re.localState&&(Re.f=Re.block,Re.f!=Ie)){var Mt=dt.match(/^\s*/,!0)[0].replace(/\t/g,se).length;if(Re.indentation=Mt,Re.indentationDiff=null,Mt>0)return null}}return Re.f(dt,Re)},innerMode:function(dt){return dt.block==Ie?{state:dt.htmlState,mode:Rt}:dt.localState?{state:dt.localState,mode:dt.localMode}:{state:dt,mode:Qt}},indent:function(dt,Re,Mt){return dt.block==Ie&&Rt.indent?Rt.indent(dt.htmlState,Re,Mt):dt.localState&&dt.localMode.indent?dt.localMode.indent(dt.localState,Re,Mt):Se.Pass},blankLine:Fe,getType:Ke,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Qt},"xml"),Se.defineMIME("text/markdown","markdown"),Se.defineMIME("text/x-markdown","markdown")})},98101:function(Rn,Fn,ye){(function(Se){Se(ye(89780))})(function(Se){"use strict";Se.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Oe=0;Oe-1&&Rt.substring(ke+1,Rt.length);if(Tt)return Se.findModeByExtension(Tt)},Se.findModeByName=function(Rt){Rt=Rt.toLowerCase();for(var _e=0;_e0?Me.cmdState[Me.cmdState.length-1]:null}function vt(Me){var te=Me.cmdState.pop();te&&te.closeBracket()}function ke(Me){for(var te=Me.cmdState,ne=te.length-1;ne>=0;ne--){var ce=te[ne];if(ce.name!="DEFAULT")return ce}return{styleIdentifier:function(){return null}}}function Tt(Me,te,ne){return function(){this.name=Me,this.bracketNo=0,this.style=te,this.styles=ne,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Lt={};Lt.importmodule=Tt("importmodule","tag",["string","builtin"]),Lt.documentclass=Tt("documentclass","tag",["","atom"]),Lt.usepackage=Tt("usepackage","tag",["atom"]),Lt.begin=Tt("begin","tag",["atom"]),Lt.end=Tt("end","tag",["atom"]),Lt.label=Tt("label","tag",["atom"]),Lt.ref=Tt("ref","tag",["atom"]),Lt.eqref=Tt("eqref","tag",["atom"]),Lt.cite=Tt("cite","tag",["atom"]),Lt.bibitem=Tt("bibitem","tag",["atom"]),Lt.Bibitem=Tt("Bibitem","tag",["atom"]),Lt.RBibitem=Tt("RBibitem","tag",["atom"]),Lt.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function et(Me,te){Me.f=te}function gt(Me,te){var ne;if(Me.match(/^\\[a-zA-Z@]+/)){var ce=Me.current().slice(1);return ne=Lt.hasOwnProperty(ce)?Lt[ce]:Lt.DEFAULT,ne=new ne,Rt(te,ne),et(te,wt),ne.style}if(Me.match(/^\\[$&%#{}_]/)||Me.match(/^\\[,;!\/\\]/))return"tag";if(Me.match("\\["))return et(te,function(ge,ve){return ct(ge,ve,"\\]")}),"keyword";if(Me.match("\\("))return et(te,function(ge,ve){return ct(ge,ve,"\\)")}),"keyword";if(Me.match("$$"))return et(te,function(ge,ve){return ct(ge,ve,"$$")}),"keyword";if(Me.match("$"))return et(te,function(ge,ve){return ct(ge,ve,"$")}),"keyword";var se=Me.next();if(se=="%")return Me.skipToEnd(),"comment";if(se=="}"||se=="]"){if(ne=_e(te),ne)ne.closeBracket(se),et(te,wt);else return"error";return"bracket"}else return se=="{"||se=="["?(ne=Lt.DEFAULT,ne=new ne,Rt(te,ne),"bracket"):/\d/.test(se)?(Me.eatWhile(/[\w.%]/),"atom"):(Me.eatWhile(/[\w\-_]/),ne=ke(te),ne.name=="begin"&&(ne.argument=Me.current()),ne.styleIdentifier())}function ct(Me,te,ne){if(Me.eatSpace())return null;if(ne&&Me.match(ne))return et(te,gt),"keyword";if(Me.match(/^\\[a-zA-Z@]+/))return"tag";if(Me.match(/^[a-zA-Z]+/))return"variable-2";if(Me.match(/^\\[$&%#{}_]/)||Me.match(/^\\[,;!\/]/)||Me.match(/^[\^_&]/))return"tag";if(Me.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Me.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ce=Me.next();return ce=="{"||ce=="}"||ce=="["||ce=="]"||ce=="("||ce==")"?"bracket":ce=="%"?(Me.skipToEnd(),"comment"):"error"}function wt(Me,te){var ne=Me.peek(),ce;return ne=="{"||ne=="["?(ce=_e(te),ce.openBracket(ne),Me.eat(ne),et(te,gt),"bracket"):/[ \t\r]/.test(ne)?(Me.eat(ne),null):(et(te,gt),vt(te),gt(Me,te))}return{startState:function(){var Me=He.inMathMode?function(te,ne){return ct(te,ne)}:gt;return{cmdState:[],f:Me}},copyState:function(Me){return{cmdState:Me.cmdState.slice(),f:Me.f}},token:function(Me,te){return te.f(Me,te)},blankLine:function(Me){Me.f=gt,Me.cmdState.length=0},lineComment:"%"}}),Se.defineMIME("text/x-stex","stex"),Se.defineMIME("text/x-latex","stex")})},15525:function(Rn,Fn,ye){(function(Se){Se(ye(89780))})(function(Se){"use strict";var Oe={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},He={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};Se.defineMode("xml",function(Rt,_e){var vt=Rt.indentUnit,ke={},Tt=_e.htmlMode?Oe:He;for(var Lt in Tt)ke[Lt]=Tt[Lt];for(var Lt in _e)ke[Lt]=_e[Lt];var et,gt;function ct(Ve,Nt){function qe(Yt){return Nt.tokenize=Yt,Yt(Ve,Nt)}var Ht=Ve.next();if(Ht=="<")return Ve.eat("!")?Ve.eat("[")?Ve.match("CDATA[")?qe(te("atom","]]>")):null:Ve.match("--")?qe(te("comment","-->")):Ve.match("DOCTYPE",!0,!0)?(Ve.eatWhile(/[\w\._\-]/),qe(ne(1))):null:Ve.eat("?")?(Ve.eatWhile(/[\w\._\-]/),Nt.tokenize=te("meta","?>"),"meta"):(et=Ve.eat("/")?"closeTag":"openTag",Nt.tokenize=wt,"tag bracket");if(Ht=="&"){var Zt;return Ve.eat("#")?Ve.eat("x")?Zt=Ve.eatWhile(/[a-fA-F\d]/)&&Ve.eat(";"):Zt=Ve.eatWhile(/[\d]/)&&Ve.eat(";"):Zt=Ve.eatWhile(/[\w\.\-:]/)&&Ve.eat(";"),Zt?"atom":"error"}else return Ve.eatWhile(/[^&<]/),null}ct.isInText=!0;function wt(Ve,Nt){var qe=Ve.next();if(qe==">"||qe=="/"&&Ve.eat(">"))return Nt.tokenize=ct,et=qe==">"?"endTag":"selfcloseTag","tag bracket";if(qe=="=")return et="equals",null;if(qe=="<"){Nt.tokenize=ct,Nt.state=ve,Nt.tagName=Nt.tagStart=null;var Ht=Nt.tokenize(Ve,Nt);return Ht?Ht+" tag error":"tag error"}else return/[\'\"]/.test(qe)?(Nt.tokenize=Me(qe),Nt.stringStartCol=Ve.column(),Nt.tokenize(Ve,Nt)):(Ve.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Me(Ve){var Nt=function(qe,Ht){for(;!qe.eol();)if(qe.next()==Ve){Ht.tokenize=wt;break}return"string"};return Nt.isInAttribute=!0,Nt}function te(Ve,Nt){return function(qe,Ht){for(;!qe.eol();){if(qe.match(Nt)){Ht.tokenize=ct;break}qe.next()}return Ve}}function ne(Ve){return function(Nt,qe){for(var Ht;(Ht=Nt.next())!=null;){if(Ht=="<")return qe.tokenize=ne(Ve+1),qe.tokenize(Nt,qe);if(Ht==">")if(Ve==1){qe.tokenize=ct;break}else return qe.tokenize=ne(Ve-1),qe.tokenize(Nt,qe)}return"meta"}}function ce(Ve,Nt,qe){this.prev=Ve.context,this.tagName=Nt,this.indent=Ve.indented,this.startOfLine=qe,(ke.doNotIndent.hasOwnProperty(Nt)||Ve.context&&Ve.context.noIndent)&&(this.noIndent=!0)}function se(Ve){Ve.context&&(Ve.context=Ve.context.prev)}function ge(Ve,Nt){for(var qe;;){if(!Ve.context||(qe=Ve.context.tagName,!ke.contextGrabbers.hasOwnProperty(qe)||!ke.contextGrabbers[qe].hasOwnProperty(Nt)))return;se(Ve)}}function ve(Ve,Nt,qe){return Ve=="openTag"?(qe.tagStart=Nt.column(),be):Ve=="closeTag"?Fe:ve}function be(Ve,Nt,qe){return Ve=="word"?(qe.tagName=Nt.current(),gt="tag",We):ke.allowMissingTagName&&Ve=="endTag"?(gt="tag bracket",We(Ve,Nt,qe)):(gt="error",be)}function Fe(Ve,Nt,qe){if(Ve=="word"){var Ht=Nt.current();return qe.context&&qe.context.tagName!=Ht&&ke.implicitlyClosed.hasOwnProperty(qe.context.tagName)&&se(qe),qe.context&&qe.context.tagName==Ht||ke.matchClosing===!1?(gt="tag",Pe):(gt="tag error",Ie)}else return ke.allowMissingTagName&&Ve=="endTag"?(gt="tag bracket",Pe(Ve,Nt,qe)):(gt="error",Ie)}function Pe(Ve,Nt,qe){return Ve!="endTag"?(gt="error",Pe):(se(qe),ve)}function Ie(Ve,Nt,qe){return gt="error",Pe(Ve,Nt,qe)}function We(Ve,Nt,qe){if(Ve=="word")return gt="attribute",Ke;if(Ve=="endTag"||Ve=="selfcloseTag"){var Ht=qe.tagName,Zt=qe.tagStart;return qe.tagName=qe.tagStart=null,Ve=="selfcloseTag"||ke.autoSelfClosers.hasOwnProperty(Ht)?ge(qe,Ht):(ge(qe,Ht),qe.context=new ce(qe,Ht,Zt==qe.indented)),ve}return gt="error",We}function Ke(Ve,Nt,qe){return Ve=="equals"?Xe:(ke.allowMissing||(gt="error"),We(Ve,Nt,qe))}function Xe(Ve,Nt,qe){return Ve=="string"?ht:Ve=="word"&&ke.allowUnquoted?(gt="string",We):(gt="error",We(Ve,Nt,qe))}function ht(Ve,Nt,qe){return Ve=="string"?ht:We(Ve,Nt,qe)}return{startState:function(Ve){var Nt={tokenize:ct,state:ve,indented:Ve||0,tagName:null,tagStart:null,context:null};return Ve!=null&&(Nt.baseIndent=Ve),Nt},token:function(Ve,Nt){if(!Nt.tagName&&Ve.sol()&&(Nt.indented=Ve.indentation()),Ve.eatSpace())return null;et=null;var qe=Nt.tokenize(Ve,Nt);return(qe||et)&&qe!="comment"&&(gt=null,Nt.state=Nt.state(et||qe,Ve,Nt),gt&&(qe=gt=="error"?qe+" error":gt)),qe},indent:function(Ve,Nt,qe){var Ht=Ve.context;if(Ve.tokenize.isInAttribute)return Ve.tagStart==Ve.indented?Ve.stringStartCol+1:Ve.indented+vt;if(Ht&&Ht.noIndent)return Se.Pass;if(Ve.tokenize!=wt&&Ve.tokenize!=ct)return qe?qe.match(/^(\s*)/)[0].length:0;if(Ve.tagName)return ke.multilineTagIndentPastTag!==!1?Ve.tagStart+Ve.tagName.length+2:Ve.tagStart+vt*(ke.multilineTagIndentFactor||1);if(ke.alignCDATA&&/$/,blockCommentStart:"",configuration:ke.htmlMode?"html":"xml",helperType:ke.htmlMode?"html":"xml",skipAttribute:function(Ve){Ve.state==Xe&&(Ve.state=We)},xmlCurrentTag:function(Ve){return Ve.tagName?{name:Ve.tagName,close:Ve.type=="closeTag"}:null},xmlCurrentContext:function(Ve){for(var Nt=[],qe=Ve.context;qe;qe=qe.prev)qe.tagName&&Nt.push(qe.tagName);return Nt.reverse()}}}),Se.defineMIME("text/xml","xml"),Se.defineMIME("application/xml","xml"),Se.mimeModes.hasOwnProperty("text/html")||Se.defineMIME("text/html",{name:"xml",htmlMode:!0})})},12378:function(Rn,Fn,ye){"use strict";ye.d(Fn,{$u:function(){return Lt},BD:function(){return ci},E9:function(){return Tt},FF:function(){return Yr},FJ:function(){return ve},Hn:function(){return ge},KX:function(){return Fe},NB:function(){return Be},S0:function(){return yt},UL:function(){return et},Vk:function(){return se},Vm:function(){return pe},YI:function(){return Jn},ZA:function(){return He},Zt:function(){return gt},al:function(){return Je},bn:function(){return ft},bx:function(){return Tn},g2:function(){return bn},h1:function(){return Xe},hD:function(){return Ri},l4:function(){return vt},rU:function(){return we},s_:function(){return tn},uz:function(){return Ge},z6:function(){return ct}}),Rn=ye.hmd(Rn),function(){var Ce;function hi(a){var y=0;return function(){return yx&&(x=Math.max(0,E+x)),(b==null||b>E)&&(b=E),b=Number(b),0>b&&(b=Math.max(0,E+b)),x=Number(x||0);x=a.length?a.push(x):a.splice(y,0,x):Et("Cannot insert an object into an HTMLCollection or NodeList: "+x+" at "+y)}function vi(a,y){Array.isArray(a)?y>=a.length?a.pop():a.splice(y,1):Et("Cannot remove an object from an HTMLCollection or NodeList at "+y)}function ti(){var a=Sr.pop();return a===void 0?[]:a}function xi(a){a.length=0,Sr.push(a)}function Ni(a){if(typeof a=="function"){if(a.className)return a.className;if(a.name)return a.name;var y=a.toString();if(y=y.substring(9,y.indexOf("(")).trim(),y!=="")return a._className=y}else if(zt(a)&&a.constructor)return Ni(a.constructor);return typeof a}function Zi(a){var y=a;return zt(a)&&(a.text?y=a.text:a.name?y=a.name:a.key!==void 0?y=a.key:a.id!==void 0?y=a.id:a.constructor===Object&&(a.Text?y=a.Text:a.Name?y=a.Name:a.Key!==void 0?y=a.Key:a.Id!==void 0?y=a.Id:a.ID!==void 0&&(y=a.ID))),y===void 0?"undefined":y===null?"null":y.toString()}function cr(a,y){if(a.hasOwnProperty(y))return!0;for(a=Object.getPrototypeOf(a);a&&a!==Function;){if(a.hasOwnProperty(y))return!0;var x=a.CA;if(x&&x[y])return!0;a=Object.getPrototypeOf(a)}return!1}function Gn(a,y,x){Object.defineProperty(ni.prototype,a,{get:y,set:x})}function Ai(a){for(var y=[],x=0;256>x;x++)y["0123456789abcdef".charAt(x>>4)+"0123456789abcdef".charAt(x&15)]=String.fromCharCode(x);a.length%2&&(a="0"+a),x=[];for(var b=0,E=0;Ex;x++)y[x]=x;for(x=b=0;256>x;x++)b=(b+y[x]+119)%256,E=y[x],y[x]=y[b],y[b]=E;b=x=0;for(var z="",ee=0;ee-1||z.indexOf("\xA9 1998-2021 Northwoods Software")>-1||z.indexOf("Not for distribution or production use")>-1||z.indexOf("gojs.net")>-1?"":z}var br=Ye.navigator!==void 0&&0this.key)return!1;a=a.s;var y=a.length,x=++this.Za,b=this.qf;if(b!==null)for(;xthis.key)return!1;var y=--this.Za;return 0<=y?(this.key=y,this.value=a.s[y],!0):(this.de(),!1)},er.prototype.Ad=function(){return this.next()},er.prototype.first=function(){var a=this.Bb;this.qa=a.Ja;var y=a.s;return this.Za=a=y.length-1,0<=a?(y=y[a],this.key=a,this.value=y):null},er.prototype.any=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(a(y[x]))return!0;return!1},er.prototype.all=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(!a(y[x]))return!1;return!0},er.prototype.each=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)a(y[x]);return this},er.prototype.map=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--)x.push(a(y[b]));return a=new kn,a.s=x,a.xb(),a.iterator},er.prototype.filter=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--){var E=y[b];a(E)&&x.push(E)}return a=new kn,a.s=x,a.xb(),a.iterator},er.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},er.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},tt.Object.defineProperties(er.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),er.prototype.first=er.prototype.first,er.prototype.hasNext=er.prototype.Ad,er.prototype.next=er.prototype.next,er.prototype.reset=er.prototype.reset,er.className="ListIteratorBackwards";function kn(a){pr(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof a=="string"&&Et("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ce=kn.prototype,Ce.xb=function(){var a=this.Ja;a++,999999999a||a>=y.length)&&Qn(a,"0 <= i < length",kn,"elt:i"),y[a]},Ce.get=function(a){return this.M(a)},Ce.cd=function(a,y){var x=this.s;(0>a||a>=x.length)&&Qn(a,"0 <= i < length",kn,"setElt:i"),this._isFrozen&&xn(this,a),x[a]=y},Ce.set=function(a,y){this.cd(a,y)},Ce.first=function(){var a=this.s;return a.length===0?null:a[0]},Ce.jc=function(){var a=this.s,y=a.length;return 0a&&Qn(a,">= 0",kn,"insertAt:i"),this._isFrozen&&xn(this,a);var x=this.s;a>=x.length?x.push(y):x.splice(a,0,y),this.xb()},Ce.remove=function(a){if(a===null)return!1;this._isFrozen&&xn(this,a);var y=this.s;return a=y.indexOf(a),a===-1?!1:(a===y.length-1?y.pop():y.splice(a,1),this.xb(),!0)},Ce.delete=function(a){return this.remove(a)},Ce.mb=function(a){var y=this.s;(0>a||a>=y.length)&&Qn(a,"0 <= i < length",kn,"removeAt:i"),this._isFrozen&&xn(this,a),a===y.length-1?y.pop():y.splice(a,1),this.xb()},Ce.removeRange=function(a,y){var x=this.s,b=x.length;if(0>a)a=0;else if(a>=b)return this;if(0>y)return this;if(y>=b&&(y=b-1),a>y)return this;this._isFrozen&&xn(this);for(var E=a,z=y+1;z=z)return this;if((0>y||y>=E-1)&&Qn(y,"0 <= from < length",kn,"sortRange:from"),z===2)return x=b[y],E=b[y+1],0=E)b.sort(a);else for(y=b.slice(0,x),y.sort(a),a=0;a=E)for(x=b.slice(y),x.sort(a),a=y;a=this.s.length)return Nr;var a=this.Sa;return a!==null?(a.reset(),a):new Qi(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return Nr;var a=this.Hg;return a!==null?(a.reset(),a):new er(this)}}}),kn.prototype.reverse=kn.prototype.reverse,kn.prototype.sortRange=kn.prototype.zi,kn.prototype.sort=kn.prototype.sort,kn.prototype.toSet=kn.prototype.Iv,kn.prototype.toArray=kn.prototype.Fa,kn.prototype.removeRange=kn.prototype.removeRange,kn.prototype.removeAt=kn.prototype.mb,kn.prototype.delete=kn.prototype.delete,kn.prototype.remove=kn.prototype.remove,kn.prototype.insertAt=kn.prototype.Gb,kn.prototype.pop=kn.prototype.pop,kn.prototype.last=kn.prototype.jc,kn.prototype.first=kn.prototype.first,kn.prototype.set=kn.prototype.set,kn.prototype.setElt=kn.prototype.cd,kn.prototype.get=kn.prototype.get,kn.prototype.elt=kn.prototype.M,kn.prototype.indexOf=kn.prototype.indexOf,kn.prototype.has=kn.prototype.has,kn.prototype.contains=kn.prototype.contains,kn.prototype.clear=kn.prototype.clear,kn.prototype.addAll=kn.prototype.addAll,kn.prototype.push=kn.prototype.push,kn.prototype.add=kn.prototype.add,kn.prototype.thaw=kn.prototype.ka,kn.prototype.freeze=kn.prototype.freeze,kn.className="List";function Dr(a){this.eg=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Dr.prototype.reset=function(){var a=this.eg;a.Sa=null,this.qa=a.Ja,this.sa=null},Dr.prototype.next=function(){var a=this.eg;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},Dr.prototype.Ad=function(){return this.next()},Dr.prototype.first=function(){var a=this.eg;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},Dr.prototype.any=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},Dr.prototype.all=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},Dr.prototype.each=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},Dr.prototype.map=function(a){var y=this.eg;y.Sa=null;var x=new kn;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},Dr.prototype.filter=function(a){var y=this.eg;y.Sa=null;var x=new kn;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},Dr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},Dr.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},tt.Object.defineProperties(Dr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),Dr.prototype.first=Dr.prototype.first,Dr.prototype.hasNext=Dr.prototype.Ad,Dr.prototype.next=Dr.prototype.next,Dr.prototype.reset=Dr.prototype.reset,Dr.className="SetIterator";function Ln(a){pr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Et("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ce=Ln.prototype,Ce.xb=function(){var a=this.Ja;a++,999999999=this.Sb)return Nr;var a=this.Sa;return a!==null?(a.reset(),a):new Dr(this)}}}),Ln.prototype.toList=Ln.prototype.Hv,Ln.prototype.toArray=Ln.prototype.Fa,Ln.prototype.clear=Ln.prototype.clear,Ln.prototype.retainAll=Ln.prototype.pA,Ln.prototype.removeAll=Ln.prototype.hp,Ln.prototype.delete=Ln.prototype.delete,Ln.prototype.remove=Ln.prototype.remove,Ln.prototype.first=Ln.prototype.first,Ln.prototype.containsAny=Ln.prototype.Ty,Ln.prototype.containsAll=Ln.prototype.Sy,Ln.prototype.has=Ln.prototype.has,Ln.prototype.contains=Ln.prototype.contains,Ln.prototype.addAll=Ln.prototype.addAll,Ln.prototype.add=Ln.prototype.add,Ln.prototype.thaw=Ln.prototype.ka,Ln.prototype.freeze=Ln.prototype.freeze;var Ho=1;Ln.className="Set",Ln.uniqueHash=pr,Ln.hashIdUnique=Qr,Ln.hashId=vr;function co(a){this.ma=a,this.qa=a.Ja,this.sa=null}co.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},co.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=this.key=a=y.key,!0):(this.de(),!1)},co.prototype.Ad=function(){return this.next()},co.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.value=this.key=a=a.key):null},co.prototype.any=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},co.prototype.all=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},co.prototype.each=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;)a(y.key),y=y.va;return this},co.prototype.map=function(a){var y=this.ma;this.sa=null;var x=new kn;for(y=y.ea;y!==null;)x.add(a(y.key)),y=y.va;return x.iterator},co.prototype.filter=function(a){var y=this.ma;this.sa=null;var x=new kn;for(y=y.ea;y!==null;){var b=y.key;a(b)&&x.add(b),y=y.va}return x.iterator},co.prototype.de=function(){this.value=this.key=null,this.qa=-1},co.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},tt.Object.defineProperties(co.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),co.prototype.first=co.prototype.first,co.prototype.hasNext=co.prototype.Ad,co.prototype.next=co.prototype.next,co.prototype.reset=co.prototype.reset,co.className="MapKeySetIterator";function mr(a){Ln.call(this),pr(this),this._isFrozen=!0,this.ma=a}bt(mr,Ln),Ce=mr.prototype,Ce.freeze=function(){return this},Ce.ka=function(){return this},Ce.toString=function(){return"MapKeySet("+this.ma.toString()+")"},Ce.add=function(){Et("This Set is read-only: "+this.toString())},Ce.contains=function(a){return this.ma.contains(a)},Ce.has=function(a){return this.contains(a)},Ce.remove=function(){Et("This Set is read-only: "+this.toString())},Ce.delete=function(a){return this.remove(a)},Ce.clear=function(){Et("This Set is read-only: "+this.toString())},Ce.first=function(){var a=this.ma.ea;return a!==null?a.key:null},mr.prototype.any=function(a){for(var y=this.ma.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},mr.prototype.all=function(a){for(var y=this.ma.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},mr.prototype.each=function(a){for(var y=this.ma.ea;y!==null;)a(y.key),y=y.va;return this},mr.prototype.map=function(a){for(var y=new Ln,x=this.ma.ea;x!==null;)y.add(a(x.key)),x=x.va;return y},mr.prototype.filter=function(a){for(var y=new Ln,x=this.ma.ea;x!==null;){var b=x.key;a(b)&&y.add(b),x=x.va}return y},mr.prototype.copy=function(){return new mr(this.ma)},mr.prototype.Iv=function(){var a=new Ln,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},mr.prototype.Fa=function(){var a=this.ma.Tb,y=Array(this.ma.Sb),x=0,b;for(b in a)y[x]=a[b].key,x++;return y},mr.prototype.Hv=function(){var a=new kn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},tt.Object.defineProperties(mr.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?Nr:new co(this.ma)}}}),mr.prototype.toList=mr.prototype.Hv,mr.prototype.toArray=mr.prototype.Fa,mr.prototype.toSet=mr.prototype.Iv,mr.prototype.first=mr.prototype.first,mr.prototype.clear=mr.prototype.clear,mr.prototype.delete=mr.prototype.delete,mr.prototype.remove=mr.prototype.remove,mr.prototype.has=mr.prototype.has,mr.prototype.contains=mr.prototype.contains,mr.prototype.add=mr.prototype.add,mr.prototype.thaw=mr.prototype.ka,mr.prototype.freeze=mr.prototype.freeze,mr.className="MapKeySet";function hr(a){this.ma=a,a.jf=null,this.qa=a.Ja,this.sa=null}hr.prototype.reset=function(){var a=this.ma;a.jf=null,this.qa=a.Ja,this.sa=null},hr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},hr.prototype.Ad=function(){return this.next()},hr.prototype.first=function(){var a=this.ma;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},hr.prototype.any=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},hr.prototype.all=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},hr.prototype.each=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},hr.prototype.map=function(a){var y=this.ma;this.sa=y.jf=null;var x=new kn;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},hr.prototype.filter=function(a){var y=this.ma;this.sa=y.jf=null;var x=new kn;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},hr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},hr.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},tt.Object.defineProperties(hr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),hr.prototype.first=hr.prototype.first,hr.prototype.hasNext=hr.prototype.Ad,hr.prototype.next=hr.prototype.next,hr.prototype.reset=hr.prototype.reset,hr.className="MapValueSetIterator";function fr(a,y){this.key=a,this.value=y,this.ll=this.va=null}fr.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},fr.className="KeyValuePair";function Vr(a){this.ma=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Vr.prototype.reset=function(){var a=this.ma;a.Sa=null,this.qa=a.Ja,this.sa=null},Vr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.key=y.key,this.value=y.value,!0):(this.de(),!1)},Vr.prototype.Ad=function(){return this.next()},Vr.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.key=a.key,this.value=a.value,a):null},Vr.prototype.any=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},Vr.prototype.all=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},Vr.prototype.each=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y),y=y.va;return this},Vr.prototype.map=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new kn;for(y=y.ea;y!==null;)x.add(a(y)),y=y.va;return x.iterator},Vr.prototype.filter=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new kn;for(y=y.ea;y!==null;)a(y)&&x.add(y),y=y.va;return x.iterator},Vr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},Vr.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},tt.Object.defineProperties(Vr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Vr.prototype.first=Vr.prototype.first,Vr.prototype.hasNext=Vr.prototype.Ad,Vr.prototype.next=Vr.prototype.next,Vr.prototype.reset=Vr.prototype.reset,Vr.className="MapIterator";function Ii(a){pr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Et("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ce=Ii.prototype,Ce.xb=function(){var a=this.Ja;a++,999999999=this.count)return Nr;var a=this.Sa;return a!==null?(a.reset(),a):new Vr(this)}},iteratorKeys:{get:function(){return 0>=this.count?Nr:new co(this)}},iteratorValues:{get:function(){if(0>=this.count)return Nr;var a=this.jf;return a!==null?(a.reset(),a):new hr(this)}}}),Ii.prototype.toKeySet=Ii.prototype.Lf,Ii.prototype.toArray=Ii.prototype.Fa,Ii.prototype.clear=Ii.prototype.clear,Ii.prototype.delete=Ii.prototype.delete,Ii.prototype.remove=Ii.prototype.remove,Ii.prototype.get=Ii.prototype.get,Ii.prototype.getValue=Ii.prototype.I,Ii.prototype.has=Ii.prototype.has,Ii.prototype.contains=Ii.prototype.contains,Ii.prototype.first=Ii.prototype.first,Ii.prototype.addAll=Ii.prototype.addAll,Ii.prototype.set=Ii.prototype.set,Ii.prototype.add=Ii.prototype.add,Ii.prototype.thaw=Ii.prototype.ka,Ii.prototype.freeze=Ii.prototype.freeze,Ii.className="Map";function Qe(a,y){a===void 0?this.y=this.x=0:typeof a=="number"&&typeof y=="number"?(this.x=a,this.y=y):Et("Invalid arguments to Point constructor: "+a+", "+y),this._isFrozen=!1}var pt,It,sn,Hn,On;Qe.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this},Qe.prototype.h=function(a,y){return this.x=a,this.y=y,this},Qe.prototype.sg=function(a,y){return this.x=a,this.y=y,this},Qe.prototype.set=function(a){return this.x=a.x,this.y=a.y,this},Qe.prototype.copy=function(){var a=new Qe;return a.x=this.x,a.y=this.y,a},Ce=Qe.prototype,Ce.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ce.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ce.freeze=function(){return this._isFrozen=!0,this},Ce.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function Wt(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new Qe(x,E)}return new Qe}function Nn(a){return a.x.toString()+" "+a.y.toString()}Ce.toString=function(){return"Point("+this.x+","+this.y+")"},Ce.D=function(a){return a instanceof Qe?this.x===a.x&&this.y===a.y:!1},Ce.hi=function(a,y){return this.x===a&&this.y===y},Ce.Xa=function(a){return Kt.B(this.x,a.x)&&Kt.B(this.y,a.y)},Ce.add=function(a){return this.x+=a.x,this.y+=a.y,this},Ce.re=function(a){return this.x-=a.x,this.y-=a.y,this},Ce.offset=function(a,y){return this.x+=a,this.y+=y,this},Qe.prototype.rotate=function(a){if(a===0)return this;var y=this.x,x=this.y;if(y===0&&x===0)return this;if(360<=a?a-=360:0>a&&(a+=360),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));return this.x=a*y-b*x,this.y=b*y+a*x,this},Ce=Qe.prototype,Ce.scale=function(a,y){return this.x*=a,this.y*=y,this},Ce.Bf=function(a){var y=a.x-this.x;return a=a.y-this.y,y*y+a*a},Ce.zd=function(a,y){return a-=this.x,y-=this.y,a*a+y*y},Ce.normalize=function(){var a=this.x,y=this.y,x=Math.sqrt(a*a+y*y);return 0y?270:0;if(y===0)return 0a?x=0>y?x+180:180-x:0>y&&(x=360-x),x}Ce.Ry=function(a,y){return Kt.Fl(a.x,a.y,y.x,y.y,this.x,this.y)},Ce.fA=function(a,y,x,b){return Kt.qh(a,y,x,b,this.x,this.y,this),this},Ce.gA=function(a,y){return Kt.qh(a.x,a.y,y.x,y.y,this.x,this.y,this),this},Ce.uA=function(a,y,x,b){return Kt.No(this.x,this.y,a,y,x,b,this),this},Ce.vA=function(a,y){return Kt.No(this.x,this.y,a.x,a.y,y.width,y.height,this),this},Ce.xi=function(a,y){return this.x=a.x+y.x*a.width+y.offsetX,this.y=a.y+y.y*a.height+y.offsetY,this},Ce.yi=function(a,y,x,b,E){return this.x=a+E.x*x+E.offsetX,this.y=y+E.y*b+E.offsetY,this},Ce.transform=function(a){return a.Ga(this),this};function qn(a,y){return y.Cd(a),a}function Oi(a,y,x,b,E,z){var ee=E-x,re=z-b,oe=ee*ee+re*re;x-=a,b-=y;var le=-x*ee-b*re;return 0>=le||le>=oe?(ee=E-a,re=z-y,Math.min(x*x+b*b,ee*ee+re*re)):(a=ee*b-re*x,a*a/oe)}function Bi(a,y,x,b){return a=x-a,y=b-y,a*a+y*y}function pi(a,y,x,b){return a=x-a,y=b-y,a===0?0y?270:0:y===0?0a?b=0>y?b+180:180-b:0>y&&(b=360-b),b)}Ce.w=function(){return isFinite(this.x)&&isFinite(this.y)},Qe.alloc=function(){var a=Gi.pop();return a===void 0?new Qe:a},Qe.allocAt=function(a,y){var x=Gi.pop();return x===void 0?new Qe(a,y):(x.x=a,x.y=y,x)},Qe.free=function(a){Gi.push(a)},Qe.prototype.isReal=Qe.prototype.w,Qe.prototype.setSpot=Qe.prototype.yi,Qe.prototype.setRectSpot=Qe.prototype.xi,Qe.prototype.snapToGridPoint=Qe.prototype.vA,Qe.prototype.snapToGrid=Qe.prototype.uA,Qe.prototype.projectOntoLineSegmentPoint=Qe.prototype.gA,Qe.prototype.projectOntoLineSegment=Qe.prototype.fA,Qe.intersectingLineSegments=function(a,y,x,b,E,z,ee,re){return Kt.Rl(a,y,x,b,E,z,ee,re)},Qe.prototype.compareWithLineSegmentPoint=Qe.prototype.Ry,Qe.compareWithLineSegment=function(a,y,x,b,E,z){return Kt.Fl(a,y,x,b,E,z)},Qe.prototype.direction=Qe.prototype.direction,Qe.prototype.directionPoint=Qe.prototype.ab,Qe.prototype.normalize=Qe.prototype.normalize,Qe.prototype.distanceSquared=Qe.prototype.zd,Qe.prototype.distanceSquaredPoint=Qe.prototype.Bf,Qe.prototype.scale=Qe.prototype.scale,Qe.prototype.rotate=Qe.prototype.rotate,Qe.prototype.offset=Qe.prototype.offset,Qe.prototype.subtract=Qe.prototype.re,Qe.prototype.add=Qe.prototype.add,Qe.prototype.equalsApprox=Qe.prototype.Xa,Qe.prototype.equalTo=Qe.prototype.hi,Qe.prototype.equals=Qe.prototype.D,Qe.prototype.set=Qe.prototype.set,Qe.prototype.setTo=Qe.prototype.sg;var Gi=[];Qe.className="Point",Qe.parse=Wt,Qe.stringify=Nn,Qe.distanceLineSegmentSquared=Oi,Qe.distanceSquared=Bi,Qe.direction=pi,Qe.Origin=pt=new Qe(0,0).ja(),Qe.InfiniteTopLeft=It=new Qe(-1/0,-1/0).ja(),Qe.InfiniteBottomRight=sn=new Qe(1/0,1/0).ja(),Qe.SixPoint=Hn=new Qe(6,6).ja(),Qe.NoPoint=On=new Qe(NaN,NaN).ja(),Qe.parse=Wt,Qe.stringify=Nn,Qe.distanceLineSegmentSquared=Oi,Qe.distanceSquared=Bi,Qe.direction=pi;function zn(a,y){a===void 0?this.height=this.width=0:typeof a=="number"&&(0<=a||isNaN(a))&&typeof y=="number"&&(0<=y||isNaN(y))?(this.width=a,this.height=y):Et("Invalid arguments to Size constructor: "+a+", "+y),this._isFrozen=!1}var _r,Gr,Ao,qr,$r,to,$o;zn.prototype.assign=function(a){return this.width=a.width,this.height=a.height,this},zn.prototype.h=function(a,y){return this.width=a,this.height=y,this},zn.prototype.sg=function(a,y){return this.width=a,this.height=y,this},zn.prototype.set=function(a){return this.width=a.width,this.height=a.height,this},zn.prototype.copy=function(){var a=new zn;return a.width=this.width,a.height=this.height,a},Ce=zn.prototype,Ce.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ce.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ce.freeze=function(){return this._isFrozen=!0,this},Ce.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function Qo(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new zn(x,E)}return new zn}function pa(a){return a.width.toString()+" "+a.height.toString()}Ce.toString=function(){return"Size("+this.width+","+this.height+")"},Ce.D=function(a){return a instanceof zn?this.width===a.width&&this.height===a.height:!1},Ce.hi=function(a,y){return this.width===a&&this.height===y},Ce.Xa=function(a){return Kt.B(this.width,a.width)&&Kt.B(this.height,a.height)},Ce.Bc=function(a,y){return a=this.width+a,this.width=0<=a?a:0,y=this.height+y,this.height=0<=y?y:0,this},Ce.w=function(){return isFinite(this.width)&&isFinite(this.height)},zn.alloc=function(){var a=qo.pop();return a===void 0?new zn:a},zn.free=function(a){qo.push(a)},zn.prototype.isReal=zn.prototype.w,zn.prototype.inflate=zn.prototype.Bc,zn.prototype.equalsApprox=zn.prototype.Xa,zn.prototype.equalTo=zn.prototype.hi,zn.prototype.equals=zn.prototype.D,zn.prototype.set=zn.prototype.set,zn.prototype.setTo=zn.prototype.sg;var qo=[];zn.className="Size",zn.parse=Qo,zn.stringify=pa,zn.ZeroSize=_r=new zn(0,0).ja(),zn.OneSize=Gr=new zn(1,1).ja(),zn.SixSize=Ao=new zn(6,6).ja(),zn.EightSize=qr=new zn(8,8).ja(),zn.TenSize=$r=new zn(10,10).ja(),zn.InfiniteSize=to=new zn(1/0,1/0).ja(),zn.NoSize=$o=new zn(NaN,NaN).ja(),zn.parse=Qo,zn.stringify=pa;function Cn(a,y,x,b){a===void 0?this.height=this.width=this.y=this.x=0:typeof a=="number"&&typeof y=="number"&&typeof x=="number"&&(0<=x||isNaN(x))&&typeof b=="number"&&(0<=b||isNaN(b))?(this.x=a,this.y=y,this.width=x,this.height=b):a instanceof Qe?(x=a.x,a=a.y,y instanceof Qe?(b=y.x,y=y.y,this.x=Math.min(x,b),this.y=Math.min(a,y),this.width=Math.abs(x-b),this.height=Math.abs(a-y)):y instanceof zn?(this.x=x,this.y=a,this.width=y.width,this.height=y.height):Et("Incorrect second argument supplied to Rect constructor "+y)):Et("Invalid arguments to Rect constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}Ce=Cn.prototype,Ce.assign=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ce.h=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this};function ca(a,y,x){a.width=y,a.height=x}Ce.sg=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this},Ce.set=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ce.dd=function(a){return this.x=a.x,this.y=a.y,this},Ce.tA=function(a){return this.width=a.width,this.height=a.height,this},Cn.prototype.copy=function(){var a=new Cn;return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},Ce=Cn.prototype,Ce.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ce.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ce.freeze=function(){return this._isFrozen=!0,this},Ce.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function es(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;(b=a[y++])&&(E=parseFloat(b));for(var z=0;a[y]==="";)y++;(b=a[y++])&&(z=parseFloat(b));for(var ee=0;a[y]==="";)y++;return(b=a[y++])&&(ee=parseFloat(b)),new Cn(x,E,z,ee)}return new Cn}function ts(a){return a.x.toString()+" "+a.y.toString()+" "+a.width.toString()+" "+a.height.toString()}Ce.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},Ce.D=function(a){return a instanceof Cn?this.x===a.x&&this.y===a.y&&this.width===a.width&&this.height===a.height:!1},Ce.hi=function(a,y,x,b){return this.x===a&&this.y===y&&this.width===x&&this.height===b},Ce.Xa=function(a){return Kt.B(this.x,a.x)&&Kt.B(this.y,a.y)&&Kt.B(this.width,a.width)&&Kt.B(this.height,a.height)};function Ga(a,y){return Kt.$(a.x,y.x)&&Kt.$(a.y,y.y)&&Kt.$(a.width,y.width)&&Kt.$(a.height,y.height)}Ce.ca=function(a){return this.x<=a.x&&this.x+this.width>=a.x&&this.y<=a.y&&this.y+this.height>=a.y},Ce.Re=function(a){return this.x<=a.x&&a.x+a.width<=this.x+this.width&&this.y<=a.y&&a.y+a.height<=this.y+this.height},Ce.contains=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),this.x<=a&&a+x<=this.x+this.width&&this.y<=y&&y+b<=this.y+this.height},Ce.offset=function(a,y){return this.x+=a,this.y+=y,this},Ce.Bc=function(a,y){return Ds(this,y,a,y,a)},Ce.Co=function(a){return Ds(this,a.top,a.right,a.bottom,a.left)},Ce.Fv=function(a){return Ds(this,-a.top,-a.right,-a.bottom,-a.left)},Ce.Hz=function(a,y,x,b){return Ds(this,a,y,x,b)};function Ds(a,y,x,b,E){var z=a.width;return x+E<=-z?(a.x+=z/2,a.width=0):(a.x-=E,a.width+=x+E),x=a.height,y+b<=-x?(a.y+=x/2,a.height=0):(a.y-=y,a.height+=y+b),a}Ce.Ex=function(a){return pl(this,a.x,a.y,a.width,a.height)},Ce.Uu=function(a,y,x,b){return pl(this,a,y,x,b)};function pl(a,y,x,b,E){var z=Math.max(a.x,y),ee=Math.max(a.y,x);return y=Math.min(a.x+a.width,y+b),x=Math.min(a.y+a.height,x+E),a.x=z,a.y=ee,a.width=Math.max(0,y-z),a.height=Math.max(0,x-ee),a}Ce.Yc=function(a){return this.Vu(a.x,a.y,a.width,a.height)},Ce.Vu=function(a,y,x,b){var E=this.width,z=this.x;return E!==1/0&&x!==1/0&&(E+=z,x+=a,isNaN(x)||isNaN(E)||z>x||a>E)?!1:(a=this.height,x=this.y,!(a!==1/0&&b!==1/0&&(a+=x,b+=y,isNaN(b)||isNaN(a)||x>b||y>a)))};function ma(a,y){var x=a.width,b=a.x,E=y.x-10;return b>y.width+10+10+E||E>x+b?!1:(x=a.height,a=a.y,b=y.y-10,!(a>y.height+10+10+b||b>x+a))}Ce.Ye=function(a){return Fo(this,a.x,a.y,0,0)},Ce.ed=function(a){return Fo(this,a.x,a.y,a.width,a.height)},Ce.Kv=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),Fo(this,a,y,x,b)};function Fo(a,y,x,b,E){var z=Math.min(a.x,y),ee=Math.min(a.y,x);return y=Math.max(a.x+a.width,y+b),x=Math.max(a.y+a.height,x+E),a.x=z,a.y=ee,a.width=y-z,a.height=x-ee,a}Ce.yi=function(a,y,x){return this.x=a-x.offsetX-x.x*this.width,this.y=y-x.offsetY-x.y*this.height,this};function Oo(a,y,x,b,E,z,ee,re){return ee===void 0&&(ee=0),re===void 0&&(re=0),a<=E&&E+ee<=a+x&&y<=z&&z+re<=y+b}function Pa(a,y,x,b,E,z,ee,re){return a>ee+E||E>x+a?!1:!(y>re+z||z>b+y)}Ce.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},Ce.Mz=function(){return this.width===0&&this.height===0},Cn.alloc=function(){var a=oo.pop();return a===void 0?new Cn:a},Cn.allocAt=function(a,y,x,b){var E=oo.pop();return E===void 0?new Cn(a,y,x,b):E.h(a,y,x,b)},Cn.free=function(a){oo.push(a)},tt.Object.defineProperties(Cn.prototype,{left:{get:function(){return this.x},set:function(a){this.x=a}},top:{get:function(){return this.y},set:function(a){this.y=a}},right:{get:function(){return this.x+this.width},set:function(a){this.x+=a-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(a){this.y+=a-(this.y+this.height)}},position:{get:function(){return new Qe(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}},size:{get:function(){return new zn(this.width,this.height)},set:function(a){this.width=a.width,this.height=a.height}},center:{get:function(){return new Qe(this.x+this.width/2,this.y+this.height/2)},set:function(a){this.x=a.x-this.width/2,this.y=a.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(a){this.x=a-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(a){this.y=a-this.height/2}}}),Cn.prototype.isEmpty=Cn.prototype.Mz,Cn.prototype.isReal=Cn.prototype.w,Cn.intersectsLineSegment=function(a,y,x,b,E,z,ee,re){return Kt.Fx(a,y,x,b,E,z,ee,re)},Cn.prototype.setSpot=Cn.prototype.yi,Cn.prototype.union=Cn.prototype.Kv,Cn.prototype.unionRect=Cn.prototype.ed,Cn.prototype.unionPoint=Cn.prototype.Ye,Cn.prototype.intersects=Cn.prototype.Vu,Cn.prototype.intersectsRect=Cn.prototype.Yc,Cn.prototype.intersect=Cn.prototype.Uu,Cn.prototype.intersectRect=Cn.prototype.Ex,Cn.prototype.grow=Cn.prototype.Hz,Cn.prototype.subtractMargin=Cn.prototype.Fv,Cn.prototype.addMargin=Cn.prototype.Co,Cn.prototype.inflate=Cn.prototype.Bc,Cn.prototype.offset=Cn.prototype.offset,Cn.prototype.contains=Cn.prototype.contains,Cn.prototype.containsRect=Cn.prototype.Re,Cn.prototype.containsPoint=Cn.prototype.ca,Cn.prototype.equalsApprox=Cn.prototype.Xa,Cn.prototype.equalTo=Cn.prototype.hi,Cn.prototype.equals=Cn.prototype.D,Cn.prototype.setSize=Cn.prototype.tA,Cn.prototype.setPoint=Cn.prototype.dd,Cn.prototype.set=Cn.prototype.set,Cn.prototype.setTo=Cn.prototype.sg;var no=null,ko=null,oo=[];Cn.className="Rect",Cn.parse=es,Cn.stringify=ts,Cn.contains=Oo,Cn.intersects=Pa,Cn.ZeroRect=no=new Cn(0,0,0,0).ja(),Cn.NoRect=ko=new Cn(NaN,NaN,NaN,NaN).ja(),Cn.parse=es,Cn.stringify=ts,Cn.contains=Oo,Cn.intersects=Pa;function Vi(a,y,x,b){a===void 0?this.left=this.bottom=this.right=this.top=0:y===void 0?this.left=this.bottom=this.right=this.top=a:x===void 0?(this.top=a,this.right=y,this.bottom=a,this.left=y):b!==void 0?(this.top=a,this.right=y,this.bottom=x,this.left=b):Et("Invalid arguments to Margin constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}Vi.prototype.assign=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Vi.prototype.sg=function(a,y,x,b){return this.top=a,this.right=y,this.bottom=x,this.left=b,this},Vi.prototype.set=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Vi.prototype.copy=function(){var a=new Vi;return a.top=this.top,a.right=this.right,a.bottom=this.bottom,a.left=this.left,a},Ce=Vi.prototype,Ce.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ce.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ce.freeze=function(){return this._isFrozen=!0,this},Ce.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function ha(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=NaN;a[y]==="";)y++;var b=a[y++];if(b&&(x=parseFloat(b)),isNaN(x))return new Vi;for(var E=NaN;a[y]==="";)y++;if((b=a[y++])&&(E=parseFloat(b)),isNaN(E))return new Vi(x);for(var z=NaN;a[y]==="";)y++;if((b=a[y++])&&(z=parseFloat(b)),isNaN(z))return new Vi(x,E);for(var ee=NaN;a[y]==="";)y++;return(b=a[y++])&&(ee=parseFloat(b)),isNaN(ee)?new Vi(x,E):new Vi(x,E,z,ee)}return new Vi}function Na(a){return a.top.toString()+" "+a.right.toString()+" "+a.bottom.toString()+" "+a.left.toString()}Ce.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},Ce.D=function(a){return a instanceof Vi?this.top===a.top&&this.right===a.right&&this.bottom===a.bottom&&this.left===a.left:!1},Ce.hi=function(a,y,x,b){return this.top===a&&this.right===y&&this.bottom===x&&this.left===b},Ce.Xa=function(a){return Kt.B(this.top,a.top)&&Kt.B(this.right,a.right)&&Kt.B(this.bottom,a.bottom)&&Kt.B(this.left,a.left)},Ce.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},Vi.alloc=function(){var a=nl.pop();return a===void 0?new Vi:a},Vi.free=function(a){nl.push(a)},Vi.prototype.isReal=Vi.prototype.w,Vi.prototype.equalsApprox=Vi.prototype.Xa,Vi.prototype.equalTo=Vi.prototype.hi,Vi.prototype.equals=Vi.prototype.D,Vi.prototype.set=Vi.prototype.set,Vi.prototype.setTo=Vi.prototype.sg;var Bs=null,ys=null,nl=[];Vi.className="Margin",Vi.parse=ha,Vi.stringify=Na,Vi.ZeroMargin=Bs=new Vi(0,0,0,0).ja(),Vi.TwoMargin=ys=new Vi(2,2,2,2).ja(),Vi.parse=ha,Vi.stringify=Na;function Yi(a,y,x,b){a===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(y===void 0&&(y=0),x===void 0&&(x=0),b===void 0&&(b=0),this.x=a,this.y=y,this.offsetX=x,this.offsetY=b),this._isFrozen=!1}var Da,ga,Is,ml,Gl,So,Au,il,kl,vl,fu,yl,rl,Sl,oc,Sc,xc,Qc,gu,zl,xl,Tl,pu,wc,mu,Xo,va,dl,Cs,Ss,os,hs,Ls,xs,Ks,Ts;Yi.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},Yi.prototype.sg=function(a,y,x,b){return this.x=a,this.y=y,this.offsetX=x,this.offsetY=b,this},Yi.prototype.set=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},Yi.prototype.copy=function(){var a=new Yi;return a.x=this.x,a.y=this.y,a.offsetX=this.offsetX,a.offsetY=this.offsetY,a},Ce=Yi.prototype,Ce.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ce.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ce.freeze=function(){return this._isFrozen=!0,this},Ce.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function Fa(a,y){return a.x=NaN,a.y=NaN,a.offsetX=y,a}function Hu(a){if(typeof a=="string"){if(a=a.trim(),a==="None")return Da;if(a==="TopLeft")return ga;if(a==="Top"||a==="TopCenter"||a==="MiddleTop")return Is;if(a==="TopRight")return ml;if(a==="Left"||a==="LeftCenter"||a==="MiddleLeft")return Gl;if(a==="Center")return So;if(a==="Right"||a==="RightCenter"||a==="MiddleRight")return Au;if(a==="BottomLeft")return il;if(a==="Bottom"||a==="BottomCenter"||a==="MiddleBottom")return kl;if(a==="BottomRight")return vl;if(a==="TopSide")return fu;if(a==="LeftSide")return yl;if(a==="RightSide")return rl;if(a==="BottomSide")return Sl;if(a==="TopBottomSides")return oc;if(a==="LeftRightSides")return Sc;if(a==="TopLeftSides")return xc;if(a==="TopRightSides")return Qc;if(a==="BottomLeftSides")return gu;if(a==="BottomRightSides")return zl;if(a==="NotTopSide")return xl;if(a==="NotLeftSide")return Tl;if(a==="NotRightSide")return pu;if(a==="NotBottomSide")return wc;if(a==="AllSides")return mu;if(a==="Default")return Xo;a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b!==void 0&&0a&&(a+=360),a===0)return this;if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.m12*a+this.m22*b,z=this.m11*-b+this.m21*a,ee=this.m12*-b+this.m22*a;return this.m11=this.m11*a+this.m21*b,this.m12=E,this.m21=z,this.m22=ee,this.translate(-y,-x),this},Ce=Rr.prototype,Ce.translate=function(a,y){return this.dx+=this.m11*a+this.m21*y,this.dy+=this.m12*a+this.m22*y,this},Ce.scale=function(a,y){return y===void 0&&(y=a),this.m11*=a,this.m12*=a,this.m21*=y,this.m22*=y,this},Ce.Ga=function(a){var y=a.x,x=a.y;return a.h(y*this.m11+x*this.m21+this.dx,y*this.m12+x*this.m22+this.dy)},Ce.Cd=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=a.x,b=a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ce.Eu=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=1.25*a.x,b=1.2*a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ce.pp=function(a){var y=a.x,x=a.y,b=y+a.width,E=x+a.height,z=this.m11,ee=this.m12,re=this.m21,oe=this.m22,le=this.dx,ue=this.dy,fe=y*z+x*re+le,xe=y*ee+x*oe+ue,Ee=b*z+x*re+le,Ae=b*ee+x*oe+ue;return x=y*z+E*re+le,y=y*ee+E*oe+ue,z=b*z+E*re+le,b=b*ee+E*oe+ue,E=Math.min(fe,Ee),fe=Math.max(fe,Ee),Ee=Math.min(xe,Ae),xe=Math.max(xe,Ae),E=Math.min(E,x),fe=Math.max(fe,x),Ee=Math.min(Ee,y),xe=Math.max(xe,y),E=Math.min(E,z),fe=Math.max(fe,z),Ee=Math.min(Ee,b),xe=Math.max(xe,b),a.h(E,Ee,fe-E,xe-Ee),a},Rr.alloc=function(){var a=Lu.pop();return a===void 0?new Rr:a},Rr.free=function(a){Lu.push(a)},Rr.prototype.transformRect=Rr.prototype.pp,Rr.prototype.transformPoint=Rr.prototype.Ga,Rr.prototype.scale=Rr.prototype.scale,Rr.prototype.translate=Rr.prototype.translate,Rr.prototype.rotate=Rr.prototype.rotate,Rr.prototype.invert=Rr.prototype.Vj,Rr.prototype.multiplyInverted=Rr.prototype.bv,Rr.prototype.multiply=Rr.prototype.multiply,Rr.prototype.reset=Rr.prototype.reset,Rr.prototype.isIdentity=Rr.prototype.ws,Rr.prototype.equals=Rr.prototype.D,Rr.prototype.setTransform=Rr.prototype.setTransform,Rr.prototype.set=Rr.prototype.set;var Lu=[];Rr.className="Transform",Rr.xF="54a702f3e53909c447824c6706603faf4c";var Kt={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(a){if(0>=a)return 0;var y=Kt.Uv;if(y===null){y=[];for(var x=0;2e3>=x;x++)y[x]=Math.sqrt(x);Kt.Uv=y}return 1>a?(x=1/a,2e3>=x?1/y[x|0]:Math.sqrt(a)):2e3>=a?y[a|0]:Math.sqrt(a)},B:function(a,y){return a-=y,.5>a&&-.5a&&-5e-8=E&&(E=1e-6),aue-le)if(a-x>E||x-a>E){if(z=(b-y)/(x-a)*(z-a)+y,z-E<=ee&&ee<=z+E)return!0}else return!0;else if(y-b>E||b-y>E){if(ee=(x-a)/(b-y)*(ee-y)+a,ee-E<=z&&z<=ee+E)return!0}else return!0;return!1},cs:function(a,y,x,b,E,z,ee,re,oe,le,ue,fe){if(Kt.Yb(a,y,ee,re,fe,x,b)&&Kt.Yb(a,y,ee,re,fe,E,z))return Kt.Yb(a,y,ee,re,fe,le,ue);var xe=(a+x)/2,Ee=(y+b)/2,Ae=(x+E)/2,Te=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(xe+Ae)/2,x=(Ee+Te)/2,Ae=(Ae+E)/2,Te=(Te+z)/2;var ot=(b+Ae)/2,Ue=(x+Te)/2;return Kt.cs(a,y,xe,Ee,b,x,ot,Ue,oe,le,ue,fe)||Kt.cs(ot,Ue,Ae,Te,E,z,ee,re,oe,le,ue,fe)},ax:function(a,y,x,b,E,z,ee,re,oe){var le=(x+E)/2,ue=(b+z)/2;return oe.h((((a+x)/2+le)/2+(le+(E+ee)/2)/2)/2,(((y+b)/2+ue)/2+(ue+(z+re)/2)/2)/2),oe},My:function(a,y,x,b,E,z,ee,re){var oe=(x+E)/2,le=(b+z)/2;return pi(((a+x)/2+oe)/2,((y+b)/2+le)/2,(oe+(E+ee)/2)/2,(le+(z+re)/2)/2)},Dl:function(a,y,x,b,E,z,ee,re,oe,le){if(Kt.Yb(a,y,ee,re,oe,x,b)&&Kt.Yb(a,y,ee,re,oe,E,z))Fo(le,a,y,0,0),Fo(le,ee,re,0,0);else{var ue=(a+x)/2,fe=(y+b)/2,xe=(x+E)/2,Ee=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(ue+xe)/2,x=(fe+Ee)/2,xe=(xe+E)/2,Ee=(Ee+z)/2;var Ae=(b+xe)/2,Te=(x+Ee)/2;Kt.Dl(a,y,ue,fe,b,x,Ae,Te,oe,le),Kt.Dl(Ae,Te,xe,Ee,E,z,ee,re,oe,le)}return le},Qe:function(a,y,x,b,E,z,ee,re,oe,le){if(Kt.Yb(a,y,ee,re,oe,x,b)&&Kt.Yb(a,y,ee,re,oe,E,z))le.length===0&&(le.push(a),le.push(y)),le.push(ee),le.push(re);else{var ue=(a+x)/2,fe=(y+b)/2,xe=(x+E)/2,Ee=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(ue+xe)/2,x=(fe+Ee)/2,xe=(xe+E)/2,Ee=(Ee+z)/2;var Ae=(b+xe)/2,Te=(x+Ee)/2;Kt.Qe(a,y,ue,fe,b,x,Ae,Te,oe,le),Kt.Qe(Ae,Te,xe,Ee,E,z,ee,re,oe,le)}return le},jv:function(a,y,x,b,E,z,ee,re,oe,le){if(Kt.Yb(a,y,E,z,le,x,b))return Kt.Yb(a,y,E,z,le,re,oe);var ue=(a+x)/2,fe=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var xe=(ue+x)/2,Ee=(fe+b)/2;return Kt.jv(a,y,ue,fe,xe,Ee,ee,re,oe,le)||Kt.jv(xe,Ee,x,b,E,z,ee,re,oe,le)},OA:function(a,y,x,b,E,z,ee){return ee.h(((a+x)/2+(x+E)/2)/2,((y+b)/2+(b+z)/2)/2),ee},iv:function(a,y,x,b,E,z,ee,re){if(Kt.Yb(a,y,E,z,ee,x,b))Fo(re,a,y,0,0),Fo(re,E,z,0,0);else{var oe=(a+x)/2,le=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var ue=(oe+x)/2,fe=(le+b)/2;Kt.iv(a,y,oe,le,ue,fe,ee,re),Kt.iv(ue,fe,x,b,E,z,ee,re)}return re},ep:function(a,y,x,b,E,z,ee,re){if(Kt.Yb(a,y,E,z,ee,x,b))re.length===0&&(re.push(a),re.push(y)),re.push(E),re.push(z);else{var oe=(a+x)/2,le=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var ue=(oe+x)/2,fe=(le+b)/2;Kt.ep(a,y,oe,le,ue,fe,ee,re),Kt.ep(ue,fe,x,b,E,z,ee,re)}return re},Eo:function(a,y,x,b,E,z,ee,re,oe,le,ue,fe,xe,Ee){if(Kt.Yb(a,y,ee,re,xe,x,b)&&Kt.Yb(a,y,ee,re,xe,E,z))return!Kt.Rl(a,y,ee,re,oe,le,ue,fe)||(xe=(a-ee)*(le-fe)-(y-re)*(oe-ue),xe===0)?!1:(Ee.h(((a*re-y*ee)*(oe-ue)-(a-ee)*(oe*fe-le*ue))/xe,((a*re-y*ee)*(le-fe)-(y-re)*(oe*fe-le*ue))/xe),!0);var Ae=(a+x)/2,Te=(y+b)/2,ot=(x+E)/2,Ue=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(Ae+ot)/2,x=(Te+Ue)/2,ot=(ot+E)/2,Ue=(Ue+z)/2;var St=(b+ot)/2,Ct=(x+Ue)/2,Ft=1/0,jt=!1,yn=0,Fi=0;return Kt.Eo(a,y,Ae,Te,b,x,St,Ct,oe,le,ue,fe,xe,Ee)&&(a=(Ee.x-oe)*(Ee.x-oe)+(Ee.y-le)*(Ee.y-le),a=ue)return Ee;if((oe>ue?oe-ue:ue-oe)<(le>fe?le-fe:fe-le)){if(ya)return Ee}else if(aa)return Ee;0xe&&Ee--}else{Ae=(a+x)/2,Te=(y+b)/2;var ot=(x+E)/2,Ue=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(Ae+ot)/2,x=(Te+Ue)/2,ot=(ot+E)/2,Ue=(Ue+z)/2;var St=(b+ot)/2,Ct=(x+Ue)/2;Ee+=Kt.Fo(a,y,Ae,Te,b,x,St,Ct,oe,le,ue,fe,xe),Ee+=Kt.Fo(St,Ct,ot,Ue,E,z,ee,re,oe,le,ue,fe,xe)}return Ee},qh:function(a,y,x,b,E,z,ee){return Kt.$(a,x)?(yy?(ee.h(a,y),!1):(ee.h(a,z),!0)):Kt.$(y,b)?(aa?(ee.h(a,y),!1):(ee.h(E,y),!0)):(E=((a-E)*(a-x)+(y-z)*(y-b))/((x-a)*(x-a)+(b-y)*(b-y)),-5e-6>E?(ee.h(a,y),!1):1.000005y?(oe.h(a,y),!1):(oe.h(a,x),!0)):(ee=(b-y)/(x-a),Kt.$(re,ee)?(Kt.qh(a,y,x,b,E,z,oe),!1):(E=(ee*a-re*E+z-y)/(ee-re),Kt.$(ee,0)?(aa?(oe.h(a,y),!1):(oe.h(E,y),!0)):Kt.qh(a,y,x,b,E,ee*(E-a)+y,oe))))},MA:function(a,y,x,b,E){return Kt.Ve(x.x,x.y,b.x,b.y,a.x,a.y,y.x,y.y,E)},KA:function(a,y,x,b,E,z,ee,re,oe,le){function ue(ot,Ue){var St=(ot-a)*(ot-a)+(Ue-y)*(Ue-y);St(x>a?x-a:a-x)){if(xe=1-(x-E)*(x-E)/(xe*xe),0>xe)return oe;xe=Math.sqrt(xe),b=-le*xe+z,ue(x,le*xe+z),ue(x,b)}else{if(x=(b-y)/(x-a),b=1/(xe*xe)+x*x/(le*le),re=2*x*(y-x*a)/(le*le)-2*x*z/(le*le)-2*E/(xe*xe),xe=re*re-4*b*(2*x*a*z/(le*le)-2*y*z/(le*le)+z*z/(le*le)+E*E/(xe*xe)-1+(y-x*a)*(y-x*a)/(le*le)),0>xe)return oe;xe=Math.sqrt(xe),le=(-re+xe)/(2*b),ue(le,x*le-x*a+y),xe=(-re-xe)/(2*b),ue(xe,x*xe-x*a+y)}return oe},Ff:function(a,y,x,b,E,z,ee,re,oe){var le=1e21,ue=a,fe=y;if(Kt.Ve(a,y,a,b,E,z,ee,re,oe)){var xe=(oe.x-E)*(oe.x-E)+(oe.y-z)*(oe.y-z);xele},us:function(a,y,x){return Kt.Fx(a.x,a.y,a.width,a.height,y.x,y.y,x.x,x.y)},Fx:function(a,y,x,b,E,z,ee,re){var oe=a+x,le=y+b;return E===ee?(z=y):z===re?(E=a):!!(Oo(a,y,x,b,E,z)||Oo(a,y,x,b,ee,re)||Kt.Rl(a,y,oe,y,E,z,ee,re)||Kt.Rl(oe,y,oe,le,E,z,ee,re)||Kt.Rl(oe,le,a,le,E,z,ee,re)||Kt.Rl(a,le,a,y,E,z,ee,re))},Rl:function(a,y,x,b,E,z,ee,re){return a===x&&y===b&&E===ee&&z===re?a===E&&y===z:0>=Kt.Fl(a,y,x,b,E,z)*Kt.Fl(a,y,x,b,ee,re)&&0>=Kt.Fl(E,z,ee,re,a,y)*Kt.Fl(E,z,ee,re,x,b)},Fl:function(a,y,x,b,E,z){return x-=a,b-=y,a=E-a,y=z-y,z=a*b-y*x,z===0&&(z=a*x+y*b,0z&&(z=0))),z},bp:function(a){return 0>a&&(a+=360),360<=a&&(a-=360),a},jx:function(a,y,x,b,E,z){var ee=Math.PI;z||(b*=ee/180,E*=ee/180);var re=b>E?-1:1;z=[];var oe=ee/2,le=b;if(b=Math.min(2*ee,Math.abs(E-b)),1e-5>b)return oe=le+re*Math.min(b,oe),re=a+x*Math.cos(le),le=y+x*Math.sin(le),a+=x*Math.cos(oe),y+=x*Math.sin(oe),x=(re+a)/2,oe=(le+y)/2,z.push([re,le,x,oe,x,oe,a,y]),z;for(;1e-5x,z=0>b;if(ale&&(y=.5*(re+oe),!(y===re||y===oe));++le){var ue=a/(y+E),fe=ee/(y+z);if(ue=ue*ue+fe*fe-1,0ue)oe=y;else break}x=E*x/(y+E)-x,b=z*b/(y+z)-b,x=Math.sqrt(x*x+b*b)}else x=Math.abs(b-y);else b=a*a-y*y,z=a*x,za?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a)+"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);case di.u:var y=new Cn(this.startX,this.startY,0,0);return y.Kv(this.endX,this.endY,0,0),0>a?"M"+y.x.toString()+" "+y.y.toString()+"H"+y.right.toString()+"V"+y.bottom.toString()+"H"+y.left.toString()+"z":"M"+y.x.toFixed(a)+" "+y.y.toFixed(a)+"H"+y.right.toFixed(a)+"V"+y.bottom.toFixed(a)+"H"+y.left.toFixed(a)+"z";case di.F:if(y=new Cn(this.startX,this.startY,0,0),y.Kv(this.endX,this.endY,0,0),0>a)return a=y.left.toString()+" "+(y.y+y.height/2).toString(),"M"+a+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+(y.right.toString()+" "+(y.y+y.height/2).toString())+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+a;var x=y.left.toFixed(a)+" "+(y.y+y.height/2).toFixed(a);return"M"+x+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+(y.right.toFixed(a)+" "+(y.y+y.height/2).toFixed(a))+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+x;case di.o:y="",x=this.figures.s;for(var b=x.length,E=0;E=Ft-1?!0:le[Te+1].match(jt)!==null}function b(){return Te++,le[Te]}function E(Ur){var Ir=parseFloat(b()),Jo=parseFloat(b());ot===ot.toLowerCase()&&(Ir=Ct.x+Ir,Jo=Ct.y+Jo),Ur.h(Ir,Jo)}function z(){return E(Ct),Ct}function ee(){return E(St),St}function re(){var Ur=Ue.toLowerCase();return Ur!=="c"&&Ur!=="s"&&Ur!=="q"&&Ur!=="t"?Ct:new Qe(2*Ct.x-St.x,2*Ct.y-St.y)}y===void 0&&(y=!1);var oe=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;a=a.replace(/,/gm," "),a=a.replace(oe,"$1 $2"),a=a.replace(oe,"$1 $2"),a=a.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),a=a.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),a=a.replace(/([0-9])([+\-])/gm,"$1 $2"),a=a.replace(/[\s\r\t\n]+/gm," "),a=a.replace(/^\s+|\s+$/g,"");var le=a.split(" ");for(a=0;a=Ft-1);)if(Ue=ot,ot=b(),ot!=="")switch(ot.toUpperCase()){case"X":Ee=!0,fe=ue=!1;break;case"M":for(Ae=z(),a.mc===null||Ee===!0?(Ig(a,Ae.x,Ae.y,ue,!fe,xe),Ee=!1):a.moveTo(Ae.x,Ae.y),oe.assign(Ct);!x();)Ae=z(),a.lineTo(Ae.x,Ae.y);break;case"L":for(;!x();)Ae=z(),a.lineTo(Ae.x,Ae.y);break;case"H":for(;!x();)Ct=new Qe((ot===ot.toLowerCase()?Ct.x:0)+parseFloat(b()),Ct.y),a.lineTo(Ct.x,Ct.y);break;case"V":for(;!x();)Ct=new Qe(Ct.x,(ot===ot.toLowerCase()?Ct.y:0)+parseFloat(b())),a.lineTo(Ct.x,Ct.y);break;case"C":for(;!x();){Ae=new Qe,E(Ae);var yn=ee(),Fi=z();wh(a,Ae.x,Ae.y,yn.x,yn.y,Fi.x,Fi.y)}break;case"S":for(;!x();)Ae=re(),yn=ee(),Fi=z(),wh(a,Ae.x,Ae.y,yn.x,yn.y,Fi.x,Fi.y);break;case"Q":for(;!x();)Ae=ee(),yn=z(),Vm(a,Ae.x,Ae.y,yn.x,yn.y);break;case"T":for(;!x();)St=Ae=re(),yn=z(),Vm(a,Ae.x,Ae.y,yn.x,yn.y);break;case"B":for(;!x();){Ae=parseFloat(b()),yn=parseFloat(b()),Fi=parseFloat(b());var Xi=parseFloat(b()),ji=parseFloat(b()),fi=ji,_n=!1;x()||(fi=parseFloat(b()),x()||(_n=parseFloat(b())!==0)),ot===ot.toLowerCase()&&(Fi+=Ct.x,Xi+=Ct.y),a.arcTo(Ae,yn,Fi,Xi,ji,fi,_n)}break;case"A":for(;!x();)Ae=Math.abs(parseFloat(b())),yn=Math.abs(parseFloat(b())),Fi=parseFloat(b()),ji=Xi=!1,_n=fi=0,fi=b(),fi.length===1?(Xi=!!parseFloat(fi),ji=!!parseFloat(b()),fi=parseFloat(b())):fi.length===2?(Xi=!!parseFloat(fi[0]),ji=!!parseFloat(fi[1]),fi=parseFloat(b())):(Xi=!!parseFloat(fi[0]),ji=!!parseFloat(fi[1]),fi=parseFloat(fi.slice(2))),_n=parseFloat(b()),ot===ot.toLowerCase()&&(fi=Ct.x+fi,_n=Ct.y+_n),Ct.h(fi,_n),Nx(a,Ae,yn,Fi,Xi,ji,fi,_n);break;case"Z":kx(a),Ct.assign(oe);break;case"F":for(Ae="",yn=1;le[Te+yn];)if(le[Te+yn]==="0")xe=!0,yn++;else if(le[Te+yn].match(/[Uu]/)!==null)yn++;else if(le[Te+yn].match(jt)===null)yn++;else{Ae=le[Te+yn];break}Ae.match(/[Mm]/)?ue=!0:0ee&&(ee+=360),Ae.startAngle+=ee),0>a&&(Ae.startAngle=180-Ae.startAngle,Ae.sweepAngle=-Ae.sweepAngle),0>b&&(Ae.startAngle=-Ae.startAngle,Ae.sweepAngle=-Ae.sweepAngle),Ae.radiusX*=Math.sqrt(a*a+x*x),Ae.radiusY!==void 0&&(Ae.radiusY*=Math.sqrt(y*y+b*b));break;case st:if(ee=Ae.endX,re=Ae.endY,Ae.endX=ee*a+re*x+E,Ae.endY=ee*y+re*b+z,Ae.radiusX===0||Ae.radiusY===0)break;y!==0&&(ee=180*Math.atan2(y,a)/Math.PI,0>ee&&(ee+=360),Ae.xAxisRotation+=ee),0>a&&(Ae.xAxisRotation=180-Ae.xAxisRotation,Ae.isClockwiseArc=!Ae.isClockwiseArc),0>b&&(Ae.xAxisRotation=-Ae.xAxisRotation,Ae.isClockwiseArc=!Ae.isClockwiseArc),Ae.radiusX*=Math.sqrt(a*a+x*x),Ae.radiusY*=Math.sqrt(y*y+b*b);break;default:Et("Unknown Segment type: "+Ae.type)}}}}return this._isInvalidBounds=!0,this},Ce.ca=function(a,y){y===void 0&&(y=0);var x=this.od,b=this.pd,E=this.Dc,z=this.Ec;switch(this.type){case di.j:return Kt.Yb(x,b,E,z,y,a.x,a.y);case di.u:var ee=Cn.allocAt(Math.min(x,E)-y,Math.min(b,z)-y,Math.abs(E-x)+2*y,Math.abs(z-b)+2*y);return a=ee.ca(a),Cn.free(ee),a;case di.F:ee=Math.min(x,E)-y;var re=Math.min(b,z)-y;return x=(Math.abs(E-x)+2*y)/2,y=(Math.abs(z-b)+2*y)/2,0>=x||0>=y?!1:(ee=a.x-(ee+x),re=a.y-(re+y),1>=ee*ee/(x*x)+re*re/(y*y));case di.o:return _l(this,a,y,!0,!1);default:return!1}};function _l(a,y,x,b,E){var z=y.x;y=y.y;for(var ee=a.bounds.x-20,re=0,oe,le,ue,fe,xe=a.figures.s,Ee=xe.length,Ae=0;Ae=a)return 0;if((E>ee?E-ee:ee-E)<(z>re?z-re:re-z)){if(zre)return 0}else if(yz)return 0}else if(Eee)return 0}else if(leE)return 0;return 0a?a=0:1=z)return b=z-ee,b=ue===0?0:b/ue,x=x[re],re=x[2*a],E=x[2*a+1],y.h(re+(x[2*a+2]-re)*b,E+(x[2*a+3]-E)*b),y;ee+=ue}}return y},Ce.wx=function(a){if(0>a?a=0:1=E)return E=y[ee],y=E[2*a],x=E[2*a+1],b=E[2*a+2],a=E[2*a+3],1>Math.abs(b-y)&&1>Math.abs(a-x)?0:1>Math.abs(b-y)?0<=a-x?90:270:1>Math.abs(a-x)?0<=b-y?0:180:180*Math.atan2(a-x,b-y)/Math.PI;z+=le}}return NaN},Ce.Qu=function(a,y){if(0>a?a=0:1=z)return b=z-ee,b=ue===0?0:b/ue,ue=x[re],x=ue[2*a],re=ue[2*a+1],E=ue[2*a+2],a=ue[2*a+3],y[0]=x+(E-x)*b,y[1]=re+(a-re)*b,y[2]=1>Math.abs(E-x)&&1>Math.abs(a-re)?0:1>Math.abs(E-x)?0<=a-re?90:270:1>Math.abs(a-re)?0<=E-x?0:180:180*Math.atan2(a-re,E-x)/Math.PI,y;ee+=ue}}return y},Ce.xx=function(a){if(this.type===di.j){var y=this.startX,x=this.startY,b=this.endX,E=this.endY;if(y!==b||x!==E){var z=a.x;if(a=a.y,y===b){if(x=b?b===x?0:1:Math.abs(a-x)/(b-ee)}if(x===E)return y=b?b===y?0:1:Math.abs(z-y)/(b-ee);ee=(b-y)*(b-y)+(E-x)*(E-x);var re=Qe.alloc();return Kt.qh(y,x,b,E,z,a,re),a=re.x,z=re.y,Qe.free(re),Math.sqrt(((a-y)*(a-y)+(z-x)*(z-x))/ee)}}else if(this.type===di.u){ee=this.startX,re=this.startY;var oe=this.endX;if(E=this.endY,ee!==oe||re!==E){y=oe-ee,x=E-re,z=2*y+2*x,b=a.x,a=a.y,b=Math.min(Math.max(b,ee),oe),a=Math.min(Math.max(a,re),E),ee=Math.abs(b-ee),oe=Math.abs(b-oe),re=Math.abs(a-re),E=Math.abs(a-E);var le=Math.min(ee,oe,re,E);if(le===re)return b/z;if(le===oe)return(y+a)/z;if(le===E)return(2*y+x-b)/z;if(le===ee)return(2*y+2*x-a)/z}}else{y=this.flattenedSegments,x=this.flattenedLengths,z=this.flattenedTotalLength,b=Qe.alloc(),E=1/0,re=ee=0,oe=y.length;for(var ue=le=0,fe=0;fea?0:1a?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a),x=this.segments.s,b=x.length,E=0;Ea&&(a+=360),this.Ne=a,this.Vh=0,this.Wh=Math.max(b,0),this.Pg=Math.max(E,0),typeof ee=="boolean"?ee&&(this.isLargeArc=!0):typeof ee=="number"&&ee&&(this.isLargeArc=!0),re&&(this.isClockwiseArc=!0)):(this.Ne=b,this.Vh=E,a===$e&&(z=Math.max(z,0)),this.Wh=z,typeof ee=="number"?(a===$e&&(ee=Math.max(ee,0)),this.Pg=ee):this.Pg=0),this.ae=null}Io.prototype.copy=function(){var a=new Io;return a.na=this.na,a.l=this.l&-2,a.Dc=this.Dc,a.Ec=this.Ec,a.Ne=this.Ne,a.Vh=this.Vh,a.Wh=this.Wh,a.Pg=this.Pg,a},Ce=Io.prototype,Ce.Xa=function(a){if(!(a instanceof Io)||this.type!==a.type||this.isClosed!==a.isClosed)return!1;switch(this.type){case ws:case ya:return Kt.B(this.endX,a.endX)&&Kt.B(this.endY,a.endY);case ol:return Kt.B(this.endX,a.endX)&&Kt.B(this.endY,a.endY)&&Kt.B(this.point1X,a.point1X)&&Kt.B(this.point1Y,a.point1Y)&&Kt.B(this.point2X,a.point2X)&&Kt.B(this.point2Y,a.point2Y);case je:return Kt.B(this.endX,a.endX)&&Kt.B(this.endY,a.endY)&&Kt.B(this.point1X,a.point1X)&&Kt.B(this.point1Y,a.point1Y);case $e:return Kt.B(this.startAngle,a.startAngle)&&Kt.B(this.sweepAngle,a.sweepAngle)&&Kt.B(this.centerX,a.centerX)&&Kt.B(this.centerY,a.centerY)&&Kt.B(this.radiusX,a.radiusX)&&Kt.B(this.radiusY,a.radiusY);case st:return this.isClockwiseArc===a.isClockwiseArc&&this.isLargeArc===a.isLargeArc&&Kt.B(this.xAxisRotation,a.xAxisRotation)&&Kt.B(this.endX,a.endX)&&Kt.B(this.endY,a.endY)&&Kt.B(this.radiusX,a.radiusX)&&Kt.B(this.radiusY,a.radiusY);default:return!1}},Ce.qb=function(a){a.classType===Io&&(this.type=a)},Ce.toString=function(a){switch(a===void 0&&(a=-1),this.type){case ws:a=0>a?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ya:a=0>a?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ol:a=0>a?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.point2X.toFixed(a)+" "+this.point2Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case je:a=0>a?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case $e:a=0>a?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(a)+" "+this.sweepAngle.toFixed(a)+" "+this.centerX.toFixed(a)+" "+this.centerY.toFixed(a)+" "+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a);break;case st:a=0>a?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a)+" "+this.xAxisRotation.toFixed(a)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;default:a=this.type.toString()}return a+(this.isClosed?"z":"")},Ce.freeze=function(){return this._isFrozen=!0,this},Ce.ka=function(){return this._isFrozen=!1,this},Ce.close=function(){return this.isClosed=!0,this};function wl(a,y){if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;var x=a.radiusX,b=a.radiusY;if(b===void 0&&(b=x),x===0||b===0)return a.ae=[],a.ae;y=a.Ne;var E=a.Vh,z=Kt.jx(0,0,x=Ee?ee=Math.PI:1<=Ee&&(ee=0),!oe&&0ee&&(ee+=2*Math.PI),oe=y>z?1:y/z,Ee=y>z?z/y:1,y=Kt.jx(0,0,y>z?y:z,ue,ue+ee,!0),z=Rr.alloc(),z.reset(),z.translate(x,b),z.rotate(a.Ne,0,0),z.scale(oe,Ee),di.Ha(y,z),Rr.free(z),a.ae=y,a.ae}tt.Object.defineProperties(Io.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(a){this.isClosed!==a&&(this.l=a?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(a){this._isFrozen&&xn(this,a),this.na=a,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(a){this._isFrozen&&xn(this,a),this.Dc=a,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(a){this._isFrozen&&xn(this,a),this.Ec=a,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(a){this._isFrozen&&xn(this,a),this.Ne=a,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(a){this._isFrozen&&xn(this,a),this.Vh=a,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(a){this._isFrozen&&xn(this,a),this.Wh=a,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(a){this._isFrozen&&xn(this,a),this.Pg=a,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(a){this._isFrozen&&xn(this,a),this.Ne=a,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(a){this._isFrozen&&xn(this,a),this.Vh=a,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(a){0>a&&Qn(a,">= zero",Io,"radiusX"),this._isFrozen&&xn(this,a),this.Wh=a,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(a){0>a&&Qn(a,">= zero",Io,"radiusY"),this._isFrozen&&xn(this,a),this.Pg=a,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(a){this._isFrozen&&xn(this,a),a%=360,0>a&&(a+=360),this.Dc=a,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(a){this._isFrozen&&xn(this,a),360a&&(a=-360),this.Ec=a,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&xn(this,a),this.l=a?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&xn(this,a),this.l=a?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(a){this._isFrozen&&xn(this,a),a%=360,0>a&&(a+=360),this.Ne=a,this._isInvalidBounds=!0}}}),Io.prototype.equalsApprox=Io.prototype.Xa;var ws=new Xt(Io,"Move",0),ya=new Xt(Io,"Line",1),ol=new Xt(Io,"Bezier",2),je=new Xt(Io,"QuadraticBezier",3),$e=new Xt(Io,"Arc",4),st=new Xt(Io,"SvgArc",4);Io.className="PathSegment",Io.Move=ws,Io.Line=ya,Io.Bezier=ol,Io.QuadraticBezier=je,Io.Arc=$e,Io.SvgArc=st;function nn(){this.H=null,this.xu=new Qe(0,0).freeze(),this.mt=new Qe(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}nn.prototype.copy=function(){var a=new nn;return this.clone(a)},nn.prototype.clone=function(a){return a.H=this.H,a.xu.assign(this.viewPoint),a.mt.assign(this.documentPoint),a.Rq=this.Rq,a.Bp=this.Bp,a.Cp=this.Cp,a.xq=this.xq,a.Tp=this.Tp,a.Wr=this.Wr,a.Ep=this.Ep,a.Rp=this.Rp,a.tq=this.tq,a.nq=this.nq,a.xg=this.xg,a.Zp=this.Zp,a.Rr=this.Rr,a.Nr=this.Nr,a.xd=this.xd,a},nn.prototype.toString=function(){var a="^";return this.modifiers!==0&&(a+="M:"+this.modifiers),this.button!==0&&(a+="B:"+this.button),this.key!==""&&(a+="K:"+this.key),this.clickCount!==0&&(a+="C:"+this.clickCount),this.delta!==0&&(a+="D:"+this.delta),this.handled&&(a+="h"),this.bubbles&&(a+="b"),this.documentPoint!==null&&(a+="@"+this.documentPoint.toString()),a},nn.prototype.So=function(a,y){var x=this.diagram;return x===null||Ud(x,a,y),y},nn.prototype.Bz=function(a,y){var x=this.diagram;return x===null||(Ud(x,a,y),y.assign(x.Ps(y))),y},tt.Object.defineProperties(nn.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},viewPoint:{get:function(){return this.xu},set:function(a){this.xu.assign(a)}},documentPoint:{get:function(){return this.mt},set:function(a){this.mt.assign(a)}},modifiers:{get:function(){return this.Rq},set:function(a){this.Rq=a}},button:{get:function(){return this.Bp},set:function(a){if(this.Bp=a,this.event===null)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(a){this.Cp=a}},key:{get:function(){return this.xq},set:function(a){this.xq=a}},down:{get:function(){return this.Tp},set:function(a){this.Tp=a}},up:{get:function(){return this.Wr},set:function(a){this.Wr=a}},clickCount:{get:function(){return this.Ep},set:function(a){this.Ep=a}},delta:{get:function(){return this.Rp},set:function(a){this.Rp=a}},isMultiTouch:{get:function(){return this.tq},set:function(a){this.tq=a}},handled:{get:function(){return this.nq},set:function(a){this.nq=a}},bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},event:{get:function(){return this.Zp},set:function(a){this.Zp=a}},isTouchEvent:{get:function(){var a=this.event;return a===null?!1:a.pointerType==="touch"||a.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(a){this.Rr=a}},targetDiagram:{get:function(){return this.Nr},set:function(a){this.Nr=a}},targetObject:{get:function(){return this.xd},set:function(a){this.xd=a}},control:{get:function(){return(this.modifiers&1)!==0},set:function(a){this.modifiers=a?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(a){this.modifiers=a?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(a){this.modifiers=a?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(a){this.modifiers=a?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(a){this.buttons=a?this.buttons|1:this.buttons&-2}},right:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(a){this.buttons=a?this.buttons|2:this.buttons&-3}},middle:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(a){this.buttons=a?this.buttons|4:this.buttons&-5}}}),nn.prototype.getMultiTouchDocumentPoint=nn.prototype.Bz,nn.prototype.getMultiTouchViewPoint=nn.prototype.So,nn.className="InputEvent";function hn(){this.H=null,this.xa="",this.ar=this.Lr=null}hn.prototype.copy=function(){var a=new hn;return a.H=this.H,a.xa=this.xa,a.Lr=this.Lr,a.ar=this.ar,a},hn.prototype.toString=function(){var a="*"+this.name;return this.subject!==null&&(a+=":"+this.subject.toString()),this.parameter!==null&&(a+="("+this.parameter.toString()+")"),a},tt.Object.defineProperties(hn.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},subject:{get:function(){return this.Lr},set:function(a){this.Lr=a}},parameter:{get:function(){return this.ar},set:function(a){this.ar=a}}}),hn.className="DiagramEvent";function In(){this.Fm=oi,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}In.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},In.prototype.copy=function(){var a=new In;a.Fm=this.Fm,a.Qq=this.Qq,a.rf=this.rf,a.cc=this.cc,a.H=this.H,a.Qn=this.Qn;var y=this.Sn;return a.Sn=zt(y)&&typeof y.J=="function"?y.J():y,y=this.Rn,a.Rn=zt(y)&&typeof y.J=="function"?y.J():y,y=this.Mn,a.Mn=zt(y)&&typeof y.J=="function"?y.J():y,y=this.Ln,a.Ln=zt(y)&&typeof y.J=="function"?y.J():y,a},In.prototype.qb=function(a){a.classType===In&&(this.change=a)},In.prototype.toString=function(){var a="";return a=this.change===Zn?a+"* ":this.change===oi?a+(this.model!==null?"!m":"!d"):a+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(a+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(a+=" "+this.modelChange),a+=": ",this.change===Zn?this.oldValue!==null&&(a+=" "+this.oldValue):(this.object!==null&&(a+=Zi(this.object)),this.oldValue!==null&&(a+=" old: "+Zi(this.oldValue)),this.oldParam!==null&&(a+=" "+this.oldParam),this.newValue!==null&&(a+=" new: "+Zi(this.newValue)),this.newParam!==null&&(a+=" "+this.newParam)),a},In.prototype.I=function(a){return a?this.oldValue:this.newValue},In.prototype.Dz=function(a){return a?this.oldParam:this.newParam},In.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},In.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},In.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},In.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},tt.Object.defineProperties(In.prototype,{model:{get:function(){return this.cc},set:function(a){this.cc=a}},diagram:{get:function(){return this.H},set:function(a){this.H=a}},change:{get:function(){return this.Fm},set:function(a){this.Fm=a}},modelChange:{get:function(){return this.Qq},set:function(a){this.Qq=a}},propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},isTransactionFinished:{get:function(){return this.Fm===Zn&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(a){this.Qn=a}},oldValue:{get:function(){return this.Sn},set:function(a){this.Sn=a}},oldParam:{get:function(){return this.Rn},set:function(a){this.Rn=a}},newValue:{get:function(){return this.Mn},set:function(a){this.Mn=a}},newParam:{get:function(){return this.Ln},set:function(a){this.Ln=a}}}),In.prototype.redo=In.prototype.redo,In.prototype.canRedo=In.prototype.canRedo,In.prototype.undo=In.prototype.undo,In.prototype.canUndo=In.prototype.canUndo,In.prototype.getParam=In.prototype.Dz,In.prototype.getValue=In.prototype.I,In.prototype.clear=In.prototype.clear;var Zn=new Xt(In,"Transaction",-1),oi=new Xt(In,"Property",0),ui=new Xt(In,"Insert",1),Mi=new Xt(In,"Remove",2);In.className="ChangedEvent",In.Transaction=Zn,In.Property=oi,In.Insert=ui,In.Remove=Mi;function sr(){this.o=new kn().freeze(),this.xa="",this.j=!1}sr.prototype.toString=function(a){var y="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(a!==void 0&&0y&&a.cd(y,b),y++);for(;a.length>y;)a.pop();a.freeze()}},tt.Object.defineProperties(sr.prototype,{changes:{get:function(){return this.o}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isComplete:{get:function(){return this.j},set:function(a){this.j=a}}}),sr.prototype.optimize=sr.prototype.ak,sr.prototype.redo=sr.prototype.redo,sr.prototype.canRedo=sr.prototype.canRedo,sr.prototype.undo=sr.prototype.undo,sr.prototype.canUndo=sr.prototype.canUndo,sr.prototype.clear=sr.prototype.clear,sr.className="Transaction";function Ei(){this.Pt=new Ln,this.Jd=!1,this.u=new kn().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new kn().freeze(),this.hl=new kn,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}Ei.prototype.toString=function(a){var y="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;y+="[";for(var x=this.nestedTransactionNames.count,b=0;ba.transactionLevel&&Un("Ending transaction without having started a transaction: "+x);var b=a.transactionLevel===1,E=a.currentTransaction;b&&y&&(a.isInternalTransaction||a.Ob("CommittingTransaction",x,E));var z=0;if(0=b&&(z=y.M(0),z!==null&&z.clear(),y.mb(0),a.Ce--)),b===0||y.count!==0&&y.get(y.count-1)===E||(y.add(E),a.Ce++),y.freeze()),a.isInternalTransaction||a.Ob("CommittedTransaction",x,E);else{a.Fe=!0;try{a.isEnabled&&E!==null&&(E.isComplete=!0,E.undo())}finally{a.isInternalTransaction||a.Ob("RolledBackTransaction",x,E),a.Fe=!1}E!==null&&E.clear()}return a.Np=null,a.isPendingClear&&a.clear(),a.isPendingClear=!1,a.isPendingUnmodified=!1,!0}if(a.isEnabled&&!y&&E!==null){for(a=z,x=E.changes,E=x.count-1;E>=a;E--)y=x.M(E),y!==null&&y.undo(),x.ka(),x.mb(E);x.freeze()}return!1}Ce.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var a=this.history;a.ka();for(var y=a.count-1;y>this.historyIndex;y--){var x=a.M(y);x!==null&&x.clear(),a.mb(y),this.rq=!0}a.freeze()}},Ei.prototype.canUndo=function(){if(!this.isEnabled||0=this.transactionLevel&&!this.tt&&(a=a.diagram,a!==null&&a.pi===!1||Un("Change not within a transaction: "+x.toString()))}},Ei.prototype.skipsEvent=function(a){if(a===null||0>a.change.value)return!0;if(a=a.object,a===null)return!1;if(a.layer!==void 0){if(a=a.layer,a!==null&&a.isTemporary)return!0}else if(a.isTemporary)return!0;return!1},tt.Object.defineProperties(Ei.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndexE||Math.abs(y.y-a.y)>b},tt.Object.defineProperties(bi.prototype,{diagram:{get:function(){return this.H},set:function(a){a instanceof pn&&(this.H=a)}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},isActive:{get:function(){return this.nb},set:function(a){this.nb=a}},transactionResult:{get:function(){return this.wm},set:function(a){this.wm=a}}}),bi.prototype.startTransaction=bi.prototype.Ea,bi.className="Tool";function ni(){bi.call(this),this.name="ToolManager",this.hb=new kn,this.ob=new kn,this.Hb=new kn,this.F=this.V=850,this.o=new zn(2,2).ja(),this.Ha=5e3,this.ia=wr,this.u=mo,this.Mp=this.j=null,this.zj=-1}bt(ni,bi),ni.prototype.initializeStandardTools=function(){},ni.prototype.updateAdornments=function(a){var y=this.currentToolTip;if(y instanceof Yo&&this.Mp===a){var x=y.adornedObject;(a!==null?x.part===a:x===null)?this.showToolTip(y,x):this.hideToolTip()}},ni.prototype.doMouseDown=function(){var a=this.diagram,y=a.lastInput;if(y.isTouchEvent&&this.gestureBehavior===vo&&(y.bubbles=!1),y.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===fo){y.bubbles=!0;return}if(this.gestureBehavior===vo)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomStart();return}}for(var x=this.mouseDownTools.length,b=0;bE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom?x.y-(b.height+5/y.scale):x.y+20/y.scale,x.yx.pointsCount)){var b=a.diagram;if(!b.isReadOnly){var E=a.Oe;if(E!==null){var z=null,ee=null;x.fromNode===null&&(z=Ja(a,x.i(0),!1),z!==null&&(ee=z.part));var re=null,oe=null;x.toNode===null&&(re=Ja(a,x.i(x.pointsCount-1),!0),re!==null&&(oe=re.part)),E.isValidLink(ee,z,oe,re)?y?(x.defaultFromPoint=x.i(0),x.defaultToPoint=x.i(x.pointsCount-1),x.suspendsRouting=!1,x.fromNode=ee,z!==null&&(x.fromPortId=z.portId),x.toNode=oe,re!==null&&(x.toPortId=re.portId),x.fromPort!==b.Mx&&b.R("LinkRelinked",x,b.Mx),x.toPort!==b.Nx&&b.R("LinkRelinked",x,b.Nx)):yr(E,ee,z,oe,re):yr(E,null,null,null,null)}}}}lr.prototype.doDragOver=function(){};function Rs(a,y){var x=a.diagram;a.dragsLink&&Oa(a,!0),Sa(a);var b=a.findDragOverObject(y),E=x.lastInput;if(E.targetObject=b,b!==null){E.handled=!1;for(var z=b;z!==null;){var ee=z.mouseDrop;if(ee!==null&&(ee(E,z),E.handled))break;hl(a,E,z),z=gs(z)}}else z=x.mouseDrop,z!==null&&z(E);if(a.isActive||en!==null){for(E=(a.copiedParts||a.draggedParts).iterator;E.next();)z=E.key,z instanceof Di&&z.linksConnected.each(function(re){re.suspendsRouting=!1});if(a.doDropOnto(y,b),a.isActive||en!==null){for(a=Cn.alloc(),y=x.selection.iterator;y.next();)b=y.value,b instanceof Di&&it(x,b,a);Cn.free(a)}}}function hl(a,y,x){a=a.diagram,x=x.part,!a.handlesDragDropForTopLevelParts||!x.isTopLevel||x instanceof Xr||(x=a.mouseDrop,x!==null&&x(y))}function it(a,y,x){var b=!1;if(x=y.getAvoidableRect(x),a.viewportBounds.Re(x)&&(b=!0),a=a.Nu(x,function(E){return E.part},function(E){return E instanceof gi},!0,function(E){return E instanceof gi},b),a.count!==0)for(a=a.iterator;a.next();)x=a.value,!x.Td(y)&&x.isAvoiding&&x.bb()}lr.prototype.doDropOnto=function(){},lr.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;this.simulatedMouseMove(y.event,y.documentPoint,y.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?(Ha(this,!1),fh(a,this.copiedParts),La(this,this.copiedParts,!1),_u(a,this.copiedParts)):this.mayMove()?(Ba(this),La(this,this.draggedParts,!0)):this.mayDragOut()?(Ha(this,!1),La(this,this.copiedParts,!1)):Ba(this),Ta(this,a.lastInput.documentPoint))}},lr.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;if(!this.simulatedMouseUp(y.event,y.documentPoint,y.targetDiagram)){y=!1;var x=this.mayCopy();if(x&&this.copiedParts!==null?(Ba(this),Ha(this,!0),fh(a,this.copiedParts),La(this,this.copiedParts,!1),_u(a,this.copiedParts),this.copiedParts!==null&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(E){E.isSelected=!0}))):(y=!0,Ba(this),this.mayMove()&&(La(this,this.draggedParts,!0),Ta(this,a.lastInput.documentPoint))),this.Ym=!0,Rs(this,a.lastInput.documentPoint),this.isActive){var b=x?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,y&&ut(this),a.Ya(),_u(a,this.draggedParts),this.transactionResult=x?"Copy":"Move",a.R(x?"SelectionCopied":"SelectionMoved",b)}this.stopTool(),x&&a.R("ChangedSelection",a.selection)}}},lr.prototype.simulatedMouseMove=function(a,y,x){if(en===null)return!1;var b=en.diagram;x instanceof pn||(x=null);var E=An;return x!==E&&(E!==null&&E!==b&&(E.ug(),en.isDragOutStarted=!1,E=E.toolManager.findTool("Dragging"),E!==null&&E.doSimulatedDragLeave()),An=x,x!==null&&x!==b&&(Ka(),E=x.toolManager.findTool("Dragging"),E!==null&&(aa.contains(E)||aa.add(E),E.doSimulatedDragEnter())),this.doUpdateCursor(null)),x===null||x===b||!x.allowDrop||x.isReadOnly||!x.allowInsert?!1:(b=x.toolManager.findTool("Dragging"),b!==null&&(a!==null&&(a.targetTouches!==void 0&&(0ee&&(ee=le),ue>re&&(re=ue))}}for(b===1/0?z.h(0,0,0,0):z.h(b,E,ee-b,re-E),b=z.x+z.width/2,E=z.y+z.height/2,Cn.free(z),z=a.Fr,ee=new Ii,re=Qe.alloc(),oe=y.iterator;oe.next();)le=oe.value,le instanceof gi&&le.canCopy()&&(ue=x.I(le),ue!==null&&(ue.points=le.points,bh(ue,z.x-b,z.y-E),ue.suspendsRouting=!0,ee.add(ue,a.Pd())));for(y=y.iterator;y.next();)le=y.value,le.Zc()&&le.canCopy()&&(oe=x.I(le),oe!==null&&(le=le.location,re.h(z.x-(b-le.x),z.y-(E-le.y)),oe.location=re,oe.Va(),ee.add(oe,a.Pd(re))));Qe.free(re),a.copiedParts=ee,ea(a,ee.Lf()),a.draggedLink!==null&&(x=a.draggedLink,y=x.routeBounds,bh(x,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}lr.prototype.doSimulatedDragOut=function(){var a=this.diagram;a.Ns=!1,this.mayCopy()||this.mayMove()?a.currentCursor="":a.currentCursor=this.nodropCursor,this.Bn=null},lr.prototype.computeMove=function(a,y,x,b){return x=this.diagram,x!==null?x.computeMove(a,y,this.dragOptions,b):new Qe},tt.Object.defineProperties(lr.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(a){this.ob=a}},copiesEffectiveCollection:{get:function(){return this.u},set:function(a){this.u=a}},dragOptions:{get:function(){return this.ia},set:function(a){this.ia=a}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(a){this.dragOptions.isGridSnapEnabled=a}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(a){this.hb=a}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(a){this.dragOptions.isGridSnapRealtime=a}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(a){this.dragOptions.gridSnapCellSize.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSize=a)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(a){this.dragOptions.gridSnapCellSpot.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSpot=a)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(a){this.dragOptions.gridSnapOrigin.D(a)||(a=a.J(),this.dragOptions.gridSnapOrigin=a)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(a){this.dragOptions.dragsLink=a}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(a){this.dragOptions.dragsTree=a}},copyCursor:{get:function(){return this.F},set:function(a){this.F=a}},moveCursor:{get:function(){return this.Oc},set:function(a){this.Oc=a}},nodropCursor:{get:function(){return this.Pc},set:function(a){this.Pc=a}},currentPart:{get:function(){return this.V},set:function(a){this.V=a}},copiedParts:{get:function(){return this.o},set:function(a){this.o=a}},draggedParts:{get:function(){return this.Ha},set:function(a){this.Ha=a}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(a){this.diagram.draggedLink=a}},isDragOutStarted:{get:function(){return this.Hb},set:function(a){this.Hb=a}},startPoint:{get:function(){return this.Fr},set:function(a){this.Fr.D(a)||this.Fr.assign(a)}},delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}}}),lr.prototype.getDraggingSource=lr.prototype.Az;var en=null,An=null;lr.className="DraggingTool",aa=new kn,Gn("draggingTool",function(){return this.findTool("Dragging")},function(a){this.gb("Dragging",a,this.mouseMoveTools)}),ni.prototype.doCancel=function(){en!==null&&en.doCancel(),bi.prototype.doCancel.call(this)};function gn(){bi.call(this),this.te=100,this.Ha=!1,this.u="pointer";var a=new gi,y=new ro;y.isPanelMain=!0,y.stroke="blue",a.add(y),y=new ro,y.toArrow="Standard",y.fill="blue",y.stroke="blue",a.add(y),a.layerName="Tool",this.Ci=a,a=new Di,y=new ro,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=Gr,a.add(y),a.selectable=!1,a.layerName="Tool",this.Bi=a,this.j=y,a=new Di,y=new ro,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=Gr,a.add(y),a.selectable=!1,a.layerName="Tool",this.Di=a,this.o=y,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new Ii,this.Of=this.gj=this.Pf=null}bt(gn,bi),gn.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},gn.prototype.copyPortProperties=function(a,y,x,b,E){if(a!==null&&y!==null&&x!==null&&b!==null){var z=y.Df(),ee=zn.alloc();ee.width=y.naturalBounds.width*z,ee.height=y.naturalBounds.height*z,b.desiredSize=ee,zn.free(ee),E?(b.toSpot=y.toSpot,b.toEndSegmentLength=y.toEndSegmentLength):(b.fromSpot=y.fromSpot,b.fromEndSegmentLength=y.fromEndSegmentLength),x.locationSpot=So,z=Qe.alloc(),x.location=y.ga(So,z),Qe.free(z),b.angle=y.li(),this.portTargeted!==null&&this.portTargeted(a,y,x,b,E)}},gn.prototype.setNoTargetPortProperties=function(a,y,x){y!==null&&(y.desiredSize=Gr,y.fromSpot=Da,y.toSpot=Da),a!==null&&(a.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,a,y,x)},gn.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},gn.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof Di){var y=this.targetPort.part;this.isForwards?this.copyPortProperties(y,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(y,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},gn.prototype.findValidLinkablePort=function(a,y){if(a===null)return null;var x=a.part;if(!(x instanceof Di))return null;for(;a!==null;){var b=y?a.toLinkable:a.fromLinkable;if(b===!0&&(a.portId!==null||a instanceof Di)&&(y?this.isValidTo(x,a):this.isValidFrom(x,a)))return a;if(b===!1)break;a=a.panel}return null},gn.prototype.findTargetPort=function(a){var y=this.diagram,x=y.lastInput.documentPoint,b=this.portGravity;0>=b&&(b=.1);var E=this,z=y.og(x,b,function(fe){return E.findValidLinkablePort(fe,a)},null,!0);for(b=1/0,y=null,z=z.iterator;z.next();){var ee=z.value,re=ee.part;if(re instanceof Di){var oe=ee.ga(So,Qe.alloc()),le=x.x-oe.x,ue=x.y-oe.y;Qe.free(oe),oe=le*le+ue*ue,oex){if(this.originalLink!==null&&a===this.originalFromNode&&y===this.originalFromPort)return!0;if(y=y.portId,y===null&&(y=""),a.Mo(y).count>=x)return!1}return!0},gn.prototype.isValidTo=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.toLinkable!==!0))return!1;var x=y.toMaxLinks;if(1/0>x){if(this.originalLink!==null&&a===this.originalToNode&&y===this.originalToPort)return!0;if(y=y.portId,y===null&&(y=""),a.Sd(y).count>=x)return!1}return!0},gn.prototype.isInSameNode=function(a,y){return a===null||y===null?!1:a===y?!0:(a=a.part,y=y.part,a!==null&&a===y)},gn.prototype.isLinked=function(a,y){if(a===null||y===null)return!1;var x=a.part;if(!(x instanceof Di))return!1;a=a.portId,a===null&&(a="");var b=y.part;if(!(b instanceof Di))return!1;for(y=y.portId,y===null&&(y=""),y=b.Sd(y);y.next();)if(b=y.value,b.fromNode===x&&b.fromPortId===a)return!0;return!1},gn.prototype.isValidLink=function(a,y,x,b){if(!this.isValidFrom(a,y)||!this.isValidTo(x,b)||!(y===null||b===null||(y.fromLinkableSelfNode&&b.toLinkableSelfNode||!this.isInSameNode(y,b))&&(y.fromLinkableDuplicates&&b.toLinkableDuplicates||!this.isLinked(y,b)))||this.originalLink!==null&&(a!==null&&this.isLabelDependentOnLink(a,this.originalLink)||x!==null&&this.isLabelDependentOnLink(x,this.originalLink))||a!==null&&x!==null&&(a.data===null&&x.data!==null||a.data!==null&&x.data===null)||!this.isValidCycle(a,x,this.originalLink))return!1;if(a!==null){var E=a.linkValidation;if(E!==null&&!E(a,y,x,b,this.originalLink))return!1}return x!==null&&(E=x.linkValidation,E!==null&&!E(a,y,x,b,this.originalLink))?!1:(E=this.linkValidation,E!==null?E(a,y,x,b,this.originalLink):!0)},gn.prototype.isLabelDependentOnLink=function(a,y){if(a===null)return!1;var x=a.labeledLink;if(x===null)return!1;if(x===y)return!0;var b=new Ln;return b.add(a),Xn(this,x,y,b)};function Xn(a,y,x,b){if(y===x)return!0;var E=y.fromNode;return E!==null&&E.isLinkLabel&&(b.add(E),Xn(a,E.labeledLink,x,b))?!0:(y=y.toNode,!!(y!==null&&y.isLinkLabel&&(b.add(y),Xn(a,y.labeledLink,x,b))))}gn.prototype.isValidCycle=function(a,y,x){if(x===void 0&&(x=null),a===null||y===null)return this.isUnconnectedLinkValid;var b=this.diagram.validCycle;if(b!==Xf){if(b===fp){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=y.linksConnected;b.next();){var E=b.value;if(E!==x&&E.isTreeLink&&E.toNode===y)return!1}return!Yn(this,a,y,x,!0)}if(b===gp){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=a.linksConnected;b.next();)if(E=b.value,E!==x&&E.isTreeLink&&E.fromNode===a)return!1;return!Yn(this,a,y,x,!0)}if(b===cp)return a===y?a=!0:(b=new Ln,b.add(y),a=Vn(this,b,a,y,x)),!a;if(b===dp)return!Yn(this,a,y,x,!1);if(b===hp)return a===y?a=!0:(b=new Ln,b.add(y),a=Pi(this,b,a,y,x)),!a}return!0};function Yn(a,y,x,b,E){if(y===x)return!0;if(y===null||x===null)return!1;for(var z=y.linksConnected;z.next();){var ee=z.value;if(ee!==b&&(!E||ee.isTreeLink)&&ee.toNode===y&&(ee=ee.fromNode,ee!==y&&Yn(a,ee,x,b,E)))return!0}return!1}function Vn(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var ee=z.value;if(ee!==E&&ee.toNode===x&&(ee=ee.fromNode,ee!==x&&Vn(a,y,ee,b,E)))return!0}return!1}function Pi(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var ee=z.value;if(ee!==E){var re=ee.fromNode;if(ee=ee.toNode,re=re===x?ee:re,re!==x&&Pi(a,y,re,b,E))return!0}}return!1}tt.Object.defineProperties(gn.prototype,{portGravity:{get:function(){return this.te},set:function(a){0<=a&&(this.te=a)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(a){this.Ha=a}},linkingCursor:{get:function(){return this.u},set:function(a){this.u=a}},temporaryLink:{get:function(){return this.Ci},set:function(a){this.Ci=a}},temporaryFromNode:{get:function(){return this.Bi},set:function(a){(this.Bi=a)&&(this.j=a.port)}},temporaryFromPort:{get:function(){return this.j},set:function(a){if(this.j!==null){var y=this.j.panel;if(y!==null){var x=y.O.indexOf(this.j);y.mb(x),y.Gb(x,a)}}this.j=a}},temporaryToNode:{get:function(){return this.Di},set:function(a){(this.Di=a)&&(this.o=a.port)}},temporaryToPort:{get:function(){return this.o},set:function(a){if(this.o!==null){var y=this.o.panel;if(y!==null){var x=y.O.indexOf(this.o);y.mb(x),y.Gb(x,a)}}this.o=a}},originalLink:{get:function(){return this.Hb},set:function(a){this.Hb=a}},originalFromNode:{get:function(){return this.hb},set:function(a){this.hb=a}},originalFromPort:{get:function(){return this.ob},set:function(a){this.ob=a}},originalToNode:{get:function(){return this.Oc},set:function(a){this.Oc=a}},originalToPort:{get:function(){return this.Pc},set:function(a){this.Pc=a}},isForwards:{get:function(){return this.ia},set:function(a){this.ia=a}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(a){this.Pf=a}},linkValidation:{get:function(){return this.gj},set:function(a){this.gj=a}},portTargeted:{get:function(){return this.Of},set:function(a){this.Of=a}}}),gn.className="LinkingBaseTool";function ii(){gn.call(this),this.name="Linking",this.V={},this.F=null,this.K=yi,this.Xd=null}bt(ii,gn),ii.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return a.isReadOnly||a.isModelReadOnly||!a.allowLink||!a.model.xs()||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},ii.prototype.findLinkablePort=function(){var a=this.diagram,y=this.startObject;if(y===null&&(y=a.ic(a.firstInput.documentPoint,null,null)),y===null||(a=y.part,!(a instanceof Di)))return null;var x=this.direction;if(x===yi||x===Ji){var b=this.findValidLinkablePort(y,!1);if(b!==null||this.startObject===a&&(b=a.port,this.findValidLinkablePort(b,!1)))return this.isForwards=!0,b}return(x===yi||x===Ui)&&(y=this.findValidLinkablePort(y,!0),y!==null||this.startObject===a&&(y=a.port,this.findValidLinkablePort(y,!0)))?(this.isForwards=!1,y):null},ii.prototype.doActivate=function(){var a=this.diagram,y=this.findLinkablePort();y===null?this.stopTool():(this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=a.lastInput.documentPoint),this.originalFromPort=y,y=this.originalFromPort.part,y instanceof Di&&(this.originalFromNode=y),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=a.lastInput.documentPoint),this.originalToPort=y,y=this.originalToPort.part,y instanceof Di&&(this.originalToNode=y),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),a.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),a.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0)},ii.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;a.remove(this.temporaryLink),a.remove(this.temporaryFromNode),a.remove(this.temporaryToNode),a.isMouseCaptured=!1,a.currentCursor="",this.stopTransaction()},ii.prototype.doStop=function(){gn.prototype.doStop.call(this),this.startObject=null},ii.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=this.transactionResult=null,x=null,b=null,E=null,z=null;try{var ee=this.targetPort=this.findTargetPort(this.isForwards);if(ee!==null){var re=ee.part;re instanceof Di&&(this.isForwards?(this.originalFromNode!==null&&(y=this.originalFromNode,x=this.originalFromPort),b=re,E=ee):(y=re,x=ee,this.originalToNode!==null&&(b=this.originalToNode,E=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(y=this.originalFromNode,x=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(b=this.originalToNode,E=this.originalToPort);y!==null||b!==null?(z=this.insertLink(y,x,b,E),z!==null?(ee===null&&(this.isForwards?z.defaultToPoint=a.lastInput.documentPoint:z.defaultFromPoint=a.lastInput.documentPoint),a.allowSelect&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),z.isSelected=!0),this.transactionResult=this.name,a.R("LinkDrawn",z)):this.doNoLink(y,x,b,E)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),z&&a.allowSelect&&a.R("ChangedSelection",a.selection)}}},ii.prototype.isNewTreeLink=function(){var a=this.archetypeLinkData;if(a===null)return!0;if(a instanceof gi)return a.isTreeLink;var y=this.diagram;return y===null?!0:(a=y.partManager.getLinkCategoryForData(a),y=y.partManager.findLinkTemplateForCategory(a),y!==null?y.isTreeLink:!0)},ii.prototype.insertLink=function(a,y,x,b){return this.diagram.partManager.insertLink(a,y,x,b)},ii.prototype.doNoLink=function(){},tt.Object.defineProperties(ii.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(a){this.V=a}},archetypeLabelNodeData:{get:function(){return this.F},set:function(a){this.F=a}},direction:{get:function(){return this.K},set:function(a){this.K=a}},startObject:{get:function(){return this.Xd},set:function(a){this.Xd=a}}});var yi=new Xt(ii,"Either",0),Ji=new Xt(ii,"ForwardsOnly",0),Ui=new Xt(ii,"BackwardsOnly",0);ii.className="LinkingTool",ii.Either=yi,ii.ForwardsOnly=Ji,ii.BackwardsOnly=Ui;function zi(){gn.call(this),this.name="Relinking";var a=new ro;a.figure="Diamond",a.desiredSize=qr,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=0,this.V=a,a=new ro,a.figure="Diamond",a.desiredSize=qr,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=-1,this.Xd=a,this.F=null,this.Ew=new Cn}bt(zi,gn),zi.prototype.updateAdornments=function(a){if(a!==null&&a instanceof gi){var y="RelinkFrom",x=null;if(a.isSelected&&!this.diagram.isReadOnly){var b=a.selectionObject;b!==null&&a.canRelinkFrom()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null&&(x=this.makeAdornment(b,!1),a.bh(y,x)))}x===null&&a.Jf(y),y="RelinkTo",x=null,a.isSelected&&!this.diagram.isReadOnly&&(b=a.selectionObject,b!==null&&a.canRelinkTo()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null?(x=this.makeAdornment(b,!0),a.bh(y,x)):x.v())),x===null&&a.Jf(y)}},zi.prototype.makeAdornment=function(a,y){var x=new Yo;return x.type=si.Link,y=y?this.toHandleArchetype:this.fromHandleArchetype,y!==null&&x.add(y.copy()),x.adornedObject=a,x},zi.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowRelink||!a.model.xs()||!a.lastInput.left)return!1;var y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom");return y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo")),y!==null},zi.prototype.doActivate=function(){var a=this.diagram;if(this.originalLink===null){var y=this.handle;if(y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom"),y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo"))),y===null)return;var x=y.part;if(!(x instanceof Yo&&x.adornedPart instanceof gi))return;this.handle=y,this.isForwards=x===null||x.category==="RelinkTo",this.originalLink=x.adornedPart}this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0y.firstPickIndex+1&&x=x.x)y=0>=x.y?y+225:1<=x.y?y+135:y+180;else if(1<=x.x)0>=x.y?y+=315:1<=x.y&&(y+=45);else if(0>=x.y)y+=270;else if(1<=x.y)y+=90;else break e;0>y?y+=360:360<=y&&(y-=360),a.cursor=22.5>y?"e-resize":67.5>y?"se-resize":112.5>y?"s-resize":157.5>y?"sw-resize":202.5>y?"w-resize":247.5>y?"nw-resize":292.5>y?"n-resize":337.5>y?"ne-resize":"e-resize"}else if(a instanceof si)for(a=a.elements;a.next();)this.updateResizeHandles(a.value,y)}},zr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowResize&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},zr.prototype.doActivate=function(){var a=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(a.isMouseCaptured=!0,a.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},zr.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=a.isMouseCaptured=!1},zr.prototype.stopTransaction=function(){var a=this.diagram,y=bi.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},zr.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},zr.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,Qe.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),a.bd(),Qe.free(E)}},zr.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,Qe.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),Qe.free(E),a.Ya(),this.transactionResult=this.name,a.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},zr.prototype.resize=function(a){var y=this.diagram,x=this.adornedObject;if(x!==null){if(x.desiredSize=a.size,a=x.part,a.Va(),x=x.ga(this.handle.alignment.gv()),a instanceof Xr){var b=new kn;if(b.add(a),!this.dragsMembers&&a.placeholder===null){var E=new ae;E.dragsMembers=!1}y.moveParts(b,this.oppositePoint.copy().re(x),!0,E)}else a.location=a.location.copy().re(x).add(this.oppositePoint);y.bd()}},zr.prototype.computeResize=function(a,y,x,b,E,z){y.Mc()&&(y=So);var ee=this.adornedObject.naturalBounds,re=ee.x,oe=ee.y,le=ee.x+ee.width,ue=ee.y+ee.height,fe=1;if(!z){fe=ee.width;var xe=ee.height;0>=fe&&(fe=1),0>=xe&&(xe=1),fe=xe/fe}return xe=Qe.alloc(),Kt.No(a.x,a.y,re,oe,E.width,E.height,xe),a=ee.copy(),0>=y.x?0>=y.y?(a.x=Math.max(xe.x,le-b.width),a.x=Math.min(a.x,le-x.width),a.width=Math.max(le-a.x,x.width),a.y=Math.max(xe.y,ue-b.height),a.y=Math.min(a.y,ue-x.height),a.height=Math.max(ue-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe):(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width),a.x=le-a.width,a.y=ue-a.height)):1<=y.y?(a.x=Math.max(xe.x,le-b.width),a.x=Math.min(a.x,le-x.width),a.width=Math.max(le-a.x,x.width),a.height=Math.max(Math.min(xe.y-oe,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe):(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width),a.x=le-a.width)):(a.x=Math.max(xe.x,le-b.width),a.x=Math.min(a.x,le-x.width),a.width=le-a.x,z||(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe,a.y=oe+.5*(ue-oe-a.height))):1<=y.x?0>=y.y?(a.width=Math.max(Math.min(xe.x-re,b.width),x.width),a.y=Math.max(xe.y,ue-b.height),a.y=Math.min(a.y,ue-x.height),a.height=Math.max(ue-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe):(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width),a.y=ue-a.height)):1<=y.y?(a.width=Math.max(Math.min(xe.x-re,b.width),x.width),a.height=Math.max(Math.min(xe.y-oe,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe):(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width))):(a.width=Math.max(Math.min(xe.x-re,b.width),x.width),z||(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe,a.y=oe+.5*(ue-oe-a.height))):0>=y.y?(a.y=Math.max(xe.y,ue-b.height),a.y=Math.min(a.y,ue-x.height),a.height=ue-a.y,z||(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width,a.x=re+.5*(le-re-a.width))):1<=y.y&&(a.height=Math.max(Math.min(xe.y-oe,b.height),x.height),z||(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width,a.x=re+.5*(le-re-a.width))),Qe.free(xe),a},zr.prototype.computeReshape=function(){var a=ei;return this.adornedObject instanceof ro&&(a=Mv(this.adornedObject)),!(a===tr||this.diagram.lastInput.shift)},zr.prototype.computeMinSize=function(){var a=this.adornedObject.minSize.copy(),y=this.minSize;return!isNaN(y.width)&&y.width>a.width&&(a.width=y.width),!isNaN(y.height)&&y.height>a.height&&(a.height=y.height),a},zr.prototype.computeMaxSize=function(){var a=this.adornedObject.maxSize.copy(),y=this.maxSize;return!isNaN(y.width)&&y.widthx?x+=360:360<=x&&(x-=360),x=Math.round(45*Math.round(x/45));var b=this.handleDistance;return x===0?y.x=a.naturalBounds.width+b:x===45?(y.x=a.naturalBounds.width+b,y.y=a.naturalBounds.height+b):x===90?y.y=a.naturalBounds.height+b:x===135?(y.x=-b,y.y=a.naturalBounds.height+b):x===180?y.x=-b:x===225?(y.x=-b,y.y=-b):x===270?y.y=-b:x===315&&(y.x=a.naturalBounds.width+b,y.y=-b),a.ga(y)},eo.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new Qe(NaN,NaN),this.isActive=a.isMouseCaptured=!1},eo.prototype.stopTransaction=function(){var a=this.diagram,y=bi.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},eo.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},eo.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeRotate(a.lastInput.documentPoint),this.rotate(a))},eo.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){a.delaysLayout=!1;var y=this.computeRotate(a.lastInput.documentPoint);this.rotate(y),a.Ya(),this.transactionResult=this.name,a.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},eo.prototype.rotate=function(a){var y=this.adornedObject;if(y!==null){y.angle=a,y=y.part,y.Va();var x=y.locationObject,b=y.rotateObject;(x===b||x.rg(b))&&(x=this.Tn.copy(),y.location=x.re(this.rotationPoint).rotate(a-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},eo.prototype.computeRotate=function(a){a=this.rotationPoint.ab(a)-this.handleAngle;var y=this.adornedObject.panel;y!==null&&(a-=y.li()),360<=a?a-=360:0>a&&(a+=360),y=Math.min(Math.abs(this.snapAngleMultiple),180);var x=Math.min(Math.abs(this.snapAngleEpsilon),y/2);return!this.diagram.lastInput.shift&&0y-x&&(a=(Math.floor(a/y)+1)*y)),360<=a?a-=360:0>a&&(a+=360),a},tt.Object.defineProperties(eo.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof Yo))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof Yo)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},snapAngleMultiple:{get:function(){return this.ia},set:function(a){this.ia=a}},snapAngleEpsilon:{get:function(){return this.V},set:function(a){this.V=a}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(a){this.kr=a.copy()}},handleAngle:{get:function(){return this.u},set:function(a){this.u=a}},handleDistance:{get:function(){return this.F},set:function(a){this.F=a}}}),eo.className="RotatingTool",Gn("rotatingTool",function(){return this.findTool("Rotating")},function(a){this.gb("Rotating",a,this.mouseDownTools)});function Ko(){bi.call(this),this.name="ClickSelecting"}bt(Ko,bi),Ko.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Ko.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Ko.className="ClickSelectingTool";function Or(){bi.call(this),this.name="Action",this.pk=null}bt(Or,bi),Or.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram,y=a.lastInput,x=a.ic(y.documentPoint,function(b){for(;b.panel!==null&&!b.isActionable;)b=b.panel;return b});return x!==null&&x.isActionable?(this.pk=x,a.Ck=a.ic(y.documentPoint,null,null),!0):!1},Or.prototype.doMouseDown=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionDown!==null&&y.actionDown(a,y))}else this.canStart()&&this.doActivate()},Or.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionMove!==null&&y.actionMove(a,y))}},Or.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;if(y===null)return;a.targetObject=y,y.actionUp!==null&&y.actionUp(a,y),this.standardMouseClick(function(x){for(;x.panel!==null&&(!x.isActionable||x!==y);)x=x.panel;return x},function(x){return x===y})}this.stopTool()},Or.prototype.doCancel=function(){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionCancel!==null&&y.actionCancel(a,y),this.stopTool())},Or.prototype.doStop=function(){this.pk=null},Or.className="ActionTool";function so(){bi.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new Qe(0,0)}bt(so,bi),so.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(a.lastInput.clickCount===1&&(this.mw=a.lastInput.viewPoint.copy()),a.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(a.lastInput.clickCount!==1)return!1;return!(a.currentTool!==this&&a.Ol(a.lastInput.documentPoint,!0)!==null)},so.prototype.doMouseUp=function(){var a=this.diagram;this.isActive&&this.insertPart(a.lastInput.documentPoint),this.stopTool()},so.prototype.insertPart=function(a){var y=this.diagram,x=this.archetypeNodeData;if(x===null)return null;var b=null;try{if(y.R("ChangingSelection",y.selection),this.Ea(this.name),x instanceof ur)x.Zc()&&(kc(x),b=x.copy(),b!==null&&y.add(b));else if(x!==null){var E=y.model.copyNodeData(x);zt(E)&&(y.model.xf(E),b=y.Lc(E))}if(b!==null){var z=Qe.allocAt(a.x,a.y);this.isGridSnapEnabled&&vf(this.diagram,b,a,z),b.location=z,y.allowSelect&&(y.clearSelection(!0),b.isSelected=!0),Qe.free(z)}y.Ya(),this.transactionResult=this.name,y.R("PartCreated",b)}finally{this.stopTransaction(),y.R("ChangedSelection",y.selection)}return b},tt.Object.defineProperties(so.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){this.Ri=a}},isDoubleClick:{get:function(){return this.o},set:function(a){this.o=a}},isGridSnapEnabled:{get:function(){return this.j},set:function(a){this.j=a}}}),so.className="ClickCreatingTool";function jr(){bi.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var a=new ur;a.layerName="Tool",a.selectable=!1;var y=new ro;y.name="SHAPE",y.figure="Rectangle",y.fill=null,y.stroke="magenta",a.add(y),this.j=a}bt(jr,bi),jr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(!a.allowSelect)return!1;var y=a.lastInput;return!(!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.timestamp-a.firstInput.timestampE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom&&(x.y-=b.height+5/y.scale),x.ya.lastInput.clickCount)):!1},wo.prototype.doStart=function(){Al=this,this.textBlock!==null&&this.doActivate()},wo.prototype.doActivate=function(){if(!this.isActive){var a=this.diagram;if(a!==null){var y=this.textBlock;if(y===null&&(y=a.ic(a.lastInput.documentPoint)),y!==null&&y instanceof ba&&(this.textBlock=y,y.part!==null)){a.animationManager.Cc(),this.isActive=!0,this.qa=Zr;var x=this.defaultTextEditor;y.textEditor!==null&&(x=y.textEditor),this.Zh=this.textBlock.copy();var b=new Cn(this.textBlock.ga(ga),this.textBlock.ga(vl));a.tv(b),x.show(y,a,this),this.currentTextEditor=x}}}},wo.prototype.doCancel=function(){this.stopTool()},wo.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},wo.prototype.doMouseDown=function(){this.isActive&&this.acceptText(ns)},wo.prototype.acceptText=function(a){switch(a){case ns:this.qa===zs?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===Zr||this.qa===al||this.qa===Uo)&&(this.qa=sa,Ya(this));break;case Ia:case bo:case Ro:(bo!==a||this.textBlock.isMultiline!==!0)&&(this.qa===Zr||this.qa===al||this.qa===Uo)&&(this.qa=sa,Ya(this))}};function Ya(a){var y=a.textBlock,x=a.diagram,b=a.currentTextEditor;if(y!==null&&b!==null){var E=y.text,z="";b.valueFunction!==null&&(z=b.valueFunction()),a.isValidText(y,E,z)?(a.Ea(a.name),a.qa=zs,a.transactionResult=a.name,y.text=z,a.doSuccess(E,z),x!==null&&x.R("TextEdited",y,E),a.stopTransaction(),a.stopTool(),x!==null&&x.doFocus()):(a.qa=al,a.doError(E,z))}}wo.prototype.doError=function(a,y){var x=this.textBlock;x.errorFunction!==null&&x.errorFunction(this,a,y),(a=this.currentTextEditor)&&a.show(x,this.diagram,this)},wo.prototype.doSuccess=function(a,y){var x=this.textBlock;x.textEdited!==null&&x.textEdited(x,a,y)},wo.prototype.doDeactivate=function(){var a=this.diagram;a!==null&&(this.qa=qi,this.currentTextEditor!==null&&this.currentTextEditor.hide(a,this),this.textBlock=null,this.isActive=!1)},wo.prototype.doStop=function(){Al=null},wo.prototype.isValidText=function(a,y,x){var b=this.textValidation;return b!==null&&!b(a,y,x)?!1:(b=a.textValidation,!!(b===null||b(a,y,x)))},wo.prototype.Lx=function(a){var y=this.Zh;return y.text=a,y.measure(this.textBlock.Ih,1/0),y},tt.Object.defineProperties(wo.prototype,{textBlock:{get:function(){return this.ia},set:function(a){this.ia=a}},currentTextEditor:{get:function(){return this.o},set:function(a){this.o=a}},defaultTextEditor:{get:function(){return this.j},set:function(a){this.j=a}},starting:{get:function(){return this.V},set:function(a){this.V=a}},textValidation:{get:function(){return this.vj},set:function(a){this.vj=a}},minimumEditorScale:{get:function(){return this.u},set:function(a){this.u=a}},selectsTextOnActivate:{get:function(){return this.F},set:function(a){this.F=a}},state:{get:function(){return this.qa},set:function(a){this.qa!==a&&(this.qa=a)}}}),wo.prototype.measureTemporaryTextBlock=wo.prototype.Lx;var Ia=new Xt(wo,"LostFocus",0),ns=new Xt(wo,"MouseDown",1),Ro=new Xt(wo,"Tab",2),bo=new Xt(wo,"Enter",3),Zo=new Xt(wo,"SingleClick",0),xo=new Xt(wo,"SingleClickSelected",1),ao=new Xt(wo,"DoubleClick",2),qi=new Xt(wo,"StateNone",0),Zr=new Xt(wo,"StateActive",1),Uo=new Xt(wo,"StateEditing",2),sa=new Xt(wo,"StateValidating",3),al=new Xt(wo,"StateInvalid",4),zs=new Xt(wo,"StateValidated",5),Al=null;wo.className="TextEditingTool",wo.LostFocus=Ia,wo.MouseDown=ns,wo.Tab=Ro,wo.Enter=bo,wo.SingleClick=Zo,wo.SingleClickSelected=xo,wo.DoubleClick=ao,wo.StateNone=qi,wo.StateActive=Zr,wo.StateEditing=Uo,wo.StateValidating=sa,wo.StateInvalid=al,wo.StateValidated=zs,Gn("textEditingTool",function(){return this.findTool("TextEditing")},function(a){this.gb("TextEditing",a,this.mouseUpTools)});function ka(a){Ms||(Xa(),Ms=!0),this.H=bc,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=Ys,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Ln,this.ce=new $a,this.ce.Yd=this,this.Ei=new Ln,this.pu=new Ln,this.Sr=new Ln,this.pr=new Ln,a&&Object.assign(this,a)}ka.prototype.Xe=function(a){this.H=a},ka.prototype.canStart=function(){return!0};function Ua(a,y){a.Jd&&a.canStart(y)&&(a.Zd.add(y),a.defaultAnimation.isAnimating&&a.Cc(),sl(a.H),a.zb=!0)}function Do(a){if(a.Jd&&a.zb){var y=a.ce,x=a.H,b=a.Zd.contains("Model");b&&(a.Ok=!0,a.Pk===Ys?(y.isViewportUnconstrained=!0,y.vc.clear(),y.add(x,"position",x.position.copy().offset(0,-200),x.position),y.add(x,"opacity",0,1)):a.Pk===vu&&y.vc.clear(),a.Qw=!!(a.Pk===Wu&&x.du.D(x.pa)),x.R("InitialAnimationStarting",a)),b&&!a.Gh||y.vc.count===0?(a.Zd.clear(),a.zb=!1,y.vc.clear(),Ml(y,x),a.Ok=!1,x.N()):(a.Zd.clear(),x.kg=!1,b=y.vc.get(x),x.autoScale!==Yl&&b!==null&&(delete b.start.scale,delete b.end.scale),Ye.requestAnimationFrame(function(){a.zb===!1||y.bc||(x.Gf("temporaryPixelRatio")&&Nl(x),Wd(x),a.zb=!1,y.start(),y.bc&&(is(a),x.Ya(),Cc(y,0),Hl(x,!0),bs(a),x.R("AnimationStarting",a)))}))}}function Vs(a){return a.Zd.contains("Trigger")&&a.Zd.count===1}function Ll(a,y,x,b){a.isTicking||Vs(a)||y instanceof gi&&(y.fromNode!==null||y.toNode!==null)||a.ce.add(y,"position",x,b,!1)}Ce=ka.prototype,Ce.fv=function(a){return this.ce.fv(a)},Ce.Xu=function(a){return this.ce.Xu(a)};function Wa(a,y){function x(){if(0z?z+=360:oe+=360),z=E(x,z,oe-z,b)%360,ee=E(x,ee,le-ee,b),re=E(x,re,ue-re,b),x=E(x,a,y-a,b),"hsla("+z+", "+ee+"%, "+re+"%, "+x+")"}function Xa(){function a(x,b,E,z,ee,re){x.position=new Qe(z(ee,b.x,E.x-b.x,re),z(ee,b.y,E.y-b.y,re))}var y=new Ii;y.add("position:diagram",a),y.add("position",a),y.add("position:part",function(x,b,E,z,ee,re){eea&&Qn(a,">= 1",ka,"duration"),this.Dg=a}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(a){this.Pk=a}}}),ka.prototype.stopAnimation=ka.prototype.Cc;var zo=null,Ms=!1,Ys=new Xt(ka,"Default",1),Wu=new Xt(ka,"AnimateLocations",2),vu=new Xt(ka,"None",3);ka.className="AnimationManager",ka.defineAnimationEffect=function(a,y){Ms||(Xa(),Ms=!0),zo.add(a,y)},ka.Default=Ys,ka.AnimateLocations=Wu,ka.None=vu;function $a(a){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=ql,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=pt,this.vc=new Ii,this.Tt=new Ii,this.yl=new Ln,this.Ut=new Ln,this.dw=mh,a&&Object.assign(this,a)}$a.prototype.suspend=function(){this.Xk=!0},$a.prototype.advanceTo=function(a,y){y&&(this.Xk=!1),this.ho&&a>=this.Gd&&(this.Wk=!0,a-=this.Gd),this.gw=a,ku(this,!0),is(this.Yd),Hl(this.H),bs(this.Yd),this.H.redraw()};function Ml(a,y){if(a.Tt.clear(),a.Wk=!1,a.au=0,a.Gd=NaN,0a.cn?a.Gd:b-a.Qd;y&&(E=a.gw,Ea.cn&&(a.ho&&!a.Wk?(a.Qd=+new Date,a.cn=a.Qd+a.Gd,a.Wk=!0):a.Ml(!1))}}}function Cc(a,y){for(var x=a.Gd,b=a.vc.iterator,E=a.Wk;b.next();){var z=b.key;if(!(z instanceof Vt&&z.diagram===null)){var ee=b.value,re=E?ee.end:ee.start;ee=E?ee.start:ee.end;var oe=zo,le;for(le in ee)le==="position"&&(ee["position:placeholder"]||ee["position:nodeCollapse"])||oe.get(le)===null||oe.get(le)(z,re[le],ee[le],a.Lp,y,x,a)}}}Ce.stop=function(){return this.bc?(this.Ml(!0),this):this},Ce.Ml=function(a){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var y=this.H,x=this.Yd;this.Xk=this.bc=x.Ok=!1,is(x);for(var b=this.vc,E=this.yl.iterator;E.next();)y.remove(E.value);for(E=this.Ut.iterator;E.next();)E.value.v();E=this.ho,b=b.iterator;for(var z=zo;b.next();){var ee=b.key,re=b.value,oe=E?re.end:re.start,le=E?re.start:re.end,ue=re.Ku,fe;for(fe in le)if(z.get(fe)!==null){var xe=fe;!re.Hu||xe!=="position:nodeCollapse"&&xe!=="position:placeholder"||(xe="position"),z.get(xe)(ee,oe[fe],ue[fe]!==void 0?ue[fe]:re.Hu?oe[fe]:le[fe],this.Lp,this.Gd,this.Gd,this)}re.Hu&&ue.location!==void 0&&ee instanceof ur&&(ee.location=ue.location),re.nv&&ee instanceof ur&&ee.Zb(!1)}if(y.As.clear(),fd(y,!1),y.Ya(),y.N(),Hl(y,!0),x.defaultAnimation===this){for(fe=x.pr.iterator;fe.next();)E=fe.value,E.Tg!==null&&(E.points=E.Tg,E.Tg=null);x.pr.clear()}Hl(y,!0),this.isViewportUnconstrained&&(y.scrollMode=this.dw),bs(x),this.au++,!a&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),Ml(this,null),x.Ml(this),y.$b())}},Ce.Cj=function(a,y){var x=y.actualBounds,b=null;if(y instanceof Xr&&(b=y.placeholder),b!==null?(x=b.ga(ga),b=b.padding,x.x+=b.left,x.y+=b.top,this.add(a,"position",x,a.position,!1)):this.add(a,"position",new Qe(x.x+x.width/2,x.y+x.height/2),a.position,!1),this.add(a,"scale",.01,a.scale,!1),a instanceof Xr)for(a=a.memberParts;a.next();)b=a.value,b instanceof Di&&this.Cj(b,y)},Ce.Aj=function(a,y){if(a.isVisible()){var x=null;if(y instanceof Xr&&(x=y.placeholder),x!==null){var b=x.ga(ga);x=x.padding,b.x+=x.left,b.y+=x.top,this.add(a,"position:placeholder",a.position,b,!0)}else this.add(a,"position:nodeCollapse",a.position,y,!0);if(this.add(a,"scale",a.scale,.01,!0),b=this.vc,b.contains(a)&&(b.I(a).nv=!0),a instanceof Xr)for(a=a.memberParts;a.next();)b=a.value,b instanceof Di&&this.Aj(b,y)}},Ce.Ez=function(a){var y=this.Tt.get(a);return y===null&&(y={},this.Tt.add(a,y)),y},tt.Object.defineProperties($a.prototype,{duration:{get:function(){return this.Dg},set:function(a){1>a&&Qn(a,">= 1",$a,"duration"),this.Dg=a}},reversible:{get:function(){return this.ho},set:function(a){this.ho=a}},runCount:{get:function(){return this.cu},set:function(a){0a?x/2*a*a+y:-x/2*(--a*(a-2)-1)+y}function ac(a,y,x,b){return a===b?y+x:x*(-Math.pow(2,-10*a/b)+1)+y}$a.className="Animation",$a.EaseLinear=function(a,y,x,b){return x*a/b+y},$a.EaseInOutQuad=ql,$a.EaseInQuad=function(a,y,x,b){return x*(a/=b)*a+y},$a.EaseOutQuad=function(a,y,x,b){return-x*(a/=b)*(a-2)+y},$a.EaseInExpo=function(a,y,x,b){return a===0?y:x*Math.pow(2,10*(a/b-1))+y},$a.EaseOutExpo=ac;function sc(a,y,x){this.start=a,this.end=y,this.Ku={},this.Hu=x,this.nv=!1}sc.className="AnimationState";function yu(a,y,x){this.xd=null,this.rf=a,this.so=x||ls,this.uk=null,y!==void 0&&(this.uk=y,x===void 0&&(this.so=Qs))}yu.prototype.copy=function(){var a=new yu(this.rf);a.so=this.so;var y=this.uk;if(y!==null){var x={};y.duration!==void 0&&(x.duration=y.duration),y.finished!==void 0&&(x.finished=y.finished),y.easing!==void 0&&(x.easing=y.easing),a.uk=x}return a};function Ra(a,y){a=a.uk,a!==null&&(a.duration&&(y.duration=a.duration),a.finished&&(y.finished=a.finished),a.easing&&(y.easing=a.easing))}tt.Object.defineProperties(yu.prototype,{propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},animationSettings:{get:function(){return this.uk},set:function(a){this.uk=a}},startCondition:{get:function(){return this.so},set:function(a){this.so=a}}});var ls=new Xt(yu,"Default",1),Qs=new Xt(yu,"Immediate",2),ms=new Xt(yu,"Bundled",3);yu.className="AnimationTrigger",yu.Default=ls,yu.Immediate=Qs,yu.Bundled=ms;function za(a){pr(this),this.H=null,this.Pa=new kn,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],a&&Object.assign(this,a)}Ce=za.prototype,Ce.clear=function(){for(var a=this.Pa,y=0;y=a)return y;for(var x=0,b=0,E=0,z=0,ee=0,re=this.Pa.iterator;re.next();){var oe=re.value;oe instanceof Xr?E++:oe instanceof Di?b++:oe instanceof gi?z++:oe instanceof Yo?ee++:x++}if(re="",0x.Oq||re.height*E>x.Oq?y.gc(a,x):(E=y.actualBounds,z=y.naturalBounds,E.width===0||E.height===0||isNaN(E.x)||isNaN(E.y)||!y.isVisible()||(x=y.transform,y.areaBackground!==null&&(ds(y,a,y.areaBackground,!0,!0,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.areaBackground===null&&y.background===null&&(ds(y,a,"rgba(0,0,0,0.3)",!0,!1,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.background!==null&&(a.transform(x.m11,x.m12,x.m21,x.m22,x.dx,x.dy),ds(y,a,y.background,!0,!1,z,E),a.fillRect(0,0,z.width/2,z.height/2),x.ws()||(y=1/(x.m11*x.m22-x.m12*x.m21),a.transform(x.m22*y,-x.m12*y,-x.m21*y,x.m11*y,y*(x.m21*x.dy-x.m22*x.dx),y*(x.m12*x.dx-x.m11*x.dy)))))),b&&(a.restore(),a.Vc(!0))}},Ce.g=function(a,y,x,b,E){var z=this.diagram;z!==null&&z.cb(oi,a,this,y,x,b,E)},Ce.oi=function(a,y,x){var b=this.Pa;if(y.Ig=this,this===null&&Kl(y),a>=b.count)a=b.count;else if(b.M(a)===y)return-1;return b.Gb(a,y),y.Vo(x),b=this.diagram,b!==null&&(x?b.N():b.oi(y)),Zu(this,a,y),a},Ce.pc=function(a,y,x){if(!x&&y.layer!==this&&y.layer!==null)return y.layer.pc(a,y,x);var b=this.Pa;if(0>a||a>=b.length){if(a=b.indexOf(y),0>a)return-1}else if(b.M(a)!==y&&(a=b.indexOf(y),0>a))return-1;return y.Wo(x),b.mb(a),b=this.diagram,b!==null&&(x?b.N():b.pc(y)),y.Ig=null,Kl(y),a};function Zu(a,y,x){if(y=uh(a,y,x),x instanceof Xr&&x!==null&&isNaN(x.zOrder)){if(x.memberParts.count!==0){for(var b=-1,E=a.Pa.s,z=E.length,ee=0;eeb&&re.containingGroup===x&&(b=ee,0<=y))break}!(0>b)&&b=E)return y;if(0>y&&(y=a.indexOf(x)),0>y)return-1;for(var z=y-1,ee=NaN;0<=z&&(ee=a.M(z).zOrder,!!isNaN(ee));)z--;for(var re=y+1,oe=NaN;reb)for(;;){if(z===-1||ee<=b){if(z++,z===y)break;return a.mb(y),a.Gb(z,x),z}for(ee=NaN;0<=--z&&(ee=a.M(z).zOrder,isNaN(ee)););}else if(!isNaN(oe)&&oe=b){if(re--,re===y)break;return a.mb(y),a.Gb(re,x),re}for(oe=NaN;++rea||1=a)return y;for(var x=this.Wa.iterator;x.next();)y+=` `+x.value.toString(a-1);return y};function zc(a,y){if(cs){if(y!=null||Et("Diagram setup requires an argument DIV."),a.Ka!==null&&Et("Diagram has already completed setup."),typeof y=="string"?a.Ka=Ye.document.getElementById(y):y instanceof HTMLDivElement?a.Ka=y:Et("No DIV or DIV id supplied: "+y),a.Ka===null&&Et("Invalid DIV id; could not get element with id: "+y),a.Ka.H!==void 0&&Et("Invalid div id; div already has a Diagram associated with it."),!a.ol&&Ye.ResizeObserver){var x=Bt(function(){a.$b()},250);a.ol=new Ye.ResizeObserver(function(){x()}),a.ol.observe(a.Ka)}Ye.getComputedStyle(a.Ka,null).position==="static"&&(a.Ka.style.position="relative"),y=5;var b="rgba(2"+y+"5, 255, 255, 0)";y--,a.Ka.style["-webkit-tap-highlight-color"]=b,a.Ka.innerHTML="",a.Ka.H=a,a.Ka.goDiagram=a,a.Ka.go=Ye.go;var E=new Fc(a);if(E.style!==void 0&&(E.style.position="absolute",E.style.top="0px",E.style.left="0px",Ye.getComputedStyle(a.Ka,null).getPropertyValue("direction")==="rtl"&&(a.tn=!0),E.style.zIndex="2",E.style.userSelect="none",E.style.MozUserSelect="none",E.style.touchAction="none",E.style.letterSpacing="normal !important",E.style.wordSpacing="normal !important"),a.ta=E,a.ib=E.context,b=a.ib,a.Mb=a.computePixelRatio(),a.viewSize.w()||(a.Aa=a.Ka.clientWidth||1,a.ya=a.Ka.clientHeight||1),hh(a,a.Aa,a.ya),a.Ka.insertBefore(E.Oa,a.Ka.firstChild),E=new Fc(null),E.width=1,E.height=1,a.jw=E,a.oy=E.context,cs){E=cn("div");var z=cn("div");E.style.position="absolute",E.style.overflow="auto",E.style.width=a.Aa+"px",E.style.height=a.ya+"px",E.style.zIndex="1",z.style.position="absolute",z.style.width="1px",z.style.height="1px",a.Ka.appendChild(E),E.appendChild(z),E.onscroll=pf,E.addEventListener("pointerdown",Vd),E.H=a,E.uy=!0,E.vy=!0,a.ku=E,a.hu=z}a.hk=Bt(function(){a.Yh=null,a.N()},300),a.Ov=Bt(function(){Wd(a)},250),a.preventDefault=function(ee){return ee.preventDefault(),!1},a.$j=function(ee){if(a.isEnabled){var re=eu(a,ee,!0);re.bubbles=!0;var oe=0,le=0;re.delta=0,ee.deltaX!==void 0?(ee.deltaX!==0&&(oe=0Math.abs(ee.deltaY)?-oe:-le):ee.wheelDeltaX!==void 0?(ee.wheelDeltaX!==0&&(oe=0Math.abs(ee.wheelDeltaY)?-oe:-le):ee.wheelDelta!==void 0&&ee.wheelDelta!==0&&(re.delta=0re||Math.abs(le.y-ee.screenY)>re)?a.yq++:a.yq=1,oe.clickCount=a.yq,a.tw=ee.timeStamp,a.uw.sg(ee.screenX,ee.screenY),a.doMouseDown(),ee.button===1?ee.preventDefault():Su(oe,ee)}},a.dk=function(ee){if(a.isEnabled){a.Vk=!0;var re=a.oj;if(re[0]===null||re[0].pointerId!==ee.pointerId&&re[0].pointerType===ee.pointerType){if(re[1]!==null&&re[1].pointerId===ee.pointerId){re[1]=ee;return}if(re[0]===null)re[0]=ee;else return}else re[0]=ee;if(re[0].pointerId===ee.pointerId){re=Yd(a,ee,!1,!1,!1,re[1]!==null);var oe=Ye.document.elementFromPoint(ee.clientX,ee.clientY)||null;oe!==null&&oe.shadowRoot!==void 0&&oe.shadowRoot!==null&&(oe=oe.shadowRoot.elementFromPoint(ee.clientX,ee.clientY));var le=a,ue=ee;oe&&oe.H&&(ue=ee,le=oe.H),re.targetDiagram=le,Ed(a,ue,re),re.targetObject=null,a.doMouseMove(),Su(re,ee)}}},a.fk=function(ee){if(a.isEnabled){a.Vk=!0;var re=ee.pointerType==="touch"||ee.pointerType==="pen",oe=a.Yt;if(re&&a.qu)delete oe[ee.pointerId],ee.preventDefault();else if(oe=a.oj,oe[0]===null||oe[0].pointerId!==ee.pointerId&&oe[0].pointerType===ee.pointerType)oe[1]!==null&&oe[1].pointerId===ee.pointerId&&(oe[1]=null);else{oe[0]=null,oe=Yd(a,ee,!1,!0,!0,!1);var le=Ye.document.elementFromPoint(ee.clientX,ee.clientY)||null;le!==null&&le.shadowRoot!==void 0&&le.shadowRoot!==null&&(le=le.shadowRoot.elementFromPoint(ee.clientX,ee.clientY)),le!==null&&le.H instanceof pn&&le.H!==a&&Ed(le.H,ee,oe),le===null&&(le=ee.target),Ed(a,ee,oe),oe.clickCount=a.yq,oe.targetDiagram=ch(ee,le),oe.targetObject=null,a.doMouseUp(),Su(oe,ee),re&&(a.wq=!1)}}},a.ek=function(ee){if(a.isEnabled){a.Vk=!1;var re=a.Yt;re[ee.pointerId]&&delete re[ee.pointerId],re=a.oj,re[0]!==null&&re[0].pointerId===ee.pointerId&&(re[0]=null),re[1]!==null&&re[1].pointerId===ee.pointerId&&(re[1]=null),ee.pointerType!=="touch"&&ee.pointerType!=="pen"&&(ee=a.currentTool,ee.cancelWaitAfter(),ee.standardMouseOver())}},a.ck=function(ee){var re=a.oj;re[0]!==null&&re[0].pointerId===ee.pointerId?(re[0]=null,a.wq=!1):re[1]!==null&&re[1].pointerId===ee.pointerId&&(re[1]=null)},a.Vp=b.Z["d"+_f[1]+_f[2]+"wI"+Cf.slice(1,5)]["b"+Wx.slice(1,y)](b.Z,Qf,y,y),b.Vc(!0),gf(a),a.nl==="svg"&&(y=a.pj.get("svg"),a.Ka.appendChild(y.Oa),a.ib=y.context)}}pn.prototype.addEventListener=function(a,y,x,b){a.addEventListener(y,x,{capture:b,passive:!1})},pn.prototype.removeEventListener=function(a,y,x,b){a.removeEventListener(y,x,{capture:b})};function gf(a){var y=a.ta.Oa;y instanceof HTMLCanvasElement||(y=a.div),a.addEventListener(y,"pointerdown",a.ui,!1),a.addEventListener(y,"pointermove",a.dk,!1),a.addEventListener(y,"pointerup",a.fk,!1),a.addEventListener(y,"pointerout",a.ek,!1),a.addEventListener(y,"pointercancel",a.ck,!1),a.addEventListener(y,"pointerenter",a.bz,!1),a.addEventListener(y,"pointerleave",a.cz,!1),a.addEventListener(y,"wheel",a.$j,!1),a.addEventListener(y,"keydown",a.Qz,!1),a.addEventListener(y,"keyup",a.Rz,!1),a.addEventListener(y,"blur",a.Ny,!1),a.addEventListener(y,"focus",a.Oy,!1),a.addEventListener(y,"selectstart",function(x){return x.preventDefault(),!1},!1),a.addEventListener(y,"contextmenu",function(x){return x.preventDefault(),!1},!1),a.addEventListener(Ye,"resize",a.Ov,!1)}function Nl(a){30Ae&&(this.position=ot.h(-(y.scrollWidth-this.Aa)+Ue-this.Aa/E+ue,this.position.y))),a.vy&&this.allowVerticalScroll&&(reTe&&(this.position=ot.h(this.position.x,-(y.scrollHeight-this.ya)+a.scrollTop-this.ya/E+z))),Qe.free(ot),this.vd=!0,this.Ee=this.qr=!1,b=this.documentBounds,E=this.viewportBounds,ue=b.right,Ae=E.right,z=b.bottom,Te=E.bottom,ee=b.x,fe=E.x,re=b.y,b=E.y,xe>=oe&&ee>=fe&&ue<=Ae&&(x.style.width="1px"),Ee>=le&&re>=b&&z<=Te&&(x.style.height="1px"))}},pn.prototype.computeBounds=function(a){return a===void 0&&(a=new Cn),sl(this),Gd(this,a)};function Gd(a,y){if(a.fixedBounds.w())return y.assign(a.fixedBounds),y.Co(a.yb),y;for(var x=!0,b=a.Wa.s,E=b.length,z=0;zx&&(y=x),ya.maxScale&&(y=a.maxScale),y):y===Vh?(y=oe>re?(ee-a.Db)/b:(z-a.Db)/E,y>x&&(y=x),ya.maxScale&&(y=a.maxScale),y):a.scale}pn.prototype.zoomToFit=function(){var a=this.sj;this.sj=mh,this.scale=$c(this,$u),a!==mh&&(Nu(this,!1),Hh(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=a},Ce=pn.prototype,Ce.BA=function(a,y){y===void 0&&(y=$u);var x=a.width,b=a.height;if(!(x===0||b===0||isNaN(x)&&isNaN(b))){var E=1;if(y===$u||y===Vh)if(isNaN(x))E=this.viewportBounds.height*this.scale/b;else if(isNaN(b))E=this.viewportBounds.width*this.scale/x;else{E=this.Aa;var z=this.ya;E=y===Vh?z/b>E/x?(z-(this.Be?this.Db:0))/b:(E-(this.gf?this.Db:0))/x:Math.min(z/b,E/x)}this.scale=E,this.position=new Qe(a.x,a.y)}},Ce.Jy=function(a,y){this.Va();var x=this.documentBounds,b=this.viewportBounds;this.position=new Qe(x.x+(a.x*x.width+a.offsetX)-(y.x*b.width-y.offsetX),x.y+(a.y*x.height+a.offsetY)-(y.y*b.height-y.offsetY))},Ce.zz=function(a){if(a instanceof Vt){this.eq=a;var y=Qe.alloc();this.fq=this.op(a.ga(ga,y)),Qe.free(y)}else this.eq=null,this.fq=On};function Hh(a,y,x,b,E,z){var ee=Qe.allocAt(a.pa.x,a.pa.y),re=ee.x,oe=ee.y;if(a.eq!==null){var le=Qe.alloc();le=a.eq.ga(ga,le),re=le.x-a.fq.x/a.scale,oe=le.y-a.fq.y/a.scale,E=Da,Qe.free(le)}(z||a.scrollMode===mh)&&(E.sb()&&(x>y.width&&(re=y.x+(E.x*y.width+E.offsetX)-(E.x*x-E.offsetX)),b>y.height&&(oe=y.y+(E.y*y.height+E.offsetY)-(E.y*b-E.offsetY))),E=a.rj,z=x-y.width,xy.left?re=y.left:rey.top?oe=y.top:oey;y++){var x=a.De.iterator;if(x===null||a.De.count===0)break;a.De=new Ln,a.Nv(x,a.De)}a.nodes.each(function(b){b instanceof Xr&&b.U&65536&&(b.U=b.U^65536)})}}Ce.Nv=function(a,y){for(a.reset();a.next();){var x=a.value;!x.Zc()||x instanceof Xr||(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))}for(a.reset();a.next();)x=a.value,x instanceof Xr&&x.isVisible()&&Va(this,x);for(a.reset();a.next();)x=a.value,x instanceof gi&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x));for(a.reset();a.next();)x=a.value,x instanceof Yo&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))};function Va(a,y){for(var x=ti(),b=ti(),E=y.memberParts;E.next();){var z=E.value;z.isVisible()&&(z instanceof Xr?(ec(z)||iu(z)||Yh(z))&&Va(a,z):z instanceof gi?z.fromNode===y||z.toNode===y?b.push(z):x.push(z):(z.measure(1/0,1/0),z.arrange()))}for(a=x.length,E=0;Ejt&&(Ue=Fi.left,St=Fi.right),ot.height>yn&&(Ct=Fi.top,Ft=Fi.bottom)):(Ue=Fi.left,St=Fi.right,Ct=Fi.top,Ft=Fi.bottom);var Xi=ot.width+Ue+St,ji=ot.height+Ct+Ft;Fi=a.scale;var fi=Xi>oe/Fi,_n=ji>le/Fi;if(!(z||a.gf||a.Be||fi||_n))return!0;Ue=ot.x-Ue,oe=ue.x,St=ot.right+St,le=ue.right+ee,Ct=ot.y-Ct;var Ur=ue.y;ot=ot.bottom+Ft,ue=ue.bottom+re;var Ir="1px";if(Ft="1px",a.scrollMode===mh&&(fi||_n)&&(fi&&a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(fi=1,Ue+1le+1&&(fi=Math.max((St-le)*Fi+a.Aa,fi)),jt+ee+1ue+1&&(fi=Math.max((ot-ue)*Fi+a.ya,fi)),yn+re+1le+1&&(ee=Math.max((St-le)*Fi+a.Aa,ee)),jt+1ue+1&&(re=Math.max((ot-ue)*Fi+ee,re)),yn+1le+1&&(y=a.position.x*Fi)),a.tn)switch(a.bu){case"negative":y=-(Ae.scrollWidth-y-Ae.clientWidth);break;case"reverse":y=Ae.scrollWidth-y-Ae.clientWidth}return Ae.scrollLeft=y,a.hasVerticalScrollbar&&a.allowVerticalScroll&&(yn+1ue+1&&(Ae.scrollTop=a.position.y*Fi)),oe=a.Aa,le=a.ya,Ae.style.width=oe+(a.gf?a.Db:0)+"px",Ae.style.height=le+(a.Be?a.Db:0)+"px",x!==oe||b!==le||a.animationManager.zb?(x=Cn.allocAt(E,fe,xe,Ee),a.onViewportBoundsChanged(x,a.viewportBounds,Fi,z),Cn.free(x),!1):!0}Ce=pn.prototype,Ce.add=function(a){var y=a.diagram;if(y!==this&&(y!==null&&Et("Cannot add part "+a.toString()+" to "+this.toString()+". It is already a part of "+y.toString()),y=this.Qj(a.layerName),y===null&&(y=this.Qj("")),y===null&&Et('Cannot add a Part when unable find a Layer named "'+a.layerName+'" and there is no default Layer'),a.layer!==y)){var x=y.oi(99999999,a,a.diagram===this);0<=x&&this.cb(ui,"parts",y,null,a,null,x),y.isTemporary||this.Ya(),a.C(1),x=a.layerChanged,x!==null&&x(a,null,y)}},Ce.oi=function(a){this.partManager.oi(a);var y=this;Mf(a,function(x){gh(y,x)}),(a instanceof Yo||a instanceof Xr&&a.placeholder!==null)&&a.v(),a.data!==null&&Mf(a,function(x){dy(y.partManager,x)}),iu(a)!==!0&&Yh(a)!==!0||this.De.add(a),Z1(a,!0,this),V1(a)?(a.actualBounds.w()&&this.N(Nf(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Nf(a,a.actualBounds)),this.$b()},Ce.pc=function(a){a.Ej(),this.partManager.pc(a);var y=this;a.data!==null&&Mf(a,function(x){hy(y.partManager,x,y)}),this.De.remove(a),V1(a)?(a.actualBounds.w()&&this.N(Nf(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Nf(a,a.actualBounds)),this.$b()},Ce.remove=function(a){Jd(this,a,!0)};function Jd(a,y,x){var b=y.layer;b!==null&&b.diagram===a&&(y.isSelected=!1,y.isHighlighted=!1,y.C(2),x&&y.Lj(),x=b.pc(-1,y,!1),0<=x&&a.cb(Mi,"parts",b,y,null,x,null),a=y.layerChanged,a!==null&&a(y,b,null))}Ce.Is=function(a,y){if(y===void 0&&(y=!1),Sn(a))for(var x=a.length,b=0;bb&&this.Ya(),this},Ce.Cy=function(a,y){Kf(this,a,y),a.Xe(this);var x=this.Wa,b=x.indexOf(a);0<=b&&(x.remove(a),this.cc!==null&&this.cb(Mi,"layers",this,a,null,b,null));var E=x.count,z;for(z=0;zb&&this.Ya(),this},Ce.kA=function(a){if(a.diagram!==this&&Et("Cannot remove a Layer from another Diagram: "+a+" of "+a.diagram),a.name!==""){var y=this.Wa,x=y.indexOf(a);if(y.remove(a)){for(y=a.Pa.copy().iterator;y.next();){var b=y.value,E=b.layerName;E!==a.name?b.layerName=E:b.layerName=""}this.cc!==null&&this.cb(Mi,"layers",this,a,null,x,null),this.N(),this.Ya()}}},Ce.Qj=function(a){for(var y=this.layers;y.next();){var x=y.value;if(x.name===a)return x}return null},Ce.Yw=function(a){return this.pf===null&&(this.pf=new kn),this.pf.add(a),this.model.Pe(a),this},Ce.mA=function(a){this.pf!==null&&(this.pf.remove(a),this.pf.count===0&&(this.pf=null)),this.model.ik(a)},Ce.Pe=function(a){return this.zg===null&&(this.zg=new kn),this.zg.add(a),this},Ce.ik=function(a){this.zg!==null&&(this.zg.remove(a),this.zg.count===0&&(this.zg=null))},Ce.ds=function(a){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(a),a.change!==Zn&&(this.isModified=!0),this.zg!==null)for(var y=this.zg,x=y.length,b=0;bfe.Pa.indexOf(Ee)&&fe.oi(xe,Ee,Ae):(Ee.isSelected=!1,Ee.isHighlighted=!1,Ee.Wb(),fe.pc(Ae?xe:-1,Ee,Ae)))}else fe instanceof pn?typeof xe=="number"&&Ee instanceof za&&(y?(Ee.Xe(this),this.Wa.Gb(xe,Ee)):this.Wa.mb(xe)):Et("unknown ChangedEvent.Remove object: "+a.toString());this.isModified=!0}else b!==Zn&&Et("unknown ChangedEvent: "+a.toString())}finally{this.skipsModelSourceBindings=x}}},pn.prototype.Ea=function(a){return this.undoManager.Ea(a)},pn.prototype.eb=function(a){return this.undoManager.eb(a)},pn.prototype.Kf=function(){return this.undoManager.Kf()},pn.prototype.commit=function(a,y){y===void 0&&(y="");var x=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var b=!1;try{a(this),b=!0}finally{b?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=x}},pn.prototype.updateAllTargetBindings=function(a){this.partManager.updateAllTargetBindings(a)},pn.prototype.rp=function(){this.partManager.rp()};function Sf(a,y,x){var b=a.animationManager;if(a.vb||a.ld)a.Ca=x,Hc(a),a.N(),a.Ee=!0,b.zb&&(Vs(b)||b.ce.add(b.H,"scale",y,a.Ca));else if(a.ta===null)a.Ca=x,Hc(a);else{a.vb=!0;var E=a.viewportBounds.copy(),z=a.Aa,ee=a.ya,re=a.zoomPoint.x,oe=a.zoomPoint.y,le=a.contentAlignment;isNaN(re)&&(le.$c()?le.Hf(yl)?re=0:le.Hf(rl)&&(re=z-1):re=le.sb()?le.x*(z-1):z/2),isNaN(oe)&&(le.$c()?le.Hf(fu)?oe=0:le.Hf(Sl)&&(oe=ee-1):oe=le.sb()?le.y*(ee-1):ee/2),a.scaleComputation===null||a.animationManager.defaultAnimation.isAnimating||(x=a.scaleComputation(a,x)),xa.maxScale&&(x=a.maxScale),z=Qe.allocAt(a.pa.x+re/y-re/x,a.pa.y+oe/y-oe/x),a.position=z,Qe.free(z),a.Ca=x,Hc(a),a.vb=!1,a.onViewportBoundsChanged(E,a.viewportBounds,y,!1),Nu(a,!1),b.zb&&(Vs(b)||b.ce.add(b.H,"scale",y,a.Ca))}}pn.prototype.onViewportBoundsChanged=function(a,y,x,b){if(!a.D(y)){b===void 0&&(b=!1),b||(this.Ee=!0),this.vd=!0;var E=this.layout;E===null||!E.isViewportSized||this.autoScale!==Yl||a.width===y.width&&a.height===y.height||E.C(),E=this.currentTool,this.Vk===!0&&E instanceof ni&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),$i(E,this)),this.vb||this.invalidateViewport(a,y),Ec(this),this.fc.scale=x,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.canvasSize.width=Math.round(a.width*x),this.fc.canvasSize.height=Math.round(a.height*x),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=b,this.R("ViewportBoundsChanged",this.fc,a),this.isVirtualized&&this.links.each(function(z){z.isAvoiding&&z.actualBounds.Yc(y)&&z.bb()})}};function Ec(a,y){var x=a.fe;if(x!==null&&x.visible){for(var b=zn.alloc(),E=1,z=1,ee=x.O.s,re=ee.length,oe=0;oeue||(Sv(le.figure)?z=z*ue/Kt.vx(z,ue):E=E*ue/Kt.vx(E,ue))}if(ee=x.gridCellSize,b.h(z*ee.width,E*ee.height),y!==void 0)E=y.width,z=y.height,a=y.x,ee=y.y;else{if(y=Cn.alloc(),a=a.viewportBounds,y.h(a.x,a.y,a.width,a.height),!y.w()){Cn.free(y);return}E=y.width,z=y.height,a=y.x,ee=y.y,Cn.free(y)}x.width=E+2*b.width,x.height=z+2*b.height,y=Qe.alloc(),Kt.No(a,ee,0,0,b.width,b.height,y),y.offset(-b.width,-b.height),zn.free(b),x.part.location=y,Qe.free(y)}}pn.prototype.clearSelection=function(a){a===void 0&&(a=!1);var y=this.selection;if(y.count!==0){a||this.R("ChangingSelection",y);for(var x=y.Fa(),b=x.length,E=0;E=b&&!z.defaultAnimation.isAnimating&&!z.zb&&(y||Ua(z,"Layout")),a.xh=!1;for(var ee=a.ai.iterator;ee.next();)Uf(a,ee.value,y,b);E.isValidLayout||(!y||E.isRealtime||E.isRealtime===null||b===0?(E.doLayout(a),sl(a),E.isValidLayout=!0):a.xh=!0)}finally{y=a.undoManager.isInternalTransaction,b===0&&(a.eb("Layout"),a.undoManager.isInternalTransaction=!1),!y||b!==0&&b!==1||Do(z),a.aa=x}}}function Uf(a,y,x,b){if(y!==null){for(var E=y.gl.iterator;E.next();)Uf(a,E.value,x,b);E=y.layout,E===null||E.isValidLayout||(!x||E.isRealtime||b===0?(y.rh=!y.location.w(),E.doLayout(y),y.C(32),Va(a,y),E.isValidLayout=!0):a.xh=!0)}}Ce.yz=function(){for(var a=new kn,y=this.nodes;y.next();){var x=y.value;x.isTopLevel&&x.kh()===null&&a.add(x)}return a.iterator};function up(a){function y(E){var z=E.toLowerCase(),ee=new kn;x.add(E,ee),x.add(z,ee),b.add(E,E),b.add(z,E)}var x=new Ii,b=new Ii;y("InitialAnimationStarting"),y("AnimationStarting"),y("AnimationFinished"),y("BackgroundSingleClicked"),y("BackgroundDoubleClicked"),y("BackgroundContextClicked"),y("ClipboardChanged"),y("ClipboardPasted"),y("DocumentBoundsChanged"),y("ExternalObjectsDropped"),y("GainedFocus"),y("InitialLayoutCompleted"),y("LayoutCompleted"),y("LinkDrawn"),y("LinkRelinked"),y("LinkReshaped"),y("LostFocus"),y("Modified"),y("ObjectSingleClicked"),y("ObjectDoubleClicked"),y("ObjectContextClicked"),y("PartCreated"),y("PartResized"),y("PartRotated"),y("SelectionMoved"),y("SelectionCopied"),y("SelectionDeleting"),y("SelectionDeleted"),y("SelectionGrouped"),y("SelectionUngrouped"),y("ChangingSelection"),y("ChangedSelection"),y("SubGraphCollapsed"),y("SubGraphExpanded"),y("TextEdited"),y("TreeCollapsed"),y("TreeExpanded"),y("ViewportBoundsChanged"),y("InvalidateDraw"),a.iw=x,a.hw=b}function us(a,y){var x=a.hw.I(y);return x!==null?x:a.hw.I(y.toLowerCase())}function Go(a,y){var x=a.iw.I(y);if(x!==null||(x=a.iw.I(y.toLowerCase()),x!==null))return x;Et("Unknown DiagramEvent name: "+y)}Ce.Bj=function(a,y){return a=Go(this,a),a!==null&&a.add(y),this},Ce.am=function(a,y){a=Go(this,a),a!==null&&a.remove(y)},Ce.R=function(a,y,x){var b=Go(this,a),E=new hn;if(E.diagram=this,a=us(this,a),a!==null&&(E.name=a),y!==void 0&&(E.subject=y),x!==void 0&&(E.parameter=x),y=b.length,y===1)b.M(0)(E);else if(y!==0)for(b=b.Fa(),x=0;x=x.top&&0>=x.left&&0>=x.right&&0>=x.bottom)return y;var b=this.viewportBounds,E=this.scale;b=Cn.allocAt(0,0,b.width*E,b.height*E);var z=Qe.allocAt(0,0);if(a.x>=b.x&&a.xb.x+b.width-x.right&&this.allowHorizontalScroll&&(ee=Math.max(this.scrollHorizontalLineChange,1),ee|=0,z.x+=ee,a.x>b.x+b.width-x.right/2&&(z.x+=ee),a.x>b.x+b.width-x.right/4&&(z.x+=4*ee));return a.y>=b.y&&a.yb.y+b.height-x.bottom&&this.allowVerticalScroll&&(ee=Math.max(this.scrollVerticalLineChange,1),ee|=0,z.y+=ee,a.y>b.y+b.height-x.bottom/2&&(z.y+=ee),a.y>b.y+b.height-x.bottom/4&&(z.y+=4*ee)),z.Xa(pt)||(y=new Qe(y.x+z.x/E,y.y+z.y/E)),Cn.free(b),Qe.free(z),y},Ce=pn.prototype,Ce.Cs=function(){return null},Ce.av=function(){return null},Ce.bs=function(a,y){this.pj.add(a,y)},Ce.Fu=function(a){(this.Pw=a)||this.nodes.each(function(y){y instanceof Xr&&(y.$p=null)})};function Ac(a,y,x){function b(){var ue=+new Date;for(z=!0,ee.reset();ee.next();)if(!ee.value[0].al){z=!1;break}z||ue-le>oe?y(x,E,re):Ye.requestAnimationFrame(b)}for(var E=x.callback,z=!0,ee=a.Og.iterator;ee.next();)if(!ee.value[0].al){z=!1;break}if(typeof E!="function"||z)return y(x,E,a);var re=a,oe=x.callbackTimeout||300,le=+new Date;return Ye.requestAnimationFrame(function(){b()}),null}Ce.Wz=function(a){return cs?(a===void 0&&(a={}),a.returnType="Image",this.Jx(a)):null},Ce.Jx=function(a){return a===void 0&&(a={}),Ac(this,this.Xz,a)},Ce.Xz=function(a,y,x){var b=ph(x,a,"canvas",null);if(b===null)return null;x=b.Z.canvas;var E=null;if(x!==null)switch(E=a.returnType,E===void 0?E="string":E=E.toLowerCase(),E){case Cf+"data":E=b.getImageData(0,0,x.width,x.height);break;case Cf:b=(a.document||document).createElement("img"),b.src=x.toDataURL(a.type,a.details),E=b;break;case"blob":return typeof y!="function"&&Et('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof x.toBlob=="function"?(x.toBlob(y,a.type,a.details),"toBlob"):(y(null),null);default:E=x.toDataURL(a.type,a.details)}return typeof y=="function"?(y(E),null):E};function ph(a,y,x,b){if(a.animationManager.Cc(),a.bd(),a.ta===null)return null;typeof y!="object"&&Et("properties argument must be an Object.");var E=y.size||null,z=y.scale||null;y.scale!==void 0&&isNaN(y.scale)&&(z="NaN");var ee=y.maxSize;y.maxSize===void 0&&(ee=x==="SVG"?new zn(1/0,1/0):new zn(2e3,2e3));var re=y.position||null,oe=y.parts||null,le=y.padding===void 0?1:y.padding,ue=y.background||null,fe=y.omitTemporary;fe===void 0&&(fe=!0);var xe=y.document||document,Ee=y.elementFinished||null,Ae=y.showTemporary;Ae===void 0&&(Ae=!fe),y=y.showGrid,y===void 0&&(y=Ae),E!==null&&isNaN(E.width)&&isNaN(E.height)&&(E=null),typeof le=="number"?le=new Vi(le):le instanceof Vi||Et("MakeImage padding must be a Margin or a number."),le.left=Math.max(le.left,0),le.right=Math.max(le.right,0),le.top=Math.max(le.top,0),le.bottom=Math.max(le.bottom,0),a.ib.Vc(!0),fe=new Fc(null,xe,void 0,!0);var Te=fe.context;if(!(E||z||oe||re))return fe.width=a.Aa+Math.ceil(le.left+le.right),fe.height=a.ya+Math.ceil(le.top+le.bottom),x==="SVG"?b===null?null:(b.resize(fe.width,fe.height,fe.width,fe.height),b.ownerDocument=xe,b.hs=Ee,Es(a,b.context,le,new zn(fe.width,fe.height),a.Ca,a.pa,oe,ue,Ae,y),b.context):(a.Xm=!1,Es(a,Te,le,new zn(fe.width,fe.height),a.Ca,a.pa,oe,ue,Ae,y),a.Xm=!0,fe.context);var ot=a.Pp,Ue=a.documentBounds.copy();if(Ue.Fv(a.yb),Ae)for(var St=a.Wa.s,Ct=St.length,Ft=0;Ftot?(z=ot,E=Ue.width,Ue=Ue.height):(E=ee.width,Ue=ee.height)):(E=Ue.width*z,Ue=Ue.height*z):(z=ot,E=Ue.width,Ue=Ue.height),le!==null?(E+=re,Ue+=Ct):le=new Vi(0),ee!==null&&(ot=ee.width,ee=ee.height,isNaN(ot)&&(ot=2e3),isNaN(ee)&&(ee=2e3),isFinite(ot)&&(E=Math.min(E,ot)),isFinite(ee)&&(Ue=Math.min(Ue,ee))),fe.width=Math.ceil(E),fe.height=Math.ceil(Ue),x==="SVG"?b===null?null:(b.resize(fe.width,fe.height,fe.width,fe.height),b.ownerDocument=xe,b.hs=Ee,Es(a,b.context,le,new zn(Math.ceil(E),Math.ceil(Ue)),z,St,oe,ue,Ae,y),b.context):(a.Xm=!1,Es(a,Te,le,new zn(Math.ceil(E),Math.ceil(Ue)),z,St,oe,ue,Ae,y),a.Xm=!0,fe.context)}tt.Object.defineProperties(pn.prototype,{renderer:{get:function(){return this.nl},set:function(a){this instanceof me||(a===""&&(a="default"),a=a.toLowerCase(),a!==this.nl&&(this.nl=a,a==="default"||a==="canvas"?(a=this.pj.get("svg"),a!==null&&a.Oa.remove(),this.ta&&(this.ib=this.ta.context)):a==="svg"?(this.pj.contains("svg")?a=this.pj.get("svg"):(a=new vd(this,Ye.document),this.bs("svg",a)),this.div!==null&&this.div.appendChild(a.Oa),this.ib=a.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):a!=="debug"||this.pj.contains("SVG")||(a=new vd(this,Ye.document),this.bs("SVG",a),a.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(a.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(a){if(this.Ka!==a){var y=this.Ka;y!==null?(y.H=void 0,y.goDiagram=void 0,y.go=void 0,y.innerHTML="",this.ta!==null&&(y=this.ta.Oa,this.removeEventListener(y,"pointermove",this.dk,!1),this.removeEventListener(y,"pointerdown",this.ui,!1),this.removeEventListener(y,"pointerup",this.fk,!1),this.removeEventListener(y,"pointerout",this.ek,!1),this.removeEventListener(y,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),y=this.toolManager,y!==null&&(y.mouseDownTools.each(function(x){x.cancelWaitAfter()}),y.mouseMoveTools.each(function(x){x.cancelWaitAfter()}),y.mouseUpTools.each(function(x){x.cancelWaitAfter()})),y.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(Ye,"resize",this.Ov,!1),this.removeEventListener(Ye,"wheel",this.$j,!0),bc===this&&(bc=null)):this.ui===null&&(this.hf=!1),this.Ka=null,a!==null&&((y=a.H)&&(y.div=null),zc(this,a),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(a){this.nt!==a&&(this.nt=a,a!==null&&(this.Vt=a.fromPort,this.Wt=a.toPort))}},Mx:{get:function(){return this.Vt},set:function(a){this.Vt=a}},Nx:{get:function(){return this.Wt},set:function(a){this.Wt=a}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a,this.cc.skipsUndoManager=a}},delaysLayout:{get:function(){return this.lt},set:function(a){this.lt=a}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1a&&Qn(a,">= 0",pn,"scrollHorizontalLineChange"),this.iu=a,this.g("scrollHorizontalLineChange",y,a))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(a){var y=this.mu;y!==a&&(0>a&&Qn(a,">= 0",pn,"scrollVerticalLineChange"),this.mu=a,this.g("scrollVerticalLineChange",y,a))}},lastInput:{get:function(){return this.cj},set:function(a){this.cj=a}},previousInput:{get:function(){return this.Qg},set:function(a){this.Qg=a}},firstInput:{get:function(){return this.bq},set:function(a){this.bq=a}},currentCursor:{get:function(){return this.it},set:function(a){if(a===""&&(a=this.Op),this.it!==a){var y=this.ta,x=this.Ka;if(y!==null&&x!==null){this.it=a;var b=y.style.cursor;y.style.cursor=a,x.style.cursor=a,y.style.cursor===b&&(y.style.cursor="-webkit-"+a,x.style.cursor="-webkit-"+a,y.style.cursor===b&&(y.style.cursor="-moz-"+a,x.style.cursor="-moz-"+a,y.style.cursor===b&&(y.style.cursor=a,x.style.cursor=a)))}}}},defaultCursor:{get:function(){return this.Op},set:function(a){a===""&&(a="auto");var y=this.Op;y!==a&&(this.Op=a,this.g("defaultCursor",y,a))}},click:{get:function(){return this.zh},set:function(a){var y=this.zh;y!==a&&(this.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.Fh},set:function(a){var y=this.Fh;y!==a&&(this.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.Bh},set:function(a){var y=this.Bh;y!==a&&(this.Bh=a,this.g("contextClick",y,a))}},mouseOver:{get:function(){return this.Qh},set:function(a){var y=this.Qh;y!==a&&(this.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.Oh},set:function(a){var y=this.Oh;y!==a&&(this.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.Nh},set:function(a){var y=this.Nh;y!==a&&(this.Nh=a,this.g("mouseHold",y,a))}},mouseDragOver:{get:function(){return this.Qt},set:function(a){var y=this.Qt;y!==a&&(this.Qt=a,this.g("mouseDragOver",y,a))}},mouseDrop:{get:function(){return this.Lh},set:function(a){var y=this.Lh;y!==a&&(this.Lh=a,this.g("mouseDrop",y,a))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(a){var y=this.xt;y!==a&&(this.xt=a,this.g("handlesDragDropForTopLevelParts",y,a))}},mouseEnter:{get:function(){return this.Mh},set:function(a){var y=this.Mh;y!==a&&(this.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.Ph},set:function(a){var y=this.Ph;y!==a&&(this.Ph=a,this.g("mouseLeave",y,a))}},toolTip:{get:function(){return this.$h},set:function(a){var y=this.$h;y!==a&&(this.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.Ch},set:function(a){var y=this.Ch;y!==a&&(this.Ch=a,this.g("contextMenu",y,a))}},commandHandler:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a,a.Xe(this))}},toolManager:{get:function(){return this.te},set:function(a){this.te!==a&&(this.te=a,a.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(a){var y=this.ob;y!==a&&(this.ob=a,a.diagram=this,this.currentTool===y&&(this.currentTool=a))}},currentTool:{get:function(){return this.hb},set:function(a){var y=this.hb;y&&(y.isActive&&y.doDeactivate(),y.cancelWaitAfter(),y.doStop()),a===null&&(a=this.defaultTool),a!==null&&(this.hb=a,a.diagram=this,a.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(a){var y=this.Nt;if(y!==a)if(0<=a&&!isNaN(a)){if(this.Nt=a,this.g("maxSelectionCount",y,a),!this.undoManager.isUndoingRedoing&&(a=this.selection.count-a,0= 0",pn,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(a){var y=this.St;y!==a&&(this.St=a,this.g("nodeSelectionAdornmentTemplate",y,a))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(a){var y=this.wt;y!==a&&(this.wt=a,this.g("groupSelectionAdornmentTemplate",y,a))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(a){var y=this.Kt;y!==a&&(this.Kt=a,this.g("linkSelectionAdornmentTemplate",y,a))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var a=this.undoManager;return a.isEnabled?a.currentTransaction!==null?!0:this.rn&&this.Ce!==a.historyIndex:this.rn},set:function(a){if(this.rn!==a){this.rn=a;var y=this.undoManager;!a&&y.isEnabled&&(this.Ce=y.historyIndex),a||wg(this)}}},model:{get:function(){return this.cc},set:function(a){var y=this.cc;if(y!==a){this.currentTool.doCancel(),y&&y.undoManager!==a.undoManager&&y.undoManager.isInTransaction&&Et("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var x=bd(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var b=this.vb;this.vb=!0,Ua(this.animationManager,"Model"),y&&(this.pf!==null&&this.pf.each(function(z){return y.ik(z)}),y.ik(this.Oc)),this.cc=a,this.partManager=Vf(this.cc.type);for(var E=0;Ethis.scale&&(this.scale=a)):Qn(a,"> 0",pn,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(a){var y=this.Mt;y!==a&&(0 0",pn,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(a){this.zu.D(a)||(this.zu=a=a.J())}},contentAlignment:{get:function(){return this.zk},set:function(a){var y=this.zk;y.D(a)||(this.zk=a=a.J(),this.g("contentAlignment",y,a),Nu(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(a){var y=this.pq;y.D(a)||(this.pq=a=a.J(),this.g("initialContentAlignment",y,a))}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new Vi(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.Ya(),this.g("padding",y,a))}},partManager:{get:function(){return this.Pc},set:function(a){var y=this.Pc;y!==a&&(a.diagram!==null&&Et("Cannot share PartManagers between Diagrams: "+a.toString()),y&&y.Xe(null),this.Pc=a,a.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;y!==a&&(this.Sc=a,a.diagram=this,a.group=null,this.xh=!0,this.g("layout",y,a),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(a){var y=this.Ht;if(y!==a&&(this.Ht=a,this.g("isTreePathToChildren",y,a),!this.undoManager.isUndoingRedoing))for(a=this.nodes;a.next();)Lp(a.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(a){var y=this.uu;y!==a&&(a!==vh&&a!==js&&a!==Pg&&Et("Unknown Diagram.treeCollapsePolicy: "+a),this.uu=a,this.g("treeCollapsePolicy",y,a))}},Ue:{get:function(){return this.pw},set:function(a){this.pw=a}},avoidanceCellSize:{get:function(){return this.aw},set:function(a){this.Xh=null,this.aw=new zn(Math.max(1,a.width),Math.max(1,a.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(a){this.bw=Math.max(1,a)}},autoScrollInterval:{get:function(){return this.vp},set:function(a){var y=this.vp;y!==a&&(this.vp=a,this.g("autoScrollInterval",y,a))}},autoScrollRegion:{get:function(){return this.xp},set:function(a){typeof a=="number"&&(a=new Vi(a));var y=this.xp;y.D(a)||(this.xp=a=a.J(),this.Ya(),this.g("autoScrollRegion",y,a))}}}),tt.Object.defineProperties(pn,{licenseKey:{get:function(){return pp.jc()},set:function(a){pp.add(a.replace(/\s/g,""))}},version:{get:function(){return Pf}}}),pn.prototype.makeImageData=pn.prototype.Jx,pn.prototype.makeImage=pn.prototype.Wz,pn.prototype.cacheGroupExternalLinks=pn.prototype.Fu,pn.prototype.addRenderer=pn.prototype.bs,pn.prototype.makeSVG=pn.prototype.av,pn.prototype.makeSvg=pn.prototype.Cs,pn.prototype.stopAutoScroll=pn.prototype.ug,pn.prototype.doAutoScroll=pn.prototype.gs,pn.prototype.isUnoccupied=pn.prototype.Yj,pn.prototype.raiseDiagramEvent=pn.prototype.R,pn.prototype.removeDiagramListener=pn.prototype.am,pn.prototype.addDiagramListener=pn.prototype.Bj,pn.prototype.findTreeRoots=pn.prototype.yz,pn.prototype.layoutDiagram=pn.prototype.Uz,pn.prototype.findTopLevelGroups=pn.prototype.qz,pn.prototype.findTopLevelNodesAndLinks=pn.prototype.rz,pn.prototype.ensureBounds=pn.prototype.Va,pn.prototype.findLinksByExample=pn.prototype.ls,pn.prototype.findNodesByExample=pn.prototype.ms,pn.prototype.findLinkForData=pn.prototype.Kc,pn.prototype.findNodeForData=pn.prototype.ii,pn.prototype.findPartForData=pn.prototype.Lc,pn.prototype.findLinkForKey=pn.prototype.findLinkForKey,pn.prototype.findNodeForKey=pn.prototype.Vb,pn.prototype.findPartForKey=pn.prototype.findPartForKey,pn.prototype.rebuildParts=pn.prototype.Wd,pn.prototype.transformViewToDoc=pn.prototype.Ps,pn.prototype.transformRectDocToView=pn.prototype.zA,pn.prototype.transformDocToView=pn.prototype.op,pn.prototype.centerRect=pn.prototype.es,pn.prototype.scrollToRect=pn.prototype.tv,pn.prototype.scroll=pn.prototype.scroll,pn.prototype.highlightCollection=pn.prototype.Jz,pn.prototype.highlight=pn.prototype.Iz,pn.prototype.selectCollection=pn.prototype.rA,pn.prototype.select=pn.prototype.select,pn.prototype.updateAllRelationshipsFromData=pn.prototype.rp,pn.prototype.updateAllTargetBindings=pn.prototype.updateAllTargetBindings,pn.prototype.commit=pn.prototype.commit,pn.prototype.rollbackTransaction=pn.prototype.Kf,pn.prototype.commitTransaction=pn.prototype.eb,pn.prototype.startTransaction=pn.prototype.Ea,pn.prototype.raiseChanged=pn.prototype.g,pn.prototype.raiseChangedEvent=pn.prototype.cb,pn.prototype.removeChangedListener=pn.prototype.ik,pn.prototype.addChangedListener=pn.prototype.Pe,pn.prototype.removeModelChangedListener=pn.prototype.mA,pn.prototype.addModelChangedListener=pn.prototype.Yw,pn.prototype.findLayer=pn.prototype.Qj,pn.prototype.removeLayer=pn.prototype.kA,pn.prototype.addLayerAfter=pn.prototype.Cy,pn.prototype.addLayerBefore=pn.prototype.Ww,pn.prototype.addLayer=pn.prototype.Al,pn.prototype.moveParts=pn.prototype.moveParts,pn.prototype.copyParts=pn.prototype.Kj,pn.prototype.removeParts=pn.prototype.Is,pn.prototype.remove=pn.prototype.remove,pn.prototype.add=pn.prototype.add,pn.prototype.clearDelayedGeometries=pn.prototype.bx,pn.prototype.setProperties=pn.prototype.nm,pn.prototype.attach=pn.prototype.Du,pn.prototype.set=pn.prototype.set,pn.prototype.resetInputOptions=pn.prototype.Sx,pn.prototype.setInputOption=pn.prototype.sA,pn.prototype.getInputOption=pn.prototype.Ql,pn.prototype.resetRenderingHints=pn.prototype.Tx,pn.prototype.setRenderingHint=pn.prototype.Xx,pn.prototype.getRenderingHint=pn.prototype.Gf,pn.prototype.maybeUpdate=pn.prototype.bd,pn.prototype.requestUpdate=pn.prototype.$b,pn.prototype.delayInitialization=pn.prototype.Xy,pn.prototype.isUpdateRequested=pn.prototype.Pz,pn.prototype.invalidateDocumentBounds=pn.prototype.Ya,pn.prototype.findObjectsNear=pn.prototype.og,pn.prototype.findPartsNear=pn.prototype.mz,pn.prototype.findObjectsIn=pn.prototype.Cf,pn.prototype.findPartsIn=pn.prototype.ux,pn.prototype.findObjectsAt=pn.prototype.ji,pn.prototype.findPartsAt=pn.prototype.lz,pn.prototype.findObjectAt=pn.prototype.ic,pn.prototype.findPartAt=pn.prototype.Ol,pn.prototype.focusObject=pn.prototype.zz,pn.prototype.alignDocument=pn.prototype.Jy,pn.prototype.zoomToRect=pn.prototype.BA,pn.prototype.zoomToFit=pn.prototype.zoomToFit,pn.prototype.diagramScroll=pn.prototype.kx,pn.prototype.focus=pn.prototype.focus;var nd=new Ii,Lc=null,cs=Ye.document!==void 0,wf=null,Kh="",Yl=new Xt(pn,"None",0),$u=new Xt(pn,"Uniform",1),Vh=new Xt(pn,"UniformToFill",2),Xf=new Xt(pn,"CycleAll",10),cp=new Xt(pn,"CycleNotDirected",11),dp=new Xt(pn,"CycleNotDirectedFast",12),hp=new Xt(pn,"CycleNotUndirected",13),fp=new Xt(pn,"CycleDestinationTree",14),gp=new Xt(pn,"CycleSourceTree",15),mh=new Xt(pn,"DocumentScroll",1),Jf=new Xt(pn,"InfiniteScroll",2),vh=new Xt(pn,"TreeParentCollapsed",21),js=new Xt(pn,"AllParentsCollapsed",22),Pg=new Xt(pn,"AnyParentsCollapsed",23),pp=new kn,Pf="2.3.10",Cf="image",Qf=null,fm=!1;function Wl(){if(cs){var a=Ye.document.createElement("canvas"),y=a.getContext("2d"),x=Ai("7ca11abfd022028846");y[x]=Ai("398c3597c01238");for(var b=["5da73c80a36455d7038e4972187c3cae51fd22",an.Dx+"4ae6247590da4bb21c324ba3a84e385776",Rr.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",Kt.za],E=1;5>E;E++)y[Ai("7ca11abfd7330390")](Ai(b[E-1]),10,15*E);for(y[x]=Ai("39f046ebb36e4b"),x=1;5>x;x++)y[Ai("7ca11abfd7330390")](Ai(b[x-1]),10,15*x);(b.length!==4||b[0][0]!=="5"||b[3][0]!=="7")&&(Rr.prototype.Cd=Rr.prototype.Eu),Qf=a}}pn.className="Diagram",pn.fromDiv=function(a){var y=a;return typeof a=="string"&&(y=Ye.document.getElementById(a)),y instanceof HTMLDivElement&&y.H instanceof pn?y.H:null},pn.inherit=function(a,y){function x(){}if(Object.getPrototypeOf(a).prototype)throw Error(`Used go.Diagram.inherit defining already defined class `+a);x.prototype=y.prototype,a.prototype=new x,a.prototype.constructor=a},pn.useDOM=function(a){cs=a?Ye.document!==void 0:!1},pn.isUsingDOM=function(){return cs},pn.None=Yl,pn.Uniform=$u,pn.UniformToFill=Vh,pn.CycleAll=Xf,pn.CycleNotDirected=cp,pn.CycleNotDirectedFast=dp,pn.CycleNotUndirected=hp,pn.CycleDestinationTree=fp,pn.CycleSourceTree=gp,pn.DocumentScroll=mh,pn.InfiniteScroll=Jf,pn.TreeParentCollapsed=vh,pn.AllParentsCollapsed=js,pn.AnyParentsCollapsed=Pg;function gm(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function bf(a,y){if(y.ib.setTransform(y.Mb,0,0,y.Mb,0,0),y.ib.yc(),a.Rc===null)e:{y="f";var x=Ye[Ai("76a715b2f73f148a")][Ai("72ba13b5")]||"";if(a.Rc=!0,cs){var b=pn[Ai("76a115b6ed251eaf4692")];if(b)for(var E=pp.iterator;E.next()&&(b=E.value,b=Ai(b).split(Ai("39e9")),!(6>b.length));){var z=Ai(b[1]).split(".");if(b[4]!=="7da71ca0")break;var ee=Ai(an[Ai("6cae19")]).split(".");if(z[0]>ee[0]||z[0]===ee[0]&&z[1]>=ee[1]){var re=Ye[Ai("74a900bae4370f8b51")][Ai("6fbb13a1c2311e8a57")].toLowerCase();if(ee=re[Ai("73a612b6fb191d")](Ai("3aad1ab6e022098b4dc4")),z=Ai(b[2]),-1ee&&z!==Ai("7da71ca0ad381e90")&&(ee=y[Ai("73a612b6fb191d")](Ai("76a715b2ef3e149757"))),0>ee&&(ee=y[Ai("73a612b6fb191d")](Ai("76a715b2ef3e149757"))),0>ee&&(ee=y[Ai("73a612b6fb191d")](Ai("2bfa41fdb3784bca12"))),0>ee&&(ee=x[Ai("73a612b6fb191d")](Ai("7baa19a6f76c1988428554"))),a.Rc=!(0<=ee&&eere),!a.Rc)))break;if(z[0]==="#"){ee=Ye.document.createElement("div");for(var oe=b[0].replace(/[A-Za-z]/g,"");4>oe.length;)oe+="9";if(re=oe,oe=oe.substr(oe.length-4),b="",b+=["gsh","gsf"][parseInt(oe.substr(0,1),10)%2],b+=["Header","Background","Display","Feedback"][parseInt(oe.substr(0,1),10)%4],ee[Ai("79a417a0f0181a8946")]=b,Ye.document[Ai("78a712aa")]){Ye.document[Ai("78a712aa")][Ai("7bb806b6ed32388c4a875b")](ee),oe=Ye.getComputedStyle(ee).getPropertyValue(Ai("78a704b7e62456904c9b12701b6532a8"));var le=Ye.getComputedStyle(ee).getPropertyValue(Ai("75b817b0ea2202"));if(Ye.document[Ai("78a712aa")][Ai("68ad1bbcf533388c4a875b")](ee),oe){if(ee=Ye[Ai("77a902b0eb1b1e804a8a")],le==="0."+parseInt(re,10)%100||oe.indexOf(parseInt(z[1]+z[2],16))!==-1&&oe.indexOf(parseInt(z[3]+z[4],16))!==-1){a.Rc=!1;break}else if(ee&&ee(Ai("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(b="."+b,z=0;zb.updateDelay?b.N():b.o||(b.o=!0,setTimeout(function(){return b.redraw()},b.updateDelay))},x.Of=function(){b.observed!==null&&Ze(b)},x.autoScale=$u,x.vb=!1,y&&Object.assign(x,y),x}bt(me,pn),me.prototype.computePixelRatio=function(){return 1},me.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var a=this.ta,y=this.ib;if(a!==null&&y!==null){if(Bu(this),this.ql===null){var x=new Fc(null);x.width=a.width,x.height=a.height,this.ql=x}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),Ne(this)}finally{this.ta=a,this.ib=y}}}pn.prototype.redraw.call(this)},me.prototype.gc=function(){if(this.Ka===null&&Et("No div specified"),this.ta===null&&Et("No canvas specified"),!(this.ta instanceof vd)&&(jv(this.box),this.Fc)){var a=this.observed;if(a!==null&&!a.animationManager.defaultAnimation.isAnimating&&a.pi){Bu(this);var y=this.ta;a=this.ib,a.Vc(!0),a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,y.width,y.height),1>this.updateDelay?Ne(this):this.ql!==null&&(a.drawImage(this.ql.Oa,0,0),y=this.Ab,y.reset(),this.scale!==1&&y.scale(this.scale),this.position.x===0&&this.position.y===0||y.translate(-this.position.x,-this.position.y),a.scale(this.Mb,this.Mb),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.yc()),y=this.Wa.s;for(var x=y.length,b=0;ba&&(a=0),this.ia!==a&&(this.ia=a)}}}),me.className="Overview";function at(){lr.call(this),this.j=null}bt(at,lr),at.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||!a.allowMove||!a.allowSelect)return!1;var y=a.observed;if(y===null)return!1;var x=a.lastInput;return!x.left||a.currentTool!==this&&(!this.isBeyondDragSize()||x.isTouchEvent&&x.timestamp-a.firstInput.timestampy.maxScale||(y.scale=a))},rt.prototype.canDecreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;return y.autoScale!==Yl?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},rt.prototype.increaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;y.autoScale===Yl&&(a=y.scale*a,ay.maxScale||(y.scale=a))},rt.prototype.canIncreaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;return y.autoScale!==Yl?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},rt.prototype.resetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;ay.maxScale||(y.scale=a)},rt.prototype.canResetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;return ay.maxScale?!1:y.allowZoom},rt.prototype.zoomToFit=function(){var a=this.diagram,y=a.animationManager;y.Cc(),a.redraw();var x=a.position,b=a.scale;Ua(y,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&b===this.Au&&!isNaN(this.Jt)&&a.documentBounds.D(this.yu)?(a.scale=this.Jt,a.position=this.sw,this.Au=NaN,this.yu=no):(this.Jt=b,this.sw=x.copy(),a.zoomToFit(),this.Au=a.scale,this.yu=a.documentBounds.copy()),Do(y)},rt.prototype.canZoomToFit=function(){return this.diagram.allowZoom},rt.prototype.scrollToPart=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.Va(),a===null){try{this.cg!==null&&(this.cg.next()?a=this.cg.value:this.cg=null)}catch(oe){this.cg=null}a===null&&(0a&&(a+=360)),a},Ce.Df=function(){if(!(this.l&4096))return this.Kk;var a=this.Ca;return this.panel!==null?a*this.panel.Df():a},Ce.qs=function(a,y){return y===void 0&&(y=new Qe),y.assign(a),this.oe.Cd(y),y},Ce.rs=function(a,y,x){return this.Sj(a.x,a.y,y.x,y.y,x)},Ce.Sj=function(a,y,x,b,E){var z=this.transform,ee=1/(z.m11*z.m22-z.m12*z.m21),re=z.m22*ee,oe=-z.m12*ee,le=-z.m21*ee,ue=z.m11*ee,fe=ee*(z.m21*z.dy-z.m22*z.dx),xe=ee*(z.m12*z.dx-z.m11*z.dy);return this.areaBackground!==null?(z=this.actualBounds,Kt.Ff(z.left,z.top,z.right,z.bottom,a,y,x,b,E)):(ee=a*re+y*le+fe,a=a*oe+y*ue+xe,y=x*re+b*le+fe,x=x*oe+b*ue+xe,E.h(0,0),b=this.naturalBounds,x=Kt.Ff(0,0,b.width,b.height,ee,a,y,x,E),E.transform(z),x)},Vt.prototype.measure=function(a,y,x,b){if(ec(this)!==!1){var E=this.Kg,z=E.right+E.left;E=E.top+E.bottom,a=Math.max(a-z,0),y=Math.max(y-E,0),x=Math.max((x||0)-z,0),b=Math.max((b||0)-E,0),z=this.angle,E=this.desiredSize;var ee=this.kq();z===90||z===270?(a=isFinite(E.height)?E.height+ee:a,y=isFinite(E.width)?E.width+ee:y):(a=isFinite(E.width)?E.width+ee:a,y=isFinite(E.height)?E.height+ee:y),E=x||0,ee=b||0;var re=this instanceof si;switch(wu(this,!0)){case ei:ee=E=0,re&&(y=a=1/0);break;case ri:isFinite(a)&&a>x&&(E=a),isFinite(y)&&y>b&&(ee=y);break;case or:isFinite(a)&&a>x&&(E=a),ee=0,re&&(y=1/0);break;case Cr:isFinite(y)&&y>b&&(ee=y),E=0,re&&(a=1/0)}re=this.maxSize;var oe=this.minSize;E>re.width&&oe.widthre.height&&oe.heighta.height||this.Cb>a.width))&&(x=!0)),this.l=x?this.l|256:this.l&-257,this.Ib.w()||Et("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(z,this.Ib),Ld(this,!1),Cn.free(z)},Ce=Vt.prototype,Ce.eh=function(){};function Ul(a,y,x,b,E){if(a.Ib.h(y,x,b,E),!a.desiredSize.w()){var z=a.uc;x=a.Kg,y=x.right+x.left;var ee=x.top+x.bottom;switch(x=z.width+y,z=z.height+ee,b+=y,E+=ee,y=wu(a,!0),x===b&&z===E&&(y=ei),y){case ei:(x>b||z>E)&&(Hs(a,!0),a.measure(x>b?b:x,z>E?E:z,0,0));break;case ri:Hs(a,!0),a.measure(b,E,0,0);break;case or:Hs(a,!0),a.measure(b,z,0,0);break;case Cr:Hs(a,!0),a.measure(x,E,0,0)}}}Ce.Xl=function(a,y){var x=this.part;x!==null&&x.diagram!==null&&(x.selectionObject!==this&&x.resizeObject!==this&&x.rotateObject!==this||Zv(x,!0),this.N(),Ga(a,y)||(x.oh(),this.Pn(x)))},Ce.Pn=function(a){this.portId!==null&&(Zv(a,!0),a instanceof Di&&X1(a,this))},Ce.gc=function(a,y){if(!cc(this,a,y)&&this.visible){var x=this.opacity;if(x!==0){var b=1;x!==1&&(b=a.globalAlpha,a.globalAlpha=b*x);var E="";this.filter!==""&&(E=a.filter,a.filter=this.filter);var z=this instanceof si&&xh(this),ee=this.Ib;if(z){var re=this.Ib,oe=this.dc,le=this.areaBackground,ue=this.Ma;le===null&&ue===null||a.yc(),le!==null&&(ds(this,a,le,!0,!0,oe,re),le instanceof ia&&le.type===fc?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(le)):a.fillRect(re.x,re.y,re.width,re.height)),ue!==null&&(ds(this,a,ue,!0,!1,oe,re),ue instanceof ia&&ue.type===fc?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(ue)):a.fillRect(re.x,re.y,re.width,re.height)),this.hh(a,y)}if(!z&&(z||ee.width!==0&&ee.height!==0&&!isNaN(ee.x)&&!isNaN(ee.y))){z=this.transform,re=this.panel,this.l&4096&&Pl(this),le=this.part,oe=!1;var fe=0;le&&y.Gf("drawShadows")&&(oe=le.isShadowed)&&(ue=le.shadowOffset,fe=Math.max(ue.y,ue.x)*y.scale*y.Mb),ue=this.Dd();var xe;if(!(xe=y.$i||!ue)){var Ee=this.naturalBounds;xe=this.wh;var Ae=xe.m11,Te=xe.m21,ot=xe.dx,Ue=xe.m12,St=xe.m22,Ct=xe.dy,Ft,jt=Ft=0;xe=Ft*Ae+jt*Te+ot;var yn=Ft*Ue+jt*St+Ct;Ft=Ee.width+fe,jt=0;var Fi=Ft*Ae+jt*Te+ot;Ft=Ft*Ue+jt*St+Ct,jt=Math.min(xe,Fi);var Xi=Math.min(yn,Ft),ji=Math.max(xe+0,Fi)-jt,fi=Math.max(yn+0,Ft)-Xi;xe=jt,yn=Xi,Ft=Ee.width+fe,jt=Ee.height+fe,Fi=Ft*Ae+jt*Te+ot,Ft=Ft*Ue+jt*St+Ct,jt=Math.min(xe,Fi),Xi=Math.min(yn,Ft),ji=Math.max(xe+ji,Fi)-jt,fi=Math.max(yn+fi,Ft)-Xi,xe=jt,yn=Xi,Ft=0,jt=Ee.height+fe,Fi=Ft*Ae+jt*Te+ot,Ft=Ft*Ue+jt*St+Ct,jt=Math.min(xe,Fi),Xi=Math.min(yn,Ft),ji=Math.max(xe+ji,Fi)-jt,fi=Math.max(yn+fi,Ft)-Xi,xe=jt,yn=Xi,fe=y.viewportBounds,Ee=fe.x,Ae=fe.y,xe=!(xe>fe.width+Ee||Ee>ji+xe||yn>fe.height+Ae||Ae>fi+yn)}if(xe){if(xe=(this.l&256)!==0,a.clipInsteadOfFill&&(xe=!1),this instanceof ba&&(a.font=this.font),xe){if(yn=re.se()?re.naturalBounds:re.actualBounds,ji=Math.max(ee.x,yn.x),fi=Math.max(ee.y,yn.y),fe=Math.min(ee.right,yn.right)-ji,Ee=Math.min(ee.bottom,yn.bottom)-fi,Ae=this.tb,Ae!==null&&(ji=Ae.x,fi=Ae.y,fe=Ae.width,Ee=Ae.height),ji>ee.width+ee.x||ee.x>yn.width+yn.x){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}a.save(),a.beginPath(),a.rect(ji,fi,fe,Ee),a.clip()}if(ue){if(!le.isVisible()){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}oe&&(yn=le.shadowOffset,a.Ev(yn.x*y.scale*this.scale*y.Mb,yn.y*y.scale*this.scale*y.Mb,le.shadowBlur),_d(a),a.shadowColor=le.shadowColor)}oe&&this.shadowVisible===!0?_d(a):oe&&this.shadowVisible===!1&&Md(a),le=this.naturalBounds,this.areaBackground!==null&&(a.yc(),qu(this,a,le,ee)),a.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),oe&&fl(this,re)&&this.shadowVisible===null&&Md(a),this.Ma!==null&&(a.yc(),Tu(this,a,le,ee)),oe&&(this.Ma!==null||this.areaBackground!==null||fl(this,re))?(Wc(this,!0),this.shadowVisible===null&&Md(a)):Wc(this,!1),this.hh(a,y),oe&&this.l&512&&_d(a),ue&&oe&&Md(a),xe&&(a.restore(),a.Vc(this instanceof si)),z.ws()||(y=1/(z.m11*z.m22-z.m12*z.m21),a.transform(z.m22*y,-z.m12*y,-z.m21*y,z.m11*y,y*(z.m21*z.dy-z.m22*z.dx),y*(z.m12*z.dx-z.m11*z.dy)))}}x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E)}}};function fl(a,y){return y===null?!1:(xh(y)&&(y=y.panel),(y.l&512)!==0||(y.type===si.Auto||y.type===si.Spot)&&y.Pb()!==a)}Ce.Dv=function(){};function qu(a,y,x,b){ds(a,y,a.areaBackground,!0,!0,x,b),a.areaBackground instanceof ia&&a.areaBackground.type===fc?(y.beginPath(),y.rect(b.x,b.y,b.width,b.height),y.ng(a.areaBackground)):y.fillRect(b.x,b.y,b.width,b.height)}function Tu(a,y,x,b){var E=a.kq(),z=x.x,ee=x.y,re=x.width+E,oe=x.height+E;ds(a,y,a.Ma,!0,!1,x,b),a.Ma instanceof ia&&a.Ma.type===fc?(y.beginPath(),y.rect(z-E/2,ee-E/2,re,oe),y.ng(a.Ma)):y.fillRect(z-E/2,ee-E/2,re,oe)}function Zl(a,y,x){for(var b=y.O.s,E=b.length,z=-1,ee=0;eeE)&&Et("Must specify non-negative integer row for RowColumnDefinition "+y+", not: "+E),a.isRow=!0,a.index=E):y.column!==void 0&&(E=y.column,(E==null||E===1/0||isNaN(E)||0>E)&&Et("Must specify non-negative integer column for RowColumnDefinition "+y+", not: "+E),a.isRow=!1,a.index=E),E=new Hi;for(x in y)x!=="row"&&x!=="column"&&(E[x]=y[x]);Du(a,E)}else Du(a,y);else Et('Unknown initializer "'+y+'" for object being constructed by GraphObject.make: '+a)}function yh(a,y){Cg.add(a,y)}function pm(a,y,x){x===void 0&&(x=null);var b=a[1];if(typeof x=="function"?x(b):typeof b=="string")return a.splice(1,1),b;if(y===void 0)throw Error("no "+(typeof x=="function"?"satisfactory":"string")+" argument for GraphObject builder "+a[0]);return y}tt.Object.defineProperties(Vt.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(a){this.bindingId!==a&&(this.A===null&&(this.A=new qf),this.A.zp=a)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new qf),this.A.te=a)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(a){this.srcBindings!==a&&(this.A===null&&(this.A=new qf),this.A.wm=a)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(a){var y=this.shadowVisible;y!==a&&(uo(this),this.A.Ci=a,this.Uc=!0,this.N(),this.g("shadowVisible",y,a))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(a){var y=this.enabledChanged;y!==a&&(uo(this),this.A.Hb=a,this.g("enabledChanged",y,a))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:au},set:function(a){var y=this.segmentOrientation;y!==a&&(this.Ua===null&&(this.Ua=new Gh),this.Ua.rr=a,this.v(),this.g("segmentOrientation",y,a),a===au&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(a){a=Math.round(a);var y=this.segmentIndex;y!==a&&(this.Ua===null&&(this.Ua=new Gh),this.Ua.u=a,this.v(),this.g("segmentIndex",y,a))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(a){isNaN(a)||0>a?a=0:1a||1=a&&Et("GraphObject.scale for "+this+" must be greater than zero, not: "+a),this.Ca=a,this.v(),this.g("scale",y,a))}},angle:{get:function(){return this.Kb},set:function(a){var y=this.Kb;y!==a&&(a%=360,0>a&&(a+=360),y!==a&&(this.Kb=a,$y(this),this.v(),this.g("angle",y,a)))}},desiredSize:{get:function(){return this.jd},set:function(a){var y=a.width,x=a.height,b=this.jd,E=b.width,z=b.height;(E===y||isNaN(E)&&isNaN(y))&&(z===x||isNaN(z)&&isNaN(x))||(this.jd=a=a.J(),this.v(),this instanceof ro&&this.qc(),this.g("desiredSize",b,a),Fl(this)&&(a=this.part,a!==null&&(Ma(this,a,"width"),Ma(this,a,"height"))))}},width:{get:function(){return this.jd.width},set:function(a){var y=this.jd.width;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new zn(a,this.jd.height).freeze(),this.v(),this instanceof ro&&this.qc(),this.g("desiredSize",y,a),Fl(this)&&(a=this.part,a!==null&&Ma(this,a,"width")))}},height:{get:function(){return this.jd.height},set:function(a){var y=this.jd.height;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new zn(this.jd.width,a).freeze(),this.v(),this instanceof ro&&this.qc(),this.g("desiredSize",y,a),Fl(this)&&(a=this.part,a!==null&&Ma(this,a,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:_r},set:function(a){var y=this.minSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=0),isNaN(a.height)&&(a.height=0),a.freeze(),uo(this),this.A.u=a,this.v(),this.g("minSize",y,a))}},maxSize:{get:function(){return this.A!==null?this.A.o:to},set:function(a){var y=this.maxSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=1/0),isNaN(a.height)&&(a.height=1/0),a.freeze(),uo(this),this.A.o=a,this.v(),this.g("maxSize",y,a))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(a){typeof a=="number"&&(a=new Vi(a));var y=this.Kg;y.D(a)||(this.Kg=a=a.J(),this.v(),this.g("margin",y,a))}},transform:{get:function(){return this.l&2048&&Pl(this),this.Ab}},oe:{get:function(){return this.l&4096&&Pl(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(a){this.animationTriggers!==a&&(uo(this),this.A.hb=a)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:ei},set:function(a){this.reshapingBehavior!==a&&(uo(this),this.A.Pf=a)}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(a.Mc()&&!a.Xb()&&Et("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.Jb=a=a.J(),nu(this),this.g("alignment",y,a))}},column:{get:function(){return this.Ag},set:function(a){a=Math.round(a);var y=this.Ag;y!==a&&(0>a&&Qn(a,">= 0",Vt,"column"),this.Ag=a,this.v(),this.g("column",y,a),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(a){a=Math.round(a);var y=this.columnSpan;y!==a&&(1>a&&Qn(a,">= 1",Vt,"columnSpan"),uo(this),this.A.ob=a,this.v(),this.g("columnSpan",y,a))}},row:{get:function(){return this.io},set:function(a){a=Math.round(a);var y=this.io;y!==a&&(0>a&&Qn(a,">= 0",Vt,"row"),this.io=a,this.v(),this.g("row",y,a),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(a){a=Math.round(a);var y=this.rowSpan;y!==a&&(1>a&&Qn(a,">= 1",Vt,"rowSpan"),uo(this),this.A.Bi=a,this.v(),this.g("rowSpan",y,a))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(a){var y=this.spanAllocation;y!==a&&(uo(this),this.A.Di=a,this.v(),this.g("spanAllocation",y,a))}},alignmentFocus:{get:function(){return this.sk},set:function(a){var y=this.sk;y.D(a)||(this.sk=a=a.J(),this.v(),this.g("alignmentFocus",y,a))}},portId:{get:function(){return this.Yn},set:function(a){var y=this.Yn;if(y!==a){var x=this.part;x===null||x instanceof Di||Et("Cannot set portID on a Link: "+a),y!==null&&x!==null&&Yv(x,this),this.Yn=a,a!==null&&x!==null&&(x.Te=!0,_1(x,this)),this.g("portId",y,a)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Da},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),Ef(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Qn(a,">= 0",Vt,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),Ef(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.g("toShortLength",y,a),Ef(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(a){var y=this.toLinkable;y!==a&&(this.Xc(),this.ba.Tr=a,this.g("toLinkable",y,a))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(a){var y=this.toMaxLinks;y!==a&&(0>a&&Qn(a,">= 0",Vt,"toMaxLinks"),this.Xc(),this.ba.Ur=a,this.g("toMaxLinks",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:Da},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),Ef(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&Qn(a,">= 0",Vt,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),Ef(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.g("fromShortLength",y,a),Ef(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(a){var y=this.fromLinkable;y!==a&&(this.Xc(),this.ba.hq=a,this.g("fromLinkable",y,a))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(a){var y=this.fromMaxLinks;y!==a&&(0>a&&Qn(a,">= 0",Vt,"fromMaxLinks"),this.Xc(),this.ba.iq=a,this.g("fromMaxLinks",y,a))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(a){var y=this.cursor;y!==a&&(uo(this),this.A.j=a,this.g("cursor",y,a))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(a){var y=this.click;y!==a&&(uo(this),this.A.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(a){var y=this.doubleClick;y!==a&&(uo(this),this.A.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(a){var y=this.contextClick;y!==a&&(uo(this),this.A.Bh=a,this.g("contextClick",y,a))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(a){var y=this.mouseEnter;y!==a&&(uo(this),this.A.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(a){var y=this.mouseLeave;y!==a&&(uo(this),this.A.Ph=a,this.g("mouseLeave",y,a))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(a){var y=this.mouseOver;y!==a&&(uo(this),this.A.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(a){var y=this.mouseHover;y!==a&&(uo(this),this.A.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(a){var y=this.mouseHold;y!==a&&(uo(this),this.A.Nh=a,this.g("mouseHold",y,a))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(a){var y=this.mouseDragEnter;y!==a&&(uo(this),this.A.Of=a,this.g("mouseDragEnter",y,a))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(a){var y=this.mouseDragLeave;y!==a&&(uo(this),this.A.Xd=a,this.g("mouseDragLeave",y,a))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(a){var y=this.mouseDrop;y!==a&&(uo(this),this.A.Lh=a,this.g("mouseDrop",y,a))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(a){var y=this.actionDown;y!==a&&(uo(this),this.A.V=a,this.g("actionDown",y,a))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(a){var y=this.actionMove;y!==a&&(uo(this),this.A.ia=a,this.g("actionMove",y,a))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(a){var y=this.actionUp;y!==a&&(uo(this),this.A.Ha=a,this.g("actionUp",y,a))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(a){var y=this.actionCancel;y!==a&&(uo(this),this.A.F=a,this.g("actionCancel",y,a))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(a){var y=this.toolTip;y!==a&&(uo(this),this.A.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(a){var y=this.contextMenu;y!==a&&(uo(this),this.A.Ch=a,this.g("contextMenu",y,a))}}}),Vt.prototype.trigger=Vt.prototype.Jv,Vt.prototype.findBindingPanel=Vt.prototype.ih,Vt.prototype.findTemplateBinder=Vt.prototype.pz,Vt.prototype.setProperties=Vt.prototype.nm,Vt.prototype.apply=Vt.prototype.apply,Vt.prototype.attach=Vt.prototype.Du,Vt.prototype.set=Vt.prototype.set,Vt.prototype.isEnabledObject=Vt.prototype.If,Vt.prototype.isVisibleObject=Vt.prototype.Ed,Vt.prototype.isContainedBy=Vt.prototype.rg,Vt.prototype.getNearestIntersectionPoint=Vt.prototype.rs,Vt.prototype.getLocalPoint=Vt.prototype.qs,Vt.prototype.getDocumentScale=Vt.prototype.Df,Vt.prototype.getDocumentAngle=Vt.prototype.li,Vt.prototype.getDocumentBounds=Vt.prototype.mi,Vt.prototype.getDocumentPoint=Vt.prototype.ga,Vt.prototype.intersectsRect=Vt.prototype.Yc,Vt.prototype.containedInRect=Vt.prototype.fh,Vt.prototype.containsRect=Vt.prototype.Re,Vt.prototype.containsPoint=Vt.prototype.ca,Vt.prototype.raiseChanged=Vt.prototype.g,Vt.prototype.raiseChangedEvent=Vt.prototype.cb,Vt.prototype.addCopyProperty=Vt.prototype.Vw;var Cg=null;Vt.className="GraphObject",Cg=new Ii,yh("Button",function(){function a(x,b){return x.diagram.ic(x.documentPoint,function(E){for(;E.panel!==null&&!E.isActionable;)E=E.panel;return E},function(E){return E===b})!==null}var y=hc(si,si.Auto,{isActionable:!0,enabledChanged:function(x,b){if(x instanceof si){var E=x.fb("ButtonBorder");E!==null&&(E.fill=b?x._buttonFillNormal:x._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},hc(ro,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new Yi(0,0,2.76142374915397,2.761423749153969),spot2:new Yi(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return y.mouseEnter=function(x,b){if(b.If()&&b instanceof si&&(x=b.fb("ButtonBorder"),x instanceof ro)){var E=b._buttonFillOver;b._buttonFillNormal=x.fill,x.fill=E,E=b._buttonStrokeOver,b._buttonStrokeNormal=x.stroke,x.stroke=E}},y.mouseLeave=function(x,b){b.If()&&b instanceof si&&(x=b.fb("ButtonBorder"),x instanceof ro&&(x.fill=b._buttonFillNormal,x.stroke=b._buttonStrokeNormal))},y.actionDown=function(x,b){if(b.If()&&b instanceof si&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof ro){x=x.diagram;var z=x.skipsUndoManager;x.skipsUndoManager=!0;var ee=b._buttonFillPressed;b._buttonFillOver=E.fill,E.fill=ee,ee=b._buttonStrokePressed,b._buttonStrokeOver=E.stroke,E.stroke=ee,x.skipsUndoManager=z}}},y.actionUp=function(x,b){if(b.If()&&b instanceof si&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof ro){var z=x.diagram,ee=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=ee}}},y.actionCancel=function(x,b){if(b.If()&&b instanceof si&&b._buttonFillPressed!==null){var E=b.fb("ButtonBorder");if(E instanceof ro){var z=x.diagram,ee=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=ee}}},y.actionMove=function(x,b){if(b.If()&&b instanceof si&&b._buttonFillPressed!==null){var E=x.diagram;if(E.firstInput.button===0&&(E.currentTool.standardMouseOver(),a(x,b)&&(x=b.fb("ButtonBorder"),x instanceof ro))){var z=E.skipsUndoManager;E.skipsUndoManager=!0;var ee=b._buttonFillPressed;x.fill!==ee&&(x.fill=ee),ee=b._buttonStrokePressed,x.stroke!==ee&&(x.stroke=ee),E.skipsUndoManager=z}}},y}),yh("TreeExpanderButton",function(){var a=hc("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},hc(ro,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:qr},new Fs("figure","isTreeExpanded",function(y,x){return x=x.panel,y?x._treeExpandedFigure:x._treeCollapsedFigure}).cp()),{visible:!1},new Fs("visible","isTreeLeaf",function(y){return!y}).cp());return a.click=function(y,x){if(x=x.part,x instanceof Yo&&(x=x.adornedPart),x instanceof Di){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isTreeExpanded){if(!b.canCollapseTree(x))return}else if(!b.canExpandTree(x))return;y.handled=!0,x.isTreeExpanded?b.collapseTree(x):b.expandTree(x)}}},a}),yh("SubGraphExpanderButton",function(){var a=hc("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},hc(ro,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:qr},new Fs("figure","isSubGraphExpanded",function(y,x){return x=x.panel,y?x._subGraphExpandedFigure:x._subGraphCollapsedFigure}).cp()));return a.click=function(y,x){if(x=x.part,x instanceof Yo&&(x=x.adornedPart),x instanceof Xr){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isSubGraphExpanded){if(!b.canCollapseSubGraph(x))return}else if(!b.canExpandSubGraph(x))return;y.handled=!0,x.isSubGraphExpanded?b.collapseSubGraph(x):b.expandSubGraph(x)}}},a}),yh("ToolTip",function(){return hc(Yo,si.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Qe(0,3),shadowBlur:5},hc(ro,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new Yi(0,0,4,6),spot2:new Yi(1,1,-4,-4)}))}),yh("ContextMenu",function(){return hc(Yo,si.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Qe(0,3),shadowBlur:5},new Fs("background","",function(a){return a.adornedPart!==null&&a.placeholder!==null?null:"#F5F5F5"}))}),yh("ContextMenuButton",function(){var a=hc("Button");a.stretch=or;var y=a.fb("ButtonBorder");return y instanceof ro&&(y.figure="Rectangle",y.strokeWidth=0,y.spot1=new Yi(0,0,2,3),y.spot2=new Yi(1,1,-2,-2)),a}),yh("PanelExpanderButton",function(a){var y=pm(a,"COLLAPSIBLE"),x=hc("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},hc(ro,{name:"ButtonIcon",strokeWidth:2},new Fs("geometryString","visible",function(b){return b?x._buttonExpandedFigure:x._buttonCollapsedFigure}).cp(y)));return a=x.fb("ButtonBorder"),a instanceof ro&&(a.stroke=null,a.fill="rgba(0, 0, 0, 0)"),x.click=function(b,E){var z=E.diagram;if(z!==null&&!z.isReadOnly){var ee=E.ih();ee===null&&(ee=E.part),ee!==null&&(E=ee.fb(y),E!==null&&(b.handled=!0,z.Ea("Collapse/Expand Panel"),E.visible=!E.visible,z.eb("Collapse/Expand Panel")))}},x}),yh("CheckBoxButton",function(a){var y=pm(a);return a=hc("Button",{desiredSize:new zn(14,14)},hc(ro,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:ri,geometryStretch:tr,visible:!1},y!==""?new Fs("visible",y).Kx():[])),a.click=function(x,b){if(b instanceof si){var E=x.diagram;if(!(E===null||E.isReadOnly||y!==""&&E.model.isReadOnly)){x.handled=!0;var z=b.fb("ButtonIcon");E.Ea("checkbox"),z.visible=!z.visible,typeof b._doClick=="function"&&b._doClick(x,b),E.eb("checkbox")}}},a}),yh("CheckBox",function(a){a=pm(a),a=hc("CheckBoxButton",a,{name:"Button",isActionable:!1,margin:new Vi(0,1,0,0)});var y=hc(si,"Horizontal",a,{isActionable:!0,cursor:a.cursor,margin:new Vi(1),_buttonFillNormal:a._buttonFillNormal,_buttonStrokeNormal:a._buttonStrokeNormal,_buttonFillOver:a._buttonFillOver,_buttonStrokeOver:a._buttonStrokeOver,_buttonFillPressed:a._buttonFillPressed,_buttonStrokePressed:a._buttonStrokePressed,_buttonFillDisabled:a._buttonFillDisabled,mouseEnter:a.mouseEnter,mouseLeave:a.mouseLeave,actionDown:a.actionDown,actionUp:a.actionUp,actionCancel:a.actionCancel,actionMove:a.actionMove,click:a.click,_buttonClick:a.click});return a.mouseEnter=null,a.mouseLeave=null,a.actionDown=null,a.actionUp=null,a.actionCancel=null,a.actionMove=null,a.click=null,y}),Vt.None=ei=new Xt(Vt,"None",0),Vt.Default=Jr=new Xt(Vt,"Default",0),Vt.Vertical=Cr=new Xt(Vt,"Vertical",4),Vt.Horizontal=or=new Xt(Vt,"Horizontal",5),Vt.Fill=ri=new Xt(Vt,"Fill",3),Vt.Uniform=tr=new Xt(Vt,"Uniform",1),Vt.UniformToFill=Eo=new Xt(Vt,"UniformToFill",2),Vt.FlipVertical=po=new Xt(Vt,"FlipVertical",1),Vt.FlipHorizontal=jo=new Xt(Vt,"FlipHorizontal",2),Vt.FlipBoth=ua=new Xt(Vt,"FlipBoth",3),Vt.make=hc,Vt.getBuilders=function(){var a=new Ii,y;for(y in Cg)if(y!==y.toLowerCase()){var x=Cg.I(y);typeof x=="function"&&a.add(y,x)}return a.freeze(),a},Vt.defineBuilder=yh,Vt.build=function(a,y,x){for(var b=[],E=2;Ea&&(a+=360),a!==0){if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.ha[1]*a+this.ha[3]*b,z=this.ha[0]*-b+this.ha[2]*a,ee=this.ha[1]*-b+this.ha[3]*a;this.ha[0]=this.ha[0]*a+this.ha[2]*b,this.ha[1]=E,this.ha[2]=z,this.ha[3]=ee,this.translate(-y,-x)}},Af.className="STransform";function eg(a){this.type=a,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}eg.prototype.addColorStop=function(a,y){this.gx.push({offset:a,color:y})},eg.className="SGradient";function vd(a,y,x){this.ownerDocument=a=y===void 0?Ye.document:y,this.cA="http://www.w3.org/2000/svg",a!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new Ku(this,x)}vd.prototype.resize=function(a,y,x,b){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=x+"px",this.style.height=b+"px",this.Oa.setAttributeNS(null,"width",x+"px"),this.Oa.setAttributeNS(null,"height",b+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+x+" "+b),this.context.ww.firstElementChild.setAttributeNS(null,"width",x+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",b+"px"),!0):!1},vd.prototype.Ud=function(a,y,x){if(a=this.ownerDocument.createElementNS(this.cA,a),zt(y))for(var b in y)a.setAttributeNS(b==="href"?"http://www.w3.org/1999/xlink":"",b,y[b]);return x!==void 0&&(a.textContent=x),a},vd.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},vd.prototype.focus=function(){this.Oa.focus()},vd.prototype.mx=function(){this.ownerDocument=null},tt.Object.defineProperties(vd.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(a){this.Oa.setAttribute("width",a+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(a){this.Oa.setAttribute("height",a+"px")}},style:{get:function(){return this.Oa.style}}}),vd.className="SVGSurface";function Ku(a,y){this.Gv=a,this.svg=a.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new Af,this.j=mm(this),this.Nj=mm(this,"gojs-diagram"),this.Hl=this.ti=null;var x=Ho++,b=this.Ud("clipPath",{id:"mainClip"+x});b.appendChild(this.Ud("rect",{x:0,y:0,width:a.width,height:a.height})),this.ww=b,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(b),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+x+")"),this.eA={},this.isTemporary=!!y,this.filter="",this.bk=null}function qy(a,y,x,b,E,z,ee){a.Nj===void 0?vp(a,y,x,b,E,z,ee):a.Nj.setAttribute("transform","matrix("+y+", "+x+", "+b+", "+E+", "+z+", "+ee+")")}Ce=Ku.prototype,Ce.arc=function(a,y,x,b,E,z,ee,re){var oe=2*Math.PI,le=oe-1e-6,ue=x*Math.cos(b),fe=x*Math.sin(b),xe=a+ue,Ee=y+fe,Ae=z?0:1;b=z?b-E:E-b,(1e-6b&&(b=b%oe+oe),b>le?(this.path.push(["A",x,x,0,1,Ae,a-ue,y-fe]),this.path.push(["A",x,x,0,1,Ae,xe,Ee])):1e-6=Math.PI),Ae,a+x*Math.cos(E),y+x*Math.sin(E)])},Ce.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},Ce.Se=function(a){this.addPath(this.path,this.rb,a||0)},Ce.bezierCurveTo=function(a,y,x,b,E,z){this.path.push(["C",a,y,x,b,E,z])},Ce.clearRect=function(){},Ce.clip=function(){this.Yl.clipPath=!0},Ce.closePath=function(){this.path.push(["z"])},Ce.createLinearGradient=function(a,y,x,b){var E=new eg("linear");return E.x1=a,E.y1=y,E.x2=x,E.y2=b,E},Ce.createPattern=function(a){var y="";a instanceof HTMLCanvasElement&&(y=a.toDataURL()),a instanceof HTMLImageElement&&(y=a.getAttribute("src"));var x=this.eA;if(x[y])return"url(#"+x[y]+")";var b="PATTERN"+Ho++,E={x:0,y:0,width:a.width,height:a.height,href:y};return a=this.Ud("pattern",{width:a.width,height:a.height,id:b,patternUnits:"userSpaceOnUse"}),a.appendChild(this.Ud(Cf,E)),this.svg.appendChild(a),x[y]=b,"url(#"+b+")"},Ce.createRadialGradient=function(a,y,x,b,E,z){var ee=new eg("radial");return ee.x1=a,ee.y1=y,ee.r1=x,ee.x2=b,ee.y2=E,ee.r2=z,ee};function e1(a,y,x,b,E,z,ee,re,oe){b=re/b,E=oe/E,z===0&&ee===0||a.rb.translate(z,ee),b===1&&E===1||a.rb.scale(b,E),y===0&&x===0||a.rb.translate(-y,-x)}Ce.drawImage=function(a,y,x,b,E,z,ee,re,oe){var le="";a instanceof HTMLCanvasElement&&(le=a.toDataURL()),a instanceof HTMLImageElement&&(le=a.getAttribute("src"));var ue=a instanceof HTMLImageElement?a.naturalWidth:a.width;a=a instanceof HTMLImageElement?a.naturalHeight:a.height,b===void 0&&(z=y,ee=x,re=b=ue,oe=E=a),b=b||0,E=E||0,re=re||0,oe=oe||0,e1(this,y,x,b,E,z||0,ee||0,re,oe),z={x:0,y:0,width:ue||b,height:a||E,href:le},Kt.$(b,re)&&Kt.$(E,oe)?le.toLowerCase().indexOf(".svg")===-1&&le.toLowerCase().indexOf("data:image/svg")===-1&&(z.preserveAspectRatio="xMidYMid slice"):z.preserveAspectRatio="none",(y!==0||x!==0||b!==ue||E!==a)&&(b+=y,E+=x,z["clip-path"]="path('M "+y+","+x+" L "+b+" "+x+" L "+b+" "+E+" L "+y+" "+E+" z')"),bg(this,Cf,z,this.rb),this.addElement(Cf,z)},Ce.fill=function(a){a&&(this.Yl["fill-rule"]="evenodd"),sv(this,this.Yl)},Ce.ng=function(a,y){this.clipInsteadOfFill?this.clip():this.fill(y)},Ce.fillRect=function(a,y,x,b){a=[a,y,x,b],a={x:a[0],y:a[1],width:a[2],height:a[3]},bg(this,"fill",a,this.rb),this.addElement("rect",a)},Ce.ox=function(a,y,x,b){a={x:a,y,width:x,height:b},bg(this,"fill",a,this.rb),sv(this,a),this.svg.prepend(this.Ud("rect",a))},Ce.fillText=function(a,y,x){a=[a,y,x],y=this.textAlign,y==="left"?y="start":y==="right"?y="end":y==="center"&&(y="middle"),y={x:a[1],y:a[2],style:"font: "+this.font,"text-anchor":y},bg(this,"fill",y,this.rb),this.addElement("text",y,a[0])},Ce.lineTo=function(a,y){this.path.push(["L",a,y])},Ce.moveTo=function(a,y){this.path.push(["M",a,y])},Ce.quadraticCurveTo=function(a,y,x,b){this.path.push(["Q",a,y,x,b])},Ce.rect=function(a,y,x,b){this.path.push(["M",a,y],["L",a+x,y],["L",a+x,y+b],["L",a,y+b],["z"])},Ce.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var a=this.stack.pop();this.fillStyle=a.fillStyle,this.font=a.font,this.globalAlpha=a.globalAlpha,this.lineCap=a.lineCap,this.lineDashOffset=a.lineDashOffset,this.lineJoin=a.lineJoin,this.lineWidth=a.lineWidth,this.miterLimit=a.miterLimit,this.shadowBlur=a.shadowBlur,this.shadowColor=a.shadowColor,this.shadowOffsetX=a.shadowOffsetX,this.shadowOffsetY=a.shadowOffsetY,this.strokeStyle=a.strokeStyle,this.textAlign=a.textAlign,this.bk=a.bk},Ce.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var a=[],y=0;yue.offset?1:-1}),E=0;Ex?(this.scale(x/a,1),this.translate((a-x)/2,0)):x>a&&(this.scale(1,a/x),this.translate(0,(x-a)/2)),this.Hm?this.clip():this.fill(y),a>x?(this.translate(-(a-x)/2,0),this.scale(1/(x/a),1)):x>a&&(this.translate(0,-(x-a)/2),this.scale(1,1/(a/x)))}else this.Hm?this.clip():this.fill(y)},Ce.jk=function(){this.Hm||this.stroke()},Ce.Ev=function(a,y,x){this.Ar=a,this.Br=y,this.Vg=x},Ce.js=function(a,y){var x=this.Z;x.setLineDash!==void 0&&(x.setLineDash(a),x.lineDashOffset=y)},Ce.fs=function(){var a=this.Z;a.setLineDash!==void 0&&(a.setLineDash(Ex),a.lineDashOffset=0)},Ce.Vc=function(a){a&&(this.dt=""),this.ct=this.et=""},Ce.Hs=function(){},tt.Object.defineProperties(Lf.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(a){this.ct!==a&&(this.ct=this.Z.fillStyle=a)}},font:{get:function(){return this.Z.font},set:function(a){this.dt!==a&&(this.dt=this.Z.font=a)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(a){this.Z.globalAlpha=a}},lineCap:{get:function(){return this.Z.lineCap},set:function(a){this.Z.lineCap=a}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(a){this.Z.lineDashOffset=a}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(a){this.Z.lineJoin=a}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(a){this.Z.lineWidth=a}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(a){this.Z.miterLimit=a}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(a){this.Z.shadowBlur=a}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(a){this.Z.shadowColor=a}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(a){this.Z.shadowOffsetX=a}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(a){this.Z.shadowOffsetY=a}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(a){this.et!==a&&(this.et=this.Z.strokeStyle=a)}},textAlign:{get:function(){return this.Z.textAlign},set:function(a){this.Z.textAlign=a}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(a){this.Z.imageSmoothingEnabled=a}},filter:{get:function(){return this.Z.filter},set:function(a){this.Z.filter=a===""?"none":a}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(a){this.Hm=a}}});var Ex=Object.freeze([]);Lf.className="CanvasSurfaceContext";function yp(){this.F=this.o=this.u=this.j=0}yp.className="ColorNumbers";function ia(a,y){Mg||(gv(),Mg=!0),pr(this),this._isFrozen=!1,a===void 0?(this.na=Sh,this.xk="black"):typeof a=="string"?(this.na=Sh,this.xk=a):(this.na=a,this.xk="black"),a=this.na,a===qd?(this.Qd=Is,this.Lk=kl):this.Lk=a===fc?this.Qd=So:this.Qd=Da,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,y&&Object.assign(this,y)}ia.prototype.copy=function(){var a=new ia;return a.na=this.na,a.xk=this.xk,a.Qd=this.Qd.J(),a.Lk=this.Lk.J(),a.Gr=this.Gr,a.Xp=this.Xp,this.we!==null&&(a.we=this.we.copy()),a.cr=this.cr,a},Ce=ia.prototype,Ce.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},Ce.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},Ce.qb=function(a){a.classType===ia&&(this.type=a)},Ce.toString=function(){var a="Brush(";if(this.type===Sh)a+=this.color;else if(a=this.type===qd?a+"Linear ":this.type===fc?a+"Radial ":this.type===Fg?a+"Pattern ":a+"(unknown) ",a+=this.start+" "+this.end,this.colorStops!==null)for(var y=this.colorStops.iterator;y.next();)a+=" "+y.key+":"+y.value;return a+")"},Ce.addColorStop=function(a,y){return this._isFrozen&&xn(this),(typeof a!="number"||!isFinite(a)||1a)&&Qn(a,"0 <= loc <= 1",ia,"addColorStop:loc"),this.we===null&&(this.we=new Ii),this.we.add(a,y),this.na===Sh&&(this.type=qd),this.xe=null,this},Ce.Vz=function(a,y){if(this._isFrozen&&xn(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?kg:y,this.type===Sh)$d(this.color),this.color=Ag(a,y);else if((this.type===qd||this.type===fc)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)$d(x.value),this.addColorStop(x.key,Ag(a,y));return this};function r1(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?kg:x,$d(a),Ag(y,x)}Ce.Wy=function(a,y){if(this._isFrozen&&xn(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?kg:y,this.type===Sh)$d(this.color),this.color=Ag(-a,y);else if((this.type===qd||this.type===fc)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)$d(x.value),this.addColorStop(x.key,Ag(-a,y));return this};function o1(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?kg:x,$d(a),Ag(-y,x)}function uv(a,y,x){$d(a),a=Aa.j;var b=Aa.u,E=Aa.o,z=Aa.F;return $d(y),x===void 0&&(x=.5),"rgba("+Math.round((Aa.j-a)*x+a)+", "+Math.round((Aa.u-b)*x+b)+", "+Math.round((Aa.o-E)*x+E)+", "+Math.round((Aa.F-z)*x+z)+")"}Ce.Gx=function(){if(this.type===Sh)return Eg(this.color);if((this.type===qd||this.type===fc)&&this.colorStops!==null){var a=this.colorStops;if(this.type===fc)return Eg(a.first().value);if(a.get(.5)!==null)return Eg(a.get(.5));if(a.count===2)return a=a.Fa(),Eg(uv(a[0].value,a[1].value));for(var y=a.iterator,x=-1,b=-1,E=1,z=1;y.next();){var ee=y.key,re=Math.abs(.5-y.key);E>z&&re=E&&reb&&(z=x,x=b,b=z,z=E),E=b-x,Eg(uv(a.get(x),a.get(b),1-z/E))}return!1};function Eg(a){return a?a instanceof ia?a.Gx():($d(a),128>(299*Aa.j+587*Aa.u+114*Aa.o)/1e3):!1}function Ag(a,y){switch(y){case kg:y=100*dv(Aa.j);var x=100*dv(Aa.u),b=100*dv(Aa.o);return ru.j=.4124564*y+.3575761*x+.1804375*b,ru.u=.2126729*y+.7151522*x+.072175*b,ru.o=.0193339*y+.119192*x+.9503041*b,ru.F=Aa.F,y=fv(ru.j/Lg[0]),x=fv(ru.u/Lg[1]),b=fv(ru.o/Lg[2]),Fd.j=116*x-16,Fd.u=500*(y-x),Fd.o=200*(x-b),Fd.F=ru.F,Fd.j=Math.min(100,Math.max(0,Fd.j+100*a)),a=(Fd.j+16)/116,y=a-Fd.o/200,ru.j=Lg[0]*a1(Fd.u/500+a),ru.u=Lg[1]*(Fd.j>ym*pv?Math.pow(a,3):Fd.j/ym),ru.o=Lg[2]*a1(y),ru.F=Fd.F,a=-.969266*ru.j+1.8760108*ru.u+.041556*ru.o,y=.0556434*ru.j+-.2040259*ru.u+1.0572252*ru.o,Aa.j=255*hv((3.2404542*ru.j+-1.5371385*ru.u+-.4985314*ru.o)/100),Aa.u=255*hv(a/100),Aa.o=255*hv(y/100),Aa.F=ru.F,Aa.j=Math.round(Aa.j),255Aa.j&&(Aa.j=0),Aa.u=Math.round(Aa.u),255Aa.u&&(Aa.u=0),Aa.o=Math.round(Aa.o),255Aa.o&&(Aa.o=0),"rgba("+Aa.j+", "+Aa.u+", "+Aa.o+", "+Aa.F+")";case s1:return cv(),tc.o=Math.min(100,Math.max(0,tc.o+100*a)),"hsla("+tc.j+", "+tc.u+"%, "+tc.o+"%, "+tc.F+")";default:Et("Unknown color space: "+y)}}function $d(a){Mg||(gv(),Mg=!0);var y=mv;if(y!==null){y.clearRect(0,0,1,1),y.fillStyle="#000000";var x=y.fillStyle;y.fillStyle=a,y.fillStyle!==x?(y.fillRect(0,0,1,1),a=y.getImageData(0,0,1,1).data,Aa.j=a[0],Aa.u=a[1],Aa.o=a[2],Aa.F=a[3]/255):(y.fillStyle="#FFFFFF",y.fillStyle=a,Aa.j=0,Aa.u=0,Aa.o=0,Aa.F=1)}}function cv(){var a=Aa.j/255,y=Aa.u/255,x=Aa.o/255,b=Math.max(a,y,x),E=Math.min(a,y,x),z=b-E;if(E=(b+E)/2,z===0)var ee=a=0;else{switch(b){case a:ee=(y-x)/z%6;break;case y:ee=(x-a)/z+2;break;case x:ee=(a-y)/z+4}ee*=60,0>ee&&(ee+=360),a=z/(1-Math.abs(2*E-1))}tc.j=Math.round(ee),tc.u=Math.round(100*a),tc.o=Math.round(100*E),tc.F=Aa.F}function dv(a){return a/=255,.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)}function hv(a){return .0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}function fv(a){return a>pv?Math.pow(a,1/3):(ym*a+16)/116}function a1(a){var y=a*a*a;return y>pv?y:(116*a-16)/ym}function tg(a,y){typeof a!="string"&&(a instanceof ia||Et("Value for "+y+" must be a color string or a Brush, not "+a))}function gv(){mv=cs?new Fc(null,void 0,{willReadFrequently:!0}).context:null}tt.Object.defineProperties(ia.prototype,{type:{get:function(){return this.na},set:function(a){this._isFrozen&&xn(this,a),this.na=a,this.start.Mc()&&(a===qd?this.start=Is:a===fc&&(this.start=So)),this.end.Mc()&&(a===qd?this.end=kl:a===fc&&(this.end=So)),this.xe=null}},color:{get:function(){return this.xk},set:function(a){this._isFrozen&&xn(this,a),this.xk=a,this.xe=null}},start:{get:function(){return this.Qd},set:function(a){this._isFrozen&&xn(this,a),this.Qd=a.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(a){this._isFrozen&&xn(this,a),this.Lk=a.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(a){this._isFrozen&&xn(this,a),0>a&&Qn(a,">= zero",ia,"startRadius"),this.Gr=a,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(a){this._isFrozen&&xn(this,a),0>a&&Qn(a,">= zero",ia,"endRadius"),this.Xp=a,this.xe=null}},colorStops:{get:function(){return this.we},set:function(a){this._isFrozen&&xn(this,a),this.we=a,this.xe=null}},pattern:{get:function(){return this.cr},set:function(a){this._isFrozen&&xn(this,a),this.cr=a,this.xe=null}}}),ia.prototype.isDark=ia.prototype.Gx,ia.prototype.darkenBy=ia.prototype.Wy,ia.prototype.lightenBy=ia.prototype.Vz,ia.prototype.addColorStop=ia.prototype.addColorStop;var pv=216/24389,ym=24389/27,Lg=[95.047,100,108.883],mv=null,Aa=new yp,tc=new yp,ru=new yp,Fd=new yp,Mg=!1;ia.className="Brush";var Sh;ia.Solid=Sh=new Xt(ia,"Solid",0);var qd;ia.Linear=qd=new Xt(ia,"Linear",1);var fc;ia.Radial=fc=new Xt(ia,"Radial",2);var Fg;ia.Pattern=Fg=new Xt(ia,"Pattern",4);var kg;ia.Lab=kg=new Xt(ia,"Lab",5);var s1;ia.HSL=s1=new Xt(ia,"HSL",6),ia.randomColor=function(a,y){a===void 0&&(a=128),y===void 0&&(y=Math.max(a,255));var x=Math.abs(y-a);y=Math.floor(a+Math.random()*x).toString(16);var b=Math.floor(a+Math.random()*x).toString(16);return a=Math.floor(a+Math.random()*x).toString(16),2>y.length&&(y="0"+y),2>b.length&&(b="0"+b),2>a.length&&(a="0"+a),"#"+y+b+a},ia.isValidColor=function(a){if(a==="black")return!0;if(a==="")return!1;Mg||(gv(),Mg=!0);var y=mv;if(y===null)return!0;y.fillStyle="#000000";var x=y.fillStyle;return y.fillStyle=a,y.fillStyle!==x?!0:(y.fillStyle="#FFFFFF",x=y.fillStyle,y.fillStyle=a,y.fillStyle!==x)},ia.lighten=function(a){return r1(a)},ia.lightenBy=r1,ia.darken=function(a){return o1(a)},ia.darkenBy=o1,ia.mix=uv,ia.isDark=Eg;function Us(){this.xa="Base"}Us.prototype.measure=function(){},Us.prototype.Yz=function(a,y,x,b,E){a.measure(y,x,b,E)},Us.prototype.arrange=function(){},Us.prototype.Ly=function(a,y,x,b,E,z){a.arrange(y,x,b,E,z)},Us.prototype.iA=function(a){a.Uj()},Us.prototype.gc=function(){},tt.Object.defineProperties(Us.prototype,{name:{get:function(){return this.xa},set:function(a){this.xa=a}},classType:{get:function(){return si}}}),Us.prototype.remeasureObject=Us.prototype.iA,Us.prototype.arrangeElement=Us.prototype.Ly,Us.prototype.measureElement=Us.prototype.Yz,Us.className="PanelLayout";function Sm(){this.xa="Base"}bt(Sm,Us),Sm.prototype.measure=function(a,y,x,b,E,z,ee){var re=b.length;a=eh(a);for(var oe=0;oeXi&&(el=Math.max(Xi-sf,0));var U0=_n.oa===0;_n.oc=_n.oc+el,_n.actual=_n.oa+el,Xi=Math.max(Xi-(el+(U0?sf:0)),0)}if(Iu.columnSpan===1&&(Ql===ei||Ql===Cr)){_n=a.Eb(Jl);var am=_n.Wc();el=Math.max(If-_n.actual,0),el+am>Fi&&(el=Math.max(Fi-am,0));var Vy=_n.oa===0;_n.oc=_n.oc+el,_n.actual=_n.oa+el,Fi=Math.max(Fi-(el+(Vy?am:0)),0)}af&&Iu.Uj()}}}}}xi(St);var zd=0,ih=0;z=a.columnCount;for(var gg=0;gg=a.rowCount);Th++)_n=a.Fb(vs.row+Th),el=0,el=Ql===ri||Ql===Cr?Math.max(_n.minimum,dd[vs.row+Th]===0?_n.maximum:Math.min(dd[vs.row+Th],_n.maximum)):Math.max(_n.minimum,isNaN(_n.Hc)?_n.maximum:Math.min(_n.Hc,_n.maximum)),ah.height+=el,Ju+=_n.minimum;for(var Oc=1;Oc=a.columnCount);Oc++)_n=a.Eb(vs.column+Oc),el=0,el=Ql===ri||Ql===or?Math.max(_n.minimum,yc[vs.column+Oc]===0?_n.maximum:Math.min(yc[vs.column+Oc],_n.maximum)):Math.max(_n.minimum,isNaN(_n.Hc)?_n.maximum:Math.min(_n.Hc,_n.maximum)),ah.width+=el,_0+=_n.minimum;bl.width+=ah.width,bl.height+=ah.height;var ap=vs.margin,hf=ap.right+ap.left,lm=ap.top+ap.bottom;vs.measure(bl.width,bl.height,_0,Ju);for(var sp=vs.measuredBounds,Cd=Math.max(sp.width+hf,0),Hf=Math.max(sp.height+lm,0),ff=0,lp=0;lp=a.rowCount);lp++)_n=a.Fb(vs.row+lp),ff+=_n.total||0;if(ff=Oh)&&!(vs.row+sh>=a.rowCount);sh++){_n=a.Fb(vs.row+sh);var Rh=_n.oa||0,Wf=Ih(vs,_n,Hd);_n.actual=Math.min(_n.maximum,Rh+Wf),_n.oa!==Rh&&(Oh-=_n.oa-Rh)}for(;0hd&&(_n.actual=Math.min(_n.maximum,hd+Oh),_n.oa!==hd&&(Oh-=_n.oa-hd)),_n.index===0)break;_n=a.Fb(_n.index-1)}}for(var vg=0,zh=0;zh=a.columnCount);zh++)_n=a.Eb(vs.column+zh),vg+=_n.total||0;if(vg=yg)&&!(vs.column+Zf>=a.columnCount);Zf++){_n=a.Eb(vs.column+Zf);var um=_n.oa||0,Uy=lh(vs,_n,Yy);_n.actual=Math.min(_n.maximum,um+Uy),_n.oa!==um&&(yg-=_n.oa-um)}for(;0$0&&(_n.actual=Math.min(_n.maximum,$0+yg),_n.oa!==$0&&(yg-=_n.oa-$0)),_n.index===0)break;_n=a.Eb(_n.index-1)}}}}xi(Ct),zn.free(ah),zn.free(bl),dd!==void 0&&xi(dd),yc!==void 0&&xi(yc);var Sg=0,xg=0,q0=a.desiredSize,Sx=a.maxSize;Ql=wu(a,!0);var cm=ih=zd=0,dm=0;z=a.columnCount;for(var ev=0;ev=a.rowCount);_n++){var Ur=a.Fb(St+_n);Ur.oa!==0&&(Ue.height+=Ur.total)}for(_n=1;_n=a.columnCount);_n++)Ur=a.Eb(Ft+_n),Ur.oa!==0&&(Ue.width+=Ur.total);var Ir=jt.oa+Ue.width,Jo=Ct.oa+Ue.height;_n=re,Ur=oe;var wa=Ir,qs=Jo,cl=re,Xl=oe,el=Ir,kh=Jo;re+Ir>x.width&&(el=Math.max(x.width-re,0)),oe+Jo>x.height&&(kh=Math.max(x.height-oe,0));var ks=ji.alignment;if(ks.Xb()){ks=a.defaultAlignment,ks.sb()||(ks=So);var ld=ks.x,Jl=ks.y,Nh=ks.offsetX;ks=ks.offsetY;var rc=jt.alignment,Bc=Ct.alignment;rc.sb()&&(ld=rc.x,Nh=rc.offsetX),Bc.sb()&&(Jl=Bc.y,ks=Bc.offsetY)}else ld=ks.x,Jl=ks.y,Nh=ks.offsetX,ks=ks.offsetY;(isNaN(ld)||isNaN(Jl))&&(Jl=ld=.5,ks=Nh=0),rc=fi.width,Bc=fi.height;var Yu=ji.margin,Iu=Yu.left+Yu.right,af=Yu.top+Yu.bottom,ud=id(ji,Ct,jt,!1);!isNaN(ji.desiredSize.width)||ud!==ri&&ud!==or||(rc=Math.max(Ir-Iu,0)),!isNaN(ji.desiredSize.height)||ud!==ri&&ud!==Cr||(Bc=Math.max(Jo-af,0)),Ir=ji.maxSize,Jo=ji.minSize,rc=Math.min(Ir.width,rc),Bc=Math.min(Ir.height,Bc),rc=Math.max(Jo.width,rc),Bc=Math.max(Jo.height,Bc),Ir=Bc+af,_n+=wa*ld-(rc+Iu)*ld+Nh+Yu.left,Ur+=qs*Jl-Ir*Jl+ks+Yu.top,ji.visible&&(Oo(cl,Xl,el,kh,_n,Ur,fi.width,fi.height)?ji.arrange(_n,Ur,rc,Bc):ji.arrange(_n,Ur,rc,Bc,new Cn(cl,Xl,el,kh)))}}}for(zn.free(Ue),a=0;a=x&&(x=1);var b=a.gridCellSize,E=b.width;b=b.height;var z=a.naturalBounds,ee=a.actualBounds,re=z.width,oe=z.height,le=Math.ceil(re/E),ue=Math.ceil(oe/b),fe=a.gridOrigin,xe=fe.x;fe=fe.y,y.save(),y.beginPath(),y.rect(0,0,re,oe),y.clip(),y.Se();for(var Ee=[],Ae=a.O.s,Te=Ae.length,ot=0;otCt)){Ue=Sv(Ue.figure);for(var Ft=0;FtCt&&St.push(jt))}}}}for(Ae=a.O.s,Te=Ae.length,ot=0;otE*Ue*x))){if(Ct=yn.segmentIndex,(!isFinite(Ct)||isNaN(Ct))&&(Ct=0),0>Ct&&(Ct=Ue-Math.min(-Ct,Ue)),Ct=Math.round(Ct%Ue),Ue=yn.opacity,Ft=1,Ue!==1){if(Ue===0)continue;Ft=y.globalAlpha,y.globalAlpha=Ft*Ue}jt=Ee[ot];var Fi=!1,Xi=yn.strokeDashArray;if(Xi!==null&&(Fi=!0,y.js(Xi,yn.strokeDashOffset)),yn.figure==="LineV"&&yn.stroke!==null&&0y)return a%y===x;if(a%y!==x)return!1;y=b.length;for(var E=0;Efe)St.measure(1/0,1/0,0,0),Ct=St.measuredBounds,x.ed(Ct),Ee.push(Ct);else{var Ft=St.segmentIndex,jt=St.segmentFraction,yn=St.alignmentFocus;yn.Mc()&&(yn=So);var Fi=St.segmentOrientation,Xi=St.segmentOffset;if(isNaN(Ft)){var ji=oe.ua;Ct=ti(),ji.Qu(jt,Ct);var fi=Qe.allocAt(Ct[0],Ct[1]);if(fi.add(oe.i(0)),ji.type===di.j?fi.offset(-ji.startX,-ji.startY):(ji=ji.figures.first(),ji!==null&&fi.offset(-ji.startX,-ji.startY)),ji=Ct[2],Fi!==au){var _n=oe.computeAngle(St,Fi,ji);St.Kb=_n}_n=fi.x-y.x;var Ur=fi.y-y.y;Qe.free(fi),xi(Ct)}else if(Ft<-fe||Ft>=fe)Ct=Qe.alloc(),oe.vg(),oe.computeMidPoint(Ct),ji=oe.midAngle,Fi!==au&&(_n=oe.computeAngle(St,Fi,ji),St.Kb=_n),_n=Ct.x-y.x,Ur=Ct.y-y.y,Qe.free(Ct);else{if(_n=0,0<=Ft?(Ur=ue.M(Ft),Ct=FtIr+10?0<=Ft?ji.ab(Ur):Ur.ab(ji):Ir>fi+10?0<=Ft?Ct.ab(_n):_n.ab(Ct):0<=Ft?ji.ab(_n):_n.ab(ji)}else ji=0<=Ft?Ur.ab(Ct):Ct.ab(Ur);Fi!==au&&(_n=oe.computeAngle(St,Fi,ji),St.Kb=_n),_n=Ur.x+(Ct.x-Ur.x)*jt-y.x,Ur=Ur.y+(Ct.y-Ur.y)*jt-y.y}St.measure(1/0,1/0,0,0),Ct=St.measuredBounds,fi=St.naturalBounds;var Jo=0;St instanceof ro&&(Jo=St.strokeWidth),Ir=fi.width+Jo;var wa=fi.height+Jo;Ae.reset(),Ae.translate(-Ct.x,-Ct.y),Ae.scale(St.scale,St.scale),Ae.rotate(Fi===au?St.angle:ji,Ir/2,wa/2),Fi!==Dp&&Fi!==Tp||Ae.rotate(90,Ir/2,wa/2),Fi!==Bp&&Fi!==Op||Ae.rotate(-90,Ir/2,wa/2),Fi===o0&&(45ji||225ji)&&Ae.rotate(-ji,Ir/2,wa/2),fi=new Cn(0,0,Ir,wa),Te.xi(fi,yn),Ae.Ga(Te),yn=-Te.x+Jo/2*St.scale,St=-Te.y+Jo/2*St.scale,ot.assign(Xi),Jo=isNaN(Xi.x);var qs=isNaN(Xi.y);if(Jo||qs){Ir=Ir/2+3,wa=wa/2+3;var cl=45<=ji&&135>=ji,Xl=225<=ji&&315>=ji;Fi===au&&(cl||Xl)?(ot.x=qs?Ir:Xi.y,ot.y=Jo?wa:Xi.x,cl?0<=Ft||isNaN(Ft)&&.5>jt||!Jo||(ot.y=-wa):Xl&&((0<=Ft||isNaN(Ft)&&.5>jt)&&Jo&&(ot.y=-wa),qs&&(ot.x=-Ir))):(Jo&&(ot.x=0<=Ft||isNaN(Ft)&&.5>jt?Ir:-Ir),qs&&(ot.y=-wa),ot.rotate(ji))}else ot.rotate(ji);_n+=ot.x,Ur+=ot.y,fi.set(Ct),fi.h(_n+yn,Ur+St,Ct.width,Ct.height),Ee.push(fi),x.ed(fi)}}if(ee!==null)for(b=ee.labelNodes;b.next();)b.value.measure(1/0,1/0);a.jg=x,a.position.h(y.x+x.x,y.y+x.y),ca(E,x.width||0,x.height||0),Rr.free(Ae),Qe.free(Te),Qe.free(ot)}}}},Fm.prototype.arrange=function(a,y){var x=y.length;if(a instanceof Yo||a instanceof gi){var b=a,E=null;a instanceof Yo&&(E=a,b=E.adornedPart);var z=a instanceof Yo?null:b.path,ee=a.j;if(ee.length!==0){var re=0;if(z!==null&&re=x)Ae=Qe.alloc(),Ee=fe,ot=Ae,Ee.vg(),Ee.computeMidPoint(ot),Ee=fe.midAngle,le!==au&&(fe=fe.computeAngle(ee,le,Ee),ee.angle=fe),fe=Ae.x,ot=Ae.y,Qe.free(Ae);else{if(Te=0,0<=re?(Ae=y.s[re],ot=reSt+10?0<=re?Ee.ab(Ae):Ae.ab(Ee):St>Ue+10?0<=re?ot.ab(Te):Te.ab(ot):0<=re?Ee.ab(Te):Te.ab(Ee)}else Ee=0<=re?Ae.ab(ot):ot.ab(Ae);le!==au&&(fe=fe.computeAngle(ee,le,Ee),ee.angle=fe),fe=Ae.x+(ot.x-Ae.x)*oe,ot=Ae.y+(ot.y-Ae.y)*oe}if(xe.ys())ee.location=new Qe(fe,ot);else{xe.Mc()&&(xe=So),Ae=Rr.alloc(),Ae.reset(),Ae.scale(ee.scale,ee.scale),Ae.rotate(ee.angle,0,0);var Ct=ee.naturalBounds;Te=Cn.allocAt(0,0,Ct.width,Ct.height),Ue=Qe.alloc(),Ue.xi(Te,xe),Ae.Ga(Ue),xe=-Ue.x,St=-Ue.y;var Ft=Ct.width,jt=Ct.height;Ct=Qe.alloc(),Ct.assign(ue);var yn=isNaN(ue.x),Fi=isNaN(ue.y);if(yn||Fi){Ft=Ft/2+3,jt=jt/2+3;var Xi=45<=Ee&&135>=Ee,ji=225<=Ee&&315>=Ee;le===au&&(Xi||ji)?(Ct.x=Fi?Ft:ue.y,Ct.y=yn?jt:ue.x,Xi?0<=re||isNaN(re)&&.5>oe||!yn||(Ct.y=-jt):ji&&((0<=re||isNaN(re)&&.5>oe)&&yn&&(Ct.y=-jt),Fi&&(Ct.x=-Ft))):(yn&&(Ct.x=0<=re||isNaN(re)&&.5>oe?Ft:-Ft),Fi&&(Ct.y=-jt),Ct.rotate(Ee))}else Ct.rotate(Ee);fe+=Ct.x,ot+=Ct.y,Ae.pp(Te),xe+=Te.x,St+=Te.y,re=Qe.allocAt(fe+xe,ot+St),ee.move(re),Qe.free(re),Qe.free(Ct),Qe.free(Ue),Cn.free(Te),Rr.free(Ae)}}E!==null?E.Ul(!1):b.Ul(!1),b=R1(a),a.location.h(a.position.x+b.x,a.position.y+b.y),Qe.free(b)}};function l1(a,y,x,b){if(ec(b)!==!1){var E=b.strokeWidth;E===0&&a instanceof Yo&&a.type===si.Link&&a.adornedObject instanceof ro&&(E=a.adornedObject.strokeWidth),E*=b.Ca,a instanceof gi&&a.ua!==null?(a=a.geometry.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):a instanceof Yo&&a.adornedPart.ua!==null?(a=a.adornedPart.ua.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):b.Ge(-(E/2),-(E/2),y+E,x+E),E=b.desiredSize,E.w()||b.ua===null?b.dc.h(0,0,E.width,E.height):b.dc.assign(b.ua.bounds),Hs(b,!1)}}function xp(){this.xa="Base"}bt(xp,Us),xp.prototype.measure=function(a,y,x,b,E,z,ee){var re=a.Pb();a.graduatedBounds=[];var oe=re.margin,le=oe.right+oe.left,ue=oe.top+oe.bottom;re.measure(y,x,z,ee);var fe=re.measuredBounds,xe=new Cn(-oe.left,-oe.top,Math.max(fe.width+le,0),Math.max(fe.height+ue,0));a.graduatedBounds.push(xe),E.assign(xe);for(var Ee=re.geometry,Ae=re.strokeWidth,Te=Ee.flattenedSegments,ot=Ee.flattenedLengths,Ue=Ee.flattenedTotalLength,St=Te.length,Ct=0,Ft=0,jt=ti(),yn=0;ynIr&&(Ir+=360),Xi.push(Ir)}Ct=_n,Ft=Ur}jt.push(Xi)}if(a.graduatedIntervals===null){for(var Jo=[],wa=a.O.s,qs=wa.length,cl=0;clkh)){for(var ks=0;kskh&&el.push(Jl)}}}}}a.graduatedIntervals=Jo}var Nh=a.graduatedIntervals,rc=a.O.s,Bc=rc.length,Yu=0,Iu=0,af=Ue;a.graduatedMarks=[];for(var ud,qg=0;qgom*Ql*Ue/a.graduatedRange&&Uu.graduatedSkip===null)){var fg=ot[0][0],xd=0,Ru=0;Iu=Ue*Uu.graduatedStart-1e-4,af=Ue*Uu.graduatedEnd+1e-4;var If=om*Ql,Xu=a.graduatedTickBase;if(Xua.graduatedMin+If&&(Xu-=Math.floor((Xu-a.graduatedMin)/If)*If);for(var U0=Nh[qg],am=Xu,Vy=1e-6*a.graduatedMax,zd=1;Xu<=a.graduatedMax+Vy;zd++){e:{for(var ih=U0.length,gg=0;gg-ep){var uf=!1;break e}}uf=!0}if(uf&&(Xu>a.graduatedMax&&(Xu=a.graduatedMax),Uu.graduatedSkip===null||Uu instanceof ba&&!Uu.graduatedSkip(Xu,Uu)||Uu instanceof ro&&!Uu.graduatedSkip(Xu,Uu))&&(Yu=(Xu-a.graduatedMin)*Ue/a.graduatedRange,Yu>Ue&&(Yu=Ue),Iu<=Yu&&Yu<=af)){for(var jd=jt[xd][Ru],Dh=ot[xd][Ru];xdfg&&Rurh&&.4995rh?0rh||.9995pg){var np=1-Math.abs(.5-rh);jd=(cd*np+Pd*(1-np))%360;break e}}}jd=cd}if(Uu instanceof ba){var Xc="";Uu.graduatedFunction!==null?(Xc=Uu.graduatedFunction(Xu,Uu),Xc=Xc!=null?Xc.toString():""):Xc=(+Xu.toFixed(2)).toString(),Xc!==""&&ud.push({$l:tp,angle:jd,text:Xc})}else ud.push({$l:tp,angle:jd})}Xu=am+zd*If}}}a.graduatedMarks.push(ud)}xi(jt);var bl=a.graduatedMarks;if(bl!==null)for(var sm=b.length,du=0;duJc;Jc++){switch(Jc){case 0:ju.h(ah,dd);break;case 1:ju.h(ah+ip,dd);break;case 2:ju.h(ah,dd+jf);break;case 3:ju.h(ah+ip,dd+jf)}ju.rotate(vs+Ns.angle),ju.offset(Q0,op),rp===0&&Jc===0?yc.h(ju.x,ju.y,0,0):yc.Ye(ju),ju.offset(-Q0,-op),ju.rotate(-vs-Ns.angle)}Qe.free(ju),oh.graduatedBounds!==null&&oh.graduatedBounds.push(yc),Fo(Bh,yc.x,yc.y,yc.width,yc.height)}else if(Ns instanceof ba){var Tc=a,_0=E;Tc.temporaryTextBlock===null&&(Tc.temporaryTextBlock=new ba);var Ju=Tc.temporaryTextBlock;C1(Ju,Ns);var Th=Ns.alignmentFocus;Th.Mc()&&(Th=Is);for(var Oc=Ns.segmentOrientation,ap=Ns.segmentOffset,hf=new Cn,lm=0,sp=0,Cd=0,Hf=0,ff=0,lp=hu.length,Oh=0;OhCd||225Cd)&&hd.rotate(-Cd,Rh/2,Wf/2);var vg=Cn.allocAt(0,0,Rh,Wf),zh=Qe.alloc();zh.xi(vg,Th),hd.Ga(zh);var yg=-zh.x,Yy=-zh.y,lh=Qe.alloc();lh.assign(ap),isNaN(lh.x)&&(lh.x=Rh/2+3),isNaN(lh.y)&&(lh.y=-(Wf/2+3)),lh.rotate(Cd),lm+=lh.x+yg,sp+=lh.y+Yy;var Zf=new Cn(lm,sp,Ih.width,Ih.height),um=new Cn(Ih.x,Ih.y,Ih.width,Ih.height),Uy=new Cn(sh.x,sh.y,sh.width,sh.height);Hd.Sz=Hf,Hd.lineCount=Ju.lineCount,Hd.lines=[Ju.Cb,Ju.Ih,Ju.df,Ju.Le,Ju.Qc,Ju.Qb,Ju.ze],Hd.actualBounds=Zf,Hd.measuredBounds=um,Hd.naturalBounds=Uy,Oh===0?hf.assign(Zf):hf.ed(Zf),Qe.free(lh),Qe.free(zh),Cn.free(vg),Rr.free(hd)}Tc.graduatedBounds!==null&&Tc.graduatedBounds.push(hf),Fo(_0,hf.x,hf.y,hf.width,hf.height)}Hs(Ns,!1)}}},xp.prototype.arrange=function(a,y,x){if(a.graduatedBounds!==null){var b=a.Pb(),E=a.graduatedMarks;if(E!==null){var z=a.graduatedBounds,ee=0,re=z[ee];ee++,b!==null&&b.arrange(re.x-x.x,re.y-x.y,re.width,re.height);for(var oe=y.length,le=0;le=ee&&(ee=1);for(var re=z.actualBounds,oe=a.O.s,le=a.graduatedMarks,ue=oe.length,fe=0;fea.graduatedTickUnit*xe.interval*z.geometry.flattenedTotalLength/a.graduatedRange*ee&&xe.graduatedSkip===null)){var Te=xe.measuredBounds,ot=xe.strokeWidth*xe.scale,Ue=xe.alignmentFocus;Ue.Mc()&&(Ue=Is);for(var St=0;Stee.height)continue}else if(le.position>ee.width)continue;var ue=le.separatorStrokeWidth;isNaN(ue)&&(ue=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var fe=le.separatorStroke;if(fe===null&&(fe=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),ue!==0&&fe!==null){ds(a,y,fe,!1,!1,ee,z),fe=!1;var xe=le.separatorDashArray;xe===null&&(xe=x?a.defaultRowSeparatorDashArray:a.defaultColumnSeparatorDashArray),xe!==null&&(fe=!0,y.js(xe,0)),y.beginPath(),xe=le.position+ue,x?xe>ee.height&&(ue-=xe-ee.height):xe>ee.width&&(ue-=xe-ee.width),le=le.position+ue/2,y.lineWidth=ue,ue=a.yb,x?(le+=ue.top,xe=ee.width-ue.right,y.moveTo(ue.left,le),y.lineTo(xe,le)):(le+=ue.left,xe=ee.height-ue.bottom,y.moveTo(le,ue.top),y.lineTo(le,xe)),y.stroke(),y.Se(),fe&&y.fs()}}}}function km(a,y,x,b,E){for(var z=b.length,ee=a.actualBounds,re=a.naturalBounds,oe=c1(a,!0),le=c1(a,!1),ue=0;uexe)){var Ee=fe.Wc(),Ae=fe.separatorStrokeWidth;isNaN(Ae)&&(Ae=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var Te=fe.separatorStroke;Te===null&&(Te=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),(Te===null||fe.index===(x?oe:le))&&(Ae=0),Ee-=Ae,Ae=fe.position+Ae,Ee+=fe.actual,Ae+Ee>xe&&(Ee=xe-Ae),0>=Ee||(xe=a.yb,ds(a,y,fe.background,!0,!1,re,ee),x?y.fillRect(xe.left,Ae+xe.top,ee.width-(xe.left+xe.right),Ee):y.fillRect(Ae+xe.left,xe.top,Ee,ee.height-(xe.top+xe.bottom)))}}}}function c1(a,y){for(var x=y?a.rowCount:a.columnCount,b=0;bb&&E.set(Ae),Qe.free(Ae)),Qe.free(ue),z&&E.transform(ee),le},Ce.Gj=function(){for(var a=this.O.s,y=a.length,x=0;xx||z>b)&&(this.v(),this.measure(y>x?x:y,z>b?b:z,0,0));break;case ri:this.v(!0),this.measure(x+re,b+ee,0,0);break;case or:this.v(!0),this.measure(x+re,z+ee,0,0);break;case Cr:this.v(!0),this.measure(y+re,b+ee,0,0)}}this.na.arrange(this,E,this.jg)}},Ce.gh=function(a){var y=this.naturalBounds,x=eh(this);if(Oo(0,0,y.width,y.height,a.x,a.y)){y=this.O.s;for(var b=y.length,E=Qe.allocAt(0,0);b--;){var z=y[b];if((z.visible||z===x)&&(qn(E.set(a),z.transform),z.ca(E)))return Qe.free(E),!0}return Qe.free(E),!(this.Ma===null&&this.areaBackground===null)}return!1},Ce.ks=function(a){if(this.bindingId===a)return this;for(var y=this.O.s,x=y.length,b=0;bxe.width||fe.y>xe.height||0>fe.x+fe.width||0>fe.y+fe.height||(fe=ue,ue=ue instanceof si?ue:null,xe=Rr.alloc(),xe.set(ee),(ue!==null?ue.Cf(a,y,x,b,E,xe):$s(fe,a,b,xe))&&(y!==null&&(fe=y(fe)),fe===null||x!==null&&!x(fe)||E.add(fe)),Rr.free(xe))}}return z===void 0&&Rr.free(ee),b}return z===void 0&&Rr.free(ee),!1};function xv(a,y,x,b){for(var E=a.O.s,z=E.length;z--;){var ee=E[z];if(ee.visible){var re=ee.actualBounds,oe=a.naturalBounds;re.x>oe.width||re.y>oe.height||0>re.x+re.width||0>re.y+re.height||(ee instanceof si&&xv(ee,y,x,b),y!==null&&(ee=y(ee)),ee===null||x!==null&&!x(ee)||b.add(ee))}}}Ce.og=function(a,y,x,b,E,z){if(this.pickable===!1)return!1;x===void 0&&(x=null),b===void 0&&(b=null);var ee=this.naturalBounds,re=this.se(),oe=re?a:qn(Qe.allocAt(a.x,a.y),this.transform),le=re?y:qn(Qe.allocAt(y.x,y.y),this.transform),ue=oe.Bf(le),fe=0ot.width||Te.y>ot.height||0>Te.x+Te.width||0>Te.y+Te.height))&&(Ae.se()?(Te=Ae.transform,qn(oe.set(a),Te),qn(le.set(y),Te)):(oe.set(a),le.set(y)),Te=Ae,Ae=Ae instanceof si?Ae:null,(Ae!==null?Ae.og(oe,le,x,b,E,z):Te.tx(oe,le,E))&&(x!==null&&(Te=x(Te)),Te===null||b!==null&&!b(Te)||z.add(Te)))}}Qe.free(oe),Qe.free(le)}return E?fe:ee}return!1};function wv(a){var y=null;return a instanceof ro&&(y=a.spot1,y===Xo&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot1)),y===null&&(y=ga),y}function Pv(a){var y=null;return a instanceof ro&&(y=a.spot2,y===Xo&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot2)),y===null&&(y=vl),y}Ce.add=function(a){for(var y=[],x=0;x=E.count&&a>=E.count)return;E.mb(z),b=z}else Et("element "+y.toString()+" has panel "+x.toString()+" but is not contained by it.")}(0>a||a>E.count)&&(a=E.count),E.Gb(a,y),(a===0||y.isPanelMain)&&(this.$g=null),ec(this)||this.v(),y.v(!1),y.portId!==null?this.Te=!0:y instanceof si&&y.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||Dm(this,y,!1),x=this.part,x!==null&&(x.Rh=null,x.ag=NaN,this.Te&&x instanceof Di&&(x.Te=!0),x.Te&&x instanceof Di&&(x.wc=null),E=this.diagram,E!==null&&E.undoManager.isUndoingRedoing||(b!==-1&&x.cb(Mi,"elements",this,y,null,b,null),x.cb(ui,"elements",this,null,y,null,a)))};function Cv(a,y){a.l=y?a.l|16777216:a.l&-16777217}Ce.remove=function(a){for(var y=this.O.s,x=y.length,b=-1,E=0;Ea&&Qn(a,">= 0",si,"getRowDefinition:idx"),a=Math.round(a);var y=this.rowDefs;if(y[a]===void 0){var x=new Ws;x.wi(this),x.isRow=!0,x.index=a,y[a]=x,this.cb(ui,"rowdefs",this,null,x,null,a)}return y[a]},Ce.oA=function(a){if(0>a&&Qn(a,">= 0",si,"removeRowDefinition:idx"),this.rowCount!==0){a=Math.round(a);var y=this.rowDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(Mi,"rowdefs",this,x,null,a,null),this.v()}}};function p1(a,y,x){var b=a.rowDefs;if(!(0>y)){if(b[y]=x instanceof Ws?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ce.Eb=function(a){0>a&&Qn(a,">= 0",si,"getColumnDefinition:idx"),a=Math.round(a);var y=this.colDefs;if(y[a]===void 0){var x=new Ws;x.wi(this),x.isRow=!1,x.index=a,y[a]=x,this.cb(ui,"coldefs",this,null,x,null,a)}return y[a]},Ce.jA=function(a){if(0>a&&Qn(a,">= 0",si,"removeColumnDefinition:idx"),this.columnCount!==0){a=Math.round(a);var y=this.colDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(Mi,"coldefs",this,x,null,a,null),this.v()}}};function m1(a,y,x){var b=a.colDefs;if(!(0>y)){if(b[y]=x instanceof Ws?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ce.Gy=function(a){var y=null;return a.isRow?y=this.Fb(a.index):a.isRow||(y=this.Eb(a.index)),y&&Bm(y,a),this},Ce.Hy=function(a,y){return(a=this.Fb(a))&&Bm(a,new Ws(y)),this},Ce.By=function(a,y){return(a=this.Eb(a))&&Bm(a,new Ws(y)),this},Ce.nz=function(a){if(0>a||this.type!==si.Table||this.rowCount===0)return-1;for(var y=0,x=this.rowDefs,b=x.length,E=this.topIndex;Ea||this.type!==si.Table||this.columnCount===0)return-1;for(var y=0,x=this.colDefs,b=x.length,E=this.leftIndex;Ea;)this.pc(this.O.length-1,!1);y1(this,this.itemArray)};function y1(a,y){var x=wp(a);if(y===null||y.length===0)for(;a.O.length>x;)a.pc(a.O.length-1,!1);else if(a.O.length<=x){x=y.length;for(var b=0;bx)){var E=Ev(a,y);if(E=Av(a,E),E!==null){if(kc(E),E=E.copy(),E.l&16777216){var z=a.ih();z!==null&&Cv(z,!0)}typeof y=="object"&&(a.ge===null&&(a.ge=new Ii),a.ge.add(y,E)),z=x+wp(a),a.Gb(z,E),b&&(E.ub=y,bv(a,z,x),E.ub=null),E.data=y}}}function bv(a,y,x){for(a=a.O;ya&&Qn(a,">= 0",si,"padding"),a=new Vi(a)):(0>a.left&&Qn(a.left,">= 0",si,"padding:value.left"),0>a.right&&Qn(a.right,">= 0",si,"padding:value.right"),0>a.top&&Qn(a.top,">= 0",si,"padding:value.top"),0>a.bottom&&Qn(a.bottom,">= 0",si,"padding:value.bottom"));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.v(),this.g("padding",y,a))}},defaultAlignment:{get:function(){return this.Tm},set:function(a){var y=this.Tm;y.D(a)||(this.Tm=a=a.J(),this.v(),this.g("defaultAlignment",y,a))}},defaultStretch:{get:function(){return this.Uf},set:function(a){var y=this.Uf;y!==a&&(this.Uf=a,this.v(),this.g("defaultStretch",y,a))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:Bs},set:function(a){typeof a=="number"&&(a=new Vi(a));var y=this.defaultSeparatorPadding;y.D(a)||(a=a.J(),this.T===null&&(this.T=new gc),this.T.Qp=a,this.v(),this.g("defaultSeparatorPadding",y,a))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(a){var y=this.defaultRowSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof ia)&&(a instanceof ia&&a.freeze(),this.T===null&&(this.T=new gc),this.T.ia=a,this.N(),this.g("defaultRowSeparatorStroke",y,a))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(a){var y=this.defaultRowSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new gc),this.T.Ha=a,this.v(),this.g("defaultRowSeparatorStrokeWidth",y,a))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(a){var y=this.defaultRowSeparatorDashArray;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea)&&Et("Panel.topIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new gc),this.T.Hb=a,this.v(),this.g("topIndex",y,a))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(a){var y=this.leftIndex;y!==a&&((!isFinite(a)||0>a)&&Et("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new gc),this.T.hb=a,this.v(),this.g("leftIndex",y,a))}},data:{get:function(){return this.ub},set:function(a){var y=this.ub;if(y!==a){var x=this instanceof ur&&!(this instanceof Yo);kc(this),this.ub=a;var b=this.diagram;b!==null&&(x?(x=b.partManager,this instanceof gi?(y!==null&&x.bf.remove(y),a!==null&&x.bf.add(a,this)):this instanceof ur&&(y!==null&&x.cf.remove(y),a!==null&&x.cf.add(a,this))):(x=this.panel,x!==null&&x.ge!==null&&(y!==null&&x.ge.remove(y),a!==null&&x.ge.add(a,this)))),this.g("data",y,a),b!==null&&b.undoManager.isUndoingRedoing||a!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(a){var y=this.zn;y!==a&&(this.zn=a,this.g("itemIndex",y,a))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new qf),this.A.nb=a)}},itemArray:{get:function(){return this.Hh},set:function(a){var y=this.Hh;if(y!==a||a!==null&&Lx(this,a)){var x=this.diagram;y!==a&&(x!==null&&y!==null&&hy(x.partManager,this,x),this.Hh=a,x!==null&&a!==null&&dy(x.partManager,this)),this.g("itemArray",y,a),x!==null&&x.undoManager.isUndoingRedoing||y1(this,a)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(a){if(this.itemTemplateMap===null){if(a===null)return;this.itemTemplateMap=new Ii}var y=this.itemTemplateMap.I("");y!==a&&((a instanceof ur||a.isPanelMain)&&Et("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+a),this.itemTemplateMap.add("",a),this.g("itemTemplate",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(a){var y=this.itemTemplateMap;if(y!==a){for(var x=a.iterator;x.next(););uo(this),this.A.Pc=a,this.g("itemTemplateMap",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(a){var y=this.itemCategoryProperty;y!==a&&(uo(this),this.A.Oc=a,this.g("itemCategoryProperty",y,a))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("isAtomic",y,a))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this instanceof Xr&&(this.tb=null),this.v(),this.g("isClipping",y,a))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(a){var y=(this.l&33554432)!==0;y!==a&&(this.l^=33554432,this.v(),this.g("isOpposite",y,a))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;if(y!==a){var x=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",y,a),y=this.diagram,y!==null&&y.undoManager.isUndoingRedoing||x&&Dm(this,this,a)}}},alignmentFocusName:{get:function(){return this.$e},set:function(a){var y=this.$e;y!==a&&(this.$e=a,this.v(),this.g("alignmentFocusName",y,a))}}}),tt.Object.defineProperties(si,{Position:{get:function(){return Zc.I("Position")}},Horizontal:{get:function(){return Zc.I("Horizontal")}},Vertical:{get:function(){return Zc.I("Vertical")}},Spot:{get:function(){return Zc.I("Spot")}},Auto:{get:function(){return Zc.I("Auto")}},Table:{get:function(){return Zc.I("Table")}},Viewbox:{get:function(){return Zc.I("Viewbox")}},TableRow:{get:function(){return Zc.I("TableRow")}},TableColumn:{get:function(){return Zc.I("TableColumn")}},Link:{get:function(){return Zc.I("Link")}},Grid:{get:function(){return Zc.I("Grid")}},Graduated:{get:function(){return Zc.I("Graduated")}}}),si.prototype.rebuildItemElements=si.prototype.mv,si.prototype.findItemPanelForData=si.prototype.sx,si.prototype.updateTargetBindings=si.prototype.La,si.prototype.copyTemplate=si.prototype.Uy,si.prototype.graduatedValueForPoint=si.prototype.Gz,si.prototype.graduatedPointForValue=si.prototype.Fz,si.prototype.findColumnForLocalX=si.prototype.fz,si.prototype.findRowForLocalY=si.prototype.nz,si.prototype.addColumnDefinition=si.prototype.By,si.prototype.addRowDefinition=si.prototype.Hy,si.prototype.addRowColumnDefinition=si.prototype.Gy,si.prototype.removeColumnDefinition=si.prototype.jA,si.prototype.getColumnDefinition=si.prototype.Eb,si.prototype.removeRowDefinition=si.prototype.oA,si.prototype.getRowDefinition=si.prototype.Fb,si.prototype.removeAt=si.prototype.mb,si.prototype.remove=si.prototype.remove,si.prototype.insertAt=si.prototype.Gb,si.prototype.elt=si.prototype.M,si.prototype.add=si.prototype.add,si.prototype.findObject=si.prototype.fb,si.prototype.findInVisualTree=si.prototype.Nl,si.prototype.walkVisualTreeFrom=si.prototype.qm,si.prototype.findMainElement=si.prototype.Pb;var S1=!1,x1=null,Zc=new Ii;si.className="Panel",si.definePanelLayout=yd,yd("Position",new Sm),yd("Vertical",new wm),yd("Auto",new Cm),yd("Link",new Fm);function th(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}th.prototype.copy=function(){var a=new th;return a.lq=this.lq,a.F=this.F,a.ia=this.ia,a.V=this.V,a.u=this.u,a.j=this.j,a.o=this.o,a.Zh=this.Zh,a},th.className="GradPanelSettings";function gc(){this.Pc=[],this.Oc=[],this.j=this.ob=Om,this.hb=this.Hb=0,this.Qp=Bs,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}gc.prototype.copy=function(a){for(var y=new gc,x=this.Pc,b=x.length,E=y.Pc,z=0;za&&Qn(a,">= 0",Ws,"height"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",y,a))}},width:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&Qn(a,">= 0",Ws,"width"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",y,a))}},minimum:{get:function(){return this.jj},set:function(a){var y=this.jj;y!==a&&((0>a||!isFinite(a))&&Qn(a,">= 0",Ws,"minimum"),this.jj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",y,a))}},maximum:{get:function(){return this.hj},set:function(a){var y=this.hj;y!==a&&(0>a&&Qn(a,">= 0",Ws,"maximum"),this.hj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",y,a))}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(this.Jb=a.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",y,a))}},stretch:{get:function(){return this.hg},set:function(a){var y=this.hg;y!==a&&(this.hg=a,this.panel!==null&&this.panel.v(),this.Ob("stretch",y,a))}},separatorPadding:{get:function(){return this.dg},set:function(a){typeof a=="number"&&(a=new Vi(a));var y=this.dg;a!==null&&y!==null&&y.D(a)||(a!==null&&(a=a.J()),this.dg=a,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",y,a))}},separatorStroke:{get:function(){return this.lo},set:function(a){var y=this.lo;y!==a&&(a!==null&&tg(a,"RowColumnDefinition.separatorStroke"),a instanceof ia&&a.freeze(),this.lo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",y,a))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(a){var y=this.mo;y!==a&&(this.mo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",y,a))}},separatorDashArray:{get:function(){return this.tj},set:function(a){var y=this.tj;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;EE)){var z=b.measuredBounds,ee=Math.max(1,z.width);z=z.height;for(var re=x[0],oe=x[1],le,ue,fe,xe,Ee,Ae,Te=0,ot=ti(),Ue=2;Uefe&&(fe=1),E=x=fe,le=ee/2,ue=le!==0,Ue=0,Ae=ot[Ue],fe=Ae[0],Ee=Ae[1],xe=Ae[2],Ae=Ae[3];for(var St=0;.1<=Te;){if(St===0&&(ue?(E=x,E-=le,Te-=le,ue=!1):E=x,E===0&&(E=1)),E>Te){xi(ot);return}E>Ae?(St=E-Ae,E=Ae):St=0;var Ct=Math.sqrt(E*E/(1+xe*xe));if(0>fe&&(Ct=-Ct),re+=Ct,oe+=xe*Ct,a.translate(re,oe),a.rotate(Ee),a.translate(-(ee/2),-(z/2)),St===0&&b.hh(a,y),a.translate(ee/2,z/2),a.rotate(-Ee),a.translate(-re,-oe),Te-=E,Ae-=E,St!==0){if(Ue++,Ue===ot.length){xi(ot);return}Ae=ot[Ue],fe=Ae[0],Ee=Ae[1],xe=Ae[2],Ae=Ae[3],E=St}}xi(ot)}}Ce.hh=function(a,y){var x=this.xc,b=this.Ui;if(x!==null||b!==null){var E=this.ua;if(E!==null){a.yc();var z=this.actualBounds,ee=this.naturalBounds;b!==null&&ds(this,a,b,!0,!1,ee,z);var re=this.part,oe=this.ig;if(x===null||oe!==0||re===null||!this.isPanelMain&&re.Pb()!==this||(oe=re.type===si.Link&&re instanceof Yo&&re.category==="Selection"&&re.adornedObject instanceof ro&&re.adornedPart.Pb()===re.adornedObject?re.adornedObject.strokeWidth:0),oe===0&&(x=null),x!==null&&oe!==0&&(ds(this,a,x,!1,!1,ee,z),a.lineWidth=oe,a.lineJoin=this.strokeJoin,a.lineCap=this.strokeCap,a.miterLimit=this.strokeMiterLimit),z=!1,re&&y.Gf("drawShadows")&&(z=re.isShadowed),a.Il===!1&&(z=!1),re=!0,x===null||b!==null&&b!=="transparent"||(re=!1),ee=!1,oe=this.strokeDashArray,oe!==null&&(ee=!0,a.js(oe,this.strokeDashOffset)),E.type===di.j)a.beginPath(),a.moveTo(E.startX,E.startY),a.lineTo(E.endX,E.endY),x!==null&&a.jk(),a.Se();else if(E.type===di.u){var le=E.startX;oe=E.startY;var ue=E.endX,fe=E.endY;E=Math.min(le,ue);var xe=Math.min(oe,fe);le=Math.abs(ue-le),oe=Math.abs(fe-oe),a.beginPath(),a.rect(E,xe,le,oe),b!==null&&a.ng(b),x!==null&&(re&&z&&Md(a),a.jk(),re&&z&&_d(a)),a.Se()}else if(E.type===di.F)le=E.startX,oe=E.startY,ue=E.endX,fe=E.endY,E=Math.abs(ue-le)/2,xe=Math.abs(fe-oe)/2,le=Math.min(le,ue)+E,oe=Math.min(oe,fe)+xe,a.beginPath(),a.moveTo(le,oe-xe),a.bezierCurveTo(le+Kt.wg*E,oe-xe,le+E,oe-Kt.wg*xe,le+E,oe),a.bezierCurveTo(le+E,oe+Kt.wg*xe,le+Kt.wg*E,oe+xe,le,oe+xe),a.bezierCurveTo(le-Kt.wg*E,oe+xe,le-E,oe+Kt.wg*xe,le-E,oe),a.bezierCurveTo(le-E,oe-Kt.wg*xe,le-Kt.wg*E,oe-xe,le,oe-xe),a.closePath(),b!==null&&a.ng(b),x!==null&&(re&&z&&Md(a),a.jk(),re&&z&&_d(a)),a.Se();else if(E.type===di.o)for(E=E.figures,oe=E.length,xe=0;xeTe.sweepAngle,Ee!==null?Ee.endX:le.startX,Ee!==null?Ee.endY:le.startY)}else if(Ee=wl(Te,le),ot=Ee.length,ot===0)a.lineTo(Te.centerX,Te.centerY);else for(var Ue=0;Ue(x.startX-x.endX)*(a.x-x.endX)+(x.startY-x.endY)*(a.y-x.endY)||0>b)?!1:(Cn.free(z),Kt.Yb(x.startX,x.startY,x.endX,x.endY,E,a.x,a.y));if(x.type===di.u){y=x.startX;var ee=x.startY,re=x.endX;if(x=x.endY,z.x=Math.min(y,re),z.y=Math.min(ee,x),z.width=Math.abs(re-y),z.height=Math.abs(x-ee),this.fill===null){if(z.Bc(-b,-b),z.ca(a))return Cn.free(z),!1;z.Bc(b,b)}return this.stroke!==null&&z.Bc(E,E),a=z.ca(a),Cn.free(z),a}if(x.type===di.F){ee=x.startX,E=x.startY,re=x.endX;var oe=x.endY;if(x=Math.min(ee,re),y=Math.min(E,oe),ee=Math.abs(re-ee)/2,E=Math.abs(oe-E)/2,x=a.x-(x+ee),y=a.y-(y+E),this.fill===null){if(ee-=b,E-=b,0>=ee||0>=E||1>=x*x/(ee*ee)+y*y/(E*E))return Cn.free(z),!1;ee+=b,E+=b}return this.stroke!==null&&(ee+=b,E+=b),Cn.free(z),0>=ee||0>=E?!1:1>=x*x/(ee*ee)+y*y/(E*E)}if(x.type===di.o)return Cn.free(z),this.fill===null?jl(x,a.x,a.y,E):_l(x,a,E,1=this.strokeWidth)ue=Kt.Ve(le.startX,le.startY,le.endX,le.endY,z,ee,re,oe,E);else{if(le.startX===le.endX?(b=fe,ue=0):(y=(le.endY-le.startY)/(le.endX-le.startX),ue=fe/Math.sqrt(1+y*y),b=ue*y),y=ti(),a=new Qe,Kt.Ve(le.startX+b,le.startY+ue,le.endX+b,le.endY+ue,z,ee,re,oe,a)&&y.push(a),a=new Qe,Kt.Ve(le.startX-b,le.startY-ue,le.endX-b,le.endY-ue,z,ee,re,oe,a)&&y.push(a),a=new Qe,Kt.Ve(le.startX+b,le.startY+ue,le.startX-b,le.startY-ue,z,ee,re,oe,a)&&y.push(a),a=new Qe,Kt.Ve(le.endX+b,le.endY+ue,le.endX-b,le.endY-ue,z,ee,re,oe,a)&&y.push(a),re=y.length,re===0)return xi(y),!1;for(ue=!0,oe=1/0,b=0;bMath.abs(x)){if(oe=ee-ue-x*(z-b),0>a*a*x*x+le*le-oe*oe){E.x=NaN,E.y=NaN,ue=!1;break e}fe=Math.sqrt(a*a*x*x+le*le-oe*oe),re=(-(a*a*x*oe)+a*le*fe)/(le*le+a*a*x*x)+b,a=(-(a*a*x*oe)-a*le*fe)/(le*le+a*a*x*x)+b,le=x*(re-b)+oe+ue,oe=x*(a-b)+oe+ue,Math.abs((z-re)*(z-re))+Math.abs((ee-le)*(ee-le))re){E.x=NaN,E.y=NaN,ue=!1;break e}oe=Math.sqrt(re),re=ue+oe,oe=ue-oe,Math.abs(re-ee)Math.abs(Ae)?(Te*=.5/Ae,Ae=.5):Te!==0&&.5>Math.abs(Te)&&(Ae*=.5/Te,Te=.5),Ue-=Ae,St-=Te;Ee.contains(Ue,St);)Ue-=Ae,St-=Te;for(E.x=re,E.y=oe,Te=0;Tex?a-x:x-a)<(y>b?y-b:b-y)?(a=ya||Kt.$(oe.y,a))&&(oe.yy||Kt.$(oe.x,y))&&(oe.x=a&&b<=y):(a=b&&x<=a)}Ce.tx=function(a,y,x){function b(ot,Ue){for(var St=ot.length,Ct=0;CtE)return!0;return!1}if(x&&this.fill!==null&&this.gh(a,!0))return!0;var E=a.Bf(y),z=E;if(1.5=E||Bi(y,z,0,-fe)>=E||Bi(y,z,0,fe)>=E||Bi(y,z,ue,0)>=E)}else if(y.type===di.o){if(le=y.bounds,z=le.x,re=le.y,oe=le.x+le.width,le=le.y+le.height,a.x>oe&&a.xle&&a.yE&&Oi(a.x,a.y,z,re,oe,re)>E&&Oi(a.x,a.y,oe,le,z,le)>E&&Oi(a.x,a.y,oe,le,oe,re)>E)return!1;if(z=Math.sqrt(E),x){if(this.fill===null?jl(y,a.x,a.y,z):_l(y,a,z,!0,!1))return!0}else{for(x=y.figures,y=0;yE)return!1;for(re=z.segments.s,oe=re.length,le=0;leE)return!1;break;case ol:var xe=ti();if(Kt.Qe(ee,ue,fe.point1X,fe.point1Y,fe.point2X,fe.point2Y,fe.endX,fe.endY,.8,xe),ee=b(xe,a),xi(xe),ee||(ee=fe.endX,ue=fe.endY,a.zd(ee,ue)>E))return!1;break;case je:if(xe=ti(),Kt.ep(ee,ue,fe.point1X,fe.point1Y,fe.endX,fe.endY,.8,xe),ee=b(xe,a),xi(xe),ee||(ee=fe.endX,ue=fe.endY,a.zd(ee,ue)>E))return!1;break;case $e:case st:xe=fe.type===$e?wl(fe,z):Il(fe,z,ee,ue);var Ee=xe.length;if(Ee===0){if(ee=fe.type===$e?fe.centerX:fe.endX,ue=fe.type===$e?fe.centerY:fe.endY,a.zd(ee,ue)>E)return!1;break}fe=null;for(var Ae=ti(),Te=0;Te= 0",ro,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(a){var y=this.strokeCap;y!==a&&(typeof a!="string"||a!=="butt"&&a!=="round"&&a!=="square"?Qn(a,'"butt", "round", or "square"',ro,"strokeCap"):(Ff(this),this.Na.Hr=a,this.N(),this.g("strokeCap",y,a)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(a){var y=this.strokeJoin;y!==a&&(typeof a!="string"||a!=="miter"&&a!=="bevel"&&a!=="round"?Qn(a,'"miter", "bevel", or "round"',ro,"strokeJoin"):(Ff(this),this.Na.Ir=a,this.N(),this.g("strokeJoin",y,a)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(a){var y=this.strokeMiterLimit;if(y!==a&&1<=a){Ff(this),this.Na.Jr=a,this.N();var x=this.part;x!==null&&(x.ag=NaN),this.g("strokeMiterLimit",y,a)}}},strokeDashArray:{get:function(){return this.Yg},set:function(a){var y=this.Yg;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea?a=0:1a?a=0:1(fe*fe+ue*ue)*xe*xe&&(x=!0),y.ib!==a&&(x=!1),y.ib instanceof Ku&&(x=!1),y.Gf("textGreeking")===!1&&(x=!1),y=this.spacingAbove,fe=this.spacingBelow,this.flip){case jo:a.translate(E,0),a.scale(-1,1);break;case po:a.translate(0,z),a.scale(1,-1);break;case ua:a.translate(E,z),a.scale(-1,-1)}if(a.yc(),ue=this.Gc,xe=(y+ee+fe)*ue,z>xe&&(b=this.verticalAlignment,b=b.y*z-b.y*xe+b.offsetY),ue===1&&this.ze!==null)fe=this.Cb,fe>E&&(fe=E),this.Oj(this.ze,a,0,b+y,E,ee,fe,x,re,oe,le);else if(this.Qc!==null&&this.Qb!==null)for(xe=0;xeE&&(Ee=E),b+=y,this.Oj(this.Qb[xe],a,0,b,E,ee,Ee,x,re,oe,le),b+=ee+fe}switch(this.flip){case jo:a.scale(-1,1),a.translate(-E,0);break;case po:a.scale(1,-1),a.translate(0,-z);break;case ua:a.scale(-1,-1),a.translate(-E,-z)}}},Ce.Oj=function(a,y,x,b,E,z,ee,re,oe,le,ue){var fe=0;if(re)oe==="left"?fe=0:oe==="right"?fe=E-ee:oe==="center"&&(fe=(E-ee)/2),y.fillRect(x+fe,b+.25*z,ee,1);else{if(oe==="left"?fe=0:oe==="right"?fe=E:oe==="center"&&(fe=E/2),E=zm!==null?zm(this,z):.75*z,y.fillText(a,x+fe,b+E),a=z/20|0,a===0&&(a=1),oe==="right"?fe-=ee:oe==="center"&&(fe-=ee/2),le){re=jm!==null?jm(this,z):.8*z,oe=x+fe,le=b+re,E=x+fe+ee,re=b+re;var xe=a;y.beginPath(),y.lineWidth=xe,y.moveTo(oe,le),y.lineTo(E,re),y.stroke(),y.Se(),y instanceof Ku&&y.ad.classList.add("gojs-td")}ue&&(ue=b+z-z/2.2|0,a%2!==0&&(ue+=.5),b=x+fe,z=ue,x=x+fe+ee,ee=ue,fe=a,y.beginPath(),y.lineWidth=fe,y.moveTo(b,z),y.lineTo(x,ee),y.stroke(),y.Se(),y instanceof Ku&&y.ad.classList.add("gojs-td"))}},Ce.kk=function(a,y,x){if(!Vt.prototype.kk.call(this,a,y,x))return!1;if(ds(this,a,this.xc,!0,!1,this.naturalBounds,this.actualBounds),x){if(this.svg.getElementsByTagName("text").length===0)return!0;for(y=this.svg.getElementsByClassName("gojs-td"),x=0;x=this.Qb.length))){for(this.l|=16777216,le=this.Qb[oe],y=Math.max(1,a-y);Kc(le)>y&&1a.maxLines&&(a.l|=16777216))}function Nv(a,y,x,b){var E=a.formatting===Ep;E&&(y=y.trim());var z=0,ee=a.Ae,re=a.spacingAbove+a.spacingBelow;re=Math.max(0,bp(a)+re);var oe=a.overflow===Hm?b1(ee):0;if(a.Gc>=a.maxLines)b!==null&&b.h(0,re);else if(ee=y,a.wrap===Dv){a.Le=1;var le=Kc(y);if(oe===0||le<=x)a.Cb=Math.max(a.Cb,le),Cp(a,y,a.Cb),b!==null&&b.h(le,re);else{for(z=Dg(a,ee),ee=ee.substr(z.length),y=Dg(a,ee),le=Kc(z+y);0x&&1x;){var fe=1;for(le=Kc(y.substr(0,fe)),ue=0;le<=x;)fe++,ue=le,le=Kc(y.substr(0,fe));if(fe===1){var xe=le;z=Math.max(z,le)}else xe=ue,z=Math.max(z,ue);if(fe--,1>fe&&(fe=1),Cp(a,y.substr(0,fe),xe),oe++,y=y.substr(fe),a.Gc+oe>a.maxLines)break}for(ue=Dg(a,ee),le=Kc(y+ue);0a.maxLines))break}a.Le=Math.min(a.maxLines,oe),a.Cb=Math.max(a.Cb,z),b!==null&&b.h(a.Cb,re*a.Le)}}function Dg(a,y){if(a.wrap===L1)return y.substr(0,1);for(var x=y.length,b=0,E=Mx;b=y.length?y:y.substr(0,b)}function Kc(a){return Pu===null?8*a.length:Pu.measureText(a).width}function bp(a){if(a.df!==null)return a.df;var y=a.Ae;if(Pu===null){var x=16;return a.df=x}return Ov[y]!==void 0&&5e3>F1?x=Ov[y]:(x=1.3*Pu.measureText("M").width,Ov[y]=x,F1++),a.df=x}function b1(a){if(Pu===null)return 6;if(Wm[a]!==void 0&&5e3>Iv)var y=Wm[a];else y=Pu.measureText(Ap).width,Wm[a]=y,Iv++;return y}function E1(a,y){var x=a.ec.replace(/\r\n/g,` `).replace(/\r/g,` `),b=a.spacingAbove+a.spacingBelow;if(b=Math.max(0,bp(a)+b),x.length===0)return a.Cb=0,a.Gc=1,b;if(!a.isMultiline){var E=x.indexOf(` `,0);0<=E&&(x=x.substr(0,E))}E=0;for(var z=a.Gc=0,ee,re=!1;!re;){if(ee=x.indexOf(` `,z),ee===-1&&(ee=x.length,re=!0),z<=ee){if(z=x.substr(z,ee-z),a.wrap!==Dv){a.Le=0;var oe=zn.alloc();Nv(a,z,y,oe),E+=oe.height,zn.free(oe),a.Gc+=a.Le}else Nv(a,z,y,null),E+=b,a.Gc++;a.Gc===a.maxLines&&(re=!0)}z=ee+1}return a.Lq=E}tt.Object.defineProperties(ba.prototype,{font:{get:function(){return this.Ae},set:function(a){var y=this.Ae;y!==a&&(this.Ae=a,this.df=null,this.v(),this.g("font",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;a!=null?a=a.toString():a="",y!==a&&(this.ec=a,this.v(),this.g("text",y,a),this.Uc=!0)}},textAlign:{get:function(){return this.da!==null?this.da.Or:"start"},set:function(a){var y=this.textAlign;y===a||a!=="start"&&a!=="end"&&a!=="left"&&a!=="right"&&a!=="center"||(Sd(this),this.da.Or=a,this.N(),this.g("textAlign",y,a))}},flip:{get:function(){return this.da!==null?this.da.Xf:ei},set:function(a){var y=this.flip;y!==a&&(Sd(this),this.da.Xf=a,this.N(),this.g("flip",y,a))}},verticalAlignment:{get:function(){return this.da!==null?this.da.Yr:Cs},set:function(a){var y=this.verticalAlignment;y.D(a)||(a=a.J(),Sd(this),this.da.Yr=a,nu(this),this.g("verticalAlignment",y,a))}},naturalBounds:{get:function(){if(!this.dc.w()){var a=zn.alloc();Nv(this,this.ec,999999,a);var y=a.width;zn.free(a),a=E1(this,y);var x=this.desiredSize;isNaN(x.width)||(y=x.width),isNaN(x.height)||(a=x.height),ca(this.dc,y,a)}return this.dc}},isMultiline:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this.v(),this.g("isMultiline",y,a))}},isUnderline:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;y!==a&&(this.l^=4194304,this.Uc=!0,this.N(),this.g("isUnderline",y,a))}},isStrikethrough:{get:function(){return(this.l&8388608)!==0},set:function(a){var y=(this.l&8388608)!==0;y!==a&&(this.l^=8388608,this.Uc=!0,this.N(),this.g("isStrikethrough",y,a))}},wrap:{get:function(){return this.da!==null?this.da.$r:Bv},set:function(a){var y=this.wrap;y!==a&&(Sd(this),this.da.$r=a,this.v(),this.g("wrap",y,a))}},overflow:{get:function(){return this.da!==null?this.da.$q:Tv},set:function(a){var y=this.overflow;y!==a&&(Sd(this),this.da.$q=a,this.v(),this.g("overflow",y,a))}},isOverflowed:{get:function(){return(this.l&16777216)!==0}},stroke:{get:function(){return this.xc},set:function(a){var y=this.xc;y!==a&&(a!==null&&tg(a,"TextBlock.stroke"),a instanceof ia&&a.freeze(),this.xc=a,this.N(),this.g("stroke",y,a))}},lineCount:{get:function(){return this.Gc}},lineHeight:{get:function(){return bp(this)}},editable:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("editable",y,a))}},textEditor:{get:function(){return this.da!==null?this.da.Qr:null},set:function(a){var y=this.textEditor;y!==a&&(Sd(this),this.da.Qr=a,this.g("textEditor",y,a))}},errorFunction:{get:function(){return this.da!==null?this.da.Hd:null},set:function(a){var y=this.errorFunction;y!==a&&(Sd(this),this.da.Hd=a,this.g("errorFunction",y,a))}},interval:{get:function(){return this.fa!==null?this.fa.Tk:1},set:function(a){var y=this.interval;if(a=Math.round(a),y!==a&&a!==0&&isFinite(a)){this.fa===null&&(this.fa=new Nd),this.fa.Tk=a,this.v();var x=this.panel;x!==null&&(x.graduatedIntervals=null),this.g("interval",y,a)}}},graduatedStart:{get:function(){return this.fa!==null?this.fa.u:0},set:function(a){var y=this.graduatedStart;y!==a&&(0>a?a=0:1a?a=0:1=a&&Qn(a,"> 0",ba,"maxLines"),Sd(this),this.da.Jq=a,this.v(),this.g("maxLines",y,a))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(a){var y=this.Gm;y!==a&&(this.Gm=a,this.g("choices",y,a))}}});var zm=null,jm=null,Dv=new Xt(ba,"None",0),A1=new Xt(ba,"WrapFit",1),Bv=new Xt(ba,"WrapDesiredSize",2),L1=new Xt(ba,"WrapBreakAll",3),Tv=new Xt(ba,"OverflowClip",0),Hm=new Xt(ba,"OverflowEllipsis",1),Ep=new Xt(ba,"FormatTrim",0),M1=new Xt(ba,"FormatNone",0),Mx=/[ \u200b\u00ad]/,Ov=new Hi,F1=0,Wm=new Hi,Iv=0,Ap="...",k1="",Pu=null,Zm=!1;ba.className="TextBlock";function Rv(){this.nc=!1,this.Hd=null,this.Xf=ei,this.gq=Ep,this.Jq=1/0,this.$q=Tv,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=Cs,this.$r=Bv}Rv.prototype.copy=function(){var a=new Rv;return a.Hd=this.Hd,a.Xf=this.Xf,a.gq=this.gq,a.Jq=this.Jq,a.$q=this.$q,a.Dr=this.Dr,a.Er=this.Er,a.Or=this.Or,a.Pr=this.Pr,a.Qr=this.Qr,a.vj=this.vj,a.Yr=this.Yr,a.$r=this.$r,a},ba.getEllipsis=function(){return Ap},ba.setEllipsis=function(a){Ap=a,Wm=new Hi,Iv=0},ba.getBaseline=function(){return zm},ba.setBaseline=function(a){zm=a},ba.getUnderline=function(){return jm},ba.setUnderline=function(a){jm=a},ba.isValidFont=function(a){if(Zm||(Pu=cs?new Fc(null).context:null,Zm=!0),Pu===null)return!0;var y=Pu.font;if(a===y||a==="10px sans-serif")return!0;Pu.font="10px sans-serif",Pu.font=a;var x=Pu.font;if(x!=="10px sans-serif")return Pu.font=y,!0;Pu.font="19px serif";var b=Pu.font;return Pu.font=a,x=Pu.font,Pu.font=y,x!==b},ba.FormatNone=M1,ba.FormatTrim=Ep,ba.None=Dv,ba.OverflowClip=Tv,ba.OverflowEllipsis=Hm,ba.WrapBreakAll=L1,ba.WrapDesiredSize=Bv,ba.WrapFit=A1;function Nd(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}Nd.prototype.copy=function(){var a=new Nd;return a.Tk=this.Tk,a.u=this.u,a.j=this.j,a.F=this.F,a.o=this.o,a},Nd.className="GradElementSettings";function Cu(a,y){Vt.call(this),this.Eg=null,this.qo="",this.Xg=ko,this.Nk=ri,this.Zg=this.Hd=null,this.Mk=So,this.Xf=ei,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof a=="string"?this.source=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}var Bg;bt(Cu,Vt),Cu.prototype.cloneProtected=function(a){Vt.prototype.cloneProtected.call(this,a),a.qo=this.qo,a.element=this.Eg,a.Xg=this.Xg.J(),a.Nk=this.Nk,a.Xf=this.Xf,a.Hd=this.Hd,a.Zg=this.Zg,a.Mk=this.Mk.J(),a.en=this.en,a.rl=this.rl},Cu.prototype.qb=function(a){a===ei||a===tr||a===Eo?this.imageStretch=a:Vt.prototype.qb.call(this,a)},Cu.prototype.toString=function(){return"Picture("+this.source+")#"+vr(this)};function Tg(a){a===void 0&&(a=""),a!==""?Bg[a]&&(delete Bg[a],Km--):(Bg=new Hi,Km=0)}function N1(a,y){y.qy||(y.Fq=function(x){y.sq=!0,y.ln=!1;var b=y.Bg.copy();if(b!=null){for(b=b.iterator;b.next();){var E=b.value;E.N();var z=y.getAttribute("src")||"",ee=E.Og.I(z);if(ee!==null)for(var re=ee.length,oe=0;oe=b.width&&(z=z+Ae.offsetX+(fe*Ae.x-b.width*Ae.x)),xe>=b.height&&(ee=ee+Ae.offsetY+(xe*Ae.y-b.height*Ae.y)),oe=Math.min(b.width,fe),re=Math.min(b.height,xe);break;case ri:fe=b.width,xe=b.height;break;case tr:case Eo:Ee===tr?(Ee=Math.min(b.height/xe,b.width/fe),fe*=Ee,xe*=Ee):Ee===Eo&&(Ee=Math.max(b.height/xe,b.width/fe),fe*=Ee,xe*=Ee,fe>=b.width&&(z=(z+Ae.offsetX+(fe*Ae.x-b.width*Ae.x)/fe)*oe),xe>=b.height&&(ee=(ee+Ae.offsetY+(xe*Ae.y-b.height*Ae.y)/xe)*re),oe*=1/(fe/b.width),re*=1/(xe/b.height),fe=b.width,xe=b.height)}Ee=this.Df()*y.scale;var Te=fe*Ee*xe*Ee,ot=oe*re/Te,Ue=x.__goCache;Ee=null;var St=Fx;if(!E){if(x.sq&&Ue!==void 0&&4St*St)for(Ue.gi===null&&(B1(Ue,4,le,ue,x),B1(Ue,16,le,ue,x)),E=Ue.gi,le=E.length,ue=0;uea)&&(a=5),a=Math.min(a,y/3),a=Math.min(a,x/3);var b="rr"+y+","+x+","+a,E=Kt.Mf[b];if(E!==void 0)return E;var z=a*Kt.wg;return E=new di().add(new Os(a,0,!0).add(new Io(ya,y-a,0)).add(new Io(ol,y,a,y-z,0,y,z)).add(new Io(ya,y,x-a)).add(new Io(ol,y-a,x,y,x-z,y-z,x)).add(new Io(ya,a,x)).add(new Io(ol,0,x-a,z,x,0,x-z)).add(new Io(ya,0,a)).add(new Io(ol,a,0,0,z,z,0).close())),1E.x&&a.y>E.y&&a.rightE.x&&y.y>E.y&&y.right=x.maxSelectionCount)){this.G^=4096;var b=!1;if(x!==null){b=x.skipsUndoManager,x.skipsUndoManager=!0;var E=x.selection;E.ka(),a?E.add(this):E.remove(this),E.freeze()}this.g("isSelected",y,a),this.Wb(),a=this.selectionChanged,a!==null&&a(this),x!==null&&(x.$b(),x.skipsUndoManager=b)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(a){var y=(this.G&524288)!==0;if(y!==a){this.G^=524288;var x=this.diagram;x!==null&&(x=x.highlighteds,x.ka(),a?x.add(this):x.remove(this),x.freeze()),this.g("isHighlighted",y,a),this.N(),a=this.highlightedChanged,a!==null&&a(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(a){var y=(this.G&8192)!==0;y!==a&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",y,a),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(a){var y=(this.G&262144)!==0;y!==a&&(this.G^=262144,this.g("isAnimated",y,a))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(a){var y=this.highlightedChanged;y!==a&&(bu(this),this.P.oq=a,this.g("highlightedChanged",y,a))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(a){var y=this.selectionObjectName;y!==a&&(bu(this),this.P.vr=a,this.Ug=null,this.g("selectionObjectName",y,a))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(a){var y=this.selectionAdornmentTemplate;y!==a&&(bu(this),this.P.tr=a,this.g("selectionAdornmentTemplate",y,a))}},selectionObject:{get:function(){if(this.Ug===null){var a=this.selectionObjectName;a!==null&&a!==""?(a=this.fb(a),a!==null?this.Ug=a:this.Ug=this):this instanceof gi?(a=this.path,a!==null?this.Ug=a:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(a){var y=this.selectionChanged;y!==a&&(bu(this),this.P.ur=a,this.g("selectionChanged",y,a))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(a){var y=this.resizeAdornmentTemplate;y!==a&&(bu(this),this.P.fr=a,this.g("resizeAdornmentTemplate",y,a))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(a){var y=this.resizeObjectName;y!==a&&(bu(this),this.P.hr=a,this.g("resizeObjectName",y,a))}},resizeObject:{get:function(){var a=this.resizeObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:$o},set:function(a){var y=this.resizeCellSize;y.D(a)||(a=a.J(),bu(this),this.P.gr=a,this.g("resizeCellSize",y,a))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(a){var y=this.rotateAdornmentTemplate;y!==a&&(bu(this),this.P.ir=a,this.g("rotateAdornmentTemplate",y,a))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(a){var y=this.rotateObjectName;y!==a&&(bu(this),this.P.jr=a,this.g("rotateObjectName",y,a))}},rotateObject:{get:function(){var a=this.rotateObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:Xo},set:function(a){var y=this.rotationSpot;y.D(a)||(a=a.J(),bu(this),this.P.lr=a,this.g("rotationSpot",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;y!==a&&(this.ec=a,this.g("text",y,a))}},containingGroup:{get:function(){return this.Ah},set:function(a){if(this.Zc()){var y=this.Ah;if(y!==a){a===null||this!==a&&!a.Td(this)||(this===a&&Et("Cannot make a Group a member of itself: "+this.toString()),Et("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString())),this.C(2);var x=this.diagram;if(y!==null?Jv(y,this):this instanceof Xr&&x!==null&&x.ai.remove(this),this.Ah=a,a!==null?Xv(a,this):this instanceof Xr&&x!==null&&x.ai.add(this),this.C(1),x!==null&&x.aa){var b=this.data,E=x.model;if(b!==null&&E.Xj()){var z=E.wa(a!==null?a.data:null);E.mp(b,z)}}if(b=this.containingGroupChanged,b!==null&&(E=!0,x!==null&&(E=x.aa,x.aa=!0),b(this,y,a),x!==null&&(x.aa=E)),this instanceof Xr){for(x=new Ln,Xh(x,this,!0,0,!0),x=x.iterator;x.next();)if(b=x.value,b instanceof Di)for(b=b.linksConnected;b.next();)Rg(b.value)}if(this instanceof Di){for(x=this.linksConnected;x.next();)Rg(x.value);x=this.labeledLink,x!==null&&Rg(x)}this.g("containingGroup",y,a),a!==null&&(y=a.layer,y!==null&&Zu(y,-1,a))}}else Et("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(a){var y=this.containingGroupChanged;y!==a&&(bu(this),this.P.Kp=a,this.g("containingGroupChanged",y,a))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof Di&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(a){var y=this.layoutConditions;y!==a&&(bu(this),this.P.Cq=a,this.g("layoutConditions",y,a))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(a){var y=this.dragComputation;y!==a&&(bu(this),this.P.Up=a,this.g("dragComputation",y,a))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:Hn},set:function(a){var y=this.shadowOffset;y.D(a)||(a=a.J(),bu(this),this.P.zr=a,this.N(),this.g("shadowOffset",y,a))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(a){var y=this.shadowColor;y!==a&&(bu(this),this.P.yr=a,this.N(),this.g("shadowColor",y,a))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(a){var y=this.shadowBlur;y!==a&&(bu(this),this.P.Vg=a,this.N(),this.g("shadowBlur",y,a))}}}),ur.prototype.invalidateLayout=ur.prototype.C,ur.prototype.findCommonContainingGroup=ur.prototype.px,ur.prototype.isMemberOf=ur.prototype.Td,ur.prototype.findTopLevelPart=ur.prototype.sz,ur.prototype.findSubGraphLevel=ur.prototype.oz,ur.prototype.ensureBounds=ur.prototype.Va,ur.prototype.getDocumentBounds=ur.prototype.mi,ur.prototype.findObject=ur.prototype.fb,ur.prototype.moveTo=ur.prototype.moveTo,ur.prototype.invalidateAdornments=ur.prototype.Wb,ur.prototype.clearAdornments=ur.prototype.Ej,ur.prototype.removeAdornment=ur.prototype.Jf,ur.prototype.addAdornment=ur.prototype.bh,ur.prototype.findAdornment=ur.prototype.Pj,ur.prototype.updateTargetBindings=ur.prototype.La;var G1=!1;ur.className="Part",ur.LayoutNone=0,ur.LayoutAdded=1,ur.LayoutRemoved=2,ur.LayoutShown=4,ur.LayoutHidden=8,ur.LayoutNodeSized=16,ur.LayoutGroupLayout=32,ur.LayoutNodeReplaced=64,ur.LayoutStandard=127,ur.LayoutAll=16777215;function Yo(a,y){a===void 0||a instanceof Us||typeof a=="string"?ur.call(this,a):(ur.call(this),a&&(y=a)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,y&&Object.assign(this,y)}bt(Yo,ur),Yo.prototype.toString=function(){var a=this.adornedPart;return"Adornment("+this.category+")"+(a!==null?a.toString():"")},Yo.prototype.updateRelationshipsFromData=function(){},Yo.prototype.Ul=function(a){var y=this.adornedObject,x=y==null?void 0:y.part;if(x instanceof gi&&y instanceof ro){y=x.path,x.Ul(a),a=y.geometry,x=this.O.s,y=x.length;for(var b=0;ba&&(a=1);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Ln;x.add(this),q1(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===vh),y.Ue=!1}};function q1(a,y,x,b,E,z,ee){if(1a&&(a=2);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Ln;x.add(this),tS(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===vh),y.Ue=!1}};function tS(a,y,x,b,E,z,ee){for(var re=z===a?!1:a.isTreeExpanded,oe=x?a.Mo():a.Sd(),le={};oe.next();){var ue=oe.value;if(ue.isTreeLink&&(re||ue.fd||ue.bb(),ue=ue.To(a),ue!==null&&ue!==a&&!y.contains(ue))){if(y.add(ue),!re){ue.Zb(!0),ue.oh();var fe=x?ue.Oo():ue.Po();le.vv=a,fe.all(function(xe){return function(Ee){return Ee===xe.vv||!Ee.isTreeExpanded}}(le))&&E.Cj(ue,z)}(2E&&(E=re.right),re.bottom>z&&(z=re.bottom)}}return isFinite(x)&&isFinite(b)?a.h(x,b,E-x,z-b):(y=y.location,a.h(y.x,y.y,0,0)),a},tt.Object.defineProperties(ou.prototype,{padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new Vi(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.g("padding",y,a),this.v())}}}),ou.className="Placeholder";function gi(a){ur.call(this,si.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=au,this.Om=0,this.Qm=au,this.Rm=NaN,this.qj=ey,this.po=.5,this.wd=null,this.Nb=new kn().freeze(),this.Tg=this.Mg=null,this.ml=new Cn,this.ua=new di,this.u=this.o=this.Sf=this.Wf=null,this.su=new Qe,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],a&&Object.assign(this,a)}bt(gi,ur),gi.prototype.cloneProtected=function(a){ur.prototype.cloneProtected.call(this,a),a.Qa=this.Qa&-113,a.ff=this.ff,a.gn=this.gn,a.vf=this.vf,a.uo=this.uo,a.qk=this.qk,a.Om=this.Om,a.Qm=this.Qm,a.Rm=this.Rm,a.qj=this.qj,a.po=this.po,this.ba!==null&&(a.ba=this.ba.copy())},Ce=gi.prototype,Ce.Af=function(a){ur.prototype.Af.call(this,a),this.ff=a.ff,this.vf=a.vf,a.Mg=null,a.bb(),a.Sf=this.Sf;var y=a.fromPort;y!==null&&Vu(y),a=a.toPort,a!==null&&Vu(a)},Ce.qb=function(a){a.classType===gi?(a.value&2)===2?this.routing=a:a===nc||a===Eh||a===jg?this.curve=a:a===kp||a===n0||a===i0?this.adjusting=a:a!==ey&&a!==au&&Et("Unknown Link enum value for a Link property: "+a):ur.prototype.qb.call(this,a)},Ce.Xc=function(){this.ba===null&&(this.ba=new mp)},Ce.si=function(){var a=this.fromNode;if(a!==null){var y=a.findVisibleNode();if(y!==null&&(a=y),iu(a)||Yh(a))return!1}return a=this.toNode,!(a!==null&&(y=a.findVisibleNode(),y!==null&&(a=y),iu(a)||Yh(a)))},Ce.zv=function(){return!1},Ce.Av=function(){},Ce.Zc=function(){return!1},gi.prototype.computeAngle=function(a,y,x){return gi.computeAngle(y,x)},gi.computeAngle=function(a,y){switch(a){default:case au:a=0;break;case Np:a=y;break;case Dp:a=y+90;break;case Bp:a=y-90;break;case ty:a=y+180;break;case r0:a=Kt.bp(y),90a&&(a-=180);break;case Tp:a=Kt.bp(y+90),90a&&(a-=180);break;case Op:a=Kt.bp(y-90),90a&&(a-=180);break;case o0:if(a=Kt.bp(y),45a||225a)return 0;90a&&(a-=180)}return Kt.bp(a)};function Rg(a){var y=a.fromNode,x=a.toNode,b=null;if(y!==null?b=x!==null?y.px(x):y.containingGroup:x!==null?b=x.containingGroup:b=null,y=b,x=a.Ah,x!==y){x!==null&&Jv(x,a),a.Ah=y,y!==null&&Xv(y,a);var E=a.containingGroupChanged;if(E!==null){var z=!0,ee=a.diagram;ee!==null&&(z=ee.aa,ee.aa=!0),E(a,x,y),ee!==null&&(ee.aa=z)}!a.fd||a.Lw!==x&&a.Mw!==x||a.bb()}if(a.isLabeledLink)for(a=a.labelNodes;a.next();)a.value.containingGroup=b}Ce=gi.prototype,Ce.oh=function(){var a=this.containingGroup;a!==null&&this.fromNode!==a&&this.toNode!==a&&a.computesBoundsIncludingLinks&&ur.prototype.oh.call(this)},Ce.To=function(a){var y=this.fromNode;return a===y?this.toNode:y},Ce.Cz=function(a){var y=this.fromPort;return a===y?this.toPort:y};function rS(a,y){a.wd===null&&(a.wd=new Ln),a.wd.add(y),a.v()}Ce.Vo=function(a){if(ur.prototype.Vo.call(this,a),Df(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Xm(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||Xm(x,this,b)}Mp(this)}},Ce.Wo=function(a){if(ur.prototype.Wo.call(this,a),Df(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Jm(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||Jm(x,this,b)}Fp(this)}},Ce.Lj=function(){if(this.fd=!0,this.wd!==null){var a=this.diagram;if(a!==null)for(var y=this.wd.copy().iterator;y.next();)a.remove(y.value)}this.data!==null&&(a=this.diagram,a!==null&&a.partManager.removeDataForLink(this))},gi.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)}},gi.prototype.move=function(a,y){var x=y?this.location:this.position,b=x.x;isNaN(b)&&(b=0);var E=x.y;for(isNaN(E)&&(E=0),b=a.x-b,E=a.y-E,y===!0?ur.prototype.move.call(this,a,!1):(a=Qe.allocAt(x.x+b,x.y+E),ur.prototype.move.call(this,a,!1),Qe.free(a)),bh(this,b,E),a=this.labelNodes;a.next();)y=a.value,x=y.position,y.moveTo(x.x+b,x.y+E)},gi.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},gi.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},gi.prototype.computeMidPoint=function(a){var y=this.pointsCount;if(y===0)return a.assign(On),a;if(y===1)return a.assign(this.i(0)),a;if(y===2){var x=this.i(0),b=this.i(1);return a.h((x.x+b.x)/2,(x.y+b.y)/2),a}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===nc))return this.ua.Pu(.5,a),a.add(this.i(0)),x=this.ua.figures.first(),a.offset(-x.startX,-x.startY),a;if(this.computeCurve()===nc){if(y===3){x=this.i(0),b=this.i(1);var E=this.i(2);return Kt.ax(x.x,x.y,b.x,b.y,b.x,b.y,E.x,E.y,a),a}if(b=(y-1)/3|0,x=3*(b/2|0),b%2===1){b=this.i(x),E=this.i(x+1);var z=this.i(x+2);x=this.i(x+3),Kt.ax(b.x,b.y,E.x,E.y,z.x,z.y,x.x,x.y,a)}else a.assign(this.i(x));return a}var ee=this.flattenedLengths;for(x=this.flattenedTotalLength,E=z=b=0;bx/2));)b+=E,z++;return y=this.i(z),z=this.i(z+1),1>Math.abs(y.x-z.x)?y.y>z.y?a.h(y.x,y.y-(x/2-b)):a.h(y.x,y.y+(x/2-b)):1>Math.abs(y.y-z.y)?y.x>z.x?a.h(y.x-(x/2-b),y.y):a.h(y.x+(x/2-b),y.y):(x=(x/2-b)/E,a.h(y.x+x*(z.x-y.x),y.y+x*(z.y-y.y))),a},gi.prototype.computeMidAngle=function(){var a=this.pointsCount;if(2>a)return NaN;if(a===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===nc))return this.ua.wx(.5);if(this.computeCurve()===nc&&4<=a){var y=(a-1)/3|0,x=3*(y/2|0);if(y%2===1){x=Math.floor(x),a=this.i(x),y=this.i(x+1);var b=this.i(x+2);return x=this.i(x+3),Kt.My(a.x,a.y,y.x,y.y,b.x,b.y,x.x,x.y)}if(0b/2));)E+=z,x++;if(y=this.i(x),b=this.i(x+1),1>Math.abs(y.x-b.x)&&1>Math.abs(y.y-b.y)){if(0Math.abs(y.x-b.x))return y.y>b.y?270:90;if(1>Math.abs(y.y-b.y))return y.x>b.x?180:0}return y.ab(b)},Ce=gi.prototype,Ce.i=function(a){return this.Nb.s[a]},Ce.dd=function(a,y){this.Nb.cd(a,y)},Ce.L=function(a,y,x){this.Nb.cd(a,new Qe(y,x))},Ce.Kz=function(a,y){this.Nb.Gb(a,y)},Ce.m=function(a,y,x){this.Nb.Gb(a,new Qe(y,x))},Ce.ne=function(a){this.Nb.add(a)},Ce.yf=function(a,y){this.Nb.add(new Qe(a,y))},Ce.pv=function(a){this.Nb.mb(a)},Ce.Fj=function(){this.Nb.clear()};function bh(a,y,x){if(y!==0||x!==0)if(a.pointsCount===0)a.defaultFromPoint&&a.defaultFromPoint.offset(y,x),a.defaultToPoint&&a.defaultToPoint.offset(y,x);else{for(var b=a.fd,E=new kn,z=a.Nb.iterator;z.next();){var ee=z.value;E.add(new Qe(ee.x+y,ee.y+x).freeze())}E.freeze(),z=a.Nb,a.Nb=E,ee=a.diagram,isNaN(y)||isNaN(x)||ee!==null&&ee.animationManager.zb?a.v():(a.ke.h(a.ke.x+y,a.ke.y+x),a.pa.h(a.pa.x+y,a.pa.y+x),nu(a)),b?_m(a):(a.defaultFromPoint&&(a.defaultFromPoint=a.i(0)),a.defaultToPoint&&(a.defaultToPoint=a.i(a.pointsCount-1))),ee!==null&&ee.animationManager.zb&&xa(ee.animationManager,a,E),a.g("points",z,E)}}Ce.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},Ce.zf=function(){if(this.Mg!==null){for(var a=this.Mg,y=this.Nb,x=1/0,b=1/0,E=a.s,z=E.length,ee=0;eele&&(fe=-fe),Te=(0>oe?-1:1)*fe+Ee,ot=ue*(Te-Ee)+Ae),Ee=z.x+2*re/3,Ae=z.y+2*oe/3;var Ue=Ee,St=Ae;Kt.B(oe,0)?St=0oe?-1:1)*fe+Ee,St=ue*(Ue-Ee)+Ae),this.Fj(),this.ne(z),this.yf(Te,ot),this.yf(Ue,St),this.ne(xe),this.dd(0,this.getLinkPoint(a,y,ee,!0,!1,b,E)),this.dd(3,this.getLinkPoint(b,E,x,!1,!1,a,y))}else z=b,xe=E,b=this.getLinkPoint(a,y,ee,!0,!1,z,xe),E=this.getLinkPoint(z,xe,x,!1,!1,a,y),this.hasCurviness()?(xe=E.x-b.x,x=E.y-b.y,ee=this.computeCurviness(),a=b.x+xe/2,y=b.y+x/2,z=a,re=y,Kt.B(x,0)?re=0ee&&(z=-z),z=(0>x?-1:1)*z+a,re=xe*(z-a)+y),this.ne(b),this.yf(z,re),this.ne(E)):(this.ne(b),this.ne(E),re=Cn.alloc(),y.mi(re),oe=re.ca(E),xe.mi(re),le=re.ca(b),(oe||le)&&(ee=y.ga(qm(ee),new Qe),this.dd(0,this.getLinkPointFromPoint(a,y,ee,E,!0,ee)),x=xe.ga(qm(x),new Qe),this.dd(1,this.getLinkPointFromPoint(z,xe,x,b,!1,x))),Cn.free(re))}else{fe=this.isAvoiding,xe&&(ue&&fe||le)&&this.Fj();var Ct=le?this.computeCurviness():0;fe=this.getLinkPoint(a,y,ee,!0,ue,b,E),Ee=Te=Ae=0,(ue||!re||le)&&(ot=this.computeEndSegmentLength(a,y,ee,!0),Ee=this.getLinkDirection(a,y,fe,ee,!0,ue,b,E),le&&(re||ee.D(x)||!ue&&ee.x+x.x===1&&ee.y+x.y===1)&&(Ee-=ue?90:30,0>Ct&&(Ee-=180)),0>Ee?Ee+=360:360<=Ee&&(Ee-=360),le&&(ot+=Math.abs(Ct)*(ue?1:2)),Ee===0?Ae=ot:Ee===90?Te=ot:Ee===180?Ae=-ot:Ee===270?Te=-ot:(Ae=ot*Math.cos(Ee*Math.PI/180),Te=ot*Math.sin(Ee*Math.PI/180)),ee.Mc()&&le&&(ot=y.ga(So,Qe.alloc()),Ue=Qe.allocAt(ot.x+1e3*Ae,ot.y+1e3*Te),this.getLinkPointFromPoint(a,y,ot,Ue,!0,fe),Qe.free(ot),Qe.free(Ue))),ot=this.getLinkPoint(b,E,x,!1,ue,a,y);var Ft=St=Ue=0;if(ue||!oe||le){var jt=this.computeEndSegmentLength(b,E,x,!1);Ft=this.getLinkDirection(b,E,ot,x,!1,ue,a,y),le&&(oe||ee.D(x)||!ue&&ee.x+x.x===1&&ee.y+x.y===1)&&(Ft+=ue?0:30,0>Ct&&(Ft+=180)),0>Ft?Ft+=360:360<=Ft&&(Ft-=360),le&&(jt+=Math.abs(Ct)*(ue?1:2)),Ft===0?Ue=jt:Ft===90?St=jt:Ft===180?Ue=-jt:Ft===270?St=-jt:(Ue=jt*Math.cos(Ft*Math.PI/180),St=jt*Math.sin(Ft*Math.PI/180)),x.Mc()&&le&&(x=E.ga(So,Qe.alloc()),ee=Qe.allocAt(x.x+1e3*Ue,x.y+1e3*St),this.getLinkPointFromPoint(b,E,x,ee,!1,ot),Qe.free(x),Qe.free(ee))}x=fe,(ue||!re||le)&&(x=new Qe(fe.x+Ae,fe.y+Te)),ee=ot,(ue||!oe||le)&&(ee=new Qe(ot.x+Ue,ot.y+St)),!xe&&!ue&&re&&3Math.abs(y.y-a.y)?(y.x>=a.x?y.x=a.x+9e9:y.x=a.x-9e9,y.y=a.y):(y.y>=a.y?y.y=a.y+9e9:y.y=a.y-9e9,y.x=a.x),y}gi.prototype.getLinkPointFromPoint=function(a,y,x,b,E,z){if(z===void 0&&(z=new Qe),a===null||y===null)return z.assign(x),z;if(a.isVisible()||(E=a.findVisibleNode(),E!==null&&E!==a&&(y=E.port)),a=null,E=y.panel,E===null||E.se()||(E=E.panel),E===null){E=b.x,b=b.y;var ee=x.x;x=x.y}else{a=E.oe,E=1/(a.m11*a.m22-a.m12*a.m21),ee=a.m22*E;var re=-a.m12*E,oe=-a.m21*E,le=a.m11*E,ue=E*(a.m21*a.dy-a.m22*a.dx),fe=E*(a.m12*a.dx-a.m11*a.dy);E=b.x*ee+b.y*oe+ue,b=b.x*re+b.y*le+fe,ee=x.x*ee+x.y*oe+ue,x=x.x*re+x.y*le+fe}return y.Sj(E,b,ee,x,z),a!==null&&z.transform(a),z};function $m(a,y){var x=y.Zn;return x===null&&(x=new ag,x.port=y,x.node=y.part,y.Zn=x),hS(x,a)}gi.prototype.getLinkPoint=function(a,y,x,b,E,z,ee,re){if(re===void 0&&(re=new Qe),x.sb()&&!zg(x))return y.ga(x,re),re;if(x.$c()){var oe=$m(this,y);if(oe!==null){if(re.assign(oe.Zo),E&&this.routing===aS){var le=$m(this,ee);if(le!==null&&oe.Gl=ue.y&&a.y<=ue.y+ue.height?re.y=a.y:(x.Hf(fu)||x.Hf(Sl))&&a.x>=ue.x&&a.x<=ue.x+ue.width&&(re.x=a.x),Qe.free(oe),Qe.free(le)}}return re}}return x=y.ga(qm(x),Qe.alloc()),this.pointsCount>(E?6:2)?(ee=b?this.i(1):this.i(this.pointsCount-2),E&&(ee=Qv(x,ee.copy()))):(oe=this.computeSpot(!b,ee),z=Qe.alloc(),ee=ee.ga(qm(oe),z),E&&(ee=Qv(x,ee)),Qe.free(z)),this.getLinkPointFromPoint(a,y,x,ee,b,re),Qe.free(x),re},gi.prototype.getLinkDirection=function(a,y,x,b,E,z,ee,re){e:if(b.sb())var oe=b.x>b.y?b.x>1-b.y?0:b.x<1-b.y?270:315:b.x1-b.y?90:b.x<1-b.y?180:135:.5>b.x?225:.5(z?6:2)?(re=E?this.i(1):this.i(this.pointsCount-2),re=z?Qv(oe,re.copy()):x):(x=Qe.alloc(),re=re.ga(So,x),Qe.free(x)),x=Math.abs(re.x-oe.x)>Math.abs(re.y-oe.y)?re.x>=oe.x?0:180:re.y>=oe.y?90:270,Qe.free(oe),oe=x}return b.Mc()&&ee.Td(a)&&(oe+=180,360<=oe&&(oe-=360)),zg(b)||(a=y.li(),a===0)||(45<=a&&135>a?oe+=90:135<=a&&225>a?oe+=180:225<=a&&315>a&&(oe+=270),360<=oe&&(oe-=360)),oe},gi.prototype.computeEndSegmentLength=function(a,y,x,b){return y!==null&&x.$c()&&(a=$m(this,y),a!==null)?a.Ju:(a=b?this.fromEndSegmentLength:this.toEndSegmentLength,y!==null&&isNaN(a)&&(a=b?y.fromEndSegmentLength:y.toEndSegmentLength),isNaN(a)&&(a=10),a)},gi.prototype.computeSpot=function(a,y){return y===void 0&&(y=null),a?(a=y||this.fromPort,a===null?a=So:(y=this.fromSpot,y.Xb()&&(y=a.fromSpot),a=y===Xo?Da:y)):(a=y||this.toPort,a===null?a=So:(y=this.toSpot,y.Xb()&&(y=a.toSpot),a=y===Xo?Da:y)),a};function zg(a){return a===Da||a.x===.5&&a.y===.5}function qm(a){return a.x===.5&&a.y===.5?a:So}gi.prototype.computeOtherPoint=function(a,y){return this.computeAdjusting()!==au&&4xe.width||fe.y>xe.height||0>fe.x+fe.width||0>fe.y+fe.height)){if(fe=Rr.alloc(),fe.set(ee),ue instanceof si)re=ue.Cf(a,y,x,b,E,fe);else if(this.path===ue){if(ue instanceof ro)if(re=a,xe=b,ue.pickable===!1)re=!1;else if(fe.multiply(ue.transform),xe)e:{var Ee=re,Ae=fe;if(ue.fh(Ee,Ae))re=!0;else{if(Ae===void 0&&(Ae=ue.transform,Ee.Re(ue.actualBounds))){re=!0;break e}re=Ee.left,xe=Ee.right;var Te=Ee.top;Ee=Ee.bottom;var ot=Qe.alloc(),Ue=Qe.alloc(),St=Qe.alloc(),Ct=Rr.alloc();Ct.set(Ae),Ct.bv(ue.transform),Ct.Vj(),Ue.x=xe,Ue.y=Te,Ue.transform(Ct),ot.x=re,ot.y=Te,ot.transform(Ct),Ae=!1,kf(ue,ot,Ue,St)?Ae=!0:(ot.x=xe,ot.y=Ee,ot.transform(Ct),kf(ue,ot,Ue,St)?Ae=!0:(Ue.x=re,Ue.y=Ee,Ue.transform(Ct),kf(ue,ot,Ue,St)?Ae=!0:(ot.x=re,ot.y=Te,ot.transform(Ct),kf(ue,ot,Ue,St)&&(Ae=!0)))),Rr.free(Ct),Qe.free(ot),Qe.free(Ue),Qe.free(St),re=Ae}}else re=ue.fh(re,fe)}else re=$s(ue,a,b,fe);re&&(xe=ue,y!==null&&(xe=y(ue)),xe&&(x===null||x(xe))&&E.add(xe)),Rr.free(fe)}}}return z===void 0&&Rr.free(ee),re||this.background!==null||this.areaBackground!==null}return z===void 0&&Rr.free(ee),!1},gi.prototype.computeCurve=function(){if(this.Wf===null){var a=this.fromPort,y=this.isOrthogonal;this.Wf=a!==null&&a===this.toPort&&!y}return this.Wf?nc:this.curve},gi.prototype.computeCorner=function(){if(this.curve===nc)return 0;var a=this.corner;return(isNaN(a)||0>a)&&(a=10),a},gi.prototype.findMidLabel=function(){for(var a=this.path,y=this.O.s,x=y.length,b=0;boe?-Math.PI/2:Math.PI/2;else ue=Math.atan(oe/Math.abs(re)),0>re&&(ue=Math.PI-ue);ee=y.x;var fe=y.y;re=b.x-ee;var xe=b.y-fe;for(oe=Math.sqrt(re*re+xe*xe),Kt.$(re,0)?xe=0>xe?-Math.PI/2:Math.PI/2:(xe=Math.atan(xe/Math.abs(re)),0>re&&(xe=Math.PI-xe)),le=oe/le,ue=xe-ue,this.dd(a,y),a+=1;aoe?-Math.PI/2:Math.PI/2:(oe=Math.atan(oe/Math.abs(re)),0>re&&(oe=Math.PI-oe)),re=oe+ue,y*=le,this.L(a,ee+y*Math.cos(re),fe+y*Math.sin(re)));this.dd(x,b)}}return!0;case i0:if(z=this.i(a),fe=this.i(x),!z.Xa(y)||!fe.Xa(b)){E=z.x,z=z.y,ee=fe.x,fe=fe.y,le=(ee-E)*(ee-E)+(fe-z)*(fe-z),re=y.x,ue=y.y,oe=b.x,xe=b.y;var Ee=1;if(oe-re!==0){var Ae=(xe-ue)/(oe-re);Ee=Math.sqrt(1+1/(Ae*Ae))}else Ae=9e9;for(this.dd(a,y),a+=1;ay?y+=360:360<=y&&(y-=360),0>b?b+=360:360<=b&&(b-=360);var ee=b;y=315<=y||45>y?0:45<=y&&135>y?90:135<=y&&225>y?180:270,b=315<=b||45>b?0:45<=b&&135>b?90:135<=b&&225>b?180:270;var re=E.actualBounds.copy(),oe=z.actualBounds.copy();if(re.w()&&oe.w()){re.Bc(Ip,Ip),oe.Bc(Ip,Ip),re.Ye(a),oe.Ye(x);var le=Qe.alloc(),ue=Qe.alloc();y===0?x.x>a.x||b===270&&x.ya.x||b===90&&x.y>a.y&&oe.right>a.x?(le.h(x.x,a.y),ue.h(x.x,(a.y+x.y)/2),b===180?(le.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1),ue.x=le.x,ue.y=x.y):b===270&&x.ya.y?(le.x=a.xoe.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):oe.right,ue.x=le.x,ue.y=x.y):b===0&&a.xoe.top&&a.yre.bottom)&&(b===180&&(oe.ca(a)||re.ca(x))?le.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===180||b===270)&&(le.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,oe.top),!0)),ue.x=x.x,ue.y=le.y),le.y>re.top&&le.y=re.left&&x.x<=a.x||a.x<=oe.right&&a.x>=x.x?(b===90||b===270)&&(le.h(Math.max((a.x+x.x)/2,a.x),a.y),ue.h(le.x,x.y)):(le.y=b===270||(b===0||b===180)&&x.ya.y&&oe.lefta.y?(le.x=a.x>oe.right?this.computeMidOrthoPosition(a.x,a.y,oe.right,x.y,!1):a.x>oe.left&&(b===270&&a.yoe.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):oe.left,ue.x=le.x,ue.y=x.y):b===180&&a.x>oe.right&&a.y>oe.top&&a.yre.bottom)&&(b===0&&(oe.ca(a)||re.ca(x))?le.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===0||b===270)&&(le.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,oe.top),!0)),ue.x=x.x,ue.y=le.y),le.y>re.top&&le.y=a.x||a.x>=oe.left&&a.x<=x.x?(b===90||b===270)&&(le.h(Math.min((a.x+x.x)/2,a.x),a.y),ue.h(le.x,x.y)):(le.y=b===270||(b===0||b===180)&&x.ya.y||b===180&&x.xa.y||b===0&&x.x>a.x&&oe.bottom>a.y?(le.h(a.x,x.y),ue.h((a.x+x.x)/2,x.y),b===270?(le.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0),ue.x=x.x,ue.y=le.y):b===180&&x.xa.x?(le.y=a.yoe.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):oe.bottom,ue.x=x.x,ue.y=le.y):b===90&&a.yoe.left&&a.xre.right)&&(b===270&&(oe.ca(a)||re.ca(x))?le.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===270||b===180)&&(le.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,oe.left),x.y,!1)),ue.x=le.x,ue.y=x.y),le.x>re.left&&le.x=re.top&&x.y<=a.y||a.y<=oe.bottom&&a.y>=x.y?(b===0||b===180)&&(le.h(a.x,Math.max((a.y+x.y)/2,a.y)),ue.h(x.x,le.y)):(le.x=b===180||(b===90||b===270)&&x.xa.x&&oe.top=a.x?(le.y=a.y>oe.bottom?this.computeMidOrthoPosition(a.x,a.y,x.x,oe.bottom,!0):a.y>oe.top&&(b===180&&a.xoe.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):oe.top,ue.x=x.x,ue.y=le.y):b===270&&a.y>oe.bottom&&a.x>oe.left&&a.xre.right)&&(b===90&&(oe.ca(a)||re.ca(x))?le.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===90||b===180)&&(le.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,oe.left),x.y,!1)),ue.x=le.x,ue.y=x.y),le.x>re.left&&le.x=a.y||a.y>=oe.top&&a.y<=x.y?(b===0||b===180)&&(le.h(a.x,Math.min((a.y+x.y)/2,a.y)),ue.h(x.x,le.y)):(le.x=b===180||(b===90||b===270)&&x.x=Wg&&(uS(Ee),re.Bc(Ee.Ho*Ee.Hx,Ee.Go*Ee.Ix),cS(Ee,a,y,fe,b,re,!1),oe=Dd(Ee,fe.x,fe.y)),!Ee.abort&&oethis.pointsCount?(y===0||y===180?(re.x=a.x,re.y=fe.y):(re.x=fe.x,re.y=a.y),this.L(2,re.x,re.y),this.m(3,re.x,re.y)):(ee=this.i(3),y===0||y===180?Kt.B(re.x,ee.x)?(re=y===0?Math.max(re.x,a.x):Math.min(re.x,a.x),this.L(2,re,a.y),this.L(3,re,ee.y)):Kt.B(re.y,ee.y)?(Math.abs(a.y-re.y)<=Ee.Go/2&&(this.L(2,re.x,a.y),this.L(3,ee.x,a.y)),this.m(2,re.x,a.y)):this.L(2,a.x,re.y):(y===90||y===270)&&(Kt.B(re.y,ee.y)?(re=y===90?Math.max(re.y,a.y):Math.min(re.y,a.y),this.L(2,a.x,re),this.L(3,ee.x,re)):Kt.B(re.x,ee.x)?(Math.abs(a.x-re.x)<=Ee.Ho/2&&(this.L(2,a.x,re.y),this.L(3,a.x,ee.y)),this.m(2,a.x,re.y)):this.L(2,re.x,a.y))),x!==null&&(a=this.i(1),ee=this.i(2),a.x!==ee.x&&a.y!==ee.y?y===0||y===180?this.m(2,a.x,ee.y):this.m(2,ee.x,a.y):y===0||y===180?this.m(2,E.x,x.y):this.m(2,x.x,E.y)),Ae!==null&&(b===0||b===180?this.yf(z.x,Ae.y):this.yf(Ae.x,z.y)),y=!0):y=!1}}}else y=!1;y||(this.ne(le.copy()),this.ne(ue.copy())),Qe.free(le),Qe.free(ue)}},gi.prototype.computeMidOrthoPosition=function(a,y,x,b,E){var z=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(z=this.computeCurviness()),E?(y+b)/2+z:(a+x)/2+z};function _v(a){if(a.diagram===null||!a.isAvoiding||!la(a.diagram))return!1;var y=a.points.s,x=y.length;if(4>x)return!1;a=rs(a.diagram,!0,a.containingGroup,null);for(var b=1;bBf&&Dd(y,ue,fe)!==le-1&&(Dd(y,x-re,b)===le-1?(E=180,ue=x-re,fe=b):Dd(y,x+re,b)===le-1?(E=0,ue=x+re,fe=b):Dd(y,x,b-oe)===le-1?(E=270,ue=x,fe=b-oe):Dd(y,x,b+oe)===le-1&&(E=90,ue=x,fe=b+oe));le>Bf&&Dd(y,ue,fe)===le-1;)x=ue,b=fe,E===0?ue+=re:E===90?fe+=oe:E===180?ue-=re:fe-=oe,--le;z?le>Bf&&(E===180||E===0?x=Math.floor(x/re)*re+re/2:(E===90||E===270)&&(b=Math.floor(b/oe)*oe+oe/2)):(x=Math.floor(x/re)*re+re/2,b=Math.floor(b/oe)*oe+oe/2),le>Bf&&(z=E,ee=x,ue=b,E===0?(z=90,ue+=oe):E===90?(z=180,ee-=re):E===180?(z=270,ue-=oe):E===270&&(z=0,ee+=re),Dd(y,ee,ue)===le-1?$v(a,y,ee,ue,z,!1,z):(ee=x,ue=b,E===0?(z=270,ue-=oe):E===90?(z=0,ee+=re):E===180?(z=90,ue+=oe):E===270&&(z=180,ee-=re),Dd(y,ee,ue)===le-1&&$v(a,y,ee,ue,z,!1,z))),a.yf(x,b)}gi.prototype.ez=function(a){var y=a.x;a=a.y;for(var x=this.i(0),b=this.i(1),E=Oi(y,a,x.x,x.y,b.x,b.y),z=0,ee=1;eethis.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),a=this.path,a!==null)){a.ua=this.ua;for(var y=this.O.s,x=y.length,b=0;b=y&&(b=y-1),oe=this.i(b),z.x=Math.min(oe.x,z.x),z.y=Math.min(oe.y,z.y);b=z.x,oe=z.y}else{for(oe=0;oeot?Ae>Ee?(z.x=Ue-Ct,z.y=Ee-Ct,E.x=Ue+Te,E.y=Ee+Te):(z.x=Ue-Ct,z.y=Ee+Ct,E.x=Ue+Te,E.y=Ee-Te):Ae>Ee?(z.x=Ue+Ct,z.y=Ee-Ct,E.x=Ue-Te,E.y=Ee+Te):(z.x=Ue+Ct,z.y=Ee+Ct,E.x=Ue-Te,E.y=Ee-Te)),Kt.$(ot,Ue)&&Kt.$(Ee,Ae)&&(Ee>xe?(St>Ue?(z.x=Ue-Ct,z.y=Ee-Ct,E.x=Ue+Te):(z.x=Ue+Ct,z.y=Ee-Ct,E.x=Ue-Te),E.y=Ee+Te):(St>Ue?(z.x=Ue-Ct,z.y=Ee+Ct,E.x=Ue+Te):(z.x=Ue+Ct,z.y=Ee+Ct,E.x=Ue-Te),E.y=Ee-Te)),(Kt.$(ot,Ue)&&Kt.$(Ue,St)||Kt.$(xe,Ee)&&Kt.$(Ee,Ae))&&(ot=.5*(ot+St),xe=.5*(xe+Ae),z.x=ot,z.y=xe,E.x=ot,E.y=xe),(fe===1||fe===2&&Kt.$(ee.x,this.i(0).x)&&Kt.$(ee.y,this.i(0).y))&&(x.x=.5*(ee.x+le.x),x.y=.5*(ee.y+le.y)),wh(re,x.x-b,x.y-oe,z.x-b,z.y-oe,le.x-b,le.y-oe),y.set(z),x.set(E),ee=le}}le=ee.x,ee=ee.y,ue=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(ue=ng(this,ue.copy(),!1,pt)),le=.5*(le+ue.x),ee=.5*(ee+ue.y),wh(re,E.x-b,E.y-oe,le-b,ee-oe,ue.x-b,ue.y-oe),Qe.free(y),Qe.free(x),Qe.free(z),Qe.free(E)}else for(x=3;x=y&&(x=y-1),E=this.i(x-1),ee=this.i(x),x===y-1&&this.computeShortLength(!1)!==0&&(ee=ng(this,ee.copy(),!1,pt)),wh(re,z.x-b,z.y-oe,E.x-b,E.y-oe,ee.x-b,ee.y-oe);else{for(z=Qe.alloc(),z.assign(this.i(0)),E=Qe.alloc(),E.assign(z),ee=this.computeCorner(),fe=1,le=0;fe=y-1){if(!z.D(ue))this.computeShortLength(!1)!==0&&(ue=ng(this,ue.copy(),!1,pt)),ig(this,re,-b,-oe,z,ue,x);else if(le===0)for(fe=1;fez.x?Ft=xe.x-Ae:Ft=xe.x+Ae,Ue.y>xe.y?St=xe.y+Ct:St=xe.y-Ct,Ue=Qe.allocAt(Ft,jt),ig(this,re,fe,ot,z,Ue,Te),Qe.free(Ue),Vm(re,xe.x+fe,xe.y+ot,Ee+fe,St+ot),z.h(Ee,St)}else Kt.B(z.x,xe.x)&&Kt.B(xe.y,Ue.y)?(Ae=Math.min(ee,Math.abs(xe.y-E.y)/2),Ae=Ct=Math.min(Ae,Math.abs(Ue.x-xe.x)/2),Kt.B(Ct,0)?(ig(this,re,fe,ot,z,xe,Te),z.assign(xe)):(Ft=xe.x,jt=xe.y,Ee=Ft,St=jt,xe.y>z.y?jt=xe.y-Ae:jt=xe.y+Ae,Ue.x>xe.x?Ee=xe.x+Ct:Ee=xe.x-Ct,Ue=Qe.allocAt(Ft,jt),ig(this,re,fe,ot,z,Ue,Te),Qe.free(Ue),Vm(re,xe.x+fe,xe.y+ot,Ee+fe,St+ot),z.h(Ee,St))):(ig(this,re,fe,ot,z,xe,Te),z.assign(xe));E.assign(ue),fe=le}Qe.free(z)}Gm=re}else re=this.i(1).copy(),re.x-=b,re.y-=oe,this.computeShortLength(!0)!==0&&(E=ng(this,E,!0,z)),this.computeShortLength(!1)!==0&&(re=ng(this,re,!1,z)),a.type=di.j,a.startX=E.x,a.startY=E.y,a.endX=re.x,a.endY=re.y;return this.lk=!0,a};function e0(a,y,x,b){return a=x-a,isNaN(a)||a===1/0||a===-1/0?NaN:(0>a&&(a=-a),y=b-y,isNaN(y)||y===1/0||y===-1/0?NaN:(0>y&&(y=-y),Kt.$(a,0)?y:Kt.$(y,0)?a:Math.sqrt(a*a+y*y)))}function ng(a,y,x,b){var E=a.pointsCount;if(2>E)return y;if(x){var z=a.i(1);if(x=z.x-b.x,z=z.y-b.y,b=e0(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!0),a>E&&(a=E),E=a*(z-y.y)/b,y.x+=a*(x-y.x)/b,y.y+=E}else{if(z=a.i(E-2),x=z.x-b.x,z=z.y-b.y,b=e0(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!1),a>E&&(a=E),E=a*(y.y-z)/b,y.x-=a*(y.x-x)/b,y.y-=E}return y}function qv(a,y,x,b){for(var E=a.pointsCount,z=y;Kt.$(y.x,z.x)&&Kt.$(y.y,z.y);){if(x>=E)return E-1;z=a.i(x++)}if(!Kt.$(y.x,z.x)&&!Kt.$(y.y,z.y))return x-1;for(var ee=z;Kt.$(y.x,z.x)&&Kt.$(z.x,ee.x)&&(!b||(y.y>=z.y?z.y>=ee.y:z.y<=ee.y))||Kt.$(y.y,z.y)&&Kt.$(z.y,ee.y)&&(!b||(y.x>=z.x?z.x>=ee.x:z.x<=ee.x));){if(x>=E)return E-1;ee=a.i(x++)}return x-2}gi.prototype.computeJumpLength=function(){return 10};function ig(a,y,x,b,E,z,ee){if(!ee&&Df(a)){ee=a.computeJumpLength();var re=ee/2,oe=[],le=0;if(a.isVisible()&&(le=Tx(a,E,z,oe)),0fe-ee);)le--,fe=Math.max(ue-re,z.x);ue=z.y-ee+b,fe+=x,Ee=z.y+b,a.curve===Eh?Ig(y,fe,Ee,!1):wh(y,xe,ue,fe,ue,fe,Ee)}else if(Kt.B(E.x,z.x))if(E.yue-ee);)le--,ue=Math.max(fe-re,z.y);fe=z.x-ee+x,Ee=z.x+x,ue+=b,a.curve===Eh?Ig(y,Ee,ue,!1):wh(y,fe,xe,fe,ue,Ee,ue)}}}y.lineTo(z.x+x,z.y+b)}function Tx(a,y,x,b){var E=a.diagram;if(E===null||y.D(x))return 0;for(E=E.layers;E.next();){var z=E.value;if(z!==null&&z.visible){z=z.Pa.s;for(var ee=z.length,re=0;reee.x&&ue.x>=le.x||le.xee.y&&ue.y>=le.y||le.yee&&Math.min(Ae,Te)ue&&!Kt.B(Ae,Te)){re.x=ue,re.y=ee,ue=!0;break e}}else if(Kt.B(fe,Ee)&&Kt.B(Ae,Te)&&Math.min(ue,xe)Ae&&Math.min(ee,ot)fe&&!Kt.B(ee,ot)){re.x=Ae,re.y=fe,ue=!0;break e}re.x=0,re.y=0,ue=!1}ue&&(E?x.push(re.x):x.push(re.y)),ee=le}Qe.free(re)}function Df(a){return a=a.curve,a===jg||a===Eh}function t0(a,y){(y||Df(a))&&(y=a.diagram,y===null||y.animationManager.isTicking||y.Eh.contains(a)||a.ml.width===0&&a.ml.height===0||y.Eh.add(a,a.ml.copy()))}gi.prototype.Xo=function(a){var y=this.layer;if(y!==null&&y.visible&&!y.isTemporary){var x=y.diagram;if(x!==null&&!x.animationManager.isTicking){var b=!1;for(x=x.layers;x.next();){var E=x.value;if(E.visible){if(E===y){b=!0;var z=!1;E=E.Pa.s;for(var ee=E.length,re=0;rea&&Qn(a,">= 0",gi,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.qc(),this.g("fromShortLength",y,a))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Xo},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),(y.$c()||a.$c())&&this.toNode!==null&&Vu(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Qn(a,">= 0",gi,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.qc(),this.g("toShortLength",y,a))}},isLabeledLink:{get:function(){return this.wd===null?!1:0=b&&(z=b-1);var re=this.i(z-1),oe=this.i(z);Kt.Dl(E.x,E.y,ee.x,ee.y,re.x,re.y,oe.x,oe.y,.5,a),y=Math.min(oe.x,y),x=Math.min(oe.y,x),E=oe}else for(E=this.i(0),z=this.i(1),y=Math.min(E.x,z.x),x=Math.min(E.y,z.y),a.h(E.x,E.y,0,0),a.Ye(z),E=2;Eb&&(b=-b)):Kt.$(b.y,E.y)?(b=E.x-b.x,0>b&&(b=-b)):b=Math.sqrt(b.Bf(E)),a.push(b)}}return this.cq}},flattenedTotalLength:{get:function(){var a=this.vt;if(isNaN(a)){for(var y=this.flattenedLengths,x=y.length,b=a=0;bthis.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!zg(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var a=this.pointsCount;return a===0?0:2>=a?a-1:this.isOrthogonal||!zg(this.computeSpot(!1))?a-2:a-1}},adjusting:{get:function(){return this.qk},set:function(a){var y=this.qk;y!==a&&(this.qk=a,this.g("adjusting",y,a))}},corner:{get:function(){return this.Om},set:function(a){var y=this.Om;y!==a&&(this.Om=a,this.qc(),this.g("corner",y,a))}},curve:{get:function(){return this.Qm},set:function(a){var y=this.Qm;y!==a&&(this.Qm=a,this.bb(),this.qc(),t0(this,y===Eh||y===jg||a===Eh||a===jg),this.g("curve",y,a))}},curviness:{get:function(){return this.Rm},set:function(a){var y=this.Rm;y!==a&&(this.Rm=a,this.bb(),this.qc(),this.g("curviness",y,a))}},routing:{get:function(){return this.qj},set:function(a){var y=this.qj;y!==a&&(this.qj=a,this.Wf=null,this.bb(),t0(this,(y.value&2)===2||(a.value&2)===2),this.g("routing",y,a))}},smoothness:{get:function(){return this.po},set:function(a){var y=this.po;y!==a&&(this.po=a,this.qc(),this.g("smoothness",y,a))}},key:{get:function(){var a=this.diagram;if(a!==null&&a.model.ri())return a.model.Ac(this.data)}}}),gi.prototype.invalidateOtherJumpOvers=gi.prototype.Xo,gi.prototype.findClosestSegment=gi.prototype.ez,gi.prototype.updateRoute=gi.prototype.vg,gi.prototype.invalidateRoute=gi.prototype.bb,gi.prototype.rollbackRoute=gi.prototype.rv,gi.prototype.commitRoute=gi.prototype.zf,gi.prototype.startRoute=gi.prototype.uh,gi.prototype.clearPoints=gi.prototype.Fj,gi.prototype.removePoint=gi.prototype.pv,gi.prototype.addPointAt=gi.prototype.yf,gi.prototype.addPoint=gi.prototype.ne,gi.prototype.insertPointAt=gi.prototype.m,gi.prototype.insertPoint=gi.prototype.Kz,gi.prototype.setPointAt=gi.prototype.L,gi.prototype.setPoint=gi.prototype.dd,gi.prototype.getPoint=gi.prototype.i,gi.prototype.getOtherPort=gi.prototype.Cz,gi.prototype.getOtherNode=gi.prototype.To;var rg=null,og=null,ey=new Xt(gi,"Normal",1),Ix=new Xt(gi,"Orthogonal",2),Rx=new Xt(gi,"AvoidsNodes",6),aS=new Xt(gi,"AvoidsNodesStraight",7),au=new Xt(gi,"None",0),nc=new Xt(gi,"Bezier",9),Eh=new Xt(gi,"JumpGap",10),jg=new Xt(gi,"JumpOver",11),kp=new Xt(gi,"End",17),n0=new Xt(gi,"Scale",18),i0=new Xt(gi,"Stretch",19),Np=new Xt(gi,"OrientAlong",21),Dp=new Xt(gi,"OrientPlus90",22),Bp=new Xt(gi,"OrientMinus90",23),ty=new Xt(gi,"OrientOpposite",24),r0=new Xt(gi,"OrientUpright",25),Tp=new Xt(gi,"OrientPlus90Upright",26),Op=new Xt(gi,"OrientMinus90Upright",27),o0=new Xt(gi,"OrientUpright45",28),sS=16,lS=14,Ip=8;gi.className="Link",gi.Normal=ey,gi.Orthogonal=Ix,gi.AvoidsNodes=Rx,gi.AvoidsNodesStraight=aS,gi.None=au,gi.Bezier=nc,gi.JumpGap=Eh,gi.JumpOver=jg,gi.End=kp,gi.Scale=n0,gi.Stretch=i0,gi.OrientAlong=Np,gi.OrientPlus90=Dp,gi.OrientMinus90=Bp,gi.OrientOpposite=ty,gi.OrientUpright=r0,gi.OrientPlus90Upright=Tp,gi.OrientMinus90Upright=Op,gi.OrientUpright45=o0,gi.EndSegmentStep=8,gi.CurvinessStart=sS,gi.SpacingMin=lS,gi.OrthoShortCut=Ip;function a0(a,y,x,b){pr(this),this.Fe=this.qq=!1,this.Ds=a,this.Ox=y,this.cv=x,this.Px=b,this.links=[]}a0.prototype.Sl=function(){if(!this.qq){var a=this.links;0=a.width||0>=a.height)){var y=a.y,x=a.x+a.width,b=a.y+a.height;if(this.Nd=Math.floor((a.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((y-this.sc)/this.sc)*this.sc,this.En=Math.ceil((x+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((b+2*this.sc)/this.sc)*this.sc,a=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),y=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di=Bf&&(x[b]=ny)}Rp.prototype.Yj=function(a,y,x,b){if(a>this.En||a+xthis.Fn||y+ba&&(x+=a,a=0),0>y&&(E+=y,y=0),0>x||0>E)return!0;for(b=Math.min(a+x-1,this.di)|0,x=Math.min(y+E-1,this.ei)|0;a<=b;a++){E=this.ac[a];for(var z=y;z<=x;z++)if(E[z]===Ah)return!1}return!0};function Bd(a,y,x,b,E,z,ee,re,oe){if(!(yee||xoe)){var le=y|0,ue=x|0,fe=a.ac[le][ue];if(fe>=Bf&&fe=a.ac[le][ue]);)a.ac[le][ue]=fe,fe+=1,E?ue+=b:le+=b;if(le=E?ue:le,E)if(0le;x+=b)Bd(a,y,x,1,!E,z,ee,re,oe),Bd(a,y,x,-1,!E,z,ee,re,oe);else if(0le;y+=b)Bd(a,y,x,1,!E,z,ee,re,oe),Bd(a,y,x,-1,!E,z,ee,re,oe)}}function s0(a,y,x,b,E,z,ee,re,oe){y|=0,x|=0;var le=Ah,ue=Bf;for(a.ac[y][x]=ue;le===Ah&&y>z&&yre&&xz&&yre&&x=Math.abs(re-le)&&1>=Math.abs(oe-ue))a.abort=!0;else{var fe=z.x;b=z.y,y=z.x+z.width;var xe=z.y+z.height;fe-=a.Nd,fe/=a.rc,b-=a.Od,b/=a.sc,y-=a.Nd,y/=a.rc,xe-=a.Od,xe/=a.sc,z=Math.max(0,Math.min(a.di,fe|0)),y=Math.min(a.di,Math.max(0,y|0)),fe=Math.max(0,Math.min(a.ei,b|0)),xe=Math.min(a.ei,Math.max(0,xe|0)),b=a.ac,re|=0,oe|=0,le|=0,ue|=0;var Ee=x===0||x===90?1:-1;if(x=x===90||x===270,b[re][oe]===Ah?(s0(a,re,oe,Ee,x,z,y,fe,xe),s0(a,re,oe,1,!x,z,y,fe,xe),s0(a,re,oe,-1,!x,z,y,fe,xe)):s0(a,re,oe,Ee,x,re,oe,re,oe),b[le][ue]===Ah?(l0(a,le,ue,E===0||E===90?1:-1,E===90||E===270,z,y,fe,xe),l0(a,le,ue,1,!(E===90||E===270),z,y,fe,xe),l0(a,le,ue,-1,!(E===90||E===270),z,y,fe,xe)):l0(a,le,ue,Ee,x,le,ue,le,ue),x=ti(),ee&&dS(a,le,ue,E,re,oe,x))for((x[0]!==le||x[1]!==ue)&&(x.unshift(ue),x.unshift(le)),(x[x.length-2]!==re||x[x.length-1]!==oe)&&(x.push(re),x.push(oe)),a=Bf,E=x[x.length-2],ee=x[x.length-1],b[E][ee]=a++,z=x.length-4;0<=z;z-=2)for(E=x[z+2],ee=x[z+3],y=x[z],le=x[z+1];y>E?E++:yee?ee++:leE)ue--;else break;else if(fe>z)fe--;else break;var xe=re[ue][fe];if(xe===0||xe===iy)break;oe=ue,le=fe}for(;;){if(ue=b,fe=oe,xe=le,b===0?xez&&(ue=270,xe--):b===90?feE&&(ue=180,fe--):b===180?xez&&(ue=270,xe--):feE&&(ue=180,fe--),fe=re[fe][xe],ue!==b&&fe!==0&&fe!==iy){if(ee.push(oe),ee.push(le),dS(a,oe,le,ue,E,z,ee))return!0;ee.pop(),ee.pop()}if(re[oe][le]=iy,b===0){if(oe===y)return!1;oe--}else if(b===90){if(le===x)return!1;le--}else if(b===180){if(oe===y)return!1;oe++}else{if(le===x)return!1;le++}}}tt.Object.defineProperties(Rp.prototype,{bounds:{get:function(){return new Cn(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(a){0=x?180:0}switch(a=180*Math.atan2(a.height,a.width)/Math.PI,y){case 3:return x>a&&x<=180+a?180:270;case 5:return x>180-a&&x<=360-a?270:0;case 12:return x>a&&x<=180+a?90:0;case 10:return x>180-a&&x<=360-a?180:90;case 7:return 90180+a&&x<=360-a?270:0;case 13:return 180a&&180>=x?90:0;case 14:return x>a&&x<=180-a?90:x>180-a&&270>=x?180:0;case 11:return x>180-a&&x<=180+a?180:x>180+a?270:90}return b&&y!==15&&(x-=15,0>x&&(x+=360)),x>a&&x<180-a?90:x>=180-a&&x<=180+a?180:x>180+a&&x<360-a?270:0}ag.prototype.Sl=function(){this.pe.length=0};function hS(a,y){var x=a.pe;if(x.length===0){e:if(!a.ap){x=a.ap,a.ap=!0;var b=null,E=a.node,z=E instanceof Xr?E:null;if(z===null||z.isSubGraphExpanded)var ee=E.isTreeExpanded?E.findLinksConnected(a.port.portId):E.qx();else{if(!z.actualBounds.w()){a.ap=x;break e}b=z,ee=b.Lu()}z=a.pe.length=0;var re=a.port.ga(ga,Qe.alloc()),oe=a.port.ga(vl,Qe.alloc());for(E=Cn.allocAt(re.x,re.y,0,0),E.Ye(oe),Qe.free(re),Qe.free(oe),re=Qe.allocAt(E.x+E.width/2,E.y+E.height/2),oe=a.port.li(),ee=ee.iterator;ee.next();){var le=ee.value;if(le.isVisible()&&le.fromPort!==le.toPort){var ue=le.fromPort===a.port||le.fromNode!==null&&le.fromNode.Td(b),fe=le.computeSpot(ue,a.port);if(fe.$c()&&(ue=ue?le.toPort:le.fromPort,ue!==null)){var xe=ue.part;if(xe!==null){var Ee=xe.findVisibleNode();Ee!==null&&Ee!==xe&&(xe=Ee,ue=xe.port),ue=le.computeOtherPoint(xe,ue),xe=re.ab(ue),xe-=oe,0>xe?xe+=360:360<=xe&&(xe-=360),fe=zx(E,fe,xe,le.isOrthogonal),fe===0?(fe=4,180xe&&(xe+=360)),Ee=a.pe[z],Ee===void 0?(Ee=new ry(le,xe,fe),a.pe[z]=Ee):(Ee.link=le,Ee.angle=xe,Ee.Nc=fe),Ee.hv.set(ue),z++}}}}for(Qe.free(re),a.pe.sort(ag.prototype.j),oe=a.pe.length,b=-1,z=re=0;zMath.abs(Te)?(St=Math.abs(Te)/xe,xe=Math.abs(Te)):St=1;break;case 2:Ee>Math.abs(Ct)?(St=Math.abs(Ct)/Ee,Ee=Math.abs(Ct)):St=1;break;case 1:fe>Math.abs(Te)?(St=Math.abs(Te)/fe,fe=Math.abs(Te)):St=1;break;default:case 4:ue>Math.abs(Ct)?(St=Math.abs(Ct)/ue,ue=Math.abs(Ct)):St=1}Ue=0}var yn=Ft.Zo;if(b===Uv){switch(Ft=Ft.link.computeThickness(),Ft*=St,yn.set(jt),Ae){case 8:yn.x=jt.x+Te/2+xe/2-Ue-Ft/2;break;case 2:yn.y=jt.y+Ct/2+Ee/2-Ue-Ft/2;break;case 1:yn.x=jt.x+Te/2-fe/2+Ue+Ft/2;break;default:case 4:yn.y=jt.y+Ct/2-ue/2+Ue+Ft/2}Ue+=Ft}else{var Fi=.5;b===Qm&&(Fi=(Ft.Uo+1)/(Ft.Gl+1)),yn.x=jt.x+Te*Fi,yn.y=jt.y+Ct*Fi}}}for(Qe.free(re),Qe.free(oe),Qe.free(ee),Qe.free(le),jt=a.pe,z=0;zy.Nc?1:a.angley.angle?1:0},ag.prototype.computeEndSegmentLength=function(a){var y=a.link,x=y.computeEndSegmentLength(this.node,this.port,Da,y.fromPort===this.port),b=a.Uo;if(0>b)return x;var E=a.Gl;if(1>=E||!y.isOrthogonal)return x;y=a.hv;var z=a.Zo;return(a.Nc===2||a.Nc===8)&&(b=E-1-b),((a=a.Nc===2||a.Nc===4)?y.y=y-1?(z=0,b=x,E+=ee+20,ee=0):z++}},Za.prototype.doMinimalNetworkLayout=function(){var a=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var y=this.arrangementOrigin.x,x=y,b=this.arrangementOrigin.y,E=0,z=0,ee=this.network.vertexes.iterator;ee.next();){var re=ee.value.node;if(!(re===null||re instanceof gi)&&(zp(re),this.rh(re))){var oe=re.measuredBounds,le=oe.width;oe=oe.height,re.moveTo(x,b),re instanceof Xr&&(re.rh=!1),x+=Math.max(le,50)+20,z=Math.max(z,Math.max(oe,50)),E>=a-1?(E=0,x=y,b+=z+20,z=0):E++}}},Za.prototype.rh=function(a){return!!(!a.location.w()||a instanceof Xr&&a.rh)};function Jh(a,y,x,b,E,z,ee,re){for(x=x.iterator;x.next();){var oe=x.value;b&&!oe.isTopLevel||E!==null&&!E(oe)||!oe.canLayout()||(z&&oe instanceof Di?oe.isLinkLabel||(oe instanceof Xr&&oe.layout===null?Jh(a,y,oe.memberParts,!1,E,z,ee,re):(zp(oe),y.add(oe))):ee&&oe instanceof gi?y.add(oe):!re||!oe.Zc()||oe instanceof Di||(zp(oe),y.add(oe)))}}function zp(a){var y=a.actualBounds;(y.width===0||y.height===0||isNaN(y.width)||isNaN(y.height))&&a.Va()}Za.prototype.ni=function(a,y){var x=this.boundsComputation;return x!==null?(y||(y=new Cn),x(a,this,y)):y?(y.set(a.actualBounds),y):a.actualBounds},Za.prototype.ex=function(a){var y=new Ln;return a instanceof pn?(Jh(this,y,a.nodes,!0,null,!0,!0,!0),Jh(this,y,a.links,!0,null,!0,!0,!0),Jh(this,y,a.parts,!0,null,!0,!0,!0)):a instanceof Xr?Jh(this,y,a.memberParts,!1,null,!0,!0,!0):Jh(this,y,a.iterator,!1,null,!0,!0,!0),y},Za.prototype.initialOrigin=function(a){var y=this.group;if(y!==null){var x=y.position.copy();return(isNaN(x.x)||isNaN(x.y))&&x.set(a),y=y.placeholder,y!==null&&(x=y.ga(ga),(isNaN(x.x)||isNaN(x.y))&&x.set(a),a=y.padding,x.x+=a.left,x.y+=a.top),x}return a},tt.Object.defineProperties(Za.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},group:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a,a!==null&&(this.H=a.diagram))}},isOngoing:{get:function(){return this.sn},set:function(a){this.sn!==a&&(this.sn=a)}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a,a||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(a){this.yn!==a&&(this.yn=a)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(a){this.vn!==a&&(this.vn=a)}},isRealtime:{get:function(){return this.un},set:function(a){this.un!==a&&(this.un=a)}},isValidLayout:{get:function(){return this.xn},set:function(a){this.xn!==a&&(this.xn=a,a||(a=this.diagram,a!==null&&(a.xh=!0)))}},network:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,a!==null&&(a.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(a){this.Em!==a&&(this.Em=a,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(a){this.Am.D(a)||(this.Am.assign(a),this.C())}}}),Za.prototype.collectParts=Za.prototype.ex,Za.prototype.getLayoutBounds=Za.prototype.ni,Za.prototype.invalidateLayout=Za.prototype.C,Za.className="Layout";function Ea(a){pr(this),this.Sc=a,this.wf=new Ln,this.ye=new Ln,this.Es=new Ii,this.zs=new Ii}Ea.prototype.clear=function(){if(this.wf)for(var a=this.wf.iterator;a.next();)a.value.clear();if(this.ye)for(a=this.ye.iterator;a.next();)a.value.clear();this.wf=new Ln,this.ye=new Ln,this.Es=new Ii,this.zs=new Ii},Ea.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=a)return y;if(y+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1y?1:0):1:y!==null?-1:0}tt.Object.defineProperties(Xs.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(a){if(this.ub=a,a!==null&&a.bounds){var y=a.bounds;a=y.x;var x=y.y,b=y.width;y=y.height,this.o.h(b/2,y/2),this.j.h(a,x,b,y)}}},node:{get:function(){return this.Sh},set:function(a){if(this.Sh!==a){this.Sh=a,a.Va();var y=this.network.layout,x=Cn.alloc(),b=y.ni(a,x);y=b.x;var E=b.y,z=b.width;if(b=b.height,isNaN(y)&&(y=0),isNaN(E)&&(E=0),this.j.h(y,E,z,b),Cn.free(x),!(a instanceof Xr)&&(a=a.locationObject.ga(So),a.w())){this.o.h(a.x-y,a.y-E);return}this.o.h(z/2,b/2)}}},bounds:{get:function(){return this.j},set:function(a){this.j.D(a)||this.j.assign(a)}},focus:{get:function(){return this.o},set:function(a){this.o.D(a)||this.o.assign(a)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(a){var y=this.j;y.x+this.o.x!==a&&(y.ka(),y.x=a-this.o.x,y.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(a){var y=this.j;y.y+this.o.y!==a&&(y.ka(),y.y=a-this.o.y,y.freeze())}},focusX:{get:function(){return this.o.x},set:function(a){var y=this.o;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},focusY:{get:function(){return this.o.y},set:function(a){var y=this.o;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},x:{get:function(){return this.j.x},set:function(a){var y=this.j;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},y:{get:function(){return this.j.y},set:function(a){var y=this.j;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},width:{get:function(){return this.j.width},set:function(a){var y=this.j;y.width!==a&&(y.ka(),y.width=a,y.freeze())}},height:{get:function(){return this.j.height},set:function(a){var y=this.j;y.height!==a&&(y.ka(),y.height=a,y.freeze())}},network:{get:function(){return this.ob},set:function(a){this.ob=a}},sourceVertexes:{get:function(){for(var a=new Ln,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);return a.iterator}},destinationVertexes:{get:function(){for(var a=new Ln,y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},vertexes:{get:function(){for(var a=new Ln,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);for(y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var a=new kn,y=this.sourceEdges;y.next();)a.add(y.value);for(y=this.destinationEdges;y.next();)a.add(y.value);return a.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),Xs.prototype.deleteDestinationEdge=Xs.prototype.Jl,Xs.prototype.addDestinationEdge=Xs.prototype.zl,Xs.prototype.deleteSourceEdge=Xs.prototype.Kl,Xs.prototype.addSourceEdge=Xs.prototype.Cl,Xs.className="LayoutVertex",Xs.standardComparer=ly,Xs.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.Sh;var x=y.Sh;if(a!==null){if(x!==null){for(y=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),a=x.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),x=0;x "+(this.qd?this.qd.toString():"null"))),y},Gu.prototype.gm=function(){var a=this.kd;this.kd=this.qd,this.qd=a},Gu.prototype.commit=function(){},Gu.prototype.Ax=function(a){return this.qd===a?this.kd:this.kd===a?this.qd:null},tt.Object.defineProperties(Gu.prototype,{network:{get:function(){return this.nb},set:function(a){this.nb=a}},data:{get:function(){return this.ub},set:function(a){this.ub!==a&&(this.ub=a)}},link:{get:function(){return this.$k},set:function(a){this.$k!==a&&(this.$k=a)}},fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}}}),Gu.prototype.getOtherVertex=Gu.prototype.Ax,Gu.className="LayoutEdge";function Cl(a){Za.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new zn(NaN,NaN).freeze(),this.tf=new zn(10,10).freeze(),this.Jb=jp,this.Rb=c0,this.nd=Hp,this.hd=gS,a&&Object.assign(this,a)}bt(Cl,Za),Cl.prototype.cloneProtected=function(a){Za.prototype.cloneProtected.call(this,a),a.zo=this.zo,a.yo=this.yo,a.yg.assign(this.yg),a.tf.assign(this.tf),a.Jb=this.Jb,a.Rb=this.Rb,a.nd=this.nd,a.hd=this.hd},Cl.prototype.qb=function(a){a.classType===Cl?a===Hp||a===h0||a===uy||a===d0?this.sorting=a:a===c0||a===rd?this.arrangement=a:a===jp||a===u0?this.alignment=a:Et("Unknown enum value: "+a):Za.prototype.qb.call(this,a)},Cl.prototype.doLayout=function(a){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var y=this.ex(a);a=this.diagram;for(var x=y.copy().iterator;x.next();){var b=x.value;if(!b.ph()||b.fromNode===null&&b.toNode===null){if(b.Va(),b instanceof Xr)for(b=b.memberParts;b.next();)y.remove(b.value)}else y.remove(b)}var E=y.Fa();if(E.length!==0){switch(this.sorting){case d0:E.reverse();break;case Hp:E.sort(this.comparer);break;case h0:E.sort(this.comparer),E.reverse()}var z=this.wrappingColumn;isNaN(z)&&(z=0);var ee=this.wrappingWidth;switch(isNaN(ee)&&a!==null?(y=a.padding,ee=Math.max(a.viewportBounds.width-y.left-y.right,0)):ee=Math.max(this.wrappingWidth,0),0>=z&&0>=ee&&(z=1),y=this.spacing.width,isFinite(y)||(y=0),x=this.spacing.height,isFinite(x)||(x=0),a!==null&&a.Ea("Layout"),b=[],this.alignment){case u0:var re=y,oe=x,le=Cn.alloc(),ue=Math.max(this.cellSize.width,1);if(!isFinite(ue))for(var fe=ue=0;fez-1||0ee)&&(b.push(new Cn(0,Te,ee+re,Ue)),ot=0,Ae=Ee,Te+=Ue,Ue=0),Ue=Math.max(Ue,yn),xe){case rd:Ft=-Ft.width;break;default:Ft=0}switch(Ct.moveTo(Ae+Ft,Te),xe){case rd:Ae-=jt;break;default:Ae+=jt}ot++}b.push(new Cn(0,Te,ee+re,Ue)),Cn.free(le);break;case jp:for(oe=ee,ue=z,fe=y,xe=x,ee=Cn.alloc(),Ee=Math.max(this.cellSize.width,1),z=Te=le=0,re=Qe.alloc(),Ae=0;Ae=le&&(oe-=le),le=Ct=0,jt=Math.max(this.cellSize.height,1),Ft=z=0,yn=!0,ot=Qe.alloc(),Fi=0;Fiue-1||0oe){for(b.push(new Cn(0,yn?St-z:St,oe+fe,Ft+z+xe)),Xi=0;Xile&&(z.width+=z.x-le,z.x=le);Cn.free(ee)}for(re=z=ee=E=0;rey?1:0}tt.Object.defineProperties(Cl.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(a){this.zo!==a&&(0fe)){var Te=fe+wp(Ae);Ae.pc(Te,!0),bv(Ae,Te,fe)}}y.isModified=!0}}finally{y.aa=!0}}}}},ra.prototype.updateAllTargetBindings=function(a){a===void 0&&(a="");for(var y=this.parts.iterator;y.next();)y.value.La(a);for(y=this.nodes.iterator;y.next();)y.value.La(a);for(y=this.links.iterator;y.next();)y.value.La(a)},ra.prototype.rp=function(){for(var a=this.H.model,y=new Ln,x=a.nodeDataArray,b=0;b=b)return"[]";var E=new rr;E.add("["),x&&1b)return;vi(a.Tc,b)}Zs(a,"nodeDataArray",Mi,"nodeDataArray",a,y,null,b,null),a.qp(y)}Ce.nA=function(a){if(Sn(a))for(var y=a.length,x=0;xy&&(y=a.length),Si(a,y,x),Zs(this,"",ui,"",a,null,x,null,y)},Ce.ov=function(a,y){y===void 0&&(y=-1),a===this.Tc&&Et("Model.removeArrayItem should not be called on the Model.nodeDataArray"),y===-1&&(y=a.length-1);var x=a[y];vi(a,y),Zs(this,"",Mi,"",a,x,null,y,null)},Ce.Ro=function(a){if(a===null)return"";var y=this.lj;if(y===""||(y=As(a,y),y===void 0))return"";if(typeof y=="string")return y;Et("getCategoryForNodeData found a non-string category for "+a+": "+y)},Ce.jm=function(a,y){if(a!==null){var x=this.lj;if(x!=="")if(this.lb(a)){var b=As(a,x);b===void 0&&(b=""),b!==y&&(ja(a,x,y),Zs(this,"nodeCategory",oi,x,a,b,y))}else ja(a,x,y)}},Ce.lm=function(a,y){this.jm(y,this.Ro(a))},Ce.Tl=function(){return!1},Ce.Wj=function(){return!1},Ce.ri=function(){return!1},Ce.xs=function(){return!1},Ce.Xj=function(){return!1};function gy(){return new ir}function Zp(a,y){if(typeof y=="function"){if(y.className)return y.className;if(y.name)return y.name}else if(typeof y=="object"&&y!==null&&y.constructor)return Zp(a,y.constructor);return typeof y}function py(a){return Vc[a]?Vc[a]:Ye.go!==void 0&&Ye.go[a]?Ye.go[a]:null}function As(a,y){if(!a||!y)return null;try{if(typeof y=="function")var x=y(a);else typeof a.getAttribute=="function"?(x=a.getAttribute(y),x===null&&(x=void 0)):x=a[y]}catch(b){}return x}function ja(a,y,x){if(a&&y)try{typeof y=="function"?y(a,x):typeof a.setAttribute=="function"?a.setAttribute(y,x):a[y]=x}catch(b){}}tt.Object.defineProperties(ir.prototype,{name:{get:function(){return this.xa},set:function(a){var y=this.xa;y!==a&&(this.xa=a,this.g("name",y,a))}},dataFormat:{get:function(){return this.Sm},set:function(a){var y=this.Sm;y!==a&&(this.Sm=a,this.g("dataFormat",y,a))}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},modelData:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.g("modelData",y,a),this.La(a))}},undoManager:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&(y!==null&&y.Rx(this),this.o=a,a!==null&&a.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a}},nodeKeyProperty:{get:function(){return this.Th},set:function(a){var y=this.Th;y!==a&&(a===""&&Et("Model.nodeKeyProperty may not be the empty string"),0"+ic(this,E,!1)}return y},Ce.Qv=function(a,y){this.linkKeyProperty===""&&Et("GraphLinksModel.linkKeyProperty must not be an empty string for .toIncrementalData() to succeed.");var x=ir.prototype.Qv.call(this,a,y),b=this,E=new Ln,z=new Ln,ee=new Ln,re=this.vh;a.changes.each(function(ue){ue.model===b&&(ue.modelChange==="linkDataArray"?ue.change===ui?E.add(ue.newValue):ue.change===Mi&&ee.add(ue.oldValue):b.Jc(ue.object)?z.add(ue.object):ue.object!==null&&(ue.object!==null&&re&&re.contains(ue.object)?re.get(ue.object).each(function(fe){b.Jc(fe)&&z.add(fe)}):ue.object instanceof ir||b.lb(ue.object)||BS(b,ue.object).each(function(fe){z.add(fe)})))});var oe=this.il;oe.clear(),E.each(function(ue){oe.add(b.Ac(ue)),y||z.add(ue)});var le=this.kl;return le.clear(),ee.each(function(ue){le.add(b.Ac(ue)),y&&z.add(ue)}),a=b.cloneDeep(z.Fa()),0b.indexOf(a.newValue)&&b.splice(x,0,a.newValue));return}}else if(a.change===Mi){if(x=a.oldParam,a.modelChange==="linkDataArray"){a=a.oldValue,zt(a)&&typeof x=="number"&&(b=this.Ac(a),y?(this.$f.add(a),this.md[x]!==a&&this.md.splice(x,0,a),b!==void 0&&this.wb.add(b,a)):(this.$f.remove(a),this.md[x]===a&&this.md.splice(x,1),b!==void 0&&this.wb.remove(b)));return}if(a.modelChange==="linkLabelKeys"){b=this.Ef(a.object),Array.isArray(b)&&typeof x=="number"&&(y?0>b.indexOf(a.newValue)&&b.splice(x,0,a.newValue):(x=b.indexOf(a.newValue),0<=x&&b.splice(x,1)));return}}ir.prototype.changeState.call(this,a,y)}},Ce=Bo.prototype,Ce.Vl=function(a){if(a!==void 0){var y=this.Ri;if(y!==null){var x=this.hc(a);x===null&&(x=this.copyNodeData(y),ja(x,this.nodeKeyProperty,a),this.xf(x))}return a}},Ce.yx=function(a){return ic(this,a,!0)},Ce.wv=function(a,y){Kg(this,a,y,!0)},Ce.Bx=function(a){return ic(this,a,!1)},Ce.Bv=function(a,y){Kg(this,a,y,!1)};function ic(a,y,x){if(y!==null&&(a=x?a.lf:a.mf,a!==""&&(a=As(y,a),a!==void 0))){if(_h(a))return a;Et((x?"FromKey":"ToKey")+" value for link data "+y+" is not a number or a string: "+a)}}function Kg(a,y,x,b){if(x===null&&(x=void 0),y!==null){var E=b?a.lf:a.mf;if(E!=="")if(x=a.Vl(x),a.Jc(y)){var z=As(y,E);z!==x&&(ad(a,z,y),ja(y,E,x),a.hc(x)===null&&od(a,x,y),Zs(a,b?"linkFromKey":"linkToKey",oi,E,y,z,x),typeof E=="string"&&a.La(y,E))}else ja(y,E,x)}}Ce.zx=function(a){return v0(this,a,!0)},Ce.xv=function(a,y){Vg(this,a,y,!0)},Ce.Cx=function(a){return v0(this,a,!1)},Ce.Cv=function(a,y){Vg(this,a,y,!1)};function v0(a,y,x){return y===null||(a=x?a.ej:a.fj,a==="")?"":(y=As(y,a),y===void 0?"":y)}function Vg(a,y,x,b){if(y!==null){var E=b?a.ej:a.fj;if(E!=="")if(a.Jc(y)){var z=As(y,E);z===void 0&&(z=""),z!==x&&(ja(y,E,x),Zs(a,b?"linkFromPortId":"linkToPortId",oi,E,y,z,x),typeof E=="string"&&a.La(y,E))}else ja(y,E,x)}}Ce.Ef=function(a){if(a===null)return y0;var y=this.je;return y===""?y0:(a=As(a,y),a===void 0?y0:a)},Ce.Ls=function(a,y){if(a!==null){var x=this.je;if(x!=="")if(this.Jc(a)){var b=As(a,x);if(b===void 0&&(b=y0),b!==y){if(Array.isArray(b))for(var E=b.length,z=0;zE||(b.splice(E,1),this.Jc(a)&&(ad(this,y,a),Zs(this,"linkLabelKeys",Mi,x,a,y,null,E,null)))}else b!==void 0&&Et(x+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}},Ce.Ac=function(a){if(a!==null){var y=this.Jh;if(y!==""&&(y=As(a,y),y!==void 0)){if(_h(y))return y;Et("Key value for link data "+a+" is not a number or a string: "+y)}}},Ce.Ks=function(a,y){if(a!==null){var x=this.Jh;if(x!=="")if(this.Jc(a)){var b=As(a,x);b!==y&&this.jh(y)===null&&(ja(a,x,y),b!==void 0&&this.wb.remove(b),this.wb.add(y,a),Zs(this,"linkKey",oi,x,a,b,y),typeof x=="string"&&this.La(a,x))}else ja(a,x,y)}},Ce.jh=function(a){return a===null&&Et("GraphLinksModel.findLinkDataForKey:key must not be null"),a!==void 0&&_h(a)?this.wb.I(a):null},Ce.Bs=function(a){if(a!==null){var y=this.Jh;if(y!==""){var x=this.Ac(a);if(x===void 0||this.wb.contains(x)){var b=this.cl;if(b!==null&&(x=b(this,a),x!=null&&!this.wb.contains(x))){ja(a,y,x);return}if(typeof x=="string"){for(b=2;this.wb.contains(x+b);)b++;ja(a,y,x+b)}else if(x===void 0||typeof x=="number"){for(x=-this.wb.count-1;this.wb.contains(x);)x--;ja(a,y,x)}}}}},Ce.Jc=function(a){return a===null?!1:this.$f.contains(a)},Ce.fi=function(a){a!==null&&(Qr(a),this.Jc(a)||TS(this,a,!0))};function TS(a,y,x){if(a.linkKeyProperty!==""){var b=a.Ac(y);if(b!==void 0&&a.wb.I(b)===y)return;a.Bs(y),b=a.Ac(y),b===void 0&&Et("GraphLinksModel.makeLinkDataKeyUnique failed on "+y+". Data not added to model."),a.wb.add(b,y)}a.$f.add(y),b=null,x&&(b=a.md.length,a.md.splice(b,0,y)),Zs(a,"linkDataArray",ui,"linkDataArray",a,null,y,null,b),my(a,y)}Ce.Ey=function(a){if(Array.isArray(a))for(var y=a.length,x=0;xb)return;a.md.splice(b,1)}if(Zs(a,"linkDataArray",Mi,"linkDataArray",a,y,null,b,null),x=ic(a,y,!0),ad(a,x,y),x=ic(a,y,!1),ad(a,x,y),b=a.Ef(y),Array.isArray(b))for(var E=b.length,z=0;z=a.count)a.count===1&&(a=a.first(),a.centerX=0,a.centerY=0);else{var y=new kn;y.addAll(a.iterator),a=new kn;var x=new kn,b=this.sort(y),E,z,ee=this.Jp,re=this.arrangement,oe=this.nodeDiameterFormula,le=this.radius;(!isFinite(le)||0>=le)&&(le=NaN);var ue=this.aspectRatio;(!isFinite(ue)||0>=ue)&&(ue=1);var fe=this.startAngle;isFinite(fe)||(fe=0);var xe=this.sweepAngle;if((!isFinite(xe)||360xe)&&(xe=360),y=this.spacing,isFinite(y)||(y=NaN),re===Yc&&oe===sg?re=Gc:re===Yc&&oe!==sg&&(re=this.arrangement),(this.direction===Tf||this.direction===Gg)&&this.sorting!==Yg){for(oe=0;!(oe>=b.length)&&(a.add(b.M(oe)),!(oe+1>=b.length));oe+=2)x.add(b.M(oe+1));this.direction===Tf?(this.arrangement===Yc&&a.reverse(),b=new kn,b.addAll(a),b.addAll(x)):(this.arrangement===Yc&&x.reverse(),b=new kn,b.addAll(x),b.addAll(a))}oe=b.length;for(var Ee=z=E=0;Eexe&&(Ee===0||Ee===b.length-1)&&(Te/=2),E+=Te,z++}if(isNaN(le)||re===Yc){if(isNaN(y)&&(y=6),re!==Gc&&re!==Yc){for(z=-1/0,ee=0;eele?(le=E,z=le*ue):ee=Ee/(360<=xe?oe:oe-1)}if(this.kw=re,this.lc=le,this.Zm=ue,this.lw=fe,this.Wp=xe,this.Ti=y,this.me=z,this.Jp=ee,y=b,b=this.kw,re=this.lc,le=this.lw,ue=this.Wp,fe=this.Ti,xe=this.me,oe=this.Jp,this.direction!==Tf&&this.direction!==Gg||b!==Yc)if(this.direction===Tf||this.direction===Gg){switch(ee=0,b){case $h:ee=180*x0(this,re,xe,le,oe)/Math.PI;break;case Gc:oe=y=0,ee=a.first(),ee!==null&&(y=ef(ee,Math.PI/2)),ee=x.first(),ee!==null&&(oe=ef(ee,Math.PI/2)),ee=180*x0(this,re,xe,le,fe+(y+oe)/2)/Math.PI;break;case Lh:ee=ue/y.length}if(this.direction===Tf){switch(b){case $h:Yp(this,a,le,qh);break;case Gc:Gp(this,a,le,qh);break;case Lh:Vp(this,a,ue/2,le,qh)}switch(b){case $h:Yp(this,x,le+ee,cu);break;case Gc:Gp(this,x,le+ee,cu);break;case Lh:Vp(this,x,ue/2,le+ee,cu)}}else{switch(b){case $h:Yp(this,x,le,qh);break;case Gc:Gp(this,x,le,qh);break;case Lh:Vp(this,x,ue/2,le,qh)}switch(b){case $h:Yp(this,a,le+ee,cu);break;case Gc:Gp(this,a,le+ee,cu);break;case Lh:Vp(this,a,ue/2,le+ee,cu)}}}else switch(b){case $h:Yp(this,y,le,this.direction);break;case Gc:Gp(this,y,le,this.direction);break;case Lh:Vp(this,y,ue,le,this.direction);break;case Yc:RS(this,y,ue,le,this.direction)}else RS(this,y,ue,le-ue/2,cu)}this.updateParts(),this.network=null,this.isValidLayout=!0};function Vp(a,y,x,b,E){var z=a.Wp,ee=a.lc;a=a.me,b=b*Math.PI/180,x=x*Math.PI/180;for(var re=y.length,oe=0;oex){for(z=b+(E===cu?z:-z);0>z;)z+=360;z%=360,180=ue.length-1));fe++)HS(a,oe,le,ue,fe,E,z)||WS(a,oe,le,ue,fe,E,z),oe=z.x,le=z.y;if(Qe.free(z),a.mj++,!(23Math.abs(Ee)?Math.abs(oe-z)<(ue[0].width+ue[ue.length-1].width)/2&&(ee=0):ee=0Math.abs(xe)?0:xe,oe=Math.abs(z)>Math.abs(fe)?0fe:0a.mj?a.lc-ee/(2*Math.PI):5>ue.length&&10=fe.length-1));xe++)HS(a,oe,le,fe,xe,E,ue)||WS(a,oe,le,fe,xe,E,ue),oe=ue.x,le=ue.y;if(Qe.free(ue),a.mj++,!(23a.mj?a.lc-z/(2*Math.PI):a.lc-(0re){if(z=y-a,z<-re)return ee.x=z,ee.y=le,!1;ue=!0}}else if(z=y-a,z<-re){if(z=y+a,z>re)return ee.x=z,ee.y=le,!1;ue=!0}return le=Math.sqrt(1-Math.min(1,z*z/(re*re)))*oe,0>x!==ue&&(le=-le),Math.abs(x-le)>(b[E].height+b[E+1].height)/2?(ee.x=z,ee.y=le,!1):(ee.x=z,ee.y=le,!0)}function WS(a,y,x,b,E,z,ee){var re=a.lc,oe=a.me,le=0;if(a=(b[E].height+b[E+1].height)/2+a.Ti,b=!1,0<=y!=(z===cu)){if(z=x-a,z<-oe){if(z=x+a,z>oe){ee.x=le,ee.y=z;return}b=!0}}else if(z=x+a,z>oe){if(z=x-a,z<-oe){ee.x=le,ee.y=z;return}b=!0}le=Math.sqrt(1-Math.min(1,z*z/(oe*oe)))*re,0>y!==b&&(le=-le),ee.x=le,ee.y=z}qa.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},qa.prototype.commitNodes=function(){var a=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,y=a?this.group.location.copy():null,x=this.actualCenter;a?x=new Qe(0,0):(x.x=this.arrangementOrigin.x+this.lc,x.y=this.arrangementOrigin.y+this.me);for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;E.x+=x.x,E.y+=x.y,E.commit()}a&&(this.group.Va(),a=this.group.position.copy(),x=this.group.location.copy(),y=y.re(x.re(a)),this.group.move(y),this.Zv=y.re(a))},qa.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()};function vy(a,y,x,b,E){var z=a.ty;if(.001>Math.abs(a.Zm-1))return b!==void 0&&E!==void 0?E*y:2*Math.PI*y;a=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x;for(var ee=0,re=b!==void 0&&E!==void 0?E/(z+1):Math.PI/(2*(z+1)),oe=0,le=0;le<=z;le++){b!==void 0&&E!==void 0?oe=b+le*E/z:oe=le*Math.PI/(2*z);var ue=Math.sin(oe);ee+=Math.sqrt(1-a*a*ue*ue)*re}return b!==void 0&&E!==void 0?(y>x?y:x)*ee:4*(y>x?y:x)*ee}function S0(a,y,x,b,E){return y/(b!==void 0&&E!==void 0?vy(a,1,x,b,E):vy(a,1,x))}function x0(a,y,x,b,E){if(.001>Math.abs(a.Zm-1))return E/y;var z=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x,ee=0;a=2*Math.PI/(700*a.network.vertexes.count),y>x&&(b+=Math.PI/2);for(var re=0;;re++){var oe=Math.sin(b+re*a);if(ee+=(y>x?y:x)*Math.sqrt(1-z*z*oe*oe)*a,ee>=E)return re*a}}qa.prototype.sort=function(a){switch(this.sorting){case w0:break;case P0:a.reverse();break;case C0:a.sort(this.comparer);break;case b0:a.sort(this.comparer),a.reverse();break;case Yg:return this.ak(Zx(a));default:Et("Invalid sorting type.")}return a};function Zx(a){for(var y=[],x=0;xE&&(E=re,z=ee)}else for(ee=0;eeE&&(E=re,z=ee);for(x.add(a.M(z)),y[z]=-1,z=a.M(z),ee=z.sourceEdges;ee.next();)E=a.indexOf(ee.value.fromVertex),0>E||0<=y[E]&&y[E]++;for(z=z.destinationEdges;z.next();)E=a.indexOf(z.value.toVertex),0>E||0<=y[E]&&y[E]++}return x}qa.prototype.ak=function(a){for(var y=[],x=0;xy[x].indexOf(E)&&y[x].push(E);for(b=b.sourceEdges;b.next();)E=a.indexOf(b.value.fromVertex),E!==x&&0>y[x].indexOf(E)&&y[x].push(E)}for(z=[],x=0;xy[x[Ae]].indexOf(x[Ae===x.length-1?0:Ae+1])&&Ee.push(Ae===x.length-1?0:Ae+1);if(Ee.length===0)for(Ae=0;Aex.indexOf(yn)||jtx.indexOf(yn)||jt=Te?jt+1:jt)),Ue+=jt=Te&&jt++,Ct>=Te&&Ct++,jt>Ct&&(Ft=Ct,Ct=jt,jt=Ft),Ct-jt<(x.length+2)/2==(jtEe||Ee===ue||(Ae=Ee>ue?Ee-ue:ue-Ee,fe+=Eeee-Ae?1:-1);x.splice(0>fe?ue:ue+1,0,oe),b.splice(re,1),re--}else z=!1;if(z)break;x.push(b[0]),b.splice(0,1)}for(y=0;y=a?this.ul=a:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==Yc&&a!==Gc&&a!==$h&&a!==Lh||(this.Rb=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K===a||a!==cu&&a!==qh&&a!==Tf&&a!==Gg||(this.K=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==w0&&a!==P0&&a!==C0&&!b0&&a!==Yg||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf!==a&&(this.tf=a,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(a){this.Nn===a||a!==E0&&a!==sg||(this.Nn=a,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var Gc=new Xt(qa,"ConstantSpacing",0),$h=new Xt(qa,"ConstantDistance",1),Lh=new Xt(qa,"ConstantAngle",2),Yc=new Xt(qa,"Packed",3),cu=new Xt(qa,"Clockwise",4),qh=new Xt(qa,"Counterclockwise",5),Tf=new Xt(qa,"BidirectionalLeft",6),Gg=new Xt(qa,"BidirectionalRight",7),w0=new Xt(qa,"Forwards",8),P0=new Xt(qa,"Reverse",9),C0=new Xt(qa,"Ascending",10),b0=new Xt(qa,"Descending",11),Yg=new Xt(qa,"Optimized",12),E0=new Xt(qa,"Pythagorean",13),sg=new Xt(qa,"Circular",14);qa.className="CircularLayout",qa.ConstantSpacing=Gc,qa.ConstantDistance=$h,qa.ConstantAngle=Lh,qa.Packed=Yc,qa.Clockwise=cu,qa.Counterclockwise=qh,qa.BidirectionalLeft=Tf,qa.BidirectionalRight=Gg,qa.Forwards=w0,qa.Reverse=P0,qa.Ascending=C0,qa.Descending=b0,qa.Optimized=Yg,qa.Pythagorean=E0,qa.Circular=sg;function Up(){this.Pl=-1/0,this.tm=this.mk=null}Up.prototype.compare=function(a,y){if(0this.Pl||Math.abs(a)a&&0re?(E=xe.x+xe.width/2,z=xe.y+xe.height/2,le[0]=new Qe(xe.x+xe.width+b.width,xe.y),le[1]=new Qe(xe.x,xe.y+xe.height+b.height),re=2):(oe=KS(le,re,E,z,xe.width,xe.height,b),fe=le[oe],Ee=new Qe(fe.x+xe.width+b.width,fe.y),xe=new Qe(fe.x,fe.y+xe.height+b.height),oe+1this.network.vertexes.count)return!1;for(var a=0,y=0,x=this.network.vertexes.first().bounds,b=this.network.vertexes.iterator;b.next();){if(b.value.bounds.Yc(x)&&(a++,2a.network.vertexes.count)return!1;for(a.ah=a.network.vertexes.Fa(),a=a.ah,a.sort(function(x,b){return x===null||b===null||x===b?0:b.Vd-x.Vd}),y=a.length-1;0<=y&&1>=a[y].Vd;)y--;return 1=ee))){for(var le=re=0,ue=oe.count-ee;ueEe&&(Ee=1),re=Kt.sqrt((re+Ee+le*le*4/(ee*ee))/Ee),ee=(re-1)*ue/2,re=(re-1)*fe/2,E.bounds=new Cn(z-xe.x-ee,oe-xe.y-re,ue+2*ee,fe+2*re),E.focus=new Qe(xe.x+ee,xe.y+re)}}return a.network=b,x}function Gx(a,y){for(var x=a.network.vertexes.iterator;x.next();){var b=x.value;if(b.network=y,b.We!==null){var E=b.We.M(b.sv);b.Vd=E.Rs;var z=E.Sv,ee=E.Tv;b.bounds=new Cn(b.centerX-z,b.centerY-ee,E.Ss,E.Qs),b.focus=new Qe(z,ee),b.sv--}}for(x=a.network.edges.iterator;x.next();)x.value.network=y;a.network=y}function Yx(a,y){var x=y.Hj;if(x!==null&&x.count!==0){var b=y.centerX,E=y.centerY,z=y.width,ee=y.height;y.We!==null&&0=fe.Vd?oe++:(re=!0,le++,ee+=Math.atan2(y.centerY-fe.centerY,y.centerX-fe.centerX))}if(oe!==0){for(0>1)+le)*(re%2===0?1:-1),oe.centerX=b+ue*Math.cos(fe),oe.centerY=E+ue*Math.sin(fe),re++}}}}function KS(a,y,x,b,E,z,ee){var re=9e19,oe=-1,le=0;e:for(;leue.y&&a[xe].x-ue.xue.x&&a[xe].y-ue.yy+z?(x=b+E-ee,a=a-y-z,Kt.sqrt(x*x+a*a)):a+xee+re?a>y+z?(x=b-ee-re,a=a-y-z,Kt.sqrt(x*x+a*a)):a+xy+z?a-(y+z):a+x=y.length)return!1;var x=y[0];x.forceX=0,x.forceY=0;for(var b=x.centerX,E=b,z=x=x.centerY,ee=1;eez-x)?y.sort(function(Te,ot){return Te===null||ot===null||Te===ot?0:Te.centerX-ot.centerX}):y.sort(function(Te,ot){return Te===null||ot===null||Te===ot?0:Te.centerY-ot.centerY}),x=a.Zf;var le=b=re=0;for(z=0;zx||le-oe>x){if(E)break}else if(ue-Ee>x||Ee-ue>x){if(!E)break}else{var Ae=VS(ee,xe);1>Ae?(b=a.randomNumberGenerator,b===null&&(a.randomNumberGenerator=b=new L0),Ae=b.random(),re=b.random(),oe>le?(b=Math.abs(xe.bounds.right-ee.bounds.x),b=(1+b)*Ae):oeEe?(le=Math.abs(xe.bounds.bottom-ee.bounds.y),le=(1+le)*re):oefe?(fe=a.randomNumberGenerator,fe===null&&(a.randomNumberGenerator=fe=new L0),re=fe.random(),fe=fe.random(),b=(b>oe?1:-1)*(1+(z.width>x.width?z.width:x.width))*re,le=(ee>ue?1:-1)*(1+(z.height>x.height?z.height:x.height))*fe):(re=re.stiffness*(fe-re.length),b=(oe-b)/fe*re,le=(ue-ee)/fe*re),x.forceX+=b,x.forceY+=le,z.forceX-=b,z.forceY-=le;for(E=b=0;Ea.epsilonDistance*a.epsilonDistance}Bl.prototype.moveVertex=function(a){var y=a.forceX,x=a.forceY,b=this.moveLimit;return y<-b?y=-b:y>b&&(y=b),x<-b?x=-b:x>b&&(x=b),a.centerX+=y,a.centerY+=x,y*y+x*x},Bl.prototype.moveFixedVertex=function(){},Bl.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},Bl.prototype.yv=function(){if(this.setsPortSpots)for(var a=this.network.edges.iterator;a.next();){var y=a.value.link;y!==null&&(y.fromSpot=Xo,y.toSpot=Xo)}},Bl.prototype.commitNodes=function(){var a=0,y=0;if(this.arrangesToOrigin){var x=Cn.alloc();this.computeBounds(this.network,x),y=this.arrangementOrigin,a=y.x-x.x,y=y.y-x.y,Cn.free(x)}x=Cn.alloc();for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;(a!==0||y!==0)&&(x.assign(E.bounds),x.x+=a,x.y+=y,E.bounds=x),E.commit()}Cn.free(x)},Bl.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},Bl.prototype.springStiffness=function(a){return a=a.stiffness,isNaN(a)?this.Hk:a},Bl.prototype.springLength=function(a){return a=a.length,isNaN(a)?this.Gk:a},Bl.prototype.electricalCharge=function(a){return a=a.charge,isNaN(a)?this.Ek:a},Bl.prototype.electricalFieldX=function(){return 0},Bl.prototype.electricalFieldY=function(){return 0},Bl.prototype.gravitationalMass=function(a){return a=a.mass,isNaN(a)?this.Fk:a},Bl.prototype.gravitationalFieldX=function(){return 0},Bl.prototype.gravitationalFieldY=function(){return 0},Bl.prototype.isFixed=function(a){return a.isFixed},tt.Object.defineProperties(Bl.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(a){this.Bm!==a&&(this.Bm=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},maxIterations:{get:function(){return this.dl},set:function(a){this.dl!==a&&0<=a&&(this.dl=a,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(a){this.$m!==a&&0Te&&0Te&&0a[this.Md]&&(this.Iq=a[x]-1,this.Md=x),a[x]ee)for(var ue=ee+1;ueoe;ue--)fe=b[ue],fe.near===le&&fe.Dj===le.Dj||re++;var xe;if(0<=x)for(oe=b[ee].sourceEdgesArrayAccess,le=0;leTe||fe===Te&&Ee>Ae)&&re++,otfe||Te===fe&&Ae>Ee)&&re++}}}if(0>=x){for(oe=b[ee].destinationEdgesArrayAccess,le=0;leTe||fe===Te&&ue>ot)&&re++,Aefe||Te===fe&&ot>ue)&&re++)}for(z[ee*E+ee]=re,oe=ee+1;oe=x){for(re=b[ee].destinationEdgesArrayAccess,Ct=b[oe].destinationEdgesArrayAccess,le=0;le=x&&(oe=re.sourceEdgesArrayAccess);var le=null;0<=x&&(le=re.destinationEdgesArrayAccess);var ue=0,fe=0,xe=re.near;if(xe!==null&&xe.layer===re.layer&&(ue+=xe.column-1,fe++),oe!==null)for(xe=0;xe=x&&(oe=re.sourceEdgesArrayAccess);var le=null;0<=x&&(le=re.destinationEdgesArrayAccess);var ue=0,fe=[],xe=re.near;if(xe!==null&&xe.layer===re.layer&&(fe[ue]=xe.column-1,ue++),re=void 0,oe!==null)for(xe=0;xe>1,z[ee]=ue&1?fe[le]:fe[le-1]+fe[le]>>1)}return nf(a,y,b),z}function _p(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var ee=y.destinationEdges;ee.next();){var re=ee.value,oe=re.toVertex,le=y.layer-oe.layer;re=a.linkMinLength(re),le===re&&_p(a,oe,x,b,E,z)}if(z)for(ee=y.sourceEdges;ee.next();)re=ee.value,oe=re.fromVertex,le=oe.layer-y.layer,re=a.linkMinLength(re),le===re&&_p(a,oe,x,b,E,z)}}function xy(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var ee=y.destinationEdges;ee.next();)xy(a,ee.value.toVertex,x,b,E,z);if(z)for(y=y.sourceEdges;y.next();)xy(a,y.value.fromVertex,x,b,E,z)}}oa.prototype.removeCycles=function(){for(var a=this.network.edges.iterator;a.next();)a.value.rev=!1;switch(this.Dk){default:case Cy:a=this.network;var y=0,x=a.vertexes.count-1,b=[];b.length=x+1;for(var E=a.vertexes.iterator;E.next();)E.value.valid=!0;for(;Xx(a)!==null;){for(E=JS(a);E!==null;)b[x]=E,x--,E.valid=!1,E=JS(a);for(E=QS(a);E!==null;)b[y]=E,y++,E.valid=!1,E=QS(a);E=null;for(var z=0,ee=this.network.vertexes.iterator;ee.next();){var re=ee.value;if(re.valid){for(var oe=0,le=re.destinationEdges;le.next();)le.value.toVertex.valid&&oe++;le=0;for(var ue=re.sourceEdges;ue.next();)ue.value.fromVertex.valid&&le++;(E===null||zy.toVertex.index&&(a.gm(y),y.rev=!0);break;case D0:for(b=this.network.vertexes.iterator;b.next();)a=b.value,a.Ll=-1,a.finish=-1;for(a=this.network.edges.iterator;a.next();)a.value.forest=!1;for(this.Kn=0,b.reset();b.next();)y=b.value,y.sourceEdges.count===0&&wy(this,y);for(b.reset();b.next();)y=b.value,y.Ll===-1&&wy(this,y);for(a.reset();a.next();)b=a.value,b.forest||(y=b.fromVertex,x=y.finish,E=b.toVertex,z=E.finish,E.Llb){if(0>b)for(y.reset();y.next();)y.value.layer-=b;for(b=[],y.reset();y.next();)x=y.value,E=b[x.layer],E===void 0?b[x.layer]=[x]:E.push(x);for(x=y=0;xee&&_p(a,re,0,-1,!0,!1)}for(_p(a,y,1,-1,!0,!0);y.component!==0;){for(z=0,b=1/0,re=0,oe=null,ee=a.network.vertexes.iterator;ee.next();){var le=ee.value;if(le.component===1){var ue=0,fe=!1,xe=le.sourceEdgesArrayAccess;E=xe.length;for(var Ee=0;Eez)&&!ue&&(re=ee,z=le)}if(0>b){for(x.reset();x.next();)b=x.value,b.component===1&&(b.layer-=E);y.component=0}else re.component=0}}}function tx(a,y,x){return a.K===90?x&&!y.rev||!x&&y.rev?270:90:a.K===180?x&&!y.rev||!x&&y.rev?0:180:a.K===270?x&&!y.rev||!x&&y.rev?90:270:x&&!y.rev||!x&&y.rev?180:0}oa.prototype.initializeIndices=function(){switch(this.Qk){default:case Ly:for(var a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;y.index=this.tc[x],this.tc[x]++}break;case T0:for(a=this.network.vertexes.iterator,y=this.Ia;0<=y;y--)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&nx(this,x);break;case Ay:for(a=this.network.vertexes.iterator,y=0;y<=this.Ia;y++)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&ix(this,x)}};function nx(a,y){var x=y.layer;for(y.index=a.tc[x],a.tc[x]++,y=y.destinationEdgesArrayAccess,x=!0;x;){x=!1;for(var b=0;bz.portFromColOffset&&(x=!0,y[b]=z,y[b+1]=E)}}for(x=0;xz.portToColOffset&&(b=!0,y[x]=z,y[x+1]=E)}for(x=0;x=ee;b--)z=Nc(this,b,-1)||z;for(E=this.countCrossings(),E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=x;b>=ee;b--)z=Nc(this,b,1)||z;for(E=this.countCrossings(),E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=Nc(this,b,1)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=Nc(this,b,-1)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=x;b>=ee;b--)z=Nc(this,b,0)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=Nc(this,b,0)||z;E>=a?mc(this,y):(a=E,y=Eu(this))}break;default:case O0:for(x=this.Ia,ee=0,re=a+1;(b=this.countCrossings())=ee;b--)z=Nc(this,b,-1)||z;for(E=this.countCrossings(),E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=x;b>=ee;b--)z=Nc(this,b,1)||z;for(E=this.countCrossings(),E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=Nc(this,b,1)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=Nc(this,b,-1)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=x;b>=ee;b--)z=Nc(this,b,0)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=Nc(this,b,0)||z;E>=a?mc(this,y):(a=E,y=Eu(this))}}mc(this,y)};function F0(a,y,x){var b=tf(a,y),E=a.tc[y],z=XS(a,y,x),ee=Sy(a,y,x);for(x=0;xz+1&&(xe+=4*(St-z),Ee+=4*(St-(z+1)))}for(Ft=b[z].destinationEdges.iterator,Ft.reset();Ft.next();)if(St=Ft.value,Ct=St.toVertex,St.valid&&Ct.layer===y){for(St=0;b[St]!==Ct;)St++;St===z+1&&(Ee+=1)}for(Ft=b[z+1].sourceEdges.iterator,Ft.reset();Ft.next();)if(St=Ft.value,Ct=St.fromVertex,St.valid&&Ct.layer===y){for(St=0;b[St]!==Ct;)St++;Stz+1&&(xe+=4*(St-(z+1)),Ee+=4*(St-z))}for(Ft=b[z+1].destinationEdges.iterator,Ft.reset();Ft.next();)if(St=Ft.value,Ct=St.toVertex,St.valid&&Ct.layer===y){for(St=0;b[St]!==Ct;)St++;St===z&&(xe+=1)}St=Ct=0,Ft=ee[b[z].index];var jt=re[b[z].index],yn=ee[b[z+1].index],Fi=re[b[z+1].index];Ft!==-1&&(Ct+=Math.abs(Ft-Ae),St+=Math.abs(Ft-Ue)),jt!==-1&&(Ct+=Math.abs(jt-Ae),St+=Math.abs(jt-Ue)),yn!==-1&&(Ct+=Math.abs(yn-Te),St+=Math.abs(yn-ot)),Fi!==-1&&(Ct+=Math.abs(Fi-Te),St+=Math.abs(Fi-ot)),(Ee>1)+8*b;this.Ra*=8}if(this.bg&2)for(x=!0;x;){for(x=!1,y=this.Md+1;y<=this.Ia;y++)x=Xg(this,y,1)||x;for(y=this.Md-1;0<=y;y--)x=Xg(this,y,-1)||x;x=Xg(this,this.Md,0)||x}if(this.bg&4){for(y=this.Md+1;y<=this.Ia;y++)Py(this,y,1);for(y=this.Md-1;0<=y;y--)Py(this,y,-1);Py(this,this.Md,0)}if(a&&(rx(this,-1),rx(this,1)),this.bg&2)for(x=!0;x;){for(x=!1,x=Xg(this,this.Md,0)||x,y=this.Md+1;y<=this.Ia;y++)x=Xg(this,y,0)||x;for(y=this.Md-1;0<=y;y--)x=Xg(this,y,0)||x}}else $x(this)};function Xg(a,y,x){for(var b=!1;Jx(a,y,x);)b=!0;return b}function Jx(a,y,x){var b,E=tf(a,y),z=a.tc[y],ee=Sy(a,y,-1);if(0x)for(b=0;bb-1||ue-E[b-1].column-1>fe+a.nodeMinColumnSpace(E[b-1],!1)?Ee=ue-1:Ee=ue,fe=b+1>=z||E[b+1].column-ue-1>xe+a.nodeMinColumnSpace(E[b+1],!0)?ue+1:ue;var Ae=xe=0,Te=0;if(0>=x)for(var ot=E[b].sourceEdges.iterator;ot.next();){var Ue=ot.value,St=Ue.fromVertex;if(Ue.valid&&St.layer!==y){var Ct=yy(Ue),Ft=Ue.portFromColOffset;Ue=Ue.portToColOffset,St=St.column,xe+=(Math.abs(ue+Ue-(St+Ft))+1)*Ct,Ae+=(Math.abs(Ee+Ue-(St+Ft))+1)*Ct,Te+=(Math.abs(fe+Ue-(St+Ft))+1)*Ct}}if(0<=x)for(ot=E[b].destinationEdges.iterator;ot.next();)Ue=ot.value,St=Ue.toVertex,Ue.valid&&St.layer!==y&&(Ct=yy(Ue),Ft=Ue.portFromColOffset,Ue=Ue.portToColOffset,St=St.column,xe+=(Math.abs(ue+Ft-(St+Ue))+1)*Ct,Ae+=(Math.abs(Ee+Ft-(St+Ue))+1)*Ct,Te+=(Math.abs(fe+Ft-(St+Ue))+1)*Ct);Ue=Ft=Ct=0,ot=ee[E[b].index],St=re[E[b].index],ot!==-1&&(Ct+=Math.abs(ot-ue),Ft+=Math.abs(ot-Ee),Ue+=Math.abs(ot-fe)),St!==-1&&(Ct+=Math.abs(St-ue),Ft+=Math.abs(St-Ee),Ue+=Math.abs(St-fe)),Ae=ee[x]?ue=oe:le<=ee[x]&&(ue=le));ue!==re&&(z=!0,b[x].column=ue)}nf(a,y,b),a.normalize()}function Qx(a,y){for(var x=!0,b=a.network.vertexes.iterator;b.next();){var E=b.value,z=a.nodeMinColumnSpace(E,!0),ee=a.nodeMinColumnSpace(E,!1);if(E.column-z<=y&&E.column+ee>=y){x=!1;break}}if(a=!1,x)for(b.reset();b.next();)x=b.value,x.column>y&&(--x.column,a=!0);return a}function _x(a,y){var x=y+1,b,E=[],z=[];for(b=0;b<=a.Ia;b++)E[b]=!1,z[b]=!1;for(var ee=a.network.vertexes.iterator;ee.next();){b=ee.value;var re=b.column-a.nodeMinColumnSpace(b,!0),oe=b.column+a.nodeMinColumnSpace(b,!1);re<=y&&oe>=y&&(E[b.layer]=!0),re<=x&&oe>=x&&(z[b.layer]=!0)}for(re=!0,x=!1,b=0;b<=a.Ia;b++)re=re&&!(E[b]&&z[b]);if(re)for(ee.reset();ee.next();)a=ee.value,a.column>y&&(--a.column,x=!0);return x}function rx(a,y){for(var x=0;x<=a.Ra;x++)for(;Qx(a,x););for(a.normalize(),x=0;xz?mc(a,E):eey)for(x=a.Ra;0<=x;x--)for(E=Eu(a),z=M0(a),b=z+1;zz?mc(a,E):eex)for(b.reset();b.next();)E=b.value,E.column+a.nodeMinColumnSpace(E,!1)>=y&&(E.component=a.le);for(a.le++,b.reset();b.next();)y=b.value,y.component===-1&&(xy(a,y,a.le,-1,!0,!0),a.le++);var z;for(y=[],z=0;zx)for(ee=a.Ra;0x)for(b.reset();b.next();)x=b.value,E[x.component]&&(x.column+=1)}function $x(a){for(var y=ti(),x=a.fl.length,b=0;b<=x;b++)y[b]=[];for(b=a.network.vertexes.iterator;b.next();){var E=b.value;y[x-E.layer][E.index]=E}x=new Ln,qx(y,x);var z=null,ee=null,re=null,oe=null,le=(a.ve&1)!==0,ue=(a.ve&2)!==0,fe=(a.ve&4)!==0,xe=(a.ve&8)!==0;for(le&&(a.verticalAlignment(y,x,!0),z=k0(a,y,!0,!1)),y.reverse(),fe&&(a.verticalAlignment(y,x,!1),re=k0(a,y,!1,!1)),b=ki(y),E=b.next();!E.done;E=b.next())E.value.reverse();xe&&(a.verticalAlignment(y,x,!1),oe=k0(a,y,!1,!0)),y.reverse(),ue&&(a.verticalAlignment(y,x,!0),ee=k0(a,y,!0,!0)),xi(y),a.u(z,ee,re,oe),a.network.vertexes.each(function(Ee){var Ae=ti();le&&Ae.push(z.get(Ee)),ue&&Ae.push(ee.get(Ee)),fe&&Ae.push(re.get(Ee)),xe&&Ae.push(oe.get(Ee)),Ae.sort(function(ot,Ue){return ot-Ue});var Te=Ae.length;Te=(Ae[Math.floor((Te-1)/2)]+Ae[Math.ceil((Te-1)/2)])/2,xi(Ae),Ee.zc=Te})}function qx(a,y){for(var x=a.length,b=1;bue)&&y.add(fe);z++}E=ue}}}oa.prototype.verticalAlignment=function(a,y,x){ew(a),a=ki(a);for(var b=a.next();!b.done;b=a.next()){var E=-1;b=ki(b.value);for(var z=b.next();!z.done;z=b.next()){z=z.value;var ee=x?ky(z):iw(z),re=ee.length;if(0=y[x].length)&&(ee=y[x][0],ee.sd===ee)){ee.sd.shift===1/0&&(ee.sd.shift=0),ee=x,re=0;do{for(z=y[ee][re];z.align!==z.root;)z=z.align,ee++,0a&&Et("Could not determine previous vertex in layer"),y[x][a-1]}oa.prototype.u=function(a){for(var y=[],x=0;xee;ee++)if(y[ee]){var re=tw(this,y[ee],b,E,ee);reee;z={delta:z.delta},ee++)y[ee]&&(z.delta=ee===0||ee===2?b[x]-b[ee]:E[x]-E[ee],z.delta!==0&&y[ee].each(function(oe){return function(le){le.value+=oe.delta}}(z)));xi(b),xi(E)};function tw(a,y,x,b,E){if(!y||y.count===0)return x[E]=0,b[E]=0,1/0;var z=1/0,ee=-1/0;return y.each(function(re){var oe=re.key;re=re.value,oe=a.K===90||a.K===270?oe.width:oe.height,reee&&(ee=re+oe)}),x[E]=z,b[E]=ee,ee-z}oa.prototype.commitLayout=function(){if(this.setsPortSpots)for(var a=N0(this,!0),y=N0(this,!1),x=this.network.edges.iterator;x.next();){var b=x.value.link;b!==null&&(b.fromSpot=a,b.toSpot=y)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function N0(a,y){return a.K===270?y?os:xs:a.K===90?y?xs:os:a.K===180?y?hs:Ls:y?Ls:hs}oa.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var a=0;a<=this.Ia;a++)this.he[a]=0,this.Ld[a]=0,this.Kd[a]=0,this.Ta[a]=0;for(a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;this.he[x]=Math.max(this.he[x],this.nodeMinLayerSpace(y,!0)),this.Ld[x]=Math.max(this.Ld[x],this.nodeMinLayerSpace(y,!1))}y=0,x=this.ie;for(var b=0;b<=this.Ia;b++){var E=x;0>=this.he[b]+this.Ld[b]&&(E=0),0=fe.bounds.bottom?(fe=fe.bounds.y+fe.bounds.height,y.m(Te++,Ft,fe+yn),y.m(Te++,Ft,fe),y.m(Te++,Ft,fe-Ct)):(y.m(Te++,Ft,jt+yn),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt-Ct)):this.K===270?jt<=fe.bounds.y?(fe=fe.bounds.y,y.m(Te++,Ft,fe-Ct),y.m(Te++,Ft,fe),y.m(Te++,Ft,fe+yn)):(y.m(Te++,Ft,jt-Ct),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt+yn)):this.K===0&&(Ft>=fe.bounds.right?(fe=fe.bounds.x+fe.bounds.width,y.m(Te++,fe+yn,jt),y.m(Te++,fe,jt),y.m(Te++,fe-Ct,jt)):(y.m(Te++,Ft+yn,jt),y.m(Te++,Ft,jt),y.m(Te++,Ft-Ct,jt)));else{y.m(Te++,Ue,St);var Fi=0;this.K===180||this.K===0?((this.K===180?Ft>=fe.bounds.right:Ft<=fe.bounds.x)&&(Fi=(this.K===0?-Ct:yn)/2),y.m(Te++,Ue+Fi,jt)):((this.K===270?jt>=fe.bounds.bottom:jt<=fe.bounds.y)&&(Fi=(this.K===90?-Ct:yn)/2),y.m(Te++,Ft,St+Fi)),y.m(Te++,Ft,jt)}}else Ct=Math.max(10,this.he[ot.layer]),yn=Math.max(10,this.Ld[ot.layer]),xe?this.K===180?(y.m(Te++,Ft-Ct-Ae,jt),y.m(Te++,Math.min(Ft-Ct+Ae/2,Ft),jt),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt),y.m(Te++,Math.max(Ft+yn-Ae/2,Ft),jt),y.m(Te++,Ft+yn+Ae,jt)):this.K===90?(y.m(Te++,Ft,jt+yn+Ae),y.m(Te++,Ft,Math.max(jt+yn-Ae/2,jt)),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt),y.m(Te++,Ft,Math.min(jt-Ct+Ae/2,jt)),y.m(Te++,Ft,jt-Ct-Ae)):this.K===270?(y.m(Te++,Ft,jt-Ct-Ae),y.m(Te++,Ft,Math.min(jt-Ct+Ae/2,jt)),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt),y.m(Te++,Ft,Math.max(jt+yn-Ae/2,jt)),y.m(Te++,Ft,jt+yn+Ae)):(y.m(Te++,Ft+yn+Ae,jt),y.m(Te++,Math.max(Ft+yn-Ae/2,Ft),jt),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt),y.m(Te++,Math.min(Ft-Ct+Ae/2,Ft),jt),y.m(Te++,Ft-Ct-Ae,jt)):y.m(Te++,Ft,jt)}fe=ot}(re===null||le!==Da||Ee)&&(Ue=y.i(Te-1).x,St=y.i(Te-1).y,Ft=y.i(Te).x,jt=y.i(Te).y,Ee?(Ae=this.Ld[ue.layer],this.K===180||this.K===0?(Ee=St,Ee>=ue.bounds.y&&Ee<=ue.bounds.bottom&&(this.K===180?Ft>=ue.bounds.x:Ft<=ue.bounds.right)&&(fe=ue.centerX+(this.K===180?-Ae:Ae),Ee=ue.bounds.x&&Ee<=ue.bounds.right&&(this.K===270?jt>=ue.bounds.y:jt<=ue.bounds.bottom)&&(fe=ue.centerY+(this.K===270?-Ae:Ae),Ee=ue.bounds.x?(fe=ue.bounds.x+ue.bounds.width,y.L(Te-2,fe,St),y.L(Te-1,fe+yn,St)):this.K===90&&jt<=ue.bounds.bottom?(fe=ue.bounds.y,y.L(Te-2,Ue,fe),y.L(Te-1,Ue,fe-Ct)):this.K===270&&jt>=ue.bounds.y?(fe=ue.bounds.y+ue.bounds.height,y.L(Te-2,Ue,fe),y.L(Te-1,Ue,fe+yn)):this.K===0&&Ft<=ue.bounds.right&&(fe=ue.bounds.x,y.L(Te-2,fe,St),y.L(Te-1,fe-Ct,St))):(Ct=Math.max(10,this.he[ue.layer]),yn=Math.max(10,this.Ld[ue.layer]),Ee=0,this.K===180||this.K===0?((this.K===180?Ft<=ue.bounds.x:Ft>=ue.bounds.right)&&(Ee=(this.K===0?yn:-Ct)/2),y.m(Te++,Ft+Ee,St)):((this.K===270?jt<=ue.bounds.y:jt>=ue.bounds.bottom)&&(Ee=(this.K===90?yn:-Ct)/2),y.m(Te++,Ue,jt+Ee)),y.m(Te++,Ft,jt)))}else{for(;ue!==null&&ue!==fe;){for(Ct=ot=null,ue=ue.destinationEdges.iterator;ue.next()&&(Ue=ue.value,Ue.link!==x.link||(ot=Ue.toVertex,Ct=Ue.fromVertex,Ct.node!==null&&(Ct=null),ot.node!==null)););if(ot===null)break;ot!==fe&&(Ue=y.i(Te-1).x,St=y.i(Te-1).y,Ft=ot.centerX,jt=ot.centerY,Ee?this.K===180||this.K===0?(Ct!==null?Ct.centerY:St)!==jt&&(Ct=this.Ta[ot.layer]+this.Rf.x,Te===y.firstPickIndex+1&&(Ct=this.K===0?Math.max(Ct,Ue):Math.min(Ct,Ue)),y.m(Te++,Ct,St),y.m(Te++,Ct,jt)):(Ct!==null?Ct.centerX:Ue)!==Ft&&(Ct=this.Ta[ot.layer]+this.Rf.y,Te===y.firstPickIndex+1&&(Ct=this.K===90?Math.max(Ct,St):Math.min(Ct,St)),y.m(Te++,Ue,Ct),y.m(Te++,Ft,Ct)):(Ct=Math.max(10,this.he[ot.layer]),yn=Math.max(10,this.Ld[ot.layer]),xe?this.K===180?(y.m(Te++,Ft+yn+Ae,jt),y.m(Te++,Math.max(Ft+yn-Ae/2,Ft),jt),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt),y.m(Te++,Math.min(Ft-Ct+Ae/2,Ft),jt),y.m(Te++,Ft-Ct-Ae,jt)):this.K===90?(y.m(Te++,Ft,jt-Ct-Ae),y.m(Te++,Ft,Math.min(jt-Ct+Ae/2,jt)),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt),y.m(Te++,Ft,Math.max(jt+yn-Ae/2,jt)),y.m(Te++,Ft,jt+yn+Ae)):this.K===270?(y.m(Te++,Ft,jt+yn+Ae),y.m(Te++,Ft,Math.max(jt+yn-Ae/2,jt)),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt),y.m(Te++,Ft,Math.min(jt-Ct+Ae/2,jt)),y.m(Te++,Ft,jt-Ct-Ae)):(y.m(Te++,Ft-Ct-Ae,jt),y.m(Te++,Math.min(Ft-Ct+Ae/2,Ft),jt),y.m(Te++,Ft,jt),y.m(Te++,Ft,jt),y.m(Te++,Math.max(Ft+yn-Ae/2,Ft),jt),y.m(Te++,Ft+yn+Ae,jt)):this.K===180?(y.m(Te++,Ft+yn,jt),y.m(Te++,Ft-Ct,jt)):this.K===90?(y.m(Te++,Ft,jt-Ct),y.m(Te++,Ft,jt+yn)):this.K===270?(y.m(Te++,Ft,jt+yn),y.m(Te++,Ft,jt-Ct)):(y.m(Te++,Ft-Ct,jt),y.m(Te++,Ft+yn,jt)))),ue=ot}Ee&&(Ue=y.i(Te-1).x,St=y.i(Te-1).y,Ft=y.i(Te).x,jt=y.i(Te).y,this.K===180||this.K===0?St!==jt&&(Ct=this.K===0?Math.min(Math.max((Ft+Ue)/2,this.Ta[fe.layer]+this.Rf.x),Ft):Math.max(Math.min((Ft+Ue)/2,this.Ta[fe.layer]+this.Rf.x),Ft),y.m(Te++,Ct,St),y.m(Te++,Ct,jt)):Ue!==Ft&&(Ct=this.K===90?Math.min(Math.max((jt+St)/2,this.Ta[fe.layer]+this.Rf.y),jt):Math.max(Math.min((jt+St)/2,this.Ta[fe.layer]+this.Rf.y),jt),y.m(Te++,Ue,Ct),y.m(Te++,Ft,Ct)))}b!==null&&xe&&4<=y.pointsCount&&(ee!==null&&(ee=le===Da?y.getLinkPointFromPoint(E,ee,ee.ga(So),y.i(3),!0):y.i(0),le===Da&&(le=y.i(2),b=y.i(3),this.direction===90||this.direction===270?(y.L(1,(ee.x+le.x)/2,le.y),y.L(2,b.x,(le.y+b.y)/2)):(y.L(1,le.x,(ee.y+le.y)/2),y.L(2,(le.x+b.x)/2,b.y))),ee.w()||ee.set(E.actualBounds.center),y.L(0,ee.x,ee.y)),re!==null&&(E=oe===Da?y.getLinkPointFromPoint(z,re,re.ga(So),y.i(y.pointsCount-4),!1):y.i(y.pointsCount-1),oe===Da&&(re=y.i(y.pointsCount-3),oe=y.i(y.pointsCount-4),this.direction===90||this.direction===270?(y.L(y.pointsCount-2,(E.x+re.x)/2,re.y),y.L(y.pointsCount-2,oe.x,(re.y+oe.y)/2)):(y.L(y.pointsCount-2,re.x,(E.y+re.y)/2),y.L(y.pointsCount-3,(re.x+oe.x)/2,oe.y))),E.w()||E.set(z.actualBounds.center),y.L(y.pointsCount-1,E.x,E.y))),y.zf(),x.commit()}}}this.avoidOrthogonalOverlaps()},oa.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var a=new kn,y=this.network.edges.iterator;y.next();){var x=y.value.link;x!==null&&x.isOrthogonal&&!a.contains(x)&&a.add(x)}if(0z.y&&(ue=le.y>z.y?0:ee.xz.x&&(ue=le.x>z.x?0:ee.yy.layer?1:a.rdy.rd?1:a.Icy.Ic?1:0:0},Ce.Ux=function(a,y){return a instanceof rf&&y instanceof rf&&a!==y?a.firsty.first||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ce.Js=function(a,y){return a instanceof rf&&y instanceof rf&&a!==y?a.jcy.jc||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ce.B=function(a,y){return a-=y,-1a},Ce.zi=function(a,y,x,b){var E=a.length,z=b-x;if(!(1>=z))if((0>x||x>=E-1)&&Et("not in range 0 <= from < length: "+x),z===2)b=a[x],E=a[x+1],0=E)a.sort(y);else for(x=a.slice(0,b),x.sort(y),y=0;y=E)for(b=a.slice(x),b.sort(y),y=x;y=a.He.length){for(var b=[],E=0;Ea&&(this.bg=a,this.C())}},alignOption:{get:function(){return this.ve},set:function(a){this.ve!==a&&0<=a&&16>a&&(this.ve=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(a){this.Cn!==a&&0<=a&&(this.Cn=a,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var D0=new Xt(oa,"CycleDepthFirst",0),Cy=new Xt(oa,"CycleGreedy",1),$p=new Xt(oa,"CycleFromLayers",2),B0=new Xt(oa,"LayerOptimalLinkLength",0),by=new Xt(oa,"LayerLongestPathSink",1),Ey=new Xt(oa,"LayerLongestPathSource",2),T0=new Xt(oa,"InitDepthFirstOut",0),Ay=new Xt(oa,"InitDepthFirstIn",1),Ly=new Xt(oa,"InitNaive",2),My=new Xt(oa,"AggressiveNone",0),O0=new Xt(oa,"AggressiveLess",1),Fy=new Xt(oa,"AggressiveMore",2),nw=8;oa.className="LayeredDigraphLayout",oa.CycleDepthFirst=D0,oa.CycleGreedy=Cy,oa.CycleFromLayers=$p,oa.LayerOptimalLinkLength=B0,oa.LayerLongestPathSink=by,oa.LayerLongestPathSource=Ey,oa.InitDepthFirstOut=T0,oa.InitDepthFirstIn=Ay,oa.InitNaive=Ly,oa.AggressiveNone=My,oa.AggressiveLess=O0,oa.AggressiveMore=Fy,oa.PackNone=0,oa.PackExpand=1,oa.PackStraighten=2,oa.PackMedian=4,oa.PackAll=15,oa.AlignNone=0,oa.AlignUpperLeft=1,oa.AlignUpperRight=2,oa.AlignLowerLeft=4,oa.AlignLowerRight=8,oa.AlignAll=15;function rf(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}rf.className="SegInfo";function Jg(a){Ea.call(this,a)}bt(Jg,Ea),Jg.prototype.createVertex=function(){return new vc(this)},Jg.prototype.createEdge=function(){return new qp(this)},Jg.className="LayeredDigraphNetwork";function vc(a){Xs.call(this,a),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}bt(vc,Xs);function lx(a,y){return a.index-y.index}function I0(a,y){if(!a.$n){for(var x=[],b=ki(a.destinationEdgesArrayAccess),E=b.next();!E.done;E=b.next())E=E.value,E.valid&&x.push(E);a.$n=x}for(a=ki(a.$n),x=a.next();!x.done;x=a.next())if(x=x.value,x.toVertex===y)return x;Et("Unable to find destination edge to given vertex")}function ky(a){if(!a.co){for(var y=[],x=ki(a.sourceEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.fromVertex);y.sort(lx),a.co=y}return a.co}function iw(a){if(!a.ao){for(var y=[],x=ki(a.destinationEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.toVertex);y.sort(lx),a.ao=y}return a.ao}vc.prototype.Cl=function(a){Xs.prototype.Cl.call(this,a),this.bo=this.co=null},vc.prototype.Kl=function(a){Xs.prototype.Kl.call(this,a),this.bo=this.co=null},vc.prototype.zl=function(a){Xs.prototype.zl.call(this,a),this.$n=this.ao=null},vc.prototype.Jl=function(a){Xs.prototype.Jl.call(this,a),this.$n=this.ao=null},tt.Object.defineProperties(vc.prototype,{layer:{get:function(){return this.Ig},set:function(a){this.Ig!==a&&(this.Ig=a)}},column:{get:function(){return this.Ag},set:function(a){this.Ag!==a&&(this.Ag=a)}},index:{get:function(){return this.Za},set:function(a){this.Za!==a&&(this.Za=a)}},component:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},near:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),vc.prototype.deleteDestinationEdge=vc.prototype.Jl,vc.prototype.addDestinationEdge=vc.prototype.zl,vc.prototype.deleteSourceEdge=vc.prototype.Kl,vc.prototype.addSourceEdge=vc.prototype.Cl,vc.className="LayeredDigraphVertex";function qp(a){Gu.call(this,a),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}bt(qp,Gu),tt.Object.defineProperties(qp.prototype,{fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}},valid:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},rev:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},forest:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},portFromPos:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},portToPos:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},portFromColOffset:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},portToColOffset:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),qp.className="LayeredDigraphEdge";function Po(a){Za.call(this),this.Ub=new Ln,this.Wn=H0,this.ud=Td,this.vo=Z0,this.Bq=Wy,this.$v=[],this.td=!0,this.Rb=K0,this.$d=new zn(10,10).freeze();var y=new hg(this);this.W=new Dc(y),this.Y=new Dc(y),this.ru=[],a&&Object.assign(this,a)}bt(Po,Za),Po.prototype.cloneProtected=function(a){Za.prototype.cloneProtected.call(this,a),a.Wn=this.Wn,a.vo=this.vo,a.Bq=this.Bq,a.td=this.td,a.Rb=this.Rb,a.$d.assign(this.$d),a.W.copyInheritedPropertiesFrom(this.W),a.Y.copyInheritedPropertiesFrom(this.Y)},Po.prototype.qb=function(a){a.classType===Po?a.name.indexOf("Alignment")===0?this.alignment=a:a.name.indexOf("Arrangement")===0?this.arrangement=a:a.name.indexOf("Compaction")===0?this.compaction=a:a.name.indexOf("Path")===0?this.path=a:a.name.indexOf("Sorting")===0?this.sorting=a:a.name.indexOf("Style")===0?this.treeStyle=a:Et("Unknown enum value: "+a):Za.prototype.qb.call(this,a)},Po.prototype.createNetwork=function(){return new hg(this)},Po.prototype.makeNetwork=function(a){function y(b){if(b instanceof Di)return!b.isLinkLabel&&b.category!=="Comment";if(b instanceof gi){var E=b.fromNode;return E===null||E.isLinkLabel||E.category==="Comment"?!1:(b=b.toNode,!(b===null||b.isLinkLabel||b.category==="Comment"))}return!1}var x=this.createNetwork();return a instanceof pn?(x.lg(a.nodes,!0,y),x.lg(a.links,!0,y)):a instanceof Xr?x.lg(a.memberParts,!1,y):x.lg(a.iterator,!1,y),x},Po.prototype.doLayout=function(a){this.network===null&&(this.network=this.makeNetwork(a)),this.arrangement!==V0&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var y=this.diagram;if(y===null&&a instanceof pn&&(y=a),this.path===H0&&y!==null?this.ud=y.isTreePathToChildren?Td:cg:this.ud=this.path===H0?Td:this.path,0y.level)return!1;a.removeChild(x.parent,x)}return!0}Po.prototype.removeChild=function(a,y){if(a!==null&&y!==null){for(var x=a.children,b=0,E=0;EE?px(this,a,ee,Ir,Ue,St):mx(this,a,ee,Ir,Ue,St),Ir=St.x,Ue=St.width,St=St.height;break;case Fh:for(Ft=0;Ftfe&&(Xicl&&(ug(a,-cl,0,Ur,Jo-1),j0(Ft,-cl,0),j0(jt,-cl,0),cl=0)}wa.S.h(cl,ji),Ue=Math.max(Ue,yn),St=Math.max(St,Ct+(fi===0?0:Ae)+qs.height),Xi=yn}else 0fe&&(jicl&&(ug(a,0,-cl,Ur,Jo-1),j0(Ft,0,-cl),j0(jt,0,-cl),cl=0)),wa.S.h(Xi,cl),St=Math.max(St,Fi),Ue=Math.max(Ue,Ct+(fi===0?0:Ae)+qs.width),ji=Fi;_n++}switch(0le&&(le=0),135Te&&(Te=0),oe===nh&&(re+=xe/2+a.focus.y),ee+=b+x):y?(a.comments===null?b>Ue&&(Ue=Oy(oe,b-Ue,0),ee=Ue.x,re=Ue.y,Ue=b,le=0):Ue=By(a,Ue,le),0>le&&(ee-=le,le=0),135St&&(St=Oy(oe,0,ot-St),ee=St.x,re=St.y,St=ot,Te=0):St=Ty(a,St,Te),0>Te&&(re-=Te,Te=0),ee+=b+x),0E[0].x?E[2].assign(E[1]):E[1].assign(E[2])),E[3].yE[0].x?E[3].assign(E[2]):E[2].assign(E[3])),fi[0].h(le+b,0),fi[1].h(fi[0].x,ot),fi[2].yE[0].y?E[2].assign(E[1]):E[1].assign(E[2])),E[3].xE[0].y?E[3].assign(E[2]):E[2].assign(E[3])),fi[0].h(0,Te+ot),fi[1].h(b,fi[0].y),fi[2].xb?px(a,y,E,_n,Ct,Ft):mx(a,y,E,_n,Ct,Ft),_n=Ft.x,Ct=Ft.width,Ft=Ft.height;break;case Fh:for(xe=0;xexe&&(ynxe&&(Fife&&(fe=0),135Ue&&(Ue=0)),y.la.h(fe,Ue),y.Da.h(Ct,Ft)}}Po.prototype.customAlignment=function(a,y,x,b,E){return[y,x,b,E]};function px(a,y,x,b,E,z){var ee=x.length;if(ee===0)return new Cn(b,0,E,z);if(ee===1)return y=x[0],E=y.Da.width,z=y.Da.height,new Cn(b,0,E,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,le=Uc(y)===90,ue=0,fe=0,xe=0,Ee=0;Eele&&(E-=le),z=Math.max(z,Math.max(Ee,xe)+a+ee.height),0>x.S.x&&(b=R0(y,x.S.x,!1,b,re))):(x.S.h(E+a,b+re/2-x.focus.y-x.la.y),E=Math.max(E,Math.max(Ae,fe)+a+ee.width),xe=b+re/2-x.focus.y-x.la.y,z=Math.max(z,xe+ee.height),0>xe&&(z-=xe),0>x.S.y&&(b=R0(y,x.S.y,!0,b,re)))),new Cn(b,0,E,z)}function mx(a,y,x,b,E,z){var ee=x.length;if(ee===0)return new Cn(b,0,E,z);if(ee===1)return x=x[0],E=x.Da.width,z=x.Da.height,new Cn(b,0,E,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,le=Uc(y)===270,ue=0,fe=0,xe=0,Ee=0;Eefe&&(E-=fe),z=Math.max(z,Math.abs(Math.min(Ee,xe))+a+ue.height),0>oe.S.x&&(b=R0(y,oe.S.x,!1,b,re))):(oe.S.h(-E-ue.width-a,b+re/2-oe.focus.y-oe.la.y),E=Math.max(E,Math.abs(Math.min(Ae,fe))+a+ue.width),xe=b+re/2-oe.focus.y-oe.la.y,z=Math.max(z,xe+ue.height),0>xe&&(z-=xe),0>oe.S.y&&(b=R0(y,oe.S.y,!0,b,re)))),y=0;yy&&(y=x+a.width),0>x&&(y-=x),y;case Od:return a.width>y?a.width:y;case Id:return 2*a.focus.x>y?a.width:y+a.width-2*a.focus.x;case Mh:case Rd:return Math.max(a.width,Math.max(y,x+a.width)-Math.min(0,x));case Fh:return a.width-a.focus.x+a.nodeSpacing/2+y;case nh:return Math.max(a.width,a.focus.x+a.nodeSpacing/2+y);default:return y}}function Ty(a,y,x){switch(a.alignment){case dg:case _g:return x+a.height>y&&(y=x+a.height),0>x&&(y-=x),y;case Od:return a.height>y?a.height:y;case Id:return 2*a.focus.y>y?a.height:y+a.height-2*a.focus.y;case Mh:case Rd:return Math.max(a.height,Math.max(y,x+a.height)-Math.min(0,x));case Fh:return a.height-a.focus.y+a.nodeSpacing/2+y;case nh:return Math.max(a.height,a.focus.y+a.nodeSpacing/2+y);default:return y}}function Oy(a,y,x){switch(a){case _g:y/=2,x/=2;break;case dg:y/=2,x/=2;break;case Od:x=y=0;break;case Id:break;default:Et("Unhandled alignment value "+a.toString())}return new Qe(y,x)}function Of(a,y,x,b,E,z){y=Oy(y,x,b),ug(a,y.x,y.y,E,z)}function ug(a,y,x,b,E){if(y!==0||x!==0)for(a=a.children;b<=E;b++){var z=a[b].S;z.x+=y,z.y+=x}}function z0(a,y,x,b){var E=y.parent;switch(a.ud){case Td:for(a=y.sourceEdges;a.next();)y=a.value,y.fromVertex===E&&y.relativePoint.h(x,b);break;case cg:for(a=y.destinationEdges;a.next();)y=a.value,y.toVertex===E&&y.relativePoint.h(x,b);break;default:Et("Unhandled path value "+a.ud.toString())}}function j0(a,y,x){for(var b=0;bfe.length||Ee===null||2>Ee.length))for(E=x=0;xle&&z.yz.y&&ley.length||x===null||2>x.length)b=null;else{for(ue=Ou(a,y.length+x.length),b=z=oe=0;zoe;)le=x[z++],ue[b++].h(le.x+E,le.y);for(x=Ou(a,b),oe=0;oefe.length||z===null||2>z.length)E=null;else{for(ue=Ou(a,fe.length+z.length),E=le=x=0;xz;)oe=fe[x++],ue[E++].h(oe.x,oe.y);for(z=Ou(a,E),x=0;xfe.length||Ee===null||2>Ee.length))for(E=x=0;xoe&&z.xz.x&&oey.length||x===null||2>x.length)b=null;else{for(ue=Ou(a,y.length+x.length),b=z=oe=0;zoe;)le=x[z++],ue[b++].h(le.x,le.y+E);for(x=Ou(a,b),oe=0;oefe.length||z===null||2>z.length)E=null;else{for(ue=Ou(a,fe.length+z.length),E=le=x=0;xz;)oe=fe[x++],ue[E++].h(oe.x,oe.y);for(z=Ou(a,E),x=0;x=a?0:135>=a?90:225>=a?180:315>=a?270:0}Po.prototype.computeLayerSpacing=function(a){var y=Uc(a);y=y===90||y===270;var x=a.layerSpacing;if(0=a&&(this.W.nodeIndentPastParent=a,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(a){this.W.nodeSpacing!==a&&(this.W.nodeSpacing=a,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(a){this.W.layerSpacing!==a&&(this.W.layerSpacing=a,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(a){this.W.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.W.layerSpacingParentOverlap=a,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(a){this.W.compaction===a||a!==W0&&a!==rm||(this.W.compaction=a,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(a){this.W.breadthLimit!==a&&0<=a&&(this.W.breadthLimit=a,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(a){this.W.rowSpacing!==a&&(this.W.rowSpacing=a,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(a){this.W.rowIndent!==a&&0<=a&&(this.W.rowIndent=a,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(a){this.W.commentSpacing!==a&&(this.W.commentSpacing=a,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(a){this.W.commentMargin!==a&&(this.W.commentMargin=a,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(a){this.W.setsPortSpot!==a&&(this.W.setsPortSpot=a,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(a){this.W.portSpot.D(a)||(this.W.portSpot=a,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(a){this.W.setsChildPortSpot!==a&&(this.W.setsChildPortSpot=a,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(a){this.W.childPortSpot.D(a)||(this.W.childPortSpot=a,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(a){this.Y.sorting===a||a!==Qg&&a!==tm&&a!==nm&&!im||(this.Y.sorting=a,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(a){this.Y.comparer!==a&&(this.Y.comparer=a,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(a){this.Y.angle===a||a!==0&&a!==90&&a!==180&&a!==270||(this.Y.angle=a,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(a){this.Y.alignment!==a&&(this.Y.alignment=a,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(a){this.Y.nodeIndent!==a&&0<=a&&(this.Y.nodeIndent=a,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(a){this.Y.nodeIndentPastParent!==a&&0<=a&&1>=a&&(this.Y.nodeIndentPastParent=a,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(a){this.Y.nodeSpacing!==a&&(this.Y.nodeSpacing=a,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(a){this.Y.layerSpacing!==a&&(this.Y.layerSpacing=a,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(a){this.Y.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.Y.layerSpacingParentOverlap=a,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(a){this.Y.compaction===a||a!==W0&&a!==rm||(this.Y.compaction=a,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(a){this.Y.breadthLimit!==a&&0<=a&&(this.Y.breadthLimit=a,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(a){this.Y.rowSpacing!==a&&(this.Y.rowSpacing=a,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(a){this.Y.rowIndent!==a&&0<=a&&(this.Y.rowIndent=a,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(a){this.Y.commentSpacing!==a&&(this.Y.commentSpacing=a,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(a){this.Y.commentMargin!==a&&(this.Y.commentMargin=a,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(a){this.Y.setsPortSpot!==a&&(this.Y.setsPortSpot=a,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(a){this.Y.portSpot.D(a)||(this.Y.portSpot=a,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(a){this.Y.setsChildPortSpot!==a&&(this.Y.setsChildPortSpot=a,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(a){this.Y.childPortSpot.D(a)||(this.Y.childPortSpot=a,this.C())}}});var H0=new Xt(Po,"PathDefault",-1),Td=new Xt(Po,"PathDestination",0),cg=new Xt(Po,"PathSource",1),Qg=new Xt(Po,"SortingForwards",10),tm=new Xt(Po,"SortingReverse",11),nm=new Xt(Po,"SortingAscending",12),im=new Xt(Po,"SortingDescending",13),_g=new Xt(Po,"AlignmentCenterSubtrees",20),dg=new Xt(Po,"AlignmentCenterChildren",21),Od=new Xt(Po,"AlignmentStart",22),Id=new Xt(Po,"AlignmentEnd",23),Mh=new Xt(Po,"AlignmentBus",24),Rd=new Xt(Po,"AlignmentBusBranching",25),Fh=new Xt(Po,"AlignmentTopLeftBus",26),nh=new Xt(Po,"AlignmentBottomRightBus",27),W0=new Xt(Po,"CompactionNone",30),rm=new Xt(Po,"CompactionBlock",31),Z0=new Xt(Po,"StyleLayered",40),Ry=new Xt(Po,"StyleLastParents",41),zy=new Xt(Po,"StyleAlternating",42),jy=new Xt(Po,"StyleRootOnly",43),K0=new Xt(Po,"ArrangementVertical",50),Hy=new Xt(Po,"ArrangementHorizontal",51),V0=new Xt(Po,"ArrangementFixedRoots",52),Wy=new Xt(Po,"LayerIndividual",60),Zy=new Xt(Po,"LayerSiblings",61),G0=new Xt(Po,"LayerUniform",62);Po.className="TreeLayout",Po.PathDefault=H0,Po.PathDestination=Td,Po.PathSource=cg,Po.SortingForwards=Qg,Po.SortingReverse=tm,Po.SortingAscending=nm,Po.SortingDescending=im,Po.AlignmentCenterSubtrees=_g,Po.AlignmentCenterChildren=dg,Po.AlignmentStart=Od,Po.AlignmentEnd=Id,Po.AlignmentBus=Mh,Po.AlignmentBusBranching=Rd,Po.AlignmentTopLeftBus=Fh,Po.AlignmentBottomRightBus=nh,Po.CompactionNone=W0,Po.CompactionBlock=rm,Po.StyleLayered=Z0,Po.StyleLastParents=Ry,Po.StyleAlternating=zy,Po.StyleRootOnly=jy,Po.ArrangementVertical=K0,Po.ArrangementHorizontal=Hy,Po.ArrangementFixedRoots=V0,Po.LayerIndividual=Wy,Po.LayerSiblings=Zy,Po.LayerUniform=G0;function hg(a){Ea.call(this,a)}bt(hg,Ea),hg.prototype.createVertex=function(){return new Dc(this)},hg.prototype.createEdge=function(){return new $g(this)},hg.className="TreeNetwork";function Dc(a){Xs.call(this,a),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new Qe(0,0),this.Da=new zn(0,0),this.la=new Qe(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=Qg,this.hd=ly,this.Kb=0,this.Jb=dg,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=rm,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=Xo,this.wr=!0,this.Dp=Xo}bt(Dc,Xs),Dc.prototype.copyInheritedPropertiesFrom=function(a){a!==null&&(this.nd=a.sorting,this.hd=a.comparer,this.Kb=a.angle,this.Jb=a.alignment,this.Uq=a.nodeIndent,this.Vq=a.nodeIndentPastParent,this.Wq=a.nodeSpacing,this.ie=a.layerSpacing,this.Aq=a.layerSpacingParentOverlap,this.Hp=a.compaction,this.Ap=a.breadthLimit,this.nr=a.rowSpacing,this.mr=a.rowIndent,this.Gp=a.commentSpacing,this.Fp=a.commentMargin,this.xr=a.setsPortSpot,this.dr=a.portSpot,this.wr=a.setsChildPortSpot,this.Dp=a.childPortSpot)},tt.Object.defineProperties(Dc.prototype,{initialized:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},parent:{get:function(){return this.hb},set:function(a){this.hb!==a&&(this.hb=a)}},children:{get:function(){return this.u},set:function(a){if(this.u!==a){if(a!==null)for(var y=a.length,x=0;xEe.y+x.rowIndent&&(z=Math.min(z,Math.max(fe.y,z-y.computeNodeIndent(x))))):x.alignment===Od?(z=b.top+E.y,E.y===0&&fe.yEe.x+x.rowIndent&&(z=Math.min(z,Math.max(fe.x,z-y.computeNodeIndent(x))))):x.alignment===Od?(z=b.left+E.x,E.x===0&&fe.xEe.y+x.rowIndent&&(z=Math.min(z,Math.max(fe.y,z-y.computeNodeIndent(x))))):x.alignment===Od?(z=b.top+E.y,E.y===0&&fe.yEe.x+x.rowIndent&&(z=Math.min(z,Math.max(fe.x,z-y.computeNodeIndent(x))))):x.alignment===Od?(z=b.left+E.x,E.x===0&&fe.x>>6)+Tt(128|Ht&63):Tt(224|Ht>>>12&15)+Tt(128|Ht>>>6&63)+Tt(128|Ht&63)}else{var Ht=65536+(qe.charCodeAt(0)-55296)*1024+(qe.charCodeAt(1)-56320);return Tt(240|Ht>>>18&7)+Tt(128|Ht>>>12&63)+Tt(128|Ht>>>6&63)+Tt(128|Ht&63)}},et=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,gt=function(qe){return qe.replace(et,Lt)},ct=function(qe){var Ht=[0,2,1][qe.length%3],Zt=qe.charCodeAt(0)<<16|(qe.length>1?qe.charCodeAt(1):0)<<8|(qe.length>2?qe.charCodeAt(2):0),Yt=[vt.charAt(Zt>>>18),vt.charAt(Zt>>>12&63),Ht>=2?"=":vt.charAt(Zt>>>6&63),Ht>=1?"=":vt.charAt(Zt&63)];return Yt.join("")},wt=He.btoa&&typeof He.btoa=="function"?function(qe){return He.btoa(qe)}:function(qe){if(qe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return qe.replace(/[\s\S]{1,3}/g,ct)},Me=function(qe){return wt(gt(String(qe)))},te=function(qe){return qe.replace(/[+\/]/g,function(Ht){return Ht=="+"?"-":"_"}).replace(/=/g,"")},ne=function(qe,Ht){return Ht?te(Me(qe)):Me(qe)},ce=function(qe){return ne(qe,!0)},se;He.Uint8Array&&(se=function(qe,Ht){for(var Zt="",Yt=0,Ot=qe.length;Yt>>18)+vt.charAt(Mt>>>12&63)+(typeof dt!="undefined"?vt.charAt(Mt>>>6&63):"=")+(typeof Re!="undefined"?vt.charAt(Mt&63):"=")}return Ht?te(Zt):Zt});var ge=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(qe){switch(qe.length){case 4:var Ht=(7&qe.charCodeAt(0))<<18|(63&qe.charCodeAt(1))<<12|(63&qe.charCodeAt(2))<<6|63&qe.charCodeAt(3),Zt=Ht-65536;return Tt((Zt>>>10)+55296)+Tt((Zt&1023)+56320);case 3:return Tt((15&qe.charCodeAt(0))<<12|(63&qe.charCodeAt(1))<<6|63&qe.charCodeAt(2));default:return Tt((31&qe.charCodeAt(0))<<6|63&qe.charCodeAt(1))}},be=function(qe){return qe.replace(ge,ve)},Fe=function(qe){var Ht=qe.length,Zt=Ht%4,Yt=(Ht>0?ke[qe.charAt(0)]<<18:0)|(Ht>1?ke[qe.charAt(1)]<<12:0)|(Ht>2?ke[qe.charAt(2)]<<6:0)|(Ht>3?ke[qe.charAt(3)]:0),Ot=[Tt(Yt>>>16),Tt(Yt>>>8&255),Tt(Yt&255)];return Ot.length-=[0,0,2,1][Zt],Ot.join("")},Pe=He.atob&&typeof He.atob=="function"?function(qe){return He.atob(qe)}:function(qe){return qe.replace(/\S{1,4}/g,Fe)},Ie=function(qe){return Pe(String(qe).replace(/[^A-Za-z0-9\+\/]/g,""))},We=function(qe){return be(Pe(qe))},Ke=function(qe){return String(qe).replace(/[-_]/g,function(Ht){return Ht=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Xe=function(qe){return We(Ke(qe))},ht;He.Uint8Array&&(ht=function(qe){return Uint8Array.from(Ie(Ke(qe)),function(Ht){return Ht.charCodeAt(0)})});var Ve=function(){var qe=He.Base64;return He.Base64=Rt,qe};if(He.Base64={VERSION:_e,atob:Ie,btoa:wt,fromBase64:Xe,toBase64:ne,utob:gt,encode:ne,encodeURI:ce,btou:be,decode:Xe,noConflict:Ve,fromUint8Array:se,toUint8Array:ht},typeof Object.defineProperty=="function"){var Nt=function(qe){return{value:qe,enumerable:!1,writable:!0,configurable:!0}};He.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Nt(function(){return Xe(this)})),Object.defineProperty(String.prototype,"toBase64",Nt(function(qe){return ne(this,qe)})),Object.defineProperty(String.prototype,"toBase64URI",Nt(function(){return ne(this,!0)}))}}return He.Meteor&&(Base64=He.Base64),Rn.exports?Rn.exports.Base64=He.Base64:(Se=[],Oe=function(){return He.Base64}.apply(Fn,Se),Oe!==void 0&&(Rn.exports=Oe)),{Base64:He.Base64}})},17115:function(Rn,Fn,ye){"use strict";ye.d(Fn,{ZP:function(){return ke}});var Se=ye(29043),Oe=ye(59301),He=ye(87746),Rt=0,_e=(0,He.Z)();function vt(){var Tt;return _e?(Tt=Rt,Rt+=1):Tt="TEST_OR_SSR",Tt}function ke(Tt){var Lt=Oe.useState(),et=(0,Se.Z)(Lt,2),gt=et[0],ct=et[1];return Oe.useEffect(function(){ct("rc_select_".concat(vt()))},[]),Tt||gt}},77861:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Ac:function(){return De},Xo:function(){return nr},Wx:function(){return Hr},ZP:function(){return dn},lk:function(){return be}});var Se=ye(5891),Oe=ye(26390),He=ye(80962),Rt=ye(57259),_e=ye(29043),vt=ye(19149),ke=ye(80665),Tt=ye(35788),Lt=ye(51395),et=ye(59301),gt=ye(92310),ct=ye.n(gt),wt=ye(28800),Me=ye(93144),te=ye(85108),ne=ye(20475),ce=function(Ye){var an=Ye.className,Bt=Ye.customizeIcon,jn=Ye.customizeIconProps,cn=Ye.onMouseDown,Et=Ye.onClick,xn=Ye.children,Qn;return typeof Bt=="function"?Qn=Bt(jn):Qn=Bt,et.createElement("span",{className:an,onMouseDown:function(zt){zt.preventDefault(),cn&&cn(zt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Et,"aria-hidden":!0},Qn!==void 0?Qn:et.createElement("span",{className:ct()(an.split(/\s+/).map(function(Un){return"".concat(Un,"-icon")}))},xn))},se=ce;function ge(xt,Ye,an,Bt,jn){var cn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Et=arguments.length>6?arguments[6]:void 0,xn=arguments.length>7?arguments[7]:void 0,Qn=et.useMemo(function(){if((0,ke.Z)(Bt)==="object")return Bt.clearIcon;if(jn)return jn},[Bt,jn]),Un=et.useMemo(function(){return!!(!cn&&Bt&&(an.length||Et)&&!(xn==="combobox"&&Et===""))},[Bt,cn,an.length,Et,xn]);return{allowClear:Un,clearIcon:et.createElement(se,{className:"".concat(xt,"-clear"),onMouseDown:Ye,customizeIcon:Qn},"\xD7")}}var ve=et.createContext(null);function be(){return et.useContext(ve)}function Fe(){var xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ye=et.useState(!1),an=(0,_e.Z)(Ye,2),Bt=an[0],jn=an[1],cn=et.useRef(null),Et=function(){window.clearTimeout(cn.current)};et.useEffect(function(){return Et},[]);var xn=function(Un,zt){Et(),cn.current=window.setTimeout(function(){jn(Un),zt&&zt()},xt)};return[Bt,xn,Et]}function Pe(){var xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ye=et.useRef(null),an=et.useRef(null);et.useEffect(function(){return function(){window.clearTimeout(an.current)}},[]);function Bt(jn){(jn||Ye.current===null)&&(Ye.current=jn),window.clearTimeout(an.current),an.current=window.setTimeout(function(){Ye.current=null},xt)}return[function(){return Ye.current},Bt]}function Ie(xt,Ye,an,Bt){var jn=et.useRef(null);jn.current={open:Ye,triggerOpen:an,customizedTrigger:Bt},et.useEffect(function(){function cn(Et){var xn;if(!((xn=jn.current)!==null&&xn!==void 0&&xn.customizedTrigger)){var Qn=Et.target;Qn.shadowRoot&&Et.composed&&(Qn=Et.composedPath()[0]||Qn),jn.current.open&&xt().filter(function(Un){return Un}).every(function(Un){return!Un.contains(Qn)&&Un!==Qn})&&jn.current.triggerOpen(!1)}}return window.addEventListener("mousedown",cn),function(){return window.removeEventListener("mousedown",cn)}},[])}var We=ye(36994),Ke=ye(11780),Xe=function(Ye,an){var Bt,jn,cn=Ye.prefixCls,Et=Ye.id,xn=Ye.inputElement,Qn=Ye.disabled,Un=Ye.tabIndex,zt=Ye.autoFocus,Sn=Ye.autoComplete,Ci=Ye.editable,Si=Ye.activeDescendantId,vi=Ye.value,ti=Ye.maxLength,xi=Ye.onKeyDown,Ni=Ye.onMouseDown,Zi=Ye.onChange,cr=Ye.onPaste,Gn=Ye.onCompositionStart,Ai=Ye.onCompositionEnd,br=Ye.open,kr=Ye.attrs,Sr=xn||et.createElement("input",null),Xt=Sr,Li=Xt.ref,rr=Xt.props,Hi=rr.onKeyDown,Er=rr.onChange,dr=rr.onMouseDown,Nr=rr.onCompositionStart,Ti=rr.onCompositionEnd,Qi=rr.style;return(0,Lt.Kp)(!("maxLength"in Sr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Sr=et.cloneElement(Sr,(0,Rt.Z)((0,Rt.Z)((0,Rt.Z)({type:"search"},rr),{},{id:Et,ref:(0,ne.sQ)(an,Li),disabled:Qn,tabIndex:Un,autoComplete:Sn||"off",autoFocus:zt,className:ct()("".concat(cn,"-selection-search-input"),(Bt=Sr)===null||Bt===void 0||(jn=Bt.props)===null||jn===void 0?void 0:jn.className),role:"combobox","aria-label":"Search","aria-expanded":br||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Et,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Et,"_list"),"aria-activedescendant":br?Si:void 0},kr),{},{value:Ci?vi:"",maxLength:ti,readOnly:!Ci,unselectable:Ci?null:"on",style:(0,Rt.Z)((0,Rt.Z)({},Qi),{},{opacity:Ci?null:0}),onKeyDown:function(kn){xi(kn),Hi&&Hi(kn)},onMouseDown:function(kn){Ni(kn),dr&&dr(kn)},onChange:function(kn){Zi(kn),Er&&Er(kn)},onCompositionStart:function(kn){Gn(kn),Nr&&Nr(kn)},onCompositionEnd:function(kn){Ai(kn),Ti&&Ti(kn)},onPaste:cr})),Sr},ht=et.forwardRef(Xe);ht.displayName="Input";var Ve=ht;function Nt(xt){return Array.isArray(xt)?xt:xt!==void 0?[xt]:[]}var qe=typeof window!="undefined"&&window.document&&window.document.documentElement,Ht=qe;function Zt(xt){return xt!=null}function Yt(xt){return!xt&&xt!==0}function Ot(xt){return["string","number"].includes((0,ke.Z)(xt))}function Qt(xt){var Ye=void 0;return xt&&(Ot(xt.title)?Ye=xt.title.toString():Ot(xt.label)&&(Ye=xt.label.toString())),Ye}function dt(xt,Ye){Ht?et.useLayoutEffect(xt,Ye):et.useEffect(xt,Ye)}function Re(xt){var Ye;return(Ye=xt.key)!==null&&Ye!==void 0?Ye:xt.value}var Mt=function(Ye){Ye.preventDefault(),Ye.stopPropagation()},Pn=function(Ye){var an=Ye.id,Bt=Ye.prefixCls,jn=Ye.values,cn=Ye.open,Et=Ye.searchValue,xn=Ye.autoClearSearchValue,Qn=Ye.inputRef,Un=Ye.placeholder,zt=Ye.disabled,Sn=Ye.mode,Ci=Ye.showSearch,Si=Ye.autoFocus,vi=Ye.autoComplete,ti=Ye.activeDescendantId,xi=Ye.tabIndex,Ni=Ye.removeIcon,Zi=Ye.maxTagCount,cr=Ye.maxTagTextLength,Gn=Ye.maxTagPlaceholder,Ai=Gn===void 0?function(pt){return"+ ".concat(pt.length," ...")}:Gn,br=Ye.tagRender,kr=Ye.onToggleOpen,Sr=Ye.onRemove,Xt=Ye.onInputChange,Li=Ye.onInputPaste,rr=Ye.onInputKeyDown,Hi=Ye.onInputMouseDown,Er=Ye.onInputCompositionStart,dr=Ye.onInputCompositionEnd,Nr=et.useRef(null),Ti=(0,et.useState)(0),Qi=(0,_e.Z)(Ti,2),er=Qi[0],kn=Qi[1],Dr=(0,et.useState)(!1),Ln=(0,_e.Z)(Dr,2),pr=Ln[0],Qr=Ln[1],vr="".concat(Bt,"-selection"),Ho=cn||Sn==="multiple"&&xn===!1||Sn==="tags"?Et:"",co=Sn==="tags"||Sn==="multiple"&&xn===!1||Ci&&(cn||pr);dt(function(){kn(Nr.current.scrollWidth)},[Ho]);function mr(pt,It,sn,Hn,On){return et.createElement("span",{className:ct()("".concat(vr,"-item"),(0,He.Z)({},"".concat(vr,"-item-disabled"),sn)),title:Qt(pt)},et.createElement("span",{className:"".concat(vr,"-item-content")},It),Hn&&et.createElement(se,{className:"".concat(vr,"-item-remove"),onMouseDown:Mt,onClick:On,customizeIcon:Ni},"\xD7"))}function hr(pt,It,sn,Hn,On){var Wt=function(ai){Mt(ai),kr(!cn)};return et.createElement("span",{onMouseDown:Wt},br({label:It,value:pt,disabled:sn,closable:Hn,onClose:On}))}function fr(pt){var It=pt.disabled,sn=pt.label,Hn=pt.value,On=!zt&&!It,Wt=sn;if(typeof cr=="number"&&(typeof sn=="string"||typeof sn=="number")){var Nn=String(Wt);Nn.length>cr&&(Wt="".concat(Nn.slice(0,cr),"..."))}var ai=function(Oi){Oi&&Oi.stopPropagation(),Sr(pt)};return typeof br=="function"?hr(Hn,Wt,It,On,ai):mr(pt,Wt,It,On,ai)}function Vr(pt){var It=typeof Ai=="function"?Ai(pt):Ai;return mr({title:It},It,!1)}var Ii=et.createElement("div",{className:"".concat(vr,"-search"),style:{width:er},onFocus:function(){Qr(!0)},onBlur:function(){Qr(!1)}},et.createElement(Ve,{ref:Qn,open:cn,prefixCls:Bt,id:an,inputElement:null,disabled:zt,autoFocus:Si,autoComplete:vi,editable:co,activeDescendantId:ti,value:Ho,onKeyDown:rr,onMouseDown:Hi,onChange:Xt,onPaste:Li,onCompositionStart:Er,onCompositionEnd:dr,tabIndex:xi,attrs:(0,We.Z)(Ye,!0)}),et.createElement("span",{ref:Nr,className:"".concat(vr,"-search-mirror"),"aria-hidden":!0},Ho,"\xA0")),Qe=et.createElement(Ke.Z,{prefixCls:"".concat(vr,"-overflow"),data:jn,renderItem:fr,renderRest:Vr,suffix:Ii,itemKey:Re,maxCount:Zi});return et.createElement(et.Fragment,null,Qe,!jn.length&&!Ho&&et.createElement("span",{className:"".concat(vr,"-placeholder")},Un))},mn=Pn,kt=function(Ye){var an=Ye.inputElement,Bt=Ye.prefixCls,jn=Ye.id,cn=Ye.inputRef,Et=Ye.disabled,xn=Ye.autoFocus,Qn=Ye.autoComplete,Un=Ye.activeDescendantId,zt=Ye.mode,Sn=Ye.open,Ci=Ye.values,Si=Ye.placeholder,vi=Ye.tabIndex,ti=Ye.showSearch,xi=Ye.searchValue,Ni=Ye.activeValue,Zi=Ye.maxLength,cr=Ye.onInputKeyDown,Gn=Ye.onInputMouseDown,Ai=Ye.onInputChange,br=Ye.onInputPaste,kr=Ye.onInputCompositionStart,Sr=Ye.onInputCompositionEnd,Xt=Ye.title,Li=et.useState(!1),rr=(0,_e.Z)(Li,2),Hi=rr[0],Er=rr[1],dr=zt==="combobox",Nr=dr||ti,Ti=Ci[0],Qi=xi||"";dr&&Ni&&!Hi&&(Qi=Ni),et.useEffect(function(){dr&&Er(!1)},[dr,Ni]);var er=zt!=="combobox"&&!Sn&&!ti?!1:!!Qi,kn=Xt===void 0?Qt(Ti):Xt,Dr=function(){if(Ti)return null;var pr=er?{visibility:"hidden"}:void 0;return et.createElement("span",{className:"".concat(Bt,"-selection-placeholder"),style:pr},Si)};return et.createElement(et.Fragment,null,et.createElement("span",{className:"".concat(Bt,"-selection-search")},et.createElement(Ve,{ref:cn,prefixCls:Bt,id:jn,open:Sn,inputElement:an,disabled:Et,autoFocus:xn,autoComplete:Qn,editable:Nr,activeDescendantId:Un,value:Qi,onKeyDown:cr,onMouseDown:Gn,onChange:function(pr){Er(!0),Ai(pr)},onPaste:br,onCompositionStart:kr,onCompositionEnd:Sr,tabIndex:vi,attrs:(0,We.Z)(Ye,!0),maxLength:dr?Zi:void 0})),!dr&&Ti?et.createElement("span",{className:"".concat(Bt,"-selection-item"),title:kn,style:er?{visibility:"hidden"}:void 0},Ti.label):null,Dr())},_t=kt;function ln(xt){return![te.Z.ESC,te.Z.SHIFT,te.Z.BACKSPACE,te.Z.TAB,te.Z.WIN_KEY,te.Z.ALT,te.Z.META,te.Z.WIN_KEY_RIGHT,te.Z.CTRL,te.Z.SEMICOLON,te.Z.EQUALS,te.Z.CAPS_LOCK,te.Z.CONTEXT_MENU,te.Z.F1,te.Z.F2,te.Z.F3,te.Z.F4,te.Z.F5,te.Z.F6,te.Z.F7,te.Z.F8,te.Z.F9,te.Z.F10,te.Z.F11,te.Z.F12].includes(xt)}var Bn=function(Ye,an){var Bt=(0,et.useRef)(null),jn=(0,et.useRef)(!1),cn=Ye.prefixCls,Et=Ye.open,xn=Ye.mode,Qn=Ye.showSearch,Un=Ye.tokenWithEnter,zt=Ye.autoClearSearchValue,Sn=Ye.onSearch,Ci=Ye.onSearchSubmit,Si=Ye.onToggleOpen,vi=Ye.onInputKeyDown,ti=Ye.domRef;et.useImperativeHandle(an,function(){return{focus:function(){Bt.current.focus()},blur:function(){Bt.current.blur()}}});var xi=Pe(0),Ni=(0,_e.Z)(xi,2),Zi=Ni[0],cr=Ni[1],Gn=function(Qi){var er=Qi.which;(er===te.Z.UP||er===te.Z.DOWN)&&Qi.preventDefault(),vi&&vi(Qi),er===te.Z.ENTER&&xn==="tags"&&!jn.current&&!Et&&(Ci==null||Ci(Qi.target.value)),ln(er)&&Si(!0)},Ai=function(){cr(!0)},br=(0,et.useRef)(null),kr=function(Qi){Sn(Qi,!0,jn.current)!==!1&&Si(!0)},Sr=function(){jn.current=!0},Xt=function(Qi){jn.current=!1,xn!=="combobox"&&kr(Qi.target.value)},Li=function(Qi){var er=Qi.target.value;if(Un&&br.current&&/[\r\n]/.test(br.current)){var kn=br.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");er=er.replace(kn,br.current)}br.current=null,kr(er)},rr=function(Qi){var er=Qi.clipboardData,kn=er.getData("text");br.current=kn},Hi=function(Qi){var er=Qi.target;if(er!==Bt.current){var kn=document.body.style.msTouchAction!==void 0;kn?setTimeout(function(){Bt.current.focus()}):Bt.current.focus()}},Er=function(Qi){var er=Zi();Qi.target!==Bt.current&&!er&&xn!=="combobox"&&Qi.preventDefault(),(xn!=="combobox"&&(!Qn||!er)||!Et)&&(Et&&zt!==!1&&Sn("",!0,!1),Si())},dr={inputRef:Bt,onInputKeyDown:Gn,onInputMouseDown:Ai,onInputChange:Li,onInputPaste:rr,onInputCompositionStart:Sr,onInputCompositionEnd:Xt},Nr=xn==="multiple"||xn==="tags"?et.createElement(mn,(0,Se.Z)({},Ye,dr)):et.createElement(_t,(0,Se.Z)({},Ye,dr));return et.createElement("div",{ref:ti,className:"".concat(cn,"-selector"),onClick:Hi,onMouseDown:Er},Nr)},wn=et.forwardRef(Bn);wn.displayName="Selector";var Kn=wn,yt=ye(35593),Jn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],bn=function(Ye){var an=Ye===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:an,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:an,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:an,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:an,adjustY:1},htmlRegion:"scroll"}}},ci=function(Ye,an){var Bt=Ye.prefixCls,jn=Ye.disabled,cn=Ye.visible,Et=Ye.children,xn=Ye.popupElement,Qn=Ye.animation,Un=Ye.transitionName,zt=Ye.dropdownStyle,Sn=Ye.dropdownClassName,Ci=Ye.direction,Si=Ci===void 0?"ltr":Ci,vi=Ye.placement,ti=Ye.builtinPlacements,xi=Ye.dropdownMatchSelectWidth,Ni=Ye.dropdownRender,Zi=Ye.dropdownAlign,cr=Ye.getPopupContainer,Gn=Ye.empty,Ai=Ye.getTriggerDOMNode,br=Ye.onPopupVisibleChange,kr=Ye.onPopupMouseEnter,Sr=(0,vt.Z)(Ye,Jn),Xt="".concat(Bt,"-dropdown"),Li=xn;Ni&&(Li=Ni(xn));var rr=et.useMemo(function(){return ti||bn(xi)},[ti,xi]),Hi=Qn?"".concat(Xt,"-").concat(Qn):Un,Er=typeof xi=="number",dr=et.useMemo(function(){return Er?null:xi===!1?"minWidth":"width"},[xi,Er]),Nr=zt;Er&&(Nr=(0,Rt.Z)((0,Rt.Z)({},Nr),{},{width:xi}));var Ti=et.useRef(null);return et.useImperativeHandle(an,function(){return{getPopupElement:function(){return Ti.current}}}),et.createElement(yt.Z,(0,Se.Z)({},Sr,{showAction:br?["click"]:[],hideAction:br?["click"]:[],popupPlacement:vi||(Si==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:rr,prefixCls:Xt,popupTransitionName:Hi,popup:et.createElement("div",{ref:Ti,onMouseEnter:kr},Li),stretch:dr,popupAlign:Zi,popupVisible:cn,getPopupContainer:cr,popupClassName:ct()(Sn,(0,He.Z)({},"".concat(Xt,"-empty"),Gn)),popupStyle:Nr,getTriggerDOMNode:Ai,onPopupVisibleChange:br}),Et)},Tn=et.forwardRef(ci);Tn.displayName="SelectTrigger";var tn=Tn,$t=ye(17953);function ft(xt,Ye){var an=xt.key,Bt;return"value"in xt&&(Bt=xt.value),an!=null?an:Bt!==void 0?Bt:"rc-index-key-".concat(Ye)}function Je(xt,Ye){var an=xt||{},Bt=an.label,jn=an.value,cn=an.options,Et=an.groupLabel,xn=Bt||(Ye?"children":"label");return{label:xn,value:jn||"value",options:cn||"options",groupLabel:Et||xn}}function Gt(xt){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},an=Ye.fieldNames,Bt=Ye.childrenAsData,jn=[],cn=Je(an,!1),Et=cn.label,xn=cn.value,Qn=cn.options,Un=cn.groupLabel;function zt(Sn,Ci){Sn.forEach(function(Si){if(Ci||!(Qn in Si)){var vi=Si[xn];jn.push({key:ft(Si,jn.length),groupOption:Ci,data:Si,label:Si[Et],value:vi})}else{var ti=Si[Un];ti===void 0&&Bt&&(ti=Si.label),jn.push({key:ft(Si,jn.length),group:!0,data:Si,label:ti}),zt(Si[Qn],!0)}})}return zt(xt,!1),jn}function At(xt){var Ye=(0,Rt.Z)({},xt);return"props"in Ye||Object.defineProperty(Ye,"props",{get:function(){return(0,Lt.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ye}}),Ye}function lt(xt,Ye){if(!Ye||!Ye.length)return null;var an=!1;function Bt(cn,Et){var xn=(0,$t.Z)(Et),Qn=xn[0],Un=xn.slice(1);if(!Qn)return[cn];var zt=cn.split(Qn);return an=an||zt.length>1,zt.reduce(function(Sn,Ci){return[].concat((0,Oe.Z)(Sn),(0,Oe.Z)(Bt(Ci,Un)))},[]).filter(function(Sn){return Sn})}var jn=Bt(xt,Ye);return an?jn:null}var Ge=["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"],Be=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function we(xt){return xt==="tags"||xt==="multiple"}var pe=et.forwardRef(function(xt,Ye){var an,Bt,jn=xt.id,cn=xt.prefixCls,Et=xt.className,xn=xt.showSearch,Qn=xt.tagRender,Un=xt.direction,zt=xt.omitDomProps,Sn=xt.displayValues,Ci=xt.onDisplayValuesChange,Si=xt.emptyOptions,vi=xt.notFoundContent,ti=vi===void 0?"Not Found":vi,xi=xt.onClear,Ni=xt.mode,Zi=xt.disabled,cr=xt.loading,Gn=xt.getInputElement,Ai=xt.getRawInputElement,br=xt.open,kr=xt.defaultOpen,Sr=xt.onDropdownVisibleChange,Xt=xt.activeValue,Li=xt.onActiveValueChange,rr=xt.activeDescendantId,Hi=xt.searchValue,Er=xt.autoClearSearchValue,dr=xt.onSearch,Nr=xt.onSearchSplit,Ti=xt.tokenSeparators,Qi=xt.allowClear,er=xt.suffixIcon,kn=xt.clearIcon,Dr=xt.OptionList,Ln=xt.animation,pr=xt.transitionName,Qr=xt.dropdownStyle,vr=xt.dropdownClassName,Ho=xt.dropdownMatchSelectWidth,co=xt.dropdownRender,mr=xt.dropdownAlign,hr=xt.placement,fr=xt.builtinPlacements,Vr=xt.getPopupContainer,Ii=xt.showAction,Qe=Ii===void 0?[]:Ii,pt=xt.onFocus,It=xt.onBlur,sn=xt.onKeyUp,Hn=xt.onKeyDown,On=xt.onMouseDown,Wt=(0,vt.Z)(xt,Ge),Nn=we(Ni),ai=(xn!==void 0?xn:Nn)||Ni==="combobox",qn=(0,Rt.Z)({},Wt);Be.forEach(function(Xo){delete qn[Xo]}),zt==null||zt.forEach(function(Xo){delete qn[Xo]});var Oi=et.useState(!1),Bi=(0,_e.Z)(Oi,2),pi=Bi[0],Gi=Bi[1];et.useEffect(function(){Gi((0,Me.Z)())},[]);var zn=et.useRef(null),_r=et.useRef(null),Gr=et.useRef(null),Ao=et.useRef(null),qr=et.useRef(null),$r=Fe(),to=(0,_e.Z)($r,3),$o=to[0],Qo=to[1],pa=to[2];et.useImperativeHandle(Ye,function(){var Xo,va;return{focus:(Xo=Ao.current)===null||Xo===void 0?void 0:Xo.focus,blur:(va=Ao.current)===null||va===void 0?void 0:va.blur,scrollTo:function(Cs){var Ss;return(Ss=qr.current)===null||Ss===void 0?void 0:Ss.scrollTo(Cs)}}});var qo=et.useMemo(function(){var Xo;if(Ni!=="combobox")return Hi;var va=(Xo=Sn[0])===null||Xo===void 0?void 0:Xo.value;return typeof va=="string"||typeof va=="number"?String(va):""},[Hi,Ni,Sn]),Cn=Ni==="combobox"&&typeof Gn=="function"&&Gn()||null,ca=typeof Ai=="function"&&Ai(),es=(0,ne.x1)(_r,ca==null||(an=ca.props)===null||an===void 0?void 0:an.ref),ts=et.useState(!1),Ga=(0,_e.Z)(ts,2),Ds=Ga[0],pl=Ga[1];(0,wt.Z)(function(){pl(!0)},[]);var ma=(0,Tt.Z)(!1,{defaultValue:kr,value:br}),Fo=(0,_e.Z)(ma,2),Oo=Fo[0],Pa=Fo[1],no=Ds?Oo:!1,ko=!ti&&Si;(Zi||ko&&no&&Ni==="combobox")&&(no=!1);var oo=ko?!1:no,Vi=et.useCallback(function(Xo){var va=Xo!==void 0?Xo:!no;Zi||(Pa(va),no!==va&&(Sr==null||Sr(va)))},[Zi,no,Pa,Sr]),ha=et.useMemo(function(){return(Ti||[]).some(function(Xo){return[` `,`\r `].includes(Xo)})},[Ti]),Na=function(va,dl,Cs){var Ss=!0,os=va;Li==null||Li(null);var hs=Cs?null:lt(va,Ti);return Ni!=="combobox"&&hs&&(os="",Nr==null||Nr(hs),Vi(!1),Ss=!1),dr&&qo!==os&&dr(os,{source:dl?"typing":"effect"}),Ss},Bs=function(va){!va||!va.trim()||dr(va,{source:"submit"})};et.useEffect(function(){!no&&!Nn&&Ni!=="combobox"&&Na("",!1,!1)},[no]),et.useEffect(function(){Oo&&Zi&&Pa(!1),Zi&&Qo(!1)},[Zi]);var ys=Pe(),nl=(0,_e.Z)(ys,2),Yi=nl[0],Da=nl[1],ga=function(va){var dl=Yi(),Cs=va.which;if(Cs===te.Z.ENTER&&(Ni!=="combobox"&&va.preventDefault(),no||Vi(!0)),Da(!!qo),Cs===te.Z.BACKSPACE&&!dl&&Nn&&!qo&&Sn.length){for(var Ss=(0,Oe.Z)(Sn),os=null,hs=Ss.length-1;hs>=0;hs-=1){var Ls=Ss[hs];if(!Ls.disabled){Ss.splice(hs,1),os=Ls;break}}os&&Ci(Ss,{type:"remove",values:[os]})}for(var xs=arguments.length,Ks=new Array(xs>1?xs-1:0),Ts=1;Ts1?dl-1:0),Ss=1;Ss1?hs-1:0),xs=1;xs1&&arguments[1]!==void 0?arguments[1]:!1;return(0,En.Z)(xt).map(function(an,Bt){if(!et.isValidElement(an)||!an.type)return null;var jn=an,cn=jn.type.isSelectOptGroup,Et=jn.key,xn=jn.props,Qn=xn.children,Un=(0,vt.Z)(xn,vn);return Ye||!cn?mi(an):(0,Rt.Z)((0,Rt.Z)({key:"__RC_SELECT_GRP__".concat(Et===null?Bt:Et,"__"),label:Et},Un),{},{options:wi(Qn)})}).filter(function(an){return an})}function Ri(xt,Ye,an,Bt,jn){return et.useMemo(function(){var cn=xt,Et=!xt;Et&&(cn=wi(Ye));var xn=new Map,Qn=new Map,Un=function(Ci,Si,vi){vi&&typeof vi=="string"&&Ci.set(Si[vi],Si)};function zt(Sn){for(var Ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Si=0;Si1&&arguments[1]!==void 0?arguments[1]:1,Vr=Li.length,Ii=0;Ii1&&arguments[1]!==void 0?arguments[1]:!1;er(hr);var Vr={source:fr?"keyboard":"mouse"},Ii=Li[hr];if(!Ii){ti(null,-1,Vr);return}ti(Ii.value,hr,Vr)};(0,et.useEffect)(function(){kn(xi!==!1?dr(0):-1)},[Li.length,Un]);var Dr=et.useCallback(function(mr){return cr.has(mr)&&Qn!=="combobox"},[Qn,(0,Oe.Z)(cr).toString(),cr.size]);(0,et.useEffect)(function(){var mr=setTimeout(function(){if(!xn&&Et&&cr.size===1){var fr=Array.from(cr)[0],Vr=Li.findIndex(function(Ii){var Qe=Ii.data;return Qe.value===fr});Vr!==-1&&(kn(Vr),Er(Vr))}});if(Et){var hr;(hr=rr.current)===null||hr===void 0||hr.scrollTo(void 0)}return function(){return clearTimeout(mr)}},[Et,Un,vi.length]);var Ln=function(hr){hr!==void 0&&Ni(hr,{selected:!cr.has(hr)}),xn||zt(!1)};if(et.useImperativeHandle(an,function(){return{onKeyDown:function(hr){var fr=hr.which,Vr=hr.ctrlKey;switch(fr){case te.Z.N:case te.Z.P:case te.Z.UP:case te.Z.DOWN:{var Ii=0;if(fr===te.Z.UP?Ii=-1:fr===te.Z.DOWN?Ii=1:Co()&&Vr&&(fr===te.Z.N?Ii=1:fr===te.Z.P&&(Ii=-1)),Ii!==0){var Qe=dr(Qi+Ii,Ii);Er(Qe),kn(Qe,!0)}break}case te.Z.ENTER:{var pt=Li[Qi];pt&&!pt.data.disabled?Ln(pt.value):Ln(void 0),Et&&hr.preventDefault();break}case te.Z.ESC:zt(!1),Et&&hr.stopPropagation()}},onKeyUp:function(){},scrollTo:function(hr){Er(hr)}}}),Li.length===0)return et.createElement("div",{role:"listbox",id:"".concat(cn,"_list"),className:"".concat(Xt,"-empty"),onMouseDown:Hi},Sn);var pr=Object.keys(Gn).map(function(mr){return Gn[mr]}),Qr=function(hr){return hr.label};function vr(mr,hr){var fr=mr.group;return{role:fr?"presentation":"option",id:"".concat(cn,"_list_").concat(hr)}}var Ho=function(hr){var fr=Li[hr];if(!fr)return null;var Vr=fr.data||{},Ii=Vr.value,Qe=fr.group,pt=(0,We.Z)(Vr,!0),It=Qr(fr);return fr?et.createElement("div",(0,Se.Z)({"aria-label":typeof It=="string"&&!Qe?It:null},pt,{key:hr},vr(fr,hr),{"aria-selected":Dr(Ii)}),Ii):null},co={role:"listbox",id:"".concat(cn,"_list")};return et.createElement(et.Fragment,null,Ai&&et.createElement("div",(0,Se.Z)({},co,{style:{height:0,width:0,overflow:"hidden"}}),Ho(Qi-1),Ho(Qi),Ho(Qi+1)),et.createElement(Yr.Z,{itemKey:"key",ref:rr,data:Li,height:kr,itemHeight:Sr,fullHeight:!1,onMouseDown:Hi,onScroll:Ci,virtual:Ai,direction:br,innerProps:Ai?null:co},function(mr,hr){var fr,Vr=mr.group,Ii=mr.groupOption,Qe=mr.data,pt=mr.label,It=mr.value,sn=Qe.key;if(Vr){var Hn,On=(Hn=Qe.title)!==null&&Hn!==void 0?Hn:Ce(pt)?pt.toString():void 0;return et.createElement("div",{className:ct()(Xt,"".concat(Xt,"-group")),title:On},pt!==void 0?pt:sn)}var Wt=Qe.disabled,Nn=Qe.title,ai=Qe.children,qn=Qe.style,Oi=Qe.className,Bi=(0,vt.Z)(Qe,$n),pi=(0,Fr.Z)(Bi,pr),Gi=Dr(It),zn="".concat(Xt,"-option"),_r=ct()(Xt,zn,Oi,(fr={},(0,He.Z)(fr,"".concat(zn,"-grouped"),Ii),(0,He.Z)(fr,"".concat(zn,"-active"),Qi===hr&&!Wt),(0,He.Z)(fr,"".concat(zn,"-disabled"),Wt),(0,He.Z)(fr,"".concat(zn,"-selected"),Gi),fr)),Gr=Qr(mr),Ao=!Zi||typeof Zi=="function"||Gi,qr=typeof Gr=="number"?Gr:Gr||It,$r=Ce(qr)?qr.toString():void 0;return Nn!==void 0&&($r=Nn),et.createElement("div",(0,Se.Z)({},(0,We.Z)(pi),Ai?{}:vr(mr,hr),{"aria-selected":Gi,className:_r,title:$r,onMouseMove:function(){Qi===hr||Wt||kn(hr)},onClick:function(){Wt||Ln(It)},style:qn}),et.createElement("div",{className:"".concat(zn,"-content")},qr),et.isValidElement(Zi)||Gi,Ao&&et.createElement(se,{className:"".concat(Xt,"-option-state"),customizeIcon:Zi,customizeIconProps:{isSelected:Gi}},Gi?"\u2713":null))}))},ki=et.forwardRef(hi);ki.displayName="OptionList";var un=ki;function Wn(xt){var Ye=xt.mode,an=xt.options,Bt=xt.children,jn=xt.backfill,cn=xt.allowClear,Et=xt.placeholder,xn=xt.getInputElement,Qn=xt.showSearch,Un=xt.onSearch,zt=xt.defaultOpen,Sn=xt.autoFocus,Ci=xt.labelInValue,Si=xt.value,vi=xt.inputValue,ti=xt.optionLabelProp,xi=isMultiple(Ye),Ni=Qn!==void 0?Qn:xi||Ye==="combobox",Zi=an||convertChildrenToData(Bt);if(warning(Ye!=="tags"||Zi.every(function(br){return!br.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ye==="tags"||Ye==="combobox"){var cr=Zi.some(function(br){return br.options?br.options.some(function(kr){return typeof("value"in kr?kr.value:kr.key)=="number"}):typeof("value"in br?br.value:br.key)=="number"});warning(!cr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ye!=="combobox"||!ti,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ye==="combobox"||!jn,"`backfill` only works with `combobox` mode."),warning(Ye==="combobox"||!xn,"`getInputElement` only work with `combobox` mode."),noteOnce(Ye!=="combobox"||!xn||!cn||!Et,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Un&&!Ni&&Ye!=="combobox"&&Ye!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!zt||Sn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Si!=null){var Gn=toArray(Si);warning(!Ci||Gn.every(function(br){return _typeof(br)==="object"&&("key"in br||"value"in br)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!xi||Array.isArray(Si),"`value` should be array when `mode` is `multiple` or `tags`")}if(Bt){var Ai=null;toNodeArray(Bt).some(function(br){if(!React.isValidElement(br)||!br.type)return!1;var kr=br,Sr=kr.type;if(Sr.isSelectOption)return!1;if(Sr.isSelectOptGroup){var Xt=toNodeArray(br.props.children).every(function(Li){return!React.isValidElement(Li)||!br.type||Li.type.isSelectOption?!0:(Ai=Li.type,!1)});return!Xt}return Ai=Sr,!0}),Ai&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ai.displayName||Ai.name||Ai,"`.")),warning(vi===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function li(xt,Ye){if(xt){var an=function Bt(jn){for(var cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Et=0;Et2&&arguments[2]!==void 0?arguments[2]:{},Vi=oo.source,ha=Vi===void 0?"keyboard":Vi;es(ko),Et&&Bt==="combobox"&&no!==null&&ha==="keyboard"&&pa(String(no))},[Et,Bt]),Ds=function(ko,oo,Vi){var ha=function(){var Gl,So=Oi(ko);return[Qi?{label:So==null?void 0:So[vr.label],value:ko,key:(Gl=So==null?void 0:So.key)!==null&&Gl!==void 0?Gl:ko}:ko,At(So)]};if(oo&&Si){var Na=ha(),Bs=(0,_e.Z)(Na,2),ys=Bs[0],nl=Bs[1];Si(ys,nl)}else if(!oo&&vi&&Vi!=="clear"){var Yi=ha(),Da=(0,_e.Z)(Yi,2),ga=Da[0],Is=Da[1];vi(ga,Is)}},pl=Wi(function(no,ko){var oo,Vi=Ln?ko.selected:!0;Vi?oo=Ln?[].concat((0,Oe.Z)(qn),[no]):[no]:oo=qn.filter(function(ha){return ha.value!==no}),$r(oo),Ds(no,Vi),Bt==="combobox"?pa(""):(!we||Ci)&&(hr(""),pa(""))}),ma=function(ko,oo){$r(ko);var Vi=oo.type,ha=oo.values;(Vi==="remove"||Vi==="clear")&&ha.forEach(function(Na){Ds(Na.value,!1,Vi)})},Fo=function(ko,oo){if(hr(ko),pa(null),oo.source==="submit"){var Vi=(ko||"").trim();if(Vi){var ha=Array.from(new Set([].concat((0,Oe.Z)(pi),[Vi])));$r(ha),Ds(Vi,!0),hr("")}return}oo.source!=="blur"&&(Bt==="combobox"&&$r(ko),zt==null||zt(ko))},Oo=function(ko){var oo=ko;Bt!=="tags"&&(oo=ko.map(function(ha){var Na=Ii.get(ha);return Na==null?void 0:Na.value}).filter(function(ha){return ha!==void 0}));var Vi=Array.from(new Set([].concat((0,Oe.Z)(pi),(0,Oe.Z)(oo))));$r(Vi),Vi.forEach(function(ha){Ds(ha,!0)})},Pa=et.useMemo(function(){var no=Xt!==!1&&xi!==!1;return(0,Rt.Z)((0,Rt.Z)({},fr),{},{flattenOptions:qr,onActiveValue:Ga,defaultActiveFirstOption:ts,onSelect:pl,menuItemSelectedIcon:Sr,rawValues:pi,fieldNames:vr,virtual:no,direction:Li,listHeight:Hi,listItemHeight:dr,childrenAsData:pr})},[fr,qr,Ga,ts,pl,Sr,pi,vr,Xt,xi,Hi,dr,pr]);return et.createElement(ar.Provider,{value:Pa},et.createElement(De,(0,Se.Z)({},kn,{id:Dr,prefixCls:cn,ref:Ye,omitDomProps:mt,mode:Bt,displayValues:Bi,onDisplayValuesChange:ma,direction:Li,searchValue:mr,onSearch:Fo,autoClearSearchValue:Ci,onSearchSplit:Oo,dropdownMatchSelectWidth:xi,OptionList:un,emptyOptions:!qr.length,activeValue:Qo,activeDescendantId:"".concat(Dr,"_list_").concat(ca)})))}),tt=bt;tt.Option=Hr,tt.OptGroup=nr;var qt=tt,dn=qt},9296:function(Rn,Fn,ye){"use strict";ye.r(Fn),ye.d(Fn,{ResizableTextArea:function(){return ht},default:function(){return Yt}});var Se=ye(5891),Oe=ye(57259),He=ye(80962),Rt=ye(80665),_e=ye(29043),vt=ye(19149),ke=ye(26390),Tt=ye(92310),Lt=ye.n(Tt),et=ye(93681),gt=ye(5643),ct=ye(35788),wt=ye(59301),Me=ye(29301),te=ye(28800),ne=ye(23073),ce=` min-height:0 !important; max-height:none !important; height:0 !important; visibility:hidden !important; overflow:hidden !important; position:absolute !important; z-index:-1000 !important; top:0 !important; right:0 !important; pointer-events: none !important; `,se=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],ge={},ve;function be(Ot){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dt=Ot.getAttribute("id")||Ot.getAttribute("data-reactid")||Ot.getAttribute("name");if(Qt&&ge[dt])return ge[dt];var Re=window.getComputedStyle(Ot),Mt=Re.getPropertyValue("box-sizing")||Re.getPropertyValue("-moz-box-sizing")||Re.getPropertyValue("-webkit-box-sizing"),Pn=parseFloat(Re.getPropertyValue("padding-bottom"))+parseFloat(Re.getPropertyValue("padding-top")),mn=parseFloat(Re.getPropertyValue("border-bottom-width"))+parseFloat(Re.getPropertyValue("border-top-width")),kt=se.map(function(ln){return"".concat(ln,":").concat(Re.getPropertyValue(ln))}).join(";"),_t={sizingStyle:kt,paddingSize:Pn,borderSize:mn,boxSizing:Mt};return Qt&&dt&&(ge[dt]=_t),_t}function Fe(Ot){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Re=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ve||(ve=document.createElement("textarea"),ve.setAttribute("tab-index","-1"),ve.setAttribute("aria-hidden","true"),document.body.appendChild(ve)),Ot.getAttribute("wrap")?ve.setAttribute("wrap",Ot.getAttribute("wrap")):ve.removeAttribute("wrap");var Mt=be(Ot,Qt),Pn=Mt.paddingSize,mn=Mt.borderSize,kt=Mt.boxSizing,_t=Mt.sizingStyle;ve.setAttribute("style","".concat(_t,";").concat(ce)),ve.value=Ot.value||Ot.placeholder||"";var ln=void 0,Bn=void 0,wn,Kn=ve.scrollHeight;if(kt==="border-box"?Kn+=mn:kt==="content-box"&&(Kn-=Pn),dt!==null||Re!==null){ve.value=" ";var yt=ve.scrollHeight-Pn;dt!==null&&(ln=yt*dt,kt==="border-box"&&(ln=ln+Pn+mn),Kn=Math.max(ln,Kn)),Re!==null&&(Bn=yt*Re,kt==="border-box"&&(Bn=Bn+Pn+mn),wn=Kn>Bn?"":"hidden",Kn=Math.min(Bn,Kn))}var Jn={height:Kn,overflowY:wn,resize:"none"};return ln&&(Jn.minHeight=ln),Bn&&(Jn.maxHeight=Bn),Jn}var Pe=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Ie=0,We=1,Ke=2,Xe=wt.forwardRef(function(Ot,Qt){var dt=Ot,Re=dt.prefixCls,Mt=dt.onPressEnter,Pn=dt.defaultValue,mn=dt.value,kt=dt.autoSize,_t=dt.onResize,ln=dt.className,Bn=dt.style,wn=dt.disabled,Kn=dt.onChange,yt=dt.onInternalAutoSize,Jn=(0,vt.Z)(dt,Pe),bn=(0,ct.Z)(Pn,{value:mn,postState:function(nr){return nr!=null?nr:""}}),ci=(0,_e.Z)(bn,2),Tn=ci[0],tn=ci[1],$t=function(nr){tn(nr.target.value),Kn==null||Kn(nr)},ft=wt.useRef();wt.useImperativeHandle(Qt,function(){return{textArea:ft.current}});var Je=wt.useMemo(function(){return kt&&(0,Rt.Z)(kt)==="object"?[kt.minRows,kt.maxRows]:[]},[kt]),Gt=(0,_e.Z)(Je,2),At=Gt[0],lt=Gt[1],Ge=!!kt,Be=function(){try{if(document.activeElement===ft.current){var nr=ft.current,Wr=nr.selectionStart,Hr=nr.selectionEnd,Tr=nr.scrollTop;ft.current.setSelectionRange(Wr,Hr),ft.current.scrollTop=Tr}}catch(Fr){}},we=wt.useState(Ke),pe=(0,_e.Z)(we,2),De=pe[0],ze=pe[1],Le=wt.useState(),nt=(0,_e.Z)(Le,2),Ut=nt[0],En=nt[1],rn=function(){ze(Ie)};(0,te.Z)(function(){Ge&&rn()},[mn,At,lt,Ge]),(0,te.Z)(function(){if(De===Ie)ze(We);else if(De===We){var Mn=Fe(ft.current,!1,At,lt);ze(Ke),En(Mn)}else Be()},[De]);var vn=wt.useRef(),mi=function(){ne.Z.cancel(vn.current)},wi=function(nr){De===Ke&&(_t==null||_t(nr),kt&&(mi(),vn.current=(0,ne.Z)(function(){rn()})))};wt.useEffect(function(){return mi},[]);var Ri=Ge?Ut:null,Wi=(0,Oe.Z)((0,Oe.Z)({},Bn),Ri);return(De===Ie||De===We)&&(Wi.overflowY="hidden",Wi.overflowX="hidden"),wt.createElement(Me.Z,{onResize:wi,disabled:!(kt||_t)},wt.createElement("textarea",(0,Se.Z)({},Jn,{ref:ft,style:Wi,className:Lt()(Re,ln,(0,He.Z)({},"".concat(Re,"-disabled"),wn)),disabled:wn,value:Tn,onChange:$t})))}),ht=Xe,Ve=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Nt(Ot,Qt){return(0,ke.Z)(Ot||"").slice(0,Qt).join("")}function qe(Ot,Qt,dt,Re){var Mt=dt;return Ot?Mt=Nt(dt,Re):(0,ke.Z)(Qt||"").lengthRe&&(Mt=Qt),Mt}var Ht=wt.forwardRef(function(Ot,Qt){var dt,Re=Ot.defaultValue,Mt=Ot.value,Pn=Ot.onFocus,mn=Ot.onBlur,kt=Ot.onChange,_t=Ot.allowClear,ln=Ot.maxLength,Bn=Ot.onCompositionStart,wn=Ot.onCompositionEnd,Kn=Ot.suffix,yt=Ot.prefixCls,Jn=yt===void 0?"rc-textarea":yt,bn=Ot.classes,ci=Ot.showCount,Tn=Ot.className,tn=Ot.style,$t=Ot.disabled,ft=Ot.hidden,Je=Ot.classNames,Gt=Ot.styles,At=Ot.onResize,lt=(0,vt.Z)(Ot,Ve),Ge=(0,ct.Z)(Re,{value:Mt,defaultValue:Re}),Be=(0,_e.Z)(Ge,2),we=Be[0],pe=Be[1],De=(0,wt.useRef)(null),ze=wt.useState(!1),Le=(0,_e.Z)(ze,2),nt=Le[0],Ut=Le[1],En=wt.useState(!1),rn=(0,_e.Z)(En,2),vn=rn[0],mi=rn[1],wi=wt.useRef(),Ri=wt.useRef(0),Wi=wt.useState(null),Mn=(0,_e.Z)(Wi,2),nr=Mn[0],Wr=Mn[1],Hr=function(){var Pt;(Pt=De.current)===null||Pt===void 0||Pt.textArea.focus()};(0,wt.useImperativeHandle)(Qt,function(){return{resizableTextArea:De.current,focus:Hr,blur:function(){var Pt;(Pt=De.current)===null||Pt===void 0||Pt.textArea.blur()}}}),(0,wt.useEffect)(function(){Ut(function(mt){return!$t&&mt})},[$t]);var Tr=Number(ln)>0,Fr=function(Pt){mi(!0),wi.current=we,Ri.current=Pt.currentTarget.selectionStart,Bn==null||Bn(Pt)},Yr=function(Pt){mi(!1);var bt=Pt.currentTarget.value;if(Tr){var tt,qt=Ri.current>=ln+1||Ri.current===((tt=wi.current)===null||tt===void 0?void 0:tt.length);bt=qe(qt,wi.current,bt,ln)}bt!==we&&(pe(bt),(0,gt.rJ)(Pt.currentTarget,Pt,kt,bt)),wn==null||wn(Pt)},Kr=function(Pt){var bt=Pt.target.value;if(!vn&&Tr){var tt=Pt.target.selectionStart>=ln+1||Pt.target.selectionStart===bt.length||!Pt.target.selectionStart;bt=qe(tt,we,bt,ln)}pe(bt),(0,gt.rJ)(Pt.currentTarget,Pt,kt,bt)},ar=function(Pt){var bt=lt.onPressEnter,tt=lt.onKeyDown;Pt.key==="Enter"&&bt&&bt(Pt),tt==null||tt(Pt)},Co=function(Pt){Ut(!0),Pn==null||Pn(Pt)},$n=function(Pt){Ut(!1),mn==null||mn(Pt)},Ce=function(Pt){var bt;pe(""),Hr(),(0,gt.rJ)((bt=De.current)===null||bt===void 0?void 0:bt.textArea,Pt,kt)},hi=(0,gt.D7)(we);!vn&&Tr&&Mt==null&&(hi=Nt(hi,ln));var ki=Kn,un;if(ci){var Wn=(0,ke.Z)(hi).length;(0,Rt.Z)(ci)==="object"?un=ci.formatter({value:hi,count:Wn,maxLength:ln}):un="".concat(Wn).concat(Tr?" / ".concat(ln):""),ki=wt.createElement(wt.Fragment,null,ki,wt.createElement("span",{className:Lt()("".concat(Jn,"-data-count"),Je==null?void 0:Je.count),style:Gt==null?void 0:Gt.count},un))}var li=function(Pt){var bt;At==null||At(Pt),(bt=De.current)!==null&&bt!==void 0&&bt.textArea.style.height&&Wr(!0)},fn=!lt.autoSize&&!ci&&!_t,on=wt.createElement(et.BaseInput,{value:hi,allowClear:_t,handleReset:Ce,suffix:ki,prefixCls:Jn,classes:{affixWrapper:Lt()(bn==null?void 0:bn.affixWrapper,(dt={},(0,He.Z)(dt,"".concat(Jn,"-show-count"),ci),(0,He.Z)(dt,"".concat(Jn,"-textarea-allow-clear"),_t),dt))},disabled:$t,focused:nt,className:Tn,style:(0,Oe.Z)((0,Oe.Z)({},tn),nr&&!fn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof un=="string"?un:void 0}},hidden:ft,inputElement:wt.createElement(ht,(0,Se.Z)({},lt,{onKeyDown:ar,onChange:Kr,onFocus:Co,onBlur:$n,onCompositionStart:Fr,onCompositionEnd:Yr,className:Je==null?void 0:Je.textarea,style:(0,Oe.Z)((0,Oe.Z)({},Gt==null?void 0:Gt.textarea),{},{resize:tn==null?void 0:tn.resize}),disabled:$t,prefixCls:Jn,onResize:li,ref:De}))});return on}),Zt=Ht,Yt=Zt},39417:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return We}});var Se=ye(5891),Oe=ye(80962),He=ye(19149),Rt=ye(57259),_e=ye(79545),vt=ye(68550),ke=ye(21882),Tt=ye(17928),Lt=ye(7711),et=ye(92310),gt=ye.n(et),ct=ye(36994),wt=ye(59301),Me=ye(39378),te=function(Xe){for(var ht=Xe.prefixCls,Ve=Xe.level,Nt=Xe.isStart,qe=Xe.isEnd,Ht="".concat(ht,"-indent-unit"),Zt=[],Yt=0;Yt0&&arguments[0]!==void 0?arguments[0]:[],$t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ft=tn.length,Je=$t.length;if(Math.abs(ft-Je)!==1)return{add:!1,key:null};function Gt(At,lt){var Ge=new Map;At.forEach(function(we){Ge.set(we,!0)});var Be=lt.filter(function(we){return!Ge.has(we)});return Be.length===1?Be[0]:null}return ft ").concat($t);return $t}var ln=ne.forwardRef(function(tn,$t){var ft=tn.prefixCls,Je=tn.data,Gt=tn.selectable,At=tn.checkable,lt=tn.expandedKeys,Ge=tn.selectedKeys,Be=tn.checkedKeys,we=tn.loadedKeys,pe=tn.loadingKeys,De=tn.halfCheckedKeys,ze=tn.keyEntities,Le=tn.disabled,nt=tn.dragging,Ut=tn.dragOverNodeKey,En=tn.dropPosition,rn=tn.motion,vn=tn.height,mi=tn.itemHeight,wi=tn.virtual,Ri=tn.focusable,Wi=tn.activeItem,Mn=tn.focused,nr=tn.tabIndex,Wr=tn.onKeyDown,Hr=tn.onFocus,Tr=tn.onBlur,Fr=tn.onActiveChange,Yr=tn.onListChangeStart,Kr=tn.onListChangeEnd,ar=(0,be.Z)(tn,Yt),Co=ne.useRef(null),$n=ne.useRef(null);ne.useImperativeHandle($t,function(){return{scrollTo:function(Sn){Co.current.scrollTo(Sn)},getIndentWidth:function(){return $n.current.offsetWidth}}});var Ce=ne.useState(lt),hi=(0,ve.Z)(Ce,2),ki=hi[0],un=hi[1],Wn=ne.useState(Je),li=(0,ve.Z)(Wn,2),fn=li[0],on=li[1],mt=ne.useState(Je),Pt=(0,ve.Z)(mt,2),bt=Pt[0],tt=Pt[1],qt=ne.useState([]),dn=(0,ve.Z)(qt,2),xt=dn[0],Ye=dn[1],an=ne.useState(null),Bt=(0,ve.Z)(an,2),jn=Bt[0],cn=Bt[1],Et=ne.useRef(Je);Et.current=Je;function xn(){var zt=Et.current;on(zt),tt(zt),Ye([]),cn(null),Kr()}(0,Fe.Z)(function(){un(lt);var zt=Ht(ki,lt);if(zt.key!==null)if(zt.add){var Sn=fn.findIndex(function(Ni){var Zi=Ni.key;return Zi===zt.key}),Ci=mn(Zt(fn,Je,zt.key),wi,vn,mi),Si=fn.slice();Si.splice(Sn+1,0,Pn),tt(Si),Ye(Ci),cn("show")}else{var vi=Je.findIndex(function(Ni){var Zi=Ni.key;return Zi===zt.key}),ti=mn(Zt(Je,fn,zt.key),wi,vn,mi),xi=Je.slice();xi.splice(vi+1,0,Pn),tt(xi),Ye(ti),cn("hide")}else fn!==Je&&(on(Je),tt(Je))},[lt,Je]),ne.useEffect(function(){nt||xn()},[nt]);var Qn=rn?bt:Je,Un={expandedKeys:lt,selectedKeys:Ge,loadedKeys:we,loadingKeys:pe,checkedKeys:Be,halfCheckedKeys:De,dragOverNodeKey:Ut,dropPosition:En,keyEntities:ze};return ne.createElement(ne.Fragment,null,Mn&&Wi&&ne.createElement("span",{style:Ot,"aria-live":"assertive"},_t(Wi)),ne.createElement("div",null,ne.createElement("input",{style:Ot,disabled:Ri===!1||Le,tabIndex:Ri!==!1?nr:null,onKeyDown:Wr,onFocus:Hr,onBlur:Tr,value:"",onChange:Qt,"aria-label":"for screen reader"})),ne.createElement("div",{className:"".concat(ft,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ne.createElement("div",{className:"".concat(ft,"-indent")},ne.createElement("div",{ref:$n,className:"".concat(ft,"-indent-unit")}))),ne.createElement(Pe.Z,(0,Se.Z)({},ar,{data:Qn,itemKey:kt,height:vn,fullHeight:!1,virtual:wi,itemHeight:mi,prefixCls:"".concat(ft,"-list"),ref:Co,onVisibleChange:function(Sn,Ci){var Si=new Set(Sn),vi=Ci.filter(function(ti){return!Si.has(ti)});vi.some(function(ti){return kt(ti)===dt})&&xn()}}),function(zt){var Sn=zt.pos,Ci=(0,Se.Z)({},(ge(zt.data),zt.data)),Si=zt.title,vi=zt.key,ti=zt.isStart,xi=zt.isEnd,Ni=(0,Xe.km)(vi,Sn);delete Ci.key,delete Ci.children;var Zi=(0,Xe.H8)(Ni,Un);return ne.createElement(qe,(0,Se.Z)({},Ci,Zi,{title:Si,active:!!Wi&&vi===Wi.key,pos:Sn,data:zt.data,isStart:ti,isEnd:xi,motion:rn,motionNodes:vi===dt?xt:null,motionType:jn,onMotionStart:Yr,onMotionEnd:xn,treeNodeRequiredProps:Un,onMouseMove:function(){Fr(null)}}))}))});ln.displayName="NodeList";var Bn=ln,wn=ye(35654),Kn=ye(90782),yt=ye(67841),Jn=10,bn=function(tn){(0,Lt.Z)(ft,tn);var $t=(0,et.Z)(ft);function ft(){var Je;(0,vt.Z)(this,ft);for(var Gt=arguments.length,At=new Array(Gt),lt=0;lt2&&arguments[2]!==void 0?arguments[2]:!1,De=Je.state,ze=De.dragChildrenKeys,Le=De.dropPosition,nt=De.dropTargetKey,Ut=De.dropTargetPos,En=De.dropAllowed;if(En){var rn=Je.props.onDrop;if(Je.setState({dragOverNodeKey:null}),Je.cleanDragState(),nt!==null){var vn=(0,Rt.Z)((0,Rt.Z)({},(0,Xe.H8)(nt,Je.getTreeNodeRequiredProps())),{},{active:((we=Je.getActiveItem())===null||we===void 0?void 0:we.key)===nt,data:(0,yt.Z)(Je.state.keyEntities,nt).node}),mi=ze.indexOf(nt)!==-1;(0,te.ZP)(!mi,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var wi=(0,wn.yx)(Ut),Ri={event:Ge,node:(0,Xe.F)(vn),dragNode:Je.dragNode?(0,Xe.F)(Je.dragNode.props):null,dragNodesKeys:[Je.dragNode.props.eventKey].concat(ze),dropToGap:Le!==0,dropPosition:Le+Number(wi[wi.length-1])};pe||rn==null||rn(Ri),Je.dragNode=null}}},Je.cleanDragState=function(){var Ge=Je.state.draggingNodeKey;Ge!==null&&Je.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Je.dragStartMousePosition=null,Je.currentMouseOverDroppableNodeKey=null},Je.triggerExpandActionExpand=function(Ge,Be){var we=Je.state,pe=we.expandedKeys,De=we.flattenNodes,ze=Be.expanded,Le=Be.key,nt=Be.isLeaf;if(!(nt||Ge.shiftKey||Ge.metaKey||Ge.ctrlKey)){var Ut=De.filter(function(rn){return rn.key===Le})[0],En=(0,Xe.F)((0,Rt.Z)((0,Rt.Z)({},(0,Xe.H8)(Le,Je.getTreeNodeRequiredProps())),{},{data:Ut.data}));Je.setExpandedKeys(ze?(0,wn._5)(pe,Le):(0,wn.L0)(pe,Le)),Je.onNodeExpand(Ge,En)}},Je.onNodeClick=function(Ge,Be){var we=Je.props,pe=we.onClick,De=we.expandAction;De==="click"&&Je.triggerExpandActionExpand(Ge,Be),pe==null||pe(Ge,Be)},Je.onNodeDoubleClick=function(Ge,Be){var we=Je.props,pe=we.onDoubleClick,De=we.expandAction;De==="doubleClick"&&Je.triggerExpandActionExpand(Ge,Be),pe==null||pe(Ge,Be)},Je.onNodeSelect=function(Ge,Be){var we=Je.state.selectedKeys,pe=Je.state,De=pe.keyEntities,ze=pe.fieldNames,Le=Je.props,nt=Le.onSelect,Ut=Le.multiple,En=Be.selected,rn=Be[ze.key],vn=!En;vn?Ut?we=(0,wn.L0)(we,rn):we=[rn]:we=(0,wn._5)(we,rn);var mi=we.map(function(wi){var Ri=(0,yt.Z)(De,wi);return Ri?Ri.node:null}).filter(function(wi){return wi});Je.setUncontrolledState({selectedKeys:we}),nt==null||nt(we,{event:"select",selected:vn,node:Be,selectedNodes:mi,nativeEvent:Ge.nativeEvent})},Je.onNodeCheck=function(Ge,Be,we){var pe=Je.state,De=pe.keyEntities,ze=pe.checkedKeys,Le=pe.halfCheckedKeys,nt=Je.props,Ut=nt.checkStrictly,En=nt.onCheck,rn=Be.key,vn,mi={event:"check",node:Be,checked:we,nativeEvent:Ge.nativeEvent};if(Ut){var wi=we?(0,wn.L0)(ze,rn):(0,wn._5)(ze,rn),Ri=(0,wn._5)(Le,rn);vn={checked:wi,halfChecked:Ri},mi.checkedNodes=wi.map(function(Tr){return(0,yt.Z)(De,Tr)}).filter(function(Tr){return Tr}).map(function(Tr){return Tr.node}),Je.setUncontrolledState({checkedKeys:wi})}else{var Wi=(0,Kn.S)([].concat((0,_e.Z)(ze),[rn]),!0,De),Mn=Wi.checkedKeys,nr=Wi.halfCheckedKeys;if(!we){var Wr=new Set(Mn);Wr.delete(rn);var Hr=(0,Kn.S)(Array.from(Wr),{checked:!1,halfCheckedKeys:nr},De);Mn=Hr.checkedKeys,nr=Hr.halfCheckedKeys}vn=Mn,mi.checkedNodes=[],mi.checkedNodesPositions=[],mi.halfCheckedKeys=nr,Mn.forEach(function(Tr){var Fr=(0,yt.Z)(De,Tr);if(Fr){var Yr=Fr.node,Kr=Fr.pos;mi.checkedNodes.push(Yr),mi.checkedNodesPositions.push({node:Yr,pos:Kr})}}),Je.setUncontrolledState({checkedKeys:Mn},!1,{halfCheckedKeys:nr})}En==null||En(vn,mi)},Je.onNodeLoad=function(Ge){var Be=Ge.key,we=new Promise(function(pe,De){Je.setState(function(ze){var Le=ze.loadedKeys,nt=Le===void 0?[]:Le,Ut=ze.loadingKeys,En=Ut===void 0?[]:Ut,rn=Je.props,vn=rn.loadData,mi=rn.onLoad;if(!vn||nt.indexOf(Be)!==-1||En.indexOf(Be)!==-1)return null;var wi=vn(Ge);return wi.then(function(){var Ri=Je.state.loadedKeys,Wi=(0,wn.L0)(Ri,Be);mi==null||mi(Wi,{event:"load",node:Ge}),Je.setUncontrolledState({loadedKeys:Wi}),Je.setState(function(Mn){return{loadingKeys:(0,wn._5)(Mn.loadingKeys,Be)}}),pe()}).catch(function(Ri){if(Je.setState(function(Mn){return{loadingKeys:(0,wn._5)(Mn.loadingKeys,Be)}}),Je.loadingRetryTimes[Be]=(Je.loadingRetryTimes[Be]||0)+1,Je.loadingRetryTimes[Be]>=Jn){var Wi=Je.state.loadedKeys;(0,te.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Je.setUncontrolledState({loadedKeys:(0,wn.L0)(Wi,Be)}),pe()}De(Ri)}),{loadingKeys:(0,wn.L0)(En,Be)}})});return we.catch(function(){}),we},Je.onNodeMouseEnter=function(Ge,Be){var we=Je.props.onMouseEnter;we==null||we({event:Ge,node:Be})},Je.onNodeMouseLeave=function(Ge,Be){var we=Je.props.onMouseLeave;we==null||we({event:Ge,node:Be})},Je.onNodeContextMenu=function(Ge,Be){var we=Je.props.onRightClick;we&&(Ge.preventDefault(),we({event:Ge,node:Be}))},Je.onFocus=function(){var Ge=Je.props.onFocus;Je.setState({focused:!0});for(var Be=arguments.length,we=new Array(Be),pe=0;pe1&&arguments[1]!==void 0?arguments[1]:!1,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Je.destroyed){var pe=!1,De=!0,ze={};Object.keys(Ge).forEach(function(Le){if(Le in Je.props){De=!1;return}pe=!0,ze[Le]=Ge[Le]}),pe&&(!Be||De)&&Je.setState((0,Rt.Z)((0,Rt.Z)({},ze),we))}},Je.scrollTo=function(Ge){Je.listRef.current.scrollTo(Ge)},Je}return(0,ke.Z)(ft,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Gt=this.props.activeKey;Gt!==void 0&&Gt!==this.state.activeKey&&(this.setState({activeKey:Gt}),Gt!==null&&this.scrollTo({key:Gt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Gt,At=this.state,lt=At.focused,Ge=At.flattenNodes,Be=At.keyEntities,we=At.draggingNodeKey,pe=At.activeKey,De=At.dropLevelOffset,ze=At.dropContainerKey,Le=At.dropTargetKey,nt=At.dropPosition,Ut=At.dragOverNodeKey,En=At.indent,rn=this.props,vn=rn.prefixCls,mi=rn.className,wi=rn.style,Ri=rn.showLine,Wi=rn.focusable,Mn=rn.tabIndex,nr=Mn===void 0?0:Mn,Wr=rn.selectable,Hr=rn.showIcon,Tr=rn.icon,Fr=rn.switcherIcon,Yr=rn.draggable,Kr=rn.checkable,ar=rn.checkStrictly,Co=rn.disabled,$n=rn.motion,Ce=rn.loadData,hi=rn.filterTreeNode,ki=rn.height,un=rn.itemHeight,Wn=rn.virtual,li=rn.titleRender,fn=rn.dropIndicatorRender,on=rn.onContextMenu,mt=rn.onScroll,Pt=rn.direction,bt=rn.rootClassName,tt=rn.rootStyle,qt=(0,Me.Z)(this.props,{aria:!0,data:!0}),dn;return Yr&&((0,He.Z)(Yr)==="object"?dn=Yr:typeof Yr=="function"?dn={nodeDraggable:Yr}:dn={}),ne.createElement(ce.k.Provider,{value:{prefixCls:vn,selectable:Wr,showIcon:Hr,icon:Tr,switcherIcon:Fr,draggable:dn,draggingNodeKey:we,checkable:Kr,checkStrictly:ar,disabled:Co,keyEntities:Be,dropLevelOffset:De,dropContainerKey:ze,dropTargetKey:Le,dropPosition:nt,dragOverNodeKey:Ut,indent:En,direction:Pt,dropIndicatorRender:fn,loadData:Ce,filterTreeNode:hi,titleRender:li,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},ne.createElement("div",{role:"tree",className:ct()(vn,mi,bt,(Gt={},(0,Oe.Z)(Gt,"".concat(vn,"-show-line"),Ri),(0,Oe.Z)(Gt,"".concat(vn,"-focused"),lt),(0,Oe.Z)(Gt,"".concat(vn,"-active-focused"),pe!==null),Gt)),style:tt},ne.createElement(Bn,(0,Se.Z)({ref:this.listRef,prefixCls:vn,style:wi,data:Ge,disabled:Co,selectable:Wr,checkable:!!Kr,motion:$n,dragging:we!==null,height:ki,itemHeight:un,virtual:Wn,focusable:Wi,focused:lt,tabIndex:nr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:on,onScroll:mt},this.getTreeNodeRequiredProps(),qt))))}}],[{key:"getDerivedStateFromProps",value:function(Gt,At){var lt=At.prevProps,Ge={prevProps:Gt};function Be(Wi){return!lt&&Wi in Gt||lt&<[Wi]!==Gt[Wi]}var we,pe=At.fieldNames;if(Be("fieldNames")&&(pe=(0,Xe.w$)(Gt.fieldNames),Ge.fieldNames=pe),Be("treeData")?we=Gt.treeData:Be("children")&&((0,te.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),we=(0,Xe.zn)(Gt.children)),we){Ge.treeData=we;var De=(0,Xe.I8)(we,{fieldNames:pe});Ge.keyEntities=(0,Rt.Z)((0,Oe.Z)({},dt,Mt),De.keyEntities)}var ze=Ge.keyEntities||At.keyEntities;if(Be("expandedKeys")||lt&&Be("autoExpandParent"))Ge.expandedKeys=Gt.autoExpandParent||!lt&&Gt.defaultExpandParent?(0,wn.r7)(Gt.expandedKeys,ze):Gt.expandedKeys;else if(!lt&&Gt.defaultExpandAll){var Le=(0,Rt.Z)({},ze);delete Le[dt],Ge.expandedKeys=Object.keys(Le).map(function(Wi){return Le[Wi].key})}else!lt&&Gt.defaultExpandedKeys&&(Ge.expandedKeys=Gt.autoExpandParent||Gt.defaultExpandParent?(0,wn.r7)(Gt.defaultExpandedKeys,ze):Gt.defaultExpandedKeys);if(Ge.expandedKeys||delete Ge.expandedKeys,we||Ge.expandedKeys){var nt=(0,Xe.oH)(we||At.treeData,Ge.expandedKeys||At.expandedKeys,pe);Ge.flattenNodes=nt}if(Gt.selectable&&(Be("selectedKeys")?Ge.selectedKeys=(0,wn.BT)(Gt.selectedKeys,Gt):!lt&&Gt.defaultSelectedKeys&&(Ge.selectedKeys=(0,wn.BT)(Gt.defaultSelectedKeys,Gt))),Gt.checkable){var Ut;if(Be("checkedKeys")?Ut=(0,wn.E6)(Gt.checkedKeys)||{}:!lt&&Gt.defaultCheckedKeys?Ut=(0,wn.E6)(Gt.defaultCheckedKeys)||{}:we&&(Ut=(0,wn.E6)(Gt.checkedKeys)||{checkedKeys:At.checkedKeys,halfCheckedKeys:At.halfCheckedKeys}),Ut){var En=Ut,rn=En.checkedKeys,vn=rn===void 0?[]:rn,mi=En.halfCheckedKeys,wi=mi===void 0?[]:mi;if(!Gt.checkStrictly){var Ri=(0,Kn.S)(vn,!0,ze);vn=Ri.checkedKeys,wi=Ri.halfCheckedKeys}Ge.checkedKeys=vn,Ge.halfCheckedKeys=wi}}return Be("loadedKeys")&&(Ge.loadedKeys=Gt.loadedKeys),Ge}}]),ft}(ne.Component);bn.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:se,allowDrop:function(){return!0},expandAction:!1},bn.TreeNode=We.Z;var ci=bn,Tn=ci},35654:function(Rn,Fn,ye){"use strict";ye.d(Fn,{BT:function(){return ne},E6:function(){return ge},L0:function(){return et},OM:function(){return te},_5:function(){return Lt},r7:function(){return ve},wA:function(){return ct},yx:function(){return gt}});var Se=ye(26390),Oe=ye(80665),He=ye(51395),Rt=ye(59301),_e=ye(39417),vt=ye(67841),ke=ye(71430),Tt=null;function Lt(be,Fe){if(!be)return[];var Pe=be.slice(),Ie=Pe.indexOf(Fe);return Ie>=0&&Pe.splice(Ie,1),Pe}function et(be,Fe){var Pe=(be||[]).slice();return Pe.indexOf(Fe)===-1&&Pe.push(Fe),Pe}function gt(be){return be.split("-")}function ct(be,Fe){var Pe=[],Ie=(0,vt.Z)(Fe,be);function We(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ke.forEach(function(Xe){var ht=Xe.key,Ve=Xe.children;Pe.push(ht),We(Ve)})}return We(Ie.children),Pe}function wt(be){if(be.parent){var Fe=gt(be.pos);return Number(Fe[Fe.length-1])===be.parent.children.length-1}return!1}function Me(be){var Fe=gt(be.pos);return Number(Fe[Fe.length-1])===0}function te(be,Fe,Pe,Ie,We,Ke,Xe,ht,Ve,Nt){var qe,Ht=be.clientX,Zt=be.clientY,Yt=be.target.getBoundingClientRect(),Ot=Yt.top,Qt=Yt.height,dt=(Nt==="rtl"?-1:1)*(((We==null?void 0:We.x)||0)-Ht),Re=(dt-12)/Ie,Mt=(0,vt.Z)(ht,Pe.props.eventKey);if(Zt-1.5?Ke({dragNode:Jn,dropNode:bn,dropPosition:1})?wn=1:ci=!1:Ke({dragNode:Jn,dropNode:bn,dropPosition:0})?wn=0:Ke({dragNode:Jn,dropNode:bn,dropPosition:1})?wn=1:ci=!1:Ke({dragNode:Jn,dropNode:bn,dropPosition:1})?wn=1:ci=!1,{dropPosition:wn,dropLevelOffset:Kn,dropTargetKey:Mt.key,dropTargetPos:Mt.pos,dragOverNodeKey:Bn,dropContainerKey:wn===0?null:((qe=Mt.parent)===null||qe===void 0?void 0:qe.key)||null,dropAllowed:ci}}function ne(be,Fe){if(be){var Pe=Fe.multiple;return Pe?be.slice():be.length?[be[0]]:be}}var ce=function(Fe){return Fe};function se(be,Fe){if(!be)return[];var Pe=Fe||{},Ie=Pe.processProps,We=Ie===void 0?ce:Ie,Ke=Array.isArray(be)?be:[be];return Ke.map(function(Xe){var ht=Xe.children,Ve=_objectWithoutProperties(Xe,Tt),Nt=se(ht,Fe);return React.createElement(TreeNode,_extends({key:Ve.key},We(Ve)),Nt)})}function ge(be){if(!be)return null;var Fe;if(Array.isArray(be))Fe={checkedKeys:be,halfCheckedKeys:void 0};else if((0,Oe.Z)(be)==="object")Fe={checkedKeys:be.checked||void 0,halfCheckedKeys:be.halfChecked||void 0};else return(0,He.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Fe}function ve(be,Fe){var Pe=new Set;function Ie(We){if(!Pe.has(We)){var Ke=(0,vt.Z)(Fe,We);if(Ke){Pe.add(We);var Xe=Ke.parent,ht=Ke.node;ht.disabled||Xe&&Ie(Xe.key)}}}return(be||[]).forEach(function(We){Ie(We)}),(0,Se.Z)(Pe)}},90782:function(Rn,Fn,ye){"use strict";ye.d(Fn,{S:function(){return ke}});var Se=ye(51395),Oe=ye(67841);function He(Tt,Lt){var et=new Set;return Tt.forEach(function(gt){Lt.has(gt)||et.add(gt)}),et}function Rt(Tt){var Lt=Tt||{},et=Lt.disabled,gt=Lt.disableCheckbox,ct=Lt.checkable;return!!(et||gt)||ct===!1}function _e(Tt,Lt,et,gt){for(var ct=new Set(Tt),wt=new Set,Me=0;Me<=et;Me+=1){var te=Lt.get(Me)||new Set;te.forEach(function(ge){var ve=ge.key,be=ge.node,Fe=ge.children,Pe=Fe===void 0?[]:Fe;ct.has(ve)&&!gt(be)&&Pe.filter(function(Ie){return!gt(Ie.node)}).forEach(function(Ie){ct.add(Ie.key)})})}for(var ne=new Set,ce=et;ce>=0;ce-=1){var se=Lt.get(ce)||new Set;se.forEach(function(ge){var ve=ge.parent,be=ge.node;if(!(gt(be)||!ge.parent||ne.has(ge.parent.key))){if(gt(ge.parent.node)){ne.add(ve.key);return}var Fe=!0,Pe=!1;(ve.children||[]).filter(function(Ie){return!gt(Ie.node)}).forEach(function(Ie){var We=Ie.key,Ke=ct.has(We);Fe&&!Ke&&(Fe=!1),!Pe&&(Ke||wt.has(We))&&(Pe=!0)}),Fe&&ct.add(ve.key),Pe&&wt.add(ve.key),ne.add(ve.key)}})}return{checkedKeys:Array.from(ct),halfCheckedKeys:Array.from(He(wt,ct))}}function vt(Tt,Lt,et,gt,ct){for(var wt=new Set(Tt),Me=new Set(Lt),te=0;te<=gt;te+=1){var ne=et.get(te)||new Set;ne.forEach(function(ve){var be=ve.key,Fe=ve.node,Pe=ve.children,Ie=Pe===void 0?[]:Pe;!wt.has(be)&&!Me.has(be)&&!ct(Fe)&&Ie.filter(function(We){return!ct(We.node)}).forEach(function(We){wt.delete(We.key)})})}Me=new Set;for(var ce=new Set,se=gt;se>=0;se-=1){var ge=et.get(se)||new Set;ge.forEach(function(ve){var be=ve.parent,Fe=ve.node;if(!(ct(Fe)||!ve.parent||ce.has(ve.parent.key))){if(ct(ve.parent.node)){ce.add(be.key);return}var Pe=!0,Ie=!1;(be.children||[]).filter(function(We){return!ct(We.node)}).forEach(function(We){var Ke=We.key,Xe=wt.has(Ke);Pe&&!Xe&&(Pe=!1),!Ie&&(Xe||Me.has(Ke))&&(Ie=!0)}),Pe||wt.delete(be.key),Ie&&Me.add(be.key),ce.add(be.key)}})}return{checkedKeys:Array.from(wt),halfCheckedKeys:Array.from(He(Me,wt))}}function ke(Tt,Lt,et,gt){var ct=[],wt;gt?wt=gt:wt=Rt;var Me=new Set(Tt.filter(function(se){var ge=!!(0,Oe.Z)(et,se);return ge||ct.push(se),ge})),te=new Map,ne=0;Object.keys(et).forEach(function(se){var ge=et[se],ve=ge.level,be=te.get(ve);be||(be=new Set,te.set(ve,be)),be.add(ge),ne=Math.max(ne,ve)}),(0,Se.ZP)(!ct.length,"Tree missing follow keys: ".concat(ct.slice(0,100).map(function(se){return"'".concat(se,"'")}).join(", ")));var ce;return Lt===!0?ce=_e(Me,te,ne,wt):ce=vt(Me,Lt.halfCheckedKeys,te,ne,wt),ce}},67841:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Se}});function Se(Oe,He){return Oe[He]}},71430:function(Rn,Fn,ye){"use strict";ye.d(Fn,{F:function(){return ve},H8:function(){return ge},I8:function(){return se},km:function(){return ct},oH:function(){return ne},w$:function(){return wt},zn:function(){return te}});var Se=ye(80665),Oe=ye(26390),He=ye(57259),Rt=ye(19149),_e=ye(38298),vt=ye(64002),ke=ye(51395),Tt=ye(67841),Lt=["children"];function et(be,Fe){return"".concat(be,"-").concat(Fe)}function gt(be){return be&&be.type&&be.type.isTreeNode}function ct(be,Fe){return be!=null?be:Fe}function wt(be){var Fe=be||{},Pe=Fe.title,Ie=Fe._title,We=Fe.key,Ke=Fe.children,Xe=Pe||"title";return{title:Xe,_title:Ie||[Xe],key:We||"key",children:Ke||"children"}}function Me(be,Fe){var Pe=new Map;function Ie(We){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(We||[]).forEach(function(Xe){var ht=Xe[Fe.key],Ve=Xe[Fe.children];warning(ht!=null,"Tree node must have a certain key: [".concat(Ke).concat(ht,"]"));var Nt=String(ht);warning(!Pe.has(Nt)||ht===null||ht===void 0,"Same 'key' exist in the Tree: ".concat(Nt)),Pe.set(Nt,!0),Ie(Ve,"".concat(Ke).concat(Nt," > "))})}Ie(be)}function te(be){function Fe(Pe){var Ie=(0,_e.Z)(Pe);return Ie.map(function(We){if(!gt(We))return(0,ke.ZP)(!We,"Tree/TreeNode can only accept TreeNode as children."),null;var Ke=We.key,Xe=We.props,ht=Xe.children,Ve=(0,Rt.Z)(Xe,Lt),Nt=(0,He.Z)({key:Ke},Ve),qe=Fe(ht);return qe.length&&(Nt.children=qe),Nt}).filter(function(We){return We})}return Fe(be)}function ne(be,Fe,Pe){var Ie=wt(Pe),We=Ie._title,Ke=Ie.key,Xe=Ie.children,ht=new Set(Fe===!0?[]:Fe),Ve=[];function Nt(qe){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return qe.map(function(Zt,Yt){for(var Ot=et(Ht?Ht.pos:"0",Yt),Qt=ct(Zt[Ke],Ot),dt,Re=0;Re1&&arguments[1]!==void 0?arguments[1]:{},Pe=Fe.initWrapper,Ie=Fe.processEntity,We=Fe.onProcessFinished,Ke=Fe.externalGetKey,Xe=Fe.childrenPropName,ht=Fe.fieldNames,Ve=arguments.length>2?arguments[2]:void 0,Nt=Ke||Ve,qe={},Ht={},Zt={posEntities:qe,keyEntities:Ht};return Pe&&(Zt=Pe(Zt)||Zt),ce(be,function(Yt){var Ot=Yt.node,Qt=Yt.index,dt=Yt.pos,Re=Yt.key,Mt=Yt.parentPos,Pn=Yt.level,mn=Yt.nodes,kt={node:Ot,nodes:mn,index:Qt,key:Re,pos:dt,level:Pn},_t=ct(Re,dt);qe[dt]=kt,Ht[_t]=kt,kt.parent=qe[Mt],kt.parent&&(kt.parent.children=kt.parent.children||[],kt.parent.children.push(kt)),Ie&&Ie(kt,Zt)},{externalGetKey:Nt,childrenPropName:Xe,fieldNames:ht}),We&&We(Zt),Zt}function ge(be,Fe){var Pe=Fe.expandedKeys,Ie=Fe.selectedKeys,We=Fe.loadedKeys,Ke=Fe.loadingKeys,Xe=Fe.checkedKeys,ht=Fe.halfCheckedKeys,Ve=Fe.dragOverNodeKey,Nt=Fe.dropPosition,qe=Fe.keyEntities,Ht=(0,Tt.Z)(qe,be),Zt={eventKey:be,expanded:Pe.indexOf(be)!==-1,selected:Ie.indexOf(be)!==-1,loaded:We.indexOf(be)!==-1,loading:Ke.indexOf(be)!==-1,checked:Xe.indexOf(be)!==-1,halfChecked:ht.indexOf(be)!==-1,pos:String(Ht?Ht.pos:""),dragOver:Ve===be&&Nt===0,dragOverGapTop:Ve===be&&Nt===-1,dragOverGapBottom:Ve===be&&Nt===1};return Zt}function ve(be){var Fe=be.data,Pe=be.expanded,Ie=be.selected,We=be.checked,Ke=be.loaded,Xe=be.loading,ht=be.halfChecked,Ve=be.dragOver,Nt=be.dragOverGapTop,qe=be.dragOverGapBottom,Ht=be.pos,Zt=be.active,Yt=be.eventKey,Ot=(0,He.Z)((0,He.Z)({},Fe),{},{expanded:Pe,selected:Ie,checked:We,loaded:Ke,loading:Xe,halfChecked:ht,dragOver:Ve,dragOverGapTop:Nt,dragOverGapBottom:qe,pos:Ht,active:Zt,key:Yt});return"props"in Ot||Object.defineProperty(Ot,"props",{get:function(){return(0,ke.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),be}}),Ot}},8178:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Oe}});var Se=ye(4676);function Oe(He,Rt,_e,vt){var ke=Se.unstable_batchedUpdates?function(Lt){Se.unstable_batchedUpdates(_e,Lt)}:_e;return He!=null&&He.addEventListener&&He.addEventListener(Rt,ke,vt),{remove:function(){He!=null&&He.removeEventListener&&He.removeEventListener(Rt,ke,vt)}}}},21783:function(Rn,Fn,ye){"use strict";ye.d(Fn,{g1:function(){return gt},os:function(){return wt}});var Se=/margin|padding|width|height|max|min|offset/,Oe={left:!0,top:!0},He={cssFloat:1,styleFloat:1,float:1};function Rt(Me){return Me.nodeType===1?Me.ownerDocument.defaultView.getComputedStyle(Me,null):{}}function _e(Me,te,ne){if(te=te.toLowerCase(),ne==="auto"){if(te==="height")return Me.offsetHeight;if(te==="width")return Me.offsetWidth}return te in Oe||(Oe[te]=Se.test(te)),Oe[te]?parseFloat(ne)||0:ne}function vt(Me,te){var ne=arguments.length,ce=Rt(Me);return te=He[te]?"cssFloat"in Me.style?"cssFloat":"styleFloat":te,ne===1?ce:_e(Me,te,ce[te]||Me.style[te])}function ke(Me,te,ne){var ce=arguments.length;if(te=He[te]?"cssFloat"in Me.style?"cssFloat":"styleFloat":te,ce===3)return typeof ne=="number"&&Se.test(te)&&(ne="".concat(ne,"px")),Me.style[te]=ne,ne;for(var se in te)te.hasOwnProperty(se)&&ke(Me,se,te[se]);return Rt(Me)}function Tt(Me){return Me===document.body?document.documentElement.clientWidth:Me.offsetWidth}function Lt(Me){return Me===document.body?window.innerHeight||document.documentElement.clientHeight:Me.offsetHeight}function et(){var Me=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),te=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Me,height:te}}function gt(){var Me=document.documentElement.clientWidth,te=window.innerHeight||document.documentElement.clientHeight;return{width:Me,height:te}}function ct(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function wt(Me){var te=Me.getBoundingClientRect(),ne=document.documentElement;return{left:te.left+(window.pageXOffset||ne.scrollLeft)-(ne.clientLeft||document.body.clientLeft||0),top:te.top+(window.pageYOffset||ne.scrollTop)-(ne.clientTop||document.body.clientTop||0)}}},24387:function(Rn,Fn,ye){"use strict";ye.d(Fn,{G:function(){return Rt}});var Se=ye(87746),Oe=function(vt){if((0,Se.Z)()&&window.document.documentElement){var ke=Array.isArray(vt)?vt:[vt],Tt=window.document.documentElement;return ke.some(function(Lt){return Lt in Tt.style})}return!1},He=function(vt,ke){if(!Oe(vt))return!1;var Tt=document.createElement("div"),Lt=Tt.style[vt];return Tt.style[vt]=ke,Tt.style[vt]!==Lt};function Rt(_e,vt){return!Array.isArray(_e)&&vt!==void 0?He(_e,vt):Oe(_e)}},21881:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return ci}});var Se=ye(5891),Oe=ye(80665),He=ye(57259),Rt=ye(80962),_e=ye(29043),vt=ye(19149),ke=ye(92310),Tt=ye.n(ke),Lt=ye(29301),et=ye(80764),gt=ye(28800),ct=ye(59301),wt=ye(4676),Me=ct.forwardRef(function(Tn,tn){var $t=Tn.height,ft=Tn.offsetY,Je=Tn.offsetX,Gt=Tn.children,At=Tn.prefixCls,lt=Tn.onInnerResize,Ge=Tn.innerProps,Be=Tn.rtl,we=Tn.extra,pe={},De={display:"flex",flexDirection:"column"};return ft!==void 0&&(pe={height:$t,position:"relative",overflow:"hidden"},De=(0,He.Z)((0,He.Z)({},De),{},(0,Rt.Z)((0,Rt.Z)((0,Rt.Z)((0,Rt.Z)((0,Rt.Z)({transform:"translateY(".concat(ft,"px)")},Be?"marginRight":"marginLeft",-Je),"position","absolute"),"left",0),"right",0),"top",0))),ct.createElement("div",{style:pe},ct.createElement(Lt.Z,{onResize:function(Le){var nt=Le.offsetHeight;nt&<&<()}},ct.createElement("div",(0,Se.Z)({style:De,className:Tt()((0,Rt.Z)({},"".concat(At,"-holder-inner"),At)),ref:tn},Ge),Gt,we)))});Me.displayName="Filler";var te=Me;function ne(Tn){var tn=Tn.children,$t=Tn.setRef,ft=ct.useCallback(function(Je){$t(Je)},[]);return ct.cloneElement(tn,{ref:ft})}function ce(Tn,tn,$t,ft,Je,Gt,At,lt){var Ge=lt.getKey;return Tn.slice(tn,$t+1).map(function(Be,we){var pe=tn+we,De=At(Be,pe,{style:{width:ft},offsetX:Je}),ze=Ge(Be);return ct.createElement(ne,{key:ze,setRef:function(nt){return Gt(Be,nt)}},De)})}function se(Tn,tn,$t,ft){var Je=$t-Tn,Gt=tn-$t,At=Math.min(Je,Gt)*2;if(ft<=At){var lt=Math.floor(ft/2);return ft%2?$t+lt+1:$t-lt}return Je>Gt?$t-(ft-Gt):$t+(ft-Je)}function ge(Tn,tn,$t){var ft=Tn.length,Je=tn.length,Gt,At;if(ft===0&&Je===0)return null;ft2&&arguments[2]!==void 0?arguments[2]:!1,pe=Ge?Be<0&<.current.left||Be>0&<.current.right:Be<0&<.current.top||Be>0&<.current.bottom;return we&&pe?(clearTimeout(Gt.current),Je.current=!1):(!pe||Je.current)&&At(),!Je.current&&pe}};function We(Tn,tn,$t,ft,Je,Gt,At){var lt=(0,ct.useRef)(0),Ge=(0,ct.useRef)(null),Be=(0,ct.useRef)(null),we=(0,ct.useRef)(!1),pe=Ie(tn,$t,ft,Je);function De(rn,vn){if(be.Z.cancel(Ge.current),!pe(!1,vn)){var mi=rn;if(!mi._virtualHandled)mi._virtualHandled=!0;else return;lt.current+=vn,Be.current=vn,Pe||mi.preventDefault(),Ge.current=(0,be.Z)(function(){var wi=we.current?10:1;At(lt.current*wi,!1),lt.current=0})}}function ze(rn,vn){At(vn,!0),Pe||rn.preventDefault()}var Le=(0,ct.useRef)(null),nt=(0,ct.useRef)(null);function Ut(rn){if(Tn){be.Z.cancel(nt.current),nt.current=(0,be.Z)(function(){Le.current=null},2);var vn=rn.deltaX,mi=rn.deltaY,wi=rn.shiftKey,Ri=vn,Wi=mi;(Le.current==="sx"||!Le.current&&wi&&mi&&!vn)&&(Ri=mi,Wi=0,Le.current="sx");var Mn=Math.abs(Ri),nr=Math.abs(Wi);Le.current===null&&(Le.current=Gt&&Mn>nr?"x":"y"),Le.current==="y"?De(rn,Wi):ze(rn,Ri)}}function En(rn){Tn&&(we.current=rn.detail===Be.current)}return[Ut,En]}function Ke(Tn,tn,$t,ft){var Je=ct.useMemo(function(){return[new Map,[]]},[Tn,$t.id,ft]),Gt=(0,_e.Z)(Je,2),At=Gt[0],lt=Gt[1],Ge=function(we){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:we,De=At.get(we),ze=At.get(pe);if(De===void 0||ze===void 0)for(var Le=Tn.length,nt=lt.length;nt0&&arguments[0]!==void 0?arguments[0]:!1;we();var Le=function(){var En=!1;lt.current.forEach(function(rn,vn){if(rn&&rn.offsetParent){var mi=(0,Xe.ZP)(rn),wi=mi.offsetHeight,Ri=getComputedStyle(mi),Wi=Ri.marginTop,Mn=Ri.marginBottom,nr=Ht(Wi),Wr=Ht(Mn),Hr=wi+nr+Wr;Ge.current.get(vn)!==Hr&&(Ge.current.set(vn,Hr),En=!0)}}),En&&At(function(rn){return rn+1})};if(ze)Le();else{Be.current+=1;var nt=Be.current;Promise.resolve().then(function(){nt===Be.current&&Le()})}}function De(ze,Le){var nt=Tn(ze),Ut=lt.current.get(nt);Le?(lt.current.set(nt,Le),pe()):lt.current.delete(nt),!Ut!=!Le&&(Le?tn==null||tn(ze):$t==null||$t(ze))}return(0,ct.useEffect)(function(){return we},[]),[De,pe,Ge.current,Gt]}var Yt=14/15;function Ot(Tn,tn,$t){var ft=(0,ct.useRef)(!1),Je=(0,ct.useRef)(0),Gt=(0,ct.useRef)(0),At=(0,ct.useRef)(null),lt=(0,ct.useRef)(null),Ge,Be=function(ze){if(ft.current){var Le=Math.ceil(ze.touches[0].pageX),nt=Math.ceil(ze.touches[0].pageY),Ut=Je.current-Le,En=Gt.current-nt,rn=Math.abs(Ut)>Math.abs(En);rn?Je.current=Le:Gt.current=nt;var vn=$t(rn,rn?Ut:En,!1,ze);vn&&ze.preventDefault(),clearInterval(lt.current),vn&&(lt.current=setInterval(function(){rn?Ut*=Yt:En*=Yt;var mi=Math.floor(rn?Ut:En);(!$t(rn,mi,!0)||Math.abs(mi)<=.1)&&clearInterval(lt.current)},16))}},we=function(){ft.current=!1,Ge()},pe=function(ze){Ge(),ze.touches.length===1&&!ft.current&&(ft.current=!0,Je.current=Math.ceil(ze.touches[0].pageX),Gt.current=Math.ceil(ze.touches[0].pageY),At.current=ze.target,At.current.addEventListener("touchmove",Be,{passive:!1}),At.current.addEventListener("touchend",we,{passive:!0}))};Ge=function(){At.current&&(At.current.removeEventListener("touchmove",Be),At.current.removeEventListener("touchend",we))},(0,gt.Z)(function(){return Tn&&tn.current.addEventListener("touchstart",pe,{passive:!0}),function(){var De;(De=tn.current)===null||De===void 0||De.removeEventListener("touchstart",pe),Ge(),clearInterval(lt.current)}},[Tn])}function Qt(Tn){return Math.floor(Math.pow(Tn,.5))}function dt(Tn,tn){var $t="touches"in Tn?Tn.touches[0]:Tn;return $t[tn?"pageX":"pageY"]-window[tn?"scrollX":"scrollY"]}function Re(Tn,tn,$t){ct.useEffect(function(){var ft=tn.current;if(Tn&&ft){var Je=!1,Gt,At,lt=function(){be.Z.cancel(Gt)},Ge=function De(){lt(),Gt=(0,be.Z)(function(){$t(At),De()})},Be=function(ze){var Le=ze;Le._virtualHandled||(Le._virtualHandled=!0,Je=!0)},we=function(){Je=!1,lt()},pe=function(ze){if(Je){var Le=dt(ze,!1),nt=ft.getBoundingClientRect(),Ut=nt.top,En=nt.bottom;if(Le<=Ut){var rn=Ut-Le;At=-Qt(rn),Ge()}else if(Le>=En){var vn=Le-En;At=Qt(vn),Ge()}else lt()}};return ft.addEventListener("mousedown",Be),ft.ownerDocument.addEventListener("mouseup",we),ft.ownerDocument.addEventListener("mousemove",pe),function(){ft.removeEventListener("mousedown",Be),ft.ownerDocument.removeEventListener("mouseup",we),ft.ownerDocument.removeEventListener("mousemove",pe),lt()}}},[Tn])}var Mt=10;function Pn(Tn,tn,$t,ft,Je,Gt,At,lt){var Ge=ct.useRef(),Be=ct.useState(null),we=(0,_e.Z)(Be,2),pe=we[0],De=we[1];return(0,gt.Z)(function(){if(pe&&pe.times=0;Yr-=1){var Kr=Je(tn[Yr]),ar=$t.get(Kr);if(ar===void 0){rn=!0;break}if(Fr-=ar,Fr<=0)break}switch(wi){case"top":mi=Wi-Ut;break;case"bottom":mi=Mn-En+Ut;break;default:{var Co=Tn.current.scrollTop,$n=Co+En;Wi$n&&(vn="bottom")}}mi!==null&&At(mi),mi!==pe.lastTop&&(rn=!0)}rn&&De((0,He.Z)((0,He.Z)({},pe),{},{times:pe.times+1,targetAlign:vn,lastTop:mi}))}},[pe,Tn.current]),function(ze){if(ze==null){lt();return}if(be.Z.cancel(Ge.current),typeof ze=="number")At(ze);else if(ze&&(0,Oe.Z)(ze)==="object"){var Le,nt=ze.align;"index"in ze?Le=ze.index:Le=tn.findIndex(function(rn){return Je(rn)===ze.key});var Ut=ze.offset,En=Ut===void 0?0:Ut;De({times:0,index:Le,offset:En,originAlign:nt})}}}var mn=ct.forwardRef(function(Tn,tn){var $t=Tn.prefixCls,ft=Tn.rtl,Je=Tn.scrollOffset,Gt=Tn.scrollRange,At=Tn.onStartMove,lt=Tn.onStopMove,Ge=Tn.onScroll,Be=Tn.horizontal,we=Tn.spinSize,pe=Tn.containerSize,De=Tn.style,ze=Tn.thumbStyle,Le=ct.useState(!1),nt=(0,_e.Z)(Le,2),Ut=nt[0],En=nt[1],rn=ct.useState(null),vn=(0,_e.Z)(rn,2),mi=vn[0],wi=vn[1],Ri=ct.useState(null),Wi=(0,_e.Z)(Ri,2),Mn=Wi[0],nr=Wi[1],Wr=!ft,Hr=ct.useRef(),Tr=ct.useRef(),Fr=ct.useState(!1),Yr=(0,_e.Z)(Fr,2),Kr=Yr[0],ar=Yr[1],Co=ct.useRef(),$n=function(){clearTimeout(Co.current),ar(!0),Co.current=setTimeout(function(){ar(!1)},3e3)},Ce=Gt-pe||0,hi=pe-we||0,ki=ct.useMemo(function(){if(Je===0||Ce===0)return 0;var tt=Je/Ce;return tt*hi},[Je,Ce,hi]),un=function(qt){qt.stopPropagation(),qt.preventDefault()},Wn=ct.useRef({top:ki,dragging:Ut,pageY:mi,startTop:Mn});Wn.current={top:ki,dragging:Ut,pageY:mi,startTop:Mn};var li=function(qt){En(!0),wi(dt(qt,Be)),nr(Wn.current.top),At(),qt.stopPropagation(),qt.preventDefault()};ct.useEffect(function(){var tt=function(Ye){Ye.preventDefault()},qt=Hr.current,dn=Tr.current;return qt.addEventListener("touchstart",tt,{passive:!1}),dn.addEventListener("touchstart",li,{passive:!1}),function(){qt.removeEventListener("touchstart",tt),dn.removeEventListener("touchstart",li)}},[]);var fn=ct.useRef();fn.current=Ce;var on=ct.useRef();on.current=hi,ct.useEffect(function(){if(Ut){var tt,qt=function(Ye){var an=Wn.current,Bt=an.dragging,jn=an.pageY,cn=an.startTop;be.Z.cancel(tt);var Et=Hr.current.getBoundingClientRect(),xn=pe/(Be?Et.width:Et.height);if(Bt){var Qn=(dt(Ye,Be)-jn)*xn,Un=cn;!Wr&&Be?Un-=Qn:Un+=Qn;var zt=fn.current,Sn=on.current,Ci=Sn?Un/Sn:0,Si=Math.ceil(Ci*zt);Si=Math.max(Si,0),Si=Math.min(Si,zt),tt=(0,be.Z)(function(){Ge(Si,Be)})}},dn=function(){En(!1),lt()};return window.addEventListener("mousemove",qt,{passive:!0}),window.addEventListener("touchmove",qt,{passive:!0}),window.addEventListener("mouseup",dn,{passive:!0}),window.addEventListener("touchend",dn,{passive:!0}),function(){window.removeEventListener("mousemove",qt),window.removeEventListener("touchmove",qt),window.removeEventListener("mouseup",dn),window.removeEventListener("touchend",dn),be.Z.cancel(tt)}}},[Ut]),ct.useEffect(function(){return $n(),function(){clearTimeout(Co.current)}},[Je]),ct.useImperativeHandle(tn,function(){return{delayHidden:$n}});var mt="".concat($t,"-scrollbar"),Pt={position:"absolute",visibility:Kr?null:"hidden"},bt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return Be?(Pt.height=8,Pt.left=0,Pt.right=0,Pt.bottom=0,bt.height="100%",bt.width=we,Wr?bt.left=ki:bt.right=ki):(Pt.width=8,Pt.top=0,Pt.bottom=0,Wr?Pt.right=0:Pt.left=0,bt.width="100%",bt.height=we,bt.top=ki),ct.createElement("div",{ref:Hr,className:Tt()(mt,(0,Rt.Z)((0,Rt.Z)((0,Rt.Z)({},"".concat(mt,"-horizontal"),Be),"".concat(mt,"-vertical"),!Be),"".concat(mt,"-visible"),Kr)),style:(0,He.Z)((0,He.Z)({},Pt),De),onMouseDown:un,onMouseMove:$n},ct.createElement("div",{ref:Tr,className:Tt()("".concat(mt,"-thumb"),(0,Rt.Z)({},"".concat(mt,"-thumb-moving"),Ut)),style:(0,He.Z)((0,He.Z)({},bt),ze),onMouseDown:li}))}),kt=mn,_t=20;function ln(){var Tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,$t=Tn/tn*Tn;return isNaN($t)&&($t=0),$t=Math.max($t,_t),Math.floor($t)}var Bn=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],wn=[],Kn={overflowY:"auto",overflowAnchor:"none"};function yt(Tn,tn){var $t=Tn.prefixCls,ft=$t===void 0?"rc-virtual-list":$t,Je=Tn.className,Gt=Tn.height,At=Tn.itemHeight,lt=Tn.fullHeight,Ge=lt===void 0?!0:lt,Be=Tn.style,we=Tn.data,pe=Tn.children,De=Tn.itemKey,ze=Tn.virtual,Le=Tn.direction,nt=Tn.scrollWidth,Ut=Tn.component,En=Ut===void 0?"div":Ut,rn=Tn.onScroll,vn=Tn.onVirtualScroll,mi=Tn.onVisibleChange,wi=Tn.innerProps,Ri=Tn.extraRender,Wi=Tn.styles,Mn=(0,vt.Z)(Tn,Bn),nr=ct.useCallback(function(On){return typeof De=="function"?De(On):On==null?void 0:On[De]},[De]),Wr=Zt(nr,null,null),Hr=(0,_e.Z)(Wr,4),Tr=Hr[0],Fr=Hr[1],Yr=Hr[2],Kr=Hr[3],ar=!!(ze!==!1&&Gt&&At),Co=ct.useMemo(function(){return Object.values(Yr.maps).reduce(function(On,Wt){return On+Wt},0)},[Yr.id,Yr.maps]),$n=ar&&we&&(Math.max(At*we.length,Co)>Gt||!!nt),Ce=Le==="rtl",hi=Tt()(ft,(0,Rt.Z)({},"".concat(ft,"-rtl"),Ce),Je),ki=we||wn,un=(0,ct.useRef)(),Wn=(0,ct.useRef)(),li=(0,ct.useRef)(),fn=(0,ct.useState)(0),on=(0,_e.Z)(fn,2),mt=on[0],Pt=on[1],bt=(0,ct.useState)(0),tt=(0,_e.Z)(bt,2),qt=tt[0],dn=tt[1],xt=(0,ct.useState)(!1),Ye=(0,_e.Z)(xt,2),an=Ye[0],Bt=Ye[1],jn=function(){Bt(!0)},cn=function(){Bt(!1)},Et={getKey:nr};function xn(On){Pt(function(Wt){var Nn;typeof On=="function"?Nn=On(Wt):Nn=On;var ai=Er(Nn);return un.current.scrollTop=ai,ai})}var Qn=(0,ct.useRef)({start:0,end:ki.length}),Un=(0,ct.useRef)(),zt=ve(ki,nr),Sn=(0,_e.Z)(zt,1),Ci=Sn[0];Un.current=Ci;var Si=ct.useMemo(function(){if(!ar)return{scrollHeight:void 0,start:0,end:ki.length-1,offset:void 0};if(!$n){var On;return{scrollHeight:((On=Wn.current)===null||On===void 0?void 0:On.offsetHeight)||0,start:0,end:ki.length-1,offset:void 0}}for(var Wt=0,Nn,ai,qn,Oi=ki.length,Bi=0;Bi=mt&&Nn===void 0&&(Nn=Bi,ai=Wt),_r>mt+Gt&&qn===void 0&&(qn=Bi),Wt=_r}return Nn===void 0&&(Nn=0,ai=0,qn=Math.ceil(Gt/At)),qn===void 0&&(qn=ki.length-1),qn=Math.min(qn+1,ki.length-1),{scrollHeight:Wt,start:Nn,end:qn,offset:ai}},[$n,ar,mt,ki,Kr,Gt]),vi=Si.scrollHeight,ti=Si.start,xi=Si.end,Ni=Si.offset;Qn.current.start=ti,Qn.current.end=xi,ct.useLayoutEffect(function(){var On=Yr.getRecord();if(On.size===1){var Wt=Array.from(On)[0],Nn=nr(ki[ti]);if(Nn===Wt){var ai=Yr.get(Wt),qn=ai-At;xn(function(Oi){return Oi+qn})}}Yr.resetRecord()},[vi]);var Zi=ct.useState({width:0,height:Gt}),cr=(0,_e.Z)(Zi,2),Gn=cr[0],Ai=cr[1],br=function(Wt){Ai({width:Wt.offsetWidth,height:Wt.offsetHeight})},kr=(0,ct.useRef)(),Sr=(0,ct.useRef)(),Xt=ct.useMemo(function(){return ln(Gn.width,nt)},[Gn.width,nt]),Li=ct.useMemo(function(){return ln(Gn.height,vi)},[Gn.height,vi]),rr=vi-Gt,Hi=(0,ct.useRef)(rr);Hi.current=rr;function Er(On){var Wt=On;return Number.isNaN(Hi.current)||(Wt=Math.min(Wt,Hi.current)),Wt=Math.max(Wt,0),Wt}var dr=mt<=0,Nr=mt>=rr,Ti=qt<=0,Qi=qt>=nt,er=Ie(dr,Nr,Ti,Qi),kn=function(){return{x:Ce?-qt:qt,y:mt}},Dr=(0,ct.useRef)(kn()),Ln=(0,et.useEvent)(function(On){if(vn){var Wt=(0,He.Z)((0,He.Z)({},kn()),On);(Dr.current.x!==Wt.x||Dr.current.y!==Wt.y)&&(vn(Wt),Dr.current=Wt)}});function pr(On,Wt){var Nn=On;Wt?((0,wt.flushSync)(function(){dn(Nn)}),Ln()):xn(Nn)}function Qr(On){var Wt=On.currentTarget.scrollTop;Wt!==mt&&xn(Wt),rn==null||rn(On),Ln()}var vr=function(Wt){var Nn=Wt,ai=nt?nt-Gn.width:0;return Nn=Math.max(Nn,0),Nn=Math.min(Nn,ai),Nn},Ho=(0,et.useEvent)(function(On,Wt){Wt?((0,wt.flushSync)(function(){dn(function(Nn){var ai=Nn+(Ce?-On:On);return vr(ai)})}),Ln()):xn(function(Nn){var ai=Nn+On;return ai})}),co=We(ar,dr,Nr,Ti,Qi,!!nt,Ho),mr=(0,_e.Z)(co,2),hr=mr[0],fr=mr[1];Ot(ar,un,function(On,Wt,Nn,ai){var qn=ai;return er(On,Wt,Nn)?!1:!qn||!qn._virtualHandled?(qn&&(qn._virtualHandled=!0),hr({preventDefault:function(){},deltaX:On?Wt:0,deltaY:On?0:Wt}),!0):!1}),Re($n,un,function(On){xn(function(Wt){return Wt+On})}),(0,gt.Z)(function(){function On(Nn){var ai=dr&&Nn.detail<0,qn=Nr&&Nn.detail>0;ar&&!ai&&!qn&&Nn.preventDefault()}var Wt=un.current;return Wt.addEventListener("wheel",hr,{passive:!1}),Wt.addEventListener("DOMMouseScroll",fr,{passive:!0}),Wt.addEventListener("MozMousePixelScroll",On,{passive:!1}),function(){Wt.removeEventListener("wheel",hr),Wt.removeEventListener("DOMMouseScroll",fr),Wt.removeEventListener("MozMousePixelScroll",On)}},[ar,dr,Nr]),(0,gt.Z)(function(){if(nt){var On=vr(qt);dn(On),Ln({x:On})}},[Gn.width,nt]);var Vr=function(){var Wt,Nn;(Wt=kr.current)===null||Wt===void 0||Wt.delayHidden(),(Nn=Sr.current)===null||Nn===void 0||Nn.delayHidden()},Ii=Pn(un,ki,Yr,At,nr,function(){return Fr(!0)},xn,Vr);ct.useImperativeHandle(tn,function(){return{nativeElement:li.current,getScrollInfo:kn,scrollTo:function(Wt){function Nn(ai){return ai&&(0,Oe.Z)(ai)==="object"&&("left"in ai||"top"in ai)}Nn(Wt)?(Wt.left!==void 0&&dn(vr(Wt.left)),Ii(Wt.top)):Ii(Wt)}}}),(0,gt.Z)(function(){if(mi){var On=ki.slice(ti,xi+1);mi(On,ki)}},[ti,xi,ki]);var Qe=Ke(ki,nr,Yr,At),pt=Ri==null?void 0:Ri({start:ti,end:xi,virtual:$n,offsetX:qt,offsetY:Ni,rtl:Ce,getSize:Qe}),It=ce(ki,ti,xi,nt,qt,Tr,pe,Et),sn=null;Gt&&(sn=(0,He.Z)((0,Rt.Z)({},Ge?"height":"maxHeight",Gt),Kn),ar&&(sn.overflowY="hidden",nt&&(sn.overflowX="hidden"),an&&(sn.pointerEvents="none")));var Hn={};return Ce&&(Hn.dir="rtl"),ct.createElement("div",(0,Se.Z)({ref:li,style:(0,He.Z)((0,He.Z)({},Be),{},{position:"relative"}),className:hi},Hn,Mn),ct.createElement(Lt.Z,{onResize:br},ct.createElement(En,{className:"".concat(ft,"-holder"),style:sn,ref:un,onScroll:Qr,onMouseEnter:Vr},ct.createElement(te,{prefixCls:ft,height:vi,offsetX:qt,offsetY:Ni,scrollWidth:nt,onInnerResize:Fr,ref:Wn,innerProps:wi,rtl:Ce,extra:pt},It))),$n&&vi>Gt&&ct.createElement(kt,{ref:kr,prefixCls:ft,scrollOffset:mt,scrollRange:vi,rtl:Ce,onScroll:pr,onStartMove:jn,onStopMove:cn,spinSize:Li,containerSize:Gn.height,style:Wi==null?void 0:Wi.verticalScrollBar,thumbStyle:Wi==null?void 0:Wi.verticalScrollBarThumb}),$n&&nt>Gn.width&&ct.createElement(kt,{ref:Sr,prefixCls:ft,scrollOffset:qt,scrollRange:nt,rtl:Ce,onScroll:pr,onStartMove:jn,onStopMove:cn,spinSize:Xt,containerSize:Gn.width,horizontal:!0,style:Wi==null?void 0:Wi.horizontalScrollBar,thumbStyle:Wi==null?void 0:Wi.horizontalScrollBarThumb}))}var Jn=ct.forwardRef(yt);Jn.displayName="List";var bn=Jn,ci=bn},25510:function(Rn){"use strict";Rn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2SOMjmEGBYICQYGgQFBgJ1MgAMtO5l70PSgQFAgKBAWCAnuEAgFY9gijY5hBgaBAUCAoEBTYyRQIwLKTuRd9DwoEBYICQYGgwB6hQACWPcLoGGZQICgQFAgKBAV2MgUCsOxk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DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScK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jYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(Rn,Fn,ye){"use strict";Rn.exports=ye.p+"static/AssistantCode3.a8740efb.jpeg"},93314:function(Rn){"use strict";Rn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBF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jrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},16722:function(Rn,Fn,ye){"use strict";ye.d(Fn,{Z:function(){return Tt}});const Se=Lt=>typeof Lt=="object"&&Lt!=null&&Lt.nodeType===1,Oe=(Lt,et)=>(!et||Lt!=="hidden")&&Lt!=="visible"&&Lt!=="clip",He=(Lt,et)=>{if(Lt.clientHeight{const wt=(Me=>{if(!Me.ownerDocument||!Me.ownerDocument.defaultView)return null;try{return Me.ownerDocument.defaultView.frameElement}catch(te){return null}})(ct);return!!wt&&(wt.clientHeightMeet||Me>Lt&&te=et&&ne>=gt?Me-Lt-ct:te>et&&negt?te-et+wt:0,_e=Lt=>{const et=Lt.parentElement;return et==null?Lt.getRootNode().host||null:et},vt=(Lt,et)=>{var gt,ct,wt,Me;if(typeof document=="undefined")return[];const{scrollMode:te,block:ne,inline:ce,boundary:se,skipOverflowHiddenElements:ge}=et,ve=typeof se=="function"?se:mn=>mn!==se;if(!Se(Lt))throw new TypeError("Invalid target");const be=document.scrollingElement||document.documentElement,Fe=[];let Pe=Lt;for(;Se(Pe)&&ve(Pe);){if(Pe=_e(Pe),Pe===be){Fe.push(Pe);break}Pe!=null&&Pe===document.body&&He(Pe)&&!He(document.documentElement)||Pe!=null&&He(Pe,ge)&&Fe.push(Pe)}const Ie=(ct=(gt=window.visualViewport)==null?void 0:gt.width)!=null?ct:innerWidth,We=(Me=(wt=window.visualViewport)==null?void 0:wt.height)!=null?Me:innerHeight,{scrollX:Ke,scrollY:Xe}=window,{height:ht,width:Ve,top:Nt,right:qe,bottom:Ht,left:Zt}=Lt.getBoundingClientRect(),{top:Yt,right:Ot,bottom:Qt,left:dt}=(mn=>{const kt=window.getComputedStyle(mn);return{top:parseFloat(kt.scrollMarginTop)||0,right:parseFloat(kt.scrollMarginRight)||0,bottom:parseFloat(kt.scrollMarginBottom)||0,left:parseFloat(kt.scrollMarginLeft)||0}})(Lt);let Re=ne==="start"||ne==="nearest"?Nt-Yt:ne==="end"?Ht+Qt:Nt+ht/2-Yt+Qt,Mt=ce==="center"?Zt+Ve/2-dt+Ot:ce==="end"?qe+Ot:Zt-dt;const Pn=[];for(let mn=0;mn=0&&Zt>=0&&Ht<=We&&qe<=Ie&&(kt===be&&!He(kt)||Nt>=Bn&&Ht<=Kn&&Zt>=yt&&qe<=wn))return Pn;const Jn=getComputedStyle(kt),bn=parseInt(Jn.borderLeftWidth,10),ci=parseInt(Jn.borderTopWidth,10),Tn=parseInt(Jn.borderRightWidth,10),tn=parseInt(Jn.borderBottomWidth,10);let $t=0,ft=0;const Je="offsetWidth"in kt?kt.offsetWidth-kt.clientWidth-bn-Tn:0,Gt="offsetHeight"in kt?kt.offsetHeight-kt.clientHeight-ci-tn:0,At="offsetWidth"in kt?kt.offsetWidth===0?0:ln/kt.offsetWidth:0,lt="offsetHeight"in kt?kt.offsetHeight===0?0:_t/kt.offsetHeight:0;if(be===kt)$t=ne==="start"?Re:ne==="end"?Re-We:ne==="nearest"?Rt(Xe,Xe+We,We,ci,tn,Xe+Re,Xe+Re+ht,ht):Re-We/2,ft=ce==="start"?Mt:ce==="center"?Mt-Ie/2:ce==="end"?Mt-Ie:Rt(Ke,Ke+Ie,Ie,bn,Tn,Ke+Mt,Ke+Mt+Ve,Ve),$t=Math.max(0,$t+Xe),ft=Math.max(0,ft+Ke);else{$t=ne==="start"?Re-Bn-ci:ne==="end"?Re-Kn+tn+Gt:ne==="nearest"?Rt(Bn,Kn,_t,ci,tn+Gt,Re,Re+ht,ht):Re-(Bn+_t/2)+Gt/2,ft=ce==="start"?Mt-yt-bn:ce==="center"?Mt-(yt+ln/2)+Je/2:ce==="end"?Mt-wn+Tn+Je:Rt(yt,wn,ln,bn,Tn+Je,Mt,Mt+Ve,Ve);const{scrollLeft:Ge,scrollTop:Be}=kt;$t=lt===0?0:Math.max(0,Math.min(Be+$t/lt,kt.scrollHeight-_t/lt+Gt)),ft=At===0?0:Math.max(0,Math.min(Ge+ft/At,kt.scrollWidth-ln/At+Je)),Re+=Be-$t,Mt+=Ge-ft}Pn.push({el:kt,top:$t,left:ft})}return Pn},ke=Lt=>Lt===!1?{block:"end",inline:"nearest"}:(et=>et===Object(et)&&Object.keys(et).length!==0)(Lt)?Lt:{block:"start",inline:"nearest"};function Tt(Lt,et){if(!Lt.isConnected||!(wt=>{let Me=wt;for(;Me&&Me.parentNode;){if(Me.parentNode===document)return!0;Me=Me.parentNode instanceof ShadowRoot?Me.parentNode.host:Me.parentNode}return!1})(Lt))return;const gt=(wt=>{const Me=window.getComputedStyle(wt);return{top:parseFloat(Me.scrollMarginTop)||0,right:parseFloat(Me.scrollMarginRight)||0,bottom:parseFloat(Me.scrollMarginBottom)||0,left:parseFloat(Me.scrollMarginLeft)||0}})(Lt);if((wt=>typeof wt=="object"&&typeof wt.behavior=="function")(et))return et.behavior(vt(Lt,et));const ct=typeof et=="boolean"||et==null?void 0:et.behavior;for(const{el:wt,top:Me,left:te}of vt(Lt,ke(et))){const ne=Me-gt.top+gt.bottom,ce=te-gt.left+gt.right;wt.scroll({top:ne,left:ce,behavior:ct})}}}}]); }());