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

367 lines
1.3 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[292],{89489:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},59477:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},26227:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},49198:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},41464:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},87169:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},52671:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},8657:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},56082:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},33853:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},12893:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},15075:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},32134:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},43531:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},38819:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},25346:function(Qt,Gt){"use strict";Gt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},59489:function(Qt,Gt){"use strict";Gt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},62775:function(Qt,Gt){"use strict";Gt.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},79751:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(et,Ve,Ge)=>Ve in et?de(et,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):et[Ve]=Ge,le=(et,Ve)=>{for(var Ge in Ve||(Ve={}))Ne.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);if(Be)for(var Ge of Be(Ve))Ze.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);return et};const st=et=>React.createElement("svg",le({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},et),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"}));Gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},94890:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(et,Ve,Ge)=>Ve in et?de(et,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):et[Ve]=Ge,le=(et,Ve)=>{for(var Ge in Ve||(Ve={}))Ne.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);if(Be)for(var Ge of Be(Ve))Ze.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);return et};const st=et=>React.createElement("svg",le({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},et),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"}));Gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},74042:function(){"use strict";function Qt(se,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=se,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(Qt.prototype,"name",{get:function(){return this._name},set:function(se){if(typeof se!="string"||se==="")throw new Error("Shape name must be a valid string.");this._name=se}}),Object.defineProperty(Qt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("The default value must be a real number, not: "+se);this._defaultValue=se}}),Object.defineProperty(Qt.prototype,"minimum",{get:function(){return this._minimum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Minimum must be a real number, not: "+se);this._minimum=se}}),Object.defineProperty(Qt.prototype,"maximum",{get:function(){return this._maximum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Maximum must be a real number, not: "+se);this._maximum=se}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(se,E){var a=go.Shape._FigureParameters[se];return a?a[E]:null},go.Shape.setFigureParameter=function(se,E,a){if(!(a instanceof Qt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[se];x||(x=[],go.Shape._FigureParameters[se]=x),x[E]=a};var Gt=[];function ee(se,E){var a=Gt.pop();return a===void 0?new go.Point(se,E):(a.x=se,a.y=E,a)}function b(){var se=Gt.pop();return se===void 0?new go.Point:se}function de(se){Gt.push(se)}function Be(se,E,a,x,y,z,ne,re,ue){ue||(ue=new go.Point);var ie=se-a,ve=y-ne,be=NaN,je=NaN;if(ie===0)if(ve===0)se===a&&(be=se,je=E);else{var Ae=(z-re)/ve,He=z-Ae*y;be=se,je=Ae*be+He}else if(ve===0){var he=(E-x)/ie,qe=E-he*se;be=y,je=he*be+qe}else{var he=(E-x)/ie,Ae=(z-re)/ve,qe=E-he*se,He=z-Ae*y;be=(He-qe)/(he-Ae),je=he*be+qe}return ue.x=be,ue.y=je,ue}function Ne(se,E,a,x,y,z,ne,re,ue,ie,ve,be,je,Ae){var He=1-ue,he=ue,qe=se*He+a*he,Ke=E*He+x*he,ht=a*He+y*he,Le=x*He+z*he,ot=y*He+ne*he,lt=z*He+re*he,gt=qe*He+ht*he,ft=Ke*He+Le*he,ln=ht*He+ot*he,xt=Le*He+lt*he,an=gt*He+ln*he,hn=ft*He+xt*he;ie.x=qe,ie.y=Ke,ve.x=gt,ve.y=ft,be.x=an,be.y=hn,je.x=ln,je.y=xt,Ae.x=ot,Ae.y=lt}var Ze=new go.Spot(.156,.156),ke=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Qt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*le,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(se,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(se,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Ze,y.spot2=ke,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,le*E,0,E,(1-le)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,le*a,(1-le)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,le*a,le*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-le)*E,0,0,(1-le)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Qt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Qt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E:x>E&&(x=E);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new Qt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Qt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=20:x<-E?x=-E/2:x>E&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new Qt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E/2:x>E&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}});var st=[];function et(){var se=st.pop();return se===void 0?[]:se}function Ve(se){se.length=0,st.push(se)}function Ge(se){for(var E=et(),a=.5,x=.5,y=Math.PI*1.5,z=0,ne=0;ne<se;ne++)z=2*Math.PI/se*ne+y,E[ne]=new go.Point(x+a*Math.cos(z),x+a*Math.sin(z));return E.push(E[0]),E}function Je(se){var E=Ye(se),a=et();a[0]=E[0];for(var x=1,y=1;x<E.length;x+=2,y+=3)a[y]=E[x],a[y+1]=E[x],a[y+2]=E[x+1];return Ve(E),a}function Ye(se){for(var E=Ge(se),a=et(),x=Math.floor(E.length/2),y=E.length-1,z=se%2===0?2:1,ne=0;ne<y;ne++){var re=E[ne],ue=E[ne+1],ie=E[(x+ne-1)%y],ve=E[(x+ne+z)%y];a[ne*2]=re,a[ne*2+1]=Be(re.x,re.y,ie.x,ie.y,ue.x,ue.y,ve.x,ve.y,new go.Point)}return a[a.length]=a[0],Ve(E),a}go.Shape.defineFigureGenerator("Pentagon",function(se,E,a){var x=Ge(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<5;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(se,E,a){var x=Ge(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<6;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(se,E,a){var x=Ge(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<7;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(se,E,a){var x=Ge(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<8;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(se,E,a){var x=Ge(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<9;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(se,E,a){var x=Ge(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(se,E,a){var x=Ge(12),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(se,E,a){var x=Ye(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(se,E,a){var x=Ye(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(se,E,a){var x=Ye(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<14;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(se,E,a){var x=Ye(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<16;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(se,E,a){var x=Ye(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<18;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(se,E,a){var x=Ye(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<20;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(se,E,a){var x=Je(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(se,E,a){var x=Je(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(se,E,a){var x=Je(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(se,E,a){var x=Je(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(se,E,a){var x=Je(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(se,E,a){var x=Je(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new Qt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Qt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(se,E,a){var x=se?se.parameter1:NaN,y=se?se.parameter2:NaN;isNaN(x)&&(x=8),isNaN(y)&&(y=8);var z=new go.Geometry,ne=new go.PathFigure(0,0,!0);return z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<E/2&&y<a/2&&(ne.add(new go.PathSegment(go.PathSegment.Move,x,y)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a-y)),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,a-y)),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,y).close())),z.setSpots(0,0,1,1,x,y,-x,-y),z}),go.Shape.setFigureParameter("Ring",0,new Qt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var y=E/2,z=new go.Geometry,ne=new go.PathFigure(E,E/2,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var re=Math.max(y-x,0);return re>0&&(ne.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,re,re).close())),z.spot1=Ze,z.spot2=ke,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(se,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Qt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Qt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(se,E,a){var x=se?se.parameter1:NaN,y=se?se.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var ne=y%360,re=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ne,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(se,E,a){var x=le/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(se,E,a){var x=se?se.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,ne=a/2,re=Math.atan2(a,E),ue=x-Math.min(Math.cos(re)*x/2,z),ie=x-Math.min(Math.sin(re)*x/2,ne),y=new go.Geometry,ve=new go.PathFigure(ue,0,!0);return y.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),ve.add(new go.PathSegment(go.PathSegment.Line,E-ue,0)),ve.add(new go.PathSegment(go.PathSegment.Line,E,ie)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,E,a-ie)),ve.add(new go.PathSegment(go.PathSegment.Line,E-ue,a)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),ve.add(new go.PathSegment(go.PathSegment.Line,ue,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a-ie)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new Qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new Qt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new Qt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,le*E,0,E,(.5-le/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+le/2)*a,le*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,ne=.3,re=0,ue=z*le;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ue+re)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne+.05)*E,(.5-ue+re-.02)*a)),z=.2,ne=0,re=-.3,ue=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ue+re)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),z=.2,ne=-.3,re=0,ue=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne-.05)*E,(.5-ue+re-.02)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,ne=.5,re=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*E,re*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ne,a*re,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),re=.75,y=new go.PathFigure((ne+z)*E,re*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ne,a*re,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(se,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=.5,re=.5,ue=new go.PathFigure(ne*E,(re-z)*a);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),z=.4,y=le*.4;var ie=b(),ve=b(),be=b(),je=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.42,ie,ve,be,je,je);var Ae=b(),He=b(),he=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.58,je,je,he,Ae,He);var qe=b(),Ke=b(),ht=b();Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.42,qe,Ke,ht,je,je);var Le=b(),ot=b(),lt=b();return Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.58,je,je,lt,Le,ot),ue.add(new go.PathSegment(go.PathSegment.Move,lt.x*E,lt.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,Le.x*E,Le.y*a,ot.x*E,ot.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,be.x*E,be.y*a,ie.x*E,ie.y*a,ve.x*E,ve.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,lt.x*E,lt.y*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,ht.x*E,ht.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,he.x*E,he.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,Ae.x*E,Ae.y*a,He.x*E,He.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ht.x*E,ht.y*a,qe.x*E,qe.y*a,Ke.x*E,Ke.y*a).close()),de(ie),de(ve),de(be),de(je),de(Ae),de(He),de(he),de(qe),de(Ke),de(ht),de(Le),de(ot),de(lt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(se,E,a){var x=new go.Geometry,y=le*.4,z=.4,ne=.5,re=.5,ue=b(),ie=b(),ve=b(),be=b(),je=new go.PathFigure((ne-z)*E,re*a,!1);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.44,ve,be,ie,ue,ue),je.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,ve.x*E,ve.y*a,be.x*E,be.y*a));var Ae=ee(ie.x,ie.y);Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.56,ue,ue,ie,ve,be);var He=ee(ie.x,ie.y);je.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*E,Ae.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ae.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),je.add(new go.PathSegment(go.PathSegment.Line,E,0)),je.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(He.x*.1+.9)*E,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(He.x*.1+.9)*E,(He.y*.1+.05*.9)*a)),je.add(new go.PathSegment(go.PathSegment.Line,He.x*E,He.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),z=.35,y=le*.35;var he=new go.PathFigure(ne*E,(re-z)*a,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a));var qe=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(qe),de(ue),de(ie),de(ve),de(be),de(Ae),de(He),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(se,E,a){var x=new go.Geometry,y=.375,z=0,ne=-.125,re=y*le,ue=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a,(.5+re+z)*E,(.5-y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,(.5+y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,ne=-.125,re=y*le;var ue=new go.PathFigure((1-.5+y+z)*E,(.5+ne)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a,(.5+re+z)*E,(.5+y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a,(.5-re+z)*E,(.5-y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a));var ue=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);return x.add(ue),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(se,E,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(se,E,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(se,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(se,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(se,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Qt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Qt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=se?se.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,ne=(.5-y/2)*a,re=(.5+y/2)*a,ue=new go.Geometry,ie=new go.PathFigure(0,ne,!0);ue.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,re)),ie.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ue.spot1=new go.Spot(0,ne/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return ue.spot2=new go.Spot(ve.x,ve.y),de(ve),ue}),go.Shape.setFigureParameter("Arrow2",0,new Qt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Qt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=se?se.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,ne=(a-y)/2,re=ne+y,ue=new go.Geometry,ie=new go.PathFigure(0,ne,!0);ue.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,re)),ie.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ue.spot1=new go.Spot(0,ne/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return ue.spot2=new go.Spot(ve.x,ve.y),de(ve),ue}),go.Shape.defineFigureGenerator("Chevron",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Qt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ue=Be(0,.5,.3,0,0,y/a,.1,y/a,b());return ne.spot1=new go.Spot(ue.x,ue.y),ue=Be(.7,1,1,.5,0,z/a,1,z/a,ue),ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Qt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Qt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var y=se?se.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ue=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ue=a):(z=0,ne=a,re=0,ue=a));var ie=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);ie.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close());var be=Be(0,.5,.3,re/a,0,z/a,1,z/a,b());return ie.spot1=new go.Spot(be.x,be.y),be=Be(.7,ue/a,1,.5,0,ne/a,1,ne/a,be),ie.spot2=new go.Spot(be.x,be.y),de(be),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new Qt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(0,y/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Qt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Qt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var y=se?se.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ue=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ue=a):(z=0,ne=a,re=0,ue=a));var ie=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);ie.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),ie.spot1=new go.Spot(0,z/a);var be=Be(.7,ue/a,1,.5,0,ne/a,1,ne/a,b());return ie.spot2=new go.Spot(be.x,be.y),de(be),ie}),go.Shape.setFigureParameter("Pointer",0,new Qt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ne=Be(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),de(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new Qt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var ne=Be(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),de(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new Qt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,.3);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Qt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,y/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Qt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(0,.9*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-le*x,(.5+z)*E,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(E,x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-le*x,(.5+z)*E,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-le*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,a-x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-le*x,(.5+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-le*x));var re=new go.PathFigure(0,a-x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-le*x,(.5-z)*E,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-le*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-le*x,a)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,le*x,0));var re=new go.PathFigure(x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+le*x,0,2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+le*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(E-x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-le*x,a)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,le*x,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var re=new go.PathFigure(E-x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-le*x,0,E-2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-le*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(se,E,a){var x=new go.Geometry,y=.2,z=.1,ne=le*y,re=le*z,ue=.5,ie=.1,ve=new go.PathFigure(ue*E,(ie+z)*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue-y)*E,ie*a,(ue-ne)*E,(ie+z)*a,(ue-y)*E,(ie+re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-z)*a,(ue-y)*E,(ie-re)*a,(ue-ne)*E,(ie-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue+y)*E,ie*a,(ue+ne)*E,(ie-z)*a,(ue+y)*E,(ie-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+z)*a,(ue+y)*E,(ie+re)*a,(ue+ne)*E,(ie+z)*a));var be=.05,je=le*be;ue=.05,ie=.25;var Ae=new go.PathFigure(.5*E,.2*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ue=.95,ie=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue+be)*E,ie*a,(ue+je)*E,(ie-be)*a,(ue+be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),be=.025,je=le*be,ue=.825,ie=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue+be)*E,(ie-je)*a,(ue+je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,ie*a,(ue-je)*E,(ie-be)*a,(ue-be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),be=.05,je=le*be,ue=.5,ie=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue+be)*E,(ie-je)*a,(ue+je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,ie*a,(ue-je)*E,(ie-be)*a,(ue-be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),be=.025,je=le*be,ue=.175,ie=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue+be)*E,(ie-je)*a,(ue+je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,ie*a,(ue-je)*E,(ie-be)*a,(ue-be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,je=le*be,ue=.05,ie=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue-be)*E,(ie-je)*a,(ue-je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Qt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=le*.2,ne=new go.PathFigure(0,.2*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var ne=new go.PathFigure(E,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(se,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=le*.5,re=.5,ue=new go.PathFigure(E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+ne)*a,(re+ne)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-ne)*E,a,0,(re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-ne)*a,(re-ne)*E,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+ne)*E,0,E,(re-ne)*a));var ie=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ie.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(.5*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var re=new go.PathFigure(.5*y*E,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-y)*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(se,E,a){var x=new go.Geometry,y=le*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,z*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ue=new go.PathFigure(.8*E,.75*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(se,E,a){var x=new go.Geometry,y=le*.1,z=.1,ne=.9,re=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ie=new go.PathFigure((ne+z)*E,re*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.4,ne=le*.1,re=.1,ue=.9,ie=.5,ve=new go.PathFigure(.8*E,.5*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var be=new go.PathFigure((ue+re)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+re)*a,(ue+re)*E,(ie+ne)*a,(ue+ne)*E,(ie+re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E,ie*a,(ue-ne)*E,(ie+re)*a,(ue-re)*E,(ie+ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-re)*a,(ue-re)*E,(ie-ne)*a,(ue-ne)*E,(ie-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E,ie*a,(ue+ne)*E,(ie-re)*a,(ue+re)*E,(ie-ne)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=0,re=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,ne=.9,re=.5;var ie=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=0,re=.5,ue=new go.PathFigure(0,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z+z)*E,(re-y)*a,.8*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(ne+z+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=.2,re=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,ne=.9,re=.5;var ve=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=.2,re=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.2*E,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z)*E,(re-y)*a,.9*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(se,E,a){var x=new go.Geometry,y=le*.1,z=.1,ne=.1,re=.5,ue=new go.PathFigure((ne-y*.5)*E,a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.3,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.5,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.9,ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*E,a,(ne+z)*E,0,(ne+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=.5,re=.5,ue=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*E,re*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*E,re*a,ne*E,(re-z)*a,ne*E,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(se,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var ne=le*.8,re=.8,ue=0,ie=.5,ve=(y-E)/2,be=(z-a)/2,je=new go.PathFigure(ue*E+ve,(ie+re)*a+be,!0);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,ie*a+be,(ue-ne)*E+ve,(ie+re)*a+be,(ue-re)*E+ve,(ie+ne)*a+be)),je.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue-re)*E+ve,(ie-ne)*a+be,(ue-ne)*E+ve,(ie-re)*a+be)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re+ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie-re)*a+be,(ue-re+ne*.5)*E+ve,(ie-ne)*a+be)),je.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue-re+ne*.5)*E+ve,(ie+ne)*a+be,ue*E+ve,(ie+re)*a+be).close()),ne=le*.4,re=.4,ue=.2,ie=.5;var Ae=new go.PathFigure(ue*E+ve,(ie+re)*a+be,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,ie*a+be,(ue-ne)*E+ve,(ie+re)*a+be,(ue-re)*E+ve,(ie+ne)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue-re)*E+ve,(ie-ne)*a+be,(ue-ne)*E+ve,(ie-re)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re+ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie-re)*a+be,(ue-re+ne*.5)*E+ve,(ie-ne)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue-re+ne*.5)*E+ve,(ie+ne)*a+be,ue*E+ve,(ie+re)*a+be).close()),ne=le*.2,re=.2,ue=.5,ie=.5;var He=new go.PathFigure((ue-re)*E+ve,ie*a+be,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue-re)*E+ve,(ie-ne)*a+be,(ue-ne)*E+ve,(ie-re)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,ie*a+be,(ue+ne)*E+ve,(ie-re)*a+be,(ue+re)*E+ve,(ie-ne)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue+re)*E+ve,(ie+ne)*a+be,(ue+ne)*E+ve,(ie+re)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,ie*a+be,(ue-ne)*E+ve,(ie+re)*a+be,(ue-re)*E+ve,(ie+ne)*a+be)),ne=le*.4,re=.4,ue=.8,ie=.5;var he=new go.PathFigure(ue*E+ve,(ie-re)*a+be,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,ie*a+be,(ue+ne)*E+ve,(ie-re)*a+be,(ue+re)*E+ve,(ie-ne)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue+re)*E+ve,(ie+ne)*a+be,(ue+ne)*E+ve,(ie+re)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re-ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie+re)*a+be,(ue+re-ne*.5)*E+ve,(ie+ne)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue+re-ne*.5)*E+ve,(ie-ne)*a+be,ue*E+ve,(ie-re)*a+be).close()),ne=le*.8,re=.8,ue=1,ie=.5;var qe=new go.PathFigure(ue*E+ve,(ie-re)*a+be,!0);return x.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,ie*a+be,(ue+ne)*E+ve,(ie-re)*a+be,(ue+re)*E+ve,(ie-ne)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue+re)*E+ve,(ie+ne)*a+be,(ue+ne)*E+ve,(ie+re)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re-ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie+re)*a+be,(ue+re-ne*.5)*E+ve,(ie+ne)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue+re-ne*.5)*E+ve,(ie-ne)*a+be,ue*E+ve,(ie-re)*a+be).close()),x}),go.Shape.defineFigureGenerator("Email",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ne=new go.PathFigure(.6*E,a,!0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(se,E,a){var x=new go.Geometry,y=le*.4,z=.4,ne=.5,re=.5,ue=b(),ie=b(),ve=b(),be=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ue,ue,ie,ve,be);var je=ee(ie.x,ie.y),Ae=new go.PathFigure(ie.x*E,ie.y*a,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,ve,be,ie,ue,ue),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),y=le*.3,z=.3,Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,ve,be,ie,ue,ue),Ae.add(new go.PathSegment(go.PathSegment.Line,ie.x*E,ie.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,be.x*E,be.y*a,ve.x*E,ve.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ue,ue,ie,ve,be),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,be.x*E,be.y*a,ve.x*E,ve.y*a).close());var Ae=new go.PathFigure(.45*E,0,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),de(ue),de(ie),de(ve),de(be),de(je),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(ne,re,ue){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+ue)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(se,E,a){var x=new go.Geometry,y=.5,z=0,ne=0,re=y*le,ue=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,ve=1,be=.5,je=.5,Ae=0,He=new go.PathFigure(ue*E,(1-ie)*a,!1);return x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,be*a,ve*E,.7*a,ve*E,be*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(je+z)*E,(Ae+z)*a,(.5+y+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-y+z)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,.9*a)),He.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ne=.5-.285,re=.5,ue=ne,ie=Math.PI/4,ve=4*(1-Math.cos(ie))/(3*Math.sin(ie)),be=ve*.5,je=ne,Ae=ne,He=ve*je,he=ve*Ae;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-je)*E,ue*a,(re-(He+je)/2)*E,(ue+(Ae+he)/2)*a,(re-je)*E,(ue+he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ue-Ae)*a,(re-je)*E,(ue-he)*a,(re-He)*E,(ue-Ae)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+je)*E,ue*a,(re+He)*E,(ue-Ae)*a,(re+je)*E,(ue-he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+je)*E,(ue+he)*a,(re+(He+je)/2)*E,(ue+(Ae+he)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var qe=new go.PathFigure(.2*E,a,!1);x.add(qe),qe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Ke=new go.PathFigure(.8*E,a,!1);return x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ne=new go.PathFigure(.1*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ne=new go.PathFigure(.675*E,.575*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=new go.PathFigure(E,y*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ne=new go.PathFigure(0,.6*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ne=.1,re=le*.1,ue=.2,ie=.9,ve=new go.PathFigure((ue-ne)*E,ie*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-ne)*a,(ue-ne)*E,(ie-re)*a,(ue-re)*E,(ie-ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ne)*E,ie*a,(ue+re)*E,(ie-ne)*a,(ue+ne)*E,(ie-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+ne)*a,(ue+ne)*E,(ie+re)*a,(ue+re)*E,(ie+ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ne)*E,ie*a,(ue-re)*E,(ie+ne)*a,(ue-ne)*E,(ie+re)*a).close()),ne=.1,re=le*.1,ue=.8,ie=.9;var be=new go.PathFigure((ue-ne)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-ne)*a,(ue-ne)*E,(ie-re)*a,(ue-re)*E,(ie-ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ne)*E,ie*a,(ue+re)*E,(ie-ne)*a,(ue+ne)*E,(ie-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+ne)*a,(ue+ne)*E,(ie+re)*a,(ue+re)*E,(ie+ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ne)*E,ie*a,(ue-re)*E,(ie+ne)*a,(ue-ne)*E,(ie+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*E,.8*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var re=new go.PathFigure(.5*E,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ue=.1,ie=le*.1,ve=.1,be=.9,je=new go.PathFigure((ve-ue)*E,be*a,!0);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be-ue)*a,(ve-ue)*E,(be-ie)*a,(ve-ie)*E,(be-ue)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*E,be*a,(ve+ie)*E,(be-ue)*a,(ve+ue)*E,(be-ie)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be+ue)*a,(ve+ue)*E,(be+ie)*a,(ve+ie)*E,(be+ue)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*E,be*a,(ve-ie)*E,(be+ue)*a,(ve-ue)*E,(be+ie)*a)),ue=.1,ie=le*.1,ve=.4,be=.9;var Ae=new go.PathFigure((ve-ue)*E,be*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be-ue)*a,(ve-ue)*E,(be-ie)*a,(ve-ie)*E,(be-ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*E,be*a,(ve+ie)*E,(be-ue)*a,(ve+ue)*E,(be-ie)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be+ue)*a,(ve+ue)*E,(be+ie)*a,(ve+ie)*E,(be+ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*E,be*a,(ve-ie)*E,(be+ue)*a,(ve-ue)*E,(be+ie)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ne=new go.PathFigure(.55*E,.4*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var ve=.05,be=le*.05,je=.175,Ae=.95,re=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,je=.375,Ae=.95,ue=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,je=.625,Ae=.95,ie=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,je=.825,Ae=.95,He=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a).close());var he=new go.PathFigure(0,a,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ne=new go.PathFigure(.15*E,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,ue=le*.05,ie=.35,ve=.775,be=new go.PathFigure((ie-re)*E,ve*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ve-re)*a,(ie-re)*E,(ve-ue)*a,(ie-ue)*E,(ve-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E,ve*a,(ie+ue)*E,(ve-re)*a,(ie+re)*E,(ve-ue)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ve+re)*a,(ie+re)*E,(ve+ue)*a,(ie+ue)*E,(ve+re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E,ve*a,(ie-ue)*E,(ve+re)*a,(ie-re)*E,(ve+ue)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(se,E,a){var x=new go.Geometry,y=.3,z=le*.3,ne=.5,re=.7,ue=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ie=new go.PathFigure(0,.7*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=.5,re=.5,ue=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ie=new go.PathFigure(.15*E,.5*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=.5,re=.5,ue=new go.PathFigure((ne-y)*E,re*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),y=.05,z=le*.05,ne=.5,re=.8;var ie=new go.PathFigure((ne-y)*E,re*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ne=new go.PathFigure(.402*E,.85*a,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var re=new go.PathFigure(.678*E,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ue=new go.PathFigure(.5*E,.1*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ne=new go.PathFigure(E*.408,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var re=new go.PathFigure(E*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ue=new go.PathFigure(E*.816,a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ne=new go.PathFigure(E*.055,.13*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var re=new go.PathFigure(E*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ue=new go.PathFigure(E*1,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ne=new go.PathFigure(E*.11,a*.1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var re=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ue=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(se,E,a){var x=new go.Geometry,y=8,z=y*le,ne=new go.PathFigure(y,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var re=new go.PathFigure(E*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ue=new go.PathFigure(E*.83,a*1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ie=new go.PathFigure(E*.78,a*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*le,z=a*.8,ne=new go.Geometry,re=new go.PathFigure(x,0,!0);return ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ne=new go.PathFigure(E*.28,a*.37,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(se,E,a){var x=new go.Geometry,y=15,z=y*le,ne=new go.PathFigure(E*.62,a*.475,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.4,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.5,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),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")},84072: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 Qt={},Gt="5.0",ee={},b=null,de=!1,Be=!1,Ne=null,Ze=!1,ke=null,le=null,st=0;st<arguments.length;st++){var et=arguments[st];if(et!==null)switch(typeof et){case"number":Gt=et.toFixed(1);break;case"string":et.match(new RegExp("^[0-9]\\.[0-9]+$"))?Gt=et:Ne=et;break;case"object":typeof et.is3D!="undefined"?b=et:ee=et;break;case"boolean":de=et,Be=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ee.material_id!==void 0&&!Be&&(de=!0)),Ne!==null&&ee.id===void 0&&(ee.id=Ne);var Ve="",Ge="",Je=!1,Ye=null,se=null,E=null,a=!1,x=null,y=null,z=null,ne=null,re=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var ue=function($e){return parseFloat($e)>4?parseFloat($e):5};Qt.setHTML5Codebase=function($e,dt){le=$e,xt($e,dt)},Qt.setJavaCodebase=Qt.setJavaCodebaseVersion=Qt.isCompiledInstalled=Qt.setPreCompiledScriptPath=Qt.setPreCompiledResourcePath=function(){},Qt.setHTML5CodebaseVersion=function($e,dt){var rn=parseFloat($e);if(rn!==NaN&&rn<5){console.log("The GeoGebra HTML5 codebase version "+rn+" is deprecated. Using version latest instead.");return}ke=$e,ln($e,dt)},Qt.getHTML5CodebaseVersion=function(){return se},Qt.getParameters=function(){return ee},Qt.setFontsCSSURL=function($e){ne=$e},Qt.setGiacJSURL=function($e){},Qt.setJNLPFile=function($e){Ve=$e},Qt.setJNLPBaseDir=function($e){},Qt.inject=function(){function $e(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var dt="auto",rn=ee.id,Vn,Zt=!1,Fn=0;Fn<arguments.length;Fn++){var ze=arguments[Fn];typeof ze=="string"?(ze=ze.toLowerCase(),ze.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?dt=ze:rn=arguments[Fn]):typeof ze=="boolean"?Zt=ze:ze instanceof HTMLElement&&(Vn=ze)}ct();function ct(){if(!Ze){setTimeout(ct,200);return}dt=gt(dt);var Lt=Vn||document.getElementById(rn);if(!Lt){console.log("possibly bug on ajax loading? ");return}if(Qt.removeExistingApplet(Lt,!1),ee.width===void 0&&Lt.clientWidth&&(ee.width=Lt.clientWidth),ee.height===void 0&&Lt.clientHeight&&(ee.height=Lt.clientHeight),!(ee.width&&ee.height)&&dt==="html5"&&(delete ee.width,delete ee.height),Ye=dt,dt==="screenshot")Ke(Lt,ee);else{var mt=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?mt=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(mt=(!ie()||$e())&&ve()),mt?(Ye="screenshot",Le(Lt,ee,Zt,dt)):qe(Lt,ee,Zt)}}};function ie(){try{return window.self!==window.top}catch($e){return!0}}function ve(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Qt.getViews=function(){return b},Qt.isJavaInstalled=function(){return!1};var be=function($e){var dt=function(Fn){var ze=JSON.parse(Fn),ct=function(Nt){return Nt.type=="G"||Nt.type=="E"},Lt=ze.elements?ze.elements.filter(ct)[0]:ze;if(!Lt||!Lt.url){rn();return}ee.fileName=Lt.url,je(Lt.settings||{}),b.is3D=!0;var mt="https://www.geogebra.org/images/";Qt.setPreviewImage(x||Lt.previewUrl,mt+"GeoGebra_loading.png",mt+"applet_play.png"),$e()},rn=function(){ee.onError&&ee.onError(),an("Error: Fetching material (id "+ee.material_id+") failed.",ee)},Vn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Zt="/materials/"+ee.material_id+"?scope=basic";Ae("https://"+Vn+"/api/proxy.php?path="+encodeURIComponent(Zt),dt,rn)};function je($e){var dt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(rn){$e[rn]=!!$e[rn]}),dt.forEach(function(rn){ee[rn]===void 0&&$e[rn]!==void 0&&(ee[rn]=$e[rn])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function Ae($e,dt,rn){var Vn=new XMLHttpRequest;Vn.open("GET",$e),Vn.onload=function(){dt(Vn.responseText)},Vn.onerror=rn,Vn.send()}Qt.isHTML5Installed=function(){return!0},Qt.getLoadedAppletType=function(){return Ye},Qt.setPreviewImage=function($e,dt,rn){x=$e,y=dt,z=rn},Qt.removeExistingApplet=function($e,dt){var rn;typeof $e=="string"&&($e=document.getElementById($e)),Ye=null;var Vn=null;for(rn=0;rn<$e.childNodes.length;rn++){var Zt=$e.childNodes[rn],Fn=Zt.className;Fn==="applet_screenshot"?dt?(Zt.style.display="block",Ye="screenshot"):Zt.style.display="none":Fn!=="applet_scaler prerender"&&($e.removeChild(Zt),Vn=Fn&&Fn.indexOf("appletParameters")!=-1?Zt.id:null,rn--)}var ze=ee.id!==void 0?ee.id:Vn,ct=window[ze];ct&&typeof ct.getBase64=="function"&&(ct.remove(),window[ze]=null)},Qt.refreshHitPoints=function(){if(ue(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var $e=Qt.getAppletObject();return $e&&typeof $e.recalculateEnvironments=="function"?($e.recalculateEnvironments(),!0):!1},Qt.startAnimation=function(){var $e=Qt.getAppletObject();return $e&&typeof $e.startAnimation=="function"?($e.startAnimation(),!0):!1},Qt.stopAnimation=function(){var $e=Qt.getAppletObject();return $e&&typeof $e.stopAnimation=="function"?($e.stopAnimation(),!0):!1},Qt.getAppletObject=function(){var $e=ee.id!==void 0?ee.id:"ggbApplet";return window[$e]},Qt.resize=function(){};var He=function($e,dt,rn){var Vn=document.createElement("param");Vn.setAttribute("name",dt),Vn.setAttribute("value",rn),$e.appendChild(Vn)},he=function($e){return $e&&$e!=="false"},qe=function($e,dt,rn){ue(se)<=4.2&&(rn=!0);var Vn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==se||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Vn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Zt=document.createElement("div");Zt.classList.add("appletParameters","notranslate");var Fn=dt.width,ze=dt.height;if(dt.disableAutoScale=dt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():dt.disableAutoScale,dt.width!==void 0)if(ue(se)<=4.4)he(dt.showToolBar)&&(dt.height-=7),he(dt.showAlgebraInput)&&(dt.height-=37),dt.width<605&&he(dt.showToolBar)&&(dt.width=605,Fn=605);else{var ct=100;(he(dt.showToolBar)||he(dt.showMenuBar))&&(dt.hasOwnProperty("customToolBar")&&(dt.customToolbar=dt.customToolBar),ct=he(dt.showMenuBar)?245:155),Fn<ct&&(dt.width=ct,Fn=ct)}Zt.style.border="none",Zt.style.display="inline-block";for(var Lt in dt)dt.hasOwnProperty(Lt)&&Lt!=="appletOnLoad"&&Zt.setAttribute("data-param-"+Lt,dt[Lt]);ne&&Zt.setAttribute("data-param-fontscssurl",ne),Qt.resize=function(){GGBAppletUtils.responsiveResize($e,dt)},window.addEventListener("resize",function(Me){Qt.resize()});var mt=typeof dt.appletOnLoad=="function"?dt.appletOnLoad:function(){};if(!rn&&dt.width!==void 0){dt.hasOwnProperty("showSplash")||Zt.setAttribute("data-param-showSplash","false");var Nt=$e.querySelector(".applet_scaler.prerender"),ut=Nt!==null;if(ut)var at=Nt.querySelector(".ggb_preview");else{var at=lt(Fn,ze,dt.borderColor,!1);Nt=document.createElement("div"),Nt.className="applet_scaler",Nt.style.position="relative",Nt.style.display="block",Nt.style.width=Fn+"px",Nt.style.height=ze+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Nt,"66%"),ue(se)>=5?(dt.appletOnLoad=function(Me){var yt=$e.querySelector(".ggb_preview");yt&&yt.parentNode.removeChild(yt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Nt),window.GGBT_wsf_view&&$(window).trigger("resize"),mt(Me)},ut||Nt.appendChild(at)):Zt.appendChild(at),Nt.appendChild(Zt),ut||$e.appendChild(Nt),setTimeout(function(){Qt.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(Zt),$e.appendChild(De),dt.appletOnLoad=function(Me){Qt.resize(),mt(Me)}}function fe(Me,yt){yt&&typeof yt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Me,yt.appletOnLoad):renderGGBElement(Me),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",yt)}function Xe(Me,yt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Me,params:yt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Bn){fe(Bn.article,Bn.params)}),html5AppletsToProcess=null)},ue(se)<5&&(Me.className+=" geogebraweb")):fe(Me,yt)}if(Vn){scriptLoadStarted=!0;for(var Rt=0;Rt<Zt.childNodes.length;Rt++){var Oe=Zt.childNodes[Rt].tagName;Oe==="TABLE"&&(Zt.removeChild(Zt.childNodes[Rt]),Rt--)}if(ggbHTML5LoadedScript!==null){var Ie=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ie!=null&&Ie.parentNode.removeChild(Ie)}var St=document.createElement("script"),nt=function(){Xe(Zt,dt)};St.src=Ge+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=se,ggbHTML5LoadedScript=St.src,an("GeoGebra HTML5 codebase loaded: '"+Ge+"'.",dt),!le&&(!ke||ke=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),nt()):Ge.requirejs?__webpack_require__.e(822).then(function(){var Me=[__webpack_require__(20822)];nt.apply(null,Me)}.bind(this)).catch(__webpack_require__.oe):(St.onload=nt,$e.appendChild(St))}else Xe(Zt,dt);dt.height=ze,dt.width=Fn},Ke=function($e,dt,rn){var Vn=lt(dt.width,dt.height,dt.borderColor,rn),Zt=document.createElement("div");Zt.style.position="relative",Zt.style.display="block",Zt.style.width=dt.width+"px",Zt.style.height=dt.height+"px",Zt.className="applet_screenshot applet_scaler"+(rn?" applet_screenshot_play":""),Zt.appendChild(Vn);var Fn=GGBAppletUtils.getScale(dt,$e,rn);rn?($e.appendChild(ot()),window.GGBT_wsf_view||($e.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Zt,"66%"),$e.appendChild(Zt),Fn!==1&&!isNaN(Fn)&&(GGBAppletUtils.scaleElement(Zt,Fn),Zt.style.width=dt.width+"px",Zt.style.height=dt.height+"px",Zt.parentNode.style.width=dt.width*Fn+"px",Zt.parentNode.style.height=dt.height*Fn+"px"),Qt.resize=function(){ht($e,Vn,Zt,rn)},window.addEventListener("resize",function(ze){Qt.resize()}),Qt.resize()};function ht($e,dt,rn,Vn){if($e.contains(dt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if($e.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition($e)}var Zt=GGBAppletUtils.getScale(ee,$e,Vn);rn.parentNode!==null&&(!isNaN(Zt)&&Zt!==1?(GGBAppletUtils.scaleElement(rn,Zt),rn.parentNode.style.width=ee.width*Zt+"px",rn.parentNode.style.height=ee.height*Zt+"px"):(GGBAppletUtils.scaleElement(rn,1),rn.parentNode.style.width=ee.width+"px",rn.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter($e),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Qt.onExitFullscreen=function($e,dt){dt.appendChild($e)};var Le=function($e,dt,rn,Vn){Ke($e,dt,!0);for(var Zt=function(){var ct=[];for(ze=0;ze<$e.childNodes.length;ze++)ct.push($e.childNodes[ze]);if(window.GGBT_wsf_view){var Lt=window.GGBT_wsf_view.renderFullScreen($e,dt.id),mt=document.getElementById("fullscreencontainer"),Nt=jQuery($e).find(".fullscreencontent");Nt.length>0?(Lt.remove(),Nt.attr("id","fullscreencontent").show(),jQuery(mt).append(Nt),window.dispatchEvent(new Event("resize"))):qe(Lt,dt,!1),window.GGBT_wsf_view.launchFullScreen(mt)}else Ye=Vn,qe($e,dt,!1);if(!window.GGBT_wsf_view)for(ze=0;ze<ct.length;ze++)$e.removeChild(ct[ze])},Fn=$e.getElementsByClassName("ggb_preview_play"),ze=0;ze<Fn.length;ze++)Fn[ze].addEventListener("click",Zt,!1),Fn[ze].addEventListener("ontouchstart",Zt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload($e),ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ot=function(){var $e=document.createElement("div");if($e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var dt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',rn=document.createElement("style");rn.styleSheet?rn.styleSheet.cssText=dt:rn.appendChild(document.createTextNode(dt)),document.getElementsByTagName("head")[0].appendChild(rn)}return $e},lt=function($e,dt,rn,Vn){var Zt=document.createElement("div");Zt.className="ggb_preview",Zt.style.position="absolute",Zt.style.zIndex="90",Zt.style.width=$e-2+"px",Zt.style.height=dt-2+"px",Zt.style.top="0px",Zt.style.left="0px",Zt.style.overflow="hidden",Zt.style.backgroundColor="white";var Fn="lightgrey";rn!==void 0&&(rn==="none"?Fn="transparent":Fn=rn),Zt.style.border="1px solid "+Fn;var ze=document.createElement("img");if(ze.style.position="relative",ze.style.zIndex="1000",ze.style.top="-1px",ze.style.left="-1px",x!==null&&ze.setAttribute("src",x),ze.style.opacity=.7,y!==null){var ct,Lt,mt;if(!Vn){ct=document.createElement("img"),ct.style.position="absolute",ct.style.zIndex="1001",ct.style.opacity=1,ze.style.opacity=.3,Lt=360,Lt>$e/4*3&&(Lt=$e/4*3),mt=Lt/5.8,ct.setAttribute("src",y),ct.setAttribute("width",Lt),ct.setAttribute("height",mt);var Nt=($e-Lt)/2,ut=(dt-mt)/2;ct.style.left=Nt+"px",ct.style.top=ut+"px",Zt.appendChild(ct)}}return Zt.appendChild(ze),Zt},gt=function($e){return $e=$e.toLowerCase(),$e==="html5"||$e==="screenshot"?$e:"html5"},ft=["web","webSimple","web3d","tablet","tablet3d","phone"],ln=function($e,dt){if(se=$e,dt){xt(se,!0);return}var rn=!de;if(rn){var Vn=ue(se);!isNaN(Vn)&&Vn<4.4&&(rn=!1)}var Zt,Fn;window.location.protocol.substr(0,4)==="http"?Zt=window.location.protocol:Zt="http:";var ze=se.indexOf("//");ze>0?Fn=se:ze===0?Fn=Zt+se:Fn="https://www.geogebra.org/apps/5.2.814.0/";for(var ct in ft)if(se.slice(ft[ct].length*-1)===ft[ct]||se.slice((ft[ct].length+1)*-1)===ft[ct]+"/"){xt(Fn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&rn&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!he(ee.showToolBar)&&!he(ee.showMenuBar)&&!he(ee.showAlgebraInput)&&!he(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?Fn+="webSimple/":Fn+="web3d/",xt(Fn,!1)},xt=function($e,dt){if($e.requirejs){Ge=$e;return}$e.slice(-1)!=="/"&&($e+="/"),Ge=$e,dt===null&&(dt=$e.indexOf("http")===-1),Je=dt,E="web.nocache.js",a=!1;var rn=Ge.split("/");rn.length>1&&(!dt&&rn[rn.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):ft.indexOf(rn[rn.length-2])>=0&&(E=rn[rn.length-2]+".nocache.js")),rn=$e.split("/"),se=rn[rn.length-3],se.substr(0,4)==="test"?se=se.substr(4,1)+"."+se.substr(5,1):(se.substr(0,3)==="war"||se.substr(0,4)==="beta")&&(se="5.0");var Vn=parseFloat(se);Vn!==NaN&&Vn<5&&$e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Vn+" is deprecated. Using version latest instead."),ln("5.0",dt))},an=function($e,dt){window.console&&window.console.log&&(!dt||typeof dt.showLogging=="undefined"||dt.showLogging&&dt.showLogging!=="false")&&console.log($e)};ee.material_id!==void 0?be(hn):hn();function hn(){var $e=Gt;ke!==null?$e=ke:parseFloat($e)<5&&($e="5.0"),ln($e,!1),le!==null&&xt(le,Je),Ze=!0}return Qt},GGBAppletUtils=function(){"use strict";function Qt(){return window.GGBT_wsf_edit!==void 0}function Gt(Ze,ke){ke!=1?(Ze.style.transformOrigin="0% 0% 0px",Ze.style.webkitTransformOrigin="0% 0% 0px",Ze.style.transform="scale("+ke+","+ke+")",Ze.style.webkitTransform="scale("+ke+","+ke+")",Ze.style.maxWidth="initial",Ze.querySelector(".ggb_preview")!==null&&(Ze.querySelector(".ggb_preview").style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ze.style.transform="none",Ze.style.webkitTransform="none")}function ee(Ze,ke,le,st,et,Ve){var Ge=null;if(Ve!=null&&Ve!="")for(var Je=Ze.parentNode;Je!=null;)if((" "+Je.className+" ").indexOf(" "+Ve+" ")>-1){Ge=Je;break}else Je=Je.parentNode;var Ye=0,se=0,E=0,a=0,x=0,y=0,z=0;if(Ge)Ye=Ge.offsetWidth,se=Math.max(st?Ge.offsetWidth:0,Ge.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ye=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ye):(Ye=window.innerWidth,se=window.innerHeight,E=window.innerWidth),Ze){var ne=Ze.getBoundingClientRect();ne.left>0&&ne.left<=Ye&&(et===void 0||!et)&&(document.dir==="rtl"?(x=Ye-ne.width-ne.left,y=E<=480?10:30):(y=ne.left,x=E<=480?10:30),a=y+x)}if(Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Ze&&((le===void 0||!le)&&ke>0&&ke+a<Ye?Ye=ke:Ye-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le===void 0||!le)&&(se-=z)),{width:Ye,height:se}}function b(Ze,ke,le,st,et){if(Ze.isScreenshoGenerator)return 1;var Ve=st!==void 0&&st,Ge=Ze.noScaleMargin!=null&&Ze.noScaleMargin,Je=function(re){return re&&re!=="false"},Ye=Je(Ze.autoHeight),se=ee(ke,Ze.width,le,Ye,Ve&&window.GGBT_wsf_view||Ge,et),E=parseInt(se.width),a=Ze.width,x=Ze.height;if(a===void 0){var y=ke.querySelector(".appletParameters");y&&(a=y.offsetWidth,x=y.offsetHeight)}var z=E/a,ne=Ve?1:se.height/x;return le!==void 0&&!le&&(z=Math.min(1,z),ne=Math.min(1,ne)),Math.min(z,ne)}function de(Ze,ke,le){var st=1,et,Ve=!1;if(Ze.hasOwnProperty("allowUpscale")&&(Ve=Ze.allowUpscale),Ze.hasOwnProperty("scale")&&(st=parseFloat(Ze.scale),(isNaN(st)||st===null||st===0)&&(st=1),st>1&&(Ve=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ve=!0),!(Ze.hasOwnProperty("disableAutoScale")&&Ze.disableAutoScale))et=b(Ze,ke,Ve,le,Ze.scaleContainerClass);else return st;return Ve&&(!Ze.hasOwnProperty("scale")||st===1)?et:Math.min(st,et)}function Be(Ze){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),st=Ze.getBoundingClientRect(),et=(ke-st.width)/2,Ve=(le-st.height)/2;Ve<0&&(Ve=0),Ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(et<40?Ze.style.left="40px":Ze.style.left=et+"px",Ze.style.top=Ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ve<40?Ze.style.top="40px":Ze.style.top=Ve+"px",Ze.style.left=et+"px")}function Ne(Ze,ke){var le=Ze.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ze)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var st=de(ke,Ze);Qt()&&le.setAttribute("data-param-scale",st);for(var et=null,Ve=0;Ve<Ze.childNodes.length;Ve++)if(Ze.childNodes[Ve].className!==void 0&&Ze.childNodes[Ve].className.match(/^applet_scaler/)){et=Ze.childNodes[Ve];break}if(et!==null&&et.querySelector(".noscale")!==null)return;var Ge=ke.id!==void 0?ke.id:"ggbApplet",Je=window[Ge];(Je==null||!Je.recalculateEnvironments)&&et!==null&&!et.className.match(/fullscreen/)&&(et.parentNode.style.transform="",!isNaN(st)&&st!==1?(et.parentNode.style.width=ke.width*st+"px",et.parentNode.style.height=ke.height*st+"px",Gt(et,st)):(Gt(et,1),et.parentNode.style.width=ke.width+"px",et.parentNode.style.height=ke.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Be(Ze),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(le).parents(".content-added-content"))}}return{responsiveResize:Ne,isFlexibleWorksheetEditor:Qt,positionCenter:Be,getScale:de,scaleElement:Gt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Qt=n.location.search;return Qt.indexOf(J)!=-1||Qt.indexOf(K)!=-1}function q(Qt,Gt){}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(Qt){var Gt=s[L].bindings;s[L].bindings=function(){for(var ee=Gt?Gt():{},b=Qt[webModule.__softPermutationId],de=O;de<b.length;de++){var Be=b[de];ee[Be[O]]=Be[P]}return ee}};var t;function u(){return v(),t}function v(){if(!t){var Qt=o.createElement(Q);if(Qt.id=L,Qt.style.cssText=R+S,Qt.tabIndex=-1,o.body.appendChild(Qt),t=Qt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Gt=document.compatMode==U?V:W;t.write(Gt+X),t.close()}}}function w(Qt){function Gt(b){function de(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Be=de();if(Be){b();return}function Ne(){if(!Be){if(!de())return;Be=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Ne,!1),Ze&&clearInterval(Ze)}}o.addEventListener&&o.addEventListener(Z,Ne,!1);var Ze=setInterval(function(){Ne()},$)}function ee(b){var de=u(),Be=de.body,Ne=de.createElement(_);Ne.language=ab,Ne.crossOrigin=W,Ne.src=b,webModule.__errFn&&(Ne.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),Be.appendChild(Ne)}Gt(function(){ee(Qt)})}webModule.__startLoadingFragment=function(Qt){return C(Qt)},webModule.__installRunAsyncCode=function(Qt){var Gt=u(),ee=Gt.body,b=Gt.createElement(_);b.language=ab,b.text=Qt,ee.appendChild(b),ee.removeChild(b)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Qt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Qt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Qt){var Gt=c[Qt];return Gt==null?null:Gt},r=d,webModule.__errFn=e}function B(){function Qt(Ze){var ke=Ze.lastIndexOf(rb);ke==-1&&(ke=Ze.length);var le=Ze.indexOf(sb);le==-1&&(le=Ze.length);var st=Ze.lastIndexOf(tb,Math.min(le,ke));return st>=O?Ze.substring(O,st+P):W}function Gt(Ze){if(!Ze.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=Ze+vb,Ze=Qt(ke.src)}return Ze}function ee(){var Ze=__gwt_getMetaProperty(wb);return Ze!=null?Ze:W}function b(){for(var Ze=o.getElementsByTagName(_),ke=O;ke<Ze.length;++ke)if(Ze[ke].src.indexOf(xb)!=-1)return Qt(Ze[ke].src);return W}function de(){var Ze=o.getElementsByTagName(yb);return Ze.length>O?Ze[Ze.length-P].href:W}function Be(){var Ze=o.location;return Ze.href==Ze.protocol+zb+Ze.host+Ze.pathname+Ze.search+Ze.hash}var Ne=ee();return Ne==W&&(Ne=b()),Ne==W&&(Ne=de()),Ne==W&&Be()&&(Ne=Qt(o.location.href)),Ne=Gt(Ne),Ne}function C(Qt){return Qt.match(/^\//)||Qt.match(/^[a-zA-Z]+:\/\//)?Qt:webModule.__moduleBase+Qt}function D(){var Qt=[],Gt=O,ee=[],b=[];function de(Ze){var ke=b[Ze](),le=ee[Ze];if(ke in le)return ke;var st=[];for(var et in le)st[le[et]]=et;throw r&&r(Ze,st,ke),null}if(__gwt_isKnownPropertyValue=function(Ze,ke){return ke in ee[Ze]},webModule.__getPropMap=function(){var Ze={};for(var ke in ee)ee.hasOwnProperty(ke)&&(Ze[ke]=de(ke));return Ze},webModule.__computePropValue=de,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Ne=Be.indexOf(Db);Ne!=-1&&(Gt=parseInt(Be.substring(Ne+P),$),Be=Be.substring(O,Ne))}catch(Ze){}return webModule.__softPermutationId=Gt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77665:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Ax:function(){return Ne},Ds:function(){return Ze},KI:function(){return le},SI:function(){return Be},f1:function(){return de}});var b=ee(13952);function de(st){let et=!0;if(st.length>0){for(let Ve=0;Ve<st.length;Ve++)if(st[Ve].compile_success==0||!st[Ve].compile_success){et=!1;break}}else et=!1;return et}function Be(st,et=""){let Ve=[];for(let Ge=0;Ge<st.length;Ge++){let Je=st[Ge],Ye=et?`${et}/${Je.name}`:`${Je.name}`;Ve.push({title:Je.name,type:Je.type,isLeaf:Je.type!=="tree",key:Ye})}return Ve}function Ne(st,et,Ve){for(let Ge=0;Ge<st.length;Ge++){let Je=st[Ge];if(Je.key===et){Je.children=Ve;break}Je.children&&Ne(Je.children,et,Ve)}return st}function Ze(st,et,Ve){let Ge;return function(){let Je=this,Ye=arguments,se=function(){Ge=null,Ve||st.apply(Je,Ye)},E=Ve&&!Ge;clearTimeout(Ge),Ge=setTimeout(se,et),E&&st.apply(Je,Ye)}}const ke=!0,le=b.Z.API_SERVER},92578:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return x}});var b=ee(59301),de=ee(17574),Be=ee(88387),Ne={flex_box_center:"flex_box_center___SFmJH",flex_space_between:"flex_space_between___f2H1D",flex_box_vertical_center:"flex_box_vertical_center___hW_hp",flex_box_center_end:"flex_box_center_end___yklmJ",flex_box_column:"flex_box_column___m0oUw",customTree:"customTree___ZhEHU",name:"name___RIkn2"},Ze=Object.defineProperty,ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ge=(y,z,ne)=>z in y?Ze(y,z,{enumerable:!0,configurable:!0,writable:!0,value:ne}):y[z]=ne,Je=(y,z)=>{for(var ne in z||(z={}))et.call(z,ne)&&Ge(y,ne,z[ne]);if(st)for(var ne of st(z))Ve.call(z,ne)&&Ge(y,ne,z[ne]);return y},Ye=(y,z)=>ke(y,le(z)),se=(y,z)=>{var ne={};for(var re in y)et.call(y,re)&&z.indexOf(re)<0&&(ne[re]=y[re]);if(y!=null&&st)for(var re of st(y))z.indexOf(re)<0&&Ve.call(y,re)&&(ne[re]=y[re]);return ne},E=(y,z,ne)=>new Promise((re,ue)=>{var ie=je=>{try{be(ne.next(je))}catch(Ae){ue(Ae)}},ve=je=>{try{be(ne.throw(je))}catch(Ae){ue(Ae)}},be=je=>je.done?re(je.value):Promise.resolve(je.value).then(ie,ve);be((ne=ne.apply(y,z)).next())}),x=y=>{var z=y,{value:ne,onChange:re,defaultValue:ue,disabled:ie}=z,ve=se(z,["value","onChange","defaultValue","disabled"]);const[be,je]=(0,b.useState)([]),[Ae,He]=(0,b.useState)("1");(0,b.useEffect)(()=>{he()},[]);const he=()=>E(void 0,null,function*(){const ht=yield(0,Be.NZ)({});if(ht!=null&&ht.data){const Le=[{title:b.createElement("div",{title:"\u6839\u76EE\u5F55",className:Ne.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:qe(ht.data||[])}];je(Le),He("2")}}),qe=ht=>{function Le(ot){const lt=ot.children,gt=Array.isArray(lt)&&lt.length>0,ft=ot==null?void 0:ot.group_id;return{title:b.createElement("div",{title:ot==null?void 0:ot.name,className:Ne.name},ot==null?void 0:ot.name),value:ft,key:ft,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:gt?lt==null?void 0:lt.map(ln=>Le(ln)):[]}}return ht==null?void 0:ht.map(ot=>Le(ot))},Ke=ue?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:ne,defaultExpandedKeys:ne};return b.createElement("div",{className:Ne.customTree},b.createElement(de.default,Je(Ye(Je({key:Ae},Ke),{showIcon:!0,treeData:be,onSelect:re,disabled:ie}),ve)))}},99871:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ne}});var b=ee(59301),de={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ne=({number:Ze,active:ke,className:le})=>b.createElement("div",{className:`${de.digitalLabel} ${ke?de.active:""} ${le}`},Ze)},26615:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return y}});var b=ee(59301),de=ee(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ne=ee(73631),Ze=ee(5623),ke=ee(88387),le=Object.defineProperty,st=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Ye=(z,ne,re)=>ne in z?le(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,se=(z,ne)=>{for(var re in ne||(ne={}))Ge.call(ne,re)&&Ye(z,re,ne[re]);if(Ve)for(var re of Ve(ne))Je.call(ne,re)&&Ye(z,re,ne[re]);return z},E=(z,ne)=>st(z,et(ne)),a=(z,ne,re)=>new Promise((ue,ie)=>{var ve=Ae=>{try{je(re.next(Ae))}catch(He){ie(He)}},be=Ae=>{try{je(re.throw(Ae))}catch(He){ie(He)}},je=Ae=>Ae.done?ue(Ae.value):Promise.resolve(Ae.value).then(ve,be);je((re=re.apply(z,ne)).next())}),y=({value:z,onChange:ne,scrollId:re})=>{const[ue,ie]=(0,b.useState)([]);(0,b.useEffect)(()=>{ve()},[]);const ve=()=>a(void 0,null,function*(){const qe=yield(0,ke.NZ)({});if(qe!=null&&qe.data){const Ke=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:!1,children:be(qe.data||[])}];ie(Ke)}}),be=qe=>qe.map(Ke=>({title:Ke.name,key:Ke.group_id,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:Ke.children.length===0,children:be(Ke.children)})),je=(qe,Ke,ht)=>qe.map(Le=>Le.key===Ke?se(se({},Le),ht):Le.children?E(se({},Le),{children:je(Le.children,Ke,ht)}):Le),Ae=(qe,Ke,ht)=>qe.map(Le=>{if(Le.key===Ke)return E(se({},Le),{icon:ht?b.createElement("img",{src:Ze,className:Be.folderIcon}):b.createElement("img",{src:Ne,className:Be.folderIcon})});if(Le.children)return E(se({},Le),{children:Ae(Le.children,Ke,ht)})}),He=(qe,Ke)=>{ie(ht=>Ae(ht,Ke.node.key,Ke.expanded))},he=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ue.length>0&&b.createElement("div",{id:re||""},b.createElement(de.default,se({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ue,className:Be.folderWrapper,onSelect:ne,onExpand:He},he)))}},50838:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ke}});var b=ee(60324),de={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=ee(32637),Ne=ee(59301),ke=({type:le,style:st})=>{const et=Ne.createElement("div",{className:de.wrap,onClick:Ve=>{Ve.preventDefault(),Ve.stopPropagation()}},Ne.createElement("p",null,le==="shixun"||le==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Ne.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",le==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Ne.createElement("div",{className:de.contact},Ne.createElement("div",{className:de.img},Ne.createElement("img",{src:Be,width:"124px",height:"124px"})),Ne.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ne.createElement(b.Z,{content:et},Ne.createElement("span",{className:de.text,style:st},"\u9AD8\u6D88\u8017"))}},89837:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ge}});var b=ee(59301),de={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=ee(92310),Ne=ee.n(Be),Ze=ee(71418),ke=ee(2859),le=ee(52430),st=ee(89299),et=(Je,Ye,se)=>new Promise((E,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},y=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(x,y);z((se=se.apply(Je,Ye)).next())}),Ge=({data:Je,className:Ye,fullWidth:se,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const ne=(0,b.useRef)(null),re=(0,b.useRef)(null),ue=(0,b.useRef)(null),ie=(0,b.useRef)(null),[ve,be]=(0,b.useState)(!1),[je,Ae]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{ue.current||(ue.current=document.createElement("style"),document.head.appendChild(ue.current)),Je!=null&&Je.visible?(document.body.setAttribute("data-custom","y-hidden"),ue.current.innerHTML=" html { overflow-y: hidden; }",Je!=null&&Je.src&&He()):(document.body.removeAttribute("data-custom"),ue.current&&(document.head.removeChild(ue.current),ue.current=null))},[Je==null?void 0:Je.visible]);const He=()=>et(void 0,null,function*(){be(!0),Ae("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Le=yield(0,st.ZJ)(Je==null?void 0:Je.src);ne.current.src="",ne.current.src=Le,ne.current.onload=function(){ht()},be(!1),Ae("")}),he=()=>{document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",a()},qe=Le=>et(void 0,null,function*(){be(!0),Ae("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ot=yield(0,le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Je.title,file:Le.dataUrl}});ot!=null&&ot.id&&!z?(yield(0,le.ZP)(`/api/attachments/${Je.id}/add_subitem.json`,{method:"post",body:{subitem_id:ot==null?void 0:ot.id,settings:JSON.stringify(Le.state)}})).status===0&&x():ot!=null&&ot.id&&x(ot),document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",be(!1),Ae("")}),Ke=()=>{const Le=document.querySelector('a[href="https://markerjs.com/"]');Le&&Le.parentNode&&(Le.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(lt=>{const gt=document.querySelector(lt.name);gt&&gt.setAttribute("title",lt.title)})},ht=()=>{re.current=new ke.hP(ne.current),re.current.targetRoot=ie.current,re.current.addEventListener("render",qe),re.current.addEventListener("beforeclose",he),y&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),Je!=null&&Je.snapshotData&&re.current.restoreState(Je.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ke()},300)};return b.createElement(b.Fragment,null,(Je==null?void 0:Je.visible)&&b.createElement(Ze.Z,{spinning:ve,tip:je,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Ne()(de.imageDimensions,Ye,se?de.fullWidth:""),style:E},b.createElement("img",{className:de.img,ref:ne}))))}},32454:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return at},$:function(){return ut}});var b=ee(59301),de={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},Be=ee(92310),Ne=ee.n(Be),Ze=ee(78241),ke=ee(8591),le=ee(43418),st=ee(5871),et=ee(95237),Ve=ee(24905),Ge=ee(38854),Je=ee(54580),Ye=ee(3113),se=ee(93948),E=ee(19842),a=ee(92832),x=ee(5112),y=ee(6848),z=ee(43604),ne=ee(36433),re=ee(13952),ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+Vvy4F9CyG5BaQviV9nKBeOwNrXoNdOSKqqqSe2wJZ3dfS9JP0LM+MmyJt63iEfaj6m11w5DUWdo+c1yUtX6SfkrNZVOXNpP1I2Cg+qApV1KN6wc+WQ31nTh+63/K05sHc+JLeEjKW3BnT+CKxKh66L4P4WWu7ySVj1sh63GwNN0u36IwVQMk6HPWMHVKmmeceLoOR9exnpFC2nHs2F/LDxqwi5PBIdJTA6ASClbE4XOHsIhjsR3DIByhboCPVYZg2qvAHST21tlA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ZEH3d5EEGha4f7voFUcvzuaWroCnOh0SqEqsZTz2CmyW47YsD3hDH5YfnvilMqWGQCklJG5lbJUgjd0nMGhH3GJJTATBwwLuib7+tUxq7IffenD2xupwlcFxUfO43xCN6y4BcCuFTCrx2U8XOHN9dabmCbr6/NDq4RjO2fdLo1MfOy2Gw+mrb+Z6OC9qpUDA4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",je=ee(52430),Ae=ee(26615),He=ee(5623),he=ee(14752),qe=ee(24302),Ke=ee(35944),ht=ee(15342),Le=ee.n(ht),ot=(De,fe,Xe)=>new Promise((Rt,Oe)=>{var Ie=Me=>{try{nt(Xe.next(Me))}catch(yt){Oe(yt)}},St=Me=>{try{nt(Xe.throw(Me))}catch(yt){Oe(yt)}},nt=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(Ie,St);nt((Xe=Xe.apply(De,fe)).next())}),gt=b.memo(({tagName:De="div",value:fe="",className:Xe,style:Rt={},onBlur:Oe,id:Ie})=>{const St=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!St.current)return;ot(void 0,null,function*(){const yt=St.current;yt.innerHTML="";const Bn=fe==null?void 0:fe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const nn of Bn)if(nn.startsWith("$$")&&nn.endsWith("$$")||nn.startsWith("`$$")&&nn.endsWith("$$`")){const dn=nn.startsWith("`$$")?nn.slice(3,-3):nn.slice(2,-2),un=document.createElement("span");un.setAttribute("contentEditable","false"),un.setAttribute("title",nn),un.className="edu_latex",yt.appendChild(un),Le().render(dn,un,{throwOnError:!1})}else{const dn=nn==null?void 0:nn.replace(/<[^>]*>/g,un=>un.startsWith("<img")?un:un.replace(/</g,"&lt;"));yt.insertAdjacentHTML("beforeend",dn)}})},[Ie]);const nt=()=>{var Me,yt;if(Oe&&St.current){const nn=St.current.cloneNode(!0),dn=nn.querySelectorAll("span.edu_latex");for(let un of dn){const yn=un.getAttribute("title"),Te=document.createTextNode(yn||""),Ft=un;(yt=(Me=Ft.parentNode)==null?void 0:Me.replaceChild)==null||yt.call(Me,Te,Ft)}Oe(nn.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(De,{ref:St,contentEditable:!0,className:Xe,style:Rt,onBlur:nt}))}),ft=ee(41312),ln=Object.defineProperty,xt=Object.defineProperties,an=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,rn=(De,fe,Xe)=>fe in De?ln(De,fe,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):De[fe]=Xe,Vn=(De,fe)=>{for(var Xe in fe||(fe={}))$e.call(fe,Xe)&&rn(De,Xe,fe[Xe]);if(hn)for(var Xe of hn(fe))dt.call(fe,Xe)&&rn(De,Xe,fe[Xe]);return De},Zt=(De,fe)=>xt(De,an(fe)),Fn=(De,fe,Xe)=>new Promise((Rt,Oe)=>{var Ie=Me=>{try{nt(Xe.next(Me))}catch(yt){Oe(yt)}},St=Me=>{try{nt(Xe.throw(Me))}catch(yt){Oe(yt)}},nt=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(Ie,St);nt((Xe=Xe.apply(De,fe)).next())});const ze=De=>{De.preventDefault();let Xe=(De.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Xe)},ct=De=>{De.key==="Enter"&&De.preventDefault()},Lt=({children:De,style:fe})=>b.createElement("div",{className:de.leftBox,style:fe,onPaste:ze},De),mt=({children:De,style:fe,className:Xe})=>b.createElement("div",{className:Ne()(de.rightBox,Xe),style:fe,onPaste:ze},De),Nt=({className:De,style:fe={},width:Xe=1200,onCancel:Rt=()=>{},onSuccess:Oe=()=>{},gather:Ie={},mode:St=1,stickyTop:nt=0,subDisciplineId:Me=[],hideWordFeatures:yt,dataSource:Bn=[],customLeftHeadNode:nn,customRightHeadNode:dn,customLeftContent:un,hideRecognition:yn=!1,onExchange:Te,isSingleSelection:Ft=!1,underpinBackgroundStyle:zt={},headExtraNode:wt,isRefreshItemBank:kt=!1,okText:sn="\u786E\u5B9A\u5BFC\u5165"})=>{var cn;const[Ln,Jn]=(0,b.useState)(1),[va,Da]=(0,b.useState)(0),[Na,ar]=(0,b.useState)(""),[$a,fa]=(0,b.useState)(!1),[yr,en]=(0,b.useState)([]),[On,ia]=(0,b.useState)([]),[xa,We]=(0,b.useState)(!1),[It,_t]=(0,b.useState)(!1),[Vt,Wt]=(0,b.useState)(!1),[Rn,wn]=(0,b.useState)(!1),[vt,Bt]=(0,b.useState)([]),[pt,Sn]=(0,b.useState)(1),[Wn,An]=(0,b.useState)(!1),[ka,pa]=(0,b.useState)(!1),[_n,Ea]=(0,b.useState)(!0),[Pa,Dn]=(0,b.useState)(0),[lr,Nr]=(0,b.useState)(1),[Ur,Sr]=(0,b.useState)(""),[Ue,bn]=(0,b.useState)([]),[Xt,Nn]=(0,b.useState)(0),[Kn,la]=(0,b.useState)(0),[Qn,Un]=(0,b.useState)(0),[ur,da]=(0,b.useState)(0),[En,dr]=(0,b.useState)(0),[xr]=Ze.default.useForm(),[Wr]=Ze.default.useForm(),Ir=(0,b.useRef)(null),ha=(0,b.useRef)(null),za=(0,b.useRef)(),Ua=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],La=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Bn!=null&&Bn.length&&Pl(Bn)},[Bn]),(0,b.useEffect)(()=>{Ln===2&&Ir.current.focus()},[Ln]),(0,b.useEffect)(()=>{Vt&&no()},[Vt]);const Or=()=>{if(Ln===1){ke.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>Fn(void 0,null,function*(){Jn(1)})})},no=()=>Fn(void 0,null,function*(){const we=yield(0,je.ZP)("/api/disciplines.json",{method:"get",params:{source:St===1?"new_question":"subject"}});Bt(we.disciplines||[])}),Fr=we=>{const fn=[],Mn=(Sa,on)=>{Sa.length>=2&&fn.push(Sa.join(""));for(let Ma=on;Ma<we.length;Ma++)Sa.push(we[Ma]),Mn(Sa,Ma+1),Sa.pop()};return Mn([],0),fn},Er=we=>(we=we||"",we=String(we),we=we.replace(/\s+/g,""),we),Pr=we=>(we=we||"",we=String(we),we=we.replace(/<div>/g,""),we=we.replace(/<br>/g,`
`),we=we.replace(/<\/div>/g,`
`),we=ai(we),we),si=we=>we.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),ai=we=>we.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),xi=we=>{var fn;const Mn=we.clipboardData;if(Mn){const Sa=Mn.types.toString(),on=Mn.items;if(Sa==="Files"||Mn.types.indexOf("Files")>-1){we.preventDefault();try{let Ma=on[1];((fn=on[0])==null?void 0:fn.kind)==="file"&&(Ma=on[0]);const Fa=Ma.getAsFile();(0,Ke.I)(Fa,jn=>{var Xn;if(jn.id){if(((Xn=Fa==null?void 0:Fa.type)==null?void 0:Xn.indexOf("image"))>-1){const sr=`<img src='${re.Z.API_SERVER}${jn.url}'>`;document.execCommand("insertText",!1,sr)}}else(jn==null?void 0:jn.status)===401&&(document.location.href="/user/login")})}catch(Ma){ke.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function ho(we,fn){return Fn(this,null,function*(){if(typeof we=="string")return yield fn(we);if(typeof we!="object"||we===null)return we;if(Array.isArray(we))return yield Promise.all(we.map(on=>Fn(this,null,function*(){return yield ho(on,fn)})));const Mn={};for(const Sa in we)if(Object.prototype.hasOwnProperty.call(we,Sa)){const on=we[Sa];typeof on=="string"?Mn[Sa]=yield fn(on):typeof on=="object"?Mn[Sa]=yield ho(on,fn):Mn[Sa]=on}return Mn})}const yo=()=>Fn(void 0,null,function*(){var we;fa(!0),ar("\u5904\u7406\u4E2D"),yield new Promise(Sa=>setTimeout(Sa,1e3));let fn=(we=ha.current)==null?void 0:we.querySelectorAll('[data-text="edit"]'),Mn="";try{fn.forEach(function(Sa){var on,Ma,Fa,jn;const Xn=Sa.cloneNode(!0),sr=Xn.querySelectorAll("span.edu_latex");for(let Ta of sr){const Ja=Ta.getAttribute("title"),Rr=document.createTextNode(Ja),bo=Ta;(Ma=(on=bo.parentNode)==null?void 0:on.replaceChild)==null||Ma.call(on,Rr,bo)}const Ha=Xn.querySelectorAll("span[style]");for(let Ta of Ha)if(Ta.style.fontFamily){const Ja=Ta.innerHTML,Rr=document.createTextNode(Ja),bo=Ta;(jn=(Fa=bo.parentNode)==null?void 0:Fa.replaceChild)==null||jn.call(Fa,Rr,bo)}Xn==null||Xn.childNodes.forEach(function(Ta){Ta.nodeType===Node.ELEMENT_NODE&&Ta.localName!=="h5"&&Ta.localName!=="h4"?Mn+=`<p>${Ta.innerHTML}</p>`:Ta.nodeType===Node.TEXT_NODE&&(Mn+=`<p>${Ta.textContent}</p>`)})}),kr("/api/intelligent_imports/import.json",{html:ai(Mn)})}catch(Sa){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Sa)}}),Go=we=>{let fn=we.filter(Mn=>!!(Mn!=null&&Mn.type));return fn=fn.map(Mn=>{var Sa;const on=(Sa=Wi.find(Fa=>Fa.id===(Mn==null?void 0:Mn.type)))==null?void 0:Sa.deal,Ma=Zt(Vn({},Mn),{id:String(Math.random()).slice(-6),knowledgePoint:Er(Mn==null?void 0:Mn.knowledgePoint)});return on?on(Ma):Ma}),fn},Mo=()=>{if(Ln===1){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:yo})},Ao=()=>b.createElement("div",{className:de.row},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,{style:{height:675}},Ln===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>Jn(2)},b.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",b.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",b.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",b.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",b.createElement("br",null)),b.createElement("div",{className:de.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:ie}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Ln===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Ir.current.innerHTML||Jn(1)},ref:Ir,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:de.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:de.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ve}),b.createElement("span",null,"\u9884\u89C8\u533A")))),gr=(we,fn,Mn,Sa)=>{var on;console.log(we,fn,Mn,Sa,"onDataChange\u4FEE\u6539\u6570\u503C");const Ma=JSON.parse(JSON.stringify(On));Sa===void 0?Ma[fn][we]=Mn:Ma[fn].questions[Sa][we]=Mn;const Fa=Vn({},Ma[fn]),jn=(on=Wi.find(Xn=>Xn.id===(Fa==null?void 0:Fa.type)))==null?void 0:on.deal;Ma[fn]=jn(Fa),ia(Ma)},eo=(we,fn,Mn)=>{var Sa;const on=Mn!==void 0,Ma=(Sa=Wi.find(Xn=>Xn.id===(we==null?void 0:we.type)))==null?void 0:Sa.type,Fa=`${fn+1}.${Mn===void 0?"":Mn+1+"."}`,jn=`${(we==null?void 0:we.type)==="7"?"{{":""}${Fa}\u3010${Ma}\u3011${(we==null?void 0:we.question)||""}`;return b.createElement(b.Fragment,null,on&&b.createElement("h4",{contentEditable:!0}),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",value:jn}))},Qo=(we,fn)=>Fn(void 0,null,function*(){var Mn;const Sa=yield Te(we,fn),on=(Mn=Sa==null?void 0:Sa.data)==null?void 0:Mn.content;if(on!=null&&on.length){const Ma=Go(on)[0];yr.splice(fn,1,Ma),On.splice(fn,1,Ma),en([...yr]),ia([...On])}}),Yo=(we,fn,Mn)=>{var Sa;const on=Mn!==void 0,Ma=(Sa=Wi.find(jn=>jn.id===(we==null?void 0:we.type)))==null?void 0:Sa.type,Fa=`${fn+1}.${Mn===void 0?"":Mn+1+"."}`;return on?b.createElement("div",{style:{padding:"10px 18px"}},`${Fa}\u3010${Ma}\u3011`,b.createElement(gt,{id:we==null?void 0:we.id,tagName:"span",className:de.edit,onBlur:jn=>gr("question",fn,jn,Mn),value:(we==null?void 0:we.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:de.actionHead},b.createElement("div",{className:"c-light-primary"},`${Fa}\u3010${Ma}\u3011`),St!==1&&b.createElement(st.Z,{disabled:(we==null?void 0:we.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:jn=>gr("score",fn,jn,Mn),value:we==null?void 0:we.score}),b.createElement(et.Z,{align:"middle",style:{marginLeft:"auto"}},!!Te&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Qo(we,fn)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Ve.default,{onChange:jn=>gr("checked",fn,jn.target.checked,Mn),checked:!!(we!=null&&we.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",style:{padding:"10px 18px"},className:de.edit,onBlur:jn=>gr("question",fn,jn,Mn),value:we==null?void 0:we.question}))},Oo=(we,fn,Mn)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(we==null?void 0:we.type)&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7B54\u6848\uFF1A${fn||""}`,tagName:"p"}),!Mn&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u96BE\u5EA6\uFF1A${(we==null?void 0:we.difficulty)||""}`,tagName:"p"}),(we==null?void 0:we.type)!=="7"&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u89E3\u6790\uFF1A${(we==null?void 0:we.analyze)||""}`,tagName:"p"}),!Mn&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(we==null?void 0:we.knowledgePoint)||""}`,tagName:"p"})),br=(we,fn,Mn,Sa)=>{const on=Sa!==void 0,Ma=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Fa=on&&!we.last&&!we.errorMsg?{marginBottom:10}:{},jn=Ma.map(Xn=>({key:Xn,label:Xn,onClick:()=>gr("difficulty",Mn,Xn,Sa)}));return b.createElement("div",{className:de.liWrap,style:Fa},["4"].includes(we==null?void 0:we.type)&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",className:`${de.edit} c-black`,onBlur:Xn=>gr("answer",Mn,[Xn],Sa),value:fn})),!on&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ge.Z,{menu:{items:jn}},b.createElement("span",{className:"c-light-primary"},we==null?void 0:we.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(we==null?void 0:we.type)!=="7"&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",className:`${de.edit} c-grey-333`,onBlur:Xn=>gr("analyze",Mn,Xn,Sa),value:we==null?void 0:we.analyze})),!on&&b.createElement("div",{onKeyDown:ct,className:de.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",value:(we==null?void 0:we.knowledgePoint)||"",className:`${de.edit} c-grey-333`,onBlur:Xn=>gr("knowledgePoint",Mn,Er(Pr(Xn)),Sa)})))},ri=we=>b.createElement(b.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,we==null?void 0:we.errorMsg))),Hr=we=>b.createElement(b.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,we==null?void 0:we.errorMsg))),ko=(we,fn,Mn,Sa)=>{let on="flex";return(Ft&&Pa!==Sa||xa&&!(Mn!=null&&Mn.errorMsg))&&(on="none"),b.createElement("div",{className:de.row,style:{display:on}},b.createElement("div",{className:de.leftLayout},un||b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},we))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:Mn!=null&&Mn.errorMsg?de.error:""},fn)))},Wi=[{id:"0",type:"\u5355\u9009\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,fn,Mn),(on=we==null?void 0:we.options)==null?void 0:on.map((Ta,Ja)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Ja,value:`${Ua[Ja]}.${Ta}`,tagName:"p"})),Oo(we,Fa,Ma),ri(we));let Xn=Ma?we:On[fn];const sr=Xn==null?void 0:Xn.options,Ha=b.createElement(b.Fragment,null,Yo(Xn,fn,Mn),sr==null?void 0:sr.map((Ta,Ja)=>{var Rr;return b.createElement("div",{key:Ja,className:de.option},b.createElement("aside",{className:((Rr=Xn==null?void 0:Xn.answer)==null?void 0:Rr[0])===Ua[Ja]?de.active:"",onClick:()=>gr("answer",fn,[Ua[Ja]],Mn)},Ua[Ja]),b.createElement(gt,{id:Xn==null?void 0:Xn.id,tagName:"div",className:`${de.text}`,onBlur:bo=>{sr[Ja]=bo,gr("options",fn,sr,Mn)},value:Ta}))}),br(Xn,"",fn,Mn),Hr(Xn));return Ma?[jn,Ha]:ko(jn,Ha,Xn,fn)},deal:we=>{var fn,Mn,Sa;we.score=we.score===void 0?2:we.score;let on=Er((fn=we==null?void 0:we.answer)==null?void 0:fn[0]).toUpperCase();we.answer=on?[on]:[];let Ma=[];if(!(we!=null&&we.options))Ma.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{we.options=(Mn=we.options)==null?void 0:Mn.slice(0,8);const Fa=we.options.map(Xn=>Xn==null?void 0:Xn.trim().replace(/^\s+|\s+$/g,""));new Set(Fa).size!==Fa.length&&Ma.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return on||Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),on&&(Ua.slice(0,((Sa=we==null?void 0:we.options)==null?void 0:Sa.length)||8).includes(on)||Ma.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),Er(we==null?void 0:we.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Ma.join(`
`),we}},{id:"1",type:"\u591A\u9009\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,fn,Mn),(on=we==null?void 0:we.options)==null?void 0:on.map((Ta,Ja)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Ja,value:`${Ua[Ja]}.${Ta}`,tagName:"p"})),Oo(we,Fa,Ma),ri(we));let Xn=Ma?we:On[fn];const sr=Xn==null?void 0:Xn.options,Ha=b.createElement(b.Fragment,null,Yo(Xn,fn,Mn),sr==null?void 0:sr.map((Ta,Ja)=>{var Rr,bo;return b.createElement("div",{key:Ja,className:de.option},b.createElement("aside",{className:(bo=(Rr=Xn==null?void 0:Xn.answer)==null?void 0:Rr[0])!=null&&bo.includes(Ua[Ja])?de.active:"",onClick:()=>{var $o;let Wo=(($o=Xn==null?void 0:Xn.answer)==null?void 0:$o[0])||"";const Ti=Ua[Ja];Wo.includes(Ti)?Wo=Wo.replace(new RegExp(Ti,"g"),""):Wo+=Ti,Wo=Wo.split("").sort().join(""),gr("answer",fn,[Wo],Mn)}},Ua[Ja]),b.createElement(gt,{id:Xn==null?void 0:Xn.id,tagName:"div",className:`${de.text}`,onBlur:$o=>{sr[Ja]=$o,gr("options",fn,sr,Mn)},value:Ta}))}),br(Xn,"",fn,Mn),Hr(Xn));return Ma?[jn,Ha]:ko(jn,Ha,Xn,fn)},deal:we=>{var fn,Mn,Sa;we.score=we.score===void 0?2:we.score;let on=Er((fn=we==null?void 0:we.answer)==null?void 0:fn[0]).toUpperCase().split("").sort().join("");we.answer=on?[on]:[];let Ma=[];if(!(we!=null&&we.options))Ma.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{we.options=(Mn=we.options)==null?void 0:Mn.slice(0,8);const Fa=we.options.map(Xn=>Xn==null?void 0:Xn.trim().replace(/^\s+|\s+$/g,""));new Set(Fa).size!==Fa.length&&Ma.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(on||Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),on){const Fa=Ua.slice(0,((Sa=we==null?void 0:we.options)==null?void 0:Sa.length)||8);Fr(Fa).includes(on)||Ma.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return Er(we==null?void 0:we.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Ma.join(`
`),we}},{id:"2",type:"\u5224\u65AD\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,fn,Mn),Oo(we,Fa,Ma),ri(we));let Xn=Ma?we:On[fn];const sr=["\u6B63\u786E","\u9519\u8BEF"];let Ha=((on=Xn==null?void 0:Xn.answer)==null?void 0:on[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Ha)?Ha="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Ha)&&(Ha="\u9519\u8BEF");const Ta=b.createElement(b.Fragment,null,Yo(Xn,fn,Mn),sr==null?void 0:sr.map((Ja,Rr)=>b.createElement("div",{key:Rr,className:de.option},b.createElement("aside",{style:{borderRadius:2},className:Ha===Ja?de.active:"",onClick:()=>gr("answer",fn,[Ja],Mn)},Ja==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${de.text}`},Ja))),br(Xn,"",fn,Mn),Hr(Xn));return Ma?[jn,Ta]:ko(jn,Ta,Xn,fn)},deal:we=>{var fn;we.score=we.score===void 0?2:we.score;let Mn=Er((fn=we==null?void 0:we.answer)==null?void 0:fn[0]);we.answer=Mn?[Mn]:[];let Sa=[];return Mn||Sa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Mn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(Mn)&&Sa.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Er(we==null?void 0:we.question)||Sa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Sa.join(`
`),we}},{id:"3",type:"\u586B\u7A7A\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0,Fa=b.createElement(b.Fragment,null,eo(we,fn,Mn),(Sa=we==null?void 0:we.answer)==null?void 0:Sa.map((sr,Ha)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Ha,tagName:"p",value:`\u7B54\u6848${Ha+1}\uFF1A${sr.text||""}`})),Oo(we,"",Ma),ri(we));let jn=Ma?we:On[fn];const Xn=b.createElement(b.Fragment,null,Yo(jn,fn,Mn),(on=jn==null?void 0:jn.answer)==null?void 0:on.map((sr,Ha)=>b.createElement("div",{key:Ha,className:de.option},b.createElement("aside",{className:de.fill},"\u586B\u7A7A\u9879",Ha+1),sr.model===1&&b.createElement(gt,{id:jn==null?void 0:jn.id,tagName:"div",onBlur:Ta=>{jn.answer[Ha].latex=Pr(Ta),gr("answer",fn,jn.answer,Mn)},className:`${de.text}`,value:sr.latex}),sr.model===2&&b.createElement(qe.Z,{value:sr.latex,onChange:Ta=>{jn.answer[Ha].latex=Ta,gr("answer",fn,jn.answer,Mn)}}))),br(jn,"",fn,Mn),Hr(jn));return Ma?[Fa,Xn]:ko(Fa,Xn,jn,fn)},deal:we=>{var fn,Mn,Sa,on;we.score=we.score===void 0?2:we.score,we.question=(fn=we.question)==null?void 0:fn.replaceAll("\u2581","_");const Ma=(Mn=we.answer)==null?void 0:Mn.map(jn=>{if(Object.prototype.toString.call(jn)==="[object Object]")return jn;const Xn={model:1,text:jn,latex:jn};return jn.startsWith("$$")&&jn.endsWith("$$")||jn.startsWith("`$$")&&jn.endsWith("$$`")?(Xn.model=2,Xn.latex=jn.slice(2,-2)):Xn.latex=Pr(jn),Xn});we.answer=Ma;let Fa=[];return Ma||Fa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Er(we==null?void 0:we.question)?we!=null&&we.question.includes("_")?(Sa=we==null?void 0:we.answer)!=null&&Sa.length&&((we==null?void 0:we.question.match(/_+/g))||[]).length!==((on=we==null?void 0:we.answer)==null?void 0:on.length)&&Fa.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Fa.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Fa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Fa.join(`
`),we}},{id:"4",type:"\u7B80\u7B54\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,fn,Mn),Oo(we,Fa,Ma),ri(we));let Xn=Ma?we:On[fn];const sr=b.createElement(b.Fragment,null,Yo(Xn,fn,Mn),br(Xn,(on=Xn==null?void 0:Xn.answer)==null?void 0:on[0],fn,Mn),Hr(Xn));return Ma?[jn,sr]:ko(jn,sr,Xn,fn)},deal:we=>{we.score=we.score===void 0?5:we.score;let fn=[];return Er(we==null?void 0:we.question)||fn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=fn.join(`
`),we}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(we,fn)=>{var Mn,Sa;const on=On[fn],Ma=La.slice(0,4).map(Fa=>({key:Fa,label:Fa,onClick:()=>gr("platform",fn,Fa)}));return b.createElement("div",{className:de.row,style:{display:xa?on!=null&&on.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,fn),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(we==null?void 0:we.description)||""}`,tagName:"p"}),Oo(we),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${we==null?void 0:we.timeLimit}`,tagName:"p"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(we==null?void 0:we.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:(we==null?void 0:we.code)||"",tagName:"div"}),(Mn=we==null?void 0:we.inputs)==null?void 0:Mn.map((Fa,jn)=>{var Xn;return b.createElement(b.Fragment,{key:jn},b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${jn+1})\u8F93\u5165\uFF1A${Fa||""}`,tagName:"div"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${jn+1})\u8F93\u51FA\uFF1A${((Xn=we==null?void 0:we.outputs)==null?void 0:Xn[jn])||""}`,tagName:"div"}))}),ri(we)))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:on!=null&&on.errorMsg?de.error:""},Yo(on,fn),b.createElement("div",{className:de.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:on==null?void 0:on.description,tagName:"div",onBlur:Fa=>gr("description",fn,Fa)}))),br(on,"",fn),b.createElement("div",{className:de.liWrap},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:on==null?void 0:on.timeLimit,tagName:"div",onBlur:Fa=>gr("timeLimit",fn,Pr(Fa))})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ge.Z,{menu:{items:Ma}},b.createElement("span",{className:"c-light-primary"},on==null?void 0:on.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:de.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:(on==null?void 0:on.code)||"",onBlur:Fa=>gr("code",fn,Pr(Fa)),tagName:"div"}))),(Sa=on==null?void 0:on.inputs)==null?void 0:Sa.map((Fa,jn)=>{var Xn;return b.createElement("div",{className:de.liWrap,key:jn},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",jn+1,")\u8F93\u5165\uFF1A"),b.createElement(gt,{id:on==null?void 0:on.id,value:Fa||"",className:de.edit,onBlur:sr=>{const Ha=[...(on==null?void 0:on.inputs)||[]];Ha[jn]=Pr(sr),gr("inputs",fn,Ha)},tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",jn+1,")\u8F93\u51FA\uFF1A"),b.createElement(gt,{id:on==null?void 0:on.id,value:((Xn=on==null?void 0:on.outputs)==null?void 0:Xn[jn])||"",className:de.edit,onBlur:sr=>{const Ha=[...(on==null?void 0:on.outputs)||[]];Ha[jn]=Pr(sr),gr("outputs",fn,Ha)},tagName:"div"})))}),Hr(on))))},deal:we=>{var fn,Mn,Sa;we.score=we.score===void 0?10:we.score,we.code=(fn=we.code)==null?void 0:fn.trim();let on=[];Er(we==null?void 0:we.question)?((Mn=we==null?void 0:we.question)==null?void 0:Mn.length)>60&&on.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):on.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Er(we==null?void 0:we.description)||on.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Ma=Er(String((we==null?void 0:we.timeLimit)||""));if(we.timeLimit=Ma,(!Ma||Ma&&!["3","4","5","6","7","8","9","10"].includes(Ma))&&on.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.platform=Er(we==null?void 0:we.platform),we!=null&&we.platform){const Fa=["c","c++","java","python"],jn=(Sa=we==null?void 0:we.platform)==null?void 0:Sa.toLowerCase(),Xn=Fa.findIndex(sr=>sr===jn);Xn>-1?we.platform=La[Xn]:on.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else on.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(we!=null&&we.inputs)||!(we!=null&&we.outputs))we.inputs=[],we.outputs=[],on.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const Fa=Math.min(we.inputs.length,we.outputs.length);we.inputs=we.inputs.slice(0,Fa),we.outputs=we.outputs.slice(0,Fa),we.outputs.some(jn=>!Er(jn))&&on.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return we.errorMsg=on.join(`
`),we}},{id:"7",type:"\u7EC4\u5408\u9898",element:(we,fn)=>{var Mn,Sa;const on=On[fn];return b.createElement("div",{className:de.row,style:{display:xa?on!=null&&on.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,fn),Oo(we),(Mn=we==null?void 0:we.questions)==null?void 0:Mn.map((Ma,Fa)=>{var jn;const Xn=(jn=Wi.find(sr=>sr.id===(Ma==null?void 0:Ma.type)))==null?void 0:jn.element;return b.createElement(b.Fragment,{key:`left-${we.id}-${Fa}`},Xn(Ma,fn,Fa)[0])}),ri(we),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:on!=null&&on.errorMsg?de.error:""},Yo(on,fn),br(on,"",fn),(Sa=on==null?void 0:on.questions)==null?void 0:Sa.map((Ma,Fa)=>{var jn;const Xn=(jn=Wi.find(sr=>sr.id===(Ma==null?void 0:Ma.type)))==null?void 0:jn.element;return b.createElement(b.Fragment,{key:`right-${on.id}-${Fa}`},Xn(Ma,fn,Fa)[1])}),Hr(on))))},deal:we=>{var fn,Mn,Sa,on,Ma;const Fa=Go,jn=[...Wi],Xn=jn.findIndex(Ja=>Ja.id==="0"),sr=jn.findIndex(Ja=>Ja.id==="1");if(Xn!==-1){const Ja=jn[Xn].deal;jn[Xn].deal=Rr=>{const bo=Ja(Rr);return bo.errorMsg&&(bo.errorMsg=bo.errorMsg.split(`
`).filter($o=>$o!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),bo}}if(sr!==-1){const Ja=jn[sr].deal;jn[sr].deal=Rr=>{const bo=Ja(Rr);return bo.errorMsg&&(bo.errorMsg=bo.errorMsg.split(`
`).filter($o=>$o!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),bo}}we.questions=(fn=we.questions)!=null&&fn.length?Go(we.questions.slice(0,20)):[],we.questions=(Mn=we.questions)==null?void 0:Mn.map((Ja,Rr)=>{var bo;if(Ja.type==="0"||Ja.type==="1"){const $o=(bo=Ja.options)==null?void 0:bo.map(Wo=>Wo==null?void 0:Wo.trim().replace(/^\s+|\s+$/g,""));$o&&new Set($o).size!==$o.length&&(Ja.errorMsg=(Ja.errorMsg?Ja.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Zt(Vn({},Ja),{last:Rr===we.questions.length-1})});const Ha=(Sa=we.questions)==null?void 0:Sa.reduce((Ja,Rr)=>{const bo=parseFloat(Rr.score);return isNaN(bo)?Ja:Ja+bo},0);we.score=Ha;let Ta=[];return(on=we.questions)!=null&&on.length?we.errorMsg=((Ma=we.questions)==null?void 0:Ma.findIndex(Ja=>!!Ja.errorMsg))>-1:Ta.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Er(we==null?void 0:we.question)||Ta.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ta.length&&(we.errorMsg=Ta.join(`
`)),we}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(we,fn)=>{var Mn,Sa;const on=On[fn],Ma=La.map(Fa=>({key:Fa,label:Fa,onClick:()=>gr("platform",fn,Fa)}));return b.createElement("div",{className:de.row,style:{display:xa?on!=null&&on.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,fn),Oo(we),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${we==null?void 0:we.timeLimit}`,tagName:"p"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(we==null?void 0:we.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:(we==null?void 0:we.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(we==null?void 0:we.input)||""}`,tagName:"p"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(we==null?void 0:we.output)||""}`,tagName:"p"}),(Mn=we==null?void 0:we.answer)==null?void 0:Mn.map((Fa,jn)=>b.createElement(gt,{key:jn,id:we==null?void 0:we.id,value:`\u7B54\u6848${jn+1}\uFF1A${Fa||""}`,tagName:"p"})),ri(we)))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:on!=null&&on.errorMsg?de.error:""},Yo(on,fn),br(on,"",fn),b.createElement("div",{className:de.liWrap},b.createElement("div",{className:de.li,onKeyDown:ct},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:on==null?void 0:on.timeLimit,tagName:"div",onBlur:Fa=>gr("timeLimit",fn,Pr(Fa))})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ge.Z,{menu:{items:Ma}},b.createElement("span",{className:"c-light-primary"},on==null?void 0:on.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:de.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:(on==null?void 0:on.code)||"",onBlur:Fa=>gr("code",fn,Pr(Fa)),tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:(on==null?void 0:on.input)||"",onBlur:Fa=>gr("input",fn,Pr(Fa)),tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:(on==null?void 0:on.output)||"",onBlur:Fa=>gr("output",fn,Pr(Fa)),tagName:"div"}))),b.createElement("div",{className:de.liWrap},(Sa=on==null?void 0:on.answer)==null?void 0:Sa.map((Fa,jn)=>b.createElement("div",{className:de.li,key:jn},b.createElement("aside",null,"\u7B54\u6848",jn+1,"\uFF1A"),b.createElement(gt,{id:on==null?void 0:on.id,value:Fa||"",className:de.edit,onBlur:Xn=>{const sr=[...(on==null?void 0:on.answer)||[]];sr[jn]=Pr(Xn),gr("output",fn,sr)},tagName:"div"})))),Hr(on))))},deal:we=>{var fn,Mn,Sa,on,Ma,Fa,jn,Xn;we.score=we.score===void 0?10:we.score,we.code=(Sa=(Mn=(fn=we.code)==null?void 0:fn.trim())==null?void 0:Mn.replace(/@_@/g,"@\u2581@"))==null?void 0:Sa.replace(/@__@/g,"@\u2581\u2581@");let sr=[];if(Er(we==null?void 0:we.question)||sr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Er(we==null?void 0:we.code)?/@▁@|@▁▁@/.test(we==null?void 0:we.code)?(on=we==null?void 0:we.answer)!=null&&on.length&&((Ma=we==null?void 0:we.code.match(/@▁@|@▁▁@/g))==null?void 0:Ma.length)!==((Fa=we==null?void 0:we.answer)==null?void 0:Fa.length)&&sr.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):sr.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):sr.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),we!=null&&we.answer?(jn=we.answer)!=null&&jn.some(Ta=>!Er(Ta))&&sr.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):sr.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),we.platform=Er(we==null?void 0:we.platform),we!=null&&we.platform){const Ta=["c","c++","java","python","javascript","ruby"],Ja=(Xn=we==null?void 0:we.platform)==null?void 0:Xn.toLowerCase(),Rr=Ta.findIndex(bo=>bo===Ja);Rr>-1?we.platform=La[Rr]:sr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else sr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Er(we==null?void 0:we.output)||sr.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Ha=Er(String((we==null?void 0:we.timeLimit)||""));return we.timeLimit=Ha,(!Ha||Ha&&!["3","4","5","6","7","8","9","10"].includes(Ha))&&sr.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.errorMsg=sr.join(`
`),we}}],dl=()=>b.createElement(b.Fragment,null,yr.filter(we=>{var fn;return!!((fn=Wi.find(Sa=>Sa.id===(we==null?void 0:we.type)))==null?void 0:fn.element)}).map((we,fn)=>{var Mn;const Sa=(Mn=Wi.find(on=>on.id===(we==null?void 0:we.type)))==null?void 0:Mn.element;return b.createElement(b.Fragment,{key:we.id},Sa(we,fn))})),gl=()=>Fn(void 0,null,function*(){const we=On.filter(fn=>!fn.checked);if(Ln!==3||!we.length){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}xr.setFieldsValue({sub_discipline_id:Me}),Wt(!0)}),Pl=we=>Fn(void 0,null,function*(){const fn=Go(we);en(fn),ia(JSON.parse(JSON.stringify(fn))),Jn(3),fa(!1),An(!1),We(!1)});(0,b.useEffect)(()=>{if(_n)return;const we=()=>{Da(fn=>fn>=90?(clearInterval(za.current),90):fn+1)};return za.current=setInterval(we,5e4/90),()=>clearInterval(za.current)},[_n]);const kr=(we,fn)=>{Ea(!1);const Mn=new FormData;Object.keys(fn).forEach(on=>{Mn.append(on,fn[on])});const Sa=new window.XMLHttpRequest;Sa.withCredentials=!0,Sa.addEventListener("load",function(on){return Fn(this,null,function*(){var Ma,Fa;try{const jn=JSON.parse((Ma=on==null?void 0:on.target)==null?void 0:Ma.response);if(Ea(!0),Da(100),yield new Promise(Xn=>setTimeout(()=>Xn(),780)),jn.status===0){if(!((Fa=jn==null?void 0:jn.data)!=null&&Fa.length)){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),fa(!1);return}Pl((jn==null?void 0:jn.data)||[])}else fa(!1),ke.ZP.warning(jn==null?void 0:jn.message)}catch(jn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",jn)}})}),Sa.addEventListener("error",()=>{fa(!1)}),Sa.open("POST",`${re.Z.API_SERVER}${we}`),Sa.send(Mn)},Qa=we=>Fn(void 0,null,function*(){const fn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(fn)==-1?(ke.ZP.error(`${we.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(fa(!0),ar("\u5904\u7406\u4E2D"),kr("/api/intelligent_imports/import.json",{file:we}),Promise.reject())}),Ga=we=>Fn(void 0,null,function*(){const fn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(fn)==-1?(ke.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):we.size/1024/1024>200?(ke.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(Ue!=null&&Ue.length?le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5355\u6B21\u51FA\u9898\u53EA\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6/\u4E00\u5F20\u56FE\u7247\uFF0C\u518D\u6B21\u4E0A\u4F20\u4F1A\u66FF\u6362\u5F53\u524D\u5DF2\u4E0A\u4F20\u7684\u5185\u5BB9\u3002",onOk:()=>bn([we])}):bn([we]),Promise.reject())});let Ya=[{key:1,label:b.createElement(Je.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Qa},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const so=[On.length,(cn=On.filter(we=>!!(we!=null&&we.errorMsg)))==null?void 0:cn.length];return b.createElement("div",{className:Ne()(de.intelligentBox,"intelligent-body-curb",De),style:Zt(Vn({},fe),{width:Xe}),ref:ha},b.createElement("div",{className:de.underpin},b.createElement("b",{style:zt}),b.createElement("b",{style:zt})),b.createElement("div",{className:de.head,style:{top:nt}},b.createElement("div",{className:de.leftLayout},nn||b.createElement(b.Fragment,null,b.createElement(et.Z,{align:"middle"},b.createElement("div",{className:de.title},"\u8BD5\u9898\u7F16\u8F91"),!yt&&b.createElement(ne.op,{href:`${re.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",b.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),b.createElement(ne.op,{onClick:Or,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!yt&&b.createElement(Ge.Z,{overlayClassName:de.menu,menu:{items:Ya}},b.createElement(ne.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!wt&&wt),b.createElement("div",{className:de.tip},b.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),b.createElement(et.Z,{className:de.rightLayout,style:{alignItems:"start"}},dn||b.createElement(b.Fragment,null,b.createElement("div",{className:de.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Ln)&&b.createElement(Ve.default,{className:"ml20",checked:xa,onChange:we=>We(we.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Ln)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},so[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},so[1]),"\u9898")),Ft&&b.createElement("div",{className:de.tabs},yr==null?void 0:yr.map((we,fn)=>b.createElement("div",{onClick:()=>{Dn(fn)},className:Pa===fn&&de.active,key:fn},"\u65B0\u9898",fn+1)))),b.createElement("div",{className:de.centerBox},b.createElement("img",{className:"mb10",src:be,width:56}),!yn&&b.createElement(ne.op,{onClick:Mo},"\u8BC6\u522B"))),[1,2].includes(Ln)&&Ao(),[3].includes(Ln)&&dl(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:de.buttonFixed},b.createElement("div",{className:de.buttonWrap},b.createElement(Ye.ZP,{size:"middle",className:`${de.button} mr20`,onClick:Rt},"\u53D6\u6D88"),b.createElement(Ye.ZP,{size:"middle",type:"primary",className:`${de.button}`,onClick:gl},sn))),b.createElement(le.default,{centered:!0,closable:!1,destroyOnClose:!0,open:$a,title:null,footer:null,width:320,afterClose:()=>Da(0)},b.createElement(et.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Na,b.createElement("span",{className:de.dotLoading},b.createElement("span",null,"."),b.createElement("span",null,"."),b.createElement("span",null,"."))),b.createElement(se.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:va}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},va,"%")))),b.createElement(le.default,{centered:!0,open:Vt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:It,width:480,onCancel:()=>Wt(!1),onOk:()=>xr.submit(),afterClose:()=>{xr.resetFields()}},b.createElement(Ze.default,{style:{maxHeight:550},form:xr,layout:"horizontal",colon:!1,size:"large",onFinish:we=>Fn(void 0,null,function*(){var fn,Mn,Sa,on,Ma;const Fa=On.filter(sr=>!sr.checked&&!sr.errorMsg);_t(!0);const jn=()=>Fn(void 0,null,function*(){var sr,Ha;const Ta=yield(0,je.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Zt(Vn(Vn({},Ie),we),{list:Fa,mode:St})});Ta.status===0&&(kt&&((sr=Ta==null?void 0:Ta.data)!=null&&sr.success)&&window.location.pathname==="/problemset"&&(ft.Z.publish("refresh-item-bank",we.group_id),yield new Promise(Ja=>setTimeout(()=>Ja(),1500))),ke.ZP.success(`\u6210\u529F\u5BFC\u5165${(Ha=Ta==null?void 0:Ta.data)==null?void 0:Ha.success}\u9053\u8BD5\u9898`,3),Oe(),Wt(!1)),_t(!1)});if(St!==1){yield jn();return}const Xn=yield(0,je.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:On,mode:St}});if(Xn.status===0){if(!((fn=Xn==null?void 0:Xn.data)!=null&&fn.error_size)){yield jn();return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{_t(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(Mn=Xn==null?void 0:Xn.data)==null?void 0:Mn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Sa=Xn==null?void 0:Xn.data)==null?void 0:Sa.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(Ma=(on=Xn==null?void 0:Xn.data)==null?void 0:on.index)==null?void 0:Ma.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:jn})}})},b.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),b.createElement(Ze.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},b.createElement(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:vt})),St===1&&b.createElement(Ze.default.Item,{label:b.createElement(et.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>wn(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src:He}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},b.createElement(Ae.Z,{key:pt})))),b.createElement(le.default,{centered:!0,open:Rn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:ka,onCancel:()=>wn(!1),onOk:()=>Wr.submit(),afterClose:()=>{Wr.resetFields()}},b.createElement(Ze.default,{style:{maxHeight:550},form:Wr,layout:"horizontal",colon:!1,size:"large",onFinish:we=>Fn(void 0,null,function*(){var fn;pa(!0),(yield(0,je.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:we.name,parent_id:(fn=we==null?void 0:we.parent_id)==null?void 0:fn[0]}})).status===0?(Sn(pt+1),setTimeout(()=>{ke.ZP.success("\u64CD\u4F5C\u6210\u529F"),wn(!1),pa(!1)},1e3)):pa(!1)})},b.createElement(Ze.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),b.createElement(Ze.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(Ae.Z,null)))),b.createElement(le.default,{centered:!0,open:Wn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>An(!1),onOk:()=>{if(lr===1&&!Er(Ur)){ke.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(lr===2&&!Er(Ur)&&!(Ue!=null&&Ue.length)){ke.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const we=[{name:"\u5355\u9009\u9898",num:Xt||0},{name:"\u591A\u9009\u9898",num:Kn||0},{name:"\u5224\u65AD\u9898",num:Qn||0},{name:"\u586B\u7A7A\u9898",num:ur||0},{name:"\u7B80\u7B54\u9898",num:En||0}];if(we.reduce((Sa,on)=>Sa+on.num,0)===0){ke.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(lr,Xt,Kn),fa(!0),ar("\u5904\u7406\u4E2D");const Mn={type:lr,query:Ur,item_types:JSON.stringify(we)};lr===2&&(Mn.file=(Ue==null?void 0:Ue[0])||null),kr("/api/intelligent_imports/large_model_intelligent_qa.json",Mn)}},b.createElement(et.Z,{align:"middle",className:"mb10 c-black"},b.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),b.createElement(x.ZP.Group,{value:lr,onChange:we=>Nr(we.target.value)},b.createElement(x.ZP,{value:1,className:"c-black"},"\u6839\u636E\u77E5\u8BC6\u70B9\u51FA\u9898"),b.createElement(x.ZP,{value:2,className:"ml40 c-black"},"\u6839\u636E\u6750\u6599\u51FA\u9898"))),b.createElement(a.default.TextArea,{style:{height:120},className:"mb20",value:Ur,placeholder:lr===1?"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\uFF0C\u591A\u4E2A\u77E5\u8BC6\u70B9\u7528\u201C\u3001\u201D\u5206\u9694\u5F00":"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:we=>{Sr(we.target.value)}}),lr===2&&b.createElement(b.Fragment,null,b.createElement(Je.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:Ue,beforeUpload:Ga,className:"mb20",onRemove:()=>bn([])},b.createElement(y.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},b.createElement(ne.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),b.createElement("div",{style:{height:20}})),b.createElement(et.Z,{align:"middle",className:"c-black"},b.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),b.createElement(et.Z,{gutter:16},b.createElement(z.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(st.Z,{min:0,max:10,value:Xt,onChange:Nn,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(st.Z,{min:0,max:10,value:Kn,onChange:la,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(st.Z,{min:0,max:10,value:Qn,onChange:Un,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(st.Z,{min:0,max:10,value:ur,onChange:da,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(st.Z,{min:0,max:10,value:En,onChange:dr,style:{marginLeft:"8px"}}))))))},ut=ue;var at=Nt},24302:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(25346),Be=ee(48136),Ne=ee(53267),Ze=ee(43418),ke=ee(59301);const le=(0,b.forwardRef)(({callback:st,width:et,onChange:Ve,disabled:Ge,readOnly:Je,type:Ye="",value:se="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,ne]=(0,b.useState)(0),[re,ue]=(0,b.useState)(0),[ie,ve]=(0,b.useState)(!1),be=()=>{var he=document.createElement("div");he.innerHTML=x.current.getValue();var qe=he.innerText;return st&&st(qe),qe};(0,b.useImperativeHandle)(a,()=>({getData:be}));const je=he=>{he.preventDefault();const qe=he.clientX-z,Ke=he.clientY-re;document.body.onmousemove=ht=>{let Le=ht.clientX-qe,ot=ht.clientY-Ke;const lt=document.getElementsByClassName("markdown-popup-form")[0],gt=window.innerWidth-lt.offsetWidth,ft=window.innerHeight-lt.offsetHeight;Le=Math.max(0,Math.min(Le,gt)),ot=Math.max(0,Math.min(ot,ft)),Ae(ht.clientX,ht.clientY,qe,Ke)&&(ne(Le),ue(ot))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ae=(he,qe,Ke,ht)=>{const Le=document.body.clientHeight,ot=document.body.clientWidth;return he<20&&Ke>he||he>ot-20&&Ke<he||qe<20&&ht>qe||qe>Le-20&&ht<qe?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,b.useEffect)(()=>{ie&&setTimeout(()=>{const he=document.getElementsByClassName("markdown-popup-form")[0],qe=window.innerWidth/2-he.offsetWidth/2,Ke=window.innerHeight/2-he.offsetHeight/2;ne(qe),ue(Ke)},0)},[ie]);const He=()=>{Ge||Je||ve(!0)};return ke.createElement("div",{style:E},ke.createElement("div",{style:{width:et||"100%",position:"relative"},className:`${de.Z.mathFillWrap} ${Ge||Je?"cursorDefault":""}`,onClick:()=>He()},ke.createElement("math-field",{disabled:Ge,locale:"zh_cn",class:`${de.Z.mathField} ${Ye}`,readOnly:Je,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:se?18:14},value:se||""})),ke.createElement(Ze.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:ke.createElement("div",{style:{cursor:"move"},onMouseDown:je},"\u8F93\u5165\u516C\u5F0F"),open:ie,onOk:()=>{const he=y.current.getData();x.current.setValue(he),Ve(he),ve(!1)},onCancel:()=>{ve(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ke.createElement(Ne.Z,{value:se,ref:y,onChange:Ve,showSaveButton:!1})))});Gt.Z=le},53267:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(99313),Ze=ee(3113),ke=ee(98573),le=ee(25346),st=ee(48136),et=ee(59301);const Ve=(0,b.forwardRef)(({callback:Ge,showSaveButton:Je,value:Ye=""},se)=>{const E=(0,b.useRef)(),a=[{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 "}]}]}],x=[{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}`}]}]}],y=re=>{E.current.setValue(E.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:et.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},a.map((re,ue)=>et.createElement(Be.Z,{flex:"110px",className:le.Z.item},et.createElement("div",null,et.createElement(ke.Z,{value:`$$${re.value}$$`}),re.name),et.createElement("div",{className:le.Z.children},re.children.map((ie,ve)=>et.createElement("div",{key:ve},et.createElement("h1",null,ie.name),et.createElement(de.Z,{gutter:[10,10]},ie.data.map((be,je)=>et.createElement(Be.Z,{key:je,onClick:()=>y(be),className:le.Z.diamond},et.createElement(ke.Z,{value:"`$$"+be.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:et.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},x.map((re,ue)=>et.createElement(Be.Z,{flex:"110px",className:le.Z.item},et.createElement("div",null,et.createElement(ke.Z,{value:"`$$"+re.value+"$$`"}),re.name),et.createElement("div",{className:le.Z.children},re.children.map((ie,ve)=>et.createElement("div",{key:ve},ie.name&&et.createElement("h1",null,ie.name),et.createElement(de.Z,{gutter:[10,10]},ie.data.map((be,je)=>et.createElement(Be.Z,{key:je,onClick:()=>y(be),className:le.Z.diamond},et.createElement(ke.Z,{value:"`$$"+be.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=E.current.getValue();var ue=re.innerText;return Ge&&Ge(ue),ue};return(0,b.useImperativeHandle)(se,()=>({getData:ne})),et.createElement("div",{className:le.Z.mathWrap},et.createElement(Ne.default,{defaultActiveKey:"1",items:z}),et.createElement("math-field",{locale:"zh_cn",className:le.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ye||""),Je&&et.createElement("div",{className:le.Z.button},et.createElement(Ze.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Gt.Z=Ve},59592:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Je}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(92832),Ze=ee(87169),ke=ee(52430),le={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},st=ee(32793),et=ee(59301),Ve=(Ye,se,E)=>new Promise((a,x)=>{var y=re=>{try{ne(E.next(re))}catch(ue){x(ue)}},z=re=>{try{ne(E.throw(re))}catch(ue){x(ue)}},ne=re=>re.done?a(re.value):Promise.resolve(re.value).then(y,z);ne((E=E.apply(Ye,se)).next())}),Je=({type:Ye="subject",open:se,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=de.default.useForm(),[z,ne]=(0,b.useState)([]),[re,ue]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const ie=()=>Ve(void 0,null,function*(){if(Ye){const ve=yield(0,ke.ZP)("/api/disciplines.json",{method:"get",params:{source:Ye}});ne(ve.disciplines||[])}});return et.createElement(Be.default,{title:et.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:se,width:558,centered:!0,className:le.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(ve=>Ve(void 0,null,function*(){const be=yield(0,ke.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:ve==null?void 0:ve.name,sub_discipline_id:x}});(be==null?void 0:be.status)===0&&a({name:ve==null?void 0:ve.name,id:be==null?void 0:be.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},et.createElement("div",{className:le.publicQuestContent},et.createElement("div",{className:le.public_tips},et.createElement(Ze.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),et.createElement(de.default,{labelAlign:"left",form:y,colon:!1},et.createElement(de.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},et.createElement(Ne.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),et.createElement(st.Z,{open:re,onCancel:()=>{ue(!1)}})))}},33329:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Q:function(){return et},Z:function(){return Ge}});var b=ee(59301),de={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},Be=ee(92310),Ne=ee.n(Be),Ze=ee(43418),ke=ee(8591),le=ee(24905),st=(Je,Ye,se)=>new Promise((E,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},y=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(x,y);z((se=se.apply(Je,Ye)).next())});const et=({title:Je="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Ye=[],visible:se,setVisible:E,tip:a,onOk:x})=>{const[y,z]=(0,b.useState)([]),[ne,re]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{se&&z(Ye)},[se]),b.createElement(Ze.default,{centered:!0,open:se,title:Je,confirmLoading:ne,width:564,onOk:()=>st(void 0,null,function*(){if(!y.length){ke.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}re(!0),yield x(y),re(!1)}),onCancel:()=>E(!1)},!!a&&b.createElement("div",{className:"c-grey-666 font16 mb10"},a),b.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},b.createElement(le.default.Group,{value:y,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:ue=>{z(ue)}})))};var Ge=({title:Je="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Ye,style:se={},onEdit:E,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:de.c},"C"),"C++":b.createElement("div",{className:de.cpp},"C++"),Java:b.createElement("div",{className:de.java},"Java"),Python:b.createElement("div",{className:de.python},"Python")};return b.createElement("div",{className:Ne()(de.tags,Ye),style:se},!!Je&&b.createElement("div",{className:de.text},Je),b.createElement("div",{className:de.tagWrap},a==null?void 0:a.map(y=>b.createElement(b.Fragment,{key:y},x[y]))),!!E&&b.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${de.edit}`}))}},44931:function(Qt,Gt,ee){"use strict";ee.d(Gt,{t:function(){return ut}});var b=ee(59301),de=ee(92832),Be=ee(78241),Ne=ee(43418),Ze=ee(95237),ke=ee(43604),le=ee(5871),st=ee(57809),et=ee(5112),Ve=ee(89314),Ge=ee(44993),Je=ee(59489),Ye=ee(8591),se=ee(3113),E=ee(71418),a=ee(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},y=ee(52430),z=ee(78837),ne=ee(4213),re=ee(56102),ue=ee(7051),ie=ee(59301),ve=Object.defineProperty,be=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,qe=(at,De,fe)=>De in at?ve(at,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):at[De]=fe,Ke=(at,De)=>{for(var fe in De||(De={}))He.call(De,fe)&&qe(at,fe,De[fe]);if(Ae)for(var fe of Ae(De))he.call(De,fe)&&qe(at,fe,De[fe]);return at},ht=(at,De)=>be(at,je(De)),Le=(at,De,fe)=>new Promise((Xe,Rt)=>{var Oe=nt=>{try{St(fe.next(nt))}catch(Me){Rt(Me)}},Ie=nt=>{try{St(fe.throw(nt))}catch(Me){Rt(Me)}},St=nt=>nt.done?Xe(nt.value):Promise.resolve(nt.value).then(Oe,Ie);St((fe=fe.apply(at,De)).next())}),lt=({buttonProps:at,buttonText:De,form:fe,hackIdentifier:Xe="",answerKey:Rt,data:Oe})=>{const[Ie,St]=(0,b.useState)(!1),[nt,Me]=(0,b.useState)(!1),[yt,Bn]=(0,b.useState)(!1),[nn,dn]=(0,b.useState)({}),[un,yn]=(0,b.useState)(""),[Te,Ft]=(0,b.useState)(""),zt=(0,b.useRef)(Xe),wt=(0,b.useRef)(""),kt=(0,b.useRef)(!1);(0,b.useEffect)(()=>{yt&&Jn()},[yt]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const sn=()=>new Date().getTime(),cn=Oe==null?void 0:Oe.code,Ln=()=>{var Na,ar;let $a=cn?Oe==null?void 0:Oe.code:(Na=fe.getFieldValue("hack_codes"))==null?void 0:Na.code,fa=cn?Oe==null?void 0:Oe.answer_content:fe.getFieldValue(Rt),yr=cn?Oe==null?void 0:Oe.input:(ar=fe.getFieldValue("hack_sets"))==null?void 0:ar.input;fa==null||fa.forEach(en=>{const On=en.value||en.answer_text||"";$a=$a.replace(/(@▁@|@▁▁@)/,On)}),Ft(yr),yn($a),dn({}),Bn(!0)},Jn=()=>Le(void 0,null,function*(){var Na,ar,$a,fa;const yr=sn(),en=cn?Oe==null?void 0:Oe.time_limit:(Na=fe.getFieldsValue())==null?void 0:Na.hack.time_limit,On=cn?(ar=Oe==null?void 0:Oe.answer_content)==null?void 0:ar.length:(fa=($a=fe.getFieldsValue())==null?void 0:$a.standard_answers)==null?void 0:fa.length;St(!0),yield(0,z.bM)(wt.current,{test_hack_code:un,test_input:Te});function ia(){return Le(this,null,function*(){const{status:xa,data:We}=yield(0,z.rX)(wt.current,"submit"),_t=sn()-yr>(en+3)*1e3*On;if(kt.current){if(_t){Ye.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),St(!1);return}if(xa===0){St(!1),dn(ht(Ke({},We),{showText:!0}));return}setTimeout(ia,1e3)}})}ia()}),va=()=>Le(void 0,null,function*(){var Na,ar,$a,fa,yr,en,On;if(!Oe){try{yield fe.validateFields()}catch(It){($a=(ar=(Na=It==null?void 0:It.errorFields)==null?void 0:Na[0])==null?void 0:ar.name)!=null&&$a.includes("standard_answers")?Ye.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ye.ZP.error(It.errorFields[0].errors[0]),fe.scrollToField(It.errorFields[0].name,{behavior:"smooth",block:"center"});return}Me(!0);let xa="";const We=fe.getFieldsValue();zt.current?xa=yield(0,y.ZP)(`/api/problems/${zt.current}.json`,{method:"put",body:ht(Ke({},We),{hack:ht(Ke({},We==null?void 0:We.hack),{sub_discipline_id:(On=(en=We==null?void 0:We.hack)==null?void 0:en.sub_discipline_id)==null?void 0:On[1],difficult:We.difficulty,item_banks_group_id:We.item_banks_group_id}),hack_codes:ht(Ke({},We.hack_codes),{code:a.Base64.encode(We.hack_codes.code)}),update_hack_sets:[Ke({},We.hack_sets)],is_blank:!0})}):(xa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:ht(Ke({},We),{hack:ht(Ke({},We==null?void 0:We.hack),{sub_discipline_id:(yr=(fa=We==null?void 0:We.hack)==null?void 0:fa.sub_discipline_id)==null?void 0:yr[1],difficult:We.difficulty,item_banks_group_id:We.item_banks_group_id}),hack_codes:ht(Ke({},We.hack_codes),{code:a.Base64.encode(We.hack_codes.code)}),hack_sets:[Ke({},We.hack_sets)],is_blank:!0})}),zt.current=xa==null?void 0:xa.identifier,sessionStorage.projectFill=xa==null?void 0:xa.identifier)}const ia=yield(0,y.ZP)(`/api/problems/${zt.current}/start.json`,{method:"get"});if((ia==null?void 0:ia.status)===0){wt.current=ia==null?void 0:ia.identifier,kt.current=!0,Me(!1),Ln();return}Me(!1)}),Da=Na=>{const{status:ar,error_msg:$a,execute_time:fa,output:yr,input:en,expected_output:On}=Na;let ia=null;switch(ar){case ue.h.OK:ia=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",fa/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ue.h.NOMATCH:ia=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},en),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},yr&&a.Base64.decode(yr)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},On&&a.Base64.decode(On)));break;case ue.h.EXECUTEFAILURE:ia=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,en)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case ue.h.COMPILEFAILURE:ia=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,en)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case ue.h.PODFAILURE:ia=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:ia=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",ia," ")};return ie.createElement("div",null,ie.createElement(se.ZP,ht(Ke({loading:nt},at),{onClick:va}),De),ie.createElement(Ne.default,{open:yt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Ie,cancelButtonProps:{style:{display:"none"}},onOk:()=>Jn(),onCancel:()=>{kt.current=!1,Bn(!1)}},ie.createElement("div",{className:x.result},ie.createElement("div",{className:x.left},ie.createElement("div",{className:"mb20"},ie.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Oe&&ie.createElement(re.CopyToClipboard,{text:un,onCopy:()=>Ye.ZP.success("\u590D\u5236\u6210\u529F")},ie.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ie.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ie.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:un,onChange:Na=>yn(Na)})),ie.createElement("div",{className:x.right},ie.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ie.createElement("div",{className:x.box},ie.createElement("div",{className:x.li},ie.createElement(de.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:Te,onChange:Na=>Ft(Na.target.value),bordered:!1,style:{height:180}}))),ie.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ie.createElement("div",{className:x.box},ie.createElement(E.Z,{spinning:Ie,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},Da(nn))))))))},gt=ee(87169),ft=ee(59301),ln=Object.defineProperty,xt=Object.defineProperties,an=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,rn=(at,De,fe)=>De in at?ln(at,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):at[De]=fe,Vn=(at,De)=>{for(var fe in De||(De={}))$e.call(De,fe)&&rn(at,fe,De[fe]);if(hn)for(var fe of hn(De))dt.call(De,fe)&&rn(at,fe,De[fe]);return at},Zt=(at,De)=>xt(at,an(De)),Fn=(at,De)=>{var fe={};for(var Xe in at)$e.call(at,Xe)&&De.indexOf(Xe)<0&&(fe[Xe]=at[Xe]);if(at!=null&&hn)for(var Xe of hn(at))De.indexOf(Xe)<0&&dt.call(at,Xe)&&(fe[Xe]=at[Xe]);return fe};const{TextArea:ze}=de.default,ct=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Lt=({value:at,onChange:De})=>ft.createElement(Switch,{checked:at,onChange:fe=>{De(fe)}}),mt="@\u2581@",Nt="@\u2581\u2581@",ut=({questionTitlePlaceholder:at,form:De,scoreByBlank:fe=!1,hackidentifier:Xe,answerKey:Rt})=>{const[Oe,Ie]=(0,b.useState)(!1),[St,nt]=(0,b.useState)(!1),yt=(0,Ge.useParams)().type==="edit",Bn=(wt,kt)=>{const sn=kt.line;let cn=0;for(let Jn=0;Jn<sn;Jn++)cn+=wt.getLine(Jn).split(mt).length-1;for(let Jn=0;Jn<sn;Jn++)cn+=wt.getLine(Jn).split(Nt).length-1;const Ln=wt.getLine(sn).substring(0,kt.ch);return cn+=Ln.split(mt).length-1,cn+=Ln.split(Nt).length-1,cn},nn=(wt,kt,sn,cn)=>{const Ln=wt.getRange(kt.from,kt.to);let Jn=0;if(kt.text.forEach(va=>{Jn+=va.split(mt).length-1}),kt.text.forEach(va=>{Jn+=va.split(Nt).length-1}),kt.origin!=="setValue"){if(Ln&&(Ln.indexOf(mt)!==-1||Ln.indexOf(Nt)!==-1)){const va=Ln.split(mt).length-1+Ln.split(Nt).length-1,Da=Bn(wt,kt.from);if(console.log(`\u5220\u9664${va}\u4E2A\uFF0C \u524D\u9762\u6709${Da}\u4E2A\uFF0C\u65B0\u589E${Jn}\u4E2A`),va>1){const Na=Array.from({length:va},(ar,$a)=>Da+$a);cn(Na)}else cn(Da)}else if(Jn>0){const va=Bn(wt,kt.from);console.log(`\u65B0\u589E${Jn}\u4E2A\uFF0C\u4E4B\u524D\u6709${va}\u4E2A`),sn(Jn,va)}}},dn=()=>{const wt=De.getFieldValue(Rt);De.setFieldsValue({[Rt]:wt==null?void 0:wt.map((kt,sn)=>Zt(Vn({},kt),{position:sn+1}))})},un=(0,b.useRef)(),yn=(wt,kt)=>{for(let sn=0;sn<wt;sn++)un.current({position:null,answer_text:""},kt+sn);dn()},Te=(0,b.useRef)(),Ft=wt=>{Te.current(wt),dn()},zt=Be.default.useWatch(Rt,De);return ft.createElement("div",{className:Je.Z.wrap},ft.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},ft.createElement(Ve.h,{scrollId:"name",watch:!0,height:140})),ft.createElement("div",{className:Je.Z.questionTitleEditorWrap},ft.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},ft.createElement(Ve.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(wt,kt)=>{const sn=De.getFieldValue(Rt);console.log("--preAnswerData",sn,kt),De.setFieldsValue({[Rt]:sn==null?void 0:sn.map((cn,Ln)=>{var Jn;return Zt(Vn({},cn),{position:Ln+1,multi_line:(Jn=kt==null?void 0:kt[Ln])==null?void 0:Jn.multiLine})})})},placeholder:at,onCMBeforeChange:(wt,kt)=>{nn(wt,kt,yn,Ft)}}))),ft.createElement(Be.default.List,{name:Rt,rules:[{validator(wt,kt){if(!(kt!=null&&kt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const sn of kt){const{answer_text:cn}=sn||{};if((cn==null?void 0:cn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(wt,{add:kt,remove:sn},{errors:cn})=>(un.current=kt,Te.current=sn,ft.createElement(ft.Fragment,null,ft.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},ft.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),ft.createElement("div",{onClick:()=>{Ne.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:ft.createElement("div",null,ft.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",ft.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),ft.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},ft.createElement(gt.Z,{style:{marginRight:3,color:"#3061D0"}}),ft.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),wt.map((Ln,Jn)=>{var va=Ln,{key:Da,name:Na}=va,ar=Fn(va,["key","name"]),$a,fa;return ft.createElement(Ze.Z,{className:"mb20",key:Da,align:"middle",wrap:!1},ft.createElement(ke.Z,{flex:"0 0 auto",className:`${Je.Z.blankIndex}`},"\u586B\u7A7A\u9879",Jn+1),ft.createElement(ke.Z,{flex:1},ft.createElement(Ze.Z,{align:"top",justify:"space-between",wrap:!1},ft.createElement(ke.Z,null,ft.createElement(Be.default.Item,Zt(Vn({},ar),{name:[Na,"answer_text"],noStyle:!0}),($a=zt==null?void 0:zt[Na])!=null&&$a.multi_line||(fa=zt==null?void 0:zt[Na])!=null&&fa.multiLine?ft.createElement(ze,{spellCheck:!1,style:{marginLeft:10,width:550}}):ft.createElement(de.default,{style:{marginLeft:10,width:550},className:Je.Z.blankInput,size:"large",maxLength:1e3,onBlur:yr=>{}}))),fe&&ft.createElement(ke.Z,{flex:"224px"},ft.createElement(Be.default.Item,Zt(Vn({},ar),{name:[Na,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),ft.createElement(le.Z,{size:"large",className:Je.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),ft.createElement("div",{onClick:()=>Ie(!0)},ft.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ft.createElement(Ve.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Oe}))),ft.createElement(Be.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},ft.createElement(st.default,{size:"large"},ct.map(wt=>ft.createElement(st.default.Option,{key:wt.title,value:wt.key}," ",wt.title)))),ft.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},ft.createElement(Be.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},ft.createElement(le.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),ft.createElement("span",{className:"ml10 font14"},"\u79D2")),ft.createElement(Be.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},ft.createElement(et.ZP.Group,{style:{marginTop:-10}},ft.createElement(et.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),ft.createElement(et.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),ft.createElement(et.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),ft.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),ft.createElement("div",{style:{background:"#F6F7F9",padding:15}},ft.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},ft.createElement(ze,{rows:4})),ft.createElement(Be.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},ft.createElement(ze,{rows:4}))),ft.createElement(lt,{form:De,answerKey:Rt,hackIdentifier:Xe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:ft.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},40260:function(Qt,Gt,ee){"use strict";ee.d(Gt,{u:function(){return ie}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(6848),Ze=ee(78241),ke=ee(59489),le=ee(32134),st=ee(12893),et=ee(89314),Ve=ee(59301),Ge=Object.defineProperty,Je=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(ve,be,je)=>be in ve?Ge(ve,be,{enumerable:!0,configurable:!0,writable:!0,value:je}):ve[be]=je,y=(ve,be)=>{for(var je in be||(be={}))E.call(be,je)&&x(ve,je,be[je]);if(se)for(var je of se(be))a.call(be,je)&&x(ve,je,be[je]);return ve},z=(ve,be)=>Je(ve,Ye(be)),ne=(ve,be)=>{var je={};for(var Ae in ve)E.call(ve,Ae)&&be.indexOf(Ae)<0&&(je[Ae]=ve[Ae]);if(ve!=null&&se)for(var Ae of se(ve))be.indexOf(Ae)<0&&a.call(ve,Ae)&&(je[Ae]=ve[Ae]);return je};const re=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ue=({value:ve,onChange:be,choiceTextKey:je,answerKey:Ae,index:He,isEdit:he,setInputActive:qe,form:Ke,choiceOptionsPath:ht,allowChangeMode:Le,showAddIcon:ot,addItem:lt,deleteItem:gt})=>{console.log(ve,"value");const ft=(ve==null?void 0:ve[Ae])===1,ln=()=>{const an=Ke.getFieldValue(ht);Ke.setFieldValue(ht,an.map(hn=>z(y({},hn),{[Ae]:0})))},xt=()=>{ft?be(z(y({},ve),{[Ae]:0})):(Le||ln(),be(z(y({},ve),{[Ae]:1})))};return Ve.createElement(de.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1},Ve.createElement(Be.Z,{onClick:xt,className:`${ke.Z.choiceIndex} ${ft?ke.Z.activeAnswer:""}`},re[He]),Ve.createElement(Be.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`,onClick:qe},Ve.createElement(et.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:he,value:ve==null?void 0:ve[je],onChange:an=>{be(z(y({},ve),{[je]:an}))}})),Ve.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ve.createElement("div",{onClick:xt,className:`${ke.Z.setAnswerBtn} ${ft?ke.Z.activeAnswer:""}`},ft?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ve.createElement(Be.Z,{className:ke.Z.actionWrapper},Ve.createElement(Ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ve.createElement(le.Z,{className:ke.Z.addIcon,onClick:lt,style:{visibility:ot?"visible":"hidden"}})),Ve.createElement(Ne.Z,{title:"\u5220\u9664"},Ve.createElement(st.Z,{className:ke.Z.deleteIcon,onClick:gt,style:{visibility:He>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:ve,titleKey:be,choiceKey:je,analysisKey:Ae,choiceTextKey:He,answerKey:he,choiceOptionsPath:qe,allowChangeMode:Ke=!0,form:ht,showAnalysis:Le=!0})=>{const[ot,lt]=(0,b.useState)(),[gt,ft]=(0,b.useState)(!1);return Ve.createElement("div",{className:ke.Z.wrap},Ve.createElement("div",{className:ke.Z.questionTitleEditorWrap},Ve.createElement(Ze.default.Item,{label:"\u9898\u5E72",name:be,labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(et.h,{scrollId:Array.isArray(be)?be.join("_"):`${be}`,watch:!0,height:140,placeholder:ve}))),Ve.createElement(Ze.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ve.createElement(Ze.default.List,{name:je,rules:[{validator(ln,xt){const an=xt.some($e=>$e[he]===1),hn=xt.findIndex($e=>{var dt;return((dt=$e[He])==null?void 0:dt.length)<=0});return hn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[hn]}\u9009\u9879\u7684\u5185\u5BB9`)):an?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ln,{add:xt,remove:an})=>Ve.createElement("div",{id:Array.isArray(qe)?qe.join("_"):`${qe}`},ln.map((hn,$e)=>{var dt=hn,{key:rn,name:Vn}=dt,Zt=ne(dt,["key","name"]);const Fn=ot===rn,ze=()=>{lt(rn)},ct=$e<7&&$e===ln.length-1,Lt=()=>xt({[He]:"",[he]:0}),mt=()=>an(Vn);return Ve.createElement(Ze.default.Item,z(y({},Zt),{key:rn,name:Vn,className:ke.Z.choiceListWrap,rules:[{validator(Nt,ut){return ut!=null&&ut.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[$e]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ve.createElement(ue,{choiceTextKey:He,answerKey:he,index:$e,isEdit:Fn,setInputActive:ze,form:ht,choiceOptionsPath:qe,allowChangeMode:Ke,showAddIcon:ct,addItem:Lt,deleteItem:mt}))}),ln.length<8&&Ve.createElement("div",{className:`${ke.Z.addBtn} mb30`,onClick:()=>xt({[He]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Le&&Ve.createElement("div",{onClick:()=>ft(!0)},Ve.createElement(Ze.default.Item,{name:Ae,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ve.createElement(et.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gt}))))}},95062:function(Qt,Gt,ee){"use strict";ee.d(Gt,{u:function(){return Ke}});var b=ee(59301),de=ee(43418),Be=ee(95237),Ne=ee(43604),Ze=ee(92832),ke=ee(6848),le=ee(78673),st=ee(78241),et=ee(5112),Ve=ee(5871),Ge=ee(89314),Je=ee(12893),Ye=ee(61485),se=ee(59489),E=ee(24302),a=ee(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,ie=(ht,Le,ot)=>Le in ht?x(ht,Le,{enumerable:!0,configurable:!0,writable:!0,value:ot}):ht[Le]=ot,ve=(ht,Le)=>{for(var ot in Le||(Le={}))re.call(Le,ot)&&ie(ht,ot,Le[ot]);if(ne)for(var ot of ne(Le))ue.call(Le,ot)&&ie(ht,ot,Le[ot]);return ht},be=(ht,Le)=>y(ht,z(Le)),je=(ht,Le)=>{var ot={};for(var lt in ht)re.call(ht,lt)&&Le.indexOf(lt)<0&&(ot[lt]=ht[lt]);if(ht!=null&&ne)for(var lt of ne(ht))Le.indexOf(lt)<0&&ue.call(ht,lt)&&(ot[lt]=ht[lt]);return ot};const Ae=({value:ht,onChange:Le})=>{const ot=gt=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:se.Z.modal,onOk:()=>{const ft=[...ht];ft.splice(gt,1),Le(ft)}})},lt=()=>{const gt=[...ht];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ht==null?void 0:ht.map((gt,ft)=>a.createElement(Be.Z,{key:`${gt}_${ft}`,className:"mb20"},a.createElement(Ze.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:gt,autoSize:{maxRows:3},maxLength:1e3,onBlur:ln=>{const xt=[...ht],an=ln.target.value.trim();xt[ft]=an,Le(xt)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:ft>0?"visible":"hidden"},onClick:()=>ot(ft)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},He=({value:ht,onChange:Le})=>{const ot=gt=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:se.Z.modal,onOk:()=>{const ft=[...ht];ft.splice(gt,1),Le(ft)}})},lt=()=>{const gt=[...ht];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ht==null?void 0:ht.map((gt,ft)=>a.createElement(Be.Z,{key:`${gt}_${ft}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:gt,style:{flex:1},onChange:ln=>{const xt=[...ht];xt[ft]=ln,Le(xt)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:ft>0?"visible":"hidden"},onClick:()=>ot(ft)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},he=({value:ht=!0,onChange:Le})=>a.createElement(le.Z,{checked:!ht,onChange:ot=>{Le(!ot)}}),qe="\u2581",Ke=({questionTitlePlaceholder:ht,form:Le,scoreByBlank:ot=!1,answerKey:lt})=>{const[gt,ft]=(0,b.useState)(!1),ln=(Zt,Fn)=>{const ze=Fn.line;let ct=0;for(let mt=0;mt<ze;mt++)ct+=Zt.getLine(mt).split(qe).length-1;const Lt=Zt.getLine(ze).substring(0,Fn.ch);return ct+=Lt.split(qe).length-1,ct},xt=(Zt,Fn,ze,ct)=>{const Lt=Zt.getRange(Fn.from,Fn.to);let mt=0;if(Fn.text.forEach(Nt=>{mt+=Nt.split(qe).length-1}),Fn.origin!=="setValue"){if(Lt&&Lt.indexOf(qe)!==-1){const Nt=Lt.split(qe).length-1,ut=ln(Zt,Fn.from);if(console.log(`\u5220\u9664${Nt}\u4E2A\uFF0C \u524D\u9762\u6709${ut}\u4E2A\uFF0C\u65B0\u589E${mt}\u4E2A`),Nt>1){const at=Array.from({length:Nt},(De,fe)=>ut+fe);ct(at)}else ct(ut)}else if(mt>0){const Nt=ln(Zt,Fn.from);console.log(`\u65B0\u589E${mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${Nt}\u4E2A`),ze(mt,Nt)}}},an=()=>{const Zt=Le.getFieldValue(lt);Le.setFieldsValue({[lt]:Zt.map((Fn,ze)=>be(ve({},Fn),{position:ze+1}))})},hn=(0,b.useRef)(),$e=(Zt,Fn)=>{for(let ze=0;ze<Zt;ze++)hn.current({position:null,answer_text:[""],model:1},Fn+ze);an()},dt=(0,b.useRef)(),rn=Zt=>{dt.current(Zt),an()},Vn=st.default.useWatch(lt,Le);return a.createElement("div",{className:se.Z.wrap},a.createElement("div",{className:se.Z.questionTitleEditorWrap},a.createElement(st.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Ge.h,{scrollId:"name",watch:!0,height:140,placeholder:ht,showNullButton:!0,onCMBeforeChange:(Zt,Fn)=>{xt(Zt,Fn,$e,rn)}}))),a.createElement(st.default.List,{name:lt,rules:[{validator(Zt,Fn){if(!(Fn!=null&&Fn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const ze of Fn){const{answer_text:ct}=ze||{};if(ct!=null&&ct.some(Lt=>(Lt==null?void 0:Lt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Zt,{add:Fn,remove:ze},{errors:ct})=>(hn.current=Fn,dt.current=ze,a.createElement(a.Fragment,null,a.createElement(st.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Zt!=null&&Zt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Zt.map((Lt,mt)=>{var Nt=Lt,{key:ut,name:at}=Nt,De=je(Nt,["key","name"]),fe,Xe;return a.createElement("div",{style:{marginBottom:10},key:ut},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ne.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${se.Z.blankIndex}`},"\u586B\u7A7A\u9879",mt+1),a.createElement(st.default.Item,be(ve({},De),{name:[at,"model"],noStyle:!0}),a.createElement(et.ZP.Group,{onChange:()=>{const Rt=Le.getFieldValue(lt);Le.setFieldsValue({[lt]:Rt.map((Oe,Ie)=>be(ve({},Oe),{answer_text:at===Ie?[""]:Oe.answer_text}))})}},a.createElement(et.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(ke.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Ye.Z,null))),a.createElement(et.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(ke.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Ye.Z,null)))))),a.createElement(Be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement(st.default.Item,be(ve({},De),{name:[at,"answer_text"],noStyle:!0}),((Xe=(fe=Le.getFieldValue(lt))==null?void 0:fe[at])==null?void 0:Xe.model)===1?a.createElement(Ae,null):a.createElement(He,null))),ot&&a.createElement(Ne.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(st.default.Item,be(ve({},De),{name:[at,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:se.Z.blankInputNumberWrapper}),a.createElement(Ve.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(st.default.Item,be(ve({},De),{name:[at,"position"],noStyle:!0}),a.createElement(Ze.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(st.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Be.Z,{align:"middle"},a.createElement(st.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Vn==null?void 0:Vn.length)>1&&a.createElement(Be.Z,{align:"middle",className:(Vn==null?void 0:Vn.length)>1?"mb30":`${se.Z.hide}`},a.createElement(st.default.Item,{name:"is_ordered"},a.createElement(he,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>ft(!0)},a.createElement(st.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Ge.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gt}))))}},42784:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ne}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(78241),Ze=ee(59489),ke=ee(89314),le=ee(59301),st=Object.defineProperty,et=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,se=(re,ue,ie)=>ue in re?st(re,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):re[ue]=ie,E=(re,ue)=>{for(var ie in ue||(ue={}))Je.call(ue,ie)&&se(re,ie,ue[ie]);if(Ge)for(var ie of Ge(ue))Ye.call(ue,ie)&&se(re,ie,ue[ie]);return re},a=(re,ue)=>et(re,Ve(ue)),x=(re,ue)=>{var ie={};for(var ve in re)Je.call(re,ve)&&ue.indexOf(ve)<0&&(ie[ve]=re[ve]);if(re!=null&&Ge)for(var ve of Ge(re))ue.indexOf(ve)<0&&Ye.call(re,ve)&&(ie[ve]=re[ve]);return ie};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ue,form:ie})=>{const ve=(re==null?void 0:re.is_answer)===1,be=re==null?void 0:re.choice_text,je=()=>{const Ae=ie.getFieldsValue().choices.map(He=>({choice_text:He.choice_text,is_answer:0}));ie.setFieldsValue({choices:Ae}),ue(a(E({},re),{is_answer:1}))};return le.createElement(de.Z,{className:Ze.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},le.createElement(Be.Z,{onClick:je,className:`${Ze.Z.choiceIndex} ${Ze.Z.judgementIndex} ${ve?Ze.Z.activeAnswer:""}`},y[be]),le.createElement(Be.Z,{flex:1,className:`${Ze.Z.editorWrap} ml15`},le.createElement("div",{className:`${Ze.Z.inputBorder} ${Ze.Z.placeholder} ${ve?Ze.Z.activeJudgementAnswer:""}`},be)),le.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},le.createElement("div",{onClick:je,className:`${Ze.Z.setAnswerBtn} ${ve?Ze.Z.activeAnswer:""}`},ve?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ne=({questionTitlePlaceholder:re,choiceKey:ue,form:ie})=>{const[ve,be]=(0,b.useState)(!1);return le.createElement("div",{className:Ze.Z.wrap},le.createElement("div",{className:Ze.Z.questionTitleEditorWrap},le.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},le.createElement(ke.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),le.createElement(Ne.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},le.createElement(Ne.default.List,{name:"choices",rules:[{validator(je,Ae){return Ae.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},je=>le.createElement("div",{id:"choices"},je.map(Ae=>{var He=Ae,{key:he,name:qe}=He,Ke=x(He,["key","name"]);return le.createElement(Ne.default.Item,a(E({},Ke),{key:he,name:qe,noStyle:!0}),le.createElement(z,{form:ie}))})))),le.createElement("div",{onClick:()=>be(!0)},le.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},le.createElement(ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ve}))))}},89314:function(Qt,Gt,ee){"use strict";ee.d(Gt,{h:function(){return E},x:function(){return a}});var b=ee(4213),de=ee(59489),Be=ee(98573),Ne=ee(59301),Ze=Object.defineProperty,ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ge=(x,y,z)=>y in x?Ze(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,Je=(x,y)=>{for(var z in y||(y={}))et.call(y,z)&&Ge(x,z,y[z]);if(st)for(var z of st(y))Ve.call(y,z)&&Ge(x,z,y[z]);return x},Ye=(x,y)=>ke(x,le(y)),se=(x,y)=>{var z={};for(var ne in x)et.call(x,ne)&&y.indexOf(ne)<0&&(z[ne]=x[ne]);if(x!=null&&st)for(var ne of st(x))y.indexOf(ne)<0&&Ve.call(x,ne)&&(z[ne]=x[ne]);return z};const E=x=>{var y=x,{value:z,onChange:ne,scrollId:re}=y,ue=se(y,["value","onChange","scrollId"]);return Ne.createElement("div",{id:re||""},Ne.createElement(b.Z,Ye(Je({},ue),{defaultValue:z,onChange:(ie,ve)=>{ve!=null&&ve.length?ne(ie,ve):ne(ie)}})))},a=({value:x,onChange:y,placeholder:z,height:ne=140,isEdit:re,miniToolbar:ue,watch:ie=!0})=>re?Ne.createElement(b.Z,{watch:ie,isFocus:!0,height:ne||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:ue}):Ne.createElement("div",{style:{cursor:"pointer"}},x?Ne.createElement(Be.Z,{className:de.Z.inputBorder,value:x}):Ne.createElement("div",{className:`${de.Z.inputBorder} ${de.Z.placeholder} inputBorderError`},z))},12796:function(Qt,Gt,ee){"use strict";ee.d(Gt,{W:function(){return He}});var b=ee(59301),de=ee(8591),Be=ee(12563),Ne=ee(78241),Ze=ee(78673),ke=ee(95237),le=ee(43604),st=ee(6848),et=ee(92832),Ve=ee(5871),Ge=ee(59489),Je=ee(89314),Ye=ee(4213),se=ee(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(he,qe,Ke)=>qe in he?E(he,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):he[qe]=Ke,ue=(he,qe)=>{for(var Ke in qe||(qe={}))z.call(qe,Ke)&&re(he,Ke,qe[Ke]);if(y)for(var Ke of y(qe))ne.call(qe,Ke)&&re(he,Ke,qe[Ke]);return he},ie=(he,qe)=>a(he,x(qe)),ve=(he,qe)=>{var Ke={};for(var ht in he)z.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&y)for(var ht of y(he))qe.indexOf(ht)<0&&ne.call(he,ht)&&(Ke[ht]=he[ht]);return Ke};const be=he=>{var qe=he,{value:Ke,onChange:ht}=qe,Le=ve(qe,["value","onChange"]);const ot=lt=>{ht([lt])};return b.createElement(Ye.Z,ie(ue({},Le),{defaultValue:Ke==null?void 0:Ke[0],onChange:ot}))},je=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.trim()===""){de.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let qe=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return he==="|"?(de.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ae=({value:he=[],onClose:qe})=>b.createElement(Be.default,{closable:!0,onClose:qe,className:Ge.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),He=({questionTitlePlaceholder:he,form:qe,showKeywords:Ke,isMustKeyWords:ht=Ke})=>{const[Le,ot]=(0,b.useState)(!1),[lt,gt]=(0,b.useState)(""),ft=Ne.default.useWatch("use_keywords",qe),ln=Ne.default.useWatch("question_score",qe);return b.createElement("div",{className:Ge.Z.wrap},b.createElement("div",{className:Ge.Z.questionTitleEditorWrap},b.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(Je.h,{scrollId:"name",watch:!0,height:140,placeholder:he}))),b.createElement(Ne.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(be,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ke&&!ht&&b.createElement(Ne.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(Ze.Z,{defaultChecked:!0})),Ke&&ht&&b.createElement(ke.Z,{align:"middle",className:"mb30"},b.createElement(Ne.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(Ze.Z,null)),b.createElement(le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(le.Z,null,b.createElement(st.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(se.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(ft||!ht)&&b.createElement(Ne.default.List,{name:"keywords",rules:[{validator(xt,an){return ht?an!=null&&an.length?(an==null?void 0:an.reduce(($e,dt)=>$e+dt.score,0))>parseFloat(ln)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(xt,{add:an,remove:hn})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${Ge.Z.title} mb10`},ht?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ke.Z,{align:"middle",className:"font14 mb30"},b.createElement(le.Z,{flex:1},b.createElement(et.default,{value:lt,onChange:$e=>{gt($e.target.value)},maxLength:50,allowClear:!0,onPressEnter:$e=>{var dt,rn,Vn,Zt;const Fn=`${(dt=$e.target)==null?void 0:dt.value}`,ze=(Vn=(rn=Fn==null?void 0:Fn.split("|"))==null?void 0:rn.filter(mt=>!!mt))==null?void 0:Vn.map(mt=>mt==null?void 0:mt.trim()),ct=qe.getFieldValue("keywords"),Lt=((Zt=ct==null?void 0:ct.map(mt=>mt==null?void 0:mt.keyword))==null?void 0:Zt.flat())||[];for(const mt of ze)if(Lt.includes(mt)){de.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}je(Fn)&&(an({keyword:ze,score:1}),gt(""))},className:Ge.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(le.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),xt.map($e=>{var dt=$e,{key:rn,name:Vn}=dt,Zt=ve(dt,["key","name"]);return b.createElement(ke.Z,{key:rn,className:"mb20",style:{marginRight:148}},b.createElement(le.Z,{flex:1},b.createElement(ke.Z,{align:"middle",justify:"space-between"},b.createElement(Ne.default.Item,ie(ue({},Zt),{name:[Vn,"keyword"]}),b.createElement(Ae,{onClose:()=>hn(Vn)})),ht&&b.createElement(Ne.default.Item,ie(ue({},Zt),{name:[Vn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ge.Z.blankInputNumberWrapper}),b.createElement(Ve.Z,{className:Ge.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>ot(!0)},b.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Le}))))}},20135:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ze}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},de=ee(78241),Be=ee(59301),Ze=({text:ke,name:le="question_score"})=>{const st=({value:et})=>Be.createElement("div",{className:b.text},Be.createElement("span",{className:b.sup},"*"),Be.createElement("span",{className:"mr10"},"\u5206\u503C"),Be.createElement("span",null,et||"--"),Be.createElement("span",{className:"c-grey-999"},ke));return Be.createElement(de.default.Item,{noStyle:!0,name:le},Be.createElement(st,null))}},56636:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return je},P:function(){return ie}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(5112),Ze=ee(92832),ke=ee(1710),le={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},st=ee(84698),et=Object.defineProperty,Ve=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,E=(Ae,He,he)=>He in Ae?et(Ae,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[He]=he,a=(Ae,He)=>{for(var he in He||(He={}))Ye.call(He,he)&&E(Ae,he,He[he]);if(Je)for(var he of Je(He))se.call(He,he)&&E(Ae,he,He[he]);return Ae},x=(Ae,He)=>Ve(Ae,Ge(He)),y=(Ae,He)=>{var he={};for(var qe in Ae)Ye.call(Ae,qe)&&He.indexOf(qe)<0&&(he[qe]=Ae[qe]);if(Ae!=null&&Je)for(var qe of Je(Ae))He.indexOf(qe)<0&&se.call(Ae,qe)&&(he[qe]=Ae[qe]);return he},z=(Ae,He,he)=>new Promise((qe,Ke)=>{var ht=lt=>{try{ot(he.next(lt))}catch(gt){Ke(gt)}},Le=lt=>{try{ot(he.throw(lt))}catch(gt){Ke(gt)}},ot=lt=>lt.done?qe(lt.value):Promise.resolve(lt.value).then(ht,Le);ot((he=he.apply(Ae,He)).next())});const ne=({studentNames:Ae,total:He})=>{const he=["","\u4E00","\u4E24","\u4E09"];return He>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},Ae==null?void 0:Ae.join("\u3001")),"\u7B49",b.createElement("span",{className:le.orangeColor},He),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},Ae==null?void 0:Ae.join("\u3001")),he[He],"\u540D\u5B66\u751F")},re=({used:Ae,copy:He,canNotCopy:he,studentNames:qe,studentCount:Ke,inPaper:ht,is_random:Le=!1,position:ot=""})=>{const lt=()=>{if(He>0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(He>0&&he===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(He===0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},gt=ot||(ht?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(ne,{studentNames:qe,total:Ke}),"\u5B66\u4E60\u8FC7",gt,"\u4E2D\u7684",b.createElement("span",{className:le.orangeColor},Ae),"\u4E2A\u9879\u76EE\uFF0C",lt(),"\u3002\u8BF7\u9009\u62E9",Le?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},ue=({onCancel:Ae,onOk:He,visible:he,inPaper:qe,renderData:Ke,type:ht,isMultipleCourse:Le=!1})=>{const[ot]=de.default.useForm(),[lt,gt]=(0,b.useState)(1),[ft,ln]=(0,b.useState)(!1),xt=(0,b.useMemo)(()=>(Ke==null?void 0:Ke.total_num)===1&&(Ke==null?void 0:Ke.can_copy_num)===1,[Ke]),an=(0,b.useMemo)(()=>{var hn;return(hn=Ke==null?void 0:Ke.course_data_list)==null?void 0:hn.filter($e=>$e.is_show)},[Ke]);return b.createElement(b.Fragment,null,xt?b.createElement(Be.default,{centered:!0,closable:!0,open:he,destroyOnClose:!0,title:"\u63D0\u793A",className:le.antdModal,width:682,confirmLoading:ft,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var hn;ln(!0);let $e=lt;if(Le){const dt=a({},ot.getFieldsValue());$e=(hn=Ke==null?void 0:Ke.course_data_list)==null?void 0:hn.map(rn=>dt[rn.id]!==void 0?x(a({},rn),{is_copy:dt[rn.id]}):rn)}yield He($e),ln(!1)})},b.createElement("div",{className:le.content,style:{marginBottom:20}},Le?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":b.createElement(b.Fragment,null,b.createElement(ne,{studentNames:Ke==null?void 0:Ke.student_names,total:Ke==null?void 0:Ke.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Le?b.createElement(de.default,{form:ot,preserve:!1},an==null?void 0:an.map(hn=>b.createElement(b.Fragment,{key:hn.id},b.createElement("h3",{className:"ml15 mb5"},hn.name),b.createElement(de.default.Item,{name:hn.id,initialValue:1},b.createElement(Ne.ZP.Group,{className:le.content},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):b.createElement(Ne.ZP.Group,{value:lt,onChange:hn=>gt(hn.target.value),className:le.content,style:{marginBottom:30}},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),b.createElement("div",null,b.createElement("div",{className:le.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:le.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:`${le.content} ${le.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):b.createElement(Be.default,{centered:!0,closable:!0,destroyOnClose:!0,open:he,confirmLoading:ft,title:"\u63D0\u793A",width:682,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var hn;ln(!0);let $e=0;if(Le){const dt=a({},ot.getFieldsValue());$e=(hn=Ke==null?void 0:Ke.course_data_list)==null?void 0:hn.map(rn=>dt[rn.id]!==void 0?x(a({},rn),{is_use:dt[rn.id]}):rn)}yield He($e),ln(!1)})},b.createElement("div",{className:le.content},b.createElement(ne,{studentNames:Ke==null?void 0:Ke.student_names,total:Ke==null?void 0:Ke.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Le?b.createElement(de.default,{form:ot,preserve:!1},b.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),an==null?void 0:an.map(hn=>b.createElement(b.Fragment,{key:hn.id},b.createElement("h3",{className:"ml15 mb5"},hn.name),b.createElement(de.default.Item,{name:hn.id,initialValue:1},b.createElement(Ne.ZP.Group,{className:le.content},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):b.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",b.createElement("span",{className:le.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ie=function(){const[Ae,He]=(0,b.useState)(!1),[he,qe]=(0,b.useState)();return[Ae,()=>He(!1),he,Le=>z(this,null,function*(){var ot;const lt=Le,{isImportMultipleCourse:gt=!1}=lt,ft=y(lt,["isImportMultipleCourse"]);console.log(Le);const ln=(Le==null?void 0:Le.result)||(yield(0,st.Tr)(ft));return"status"in ln?!1:gt?((ot=ln==null?void 0:ln.course_data_list)==null?void 0:ot.some(an=>an.is_show))?(qe(ln),He(!0),!0):ln.course_data_list||[]:ln.student_count===0?!1:(qe(ln),He(!0),!0)})]},ve=Ae=>{const[He]=de.default.useForm(),[he,qe]=(0,b.useState)(!1),{onCancel:Ke,onOk:ht,visible:Le,inPaper:ot=!1,renderData:lt,type:gt,isMultipleCourse:ft=!1,position:ln}=Ae;let xt=(0,b.useMemo)(()=>ot?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render($e,dt){return b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:($e,dt)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426"))),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render($e,dt){return b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:($e,dt)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:($e,dt)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426")))}],[ot]),an=(0,b.useMemo)(()=>ot?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,align:"center",ellipsis:!0,render:($e,dt)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,ellipsis:!0,align:"center",render:($e,dt)=>b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:($e,dt)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],initialValue:0},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426"))),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})))}],[ot]);if(ft){const $e={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:le.tableCell,render:(dt,rn)=>b.createElement("a",{href:`/classrooms/${rn.course_id}`},dt)};xt=[$e,...xt],an=[$e,...an]}const hn=(0,b.useMemo)(()=>re({used:lt==null?void 0:lt.repeat_shixun_num,copy:lt==null?void 0:lt.can_copy_num,canNotCopy:lt==null?void 0:lt.no_copy_num,studentNames:lt==null?void 0:lt.student_names,studentCount:lt==null?void 0:lt.student_count,is_random:lt==null?void 0:lt.is_random,inPaper:ot,position:ln}),[lt,ot,ln]);return b.createElement(Be.default,{title:"\u63D0\u793A",centered:!0,open:Le,confirmLoading:he,onOk:()=>z(void 0,null,function*(){qe(!0);const $e=He.getFieldsValue(),dt=Object.keys($e).map(rn=>({id:parseInt(rn.split("_")[0]),course_id:parseInt(rn.split("_")[1]),is_use:$e[rn].is_use,is_copy:$e[rn].is_copy}));yield ht(dt),qe(!1)}),onCancel:Ke,width:880,okText:"\u786E\u8BA4",className:le.antdModal,destroyOnClose:!0},b.createElement(de.default,{form:He,preserve:!1},b.createElement("div",{className:le.brief},hn),b.createElement("div",{style:{marginBottom:30}},b.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),b.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:le.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(lt==null?void 0:lt.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:le.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ke.default,{columns:xt,className:le.antdTable,dataSource:lt==null?void 0:lt.can_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(lt==null?void 0:lt.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:le.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ke.default,{columns:an,className:le.antdTable,dataSource:lt==null?void 0:lt.no_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(lt==null?void 0:lt.no_use_list.length)>0&&(lt==null?void 0:lt.no_use_list.map($e=>b.createElement("div",{key:gt==="subject"?$e.stage_shixun_id:$e.shixun_course_id||$e.id},b.createElement(de.default.Item,{name:[`${gt==="subject"?$e==null?void 0:$e.stage_shixun_id:$e.shixun_course_id||$e.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?$e==null?void 0:$e.stage_shixun_id:$e.shixun_course_id||$e.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))))))};var je=Ae=>{const{modalType:He}=Ae;return He==="multiple"?b.createElement(ve,a({},Ae)):b.createElement(ue,a({},Ae))}},67702:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(59301),de={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Be=ee(43418),Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ke=(et,Ve,Ge)=>new Promise((Je,Ye)=>{var se=x=>{try{a(Ge.next(x))}catch(y){Ye(y)}},E=x=>{try{a(Ge.throw(x))}catch(y){Ye(y)}},a=x=>x.done?Je(x.value):Promise.resolve(x.value).then(se,E);a((Ge=Ge.apply(et,Ve)).next())}),st=({type:et,resdata:Ve,onok:Ge,oktext:Je,okloading:Ye})=>{const[se,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:ne,no_copy_num:re,no_use_list:ue,no_use_num:ie,repeat_shixun_num:ve,student_count:be,total_num:je,use_num:Ae}=Ve;let He=x>0||et==="exercise";(0,b.useEffect)(()=>{(Ve==null?void 0:Ve.student_count)>0&&E(!0)},[Ve]),console.log("---11",Ye),(0,b.useEffect)(()=>{Ye||E(!1)},[Ye]);const he=()=>{if(et==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(et==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\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",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\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",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:de.orangeColor},be)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:de.orangeColor},Ae)," \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",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(et==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:de.orangeColor},Ae),"\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",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},qe=()=>{if(et==="exercise"||et==="subject"||et==="exercisepush"||et==="shixunpush")return b.createElement("div",{style:{marginTop:20}},re>0&&b.createElement("div",null,b.createElement("span",{className:de.flex},b.createElement("img",{src:Ze,style:{width:14}}),b.createElement("span",{className:de.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:de.statusbody},et==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(et==="subject"||et==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),et==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,ne==null?void 0:ne.map((Ke,ht)=>b.createElement("a",{href:`/shixuns/${Ke.identifier}/challenges`,target:"_blank"},"\u300A",Ke==null?void 0:Ke.name,"\u300B",ht+1!==re&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:de.flex},b.createElement("img",{src:Ne,style:{width:14}}),b.createElement("span",{className:de.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:de.statusbody},et==="exercise"&&b.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"),(et==="subject"||et==="exercisepush")&&b.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"),et==="shixunpush"&&b.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"),b.createElement("div",null,a==null?void 0:a.map((Ke,ht)=>b.createElement("a",{href:`/shixuns/${Ke.identifier}/challenges`,target:"_blank"},"\u300A",Ke==null?void 0:Ke.name,"\u300B",ht+1!==x&&"\u3001"))))));if(et==="shixun")return b.createElement("div",{style:{marginTop:20}},x>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 b.createElement(Be.default,{open:se,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!He&&"none"}},zIndex:1003,confirmLoading:Ye,okText:He?Je:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){He?yield Ge([...a,...ue]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},he(),qe()))}},41539:function(Qt,Gt,ee){"use strict";ee.d(Gt,{h:function(){return re}});var b=ee(59301),de=ee(57809),Be=ee(78241),Ne=ee(3113),Ze=ee(89780),ke=ee.n(Ze),le=ee(39060),st=ee(76596),et=Object.defineProperty,Ve=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,E=(ue,ie,ve)=>ie in ue?et(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ue[ie]=ve,a=(ue,ie)=>{for(var ve in ie||(ie={}))Ye.call(ie,ve)&&E(ue,ve,ie[ve]);if(Je)for(var ve of Je(ie))se.call(ie,ve)&&E(ue,ve,ie[ve]);return ue},x=(ue,ie)=>Ve(ue,Ge(ie));const y=de.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ne={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"]};Gt.Z=({callback:ue,onCancel:ie})=>{const[ve,be]=(0,b.useState)("python");function je(He){be(ne[He][1])}function Ae(He){ue(He)}return b.createElement(Be.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ae,style:{width:500}}),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(de.default,{getPopupContainer:He=>He.parentNode,onChange:je},Object.keys(ne).map(He=>b.createElement(y,{key:He,value:He},ne[He][0])))),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(re,{mode:ve})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function re({value:ue,onChange:ie,mode:ve,options:be={}}){const je=(0,b.useRef)(),[Ae,He]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ae){let he=function(qe){const Ke=qe.getValue();ie&&ie(Ke)};return Ae.on("change",he),()=>{Ae.off("change",he)}}},[Ae,ie]),(0,b.useEffect)(()=>{Ae&&Ae.setOption("mode",ve)},[Ae,ve]),(0,b.useEffect)(()=>{Ae&&(ue!==Ae.getValue()||ue==="")&&setTimeout(()=>{Ae.setValue(ue||"")},300)},[Ae,ue]),(0,b.useEffect)(()=>{if(je.current&&!Ae){const he=ke().fromTextArea(je.current,a({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));He(he)}},[je.current,Ae]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:je}))}},4213:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return wn}});var b=ee(59301),de=ee(89780),Be=ee.n(de),Ne=ee(76374),Ze=ee(39060),ke=ee(6313),le=ee(25717),st=ee(99498),et=ee(25419),Ve=ee(67549),Ge=ee(98573),Je=({value:vt="",className:Bt,showTextOnly:pt,showLines:Sn,style:Wn={}})=>{const An=(0,b.useMemo)(()=>"",[vt]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:An}}))},Ye=ee(59301),se=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(vt,Bt,pt)=>Bt in vt?se(vt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):vt[Bt]=pt,re=(vt,Bt)=>{for(var pt in Bt||(Bt={}))y.call(Bt,pt)&&ne(vt,pt,Bt[pt]);if(x)for(var pt of x(Bt))z.call(Bt,pt)&&ne(vt,pt,Bt[pt]);return vt},ue=(vt,Bt)=>E(vt,a(Bt));let ie=[{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 ve({onActionCallback:vt,title:Bt,icon:pt,actionName:Sn,className:Wn="",children:An}){function ka(){vt(Sn)}return Ye.createElement("a",{title:Bt,className:Wn,onClick:ka},Ye.createElement("i",{className:`${pt}`}),An)}var be=({watch:vt,showNullButton:Bt,showNullProgramButton:pt,onActionCallback:Sn,fullScreen:Wn,insertTemp:An,hidetoolBar:ka,extraUse:pa})=>{const _n=[...ie,{title:`${vt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${vt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ye.createElement("ul",{className:"markdown-toolbar-container"},!ka&&_n.map((Ea,Pa)=>Ye.createElement("li",{key:Pa},Ea.actionName?Ye.createElement(ve,ue(re({},Ea),{onActionCallback:Sn})):Ye.createElement("span",{className:"v-line"}))),Bt?Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,pt?Ye.createElement(Ye.Fragment,null,Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,An&&Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${An}`,onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),pa&&Ye.createElement("li",null,pa),Ye.createElement("li",{className:"btn-full-screen"},Ye.createElement(ve,{icon:`${Wn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Wn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Sn})))},je=ee(51498),Ae=ee(78241),He=ee(92832),he=ee(3113),qe=Object.defineProperty,Ke=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,gt=(vt,Bt,pt)=>Bt in vt?qe(vt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):vt[Bt]=pt,ft=(vt,Bt)=>{for(var pt in Bt||(Bt={}))ot.call(Bt,pt)&&gt(vt,pt,Bt[pt]);if(Le)for(var pt of Le(Bt))lt.call(Bt,pt)&&gt(vt,pt,Bt[pt]);return vt},ln=(vt,Bt)=>Ke(vt,ht(Bt));const xt={labelCol:{span:4},wrapperCol:{span:20}};var an=({callback:vt,onCancel:Bt})=>{function pt(Sn){vt(Sn)}return b.createElement(Ae.default,ln(ft({},xt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:pt,style:{width:500}}),b.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(He.default,null)),b.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(He.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(he.ZP,{type:"ghost",onClick:Bt},"\u53D6\u6D88")))},hn=ee(41539),$e=ee(35944),dt=ee(43418),rn=ee(95237),Vn=ee(89837),Zt=ee(59301),Fn=({callback:vt,onCancel:Bt})=>{const pt=document.createElement("canvas"),Sn=pt.getContext("2d");pt.width=1e3,pt.height=800,Sn.fillStyle="#ffffff",Sn.fillRect(0,0,pt.width,pt.height);const Wn=pt.toDataURL("image/png");return Zt.createElement(dt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Zt.createElement(rn.Z,{style:{height:"100vh"}},Zt.createElement(Vn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Wn,visible:!0,title:String(Date.now())},onOk:An=>{vt({src:An.url})},onClose:Bt})))},ze=ee(12378);function ct(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ct,go.CommandHandler),ct.prototype.canAlignSelection=function(){var vt=this.diagram;return!(vt===null||vt.isReadOnly||vt.isModelReadOnly||vt.selection.count<2)},ct.prototype.alignLeft=function(){var vt=this.diagram;vt.startTransaction("aligning left");var Bt=1/0;vt.selection.each(function(pt){pt instanceof go.Link||(Bt=Math.min(pt.position.x,Bt))}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(Bt,pt.position.y))}),vt.commitTransaction("aligning left")},ct.prototype.alignRight=function(){var vt=this.diagram;vt.startTransaction("aligning right");var Bt=-1/0;vt.selection.each(function(pt){if(!(pt instanceof go.Link)){var Sn=pt.actualBounds.x+pt.actualBounds.width;Bt=Math.max(Sn,Bt)}}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(Bt-pt.actualBounds.width,pt.position.y))}),vt.commitTransaction("aligning right")},ct.prototype.alignTop=function(){var vt=this.diagram;vt.startTransaction("alignTop");var Bt=1/0;vt.selection.each(function(pt){pt instanceof go.Link||(Bt=Math.min(pt.position.y,Bt))}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(pt.position.x,Bt))}),vt.commitTransaction("alignTop")},ct.prototype.alignBottom=function(){var vt=this.diagram;vt.startTransaction("aligning bottom");var Bt=-1/0;vt.selection.each(function(pt){if(!(pt instanceof go.Link)){var Sn=pt.actualBounds.y+pt.actualBounds.height;Bt=Math.max(Sn,Bt)}}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(pt.actualBounds.x,Bt-pt.actualBounds.height))}),vt.commitTransaction("aligning bottom")},ct.prototype.alignCenterX=function(){var vt=this.diagram,Bt=vt.selection.first();if(Bt){vt.startTransaction("aligning Center X");var pt=Bt.actualBounds.x+Bt.actualBounds.width/2;vt.selection.each(function(Sn){Sn instanceof go.Link||Sn.move(new go.Point(pt-Sn.actualBounds.width/2,Sn.actualBounds.y))}),vt.commitTransaction("aligning Center X")}},ct.prototype.alignCenterY=function(){var vt=this.diagram,Bt=vt.selection.first();if(Bt){vt.startTransaction("aligning Center Y");var pt=Bt.actualBounds.y+Bt.actualBounds.height/2;vt.selection.each(function(Sn){Sn instanceof go.Link||Sn.move(new go.Point(Sn.actualBounds.x,pt-Sn.actualBounds.height/2))}),vt.commitTransaction("aligning Center Y")}},ct.prototype.alignColumn=function(vt){var Bt=this.diagram;Bt.startTransaction("align Column"),vt===void 0&&(vt=0),vt=parseFloat(vt);var pt=new Array;Bt.selection.each(function(pa){pa instanceof go.Link||pt.push(pa)});for(var Sn=0;Sn<pt.length-1;Sn++){var Wn=pt[Sn],An=Wn.actualBounds.y+Wn.actualBounds.height+vt,ka=pt[Sn+1];ka.move(new go.Point(Wn.actualBounds.x,An))}Bt.commitTransaction("align Column")},ct.prototype.alignRow=function(vt){vt===void 0&&(vt=0),vt=parseFloat(vt);var Bt=this.diagram;Bt.startTransaction("align Row");var pt=new Array;Bt.selection.each(function(pa){pa instanceof go.Link||pt.push(pa)});for(var Sn=0;Sn<pt.length-1;Sn++){var Wn=pt[Sn],An=Wn.actualBounds.x+Wn.actualBounds.width+vt,ka=pt[Sn+1];ka.move(new go.Point(An,Wn.actualBounds.y))}Bt.commitTransaction("align Row")},ct.prototype.canRotate=function(vt){var Bt=this.diagram;return!(Bt===null||Bt.isReadOnly||Bt.isModelReadOnly||Bt.selection.count<1)},ct.prototype.rotate=function(vt){vt===void 0&&(vt=90);var Bt=this.diagram;Bt.startTransaction("rotate "+vt.toString());var Bt=this.diagram;Bt.selection.each(function(pt){pt instanceof go.Link||pt instanceof go.Group||(pt.angle+=vt)}),Bt.commitTransaction("rotate "+vt.toString())},ct.prototype.pullToFront=function(){var vt=this.diagram;vt.startTransaction("pullToFront");var Bt=new go.Map;vt.selection.each(function(pt){Bt.set(pt.layer,0)}),Bt.iteratorKeys.each(function(pt){var Sn=0;pt.parts.each(function(Wn){if(!Wn.isSelected){var An=Wn.zOrder;isNaN(An)?Wn.zOrder=0:Sn=Math.max(Sn,An)}}),Bt.set(pt,Sn)}),vt.selection.each(function(pt){ct._assignZOrder(pt,Bt.get(pt.layer)+1)}),vt.commitTransaction("pullToFront")},ct.prototype.pushToBack=function(){var vt=this.diagram;vt.startTransaction("pushToBack");var Bt=new go.Map;vt.selection.each(function(pt){Bt.set(pt.layer,0)}),Bt.iteratorKeys.each(function(pt){var Sn=0;pt.parts.each(function(Wn){if(!Wn.isSelected){var An=Wn.zOrder;isNaN(An)?Wn.zOrder=0:Sn=Math.min(Sn,An)}}),Bt.set(pt,Sn)}),vt.selection.each(function(pt){ct._assignZOrder(pt,Bt.get(pt.layer)-1-ct._findGroupDepth(pt))}),vt.commitTransaction("pushToBack")},ct._assignZOrder=function(vt,Bt,pt){pt===void 0&&(pt=vt),vt.layer===pt.layer&&(vt.zOrder=Bt),vt instanceof go.Group&&vt.memberParts.each(function(Sn){ct._assignZOrder(Sn,Bt+1,pt)})},ct._findGroupDepth=function(vt){if(vt instanceof go.Group){var Bt=0;return vt.memberParts.each(function(pt){Bt=Math.max(Bt,ct._findGroupDepth(pt))}),Bt+1}else return 0},ct.prototype.doKeyDown=function(){var vt=this.diagram;if(vt!==null){var Bt=vt.lastInput;if(Bt.key==="Up"||Bt.key==="Down"||Bt.key==="Left"||Bt.key==="Right"){var pt=this.arrowKeyBehavior;if(pt==="none")return;if(pt==="select"){this._arrowKeySelect();return}else if(pt==="move"){this._arrowKeyMove();return}else if(pt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},ct.prototype._getAllParts=function(){var vt=new Array;return this.diagram.nodes.each(function(Bt){vt.push(Bt)}),this.diagram.parts.each(function(Bt){vt.push(Bt)}),vt},ct.prototype._arrowKeyMove=function(){var vt=this.diagram,Bt=vt.lastInput,pt=0,Sn=0;if(Bt.control||Bt.meta)pt=1,Sn=1;else if(vt.grid!==null){var Wn=vt.grid.gridCellSize;Sn=Wn.width,pt=Wn.height}vt.startTransaction("arrowKeyMove"),vt.selection.each(function(An){Bt.key==="Up"?An.move(new go.Point(An.actualBounds.x,An.actualBounds.y-pt)):Bt.key==="Down"?An.move(new go.Point(An.actualBounds.x,An.actualBounds.y+pt)):Bt.key==="Left"?An.move(new go.Point(An.actualBounds.x-Sn,An.actualBounds.y)):Bt.key==="Right"&&An.move(new go.Point(An.actualBounds.x+Sn,An.actualBounds.y))}),vt.commitTransaction("arrowKeyMove")},ct.prototype._arrowKeySelect=function(){var vt=this.diagram,Bt=vt.lastInput,pt=null;Bt.key==="Up"?pt=this._findNearestPartTowards(270):Bt.key==="Down"?pt=this._findNearestPartTowards(90):Bt.key==="Left"?pt=this._findNearestPartTowards(180):Bt.key==="Right"&&(pt=this._findNearestPartTowards(0)),pt!==null&&(Bt.shift?pt.isSelected=!0:Bt.control||Bt.meta?pt.isSelected=!pt.isSelected:vt.select(pt))},ct.prototype._findNearestPartTowards=function(vt){var Bt=this.diagram.selection.first();if(Bt===null)return null;for(var pt=Bt.actualBounds.center,Sn=this._getAllParts(),Wn=1/0,An=Bt,ka=0;ka<Sn.length;ka++){var pa=Sn[ka];if(pa!==Bt&&pa.canSelect()){var _n=pa.actualBounds.center,Ea=pt.directionPoint(_n),Pa=this._angleCloseness(Ea,vt);if(Pa<=45){var Dn=pt.distanceSquaredPoint(_n);Dn*=1+Math.sin(Pa*Math.PI/180),Dn<Wn&&(Wn=Dn,An=pa)}}}return An},ct.prototype._angleCloseness=function(vt,Bt){return Math.min(Math.abs(Bt-vt),Math.min(Math.abs(Bt+360-vt),Math.abs(Bt-360-vt)))},ct.prototype._arrowKeyTree=function(){var vt=this.diagram,Bt=vt.selection.first();if(Bt instanceof go.Node){var pt=vt.lastInput;if(pt.key==="Right"){if(!Bt.isTreeLeaf)if(!Bt.isTreeExpanded)vt.commandHandler.canExpandTree(Bt)&&vt.commandHandler.expandTree(Bt);else{var Sn=this._sortTreeChildrenByY(Bt).first();Sn!==null&&vt.select(Sn)}}else if(pt.key==="Left")if(!Bt.isTreeLeaf&&Bt.isTreeExpanded)vt.commandHandler.canCollapseTree(Bt)&&vt.commandHandler.collapseTree(Bt);else{var Wn=Bt.findTreeParentNode();Wn!==null&&vt.select(Wn)}else if(pt.key==="Up"){var Wn=Bt.findTreeParentNode();if(Wn!==null){var An=this._sortTreeChildrenByY(Wn),ka=An.indexOf(Bt);if(ka>0){for(var pa=An.elt(ka-1);pa!==null&&pa.isTreeExpanded&&!pa.isTreeLeaf;){var _n=this._sortTreeChildrenByY(pa);pa=_n.last()}pa!==null&&vt.select(pa)}else vt.select(Wn)}}else if(pt.key==="Down")if(Bt.isTreeExpanded&&!Bt.isTreeLeaf){var Sn=this._sortTreeChildrenByY(Bt).first();Sn!==null&&vt.select(Sn)}else for(;Bt!==null;){var Wn=Bt.findTreeParentNode();if(Wn===null)break;var An=this._sortTreeChildrenByY(Wn),ka=An.indexOf(Bt);if(ka<An.length-1){vt.select(An.elt(ka+1));break}else Bt=Wn}var Ea=vt.selection.first();Ea!==null&&vt.scrollToRect(Ea.actualBounds)}},ct.prototype._sortTreeChildrenByY=function(vt){var Bt=new go.List().addAll(vt.findTreeChildrenNodes());return Bt.sort(function(pt,Sn){var Wn=pt.location,An=Sn.location;return Wn.y<An.y?-1:Wn.y>An.y?1:Wn.x<An.x?-1:Wn.x>An.x?1:0}),Bt},ct.prototype.copyToClipboard=function(vt){go.CommandHandler.prototype.copyToClipboard.call(this,vt),this._lastPasteOffset.set(this.pasteOffset)},ct.prototype.pasteFromClipboard=function(){var vt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(vt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),vt},Object.defineProperty(ct.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(vt){if(vt!=="move"&&vt!=="select"&&vt!=="scroll"&&vt!=="tree"&&vt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+vt);this._arrowKeyBehavior=vt}}),Object.defineProperty(ct.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(vt){if(!(vt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+vt);this._pasteOffset.set(vt)}});var Lt=ct,mt=ee(74042),Nt=ee(43604),ut=ee(52430),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},De=ee(59301),fe=(vt,Bt,pt)=>new Promise((Sn,Wn)=>{var An=_n=>{try{pa(pt.next(_n))}catch(Ea){Wn(Ea)}},ka=_n=>{try{pa(pt.throw(_n))}catch(Ea){Wn(Ea)}},pa=_n=>_n.done?Sn(_n.value):Promise.resolve(_n.value).then(An,ka);pa((pt=pt.apply(vt,Bt)).next())});function Xe({onCancel:vt,callback:Bt}){let pt=(0,b.useRef)(),Sn=(0,b.useRef)(),Wn=(0,b.useRef)(),An=(0,b.useRef)(!1);const ka=(0,b.useRef)(!1),[pa,_n]=(0,b.useState)(0);function Ea(){const Dn=ze.bx.make,lr={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"};pt.current=new ze.S0(Sn.current,{padding:20,grid:Dn(ze.s_,"Grid",Dn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Dn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ha=>{var za=ha.diagram.commandHandler.addTopLevelParts(ha.diagram.selection,!0);za||ha.diagram.currentTool.doCancel()},commandHandler:Dn(Lt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ha=>{var za=ha.subject;za.location=za.location.copy().snapToGridPoint(ha.diagram.grid.gridOrigin,ha.diagram.grid.gridCellSize),setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ha=>{var za=ha.subject;setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()})},LinkRelinked:ha=>{var za=ha.parameter.part;za.invalidateConnectedLinks();var Ua=ha.subject;ha.diagram.toolManager.linkingTool.isForwards?Ua.toNode.invalidateConnectedLinks():Ua.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),pt.current.nodeTemplate=Dn(ze.NB,"Auto",{locationSpot:ze.z6.Center,locationObjectName:"SHAPE",desiredSize:new ze.$u(120,60),minSize:new ze.$u(40,40),resizable:!0,resizeCellSize:new ze.$u(10,10),rotatable:!0},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),new ze.KX("desiredSize","size",ze.$u.parse).makeTwoWay(ze.$u.stringify),Dn(ze.bn,{name:"SHAPE",fill:lr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("figure"),new ze.KX("fill"),new ze.KX("stroke","borderColor"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Dn(ze.al,{margin:1,textAlign:"center",overflow:ze.al.OverflowEllipsis,editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),pt.current.nodeTemplate.toolTip=Dn("ToolTip",Dn(ze.s_,"Vertical",{maxSize:new ze.$u(200,NaN)},Dn(ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ze.KX("text")),Dn(ze.al,{font:"10pt sans-serif",textAlign:"center"},new ze.KX("text","details"))));function Nr(ha,za){var Ua=(La,Or)=>{La.handled=!0,La.diagram.model.commit(no=>{var Fr=Or.part.adornedPart,Er=new ze.E9().setRectSpot(Fr.actualBounds,ha);Er.subtract(Fr.location),Er.scale(2,2),Er.x+=Math.sign(Er.x)*130,Er.y+=Math.sign(Er.y)*130,Er.add(Fr.location),Er.snapToGridPoint(La.diagram.grid.gridOrigin,La.diagram.grid.gridCellSize);var Pr=no.copyNodeData(Fr.data);no.setGroupKeyForNodeData(Pr,no.getGroupKeyForNodeData(Fr.data)),no.addNodeData(Pr);var si={from:Fr.key,to:no.getKeyForNodeData(Pr)};no.addLinkData(si);var ai=La.diagram.findNodeForData(Pr);ai.location=Er,La.diagram.select(ai),setTimeout(()=>{La.diagram.commandHandler.editTextBlock()},20)})};return Dn(ze.bn,{figure:za,alignment:ha,alignmentFocus:ha.opposite(),width:ha.equals(ze.z6.Top)||ha.equals(ze.z6.Bottom)?25:18,height:ha.equals(ze.z6.Top)||ha.equals(ze.z6.Bottom)?18:25,fill:"orange",stroke:lr.white,strokeWidth:4,mouseEnter:(La,Or)=>Or.fill="dodgerblue",mouseLeave:(La,Or)=>Or.fill="orange",isActionable:!0,click:Ua,contextClick:Ua})}function Ur(ha){return Dn(ze.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:(za,Ua)=>Ua.fill="dodgerblue",mouseLeave:(za,Ua)=>Ua.fill="orange",click:(za,Ua)=>{za.diagram.commandHandler.showContextMenu(Ua.part.adornedPart)}},ha||{})}pt.current.nodeTemplate.selectionAdornmentTemplate=Dn(ze.uz,"Spot",Dn(ze.Vm,{padding:10}),Nr(ze.z6.Top,"TriangleUp"),Nr(ze.z6.Left,"TriangleLeft"),Nr(ze.z6.Right,"TriangleRight"),Nr(ze.z6.Bottom,"TriangleDown"),Ur({alignment:new ze.z6(.75,0)}));function Sr(ha,za){return(Ua,La)=>{Ua.handled=!0,Ua.diagram.model.commit(Or=>{Or.set(La.part.adornedPart.data,ha,za)})}}function Ue(ha,za){return za||(za="color"),Dn(ze.bn,{width:16,height:16,stroke:"lightgray",fill:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.stroke="dodgerblue",mouseLeave:(Ua,La)=>La.stroke="lightgray",click:Sr(za,ha),contextClick:Sr(za,ha)})}function bn(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.white,"fill"),Ue(lr.beige,"fill"),Ue(lr.extralightblue,"fill"),Ue(lr.extralightred,"fill"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.lightgray,"fill"),Ue(lr.lightgreen,"fill"),Ue(lr.lightblue,"fill"),Ue(lr.lightred,"fill")))]}function Xt(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.black),Ue(lr.green),Ue(lr.blue),Ue(lr.red))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.white),Ue(lr.magenta),Ue(lr.purple),Ue(lr.orange)))]}function Nn(ha,za){return za||(za="thickness"),Dn(ze.bn,"LineH",{width:16,height:16,strokeWidth:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:Sr(za,ha),contextClick:Sr(za,ha)})}function Kn(ha,za){return za||(za="dash"),Dn(ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:Sr(za,ha),contextClick:Sr(za,ha)})}function la(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Nn(1),Nn(2),Nn(3),Nn(4))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Kn(null),Kn([2,4]),Kn([4,4])))]}function Qn(ha,za){return za||(za="figure"),Dn(ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.fill="dodgerblue",mouseLeave:(Ua,La)=>La.fill="lightgray",click:Sr(za,ha),contextClick:Sr(za,ha)})}pt.current.nodeTemplate.contextMenu=Dn("ContextMenu",Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Rectangle"),Qn("RoundedRectangle"),Qn("Ellipse"),Qn("Diamond"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Parallelogram2"),Qn("ManualOperation"),Qn("Procedure"),Qn("Cylinder1"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Terminator"),Qn("CreateRequest"),Qn("Document"),Qn("TriangleDown"))),bn(),Xt(),la()),pt.current.groupTemplate=Dn(ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ha,za)=>{var Ua=za.addMembers(za.diagram.selection,!0);Ua||za.diagram.currentTool.doCancel()},avoidable:!1},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),Dn(ze.s_,"Auto",{name:"BODY"},Dn(ze.bn,{parameter1:10,fill:lr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("fill"),new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.Vm,{background:"transparent",margin:20})),Dn(ze.al,{alignment:ze.z6.Top,alignmentFocus:ze.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ze.KX("text"),new ze.KX("stroke","color"))),pt.current.groupTemplate.selectionAdornmentTemplate=Dn(ze.uz,"Spot",Dn(ze.s_,"Auto",Dn(ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Dn(ze.Vm,{margin:1.5})),Ur({alignment:ze.z6.TopRight,alignmentFocus:ze.z6.BottomRight})),pt.current.groupTemplate.contextMenu=Dn("ContextMenu",bn(),Xt(),la()),pt.current.linkTemplate=Dn(ze.rU,{layerName:"Foreground",routing:ze.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ze.KX("fromSpot","fromSpot",ze.z6.parse),new ze.KX("toSpot","toSpot",ze.z6.parse),new ze.KX("fromShortLength","dir",ha=>ha>=1?10:0),new ze.KX("toShortLength","dir",ha=>ha>=1?10:0),new ze.KX("points").makeTwoWay(),Dn(ze.bn,{strokeWidth:2},new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,0),segmentOrientation:ze.rU.OrientAlong,alignmentFocus:ze.z6.Right,figure:"circle",width:10,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha===1)),Dn(ze.bn,{segmentIndex:-1,segmentOffset:new ze.E9(-10,6),segmentOrientation:ze.rU.OrientPlus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha>=1),new ze.KX("width","thickness",ha=>7+3*ha),new ze.KX("height","thickness",ha=>7+3*ha),new ze.KX("segmentOffset","thickness",ha=>new ze.E9(-15,4+1.5*ha))),Dn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,-6),segmentOrientation:ze.rU.OrientMinus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha===2),new ze.KX("width","thickness",ha=>7+3*ha),new ze.KX("height","thickness",ha=>7+3*ha),new ze.KX("segmentOffset","thickness",ha=>new ze.E9(-15,4+1.5*ha))),Dn(ze.al,{alignmentFocus:new ze.z6(0,1,-4,0),editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),pt.current.linkTemplate.selectionAdornmentTemplate=Dn(ze.uz,Dn(ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Un(2)},new ze.KX("pathPattern","thickness",Un)),Ur({alignmentFocus:new ze.z6(0,0,-6,-4)}));function Un(ha){return Dn(ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ha+4).toString()+" H3"})}function ur(ha){var za="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ha===0?za="M0 0 M16 16 M0 8 L16 8":ha===2&&(za="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Dn(ze.bn,{geometryString:za,margin:2,background:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:Sr("dir",ha),contextClick:Sr("dir",ha)})}function da(ha){var za=(Ua,La)=>{Ua.handled=!0,Ua.diagram.model.commit(Or=>{var no=La.part.adornedPart;Or.set(no.data,ha?"toSpot":"fromSpot",ze.z6.stringify(ze.z6.AllSides)),(ha?no.toNode:no.fromNode).invalidateConnectedLinks()})};return Dn(ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:za,contextClick:za})}function En(ha,za){var Ua=0,La=ze.z6.RightSide;ha.equals(ze.z6.Top)?(Ua=270,La=ze.z6.TopSide):ha.equals(ze.z6.Left)?(Ua=180,La=ze.z6.LeftSide):ha.equals(ze.z6.Bottom)&&(Ua=90,La=ze.z6.BottomSide),za||(Ua-=180);var Or=(no,Fr)=>{no.handled=!0,no.diagram.model.commit(Er=>{var Pr=Fr.part.adornedPart;Er.set(Pr.data,za?"toSpot":"fromSpot",ze.z6.stringify(La)),(za?Pr.toNode:Pr.fromNode).invalidateConnectedLinks()})};return Dn(ze.bn,{alignment:ha,alignmentFocus:ha.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ua,background:"transparent",mouseEnter:(no,Fr)=>Fr.background="dodgerblue",mouseLeave:(no,Fr)=>Fr.background="transparent",click:Or,contextClick:Or})}pt.current.linkTemplate.contextMenu=Dn("ContextMenu",Xt(),la(),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",ur(0),ur(1),ur(2))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Dn(ze.s_,"Spot",da(!1),En(ze.z6.Top,!1),En(ze.z6.Left,!1),En(ze.z6.Right,!1),En(ze.z6.Bottom,!1)),Dn(ze.s_,"Spot",{margin:new ze.Zt(0,0,0,2)},da(!0),En(ze.z6.Top,!0),En(ze.z6.Left,!0),En(ze.z6.Right,!0),En(ze.z6.Bottom,!0)))));const dr=`{ "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 xr=["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 Wr(ha){return console.log("shapeName:",ha),xr.indexOf(ha)>=0}var Ir=new ze.YI(Wn.current,{maxSelectionCount:1,linkTemplate:Dn(ze.rU,{locationSpot:ze.z6.Center,selectionAdornmentTemplate:Dn(ze.uz,"Link",{locationSpot:ze.z6.Center},Dn(ze.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Dn(ze.bn,{toArrow:"Standard",stroke:null}))},{routing:ze.rU.AvoidsNodes,curve:ze.rU.JumpOver,corner:5,toShortLength:4},new ze.KX("points"),Dn(ze.bn,{isPanelMain:!0,strokeWidth:2}),Dn(ze.bn,{toArrow:"Standard",stroke:null})),model:new ze.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ze.bn.getFigureGenerators().toArray().map(ha=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ha.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return pt.current.addDiagramListener("TextEdited",function(ha){var za;const Ua=ha.subject.part;var La=(za=document.activeElement)==null?void 0:za.value;typeof La=="string"&&La.trim()===""&&pt.current.model.commit(function(Or){Or.set(Ua.data,"text","\u672A\u547D\u540D"),pt.current.commandHandler.stopCommand()},"increment")}),Ir.nodeTemplate=Dn(ze.NB,"Auto",{locationSpot:ze.z6.Center},new ze.KX("location","location",ze.E9.parse).makeTwoWay(ze.E9.stringify),Dn(ze.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 ze.KX("stroke").makeTwoWay(),new ze.KX("fill").makeTwoWay(),new ze.KX("figure")),Dn(ze.al,{margin:new ze.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ze.$u(16,16),maxSize:new ze.$u(10,NaN),textAlign:"center",editable:!0},new ze.KX("key").makeTwoWay())),setTimeout(()=>{pt.current.grid=Dn(ze.s_,"Grid",Dn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Dn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),pt.current.grid.visible=!0,pt.current.grid.gridCellStroke="darkgray",pt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=pt.current,pt.current}const Pa=()=>fe(this,null,function*(){var Dn=pt.current.makeImage();const lr=yield(0,ut.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Dn.src}});Bt({src:lr.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{Ea()},500),_n(pa+1),()=>{pt.current=null}),[]),De.createElement("div",{ref:ka,className:An.current?`${at.maxH60} body-overflow-initial`:"body-overflow-initial"},De.createElement(dt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!pa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:De.createElement(rn.Z,null,De.createElement(Nt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),De.createElement(Nt.Z,{onClick:()=>{var Dn,lr,Nr=pt.current.selection.first();if(An.current=!An.current,document.activeElement&&Nr){let Ur=(lr=(Dn=document.activeElement)==null?void 0:Dn.value)==null?void 0:lr.trim();typeof Ur=="string"&&pt.current.model.commit(function(Sr){Sr.set(Nr.data,"text",Ur||"\u672A\u547D\u540D"),pt.current.commandHandler.stopCommand()},"increment")}_n(pa+1)}},De.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:vt},De.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:at.flowChartWrp},De.createElement("div",{style:{display:"flex",height:"100%"}},De.createElement("div",{style:{width:"300px",height:"100%"}},De.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),De.createElement("div",{style:{height:"calc(100% - 50px)"},className:at.myPaletteDiv,ref:Wn})),De.createElement("div",{style:{flex:1,position:"relative"}},De.createElement("div",{ref:Sn,style:{height:"80vh"}}))),De.createElement("div",{className:"tr"},De.createElement(he.ZP,{size:"large",onClick:Pa,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Rt=Xe,Oe=ee(5112),Ie=ee(5871);const St=Oe.ZP.Group,nt={margin:"0 8px"};var Me=({callback:vt,onCancel:Bt})=>{function pt(Sn){vt(Sn)}return b.createElement(Ae.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:pt},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:nt},"\u884C\u6570"),b.createElement(Ae.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Ie.Z,null)),b.createElement("span",{style:nt},"\u5217\u6570"),b.createElement(Ae.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Ie.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ae.default.Item,{name:"align"},b.createElement(St,null,b.createElement(Oe.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(Oe.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(Oe.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(Oe.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(he.ZP,{type:"ghost",onClick:Bt},"\u53D6\u6D88")))},yt=ee(78673),Bn=ee(84072),nn=ee.n(Bn),un=(0,b.forwardRef)(({use3d:vt,width:Bt,height:pt,callback:Sn,showSaveButton:Wn},An)=>{const ka=(0,b.useRef)(),pa=(0,b.useRef)(),[_n,Ea]=(0,b.useState)(!1),Pa=(0,b.useRef)({id:ka,appName:"graphing",width:Bt||1e3,height:pt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{pa.current=new(nn())(Pa.current,!0),window.onload=function(){pa.current.inject("applet_container")}},[]);const Dn=()=>{var lr=window.ggbApplet.getPNGBase64(1,!0,72);return Sn&&Sn(lr),lr};return(0,b.useEffect)(()=>{Pa.current.appName=_n?"3D":"graphing",pa.current.inject("applet_container")},[_n]),(0,b.useEffect)(()=>{Ea(vt)},[vt]),(0,b.useImperativeHandle)(An,()=>({getImgData:Dn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ka}),b.createElement(rn.Z,{align:"middle"},b.createElement(Nt.Z,{flex:1},b.createElement(yt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:_n,onChange:lr=>Ea(lr)})),b.createElement(Nt.Z,null,b.createElement(he.ZP,{size:"large",onClick:Dn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),yn=ee(53267),Te=ee(1012),Ft=ee(8591);const zt="link",wt="upload-image",kt="add-flowchart",sn="draw-image",cn="add-flowchart",Ln="code-block",Jn="add-table",va="------------",Da={default:va,left:`:${va}`,center:`:${va}:`,right:`${va}:`};var Na=ee(47458),ar=(vt,Bt,pt)=>new Promise((Sn,Wn)=>{var An=_n=>{try{pa(pt.next(_n))}catch(Ea){Wn(Ea)}},ka=_n=>{try{pa(pt.throw(_n))}catch(Ea){Wn(Ea)}},pa=_n=>_n.done?Sn(_n.value):Promise.resolve(_n.value).then(An,ka);pa((pt=pt.apply(vt,Bt)).next())});function $a(){}let fa=0;const yr=1e4,en="\u2581",On="@\u2581\u2581@",ia="@\u2581@",xa=`
**\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`,We=["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 It(vt){return/^\d+$/.test(vt)?`${vt}px`:vt}const Vt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Wt={[Vt+"-B"]:"bold",[Vt+"-I"]:"italic"},Rn={[zt]:"\u6DFB\u52A0\u94FE\u63A5",[Ln]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[wt]:"\u6DFB\u52A0\u56FE\u7247",[sn]:"\u6DFB\u52A0\u753B\u56FE",[kt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Jn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var wn=({defaultValue:vt="",onChange:Bt,width:pt="100%",height:Sn=400,miniToolbar:Wn=!1,isFocus:An=!1,watch:ka,insertTemp:pa,mode:_n="markdown",id:Ea="markdown-editor-id",showResizeBar:Pa=!1,noStorage:Dn=!1,showNullButton:lr=!1,showNullProgramButton:Nr=!1,hidetoolBar:Ur=!1,fullScreen:Sr=!1,onBlur:Ue,onCMBeforeChange:bn,onFullScreen:Xt,className:Nn="",disablePaste:Kn=!1,disabled:la=!1,disabledFill:Qn=!1,placeholder:Un="",values:ur="",extraUse:da})=>{const[En,dr]=(0,b.useState)(null),[xr,Wr]=(0,b.useState)(vt),[Ir,ha]=(0,b.useState)(ka),[za,Ua]=(0,b.useState)(Sr),[La,Or]=(0,b.useState)(""),[no,Fr]=(0,b.useState)(0),[Er,Pr]=(0,b.useState)(Sn),[si,ai]=(0,b.useState)(!1),xi=(0,b.useRef)((0,Te.Z)()),ho=(0,b.useRef)(!1),yo=(0,b.useRef)(),[Go,Mo]=(0,b.useState)(0),[Ao,gr]=(0,b.useState)(0),eo=(0,b.useRef)(),Qo=(0,b.useRef)(),Yo=(0,b.useRef)(),Oo=(0,b.useRef)(),br=()=>ar(void 0,null,function*(){var kr;const Qa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:xi.current}});(kr=Qa==null?void 0:Qa.attachments)!=null&&kr.length&&(console.log("cm:",En,eo),Qa.attachments.map(Ga=>{Ga.content_type.indexOf("image")>-1?En.replaceSelection(`![,](/api/attachments/${Ga.id}?type=${Ga.content_type})`):Ga.content_type.indexOf("video")>-1?En.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Ga.content_type.indexOf("pdf")>-1?En.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Ga.id}?type=${Ga.content_type}&disposition=inline" target="_blank">${Ga.name}</a>`):En.replaceSelection(`[${Ga.name}](${ENV.API_SERVER}/api/attachments/${Ga.id}?type=${Ga.content_type})`)}))});(0,b.useEffect)(()=>{const kr=window.scrollY||window.pageYOffset;Wr(ur),En==null||En.setValue(ur),window.scrollTo(0,kr)},[ur]),(0,b.useEffect)(()=>{Xt==null||Xt(za)},[za]),(0,b.useEffect)(()=>{if(eo.current){let kr=function(Ga,Ya){var so;if(Kn){Ya.preventDefault();return}const we=Ya.clipboardData;if(we){const fn=we.types.toString(),Mn=we.items;if(fn==="Files"||we.types.indexOf("Files")>-1){if(Ya.preventDefault(),_n=="stex")return;try{let Sa=Mn[1];((so=Mn[0])==null?void 0:so.kind)==="file"&&(Sa=Mn[0]);const on=Sa.getAsFile(),Ma=on.name.split(".").pop();(0,$e.I)(on,Fa=>{var jn,Xn,sr;Fa.id?((jn=on==null?void 0:on.type)==null?void 0:jn.indexOf("image"))>-1?Qa.replaceSelection(`<img width="100%" src="/api/attachments/${Fa.id}?type=${Fa.content_type})" alt="" />`):((Xn=on==null?void 0:on.type)==null?void 0:Xn.indexOf("video"))>-1?Qa.replaceSelection(`<video width="100%" controls src="/api/attachments/${Fa.id}"></video>`):((sr=on==null?void 0:on.type)==null?void 0:sr.indexOf("pdf"))>-1?Qa.replaceSelection(`<a href="/api/attachments/${Fa.id}?type=${on.type}&disposition=inline" target="_blank">${on.name}</a>`):We.includes(Ma)?Qa.replaceSelection(`<a href="/api/attachments/${Fa.id}?type=office&disposition=inline" target="_blank">${on.name}</a>`):Qa.replaceSelection(`[${on.name}](/api/attachments/${Fa.id}?type=${Fa.content_type})`):(Fa==null?void 0:Fa.status)===401&&(Ft.ZP.warning((Fa==null?void 0:Fa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Sa){Ft.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Qa=Be().fromTextArea(eo.current,{mode:_n,lineNumbers:!Wn,lineWrapping:!0,value:vt,autoCloseTags:!Nr,autoCloseBrackets:!0});return Qa.on("keyup",function(Ga,Ya){Ya.keyCode===8&&(Ga.getValue()==""?Qa.setOption("placeholder",Un):Qa.setOption("placeholder",null))}),Qa.on("keydown",function(Ga,Ya){if(Ya.keyCode===8){var so=Hr(Ga);so&&Ya.preventDefault()}}),An&&Qa.focus(),Qa.on("paste",kr),Qa.on("dragleave",function(Ga,Ya){Qo.current.classList.remove("mouse-hover-md")}),la&&Qa.on("beforeChange",function(Ga,Ya){(Ya.origin==="paste"||Ya.origin==="+input")&&Ya.cancel()}),dr(Qa),()=>{Qa.off("paste",kr)}}},[]);const ri=(0,b.useCallback)(()=>{if(Qo.current)try{}catch(kr){console.log(kr,"---- to set md editor body height")}},[Er,Qo,za]);(0,b.useEffect)(()=>{function kr(){let Qa=new Ne.Z(Ga=>{for(let Ya of Ga)(Ya.target.offsetHeight>0||Ya.target.offsetWidth>0)&&(ri(),En.setSize("100%","100%"),En.refresh())});return Qa.observe(eo.current.parentElement),Qa}if(En){const Qa=kr();return()=>{var Ga,Ya;(Ga=eo.current)!=null&&Ga.parentElement&&Qa.unobserve((Ya=eo.current)==null?void 0:Ya.parentElement)}}},[En,ri]),(0,b.useEffect)(()=>{if(En){let kr=[];for(const[Qa,Ga]of Object.entries(Wt)){let Ya={[Qa]:()=>{ko(Ga)}};kr.push(Ya),En.addKeyMap(Ya)}return yo.current=setInterval(()=>{ho.current&&br()},4e3),()=>{clearInterval(yo.current);for(let Qa of kr)En.removeKeyMap(Qa)}}},[En]),(0,b.useEffect)(()=>{Sr!==za&&Ua(Sr)},[Sr]),(0,Na.Z)(()=>{if(!Dn&&no>0){let kr=new Date().getTime(),Qa=window.sessionStorage.getItem(Ea);kr>=no+yr&&(!Qa||Qa!==xr)&&(window.sessionStorage.setItem(Ea,xr),ai(!0))}},yr),(0,b.useEffect)(()=>{ha(ka)},[En,ka]),(0,b.useEffect)(()=>{En&&An&&En.focus()},[En,An]),(0,b.useEffect)(()=>{if(Ir&&En){let kr=function(Ga){let Ya=Ga.target;if(Oo.current){let so=Ya.scrollTop/Ya.scrollHeight;Oo.current.scrollTop=Oo.current.scrollHeight*so}};const Qa=En.getScrollerElement();return Qa.addEventListener("scroll",kr),()=>{Qa.removeEventListener("scroll",kr)}}},[En,Ir]),(0,b.useEffect)(()=>{if(En&&bn){let kr=function(Qa,Ga){bn(Qa,Ga)};return En.on("beforeChange",kr),()=>{En.off("beforeChange",kr)}}},[En,bn]),(0,b.useEffect)(()=>{if(En&&Ue){let kr=function(){Ue(En.getValue())};return En.on("blur",kr),()=>{En.off("blur",kr)}}},[En,Ue]);function Hr(kr,Qa){var Ga=kr.getDoc(),Ya=Ga.getCursor(),so=Ga.getLine(Ya.line),we=so.charAt(Ya.ch-1),fn=so.lastIndexOf("@\u2581@",Ya.ch),Mn=so.lastIndexOf("@\u2581\u2581@",Ya.ch),Sa=fn>Mn?fn:Mn,on=fn>Mn?3:4;if(On.indexOf(we)===-1)return null;if(console.log("change1:",Qa,kr,so,Ya,Sa,fn,Mn,we),Sa>=0&&Ya.ch-Sa<5){var Ma=Sa+on;return Ga.replaceRange("",{line:Ya.line,ch:Sa},{line:Ya.line,ch:Ma}),{line:Ya.line,ch:Ma}}return null}(0,b.useEffect)(()=>{if(En){let kr=function(Qa,Ga){const Ya=Qa.getValue();Wr(Ya),Fr(new Date().getTime()),Qa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Bt&&(Nr?Bt(Ya,Fi(Ya)):Bt(Ya))};return En.on("change",kr),()=>{En.off("change",kr)}}},[En,Bt]),(0,b.useEffect)(()=>{if(En)if(vt==null)En.setValue(""),Wr("");else{const kr=window.scrollY||window.pageYOffset;vt!==En.getValue()&&(En.setValue(vt),Wr(vt),En.setCursor(la?1:En.lineCount(),0),window.scrollTo(0,kr))}},[En,vt]);const ko=(0,b.useCallback)(kr=>{const Qa=En.getCursor(),Ga=En.getSelection();let Ya=Ga.split(`
`);switch(kr){case"bold":return En.replaceSelection("**"+Ga+"**"),Ga===""&&En.setCursor(Qa.line,Qa.ch+2),En.focus();case"italic":return En.replaceSelection("*"+Ga+"*"),Ga===""&&En.setCursor(Qa.line,Qa.ch+1),En.focus();case"code":return En.replaceSelection("`"+Ga+"`"),Ga===""&&En.setCursor(Qa.line,Qa.ch+1),En.focus();case"inline-latex":return Or("inline-latex"),En.focus();case"latex":return En.replaceSelection("```latex\n"+Ga+"\n```"),En.setCursor(Qa.line+1,Ga.length+1),En.focus();case"line-break":return En.replaceSelection(`<br/>
`),En.focus();case"list-ul":return Ga===""?En.replaceSelection("- "+Ga):En.replaceSelection(Ya.map(so=>so===""?"":`- ${so}`).join(`
`)),En.focus();case"list-ol":return Ga===""?En.replaceSelection("1. "+Ga):En.replaceSelection(Ya.map((so,we)=>so===""?"":`${we+1}. ${so}`).join(`
`)),En.focus();case"add-null-ch":return Ga===""&&En.setCursor(Qa.line,Qa.ch),En.replaceSelection(en),En.focus();case"add-signal":return Ga===""&&En.setCursor(Qa.line,Qa.ch),En.replaceSelection(ia),En.focus();case"add-multiple":return Ga===""&&En.setCursor(Qa.line,Qa.ch),En.replaceSelection(On),En.focus();case"inster-template-1":return Ga===""&&En.setCursor(Qa.line,Qa.ch),En.replaceSelection(xa),En.focus();case"eraser":return En.setValue(""),En.focus();case"trigger-watch":return ha(!Ir),En.focus();case"trigger-full-screen":return Ua(!za),En.focus();case zt:Or(zt);return;case Ln:Or(Ln);return;case wt:Or(wt);return;case sn:Or(sn);return;case"maths-latex":Or("maths-latex");return;case kt:Or(kt);return;case Jn:Or(Jn);return;default:throw new Error}},[En,Ir,za]),mo=(0,b.useCallback)((kr,Qa)=>{var Ga,Ya,so,we,fn,Mn;switch(Or(""),La){case zt:const{title:jn,link:Xn}=kr;return En.replaceSelection(`[${jn}](${Xn})`),En.focus();case Ln:const{language:sr,content:Ha}=kr;return En.replaceSelection(["```"+sr,Ha,"```"].join(`
`)),En.focus();case"maths-latex":for(var Sa=atob(kr),on=new Uint8Array(Sa.length),Ma=0;Ma<Sa.length;Ma++)on[Ma]=Sa.charCodeAt(Ma);var Fa=new Blob([on],{type:"image/png"});(0,$e.I)(Fa,al=>{al.id?En.replaceSelection(`![,](/api/attachments/${al.id}?type=${al.content_type})`):(al==null?void 0:al.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":En.replaceSelection("`$$"+kr+"$$`");break;case wt:case sn:case cn:const{src:Ta,alt:Ja}=kr,Rr=Qa,bo=(so=(Ya=(Ga=Rr==null?void 0:Rr.name)==null?void 0:Ga.split("."))==null?void 0:Ya.pop)==null?void 0:so.call(Ya);return((we=Rr==null?void 0:Rr.type)==null?void 0:we.indexOf("image"))>-1||!(Rr!=null&&Rr.type)?Rr.align||Rr.width?En.replaceSelection(`<p style="text-align:${Rr.align||"initial"}"><img width="${Rr.width?Rr.width+"%":"initial"}" src="${Ta}" alt="${Ja||""}" /></p>`):En.replaceSelection(`<img width="100%" src="${Ta}" alt="${Ja||""}" />`):((fn=Rr==null?void 0:Rr.type)==null?void 0:fn.indexOf("video"))>-1?En.replaceSelection(`<video width="100%" controls src="${Ta}"></video>`):((Mn=Rr==null?void 0:Rr.type)==null?void 0:Mn.indexOf("pdf"))>-1?En.replaceSelection(`<a href="${Ta}?type=${Rr.type}&disposition=inline" target="_blank">${Rr.name}</a>`):We.includes(bo)?En.replaceSelection(`<a href="${Ta}?type=office&disposition=inline" target="_blank">${Rr.name}</a>`):En.replaceSelection(`[${Rr.name}](${Ta})`),En.focus();case Jn:const{row:$o,col:Wo,align:Ti}=kr;let Ji=`
`;for(let al=0;al<$o;al++){let Zl=[],Al=[];for(let So=0;So<Wo;So++)al===1&&Al.push(Da[Ti]),Zl.push(" ");al===1&&(Ji+=`| ${Al.join(" | ")} |
`),Ji+=`| ${Zl.join(Wo===1?"":" | ")} |
`}return En.replaceSelection(Ji+`
`),En.focus();default:throw new Error}},[En,La]),di=(0,b.useMemo)(()=>{switch(La){case zt:return b.createElement(an,{callback:mo,onCancel:vi});case Ln:return b.createElement(hn.Z,{callback:mo,onCancel:vi});case wt:return b.createElement($e.Z,{callback:mo,onCancel:vi});case kt:return b.createElement(Rt,{callback:mo,onCancel:vi});case Jn:return b.createElement(Me,{callback:mo,onCancel:vi});case"maths-latex":return b.createElement(un,{showSaveButton:!0,callback:mo});case"inline-latex":return b.createElement(yn.Z,{showSaveButton:!0,callback:mo});default:return null}},[La]);function vi(){Or("")}(0,b.useEffect)(()=>{if(Yo.current){let kr=function(fn){so=!0,we=fn.pageY},Qa=function(){so=!1},Ga=function(fn){if(so){let Mn=fn.pageY-we;Mn<0&&(Mn=0),Mn>300&&(Mn=300);let Sa=Sn+Mn+"px";Pr(Sa)}},Ya=Yo.current,so=!1,we=0;return Ya.addEventListener("mousedown",kr),document.addEventListener("mousemove",Ga),document.addEventListener("mouseup",Qa),()=>{Ya.removeEventListener("mousedown",kr),document.removeEventListener("mousemove",Ga),document.removeEventListener("mouseup",Qa)}}},[En,Yo]),(0,b.useEffect)(()=>{Pr(Sn)},[Sn]);const Ui=It(pt),tl=It(Er),nl={width:Ui,height:tl},Vo=(0,b.useMemo)(()=>{if(no){let kr=new Date(no),Qa=kr.getHours(),Ga=kr.getMinutes(),Ya=kr.getSeconds();return Qa=Qa<10?"0"+Qa:Qa,Ga=Ga<10?"0"+Ga:Ga,Ya=Ya<10?"0"+Ya:Ya,`${Qa}:${Ga}:${Ya}`}return 0},[no]),Fi=kr=>{const Qa=[];if(Nr){let Ga=-1;kr=kr.replace(/(@▁▁@|@▁@)/g,function(Ya,so,we){Qa.push({multiLine:Ya!==ia})})}return Qa};function Wi(){window.sessionStorage.removeItem(Ea),ai(!1),Fr(0)}function dl(){ai(!1),Fr(0),En.setValue(window.sessionStorage.getItem(Ea))}(0,b.useEffect)(()=>{Rn[La]&&La!==sn&&La!==kt&&setTimeout(()=>{const kr=document.getElementsByClassName("markdown-popup-form")[0],Qa=window.innerWidth/2-kr.offsetWidth/2,Ga=window.innerHeight/2-kr.offsetHeight/2;Mo(Qa),gr(Ga)},0)},[La]);const gl=kr=>{kr.preventDefault();const Qa=kr.clientX-Go,Ga=kr.clientY-Ao;document.body.onmousemove=Ya=>{let so=Ya.clientX-Qa,we=Ya.clientY-Ga;const fn=document.getElementsByClassName("markdown-popup-form")[0],Mn=window.innerWidth-fn.offsetWidth,Sa=window.innerHeight-fn.offsetHeight;so=Math.max(0,Math.min(so,Mn)),we=Math.max(0,Math.min(we,Sa)),Pl(Ya.clientX,Ya.clientY,Qa,Ga)&&(Mo(so),gr(we))},document.body.onmouseup=function(){document.body.onmousemove=null}},Pl=(kr,Qa,Ga,Ya)=>{const so=document.body.clientHeight,we=document.body.clientWidth;return kr<20&&Ga>kr||kr>we-20&&Ga<kr||Qa<20&&Ya>Qa||Qa>so-20&&Ya<Qa?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:Qo},b.createElement("div",{className:`markdown-editor-container ${Nn} ${Ir?"on-preview":""} ${Wn?"mini":""} ${za?"full-screen":""}`,style:nl},b.createElement(be,{insertTemp:pa,watch:Ir,fullScreen:za,showNullButton:lr,showNullProgramButton:Nr,onActionCallback:ko,hidetoolBar:Ur,extraUse:da}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:eo,placeholder:Un})),Ir?b.createElement("div",{ref:Oo,className:"preview-container"},_n==="stex"&&b.createElement(Je,{value:xr}),_n!=="stex"&&b.createElement(Ge.Z,{disabledFill:Qn,showProgramFill:Nr,value:xr})):null))),Pa?b.createElement("a",{ref:Yo,className:"editor-resize"}):null,La===sn&&b.createElement(Fn,{callback:mo,onCancel:vi}),La===kt&&b.createElement(Rt,{callback:mo,onCancel:vi}),b.createElement(je.Z,null,Rn[La]&&La!==sn&&La!==kt?b.createElement(dt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Go,top:Ao},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:gl},Rn[La]),open:!0,onCancel:vi,footer:null,destroyOnClose:!0,width:La===kt?"1200px":null,height:La===kt?"80vh":null,className:"markdown-popup-form"},di):null))}},35944:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ve},I:function(){return je}});var b=ee(78241),de=ee(8591),Be=ee(92832),Ne=ee(81327),Ze=ee(5871),ke=ee(5112),le=ee(3113),st=ee(77665),et=ee(59301),Ve=ee(64681),Ge=ee(59301),Je=Object.defineProperty,Ye=Object.defineProperties,se=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,y=(Ae,He,he)=>He in Ae?Je(Ae,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[He]=he,z=(Ae,He)=>{for(var he in He||(He={}))a.call(He,he)&&y(Ae,he,He[he]);if(E)for(var he of E(He))x.call(He,he)&&y(Ae,he,He[he]);return Ae},ne=(Ae,He)=>Ye(Ae,se(He));const{useForm:re}=b.default,ue={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:Ae,onCancel:He})=>{const[he]=re();let qe=(0,et.useRef)();function Ke(ot){qe.current.width=he.getFieldValue("width"),qe.current.align=he.getFieldValue("align"),Ae(ot,qe.current)}function ht(ot,lt){if(ot.status===-1){de.ZP.error(ot.message);return}he.setFieldsValue({src:`/api/attachments/${ot.id}`,type:lt.type})}function Le(ot){let lt=ot.target.files[0];qe.current=lt,je(lt,ht)}return Ge.createElement(b.default,ne(z({form:he},ie),{className:"upload-image-panel",onFinish:Ke,style:{width:470,overflow:"hidden"}}),Ge.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ge.createElement("div",{className:"flex-container"},Ge.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ge.createElement(Be.default,{style:ue})),Ge.createElement(be,{onFileChange:Le}))),Ge.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ge.createElement(Be.default,{style:{width:264}})),Ge.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ge.createElement(Ne.Z,null,Ge.createElement(b.default.Item,{name:"width",style:{margin:0}},Ge.createElement(Ze.Z,{style:{width:264}})),Ge.createElement("span",{className:"ml8"},"%"))),Ge.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ge.createElement(ke.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ge.createElement("aside",null,Ge.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ge.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ge.createElement(le.ZP,{type:"default",onClick:He},"\u53D6\u6D88"))))};function be({onFileChange:Ae}){return Ge.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ge.createElement("input",{type:"file",onChange:Ae}))}function je(Ae,He){if(!Ae)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ve.bg)())throw de.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let he=new FormData;he.append("editormd-image-file",Ae),he.append("file_param_name","editormd-image-file"),he.append("byxhr","true");var qe=new window.XMLHttpRequest;qe.withCredentials=!0,qe.addEventListener("load",function(Ke){He(JSON.parse(Ke.target.responseText),Ae)},!1),qe.addEventListener("error",function(Ke){console.error(Ke)},!1),qe.open("POST",`${st.KI}/api/attachments.json`),qe.send(he)}},51498:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Be}});var b=ee(59301),de=ee(4676);class Be extends b.Component{constructor(Ze){super(Ze);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:Ze}=this.props;return(0,de.createPortal)(Ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},36867:function(Qt,Gt,ee){"use strict";ee.d(Gt,{i:function(){return ue},Z:function(){return ve}});var b={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"},de=ee(71418),Be=ee(6848),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(89299),le=ee(63604),st=ee(64681),et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0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SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",re=ee(59301);const ue=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:et,swimg:Ve},{name:"101\u8BA1\u5212",ptimg:Ge,swimg:Je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ye,swimg:se},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ne}];var ve=({className:be,dataSource:je=[],col:Ae=4,right:He,bottom:he=23,precision:qe=0,wrapWidth:Ke=1200,trackEventItems:ht,loading:Le,onRemove:ot=()=>{},isCurrent:lt=!0,showAlias:gt=!1})=>{const ft=Math.floor((Ke-(Ae-1)*He)/Ae),ln=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(xt=>(window.ENV==="build"&&(xt.ptimg=`/react/build${xt.ptimg}`,xt.swimg=`/react/build${xt.swimg}`),xt));return re.createElement(de.Z,{spinning:Le},re.createElement("div",{className:Ze()(b.list,be)},!!(je!=null&&je.length)&&(je==null?void 0:je.map((xt,an)=>{var hn;const{name:$e,id:dt,identifier:rn,featured:Vn,school_name:Zt,image_url:Fn,excellent:ze,is_plan:ct}=xt;return re.createElement("div",{key:dt,className:b.wrap,style:{width:ft,marginRight:(1+an)%Ae===0?0:He+qe,marginBottom:he}},re.createElement("a",{className:b.li,onClick:Lt=>{Lt.preventDefault(),Lt.stopPropagation(),ht&&(0,ke.L9)([ht]),(0,ke.xg)(`/paths/${rn}`)}},re.createElement("div",{className:b.img},re.createElement("img",{className:b.cover,src:`${Fn}`}),lt&&(0,st.bg)()&&(xt==null?void 0:xt.studying)&&re.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Lt=>{Lt.stopPropagation(),ot(xt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(hn=xt==null?void 0:xt.subject_tags)==null?void 0:hn.map((Lt,mt)=>{var Nt,ut;if(mt===0){const De=(Nt=ln.find(fe=>fe.name==Lt))==null?void 0:Nt.swimg;return re.createElement("img",{className:b.sign,src:De,style:{left:"-4px"}})}const at=(ut=ln.find(De=>De.name==Lt))==null?void 0:ut.ptimg;return re.createElement("img",{className:b.sign,src:at,style:{left:`${48+52*(mt-1)+2*mt}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(xt==null?void 0:xt.excellent)&&re.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:b.name},re.createElement(Be.Z,{title:gt&&(xt!=null&&xt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${$e}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${xt==null?void 0:xt.excellent_alias_name}`)):$e},re.createElement("span",{className:b.e},gt&&(xt==null?void 0:xt.excellent_alias_name)||$e))),re.createElement("div",{className:b.tags},re.createElement("div",null,re.createElement(Be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,xt.stages_count))),re.createElement(Be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,xt.members_count)))))))})),!je.length&&re.createElement(le.Z,null)))}},36433:function(Qt,Gt,ee){"use strict";ee.d(Gt,{jL:function(){return Ze},w9:function(){return xt},QD:function(){return yn},cQ:function(){return ot.Z},op:function(){return Me},O5:function(){return xa},_b:function(){return sn},t7:function(){return y},Gi:function(){return Vn},YG:function(){return dt},qp:function(){return Ge},vr:function(){return zt},qE:function(){return nn},Je:function(){return re},wb:function(){return Le},cq:function(){return mt},tp:function(){return se}});var b=ee(59301),de={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"},Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUf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J6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ze=({dataSource:We=[],img:It,imgWidth:_t=346,title:Vt,sunTitle:Wt,bannerExtraContent:Rn})=>b.createElement("div",{className:de.banner},b.createElement("div",{className:de.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Vt),b.createElement("span",null,Wt)),We.length>0&&b.createElement("div",{className:de.btns},We.map((wn,vt)=>b.createElement("div",{key:vt,onClick:wn.click},wn.name,wn.sign?b.createElement("img",{src:Be,width:39}):null))),Rn),It&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:It,width:_t}))),ke={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"},le=ee(92310),st=ee.n(le),et=ee(89392),Ge=({dataSource:We=[],value:It,onChange:_t,onTitleChange:Vt,className:Wt,title:Rn,titleWidth:wn=41,style:vt={},fontColor:Bt="#6A7283",showCount:pt})=>{const[Sn,Wn]=(0,b.useState)(0),[An,ka]=(0,b.useState)(!1),pa=(0,b.useRef)(null),_n=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Ea;We.length!==0&&(((Ea=pa==null?void 0:pa.current)==null?void 0:Ea.clientHeight)>97?Wn(1):Wn(0)),We.length===0&&Wn(0),ka(!1)},[We]),b.createElement("div",{className:st()(ke.row,Wt),style:vt},b.createElement("div",{onClick:(0,et.throttle)(()=>Vt==null?void 0:Vt(),2e3),style:{width:wn,marginTop:An?12:4},className:`${ke.title} ${Vt?"current":""}`},Rn),b.createElement("div",{className:An?`${ke.tagsWrap} ${ke.tagsBorderWrap}`:ke.tagsWrap},b.createElement("div",{className:ke.bar,ref:_n,style:Sn>0?{height:Sn===1?97:"auto",overflow:Sn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:ke.tag,ref:pa},We==null?void 0:We.map(Ea=>b.createElement("span",{onClick:()=>_t(Ea.id),key:Ea.id,style:{color:Bt},className:It===Ea.id?ke.active:""},b.createElement("span",{title:Ea.name,className:ke.name},Ea.name),!!pt&&b.createElement("span",{className:ke.num},Ea.count))))),!!Sn&&b.createElement(b.Fragment,null,Sn===1?b.createElement("div",{onClick:()=>{var Ea;Wn(2),((Ea=pa==null?void 0:pa.current)==null?void 0:Ea.clientHeight)>245?ka(!0):ka(!1)},className:ke.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{_n.current.scrollTop=0,Wn(1),ka(!1)},className:ke.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Je={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"},se=({dataSource:We=[],value:It,onChange:_t,className:Vt,style:Wt={}})=>b.createElement("div",{style:Wt,className:st()(Je.tabs,Vt)},We.map(Rn=>b.createElement("span",{onClick:()=>_t(Rn.id),className:It===Rn.id?Je.active:"",key:Rn.id},Rn.name))),E={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"},a=ee(92832),y=({dataSource:We=[],value:It="",onChange:_t,onInputChange:Vt=()=>{},className:Wt,style:Rn={},placeholder:wn,allowClear:vt=!1})=>{var Bt;const[pt,Sn]=(0,b.useState)(""),[Wn,An]=(0,b.useState)("");(0,b.useEffect)(()=>{var _n;let Ea=It;(_n=JSON.stringify(It))!=null&&_n.includes("{")&&(Sn(It.id),Ea=It.value||"");try{An(decodeURIComponent(Ea||""))}catch(Pa){An(decodeURIComponent(Ea||""))}},[It]);const ka=()=>{_t(encodeURIComponent(Wn),pt||null)},pa=_n=>{_n!==pt&&(Sn(_n),_t(encodeURIComponent(Wn),_n))};return b.createElement("div",{className:st()(E.input,Wt),style:Rn},!!We.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(Bt=We.find(_n=>_n.id===pt))==null?void 0:Bt.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:E.b1}),b.createElement("b",{className:E.b2})),b.createElement("div",{className:E.menu},We.map((_n,Ea)=>b.createElement("div",{key:Ea,onClick:()=>pa(_n.id)},_n.name)))),b.createElement(a.default,{onPressEnter:ka,value:Wn,onChange:_n=>{An(_n.target.value),Vt(encodeURIComponent(_n.target.value),pt||null)},bordered:!1,placeholder:wn}),b.createElement("i",{onClick:ka,className:"iconfont icon-sousuo9 font14 pl10 current"}))},z={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},re=({value:We,onChange:It,className:_t,total:Vt,pageSize:Wt,style:Rn={}})=>{const wn=We<2,vt=We>=Math.ceil(Vt/Wt);return Vt<=Wt?b.createElement(b.Fragment,null):b.createElement("div",{className:st()(z.quickPager,_t),style:Rn},b.createElement("div",{onClick:()=>{wn||It(We-1,"prev")},className:wn?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{vt||It(We+1,"next")},className:vt?z.disabled:""},"\u4E0B\u4E00\u9875"))},ue={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"},ie=ee(71418),ve=ee(6848),be=ee(13570),je=ee(13952),Ae=ee(89299),He=ee(96908),he=ee(57177),qe=ee(81378),Ke=ee(63604),Le=({className:We,dataSource:It=[],col:_t=4,right:Vt,bottom:Wt=23,precision:Rn=0,wrapWidth:wn=1200,trackEventItems:vt,loading:Bt})=>{const pt=Math.floor((wn-(_t-1)*Vt)/_t);return b.createElement(ie.Z,{spinning:Bt},b.createElement("div",{className:st()(ue.list,We)},!!It.length&&It.map((Sn,Wn)=>{const{name:An,id:ka,identifier:pa,power:_n,cover_image_id:Ea,pic:Pa}=Sn;return b.createElement("div",{className:ue.wrap,key:ka,style:{width:pt,marginRight:(1+Wn)%_t===0?0:Vt+Rn,marginBottom:Wt}},b.createElement("a",{target:"_blank",href:`/shixuns/${pa}/challenges`,className:ue.li,onClick:Dn=>{Dn.preventDefault(),vt&&(0,Ae.L9)([vt]),_n&&(0,Ae.xg)(`/shixuns/${pa}/challenges`)}},b.createElement("div",{className:ue.img},b.createElement("img",{className:ue.cover,src:`${Pa}`}),Sn.is_jupyter&&b.createElement("img",{className:ue.sign,src:He}),Sn.is_jupyter_lab&&b.createElement("img",{className:ue.sign,src:he}),Sn.is_unity_3d&&b.createElement("img",{className:ue.sign,src:qe})),b.createElement("div",{className:ue.name},b.createElement(ve.Z,{title:An||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:ue.e},An||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:ue.tags},b.createElement(ve.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Sn.challenges_count))),!!Sn.myshixuns_count&&b.createElement(ve.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Sn.myshixuns_count))),b.createElement(ve.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Sn.level))),b.createElement("div",{className:ue.rate},b.createElement(be.Z,{allowHalf:!0,disabled:!0,defaultValue:Sn.score_info}),b.createElement("span",null,"\xA0",Sn.score_info?`${Sn.score_info}\u5206`:"5\u5206")))),!_n&&b.createElement("div",{className:ue.lockWrap},b.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!It.length&&b.createElement(Ke.Z,null)))},ot=ee(36867),lt={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"},gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0w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hWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ft=ee(59301),xt=({className:We,dataSource:It=[],col:_t=4,right:Vt,bottom:Wt=23,precision:Rn=0,wrapWidth:wn=1200,trackEventItems:vt,loading:Bt})=>{const pt=Math.floor((wn-(_t-1)*Vt)/_t);return ft.createElement(ie.Z,{spinning:Bt},ft.createElement("div",{className:st()(lt.list,We)},!!It.length&&It.map((Sn,Wn)=>{const{subject_identifier:An,id:ka,identifier:pa,power:_n}=Sn,Ea=Sn.is_public!=0&&Sn.is_public;return ft.createElement("div",{className:lt.wrap,key:ka,style:{width:pt,marginRight:(1+Wn)%_t===0?0:Vt+Rn,marginBottom:Wt}},ft.createElement("a",{className:lt.li,onClick:Pa=>{Pa.preventDefault(),vt&&(0,Ae.L9)([vt]),(0,Ae.xg)(Sn.first_category_url)}},ft.createElement("div",{className:lt.top},ft.createElement(ve.Z,{title:Sn.name},ft.createElement("div",{className:lt.name},Sn.name)),ft.createElement("img",{className:lt.img,src:je.Z.IMG_SERVER+"/images/"+Sn.avatar_url}),ft.createElement("div",{className:lt.text,title:Sn.creator},Sn.creator),An&&ft.createElement("div",{className:lt.btns},ft.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ft.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ea&&ft.createElement("div",{className:lt.sign},"\u516C\u5F00")),ft.createElement("div",{className:lt.bottom},Sn.visits>0&&ft.createElement(ve.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ft.createElement("span",null,ft.createElement("i",{className:"iconfont icon-liulanyan"}),ft.createElement("span",null,Sn.visits))),Sn.course_members_count>0&&ft.createElement(ve.Z,{title:"\u6210\u5458",placement:"bottom"},ft.createElement("span",null,ft.createElement("i",{className:"iconfont icon-chengyuan"}),Sn.course_members_count)),Sn.tasks_count>0&&ft.createElement(ve.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ft.createElement("span",null,ft.createElement("i",{className:"iconfont icon-zuoye"}),Sn.tasks_count)),Sn.is_end?ft.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ft.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Sn.is_accessible&&ft.createElement("div",{className:lt.lockWrap},ft.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ft.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!It.length&&ft.createElement(Ke.Z,null)))},an={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"},hn=ee(44993),dt=({dataSource:We=[],value:It,onChange:_t,className:Vt,style:Wt={},tabBarExtraContent:Rn})=>b.createElement("div",{className:st()(an.tabs,Vt),style:Wt},b.createElement("div",{className:an.tabsWrap},We.map((wn,vt)=>b.createElement("aside",{className:an.tab,onClick:()=>{_t(wn.id),wn.link&&hn.history.push(wn.link)},key:vt},b.createElement("div",{className:It===wn.id?an.active:""},wn.name),(wn==null?void 0:wn.resetCount)==null&&(wn==null?void 0:wn.total)!==void 0&&b.createElement("span",null,"\uFF08",wn==null?void 0:wn.total,"\uFF09"),(wn==null?void 0:wn.resetCount)!==void 0&&(wn==null?void 0:wn.total)!==void 0&&b.createElement(ve.Z,{title:(wn==null?void 0:wn.tip)!=null?wn==null?void 0:wn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},wn==null?void 0:wn.resetCount),"/",b.createElement("span",null,wn==null?void 0:wn.total),"\uFF09"))))),b.createElement("div",{className:an.tabBar},Rn)),Vn=({className:We,style:It={},children:_t})=>b.createElement("div",{className:st()(We),style:It},_t),Zt={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"},Fn=ee(38854),ze=ee(20834);const ct=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var mt=({sortValue:We,dropValue:It,className:_t,onSort:Vt,onDrop:Wt,dataSource:Rn=ct})=>{var wn;return b.createElement("div",{className:st()(Zt.orderWrap,_t)},b.createElement(Fn.Z,{dropdownRender:()=>b.createElement(ze.default,null,Rn.map((vt,Bt)=>b.createElement(ze.default.Item,{key:Bt,onClick:()=>Wt(vt.id)},vt.name)))},b.createElement("span",{className:Zt.orderTextWrap},(wn=Rn.find(vt=>It===vt.id))==null?void 0:wn.name)),b.createElement("span",{className:Zt.orderIconWrap},b.createElement("span",{className:Zt.orderAsc},b.createElement("i",{className:We==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer}`,onClick:()=>Vt(We==="asc"?"desc":"asc")})),b.createElement("span",{className:Zt.orderDesc},b.createElement("i",{className:We==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer}`,onClick:()=>Vt(We==="asc"?"desc":"asc")}))))},Nt={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"},ut=ee(3113),at=Object.defineProperty,De=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Rt=(We,It,_t)=>It in We?at(We,It,{enumerable:!0,configurable:!0,writable:!0,value:_t}):We[It]=_t,Oe=(We,It)=>{for(var _t in It||(It={}))fe.call(It,_t)&&Rt(We,_t,It[_t]);if(De)for(var _t of De(It))Xe.call(It,_t)&&Rt(We,_t,It[_t]);return We},Ie=(We,It)=>{var _t={};for(var Vt in We)fe.call(We,Vt)&&It.indexOf(Vt)<0&&(_t[Vt]=We[Vt]);if(We!=null&&De)for(var Vt of De(We))It.indexOf(Vt)<0&&Xe.call(We,Vt)&&(_t[Vt]=We[Vt]);return _t},St=(We,It,_t)=>new Promise((Vt,Wt)=>{var Rn=Bt=>{try{vt(_t.next(Bt))}catch(pt){Wt(pt)}},wn=Bt=>{try{vt(_t.throw(Bt))}catch(pt){Wt(pt)}},vt=Bt=>Bt.done?Vt(Bt.value):Promise.resolve(Bt.value).then(Rn,wn);vt((_t=_t.apply(We,It)).next())}),Me=We=>{var It=We,{className:_t,style:Vt,children:Wt,loading:Rn=!1,openLoading:wn,onClick:vt=()=>{},size:Bt="middle",shape:pt="round"}=It,Sn=Ie(It,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Wn,An]=(0,b.useState)(!1);return b.createElement(ut.ZP,Oe({onClick:(0,et.throttle)(ka=>St(void 0,null,function*(){wn&&An(!0);try{yield vt(ka)}catch(pa){console.log("error",pa)}wn&&An(!1)}),2e3,{leading:!0,trailing:!1}),className:st()(Nt.btn,Nt[`${Bt}-${pt}`],_t),style:Vt,size:Bt,shape:pt,loading:Wn||Rn},Sn),Wt)},yt={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"},nn=({className:We,style:It,children:_t=null,onClick:Vt,title:Wt})=>b.createElement("div",{className:st()(yt.head,We),style:It},b.createElement("span",{className:"primary-hover",onClick:Vt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:Wt},Wt),b.createElement("div",{className:yt.node},_t)),dn={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"},yn=({confirmShow:We=!0,confirmTitle:It,confirmClick:_t,cancelShow:Vt=!0,cancelTitle:Wt,cancelClick:Rn,className:wn,style:vt,confirmLoading:Bt=!1})=>b.createElement("div",{className:st()(dn.btns,wn),style:vt},We&&b.createElement(ut.ZP,{loading:Bt,onClick:_t,type:"primary",className:dn.confirm},It),Vt&&b.createElement(ut.ZP,{onClick:Rn,className:dn.cancel},Wt)),Te={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"},zt=({className:We,style:It={},LeftContent:_t,children:Vt,RightContent:Wt})=>b.createElement("div",{className:st()(Te.fixedBottom,We),style:It},b.createElement("div",{className:Te.wrap},b.createElement("div",{className:Te.left},_t),b.createElement("div",{className:Te.center},Vt),b.createElement("div",{className:Te.right},Wt))),wt={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"},sn=({className:We,style:It={},dataSource:_t=[]})=>b.createElement("div",{className:st()(wt.crumbs,We),style:It},_t.map((Vt,Wt)=>Wt<_t.length-1?b.createElement(b.Fragment,{key:Wt},Vt.path||Vt.onClick?b.createElement("span",{className:wt.hover,onClick:Vt!=null&&Vt.onClick?Vt.onClick:()=>hn.history.push(Vt.path)},Vt.name):b.createElement("span",null,Vt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:Wt,style:{color:"#5F6368"}},Vt.name))),cn=ee(31797),Ln=Object.defineProperty,Jn=Object.defineProperties,va=Object.getOwnPropertyDescriptors,Da=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,$a=(We,It,_t)=>It in We?Ln(We,It,{enumerable:!0,configurable:!0,writable:!0,value:_t}):We[It]=_t,fa=(We,It)=>{for(var _t in It||(It={}))Na.call(It,_t)&&$a(We,_t,It[_t]);if(Da)for(var _t of Da(It))ar.call(It,_t)&&$a(We,_t,It[_t]);return We},yr=(We,It)=>Jn(We,va(It)),en=(We,It)=>{var _t={};for(var Vt in We)Na.call(We,Vt)&&It.indexOf(Vt)<0&&(_t[Vt]=We[Vt]);if(We!=null&&Da)for(var Vt of Da(We))It.indexOf(Vt)<0&&ar.call(We,Vt)&&(_t[Vt]=We[Vt]);return _t};const{Countdown:On}=cn.default;var xa=We=>{var It=We,{onChange:_t}=It,Vt=en(It,["onChange"]);const[Wt,Rn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof Wt=="number"&&Wt>=0&&_t(Wt)},[Wt]);const wn=vt=>{const Bt=Math.floor(vt/1e3);Rn(Bt)};return b.createElement(On,yr(fa({},Vt),{onChange:wn}))}},47458:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return de}});var b=ee(59301);function de(Be,Ne){const Ze=(0,b.useRef)();(0,b.useEffect)(()=>{Ze.current=Be}),(0,b.useEffect)(()=>{function ke(){Ze.current()}if(Ne!==null){let le=setInterval(ke,Ne);return()=>clearInterval(le)}},[Ne])}},3942:function(Qt,Gt,ee){"use strict";ee.r(Gt),ee.d(Gt,{default:function(){return Zr}});var b=ee(59301),de=ee(44993),Be=ee(78241),Ne=ee(8591),Ze=ee(66104),ke=ee(92832),le=ee(19842),st=ee(24905),et=ee(5112),Ve=ee(5871),Ge=ee(3113),Je={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Ye=ee(43418),se=ee(5083),E=ee(61186),a=ee.n(E),x=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const y=({user:ce,dispatch:pe,classroomList:Pe,onModalOk:Ot,setsubloading:tn})=>{const wa=(0,de.useParams)(),[ma,zn]=(0,b.useState)(),[jt,Yn]=(0,b.useState)(!1);function xn(Ct){return Ct&&Ct<a()().subtract(1,"days")}return b.createElement(Ye.default,{title:"\u6E29\u99A8\u63D0\u793A",afterClose:()=>{Yn(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(jt){Ne.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}tn(!1),pe({type:"classroomList/setActionTabs",payload:{}})}},b.createElement("div",null,b.createElement("span",null,"EduCoder\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A"),b.createElement("br",null),b.createElement(se.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:xn,format:"YYYY-MM-DD HH:mm:ss",onChange:(Ct,gn)=>{zn(gn)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),b.createElement("br",null),b.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),b.createElement("br",null),b.createElement("div",{style:{textAlign:"end"}},b.createElement(Ge.ZP,{loading:jt,type:"primary",onClick:()=>x(void 0,null,function*(){Yn(!0),Ot(ma,()=>{pe({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,de.connect)(({user:ce,classroomList:pe})=>({user:ce,classroomList:pe}))(y),ne=ee(52430),re=ee(32134),ue=ee(12893),ie={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},ve=ee(57809),be=Object.defineProperty,je=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,he=(ce,pe,Pe)=>pe in ce?be(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,qe=(ce,pe)=>{for(var Pe in pe||(pe={}))Ae.call(pe,Pe)&&he(ce,Pe,pe[Pe]);if(je)for(var Pe of je(pe))He.call(pe,Pe)&&he(ce,Pe,pe[Pe]);return ce},Ke=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Le=({setitem:ce,item:pe,rz:Pe})=>{var Ot,tn,wa,ma,zn,jt,Yn,xn;let[Ct,gn]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[In]=Be.default.useForm(),[ra,Hn]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!ra&&(Ct.zydatas=Pe,gn(qe({},Ct)),Hn(!0),pe!=null&&pe.ec_course_id&&ba())},[pe,Pe,ra]),console.log(Ct,"params");function ba(){return Ke(this,null,function*(){yield ta(pe==null?void 0:pe.ec_major_school_id),yield oa(pe==null?void 0:pe.ec_year_id),yield Ka(pe==null?void 0:pe.ec_course_id),In.setFieldsValue({ec_course_id:pe==null?void 0:pe.ec_course_id,ec_major_school_id:pe==null?void 0:pe.ec_major_school_id,ec_point_ids:pe==null?void 0:pe.ec_point_ids,ec_year_id:pe==null?void 0:pe.ec_year_id})})}function ta(Pn){return Ke(this,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_major_schools/${Pn}/ec_years/get_year_list.json`,{method:"get"});Ct.jbdatas=ya==null?void 0:ya.data,gn(qe({},Ct)),In.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function oa(Pn){return Ke(this,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_years/${Pn}/ec_courses/get_courses.json`,{method:"get"});Ct.kcdatas=ya==null?void 0:ya.data,gn(qe({},Ct)),In.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const Ka=Pn=>Ke(void 0,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_courses/${Pn}/ec_points.json`,{method:"get",params:{ec_course_id:Pn}});Ct.zsdatas=ya==null?void 0:ya.data,gn(qe({},Ct))});return b.createElement("div",{className:ie.from},b.createElement(Be.default,{form:In,layout:"inline",onValuesChange:Pn=>{console.log("----",Pn),Pn.ec_major_school_id&&(Ct.jbdatas=[],Ct.kcdatas=[],Ct.zsdatas=[],gn(qe({},Ct)),ta(Pn.ec_major_school_id)),Pn.ec_year_id&&(Ct.kcdatas=[],Ct.zsdatas=[],gn(qe({},Ct)),oa(Pn.ec_year_id)),Pn.ec_course_id&&(Ct.zsdatas=[],gn(qe({},Ct)),Ka(Pn.ec_course_id))},onFinish:Pn=>Ke(void 0,null,function*(){ce(Pn)})},b.createElement(Be.default.Item,{name:"ec_major_school_id"},b.createElement(ve.default,{style:{width:160},disabled:((Ot=Ct.zydatas)==null?void 0:Ot.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(tn=Ct==null?void 0:Ct.zydatas)==null?void 0:tn.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.ec_major_school_id},Pn==null?void 0:Pn.name)))),b.createElement(Be.default.Item,{name:"ec_year_id"},b.createElement(ve.default,{style:{width:160},disabled:((wa=Ct.jbdatas)==null?void 0:wa.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(ma=Ct==null?void 0:Ct.jbdatas)==null?void 0:ma.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.ec_year_id},Pn==null?void 0:Pn.year)))),b.createElement(Be.default.Item,{name:"ec_course_id"},b.createElement(ve.default,{style:{width:208},disabled:((zn=Ct.kcdatas)==null?void 0:zn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(jt=Ct==null?void 0:Ct.kcdatas)==null?void 0:jt.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.id},Pn==null?void 0:Pn.name)))),b.createElement(Be.default.Item,{name:"ec_point_ids"},b.createElement(ve.default,{onChange:()=>{In.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((Yn=Ct.zsdatas)==null?void 0:Yn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(xn=Ct==null?void 0:Ct.zsdatas)==null?void 0:xn.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.id},Pn==null?void 0:Pn.name))))))},ot=Object.defineProperty,lt=Object.defineProperties,gt=Object.getOwnPropertyDescriptors,ft=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,an=(ce,pe,Pe)=>pe in ce?ot(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,hn=(ce,pe)=>{for(var Pe in pe||(pe={}))ln.call(pe,Pe)&&an(ce,Pe,pe[Pe]);if(ft)for(var Pe of ft(pe))xt.call(pe,Pe)&&an(ce,Pe,pe[Pe]);return ce},$e=(ce,pe)=>lt(ce,gt(pe)),dt=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const rn=({user:ce,exercise_id:pe=null,homework_common_id:Pe=null,setitem:Ot})=>{var tn,wa,ma;let[zn,jt]=(0,b.useState)([{id:Math.random()}]),[Yn,xn]=(0,b.useState)(null);function Ct(){return dt(this,null,function*(){var In,ra,Hn,ba;let ta=yield(0,ne.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:pe,homework_common_id:Pe}});if(((In=ta==null?void 0:ta.data)==null?void 0:In.length)>0){let oa=[];(ra=ta==null?void 0:ta.data)==null||ra.map(Ka=>{var Pn;(Pn=Ka==null?void 0:Ka.ec_point_ids)==null||Pn.map(ya=>{oa.push(ya)})}),Ot($e(hn({},(Hn=ta==null?void 0:ta.data)==null?void 0:Hn[0]),{ec_point_ids:oa})),jt((ba=ta==null?void 0:ta.data)==null?void 0:ba.map(Ka=>$e(hn({},Ka),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var In,ra;(ra=(In=ce==null?void 0:ce.userInfo)==null?void 0:In.course)!=null&&ra.course_school_id&&gn()},[(wa=(tn=ce==null?void 0:ce.userInfo)==null?void 0:tn.course)==null?void 0:wa.course_school_id]);function gn(){return dt(this,null,function*(){var In,ra;const Hn=yield(0,ne.ZP)(`/api/schools/${(ra=(In=ce==null?void 0:ce.userInfo)==null?void 0:In.course)==null?void 0:ra.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});xn(Hn==null?void 0:Hn.data),(Pe||pe)&&Ct()})}return console.log(zn,Yn,"datas"),b.createElement("div",{style:{display:(ma=ce.userInfo.course)!=null&&ma.is_openengineering?"":"none"}},b.createElement("div",{className:ie.wrap},b.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",b.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),b.createElement("div",{className:ie.itemWarp},zn==null?void 0:zn.map((In,ra)=>b.createElement("div",{key:In.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(Le,{rz:Yn,item:In,setitem:Hn=>{Hn=hn(hn({},zn==null?void 0:zn[ra]),Hn),zn.splice(ra,1,Hn),jt([...zn]);let ba=[];zn==null||zn.map(ta=>{var oa;(oa=ta==null?void 0:ta.ec_point_ids)==null||oa.map(Ka=>{ba.push(Ka)})}),Ot($e(hn({},Hn),{ec_point_ids:ba}))}}),b.createElement(re.Z,{className:ie.addIcon,onClick:()=>{zn.push({id:Math.random()}),jt([...zn])}}),ra!=0&&b.createElement(ue.Z,{className:ie.deleteIcon,onClick:()=>{zn.splice(ra,1);let Hn=[];zn==null||zn.map(ba=>{var ta;(ta=ba==null?void 0:ba.ec_point_ids)==null||ta.map(oa=>{Hn.push(oa)})}),Ot($e(hn({},zn[ra-1]),{ec_point_ids:Hn})),jt([...zn])}}))))))};var Vn=(0,de.connect)(({user:ce})=>({user:ce}))(rn),Zt=ee(20834),Fn=ee(71418),ze=ee(38854),ct=ee(6848),Lt=ee(43428),mt={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},Nt=ee(89299),ut=ee(63604),at=ee(33329),De=ee(12921),fe=ee(98573),Xe=ee(59301),Rt=Object.defineProperty,Oe=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,yt=(ce,pe,Pe)=>pe in ce?Rt(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Bn=(ce,pe)=>{for(var Pe in pe||(pe={}))nt.call(pe,Pe)&&yt(ce,Pe,pe[Pe]);if(St)for(var Pe of St(pe))Me.call(pe,Pe)&&yt(ce,Pe,pe[Pe]);return ce},nn=(ce,pe)=>Oe(ce,Ie(pe)),dn=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),yn=({Itemid:ce,setqitem:pe,qitem:Pe,data:Ot,getdata:tn,bigitem:wa,setBigqitem:ma,isedit:zn,handleEditing:jt})=>{const[Yn,xn]=(0,b.useState)([]),[Ct,gn]=(0,b.useState)(!1),In=(Hn,ba,ta)=>{const oa=Array.from(Hn),[Ka]=oa.splice(ba,1);return oa.splice(ta,0,Ka),oa};(0,b.useEffect)(()=>{Ot.length>0&&xn([...Ot])},[Ot]);const ra=(Hn,ba)=>dn(void 0,null,function*(){if(!Hn.destination)return;if(zn){jt();return}const ta=In(ba,Hn.source.index,Hn.destination.index);gn(!0);let oa=yield(0,ne.ZP)(`/api/exercises/${ce}/adjust_position.json`,{method:"post",body:{id:ce,question_ids:ta==null?void 0:ta.map(Ka=>Ka.question_id)}});gn(!1),oa.status===0&&tn({id:ba==null?void 0:ba[Hn.source.index].question_id})});return Xe.createElement("div",null,Xe.createElement(De.Z5,{onDragEnd:Hn=>ra(Hn,Yn)},Xe.createElement(De.bK,{droppableId:"droppable"},(Hn,ba)=>Xe.createElement("div",Bn({ref:Hn.innerRef},Hn.droppableProps),Xe.createElement(Fn.Z,{spinning:Ct},Yn.map((ta,oa)=>Xe.createElement(De._l,{key:oa,draggableId:oa.toString(),index:oa},(Ka,Pn)=>{var ya,ja;return Xe.createElement("aside",Bn(Bn({ref:Ka.innerRef},Ka.draggableProps),Ka.dragHandleProps),Xe.createElement(ct.Z,{title:Xe.createElement(fe.Z,{value:(ta==null?void 0:ta.question_type)===8?(ya=ta==null?void 0:ta.program_attr)==null?void 0:ya.description:ta.question_title}),color:"#fff",placement:"left",overlayClassName:mt.titleTooltip},Xe.createElement("div",{onClick:()=>{if(zn){jt();return}pe(nn(Bn({},ta),{index:oa+1})),ma(wa),(0,Nt.Vf)("#question-scroll-id")},className:`${mt.qcount} ${ta.question_id===(Pe==null?void 0:Pe.question_id)?mt.qcountclick:""}`},Xe.createElement("span",{className:mt.score},ta==null?void 0:ta.question_score,"\u5206"),Xe.createElement("span",{className:mt.qtitle},oa+1,"\u3001",Xe.createElement(fe.Z,{value:(ta==null?void 0:ta.question_type)===8?(ja=ta==null?void 0:ta.program_attr)==null?void 0:ja.description:ta.question_title,showTextOnly:!0})))))}))),Hn.placeholder))))},Te=ee(95237),Ft=ee(40260),zt=ee(78673),wt=ee(61485),kt=ee(59592),sn=ee(59301),cn=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Jn=({form:ce,TagDiscipline:pe,exerciseitem:Pe,qitem:Ot,getTagData:tn})=>{var wa;const[ma,zn]=(0,b.useState)(!0),[jt,Yn]=(0,b.useState)(!1),[xn,Ct]=(0,b.useState)(""),[gn,In]=(0,b.useState)([]),[ra,Hn]=(0,b.useState)([]),[ba,ta]=(0,b.useState)(0);(0,b.useEffect)(()=>{Ka()},[]);const oa=Pn=>cn(void 0,null,function*(){const ya=yield(0,ne.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:Pn==null?void 0:Pn.sub_discipline_id}});Hn(ya==null?void 0:ya.tag_disciplines)}),Ka=()=>cn(void 0,null,function*(){const Pn=yield(0,ne.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});In(Pn.disciplines||[]),Ot!=null&&Ot.sub_discipline_id&&oa(Ot),ta(Ot!=null&&Ot.sub_discipline_id?1:0),ce.setFieldsValue({difficulty:Ot.difficulty||2,tag_discipline_ids:Ot.tag_discipline_ids,repeat_answer:!Ot.repeat_answer,sub_discipline_id:Ot!=null&&Ot.sub_discipline_id?[Ot==null?void 0:Ot.discipline_id,Ot==null?void 0:Ot.sub_discipline_id]:[]})});return sn.createElement("div",null,sn.createElement("div",{style:{marginTop:30,height:ma?"100%":"0px",overflow:"hidden"}},sn.createElement(Be.default.Item,{className:mt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},sn.createElement(et.ZP.Group,{className:mt.radiogroup},sn.createElement(et.ZP.Button,{className:mt.easy,value:1},"\u7B80\u5355"),sn.createElement(et.ZP.Button,{className:mt.medium,value:2},"\u9002\u4E2D"),sn.createElement(et.ZP.Button,{className:mt.hard,value:3},"\u56F0\u96BE"))),sn.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:mt.formcenterselect},sn.createElement(le.Z,{className:mt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:gn,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Pn,ya)=>{ce.setFieldsValue({sub_discipline_id:Pn,tag_discipline_ids:[]}),ta(Pn?Pn.length:0),(Pn==null?void 0:Pn.length)>0&&(oa({sub_discipline_id:Pn[1]}),Pn[1]==(Ot==null?void 0:Ot.sub_discipline_id)&&ce.setFieldValue("tag_discipline_ids",Ot.tag_discipline_ids))},onClear:()=>{Hn([]),ce.setFieldValue("tag_discipline_ids",[]),ta(0)}})),sn.createElement(Be.default.Item,{className:mt.formcenterselect},sn.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},sn.createElement(Be.default.Item,{name:"tag_discipline_ids"},sn.createElement(ve.default,{className:mt.selectitems,disabled:ba===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(Pn,ya)=>ya.key.indexOf(Pn.toLowerCase())>=0},ra==null?void 0:ra.map(Pn=>sn.createElement(ve.default.Option,{key:Pn.name+Pn.id,value:Pn.id},sn.createElement("div",{style:{display:"flex",alignItems:"center"}},sn.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Pn.name),(Pn==null?void 0:Pn.type)==="personal"&&sn.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),ba>0&&sn.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},sn.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),sn.createElement("a",{onClick:()=>{Yn(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),sn.createElement(Be.default.Item,{className:mt.formcenterselect},sn.createElement("div",{style:{display:"flex",alignItems:"center"}},sn.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},sn.createElement(zt.Z,null)),sn.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",sn.createElement(ct.Z,{placement:"right",title:"\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u5B8C\u6210\u8BE5\u9898\u5E76\u8FDB\u5165\u4E0B\u4E00\u9898\u4E4B\u540E\uFF0C\u4E0D\u5141\u8BB8\u518D\u4FEE\u6539\u8BE5\u9898\u7B54\u6848"},sn.createElement(wt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),sn.createElement(kt.Z,{open:jt,subDisciplineId:(wa=ce.getFieldValue("sub_discipline_id"))==null?void 0:wa[1],onCancel:()=>{Yn(!1)},onOkClick:Pn=>{Hn(ya=>[...ya,Pn]),ce.setFieldValue("tag_discipline_ids",[...ce.getFieldValue("tag_discipline_ids"),Pn==null?void 0:Pn.id])}}))},va=ee(59301),Da=Object.defineProperty,Na=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,en=(ce,pe,Pe)=>pe in ce?Da(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,On=(ce,pe)=>{for(var Pe in pe||(pe={}))fa.call(pe,Pe)&&en(ce,Pe,pe[Pe]);if($a)for(var Pe of $a(pe))yr.call(pe,Pe)&&en(ce,Pe,pe[Pe]);return ce},ia=(ce,pe)=>Na(ce,ar(pe)),xa=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),It=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();(0,b.useEffect)(()=>{var gn;xn.setFieldsValue(ia(On({},ce),{name:ce==null?void 0:ce.question_title,choices:(gn=ce==null?void 0:ce.question_choices)==null?void 0:gn.map(In=>ia(On({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)}))},[ce]);const Ct=gn=>{if(!(gn!=null&&gn.length))return!1;const In=gn.map(Hn=>{var ba;return(ba=Hn.choice_text)==null?void 0:ba.trim().replace(/^\s+|\s+$/g,"")});return new Set(In).size!==In.length};return va.createElement("div",null,va.createElement(Be.default,{form:xn,colon:!1,onFinish:gn=>{var In,ra,Hn,ba,ta;if(Ct(gn.choices)){Ne.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let oa=(ra=(In=gn==null?void 0:gn.choices)==null?void 0:In.map)==null?void 0:ra.call(In,(Pn,ya)=>{if((Pn==null?void 0:Pn.standard_boolean)===1)return ya+1}),Ka=ia(On({},gn),{item_type:ce==null?void 0:ce.question_type,question_choices:(ba=(Hn=gn==null?void 0:gn.choices)==null?void 0:Hn.map)==null?void 0:ba.call(Hn,Pn=>Pn.choice_text),standard_answers:oa.filter(Pn=>Pn),choices:(ta=gn==null?void 0:gn.choices)==null?void 0:ta.map(Pn=>ia(On({},Pn),{is_answer:Pn.standard_boolean}))});tn(On(On({},ce),Ka))},onFinishFailed:gn=>xa(void 0,null,function*(){var In,ra;Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},va.createElement("div",{style:{display:"flex",alignItems:"center"}},va.createElement("div",{style:{flex:1}},va.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),va.createElement("span",null,(ce==null?void 0:ce.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&va.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},va.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),va.createElement(Ge.ZP,{onClick:()=>{var gn;ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(ia(On({},ce),{name:ce==null?void 0:ce.question_title,choices:(gn=ce==null?void 0:ce.question_choices)==null?void 0:gn.map(In=>ia(On({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),va.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:va.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},va.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},va.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>xa(void 0,null,function*(){xn.submit()})},"\u4FDD\u5B58"))),va.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},va.createElement(Te.Z,{align:"middle"},va.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},va.createElement(Ve.Z,{onBlur:gn=>{gn.target.value==="0"&&Ne.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1}))),va.createElement(Ft.u,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"question_title",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),va.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},_t=ee(95062),Vt=ee(20135),Wt=ee(59301),Rn=Object.defineProperty,wn=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Wn=(ce,pe,Pe)=>pe in ce?Rn(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,An=(ce,pe)=>{for(var Pe in pe||(pe={}))pt.call(pe,Pe)&&Wn(ce,Pe,pe[Pe]);if(Bt)for(var Pe of Bt(pe))Sn.call(pe,Pe)&&Wn(ce,Pe,pe[Pe]);return ce},ka=(ce,pe)=>wn(ce,vt(pe)),pa=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Ea=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm(),Ct=Be.default.useWatch("use_blank_score",xn);return(0,b.useEffect)(()=>{xn.setFieldsValue(ka(An({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer}))},[ce]),Wt.createElement("div",null,Wt.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(gn,In)=>{var ra,Hn,ba,ta;if(gn!=null&&gn.standard_answers||gn!=null&&gn.use_blank_score){let oa=((ra=xn.getFieldValue("standard_answers"))==null?void 0:ra.length)>0&&((ba=(Hn=xn.getFieldValue("standard_answers"))==null?void 0:Hn.map(Ka=>Ka.score))==null?void 0:ba.filter(Ka=>Ka));(oa==null?void 0:oa.length)>0&&xn.setFieldsValue({question_score:(oa==null?void 0:oa.length)>0&&((ta=oa.reduce((Ka,Pn)=>Ka+Pn))==null?void 0:ta.toFixed(1))})}},onFinish:gn=>{tn(ka(An(An({},ce),gn),{item_type:ce==null?void 0:ce.question_type,standard_answers:gn.standard_answers,question_title:gn.name}))},onFinishFailed:gn=>pa(void 0,null,function*(){var In,ra;gn.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,Nt.pE)(),Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},Wt.createElement("div",{style:{display:"flex",alignItems:"center"}},Wt.createElement("div",{style:{flex:1}},Wt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Wt.createElement("span",null,"\u586B\u7A7A\u9898")),((Yn=Pe==null?void 0:Pe.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Wt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Wt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Wt.createElement(Ge.ZP,{onClick:()=>{ce.isadd?(Ot(!1),zn()):(xn.setFieldsValue(ka(An({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer})),Ot(!1))}},"\u53D6\u6D88"),Wt.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Wt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Wt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Wt.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Wt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Wt.createElement(Te.Z,{align:"middle"},Ct?Wt.createElement(Vt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):Wt.createElement(Be.default.Item,{key:2,className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Wt.createElement(Ve.Z,{onBlur:gn=>{gn.target.value==="0"&&Ne.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle",max:100,min:.1})),Wt.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},Wt.createElement(et.ZP.Group,{className:mt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),Wt.createElement(ct.Z,{overlayInnerStyle:{width:460},title:Wt.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Wt.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Wt.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),Wt.createElement(_t.u,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ct,answerKey:"standard_answers"}),Wt.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:xn}))))},Pa=ee(42784),Dn=ee(59301),lr=Object.defineProperty,Nr=Object.defineProperties,Ur=Object.getOwnPropertyDescriptors,Sr=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Xt=(ce,pe,Pe)=>pe in ce?lr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Nn=(ce,pe)=>{for(var Pe in pe||(pe={}))Ue.call(pe,Pe)&&Xt(ce,Pe,pe[Pe]);if(Sr)for(var Pe of Sr(pe))bn.call(pe,Pe)&&Xt(ce,Pe,pe[Pe]);return ce},Kn=(ce,pe)=>Nr(ce,Ur(pe)),la=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Un=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Ct;xn.setFieldsValue(Kn(Nn({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(gn=>Kn(Nn({},gn),{is_answer:gn!=null&&gn.standard_boolean?1:0}))}))},[ce]),Dn.createElement("div",null,Dn.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{var gn,In,ra,Hn;let ba=(In=(gn=Ct==null?void 0:Ct.choices)==null?void 0:gn.map)==null?void 0:In.call(gn,(ta,oa)=>{if((ta==null?void 0:ta.is_answer)===1)return oa+1});tn(Kn(Nn(Nn({},ce),Ct),{question_title:Ct.name,standard_answers:ba.filter(ta=>ta),question_choices:(Hn=(ra=Ct==null?void 0:Ct.choices)==null?void 0:ra.map)==null?void 0:Hn.call(ra,ta=>ta.choice_text)}))},onFinishFailed:Ct=>la(void 0,null,function*(){var gn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(gn=Ct==null?void 0:Ct.errorFields)==null?void 0:gn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Dn.createElement("div",{style:{display:"flex",alignItems:"center"}},Dn.createElement("div",{style:{flex:1}},Dn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Dn.createElement("span",null,"\u5224\u65AD\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Dn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Dn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Dn.createElement(Ge.ZP,{onClick:()=>{var Ct;ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(Kn(Nn({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(gn=>Kn(Nn({},gn),{is_answer:gn!=null&&gn.standard_boolean?1:0}))})),pe(!1))}},"\u53D6\u6D88"),Dn.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Dn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Dn.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Dn.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Dn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Dn.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Dn.createElement(Ve.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ne.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),Dn.createElement(Pa.Z,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Dn.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},ur=ee(36381),da={wrap:"wrap___m6v_p",deleteIcon:"deleteIcon___hdYRw",keywordTag:"keywordTag___BLtdn",questionTitleEditorWrap:"questionTitleEditorWrap___fdaK7",choiceWrap:"choiceWrap___wkyUO",choiceIndex:"choiceIndex___tExMq",judgementIndex:"judgementIndex___RMhzJ",setAnswerBtn:"setAnswerBtn___bisIK",activeAnswer:"activeAnswer___MnyyC",activeJudgementAnswer:"activeJudgementAnswer___grGX5",actionWrapper:"actionWrapper___LUawU",addIcon:"addIcon___ckXqe",inputBorder:"inputBorder___nuo0O",placeholder:"placeholder___Dhdir",blankWrapper:"blankWrapper___cnidV",blankInput:"blankInput___iZ5BF",blankInputNumberWrapper:"blankInputNumberWrapper___zlXQc",addBtn:"addBtn___OdgAm",blankIndex:"blankIndex___g4Y7d",baseInputWrapper:"baseInputWrapper___DCOHd",collapseWrapper:"collapseWrapper___SyLrk",panelHeader:"panelHeader___E0il1",open:"open___IFH3V",close:"close___YpIA9",hide:"hide___Nl1W6",scoreByBlankRadio:"scoreByBlankRadio___jpG4i"},En=ee(4213),dr=Object.defineProperty,xr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Ir=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,Ua=(ce,pe,Pe)=>pe in ce?dr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,La=(ce,pe)=>{for(var Pe in pe||(pe={}))ha.call(pe,Pe)&&Ua(ce,Pe,pe[Pe]);if(Ir)for(var Pe of Ir(pe))za.call(pe,Pe)&&Ua(ce,Pe,pe[Pe]);return ce},Or=(ce,pe)=>xr(ce,Wr(pe)),no=(ce,pe)=>{var Pe={};for(var Ot in ce)ha.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ir)for(var Ot of Ir(ce))pe.indexOf(Ot)<0&&za.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Fr=ce=>{var pe=ce,{value:Pe,onChange:Ot,scrollId:tn}=pe,wa=no(pe,["value","onChange","scrollId"]);return b.createElement("div",{id:tn||""},b.createElement(En.Z,Or(La({},wa),{defaultValue:Pe,onChange:(ma,zn)=>{console.log("a:",ma,zn),zn!=null&&zn.length?Ot(ma,zn):Ot(ma)}})))},Er=({value:ce,onChange:pe,placeholder:Pe,height:Ot=140,isEdit:tn})=>tn?b.createElement(En.Z,{watch:!0,isFocus:!0,height:Ot,placeholder:Pe,defaultValue:ce,onChange:pe}):b.createElement("div",{style:{cursor:"pointer"}},ce?b.createElement(fe.Z,{className:da.inputBorder,value:ce}):b.createElement("div",{className:`${da.inputBorder} ${da.placeholder}`},Pe));var Pr=ee(43604),si=Object.defineProperty,ai=Object.defineProperties,xi=Object.getOwnPropertyDescriptors,ho=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,Mo=(ce,pe,Pe)=>pe in ce?si(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Ao=(ce,pe)=>{for(var Pe in pe||(pe={}))yo.call(pe,Pe)&&Mo(ce,Pe,pe[Pe]);if(ho)for(var Pe of ho(pe))Go.call(pe,Pe)&&Mo(ce,Pe,pe[Pe]);return ce},gr=(ce,pe)=>ai(ce,xi(pe)),eo=(ce,pe)=>{var Pe={};for(var Ot in ce)yo.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&ho)for(var Ot of ho(ce))pe.indexOf(Ot)<0&&Go.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Qo=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Yo=({value:ce,onChange:pe,choiceTextKey:Pe,answerKey:Ot,index:tn,isEdit:wa,setInputActive:ma,form:zn,choiceOptionsPath:jt,allowChangeMode:Yn,showAddIcon:xn,addItem:Ct,deleteItem:gn})=>{const In=(ce==null?void 0:ce[Ot])===1,ra=()=>{const ba=zn.getFieldValue(jt);zn.setFieldValue(jt,ba.map(ta=>gr(Ao({},ta),{[Ot]:0})))},Hn=()=>{In?pe(gr(Ao({},ce),{[Ot]:0})):(Yn||ra(),pe(gr(Ao({},ce),{[Ot]:1})))};return b.createElement(Te.Z,{className:da.choiceWrap,align:"middle",wrap:!1},b.createElement(Pr.Z,{onClick:Hn,className:`${da.choiceIndex} ${In?da.activeAnswer:""}`},Qo[tn]),b.createElement(Pr.Z,{flex:1,className:`${da.editorWrap} ml15`,onClick:ma},b.createElement(Er,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:wa,value:ce==null?void 0:ce[Pe],onChange:ba=>{pe(gr(Ao({},ce),{[Pe]:ba}))}})),b.createElement(Pr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Hn,className:`${da.setAnswerBtn} ${In?da.activeAnswer:""}`},In?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(Pr.Z,{className:da.actionWrapper},b.createElement(ct.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(re.Z,{className:da.addIcon,onClick:Ct,style:{visibility:xn?"visible":"hidden"}})),b.createElement(ct.Z,{title:"\u5220\u9664"},b.createElement(ue.Z,{className:da.deleteIcon,onClick:gn,style:{visibility:tn>1?"visible":"hidden"}}))))},Oo=({questionTitlePlaceholder:ce,titleKey:pe,choiceKey:Pe,analysisKey:Ot,choiceTextKey:tn,answerKey:wa,choiceOptionsPath:ma,allowChangeMode:zn=!0,form:jt,showAnalysis:Yn=!0})=>{const[xn,Ct]=(0,b.useState)(),[gn,In]=(0,b.useState)(!1);return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:pe,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Fr,{scrollId:Array.isArray(pe)?pe.join("_"):`${pe}`,watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(Be.default.List,{name:Pe,rules:[{validator(ra,Hn){const ba=Hn.some(oa=>oa[wa]===1),ta=Hn.findIndex(oa=>{var Ka;return((Ka=oa[tn])==null?void 0:Ka.length)<=0});return ta!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${Qo[ta]}\u9009\u9879\u7684\u5185\u5BB9`)):ba?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ra,{add:Hn,remove:ba})=>b.createElement("div",{id:Array.isArray(ma)?ma.join("_"):`${ma}`},ra.map((ta,oa)=>{var Ka=ta,{key:Pn,name:ya}=Ka,ja=eo(Ka,["key","name"]);const qr=xn===Pn,cr=()=>{Ct(Pn)},li=oa<7&&oa===ra.length-1,Za=()=>Hn({[tn]:"",[wa]:0}),Co=()=>ba(ya);return b.createElement(Be.default.Item,gr(Ao({},ja),{key:Pn,name:ya,noStyle:!0}),b.createElement(Yo,{choiceTextKey:tn,answerKey:wa,index:oa,isEdit:qr,setInputActive:cr,form:jt,choiceOptionsPath:ma,allowChangeMode:zn,showAddIcon:li,addItem:Za,deleteItem:Co}))}),ra.length<8&&b.createElement("div",{className:`${da.addBtn} mb30`,onClick:()=>Hn({[tn]:"",[wa]:0})},"\u6DFB\u52A0\u9009\u9879"))),Yn&&b.createElement("div",{onClick:()=>In(!0)},b.createElement(Be.default.Item,{name:Ot,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gn}))))};var br=ee(59301),ri=Object.defineProperty,Hr=Object.defineProperties,ko=Object.getOwnPropertyDescriptors,mo=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable,Ui=(ce,pe,Pe)=>pe in ce?ri(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,tl=(ce,pe)=>{for(var Pe in pe||(pe={}))di.call(pe,Pe)&&Ui(ce,Pe,pe[Pe]);if(mo)for(var Pe of mo(pe))vi.call(pe,Pe)&&Ui(ce,Pe,pe[Pe]);return ce},nl=(ce,pe)=>Hr(ce,ko(pe)),Vo=(ce,pe)=>{var Pe={};for(var Ot in ce)di.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&mo)for(var Ot of mo(ce))pe.indexOf(Ot)<0&&vi.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Fi=({value:ce,onChange:pe})=>{const Pe=tn=>{Ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:da.modal,onOk:()=>{const wa=[...ce];wa.splice(tn,1),pe(wa)}})},Ot=()=>{const tn=[...ce];tn.push(""),pe(tn)};return br.createElement(Te.Z,{className:"ml20"},br.createElement(Pr.Z,{flex:1},ce==null?void 0:ce.map((tn,wa)=>br.createElement(Te.Z,{key:`${tn}_${wa}`,align:"middle",className:"mb20"},br.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:tn,autoSize:{maxRows:3},maxLength:1e3,onBlur:ma=>{const zn=[...ce],jt=ma.target.value.trim();zn[wa]=jt,pe(zn)}}),br.createElement(ct.Z,{title:"\u5220\u9664"},br.createElement(ue.Z,{className:da.deleteIcon,style:{marginLeft:15,visibility:wa>0?"visible":"hidden"},onClick:()=>Pe(wa)}))))),br.createElement(Pr.Z,null,br.createElement("div",{className:`${da.addBtn}`,onClick:()=>{Ot()}},"\u65B0\u589E\u7B54\u6848")))},Wi=({value:ce=!0,onChange:pe})=>br.createElement(zt.Z,{checked:!ce,onChange:Pe=>{pe(!Pe)}}),dl="\u2581",gl=({questionTitlePlaceholder:ce,form:pe,name:Pe,scoreByBlank:Ot,answerKey:tn,titleKey:wa="name",analysisKey:ma="analysis",isOrdered:zn="is_ordered"})=>{var jt,Yn;const[xn,Ct]=(0,b.useState)(!1),gn=(Pn,ya)=>{const ja=ya.line;let qr=0;for(let li=0;li<ja;li++)qr+=Pn.getLine(li).split(dl).length-1;const cr=Pn.getLine(ja).substring(0,ya.ch);return qr+=cr.split(dl).length-1,qr},In=(Pn,ya,ja,qr)=>{const cr=Pn.getRange(ya.from,ya.to);let li=0;if(ya.text.forEach(Za=>{li+=Za.split(dl).length-1}),ya.origin!=="setValue"){if(cr&&cr.indexOf(dl)!==-1){const Za=cr.split(dl).length-1,Co=gn(Pn,ya.from);if(console.log(`\u5220\u9664${Za}\u4E2A\uFF0C \u524D\u9762\u6709${Co}\u4E2A\uFF0C\u65B0\u589E${li}\u4E2A`),Za>1){const Cr=Array.from({length:Za},(ao,Eo)=>Co+Eo);qr(Cr)}else qr(Co)}else if(li>0){const Za=gn(Pn,ya.from);console.log(`\u65B0\u589E${li}\u4E2A\uFF0C\u4E4B\u524D\u6709${Za}\u4E2A`),ja(li,Za)}}},ra=()=>{const Pn=pe.getFieldValue(["sub_item_banks",...tn]);pe.setFieldValue(["sub_item_banks",...tn],Pn==null?void 0:Pn.map((ya,ja)=>nl(tl({},ya),{position:ja+1})))},Hn=(0,b.useRef)(),ba=(Pn,ya)=>{for(let ja=0;ja<Pn;ja++)Hn.current({position:null,answer_text:[""]},ya+ja);ra()},ta=(0,b.useRef)(),oa=Pn=>{ta.current(Pn),ra()},Ka=(Yn=(jt=pe.getFieldValue("sub_item_banks"))==null?void 0:jt[tn==null?void 0:tn[0]])==null?void 0:Yn[tn==null?void 0:tn[1]];return console.log(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot])),br.createElement("div",{className:da.wrap},br.createElement("div",{className:da.questionTitleEditorWrap},br.createElement(Be.default.Item,{label:"\u9898\u5E72",name:wa,labelCol:{span:24},rules:[{required:!0}]},br.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce,showNullButton:!0,onCMBeforeChange:(Pn,ya)=>{In(Pn,ya,ba,oa)}}))),br.createElement(Be.default.List,{name:tn,rules:[{validator(Pn,ya){if((ya==null?void 0:ya.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const ja of ya){const{answer_text:qr}=ja||{};if(qr!=null&&qr.some(cr=>(cr==null?void 0:cr.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Pn,{add:ya,remove:ja},{errors:qr})=>(Hn.current=ya,ta.current=ja,br.createElement(br.Fragment,null,br.createElement(Be.default.Item,{label:br.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Pn!=null&&Pn.length)&&br.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Pn.map((cr,li)=>{var Za=cr,{key:Co,name:Cr}=Za,ao=Vo(Za,["key","name"]);return br.createElement(Te.Z,{className:"mb20",key:Co,align:"top"},br.createElement(Pr.Z,{flex:"0 0 auto",className:`${da.blankIndex} pt5`},"\u586B\u7A7A\u9879",li+1),br.createElement(Pr.Z,{flex:1},br.createElement(Te.Z,{align:"top",justify:"space-between"},br.createElement(Pr.Z,{flex:1},br.createElement(Be.default.Item,nl(tl({},ao),{name:[Cr,"answer_text"],noStyle:!0}),br.createElement(Fi,null))),(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot]))&&br.createElement(Pr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},br.createElement(Be.default.Item,nl(tl({},ao),{name:[Cr,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:da.blankInputNumberWrapper}),br.createElement(Ve.Z,{onChange:()=>{var Eo,hi;let mi=pe==null?void 0:pe.getFieldValue(["sub_item_banks",tn==null?void 0:tn[0],"standard_answers"]),pr=0;for(let po in mi)(Eo=mi[po])!=null&&Eo.score&&(pr+=Number((hi=mi[po])==null?void 0:hi.score));pe==null||pe.setFieldValue(["sub_item_banks",tn==null?void 0:tn[0],"question_score"],pr)},className:da.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),br.createElement(Be.default.Item,nl(tl({},ao),{name:[Cr,"position"],noStyle:!0}),br.createElement(ke.default,{type:"hidden"}))))})))),br.createElement(Te.Z,{align:"middle"},br.createElement(Be.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},br.createElement(zt.Z,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),br.createElement(Te.Z,{align:"middle"},br.createElement(Be.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},br.createElement(zt.Z,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ka==null?void 0:Ka.length)>1&&br.createElement(Te.Z,{align:"middle",className:(Ka==null?void 0:Ka.length)>1?"mb30":`${da.hide}`},br.createElement(Be.default.Item,{name:zn},br.createElement(Wi,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),br.createElement("div",{onClick:()=>Ct(!0)},br.createElement(Be.default.Item,{name:ma,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},br.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xn}))))};var Pl=Object.defineProperty,kr=Object.defineProperties,Qa=Object.getOwnPropertyDescriptors,Ga=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,we=(ce,pe,Pe)=>pe in ce?Pl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,fn=(ce,pe)=>{for(var Pe in pe||(pe={}))Ya.call(pe,Pe)&&we(ce,Pe,pe[Pe]);if(Ga)for(var Pe of Ga(pe))so.call(pe,Pe)&&we(ce,Pe,pe[Pe]);return ce},Mn=(ce,pe)=>kr(ce,Qa(pe)),Sa=(ce,pe)=>{var Pe={};for(var Ot in ce)Ya.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ga)for(var Ot of Ga(ce))pe.indexOf(Ot)<0&&so.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const on={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Ma=({value:ce,onChange:pe,form:Pe,choiceKey:Ot})=>{const tn=(ce==null?void 0:ce.is_answer)===1,wa=ce==null?void 0:ce.choice_text,ma=()=>{var zn;const jt=(zn=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...Ot]))==null?void 0:zn.map(Yn=>({choice_text:Yn.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...Ot],jt),pe(Mn(fn({},ce),{is_answer:1}))};return b.createElement(Te.Z,{className:da.choiceWrap,align:"middle",wrap:!1},b.createElement(Pr.Z,{onClick:ma,className:`${da.choiceIndex} ${da.judgementIndex} ${tn?da.activeAnswer:""}`},on[wa]),b.createElement(Pr.Z,{flex:1,className:`${da.editorWrap} ml15`},b.createElement("div",{className:`${da.inputBorder} ${da.placeholder} ${tn?da.activeJudgementAnswer:""}`},wa)),b.createElement(Pr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:ma,className:`${da.setAnswerBtn} ${tn?da.activeAnswer:""}`},tn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Fa=({questionTitlePlaceholder:ce,choiceKey:pe="choices",form:Pe,titleKey:Ot="name",analysisKey:tn="analysis"})=>{const[wa,ma]=(0,b.useState)(!1);return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Ot,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(Be.default.List,{name:pe,rules:[{validator(zn,jt){return jt.some(xn=>(xn==null?void 0:xn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},zn=>b.createElement("div",{id:"choices"},zn.map(jt=>{var Yn=jt,{key:xn,name:Ct}=Yn,gn=Sa(Yn,["key","name"]);return b.createElement(Be.default.Item,Mn(fn({},gn),{key:xn,name:Ct,noStyle:!0}),b.createElement(Ma,{form:Pe,choiceKey:pe}))})))),b.createElement("div",{onClick:()=>ma(!0)},b.createElement(Be.default.Item,{name:tn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:wa}))))};var jn=ee(12563),Xn=Object.defineProperty,sr=Object.defineProperties,Ha=Object.getOwnPropertyDescriptors,Ta=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,bo=(ce,pe,Pe)=>pe in ce?Xn(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,$o=(ce,pe)=>{for(var Pe in pe||(pe={}))Ja.call(pe,Pe)&&bo(ce,Pe,pe[Pe]);if(Ta)for(var Pe of Ta(pe))Rr.call(pe,Pe)&&bo(ce,Pe,pe[Pe]);return ce},Wo=(ce,pe)=>sr(ce,Ha(pe)),Ti=(ce,pe)=>{var Pe={};for(var Ot in ce)Ja.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ta)for(var Ot of Ta(ce))pe.indexOf(Ot)<0&&Rr.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Ji=ce=>{var pe=ce,{value:Pe,onChange:Ot}=pe,tn=Ti(pe,["value","onChange"]);const wa=ma=>{Ot([ma])};return b.createElement(En.Z,Wo($o({},tn),{defaultValue:Pe==null?void 0:Pe[0],onChange:wa}))},al=ce=>{if(!ce)return!1;let pe=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return ce==="|"?(Ne.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Zl=({value:ce=[],onClose:pe})=>b.createElement(jn.default,{closable:!0,onClose:pe,className:da.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ce.join(" \u6216 "))),Al=({questionTitlePlaceholder:ce,form:pe,showKeywords:Pe,isMustKeyWords:Ot=Pe,titleKey:tn="name",analysisKey:wa="analysis",answerTexts:ma="answer_texts",keywords:zn="keywords",useKeywords:jt="use_keywords",indexs:Yn})=>{var xn,Ct,gn,In;const[ra,Hn]=(0,b.useState)(!1),[ba,ta]=(0,b.useState)(""),oa=(Ct=(xn=pe.getFieldValue("sub_item_banks"))==null?void 0:xn[jt==null?void 0:jt[0]])==null?void 0:Ct[jt==null?void 0:jt[1]],Ka=(In=(gn=pe.getFieldValue("sub_item_banks"))==null?void 0:gn[jt==null?void 0:jt[0]])==null?void 0:In.question_score;return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:tn,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:ma,labelCol:{span:24}},b.createElement(Ji,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!Ot&&b.createElement(Be.default.Item,{hidden:!0,name:jt,valuePropName:"checked"},b.createElement(zt.Z,{defaultChecked:!0})),Pe&&Ot&&b.createElement(Te.Z,{align:"middle",className:"mb30"},b.createElement(Be.default.Item,{name:jt,valuePropName:"checked"},b.createElement(zt.Z,null)),b.createElement(Pr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(Pr.Z,null,b.createElement(ct.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(wt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(oa||!Ot)&&b.createElement(Be.default.List,{name:zn,rules:[{validator(Pn,ya){return Ot?ya!=null&&ya.length?(ya==null?void 0:ya.reduce((qr,cr)=>qr+cr.score,0))>parseFloat(Ka)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(Pn,{add:ya,remove:ja})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${da.title} mb10`},Ot?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(Te.Z,{align:"middle",className:"font14 mb30"},b.createElement(Pr.Z,{flex:1},b.createElement(ke.default,{value:ba,onChange:qr=>{ta(qr.target.value)},maxLength:50,allowClear:!0,onPressEnter:qr=>{var cr,li,Za,Co;const Cr=`${(cr=qr.target)==null?void 0:cr.value}`,ao=(Za=(li=Cr==null?void 0:Cr.split("|"))==null?void 0:li.filter(mi=>!!mi))==null?void 0:Za.map(mi=>mi==null?void 0:mi.trim()),Eo=pe.getFieldValue(["sub_item_banks",...zn]),hi=((Co=Eo==null?void 0:Eo.map(mi=>mi==null?void 0:mi.keyword))==null?void 0:Co.flat())||[];for(const mi of ao)if(hi.includes(mi)){Ne.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}al(Cr)&&(ya({keyword:ao,score:1}),ta(""))},className:da.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(Pr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Pn.map(qr=>{var cr=qr,{key:li,name:Za}=cr,Co=Ti(cr,["key","name"]);return b.createElement(Te.Z,{key:li,className:"mb20",style:{marginRight:148}},b.createElement(Pr.Z,{flex:1},b.createElement(Te.Z,{align:"middle",justify:"space-between"},b.createElement(Be.default.Item,Wo($o({},Co),{name:[Za,"keyword"]}),b.createElement(Zl,{onClose:()=>ja(Za)})),Ot&&b.createElement(Be.default.Item,Wo($o({},Co),{name:[Za,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:da.blankInputNumberWrapper}),b.createElement(Ve.Z,{className:da.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>Hn(!0)},b.createElement(Be.default.Item,{name:wa,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ra}))))};var So=ee(59301),yl=Object.defineProperty,eu=Object.defineProperties,Nl=Object.getOwnPropertyDescriptors,xl=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,su=(ce,pe,Pe)=>pe in ce?yl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,mu=(ce,pe)=>{for(var Pe in pe||(pe={}))tu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);if(xl)for(var Pe of xl(pe))Qu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);return ce},Yu=(ce,pe)=>eu(ce,Nl(pe)),El=(ce,pe)=>{var Pe={};for(var Ot in ce)tu.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&xl)for(var Ot of xl(ce))pe.indexOf(Ot)<0&&Qu.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const{Panel:Ru}=ur.default,Mu=({questionTitlePlaceholder:ce,choiceKey:pe,form:Pe,withScore:Ot})=>{const tn=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}],[wa,ma]=(0,b.useState)(),[zn,jt]=(0,b.useState)([]),Yn=Ct=>{jt(Ct)},xn=({value:Ct})=>So.createElement("div",{style:{width:150,paddingLeft:11}},Ct);return So.createElement("div",{className:da.wrap},So.createElement("div",{className:da.questionTitleEditorWrap},So.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},So.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),So.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),So.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Ct,gn){return gn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ct,{add:gn,remove:In,move:ra})=>{const Hn=Pe.getFieldValue("sub_item_banks");return So.createElement(So.Fragment,null,So.createElement(ur.default,{className:Ct.length>0?da.collapseWrapper:"",bordered:!1,activeKey:zn,onChange:Yn,expandIcon:({isActive:ba})=>So.createElement("i",{className:`iconfont icon-weizhankai ${ba?da.open:da.close}`,style:{fontSize:14,transition:"all .2s"}})},Ct.map((ba,ta)=>{var oa=ba,{key:Ka,name:Pn}=oa,ya=El(oa,["key","name"]),ja,qr,cr,li,Za,Co,Cr,ao,Eo,hi,mi,pr,po,Ki;return So.createElement(Ru,{className:da.panel,forceRender:!0,header:So.createElement("div",{className:da.panelHeader},"\u7B2C",ta+1,"\u5C0F\u9898",So.createElement("span",null,"\uFF08",((ja=Hn==null?void 0:Hn[Pn])==null?void 0:ja.question_type)==0?"\u5355\u9009\u9898":((qr=Hn==null?void 0:Hn[Pn])==null?void 0:qr.question_type)==1?"\u591A\u9009\u9898":((cr=Hn==null?void 0:Hn[Pn])==null?void 0:cr.question_type)==3?"\u586B\u7A7A\u9898":((li=Hn==null?void 0:Hn[Pn])==null?void 0:li.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Pn,extra:So.createElement(Te.Z,{align:"middle",onClick:Li=>Li.stopPropagation()},((Za=Hn==null?void 0:Hn[Pn])==null?void 0:Za.question_type)==3&&So.createElement(So.Fragment,null,So.createElement(et.ZP.Group,{defaultValue:(Co=Hn==null?void 0:Hn[Pn])==null?void 0:Co.use_blank_score,className:mt.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:Li=>{var ea,xo,Ri,Zo,Ci;if(Pe==null||Pe.setFieldValue(["sub_item_banks",Pn,"use_blank_score"],(ea=Li==null?void 0:Li.target)==null?void 0:ea.value),(xo=Li==null?void 0:Li.target)!=null&&xo.value){let Mi=0;for(let oi in(Ri=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Pn]))==null?void 0:Ri.standard_answers)Mi+=Number((Ci=(Zo=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Pn]))==null?void 0:Zo.standard_answers[oi])==null?void 0:Ci.score);Pe==null||Pe.setFieldValue(["sub_item_banks",Pn,"question_score"],Mi||"")}ma(new Date)}}),So.createElement(ct.Z,{overlayInnerStyle:{width:460},title:So.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",So.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},So.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),Ot&&So.createElement(Be.default.Item,Yu(mu({},ya),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Pn,"question_score"],className:da.blankInputNumberWrapper}),((Cr=Hn==null?void 0:Hn[Pn])==null?void 0:Cr.question_type)==3&&((ao=Hn==null?void 0:Hn[Pn])!=null&&ao.use_blank_score)?So.createElement(xn,null):So.createElement(Ve.Z,{className:da.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),So.createElement(Te.Z,{align:"middle",className:"pl40",style:{width:82}},ta!==0&&So.createElement("div",{onClick:()=>{var Li;ra(ta,ta-1);const ea=(Li=Pe.getFieldValue("sub_item_banks"))==null?void 0:Li.map((xo,Ri)=>(Ct.map((Zo,Ci)=>{Ri===Ci&&(xo.q_position=Number(Zo.name)+1)}),xo));Pe.setFieldValue("sub_item_banks",ea)}},So.createElement(ct.Z,{title:"\u4E0A\u79FB"},So.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),ta<Ct.length-1&&So.createElement("div",{onClick:()=>{var Li;ra(ta,ta+1);const ea=(Li=Pe.getFieldValue("sub_item_banks"))==null?void 0:Li.map((xo,Ri)=>(Ct.map((Zo,Ci)=>{Ri===Ci&&(xo.q_position=Number(Zo.name)+1)}),xo));Pe.setFieldValue("sub_item_banks",ea)},className:ta===0?"":"ml10"},So.createElement(ct.Z,{title:"\u4E0B\u79FB"},So.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),So.createElement(ct.Z,{title:"\u5220\u9664"},So.createElement(ue.Z,{className:`${da.deleteIcon} ml40`,onClick:()=>In(Pn)})))},So.createElement(Be.default.Item,Yu(mu({},ya),{name:Pn}),(((Eo=Hn==null?void 0:Hn[Pn])==null?void 0:Eo.question_type)==0||((hi=Hn==null?void 0:Hn[Pn])==null?void 0:hi.question_type)==1)&&So.createElement(Oo,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((mi=Hn==null?void 0:Hn[Pn])==null?void 0:mi.question_type)==1,form:Pe,choiceKey:[Pn,"choices"],titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],choiceOptionsPath:["sub_item_banks",Pn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((pr=Hn==null?void 0:Hn[Pn])==null?void 0:pr.question_type)==3&&So.createElement(gl,{form:Pe,name:Pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[Pn,"use_blank_score"],titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],isOrdered:[Pn,"is_ordered"],answerKey:[Pn,"standard_answers"],key:wa}),((po=Hn==null?void 0:Hn[Pn])==null?void 0:po.question_type)==2&&So.createElement(Fa,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],choiceKey:[Pn,"choices"]}),((Ki=Hn==null?void 0:Hn[Pn])==null?void 0:Ki.question_type)==4&&So.createElement(Al,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],answerTexts:[Pn,"answer_texts"],useKeywords:[Pn,"use_keywords"],keywords:[Pn,"keywords"],indexs:Pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Ct.length<20&&So.createElement(ze.Z,{menu:{items:[{label:So.createElement("div",{onClick:()=>{gn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(ba=>ba.show).map(ba=>({label:ba.label,key:ba.key}))}},So.createElement("div",{className:`${da.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var rl=ee(59301),ku=Object.defineProperty,nu=Object.defineProperties,Ju=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,_u=(ce,pe,Pe)=>pe in ce?ku(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,bl=(ce,pe)=>{for(var Pe in pe||(pe={}))Tu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);if(bu)for(var Pe of bu(pe))Xu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);return ce},ji=(ce,pe)=>nu(ce,Ju(pe)),Zu=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),au=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();(0,b.useEffect)(()=>{var gn;xn.setFieldsValue(ji(bl({},ce),{name:ce.question_title,sub_item_banks:(gn=ce.sub_exercise_questions)==null?void 0:gn.map(In=>{var ra;return ji(bl({},In),{name:In.question_title,choices:(ra=In==null?void 0:In.question_choices)==null?void 0:ra.map(Hn=>ji(bl({},Hn),{is_answer:Hn!=null&&Hn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer}))},[ce]);const Ct=gn=>{if(!(gn!=null&&gn.length))return!1;const In=gn.map(Hn=>{var ba;return(ba=Hn.choice_text)==null?void 0:ba.trim().replace(/^\s+|\s+$/g,"")});return new Set(In).size!==In.length};return rl.createElement("div",null,rl.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(gn,In)=>{var ra,Hn,ba,ta;if(gn!=null&&gn.sub_item_banks){let oa=((ra=xn.getFieldValue("sub_item_banks"))==null?void 0:ra.length)>0&&((ba=(Hn=xn.getFieldValue("sub_item_banks"))==null?void 0:Hn.map(Ka=>{var Pn;if(Ka.question_type==3&&(Ka!=null&&Ka.use_blank_score)){let ya=0;for(let ja in Ka==null?void 0:Ka.standard_answers)ya+=Number((Pn=Ka==null?void 0:Ka.standard_answers[ja])==null?void 0:Pn.score);return ya}else return Ka.question_score}))==null?void 0:ba.filter(Ka=>Ka));(oa==null?void 0:oa.length)>0&&xn.setFieldsValue({question_score:(ta=parseFloat(oa.reduce((Ka,Pn)=>parseFloat(Ka)+parseFloat(Pn))))==null?void 0:ta.toFixed(1)})}},onFinish:gn=>{var In,ra;if((In=gn.sub_item_banks)==null?void 0:In.some(ba=>ba.question_type===0||ba.question_type===1?Ct(ba.choices):!1)){Ne.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}tn(ji(bl(bl({},ce),gn),{question_title:gn.name,sub_questions:(ra=gn==null?void 0:gn.sub_item_banks)==null?void 0:ra.map(ba=>{var ta,oa,Ka,Pn;return(ba==null?void 0:ba.question_type)==3?ji(bl({},ba),{question_title:ba.name,item_type:ba==null?void 0:ba.question_type}):ji(bl({},ba),{question_title:ba.name,question_choices:(oa=(ta=ba==null?void 0:ba.choices)==null?void 0:ta.map)==null?void 0:oa.call(ta,ya=>ya.choice_text),standard_answers:(Pn=(Ka=ba==null?void 0:ba.choices)==null?void 0:Ka.map)==null?void 0:Pn.call(Ka,(ya,ja)=>(ya==null?void 0:ya.is_answer)===1&&ja+1).filter(ya=>ya),item_type:ba==null?void 0:ba.question_type})})}))},onFinishFailed:gn=>Zu(void 0,null,function*(){var In,ra;Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},rl.createElement("div",{style:{display:"flex",alignItems:"center"}},rl.createElement("div",{style:{flex:1}},rl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),rl.createElement("span",null,"\u7EC4\u5408\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&rl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},rl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),rl.createElement(Ge.ZP,{onClick:()=>{var gn;ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(ji(bl({},ce),{name:ce.question_title,sub_item_banks:(gn=ce.sub_exercise_questions)==null?void 0:gn.map(In=>{var ra;return ji(bl({},In),{name:In.question_title,choices:(ra=In==null?void 0:In.question_choices)==null?void 0:ra.map(Hn=>ji(bl({},Hn),{is_answer:Hn!=null&&Hn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer})),pe(!1))}},"\u53D6\u6D88"),rl.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:rl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},rl.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},rl.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),rl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},rl.createElement(Vt.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),rl.createElement(Mu,{form:xn,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),rl.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},Bi=ee(59301),Cu=Object.defineProperty,zu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,Fu=(ce,pe,Pe)=>pe in ce?Cu(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Fl=(ce,pe)=>{for(var Pe in pe||(pe={}))Hu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);if(Il)for(var Pe of Il(pe))xu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);return ce},zl=(ce,pe)=>zu(ce,rs(pe)),os=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),ju=({qitem:ce,setqitem:pe,setisedit:Pe,TagDiscipline:Ot,exerciseitem:tn,seveeditor:wa,deleteitem:ma,showTip:zn})=>{var jt,Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Ct,gn;xn.setFieldsValue(zl(Fl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(In=>zl(Fl({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(gn=ce==null?void 0:ce.shixun)==null?void 0:gn.map(In=>zl(Fl({},In),{defaultscore:In.challenge_score}))},[]),Bi.createElement("div",null,Bi.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{var gn,In;let ra=zl(Fl({},Ct),{question_scores:(gn=ce==null?void 0:ce.shixun)==null?void 0:gn.map(Hn=>Hn.challenge_score),item_type:ce==null?void 0:ce.question_type,choices:(In=Ct==null?void 0:Ct.choices)==null?void 0:In.map(Hn=>zl(Fl({},Hn),{is_answer:Hn.standard_boolean}))});wa(Fl(Fl({},ce),ra))},onFinishFailed:Ct=>os(void 0,null,function*(){var gn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(gn=Ct==null?void 0:Ct.errorFields)==null?void 0:gn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Bi.createElement("div",{style:{display:"flex",alignItems:"center"}},Bi.createElement("div",{style:{flex:1}},Bi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Bi.createElement("span",null,"\u5B9E\u8BAD\u9898")),((jt=tn==null?void 0:tn.exercise)==null?void 0:jt.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Bi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ma()}},Bi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Bi.createElement(Ge.ZP,{onClick:()=>{var Ct,gn;xn.setFieldsValue(zl(Fl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(In=>zl(Fl({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(gn=ce==null?void 0:ce.shixun)==null?void 0:gn.map(In=>zl(Fl({},In),{challenge_score:In.defaultscore})),pe(Fl({},ce)),Pe(!1)}},"\u53D6\u6D88"),Bi.createElement(ct.Z,{overlayClassName:mt.shake,open:zn,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Bi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Bi.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Bi.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>os(void 0,null,function*(){var Ct,gn,In;if(((gn=(Ct=ce==null?void 0:ce.shixun)==null?void 0:Ct.map)==null?void 0:gn.call(Ct,ra=>ra.challenge_score).filter(ra=>ra).length)<((In=ce==null?void 0:ce.shixun)==null?void 0:In.length)){Ne.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}xn.submit()})},"\u4FDD\u5B58"))),Bi.createElement(Vt.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Bi.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Bi.createElement(En.Z,{watch:!0,height:140,placeholder:"",defaultValue:ce.question_title}))),Bi.createElement(Te.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Bi.createElement("div",null,Bi.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Bi.createElement("a",{href:`/shixuns/${ce==null?void 0:ce.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Bi.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(Yn=ce==null?void 0:ce.shixun)==null?void 0:Yn.map((Ct,gn)=>Bi.createElement("div",{style:{display:"flex",marginBottom:20}},Bi.createElement("div",{style:{flex:1}},gn+1,"\u3001",Ct.challenge_name),Bi.createElement("div",null,Bi.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Bi.createElement(Ve.Z,{precision:1,value:Ct==null?void 0:Ct.challenge_score,onChange:In=>{const ra=JSON.parse(JSON.stringify((ce==null?void 0:ce.shixun)||[]));ra[gn].challenge_score=In;const Hn=ra.every(ta=>!ta.challenge_score),ba=parseFloat(ra==null?void 0:ra.map(ta=>ta.challenge_score).reduce((ta,oa)=>parseFloat(ta||0)+parseFloat(oa||0)));xn.setFieldsValue({question_score:Hn?"":ba.toFixed(1)}),pe(zl(Fl({},ce),{shixun:ra}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Ar={flex_box_center:"flex_box_center___Vhtb1",flex_space_between:"flex_space_between___k2ZrJ",flex_box_vertical_center:"flex_box_vertical_center___tn6Db",flex_box_center_end:"flex_box_center_end___k3eNX",flex_box_column:"flex_box_column___rsWbi",warp:"warp___UlRJc",indexTag:"indexTag___rjJ1u",normalWrap:"normalWrap___Qm4zY",redio:"redio___VW3yr",redioitem:"redioitem___jAPlJ",redioitemyes:"redioitemyes___VoiQ1",title:"title___Dt2dl",titleyes:"titleyes___Fjh3a",yestag:"yestag___CXrPv",checkbox:"checkbox___CgMU_",checkboxitem:"checkboxitem___PpJ9n",checkboxitemyes:"checkboxitemyes___pCfvZ",bottom:"bottom___BqrmJ",bottomitem:"bottomitem___Qk2rG",left:"left___l29lW",right:"right___nB1XE",completion:"completion___y1m7L",content:"content___AmQy4",items:"items___lIt8e",simple:"simple___zxJLH",shixunWrapper:"shixunWrapper___kAYdL",shixun:"shixun___UE6xS",score:"score___Px5Fq",qtitle:"qtitle___wG7Nn",program:"program___gzKdL",combination:"combination___R0ysn",qtype:"qtype___U0Suy",divname:"divname___guDo9"},Bu=ee(1710),Yl=ee(24302),Hl=ee(24334),qa=ee(59301);const du=["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"],es=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}];var wu=({qitem:ce,exercise:pe})=>{var Pe,Ot,tn,wa,ma,zn,jt,Yn,xn,Ct,gn,In,ra,Hn,ba,ta,oa,Ka,Pn,ya,ja,qr,cr,li;return qa.createElement("div",{className:Ar.warp},((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&qa.createElement("div",{className:Ar.normalWrap},(Pe=ce==null?void 0:ce.question_choices)==null?void 0:Pe.map((Za,Co)=>qa.createElement("div",{className:Ar.redio},!(Za!=null&&Za.standard_boolean)&&qa.createElement("span",{className:Ar.redioitem}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("i",{className:`${Ar.redioitemyes} icon-duigou1`}),qa.createElement("span",{className:`${Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},(ce==null?void 0:ce.question_type)===0?du[Co]:""),qa.createElement(fe.Z,{className:Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title,value:Za==null?void 0:Za.choice_text}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&qa.createElement("div",{className:Ar.normalWrap},(Ot=ce==null?void 0:ce.question_choices)==null?void 0:Ot.map((Za,Co)=>qa.createElement("div",{className:Ar.checkbox},!(Za!=null&&Za.standard_boolean)&&qa.createElement("span",{className:Ar.checkboxitem}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("i",{className:`${Ar.checkboxitemyes} icon-duigou1`}),qa.createElement("span",{className:`${Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Co]),qa.createElement(fe.Z,{className:Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title,value:Za==null?void 0:Za.choice_text}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&qa.createElement("div",{className:Ar.completion},(tn=ce==null?void 0:ce.standard_answers)==null?void 0:tn.map((Za,Co)=>{var Cr;return qa.createElement(Te.Z,{align:"top"},qa.createElement("span",{className:Ar.title},"\u586B\u7A7A\u9879",Co+1),qa.createElement("div",{className:Ar.content},(Cr=Za.answer_text)==null?void 0:Cr.map((ao,Eo)=>qa.createElement("div",{key:Eo,className:Ar.items,style:(Za==null?void 0:Za.model)===2?{border:0,padding:0}:{}},(Za==null?void 0:Za.model)===1?qa.createElement("pre",{className:"mb0"},ao):qa.createElement(Yl.Z,{value:ao,disabled:!0})))))})),(ce==null?void 0:ce.question_type)===4&&qa.createElement("div",{className:Ar.simple},qa.createElement("div",{className:Ar.title},"\u53C2\u8003\u7B54\u6848"),qa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(wa=ce==null?void 0:ce.answer_texts)!=null&&wa[0]?qa.createElement(fe.Z,{className:Ar.content,value:(ma=ce==null?void 0:ce.answer_texts)==null?void 0:ma[0]}):qa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),qa.createElement("div",{className:"mt20 "},qa.createElement("span",{className:Ar.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),qa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ce!=null&&ce.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(ce==null?void 0:ce.question_type)===5&&qa.createElement("div",{className:Ar.shixunWrapper},(zn=ce==null?void 0:ce.shixun)==null?void 0:zn.map((Za,Co)=>{var Cr,ao;return qa.createElement("div",null,qa.createElement("div",{key:Co,className:`${Ar.shixun} mb30`},qa.createElement("span",{className:Ar.score},"\uFF08",Za==null?void 0:Za.challenge_score,"\u5206\uFF09"),qa.createElement("span",{className:Ar.qtitle},(ce==null?void 0:ce.index)+"."+(Co+1),"\u3001",Za==null?void 0:Za.challenge_name)),((ao=(Cr=pe==null?void 0:pe.editData)==null?void 0:Cr.exercise)==null?void 0:ao.show_challenge_task_pass)&&qa.createElement(fe.Z,{className:Ar.content,value:(Za==null?void 0:Za.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ce==null?void 0:ce.question_type)===6&&qa.createElement("div",{className:Ar.program,style:{border:!((Yn=(jt=pe==null?void 0:pe.editData)==null?void 0:jt.exercise)!=null&&Yn.show_hack_sets)&&!((Ct=(xn=pe==null?void 0:pe.editData)==null?void 0:xn.exercise)!=null&&Ct.show_hack_description)&&"none"}},((In=(gn=pe==null?void 0:pe.editData)==null?void 0:gn.exercise)==null?void 0:In.show_hack_sets)&&qa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},qa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},qa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),qa.createElement(Bu.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Za,Co,Cr)=>Cr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Za,Co,Cr)=>qa.createElement(ct.Z,{title:qa.createElement("pre",null,Za)},qa.createElement("div",{className:Ar.divname},Za))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Za,Co,Cr)=>qa.createElement(ct.Z,{title:qa.createElement("pre",null,Za)}," ",qa.createElement("div",{className:Ar.divname},Za))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ce==null?void 0:ce.hack_sets})),((Hn=(ra=pe==null?void 0:pe.editData)==null?void 0:ra.exercise)==null?void 0:Hn.show_hack_description)&&qa.createElement("div",null,qa.createElement(fe.Z,{className:Ar.content,value:(ce==null?void 0:ce.description)||"- -"}))),(ce==null?void 0:ce.question_type)===7&&((ba=ce==null?void 0:ce.sub_exercise_questions)==null?void 0:ba.map((Za,Co)=>{var Cr,ao,Eo,hi,mi,pr;return qa.createElement("div",{key:Co},qa.createElement("div",{className:Ar.combination},qa.createElement("span",{className:Ar.score},Za==null?void 0:Za.question_score,"\u5206"),qa.createElement("span",{className:Ar.qtype},(Cr=es.find(po=>po.type==Za.question_type))==null?void 0:Cr.name),qa.createElement("span",{className:Ar.qtitle},Co+1,"\u3001",Za==null?void 0:Za.question_title)),(Za.question_type===0||Za.question_type===2)&&qa.createElement("div",{className:Ar.warp,style:{padding:"30px 58px",paddingBottom:0}},qa.createElement("div",null,(ao=Za==null?void 0:Za.question_choices)==null?void 0:ao.map((po,Ki)=>qa.createElement("div",{className:Ar.redio,key:Ki},!(po!=null&&po.standard_boolean)&&qa.createElement("span",{className:Ar.redioitem}),(po==null?void 0:po.standard_boolean)&&qa.createElement("i",{className:`${Ar.redioitemyes} icon-duigou1`}),Za.question_type===2&&qa.createElement("span",{className:`${po!=null&&po.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Ki]),qa.createElement(fe.Z,{className:po!=null&&po.standard_boolean?Ar.titleyes:Ar.title,value:po==null?void 0:po.choice_text}),(po==null?void 0:po.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848"))))),Za.question_type===1&&qa.createElement("div",{className:Ar.normalWrap},(Eo=Za==null?void 0:Za.question_choices)==null?void 0:Eo.map((po,Ki)=>qa.createElement("div",{className:Ar.checkbox,key:Ki},!(po!=null&&po.standard_boolean)&&qa.createElement("span",{className:Ar.checkboxitem}),(po==null?void 0:po.standard_boolean)&&qa.createElement("i",{className:`${Ar.checkboxitemyes} icon-duigou1`}),qa.createElement("span",{className:`${po!=null&&po.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Ki]),qa.createElement(fe.Z,{className:po!=null&&po.standard_boolean?Ar.titleyes:Ar.title,value:po==null?void 0:po.choice_text}),(po==null?void 0:po.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),Za.question_type===3&&qa.createElement("div",{className:Ar.completion},(hi=Za==null?void 0:Za.standard_answers)==null?void 0:hi.map((po,Ki)=>{var Li;return qa.createElement(Te.Z,{align:"top"},qa.createElement("span",{className:Ar.title},"\u586B\u7A7A\u9879",Ki+1),qa.createElement("div",{className:Ar.content},(Li=po.answer_text)==null?void 0:Li.map((ea,xo)=>qa.createElement("div",{key:xo,className:Ar.items},qa.createElement("pre",{className:"mb0"},ea)))))})),Za.question_type===4&&qa.createElement("div",{className:Ar.simple},qa.createElement("div",{className:Ar.title},"\u53C2\u8003\u7B54\u6848"),qa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(mi=Za==null?void 0:Za.answer_texts)!=null&&mi[0]?qa.createElement(fe.Z,{className:Ar.content,value:(pr=Za==null?void 0:Za.answer_texts)==null?void 0:pr[0]}):qa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),qa.createElement("div",{className:"mt20 "},qa.createElement("span",{className:Ar.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),qa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Za!=null&&Za.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ce==null?void 0:ce.question_type)===8&&qa.createElement("div",null,qa.createElement(fe.Z,{disabledFill:!0,className:Ar.content,showProgramFill:!0,value:Hl.Base64.decode(((ta=ce==null?void 0:ce.program_attr)==null?void 0:ta.code)||"")})),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&qa.createElement("div",{className:Ar.bottom},qa.createElement("div",{className:`${Ar.bottomitem} mb30`},qa.createElement("span",{className:Ar.left},"\u89E3\u6790"),qa.createElement("span",{className:Ar.right},ce!=null&&ce.analysis?qa.createElement(fe.Z,{value:ce==null?void 0:ce.analysis}):qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),qa.createElement("div",{className:`${Ar.bottomitem} mb30`},qa.createElement("span",{className:Ar.left},"\u96BE\u5EA6"),qa.createElement("span",{className:Ar.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),qa.createElement("div",{className:Ar.bottomitem},qa.createElement("span",{className:Ar.left},"\u77E5\u8BC6\u70B9"),qa.createElement(ct.Z,{title:((oa=ce==null?void 0:ce.tag_discipline_names)==null?void 0:oa.length)<=0||((Ka=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Ka.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(ya=(Pn=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Pn.join("\uFF1B"))==null?void 0:ya.toString()},qa.createElement("span",{className:Ar.right},((ja=ce==null?void 0:ce.tag_discipline_names)==null?void 0:ja.length)<=0?qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((qr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:qr.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(li=(cr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:cr.join("\uFF1B"))==null?void 0:li.toString())))))},ts=ee(55537),cu=ee(12796),Qi=ee(59301),ls=Object.defineProperty,us=Object.defineProperties,ss=Object.getOwnPropertyDescriptors,Gu=Object.getOwnPropertySymbols,Jl=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,ru=(ce,pe,Pe)=>pe in ce?ls(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,fu=(ce,pe)=>{for(var Pe in pe||(pe={}))Jl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);if(Gu)for(var Pe of Gu(pe))Xl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);return ce},Wu=(ce,pe)=>us(ce,ss(pe)),me=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),ye=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{xn.setFieldsValue(Wu(fu({},ce),{name:ce.question_title,answer_texts:ce.answer_texts,repeat_answer:!ce.repeat_answer}))},[ce]),Qi.createElement("div",null,Qi.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{tn(Wu(fu(fu({},ce),Ct),{answer_texts:Ct==null?void 0:Ct.answer_texts,question_title:Ct==null?void 0:Ct.name}))},onFinishFailed:Ct=>me(void 0,null,function*(){var gn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(gn=Ct==null?void 0:Ct.errorFields)==null?void 0:gn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Qi.createElement("div",{style:{display:"flex",alignItems:"center"}},Qi.createElement("div",{style:{flex:1}},Qi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Qi.createElement("span",null,"\u7B80\u7B54\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Qi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Qi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Qi.createElement(Ge.ZP,{onClick:()=>{ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(Wu(fu({},ce),{name:ce==null?void 0:ce.question_title,answer_texts:ce.answer_texts||[],repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),Qi.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Qi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Qi.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Qi.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Qi.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Qi.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Qi.createElement(Ve.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ne.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),Qi.createElement(cu.W,{form:xn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Qi.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},tt=ee(59301),it=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Kt=({setScoreShow:ce,ScoreShow:pe,exerciseitem:Pe,getdata:Ot})=>{var tn,wa,ma;const[zn,jt]=(0,b.useState)(!1);function Yn(){return it(this,null,function*(){var xn,Ct,gn;let In=(Ct=(xn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:xn.filter(Hn=>Hn.Singlequestion))==null?void 0:Ct.map(Hn=>({question_type:Hn.question_type,score:Hn.Singlequestion})),ra=yield(0,ne.ZP)(`/api/exercises/${(gn=Pe==null?void 0:Pe.exercise)==null?void 0:gn.id}/batch_set_score.json`,{method:"POST",body:{question_arr:In}});(ra==null?void 0:ra.status)===0&&Ot()})}return tt.createElement("div",null,pe&&tt.createElement(Ye.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:pe,width:640,centered:!0,zIndex:10,className:mt.scoremodal,onCancel:()=>{ce(!1)},onOk:()=>{var xn,Ct,gn;if(Pe!=null&&Pe.use_blank_score&&((gn=(Ct=(xn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:xn.filter(In=>In.name==="\u586B\u7A7A\u9898"))==null?void 0:Ct[0])!=null&&gn.Singlequestion)){jt(!0);return}Yn(),ce(!1)}},tt.createElement("div",{className:"c-black"},"\u603B\u5206",tt.createElement("span",{className:"ml10 c-light-primary"},(Pe==null?void 0:Pe.exercise_question_types.length)>0&&((tn=Pe==null?void 0:Pe.exercise_types)==null?void 0:tn.q_scores))),tt.createElement("div",{className:mt.content},tt.createElement("span",null,"\u9898\u578B\u540D\u79F0"),tt.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),tt.createElement("span",null,"\u9898\u578B\u603B\u5206"),tt.createElement("span",null,"\u64CD\u4F5C")),(ma=(wa=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:wa.filter(xn=>xn.name!=="\u5B9E\u8BAD\u9898"&&xn.name!=="\u7EC4\u5408\u9898"))==null?void 0:ma.map(xn=>{var Ct;return tt.createElement("div",{className:mt.items},tt.createElement("span",null,xn==null?void 0:xn.name),tt.createElement("span",null,(Ct=xn==null?void 0:xn.items)==null?void 0:Ct.length),tt.createElement("span",null,xn==null?void 0:xn.score),tt.createElement("span",null,"\u6BCF\u9898",tt.createElement(Ve.Z,{max:100,precision:1,min:.1,onChange:gn=>{xn.Singlequestion=gn},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),tt.createElement(Ye.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:zn,width:640,closable:!1,className:mt.scoremodal},tt.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",tt.createElement("span",{style:{color:"#FA6400"}},"\u6309\u7A7A\u7ED9\u5206"),"\u7684\u5C0F\u9898\uFF0C\u82E5\u6279\u91CF\u8BBE\u7F6E\u5206\u503C\u4F1A\u7EDF\u4E00\u5C06\u586B\u7A7A\u9898\u6539\u4E3A\u6309\u9898\u7ED9\u5206"),tt.createElement("div",{className:mt.bottom},tt.createElement(Ge.ZP,{className:mt.no,onClick:()=>{jt(!1)}},"\u53D6\u6D88"),tt.createElement(Ge.ZP,{className:mt.yes,onClick:()=>{Yn(),jt(!1),ce(!1)}},"\u786E\u8BA4"))))},Zn=ee(99313),Tn=ee(98228),aa=ee(58421),Ca={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},ga=ee(12353),mn={flex_box_center:"flex_box_center___zojHa",flex_space_between:"flex_space_between___wmLZ4",flex_box_vertical_center:"flex_box_vertical_center___DszWW",flex_box_center_end:"flex_box_center_end___mVCv5",flex_box_column:"flex_box_column___fbC9t",warp:"warp___isAcM",shixunbutton:"shixunbutton___h3Ybb",redio:"redio___xDffb",redioitem:"redioitem___FFPtq",redioitemyes:"redioitemyes___pF7ID",title:"title___mnPZc",titleyes:"titleyes___wrtWQ",yestag:"yestag___D4krY",qcount:"qcount___W5pwO",score:"score___eKQzl",qtitle:"qtitle___lb8MD",checkbox:"checkbox___QpUm4",checkboxitem:"checkboxitem___Wm2SH",checkboxitemyes:"checkboxitemyes___VVVTe",bottom:"bottom___Mn_Bw",bottomitem:"bottomitem___JTyHT",left:"left___nQqpo",right:"right___v58qy",completion:"completion___BnZSp",content:"content___MU8hZ",items:"items___a7i54",simple:"simple___GDw3K",shixun:"shixun___DGzTe",combination:"combination___AG9cr"};const Ba=["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 kn=({qitem:ce})=>{var pe,Pe,Ot,tn,wa,ma,zn,jt,Yn,xn;return b.createElement("div",{className:mn.warp},b.createElement("div",{className:mn.mainPart},b.createElement("div",{className:mn.qcount},(ce==null?void 0:ce.question_type)===8&&b.createElement(fe.Z,{className:mn.content,showProgramFill:!0,value:(pe=ce==null?void 0:ce.program_attr)==null?void 0:pe.description}),(ce==null?void 0:ce.question_type)!=8&&b.createElement(fe.Z,{className:mn.qtitle,value:(ce==null?void 0:ce.name)||(ce==null?void 0:ce.title)})),((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&b.createElement("div",null,(Pe=ce==null?void 0:ce.choices)==null?void 0:Pe.map((Ct,gn)=>b.createElement("div",{className:mn.redio},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:mn.redioitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${mn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Ct!=null&&Ct.is_answer?mn.titleyes:mn.title,value:Ba[gn]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&b.createElement("div",null,(Ot=ce==null?void 0:ce.choices)==null?void 0:Ot.map((Ct,gn)=>b.createElement("div",{className:mn.checkbox},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:mn.checkboxitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${mn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Ct!=null&&Ct.is_answer?mn.titleyes:mn.title,value:Ba[gn]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&b.createElement("div",{className:mn.completion},(tn=ce==null?void 0:ce.standard_answer)==null?void 0:tn.map((Ct,gn)=>{var In;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:mn.title},"\u586B\u7A7A\u9879",gn+1),b.createElement("div",{className:mn.content},(In=Ct==null?void 0:Ct.answer_text)==null?void 0:In.map((ra,Hn)=>b.createElement("div",{className:mn.items},ra))))})),(ce==null?void 0:ce.question_type)===4&&b.createElement("div",{className:mn.simple},b.createElement("div",{className:mn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(wa=ce==null?void 0:ce.answer_texts)!=null&&wa[0]?b.createElement(fe.Z,{className:mn.content,value:(ma=ce==null?void 0:ce.answer_texts)==null?void 0:ma[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ce==null?void 0:ce.question_type)===5&&((zn=ce==null?void 0:ce.challenge_names)==null?void 0:zn.map((Ct,gn)=>b.createElement("div",{className:mn.shixun},b.createElement("span",{className:mn.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Nt.EM)(gn+1),"\u9898"),Ct)))),(ce==null?void 0:ce.question_type)===6&&b.createElement("div",{className:mn.simple},b.createElement(fe.Z,{className:mn.content,value:((jt=ce==null?void 0:ce.program_attr)==null?void 0:jt.description)||"- -"})),(ce==null?void 0:ce.question_type)===7&&((Yn=ce==null?void 0:ce.sub_item_banks)==null?void 0:Yn.map((Ct,gn)=>{var In,ra,Hn,ba,ta;return b.createElement("div",null,b.createElement("div",{className:mn.combination},b.createElement("span",{className:mn.qtitle},Ct==null?void 0:Ct.name)),b.createElement("div",{className:mn.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((Ct==null?void 0:Ct.item_type)=="SINGLE"||(Ct==null?void 0:Ct.item_type)=="JUDGMENT")&&((In=Ct==null?void 0:Ct.choices)==null?void 0:In.map((oa,Ka)=>b.createElement("div",{className:mn.redio},!(oa!=null&&oa.is_answer)&&b.createElement("span",{className:mn.redioitem}),(oa==null?void 0:oa.is_answer)&&b.createElement("i",{className:`${mn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:oa!=null&&oa.is_answer?mn.titleyes:mn.title,value:Ba[Ka]+(oa==null?void 0:oa.choice_text)}),(oa==null?void 0:oa.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ct==null?void 0:Ct.item_type)=="MULTIPLE"&&((ra=Ct==null?void 0:Ct.choices)==null?void 0:ra.map((oa,Ka)=>b.createElement("div",{className:mn.checkbox},!(oa!=null&&oa.is_answer)&&b.createElement("span",{className:mn.checkboxitem}),(oa==null?void 0:oa.is_answer)&&b.createElement("i",{className:`${mn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:oa!=null&&oa.is_answer?mn.titleyes:mn.title,value:Ba[Ka]+(oa==null?void 0:oa.choice_text)}),(oa==null?void 0:oa.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ct==null?void 0:Ct.item_type)=="COMPLETION"&&b.createElement("div",{className:mn.completion},(Hn=Ct==null?void 0:Ct.standard_answer)==null?void 0:Hn.map((oa,Ka)=>{var Pn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:mn.title},"\u586B\u7A7A\u9879",Ka+1),b.createElement("div",{className:mn.content},(Pn=oa==null?void 0:oa.answer_text)==null?void 0:Pn.map((ya,ja)=>b.createElement("div",{className:mn.items},ya))))})),(Ct==null?void 0:Ct.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:mn.simple},b.createElement("div",{className:mn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ba=Ct==null?void 0:Ct.answer_texts)!=null&&ba[0]?b.createElement(fe.Z,{className:mn.content,value:(ta=Ct==null?void 0:Ct.answer_texts)==null?void 0:ta[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ce==null?void 0:ce.question_type)===8&&b.createElement("div",null,b.createElement(fe.Z,{disabledFill:!0,className:mn.content,showProgramFill:!0,value:Hl.Base64.decode(((xn=ce==null?void 0:ce.program_attr)==null?void 0:xn.code)||"")})),(ce==null?void 0:ce.question_type)===5&&b.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},b.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.study_count)||"0"))),b.createElement("a",{className:mn.shixunbutton,href:`/shixuns/${ce==null?void 0:ce.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&b.createElement("div",{className:mn.bottom},b.createElement("div",{className:mn.bottomitem},b.createElement("span",{className:mn.left},"\u89E3\u6790"),b.createElement("span",{className:mn.right},ce!=null&&ce.analysis?b.createElement(fe.Z,{value:ce==null?void 0:ce.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:mn.bottomitem},b.createElement("span",{className:mn.left},"\u96BE\u5EA6"),b.createElement("span",{className:mn.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:mn.bottomitem},b.createElement("span",{className:mn.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:mn.right},ce!=null&&ce.tag_discipline?ce==null?void 0:ce.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},sa=ee(94890),Oa=ee(79751),Br=ee(56636),vr=ee(50838),wr=ee(88387),jr=ee(67702),Lr=ee(84698),Gn=ee(59301),Ko=Object.defineProperty,fo=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,qo=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,zi=(ce,pe,Pe)=>pe in ce?Ko(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,oo=(ce,pe)=>{for(var Pe in pe||(pe={}))ii.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);if(qo)for(var Pe of qo(pe))pi.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);return ce},Lo=(ce,pe)=>fo(ce,zo(pe)),To=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const wi=({setScoreShow:ce,ScoreShow:pe,onOk:Pe,isshixuns:Ot,isloadings:tn,dispatch:wa,shixunsDetail:ma,exercise:zn})=>{var jt,Yn,xn;let[Ct,gn]=(0,b.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]}),[In,ra]=(0,b.useState)([]),[Hn,ba]=(0,b.useState)([]),[ta,oa]=(0,b.useState)([]),[Ka,Pn]=(0,b.useState)([]);const[ya,ja]=(0,b.useState)(!1),[qr]=Be.default.useForm(),[cr,li]=(0,b.useState)(),[Za,Co]=(0,b.useState)(!1);let[Cr,ao]=(0,b.useState)(Ot);const[Eo,hi]=(0,b.useState)([]),[mi,pr]=(0,b.useState)(!0),[po,Ki]=(0,b.useState)([]),[Li,ea]=(0,b.useState)(0),[xo,Ri]=(0,b.useState)([]),Zo=[{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}],[Ci,Mi]=(0,b.useState)({});(0,b.useEffect)(()=>{var ua,er,Ho,uo,Fo,Xo,Vi,Di,fl,el;(((Ho=(er=(ua=zn==null?void 0:zn.editData)==null?void 0:ua.exercise)==null?void 0:er.exist_item_bank_ids)==null?void 0:Ho.length)>0||((Xo=(Fo=(uo=zn==null?void 0:zn.editData)==null?void 0:uo.exercise)==null?void 0:Fo.exist_item_bank_shixun_ids)==null?void 0:Xo.length)>0)&&Ri([...(Di=(Vi=zn==null?void 0:zn.editData)==null?void 0:Vi.exercise)==null?void 0:Di.exist_item_bank_ids,...(el=(fl=zn==null?void 0:zn.editData)==null?void 0:fl.exercise)==null?void 0:el.exist_item_bank_shixun_ids])},[(Yn=(jt=zn==null?void 0:zn.editData)==null?void 0:jt.exercise)==null?void 0:Yn.exist_item_bank_ids]);const oi=(0,b.useRef)(new Set),il=(0,b.useRef)(new Set);let[ll,jl]=(0,b.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const Ii=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],cl=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Bl=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Gl,No]=(0,b.useState)(!1),Si=()=>{qr.resetFields(),Cr=!1,ao(!1),No(!1),qr.submit()};(0,b.useEffect)(()=>{Li>0&&setTimeout(()=>{ea(0)},2e3)},[Li]),(0,b.useEffect)(()=>{pe&&(qr.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),mi&&Cr&&(qr.setFieldsValue({item_type:"SHIXUN"}),Ct.item_type="SHIXUN",gn(oo({},Ct)),pr(!1)),$i(Ct),hl(),Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[pe]);function $i(ua){return To(this,null,function*(){var er,Ho,uo;if(ja(!0),gn(ua),(ta==null?void 0:ta.length)<=0&&ua.type==="5"){Pn([]),ja(!1);return}let Fo=ua.type==="5"?ta==null?void 0:ta.filter(Di=>!Eo.includes(Di)):null,Xo=ua.type==="5"?ta==null?void 0:ta.filter(Di=>Eo.includes(Di)):null;ua.group_id=((er=ua.group_id)==null?void 0:er.map(Di=>Di==null?void 0:Di.value))||null;let Vi=yield(0,ne.ZP)("/api/item_banks.json",{method:"get",params:Lo(oo({},ua),{discipline_id:((Ho=ua==null?void 0:ua.courseid)==null?void 0:Ho[0])||null,sub_discipline_id:((uo=ua==null?void 0:ua.courseid)==null?void 0:uo[1])||null,ids:Fo,shixun_ids:Xo,keyword:ua.keyword?encodeURIComponent(ua.keyword):ua.keyword,include_shixuns:!0,type:ua.type==="5"?null:ua.type,clazz:ua.type==="3"?"ItemBanksGroup":null})});Pn(Vi),ja(!1)})}function Zi(ua){return To(this,null,function*(){var er;let Ho=yield(0,ne.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:ua}),uo=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(er=Ho==null?void 0:Ho.data)==null?void 0:er.map(Fo=>({title:Fo.name,id:Fo.id,pid:Fo.id,value:Fo.id,key:Fo.id,isLeaf:!Fo.have_child}))}];Ki(uo)})}function hl(){return To(this,null,function*(){let ua=yield(0,ne.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Ct.type==="5"?null:Ct.type,clazz:"ItemBanksGroup"}});ra((0,ga.L)(ua==null?void 0:ua.disciplines))})}function ul(ua){return To(this,null,function*(){var er,Ho,uo,Fo;ja(!0);let Xo=(er=ua.list)==null?void 0:er.filter(fl=>!Eo.includes(fl)),Vi=(Ho=ua.list)==null?void 0:Ho.filter(fl=>Eo.includes(fl));if(Xo.length===0&&Vi.length===0){ja(!1),Pn([]);return}let Di=yield(0,ne.ZP)("/api/item_banks.json",{method:"get",params:Lo(oo({},ua),{discipline_id:((uo=ua==null?void 0:ua.courseid)==null?void 0:uo[0])||null,sub_discipline_id:((Fo=ua==null?void 0:ua.courseid)==null?void 0:Fo[1])||null,ids:Xo,shixun_ids:Vi,type:ua.type==="5"?null:ua.type,clazz:ua.type==="3"?"ItemBanksGroup":null})});ja(!1),Pn(Di)})}const sl=(0,de.useParams)(),[wl,Rl,ml,qi]=(0,Br.P)(),Wl=ua=>To(void 0,null,function*(){const er=yield wa({type:"shixunsDetail/release",payload:{id:ua}});let Ho=er==null?void 0:er.tag_position,uo=(er==null?void 0:er.evaluation_set_position)||[],Fo=er.status;return Fo===0?(Ne.ZP.success("\u53D1\u5E03\u6210\u529F"),$i(Ct),!0):(Fo===2?Ne.ZP.error(`\u7B2C${uo.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Fo===3?Ne.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Ho.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Ne.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),Jo=ua=>(ua==null?void 0:ua.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",vu=(ua,er,Ho)=>ua.map(uo=>uo.key===er?oo(oo({},uo),Ho):uo.children?Lo(oo({},uo),{children:vu(uo.children,er,Ho)}):uo),pu=ua=>To(void 0,null,function*(){const{key:er}=ua;let Ho=Ct.type;const uo=yield(0,wr.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(er),type:Ho}),{data:Fo,total_count:Xo}=uo||{};Xo>0&&Ki(Vi=>vu(Vi,er,{children:Fo.map(Di=>({title:Di.name,id:Di.id,pid:Di.id,value:Di.id,key:Di.id,isLeaf:!Di.have_child}))}))});function Kl(ua){console.log("----",Ct),ua==="1"&&(ll.gg=oo({},Ct)),ua==="2"&&(ll.scj=oo({},Ct)),ua==="3"&&(ll.ttgx=oo({},Ct)),ua==="0"&&(ll.wcjd=oo({},Ct)),ua==="5"&&(ll.yx=oo({},Ct)),jl(oo({},ll))}function gu(){Ct.type==="1"&&(Ct=ll.gg),Ct.type==="2"&&(Ct=ll.scj),Ct.type==="3"&&(Ct=ll.ttgx),Ct.type==="0"&&(Ct=ll.wcjd),Ct.type==="5"&&(Ct=ll.yx),(Ct==null?void 0:Ct.item_type)==="SHIXUN"?(Cr=!0,ao(!0)):(Cr=!1,ao(!1)),qr.setFieldsValue(oo({},Ct)),gn(oo({},Ct)),$i(oo({},Ct))}return Gn.createElement("div",null,Gn.createElement(Ye.default,{title:!1,footer:!1,open:pe,width:1200,centered:!0,className:Ca.scoremodal,onCancel:()=>{ce(!1)}},Gn.createElement("div",{style:{display:"flex",alignItems:"center"}},Gn.createElement("div",{className:Ca.title},"\u9898\u5E93\u9009\u9898")),Gn.createElement(Zn.default,{className:Ca.tabWrap,activeKey:Ct.type,onChange:ua=>{ua==="3"?(Ct.show_all_share=!0,Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Ct.show_all_share=null,ua==="0"&&Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Kl(Ct.type),Ct.type=ua,(Ct==null?void 0:Ct.item_type)==="SHIXUN"&&Ct.type!=="5"&&(Cr=!0,ao(!0)),No(!1),Ct.type==="5"&&(Cr=!1,ao(!1)),gu(),hl()},items:[{label:"\u516C\u5171",key:"1"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Gn.createElement("div",null,"\u5DF2\u9009",ta.length>0&&Gn.createElement("span",{className:Ca.titlecount},ta.length),Li>0&&Gn.createElement("span",{className:Ca.add},"+",Li)),key:"5"}]}),Gn.createElement(Be.default,{layout:"inline",form:qr,onValuesChange:(ua,er)=>{var Ho,uo;const Fo=Object.values(er).some(Vi=>Vi!==null&&Vi!==""&&Vi!==void 0),Xo=er.keyword==="";if(No(Fo||!Xo),Ct.page=1,Ct.keyword=(uo=(Ho=Ct.keyword)==null?void 0:Ho.replace)==null?void 0:uo.call(Ho,/^\s+|\s+$/g,""),(er==null?void 0:er.item_type)==="SHIXUN"){if(Ct.type==="5"?ao(!1):ao(!0),ua.keyword||ua.keyword==="")return;qr.submit()}else{if(ua!=null&&ua.courseid&&qr.setFieldsValue({tag_discipline_id:""}),ao(!1),ua.keyword||ua.keyword==="")return;qr.submit()}},onFinish:ua=>{var er;Ct.type==="3"&&(!ua.group_id||((er=ua==null?void 0:ua.group_id)==null?void 0:er.length)===0)?Ct.show_all_share=!0:Ct.show_all_share=null,gn(oo(oo({},Ct),ua)),$i(oo(oo({},Ct),ua))}},Gn.createElement(Be.default.Item,{name:"item_type"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},Zo.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)))),Gn.createElement(Be.default.Item,{name:"courseid"},Gn.createElement(le.Z,{className:Ca.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:In})),!Cr&&Gn.createElement(Be.default.Item,{name:"tag_discipline_id"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(xn=Ka==null?void 0:Ka.tag_disciplines)==null?void 0:xn.map(ua=>Gn.createElement(ve.default.Option,{key:ua.id},ua.name)))),Gn.createElement(Be.default.Item,{name:Cr?"diff":"difficulty"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Cr&&Ii.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)),Cr&&cl.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)))),Cr&&Gn.createElement(Be.default.Item,{name:"shixun_publish_status"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Bl.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)))),(Ct.type==="3"||Ct.type==="0")&&!Cr&&Gn.createElement(Be.default.Item,{name:"group_id"},Gn.createElement(Tn.default,{treeDataSimpleMode:!0,style:{width:118},className:Ca.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(ua,er)=>er.title.toUpperCase().indexOf(ua.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:pu,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:po})),Gl&&Gn.createElement("span",{className:Ca.allqingchu,onClick:Si},Gn.createElement("i",{className:"iconfont icon-guanbi4"}),Gn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Gn.createElement(Be.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Gn.createElement(ke.default.Search,{className:Ca.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Gn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Ca.searchIcon}`,onClick:()=>qr.submit()}),onSearch:ua=>{qr.submit()}}))),Gn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Gn.createElement("div",{onClick:()=>{Ct.updated_at==="asc"?Ct.updated_at="desc":Ct.updated_at="asc",gn(Lo(oo({},Ct),{page:1})),$i(Lo(oo({},Ct),{page:1}))}}," ",Ct.updated_at?Gn.createElement("img",{src:Ct.updated_at==="asc"?sa.Z:Oa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Gn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Gn.createElement("div",{onClick:()=>{Ct.quotes==="asc"?Ct.quotes="desc":Ct.quotes="asc",gn(Lo(oo({},Ct),{page:1})),$i(Lo(oo({},Ct),{page:1}))},style:{marginLeft:20}}," ",Ct.quotes?Gn.createElement("img",{src:Ct.quotes==="asc"?sa.Z:Oa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Gn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Gn.createElement(Bu.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ka==null?void 0:Ka.items)||(Ka==null?void 0:Ka.shixun_list),pagination:!1,loading:ya,rowKey:ua=>ua.id,rowSelection:{type:"checkbox",selectedRowKeys:[...Hn,...xo],getCheckboxProps:ua=>({disabled:ua.shixun_tag_num===1||(xo==null?void 0:xo.find(er=>ua.id===er))}),onSelect(ua,er,Ho){if(er)Cr&&hi([...Eo,ua.id]),ba([...Hn,ua.id]),ua.identifier?oi.current.add(ua.id):il.current.add(ua.id),ea(1),oa([...ta,ua.id]);else{ua.identifier?oi.current.delete(ua.id):il.current.delete(ua.id);let uo=ta.filter(Fo=>Fo!==ua.id);if(ba(uo),oa(uo),Cr){let Fo=Eo.filter(Xo=>Xo!==ua.id);hi([...Fo])}if(Ct.type==="5"){ul(Lo(oo({},Ct),{list:[...uo]}));return}}},onSelectAll(ua,er,Ho){if(ua){const uo=Ho.map(Fo=>Fo.id);Cr&&hi([...Eo,...uo]),ba([...Hn,...uo]),oa([...ta,...uo]);for(const Fo of Ho)Fo.identifier?oi.current.add(Fo.id):il.current.add(Fo.id)}else{const uo=Ho.map(Xo=>Xo.id),Fo=Hn.filter(Xo=>!uo.some(Vi=>Vi===Xo));if(ba([...Fo]),oa([...Fo]),Cr){let Xo=Eo.filter(Vi=>!uo.some(Di=>Di===Vi.id));hi([...Xo])}Ct.type==="5"&&ul(Lo(oo({},Ct),{list:[...Fo]}));for(const Xo of uo)Xo.identifier?oi.current.delete(Xo):il.current.delete(Xo)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(ua,er,Ho)=>{var uo,Fo;return Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,Cr||er!=null&&er.challenge_names?"\u5B9E\u8BAD\u9898":(Fo=(uo=Zo==null?void 0:Zo.filter(Xo=>Xo.value===ua))==null?void 0:uo[0])==null?void 0:Fo.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Cr?"30%":"60%",key:"name",render:(ua,er,Ho)=>{var uo;return Gn.createElement("div",{style:{display:"flex",alignItems:"center"}},Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("span",null,Gn.createElement(fe.Z,{key:1,showLines:1,showTextOnly:!0,value:Cr||er!=null&&er.challenge_names?er!=null&&er.title||ua===null?"--":ua:(er==null?void 0:er.item_type)=="BPROGRAM"?(uo=er==null?void 0:er.program_attr)==null?void 0:uo.description:ua}))),(er==null?void 0:er.high_resources_consume)&&Gn.createElement(vr.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Cr,render:(ua,er,Ho)=>{var uo;return Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("span",null,ua?(uo=ua==null?void 0:ua.split("\u3001"))==null?void 0:uo[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("span",null,ua||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(ua,er,Ho)=>{var uo,Fo,Xo,Vi;return Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,Cr||er!=null&&er.challenge_names?(er==null?void 0:er.level)||((Fo=(uo=Ii==null?void 0:Ii.filter(Di=>Di.value===ua))==null?void 0:uo[0])==null?void 0:Fo.name):(Vi=(Xo=Ii==null?void 0:Ii.filter(Di=>Di.value===ua))==null?void 0:Xo[0])==null?void 0:Vi.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,ua||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement("span",null,ua||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,Cr||er!=null&&er.challenge_names?(er==null?void 0:er.study_count)||(er==null?void 0:er.stu_num):ua))},{title:Gn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Gn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Gn.createElement(wt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,ua||"- -"))},{title:Gn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Gn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Gn.createElement(wt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement("span",null,ua||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",{style:{flex:1,textAlign:"start"}},Gn.createElement("a",{onClick:()=>{var uo,Fo;li(Lo(oo({},er),{question_type:Cr||er!=null&&er.challenge_names?5:(Fo=(uo=Zo==null?void 0:Zo.filter(Xo=>Xo.value===(er==null?void 0:er.item_type)))==null?void 0:uo[0])==null?void 0:Fo.question_type})),Co(!0)}},"\u67E5\u770B"),(er==null?void 0:er.shixun_tag_num)===1&&Gn.createElement("a",{style:{marginLeft:10},onClick:()=>{Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Gn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Gn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${er==null?void 0:er.identifier}/challenges`)}},(er==null?void 0:er.shixun_name)||"--"),"\uFF1F"),onOk:()=>To(void 0,null,function*(){if(!Wl(er==null?void 0:er.identifier))return new Promise((uo,Fo)=>{Fo()})})})}},"\u53D1\u5E03")))}].filter(ua=>!ua.hidden)}),Gn.createElement(aa.Z,{current:Ct.page,total:(Ka==null?void 0:Ka.items_count)||(Ka==null?void 0:Ka.shixuns_count),style:{marginBottom:20},defaultPageSize:Ct.per_page,showTotal:ua=>Gn.createElement("span",null,"\u5171\xA0",Gn.createElement("span",{style:{color:"#165DFF"}},ua),"\xA0\u6761\u6570\u636E"),pageSize:Ct.per_page,onChange:(ua,er)=>{Ct.page=ua,Ct.per_page=er,gn(oo({},Ct)),$i(oo({},Ct))}}),Gn.createElement("div",{className:Ca.bottom},Gn.createElement(Ge.ZP,{className:Ca.no,onClick:()=>{ce(!1)}},"\u53D6\u6D88"),Gn.createElement(Ge.ZP,{loading:tn,style:{width:tn&&75},className:Ca.yes,onClick:()=>To(void 0,null,function*(){if((ta==null?void 0:ta.length)<=0){Ne.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let ua=yield(0,Lr.Tr)({id:[...ta==null?void 0:ta.filter(er=>Eo.includes(er))],course_id:sl.coursesId,type:"shixun"});(ua==null?void 0:ua.student_count)===0?Pe([...il.current],[...ta==null?void 0:ta.filter(er=>Eo.includes(er))],!0,ta==null?void 0:ta.length):Mi(ua)})},"\u786E\u8BA4"))),Gn.createElement(Ye.default,{open:Za,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Ca.previewModal,width:1e3,centered:!0,onCancel:()=>{Co(!1)},onOk:()=>{Co(!1)}},Gn.createElement(kn,{qitem:cr})),Gn.createElement(jr.Z,{resdata:Ci,type:"exercise",okloading:tn,oktext:(Ci==null?void 0:Ci.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ua=>To(void 0,null,function*(){const er=[],Ho=[];for(const uo of Ci==null?void 0:Ci.can_copy_list)er.push(uo.id);Rl(),yield Pe([...il.current],[...oi.current].filter(uo=>!Ho.includes(uo)),!0,ta==null?void 0:ta.length,er)})}))};var Ni=(0,de.connect)(({shixunsDetail:ce,exercise:pe})=>({shixunsDetail:ce,exercise:pe}))(wi),fi=ee(44931),Ro=ee(59301),ol=Object.defineProperty,Xi=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Pt=(ce,pe,Pe)=>pe in ce?ol(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Et=(ce,pe)=>{for(var Pe in pe||(pe={}))Qe.call(pe,Pe)&&Pt(ce,Pe,pe[Pe]);if(Ce)for(var Pe of Ce(pe))rt.call(pe,Pe)&&Pt(ce,Pe,pe[Pe]);return ce},$t=(ce,pe)=>Xi(ce,Ee(pe)),Yt=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Cn=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm(),Ct=!0;return(0,b.useEffect)(()=>{var gn,In,ra;xn.setFieldsValue($t(Et({},ce),{standard_answers:ce.standard_answer,difficulty:(ce==null?void 0:ce.difficult)||2,item_banks_group_id:ce.item_banks_group_id,hack:$t(Et({},ce),{time_limit:(ce==null?void 0:ce.time_limit)||3}),hack_codes:{language:(gn=ce==null?void 0:ce.program_attr)==null?void 0:gn.language,code:Hl.Base64.decode(((In=ce==null?void 0:ce.program_attr)==null?void 0:In.code)||"")},hack_sets:Et({},(ra=ce==null?void 0:ce.hack_sets)==null?void 0:ra[0]),repeat_answer:!ce.repeat_answer}))},[ce]),Ro.createElement("div",null,Ro.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(gn,In)=>{var ra,Hn,ba,ta;if(gn!=null&&gn.standard_answers){let oa=((ra=xn.getFieldValue("standard_answers"))==null?void 0:ra.length)>0&&((ba=(Hn=xn.getFieldValue("standard_answers"))==null?void 0:Hn.map(Ka=>Ka.score))==null?void 0:ba.filter(Ka=>Ka));(oa==null?void 0:oa.length)>0&&xn.setFieldsValue({question_score:(oa==null?void 0:oa.length)>0&&((ta=oa.reduce((Ka,Pn)=>Ka+Pn))==null?void 0:ta.toFixed(1))})}},onFinish:gn=>{var In;tn($t(Et(Et({},ce),gn),{item_type:ce==null?void 0:ce.question_type,standard_answers:(In=gn.standard_answers)==null?void 0:In.map((ra,Hn)=>$t(Et({},ra),{position:Hn+1})),hack_codes:$t(Et({},gn.hack_codes),{code:Hl.Base64.encode(gn.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:gn=>Yt(void 0,null,function*(){var In,ra;Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},Ro.createElement("div",{style:{display:"flex",alignItems:"center"}},Ro.createElement("div",{style:{flex:1}},Ro.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ro.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((Yn=Pe==null?void 0:Pe.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Ro.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Ro.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Ro.createElement(Ge.ZP,{onClick:()=>{var gn,In,ra,Hn;ce.isadd?(Ot(!1),zn()):(xn.setFieldsValue($t(Et({},ce),{standard_answers:ce.standard_answer,difficulty:ce.difficult,item_banks_group_id:ce.item_banks_group_id,hack:$t(Et({},ce),{sub_discipline_id:(gn=Pe==null?void 0:Pe.exercise)==null?void 0:gn.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(In=ce==null?void 0:ce.program_attr)==null?void 0:In.language,code:Hl.Base64.decode((ra=ce==null?void 0:ce.program_attr)==null?void 0:ra.code)},hack_sets:Et({},(Hn=ce==null?void 0:ce.hack_sets)==null?void 0:Hn[0]),repeat_answer:!ce.repeat_answer})),Ot(!1))}},"\u53D6\u6D88"),Ro.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ro.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ro.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Ro.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Ro.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ro.createElement(Vt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Ro.createElement(fi.t,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ct,hackidentifier:ce==null?void 0:ce.hack_identifier,answerKey:"standard_answers"}),Ro.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:xn}))))},vn=ee(13952),pn=ee(61881),qn=ee(68606),na=ee(89392),ca=ee(92578),Aa=ee(32454),Ht=ee(59301),Xa=Object.defineProperty,_a=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,Tr=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Gr=(ce,pe,Pe)=>pe in ce?Xa(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,zr=(ce,pe)=>{for(var Pe in pe||(pe={}))$r.call(pe,Pe)&&Gr(ce,Pe,pe[Pe]);if(Tr)for(var Pe of Tr(pe))Dr.call(pe,Pe)&&Gr(ce,Pe,pe[Pe]);return ce},tr=(ce,pe)=>_a(ce,rr(pe)),nr=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const{confirm:fr}=Ye.default,Wa=[{name:"\u5355\u9009\u9898",id:0,count:"q_singles",score:"q_singles_scores",nameType:"SINGLE"},{name:"\u591A\u9009\u9898",id:1,count:"q_doubles",score:"q_doubles_scores",nameType:"MULTIPLE"},{name:"\u5224\u65AD\u9898",id:2,count:"q_judges",score:"q_judges_scores",nameType:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",id:3,count:"q_nulls",score:"q_nulls_scores",nameType:"COMPLETION"},{name:"\u7B80\u7B54\u9898",id:4,count:"q_mains",score:"q_mains_scores",nameType:"SUBJECTIVE"},{name:"\u5B9E\u8BAD\u9898",id:5,count:"q_shixuns",score:"q_shixuns_scores",nameType:"PRACTICAL"},{name:"\u7F16\u7A0B\u9898",id:6,count:"q_pros",score:"q_pros_scores",nameType:"PROGRAM"},{name:"\u7EC4\u5408\u9898",id:7,count:"q_combinations",score:"q_combinations_scores",nameType:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",id:8,count:"q_combinations",score:"q_combinations_scores",nameType:"BPROGRAM"}],or=({user:ce,dispatch:pe,itemid:Pe,setisedits:Ot,exercise:tn,setitemid:wa})=>{var ma,zn,jt,Yn,xn,Ct,gn,In,ra,Hn,ba,ta,oa,Ka,Pn,ya,ja,qr,cr,li,Za,Co,Cr,ao,Eo,hi,mi;const[pr,po]=(0,b.useState)(),[Ki,Li]=(0,b.useState)(!1),[ea,xo]=(0,b.useState)(),[Ri,Zo]=(0,b.useState)(),Ci=(0,b.useRef)(),Mi=(0,b.useRef)(),[oi,il]=(0,b.useState)(),[ll,jl]=(0,b.useState)(!1),[Ii,cl]=(0,b.useState)(!1),[Bl,Gl]=(0,b.useState)(),[No,Si]=(0,b.useState)(!1),[$i,Zi]=(0,b.useState)(!1),[hl,ul]=(0,b.useState)(!1),[sl,wl]=(0,b.useState)(!1),[Rl,ml]=(0,b.useState)(!1),[qi,Wl]=(0,b.useState)(!1),Jo=(0,de.useParams)(),[vu,pu]=(0,b.useState)(!1),[Kl]=Be.default.useForm(),[gu,ua]=(0,b.useState)(!1),[er,Ho]=(0,b.useState)(!1),[uo,Fo]=(0,b.useState)(!1),[Xo,Vi]=(0,b.useState)(!1),Di=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&el()},[Pe]),(0,b.useEffect)(()=>{Ot(Ii)},[Ii]),(0,b.useEffect)(()=>{ea!=null&&ea.question_id&&(Zo(ea==null?void 0:ea.question_score),Mi.current=ea==null?void 0:ea.question_id)},[ea]);const fl=Va=>nr(void 0,null,function*(){let io=yield pe({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:Va}});pe({type:"globalSetting/footerToggle",payload:!1}),Gl(io)});function el(){return nr(this,null,function*(){var Va,io,Uo,ci,ti,jo;jl(!0),Li(!0);const Oi=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});jl(!1),Li(!1),po(Oi),ml(!1),(Va=Oi==null?void 0:Oi.exercise)!=null&&Va.sub_discipline_id&&fl((io=Oi==null?void 0:Oi.exercise)==null?void 0:io.sub_discipline_id),xo(tr(zr({},(ti=(ci=(Uo=Oi==null?void 0:Oi.exercise_question_types)==null?void 0:Uo[0])==null?void 0:ci.items)==null?void 0:ti[0]),{index:1})),il(tr(zr({},(jo=Oi==null?void 0:Oi.exercise_question_types)==null?void 0:jo[0]),{indexs:1}))})}function Ml(Va,io=!0){return nr(this,null,function*(){var Uo,ci,ti,jo;io&&(jl(!0),Li(!0));const Oi=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});po(Oi);let Gi=[];(Uo=Oi==null?void 0:Oi.exercise_question_types)==null||Uo.map(Ol=>{var Ul;(Ul=Ol==null?void 0:Ol.items)==null||Ul.map((Eu,Du)=>{Gi.push(tr(zr({},Eu),{index:Du+1}))})});let Cl=(ci=Gi.filter(Ol=>Ol.question_id===(Va==null?void 0:Va.id)))==null?void 0:ci[0],Su=(jo=((ti=Oi==null?void 0:Oi.exercise_question_types)==null?void 0:ti.map((Ol,Ul)=>{if((Cl==null?void 0:Cl.question_type)===(Ol==null?void 0:Ol.question_type))return tr(zr({},Ol),{indexs:Ul+1})})).filter(Ol=>Ol))==null?void 0:jo[0];il(zr({},Su)),xo(zr({},Cl)),Zo(Cl==null?void 0:Cl.question_score),jl(!1),Li(!1),ml(!1)})}function ou(Va){return nr(this,null,function*(){var io;let Uo=tr(zr({},Va),{repeat_answer:!Va.repeat_answer,difficulty:(Va==null?void 0:Va.difficulty)||2,item_type:Va.question_type,sub_discipline_id:((io=Va==null?void 0:Va.sub_discipline_id)==null?void 0:io[1])||"",tag_discipline_ids:[],hack:tr(zr({},Va==null?void 0:Va.hack),{difficult:(Va==null?void 0:Va.difficulty)||2}),hack_identifier:sessionStorage.projectFill});Va.tag_discipline_ids&&(Uo.tag_discipline_ids=Array.isArray(Va.tag_discipline_ids)?Va.tag_discipline_ids:[Va.tag_discipline_ids]);let ci=Rl?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${Va==null?void 0:Va.question_id}.json`;if((Va==null?void 0:Va.is_my)===1){const ti=fr({title:"\u63D0\u793A",content:Ht.createElement("div",null,Ht.createElement("p",null,"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F"),Ht.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{ti.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>nr(this,null,function*(){Uo.is_cover=1;let jo=yield(0,ne.ZP)(ci,{method:Rl?"post":"PUT",body:zr({},Uo)});(jo==null?void 0:jo.status)===0&&(cl(!1),Ml({id:(jo==null?void 0:jo.exercise_question_id)||(Va==null?void 0:Va.question_id)})),ti.destroy()}),onCancel:()=>nr(this,null,function*(){let jo=yield(0,ne.ZP)(ci,{method:Rl?"post":"PUT",body:zr({},Uo)});(jo==null?void 0:jo.status)===0&&(cl(!1),Ml({id:(jo==null?void 0:jo.exercise_question_id)||(Va==null?void 0:Va.question_id)})),ti.destroy()})})}else{let ti=yield(0,ne.ZP)(ci,{method:Rl?"post":"PUT",body:zr({},Uo)});(ti==null?void 0:ti.status)===0&&(cl(!1),Ml({id:(ti==null?void 0:ti.exercise_question_id)||(Va==null?void 0:Va.question_id)}))}(0,Nt.Vf)("#question-scroll-id")})}function ei(Va){return nr(this,null,function*(){var io,Uo;Li(!0);let ci=yield(0,ne.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:Va}});if(Li(!1),(ci==null?void 0:ci.status)===0){const ti=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});po(ti),ml(!1),(io=ti==null?void 0:ti.exercise)!=null&&io.sub_discipline_id&&fl((Uo=ti==null?void 0:ti.exercise)==null?void 0:Uo.sub_discipline_id)}})}const Hi=(Va,io,Uo)=>nr(void 0,null,function*(){var ci;if(Va.length===0){Ne.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Uo();return}const ti={id:Jo==null?void 0:Jo.exerciseId,file:(ci=Va[0])==null?void 0:ci.file,sub_discipline_id:io};Vl(ti,`${vn.Z.API_SERVER}/api/courses/${Jo==null?void 0:Jo.coursesId}/exercises/import_exercise.json`,jo=>{var Oi;if((jo==null?void 0:jo.status)===0){const Gi={};(Oi=jo==null?void 0:jo.fail)==null||Oi.forEach($l=>{var Su;((Su=Object.keys(Gi))==null?void 0:Su.includes($l.message))?Gi[$l.message]=Gi[$l.message]+1:Gi[$l.message]=1});let Cl=`\u6210\u529F\u5BFC\u5165${jo==null?void 0:jo.success}\u6761`;Object.keys(Gi).forEach($l=>{Cl=Cl+`,${$l}${Gi[$l]}\u6761`}),Ne.ZP.success(Cl),Si(!1),el()}(jo==null?void 0:jo.status)===-1&&(Ne.ZP.error(jo==null?void 0:jo.message),Uo())})}),Dl=(Va,io)=>nr(void 0,null,function*(){const Uo=yield(0,qn.zR)({score:(0,na.round)(Va,1),question_id:io==null?void 0:io.question_id});if((Uo==null?void 0:Uo.status)===0){Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Ml({id:Mi.current},!1);return}(Uo==null?void 0:Uo.status)===-1&&Zo(io==null?void 0:io.question_score)}),Sl=()=>{Vi(!0)};(0,b.useEffect)(()=>{if(Xo){const Va=setTimeout(()=>{Vi(!1)},2e3);return()=>clearTimeout(Va)}},[Xo]);const Vl=(Va,io,Uo,ci,ti)=>{const jo=new FormData;Object.keys(Va).forEach(Gi=>{jo.append(Gi,Va[Gi])});const Oi=new window.XMLHttpRequest;return Oi.withCredentials=!0,Oi.addEventListener("load",function(Gi){var Cl;Uo(JSON.parse((Cl=Gi==null?void 0:Gi.target)==null?void 0:Cl.response))},!1),Oi.addEventListener("error",function(Gi){ti&&ti(Gi)},!1),Oi.upload.onprogress=Gi=>{ci&&ci(Gi)},Oi.open("POST",io),Oi.send(jo),Oi};function kl(){return nr(this,null,function*(){Ye.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:mt.modalconfirm,onOk:()=>nr(this,null,function*(){if(ea.question_id){let Va=yield(0,ne.ZP)(`/api/exercise_questions/${ea.question_id}.json`,{method:"delete"});(Va==null?void 0:Va.status)===0&&(el(),cl(!1))}else xo({}),cl(!1),el()}),cancelText:"\u53D6\u6D88"})})}const Ku=Va=>nr(void 0,null,function*(){return yield(0,ne.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:zr({},Va)})}),{overflow:Vu,handleMouseEnter:$u,handleMouseLeave:hu}=(0,pn.I)(),Es=(Va,io)=>Ht.createElement(Zt.default,null,Ht.createElement(Zt.default.Item,{key:"0",onClick:()=>vs(Va==null?void 0:Va.question_type)},Ht.createElement("span",{className:mt.moreSpan},"\u65B0\u589E")),Ht.createElement(Zt.default.Item,{key:"1",disabled:io===0,onClick:()=>nr(void 0,null,function*(){if(io===0)return;if(Ii){Sl();return}let Uo=(0,Nt.rz)(pr==null?void 0:pr.exercise_question_types,io,io-1);yield ei(Uo.map(ci=>ci.name))})},Ht.createElement("span",{className:mt.moreSpan},"\u4E0A\u79FB")),Ht.createElement(Zt.default.Item,{key:"2",disabled:io===(pr==null?void 0:pr.exercise_question_types.length)-1,onClick:()=>nr(void 0,null,function*(){if(io===(pr==null?void 0:pr.exercise_question_types.length)-1)return;if(Ii){Sl();return}let Uo=(0,Nt.rz)(pr==null?void 0:pr.exercise_question_types,io,io+1);yield ei(Uo.map(ci=>ci.name))})},Ht.createElement("span",{className:mt.moreSpan},"\u4E0B\u79FB")),Ht.createElement(Zt.default.Item,{key:"3",onClick:()=>{var Uo;Kl.setFieldsValue({name:Va.name,item_type_en:(Uo=Wa.find(ci=>ci.id==Va.question_type))==null?void 0:Uo.nameType}),ua(!0)}},Ht.createElement("span",{className:mt.moreSpan},"\u91CD\u547D\u540D"))),vs=Va=>{var io,Uo,ci,ti,jo,Oi,Gi,Cl,$l,Su,Ol,Ul,Eu,Du,ps,hs,Ei,Jr,Io,Pi,Yi,Pu,Ql,iu;if(Ii){Sl();return}if(ml(!0),Va===5){ul(!0),wl(!0);return}if(Va===6){let ql=(Uo=(io=tn==null?void 0:tn.editData)==null?void 0:io.exercise)!=null&&Uo.set_question_sub_discipline?`/problems/newcreate?express_id=${(ci=pr==null?void 0:pr.exercise)==null?void 0:ci.id}&callback_url=/classrooms/${Jo.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(jo=(ti=tn==null?void 0:tn.editData)==null?void 0:ti.exercise)==null?void 0:jo.discipline_id}&sub_discipline_id=${(Gi=(Oi=tn==null?void 0:tn.editData)==null?void 0:Oi.exercise)==null?void 0:Gi.sub_discipline_id}`:`/problems/newcreate?express_id=${(Cl=pr==null?void 0:pr.exercise)==null?void 0:Cl.id}&callback_url=/classrooms/${Jo.coursesId}/exercise/add/${Pe}?type=2`;de.history.push(ql);return}cl(!0),xo(Va===2?{question_type:Va,isadd:!0,repeat_answer:!0,choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],question_choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],difficulty:2,standard_answers:[],question_score:"",question_title:"",tag_discipline_ids:[],discipline_id:(Su=($l=tn==null?void 0:tn.editData)==null?void 0:$l.exercise)!=null&&Su.set_question_sub_discipline?(Ul=(Ol=tn==null?void 0:tn.editData)==null?void 0:Ol.exercise)==null?void 0:Ul.discipline_id:0,sub_discipline_id:(Du=(Eu=tn==null?void 0:tn.editData)==null?void 0:Eu.exercise)!=null&&Du.set_question_sub_discipline?(hs=(ps=tn==null?void 0:tn.editData)==null?void 0:ps.exercise)==null?void 0:hs.sub_discipline_id:0,analysis:""}:{question_type:Va,question_choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),standard_answers:[],repeat_answer:!0,difficulty:2,isadd:!0,tag_discipline_ids:[],question_score:"",analysis:"",sub_item_banks:[],is_ordered:!0,question_title:"",use_keywords:!1,keywords:[],use_blank_score:!0,allow_student_debug:!1,submit_rule:1,discipline_id:(Jr=(Ei=tn==null?void 0:tn.editData)==null?void 0:Ei.exercise)!=null&&Jr.set_question_sub_discipline?(Pi=(Io=tn==null?void 0:tn.editData)==null?void 0:Io.exercise)==null?void 0:Pi.discipline_id:0,sub_discipline_id:(Pu=(Yi=tn==null?void 0:tn.editData)==null?void 0:Yi.exercise)!=null&&Pu.set_question_sub_discipline?(iu=(Ql=tn==null?void 0:tn.editData)==null?void 0:Ql.exercise)==null?void 0:iu.sub_discipline_id:0,downcase:!0,no_space:!0})},ds=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{Si(!0)}},{key:2,label:Ht.createElement("div",null,Ht.createElement("img",{width:26,style:{position:"absolute",top:-2},src:Aa.$}),Ht.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{if(Ii){Sl();return}Ho(!0)}}];return console.log(oi==null?void 0:oi.question_type,ea==null?void 0:ea.question_type),Ht.createElement("div",null,Ht.createElement(Fn.Z,{spinning:ll},Ht.createElement("div",{className:mt.bg},((ma=pr==null?void 0:pr.exercise_types)==null?void 0:ma.q_counts)===0&&!Ii&&Ht.createElement(ut.Z,{styles:{marginTop:180},customText:Ht.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Ht.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((zn=pr==null?void 0:pr.exercise_types)==null?void 0:zn.q_counts)>0||Ii)&&Ht.createElement("div",{style:{textAlign:"center"}},Ht.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Ht.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Ht.createElement("div",{className:mt.left},Ht.createElement("div",{className:mt.leftAction},((jt=pr==null?void 0:pr.exercise)==null?void 0:jt.exercise_status)===1&&Ht.createElement(Ge.ZP,{onClick:()=>{if(Ii){Sl();return}Zi(!0)},className:mt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Ht.createElement("div",{className:mt.scrollWrapper,style:{overflow:Vu},onMouseEnter:$u,onMouseLeave:hu},(Yn=pr==null?void 0:pr.exercise_question_types)==null?void 0:Yn.map((Va,io)=>Ht.createElement("div",{key:io,className:"mb30"},Ht.createElement("div",{className:mt.title},Ht.createElement("div",{className:mt.titleleft},Ht.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,Nt.EM)(io+1),"\u3001\u3010",Va.name,"\u3011"),Ht.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Va.count,"\u5C0F\u9898\uFF0C\u5171",Va.score,"\u5206\uFF09")),Ht.createElement(ze.Z,{dropdownRender:()=>Es(Va,io),placement:"bottomLeft"},Ht.createElement("div",{className:mt.more_style},Ht.createElement("i",{className:"iconfont icon-sandian font12"})))),Ht.createElement(yn,{handleEditing:Sl,isedit:Ii,setBigqitem:il,bigitem:tr(zr({},Va),{indexs:io+1}),setqitem:Uo=>nr(void 0,null,function*(){var ci;(ci=Ci.current)==null||ci.blur(),xo(Uo)}),qitem:ea,Itemid:Pe,getdata:Ml,data:Va.items})))))),Ht.createElement("div",{id:"question-scroll-id",style:{overflow:Ii?"hidden":"auto"},className:mt.right},!(ea!=null&&ea.isadd)&&Ht.createElement("div",{className:mt.title},!Ii&&Ht.createElement("div",{style:{flex:1}},Ht.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(oi==null?void 0:oi.indexs)&&(0,Nt.EM)(oi==null?void 0:oi.indexs),"\u3001\u3010",oi==null?void 0:oi.name,"\u3011"),Ht.createElement(ct.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Ht.createElement("i",{className:`${mt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Va;Kl.setFieldsValue({name:oi.name,item_type_en:(Va=Wa.find(io=>io.id==oi.question_type))==null?void 0:Va.nameType}),ua(!0)}})),Ht.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",oi==null?void 0:oi.count,"\u5C0F\u9898\uFF0C\u5171",oi==null?void 0:oi.score,"\u5206\uFF09"),(ea==null?void 0:ea.question_type)===6&&Ht.createElement("span",{onClick:()=>{Ye.default.destroyAll(),Fo(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(ea==null?void 0:ea.question_type)===5&&Ht.createElement(st.default,{defaultChecked:(Ct=(xn=tn==null?void 0:tn.editData)==null?void 0:xn.exercise)==null?void 0:Ct.show_challenge_task_pass,onChange:Va=>nr(void 0,null,function*(){let io=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:Va.target.checked}});(io==null?void 0:io.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ml({id:Mi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(ea==null?void 0:ea.question_type)===6&&Ht.createElement("span",{style:{marginLeft:20},onClick:()=>{var Va,io,Uo,ci;Ye.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Ht.createElement("div",null,(ea==null?void 0:ea.question_type)===6&&Ht.createElement(st.default,{defaultChecked:(io=(Va=tn==null?void 0:tn.editData)==null?void 0:Va.exercise)==null?void 0:io.show_hack_sets,onChange:ti=>nr(void 0,null,function*(){let jo=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:ti.target.checked}});(jo==null?void 0:jo.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Ml({id:Mi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Ht.createElement("br",null),(ea==null?void 0:ea.question_type)===6&&Ht.createElement(st.default,{defaultChecked:(ci=(Uo=tn==null?void 0:tn.editData)==null?void 0:Uo.exercise)==null?void 0:ci.show_hack_description,onChange:ti=>nr(void 0,null,function*(){let jo=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:ti.target.checked}});(jo==null?void 0:jo.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Ml({id:Mi.current}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),Ht.createElement("div",{style:{display:"flex",alignItems:"center"}},(ea==null?void 0:ea.question_type)===5&&!Ii&&Ht.createElement("a",{className:mt.shixun,href:`/shixuns/${ea==null?void 0:ea.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Ht.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!Ii&&((gn=pr==null?void 0:pr.exercise)==null?void 0:gn.exercise_status)==1&&[0,1,2,4,6].includes(ea==null?void 0:ea.question_type)&&Ht.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Ht.createElement(Ve.Z,{precision:1,ref:Ci,onChange:Va=>Zo(Va),value:Ri,onBlur:Va=>{Dl(Va.target.value,ea)}})),!Ii&&((In=pr==null?void 0:pr.exercise)==null?void 0:In.exercise_status)==1&&Ht.createElement(ct.Z,{title:"\u5220\u9664"},Ht.createElement("i",{onClick:()=>{kl()},style:{marginRight:20},className:`${mt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(ea==null?void 0:ea.question_type)!==5&&!Ii&&Ht.createElement(Ht.Fragment,null,(ea==null?void 0:ea.is_my)==1&&Ht.createElement(ct.Z,{title:"\u67E5\u770B\u539F\u9898"},Ht.createElement("i",{className:`${mt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(ea==null?void 0:ea.question_type)==6?window.open(`/problems/newedit/${ea==null?void 0:ea.item_bank_hack_identifier}`):(ea==null?void 0:ea.question_type)==8?window.open(`/problemset/edit/${ea==null?void 0:ea.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${ea==null?void 0:ea.item_bank_id}`)}})),Ht.createElement(ct.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},Ht.createElement("i",{className:`${mt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{Di.current=[],Ye.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u6211\u7684\u9898\u5E93",maskClosable:!0,className:"custom-modal-divider",icon:null,content:Ht.createElement("div",{className:`font14 ${mt.overflow}`,style:{maxHeight:500,overflow:"auto"}},Ht.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),Ht.createElement(Fn.Z,{spinning:!1},Ht.createElement(ca.Z,{defaultValue:!0,value:Di.current,onChange:Va=>Di.current=Va}))),onOk:()=>nr(void 0,null,function*(){var Va;(0,qn.$l)({id:ea==null?void 0:ea.question_id,group_id:((Va=Di==null?void 0:Di.current)==null?void 0:Va[0])||""}).then(io=>{(io==null?void 0:io.status)==0&&(Ne.ZP.success("\u52A0\u5165\u6210\u529F"),el())})})})}}))),!Ii&&(((ra=pr==null?void 0:pr.exercise)==null?void 0:ra.exercise_status)==1||((Hn=pr==null?void 0:pr.exercise)==null?void 0:Hn.exercise_status)==2&&((ta=(ba=ce.userInfo)==null?void 0:ba.course)==null?void 0:ta.course_role)!=15||((oa=pr==null?void 0:pr.exercise)==null?void 0:oa.exercise_status)==3&&((Pn=(Ka=ce.userInfo)==null?void 0:Ka.course)==null?void 0:Pn.course_role)!=15||((ya=pr==null?void 0:pr.exercise)==null?void 0:ya.exercise_status)==4&&((qr=(ja=ce.userInfo)==null?void 0:ja.course)==null?void 0:qr.course_role)!=15)&&Ht.createElement(ct.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Ht.createElement("i",{onClick:()=>{(ea==null?void 0:ea.question_type)===6?de.history.push(`/problems/newedit/${ea==null?void 0:ea.hack_identifier}?type=exercises&express_id=${Jo.exerciseId}&question_id=${ea==null?void 0:ea.question_id}&score=${ea==null?void 0:ea.question_score}&exercise=true&callback_url=/classrooms/${Jo.coursesId}/exercise/add/${Pe}?type=2`):cl(!0)},className:`${mt.edit} iconfont icon-bianji_Hover ml8`})))),!Ii&&Ht.createElement("div",null,Ht.createElement("div",{className:mt.qcount},Ht.createElement("span",{className:mt.score},ea==null?void 0:ea.question_score,"\u5206"),Ht.createElement(fe.Z,{className:mt.qtitle,value:(ea==null?void 0:ea.index)+`\u3001${(ea==null?void 0:ea.question_type)==8?(cr=ea==null?void 0:ea.program_attr)==null?void 0:cr.description:ea==null?void 0:ea.question_title}`}),(ea==null?void 0:ea.high_resources_consume)&&Ht.createElement(vr.Z,{type:"shixun",style:{marginLeft:10}})),(ea==null?void 0:ea.question_type)===6&&Ht.createElement(at.Z,{onEdit:()=>Fo(1),className:"mt10",dataSource:(ea==null?void 0:ea.languages)||[]}),Ht.createElement(wu,{exercise:tn,TagDiscipline:Bl,qitem:ea})),Ii&&Ht.createElement("div",null,(ea==null?void 0:ea.question_type)<=1&&Ht.createElement(It,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===5&&Ht.createElement(ju,{setqitem:xo,deleteitem:kl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,showTip:Xo}),(ea==null?void 0:ea.question_type)===3&&Ht.createElement(Ea,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===2&&Ht.createElement(Un,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===4&&Ht.createElement(ye,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===7&&Ht.createElement(au,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===8&&Ht.createElement(Cn,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}))))))),Ht.createElement("div",{className:mt.bottomdiv},Ht.createElement("div",{className:mt.exercise_styles},((li=pr==null?void 0:pr.exercise)==null?void 0:li.exercise_status)==1&&Ht.createElement(Ht.Fragment,null,Ht.createElement("span",{className:mt.spanBtn,onClick:()=>{if(Ii){Sl();return}ul(!0),wl(!1)}},"\u9898\u5E93\u9009\u9898"),Ht.createElement(ze.Z,{menu:{items:ds}},Ht.createElement("span",{className:mt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Ht.createElement("span",{className:mt.spanBtn,onClick:()=>nr(void 0,null,function*(){var Va;let io=yield(0,ne.ZP)(`/api/exercises/${Jo==null?void 0:Jo.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:Jo==null?void 0:Jo.coursesId,categoryId:Jo==null?void 0:Jo.exerciseId}});(io==null?void 0:io.status)!=-1&&window.open(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Jo==null?void 0:Jo.exerciseId}/${(Va=ce.userInfo)==null?void 0:Va.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Ht.createElement("span",{className:mt.spanBtn,onClick:()=>{window.open(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Jo==null?void 0:Jo.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Wa==null?void 0:Wa.map(Va=>Ht.createElement(Ge.ZP,{className:mt.addQuestionBtn,key:Va.id,type:"primary",onClick:()=>{vs(Va.id)}},Va.name))),((Za=pr==null?void 0:pr.exercise)==null?void 0:Za.exercise_status)!=1&&Ht.createElement(Ht.Fragment,null,Ht.createElement("span",{style:{width:"1022px"}})),Ht.createElement("span",{className:mt.saveBtn,onClick:()=>{var Va,io,Uo;if(Ii){Sl();return}let ci=(io=(Va=pr==null?void 0:pr.exercise_question_types)==null?void 0:Va.filter(jo=>jo.question_type===5)[0])==null?void 0:io.items,ti=0;ci==null||ci.map(jo=>{jo.high_resources_consume&&(ti=ti+1)}),console.log(ti),ti>0?pe({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:ti,fn:()=>{var jo;((jo=pr==null?void 0:pr.exercise)==null?void 0:jo.exercise_status)==1?(Ne.ZP.success("\u4FDD\u5B58\u6210\u529F"),de.history.push(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)):de.history.back()}}}):((Uo=pr==null?void 0:pr.exercise)==null?void 0:Uo.exercise_status)==1?(Ne.ZP.success("\u4FDD\u5B58\u6210\u529F"),de.history.push(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)):de.history.back()}},Ht.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Ht.createElement(Kt,{setScoreShow:Zi,ScoreShow:$i,exerciseitem:pr,getdata:el}),hl&&Ht.createElement(Ni,{setScoreShow:ul,isshixuns:sl,isloadings:vu,ScoreShow:hl,onOk:(Va,io,Uo,ci,ti)=>nr(void 0,null,function*(){pu(!0);let Oi=yield Ku({exam_id:Pe,item_bank_ids:Va,shixun_ids:io,shixun_copy_ids:ti});pu(!1),(Oi==null?void 0:Oi.status)===0&&Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u65B0\u52FE\u9009\u7684\u8BD5\u9898\u5DF2\u7ECF\u6DFB\u52A0\u5230\u8BD5\u5377\uFF0C\u5982\u679C\u9700\u8981\u7EE7\u7EED\u6DFB\u52A0\u65B0\u8BD5\u9898\u8BF7\u70B9\u51FB\u201C\u7EE7\u7EED\u9009\u9898\u201D\uFF0C\u5C06\u56DE\u5230\u60A8\u4E0A\u6B21\u64CD\u4F5C\u7684\u9009\u9898\u9875\u9762",okText:"\u7EE7\u7EED\u9009\u9898",cancelText:"\u8FD4\u56DE\u8BD5\u5377",onOk:()=>{el()},onCancel:()=>{ul(!1),el()}})})}),Ht.createElement(ts.Z,{sub_discipline_id:(Co=pr==null?void 0:pr.exercise)!=null&&Co.sub_discipline_id?[(Cr=pr==null?void 0:pr.exercise)==null?void 0:Cr.discipline_id,(ao=pr==null?void 0:pr.exercise)==null?void 0:ao.sub_discipline_id]:[],visible:No,onCancel:()=>Si(!1),onOk:Hi}),Ht.createElement(Ye.default,{title:"\u63D0\u793A",open:qi,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:Ht.createElement("div",null,Ht.createElement(Ge.ZP,{onClick:()=>{Wl(!1),de.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),Ht.createElement(Ge.ZP,{type:"primary",onClick:()=>{de.history.push(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Wl(!1)}},Ht.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),Ht.createElement(Ye.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:gu,width:500,onOk:()=>Kl.submit(),onCancel:()=>ua(!1)},Ht.createElement(Be.default,{form:Kl,initialValues:{},onFinish:Va=>nr(void 0,null,function*(){(yield(0,qn.RK)(zr({id:Pe},Va))).status==0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),el(),ua(!1))})},Ht.createElement(Be.default.Item,{name:"name",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(Va,io){var Uo,ci,ti,jo;const Oi=(Uo=Wa==null?void 0:Wa.find(Gi=>Gi.nameType==Kl.getFieldValue("item_type_en")))==null?void 0:Uo.id;return(jo=(ti=(ci=pr==null?void 0:pr.exercise_question_types)==null?void 0:ci.filter(Gi=>Gi.question_type!=Oi))==null?void 0:ti.map(Gi=>Gi==null?void 0:Gi.name))!=null&&jo.includes(io)?Promise.reject(new Error("\u9898\u578B\u540D\u79F0\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u9898\u578B\u540D\u79F0")):Promise.resolve()}}]},Ht.createElement(ke.default,{size:"large",maxLength:10,showCount:!0})),Ht.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Ht.createElement(ke.default,{size:"large"})))),Ht.createElement(Lt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:er},Ht.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Ht.createElement(Aa.Z,{stickyTop:-24,subDisciplineId:(Eo=pr==null?void 0:pr.exercise)!=null&&Eo.sub_discipline_id?[(hi=pr==null?void 0:pr.exercise)==null?void 0:hi.discipline_id,(mi=pr==null?void 0:pr.exercise)==null?void 0:mi.sub_discipline_id]:[],onCancel:()=>Ho(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Ho(!1),el()}}),Ht.createElement("div",{style:{height:70}})),Ht.createElement(at.Q,{visible:!!uo,setVisible:Fo,tip:uo===2&&"\u8BBE\u7F6E\u5DF2\u6DFB\u52A0\u5728\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u6240\u5141\u8BB8\u4F7F\u7528\u7684\u7F16\u7A0B\u8BED\u8A00",dataSource:uo===1?ea==null?void 0:ea.languages:[],onOk:Va=>nr(void 0,null,function*(){const io={languages:Va};uo===1?io.hack_id=ea==null?void 0:ea.hack_id:io.exercise_id=Pe,(yield(0,ne.ZP)("/api/problems/update_languages.json",{method:"post",body:io})).status===0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Ml({id:Mi.current}),Fo(!1))})}))};var Kr=(0,de.connect)(({user:ce,exercise:pe,dispatch:Pe})=>({user:ce,exercise:pe,dispatch:Pe}))(or),Po=ee(99871),lo=ee(68381),Mr=ee(18034),vo=ee(87169),Bo=ee(32793),Ra=ee(59301),wo=Object.defineProperty,yi=Object.defineProperties,Do=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,gi=(ce,pe,Pe)=>pe in ce?wo(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,_o=(ce,pe)=>{for(var Pe in pe||(pe={}))bi.call(pe,Pe)&&gi(ce,Pe,pe[Pe]);if(Xr)for(var Pe of Xr(pe))Qr.call(pe,Pe)&&gi(ce,Pe,pe[Pe]);return ce},_i=(ce,pe)=>yi(ce,Do(pe)),to=(ce,pe)=>{var Pe={};for(var Ot in ce)bi.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Xr)for(var Ot of Xr(ce))pe.indexOf(Ot)<0&&Qr.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe},_r=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const Yr=ce=>{var pe=ce,{classroomList:Pe,globalSetting:Ot,problemset:tn,loading:wa,exercise:ma,user:zn,dispatch:jt}=pe,Yn=to(pe,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),xn,Ct,gn,In,ra,Hn,ba,ta,oa,Ka,Pn,ya,ja,qr;const cr=(0,de.useParams)(),[li,Za]=(0,b.useState)(!1),{userInfo:Co}=zn,[Cr]=Be.default.useForm();let[ao,Eo]=(0,b.useState)({});const[hi,mi]=(0,b.useState)(1),[pr,po]=(0,b.useState)(""),[Ki]=(0,de.useSearchParams)(),[Li,ea]=(0,b.useState)(!1),[xo,Ri]=(0,b.useState)(!1),[Zo,Ci]=(0,b.useState)(!1),[Mi,oi]=(0,b.useState)(""),[il,ll]=(0,b.useState)(!1),[jl,Ii]=(0,b.useState)(!1);(0,b.useEffect)(()=>{jt({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:cr==null?void 0:cr.coursesId}}),jt({type:"globalSetting/footerToggle",payload:!1}),Cr.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{cr.exerciseId&&_r(void 0,null,function*(){var No,Si,$i;const Zi=yield jt({type:"exercise/editExercise",payload:{categoryId:cr.exerciseId}});(Zi==null?void 0:Zi.status)!==-1&&(((No=Zi==null?void 0:Zi.exercise)==null?void 0:No.exercise_status)===2||((Si=Zi==null?void 0:Zi.exercise)==null?void 0:Si.exercise_status)===3||(($i=Zi==null?void 0:Zi.exercise)==null?void 0:$i.exercise_status)===4?Ci(!0):Ci(!1))})},[cr]),(0,b.useEffect)(()=>{if(cr.exerciseId){let No=ma.editData.exercise;Ii(No==null?void 0:No.set_question_sub_discipline),Cr.setFieldsValue(_i(_o({},No),{courseid:No!=null&&No.sub_discipline_id?[No==null?void 0:No.discipline_id,No==null?void 0:No.sub_discipline_id]:[]}))}},[ma]),(0,b.useEffect)(()=>{Ki.get("type")==="2"&&(po(cr.exerciseId),mi(2))},[Ki.get("type")]),(0,b.useEffect)(()=>{var No;let Si=(No=tn==null?void 0:tn.disciplinesData)==null?void 0:No.checked;Si!=null&&Si.sub_discipline_id&&Cr.setFieldsValue({courseid:[Si==null?void 0:Si.discipline_id,Si==null?void 0:Si.sub_discipline_id]})},[(xn=tn==null?void 0:tn.disciplinesData)==null?void 0:xn.checked]);function cl(No,Si){return _r(this,null,function*(){var $i,Zi,hl,ul;yield Cr.validateFields();const sl=Cr.getFieldsValue(),{courseid:wl}=sl,[Rl,ml]=wl;sl.sub_discipline_id=ml,sl.is_md=!0,sl.time=parseInt(sl.time)>9999?9999:sl.time;const qi=yield jt({type:"exercise/addExercise",payload:_o(_o({},sl),cr)});qi.status===0?(yield(0,ne.ZP)(`/api/courses/${cr==null?void 0:cr.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:cr==null?void 0:cr.coursesId,id:($i=qi==null?void 0:qi.data)==null?void 0:$i.exercise_id,time:No}}),Gl((Zi=qi.data)==null?void 0:Zi.exercise_id),po((hl=qi==null?void 0:qi.data)==null?void 0:hl.exercise_id),mi(2),ea(!1),de.history.replace(`/classrooms/${cr.coursesId}/exercise/add/${(ul=qi.data)==null?void 0:ul.exercise_id}?type=2`)):Ne.ZP.error(qi.message),Si()})}function Bl(No){Eo(_o({},No))}function Gl(No){return _r(this,null,function*(){if(!(ao!=null&&ao.ec_point_ids))return;const Si=_o({},ao);delete Si.id;let $i=yield(0,ne.ZP)(`/api/ec_courses/${ao==null?void 0:ao.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:_o({exercise_id:No},Si)})})}return Ra.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},Ra.createElement("section",{className:"edu-container"},Ra.createElement("section",{className:"animated fadeIn"},Ra.createElement("aside",{className:"mt10"},Co&&Ra.createElement(Ze.Z,{separator:">"},Ra.createElement(Ze.Z.Item,null,Ra.createElement(de.Link,{to:`/classrooms/${cr.coursesId}/exercise`},(Ct=Co==null?void 0:Co.course)==null?void 0:Ct.course_name)),Ra.createElement(Ze.Z.Item,null,Ra.createElement(de.Link,{to:`/classrooms/${cr.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),Ra.createElement(Ze.Z.Item,null,cr.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),cr.exerciseId&&Ra.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},Ra.createElement(vo.Z,{style:{marginRight:5,color:"#E99237"}}),Ra.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),Ra.createElement("span",{className:Je.addQuestionBtn,onClick:()=>{jt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[cr.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Ra.createElement(Mr.Z,{haveInit:!0,init:()=>{oi(new Date)}}),Ra.createElement("div",{className:"bg-white"},Ra.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},Ra.createElement("div",{onClick:()=>{if(xo){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}mi(1)},className:hi===1?Je.selectdiv:Je.divitem},Ra.createElement(Po.Z,{number:1,active:hi===1,className:"mr10"}),Ra.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),Ra.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),Ra.createElement("div",{onClick:()=>{if(!cr.exerciseId&&!pr){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}mi(2),!pr&&po(cr.exerciseId)},className:hi!==1?Je.selectdiv:Je.divitem},Ra.createElement(Po.Z,{number:2,active:hi!==1,className:"mr10"}),Ra.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),hi===2&&Ra.createElement("div",{className:"tc"},Ra.createElement(lo.Z,{defaultValue:(In=(gn=ma==null?void 0:ma.editData)==null?void 0:gn.exercise)==null?void 0:In.exercise_name,onFinish:No=>_r(void 0,null,function*(){var Si,$i,Zi,hl,ul,sl,wl,Rl,ml,qi,Wl,Jo;return No.trim()===(($i=(Si=ma==null?void 0:ma.editData)==null?void 0:Si.exercise)==null?void 0:$i.exercise_name)?!0:(yield(0,qn.wy)({exercise_name:No,exercise_description:(hl=(Zi=ma==null?void 0:ma.editData)==null?void 0:Zi.exercise)==null?void 0:hl.exercise_description,sub_discipline_id:(sl=(ul=ma==null?void 0:ma.editData)==null?void 0:ul.exercise)==null?void 0:sl.sub_discipline_id,time:(Rl=(wl=ma==null?void 0:ma.editData)==null?void 0:wl.exercise)==null?void 0:Rl.time,exerciseId:(qi=(ml=ma.editData)==null?void 0:ml.exercise)==null?void 0:qi.id,difficulty:(Jo=(Wl=ma.editData)==null?void 0:Wl.exercise)==null?void 0:Jo.difficulty})).status===0?(Cr.setFieldValue("exercise_name",No),!0):!1})}),Ra.createElement("div",{style:{fontSize:14}},Ra.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((Hn=(ra=ma==null?void 0:ma.editData)==null?void 0:ra.exercise)==null?void 0:Hn.time)||"\u4E0D\u9650")),Ra.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((ta=(ba=ma==null?void 0:ma.editData)==null?void 0:ba.exercise)==null?void 0:ta.difficulty)===1?"\u7B80\u5355":((Ka=(oa=ma==null?void 0:ma.editData)==null?void 0:oa.exercise)==null?void 0:Ka.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Ra.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((ya=(Pn=ma==null?void 0:ma.editData)==null?void 0:Pn.exercise_types)==null?void 0:ya.q_counts)||0)),Ra.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},(qr=(ja=ma==null?void 0:ma.editData)==null?void 0:ja.exercise_types)==null?void 0:qr.q_scores))))),hi===1&&Ra.createElement("div",null,Ra.createElement("section",{className:[Je.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Ra.createElement(Be.default,{form:Cr,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:No=>_r(void 0,null,function*(){var Si,$i,Zi,hl,ul;if(Za(!0),ea(!0),cr.exerciseId){No.exerciseId=($i=(Si=ma.editData)==null?void 0:Si.exercise)==null?void 0:$i.id,No.sub_discipline_id=No.courseid[No.courseid.length-1],yield(0,qn.wy)(_i(_o({},No),{set_question_sub_discipline:jl})),mi(2),Gl(cr==null?void 0:cr.exerciseId),po(cr.exerciseId),Za(!1),ea(!1);return}const sl=yield(0,ne.ZP)(`/api/courses/${cr==null?void 0:cr.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:cr==null?void 0:cr.coursesId}});if(sl!=null&&sl.alert)jt({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:wl}=No,[Rl,ml]=wl;No.sub_discipline_id=ml,No.is_md=!0,No.time=parseInt(No.time)>9999?9999:No.time,No.set_question_sub_discipline=jl;const qi=yield jt({type:"exercise/addExercise",payload:_i(_o(_o({},No),cr),{category_id:Ki.get("catalogue")||null})});qi.status===0&&(Gl((Zi=qi.data)==null?void 0:Zi.exercise_id),de.history.replace(`/classrooms/${cr.coursesId}/exercise/add/${(hl=qi.data)==null?void 0:hl.exercise_id}?type=2`),po((ul=qi==null?void 0:qi.data)==null?void 0:ul.exercise_id),mi(2)),ea(!1)}Za(!1)}),className:Je.formWrap},Ra.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Je.baseLineHeight,rules:[{required:!0,validator:(No,Si)=>{var $i;return(($i=Si==null?void 0:Si.replaceAll(" ",""))==null?void 0:$i.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},Ra.createElement(ke.default,{maxLength:60,className:Je.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),Ra.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Je.baseLineHeight},Ra.createElement(le.Z,{disabled:Zo,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:tn.courseOptions,className:Je.baseFormItem,size:"large",popupClassName:Je.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),Ra.createElement("div",{className:Je.concat},Ra.createElement("div",null,Ra.createElement(st.default,{checked:jl,onChange:No=>{Ii(No.target.checked)},style:{color:"#000"}},"\u8BBE\u7F6E\u8BE5\u65B9\u5411&\u8BFE\u7A0B\u4E3A\u8BD5\u9898\u6A21\u7248\uFF08\u521B\u5EFA\u65B0\u8BD5\u9898\u81EA\u52A8\u4F7F\u7528\u8BE5\u65B9\u5411&\u8BFE\u7A0B\uFF09")),Ra.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",Ra.createElement("a",{onClick:()=>ll(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),Ra.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Je.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},Ra.createElement(et.ZP.Group,{className:Je.radiogroup,disabled:Zo},Ra.createElement(et.ZP.Button,{className:Je.easy,value:1},"\u7B80\u5355"),Ra.createElement(et.ZP.Button,{className:Je.medium,value:2},"\u9002\u4E2D"),Ra.createElement(et.ZP.Button,{className:Je.hard,value:3},"\u56F0\u96BE"))),Ra.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Je.baseLineHeight},Ra.createElement("div",{style:{display:"flex",width:"100%"}},Ra.createElement(Be.default.Item,{name:"time",noStyle:!0},Ra.createElement(Ve.Z,{disabled:Zo,min:1,max:9999,className:Je.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),Ra.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),Ra.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},Ra.createElement(ke.default.TextArea,{disabled:Zo,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),Ra.createElement(Vn,{exercise_id:cr==null?void 0:cr.exerciseId,setitem:Bl})),Ra.createElement("div",{className:Je.bottmodiv},Ra.createElement(Ge.ZP,{className:`${Je.cancelBtn}`,type:"primary",onClick:()=>{de.history.back()}},"\u53D6\u6D88"),Ra.createElement(Ge.ZP,{loading:Li,onClick:()=>{Cr.validateFields(),Cr.submit()},type:"primary",className:`${Je.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),Ra.createElement(z,{setsubloading:ea,onModalOk:cl})),hi===2&&Ra.createElement("div",null,Ra.createElement(Kr,{key:Mi,setisedits:Ri,setitemid:po,itemid:pr}))),Ra.createElement(Bo.Z,{open:il,onCancel:()=>{ll(!1)}}))};var Zr=(0,de.connect)(({classroomList:ce,loading:pe,user:Pe,problemset:Ot,globalSetting:tn,exercise:wa})=>({classroomList:ce,globalSetting:tn,problemset:Ot,user:Pe,exercise:wa,loading:pe.effects}))(Yr)},55537:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return E}});var b=ee(59301),de=ee(8591),Be=ee(43418),Ne=ee(19842),Ze=ee(54580),ke=ee(3113),le=ee(13952),st=ee(89299),et=ee(52430),Ve=ee(44993),Ge={customModal:"customModal___bVzUV",content:"content___oKhZq",upload:"upload___nPxEL",infoText:"infoText___gZEJF",okBtn:"okBtn___CVo2A",fileList:"fileList___tauGN",fileName:"fileName___T_8JX",selectitems:"selectitems___imW2Y"},Je=ee(59301),Ye=(a,x,y)=>new Promise((z,ne)=>{var re=ve=>{try{ie(y.next(ve))}catch(be){ne(be)}},ue=ve=>{try{ie(y.throw(ve))}catch(be){ne(be)}},ie=ve=>ve.done?z(ve.value):Promise.resolve(ve.value).then(re,ue);ie((y=y.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:y,sub_discipline_id:z=[]})=>{const[ne,re]=(0,b.useState)([]),[ue,ie]=(0,b.useState)(!1),ve=(0,Ve.useParams)(),[be,je]=(0,b.useState)([]),[Ae,He]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?he():(He([]),re([]),ie(!1))},[a]);const he=()=>Ye(void 0,null,function*(){const lt=yield(0,et.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});je(lt.disciplines||[]),He((z==null?void 0:z.length)>0?z:[])}),qe=()=>{if((Ae==null?void 0:Ae.length)===0)return de.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ae),ie(!0),x(ne,Ae[1],()=>{ie(!1)})},Ke=()=>{y()},ht=()=>{const lt=`${le.Z.API_SERVER}/api/courses/${ve.coursesId}/exercises/down_template`;(0,st.Nd)(null,lt)},Le=lt=>{const gt={name:lt.name,uid:lt.uid,file:lt};return re([gt]),!1},ot=()=>{re([])};return Je.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:qe,centered:!0,wrapClassName:Ge.customModal,onCancel:Ke,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Ge.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ue},Je.createElement("div",{className:Ge.content},Je.createElement("aside",null,Je.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),Je.createElement("ul",null,Je.createElement("li",null,Je.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),Je.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:ht},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Je.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:ht,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Je.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Je.createElement("li",{className:Ge.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Je.createElement("li",{className:Ge.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Je.createElement("li",{className:Ge.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Je.createElement("li",{className:Ge.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),Je.createElement("aside",{style:{marginTop:22}},Je.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),Je.createElement("ul",{style:{flex:1}},Je.createElement("li",{style:{color:"#5F6367"}},"\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF0C\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165"),a&&Je.createElement(Je.Fragment,null,Je.createElement(Ne.Z,{value:Ae,className:Ge.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(lt,gt)=>{He(lt||[])}}),Je.createElement("br",null),Je.createElement(Ze.default,{action:`${le.Z.API_SERVER}/api/attachments.json`,beforeUpload:Le,onRemove:ot,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},Je.createElement(ke.ZP,{className:Ge.upload,type:"primary",icon:Je.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((lt,gt)=>Je.createElement("div",{key:gt,className:Ge.fileList},Je.createElement("span",{className:Ge.fileName},lt==null?void 0:lt.name),Je.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ot})))))))}},18034:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(43418),Be=ee(52430),Ne=ee(44993),Ze=ee(59301),ke=(st,et,Ve)=>new Promise((Ge,Je)=>{var Ye=a=>{try{E(Ve.next(a))}catch(x){Je(x)}},se=a=>{try{E(Ve.throw(a))}catch(x){Je(x)}},E=a=>a.done?Ge(a.value):Promise.resolve(a.value).then(Ye,se);E((Ve=Ve.apply(st,et)).next())});const le=({exercise:st,dispatch:et,init:Ve,haveInit:Ge=!1})=>{const Je=(0,Ne.useParams)(),[Ye,se]=(0,b.useState)(!1);let[E,a]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,ne]=(0,b.useState)(!1);(0,b.useEffect)(()=>{st.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&re()},[st.actionTabs]);function re(){return ke(this,null,function*(){var ue,ie;let ve=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});if(((ue=ve==null?void 0:ve.cover_exercises)==null?void 0:ue.length)>0)se(!0),a((ie=ve==null?void 0:ve.cover_exercises)==null?void 0:ie[0]);else{let be=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});et({type:"exercise/setActionTabs",payload:{key:""}}),(be==null?void 0:be.status)===0&&(Ge&&Ve(),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}})}return Ze.createElement("div",null,Ze.createElement(de.default,{open:Ye,centered:!0,onCancel:ue=>ke(void 0,null,function*(){if(ue.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs,update:1}});et({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(Ge&&Ve(),se(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}else se(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>ke(void 0,null,function*(){ne(!0);let ue=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});ne(!1),(ue==null?void 0:ue.status)===0&&(Ge&&Ve(),et({type:"exercise/setActionTabs",payload:{key:""}}),se(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},Ze.createElement("div",null,Ze.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Ze.createElement("div",null,Ze.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),Ze.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Ze.createElement("a",{href:`/paperlibrary/see/${E==null?void 0:E.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},E==null?void 0:E.examination_bank_name))))))};Gt.Z=(0,Ne.connect)(({exercise:st})=>({exercise:st}))(le)},7051:function(Qt,Gt,ee){"use strict";ee.d(Gt,{h:function(){return b}});var b=(de=>(de[de.NOMATCH=-1]="NOMATCH",de[de.OK=0]="OK",de[de.TIMEOUT=2]="TIMEOUT",de[de.PODFAILURE=3]="PODFAILURE",de[de.COMPILEFAILURE=4]="COMPILEFAILURE",de[de.EXECUTEFAILURE=5]="EXECUTEFAILURE",de[de.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",de))(b||{})},78837:function(Qt,Gt,ee){"use strict";ee.d(Gt,{H7:function(){return E},MK:function(){return se},MU:function(){return Ve},X6:function(){return Je},bM:function(){return et},fi:function(){return a},fu:function(){return st},n4:function(){return x},rX:function(){return Ye},vl:function(){return y},zO:function(){return Ge}});var b=ee(52430),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(z,ne,re)=>ne in z?de(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,le=(z,ne)=>{for(var re in ne||(ne={}))Ne.call(ne,re)&&ke(z,re,ne[re]);if(Be)for(var re of Be(ne))Ze.call(ne,re)&&ke(z,re,ne[re]);return z};function st(z,ne){return(0,b.U2)(`myproblems/${z}.json`,le({hidePopLogin:!0},ne||{}))}function et(z,ne){return(0,b.v_)(`myproblems/${z}/code_submit.json`,ne)}function Ve(z,ne){return(0,b.v_)(`myproblems/${z}/code_debug.json`,ne)}function Ge(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,ne)}function Je(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Ye(z,ne){return(0,b.U2)(`myproblems/${z}/result.json`,{mode:ne})}function se(z,ne){return(0,b.v_)(`myproblems/${z}/add_notes.json`,ne)}function E(z,ne){return(0,b.v_)(`myproblems/${z}/restore_initial_code.json`,ne)}function a(z){return(0,b.v_)(`myproblems/${z}/sync_code.json`)}function x(z,ne){return(0,b.v_)(`myproblems/${z}/update_code.json`,ne)}function y(z,ne){return(0,b.v_)(`discusses/${z}/plus.json`,ne)}},68381:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(6848),Be=ee(92832),Ne=ee(8591),Ze=ee(62775),ke=ee(59301),le=(et,Ve,Ge)=>new Promise((Je,Ye)=>{var se=x=>{try{a(Ge.next(x))}catch(y){Ye(y)}},E=x=>{try{a(Ge.throw(x))}catch(y){Ye(y)}},a=x=>x.done?Je(x.value):Promise.resolve(x.value).then(se,E);a((Ge=Ge.apply(et,Ve)).next())});const st=({defaultValue:et,onFinish:Ve})=>{const[Ge,Je]=(0,b.useState)(!1),[Ye,se]=(0,b.useState)(et);return(0,b.useEffect)(()=>{se(et)},[et]),ke.createElement("div",null,Ge?ke.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Ye,onChange:E=>{se(E.target.value)},onBlur:()=>le(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Ye))&&Je(!1)}),onPressEnter:()=>le(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Ye))&&Je(!1)})}):ke.createElement("div",{className:Ze.Z.title},Ye,ke.createElement(de.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},ke.createElement("i",{className:`${Ze.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Je(!0)}))))};Gt.Z=st},32793:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ve}});var b=ee(43418),de={ul:"ul___TdfYY"},Be=ee(32637),Ne=ee(59301),Ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,st=(Ge,Je)=>{var Ye={};for(var se in Ge)ke.call(Ge,se)&&Je.indexOf(se)<0&&(Ye[se]=Ge[se]);if(Ge!=null&&Ze)for(var se of Ze(Ge))Je.indexOf(se)<0&&le.call(Ge,se)&&(Ye[se]=Ge[se]);return Ye},Ve=Ge=>{var Je=Ge,{open:Ye,onCancel:se}=Je,E=st(Je,["open","onCancel"]);return Ne.createElement(b.default,{centered:!0,open:Ye,title:Ne.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:se,footer:null},Ne.createElement("div",null,Ne.createElement("div",{className:"tc"},Ne.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ne.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ne.createElement("ul",{className:de.ul},Ne.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Ne.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Ne.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},61881:function(Qt,Gt,ee){"use strict";ee.d(Gt,{I:function(){return de}});var b=ee(59301);const de=()=>{const[Be,Ne]=(0,b.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Ne("auto"),handleMouseLeave:()=>Ne("hidden")}}},50371:function(Qt,Gt){"use strict";function ee(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let de=1;de<arguments.length;de++){const Be=de<0||arguments.length<=de?void 0:arguments[de];Be&&Object.keys(Be).forEach(Ne=>{const Ze=Be[Ne];Ze!==void 0&&(b[Ne]=Ze)})}return b}Gt.Z=ee},77578:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return b}});const b=de=>de?typeof de=="function"?de():de:null},13845:function(Qt,Gt,ee){"use strict";ee.d(Gt,{F:function(){return b},Z:function(){return de}});function b(Be){return Be!=null&&Be===Be.window}function de(Be,Ne){var Ze,ke;if(typeof window=="undefined")return 0;const le=Ne?"scrollTop":"scrollLeft";let st=0;return b(Be)?st=Be[Ne?"pageYOffset":"pageXOffset"]:Be instanceof Document?st=Be.documentElement[le]:(Be instanceof HTMLElement||Be)&&(st=Be[le]),Be&&!b(Be)&&typeof st!="number"&&(st=(ke=((Ze=Be.ownerDocument)!==null&&Ze!==void 0?Ze:Be).documentElement)===null||ke===void 0?void 0:ke[le]),st}},56762:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return de}});var b=ee(59301);function de(){const[,Be]=b.useReducer(Ne=>Ne+1,0);return Be}},68031:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ne}});var b=ee(16089);function de(Ze,ke,le,st){const et=le-ke;return Ze/=st/2,Ze<1?et/2*Ze*Ze*Ze+ke:et/2*((Ze-=2)*Ze*Ze+2)+ke}var Be=ee(13845);function Ne(Ze){let ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:le=()=>window,callback:st,duration:et=450}=ke,Ve=le(),Ge=(0,Be.Z)(Ve,!0),Je=Date.now(),Ye=()=>{const E=Date.now()-Je,a=de(E>et?et:E,Ge,Ze,et);(0,Be.F)(Ve)?Ve.scrollTo(window.pageXOffset,a):Ve instanceof Document||Ve.constructor.name==="HTMLDocument"?Ve.documentElement.scrollTop=a:Ve.scrollTop=a,E<et?(0,b.Z)(Ye):typeof st=="function"&&st()};(0,b.Z)(Ye)}},66104:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ht}});var b=ee(92310),de=ee.n(b),Be=ee(11592),Ne=ee(26112),Ze=ee(59301),ke=ee(92343),le=ee(36355),st=ee(84105),et=ee(91857);const Ve=Le=>{let{children:ot}=Le;const{getPrefixCls:lt}=Ze.useContext(le.E_),gt=lt("breadcrumb");return Ze.createElement("li",{className:`${gt}-separator`,"aria-hidden":"true"},ot===""?ot:ot||"/")};Ve.__ANT_BREADCRUMB_SEPARATOR=!0;var Ge=Ve,Je=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft<gt.length;ft++)ot.indexOf(gt[ft])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[ft])&&(lt[gt[ft]]=Le[gt[ft]]);return lt};function Ye(Le,ot){if(Le.title===void 0||Le.title===null)return null;const lt=Object.keys(ot).join("|");return typeof Le.title=="object"?Le.title:String(Le.title).replace(new RegExp(`:(${lt})`,"g"),(gt,ft)=>ot[ft]||gt)}function se(Le,ot,lt,gt){if(lt==null)return null;const{className:ft,onClick:ln}=ot,xt=Je(ot,["className","onClick"]),an=Object.assign(Object.assign({},(0,Ne.Z)(xt,{data:!0,aria:!0})),{onClick:ln});return gt!==void 0?Ze.createElement("a",Object.assign({},an,{className:de()(`${Le}-link`,ft),href:gt}),lt):Ze.createElement("span",Object.assign({},an,{className:de()(`${Le}-link`,ft)}),lt)}function E(Le,ot){return(gt,ft,ln,xt,an)=>{if(ot)return ot(gt,ft,ln,xt);const hn=Ye(gt,ft);return se(Le,gt,hn,an)}}var a=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft<gt.length;ft++)ot.indexOf(gt[ft])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[ft])&&(lt[gt[ft]]=Le[gt[ft]]);return lt};const x=Le=>{const{prefixCls:ot,separator:lt="/",children:gt,menu:ft,overlay:ln,dropdownProps:xt,href:an}=Le,$e=(dt=>{if(ft||ln){const rn=Object.assign({},xt);if(ft){const Vn=ft||{},{items:Zt}=Vn,Fn=a(Vn,["items"]);rn.menu=Object.assign(Object.assign({},Fn),{items:Zt==null?void 0:Zt.map((ze,ct)=>{var{key:Lt,title:mt,label:Nt,path:ut}=ze,at=a(ze,["key","title","label","path"]);let De=Nt!=null?Nt:mt;return ut&&(De=Ze.createElement("a",{href:`${an}${ut}`},De)),Object.assign(Object.assign({},at),{key:Lt!=null?Lt:ct,label:De})})})}else ln&&(rn.overlay=ln);return Ze.createElement(et.Z,Object.assign({placement:"bottom"},rn),Ze.createElement("span",{className:`${ot}-overlay-link`},dt,Ze.createElement(st.Z,null)))}return dt})(gt);return $e!=null?Ze.createElement(Ze.Fragment,null,Ze.createElement("li",null,$e),lt&&Ze.createElement(Ge,null,lt)):null},y=Le=>{const{prefixCls:ot,children:lt,href:gt}=Le,ft=a(Le,["prefixCls","children","href"]),{getPrefixCls:ln}=Ze.useContext(le.E_),xt=ln("breadcrumb",ot);return Ze.createElement(x,Object.assign({},ft,{prefixCls:xt}),se(xt,ft,lt,gt))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,ne=ee(17313),re=ee(83116),ue=ee(37613);const ie=Le=>{const{componentCls:ot,iconCls:lt}=Le;return{[ot]:Object.assign(Object.assign({},(0,ne.Wf)(Le)),{color:Le.itemColor,fontSize:Le.fontSize,[lt]:{fontSize:Le.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Le.linkColor,transition:`color ${Le.motionDurationMid}`,padding:`0 ${Le.paddingXXS}px`,borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",marginInline:-Le.marginXXS,"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover}},(0,ne.Qy)(Le)),"li:last-child":{color:Le.lastItemColor},[`${ot}-separator`]:{marginInline:Le.separatorMargin,color:Le.separatorColor},[`${ot}-link`]:{[`
> ${lt} + span,
> ${lt} + a
`]:{marginInlineStart:Le.marginXXS}},[`${ot}-overlay-link`]:{borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",padding:`0 ${Le.paddingXXS}px`,marginInline:-Le.marginXXS,[`> ${lt}`]:{marginInlineStart:Le.marginXXS,fontSize:Le.fontSizeIcon},"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover,a:{color:Le.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Le.componentCls}-rtl`]:{direction:"rtl"}})}};var ve=(0,re.Z)("Breadcrumb",Le=>{const ot=(0,ue.TS)(Le,{});return[ie(ot)]},Le=>({itemColor:Le.colorTextDescription,lastItemColor:Le.colorText,iconFontSize:Le.fontSize,linkColor:Le.colorTextDescription,linkHoverColor:Le.colorText,separatorColor:Le.colorTextDescription,separatorMargin:Le.marginXS})),be=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft<gt.length;ft++)ot.indexOf(gt[ft])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[ft])&&(lt[gt[ft]]=Le[gt[ft]]);return lt};function je(Le){const{breadcrumbName:ot,children:lt}=Le,gt=be(Le,["breadcrumbName","children"]),ft=Object.assign({title:ot},gt);return lt&&(ft.menu={items:lt.map(ln=>{var{breadcrumbName:xt}=ln,an=be(ln,["breadcrumbName"]);return Object.assign(Object.assign({},an),{title:xt})})}),ft}function Ae(Le,ot){return(0,Ze.useMemo)(()=>Le||(ot?ot.map(je):null),[Le,ot])}var He=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft<gt.length;ft++)ot.indexOf(gt[ft])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[ft])&&(lt[gt[ft]]=Le[gt[ft]]);return lt};const he=(Le,ot)=>{if(ot===void 0)return ot;let lt=(ot||"").replace(/^\//,"");return Object.keys(Le).forEach(gt=>{lt=lt.replace(`:${gt}`,Le[gt])}),lt},qe=Le=>{const{prefixCls:ot,separator:lt="/",style:gt,className:ft,rootClassName:ln,routes:xt,items:an,children:hn,itemRender:$e,params:dt={}}=Le,rn=He(Le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Vn,direction:Zt,breadcrumb:Fn}=Ze.useContext(le.E_);let ze;const ct=Vn("breadcrumb",ot),[Lt,mt]=ve(ct),Nt=Ae(an,xt),ut=E(ct,$e);if(Nt&&Nt.length>0){const fe=[],Xe=an||xt;ze=Nt.map((Rt,Oe)=>{const{path:Ie,key:St,type:nt,menu:Me,overlay:yt,onClick:Bn,className:nn,separator:dn,dropdownProps:un}=Rt,yn=he(dt,Ie);yn!==void 0&&fe.push(yn);const Te=St!=null?St:Oe;if(nt==="separator")return Ze.createElement(Ge,{key:Te},dn);const Ft={},zt=Oe===Nt.length-1;Me?Ft.menu=Me:yt&&(Ft.overlay=yt);let{href:wt}=Rt;return fe.length&&yn!==void 0&&(wt=`#/${fe.join("/")}`),Ze.createElement(x,Object.assign({key:Te},Ft,(0,Ne.Z)(Rt,{data:!0,aria:!0}),{className:nn,dropdownProps:un,href:wt,separator:zt?"":lt,onClick:Bn,prefixCls:ct}),ut(Rt,dt,Xe,fe,wt))})}else if(hn){const fe=(0,Be.Z)(hn).length;ze=(0,Be.Z)(hn).map((Xe,Rt)=>{if(!Xe)return Xe;const Oe=Rt===fe-1;return(0,ke.Tm)(Xe,{separator:Oe?"":lt,key:Rt})})}const at=de()(ct,Fn==null?void 0:Fn.className,{[`${ct}-rtl`]:Zt==="rtl"},ft,ln,mt),De=Object.assign(Object.assign({},Fn==null?void 0:Fn.style),gt);return Lt(Ze.createElement("nav",Object.assign({className:at,style:De},rn),Ze.createElement("ol",null,ze)))};qe.Item=z,qe.Separator=Ge;var Ke=qe,ht=Ke},19842:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return xa}});var b=ee(80702),de=ee(59301),Be=ee(33853),Ne=ee(58617),Ze=ee(38819),ke=ee(92310),le=ee.n(ke),st=ee(72308),et=ee(52487),Ve=ee(74416),Ge=ee(77861),Je=ee(17115),Ye=ee(90782),se=ee(6089),E=ee(18929),a=de.createContext(null),x=a,y=ee(62853),z=ee(49618),ne=ee(77321),re="__rc_cascader_search_mark__",ue=function(It,_t,Vt){var Wt=Vt.label;return _t.some(function(Rn){return String(Rn[Wt]).toLowerCase().includes(It.toLowerCase())})},ie=function(It,_t,Vt,Wt){return _t.map(function(Rn){return Rn[Wt.label]}).join(" / ")},ve=function(We,It,_t,Vt,Wt,Rn){var wn=Wt.filter,vt=wn===void 0?ue:wn,Bt=Wt.render,pt=Bt===void 0?ie:Bt,Sn=Wt.limit,Wn=Sn===void 0?50:Sn,An=Wt.sort;return de.useMemo(function(){var ka=[];if(!We)return[];function pa(_n,Ea){var Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;_n.forEach(function(Dn){if(!(!An&&Wn!==!1&&Wn>0&&ka.length>=Wn)){var lr=[].concat((0,b.Z)(Ea),[Dn]),Nr=Dn[_t.children],Ur=Pa||Dn.disabled;if((!Nr||Nr.length===0||Rn)&&vt(We,lr,{label:_t.label})){var Sr;ka.push((0,ne.Z)((0,ne.Z)({},Dn),{},(Sr={disabled:Ur},(0,z.Z)(Sr,_t.label,pt(We,lr,Vt,_t)),(0,z.Z)(Sr,re,lr),(0,z.Z)(Sr,_t.children,void 0),Sr)))}Nr&&pa(Dn[_t.children],lr,Ur)}})}return pa(It,[]),An&&ka.sort(function(_n,Ea){return An(_n[re],Ea[re],We,_t)}),Wn!==!1&&Wn>0?ka.slice(0,Wn):ka},[We,It,_t,Vt,pt,Rn,vt,An,Wn])},be="__RC_CASCADER_SPLIT__",je="SHOW_PARENT",Ae="SHOW_CHILD";function He(We){return We.join(be)}function he(We){return We.map(He)}function qe(We){return We.split(be)}function Ke(We){var It=We||{},_t=It.label,Vt=It.value,Wt=It.children,Rn=Vt||"value";return{label:_t||"label",value:Rn,key:Rn,children:Wt||"children"}}function ht(We,It){var _t,Vt;return(_t=We.isLeaf)!==null&&_t!==void 0?_t:!((Vt=We[It.children])!==null&&Vt!==void 0&&Vt.length)}function Le(We){var It=We.parentElement;if(It){var _t=We.offsetTop-It.offsetTop;_t-It.scrollTop<0?It.scrollTo({top:_t}):_t+We.offsetHeight-It.scrollTop>It.offsetHeight&&It.scrollTo({top:_t+We.offsetHeight-It.offsetHeight})}}function ot(We,It){return We.map(function(_t){var Vt;return(Vt=_t[re])===null||Vt===void 0?void 0:Vt.map(function(Wt){return Wt[It.value]})})}function lt(We,It,_t){var Vt=new Set(We),Wt=It();return We.filter(function(Rn){var wn=Wt[Rn],vt=wn?wn.parent:null,Bt=wn?wn.children:null;return wn&&wn.node.disabled?!0:_t===Ae?!(Bt&&Bt.some(function(pt){return pt.key&&Vt.has(pt.key)})):!(vt&&!vt.node.disabled&&Vt.has(vt.key))})}function gt(We,It,_t){for(var Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Wt=It,Rn=[],wn=function(){var pt,Sn,Wn,An=We[vt],ka=(pt=Wt)===null||pt===void 0?void 0:pt.findIndex(function(_n){var Ea=_n[_t.value];return Vt?String(Ea)===String(An):Ea===An}),pa=ka!==-1?(Sn=Wt)===null||Sn===void 0?void 0:Sn[ka]:null;Rn.push({value:(Wn=pa==null?void 0:pa[_t.value])!==null&&Wn!==void 0?Wn:An,index:ka,option:pa}),Wt=pa==null?void 0:pa[_t.children]},vt=0;vt<We.length;vt+=1)wn();return Rn}var ft=function(We,It,_t,Vt,Wt){return de.useMemo(function(){var Rn=Wt||function(wn){var vt=Vt?wn.slice(-1):wn,Bt=" / ";return vt.every(function(pt){return["string","number"].includes((0,y.Z)(pt))})?vt.join(Bt):vt.reduce(function(pt,Sn,Wn){var An=de.isValidElement(Sn)?de.cloneElement(Sn,{key:Wn}):Sn;return Wn===0?[An]:[].concat((0,b.Z)(pt),[Bt,An])},[])};return We.map(function(wn){var vt,Bt,pt=gt(wn,It,_t),Sn=Rn(pt.map(function(An){var ka,pa=An.option,_n=An.value;return(ka=pa==null?void 0:pa[_t.label])!==null&&ka!==void 0?ka:_n}),pt.map(function(An){var ka=An.option;return ka})),Wn=He(wn);return{label:Sn,value:Wn,key:Wn,valueCells:wn,disabled:(vt=pt[pt.length-1])===null||vt===void 0||(Bt=vt.option)===null||Bt===void 0?void 0:Bt.disabled}})},[We,It,_t,Wt,Vt])},ln=ee(71430),xt=function(We,It){var _t=de.useRef({options:null,info:null}),Vt=de.useCallback(function(){return _t.current.options!==We&&(_t.current.options=We,_t.current.info=(0,ln.I8)(We,{fieldNames:It,initWrapper:function(Rn){return(0,ne.Z)((0,ne.Z)({},Rn),{},{pathKeyEntities:{}})},processEntity:function(Rn,wn){var vt=Rn.nodes.map(function(Bt){return Bt[It.value]}).join(be);wn.pathKeyEntities[vt]=Rn,Rn.key=vt}})),_t.current.info.pathKeyEntities},[It,We]);return Vt},an=function(We,It){return de.useCallback(function(_t){var Vt=[],Wt=[];return _t.forEach(function(Rn){var wn=gt(Rn,We,It);wn.every(function(vt){return vt.option})?Wt.push(Rn):Vt.push(Rn)}),[Wt,Vt]},[We,It])},hn=ee(48736);function $e(We){return de.useMemo(function(){if(!We)return[!1,{}];var It={matchInputWidth:!0,limit:50};return We&&(0,y.Z)(We)==="object"&&(It=(0,ne.Z)((0,ne.Z)({},It),We)),It.limit<=0&&delete It.limit,[!0,It]},[We])}var dt=de.memo(function(We){var It=We.children;return It},function(We,It){return!It.open}),rn=dt;function Vn(We){var It,_t=We.prefixCls,Vt=We.checked,Wt=We.halfChecked,Rn=We.disabled,wn=We.onClick,vt=We.disableCheckbox,Bt=de.useContext(x),pt=Bt.checkable,Sn=typeof pt!="boolean"?pt:null;return de.createElement("span",{className:le()("".concat(_t),(It={},(0,z.Z)(It,"".concat(_t,"-checked"),Vt),(0,z.Z)(It,"".concat(_t,"-indeterminate"),!Vt&&Wt),(0,z.Z)(It,"".concat(_t,"-disabled"),Rn||vt),It)),onClick:wn},Sn)}var Zt="__cascader_fix_label__";function Fn(We){var It=We.prefixCls,_t=We.multiple,Vt=We.options,Wt=We.activeValue,Rn=We.prevValuePath,wn=We.onToggleOpen,vt=We.onSelect,Bt=We.onActive,pt=We.checkedSet,Sn=We.halfCheckedSet,Wn=We.loadingKeys,An=We.isSelectable,ka=We.searchValue,pa="".concat(It,"-menu"),_n="".concat(It,"-menu-item"),Ea=de.useContext(x),Pa=Ea.fieldNames,Dn=Ea.changeOnSelect,lr=Ea.expandTrigger,Nr=Ea.expandIcon,Ur=Ea.loadingIcon,Sr=Ea.dropdownMenuColumnStyle,Ue=lr==="hover",bn=de.useMemo(function(){return Vt.map(function(Xt){var Nn,Kn=Xt.disabled,la=Xt.disableCheckbox,Qn=Xt[re],Un=(Nn=Xt[Zt])!==null&&Nn!==void 0?Nn:Xt[Pa.label],ur=Xt[Pa.value],da=ht(Xt,Pa),En=Qn?Qn.map(function(ha){return ha[Pa.value]}):[].concat((0,b.Z)(Rn),[ur]),dr=He(En),xr=Wn.includes(dr),Wr=pt.has(dr),Ir=Sn.has(dr);return{disabled:Kn,label:Un,value:ur,isLeaf:da,isLoading:xr,checked:Wr,halfChecked:Ir,option:Xt,disableCheckbox:la,fullPath:En,fullPathKey:dr}})},[Vt,pt,Pa,Sn,Wn,Rn]);return de.createElement("ul",{className:pa,role:"menu"},bn.map(function(Xt){var Nn,Kn=Xt.disabled,la=Xt.label,Qn=Xt.value,Un=Xt.isLeaf,ur=Xt.isLoading,da=Xt.checked,En=Xt.halfChecked,dr=Xt.option,xr=Xt.fullPath,Wr=Xt.fullPathKey,Ir=Xt.disableCheckbox,ha=function(){if(!(Kn||ka)){var Or=(0,b.Z)(xr);Ue&&Un&&Or.pop(),Bt(Or)}},za=function(){An(dr)&&vt(xr,Un)},Ua;return typeof dr.title=="string"?Ua=dr.title:typeof la=="string"&&(Ua=la),de.createElement("li",{key:Wr,className:le()(_n,(Nn={},(0,z.Z)(Nn,"".concat(_n,"-expand"),!Un),(0,z.Z)(Nn,"".concat(_n,"-active"),Wt===Qn||Wt===Wr),(0,z.Z)(Nn,"".concat(_n,"-disabled"),Kn),(0,z.Z)(Nn,"".concat(_n,"-loading"),ur),Nn)),style:Sr,role:"menuitemcheckbox",title:Ua,"aria-checked":da,"data-path-key":Wr,onClick:function(){ha(),!Ir&&(!_t||Un)&&za()},onDoubleClick:function(){Dn&&wn(!1)},onMouseEnter:function(){Ue&&ha()},onMouseDown:function(Or){Or.preventDefault()}},_t&&de.createElement(Vn,{prefixCls:"".concat(It,"-checkbox"),checked:da,halfChecked:En,disabled:Kn||Ir,disableCheckbox:Ir,onClick:function(Or){Ir||(Or.stopPropagation(),za())}}),de.createElement("div",{className:"".concat(_n,"-content")},la),!ur&&Nr&&!Un&&de.createElement("div",{className:"".concat(_n,"-expand-icon")},Nr),ur&&Ur&&de.createElement("div",{className:"".concat(_n,"-loading-icon")},Ur))}))}var ze=function(){var We=(0,Ge.lk)(),It=We.multiple,_t=We.open,Vt=de.useContext(x),Wt=Vt.values,Rn=de.useState([]),wn=(0,et.Z)(Rn,2),vt=wn[0],Bt=wn[1];return de.useEffect(function(){if(_t&&!It){var pt=Wt[0];Bt(pt||[])}},[_t]),[vt,Bt]},ct=ee(10228),Lt=function(We,It,_t,Vt,Wt,Rn){var wn=(0,Ge.lk)(),vt=wn.direction,Bt=wn.searchValue,pt=wn.toggleOpen,Sn=wn.open,Wn=vt==="rtl",An=de.useMemo(function(){for(var Sr=-1,Ue=It,bn=[],Xt=[],Nn=Vt.length,Kn=ot(It,_t),la=function(dr){var xr=Ue.findIndex(function(Wr,Ir){return(Kn[Ir]?He(Kn[Ir]):Wr[_t.value])===Vt[dr]});if(xr===-1)return"break";Sr=xr,bn.push(Sr),Xt.push(Vt[dr]),Ue=Ue[Sr][_t.children]},Qn=0;Qn<Nn&&Ue;Qn+=1){var Un=la(Qn);if(Un==="break")break}for(var ur=It,da=0;da<bn.length-1;da+=1)ur=ur[bn[da]][_t.children];return[Xt,Sr,ur,Kn]},[Vt,_t,It]),ka=(0,et.Z)(An,4),pa=ka[0],_n=ka[1],Ea=ka[2],Pa=ka[3],Dn=function(Ue){Wt(Ue)},lr=function(Ue){var bn=Ea.length,Xt=_n;Xt===-1&&Ue<0&&(Xt=bn);for(var Nn=0;Nn<bn;Nn+=1){Xt=(Xt+Ue+bn)%bn;var Kn=Ea[Xt];if(Kn&&!Kn.disabled){var la=pa.slice(0,-1).concat(Pa[Xt]?He(Pa[Xt]):Kn[_t.value]);Dn(la);return}}},Nr=function(){if(pa.length>1){var Ue=pa.slice(0,-1);Dn(Ue)}else pt(!1)},Ur=function(){var Ue,bn=((Ue=Ea[_n])===null||Ue===void 0?void 0:Ue[_t.children])||[],Xt=bn.find(function(Kn){return!Kn.disabled});if(Xt){var Nn=[].concat((0,b.Z)(pa),[Xt[_t.value]]);Dn(Nn)}};de.useImperativeHandle(We,function(){return{onKeyDown:function(Ue){var bn=Ue.which;switch(bn){case ct.Z.UP:case ct.Z.DOWN:{var Xt=0;bn===ct.Z.UP?Xt=-1:bn===ct.Z.DOWN&&(Xt=1),Xt!==0&&lr(Xt);break}case ct.Z.LEFT:{if(Bt)break;Wn?Ur():Nr();break}case ct.Z.RIGHT:{if(Bt)break;Wn?Nr():Ur();break}case ct.Z.BACKSPACE:{Bt||Nr();break}case ct.Z.ENTER:{if(pa.length){var Nn=Ea[_n],Kn=(Nn==null?void 0:Nn[re])||[];Kn.length?Rn(Kn.map(function(la){return la[_t.value]}),Kn[Kn.length-1]):Rn(pa,Ea[_n])}break}case ct.Z.ESC:pt(!1),Sn&&Ue.stopPropagation()}},onKeyUp:function(){}}})},mt=de.forwardRef(function(We,It){var _t,Vt,Wt,Rn,wn=(0,Ge.lk)(),vt=wn.prefixCls,Bt=wn.multiple,pt=wn.searchValue,Sn=wn.toggleOpen,Wn=wn.notFoundContent,An=wn.direction,ka=wn.open,pa=de.useRef(),_n=An==="rtl",Ea=de.useContext(x),Pa=Ea.options,Dn=Ea.values,lr=Ea.halfValues,Nr=Ea.fieldNames,Ur=Ea.changeOnSelect,Sr=Ea.onSelect,Ue=Ea.searchOptions,bn=Ea.dropdownPrefixCls,Xt=Ea.loadData,Nn=Ea.expandTrigger,Kn=bn||vt,la=de.useState([]),Qn=(0,et.Z)(la,2),Un=Qn[0],ur=Qn[1],da=function(yo){if(!(!Xt||pt)){var Go=gt(yo,Pa,Nr),Mo=Go.map(function(eo){var Qo=eo.option;return Qo}),Ao=Mo[Mo.length-1];if(Ao&&!ht(Ao,Nr)){var gr=He(yo);ur(function(eo){return[].concat((0,b.Z)(eo),[gr])}),Xt(Mo)}}};de.useEffect(function(){Un.length&&Un.forEach(function(ho){var yo=qe(ho),Go=gt(yo,Pa,Nr,!0).map(function(Ao){var gr=Ao.option;return gr}),Mo=Go[Go.length-1];(!Mo||Mo[Nr.children]||ht(Mo,Nr))&&ur(function(Ao){return Ao.filter(function(gr){return gr!==ho})})})},[Pa,Un,Nr]);var En=de.useMemo(function(){return new Set(he(Dn))},[Dn]),dr=de.useMemo(function(){return new Set(he(lr))},[lr]),xr=ze(),Wr=(0,et.Z)(xr,2),Ir=Wr[0],ha=Wr[1],za=function(yo){ha(yo),da(yo)},Ua=function(yo){var Go=yo.disabled,Mo=ht(yo,Nr);return!Go&&(Mo||Ur||Bt)},La=function(yo,Go){var Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Sr(yo),!Bt&&(Go||Ur&&(Nn==="hover"||Mo))&&Sn(!1)},Or=de.useMemo(function(){return pt?Ue:Pa},[pt,Ue,Pa]),no=de.useMemo(function(){for(var ho=[{options:Or}],yo=Or,Go=ot(yo,Nr),Mo=function(){var Qo=Ir[Ao],Yo=yo.find(function(br,ri){return(Go[ri]?He(Go[ri]):br[Nr.value])===Qo}),Oo=Yo==null?void 0:Yo[Nr.children];if(!(Oo!=null&&Oo.length))return"break";yo=Oo,ho.push({options:Oo})},Ao=0;Ao<Ir.length;Ao+=1){var gr=Mo();if(gr==="break")break}return ho},[Or,Ir,Nr]),Fr=function(yo,Go){Ua(Go)&&La(yo,ht(Go,Nr),!0)};Lt(It,Or,Nr,Ir,za,Fr),de.useEffect(function(){for(var ho=0;ho<Ir.length;ho+=1){var yo,Go=Ir.slice(0,ho+1),Mo=He(Go),Ao=(yo=pa.current)===null||yo===void 0?void 0:yo.querySelector('li[data-path-key="'.concat(Mo.replace(/\\{0,2}"/g,'\\"'),'"]'));Ao&&Le(Ao)}},[Ir]);var Er=!((_t=no[0])!==null&&_t!==void 0&&(Vt=_t.options)!==null&&Vt!==void 0&&Vt.length),Pr=[(Wt={},(0,z.Z)(Wt,Nr.value,"__EMPTY__"),(0,z.Z)(Wt,Zt,Wn),(0,z.Z)(Wt,"disabled",!0),Wt)],si=(0,ne.Z)((0,ne.Z)({},We),{},{multiple:!Er&&Bt,onSelect:La,onActive:za,onToggleOpen:Sn,checkedSet:En,halfCheckedSet:dr,loadingKeys:Un,isSelectable:Ua}),ai=Er?[{options:Pr}]:no,xi=ai.map(function(ho,yo){var Go=Ir.slice(0,yo),Mo=Ir[yo];return de.createElement(Fn,(0,st.Z)({key:yo},si,{searchValue:pt,prefixCls:Kn,options:ho.options,prevValuePath:Go,activeValue:Mo}))});return de.createElement(rn,{open:ka},de.createElement("div",{className:le()("".concat(Kn,"-menus"),(Rn={},(0,z.Z)(Rn,"".concat(Kn,"-menu-empty"),Er),(0,z.Z)(Rn,"".concat(Kn,"-rtl"),_n),Rn)),ref:pa},xi))}),Nt=mt;function ut(We){var It=We.onPopupVisibleChange,_t=We.popupVisible,Vt=We.popupClassName,Wt=We.popupPlacement;warning(!It,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(_t===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Vt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Wt===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function at(We,It){if(We){var _t=function Vt(Wt){for(var Rn=0;Rn<Wt.length;Rn++){var wn=Wt[Rn];if(wn[It==null?void 0:It.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(wn[It==null?void 0:It.children])&&Vt(wn[It==null?void 0:It.children]))return!0}};_t(We)}}var De=null,fe=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function Xe(We){return Array.isArray(We)&&Array.isArray(We[0])}function Rt(We){return We?Xe(We)?We:(We.length===0?[]:[We]).map(function(It){return Array.isArray(It)?It:[It]}):[]}var Oe=de.forwardRef(function(We,It){var _t=We.id,Vt=We.prefixCls,Wt=Vt===void 0?"rc-cascader":Vt,Rn=We.fieldNames,wn=We.defaultValue,vt=We.value,Bt=We.changeOnSelect,pt=We.onChange,Sn=We.displayRender,Wn=We.checkable,An=We.autoClearSearchValue,ka=An===void 0?!0:An,pa=We.searchValue,_n=We.onSearch,Ea=We.showSearch,Pa=We.expandTrigger,Dn=We.options,lr=We.dropdownPrefixCls,Nr=We.loadData,Ur=We.popupVisible,Sr=We.open,Ue=We.popupClassName,bn=We.dropdownClassName,Xt=We.dropdownMenuColumnStyle,Nn=We.popupPlacement,Kn=We.placement,la=We.onDropdownVisibleChange,Qn=We.onPopupVisibleChange,Un=We.expandIcon,ur=Un===void 0?">":Un,da=We.loadingIcon,En=We.children,dr=We.dropdownMatchSelectWidth,xr=dr===void 0?!1:dr,Wr=We.showCheckedStrategy,Ir=Wr===void 0?je:Wr,ha=(0,Ve.Z)(We,fe),za=(0,Je.ZP)(_t),Ua=!!Wn,La=(0,E.Z)(wn,{value:vt,postState:Rt}),Or=(0,et.Z)(La,2),no=Or[0],Fr=Or[1],Er=de.useMemo(function(){return Ke(Rn)},[JSON.stringify(Rn)]),Pr=de.useMemo(function(){return Dn||[]},[Dn]),si=xt(Pr,Er),ai=de.useCallback(function(Qa){var Ga=si();return Qa.map(function(Ya){var so=Ga[Ya].nodes;return so.map(function(we){return we[Er.value]})})},[si,Er]),xi=(0,E.Z)("",{value:pa,postState:function(Ga){return Ga||""}}),ho=(0,et.Z)(xi,2),yo=ho[0],Go=ho[1],Mo=function(Ga,Ya){Go(Ga),Ya.source!=="blur"&&_n&&_n(Ga)},Ao=$e(Ea),gr=(0,et.Z)(Ao,2),eo=gr[0],Qo=gr[1],Yo=ve(yo,Pr,Er,lr||Wt,Qo,Bt),Oo=an(Pr,Er),br=de.useMemo(function(){var Qa=Oo(no),Ga=(0,et.Z)(Qa,2),Ya=Ga[0],so=Ga[1];if(!Ua||!no.length)return[Ya,[],so];var we=he(Ya),fn=si(),Mn=(0,Ye.S)(we,!0,fn),Sa=Mn.checkedKeys,on=Mn.halfCheckedKeys;return[ai(Sa),ai(on),so]},[Ua,no,si,ai,Oo]),ri=(0,et.Z)(br,3),Hr=ri[0],ko=ri[1],mo=ri[2],di=de.useMemo(function(){var Qa=he(Hr),Ga=lt(Qa,si,Ir);return[].concat((0,b.Z)(mo),(0,b.Z)(ai(Ga)))},[Hr,si,ai,mo,Ir]),vi=ft(di,Pr,Er,Ua,Sn),Ui=(0,se.Z)(function(Qa){if(Fr(Qa),pt){var Ga=Rt(Qa),Ya=Ga.map(function(fn){return gt(fn,Pr,Er).map(function(Mn){return Mn.option})}),so=Ua?Ga:Ga[0],we=Ua?Ya:Ya[0];pt(so,we)}}),tl=(0,se.Z)(function(Qa){if((!Ua||ka)&&Go(""),!Ua)Ui(Qa);else{var Ga=He(Qa),Ya=he(Hr),so=he(ko),we=Ya.includes(Ga),fn=mo.some(function(Ha){return He(Ha)===Ga}),Mn=Hr,Sa=mo;if(fn&&!we)Sa=mo.filter(function(Ha){return He(Ha)!==Ga});else{var on=we?Ya.filter(function(Ha){return Ha!==Ga}):[].concat((0,b.Z)(Ya),[Ga]),Ma=si(),Fa;if(we){var jn=(0,Ye.S)(on,{checked:!1,halfCheckedKeys:so},Ma);Fa=jn.checkedKeys}else{var Xn=(0,Ye.S)(on,!0,Ma);Fa=Xn.checkedKeys}var sr=lt(Fa,si,Ir);Mn=ai(sr)}Ui([].concat((0,b.Z)(Sa),(0,b.Z)(Mn)))}}),nl=function(Ga,Ya){if(Ya.type==="clear"){Ui([]);return}var so=Ya.values[0],we=so.valueCells;tl(we)},Vo=Sr!==void 0?Sr:Ur,Fi=bn||Ue,Wi=Kn||Nn,dl=function(Ga){la==null||la(Ga),Qn==null||Qn(Ga)},gl=de.useMemo(function(){return{options:Pr,fieldNames:Er,values:Hr,halfValues:ko,changeOnSelect:Bt,onSelect:tl,checkable:Wn,searchOptions:Yo,dropdownPrefixCls:lr,loadData:Nr,expandTrigger:Pa,expandIcon:ur,loadingIcon:da,dropdownMenuColumnStyle:Xt}},[Pr,Er,Hr,ko,Bt,tl,Wn,Yo,lr,Nr,Pa,ur,da,Xt]),Pl=!(yo?Yo:Pr).length,kr=yo&&Qo.matchInputWidth||Pl?{}:{minWidth:"auto"};return de.createElement(x.Provider,{value:gl},de.createElement(Ge.Ac,(0,st.Z)({},ha,{ref:It,id:za,prefixCls:Wt,autoClearSearchValue:ka,dropdownMatchSelectWidth:xr,dropdownStyle:kr,displayValues:vi,onDisplayValuesChange:nl,mode:Ua?"multiple":void 0,searchValue:yo,onSearch:Mo,showSearch:eo,OptionList:Nt,emptyOptions:Pl,open:Vo,dropdownClassName:Fi,placement:Wi,onDropdownVisibleChange:dl,getRawInputElement:function(){return En}})))});Oe.SHOW_PARENT=je,Oe.SHOW_CHILD=Ae;var Ie=Oe,St=Ie,nt=ee(2738),Me=ee(62892),yt=ee(53487),Bn=ee(19080),nn=ee(36355),dn=ee(93891),un=ee(1684),yn=ee(19716),Te=ee(32441),Ft=ee(14154),zt=ee(58582),wt=ee(84443),kt=ee(66339),sn=ee(33234),cn=ee(98447),Ln=ee(17313),Jn=ee(74207),va=ee(83116);const Da=We=>{const{prefixCls:It,componentCls:_t,antCls:Vt}=We,Wt=`${_t}-menu-item`,Rn=`
&${Wt}-expand ${Wt}-expand-icon,
${Wt}-loading-icon
`;return[{[_t]:{width:We.controlWidth}},{[`${_t}-dropdown`]:[(0,cn.C2)(`${It}-checkbox`,We),{[`&${Vt}-select-dropdown`]:{padding:0}},{[_t]:{"&-checkbox":{top:0,marginInlineEnd:We.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${_t}-menu-empty`]:{[`${_t}-menu`]:{width:"100%",height:"auto",[Wt]:{color:We.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:We.controlItemWidth,height:We.dropdownHeight,margin:0,padding:We.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${We.lineWidth}px ${We.lineType} ${We.colorSplit}`},"&-item":Object.assign(Object.assign({},Ln.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:We.optionPadding,lineHeight:We.lineHeight,cursor:"pointer",transition:`all ${We.motionDurationMid}`,borderRadius:We.borderRadiusSM,"&:hover":{background:We.controlItemBgHover},"&-disabled":{color:We.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Rn]:{color:We.colorTextDisabled}},[`&-active:not(${Wt}-disabled)`]:{"&, &:hover":{fontWeight:We.optionSelectedFontWeight,backgroundColor:We.optionSelectedBg}},"&-content":{flex:"auto"},[Rn]:{marginInlineStart:We.paddingXXS,color:We.colorTextDescription,fontSize:We.fontSizeIcon},"&-keyword":{color:We.colorHighlight}})}}}]},{[`${_t}-dropdown-rtl`]:{direction:"rtl"}},(0,Jn.c)(We)]};var Na=(0,va.Z)("Cascader",We=>[Da(We)],We=>{const It=Math.round((We.controlHeight-We.fontSize*We.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:We.controlItemBgActive,optionSelectedFontWeight:We.fontWeightStrong,optionPadding:`${It}px ${We.paddingSM}px`,menuPadding:We.paddingXXS}}),ar=function(We,It){var _t={};for(var Vt in We)Object.prototype.hasOwnProperty.call(We,Vt)&&It.indexOf(Vt)<0&&(_t[Vt]=We[Vt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Vt=Object.getOwnPropertySymbols(We);Wt<Vt.length;Wt++)It.indexOf(Vt[Wt])<0&&Object.prototype.propertyIsEnumerable.call(We,Vt[Wt])&&(_t[Vt[Wt]]=We[Vt[Wt]]);return _t};const{SHOW_CHILD:$a,SHOW_PARENT:fa}=St;function yr(We,It,_t){const Vt=We.toLowerCase().split(It).reduce((wn,vt,Bt)=>Bt===0?[vt]:[].concat((0,b.Z)(wn),[It,vt]),[]),Wt=[];let Rn=0;return Vt.forEach((wn,vt)=>{const Bt=Rn+wn.length;let pt=We.slice(Rn,Bt);Rn=Bt,vt%2===1&&(pt=de.createElement("span",{className:`${_t}-menu-item-keyword`,key:`separator-${vt}`},pt)),Wt.push(pt)}),Wt}const en=(We,It,_t,Vt)=>{const Wt=[],Rn=We.toLowerCase();return It.forEach((wn,vt)=>{vt!==0&&Wt.push(" / ");let Bt=wn[Vt.label];const pt=typeof Bt;(pt==="string"||pt==="number")&&(Bt=yr(String(Bt),Rn,_t)),Wt.push(Bt)}),Wt},On=de.forwardRef((We,It)=>{const{prefixCls:_t,size:Vt,disabled:Wt,className:Rn,rootClassName:wn,multiple:vt,bordered:Bt=!0,transitionName:pt,choiceTransitionName:Sn="",popupClassName:Wn,dropdownClassName:An,expandIcon:ka,placement:pa,showSearch:_n,allowClear:Ea=!0,notFoundContent:Pa,direction:Dn,getPopupContainer:lr,status:Nr,showArrow:Ur,builtinPlacements:Sr,style:Ue}=We,bn=ar(We,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Xt=(0,nt.Z)(bn,["suffixIcon"]),{getPopupContainer:Nn,getPrefixCls:Kn,renderEmpty:la,direction:Qn,popupOverflow:Un,cascader:ur}=de.useContext(nn.E_),da=Dn||Qn,En=da==="rtl",{status:dr,hasFeedback:xr,isFormItemInput:Wr,feedbackIcon:Ir}=de.useContext(Te.aM),ha=(0,Bn.F)(dr,Nr),za=Pa||(la==null?void 0:la("Cascader"))||de.createElement(dn.Z,{componentName:"Cascader"}),Ua=Kn(),La=Kn("select",_t),Or=Kn("cascader",_t),[no,Fr]=(0,Ft.Z)(La),[Er]=Na(Or),{compactSize:Pr,compactItemClassnames:si}=(0,sn.ri)(La,Dn),ai=le()(Wn||An,`${Or}-dropdown`,{[`${Or}-dropdown-rtl`]:da==="rtl"},wn,Fr),xi=de.useMemo(()=>{if(!_n)return _n;let mo={render:en};return typeof _n=="object"&&(mo=Object.assign(Object.assign({},mo),_n)),mo},[_n]),ho=(0,yn.Z)(mo=>{var di;return(di=Vt!=null?Vt:Pr)!==null&&di!==void 0?di:mo}),yo=de.useContext(un.Z),Go=Wt!=null?Wt:yo;let Mo=ka;ka||(Mo=En?de.createElement(Be.Z,null):de.createElement(Ze.Z,null));const Ao=de.createElement("span",{className:`${La}-menu-item-loading-icon`},de.createElement(Ne.Z,{spin:!0})),gr=de.useMemo(()=>vt?de.createElement("span",{className:`${Or}-checkbox-inner`}):!1,[vt]),eo=(0,wt.Z)(We.suffixIcon,Ur),{suffixIcon:Qo,removeIcon:Yo,clearIcon:Oo}=(0,kt.Z)(Object.assign(Object.assign({},We),{hasFeedback:xr,feedbackIcon:Ir,showSuffixIcon:eo,multiple:vt,prefixCls:La,componentName:"Cascader"})),br=de.useMemo(()=>pa!==void 0?pa:En?"bottomRight":"bottomLeft",[pa,En]),ri=(0,zt.Z)(Sr,Un),Hr=Ea===!0?{clearIcon:Oo}:Ea,ko=de.createElement(St,Object.assign({prefixCls:La,className:le()(!_t&&Or,{[`${La}-lg`]:ho==="large",[`${La}-sm`]:ho==="small",[`${La}-rtl`]:En,[`${La}-borderless`]:!Bt,[`${La}-in-form-item`]:Wr},(0,Bn.Z)(La,ha,xr),si,ur==null?void 0:ur.className,Rn,wn,Fr),disabled:Go,style:Object.assign(Object.assign({},ur==null?void 0:ur.style),Ue)},Xt,{builtinPlacements:ri,direction:da,placement:br,notFoundContent:za,allowClear:Hr,showSearch:xi,expandIcon:Mo,suffixIcon:Qo,removeIcon:Yo,loadingIcon:Ao,checkable:gr,dropdownClassName:ai,dropdownPrefixCls:_t||Or,choiceTransitionName:(0,Me.m)(Ua,"",Sn),transitionName:(0,Me.m)(Ua,"slide-up",pt),getPopupContainer:lr||Nn,ref:It}));return Er(no(ko))}),ia=(0,yt.Z)(On);On.SHOW_PARENT=fa,On.SHOW_CHILD=$a,On._InternalPanelDoNotUseOrYouWillBeFired=ia;var xa=On},24905:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return ve}});var b=ee(92310),de=ee.n(b),Be=ee(5630),Ne=ee(59301),Ze=ee(36355),ke=ee(1684),le=ee(32441),et=Ne.createContext(null),Ve=ee(98447),Ge=ee(14088),Je=ee(4572),Ye=function(be,je){var Ae={};for(var He in be)Object.prototype.hasOwnProperty.call(be,He)&&je.indexOf(He)<0&&(Ae[He]=be[He]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(be);he<He.length;he++)je.indexOf(He[he])<0&&Object.prototype.propertyIsEnumerable.call(be,He[he])&&(Ae[He[he]]=be[He[he]]);return Ae};const se=(be,je)=>{var Ae;const{prefixCls:He,className:he,rootClassName:qe,children:Ke,indeterminate:ht=!1,style:Le,onMouseEnter:ot,onMouseLeave:lt,skipGroup:gt=!1,disabled:ft}=be,ln=Ye(be,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:xt,direction:an,checkbox:hn}=Ne.useContext(Ze.E_),$e=Ne.useContext(et),{isFormItemInput:dt}=Ne.useContext(le.aM),rn=Ne.useContext(ke.Z),Vn=(Ae=($e==null?void 0:$e.disabled)||ft)!==null&&Ae!==void 0?Ae:rn,Zt=Ne.useRef(ln.value);Ne.useEffect(()=>{$e==null||$e.registerValue(ln.value)},[]),Ne.useEffect(()=>{if(!gt)return ln.value!==Zt.current&&($e==null||$e.cancelValue(Zt.current),$e==null||$e.registerValue(ln.value),Zt.current=ln.value),()=>$e==null?void 0:$e.cancelValue(ln.value)},[ln.value]);const Fn=xt("checkbox",He),[ze,ct]=(0,Ve.ZP)(Fn),Lt=Object.assign({},ln);$e&&!gt&&(Lt.onChange=function(){ln.onChange&&ln.onChange.apply(ln,arguments),$e.toggleOption&&$e.toggleOption({label:Ke,value:ln.value})},Lt.name=$e.name,Lt.checked=$e.value.includes(ln.value));const mt=de()(`${Fn}-wrapper`,{[`${Fn}-rtl`]:an==="rtl",[`${Fn}-wrapper-checked`]:Lt.checked,[`${Fn}-wrapper-disabled`]:Vn,[`${Fn}-wrapper-in-form-item`]:dt},hn==null?void 0:hn.className,he,qe,ct),Nt=de()({[`${Fn}-indeterminate`]:ht},Je.A,ct),ut=ht?"mixed":void 0;return ze(Ne.createElement(Ge.Z,{component:"Checkbox",disabled:Vn},Ne.createElement("label",{className:mt,style:Object.assign(Object.assign({},hn==null?void 0:hn.style),Le),onMouseEnter:ot,onMouseLeave:lt},Ne.createElement(Be.Z,Object.assign({"aria-checked":ut},Lt,{prefixCls:Fn,className:Nt,disabled:Vn,ref:je})),Ke!==void 0&&Ne.createElement("span",null,Ke))))};var a=Ne.forwardRef(se),x=ee(80702),y=ee(2738),z=function(be,je){var Ae={};for(var He in be)Object.prototype.hasOwnProperty.call(be,He)&&je.indexOf(He)<0&&(Ae[He]=be[He]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(be);he<He.length;he++)je.indexOf(He[he])<0&&Object.prototype.propertyIsEnumerable.call(be,He[he])&&(Ae[He[he]]=be[He[he]]);return Ae};const ne=(be,je)=>{const{defaultValue:Ae,children:He,options:he=[],prefixCls:qe,className:Ke,rootClassName:ht,style:Le,onChange:ot}=be,lt=z(be,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:ft}=Ne.useContext(Ze.E_),[ln,xt]=Ne.useState(lt.value||Ae||[]),[an,hn]=Ne.useState([]);Ne.useEffect(()=>{"value"in lt&&xt(lt.value||[])},[lt.value]);const $e=Ne.useMemo(()=>he.map(at=>typeof at=="string"||typeof at=="number"?{label:at,value:at}:at),[he]),dt=at=>{hn(De=>De.filter(fe=>fe!==at))},rn=at=>{hn(De=>[].concat((0,x.Z)(De),[at]))},Vn=at=>{const De=ln.indexOf(at.value),fe=(0,x.Z)(ln);De===-1?fe.push(at.value):fe.splice(De,1),"value"in lt||xt(fe),ot==null||ot(fe.filter(Xe=>an.includes(Xe)).sort((Xe,Rt)=>{const Oe=$e.findIndex(St=>St.value===Xe),Ie=$e.findIndex(St=>St.value===Rt);return Oe-Ie}))},Zt=gt("checkbox",qe),Fn=`${Zt}-group`,[ze,ct]=(0,Ve.ZP)(Zt),Lt=(0,y.Z)(lt,["value","disabled"]),mt=he.length?$e.map(at=>Ne.createElement(a,{prefixCls:Zt,key:at.value.toString(),disabled:"disabled"in at?at.disabled:lt.disabled,value:at.value,checked:ln.includes(at.value),onChange:at.onChange,className:`${Fn}-item`,style:at.style,title:at.title},at.label)):He,Nt={toggleOption:Vn,value:ln,disabled:lt.disabled,name:lt.name,registerValue:rn,cancelValue:dt},ut=de()(Fn,{[`${Fn}-rtl`]:ft==="rtl"},Ke,ht,ct);return ze(Ne.createElement("div",Object.assign({className:ut,style:Le},Lt,{ref:je}),Ne.createElement(et.Provider,{value:Nt},mt)))},re=Ne.forwardRef(ne);var ue=Ne.memo(re);const ie=a;ie.Group=ue,ie.__ANT_CHECKBOX=!0;var ve=ie},98447:function(Qt,Gt,ee){"use strict";ee.d(Gt,{C2:function(){return Ze}});var b=ee(17313),de=ee(37613),Be=ee(83116);const Ne=ke=>{const{checkboxCls:le}=ke,st=`${le}-wrapper`;return[{[`${le}-group`]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[st]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${st}`]:{marginInlineStart:0},[`&${st}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[le]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.borderRadiusSM,alignSelf:"center",[`${le}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${le}-inner`]:Object.assign({},(0,b.oN)(ke))},[`${le}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[`
${st}:not(${st}-disabled),
${le}:not(${le}-disabled)
`]:{[`&:hover ${le}-inner`]:{borderColor:ke.colorPrimary}},[`${st}:not(${st}-disabled)`]:{[`&:hover ${le}-checked:not(${le}-disabled) ${le}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${le}-checked:not(${le}-disabled):after`]:{borderColor:ke.colorPrimaryHover}}},{[`${le}-checked`]:{[`${le}-inner`]:{backgroundColor:ke.colorPrimary,borderColor:ke.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ke.motionDurationMid} ${ke.motionEaseOutBack} ${ke.motionDurationFast}`}}},[`
${st}-checked:not(${st}-disabled),
${le}-checked:not(${le}-disabled)
`]:{[`&:hover ${le}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[le]:{"&-indeterminate":{[`${le}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${st}-disabled`]:{cursor:"not-allowed"},[`${le}-disabled`]:{[`&, ${le}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${le}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${le}-indeterminate ${le}-inner::after`]:{background:ke.colorTextDisabled}}}]};function Ze(ke,le){const st=(0,de.TS)(le,{checkboxCls:`.${ke}`,checkboxSize:le.controlInteractiveSize});return[Ne(st)]}Gt.ZP=(0,Be.Z)("Checkbox",(ke,le)=>{let{prefixCls:st}=le;return[Ze(st,ke)]})},36381:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Lt}});var b=ee(38819),de=ee(92310),Be=ee.n(de),Ne=ee(72308),Ze=ee(80702),ke=ee(52487),le=ee(62853),st=ee(18929),et=ee(48736),Ve=ee(59301),Ge=ee(74416),Je=ee(11592),Ye=ee(49618),se=ee(77900),E=ee(10228),a=Ve.forwardRef(function(mt,Nt){var ut=mt.prefixCls,at=mt.forceRender,De=mt.className,fe=mt.style,Xe=mt.children,Rt=mt.isActive,Oe=mt.role,Ie=Ve.useState(Rt||at),St=(0,ke.Z)(Ie,2),nt=St[0],Me=St[1];return Ve.useEffect(function(){(at||Rt)&&Me(!0)},[at,Rt]),nt?Ve.createElement("div",{ref:Nt,className:Be()("".concat(ut,"-content"),(0,Ye.Z)((0,Ye.Z)({},"".concat(ut,"-content-active"),Rt),"".concat(ut,"-content-inactive"),!Rt),De),style:fe,role:Oe},Ve.createElement("div",{className:"".concat(ut,"-content-box")},Xe)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Ve.forwardRef(function(mt,Nt){var ut=mt.showArrow,at=ut===void 0?!0:ut,De=mt.headerClass,fe=mt.isActive,Xe=mt.onItemClick,Rt=mt.forceRender,Oe=mt.className,Ie=mt.prefixCls,St=mt.collapsible,nt=mt.accordion,Me=mt.panelKey,yt=mt.extra,Bn=mt.header,nn=mt.expandIcon,dn=mt.openMotion,un=mt.destroyInactivePanel,yn=mt.children,Te=(0,Ge.Z)(mt,y),Ft=St==="disabled",zt=St==="header",wt=St==="icon",kt=yt!=null&&typeof yt!="boolean",sn=function(){Xe==null||Xe(Me)},cn=function(ar){(ar.key==="Enter"||ar.keyCode===E.Z.ENTER||ar.which===E.Z.ENTER)&&sn()},Ln=typeof nn=="function"?nn(mt):Ve.createElement("i",{className:"arrow"});Ln&&(Ln=Ve.createElement("div",{className:"".concat(Ie,"-expand-icon"),onClick:["header","icon"].includes(St)?sn:void 0},Ln));var Jn=Be()((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(Ie,"-item"),!0),"".concat(Ie,"-item-active"),fe),"".concat(Ie,"-item-disabled"),Ft),Oe),va=Be()(De,(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(Ie,"-header"),!0),"".concat(Ie,"-header-collapsible-only"),zt),"".concat(Ie,"-icon-collapsible-only"),wt)),Da={className:va,"aria-expanded":fe,"aria-disabled":Ft,onKeyDown:cn};return!zt&&!wt&&(Da.onClick=sn,Da.role=nt?"tab":"button",Da.tabIndex=Ft?-1:0),Ve.createElement("div",(0,Ne.Z)({},Te,{ref:Nt,className:Jn}),Ve.createElement("div",Da,at&&Ln,Ve.createElement("span",{className:"".concat(Ie,"-header-text"),onClick:St==="header"?sn:void 0},Bn),kt&&Ve.createElement("div",{className:"".concat(Ie,"-extra")},yt)),Ve.createElement(se.default,(0,Ne.Z)({visible:fe,leavedClassName:"".concat(Ie,"-content-hidden")},dn,{forceRender:Rt,removeOnLeave:un}),function(Na,ar){var $a=Na.className,fa=Na.style;return Ve.createElement(x,{ref:ar,prefixCls:Ie,className:$a,style:fa,isActive:fe,forceRender:Rt,role:nt?"tabpanel":void 0},yn)}))}),ne=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ue=function(Nt,ut){var at=ut.prefixCls,De=ut.accordion,fe=ut.collapsible,Xe=ut.destroyInactivePanel,Rt=ut.onItemClick,Oe=ut.activeKey,Ie=ut.openMotion,St=ut.expandIcon;return Nt.map(function(nt,Me){var yt=nt.children,Bn=nt.label,nn=nt.key,dn=nt.collapsible,un=nt.onItemClick,yn=nt.destroyInactivePanel,Te=(0,Ge.Z)(nt,re),Ft=String(nn!=null?nn:Me),zt=dn!=null?dn:fe,wt=yn!=null?yn:Xe,kt=function(Ln){zt!=="disabled"&&(Rt(Ln),un==null||un(Ln))},sn=!1;return De?sn=Oe[0]===Ft:sn=Oe.indexOf(Ft)>-1,Ve.createElement(ne,(0,Ne.Z)({},Te,{prefixCls:at,key:Ft,panelKey:Ft,isActive:sn,accordion:De,openMotion:Ie,expandIcon:St,header:Bn,collapsible:zt,onItemClick:kt,destroyInactivePanel:wt}),yt)})},ie=function(Nt,ut,at){if(!Nt)return null;var De=at.prefixCls,fe=at.accordion,Xe=at.collapsible,Rt=at.destroyInactivePanel,Oe=at.onItemClick,Ie=at.activeKey,St=at.openMotion,nt=at.expandIcon,Me=Nt.key||String(ut),yt=Nt.props,Bn=yt.header,nn=yt.headerClass,dn=yt.destroyInactivePanel,un=yt.collapsible,yn=yt.onItemClick,Te=!1;fe?Te=Ie[0]===Me:Te=Ie.indexOf(Me)>-1;var Ft=un!=null?un:Xe,zt=function(sn){Ft!=="disabled"&&(Oe(sn),yn==null||yn(sn))},wt={key:Me,panelKey:Me,header:Bn,headerClass:nn,isActive:Te,prefixCls:De,destroyInactivePanel:dn!=null?dn:Rt,openMotion:St,accordion:fe,children:Nt.props.children,onItemClick:zt,expandIcon:nt,collapsible:Ft};return typeof Nt.type=="string"?Nt:(Object.keys(wt).forEach(function(kt){typeof wt[kt]=="undefined"&&delete wt[kt]}),Ve.cloneElement(Nt,wt))};function ve(mt,Nt,ut){return Array.isArray(mt)?ue(mt,ut):(0,Je.Z)(Nt).map(function(at,De){return ie(at,De,ut)})}var be=ve,je=ee(26112);function Ae(mt){var Nt=mt;if(!Array.isArray(Nt)){var ut=(0,le.Z)(Nt);Nt=ut==="number"||ut==="string"?[Nt]:[]}return Nt.map(function(at){return String(at)})}var He=Ve.forwardRef(function(mt,Nt){var ut=mt.prefixCls,at=ut===void 0?"rc-collapse":ut,De=mt.destroyInactivePanel,fe=De===void 0?!1:De,Xe=mt.style,Rt=mt.accordion,Oe=mt.className,Ie=mt.children,St=mt.collapsible,nt=mt.openMotion,Me=mt.expandIcon,yt=mt.activeKey,Bn=mt.defaultActiveKey,nn=mt.onChange,dn=mt.items,un=Be()(at,Oe),yn=(0,st.Z)([],{value:yt,onChange:function(cn){return nn==null?void 0:nn(cn)},defaultValue:Bn,postState:Ae}),Te=(0,ke.Z)(yn,2),Ft=Te[0],zt=Te[1],wt=function(cn){return zt(function(){if(Rt)return Ft[0]===cn?[]:[cn];var Ln=Ft.indexOf(cn),Jn=Ln>-1;return Jn?Ft.filter(function(va){return va!==cn}):[].concat((0,Ze.Z)(Ft),[cn])})};(0,et.ZP)(!Ie,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var kt=be(dn,Ie,{prefixCls:at,accordion:Rt,openMotion:nt,expandIcon:Me,collapsible:St,destroyInactivePanel:fe,onItemClick:wt,activeKey:Ft});return Ve.createElement("div",(0,Ne.Z)({ref:Nt,className:un,style:Xe,role:Rt?"tablist":void 0},(0,je.Z)(mt,{aria:!0,data:!0})),kt)}),he=Object.assign(He,{Panel:ne}),qe=he,Ke=he.Panel,ht=ee(2738),Le=ee(62892),ot=ee(92343),lt=ee(36355),gt=ee(19716),ln=Ve.forwardRef((mt,Nt)=>{const{getPrefixCls:ut}=Ve.useContext(lt.E_),{prefixCls:at,className:De,showArrow:fe=!0}=mt,Xe=ut("collapse",at),Rt=Be()({[`${Xe}-no-arrow`]:!fe},De);return Ve.createElement(qe.Panel,Object.assign({ref:Nt},mt,{prefixCls:Xe,className:Rt}))}),xt=ee(17313),an=ee(8378),hn=ee(83116),$e=ee(37613);const dt=mt=>{const{componentCls:Nt,contentBg:ut,padding:at,headerBg:De,headerPadding:fe,collapseHeaderPaddingSM:Xe,collapseHeaderPaddingLG:Rt,collapsePanelBorderRadius:Oe,lineWidth:Ie,lineType:St,colorBorder:nt,colorText:Me,colorTextHeading:yt,colorTextDisabled:Bn,fontSize:nn,fontSizeLG:dn,lineHeight:un,marginSM:yn,paddingSM:Te,paddingLG:Ft,paddingXS:zt,motionDurationSlow:wt,fontSizeIcon:kt,contentPadding:sn}=mt,cn=`${Ie}px ${St} ${nt}`;return{[Nt]:Object.assign(Object.assign({},(0,xt.Wf)(mt)),{backgroundColor:De,border:cn,borderBottom:0,borderRadius:`${Oe}px`,"&-rtl":{direction:"rtl"},[`& > ${Nt}-item`]:{borderBottom:cn,"&:last-child":{[`
&,
& > ${Nt}-header`]:{borderRadius:`0 0 ${Oe}px ${Oe}px`}},[`> ${Nt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:fe,color:yt,lineHeight:un,cursor:"pointer",transition:`all ${wt}, visibility 0s`,[`> ${Nt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Nt}-expand-icon`]:{height:nn*un,display:"flex",alignItems:"center",paddingInlineEnd:yn},[`${Nt}-arrow`]:Object.assign(Object.assign({},(0,xt.Ro)()),{fontSize:kt,svg:{transition:`transform ${wt}`}}),[`${Nt}-header-text`]:{marginInlineEnd:"auto"}},[`${Nt}-header-collapsible-only`]:{cursor:"default",[`${Nt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Nt}-icon-collapsible-only`]:{cursor:"default",[`${Nt}-expand-icon`]:{cursor:"pointer"}}},[`${Nt}-content`]:{color:Me,backgroundColor:ut,borderTop:cn,[`& > ${Nt}-content-box`]:{padding:sn},"&-hidden":{display:"none"}},"&-small":{[`> ${Nt}-item`]:{[`> ${Nt}-header`]:{padding:Xe,paddingInlineStart:zt,[`> ${Nt}-expand-icon`]:{marginInlineStart:Te-zt}},[`> ${Nt}-content > ${Nt}-content-box`]:{padding:Te}}},"&-large":{[`> ${Nt}-item`]:{fontSize:dn,[`> ${Nt}-header`]:{padding:Rt,paddingInlineStart:at,[`> ${Nt}-expand-icon`]:{height:dn*un,marginInlineStart:Ft-at}},[`> ${Nt}-content > ${Nt}-content-box`]:{padding:Ft}}},[`${Nt}-item:last-child`]:{[`> ${Nt}-content`]:{borderRadius:`0 0 ${Oe}px ${Oe}px`}},[`& ${Nt}-item-disabled > ${Nt}-header`]:{"\n &,\n & > .arrow\n ":{color:Bn,cursor:"not-allowed"}},[`&${Nt}-icon-position-end`]:{[`& > ${Nt}-item`]:{[`> ${Nt}-header`]:{[`${Nt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:yn}}}}})}},rn=mt=>{const{componentCls:Nt}=mt,ut=`> ${Nt}-item > ${Nt}-header ${Nt}-arrow svg`;return{[`${Nt}-rtl`]:{[ut]:{transform:"rotate(180deg)"}}}},Vn=mt=>{const{componentCls:Nt,headerBg:ut,paddingXXS:at,colorBorder:De}=mt;return{[`${Nt}-borderless`]:{backgroundColor:ut,border:0,[`> ${Nt}-item`]:{borderBottom:`1px solid ${De}`},[`
> ${Nt}-item:last-child,
> ${Nt}-item:last-child ${Nt}-header
`]:{borderRadius:0},[`> ${Nt}-item:last-child`]:{borderBottom:0},[`> ${Nt}-item > ${Nt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Nt}-item > ${Nt}-content > ${Nt}-content-box`]:{paddingTop:at}}}},Zt=mt=>{const{componentCls:Nt,paddingSM:ut}=mt;return{[`${Nt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Nt}-item`]:{borderBottom:0,[`> ${Nt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Nt}-content-box`]:{paddingBlock:ut}}}}}};var Fn=(0,hn.Z)("Collapse",mt=>{const Nt=(0,$e.TS)(mt,{collapseHeaderPaddingSM:`${mt.paddingXS}px ${mt.paddingSM}px`,collapseHeaderPaddingLG:`${mt.padding}px ${mt.paddingLG}px`,collapsePanelBorderRadius:mt.borderRadiusLG});return[dt(Nt),Vn(Nt),Zt(Nt),rn(Nt),(0,an.Z)(Nt)]},mt=>({headerPadding:`${mt.paddingSM}px ${mt.padding}px`,headerBg:mt.colorFillAlter,contentPadding:`${mt.padding}px 16px`,contentBg:mt.colorBgContainer})),ct=Object.assign(Ve.forwardRef((mt,Nt)=>{const{getPrefixCls:ut,direction:at,collapse:De}=Ve.useContext(lt.E_),{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,bordered:Ie=!0,ghost:St,size:nt,expandIconPosition:Me="start",children:yt,expandIcon:Bn}=mt,nn=(0,gt.Z)(cn=>{var Ln;return(Ln=nt!=null?nt:cn)!==null&&Ln!==void 0?Ln:"middle"}),dn=ut("collapse",fe),un=ut(),[yn,Te]=Fn(dn),Ft=Ve.useMemo(()=>Me==="left"?"start":Me==="right"?"end":Me,[Me]),zt=function(){let cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Ln=Bn?Bn(cn):Ve.createElement(b.Z,{rotate:cn.isActive?90:void 0});return(0,ot.Tm)(Ln,()=>({className:Be()(Ln.props.className,`${dn}-arrow`)}))},wt=Be()(`${dn}-icon-position-${Ft}`,{[`${dn}-borderless`]:!Ie,[`${dn}-rtl`]:at==="rtl",[`${dn}-ghost`]:!!St,[`${dn}-${nn}`]:nn!=="middle"},De==null?void 0:De.className,Xe,Rt,Te),kt=Object.assign(Object.assign({},(0,Le.Z)(un)),{motionAppear:!1,leavedClassName:`${dn}-content-hidden`}),sn=Ve.useMemo(()=>yt?(0,Je.Z)(yt).map((cn,Ln)=>{var Jn,va;if(!((Jn=cn.props)===null||Jn===void 0)&&Jn.disabled){const Da=(va=cn.key)!==null&&va!==void 0?va:String(Ln),{disabled:Na,collapsible:ar}=cn.props,$a=Object.assign(Object.assign({},(0,ht.Z)(cn.props,["disabled"])),{key:Da,collapsible:ar!=null?ar:Na?"disabled":void 0});return(0,ot.Tm)(cn,$a)}return cn}):null,[yt]);return yn(Ve.createElement(qe,Object.assign({ref:Nt,openMotion:kt},(0,ht.Z)(mt,["rootClassName"]),{expandIcon:zt,prefixCls:dn,className:wt,style:Object.assign(Object.assign({},De==null?void 0:De.style),Oe)}),sn))}),{Panel:ln}),Lt=ct},5083:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Wu}});var b=ee(61186),de=ee.n(b),Be=ee(48736),Ne=ee(90111),Ze=ee.n(Ne),ke=ee(58319),le=ee.n(ke),st=ee(23250),et=ee.n(st),Ve=ee(74959),Ge=ee.n(Ve),Je=ee(10238),Ye=ee.n(Je),se=ee(33656),E=ee.n(se);de().extend(E()),de().extend(Ye()),de().extend(Ze()),de().extend(le()),de().extend(et()),de().extend(Ge()),de().extend(function(me,Se){var ye=Se.prototype,tt=ye.format;ye.format=function(qt){var Kt=(qt||"").replace("Wo","wo");return tt.bind(this)(Kt)}});var a={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"},x=function(Se){var ye=a[Se];return ye||Se.split("_")[0]},y=function(){(0,Be.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return de()()},getFixedDate:function(Se){return de()(Se,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Se){return Se.endOf("month")},getWeekDay:function(Se){var ye=Se.locale("en");return ye.weekday()+ye.localeData().firstDayOfWeek()},getYear:function(Se){return Se.year()},getMonth:function(Se){return Se.month()},getDate:function(Se){return Se.date()},getHour:function(Se){return Se.hour()},getMinute:function(Se){return Se.minute()},getSecond:function(Se){return Se.second()},addYear:function(Se,ye){return Se.add(ye,"year")},addMonth:function(Se,ye){return Se.add(ye,"month")},addDate:function(Se,ye){return Se.add(ye,"day")},setYear:function(Se,ye){return Se.year(ye)},setMonth:function(Se,ye){return Se.month(ye)},setDate:function(Se,ye){return Se.date(ye)},setHour:function(Se,ye){return Se.hour(ye)},setMinute:function(Se,ye){return Se.minute(ye)},setSecond:function(Se,ye){return Se.second(ye)},isAfter:function(Se,ye){return Se.isAfter(ye)},isValidate:function(Se){return Se.isValid()},locale:{getWeekFirstDay:function(Se){return de()().locale(x(Se)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Se,ye){return ye.locale(x(Se)).weekday(0)},getWeek:function(Se,ye){return ye.locale(x(Se)).week()},getShortWeekDays:function(Se){return de()().locale(x(Se)).localeData().weekdaysMin()},getShortMonths:function(Se){return de()().locale(x(Se)).localeData().monthsShort()},format:function(Se,ye,tt){return ye.locale(x(Se)).format(tt)},parse:function(Se,ye,tt){for(var it=x(Se),qt=0;qt<tt.length;qt+=1){var Kt=tt[qt],Zn=ye;if(Kt.includes("wo")||Kt.includes("Wo")){for(var Tn=Zn.split("-")[0],aa=Zn.split("-")[1],Ca=de()(Tn,"YYYY").startOf("year").locale(it),ga=0;ga<=52;ga+=1){var mn=Ca.add(ga,"week");if(mn.format("Wo")===aa)return mn}return y(),null}var Ba=de()(Zn,Kt,!0).locale(it);if(Ba.isValid())return Ba}return ye&&y(),null}}},ne=z,re=ee(53487),ue=ee(72308),ie=ee(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},be=ve,je=ee(7657),Ae=function(Se,ye){return ie.createElement(je.Z,(0,ue.Z)({},Se,{ref:ye,icon:be}))},He=ie.forwardRef(Ae),he=He,qe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Ke=qe,ht=function(Se,ye){return ie.createElement(je.Z,(0,ue.Z)({},Se,{ref:ye,icon:Ke}))},Le=ie.forwardRef(ht),ot=Le,lt=ee(19248),gt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},ft=gt,ln=function(Se,ye){return ie.createElement(je.Z,(0,ue.Z)({},Se,{ref:ye,icon:ft}))},xt=ie.forwardRef(ln),an=xt,hn=ee(92310),$e=ee.n(hn),dt=ee(96949),rn=ee(55090),Vn=ee(80237),Zt=ee(77205),Fn=ee(38793),ze=ee(49618),ct=ee(77321),Lt=ee(52487),mt=ee(18929),Nt=ee(26112),ut=ee(80547),at=ee(13697),De=10,fe=De*10,Xe=7;function Rt(me,Se){if(!me&&!Se)return!0;if(!me||!Se)return!1}function Oe(me,Se,ye){var tt=Rt(Se,ye);if(typeof tt=="boolean")return tt;var it=Math.floor(me.getYear(Se)/10),qt=Math.floor(me.getYear(ye)/10);return it===qt}function Ie(me,Se,ye){var tt=Rt(Se,ye);return typeof tt=="boolean"?tt:me.getYear(Se)===me.getYear(ye)}function St(me,Se){var ye=Math.floor(me.getMonth(Se)/3);return ye+1}function nt(me,Se,ye){var tt=Rt(Se,ye);return typeof tt=="boolean"?tt:Ie(me,Se,ye)&&St(me,Se)===St(me,ye)}function Me(me,Se,ye){var tt=Rt(Se,ye);return typeof tt=="boolean"?tt:Ie(me,Se,ye)&&me.getMonth(Se)===me.getMonth(ye)}function yt(me,Se,ye){var tt=Rt(Se,ye);return typeof tt=="boolean"?tt:me.getYear(Se)===me.getYear(ye)&&me.getMonth(Se)===me.getMonth(ye)&&me.getDate(Se)===me.getDate(ye)}function Bn(me,Se,ye){var tt=Rt(Se,ye);return typeof tt=="boolean"?tt:me.getHour(Se)===me.getHour(ye)&&me.getMinute(Se)===me.getMinute(ye)&&me.getSecond(Se)===me.getSecond(ye)}function nn(me,Se,ye,tt){var it=Rt(ye,tt);return typeof it=="boolean"?it:Ie(me,ye,tt)&&me.locale.getWeek(Se,ye)===me.locale.getWeek(Se,tt)}function dn(me,Se,ye){return yt(me,Se,ye)&&Bn(me,Se,ye)}function un(me,Se,ye,tt){return!Se||!ye||!tt?!1:!yt(me,Se,tt)&&!yt(me,ye,tt)&&me.isAfter(tt,Se)&&me.isAfter(ye,tt)}function yn(me,Se,ye){var tt=Se.locale.getWeekFirstDay(me),it=Se.setDate(ye,1),qt=Se.getWeekDay(it),Kt=Se.addDate(it,tt-qt);return Se.getMonth(Kt)===Se.getMonth(ye)&&Se.getDate(Kt)>1&&(Kt=Se.addDate(Kt,-7)),Kt}function Te(me,Se,ye){var tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Se){case"year":return ye.addYear(me,tt*10);case"quarter":case"month":return ye.addYear(me,tt);default:return ye.addMonth(me,tt)}}function Ft(me,Se){var ye=Se.generateConfig,tt=Se.locale,it=Se.format;return typeof it=="function"?it(me):ye.locale.format(tt.locale,me,it)}function zt(me,Se){var ye=Se.generateConfig,tt=Se.locale,it=Se.formatList;return!me||typeof it[0]=="function"?null:ye.locale.parse(tt.locale,me,it)}function wt(me){var Se=me.cellDate,ye=me.mode,tt=me.disabledDate,it=me.generateConfig;if(!tt)return!1;var qt=function(Ia,kn,sa){for(var Oa=kn;Oa<=sa;){var Br=void 0;switch(Ia){case"date":{if(Br=it.setDate(Se,Oa),!tt(Br))return!1;break}case"month":{if(Br=it.setMonth(Se,Oa),!wt({cellDate:Br,mode:"month",generateConfig:it,disabledDate:tt}))return!1;break}case"year":{if(Br=it.setYear(Se,Oa),!wt({cellDate:Br,mode:"year",generateConfig:it,disabledDate:tt}))return!1;break}}Oa+=1}return!0};switch(ye){case"date":case"week":return tt(Se);case"month":{var Kt=1,Zn=it.getDate(it.getEndDate(Se));return qt("date",Kt,Zn)}case"quarter":{var Tn=Math.floor(it.getMonth(Se)/3)*3,aa=Tn+2;return qt("month",Tn,aa)}case"year":return qt("month",0,11);case"decade":{var Ca=it.getYear(Se),ga=Math.floor(Ca/De)*De,mn=ga+De-1;return qt("year",ga,mn)}}}function kt(me,Se){var ye=Se.formatList,tt=Se.generateConfig,it=Se.locale;return(0,ut.Z)(function(){if(!me)return[[""],""];for(var qt="",Kt=[],Zn=0;Zn<ye.length;Zn+=1){var Tn=ye[Zn],aa=Ft(me,{generateConfig:tt,locale:it,format:Tn});Kt.push(aa),Zn===0&&(qt=aa)}return[Kt,qt]},[me,ye,it],function(qt,Kt){return!dn(tt,qt[0],Kt[0])||!(0,at.Z)(qt[1],Kt[1],!0)||!(0,at.Z)(qt[2],Kt[2],!0)})}function sn(me,Se){var ye=Se.formatList,tt=Se.generateConfig,it=Se.locale,qt=(0,ie.useState)(null),Kt=(0,Lt.Z)(qt,2),Zn=Kt[0],Tn=Kt[1],aa=(0,ie.useRef)(null);function Ca(sa){var Oa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(aa.current),Oa){Tn(sa);return}aa.current=requestAnimationFrame(function(){Tn(sa)})}var ga=kt(Zn,{formatList:ye,generateConfig:tt,locale:it}),mn=(0,Lt.Z)(ga,2),Ba=mn[1];function Ia(sa){Ca(sa)}function kn(){var sa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ca(null,sa)}return(0,ie.useEffect)(function(){kn(!0)},[me]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(aa.current)}},[]),[Ba,Ia,kn]}var cn=ee(10228),Ln=ee(16089),Jn=ee(80702),va=ee(29194),Da=new Map;function Na(me,Se){var ye;function tt(){(0,va.Z)(me)?Se():ye=(0,Ln.Z)(function(){tt()})}return tt(),function(){Ln.Z.cancel(ye)}}function ar(me,Se,ye){if(Da.get(me)&&cancelAnimationFrame(Da.get(me)),ye<=0){Da.set(me,requestAnimationFrame(function(){me.scrollTop=Se}));return}var tt=Se-me.scrollTop,it=tt/ye*10;Da.set(me,requestAnimationFrame(function(){me.scrollTop+=it,me.scrollTop!==Se&&ar(me,Se,ye-10)}))}function $a(me,Se){var ye=Se.onLeftRight,tt=Se.onCtrlLeftRight,it=Se.onUpDown,qt=Se.onPageUpDown,Kt=Se.onEnter,Zn=me.which,Tn=me.ctrlKey,aa=me.metaKey;switch(Zn){case cn.Z.LEFT:if(Tn||aa){if(tt)return tt(-1),!0}else if(ye)return ye(-1),!0;break;case cn.Z.RIGHT:if(Tn||aa){if(tt)return tt(1),!0}else if(ye)return ye(1),!0;break;case cn.Z.UP:if(it)return it(-1),!0;break;case cn.Z.DOWN:if(it)return it(1),!0;break;case cn.Z.PAGE_UP:if(qt)return qt(-1),!0;break;case cn.Z.PAGE_DOWN:if(qt)return qt(1),!0;break;case cn.Z.ENTER:if(Kt)return Kt(),!0;break}return!1}function fa(me,Se,ye,tt){var it=me;if(!it)switch(Se){case"time":it=tt?"hh:mm:ss a":"HH:mm:ss";break;case"week":it="gggg-wo";break;case"month":it="YYYY-MM";break;case"quarter":it="YYYY-[Q]Q";break;case"year":it="YYYY";break;default:it=ye?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return it}function yr(me,Se,ye){var tt=me==="time"?8:10,it=typeof Se=="function"?Se(ye.getNow()).length:Se.length;return Math.max(tt,it)+2}var en=null,On=new Set;function ia(me){return!en&&typeof window!="undefined"&&window.addEventListener&&(en=function(ye){(0,Jn.Z)(On).forEach(function(tt){tt(ye)})},window.addEventListener("mousedown",en)),On.add(me),function(){On.delete(me),On.size===0&&(window.removeEventListener("mousedown",en),en=null)}}function xa(me){var Se=me.target;if(me.composed&&Se.shadowRoot){var ye;return((ye=me.composedPath)===null||ye===void 0?void 0:ye.call(me)[0])||Se}return Se}var We=function(Se){return Se==="month"||Se==="date"?"year":Se},It=function(Se){return Se==="date"?"month":Se},_t=function(Se){return Se==="month"||Se==="date"?"quarter":Se},Vt=function(Se){return Se==="date"?"week":Se},Wt={year:We,month:It,quarter:_t,week:Vt,time:null,date:null};function Rn(me,Se){return me.some(function(ye){return ye&&ye.contains(Se)})}function wn(me){var Se=me.open,ye=me.value,tt=me.isClickOutside,it=me.triggerOpen,qt=me.forwardKeyDown,Kt=me.onKeyDown,Zn=me.blurToCancel,Tn=me.onSubmit,aa=me.onCancel,Ca=me.onFocus,ga=me.onBlur,mn=me.changeOnBlur,Ba=(0,ie.useState)(!1),Ia=(0,Lt.Z)(Ba,2),kn=Ia[0],sa=Ia[1],Oa=(0,ie.useState)(!1),Br=(0,Lt.Z)(Oa,2),vr=Br[0],wr=Br[1],jr=(0,ie.useRef)(!1),Lr=(0,ie.useRef)(!1),Gn=(0,ie.useRef)(!1),Ko={onMouseDown:function(){sa(!0),it(!0)},onKeyDown:function(zo){var qo=function(){Gn.current=!0};if(Kt(zo,qo),!Gn.current){switch(zo.which){case cn.Z.ENTER:{Se?Tn()!==!1&&sa(!0):it(!0),zo.preventDefault();return}case cn.Z.TAB:{kn&&Se&&!zo.shiftKey?(sa(!1),zo.preventDefault()):!kn&&Se&&!qt(zo)&&zo.shiftKey&&(sa(!0),zo.preventDefault());return}case cn.Z.ESC:{sa(!0),aa();return}}!Se&&![cn.Z.SHIFT].includes(zo.which)?it(!0):kn||qt(zo)}},onFocus:function(zo){sa(!0),wr(!0),Ca&&Ca(zo)},onBlur:function(zo){if(jr.current||!tt(document.activeElement)){jr.current=!1;return}Zn?setTimeout(function(){for(var qo=document,ii=qo.activeElement;ii&&ii.shadowRoot;)ii=ii.shadowRoot.activeElement;tt(ii)&&aa()},0):Se&&(it(!1),Lr.current&&Tn()),wr(!1),ga==null||ga(zo)}};return(0,ie.useEffect)(function(){Lr.current=!1},[Se]),(0,ie.useEffect)(function(){Lr.current=!0},[ye]),(0,ie.useEffect)(function(){return ia(function(fo){var zo=xa(fo),qo=tt(zo);Se&&(qo?!mn&&(!vr||qo)&&it(!1):(jr.current=!0,(0,Ln.Z)(function(){jr.current=!1})))})}),[Ko,{focused:vr,typing:kn}]}function vt(me,Se){return ie.useMemo(function(){return me||(Se?((0,Be.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Se).map(function(ye){var tt=(0,Lt.Z)(ye,2),it=tt[0],qt=tt[1];return{label:it,value:qt}})):[])},[me,Se])}var Bt=ee(34280);function pt(me){var Se=me.valueTexts,ye=me.onTextChange,tt=ie.useState(""),it=(0,Lt.Z)(tt,2),qt=it[0],Kt=it[1],Zn=ie.useRef([]);Zn.current=Se;function Tn(Ca){Kt(Ca),ye(Ca)}function aa(){Kt(Zn.current[0])}return(0,Bt.Z)(function(){Se.every(function(Ca){return Ca!==qt})&&aa()},[Se.join("||")]),[qt,Tn,aa]}var Sn=ie.createContext({}),Wn=Sn,An=ee(62853);function ka(me){var Se=me.cellRender,ye=me.monthCellRender,tt=me.dateRender,it=ie.useMemo(function(){if(Se)return Se;if(!(!ye&&!tt))return function(qt,Kt){var Zn=qt;return tt&&Kt.type==="date"?tt(Zn,Kt.today):ye&&Kt.type==="month"?ye(Zn,Kt.locale):Kt.originNode}},[Se,ye,tt]);return it}function pa(me,Se){for(var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",tt=String(me);tt.length<Se;)tt="".concat(ye).concat(me);return tt}var _n=function(){for(var Se=arguments.length,ye=new Array(Se),tt=0;tt<Se;tt++)ye[tt]=arguments[tt];return ye};function Ea(me){return me==null?[]:Array.isArray(me)?me:[me]}function Pa(me,Se){return me?me[Se]:null}function Dn(me,Se,ye){var tt=[Pa(me,0),Pa(me,1)];return tt[ye]=typeof Se=="function"?Se(tt[ye]):Se,!tt[0]&&!tt[1]?null:tt}function lr(me){return typeof me=="function"?me():me}function Nr(me){var Se=me.cellPrefixCls,ye=me.generateConfig,tt=me.rangedValue,it=me.hoverRangedValue,qt=me.isInView,Kt=me.isSameCell,Zn=me.offsetCell,Tn=me.today,aa=me.value;function Ca(ga){var mn,Ba=Zn(ga,-1),Ia=Zn(ga,1),kn=Pa(tt,0),sa=Pa(tt,1),Oa=Pa(it,0),Br=Pa(it,1),vr=un(ye,Oa,Br,ga);function wr(zo){return Kt(kn,zo)}function jr(zo){return Kt(sa,zo)}var Lr=Kt(Oa,ga),Gn=Kt(Br,ga),Ko=(vr||Gn)&&(!qt(Ba)||jr(Ba)),fo=(vr||Lr)&&(!qt(Ia)||wr(Ia));return mn={},(0,ze.Z)(mn,"".concat(Se,"-in-view"),qt(ga)),(0,ze.Z)(mn,"".concat(Se,"-in-range"),un(ye,kn,sa,ga)),(0,ze.Z)(mn,"".concat(Se,"-range-start"),wr(ga)),(0,ze.Z)(mn,"".concat(Se,"-range-end"),jr(ga)),(0,ze.Z)(mn,"".concat(Se,"-range-start-single"),wr(ga)&&!sa),(0,ze.Z)(mn,"".concat(Se,"-range-end-single"),jr(ga)&&!kn),(0,ze.Z)(mn,"".concat(Se,"-range-start-near-hover"),wr(ga)&&(Kt(Ba,Oa)||un(ye,Oa,Br,Ba))),(0,ze.Z)(mn,"".concat(Se,"-range-end-near-hover"),jr(ga)&&(Kt(Ia,Br)||un(ye,Oa,Br,Ia))),(0,ze.Z)(mn,"".concat(Se,"-range-hover"),vr),(0,ze.Z)(mn,"".concat(Se,"-range-hover-start"),Lr),(0,ze.Z)(mn,"".concat(Se,"-range-hover-end"),Gn),(0,ze.Z)(mn,"".concat(Se,"-range-hover-edge-start"),Ko),(0,ze.Z)(mn,"".concat(Se,"-range-hover-edge-end"),fo),(0,ze.Z)(mn,"".concat(Se,"-range-hover-edge-start-near-range"),Ko&&Kt(Ba,sa)),(0,ze.Z)(mn,"".concat(Se,"-range-hover-edge-end-near-range"),fo&&Kt(Ia,kn)),(0,ze.Z)(mn,"".concat(Se,"-today"),Kt(Tn,ga)),(0,ze.Z)(mn,"".concat(Se,"-selected"),Kt(aa,ga)),mn}return Ca}var Ur=ie.createContext({}),Sr=Ur;function Ue(me,Se,ye,tt,it){var qt=me.setHour(Se,ye);return qt=me.setMinute(qt,tt),qt=me.setSecond(qt,it),qt}function bn(me,Se,ye){if(!ye)return Se;var tt=Se;return tt=me.setHour(tt,me.getHour(ye)),tt=me.setMinute(tt,me.getMinute(ye)),tt=me.setSecond(tt,me.getSecond(ye)),tt}function Xt(me,Se,ye,tt,it,qt){var Kt=Math.floor(me/tt)*tt;if(Kt<me)return[Kt,60-it,60-qt];var Zn=Math.floor(Se/it)*it;if(Zn<Se)return[Kt,Zn,60-qt];var Tn=Math.floor(ye/qt)*qt;return[Kt,Zn,Tn]}function Nn(me,Se){var ye=me.getYear(Se),tt=me.getMonth(Se)+1,it=me.getEndDate(me.getFixedDate("".concat(ye,"-").concat(tt,"-01"))),qt=me.getDate(it),Kt=tt<10?"0".concat(tt):"".concat(tt);return"".concat(ye,"-").concat(Kt,"-").concat(qt)}function Kn(me){for(var Se=me.prefixCls,ye=me.disabledDate,tt=me.onSelect,it=me.picker,qt=me.rowNum,Kt=me.colNum,Zn=me.prefixColumn,Tn=me.rowClassName,aa=me.baseDate,Ca=me.getCellClassName,ga=me.getCellText,mn=me.getCellNode,Ba=me.getCellDate,Ia=me.generateConfig,kn=me.titleCell,sa=me.headerCells,Oa=ie.useContext(Wn),Br=Oa.onDateMouseEnter,vr=Oa.onDateMouseLeave,wr=Oa.mode,jr="".concat(Se,"-cell"),Lr=[],Gn=0;Gn<qt;Gn+=1){for(var Ko=[],fo=void 0,zo=function(){var pi,zi=Gn*Kt+qo,oo=Ba(aa,zi),Lo=wt({cellDate:oo,mode:wr,disabledDate:ye,generateConfig:Ia});qo===0&&(fo=oo,Zn&&Ko.push(Zn(fo)));var To=kn&&kn(oo),wi=ie.createElement("div",{className:"".concat(jr,"-inner")},ga(oo));Ko.push(ie.createElement("td",{key:qo,title:To,className:$e()(jr,(0,ct.Z)((pi={},(0,ze.Z)(pi,"".concat(jr,"-disabled"),Lo),(0,ze.Z)(pi,"".concat(jr,"-start"),ga(oo)===1||it==="year"&&Number(To)%10===0),(0,ze.Z)(pi,"".concat(jr,"-end"),To===Nn(Ia,oo)||it==="year"&&Number(To)%10===9),pi),Ca(oo))),onClick:function(){Lo||tt(oo)},onMouseEnter:function(){!Lo&&Br&&Br(oo)},onMouseLeave:function(){!Lo&&vr&&vr(oo)}},mn?mn(oo,wi):wi))},qo=0;qo<Kt;qo+=1)zo();Lr.push(ie.createElement("tr",{key:Gn,className:Tn&&Tn(fo)},Ko))}return ie.createElement("div",{className:"".concat(Se,"-body")},ie.createElement("table",{className:"".concat(Se,"-content")},sa&&ie.createElement("thead",null,ie.createElement("tr",null,sa)),ie.createElement("tbody",null,Lr)))}function la(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.prefixColumn,it=me.locale,qt=me.rowCount,Kt=me.viewDate,Zn=me.value,Tn=me.cellRender,aa=me.isSameCell,Ca=ie.useContext(Sr),ga=Ca.rangedValue,mn=Ca.hoverRangedValue,Ba=yn(it.locale,ye,Kt),Ia="".concat(Se,"-cell"),kn=ye.locale.getWeekFirstDay(it.locale),sa=ye.getNow(),Oa=[],Br=it.shortWeekDays||(ye.locale.getShortWeekDays?ye.locale.getShortWeekDays(it.locale):[]);tt&&Oa.push(ie.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var vr=0;vr<Xe;vr+=1)Oa.push(ie.createElement("th",{key:vr},Br[(vr+kn)%Xe]));var wr=Nr({cellPrefixCls:Ia,today:sa,value:Zn,generateConfig:ye,rangedValue:tt?null:ga,hoverRangedValue:tt?null:mn,isSameCell:aa||function(Lr,Gn){return yt(ye,Lr,Gn)},isInView:function(Gn){return Me(ye,Gn,Kt)},offsetCell:function(Gn,Ko){return ye.addDate(Gn,Ko)}}),jr=Tn?function(Lr,Gn){return Tn(Lr,{originNode:Gn,today:sa,type:"date",locale:it})}:void 0;return ie.createElement(Kn,(0,ue.Z)({},me,{rowNum:qt,colNum:Xe,baseDate:Ba,getCellNode:jr,getCellText:ye.getDate,getCellClassName:wr,getCellDate:ye.addDate,titleCell:function(Gn){return Ft(Gn,{locale:it,format:"YYYY-MM-DD",generateConfig:ye})},headerCells:Oa}))}var Qn=la,Un={visibility:"hidden"};function ur(me){var Se=me.prefixCls,ye=me.prevIcon,tt=ye===void 0?"\u2039":ye,it=me.nextIcon,qt=it===void 0?"\u203A":it,Kt=me.superPrevIcon,Zn=Kt===void 0?"\xAB":Kt,Tn=me.superNextIcon,aa=Tn===void 0?"\xBB":Tn,Ca=me.onSuperPrev,ga=me.onSuperNext,mn=me.onPrev,Ba=me.onNext,Ia=me.children,kn=ie.useContext(Wn),sa=kn.hideNextBtn,Oa=kn.hidePrevBtn;return ie.createElement("div",{className:Se},Ca&&ie.createElement("button",{type:"button",onClick:Ca,tabIndex:-1,className:"".concat(Se,"-super-prev-btn"),style:Oa?Un:{}},Zn),mn&&ie.createElement("button",{type:"button",onClick:mn,tabIndex:-1,className:"".concat(Se,"-prev-btn"),style:Oa?Un:{}},tt),ie.createElement("div",{className:"".concat(Se,"-view")},Ia),Ba&&ie.createElement("button",{type:"button",onClick:Ba,tabIndex:-1,className:"".concat(Se,"-next-btn"),style:sa?Un:{}},qt),ga&&ie.createElement("button",{type:"button",onClick:ga,tabIndex:-1,className:"".concat(Se,"-super-next-btn"),style:sa?Un:{}},aa))}var da=ur;function En(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.locale,it=me.viewDate,qt=me.onNextMonth,Kt=me.onPrevMonth,Zn=me.onNextYear,Tn=me.onPrevYear,aa=me.onYearClick,Ca=me.onMonthClick,ga=ie.useContext(Wn),mn=ga.hideHeader;if(mn)return null;var Ba="".concat(Se,"-header"),Ia=tt.shortMonths||(ye.locale.getShortMonths?ye.locale.getShortMonths(tt.locale):[]),kn=ye.getMonth(it),sa=ie.createElement("button",{type:"button",key:"year",onClick:aa,tabIndex:-1,className:"".concat(Se,"-year-btn")},Ft(it,{locale:tt,format:tt.yearFormat,generateConfig:ye})),Oa=ie.createElement("button",{type:"button",key:"month",onClick:Ca,tabIndex:-1,className:"".concat(Se,"-month-btn")},tt.monthFormat?Ft(it,{locale:tt,format:tt.monthFormat,generateConfig:ye}):Ia[kn]),Br=tt.monthBeforeYear?[Oa,sa]:[sa,Oa];return ie.createElement(da,(0,ue.Z)({},me,{prefixCls:Ba,onSuperPrev:Tn,onPrev:Kt,onNext:qt,onSuperNext:Zn}),Br)}var dr=En,xr=6;function Wr(me){var Se=me.prefixCls,ye=me.panelName,tt=ye===void 0?"date":ye,it=me.keyboardConfig,qt=me.active,Kt=me.operationRef,Zn=me.generateConfig,Tn=me.value,aa=me.viewDate,Ca=me.onViewDateChange,ga=me.onPanelChange,mn=me.onSelect,Ba="".concat(Se,"-").concat(tt,"-panel");Kt.current={onKeyDown:function(Oa){return $a(Oa,(0,ct.Z)({onLeftRight:function(vr){mn(Zn.addDate(Tn||aa,vr),"key")},onCtrlLeftRight:function(vr){mn(Zn.addYear(Tn||aa,vr),"key")},onUpDown:function(vr){mn(Zn.addDate(Tn||aa,vr*Xe),"key")},onPageUpDown:function(vr){mn(Zn.addMonth(Tn||aa,vr),"key")}},it))}};var Ia=function(Oa){var Br=Zn.addYear(aa,Oa);Ca(Br),ga(null,Br)},kn=function(Oa){var Br=Zn.addMonth(aa,Oa);Ca(Br),ga(null,Br)};return ie.createElement("div",{className:$e()(Ba,(0,ze.Z)({},"".concat(Ba,"-active"),qt))},ie.createElement(dr,(0,ue.Z)({},me,{prefixCls:Se,value:Tn,viewDate:aa,onPrevYear:function(){Ia(-1)},onNextYear:function(){Ia(1)},onPrevMonth:function(){kn(-1)},onNextMonth:function(){kn(1)},onMonthClick:function(){ga("month",aa)},onYearClick:function(){ga("year",aa)}})),ie.createElement(Qn,(0,ue.Z)({},me,{onSelect:function(Oa){return mn(Oa,"mouse")},prefixCls:Se,value:Tn,viewDate:aa,rowCount:xr})))}var Ir=Wr;function ha(me){var Se=ie.useContext(Wn),ye=Se.hideHeader;if(ye)return null;var tt=me.prefixCls,it=me.generateConfig,qt=me.locale,Kt=me.value,Zn=me.format,Tn="".concat(tt,"-header");return ie.createElement(da,{prefixCls:Tn},Kt?Ft(Kt,{locale:qt,format:Zn,generateConfig:it}):"\xA0")}var za=ha;function Ua(me){var Se=me.value,ye=me.generateConfig,tt=me.disabledMinutes,it=me.disabledSeconds,qt=me.minutes,Kt=me.seconds,Zn=me.use12Hours,Tn=function(Ca,ga,mn,Ba){var Ia=ye.getNow(),kn=Se||Ia,sa=ga<0?ye.getHour(Ia):ga,Oa=mn<0?ye.getMinute(Ia):mn,Br=Ba<0?ye.getSecond(Ia):Ba,vr=tt&&tt(sa);if(vr!=null&&vr.includes(Oa)){var wr=qt.find(function(Gn){return!vr.includes(Gn.value)});if(wr)Oa=wr.value;else return null}var jr=it&&it(sa,Oa);if(jr!=null&&jr.includes(Br)){var Lr=Kt.find(function(Gn){return!jr.includes(Gn.value)});if(Lr)Br=Lr.value;else return null}return kn=Ue(ye,kn,!Zn||!Ca?sa:sa+12,Oa,Br),kn};return Tn}function La(me){var Se=me.prefixCls,ye=me.units,tt=me.onSelect,it=me.value,qt=me.active,Kt=me.hideDisabledOptions,Zn=me.info,Tn=me.type,aa="".concat(Se,"-cell"),Ca=ie.useContext(Wn),ga=Ca.open,mn=(0,ie.useRef)(null),Ba=(0,ie.useRef)(new Map),Ia=(0,ie.useRef)();return(0,ie.useLayoutEffect)(function(){var kn=Ba.current.get(it);kn&&ga!==!1&&ar(mn.current,kn.offsetTop,120)},[it]),(0,ie.useLayoutEffect)(function(){if(ga){var kn=Ba.current.get(it);kn&&(Ia.current=Na(kn,function(){ar(mn.current,kn.offsetTop,0)}))}return function(){var sa;(sa=Ia.current)===null||sa===void 0||sa.call(Ia)}},[ga]),ie.createElement("ul",{className:$e()("".concat(Se,"-column"),(0,ze.Z)({},"".concat(Se,"-column-active"),qt)),ref:mn,style:{position:"relative"}},ye.map(function(kn){var sa;return Kt&&kn.disabled?null:ie.createElement("li",{key:kn.value,ref:function(Br){Ba.current.set(kn.value,Br)},className:$e()(aa,(sa={},(0,ze.Z)(sa,"".concat(aa,"-disabled"),kn.disabled),(0,ze.Z)(sa,"".concat(aa,"-selected"),it===kn.value),sa)),onClick:function(){kn.disabled||tt(kn.value)}},Zn.cellRender?Zn.cellRender(kn.value,{today:Zn.today,locale:Zn.locale,originNode:ie.createElement("div",{className:"".concat(aa,"-inner")},kn.label),type:"time",subType:Tn}):ie.createElement("div",{className:"".concat(aa,"-inner")},kn.label))}))}var Or=La;function no(me,Se){if(me.length!==Se.length)return!0;for(var ye=0;ye<me.length;ye+=1)if(me[ye].disabled!==Se[ye].disabled)return!0;return!1}function Fr(me,Se,ye,tt){for(var it=[],qt=ye>=1?ye|0:1,Kt=me;Kt<=Se;Kt+=qt)it.push({label:pa(Kt,2),value:Kt,disabled:(tt||[]).includes(Kt)});return it}function Er(me){var Se=me.generateConfig,ye=me.prefixCls,tt=me.operationRef,it=me.activeColumnIndex,qt=me.value,Kt=me.showHour,Zn=me.showMinute,Tn=me.showSecond,aa=me.use12Hours,Ca=me.hourStep,ga=Ca===void 0?1:Ca,mn=me.minuteStep,Ba=mn===void 0?1:mn,Ia=me.secondStep,kn=Ia===void 0?1:Ia,sa=me.disabledHours,Oa=me.disabledMinutes,Br=me.disabledSeconds,vr=me.disabledTime,wr=me.hideDisabledOptions,jr=me.onSelect,Lr=me.cellRender,Gn=me.locale,Ko=[],fo="".concat(ye,"-content"),zo="".concat(ye,"-time-panel"),qo,ii=qt?Se.getHour(qt):-1,pi=ii,zi=qt?Se.getMinute(qt):-1,oo=qt?Se.getSecond(qt):-1,Lo=Se.getNow(),To=ie.useMemo(function(){if(vr){var vn=vr(Lo);return[vn.disabledHours,vn.disabledMinutes,vn.disabledSeconds]}return[sa,Oa,Br]},[sa,Oa,Br,vr,Lo]),wi=(0,Lt.Z)(To,3),Ni=wi[0],fi=wi[1],Ro=wi[2],ol=Fr(0,23,ga,Ni&&Ni()),Xi=(0,ut.Z)(function(){return ol},ol,no);aa&&(qo=pi>=12,pi%=12);var Ee=ie.useMemo(function(){if(!aa)return[!1,!1];var vn=[!0,!0];return Xi.forEach(function(pn){var qn=pn.disabled,na=pn.value;qn||(na>=12?vn[1]=!1:vn[0]=!1)}),vn},[aa,Xi]),Ce=(0,Lt.Z)(Ee,2),Qe=Ce[0],rt=Ce[1],Pt=ie.useMemo(function(){return aa?Xi.filter(qo?function(vn){return vn.value>=12}:function(vn){return vn.value<12}).map(function(vn){var pn=vn.value%12,qn=pn===0?"12":pa(pn,2);return(0,ct.Z)((0,ct.Z)({},vn),{},{label:qn,value:pn})}):Xi},[aa,qo,Xi]),Et=Fr(0,59,Ba,fi&&fi(ii)),$t=Fr(0,59,kn,Ro&&Ro(ii,zi)),Yt=Ua({value:qt,generateConfig:Se,disabledMinutes:fi,disabledSeconds:Ro,minutes:Et,seconds:$t,use12Hours:aa});tt.current={onUpDown:function(pn){var qn=Ko[it];if(qn)for(var na=qn.units.findIndex(function(Xa){return Xa.value===qn.value}),ca=qn.units.length,Aa=1;Aa<ca;Aa+=1){var Ht=qn.units[(na+pn*Aa+ca)%ca];if(Ht.disabled!==!0){qn.onSelect(Ht.value);break}}}};function Ut(vn,pn,qn,na,ca){vn!==!1&&Ko.push({node:ie.cloneElement(pn,{prefixCls:zo,value:qn,active:it===Ko.length,onSelect:ca,units:na,hideDisabledOptions:wr}),onSelect:ca,value:qn,units:na})}Ut(Kt,ie.createElement(Or,{key:"hour",type:"hour",info:{today:Lo,locale:Gn,cellRender:Lr}}),pi,Pt,function(vn){jr(Yt(qo,vn,zi,oo),"mouse")}),Ut(Zn,ie.createElement(Or,{key:"minute",type:"minute",info:{today:Lo,locale:Gn,cellRender:Lr}}),zi,Et,function(vn){jr(Yt(qo,pi,vn,oo),"mouse")}),Ut(Tn,ie.createElement(Or,{key:"second",type:"second",info:{today:Lo,locale:Gn,cellRender:Lr}}),oo,$t,function(vn){jr(Yt(qo,pi,zi,vn),"mouse")});var Cn=-1;return typeof qo=="boolean"&&(Cn=qo?1:0),Ut(aa===!0,ie.createElement(Or,{key:"meridiem",type:"meridiem",info:{today:Lo,locale:Gn,cellRender:Lr}}),Cn,[{label:"AM",value:0,disabled:Qe},{label:"PM",value:1,disabled:rt}],function(vn){jr(Yt(!!vn,pi,zi,oo),"mouse")}),ie.createElement("div",{className:fo},Ko.map(function(vn){var pn=vn.node;return pn}))}var Pr=Er,si=function(Se){return Se.filter(function(ye){return ye!==!1}).length};function ai(me){var Se=me.generateConfig,ye=me.format,tt=ye===void 0?"HH:mm:ss":ye,it=me.prefixCls,qt=me.active,Kt=me.operationRef,Zn=me.showHour,Tn=me.showMinute,aa=me.showSecond,Ca=me.use12Hours,ga=Ca===void 0?!1:Ca,mn=me.onSelect,Ba=me.value,Ia="".concat(it,"-time-panel"),kn=ie.useRef(),sa=ie.useState(-1),Oa=(0,Lt.Z)(sa,2),Br=Oa[0],vr=Oa[1],wr=si([Zn,Tn,aa,ga]);return Kt.current={onKeyDown:function(Lr){return $a(Lr,{onLeftRight:function(Ko){vr((Br+Ko+wr)%wr)},onUpDown:function(Ko){Br===-1?vr(0):kn.current&&kn.current.onUpDown(Ko)},onEnter:function(){mn(Ba||Se.getNow(),"key"),vr(-1)}})},onBlur:function(){vr(-1)}},ie.createElement("div",{className:$e()(Ia,(0,ze.Z)({},"".concat(Ia,"-active"),qt))},ie.createElement(za,(0,ue.Z)({},me,{format:tt,prefixCls:it})),ie.createElement(Pr,(0,ue.Z)({},me,{prefixCls:it,activeColumnIndex:Br,operationRef:kn})))}var xi=ai,ho=_n("date","time");function yo(me){var Se=me.prefixCls,ye=me.operationRef,tt=me.generateConfig,it=me.value,qt=me.defaultValue,Kt=me.disabledTime,Zn=me.showTime,Tn=me.onSelect,aa=me.cellRender,Ca="".concat(Se,"-datetime-panel"),ga=ie.useState(null),mn=(0,Lt.Z)(ga,2),Ba=mn[0],Ia=mn[1],kn=ie.useRef({}),sa=ie.useRef({}),Oa=(0,An.Z)(Zn)==="object"?(0,ct.Z)({},Zn):{};function Br(Lr){var Gn=ho.indexOf(Ba)+Lr,Ko=ho[Gn]||null;return Ko}var vr=function(Gn){sa.current.onBlur&&sa.current.onBlur(Gn),Ia(null)};ye.current={onKeyDown:function(Gn){if(Gn.which===cn.Z.TAB){var Ko=Br(Gn.shiftKey?-1:1);return Ia(Ko),Ko&&Gn.preventDefault(),!0}if(Ba){var fo=Ba==="date"?kn:sa;return fo.current&&fo.current.onKeyDown&&fo.current.onKeyDown(Gn),!0}return[cn.Z.LEFT,cn.Z.RIGHT,cn.Z.UP,cn.Z.DOWN].includes(Gn.which)?(Ia("date"),!0):!1},onBlur:vr,onClose:vr};var wr=function(Gn,Ko){var fo=Gn;Ko==="date"&&!it&&Oa.defaultValue?(fo=tt.setHour(fo,tt.getHour(Oa.defaultValue)),fo=tt.setMinute(fo,tt.getMinute(Oa.defaultValue)),fo=tt.setSecond(fo,tt.getSecond(Oa.defaultValue))):Ko==="time"&&!it&&qt&&(fo=tt.setYear(fo,tt.getYear(qt)),fo=tt.setMonth(fo,tt.getMonth(qt)),fo=tt.setDate(fo,tt.getDate(qt))),Tn&&Tn(fo,"mouse")},jr=Kt?Kt(it||null):{};return ie.createElement("div",{className:$e()(Ca,(0,ze.Z)({},"".concat(Ca,"-active"),Ba))},ie.createElement(Ir,(0,ue.Z)({},me,{cellRender:aa,operationRef:kn,active:Ba==="date",onSelect:function(Gn){wr(bn(tt,Gn,!it&&(0,An.Z)(Zn)==="object"?Zn.defaultValue:null),"date")}})),ie.createElement(xi,(0,ue.Z)({},me,{cellRender:aa?function(Lr,Gn){return aa(Lr,(0,ct.Z)((0,ct.Z)({},Gn),{},{type:"time"}))}:void 0,format:void 0},Oa,jr,{disabledTime:null,defaultValue:void 0,operationRef:sa,active:Ba==="time",onSelect:function(Gn){wr(Gn,"time")}})))}var Go=yo;function Mo(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.viewDate,it=me.onPrevDecades,qt=me.onNextDecades,Kt=ie.useContext(Wn),Zn=Kt.hideHeader;if(Zn)return null;var Tn="".concat(Se,"-header"),aa=ye.getYear(tt),Ca=Math.floor(aa/fe)*fe,ga=Ca+fe-1;return ie.createElement(da,(0,ue.Z)({},me,{prefixCls:Tn,onSuperPrev:it,onSuperNext:qt}),Ca,"-",ga)}var Ao=Mo,gr=3,eo=4;function Qo(me){var Se=De-1,ye=me.prefixCls,tt=me.viewDate,it=me.generateConfig,qt=me.cellRender,Kt=me.locale,Zn="".concat(ye,"-cell"),Tn=it.getYear(tt),aa=Math.floor(Tn/De)*De,Ca=Math.floor(Tn/fe)*fe,ga=Ca+fe-1,mn=it.setYear(tt,Ca-Math.ceil((gr*eo*De-fe)/2)),Ba=function(sa){var Oa,Br=it.getYear(sa),vr=Br+Se;return Oa={},(0,ze.Z)(Oa,"".concat(Zn,"-in-view"),Ca<=Br&&vr<=ga),(0,ze.Z)(Oa,"".concat(Zn,"-selected"),Br===aa),Oa},Ia=qt?function(kn,sa){return qt(kn,{originNode:sa,today:it.getNow(),type:"decade",locale:Kt})}:void 0;return ie.createElement(Kn,(0,ue.Z)({},me,{rowNum:eo,colNum:gr,baseDate:mn,getCellNode:Ia,getCellText:function(sa){var Oa=it.getYear(sa);return"".concat(Oa,"-").concat(Oa+Se)},getCellClassName:Ba,getCellDate:function(sa,Oa){return it.addYear(sa,Oa*De)}}))}var Yo=Qo;function Oo(me){var Se=me.prefixCls,ye=me.onViewDateChange,tt=me.generateConfig,it=me.viewDate,qt=me.operationRef,Kt=me.onSelect,Zn=me.onPanelChange,Tn="".concat(Se,"-decade-panel");qt.current={onKeyDown:function(mn){return $a(mn,{onLeftRight:function(Ia){Kt(tt.addYear(it,Ia*De),"key")},onCtrlLeftRight:function(Ia){Kt(tt.addYear(it,Ia*fe),"key")},onUpDown:function(Ia){Kt(tt.addYear(it,Ia*De*gr),"key")},onEnter:function(){Zn("year",it)}})}};var aa=function(mn){var Ba=tt.addYear(it,mn*fe);ye(Ba),Zn(null,Ba)},Ca=function(mn){Kt(mn,"mouse"),Zn("year",mn)};return ie.createElement("div",{className:Tn},ie.createElement(Ao,(0,ue.Z)({},me,{prefixCls:Se,onPrevDecades:function(){aa(-1)},onNextDecades:function(){aa(1)}})),ie.createElement(Yo,(0,ue.Z)({},me,{prefixCls:Se,onSelect:Ca})))}var br=Oo;function ri(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.locale,it=me.viewDate,qt=me.onNextYear,Kt=me.onPrevYear,Zn=me.onYearClick,Tn=ie.useContext(Wn),aa=Tn.hideHeader;if(aa)return null;var Ca="".concat(Se,"-header");return ie.createElement(da,(0,ue.Z)({},me,{prefixCls:Ca,onSuperPrev:Kt,onSuperNext:qt}),ie.createElement("button",{type:"button",onClick:Zn,className:"".concat(Se,"-year-btn")},Ft(it,{locale:tt,format:tt.yearFormat,generateConfig:ye})))}var Hr=ri,ko=3,mo=4;function di(me){var Se=me.prefixCls,ye=me.locale,tt=me.value,it=me.viewDate,qt=me.generateConfig,Kt=me.cellRender,Zn=ie.useContext(Sr),Tn=Zn.rangedValue,aa=Zn.hoverRangedValue,Ca="".concat(Se,"-cell"),ga=Nr({cellPrefixCls:Ca,value:tt,generateConfig:qt,rangedValue:Tn,hoverRangedValue:aa,isSameCell:function(sa,Oa){return Me(qt,sa,Oa)},isInView:function(){return!0},offsetCell:function(sa,Oa){return qt.addMonth(sa,Oa)}}),mn=ye.shortMonths||(qt.locale.getShortMonths?qt.locale.getShortMonths(ye.locale):[]),Ba=qt.setMonth(it,0),Ia=Kt?function(kn,sa){return Kt(kn,{originNode:sa,locale:ye,today:qt.getNow(),type:"month"})}:void 0;return ie.createElement(Kn,(0,ue.Z)({},me,{rowNum:mo,colNum:ko,baseDate:Ba,getCellNode:Ia,getCellText:function(sa){return ye.monthFormat?Ft(sa,{locale:ye,format:ye.monthFormat,generateConfig:qt}):mn[qt.getMonth(sa)]},getCellClassName:ga,getCellDate:qt.addMonth,titleCell:function(sa){return Ft(sa,{locale:ye,format:"YYYY-MM",generateConfig:qt})}}))}var vi=di;function Ui(me){var Se=me.prefixCls,ye=me.operationRef,tt=me.onViewDateChange,it=me.generateConfig,qt=me.value,Kt=me.viewDate,Zn=me.onPanelChange,Tn=me.onSelect,aa="".concat(Se,"-month-panel");ye.current={onKeyDown:function(mn){return $a(mn,{onLeftRight:function(Ia){Tn(it.addMonth(qt||Kt,Ia),"key")},onCtrlLeftRight:function(Ia){Tn(it.addYear(qt||Kt,Ia),"key")},onUpDown:function(Ia){Tn(it.addMonth(qt||Kt,Ia*ko),"key")},onEnter:function(){Zn("date",qt||Kt)}})}};var Ca=function(mn){var Ba=it.addYear(Kt,mn);tt(Ba),Zn(null,Ba)};return ie.createElement("div",{className:aa},ie.createElement(Hr,(0,ue.Z)({},me,{prefixCls:Se,onPrevYear:function(){Ca(-1)},onNextYear:function(){Ca(1)},onYearClick:function(){Zn("year",Kt)}})),ie.createElement(vi,(0,ue.Z)({},me,{prefixCls:Se,onSelect:function(mn){Tn(mn,"mouse"),Zn("date",mn)}})))}var tl=Ui;function nl(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.locale,it=me.viewDate,qt=me.onNextYear,Kt=me.onPrevYear,Zn=me.onYearClick,Tn=ie.useContext(Wn),aa=Tn.hideHeader;if(aa)return null;var Ca="".concat(Se,"-header");return ie.createElement(da,(0,ue.Z)({},me,{prefixCls:Ca,onSuperPrev:Kt,onSuperNext:qt}),ie.createElement("button",{type:"button",onClick:Zn,className:"".concat(Se,"-year-btn")},Ft(it,{locale:tt,format:tt.yearFormat,generateConfig:ye})))}var Vo=nl,Fi=4,Wi=1;function dl(me){var Se=me.prefixCls,ye=me.locale,tt=me.value,it=me.viewDate,qt=me.generateConfig,Kt=me.cellRender,Zn=ie.useContext(Sr),Tn=Zn.rangedValue,aa=Zn.hoverRangedValue,Ca="".concat(Se,"-cell"),ga=Nr({cellPrefixCls:Ca,value:tt,generateConfig:qt,rangedValue:Tn,hoverRangedValue:aa,isSameCell:function(kn,sa){return nt(qt,kn,sa)},isInView:function(){return!0},offsetCell:function(kn,sa){return qt.addMonth(kn,sa*3)}}),mn=qt.setDate(qt.setMonth(it,0),1),Ba=Kt?function(Ia,kn){return Kt(Ia,{originNode:kn,locale:ye,today:qt.getNow(),type:"quarter"})}:void 0;return ie.createElement(Kn,(0,ue.Z)({},me,{rowNum:Wi,colNum:Fi,baseDate:mn,getCellNode:Ba,getCellText:function(kn){return Ft(kn,{locale:ye,format:ye.quarterFormat||"[Q]Q",generateConfig:qt})},getCellClassName:ga,getCellDate:function(kn,sa){return qt.addMonth(kn,sa*3)},titleCell:function(kn){return Ft(kn,{locale:ye,format:"YYYY-[Q]Q",generateConfig:qt})}}))}var gl=dl;function Pl(me){var Se=me.prefixCls,ye=me.operationRef,tt=me.onViewDateChange,it=me.generateConfig,qt=me.value,Kt=me.viewDate,Zn=me.onPanelChange,Tn=me.onSelect,aa="".concat(Se,"-quarter-panel");ye.current={onKeyDown:function(mn){return $a(mn,{onLeftRight:function(Ia){Tn(it.addMonth(qt||Kt,Ia*3),"key")},onCtrlLeftRight:function(Ia){Tn(it.addYear(qt||Kt,Ia),"key")},onUpDown:function(Ia){Tn(it.addYear(qt||Kt,Ia),"key")}})}};var Ca=function(mn){var Ba=it.addYear(Kt,mn);tt(Ba),Zn(null,Ba)};return ie.createElement("div",{className:aa},ie.createElement(Vo,(0,ue.Z)({},me,{prefixCls:Se,onPrevYear:function(){Ca(-1)},onNextYear:function(){Ca(1)},onYearClick:function(){Zn("year",Kt)}})),ie.createElement(gl,(0,ue.Z)({},me,{prefixCls:Se,onSelect:function(mn){Tn(mn,"mouse")}})))}var kr=Pl;function Qa(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.locale,it=me.value,qt=me.disabledDate,Kt=me.onSelect,Zn=ie.useContext(Sr),Tn=Zn.rangedValue,aa=Zn.hoverRangedValue,Ca=ie.useContext(Wn),ga=Ca.onDateMouseEnter,mn=Ca.onDateMouseLeave,Ba=(aa==null?void 0:aa[0])||(Tn==null?void 0:Tn[0]),Ia=(aa==null?void 0:aa[1])||(Tn==null?void 0:Tn[1]),kn="".concat(Se,"-cell"),sa=function(wr){var jr=wt({cellDate:wr,mode:"week",disabledDate:qt,generateConfig:ye});return ie.createElement("td",{key:"week",className:$e()(kn,"".concat(kn,"-week")),onClick:function(){jr||Kt(wr,"mouse")},onMouseEnter:function(){!jr&&ga&&ga(wr)},onMouseLeave:function(){!jr&&mn&&mn(wr)}},ie.createElement("div",{className:"".concat(kn,"-inner")},ye.locale.getWeek(tt.locale,wr)))},Oa="".concat(Se,"-week-panel-row"),Br=function(wr){var jr,Lr=nn(ye,tt.locale,Ba,wr),Gn=nn(ye,tt.locale,Ia,wr);return $e()(Oa,(jr={},(0,ze.Z)(jr,"".concat(Oa,"-selected"),!Tn&&nn(ye,tt.locale,it,wr)),(0,ze.Z)(jr,"".concat(Oa,"-range-start"),Lr),(0,ze.Z)(jr,"".concat(Oa,"-range-end"),Gn),(0,ze.Z)(jr,"".concat(Oa,"-range-hover"),!Lr&&!Gn&&un(ye,Ba,Ia,wr)),jr))};return ie.createElement(Ir,(0,ue.Z)({},me,{panelName:"week",prefixColumn:sa,rowClassName:Br,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Ga=Qa,Ya=10;function so(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.viewDate,it=me.onPrevDecade,qt=me.onNextDecade,Kt=me.onDecadeClick,Zn=ie.useContext(Wn),Tn=Zn.hideHeader;if(Tn)return null;var aa="".concat(Se,"-header"),Ca=ye.getYear(tt),ga=Math.floor(Ca/Ya)*Ya,mn=ga+Ya-1;return ie.createElement(da,(0,ue.Z)({},me,{prefixCls:aa,onSuperPrev:it,onSuperNext:qt}),ie.createElement("button",{type:"button",onClick:Kt,className:"".concat(Se,"-decade-btn")},ga,"-",mn))}var we=so,fn=3,Mn=4;function Sa(me){var Se=me.prefixCls,ye=me.value,tt=me.viewDate,it=me.locale,qt=me.generateConfig,Kt=me.cellRender,Zn=ie.useContext(Sr),Tn=Zn.rangedValue,aa=Zn.hoverRangedValue,Ca="".concat(Se,"-cell"),ga=qt.getYear(tt),mn=Math.floor(ga/Ya)*Ya,Ba=mn+Ya-1,Ia=qt.setYear(tt,mn-Math.ceil((fn*Mn-Ya)/2)),kn=qt.getNow(),sa=function(wr){var jr=qt.getYear(wr);return mn<=jr&&jr<=Ba},Oa=Nr({cellPrefixCls:Ca,value:ye,generateConfig:qt,rangedValue:Tn,hoverRangedValue:aa,isSameCell:function(wr,jr){return Ie(qt,wr,jr)},isInView:sa,offsetCell:function(wr,jr){return qt.addYear(wr,jr)}}),Br=Kt?function(vr,wr){return Kt(vr,{originNode:wr,today:kn,type:"year",locale:it})}:void 0;return ie.createElement(Kn,(0,ue.Z)({},me,{rowNum:Mn,colNum:fn,baseDate:Ia,getCellNode:Br,getCellText:qt.getYear,getCellClassName:Oa,getCellDate:qt.addYear,titleCell:function(wr){return Ft(wr,{locale:it,format:"YYYY",generateConfig:qt})}}))}var on=Sa;function Ma(me){var Se=me.prefixCls,ye=me.operationRef,tt=me.onViewDateChange,it=me.generateConfig,qt=me.value,Kt=me.viewDate,Zn=me.sourceMode,Tn=me.onSelect,aa=me.onPanelChange,Ca="".concat(Se,"-year-panel");ye.current={onKeyDown:function(Ba){return $a(Ba,{onLeftRight:function(kn){Tn(it.addYear(qt||Kt,kn),"key")},onCtrlLeftRight:function(kn){Tn(it.addYear(qt||Kt,kn*Ya),"key")},onUpDown:function(kn){Tn(it.addYear(qt||Kt,kn*fn),"key")},onEnter:function(){aa(Zn==="date"?"date":"month",qt||Kt)}})}};var ga=function(Ba){var Ia=it.addYear(Kt,Ba*10);tt(Ia),aa(null,Ia)};return ie.createElement("div",{className:Ca},ie.createElement(we,(0,ue.Z)({},me,{prefixCls:Se,onPrevDecade:function(){ga(-1)},onNextDecade:function(){ga(1)},onDecadeClick:function(){aa("decade",Kt)}})),ie.createElement(on,(0,ue.Z)({},me,{prefixCls:Se,onSelect:function(Ba){aa(Zn==="date"?"date":"month",Ba),Tn(Ba,"mouse")}})))}var Fa=Ma;function jn(me,Se,ye){return ye?ie.createElement("div",{className:"".concat(me,"-footer-extra")},ye(Se)):null}function Xn(me){var Se=me.prefixCls,ye=me.components,tt=ye===void 0?{}:ye,it=me.needConfirmButton,qt=me.onNow,Kt=me.onOk,Zn=me.okDisabled,Tn=me.showNow,aa=me.locale,Ca,ga;if(it){var mn=tt.button||"button";qt&&Tn!==!1&&(Ca=ie.createElement("li",{className:"".concat(Se,"-now")},ie.createElement("a",{className:"".concat(Se,"-now-btn"),onClick:qt},aa.now))),ga=it&&ie.createElement("li",{className:"".concat(Se,"-ok")},ie.createElement(mn,{disabled:Zn,onClick:Kt},aa.ok))}return!Ca&&!ga?null:ie.createElement("ul",{className:"".concat(Se,"-ranges")},Ca,ga)}var sr=["date","month"];function Ha(me){var Se,ye=me,tt=ye.prefixCls,it=tt===void 0?"rc-picker":tt,qt=ye.className,Kt=ye.style,Zn=ye.locale,Tn=ye.generateConfig,aa=ye.value,Ca=ye.defaultValue,ga=ye.pickerValue,mn=ye.defaultPickerValue,Ba=ye.disabledDate,Ia=ye.mode,kn=ye.picker,sa=kn===void 0?"date":kn,Oa=ye.tabIndex,Br=Oa===void 0?0:Oa,vr=ye.showNow,wr=ye.showTime,jr=ye.showToday,Lr=ye.renderExtraFooter,Gn=ye.hideHeader,Ko=ye.onSelect,fo=ye.onChange,zo=ye.onPanelChange,qo=ye.onMouseDown,ii=ye.onPickerValueChange,pi=ye.onOk,zi=ye.components,oo=ye.direction,Lo=ye.hourStep,To=Lo===void 0?1:Lo,wi=ye.minuteStep,Ni=wi===void 0?1:wi,fi=ye.secondStep,Ro=fi===void 0?1:fi,ol=ye.dateRender,Xi=ye.monthCellRender,Ee=ye.cellRender,Ce=sa==="date"&&!!wr||sa==="time",Qe=24%To===0,rt=60%Ni===0,Pt=60%Ro===0,Et=ie.useContext(Wn),$t=Et.operationRef,Yt=Et.onSelect,Ut=Et.hideRanges,Cn=Et.defaultOpenValue,vn=ie.useContext(Sr),pn=vn.inRange,qn=vn.panelPosition,na=vn.rangedValue,ca=vn.hoverRangedValue,Aa=ie.useRef({}),Ht=ie.useRef(!0),Xa=(0,mt.Z)(null,{value:aa,defaultValue:Ca,postState:function(pe){return!pe&&Cn&&sa==="time"?Cn:pe}}),_a=(0,Lt.Z)(Xa,2),rr=_a[0],Tr=_a[1],$r=(0,mt.Z)(null,{value:ga,defaultValue:mn||rr,postState:function(pe){var Pe=Tn.getNow();if(!pe)return Pe;if(!rr&&wr){var Ot=(0,An.Z)(wr)==="object"?wr.defaultValue:Ca;return bn(Tn,Array.isArray(pe)?pe[0]:pe,Ot||Pe)}return Array.isArray(pe)?pe[0]:pe}}),Dr=(0,Lt.Z)($r,2),Gr=Dr[0],zr=Dr[1],tr=function(pe){zr(pe),ii&&ii(pe)},nr=function(pe){var Pe=Wt[sa];return Pe?Pe(pe):pe},fr=(0,mt.Z)(function(){return sa==="time"?"time":nr("date")},{value:Ia}),Wa=(0,Lt.Z)(fr,2),or=Wa[0],Kr=Wa[1];ie.useEffect(function(){Kr(sa)},[sa]);var Po=ie.useState(function(){return or}),lo=(0,Lt.Z)(Po,2),Mr=lo[0],vo=lo[1],Bo=function(pe,Pe){var Ot=nr(pe||or);vo(or),Kr(Ot),zo&&(or!==Ot||dn(Tn,Gr,Gr))&&zo(Pe,Ot)},Ra=function(pe,Pe){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(or===sa||Ot)&&(Tr(pe),Ko&&Ko(pe),Yt&&Yt(pe,Pe),fo&&!dn(Tn,pe,rr)&&!(Ba!=null&&Ba(pe))&&fo(pe))},wo=function(pe){if(sr.includes(or)){var Pe,Ot,tn=or==="date";switch(pe===cn.Z.PAGE_UP||pe===cn.Z.PAGE_DOWN?Ot=tn?Tn.addMonth:Tn.addYear:Ot=tn?Tn.addDate:Tn.addMonth,pe){case cn.Z.LEFT:case cn.Z.PAGE_UP:Pe=Ot(Gr,-1);break;case cn.Z.RIGHT:case cn.Z.PAGE_DOWN:Pe=Ot(Gr,1);break;case cn.Z.UP:case cn.Z.DOWN:Pe=Ot(Gr,Number("".concat(pe===cn.Z.UP?"-":"").concat(tn?Xe:ko)));break}if(Pe)return!(Ba!=null&&Ba(Pe))}return!0},yi=function(pe){if(Aa.current&&Aa.current.onKeyDown){var Pe=!0,Ot=pe.which;if([cn.Z.LEFT,cn.Z.RIGHT,cn.Z.UP,cn.Z.DOWN,cn.Z.PAGE_UP,cn.Z.PAGE_DOWN,cn.Z.ENTER].includes(Ot)&&(pe.preventDefault(),Ot!==cn.Z.ENTER&&Br===0&&(Pe=wo(Ot))),Pe)return Aa.current.onKeyDown(pe)}return(0,Be.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Do=function(pe){Aa.current&&Aa.current.onBlur&&Aa.current.onBlur(pe)};$t&&qn!=="right"&&($t.current={onKeyDown:yi,onClose:function(){Aa.current&&Aa.current.onClose&&Aa.current.onClose()}}),ie.useEffect(function(){aa&&!Ht.current&&zr(aa)},[aa]),ie.useEffect(function(){Ht.current=!1},[]);var Xr,bi=ka({cellRender:Ee,monthCellRender:Xi,dateRender:ol}),Qr=(0,ct.Z)((0,ct.Z)({},me),{},{cellRender:bi,operationRef:Aa,prefixCls:it,viewDate:Gr,value:rr,onViewDateChange:tr,sourceMode:Mr,onPanelChange:Bo,disabledDate:Ba});switch(delete Qr.onChange,delete Qr.onSelect,or){case"decade":Xr=ie.createElement(br,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"year":Xr=ie.createElement(Fa,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"month":Xr=ie.createElement(tl,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"quarter":Xr=ie.createElement(kr,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"week":Xr=ie.createElement(Ga,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"time":delete Qr.showTime,Xr=ie.createElement(xi,(0,ue.Z)({},Qr,(0,An.Z)(wr)==="object"?wr:null,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;default:wr?Xr=ie.createElement(Go,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}})):Xr=ie.createElement(Ir,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}))}var gi,_o,_i=function(){var pe=Tn.getNow(),Pe=Xt(Tn.getHour(pe),Tn.getMinute(pe),Tn.getSecond(pe),Qe?To:1,rt?Ni:1,Pt?Ro:1),Ot=Ue(Tn,pe,Pe[0],Pe[1],Pe[2]);Ra(Ot,"submit")};Ut||(gi=jn(it,or,Lr),wr&&or!=="date"?_o=null:_o=Xn({prefixCls:it,components:zi,needConfirmButton:Ce,okDisabled:!rr||Ba&&Ba(rr),locale:Zn,showNow:vr,onNow:Ce&&_i,onOk:function(){rr&&(Ra(rr,"submit",!0),pi&&pi(rr))}}));var to;if(jr&&or==="date"&&sa==="date"&&!wr){var _r=Tn.getNow(),Yr="".concat(it,"-today-btn"),Zr=Ba&&Ba(_r);to=ie.createElement("a",{className:$e()(Yr,Zr&&"".concat(Yr,"-disabled")),"aria-disabled":Zr,onClick:function(){Zr||Ra(_r,"mouse",!0)}},Zn.today)}return ie.createElement(Wn.Provider,{value:(0,ct.Z)((0,ct.Z)({},Et),{},{mode:or,hideHeader:"hideHeader"in me?Gn:Et.hideHeader,hidePrevBtn:pn&&qn==="right",hideNextBtn:pn&&qn==="left"})},ie.createElement("div",{tabIndex:Br,className:$e()("".concat(it,"-panel"),qt,(Se={},(0,ze.Z)(Se,"".concat(it,"-panel-has-range"),na&&na[0]&&na[1]),(0,ze.Z)(Se,"".concat(it,"-panel-has-range-hover"),ca&&ca[0]&&ca[1]),(0,ze.Z)(Se,"".concat(it,"-panel-rtl"),oo==="rtl"),Se)),style:Kt,onKeyDown:yi,onBlur:Do,onMouseDown:qo},Xr,gi||_o||to?ie.createElement("div",{className:"".concat(it,"-footer")},gi,_o,to):null))}var Ta=Ha,Ja=ee(35593),Rr={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 bo(me){var Se,ye=me.prefixCls,tt=me.popupElement,it=me.popupStyle,qt=me.visible,Kt=me.dropdownClassName,Zn=me.dropdownAlign,Tn=me.transitionName,aa=me.getPopupContainer,Ca=me.children,ga=me.range,mn=me.popupPlacement,Ba=me.direction,Ia="".concat(ye,"-dropdown"),kn=function(){return mn!==void 0?mn:Ba==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(Ja.Z,{showAction:[],hideAction:[],popupPlacement:kn(),builtinPlacements:Rr,prefixCls:Ia,popupTransitionName:Tn,popup:tt,popupAlign:Zn,popupVisible:qt,popupClassName:$e()(Kt,(Se={},(0,ze.Z)(Se,"".concat(Ia,"-range"),ga),(0,ze.Z)(Se,"".concat(Ia,"-rtl"),Ba==="rtl"),Se)),popupStyle:it,getPopupContainer:aa},Ca)}var $o=bo;function Wo(me){var Se=me.prefixCls,ye=me.presets,tt=me.onClick,it=me.onHover;return ye.length?ie.createElement("div",{className:"".concat(Se,"-presets")},ie.createElement("ul",null,ye.map(function(qt,Kt){var Zn=qt.label,Tn=qt.value;return ie.createElement("li",{key:Kt,onClick:function(){return tt==null?void 0:tt(lr(Tn))},onMouseEnter:function(){return it==null?void 0:it(lr(Tn))},onMouseLeave:function(){return it==null?void 0:it(null)}},Zn)}))):null}function Ti(me){var Se=me.picker,ye=me.disabledHours,tt=me.disabledMinutes,it=me.disabledSeconds;Se==="time"&&(ye||tt||it)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Ji(me,Se,ye){var tt=(0,An.Z)(Se)==="object"?Se.clearIcon:ye;return tt||ie.createElement("span",{className:"".concat(me,"-clear-btn")})}function al(me){var Se,ye=me,tt=ye.prefixCls,it=tt===void 0?"rc-picker":tt,qt=ye.id,Kt=ye.name,Zn=ye.tabIndex,Tn=ye.style,aa=ye.className,Ca=ye.dropdownClassName,ga=ye.dropdownAlign,mn=ye.popupStyle,Ba=ye.transitionName,Ia=ye.generateConfig,kn=ye.locale,sa=ye.inputReadOnly,Oa=ye.allowClear,Br=ye.autoFocus,vr=ye.showTime,wr=ye.picker,jr=wr===void 0?"date":wr,Lr=ye.format,Gn=ye.use12Hours,Ko=ye.value,fo=ye.defaultValue,zo=ye.presets,qo=ye.open,ii=ye.defaultOpen,pi=ye.defaultOpenValue,zi=ye.suffixIcon,oo=ye.clearIcon,Lo=ye.disabled,To=ye.disabledDate,wi=ye.placeholder,Ni=ye.getPopupContainer,fi=ye.pickerRef,Ro=ye.panelRender,ol=ye.onChange,Xi=ye.onOpenChange,Ee=ye.onFocus,Ce=ye.onBlur,Qe=ye.onMouseDown,rt=ye.onMouseUp,Pt=ye.onMouseEnter,Et=ye.onMouseLeave,$t=ye.onContextMenu,Yt=ye.onClick,Ut=ye.onKeyDown,Cn=ye.onSelect,vn=ye.direction,pn=ye.autoComplete,qn=pn===void 0?"off":pn,na=ye.inputRender,ca=ye.changeOnBlur,Aa=ie.useRef(null),Ht=jr==="date"&&!!vr||jr==="time",Xa=vt(zo),_a=Ea(fa(Lr,jr,vr,Gn)),rr=ie.useRef(null),Tr=ie.useRef(null),$r=ie.useRef(null),Dr=(0,mt.Z)(null,{value:Ko,defaultValue:fo}),Gr=(0,Lt.Z)(Dr,2),zr=Gr[0],tr=Gr[1],nr=ie.useState(zr),fr=(0,Lt.Z)(nr,2),Wa=fr[0],or=fr[1],Kr=ie.useRef(null),Po=(0,mt.Z)(!1,{value:qo,defaultValue:ii,postState:function(ja){return Lo?!1:ja},onChange:function(ja){Xi&&Xi(ja),!ja&&Kr.current&&Kr.current.onClose&&Kr.current.onClose()}}),lo=(0,Lt.Z)(Po,2),Mr=lo[0],vo=lo[1],Bo=kt(Wa,{formatList:_a,generateConfig:Ia,locale:kn}),Ra=(0,Lt.Z)(Bo,2),wo=Ra[0],yi=Ra[1],Do=pt({valueTexts:wo,onTextChange:function(ja){var qr=zt(ja,{locale:kn,formatList:_a,generateConfig:Ia});qr&&(!To||!To(qr))&&or(qr)}}),Xr=(0,Lt.Z)(Do,3),bi=Xr[0],Qr=Xr[1],gi=Xr[2],_o=function(ja){or(ja),tr(ja),ol&&!dn(Ia,zr,ja)&&ol(ja,ja?Ft(ja,{generateConfig:Ia,locale:kn,format:_a[0]}):"")},_i=function(ja){Lo&&ja||vo(ja)},to=function(ja){return Mr&&Kr.current&&Kr.current.onKeyDown?Kr.current.onKeyDown(ja):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},_r=function(){for(var ja=arguments.length,qr=new Array(ja),cr=0;cr<ja;cr++)qr[cr]=arguments[cr];Yt==null||Yt.apply(void 0,qr),Aa.current&&(Aa.current.focus(),_i(!0))},Yr=function(ja){ca&&_o(Wa),Ce==null||Ce(ja)},Zr=wn({blurToCancel:Ht,open:Mr,value:bi,triggerOpen:_i,forwardKeyDown:to,isClickOutside:function(ja){return!Rn([rr.current,Tr.current,$r.current],ja)},onSubmit:function(){return!Wa||To&&To(Wa)?!1:(_o(Wa),_i(!1),gi(),!0)},onCancel:function(){_i(!1),or(zr),gi()},onKeyDown:function(ja,qr){Ut==null||Ut(ja,qr)},onFocus:Ee,onBlur:Yr,changeOnBlur:ca}),ce=(0,Lt.Z)(Zr,2),pe=ce[0],Pe=ce[1],Ot=Pe.focused,tn=Pe.typing;ie.useEffect(function(){Mr||(or(zr),!wo.length||wo[0]===""?Qr(""):yi!==bi&&gi())},[Mr,wo]),ie.useEffect(function(){Mr||gi()},[jr]),ie.useEffect(function(){or(zr)},[zr]),fi&&(fi.current={focus:function(){var ja;(ja=Aa.current)===null||ja===void 0||ja.focus()},blur:function(){var ja;(ja=Aa.current)===null||ja===void 0||ja.blur()}});var wa=sn(bi,{formatList:_a,generateConfig:Ia,locale:kn}),ma=(0,Lt.Z)(wa,3),zn=ma[0],jt=ma[1],Yn=ma[2],xn=(0,ct.Z)((0,ct.Z)({},me),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Ct=ie.createElement("div",{className:"".concat(it,"-panel-layout")},ie.createElement(Wo,{prefixCls:it,presets:Xa,onClick:function(ja){_o(ja),_i(!1)}}),ie.createElement(Ta,(0,ue.Z)({},xn,{generateConfig:Ia,className:$e()((0,ze.Z)({},"".concat(it,"-panel-focused"),!tn)),value:Wa,locale:kn,tabIndex:-1,onSelect:function(ja){Cn==null||Cn(ja),or(ja)},direction:vn,onPanelChange:function(ja,qr){var cr=me.onPanelChange;Yn(!0),cr==null||cr(ja,qr)}})));Ro&&(Ct=Ro(Ct));var gn=ie.createElement("div",{className:"".concat(it,"-panel-container"),ref:rr,onMouseDown:function(ja){ja.preventDefault()}},Ct),In;zi&&(In=ie.createElement("span",{className:"".concat(it,"-suffix"),onMouseDown:function(ja){ja.preventDefault()}},zi));var ra=Ji(it,Oa,oo),Hn=ie.createElement("span",{onMouseDown:function(ja){ja.preventDefault(),ja.stopPropagation()},onMouseUp:function(ja){ja.preventDefault(),ja.stopPropagation(),_o(null),_i(!1)},className:"".concat(it,"-clear"),role:"button"},ra),ba=!!Oa&&zr&&!Lo,ta=(0,ct.Z)((0,ct.Z)((0,ct.Z)({id:qt,tabIndex:Zn,disabled:Lo,readOnly:sa||typeof _a[0]=="function"||!tn,value:zn||bi,onChange:function(ja){Qr(ja.target.value)},autoFocus:Br,placeholder:wi,ref:Aa,title:bi},pe),{},{size:yr(jr,_a[0],Ia),name:Kt},(0,Nt.Z)(me,{aria:!0,data:!0})),{},{autoComplete:qn}),oa=na?na(ta):ie.createElement("input",ta),Ka=function(ja,qr){(qr==="submit"||qr!=="key"&&!Ht)&&(_o(ja),_i(!1))},Pn=vn==="rtl"?"bottomRight":"bottomLeft";return ie.createElement(Wn.Provider,{value:{operationRef:Kr,hideHeader:jr==="time",onSelect:Ka,open:Mr,defaultOpenValue:pi,onDateMouseEnter:jt,onDateMouseLeave:Yn}},ie.createElement($o,{visible:Mr,popupElement:gn,popupStyle:mn,prefixCls:it,dropdownClassName:Ca,dropdownAlign:ga,getPopupContainer:Ni,transitionName:Ba,popupPlacement:Pn,direction:vn},ie.createElement("div",{ref:$r,className:$e()(it,aa,(Se={},(0,ze.Z)(Se,"".concat(it,"-disabled"),Lo),(0,ze.Z)(Se,"".concat(it,"-focused"),Ot),(0,ze.Z)(Se,"".concat(it,"-rtl"),vn==="rtl"),Se)),style:Tn,onMouseDown:Qe,onMouseUp:rt,onMouseEnter:Pt,onMouseLeave:Et,onContextMenu:$t,onClick:_r},ie.createElement("div",{className:$e()("".concat(it,"-input"),(0,ze.Z)({},"".concat(it,"-input-placeholder"),!!zn)),ref:Tr},oa,In,ba&&Hn))))}var Zl=function(me){(0,Zt.Z)(ye,me);var Se=(0,Fn.Z)(ye);function ye(){var tt;(0,dt.Z)(this,ye);for(var it=arguments.length,qt=new Array(it),Kt=0;Kt<it;Kt++)qt[Kt]=arguments[Kt];return tt=Se.call.apply(Se,[this].concat(qt)),(0,ze.Z)((0,Vn.Z)(tt),"pickerRef",ie.createRef()),(0,ze.Z)((0,Vn.Z)(tt),"focus",function(){tt.pickerRef.current&&tt.pickerRef.current.focus()}),(0,ze.Z)((0,Vn.Z)(tt),"blur",function(){tt.pickerRef.current&&tt.pickerRef.current.blur()}),tt}return(0,rn.Z)(ye,[{key:"render",value:function(){return ie.createElement(al,(0,ue.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ye}(ie.Component),Al=Zl;function So(me,Se){var ye=me.picker,tt=me.locale,it=me.selectedValue,qt=me.disabledDate,Kt=me.disabled,Zn=me.generateConfig,Tn=Pa(it,0),aa=Pa(it,1);function Ca(kn){return Zn.locale.getWeekFirstDate(tt.locale,kn)}function ga(kn){var sa=Zn.getYear(kn),Oa=Zn.getMonth(kn);return sa*100+Oa}function mn(kn){var sa=Zn.getYear(kn),Oa=St(Zn,kn);return sa*10+Oa}var Ba=ie.useCallback(function(kn){if(Kt[0]||qt&&qt(kn))return!0;if(Kt[1]&&aa)return!yt(Zn,kn,aa)&&Zn.isAfter(kn,aa);if(!Se&&aa)switch(ye){case"quarter":return mn(kn)>mn(aa);case"month":return ga(kn)>ga(aa);case"week":return Ca(kn)>Ca(aa);default:return!yt(Zn,kn,aa)&&Zn.isAfter(kn,aa)}return!1},[qt,Kt[1],aa,Se]),Ia=ie.useCallback(function(kn){if(Kt[1]||qt&&qt(kn))return!0;if(Kt[0]&&Tn)return!yt(Zn,kn,aa)&&Zn.isAfter(Tn,kn);if(!Se&&Tn)switch(ye){case"quarter":return mn(kn)<mn(Tn);case"month":return ga(kn)<ga(Tn);case"week":return Ca(kn)<Ca(Tn);default:return!yt(Zn,kn,Tn)&&Zn.isAfter(Tn,kn)}return!1},[qt,Kt[0],Tn,Se]);return[Ba,Ia]}var yl=ee(70425),eu=ee(6089);function Nl(me,Se,ye,tt,it,qt,Kt,Zn,Tn,aa){var Ca=ie.useState(!1),ga=(0,Lt.Z)(Ca,2),mn=ga[0],Ba=ga[1],Ia=(0,yl.useMergedState)(me||!1,{value:Se}),kn=(0,Lt.Z)(Ia,2),sa=kn[0],Oa=kn[1],Br=(0,yl.useMergedState)(me||!1,{value:Se,onChange:function(To){aa==null||aa(To)}}),vr=(0,Lt.Z)(Br,2),wr=vr[0],jr=vr[1],Lr=(0,yl.useMergedState)(0,{value:ye}),Gn=(0,Lt.Z)(Lr,2),Ko=Gn[0],fo=Gn[1],zo=ie.useState(null),qo=(0,Lt.Z)(zo,2),ii=qo[0],pi=qo[1];ie.useEffect(function(){wr&&Ba(!0)},[wr]);var zi=function(To){return To===0?1:0},oo=(0,eu.Z)(function(Lo,To,wi){if(To===!1)jr(Lo);else if(Lo){fo(To),jr(Lo);var Ni=zi(To);!wr||![Kt,Zn][Ni]?pi(Ni):(Ba(!1),ii!==null&&pi(null))}else if(wi==="confirm"||wi==="blur"&&tt){var fi=sa?zi(To):ii;fi!==null&&(Ba(!1),fo(fi)),pi(null),fi!==null&&!Tn[fi]?(0,Ln.Z)(function(){var Ro,ol=[it,qt][fi];(Ro=ol.current)===null||Ro===void 0||Ro.focus()}):jr(!1)}else jr(!1),Oa(!1)});return[wr,Ko,mn,oo]}function xl(me,Se,ye,tt){var it=Te(me,ye,tt,1);function qt(Kt){return Kt(me,Se)?"same":Kt(it,Se)?"closing":"far"}switch(ye){case"year":return qt(function(Kt,Zn){return Oe(tt,Kt,Zn)});case"quarter":case"month":return qt(function(Kt,Zn){return Ie(tt,Kt,Zn)});default:return qt(function(Kt,Zn){return Me(tt,Kt,Zn)})}}function tu(me,Se,ye,tt){var it=Pa(me,0),qt=Pa(me,1);if(Se===0)return it;if(it&&qt){var Kt=xl(it,qt,ye,tt);switch(Kt){case"same":return it;case"closing":return it;default:return Te(qt,ye,tt,-1)}}return it}function Qu(me){var Se=me.values,ye=me.picker,tt=me.defaultDates,it=me.generateConfig,qt=ie.useState(function(){return[Pa(tt,0),Pa(tt,1)]}),Kt=(0,Lt.Z)(qt,2),Zn=Kt[0],Tn=Kt[1],aa=ie.useState(null),Ca=(0,Lt.Z)(aa,2),ga=Ca[0],mn=Ca[1],Ba=Pa(Se,0),Ia=Pa(Se,1);function kn(Oa){return Zn[Oa]?Zn[Oa]:Pa(ga,Oa)||tu(Se,Oa,ye,it)||Ba||Ia||it.getNow()}function sa(Oa,Br){if(Oa){var vr=Dn(ga,Oa,Br);Tn(Dn(Zn,null,Br)||[null,null]);var wr=(Br+1)%2;Pa(Se,wr)||(vr=Dn(vr,Oa,wr)),mn(vr)}else(Ba||Ia)&&mn(null)}return[kn,sa]}function su(me,Se){return me&&me[0]&&me[1]&&Se.isAfter(me[0],me[1])?[me[1],me[0]]:me}function mu(me,Se,ye,tt){return!!(me||tt&&tt[Se]||ye[(Se+1)%2])}function Yu(me){var Se,ye,tt,it=me,qt=it.prefixCls,Kt=qt===void 0?"rc-picker":qt,Zn=it.id,Tn=it.style,aa=it.className,Ca=it.popupStyle,ga=it.dropdownClassName,mn=it.transitionName,Ba=it.dropdownAlign,Ia=it.getPopupContainer,kn=it.generateConfig,sa=it.locale,Oa=it.placeholder,Br=it.autoFocus,vr=it.disabled,wr=it.format,jr=it.picker,Lr=jr===void 0?"date":jr,Gn=it.showTime,Ko=it.use12Hours,fo=it.separator,zo=fo===void 0?"~":fo,qo=it.value,ii=it.defaultValue,pi=it.defaultPickerValue,zi=it.open,oo=it.defaultOpen,Lo=it.disabledDate,To=it.disabledTime,wi=it.dateRender,Ni=it.monthCellRender,fi=it.cellRender,Ro=it.panelRender,ol=it.presets,Xi=it.ranges,Ee=it.allowEmpty,Ce=it.allowClear,Qe=it.suffixIcon,rt=it.clearIcon,Pt=it.pickerRef,Et=it.inputReadOnly,$t=it.mode,Yt=it.renderExtraFooter,Ut=it.onChange,Cn=it.onOpenChange,vn=it.onPanelChange,pn=it.onCalendarChange,qn=it.onFocus,na=it.onBlur,ca=it.onMouseDown,Aa=it.onMouseUp,Ht=it.onMouseEnter,Xa=it.onMouseLeave,_a=it.onClick,rr=it.onOk,Tr=it.onKeyDown,$r=it.components,Dr=it.order,Gr=it.direction,zr=it.activePickerIndex,tr=it.autoComplete,nr=tr===void 0?"off":tr,fr=it.changeOnBlur,Wa=Lr==="date"&&!!Gn||Lr==="time",or=(0,ie.useRef)(null),Kr=(0,ie.useRef)(null),Po=(0,ie.useRef)(null),lo=(0,ie.useRef)(null),Mr=(0,ie.useRef)(null),vo=(0,ie.useRef)(null),Bo=(0,ie.useRef)(null),Ra=(0,ie.useRef)(null),wo=Ea(fa(wr,Lr,Gn,Ko)),yi=(0,ie.useRef)(null),Do=ie.useMemo(function(){return Array.isArray(vr)?vr:[vr||!1,vr||!1]},[vr]),Xr=(0,mt.Z)(null,{value:qo,defaultValue:ii,postState:function(Jr){return Lr==="time"&&!Dr?Jr:su(Jr,kn)}}),bi=(0,Lt.Z)(Xr,2),Qr=bi[0],gi=bi[1],_o=Qu({values:Qr,picker:Lr,defaultDates:pi,generateConfig:kn}),_i=(0,Lt.Z)(_o,2),to=_i[0],_r=_i[1],Yr=(0,mt.Z)(Qr,{postState:function(Jr){var Io=Jr;if(Do[0]&&Do[1])return Io;for(var Pi=0;Pi<2;Pi+=1)Do[Pi]&&!Io&&!Pa(Io,Pi)&&!Pa(Ee,Pi)&&(Io=Dn(Io,kn.getNow(),Pi));return Io}}),Zr=(0,Lt.Z)(Yr,2),ce=Zr[0],pe=Zr[1],Pe=(0,mt.Z)([Lr,Lr],{value:$t}),Ot=(0,Lt.Z)(Pe,2),tn=Ot[0],wa=Ot[1];(0,ie.useEffect)(function(){wa([Lr,Lr])},[Lr]);var ma=function(Jr,Io){wa(Jr),vn&&vn(Io,Jr)},zn=Nl(oo,zi,zr,fr,vo,Bo,Pa(ce,0),Pa(ce,1),Do,Cn),jt=(0,Lt.Z)(zn,4),Yn=jt[0],xn=jt[1],Ct=jt[2],gn=jt[3],In=Yn&&xn===0,ra=Yn&&xn===1,Hn=So({picker:Lr,selectedValue:ce,locale:sa,disabled:Do,disabledDate:Lo,generateConfig:kn},!Yn||Ct),ba=(0,Lt.Z)(Hn,2),ta=ba[0],oa=ba[1],Ka=(0,ie.useState)(0),Pn=(0,Lt.Z)(Ka,2),ya=Pn[0],ja=Pn[1];(0,ie.useEffect)(function(){!Yn&&or.current&&ja(or.current.offsetWidth)},[Yn]);function qr(Ei){gn(!0,Ei,"open"),(0,Ln.Z)(function(){var Jr,Io=[vo,Bo][Ei];(Jr=Io.current)===null||Jr===void 0||Jr.focus()},0)}function cr(Ei,Jr){var Io=Ei,Pi=Pa(Io,0),Yi=Pa(Io,1);Pi&&Yi&&kn.isAfter(Pi,Yi)&&(Lr==="week"&&!nn(kn,sa.locale,Pi,Yi)||Lr==="quarter"&&!nt(kn,Pi,Yi)||Lr!=="week"&&Lr!=="quarter"&&Lr!=="time"&&!yt(kn,Pi,Yi)?Jr===0?(Io=[Pi,null],Yi=null):(Pi=null,Io=[null,Yi]):(Lr!=="time"||Dr!==!1)&&(Io=su(Io,kn))),pe(Io);var Pu=Io&&Io[0]?Ft(Io[0],{generateConfig:kn,locale:sa,format:wo[0]}):"",Ql=Io&&Io[1]?Ft(Io[1],{generateConfig:kn,locale:sa,format:wo[0]}):"";if(pn){var iu={range:Jr===0?"start":"end"};pn(Io,[Pu,Ql],iu)}var ql=mu(Pi,0,Do,Ee),cs=mu(Yi,1,Do,Ee),Uu=Io===null||ql&&cs;Uu&&(gi(Io),Ut&&(!dn(kn,Pa(Qr,0),Pi)||!dn(kn,Pa(Qr,1),Yi))&&Ut(Io,[Pu,Ql]))}var li=function(Jr){return Yn&&yi.current&&yi.current.onKeyDown?yi.current.onKeyDown(Jr):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Za={formatList:wo,generateConfig:kn,locale:sa},Co=kt(Pa(ce,0),Za),Cr=(0,Lt.Z)(Co,2),ao=Cr[0],Eo=Cr[1],hi=kt(Pa(ce,1),Za),mi=(0,Lt.Z)(hi,2),pr=mi[0],po=mi[1],Ki=function(Jr,Io){var Pi=zt(Jr,{locale:sa,formatList:wo,generateConfig:kn}),Yi=Io===0?ta:oa;Pi&&!Yi(Pi)&&(pe(Dn(ce,Pi,Io)),_r(Pi,Io))},Li=pt({valueTexts:ao,onTextChange:function(Jr){return Ki(Jr,0)}}),ea=(0,Lt.Z)(Li,3),xo=ea[0],Ri=ea[1],Zo=ea[2],Ci=pt({valueTexts:pr,onTextChange:function(Jr){return Ki(Jr,1)}}),Mi=(0,Lt.Z)(Ci,3),oi=Mi[0],il=Mi[1],ll=Mi[2],jl=(0,ie.useState)(null),Ii=(0,Lt.Z)(jl,2),cl=Ii[0],Bl=Ii[1],Gl=(0,ie.useState)(null),No=(0,Lt.Z)(Gl,2),Si=No[0],$i=No[1],Zi=sn(xo,{formatList:wo,generateConfig:kn,locale:sa}),hl=(0,Lt.Z)(Zi,3),ul=hl[0],sl=hl[1],wl=hl[2],Rl=sn(oi,{formatList:wo,generateConfig:kn,locale:sa}),ml=(0,Lt.Z)(Rl,3),qi=ml[0],Wl=ml[1],Jo=ml[2],vu=function(Jr){$i(Dn(ce,Jr,xn)),xn===0?sl(Jr):Wl(Jr)},pu=function(){$i(Dn(ce,null,xn)),xn===0?wl():Jo()},Kl=ie.useState(Yn),gu=(0,Lt.Z)(Kl,2),ua=gu[0],er=gu[1];ie.useEffect(function(){er(Yn)},[Yn]);var Ho=function(Jr){if(fr&&ua){var Io=Pa(ce,xn);Io&&cr(ce,xn)}return na==null?void 0:na(Jr)},uo=function(Jr,Io){return{blurToCancel:!fr&&Wa,forwardKeyDown:li,onBlur:Ho,isClickOutside:function(Yi){return!Rn([Kr.current,Po.current,lo.current,or.current],Yi)},onFocus:function(Yi){qn&&qn(Yi)},triggerOpen:function(Yi){Yi?gn(Yi,Jr,"open"):gn(Yi,Pa(ce,Jr)?Jr:!1,"blur")},onSubmit:function(){if(!ce||Lo&&Lo(ce[Jr]))return!1;cr(ce,Jr),Io(),gn(!1,xn,"confirm")},onCancel:function(){gn(!1,Jr,"cancel"),pe(Qr),Io()}}},Fo={onKeyDown:function(Jr,Io){Tr==null||Tr(Jr,Io)},changeOnBlur:fr},Xo=wn((0,ct.Z)((0,ct.Z)({},uo(0,Zo)),{},{open:In,value:xo},Fo)),Vi=(0,Lt.Z)(Xo,2),Di=Vi[0],fl=Vi[1],el=fl.focused,Ml=fl.typing,ou=wn((0,ct.Z)((0,ct.Z)({},uo(1,ll)),{},{open:ra,value:oi},Fo)),ei=(0,Lt.Z)(ou,2),Hi=ei[0],Dl=ei[1],Sl=Dl.focused,Vl=Dl.typing,kl=function(Jr){_a&&_a(Jr),!Yn&&!vo.current.contains(Jr.target)&&!Bo.current.contains(Jr.target)&&(Do[0]?Do[1]||qr(1):qr(0))},Ku=function(Jr){ca&&ca(Jr),Yn&&(el||Sl)&&!vo.current.contains(Jr.target)&&!Bo.current.contains(Jr.target)&&Jr.preventDefault()},Vu=Qr&&Qr[0]?Ft(Qr[0],{locale:sa,format:"YYYYMMDDHHmmss",generateConfig:kn}):"",$u=Qr&&Qr[1]?Ft(Qr[1],{locale:sa,format:"YYYYMMDDHHmmss",generateConfig:kn}):"";(0,ie.useEffect)(function(){Yn||(pe(Qr),!ao.length||ao[0]===""?Ri(""):Eo!==xo&&Zo(),!pr.length||pr[0]===""?il(""):po!==oi&&ll())},[Yn,ao,pr]),(0,ie.useEffect)(function(){pe(Qr)},[Vu,$u]);var hu=ka({cellRender:fi,monthCellRender:Ni,dateRender:wi}),Es=ie.useMemo(function(){if(hu)return function(Ei,Jr){return hu(Ei,(0,ct.Z)((0,ct.Z)({},Jr),{},{range:xn?"end":"start"}))}},[xn,hu]);Pt&&(Pt.current={focus:function(){vo.current&&vo.current.focus()},blur:function(){vo.current&&vo.current.blur(),Bo.current&&Bo.current.blur()}});var vs=vt(ol,Xi);function ds(){var Ei=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Io=null;Yn&&Si&&Si[0]&&Si[1]&&kn.isAfter(Si[1],Si[0])&&(Io=Si);var Pi=Gn;if(Gn&&(0,An.Z)(Gn)==="object"&&Gn.defaultValue){var Yi=Gn.defaultValue;Pi=(0,ct.Z)((0,ct.Z)({},Gn),{},{defaultValue:Pa(Yi,xn)||void 0})}return ie.createElement(Sr.Provider,{value:{inRange:!0,panelPosition:Ei,rangedValue:cl||ce,hoverRangedValue:Io}},ie.createElement(Ta,(0,ue.Z)({},me,Jr,{cellRender:Es,showTime:Pi,mode:tn[xn],generateConfig:kn,style:void 0,direction:Gr,disabledDate:xn===0?ta:oa,disabledTime:function(Ql){return To?To(Ql,xn===0?"start":"end"):!1},className:$e()((0,ze.Z)({},"".concat(Kt,"-panel-focused"),xn===0?!Ml:!Vl)),value:Pa(ce,xn),locale:sa,tabIndex:-1,onPanelChange:function(Ql,iu){xn===0&&wl(!0),xn===1&&Jo(!0),ma(Dn(tn,iu,xn),Dn(ce,Ql,xn));var ql=Ql;Ei==="right"&&tn[xn]===iu&&(ql=Te(ql,iu,kn,-1)),_r(ql,xn)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:xn===0?Pa(ce,1):Pa(ce,0)})))}var Va=0,io=0;if(xn&&Po.current&&Mr.current&&Kr.current&&Ra.current){Va=Po.current.offsetWidth+Mr.current.offsetWidth;var Uo=Ra.current.offsetLeft>Va?Ra.current.offsetLeft-Va:Ra.current.offsetLeft,ci=Kr.current.offsetWidth,ti=Ra.current.offsetWidth;ci&&ti&&Va>ci-ti-(Gr==="rtl"?0:Uo)&&(io=Va)}var jo=Gr==="rtl"?{right:Va}:{left:Va};function Oi(){var Ei,Jr=jn(Kt,tn[xn],Yt),Io=Xn({prefixCls:Kt,components:$r,needConfirmButton:Wa,okDisabled:!Pa(ce,xn)||Lo&&Lo(ce[xn]),locale:sa,onOk:function(){var lu=Pa(ce,xn);lu&&(cr(ce,xn),rr==null||rr(ce),gn(!1,xn,"confirm"))}});if(Lr!=="time"&&!Gn){var Pi=to(xn),Yi=Te(Pi,Lr,kn),Pu=tn[xn],Ql=Pu===Lr,iu=ds(Ql?"left":!1,{pickerValue:Pi,onPickerValueChange:function(lu){_r(lu,xn)}}),ql=ds("right",{pickerValue:Yi,onPickerValueChange:function(lu){_r(Te(lu,Lr,kn,-1),xn)}});Gr==="rtl"?Ei=ie.createElement(ie.Fragment,null,ql,Ql&&iu):Ei=ie.createElement(ie.Fragment,null,iu,Ql&&ql)}else Ei=ds();var cs=ie.createElement("div",{className:"".concat(Kt,"-panel-layout")},ie.createElement(Wo,{prefixCls:Kt,presets:vs,onClick:function(lu){cr(lu,null),gn(!1,xn,"preset")},onHover:function(lu){Bl(lu)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(Kt,"-panels")},Ei),(Jr||Io)&&ie.createElement("div",{className:"".concat(Kt,"-footer")},Jr,Io)));return Ro&&(cs=Ro(cs)),ie.createElement("div",{className:"".concat(Kt,"-panel-container"),style:{marginLeft:io},ref:Kr,onMouseDown:function(lu){lu.preventDefault()}},cs)}var Gi=ie.createElement("div",{className:$e()("".concat(Kt,"-range-wrapper"),"".concat(Kt,"-").concat(Lr,"-range-wrapper")),style:{minWidth:ya}},ie.createElement("div",{ref:Ra,className:"".concat(Kt,"-range-arrow"),style:jo}),Oi()),Cl;Qe&&(Cl=ie.createElement("span",{className:"".concat(Kt,"-suffix"),onMouseDown:function(Jr){Jr.preventDefault()}},Qe));var $l=Ji(Kt,Ce,rt),Su=ie.createElement("span",{onMouseDown:function(Jr){Jr.preventDefault(),Jr.stopPropagation()},onMouseUp:function(Jr){Jr.preventDefault(),Jr.stopPropagation();var Io=Qr;Do[0]||(Io=Dn(Io,null,0)),Do[1]||(Io=Dn(Io,null,1)),cr(Io,null),gn(!1,xn,"clear")},className:"".concat(Kt,"-clear"),role:"button"},$l),Ol=Ce&&(Pa(Qr,0)&&!Do[0]||Pa(Qr,1)&&!Do[1]),Ul={size:yr(Lr,wo[0],kn)},Eu=0,Du=0;Po.current&&lo.current&&Mr.current&&(xn===0?Du=Po.current.offsetWidth:(Eu=Va,Du=lo.current.offsetWidth));var ps=Gr==="rtl"?{right:Eu}:{left:Eu},hs=function(Jr,Io){var Pi=Dn(ce,Jr,xn);if(Io==="submit"||Io!=="key"&&!Wa){cr(Pi,xn),xn===0?wl():Jo();var Yi=xn===0?1:0;Do[Yi]?gn(!1,!1,"confirm"):gn(!1,xn,"confirm")}else pe(Pi)};return ie.createElement(Wn.Provider,{value:{operationRef:yi,hideHeader:Lr==="time",onDateMouseEnter:vu,onDateMouseLeave:pu,hideRanges:!0,onSelect:hs,open:Yn}},ie.createElement($o,{visible:Yn,popupElement:Gi,popupStyle:Ca,prefixCls:Kt,dropdownClassName:ga,dropdownAlign:Ba,getPopupContainer:Ia,transitionName:mn,range:!0,direction:Gr},ie.createElement("div",(0,ue.Z)({ref:or,className:$e()(Kt,"".concat(Kt,"-range"),aa,(Se={},(0,ze.Z)(Se,"".concat(Kt,"-disabled"),Do[0]&&Do[1]),(0,ze.Z)(Se,"".concat(Kt,"-focused"),xn===0?el:Sl),(0,ze.Z)(Se,"".concat(Kt,"-rtl"),Gr==="rtl"),Se)),style:Tn,onClick:kl,onMouseEnter:Ht,onMouseLeave:Xa,onMouseDown:Ku,onMouseUp:Aa},(0,Nt.Z)(me,{aria:!0,data:!0})),ie.createElement("div",{className:$e()("".concat(Kt,"-input"),(ye={},(0,ze.Z)(ye,"".concat(Kt,"-input-active"),xn===0),(0,ze.Z)(ye,"".concat(Kt,"-input-placeholder"),!!ul),ye)),ref:Po},ie.createElement("input",(0,ue.Z)({id:Zn,disabled:Do[0],readOnly:Et||typeof wo[0]=="function"||!Ml,value:ul||xo,onChange:function(Jr){Ri(Jr.target.value)},autoFocus:Br,placeholder:Pa(Oa,0)||"",ref:vo},Di,Ul,{autoComplete:nr}))),ie.createElement("div",{className:"".concat(Kt,"-range-separator"),ref:Mr},zo),ie.createElement("div",{className:$e()("".concat(Kt,"-input"),(tt={},(0,ze.Z)(tt,"".concat(Kt,"-input-active"),xn===1),(0,ze.Z)(tt,"".concat(Kt,"-input-placeholder"),!!qi),tt)),ref:lo},ie.createElement("input",(0,ue.Z)({disabled:Do[1],readOnly:Et||typeof wo[0]=="function"||!Vl,value:qi||oi,onChange:function(Jr){il(Jr.target.value)},placeholder:Pa(Oa,1)||"",ref:Bo},Hi,Ul,{autoComplete:nr}))),ie.createElement("div",{className:"".concat(Kt,"-active-bar"),style:(0,ct.Z)((0,ct.Z)({},ps),{},{width:Du,position:"absolute"})}),Cl,Ol&&Su)))}var El=function(me){(0,Zt.Z)(ye,me);var Se=(0,Fn.Z)(ye);function ye(){var tt;(0,dt.Z)(this,ye);for(var it=arguments.length,qt=new Array(it),Kt=0;Kt<it;Kt++)qt[Kt]=arguments[Kt];return tt=Se.call.apply(Se,[this].concat(qt)),(0,ze.Z)((0,Vn.Z)(tt),"pickerRef",ie.createRef()),(0,ze.Z)((0,Vn.Z)(tt),"focus",function(){tt.pickerRef.current&&tt.pickerRef.current.focus()}),(0,ze.Z)((0,Vn.Z)(tt),"blur",function(){tt.pickerRef.current&&tt.pickerRef.current.blur()}),tt}return(0,rn.Z)(ye,[{key:"render",value:function(){return ie.createElement(Yu,(0,ue.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ye}(ie.Component),Ru=El,Mu=Al,rl=ee(19080),ku=ee(36355),nu=ee(1684),Ju=ee(19716),bu=ee(32441),Tu=ee(9763),Xu=ee(33234),_u=ee(48183),bl=ee(64993),ji=ee(9937),Zu=ee(17313),fs=ee(47585),au=ee(74207),Bi=ee(13826),Cu=ee(92899),zu=ee(37613),rs=ee(83116);const Il=(me,Se,ye,tt)=>{const{lineHeight:it}=me,qt=Math.floor(ye*it)+2,Kt=Math.max((Se-qt)/2,0),Zn=Math.max(Se-qt-Kt,0);return{padding:`${Kt}px ${tt}px ${Zn}px`}},Hu=me=>{const{componentCls:Se,pickerCellCls:ye,pickerCellInnerCls:tt,cellHeight:it,motionDurationSlow:qt,borderRadiusSM:Kt,motionDurationMid:Zn,cellHoverBg:Tn,lineWidth:aa,lineType:Ca,colorPrimary:ga,cellActiveWithRangeBg:mn,colorTextLightSolid:Ba,controlHeightSM:Ia,cellRangeBorderColor:kn,pickerCellBorderGap:sa,cellHoverWithRangeBg:Oa,cellWidth:Br,colorTextDisabled:vr,cellBgDisabled:wr}=me;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:it,transform:"translateY(-50%)",transition:`all ${qt}`,content:'""'},[tt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:it,height:it,lineHeight:`${it}px`,borderRadius:Kt,transition:`background ${Zn}, border ${Zn}`},"&-range-hover-start, &-range-hover-end":{[tt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ye}-in-view),
&:hover:not(${ye}-selected):not(${ye}-range-start):not(${ye}-range-end):not(${ye}-range-hover-start):not(${ye}-range-hover-end)`]:{[tt]:{background:Tn}},[`&-in-view${ye}-today ${tt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${aa}px ${Ca} ${ga}`,borderRadius:Kt,content:'""'}},[`&-in-view${ye}-in-range`]:{position:"relative","&::before":{background:mn}},[`&-in-view${ye}-selected ${tt},
&-in-view${ye}-range-start ${tt},
&-in-view${ye}-range-end ${tt}`]:{color:Ba,background:ga},[`&-in-view${ye}-range-start:not(${ye}-range-start-single),
&-in-view${ye}-range-end:not(${ye}-range-end-single)`]:{"&::before":{background:mn}},[`&-in-view${ye}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ye}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ye}-range-hover-start:not(${ye}-in-range):not(${ye}-range-start):not(${ye}-range-end),
&-in-view${ye}-range-hover-end:not(${ye}-in-range):not(${ye}-range-start):not(${ye}-range-end),
&-in-view${ye}-range-hover-start${ye}-range-start-single,
&-in-view${ye}-range-hover-start${ye}-range-start${ye}-range-end${ye}-range-end-near-hover,
&-in-view${ye}-range-hover-end${ye}-range-start${ye}-range-end${ye}-range-start-near-hover,
&-in-view${ye}-range-hover-end${ye}-range-end-single,
&-in-view${ye}-range-hover:not(${ye}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Ia,borderTop:`${aa}px dashed ${kn}`,borderBottom:`${aa}px dashed ${kn}`,transform:"translateY(-50%)",transition:`all ${qt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:sa},[`&-in-view${ye}-in-range${ye}-range-hover::before,
&-in-view${ye}-in-range${ye}-range-hover-start::before,
&-in-view${ye}-in-range${ye}-range-hover-end::before,
&-in-view${ye}-range-start${ye}-range-hover::before,
&-in-view${ye}-range-end${ye}-range-hover::before,
&-in-view${ye}-range-start:not(${ye}-range-start-single)${ye}-range-hover-start::before,
&-in-view${ye}-range-end:not(${ye}-range-end-single)${ye}-range-hover-end::before,
${Se}-panel
> :not(${Se}-date-panel)
&-in-view${ye}-in-range${ye}-range-hover-start::before,
${Se}-panel
> :not(${Se}-date-panel)
&-in-view${ye}-in-range${ye}-range-hover-end::before`]:{background:Oa},[`&-in-view${ye}-range-start:not(${ye}-range-start-single):not(${ye}-range-end) ${tt}`]:{borderStartStartRadius:Kt,borderEndStartRadius:Kt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ye}-range-end:not(${ye}-range-end-single):not(${ye}-range-start) ${tt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Kt,borderEndEndRadius:Kt},[`&-range-hover${ye}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ye}-range-hover:first-child::after,
tr > &-in-view${ye}-range-hover-end:first-child::after,
&-in-view${ye}-start${ye}-range-hover-edge-start${ye}-range-hover-edge-start-near-range::after,
&-in-view${ye}-range-hover-edge-start:not(${ye}-range-hover-edge-start-near-range)::after,
&-in-view${ye}-range-hover-start::after`]:{insetInlineStart:(Br-it)/2,borderInlineStart:`${aa}px dashed ${kn}`,borderStartStartRadius:Kt,borderEndStartRadius:Kt},[`tr > &-in-view${ye}-range-hover:last-child::after,
tr > &-in-view${ye}-range-hover-start:last-child::after,
&-in-view${ye}-end${ye}-range-hover-edge-end${ye}-range-hover-edge-end-near-range::after,
&-in-view${ye}-range-hover-edge-end:not(${ye}-range-hover-edge-end-near-range)::after,
&-in-view${ye}-range-hover-end::after`]:{insetInlineEnd:(Br-it)/2,borderInlineEnd:`${aa}px dashed ${kn}`,borderStartEndRadius:Kt,borderEndEndRadius:Kt},"&-disabled":{color:vr,pointerEvents:"none",[tt]:{background:"transparent"},"&::before":{background:wr}},[`&-disabled${ye}-today ${tt}::before`]:{borderColor:vr}}},xu=me=>{const{componentCls:Se,pickerCellCls:ye,pickerCellInnerCls:tt,pickerYearMonthCellWidth:it,pickerControlIconSize:qt,cellWidth:Kt,paddingSM:Zn,paddingXS:Tn,paddingXXS:aa,colorBgContainer:Ca,lineWidth:ga,lineType:mn,borderRadiusLG:Ba,colorPrimary:Ia,colorTextHeading:kn,colorSplit:sa,pickerControlIconBorderWidth:Oa,colorIcon:Br,textHeight:vr,motionDurationMid:wr,colorIconHover:jr,fontWeightStrong:Lr,cellHeight:Gn,pickerCellPaddingVertical:Ko,colorTextDisabled:fo,colorText:zo,fontSize:qo,cellHoverWithRangeBg:ii,motionDurationSlow:pi,withoutTimeCellHeight:zi,pickerQuarterPanelContentHeight:oo,colorLink:Lo,colorLinkActive:To,colorLinkHover:wi,cellRangeBorderColor:Ni,borderRadiusSM:fi,colorTextLightSolid:Ro,cellHoverBg:ol,timeColumnHeight:Xi,timeColumnWidth:Ee,timeCellHeight:Ce,controlItemBgActive:Qe,marginXXS:rt,pickerDatePanelPaddingHorizontal:Pt}=me,Et=Kt*7+Pt*2,$t=(Et-Tn*2)/3-it-Zn,Yt=(Et-Tn*2)/4-it;return{[Se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Ca,border:`${ga}px ${mn} ${sa}`,borderRadius:Ba,outline:"none","&-focused":{borderColor:Ia},"&-rtl":{direction:"rtl",[`${Se}-prev-icon,
${Se}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Se}-next-icon,
${Se}-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:Et},"&-header":{display:"flex",padding:`0 ${Tn}px`,color:kn,borderBottom:`${ga}px ${mn} ${sa}`,"> *":{flex:"none"},button:{padding:0,color:Br,lineHeight:`${vr}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${wr}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:qo,"&:hover":{color:jr}},"&-view":{flex:"auto",fontWeight:Lr,lineHeight:`${vr}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Tn},"&:hover":{color:Ia}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:qt,height:qt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:qt,height:qt,border:"0 solid currentcolor",borderBlockStartWidth:Oa,borderBlockEndWidth:0,borderInlineStartWidth:Oa,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(qt/2),insetInlineStart:Math.ceil(qt/2),display:"inline-block",width:qt,height:qt,border:"0 solid currentcolor",borderBlockStartWidth:Oa,borderBlockEndWidth:0,borderInlineStartWidth:Oa,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:Gn,fontWeight:"normal"},th:{height:Gn+Ko*2,color:zo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Ko}px 0`,color:fo,cursor:"pointer","&-in-view":{color:zo}},Hu(me)),[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start ${tt},
&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:ii,transition:`all ${pi}`,content:'""'}},[`&-date-panel
${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start
${tt}::after`]:{insetInlineEnd:-(Kt-Gn)/2,insetInlineStart:0},[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}::after`]:{insetInlineEnd:0,insetInlineStart:-(Kt-Gn)/2},[`&-range-hover${Se}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-content`]:{height:zi*4},[tt]:{padding:`0 ${Tn}px`}},"&-quarter-panel":{[`${Se}-content`]:{height:oo},[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:Yt,borderInlineStart:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Yt,borderInlineEnd:`${ga}px dashed ${Ni}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Yt,borderInlineEnd:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Yt,borderInlineStart:`${ga}px dashed ${Ni}`}}},[`&-panel ${Se}-footer`]:{borderTop:`${ga}px ${mn} ${sa}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${vr-2*ga}px`,textAlign:"center","&-extra":{padding:`0 ${Zn}px`,lineHeight:`${vr-2*ga}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ga}px ${mn} ${sa}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Lo,"&:hover":{color:wi},"&:active":{color:To},[`&${Se}-today-btn-disabled`]:{color:fo,cursor:"not-allowed"}},"&-decade-panel":{[tt]:{padding:`0 ${Tn/2}px`},[`${Se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-body`]:{padding:`0 ${Tn}px`},[tt]:{width:it},[`${Se}-cell-range-hover-start::after`]:{borderStartStartRadius:fi,borderEndStartRadius:fi,borderStartEndRadius:0,borderEndEndRadius:0,[`${Se}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:fi,borderEndEndRadius:fi}},[`${Se}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:fi,borderEndEndRadius:fi,[`${Se}-panel-rtl &`]:{borderStartStartRadius:fi,borderEndStartRadius:fi,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:$t,borderInlineStart:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:$t,borderInlineEnd:`${ga}px dashed ${Ni}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:$t,borderInlineEnd:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineStart:$t,borderInlineStart:`${ga}px dashed ${Ni}`}}},"&-week-panel":{[`${Se}-body`]:{padding:`${Tn}px ${Zn}px`},[`${Se}-cell`]:{[`&:hover ${tt},
&-selected ${tt},
${tt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${wr}`},"&:first-child:before":{borderStartStartRadius:fi,borderEndStartRadius:fi},"&:last-child:before":{borderStartEndRadius:fi,borderEndEndRadius:fi}},"&:hover td":{"&:before":{background:ol}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ye}`]:{"&:before":{background:Ia},[`&${Se}-cell-week`]:{color:new bl.C(Ro).setAlpha(.5).toHexString()},[tt]:{color:Ro}}},"&-range-hover td:before":{background:Qe}}},"&-date-panel":{[`${Se}-body`]:{padding:`${Tn}px ${Pt}px`},[`${Se}-content`]:{width:Kt*7,th:{width:Kt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Se}-time-panel`]:{borderInlineStart:`${ga}px ${mn} ${sa}`},[`${Se}-date-panel,
${Se}-time-panel`]:{transition:`opacity ${pi}`},"&-active":{[`${Se}-date-panel,
${Se}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Se}-content`]:{display:"flex",flex:"auto",height:Xi},"&-column":{flex:"1 0 auto",width:Ee,margin:`${aa}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${wr}`,overflowX:"hidden","&::after":{display:"block",height:Xi-Ce,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ga}px ${mn} ${sa}`},"&-active":{background:new bl.C(Qe).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Se}-time-panel-cell`]:{marginInline:rt,[`${Se}-time-panel-cell-inner`]:{display:"block",width:Ee-2*rt,height:Ce,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ee-Ce)/2,color:zo,lineHeight:`${Ce}px`,borderRadius:fi,cursor:"pointer",transition:`background ${wr}`,"&:hover":{background:ol}},"&-selected":{[`${Se}-time-panel-cell-inner`]:{background:Qe}},"&-disabled":{[`${Se}-time-panel-cell-inner`]:{color:fo,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Se}-time-panel-column:after`]:{height:Xi-Ce+aa*2}}}},Fu=me=>{const{componentCls:Se,colorBgContainer:ye,colorError:tt,errorActiveShadow:it,colorWarning:qt,warningActiveShadow:Kt}=me;return{[`${Se}:not(${Se}-disabled)`]:{[`&${Se}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ye,borderColor:tt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,ji.M1)((0,zu.TS)(me,{activeBorderColor:tt,activeShadow:it}))),[`${Se}-active-bar`]:{background:tt}},[`&${Se}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ye,borderColor:qt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,ji.M1)((0,zu.TS)(me,{activeBorderColor:qt,activeShadow:Kt}))),[`${Se}-active-bar`]:{background:qt}}}}},Fl=me=>{const{componentCls:Se,antCls:ye,controlHeight:tt,fontSize:it,paddingInline:qt,colorBgContainer:Kt,lineWidth:Zn,lineType:Tn,colorBorder:aa,borderRadius:Ca,motionDurationMid:ga,colorBgContainerDisabled:mn,colorTextDisabled:Ba,colorTextPlaceholder:Ia,controlHeightLG:kn,fontSizeLG:sa,controlHeightSM:Oa,paddingInlineSM:Br,paddingXS:vr,marginXS:wr,colorTextDescription:jr,lineWidthBold:Lr,lineHeight:Gn,colorPrimary:Ko,motionDurationSlow:fo,zIndexPopup:zo,paddingXXS:qo,paddingSM:ii,textHeight:pi,cellActiveWithRangeBg:zi,colorPrimaryBorder:oo,sizePopupArrow:Lo,borderRadiusXS:To,borderRadiusOuter:wi,colorBgElevated:Ni,borderRadiusLG:fi,boxShadowSecondary:Ro,borderRadiusSM:ol,colorSplit:Xi,cellHoverBg:Ee,presetsWidth:Ce,presetsMaxWidth:Qe,boxShadowPopoverArrow:rt,colorTextQuaternary:Pt}=me;return[{[Se]:Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),Il(me,tt,it,qt)),{position:"relative",display:"inline-flex",alignItems:"center",background:Kt,lineHeight:1,border:`${Zn}px ${Tn} ${aa}`,borderRadius:Ca,transition:`border ${ga}, box-shadow ${ga}`,"&:hover, &-focused":Object.assign({},(0,ji.pU)(me)),"&-focused":Object.assign({},(0,ji.M1)(me)),[`&${Se}-disabled`]:{background:mn,borderColor:aa,cursor:"not-allowed",[`${Se}-suffix`]:{color:Pt}},[`&${Se}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Se}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ji.ik)(me)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Se}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Ia}}},"&-large":Object.assign(Object.assign({},Il(me,kn,sa,qt)),{[`${Se}-input > input`]:{fontSize:sa}}),"&-small":Object.assign({},Il(me,Oa,it,Br)),[`${Se}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:vr/2,color:Ba,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:wr}}},[`${Se}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ba,lineHeight:1,background:Kt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ga}, color ${ga}`,"> *":{verticalAlign:"top"},"&:hover":{color:jr}},[`${Se}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:sa,color:Ba,fontSize:sa,verticalAlign:"top",cursor:"default",[`${Se}-focused &`]:{color:jr},[`${Se}-range-separator &`]:{[`${Se}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Se}-clear`]:{insetInlineEnd:qt},"&:hover":{[`${Se}-clear`]:{opacity:1}},[`${Se}-active-bar`]:{bottom:-Zn,height:Lr,marginInlineStart:qt,background:Ko,opacity:0,transition:`all ${fo} ease-out`,pointerEvents:"none"},[`&${Se}-focused`]:{[`${Se}-active-bar`]:{opacity:1}},[`${Se}-range-separator`]:{alignItems:"center",padding:`0 ${vr}px`,lineHeight:1},[`&${Se}-small`]:{[`${Se}-clear`]:{insetInlineEnd:Br},[`${Se}-active-bar`]:{marginInlineStart:Br}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),xu(me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:zo,[`&${Se}-dropdown-hidden`]:{display:"none"},[`&${Se}-dropdown-placement-bottomLeft`]:{[`${Se}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Se}-dropdown-placement-topLeft`]:{[`${Se}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-topLeft,
&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-topRight,
&${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-topLeft,
&${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-topRight`]:{animationName:Bi.Qt},[`&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-bottomLeft,
&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-bottomRight,
&${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-bottomLeft,
&${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-bottomRight`]:{animationName:Bi.fJ},[`&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-topLeft,
&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-topRight`]:{animationName:Bi.ly},[`&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-bottomLeft,
&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-bottomRight`]:{animationName:Bi.Uw},[`${Se}-panel > ${Se}-time-panel`]:{paddingTop:qo},[`${Se}-ranges`]:{marginBottom:0,padding:`${qo}px ${ii}px`,overflow:"hidden",lineHeight:`${pi-2*Zn-vr/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Se}-preset > ${ye}-tag-blue`]:{color:Ko,background:zi,borderColor:oo,cursor:"pointer"},[`${Se}-ok`]:{marginInlineStart:"auto"}},[`${Se}-range-wrapper`]:{display:"flex",position:"relative"},[`${Se}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:qt*1.5,transition:`left ${fo} ease-out`},(0,fs.r)(Lo,To,wi,Ni,rt)),[`${Se}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ni,borderRadius:fi,boxShadow:Ro,transition:`margin ${fo}`,[`${Se}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Se}-presets`]:{display:"flex",flexDirection:"column",minWidth:Ce,maxWidth:Qe,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:vr,borderInlineEnd:`${Zn}px ${Tn} ${Xi}`,li:Object.assign(Object.assign({},Zu.vS),{borderRadius:ol,paddingInline:vr,paddingBlock:(Oa-Math.round(it*Gn))/2,cursor:"pointer",transition:`all ${fo}`,"+ li":{marginTop:wr},"&:hover":{background:Ee}})}},[`${Se}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Se}-panel`]:{borderWidth:`0 0 ${Zn}px`},"&:last-child":{[`${Se}-panel`]:{borderWidth:0}}},[`${Se}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Se}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:aa}}}}),"&-dropdown-range":{padding:`${Lo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Se}-separator`]:{transform:"rotate(180deg)"},[`${Se}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Bi.oN)(me,"slide-up"),(0,Bi.oN)(me,"slide-down"),(0,Cu.Fm)(me,"move-up"),(0,Cu.Fm)(me,"move-down")]},zl=me=>{const{componentCls:Se,controlHeightLG:ye,paddingXXS:tt,padding:it}=me;return{pickerCellCls:`${Se}-cell`,pickerCellInnerCls:`${Se}-cell-inner`,pickerYearMonthCellWidth:ye*1.5,pickerQuarterPanelContentHeight:ye*1.4,pickerCellPaddingVertical:tt+tt/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:it+tt/2}},os=me=>({cellHoverBg:me.controlItemBgHover,cellActiveWithRangeBg:me.controlItemBgActive,cellHoverWithRangeBg:new bl.C(me.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new bl.C(me.colorPrimary).lighten(20).toHexString(),cellBgDisabled:me.colorBgContainerDisabled,timeColumnWidth:me.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:me.controlHeightSM*1.5,cellHeight:me.controlHeightSM,textHeight:me.controlHeightLG,withoutTimeCellHeight:me.controlHeightLG*1.65});var qu=(0,rs.Z)("DatePicker",me=>{const Se=(0,zu.TS)((0,ji.e5)(me),zl(me));return[Fl(Se),Fu(Se),(0,au.c)(me,{focusElCls:`${me.componentCls}-focused`})]},me=>Object.assign(Object.assign(Object.assign({},(0,ji.TM)(me)),os(me)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:me.zIndexPopupBase+50}));function ju(me,Se,ye){return ye!==void 0?ye:Se==="year"&&me.lang.yearPlaceholder?me.lang.yearPlaceholder:Se==="quarter"&&me.lang.quarterPlaceholder?me.lang.quarterPlaceholder:Se==="month"&&me.lang.monthPlaceholder?me.lang.monthPlaceholder:Se==="week"&&me.lang.weekPlaceholder?me.lang.weekPlaceholder:Se==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.placeholder:me.lang.placeholder}function Ar(me,Se,ye){return ye!==void 0?ye:Se==="year"&&me.lang.yearPlaceholder?me.lang.rangeYearPlaceholder:Se==="quarter"&&me.lang.quarterPlaceholder?me.lang.rangeQuarterPlaceholder:Se==="month"&&me.lang.monthPlaceholder?me.lang.rangeMonthPlaceholder:Se==="week"&&me.lang.weekPlaceholder?me.lang.rangeWeekPlaceholder:Se==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.rangePlaceholder:me.lang.rangePlaceholder}function Bu(me,Se){const ye={adjustX:1,adjustY:1};switch(Se){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ye};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ye};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ye};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ye};default:return{points:me==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ye}}}function Yl(me){return me?Array.isArray(me)?me:[me]:[]}function Hl(me){const{format:Se,picker:ye,showHour:tt,showMinute:it,showSecond:qt,use12Hours:Kt}=me,Zn=Yl(Se)[0],Tn=Object.assign({},me);return Se&&Array.isArray(Se)&&(Tn.format=Zn),Zn&&typeof Zn=="string"&&(!Zn.includes("s")&&qt===void 0&&(Tn.showSecond=!1),!Zn.includes("m")&&it===void 0&&(Tn.showMinute=!1),!Zn.includes("H")&&!Zn.includes("h")&&!Zn.includes("K")&&!Zn.includes("k")&&tt===void 0&&(Tn.showHour=!1),(Zn.includes("a")||Zn.includes("A"))&&Kt===void 0&&(Tn.use12Hours=!0)),ye==="time"?Tn:(typeof Zn=="function"&&delete Tn.format,{showTime:Tn})}function qa(me,Se,ye){if(me===!1)return!1;const tt={clearIcon:Se!=null?Se:ye};return typeof me=="object"?Object.assign(Object.assign({},tt),me):tt}var du=ee(3113);function es(me){return ie.createElement(du.ZP,Object.assign({size:"small",type:"primary"},me))}var wu={button:es},ts=function(me,Se){var ye={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(ye[tt]=me[tt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,tt=Object.getOwnPropertySymbols(me);it<tt.length;it++)Se.indexOf(tt[it])<0&&Object.prototype.propertyIsEnumerable.call(me,tt[it])&&(ye[tt[it]]=me[tt[it]]);return ye};function cu(me){return(0,ie.forwardRef)((ye,tt)=>{const{prefixCls:it,getPopupContainer:qt,className:Kt,placement:Zn,size:Tn,disabled:aa,bordered:Ca=!0,placeholder:ga,popupClassName:mn,dropdownClassName:Ba,status:Ia,clearIcon:kn,allowClear:sa,rootClassName:Oa}=ye,Br=ts(ye,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),vr=ie.useRef(null),{getPrefixCls:wr,direction:jr,getPopupContainer:Lr}=(0,ie.useContext)(ku.E_),Gn=wr("picker",it),{compactSize:Ko,compactItemClassnames:fo}=(0,Xu.ri)(Gn,jr),{format:zo,showTime:qo,picker:ii}=ye,pi=wr(),[zi,oo]=qu(Gn),Lo=Object.assign(Object.assign({},qo?Hl(Object.assign({format:zo,picker:ii},qo)):{}),ii==="time"?Hl(Object.assign(Object.assign({format:zo},ye),{picker:ii})):{}),To=(0,Ju.Z)(rt=>{var Pt;return(Pt=Tn!=null?Tn:Ko)!==null&&Pt!==void 0?Pt:rt}),wi=ie.useContext(nu.Z),Ni=aa!=null?aa:wi,fi=(0,ie.useContext)(bu.aM),{hasFeedback:Ro,status:ol,feedbackIcon:Xi}=fi,Ee=ie.createElement(ie.Fragment,null,ii==="time"?ie.createElement(ot,null):ie.createElement(he,null),Ro&&Xi);(0,ie.useImperativeHandle)(tt,()=>({focus:()=>{var rt;return(rt=vr.current)===null||rt===void 0?void 0:rt.focus()},blur:()=>{var rt;return(rt=vr.current)===null||rt===void 0?void 0:rt.blur()}}));const[Ce]=(0,Tu.Z)("Calendar",_u.Z),Qe=Object.assign(Object.assign({},Ce),ye.locale);return zi(ie.createElement(Ru,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${Gn}-separator`},ie.createElement(an,null)),disabled:Ni,ref:vr,dropdownAlign:Bu(jr,Zn),placeholder:Ar(Qe,ii,ga),suffixIcon:Ee,prevIcon:ie.createElement("span",{className:`${Gn}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Gn}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Gn}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Gn}-super-next-icon`}),transitionName:`${pi}-slide-up`},Br,Lo,{className:$e()({[`${Gn}-${To}`]:To,[`${Gn}-borderless`]:!Ca},(0,rl.Z)(Gn,(0,rl.F)(ol,Ia),Ro),oo,fo,Kt,Oa),locale:Qe.lang,prefixCls:Gn,getPopupContainer:qt||Lr,generateConfig:me,components:wu,direction:jr,dropdownClassName:$e()(oo,mn||Ba,Oa),allowClear:qa(sa,kn,ie.createElement(lt.Z,null))})))})}var Qi=function(me,Se){var ye={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(ye[tt]=me[tt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,tt=Object.getOwnPropertySymbols(me);it<tt.length;it++)Se.indexOf(tt[it])<0&&Object.prototype.propertyIsEnumerable.call(me,tt[it])&&(ye[tt[it]]=me[tt[it]]);return ye};function ls(me){function Se(Tn,aa){const Ca=aa==="TimePicker"?"timePicker":"datePicker",ga=(0,ie.forwardRef)((mn,Ba)=>{const{prefixCls:Ia,getPopupContainer:kn,style:sa,className:Oa,rootClassName:Br,size:vr,bordered:wr=!0,placement:jr,placeholder:Lr,popupClassName:Gn,dropdownClassName:Ko,disabled:fo,status:zo,clearIcon:qo,allowClear:ii}=mn,pi=Qi(mn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:zi,direction:oo,getPopupContainer:Lo,[Ca]:To}=(0,ie.useContext)(ku.E_),wi=zi("picker",Ia),{compactSize:Ni,compactItemClassnames:fi}=(0,Xu.ri)(wi,oo),Ro=ie.useRef(null),{format:ol,showTime:Xi}=mn,[Ee,Ce]=qu(wi);(0,ie.useImperativeHandle)(Ba,()=>({focus:()=>{var Ht;return(Ht=Ro.current)===null||Ht===void 0?void 0:Ht.focus()},blur:()=>{var Ht;return(Ht=Ro.current)===null||Ht===void 0?void 0:Ht.blur()}}));const Qe={showToday:!0};let rt={};Tn&&(rt.picker=Tn);const Pt=Tn||mn.picker;rt=Object.assign(Object.assign(Object.assign({},rt),Xi?Hl(Object.assign({format:ol,picker:Pt},Xi)):{}),Pt==="time"?Hl(Object.assign(Object.assign({format:ol},mn),{picker:Pt})):{});const Et=zi(),$t=(0,Ju.Z)(Ht=>{var Xa;return(Xa=vr!=null?vr:Ni)!==null&&Xa!==void 0?Xa:Ht}),Yt=ie.useContext(nu.Z),Ut=fo!=null?fo:Yt,Cn=(0,ie.useContext)(bu.aM),{hasFeedback:vn,status:pn,feedbackIcon:qn}=Cn,na=ie.createElement(ie.Fragment,null,Pt==="time"?ie.createElement(ot,null):ie.createElement(he,null),vn&&qn),[ca]=(0,Tu.Z)("DatePicker",_u.Z),Aa=Object.assign(Object.assign({},ca),mn.locale);return Ee(ie.createElement(Mu,Object.assign({ref:Ro,placeholder:ju(Aa,Pt,Lr),suffixIcon:na,dropdownAlign:Bu(oo,jr),prevIcon:ie.createElement("span",{className:`${wi}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${wi}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${wi}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${wi}-super-next-icon`}),transitionName:`${Et}-slide-up`},Qe,pi,rt,{locale:Aa.lang,className:$e()({[`${wi}-${$t}`]:$t,[`${wi}-borderless`]:!wr},(0,rl.Z)(wi,(0,rl.F)(pn,zo),vn),Ce,fi,To==null?void 0:To.className,Oa,Br),style:Object.assign(Object.assign({},To==null?void 0:To.style),sa),prefixCls:wi,getPopupContainer:kn||Lo,generateConfig:me,components:wu,direction:oo,disabled:Ut,dropdownClassName:$e()(Ce,Br,Gn||Ko),allowClear:qa(ii,qo,ie.createElement(lt.Z,null))})))});return aa&&(ga.displayName=aa),ga}const ye=Se(),tt=Se("week","WeekPicker"),it=Se("month","MonthPicker"),qt=Se("year","YearPicker"),Kt=Se("time","TimePicker"),Zn=Se("quarter","QuarterPicker");return{DatePicker:ye,WeekPicker:tt,MonthPicker:it,YearPicker:qt,TimePicker:Kt,QuarterPicker:Zn}}const us=null;function ss(me){const{DatePicker:Se,WeekPicker:ye,MonthPicker:tt,YearPicker:it,TimePicker:qt,QuarterPicker:Kt}=ls(me),Zn=cu(me),Tn=Se;return Tn.WeekPicker=ye,Tn.MonthPicker=tt,Tn.YearPicker=it,Tn.RangePicker=Zn,Tn.TimePicker=qt,Tn.QuarterPicker=Kt,Tn}var Gu=ss;const Jl=Gu(ne);function Xl(me){const Se=Bu(me.direction,me.placement);return Se.overflow.adjustY=!1,Se.overflow.adjustX=!1,Object.assign(Object.assign({},me),{dropdownAlign:Se})}const ru=(0,re.Z)(Jl,"picker",null,Xl);Jl._InternalPanelDoNotUseOrYouWillBeFired=ru;const fu=(0,re.Z)(Jl.RangePicker,"picker",null,Xl);Jl._InternalRangePanelDoNotUseOrYouWillBeFired=fu,Jl.generatePicker=Gu;var Wu=Jl},43428:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ze}});var b=ee(92310),de=ee.n(b),Be=ee(77321),Ne=ee(52487),Ze=ee(43403),ke=ee(34280),le=ee(59301),st=le.createContext(null),et=le.createContext({}),Ve=st,Ge=ee(49618),Je=ee(72308),Ye=ee(77900),se=ee(10228),E=ee(26112),a=ee(70425),x=function(Lt){var mt=Lt.prefixCls,Nt=Lt.className,ut=Lt.style,at=Lt.children,De=Lt.containerRef,fe=Lt.id,Xe=Lt.onMouseEnter,Rt=Lt.onMouseOver,Oe=Lt.onMouseLeave,Ie=Lt.onClick,St=Lt.onKeyDown,nt=Lt.onKeyUp,Me={onMouseEnter:Xe,onMouseOver:Rt,onMouseLeave:Oe,onClick:Ie,onKeyDown:St,onKeyUp:nt},yt=le.useContext(et),Bn=yt.panel,nn=(0,a.useComposeRef)(Bn,De);return le.createElement(le.Fragment,null,le.createElement("div",(0,Je.Z)({id:fe,className:de()("".concat(mt,"-content"),Nt),style:(0,Be.Z)({},ut),"aria-modal":"true",role:"dialog",ref:nn},Me),at))},y=x,z=ee(48736);function ne(ct){return typeof ct=="string"&&String(Number(ct))===ct?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ct)):ct}function re(ct){warning(!("wrapperClassName"in ct),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ct.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ue={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ie(ct,Lt){var mt,Nt,ut,at,De=ct.prefixCls,fe=ct.open,Xe=ct.placement,Rt=ct.inline,Oe=ct.push,Ie=ct.forceRender,St=ct.autoFocus,nt=ct.keyboard,Me=ct.rootClassName,yt=ct.rootStyle,Bn=ct.zIndex,nn=ct.className,dn=ct.id,un=ct.style,yn=ct.motion,Te=ct.width,Ft=ct.height,zt=ct.children,wt=ct.contentWrapperStyle,kt=ct.mask,sn=ct.maskClosable,cn=ct.maskMotion,Ln=ct.maskClassName,Jn=ct.maskStyle,va=ct.afterOpenChange,Da=ct.onClose,Na=ct.onMouseEnter,ar=ct.onMouseOver,$a=ct.onMouseLeave,fa=ct.onClick,yr=ct.onKeyDown,en=ct.onKeyUp,On=le.useRef(),ia=le.useRef(),xa=le.useRef();le.useImperativeHandle(Lt,function(){return On.current});var We=function(Ea){var Pa=Ea.keyCode,Dn=Ea.shiftKey;switch(Pa){case se.Z.TAB:{if(Pa===se.Z.TAB){if(!Dn&&document.activeElement===xa.current){var lr;(lr=ia.current)===null||lr===void 0||lr.focus({preventScroll:!0})}else if(Dn&&document.activeElement===ia.current){var Nr;(Nr=xa.current)===null||Nr===void 0||Nr.focus({preventScroll:!0})}}break}case se.Z.ESC:{Da&&nt&&(Ea.stopPropagation(),Da(Ea));break}}};le.useEffect(function(){if(fe&&St){var _n;(_n=On.current)===null||_n===void 0||_n.focus({preventScroll:!0})}},[fe]);var It=le.useState(!1),_t=(0,Ne.Z)(It,2),Vt=_t[0],Wt=_t[1],Rn=le.useContext(Ve),wn;Oe===!1?wn={distance:0}:Oe===!0?wn={}:wn=Oe||{};var vt=(mt=(Nt=(ut=wn)===null||ut===void 0?void 0:ut.distance)!==null&&Nt!==void 0?Nt:Rn==null?void 0:Rn.pushDistance)!==null&&mt!==void 0?mt:180,Bt=le.useMemo(function(){return{pushDistance:vt,push:function(){Wt(!0)},pull:function(){Wt(!1)}}},[vt]);le.useEffect(function(){if(fe){var _n;Rn==null||(_n=Rn.push)===null||_n===void 0||_n.call(Rn)}else{var Ea;Rn==null||(Ea=Rn.pull)===null||Ea===void 0||Ea.call(Rn)}},[fe]),le.useEffect(function(){return function(){var _n;Rn==null||(_n=Rn.pull)===null||_n===void 0||_n.call(Rn)}},[]);var pt=kt&&le.createElement(Ye.default,(0,Je.Z)({key:"mask"},cn,{visible:fe}),function(_n,Ea){var Pa=_n.className,Dn=_n.style;return le.createElement("div",{className:de()("".concat(De,"-mask"),Pa,Ln),style:(0,Be.Z)((0,Be.Z)({},Dn),Jn),onClick:sn&&fe?Da:void 0,ref:Ea})}),Sn=typeof yn=="function"?yn(Xe):yn,Wn={};if(Vt&&vt)switch(Xe){case"top":Wn.transform="translateY(".concat(vt,"px)");break;case"bottom":Wn.transform="translateY(".concat(-vt,"px)");break;case"left":Wn.transform="translateX(".concat(vt,"px)");break;default:Wn.transform="translateX(".concat(-vt,"px)");break}Xe==="left"||Xe==="right"?Wn.width=ne(Te):Wn.height=ne(Ft);var An={onMouseEnter:Na,onMouseOver:ar,onMouseLeave:$a,onClick:fa,onKeyDown:yr,onKeyUp:en},ka=le.createElement(Ye.default,(0,Je.Z)({key:"panel"},Sn,{visible:fe,forceRender:Ie,onVisibleChanged:function(Ea){va==null||va(Ea)},removeOnLeave:!1,leavedClassName:"".concat(De,"-content-wrapper-hidden")}),function(_n,Ea){var Pa=_n.className,Dn=_n.style;return le.createElement("div",(0,Je.Z)({className:de()("".concat(De,"-content-wrapper"),Pa),style:(0,Be.Z)((0,Be.Z)((0,Be.Z)({},Wn),Dn),wt)},(0,E.Z)(ct,{data:!0})),le.createElement(y,(0,Je.Z)({id:dn,containerRef:Ea,prefixCls:De,className:nn,style:un},An),zt))}),pa=(0,Be.Z)({},yt);return Bn&&(pa.zIndex=Bn),le.createElement(Ve.Provider,{value:Bt},le.createElement("div",{className:de()(De,"".concat(De,"-").concat(Xe),Me,(at={},(0,Ge.Z)(at,"".concat(De,"-open"),fe),(0,Ge.Z)(at,"".concat(De,"-inline"),Rt),at)),style:pa,tabIndex:-1,ref:On,onKeyDown:We},pt,le.createElement("div",{tabIndex:0,ref:ia,style:ue,"aria-hidden":"true","data-sentinel":"start"}),ka,le.createElement("div",{tabIndex:0,ref:xa,style:ue,"aria-hidden":"true","data-sentinel":"end"})))}var ve=le.forwardRef(ie),be=ve,je=function(Lt){var mt=Lt.open,Nt=mt===void 0?!1:mt,ut=Lt.prefixCls,at=ut===void 0?"rc-drawer":ut,De=Lt.placement,fe=De===void 0?"right":De,Xe=Lt.autoFocus,Rt=Xe===void 0?!0:Xe,Oe=Lt.keyboard,Ie=Oe===void 0?!0:Oe,St=Lt.width,nt=St===void 0?378:St,Me=Lt.mask,yt=Me===void 0?!0:Me,Bn=Lt.maskClosable,nn=Bn===void 0?!0:Bn,dn=Lt.getContainer,un=Lt.forceRender,yn=Lt.afterOpenChange,Te=Lt.destroyOnClose,Ft=Lt.onMouseEnter,zt=Lt.onMouseOver,wt=Lt.onMouseLeave,kt=Lt.onClick,sn=Lt.onKeyDown,cn=Lt.onKeyUp,Ln=Lt.panelRef,Jn=le.useState(!1),va=(0,Ne.Z)(Jn,2),Da=va[0],Na=va[1],ar=le.useState(!1),$a=(0,Ne.Z)(ar,2),fa=$a[0],yr=$a[1];(0,ke.Z)(function(){yr(!0)},[]);var en=fa?Nt:!1,On=le.useRef(),ia=le.useRef();(0,ke.Z)(function(){en&&(ia.current=document.activeElement)},[en]);var xa=function(Wt){var Rn;if(Na(Wt),yn==null||yn(Wt),!Wt&&ia.current&&!((Rn=On.current)!==null&&Rn!==void 0&&Rn.contains(ia.current))){var wn;(wn=ia.current)===null||wn===void 0||wn.focus({preventScroll:!0})}},We=le.useMemo(function(){return{panel:Ln}},[Ln]);if(!un&&!Da&&!en&&Te)return null;var It={onMouseEnter:Ft,onMouseOver:zt,onMouseLeave:wt,onClick:kt,onKeyDown:sn,onKeyUp:cn},_t=(0,Be.Z)((0,Be.Z)({},Lt),{},{open:en,prefixCls:at,placement:fe,autoFocus:Rt,keyboard:Ie,width:nt,mask:yt,maskClosable:nn,inline:dn===!1,afterOpenChange:xa,ref:On},It);return le.createElement(et.Provider,{value:We},le.createElement(Ze.Z,{open:en||un||Da,autoDestroy:!1,getContainer:dn,autoLock:yt&&(en||Da)},le.createElement(be,_t)))},Ae=je,He=Ae,he=ee(62892),qe=ee(36355),Ke=ee(32441),ht=ee(47729),ot=ct=>{const{prefixCls:Lt,title:mt,footer:Nt,extra:ut,closeIcon:at,closable:De,onClose:fe,headerStyle:Xe,drawerStyle:Rt,bodyStyle:Oe,footerStyle:Ie,children:St}=ct,nt=le.useCallback(dn=>le.createElement("button",{type:"button",onClick:fe,"aria-label":"Close",className:`${Lt}-close`},dn),[fe]),[Me,yt]=(0,ht.Z)(De,at,nt,void 0,!0),Bn=le.useMemo(()=>!mt&&!Me?null:le.createElement("div",{style:Xe,className:de()(`${Lt}-header`,{[`${Lt}-header-close-only`]:Me&&!mt&&!ut})},le.createElement("div",{className:`${Lt}-header-title`},yt,mt&&le.createElement("div",{className:`${Lt}-title`},mt)),ut&&le.createElement("div",{className:`${Lt}-extra`},ut)),[Me,yt,ut,Xe,Lt,mt]),nn=le.useMemo(()=>{if(!Nt)return null;const dn=`${Lt}-footer`;return le.createElement("div",{className:dn,style:Ie},Nt)},[Nt,Ie,Lt]);return le.createElement("div",{className:`${Lt}-wrapper-body`,style:Rt},Bn,le.createElement("div",{className:`${Lt}-body`,style:Oe},St),nn)},lt=ee(33234),gt=ee(83116),ft=ee(37613),xt=ct=>{const{componentCls:Lt,motionDurationSlow:mt}=ct,Nt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${mt}`}}};return{[Lt]:{[`${Lt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${mt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Lt}-panel-motion`]:{"&-left":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const an=ct=>{const{componentCls:Lt,zIndexPopup:mt,colorBgMask:Nt,colorBgElevated:ut,motionDurationSlow:at,motionDurationMid:De,padding:fe,paddingLG:Xe,fontSizeLG:Rt,lineHeightLG:Oe,lineWidth:Ie,lineType:St,colorSplit:nt,marginSM:Me,colorIcon:yt,colorIconHover:Bn,colorText:nn,fontWeightStrong:dn,footerPaddingBlock:un,footerPaddingInline:yn}=ct,Te=`${Lt}-content-wrapper`;return{[Lt]:{position:"fixed",inset:0,zIndex:mt,pointerEvents:"none","&-pure":{position:"relative",background:ut,[`&${Lt}-left`]:{boxShadow:ct.boxShadowDrawerLeft},[`&${Lt}-right`]:{boxShadow:ct.boxShadowDrawerRight},[`&${Lt}-top`]:{boxShadow:ct.boxShadowDrawerUp},[`&${Lt}-bottom`]:{boxShadow:ct.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Lt}-mask`]:{position:"absolute",inset:0,zIndex:mt,background:Nt,pointerEvents:"auto"},[Te]:{position:"absolute",zIndex:mt,maxWidth:"100vw",transition:`all ${at}`,"&-hidden":{display:"none"}},[`&-left > ${Te}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ct.boxShadowDrawerLeft},[`&-right > ${Te}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ct.boxShadowDrawerRight},[`&-top > ${Te}`]:{top:0,insetInline:0,boxShadow:ct.boxShadowDrawerUp},[`&-bottom > ${Te}`]:{bottom:0,insetInline:0,boxShadow:ct.boxShadowDrawerDown},[`${Lt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ut,pointerEvents:"auto"},[`${Lt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Lt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fe}px ${Xe}px`,fontSize:Rt,lineHeight:Oe,borderBottom:`${Ie}px ${St} ${nt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Lt}-extra`]:{flex:"none"},[`${Lt}-close`]:{display:"inline-block",marginInlineEnd:Me,color:yt,fontWeight:dn,fontSize:Rt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${De}`,textRendering:"auto","&:focus, &:hover":{color:Bn,textDecoration:"none"}},[`${Lt}-title`]:{flex:1,margin:0,color:nn,fontWeight:ct.fontWeightStrong,fontSize:Rt,lineHeight:Oe},[`${Lt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Xe,overflow:"auto"},[`${Lt}-footer`]:{flexShrink:0,padding:`${un}px ${yn}px`,borderTop:`${Ie}px ${St} ${nt}`},"&-rtl":{direction:"rtl"}}}};var hn=(0,gt.Z)("Drawer",ct=>{const Lt=(0,ft.TS)(ct,{});return[an(Lt),xt(Lt)]},ct=>({zIndexPopup:ct.zIndexPopupBase,footerPaddingBlock:ct.paddingXS,footerPaddingInline:ct.padding})),$e=ee(11575),dt=function(ct,Lt){var mt={};for(var Nt in ct)Object.prototype.hasOwnProperty.call(ct,Nt)&&Lt.indexOf(Nt)<0&&(mt[Nt]=ct[Nt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Nt=Object.getOwnPropertySymbols(ct);ut<Nt.length;ut++)Lt.indexOf(Nt[ut])<0&&Object.prototype.propertyIsEnumerable.call(ct,Nt[ut])&&(mt[Nt[ut]]=ct[Nt[ut]]);return mt};const rn=null,Vn={distance:180},Zt=ct=>{var Lt;const{rootClassName:mt,width:Nt,height:ut,size:at="default",mask:De=!0,push:fe=Vn,open:Xe,afterOpenChange:Rt,onClose:Oe,prefixCls:Ie,getContainer:St,style:nt,className:Me,visible:yt,afterVisibleChange:Bn}=ct,nn=dt(ct,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:dn,getPrefixCls:un,direction:yn,drawer:Te}=le.useContext(qe.E_),Ft=un("drawer",Ie),[zt,wt]=hn(Ft),kt=St===void 0&&dn?()=>dn(document.body):St,sn=de()({"no-mask":!De,[`${Ft}-rtl`]:yn==="rtl"},mt,wt),cn=le.useMemo(()=>Nt!=null?Nt:at==="large"?736:378,[Nt,at]),Ln=le.useMemo(()=>ut!=null?ut:at==="large"?736:378,[ut,at]),Jn={motionName:(0,he.m)(Ft,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},va=Na=>({motionName:(0,he.m)(Ft,`panel-motion-${Na}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Da=(0,$e.H)();return zt(le.createElement(lt.BR,null,le.createElement(Ke.Ux,{status:!0,override:!0},le.createElement(He,Object.assign({prefixCls:Ft,onClose:Oe,maskMotion:Jn,motion:va},nn,{open:Xe!=null?Xe:yt,mask:De,push:fe,width:cn,height:Ln,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),nt),className:de()(Te==null?void 0:Te.className,Me),rootClassName:sn,getContainer:kt,afterOpenChange:Rt!=null?Rt:Bn,panelRef:Da}),le.createElement(ot,Object.assign({prefixCls:Ft},nn,{onClose:Oe}))))))},Fn=ct=>{const{prefixCls:Lt,style:mt,className:Nt,placement:ut="right"}=ct,at=dt(ct,["prefixCls","style","className","placement"]),{getPrefixCls:De}=le.useContext(qe.E_),fe=De("drawer",Lt),[Xe,Rt]=hn(fe),Oe=de()(fe,`${fe}-pure`,`${fe}-${ut}`,Rt,Nt);return Xe(le.createElement("div",{className:Oe,style:mt},le.createElement(ot,Object.assign({prefixCls:fe},at))))};Zt._InternalPanelDoNotUseOrYouWillBeFired=Fn;var ze=Zt},91857:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(38819),Be=ee(92310),Ne=ee.n(Be),Ze=ee(31561),ke=ee(70425),le=ee(18929),st=ee(2738),et=ee(79676),Ve=ee(53487),Ge=ee(92343),Je=ee(36355),Ye=ee(20834),se=ee(40875),E=ee(88088),a=ee(47211);const x=null,y=ue=>{const{menu:ie,arrow:ve,prefixCls:be,children:je,trigger:Ae,disabled:He,dropdownRender:he,getPopupContainer:qe,overlayClassName:Ke,rootClassName:ht,open:Le,onOpenChange:ot,visible:lt,onVisibleChange:gt,mouseEnterDelay:ft=.15,mouseLeaveDelay:ln=.1,autoAdjustOverflow:xt=!0,placement:an="",overlay:hn,transitionName:$e}=ue,{getPopupContainer:dt,getPrefixCls:rn,direction:Vn}=b.useContext(Je.E_),Zt=b.useMemo(()=>{const Me=rn();return $e!==void 0?$e:an.includes("top")?`${Me}-slide-down`:`${Me}-slide-up`},[rn,an,$e]),Fn=b.useMemo(()=>an?an.includes("Center")?an.slice(0,an.indexOf("Center")):an:Vn==="rtl"?"bottomRight":"bottomLeft",[an,Vn]),ze=rn("dropdown",be),[ct,Lt]=(0,a.Z)(ze),[,mt]=(0,E.Z)(),Nt=b.Children.only(je),ut=(0,Ge.Tm)(Nt,{className:Ne()(`${ze}-trigger`,{[`${ze}-rtl`]:Vn==="rtl"},Nt.props.className),disabled:He}),at=He?[]:Ae;let De;at&&at.includes("contextMenu")&&(De=!0);const[fe,Xe]=(0,le.Z)(!1,{value:Le!=null?Le:lt}),Rt=(0,ke.useEvent)(Me=>{ot==null||ot(Me),gt==null||gt(Me),Xe(Me)}),Oe=Ne()(Ke,ht,Lt,{[`${ze}-rtl`]:Vn==="rtl"}),Ie=(0,et.Z)({arrowPointAtCenter:typeof ve=="object"&&ve.pointAtCenter,autoAdjustOverflow:xt,offset:mt.marginXXS,arrowWidth:ve?mt.sizePopupArrow:0,borderRadius:mt.borderRadius}),St=b.useCallback(()=>{Xe(!1)},[]),nt=()=>{let Me;return ie!=null&&ie.items?Me=b.createElement(Ye.default,Object.assign({},ie)):typeof hn=="function"?Me=hn():Me=hn,he&&(Me=he(Me)),Me=b.Children.only(typeof Me=="string"?b.createElement("span",null,Me):Me),b.createElement(se.J,{prefixCls:`${ze}-menu`,expandIcon:b.createElement("span",{className:`${ze}-menu-submenu-arrow`},b.createElement(de.Z,{className:`${ze}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:St,validator:yt=>{let{mode:Bn}=yt}},Me)};return ct(b.createElement(Ze.Z,Object.assign({alignPoint:De},(0,st.Z)(ue,["rootClassName"]),{mouseEnterDelay:ft,mouseLeaveDelay:ln,visible:fe,builtinPlacements:Ie,arrow:!!ve,overlayClassName:Oe,prefixCls:ze,getPopupContainer:qe||dt,transitionName:Zt,trigger:at,overlay:nt,placement:Fn,onVisibleChange:Rt}),ut))};function z(ue){return Object.assign(Object.assign({},ue),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,Ve.Z)(y,"dropdown",ue=>ue,z),re=ue=>b.createElement(ne,Object.assign({},ue),b.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=re,Gt.Z=y},38854:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return E}});var b=ee(91857),de=ee(92310),Be=ee.n(de),Ne=ee(59301),Ze=ee(18785),ke=ee(3113),le=ee(36355),st=ee(81327),et=ee(33234),Ve=ee(47211),Ge=function(a,x){var y={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&x.indexOf(z)<0&&(y[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,z=Object.getOwnPropertySymbols(a);ne<z.length;ne++)x.indexOf(z[ne])<0&&Object.prototype.propertyIsEnumerable.call(a,z[ne])&&(y[z[ne]]=a[z[ne]]);return y};const Je=a=>{const{getPopupContainer:x,getPrefixCls:y,direction:z}=Ne.useContext(le.E_),{prefixCls:ne,type:re="default",danger:ue,disabled:ie,loading:ve,onClick:be,htmlType:je,children:Ae,className:He,menu:he,arrow:qe,autoFocus:Ke,overlay:ht,trigger:Le,align:ot,open:lt,onOpenChange:gt,placement:ft,getPopupContainer:ln,href:xt,icon:an=Ne.createElement(Ze.Z,null),title:hn,buttonsRender:$e=nt=>nt,mouseEnterDelay:dt,mouseLeaveDelay:rn,overlayClassName:Vn,overlayStyle:Zt,destroyPopupOnHide:Fn,dropdownRender:ze}=a,ct=Ge(a,["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"]),Lt=y("dropdown",ne),mt=`${Lt}-button`,[Nt,ut]=(0,Ve.Z)(Lt),at={menu:he,arrow:qe,autoFocus:Ke,align:ot,disabled:ie,trigger:ie?[]:Le,onOpenChange:gt,getPopupContainer:ln||x,mouseEnterDelay:dt,mouseLeaveDelay:rn,overlayClassName:Vn,overlayStyle:Zt,destroyPopupOnHide:Fn,dropdownRender:ze},{compactSize:De,compactItemClassnames:fe}=(0,et.ri)(Lt,z),Xe=Be()(mt,fe,He,ut);"overlay"in a&&(at.overlay=ht),"open"in a&&(at.open=lt),"placement"in a?at.placement=ft:at.placement=z==="rtl"?"bottomLeft":"bottomRight";const Rt=Ne.createElement(ke.ZP,{type:re,danger:ue,disabled:ie,loading:ve,onClick:be,htmlType:je,href:xt,title:hn},Ae),Oe=Ne.createElement(ke.ZP,{type:re,danger:ue,icon:an}),[Ie,St]=$e([Rt,Oe]);return Nt(Ne.createElement(st.Z.Compact,Object.assign({className:Xe,size:De,block:!0},ct),Ie,Ne.createElement(b.Z,Object.assign({},at),St)))};Je.__ANT_BUTTON=!0;var Ye=Je;const se=b.Z;se.Button=Ye;var E=se},47211:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ge}});var b=ee(17313),de=ee(13826),Be=ee(92899),Ne=ee(29878),Ze=ee(19447),ke=ee(83116),le=ee(37613),et=Je=>{const{componentCls:Ye,menuCls:se,colorError:E,colorTextLightSolid:a}=Je,x=`${se}-item`;return{[`${Ye}, ${Ye}-menu-submenu`]:{[`${se} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const Ve=Je=>{const{componentCls:Ye,menuCls:se,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:x,antCls:y,iconCls:z,motionDurationMid:ne,dropdownPaddingVertical:re,fontSize:ue,dropdownEdgeChildPadding:ie,colorTextDisabled:ve,fontSizeIcon:be,controlPaddingHorizontal:je,colorBgElevated:Ae}=Je;return[{[Ye]:Object.assign(Object.assign({},(0,b.Wf)(Je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${z}-down, & > ${y}-btn-icon > ${z}-down`]:{fontSize:be}},[`${Ye}-wrap`]:{position:"relative",[`${y}-btn > ${z}-down`]:{fontSize:be},[`${z}-down::before`]:{transition:`transform ${ne}`}},[`${Ye}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${Ye}-placement-bottomLeft,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ye}-placement-bottomLeft,
&${y}-slide-down-enter${y}-slide-down-enter-active${Ye}-placement-bottom,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ye}-placement-bottom,
&${y}-slide-down-enter${y}-slide-down-enter-active${Ye}-placement-bottomRight,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ye}-placement-bottomRight`]:{animationName:de.fJ},[`&${y}-slide-up-enter${y}-slide-up-enter-active${Ye}-placement-topLeft,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ye}-placement-topLeft,
&${y}-slide-up-enter${y}-slide-up-enter-active${Ye}-placement-top,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ye}-placement-top,
&${y}-slide-up-enter${y}-slide-up-enter-active${Ye}-placement-topRight,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ye}-placement-topRight`]:{animationName:de.Qt},[`&${y}-slide-down-leave${y}-slide-down-leave-active${Ye}-placement-bottomLeft,
&${y}-slide-down-leave${y}-slide-down-leave-active${Ye}-placement-bottom,
&${y}-slide-down-leave${y}-slide-down-leave-active${Ye}-placement-bottomRight`]:{animationName:de.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-topLeft,
&${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-top,
&${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-topRight`]:{animationName:de.ly}})},(0,Ze.ZP)(Je,{colorBg:Ae,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ye} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ye}, ${Ye}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Ae,backgroundClip:"padding-box",borderRadius:Je.borderRadiusLG,outline:"none",boxShadow:Je.boxShadowSecondary},(0,b.Qy)(Je)),{[`${se}-item-group-title`]:{padding:`${re}px ${je}px`,color:Je.colorTextDescription,transition:`all ${ne}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:ue,marginInlineEnd:Je.marginXS,fontSize:Je.fontSizeSM},[`${se}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${se}-item, ${se}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${je}px`,color:Je.colorText,fontWeight:"normal",fontSize:ue,lineHeight:Je.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:Je.borderRadiusSM,"&:hover, &-active":{backgroundColor:Je.controlItemBgHover}},(0,b.Qy)(Je)),{"&-selected":{color:Je.colorPrimary,backgroundColor:Je.controlItemBgActive,"&:hover, &-active":{backgroundColor:Je.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:Ae,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Je.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Je.colorSplit},[`${Ye}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Je.paddingXS,[`${Ye}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Je.colorTextDescription,fontSize:be,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${Je.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:je+Je.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Ye}-menu-submenu-title`]:{[`&, ${Ye}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:Ae,cursor:"not-allowed"}},[`${se}-submenu-selected ${Ye}-menu-submenu-title`]:{color:Je.colorPrimary}})}},[(0,de.oN)(Je,"slide-up"),(0,de.oN)(Je,"slide-down"),(0,Be.Fm)(Je,"move-up"),(0,Be.Fm)(Je,"move-down"),(0,Ne._y)(Je,"zoom-big")]]};var Ge=(0,ke.Z)("Dropdown",(Je,Ye)=>{let{rootPrefixCls:se}=Ye;const{marginXXS:E,sizePopupArrow:a,controlHeight:x,fontSize:y,lineHeight:z,paddingXXS:ne,componentCls:re,borderRadiusLG:ue}=Je,ie=(x-y*z)/2,{dropdownArrowOffset:ve}=(0,Ze.fS)({contentRadius:ue}),be=(0,le.TS)(Je,{menuCls:`${re}-menu`,rootPrefixCls:se,dropdownArrowDistance:a/2+E,dropdownArrowOffset:ve,dropdownPaddingVertical:ie,dropdownEdgeChildPadding:ne});return[Ve(be),et(be)]},Je=>({zIndexPopup:Je.zIndexPopupBase+50}))},8628:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(34280),Be=ee(56762),Ne=ee(69507);function Ze(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const le=(0,b.useRef)({}),st=(0,Be.Z)(),et=(0,Ne.ZP)();return(0,de.Z)(()=>{const Ve=et.subscribe(Ge=>{le.current=Ge,ke&&st()});return()=>et.unsubscribe(Ve)},[]),le.current}Gt.Z=Ze},45818:function(Qt,Gt,ee){"use strict";ee.d(Gt,{D:function(){return ne},Z:function(){return ie}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(be,je){return de.createElement(Ze.Z,(0,b.Z)({},be,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(33853),Ve=ee(38819),Ge=ee(92310),Je=ee.n(Ge),Ye=ee(2738),E=ve=>!isNaN(parseFloat(ve))&&isFinite(ve),a=ee(36355),x=ee(84966),y=function(ve,be){var je={};for(var Ae in ve)Object.prototype.hasOwnProperty.call(ve,Ae)&&be.indexOf(Ae)<0&&(je[Ae]=ve[Ae]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Ae=Object.getOwnPropertySymbols(ve);He<Ae.length;He++)be.indexOf(Ae[He])<0&&Object.prototype.propertyIsEnumerable.call(ve,Ae[He])&&(je[Ae[He]]=ve[Ae[He]]);return je};const z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ne=de.createContext({}),re=(()=>{let ve=0;return function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ve+=1,`${be}${ve}`}})();var ie=de.forwardRef((ve,be)=>{const{prefixCls:je,className:Ae,trigger:He,children:he,defaultCollapsed:qe=!1,theme:Ke="dark",style:ht={},collapsible:Le=!1,reverseArrow:ot=!1,width:lt=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:ft,breakpoint:ln,onCollapse:xt,onBreakpoint:an}=ve,hn=y(ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:$e}=(0,de.useContext)(x.Gs),[dt,rn]=(0,de.useState)("collapsed"in ve?ve.collapsed:qe),[Vn,Zt]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in ve&&rn(ve.collapsed)},[ve.collapsed]);const Fn=(ut,at)=>{"collapsed"in ve||rn(ut),xt==null||xt(ut,at)},ze=(0,de.useRef)();ze.current=ut=>{Zt(ut.matches),an==null||an(ut.matches),dt!==ut.matches&&Fn(ut.matches,"responsive")},(0,de.useEffect)(()=>{function ut(De){return ze.current(De)}let at;if(typeof window!="undefined"){const{matchMedia:De}=window;if(De&&ln&&ln in z){at=De(`(max-width: ${z[ln]})`);try{at.addEventListener("change",ut)}catch(fe){at.addListener(ut)}ut(at)}}return()=>{try{at==null||at.removeEventListener("change",ut)}catch(De){at==null||at.removeListener(ut)}}},[ln]),(0,de.useEffect)(()=>{const ut=re("ant-sider-");return $e.addSider(ut),()=>$e.removeSider(ut)},[]);const ct=()=>{Fn(!dt,"clickTrigger")},{getPrefixCls:Lt}=(0,de.useContext)(a.E_),mt=()=>{const ut=Lt("layout-sider",je),at=(0,Ye.Z)(hn,["collapsed"]),De=dt?gt:lt,fe=E(De)?`${De}px`:String(De),Xe=parseFloat(String(gt||0))===0?de.createElement("span",{onClick:ct,className:Je()(`${ut}-zero-width-trigger`,`${ut}-zero-width-trigger-${ot?"right":"left"}`),style:ft},He||de.createElement(st,null)):null,Ie={expanded:ot?de.createElement(Ve.Z,null):de.createElement(et.Z,null),collapsed:ot?de.createElement(et.Z,null):de.createElement(Ve.Z,null)}[dt?"collapsed":"expanded"],St=He!==null?Xe||de.createElement("div",{className:`${ut}-trigger`,onClick:ct,style:{width:fe}},He||Ie):null,nt=Object.assign(Object.assign({},ht),{flex:`0 0 ${fe}`,maxWidth:fe,minWidth:fe,width:fe}),Me=Je()(ut,`${ut}-${Ke}`,{[`${ut}-collapsed`]:!!dt,[`${ut}-has-trigger`]:Le&&He!==null&&!Xe,[`${ut}-below`]:!!Vn,[`${ut}-zero-width`]:parseFloat(fe)===0},Ae);return de.createElement("aside",Object.assign({className:Me},at,{style:nt,ref:be}),de.createElement("div",{className:`${ut}-children`},he),Le||Vn&&Xe?St:null)},Nt=de.useMemo(()=>({siderCollapsed:dt}),[dt]);return de.createElement(ne.Provider,{value:Nt},mt())})},84966:function(Qt,Gt,ee){"use strict";ee.d(Gt,{VY:function(){return ne},$_:function(){return z},h4:function(){return y},Gs:function(){return Ye},ZP:function(){return re}});var b=ee(80702),de=ee(92310),Be=ee.n(de),Ne=ee(2738),Ze=ee(59301),ke=ee(36355),le=ee(83116),et=ue=>{const{componentCls:ie,bodyBg:ve,lightSiderBg:be,lightTriggerBg:je,lightTriggerColor:Ae}=ue;return{[`${ie}-sider-light`]:{background:be,[`${ie}-sider-trigger`]:{color:Ae,background:je},[`${ie}-sider-zero-width-trigger`]:{color:Ae,background:je,border:`1px solid ${ve}`,borderInlineStart:0}}}};const Ve=ue=>{const{antCls:ie,componentCls:ve,colorText:be,triggerColor:je,footerBg:Ae,triggerBg:He,headerHeight:he,headerPadding:qe,headerColor:Ke,footerPadding:ht,triggerHeight:Le,zeroTriggerHeight:ot,zeroTriggerWidth:lt,motionDurationMid:gt,motionDurationSlow:ft,fontSize:ln,borderRadius:xt,bodyBg:an,headerBg:hn,siderBg:$e}=ue;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:an,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:$e,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ie}-menu${ie}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Le,color:je,lineHeight:`${Le}px`,textAlign:"center",background:He,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:he,insetInlineEnd:-lt,zIndex:1,width:lt,height:ot,color:je,fontSize:ue.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:$e,borderStartStartRadius:0,borderStartEndRadius:xt,borderEndEndRadius:xt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ft} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ft}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-lt,borderStartStartRadius:xt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:xt}}}}},et(ue)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:he,padding:qe,color:Ke,lineHeight:`${he}px`,background:hn,[`${ie}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:ht,color:be,fontSize:ln,background:Ae},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var Ge=(0,le.Z)("Layout",ue=>[Ve(ue)],ue=>{const{colorBgLayout:ie,controlHeight:ve,controlHeightLG:be,colorText:je,controlHeightSM:Ae,marginXXS:He,colorTextLightSolid:he,colorBgContainer:qe}=ue,Ke=be*1.25;return{colorBgHeader:"#001529",colorBgBody:ie,colorBgTrigger:"#002140",bodyBg:ie,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ke}px`,headerColor:je,footerPadding:`${Ae}px ${Ke}px`,footerBg:ie,siderBg:"#001529",triggerHeight:be+He*2,triggerBg:"#002140",triggerColor:he,zeroTriggerWidth:be,zeroTriggerHeight:be,lightSiderBg:qe,lightTriggerBg:qe,lightTriggerColor:je}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Je=function(ue,ie){var ve={};for(var be in ue)Object.prototype.hasOwnProperty.call(ue,be)&&ie.indexOf(be)<0&&(ve[be]=ue[be]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,be=Object.getOwnPropertySymbols(ue);je<be.length;je++)ie.indexOf(be[je])<0&&Object.prototype.propertyIsEnumerable.call(ue,be[je])&&(ve[be[je]]=ue[be[je]]);return ve};const Ye=Ze.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function se(ue){let{suffixCls:ie,tagName:ve,displayName:be}=ue;return je=>Ze.forwardRef((He,he)=>Ze.createElement(je,Object.assign({ref:he,suffixCls:ie,tagName:ve},He)))}const E=Ze.forwardRef((ue,ie)=>{const{prefixCls:ve,suffixCls:be,className:je,tagName:Ae}=ue,He=Je(ue,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:he}=Ze.useContext(ke.E_),qe=he("layout",ve),[Ke,ht]=Ge(qe),Le=be?`${qe}-${be}`:qe;return Ke(Ze.createElement(Ae,Object.assign({className:Be()(ve||Le,je,ht),ref:ie},He)))}),a=Ze.forwardRef((ue,ie)=>{const{direction:ve}=Ze.useContext(ke.E_),[be,je]=Ze.useState([]),{prefixCls:Ae,className:He,rootClassName:he,children:qe,hasSider:Ke,tagName:ht,style:Le}=ue,ot=Je(ue,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),lt=(0,Ne.Z)(ot,["suffixCls"]),{getPrefixCls:gt,layout:ft}=Ze.useContext(ke.E_),ln=gt("layout",Ae),[xt,an]=Ge(ln),hn=Be()(ln,{[`${ln}-has-sider`]:typeof Ke=="boolean"?Ke:be.length>0,[`${ln}-rtl`]:ve==="rtl"},ft==null?void 0:ft.className,He,he,an),$e=Ze.useMemo(()=>({siderHook:{addSider:dt=>{je(rn=>[].concat((0,b.Z)(rn),[dt]))},removeSider:dt=>{je(rn=>rn.filter(Vn=>Vn!==dt))}}}),[]);return xt(Ze.createElement(Ye.Provider,{value:$e},Ze.createElement(ht,Object.assign({ref:ie,className:hn,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),Le)},lt),qe)))}),x=se({tagName:"div",displayName:"Layout"})(a),y=se({suffixCls:"header",tagName:"header",displayName:"Header"})(E),z=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),ne=se({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var re=x},40875:function(Qt,Gt,ee){"use strict";ee.d(Gt,{J:function(){return ke}});var b=ee(59301),de=ee(33234),Be=ee(70425),Ne=function(le,st){var et={};for(var Ve in le)Object.prototype.hasOwnProperty.call(le,Ve)&&st.indexOf(Ve)<0&&(et[Ve]=le[Ve]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ve=Object.getOwnPropertySymbols(le);Ge<Ve.length;Ge++)st.indexOf(Ve[Ge])<0&&Object.prototype.propertyIsEnumerable.call(le,Ve[Ge])&&(et[Ve[Ge]]=le[Ve[Ge]]);return et};const Ze=b.createContext(null),ke=b.forwardRef((le,st)=>{const{children:et}=le,Ve=Ne(le,["children"]),Ge=b.useContext(Ze),Je=b.useMemo(()=>Object.assign(Object.assign({},Ge),Ve),[Ge,Ve.prefixCls,Ve.mode,Ve.selectable]);return b.createElement(Ze.Provider,{value:Je},b.createElement(de.BR,null,(0,Be.supportNodeRef)(et)?b.cloneElement(et,{ref:st}):et))});Gt.Z=Ze},20834:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Nt}});var b=ee(15285),de=ee(59301),Be=ee(45818),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(36355),le=function(ut,at){var De={};for(var fe in ut)Object.prototype.hasOwnProperty.call(ut,fe)&&at.indexOf(fe)<0&&(De[fe]=ut[fe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(ut);Xe<fe.length;Xe++)at.indexOf(fe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(ut,fe[Xe])&&(De[fe[Xe]]=ut[fe[Xe]]);return De},et=ut=>{const{prefixCls:at,className:De,dashed:fe}=ut,Xe=le(ut,["prefixCls","className","dashed"]),{getPrefixCls:Rt}=de.useContext(ke.E_),Oe=Rt("menu",at),Ie=Ze()({[`${Oe}-item-divider-dashed`]:!!fe},De);return de.createElement(b.iz,Object.assign({className:Ie},Xe))},Ve=ee(11592),Ge=ee(2738),Je=ee(6848),Ye=ee(92343),E=(0,de.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=ut=>{var at;const{className:De,children:fe,icon:Xe,title:Rt,danger:Oe}=ut,{prefixCls:Ie,firstLevel:St,direction:nt,disableMenuItemTitleTooltip:Me,inlineCollapsed:yt}=de.useContext(E),Bn=Ft=>{const zt=de.createElement("span",{className:`${Ie}-title-content`},fe);return(!Xe||(0,Ye.l$)(fe)&&fe.type==="span")&&fe&&Ft&&St&&typeof fe=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},fe.charAt(0)):zt},{siderCollapsed:nn}=de.useContext(Be.D);let dn=Rt;typeof Rt=="undefined"?dn=St?fe:"":Rt===!1&&(dn="");const un={title:dn};!nn&&!yt&&(un.title=null,un.open=!1);const yn=(0,Ve.Z)(fe).length;let Te=de.createElement(b.ck,Object.assign({},(0,Ge.Z)(ut,["title","icon","danger"]),{className:Ze()({[`${Ie}-item-danger`]:Oe,[`${Ie}-item-only-child`]:(Xe?yn+1:yn)===1},De),title:typeof Rt=="string"?Rt:void 0}),(0,Ye.Tm)(Xe,{className:Ze()((0,Ye.l$)(Xe)?(at=Xe.props)===null||at===void 0?void 0:at.className:"",`${Ie}-item-icon`)}),Bn(yt));return Me||(Te=de.createElement(Je.Z,Object.assign({},un,{placement:nt==="rtl"?"left":"right",overlayClassName:`${Ie}-inline-collapsed-tooltip`}),Te)),Te},z=ut=>{var at;const{popupClassName:De,icon:fe,title:Xe,theme:Rt}=ut,Oe=de.useContext(E),{prefixCls:Ie,inlineCollapsed:St,theme:nt}=Oe,Me=(0,b.Xl)();let yt;if(!fe)yt=St&&!Me.length&&Xe&&typeof Xe=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},Xe.charAt(0)):de.createElement("span",{className:`${Ie}-title-content`},Xe);else{const nn=(0,Ye.l$)(Xe)&&Xe.type==="span";yt=de.createElement(de.Fragment,null,(0,Ye.Tm)(fe,{className:Ze()((0,Ye.l$)(fe)?(at=fe.props)===null||at===void 0?void 0:at.className:"",`${Ie}-item-icon`)}),nn?Xe:de.createElement("span",{className:`${Ie}-title-content`},Xe))}const Bn=de.useMemo(()=>Object.assign(Object.assign({},Oe),{firstLevel:!1}),[Oe]);return de.createElement(E.Provider,{value:Bn},de.createElement(b.Wd,Object.assign({},(0,Ge.Z)(ut,["icon"]),{title:yt,popupClassName:Ze()(Ie,De,`${Ie}-${Rt||nt}`)})))},ne=ee(18785),re=ee(70425),ue=ee(62892),ie=ee(40875),ve=function(ut,at){var De={};for(var fe in ut)Object.prototype.hasOwnProperty.call(ut,fe)&&at.indexOf(fe)<0&&(De[fe]=ut[fe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(ut);Xe<fe.length;Xe++)at.indexOf(fe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(ut,fe[Xe])&&(De[fe[Xe]]=ut[fe[Xe]]);return De};function be(ut){return(ut||[]).map((at,De)=>{if(at&&typeof at=="object"){const fe=at,{label:Xe,children:Rt,key:Oe,type:Ie}=fe,St=ve(fe,["label","children","key","type"]),nt=Oe!=null?Oe:`tmp-${De}`;return Rt||Ie==="group"?Ie==="group"?de.createElement(b.BW,Object.assign({key:nt},St,{title:Xe}),be(Rt)):de.createElement(z,Object.assign({key:nt},St,{title:Xe}),be(Rt)):Ie==="divider"?de.createElement(et,Object.assign({key:nt},St)):de.createElement(x,Object.assign({key:nt},St),Xe)}return null}).filter(at=>at)}function je(ut){return de.useMemo(()=>ut&&be(ut),[ut])}var Ae=ee(64993),He=ee(17313),he=ee(8378),qe=ee(13826),Ke=ee(29878),ht=ee(83116),Le=ee(37613),lt=ut=>{const{componentCls:at,motionDurationSlow:De,horizontalLineHeight:fe,colorSplit:Xe,lineWidth:Rt,lineType:Oe,itemPaddingInline:Ie}=ut;return{[`${at}-horizontal`]:{lineHeight:fe,border:0,borderBottom:`${Rt}px ${Oe} ${Xe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${at}-item, ${at}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ie},[`> ${at}-item:hover,
> ${at}-item-active,
> ${at}-submenu ${at}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${at}-item, ${at}-submenu-title`]:{transition:[`border-color ${De}`,`background ${De}`].join(",")},[`${at}-submenu-arrow`]:{display:"none"}}}},ft=ut=>{let{componentCls:at,menuArrowOffset:De}=ut;return{[`${at}-rtl`]:{direction:"rtl"},[`${at}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${at}-rtl${at}-vertical,
${at}-submenu-rtl ${at}-vertical`]:{[`${at}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${De})`},"&::after":{transform:`rotate(45deg) translateY(${De})`}}}}};const ln=ut=>Object.assign({},(0,He.oN)(ut));var an=(ut,at)=>{const{componentCls:De,itemColor:fe,itemSelectedColor:Xe,groupTitleColor:Rt,itemBg:Oe,subMenuItemBg:Ie,itemSelectedBg:St,activeBarHeight:nt,activeBarWidth:Me,activeBarBorderWidth:yt,motionDurationSlow:Bn,motionEaseInOut:nn,motionEaseOut:dn,itemPaddingInline:un,motionDurationMid:yn,itemHoverColor:Te,lineType:Ft,colorSplit:zt,itemDisabledColor:wt,dangerItemColor:kt,dangerItemHoverColor:sn,dangerItemSelectedColor:cn,dangerItemActiveBg:Ln,dangerItemSelectedBg:Jn,itemHoverBg:va,itemActiveBg:Da,menuSubMenuBg:Na,horizontalItemSelectedColor:ar,horizontalItemSelectedBg:$a,horizontalItemBorderRadius:fa,horizontalItemHoverBg:yr,popupBg:en}=ut;return{[`${De}-${at}, ${De}-${at} > ${De}`]:{color:fe,background:Oe,[`&${De}-root:focus-visible`]:Object.assign({},ln(ut)),[`${De}-item-group-title`]:{color:Rt},[`${De}-submenu-selected`]:{[`> ${De}-submenu-title`]:{color:Xe}},[`${De}-item-disabled, ${De}-submenu-disabled`]:{color:`${wt} !important`},[`${De}-item:not(${De}-item-selected):not(${De}-submenu-selected)`]:{[`&:hover, > ${De}-submenu-title:hover`]:{color:Te}},[`&:not(${De}-horizontal)`]:{[`${De}-item:not(${De}-item-selected)`]:{"&:hover":{backgroundColor:va},"&:active":{backgroundColor:Da}},[`${De}-submenu-title`]:{"&:hover":{backgroundColor:va},"&:active":{backgroundColor:Da}}},[`${De}-item-danger`]:{color:kt,[`&${De}-item:hover`]:{[`&:not(${De}-item-selected):not(${De}-submenu-selected)`]:{color:sn}},[`&${De}-item:active`]:{background:Ln}},[`${De}-item a`]:{"&, &:hover":{color:"inherit"}},[`${De}-item-selected`]:{color:Xe,[`&${De}-item-danger`]:{color:cn},"a, a:hover":{color:"inherit"}},[`& ${De}-item-selected`]:{backgroundColor:St,[`&${De}-item-danger`]:{backgroundColor:Jn}},[`${De}-item, ${De}-submenu-title`]:{[`&:not(${De}-item-disabled):focus-visible`]:Object.assign({},ln(ut))},[`&${De}-submenu > ${De}`]:{backgroundColor:Na},[`&${De}-popup > ${De}`]:{backgroundColor:en},[`&${De}-horizontal`]:Object.assign(Object.assign({},at==="dark"?{borderBottom:0}:{}),{[`> ${De}-item, > ${De}-submenu`]:{top:yt,marginTop:-yt,marginBottom:0,borderRadius:fa,"&::after":{position:"absolute",insetInline:un,bottom:0,borderBottom:`${nt}px solid transparent`,transition:`border-color ${Bn} ${nn}`,content:'""'},"&:hover, &-active, &-open":{background:yr,"&::after":{borderBottomWidth:nt,borderBottomColor:ar}},"&-selected":{color:ar,backgroundColor:$a,"&:hover":{backgroundColor:$a},"&::after":{borderBottomWidth:nt,borderBottomColor:ar}}}}),[`&${De}-root`]:{[`&${De}-inline, &${De}-vertical`]:{borderInlineEnd:`${yt}px ${Ft} ${zt}`}},[`&${De}-inline`]:{[`${De}-sub${De}-inline`]:{background:Ie},[`${De}-item, ${De}-submenu-title`]:yt&&Me?{width:`calc(100% + ${yt}px)`}:{},[`${De}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Me}px solid ${Xe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${yn} ${dn}`,`opacity ${yn} ${dn}`].join(","),content:'""'},[`&${De}-item-danger`]:{"&::after":{borderInlineEndColor:cn}}},[`${De}-selected, ${De}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${yn} ${nn}`,`opacity ${yn} ${nn}`].join(",")}}}}}};const hn=ut=>{const{componentCls:at,itemHeight:De,itemMarginInline:fe,padding:Xe,menuArrowSize:Rt,marginXS:Oe,itemMarginBlock:Ie}=ut,St=Xe+Rt+Oe;return{[`${at}-item`]:{position:"relative",overflow:"hidden"},[`${at}-item, ${at}-submenu-title`]:{height:De,lineHeight:`${De}px`,paddingInline:Xe,overflow:"hidden",textOverflow:"ellipsis",marginInline:fe,marginBlock:Ie,width:`calc(100% - ${fe*2}px)`},[`> ${at}-item,
> ${at}-submenu > ${at}-submenu-title`]:{height:De,lineHeight:`${De}px`},[`${at}-item-group-list ${at}-submenu-title,
${at}-submenu-title`]:{paddingInlineEnd:St}}};var dt=ut=>{const{componentCls:at,iconCls:De,itemHeight:fe,colorTextLightSolid:Xe,dropdownWidth:Rt,controlHeightLG:Oe,motionDurationMid:Ie,motionEaseOut:St,paddingXL:nt,itemMarginInline:Me,fontSizeLG:yt,motionDurationSlow:Bn,paddingXS:nn,boxShadowSecondary:dn,collapsedWidth:un,collapsedIconSize:yn}=ut,Te={height:fe,lineHeight:`${fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[at]:{"&-inline, &-vertical":Object.assign({[`&${at}-root`]:{boxShadow:"none"}},hn(ut))},[`${at}-submenu-popup`]:{[`${at}-vertical`]:Object.assign(Object.assign({},hn(ut)),{boxShadow:dn})}},{[`${at}-submenu-popup ${at}-vertical${at}-sub`]:{minWidth:Rt,maxHeight:`calc(100vh - ${Oe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${at}-inline`]:{width:"100%",[`&${at}-root`]:{[`${at}-item, ${at}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Bn}`,`background ${Bn}`,`padding ${Ie} ${St}`].join(","),[`> ${at}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${at}-sub${at}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${at}-submenu > ${at}-submenu-title`]:Te,[`& ${at}-item-group-title`]:{paddingInlineStart:nt}},[`${at}-item`]:Te}},{[`${at}-inline-collapsed`]:{width:un,[`&${at}-root`]:{[`${at}-item, ${at}-submenu ${at}-submenu-title`]:{[`> ${at}-inline-collapsed-noicon`]:{fontSize:yt,textAlign:"center"}}},[`> ${at}-item,
> ${at}-item-group > ${at}-item-group-list > ${at}-item,
> ${at}-item-group > ${at}-item-group-list > ${at}-submenu > ${at}-submenu-title,
> ${at}-submenu > ${at}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${yt/2}px - ${Me}px)`,textOverflow:"clip",[`
${at}-submenu-arrow,
${at}-submenu-expand-icon
`]:{opacity:0},[`${at}-item-icon, ${De}`]:{margin:0,fontSize:yn,lineHeight:`${fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${at}-item-icon, ${De}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${at}-item-icon, ${De}`]:{display:"none"},"a, a:hover":{color:Xe}},[`${at}-item-group-title`]:Object.assign(Object.assign({},He.vS),{paddingInline:nn})}}]};const rn=ut=>{const{componentCls:at,motionDurationSlow:De,motionDurationMid:fe,motionEaseInOut:Xe,motionEaseOut:Rt,iconCls:Oe,iconSize:Ie,iconMarginInlineEnd:St}=ut;return{[`${at}-item, ${at}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${De}`,`background ${De}`,`padding ${De} ${Xe}`].join(","),[`${at}-item-icon, ${Oe}`]:{minWidth:Ie,fontSize:Ie,transition:[`font-size ${fe} ${Rt}`,`margin ${De} ${Xe}`,`color ${De}`].join(","),"+ span":{marginInlineStart:St,opacity:1,transition:[`opacity ${De} ${Xe}`,`margin ${De}`,`color ${De}`].join(",")}},[`${at}-item-icon`]:Object.assign({},(0,He.Ro)()),[`&${at}-item-only-child`]:{[`> ${Oe}, > ${at}-item-icon`]:{marginInlineEnd:0}}},[`${at}-item-disabled, ${at}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${at}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Vn=ut=>{const{componentCls:at,motionDurationSlow:De,motionEaseInOut:fe,borderRadius:Xe,menuArrowSize:Rt,menuArrowOffset:Oe}=ut;return{[`${at}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ut.margin,width:Rt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${De} ${fe}, opacity ${De}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Rt*.6,height:Rt*.15,backgroundColor:"currentcolor",borderRadius:Xe,transition:[`background ${De} ${fe}`,`transform ${De} ${fe}`,`top ${De} ${fe}`,`color ${De} ${fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Oe})`},"&::after":{transform:`rotate(-45deg) translateY(${Oe})`}}}}},Zt=ut=>{const{antCls:at,componentCls:De,fontSize:fe,motionDurationSlow:Xe,motionDurationMid:Rt,motionEaseInOut:Oe,paddingXS:Ie,padding:St,colorSplit:nt,lineWidth:Me,zIndexPopup:yt,borderRadiusLG:Bn,subMenuItemBorderRadius:nn,menuArrowSize:dn,menuArrowOffset:un,lineType:yn,menuPanelMaskInset:Te,groupTitleLineHeight:Ft,groupTitleFontSize:zt}=ut;return[{"":{[`${De}`]:Object.assign(Object.assign({},(0,He.dF)()),{"&-hidden":{display:"none"}})},[`${De}-submenu-hidden`]:{display:"none"}},{[De]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,He.Wf)(ut)),(0,He.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:fe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Xe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${De}-item`]:{flex:"none"}},[`${De}-item, ${De}-submenu, ${De}-submenu-title`]:{borderRadius:ut.itemBorderRadius},[`${De}-item-group-title`]:{padding:`${Ie}px ${St}px`,fontSize:zt,lineHeight:Ft,transition:`all ${Xe}`},[`&-horizontal ${De}-submenu`]:{transition:[`border-color ${Xe} ${Oe}`,`background ${Xe} ${Oe}`].join(",")},[`${De}-submenu, ${De}-submenu-inline`]:{transition:[`border-color ${Xe} ${Oe}`,`background ${Xe} ${Oe}`,`padding ${Rt} ${Oe}`].join(",")},[`${De}-submenu ${De}-sub`]:{cursor:"initial",transition:[`background ${Xe} ${Oe}`,`padding ${Xe} ${Oe}`].join(",")},[`${De}-title-content`]:{transition:`color ${Xe}`},[`${De}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${De}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:nt,borderStyle:yn,borderWidth:0,borderTopWidth:Me,marginBlock:Me,padding:0,"&-dashed":{borderStyle:"dashed"}}}),rn(ut)),{[`${De}-item-group`]:{[`${De}-item-group-list`]:{margin:0,padding:0,[`${De}-item, ${De}-submenu-title`]:{paddingInline:`${fe*2}px ${St}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:yt,borderRadius:Bn,boxShadow:"none",transformOrigin:"0 0",[`&${De}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Te}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Te},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:ut.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ut.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ut.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ut.paddingXS},[`> ${De}`]:Object.assign(Object.assign(Object.assign({borderRadius:Bn},rn(ut)),Vn(ut)),{[`${De}-item, ${De}-submenu > ${De}-submenu-title`]:{borderRadius:nn},[`${De}-submenu-title::after`]:{transition:`transform ${Xe} ${Oe}`}})}}),Vn(ut)),{[`&-inline-collapsed ${De}-submenu-arrow,
&-inline ${De}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${un})`},"&::after":{transform:`rotate(45deg) translateX(-${un})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(-${dn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${un})`},"&::before":{transform:`rotate(45deg) translateX(${un})`}}})},{[`${at}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]};var Fn=(ut,at)=>(0,ht.Z)("Menu",fe=>{if(at===!1)return[];const{colorBgElevated:Xe,colorPrimary:Rt,colorTextLightSolid:Oe,controlHeightLG:Ie,fontSize:St,darkItemColor:nt,darkDangerItemColor:Me,darkItemBg:yt,darkSubMenuItemBg:Bn,darkItemSelectedColor:nn,darkItemSelectedBg:dn,darkDangerItemSelectedBg:un,darkItemHoverBg:yn,darkGroupTitleColor:Te,darkItemHoverColor:Ft,darkItemDisabledColor:zt,darkDangerItemHoverColor:wt,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:sn}=fe,cn=St/7*5,Ln=(0,Le.TS)(fe,{menuArrowSize:cn,menuHorizontalHeight:Ie*1.15,menuArrowOffset:`${cn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Xe}),Jn=(0,Le.TS)(Ln,{itemColor:nt,itemHoverColor:Ft,groupTitleColor:Te,itemSelectedColor:nn,itemBg:yt,popupBg:yt,subMenuItemBg:Bn,itemActiveBg:"transparent",itemSelectedBg:dn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:zt,dangerItemColor:Me,dangerItemHoverColor:wt,dangerItemSelectedColor:kt,dangerItemActiveBg:sn,dangerItemSelectedBg:un,menuSubMenuBg:Bn,horizontalItemSelectedColor:Oe,horizontalItemSelectedBg:Rt});return[Zt(Ln),lt(Ln),dt(Ln),an(Ln,"light"),an(Jn,"dark"),ft(Ln),(0,he.Z)(Ln),(0,qe.oN)(Ln,"slide-up"),(0,qe.oN)(Ln,"slide-down"),(0,Ke._y)(Ln,"zoom-big")]},fe=>{const{colorPrimary:Xe,colorError:Rt,colorTextDisabled:Oe,colorErrorBg:Ie,colorText:St,colorTextDescription:nt,colorBgContainer:Me,colorFillAlter:yt,colorFillContent:Bn,lineWidth:nn,lineWidthBold:dn,controlItemBgActive:un,colorBgTextHover:yn,controlHeightLG:Te,lineHeight:Ft,colorBgElevated:zt,marginXXS:wt,padding:kt,fontSize:sn,controlHeightSM:cn,fontSizeLG:Ln,colorTextLightSolid:Jn,colorErrorHover:va}=fe,Da=new Ae.C(Jn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:fe.zIndexPopupBase+50,radiusItem:fe.borderRadiusLG,itemBorderRadius:fe.borderRadiusLG,radiusSubMenuItem:fe.borderRadiusSM,subMenuItemBorderRadius:fe.borderRadiusSM,colorItemText:St,itemColor:St,colorItemTextHover:St,itemHoverColor:St,colorItemTextHoverHorizontal:Xe,horizontalItemHoverColor:Xe,colorGroupTitle:nt,groupTitleColor:nt,colorItemTextSelected:Xe,itemSelectedColor:Xe,colorItemTextSelectedHorizontal:Xe,horizontalItemSelectedColor:Xe,colorItemBg:Me,itemBg:Me,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:Bn,itemActiveBg:un,colorSubItemBg:yt,subMenuItemBg:yt,colorItemBgSelected:un,itemSelectedBg:un,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:dn,activeBarHeight:dn,colorActiveBarBorderSize:nn,activeBarBorderWidth:nn,colorItemTextDisabled:Oe,itemDisabledColor:Oe,colorDangerItemText:Rt,dangerItemColor:Rt,colorDangerItemTextHover:Rt,dangerItemHoverColor:Rt,colorDangerItemTextSelected:Rt,dangerItemSelectedColor:Rt,colorDangerItemBgActive:Ie,dangerItemActiveBg:Ie,colorDangerItemBgSelected:Ie,dangerItemSelectedBg:Ie,itemMarginInline:fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Te,groupTitleLineHeight:Ft,collapsedWidth:Te*2,popupBg:zt,itemMarginBlock:wt,itemPaddingInline:kt,horizontalLineHeight:`${Te*1.15}px`,iconSize:sn,iconMarginInlineEnd:cn-sn,collapsedIconSize:Ln,groupTitleFontSize:sn,darkItemDisabledColor:new Ae.C(Jn).setAlpha(.25).toRgbString(),darkItemColor:Da,darkDangerItemColor:Rt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Jn,darkItemSelectedBg:Xe,darkDangerItemSelectedBg:Rt,darkItemHoverBg:"transparent",darkGroupTitleColor:Da,darkItemHoverColor:Jn,darkDangerItemHoverColor:va,darkDangerItemSelectedColor:Jn,darkDangerItemActiveBg:Rt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(ut),ze=function(ut,at){var De={};for(var fe in ut)Object.prototype.hasOwnProperty.call(ut,fe)&&at.indexOf(fe)<0&&(De[fe]=ut[fe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(ut);Xe<fe.length;Xe++)at.indexOf(fe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(ut,fe[Xe])&&(De[fe[Xe]]=ut[fe[Xe]]);return De},Lt=(0,de.forwardRef)((ut,at)=>{var De,fe;const Xe=de.useContext(ie.Z),Rt=Xe||{},{getPrefixCls:Oe,getPopupContainer:Ie,direction:St,menu:nt}=de.useContext(ke.E_),Me=Oe(),{prefixCls:yt,className:Bn,style:nn,theme:dn="light",expandIcon:un,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:Te,siderCollapsed:Ft,items:zt,children:wt,rootClassName:kt,mode:sn,selectable:cn,onClick:Ln,overflowedIndicatorPopupClassName:Jn}=ut,va=ze(ut,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Da=(0,Ge.Z)(va,["collapsedWidth"]),Na=je(zt)||wt;(De=Rt.validator)===null||De===void 0||De.call(Rt,{mode:sn});const ar=(0,re.useEvent)(function(){var Vt;Ln==null||Ln.apply(void 0,arguments),(Vt=Rt.onClick)===null||Vt===void 0||Vt.call(Rt)}),$a=Rt.mode||sn,fa=cn!=null?cn:Rt.selectable,yr=de.useMemo(()=>Ft!==void 0?Ft:Te,[Te,Ft]),en={horizontal:{motionName:`${Me}-slide-up`},inline:(0,ue.Z)(Me),other:{motionName:`${Me}-zoom-big`}},On=Oe("menu",yt||Rt.prefixCls),[ia,xa]=Fn(On,!Xe),We=Ze()(`${On}-${dn}`,nt==null?void 0:nt.className,Bn);let It;if(typeof un=="function")It=un;else if(un===null||un===!1)It=null;else if(Rt.expandIcon===null||Rt.expandIcon===!1)It=null;else{const Vt=un!=null?un:Rt.expandIcon;It=(0,Ye.Tm)(Vt,{className:Ze()(`${On}-submenu-expand-icon`,(0,Ye.l$)(Vt)?(fe=Vt.props)===null||fe===void 0?void 0:fe.className:"")})}const _t=de.useMemo(()=>({prefixCls:On,inlineCollapsed:yr||!1,direction:St,firstLevel:!0,theme:dn,mode:$a,disableMenuItemTitleTooltip:yn}),[On,yr,St,yn,dn]);return ia(de.createElement(ie.Z.Provider,{value:null},de.createElement(E.Provider,{value:_t},de.createElement(b.ZP,Object.assign({getPopupContainer:Ie,overflowedIndicator:de.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Ze()(On,`${On}-${dn}`,Jn),mode:$a,selectable:fa,onClick:ar},Da,{inlineCollapsed:yr,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),nn),className:We,prefixCls:On,direction:St,defaultMotions:en,expandIcon:It,ref:at,rootClassName:Ze()(kt,xa)}),Na))))});const mt=(0,de.forwardRef)((ut,at)=>{const De=(0,de.useRef)(null),fe=de.useContext(Be.D);return(0,de.useImperativeHandle)(at,()=>({menu:De.current,focus:Xe=>{var Rt;(Rt=De.current)===null||Rt===void 0||Rt.focus(Xe)}})),de.createElement(Lt,Object.assign({ref:De},ut,fe))});mt.Item=x,mt.SubMenu=z,mt.Divider=et,mt.ItemGroup=b.BW;var Nt=mt},58421:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Rt}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ie,St){return de.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:St,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(49198),Ve=ee(33853),Ge=ee(38819),Je=ee(92310),Ye=ee.n(Je),se=ee(49618),E=ee(77321),a=ee(96949),x=ee(55090),y=ee(77205),z=ee(38793),ne=ee(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ue=re,ie=ee(91735),ve=function(Oe){(0,y.Z)(St,Oe);var Ie=(0,z.Z)(St);function St(){var nt;(0,a.Z)(this,St);for(var Me=arguments.length,yt=new Array(Me),Bn=0;Bn<Me;Bn++)yt[Bn]=arguments[Bn];return nt=Ie.call.apply(Ie,[this].concat(yt)),nt.state={goInputText:""},nt.getValidValue=function(){var nn=nt.state.goInputText;return!nn||Number.isNaN(nn)?void 0:Number(nn)},nt.buildOptionText=function(nn){return"".concat(nn," ").concat(nt.props.locale.items_per_page)},nt.changeSize=function(nn){nt.props.changeSize(Number(nn))},nt.handleChange=function(nn){nt.setState({goInputText:nn.target.value})},nt.handleBlur=function(nn){var dn=nt.props,un=dn.goButton,yn=dn.quickGo,Te=dn.rootPrefixCls,Ft=nt.state.goInputText;un||Ft===""||(nt.setState({goInputText:""}),!(nn.relatedTarget&&(nn.relatedTarget.className.indexOf("".concat(Te,"-item-link"))>=0||nn.relatedTarget.className.indexOf("".concat(Te,"-item"))>=0))&&yn(nt.getValidValue()))},nt.go=function(nn){var dn=nt.state.goInputText;dn!==""&&(nn.keyCode===ue.ENTER||nn.type==="click")&&(nt.setState({goInputText:""}),nt.props.quickGo(nt.getValidValue()))},nt}return(0,x.Z)(St,[{key:"getPageSizeOptions",value:function(){var Me=this.props,yt=Me.pageSize,Bn=Me.pageSizeOptions;return Bn.some(function(nn){return nn.toString()===yt.toString()})?Bn:Bn.concat([yt.toString()]).sort(function(nn,dn){var un=Number.isNaN(Number(nn))?0:Number(nn),yn=Number.isNaN(Number(dn))?0:Number(dn);return un-yn})}},{key:"render",value:function(){var Me=this,yt=this.props,Bn=yt.pageSize,nn=yt.locale,dn=yt.rootPrefixCls,un=yt.changeSize,yn=yt.quickGo,Te=yt.goButton,Ft=yt.selectComponentClass,zt=yt.buildOptionText,wt=yt.selectPrefixCls,kt=yt.disabled,sn=this.state.goInputText,cn="".concat(dn,"-options"),Ln=Ft,Jn=null,va=null,Da=null;if(!un&&!yn)return null;var Na=this.getPageSizeOptions();if(un&&Ln){var ar=Na.map(function($a,fa){return de.createElement(Ln.Option,{key:fa,value:$a.toString()},(zt||Me.buildOptionText)($a))});Jn=de.createElement(Ln,{disabled:kt,prefixCls:wt,showSearch:!1,className:"".concat(cn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Bn||Na[0]).toString(),onChange:this.changeSize,getPopupContainer:function(fa){return fa.parentNode},"aria-label":nn.page_size,defaultOpen:!1},ar)}return yn&&(Te&&(Da=typeof Te=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:kt,className:"".concat(cn,"-quick-jumper-button")},nn.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},Te)),va=de.createElement("div",{className:"".concat(cn,"-quick-jumper")},nn.jump_to,de.createElement("input",{disabled:kt,type:"text",value:sn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":nn.page}),nn.page,Da)),de.createElement("li",{className:"".concat(cn)},Jn,va)}}]),St}(de.Component);ve.defaultProps={pageSizeOptions:["10","20","50","100"]};var be=ve,je=function(Ie){var St,nt=Ie.rootPrefixCls,Me=Ie.page,yt=Ie.active,Bn=Ie.className,nn=Ie.showTitle,dn=Ie.onClick,un=Ie.onKeyPress,yn=Ie.itemRender,Te="".concat(nt,"-item"),Ft=Ye()(Te,"".concat(Te,"-").concat(Me),(St={},(0,se.Z)(St,"".concat(Te,"-active"),yt),(0,se.Z)(St,"".concat(Te,"-disabled"),!Me),(0,se.Z)(St,Ie.className,Bn),St)),zt=function(){dn(Me)},wt=function(cn){un(cn,dn,Me)},kt=yn(Me,"page",de.createElement("a",{rel:"nofollow"},Me));return kt?de.createElement("li",{title:nn?Me.toString():null,className:Ft,onClick:zt,onKeyPress:wt,tabIndex:0},kt):null},Ae=je;function He(){}function he(Oe){var Ie=Number(Oe);return typeof Ie=="number"&&!Number.isNaN(Ie)&&isFinite(Ie)&&Math.floor(Ie)===Ie}var qe=function(Ie,St,nt){return nt};function Ke(Oe,Ie,St){var nt=typeof Oe=="undefined"?Ie.pageSize:Oe;return Math.floor((St.total-1)/nt)+1}var ht=function(Oe){(0,y.Z)(St,Oe);var Ie=(0,z.Z)(St);function St(nt){var Me;(0,a.Z)(this,St),Me=Ie.call(this,nt),Me.paginationNode=de.createRef(),Me.getJumpPrevPage=function(){return Math.max(1,Me.state.current-(Me.props.showLessItems?3:5))},Me.getJumpNextPage=function(){return Math.min(Ke(void 0,Me.state,Me.props),Me.state.current+(Me.props.showLessItems?3:5))},Me.getItemIcon=function(un,yn){var Te=Me.props.prefixCls,Ft=un||de.createElement("button",{type:"button","aria-label":yn,className:"".concat(Te,"-item-link")});return typeof un=="function"&&(Ft=de.createElement(un,(0,E.Z)({},Me.props))),Ft},Me.isValid=function(un){var yn=Me.props.total;return he(un)&&un!==Me.state.current&&he(yn)&&yn>0},Me.shouldDisplayQuickJumper=function(){var un=Me.props,yn=un.showQuickJumper,Te=un.total,Ft=Me.state.pageSize;return Te<=Ft?!1:yn},Me.handleKeyDown=function(un){(un.keyCode===ue.ARROW_UP||un.keyCode===ue.ARROW_DOWN)&&un.preventDefault()},Me.handleKeyUp=function(un){var yn=Me.getValidValue(un),Te=Me.state.currentInputValue;yn!==Te&&Me.setState({currentInputValue:yn}),un.keyCode===ue.ENTER?Me.handleChange(yn):un.keyCode===ue.ARROW_UP?Me.handleChange(yn-1):un.keyCode===ue.ARROW_DOWN&&Me.handleChange(yn+1)},Me.handleBlur=function(un){var yn=Me.getValidValue(un);Me.handleChange(yn)},Me.changePageSize=function(un){var yn=Me.state.current,Te=Ke(un,Me.state,Me.props);yn=yn>Te?Te:yn,Te===0&&(yn=Me.state.current),typeof un=="number"&&("pageSize"in Me.props||Me.setState({pageSize:un}),"current"in Me.props||Me.setState({current:yn,currentInputValue:yn})),Me.props.onShowSizeChange(yn,un),"onChange"in Me.props&&Me.props.onChange&&Me.props.onChange(yn,un)},Me.handleChange=function(un){var yn=Me.props,Te=yn.disabled,Ft=yn.onChange,zt=Me.state,wt=zt.pageSize,kt=zt.current,sn=zt.currentInputValue;if(Me.isValid(un)&&!Te){var cn=Ke(void 0,Me.state,Me.props),Ln=un;return un>cn?Ln=cn:un<1&&(Ln=1),"current"in Me.props||Me.setState({current:Ln}),Ln!==sn&&Me.setState({currentInputValue:Ln}),Ft(Ln,wt),Ln}return kt},Me.prev=function(){Me.hasPrev()&&Me.handleChange(Me.state.current-1)},Me.next=function(){Me.hasNext()&&Me.handleChange(Me.state.current+1)},Me.jumpPrev=function(){Me.handleChange(Me.getJumpPrevPage())},Me.jumpNext=function(){Me.handleChange(Me.getJumpNextPage())},Me.hasPrev=function(){return Me.state.current>1},Me.hasNext=function(){return Me.state.current<Ke(void 0,Me.state,Me.props)},Me.runIfEnter=function(un,yn){if(un.key==="Enter"||un.charCode===13){for(var Te=arguments.length,Ft=new Array(Te>2?Te-2:0),zt=2;zt<Te;zt++)Ft[zt-2]=arguments[zt];yn.apply(void 0,Ft)}},Me.runIfEnterPrev=function(un){Me.runIfEnter(un,Me.prev)},Me.runIfEnterNext=function(un){Me.runIfEnter(un,Me.next)},Me.runIfEnterJumpPrev=function(un){Me.runIfEnter(un,Me.jumpPrev)},Me.runIfEnterJumpNext=function(un){Me.runIfEnter(un,Me.jumpNext)},Me.handleGoTO=function(un){(un.keyCode===ue.ENTER||un.type==="click")&&Me.handleChange(Me.state.currentInputValue)},Me.renderPrev=function(un){var yn=Me.props,Te=yn.prevIcon,Ft=yn.itemRender,zt=Ft(un,"prev",Me.getItemIcon(Te,"prev page")),wt=!Me.hasPrev();return(0,de.isValidElement)(zt)?(0,de.cloneElement)(zt,{disabled:wt}):zt},Me.renderNext=function(un){var yn=Me.props,Te=yn.nextIcon,Ft=yn.itemRender,zt=Ft(un,"next",Me.getItemIcon(Te,"next page")),wt=!Me.hasNext();return(0,de.isValidElement)(zt)?(0,de.cloneElement)(zt,{disabled:wt}):zt};var yt=nt.onChange!==He,Bn="current"in nt;Bn&&!yt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var nn=nt.defaultCurrent;"current"in nt&&(nn=nt.current);var dn=nt.defaultPageSize;return"pageSize"in nt&&(dn=nt.pageSize),nn=Math.min(nn,Ke(dn,void 0,nt)),Me.state={current:nn,currentInputValue:nn,pageSize:dn},Me}return(0,x.Z)(St,[{key:"componentDidUpdate",value:function(Me,yt){var Bn=this.props.prefixCls;if(yt.current!==this.state.current&&this.paginationNode.current){var nn=this.paginationNode.current.querySelector(".".concat(Bn,"-item-").concat(yt.current));if(nn&&document.activeElement===nn){var dn;nn==null||(dn=nn.blur)===null||dn===void 0||dn.call(nn)}}}},{key:"getValidValue",value:function(Me){var yt=Me.target.value,Bn=Ke(void 0,this.state,this.props),nn=this.state.currentInputValue,dn;return yt===""?dn=yt:Number.isNaN(Number(yt))?dn=nn:yt>=Bn?dn=Bn:dn=Number(yt),dn}},{key:"getShowSizeChanger",value:function(){var Me=this.props,yt=Me.showSizeChanger,Bn=Me.total,nn=Me.totalBoundaryShowSizeChanger;return typeof yt!="undefined"?yt:Bn>nn}},{key:"render",value:function(){var Me=this.props,yt=Me.prefixCls,Bn=Me.className,nn=Me.style,dn=Me.disabled,un=Me.hideOnSinglePage,yn=Me.total,Te=Me.locale,Ft=Me.showQuickJumper,zt=Me.showLessItems,wt=Me.showTitle,kt=Me.showTotal,sn=Me.simple,cn=Me.itemRender,Ln=Me.showPrevNextJumpers,Jn=Me.jumpPrevIcon,va=Me.jumpNextIcon,Da=Me.selectComponentClass,Na=Me.selectPrefixCls,ar=Me.pageSizeOptions,$a=this.state,fa=$a.current,yr=$a.pageSize,en=$a.currentInputValue;if(un===!0&&yn<=yr)return null;var On=Ke(void 0,this.state,this.props),ia=[],xa=null,We=null,It=null,_t=null,Vt=null,Wt=Ft&&Ft.goButton,Rn=zt?1:2,wn=fa-1>0?fa-1:0,vt=fa+1<On?fa+1:On,Bt=(0,ne.Z)(this.props,{aria:!0,data:!0}),pt=kt&&de.createElement("li",{className:"".concat(yt,"-total-text")},kt(yn,[yn===0?0:(fa-1)*yr+1,fa*yr>yn?yn:fa*yr]));if(sn){Wt&&(typeof Wt=="boolean"?Vt=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Te.jump_to_confirm):Vt=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Wt),Vt=de.createElement("li",{title:wt?"".concat(Te.jump_to).concat(fa,"/").concat(On):null,className:"".concat(yt,"-simple-pager")},Vt));var Sn=this.renderPrev(wn);return de.createElement("ul",(0,b.Z)({className:Ye()(yt,"".concat(yt,"-simple"),(0,se.Z)({},"".concat(yt,"-disabled"),dn),Bn),style:nn,ref:this.paginationNode},Bt),pt,Sn?de.createElement("li",{title:wt?Te.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(yt,"-prev"),(0,se.Z)({},"".concat(yt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Sn):null,de.createElement("li",{title:wt?"".concat(fa,"/").concat(On):null,className:"".concat(yt,"-simple-pager")},de.createElement("input",{type:"text",value:en,disabled:dn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),de.createElement("span",{className:"".concat(yt,"-slash")},"/"),On),de.createElement("li",{title:wt?Te.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(yt,"-next"),(0,se.Z)({},"".concat(yt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(vt)),Vt)}if(On<=3+Rn*2){var Wn={locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:wt,itemRender:cn};On||ia.push(de.createElement(Ae,(0,b.Z)({},Wn,{key:"noPager",page:1,className:"".concat(yt,"-item-disabled")})));for(var An=1;An<=On;An+=1){var ka=fa===An;ia.push(de.createElement(Ae,(0,b.Z)({},Wn,{key:An,page:An,active:ka})))}}else{var pa=zt?Te.prev_3:Te.prev_5,_n=zt?Te.next_3:Te.next_5,Ea=cn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Jn,"prev page")),Pa=cn(this.getJumpNextPage(),"jump-next",this.getItemIcon(va,"next page"));Ln&&(xa=Ea?de.createElement("li",{title:wt?pa:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ye()("".concat(yt,"-jump-prev"),(0,se.Z)({},"".concat(yt,"-jump-prev-custom-icon"),!!Jn))},Ea):null,We=Pa?de.createElement("li",{title:wt?_n:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ye()("".concat(yt,"-jump-next"),(0,se.Z)({},"".concat(yt,"-jump-next-custom-icon"),!!va))},Pa):null),_t=de.createElement(Ae,{locale:Te,last:!0,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:On,page:On,active:!1,showTitle:wt,itemRender:cn}),It=de.createElement(Ae,{locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:wt,itemRender:cn});var Dn=Math.max(1,fa-Rn),lr=Math.min(fa+Rn,On);fa-1<=Rn&&(lr=1+Rn*2),On-fa<=Rn&&(Dn=On-Rn*2);for(var Nr=Dn;Nr<=lr;Nr+=1){var Ur=fa===Nr;ia.push(de.createElement(Ae,{locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Nr,page:Nr,active:Ur,showTitle:wt,itemRender:cn}))}fa-1>=Rn*2&&fa!==3&&(ia[0]=(0,de.cloneElement)(ia[0],{className:"".concat(yt,"-item-after-jump-prev")}),ia.unshift(xa)),On-fa>=Rn*2&&fa!==On-2&&(ia[ia.length-1]=(0,de.cloneElement)(ia[ia.length-1],{className:"".concat(yt,"-item-before-jump-next")}),ia.push(We)),Dn!==1&&ia.unshift(It),lr!==On&&ia.push(_t)}var Sr=!this.hasPrev()||!On,Ue=!this.hasNext()||!On,bn=this.renderPrev(wn),Xt=this.renderNext(vt);return de.createElement("ul",(0,b.Z)({className:Ye()(yt,Bn,(0,se.Z)({},"".concat(yt,"-disabled"),dn)),style:nn,ref:this.paginationNode},Bt),pt,bn?de.createElement("li",{title:wt?Te.prev_page:null,onClick:this.prev,tabIndex:Sr?null:0,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(yt,"-prev"),(0,se.Z)({},"".concat(yt,"-disabled"),Sr)),"aria-disabled":Sr},bn):null,ia,Xt?de.createElement("li",{title:wt?Te.next_page:null,onClick:this.next,tabIndex:Ue?null:0,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(yt,"-next"),(0,se.Z)({},"".concat(yt,"-disabled"),Ue)),"aria-disabled":Ue},Xt):null,de.createElement(be,{disabled:dn,locale:Te,rootPrefixCls:yt,selectComponentClass:Da,selectPrefixCls:Na,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:fa,pageSize:yr,pageSizeOptions:ar,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Wt}))}}],[{key:"getDerivedStateFromProps",value:function(Me,yt){var Bn={};if("current"in Me&&(Bn.current=Me.current,Me.current!==yt.current&&(Bn.currentInputValue=Bn.current)),"pageSize"in Me&&Me.pageSize!==yt.pageSize){var nn=yt.current,dn=Ke(Me.pageSize,yt,Me);nn=nn>dn?dn:nn,"current"in Me||(Bn.current=nn,Bn.currentInputValue=nn),Bn.pageSize=Me.pageSize}return Bn}}]),St}(de.Component);ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:He,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:He,locale:ie.Z,style:{},itemRender:qe,totalBoundaryShowSizeChanger:50};var Le=ht,ot=ee(22075),lt=ee(36355),gt=ee(19716),ft=ee(8628),ln=ee(9763),xt=ee(57809);const an=Oe=>de.createElement(xt.default,Object.assign({},Oe,{showSearch:!0,size:"small"})),hn=Oe=>de.createElement(xt.default,Object.assign({},Oe,{showSearch:!0,size:"middle"}));an.Option=xt.default.Option,hn.Option=xt.default.Option;var $e=ee(9937),dt=ee(17313),rn=ee(83116),Vn=ee(37613);const Zt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ie}-disabled`]:{cursor:"not-allowed",[`${Ie}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Oe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Oe.colorBorder,backgroundColor:Oe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Oe.itemActiveBgDisabled},a:{color:Oe.itemActiveColorDisabled}}},[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ie}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ie}-simple-pager`]:{color:Oe.colorTextDisabled},[`${Ie}-jump-prev, ${Ie}-jump-next`]:{[`${Ie}-item-link-icon`]:{opacity:0},[`${Ie}-item-ellipsis`]:{opacity:1}}},[`&${Ie}-simple`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&${Ie}-disabled ${Ie}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Fn=Oe=>{const{componentCls:Ie}=Oe;return{[`&${Ie}-mini ${Ie}-total-text, &${Ie}-mini ${Ie}-simple-pager`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini ${Ie}-item`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM-2}px`},[`&${Ie}-mini:not(${Ie}-disabled) ${Ie}-item:not(${Ie}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},[`&${Ie}-mini ${Ie}-prev, &${Ie}-mini ${Ie}-next`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini:not(${Ie}-disabled)`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&:hover ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${Ie}-disabled:hover ${Ie}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Ie}-mini ${Ie}-prev ${Ie}-item-link,
&${Ie}-mini ${Ie}-next ${Ie}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}},[`&${Ie}-mini ${Ie}-jump-prev, &${Ie}-mini ${Ie}-jump-next`]:{height:Oe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini ${Ie}-options`]:{marginInlineStart:Oe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Oe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,$e.x0)(Oe)),{width:Oe.paginationMiniQuickJumperInputWidth,height:Oe.controlHeightSM})}}}},ze=Oe=>{const{componentCls:Ie}=Oe;return{[`
&${Ie}-simple ${Ie}-prev,
&${Ie}-simple ${Ie}-next
`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,verticalAlign:"top",[`${Ie}-item-link`]:{height:Oe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive},"&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}}},[`&${Ie}-simple ${Ie}-simple-pager`]:{display:"inline-block",height:Oe.itemSizeSM,marginInlineEnd:Oe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Oe.marginXS,padding:`0 ${Oe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Oe.itemInputBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadius,outline:"none",transition:`border-color ${Oe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Oe.colorPrimary},"&:focus":{borderColor:Oe.colorPrimaryHover,boxShadow:`${Oe.inputOutlineOffset}px 0 ${Oe.controlOutlineWidth}px ${Oe.controlOutline}`},"&[disabled]":{color:Oe.colorTextDisabled,backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,cursor:"not-allowed"}}}}},ct=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-jump-prev, ${Ie}-jump-next`]:{outline:0,[`${Ie}-item-container`]:{position:"relative",[`${Ie}-item-link-icon`]:{color:Oe.colorPrimary,fontSize:Oe.fontSizeSM,opacity:0,transition:`all ${Oe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ie}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Oe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Oe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Oe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Oe.motionDurationMid}`}},"&:hover":{[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}}},[`
${Ie}-prev,
${Ie}-jump-prev,
${Ie}-jump-next
`]:{marginInlineEnd:Oe.marginXS},[`
${Ie}-prev,
${Ie}-next,
${Ie}-jump-prev,
${Ie}-jump-next
`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,color:Oe.colorText,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Oe.borderRadius,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`},[`${Ie}-prev, ${Ie}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Oe.colorText,cursor:"pointer",userSelect:"none"},[`${Ie}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Oe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:"none",transition:`all ${Oe.motionDurationMid}`},[`&:hover ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${Ie}-disabled:hover`]:{[`${Ie}-item-link`]:{backgroundColor:"transparent"}}},[`${Ie}-slash`]:{marginInlineEnd:Oe.paginationSlashMarginInlineEnd,marginInlineStart:Oe.paginationSlashMarginInlineStart},[`${Ie}-options`]:{display:"inline-block",marginInlineStart:Oe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Oe.controlHeight,marginInlineStart:Oe.marginXS,lineHeight:`${Oe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,$e.ik)(Oe)),{width:Oe.controlHeightLG*1.25,height:Oe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Oe.marginXS,marginInlineEnd:Oe.marginXS})}}}},Lt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-item`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,marginInlineEnd:Oe.marginXS,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Oe.paginationItemPaddingInline}px`,color:Oe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ie}-item-active)`]:{"&:hover":{transition:`all ${Oe.motionDurationMid}`,backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},"&-active":{fontWeight:Oe.fontWeightStrong,backgroundColor:Oe.itemActiveBg,borderColor:Oe.colorPrimary,a:{color:Oe.colorPrimary},"&:hover":{borderColor:Oe.colorPrimaryHover},"&:hover a":{color:Oe.colorPrimaryHover}}}}},mt=Oe=>{const{componentCls:Ie}=Oe;return{[Ie]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,dt.Wf)(Oe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ie}-total-text`]:{display:"inline-block",height:Oe.itemSize,marginInlineEnd:Oe.marginXS,lineHeight:`${Oe.itemSize-2}px`,verticalAlign:"middle"}}),Lt(Oe)),ct(Oe)),ze(Oe)),Fn(Oe)),Zt(Oe)),{[`@media only screen and (max-width: ${Oe.screenLG}px)`]:{[`${Ie}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Oe.screenSM}px)`]:{[`${Ie}-options`]:{display:"none"}}}),[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}}},Nt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}${Ie}-disabled:not(${Ie}-mini)`]:{"&, &:hover":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},"&:focus-visible":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},[`${Ie}-item, ${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,[`&:hover:not(${Ie}-item-active)`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,a:{color:Oe.colorTextDisabled}},[`&${Ie}-item-active`]:{backgroundColor:Oe.itemActiveBgDisabled}},[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,color:Oe.colorTextDisabled},[`${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder}}},[`${Ie}:not(${Ie}-mini)`]:{[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{borderColor:Oe.colorPrimaryHover,backgroundColor:Oe.itemBg},[`${Ie}-item-link`]:{backgroundColor:Oe.itemLinkBg,borderColor:Oe.colorBorder},[`&:hover ${Ie}-item-link`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,color:Oe.colorPrimary},[`&${Ie}-disabled`]:{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder,color:Oe.colorTextDisabled}}},[`${Ie}-item`]:{backgroundColor:Oe.itemBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,[`&:hover:not(${Ie}-item-active)`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,a:{color:Oe.colorPrimary}},"&-active":{borderColor:Oe.colorPrimary}}}}},ut=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}:not(${Ie}-disabled)`]:{[`${Ie}-item`]:Object.assign({},(0,dt.Qy)(Oe)),[`${Ie}-jump-prev, ${Ie}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}},(0,dt.oN)(Oe))},[`${Ie}-prev, ${Ie}-next`]:{[`&:focus-visible ${Ie}-item-link`]:Object.assign({},(0,dt.oN)(Oe))}}}};var at=(0,rn.Z)("Pagination",Oe=>{const Ie=(0,Vn.TS)(Oe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Oe.marginXXS/2,paginationMiniQuickJumperInputWidth:Oe.controlHeightLG*1.1,paginationItemPaddingInline:Oe.marginXXS*1.5,paginationEllipsisLetterSpacing:Oe.marginXXS/2,paginationSlashMarginInlineStart:Oe.marginXXS,paginationSlashMarginInlineEnd:Oe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,$e.e5)(Oe),(0,$e.TM)(Oe));return[mt(Ie),ut(Ie),Oe.wireframe&&Nt(Ie)]},Oe=>({itemBg:Oe.colorBgContainer,itemSize:Oe.controlHeight,itemSizeSM:Oe.controlHeightSM,itemActiveBg:Oe.colorBgContainer,itemLinkBg:Oe.colorBgContainer,itemActiveColorDisabled:Oe.colorTextDisabled,itemActiveBgDisabled:Oe.controlItemBgActiveDisabled,itemInputBg:Oe.colorBgContainer,miniOptionsSizeChangerTop:0})),De=function(Oe,Ie){var St={};for(var nt in Oe)Object.prototype.hasOwnProperty.call(Oe,nt)&&Ie.indexOf(nt)<0&&(St[nt]=Oe[nt]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,nt=Object.getOwnPropertySymbols(Oe);Me<nt.length;Me++)Ie.indexOf(nt[Me])<0&&Object.prototype.propertyIsEnumerable.call(Oe,nt[Me])&&(St[nt[Me]]=Oe[nt[Me]]);return St},Xe=Oe=>{const{prefixCls:Ie,selectPrefixCls:St,className:nt,rootClassName:Me,style:yt,size:Bn,locale:nn,selectComponentClass:dn,responsive:un,showSizeChanger:yn}=Oe,Te=De(Oe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ft}=(0,ft.Z)(un),{getPrefixCls:zt,direction:wt,pagination:kt={}}=de.useContext(lt.E_),sn=zt("pagination",Ie),[cn,Ln]=at(sn),Jn=yn!=null?yn:kt.showSizeChanger,va=de.useMemo(()=>{const On=de.createElement("span",{className:`${sn}-item-ellipsis`},"\u2022\u2022\u2022"),ia=de.createElement("button",{className:`${sn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?de.createElement(Ge.Z,null):de.createElement(Ve.Z,null)),xa=de.createElement("button",{className:`${sn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?de.createElement(Ve.Z,null):de.createElement(Ge.Z,null)),We=de.createElement("a",{className:`${sn}-item-link`},de.createElement("div",{className:`${sn}-item-container`},wt==="rtl"?de.createElement(et.Z,{className:`${sn}-item-link-icon`}):de.createElement(st,{className:`${sn}-item-link-icon`}),On)),It=de.createElement("a",{className:`${sn}-item-link`},de.createElement("div",{className:`${sn}-item-container`},wt==="rtl"?de.createElement(st,{className:`${sn}-item-link-icon`}):de.createElement(et.Z,{className:`${sn}-item-link-icon`}),On));return{prevIcon:ia,nextIcon:xa,jumpPrevIcon:We,jumpNextIcon:It}},[wt,sn]),[Da]=(0,ln.Z)("Pagination",ot.Z),Na=Object.assign(Object.assign({},Da),nn),ar=(0,gt.Z)(Bn),$a=ar==="small"||!!(Ft&&!ar&&un),fa=zt("select",St),yr=Ye()({[`${sn}-mini`]:$a,[`${sn}-rtl`]:wt==="rtl"},kt==null?void 0:kt.className,nt,Me,Ln),en=Object.assign(Object.assign({},kt==null?void 0:kt.style),yt);return cn(de.createElement(Le,Object.assign({},va,Te,{style:en,prefixCls:sn,selectPrefixCls:fa,className:yr,selectComponentClass:dn||($a?an:hn),locale:Na,showSizeChanger:Jn})))},Rt=Xe},39722:function(Qt,Gt,ee){"use strict";ee.d(Gt,{t5:function(){return Ve}});var b=ee(92310),de=ee.n(b),Be=ee(55477),Ne=ee(59301),Ze=ee(36355),ke=ee(77578),le=ee(17356),st=function(Je,Ye){var se={};for(var E in Je)Object.prototype.hasOwnProperty.call(Je,E)&&Ye.indexOf(E)<0&&(se[E]=Je[E]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Je);a<E.length;a++)Ye.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(Je,E[a])&&(se[E[a]]=Je[E[a]]);return se};const et=(Je,Ye,se)=>{if(!(!Ye&&!se))return Ne.createElement(Ne.Fragment,null,Ye&&Ne.createElement("div",{className:`${Je}-title`},(0,ke.Z)(Ye)),Ne.createElement("div",{className:`${Je}-inner-content`},(0,ke.Z)(se)))},Ve=Je=>{const{hashId:Ye,prefixCls:se,className:E,style:a,placement:x="top",title:y,content:z,children:ne}=Je;return Ne.createElement("div",{className:de()(Ye,se,`${se}-pure`,`${se}-placement-${x}`,E),style:a},Ne.createElement("div",{className:`${se}-arrow`}),Ne.createElement(Be.G,Object.assign({},Je,{className:Ye,prefixCls:se}),ne||et(se,y,z)))},Ge=Je=>{const{prefixCls:Ye}=Je,se=st(Je,["prefixCls"]),{getPrefixCls:E}=Ne.useContext(Ze.E_),a=E("popover",Ye),[x,y]=(0,le.Z)(a);return x(Ne.createElement(Ve,Object.assign({},se,{prefixCls:a,hashId:y})))};Gt.ZP=Ge},60324:function(Qt,Gt,ee){"use strict";var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(77578),Ze=ee(62892),ke=ee(36355),le=ee(6848),st=ee(39722),et=ee(17356),Ve=function(Ye,se){var E={};for(var a in Ye)Object.prototype.hasOwnProperty.call(Ye,a)&&se.indexOf(a)<0&&(E[a]=Ye[a]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Ye);x<a.length;x++)se.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(Ye,a[x])&&(E[a[x]]=Ye[a[x]]);return E};const Ge=Ye=>{let{title:se,content:E,prefixCls:a}=Ye;return Be.createElement(Be.Fragment,null,se&&Be.createElement("div",{className:`${a}-title`},(0,Ne.Z)(se)),Be.createElement("div",{className:`${a}-inner-content`},(0,Ne.Z)(E)))},Je=Be.forwardRef((Ye,se)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:ne="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ue=.1,overlayStyle:ie={}}=Ye,ve=Ve(Ye,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:be}=Be.useContext(ke.E_),je=be("popover",E),[Ae,He]=(0,et.Z)(je),he=be(),qe=de()(y,He);return Ae(Be.createElement(le.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:re,mouseLeaveDelay:ue,overlayStyle:ie},ve,{prefixCls:je,overlayClassName:qe,ref:se,overlay:a||x?Be.createElement(Ge,{prefixCls:je,title:a,content:x}):null,transitionName:(0,Ze.m)(he,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});Je._InternalPanelDoNotUseOrYouWillBeFired=st.ZP,Gt.Z=Je},17356:function(Qt,Gt,ee){"use strict";var b=ee(17313),de=ee(29878),Be=ee(19447),Ne=ee(33166),Ze=ee(83116),ke=ee(37613);const le=Ve=>{const{componentCls:Ge,popoverColor:Je,minWidth:Ye,fontWeightStrong:se,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:ne,colorBgElevated:re,popoverBg:ue}=Ve;return[{[Ge]:Object.assign(Object.assign({},(0,b.Wf)(Ve)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Ge}-content`]:{position:"relative"},[`${Ge}-inner`]:{backgroundColor:ue,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${Ge}-title`]:{minWidth:Ye,marginBottom:ne,color:x,fontWeight:se},[`${Ge}-inner-content`]:{color:Je}})},(0,Be.ZP)(Ve,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Ge}-pure`]:{position:"relative",maxWidth:"none",margin:Ve.sizePopupArrow,display:"inline-block",[`${Ge}-content`]:{display:"inline-block"}}}]},st=Ve=>{const{componentCls:Ge}=Ve;return{[Ge]:Ne.i.map(Je=>{const Ye=Ve[`${Je}6`];return{[`&${Ge}-${Je}`]:{"--antd-arrow-background-color":Ye,[`${Ge}-inner`]:{backgroundColor:Ye},[`${Ge}-arrow`]:{background:"transparent"}}}})}},et=Ve=>{const{componentCls:Ge,lineWidth:Je,lineType:Ye,colorSplit:se,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Ve,ne=a-Math.round(x*y),re=ne/2,ue=ne/2-Je,ie=z;return{[Ge]:{[`${Ge}-inner`]:{padding:0},[`${Ge}-title`]:{margin:0,padding:`${re}px ${ie}px ${ue}px`,borderBottom:`${Je}px ${Ye} ${se}`},[`${Ge}-inner-content`]:{padding:`${E}px ${ie}px`}}}};Gt.Z=(0,Ze.Z)("Popover",Ve=>{const{colorBgElevated:Ge,colorText:Je,wireframe:Ye}=Ve,se=(0,ke.TS)(Ve,{popoverPadding:12,popoverBg:Ge,popoverColor:Je});return[le(se),st(se),Ye&&et(se),(0,de._y)(se,"zoom-big")]},Ve=>({width:177,minWidth:177,zIndexPopup:Ve.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return yn}});var b=ee(59301),de=ee(29679),Be=ee(40001),Ne=ee(19248),Ze=ee(99267),ke=ee(92310),le=ee.n(ke),st=ee(2738),et=ee(36355),Ve=ee(72308),Ge=ee(77321),Je=ee(74416),Ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var Ft=(0,b.useRef)([]),zt=(0,b.useRef)(null);return(0,b.useEffect)(function(){var wt=Date.now(),kt=!1;Ft.current.forEach(function(sn){if(sn){kt=!0;var cn=sn.style;cn.transitionDuration=".3s, .3s, .3s, .06s",zt.current&&wt-zt.current<100&&(cn.transitionDuration="0s, 0s")}}),kt&&(zt.current=Date.now())}),Ft.current},E=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Ft){var zt=(0,Ge.Z)((0,Ge.Z)({},Ye),Ft),wt=zt.className,kt=zt.percent,sn=zt.prefixCls,cn=zt.strokeColor,Ln=zt.strokeLinecap,Jn=zt.strokeWidth,va=zt.style,Da=zt.trailColor,Na=zt.trailWidth,ar=zt.transition,$a=(0,Je.Z)(zt,E);delete $a.gapPosition;var fa=Array.isArray(kt)?kt:[kt],yr=Array.isArray(cn)?cn:[cn],en=se(),On=Jn/2,ia=100-Jn/2,xa="M ".concat(Ln==="round"?On:0,",").concat(On,`
L `).concat(Ln==="round"?ia:100,",").concat(On),We="0 0 100 ".concat(Jn),It=0;return b.createElement("svg",(0,Ve.Z)({className:le()("".concat(sn,"-line"),wt),viewBox:We,preserveAspectRatio:"none",style:va},$a),b.createElement("path",{className:"".concat(sn,"-line-trail"),d:xa,strokeLinecap:Ln,stroke:Da,strokeWidth:Na||Jn,fillOpacity:"0"}),fa.map(function(_t,Vt){var Wt=1;switch(Ln){case"round":Wt=1-Jn/100;break;case"square":Wt=1-Jn/2/100;break;default:Wt=1;break}var Rn={strokeDasharray:"".concat(_t*Wt,"px, 100px"),strokeDashoffset:"-".concat(It,"px"),transition:ar||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},wn=yr[Vt]||yr[yr.length-1];return It+=_t,b.createElement("path",{key:Vt,className:"".concat(sn,"-line-path"),d:xa,strokeLinecap:Ln,stroke:wn,strokeWidth:Jn,fillOpacity:"0",ref:function(Bt){en[Vt]=Bt},style:Rn})}))},x=a,y=ee(62853),z=ee(52487),ne=ee(47273),re=0,ue=(0,ne.Z)();function ie(){var Te;return ue?(Te=re,re+=1):Te="TEST_OR_SSR",Te}var ve=function(Te){var Ft=b.useState(),zt=(0,z.Z)(Ft,2),wt=zt[0],kt=zt[1];return b.useEffect(function(){kt("rc_progress_".concat(ie()))},[]),Te||wt},be=function(Ft){var zt=Ft.bg,wt=Ft.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:zt}},wt)};function je(Te,Ft){return Object.keys(Te).map(function(zt){var wt=parseFloat(zt),kt="".concat(Math.floor(wt*Ft),"%");return"".concat(Te[zt]," ").concat(kt)})}var Ae=b.forwardRef(function(Te,Ft){var zt=Te.prefixCls,wt=Te.color,kt=Te.gradientId,sn=Te.radius,cn=Te.style,Ln=Te.ptg,Jn=Te.strokeLinecap,va=Te.strokeWidth,Da=Te.size,Na=Te.gapDegree,ar=wt&&(0,y.Z)(wt)==="object",$a=ar?"#FFF":void 0,fa=Da/2,yr=b.createElement("circle",{className:"".concat(zt,"-circle-path"),r:sn,cx:fa,cy:fa,stroke:$a,strokeLinecap:Jn,strokeWidth:va,opacity:Ln===0?0:1,style:cn,ref:Ft});if(!ar)return yr;var en="".concat(kt,"-conic"),On=Na?"".concat(180+Na/2,"deg"):"0deg",ia=je(wt,(360-Na)/360),xa=je(wt,1),We="conic-gradient(from ".concat(On,", ").concat(ia.join(", "),")"),It="linear-gradient(to ".concat(Na?"bottom":"top",", ").concat(xa.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:en},yr),b.createElement("foreignObject",{x:0,y:0,width:Da,height:Da,mask:"url(#".concat(en,")")},b.createElement(be,{bg:It},b.createElement(be,{bg:We}))))}),He=Ae,he=100,qe=function(Ft,zt,wt,kt,sn,cn,Ln,Jn,va,Da){var Na=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ar=wt/100*360*((360-cn)/360),$a=cn===0?0:{bottom:0,top:180,left:90,right:-90}[Ln],fa=(100-kt)/100*zt;va==="round"&&kt!==100&&(fa+=Da/2,fa>=zt&&(fa=zt-.01));var yr=he/2;return{stroke:typeof Jn=="string"?Jn:void 0,strokeDasharray:"".concat(zt,"px ").concat(Ft),strokeDashoffset:fa+Na,transform:"rotate(".concat(sn+ar+$a,"deg)"),transformOrigin:"".concat(yr,"px ").concat(yr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Ke=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ht(Te){var Ft=Te!=null?Te:[];return Array.isArray(Ft)?Ft:[Ft]}var Le=function(Ft){var zt=(0,Ge.Z)((0,Ge.Z)({},Ye),Ft),wt=zt.id,kt=zt.prefixCls,sn=zt.steps,cn=zt.strokeWidth,Ln=zt.trailWidth,Jn=zt.gapDegree,va=Jn===void 0?0:Jn,Da=zt.gapPosition,Na=zt.trailColor,ar=zt.strokeLinecap,$a=zt.style,fa=zt.className,yr=zt.strokeColor,en=zt.percent,On=(0,Je.Z)(zt,Ke),ia=he/2,xa=ve(wt),We="".concat(xa,"-gradient"),It=ia-cn/2,_t=Math.PI*2*It,Vt=va>0?90+va/2:-90,Wt=_t*((360-va)/360),Rn=(0,y.Z)(sn)==="object"?sn:{count:sn,space:2},wn=Rn.count,vt=Rn.space,Bt=ht(en),pt=ht(yr),Sn=pt.find(function(Pa){return Pa&&(0,y.Z)(Pa)==="object"}),Wn=Sn&&(0,y.Z)(Sn)==="object",An=Wn?"butt":ar,ka=qe(_t,Wt,0,100,Vt,va,Da,Na,An,cn),pa=se(),_n=function(){var Dn=0;return Bt.map(function(lr,Nr){var Ur=pt[Nr]||pt[pt.length-1],Sr=qe(_t,Wt,Dn,lr,Vt,va,Da,Ur,An,cn);return Dn+=lr,b.createElement(He,{key:Nr,color:Ur,ptg:lr,radius:It,prefixCls:kt,gradientId:We,style:Sr,strokeLinecap:An,strokeWidth:cn,gapDegree:va,ref:function(bn){pa[Nr]=bn},size:he})}).reverse()},Ea=function(){var Dn=Math.round(wn*(Bt[0]/100)),lr=100/wn,Nr=0;return new Array(wn).fill(null).map(function(Ur,Sr){var Ue=Sr<=Dn-1?pt[0]:Na,bn=Ue&&(0,y.Z)(Ue)==="object"?"url(#".concat(We,")"):void 0,Xt=qe(_t,Wt,Nr,lr,Vt,va,Da,Ue,"butt",cn,vt);return Nr+=(Wt-Xt.strokeDashoffset+vt)*100/Wt,b.createElement("circle",{key:Sr,className:"".concat(kt,"-circle-path"),r:It,cx:ia,cy:ia,stroke:bn,strokeWidth:cn,opacity:1,style:Xt,ref:function(Kn){pa[Sr]=Kn}})})};return b.createElement("svg",(0,Ve.Z)({className:le()("".concat(kt,"-circle"),fa),viewBox:"0 0 ".concat(he," ").concat(he),style:$a,id:wt,role:"presentation"},On),!wn&&b.createElement("circle",{className:"".concat(kt,"-circle-trail"),r:It,cx:ia,cy:ia,stroke:Na,strokeLinecap:An,strokeWidth:Ln||cn,style:ka}),wn?Ea():_n())},ot=Le,lt={Line:x,Circle:ot},gt=ee(6848),ft=ee(93398);function ln(Te){return!Te||Te<0?0:Te>100?100:Te}function xt(Te){let{success:Ft,successPercent:zt}=Te,wt=zt;return Ft&&"progress"in Ft&&(wt=Ft.progress),Ft&&"percent"in Ft&&(wt=Ft.percent),wt}const an=Te=>{let{percent:Ft,success:zt,successPercent:wt}=Te;const kt=ln(xt({success:zt,successPercent:wt}));return[kt,ln(ln(Ft)-kt)]},hn=Te=>{let{success:Ft={},strokeColor:zt}=Te;const{strokeColor:wt}=Ft;return[wt||ft.presetPrimaryColors.green,zt||null]},$e=(Te,Ft,zt)=>{var wt,kt,sn,cn;let Ln=-1,Jn=-1;if(Ft==="step"){const va=zt.steps,Da=zt.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?(Ln=Te==="small"?2:14,Jn=Da!=null?Da:8):typeof Te=="number"?[Ln,Jn]=[Te,Te]:[Ln=14,Jn=8]=Te,Ln*=va}else if(Ft==="line"){const va=zt==null?void 0:zt.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?Jn=va||(Te==="small"?6:8):typeof Te=="number"?[Ln,Jn]=[Te,Te]:[Ln=-1,Jn=8]=Te}else(Ft==="circle"||Ft==="dashboard")&&(typeof Te=="string"||typeof Te=="undefined"?[Ln,Jn]=Te==="small"?[60,60]:[120,120]:typeof Te=="number"?[Ln,Jn]=[Te,Te]:(Ln=(kt=(wt=Te[0])!==null&&wt!==void 0?wt:Te[1])!==null&&kt!==void 0?kt:120,Jn=(cn=(sn=Te[0])!==null&&sn!==void 0?sn:Te[1])!==null&&cn!==void 0?cn:120));return[Ln,Jn]},dt=3,rn=Te=>dt/Te*100;var Zt=Te=>{const{prefixCls:Ft,trailColor:zt=null,strokeLinecap:wt="round",gapPosition:kt,gapDegree:sn,width:cn=120,type:Ln,children:Jn,success:va,size:Da=cn}=Te,[Na,ar]=$e(Da,"circle");let{strokeWidth:$a}=Te;$a===void 0&&($a=Math.max(rn(Na),6));const fa={width:Na,height:ar,fontSize:Na*.15+6},yr=b.useMemo(()=>{if(sn||sn===0)return sn;if(Ln==="dashboard")return 75},[sn,Ln]),en=kt||Ln==="dashboard"&&"bottom"||void 0,On=Object.prototype.toString.call(Te.strokeColor)==="[object Object]",ia=hn({success:va,strokeColor:Te.strokeColor}),xa=le()(`${Ft}-inner`,{[`${Ft}-circle-gradient`]:On}),We=b.createElement(ot,{percent:an(Te),strokeWidth:$a,trailWidth:$a,strokeColor:ia,strokeLinecap:wt,trailColor:zt,prefixCls:Ft,gapDegree:yr,gapPosition:en});return b.createElement("div",{className:xa,style:fa},Na<=20?b.createElement(gt.Z,{title:Jn},b.createElement("span",null,We)):b.createElement(b.Fragment,null,We,Jn))},Fn=function(Te,Ft){var zt={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&&Ft.indexOf(wt)<0&&(zt[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,wt=Object.getOwnPropertySymbols(Te);kt<wt.length;kt++)Ft.indexOf(wt[kt])<0&&Object.prototype.propertyIsEnumerable.call(Te,wt[kt])&&(zt[wt[kt]]=Te[wt[kt]]);return zt};const ze=Te=>{let Ft=[];return Object.keys(Te).forEach(zt=>{const wt=parseFloat(zt.replace(/%/g,""));isNaN(wt)||Ft.push({key:wt,value:Te[zt]})}),Ft=Ft.sort((zt,wt)=>zt.key-wt.key),Ft.map(zt=>{let{key:wt,value:kt}=zt;return`${kt} ${wt}%`}).join(", ")},ct=(Te,Ft)=>{const{from:zt=ft.presetPrimaryColors.blue,to:wt=ft.presetPrimaryColors.blue,direction:kt=Ft==="rtl"?"to left":"to right"}=Te,sn=Fn(Te,["from","to","direction"]);if(Object.keys(sn).length!==0){const cn=ze(sn);return{backgroundImage:`linear-gradient(${kt}, ${cn})`}}return{backgroundImage:`linear-gradient(${kt}, ${zt}, ${wt})`}};var mt=Te=>{const{prefixCls:Ft,direction:zt,percent:wt,size:kt,strokeWidth:sn,strokeColor:cn,strokeLinecap:Ln="round",children:Jn,trailColor:va=null,success:Da}=Te,Na=cn&&typeof cn!="string"?ct(cn,zt):{backgroundColor:cn},ar=Ln==="square"||Ln==="butt"?0:void 0,$a={backgroundColor:va||void 0,borderRadius:ar},fa=kt!=null?kt:[-1,sn||(kt==="small"?6:8)],[yr,en]=$e(fa,"line",{strokeWidth:sn}),On=Object.assign({width:`${ln(wt)}%`,height:en,borderRadius:ar},Na),ia=xt(Te),xa={width:`${ln(ia)}%`,height:en,borderRadius:ar,backgroundColor:Da==null?void 0:Da.strokeColor},We={width:yr<0?"100%":yr,height:en};return b.createElement(b.Fragment,null,b.createElement("div",{className:`${Ft}-outer`,style:We},b.createElement("div",{className:`${Ft}-inner`,style:$a},b.createElement("div",{className:`${Ft}-bg`,style:On}),ia!==void 0?b.createElement("div",{className:`${Ft}-success-bg`,style:xa}):null)),Jn)},ut=Te=>{const{size:Ft,steps:zt,percent:wt=0,strokeWidth:kt=8,strokeColor:sn,trailColor:cn=null,prefixCls:Ln,children:Jn}=Te,va=Math.round(zt*(wt/100)),Da=Ft==="small"?2:14,Na=Ft!=null?Ft:[Da,kt],[ar,$a]=$e(Na,"step",{steps:zt,strokeWidth:kt}),fa=ar/zt,yr=new Array(zt);for(let en=0;en<zt;en++){const On=Array.isArray(sn)?sn[en]:sn;yr[en]=b.createElement("div",{key:en,className:le()(`${Ln}-steps-item`,{[`${Ln}-steps-item-active`]:en<=va-1}),style:{backgroundColor:en<=va-1?On:cn,width:fa,height:$a}})}return b.createElement("div",{className:`${Ln}-steps-outer`},yr,Jn)},at=ee(93083),De=ee(17313),fe=ee(83116),Xe=ee(37613);const Rt=Te=>{const Ft=Te?"100%":"-100%";return new at.Keyframes(`antProgress${Te?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ft}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ft}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Oe=Te=>{const{componentCls:Ft,iconCls:zt}=Te;return{[Ft]:Object.assign(Object.assign({},(0,De.Wf)(Te)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Te.fontSize,marginInlineEnd:Te.marginXS,marginBottom:Te.marginXS},[`${Ft}-outer`]:{display:"inline-block",width:"100%"},[`&${Ft}-show-info`]:{[`${Ft}-outer`]:{marginInlineEnd:`calc(-2em - ${Te.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Te.paddingXS}px)`}},[`${Ft}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Te.remainingColor,borderRadius:Te.lineBorderRadius},[`${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:Te.defaultColor}},[`${Ft}-success-bg, ${Ft}-bg`]:{position:"relative",backgroundColor:Te.defaultColor,borderRadius:Te.lineBorderRadius,transition:`all ${Te.motionDurationSlow} ${Te.motionEaseInOutCirc}`},[`${Ft}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Te.colorSuccess},[`${Ft}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Te.marginXS,color:Te.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[zt]:{fontSize:Te.fontSize}},[`&${Ft}-status-active`]:{[`${Ft}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Te.colorBgContainer,borderRadius:Te.lineBorderRadius,opacity:0,animationName:Rt(),animationDuration:Te.progressActiveMotionDuration,animationTimingFunction:Te.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ft}-rtl${Ft}-status-active`]:{[`${Ft}-bg::before`]:{animationName:Rt(!0)}},[`&${Ft}-status-exception`]:{[`${Ft}-bg`]:{backgroundColor:Te.colorError},[`${Ft}-text`]:{color:Te.colorError}},[`&${Ft}-status-exception ${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:Te.colorError}},[`&${Ft}-status-success`]:{[`${Ft}-bg`]:{backgroundColor:Te.colorSuccess},[`${Ft}-text`]:{color:Te.colorSuccess}},[`&${Ft}-status-success ${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:Te.colorSuccess}}})}},Ie=Te=>{const{componentCls:Ft,iconCls:zt}=Te;return{[Ft]:{[`${Ft}-circle-trail`]:{stroke:Te.remainingColor},[`&${Ft}-circle ${Ft}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ft}-circle ${Ft}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Te.circleTextColor,fontSize:Te.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[zt]:{fontSize:`${Te.fontSize/Te.fontSizeSM}em`}},[`${Ft}-circle&-status-exception`]:{[`${Ft}-text`]:{color:Te.colorError}},[`${Ft}-circle&-status-success`]:{[`${Ft}-text`]:{color:Te.colorSuccess}}},[`${Ft}-inline-circle`]:{lineHeight:1,[`${Ft}-inner`]:{verticalAlign:"bottom"}}}},St=Te=>{const{componentCls:Ft}=Te;return{[Ft]:{[`${Ft}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Te.progressStepMinWidth,marginInlineEnd:Te.progressStepMarginInlineEnd,backgroundColor:Te.remainingColor,transition:`all ${Te.motionDurationSlow}`,"&-active":{backgroundColor:Te.defaultColor}}}}}},nt=Te=>{const{componentCls:Ft,iconCls:zt}=Te;return{[Ft]:{[`${Ft}-small&-line, ${Ft}-small&-line ${Ft}-text ${zt}`]:{fontSize:Te.fontSizeSM}}}};var Me=(0,fe.Z)("Progress",Te=>{const Ft=Te.marginXXS/2,zt=(0,Xe.TS)(Te,{progressStepMarginInlineEnd:Ft,progressStepMinWidth:Ft,progressActiveMotionDuration:"2.4s"});return[Oe(zt),Ie(zt),St(zt),nt(zt)]},Te=>({circleTextColor:Te.colorText,defaultColor:Te.colorInfo,remainingColor:Te.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),yt=function(Te,Ft){var zt={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&&Ft.indexOf(wt)<0&&(zt[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,wt=Object.getOwnPropertySymbols(Te);kt<wt.length;kt++)Ft.indexOf(wt[kt])<0&&Object.prototype.propertyIsEnumerable.call(Te,wt[kt])&&(zt[wt[kt]]=Te[wt[kt]]);return zt};const Bn=null,nn=["normal","exception","active","success"];var un=b.forwardRef((Te,Ft)=>{const{prefixCls:zt,className:wt,rootClassName:kt,steps:sn,strokeColor:cn,percent:Ln=0,size:Jn="default",showInfo:va=!0,type:Da="line",status:Na,format:ar,style:$a}=Te,fa=yt(Te,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),yr=b.useMemo(()=>{var Bt,pt;const Sn=xt(Te);return parseInt(Sn!==void 0?(Bt=Sn!=null?Sn:0)===null||Bt===void 0?void 0:Bt.toString():(pt=Ln!=null?Ln:0)===null||pt===void 0?void 0:pt.toString(),10)},[Ln,Te.success,Te.successPercent]),en=b.useMemo(()=>!nn.includes(Na)&&yr>=100?"success":Na||"normal",[Na,yr]),{getPrefixCls:On,direction:ia,progress:xa}=b.useContext(et.E_),We=On("progress",zt),[It,_t]=Me(We),Vt=b.useMemo(()=>{if(!va)return null;const Bt=xt(Te);let pt;const Sn=ar||(An=>`${An}%`),Wn=Da==="line";return ar||en!=="exception"&&en!=="success"?pt=Sn(ln(Ln),ln(Bt)):en==="exception"?pt=Wn?b.createElement(Ne.Z,null):b.createElement(Ze.Z,null):en==="success"&&(pt=Wn?b.createElement(de.Z,null):b.createElement(Be.Z,null)),b.createElement("span",{className:`${We}-text`,title:typeof pt=="string"?pt:void 0},pt)},[va,Ln,yr,en,Da,We,ar]),Wt=Array.isArray(cn)?cn[0]:cn,Rn=typeof cn=="string"||Array.isArray(cn)?cn:void 0;let wn;Da==="line"?wn=sn?b.createElement(ut,Object.assign({},Te,{strokeColor:Rn,prefixCls:We,steps:sn}),Vt):b.createElement(mt,Object.assign({},Te,{strokeColor:Wt,prefixCls:We,direction:ia}),Vt):(Da==="circle"||Da==="dashboard")&&(wn=b.createElement(Zt,Object.assign({},Te,{strokeColor:Wt,prefixCls:We,progressStatus:en}),Vt));const vt=le()(We,`${We}-status-${en}`,`${We}-${Da==="dashboard"&&"circle"||sn&&"steps"||Da}`,{[`${We}-inline-circle`]:Da==="circle"&&$e(Jn,"circle")[0]<=20,[`${We}-show-info`]:va,[`${We}-${Jn}`]:typeof Jn=="string",[`${We}-rtl`]:ia==="rtl"},xa==null?void 0:xa.className,wt,kt,_t);return It(b.createElement("div",Object.assign({ref:Ft,style:Object.assign(Object.assign({},xa==null?void 0:xa.style),$a),className:vt,role:"progressbar","aria-valuenow":yr},(0,st.Z)(fa,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),wn))}),yn=un},13570:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ln}});var b=ee(72308),de=ee(59301),Be={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"},Ne=Be,Ze=ee(7657),ke=function(an,hn){return de.createElement(Ze.Z,(0,b.Z)({},an,{ref:hn,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(92310),Ve=ee.n(et),Ge=ee(49618),Je=ee(52487),Ye=ee(74416),se=ee(18929),E=ee(10228),a=ee(26112);function x(xt,an){var hn=xt.disabled,$e=xt.prefixCls,dt=xt.character,rn=xt.characterRender,Vn=xt.index,Zt=xt.count,Fn=xt.value,ze=xt.allowHalf,ct=xt.focused,Lt=xt.onHover,mt=xt.onClick,Nt=function(Ie){Lt(Ie,Vn)},ut=function(Ie){mt(Ie,Vn)},at=function(Ie){Ie.keyCode===E.Z.ENTER&&mt(Ie,Vn)},De=Vn+1,fe=new Set([$e]);Fn===0&&Vn===0&&ct?fe.add("".concat($e,"-focused")):ze&&Fn+.5>=De&&Fn<De?(fe.add("".concat($e,"-half")),fe.add("".concat($e,"-active")),ct&&fe.add("".concat($e,"-focused"))):(De<=Fn?fe.add("".concat($e,"-full")):fe.add("".concat($e,"-zero")),De===Fn&&ct&&fe.add("".concat($e,"-focused")));var Xe=typeof dt=="function"?dt(xt):dt,Rt=de.createElement("li",{className:Ve()(Array.from(fe)),ref:an},de.createElement("div",{onClick:hn?null:ut,onKeyDown:hn?null:at,onMouseMove:hn?null:Nt,role:"radio","aria-checked":Fn>Vn?"true":"false","aria-posinset":Vn+1,"aria-setsize":Zt,tabIndex:hn?-1:0},de.createElement("div",{className:"".concat($e,"-first")},Xe),de.createElement("div",{className:"".concat($e,"-second")},Xe)));return rn&&(Rt=rn(Rt,xt)),Rt}var y=de.forwardRef(x);function z(){var xt=de.useRef({});function an($e){return xt.current[$e]}function hn($e){return function(dt){xt.current[$e]=dt}}return[an,hn]}function ne(xt){var an=xt.pageXOffset,hn="scrollLeft";if(typeof an!="number"){var $e=xt.document;an=$e.documentElement[hn],typeof an!="number"&&(an=$e.body[hn])}return an}function re(xt){var an,hn,$e=xt.ownerDocument,dt=$e.body,rn=$e&&$e.documentElement,Vn=xt.getBoundingClientRect();return an=Vn.left,hn=Vn.top,an-=rn.clientLeft||dt.clientLeft||0,hn-=rn.clientTop||dt.clientTop||0,{left:an,top:hn}}function ue(xt){var an=re(xt),hn=xt.ownerDocument,$e=hn.defaultView||hn.parentWindow;return an.left+=ne($e),an.left}var ie=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ve(xt,an){var hn,$e=xt.prefixCls,dt=$e===void 0?"rc-rate":$e,rn=xt.className,Vn=xt.defaultValue,Zt=xt.value,Fn=xt.count,ze=Fn===void 0?5:Fn,ct=xt.allowHalf,Lt=ct===void 0?!1:ct,mt=xt.allowClear,Nt=mt===void 0?!0:mt,ut=xt.character,at=ut===void 0?"\u2605":ut,De=xt.characterRender,fe=xt.disabled,Xe=xt.direction,Rt=Xe===void 0?"ltr":Xe,Oe=xt.tabIndex,Ie=Oe===void 0?0:Oe,St=xt.autoFocus,nt=xt.onHoverChange,Me=xt.onChange,yt=xt.onFocus,Bn=xt.onBlur,nn=xt.onKeyDown,dn=xt.onMouseLeave,un=(0,Ye.Z)(xt,ie),yn=z(),Te=(0,Je.Z)(yn,2),Ft=Te[0],zt=Te[1],wt=de.useRef(null),kt=function(){if(!fe){var An;(An=wt.current)===null||An===void 0||An.focus()}};de.useImperativeHandle(an,function(){return{focus:kt,blur:function(){if(!fe){var An;(An=wt.current)===null||An===void 0||An.blur()}}}});var sn=(0,se.Z)(Vn||0,{value:Zt}),cn=(0,Je.Z)(sn,2),Ln=cn[0],Jn=cn[1],va=(0,se.Z)(null),Da=(0,Je.Z)(va,2),Na=Da[0],ar=Da[1],$a=function(An,ka){var pa=Rt==="rtl",_n=An+1;if(Lt){var Ea=Ft(An),Pa=ue(Ea),Dn=Ea.clientWidth;(pa&&ka-Pa>Dn/2||!pa&&ka-Pa<Dn/2)&&(_n-=.5)}return _n},fa=function(An){Jn(An),Me==null||Me(An)},yr=de.useState(!1),en=(0,Je.Z)(yr,2),On=en[0],ia=en[1],xa=function(){ia(!0),yt==null||yt()},We=function(){ia(!1),Bn==null||Bn()},It=de.useState(null),_t=(0,Je.Z)(It,2),Vt=_t[0],Wt=_t[1],Rn=function(An,ka){var pa=$a(ka,An.pageX);pa!==Na&&(Wt(pa),ar(null)),nt==null||nt(pa)},wn=function(An){fe||(Wt(null),ar(null),nt==null||nt(void 0)),An&&(dn==null||dn(An))},vt=function(An,ka){var pa=$a(ka,An.pageX),_n=!1;Nt&&(_n=pa===Ln),wn(),fa(_n?0:pa),ar(_n?pa:null)},Bt=function(An){var ka=An.keyCode,pa=Rt==="rtl",_n=Ln;ka===E.Z.RIGHT&&_n<ze&&!pa?(Lt?_n+=.5:_n+=1,fa(_n),An.preventDefault()):ka===E.Z.LEFT&&_n>0&&!pa||ka===E.Z.RIGHT&&_n>0&&pa?(Lt?_n-=.5:_n-=1,fa(_n),An.preventDefault()):ka===E.Z.LEFT&&_n<ze&&pa&&(Lt?_n+=.5:_n+=1,fa(_n),An.preventDefault()),nn==null||nn(An)};de.useEffect(function(){St&&!fe&&kt()},[]);var pt=new Array(ze).fill(0).map(function(Wn,An){return de.createElement(y,{ref:zt(An),index:An,count:ze,disabled:fe,prefixCls:"".concat(dt,"-star"),allowHalf:Lt,value:Vt===null?Ln:Vt,onClick:vt,onHover:Rn,key:Wn||An,character:at,characterRender:De,focused:On})}),Sn=Ve()(dt,rn,(hn={},(0,Ge.Z)(hn,"".concat(dt,"-disabled"),fe),(0,Ge.Z)(hn,"".concat(dt,"-rtl"),Rt==="rtl"),hn));return de.createElement("ul",(0,b.Z)({className:Sn,onMouseLeave:wn,tabIndex:fe?-1:Ie,onFocus:fe?null:xa,onBlur:fe?null:We,onKeyDown:fe?null:Bt,ref:wt,role:"radiogroup"},(0,a.Z)(un,{aria:!0,data:!0,attr:!0})),pt)}var be=de.forwardRef(ve),je=be,Ae=ee(36355),He=ee(6848),he=ee(17313),qe=ee(83116),Ke=ee(37613);const ht=xt=>{const{componentCls:an}=xt;return{[`${an}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:xt.marginXS},"> div":{transition:`all ${xt.motionDurationMid}, outline 0s`,"&:hover":{transform:xt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${xt.lineWidth}px dashed ${xt.starColor}`,transform:xt.starHoverScale}},"&-first, &-second":{color:xt.starBg,transition:`all ${xt.motionDurationMid}`,userSelect:"none",[xt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${an}-star-first, &-half ${an}-star-second`]:{opacity:1},[`&-half ${an}-star-first, &-full ${an}-star-second`]:{color:"inherit"}}}},Le=xt=>({[`&-rtl${xt.componentCls}`]:{direction:"rtl"}}),ot=xt=>{const{componentCls:an}=xt;return{[an]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(xt)),{display:"inline-block",margin:0,padding:0,color:xt.starColor,fontSize:xt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${an} ${an}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ht(xt)),{[`+ ${an}-text`]:{display:"inline-block",marginInlineStart:xt.marginXS,fontSize:xt.fontSize}}),Le(xt))}};var lt=(0,qe.Z)("Rate",xt=>{const an=(0,Ke.TS)(xt,{});return[ot(an)]},xt=>({starColor:xt.yellow6,starSize:xt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:xt.colorFillContent})),gt=function(xt,an){var hn={};for(var $e in xt)Object.prototype.hasOwnProperty.call(xt,$e)&&an.indexOf($e)<0&&(hn[$e]=xt[$e]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,$e=Object.getOwnPropertySymbols(xt);dt<$e.length;dt++)an.indexOf($e[dt])<0&&Object.prototype.propertyIsEnumerable.call(xt,$e[dt])&&(hn[$e[dt]]=xt[$e[dt]]);return hn},ln=de.forwardRef((xt,an)=>{const{prefixCls:hn,className:$e,rootClassName:dt,style:rn,tooltips:Vn,character:Zt=de.createElement(st,null)}=xt,Fn=gt(xt,["prefixCls","className","rootClassName","style","tooltips","character"]),ze=(fe,Xe)=>{let{index:Rt}=Xe;return Vn?de.createElement(He.Z,{title:Vn[Rt]},fe):fe},{getPrefixCls:ct,direction:Lt,rate:mt}=de.useContext(Ae.E_),Nt=ct("rate",hn),[ut,at]=lt(Nt),De=Object.assign(Object.assign({},mt==null?void 0:mt.style),rn);return ut(de.createElement(je,Object.assign({ref:an,character:Zt,characterRender:ze},Fn,{className:Ve()($e,dt,at,mt==null?void 0:mt.className),style:De,prefixCls:Nt,direction:Lt})))})},61621:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return at}});var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(36355),Ze=ee(2738),le=De=>{const{prefixCls:fe,className:Xe,style:Rt,size:Oe,shape:Ie}=De,St=de()({[`${fe}-lg`]:Oe==="large",[`${fe}-sm`]:Oe==="small"}),nt=de()({[`${fe}-circle`]:Ie==="circle",[`${fe}-square`]:Ie==="square",[`${fe}-round`]:Ie==="round"}),Me=Be.useMemo(()=>typeof Oe=="number"?{width:Oe,height:Oe,lineHeight:`${Oe}px`}:{},[Oe]);return Be.createElement("span",{className:de()(fe,St,nt,Xe),style:Object.assign(Object.assign({},Me),Rt)})},st=ee(93083),et=ee(83116),Ve=ee(37613);const Ge=new st.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Je=De=>({height:De,lineHeight:`${De}px`}),Ye=De=>Object.assign({width:De},Je(De)),se=De=>({background:De.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ge,animationDuration:De.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=De=>Object.assign({width:De*5,minWidth:De*5},Je(De)),a=De=>{const{skeletonAvatarCls:fe,gradientFromColor:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie}=De;return{[`${fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe},Ye(Rt)),[`${fe}${fe}-circle`]:{borderRadius:"50%"},[`${fe}${fe}-lg`]:Object.assign({},Ye(Oe)),[`${fe}${fe}-sm`]:Object.assign({},Ye(Ie))}},x=De=>{const{controlHeight:fe,borderRadiusSM:Xe,skeletonInputCls:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:St}=De;return{[`${Rt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:Xe},E(fe)),[`${Rt}-lg`]:Object.assign({},E(Oe)),[`${Rt}-sm`]:Object.assign({},E(Ie))}},y=De=>Object.assign({width:De},Je(De)),z=De=>{const{skeletonImageCls:fe,imageSizeBase:Xe,gradientFromColor:Rt,borderRadiusSM:Oe}=De;return{[`${fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Rt,borderRadius:Oe},y(Xe*2)),{[`${fe}-path`]:{fill:"#bfbfbf"},[`${fe}-svg`]:Object.assign(Object.assign({},y(Xe)),{maxWidth:Xe*4,maxHeight:Xe*4}),[`${fe}-svg${fe}-svg-circle`]:{borderRadius:"50%"}}),[`${fe}${fe}-circle`]:{borderRadius:"50%"}}},ne=(De,fe,Xe)=>{const{skeletonButtonCls:Rt}=De;return{[`${Xe}${Rt}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${Xe}${Rt}-round`]:{borderRadius:fe}}},re=De=>Object.assign({width:De*2,minWidth:De*2},Je(De)),ue=De=>{const{borderRadiusSM:fe,skeletonButtonCls:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:St}=De;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:fe,width:Rt*2,minWidth:Rt*2},re(Rt))},ne(De,Rt,Xe)),{[`${Xe}-lg`]:Object.assign({},re(Oe))}),ne(De,Oe,`${Xe}-lg`)),{[`${Xe}-sm`]:Object.assign({},re(Ie))}),ne(De,Ie,`${Xe}-sm`))},ie=De=>{const{componentCls:fe,skeletonAvatarCls:Xe,skeletonTitleCls:Rt,skeletonParagraphCls:Oe,skeletonButtonCls:Ie,skeletonInputCls:St,skeletonImageCls:nt,controlHeight:Me,controlHeightLG:yt,controlHeightSM:Bn,gradientFromColor:nn,padding:dn,marginSM:un,borderRadius:yn,titleHeight:Te,blockRadius:Ft,paragraphLiHeight:zt,controlHeightXS:wt,paragraphMarginTop:kt}=De;return{[`${fe}`]:{display:"table",width:"100%",[`${fe}-header`]:{display:"table-cell",paddingInlineEnd:dn,verticalAlign:"top",[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nn},Ye(Me)),[`${Xe}-circle`]:{borderRadius:"50%"},[`${Xe}-lg`]:Object.assign({},Ye(yt)),[`${Xe}-sm`]:Object.assign({},Ye(Bn))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Rt}`]:{width:"100%",height:Te,background:nn,borderRadius:Ft,[`+ ${Oe}`]:{marginBlockStart:Bn}},[`${Oe}`]:{padding:0,"> li":{width:"100%",height:zt,listStyle:"none",background:nn,borderRadius:Ft,"+ li":{marginBlockStart:wt}}},[`${Oe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${fe}-content`]:{[`${Rt}, ${Oe} > li`]:{borderRadius:yn}}},[`${fe}-with-avatar ${fe}-content`]:{[`${Rt}`]:{marginBlockStart:un,[`+ ${Oe}`]:{marginBlockStart:kt}}},[`${fe}${fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ue(De)),a(De)),x(De)),z(De)),[`${fe}${fe}-block`]:{width:"100%",[`${Ie}`]:{width:"100%"},[`${St}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[`
${Rt},
${Oe} > li,
${Xe},
${Ie},
${St},
${nt}
`]:Object.assign({},se(De))}}};var ve=(0,et.Z)("Skeleton",De=>{const{componentCls:fe}=De,Xe=(0,Ve.TS)(De,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:De.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${De.gradientFromColor} 25%, ${De.gradientToColor} 37%, ${De.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ie(Xe)]},De=>{const{colorFillContent:fe,colorFill:Xe}=De,Rt=fe,Oe=Xe;return{color:Rt,colorGradientEnd:Oe,gradientFromColor:Rt,gradientToColor:Oe,titleHeight:De.controlHeight/2,blockRadius:De.borderRadiusSM,paragraphMarginTop:De.marginLG+De.marginXXS,paragraphLiHeight:De.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),je=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,shape:Ie="circle",size:St="default"}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=(0,Ze.Z)(De,["prefixCls","className"]),dn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe},Xe,Rt,Bn);return yt(Be.createElement("div",{className:dn},Be.createElement(le,Object.assign({prefixCls:`${Me}-avatar`,shape:Ie,size:St},nn))))},He=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie=!1,size:St="default"}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=(0,Ze.Z)(De,["prefixCls"]),dn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,Bn);return yt(Be.createElement("div",{className:dn},Be.createElement(le,Object.assign({prefixCls:`${Me}-button`,size:St},nn))))};const he="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 Ke=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie}=De,{getPrefixCls:St}=Be.useContext(Ne.E_),nt=St("skeleton",fe),[Me,yt]=ve(nt),Bn=de()(nt,`${nt}-element`,{[`${nt}-active`]:Ie},Xe,Rt,yt);return Me(Be.createElement("div",{className:Bn},Be.createElement("div",{className:de()(`${nt}-image`,Xe),style:Oe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${nt}-image-svg`},Be.createElement("path",{d:he,className:`${nt}-image-path`})))))},Le=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie,size:St="default"}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=(0,Ze.Z)(De,["prefixCls"]),dn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,Bn);return yt(Be.createElement("div",{className:dn},Be.createElement(le,Object.assign({prefixCls:`${Me}-input`,size:St},nn))))},ot=ee(72308),lt={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"},gt=lt,ft=ee(7657),ln=function(fe,Xe){return Be.createElement(ft.Z,(0,ot.Z)({},fe,{ref:Xe,icon:gt}))},xt=Be.forwardRef(ln),an=xt,$e=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie,children:St}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Ie},Bn,Xe,Rt),dn=St!=null?St:Be.createElement(an,null);return yt(Be.createElement("div",{className:nn},Be.createElement("div",{className:de()(`${Me}-image`,Xe),style:Oe},dn)))},dt=ee(80702),Vn=De=>{const fe=nt=>{const{width:Me,rows:yt=2}=De;if(Array.isArray(Me))return Me[nt];if(yt-1===nt)return Me},{prefixCls:Xe,className:Rt,style:Oe,rows:Ie}=De,St=(0,dt.Z)(Array(Ie)).map((nt,Me)=>Be.createElement("li",{key:Me,style:{width:fe(Me)}}));return Be.createElement("ul",{className:de()(Xe,Rt),style:Oe},St)},Fn=De=>{let{prefixCls:fe,className:Xe,width:Rt,style:Oe}=De;return Be.createElement("h3",{className:de()(fe,Xe),style:Object.assign({width:Rt},Oe)})};function ze(De){return De&&typeof De=="object"?De:{}}function ct(De,fe){return De&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Lt(De,fe){return!De&&fe?{width:"38%"}:De&&fe?{width:"50%"}:{}}function mt(De,fe){const Xe={};return(!De||!fe)&&(Xe.width="61%"),!De&&fe?Xe.rows=3:Xe.rows=2,Xe}const Nt=De=>{const{prefixCls:fe,loading:Xe,className:Rt,rootClassName:Oe,style:Ie,children:St,avatar:nt=!1,title:Me=!0,paragraph:yt=!0,active:Bn,round:nn}=De,{getPrefixCls:dn,direction:un,skeleton:yn}=Be.useContext(Ne.E_),Te=dn("skeleton",fe),[Ft,zt]=ve(Te);if(Xe||!("loading"in De)){const wt=!!nt,kt=!!Me,sn=!!yt;let cn;if(wt){const va=Object.assign(Object.assign({prefixCls:`${Te}-avatar`},ct(kt,sn)),ze(nt));cn=Be.createElement("div",{className:`${Te}-header`},Be.createElement(le,Object.assign({},va)))}let Ln;if(kt||sn){let va;if(kt){const Na=Object.assign(Object.assign({prefixCls:`${Te}-title`},Lt(wt,sn)),ze(Me));va=Be.createElement(Fn,Object.assign({},Na))}let Da;if(sn){const Na=Object.assign(Object.assign({prefixCls:`${Te}-paragraph`},mt(wt,kt)),ze(yt));Da=Be.createElement(Vn,Object.assign({},Na))}Ln=Be.createElement("div",{className:`${Te}-content`},va,Da)}const Jn=de()(Te,{[`${Te}-with-avatar`]:wt,[`${Te}-active`]:Bn,[`${Te}-rtl`]:un==="rtl",[`${Te}-round`]:nn},yn==null?void 0:yn.className,Rt,Oe,zt);return Ft(Be.createElement("div",{className:Jn,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Ie)},cn,Ln))}return typeof St!="undefined"?St:null};Nt.Button=He,Nt.Avatar=je,Nt.Input=Le,Nt.Image=Ke,Nt.Node=$e;var ut=Nt,at=ut},31797:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return ve}});var b=ee(59301),de=ee(56762),Be=ee(92343),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(36355),le=ee(61621),et=be=>{const{value:je,formatter:Ae,precision:He,decimalSeparator:he,groupSeparator:qe="",prefixCls:Ke}=be;let ht;if(typeof Ae=="function")ht=Ae(je);else{const Le=String(je),ot=Le.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ot||Le==="-")ht=Le;else{const lt=ot[1];let gt=ot[2]||"0",ft=ot[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,qe),typeof He=="number"&&(ft=ft.padEnd(He,"0").slice(0,He>0?He:0)),ft&&(ft=`${he}${ft}`),ht=[b.createElement("span",{key:"int",className:`${Ke}-content-value-int`},lt,gt),ft&&b.createElement("span",{key:"decimal",className:`${Ke}-content-value-decimal`},ft)]}}return b.createElement("span",{className:`${Ke}-content-value`},ht)},Ve=ee(17313),Ge=ee(83116),Je=ee(37613);const Ye=be=>{const{componentCls:je,marginXXS:Ae,padding:He,colorTextDescription:he,titleFontSize:qe,colorTextHeading:Ke,contentFontSize:ht,fontFamily:Le}=be;return{[`${je}`]:Object.assign(Object.assign({},(0,Ve.Wf)(be)),{[`${je}-title`]:{marginBottom:Ae,color:he,fontSize:qe},[`${je}-skeleton`]:{paddingTop:He},[`${je}-content`]:{color:Ke,fontSize:ht,fontFamily:Le,[`${je}-content-value`]:{display:"inline-block",direction:"ltr"},[`${je}-content-prefix, ${je}-content-suffix`]:{display:"inline-block"},[`${je}-content-prefix`]:{marginInlineEnd:Ae},[`${je}-content-suffix`]:{marginInlineStart:Ae}}})}};var se=(0,Ge.Z)("Statistic",be=>{const je=(0,Je.TS)(be,{});return[Ye(je)]},be=>{const{fontSizeHeading3:je,fontSize:Ae}=be;return{titleFontSize:Ae,contentFontSize:je}}),a=be=>{const{prefixCls:je,className:Ae,rootClassName:He,style:he,valueStyle:qe,value:Ke=0,title:ht,valueRender:Le,prefix:ot,suffix:lt,loading:gt=!1,onMouseEnter:ft,onMouseLeave:ln,decimalSeparator:xt=".",groupSeparator:an=","}=be,{getPrefixCls:hn,direction:$e,statistic:dt}=b.useContext(ke.E_),rn=hn("statistic",je),[Vn,Zt]=se(rn),Fn=b.createElement(et,Object.assign({decimalSeparator:xt,groupSeparator:an,prefixCls:rn},be,{value:Ke})),ze=Ze()(rn,{[`${rn}-rtl`]:$e==="rtl"},dt==null?void 0:dt.className,Ae,He,Zt);return Vn(b.createElement("div",{className:ze,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),he),onMouseEnter:ft,onMouseLeave:ln},ht&&b.createElement("div",{className:`${rn}-title`},ht),b.createElement(le.Z,{paragraph:!1,loading:gt,className:`${rn}-skeleton`},b.createElement("div",{style:qe,className:`${rn}-content`},ot&&b.createElement("span",{className:`${rn}-content-prefix`},ot),Le?Le(Fn):Fn,lt&&b.createElement("span",{className:`${rn}-content-suffix`},lt)))))};const x=[["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 y(be,je){let Ae=be;const He=/\[[^\]]*]/g,he=(je.match(He)||[]).map(Le=>Le.slice(1,-1)),qe=je.replace(He,"[]"),Ke=x.reduce((Le,ot)=>{let[lt,gt]=ot;if(Le.includes(lt)){const ft=Math.floor(Ae/gt);return Ae-=ft*gt,Le.replace(new RegExp(`${lt}+`,"g"),ln=>{const xt=ln.length;return ft.toString().padStart(xt,"0")})}return Le},qe);let ht=0;return Ke.replace(He,()=>{const Le=he[ht];return ht+=1,Le})}function z(be,je){const{format:Ae=""}=je,He=new Date(be).getTime(),he=Date.now(),qe=Math.max(He-he,0);return y(qe,Ae)}const ne=1e3/30;function re(be){return new Date(be).getTime()}const ue=be=>{const{value:je,format:Ae="HH:mm:ss",onChange:He,onFinish:he}=be,qe=(0,de.Z)(),Ke=b.useRef(null),ht=()=>{he==null||he(),Ke.current&&(clearInterval(Ke.current),Ke.current=null)},Le=()=>{const gt=re(je);gt>=Date.now()&&(Ke.current=setInterval(()=>{qe(),He==null||He(gt-Date.now()),gt<Date.now()&&ht()},ne))};b.useEffect(()=>(Le(),()=>{Ke.current&&(clearInterval(Ke.current),Ke.current=null)}),[je]);const ot=(gt,ft)=>z(gt,Object.assign(Object.assign({},ft),{format:Ae})),lt=gt=>(0,Be.Tm)(gt,{title:void 0});return b.createElement(a,Object.assign({},be,{valueRender:lt,formatter:ot}))};var ie=b.memo(ue);a.Countdown=ie;var ve=a},15969:function(Qt,Gt,ee){"use strict";ee.d(Gt,{N:function(){return b}});const b=de=>({color:de.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${de.motionDurationSlow}`,"&:focus, &:hover":{color:de.colorLinkHover},"&:active":{color:de.colorLinkActive}})},1710:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Xi}});var b={},de="rc-table-internal-hook",Be=ee(52487),Ne=ee(6089),Ze=ee(34280),ke=ee(13697),le=ee(59301),st=ee(4676);function et(Ee){var Ce=le.createContext(void 0),Qe=function(Pt){var Et=Pt.value,$t=Pt.children,Yt=le.useRef(Et);Yt.current=Et;var Ut=le.useState(function(){return{getValue:function(){return Yt.current},listeners:new Set}}),Cn=(0,Be.Z)(Ut,1),vn=Cn[0];return(0,Ze.Z)(function(){(0,st.unstable_batchedUpdates)(function(){vn.listeners.forEach(function(pn){pn(Et)})})},[Et]),le.createElement(Ce.Provider,{value:vn},$t)};return{Context:Ce,Provider:Qe,defaultValue:Ee}}function Ve(Ee,Ce){var Qe=(0,Ne.Z)(typeof Ce=="function"?Ce:function(pn){if(Ce===void 0)return pn;if(!Array.isArray(Ce))return pn[Ce];var qn={};return Ce.forEach(function(na){qn[na]=pn[na]}),qn}),rt=le.useContext(Ee==null?void 0:Ee.Context),Pt=rt||{},Et=Pt.listeners,$t=Pt.getValue,Yt=le.useRef();Yt.current=Qe(rt?$t():Ee==null?void 0:Ee.defaultValue);var Ut=le.useState({}),Cn=(0,Be.Z)(Ut,2),vn=Cn[1];return(0,Ze.Z)(function(){if(!rt)return;function pn(qn){var na=Qe(qn);(0,ke.Z)(Yt.current,na,!0)||vn({})}return Et.add(pn),function(){Et.delete(pn)}},[rt]),Yt.current}var Ge=ee(72308),Je=ee(8654);function Ye(){var Ee=le.createContext(null);function Ce(){return le.useContext(Ee)}function Qe(Pt,Et){var $t=(0,Je.Yr)(Pt),Yt=function(Cn,vn){var pn=$t?{ref:vn}:{},qn=le.useRef(0),na=le.useRef(Cn),ca=Ce();return ca!==null?le.createElement(Pt,(0,Ge.Z)({},Cn,pn)):((!Et||Et(na.current,Cn))&&(qn.current+=1),na.current=Cn,le.createElement(Ee.Provider,{value:qn.current},le.createElement(Pt,(0,Ge.Z)({},Cn,pn))))};return $t?le.forwardRef(Yt):Yt}function rt(Pt,Et){var $t=(0,Je.Yr)(Pt),Yt=function(Cn,vn){var pn=$t?{ref:vn}:{};return Ce(),le.createElement(Pt,(0,Ge.Z)({},Cn,pn))};return $t?le.memo(le.forwardRef(Yt),Et):le.memo(Yt,Et)}return{makeImmutable:Qe,responseImmutable:rt,useImmutableMark:Ce}}var se=Ye(),E=se.makeImmutable,a=se.responseImmutable,x=se.useImmutableMark,y=Ye(),z=y.makeImmutable,ne=y.responseImmutable,re=y.useImmutableMark,ue=et(),ie=ue;function ve(Ee,Ce){var Qe=le.useRef(0);Qe.current+=1;var rt=le.useRef(Ee),Pt=[];Object.keys(Ee||{}).map(function($t){var Yt;(Ee==null?void 0:Ee[$t])!==((Yt=rt.current)===null||Yt===void 0?void 0:Yt[$t])&&Pt.push($t)}),rt.current=Ee;var Et=le.useRef([]);return Pt.length&&(Et.current=Pt),le.useDebugValue(Qe.current),le.useDebugValue(Et.current.join(", ")),Ce&&console.log("".concat(Ce,":"),Qe.current,Et.current),Qe.current}var be=null,je=le.memo(function(){var Ee=ve();return le.createElement("h1",null,"Render Times: ",Ee)});je.displayName="RenderBlock";var Ae=ee(62853),He=ee(77321),he=ee(49618),qe=ee(92310),Ke=ee.n(qe),ht=ee(80547),Le=ee(97938),ot=ee(48736),lt=le.createContext({renderWithProps:!1}),gt=lt,ft="RC_TABLE_KEY";function ln(Ee){return Ee==null?[]:Array.isArray(Ee)?Ee:[Ee]}function xt(Ee){var Ce=[],Qe={};return Ee.forEach(function(rt){for(var Pt=rt||{},Et=Pt.key,$t=Pt.dataIndex,Yt=Et||ln($t).join("-")||ft;Qe[Yt];)Yt="".concat(Yt,"_next");Qe[Yt]=!0,Ce.push(Yt)}),Ce}function an(Ee){return Ee!=null}function hn(Ee){return Ee&&(0,Ae.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!le.isValidElement(Ee)}function $e(Ee,Ce,Qe,rt,Pt,Et){var $t=le.useContext(gt),Yt=re(),Ut=(0,ht.Z)(function(){if(an(rt))return[rt];var Cn=Ce==null||Ce===""?[]:Array.isArray(Ce)?Ce:[Ce],vn=(0,Le.Z)(Ee,Cn),pn=vn,qn=void 0;if(Pt){var na=Pt(vn,Ee,Qe);hn(na)?(pn=na.children,qn=na.props,$t.renderWithProps=!0):pn=na}return[pn,qn]},[Yt,Ee,rt,Ce,Pt,Qe],function(Cn,vn){if(Et){var pn=(0,Be.Z)(Cn,2),qn=pn[1],na=(0,Be.Z)(vn,2),ca=na[1];return Et(ca,qn)}return $t.renderWithProps?!0:!(0,ke.Z)(Cn,vn,!0)});return Ut}function dt(Ee,Ce,Qe,rt){var Pt=Ee+Ce-1;return Ee<=rt&&Pt>=Qe}function rn(Ee,Ce){return Ve(ie,function(Qe){var rt=dt(Ee,Ce||1,Qe.hoverStartRow,Qe.hoverEndRow);return[rt,Qe.onHover]})}var Vn=function(Ce){var Qe=Ce.ellipsis,rt=Ce.rowType,Pt=Ce.children,Et,$t=Qe===!0?{showTitle:!0}:Qe;return $t&&($t.showTitle||rt==="header")&&(typeof Pt=="string"||typeof Pt=="number"?Et=Pt.toString():le.isValidElement(Pt)&&typeof Pt.props.children=="string"&&(Et=Pt.props.children)),Et};function Zt(Ee){var Ce,Qe,rt,Pt,Et,$t,Yt,Ut,Cn=Ee.component,vn=Ee.children,pn=Ee.ellipsis,qn=Ee.scope,na=Ee.prefixCls,ca=Ee.className,Aa=Ee.align,Ht=Ee.record,Xa=Ee.render,_a=Ee.dataIndex,rr=Ee.renderIndex,Tr=Ee.shouldCellUpdate,$r=Ee.index,Dr=Ee.rowType,Gr=Ee.colSpan,zr=Ee.rowSpan,tr=Ee.fixLeft,nr=Ee.fixRight,fr=Ee.firstFixLeft,Wa=Ee.lastFixLeft,or=Ee.firstFixRight,Kr=Ee.lastFixRight,Po=Ee.appendNode,lo=Ee.additionalProps,Mr=lo===void 0?{}:lo,vo=Ee.isSticky,Bo="".concat(na,"-cell"),Ra=Ve(ie,["supportSticky","allColumnsFixedLeft"]),wo=Ra.supportSticky,yi=Ra.allColumnsFixedLeft,Do=$e(Ht,_a,rr,vn,Xa,Tr),Xr=(0,Be.Z)(Do,2),bi=Xr[0],Qr=Xr[1],gi={},_o=typeof tr=="number"&&wo,_i=typeof nr=="number"&&wo;_o&&(gi.position="sticky",gi.left=tr),_i&&(gi.position="sticky",gi.right=nr);var to=(Ce=(Qe=(rt=Qr==null?void 0:Qr.colSpan)!==null&&rt!==void 0?rt:Mr.colSpan)!==null&&Qe!==void 0?Qe:Gr)!==null&&Ce!==void 0?Ce:1,_r=(Pt=(Et=($t=Qr==null?void 0:Qr.rowSpan)!==null&&$t!==void 0?$t:Mr.rowSpan)!==null&&Et!==void 0?Et:zr)!==null&&Pt!==void 0?Pt:1,Yr=rn($r,_r),Zr=(0,Be.Z)(Yr,2),ce=Zr[0],pe=Zr[1],Pe=function(xn){var Ct;Ht&&pe($r,$r+_r-1),Mr==null||(Ct=Mr.onMouseEnter)===null||Ct===void 0||Ct.call(Mr,xn)},Ot=function(xn){var Ct;Ht&&pe(-1,-1),Mr==null||(Ct=Mr.onMouseLeave)===null||Ct===void 0||Ct.call(Mr,xn)};if(to===0||_r===0)return null;var tn=(Yt=Mr.title)!==null&&Yt!==void 0?Yt:Vn({rowType:Dr,ellipsis:pn,children:bi}),wa=Ke()(Bo,ca,(Ut={},(0,he.Z)(Ut,"".concat(Bo,"-fix-left"),_o&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-left-first"),fr&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-left-last"),Wa&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-left-all"),Wa&&yi&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-right"),_i&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-right-first"),or&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-right-last"),Kr&&wo),(0,he.Z)(Ut,"".concat(Bo,"-ellipsis"),pn),(0,he.Z)(Ut,"".concat(Bo,"-with-append"),Po),(0,he.Z)(Ut,"".concat(Bo,"-fix-sticky"),(_o||_i)&&vo&&wo),(0,he.Z)(Ut,"".concat(Bo,"-row-hover"),!Qr&&ce),Ut),Mr.className,Qr==null?void 0:Qr.className),ma={};Aa&&(ma.textAlign=Aa);var zn=(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({},gi),Mr.style),ma),Qr==null?void 0:Qr.style),jt=bi;return(0,Ae.Z)(jt)==="object"&&!Array.isArray(jt)&&!le.isValidElement(jt)&&(jt=null),pn&&(Wa||or)&&(jt=le.createElement("span",{className:"".concat(Bo,"-content")},jt)),le.createElement(Cn,(0,Ge.Z)({},Qr,Mr,{className:wa,style:zn,title:tn,scope:qn,onMouseEnter:Pe,onMouseLeave:Ot,colSpan:to!==1?to:null,rowSpan:_r!==1?_r:null}),Po,jt)}var Fn=le.memo(Zt);function ze(Ee,Ce,Qe,rt,Pt,Et){var $t=Qe[Ee]||{},Yt=Qe[Ce]||{},Ut,Cn;$t.fixed==="left"?Ut=rt.left[Pt==="rtl"?Ce:Ee]:Yt.fixed==="right"&&(Cn=rt.right[Pt==="rtl"?Ee:Ce]);var vn=!1,pn=!1,qn=!1,na=!1,ca=Qe[Ce+1],Aa=Qe[Ee-1],Ht=!(Et!=null&&Et.children);if(Pt==="rtl"){if(Ut!==void 0){var Xa=Aa&&Aa.fixed==="left";na=!Xa&&Ht}else if(Cn!==void 0){var _a=ca&&ca.fixed==="right";qn=!_a&&Ht}}else if(Ut!==void 0){var rr=ca&&ca.fixed==="left";vn=!rr&&Ht}else if(Cn!==void 0){var Tr=Aa&&Aa.fixed==="right";pn=!Tr&&Ht}return{fixLeft:Ut,fixRight:Cn,lastFixLeft:vn,firstFixRight:pn,lastFixRight:qn,firstFixLeft:na,isSticky:rt.isSticky}}var ct=le.createContext({}),Lt=ct;function mt(Ee){var Ce=Ee.className,Qe=Ee.index,rt=Ee.children,Pt=Ee.colSpan,Et=Pt===void 0?1:Pt,$t=Ee.rowSpan,Yt=Ee.align,Ut=Ve(ie,["prefixCls","direction"]),Cn=Ut.prefixCls,vn=Ut.direction,pn=le.useContext(Lt),qn=pn.scrollColumnIndex,na=pn.stickyOffsets,ca=pn.flattenColumns,Aa=pn.columns,Ht=Qe+Et-1,Xa=Ht+1===qn?Et+1:Et,_a=ze(Qe,Qe+Xa-1,ca,na,vn,Aa==null?void 0:Aa[Qe]);return le.createElement(Fn,(0,Ge.Z)({className:Ce,index:Qe,component:"td",prefixCls:Cn,record:null,dataIndex:null,align:Yt,colSpan:Xa,rowSpan:$t,render:function(){return rt}},_a))}var Nt=ee(74416),ut=["children"];function at(Ee){var Ce=Ee.children,Qe=(0,Nt.Z)(Ee,ut);return le.createElement("tr",Qe,Ce)}function De(Ee){var Ce=Ee.children;return Ce}De.Row=at,De.Cell=mt;var fe=De;function Xe(Ee){var Ce=Ee.children,Qe=Ee.stickyOffsets,rt=Ee.flattenColumns,Pt=Ee.columns,Et=Ve(ie,"prefixCls"),$t=rt.length-1,Yt=rt[$t],Ut=le.useMemo(function(){return{stickyOffsets:Qe,flattenColumns:rt,scrollColumnIndex:Yt!=null&&Yt.scrollbar?$t:null,columns:Pt}},[Yt,rt,$t,Qe,Pt]);return le.createElement(Lt.Provider,{value:Ut},le.createElement("tfoot",{className:"".concat(Et,"-summary")},Ce))}var Rt=ne(Xe),Oe=fe,Ie=ee(70425),St=ee(29301),nt=ee(29194),Me=ee(24514),yt=ee(75152),Bn=ee(26112);function nn(Ee,Ce,Qe,rt,Pt,Et,$t){Ee.push({record:Ce,indent:Qe,index:$t});var Yt=Et(Ce),Ut=Pt==null?void 0:Pt.has(Yt);if(Ce&&Array.isArray(Ce[rt])&&Ut)for(var Cn=0;Cn<Ce[rt].length;Cn+=1)nn(Ee,Ce[rt][Cn],Qe+1,rt,Pt,Et,Cn)}function dn(Ee,Ce,Qe,rt){var Pt=le.useMemo(function(){if(Qe!=null&&Qe.size){for(var Et=[],$t=0;$t<(Ee==null?void 0:Ee.length);$t+=1){var Yt=Ee[$t];nn(Et,Yt,0,Ce,Qe,rt,$t)}return Et}return Ee==null?void 0:Ee.map(function(Ut,Cn){return{record:Ut,indent:0,index:Cn}})},[Ee,Ce,Qe,rt]);return Pt}function un(Ee){var Ce=Ee.prefixCls,Qe=Ee.children,rt=Ee.component,Pt=Ee.cellComponent,Et=Ee.className,$t=Ee.expanded,Yt=Ee.colSpan,Ut=Ee.isEmpty,Cn=Ve(ie,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),vn=Cn.scrollbarSize,pn=Cn.fixHeader,qn=Cn.fixColumn,na=Cn.componentWidth,ca=Cn.horizonScroll,Aa=Qe;return(Ut?ca&&na:qn)&&(Aa=le.createElement("div",{style:{width:na-(pn?vn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ce,"-expanded-row-fixed")},Aa)),le.createElement(rt,{className:Et,style:{display:$t?null:"none"}},le.createElement(Fn,{component:Pt,prefixCls:Ce,colSpan:Yt},Aa))}var yn=un;function Te(Ee,Ce,Qe,rt){var Pt=Ve(ie,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Et=Pt.flattenColumns,$t=Pt.expandableType,Yt=Pt.expandedKeys,Ut=Pt.childrenColumnName,Cn=Pt.onTriggerExpand,vn=Pt.rowExpandable,pn=Pt.onRow,qn=Pt.expandRowByClick,na=Pt.rowClassName,ca=$t==="nest",Aa=$t==="row"&&(!vn||vn(Ee)),Ht=Aa||ca,Xa=Yt&&Yt.has(Ce),_a=Ut&&Ee&&Ee[Ut],rr=(0,Ie.useEvent)(Cn),Tr=pn==null?void 0:pn(Ee,Qe),$r=Tr==null?void 0:Tr.onClick,Dr=function(nr){qn&&Ht&&Cn(Ee,nr);for(var fr=arguments.length,Wa=new Array(fr>1?fr-1:0),or=1;or<fr;or++)Wa[or-1]=arguments[or];$r==null||$r.apply(void 0,[nr].concat(Wa))},Gr;typeof na=="string"?Gr=na:typeof na=="function"&&(Gr=na(Ee,Qe,rt));var zr=xt(Et);return(0,He.Z)((0,He.Z)({},Pt),{},{columnsKey:zr,nestExpandable:ca,expanded:Xa,hasNestChildren:_a,record:Ee,onTriggerExpand:rr,rowSupportExpand:Aa,expandable:Ht,rowProps:(0,He.Z)((0,He.Z)({},Tr),{},{className:Ke()(Gr,Tr==null?void 0:Tr.className),onClick:Dr})})}function Ft(Ee,Ce,Qe,rt,Pt){var Et=Ee.record,$t=Ee.prefixCls,Yt=Ee.columnsKey,Ut=Ee.fixedInfoList,Cn=Ee.expandIconColumnIndex,vn=Ee.nestExpandable,pn=Ee.indentSize,qn=Ee.expandIcon,na=Ee.expanded,ca=Ee.hasNestChildren,Aa=Ee.onTriggerExpand,Ht=Yt[Qe],Xa=Ut[Qe],_a;Qe===(Cn||0)&&vn&&(_a=le.createElement(le.Fragment,null,le.createElement("span",{style:{paddingLeft:"".concat(pn*rt,"px")},className:"".concat($t,"-row-indent indent-level-").concat(rt)}),qn({prefixCls:$t,expanded:na,expandable:ca,record:Et,onExpand:Aa})));var rr;return Ce.onCell&&(rr=Ce.onCell(Et,Pt)),{key:Ht,fixedInfo:Xa,appendCellNode:_a,additionalCellProps:rr||{}}}function zt(Ee){var Ce=Ee.className,Qe=Ee.style,rt=Ee.record,Pt=Ee.index,Et=Ee.renderIndex,$t=Ee.rowKey,Yt=Ee.indent,Ut=Yt===void 0?0:Yt,Cn=Ee.rowComponent,vn=Ee.cellComponent,pn=Ee.scopeCellComponent,qn=Te(rt,$t,Pt,Ut),na=qn.prefixCls,ca=qn.flattenColumns,Aa=qn.expandedRowClassName,Ht=qn.expandedRowRender,Xa=qn.rowProps,_a=qn.expanded,rr=qn.rowSupportExpand,Tr=le.useState(!1),$r=(0,Be.Z)(Tr,2),Dr=$r[0],Gr=$r[1];le.useEffect(function(){_a&&Gr(!0)},[_a]);var zr=le.createElement(Cn,(0,Ge.Z)({},Xa,{"data-row-key":$t,className:Ke()(Ce,"".concat(na,"-row"),"".concat(na,"-row-level-").concat(Ut),Xa==null?void 0:Xa.className),style:(0,He.Z)((0,He.Z)({},Qe),Xa==null?void 0:Xa.style)}),ca.map(function(Wa,or){var Kr=Wa.render,Po=Wa.dataIndex,lo=Wa.className,Mr=Ft(qn,Wa,or,Ut,Pt),vo=Mr.key,Bo=Mr.fixedInfo,Ra=Mr.appendCellNode,wo=Mr.additionalCellProps;return le.createElement(Fn,(0,Ge.Z)({className:lo,ellipsis:Wa.ellipsis,align:Wa.align,scope:Wa.rowScope,component:Wa.rowScope?pn:vn,prefixCls:na,key:vo,record:rt,index:Pt,renderIndex:Et,dataIndex:Po,render:Kr,shouldCellUpdate:Wa.shouldCellUpdate},Bo,{appendNode:Ra,additionalProps:wo}))})),tr;if(rr&&(Dr||_a)){var nr=Ht(rt,Pt,Ut+1,_a),fr=Aa&&Aa(rt,Pt,Ut);tr=le.createElement(yn,{expanded:_a,className:Ke()("".concat(na,"-expanded-row"),"".concat(na,"-expanded-row-level-").concat(Ut+1),fr),prefixCls:na,component:Cn,cellComponent:vn,colSpan:ca.length,isEmpty:!1},nr)}return le.createElement(le.Fragment,null,zr,tr)}zt.displayName="BodyRow";var wt=ne(zt);function kt(Ee){var Ce=Ee.columnKey,Qe=Ee.onColumnResize,rt=le.useRef();return le.useEffect(function(){rt.current&&Qe(Ce,rt.current.offsetWidth)},[]),le.createElement(St.Z,{data:Ce},le.createElement("td",{ref:rt,style:{padding:0,border:0,height:0}},le.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function sn(Ee){var Ce=Ee.prefixCls,Qe=Ee.columnsKey,rt=Ee.onColumnResize;return le.createElement("tr",{"aria-hidden":"true",className:"".concat(Ce,"-measure-row"),style:{height:0,fontSize:0}},le.createElement(St.Z.Collection,{onBatchResize:function(Et){Et.forEach(function($t){var Yt=$t.data,Ut=$t.size;rt(Yt,Ut.offsetWidth)})}},Qe.map(function(Pt){return le.createElement(kt,{key:Pt,columnKey:Pt,onColumnResize:rt})})))}function cn(Ee){var Ce=Ee.data,Qe=Ee.measureColumnWidth,rt=Ve(ie,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Pt=rt.prefixCls,Et=rt.getComponent,$t=rt.onColumnResize,Yt=rt.flattenColumns,Ut=rt.getRowKey,Cn=rt.expandedKeys,vn=rt.childrenColumnName,pn=rt.emptyNode,qn=dn(Ce,vn,Cn,Ut),na=le.useRef({renderWithProps:!1}),ca=Et(["body","wrapper"],"tbody"),Aa=Et(["body","row"],"tr"),Ht=Et(["body","cell"],"td"),Xa=Et(["body","cell"],"th"),_a;Ce.length?_a=qn.map(function(Tr,$r){var Dr=Tr.record,Gr=Tr.indent,zr=Tr.index,tr=Ut(Dr,$r);return le.createElement(wt,{key:tr,rowKey:tr,record:Dr,index:$r,renderIndex:zr,rowComponent:Aa,cellComponent:Ht,scopeCellComponent:Xa,getRowKey:Ut,indent:Gr})}):_a=le.createElement(yn,{expanded:!0,className:"".concat(Pt,"-placeholder"),prefixCls:Pt,component:Aa,cellComponent:Ht,colSpan:Yt.length,isEmpty:!0},pn);var rr=xt(Yt);return le.createElement(gt.Provider,{value:na.current},le.createElement(ca,{className:"".concat(Pt,"-tbody")},Qe&&le.createElement(sn,{prefixCls:Pt,columnsKey:rr,onColumnResize:$t}),_a))}cn.displayName="Body";var Ln=ne(cn),Jn=["expandable"],va="RC_TABLE_INTERNAL_COL_DEFINE";function Da(Ee){var Ce=Ee.expandable,Qe=(0,Nt.Z)(Ee,Jn),rt;return"expandable"in Ee?rt=(0,He.Z)((0,He.Z)({},Qe),Ce):rt=Qe,rt.showExpandColumn===!1&&(rt.expandIconColumnIndex=-1),rt}var Na=["columnType"];function ar(Ee){for(var Ce=Ee.colWidths,Qe=Ee.columns,rt=Ee.columCount,Pt=[],Et=rt||Qe.length,$t=!1,Yt=Et-1;Yt>=0;Yt-=1){var Ut=Ce[Yt],Cn=Qe&&Qe[Yt],vn=Cn&&Cn[va];if(Ut||vn||$t){var pn=vn||{},qn=pn.columnType,na=(0,Nt.Z)(pn,Na);Pt.unshift(le.createElement("col",(0,Ge.Z)({key:Yt,style:{width:Ut}},na))),$t=!0}}return le.createElement("colgroup",null,Pt)}var $a=ar,fa=ee(80702),yr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function en(Ee,Ce){return(0,le.useMemo)(function(){for(var Qe=[],rt=0;rt<Ce;rt+=1){var Pt=Ee[rt];if(Pt!==void 0)Qe[rt]=Pt;else return null}return Qe},[Ee.join("_"),Ce])}var On=le.forwardRef(function(Ee,Ce){var Qe=Ee.className,rt=Ee.noData,Pt=Ee.columns,Et=Ee.flattenColumns,$t=Ee.colWidths,Yt=Ee.columCount,Ut=Ee.stickyOffsets,Cn=Ee.direction,vn=Ee.fixHeader,pn=Ee.stickyTopOffset,qn=Ee.stickyBottomOffset,na=Ee.stickyClassName,ca=Ee.onScroll,Aa=Ee.maxContentScroll,Ht=Ee.children,Xa=(0,Nt.Z)(Ee,yr),_a=Ve(ie,["prefixCls","scrollbarSize","isSticky"]),rr=_a.prefixCls,Tr=_a.scrollbarSize,$r=_a.isSticky,Dr=$r&&!vn?0:Tr,Gr=le.useRef(null),zr=le.useCallback(function(lo){(0,Je.mH)(Ce,lo),(0,Je.mH)(Gr,lo)},[]);le.useEffect(function(){var lo;function Mr(vo){var Bo=vo,Ra=Bo.currentTarget,wo=Bo.deltaX;wo&&(ca({currentTarget:Ra,scrollLeft:Ra.scrollLeft+wo}),vo.preventDefault())}return(lo=Gr.current)===null||lo===void 0||lo.addEventListener("wheel",Mr),function(){var vo;(vo=Gr.current)===null||vo===void 0||vo.removeEventListener("wheel",Mr)}},[]);var tr=le.useMemo(function(){return Et.every(function(lo){return lo.width})},[Et]),nr=Et[Et.length-1],fr={fixed:nr?nr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(rr,"-cell-scrollbar")}}},Wa=(0,le.useMemo)(function(){return Dr?[].concat((0,fa.Z)(Pt),[fr]):Pt},[Dr,Pt]),or=(0,le.useMemo)(function(){return Dr?[].concat((0,fa.Z)(Et),[fr]):Et},[Dr,Et]),Kr=(0,le.useMemo)(function(){var lo=Ut.right,Mr=Ut.left;return(0,He.Z)((0,He.Z)({},Ut),{},{left:Cn==="rtl"?[].concat((0,fa.Z)(Mr.map(function(vo){return vo+Dr})),[0]):Mr,right:Cn==="rtl"?lo:[].concat((0,fa.Z)(lo.map(function(vo){return vo+Dr})),[0]),isSticky:$r})},[Dr,Ut,$r]),Po=en($t,Yt);return le.createElement("div",{style:(0,He.Z)({overflow:"hidden"},$r?{top:pn,bottom:qn}:{}),ref:zr,className:Ke()(Qe,(0,he.Z)({},na,!!na))},le.createElement("table",{style:{tableLayout:"fixed",visibility:rt||Po?null:"hidden"}},(!rt||!Aa||tr)&&le.createElement($a,{colWidths:Po?[].concat((0,fa.Z)(Po),[Dr]):[],columCount:Yt+1,columns:or}),Ht((0,He.Z)((0,He.Z)({},Xa),{},{stickyOffsets:Kr,columns:Wa,flattenColumns:or}))))});On.displayName="FixedHolder";var ia=le.memo(On);function xa(Ee){var Ce=Ee.cells,Qe=Ee.stickyOffsets,rt=Ee.flattenColumns,Pt=Ee.rowComponent,Et=Ee.cellComponent,$t=Ee.tdCellComponent,Yt=Ee.onHeaderRow,Ut=Ee.index,Cn=Ve(ie,["prefixCls","direction"]),vn=Cn.prefixCls,pn=Cn.direction,qn;Yt&&(qn=Yt(Ce.map(function(ca){return ca.column}),Ut));var na=xt(Ce.map(function(ca){return ca.column}));return le.createElement(Pt,qn,Ce.map(function(ca,Aa){var Ht=ca.column,Xa=ze(ca.colStart,ca.colEnd,rt,Qe,pn,Ht),_a;return Ht&&Ht.onHeaderCell&&(_a=ca.column.onHeaderCell(Ht)),le.createElement(Fn,(0,Ge.Z)({},ca,{scope:Ht.title?ca.colSpan>1?"colgroup":"col":null,ellipsis:Ht.ellipsis,align:Ht.align,component:Ht.title?Et:$t,prefixCls:vn,key:na[Aa]},Xa,{additionalProps:_a,rowType:"header"}))}))}xa.displayName="HeaderRow";var We=xa;function It(Ee){var Ce=[];function Qe($t,Yt){var Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ce[Ut]=Ce[Ut]||[];var Cn=Yt,vn=$t.filter(Boolean).map(function(pn){var qn={key:pn.key,className:pn.className||"",children:pn.title,column:pn,colStart:Cn},na=1,ca=pn.children;return ca&&ca.length>0&&(na=Qe(ca,Cn,Ut+1).reduce(function(Aa,Ht){return Aa+Ht},0),qn.hasSubColumns=!0),"colSpan"in pn&&(na=pn.colSpan),"rowSpan"in pn&&(qn.rowSpan=pn.rowSpan),qn.colSpan=na,qn.colEnd=qn.colStart+na-1,Ce[Ut].push(qn),Cn+=na,na});return vn}Qe(Ee,0);for(var rt=Ce.length,Pt=function(Yt){Ce[Yt].forEach(function(Ut){!("rowSpan"in Ut)&&!Ut.hasSubColumns&&(Ut.rowSpan=rt-Yt)})},Et=0;Et<rt;Et+=1)Pt(Et);return Ce}function _t(Ee){var Ce=Ee.stickyOffsets,Qe=Ee.columns,rt=Ee.flattenColumns,Pt=Ee.onHeaderRow,Et=Ve(ie,["prefixCls","getComponent"]),$t=Et.prefixCls,Yt=Et.getComponent,Ut=le.useMemo(function(){return It(Qe)},[Qe]),Cn=Yt(["header","wrapper"],"thead"),vn=Yt(["header","row"],"tr"),pn=Yt(["header","cell"],"th"),qn=Yt(["header","cell"],"td");return le.createElement(Cn,{className:"".concat($t,"-thead")},Ut.map(function(na,ca){var Aa=le.createElement(We,{key:ca,flattenColumns:rt,cells:na,stickyOffsets:Ce,rowComponent:vn,cellComponent:pn,tdCellComponent:qn,onHeaderRow:Pt,index:ca});return Aa}))}var Vt=ne(_t),Wt=ee(11592);function Rn(Ee){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ce=="number"?Ce:Ce.endsWith("%")?Ee*parseFloat(Ce)/100:null}function wn(Ee,Ce){return le.useMemo(function(){if(Ce&&Ce>0){var Qe=0,rt=0;Ee.forEach(function(Cn){var vn=Rn(Ce,Cn.width);vn?Qe+=vn:rt+=1});var Pt=Ce-Qe,Et=rt,$t=Pt/rt,Yt=0,Ut=Ee.map(function(Cn){var vn=(0,He.Z)({},Cn),pn=Rn(Ce,vn.width);if(pn)vn.width=pn;else{var qn=Math.floor($t);vn.width=Et===1?Pt:qn,Pt-=qn,Et-=1}return Yt+=vn.width,vn});return[Ut,Yt]}return[Ee,Ce]},[Ee,Ce])}var vt=["children"],Bt=["fixed"];function pt(Ee){return(0,Wt.Z)(Ee).filter(function(Ce){return le.isValidElement(Ce)}).map(function(Ce){var Qe=Ce.key,rt=Ce.props,Pt=rt.children,Et=(0,Nt.Z)(rt,vt),$t=(0,He.Z)({key:Qe},Et);return Pt&&($t.children=pt(Pt)),$t})}function Sn(Ee){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ee.filter(function(Qe){return Qe&&(0,Ae.Z)(Qe)==="object"}).reduce(function(Qe,rt,Pt){var Et=rt.fixed,$t=Et===!0?"left":Et,Yt="".concat(Ce,"-").concat(Pt),Ut=rt.children;return Ut&&Ut.length>0?[].concat((0,fa.Z)(Qe),(0,fa.Z)(Sn(Ut,Yt).map(function(Cn){return(0,He.Z)({fixed:$t},Cn)}))):[].concat((0,fa.Z)(Qe),[(0,He.Z)((0,He.Z)({key:Yt},rt),{},{fixed:$t})])},[])}function Wn(Ee){for(var Ce=!0,Qe=0;Qe<Ee.length;Qe+=1){var rt=Ee[Qe];if(Ce&&rt.fixed!=="left")Ce=!1;else if(!Ce&&rt.fixed==="left"){warning(!1,"Index ".concat(Qe-1," of `columns` missing `fixed='left'` prop."));break}}for(var Pt=!0,Et=Ee.length-1;Et>=0;Et-=1){var $t=Ee[Et];if(Pt&&$t.fixed!=="right")Pt=!1;else if(!Pt&&$t.fixed==="right"){warning(!1,"Index ".concat(Et+1," of `columns` missing `fixed='right'` prop."));break}}}function An(Ee){return Ee.map(function(Ce){var Qe=Ce.fixed,rt=(0,Nt.Z)(Ce,Bt),Pt=Qe;return Qe==="left"?Pt="right":Qe==="right"&&(Pt="left"),(0,He.Z)({fixed:Pt},rt)})}function ka(Ee,Ce){var Qe=Ee.prefixCls,rt=Ee.columns,Pt=Ee.children,Et=Ee.expandable,$t=Ee.expandedKeys,Yt=Ee.columnTitle,Ut=Ee.getRowKey,Cn=Ee.onTriggerExpand,vn=Ee.expandIcon,pn=Ee.rowExpandable,qn=Ee.expandIconColumnIndex,na=Ee.direction,ca=Ee.expandRowByClick,Aa=Ee.columnWidth,Ht=Ee.fixed,Xa=Ee.scrollWidth,_a=le.useMemo(function(){return rt||pt(Pt)},[rt,Pt]),rr=le.useMemo(function(){if(Et){var nr,fr=_a.slice();if(!fr.includes(b)){var Wa=qn||0;Wa>=0&&fr.splice(Wa,0,b)}var or=fr.indexOf(b);fr=fr.filter(function(Mr,vo){return Mr!==b||vo===or});var Kr=_a[or],Po;(Ht==="left"||Ht)&&!qn?Po="left":(Ht==="right"||Ht)&&qn===_a.length?Po="right":Po=Kr?Kr.fixed:null;var lo=(nr={},(0,he.Z)(nr,va,{className:"".concat(Qe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(nr,"title",Yt),(0,he.Z)(nr,"fixed",Po),(0,he.Z)(nr,"className","".concat(Qe,"-row-expand-icon-cell")),(0,he.Z)(nr,"width",Aa),(0,he.Z)(nr,"render",function(vo,Bo,Ra){var wo=Ut(Bo,Ra),yi=$t.has(wo),Do=pn?pn(Bo):!0,Xr=vn({prefixCls:Qe,expanded:yi,expandable:Do,record:Bo,onExpand:Cn});return ca?le.createElement("span",{onClick:function(Qr){return Qr.stopPropagation()}},Xr):Xr}),nr);return fr.map(function(Mr){return Mr===b?lo:Mr})}return _a.filter(function(Mr){return Mr!==b})},[Et,_a,Ut,$t,vn,na]),Tr=le.useMemo(function(){var nr=rr;return Ce&&(nr=Ce(nr)),nr.length||(nr=[{render:function(){return null}}]),nr},[Ce,rr,na]),$r=le.useMemo(function(){return na==="rtl"?An(Sn(Tr)):Sn(Tr)},[Tr,na,Xa]),Dr=wn($r,Xa),Gr=(0,Be.Z)(Dr,2),zr=Gr[0],tr=Gr[1];return[Tr,zr,tr]}var pa=ka;function _n(Ee){var Ce,Qe=Ee.prefixCls,rt=Ee.record,Pt=Ee.onExpand,Et=Ee.expanded,$t=Ee.expandable,Yt="".concat(Qe,"-row-expand-icon");if(!$t)return le.createElement("span",{className:Ke()(Yt,"".concat(Qe,"-row-spaced"))});var Ut=function(vn){Pt(rt,vn),vn.stopPropagation()};return le.createElement("span",{className:Ke()(Yt,(Ce={},(0,he.Z)(Ce,"".concat(Qe,"-row-expanded"),Et),(0,he.Z)(Ce,"".concat(Qe,"-row-collapsed"),!Et),Ce)),onClick:Ut})}function Ea(Ee,Ce,Qe){var rt=[];function Pt(Et){(Et||[]).forEach(function($t,Yt){rt.push(Ce($t,Yt)),Pt($t[Qe])})}return Pt(Ee),rt}function Pa(Ee,Ce,Qe){var rt=Da(Ee),Pt=rt.expandIcon,Et=rt.expandedRowKeys,$t=rt.defaultExpandedRowKeys,Yt=rt.defaultExpandAllRows,Ut=rt.expandedRowRender,Cn=rt.onExpand,vn=rt.onExpandedRowsChange,pn=rt.childrenColumnName,qn=Pt||_n,na=pn||"children",ca=le.useMemo(function(){return Ut?"row":Ee.expandable&&Ee.internalHooks===de&&Ee.expandable.__PARENT_RENDER_ICON__||Ce.some(function($r){return $r&&(0,Ae.Z)($r)==="object"&&$r[na]})?"nest":!1},[!!Ut,Ce]),Aa=le.useState(function(){return $t||(Yt?Ea(Ce,Qe,na):[])}),Ht=(0,Be.Z)(Aa,2),Xa=Ht[0],_a=Ht[1],rr=le.useMemo(function(){return new Set(Et||Xa||[])},[Et,Xa]),Tr=le.useCallback(function($r){var Dr=Qe($r,Ce.indexOf($r)),Gr,zr=rr.has(Dr);zr?(rr.delete(Dr),Gr=(0,fa.Z)(rr)):Gr=[].concat((0,fa.Z)(rr),[Dr]),_a(Gr),Cn&&Cn(!zr,$r),vn&&vn(Gr)},[Qe,rr,Ce,Cn,vn]);return[rt,ca,rr,qn,na,Tr]}function Dn(Ee,Ce,Qe,rt){var Pt=Ee.map(function(Et,$t){return ze($t,$t,Ee,Ce,Qe,rt==null?void 0:rt[$t])});return(0,ht.Z)(function(){return Pt},[Pt],function(Et,$t){return!(0,ke.Z)(Et,$t)})}function lr(Ee){var Ce=(0,le.useRef)(Ee),Qe=(0,le.useState)({}),rt=(0,Be.Z)(Qe,2),Pt=rt[1],Et=(0,le.useRef)(null),$t=(0,le.useRef)([]);function Yt(Ut){$t.current.push(Ut);var Cn=Promise.resolve();Et.current=Cn,Cn.then(function(){if(Et.current===Cn){var vn=$t.current,pn=Ce.current;$t.current=[],vn.forEach(function(qn){Ce.current=qn(Ce.current)}),Et.current=null,pn!==Ce.current&&Pt({})}})}return(0,le.useEffect)(function(){return function(){Et.current=null}},[]),[Ce.current,Yt]}function Nr(Ee){var Ce=(0,le.useRef)(Ee||null),Qe=(0,le.useRef)();function rt(){window.clearTimeout(Qe.current)}function Pt($t){Ce.current=$t,rt(),Qe.current=window.setTimeout(function(){Ce.current=null,Qe.current=void 0},100)}function Et(){return Ce.current}return(0,le.useEffect)(function(){return rt},[]),[Pt,Et]}function Ur(){var Ee=le.useState(-1),Ce=(0,Be.Z)(Ee,2),Qe=Ce[0],rt=Ce[1],Pt=le.useState(-1),Et=(0,Be.Z)(Pt,2),$t=Et[0],Yt=Et[1],Ut=le.useCallback(function(Cn,vn){rt(Cn),Yt(vn)},[]);return[Qe,$t,Ut]}var Sr=ee(47273),Ue=(0,Sr.Z)()?window:null;function bn(Ee,Ce){var Qe=(0,Ae.Z)(Ee)==="object"?Ee:{},rt=Qe.offsetHeader,Pt=rt===void 0?0:rt,Et=Qe.offsetSummary,$t=Et===void 0?0:Et,Yt=Qe.offsetScroll,Ut=Yt===void 0?0:Yt,Cn=Qe.getContainer,vn=Cn===void 0?function(){return Ue}:Cn,pn=vn()||Ue;return le.useMemo(function(){var qn=!!Ee;return{isSticky:qn,stickyClassName:qn?"".concat(Ce,"-sticky-holder"):"",offsetHeader:Pt,offsetSummary:$t,offsetScroll:Ut,container:pn}},[Ut,Pt,$t,Ce,pn])}function Xt(Ee,Ce,Qe){var rt=(0,le.useMemo)(function(){for(var Pt=[],Et=[],$t=0,Yt=0,Ut=0;Ut<Ce;Ut+=1)if(Qe==="rtl"){Et[Ut]=Yt,Yt+=Ee[Ut]||0;var Cn=Ce-Ut-1;Pt[Cn]=$t,$t+=Ee[Cn]||0}else{Pt[Ut]=$t,$t+=Ee[Ut]||0;var vn=Ce-Ut-1;Et[vn]=Yt,Yt+=Ee[vn]||0}return{left:Pt,right:Et}},[Ee,Ce,Qe]);return rt}var Nn=Xt;function Kn(Ee){var Ce=Ee.className,Qe=Ee.children;return le.createElement("div",{className:Ce},Qe)}var la=Kn,Qn=ee(8224),Un=ee(55468),ur=function(Ce,Qe){var rt,Pt,Et=Ce.scrollBodyRef,$t=Ce.onScroll,Yt=Ce.offsetScroll,Ut=Ce.container,Cn=Ve(ie,"prefixCls"),vn=((rt=Et.current)===null||rt===void 0?void 0:rt.scrollWidth)||0,pn=((Pt=Et.current)===null||Pt===void 0?void 0:Pt.clientWidth)||0,qn=vn&&pn*(pn/vn),na=le.useRef(),ca=lr({scrollLeft:0,isHiddenScrollBar:!1}),Aa=(0,Be.Z)(ca,2),Ht=Aa[0],Xa=Aa[1],_a=le.useRef({delta:0,x:0}),rr=le.useState(!1),Tr=(0,Be.Z)(rr,2),$r=Tr[0],Dr=Tr[1],Gr=function(){Dr(!1)},zr=function(or){or.persist(),_a.current.delta=or.pageX-Ht.scrollLeft,_a.current.x=0,Dr(!0),or.preventDefault()},tr=function(or){var Kr,Po=or||((Kr=window)===null||Kr===void 0?void 0:Kr.event),lo=Po.buttons;if(!$r||lo===0){$r&&Dr(!1);return}var Mr=_a.current.x+or.pageX-_a.current.x-_a.current.delta;Mr<=0&&(Mr=0),Mr+qn>=pn&&(Mr=pn-qn),$t({scrollLeft:Mr/pn*(vn+2)}),_a.current.x=or.pageX},nr=function(){if(Et.current){var or=(0,Un.os)(Et.current).top,Kr=or+Et.current.offsetHeight,Po=Ut===window?document.documentElement.scrollTop+window.innerHeight:(0,Un.os)(Ut).top+Ut.clientHeight;Kr-(0,yt.Z)()<=Po||or>=Po-Yt?Xa(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!0})}):Xa(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!1})})}},fr=function(or){Xa(function(Kr){return(0,He.Z)((0,He.Z)({},Kr),{},{scrollLeft:or/vn*pn||0})})};return le.useImperativeHandle(Qe,function(){return{setScrollLeft:fr}}),le.useEffect(function(){var Wa=(0,Qn.Z)(document.body,"mouseup",Gr,!1),or=(0,Qn.Z)(document.body,"mousemove",tr,!1);return nr(),function(){Wa.remove(),or.remove()}},[qn,$r]),le.useEffect(function(){var Wa=(0,Qn.Z)(Ut,"scroll",nr,!1),or=(0,Qn.Z)(window,"resize",nr,!1);return function(){Wa.remove(),or.remove()}},[Ut]),le.useEffect(function(){Ht.isHiddenScrollBar||Xa(function(Wa){var or=Et.current;return or?(0,He.Z)((0,He.Z)({},Wa),{},{scrollLeft:or.scrollLeft/or.scrollWidth*or.clientWidth}):Wa})},[Ht.isHiddenScrollBar]),vn<=pn||!qn||Ht.isHiddenScrollBar?null:le.createElement("div",{style:{height:(0,yt.Z)(),width:pn,bottom:Yt},className:"".concat(Cn,"-sticky-scroll")},le.createElement("div",{onMouseDown:zr,ref:na,className:Ke()("".concat(Cn,"-sticky-scroll-bar"),(0,he.Z)({},"".concat(Cn,"-sticky-scroll-bar-active"),$r)),style:{width:"".concat(qn,"px"),transform:"translate3d(".concat(Ht.scrollLeft,"px, 0, 0)")}}))},da=le.forwardRef(ur);function En(Ee){return null}var dr=En;function xr(Ee){return null}var Wr=xr,Ir="rc-table",ha=[],za={};function Ua(){return"No Data"}function La(Ee){var Ce,Qe=(0,He.Z)({rowKey:"key",prefixCls:Ir,emptyText:Ua},Ee),rt=Qe.prefixCls,Pt=Qe.className,Et=Qe.rowClassName,$t=Qe.style,Yt=Qe.data,Ut=Qe.rowKey,Cn=Qe.scroll,vn=Qe.tableLayout,pn=Qe.direction,qn=Qe.title,na=Qe.footer,ca=Qe.summary,Aa=Qe.caption,Ht=Qe.id,Xa=Qe.showHeader,_a=Qe.components,rr=Qe.emptyText,Tr=Qe.onRow,$r=Qe.onHeaderRow,Dr=Qe.internalHooks,Gr=Qe.transformColumns,zr=Qe.internalRefs,tr=Qe.tailor,nr=Qe.sticky,fr=Yt||ha,Wa=!!fr.length,or=Dr===de,Kr=le.useCallback(function(ei,Hi){return(0,Le.Z)(_a,ei)||Hi},[_a]),Po=le.useMemo(function(){return typeof Ut=="function"?Ut:function(ei){var Hi=ei&&ei[Ut];return Hi}},[Ut]),lo=Kr(["body"]),Mr=Ur(),vo=(0,Be.Z)(Mr,3),Bo=vo[0],Ra=vo[1],wo=vo[2],yi=Pa(Qe,fr,Po),Do=(0,Be.Z)(yi,6),Xr=Do[0],bi=Do[1],Qr=Do[2],gi=Do[3],_o=Do[4],_i=Do[5],to=Cn==null?void 0:Cn.x,_r=le.useState(0),Yr=(0,Be.Z)(_r,2),Zr=Yr[0],ce=Yr[1],pe=pa((0,He.Z)((0,He.Z)((0,He.Z)({},Qe),Xr),{},{expandable:!!Xr.expandedRowRender,columnTitle:Xr.columnTitle,expandedKeys:Qr,getRowKey:Po,onTriggerExpand:_i,expandIcon:gi,expandIconColumnIndex:Xr.expandIconColumnIndex,direction:pn,scrollWidth:or&&tr&&typeof to=="number"?to:null}),or?Gr:null),Pe=(0,Be.Z)(pe,3),Ot=Pe[0],tn=Pe[1],wa=Pe[2],ma=wa!=null?wa:to,zn=le.useMemo(function(){return{columns:Ot,flattenColumns:tn}},[Ot,tn]),jt=le.useRef(),Yn=le.useRef(),xn=le.useRef(),Ct=le.useRef(),gn=le.useRef(),In=le.useState(!1),ra=(0,Be.Z)(In,2),Hn=ra[0],ba=ra[1],ta=le.useState(!1),oa=(0,Be.Z)(ta,2),Ka=oa[0],Pn=oa[1],ya=lr(new Map),ja=(0,Be.Z)(ya,2),qr=ja[0],cr=ja[1],li=xt(tn),Za=li.map(function(ei){return qr.get(ei)}),Co=le.useMemo(function(){return Za},[Za.join("_")]),Cr=Nn(Co,tn.length,pn),ao=Cn&&an(Cn.y),Eo=Cn&&an(ma)||!!Xr.fixed,hi=Eo&&tn.some(function(ei){var Hi=ei.fixed;return Hi}),mi=le.useRef(),pr=bn(nr,rt),po=pr.isSticky,Ki=pr.offsetHeader,Li=pr.offsetSummary,ea=pr.offsetScroll,xo=pr.stickyClassName,Ri=pr.container,Zo=le.useMemo(function(){return ca==null?void 0:ca(fr)},[ca,fr]),Ci=(ao||po)&&le.isValidElement(Zo)&&Zo.type===fe&&Zo.props.fixed,Mi,oi,il;ao&&(oi={overflowY:"scroll",maxHeight:Cn.y}),Eo&&(Mi={overflowX:"auto"},ao||(oi={overflowY:"hidden"}),il={width:ma===!0?"auto":ma,minWidth:"100%"});var ll=le.useCallback(function(ei,Hi){(0,nt.Z)(jt.current)&&cr(function(Dl){if(Dl.get(ei)!==Hi){var Sl=new Map(Dl);return Sl.set(ei,Hi),Sl}return Dl})},[]),jl=Nr(null),Ii=(0,Be.Z)(jl,2),cl=Ii[0],Bl=Ii[1];function Gl(ei,Hi){Hi&&(typeof Hi=="function"?Hi(ei):Hi.scrollLeft!==ei&&(Hi.scrollLeft=ei,Hi.scrollLeft!==ei&&setTimeout(function(){Hi.scrollLeft=ei},0)))}var No=(0,Ne.Z)(function(ei){var Hi=ei.currentTarget,Dl=ei.scrollLeft,Sl=pn==="rtl",Vl=typeof Dl=="number"?Dl:Hi.scrollLeft,kl=Hi||za;if(!Bl()||Bl()===kl){var Ku;cl(kl),Gl(Vl,Yn.current),Gl(Vl,xn.current),Gl(Vl,gn.current),Gl(Vl,(Ku=mi.current)===null||Ku===void 0?void 0:Ku.setScrollLeft)}var Vu=Hi||Yn.current;if(Vu){var $u=Vu.scrollWidth,hu=Vu.clientWidth;if($u===hu){ba(!1),Pn(!1);return}Sl?(ba(-Vl<$u-hu),Pn(-Vl>0)):(ba(Vl>0),Pn(Vl<$u-hu))}}),Si=function(){Eo&&xn.current?No({currentTarget:xn.current}):(ba(!1),Pn(!1))},$i=function(Hi){var Dl=Hi.width;Dl!==Zr&&(Si(),ce(jt.current?jt.current.offsetWidth:Dl))},Zi=le.useRef(!1);le.useEffect(function(){Zi.current&&Si()},[Eo,Yt,Ot.length]),le.useEffect(function(){Zi.current=!0},[]);var hl=le.useState(0),ul=(0,Be.Z)(hl,2),sl=ul[0],wl=ul[1],Rl=le.useState(!0),ml=(0,Be.Z)(Rl,2),qi=ml[0],Wl=ml[1];le.useEffect(function(){(!tr||!or)&&(xn.current instanceof Element?wl((0,yt.o)(xn.current).width):wl((0,yt.o)(Ct.current).width)),Wl((0,Me.G)("position","sticky"))},[]),le.useEffect(function(){or&&zr&&(zr.body.current=xn.current)});var Jo=le.useCallback(function(ei){return le.createElement(le.Fragment,null,le.createElement(Vt,ei),Ci==="top"&&le.createElement(Rt,ei,Zo))},[Ci,Zo]),vu=le.useCallback(function(ei){return le.createElement(Rt,ei,Zo)},[Zo]),pu=Kr(["table"],"table"),Kl=le.useMemo(function(){return vn||(hi?ma==="max-content"?"auto":"fixed":ao||po||tn.some(function(ei){var Hi=ei.ellipsis;return Hi})?"fixed":"auto")},[ao,hi,tn,vn,po]),gu,ua={colWidths:Co,columCount:tn.length,stickyOffsets:Cr,onHeaderRow:$r,fixHeader:ao,scroll:Cn},er=le.useMemo(function(){return Wa?null:typeof rr=="function"?rr():rr},[Wa,rr]),Ho=le.createElement(Ln,{data:fr,measureColumnWidth:ao||Eo||po}),uo=le.createElement($a,{colWidths:tn.map(function(ei){var Hi=ei.width;return Hi}),columns:tn}),Fo=Aa!=null?le.createElement("caption",{className:"".concat(rt,"-caption")},Aa):void 0,Xo=(0,Bn.Z)(Qe,{data:!0}),Vi=(0,Bn.Z)(Qe,{aria:!0});if(ao||po){var Di;typeof lo=="function"?(Di=lo(fr,{scrollbarSize:sl,ref:xn,onScroll:No}),ua.colWidths=tn.map(function(ei,Hi){var Dl=ei.width,Sl=Hi===tn.length-1?Dl-sl:Dl;return typeof Sl=="number"&&!Number.isNaN(Sl)?Sl:0})):Di=le.createElement("div",{style:(0,He.Z)((0,He.Z)({},Mi),oi),onScroll:No,ref:xn,className:Ke()("".concat(rt,"-body"))},le.createElement(pu,(0,Ge.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},Vi),Fo,uo,Ho,!Ci&&Zo&&le.createElement(Rt,{stickyOffsets:Cr,flattenColumns:tn,columns:Ot},Zo)));var fl=(0,He.Z)((0,He.Z)((0,He.Z)({noData:!fr.length,maxContentScroll:Eo&&ma==="max-content"},ua),zn),{},{direction:pn,stickyClassName:xo,onScroll:No});gu=le.createElement(le.Fragment,null,Xa!==!1&&le.createElement(ia,(0,Ge.Z)({},fl,{stickyTopOffset:Ki,className:"".concat(rt,"-header"),ref:Yn}),Jo),Di,Ci&&Ci!=="top"&&le.createElement(ia,(0,Ge.Z)({},fl,{stickyBottomOffset:Li,className:"".concat(rt,"-summary"),ref:gn}),vu),po&&le.createElement(da,{ref:mi,offsetScroll:ea,scrollBodyRef:xn,onScroll:No,container:Ri}))}else gu=le.createElement("div",{style:(0,He.Z)((0,He.Z)({},Mi),oi),className:Ke()("".concat(rt,"-content")),onScroll:No,ref:xn},le.createElement(pu,(0,Ge.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},Vi),Fo,uo,Xa!==!1&&le.createElement(Vt,(0,Ge.Z)({},ua,zn)),Ho,Zo&&le.createElement(Rt,{stickyOffsets:Cr,flattenColumns:tn,columns:Ot},Zo)));var el=le.createElement("div",(0,Ge.Z)({className:Ke()(rt,Pt,(Ce={},(0,he.Z)(Ce,"".concat(rt,"-rtl"),pn==="rtl"),(0,he.Z)(Ce,"".concat(rt,"-ping-left"),Hn),(0,he.Z)(Ce,"".concat(rt,"-ping-right"),Ka),(0,he.Z)(Ce,"".concat(rt,"-layout-fixed"),vn==="fixed"),(0,he.Z)(Ce,"".concat(rt,"-fixed-header"),ao),(0,he.Z)(Ce,"".concat(rt,"-fixed-column"),hi),(0,he.Z)(Ce,"".concat(rt,"-scroll-horizontal"),Eo),(0,he.Z)(Ce,"".concat(rt,"-has-fix-left"),tn[0]&&tn[0].fixed),(0,he.Z)(Ce,"".concat(rt,"-has-fix-right"),tn[tn.length-1]&&tn[tn.length-1].fixed==="right"),Ce)),style:$t,id:Ht,ref:jt},Xo),qn&&le.createElement(la,{className:"".concat(rt,"-title")},qn(fr)),le.createElement("div",{ref:Ct,className:"".concat(rt,"-container")},gu),na&&le.createElement(la,{className:"".concat(rt,"-footer")},na(fr)));Eo&&(el=le.createElement(St.Z,{onResize:$i},el));var Ml=Dn(tn,Cr,pn,Ot),ou=le.useMemo(function(){return{scrollX:ma,prefixCls:rt,getComponent:Kr,scrollbarSize:sl,direction:pn,fixedInfoList:Ml,isSticky:po,supportSticky:qi,componentWidth:Zr,fixHeader:ao,fixColumn:hi,horizonScroll:Eo,tableLayout:Kl,rowClassName:Et,expandedRowClassName:Xr.expandedRowClassName,expandIcon:gi,expandableType:bi,expandRowByClick:Xr.expandRowByClick,expandedRowRender:Xr.expandedRowRender,onTriggerExpand:_i,expandIconColumnIndex:Xr.expandIconColumnIndex,indentSize:Xr.indentSize,allColumnsFixedLeft:tn.every(function(ei){return ei.fixed==="left"}),emptyNode:er,columns:Ot,flattenColumns:tn,onColumnResize:ll,hoverStartRow:Bo,hoverEndRow:Ra,onHover:wo,rowExpandable:Xr.rowExpandable,onRow:Tr,getRowKey:Po,expandedKeys:Qr,childrenColumnName:_o}},[ma,rt,Kr,sl,pn,Ml,po,qi,Zr,ao,hi,Eo,Kl,Et,Xr.expandedRowClassName,gi,bi,Xr.expandRowByClick,Xr.expandedRowRender,_i,Xr.expandIconColumnIndex,Xr.indentSize,er,Ot,tn,ll,Bo,Ra,wo,Xr.rowExpandable,Tr,Po,Qr,_o]);return le.createElement(ie.Provider,{value:ou},el)}function Or(Ee){return z(La,Ee)}var no=Or();no.EXPAND_COLUMN=b,no.INTERNAL_HOOKS=de,no.Column=dr,no.ColumnGroup=Wr,no.Summary=Oe;var Fr=no,Er=ee(45680),Pr=et(null),si=et(null);function ai(Ee,Ce,Qe){var rt=Ce||1;return Qe[Ee+rt]-(Qe[Ee]||0)}function xi(Ee){var Ce=Ee.rowInfo,Qe=Ee.column,rt=Ee.colIndex,Pt=Ee.indent,Et=Ee.index,$t=Ee.renderIndex,Yt=Ee.record,Ut=Ee.style,Cn=Ee.className,vn=Ee.inverse,pn=Ee.getHeight,qn=Qe.render,na=Qe.dataIndex,ca=Qe.className,Aa=Qe.width,Ht=Ve(si,["columnsOffset"]),Xa=Ht.columnsOffset,_a=Ft(Ce,Qe,rt,Pt,Et),rr=_a.key,Tr=_a.fixedInfo,$r=_a.appendCellNode,Dr=_a.additionalCellProps,Gr=Dr.style,zr=Dr.colSpan,tr=zr===void 0?1:zr,nr=Dr.rowSpan,fr=nr===void 0?1:nr,Wa=rt-1,or=ai(Wa,tr,Xa),Kr=tr>1?Aa-or:0,Po=(0,He.Z)((0,He.Z)((0,He.Z)({},Gr),Ut),{},{flex:"0 0 ".concat(or,"px"),width:"".concat(or,"px"),marginRight:Kr,pointerEvents:"auto"}),lo=le.useMemo(function(){return vn?fr<=1:tr===0||fr===0||fr>1},[fr,tr,vn]);lo?Po.visibility="hidden":vn&&(Po.height=pn==null?void 0:pn(fr));var Mr=lo?function(){return null}:qn,vo={};return(fr===0||tr===0)&&(vo.rowSpan=1,vo.colSpan=1),le.createElement(Fn,(0,Ge.Z)({className:Ke()(ca,Cn),ellipsis:Qe.ellipsis,align:Qe.align,scope:Qe.rowScope,component:"div",prefixCls:Ce.prefixCls,key:rr,record:Yt,index:Et,renderIndex:$t,dataIndex:na,render:Mr,shouldCellUpdate:Qe.shouldCellUpdate},Tr,{appendNode:$r,additionalProps:(0,He.Z)((0,He.Z)({},Dr),{},{style:Po},vo)}))}var ho=xi,yo=["data","index","className","rowKey","style","extra","getHeight"],Go=le.forwardRef(function(Ee,Ce){var Qe=Ee.data,rt=Ee.index,Pt=Ee.className,Et=Ee.rowKey,$t=Ee.style,Yt=Ee.extra,Ut=Ee.getHeight,Cn=(0,Nt.Z)(Ee,yo),vn=Qe.record,pn=Qe.indent,qn=Qe.index,na=Ve(ie,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ca=na.scrollX,Aa=na.flattenColumns,Ht=na.prefixCls,Xa=na.fixColumn,_a=na.componentWidth,rr=Te(vn,Et,rt,pn),Tr=rr.rowSupportExpand,$r=rr.expanded,Dr=rr.rowProps,Gr=rr.expandedRowRender,zr=rr.expandedRowClassName,tr;if(Tr&&$r){var nr=Gr(vn,rt,pn+1,$r),fr=zr==null?void 0:zr(vn,rt,pn),Wa={};Xa&&(Wa={style:(0,he.Z)({},"--virtual-width","".concat(_a,"px"))});var or="".concat(Ht,"-expanded-row-cell");tr=le.createElement("div",{className:Ke()("".concat(Ht,"-expanded-row"),"".concat(Ht,"-expanded-row-level-").concat(pn+1),fr)},le.createElement(Fn,{component:"div",prefixCls:Ht,className:Ke()(or,(0,he.Z)({},"".concat(or,"-fixed"),Xa)),additionalProps:Wa},nr))}var Kr=(0,He.Z)((0,He.Z)({},$t),{},{width:ca});Yt&&(Kr.position="absolute",Kr.pointerEvents="none");var Po=le.createElement("div",(0,Ge.Z)({},Dr,Cn,{ref:Tr?null:Ce,className:Ke()(Pt,"".concat(Ht,"-row"),Dr==null?void 0:Dr.className,(0,he.Z)({},"".concat(Ht,"-row-extra"),Yt)),style:(0,He.Z)((0,He.Z)({},Kr),Dr==null?void 0:Dr.style)}),Aa.map(function(lo,Mr){return le.createElement(ho,{key:Mr,rowInfo:rr,column:lo,colIndex:Mr,indent:pn,index:rt,renderIndex:qn,record:vn,inverse:Yt,getHeight:Ut})}));return Tr?le.createElement("div",{ref:Ce},Po,tr):Po}),Mo=ne(Go),Ao=Mo,gr=le.forwardRef(function(Ee,Ce){var Qe=Ee.data,rt=Ee.onScroll,Pt=Ve(ie,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Et=Pt.flattenColumns,$t=Pt.onColumnResize,Yt=Pt.getRowKey,Ut=Pt.expandedKeys,Cn=Pt.prefixCls,vn=Pt.childrenColumnName,pn=Pt.emptyNode,qn=Pt.scrollX,na=Ve(Pr),ca=na.scrollY,Aa=na.listItemHeight,Ht=le.useRef(),Xa=dn(Qe,vn,Ut,Yt),_a=le.useMemo(function(){var tr=0;return Et.map(function(nr){var fr=nr.width,Wa=nr.key;return tr+=fr,[Wa,fr,tr]})},[Et]),rr=le.useMemo(function(){return _a.map(function(tr){return tr[2]})},[_a]);le.useEffect(function(){_a.forEach(function(tr){var nr=(0,Be.Z)(tr,2),fr=nr[0],Wa=nr[1];$t(fr,Wa)})},[_a]),le.useImperativeHandle(Ce,function(){var tr={};return Object.defineProperty(tr,"scrollLeft",{get:function(){var fr;return((fr=Ht.current)===null||fr===void 0?void 0:fr.getScrollInfo().x)||0},set:function(fr){var Wa;(Wa=Ht.current)===null||Wa===void 0||Wa.scrollTo({left:fr})}}),tr});var Tr=function(nr,fr){var Wa,or=(Wa=Xa[fr])===null||Wa===void 0?void 0:Wa.record,Kr=nr.onCell;if(Kr){var Po,lo=Kr(or,fr);return(Po=lo==null?void 0:lo.rowSpan)!==null&&Po!==void 0?Po:1}return 1},$r=function(nr){var fr=nr.start,Wa=nr.end,or=nr.getSize,Kr=nr.offsetY;if(Wa<0)return null;for(var Po=Et.filter(function(to){return Tr(to,fr)===0}),lo=fr,Mr=function(_r){if(Po=Po.filter(function(Yr){return Tr(Yr,_r)===0}),!Po.length)return lo=_r,"break"},vo=fr;vo>=0;vo-=1){var Bo=Mr(vo);if(Bo==="break")break}for(var Ra=Et.filter(function(to){return Tr(to,Wa)!==1}),wo=Wa,yi=function(_r){if(Ra=Ra.filter(function(Yr){return Tr(Yr,_r)!==1}),!Ra.length)return wo=Math.max(_r-1,Wa),"break"},Do=Wa;Do<Xa.length;Do+=1){var Xr=yi(Do);if(Xr==="break")break}for(var bi=[],Qr=function(_r){var Yr=Xa[_r];if(!Yr)return"continue";Et.some(function(Zr){return Tr(Zr,_r)>1})&&bi.push(_r)},gi=lo;gi<=wo;gi+=1)var _o=Qr(gi);var _i=bi.map(function(to){var _r=Xa[to],Yr=Yt(_r.record,to),Zr=function(Pe){var Ot=to+Pe-1,tn=Yt(Xa[Ot].record,Ot),wa=or(Yr,tn);return wa.bottom-wa.top},ce=or(Yr);return le.createElement(Ao,{key:to,data:_r,rowKey:Yr,index:to,style:{top:-Kr+ce.top},extra:!0,getHeight:Zr})});return _i},Dr=le.useMemo(function(){return{columnsOffset:rr}},[rr]),Gr="".concat(Cn,"-tbody"),zr;return Xa.length?zr=le.createElement(Er.Z,{fullHeight:!1,ref:Ht,className:Ke()(Gr,"".concat(Gr,"-virtual")),height:ca,itemHeight:Aa||24,data:Xa,itemKey:function(nr){return Yt(nr.record)},scrollWidth:qn,onVirtualScroll:function(nr){var fr=nr.x;rt({scrollLeft:fr})},extraRender:$r},function(tr,nr,fr){var Wa=Yt(tr.record,nr);return le.createElement(Ao,(0,Ge.Z)({data:tr,rowKey:Wa,index:nr},fr))}):zr=le.createElement("div",{className:Ke()("".concat(Cn,"-placeholder"))},le.createElement(Fn,{component:"div",prefixCls:Cn},pn)),le.createElement(si.Provider,{value:Dr},zr)}),eo=ne(gr),Qo=eo,Yo=function(Ce,Qe){var rt=Qe.ref,Pt=Qe.onScroll;return le.createElement(Qo,{ref:rt,data:Ce,onScroll:Pt})},Oo=100;function br(Ee){var Ce=Ee.columns,Qe=Ee.scroll,rt=Ee.prefixCls,Pt=rt===void 0?Ir:rt,Et=Ee.className,$t=Ee.listItemHeight,Yt=Qe||{},Ut=Yt.x,Cn=Yt.y;typeof Ut!="number"&&(Ut=((Ce||[]).length+1)*Oo),typeof Cn!="number"&&(Cn=500);var vn=le.useMemo(function(){return{scrollY:Cn,listItemHeight:$t}},[Cn,$t]);return le.createElement(Pr.Provider,{value:vn},le.createElement(Fr,(0,Ge.Z)({},Ee,{className:Ke()(Et,"".concat(Pt,"-virtual")),scroll:(0,He.Z)((0,He.Z)({},Qe),{},{x:Ut}),components:{body:Yo},columns:Ce,internalHooks:de,tailor:!0})))}function ri(Ee){return z(br,Ee)}var Hr=ri(),ko=null;function mo(Ee){return null}var di=mo;function vi(Ee){return null}var Ui=vi,tl=ee(2738),nl=ee(68031),Vo=ee(36355),Fi=ee(93891),Wi=ee(19716),dl=ee(8628),gl=ee(31724),Pl=ee(58421),kr=ee(71418),Qa=ee(88088);function Ga(Ee){return function(Qe){let{prefixCls:rt,onExpand:Pt,record:Et,expanded:$t,expandable:Yt}=Qe;const Ut=`${rt}-row-expand-icon`;return le.createElement("button",{type:"button",onClick:Cn=>{Pt(Et,Cn),Cn.stopPropagation()},className:Ke()(Ut,{[`${Ut}-spaced`]:!Yt,[`${Ut}-expanded`]:Yt&&$t,[`${Ut}-collapsed`]:Yt&&!$t}),"aria-label":$t?Ee.collapse:Ee.expand,"aria-expanded":$t})}}var Ya=Ga;function so(Ee,Ce){return"key"in Ee&&Ee.key!==void 0&&Ee.key!==null?Ee.key:Ee.dataIndex?Array.isArray(Ee.dataIndex)?Ee.dataIndex.join("."):Ee.dataIndex:Ce}function we(Ee,Ce){return Ce?`${Ce}-${Ee}`:`${Ee}`}function fn(Ee,Ce){return typeof Ee=="function"?Ee(Ce):Ee}function Mn(Ee,Ce){const Qe=fn(Ee,Ce);return Object.prototype.toString.call(Qe)==="[object Object]"?"":Qe}var Sa={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"},on=Sa,Ma=ee(7657),Fa=function(Ce,Qe){return le.createElement(Ma.Z,(0,Ge.Z)({},Ce,{ref:Qe,icon:on}))},jn=le.forwardRef(Fa),Xn=jn,sr=ee(56762);function Ha(Ee){const Ce=le.useRef(Ee),Qe=(0,sr.Z)();return[()=>Ce.current,rt=>{Ce.current=rt,Qe()}]}var Ta=ee(3113),Ja=ee(24905),Rr=ee(38854),bo=ee(64165),$o=ee(20834),Wo=ee(40875),Ti=ee(5112),Ji=ee(17574),al=ee(47472),Zl=ee(92832);function Al(Ee){let{value:Ce,onChange:Qe,filterSearch:rt,tablePrefixCls:Pt,locale:Et}=Ee;return rt?le.createElement("div",{className:`${Pt}-filter-dropdown-search`},le.createElement(Zl.default,{prefix:le.createElement(al.Z,null),placeholder:Et.filterSearchPlaceholder,onChange:Qe,value:Ce,htmlSize:1,className:`${Pt}-filter-dropdown-search-input`})):null}var So=Al,yl=ee(10228);const eu=Ee=>{const{keyCode:Ce}=Ee;Ce===yl.Z.ENTER&&Ee.stopPropagation()};var xl=le.forwardRef((Ee,Ce)=>le.createElement("div",{className:Ee.className,onClick:Qe=>Qe.stopPropagation(),onKeyDown:eu,ref:Ce},Ee.children));function tu(Ee){let Ce=[];return(Ee||[]).forEach(Qe=>{let{value:rt,children:Pt}=Qe;Ce.push(rt),Pt&&(Ce=[].concat((0,fa.Z)(Ce),(0,fa.Z)(tu(Pt))))}),Ce}function Qu(Ee){return Ee.some(Ce=>{let{children:Qe}=Ce;return Qe})}function su(Ee,Ce){return typeof Ce=="string"||typeof Ce=="number"?Ce==null?void 0:Ce.toString().toLowerCase().includes(Ee.trim().toLowerCase()):!1}function mu(Ee){let{filters:Ce,prefixCls:Qe,filteredKeys:rt,filterMultiple:Pt,searchValue:Et,filterSearch:$t}=Ee;return Ce.map((Yt,Ut)=>{const Cn=String(Yt.value);if(Yt.children)return{key:Cn||Ut,label:Yt.text,popupClassName:`${Qe}-dropdown-submenu`,children:mu({filters:Yt.children,prefixCls:Qe,filteredKeys:rt,filterMultiple:Pt,searchValue:Et,filterSearch:$t})};const vn=Pt?Ja.default:Ti.ZP,pn={key:Yt.value!==void 0?Cn:Ut,label:le.createElement(le.Fragment,null,le.createElement(vn,{checked:rt.includes(Cn)}),le.createElement("span",null,Yt.text))};return Et.trim()?typeof $t=="function"?$t(Et,Yt)?pn:null:su(Et,Yt.text)?pn:null:pn})}function Yu(Ee){var Ce,Qe;const{tablePrefixCls:rt,prefixCls:Pt,column:Et,dropdownPrefixCls:$t,columnKey:Yt,filterMultiple:Ut,filterMode:Cn="menu",filterSearch:vn=!1,filterState:pn,triggerFilter:qn,locale:na,children:ca,getPopupContainer:Aa}=Ee,{filterDropdownOpen:Ht,onFilterDropdownOpenChange:Xa,filterResetToDefaultFilteredValue:_a,defaultFilteredValue:rr,filterDropdownVisible:Tr,onFilterDropdownVisibleChange:$r}=Et,[Dr,Gr]=le.useState(!1),zr=!!(pn&&(!((Ce=pn.filteredKeys)===null||Ce===void 0)&&Ce.length||pn.forceFiltered)),tr=pe=>{Gr(pe),Xa==null||Xa(pe),$r==null||$r(pe)},nr=(Qe=Ht!=null?Ht:Tr)!==null&&Qe!==void 0?Qe:Dr,fr=pn==null?void 0:pn.filteredKeys,[Wa,or]=Ha(fr||[]),Kr=pe=>{let{selectedKeys:Pe}=pe;or(Pe)},Po=(pe,Pe)=>{let{node:Ot,checked:tn}=Pe;Kr(Ut?{selectedKeys:pe}:{selectedKeys:tn&&Ot.key?[Ot.key]:[]})};le.useEffect(()=>{Dr&&Kr({selectedKeys:fr||[]})},[fr]);const[lo,Mr]=le.useState([]),vo=pe=>{Mr(pe)},[Bo,Ra]=le.useState(""),wo=pe=>{const{value:Pe}=pe.target;Ra(Pe)};le.useEffect(()=>{Dr||Ra("")},[Dr]);const yi=pe=>{const Pe=pe&&pe.length?pe:null;if(Pe===null&&(!pn||!pn.filteredKeys)||(0,ke.Z)(Pe,pn==null?void 0:pn.filteredKeys,!0))return null;qn({column:Et,key:Yt,filteredKeys:Pe})},Do=()=>{tr(!1),yi(Wa())},Xr=function(){let{confirm:pe,closeDropdown:Pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};pe&&yi([]),Pe&&tr(!1),Ra(""),or(_a?(rr||[]).map(Ot=>String(Ot)):[])},bi=function(){let{closeDropdown:pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};pe&&tr(!1),yi(Wa())},Qr=pe=>{pe&&fr!==void 0&&or(fr||[]),tr(pe),!pe&&!Et.filterDropdown&&Do()},gi=Ke()({[`${$t}-menu-without-submenu`]:!Qu(Et.filters||[])}),_o=pe=>{if(pe.target.checked){const Pe=tu(Et==null?void 0:Et.filters).map(Ot=>String(Ot));or(Pe)}else or([])},_i=pe=>{let{filters:Pe}=pe;return(Pe||[]).map((Ot,tn)=>{const wa=String(Ot.value),ma={title:Ot.text,key:Ot.value!==void 0?wa:tn};return Ot.children&&(ma.children=_i({filters:Ot.children})),ma})},to=pe=>{var Pe;return Object.assign(Object.assign({},pe),{text:pe.title,value:pe.key,children:((Pe=pe.children)===null||Pe===void 0?void 0:Pe.map(Ot=>to(Ot)))||[]})};let _r;if(typeof Et.filterDropdown=="function")_r=Et.filterDropdown({prefixCls:`${$t}-custom`,setSelectedKeys:pe=>Kr({selectedKeys:pe}),selectedKeys:Wa(),confirm:bi,clearFilters:Xr,filters:Et.filters,visible:nr,close:()=>{tr(!1)}});else if(Et.filterDropdown)_r=Et.filterDropdown;else{const pe=Wa()||[],Pe=()=>(Et.filters||[]).length===0?le.createElement(bo.Z,{image:bo.Z.PRESENTED_IMAGE_SIMPLE,description:na.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Cn==="tree"?le.createElement(le.Fragment,null,le.createElement(So,{filterSearch:vn,value:Bo,onChange:wo,tablePrefixCls:rt,locale:na}),le.createElement("div",{className:`${rt}-filter-dropdown-tree`},Ut?le.createElement(Ja.default,{checked:pe.length===tu(Et.filters).length,indeterminate:pe.length>0&&pe.length<tu(Et.filters).length,className:`${rt}-filter-dropdown-checkall`,onChange:_o},na.filterCheckall):null,le.createElement(Ji.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Ut,checkStrictly:!Ut,className:`${$t}-menu`,onCheck:Po,checkedKeys:pe,selectedKeys:pe,showIcon:!1,treeData:_i({filters:Et.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Bo.trim()?tn=>typeof vn=="function"?vn(Bo,to(tn)):su(Bo,tn.title):void 0}))):le.createElement(le.Fragment,null,le.createElement(So,{filterSearch:vn,value:Bo,onChange:wo,tablePrefixCls:rt,locale:na}),le.createElement($o.default,{selectable:!0,multiple:Ut,prefixCls:`${$t}-menu`,className:gi,onSelect:Kr,onDeselect:Kr,selectedKeys:pe,getPopupContainer:Aa,openKeys:lo,onOpenChange:vo,items:mu({filters:Et.filters||[],filterSearch:vn,prefixCls:Pt,filteredKeys:Wa(),filterMultiple:Ut,searchValue:Bo})})),Ot=()=>_a?(0,ke.Z)((rr||[]).map(tn=>String(tn)),pe,!0):pe.length===0;_r=le.createElement(le.Fragment,null,Pe(),le.createElement("div",{className:`${Pt}-dropdown-btns`},le.createElement(Ta.ZP,{type:"link",size:"small",disabled:Ot(),onClick:()=>Xr()},na.filterReset),le.createElement(Ta.ZP,{type:"primary",size:"small",onClick:Do},na.filterConfirm)))}Et.filterDropdown&&(_r=le.createElement(Wo.J,{selectable:void 0},_r));const Yr=()=>le.createElement(xl,{className:`${Pt}-dropdown`},_r);let Zr;typeof Et.filterIcon=="function"?Zr=Et.filterIcon(zr):Et.filterIcon?Zr=Et.filterIcon:Zr=le.createElement(Xn,null);const{direction:ce}=le.useContext(Vo.E_);return le.createElement("div",{className:`${Pt}-column`},le.createElement("span",{className:`${rt}-column-title`},ca),le.createElement(Rr.Z,{dropdownRender:Yr,trigger:["click"],open:nr,onOpenChange:Qr,getPopupContainer:Aa,placement:ce==="rtl"?"bottomLeft":"bottomRight"},le.createElement("span",{role:"button",tabIndex:-1,className:Ke()(`${Pt}-trigger`,{active:zr}),onClick:pe=>{pe.stopPropagation()}},Zr)))}var El=Yu;function Ru(Ee,Ce,Qe){let rt=[];return(Ee||[]).forEach((Pt,Et)=>{var $t;const Yt=we(Et,Qe);if(Pt.filters||"filterDropdown"in Pt||"onFilter"in Pt)if("filteredValue"in Pt){let Ut=Pt.filteredValue;"filterDropdown"in Pt||(Ut=($t=Ut==null?void 0:Ut.map(String))!==null&&$t!==void 0?$t:Ut),rt.push({column:Pt,key:so(Pt,Yt),filteredKeys:Ut,forceFiltered:Pt.filtered})}else rt.push({column:Pt,key:so(Pt,Yt),filteredKeys:Ce&&Pt.defaultFilteredValue?Pt.defaultFilteredValue:void 0,forceFiltered:Pt.filtered});"children"in Pt&&(rt=[].concat((0,fa.Z)(rt),(0,fa.Z)(Ru(Pt.children,Ce,Yt))))}),rt}function Mu(Ee,Ce,Qe,rt,Pt,Et,$t,Yt){return Qe.map((Ut,Cn)=>{const vn=we(Cn,Yt),{filterMultiple:pn=!0,filterMode:qn,filterSearch:na}=Ut;let ca=Ut;if(ca.filters||ca.filterDropdown){const Aa=so(ca,vn),Ht=rt.find(Xa=>{let{key:_a}=Xa;return Aa===_a});ca=Object.assign(Object.assign({},ca),{title:Xa=>le.createElement(El,{tablePrefixCls:Ee,prefixCls:`${Ee}-filter`,dropdownPrefixCls:Ce,column:ca,columnKey:Aa,filterState:Ht,filterMultiple:pn,filterMode:qn,filterSearch:na,triggerFilter:Et,locale:Pt,getPopupContainer:$t},fn(Ut.title,Xa))})}return"children"in ca&&(ca=Object.assign(Object.assign({},ca),{children:Mu(Ee,Ce,ca.children,rt,Pt,Et,$t,vn)})),ca})}function rl(Ee){const Ce={};return Ee.forEach(Qe=>{let{key:rt,filteredKeys:Pt,column:Et}=Qe;const{filters:$t,filterDropdown:Yt}=Et;if(Yt)Ce[rt]=Pt||null;else if(Array.isArray(Pt)){const Ut=tu($t);Ce[rt]=Ut.filter(Cn=>Pt.includes(String(Cn)))}else Ce[rt]=null}),Ce}function ku(Ee,Ce){return Ce.reduce((Qe,rt)=>{const{column:{onFilter:Pt,filters:Et},filteredKeys:$t}=rt;return Pt&&$t&&$t.length?Qe.filter(Yt=>$t.some(Ut=>{const Cn=tu(Et),vn=Cn.findIndex(qn=>String(qn)===String(Ut)),pn=vn!==-1?Cn[vn]:Ut;return Pt(pn,Yt)})):Qe},Ee)}const nu=Ee=>Ee.flatMap(Ce=>"children"in Ce?[Ce].concat((0,fa.Z)(nu(Ce.children||[]))):[Ce]);function Ju(Ee){let{prefixCls:Ce,dropdownPrefixCls:Qe,mergedColumns:rt,onFilterChange:Pt,getPopupContainer:Et,locale:$t}=Ee;const Yt=le.useMemo(()=>nu(rt||[]),[rt]),[Ut,Cn]=le.useState(()=>Ru(Yt,!0)),vn=le.useMemo(()=>{const ca=Ru(Yt,!1);if(ca.length===0)return ca;let Aa=!0,Ht=!0;if(ca.forEach(Xa=>{let{filteredKeys:_a}=Xa;_a!==void 0?Aa=!1:Ht=!1}),Aa){const Xa=(Yt||[]).map((_a,rr)=>so(_a,we(rr)));return Ut.filter(_a=>{let{key:rr}=_a;return Xa.includes(rr)}).map(_a=>{const rr=Yt[Xa.findIndex(Tr=>Tr===_a.key)];return Object.assign(Object.assign({},_a),{column:Object.assign(Object.assign({},_a.column),rr),forceFiltered:rr.filtered})})}return ca},[Yt,Ut]),pn=le.useMemo(()=>rl(vn),[vn]),qn=ca=>{const Aa=vn.filter(Ht=>{let{key:Xa}=Ht;return Xa!==ca.key});Aa.push(ca),Cn(Aa),Pt(rl(Aa),Aa)};return[ca=>Mu(Ce,Qe,ca,vn,$t,qn,Et),vn,pn]}var bu=Ju;function Tu(Ee,Ce,Qe){const rt=le.useRef({});function Pt(Et){if(!rt.current||rt.current.data!==Ee||rt.current.childrenColumnName!==Ce||rt.current.getRowKey!==Qe){let Yt=function(Ut){Ut.forEach((Cn,vn)=>{const pn=Qe(Cn,vn);$t.set(pn,Cn),Cn&&typeof Cn=="object"&&Ce in Cn&&Yt(Cn[Ce]||[])})};const $t=new Map;Yt(Ee),rt.current={data:Ee,childrenColumnName:Ce,kvMap:$t,getRowKey:Qe}}return rt.current.kvMap.get(Et)}return[Pt]}var Xu=ee(50371),_u=function(Ee,Ce){var Qe={};for(var rt in Ee)Object.prototype.hasOwnProperty.call(Ee,rt)&&Ce.indexOf(rt)<0&&(Qe[rt]=Ee[rt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,rt=Object.getOwnPropertySymbols(Ee);Pt<rt.length;Pt++)Ce.indexOf(rt[Pt])<0&&Object.prototype.propertyIsEnumerable.call(Ee,rt[Pt])&&(Qe[rt[Pt]]=Ee[rt[Pt]]);return Qe};const bl=10;function ji(Ee,Ce){const Qe={current:Ee.current,pageSize:Ee.pageSize};return Object.keys(Ce&&typeof Ce=="object"?Ce:{}).forEach(Pt=>{const Et=Ee[Pt];typeof Et!="function"&&(Qe[Pt]=Et)}),Qe}function Zu(Ee,Ce,Qe){const rt=Qe&&typeof Qe=="object"?Qe:{},{total:Pt=0}=rt,Et=_u(rt,["total"]),[$t,Yt]=(0,le.useState)(()=>({current:"defaultCurrent"in Et?Et.defaultCurrent:1,pageSize:"defaultPageSize"in Et?Et.defaultPageSize:bl})),Ut=(0,Xu.Z)($t,Et,{total:Pt>0?Pt:Ee}),Cn=Math.ceil((Pt||Ee)/Ut.pageSize);Ut.current>Cn&&(Ut.current=Cn||1);const vn=(qn,na)=>{Yt({current:qn!=null?qn:1,pageSize:na||Ut.pageSize})},pn=(qn,na)=>{var ca;Qe&&((ca=Qe.onChange)===null||ca===void 0||ca.call(Qe,qn,na)),vn(qn,na),Ce(qn,na||(Ut==null?void 0:Ut.pageSize))};return Qe===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ut),{onChange:pn}),vn]}var fs=Zu,au=ee(84105),Bi=ee(35654),Cu=ee(90782),zu=ee(71430),rs=ee(18929);const Il={},Hu="SELECT_ALL",xu="SELECT_INVERT",Fu="SELECT_NONE",Fl=[],zl=(Ee,Ce)=>{let Qe=[];return(Ce||[]).forEach(rt=>{Qe.push(rt),rt&&typeof rt=="object"&&Ee in rt&&(Qe=[].concat((0,fa.Z)(Qe),(0,fa.Z)(zl(Ee,rt[Ee]))))}),Qe};var qu=(Ee,Ce)=>{const{preserveSelectedRowKeys:Qe,selectedRowKeys:rt,defaultSelectedRowKeys:Pt,getCheckboxProps:Et,onChange:$t,onSelect:Yt,onSelectAll:Ut,onSelectInvert:Cn,onSelectNone:vn,onSelectMultiple:pn,columnWidth:qn,type:na,selections:ca,fixed:Aa,renderCell:Ht,hideSelectAll:Xa,checkStrictly:_a=!0}=Ce||{},{prefixCls:rr,data:Tr,pageData:$r,getRecordByKey:Dr,getRowKey:Gr,expandType:zr,childrenColumnName:tr,locale:nr,getPopupContainer:fr}=Ee,[Wa,or]=(0,rs.Z)(rt||Pt||Fl,{value:rt}),Kr=le.useRef(new Map),Po=(0,le.useCallback)(to=>{if(Qe){const _r=new Map;to.forEach(Yr=>{let Zr=Dr(Yr);!Zr&&Kr.current.has(Yr)&&(Zr=Kr.current.get(Yr)),_r.set(Yr,Zr)}),Kr.current=_r}},[Dr,Qe]);le.useEffect(()=>{Po(Wa)},[Wa]);const{keyEntities:lo}=(0,le.useMemo)(()=>{if(_a)return{keyEntities:null};let to=Tr;if(Qe){const _r=new Set(Tr.map((Zr,ce)=>Gr(Zr,ce))),Yr=Array.from(Kr.current).reduce((Zr,ce)=>{let[pe,Pe]=ce;return _r.has(pe)?Zr:Zr.concat(Pe)},[]);to=[].concat((0,fa.Z)(to),(0,fa.Z)(Yr))}return(0,zu.I8)(to,{externalGetKey:Gr,childrenPropName:tr})},[Tr,Gr,_a,tr,Qe]),Mr=(0,le.useMemo)(()=>zl(tr,$r),[tr,$r]),vo=(0,le.useMemo)(()=>{const to=new Map;return Mr.forEach((_r,Yr)=>{const Zr=Gr(_r,Yr),ce=(Et?Et(_r):null)||{};to.set(Zr,ce)}),to},[Mr,Gr,Et]),Bo=(0,le.useCallback)(to=>{var _r;return!!(!((_r=vo.get(Gr(to)))===null||_r===void 0)&&_r.disabled)},[vo,Gr]),[Ra,wo]=(0,le.useMemo)(()=>{if(_a)return[Wa||[],[]];const{checkedKeys:to,halfCheckedKeys:_r}=(0,Cu.S)(Wa,!0,lo,Bo);return[to||[],_r]},[Wa,_a,lo,Bo]),yi=(0,le.useMemo)(()=>{const to=na==="radio"?Ra.slice(0,1):Ra;return new Set(to)},[Ra,na]),Do=(0,le.useMemo)(()=>na==="radio"?new Set:new Set(wo),[wo,na]),[Xr,bi]=(0,le.useState)(null);le.useEffect(()=>{Ce||or(Fl)},[!!Ce]);const Qr=(0,le.useCallback)((to,_r)=>{let Yr,Zr;Po(to),Qe?(Yr=to,Zr=to.map(ce=>Kr.current.get(ce))):(Yr=[],Zr=[],to.forEach(ce=>{const pe=Dr(ce);pe!==void 0&&(Yr.push(ce),Zr.push(pe))})),or(Yr),$t==null||$t(Yr,Zr,{type:_r})},[or,Dr,$t,Qe]),gi=(0,le.useCallback)((to,_r,Yr,Zr)=>{if(Yt){const ce=Yr.map(pe=>Dr(pe));Yt(Dr(to),_r,ce,Zr)}Qr(Yr,"single")},[Yt,Dr,Qr]),_o=(0,le.useMemo)(()=>!ca||Xa?null:(ca===!0?[Hu,xu,Fu]:ca).map(_r=>_r===Hu?{key:"all",text:nr.selectionAll,onSelect(){Qr(Tr.map((Yr,Zr)=>Gr(Yr,Zr)).filter(Yr=>{const Zr=vo.get(Yr);return!(Zr!=null&&Zr.disabled)||yi.has(Yr)}),"all")}}:_r===xu?{key:"invert",text:nr.selectInvert,onSelect(){const Yr=new Set(yi);$r.forEach((ce,pe)=>{const Pe=Gr(ce,pe),Ot=vo.get(Pe);Ot!=null&&Ot.disabled||(Yr.has(Pe)?Yr.delete(Pe):Yr.add(Pe))});const Zr=Array.from(Yr);Cn&&Cn(Zr),Qr(Zr,"invert")}}:_r===Fu?{key:"none",text:nr.selectNone,onSelect(){vn==null||vn(),Qr(Array.from(yi).filter(Yr=>{const Zr=vo.get(Yr);return Zr==null?void 0:Zr.disabled}),"none")}}:_r).map(_r=>Object.assign(Object.assign({},_r),{onSelect:function(){for(var Yr,Zr,ce=arguments.length,pe=new Array(ce),Pe=0;Pe<ce;Pe++)pe[Pe]=arguments[Pe];(Zr=_r.onSelect)===null||Zr===void 0||(Yr=Zr).call.apply(Yr,[_r].concat(pe)),bi(null)}})),[ca,yi,$r,Gr,Cn,Qr]);return[(0,le.useCallback)(to=>{var _r;if(!Ce)return to.filter(In=>In!==Il);let Yr=(0,fa.Z)(to);const Zr=new Set(yi),ce=Mr.map(Gr).filter(In=>!vo.get(In).disabled),pe=ce.every(In=>Zr.has(In)),Pe=ce.some(In=>Zr.has(In)),Ot=()=>{const In=[];pe?ce.forEach(Hn=>{Zr.delete(Hn),In.push(Hn)}):ce.forEach(Hn=>{Zr.has(Hn)||(Zr.add(Hn),In.push(Hn))});const ra=Array.from(Zr);Ut==null||Ut(!pe,ra.map(Hn=>Dr(Hn)),In.map(Hn=>Dr(Hn))),Qr(ra,"all"),bi(null)};let tn;if(na!=="radio"){let In;if(_o){const oa={getPopupContainer:fr,items:_o.map((Ka,Pn)=>{const{key:ya,text:ja,onSelect:qr}=Ka;return{key:ya!=null?ya:Pn,onClick:()=>{qr==null||qr(ce)},label:ja}})};In=le.createElement("div",{className:`${rr}-selection-extra`},le.createElement(Rr.Z,{menu:oa,getPopupContainer:fr},le.createElement("span",null,le.createElement(au.Z,null))))}const ra=Mr.map((oa,Ka)=>{const Pn=Gr(oa,Ka),ya=vo.get(Pn)||{};return Object.assign({checked:Zr.has(Pn)},ya)}).filter(oa=>{let{disabled:Ka}=oa;return Ka}),Hn=!!ra.length&&ra.length===Mr.length,ba=Hn&&ra.every(oa=>{let{checked:Ka}=oa;return Ka}),ta=Hn&&ra.some(oa=>{let{checked:Ka}=oa;return Ka});tn=!Xa&&le.createElement("div",{className:`${rr}-selection`},le.createElement(Ja.default,{checked:Hn?ba:!!Mr.length&&pe,indeterminate:Hn?!ba&&ta:!pe&&Pe,onChange:Ot,disabled:Mr.length===0||Hn,"aria-label":In?"Custom selection":"Select all",skipGroup:!0}),In)}let wa;na==="radio"?wa=(In,ra,Hn)=>{const ba=Gr(ra,Hn),ta=Zr.has(ba);return{node:le.createElement(Ti.ZP,Object.assign({},vo.get(ba),{checked:ta,onClick:oa=>oa.stopPropagation(),onChange:oa=>{Zr.has(ba)||gi(ba,!0,[ba],oa.nativeEvent)}})),checked:ta}}:wa=(In,ra,Hn)=>{var ba;const ta=Gr(ra,Hn),oa=Zr.has(ta),Ka=Do.has(ta),Pn=vo.get(ta);let ya;return zr==="nest"?ya=Ka:ya=(ba=Pn==null?void 0:Pn.indeterminate)!==null&&ba!==void 0?ba:Ka,{node:le.createElement(Ja.default,Object.assign({},Pn,{indeterminate:ya,checked:oa,skipGroup:!0,onClick:ja=>ja.stopPropagation(),onChange:ja=>{let{nativeEvent:qr}=ja;const{shiftKey:cr}=qr;let li=-1,Za=-1;if(cr&&_a){const Co=new Set([Xr,ta]);ce.some((Cr,ao)=>{if(Co.has(Cr))if(li===-1)li=ao;else return Za=ao,!0;return!1})}if(Za!==-1&&li!==Za&&_a){const Co=ce.slice(li,Za+1),Cr=[];oa?Co.forEach(Eo=>{Zr.has(Eo)&&(Cr.push(Eo),Zr.delete(Eo))}):Co.forEach(Eo=>{Zr.has(Eo)||(Cr.push(Eo),Zr.add(Eo))});const ao=Array.from(Zr);pn==null||pn(!oa,ao.map(Eo=>Dr(Eo)),Cr.map(Eo=>Dr(Eo))),Qr(ao,"multiple")}else{const Co=Ra;if(_a){const Cr=oa?(0,Bi._5)(Co,ta):(0,Bi.L0)(Co,ta);gi(ta,!oa,Cr,qr)}else{const Cr=(0,Cu.S)([].concat((0,fa.Z)(Co),[ta]),!0,lo,Bo),{checkedKeys:ao,halfCheckedKeys:Eo}=Cr;let hi=ao;if(oa){const mi=new Set(ao);mi.delete(ta),hi=(0,Cu.S)(Array.from(mi),{checked:!1,halfCheckedKeys:Eo},lo,Bo).checkedKeys}gi(ta,!oa,hi,qr)}}bi(oa?null:ta)}})),checked:oa}};const ma=(In,ra,Hn)=>{const{node:ba,checked:ta}=wa(In,ra,Hn);return Ht?Ht(ta,ra,Hn,ba):ba};if(!Yr.includes(Il))if(Yr.findIndex(In=>{var ra;return((ra=In[va])===null||ra===void 0?void 0:ra.columnType)==="EXPAND_COLUMN"})===0){const[In,...ra]=Yr;Yr=[In,Il].concat((0,fa.Z)(ra))}else Yr=[Il].concat((0,fa.Z)(Yr));const zn=Yr.indexOf(Il);Yr=Yr.filter((In,ra)=>In!==Il||ra===zn);const jt=Yr[zn-1],Yn=Yr[zn+1];let xn=Aa;xn===void 0&&((Yn==null?void 0:Yn.fixed)!==void 0?xn=Yn.fixed:(jt==null?void 0:jt.fixed)!==void 0&&(xn=jt.fixed)),xn&&jt&&((_r=jt[va])===null||_r===void 0?void 0:_r.columnType)==="EXPAND_COLUMN"&&jt.fixed===void 0&&(jt.fixed=xn);const Ct=Ke()(`${rr}-selection-col`,{[`${rr}-selection-col-with-dropdown`]:ca&&na==="checkbox"}),gn={fixed:xn,width:qn,className:`${rr}-selection-column`,title:Ce.columnTitle||tn,render:ma,onCell:Ce.onCell,[va]:{className:Ct}};return Yr.map(In=>In===Il?gn:In)},[Gr,Mr,Ce,Ra,yi,Do,qn,_o,zr,Xr,vo,pn,gi,Bo]),yi]},ju=ee(89489),Ar=ee(59477),Bu=ee(6848);const Yl="ascend",Hl="descend";function qa(Ee){return typeof Ee.sorter=="object"&&typeof Ee.sorter.multiple=="number"?Ee.sorter.multiple:!1}function du(Ee){return typeof Ee=="function"?Ee:Ee&&typeof Ee=="object"&&Ee.compare?Ee.compare:!1}function es(Ee,Ce){return Ce?Ee[Ee.indexOf(Ce)+1]:Ee[0]}function is(Ee,Ce,Qe){let rt=[];function Pt(Et,$t){rt.push({column:Et,key:so(Et,$t),multiplePriority:qa(Et),sortOrder:Et.sortOrder})}return(Ee||[]).forEach((Et,$t)=>{const Yt=we($t,Qe);Et.children?("sortOrder"in Et&&Pt(Et,Yt),rt=[].concat((0,fa.Z)(rt),(0,fa.Z)(is(Et.children,Ce,Yt)))):Et.sorter&&("sortOrder"in Et?Pt(Et,Yt):Ce&&Et.defaultSortOrder&&rt.push({column:Et,key:so(Et,Yt),multiplePriority:qa(Et),sortOrder:Et.defaultSortOrder}))}),rt}function wu(Ee,Ce,Qe,rt,Pt,Et,$t,Yt){return(Ce||[]).map((Ut,Cn)=>{const vn=we(Cn,Yt);let pn=Ut;if(pn.sorter){const qn=pn.sortDirections||Pt,na=pn.showSorterTooltip===void 0?$t:pn.showSorterTooltip,ca=so(pn,vn),Aa=Qe.find(zr=>{let{key:tr}=zr;return tr===ca}),Ht=Aa?Aa.sortOrder:null,Xa=es(qn,Ht);let _a;if(Ut.sortIcon)_a=Ut.sortIcon({sortOrder:Ht});else{const zr=qn.includes(Yl)&&le.createElement(Ar.Z,{className:Ke()(`${Ee}-column-sorter-up`,{active:Ht===Yl})}),tr=qn.includes(Hl)&&le.createElement(ju.Z,{className:Ke()(`${Ee}-column-sorter-down`,{active:Ht===Hl})});_a=le.createElement("span",{className:Ke()(`${Ee}-column-sorter`,{[`${Ee}-column-sorter-full`]:!!(zr&&tr)})},le.createElement("span",{className:`${Ee}-column-sorter-inner`,"aria-hidden":"true"},zr,tr))}const{cancelSort:rr,triggerAsc:Tr,triggerDesc:$r}=Et||{};let Dr=rr;Xa===Hl?Dr=$r:Xa===Yl&&(Dr=Tr);const Gr=typeof na=="object"?na:{title:Dr};pn=Object.assign(Object.assign({},pn),{className:Ke()(pn.className,{[`${Ee}-column-sort`]:Ht}),title:zr=>{const tr=le.createElement("div",{className:`${Ee}-column-sorters`},le.createElement("span",{className:`${Ee}-column-title`},fn(Ut.title,zr)),_a);return na?le.createElement(Bu.Z,Object.assign({},Gr),tr):tr},onHeaderCell:zr=>{const tr=Ut.onHeaderCell&&Ut.onHeaderCell(zr)||{},nr=tr.onClick,fr=tr.onKeyDown;tr.onClick=Kr=>{rt({column:Ut,key:ca,sortOrder:Xa,multiplePriority:qa(Ut)}),nr==null||nr(Kr)},tr.onKeyDown=Kr=>{Kr.keyCode===yl.Z.ENTER&&(rt({column:Ut,key:ca,sortOrder:Xa,multiplePriority:qa(Ut)}),fr==null||fr(Kr))};const Wa=Mn(Ut.title,{}),or=Wa==null?void 0:Wa.toString();return Ht?tr["aria-sort"]=Ht==="ascend"?"ascending":"descending":tr["aria-label"]=or||"",tr.className=Ke()(tr.className,`${Ee}-column-has-sorters`),tr.tabIndex=0,Ut.ellipsis&&(tr.title=(Wa!=null?Wa:"").toString()),tr}})}return"children"in pn&&(pn=Object.assign(Object.assign({},pn),{children:wu(Ee,pn.children,Qe,rt,Pt,Et,$t,vn)})),pn})}function ts(Ee){const{column:Ce,sortOrder:Qe}=Ee;return{column:Ce,order:Qe,field:Ce.dataIndex,columnKey:Ce.key}}function cu(Ee){const Ce=Ee.filter(Qe=>{let{sortOrder:rt}=Qe;return rt}).map(ts);return Ce.length===0&&Ee.length?Object.assign(Object.assign({},ts(Ee[Ee.length-1])),{column:void 0}):Ce.length<=1?Ce[0]||{}:Ce}function Qi(Ee,Ce,Qe){const rt=Ce.slice().sort(($t,Yt)=>Yt.multiplePriority-$t.multiplePriority),Pt=Ee.slice(),Et=rt.filter($t=>{let{column:{sorter:Yt},sortOrder:Ut}=$t;return du(Yt)&&Ut});return Et.length?Pt.sort(($t,Yt)=>{for(let Ut=0;Ut<Et.length;Ut+=1){const Cn=Et[Ut],{column:{sorter:vn},sortOrder:pn}=Cn,qn=du(vn);if(qn&&pn){const na=qn($t,Yt,pn);if(na!==0)return pn===Yl?na:-na}}return 0}).map($t=>{const Yt=$t[Qe];return Yt?Object.assign(Object.assign({},$t),{[Qe]:Qi(Yt,Ce,Qe)}):$t}):Pt}function ls(Ee){let{prefixCls:Ce,mergedColumns:Qe,onSorterChange:rt,sortDirections:Pt,tableLocale:Et,showSorterTooltip:$t}=Ee;const[Yt,Ut]=le.useState(is(Qe,!0)),Cn=le.useMemo(()=>{let ca=!0;const Aa=is(Qe,!1);if(!Aa.length)return Yt;const Ht=[];function Xa(rr){ca?Ht.push(rr):Ht.push(Object.assign(Object.assign({},rr),{sortOrder:null}))}let _a=null;return Aa.forEach(rr=>{_a===null?(Xa(rr),rr.sortOrder&&(rr.multiplePriority===!1?ca=!1:_a=!0)):(_a&&rr.multiplePriority!==!1||(ca=!1),Xa(rr))}),Ht},[Qe,Yt]),vn=le.useMemo(()=>{const ca=Cn.map(Aa=>{let{column:Ht,sortOrder:Xa}=Aa;return{column:Ht,order:Xa}});return{sortColumns:ca,sortColumn:ca[0]&&ca[0].column,sortOrder:ca[0]&&ca[0].order}},[Cn]);function pn(ca){let Aa;ca.multiplePriority===!1||!Cn.length||Cn[0].multiplePriority===!1?Aa=[ca]:Aa=[].concat((0,fa.Z)(Cn.filter(Ht=>{let{key:Xa}=Ht;return Xa!==ca.key})),[ca]),Ut(Aa),rt(cu(Aa),Aa)}return[ca=>wu(Ce,ca,Cn,pn,Pt,Et,$t),Cn,vn,()=>cu(Cn)]}function us(Ee,Ce){return Ee.map(Qe=>{const rt=Object.assign({},Qe);return rt.title=fn(Qe.title,Ce),"children"in rt&&(rt.children=us(rt.children,Ce)),rt})}function ss(Ee){return[le.useCallback(Qe=>us(Qe,Ee),[Ee])]}var Gu=Or((Ee,Ce)=>{const{_renderTimes:Qe}=Ee,{_renderTimes:rt}=Ce;return Qe!==rt}),Jl=ri((Ee,Ce)=>{const{_renderTimes:Qe}=Ee,{_renderTimes:rt}=Ce;return Qe!==rt}),Xl=ee(64993),ru=ee(17313),fu=ee(83116),Wu=ee(37613),Se=Ee=>{const{componentCls:Ce}=Ee,Qe=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,rt=(Pt,Et,$t)=>({[`&${Ce}-${Pt}`]:{[`> ${Ce}-container`]:{[`> ${Ce}-content, > ${Ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${Et}px -${$t+Ee.lineWidth}px`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:Qe,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:Qe,borderTop:Qe,[`
> ${Ce}-content,
> ${Ce}-header,
> ${Ce}-body,
> ${Ce}-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:Qe},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Qe},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ce}-cell-fix-right-first::after`]:{borderInlineEnd:Qe}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${Ee.tablePaddingVertical}px -${Ee.tablePaddingHorizontal+Ee.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ee.lineWidth,bottom:0,borderInlineEnd:Qe,content:'""'}}}}}},[`&${Ce}-scroll-horizontal`]:{[`> ${Ce}-container > ${Ce}-body`]:{"> table > tbody":{[`
> tr${Ce}-expanded-row,
> tr${Ce}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},rt("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle)),rt("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall)),{[`> ${Ce}-footer`]:{border:Qe,borderTop:0}}),[`${Ce}-cell`]:{[`${Ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ee.lineWidth}px 0 ${Ee.lineWidth}px ${Ee.tableHeaderBg}`}},[`${Ce}-bordered ${Ce}-cell-scrollbar`]:{borderInlineEnd:Qe}}}},tt=Ee=>{const{componentCls:Ce}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-cell-ellipsis`]:Object.assign(Object.assign({},ru.vS),{wordBreak:"keep-all",[`
&${Ce}-cell-fix-left-last,
&${Ce}-cell-fix-right-first
`]:{overflow:"visible",[`${Ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},qt=Ee=>{const{componentCls:Ce}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody > tr${Ce}-placeholder`]:{textAlign:"center",color:Ee.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ee.colorBgContainer}}}}},Kt=ee(15969),Tn=Ee=>{const{componentCls:Ce,antCls:Qe,controlInteractiveSize:rt,motionDurationSlow:Pt,lineWidth:Et,paddingXS:$t,lineType:Yt,tableBorderColor:Ut,tableExpandIconBg:Cn,tableExpandColumnWidth:vn,borderRadius:pn,fontSize:qn,fontSizeSM:na,lineHeight:ca,tablePaddingVertical:Aa,tablePaddingHorizontal:Ht,tableExpandedRowBg:Xa,paddingXXS:_a}=Ee,rr=rt/2-Et,Tr=rr*2+Et*3,$r=`${Et}px ${Yt} ${Ut}`,Dr=_a-Et;return{[`${Ce}-wrapper`]:{[`${Ce}-expand-icon-col`]:{width:vn},[`${Ce}-row-expand-icon-cell`]:{textAlign:"center",[`${Ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ce}-row-indent`]:{height:1,float:"left"},[`${Ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,Kt.N)(Ee)),{position:"relative",float:"left",boxSizing:"border-box",width:Tr,height:Tr,padding:0,color:"inherit",lineHeight:`${Tr}px`,background:Cn,border:$r,borderRadius:pn,transform:`scale(${rt/Tr})`,transition:`all ${Pt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Pt} ease-out`,content:'""'},"&::before":{top:rr,insetInlineEnd:Dr,insetInlineStart:Dr,height:Et},"&::after":{top:Dr,bottom:Dr,insetInlineStart:rr,width:Et,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"}}),[`${Ce}-row-indent + ${Ce}-row-expand-icon`]:{marginTop:(qn*ca-Et*3)/2-Math.ceil((na*1.4-Et*3)/2),marginInlineEnd:$t},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Xa}},[`${Qe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Aa}px -${Ht}px`,padding:`${Aa}px ${Ht}px`}}}},Ca=Ee=>{const{componentCls:Ce,antCls:Qe,iconCls:rt,tableFilterDropdownWidth:Pt,tableFilterDropdownSearchWidth:Et,paddingXXS:$t,paddingXS:Yt,colorText:Ut,lineWidth:Cn,lineType:vn,tableBorderColor:pn,tableHeaderIconColor:qn,fontSizeSM:na,tablePaddingHorizontal:ca,borderRadius:Aa,motionDurationSlow:Ht,colorTextDescription:Xa,colorPrimary:_a,tableHeaderFilterActiveBg:rr,colorTextDisabled:Tr,tableFilterDropdownBg:$r,tableFilterDropdownHeight:Dr,controlItemBgHover:Gr,controlItemBgActive:zr,boxShadowSecondary:tr,filterDropdownMenuBg:nr}=Ee,fr=`${Qe}-dropdown`,Wa=`${Ce}-filter-dropdown`,or=`${Qe}-tree`,Kr=`${Cn}px ${vn} ${pn}`;return[{[`${Ce}-wrapper`]:{[`${Ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-$t,marginInline:`${$t}px ${-ca/2}px`,padding:`0 ${$t}px`,color:qn,fontSize:na,borderRadius:Aa,cursor:"pointer",transition:`all ${Ht}`,"&:hover":{color:Xa,background:rr},"&.active":{color:_a}}}},{[`${Qe}-dropdown`]:{[Wa]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{minWidth:Pt,backgroundColor:$r,borderRadius:Aa,boxShadow:tr,overflow:"hidden",[`${fr}-menu`]:{maxHeight:Dr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:nr,"&:empty::after":{display:"block",padding:`${Yt}px 0`,color:Tr,fontSize:na,textAlign:"center",content:'"Not Found"'}},[`${Wa}-tree`]:{paddingBlock:`${Yt}px 0`,paddingInline:Yt,[or]:{padding:0},[`${or}-treenode ${or}-node-content-wrapper:hover`]:{backgroundColor:Gr},[`${or}-treenode-checkbox-checked ${or}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:zr}}},[`${Wa}-search`]:{padding:Yt,borderBottom:Kr,"&-input":{input:{minWidth:Et},[rt]:{color:Tr}}},[`${Wa}-checkall`]:{width:"100%",marginBottom:$t,marginInlineStart:$t},[`${Wa}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Yt-Cn}px ${Yt}px`,overflow:"hidden",borderTop:Kr}})}},{[`${Qe}-dropdown ${Wa}, ${Wa}-submenu`]:{[`${Qe}-checkbox-wrapper + span`]:{paddingInlineStart:Yt,color:Ut},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},mn=Ee=>{const{componentCls:Ce,lineWidth:Qe,colorSplit:rt,motionDurationSlow:Pt,zIndexTableFixed:Et,tableBg:$t,zIndexTableSticky:Yt}=Ee,Ut=rt;return{[`${Ce}-wrapper`]:{[`
${Ce}-cell-fix-left,
${Ce}-cell-fix-right
`]:{position:"sticky !important",zIndex:Et,background:$t},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Qe,width:30,transform:"translateX(100%)",transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},[`${Ce}-cell-fix-left-all::after`]:{display:"none"},[`
${Ce}-cell-fix-right-first::after,
${Ce}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Qe,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},[`${Ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Yt+1,width:30,transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ce}-ping-left`]:{[`&:not(${Ce}-has-fix-left) ${Ce}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ut}`}},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Ut}`},[`${Ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ce}-ping-right`]:{[`&:not(${Ce}-has-fix-right) ${Ce}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ut}`}},[`
${Ce}-cell-fix-right-first::after,
${Ce}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Ut}`}}}}},Ia=Ee=>{const{componentCls:Ce,antCls:Qe}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-pagination${Qe}-pagination`]:{margin:`${Ee.margin}px 0`},[`${Ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ee.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},sa=Ee=>{const{componentCls:Ce,tableRadius:Qe}=Ee;return{[`${Ce}-wrapper`]:{[Ce]:{[`${Ce}-title, ${Ce}-header`]:{borderRadius:`${Qe}px ${Qe}px 0 0`},[`${Ce}-title + ${Ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ce}-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:Qe,borderStartEndRadius:Qe,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Qe},"> *:last-child":{borderStartEndRadius:Qe}}},"&-footer":{borderRadius:`0 0 ${Qe}px ${Qe}px`}}}}},Br=Ee=>{const{componentCls:Ce}=Ee;return{[`${Ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ce}-pagination-left`]:{justifyContent:"flex-end"},[`${Ce}-pagination-right`]:{justifyContent:"flex-start"},[`${Ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ce}-row-indent`]:{float:"right"}}}}},wr=Ee=>{const{componentCls:Ce,antCls:Qe,iconCls:rt,fontSizeIcon:Pt,padding:Et,paddingXS:$t,tableHeaderIconColor:Yt,tableHeaderIconColorHover:Ut,tableSelectionColumnWidth:Cn}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-selection-col`]:{width:Cn,[`&${Ce}-selection-col-with-dropdown`]:{width:Cn+Pt+Et/4}},[`${Ce}-bordered ${Ce}-selection-col`]:{width:Cn+$t*2,[`&${Ce}-selection-col-with-dropdown`]:{width:Cn+Pt+Et/4+$t*2}},[`
table tr th${Ce}-selection-column,
table tr td${Ce}-selection-column
`]:{paddingInlineEnd:Ee.paddingXS,paddingInlineStart:Ee.paddingXS,textAlign:"center",[`${Qe}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ce}-selection-column${Ce}-cell-fix-left`]:{zIndex:Ee.zIndexTableFixed+1},[`table tr th${Ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ee.tablePaddingHorizontal/4}px`,[rt]:{color:Yt,fontSize:Pt,verticalAlign:"baseline","&:hover":{color:Ut}}}}}},Lr=Ee=>{const{componentCls:Ce}=Ee,Qe=(rt,Pt,Et,$t)=>({[`${Ce}${Ce}-${rt}`]:{fontSize:$t,[`
${Ce}-title,
${Ce}-footer,
${Ce}-cell,
${Ce}-thead > tr > th,
${Ce}-tbody > tr > th,
${Ce}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Pt}px ${Et}px`},[`${Ce}-filter-trigger`]:{marginInlineEnd:`-${Et/2}px`},[`${Ce}-expanded-row-fixed`]:{margin:`-${Pt}px -${Et}px`},[`${Ce}-tbody`]:{[`${Ce}-wrapper:only-child ${Ce}`]:{marginBlock:`-${Pt}px`,marginInline:`${Ee.tableExpandColumnWidth-Et}px -${Et}px`}},[`${Ce}-selection-column`]:{paddingInlineStart:`${Et/4}px`}}});return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},Qe("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle,Ee.tableFontSizeMiddle)),Qe("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall,Ee.tableFontSizeSmall))}},Ko=Ee=>{const{componentCls:Ce,marginXXS:Qe,fontSizeIcon:rt,tableHeaderIconColor:Pt,tableHeaderIconColorHover:Et}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-thead th${Ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,"&:hover":{background:Ee.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ee.colorPrimary},[`
&${Ce}-cell-fix-left:hover,
&${Ce}-cell-fix-right:hover
`]:{background:Ee.tableFixedHeaderSortActiveBg}},[`${Ce}-thead th${Ce}-column-sort`]:{background:Ee.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ce}-column-sort`]:{background:Ee.tableBodySortBg},[`${Ce}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ce}-column-sorter`]:{marginInlineStart:Qe,color:Pt,fontSize:0,transition:`color ${Ee.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:rt,"&.active":{color:Ee.colorPrimary}},[`${Ce}-column-sorter-up + ${Ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ce}-column-sorters:hover ${Ce}-column-sorter`]:{color:Et}}}},zo=Ee=>{const{componentCls:Ce,opacityLoading:Qe,tableScrollThumbBg:rt,tableScrollThumbBgHover:Pt,tableScrollThumbSize:Et,tableScrollBg:$t,zIndexTableSticky:Yt,stickyScrollBarBorderRadius:Ut}=Ee,Cn=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`;return{[`${Ce}-wrapper`]:{[`${Ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Yt,background:Ee.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Et}px !important`,zIndex:Yt,display:"flex",alignItems:"center",background:$t,borderTop:Cn,opacity:Qe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Et,backgroundColor:rt,borderRadius:Ut,transition:`all ${Ee.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Pt}}}}}}},ii=Ee=>{const{componentCls:Ce,lineWidth:Qe,tableBorderColor:rt}=Ee,Pt=`${Qe}px ${Ee.lineType} ${rt}`;return{[`${Ce}-wrapper`]:{[`${Ce}-summary`]:{position:"relative",zIndex:Ee.zIndexTableFixed,background:Ee.tableBg,"> tr":{"> th, > td":{borderBottom:Pt}}},[`div${Ce}-summary`]:{boxShadow:`0 -${Qe}px 0 ${rt}`}}}},zi=Ee=>{const{componentCls:Ce}=Ee,Qe=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,rt=`${Ce}-expanded-row-cell`;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody-virtual`]:{[`${Ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ce}-cell`]:{borderBottom:Qe},[`${Ce}-expanded-row`]:{[`${rt}${rt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ee.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ce}-bordered`]:{[`${Ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Qe,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:Qe,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ee.lineWidth,borderInlineStart:Qe}}}}}}};const oo=Ee=>{const{componentCls:Ce,fontWeightStrong:Qe,tablePaddingVertical:rt,tablePaddingHorizontal:Pt,lineWidth:Et,lineType:$t,tableBorderColor:Yt,tableFontSize:Ut,tableBg:Cn,tableRadius:vn,tableHeaderTextColor:pn,motionDurationMid:qn,tableHeaderBg:na,tableHeaderCellSplitColor:ca,tableRowHoverBg:Aa,tableSelectedRowBg:Ht,tableSelectedRowHoverBg:Xa,tableFooterTextColor:_a,tableFooterBg:rr,paddingContentVerticalLG:Tr}=Ee,$r=`${Et}px ${$t} ${Yt}`;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ru.dF)()),{[Ce]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{fontSize:Ut,background:Cn,borderRadius:`${vn}px ${vn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${vn}px ${vn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Ce}-cell,
${Ce}-thead > tr > th,
${Ce}-tbody > tr > th,
${Ce}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Tr}px ${Pt}px`,overflowWrap:"break-word"},[`${Ce}-title`]:{padding:`${rt}px ${Pt}px`},[`${Ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:pn,fontWeight:Qe,textAlign:"start",background:na,borderBottom:$r,transition:`background ${qn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ce}-selection-column):not(${Ce}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ca,transform:"translateY(-50%)",transition:`background-color ${qn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${qn}, border-color ${qn}`,borderBottom:$r,[`
> ${Ce}-wrapper:only-child,
> ${Ce}-expanded-row-fixed > ${Ce}-wrapper:only-child
`]:{[Ce]:{marginBlock:`-${rt}px`,marginInline:`${Ee.tableExpandColumnWidth-Pt}px -${Pt}px`,[`${Ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:pn,fontWeight:Qe,textAlign:"start",background:na,borderBottom:$r,transition:`background ${qn} ease`},[`
&${Ce}-row:hover > th,
&${Ce}-row:hover > td,
> th${Ce}-cell-row-hover,
> td${Ce}-cell-row-hover
`]:{background:Aa},[`&${Ce}-row-selected`]:{"> th, > td":{background:Ht},"&:hover > th, &:hover > td":{background:Xa}}}},[`${Ce}-footer`]:{padding:`${rt}px ${Pt}px`,color:_a,background:rr}})}};var Lo=(0,fu.Z)("Table",Ee=>{const{colorTextHeading:Ce,colorSplit:Qe,colorIcon:rt,colorIconHover:Pt,opacityLoading:Et,colorBgContainer:$t,controlInteractiveSize:Yt,headerBg:Ut,headerColor:Cn,headerSortActiveBg:vn,headerSortHoverBg:pn,bodySortBg:qn,rowHoverBg:na,rowSelectedBg:ca,rowSelectedHoverBg:Aa,rowExpandedBg:Ht,cellPaddingBlock:Xa,cellPaddingInline:_a,cellPaddingBlockMD:rr,cellPaddingInlineMD:Tr,cellPaddingBlockSM:$r,cellPaddingInlineSM:Dr,borderColor:Gr,footerBg:zr,footerColor:tr,headerBorderRadius:nr,cellFontSize:fr,cellFontSizeMD:Wa,cellFontSizeSM:or,headerSplitColor:Kr,fixedHeaderSortActiveBg:Po,headerFilterHoverBg:lo,filterDropdownBg:Mr,expandIconBg:vo,selectionColumnWidth:Bo,stickyScrollBarBg:Ra}=Ee,wo=new Xl.C(rt),yi=new Xl.C(Pt),Do=2,Xr=(0,Wu.TS)(Ee,{tableFontSize:fr,tableBg:$t,tableRadius:nr,tablePaddingVertical:Xa,tablePaddingHorizontal:_a,tablePaddingVerticalMiddle:rr,tablePaddingHorizontalMiddle:Tr,tablePaddingVerticalSmall:$r,tablePaddingHorizontalSmall:Dr,tableBorderColor:Gr,tableHeaderTextColor:Cn,tableHeaderBg:Ut,tableFooterTextColor:tr,tableFooterBg:zr,tableHeaderCellSplitColor:Kr,tableHeaderSortBg:vn,tableHeaderSortHoverBg:pn,tableHeaderIconColor:wo.clone().setAlpha(wo.getAlpha()*Et).toRgbString(),tableHeaderIconColorHover:yi.clone().setAlpha(yi.getAlpha()*Et).toRgbString(),tableBodySortBg:qn,tableFixedHeaderSortActiveBg:Po,tableHeaderFilterActiveBg:lo,tableFilterDropdownBg:Mr,tableRowHoverBg:na,tableSelectedRowBg:ca,tableSelectedRowHoverBg:Aa,zIndexTableFixed:Do,zIndexTableSticky:Do+1,tableFontSizeMiddle:Wa,tableFontSizeSmall:or,tableSelectionColumnWidth:Bo,tableExpandIconBg:vo,tableExpandColumnWidth:Yt+2*Ee.padding,tableExpandedRowBg:Ht,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ra,tableScrollThumbBgHover:Ce,tableScrollBg:Qe});return[oo(Xr),Ia(Xr),ii(Xr),Ko(Xr),Ca(Xr),Se(Xr),sa(Xr),Tn(Xr),ii(Xr),qt(Xr),wr(Xr),mn(Xr),zo(Xr),tt(Xr),Lr(Xr),Br(Xr),zi(Xr)]},Ee=>{const{colorFillAlter:Ce,colorBgContainer:Qe,colorTextHeading:rt,colorFillSecondary:Pt,colorFillContent:Et,controlItemBgActive:$t,controlItemBgActiveHover:Yt,padding:Ut,paddingSM:Cn,paddingXS:vn,colorBorderSecondary:pn,borderRadiusLG:qn,fontSize:na,controlHeight:ca,colorTextPlaceholder:Aa}=Ee,Ht=new Xl.C(Pt).onBackground(Qe).toHexShortString(),Xa=new Xl.C(Et).onBackground(Qe).toHexShortString(),_a=new Xl.C(Ce).onBackground(Qe).toHexShortString();return{headerBg:_a,headerColor:rt,headerSortActiveBg:Ht,headerSortHoverBg:Xa,bodySortBg:_a,rowHoverBg:_a,rowSelectedBg:$t,rowSelectedHoverBg:Yt,rowExpandedBg:Ce,cellPaddingBlock:Ut,cellPaddingInline:Ut,cellPaddingBlockMD:Cn,cellPaddingInlineMD:vn,cellPaddingBlockSM:vn,cellPaddingInlineSM:vn,borderColor:pn,headerBorderRadius:qn,footerBg:_a,footerColor:rt,cellFontSize:na,cellFontSizeMD:na,cellFontSizeSM:na,headerSplitColor:pn,fixedHeaderSortActiveBg:Ht,headerFilterHoverBg:Et,filterDropdownMenuBg:Qe,filterDropdownBg:Qe,expandIconBg:Qe,selectionColumnWidth:ca,stickyScrollBarBg:Aa,stickyScrollBarBorderRadius:100}});const To=[],wi=(Ee,Ce)=>{const{prefixCls:Qe,className:rt,rootClassName:Pt,style:Et,size:$t,bordered:Yt,dropdownPrefixCls:Ut,dataSource:Cn,pagination:vn,rowSelection:pn,rowKey:qn="key",rowClassName:na,columns:ca,children:Aa,childrenColumnName:Ht,onChange:Xa,getPopupContainer:_a,loading:rr,expandIcon:Tr,expandable:$r,expandedRowRender:Dr,expandIconColumnIndex:Gr,indentSize:zr,scroll:tr,sortDirections:nr,locale:fr,showSorterTooltip:Wa=!0,virtual:or}=Ee,Kr=le.useMemo(()=>ca||pt(Aa),[ca,Aa]),Po=le.useMemo(()=>Kr.some(ea=>ea.responsive),[Kr]),lo=(0,dl.Z)(Po),Mr=le.useMemo(()=>{const ea=new Set(Object.keys(lo).filter(xo=>lo[xo]));return Kr.filter(xo=>!xo.responsive||xo.responsive.some(Ri=>ea.has(Ri)))},[Kr,lo]),vo=(0,tl.Z)(Ee,["className","style","columns"]),{locale:Bo=gl.Z,direction:Ra,table:wo,renderEmpty:yi,getPrefixCls:Do,getPopupContainer:Xr}=le.useContext(Vo.E_),bi=(0,Wi.Z)($t),Qr=Object.assign(Object.assign({},Bo.Table),fr),gi=Cn||To,_o=Do("table",Qe),_i=Do("dropdown",Ut),to=Object.assign({childrenColumnName:Ht,expandIconColumnIndex:Gr},$r),{childrenColumnName:_r="children"}=to,Yr=le.useMemo(()=>gi.some(ea=>ea==null?void 0:ea[_r])?"nest":Dr||$r&&$r.expandedRowRender?"row":null,[gi]),Zr={body:le.useRef()},ce=le.useMemo(()=>typeof qn=="function"?qn:ea=>ea==null?void 0:ea[qn],[qn]),[pe]=Tu(gi,_r,ce),Pe={},Ot=function(ea,xo){let Ri=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Zo,Ci,Mi;const oi=Object.assign(Object.assign({},Pe),ea);Ri&&((Zo=Pe.resetPagination)===null||Zo===void 0||Zo.call(Pe),!((Ci=oi.pagination)===null||Ci===void 0)&&Ci.current&&(oi.pagination.current=1),vn&&vn.onChange&&vn.onChange(1,(Mi=oi.pagination)===null||Mi===void 0?void 0:Mi.pageSize)),tr&&tr.scrollToFirstRowOnChange!==!1&&Zr.body.current&&(0,nl.Z)(0,{getContainer:()=>Zr.body.current}),Xa==null||Xa(oi.pagination,oi.filters,oi.sorter,{currentDataSource:ku(Qi(gi,oi.sorterStates,_r),oi.filterStates),action:xo})},tn=(ea,xo)=>{Ot({sorter:ea,sorterStates:xo},"sort",!1)},[wa,ma,zn,jt]=ls({prefixCls:_o,mergedColumns:Mr,onSorterChange:tn,sortDirections:nr||["ascend","descend"],tableLocale:Qr,showSorterTooltip:Wa}),Yn=le.useMemo(()=>Qi(gi,ma,_r),[gi,ma]);Pe.sorter=jt(),Pe.sorterStates=ma;const xn=(ea,xo)=>{Ot({filters:ea,filterStates:xo},"filter",!0)},[Ct,gn,In]=bu({prefixCls:_o,locale:Qr,dropdownPrefixCls:_i,mergedColumns:Mr,onFilterChange:xn,getPopupContainer:_a||Xr}),ra=ku(Yn,gn);Pe.filters=In,Pe.filterStates=gn;const Hn=le.useMemo(()=>{const ea={};return Object.keys(In).forEach(xo=>{In[xo]!==null&&(ea[xo]=In[xo])}),Object.assign(Object.assign({},zn),{filters:ea})},[zn,In]),[ba]=ss(Hn),ta=(ea,xo)=>{Ot({pagination:Object.assign(Object.assign({},Pe.pagination),{current:ea,pageSize:xo})},"paginate")},[oa,Ka]=fs(ra.length,ta,vn);Pe.pagination=vn===!1?{}:ji(oa,vn),Pe.resetPagination=Ka;const Pn=le.useMemo(()=>{if(vn===!1||!oa.pageSize)return ra;const{current:ea=1,total:xo,pageSize:Ri=bl}=oa;return ra.length<xo?ra.length>Ri?ra.slice((ea-1)*Ri,ea*Ri):ra:ra.slice((ea-1)*Ri,ea*Ri)},[!!vn,ra,oa&&oa.current,oa&&oa.pageSize,oa&&oa.total]),[ya,ja]=qu({prefixCls:_o,data:ra,pageData:Pn,getRowKey:ce,getRecordByKey:pe,expandType:Yr,childrenColumnName:_r,locale:Qr,getPopupContainer:_a||Xr},pn),qr=(ea,xo,Ri)=>{let Zo;return typeof na=="function"?Zo=Ke()(na(ea,xo,Ri)):Zo=Ke()(na),Ke()({[`${_o}-row-selected`]:ja.has(ce(ea,xo))},Zo)};to.__PARENT_RENDER_ICON__=to.expandIcon,to.expandIcon=to.expandIcon||Tr||Ya(Qr),Yr==="nest"&&to.expandIconColumnIndex===void 0?to.expandIconColumnIndex=pn?1:0:to.expandIconColumnIndex>0&&pn&&(to.expandIconColumnIndex-=1),typeof to.indentSize!="number"&&(to.indentSize=typeof zr=="number"?zr:15);const cr=le.useCallback(ea=>ba(ya(Ct(wa(ea)))),[wa,Ct,ya]);let li,Za;if(vn!==!1&&(oa!=null&&oa.total)){let ea;oa.size?ea=oa.size:ea=bi==="small"||bi==="middle"?"small":void 0;const xo=Ci=>le.createElement(Pl.Z,Object.assign({},oa,{className:Ke()(`${_o}-pagination ${_o}-pagination-${Ci}`,oa.className),size:ea})),Ri=Ra==="rtl"?"left":"right",{position:Zo}=oa;if(Zo!==null&&Array.isArray(Zo)){const Ci=Zo.find(il=>il.includes("top")),Mi=Zo.find(il=>il.includes("bottom")),oi=Zo.every(il=>`${il}`=="none");!Ci&&!Mi&&!oi&&(Za=xo(Ri)),Ci&&(li=xo(Ci.toLowerCase().replace("top",""))),Mi&&(Za=xo(Mi.toLowerCase().replace("bottom","")))}else Za=xo(Ri)}let Co;typeof rr=="boolean"?Co={spinning:rr}:typeof rr=="object"&&(Co=Object.assign({spinning:!0},rr));const[Cr,ao]=Lo(_o),[,Eo]=(0,Qa.Z)(),hi=Ke()(`${_o}-wrapper`,wo==null?void 0:wo.className,{[`${_o}-wrapper-rtl`]:Ra==="rtl"},rt,Pt,ao),mi=Object.assign(Object.assign({},wo==null?void 0:wo.style),Et),pr=fr&&fr.emptyText||(yi==null?void 0:yi("Table"))||le.createElement(Fi.Z,{componentName:"Table"}),po=or?Jl:Gu,Ki={},Li=le.useMemo(()=>{const{fontSize:ea,lineHeight:xo,padding:Ri,paddingXS:Zo,paddingSM:Ci}=Eo,Mi=Math.floor(ea*xo);switch(bi){case"large":return Ri*2+Mi;case"small":return Zo*2+Mi;default:return Ci*2+Mi}},[Eo,bi]);return or&&(Ki.listItemHeight=Li),Cr(le.createElement("div",{ref:Ce,className:hi,style:mi},le.createElement(kr.Z,Object.assign({spinning:!1},Co),li,le.createElement(po,Object.assign({},Ki,vo,{columns:Mr,direction:Ra,expandable:to,prefixCls:_o,className:Ke()({[`${_o}-middle`]:bi==="middle",[`${_o}-small`]:bi==="small",[`${_o}-bordered`]:Yt,[`${_o}-empty`]:gi.length===0}),data:Pn,rowKey:ce,rowClassName:qr,emptyText:pr,internalHooks:de,internalRefs:Zr,transformColumns:cr})),Za)))};var Ni=le.forwardRef(wi);const fi=(Ee,Ce)=>{const Qe=le.useRef(0);return Qe.current+=1,le.createElement(Ni,Object.assign({},Ee,{ref:Ce,_renderTimes:Qe.current}))},Ro=le.forwardRef(fi);Ro.SELECTION_COLUMN=Il,Ro.EXPAND_COLUMN=b,Ro.SELECTION_ALL=Hu,Ro.SELECTION_INVERT=xu,Ro.SELECTION_NONE=Fu,Ro.Column=di,Ro.ColumnGroup=Ui,Ro.Summary=Oe;var ol=Ro,Xi=ol},12563:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return He}});var b=ee(59301),de=ee(99267),Be=ee(92310),Ne=ee.n(Be),Ze=ee(36785),ke=ee(47729),le=ee(14088),st=ee(36355),et=ee(17313),Ve=ee(37613),Ge=ee(83116);const Je=he=>{const{paddingXXS:qe,lineWidth:Ke,tagPaddingHorizontal:ht,componentCls:Le}=he,ot=ht-Ke,lt=qe-Ke;return{[Le]:Object.assign(Object.assign({},(0,et.Wf)(he)),{display:"inline-block",height:"auto",marginInlineEnd:he.marginXS,paddingInline:ot,fontSize:he.tagFontSize,lineHeight:he.tagLineHeight,whiteSpace:"nowrap",background:he.defaultBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusSM,opacity:1,transition:`all ${he.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Le}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:he.defaultColor},[`${Le}-close-icon`]:{marginInlineStart:lt,color:he.colorTextDescription,fontSize:he.tagIconSize,cursor:"pointer",transition:`all ${he.motionDurationMid}`,"&:hover":{color:he.colorTextHeading}},[`&${Le}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${he.iconCls}-close, ${he.iconCls}-close:hover`]:{color:he.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Le}-checkable-checked):hover`]:{color:he.colorPrimary,backgroundColor:he.colorFillSecondary},"&:active, &-checked":{color:he.colorTextLightSolid},"&-checked":{backgroundColor:he.colorPrimary,"&:hover":{backgroundColor:he.colorPrimaryHover}},"&:active":{backgroundColor:he.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${he.iconCls} + span, > span + ${he.iconCls}`]:{marginInlineStart:ot}}),[`${Le}-borderless`]:{borderColor:"transparent",background:he.tagBorderlessBg}}},Ye=he=>{const{lineWidth:qe,fontSizeIcon:Ke}=he,ht=he.fontSizeSM,Le=`${he.lineHeightSM*ht}px`;return(0,Ve.TS)(he,{tagFontSize:ht,tagLineHeight:Le,tagIconSize:Ke-2*qe,tagPaddingHorizontal:8,tagBorderlessBg:he.colorFillTertiary})},se=he=>({defaultBg:he.colorFillQuaternary,defaultColor:he.colorText});var E=(0,Ge.Z)("Tag",he=>{const qe=Ye(he);return Je(qe)},se),a=function(he,qe){var Ke={};for(var ht in he)Object.prototype.hasOwnProperty.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ht=Object.getOwnPropertySymbols(he);Le<ht.length;Le++)qe.indexOf(ht[Le])<0&&Object.prototype.propertyIsEnumerable.call(he,ht[Le])&&(Ke[ht[Le]]=he[ht[Le]]);return Ke},y=he=>{const{prefixCls:qe,style:Ke,className:ht,checked:Le,onChange:ot,onClick:lt}=he,gt=a(he,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ft,tag:ln}=b.useContext(st.E_),xt=rn=>{ot==null||ot(!Le),lt==null||lt(rn)},an=ft("tag",qe),[hn,$e]=E(an),dt=Ne()(an,`${an}-checkable`,{[`${an}-checkable-checked`]:Le},ln==null?void 0:ln.className,ht,$e);return hn(b.createElement("span",Object.assign({},gt,{style:Object.assign(Object.assign({},Ke),ln==null?void 0:ln.style),className:dt,onClick:xt})))},z=ee(45157);const ne=he=>(0,z.Z)(he,(qe,Ke)=>{let{textColor:ht,lightBorderColor:Le,lightColor:ot,darkColor:lt}=Ke;return{[`${he.componentCls}-${qe}`]:{color:ht,background:ot,borderColor:Le,"&-inverse":{color:he.colorTextLightSolid,background:lt,borderColor:lt},[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,Ge.b)(["Tag","preset"],he=>{const qe=Ye(he);return ne(qe)},se);function ue(he){return typeof he!="string"?he:he.charAt(0).toUpperCase()+he.slice(1)}const ie=(he,qe,Ke)=>{const ht=ue(Ke);return{[`${he.componentCls}-${qe}`]:{color:he[`color${Ke}`],background:he[`color${ht}Bg`],borderColor:he[`color${ht}Border`],[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ve=(0,Ge.b)(["Tag","status"],he=>{const qe=Ye(he);return[ie(qe,"success","Success"),ie(qe,"processing","Info"),ie(qe,"error","Error"),ie(qe,"warning","Warning")]},se),be=function(he,qe){var Ke={};for(var ht in he)Object.prototype.hasOwnProperty.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ht=Object.getOwnPropertySymbols(he);Le<ht.length;Le++)qe.indexOf(ht[Le])<0&&Object.prototype.propertyIsEnumerable.call(he,ht[Le])&&(Ke[ht[Le]]=he[ht[Le]]);return Ke};const je=(he,qe)=>{const{prefixCls:Ke,className:ht,rootClassName:Le,style:ot,children:lt,icon:gt,color:ft,onClose:ln,closeIcon:xt,closable:an,bordered:hn=!0}=he,$e=be(he,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:dt,direction:rn,tag:Vn}=b.useContext(st.E_),[Zt,Fn]=b.useState(!0);b.useEffect(()=>{"visible"in $e&&Fn($e.visible)},[$e.visible]);const ze=(0,Ze.o2)(ft),ct=(0,Ze.yT)(ft),Lt=ze||ct,mt=Object.assign(Object.assign({backgroundColor:ft&&!Lt?ft:void 0},Vn==null?void 0:Vn.style),ot),Nt=dt("tag",Ke),[ut,at]=E(Nt),De=Ne()(Nt,Vn==null?void 0:Vn.className,{[`${Nt}-${ft}`]:Lt,[`${Nt}-has-color`]:ft&&!Lt,[`${Nt}-hidden`]:!Zt,[`${Nt}-rtl`]:rn==="rtl",[`${Nt}-borderless`]:!hn},ht,Le,at),fe=nt=>{nt.stopPropagation(),ln==null||ln(nt),!nt.defaultPrevented&&Fn(!1)},[,Xe]=(0,ke.Z)(an,xt,nt=>nt===null?b.createElement(de.Z,{className:`${Nt}-close-icon`,onClick:fe}):b.createElement("span",{className:`${Nt}-close-icon`,onClick:fe},nt),null,!1),Rt=typeof $e.onClick=="function"||lt&&lt.type==="a",Oe=gt||null,Ie=Oe?b.createElement(b.Fragment,null,Oe,lt&&b.createElement("span",null,lt)):lt,St=b.createElement("span",Object.assign({},$e,{ref:qe,className:De,style:mt}),Ie,Xe,ze&&b.createElement(re,{key:"preset",prefixCls:Nt}),ct&&b.createElement(ve,{key:"status",prefixCls:Nt}));return ut(Rt?b.createElement(le.Z,{component:"Tag"},St):St)},Ae=b.forwardRef(je);Ae.CheckableTag=y;var He=Ae},98228:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return yr}});var b=ee(92310),de=ee.n(b),Be=ee(72308),Ne=ee(80702),Ze=ee(77321),ke=ee(52487),le=ee(74416),st=ee(62853),et=ee(77861),Ve=ee(17115),Ge=ee(90782),Je=ee(18929),Ye=ee(48736),se=ee(59301),E=function(en){var On=se.useRef({valueLabels:new Map});return se.useMemo(function(){var ia=On.current.valueLabels,xa=new Map,We=en.map(function(It){var _t,Vt=It.value,Wt=(_t=It.label)!==null&&_t!==void 0?_t:ia.get(Vt);return xa.set(Vt,Wt),(0,Ze.Z)((0,Ze.Z)({},It),{},{label:Wt})});return On.current.valueLabels=xa,[We]},[en])},a=function(en,On,ia,xa){return se.useMemo(function(){var We=en.map(function(Wt){var Rn=Wt.value;return Rn}),It=On.map(function(Wt){var Rn=Wt.value;return Rn}),_t=We.filter(function(Wt){return!xa[Wt]});if(ia){var Vt=(0,Ge.S)(We,!0,xa);We=Vt.checkedKeys,It=Vt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ne.Z)(_t),(0,Ne.Z)(We)))),It]},[en,On,ia,xa])},x=ee(71430),y=function(en,On){return se.useMemo(function(){var ia=(0,x.I8)(en,{fieldNames:On,initWrapper:function(We){return(0,Ze.Z)((0,Ze.Z)({},We),{},{valueEntities:new Map})},processEntity:function(We,It){var _t=We.node[On.value];if(0)var Vt;It.valueEntities.set(_t,We)}});return ia},[en,On])},z=ee(49618),ne=ee(11592),re=function(){return null},ue=re,ie=["children","value"];function ve(en){return(0,ne.Z)(en).map(function(On){if(!se.isValidElement(On)||!On.type)return null;var ia=On,xa=ia.key,We=ia.props,It=We.children,_t=We.value,Vt=(0,le.Z)(We,ie),Wt=(0,Ze.Z)({key:xa,value:_t},Vt),Rn=ve(It);return Rn.length&&(Wt.children=Rn),Wt}).filter(function(On){return On})}function be(en){if(!en)return en;var On=(0,Ze.Z)({},en);return"props"in On||Object.defineProperty(On,"props",{get:function(){return(0,Ye.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),On}}),On}function je(en,On,ia,xa,We,It){var _t=null,Vt=null;function Wt(){function Rn(wn){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return wn.map(function(pt,Sn){var Wn="".concat(vt,"-").concat(Sn),An=pt[It.value],ka=ia.includes(An),pa=Rn(pt[It.children]||[],Wn,ka),_n=se.createElement(ue,pt,pa.map(function(Pa){return Pa.node}));if(On===An&&(_t=_n),ka){var Ea={pos:Wn,node:_n,children:pa};return Bt||Vt.push(Ea),Ea}return null}).filter(function(pt){return pt})}Vt||(Vt=[],Rn(xa),Vt.sort(function(wn,vt){var Bt=wn.node.props.value,pt=vt.node.props.value,Sn=ia.indexOf(Bt),Wn=ia.indexOf(pt);return Sn-Wn}))}Object.defineProperty(en,"triggerNode",{get:function(){return(0,Ye.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Wt(),_t}}),Object.defineProperty(en,"allCheckedNodes",{get:function(){return(0,Ye.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Wt(),We?Vt:Vt.map(function(wn){var vt=wn.node;return vt})}})}var Ae=function(en,On,ia){var xa=ia.treeNodeFilterProp,We=ia.filterTreeNode,It=ia.fieldNames,_t=It.children;return se.useMemo(function(){if(!On||We===!1)return en;var Vt;if(typeof We=="function")Vt=We;else{var Wt=On.toUpperCase();Vt=function(vt,Bt){var pt=Bt[xa];return String(pt).toUpperCase().includes(Wt)}}function Rn(wn){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return wn.reduce(function(Bt,pt){var Sn=pt[_t],Wn=vt||Vt(On,be(pt)),An=Rn(Sn||[],Wn);return(Wn||An.length)&&Bt.push((0,Ze.Z)((0,Ze.Z)({},pt),{},(0,z.Z)({isLeaf:void 0},_t,An))),Bt},[])}return Rn(en)},[en,On,_t,xa,We])};function He(en){var On=se.useRef();On.current=en;var ia=se.useCallback(function(){return On.current.apply(On,arguments)},[]);return ia}function he(en,On){var ia=On.id,xa=On.pId,We=On.rootPId,It={},_t=[],Vt=en.map(function(Wt){var Rn=(0,Ze.Z)({},Wt),wn=Rn[ia];return It[wn]=Rn,Rn.key=Rn.key||wn,Rn});return Vt.forEach(function(Wt){var Rn=Wt[xa],wn=It[Rn];wn&&(wn.children=wn.children||[],wn.children.push(Wt)),(Rn===We||!wn&&We===null)&&_t.push(Wt)}),_t}function qe(en,On,ia){return se.useMemo(function(){return en?ia?he(en,(0,Ze.Z)({id:"id",pId:"pId",rootPId:null},ia!==!0?ia:{})):en:ve(On)},[On,ia,en])}var Ke=se.createContext(null),ht=Ke,Le=ee(10228),ot=ee(80547),lt=ee(54844),gt=se.createContext(null),ft=gt;function ln(en){return Array.isArray(en)?en:en!==void 0?[en]:[]}function xt(en){var On=en||{},ia=On.label,xa=On.value,We=On.children,It=xa||"value";return{_title:ia?[ia]:["title","label"],value:It,key:It,children:We||"children"}}function an(en){return!en||en.disabled||en.disableCheckbox||en.checkable===!1}function hn(en,On){var ia=[];function xa(We){We.forEach(function(It){var _t=It[On.children];_t&&(ia.push(It[On.value]),xa(_t))})}return xa(en),ia}function $e(en){return en==null}var dt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},rn=function(On,ia){var xa=(0,et.lk)(),We=xa.prefixCls,It=xa.multiple,_t=xa.searchValue,Vt=xa.toggleOpen,Wt=xa.open,Rn=xa.notFoundContent,wn=se.useContext(ft),vt=wn.virtual,Bt=wn.listHeight,pt=wn.listItemHeight,Sn=wn.treeData,Wn=wn.fieldNames,An=wn.onSelect,ka=wn.dropdownMatchSelectWidth,pa=wn.treeExpandAction,_n=se.useContext(ht),Ea=_n.checkable,Pa=_n.checkedKeys,Dn=_n.halfCheckedKeys,lr=_n.treeExpandedKeys,Nr=_n.treeDefaultExpandAll,Ur=_n.treeDefaultExpandedKeys,Sr=_n.onTreeExpand,Ue=_n.treeIcon,bn=_n.showTreeIcon,Xt=_n.switcherIcon,Nn=_n.treeLine,Kn=_n.treeNodeFilterProp,la=_n.loadData,Qn=_n.treeLoadedKeys,Un=_n.treeMotion,ur=_n.onTreeLoad,da=_n.keyEntities,En=se.useRef(),dr=(0,ot.Z)(function(){return Sn},[Wt,Sn],function(eo,Qo){return Qo[0]&&eo[1]!==Qo[1]}),xr=se.useState(null),Wr=(0,ke.Z)(xr,2),Ir=Wr[0],ha=Wr[1],za=da[Ir],Ua=se.useMemo(function(){return Ea?{checked:Pa,halfChecked:Dn}:null},[Ea,Pa,Dn]);se.useEffect(function(){if(Wt&&!It&&Pa.length){var eo;(eo=En.current)===null||eo===void 0||eo.scrollTo({key:Pa[0]}),ha(Pa[0])}},[Wt]);var La=String(_t).toLowerCase(),Or=function(Qo){return La?String(Qo[Kn]).toLowerCase().includes(La):!1},no=se.useState(Ur),Fr=(0,ke.Z)(no,2),Er=Fr[0],Pr=Fr[1],si=se.useState(null),ai=(0,ke.Z)(si,2),xi=ai[0],ho=ai[1],yo=se.useMemo(function(){return lr?(0,Ne.Z)(lr):_t?xi:Er},[Er,xi,lr,_t]);se.useEffect(function(){_t&&ho(hn(Sn,Wn))},[_t]);var Go=function(Qo){Pr(Qo),ho(Qo),Sr&&Sr(Qo)},Mo=function(Qo){Qo.preventDefault()},Ao=function(Qo,Yo){var Oo=Yo.node;Ea&&an(Oo)||(An(Oo.key,{selected:!Pa.includes(Oo.key)}),It||Vt(!1))};if(se.useImperativeHandle(ia,function(){var eo;return{scrollTo:(eo=En.current)===null||eo===void 0?void 0:eo.scrollTo,onKeyDown:function(Yo){var Oo,br=Yo.which;switch(br){case Le.Z.UP:case Le.Z.DOWN:case Le.Z.LEFT:case Le.Z.RIGHT:(Oo=En.current)===null||Oo===void 0||Oo.onKeyDown(Yo);break;case Le.Z.ENTER:{if(za){var ri=(za==null?void 0:za.node)||{},Hr=ri.selectable,ko=ri.value;Hr!==!1&&Ao(null,{node:{key:Ir},selected:!Pa.includes(ko)})}break}case Le.Z.ESC:Vt(!1)}},onKeyUp:function(){}}}),dr.length===0)return se.createElement("div",{role:"listbox",className:"".concat(We,"-empty"),onMouseDown:Mo},Rn);var gr={fieldNames:Wn};return Qn&&(gr.loadedKeys=Qn),yo&&(gr.expandedKeys=yo),se.createElement("div",{onMouseDown:Mo},za&&Wt&&se.createElement("span",{style:dt,"aria-live":"assertive"},za.node.value),se.createElement(lt.Z,(0,Be.Z)({ref:En,focusable:!1,prefixCls:"".concat(We,"-tree"),treeData:dr,height:Bt,itemHeight:pt,virtual:vt!==!1&&ka!==!1,multiple:It,icon:Ue,showIcon:bn,switcherIcon:Xt,showLine:Nn,loadData:_t?null:la,motion:Un,activeKey:Ir,checkable:Ea,checkStrictly:!0,checkedKeys:Ua,selectedKeys:Ea?[]:Pa,defaultExpandAll:Nr},gr,{onActiveChange:ha,onSelect:Ao,onCheck:Ao,onExpand:Go,onLoad:ur,filterTreeNode:Or,expandAction:pa})))},Vn=se.forwardRef(rn);Vn.displayName="OptionList";var Zt=Vn,Fn="SHOW_ALL",ze="SHOW_PARENT",ct="SHOW_CHILD";function Lt(en,On,ia,xa){var We=new Set(en);return On===ct?en.filter(function(It){var _t=ia[It];return!(_t&&_t.children&&_t.children.some(function(Vt){var Wt=Vt.node;return We.has(Wt[xa.value])})&&_t.children.every(function(Vt){var Wt=Vt.node;return an(Wt)||We.has(Wt[xa.value])}))}):On===ze?en.filter(function(It){var _t=ia[It],Vt=_t?_t.parent:null;return!(Vt&&!an(Vt.node)&&We.has(Vt.key))}):en}function mt(en){var On=en.searchPlaceholder,ia=en.treeCheckStrictly,xa=en.treeCheckable,We=en.labelInValue,It=en.value,_t=en.multiple;warning(!On,"`searchPlaceholder` has been removed."),ia&&We===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(We||ia)&&warning(toArray(It).every(function(Vt){return Vt&&_typeof(Vt)==="object"&&"value"in Vt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),ia||_t||xa?warning(!It||Array.isArray(It),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(It),"`value` should not be array when `TreeSelect` is single mode.")}var Nt=null,ut=["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 at(en){return!en||(0,st.Z)(en)!=="object"}var De=se.forwardRef(function(en,On){var ia=en.id,xa=en.prefixCls,We=xa===void 0?"rc-tree-select":xa,It=en.value,_t=en.defaultValue,Vt=en.onChange,Wt=en.onSelect,Rn=en.onDeselect,wn=en.searchValue,vt=en.inputValue,Bt=en.onSearch,pt=en.autoClearSearchValue,Sn=pt===void 0?!0:pt,Wn=en.filterTreeNode,An=en.treeNodeFilterProp,ka=An===void 0?"value":An,pa=en.showCheckedStrategy,_n=en.treeNodeLabelProp,Ea=en.multiple,Pa=en.treeCheckable,Dn=en.treeCheckStrictly,lr=en.labelInValue,Nr=en.fieldNames,Ur=en.treeDataSimpleMode,Sr=en.treeData,Ue=en.children,bn=en.loadData,Xt=en.treeLoadedKeys,Nn=en.onTreeLoad,Kn=en.treeDefaultExpandAll,la=en.treeExpandedKeys,Qn=en.treeDefaultExpandedKeys,Un=en.onTreeExpand,ur=en.treeExpandAction,da=en.virtual,En=en.listHeight,dr=En===void 0?200:En,xr=en.listItemHeight,Wr=xr===void 0?20:xr,Ir=en.onDropdownVisibleChange,ha=en.dropdownMatchSelectWidth,za=ha===void 0?!0:ha,Ua=en.treeLine,La=en.treeIcon,Or=en.showTreeIcon,no=en.switcherIcon,Fr=en.treeMotion,Er=(0,le.Z)(en,ut),Pr=(0,Ve.ZP)(ia),si=Pa&&!Dn,ai=Pa||Dn,xi=Dn||lr,ho=ai||Ea,yo=(0,Je.Z)(_t,{value:It}),Go=(0,ke.Z)(yo,2),Mo=Go[0],Ao=Go[1],gr=se.useMemo(function(){return Pa?pa||ct:Fn},[pa,Pa]),eo=se.useMemo(function(){return xt(Nr)},[JSON.stringify(Nr)]),Qo=(0,Je.Z)("",{value:wn!==void 0?wn:vt,postState:function(Ta){return Ta||""}}),Yo=(0,ke.Z)(Qo,2),Oo=Yo[0],br=Yo[1],ri=function(Ta){br(Ta),Bt==null||Bt(Ta)},Hr=qe(Sr,Ue,Ur),ko=y(Hr,eo),mo=ko.keyEntities,di=ko.valueEntities,vi=se.useCallback(function(Ha){var Ta=[],Ja=[];return Ha.forEach(function(Rr){di.has(Rr)?Ja.push(Rr):Ta.push(Rr)}),{missingRawValues:Ta,existRawValues:Ja}},[di]),Ui=Ae(Hr,Oo,{fieldNames:eo,treeNodeFilterProp:ka,filterTreeNode:Wn}),tl=se.useCallback(function(Ha){if(Ha){if(_n)return Ha[_n];for(var Ta=eo._title,Ja=0;Ja<Ta.length;Ja+=1){var Rr=Ha[Ta[Ja]];if(Rr!==void 0)return Rr}}},[eo,_n]),nl=se.useCallback(function(Ha){var Ta=ln(Ha);return Ta.map(function(Ja){return at(Ja)?{value:Ja}:Ja})},[]),Vo=se.useCallback(function(Ha){var Ta=nl(Ha);return Ta.map(function(Ja){var Rr=Ja.label,bo=Ja.value,$o=Ja.halfChecked,Wo,Ti=di.get(bo);if(Ti){var Ji;Rr=(Ji=Rr)!==null&&Ji!==void 0?Ji:tl(Ti.node),Wo=Ti.node.disabled}else if(Rr===void 0){var al=nl(Mo).find(function(Zl){return Zl.value===bo});Rr=al.label}return{label:Rr,value:bo,halfChecked:$o,disabled:Wo}})},[di,tl,nl,Mo]),Fi=se.useMemo(function(){return nl(Mo)},[nl,Mo]),Wi=se.useMemo(function(){var Ha=[],Ta=[];return Fi.forEach(function(Ja){Ja.halfChecked?Ta.push(Ja):Ha.push(Ja)}),[Ha,Ta]},[Fi]),dl=(0,ke.Z)(Wi,2),gl=dl[0],Pl=dl[1],kr=se.useMemo(function(){return gl.map(function(Ha){return Ha.value})},[gl]),Qa=a(gl,Pl,si,mo),Ga=(0,ke.Z)(Qa,2),Ya=Ga[0],so=Ga[1],we=se.useMemo(function(){var Ha=Lt(Ya,gr,mo,eo),Ta=Ha.map(function($o){var Wo,Ti,Ji;return(Wo=(Ti=mo[$o])===null||Ti===void 0||(Ji=Ti.node)===null||Ji===void 0?void 0:Ji[eo.value])!==null&&Wo!==void 0?Wo:$o}),Ja=Ta.map(function($o){var Wo=gl.find(function(Ti){return Ti.value===$o});return{value:$o,label:Wo==null?void 0:Wo.label}}),Rr=Vo(Ja),bo=Rr[0];return!ho&&bo&&$e(bo.value)&&$e(bo.label)?[]:Rr.map(function($o){var Wo;return(0,Ze.Z)((0,Ze.Z)({},$o),{},{label:(Wo=$o.label)!==null&&Wo!==void 0?Wo:$o.value})})},[eo,ho,Ya,gl,Vo,gr,mo]),fn=E(we),Mn=(0,ke.Z)(fn,1),Sa=Mn[0],on=He(function(Ha,Ta,Ja){var Rr=Vo(Ha);if(Ao(Rr),Sn&&br(""),Vt){var bo=Ha;if(si){var $o=Lt(Ha,gr,mo,eo);bo=$o.map(function(Nl){var xl=di.get(Nl);return xl?xl.node[eo.value]:Nl})}var Wo=Ta||{triggerValue:void 0,selected:void 0},Ti=Wo.triggerValue,Ji=Wo.selected,al=bo;if(Dn){var Zl=Pl.filter(function(Nl){return!bo.includes(Nl.value)});al=[].concat((0,Ne.Z)(al),(0,Ne.Z)(Zl))}var Al=Vo(al),So={preValue:gl,triggerValue:Ti},yl=!0;(Dn||Ja==="selection"&&!Ji)&&(yl=!1),je(So,Ti,Ha,Hr,yl,eo),ai?So.checked=Ji:So.selected=Ji;var eu=xi?Al:Al.map(function(Nl){return Nl.value});Vt(ho?eu:eu[0],xi?null:Al.map(function(Nl){return Nl.label}),So)}}),Ma=se.useCallback(function(Ha,Ta){var Ja,Rr=Ta.selected,bo=Ta.source,$o=mo[Ha],Wo=$o==null?void 0:$o.node,Ti=(Ja=Wo==null?void 0:Wo[eo.value])!==null&&Ja!==void 0?Ja:Ha;if(!ho)on([Ti],{selected:!0,triggerValue:Ti},"option");else{var Ji=Rr?[].concat((0,Ne.Z)(kr),[Ti]):Ya.filter(function(xl){return xl!==Ti});if(si){var al=vi(Ji),Zl=al.missingRawValues,Al=al.existRawValues,So=Al.map(function(xl){return di.get(xl).key}),yl;if(Rr){var eu=(0,Ge.S)(So,!0,mo);yl=eu.checkedKeys}else{var Nl=(0,Ge.S)(So,{checked:!1,halfCheckedKeys:so},mo);yl=Nl.checkedKeys}Ji=[].concat((0,Ne.Z)(Zl),(0,Ne.Z)(yl.map(function(xl){return mo[xl].node[eo.value]})))}on(Ji,{selected:Rr,triggerValue:Ti},bo||"option")}Rr||!ho?Wt==null||Wt(Ti,be(Wo)):Rn==null||Rn(Ti,be(Wo))},[vi,di,mo,eo,ho,kr,on,si,Wt,Rn,Ya,so]),Fa=se.useCallback(function(Ha){if(Ir){var Ta={};Object.defineProperty(Ta,"documentClickClose",{get:function(){return(0,Ye.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Ir(Ha,Ta)}},[Ir]),jn=He(function(Ha,Ta){var Ja=Ha.map(function(Rr){return Rr.value});if(Ta.type==="clear"){on(Ja,{},"selection");return}Ta.values.length&&Ma(Ta.values[0].value,{selected:!1,source:"selection"})}),Xn=se.useMemo(function(){return{virtual:da,dropdownMatchSelectWidth:za,listHeight:dr,listItemHeight:Wr,treeData:Ui,fieldNames:eo,onSelect:Ma,treeExpandAction:ur}},[da,za,dr,Wr,Ui,eo,Ma,ur]),sr=se.useMemo(function(){return{checkable:ai,loadData:bn,treeLoadedKeys:Xt,onTreeLoad:Nn,checkedKeys:Ya,halfCheckedKeys:so,treeDefaultExpandAll:Kn,treeExpandedKeys:la,treeDefaultExpandedKeys:Qn,onTreeExpand:Un,treeIcon:La,treeMotion:Fr,showTreeIcon:Or,switcherIcon:no,treeLine:Ua,treeNodeFilterProp:ka,keyEntities:mo}},[ai,bn,Xt,Nn,Ya,so,Kn,la,Qn,Un,La,Fr,Or,no,Ua,ka,mo]);return se.createElement(ft.Provider,{value:Xn},se.createElement(ht.Provider,{value:sr},se.createElement(et.Ac,(0,Be.Z)({ref:On},Er,{id:Pr,prefixCls:We,mode:ho?"multiple":void 0,displayValues:Sa,onDisplayValuesChange:jn,searchValue:Oo,onSearch:ri,OptionList:Zt,emptyOptions:!Hr.length,onDropdownVisibleChange:Fa,dropdownMatchSelectWidth:za}))))}),fe=De;fe.TreeNode=ue,fe.SHOW_ALL=Fn,fe.SHOW_PARENT=ze,fe.SHOW_CHILD=ct;var Xe=fe,Rt=Xe,Oe=ee(2738),Ie=ee(53487),St=ee(62892),nt=ee(19080),Me=ee(36355),yt=ee(1684),Bn=ee(93891),nn=ee(19716),dn=ee(32441),un=ee(14154),yn=ee(58582),Te=ee(84443),Ft=ee(66339),zt=ee(33234),wt=ee(71997),kt=ee(98447),sn=ee(37613),cn=ee(83116),Ln=ee(20648);const Jn=en=>{const{componentCls:On,treePrefixCls:ia,colorBgElevated:xa}=en,We=`.${ia}`;return[{[`${On}-dropdown`]:[{padding:`${en.paddingXS}px ${en.paddingXS/2}px`},(0,Ln.Yk)(ia,(0,sn.TS)(en,{colorBgContainer:xa})),{[We]:{borderRadius:0,[`${We}-list-holder-inner`]:{alignItems:"stretch",[`${We}-treenode`]:{[`${We}-node-content-wrapper`]:{flex:"auto"}}}}},(0,kt.C2)(`${ia}-checkbox`,en),{"&-rtl":{direction:"rtl",[`${We}-switcher${We}-switcher_close`]:{[`${We}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function va(en,On){return(0,cn.Z)("TreeSelect",ia=>{const xa=(0,sn.TS)(ia,{treePrefixCls:On});return[Jn(xa)]},Ln.TM)(en)}var Da=function(en,On){var ia={};for(var xa in en)Object.prototype.hasOwnProperty.call(en,xa)&&On.indexOf(xa)<0&&(ia[xa]=en[xa]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,xa=Object.getOwnPropertySymbols(en);We<xa.length;We++)On.indexOf(xa[We])<0&&Object.prototype.propertyIsEnumerable.call(en,xa[We])&&(ia[xa[We]]=en[xa[We]]);return ia};const Na=(en,On)=>{var ia,{prefixCls:xa,size:We,disabled:It,bordered:_t=!0,className:Vt,rootClassName:Wt,treeCheckable:Rn,multiple:wn,listHeight:vt=256,listItemHeight:Bt=26,placement:pt,notFoundContent:Sn,switcherIcon:Wn,treeLine:An,getPopupContainer:ka,popupClassName:pa,dropdownClassName:_n,treeIcon:Ea=!1,transitionName:Pa,choiceTransitionName:Dn="",status:lr,treeExpandAction:Nr,builtinPlacements:Ur,dropdownMatchSelectWidth:Sr,popupMatchSelectWidth:Ue,allowClear:bn}=en,Xt=Da(en,["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:Nn,getPrefixCls:Kn,renderEmpty:la,direction:Qn,virtual:Un,popupMatchSelectWidth:ur,popupOverflow:da}=se.useContext(Me.E_),En=Kn(),dr=Kn("select",xa),xr=Kn("select-tree",xa),Wr=Kn("tree-select",xa),{compactSize:Ir,compactItemClassnames:ha}=(0,zt.ri)(dr,Qn),[za,Ua]=(0,un.Z)(dr),[La]=va(Wr,xr),Or=de()(pa||_n,`${Wr}-dropdown`,{[`${Wr}-dropdown-rtl`]:Qn==="rtl"},Wt,Ua),no=!!(Rn||wn),Fr=(0,Te.Z)(Xt.suffixIcon,Xt.showArrow),Er=(ia=Ue!=null?Ue:Sr)!==null&&ia!==void 0?ia:ur,{status:Pr,hasFeedback:si,isFormItemInput:ai,feedbackIcon:xi}=se.useContext(dn.aM),ho=(0,nt.F)(Pr,lr),{suffixIcon:yo,removeIcon:Go,clearIcon:Mo}=(0,Ft.Z)(Object.assign(Object.assign({},Xt),{multiple:no,showSuffixIcon:Fr,hasFeedback:si,feedbackIcon:xi,prefixCls:dr,componentName:"TreeSelect"})),Ao=bn===!0?{clearIcon:Mo}:bn;let gr;Sn!==void 0?gr=Sn:gr=(la==null?void 0:la("Select"))||se.createElement(Bn.Z,{componentName:"Select"});const eo=(0,Oe.Z)(Xt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Qo=se.useMemo(()=>pt!==void 0?pt:Qn==="rtl"?"bottomRight":"bottomLeft",[pt,Qn]),Yo=(0,yn.Z)(Ur,da),Oo=(0,nn.Z)(di=>{var vi;return(vi=We!=null?We:Ir)!==null&&vi!==void 0?vi:di}),br=se.useContext(yt.Z),ri=It!=null?It:br,Hr=de()(!xa&&Wr,{[`${dr}-lg`]:Oo==="large",[`${dr}-sm`]:Oo==="small",[`${dr}-rtl`]:Qn==="rtl",[`${dr}-borderless`]:!_t,[`${dr}-in-form-item`]:ai},(0,nt.Z)(dr,ho,si),ha,Vt,Wt,Ua),ko=di=>se.createElement(wt.Z,{prefixCls:xr,switcherIcon:Wn,treeNodeProps:di,showLine:An}),mo=se.createElement(Rt,Object.assign({virtual:Un,disabled:ri},eo,{dropdownMatchSelectWidth:Er,builtinPlacements:Yo,ref:On,prefixCls:dr,className:Hr,listHeight:vt,listItemHeight:Bt,treeCheckable:Rn&&se.createElement("span",{className:`${dr}-tree-checkbox-inner`}),treeLine:!!An,suffixIcon:yo,multiple:no,placement:Qo,removeIcon:Go,allowClear:Ao,switcherIcon:ko,showTreeIcon:Ea,notFoundContent:gr,getPopupContainer:ka||Nn,treeMotion:null,dropdownClassName:Or,choiceTransitionName:(0,St.m)(En,"",Dn),transitionName:(0,St.m)(En,"slide-up",Pa),treeExpandAction:Nr}));return za(La(mo))},$a=se.forwardRef(Na),fa=(0,Ie.Z)($a);$a.TreeNode=ue,$a.SHOW_ALL=Fn,$a.SHOW_PARENT=ze,$a.SHOW_CHILD=ct,$a._InternalPanelDoNotUseOrYouWillBeFired=fa;var yr=$a},17574:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return ft}});var b=ee(54844),de=ee(80702),Be=ee(52671),Ne=ee(8657),Ze=ee(72308),ke=ee(59301),le={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"},st=le,et=ee(7657),Ve=function(xt,an){return ke.createElement(et.Z,(0,Ze.Z)({},xt,{ref:an,icon:st}))},Ge=ke.forwardRef(Ve),Je=Ge,Ye=ee(92310),se=ee.n(Ye),E=ee(35654),a=ee(71430),x=ee(36355),y=ee(56082),z=ee(62892),ne=ee(20648);const re=4;function ue(ln){const{dropPosition:xt,dropLevelOffset:an,prefixCls:hn,indent:$e,direction:dt="ltr"}=ln,rn=dt==="ltr"?"left":"right",Vn=dt==="ltr"?"right":"left",Zt={[rn]:-an*$e+re,[Vn]:0};switch(xt){case-1:Zt.top=-3;break;case 1:Zt.bottom=-3;break;default:Zt.bottom=-3,Zt[rn]=$e+re;break}return ke.createElement("div",{style:Zt,className:`${hn}-drop-indicator`})}var ie=ee(71997),be=ke.forwardRef((ln,xt)=>{const{getPrefixCls:an,direction:hn,virtual:$e,tree:dt}=ke.useContext(x.E_),{prefixCls:rn,className:Vn,showIcon:Zt=!1,showLine:Fn,switcherIcon:ze,blockNode:ct=!1,children:Lt,checkable:mt=!1,selectable:Nt=!0,draggable:ut,motion:at,style:De}=ln,fe=an("tree",rn),Xe=an(),Rt=at!=null?at:Object.assign(Object.assign({},(0,z.Z)(Xe)),{motionAppear:!1}),Oe=Object.assign(Object.assign({},ln),{checkable:mt,selectable:Nt,showIcon:Zt,motion:Rt,blockNode:ct,showLine:!!Fn,dropIndicatorRender:ue}),[Ie,St]=(0,ne.ZP)(fe),nt=ke.useMemo(()=>{if(!ut)return!1;let yt={};switch(typeof ut){case"function":yt.nodeDraggable=ut;break;case"object":yt=Object.assign({},ut);break;default:break}return yt.icon!==!1&&(yt.icon=yt.icon||ke.createElement(y.Z,null)),yt},[ut]),Me=yt=>ke.createElement(ie.Z,{prefixCls:fe,switcherIcon:ze,treeNodeProps:yt,showLine:Fn});return Ie(ke.createElement(b.Z,Object.assign({itemHeight:20,ref:xt,virtual:$e},Oe,{style:Object.assign(Object.assign({},dt==null?void 0:dt.style),De),prefixCls:fe,className:se()({[`${fe}-icon-hide`]:!Zt,[`${fe}-block-node`]:ct,[`${fe}-unselectable`]:!Nt,[`${fe}-rtl`]:hn==="rtl"},dt==null?void 0:dt.className,Vn,St),direction:hn,checkable:mt&&ke.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:Nt,switcherIcon:Me,draggable:nt}),Lt))}),je;(function(ln){ln[ln.None=0]="None",ln[ln.Start=1]="Start",ln[ln.End=2]="End"})(je||(je={}));function Ae(ln,xt){function an(hn){const{key:$e,children:dt}=hn;xt($e,hn)!==!1&&Ae(dt||[],xt)}ln.forEach(an)}function He(ln){let{treeData:xt,expandedKeys:an,startKey:hn,endKey:$e}=ln;const dt=[];let rn=je.None;if(hn&&hn===$e)return[hn];if(!hn||!$e)return[];function Vn(Zt){return Zt===hn||Zt===$e}return Ae(xt,Zt=>{if(rn===je.End)return!1;if(Vn(Zt)){if(dt.push(Zt),rn===je.None)rn=je.Start;else if(rn===je.Start)return rn=je.End,!1}else rn===je.Start&&dt.push(Zt);return an.includes(Zt)}),dt}function he(ln,xt){const an=(0,de.Z)(xt),hn=[];return Ae(ln,($e,dt)=>{const rn=an.indexOf($e);return rn!==-1&&(hn.push(dt),an.splice(rn,1)),!!an.length}),hn}var qe=function(ln,xt){var an={};for(var hn in ln)Object.prototype.hasOwnProperty.call(ln,hn)&&xt.indexOf(hn)<0&&(an[hn]=ln[hn]);if(ln!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,hn=Object.getOwnPropertySymbols(ln);$e<hn.length;$e++)xt.indexOf(hn[$e])<0&&Object.prototype.propertyIsEnumerable.call(ln,hn[$e])&&(an[hn[$e]]=ln[hn[$e]]);return an};function Ke(ln){const{isLeaf:xt,expanded:an}=ln;return xt?ke.createElement(Be.Z,null):an?ke.createElement(Ne.Z,null):ke.createElement(Je,null)}function ht(ln){let{treeData:xt,children:an}=ln;return xt||(0,a.zn)(an)}const Le=(ln,xt)=>{var{defaultExpandAll:an,defaultExpandParent:hn,defaultExpandedKeys:$e}=ln,dt=qe(ln,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const rn=ke.useRef(),Vn=ke.useRef(),Zt=()=>{const{keyEntities:nt}=(0,a.I8)(ht(dt));let Me;return an?Me=Object.keys(nt):hn?Me=(0,E.r7)(dt.expandedKeys||$e||[],nt):Me=dt.expandedKeys||$e,Me},[Fn,ze]=ke.useState(dt.selectedKeys||dt.defaultSelectedKeys||[]),[ct,Lt]=ke.useState(()=>Zt());ke.useEffect(()=>{"selectedKeys"in dt&&ze(dt.selectedKeys)},[dt.selectedKeys]),ke.useEffect(()=>{"expandedKeys"in dt&&Lt(dt.expandedKeys)},[dt.expandedKeys]);const mt=(nt,Me)=>{var yt;return"expandedKeys"in dt||Lt(nt),(yt=dt.onExpand)===null||yt===void 0?void 0:yt.call(dt,nt,Me)},Nt=(nt,Me)=>{var yt;const{multiple:Bn}=dt,{node:nn,nativeEvent:dn}=Me,{key:un=""}=nn,yn=ht(dt),Te=Object.assign(Object.assign({},Me),{selected:!0}),Ft=(dn==null?void 0:dn.ctrlKey)||(dn==null?void 0:dn.metaKey),zt=dn==null?void 0:dn.shiftKey;let wt;Bn&&Ft?(wt=nt,rn.current=un,Vn.current=wt,Te.selectedNodes=he(yn,wt)):Bn&&zt?(wt=Array.from(new Set([].concat((0,de.Z)(Vn.current||[]),(0,de.Z)(He({treeData:yn,expandedKeys:ct,startKey:un,endKey:rn.current}))))),Te.selectedNodes=he(yn,wt)):(wt=[un],rn.current=un,Vn.current=wt,Te.selectedNodes=he(yn,wt)),(yt=dt.onSelect)===null||yt===void 0||yt.call(dt,wt,Te),"selectedKeys"in dt||ze(wt)},{getPrefixCls:ut,direction:at}=ke.useContext(x.E_),{prefixCls:De,className:fe,showIcon:Xe=!0,expandAction:Rt="click"}=dt,Oe=qe(dt,["prefixCls","className","showIcon","expandAction"]),Ie=ut("tree",De),St=se()(`${Ie}-directory`,{[`${Ie}-directory-rtl`]:at==="rtl"},fe);return ke.createElement(be,Object.assign({icon:Ke,ref:xt,blockNode:!0},Oe,{showIcon:Xe,expandAction:Rt,prefixCls:Ie,className:St,expandedKeys:ct,selectedKeys:Fn,onSelect:Nt,onExpand:mt}))};var lt=ke.forwardRef(Le);const gt=be;gt.DirectoryTree=lt,gt.TreeNode=b.O;var ft=gt},20648:function(Qt,Gt,ee){"use strict";ee.d(Gt,{TM:function(){return Ye},Yk:function(){return Je}});var b=ee(93083),de=ee(98447),Be=ee(17313),Ne=ee(8378),Ze=ee(37613),ke=ee(83116);const le=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),st=(se,E)=>({[`.${se}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),et=(se,E)=>({[`.${se}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:E.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${E.lineWidthBold}px solid ${E.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ve=(se,E)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:y,titleHeight:z,nodeSelectedBg:ne,nodeHoverBg:re}=E,ue=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Be.Wf)(E)),{background:E.colorBgContainer,borderRadius:E.borderRadius,transition:`background-color ${E.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Be.oN)(E)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:y,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:le,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${y}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Be.oN)(E)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${E.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},st(se,E)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:E.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${E.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ue},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${a}-node-selected`]:{backgroundColor:ne},[`${a}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},et(se,E)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${E.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},Ge=se=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:y,directoryNodeSelectedColor:z}=se;return{[`${E}${E}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${se.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:se.controlItemBgHover}},"> *":{zIndex:1},[`${E}-switcher`]:{transition:`color ${se.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${E}-switcher`]:{color:z},[`${E}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},Je=(se,E)=>{const a=`.${se}`,x=`${a}-treenode`,y=E.paddingXS/2,z=(0,Ze.TS)(E,{treeCls:a,treeNodeCls:x,treeNodePadding:y});return[Ve(se,z),Ge(z)]},Ye=se=>{const{controlHeightSM:E}=se;return{titleHeight:E,nodeHoverBg:se.controlItemBgHover,nodeSelectedBg:se.controlItemBgActive}};Gt.ZP=(0,ke.Z)("Tree",(se,E)=>{let{prefixCls:a}=E;return[{[se.componentCls]:(0,de.C2)(`${a}-checkbox`,se)},Je(a,se),(0,Ne.Z)(se)]},se=>{const{colorTextLightSolid:E,colorPrimary:a}=se;return Object.assign(Object.assign({},Ye(se)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return x}});var b=ee(72308),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ne=Be,Ze=ee(7657),ke=function(z,ne){return de.createElement(Ze.Z,(0,b.Z)({},z,{ref:ne,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(52671),Ve=ee(58617),Ge=ee(15075),Je=ee(43531),Ye=ee(92310),se=ee.n(Ye),E=ee(92343),x=y=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:re,showLine:ue}=y,{isLeaf:ie,expanded:ve,loading:be}=re;if(be)return de.createElement(Ve.Z,{className:`${z}-switcher-loading-icon`});let je;if(ue&&typeof ue=="object"&&(je=ue.showLeafIcon),ie){if(!ue)return null;if(typeof je!="boolean"&&je){const he=typeof je=="function"?je(re):je,qe=`${z}-switcher-line-custom-icon`;return(0,E.l$)(he)?(0,E.Tm)(he,{className:se()(he.props.className||"",qe)}):he}return je?de.createElement(et.Z,{className:`${z}-switcher-line-icon`}):de.createElement("span",{className:`${z}-switcher-leaf-line`})}const Ae=`${z}-switcher-icon`,He=typeof ne=="function"?ne(re):ne;return(0,E.l$)(He)?(0,E.Tm)(He,{className:se()(He.props.className||"",Ae)}):He!==void 0?He:ue?ve?de.createElement(Ge.Z,{className:`${z}-switcher-line-icon`}):de.createElement(Je.Z,{className:`${z}-switcher-line-icon`}):de.createElement(st,{className:Ae})}},54580:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Sr}});var b=ee(59301),de=ee(80702),Be=ee(92310),Ne=ee.n(Be),Ze=ee(72308),ke=ee(96949),le=ee(55090),st=ee(77205),et=ee(38793),Ve=ee(49618),Ge=ee(74416),Je=ee(65736),Ye=ee(62853),se=ee(72633),E=ee(26112);function a(Ue,bn){var Xt="cannot ".concat(Ue.method," ").concat(Ue.action," ").concat(bn.status,"'"),Nn=new Error(Xt);return Nn.status=bn.status,Nn.method=Ue.method,Nn.url=Ue.action,Nn}function x(Ue){var bn=Ue.responseText||Ue.response;if(!bn)return bn;try{return JSON.parse(bn)}catch(Xt){return bn}}function y(Ue){var bn=new XMLHttpRequest;Ue.onProgress&&bn.upload&&(bn.upload.onprogress=function(la){la.total>0&&(la.percent=la.loaded/la.total*100),Ue.onProgress(la)});var Xt=new FormData;Ue.data&&Object.keys(Ue.data).forEach(function(Kn){var la=Ue.data[Kn];if(Array.isArray(la)){la.forEach(function(Qn){Xt.append("".concat(Kn,"[]"),Qn)});return}Xt.append(Kn,la)}),Ue.file instanceof Blob?Xt.append(Ue.filename,Ue.file,Ue.file.name):Xt.append(Ue.filename,Ue.file),bn.onerror=function(la){Ue.onError(la)},bn.onload=function(){return bn.status<200||bn.status>=300?Ue.onError(a(Ue,bn),x(bn)):Ue.onSuccess(x(bn),bn)},bn.open(Ue.method,Ue.action,!0),Ue.withCredentials&&"withCredentials"in bn&&(bn.withCredentials=!0);var Nn=Ue.headers||{};return Nn["X-Requested-With"]!==null&&bn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Nn).forEach(function(Kn){Nn[Kn]!==null&&bn.setRequestHeader(Kn,Nn[Kn])}),bn.send(Xt),{abort:function(){bn.abort()}}}var z=+new Date,ne=0;function re(){return"rc-upload-".concat(z,"-").concat(++ne)}var ue=ee(48736),ie=function(Ue,bn){if(Ue&&bn){var Xt=Array.isArray(bn)?bn:bn.split(","),Nn=Ue.name||"",Kn=Ue.type||"",la=Kn.replace(/\/.*$/,"");return Xt.some(function(Qn){var Un=Qn.trim();if(/^\*(\/\*)?$/.test(Qn))return!0;if(Un.charAt(0)==="."){var ur=Nn.toLowerCase(),da=Un.toLowerCase(),En=[da];return(da===".jpg"||da===".jpeg")&&(En=[".jpg",".jpeg"]),En.some(function(dr){return ur.endsWith(dr)})}return/\/\*$/.test(Un)?la===Un.replace(/\/.*$/,""):Kn===Un?!0:/^\w+$/.test(Un)?((0,ue.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Un,"'.Skip for check.")),!0):!1})}return!0};function ve(Ue,bn){var Xt=Ue.createReader(),Nn=[];function Kn(){Xt.readEntries(function(la){var Qn=Array.prototype.slice.apply(la);Nn=Nn.concat(Qn);var Un=!Qn.length;Un?bn(Nn):Kn()})}Kn()}var be=function(bn,Xt,Nn){var Kn=function la(Qn,Un){Qn&&(Qn.path=Un||"",Qn.isFile?Qn.file(function(ur){Nn(ur)&&(Qn.fullPath&&!ur.webkitRelativePath&&(Object.defineProperties(ur,{webkitRelativePath:{writable:!0}}),ur.webkitRelativePath=Qn.fullPath.replace(/^\//,""),Object.defineProperties(ur,{webkitRelativePath:{writable:!1}})),Xt([ur]))}):Qn.isDirectory&&ve(Qn,function(ur){ur.forEach(function(da){la(da,"".concat(Un).concat(Qn.name,"/"))})}))};bn.forEach(function(la){Kn(la.webkitGetAsEntry())})},je=be,Ae=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],He=function(Ue){(0,st.Z)(Xt,Ue);var bn=(0,et.Z)(Xt);function Xt(){var Nn;(0,ke.Z)(this,Xt);for(var Kn=arguments.length,la=new Array(Kn),Qn=0;Qn<Kn;Qn++)la[Qn]=arguments[Qn];return Nn=bn.call.apply(bn,[this].concat(la)),Nn.state={uid:re()},Nn.reqs={},Nn.fileInput=void 0,Nn._isMounted=void 0,Nn.onChange=function(Un){var ur=Nn.props,da=ur.accept,En=ur.directory,dr=Un.target.files,xr=(0,de.Z)(dr).filter(function(Wr){return!En||ie(Wr,da)});Nn.uploadFiles(xr),Nn.reset()},Nn.onClick=function(Un){var ur=Nn.fileInput;if(ur){var da=Un.target,En=Nn.props.onClick;if(da&&da.tagName==="BUTTON"){var dr=ur.parentNode;dr.focus(),da.blur()}ur.click(),En&&En(Un)}},Nn.onKeyDown=function(Un){Un.key==="Enter"&&Nn.onClick(Un)},Nn.onFileDrop=function(Un){var ur=Nn.props.multiple;if(Un.preventDefault(),Un.type!=="dragover")if(Nn.props.directory)je(Array.prototype.slice.call(Un.dataTransfer.items),Nn.uploadFiles,function(En){return ie(En,Nn.props.accept)});else{var da=(0,de.Z)(Un.dataTransfer.files).filter(function(En){return ie(En,Nn.props.accept)});ur===!1&&(da=da.slice(0,1)),Nn.uploadFiles(da)}},Nn.uploadFiles=function(Un){var ur=(0,de.Z)(Un),da=ur.map(function(En){return En.uid=re(),Nn.processFile(En,ur)});Promise.all(da).then(function(En){var dr=Nn.props.onBatchStart;dr==null||dr(En.map(function(xr){var Wr=xr.origin,Ir=xr.parsedFile;return{file:Wr,parsedFile:Ir}})),En.filter(function(xr){return xr.parsedFile!==null}).forEach(function(xr){Nn.post(xr)})})},Nn.processFile=function(){var Un=(0,se.Z)((0,Je.Z)().mark(function ur(da,En){var dr,xr,Wr,Ir,ha,za,Ua,La,Or;return(0,Je.Z)().wrap(function(Fr){for(;;)switch(Fr.prev=Fr.next){case 0:if(dr=Nn.props.beforeUpload,xr=da,!dr){Fr.next=14;break}return Fr.prev=3,Fr.next=6,dr(da,En);case 6:xr=Fr.sent,Fr.next=12;break;case 9:Fr.prev=9,Fr.t0=Fr.catch(3),xr=!1;case 12:if(xr!==!1){Fr.next=14;break}return Fr.abrupt("return",{origin:da,parsedFile:null,action:null,data:null});case 14:if(Wr=Nn.props.action,typeof Wr!="function"){Fr.next=21;break}return Fr.next=18,Wr(da);case 18:Ir=Fr.sent,Fr.next=22;break;case 21:Ir=Wr;case 22:if(ha=Nn.props.data,typeof ha!="function"){Fr.next=29;break}return Fr.next=26,ha(da);case 26:za=Fr.sent,Fr.next=30;break;case 29:za=ha;case 30:return Ua=((0,Ye.Z)(xr)==="object"||typeof xr=="string")&&xr?xr:da,Ua instanceof File?La=Ua:La=new File([Ua],da.name,{type:da.type}),Or=La,Or.uid=da.uid,Fr.abrupt("return",{origin:da,data:za,parsedFile:Or,action:Ir});case 35:case"end":return Fr.stop()}},ur,null,[[3,9]])}));return function(ur,da){return Un.apply(this,arguments)}}(),Nn.saveFileInput=function(Un){Nn.fileInput=Un},Nn}return(0,le.Z)(Xt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Kn){var la=this,Qn=Kn.data,Un=Kn.origin,ur=Kn.action,da=Kn.parsedFile;if(this._isMounted){var En=this.props,dr=En.onStart,xr=En.customRequest,Wr=En.name,Ir=En.headers,ha=En.withCredentials,za=En.method,Ua=Un.uid,La=xr||y,Or={action:ur,filename:Wr,data:Qn,file:da,headers:Ir,withCredentials:ha,method:za||"post",onProgress:function(Fr){var Er=la.props.onProgress;Er==null||Er(Fr,da)},onSuccess:function(Fr,Er){var Pr=la.props.onSuccess;Pr==null||Pr(Fr,da,Er),delete la.reqs[Ua]},onError:function(Fr,Er){var Pr=la.props.onError;Pr==null||Pr(Fr,Er,da),delete la.reqs[Ua]}};dr(Un),this.reqs[Ua]=La(Or)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(Kn){var la=this.reqs;if(Kn){var Qn=Kn.uid?Kn.uid:Kn;la[Qn]&&la[Qn].abort&&la[Qn].abort(),delete la[Qn]}else Object.keys(la).forEach(function(Un){la[Un]&&la[Un].abort&&la[Un].abort(),delete la[Un]})}},{key:"render",value:function(){var Kn=this.props,la=Kn.component,Qn=Kn.prefixCls,Un=Kn.className,ur=Kn.disabled,da=Kn.id,En=Kn.style,dr=Kn.multiple,xr=Kn.accept,Wr=Kn.capture,Ir=Kn.children,ha=Kn.directory,za=Kn.openFileDialogOnClick,Ua=Kn.onMouseEnter,La=Kn.onMouseLeave,Or=(0,Ge.Z)(Kn,Ae),no=Ne()((0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},Qn,!0),"".concat(Qn,"-disabled"),ur),Un,Un)),Fr=ha?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Er=ur?{}:{onClick:za?this.onClick:function(){},onKeyDown:za?this.onKeyDown:function(){},onMouseEnter:Ua,onMouseLeave:La,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return b.createElement(la,(0,Ze.Z)({},Er,{className:no,role:"button",style:En}),b.createElement("input",(0,Ze.Z)({},(0,E.Z)(Or,{aria:!0,data:!0}),{id:da,disabled:ur,type:"file",ref:this.saveFileInput,onClick:function(si){return si.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:xr},Fr,{multiple:dr,onChange:this.onChange},Wr!=null?{capture:Wr}:{})),Ir)}}]),Xt}(b.Component),he=He;function qe(){}var Ke=function(Ue){(0,st.Z)(Xt,Ue);var bn=(0,et.Z)(Xt);function Xt(){var Nn;(0,ke.Z)(this,Xt);for(var Kn=arguments.length,la=new Array(Kn),Qn=0;Qn<Kn;Qn++)la[Qn]=arguments[Qn];return Nn=bn.call.apply(bn,[this].concat(la)),Nn.uploader=void 0,Nn.saveUploader=function(Un){Nn.uploader=Un},Nn}return(0,le.Z)(Xt,[{key:"abort",value:function(Kn){this.uploader.abort(Kn)}},{key:"render",value:function(){return b.createElement(he,(0,Ze.Z)({},this.props,{ref:this.saveUploader}))}}]),Xt}(b.Component);Ke.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:qe,onError:qe,onSuccess:qe,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var ht=Ke,Le=ht,ot=ee(18929),lt=ee(4676),gt=ee(36355),ft=ee(1684),ln=ee(9763),xt=ee(31724),an={icon:function(bn,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Xt}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:bn}}]}},name:"file",theme:"twotone"},hn=an,$e=ee(7657),dt=function(bn,Xt){return b.createElement($e.Z,(0,Ze.Z)({},bn,{ref:Xt,icon:hn}))},rn=b.forwardRef(dt),Vn=rn,Zt=ee(58617),Fn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},ze=Fn,ct=function(bn,Xt){return b.createElement($e.Z,(0,Ze.Z)({},bn,{ref:Xt,icon:ze}))},Lt=b.forwardRef(ct),mt=Lt,Nt={icon:function(bn,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:bn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Xt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:Xt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Xt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:bn}}]}},name:"picture",theme:"twotone"},ut=Nt,at=function(bn,Xt){return b.createElement($e.Z,(0,Ze.Z)({},bn,{ref:Xt,icon:ut}))},De=b.forwardRef(at),fe=De,Xe=ee(77900),Rt=ee(56762),Oe=ee(62892),Ie=ee(92343),St=ee(3113);function nt(Ue){return Object.assign(Object.assign({},Ue),{lastModified:Ue.lastModified,lastModifiedDate:Ue.lastModifiedDate,name:Ue.name,size:Ue.size,type:Ue.type,uid:Ue.uid,percent:0,originFileObj:Ue})}function Me(Ue,bn){const Xt=(0,de.Z)(bn),Nn=Xt.findIndex(Kn=>{let{uid:la}=Kn;return la===Ue.uid});return Nn===-1?Xt.push(Ue):Xt[Nn]=Ue,Xt}function yt(Ue,bn){const Xt=Ue.uid!==void 0?"uid":"name";return bn.filter(Nn=>Nn[Xt]===Ue[Xt])[0]}function Bn(Ue,bn){const Xt=Ue.uid!==void 0?"uid":"name",Nn=bn.filter(Kn=>Kn[Xt]!==Ue[Xt]);return Nn.length===bn.length?null:Nn}const nn=function(){const bn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Nn=bn[bn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Nn)||[""])[0]},dn=Ue=>Ue.indexOf("image/")===0,un=Ue=>{if(Ue.type&&!Ue.thumbUrl)return dn(Ue.type);const bn=Ue.thumbUrl||Ue.url||"",Xt=nn(bn);return/^data:image\//.test(bn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Xt)?!0:!(/^data:/.test(bn)||Xt)},yn=200;function Te(Ue){return new Promise(bn=>{if(!Ue.type||!dn(Ue.type)){bn("");return}const Xt=document.createElement("canvas");Xt.width=yn,Xt.height=yn,Xt.style.cssText=`position: fixed; left: 0; top: 0; width: ${yn}px; height: ${yn}px; z-index: 9999; display: none;`,document.body.appendChild(Xt);const Nn=Xt.getContext("2d"),Kn=new Image;if(Kn.onload=()=>{const{width:la,height:Qn}=Kn;let Un=yn,ur=yn,da=0,En=0;la>Qn?(ur=Qn*(yn/la),En=-(ur-Un)/2):(Un=la*(yn/Qn),da=-(Un-ur)/2),Nn.drawImage(Kn,da,En,Un,ur);const dr=Xt.toDataURL();document.body.removeChild(Xt),window.URL.revokeObjectURL(Kn.src),bn(dr)},Kn.crossOrigin="anonymous",Ue.type.startsWith("image/svg+xml")){const la=new FileReader;la.onload=()=>{la.result&&(Kn.src=la.result)},la.readAsDataURL(Ue)}else if(Ue.type.startsWith("image/gif")){const la=new FileReader;la.onload=()=>{la.result&&bn(la.result)},la.readAsDataURL(Ue)}else Kn.src=window.URL.createObjectURL(Ue)})}var Ft=ee(26227),zt=ee(41464),wt=ee(15277),kt=ee(93948),sn=ee(6848),Ln=b.forwardRef((Ue,bn)=>{let{prefixCls:Xt,className:Nn,style:Kn,locale:la,listType:Qn,file:Un,items:ur,progress:da,iconRender:En,actionIconRender:dr,itemRender:xr,isImgUrl:Wr,showPreviewIcon:Ir,showRemoveIcon:ha,showDownloadIcon:za,previewIcon:Ua,removeIcon:La,downloadIcon:Or,onPreview:no,onDownload:Fr,onClose:Er}=Ue;var Pr,si;const{status:ai}=Un,[xi,ho]=b.useState(ai);b.useEffect(()=>{ai!=="removed"&&ho(ai)},[ai]);const[yo,Go]=b.useState(!1);b.useEffect(()=>{const Vo=setTimeout(()=>{Go(!0)},300);return()=>{clearTimeout(Vo)}},[]);const Mo=En(Un);let Ao=b.createElement("div",{className:`${Xt}-icon`},Mo);if(Qn==="picture"||Qn==="picture-card"||Qn==="picture-circle")if(xi==="uploading"||!Un.thumbUrl&&!Un.url){const Vo=Ne()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:xi!=="uploading"});Ao=b.createElement("div",{className:Vo},Mo)}else{const Vo=Wr!=null&&Wr(Un)?b.createElement("img",{src:Un.thumbUrl||Un.url,alt:Un.name,className:`${Xt}-list-item-image`,crossOrigin:Un.crossOrigin}):Mo,Fi=Ne()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:Wr&&!Wr(Un)});Ao=b.createElement("a",{className:Fi,onClick:Wi=>no(Un,Wi),href:Un.url||Un.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Vo)}const gr=Ne()(`${Xt}-list-item`,`${Xt}-list-item-${xi}`),eo=typeof Un.linkProps=="string"?JSON.parse(Un.linkProps):Un.linkProps,Qo=ha?dr((typeof La=="function"?La(Un):La)||b.createElement(Ft.Z,null),()=>Er(Un),Xt,la.removeFile):null,Yo=za&&xi==="done"?dr((typeof Or=="function"?Or(Un):Or)||b.createElement(zt.Z,null),()=>Fr(Un),Xt,la.downloadFile):null,Oo=Qn!=="picture-card"&&Qn!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:Ne()(`${Xt}-list-item-actions`,{picture:Qn==="picture"})},Yo,Qo),br=Ne()(`${Xt}-list-item-name`),ri=Un.url?[b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:br,title:Un.name},eo,{href:Un.url,onClick:Vo=>no(Un,Vo)}),Un.name),Oo]:[b.createElement("span",{key:"view",className:br,onClick:Vo=>no(Un,Vo),title:Un.name},Un.name),Oo],Hr={pointerEvents:"none",opacity:.5},ko=Ir?b.createElement("a",{href:Un.url||Un.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Un.url||Un.thumbUrl?void 0:Hr,onClick:Vo=>no(Un,Vo),title:la.previewFile},typeof Ua=="function"?Ua(Un):Ua||b.createElement(wt.Z,null)):null,mo=(Qn==="picture-card"||Qn==="picture-circle")&&xi!=="uploading"&&b.createElement("span",{className:`${Xt}-list-item-actions`},ko,xi==="done"&&Yo,Qo),{getPrefixCls:di}=b.useContext(gt.E_),vi=di(),Ui=b.createElement("div",{className:gr},Ao,ri,mo,yo&&b.createElement(Xe.default,{motionName:`${vi}-fade`,visible:xi==="uploading",motionDeadline:2e3},Vo=>{let{className:Fi}=Vo;const Wi="percent"in Un?b.createElement(kt.Z,Object.assign({},da,{type:"line",percent:Un.percent,"aria-label":Un["aria-label"],"aria-labelledby":Un["aria-labelledby"]})):null;return b.createElement("div",{className:Ne()(`${Xt}-list-item-progress`,Fi)},Wi)})),tl=Un.response&&typeof Un.response=="string"?Un.response:((Pr=Un.error)===null||Pr===void 0?void 0:Pr.statusText)||((si=Un.error)===null||si===void 0?void 0:si.message)||la.uploadError,nl=xi==="error"?b.createElement(sn.Z,{title:tl,getPopupContainer:Vo=>Vo.parentNode},Ui):Ui;return b.createElement("div",{className:Ne()(`${Xt}-list-item-container`,Nn),style:Kn,ref:bn},xr?xr(nl,Un,ur,{download:Fr.bind(null,Un),preview:no.bind(null,Un),remove:Er.bind(null,Un)}):nl)});const Jn=(Ue,bn)=>{const{listType:Xt="text",previewFile:Nn=Te,onPreview:Kn,onDownload:la,onRemove:Qn,locale:Un,iconRender:ur,isImageUrl:da=un,prefixCls:En,items:dr=[],showPreviewIcon:xr=!0,showRemoveIcon:Wr=!0,showDownloadIcon:Ir=!1,removeIcon:ha,previewIcon:za,downloadIcon:Ua,progress:La={size:[-1,2],showInfo:!1},appendAction:Or,appendActionVisible:no=!0,itemRender:Fr,disabled:Er}=Ue,Pr=(0,Rt.Z)(),[si,ai]=b.useState(!1);b.useEffect(()=>{Xt!=="picture"&&Xt!=="picture-card"&&Xt!=="picture-circle"||(dr||[]).forEach(Hr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Hr.originFileObj instanceof File||Hr.originFileObj instanceof Blob)||Hr.thumbUrl!==void 0||(Hr.thumbUrl="",Nn&&Nn(Hr.originFileObj).then(ko=>{Hr.thumbUrl=ko||"",Pr()}))})},[Xt,dr,Nn]),b.useEffect(()=>{ai(!0)},[]);const xi=(Hr,ko)=>{if(Kn)return ko==null||ko.preventDefault(),Kn(Hr)},ho=Hr=>{typeof la=="function"?la(Hr):Hr.url&&window.open(Hr.url)},yo=Hr=>{Qn==null||Qn(Hr)},Go=Hr=>{if(ur)return ur(Hr,Xt);const ko=Hr.status==="uploading",mo=da&&da(Hr)?b.createElement(fe,null):b.createElement(Vn,null);let di=ko?b.createElement(Zt.Z,null):b.createElement(mt,null);return Xt==="picture"?di=ko?b.createElement(Zt.Z,null):mo:(Xt==="picture-card"||Xt==="picture-circle")&&(di=ko?Un.uploading:mo),di},Mo=(Hr,ko,mo,di)=>{const vi={type:"text",size:"small",title:di,onClick:Ui=>{ko(),(0,Ie.l$)(Hr)&&Hr.props.onClick&&Hr.props.onClick(Ui)},className:`${mo}-list-item-action`,disabled:Er};if((0,Ie.l$)(Hr)){const Ui=(0,Ie.Tm)(Hr,Object.assign(Object.assign({},Hr.props),{onClick:()=>{}}));return b.createElement(St.ZP,Object.assign({},vi,{icon:Ui}))}return b.createElement(St.ZP,Object.assign({},vi),b.createElement("span",null,Hr))};b.useImperativeHandle(bn,()=>({handlePreview:xi,handleDownload:ho}));const{getPrefixCls:Ao}=b.useContext(gt.E_),gr=Ao("upload",En),eo=Ao(),Qo=Ne()(`${gr}-list`,`${gr}-list-${Xt}`),Yo=(0,de.Z)(dr.map(Hr=>({key:Hr.uid,file:Hr})));let br={motionDeadline:2e3,motionName:`${gr}-${Xt==="picture-card"||Xt==="picture-circle"?"animate-inline":"animate"}`,keys:Yo,motionAppear:si};const ri=b.useMemo(()=>{const Hr=Object.assign({},(0,Oe.Z)(eo));return delete Hr.onAppearEnd,delete Hr.onEnterEnd,delete Hr.onLeaveEnd,Hr},[eo]);return Xt!=="picture-card"&&Xt!=="picture-circle"&&(br=Object.assign(Object.assign({},ri),br)),b.createElement("div",{className:Qo},b.createElement(Xe.CSSMotionList,Object.assign({},br,{component:!1}),Hr=>{let{key:ko,file:mo,className:di,style:vi}=Hr;return b.createElement(Ln,{key:ko,locale:Un,prefixCls:gr,className:di,style:vi,file:mo,items:dr,progress:La,listType:Xt,isImgUrl:da,showPreviewIcon:xr,showRemoveIcon:Wr,showDownloadIcon:Ir,removeIcon:ha,previewIcon:za,downloadIcon:Ua,iconRender:Go,actionIconRender:Mo,itemRender:Fr,onPreview:xi,onDownload:ho,onClose:yo})}),Or&&b.createElement(Xe.default,Object.assign({},br,{visible:no,forceRender:!0}),Hr=>{let{className:ko,style:mo}=Hr;return(0,Ie.Tm)(Or,di=>({className:Ne()(di.className,ko),style:Object.assign(Object.assign(Object.assign({},mo),{pointerEvents:ko?"none":void 0}),di.style)}))}))};var Da=b.forwardRef(Jn),Na=ee(17313),ar=ee(8378),$a=ee(83116),fa=ee(37613),en=Ue=>{const{componentCls:bn,iconCls:Xt}=Ue;return{[`${bn}-wrapper`]:{[`${bn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ue.colorFillAlter,border:`${Ue.lineWidth}px dashed ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ue.motionDurationSlow}`,[bn]:{padding:`${Ue.padding}px 0`},[`${bn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${bn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${bn}-disabled):hover`]:{borderColor:Ue.colorPrimaryHover},[`p${bn}-drag-icon`]:{marginBottom:Ue.margin,[Xt]:{color:Ue.colorPrimary,fontSize:Ue.uploadThumbnailSize}},[`p${bn}-text`]:{margin:`0 0 ${Ue.marginXXS}px`,color:Ue.colorTextHeading,fontSize:Ue.fontSizeLG},[`p${bn}-hint`]:{color:Ue.colorTextDescription,fontSize:Ue.fontSize},[`&${bn}-disabled`]:{cursor:"not-allowed",[`p${bn}-drag-icon ${Xt},
p${bn}-text,
p${bn}-hint
`]:{color:Ue.colorTextDisabled}}}}}},ia=Ue=>{const{componentCls:bn,antCls:Xt,iconCls:Nn,fontSize:Kn,lineHeight:la}=Ue,Qn=`${bn}-list-item`,Un=`${Qn}-actions`,ur=`${Qn}-action`,da=Math.round(Kn*la);return{[`${bn}-wrapper`]:{[`${bn}-list`]:Object.assign(Object.assign({},(0,Na.dF)()),{lineHeight:Ue.lineHeight,[Qn]:{position:"relative",height:Ue.lineHeight*Kn,marginTop:Ue.marginXS,fontSize:Kn,display:"flex",alignItems:"center",transition:`background-color ${Ue.motionDurationSlow}`,"&:hover":{backgroundColor:Ue.controlItemBgHover},[`${Qn}-name`]:Object.assign(Object.assign({},Na.vS),{padding:`0 ${Ue.paddingXS}px`,lineHeight:la,flex:"auto",transition:`all ${Ue.motionDurationSlow}`}),[Un]:{[ur]:{opacity:0},[`${ur}${Xt}-btn-sm`]:{height:da,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${ur}:focus-visible,
&.picture ${ur}
`]:{opacity:1},[Nn]:{color:Ue.actionsColor,transition:`all ${Ue.motionDurationSlow}`},[`&:hover ${Nn}`]:{color:Ue.colorText}},[`${bn}-icon ${Nn}`]:{color:Ue.colorTextDescription,fontSize:Kn},[`${Qn}-progress`]:{position:"absolute",bottom:-Ue.uploadProgressOffset,width:"100%",paddingInlineStart:Kn+Ue.paddingXS,fontSize:Kn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Qn}:hover ${ur}`]:{opacity:1,color:Ue.colorText},[`${Qn}-error`]:{color:Ue.colorError,[`${Qn}-name, ${bn}-icon ${Nn}`]:{color:Ue.colorError},[Un]:{[`${Nn}, ${Nn}:hover`]:{color:Ue.colorError},[ur]:{opacity:1}}},[`${bn}-list-item-container`]:{transition:`opacity ${Ue.motionDurationSlow}, height ${Ue.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},xa=ee(93083),We=ee(1950);const It=new xa.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),_t=new xa.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Wt=Ue=>{const{componentCls:bn}=Ue,Xt=`${bn}-animate-inline`;return[{[`${bn}-wrapper`]:{[`${Xt}-appear, ${Xt}-enter, ${Xt}-leave`]:{animationDuration:Ue.motionDurationSlow,animationTimingFunction:Ue.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Xt}-appear, ${Xt}-enter`]:{animationName:It},[`${Xt}-leave`]:{animationName:_t}}},{[`${bn}-wrapper`]:(0,We.J$)(Ue)},It,_t]},Rn=ee(93398),wn=ee(64993);const vt=Ue=>{const{componentCls:bn,iconCls:Xt,uploadThumbnailSize:Nn,uploadProgressOffset:Kn}=Ue,la=`${bn}-list`,Qn=`${la}-item`;return{[`${bn}-wrapper`]:{[`
${la}${la}-picture,
${la}${la}-picture-card,
${la}${la}-picture-circle
`]:{[Qn]:{position:"relative",height:Nn+Ue.lineWidth*2+Ue.paddingXS*2,padding:Ue.paddingXS,border:`${Ue.lineWidth}px ${Ue.lineType} ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,"&:hover":{background:"transparent"},[`${Qn}-thumbnail`]:Object.assign(Object.assign({},Na.vS),{width:Nn,height:Nn,lineHeight:`${Nn+Ue.paddingSM}px`,textAlign:"center",flex:"none",[Xt]:{fontSize:Ue.fontSizeHeading2,color:Ue.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Qn}-progress`]:{bottom:Kn,width:`calc(100% - ${Ue.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Nn+Ue.paddingXS}},[`${Qn}-error`]:{borderColor:Ue.colorError,[`${Qn}-thumbnail ${Xt}`]:{[`svg path[fill='${Rn.blue[0]}']`]:{fill:Ue.colorErrorBg},[`svg path[fill='${Rn.blue.primary}']`]:{fill:Ue.colorError}}},[`${Qn}-uploading`]:{borderStyle:"dashed",[`${Qn}-name`]:{marginBottom:Kn}}},[`${la}${la}-picture-circle ${Qn}`]:{[`&, &::before, ${Qn}-thumbnail`]:{borderRadius:"50%"}}}}},Bt=Ue=>{const{componentCls:bn,iconCls:Xt,fontSizeLG:Nn,colorTextLightSolid:Kn}=Ue,la=`${bn}-list`,Qn=`${la}-item`,Un=Ue.uploadPicCardSize;return{[`
${bn}-wrapper${bn}-picture-card-wrapper,
${bn}-wrapper${bn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Na.dF)()),{display:"inline-block",width:"100%",[`${bn}${bn}-select`]:{width:Un,height:Un,marginInlineEnd:Ue.marginXS,marginBottom:Ue.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ue.colorFillAlter,border:`${Ue.lineWidth}px dashed ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ue.motionDurationSlow}`,[`> ${bn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${bn}-disabled):hover`]:{borderColor:Ue.colorPrimary}},[`${la}${la}-picture-card, ${la}${la}-picture-circle`]:{[`${la}-item-container`]:{display:"inline-block",width:Un,height:Un,marginBlock:`0 ${Ue.marginXS}px`,marginInline:`0 ${Ue.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Qn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ue.paddingXS*2}px)`,height:`calc(100% - ${Ue.paddingXS*2}px)`,backgroundColor:Ue.colorBgMask,opacity:0,transition:`all ${Ue.motionDurationSlow}`,content:'" "'}},[`${Qn}:hover`]:{[`&::before, ${Qn}-actions`]:{opacity:1}},[`${Qn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ue.motionDurationSlow}`,[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{zIndex:10,width:Nn,margin:`0 ${Ue.marginXXS}px`,fontSize:Nn,cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Qn}-actions, ${Qn}-actions:hover`]:{[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{color:new wn.C(Kn).setAlpha(.65).toRgbString(),"&:hover":{color:Kn}}},[`${Qn}-thumbnail, ${Qn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Qn}-name`]:{display:"none",textAlign:"center"},[`${Qn}-file + ${Qn}-name`]:{position:"absolute",bottom:Ue.margin,display:"block",width:`calc(100% - ${Ue.paddingXS*2}px)`},[`${Qn}-uploading`]:{[`&${Qn}`]:{backgroundColor:Ue.colorFillAlter},[`&::before, ${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{display:"none"}},[`${Qn}-progress`]:{bottom:Ue.marginXL,width:`calc(100% - ${Ue.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${bn}-wrapper${bn}-picture-circle-wrapper`]:{[`${bn}${bn}-select`]:{borderRadius:"50%"}}}};var Sn=Ue=>{const{componentCls:bn}=Ue;return{[`${bn}-rtl`]:{direction:"rtl"}}};const Wn=Ue=>{const{componentCls:bn,colorTextDisabled:Xt}=Ue;return{[`${bn}-wrapper`]:Object.assign(Object.assign({},(0,Na.Wf)(Ue)),{[bn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${bn}-select`]:{display:"inline-block"},[`${bn}-disabled`]:{color:Xt,cursor:"not-allowed"}})}};var An=(0,$a.Z)("Upload",Ue=>{const{fontSizeHeading3:bn,fontSize:Xt,lineHeight:Nn,lineWidth:Kn,controlHeightLG:la}=Ue,Qn=Math.round(Xt*Nn),Un=(0,fa.TS)(Ue,{uploadThumbnailSize:bn*2,uploadProgressOffset:Qn/2+Kn,uploadPicCardSize:la*2.55});return[Wn(Un),en(Un),vt(Un),Bt(Un),ia(Un),Wt(Un),Sn(Un),(0,ar.Z)(Un)]},Ue=>({actionsColor:Ue.colorTextDescription})),ka=function(Ue,bn,Xt,Nn){function Kn(la){return la instanceof Xt?la:new Xt(function(Qn){Qn(la)})}return new(Xt||(Xt=Promise))(function(la,Qn){function Un(En){try{da(Nn.next(En))}catch(dr){Qn(dr)}}function ur(En){try{da(Nn.throw(En))}catch(dr){Qn(dr)}}function da(En){En.done?la(En.value):Kn(En.value).then(Un,ur)}da((Nn=Nn.apply(Ue,bn||[])).next())})};const pa=`__LIST_IGNORE_${Date.now()}__`,_n=(Ue,bn)=>{const{fileList:Xt,defaultFileList:Nn,onRemove:Kn,showUploadList:la=!0,listType:Qn="text",onPreview:Un,onDownload:ur,onChange:da,onDrop:En,previewFile:dr,disabled:xr,locale:Wr,iconRender:Ir,isImageUrl:ha,progress:za,prefixCls:Ua,className:La,type:Or="select",children:no,style:Fr,itemRender:Er,maxCount:Pr,data:si={},multiple:ai=!1,action:xi="",accept:ho="",supportServerRender:yo=!0,rootClassName:Go}=Ue,Mo=b.useContext(ft.Z),Ao=xr!=null?xr:Mo,[gr,eo]=(0,ot.Z)(Nn||[],{value:Xt,postState:jn=>jn!=null?jn:[]}),[Qo,Yo]=b.useState("drop"),Oo=b.useRef(null);b.useMemo(()=>{const jn=Date.now();(Xt||[]).forEach((Xn,sr)=>{!Xn.uid&&!Object.isFrozen(Xn)&&(Xn.uid=`__AUTO__${jn}_${sr}__`)})},[Xt]);const br=(jn,Xn,sr)=>{let Ha=(0,de.Z)(Xn),Ta=!1;Pr===1?Ha=Ha.slice(-1):Pr&&(Ta=Ha.length>Pr,Ha=Ha.slice(0,Pr)),(0,lt.flushSync)(()=>{eo(Ha)});const Ja={file:jn,fileList:Ha};sr&&(Ja.event=sr),(!Ta||Ha.some(Rr=>Rr.uid===jn.uid))&&(0,lt.flushSync)(()=>{da==null||da(Ja)})},ri=(jn,Xn)=>ka(void 0,void 0,void 0,function*(){const{beforeUpload:sr,transformFile:Ha}=Ue;let Ta=jn;if(sr){const Ja=yield sr(jn,Xn);if(Ja===!1)return!1;if(delete jn[pa],Ja===pa)return Object.defineProperty(jn,pa,{value:!0,configurable:!0}),!1;typeof Ja=="object"&&Ja&&(Ta=Ja)}return Ha&&(Ta=yield Ha(Ta)),Ta}),Hr=jn=>{const Xn=jn.filter(Ta=>!Ta.file[pa]);if(!Xn.length)return;const sr=Xn.map(Ta=>nt(Ta.file));let Ha=(0,de.Z)(gr);sr.forEach(Ta=>{Ha=Me(Ta,Ha)}),sr.forEach((Ta,Ja)=>{let Rr=Ta;if(Xn[Ja].parsedFile)Ta.status="uploading";else{const{originFileObj:bo}=Ta;let $o;try{$o=new File([bo],bo.name,{type:bo.type})}catch(Wo){$o=new Blob([bo],{type:bo.type}),$o.name=bo.name,$o.lastModifiedDate=new Date,$o.lastModified=new Date().getTime()}$o.uid=Ta.uid,Rr=$o}br(Rr,Ha)})},ko=(jn,Xn,sr)=>{try{typeof jn=="string"&&(jn=JSON.parse(jn))}catch(Ja){}if(!yt(Xn,gr))return;const Ha=nt(Xn);Ha.status="done",Ha.percent=100,Ha.response=jn,Ha.xhr=sr;const Ta=Me(Ha,gr);br(Ha,Ta)},mo=(jn,Xn)=>{if(!yt(Xn,gr))return;const sr=nt(Xn);sr.status="uploading",sr.percent=jn.percent;const Ha=Me(sr,gr);br(sr,Ha,jn)},di=(jn,Xn,sr)=>{if(!yt(sr,gr))return;const Ha=nt(sr);Ha.error=jn,Ha.response=Xn,Ha.status="error";const Ta=Me(Ha,gr);br(Ha,Ta)},vi=jn=>{let Xn;Promise.resolve(typeof Kn=="function"?Kn(jn):Kn).then(sr=>{var Ha;if(sr===!1)return;const Ta=Bn(jn,gr);Ta&&(Xn=Object.assign(Object.assign({},jn),{status:"removed"}),gr==null||gr.forEach(Ja=>{const Rr=Xn.uid!==void 0?"uid":"name";Ja[Rr]===Xn[Rr]&&!Object.isFrozen(Ja)&&(Ja.status="removed")}),(Ha=Oo.current)===null||Ha===void 0||Ha.abort(Xn),br(Xn,Ta))})},Ui=jn=>{Yo(jn.type),jn.type==="drop"&&(En==null||En(jn))};b.useImperativeHandle(bn,()=>({onBatchStart:Hr,onSuccess:ko,onProgress:mo,onError:di,fileList:gr,upload:Oo.current}));const{getPrefixCls:tl,direction:nl,upload:Vo}=b.useContext(gt.E_),Fi=tl("upload",Ua),Wi=Object.assign(Object.assign({onBatchStart:Hr,onError:di,onProgress:mo,onSuccess:ko},Ue),{data:si,multiple:ai,action:xi,accept:ho,supportServerRender:yo,prefixCls:Fi,disabled:Ao,beforeUpload:ri,onChange:void 0});delete Wi.className,delete Wi.style,(!no||Ao)&&delete Wi.id;const[dl,gl]=An(Fi),[Pl]=(0,ln.Z)("Upload",xt.Z.Upload),{showRemoveIcon:kr,showPreviewIcon:Qa,showDownloadIcon:Ga,removeIcon:Ya,previewIcon:so,downloadIcon:we}=typeof la=="boolean"?{}:la,fn=(jn,Xn)=>la?b.createElement(Da,{prefixCls:Fi,listType:Qn,items:gr,previewFile:dr,onPreview:Un,onDownload:ur,onRemove:vi,showRemoveIcon:!Ao&&kr,showPreviewIcon:Qa,showDownloadIcon:Ga,removeIcon:Ya,previewIcon:so,downloadIcon:we,iconRender:Ir,locale:Object.assign(Object.assign({},Pl),Wr),isImageUrl:ha,progress:za,appendAction:jn,appendActionVisible:Xn,itemRender:Er,disabled:Ao}):jn,Mn=Ne()(`${Fi}-wrapper`,La,Go,gl,Vo==null?void 0:Vo.className,{[`${Fi}-rtl`]:nl==="rtl",[`${Fi}-picture-card-wrapper`]:Qn==="picture-card",[`${Fi}-picture-circle-wrapper`]:Qn==="picture-circle"}),Sa=Object.assign(Object.assign({},Vo==null?void 0:Vo.style),Fr);if(Or==="drag"){const jn=Ne()(gl,Fi,`${Fi}-drag`,{[`${Fi}-drag-uploading`]:gr.some(Xn=>Xn.status==="uploading"),[`${Fi}-drag-hover`]:Qo==="dragover",[`${Fi}-disabled`]:Ao,[`${Fi}-rtl`]:nl==="rtl"});return dl(b.createElement("span",{className:Mn},b.createElement("div",{className:jn,style:Sa,onDrop:Ui,onDragOver:Ui,onDragLeave:Ui},b.createElement(Le,Object.assign({},Wi,{ref:Oo,className:`${Fi}-btn`}),b.createElement("div",{className:`${Fi}-drag-container`},no))),fn()))}const on=Ne()(Fi,`${Fi}-select`,{[`${Fi}-disabled`]:Ao}),Fa=(jn=>b.createElement("div",{className:on,style:jn},b.createElement(Le,Object.assign({},Wi,{ref:Oo}))))(no?void 0:{display:"none"});return dl(Qn==="picture-card"||Qn==="picture-circle"?b.createElement("span",{className:Mn},fn(Fa,!!no)):b.createElement("span",{className:Mn},Fa,fn()))};var Pa=b.forwardRef(_n),Dn=function(Ue,bn){var Xt={};for(var Nn in Ue)Object.prototype.hasOwnProperty.call(Ue,Nn)&&bn.indexOf(Nn)<0&&(Xt[Nn]=Ue[Nn]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kn=0,Nn=Object.getOwnPropertySymbols(Ue);Kn<Nn.length;Kn++)bn.indexOf(Nn[Kn])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Nn[Kn])&&(Xt[Nn[Kn]]=Ue[Nn[Kn]]);return Xt},Nr=b.forwardRef((Ue,bn)=>{var{style:Xt,height:Nn}=Ue,Kn=Dn(Ue,["style","height"]);return b.createElement(Pa,Object.assign({ref:bn},Kn,{type:"drag",style:Object.assign(Object.assign({},Xt),{height:Nn})}))});const Ur=Pa;Ur.Dragger=Nr,Ur.LIST_IGNORE=pa;var Sr=Ur},24334:function(Qt,Gt,ee){var b,de;(function(Be,Ne){Qt.exports=Ne(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee.g!="undefined"?ee.g:this,function(Be){"use strict";Be=Be||{};var Ne=Be.Base64,Ze="2.6.4",ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=function(Ke){for(var ht={},Le=0,ot=Ke.length;Le<ot;Le++)ht[Ke.charAt(Le)]=Le;return ht}(ke),st=String.fromCharCode,et=function(Ke){if(Ke.length<2){var ht=Ke.charCodeAt(0);return ht<128?Ke:ht<2048?st(192|ht>>>6)+st(128|ht&63):st(224|ht>>>12&15)+st(128|ht>>>6&63)+st(128|ht&63)}else{var ht=65536+(Ke.charCodeAt(0)-55296)*1024+(Ke.charCodeAt(1)-56320);return st(240|ht>>>18&7)+st(128|ht>>>12&63)+st(128|ht>>>6&63)+st(128|ht&63)}},Ve=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ge=function(Ke){return Ke.replace(Ve,et)},Je=function(Ke){var ht=[0,2,1][Ke.length%3],Le=Ke.charCodeAt(0)<<16|(Ke.length>1?Ke.charCodeAt(1):0)<<8|(Ke.length>2?Ke.charCodeAt(2):0),ot=[ke.charAt(Le>>>18),ke.charAt(Le>>>12&63),ht>=2?"=":ke.charAt(Le>>>6&63),ht>=1?"=":ke.charAt(Le&63)];return ot.join("")},Ye=Be.btoa&&typeof Be.btoa=="function"?function(Ke){return Be.btoa(Ke)}:function(Ke){if(Ke.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ke.replace(/[\s\S]{1,3}/g,Je)},se=function(Ke){return Ye(Ge(String(Ke)))},E=function(Ke){return Ke.replace(/[+\/]/g,function(ht){return ht=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ke,ht){return ht?E(se(Ke)):se(Ke)},x=function(Ke){return a(Ke,!0)},y;Be.Uint8Array&&(y=function(Ke,ht){for(var Le="",ot=0,lt=Ke.length;ot<lt;ot+=3){var gt=Ke[ot],ft=Ke[ot+1],ln=Ke[ot+2],xt=gt<<16|ft<<8|ln;Le+=ke.charAt(xt>>>18)+ke.charAt(xt>>>12&63)+(typeof ft!="undefined"?ke.charAt(xt>>>6&63):"=")+(typeof ln!="undefined"?ke.charAt(xt&63):"=")}return ht?E(Le):Le});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(Ke){switch(Ke.length){case 4:var ht=(7&Ke.charCodeAt(0))<<18|(63&Ke.charCodeAt(1))<<12|(63&Ke.charCodeAt(2))<<6|63&Ke.charCodeAt(3),Le=ht-65536;return st((Le>>>10)+55296)+st((Le&1023)+56320);case 3:return st((15&Ke.charCodeAt(0))<<12|(63&Ke.charCodeAt(1))<<6|63&Ke.charCodeAt(2));default:return st((31&Ke.charCodeAt(0))<<6|63&Ke.charCodeAt(1))}},re=function(Ke){return Ke.replace(z,ne)},ue=function(Ke){var ht=Ke.length,Le=ht%4,ot=(ht>0?le[Ke.charAt(0)]<<18:0)|(ht>1?le[Ke.charAt(1)]<<12:0)|(ht>2?le[Ke.charAt(2)]<<6:0)|(ht>3?le[Ke.charAt(3)]:0),lt=[st(ot>>>16),st(ot>>>8&255),st(ot&255)];return lt.length-=[0,0,2,1][Le],lt.join("")},ie=Be.atob&&typeof Be.atob=="function"?function(Ke){return Be.atob(Ke)}:function(Ke){return Ke.replace(/\S{1,4}/g,ue)},ve=function(Ke){return ie(String(Ke).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(Ke){return re(ie(Ke))},je=function(Ke){return String(Ke).replace(/[-_]/g,function(ht){return ht=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ae=function(Ke){return be(je(Ke))},He;Be.Uint8Array&&(He=function(Ke){return Uint8Array.from(ve(je(Ke)),function(ht){return ht.charCodeAt(0)})});var he=function(){var Ke=Be.Base64;return Be.Base64=Ne,Ke};if(Be.Base64={VERSION:Ze,atob:ve,btoa:Ye,fromBase64:Ae,toBase64:a,utob:Ge,encode:a,encodeURI:x,btou:re,decode:Ae,noConflict:he,fromUint8Array:y,toUint8Array:He},typeof Object.defineProperty=="function"){var qe=function(Ke){return{value:Ke,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",qe(function(){return Ae(this)})),Object.defineProperty(String.prototype,"toBase64",qe(function(Ke){return a(this,Ke)})),Object.defineProperty(String.prototype,"toBase64URI",qe(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Qt.exports?Qt.exports.Base64=Be.Base64:(b=[],de=function(){return Be.Base64}.apply(Gt,b),de!==void 0&&(Qt.exports=de)),{Base64:Be.Base64}})},39417:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return be}});var b=ee(72308),de=ee(49618),Be=ee(74416),Ne=ee(77321),Ze=ee(96949),ke=ee(55090),le=ee(80237),st=ee(77205),et=ee(38793),Ve=ee(92310),Ge=ee.n(Ve),Je=ee(26112),Ye=ee(59301),se=ee(39378),E=function(Ae){for(var He=Ae.prefixCls,he=Ae.level,qe=Ae.isStart,Ke=Ae.isEnd,ht="".concat(He,"-indent-unit"),Le=[],ot=0;ot<he;ot+=1){var lt;Le.push(Ye.createElement("span",{key:ot,className:Ge()(ht,(lt={},(0,de.Z)(lt,"".concat(ht,"-start"),qe[ot]),(0,de.Z)(lt,"".concat(ht,"-end"),Ke[ot]),lt))}))}return Ye.createElement("span",{"aria-hidden":"true",className:"".concat(He,"-indent")},Le)},a=Ye.memo(E),x=ee(67841),y=ee(71430),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ne="open",re="close",ue="---",ie=function(je){(0,st.Z)(He,je);var Ae=(0,et.Z)(He);function He(){var he;(0,Ze.Z)(this,He);for(var qe=arguments.length,Ke=new Array(qe),ht=0;ht<qe;ht++)Ke[ht]=arguments[ht];return he=Ae.call.apply(Ae,[this].concat(Ke)),he.state={dragNodeHighlight:!1},he.selectHandle=void 0,he.cacheIndent=void 0,he.onSelectorClick=function(Le){var ot=he.props.context.onNodeClick;ot(Le,(0,y.F)(he.props)),he.isSelectable()?he.onSelect(Le):he.onCheck(Le)},he.onSelectorDoubleClick=function(Le){var ot=he.props.context.onNodeDoubleClick;ot(Le,(0,y.F)(he.props))},he.onSelect=function(Le){if(!he.isDisabled()){var ot=he.props.context.onNodeSelect;ot(Le,(0,y.F)(he.props))}},he.onCheck=function(Le){if(!he.isDisabled()){var ot=he.props,lt=ot.disableCheckbox,gt=ot.checked,ft=he.props.context.onNodeCheck;if(!(!he.isCheckable()||lt)){var ln=!gt;ft(Le,(0,y.F)(he.props),ln)}}},he.onMouseEnter=function(Le){var ot=he.props.context.onNodeMouseEnter;ot(Le,(0,y.F)(he.props))},he.onMouseLeave=function(Le){var ot=he.props.context.onNodeMouseLeave;ot(Le,(0,y.F)(he.props))},he.onContextMenu=function(Le){var ot=he.props.context.onNodeContextMenu;ot(Le,(0,y.F)(he.props))},he.onDragStart=function(Le){var ot=he.props.context.onNodeDragStart;Le.stopPropagation(),he.setState({dragNodeHighlight:!0}),ot(Le,(0,le.Z)(he));try{Le.dataTransfer.setData("text/plain","")}catch(lt){}},he.onDragEnter=function(Le){var ot=he.props.context.onNodeDragEnter;Le.preventDefault(),Le.stopPropagation(),ot(Le,(0,le.Z)(he))},he.onDragOver=function(Le){var ot=he.props.context.onNodeDragOver;Le.preventDefault(),Le.stopPropagation(),ot(Le,(0,le.Z)(he))},he.onDragLeave=function(Le){var ot=he.props.context.onNodeDragLeave;Le.stopPropagation(),ot(Le,(0,le.Z)(he))},he.onDragEnd=function(Le){var ot=he.props.context.onNodeDragEnd;Le.stopPropagation(),he.setState({dragNodeHighlight:!1}),ot(Le,(0,le.Z)(he))},he.onDrop=function(Le){var ot=he.props.context.onNodeDrop;Le.preventDefault(),Le.stopPropagation(),he.setState({dragNodeHighlight:!1}),ot(Le,(0,le.Z)(he))},he.onExpand=function(Le){var ot=he.props,lt=ot.loading,gt=ot.context.onNodeExpand;lt||gt(Le,(0,y.F)(he.props))},he.setSelectHandle=function(Le){he.selectHandle=Le},he.getNodeState=function(){var Le=he.props.expanded;return he.isLeaf()?null:Le?ne:re},he.hasChildren=function(){var Le=he.props.eventKey,ot=he.props.context.keyEntities,lt=(0,x.Z)(ot,Le)||{},gt=lt.children;return!!(gt||[]).length},he.isLeaf=function(){var Le=he.props,ot=Le.isLeaf,lt=Le.loaded,gt=he.props.context.loadData,ft=he.hasChildren();return ot===!1?!1:ot||!gt&&!ft||gt&&lt&&!ft},he.isDisabled=function(){var Le=he.props.disabled,ot=he.props.context.disabled;return!!(ot||Le)},he.isCheckable=function(){var Le=he.props.checkable,ot=he.props.context.checkable;return!ot||Le===!1?!1:ot},he.syncLoadData=function(Le){var ot=Le.expanded,lt=Le.loading,gt=Le.loaded,ft=he.props.context,ln=ft.loadData,xt=ft.onNodeLoad;lt||ln&&ot&&!he.isLeaf()&&!he.hasChildren()&&!gt&&xt((0,y.F)(he.props))},he.isDraggable=function(){var Le=he.props,ot=Le.data,lt=Le.context.draggable;return!!(lt&&(!lt.nodeDraggable||lt.nodeDraggable(ot)))},he.renderDragHandler=function(){var Le=he.props.context,ot=Le.draggable,lt=Le.prefixCls;return ot!=null&&ot.icon?Ye.createElement("span",{className:"".concat(lt,"-draggable-icon")},ot.icon):null},he.renderSwitcherIconDom=function(Le){var ot=he.props.switcherIcon,lt=he.props.context.switcherIcon,gt=ot||lt;return typeof gt=="function"?gt((0,Ne.Z)((0,Ne.Z)({},he.props),{},{isLeaf:Le})):gt},he.renderSwitcher=function(){var Le=he.props.expanded,ot=he.props.context.prefixCls;if(he.isLeaf()){var lt=he.renderSwitcherIconDom(!0);return lt!==!1?Ye.createElement("span",{className:Ge()("".concat(ot,"-switcher"),"".concat(ot,"-switcher-noop"))},lt):null}var gt=Ge()("".concat(ot,"-switcher"),"".concat(ot,"-switcher_").concat(Le?ne:re)),ft=he.renderSwitcherIconDom(!1);return ft!==!1?Ye.createElement("span",{onClick:he.onExpand,className:gt},ft):null},he.renderCheckbox=function(){var Le=he.props,ot=Le.checked,lt=Le.halfChecked,gt=Le.disableCheckbox,ft=he.props.context.prefixCls,ln=he.isDisabled(),xt=he.isCheckable();if(!xt)return null;var an=typeof xt!="boolean"?xt:null;return Ye.createElement("span",{className:Ge()("".concat(ft,"-checkbox"),ot&&"".concat(ft,"-checkbox-checked"),!ot&&lt&&"".concat(ft,"-checkbox-indeterminate"),(ln||gt)&&"".concat(ft,"-checkbox-disabled")),onClick:he.onCheck},an)},he.renderIcon=function(){var Le=he.props.loading,ot=he.props.context.prefixCls;return Ye.createElement("span",{className:Ge()("".concat(ot,"-iconEle"),"".concat(ot,"-icon__").concat(he.getNodeState()||"docu"),Le&&"".concat(ot,"-icon_loading"))})},he.renderSelector=function(){var Le=he.state.dragNodeHighlight,ot=he.props,lt=ot.title,gt=lt===void 0?ue:lt,ft=ot.selected,ln=ot.icon,xt=ot.loading,an=ot.data,hn=he.props.context,$e=hn.prefixCls,dt=hn.showIcon,rn=hn.icon,Vn=hn.loadData,Zt=hn.titleRender,Fn=he.isDisabled(),ze="".concat($e,"-node-content-wrapper"),ct;if(dt){var Lt=ln||rn;ct=Lt?Ye.createElement("span",{className:Ge()("".concat($e,"-iconEle"),"".concat($e,"-icon__customize"))},typeof Lt=="function"?Lt(he.props):Lt):he.renderIcon()}else Vn&&xt&&(ct=he.renderIcon());var mt;typeof gt=="function"?mt=gt(an):Zt?mt=Zt(an):mt=gt;var Nt=Ye.createElement("span",{className:"".concat($e,"-title")},mt);return Ye.createElement("span",{ref:he.setSelectHandle,title:typeof gt=="string"?gt:"",className:Ge()("".concat(ze),"".concat(ze,"-").concat(he.getNodeState()||"normal"),!Fn&&(ft||Le)&&"".concat($e,"-node-selected")),onMouseEnter:he.onMouseEnter,onMouseLeave:he.onMouseLeave,onContextMenu:he.onContextMenu,onClick:he.onSelectorClick,onDoubleClick:he.onSelectorDoubleClick},ct,Nt,he.renderDropIndicator())},he.renderDropIndicator=function(){var Le=he.props,ot=Le.disabled,lt=Le.eventKey,gt=he.props.context,ft=gt.draggable,ln=gt.dropLevelOffset,xt=gt.dropPosition,an=gt.prefixCls,hn=gt.indent,$e=gt.dropIndicatorRender,dt=gt.dragOverNodeKey,rn=gt.direction,Vn=!!ft,Zt=!ot&&Vn&&dt===lt,Fn=hn!=null?hn:he.cacheIndent;return he.cacheIndent=hn,Zt?$e({dropPosition:xt,dropLevelOffset:ln,indent:Fn,prefixCls:an,direction:rn}):null},he}return(0,ke.Z)(He,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var qe=this.props.selectable,Ke=this.props.context.selectable;return typeof qe=="boolean"?qe:Ke}},{key:"render",value:function(){var qe,Ke=this.props,ht=Ke.eventKey,Le=Ke.className,ot=Ke.style,lt=Ke.dragOver,gt=Ke.dragOverGapTop,ft=Ke.dragOverGapBottom,ln=Ke.isLeaf,xt=Ke.isStart,an=Ke.isEnd,hn=Ke.expanded,$e=Ke.selected,dt=Ke.checked,rn=Ke.halfChecked,Vn=Ke.loading,Zt=Ke.domRef,Fn=Ke.active,ze=Ke.data,ct=Ke.onMouseMove,Lt=Ke.selectable,mt=(0,Be.Z)(Ke,z),Nt=this.props.context,ut=Nt.prefixCls,at=Nt.filterTreeNode,De=Nt.keyEntities,fe=Nt.dropContainerKey,Xe=Nt.dropTargetKey,Rt=Nt.draggingNodeKey,Oe=this.isDisabled(),Ie=(0,Je.Z)(mt,{aria:!0,data:!0}),St=(0,x.Z)(De,ht)||{},nt=St.level,Me=an[an.length-1],yt=this.isDraggable(),Bn=!Oe&&yt,nn=Rt===ht,dn=Lt!==void 0?{"aria-selected":!!Lt}:void 0;return Ye.createElement("div",(0,b.Z)({ref:Zt,className:Ge()(Le,"".concat(ut,"-treenode"),(qe={},(0,de.Z)(qe,"".concat(ut,"-treenode-disabled"),Oe),(0,de.Z)(qe,"".concat(ut,"-treenode-switcher-").concat(hn?"open":"close"),!ln),(0,de.Z)(qe,"".concat(ut,"-treenode-checkbox-checked"),dt),(0,de.Z)(qe,"".concat(ut,"-treenode-checkbox-indeterminate"),rn),(0,de.Z)(qe,"".concat(ut,"-treenode-selected"),$e),(0,de.Z)(qe,"".concat(ut,"-treenode-loading"),Vn),(0,de.Z)(qe,"".concat(ut,"-treenode-active"),Fn),(0,de.Z)(qe,"".concat(ut,"-treenode-leaf-last"),Me),(0,de.Z)(qe,"".concat(ut,"-treenode-draggable"),yt),(0,de.Z)(qe,"dragging",nn),(0,de.Z)(qe,"drop-target",Xe===ht),(0,de.Z)(qe,"drop-container",fe===ht),(0,de.Z)(qe,"drag-over",!Oe&&lt),(0,de.Z)(qe,"drag-over-gap-top",!Oe&&gt),(0,de.Z)(qe,"drag-over-gap-bottom",!Oe&&ft),(0,de.Z)(qe,"filter-node",at&&at((0,y.F)(this.props))),qe)),style:ot,draggable:Bn,"aria-grabbed":nn,onDragStart:Bn?this.onDragStart:void 0,onDragEnter:yt?this.onDragEnter:void 0,onDragOver:yt?this.onDragOver:void 0,onDragLeave:yt?this.onDragLeave:void 0,onDrop:yt?this.onDrop:void 0,onDragEnd:yt?this.onDragEnd:void 0,onMouseMove:ct},dn,Ie),Ye.createElement(a,{prefixCls:ut,level:nt,isStart:xt,isEnd:an}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),He}(Ye.Component),ve=function(Ae){return Ye.createElement(se.k.Consumer,null,function(He){return Ye.createElement(ie,(0,b.Z)({},Ae,{context:He}))})};ve.displayName="TreeNode",ve.isTreeNode=1;var be=ve},39378:function(Qt,Gt,ee){"use strict";ee.d(Gt,{k:function(){return de}});var b=ee(59301),de=b.createContext(null)},54844:function(Qt,Gt,ee){"use strict";ee.d(Gt,{O:function(){return be.Z},Z:function(){return Nt}});var b=ee(72308),de=ee(49618),Be=ee(62853),Ne=ee(77321),Ze=ee(80702),ke=ee(96949),le=ee(55090),st=ee(80237),et=ee(77205),Ve=ee(38793),Ge=ee(92310),Je=ee.n(Ge),Ye=ee(10228),se=ee(26112),E=ee(48736),a=ee(59301),x=ee(39378);function y(ut){var at=ut.dropPosition,De=ut.dropLevelOffset,fe=ut.indent,Xe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(at){case-1:Xe.top=0,Xe.left=-De*fe;break;case 1:Xe.bottom=0,Xe.left=-De*fe;break;case 0:Xe.bottom=0,Xe.left=fe;break}return a.createElement("div",{style:Xe})}function z(ut){if(ut==null)throw new TypeError("Cannot destructure "+ut)}var ne=ee(52487),re=ee(74416),ue=ee(34280),ie=ee(45680),ve=ee(77900),be=ee(39417);function je(ut,at){var De=a.useState(!1),fe=(0,ne.Z)(De,2),Xe=fe[0],Rt=fe[1];a.useLayoutEffect(function(){if(Xe)return ut(),function(){at()}},[Xe]),a.useLayoutEffect(function(){return Rt(!0),function(){Rt(!1)}},[])}var Ae=ee(71430),He=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],he=function(at,De){var fe=at.className,Xe=at.style,Rt=at.motion,Oe=at.motionNodes,Ie=at.motionType,St=at.onMotionStart,nt=at.onMotionEnd,Me=at.active,yt=at.treeNodeRequiredProps,Bn=(0,re.Z)(at,He),nn=a.useState(!0),dn=(0,ne.Z)(nn,2),un=dn[0],yn=dn[1],Te=a.useContext(x.k),Ft=Te.prefixCls,zt=Oe&&Ie!=="hide";(0,ue.Z)(function(){Oe&&zt!==un&&yn(zt)},[Oe]);var wt=function(){Oe&&St()},kt=a.useRef(!1),sn=function(){Oe&&!kt.current&&(kt.current=!0,nt())};je(wt,sn);var cn=function(Jn){zt===Jn&&sn()};return Oe?a.createElement(ve.default,(0,b.Z)({ref:De,visible:un},Rt,{motionAppear:Ie==="show",onVisibleChanged:cn}),function(Ln,Jn){var va=Ln.className,Da=Ln.style;return a.createElement("div",{ref:Jn,className:Je()("".concat(Ft,"-treenode-motion"),va),style:Da},Oe.map(function(Na){var ar=(0,b.Z)({},(z(Na.data),Na.data)),$a=Na.title,fa=Na.key,yr=Na.isStart,en=Na.isEnd;delete ar.children;var On=(0,Ae.H8)(fa,yt);return a.createElement(be.Z,(0,b.Z)({},ar,On,{title:$a,active:Me,data:Na.data,key:fa,isStart:yr,isEnd:en}))}))}):a.createElement(be.Z,(0,b.Z)({domRef:De,className:fe,style:Xe},Bn,{active:Me}))};he.displayName="MotionTreeNode";var qe=a.forwardRef(he),Ke=qe;function ht(){var ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=ut.length,fe=at.length;if(Math.abs(De-fe)!==1)return{add:!1,key:null};function Xe(Rt,Oe){var Ie=new Map;Rt.forEach(function(nt){Ie.set(nt,!0)});var St=Oe.filter(function(nt){return!Ie.has(nt)});return St.length===1?St[0]:null}return De<fe?{add:!0,key:Xe(ut,at)}:{add:!1,key:Xe(at,ut)}}function Le(ut,at,De){var fe=ut.findIndex(function(Ie){return Ie.key===De}),Xe=ut[fe+1],Rt=at.findIndex(function(Ie){return Ie.key===De});if(Xe){var Oe=at.findIndex(function(Ie){return Ie.key===Xe.key});return at.slice(Rt+1,Oe)}return at.slice(Rt+1)}var ot=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],lt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},gt=function(){},ft="RC_TREE_MOTION_".concat(Math.random()),ln={key:ft},xt={key:ft,level:0,index:0,pos:"0",node:ln,nodes:[ln]},an={parent:null,children:[],pos:xt.pos,data:ln,title:null,key:ft,isStart:[],isEnd:[]};function hn(ut,at,De,fe){return at===!1||!De?ut:ut.slice(0,Math.ceil(De/fe)+1)}function $e(ut){var at=ut.key,De=ut.pos;return(0,Ae.km)(at,De)}function dt(ut){for(var at=String(ut.data.key),De=ut;De.parent;)De=De.parent,at="".concat(De.data.key," > ").concat(at);return at}var rn=a.forwardRef(function(ut,at){var De=ut.prefixCls,fe=ut.data,Xe=ut.selectable,Rt=ut.checkable,Oe=ut.expandedKeys,Ie=ut.selectedKeys,St=ut.checkedKeys,nt=ut.loadedKeys,Me=ut.loadingKeys,yt=ut.halfCheckedKeys,Bn=ut.keyEntities,nn=ut.disabled,dn=ut.dragging,un=ut.dragOverNodeKey,yn=ut.dropPosition,Te=ut.motion,Ft=ut.height,zt=ut.itemHeight,wt=ut.virtual,kt=ut.focusable,sn=ut.activeItem,cn=ut.focused,Ln=ut.tabIndex,Jn=ut.onKeyDown,va=ut.onFocus,Da=ut.onBlur,Na=ut.onActiveChange,ar=ut.onListChangeStart,$a=ut.onListChangeEnd,fa=(0,re.Z)(ut,ot),yr=a.useRef(null),en=a.useRef(null);a.useImperativeHandle(at,function(){return{scrollTo:function(Sr){yr.current.scrollTo(Sr)},getIndentWidth:function(){return en.current.offsetWidth}}});var On=a.useState(Oe),ia=(0,ne.Z)(On,2),xa=ia[0],We=ia[1],It=a.useState(fe),_t=(0,ne.Z)(It,2),Vt=_t[0],Wt=_t[1],Rn=a.useState(fe),wn=(0,ne.Z)(Rn,2),vt=wn[0],Bt=wn[1],pt=a.useState([]),Sn=(0,ne.Z)(pt,2),Wn=Sn[0],An=Sn[1],ka=a.useState(null),pa=(0,ne.Z)(ka,2),_n=pa[0],Ea=pa[1],Pa=a.useRef(fe);Pa.current=fe;function Dn(){var Ur=Pa.current;Wt(Ur),Bt(Ur),An([]),Ea(null),$a()}(0,ue.Z)(function(){We(Oe);var Ur=ht(xa,Oe);if(Ur.key!==null)if(Ur.add){var Sr=Vt.findIndex(function(la){var Qn=la.key;return Qn===Ur.key}),Ue=hn(Le(Vt,fe,Ur.key),wt,Ft,zt),bn=Vt.slice();bn.splice(Sr+1,0,an),Bt(bn),An(Ue),Ea("show")}else{var Xt=fe.findIndex(function(la){var Qn=la.key;return Qn===Ur.key}),Nn=hn(Le(fe,Vt,Ur.key),wt,Ft,zt),Kn=fe.slice();Kn.splice(Xt+1,0,an),Bt(Kn),An(Nn),Ea("hide")}else Vt!==fe&&(Wt(fe),Bt(fe))},[Oe,fe]),a.useEffect(function(){dn||Dn()},[dn]);var lr=Te?vt:fe,Nr={expandedKeys:Oe,selectedKeys:Ie,loadedKeys:nt,loadingKeys:Me,checkedKeys:St,halfCheckedKeys:yt,dragOverNodeKey:un,dropPosition:yn,keyEntities:Bn};return a.createElement(a.Fragment,null,cn&&sn&&a.createElement("span",{style:lt,"aria-live":"assertive"},dt(sn)),a.createElement("div",null,a.createElement("input",{style:lt,disabled:kt===!1||nn,tabIndex:kt!==!1?Ln:null,onKeyDown:Jn,onFocus:va,onBlur:Da,value:"",onChange:gt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(De,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(De,"-indent")},a.createElement("div",{ref:en,className:"".concat(De,"-indent-unit")}))),a.createElement(ie.Z,(0,b.Z)({},fa,{data:lr,itemKey:$e,height:Ft,fullHeight:!1,virtual:wt,itemHeight:zt,prefixCls:"".concat(De,"-list"),ref:yr,onVisibleChange:function(Sr,Ue){var bn=new Set(Sr),Xt=Ue.filter(function(Nn){return!bn.has(Nn)});Xt.some(function(Nn){return $e(Nn)===ft})&&Dn()}}),function(Ur){var Sr=Ur.pos,Ue=(0,b.Z)({},(z(Ur.data),Ur.data)),bn=Ur.title,Xt=Ur.key,Nn=Ur.isStart,Kn=Ur.isEnd,la=(0,Ae.km)(Xt,Sr);delete Ue.key,delete Ue.children;var Qn=(0,Ae.H8)(la,Nr);return a.createElement(Ke,(0,b.Z)({},Ue,Qn,{title:bn,active:!!sn&&Xt===sn.key,pos:Sr,data:Ur.data,isStart:Nn,isEnd:Kn,motion:Te,motionNodes:Xt===ft?Wn:null,motionType:_n,onMotionStart:ar,onMotionEnd:Dn,treeNodeRequiredProps:Nr,onMouseMove:function(){Na(null)}}))}))});rn.displayName="NodeList";var Vn=rn,Zt=ee(35654),Fn=ee(90782),ze=ee(67841),ct=10,Lt=function(ut){(0,et.Z)(De,ut);var at=(0,Ve.Z)(De);function De(){var fe;(0,ke.Z)(this,De);for(var Xe=arguments.length,Rt=new Array(Xe),Oe=0;Oe<Xe;Oe++)Rt[Oe]=arguments[Oe];return fe=at.call.apply(at,[this].concat(Rt)),fe.destroyed=!1,fe.delayedDragEnterLogic=void 0,fe.loadingRetryTimes={},fe.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ae.w$)()},fe.dragStartMousePosition=null,fe.dragNode=void 0,fe.currentMouseOverDroppableNodeKey=null,fe.listRef=a.createRef(),fe.onNodeDragStart=function(Ie,St){var nt=fe.state,Me=nt.expandedKeys,yt=nt.keyEntities,Bn=fe.props.onDragStart,nn=St.props.eventKey;fe.dragNode=St,fe.dragStartMousePosition={x:Ie.clientX,y:Ie.clientY};var dn=(0,Zt._5)(Me,nn);fe.setState({draggingNodeKey:nn,dragChildrenKeys:(0,Zt.wA)(nn,yt),indent:fe.listRef.current.getIndentWidth()}),fe.setExpandedKeys(dn),window.addEventListener("dragend",fe.onWindowDragEnd),Bn==null||Bn({event:Ie,node:(0,Ae.F)(St.props)})},fe.onNodeDragEnter=function(Ie,St){var nt=fe.state,Me=nt.expandedKeys,yt=nt.keyEntities,Bn=nt.dragChildrenKeys,nn=nt.flattenNodes,dn=nt.indent,un=fe.props,yn=un.onDragEnter,Te=un.onExpand,Ft=un.allowDrop,zt=un.direction,wt=St.props,kt=wt.pos,sn=wt.eventKey,cn=(0,st.Z)(fe),Ln=cn.dragNode;if(fe.currentMouseOverDroppableNodeKey!==sn&&(fe.currentMouseOverDroppableNodeKey=sn),!Ln){fe.resetDragState();return}var Jn=(0,Zt.OM)(Ie,Ln,St,dn,fe.dragStartMousePosition,Ft,nn,yt,Me,zt),va=Jn.dropPosition,Da=Jn.dropLevelOffset,Na=Jn.dropTargetKey,ar=Jn.dropContainerKey,$a=Jn.dropTargetPos,fa=Jn.dropAllowed,yr=Jn.dragOverNodeKey;if(Bn.indexOf(Na)!==-1||!fa){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(en){clearTimeout(fe.delayedDragEnterLogic[en])}),Ln.props.eventKey!==St.props.eventKey&&(Ie.persist(),fe.delayedDragEnterLogic[kt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var en=(0,Ze.Z)(Me),On=(0,ze.Z)(yt,St.props.eventKey);On&&(On.children||[]).length&&(en=(0,Zt.L0)(Me,St.props.eventKey)),"expandedKeys"in fe.props||fe.setExpandedKeys(en),Te==null||Te(en,{node:(0,Ae.F)(St.props),expanded:!0,nativeEvent:Ie.nativeEvent})}},800)),Ln.props.eventKey===Na&&Da===0){fe.resetDragState();return}fe.setState({dragOverNodeKey:yr,dropPosition:va,dropLevelOffset:Da,dropTargetKey:Na,dropContainerKey:ar,dropTargetPos:$a,dropAllowed:fa}),yn==null||yn({event:Ie,node:(0,Ae.F)(St.props),expandedKeys:Me})},fe.onNodeDragOver=function(Ie,St){var nt=fe.state,Me=nt.dragChildrenKeys,yt=nt.flattenNodes,Bn=nt.keyEntities,nn=nt.expandedKeys,dn=nt.indent,un=fe.props,yn=un.onDragOver,Te=un.allowDrop,Ft=un.direction,zt=(0,st.Z)(fe),wt=zt.dragNode;if(wt){var kt=(0,Zt.OM)(Ie,wt,St,dn,fe.dragStartMousePosition,Te,yt,Bn,nn,Ft),sn=kt.dropPosition,cn=kt.dropLevelOffset,Ln=kt.dropTargetKey,Jn=kt.dropContainerKey,va=kt.dropAllowed,Da=kt.dropTargetPos,Na=kt.dragOverNodeKey;Me.indexOf(Ln)!==-1||!va||(wt.props.eventKey===Ln&&cn===0?fe.state.dropPosition===null&&fe.state.dropLevelOffset===null&&fe.state.dropTargetKey===null&&fe.state.dropContainerKey===null&&fe.state.dropTargetPos===null&&fe.state.dropAllowed===!1&&fe.state.dragOverNodeKey===null||fe.resetDragState():sn===fe.state.dropPosition&&cn===fe.state.dropLevelOffset&&Ln===fe.state.dropTargetKey&&Jn===fe.state.dropContainerKey&&Da===fe.state.dropTargetPos&&va===fe.state.dropAllowed&&Na===fe.state.dragOverNodeKey||fe.setState({dropPosition:sn,dropLevelOffset:cn,dropTargetKey:Ln,dropContainerKey:Jn,dropTargetPos:Da,dropAllowed:va,dragOverNodeKey:Na}),yn==null||yn({event:Ie,node:(0,Ae.F)(St.props)}))}},fe.onNodeDragLeave=function(Ie,St){fe.currentMouseOverDroppableNodeKey===St.props.eventKey&&!Ie.currentTarget.contains(Ie.relatedTarget)&&(fe.resetDragState(),fe.currentMouseOverDroppableNodeKey=null);var nt=fe.props.onDragLeave;nt==null||nt({event:Ie,node:(0,Ae.F)(St.props)})},fe.onWindowDragEnd=function(Ie){fe.onNodeDragEnd(Ie,null,!0),window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDragEnd=function(Ie,St){var nt=fe.props.onDragEnd;fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),nt==null||nt({event:Ie,node:(0,Ae.F)(St.props)}),fe.dragNode=null,window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDrop=function(Ie,St){var nt,Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,yt=fe.state,Bn=yt.dragChildrenKeys,nn=yt.dropPosition,dn=yt.dropTargetKey,un=yt.dropTargetPos,yn=yt.dropAllowed;if(yn){var Te=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),dn!==null){var Ft=(0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(dn,fe.getTreeNodeRequiredProps())),{},{active:((nt=fe.getActiveItem())===null||nt===void 0?void 0:nt.key)===dn,data:(0,ze.Z)(fe.state.keyEntities,dn).node}),zt=Bn.indexOf(dn)!==-1;(0,E.ZP)(!zt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var wt=(0,Zt.yx)(un),kt={event:Ie,node:(0,Ae.F)(Ft),dragNode:fe.dragNode?(0,Ae.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(Bn),dropToGap:nn!==0,dropPosition:nn+Number(wt[wt.length-1])};Me||Te==null||Te(kt),fe.dragNode=null}}},fe.cleanDragState=function(){var Ie=fe.state.draggingNodeKey;Ie!==null&&fe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),fe.dragStartMousePosition=null,fe.currentMouseOverDroppableNodeKey=null},fe.triggerExpandActionExpand=function(Ie,St){var nt=fe.state,Me=nt.expandedKeys,yt=nt.flattenNodes,Bn=St.expanded,nn=St.key,dn=St.isLeaf;if(!(dn||Ie.shiftKey||Ie.metaKey||Ie.ctrlKey)){var un=yt.filter(function(Te){return Te.key===nn})[0],yn=(0,Ae.F)((0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(nn,fe.getTreeNodeRequiredProps())),{},{data:un.data}));fe.setExpandedKeys(Bn?(0,Zt._5)(Me,nn):(0,Zt.L0)(Me,nn)),fe.onNodeExpand(Ie,yn)}},fe.onNodeClick=function(Ie,St){var nt=fe.props,Me=nt.onClick,yt=nt.expandAction;yt==="click"&&fe.triggerExpandActionExpand(Ie,St),Me==null||Me(Ie,St)},fe.onNodeDoubleClick=function(Ie,St){var nt=fe.props,Me=nt.onDoubleClick,yt=nt.expandAction;yt==="doubleClick"&&fe.triggerExpandActionExpand(Ie,St),Me==null||Me(Ie,St)},fe.onNodeSelect=function(Ie,St){var nt=fe.state.selectedKeys,Me=fe.state,yt=Me.keyEntities,Bn=Me.fieldNames,nn=fe.props,dn=nn.onSelect,un=nn.multiple,yn=St.selected,Te=St[Bn.key],Ft=!yn;Ft?un?nt=(0,Zt.L0)(nt,Te):nt=[Te]:nt=(0,Zt._5)(nt,Te);var zt=nt.map(function(wt){var kt=(0,ze.Z)(yt,wt);return kt?kt.node:null}).filter(function(wt){return wt});fe.setUncontrolledState({selectedKeys:nt}),dn==null||dn(nt,{event:"select",selected:Ft,node:St,selectedNodes:zt,nativeEvent:Ie.nativeEvent})},fe.onNodeCheck=function(Ie,St,nt){var Me=fe.state,yt=Me.keyEntities,Bn=Me.checkedKeys,nn=Me.halfCheckedKeys,dn=fe.props,un=dn.checkStrictly,yn=dn.onCheck,Te=St.key,Ft,zt={event:"check",node:St,checked:nt,nativeEvent:Ie.nativeEvent};if(un){var wt=nt?(0,Zt.L0)(Bn,Te):(0,Zt._5)(Bn,Te),kt=(0,Zt._5)(nn,Te);Ft={checked:wt,halfChecked:kt},zt.checkedNodes=wt.map(function(Da){return(0,ze.Z)(yt,Da)}).filter(function(Da){return Da}).map(function(Da){return Da.node}),fe.setUncontrolledState({checkedKeys:wt})}else{var sn=(0,Fn.S)([].concat((0,Ze.Z)(Bn),[Te]),!0,yt),cn=sn.checkedKeys,Ln=sn.halfCheckedKeys;if(!nt){var Jn=new Set(cn);Jn.delete(Te);var va=(0,Fn.S)(Array.from(Jn),{checked:!1,halfCheckedKeys:Ln},yt);cn=va.checkedKeys,Ln=va.halfCheckedKeys}Ft=cn,zt.checkedNodes=[],zt.checkedNodesPositions=[],zt.halfCheckedKeys=Ln,cn.forEach(function(Da){var Na=(0,ze.Z)(yt,Da);if(Na){var ar=Na.node,$a=Na.pos;zt.checkedNodes.push(ar),zt.checkedNodesPositions.push({node:ar,pos:$a})}}),fe.setUncontrolledState({checkedKeys:cn},!1,{halfCheckedKeys:Ln})}yn==null||yn(Ft,zt)},fe.onNodeLoad=function(Ie){var St=Ie.key,nt=new Promise(function(Me,yt){fe.setState(function(Bn){var nn=Bn.loadedKeys,dn=nn===void 0?[]:nn,un=Bn.loadingKeys,yn=un===void 0?[]:un,Te=fe.props,Ft=Te.loadData,zt=Te.onLoad;if(!Ft||dn.indexOf(St)!==-1||yn.indexOf(St)!==-1)return null;var wt=Ft(Ie);return wt.then(function(){var kt=fe.state.loadedKeys,sn=(0,Zt.L0)(kt,St);zt==null||zt(sn,{event:"load",node:Ie}),fe.setUncontrolledState({loadedKeys:sn}),fe.setState(function(cn){return{loadingKeys:(0,Zt._5)(cn.loadingKeys,St)}}),Me()}).catch(function(kt){if(fe.setState(function(cn){return{loadingKeys:(0,Zt._5)(cn.loadingKeys,St)}}),fe.loadingRetryTimes[St]=(fe.loadingRetryTimes[St]||0)+1,fe.loadingRetryTimes[St]>=ct){var sn=fe.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,Zt.L0)(sn,St)}),Me()}yt(kt)}),{loadingKeys:(0,Zt.L0)(yn,St)}})});return nt.catch(function(){}),nt},fe.onNodeMouseEnter=function(Ie,St){var nt=fe.props.onMouseEnter;nt==null||nt({event:Ie,node:St})},fe.onNodeMouseLeave=function(Ie,St){var nt=fe.props.onMouseLeave;nt==null||nt({event:Ie,node:St})},fe.onNodeContextMenu=function(Ie,St){var nt=fe.props.onRightClick;nt&&(Ie.preventDefault(),nt({event:Ie,node:St}))},fe.onFocus=function(){var Ie=fe.props.onFocus;fe.setState({focused:!0});for(var St=arguments.length,nt=new Array(St),Me=0;Me<St;Me++)nt[Me]=arguments[Me];Ie==null||Ie.apply(void 0,nt)},fe.onBlur=function(){var Ie=fe.props.onBlur;fe.setState({focused:!1}),fe.onActiveChange(null);for(var St=arguments.length,nt=new Array(St),Me=0;Me<St;Me++)nt[Me]=arguments[Me];Ie==null||Ie.apply(void 0,nt)},fe.getTreeNodeRequiredProps=function(){var Ie=fe.state,St=Ie.expandedKeys,nt=Ie.selectedKeys,Me=Ie.loadedKeys,yt=Ie.loadingKeys,Bn=Ie.checkedKeys,nn=Ie.halfCheckedKeys,dn=Ie.dragOverNodeKey,un=Ie.dropPosition,yn=Ie.keyEntities;return{expandedKeys:St||[],selectedKeys:nt||[],loadedKeys:Me||[],loadingKeys:yt||[],checkedKeys:Bn||[],halfCheckedKeys:nn||[],dragOverNodeKey:dn,dropPosition:un,keyEntities:yn}},fe.setExpandedKeys=function(Ie){var St=fe.state,nt=St.treeData,Me=St.fieldNames,yt=(0,Ae.oH)(nt,Ie,Me);fe.setUncontrolledState({expandedKeys:Ie,flattenNodes:yt},!0)},fe.onNodeExpand=function(Ie,St){var nt=fe.state.expandedKeys,Me=fe.state,yt=Me.listChanging,Bn=Me.fieldNames,nn=fe.props,dn=nn.onExpand,un=nn.loadData,yn=St.expanded,Te=St[Bn.key];if(!yt){var Ft=nt.indexOf(Te),zt=!yn;if((0,E.ZP)(yn&&Ft!==-1||!yn&&Ft===-1,"Expand state not sync with index check"),zt?nt=(0,Zt.L0)(nt,Te):nt=(0,Zt._5)(nt,Te),fe.setExpandedKeys(nt),dn==null||dn(nt,{node:St,expanded:zt,nativeEvent:Ie.nativeEvent}),zt&&un){var wt=fe.onNodeLoad(St);wt&&wt.then(function(){var kt=(0,Ae.oH)(fe.state.treeData,nt,Bn);fe.setUncontrolledState({flattenNodes:kt})}).catch(function(){var kt=fe.state.expandedKeys,sn=(0,Zt._5)(kt,Te);fe.setExpandedKeys(sn)})}}},fe.onListChangeStart=function(){fe.setUncontrolledState({listChanging:!0})},fe.onListChangeEnd=function(){setTimeout(function(){fe.setUncontrolledState({listChanging:!1})})},fe.onActiveChange=function(Ie){var St=fe.state.activeKey,nt=fe.props.onActiveChange;St!==Ie&&(fe.setState({activeKey:Ie}),Ie!==null&&fe.scrollTo({key:Ie}),nt==null||nt(Ie))},fe.getActiveItem=function(){var Ie=fe.state,St=Ie.activeKey,nt=Ie.flattenNodes;return St===null?null:nt.find(function(Me){var yt=Me.key;return yt===St})||null},fe.offsetActiveKey=function(Ie){var St=fe.state,nt=St.flattenNodes,Me=St.activeKey,yt=nt.findIndex(function(dn){var un=dn.key;return un===Me});yt===-1&&Ie<0&&(yt=nt.length),yt=(yt+Ie+nt.length)%nt.length;var Bn=nt[yt];if(Bn){var nn=Bn.key;fe.onActiveChange(nn)}else fe.onActiveChange(null)},fe.onKeyDown=function(Ie){var St=fe.state,nt=St.activeKey,Me=St.expandedKeys,yt=St.checkedKeys,Bn=St.fieldNames,nn=fe.props,dn=nn.onKeyDown,un=nn.checkable,yn=nn.selectable;switch(Ie.which){case Ye.Z.UP:{fe.offsetActiveKey(-1),Ie.preventDefault();break}case Ye.Z.DOWN:{fe.offsetActiveKey(1),Ie.preventDefault();break}}var Te=fe.getActiveItem();if(Te&&Te.data){var Ft=fe.getTreeNodeRequiredProps(),zt=Te.data.isLeaf===!1||!!(Te.data[Bn.children]||[]).length,wt=(0,Ae.F)((0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(nt,Ft)),{},{data:Te.data,active:!0}));switch(Ie.which){case Ye.Z.LEFT:{zt&&Me.includes(nt)?fe.onNodeExpand({},wt):Te.parent&&fe.onActiveChange(Te.parent.key),Ie.preventDefault();break}case Ye.Z.RIGHT:{zt&&!Me.includes(nt)?fe.onNodeExpand({},wt):Te.children&&Te.children.length&&fe.onActiveChange(Te.children[0].key),Ie.preventDefault();break}case Ye.Z.ENTER:case Ye.Z.SPACE:{un&&!wt.disabled&&wt.checkable!==!1&&!wt.disableCheckbox?fe.onNodeCheck({},wt,!yt.includes(nt)):!un&&yn&&!wt.disabled&&wt.selectable!==!1&&fe.onNodeSelect({},wt);break}}}dn==null||dn(Ie)},fe.setUncontrolledState=function(Ie){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Me=!1,yt=!0,Bn={};Object.keys(Ie).forEach(function(nn){if(nn in fe.props){yt=!1;return}Me=!0,Bn[nn]=Ie[nn]}),Me&&(!St||yt)&&fe.setState((0,Ne.Z)((0,Ne.Z)({},Bn),nt))}},fe.scrollTo=function(Ie){fe.listRef.current.scrollTo(Ie)},fe}return(0,le.Z)(De,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Xe=this.props.activeKey;Xe!==void 0&&Xe!==this.state.activeKey&&(this.setState({activeKey:Xe}),Xe!==null&&this.scrollTo({key:Xe}))}},{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 Xe,Rt=this.state,Oe=Rt.focused,Ie=Rt.flattenNodes,St=Rt.keyEntities,nt=Rt.draggingNodeKey,Me=Rt.activeKey,yt=Rt.dropLevelOffset,Bn=Rt.dropContainerKey,nn=Rt.dropTargetKey,dn=Rt.dropPosition,un=Rt.dragOverNodeKey,yn=Rt.indent,Te=this.props,Ft=Te.prefixCls,zt=Te.className,wt=Te.style,kt=Te.showLine,sn=Te.focusable,cn=Te.tabIndex,Ln=cn===void 0?0:cn,Jn=Te.selectable,va=Te.showIcon,Da=Te.icon,Na=Te.switcherIcon,ar=Te.draggable,$a=Te.checkable,fa=Te.checkStrictly,yr=Te.disabled,en=Te.motion,On=Te.loadData,ia=Te.filterTreeNode,xa=Te.height,We=Te.itemHeight,It=Te.virtual,_t=Te.titleRender,Vt=Te.dropIndicatorRender,Wt=Te.onContextMenu,Rn=Te.onScroll,wn=Te.direction,vt=Te.rootClassName,Bt=Te.rootStyle,pt=(0,se.Z)(this.props,{aria:!0,data:!0}),Sn;return ar&&((0,Be.Z)(ar)==="object"?Sn=ar:typeof ar=="function"?Sn={nodeDraggable:ar}:Sn={}),a.createElement(x.k.Provider,{value:{prefixCls:Ft,selectable:Jn,showIcon:va,icon:Da,switcherIcon:Na,draggable:Sn,draggingNodeKey:nt,checkable:$a,checkStrictly:fa,disabled:yr,keyEntities:St,dropLevelOffset:yt,dropContainerKey:Bn,dropTargetKey:nn,dropPosition:dn,dragOverNodeKey:un,indent:yn,direction:wn,dropIndicatorRender:Vt,loadData:On,filterTreeNode:ia,titleRender:_t,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}},a.createElement("div",{role:"tree",className:Je()(Ft,zt,vt,(Xe={},(0,de.Z)(Xe,"".concat(Ft,"-show-line"),kt),(0,de.Z)(Xe,"".concat(Ft,"-focused"),Oe),(0,de.Z)(Xe,"".concat(Ft,"-active-focused"),Me!==null),Xe)),style:Bt},a.createElement(Vn,(0,b.Z)({ref:this.listRef,prefixCls:Ft,style:wt,data:Ie,disabled:yr,selectable:Jn,checkable:!!$a,motion:en,dragging:nt!==null,height:xa,itemHeight:We,virtual:It,focusable:sn,focused:Oe,tabIndex:Ln,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Wt,onScroll:Rn},this.getTreeNodeRequiredProps(),pt))))}}],[{key:"getDerivedStateFromProps",value:function(Xe,Rt){var Oe=Rt.prevProps,Ie={prevProps:Xe};function St(sn){return!Oe&&sn in Xe||Oe&&Oe[sn]!==Xe[sn]}var nt,Me=Rt.fieldNames;if(St("fieldNames")&&(Me=(0,Ae.w$)(Xe.fieldNames),Ie.fieldNames=Me),St("treeData")?nt=Xe.treeData:St("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),nt=(0,Ae.zn)(Xe.children)),nt){Ie.treeData=nt;var yt=(0,Ae.I8)(nt,{fieldNames:Me});Ie.keyEntities=(0,Ne.Z)((0,de.Z)({},ft,xt),yt.keyEntities)}var Bn=Ie.keyEntities||Rt.keyEntities;if(St("expandedKeys")||Oe&&St("autoExpandParent"))Ie.expandedKeys=Xe.autoExpandParent||!Oe&&Xe.defaultExpandParent?(0,Zt.r7)(Xe.expandedKeys,Bn):Xe.expandedKeys;else if(!Oe&&Xe.defaultExpandAll){var nn=(0,Ne.Z)({},Bn);delete nn[ft],Ie.expandedKeys=Object.keys(nn).map(function(sn){return nn[sn].key})}else!Oe&&Xe.defaultExpandedKeys&&(Ie.expandedKeys=Xe.autoExpandParent||Xe.defaultExpandParent?(0,Zt.r7)(Xe.defaultExpandedKeys,Bn):Xe.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,nt||Ie.expandedKeys){var dn=(0,Ae.oH)(nt||Rt.treeData,Ie.expandedKeys||Rt.expandedKeys,Me);Ie.flattenNodes=dn}if(Xe.selectable&&(St("selectedKeys")?Ie.selectedKeys=(0,Zt.BT)(Xe.selectedKeys,Xe):!Oe&&Xe.defaultSelectedKeys&&(Ie.selectedKeys=(0,Zt.BT)(Xe.defaultSelectedKeys,Xe))),Xe.checkable){var un;if(St("checkedKeys")?un=(0,Zt.E6)(Xe.checkedKeys)||{}:!Oe&&Xe.defaultCheckedKeys?un=(0,Zt.E6)(Xe.defaultCheckedKeys)||{}:nt&&(un=(0,Zt.E6)(Xe.checkedKeys)||{checkedKeys:Rt.checkedKeys,halfCheckedKeys:Rt.halfCheckedKeys}),un){var yn=un,Te=yn.checkedKeys,Ft=Te===void 0?[]:Te,zt=yn.halfCheckedKeys,wt=zt===void 0?[]:zt;if(!Xe.checkStrictly){var kt=(0,Fn.S)(Ft,!0,Bn);Ft=kt.checkedKeys,wt=kt.halfCheckedKeys}Ie.checkedKeys=Ft,Ie.halfCheckedKeys=wt}}return St("loadedKeys")&&(Ie.loadedKeys=Xe.loadedKeys),Ie}}]),De}(a.Component);Lt.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:y,allowDrop:function(){return!0},expandAction:!1},Lt.TreeNode=be.Z;var mt=Lt,Nt=mt},35654:function(Qt,Gt,ee){"use strict";ee.d(Gt,{BT:function(){return a},E6:function(){return z},L0:function(){return Ve},OM:function(){return E},_5:function(){return et},r7:function(){return ne},wA:function(){return Je},yx:function(){return Ge}});var b=ee(80702),de=ee(62853),Be=ee(48736),Ne=ee(59301),Ze=ee(39417),ke=ee(67841),le=ee(71430),st=null;function et(re,ue){if(!re)return[];var ie=re.slice(),ve=ie.indexOf(ue);return ve>=0&&ie.splice(ve,1),ie}function Ve(re,ue){var ie=(re||[]).slice();return ie.indexOf(ue)===-1&&ie.push(ue),ie}function Ge(re){return re.split("-")}function Je(re,ue){var ie=[],ve=(0,ke.Z)(ue,re);function be(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];je.forEach(function(Ae){var He=Ae.key,he=Ae.children;ie.push(He),be(he)})}return be(ve.children),ie}function Ye(re){if(re.parent){var ue=Ge(re.pos);return Number(ue[ue.length-1])===re.parent.children.length-1}return!1}function se(re){var ue=Ge(re.pos);return Number(ue[ue.length-1])===0}function E(re,ue,ie,ve,be,je,Ae,He,he,qe){var Ke,ht=re.clientX,Le=re.clientY,ot=re.target.getBoundingClientRect(),lt=ot.top,gt=ot.height,ft=(qe==="rtl"?-1:1)*(((be==null?void 0:be.x)||0)-ht),ln=(ft-12)/ve,xt=(0,ke.Z)(He,ie.props.eventKey);if(Le<lt+gt/2){var an=Ae.findIndex(function(Nt){return Nt.key===xt.key}),hn=an<=0?0:an-1,$e=Ae[hn].key;xt=(0,ke.Z)(He,$e)}var dt=xt.key,rn=xt,Vn=xt.key,Zt=0,Fn=0;if(!he.includes(dt))for(var ze=0;ze<ln&&Ye(xt);ze+=1)xt=xt.parent,Fn+=1;var ct=ue.props.data,Lt=xt.node,mt=!0;return se(xt)&&xt.level===0&&Le<lt+gt/2&&je({dragNode:ct,dropNode:Lt,dropPosition:-1})&&xt.key===ie.props.eventKey?Zt=-1:(rn.children||[]).length&&he.includes(Vn)?je({dragNode:ct,dropNode:Lt,dropPosition:0})?Zt=0:mt=!1:Fn===0?ln>-1.5?je({dragNode:ct,dropNode:Lt,dropPosition:1})?Zt=1:mt=!1:je({dragNode:ct,dropNode:Lt,dropPosition:0})?Zt=0:je({dragNode:ct,dropNode:Lt,dropPosition:1})?Zt=1:mt=!1:je({dragNode:ct,dropNode:Lt,dropPosition:1})?Zt=1:mt=!1,{dropPosition:Zt,dropLevelOffset:Fn,dropTargetKey:xt.key,dropTargetPos:xt.pos,dragOverNodeKey:Vn,dropContainerKey:Zt===0?null:((Ke=xt.parent)===null||Ke===void 0?void 0:Ke.key)||null,dropAllowed:mt}}function a(re,ue){if(re){var ie=ue.multiple;return ie?re.slice():re.length?[re[0]]:re}}var x=function(ue){return ue};function y(re,ue){if(!re)return[];var ie=ue||{},ve=ie.processProps,be=ve===void 0?x:ve,je=Array.isArray(re)?re:[re];return je.map(function(Ae){var He=Ae.children,he=_objectWithoutProperties(Ae,st),qe=y(He,ue);return React.createElement(TreeNode,_extends({key:he.key},be(he)),qe)})}function z(re){if(!re)return null;var ue;if(Array.isArray(re))ue={checkedKeys:re,halfCheckedKeys:void 0};else if((0,de.Z)(re)==="object")ue={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Be.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ue}function ne(re,ue){var ie=new Set;function ve(be){if(!ie.has(be)){var je=(0,ke.Z)(ue,be);if(je){ie.add(be);var Ae=je.parent,He=je.node;He.disabled||Ae&&ve(Ae.key)}}}return(re||[]).forEach(function(be){ve(be)}),(0,b.Z)(ie)}},90782:function(Qt,Gt,ee){"use strict";ee.d(Gt,{S:function(){return le}});var b=ee(48736),de=ee(67841);function Be(st,et){var Ve=new Set;return st.forEach(function(Ge){et.has(Ge)||Ve.add(Ge)}),Ve}function Ne(st){var et=st||{},Ve=et.disabled,Ge=et.disableCheckbox,Je=et.checkable;return!!(Ve||Ge)||Je===!1}function Ze(st,et,Ve,Ge){for(var Je=new Set(st),Ye=new Set,se=0;se<=Ve;se+=1){var E=et.get(se)||new Set;E.forEach(function(z){var ne=z.key,re=z.node,ue=z.children,ie=ue===void 0?[]:ue;Je.has(ne)&&!Ge(re)&&ie.filter(function(ve){return!Ge(ve.node)}).forEach(function(ve){Je.add(ve.key)})})}for(var a=new Set,x=Ve;x>=0;x-=1){var y=et.get(x)||new Set;y.forEach(function(z){var ne=z.parent,re=z.node;if(!(Ge(re)||!z.parent||a.has(z.parent.key))){if(Ge(z.parent.node)){a.add(ne.key);return}var ue=!0,ie=!1;(ne.children||[]).filter(function(ve){return!Ge(ve.node)}).forEach(function(ve){var be=ve.key,je=Je.has(be);ue&&!je&&(ue=!1),!ie&&(je||Ye.has(be))&&(ie=!0)}),ue&&Je.add(ne.key),ie&&Ye.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(Je),halfCheckedKeys:Array.from(Be(Ye,Je))}}function ke(st,et,Ve,Ge,Je){for(var Ye=new Set(st),se=new Set(et),E=0;E<=Ge;E+=1){var a=Ve.get(E)||new Set;a.forEach(function(ne){var re=ne.key,ue=ne.node,ie=ne.children,ve=ie===void 0?[]:ie;!Ye.has(re)&&!se.has(re)&&!Je(ue)&&ve.filter(function(be){return!Je(be.node)}).forEach(function(be){Ye.delete(be.key)})})}se=new Set;for(var x=new Set,y=Ge;y>=0;y-=1){var z=Ve.get(y)||new Set;z.forEach(function(ne){var re=ne.parent,ue=ne.node;if(!(Je(ue)||!ne.parent||x.has(ne.parent.key))){if(Je(ne.parent.node)){x.add(re.key);return}var ie=!0,ve=!1;(re.children||[]).filter(function(be){return!Je(be.node)}).forEach(function(be){var je=be.key,Ae=Ye.has(je);ie&&!Ae&&(ie=!1),!ve&&(Ae||se.has(je))&&(ve=!0)}),ie||Ye.delete(re.key),ve&&se.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Ye),halfCheckedKeys:Array.from(Be(se,Ye))}}function le(st,et,Ve,Ge){var Je=[],Ye;Ge?Ye=Ge:Ye=Ne;var se=new Set(st.filter(function(y){var z=!!(0,de.Z)(Ve,y);return z||Je.push(y),z})),E=new Map,a=0;Object.keys(Ve).forEach(function(y){var z=Ve[y],ne=z.level,re=E.get(ne);re||(re=new Set,E.set(ne,re)),re.add(z),a=Math.max(a,ne)}),(0,b.ZP)(!Je.length,"Tree missing follow keys: ".concat(Je.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var x;return et===!0?x=Ze(se,E,a,Ye):x=ke(se,et.halfCheckedKeys,E,a,Ye),x}},67841:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return b}});function b(de,Be){return de[Be]}},71430:function(Qt,Gt,ee){"use strict";ee.d(Gt,{F:function(){return ne},H8:function(){return z},I8:function(){return y},km:function(){return Je},oH:function(){return a},w$:function(){return Ye},zn:function(){return E}});var b=ee(62853),de=ee(80702),Be=ee(77321),Ne=ee(74416),Ze=ee(11592),ke=ee(2738),le=ee(48736),st=ee(67841),et=["children"];function Ve(re,ue){return"".concat(re,"-").concat(ue)}function Ge(re){return re&&re.type&&re.type.isTreeNode}function Je(re,ue){return re!=null?re:ue}function Ye(re){var ue=re||{},ie=ue.title,ve=ue._title,be=ue.key,je=ue.children,Ae=ie||"title";return{title:Ae,_title:ve||[Ae],key:be||"key",children:je||"children"}}function se(re,ue){var ie=new Map;function ve(be){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(Ae){var He=Ae[ue.key],he=Ae[ue.children];warning(He!=null,"Tree node must have a certain key: [".concat(je).concat(He,"]"));var qe=String(He);warning(!ie.has(qe)||He===null||He===void 0,"Same 'key' exist in the Tree: ".concat(qe)),ie.set(qe,!0),ve(he,"".concat(je).concat(qe," > "))})}ve(re)}function E(re){function ue(ie){var ve=(0,Ze.Z)(ie);return ve.map(function(be){if(!Ge(be))return(0,le.ZP)(!be,"Tree/TreeNode can only accept TreeNode as children."),null;var je=be.key,Ae=be.props,He=Ae.children,he=(0,Ne.Z)(Ae,et),qe=(0,Be.Z)({key:je},he),Ke=ue(He);return Ke.length&&(qe.children=Ke),qe}).filter(function(be){return be})}return ue(re)}function a(re,ue,ie){var ve=Ye(ie),be=ve._title,je=ve.key,Ae=ve.children,He=new Set(ue===!0?[]:ue),he=[];function qe(Ke){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ke.map(function(Le,ot){for(var lt=Ve(ht?ht.pos:"0",ot),gt=Je(Le[je],lt),ft,ln=0;ln<be.length;ln+=1){var xt=be[ln];if(Le[xt]!==void 0){ft=Le[xt];break}}var an=(0,Be.Z)((0,Be.Z)({},(0,ke.Z)(Le,[].concat((0,de.Z)(be),[je,Ae]))),{},{title:ft,key:gt,parent:ht,pos:lt,children:null,data:Le,isStart:[].concat((0,de.Z)(ht?ht.isStart:[]),[ot===0]),isEnd:[].concat((0,de.Z)(ht?ht.isEnd:[]),[ot===Ke.length-1])});return he.push(an),ue===!0||He.has(gt)?an.children=qe(Le[Ae]||[],an):an.children=[],an})}return qe(re),he}function x(re,ue,ie){var ve={};(0,b.Z)(ie)==="object"?ve=ie:ve={externalGetKey:ie},ve=ve||{};var be=ve,je=be.childrenPropName,Ae=be.externalGetKey,He=be.fieldNames,he=Ye(He),qe=he.key,Ke=he.children,ht=je||Ke,Le;Ae?typeof Ae=="string"?Le=function(gt){return gt[Ae]}:typeof Ae=="function"&&(Le=function(gt){return Ae(gt)}):Le=function(gt,ft){return Je(gt[qe],ft)};function ot(lt,gt,ft,ln){var xt=lt?lt[ht]:re,an=lt?Ve(ft.pos,gt):"0",hn=lt?[].concat((0,de.Z)(ln),[lt]):[];if(lt){var $e=Le(lt,an),dt={node:lt,index:gt,pos:an,key:$e,parentPos:ft.node?ft.pos:null,level:ft.level+1,nodes:hn};ue(dt)}xt&&xt.forEach(function(rn,Vn){ot(rn,Vn,{node:lt,pos:an,level:ft?ft.level+1:-1},hn)})}ot(null)}function y(re){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ie=ue.initWrapper,ve=ue.processEntity,be=ue.onProcessFinished,je=ue.externalGetKey,Ae=ue.childrenPropName,He=ue.fieldNames,he=arguments.length>2?arguments[2]:void 0,qe=je||he,Ke={},ht={},Le={posEntities:Ke,keyEntities:ht};return ie&&(Le=ie(Le)||Le),x(re,function(ot){var lt=ot.node,gt=ot.index,ft=ot.pos,ln=ot.key,xt=ot.parentPos,an=ot.level,hn=ot.nodes,$e={node:lt,nodes:hn,index:gt,key:ln,pos:ft,level:an},dt=Je(ln,ft);Ke[ft]=$e,ht[dt]=$e,$e.parent=Ke[xt],$e.parent&&($e.parent.children=$e.parent.children||[],$e.parent.children.push($e)),ve&&ve($e,Le)},{externalGetKey:qe,childrenPropName:Ae,fieldNames:He}),be&&be(Le),Le}function z(re,ue){var ie=ue.expandedKeys,ve=ue.selectedKeys,be=ue.loadedKeys,je=ue.loadingKeys,Ae=ue.checkedKeys,He=ue.halfCheckedKeys,he=ue.dragOverNodeKey,qe=ue.dropPosition,Ke=ue.keyEntities,ht=(0,st.Z)(Ke,re),Le={eventKey:re,expanded:ie.indexOf(re)!==-1,selected:ve.indexOf(re)!==-1,loaded:be.indexOf(re)!==-1,loading:je.indexOf(re)!==-1,checked:Ae.indexOf(re)!==-1,halfChecked:He.indexOf(re)!==-1,pos:String(ht?ht.pos:""),dragOver:he===re&&qe===0,dragOverGapTop:he===re&&qe===-1,dragOverGapBottom:he===re&&qe===1};return Le}function ne(re){var ue=re.data,ie=re.expanded,ve=re.selected,be=re.checked,je=re.loaded,Ae=re.loading,He=re.halfChecked,he=re.dragOver,qe=re.dragOverGapTop,Ke=re.dragOverGapBottom,ht=re.pos,Le=re.active,ot=re.eventKey,lt=(0,Be.Z)((0,Be.Z)({},ue),{},{expanded:ie,selected:ve,checked:be,loaded:je,loading:Ae,halfChecked:He,dragOver:he,dragOverGapTop:qe,dragOverGapBottom:Ke,pos:ht,active:Le,key:ot});return"props"in lt||Object.defineProperty(lt,"props",{get:function(){return(0,le.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),lt}},8224:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return de}});var b=ee(4676);function de(Be,Ne,Ze,ke){var le=b.unstable_batchedUpdates?function(et){b.unstable_batchedUpdates(Ze,et)}:Ze;return Be!=null&&Be.addEventListener&&Be.addEventListener(Ne,le,ke),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Ne,le,ke)}}}},55468:function(Qt,Gt,ee){"use strict";ee.d(Gt,{g1:function(){return Ge},os:function(){return Ye}});var b=/margin|padding|width|height|max|min|offset/,de={left:!0,top:!0},Be={cssFloat:1,styleFloat:1,float:1};function Ne(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function Ze(se,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return se.offsetHeight;if(E==="width")return se.offsetWidth}return E in de||(de[E]=b.test(E)),de[E]?parseFloat(a)||0:a}function ke(se,E){var a=arguments.length,x=Ne(se);return E=Be[E]?"cssFloat"in se.style?"cssFloat":"styleFloat":E,a===1?x:Ze(se,E,x[E]||se.style[E])}function le(se,E,a){var x=arguments.length;if(E=Be[E]?"cssFloat"in se.style?"cssFloat":"styleFloat":E,x===3)return typeof a=="number"&&b.test(E)&&(a="".concat(a,"px")),se.style[E]=a,a;for(var y in E)E.hasOwnProperty(y)&&le(se,y,E[y]);return Ne(se)}function st(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function et(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function Ve(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:E}}function Ge(){var se=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:E}}function Je(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ye(se){var E=se.getBoundingClientRect(),a=document.documentElement;return{left:E.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:E.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(Qt,Gt,ee){"use strict";ee.d(Gt,{G:function(){return Ne}});var b=ee(47273),de=function(ke){if((0,b.Z)()&&window.document.documentElement){var le=Array.isArray(ke)?ke:[ke],st=window.document.documentElement;return le.some(function(et){return et in st.style})}return!1},Be=function(ke,le){if(!de(ke))return!1;var st=document.createElement("div"),et=st.style[ke];return st.style[ke]=le,st.style[ke]!==et};function Ne(Ze,ke){return!Array.isArray(Ze)&&ke!==void 0?Be(Ze,ke):de(Ze)}},12921:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z5:function(){return iu},_l:function(){return jd},bK:function(){return qs}});var b=ee(59301),de=ee(60039);function Be(te,ae){te.prototype=Object.create(ae.prototype),te.prototype.constructor=te,(0,de.Z)(te,ae)}var Ne=ee(72308),Ze=ee(59781),ke=b.createContext(null),le=null;function st(te){te()}var et=st,Ve=function(ae){return et=ae},Ge=function(){return et};function Je(){var te=Ge(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){te(function(){for(var xe=ae;xe;)xe.callback(),xe=xe.next})},get:function(){for(var xe=[],Fe=ae;Fe;)xe.push(Fe),Fe=Fe.next;return xe},subscribe:function(xe){var Fe=!0,Re=oe={callback:xe,next:null,prev:oe};return Re.prev?Re.prev.next=Re:ae=Re,function(){!Fe||ae===null||(Fe=!1,Re.next?Re.next.prev=Re.prev:oe=Re.prev,Re.prev?Re.prev.next=Re.next:ae=Re.next)}}}}var Ye={notify:function(){},get:function(){return[]}};function se(te,ae){var oe,ge=Ye;function xe(Dt){return bt(),ge.subscribe(Dt)}function Fe(){ge.notify()}function Re(){Mt.onStateChange&&Mt.onStateChange()}function _e(){return!!oe}function bt(){oe||(oe=ae?ae.addNestedSub(Re):te.subscribe(Re),ge=Je())}function Tt(){oe&&(oe(),oe=void 0,ge.clear(),ge=Ye)}var Mt={addNestedSub:xe,notifyNestedSubs:Fe,handleChangeWrapper:Re,isSubscribed:_e,trySubscribe:bt,tryUnsubscribe:Tt,getListeners:function(){return ge}};return Mt}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(te){var ae=te.store,oe=te.context,ge=te.children,xe=(0,b.useMemo)(function(){var _e=se(ae);return{store:ae,subscription:_e}},[ae]),Fe=(0,b.useMemo)(function(){return ae.getState()},[ae]);E(function(){var _e=xe.subscription;return _e.onStateChange=_e.notifyNestedSubs,_e.trySubscribe(),Fe!==ae.getState()&&_e.notifyNestedSubs(),function(){_e.tryUnsubscribe(),_e.onStateChange=null}},[xe,Fe]);var Re=oe||ke;return b.createElement(Re.Provider,{value:xe},ge)}var x=a,y=ee(87488),z=ee(94266),ne=ee.n(z),re=ee(53410),ue=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ie=["reactReduxForwardedRef"],ve=[],be=[null,null],je=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function Ae(te,ae){var oe=te[1];return[ae.payload,oe+1]}function He(te,ae,oe){E(function(){return te.apply(void 0,ae)},oe)}function he(te,ae,oe,ge,xe,Fe,Re){te.current=ge,ae.current=xe,oe.current=!1,Fe.current&&(Fe.current=null,Re())}function qe(te,ae,oe,ge,xe,Fe,Re,_e,bt,Tt){if(te){var Mt=!1,Dt=null,At=function(){if(!Mt){var ir=ae.getState(),mr,hr;try{mr=ge(ir,xe.current)}catch(Vr){hr=Vr,Dt=Vr}hr||(Dt=null),mr===Fe.current?Re.current||bt():(Fe.current=mr,_e.current=mr,Re.current=!0,Tt({type:"STORE_UPDATED",payload:{error:hr}}))}};oe.onStateChange=At,oe.trySubscribe(),At();var Jt=function(){if(Mt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,Dt)throw Dt};return Jt}}var Ke=function(){return[null,0]};function ht(te,ae){ae===void 0&&(ae={});var oe=ae,ge=oe.getDisplayName,xe=ge===void 0?function(ni){return"ConnectAdvanced("+ni+")"}:ge,Fe=oe.methodName,Re=Fe===void 0?"connectAdvanced":Fe,_e=oe.renderCountProp,bt=_e===void 0?void 0:_e,Tt=oe.shouldHandleStateChanges,Mt=Tt===void 0?!0:Tt,Dt=oe.storeKey,At=Dt===void 0?"store":Dt,Jt=oe.withRef,$n=Jt===void 0?!1:Jt,ir=oe.forwardRef,mr=ir===void 0?!1:ir,hr=oe.context,Vr=hr===void 0?ke:hr,ro=(0,y.Z)(oe,ue);if(0)var co;var ui=Vr;return function(Ai){var vl=Ai.displayName||Ai.name||"Component",ki=xe(vl),pl=(0,Ne.Z)({},ro,{getDisplayName:xe,methodName:Re,renderCountProp:bt,shouldHandleStateChanges:Mt,storeKey:At,displayName:ki,wrappedComponentName:vl,WrappedComponent:Ai}),Ll=ro.pure;function Tl(_l){return te(_l.dispatch,pl)}var Au=Ll?b.useMemo:function(_l){return _l()};function yu(_l){var ns=(0,b.useMemo)(function(){var bs=_l.reactReduxForwardedRef,zs=(0,y.Z)(_l,ie);return[_l.context,bs,zs]},[_l]),Iu=ns[0],Ps=ns[1],gs=ns[2],as=(0,b.useMemo)(function(){return Iu&&Iu.Consumer&&(0,re.isContextConsumer)(b.createElement(Iu.Consumer,null))?Iu:ui},[Iu,ui]),Ou=(0,b.useContext)(as),ms=!!_l.store&&!!_l.store.getState&&!!_l.store.dispatch,Fs=!!Ou&&!!Ou.store,Lu=ms?_l.store:Ou.store,ys=(0,b.useMemo)(function(){return Tl(Lu)},[Lu]),Bs=(0,b.useMemo)(function(){if(!Mt)return be;var bs=se(Lu,ms?null:Ou.subscription),zs=bs.notifyNestedSubs.bind(bs);return[bs,zs]},[Lu,ms,Ou]),Ss=Bs[0],ws=Bs[1],Ds=(0,b.useMemo)(function(){return ms?Ou:(0,Ne.Z)({},Ou,{subscription:Ss})},[ms,Ou,Ss]),ed=(0,b.useReducer)(Ae,ve,Ke),Ud=ed[0],As=Ud[0],Qd=ed[1];if(As&&As.error)throw As.error;var td=(0,b.useRef)(),Ts=(0,b.useRef)(gs),Ns=(0,b.useRef)(),nd=(0,b.useRef)(!1),_s=Au(function(){return Ns.current&&gs===Ts.current?Ns.current:ys(Lu.getState(),gs)},[Lu,As,gs]);He(he,[Ts,td,nd,gs,_s,Ns,ws]),He(qe,[Mt,Lu,Ss,ys,Ts,td,nd,Ns,ws,Qd],[Lu,Ss,ys]);var Zs=(0,b.useMemo)(function(){return b.createElement(Ai,(0,Ne.Z)({},_s,{ref:Ps}))},[Ps,Ai,_s]),Yd=(0,b.useMemo)(function(){return Mt?b.createElement(as.Provider,{value:Ds},Zs):Zs},[as,Zs,Ds]);return Yd}var uu=Ll?b.memo(yu):yu;if(uu.WrappedComponent=Ai,uu.displayName=yu.displayName=ki,mr){var Nu=b.forwardRef(function(ns,Iu){return b.createElement(uu,(0,Ne.Z)({},ns,{reactReduxForwardedRef:Iu}))});return Nu.displayName=ki,Nu.WrappedComponent=Ai,ne()(Nu,Ai)}return ne()(uu,Ai)}}function Le(te,ae){return te===ae?te!==0||ae!==0||1/te===1/ae:te!==te&&ae!==ae}function ot(te,ae){if(Le(te,ae))return!0;if(typeof te!="object"||te===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(te),ge=Object.keys(ae);if(oe.length!==ge.length)return!1;for(var xe=0;xe<oe.length;xe++)if(!Object.prototype.hasOwnProperty.call(ae,oe[xe])||!Le(te[oe[xe]],ae[oe[xe]]))return!1;return!0}function lt(te,ae){var oe={},ge=function(Re){var _e=te[Re];typeof _e=="function"&&(oe[Re]=function(){return ae(_e.apply(void 0,arguments))})};for(var xe in te)ge(xe);return oe}function gt(te){return function(oe,ge){var xe=te(oe,ge);function Fe(){return xe}return Fe.dependsOnOwnProps=!1,Fe}}function ft(te){return te.dependsOnOwnProps!==null&&te.dependsOnOwnProps!==void 0?!!te.dependsOnOwnProps:te.length!==1}function ln(te,ae){return function(ge,xe){var Fe=xe.displayName,Re=function(bt,Tt){return Re.dependsOnOwnProps?Re.mapToProps(bt,Tt):Re.mapToProps(bt)};return Re.dependsOnOwnProps=!0,Re.mapToProps=function(bt,Tt){Re.mapToProps=te,Re.dependsOnOwnProps=ft(te);var Mt=Re(bt,Tt);return typeof Mt=="function"&&(Re.mapToProps=Mt,Re.dependsOnOwnProps=ft(Mt),Mt=Re(bt,Tt)),Mt},Re}}function xt(te){return typeof te=="function"?ln(te,"mapDispatchToProps"):void 0}function an(te){return te?void 0:gt(function(ae){return{dispatch:ae}})}function hn(te){return te&&typeof te=="object"?gt(function(ae){return lt(te,ae)}):void 0}var $e=[xt,an,hn];function dt(te){return typeof te=="function"?ln(te,"mapStateToProps"):void 0}function rn(te){return te?void 0:gt(function(){return{}})}var Vn=[dt,rn];function Zt(te,ae,oe){return(0,Ne.Z)({},oe,te,ae)}function Fn(te){return function(oe,ge){var xe=ge.displayName,Fe=ge.pure,Re=ge.areMergedPropsEqual,_e=!1,bt;return function(Mt,Dt,At){var Jt=te(Mt,Dt,At);return _e?(!Fe||!Re(Jt,bt))&&(bt=Jt):(_e=!0,bt=Jt),bt}}}function ze(te){return typeof te=="function"?Fn(te):void 0}function ct(te){return te?void 0:function(){return Zt}}var Lt=[ze,ct],mt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Nt(te,ae,oe,ge){return function(Fe,Re){return oe(te(Fe,Re),ae(ge,Re),Re)}}function ut(te,ae,oe,ge,xe){var Fe=xe.areStatesEqual,Re=xe.areOwnPropsEqual,_e=xe.areStatePropsEqual,bt=!1,Tt,Mt,Dt,At,Jt;function $n(ro,co){return Tt=ro,Mt=co,Dt=te(Tt,Mt),At=ae(ge,Mt),Jt=oe(Dt,At,Mt),bt=!0,Jt}function ir(){return Dt=te(Tt,Mt),ae.dependsOnOwnProps&&(At=ae(ge,Mt)),Jt=oe(Dt,At,Mt),Jt}function mr(){return te.dependsOnOwnProps&&(Dt=te(Tt,Mt)),ae.dependsOnOwnProps&&(At=ae(ge,Mt)),Jt=oe(Dt,At,Mt),Jt}function hr(){var ro=te(Tt,Mt),co=!_e(ro,Dt);return Dt=ro,co&&(Jt=oe(Dt,At,Mt)),Jt}function Vr(ro,co){var ui=!Re(co,Mt),ni=!Fe(ro,Tt,co,Mt);return Tt=ro,Mt=co,ui&&ni?ir():ui?mr():ni?hr():Jt}return function(co,ui){return bt?Vr(co,ui):$n(co,ui)}}function at(te,ae){var oe=ae.initMapStateToProps,ge=ae.initMapDispatchToProps,xe=ae.initMergeProps,Fe=(0,y.Z)(ae,mt),Re=oe(te,Fe),_e=ge(te,Fe),bt=xe(te,Fe),Tt=Fe.pure?ut:Nt;return Tt(Re,_e,bt,te,Fe)}var De=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function fe(te,ae,oe){for(var ge=ae.length-1;ge>=0;ge--){var xe=ae[ge](te);if(xe)return xe}return function(Fe,Re){throw new Error("Invalid value of type "+typeof te+" for "+oe+" argument when connecting component "+Re.wrappedComponentName+".")}}function Xe(te,ae){return te===ae}function Rt(te){var ae=te===void 0?{}:te,oe=ae.connectHOC,ge=oe===void 0?ht:oe,xe=ae.mapStateToPropsFactories,Fe=xe===void 0?Vn:xe,Re=ae.mapDispatchToPropsFactories,_e=Re===void 0?$e:Re,bt=ae.mergePropsFactories,Tt=bt===void 0?Lt:bt,Mt=ae.selectorFactory,Dt=Mt===void 0?at:Mt;return function(Jt,$n,ir,mr){mr===void 0&&(mr={});var hr=mr,Vr=hr.pure,ro=Vr===void 0?!0:Vr,co=hr.areStatesEqual,ui=co===void 0?Xe:co,ni=hr.areOwnPropsEqual,Ai=ni===void 0?ot:ni,vl=hr.areStatePropsEqual,ki=vl===void 0?ot:vl,pl=hr.areMergedPropsEqual,Ll=pl===void 0?ot:pl,Tl=(0,y.Z)(hr,De),Au=fe(Jt,Fe,"mapStateToProps"),yu=fe($n,_e,"mapDispatchToProps"),uu=fe(ir,Tt,"mergeProps");return ge(Dt,(0,Ne.Z)({methodName:"connect",getDisplayName:function(_l){return"Connect("+_l+")"},shouldHandleStateChanges:!!Jt,initMapStateToProps:Au,initMapDispatchToProps:yu,initMergeProps:uu,pure:ro,areStatesEqual:ui,areOwnPropsEqual:Ai,areStatePropsEqual:ki,areMergedPropsEqual:Ll},Tl))}}var Oe=Rt();function Ie(){var te=useContext(ReactReduxContext);return te}function St(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultReduxContext:function(){return useContext(te)};return function(){var ge=ae(),xe=ge.store;return xe}}var nt=null;function Me(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultStore:createStoreHook(te);return function(){var ge=ae();return ge.dispatch}}var yt=null,Bn=function(ae,oe){return ae===oe};function nn(te,ae,oe,ge){var xe=useReducer(function($n){return $n+1},0),Fe=xe[1],Re=useMemo(function(){return createSubscription(oe,ge)},[oe,ge]),_e=useRef(),bt=useRef(),Tt=useRef(),Mt=useRef(),Dt=oe.getState(),At;try{if(te!==bt.current||Dt!==Tt.current||_e.current){var Jt=te(Dt);Mt.current===void 0||!ae(Jt,Mt.current)?At=Jt:At=Mt.current}else At=Mt.current}catch($n){throw _e.current&&($n.message+=`
The error may be correlated with this previous error:
`+_e.current.stack+`
`),$n}return useIsomorphicLayoutEffect(function(){bt.current=te,Tt.current=Dt,Mt.current=At,_e.current=void 0}),useIsomorphicLayoutEffect(function(){function $n(){try{var ir=oe.getState();if(ir===Tt.current)return;var mr=bt.current(ir);if(ae(mr,Mt.current))return;Mt.current=mr,Tt.current=ir}catch(hr){_e.current=hr}Fe()}return Re.onStateChange=$n,Re.trySubscribe(),$n(),function(){return Re.tryUnsubscribe()}},[oe,Re]),At}function dn(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultReduxContext:function(){return useContext(te)};return function(ge,xe){xe===void 0&&(xe=Bn);var Fe=ae(),Re=Fe.store,_e=Fe.subscription,bt=nn(ge,xe,Re,_e);return useDebugValue(bt),bt}}var un=null,yn=ee(4676);Ve(yn.unstable_batchedUpdates);function Te(te,ae){if(te.length!==ae.length)return!1;for(var oe=0;oe<te.length;oe++)if(te[oe]!==ae[oe])return!1;return!0}function Ft(te,ae){var oe=(0,b.useState)(function(){return{inputs:ae,result:te()}})[0],ge=(0,b.useRef)(!0),xe=(0,b.useRef)(oe),Fe=ge.current||!!(ae&&xe.current.inputs&&Te(ae,xe.current.inputs)),Re=Fe?xe.current:{inputs:ae,result:te()};return(0,b.useEffect)(function(){ge.current=!1,xe.current=Re},[Re]),Re.result}function zt(te,ae){return Ft(function(){return te},ae)}var wt=Ft,kt=zt,sn=!0,cn="Invariant failed";function Ln(te,ae){if(!te){if(sn)throw new Error(cn);var oe=typeof ae=="function"?ae():ae,ge=oe?"".concat(cn,": ").concat(oe):cn;throw new Error(ge)}}var Jn=function(ae){var oe=ae.top,ge=ae.right,xe=ae.bottom,Fe=ae.left,Re=ge-Fe,_e=xe-oe,bt={top:oe,right:ge,bottom:xe,left:Fe,width:Re,height:_e,x:Fe,y:oe,center:{x:(ge+Fe)/2,y:(xe+oe)/2}};return bt},va=function(ae,oe){return{top:ae.top-oe.top,left:ae.left-oe.left,bottom:ae.bottom+oe.bottom,right:ae.right+oe.right}},Da=function(ae,oe){return{top:ae.top+oe.top,left:ae.left+oe.left,bottom:ae.bottom-oe.bottom,right:ae.right-oe.right}},Na=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},ar={top:0,right:0,bottom:0,left:0},$a=function(ae){var oe=ae.borderBox,ge=ae.margin,xe=ge===void 0?ar:ge,Fe=ae.border,Re=Fe===void 0?ar:Fe,_e=ae.padding,bt=_e===void 0?ar:_e,Tt=Jn(va(oe,xe)),Mt=Jn(Da(oe,Re)),Dt=Jn(Da(Mt,bt));return{marginBox:Tt,borderBox:Jn(oe),paddingBox:Mt,contentBox:Dt,margin:xe,border:Re,padding:bt}},fa=function(ae){var oe=ae.slice(0,-2),ge=ae.slice(-2);if(ge!=="px")return 0;var xe=Number(oe);return isNaN(xe)&&Ln(!1),xe},yr=function(){return{x:window.pageXOffset,y:window.pageYOffset}},en=function(ae,oe){var ge=ae.borderBox,xe=ae.border,Fe=ae.margin,Re=ae.padding,_e=Na(ge,oe);return $a({borderBox:_e,border:xe,margin:Fe,padding:Re})},On=function(ae,oe){return oe===void 0&&(oe=yr()),en(ae,oe)},ia=function(ae,oe){var ge={top:fa(oe.marginTop),right:fa(oe.marginRight),bottom:fa(oe.marginBottom),left:fa(oe.marginLeft)},xe={top:fa(oe.paddingTop),right:fa(oe.paddingRight),bottom:fa(oe.paddingBottom),left:fa(oe.paddingLeft)},Fe={top:fa(oe.borderTopWidth),right:fa(oe.borderRightWidth),bottom:fa(oe.borderBottomWidth),left:fa(oe.borderLeftWidth)};return $a({borderBox:ae,margin:ge,padding:xe,border:Fe})},xa=function(ae){var oe=ae.getBoundingClientRect(),ge=window.getComputedStyle(ae);return ia(oe,ge)},We=Number.isNaN||function(ae){return typeof ae=="number"&&ae!==ae};function It(te,ae){return!!(te===ae||We(te)&&We(ae))}function _t(te,ae){if(te.length!==ae.length)return!1;for(var oe=0;oe<te.length;oe++)if(!It(te[oe],ae[oe]))return!1;return!0}function Vt(te,ae){ae===void 0&&(ae=_t);var oe,ge=[],xe,Fe=!1;function Re(){for(var _e=[],bt=0;bt<arguments.length;bt++)_e[bt]=arguments[bt];return Fe&&oe===this&&ae(_e,ge)||(xe=te.apply(this,_e),Fe=!0,oe=this,ge=_e),xe}return Re}var Wt=Vt,Rn=function(ae){var oe=[],ge=null,xe=function(){for(var Re=arguments.length,_e=new Array(Re),bt=0;bt<Re;bt++)_e[bt]=arguments[bt];oe=_e,!ge&&(ge=requestAnimationFrame(function(){ge=null,ae.apply(void 0,oe)}))};return xe.cancel=function(){ge&&(cancelAnimationFrame(ge),ge=null)},xe},wn=Rn,vt=!0,Bt=/[ \t]{2,}/g,pt=/^[ \t]*/gm,Sn=function(ae){return ae.replace(Bt," ").replace(pt,"").trim()},Wn=function(ae){return Sn(`
%creact-beautiful-dnd
%c`+Sn(ae)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},An=function(ae){return[Wn(ae),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ka="__react-beautiful-dnd-disable-dev-warnings";function pa(te,ae){var oe;vt||typeof window!="undefined"&&window[ka]||(oe=console)[te].apply(oe,An(ae))}var _n=pa.bind(null,"warn"),Ea=pa.bind(null,"error");function Pa(){}function Dn(te,ae){return(0,Ne.Z)({},te,{},ae)}function lr(te,ae,oe){var ge=ae.map(function(xe){var Fe=Dn(oe,xe.options);return te.addEventListener(xe.eventName,xe.fn,Fe),function(){te.removeEventListener(xe.eventName,xe.fn,Fe)}});return function(){ge.forEach(function(Fe){Fe()})}}var Nr=!0,Ur="Invariant failed";function Sr(te){this.message=te}Sr.prototype.toString=function(){return this.message};function Ue(te,ae){if(!te)throw Nr?new Sr(Ur):new Sr(Ur+": "+(ae||""))}var bn=function(te){Be(ae,te);function ae(){for(var ge,xe=arguments.length,Fe=new Array(xe),Re=0;Re<xe;Re++)Fe[Re]=arguments[Re];return ge=te.call.apply(te,[this].concat(Fe))||this,ge.callbacks=null,ge.unbind=Pa,ge.onWindowError=function(_e){var bt=ge.getCallbacks();bt.isDragging()&&bt.tryAbort();var Tt=_e.error;Tt instanceof Sr&&_e.preventDefault()},ge.getCallbacks=function(){if(!ge.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return ge.callbacks},ge.setCallbacks=function(_e){ge.callbacks=_e},ge}var oe=ae.prototype;return oe.componentDidMount=function(){this.unbind=lr(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(xe){if(xe instanceof Sr){this.setState({});return}throw xe},oe.render=function(){return this.props.children(this.setCallbacks)},ae}(b.Component),Xt=`
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,Nn=function(ae){return ae+1},Kn=function(ae){return`
You have lifted an item in position `+Nn(ae.source.index)+`
`},la=function(ae,oe){var ge=ae.droppableId===oe.droppableId,xe=Nn(ae.index),Fe=Nn(oe.index);return ge?`
You have moved the item from position `+xe+`
to position `+Fe+`
`:`
You have moved the item from position `+xe+`
in list `+ae.droppableId+`
to list `+oe.droppableId+`
in position `+Fe+`
`},Qn=function(ae,oe,ge){var xe=oe.droppableId===ge.droppableId;return xe?`
The item `+ae+`
has been combined with `+ge.draggableId:`
The item `+ae+`
in list `+oe.droppableId+`
has been combined with `+ge.draggableId+`
in list `+ge.droppableId+`
`},Un=function(ae){var oe=ae.destination;if(oe)return la(ae.source,oe);var ge=ae.combine;return ge?Qn(ae.draggableId,ae.source,ge):"You are over an area that cannot be dropped on"},ur=function(ae){return`
The item has returned to its starting position
of `+Nn(ae.index)+`
`},da=function(ae){if(ae.reason==="CANCEL")return`
Movement cancelled.
`+ur(ae.source)+`
`;var oe=ae.destination,ge=ae.combine;return oe?`
You have dropped the item.
`+la(ae.source,oe)+`
`:ge?`
You have dropped the item.
`+Qn(ae.draggableId,ae.source,ge)+`
`:`
The item has been dropped while not over a drop area.
`+ur(ae.source)+`
`},En={dragHandleUsageInstructions:Xt,onDragStart:Kn,onDragUpdate:Un,onDragEnd:da},dr={x:0,y:0},xr=function(ae,oe){return{x:ae.x+oe.x,y:ae.y+oe.y}},Wr=function(ae,oe){return{x:ae.x-oe.x,y:ae.y-oe.y}},Ir=function(ae,oe){return ae.x===oe.x&&ae.y===oe.y},ha=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},za=function(ae,oe,ge){var xe;return ge===void 0&&(ge=0),xe={},xe[ae]=oe,xe[ae==="x"?"y":"x"]=ge,xe},Ua=function(ae,oe){return Math.sqrt(Math.pow(oe.x-ae.x,2)+Math.pow(oe.y-ae.y,2))},La=function(ae,oe){return Math.min.apply(Math,oe.map(function(ge){return Ua(ae,ge)}))},Or=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},no=function(te,ae){var oe=Jn({top:Math.max(ae.top,te.top),right:Math.min(ae.right,te.right),bottom:Math.min(ae.bottom,te.bottom),left:Math.max(ae.left,te.left)});return oe.width<=0||oe.height<=0?null:oe},Fr=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},Er=function(ae){return[{x:ae.left,y:ae.top},{x:ae.right,y:ae.top},{x:ae.left,y:ae.bottom},{x:ae.right,y:ae.bottom}]},Pr={top:0,right:0,bottom:0,left:0},si=function(ae,oe){return oe?Fr(ae,oe.scroll.diff.displacement):ae},ai=function(ae,oe,ge){if(ge&&ge.increasedBy){var xe;return(0,Ne.Z)({},ae,(xe={},xe[oe.end]=ae[oe.end]+ge.increasedBy[oe.line],xe))}return ae},xi=function(ae,oe){return oe&&oe.shouldClipSubject?no(oe.pageMarginBox,ae):Jn(ae)},ho=function(te){var ae=te.page,oe=te.withPlaceholder,ge=te.axis,xe=te.frame,Fe=si(ae.marginBox,xe),Re=ai(Fe,ge,oe),_e=xi(Re,xe);return{page:ae,withPlaceholder:oe,active:_e}},yo=function(te,ae){te.frame||Ue(!1);var oe=te.frame,ge=Wr(ae,oe.scroll.initial),xe=ha(ge),Fe=(0,Ne.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ae,diff:{value:ge,displacement:xe},max:oe.scroll.max}}),Re=ho({page:te.subject.page,withPlaceholder:te.subject.withPlaceholder,axis:te.axis,frame:Fe}),_e=(0,Ne.Z)({},te,{frame:Fe,subject:Re});return _e};function Go(te){return Number.isInteger?Number.isInteger(te):typeof te=="number"&&isFinite(te)&&Math.floor(te)===te}function Mo(te){return Object.values?Object.values(te):Object.keys(te).map(function(ae){return te[ae]})}function Ao(te,ae){if(te.findIndex)return te.findIndex(ae);for(var oe=0;oe<te.length;oe++)if(ae(te[oe]))return oe;return-1}function gr(te,ae){if(te.find)return te.find(ae);var oe=Ao(te,ae);if(oe!==-1)return te[oe]}function eo(te){return Array.prototype.slice.call(te)}var Qo=Wt(function(te){return te.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),Yo=Wt(function(te){return te.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),Oo=Wt(function(te){return Mo(te)}),br=Wt(function(te){return Mo(te)}),ri=Wt(function(te,ae){var oe=br(ae).filter(function(ge){return te===ge.descriptor.droppableId}).sort(function(ge,xe){return ge.descriptor.index-xe.descriptor.index});return oe});function Hr(te){return te.at&&te.at.type==="REORDER"?te.at.destination:null}function ko(te){return te.at&&te.at.type==="COMBINE"?te.at.combine:null}var mo=Wt(function(te,ae){return ae.filter(function(oe){return oe.descriptor.id!==te.descriptor.id})}),di=function(te){var ae=te.isMovingForward,oe=te.draggable,ge=te.destination,xe=te.insideDestination,Fe=te.previousImpact;if(!ge.isCombineEnabled)return null;var Re=Hr(Fe);if(!Re)return null;function _e(ir){var mr={type:"COMBINE",combine:{draggableId:ir,droppableId:ge.descriptor.id}};return(0,Ne.Z)({},Fe,{at:mr})}var bt=Fe.displaced.all,Tt=bt.length?bt[0]:null;if(ae)return Tt?_e(Tt):null;var Mt=mo(oe,xe);if(!Tt){if(!Mt.length)return null;var Dt=Mt[Mt.length-1];return _e(Dt.descriptor.id)}var At=Ao(Mt,function(ir){return ir.descriptor.id===Tt});At===-1&&Ue(!1);var Jt=At-1;if(Jt<0)return null;var $n=Mt[Jt];return _e($n.descriptor.id)},vi=function(te,ae){return te.descriptor.droppableId===ae.descriptor.id},Ui={point:dr,value:0},tl={invisible:{},visible:{},all:[]},nl={displaced:tl,displacedBy:Ui,at:null},Vo=function(te,ae){return function(oe){return te<=oe&&oe<=ae}},Fi=function(te){var ae=Vo(te.top,te.bottom),oe=Vo(te.left,te.right);return function(ge){var xe=ae(ge.top)&&ae(ge.bottom)&&oe(ge.left)&&oe(ge.right);if(xe)return!0;var Fe=ae(ge.top)||ae(ge.bottom),Re=oe(ge.left)||oe(ge.right),_e=Fe&&Re;if(_e)return!0;var bt=ge.top<te.top&&ge.bottom>te.bottom,Tt=ge.left<te.left&&ge.right>te.right,Mt=bt&&Tt;if(Mt)return!0;var Dt=bt&&Re||Tt&&Fe;return Dt}},Wi=function(te){var ae=Vo(te.top,te.bottom),oe=Vo(te.left,te.right);return function(ge){var xe=ae(ge.top)&&ae(ge.bottom)&&oe(ge.left)&&oe(ge.right);return xe}},dl={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},gl={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Pl=function(te){return function(ae){var oe=Vo(ae.top,ae.bottom),ge=Vo(ae.left,ae.right);return function(xe){return te===dl?oe(xe.top)&&oe(xe.bottom):ge(xe.left)&&ge(xe.right)}}},kr=function(ae,oe){var ge=oe.frame?oe.frame.scroll.diff.displacement:dr;return Fr(ae,ge)},Qa=function(ae,oe,ge){return oe.subject.active?ge(oe.subject.active)(ae):!1},Ga=function(ae,oe,ge){return ge(oe)(ae)},Ya=function(ae){var oe=ae.target,ge=ae.destination,xe=ae.viewport,Fe=ae.withDroppableDisplacement,Re=ae.isVisibleThroughFrameFn,_e=Fe?kr(oe,ge):oe;return Qa(_e,ge,Re)&&Ga(_e,xe,Re)},so=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Fi}))},we=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Wi}))},fn=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Pl(ae.destination.axis)}))},Mn=function(ae,oe,ge){if(typeof ge=="boolean")return ge;if(!oe)return!0;var xe=oe.invisible,Fe=oe.visible;if(xe[ae])return!1;var Re=Fe[ae];return Re?Re.shouldAnimate:!0};function Sa(te,ae){var oe=te.page.marginBox,ge={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Jn(va(oe,ge))}function on(te){var ae=te.afterDragging,oe=te.destination,ge=te.displacedBy,xe=te.viewport,Fe=te.forceShouldAnimate,Re=te.last;return ae.reduce(function(bt,Tt){var Mt=Sa(Tt,ge),Dt=Tt.descriptor.id;bt.all.push(Dt);var At=so({target:Mt,destination:oe,viewport:xe,withDroppableDisplacement:!0});if(!At)return bt.invisible[Tt.descriptor.id]=!0,bt;var Jt=Mn(Dt,Re,Fe),$n={draggableId:Dt,shouldAnimate:Jt};return bt.visible[Dt]=$n,bt},{all:[],visible:{},invisible:{}})}function Ma(te,ae){if(!te.length)return 0;var oe=te[te.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function Fa(te){var ae=te.insideDestination,oe=te.inHomeList,ge=te.displacedBy,xe=te.destination,Fe=Ma(ae,{inHomeList:oe});return{displaced:tl,displacedBy:ge,at:{type:"REORDER",destination:{droppableId:xe.descriptor.id,index:Fe}}}}function jn(te){var ae=te.draggable,oe=te.insideDestination,ge=te.destination,xe=te.viewport,Fe=te.displacedBy,Re=te.last,_e=te.index,bt=te.forceShouldAnimate,Tt=vi(ae,ge);if(_e==null)return Fa({insideDestination:oe,inHomeList:Tt,displacedBy:Fe,destination:ge});var Mt=gr(oe,function(ir){return ir.descriptor.index===_e});if(!Mt)return Fa({insideDestination:oe,inHomeList:Tt,displacedBy:Fe,destination:ge});var Dt=mo(ae,oe),At=oe.indexOf(Mt),Jt=Dt.slice(At),$n=on({afterDragging:Jt,destination:ge,displacedBy:Fe,last:Re,viewport:xe.frame,forceShouldAnimate:bt});return{displaced:$n,displacedBy:Fe,at:{type:"REORDER",destination:{droppableId:ge.descriptor.id,index:_e}}}}function Xn(te,ae){return!!ae.effected[te]}var sr=function(te){var ae=te.isMovingForward,oe=te.destination,ge=te.draggables,xe=te.combine,Fe=te.afterCritical;if(!oe.isCombineEnabled)return null;var Re=xe.draggableId,_e=ge[Re],bt=_e.descriptor.index,Tt=Xn(Re,Fe);return Tt?ae?bt:bt-1:ae?bt+1:bt},Ha=function(te){var ae=te.isMovingForward,oe=te.isInHomeList,ge=te.insideDestination,xe=te.location;if(!ge.length)return null;var Fe=xe.index,Re=ae?Fe+1:Fe-1,_e=ge[0].descriptor.index,bt=ge[ge.length-1].descriptor.index,Tt=oe?bt:bt+1;return Re<_e||Re>Tt?null:Re},Ta=function(te){var ae=te.isMovingForward,oe=te.isInHomeList,ge=te.draggable,xe=te.draggables,Fe=te.destination,Re=te.insideDestination,_e=te.previousImpact,bt=te.viewport,Tt=te.afterCritical,Mt=_e.at;if(Mt||Ue(!1),Mt.type==="REORDER"){var Dt=Ha({isMovingForward:ae,isInHomeList:oe,location:Mt.destination,insideDestination:Re});return Dt==null?null:jn({draggable:ge,insideDestination:Re,destination:Fe,viewport:bt,last:_e.displaced,displacedBy:_e.displacedBy,index:Dt})}var At=sr({isMovingForward:ae,destination:Fe,displaced:_e.displaced,draggables:xe,combine:Mt.combine,afterCritical:Tt});return At==null?null:jn({draggable:ge,insideDestination:Re,destination:Fe,viewport:bt,last:_e.displaced,displacedBy:_e.displacedBy,index:At})},Ja=function(te){var ae=te.displaced,oe=te.afterCritical,ge=te.combineWith,xe=te.displacedBy,Fe=!!(ae.visible[ge]||ae.invisible[ge]);return Xn(ge,oe)?Fe?dr:ha(xe.point):Fe?xe.point:dr},Rr=function(te){var ae=te.afterCritical,oe=te.impact,ge=te.draggables,xe=ko(oe);xe||Ue(!1);var Fe=xe.draggableId,Re=ge[Fe].page.borderBox.center,_e=Ja({displaced:oe.displaced,afterCritical:ae,combineWith:Fe,displacedBy:oe.displacedBy});return xr(Re,_e)},bo=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},$o=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},Wo=function(ae,oe,ge){return oe[ae.crossAxisStart]+ge.margin[ae.crossAxisStart]+ge.borderBox[ae.crossAxisSize]/2},Ti=function(ae){var oe=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return za(oe.line,ge.marginBox[oe.end]+bo(oe,xe),Wo(oe,ge.marginBox,xe))},Ji=function(ae){var oe=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return za(oe.line,ge.marginBox[oe.start]-$o(oe,xe),Wo(oe,ge.marginBox,xe))},al=function(ae){var oe=ae.axis,ge=ae.moveInto,xe=ae.isMoving;return za(oe.line,ge.contentBox[oe.start]+bo(oe,xe),Wo(oe,ge.contentBox,xe))},Zl=function(te){var ae=te.impact,oe=te.draggable,ge=te.draggables,xe=te.droppable,Fe=te.afterCritical,Re=ri(xe.descriptor.id,ge),_e=oe.page,bt=xe.axis;if(!Re.length)return al({axis:bt,moveInto:xe.page,isMoving:_e});var Tt=ae.displaced,Mt=ae.displacedBy,Dt=Tt.all[0];if(Dt){var At=ge[Dt];if(Xn(Dt,Fe))return Ji({axis:bt,moveRelativeTo:At.page,isMoving:_e});var Jt=en(At.page,Mt.point);return Ji({axis:bt,moveRelativeTo:Jt,isMoving:_e})}var $n=Re[Re.length-1];if($n.descriptor.id===oe.descriptor.id)return _e.borderBox.center;if(Xn($n.descriptor.id,Fe)){var ir=en($n.page,ha(Fe.displacedBy.point));return Ti({axis:bt,moveRelativeTo:ir,isMoving:_e})}return Ti({axis:bt,moveRelativeTo:$n.page,isMoving:_e})},Al=function(te,ae){var oe=te.frame;return oe?xr(ae,oe.scroll.diff.displacement):ae},So=function(ae){var oe=ae.impact,ge=ae.draggable,xe=ae.droppable,Fe=ae.draggables,Re=ae.afterCritical,_e=ge.page.borderBox.center,bt=oe.at;return!xe||!bt?_e:bt.type==="REORDER"?Zl({impact:oe,draggable:ge,draggables:Fe,droppable:xe,afterCritical:Re}):Rr({impact:oe,draggables:Fe,afterCritical:Re})},yl=function(te){var ae=So(te),oe=te.droppable,ge=oe?Al(oe,ae):ae;return ge},eu=function(te,ae){var oe=Wr(ae,te.scroll.initial),ge=ha(oe),xe=Jn({top:ae.y,bottom:ae.y+te.frame.height,left:ae.x,right:ae.x+te.frame.width}),Fe={frame:xe,scroll:{initial:te.scroll.initial,max:te.scroll.max,current:ae,diff:{value:oe,displacement:ge}}};return Fe};function Nl(te,ae){return te.map(function(oe){return ae[oe]})}function xl(te,ae){for(var oe=0;oe<ae.length;oe++){var ge=ae[oe].visible[te];if(ge)return ge}return null}var tu=function(te){var ae=te.impact,oe=te.viewport,ge=te.destination,xe=te.draggables,Fe=te.maxScrollChange,Re=eu(oe,xr(oe.scroll.current,Fe)),_e=ge.frame?yo(ge,xr(ge.frame.scroll.current,Fe)):ge,bt=ae.displaced,Tt=on({afterDragging:Nl(bt.all,xe),destination:ge,displacedBy:ae.displacedBy,viewport:Re.frame,last:bt,forceShouldAnimate:!1}),Mt=on({afterDragging:Nl(bt.all,xe),destination:_e,displacedBy:ae.displacedBy,viewport:oe.frame,last:bt,forceShouldAnimate:!1}),Dt={},At={},Jt=[bt,Tt,Mt];bt.all.forEach(function(ir){var mr=xl(ir,Jt);if(mr){At[ir]=mr;return}Dt[ir]=!0});var $n=(0,Ne.Z)({},ae,{displaced:{all:bt.all,invisible:Dt,visible:At}});return $n},Qu=function(te,ae){return xr(te.scroll.diff.displacement,ae)},su=function(te){var ae=te.pageBorderBoxCenter,oe=te.draggable,ge=te.viewport,xe=Qu(ge,ae),Fe=Wr(xe,oe.page.borderBox.center);return xr(oe.client.borderBox.center,Fe)},mu=function(te){var ae=te.draggable,oe=te.destination,ge=te.newPageBorderBoxCenter,xe=te.viewport,Fe=te.withDroppableDisplacement,Re=te.onlyOnMainAxis,_e=Re===void 0?!1:Re,bt=Wr(ge,ae.page.borderBox.center),Tt=Fr(ae.page.borderBox,bt),Mt={target:Tt,destination:oe,withDroppableDisplacement:Fe,viewport:xe};return _e?fn(Mt):we(Mt)},Yu=function(te){var ae=te.isMovingForward,oe=te.draggable,ge=te.destination,xe=te.draggables,Fe=te.previousImpact,Re=te.viewport,_e=te.previousPageBorderBoxCenter,bt=te.previousClientSelection,Tt=te.afterCritical;if(!ge.isEnabled)return null;var Mt=ri(ge.descriptor.id,xe),Dt=vi(oe,ge),At=di({isMovingForward:ae,draggable:oe,destination:ge,insideDestination:Mt,previousImpact:Fe})||Ta({isMovingForward:ae,isInHomeList:Dt,draggable:oe,draggables:xe,destination:ge,insideDestination:Mt,previousImpact:Fe,viewport:Re,afterCritical:Tt});if(!At)return null;var Jt=yl({impact:At,draggable:oe,droppable:ge,draggables:xe,afterCritical:Tt}),$n=mu({draggable:oe,destination:ge,newPageBorderBoxCenter:Jt,viewport:Re.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if($n){var ir=su({pageBorderBoxCenter:Jt,draggable:oe,viewport:Re});return{clientSelection:ir,impact:At,scrollJumpRequest:null}}var mr=Wr(Jt,_e),hr=tu({impact:At,viewport:Re,destination:ge,draggables:xe,maxScrollChange:mr});return{clientSelection:bt,impact:hr,scrollJumpRequest:mr}},El=function(ae){var oe=ae.subject.active;return oe||Ue(!1),oe},Ru=function(te){var ae=te.isMovingForward,oe=te.pageBorderBoxCenter,ge=te.source,xe=te.droppables,Fe=te.viewport,Re=ge.subject.active;if(!Re)return null;var _e=ge.axis,bt=Vo(Re[_e.start],Re[_e.end]),Tt=Oo(xe).filter(function(Dt){return Dt!==ge}).filter(function(Dt){return Dt.isEnabled}).filter(function(Dt){return!!Dt.subject.active}).filter(function(Dt){return Fi(Fe.frame)(El(Dt))}).filter(function(Dt){var At=El(Dt);return ae?Re[_e.crossAxisEnd]<At[_e.crossAxisEnd]:At[_e.crossAxisStart]<Re[_e.crossAxisStart]}).filter(function(Dt){var At=El(Dt),Jt=Vo(At[_e.start],At[_e.end]);return bt(At[_e.start])||bt(At[_e.end])||Jt(Re[_e.start])||Jt(Re[_e.end])}).sort(function(Dt,At){var Jt=El(Dt)[_e.crossAxisStart],$n=El(At)[_e.crossAxisStart];return ae?Jt-$n:$n-Jt}).filter(function(Dt,At,Jt){return El(Dt)[_e.crossAxisStart]===El(Jt[0])[_e.crossAxisStart]});if(!Tt.length)return null;if(Tt.length===1)return Tt[0];var Mt=Tt.filter(function(Dt){var At=Vo(El(Dt)[_e.start],El(Dt)[_e.end]);return At(oe[_e.line])});return Mt.length===1?Mt[0]:Mt.length>1?Mt.sort(function(Dt,At){return El(Dt)[_e.start]-El(At)[_e.start]})[0]:Tt.sort(function(Dt,At){var Jt=La(oe,Er(El(Dt))),$n=La(oe,Er(El(At)));return Jt!==$n?Jt-$n:El(Dt)[_e.start]-El(At)[_e.start]})[0]},Mu=function(ae,oe){var ge=ae.page.borderBox.center;return Xn(ae.descriptor.id,oe)?Wr(ge,oe.displacedBy.point):ge},rl=function(ae,oe){var ge=ae.page.borderBox;return Xn(ae.descriptor.id,oe)?Fr(ge,ha(oe.displacedBy.point)):ge},ku=function(te){var ae=te.pageBorderBoxCenter,oe=te.viewport,ge=te.destination,xe=te.insideDestination,Fe=te.afterCritical,Re=xe.filter(function(_e){return we({target:rl(_e,Fe),destination:ge,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(_e,bt){var Tt=Ua(ae,Al(ge,Mu(_e,Fe))),Mt=Ua(ae,Al(ge,Mu(bt,Fe)));return Tt<Mt?-1:Mt<Tt?1:_e.descriptor.index-bt.descriptor.index});return Re[0]||null},nu=Wt(function(ae,oe){var ge=oe[ae.line];return{value:ge,point:za(ae.line,ge)}}),Ju=function(ae,oe,ge){var xe=ae.axis;if(ae.descriptor.mode==="virtual")return za(xe.line,oe[xe.line]);var Fe=ae.subject.page.contentBox[xe.size],Re=ri(ae.descriptor.id,ge),_e=Re.reduce(function(Mt,Dt){return Mt+Dt.client.marginBox[xe.size]},0),bt=_e+oe[xe.line],Tt=bt-Fe;return Tt<=0?null:za(xe.line,Tt)},bu=function(ae,oe){return(0,Ne.Z)({},ae,{scroll:(0,Ne.Z)({},ae.scroll,{max:oe})})},Tu=function(ae,oe,ge){var xe=ae.frame;vi(oe,ae)&&Ue(!1),ae.subject.withPlaceholder&&Ue(!1);var Fe=nu(ae.axis,oe.displaceBy).point,Re=Ju(ae,Fe,ge),_e={placeholderSize:Fe,increasedBy:Re,oldFrameMaxScroll:ae.frame?ae.frame.scroll.max:null};if(!xe){var bt=ho({page:ae.subject.page,withPlaceholder:_e,axis:ae.axis,frame:ae.frame});return(0,Ne.Z)({},ae,{subject:bt})}var Tt=Re?xr(xe.scroll.max,Re):xe.scroll.max,Mt=bu(xe,Tt),Dt=ho({page:ae.subject.page,withPlaceholder:_e,axis:ae.axis,frame:Mt});return(0,Ne.Z)({},ae,{subject:Dt,frame:Mt})},Xu=function(ae){var oe=ae.subject.withPlaceholder;oe||Ue(!1);var ge=ae.frame;if(!ge){var xe=ho({page:ae.subject.page,axis:ae.axis,frame:null,withPlaceholder:null});return(0,Ne.Z)({},ae,{subject:xe})}var Fe=oe.oldFrameMaxScroll;Fe||Ue(!1);var Re=bu(ge,Fe),_e=ho({page:ae.subject.page,axis:ae.axis,frame:Re,withPlaceholder:null});return(0,Ne.Z)({},ae,{subject:_e,frame:Re})},_u=function(te){var ae=te.previousPageBorderBoxCenter,oe=te.moveRelativeTo,ge=te.insideDestination,xe=te.draggable,Fe=te.draggables,Re=te.destination,_e=te.viewport,bt=te.afterCritical;if(!oe){if(ge.length)return null;var Tt={displaced:tl,displacedBy:Ui,at:{type:"REORDER",destination:{droppableId:Re.descriptor.id,index:0}}},Mt=yl({impact:Tt,draggable:xe,droppable:Re,draggables:Fe,afterCritical:bt}),Dt=vi(xe,Re)?Re:Tu(Re,xe,Fe),At=mu({draggable:xe,destination:Dt,newPageBorderBoxCenter:Mt,viewport:_e.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return At?Tt:null}var Jt=ae[Re.axis.line]<=oe.page.borderBox.center[Re.axis.line],$n=function(){var mr=oe.descriptor.index;return oe.descriptor.id===xe.descriptor.id||Jt?mr:mr+1}(),ir=nu(Re.axis,xe.displaceBy);return jn({draggable:xe,insideDestination:ge,destination:Re,viewport:_e,displacedBy:ir,last:tl,index:$n})},bl=function(te){var ae=te.isMovingForward,oe=te.previousPageBorderBoxCenter,ge=te.draggable,xe=te.isOver,Fe=te.draggables,Re=te.droppables,_e=te.viewport,bt=te.afterCritical,Tt=Ru({isMovingForward:ae,pageBorderBoxCenter:oe,source:xe,droppables:Re,viewport:_e});if(!Tt)return null;var Mt=ri(Tt.descriptor.id,Fe),Dt=ku({pageBorderBoxCenter:oe,viewport:_e,destination:Tt,insideDestination:Mt,afterCritical:bt}),At=_u({previousPageBorderBoxCenter:oe,destination:Tt,draggable:ge,draggables:Fe,moveRelativeTo:Dt,insideDestination:Mt,viewport:_e,afterCritical:bt});if(!At)return null;var Jt=yl({impact:At,draggable:ge,droppable:Tt,draggables:Fe,afterCritical:bt}),$n=su({pageBorderBoxCenter:Jt,draggable:ge,viewport:_e});return{clientSelection:$n,impact:At,scrollJumpRequest:null}},ji=function(te){var ae=te.at;return ae?ae.type==="REORDER"?ae.destination.droppableId:ae.combine.droppableId:null},Zu=function(ae,oe){var ge=ji(ae);return ge?oe[ge]:null},fs=function(te){var ae=te.state,oe=te.type,ge=Zu(ae.impact,ae.dimensions.droppables),xe=!!ge,Fe=ae.dimensions.droppables[ae.critical.droppable.id],Re=ge||Fe,_e=Re.axis.direction,bt=_e==="vertical"&&(oe==="MOVE_UP"||oe==="MOVE_DOWN")||_e==="horizontal"&&(oe==="MOVE_LEFT"||oe==="MOVE_RIGHT");if(bt&&!xe)return null;var Tt=oe==="MOVE_DOWN"||oe==="MOVE_RIGHT",Mt=ae.dimensions.draggables[ae.critical.draggable.id],Dt=ae.current.page.borderBoxCenter,At=ae.dimensions,Jt=At.draggables,$n=At.droppables;return bt?Yu({isMovingForward:Tt,previousPageBorderBoxCenter:Dt,draggable:Mt,destination:Re,draggables:Jt,viewport:ae.viewport,previousClientSelection:ae.current.client.selection,previousImpact:ae.impact,afterCritical:ae.afterCritical}):bl({isMovingForward:Tt,previousPageBorderBoxCenter:Dt,draggable:Mt,isOver:Re,draggables:Jt,droppables:$n,viewport:ae.viewport,afterCritical:ae.afterCritical})};function au(te){return te.phase==="DRAGGING"||te.phase==="COLLECTING"}function Bi(te){var ae=Vo(te.top,te.bottom),oe=Vo(te.left,te.right);return function(xe){return ae(xe.y)&&oe(xe.x)}}function Cu(te,ae){return te.left<ae.right&&te.right>ae.left&&te.top<ae.bottom&&te.bottom>ae.top}function zu(te){var ae=te.pageBorderBox,oe=te.draggable,ge=te.candidates,xe=oe.page.borderBox.center,Fe=ge.map(function(Re){var _e=Re.axis,bt=za(Re.axis.line,ae.center[_e.line],Re.page.borderBox.center[_e.crossAxisLine]);return{id:Re.descriptor.id,distance:Ua(xe,bt)}}).sort(function(Re,_e){return _e.distance-Re.distance});return Fe[0]?Fe[0].id:null}function rs(te){var ae=te.pageBorderBox,oe=te.draggable,ge=te.droppables,xe=Oo(ge).filter(function(Fe){if(!Fe.isEnabled)return!1;var Re=Fe.subject.active;if(!Re||!Cu(ae,Re))return!1;if(Bi(Re)(ae.center))return!0;var _e=Fe.axis,bt=Re.center[_e.crossAxisLine],Tt=ae[_e.crossAxisStart],Mt=ae[_e.crossAxisEnd],Dt=Vo(Re[_e.crossAxisStart],Re[_e.crossAxisEnd]),At=Dt(Tt),Jt=Dt(Mt);return!At&&!Jt?!0:At?Tt<bt:Mt>bt});return xe.length?xe.length===1?xe[0].descriptor.id:zu({pageBorderBox:ae,draggable:oe,candidates:xe}):null}var Il=function(ae,oe){return Jn(Fr(ae,oe))},Hu=function(te,ae){var oe=te.frame;return oe?Il(ae,oe.scroll.diff.value):ae};function xu(te){var ae=te.displaced,oe=te.id;return!!(ae.visible[oe]||ae.invisible[oe])}function Fu(te){var ae=te.draggable,oe=te.closest,ge=te.inHomeList;return oe?ge&&oe.descriptor.index>ae.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var Fl=function(te){var ae=te.pageBorderBoxWithDroppableScroll,oe=te.draggable,ge=te.destination,xe=te.insideDestination,Fe=te.last,Re=te.viewport,_e=te.afterCritical,bt=ge.axis,Tt=nu(ge.axis,oe.displaceBy),Mt=Tt.value,Dt=ae[bt.start],At=ae[bt.end],Jt=mo(oe,xe),$n=gr(Jt,function(mr){var hr=mr.descriptor.id,Vr=mr.page.borderBox.center[bt.line],ro=Xn(hr,_e),co=xu({displaced:Fe,id:hr});return ro?co?At<=Vr:Dt<Vr-Mt:co?At<=Vr+Mt:Dt<Vr}),ir=Fu({draggable:oe,closest:$n,inHomeList:vi(oe,ge)});return jn({draggable:oe,insideDestination:xe,destination:ge,viewport:Re,last:Fe,displacedBy:Tt,index:ir})},zl=4,os=function(te){var ae=te.draggable,oe=te.pageBorderBoxWithDroppableScroll,ge=te.previousImpact,xe=te.destination,Fe=te.insideDestination,Re=te.afterCritical;if(!xe.isCombineEnabled)return null;var _e=xe.axis,bt=nu(xe.axis,ae.displaceBy),Tt=bt.value,Mt=oe[_e.start],Dt=oe[_e.end],At=mo(ae,Fe),Jt=gr(At,function(ir){var mr=ir.descriptor.id,hr=ir.page.borderBox,Vr=hr[_e.size],ro=Vr/zl,co=Xn(mr,Re),ui=xu({displaced:ge.displaced,id:mr});return co?ui?Dt>hr[_e.start]+ro&&Dt<hr[_e.end]-ro:Mt>hr[_e.start]-Tt+ro&&Mt<hr[_e.end]-Tt-ro:ui?Dt>hr[_e.start]+Tt+ro&&Dt<hr[_e.end]+Tt-ro:Mt>hr[_e.start]+ro&&Mt<hr[_e.end]-ro});if(!Jt)return null;var $n={displacedBy:bt,displaced:ge.displaced,at:{type:"COMBINE",combine:{draggableId:Jt.descriptor.id,droppableId:xe.descriptor.id}}};return $n},qu=function(te){var ae=te.pageOffset,oe=te.draggable,ge=te.draggables,xe=te.droppables,Fe=te.previousImpact,Re=te.viewport,_e=te.afterCritical,bt=Il(oe.page.borderBox,ae),Tt=rs({pageBorderBox:bt,draggable:oe,droppables:xe});if(!Tt)return nl;var Mt=xe[Tt],Dt=ri(Mt.descriptor.id,ge),At=Hu(Mt,bt);return os({pageBorderBoxWithDroppableScroll:At,draggable:oe,previousImpact:Fe,destination:Mt,insideDestination:Dt,afterCritical:_e})||Fl({pageBorderBoxWithDroppableScroll:At,draggable:oe,destination:Mt,insideDestination:Dt,last:Fe.displaced,viewport:Re,afterCritical:_e})},ju=function(te,ae){var oe;return(0,Ne.Z)({},te,(oe={},oe[ae.descriptor.id]=ae,oe))},Ar=function(ae){var oe=ae.previousImpact,ge=ae.impact,xe=ae.droppables,Fe=ji(oe),Re=ji(ge);if(!Fe||Fe===Re)return xe;var _e=xe[Fe];if(!_e.subject.withPlaceholder)return xe;var bt=Xu(_e);return ju(xe,bt)},Bu=function(te){var ae=te.draggable,oe=te.draggables,ge=te.droppables,xe=te.previousImpact,Fe=te.impact,Re=Ar({previousImpact:xe,impact:Fe,droppables:ge}),_e=ji(Fe);if(!_e)return Re;var bt=ge[_e];if(vi(ae,bt)||bt.subject.withPlaceholder)return Re;var Tt=Tu(bt,ae,oe);return ju(Re,Tt)},Yl=function(te){var ae=te.state,oe=te.clientSelection,ge=te.dimensions,xe=te.viewport,Fe=te.impact,Re=te.scrollJumpRequest,_e=xe||ae.viewport,bt=ge||ae.dimensions,Tt=oe||ae.current.client.selection,Mt=Wr(Tt,ae.initial.client.selection),Dt={offset:Mt,selection:Tt,borderBoxCenter:xr(ae.initial.client.borderBoxCenter,Mt)},At={selection:xr(Dt.selection,_e.scroll.current),borderBoxCenter:xr(Dt.borderBoxCenter,_e.scroll.current),offset:xr(Dt.offset,_e.scroll.diff.value)},Jt={client:Dt,page:At};if(ae.phase==="COLLECTING")return(0,Ne.Z)({phase:"COLLECTING"},ae,{dimensions:bt,viewport:_e,current:Jt});var $n=bt.draggables[ae.critical.draggable.id],ir=Fe||qu({pageOffset:At.offset,draggable:$n,draggables:bt.draggables,droppables:bt.droppables,previousImpact:ae.impact,viewport:_e,afterCritical:ae.afterCritical}),mr=Bu({draggable:$n,impact:ir,previousImpact:ae.impact,draggables:bt.draggables,droppables:bt.droppables}),hr=(0,Ne.Z)({},ae,{current:Jt,dimensions:{draggables:bt.draggables,droppables:mr},impact:ir,viewport:_e,scrollJumpRequest:Re||null,forceShouldAnimate:Re?!1:null});return hr};function Hl(te,ae){return te.map(function(oe){return ae[oe]})}var qa=function(te){var ae=te.impact,oe=te.viewport,ge=te.draggables,xe=te.destination,Fe=te.forceShouldAnimate,Re=ae.displaced,_e=Hl(Re.all,ge),bt=on({afterDragging:_e,destination:xe,displacedBy:ae.displacedBy,viewport:oe.frame,forceShouldAnimate:Fe,last:Re});return(0,Ne.Z)({},ae,{displaced:bt})},du=function(te){var ae=te.impact,oe=te.draggable,ge=te.droppable,xe=te.draggables,Fe=te.viewport,Re=te.afterCritical,_e=yl({impact:ae,draggable:oe,draggables:xe,droppable:ge,afterCritical:Re});return su({pageBorderBoxCenter:_e,draggable:oe,viewport:Fe})},es=function(te){var ae=te.state,oe=te.dimensions,ge=te.viewport;ae.movementMode!=="SNAP"&&Ue(!1);var xe=ae.impact,Fe=ge||ae.viewport,Re=oe||ae.dimensions,_e=Re.draggables,bt=Re.droppables,Tt=_e[ae.critical.draggable.id],Mt=ji(xe);Mt||Ue(!1);var Dt=bt[Mt],At=qa({impact:xe,viewport:Fe,destination:Dt,draggables:_e}),Jt=du({impact:At,draggable:Tt,droppable:Dt,draggables:_e,viewport:Fe,afterCritical:ae.afterCritical});return Yl({impact:At,clientSelection:Jt,state:ae,dimensions:Re,viewport:Fe})},is=function(te){return{index:te.index,droppableId:te.droppableId}},wu=function(te){var ae=te.draggable,oe=te.home,ge=te.draggables,xe=te.viewport,Fe=nu(oe.axis,ae.displaceBy),Re=ri(oe.descriptor.id,ge),_e=Re.indexOf(ae);_e===-1&&Ue(!1);var bt=Re.slice(_e+1),Tt=bt.reduce(function(Jt,$n){return Jt[$n.descriptor.id]=!0,Jt},{}),Mt={inVirtualList:oe.descriptor.mode==="virtual",displacedBy:Fe,effected:Tt},Dt=on({afterDragging:bt,destination:oe,displacedBy:Fe,last:null,viewport:xe.frame,forceShouldAnimate:!1}),At={displaced:Dt,displacedBy:Fe,at:{type:"REORDER",destination:is(ae.descriptor)}};return{impact:At,afterCritical:Mt}},ts=function(te,ae){return{draggables:te.draggables,droppables:ju(te.droppables,ae)}},cu=function(ae){},Qi=function(ae){},ls=function(te){var ae=te.draggable,oe=te.offset,ge=te.initialWindowScroll,xe=en(ae.client,oe),Fe=On(xe,ge),Re=(0,Ne.Z)({},ae,{placeholder:(0,Ne.Z)({},ae.placeholder,{client:xe}),client:xe,page:Fe});return Re},us=function(te){var ae=te.frame;return ae||Ue(!1),ae},ss=function(te){var ae=te.additions,oe=te.updatedDroppables,ge=te.viewport,xe=ge.scroll.diff.value;return ae.map(function(Fe){var Re=Fe.descriptor.droppableId,_e=oe[Re],bt=us(_e),Tt=bt.scroll.diff.value,Mt=xr(xe,Tt),Dt=ls({draggable:Fe,offset:Mt,initialWindowScroll:ge.scroll.initial});return Dt})},Gu=function(te){var ae=te.state,oe=te.published;cu();var ge=oe.modified.map(function(ro){var co=ae.dimensions.droppables[ro.droppableId],ui=yo(co,ro.scroll);return ui}),xe=(0,Ne.Z)({},ae.dimensions.droppables,{},Qo(ge)),Fe=Yo(ss({additions:oe.additions,updatedDroppables:xe,viewport:ae.viewport})),Re=(0,Ne.Z)({},ae.dimensions.draggables,{},Fe);oe.removals.forEach(function(ro){delete Re[ro]});var _e={droppables:xe,draggables:Re},bt=ji(ae.impact),Tt=bt?_e.droppables[bt]:null,Mt=_e.draggables[ae.critical.draggable.id],Dt=_e.droppables[ae.critical.droppable.id],At=wu({draggable:Mt,home:Dt,draggables:Re,viewport:ae.viewport}),Jt=At.impact,$n=At.afterCritical,ir=Tt&&Tt.isCombineEnabled?ae.impact:Jt,mr=qu({pageOffset:ae.current.page.offset,draggable:_e.draggables[ae.critical.draggable.id],draggables:_e.draggables,droppables:_e.droppables,previousImpact:ir,viewport:ae.viewport,afterCritical:$n});Qi();var hr=(0,Ne.Z)({phase:"DRAGGING"},ae,{phase:"DRAGGING",impact:mr,onLiftImpact:Jt,dimensions:_e,afterCritical:$n,forceShouldAnimate:!1});if(ae.phase==="COLLECTING")return hr;var Vr=(0,Ne.Z)({phase:"DROP_PENDING"},hr,{phase:"DROP_PENDING",reason:ae.reason,isWaiting:!1});return Vr},Jl=function(ae){return ae.movementMode==="SNAP"},Xl=function(ae,oe,ge){var xe=ts(ae.dimensions,oe);return!Jl(ae)||ge?Yl({state:ae,dimensions:xe}):es({state:ae,dimensions:xe})};function ru(te){return te.isDragging&&te.movementMode==="SNAP"?(0,Ne.Z)({phase:"DRAGGING"},te,{scrollJumpRequest:null}):te}var fu={phase:"IDLE",completed:null,shouldFlush:!1},Wu=function(te,ae){if(te===void 0&&(te=fu),ae.type==="FLUSH")return(0,Ne.Z)({},fu,{shouldFlush:!0});if(ae.type==="INITIAL_PUBLISH"){te.phase!=="IDLE"&&Ue(!1);var oe=ae.payload,ge=oe.critical,xe=oe.clientSelection,Fe=oe.viewport,Re=oe.dimensions,_e=oe.movementMode,bt=Re.draggables[ge.draggable.id],Tt=Re.droppables[ge.droppable.id],Mt={selection:xe,borderBoxCenter:bt.client.borderBox.center,offset:dr},Dt={client:Mt,page:{selection:xr(Mt.selection,Fe.scroll.initial),borderBoxCenter:xr(Mt.selection,Fe.scroll.initial),offset:xr(Mt.selection,Fe.scroll.diff.value)}},At=Oo(Re.droppables).every(function(Ds){return!Ds.isFixedOnPage}),Jt=wu({draggable:bt,home:Tt,draggables:Re.draggables,viewport:Fe}),$n=Jt.impact,ir=Jt.afterCritical,mr={phase:"DRAGGING",isDragging:!0,critical:ge,movementMode:_e,dimensions:Re,initial:Dt,current:Dt,isWindowScrollAllowed:At,impact:$n,afterCritical:ir,onLiftImpact:$n,viewport:Fe,scrollJumpRequest:null,forceShouldAnimate:null};return mr}if(ae.type==="COLLECTION_STARTING"){if(te.phase==="COLLECTING"||te.phase==="DROP_PENDING")return te;te.phase!=="DRAGGING"&&Ue(!1);var hr=(0,Ne.Z)({phase:"COLLECTING"},te,{phase:"COLLECTING"});return hr}if(ae.type==="PUBLISH_WHILE_DRAGGING")return te.phase==="COLLECTING"||te.phase==="DROP_PENDING"||Ue(!1),Gu({state:te,published:ae.payload});if(ae.type==="MOVE"){if(te.phase==="DROP_PENDING")return te;au(te)||Ue(!1);var Vr=ae.payload.client;return Ir(Vr,te.current.client.selection)?te:Yl({state:te,clientSelection:Vr,impact:Jl(te)?te.impact:null})}if(ae.type==="UPDATE_DROPPABLE_SCROLL"){if(te.phase==="DROP_PENDING"||te.phase==="COLLECTING")return ru(te);au(te)||Ue(!1);var ro=ae.payload,co=ro.id,ui=ro.newScroll,ni=te.dimensions.droppables[co];if(!ni)return te;var Ai=yo(ni,ui);return Xl(te,Ai,!1)}if(ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(te.phase==="DROP_PENDING")return te;au(te)||Ue(!1);var vl=ae.payload,ki=vl.id,pl=vl.isEnabled,Ll=te.dimensions.droppables[ki];Ll||Ue(!1),Ll.isEnabled===pl&&Ue(!1);var Tl=(0,Ne.Z)({},Ll,{isEnabled:pl});return Xl(te,Tl,!0)}if(ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(te.phase==="DROP_PENDING")return te;au(te)||Ue(!1);var Au=ae.payload,yu=Au.id,uu=Au.isCombineEnabled,Nu=te.dimensions.droppables[yu];Nu||Ue(!1),Nu.isCombineEnabled===uu&&Ue(!1);var _l=(0,Ne.Z)({},Nu,{isCombineEnabled:uu});return Xl(te,_l,!0)}if(ae.type==="MOVE_BY_WINDOW_SCROLL"){if(te.phase==="DROP_PENDING"||te.phase==="DROP_ANIMATING")return te;au(te)||Ue(!1),te.isWindowScrollAllowed||Ue(!1);var ns=ae.payload.newScroll;if(Ir(te.viewport.scroll.current,ns))return ru(te);var Iu=eu(te.viewport,ns);return Jl(te)?es({state:te,viewport:Iu}):Yl({state:te,viewport:Iu})}if(ae.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!au(te))return te;var Ps=ae.payload.maxScroll;if(Ir(Ps,te.viewport.scroll.max))return te;var gs=(0,Ne.Z)({},te.viewport,{scroll:(0,Ne.Z)({},te.viewport.scroll,{max:Ps})});return(0,Ne.Z)({phase:"DRAGGING"},te,{viewport:gs})}if(ae.type==="MOVE_UP"||ae.type==="MOVE_DOWN"||ae.type==="MOVE_LEFT"||ae.type==="MOVE_RIGHT"){if(te.phase==="COLLECTING"||te.phase==="DROP_PENDING")return te;te.phase!=="DRAGGING"&&Ue(!1);var as=fs({state:te,type:ae.type});return as?Yl({state:te,impact:as.impact,clientSelection:as.clientSelection,scrollJumpRequest:as.scrollJumpRequest}):te}if(ae.type==="DROP_PENDING"){var Ou=ae.payload.reason;te.phase!=="COLLECTING"&&Ue(!1);var ms=(0,Ne.Z)({phase:"DROP_PENDING"},te,{phase:"DROP_PENDING",isWaiting:!0,reason:Ou});return ms}if(ae.type==="DROP_ANIMATE"){var Fs=ae.payload,Lu=Fs.completed,ys=Fs.dropDuration,Bs=Fs.newHomeClientOffset;te.phase==="DRAGGING"||te.phase==="DROP_PENDING"||Ue(!1);var Ss={phase:"DROP_ANIMATING",completed:Lu,dropDuration:ys,newHomeClientOffset:Bs,dimensions:te.dimensions};return Ss}if(ae.type==="DROP_COMPLETE"){var ws=ae.payload.completed;return{phase:"IDLE",completed:ws,shouldFlush:!1}}return te},me=function(ae){return{type:"BEFORE_INITIAL_CAPTURE",payload:ae}},Se=function(ae){return{type:"LIFT",payload:ae}},ye=function(ae){return{type:"INITIAL_PUBLISH",payload:ae}},tt=function(ae){return{type:"PUBLISH_WHILE_DRAGGING",payload:ae}},it=function(){return{type:"COLLECTION_STARTING",payload:null}},qt=function(ae){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ae}},Kt=function(ae){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ae}},Zn=function(ae){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ae}},Tn=function(ae){return{type:"MOVE",payload:ae}},aa=function(ae){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ae}},Ca=function(ae){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ae}},ga=function(){return{type:"MOVE_UP",payload:null}},mn=function(){return{type:"MOVE_DOWN",payload:null}},Ba=function(){return{type:"MOVE_RIGHT",payload:null}},Ia=function(){return{type:"MOVE_LEFT",payload:null}},kn=function(){return{type:"FLUSH",payload:null}},sa=function(ae){return{type:"DROP_ANIMATE",payload:ae}},Oa=function(ae){return{type:"DROP_COMPLETE",payload:ae}},Br=function(ae){return{type:"DROP",payload:ae}},vr=function(ae){return{type:"DROP_PENDING",payload:ae}},wr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function jr(te){if(!(te.length<=1)){for(var ae=te.map(function(_e){return _e.descriptor.index}),oe={},ge=1;ge<ae.length;ge++){var xe=ae[ge],Fe=ae[ge-1];xe!==Fe+1&&(oe[xe]=!0)}if(Object.keys(oe).length)var Re=ae.map(function(_e){var bt=!!oe[_e];return bt?"[\u{1F525}"+_e+"]":""+_e}).join(", ")}}function Lr(te,ae){if(0)var oe}var Gn=function(te){return function(ae){var oe=ae.getState,ge=ae.dispatch;return function(xe){return function(Fe){if(Fe.type!=="LIFT"){xe(Fe);return}var Re=Fe.payload,_e=Re.id,bt=Re.clientSelection,Tt=Re.movementMode,Mt=oe();Mt.phase==="DROP_ANIMATING"&&ge(Oa({completed:Mt.completed})),oe().phase!=="IDLE"&&Ue(!1),ge(kn()),ge(me({draggableId:_e,movementMode:Tt}));var Dt={shouldPublishImmediately:Tt==="SNAP"},At={draggableId:_e,scrollOptions:Dt},Jt=te.startPublishing(At),$n=Jt.critical,ir=Jt.dimensions,mr=Jt.viewport;Lr($n,ir),ge(ye({critical:$n,dimensions:ir,clientSelection:bt,movementMode:Tt,viewport:mr}))}}}},Ko=function(te){return function(){return function(ae){return function(oe){oe.type==="INITIAL_PUBLISH"&&te.dragging(),oe.type==="DROP_ANIMATE"&&te.dropping(oe.payload.completed.result.reason),(oe.type==="FLUSH"||oe.type==="DROP_COMPLETE")&&te.resting(),ae(oe)}}}},fo={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},zo={opacity:{drop:0,combining:.7},scale:{drop:.75}},qo={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},ii=qo.outOfTheWay+"s "+fo.outOfTheWay,pi={fluid:"opacity "+ii,snap:"transform "+ii+", opacity "+ii,drop:function(ae){var oe=ae+"s "+fo.drop;return"transform "+oe+", opacity "+oe},outOfTheWay:"transform "+ii,placeholder:"height "+ii+", width "+ii+", margin "+ii},zi=function(ae){return Ir(ae,dr)?null:"translate("+ae.x+"px, "+ae.y+"px)"},oo={moveTo:zi,drop:function(ae,oe){var ge=zi(ae);return ge?oe?ge+" scale("+zo.scale.drop+")":ge:null}},Lo=qo.minDropTime,To=qo.maxDropTime,wi=To-Lo,Ni=1500,fi=.6,Ro=function(te){var ae=te.current,oe=te.destination,ge=te.reason,xe=Ua(ae,oe);if(xe<=0)return Lo;if(xe>=Ni)return To;var Fe=xe/Ni,Re=Lo+wi*Fe,_e=ge==="CANCEL"?Re*fi:Re;return Number(_e.toFixed(2))},ol=function(te){var ae=te.impact,oe=te.draggable,ge=te.dimensions,xe=te.viewport,Fe=te.afterCritical,Re=ge.draggables,_e=ge.droppables,bt=ji(ae),Tt=bt?_e[bt]:null,Mt=_e[oe.descriptor.droppableId],Dt=du({impact:ae,draggable:oe,draggables:Re,afterCritical:Fe,droppable:Tt||Mt,viewport:xe}),At=Wr(Dt,oe.client.borderBox.center);return At},Xi=function(te){var ae=te.draggables,oe=te.reason,ge=te.lastImpact,xe=te.home,Fe=te.viewport,Re=te.onLiftImpact;if(!ge.at||oe!=="DROP"){var _e=qa({draggables:ae,impact:Re,destination:xe,viewport:Fe,forceShouldAnimate:!0});return{impact:_e,didDropInsideDroppable:!1}}if(ge.at.type==="REORDER")return{impact:ge,didDropInsideDroppable:!0};var bt=(0,Ne.Z)({},ge,{displaced:tl});return{impact:bt,didDropInsideDroppable:!0}},Ee=function(te){var ae=te.getState,oe=te.dispatch;return function(ge){return function(xe){if(xe.type!=="DROP"){ge(xe);return}var Fe=ae(),Re=xe.payload.reason;if(Fe.phase==="COLLECTING"){oe(vr({reason:Re}));return}if(Fe.phase!=="IDLE"){var _e=Fe.phase==="DROP_PENDING"&&Fe.isWaiting;_e&&Ue(!1),Fe.phase==="DRAGGING"||Fe.phase==="DROP_PENDING"||Ue(!1);var bt=Fe.critical,Tt=Fe.dimensions,Mt=Tt.draggables[Fe.critical.draggable.id],Dt=Xi({reason:Re,lastImpact:Fe.impact,afterCritical:Fe.afterCritical,onLiftImpact:Fe.onLiftImpact,home:Fe.dimensions.droppables[Fe.critical.droppable.id],viewport:Fe.viewport,draggables:Fe.dimensions.draggables}),At=Dt.impact,Jt=Dt.didDropInsideDroppable,$n=Jt?Hr(At):null,ir=Jt?ko(At):null,mr={index:bt.draggable.index,droppableId:bt.droppable.id},hr={draggableId:Mt.descriptor.id,type:Mt.descriptor.type,source:mr,reason:Re,mode:Fe.movementMode,destination:$n,combine:ir},Vr=ol({impact:At,draggable:Mt,dimensions:Tt,viewport:Fe.viewport,afterCritical:Fe.afterCritical}),ro={critical:Fe.critical,afterCritical:Fe.afterCritical,result:hr,impact:At},co=!Ir(Fe.current.client.offset,Vr)||!!hr.combine;if(!co){oe(Oa({completed:ro}));return}var ui=Ro({current:Fe.current.client.offset,destination:Vr,reason:Re}),ni={newHomeClientOffset:Vr,dropDuration:ui,completed:ro};oe(sa(ni))}}}},Ce=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Qe(te){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||te()}}}function rt(te){var ae=te.onWindowScroll;function oe(){ae(Ce())}var ge=wn(oe),xe=Qe(ge),Fe=Pa;function Re(){return Fe!==Pa}function _e(){Re()&&Ue(!1),Fe=lr(window,[xe])}function bt(){Re()||Ue(!1),ge.cancel(),Fe(),Fe=Pa}return{start:_e,stop:bt,isActive:Re}}var Pt=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Et=function(te){var ae=rt({onWindowScroll:function(ge){te.dispatch(aa({newScroll:ge}))}});return function(oe){return function(ge){!ae.isActive()&&ge.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&Pt(ge)&&ae.stop(),oe(ge)}}},$t=function(te){var ae=!1,oe=!1,ge=setTimeout(function(){oe=!0}),xe=function(Re){ae||oe||(ae=!0,te(Re),clearTimeout(ge))};return xe.wasCalled=function(){return ae},xe},Yt=function(){var te=[],ae=function(Fe){var Re=Ao(te,function(Tt){return Tt.timerId===Fe});Re===-1&&Ue(!1);var _e=te.splice(Re,1),bt=_e[0];bt.callback()},oe=function(Fe){var Re=setTimeout(function(){return ae(Re)}),_e={timerId:Re,callback:Fe};te.push(_e)},ge=function(){if(te.length){var Fe=[].concat(te);te.length=0,Fe.forEach(function(Re){clearTimeout(Re.timerId),Re.callback()})}};return{add:oe,flush:ge}},Ut=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},Cn=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},vn=function(ae,oe){if(ae===oe)return!0;var ge=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,xe=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return ge&&xe},pn=function(ae,oe){cu(),oe(),Qi()},qn=function(ae,oe){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:oe}},na=function(ae,oe,ge,xe){if(!ae){ge(xe(oe));return}var Fe=$t(ge),Re={announce:Fe};ae(oe,Re),Fe.wasCalled()||ge(xe(oe))},ca=function(te,ae){var oe=Yt(),ge=null,xe=function(At,Jt){ge&&Ue(!1),pn("onBeforeCapture",function(){var $n=te().onBeforeCapture;if($n){var ir={draggableId:At,mode:Jt};$n(ir)}})},Fe=function(At,Jt){ge&&Ue(!1),pn("onBeforeDragStart",function(){var $n=te().onBeforeDragStart;$n&&$n(qn(At,Jt))})},Re=function(At,Jt){ge&&Ue(!1);var $n=qn(At,Jt);ge={mode:Jt,lastCritical:At,lastLocation:$n.source,lastCombine:null},oe.add(function(){pn("onDragStart",function(){return na(te().onDragStart,$n,ae,En.onDragStart)})})},_e=function(At,Jt){var $n=Hr(Jt),ir=ko(Jt);ge||Ue(!1);var mr=!vn(At,ge.lastCritical);mr&&(ge.lastCritical=At);var hr=!Ut(ge.lastLocation,$n);hr&&(ge.lastLocation=$n);var Vr=!Cn(ge.lastCombine,ir);if(Vr&&(ge.lastCombine=ir),!(!mr&&!hr&&!Vr)){var ro=(0,Ne.Z)({},qn(At,ge.mode),{combine:ir,destination:$n});oe.add(function(){pn("onDragUpdate",function(){return na(te().onDragUpdate,ro,ae,En.onDragUpdate)})})}},bt=function(){ge||Ue(!1),oe.flush()},Tt=function(At){ge||Ue(!1),ge=null,pn("onDragEnd",function(){return na(te().onDragEnd,At,ae,En.onDragEnd)})},Mt=function(){if(ge){var At=(0,Ne.Z)({},qn(ge.lastCritical,ge.mode),{combine:null,destination:null,reason:"CANCEL"});Tt(At)}};return{beforeCapture:xe,beforeStart:Fe,start:Re,update:_e,flush:bt,drop:Tt,abort:Mt}},Aa=function(te,ae){var oe=ca(te,ae);return function(ge){return function(xe){return function(Fe){if(Fe.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(Fe.payload.draggableId,Fe.payload.movementMode);return}if(Fe.type==="INITIAL_PUBLISH"){var Re=Fe.payload.critical;oe.beforeStart(Re,Fe.payload.movementMode),xe(Fe),oe.start(Re,Fe.payload.movementMode);return}if(Fe.type==="DROP_COMPLETE"){var _e=Fe.payload.completed.result;oe.flush(),xe(Fe),oe.drop(_e);return}if(xe(Fe),Fe.type==="FLUSH"){oe.abort();return}var bt=ge.getState();bt.phase==="DRAGGING"&&oe.update(bt.critical,bt.impact)}}}},Ht=function(te){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var ge=te.getState();ge.phase!=="DROP_ANIMATING"&&Ue(!1),te.dispatch(Oa({completed:ge.completed}))}}},Xa=function(te){var ae=null,oe=null;function ge(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(xe){return function(Fe){if((Fe.type==="FLUSH"||Fe.type==="DROP_COMPLETE"||Fe.type==="DROP_ANIMATION_FINISHED")&&ge(),xe(Fe),Fe.type==="DROP_ANIMATE"){var Re={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var bt=te.getState();bt.phase==="DROP_ANIMATING"&&te.dispatch(wr())}};oe=requestAnimationFrame(function(){oe=null,ae=lr(window,[Re])})}}}},_a=function(te){return function(){return function(ae){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&te.stopPublishing(),ae(oe)}}}},rr=function(te){var ae=!1;return function(){return function(oe){return function(ge){if(ge.type==="INITIAL_PUBLISH"){ae=!0,te.tryRecordFocus(ge.payload.critical.draggable.id),oe(ge),te.tryRestoreFocusRecorded();return}if(oe(ge),!!ae){if(ge.type==="FLUSH"){ae=!1,te.tryRestoreFocusRecorded();return}if(ge.type==="DROP_COMPLETE"){ae=!1;var xe=ge.payload.completed.result;xe.combine&&te.tryShiftRecord(xe.draggableId,xe.combine.draggableId),te.tryRestoreFocusRecorded()}}}}}},Tr=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},$r=function(te){return function(ae){return function(oe){return function(ge){if(Tr(ge)){te.stop(),oe(ge);return}if(ge.type==="INITIAL_PUBLISH"){oe(ge);var xe=ae.getState();xe.phase!=="DRAGGING"&&Ue(!1),te.start(xe);return}oe(ge),te.scroll(ae.getState())}}}},Dr=function(te){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var ge=te.getState();ge.phase==="DROP_PENDING"&&(ge.isWaiting||te.dispatch(Br({reason:ge.reason})))}}}},Gr=Ze.qC,zr=function(te){var ae=te.dimensionMarshal,oe=te.focusMarshal,ge=te.styleMarshal,xe=te.getResponders,Fe=te.announce,Re=te.autoScroller;return(0,Ze.MT)(Wu,Gr((0,Ze.md)(Ko(ge),_a(ae),Gn(ae),Ee,Ht,Xa,Dr,$r(Re),Et,rr(oe),Aa(xe,Fe))))},tr=function(){return{additions:{},removals:{},modified:{}}};function nr(te){var ae=te.registry,oe=te.callbacks,ge=tr(),xe=null,Fe=function(){xe||(oe.collectionStarting(),xe=requestAnimationFrame(function(){xe=null,cu();var Mt=ge,Dt=Mt.additions,At=Mt.removals,Jt=Mt.modified,$n=Object.keys(Dt).map(function(hr){return ae.draggable.getById(hr).getDimension(dr)}).sort(function(hr,Vr){return hr.descriptor.index-Vr.descriptor.index}),ir=Object.keys(Jt).map(function(hr){var Vr=ae.droppable.getById(hr),ro=Vr.callbacks.getScrollWhileDragging();return{droppableId:hr,scroll:ro}}),mr={additions:$n,removals:Object.keys(At),modified:ir};ge=tr(),Qi(),oe.publish(mr)}))},Re=function(Mt){var Dt=Mt.descriptor.id;ge.additions[Dt]=Mt,ge.modified[Mt.descriptor.droppableId]=!0,ge.removals[Dt]&&delete ge.removals[Dt],Fe()},_e=function(Mt){var Dt=Mt.descriptor;ge.removals[Dt.id]=!0,ge.modified[Dt.droppableId]=!0,ge.additions[Dt.id]&&delete ge.additions[Dt.id],Fe()},bt=function(){xe&&(cancelAnimationFrame(xe),xe=null,ge=tr())};return{add:Re,remove:_e,stop:bt}}var fr=function(te){var ae=te.scrollHeight,oe=te.scrollWidth,ge=te.height,xe=te.width,Fe=Wr({x:oe,y:ae},{x:xe,y:ge}),Re={x:Math.max(0,Fe.x),y:Math.max(0,Fe.y)};return Re},Wa=function(){var te=document.documentElement;return te||Ue(!1),te},or=function(){var te=Wa(),ae=fr({scrollHeight:te.scrollHeight,scrollWidth:te.scrollWidth,width:te.clientWidth,height:te.clientHeight});return ae},Kr=function(){var te=Ce(),ae=or(),oe=te.y,ge=te.x,xe=Wa(),Fe=xe.clientWidth,Re=xe.clientHeight,_e=ge+Fe,bt=oe+Re,Tt=Jn({top:oe,left:ge,right:_e,bottom:bt}),Mt={frame:Tt,scroll:{initial:te,current:te,max:ae,diff:{value:dr,displacement:dr}}};return Mt},Po=function(te){var ae=te.critical,oe=te.scrollOptions,ge=te.registry;cu();var xe=Kr(),Fe=xe.scroll.current,Re=ae.droppable,_e=ge.droppable.getAllByType(Re.type).map(function(Dt){return Dt.callbacks.getDimensionAndWatchScroll(Fe,oe)}),bt=ge.draggable.getAllByType(ae.draggable.type).map(function(Dt){return Dt.getDimension(Fe)}),Tt={draggables:Yo(bt),droppables:Qo(_e)};Qi();var Mt={dimensions:Tt,critical:ae,viewport:xe};return Mt};function lo(te,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var ge=te.droppable.getById(oe.descriptor.droppableId);return ge.descriptor.mode==="virtual"}var Mr=function(te,ae){var oe=null,ge=nr({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:te}),xe=function(Jt,$n){te.droppable.exists(Jt)||Ue(!1),oe&&ae.updateDroppableIsEnabled({id:Jt,isEnabled:$n})},Fe=function(Jt,$n){oe&&(te.droppable.exists(Jt)||Ue(!1),ae.updateDroppableIsCombineEnabled({id:Jt,isCombineEnabled:$n}))},Re=function(Jt,$n){oe&&(te.droppable.exists(Jt)||Ue(!1),ae.updateDroppableScroll({id:Jt,newScroll:$n}))},_e=function(Jt,$n){oe&&te.droppable.getById(Jt).callbacks.scroll($n)},bt=function(){if(oe){ge.stop();var Jt=oe.critical.droppable;te.droppable.getAllByType(Jt.type).forEach(function($n){return $n.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Tt=function(Jt){oe||Ue(!1);var $n=oe.critical.draggable;Jt.type==="ADDITION"&&lo(te,$n,Jt.value)&&ge.add(Jt.value),Jt.type==="REMOVAL"&&lo(te,$n,Jt.value)&&ge.remove(Jt.value)},Mt=function(Jt){oe&&Ue(!1);var $n=te.draggable.getById(Jt.draggableId),ir=te.droppable.getById($n.descriptor.droppableId),mr={draggable:$n.descriptor,droppable:ir.descriptor},hr=te.subscribe(Tt);return oe={critical:mr,unsubscribe:hr},Po({critical:mr,registry:te,scrollOptions:Jt.scrollOptions})},Dt={updateDroppableIsEnabled:xe,updateDroppableIsCombineEnabled:Fe,scrollDroppable:_e,updateDroppableScroll:Re,startPublishing:Mt,stopPublishing:bt};return Dt},vo=function(te,ae){return te.phase==="IDLE"?!0:te.phase!=="DROP_ANIMATING"||te.completed.result.draggableId===ae?!1:te.completed.result.reason==="DROP"},Bo=function(te){window.scrollBy(te.x,te.y)},Ra=Wt(function(te){return Oo(te).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),wo=function(ae,oe){var ge=gr(Ra(oe),function(xe){return xe.frame||Ue(!1),Bi(xe.frame.pageMarginBox)(ae)});return ge},yi=function(te){var ae=te.center,oe=te.destination,ge=te.droppables;if(oe){var xe=ge[oe];return xe.frame?xe:null}var Fe=wo(ae,ge);return Fe},Do={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Xr=function(te,ae){var oe=te[ae.size]*Do.startFromPercentage,ge=te[ae.size]*Do.maxScrollAtPercentage,xe={startScrollingFrom:oe,maxScrollValueAt:ge};return xe},bi=function(te){var ae=te.startOfRange,oe=te.endOfRange,ge=te.current,xe=oe-ae;if(xe===0)return 0;var Fe=ge-ae,Re=Fe/xe;return Re},Qr=1,gi=function(te,ae){if(te>ae.startScrollingFrom)return 0;if(te<=ae.maxScrollValueAt)return Do.maxPixelScroll;if(te===ae.startScrollingFrom)return Qr;var oe=bi({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:te}),ge=1-oe,xe=Do.maxPixelScroll*Do.ease(ge);return Math.ceil(xe)},_o=Do.durationDampening.accelerateAt,_i=Do.durationDampening.stopDampeningAt,to=function(te,ae){var oe=ae,ge=_i,xe=Date.now(),Fe=xe-oe;if(Fe>=_i)return te;if(Fe<_o)return Qr;var Re=bi({startOfRange:_o,endOfRange:ge,current:Fe}),_e=te*Do.ease(Re);return Math.ceil(_e)},_r=function(te){var ae=te.distanceToEdge,oe=te.thresholds,ge=te.dragStartTime,xe=te.shouldUseTimeDampening,Fe=gi(ae,oe);return Fe===0?0:xe?Math.max(to(Fe,ge),Qr):Fe},Yr=function(te){var ae=te.container,oe=te.distanceToEdges,ge=te.dragStartTime,xe=te.axis,Fe=te.shouldUseTimeDampening,Re=Xr(ae,xe),_e=oe[xe.end]<oe[xe.start];return _e?_r({distanceToEdge:oe[xe.end],thresholds:Re,dragStartTime:ge,shouldUseTimeDampening:Fe}):-1*_r({distanceToEdge:oe[xe.start],thresholds:Re,dragStartTime:ge,shouldUseTimeDampening:Fe})},Zr=function(te){var ae=te.container,oe=te.subject,ge=te.proposedScroll,xe=oe.height>ae.height,Fe=oe.width>ae.width;return!Fe&&!xe?ge:Fe&&xe?null:{x:Fe?0:ge.x,y:xe?0:ge.y}},ce=Or(function(te){return te===0?0:te}),pe=function(te){var ae=te.dragStartTime,oe=te.container,ge=te.subject,xe=te.center,Fe=te.shouldUseTimeDampening,Re={top:xe.y-oe.top,right:oe.right-xe.x,bottom:oe.bottom-xe.y,left:xe.x-oe.left},_e=Yr({container:oe,distanceToEdges:Re,dragStartTime:ae,axis:dl,shouldUseTimeDampening:Fe}),bt=Yr({container:oe,distanceToEdges:Re,dragStartTime:ae,axis:gl,shouldUseTimeDampening:Fe}),Tt=ce({x:bt,y:_e});if(Ir(Tt,dr))return null;var Mt=Zr({container:oe,subject:ge,proposedScroll:Tt});return Mt?Ir(Mt,dr)?null:Mt:null},Pe=Or(function(te){return te===0?0:te>0?1:-1}),Ot=function(){var te=function(oe,ge){return oe<0?oe:oe>ge?oe-ge:0};return function(ae){var oe=ae.current,ge=ae.max,xe=ae.change,Fe=xr(oe,xe),Re={x:te(Fe.x,ge.x),y:te(Fe.y,ge.y)};return Ir(Re,dr)?null:Re}}(),tn=function(ae){var oe=ae.max,ge=ae.current,xe=ae.change,Fe={x:Math.max(ge.x,oe.x),y:Math.max(ge.y,oe.y)},Re=Pe(xe),_e=Ot({max:Fe,current:ge,change:Re});return!_e||Re.x!==0&&_e.x===0||Re.y!==0&&_e.y===0},wa=function(ae,oe){return tn({current:ae.scroll.current,max:ae.scroll.max,change:oe})},ma=function(ae,oe){if(!wa(ae,oe))return null;var ge=ae.scroll.max,xe=ae.scroll.current;return Ot({current:xe,max:ge,change:oe})},zn=function(ae,oe){var ge=ae.frame;return ge?tn({current:ge.scroll.current,max:ge.scroll.max,change:oe}):!1},jt=function(ae,oe){var ge=ae.frame;return!ge||!zn(ae,oe)?null:Ot({current:ge.scroll.current,max:ge.scroll.max,change:oe})},Yn=function(te){var ae=te.viewport,oe=te.subject,ge=te.center,xe=te.dragStartTime,Fe=te.shouldUseTimeDampening,Re=pe({dragStartTime:xe,container:ae.frame,subject:oe,center:ge,shouldUseTimeDampening:Fe});return Re&&wa(ae,Re)?Re:null},xn=function(te){var ae=te.droppable,oe=te.subject,ge=te.center,xe=te.dragStartTime,Fe=te.shouldUseTimeDampening,Re=ae.frame;if(!Re)return null;var _e=pe({dragStartTime:xe,container:Re.pageMarginBox,subject:oe,center:ge,shouldUseTimeDampening:Fe});return _e&&zn(ae,_e)?_e:null},Ct=function(te){var ae=te.state,oe=te.dragStartTime,ge=te.shouldUseTimeDampening,xe=te.scrollWindow,Fe=te.scrollDroppable,Re=ae.current.page.borderBoxCenter,_e=ae.dimensions.draggables[ae.critical.draggable.id],bt=_e.page.marginBox;if(ae.isWindowScrollAllowed){var Tt=ae.viewport,Mt=Yn({dragStartTime:oe,viewport:Tt,subject:bt,center:Re,shouldUseTimeDampening:ge});if(Mt){xe(Mt);return}}var Dt=yi({center:Re,destination:ji(ae.impact),droppables:ae.dimensions.droppables});if(Dt){var At=xn({dragStartTime:oe,droppable:Dt,subject:bt,center:Re,shouldUseTimeDampening:ge});At&&Fe(Dt.descriptor.id,At)}},gn=function(te){var ae=te.scrollWindow,oe=te.scrollDroppable,ge=wn(ae),xe=wn(oe),Fe=null,Re=function(Mt){Fe||Ue(!1);var Dt=Fe,At=Dt.shouldUseTimeDampening,Jt=Dt.dragStartTime;Ct({state:Mt,scrollWindow:ge,scrollDroppable:xe,dragStartTime:Jt,shouldUseTimeDampening:At})},_e=function(Mt){cu(),Fe&&Ue(!1);var Dt=Date.now(),At=!1,Jt=function(){At=!0};Ct({state:Mt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Jt,scrollDroppable:Jt}),Fe={dragStartTime:Dt,shouldUseTimeDampening:At},Qi(),At&&Re(Mt)},bt=function(){Fe&&(ge.cancel(),xe.cancel(),Fe=null)};return{start:_e,stop:bt,scroll:Re}},In=function(te){var ae=te.move,oe=te.scrollDroppable,ge=te.scrollWindow,xe=function(Tt,Mt){var Dt=xr(Tt.current.client.selection,Mt);ae({client:Dt})},Fe=function(Tt,Mt){if(!zn(Tt,Mt))return Mt;var Dt=jt(Tt,Mt);if(!Dt)return oe(Tt.descriptor.id,Mt),null;var At=Wr(Mt,Dt);oe(Tt.descriptor.id,At);var Jt=Wr(Mt,At);return Jt},Re=function(Tt,Mt,Dt){if(!Tt||!wa(Mt,Dt))return Dt;var At=ma(Mt,Dt);if(!At)return ge(Dt),null;var Jt=Wr(Dt,At);ge(Jt);var $n=Wr(Dt,Jt);return $n},_e=function(Tt){var Mt=Tt.scrollJumpRequest;if(Mt){var Dt=ji(Tt.impact);Dt||Ue(!1);var At=Fe(Tt.dimensions.droppables[Dt],Mt);if(At){var Jt=Tt.viewport,$n=Re(Tt.isWindowScrollAllowed,Jt,At);$n&&xe(Tt,$n)}}};return _e},ra=function(te){var ae=te.scrollDroppable,oe=te.scrollWindow,ge=te.move,xe=gn({scrollWindow:oe,scrollDroppable:ae}),Fe=In({move:ge,scrollWindow:oe,scrollDroppable:ae}),Re=function(Tt){if(Tt.phase==="DRAGGING"){if(Tt.movementMode==="FLUID"){xe.scroll(Tt);return}Tt.scrollJumpRequest&&Fe(Tt)}},_e={scroll:Re,start:xe.start,stop:xe.stop};return _e},Hn="data-rbd",ba=function(){var te=Hn+"-drag-handle";return{base:te,draggableId:te+"-draggable-id",contextId:te+"-context-id"}}(),ta=function(){var te=Hn+"-draggable";return{base:te,contextId:te+"-context-id",id:te+"-id"}}(),oa=function(){var te=Hn+"-droppable";return{base:te,contextId:te+"-context-id",id:te+"-id"}}(),Ka={contextId:Hn+"-scroll-container-context-id"},Pn=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},ya=function(ae,oe){return ae.map(function(ge){var xe=ge.styles[oe];return xe?ge.selector+" { "+xe+" }":""}).join(" ")},ja="pointer-events: none;",qr=function(te){var ae=Pn(te),oe=function(){var _e=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ae(ba.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:_e,dragging:ja,dropAnimating:_e}}}(),ge=function(){var _e=`
transition: `+pi.outOfTheWay+`;
`;return{selector:ae(ta.contextId),styles:{dragging:_e,dropAnimating:_e,userCancel:_e}}}(),xe={selector:ae(oa.contextId),styles:{always:"overflow-anchor: none;"}},Fe={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},Re=[ge,oe,xe,Fe];return{always:ya(Re,"always"),resting:ya(Re,"resting"),dragging:ya(Re,"dragging"),dropAnimating:ya(Re,"dropAnimating"),userCancel:ya(Re,"userCancel")}},cr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,li=function(){var ae=document.querySelector("head");return ae||Ue(!1),ae},Za=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function Co(te,ae){var oe=wt(function(){return qr(te)},[te]),ge=(0,b.useRef)(null),xe=(0,b.useRef)(null),Fe=kt(Wt(function(Dt){var At=xe.current;At||Ue(!1),At.textContent=Dt}),[]),Re=kt(function(Dt){var At=ge.current;At||Ue(!1),At.textContent=Dt},[]);cr(function(){!ge.current&&!xe.current||Ue(!1);var Dt=Za(ae),At=Za(ae);return ge.current=Dt,xe.current=At,Dt.setAttribute(Hn+"-always",te),At.setAttribute(Hn+"-dynamic",te),li().appendChild(Dt),li().appendChild(At),Re(oe.always),Fe(oe.resting),function(){var Jt=function(ir){var mr=ir.current;mr||Ue(!1),li().removeChild(mr),ir.current=null};Jt(ge),Jt(xe)}},[ae,Re,Fe,oe.always,oe.resting,te]);var _e=kt(function(){return Fe(oe.dragging)},[Fe,oe.dragging]),bt=kt(function(Dt){if(Dt==="DROP"){Fe(oe.dropAnimating);return}Fe(oe.userCancel)},[Fe,oe.dropAnimating,oe.userCancel]),Tt=kt(function(){xe.current&&Fe(oe.resting)},[Fe,oe.resting]),Mt=wt(function(){return{dragging:_e,dropping:bt,resting:Tt}},[_e,bt,Tt]);return Mt}var Cr=function(te){return te&&te.ownerDocument?te.ownerDocument.defaultView:window};function ao(te){return te instanceof Cr(te).HTMLElement}function Eo(te,ae){var oe="["+ba.contextId+'="'+te+'"]',ge=eo(document.querySelectorAll(oe));if(!ge.length)return null;var xe=gr(ge,function(Fe){return Fe.getAttribute(ba.draggableId)===ae});return!xe||!ao(xe)?null:xe}function hi(te){var ae=(0,b.useRef)({}),oe=(0,b.useRef)(null),ge=(0,b.useRef)(null),xe=(0,b.useRef)(!1),Fe=kt(function(At,Jt){var $n={id:At,focus:Jt};return ae.current[At]=$n,function(){var mr=ae.current,hr=mr[At];hr!==$n&&delete mr[At]}},[]),Re=kt(function(At){var Jt=Eo(te,At);Jt&&Jt!==document.activeElement&&Jt.focus()},[te]),_e=kt(function(At,Jt){oe.current===At&&(oe.current=Jt)},[]),bt=kt(function(){ge.current||xe.current&&(ge.current=requestAnimationFrame(function(){ge.current=null;var At=oe.current;At&&Re(At)}))},[Re]),Tt=kt(function(At){oe.current=null;var Jt=document.activeElement;Jt&&Jt.getAttribute(ba.draggableId)===At&&(oe.current=At)},[]);cr(function(){return xe.current=!0,function(){xe.current=!1;var At=ge.current;At&&cancelAnimationFrame(At)}},[]);var Mt=wt(function(){return{register:Fe,tryRecordFocus:Tt,tryRestoreFocusRecorded:bt,tryShiftRecord:_e}},[Fe,Tt,bt,_e]);return Mt}function mi(){var te={draggables:{},droppables:{}},ae=[];function oe(Dt){return ae.push(Dt),function(){var Jt=ae.indexOf(Dt);Jt!==-1&&ae.splice(Jt,1)}}function ge(Dt){ae.length&&ae.forEach(function(At){return At(Dt)})}function xe(Dt){return te.draggables[Dt]||null}function Fe(Dt){var At=xe(Dt);return At||Ue(!1),At}var Re={register:function(At){te.draggables[At.descriptor.id]=At,ge({type:"ADDITION",value:At})},update:function(At,Jt){var $n=te.draggables[Jt.descriptor.id];$n&&$n.uniqueId===At.uniqueId&&(delete te.draggables[Jt.descriptor.id],te.draggables[At.descriptor.id]=At)},unregister:function(At){var Jt=At.descriptor.id,$n=xe(Jt);$n&&At.uniqueId===$n.uniqueId&&(delete te.draggables[Jt],ge({type:"REMOVAL",value:At}))},getById:Fe,findById:xe,exists:function(At){return!!xe(At)},getAllByType:function(At){return Mo(te.draggables).filter(function(Jt){return Jt.descriptor.type===At})}};function _e(Dt){return te.droppables[Dt]||null}function bt(Dt){var At=_e(Dt);return At||Ue(!1),At}var Tt={register:function(At){te.droppables[At.descriptor.id]=At},unregister:function(At){var Jt=_e(At.descriptor.id);Jt&&At.uniqueId===Jt.uniqueId&&delete te.droppables[At.descriptor.id]},getById:bt,findById:_e,exists:function(At){return!!_e(At)},getAllByType:function(At){return Mo(te.droppables).filter(function(Jt){return Jt.descriptor.type===At})}};function Mt(){te.draggables={},te.droppables={},ae.length=0}return{draggable:Re,droppable:Tt,subscribe:oe,clean:Mt}}function pr(){var te=wt(mi,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(te.clean)}},[te]),te}var po=b.createContext(null),Ki=function(){var te=document.body;return te||Ue(!1),te},Li={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},ea=function(ae){return"rbd-announcement-"+ae};function xo(te){var ae=wt(function(){return ea(te)},[te]),oe=(0,b.useRef)(null);(0,b.useEffect)(function(){var Fe=document.createElement("div");return oe.current=Fe,Fe.id=ae,Fe.setAttribute("aria-live","assertive"),Fe.setAttribute("aria-atomic","true"),(0,Ne.Z)(Fe.style,Li),Ki().appendChild(Fe),function(){setTimeout(function(){var bt=Ki();bt.contains(Fe)&&bt.removeChild(Fe),Fe===oe.current&&(oe.current=null)})}},[ae]);var ge=kt(function(xe){var Fe=oe.current;if(Fe){Fe.textContent=xe;return}},[]);return ge}var Ri=0,Zo={separator:"::"};function Ci(){Ri=0}function Mi(te,ae){return ae===void 0&&(ae=Zo),wt(function(){return""+te+ae.separator+Ri++},[ae.separator,te])}function oi(te){var ae=te.contextId,oe=te.uniqueId;return"rbd-hidden-text-"+ae+"-"+oe}function il(te){var ae=te.contextId,oe=te.text,ge=Mi("hidden-text",{separator:"-"}),xe=wt(function(){return oi({contextId:ae,uniqueId:ge})},[ge,ae]);return(0,b.useEffect)(function(){var Re=document.createElement("div");return Re.id=xe,Re.textContent=oe,Re.style.display="none",Ki().appendChild(Re),function(){var bt=Ki();bt.contains(Re)&&bt.removeChild(Re)}},[xe,oe]),xe}var ll=b.createContext(null),jl={react:"^16.8.5","react-dom":"^16.8.5"},Ii=/(\d+)\.(\d+)\.(\d+)/,cl=function(ae){var oe=Ii.exec(ae);oe==null&&Ue(!1);var ge=Number(oe[1]),xe=Number(oe[2]),Fe=Number(oe[3]);return{major:ge,minor:xe,patch:Fe,raw:ae}},Bl=function(ae,oe){return oe.major>ae.major?!0:oe.major<ae.major?!1:oe.minor>ae.minor?!0:oe.minor<ae.minor?!1:oe.patch>=ae.patch},Gl=function(te,ae){var oe=cl(te),ge=cl(ae);Bl(oe,ge)},No=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,Si=function(te){var ae=te.doctype;ae&&(ae.name.toLowerCase(),ae.publicId)};function $i(te){}function Zi(te,ae){}function hl(){Zi(function(){Gl(jl.react,b.version),Si(document)},[])}function ul(te){var ae=(0,b.useRef)(te);return(0,b.useEffect)(function(){ae.current=te}),ae}function sl(){var te=null;function ae(){return!!te}function oe(Re){return Re===te}function ge(Re){te&&Ue(!1);var _e={abandon:Re};return te=_e,_e}function xe(){te||Ue(!1),te=null}function Fe(){te&&(te.abandon(),xe())}return{isClaimed:ae,isActive:oe,claim:ge,release:xe,tryAbandon:Fe}}var wl=9,Rl=13,ml=27,qi=32,Wl=33,Jo=34,vu=35,pu=36,Kl=37,gu=38,ua=39,er=40,Ho,uo=(Ho={},Ho[Rl]=!0,Ho[wl]=!0,Ho),Fo=function(te){uo[te.keyCode]&&te.preventDefault()},Xo=function(){var te="visibilitychange";if(typeof document=="undefined")return te;var ae=[te,"ms"+te,"webkit"+te,"moz"+te,"o"+te],oe=gr(ae,function(ge){return"on"+ge in document});return oe||te}(),Vi=0,Di=5;function fl(te,ae){return Math.abs(ae.x-te.x)>=Di||Math.abs(ae.y-te.y)>=Di}var el={type:"IDLE"};function Ml(te){var ae=te.cancel,oe=te.completed,ge=te.getPhase,xe=te.setPhase;return[{eventName:"mousemove",fn:function(Re){var _e=Re.button,bt=Re.clientX,Tt=Re.clientY;if(_e===Vi){var Mt={x:bt,y:Tt},Dt=ge();if(Dt.type==="DRAGGING"){Re.preventDefault(),Dt.actions.move(Mt);return}Dt.type!=="PENDING"&&Ue(!1);var At=Dt.point;if(fl(At,Mt)){Re.preventDefault();var Jt=Dt.actions.fluidLift(Mt);xe({type:"DRAGGING",actions:Jt})}}}},{eventName:"mouseup",fn:function(Re){var _e=ge();if(_e.type!=="DRAGGING"){ae();return}Re.preventDefault(),_e.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(Re){ge().type==="DRAGGING"&&Re.preventDefault(),ae()}},{eventName:"keydown",fn:function(Re){var _e=ge();if(_e.type==="PENDING"){ae();return}if(Re.keyCode===ml){Re.preventDefault(),ae();return}Fo(Re)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ge().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(Re){var _e=ge();if(_e.type==="IDLE"&&Ue(!1),_e.actions.shouldRespectForcePress()){ae();return}Re.preventDefault()}},{eventName:Xo,fn:ae}]}function ou(te){var ae=(0,b.useRef)(el),oe=(0,b.useRef)(Pa),ge=wt(function(){return{eventName:"mousedown",fn:function(Dt){if(!Dt.defaultPrevented&&Dt.button===Vi&&!(Dt.ctrlKey||Dt.metaKey||Dt.shiftKey||Dt.altKey)){var At=te.findClosestDraggableId(Dt);if(At){var Jt=te.tryGetLock(At,Re,{sourceEvent:Dt});if(Jt){Dt.preventDefault();var $n={x:Dt.clientX,y:Dt.clientY};oe.current(),Tt(Jt,$n)}}}}}},[te]),xe=wt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Dt){if(!Dt.defaultPrevented){var At=te.findClosestDraggableId(Dt);if(At){var Jt=te.findOptionsForDraggable(At);Jt&&(Jt.shouldRespectForcePress||te.canGetLock(At)&&Dt.preventDefault())}}}}},[te]),Fe=kt(function(){var Dt={passive:!1,capture:!0};oe.current=lr(window,[xe,ge],Dt)},[xe,ge]),Re=kt(function(){var Mt=ae.current;Mt.type!=="IDLE"&&(ae.current=el,oe.current(),Fe())},[Fe]),_e=kt(function(){var Mt=ae.current;Re(),Mt.type==="DRAGGING"&&Mt.actions.cancel({shouldBlockNextClick:!0}),Mt.type==="PENDING"&&Mt.actions.abort()},[Re]),bt=kt(function(){var Dt={capture:!0,passive:!1},At=Ml({cancel:_e,completed:Re,getPhase:function(){return ae.current},setPhase:function($n){ae.current=$n}});oe.current=lr(window,At,Dt)},[_e,Re]),Tt=kt(function(Dt,At){ae.current.type!=="IDLE"&&Ue(!1),ae.current={type:"PENDING",point:At,actions:Dt},bt()},[bt]);cr(function(){return Fe(),function(){oe.current()}},[Fe])}var ei;function Hi(){}var Dl=(ei={},ei[Jo]=!0,ei[Wl]=!0,ei[pu]=!0,ei[vu]=!0,ei);function Sl(te,ae){function oe(){ae(),te.cancel()}function ge(){ae(),te.drop()}return[{eventName:"keydown",fn:function(Fe){if(Fe.keyCode===ml){Fe.preventDefault(),oe();return}if(Fe.keyCode===qi){Fe.preventDefault(),ge();return}if(Fe.keyCode===er){Fe.preventDefault(),te.moveDown();return}if(Fe.keyCode===gu){Fe.preventDefault(),te.moveUp();return}if(Fe.keyCode===ua){Fe.preventDefault(),te.moveRight();return}if(Fe.keyCode===Kl){Fe.preventDefault(),te.moveLeft();return}if(Dl[Fe.keyCode]){Fe.preventDefault();return}Fo(Fe)}},{eventName:"mousedown",fn:oe},{eventName:"mouseup",fn:oe},{eventName:"click",fn:oe},{eventName:"touchstart",fn:oe},{eventName:"resize",fn:oe},{eventName:"wheel",fn:oe,options:{passive:!0}},{eventName:Xo,fn:oe}]}function Vl(te){var ae=(0,b.useRef)(Hi),oe=wt(function(){return{eventName:"keydown",fn:function(Fe){if(Fe.defaultPrevented||Fe.keyCode!==qi)return;var Re=te.findClosestDraggableId(Fe);if(!Re)return;var _e=te.tryGetLock(Re,Mt,{sourceEvent:Fe});if(!_e)return;Fe.preventDefault();var bt=!0,Tt=_e.snapLift();ae.current();function Mt(){bt||Ue(!1),bt=!1,ae.current(),ge()}ae.current=lr(window,Sl(Tt,Mt),{capture:!0,passive:!1})}}},[te]),ge=kt(function(){var Fe={passive:!1,capture:!0};ae.current=lr(window,[oe],Fe)},[oe]);cr(function(){return ge(),function(){ae.current()}},[ge])}var kl={type:"IDLE"},Ku=120,Vu=.15;function $u(te){var ae=te.cancel,oe=te.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(xe){xe.preventDefault()}},{eventName:"keydown",fn:function(xe){if(oe().type!=="DRAGGING"){ae();return}xe.keyCode===ml&&xe.preventDefault(),ae()}},{eventName:Xo,fn:ae}]}function hu(te){var ae=te.cancel,oe=te.completed,ge=te.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Re.hasMoved=!0;var _e=Fe.touches[0],bt=_e.clientX,Tt=_e.clientY,Mt={x:bt,y:Tt};Fe.preventDefault(),Re.actions.move(Mt)}},{eventName:"touchend",fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Fe.preventDefault(),Re.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Fe){if(ge().type!=="DRAGGING"){ae();return}Fe.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Fe){var Re=ge();Re.type==="IDLE"&&Ue(!1);var _e=Fe.touches[0];if(_e){var bt=_e.force>=Vu;if(bt){var Tt=Re.actions.shouldRespectForcePress();if(Re.type==="PENDING"){Tt&&ae();return}if(Tt){if(Re.hasMoved){Fe.preventDefault();return}ae();return}Fe.preventDefault()}}}},{eventName:Xo,fn:ae}]}function Es(te){var ae=(0,b.useRef)(kl),oe=(0,b.useRef)(Pa),ge=kt(function(){return ae.current},[]),xe=kt(function(Jt){ae.current=Jt},[]),Fe=wt(function(){return{eventName:"touchstart",fn:function(Jt){if(!Jt.defaultPrevented){var $n=te.findClosestDraggableId(Jt);if($n){var ir=te.tryGetLock($n,_e,{sourceEvent:Jt});if(ir){var mr=Jt.touches[0],hr=mr.clientX,Vr=mr.clientY,ro={x:hr,y:Vr};oe.current(),Dt(ir,ro)}}}}}},[te]),Re=kt(function(){var Jt={capture:!0,passive:!1};oe.current=lr(window,[Fe],Jt)},[Fe]),_e=kt(function(){var At=ae.current;At.type!=="IDLE"&&(At.type==="PENDING"&&clearTimeout(At.longPressTimerId),xe(kl),oe.current(),Re())},[Re,xe]),bt=kt(function(){var At=ae.current;_e(),At.type==="DRAGGING"&&At.actions.cancel({shouldBlockNextClick:!0}),At.type==="PENDING"&&At.actions.abort()},[_e]),Tt=kt(function(){var Jt={capture:!0,passive:!1},$n={cancel:bt,completed:_e,getPhase:ge},ir=lr(window,hu($n),Jt),mr=lr(window,$u($n),Jt);oe.current=function(){ir(),mr()}},[bt,ge,_e]),Mt=kt(function(){var Jt=ge();Jt.type!=="PENDING"&&Ue(!1);var $n=Jt.actions.fluidLift(Jt.point);xe({type:"DRAGGING",actions:$n,hasMoved:!1})},[ge,xe]),Dt=kt(function(Jt,$n){ge().type!=="IDLE"&&Ue(!1);var ir=setTimeout(Mt,Ku);xe({type:"PENDING",point:$n,actions:Jt,longPressTimerId:ir}),Tt()},[Tt,ge,xe,Mt]);cr(function(){return Re(),function(){oe.current();var $n=ge();$n.type==="PENDING"&&(clearTimeout($n.longPressTimerId),xe(kl))}},[ge,Re,xe]),cr(function(){var Jt=lr(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Jt},[])}function vs(te){}var ds={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Va(te,ae){if(ae==null)return!1;var oe=!!ds[ae.tagName.toLowerCase()];if(oe)return!0;var ge=ae.getAttribute("contenteditable");return ge==="true"||ge===""?!0:ae===te?!1:Va(te,ae.parentElement)}function io(te,ae){var oe=ae.target;return ao(oe)?Va(te,oe):!1}var Uo=function(te){return Jn(te.getBoundingClientRect()).center};function ci(te){return te instanceof Cr(te).Element}var ti=function(){var te="matches";if(typeof document=="undefined")return te;var ae=[te,"msMatchesSelector","webkitMatchesSelector"],oe=gr(ae,function(ge){return ge in Element.prototype});return oe||te}();function jo(te,ae){return te==null?null:te[ti](ae)?te:jo(te.parentElement,ae)}function Oi(te,ae){return te.closest?te.closest(ae):jo(te,ae)}function Gi(te){return"["+ba.contextId+'="'+te+'"]'}function Cl(te,ae){var oe=ae.target;if(!ci(oe))return null;var ge=Gi(te),xe=Oi(oe,ge);return!xe||!ao(xe)?null:xe}function $l(te,ae){var oe=Cl(te,ae);return oe?oe.getAttribute(ba.draggableId):null}function Su(te,ae){var oe="["+ta.contextId+'="'+te+'"]',ge=eo(document.querySelectorAll(oe)),xe=gr(ge,function(Fe){return Fe.getAttribute(ta.id)===ae});return!xe||!ao(xe)?null:xe}function Ol(te){te.preventDefault()}function Ul(te){var ae=te.expected,oe=te.phase,ge=te.isLockActive,xe=te.shouldWarn;return!(!ge()||ae!==oe)}function Eu(te){var ae=te.lockAPI,oe=te.store,ge=te.registry,xe=te.draggableId;if(ae.isClaimed())return!1;var Fe=ge.draggable.findById(xe);return!(!Fe||!Fe.options.isEnabled||!vo(oe.getState(),xe))}function Du(te){var ae=te.lockAPI,oe=te.contextId,ge=te.store,xe=te.registry,Fe=te.draggableId,Re=te.forceSensorStop,_e=te.sourceEvent,bt=Eu({lockAPI:ae,store:ge,registry:xe,draggableId:Fe});if(!bt)return null;var Tt=xe.draggable.getById(Fe),Mt=Su(oe,Tt.descriptor.id);if(!Mt||_e&&!Tt.options.canDragInteractiveElements&&io(Mt,_e))return null;var Dt=ae.claim(Re||Pa),At="PRE_DRAG";function Jt(){return Tt.options.shouldRespectForcePress}function $n(){return ae.isActive(Dt)}function ir(ni,Ai){Ul({expected:ni,phase:At,isLockActive:$n,shouldWarn:!0})&&ge.dispatch(Ai())}var mr=ir.bind(null,"DRAGGING");function hr(ni){function Ai(){ae.release(),At="COMPLETED"}At!=="PRE_DRAG"&&(Ai(),At!=="PRE_DRAG"&&Ue(!1)),ge.dispatch(Se(ni.liftActionArgs)),At="DRAGGING";function vl(ki,pl){if(pl===void 0&&(pl={shouldBlockNextClick:!1}),ni.cleanup(),pl.shouldBlockNextClick){var Ll=lr(window,[{eventName:"click",fn:Ol,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Ll)}Ai(),ge.dispatch(Br({reason:ki}))}return(0,Ne.Z)({isActive:function(){return Ul({expected:"DRAGGING",phase:At,isLockActive:$n,shouldWarn:!1})},shouldRespectForcePress:Jt,drop:function(pl){return vl("DROP",pl)},cancel:function(pl){return vl("CANCEL",pl)}},ni.actions)}function Vr(ni){var Ai=wn(function(ki){mr(function(){return Tn({client:ki})})}),vl=hr({liftActionArgs:{id:Fe,clientSelection:ni,movementMode:"FLUID"},cleanup:function(){return Ai.cancel()},actions:{move:Ai}});return(0,Ne.Z)({},vl,{move:Ai})}function ro(){var ni={moveUp:function(){return mr(ga)},moveRight:function(){return mr(Ba)},moveDown:function(){return mr(mn)},moveLeft:function(){return mr(Ia)}};return hr({liftActionArgs:{id:Fe,clientSelection:Uo(Mt),movementMode:"SNAP"},cleanup:Pa,actions:ni})}function co(){var ni=Ul({expected:"PRE_DRAG",phase:At,isLockActive:$n,shouldWarn:!0});ni&&ae.release()}var ui={isActive:function(){return Ul({expected:"PRE_DRAG",phase:At,isLockActive:$n,shouldWarn:!1})},shouldRespectForcePress:Jt,fluidLift:Vr,snapLift:ro,abort:co};return ui}var ps=[ou,Vl,Es];function hs(te){var ae=te.contextId,oe=te.store,ge=te.registry,xe=te.customSensors,Fe=te.enableDefaultSensors,Re=[].concat(Fe?ps:[],xe||[]),_e=(0,b.useState)(function(){return sl()})[0],bt=kt(function(Vr,ro){Vr.isDragging&&!ro.isDragging&&_e.tryAbandon()},[_e]);cr(function(){var Vr=oe.getState(),ro=oe.subscribe(function(){var co=oe.getState();bt(Vr,co),Vr=co});return ro},[_e,oe,bt]),cr(function(){return _e.tryAbandon},[_e.tryAbandon]);var Tt=kt(function(hr){return Eu({lockAPI:_e,registry:ge,store:oe,draggableId:hr})},[_e,ge,oe]),Mt=kt(function(hr,Vr,ro){return Du({lockAPI:_e,registry:ge,contextId:ae,store:oe,draggableId:hr,forceSensorStop:Vr,sourceEvent:ro&&ro.sourceEvent?ro.sourceEvent:null})},[ae,_e,ge,oe]),Dt=kt(function(hr){return $l(ae,hr)},[ae]),At=kt(function(hr){var Vr=ge.draggable.findById(hr);return Vr?Vr.options:null},[ge.draggable]),Jt=kt(function(){_e.isClaimed()&&(_e.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(kn()))},[_e,oe]),$n=kt(_e.isClaimed,[_e]),ir=wt(function(){return{canGetLock:Tt,tryGetLock:Mt,findClosestDraggableId:Dt,findOptionsForDraggable:At,tryReleaseLock:Jt,isLockClaimed:$n}},[Tt,Mt,Dt,At,Jt,$n]);vs(Re);for(var mr=0;mr<Re.length;mr++)Re[mr](ir)}var Ei=function(ae){return{onBeforeCapture:ae.onBeforeCapture,onBeforeDragStart:ae.onBeforeDragStart,onDragStart:ae.onDragStart,onDragEnd:ae.onDragEnd,onDragUpdate:ae.onDragUpdate}};function Jr(te){return te.current||Ue(!1),te.current}function Io(te){var ae=te.contextId,oe=te.setCallbacks,ge=te.sensors,xe=te.nonce,Fe=te.dragHandleUsageInstructions,Re=(0,b.useRef)(null);hl();var _e=ul(te),bt=kt(function(){return Ei(_e.current)},[_e]),Tt=xo(ae),Mt=il({contextId:ae,text:Fe}),Dt=Co(ae,xe),At=kt(function(ki){Jr(Re).dispatch(ki)},[]),Jt=wt(function(){return(0,Ze.DE)({publishWhileDragging:tt,updateDroppableScroll:qt,updateDroppableIsEnabled:Kt,updateDroppableIsCombineEnabled:Zn,collectionStarting:it},At)},[At]),$n=pr(),ir=wt(function(){return Mr($n,Jt)},[$n,Jt]),mr=wt(function(){return ra((0,Ne.Z)({scrollWindow:Bo,scrollDroppable:ir.scrollDroppable},(0,Ze.DE)({move:Tn},At)))},[ir.scrollDroppable,At]),hr=hi(ae),Vr=wt(function(){return zr({announce:Tt,autoScroller:mr,dimensionMarshal:ir,focusMarshal:hr,getResponders:bt,styleMarshal:Dt})},[Tt,mr,ir,hr,bt,Dt]);Re.current=Vr;var ro=kt(function(){var ki=Jr(Re),pl=ki.getState();pl.phase!=="IDLE"&&ki.dispatch(kn())},[]),co=kt(function(){var ki=Jr(Re).getState();return ki.isDragging||ki.phase==="DROP_ANIMATING"},[]),ui=wt(function(){return{isDragging:co,tryAbort:ro}},[co,ro]);oe(ui);var ni=kt(function(ki){return vo(Jr(Re).getState(),ki)},[]),Ai=kt(function(){return au(Jr(Re).getState())},[]),vl=wt(function(){return{marshal:ir,focus:hr,contextId:ae,canLift:ni,isMovementAllowed:Ai,dragHandleUsageInstructionsId:Mt,registry:$n}},[ae,ir,Mt,hr,ni,Ai,$n]);return hs({contextId:ae,store:Vr,registry:$n,customSensors:ge,enableDefaultSensors:te.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return ro},[ro]),b.createElement(ll.Provider,{value:vl},b.createElement(x,{context:po,store:Vr},te.children))}var Pi=0;function Yi(){Pi=0}function Pu(){return wt(function(){return""+Pi++},[])}function Ql(){Yi(),Ci()}function iu(te){var ae=Pu(),oe=te.dragHandleUsageInstructions||En.dragHandleUsageInstructions;return b.createElement(bn,null,function(ge){return b.createElement(Io,{nonce:te.nonce,contextId:ae,setCallbacks:ge,dragHandleUsageInstructions:oe,enableDefaultSensors:te.enableDefaultSensors,sensors:te.sensors,onBeforeCapture:te.onBeforeCapture,onBeforeDragStart:te.onBeforeDragStart,onDragStart:te.onDragStart,onDragUpdate:te.onDragUpdate,onDragEnd:te.onDragEnd},te.children)})}var ql=function(ae){return function(oe){return ae===oe}},cs=ql("scroll"),Uu=ql("auto"),lu=ql("visible"),Hs=function(ae,oe){return oe(ae.overflowX)||oe(ae.overflowY)},ad=function(ae,oe){return oe(ae.overflowX)&&oe(ae.overflowY)},js=function(ae){var oe=window.getComputedStyle(ae),ge={overflowX:oe.overflowX,overflowY:oe.overflowY};return Hs(ge,cs)||Hs(ge,Uu)},rd=function(){return!1;var ae,oe,ge,xe},Gs=function te(ae){return ae==null?null:ae===document.body?rd()?ae:null:ae===document.documentElement?null:js(ae)?ae:te(ae.parentElement)},Jd=function(te){if(te)var ae=Gs(te.parentElement)},Is=function(te){return{x:te.scrollLeft,y:te.scrollTop}},od=function te(ae){if(!ae)return!1;var oe=window.getComputedStyle(ae);return oe.position==="fixed"?!0:te(ae.parentElement)},id=function(te){var ae=Gs(te),oe=od(te);return{closestScrollable:ae,isFixedOnPage:oe}},ld=function(te){var ae=te.descriptor,oe=te.isEnabled,ge=te.isCombineEnabled,xe=te.isFixedOnPage,Fe=te.direction,Re=te.client,_e=te.page,bt=te.closest,Tt=function(){if(!bt)return null;var Jt=bt.scrollSize,$n=bt.client,ir=fr({scrollHeight:Jt.scrollHeight,scrollWidth:Jt.scrollWidth,height:$n.paddingBox.height,width:$n.paddingBox.width});return{pageMarginBox:bt.page.marginBox,frameClient:$n,scrollSize:Jt,shouldClipSubject:bt.shouldClipSubject,scroll:{initial:bt.scroll,current:bt.scroll,max:ir,diff:{value:dr,displacement:dr}}}}(),Mt=Fe==="vertical"?dl:gl,Dt=ho({page:_e,withPlaceholder:null,axis:Mt,frame:Tt}),At={descriptor:ae,isCombineEnabled:ge,isFixedOnPage:xe,axis:Mt,isEnabled:oe,client:Re,page:_e,frame:Tt,subject:Dt};return At},ud=function(ae,oe){var ge=xa(ae);if(!oe||ae!==oe)return ge;var xe=ge.paddingBox.top-oe.scrollTop,Fe=ge.paddingBox.left-oe.scrollLeft,Re=xe+oe.scrollHeight,_e=Fe+oe.scrollWidth,bt={top:xe,right:_e,bottom:Re,left:Fe},Tt=va(bt,ge.border),Mt=$a({borderBox:Tt,margin:ge.margin,border:ge.border,padding:ge.padding});return Mt},sd=function(te){var ae=te.ref,oe=te.descriptor,ge=te.env,xe=te.windowScroll,Fe=te.direction,Re=te.isDropDisabled,_e=te.isCombineEnabled,bt=te.shouldClipSubject,Tt=ge.closestScrollable,Mt=ud(ae,Tt),Dt=On(Mt,xe),At=function(){if(!Tt)return null;var $n=xa(Tt),ir={scrollHeight:Tt.scrollHeight,scrollWidth:Tt.scrollWidth};return{client:$n,page:On($n,xe),scroll:Is(Tt),scrollSize:ir,shouldClipSubject:bt}}(),Jt=ld({descriptor:oe,isEnabled:!Re,isCombineEnabled:_e,isFixedOnPage:ge.isFixedOnPage,direction:Fe,client:Mt,page:Dt,closest:At});return Jt},dd={passive:!1},cd={passive:!0},Ws=function(te){return te.shouldPublishImmediately?dd:cd};function Cs(te){var ae=(0,b.useContext)(te);return ae||Ue(!1),ae}var xs=function(ae){return ae&&ae.env.closestScrollable||null};function gd(te){var ae=(0,b.useRef)(null),oe=Cs(ll),ge=Mi("droppable"),xe=oe.registry,Fe=oe.marshal,Re=ul(te),_e=wt(function(){return{id:te.droppableId,type:te.type,mode:te.mode}},[te.droppableId,te.mode,te.type]),bt=(0,b.useRef)(_e),Tt=wt(function(){return Wt(function(co,ui){ae.current||Ue(!1);var ni={x:co,y:ui};Fe.updateDroppableScroll(_e.id,ni)})},[_e.id,Fe]),Mt=kt(function(){var co=ae.current;return!co||!co.env.closestScrollable?dr:Is(co.env.closestScrollable)},[]),Dt=kt(function(){var co=Mt();Tt(co.x,co.y)},[Mt,Tt]),At=wt(function(){return wn(Dt)},[Dt]),Jt=kt(function(){var co=ae.current,ui=xs(co);co&&ui||Ue(!1);var ni=co.scrollOptions;if(ni.shouldPublishImmediately){Dt();return}At()},[At,Dt]),$n=kt(function(co,ui){ae.current&&Ue(!1);var ni=Re.current,Ai=ni.getDroppableRef();Ai||Ue(!1);var vl=id(Ai),ki={ref:Ai,descriptor:_e,env:vl,scrollOptions:ui};ae.current=ki;var pl=sd({ref:Ai,descriptor:_e,env:vl,windowScroll:co,direction:ni.direction,isDropDisabled:ni.isDropDisabled,isCombineEnabled:ni.isCombineEnabled,shouldClipSubject:!ni.ignoreContainerClipping}),Ll=vl.closestScrollable;return Ll&&(Ll.setAttribute(Ka.contextId,oe.contextId),Ll.addEventListener("scroll",Jt,Ws(ki.scrollOptions))),pl},[oe.contextId,_e,Jt,Re]),ir=kt(function(){var co=ae.current,ui=xs(co);return co&&ui||Ue(!1),Is(ui)},[]),mr=kt(function(){var co=ae.current;co||Ue(!1);var ui=xs(co);ae.current=null,ui&&(At.cancel(),ui.removeAttribute(Ka.contextId),ui.removeEventListener("scroll",Jt,Ws(co.scrollOptions)))},[Jt,At]),hr=kt(function(co){var ui=ae.current;ui||Ue(!1);var ni=xs(ui);ni||Ue(!1),ni.scrollTop+=co.y,ni.scrollLeft+=co.x},[]),Vr=wt(function(){return{getDimensionAndWatchScroll:$n,getScrollWhileDragging:ir,dragStopped:mr,scroll:hr}},[mr,$n,ir,hr]),ro=wt(function(){return{uniqueId:ge,descriptor:_e,callbacks:Vr}},[Vr,_e,ge]);cr(function(){return bt.current=ro.descriptor,xe.droppable.register(ro),function(){ae.current&&mr(),xe.droppable.unregister(ro)}},[Vr,_e,mr,ro,Fe,xe.droppable]),cr(function(){ae.current&&Fe.updateDroppableIsEnabled(bt.current.id,!te.isDropDisabled)},[te.isDropDisabled,Fe]),cr(function(){ae.current&&Fe.updateDroppableIsCombineEnabled(bt.current.id,te.isCombineEnabled)},[te.isCombineEnabled,Fe])}function Os(){}var Ks={width:0,height:0,margin:Pr},md=function(ae){var oe=ae.isAnimatingOpenOnMount,ge=ae.placeholder,xe=ae.animate;return oe||xe==="close"?Ks:{height:ge.client.borderBox.height,width:ge.client.borderBox.width,margin:ge.client.margin}},fd=function(ae){var oe=ae.isAnimatingOpenOnMount,ge=ae.placeholder,xe=ae.animate,Fe=md({isAnimatingOpenOnMount:oe,placeholder:ge,animate:xe});return{display:ge.display,boxSizing:"border-box",width:Fe.width,height:Fe.height,marginTop:Fe.margin.top,marginRight:Fe.margin.right,marginBottom:Fe.margin.bottom,marginLeft:Fe.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:xe!=="none"?pi.placeholder:null}};function vd(te){var ae=(0,b.useRef)(null),oe=kt(function(){ae.current&&(clearTimeout(ae.current),ae.current=null)},[]),ge=te.animate,xe=te.onTransitionEnd,Fe=te.onClose,Re=te.contextId,_e=(0,b.useState)(te.animate==="open"),bt=_e[0],Tt=_e[1];(0,b.useEffect)(function(){return bt?ge!=="open"?(oe(),Tt(!1),Os):ae.current?Os:(ae.current=setTimeout(function(){ae.current=null,Tt(!1)}),oe):Os},[ge,bt,oe]);var Mt=kt(function(At){At.propertyName==="height"&&(xe(),ge==="close"&&Fe())},[ge,Fe,xe]),Dt=fd({isAnimatingOpenOnMount:bt,animate:te.animate,placeholder:te.placeholder});return b.createElement(te.placeholder.tagName,{style:Dt,"data-rbd-placeholder-context-id":Re,onTransitionEnd:Mt,ref:te.innerRef})}var pd=b.memo(vd),Ls=b.createContext(null);function Vs(te){te&&ao(te)||Ue(!1)}function Rs(te){return typeof te=="boolean"}function Ms(te,ae){ae.forEach(function(oe){return oe(te)})}var hd=[function(ae){var oe=ae.props;oe.droppableId||Ue(!1),typeof oe.droppableId!="string"&&Ue(!1)},function(ae){var oe=ae.props;Rs(oe.isDropDisabled)||Ue(!1),Rs(oe.isCombineEnabled)||Ue(!1),Rs(oe.ignoreContainerClipping)||Ue(!1)},function(ae){var oe=ae.getDroppableRef;Vs(oe())}],Sd=[function(ae){var oe=ae.props,ge=ae.getPlaceholderRef;if(oe.placeholder)var xe=ge()}],Ed=[function(ae){var oe=ae.props;oe.renderClone||Ue(!1)},function(ae){var oe=ae.getPlaceholderRef;oe()&&Ue(!1)}];function Pd(te){Zi(function(){Ms(te,hd),te.props.mode==="standard"&&Ms(te,Sd),te.props.mode==="virtual"&&Ms(te,Ed)})}var yd=function(te){Be(ae,te);function ae(){for(var ge,xe=arguments.length,Fe=new Array(xe),Re=0;Re<xe;Re++)Fe[Re]=arguments[Re];return ge=te.call.apply(te,[this].concat(Fe))||this,ge.state={isVisible:!!ge.props.on,data:ge.props.on,animate:ge.props.shouldAnimate&&ge.props.on?"open":"none"},ge.onClose=function(){ge.state.animate==="close"&&ge.setState({isVisible:!1})},ge}ae.getDerivedStateFromProps=function(xe,Fe){return xe.shouldAnimate?xe.on?{isVisible:!0,data:xe.on,animate:"open"}:Fe.isVisible?{isVisible:!0,data:Fe.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!xe.on,data:xe.on,animate:"none"}};var oe=ae.prototype;return oe.render=function(){if(!this.state.isVisible)return null;var xe={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(xe)},ae}(b.PureComponent),$s={dragging:5e3,dropAnimating:4500},bd=function(ae,oe){return oe?pi.drop(oe.duration):ae?pi.snap:pi.fluid},Cd=function(ae,oe){return ae?oe?zo.opacity.drop:zo.opacity.combining:null},xd=function(ae){return ae.forceShouldAnimate!=null?ae.forceShouldAnimate:ae.mode==="SNAP"};function Fd(te){var ae=te.dimension,oe=ae.client,ge=te.offset,xe=te.combineWith,Fe=te.dropping,Re=!!xe,_e=xd(te),bt=!!Fe,Tt=bt?oo.drop(ge,Re):oo.moveTo(ge),Mt={position:"fixed",top:oe.marginBox.top,left:oe.marginBox.left,boxSizing:"border-box",width:oe.borderBox.width,height:oe.borderBox.height,transition:bd(_e,Fe),transform:Tt,opacity:Cd(Re,bt),zIndex:bt?$s.dropAnimating:$s.dragging,pointerEvents:"none"};return Mt}function Bd(te){return{transform:oo.moveTo(te.offset),transition:te.shouldAnimateDisplacement?null:"none"}}function wd(te){return te.type==="DRAGGING"?Fd(te):Bd(te)}function Dd(te,ae,oe){oe===void 0&&(oe=dr);var ge=window.getComputedStyle(ae),xe=ae.getBoundingClientRect(),Fe=ia(xe,ge),Re=On(Fe,oe),_e={client:Fe,tagName:ae.tagName.toLowerCase(),display:ge.display},bt={x:Fe.marginBox.width,y:Fe.marginBox.height},Tt={descriptor:te,placeholder:_e,displaceBy:bt,client:Fe,page:Re};return Tt}function Ad(te){var ae=Mi("draggable"),oe=te.descriptor,ge=te.registry,xe=te.getDraggableRef,Fe=te.canDragInteractiveElements,Re=te.shouldRespectForcePress,_e=te.isEnabled,bt=wt(function(){return{canDragInteractiveElements:Fe,shouldRespectForcePress:Re,isEnabled:_e}},[Fe,_e,Re]),Tt=kt(function(Jt){var $n=xe();return $n||Ue(!1),Dd(oe,$n,Jt)},[oe,xe]),Mt=wt(function(){return{uniqueId:ae,descriptor:oe,options:bt,getDimension:Tt}},[oe,Tt,bt,ae]),Dt=(0,b.useRef)(Mt),At=(0,b.useRef)(!0);cr(function(){return ge.draggable.register(Dt.current),function(){return ge.draggable.unregister(Dt.current)}},[ge.draggable]),cr(function(){if(At.current){At.current=!1;return}var Jt=Dt.current;Dt.current=Mt,ge.draggable.update(Mt,Jt)},[Mt,ge.draggable])}function Nd(te,ae,oe){Zi(function(){function ge(Fe){return"Draggable[id: "+Fe+"]: "}var xe=te.draggableId;xe||Ue(!1),typeof xe!="string"&&Ue(!1),Go(te.index)||Ue(!1),te.mapped.type!=="DRAGGING"&&(Vs(oe()),te.isEnabled&&(Eo(ae,xe)||Ue(!1)))})}function Id(te){}function Od(te){te.preventDefault()}function Ld(te){var ae=(0,b.useRef)(null),oe=kt(function(ki){ae.current=ki},[]),ge=kt(function(){return ae.current},[]),xe=Cs(ll),Fe=xe.contextId,Re=xe.dragHandleUsageInstructionsId,_e=xe.registry,bt=Cs(Ls),Tt=bt.type,Mt=bt.droppableId,Dt=wt(function(){return{id:te.draggableId,index:te.index,type:Tt,droppableId:Mt}},[te.draggableId,te.index,Tt,Mt]),At=te.children,Jt=te.draggableId,$n=te.isEnabled,ir=te.shouldRespectForcePress,mr=te.canDragInteractiveElements,hr=te.isClone,Vr=te.mapped,ro=te.dropAnimationFinished;if(Nd(te,Fe,ge),Id(hr),!hr){var co=wt(function(){return{descriptor:Dt,registry:_e,getDraggableRef:ge,canDragInteractiveElements:mr,shouldRespectForcePress:ir,isEnabled:$n}},[Dt,_e,ge,mr,ir,$n]);Ad(co)}var ui=wt(function(){return $n?{tabIndex:0,role:"button","aria-describedby":Re,"data-rbd-drag-handle-draggable-id":Jt,"data-rbd-drag-handle-context-id":Fe,draggable:!1,onDragStart:Od}:null},[Fe,Re,Jt,$n]),ni=kt(function(ki){Vr.type==="DRAGGING"&&Vr.dropping&&ki.propertyName==="transform"&&ro()},[ro,Vr]),Ai=wt(function(){var ki=wd(Vr),pl=Vr.type==="DRAGGING"&&Vr.dropping?ni:null,Ll={innerRef:oe,draggableProps:{"data-rbd-draggable-context-id":Fe,"data-rbd-draggable-id":Jt,style:ki,onTransitionEnd:pl},dragHandleProps:ui};return Ll},[Fe,ui,Jt,Vr,ni,oe]),vl=wt(function(){return{draggableId:Dt.id,type:Dt.type,source:{index:Dt.index,droppableId:Dt.droppableId}}},[Dt.droppableId,Dt.id,Dt.index,Dt.type]);return At(Ai,Vr.snapshot,vl)}var Us=function(te,ae){return te===ae},Qs=function(te){var ae=te.combine,oe=te.destination;return oe?oe.droppableId:ae?ae.droppableId:null},Rd=function(ae){return ae.combine?ae.combine.draggableId:null},Md=function(ae){return ae.at&&ae.at.type==="COMBINE"?ae.at.combine.draggableId:null};function kd(){var te=Wt(function(xe,Fe){return{x:xe,y:Fe}}),ae=Wt(function(xe,Fe,Re,_e,bt){return{isDragging:!0,isClone:Fe,isDropAnimating:!!bt,dropAnimation:bt,mode:xe,draggingOver:Re,combineWith:_e,combineTargetFor:null}}),oe=Wt(function(xe,Fe,Re,_e,bt,Tt,Mt){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:bt,combineWith:Tt,mode:Fe,offset:xe,dimension:Re,forceShouldAnimate:Mt,snapshot:ae(Fe,_e,bt,Tt,null)}}}),ge=function(Fe,Re){if(Fe.isDragging){if(Fe.critical.draggable.id!==Re.draggableId)return null;var _e=Fe.current.client.offset,bt=Fe.dimensions.draggables[Re.draggableId],Tt=ji(Fe.impact),Mt=Md(Fe.impact),Dt=Fe.forceShouldAnimate;return oe(te(_e.x,_e.y),Fe.movementMode,bt,Re.isClone,Tt,Mt,Dt)}if(Fe.phase==="DROP_ANIMATING"){var At=Fe.completed;if(At.result.draggableId!==Re.draggableId)return null;var Jt=Re.isClone,$n=Fe.dimensions.draggables[Re.draggableId],ir=At.result,mr=ir.mode,hr=Qs(ir),Vr=Rd(ir),ro=Fe.dropDuration,co={duration:ro,curve:fo.drop,moveTo:Fe.newHomeClientOffset,opacity:Vr?zo.opacity.drop:null,scale:Vr?zo.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Fe.newHomeClientOffset,dimension:$n,dropping:co,draggingOver:hr,combineWith:Vr,mode:mr,forceShouldAnimate:null,snapshot:ae(mr,Jt,hr,Vr,co)}}}return null};return ge}function Ys(te){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:te,combineWith:null}}var Td={mapped:{type:"SECONDARY",offset:dr,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ys(null)}};function _d(){var te=Wt(function(Re,_e){return{x:Re,y:_e}}),ae=Wt(Ys),oe=Wt(function(Re,_e,bt){return _e===void 0&&(_e=null),{mapped:{type:"SECONDARY",offset:Re,combineTargetFor:_e,shouldAnimateDisplacement:bt,snapshot:ae(_e)}}}),ge=function(_e){return _e?oe(dr,_e,!0):null},xe=function(_e,bt,Tt,Mt){var Dt=Tt.displaced.visible[_e],At=!!(Mt.inVirtualList&&Mt.effected[_e]),Jt=ko(Tt),$n=Jt&&Jt.draggableId===_e?bt:null;if(!Dt){if(!At)return ge($n);if(Tt.displaced.invisible[_e])return null;var ir=ha(Mt.displacedBy.point),mr=te(ir.x,ir.y);return oe(mr,$n,!0)}if(At)return ge($n);var hr=Tt.displacedBy.point,Vr=te(hr.x,hr.y);return oe(Vr,$n,Dt.shouldAnimate)},Fe=function(_e,bt){if(_e.isDragging)return _e.critical.draggable.id===bt.draggableId?null:xe(bt.draggableId,_e.critical.draggable.id,_e.impact,_e.afterCritical);if(_e.phase==="DROP_ANIMATING"){var Tt=_e.completed;return Tt.result.draggableId===bt.draggableId?null:xe(bt.draggableId,Tt.result.draggableId,Tt.impact,Tt.afterCritical)}return null};return Fe}var Zd=function(){var ae=kd(),oe=_d(),ge=function(Fe,Re){return ae(Fe,Re)||oe(Fe,Re)||Td};return ge},zd={dropAnimationFinished:wr},Hd=Oe(Zd,zd,null,{context:po,pure:!0,areStatePropsEqual:Us})(Ld);function Js(te){var ae=Cs(Ls),oe=ae.isUsingCloneFor;return oe===te.draggableId&&!te.isClone?null:b.createElement(Hd,te)}function jd(te){var ae=typeof te.isDragDisabled=="boolean"?!te.isDragDisabled:!0,oe=!!te.disableInteractiveElementBlocking,ge=!!te.shouldRespectForcePress;return b.createElement(Js,(0,Ne.Z)({},te,{isClone:!1,isEnabled:ae,canDragInteractiveElements:oe,shouldRespectForcePress:ge}))}function Gd(te){var ae=(0,b.useContext)(ll);ae||Ue(!1);var oe=ae.contextId,ge=ae.isMovementAllowed,xe=(0,b.useRef)(null),Fe=(0,b.useRef)(null),Re=te.children,_e=te.droppableId,bt=te.type,Tt=te.mode,Mt=te.direction,Dt=te.ignoreContainerClipping,At=te.isDropDisabled,Jt=te.isCombineEnabled,$n=te.snapshot,ir=te.useClone,mr=te.updateViewportMaxScroll,hr=te.getContainerForClone,Vr=kt(function(){return xe.current},[]),ro=kt(function(Tl){xe.current=Tl},[]),co=kt(function(){return Fe.current},[]),ui=kt(function(Tl){Fe.current=Tl},[]);Pd({props:te,getDroppableRef:Vr,getPlaceholderRef:co});var ni=kt(function(){ge()&&mr({maxScroll:or()})},[ge,mr]);gd({droppableId:_e,type:bt,mode:Tt,direction:Mt,isDropDisabled:At,isCombineEnabled:Jt,ignoreContainerClipping:Dt,getDroppableRef:Vr});var Ai=b.createElement(yd,{on:te.placeholder,shouldAnimate:te.shouldAnimatePlaceholder},function(Tl){var Au=Tl.onClose,yu=Tl.data,uu=Tl.animate;return b.createElement(pd,{placeholder:yu,onClose:Au,innerRef:ui,animate:uu,contextId:oe,onTransitionEnd:ni})}),vl=wt(function(){return{innerRef:ro,placeholder:Ai,droppableProps:{"data-rbd-droppable-id":_e,"data-rbd-droppable-context-id":oe}}},[oe,_e,Ai,ro]),ki=ir?ir.dragging.draggableId:null,pl=wt(function(){return{droppableId:_e,type:bt,isUsingCloneFor:ki}},[_e,ki,bt]);function Ll(){if(!ir)return null;var Tl=ir.dragging,Au=ir.render,yu=b.createElement(Js,{draggableId:Tl.draggableId,index:Tl.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(uu,Nu){return Au(uu,Nu,Tl)});return yn.createPortal(yu,hr())}return b.createElement(Ls.Provider,{value:pl},Re(vl,$n),Ll())}var ks=function(ae,oe){return ae===oe.droppable.type},Xs=function(ae,oe){return oe.draggables[ae.draggable.id]},Wd=function(){var ae={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},oe=(0,Ne.Z)({},ae,{shouldAnimatePlaceholder:!1}),ge=Wt(function(Re){return{draggableId:Re.id,type:Re.type,source:{index:Re.index,droppableId:Re.droppableId}}}),xe=Wt(function(Re,_e,bt,Tt,Mt,Dt){var At=Mt.descriptor.id,Jt=Mt.descriptor.droppableId===Re;if(Jt){var $n=Dt?{render:Dt,dragging:ge(Mt.descriptor)}:null,ir={isDraggingOver:bt,draggingOverWith:bt?At:null,draggingFromThisWith:At,isUsingPlaceholder:!0};return{placeholder:Mt.placeholder,shouldAnimatePlaceholder:!1,snapshot:ir,useClone:$n}}if(!_e)return oe;if(!Tt)return ae;var mr={isDraggingOver:bt,draggingOverWith:At,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Mt.placeholder,shouldAnimatePlaceholder:!0,snapshot:mr,useClone:null}}),Fe=function(_e,bt){var Tt=bt.droppableId,Mt=bt.type,Dt=!bt.isDropDisabled,At=bt.renderClone;if(_e.isDragging){var Jt=_e.critical;if(!ks(Mt,Jt))return oe;var $n=Xs(Jt,_e.dimensions),ir=ji(_e.impact)===Tt;return xe(Tt,Dt,ir,ir,$n,At)}if(_e.phase==="DROP_ANIMATING"){var mr=_e.completed;if(!ks(Mt,mr.critical))return oe;var hr=Xs(mr.critical,_e.dimensions);return xe(Tt,Dt,Qs(mr.result)===Tt,ji(mr.impact)===Tt,hr,At)}if(_e.phase==="IDLE"&&_e.completed&&!_e.shouldFlush){var Vr=_e.completed;if(!ks(Mt,Vr.critical))return oe;var ro=ji(Vr.impact)===Tt,co=!!(Vr.impact.at&&Vr.impact.at.type==="COMBINE"),ui=Vr.critical.droppable.id===Tt;return ro?co?ae:oe:ui?ae:oe}return oe};return Fe},Kd={updateViewportMaxScroll:Ca};function Vd(){return document.body||Ue(!1),document.body}var $d={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Vd},qs=Oe(Wd,Kd,null,{context:po,pure:!0,areStatePropsEqual:Us})(Gd);qs.defaultProps=$d},38486:function(Qt,Gt){"use strict";var ee;var b=60103,de=60106,Be=60107,Ne=60108,Ze=60114,ke=60109,le=60110,st=60112,et=60113,Ve=60120,Ge=60115,Je=60116,Ye=60121,se=60122,E=60117,a=60129,x=60131;if(typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;b=y("react.element"),de=y("react.portal"),Be=y("react.fragment"),Ne=y("react.strict_mode"),Ze=y("react.profiler"),ke=y("react.provider"),le=y("react.context"),st=y("react.forward_ref"),et=y("react.suspense"),Ve=y("react.suspense_list"),Ge=y("react.memo"),Je=y("react.lazy"),Ye=y("react.block"),se=y("react.server.block"),E=y("react.fundamental"),a=y("react.debug_trace_mode"),x=y("react.legacy_hidden")}function z(qe){if(typeof qe=="object"&&qe!==null){var Ke=qe.$$typeof;switch(Ke){case b:switch(qe=qe.type,qe){case Be:case Ze:case Ne:case et:case Ve:return qe;default:switch(qe=qe&&qe.$$typeof,qe){case le:case st:case Je:case Ge:case ke:return qe;default:return Ke}}case de:return Ke}}}var ne=ke,re=b,ue=st,ie=Be,ve=Je,be=Ge,je=de,Ae=Ze,He=Ne,he=et;ee=le,ee=ne,ee=re,ee=ue,ee=ie,ee=ve,ee=be,ee=je,ee=Ae,ee=He,ee=he,ee=function(){return!1},ee=function(){return!1},Gt.isContextConsumer=function(qe){return z(qe)===le},ee=function(qe){return z(qe)===ke},ee=function(qe){return typeof qe=="object"&&qe!==null&&qe.$$typeof===b},ee=function(qe){return z(qe)===st},ee=function(qe){return z(qe)===Be},ee=function(qe){return z(qe)===Je},ee=function(qe){return z(qe)===Ge},ee=function(qe){return z(qe)===de},ee=function(qe){return z(qe)===Ze},ee=function(qe){return z(qe)===Ne},ee=function(qe){return z(qe)===et},ee=function(qe){return typeof qe=="string"||typeof qe=="function"||qe===Be||qe===Ze||qe===a||qe===Ne||qe===et||qe===Ve||qe===x||typeof qe=="object"&&qe!==null&&(qe.$$typeof===Je||qe.$$typeof===Ge||qe.$$typeof===ke||qe.$$typeof===le||qe.$$typeof===st||qe.$$typeof===E||qe.$$typeof===Ye||qe[0]===se)},ee=z},53410:function(Qt,Gt,ee){"use strict";Qt.exports=ee(38486)},32637:function(Qt,Gt,ee){"use strict";Qt.exports=ee.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(Qt){"use strict";Qt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},5623:function(Qt){"use strict";Qt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII="},96908:function(Qt){"use strict";Qt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua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