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__Paperlibrary__Add__index...

319 lines
1.2 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[3260],{89489:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},59477:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},26227:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},49198:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},41464:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},87169:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},52671:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},8657:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},56082:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},33853:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},12893:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},15075:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},32134:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},43531:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},38819:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return dt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ve,We){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:We,icon:Me}))},se=ue.forwardRef(Oe),dt=se},88010:function(Ut,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"}},43809:function(Ut,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"}},7761:function(Ut,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"}},84287:function(Ut,Gt,te){"use strict";var x=te(59301),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(ot,Ve,We)=>Ve in ot?ue(ot,Ve,{enumerable:!0,configurable:!0,writable:!0,value:We}):ot[Ve]=We,se=(ot,Ve)=>{for(var We in Ve||(Ve={}))Me.call(Ve,We)&&Oe(ot,We,Ve[We]);if(Be)for(var We of Be(Ve))Le.call(Ve,We)&&Oe(ot,We,Ve[We]);return ot};const dt=ot=>React.createElement("svg",se({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},ot),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+"},86087:function(Ut,Gt,te){"use strict";var x=te(59301),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(ot,Ve,We)=>Ve in ot?ue(ot,Ve,{enumerable:!0,configurable:!0,writable:!0,value:We}):ot[Ve]=We,se=(ot,Ve)=>{for(var We in Ve||(Ve={}))Me.call(Ve,We)&&Oe(ot,We,Ve[We]);if(Be)for(var We of Be(Ve))Le.call(Ve,We)&&Oe(ot,We,Ve[We]);return ot};const dt=ot=>React.createElement("svg",se({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},ot),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=="},74413:function(){"use strict";function Ut(le,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=le,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(Ut.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(Ut.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(Ut.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(Ut.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,y){var a=go.Shape._FigureParameters[le];return a?a[y]:null},go.Shape.setFigureParameter=function(le,y,a){if(!(a instanceof Ut))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 b=go.Shape._FigureParameters[le];b||(b=[],go.Shape._FigureParameters[le]=b),b[y]=a};var Gt=[];function te(le,y){var a=Gt.pop();return a===void 0?new go.Point(le,y):(a.x=le,a.y=y,a)}function x(){var le=Gt.pop();return le===void 0?new go.Point:le}function ue(le){Gt.push(le)}function Be(le,y,a,b,E,z,ne,re,ie){ie||(ie=new go.Point);var me=le-a,pe=E-ne,ye=NaN,Ge=NaN;if(me===0)if(pe===0)le===a&&(ye=le,Ge=y);else{var Ae=(z-re)/pe,Qe=z-Ae*E;ye=le,Ge=Ae*ye+Qe}else if(pe===0){var ve=(y-b)/me,Te=y-ve*le;ye=E,Ge=ve*ye+Te}else{var ve=(y-b)/me,Ae=(z-re)/pe,Te=y-ve*le,Qe=z-Ae*E;ye=(Qe-Te)/(ve-Ae),Ge=ve*ye+Te}return ie.x=ye,ie.y=Ge,ie}function Me(le,y,a,b,E,z,ne,re,ie,me,pe,ye,Ge,Ae){var Qe=1-ie,ve=ie,Te=le*Qe+a*ve,Ye=y*Qe+b*ve,bt=a*Qe+E*ve,De=b*Qe+z*ve,ut=E*Qe+ne*ve,Ft=z*Qe+re*ve,yt=Te*Qe+bt*ve,gt=Ye*Qe+De*ve,Xt=bt*Qe+ut*ve,vt=De*Qe+Ft*ve,an=yt*Qe+Xt*ve,En=gt*Qe+vt*ve;me.x=Te,me.y=Ye,pe.x=yt,pe.y=gt,ye.x=an,ye.y=En,Ge.x=Xt,Ge.y=vt,Ae.x=ut,Ae.y=Ft}var Le=new go.Spot(.156,.156),Oe=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ut("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*se,z=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,1,-E,-E)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=y,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y/2,b.startY=0,b.endX=y/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(le,y,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*y,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(le,y,a){var b=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=Le,E.spot2=Oe,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,se*y,0,y,(1-se)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,se*a,(1-se)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,se*a,se*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-se)*y,0,0,(1-se)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Ut("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*y;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-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,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Ut("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)?b=10:b<-y?b=-y:b>y&&(b=y);var E=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-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,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new Ut("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*y;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,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,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Ut("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)?b=20:b<-y?b=-y/2:b>y&&(b=y/2);var E=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,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,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new Ut("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)?b=10:b<-y?b=-y/2:b>y&&(b=y/2);var E=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}});var dt=[];function ot(){var le=dt.pop();return le===void 0?[]:le}function Ve(le){le.length=0,dt.push(le)}function We(le){for(var y=ot(),a=.5,b=.5,E=Math.PI*1.5,z=0,ne=0;ne<le;ne++)z=2*Math.PI/le*ne+E,y[ne]=new go.Point(b+a*Math.cos(z),b+a*Math.sin(z));return y.push(y[0]),y}function nt(le){var y=Xe(le),a=ot();a[0]=y[0];for(var b=1,E=1;b<y.length;b+=2,E+=3)a[E]=y[b],a[E+1]=y[b],a[E+2]=y[b+1];return Ve(y),a}function Xe(le){for(var y=We(le),a=ot(),b=Math.floor(y.length/2),E=y.length-1,z=le%2===0?2:1,ne=0;ne<E;ne++){var re=y[ne],ie=y[ne+1],me=y[(b+ne-1)%E],pe=y[(b+ne+z)%E];a[ne*2]=re,a[ne*2+1]=Be(re.x,re.y,me.x,me.y,ie.x,ie.y,pe.x,pe.y,new go.Point)}return a[a.length]=a[0],Ve(y),a}go.Shape.defineFigureGenerator("Pentagon",function(le,y,a){var b=We(5),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<5;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(le,y,a){var b=We(6),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<6;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(le,y,a){var b=We(7),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<7;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(le,y,a){var b=We(8),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<8;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(le,y,a){var b=We(9),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<9;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(le,y,a){var b=We(10),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(le,y,a){var b=We(12),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(le,y,a){var b=Xe(5),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(le,y,a){var b=Xe(6),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(le,y,a){var b=Xe(7),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<14;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(le,y,a){var b=Xe(8),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<16;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(le,y,a){var b=Xe(9),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<18;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(le,y,a){var b=Xe(10),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<20;ne++)z.add(new go.PathSegment(go.PathSegment.Line,b[ne].x*y,b[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),Ve(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(le,y,a){var b=nt(5),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*y,b[ne+2].y*a,b[ne].x*y,b[ne].y*a,b[ne+1].x*y,b[ne+1].y*a));return z.segments.last().close(),Ve(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(le,y,a){var b=nt(6),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*y,b[ne+2].y*a,b[ne].x*y,b[ne].y*a,b[ne+1].x*y,b[ne+1].y*a));return z.segments.last().close(),Ve(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(le,y,a){var b=nt(7),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*y,b[ne+2].y*a,b[ne].x*y,b[ne].y*a,b[ne+1].x*y,b[ne+1].y*a));return z.segments.last().close(),Ve(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(le,y,a){var b=nt(8),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*y,b[ne+2].y*a,b[ne].x*y,b[ne].y*a,b[ne+1].x*y,b[ne+1].y*a));return z.segments.last().close(),Ve(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(le,y,a){var b=nt(9),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*y,b[ne+2].y*a,b[ne].x*y,b[ne].y*a,b[ne+1].x*y,b[ne+1].y*a));return z.segments.last().close(),Ve(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(le,y,a){var b=nt(10),E=new go.Geometry,z=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(z);for(var ne=1;ne<b.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,b[ne+2].x*y,b[ne+2].y*a,b[ne].x*y,b[ne].y*a,b[ne+1].x*y,b[ne+1].y*a));return z.segments.last().close(),Ve(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new Ut("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Ut("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(le,y,a){var b=le?le.parameter1:NaN,E=le?le.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=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,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b<y/2&&E<a/2&&(ne.add(new go.PathSegment(go.PathSegment.Move,b,E)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a-E)),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,a-E)),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,E).close())),z.setSpots(0,0,1,1,b,E,-b,-E),z}),go.Shape.setFigureParameter("Ring",0,new Ut("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=y/2,z=new go.Geometry,ne=new go.PathFigure(y,y/2,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var re=Math.max(E-b,0);return re>0&&(ne.add(new go.PathSegment(go.PathSegment.Move,y/2+re,y/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,re,re).close())),z.spot1=Le,z.spot2=Oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(le,y,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new Ut("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ut("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,y,a){var b=le?le.parameter1:NaN,E=le?le.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var z=b%360;z<0&&(z+=360);var ne=E%360,re=Math.min(y,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(le,y,a){var b=se/Math.SQRT2*.5,E=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,z*a,y,(1-b)*a,(E+b)*y,(z+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ut("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,y)/2,z=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,a)).add(new go.PathSegment(go.PathSegment.Line,z-E,a)).add(new go.PathSegment(go.PathSegment.Line,z-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,ne-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ut("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,y)/2,z=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,a)).add(new go.PathSegment(go.PathSegment.Line,z-E,a)).add(new go.PathSegment(go.PathSegment.Line,z-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,ne-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ut("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,y,a){var b=le?le.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var z=y/2,ne=a/2,re=Math.atan2(a,y),ie=b-Math.min(Math.cos(re)*b/2,z),me=b-Math.min(Math.sin(re)*b/2,ne),E=new go.Geometry,pe=new go.PathFigure(ie,0,!0);return E.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),pe.add(new go.PathSegment(go.PathSegment.Line,y-ie,0)),pe.add(new go.PathSegment(go.PathSegment.Line,y,me)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,y,a-me)),pe.add(new go.PathSegment(go.PathSegment.Line,y-ie,a)),pe.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),pe.add(new go.PathSegment(go.PathSegment.Line,ie,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,a-me)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,me).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Ut("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,z=new go.PathFigure(.1*y,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Ut("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ut("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-b)*y,.25*a,Math.abs(1-b)*y,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,se*y,0,y,(.5-se/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+se/2)*a,se*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var z=.2,ne=.3,re=0,ie=z*se;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+z+re)*a,(.5-z+ne)*y,(.5+ie+re)*a,(.5-ie+ne)*y,(.5+z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*y,(.5+re)*a,(.5+ie+ne)*y,(.5+z+re)*a,(.5+z+ne)*y,(.5+ie+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-z+re)*a,(1-.5+z+ne)*y,(.5-ie+re)*a,(.5+ie+ne)*y,(.5-z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ie+ne)*y,(.5-z+re)*a,(.5-z+ne+.05)*y,(.5-ie+re-.02)*a)),z=.2,ne=0,re=-.3,ie=z*se,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*y,(.5+re)*a,(.5+ie+ne)*y,(.5+z+re)*a,(.5+z+ne)*y,(.5+ie+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-z+re)*a,(1-.5+z+ne)*y,(.5-ie+re)*a,(.5+ie+ne)*y,(.5-z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*y,(.5+re)*a,(.5-ie+ne)*y,(.5-z+re)*a,(.5-z+ne)*y,(.5-ie+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ie+ne)*y,(.5+z+re)*a,(.5-z+ne)*y,(.5+ie+re)*a,(.5-ie+ne)*y,(.5+z+re)*a)),z=.2,ne=-.3,re=0,ie=z*se,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-z+re)*a,(1-.5+z+ne-.05)*y,(.5-ie+re-.02)*a,(.5+ie+ne)*y,(.5-z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*y,(.5+re)*a,(.5-ie+ne)*y,(.5-z+re)*a,(.5-z+ne)*y,(.5-ie+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+z+re)*a,(.5-z+ne)*y,(.5+ie+re)*a,(.5-ie+ne)*y,(.5+z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ie+ne)*y,(.5+z+re)*a,(.5+z+ne)*y,(.5+ie+re)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var z=.1,ne=.5,re=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*y,re*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*ne,a*re,z*y,z*y).close()),E=new go.PathFigure(y*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),re=.75,E=new go.PathFigure((ne+z)*y,re*a,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ne,a*re,z*y,z*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(le,y,a){var b=.8535533905932737,E=.5*y,z=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,z,E,z)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,b*y,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure(ne*y,(re-z)*a);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),z=.4,E=se*.4;var me=x(),pe=x(),ye=x(),Ge=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.42,me,pe,ye,Ge,Ge);var Ae=x(),Qe=x(),ve=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.58,Ge,Ge,ve,Ae,Qe);var Te=x(),Ye=x(),bt=x();Me(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.42,Te,Ye,bt,Ge,Ge);var De=x(),ut=x(),Ft=x();return Me(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.58,Ge,Ge,Ft,De,ut),ie.add(new go.PathSegment(go.PathSegment.Move,Ft.x*y,Ft.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,De.x*y,De.y*a,ut.x*y,ut.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ye.x*y,ye.y*a,me.x*y,me.y*a,pe.x*y,pe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,Ft.x*y,Ft.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,bt.x*y,bt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,ve.x*y,ve.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,Ae.x*y,Ae.y*a,Qe.x*y,Qe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,bt.x*y,bt.y*a,Te.x*y,Te.y*a,Ye.x*y,Ye.y*a).close()),ue(me),ue(pe),ue(ye),ue(Ge),ue(Ae),ue(Qe),ue(ve),ue(Te),ue(Ye),ue(bt),ue(De),ue(ut),ue(Ft),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Ut("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>y&&(b=y);var E=(y-b)/2,z=E+b;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(le,y,a){var b=new go.Geometry,E=se*.4,z=.4,ne=.5,re=.5,ie=x(),me=x(),pe=x(),ye=x(),Ge=new go.PathFigure((ne-z)*y,re*a,!1);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.44,pe,ye,me,ie,ie),Ge.add(new go.PathSegment(go.PathSegment.Bezier,me.x*y,me.y*a,pe.x*y,pe.y*a,ye.x*y,ye.y*a));var Ae=te(me.x,me.y);Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.56,ie,ie,me,pe,ye);var Qe=te(me.x,me.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*y,Ae.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ae.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(Qe.x*.1+.9)*y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(Qe.x*.1+.9)*y,(Qe.y*.1+.05*.9)*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,Qe.x*y,Qe.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,pe.x*y,pe.y*a,ye.x*y,ye.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),z=.35,E=se*.35;var ve=new go.PathFigure(ne*y,(re-z)*a,!1);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a));var Te=new go.PathFigure((ne-z)*y,re*a,!1);return b.add(Te),ue(ie),ue(me),ue(pe),ue(ye),ue(Ae),ue(Qe),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(le,y,a){var b=new go.Geometry,E=.375,z=0,ne=-.125,re=E*se,ie=new go.PathFigure((.525+z)*y,(.5+E+ne)*a,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ne)*a,(.5+re+z)*y,(.5+E+ne)*a,(.5+E+z)*y,(.5+re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ne)*a,(1-.5+E+z)*y,(.5-re+ne)*a,(.5+re+z)*y,(.5-E+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ne)*a,(.5-re+z)*y,(.5-E+ne)*a,(.5-E+z)*y,(.5-re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*y,(.5+E+ne)*a,(.5-E+z)*y,(.5+re+ne)*a,(.5-re+z)*y,(.5+E+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,z=0,ne=-.125,re=E*se;var ie=new go.PathFigure((1-.5+E+z)*y,(.5+ne)*a,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ne)*a,(.5+E+z)*y,(.5+re+ne)*a,(.5+re+z)*y,(.5+E+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ne)*a,(.5-re+z)*y,(.5+E+ne)*a,(.5-E+z)*y,(.5+re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ne)*a,(.5-E+z)*y,(.5-re+ne)*a,(.5-re+z)*y,(.5-E+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ne)*a,(.5+re+z)*y,(.5-E+ne)*a,(1-.5+E+z)*y,(.5-re+ne)*a));var ie=new go.PathFigure((.525+z)*y,(.5+E+ne)*a,!1);return b.add(ie),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(le,y,a){var b=le?le.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(le,y,a){var b=le?le.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(le,y,a){var b=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(le,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ut("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ut("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=le?le.parameter2:NaN;isNaN(E)&&(E=.3);var z=(1-b)*y,ne=(.5-E/2)*a,re=(.5+E/2)*a,ie=new go.Geometry,me=new go.PathFigure(0,ne,!0);ie.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ne)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),me.add(new go.PathSegment(go.PathSegment.Line,z,a)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,ne/a);var pe=Be(0,re/a,1,re/a,z/y,1,1,.5,x());return ie.spot2=new go.Spot(pe.x,pe.y),ue(pe),ie}),go.Shape.setFigureParameter("Arrow2",0,new Ut("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ut("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=le?le.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var z=y-b,ne=(a-E)/2,re=ne+E,ie=new go.Geometry,me=new go.PathFigure(0,ne,!0);ie.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ne)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),me.add(new go.PathSegment(go.PathSegment.Line,z,a)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,ne/a);var pe=Be(0,re/a,1,re/a,z/y,1,1,.5,x());return ie.spot2=new go.Spot(pe.x,pe.y),ue(pe),ie}),go.Shape.defineFigureGenerator("Chevron",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ut("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,z=(.5+b/2)*a,ne=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ie=Be(0,.5,.3,0,0,E/a,.1,E/a,x());return ne.spot1=new go.Spot(ie.x,ie.y),ie=Be(.7,1,1,.5,0,z/a,1,z/a,ie),ne.spot2=new go.Spot(ie.x,ie.y),ue(ie),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ut("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ut("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=40);var E=le?le.parameter2:NaN;isNaN(E)&&(E=100);var z=(a-b)/2,ne=z+b,re=(a-E)/2,ie=re+E;(b>a||E>a)&&(E>b?(b=b*a/E,z=(a-b)/2,ne=z+b,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var me=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);me.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,re).close());var ye=Be(0,.5,.3,re/a,0,z/a,1,z/a,x());return me.spot1=new go.Spot(ye.x,ye.y),ye=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,ye),me.spot2=new go.Spot(ye.x,ye.y),ue(ye),me}),go.Shape.setFigureParameter("IBeamArrow",0,new Ut("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,z=(.5+b/2)*a,ne=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,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*y,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(0,E/a);var ie=Be(.7,1,1,.5,0,z/a,1,z/a,x());return ne.spot2=new go.Spot(ie.x,ie.y),ue(ie),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ut("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ut("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=40);var E=le?le.parameter2:NaN;isNaN(E)&&(E=100);var z=(a-b)/2,ne=z+b,re=(a-E)/2,ie=re+E;(b>a||E>a)&&(E>b?(b=b*a/E,z=(a-b)/2,ne=z+b,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var me=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);me.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,0,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,re).close()),me.spot1=new go.Spot(0,z/a);var ye=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,x());return me.spot2=new go.Spot(ye.x,ye.y),ue(ye),me}),go.Shape.setFigureParameter("Pointer",0,new Ut("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,z=new go.PathFigure(y,.5*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var ne=Be(.2,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(ne.x,ne.y),ue(ne),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Ut("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,z=new go.PathFigure(y,.5*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E.spot1=new go.Spot(b,.35);var ne=Be(0,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(ne.x,ne.y),ue(ne),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ut("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,z=(.5+b/2)*a,ne=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,.3);var ie=Be(.7,1,1,.5,0,z/a,1,z/a,x());return ne.spot2=new go.Spot(ie.x,ie.y),ue(ie),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ut("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,z=E+b;b>a&&(E=0,z=a);var ne=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,E/a);var ie=Be(.7,1,1,.5,0,z/a,1,z/a,x());return ne.spot2=new go.Spot(ie.x,ie.y),ue(ie),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Ut("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,z=new go.PathFigure(y,.5*a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,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,b*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.1,ne=new go.PathFigure(0,.9*a,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+z)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+z)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*y,a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var z=new go.PathFigure(0,.3*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(0,b,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*b,(.5-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+z)*y,0,1*y,se*b)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-se*b,(.5+z)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*y,1*a,0,a-se*b)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b));var re=new go.PathFigure(y,b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*b,1*y,2*b-se*b,(.5+z)*y,2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*y,2*b,0,2*b-se*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(0,a-b,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*b,(.5-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+z)*y,0,y,se*b)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-se*b,(.5+z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*y,a,0,a-se*b));var re=new go.PathFigure(0,a-b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*b,0,a-b-se*b,(.5-z)*y,a-2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,a-b,(.5+z)*y,a-2*b,y,a-b-se*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(b,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*b,0,y,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+z)*a,y-se*b,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*b,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,se*b,0));var re=new go.PathFigure(b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+se*b,0,2*b,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+z)*a,b+se*b,a)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(y-b,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*b,0,y,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+z)*a,y-se*b,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*b,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,se*b,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,0));var re=new go.PathFigure(y-b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,y-2*b,.5*a,y-b-se*b,0,y-2*b,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y-2*b,(.5+z)*a,y-b-se*b,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*y,.25*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(le,y,a){var b=new go.Geometry,E=.2,z=.1,ne=se*E,re=se*z,ie=.5,me=.1,pe=new go.PathFigure(ie*y,(me+z)*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-E)*y,me*a,(ie-ne)*y,(me+z)*a,(ie-E)*y,(me+re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-z)*a,(ie-E)*y,(me-re)*a,(ie-ne)*y,(me-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+E)*y,me*a,(ie+ne)*y,(me-z)*a,(ie+E)*y,(me-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+z)*a,(ie+E)*y,(me+re)*a,(ie+ne)*y,(me+z)*a));var ye=.05,Ge=se*ye;ie=.05,me=.25;var Ae=new go.PathFigure(.5*y,.2*a,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ie=.95,me=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ye)*y,me*a,(ie+Ge)*y,(me-ye)*a,(ie+ye)*y,(me-Ge)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),ye=.025,Ge=se*ye,ie=.825,me=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie+ye)*y,(me-Ge)*a,(ie+Ge)*y,(me-ye)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ye)*y,me*a,(ie-Ge)*y,(me-ye)*a,(ie-ye)*y,(me-Ge)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),ye=.05,Ge=se*ye,ie=.5,me=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie+ye)*y,(me-Ge)*a,(ie+Ge)*y,(me-ye)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ye)*y,me*a,(ie-Ge)*y,(me-ye)*a,(ie-ye)*y,(me-Ge)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),ye=.025,Ge=se*ye,ie=.175,me=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie+ye)*y,(me-Ge)*a,(ie+Ge)*y,(me-ye)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ye)*y,me*a,(ie-Ge)*y,(me-ye)*a,(ie-ye)*y,(me-Ge)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ye=.05,Ge=se*ye,ie=.05,me=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie-ye)*y,(me-Ge)*a,(ie-Ge)*y,(me-ye)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Ut("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,z=new go.PathFigure(y,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var z=new go.PathFigure(.5*y,.5*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("Database",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.1,ne=new go.PathFigure(y,.1*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+z)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,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*y,0,0,(.1-z)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-z)*a));var re=new go.PathFigure(y,.1*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+z)*a,(.5+E)*y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+z)*a,(.5+E)*y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+z)*a,(.5+E)*y,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+z)*a)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.1,ne=new go.PathFigure(y,.1*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+z)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,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*y,0,0,(.1-z)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-z)*a));var re=new go.PathFigure(y,.1*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+z)*a,(.5+E)*y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+z)*a,(.5+E)*y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+z)*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var z=se*.2,ne=new go.PathFigure(0,.2*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-z)*a,(.2-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+z)*y,0,y,(.2-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+z)*a,(.8+z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*y,a,0,(.8+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,E*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*y,.4*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var z=new go.PathFigure(y,.5*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a));var ne=new go.PathFigure(y,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(E*y,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,y,z*a)),b}),go.Shape.defineFigureGenerator("Junction",function(le,y,a){var b=new go.Geometry,E=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=se*.5,re=.5,ie=new go.PathFigure(y,re*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*y,a,y,(re+ne)*a,(re+ne)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-ne)*y,a,0,(re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*y,0,0,(re-ne)*a,(re-ne)*y,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,re*a,(re+ne)*y,0,y,(re-ne)*a));var me=new go.PathFigure((z+E)*y,(z+E)*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z*y,z*a)),me.add(new go.PathSegment(go.PathSegment.Move,z*y,(z+E)*a)),me.add(new go.PathSegment(go.PathSegment.Line,(z+E)*y,z*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var z=new go.PathFigure(.1*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=new go.PathFigure(.5*y,a,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-E)*y,a,0,(z+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,0,0,(z-E)*a,(z-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,z*a,(z+E)*y,0,y,(z-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*y,.9*a,y,(z+E)*a,(z+E)*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.7);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var z=new go.PathFigure(.1*y,.2*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var z=new go.PathFigure(.2*y,.1*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=1-E,ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var re=new go.PathFigure(.5*E*y,E*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=new go.PathFigure(y,z*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,y,(z+E)*a,(z+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-E)*y,a,0,(z+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,0,0,(z-E)*a,(z-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,z*a,(z+E)*y,0,y,(z-E)*a));var re=new go.PathFigure(y,.5*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-E)*y,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b}),go.Shape.defineFigureGenerator("Process",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(E*y,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var ne=new go.PathFigure(E*y,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(le,y,a){var b=new go.Geometry,E=se*.5,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=new go.PathFigure(y,z*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,y,(z+E)*a,(z+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-E)*y,a,0,(z+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,0,0,(z-E)*a,(z-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,z*a,(z+E)*y,0,y,(z-E)*a));var re=new go.PathFigure(y,z*a,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,z*a));var ie=new go.PathFigure(.8*y,.75*a,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(le,y,a){var b=new go.Geometry,E=se*.1,z=.1,ne=.9,re=.5,ie=new go.PathFigure(.8*y,.5*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var me=new go.PathFigure((ne+z)*y,re*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re-z)*a,(ne+z)*y,(re-E)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.4,ne=se*.1,re=.1,ie=.9,me=.5,pe=new go.PathFigure(.8*y,.5*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+z)*a,(.4+E)*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-z)*a));var ye=new go.PathFigure((ie+re)*y,me*a,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+re)*a,(ie+re)*y,(me+ne)*a,(ie+ne)*y,(me+re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y,me*a,(ie-ne)*y,(me+re)*a,(ie-re)*y,(me+ne)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-re)*a,(ie-re)*y,(me-ne)*a,(ie-ne)*y,(me-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y,me*a,(ie+ne)*y,(me-re)*a,(ie+re)*y,(me-ne)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=0,re=.5,ie=new go.PathFigure(.8*y,.5*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+z)*y,(re-E)*a,.7*y,(re-z)*a)),E=.1,z=se*.1,ne=.9,re=.5;var me=new go.PathFigure((ne-E)*y,re*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=0,re=.5,ie=new go.PathFigure(0,0,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+z+z)*y,(re-E)*a,.8*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(re+z)*a,(ne+z+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=.2,re=.5,ie=new go.PathFigure(.1*y,0,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var me=new go.PathFigure(.8*y,.5*a,!0);b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+z)*y,(re-E)*a,.7*y,(re-z)*a)),E=.1,z=se*.1,ne=.9,re=.5;var pe=new go.PathFigure((ne-E)*y,re*a,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=.2,re=.5,ie=new go.PathFigure(.1*y,0,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var me=new go.PathFigure(.2*y,0,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+z)*y,(re-E)*a,.9*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(le,y,a){var b=new go.Geometry,E=se*.1,z=.1,ne=.1,re=.5,ie=new go.PathFigure((ne-E*.5)*y,a,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,0,(ne-E)*y,a,(ne-z)*y,0)),ne=.3,ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+z)*y,0,(ne+E)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,0,(ne-E)*y,a,(ne-z)*y,0)),ne=.5,ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+z)*y,0,(ne+E)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,0,(ne-E)*y,a,(ne-z)*y,0)),ne=.7,ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+z)*y,0,(ne+E)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,0,(ne-E)*y,a,(ne-z)*y,0)),ne=.9,ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E*.5)*y,a,(ne+z)*y,0,(ne+E)*y,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure((ne-z)*y,re*a,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re-z)*a,(ne+z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*y,re*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*y,re*a,ne*y,(re-z)*a,ne*y,(re+z)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Diode",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(le,y,a){var b=new go.Geometry,E=y,z=a;y=y*.38,a=a*.6;var ne=se*.8,re=.8,ie=0,me=.5,pe=(E-y)/2,ye=(z-a)/2,Ge=new go.PathFigure(ie*y+pe,(me+re)*a+ye,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,me*a+ye,(ie-ne)*y+pe,(me+re)*a+ye,(ie-re)*y+pe,(me+ne)*a+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie-re)*y+pe,(me-ne)*a+ye,(ie-ne)*y+pe,(me-re)*a+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,me*a+ye,ie*y+pe,(me-re)*a+ye,(ie-re+ne*.5)*y+pe,(me-ne)*a+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie-re+ne*.5)*y+pe,(me+ne)*a+ye,ie*y+pe,(me+re)*a+ye).close()),ne=se*.4,re=.4,ie=.2,me=.5;var Ae=new go.PathFigure(ie*y+pe,(me+re)*a+ye,!0);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,me*a+ye,(ie-ne)*y+pe,(me+re)*a+ye,(ie-re)*y+pe,(me+ne)*a+ye)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie-re)*y+pe,(me-ne)*a+ye,(ie-ne)*y+pe,(me-re)*a+ye)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,me*a+ye,ie*y+pe,(me-re)*a+ye,(ie-re+ne*.5)*y+pe,(me-ne)*a+ye)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie-re+ne*.5)*y+pe,(me+ne)*a+ye,ie*y+pe,(me+re)*a+ye).close()),ne=se*.2,re=.2,ie=.5,me=.5;var Qe=new go.PathFigure((ie-re)*y+pe,me*a+ye,!0);b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie-re)*y+pe,(me-ne)*a+ye,(ie-ne)*y+pe,(me-re)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,me*a+ye,(ie+ne)*y+pe,(me-re)*a+ye,(ie+re)*y+pe,(me-ne)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie+re)*y+pe,(me+ne)*a+ye,(ie+ne)*y+pe,(me+re)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,me*a+ye,(ie-ne)*y+pe,(me+re)*a+ye,(ie-re)*y+pe,(me+ne)*a+ye)),ne=se*.4,re=.4,ie=.8,me=.5;var ve=new go.PathFigure(ie*y+pe,(me-re)*a+ye,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,me*a+ye,(ie+ne)*y+pe,(me-re)*a+ye,(ie+re)*y+pe,(me-ne)*a+ye)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie+re)*y+pe,(me+ne)*a+ye,(ie+ne)*y+pe,(me+re)*a+ye)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,me*a+ye,ie*y+pe,(me+re)*a+ye,(ie+re-ne*.5)*y+pe,(me+ne)*a+ye)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie+re-ne*.5)*y+pe,(me-ne)*a+ye,ie*y+pe,(me-re)*a+ye).close()),ne=se*.8,re=.8,ie=1,me=.5;var Te=new go.PathFigure(ie*y+pe,(me-re)*a+ye,!0);return b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,me*a+ye,(ie+ne)*y+pe,(me-re)*a+ye,(ie+re)*y+pe,(me-ne)*a+ye)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie+re)*y+pe,(me+ne)*a+ye,(ie+ne)*y+pe,(me+re)*a+ye)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,me*a+ye,ie*y+pe,(me+re)*a+ye,(ie+re-ne*.5)*y+pe,(me+ne)*a+ye)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie+re-ne*.5)*y+pe,(me-ne)*a+ye,ie*y+pe,(me-re)*a+ye).close()),b}),go.Shape.defineFigureGenerator("Email",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var z=new go.PathFigure(.1*y,a,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var ne=new go.PathFigure(.6*y,a,!0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var re=new go.PathFigure(0,.5*a,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(le,y,a){var b=new go.Geometry,E=se*.4,z=.4,ne=.5,re=.5,ie=x(),me=x(),pe=x(),ye=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.5,ie,ie,me,pe,ye);var Ge=te(me.x,me.y),Ae=new go.PathFigure(me.x*y,me.y*a,!0);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,pe.x*y,pe.y*a,ye.x*y,ye.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),Me(ne-z,re,ne-z,re-E,ne-E,re-z,ne,re-z,.5,pe,ye,me,ie,ie),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me.x*y,me.y*a,pe.x*y,pe.y*a,ye.x*y,ye.y*a)),E=se*.3,z=.3,Me(ne-z,re,ne-z,re-E,ne-E,re-z,ne,re-z,.5,pe,ye,me,ie,ie),Ae.add(new go.PathSegment(go.PathSegment.Line,me.x*y,me.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,ye.x*y,ye.y*a,pe.x*y,pe.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.5,ie,ie,me,pe,ye),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me.x*y,me.y*a,ye.x*y,ye.y*a,pe.x*y,pe.y*a).close());var Ae=new go.PathFigure(.45*y,0,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ue(ie),ue(me),ue(pe),ue(ye),ue(Ge),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function z(ne,re,ie){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*y,(.8+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*y,(.5+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*y,(.5+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*y,(.8+ie)*a).close())}return z(E,0,0),z(E,.4,0),z(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,y,a){var b=new go.Geometry,E=.5,z=0,ne=0,re=E*se,ie=.4*Math.SQRT2/2+.5,me=.5-.5*Math.SQRT2/2,pe=1,ye=.5,Ge=.5,Ae=0,Qe=new go.PathFigure(ie*y,(1-me)*a,!1);return b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,ye*a,pe*y,.7*a,pe*y,ye*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+z)*y,(Ae+z)*a,(.5+E+z)*y,(.5-re+z)*a,(.5+re+z)*y,(.5-E+z)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ne)*a,(.5-re+z)*y,(.5-E+ne)*a,(.5-E+z)*y,(.5-re+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*y,.9*a,(.5-E+z)*y,(.5+re+ne)*a,(.5-re+z)*y,.9*a)),Qe.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*y,.8*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*y,.9*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(y,a,!1);b.add(z);var ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var z=new go.PathFigure(.45*y,.73*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(.335*y,(1-.555)*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,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*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var ne=.5-.285,re=.5,ie=ne,me=Math.PI/4,pe=4*(1-Math.cos(me))/(3*Math.sin(me)),ye=pe*.5,Ge=ne,Ae=ne,Qe=pe*Ge,ve=pe*Ae;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-Ge)*y,ie*a,(re-(Qe+Ge)/2)*y,(ie+(Ae+ve)/2)*a,(re-Ge)*y,(ie+ve)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ie-Ae)*a,(re-Ge)*y,(ie-ve)*a,(re-Qe)*y,(ie-Ae)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+Ge)*y,ie*a,(re+Qe)*y,(ie-Ae)*a,(re+Ge)*y,(ie-ve)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(re+Ge)*y,(ie+ve)*a,(re+(Qe+Ge)/2)*y,(ie+(Ae+ve)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Te=new go.PathFigure(.2*y,a,!1);b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Ye=new go.PathFigure(.8*y,a,!1);return b.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.2*y,.2*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(y,a,!1);b.add(z);var ne=new go.PathFigure(.1*y,a,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var z=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,z*y,z*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var z=new go.PathFigure(.475*y,.2*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var ne=new go.PathFigure(.675*y,.575*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,y,a){var b=new go.Geometry,E=.5,z=se*.5,ne=new go.PathFigure(y,E*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+z)*a,(E+z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-z)*y,a,0,(E+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-z)*a,(E-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+z)*y,0,y,(E-z)*a));var re=new go.PathFigure(E*y,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),re.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var z=new go.PathFigure(0,.2*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.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 b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.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()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var z=new go.PathFigure(.15*y,.6*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(y,.8*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var ne=.1,re=se*.1,ie=.2,me=.9,pe=new go.PathFigure((ie-ne)*y,me*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ne)*a,(ie-ne)*y,(me-re)*a,(ie-re)*y,(me-ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,me*a,(ie+re)*y,(me-ne)*a,(ie+ne)*y,(me-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+ne)*a,(ie+ne)*y,(me+re)*a,(ie+re)*y,(me+ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,me*a,(ie-re)*y,(me+ne)*a,(ie-ne)*y,(me+re)*a).close()),ne=.1,re=se*.1,ie=.8,me=.9;var ye=new go.PathFigure((ie-ne)*y,me*a,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ne)*a,(ie-ne)*y,(me-re)*a,(ie-re)*y,(me-ne)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,me*a,(ie+re)*y,(me-ne)*a,(ie+ne)*y,(me-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+ne)*a,(ie+ne)*y,(me+re)*a,(ie+re)*y,(me+ne)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,me*a,(ie-re)*y,(me+ne)*a,(ie-ne)*y,(me+re)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*y,.8*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var re=new go.PathFigure(.5*y,.7*a,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ie=.1,me=se*.1,pe=.1,ye=.9,Ge=new go.PathFigure((pe-ie)*y,ye*a,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye-ie)*a,(pe-ie)*y,(ye-me)*a,(pe-me)*y,(ye-ie)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,ye*a,(pe+me)*y,(ye-ie)*a,(pe+ie)*y,(ye-me)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye+ie)*a,(pe+ie)*y,(ye+me)*a,(pe+me)*y,(ye+ie)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,ye*a,(pe-me)*y,(ye+ie)*a,(pe-ie)*y,(ye+me)*a)),ie=.1,me=se*.1,pe=.4,ye=.9;var Ae=new go.PathFigure((pe-ie)*y,ye*a,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye-ie)*a,(pe-ie)*y,(ye-me)*a,(pe-me)*y,(ye-ie)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,ye*a,(pe+me)*y,(ye-ie)*a,(pe+ie)*y,(ye-me)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye+ie)*a,(pe+ie)*y,(ye+me)*a,(pe+me)*y,(ye+ie)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,ye*a,(pe-me)*y,(ye+ie)*a,(pe-ie)*y,(ye+me)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var z=new go.PathFigure(.45*y,.7*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var pe=.05,ye=se*.05,Ge=.175,Ae=.95,re=new go.PathFigure((Ge-pe)*y,Ae*a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ae-pe)*a,(Ge-pe)*y,(Ae-ye)*a,(Ge-ye)*y,(Ae-pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+pe)*y,Ae*a,(Ge+ye)*y,(Ae-pe)*a,(Ge+pe)*y,(Ae-ye)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ae+pe)*a,(Ge+pe)*y,(Ae+ye)*a,(Ge+ye)*y,(Ae+pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-pe)*y,Ae*a,(Ge-ye)*y,(Ae+pe)*a,(Ge-pe)*y,(Ae+ye)*a));var pe=.05,ye=se*.05,Ge=.375,Ae=.95,ie=new go.PathFigure((Ge-pe)*y,Ae*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ae-pe)*a,(Ge-pe)*y,(Ae-ye)*a,(Ge-ye)*y,(Ae-pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+pe)*y,Ae*a,(Ge+ye)*y,(Ae-pe)*a,(Ge+pe)*y,(Ae-ye)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ae+pe)*a,(Ge+pe)*y,(Ae+ye)*a,(Ge+ye)*y,(Ae+pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-pe)*y,Ae*a,(Ge-ye)*y,(Ae+pe)*a,(Ge-pe)*y,(Ae+ye)*a));var pe=.05,ye=se*.05,Ge=.625,Ae=.95,me=new go.PathFigure((Ge-pe)*y,Ae*a,!0);b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ae-pe)*a,(Ge-pe)*y,(Ae-ye)*a,(Ge-ye)*y,(Ae-pe)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+pe)*y,Ae*a,(Ge+ye)*y,(Ae-pe)*a,(Ge+pe)*y,(Ae-ye)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ae+pe)*a,(Ge+pe)*y,(Ae+ye)*a,(Ge+ye)*y,(Ae+pe)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-pe)*y,Ae*a,(Ge-ye)*y,(Ae+pe)*a,(Ge-pe)*y,(Ae+ye)*a));var pe=.05,ye=se*.05,Ge=.825,Ae=.95,Qe=new go.PathFigure((Ge-pe)*y,Ae*a,!0);b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ae-pe)*a,(Ge-pe)*y,(Ae-ye)*a,(Ge-ye)*y,(Ae-pe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+pe)*y,Ae*a,(Ge+ye)*y,(Ae-pe)*a,(Ge+pe)*y,(Ae-ye)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ae+pe)*a,(Ge+pe)*y,(Ae+ye)*a,(Ge+ye)*y,(Ae+pe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-pe)*y,Ae*a,(Ge-ye)*y,(Ae+pe)*a,(Ge-pe)*y,(Ae+ye)*a).close());var ve=new go.PathFigure(0,a,!1);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(.15*y,a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var re=.05,ie=se*.05,me=.35,pe=.775,ye=new go.PathFigure((me-re)*y,pe*a,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(pe-re)*a,(me-re)*y,(pe-ie)*a,(me-ie)*y,(pe-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me+re)*y,pe*a,(me+ie)*y,(pe-re)*a,(me+re)*y,(pe-ie)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(pe+re)*a,(me+re)*y,(pe+ie)*a,(me+ie)*y,(pe+re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-re)*y,pe*a,(me-ie)*y,(pe+re)*a,(me-re)*y,(pe+ie)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Globe",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(le,y,a){var b=new go.Geometry,E=.3,z=se*.3,ne=.5,re=.7,ie=new go.PathFigure((ne-E)*y,re*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a));var me=new go.PathFigure(0,.7*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),b}),go.Shape.defineFigureGenerator("Battery",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var z=new go.PathFigure(0,.6*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(le,y,a){var b=new go.Geometry,E=.5,z=se*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-E)*y,re*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a));var me=new go.PathFigure(.15*y,.5*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(le,y,a){var b=new go.Geometry,E=.5,z=se*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-E)*y,re*a,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a).close()),E=.05,z=se*.05,ne=.5,re=.8;var me=new go.PathFigure((ne-E)*y,re*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a).close()),me.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),me.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*y,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*y,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var z=new go.PathFigure(.126*y,.85*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var ne=new go.PathFigure(.402*y,.85*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var re=new go.PathFigure(.678*y,.85*a,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ie=new go.PathFigure(.5*y,.1*a,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var z=new go.PathFigure(y*.204,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var ne=new go.PathFigure(y*.408,a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var re=new go.PathFigure(y*.612,a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ie=new go.PathFigure(y*.816,a,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var z=new go.PathFigure(y*.055,.07*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var ne=new go.PathFigure(y*.055,.13*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var re=new go.PathFigure(y*.055,.18*a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ie=new go.PathFigure(y*1,0,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(0,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var ne=new go.PathFigure(y*.11,a*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var re=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ie=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,y,a){var b=new go.Geometry,E=8,z=E*se,ne=new go.PathFigure(E,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-z,y-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,z,z,0).close());var re=new go.PathFigure(y*.83,0,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ie=new go.PathFigure(y*.83,a*1,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var me=new go.PathFigure(y*.78,a*.05,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),me.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),me.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*se,z=a*.8,ne=new go.Geometry,re=new go.PathFigure(b,0,!0);return ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)),re.add(new go.PathSegment(go.PathSegment.Line,y,z-b)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-b,z,y,z-E,y-E,z)),re.add(new go.PathSegment(go.PathSegment.Line,y*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,E,z,0,z-E)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(ne.spot1=new go.Spot(0,0,E,E),ne.spot2=new go.Spot(1,.8,-E,-E)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var z=new go.PathFigure(y*1,a*.55,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var z=new go.PathFigure(y*.1,a*.2,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var ne=new go.PathFigure(y*.28,a*.37,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(le,y,a){var b=new go.Geometry,E=15,z=E*se,ne=new go.PathFigure(y*.62,a*.475,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-z,y-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),z>1?(b.spot1=new go.Spot(0,0,z,z),b.spot2=new go.Spot(1,1,-z,-z)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var z=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-z)).close());var ne=new go.PathFigure(y*.4,a*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var z=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-z)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var z=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-z)).close());var ne=new go.PathFigure(y*.5,a*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var z=new go.PathFigure(y*.235,a*.28,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727: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 Ut={},Gt="5.0",te={},x=null,ue=!1,Be=!1,Me=null,Le=!1,Oe=null,se=null,dt=0;dt<arguments.length;dt++){var ot=arguments[dt];if(ot!==null)switch(typeof ot){case"number":Gt=ot.toFixed(1);break;case"string":ot.match(new RegExp("^[0-9]\\.[0-9]+$"))?Gt=ot:Me=ot;break;case"object":typeof ot.is3D!="undefined"?x=ot:te=ot;break;case"boolean":ue=ot,Be=!0;break}}x===null&&(x={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!Be&&(ue=!0)),Me!==null&&te.id===void 0&&(te.id=Me);var Ve="",We="",nt=!1,Xe=null,le=null,y=null,a=!1,b=null,E=null,z=null,ne=null,re=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var ie=function(tt){return parseFloat(tt)>4?parseFloat(tt):5};Ut.setHTML5Codebase=function(tt,et){se=tt,vt(tt,et)},Ut.setJavaCodebase=Ut.setJavaCodebaseVersion=Ut.isCompiledInstalled=Ut.setPreCompiledScriptPath=Ut.setPreCompiledResourcePath=function(){},Ut.setHTML5CodebaseVersion=function(tt,et){var qt=parseFloat(tt);if(qt!==NaN&&qt<5){console.log("The GeoGebra HTML5 codebase version "+qt+" is deprecated. Using version latest instead.");return}Oe=tt,Xt(tt,et)},Ut.getHTML5CodebaseVersion=function(){return le},Ut.getParameters=function(){return te},Ut.setFontsCSSURL=function(tt){ne=tt},Ut.setGiacJSURL=function(tt){},Ut.setJNLPFile=function(tt){Ve=tt},Ut.setJNLPBaseDir=function(tt){},Ut.inject=function(){function tt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var et="auto",qt=te.id,hn,kt=!1,vn=0;vn<arguments.length;vn++){var je=arguments[vn];typeof je=="string"?(je=je.toLowerCase(),je.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?et=je:qt=arguments[vn]):typeof je=="boolean"?kt=je:je instanceof HTMLElement&&(hn=je)}Ot();function Ot(){if(!Le){setTimeout(Ot,200);return}et=yt(et);var Wt=hn||document.getElementById(qt);if(!Wt){console.log("possibly bug on ajax loading? ");return}if(Ut.removeExistingApplet(Wt,!1),te.width===void 0&&Wt.clientWidth&&(te.width=Wt.clientWidth),te.height===void 0&&Wt.clientHeight&&(te.height=Wt.clientHeight),!(te.width&&te.height)&&et==="html5"&&(delete te.width,delete te.height),Xe=et,et==="screenshot")Ye(Wt,te);else{var Mt=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?Mt=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(Mt=(!me()||tt())&&pe()),Mt?(Xe="screenshot",De(Wt,te,kt,et)):Te(Wt,te,kt)}}};function me(){try{return window.self!==window.top}catch(tt){return!0}}function pe(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Ut.getViews=function(){return x},Ut.isJavaInstalled=function(){return!1};var ye=function(tt){var et=function(vn){var je=JSON.parse(vn),Ot=function(ht){return ht.type=="G"||ht.type=="E"},Wt=je.elements?je.elements.filter(Ot)[0]:je;if(!Wt||!Wt.url){qt();return}te.fileName=Wt.url,Ge(Wt.settings||{}),x.is3D=!0;var Mt="https://www.geogebra.org/images/";Ut.setPreviewImage(b||Wt.previewUrl,Mt+"GeoGebra_loading.png",Mt+"applet_play.png"),tt()},qt=function(){te.onError&&te.onError(),an("Error: Fetching material (id "+te.material_id+") failed.",te)},hn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",kt="/materials/"+te.material_id+"?scope=basic";Ae("https://"+hn+"/api/proxy.php?path="+encodeURIComponent(kt),et,qt)};function Ge(tt){var et=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(qt){tt[qt]=!!tt[qt]}),et.forEach(function(qt){te[qt]===void 0&&tt[qt]!==void 0&&(te[qt]=tt[qt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function Ae(tt,et,qt){var hn=new XMLHttpRequest;hn.open("GET",tt),hn.onload=function(){et(hn.responseText)},hn.onerror=qt,hn.send()}Ut.isHTML5Installed=function(){return!0},Ut.getLoadedAppletType=function(){return Xe},Ut.setPreviewImage=function(tt,et,qt){b=tt,E=et,z=qt},Ut.removeExistingApplet=function(tt,et){var qt;typeof tt=="string"&&(tt=document.getElementById(tt)),Xe=null;var hn=null;for(qt=0;qt<tt.childNodes.length;qt++){var kt=tt.childNodes[qt],vn=kt.className;vn==="applet_screenshot"?et?(kt.style.display="block",Xe="screenshot"):kt.style.display="none":vn!=="applet_scaler prerender"&&(tt.removeChild(kt),hn=vn&&vn.indexOf("appletParameters")!=-1?kt.id:null,qt--)}var je=te.id!==void 0?te.id:hn,Ot=window[je];Ot&&typeof Ot.getBase64=="function"&&(Ot.remove(),window[je]=null)},Ut.refreshHitPoints=function(){if(ie(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var tt=Ut.getAppletObject();return tt&&typeof tt.recalculateEnvironments=="function"?(tt.recalculateEnvironments(),!0):!1},Ut.startAnimation=function(){var tt=Ut.getAppletObject();return tt&&typeof tt.startAnimation=="function"?(tt.startAnimation(),!0):!1},Ut.stopAnimation=function(){var tt=Ut.getAppletObject();return tt&&typeof tt.stopAnimation=="function"?(tt.stopAnimation(),!0):!1},Ut.getAppletObject=function(){var tt=te.id!==void 0?te.id:"ggbApplet";return window[tt]},Ut.resize=function(){};var Qe=function(tt,et,qt){var hn=document.createElement("param");hn.setAttribute("name",et),hn.setAttribute("value",qt),tt.appendChild(hn)},ve=function(tt){return tt&&tt!=="false"},Te=function(tt,et,qt){ie(le)<=4.2&&(qt=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var kt=document.createElement("div");kt.classList.add("appletParameters","notranslate");var vn=et.width,je=et.height;if(et.disableAutoScale=et.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():et.disableAutoScale,et.width!==void 0)if(ie(le)<=4.4)ve(et.showToolBar)&&(et.height-=7),ve(et.showAlgebraInput)&&(et.height-=37),et.width<605&&ve(et.showToolBar)&&(et.width=605,vn=605);else{var Ot=100;(ve(et.showToolBar)||ve(et.showMenuBar))&&(et.hasOwnProperty("customToolBar")&&(et.customToolbar=et.customToolBar),Ot=ve(et.showMenuBar)?245:155),vn<Ot&&(et.width=Ot,vn=Ot)}kt.style.border="none",kt.style.display="inline-block";for(var Wt in et)et.hasOwnProperty(Wt)&&Wt!=="appletOnLoad"&&kt.setAttribute("data-param-"+Wt,et[Wt]);ne&&kt.setAttribute("data-param-fontscssurl",ne),Ut.resize=function(){GGBAppletUtils.responsiveResize(tt,et)},window.addEventListener("resize",function(Ne){Ut.resize()});var Mt=typeof et.appletOnLoad=="function"?et.appletOnLoad:function(){};if(!qt&&et.width!==void 0){et.hasOwnProperty("showSplash")||kt.setAttribute("data-param-showSplash","false");var ht=tt.querySelector(".applet_scaler.prerender"),rt=ht!==null;if(rt)var _e=ht.querySelector(".ggb_preview");else{var _e=Ft(vn,je,et.borderColor,!1);ht=document.createElement("div"),ht.className="applet_scaler",ht.style.position="relative",ht.style.display="block",ht.style.width=vn+"px",ht.style.height=je+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ht,"66%"),ie(le)>=5?(et.appletOnLoad=function(Ne){var mt=tt.querySelector(".ggb_preview");mt&&mt.parentNode.removeChild(mt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ht),window.GGBT_wsf_view&&$(window).trigger("resize"),Mt(Ne)},rt||ht.appendChild(_e)):kt.appendChild(_e),ht.appendChild(kt),rt||tt.appendChild(ht),setTimeout(function(){Ut.resize()},1)}else{var Se=document.createElement("div");Se.className="applet_scaler",Se.style.position="relative",Se.style.display="block",Se.appendChild(kt),tt.appendChild(Se),et.appletOnLoad=function(Ne){Ut.resize(),Mt(Ne)}}function fe(Ne,mt){mt&&typeof mt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ne,mt.appletOnLoad):renderGGBElement(Ne),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",mt)}function qe(Ne,mt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ne,params:mt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(un){fe(un.article,un.params)}),html5AppletsToProcess=null)},ie(le)<5&&(Ne.className+=" geogebraweb")):fe(Ne,mt)}if(hn){scriptLoadStarted=!0;for(var Ct=0;Ct<kt.childNodes.length;Ct++){var Fe=kt.childNodes[Ct].tagName;Fe==="TABLE"&&(kt.removeChild(kt.childNodes[Ct]),Ct--)}if(ggbHTML5LoadedScript!==null){var Ce=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ce!=null&&Ce.parentNode.removeChild(Ce)}var at=document.createElement("script"),Je=function(){qe(kt,et)};at.src=We+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=le,ggbHTML5LoadedScript=at.src,an("GeoGebra HTML5 codebase loaded: '"+We+"'.",et),!se&&(!Oe||Oe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Je()):We.requirejs?__webpack_require__.e(4184).then(function(){var Ne=[__webpack_require__(74620)];Je.apply(null,Ne)}.bind(this)).catch(__webpack_require__.oe):(at.onload=Je,tt.appendChild(at))}else qe(kt,et);et.height=je,et.width=vn},Ye=function(tt,et,qt){var hn=Ft(et.width,et.height,et.borderColor,qt),kt=document.createElement("div");kt.style.position="relative",kt.style.display="block",kt.style.width=et.width+"px",kt.style.height=et.height+"px",kt.className="applet_screenshot applet_scaler"+(qt?" applet_screenshot_play":""),kt.appendChild(hn);var vn=GGBAppletUtils.getScale(et,tt,qt);qt?(tt.appendChild(ut()),window.GGBT_wsf_view||(tt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(kt,"66%"),tt.appendChild(kt),vn!==1&&!isNaN(vn)&&(GGBAppletUtils.scaleElement(kt,vn),kt.style.width=et.width+"px",kt.style.height=et.height+"px",kt.parentNode.style.width=et.width*vn+"px",kt.parentNode.style.height=et.height*vn+"px"),Ut.resize=function(){bt(tt,hn,kt,qt)},window.addEventListener("resize",function(je){Ut.resize()}),Ut.resize()};function bt(tt,et,qt,hn){if(tt.contains(et)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(tt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(tt)}var kt=GGBAppletUtils.getScale(te,tt,hn);qt.parentNode!==null&&(!isNaN(kt)&&kt!==1?(GGBAppletUtils.scaleElement(qt,kt),qt.parentNode.style.width=te.width*kt+"px",qt.parentNode.style.height=te.height*kt+"px"):(GGBAppletUtils.scaleElement(qt,1),qt.parentNode.style.width=te.width+"px",qt.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(tt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ut.onExitFullscreen=function(tt,et){et.appendChild(tt)};var De=function(tt,et,qt,hn){Ye(tt,et,!0);for(var kt=function(){var Ot=[];for(je=0;je<tt.childNodes.length;je++)Ot.push(tt.childNodes[je]);if(window.GGBT_wsf_view){var Wt=window.GGBT_wsf_view.renderFullScreen(tt,et.id),Mt=document.getElementById("fullscreencontainer"),ht=jQuery(tt).find(".fullscreencontent");ht.length>0?(Wt.remove(),ht.attr("id","fullscreencontent").show(),jQuery(Mt).append(ht),window.dispatchEvent(new Event("resize"))):Te(Wt,et,!1),window.GGBT_wsf_view.launchFullScreen(Mt)}else Xe=hn,Te(tt,et,!1);if(!window.GGBT_wsf_view)for(je=0;je<Ot.length;je++)tt.removeChild(Ot[je])},vn=tt.getElementsByClassName("ggb_preview_play"),je=0;je<vn.length;je++)vn[je].addEventListener("click",kt,!1),vn[je].addEventListener("ontouchstart",kt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(tt),pe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ut=function(){var tt=document.createElement("div");if(tt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var et='.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");}',qt=document.createElement("style");qt.styleSheet?qt.styleSheet.cssText=et:qt.appendChild(document.createTextNode(et)),document.getElementsByTagName("head")[0].appendChild(qt)}return tt},Ft=function(tt,et,qt,hn){var kt=document.createElement("div");kt.className="ggb_preview",kt.style.position="absolute",kt.style.zIndex="90",kt.style.width=tt-2+"px",kt.style.height=et-2+"px",kt.style.top="0px",kt.style.left="0px",kt.style.overflow="hidden",kt.style.backgroundColor="white";var vn="lightgrey";qt!==void 0&&(qt==="none"?vn="transparent":vn=qt),kt.style.border="1px solid "+vn;var je=document.createElement("img");if(je.style.position="relative",je.style.zIndex="1000",je.style.top="-1px",je.style.left="-1px",b!==null&&je.setAttribute("src",b),je.style.opacity=.7,E!==null){var Ot,Wt,Mt;if(!hn){Ot=document.createElement("img"),Ot.style.position="absolute",Ot.style.zIndex="1001",Ot.style.opacity=1,je.style.opacity=.3,Wt=360,Wt>tt/4*3&&(Wt=tt/4*3),Mt=Wt/5.8,Ot.setAttribute("src",E),Ot.setAttribute("width",Wt),Ot.setAttribute("height",Mt);var ht=(tt-Wt)/2,rt=(et-Mt)/2;Ot.style.left=ht+"px",Ot.style.top=rt+"px",kt.appendChild(Ot)}}return kt.appendChild(je),kt},yt=function(tt){return tt=tt.toLowerCase(),tt==="html5"||tt==="screenshot"?tt:"html5"},gt=["web","webSimple","web3d","tablet","tablet3d","phone"],Xt=function(tt,et){if(le=tt,et){vt(le,!0);return}var qt=!ue;if(qt){var hn=ie(le);!isNaN(hn)&&hn<4.4&&(qt=!1)}var kt,vn;window.location.protocol.substr(0,4)==="http"?kt=window.location.protocol:kt="http:";var je=le.indexOf("//");je>0?vn=le:je===0?vn=kt+le:vn="https://www.geogebra.org/apps/5.2.814.0/";for(var Ot in gt)if(le.slice(gt[Ot].length*-1)===gt[Ot]||le.slice((gt[Ot].length+1)*-1)===gt[Ot]+"/"){vt(vn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&qt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!ve(te.showToolBar)&&!ve(te.showMenuBar)&&!ve(te.showAlgebraInput)&&!ve(te.enableRightClick)&&(!te.appName||te.appName=="classic")?vn+="webSimple/":vn+="web3d/",vt(vn,!1)},vt=function(tt,et){if(tt.requirejs){We=tt;return}tt.slice(-1)!=="/"&&(tt+="/"),We=tt,et===null&&(et=tt.indexOf("http")===-1),nt=et,y="web.nocache.js",a=!1;var qt=We.split("/");qt.length>1&&(!et&&qt[qt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):gt.indexOf(qt[qt.length-2])>=0&&(y=qt[qt.length-2]+".nocache.js")),qt=tt.split("/"),le=qt[qt.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var hn=parseFloat(le);hn!==NaN&&hn<5&&tt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),Xt("5.0",et))},an=function(tt,et){window.console&&window.console.log&&(!et||typeof et.showLogging=="undefined"||et.showLogging&&et.showLogging!=="false")&&console.log(tt)};te.material_id!==void 0?ye(En):En();function En(){var tt=Gt;Oe!==null?tt=Oe:parseFloat(tt)<5&&(tt="5.0"),Xt(tt,!1),se!==null&&vt(se,nt),Le=!0}return Ut},GGBAppletUtils=function(){"use strict";function Ut(){return window.GGBT_wsf_edit!==void 0}function Gt(Le,Oe){Oe!=1?(Le.style.transformOrigin="0% 0% 0px",Le.style.webkitTransformOrigin="0% 0% 0px",Le.style.transform="scale("+Oe+","+Oe+")",Le.style.webkitTransform="scale("+Oe+","+Oe+")",Le.style.maxWidth="initial",Le.querySelector(".ggb_preview")!==null&&(Le.querySelector(".ggb_preview").style.maxWidth="initial"),Le.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Le.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Le.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Le.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Le.style.transform="none",Le.style.webkitTransform="none")}function te(Le,Oe,se,dt,ot,Ve){var We=null;if(Ve!=null&&Ve!="")for(var nt=Le.parentNode;nt!=null;)if((" "+nt.className+" ").indexOf(" "+Ve+" ")>-1){We=nt;break}else nt=nt.parentNode;var Xe=0,le=0,y=0,a=0,b=0,E=0,z=0;if(We)Xe=We.offsetWidth,le=Math.max(dt?We.offsetWidth:0,We.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Xe=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Xe):(Xe=window.innerWidth,le=window.innerHeight,y=window.innerWidth),Le){var ne=Le.getBoundingClientRect();ne.left>0&&ne.left<=Xe&&(ot===void 0||!ot)&&(document.dir==="rtl"?(b=Xe-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,b=y<=480?10:30),a=E+b)}if(Le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Le.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Le&&((se===void 0||!se)&&Oe>0&&Oe+a<Xe?Xe=Oe:Xe-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se===void 0||!se)&&(le-=z)),{width:Xe,height:le}}function x(Le,Oe,se,dt,ot){if(Le.isScreenshoGenerator)return 1;var Ve=dt!==void 0&&dt,We=Le.noScaleMargin!=null&&Le.noScaleMargin,nt=function(re){return re&&re!=="false"},Xe=nt(Le.autoHeight),le=te(Oe,Le.width,se,Xe,Ve&&window.GGBT_wsf_view||We,ot),y=parseInt(le.width),a=Le.width,b=Le.height;if(a===void 0){var E=Oe.querySelector(".appletParameters");E&&(a=E.offsetWidth,b=E.offsetHeight)}var z=y/a,ne=Ve?1:le.height/b;return se!==void 0&&!se&&(z=Math.min(1,z),ne=Math.min(1,ne)),Math.min(z,ne)}function ue(Le,Oe,se){var dt=1,ot,Ve=!1;if(Le.hasOwnProperty("allowUpscale")&&(Ve=Le.allowUpscale),Le.hasOwnProperty("scale")&&(dt=parseFloat(Le.scale),(isNaN(dt)||dt===null||dt===0)&&(dt=1),dt>1&&(Ve=!0)),Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ve=!0),!(Le.hasOwnProperty("disableAutoScale")&&Le.disableAutoScale))ot=x(Le,Oe,Ve,se,Le.scaleContainerClass);else return dt;return Ve&&(!Le.hasOwnProperty("scale")||dt===1)?ot:Math.min(dt,ot)}function Be(Le){var Oe=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),dt=Le.getBoundingClientRect(),ot=(Oe-dt.width)/2,Ve=(se-dt.height)/2;Ve<0&&(Ve=0),Le.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ot<40?Le.style.left="40px":Le.style.left=ot+"px",Le.style.top=Ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ve<40?Le.style.top="40px":Le.style.top=Ve+"px",Le.style.left=ot+"px")}function Me(Le,Oe){var se=Le.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Oe.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Le)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var dt=ue(Oe,Le);Ut()&&se.setAttribute("data-param-scale",dt);for(var ot=null,Ve=0;Ve<Le.childNodes.length;Ve++)if(Le.childNodes[Ve].className!==void 0&&Le.childNodes[Ve].className.match(/^applet_scaler/)){ot=Le.childNodes[Ve];break}if(ot!==null&&ot.querySelector(".noscale")!==null)return;var We=Oe.id!==void 0?Oe.id:"ggbApplet",nt=window[We];(nt==null||!nt.recalculateEnvironments)&&ot!==null&&!ot.className.match(/fullscreen/)&&(ot.parentNode.style.transform="",!isNaN(dt)&&dt!==1?(ot.parentNode.style.width=Oe.width*dt+"px",ot.parentNode.style.height=Oe.height*dt+"px",Gt(ot,dt)):(Gt(ot,1),ot.parentNode.style.width=Oe.width+"px",ot.parentNode.style.height=Oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Be(Le),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(se).parents(".content-added-content"))}}return{responsiveResize:Me,isFlexibleWorksheetEditor:Ut,positionCenter:Be,getScale:ue,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 Ut=n.location.search;return Ut.indexOf(J)!=-1||Ut.indexOf(K)!=-1}function q(Ut,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(Ut){var Gt=s[L].bindings;s[L].bindings=function(){for(var te=Gt?Gt():{},x=Ut[webModule.__softPermutationId],ue=O;ue<x.length;ue++){var Be=x[ue];te[Be[O]]=Be[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var Ut=o.createElement(Q);if(Ut.id=L,Ut.style.cssText=R+S,Ut.tabIndex=-1,o.body.appendChild(Ut),t=Ut.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Gt=document.compatMode==U?V:W;t.write(Gt+X),t.close()}}}function w(Ut){function Gt(x){function ue(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Be=ue();if(Be){x();return}function Me(){if(!Be){if(!ue())return;Be=!0,x(),o.removeEventListener&&o.removeEventListener(Z,Me,!1),Le&&clearInterval(Le)}}o.addEventListener&&o.addEventListener(Z,Me,!1);var Le=setInterval(function(){Me()},$)}function te(x){var ue=u(),Be=ue.body,Me=ue.createElement(_);Me.language=ab,Me.crossOrigin=W,Me.src=x,webModule.__errFn&&(Me.onerror=function(){webModule.__errFn(L,new Error(bb+x))}),Be.appendChild(Me)}Gt(function(){te(Ut)})}webModule.__startLoadingFragment=function(Ut){return C(Ut)},webModule.__installRunAsyncCode=function(Ut){var Gt=u(),te=Gt.body,x=Gt.createElement(_);x.language=ab,x.text=Ut,te.appendChild(x),te.removeChild(x)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ut){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ut){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ut){var Gt=c[Ut];return Gt==null?null:Gt},r=d,webModule.__errFn=e}function B(){function Ut(Le){var Oe=Le.lastIndexOf(rb);Oe==-1&&(Oe=Le.length);var se=Le.indexOf(sb);se==-1&&(se=Le.length);var dt=Le.lastIndexOf(tb,Math.min(se,Oe));return dt>=O?Le.substring(O,dt+P):W}function Gt(Le){if(!Le.match(/^\w+:\/\//)){var Oe=o.createElement(ub);Oe.src=Le+vb,Le=Ut(Oe.src)}return Le}function te(){var Le=__gwt_getMetaProperty(wb);return Le!=null?Le:W}function x(){for(var Le=o.getElementsByTagName(_),Oe=O;Oe<Le.length;++Oe)if(Le[Oe].src.indexOf(xb)!=-1)return Ut(Le[Oe].src);return W}function ue(){var Le=o.getElementsByTagName(yb);return Le.length>O?Le[Le.length-P].href:W}function Be(){var Le=o.location;return Le.href==Le.protocol+zb+Le.host+Le.pathname+Le.search+Le.hash}var Me=te();return Me==W&&(Me=x()),Me==W&&(Me=ue()),Me==W&&Be()&&(Me=Ut(o.location.href)),Me=Gt(Me),Me}function C(Ut){return Ut.match(/^\//)||Ut.match(/^[a-zA-Z]+:\/\//)?Ut:webModule.__moduleBase+Ut}function D(){var Ut=[],Gt=O,te=[],x=[];function ue(Le){var Oe=x[Le](),se=te[Le];if(Oe in se)return Oe;var dt=[];for(var ot in se)dt[se[ot]]=ot;throw r&&r(Le,dt,Oe),null}if(__gwt_isKnownPropertyValue=function(Le,Oe){return Oe in te[Le]},webModule.__getPropMap=function(){var Le={};for(var Oe in te)te.hasOwnProperty(Oe)&&(Le[Oe]=ue(Oe));return Le},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Me=Be.indexOf(Db);Me!=-1&&(Gt=parseInt(Be.substring(Me+P),$),Be=Be.substring(O,Me))}catch(Le){}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})()},77903:function(Ut,Gt,te){"use strict";te.d(Gt,{Ax:function(){return Me},Ds:function(){return Le},KI:function(){return se},SI:function(){return Be},f1:function(){return ue}});var x=te(3294);function ue(dt){let ot=!0;if(dt.length>0){for(let Ve=0;Ve<dt.length;Ve++)if(dt[Ve].compile_success==0||!dt[Ve].compile_success){ot=!1;break}}else ot=!1;return ot}function Be(dt,ot=""){let Ve=[];for(let We=0;We<dt.length;We++){let nt=dt[We],Xe=ot?`${ot}/${nt.name}`:`${nt.name}`;Ve.push({title:nt.name,type:nt.type,isLeaf:nt.type!=="tree",key:Xe})}return Ve}function Me(dt,ot,Ve){for(let We=0;We<dt.length;We++){let nt=dt[We];if(nt.key===ot){nt.children=Ve;break}nt.children&&Me(nt.children,ot,Ve)}return dt}function Le(dt,ot,Ve){let We;return function(){let nt=this,Xe=arguments,le=function(){We=null,Ve||dt.apply(nt,Xe)},y=Ve&&!We;clearTimeout(We),We=setTimeout(le,ot),y&&dt.apply(nt,Xe)}}const Oe=!0,se=x.Z.API_SERVER},6021:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return le}});var x=te(3113),ue=te(59301),Be=Object.defineProperty,Me=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,ot=(y,a,b)=>a in y?Be(y,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[a]=b,Ve=(y,a)=>{for(var b in a||(a={}))se.call(a,b)&&ot(y,b,a[b]);if(Oe)for(var b of Oe(a))dt.call(a,b)&&ot(y,b,a[b]);return y},We=(y,a)=>Me(y,Le(a)),nt=(y,a)=>{var b={};for(var E in y)se.call(y,E)&&a.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&Oe)for(var E of Oe(y))a.indexOf(E)<0&&dt.call(y,E)&&(b[E]=y[E]);return b},Xe=(y,a,b)=>new Promise((E,z)=>{var ne=me=>{try{ie(b.next(me))}catch(pe){z(pe)}},re=me=>{try{ie(b.throw(me))}catch(pe){z(pe)}},ie=me=>me.done?E(me.value):Promise.resolve(me.value).then(ne,re);ie((b=b.apply(y,a)).next())});const le=y=>{var a=y,{children:b}=a,E=nt(a,["children"]);const[z,ne]=(0,ue.useState)(!1);return ue.createElement(x.ZP,We(Ve({},E),{loading:z,onClick:re=>Xe(void 0,null,function*(){try{ne(!0),yield E.onClick(re),ne(!1)}catch(ie){console.error(ie),ne(!1)}})}),b)}},85786:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Me}});var x=te(59301),ue={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Me=({number:Le,active:Oe,className:se})=>x.createElement("div",{className:`${ue.digitalLabel} ${Oe?ue.active:""} ${se}`},Le)},57647:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return E}});var x=te(59301),ue=te(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Me=te(73631),Le=te(5623),Oe=te(16149),se=Object.defineProperty,dt=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,Xe=(z,ne,re)=>ne in z?se(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,le=(z,ne)=>{for(var re in ne||(ne={}))We.call(ne,re)&&Xe(z,re,ne[re]);if(Ve)for(var re of Ve(ne))nt.call(ne,re)&&Xe(z,re,ne[re]);return z},y=(z,ne)=>dt(z,ot(ne)),a=(z,ne,re)=>new Promise((ie,me)=>{var pe=Ae=>{try{Ge(re.next(Ae))}catch(Qe){me(Qe)}},ye=Ae=>{try{Ge(re.throw(Ae))}catch(Qe){me(Qe)}},Ge=Ae=>Ae.done?ie(Ae.value):Promise.resolve(Ae.value).then(pe,ye);Ge((re=re.apply(z,ne)).next())}),E=({value:z,onChange:ne,scrollId:re})=>{const[ie,me]=(0,x.useState)([]);(0,x.useEffect)(()=>{pe()},[]);const pe=()=>a(void 0,null,function*(){const Te=yield(0,Oe.NZ)({});if(Te!=null&&Te.data){const Ye=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:x.createElement("img",{src:Me,className:Be.folderIcon}),isLeaf:!1,children:ye(Te.data||[])}];me(Ye)}}),ye=Te=>Te.map(Ye=>({title:Ye.name,key:Ye.group_id,icon:x.createElement("img",{src:Me,className:Be.folderIcon}),isLeaf:Ye.children.length===0,children:ye(Ye.children)})),Ge=(Te,Ye,bt)=>Te.map(De=>De.key===Ye?le(le({},De),bt):De.children?y(le({},De),{children:Ge(De.children,Ye,bt)}):De),Ae=(Te,Ye,bt)=>Te.map(De=>{if(De.key===Ye)return y(le({},De),{icon:bt?x.createElement("img",{src:Le,className:Be.folderIcon}):x.createElement("img",{src:Me,className:Be.folderIcon})});if(De.children)return y(le({},De),{children:Ae(De.children,Ye,bt)})}),Qe=(Te,Ye)=>{me(bt=>Ae(bt,Ye.node.key,Ye.expanded))},ve=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ie.length>0&&x.createElement("div",{id:re||""},x.createElement(ue.default,le({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ie,className:Be.folderWrapper,onSelect:ne,onExpand:Qe},ve)))}},32570:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Oe}});var x=te(60324),ue={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=te(32637),Me=te(59301),Oe=({type:se,style:dt})=>{const ot=Me.createElement("div",{className:ue.wrap,onClick:Ve=>{Ve.preventDefault(),Ve.stopPropagation()}},Me.createElement("p",null,se==="shixun"||se==="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",Me.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",se==="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"),Me.createElement("div",{className:ue.contact},Me.createElement("div",{className:ue.img},Me.createElement("img",{src:Be,width:"124px",height:"124px"})),Me.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Me.createElement(x.Z,{content:ot},Me.createElement("span",{className:ue.text,style:dt},"\u9AD8\u6D88\u8017"))}},73524:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return We}});var x=te(59301),ue={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=te(92310),Me=te.n(Be),Le=te(71418),Oe=te(2859),se=te(99064),dt=te(955),ot=(nt,Xe,le)=>new Promise((y,a)=>{var b=ne=>{try{z(le.next(ne))}catch(re){a(re)}},E=ne=>{try{z(le.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(b,E);z((le=le.apply(nt,Xe)).next())}),We=({data:nt,className:Xe,fullWidth:le,style:y={},onClose:a,onOk:b,showFullTools:E,noAssociationId:z})=>{const ne=(0,x.useRef)(null),re=(0,x.useRef)(null),ie=(0,x.useRef)(null),me=(0,x.useRef)(null),[pe,ye]=(0,x.useState)(!1),[Ge,Ae]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>{ie.current||(ie.current=document.createElement("style"),document.head.appendChild(ie.current)),nt!=null&&nt.visible?(document.body.setAttribute("data-custom","y-hidden"),ie.current.innerHTML=" html { overflow-y: hidden; }",nt!=null&&nt.src&&Qe()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[nt==null?void 0:nt.visible]);const Qe=()=>ot(void 0,null,function*(){ye(!0),Ae("\u6B63\u5728\u52A0\u8F7D\u4E2D");const De=yield(0,dt.ZJ)(nt==null?void 0:nt.src);ne.current.src="",ne.current.src=De,ne.current.onload=function(){bt()},ye(!1),Ae("")}),ve=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},Te=De=>ot(void 0,null,function*(){ye(!0),Ae("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ut=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:nt.title,file:De.dataUrl}});ut!=null&&ut.id&&!z?(yield(0,se.ZP)(`/api/attachments/${nt.id}/add_subitem.json`,{method:"post",body:{subitem_id:ut==null?void 0:ut.id,settings:JSON.stringify(De.state)}})).status===0&&b():ut!=null&&ut.id&&b(ut),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",ye(!1),Ae("")}),Ye=()=>{const De=document.querySelector('a[href="https://markerjs.com/"]');De&&De.parentNode&&(De.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(Ft=>{const yt=document.querySelector(Ft.name);yt&&yt.setAttribute("title",Ft.title)})},bt=()=>{re.current=new Oe.hP(ne.current),re.current.targetRoot=me.current,re.current.addEventListener("render",Te),re.current.addEventListener("beforeclose",ve),E&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),nt!=null&&nt.snapshotData&&re.current.restoreState(nt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ye()},300)};return x.createElement(x.Fragment,null,(nt==null?void 0:nt.visible)&&x.createElement(Le.Z,{spinning:pe,tip:Ge,style:{position:"absolute"}},x.createElement("div",{ref:me,className:Me()(ue.imageDimensions,Xe,le?ue.fullWidth:""),style:y},x.createElement("img",{className:ue.img,ref:ne}))))}},14791:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Se},$:function(){return _e}});var x=te(59301),ue={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=te(92310),Me=te.n(Be),Le=te(78241),Oe=te(8591),se=te(43418),dt=te(5871),ot=te(95237),Ve=te(24905),We=te(38854),nt=te(54580),Xe=te(3113),le=te(93948),y=te(19842),a=te(92832),b=te(5112),E=te(6848),z=te(43604),ne=te(29458),re=te(3294),ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+Vvy4F9CyG5BaQviV9nKBe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Je=mt=>{try{Ne(Ct.throw(mt))}catch(un){Ce(un)}},Ne=mt=>mt.done?Fe(mt.value):Promise.resolve(mt.value).then(at,Je);Ne((Ct=Ct.apply(fe,qe)).next())}),yt=x.memo(({tagName:fe="div",value:qe="",className:Ct,style:Fe={},onBlur:Ce,id:at})=>{const Je=(0,x.useRef)(null);(0,x.useEffect)(()=>{if(!Je.current)return;ut(void 0,null,function*(){const un=Je.current;un.innerHTML="";const en=qe==null?void 0:qe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const zt of en)if(zt.startsWith("$$")&&zt.endsWith("$$")||zt.startsWith("`$$")&&zt.endsWith("$$`")){const ln=zt.startsWith("`$$")?zt.slice(3,-3):zt.slice(2,-2),on=document.createElement("span");on.setAttribute("contentEditable","false"),on.setAttribute("title",zt),on.className="edu_latex",un.appendChild(on),De().render(ln,on,{throwOnError:!1})}else{const ln=zt==null?void 0:zt.replace(/<[^>]*>/g,on=>on.startsWith("<img")?on:on.replace(/</g,"&lt;"));un.insertAdjacentHTML("beforeend",ln)}})},[at]);const Ne=()=>{var mt,un;if(Ce&&Je.current){const zt=Je.current.cloneNode(!0),ln=zt.querySelectorAll("span.edu_latex");for(let on of ln){const ze=on.getAttribute("title"),At=document.createTextNode(ze||""),Lt=on;(un=(mt=Lt.parentNode)==null?void 0:mt.replaceChild)==null||un.call(mt,At,Lt)}Ce(zt.innerHTML)}};return x.createElement(x.Fragment,null,x.createElement(fe,{ref:Je,contentEditable:!0,className:Ct,style:Fe,onBlur:Ne}))}),gt=te(24065),Xt=te(34604),vt=Object.defineProperty,an=Object.defineProperties,En=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,hn=(fe,qe,Ct)=>qe in fe?vt(fe,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):fe[qe]=Ct,kt=(fe,qe)=>{for(var Ct in qe||(qe={}))et.call(qe,Ct)&&hn(fe,Ct,qe[Ct]);if(tt)for(var Ct of tt(qe))qt.call(qe,Ct)&&hn(fe,Ct,qe[Ct]);return fe},vn=(fe,qe)=>an(fe,En(qe)),je=(fe,qe,Ct)=>new Promise((Fe,Ce)=>{var at=mt=>{try{Ne(Ct.next(mt))}catch(un){Ce(un)}},Je=mt=>{try{Ne(Ct.throw(mt))}catch(un){Ce(un)}},Ne=mt=>mt.done?Fe(mt.value):Promise.resolve(mt.value).then(at,Je);Ne((Ct=Ct.apply(fe,qe)).next())});const Ot=fe=>{fe.preventDefault();let Ct=(fe.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Ct)},Wt=fe=>{fe.key==="Enter"&&fe.preventDefault()},Mt=({children:fe,style:qe})=>x.createElement("div",{className:ue.leftBox,style:qe,onPaste:Ot},fe),ht=({children:fe,style:qe,className:Ct})=>x.createElement("div",{className:Me()(ue.rightBox,Ct),style:qe,onPaste:Ot},fe),rt=({className:fe,style:qe={},width:Ct=1200,onCancel:Fe=()=>{},onSuccess:Ce=()=>{},gather:at={},mode:Je=1,stickyTop:Ne=0,subDisciplineId:mt=[],hideWordFeatures:un,dataSource:en=[],customLeftHeadNode:zt,customRightHeadNode:ln,customLeftContent:on,hideRecognition:ze=!1,onExchange:At,isSingleSelection:Lt=!1,underpinBackgroundStyle:St={},headExtraNode:Dt,isRefreshItemBank:fn=!1,okText:Pn="\u786E\u5B9A\u5BFC\u5165"})=>{var bn;const[Ln,ta]=(0,x.useState)(1),[oa,jn]=(0,x.useState)(0),[Ea,va]=(0,x.useState)(""),[Hn,Ba]=(0,x.useState)(!1),[Yt,An]=(0,x.useState)([]),[Fn,Xn]=(0,x.useState)([]),[Ze,Nt]=(0,x.useState)(!1),[Zt,Kt]=(0,x.useState)(!1),[tn,jt]=(0,x.useState)(!1),[pn,st]=(0,x.useState)(!1),[Pt,ct]=(0,x.useState)([]),[rn,In]=(0,x.useState)(1),[yn,ia]=(0,x.useState)(!1),[Un,lt]=(0,x.useState)(!1),[$t,qn]=(0,x.useState)(!0),[nn,_n]=(0,x.useState)(0),[Jn,Ma]=(0,x.useState)(1),[ma,Ue]=(0,x.useState)(""),[dn,Qt]=(0,x.useState)([]),[Sn,On]=(0,x.useState)(0),[kn,Dn]=(0,x.useState)(0),[wn,Aa]=(0,x.useState)(0),[La,mn]=(0,x.useState)(0),[Da,na]=(0,x.useState)(0),[Qa]=Le.default.useForm(),[Ja]=Le.default.useForm(),Vn=(0,x.useRef)(null),sa=(0,x.useRef)(null),xa=(0,x.useRef)(),aa=["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"],za=["C","C++","Java","Python","JavaScript","Ruby"];(0,x.useEffect)(()=>{en!=null&&en.length&&$a(en)},[en]),(0,x.useEffect)(()=>{Ln===2&&Vn.current.focus()},[Ln]),(0,x.useEffect)(()=>{tn&&Ga()},[tn]);const ar=()=>{if(Ln===1){Oe.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}se.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:()=>je(void 0,null,function*(){ta(1)})})},Ga=()=>je(void 0,null,function*(){const xe=yield(0,Ge.ZP)("/api/disciplines.json",{method:"get",params:{source:Je===1?"new_question":"subject"}});ct(xe.disciplines||[])}),mr=xe=>{const sn=[],Cn=(zn,cn)=>{zn.length>=2&&sn.push(zn.join(""));for(let ra=cn;ra<xe.length;ra++)zn.push(xe[ra]),Cn(zn,ra+1),zn.pop()};return Cn([],0),sn},Ua=xe=>(xe=xe||"",xe=String(xe),xe=xe.replace(/\s+/g,""),xe),Cr=xe=>(xe=xe||"",xe=String(xe),xe=xe.replace(/<div>/g,""),xe=xe.replace(/<br>/g,`
`),xe=xe.replace(/<\/div>/g,`
`),xe=ao(xe),xe),kr=xe=>xe.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),ao=xe=>xe.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),Er=xe=>{var sn;const Cn=xe.clipboardData;if(Cn){const zn=Cn.types.toString(),cn=Cn.items;if(zn==="Files"||Cn.types.indexOf("Files")>-1){xe.preventDefault();try{let ra=cn[1];((sn=cn[0])==null?void 0:sn.kind)==="file"&&(ra=cn[0]);const Zn=ra.getAsFile();(0,Ye.I)(Zn,Nn=>{var Gn;if(Nn.id){if(((Gn=Zn==null?void 0:Zn.type)==null?void 0:Gn.indexOf("image"))>-1){const Mn=`<img src='${re.Z.API_SERVER}${Nn.url}'>`;document.execCommand("insertText",!1,Mn)}}else(Nn==null?void 0:Nn.status)===401&&(document.location.href="/user/login")})}catch(ra){Oe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function vr(xe,sn){return je(this,null,function*(){if(typeof xe=="string")return yield sn(xe);if(typeof xe!="object"||xe===null)return xe;if(Array.isArray(xe))return yield Promise.all(xe.map(cn=>je(this,null,function*(){return yield vr(cn,sn)})));const Cn={};for(const zn in xe)if(Object.prototype.hasOwnProperty.call(xe,zn)){const cn=xe[zn];typeof cn=="string"?Cn[zn]=yield sn(cn):typeof cn=="object"?Cn[zn]=yield vr(cn,sn):Cn[zn]=cn}return Cn})}const Zr=()=>je(void 0,null,function*(){var xe;Ba(!0),va("\u5904\u7406\u4E2D"),yield new Promise(zn=>setTimeout(zn,1e3));let sn=(xe=sa.current)==null?void 0:xe.querySelectorAll('[data-text="edit"]'),Cn="";try{sn.forEach(function(zn){var cn,ra,Zn,Nn;const Gn=zn.cloneNode(!0),Mn=Gn.querySelectorAll("span.edu_latex");for(let wa of Mn){const fa=wa.getAttribute("title"),Ar=document.createTextNode(fa),fr=wa;(ra=(cn=fr.parentNode)==null?void 0:cn.replaceChild)==null||ra.call(cn,Ar,fr)}const pa=Gn.querySelectorAll("span[style]");for(let wa of pa)if(wa.style.fontFamily){const fa=wa.innerHTML,Ar=document.createTextNode(fa),fr=wa;(Nn=(Zn=fr.parentNode)==null?void 0:Zn.replaceChild)==null||Nn.call(Zn,Ar,fr)}Gn==null||Gn.childNodes.forEach(function(wa){wa.nodeType===Node.ELEMENT_NODE&&wa.localName!=="h5"&&wa.localName!=="h4"?Cn+=`<p>${wa.innerHTML}</p>`:wa.nodeType===Node.TEXT_NODE&&(Cn+=`<p>${wa.textContent}</p>`)})}),ga("/api/intelligent_imports/import.json",{html:ao(Cn)})}catch(zn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",zn)}}),hr=xe=>{let sn=xe.filter(Cn=>!!(Cn!=null&&Cn.type));return sn=sn.map(Cn=>{var zn;const cn=(zn=Ao.find(Zn=>Zn.id===(Cn==null?void 0:Cn.type)))==null?void 0:zn.deal,ra=vn(kt({},Cn),{id:String(Math.random()).slice(-6),knowledgePoint:Ua(Cn==null?void 0:Cn.knowledgePoint)});return cn?cn(ra):ra}),sn},Fr=()=>{if(Ln===1){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}se.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:Zr})},ur=()=>x.createElement("div",{className:ue.row},x.createElement("div",{className:ue.leftLayout},x.createElement(Mt,{style:{height:675}},Ln===1&&x.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>ta(2)},x.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",x.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",x.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",x.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",x.createElement("br",null)),x.createElement("div",{className:ue.imgBox,style:{marginTop:75}},x.createElement("img",{width:56,src:me}),x.createElement("span",null,"\u7F16\u8F91\u533A"))),Ln===2&&x.createElement("div",{"data-text":"edit",onBlur:()=>{Vn.current.innerHTML||ta(1)},ref:Vn,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),x.createElement("div",{className:ue.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},x.createElement("div",{className:ue.imgBox,style:{marginTop:240}},x.createElement("img",{width:56,src:pe}),x.createElement("span",null,"\u9884\u89C8\u533A")))),Ra=(xe,sn,Cn,zn)=>{var cn;console.log(xe,sn,Cn,zn,"onDataChange\u4FEE\u6539\u6570\u503C");const ra=JSON.parse(JSON.stringify(Fn));zn===void 0?ra[sn][xe]=Cn:ra[sn].questions[zn][xe]=Cn;const Zn=kt({},ra[sn]),Nn=(cn=Ao.find(Gn=>Gn.id===(Zn==null?void 0:Zn.type)))==null?void 0:cn.deal;ra[sn]=Nn(Zn),Xn(ra)},xr=(xe,sn,Cn)=>{var zn;const cn=Cn!==void 0,ra=(zn=Ao.find(Gn=>Gn.id===(xe==null?void 0:xe.type)))==null?void 0:zn.type,Zn=`${sn+1}.${Cn===void 0?"":Cn+1+"."}`,Nn=`${(xe==null?void 0:xe.type)==="7"?"{{":""}${Zn}\u3010${ra}\u3011${(xe==null?void 0:xe.question)||""}`;return x.createElement(x.Fragment,null,cn&&x.createElement("h4",{contentEditable:!0}),x.createElement(yt,{id:xe==null?void 0:xe.id,tagName:"div",value:Nn}))},Xr=(xe,sn)=>je(void 0,null,function*(){var Cn;const zn=yield At(xe,sn),cn=(Cn=zn==null?void 0:zn.data)==null?void 0:Cn.content;if(cn!=null&&cn.length){const ra=hr(cn)[0];Yt.splice(sn,1,ra),Fn.splice(sn,1,ra),An([...Yt]),Xn([...Fn])}}),br=(xe,sn,Cn)=>{var zn;const cn=Cn!==void 0,ra=(zn=Ao.find(Nn=>Nn.id===(xe==null?void 0:xe.type)))==null?void 0:zn.type,Zn=`${sn+1}.${Cn===void 0?"":Cn+1+"."}`;return cn?x.createElement("div",{style:{padding:"10px 18px"}},`${Zn}\u3010${ra}\u3011`,x.createElement(yt,{id:xe==null?void 0:xe.id,tagName:"span",className:ue.edit,onBlur:Nn=>Ra("question",sn,Nn,Cn),value:(xe==null?void 0:xe.question)||""})):x.createElement(x.Fragment,null,x.createElement("div",{className:ue.actionHead},x.createElement("div",{className:"c-light-primary"},`${Zn}\u3010${ra}\u3011`),Je!==1&&x.createElement(dt.Z,{disabled:(xe==null?void 0:xe.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:Nn=>Ra("score",sn,Nn,Cn),value:xe==null?void 0:xe.score}),x.createElement(ot.Z,{align:"middle",style:{marginLeft:"auto"}},!!At&&x.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Xr(xe,sn)},x.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),x.createElement(Ve.default,{onChange:Nn=>Ra("checked",sn,Nn.target.checked,Cn),checked:!!(xe!=null&&xe.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),x.createElement(yt,{id:xe==null?void 0:xe.id,tagName:"div",style:{padding:"10px 18px"},className:ue.edit,onBlur:Nn=>Ra("question",sn,Nn,Cn),value:xe==null?void 0:xe.question}))},Vr=(xe,sn,Cn)=>x.createElement(x.Fragment,null,["0","1","2","4"].includes(xe==null?void 0:xe.type)&&x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u7B54\u6848\uFF1A${sn||""}`,tagName:"p"}),!Cn&&x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u96BE\u5EA6\uFF1A${(xe==null?void 0:xe.difficulty)||""}`,tagName:"p"}),(xe==null?void 0:xe.type)!=="7"&&x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u89E3\u6790\uFF1A${(xe==null?void 0:xe.analyze)||""}`,tagName:"p"}),!Cn&&x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(xe==null?void 0:xe.knowledgePoint)||""}`,tagName:"p"})),jr=(xe,sn,Cn,zn)=>{const cn=zn!==void 0,ra=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Zn=cn&&!xe.last&&!xe.errorMsg?{marginBottom:10}:{},Nn=ra.map(Gn=>({key:Gn,label:Gn,onClick:()=>Ra("difficulty",Cn,Gn,zn)}));return x.createElement("div",{className:ue.liWrap,style:Zn},["4"].includes(xe==null?void 0:xe.type)&&x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),x.createElement(yt,{id:xe==null?void 0:xe.id,tagName:"div",className:`${ue.edit} c-black`,onBlur:Gn=>Ra("answer",Cn,[Gn],zn),value:sn})),!cn&&x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(We.Z,{menu:{items:Nn}},x.createElement("span",{className:"c-light-primary"},xe==null?void 0:xe.difficulty,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(xe==null?void 0:xe.type)!=="7"&&x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),x.createElement(yt,{id:xe==null?void 0:xe.id,tagName:"div",className:`${ue.edit} c-grey-333`,onBlur:Gn=>Ra("analyze",Cn,Gn,zn),value:xe==null?void 0:xe.analyze})),!cn&&x.createElement("div",{onKeyDown:Wt,className:ue.li},x.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),x.createElement(yt,{id:xe==null?void 0:xe.id,tagName:"div",value:(xe==null?void 0:xe.knowledgePoint)||"",className:`${ue.edit} c-grey-333`,onBlur:Gn=>Ra("knowledgePoint",Cn,Ua(Cr(Gn)),zn)})))},Xa=xe=>x.createElement(x.Fragment,null,typeof(xe==null?void 0:xe.errorMsg)=="string"&&!!(xe!=null&&xe.errorMsg)&&x.createElement("h5",{contentEditable:!1},x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,xe==null?void 0:xe.errorMsg))),wr=xe=>x.createElement(x.Fragment,null,typeof(xe==null?void 0:xe.errorMsg)=="string"&&!!(xe!=null&&xe.errorMsg)&&x.createElement("h5",null,x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,xe==null?void 0:xe.errorMsg))),dr=(xe,sn,Cn,zn)=>{let cn="flex";return(Lt&&nn!==zn||Ze&&!(Cn!=null&&Cn.errorMsg))&&(cn="none"),x.createElement("div",{className:ue.row,style:{display:cn}},x.createElement("div",{className:ue.leftLayout},on||x.createElement(Mt,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},xe))),x.createElement("div",{className:ue.rightLayout},x.createElement(ht,{className:Cn!=null&&Cn.errorMsg?ue.error:""},sn)))},Ao=[{id:"0",type:"\u5355\u9009\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0;let Zn=(zn=xe==null?void 0:xe.answer)==null?void 0:zn[0];const Nn=x.createElement(x.Fragment,null,xr(xe,sn,Cn),(cn=xe==null?void 0:xe.options)==null?void 0:cn.map((wa,fa)=>x.createElement(yt,{id:xe==null?void 0:xe.id,key:fa,value:`${aa[fa]}.${wa}`,tagName:"p"})),Vr(xe,Zn,ra),Xa(xe));let Gn=ra?xe:Fn[sn];const Mn=Gn==null?void 0:Gn.options,pa=x.createElement(x.Fragment,null,br(Gn,sn,Cn),Mn==null?void 0:Mn.map((wa,fa)=>{var Ar;return x.createElement("div",{key:fa,className:ue.option},x.createElement("aside",{className:((Ar=Gn==null?void 0:Gn.answer)==null?void 0:Ar[0])===aa[fa]?ue.active:"",onClick:()=>Ra("answer",sn,[aa[fa]],Cn)},aa[fa]),x.createElement(yt,{id:Gn==null?void 0:Gn.id,tagName:"div",className:`${ue.text}`,onBlur:fr=>{Mn[fa]=fr,Ra("options",sn,Mn,Cn)},value:wa}))}),jr(Gn,"",sn,Cn),wr(Gn));return ra?[Nn,pa]:dr(Nn,pa,Gn,sn)},deal:xe=>{var sn,Cn,zn;xe.score=xe.score===void 0?2:xe.score;let cn=Ua((sn=xe==null?void 0:xe.answer)==null?void 0:sn[0]).toUpperCase();xe.answer=cn?[cn]:[];let ra=[];if(!(xe!=null&&xe.options))ra.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{xe.options=(Cn=xe.options)==null?void 0:Cn.slice(0,8);const Zn=xe.options.map(Gn=>Gn==null?void 0:Gn.trim().replace(/^\s+|\s+$/g,""));new Set(Zn).size!==Zn.length&&ra.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return cn||ra.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),cn&&(aa.slice(0,((zn=xe==null?void 0:xe.options)==null?void 0:zn.length)||8).includes(cn)||ra.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")),Ua(xe==null?void 0:xe.question)||ra.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=ra.join(`
`),xe}},{id:"1",type:"\u591A\u9009\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0;let Zn=(zn=xe==null?void 0:xe.answer)==null?void 0:zn[0];const Nn=x.createElement(x.Fragment,null,xr(xe,sn,Cn),(cn=xe==null?void 0:xe.options)==null?void 0:cn.map((wa,fa)=>x.createElement(yt,{id:xe==null?void 0:xe.id,key:fa,value:`${aa[fa]}.${wa}`,tagName:"p"})),Vr(xe,Zn,ra),Xa(xe));let Gn=ra?xe:Fn[sn];const Mn=Gn==null?void 0:Gn.options,pa=x.createElement(x.Fragment,null,br(Gn,sn,Cn),Mn==null?void 0:Mn.map((wa,fa)=>{var Ar,fr;return x.createElement("div",{key:fa,className:ue.option},x.createElement("aside",{className:(fr=(Ar=Gn==null?void 0:Gn.answer)==null?void 0:Ar[0])!=null&&fr.includes(aa[fa])?ue.active:"",onClick:()=>{var Or;let $r=((Or=Gn==null?void 0:Gn.answer)==null?void 0:Or[0])||"";const uo=aa[fa];$r.includes(uo)?$r=$r.replace(new RegExp(uo,"g"),""):$r+=uo,$r=$r.split("").sort().join(""),Ra("answer",sn,[$r],Cn)}},aa[fa]),x.createElement(yt,{id:Gn==null?void 0:Gn.id,tagName:"div",className:`${ue.text}`,onBlur:Or=>{Mn[fa]=Or,Ra("options",sn,Mn,Cn)},value:wa}))}),jr(Gn,"",sn,Cn),wr(Gn));return ra?[Nn,pa]:dr(Nn,pa,Gn,sn)},deal:xe=>{var sn,Cn,zn;xe.score=xe.score===void 0?2:xe.score;let cn=Ua((sn=xe==null?void 0:xe.answer)==null?void 0:sn[0]).toUpperCase().split("").sort().join("");xe.answer=cn?[cn]:[];let ra=[];if(!(xe!=null&&xe.options))ra.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{xe.options=(Cn=xe.options)==null?void 0:Cn.slice(0,8);const Zn=xe.options.map(Gn=>Gn==null?void 0:Gn.trim().replace(/^\s+|\s+$/g,""));new Set(Zn).size!==Zn.length&&ra.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(cn||ra.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),cn){const Zn=aa.slice(0,((zn=xe==null?void 0:xe.options)==null?void 0:zn.length)||8);mr(Zn).includes(cn)||ra.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 Ua(xe==null?void 0:xe.question)||ra.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=ra.join(`
`),xe}},{id:"2",type:"\u5224\u65AD\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0;let Zn=(zn=xe==null?void 0:xe.answer)==null?void 0:zn[0];const Nn=x.createElement(x.Fragment,null,xr(xe,sn,Cn),Vr(xe,Zn,ra),Xa(xe));let Gn=ra?xe:Fn[sn];const Mn=["\u6B63\u786E","\u9519\u8BEF"];let pa=((cn=Gn==null?void 0:Gn.answer)==null?void 0:cn[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(pa)?pa="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(pa)&&(pa="\u9519\u8BEF");const wa=x.createElement(x.Fragment,null,br(Gn,sn,Cn),Mn==null?void 0:Mn.map((fa,Ar)=>x.createElement("div",{key:Ar,className:ue.option},x.createElement("aside",{style:{borderRadius:2},className:pa===fa?ue.active:"",onClick:()=>Ra("answer",sn,[fa],Cn)},fa==="\u6B63\u786E"?"T":"F"),x.createElement("div",{style:{pointerEvents:"none"},className:`${ue.text}`},fa))),jr(Gn,"",sn,Cn),wr(Gn));return ra?[Nn,wa]:dr(Nn,wa,Gn,sn)},deal:xe=>{var sn;xe.score=xe.score===void 0?2:xe.score;let Cn=Ua((sn=xe==null?void 0:xe.answer)==null?void 0:sn[0]);xe.answer=Cn?[Cn]:[];let zn=[];return Cn||zn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Cn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(Cn)&&zn.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"),Ua(xe==null?void 0:xe.question)||zn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=zn.join(`
`),xe}},{id:"3",type:"\u586B\u7A7A\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0,Zn=x.createElement(x.Fragment,null,xr(xe,sn,Cn),(zn=xe==null?void 0:xe.answer)==null?void 0:zn.map((Mn,pa)=>x.createElement(yt,{id:xe==null?void 0:xe.id,key:pa,tagName:"p",value:`\u7B54\u6848${pa+1}\uFF1A${Mn.text||""}`})),Vr(xe,"",ra),Xa(xe));let Nn=ra?xe:Fn[sn];const Gn=x.createElement(x.Fragment,null,br(Nn,sn,Cn),(cn=Nn==null?void 0:Nn.answer)==null?void 0:cn.map((Mn,pa)=>x.createElement("div",{key:pa,className:ue.option},x.createElement("aside",{className:ue.fill},"\u586B\u7A7A\u9879",pa+1),Mn.model===1&&x.createElement(yt,{id:Nn==null?void 0:Nn.id,tagName:"div",onBlur:wa=>{Nn.answer[pa].latex=Cr(wa),Ra("answer",sn,Nn.answer,Cn)},className:`${ue.text}`,value:Mn.latex}),Mn.model===2&&x.createElement(Te.Z,{value:Mn.latex,onChange:wa=>{Nn.answer[pa].latex=wa,Ra("answer",sn,Nn.answer,Cn)}}))),jr(Nn,"",sn,Cn),wr(Nn));return ra?[Zn,Gn]:dr(Zn,Gn,Nn,sn)},deal:xe=>{var sn,Cn,zn,cn;xe.score=xe.score===void 0?2:xe.score,xe.question=(sn=xe.question)==null?void 0:sn.replaceAll("\u2581","_");const ra=(Cn=xe.answer)==null?void 0:Cn.map(Nn=>{if(Object.prototype.toString.call(Nn)==="[object Object]")return Nn;const Gn={model:1,text:Nn,latex:Nn};return Nn.startsWith("$$")&&Nn.endsWith("$$")||Nn.startsWith("`$$")&&Nn.endsWith("$$`")?(Gn.model=2,Gn.latex=Nn.slice(2,-2)):Gn.latex=Cr(Nn),Gn});xe.answer=ra;let Zn=[];return ra||Zn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Ua(xe==null?void 0:xe.question)?xe!=null&&xe.question.includes("_")?(zn=xe==null?void 0:xe.answer)!=null&&zn.length&&((xe==null?void 0:xe.question.match(/_+/g))||[]).length!==((cn=xe==null?void 0:xe.answer)==null?void 0:cn.length)&&Zn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Zn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Zn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=Zn.join(`
`),xe}},{id:"4",type:"\u7B80\u7B54\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0;let Zn=(zn=xe==null?void 0:xe.answer)==null?void 0:zn[0];const Nn=x.createElement(x.Fragment,null,xr(xe,sn,Cn),Vr(xe,Zn,ra),Xa(xe));let Gn=ra?xe:Fn[sn];const Mn=x.createElement(x.Fragment,null,br(Gn,sn,Cn),jr(Gn,(cn=Gn==null?void 0:Gn.answer)==null?void 0:cn[0],sn,Cn),wr(Gn));return ra?[Nn,Mn]:dr(Nn,Mn,Gn,sn)},deal:xe=>{xe.score=xe.score===void 0?5:xe.score;let sn=[];return Ua(xe==null?void 0:xe.question)||sn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=sn.join(`
`),xe}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(xe,sn)=>{var Cn,zn;const cn=Fn[sn],ra=za.slice(0,4).map(Zn=>({key:Zn,label:Zn,onClick:()=>Ra("platform",sn,Zn)}));return x.createElement("div",{className:ue.row,style:{display:Ze?cn!=null&&cn.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ue.leftLayout},x.createElement(Mt,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},xr(xe,sn),x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(xe==null?void 0:xe.description)||""}`,tagName:"p"}),Vr(xe),x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${xe==null?void 0:xe.timeLimit}`,tagName:"p"}),x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(xe==null?void 0:xe.platform)||""}`,tagName:"p"}),x.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),x.createElement("h4",null),x.createElement(yt,{id:xe==null?void 0:xe.id,value:(xe==null?void 0:xe.code)||"",tagName:"div"}),(Cn=xe==null?void 0:xe.inputs)==null?void 0:Cn.map((Zn,Nn)=>{var Gn;return x.createElement(x.Fragment,{key:Nn},x.createElement("h4",null),x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Nn+1})\u8F93\u5165\uFF1A${Zn||""}`,tagName:"div"}),x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Nn+1})\u8F93\u51FA\uFF1A${((Gn=xe==null?void 0:xe.outputs)==null?void 0:Gn[Nn])||""}`,tagName:"div"}))}),Xa(xe)))),x.createElement("div",{className:ue.rightLayout},x.createElement(ht,{className:cn!=null&&cn.errorMsg?ue.error:""},br(cn,sn),x.createElement("div",{className:ue.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),x.createElement(yt,{className:ue.edit,id:cn==null?void 0:cn.id,value:cn==null?void 0:cn.description,tagName:"div",onBlur:Zn=>Ra("description",sn,Zn)}))),jr(cn,"",sn),x.createElement("div",{className:ue.liWrap},x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),x.createElement(yt,{className:ue.edit,id:cn==null?void 0:cn.id,value:cn==null?void 0:cn.timeLimit,tagName:"div",onBlur:Zn=>Ra("timeLimit",sn,Cr(Zn))})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(We.Z,{menu:{items:ra}},x.createElement("span",{className:"c-light-primary"},cn==null?void 0:cn.platform,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),x.createElement("div",{className:ue.li,style:{flexDirection:"column",alignItems:"start"}},x.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),x.createElement(yt,{className:ue.edit,id:cn==null?void 0:cn.id,value:(cn==null?void 0:cn.code)||"",onBlur:Zn=>Ra("code",sn,Cr(Zn)),tagName:"div"}))),(zn=cn==null?void 0:cn.inputs)==null?void 0:zn.map((Zn,Nn)=>{var Gn;return x.createElement("div",{className:ue.liWrap,key:Nn},x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Nn+1,")\u8F93\u5165\uFF1A"),x.createElement(yt,{id:cn==null?void 0:cn.id,value:Zn||"",className:ue.edit,onBlur:Mn=>{const pa=[...(cn==null?void 0:cn.inputs)||[]];pa[Nn]=Cr(Mn),Ra("inputs",sn,pa)},tagName:"div"})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Nn+1,")\u8F93\u51FA\uFF1A"),x.createElement(yt,{id:cn==null?void 0:cn.id,value:((Gn=cn==null?void 0:cn.outputs)==null?void 0:Gn[Nn])||"",className:ue.edit,onBlur:Mn=>{const pa=[...(cn==null?void 0:cn.outputs)||[]];pa[Nn]=Cr(Mn),Ra("outputs",sn,pa)},tagName:"div"})))}),wr(cn))))},deal:xe=>{var sn,Cn,zn;xe.score=xe.score===void 0?10:xe.score,xe.code=(sn=xe.code)==null?void 0:sn.trim();let cn=[];Ua(xe==null?void 0:xe.question)?((Cn=xe==null?void 0:xe.question)==null?void 0:Cn.length)>60&&cn.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):cn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ua(xe==null?void 0:xe.description)||cn.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const ra=Ua(String((xe==null?void 0:xe.timeLimit)||""));if(xe.timeLimit=ra,(!ra||ra&&!["3","4","5","6","7","8","9","10"].includes(ra))&&cn.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),xe.platform=Ua(xe==null?void 0:xe.platform),xe!=null&&xe.platform){const Zn=["c","c++","java","python"],Nn=(zn=xe==null?void 0:xe.platform)==null?void 0:zn.toLowerCase(),Gn=Zn.findIndex(Mn=>Mn===Nn);Gn>-1?xe.platform=za[Gn]:cn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else cn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(xe!=null&&xe.inputs)||!(xe!=null&&xe.outputs))xe.inputs=[],xe.outputs=[],cn.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 Zn=Math.min(xe.inputs.length,xe.outputs.length);xe.inputs=xe.inputs.slice(0,Zn),xe.outputs=xe.outputs.slice(0,Zn),xe.outputs.some(Nn=>!Ua(Nn))&&cn.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return xe.errorMsg=cn.join(`
`),xe}},{id:"7",type:"\u7EC4\u5408\u9898",element:(xe,sn)=>{var Cn,zn;const cn=Fn[sn];return x.createElement("div",{className:ue.row,style:{display:Ze?cn!=null&&cn.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ue.leftLayout},x.createElement(Mt,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},xr(xe,sn),Vr(xe),(Cn=xe==null?void 0:xe.questions)==null?void 0:Cn.map((ra,Zn)=>{var Nn;const Gn=(Nn=Ao.find(Mn=>Mn.id===(ra==null?void 0:ra.type)))==null?void 0:Nn.element;return x.createElement(x.Fragment,{key:`left-${xe.id}-${Zn}`},Gn(ra,sn,Zn)[0])}),Xa(xe),x.createElement("p",{contentEditable:!0},"}}")))),x.createElement("div",{className:ue.rightLayout},x.createElement(ht,{className:cn!=null&&cn.errorMsg?ue.error:""},br(cn,sn),jr(cn,"",sn),(zn=cn==null?void 0:cn.questions)==null?void 0:zn.map((ra,Zn)=>{var Nn;const Gn=(Nn=Ao.find(Mn=>Mn.id===(ra==null?void 0:ra.type)))==null?void 0:Nn.element;return x.createElement(x.Fragment,{key:`right-${cn.id}-${Zn}`},Gn(ra,sn,Zn)[1])}),wr(cn))))},deal:xe=>{var sn,Cn,zn,cn,ra;const Zn=hr,Nn=[...Ao],Gn=Nn.findIndex(fa=>fa.id==="0"),Mn=Nn.findIndex(fa=>fa.id==="1");if(Gn!==-1){const fa=Nn[Gn].deal;Nn[Gn].deal=Ar=>{const fr=fa(Ar);return fr.errorMsg&&(fr.errorMsg=fr.errorMsg.split(`
`).filter(Or=>Or!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),fr}}if(Mn!==-1){const fa=Nn[Mn].deal;Nn[Mn].deal=Ar=>{const fr=fa(Ar);return fr.errorMsg&&(fr.errorMsg=fr.errorMsg.split(`
`).filter(Or=>Or!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),fr}}xe.questions=(sn=xe.questions)!=null&&sn.length?hr(xe.questions.slice(0,20)):[],xe.questions=(Cn=xe.questions)==null?void 0:Cn.map((fa,Ar)=>{var fr;if(fa.type==="0"||fa.type==="1"){const Or=(fr=fa.options)==null?void 0:fr.map($r=>$r==null?void 0:$r.trim().replace(/^\s+|\s+$/g,""));Or&&new Set(Or).size!==Or.length&&(fa.errorMsg=(fa.errorMsg?fa.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return vn(kt({},fa),{last:Ar===xe.questions.length-1})});const pa=(zn=xe.questions)==null?void 0:zn.reduce((fa,Ar)=>{const fr=parseFloat(Ar.score);return isNaN(fr)?fa:fa+fr},0);xe.score=pa;let wa=[];return(cn=xe.questions)!=null&&cn.length?xe.errorMsg=((ra=xe.questions)==null?void 0:ra.findIndex(fa=>!!fa.errorMsg))>-1:wa.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Ua(xe==null?void 0:xe.question)||wa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),wa.length&&(xe.errorMsg=wa.join(`
`)),xe}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(xe,sn)=>{var Cn,zn;const cn=Fn[sn],ra=za.map(Zn=>({key:Zn,label:Zn,onClick:()=>Ra("platform",sn,Zn)}));return x.createElement("div",{className:ue.row,style:{display:Ze?cn!=null&&cn.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ue.leftLayout},x.createElement(Mt,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},xr(xe,sn),Vr(xe),x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${xe==null?void 0:xe.timeLimit}`,tagName:"p"}),x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(xe==null?void 0:xe.platform)||""}`,tagName:"p"}),x.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),x.createElement("h4",null),x.createElement(yt,{id:xe==null?void 0:xe.id,value:(xe==null?void 0:xe.code)||"",tagName:"div"}),x.createElement("h4",null),x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(xe==null?void 0:xe.input)||""}`,tagName:"p"}),x.createElement(yt,{id:xe==null?void 0:xe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(xe==null?void 0:xe.output)||""}`,tagName:"p"}),(Cn=xe==null?void 0:xe.answer)==null?void 0:Cn.map((Zn,Nn)=>x.createElement(yt,{key:Nn,id:xe==null?void 0:xe.id,value:`\u7B54\u6848${Nn+1}\uFF1A${Zn||""}`,tagName:"p"})),Xa(xe)))),x.createElement("div",{className:ue.rightLayout},x.createElement(ht,{className:cn!=null&&cn.errorMsg?ue.error:""},br(cn,sn),jr(cn,"",sn),x.createElement("div",{className:ue.liWrap},x.createElement("div",{className:ue.li,onKeyDown:Wt},x.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),x.createElement(yt,{className:ue.edit,id:cn==null?void 0:cn.id,value:cn==null?void 0:cn.timeLimit,tagName:"div",onBlur:Zn=>Ra("timeLimit",sn,Cr(Zn))})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(We.Z,{menu:{items:ra}},x.createElement("span",{className:"c-light-primary"},cn==null?void 0:cn.platform,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),x.createElement("div",{className:ue.li,style:{flexDirection:"column",alignItems:"start"}},x.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),x.createElement(yt,{className:ue.edit,id:cn==null?void 0:cn.id,value:(cn==null?void 0:cn.code)||"",onBlur:Zn=>Ra("code",sn,Cr(Zn)),tagName:"div"})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),x.createElement(yt,{className:ue.edit,id:cn==null?void 0:cn.id,value:(cn==null?void 0:cn.input)||"",onBlur:Zn=>Ra("input",sn,Cr(Zn)),tagName:"div"})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),x.createElement(yt,{className:ue.edit,id:cn==null?void 0:cn.id,value:(cn==null?void 0:cn.output)||"",onBlur:Zn=>Ra("output",sn,Cr(Zn)),tagName:"div"}))),x.createElement("div",{className:ue.liWrap},(zn=cn==null?void 0:cn.answer)==null?void 0:zn.map((Zn,Nn)=>x.createElement("div",{className:ue.li,key:Nn},x.createElement("aside",null,"\u7B54\u6848",Nn+1,"\uFF1A"),x.createElement(yt,{id:cn==null?void 0:cn.id,value:Zn||"",className:ue.edit,onBlur:Gn=>{const Mn=[...(cn==null?void 0:cn.answer)||[]];Mn[Nn]=Cr(Gn),Ra("output",sn,Mn)},tagName:"div"})))),wr(cn))))},deal:xe=>{var sn,Cn,zn,cn,ra,Zn,Nn,Gn;xe.score=xe.score===void 0?10:xe.score,xe.code=(zn=(Cn=(sn=xe.code)==null?void 0:sn.trim())==null?void 0:Cn.replace(/@_@/g,"@\u2581@"))==null?void 0:zn.replace(/@__@/g,"@\u2581\u2581@");let Mn=[];if(Ua(xe==null?void 0:xe.question)||Mn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ua(xe==null?void 0:xe.code)?/@▁@|@▁▁@/.test(xe==null?void 0:xe.code)?(cn=xe==null?void 0:xe.answer)!=null&&cn.length&&((ra=xe==null?void 0:xe.code.match(/@▁@|@▁▁@/g))==null?void 0:ra.length)!==((Zn=xe==null?void 0:xe.answer)==null?void 0:Zn.length)&&Mn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Mn.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"):Mn.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),xe!=null&&xe.answer?(Nn=xe.answer)!=null&&Nn.some(wa=>!Ua(wa))&&Mn.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Mn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),xe.platform=Ua(xe==null?void 0:xe.platform),xe!=null&&xe.platform){const wa=["c","c++","java","python","javascript","ruby"],fa=(Gn=xe==null?void 0:xe.platform)==null?void 0:Gn.toLowerCase(),Ar=wa.findIndex(fr=>fr===fa);Ar>-1?xe.platform=za[Ar]:Mn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Mn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Ua(xe==null?void 0:xe.output)||Mn.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const pa=Ua(String((xe==null?void 0:xe.timeLimit)||""));return xe.timeLimit=pa,(!pa||pa&&!["3","4","5","6","7","8","9","10"].includes(pa))&&Mn.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),xe.errorMsg=Mn.join(`
`),xe}}],Go=()=>x.createElement(x.Fragment,null,Yt.filter(xe=>{var sn;return!!((sn=Ao.find(zn=>zn.id===(xe==null?void 0:xe.type)))==null?void 0:sn.element)}).map((xe,sn)=>{var Cn;const zn=(Cn=Ao.find(cn=>cn.id===(xe==null?void 0:xe.type)))==null?void 0:Cn.element;return x.createElement(x.Fragment,{key:xe.id},zn(xe,sn))})),ai=()=>je(void 0,null,function*(){const xe=Fn.filter(sn=>!sn.checked);if(Ln!==3||!xe.length){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Qa.setFieldsValue({sub_discipline_id:mt}),jt(!0)}),$a=xe=>je(void 0,null,function*(){const sn=hr(xe);An(sn),Xn(JSON.parse(JSON.stringify(sn))),ta(3),Ba(!1),ia(!1),Nt(!1)});(0,x.useEffect)(()=>{if($t)return;const xe=()=>{jn(sn=>sn>=90?(clearInterval(xa.current),90):sn+1)};return xa.current=setInterval(xe,5e4/90),()=>clearInterval(xa.current)},[$t]);const ga=(xe,sn)=>{qn(!1);const Cn=new FormData;Object.keys(sn).forEach(cn=>{Cn.append(cn,sn[cn])});const zn=new window.XMLHttpRequest;zn.withCredentials=!0,zn.addEventListener("load",function(cn){return je(this,null,function*(){var ra,Zn;try{const Nn=JSON.parse((ra=cn==null?void 0:cn.target)==null?void 0:ra.response);if(qn(!0),jn(100),yield new Promise(Gn=>setTimeout(()=>Gn(),780)),Nn.status===0){if(!((Zn=Nn==null?void 0:Nn.data)!=null&&Zn.length)){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Ba(!1);return}$a((Nn==null?void 0:Nn.data)||[])}else Ba(!1),Oe.ZP.warning(Nn==null?void 0:Nn.message)}catch(Nn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",Nn)}})}),zn.addEventListener("error",()=>{Ba(!1)}),zn.open("POST",`${re.Z.API_SERVER}${xe}`),zn.send(Cn)},Tn=xe=>je(void 0,null,function*(){const sn=xe.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(sn)==-1?(Oe.ZP.error(`${xe.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()):(Ba(!0),va("\u5904\u7406\u4E2D"),ga("/api/intelligent_imports/import.json",{file:xe}),Promise.reject())}),Fa=xe=>je(void 0,null,function*(){const sn=xe.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(sn)==-1?(Oe.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()):xe.size/1024/1024>200?(Oe.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(dn!=null&&dn.length?se.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:()=>Qt([xe])}):Qt([xe]),Promise.reject())});let cr=[{key:1,label:x.createElement(nt.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Tn},x.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,gt.Ny)()||(0,gt.$O)())&&cr.push({key:2,label:x.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{ia(!0)}});const Nr=[Fn.length,(bn=Fn.filter(xe=>!!(xe!=null&&xe.errorMsg)))==null?void 0:bn.length];return x.createElement("div",{className:Me()(ue.intelligentBox,"intelligent-body-curb",fe),style:vn(kt({},qe),{width:Ct}),ref:sa},x.createElement("div",{className:ue.underpin},x.createElement("b",{style:St}),x.createElement("b",{style:St})),x.createElement("div",{className:ue.head,style:{top:Ne}},x.createElement("div",{className:ue.leftLayout},zt||x.createElement(x.Fragment,null,x.createElement(ot.Z,{align:"middle"},x.createElement("div",{className:ue.title},"\u8BD5\u9898\u7F16\u8F91"),!un&&x.createElement(ne.op,{href:`${re.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",x.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),x.createElement(ne.op,{onClick:ar,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!un&&x.createElement(We.Z,{overlayClassName:ue.menu,menu:{items:cr}},x.createElement(ne.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!Dt&&Dt),x.createElement("div",{className:ue.tip},x.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"))),x.createElement(ot.Z,{className:ue.rightLayout,style:{alignItems:"start"}},ln||x.createElement(x.Fragment,null,x.createElement("div",{className:ue.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Ln)&&x.createElement(Ve.default,{className:"ml20",checked:Ze,onChange:xe=>Nt(xe.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Ln)&&x.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",x.createElement("span",{className:"ml5 mr5 c-light-primary"},Nr[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",x.createElement("span",{className:"ml5 mr5 c-red-e53"},Nr[1]),"\u9898")),Lt&&x.createElement("div",{className:ue.tabs},Yt==null?void 0:Yt.map((xe,sn)=>x.createElement("div",{onClick:()=>{_n(sn)},className:nn===sn&&ue.active,key:sn},"\u65B0\u9898",sn+1)))),x.createElement("div",{className:ue.centerBox},x.createElement("img",{className:"mb10",src:ye,width:56}),!ze&&x.createElement(ne.op,{onClick:Fr},"\u8BC6\u522B"))),[1,2].includes(Ln)&&ur(),[3].includes(Ln)&&Go(),x.createElement("div",{className:"pb10"}),x.createElement("div",{className:ue.buttonFixed},x.createElement("div",{className:ue.buttonWrap},x.createElement(Xe.ZP,{size:"middle",className:`${ue.button} mr20`,onClick:Fe},"\u53D6\u6D88"),x.createElement(Xe.ZP,{size:"middle",type:"primary",className:`${ue.button}`,onClick:ai},Pn))),x.createElement(se.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Hn,title:null,footer:null,width:320,afterClose:()=>jn(0)},x.createElement(ot.Z,{align:"middle",style:{flexDirection:"column"}},x.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Ea,x.createElement("span",{className:ue.dotLoading},x.createElement("span",null,"."),x.createElement("span",null,"."),x.createElement("span",null,"."))),x.createElement(le.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:oa}),x.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",x.createElement("span",{className:"ml5 c-light-primary"},oa,"%")))),x.createElement(se.default,{centered:!0,open:tn,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Zt,width:480,onCancel:()=>jt(!1),onOk:()=>Qa.submit(),afterClose:()=>{Qa.resetFields()}},x.createElement(Le.default,{style:{maxHeight:550},form:Qa,layout:"horizontal",colon:!1,size:"large",onFinish:xe=>je(void 0,null,function*(){var sn,Cn,zn,cn,ra;const Zn=Fn.filter(Mn=>!Mn.checked&&!Mn.errorMsg);Kt(!0);const Nn=()=>je(void 0,null,function*(){var Mn,pa;const wa=yield(0,Ge.ZP)("/api/intelligent_imports/save.json",{method:"post",body:vn(kt(kt({},at),xe),{list:Zn,mode:Je})});wa.status===0&&(fn&&((Mn=wa==null?void 0:wa.data)!=null&&Mn.success)&&window.location.pathname==="/problemset"&&(Xt.Z.publish("refresh-item-bank",xe.group_id),yield new Promise(fa=>setTimeout(()=>fa(),1500))),Oe.ZP.success(`\u6210\u529F\u5BFC\u5165${(pa=wa==null?void 0:wa.data)==null?void 0:pa.success}\u9053\u8BD5\u9898`,3),Ce(),jt(!1)),Kt(!1)});if(Je!==1){yield Nn();return}const Gn=yield(0,Ge.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Fn,mode:Je}});if(Gn.status===0){if(!((sn=Gn==null?void 0:Gn.data)!=null&&sn.error_size)){yield Nn();return}se.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{Kt(!1)},title:"\u63D0\u793A",content:x.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",x.createElement("span",{className:"c-light-primary ml5 mr5"},(Cn=Gn==null?void 0:Gn.data)==null?void 0:Cn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",x.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(zn=Gn==null?void 0:Gn.data)==null?void 0:zn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",x.createElement("span",{className:"ml5 mr5"},(ra=(cn=Gn==null?void 0:Gn.data)==null?void 0:cn.index)==null?void 0:ra.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:Nn})}})},x.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),x.createElement(Le.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"}]},x.createElement(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:Pt})),Je===1&&x.createElement(Le.default.Item,{label:x.createElement(ot.Z,{align:"middle",style:{justifyContent:"space-between"}},x.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),x.createElement("div",{onClick:()=>st(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},x.createElement("img",{className:"mr5 primary-hover",src:Qe}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},x.createElement(Ae.Z,{key:rn})))),x.createElement(se.default,{centered:!0,open:pn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:Un,onCancel:()=>st(!1),onOk:()=>Ja.submit(),afterClose:()=>{Ja.resetFields()}},x.createElement(Le.default,{style:{maxHeight:550},form:Ja,layout:"horizontal",colon:!1,size:"large",onFinish:xe=>je(void 0,null,function*(){var sn;lt(!0),(yield(0,Ge.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:xe.name,parent_id:(sn=xe==null?void 0:xe.parent_id)==null?void 0:sn[0]}})).status===0?(In(rn+1),setTimeout(()=>{Oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),st(!1),lt(!1)},1e3)):lt(!1)})},x.createElement(Le.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"}]},x.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),x.createElement(Le.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},x.createElement(Ae.Z,null)))),x.createElement(se.default,{centered:!0,open:yn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>ia(!1),onOk:()=>{if(Jn===1&&!Ua(ma)){Oe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(Jn===2&&!Ua(ma)&&!(dn!=null&&dn.length)){Oe.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const xe=[{name:"\u5355\u9009\u9898",num:Sn||0},{name:"\u591A\u9009\u9898",num:kn||0},{name:"\u5224\u65AD\u9898",num:wn||0},{name:"\u586B\u7A7A\u9898",num:La||0},{name:"\u7B80\u7B54\u9898",num:Da||0}];if(xe.reduce((zn,cn)=>zn+cn.num,0)===0){Oe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(Jn,Sn,kn),Ba(!0),va("\u5904\u7406\u4E2D");const Cn={type:Jn,query:ma,item_types:JSON.stringify(xe)};Jn===2&&(Cn.file=(dn==null?void 0:dn[0])||null),ga("/api/intelligent_imports/large_model_intelligent_qa.json",Cn)}},x.createElement(ot.Z,{align:"middle",className:"mb10 c-black"},x.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),x.createElement(b.ZP.Group,{value:Jn,onChange:xe=>Ma(xe.target.value)},x.createElement(b.ZP,{value:1,className:"c-black"},"\u6839\u636E\u77E5\u8BC6\u70B9\u51FA\u9898"),x.createElement(b.ZP,{value:2,className:"ml40 c-black"},"\u6839\u636E\u6750\u6599\u51FA\u9898"))),x.createElement(a.default.TextArea,{style:{height:120},className:"mb20",value:ma,placeholder:Jn===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:xe=>{Ue(xe.target.value)}}),Jn===2&&x.createElement(x.Fragment,null,x.createElement(nt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:dn,beforeUpload:Fa,className:"mb20",onRemove:()=>Qt([])},x.createElement(E.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"},x.createElement(ne.op,{style:{borderRadius:2}},x.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),x.createElement("div",{style:{height:20}})),x.createElement(ot.Z,{align:"middle",className:"c-black"},x.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),x.createElement(ot.Z,{gutter:16},x.createElement(z.Z,null,x.createElement("label",null,"\u5355\u9009\u9898"),x.createElement(dt.Z,{min:0,max:10,value:Sn,onChange:On,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u591A\u9009\u9898"),x.createElement(dt.Z,{min:0,max:10,value:kn,onChange:Dn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u5224\u65AD\u9898"),x.createElement(dt.Z,{min:0,max:10,value:wn,onChange:Aa,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u586B\u7A7A\u9898"),x.createElement(dt.Z,{min:0,max:10,value:La,onChange:mn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u7B80\u7B54\u9898"),x.createElement(dt.Z,{min:0,max:10,value:Da,onChange:na,style:{marginLeft:"8px"}}))))))},_e=ie;var Se=rt},59879:function(Ut,Gt,te){"use strict";var x=te(59301),ue=te(88010),Be=te(48136),Me=te(41588),Le=te(43418),Oe=te(59301);const se=(0,x.forwardRef)(({callback:dt,width:ot,onChange:Ve,disabled:We,readOnly:nt,type:Xe="",value:le="",style:y={}},a)=>{const b=(0,x.useRef)(),E=(0,x.useRef)(),[z,ne]=(0,x.useState)(0),[re,ie]=(0,x.useState)(0),[me,pe]=(0,x.useState)(!1),ye=()=>{var ve=document.createElement("div");ve.innerHTML=b.current.getValue();var Te=ve.innerText;return dt&&dt(Te),Te};(0,x.useImperativeHandle)(a,()=>({getData:ye}));const Ge=ve=>{ve.preventDefault();const Te=ve.clientX-z,Ye=ve.clientY-re;document.body.onmousemove=bt=>{let De=bt.clientX-Te,ut=bt.clientY-Ye;const Ft=document.getElementsByClassName("markdown-popup-form")[0],yt=window.innerWidth-Ft.offsetWidth,gt=window.innerHeight-Ft.offsetHeight;De=Math.max(0,Math.min(De,yt)),ut=Math.max(0,Math.min(ut,gt)),Ae(bt.clientX,bt.clientY,Te,Ye)&&(ne(De),ie(ut))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ae=(ve,Te,Ye,bt)=>{const De=document.body.clientHeight,ut=document.body.clientWidth;return ve<20&&Ye>ve||ve>ut-20&&Ye<ve||Te<20&&bt>Te||Te>De-20&&bt<Te?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,x.useEffect)(()=>{me&&setTimeout(()=>{const ve=document.getElementsByClassName("markdown-popup-form")[0],Te=window.innerWidth/2-ve.offsetWidth/2,Ye=window.innerHeight/2-ve.offsetHeight/2;ne(Te),ie(Ye)},0)},[me]);const Qe=()=>{We||nt||pe(!0)};return Oe.createElement("div",{style:y},Oe.createElement("div",{style:{width:ot||"100%",position:"relative"},className:`${ue.Z.mathFillWrap} ${We||nt?"cursorDefault":""}`,onClick:()=>Qe()},Oe.createElement("math-field",{disabled:We,locale:"zh_cn",class:`${ue.Z.mathField} ${Xe}`,readOnly:nt,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:le?18:14},value:le||""})),Oe.createElement(Le.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:Oe.createElement("div",{style:{cursor:"move"},onMouseDown:Ge},"\u8F93\u5165\u516C\u5F0F"),open:me,onOk:()=>{const ve=E.current.getData();b.current.setValue(ve),Ve(ve),pe(!1)},onCancel:()=>{pe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Oe.createElement(Me.Z,{value:le,ref:E,onChange:Ve,showSaveButton:!1})))});Gt.Z=se},41588:function(Ut,Gt,te){"use strict";var x=te(59301),ue=te(95237),Be=te(43604),Me=te(99313),Le=te(3113),Oe=te(85149),se=te(88010),dt=te(48136),ot=te(59301);const Ve=(0,x.forwardRef)(({callback:We,showSaveButton:nt,value:Xe=""},le)=>{const y=(0,x.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 "}]}]}],b=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],E=re=>{y.current.setValue(y.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ot.createElement(ue.Z,{className:se.Z.lists,gutter:[10,10]},a.map((re,ie)=>ot.createElement(Be.Z,{flex:"110px",className:se.Z.item},ot.createElement("div",null,ot.createElement(Oe.Z,{value:`$$${re.value}$$`}),re.name),ot.createElement("div",{className:se.Z.children},re.children.map((me,pe)=>ot.createElement("div",{key:pe},ot.createElement("h1",null,me.name),ot.createElement(ue.Z,{gutter:[10,10]},me.data.map((ye,Ge)=>ot.createElement(Be.Z,{key:Ge,onClick:()=>E(ye),className:se.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ot.createElement(ue.Z,{className:se.Z.lists,gutter:[10,10]},b.map((re,ie)=>ot.createElement(Be.Z,{flex:"110px",className:se.Z.item},ot.createElement("div",null,ot.createElement(Oe.Z,{value:"`$$"+re.value+"$$`"}),re.name),ot.createElement("div",{className:se.Z.children},re.children.map((me,pe)=>ot.createElement("div",{key:pe},me.name&&ot.createElement("h1",null,me.name),ot.createElement(ue.Z,{gutter:[10,10]},me.data.map((ye,Ge)=>ot.createElement(Be.Z,{key:Ge,onClick:()=>E(ye),className:se.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=y.current.getValue();var ie=re.innerText;return We&&We(ie),ie};return(0,x.useImperativeHandle)(le,()=>({getData:ne})),ot.createElement("div",{className:se.Z.mathWrap},ot.createElement(Me.default,{defaultActiveKey:"1",items:z}),ot.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Xe||""),nt&&ot.createElement("div",{className:se.Z.button},ot.createElement(Le.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Gt.Z=Ve},87198:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return nt}});var x=te(59301),ue=te(78241),Be=te(43418),Me=te(92832),Le=te(87169),Oe=te(99064),se={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},dt=te(86918),ot=te(59301),Ve=(Xe,le,y)=>new Promise((a,b)=>{var E=re=>{try{ne(y.next(re))}catch(ie){b(ie)}},z=re=>{try{ne(y.throw(re))}catch(ie){b(ie)}},ne=re=>re.done?a(re.value):Promise.resolve(re.value).then(E,z);ne((y=y.apply(Xe,le)).next())}),nt=({type:Xe="subject",open:le,onCancel:y,onOkClick:a,subDisciplineId:b})=>{const[E]=ue.default.useForm(),[z,ne]=(0,x.useState)([]),[re,ie]=(0,x.useState)(!1);(0,x.useEffect)(()=>{},[]);const me=()=>Ve(void 0,null,function*(){if(Xe){const pe=yield(0,Oe.ZP)("/api/disciplines.json",{method:"get",params:{source:Xe}});ne(pe.disciplines||[])}});return ot.createElement(Be.default,{title:ot.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:le,width:558,centered:!0,className:se.publicQuest,onCancel:()=>{y(),E.resetFields()},onOk:()=>{E.validateFields().then(pe=>Ve(void 0,null,function*(){const ye=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:pe==null?void 0:pe.name,sub_discipline_id:b}});(ye==null?void 0:ye.status)===0&&a({name:pe==null?void 0:pe.name,id:ye==null?void 0:ye.tag_discipline_id,public:!1,type:"personal"}),E.resetFields(),y()}))}},ot.createElement("div",{className:se.publicQuestContent},ot.createElement("div",{className:se.public_tips},ot.createElement(Le.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"),ot.createElement(ue.default,{labelAlign:"left",form:E,colon:!1},ot.createElement(ue.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},ot.createElement(Me.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),ot.createElement(dt.Z,{open:re,onCancel:()=>{ie(!1)}})))}},67248:function(Ut,Gt,te){"use strict";te.d(Gt,{Q:function(){return ot},Z:function(){return We}});var x=te(59301),ue={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=te(92310),Me=te.n(Be),Le=te(43418),Oe=te(8591),se=te(24905),dt=(nt,Xe,le)=>new Promise((y,a)=>{var b=ne=>{try{z(le.next(ne))}catch(re){a(re)}},E=ne=>{try{z(le.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(b,E);z((le=le.apply(nt,Xe)).next())});const ot=({title:nt="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Xe=[],visible:le,setVisible:y,tip:a,onOk:b})=>{const[E,z]=(0,x.useState)([]),[ne,re]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{le&&z(Xe)},[le]),x.createElement(Le.default,{centered:!0,open:le,title:nt,confirmLoading:ne,width:564,onOk:()=>dt(void 0,null,function*(){if(!E.length){Oe.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}re(!0),yield b(E),re(!1)}),onCancel:()=>y(!1)},!!a&&x.createElement("div",{className:"c-grey-666 font16 mb10"},a),x.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},x.createElement(se.default.Group,{value:E,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:ie=>{z(ie)}})))};var We=({title:nt="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Xe,style:le={},onEdit:y,dataSource:a=[]})=>{const b={C:x.createElement("div",{className:ue.c},"C"),"C++":x.createElement("div",{className:ue.cpp},"C++"),Java:x.createElement("div",{className:ue.java},"Java"),Python:x.createElement("div",{className:ue.python},"Python")};return x.createElement("div",{className:Me()(ue.tags,Xe),style:le},!!nt&&x.createElement("div",{className:ue.text},nt),x.createElement("div",{className:ue.tagWrap},a==null?void 0:a.map(E=>x.createElement(x.Fragment,{key:E},b[E]))),!!y&&x.createElement("div",{onClick:y,className:`iconfont icon-bianji_Hover ${ue.edit}`}))}},90502:function(Ut,Gt,te){"use strict";te.d(Gt,{t:function(){return rt}});var x=te(59301),ue=te(92832),Be=te(78241),Me=te(43418),Le=te(95237),Oe=te(43604),se=te(5871),dt=te(57809),ot=te(5112),Ve=te(41984),We=te(89070),nt=te(43809),Xe=te(8591),le=te(3113),y=te(71418),a=te(24334),b={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"},E=te(99064),z=te(88264),ne=te(12290),re=te(56102),ie=te(74440),me=te(59301),pe=Object.defineProperty,ye=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,Te=(_e,Se,fe)=>Se in _e?pe(_e,Se,{enumerable:!0,configurable:!0,writable:!0,value:fe}):_e[Se]=fe,Ye=(_e,Se)=>{for(var fe in Se||(Se={}))Qe.call(Se,fe)&&Te(_e,fe,Se[fe]);if(Ae)for(var fe of Ae(Se))ve.call(Se,fe)&&Te(_e,fe,Se[fe]);return _e},bt=(_e,Se)=>ye(_e,Ge(Se)),De=(_e,Se,fe)=>new Promise((qe,Ct)=>{var Fe=Je=>{try{at(fe.next(Je))}catch(Ne){Ct(Ne)}},Ce=Je=>{try{at(fe.throw(Je))}catch(Ne){Ct(Ne)}},at=Je=>Je.done?qe(Je.value):Promise.resolve(Je.value).then(Fe,Ce);at((fe=fe.apply(_e,Se)).next())}),Ft=({buttonProps:_e,buttonText:Se,form:fe,hackIdentifier:qe="",answerKey:Ct,data:Fe})=>{const[Ce,at]=(0,x.useState)(!1),[Je,Ne]=(0,x.useState)(!1),[mt,un]=(0,x.useState)(!1),[en,zt]=(0,x.useState)({}),[ln,on]=(0,x.useState)(""),[ze,At]=(0,x.useState)(""),Lt=(0,x.useRef)(qe),St=(0,x.useRef)(""),Dt=(0,x.useRef)(!1);(0,x.useEffect)(()=>{mt&&Ln()},[mt]),(0,x.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const fn=()=>new Date().getTime(),Pn=Fe==null?void 0:Fe.code,bn=()=>{var jn,Ea;let va=Pn?Fe==null?void 0:Fe.code:(jn=fe.getFieldValue("hack_codes"))==null?void 0:jn.code,Hn=Pn?Fe==null?void 0:Fe.answer_content:fe.getFieldValue(Ct),Ba=Pn?Fe==null?void 0:Fe.input:(Ea=fe.getFieldValue("hack_sets"))==null?void 0:Ea.input;Hn==null||Hn.forEach(Yt=>{const An=Yt.value||Yt.answer_text||"";va=va.replace(/(@▁@|@▁▁@)/,An)}),At(Ba),on(va),zt({}),un(!0)},Ln=()=>De(void 0,null,function*(){var jn,Ea,va,Hn;const Ba=fn(),Yt=Pn?Fe==null?void 0:Fe.time_limit:(jn=fe.getFieldsValue())==null?void 0:jn.hack.time_limit,An=Pn?(Ea=Fe==null?void 0:Fe.answer_content)==null?void 0:Ea.length:(Hn=(va=fe.getFieldsValue())==null?void 0:va.standard_answers)==null?void 0:Hn.length;at(!0),yield(0,z.bM)(St.current,{test_hack_code:ln,test_input:ze});function Fn(){return De(this,null,function*(){const{status:Xn,data:Ze}=yield(0,z.rX)(St.current,"submit"),Zt=fn()-Ba>(Yt+3)*1e3*An;if(Dt.current){if(Zt){Xe.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),at(!1);return}if(Xn===0){at(!1),zt(bt(Ye({},Ze),{showText:!0}));return}setTimeout(Fn,1e3)}})}Fn()}),ta=()=>De(void 0,null,function*(){var jn,Ea,va,Hn,Ba,Yt,An;if(!Fe){try{yield fe.validateFields()}catch(Nt){(va=(Ea=(jn=Nt==null?void 0:Nt.errorFields)==null?void 0:jn[0])==null?void 0:Ea.name)!=null&&va.includes("standard_answers")?Xe.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Xe.ZP.error(Nt.errorFields[0].errors[0]),fe.scrollToField(Nt.errorFields[0].name,{behavior:"smooth",block:"center"});return}Ne(!0);let Xn="";const Ze=fe.getFieldsValue();Lt.current?Xn=yield(0,E.ZP)(`/api/problems/${Lt.current}.json`,{method:"put",body:bt(Ye({},Ze),{hack:bt(Ye({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(An=(Yt=Ze==null?void 0:Ze.hack)==null?void 0:Yt.sub_discipline_id)==null?void 0:An[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:bt(Ye({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),update_hack_sets:[Ye({},Ze.hack_sets)],is_blank:!0})}):(Xn=yield(0,E.ZP)("/api/problems.json",{method:"post",body:bt(Ye({},Ze),{hack:bt(Ye({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(Ba=(Hn=Ze==null?void 0:Ze.hack)==null?void 0:Hn.sub_discipline_id)==null?void 0:Ba[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:bt(Ye({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),hack_sets:[Ye({},Ze.hack_sets)],is_blank:!0})}),Lt.current=Xn==null?void 0:Xn.identifier,sessionStorage.projectFill=Xn==null?void 0:Xn.identifier)}const Fn=yield(0,E.ZP)(`/api/problems/${Lt.current}/start.json`,{method:"get"});if((Fn==null?void 0:Fn.status)===0){St.current=Fn==null?void 0:Fn.identifier,Dt.current=!0,Ne(!1),bn();return}Ne(!1)}),oa=jn=>{const{status:Ea,error_msg:va,execute_time:Hn,output:Ba,input:Yt,expected_output:An}=jn;let Fn=null;switch(Ea){case ie.h.OK:Fn=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Hn/1e3,"\u79D2"),me.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ie.h.NOMATCH:Fn=me.createElement(me.Fragment,null,me.createElement("div",null,"\u8F93\u5165\uFF1A"),me.createElement("pre",{style:{fontFamily:"initial"}},Yt),me.createElement("div",null,"\u8F93\u51FA\uFF1A"),me.createElement("pre",{style:{fontFamily:"initial"}},Ba&&a.Base64.decode(Ba)),me.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),me.createElement("pre",{style:{fontFamily:"initial"}},An&&a.Base64.decode(An)));break;case ie.h.EXECUTEFAILURE:Fn=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",me.createElement("pre",null,Yt)),me.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:"error"},a.Base64.decode(va)));break;case ie.h.COMPILEFAILURE:Fn=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",me.createElement("pre",null,Yt)),me.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:"error"},a.Base64.decode(va)));break;case ie.h.PODFAILURE:Fn=me.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ie.h.TIMEOUT:Fn=me.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return me.createElement(me.Fragment,null," ",Fn," ")};return me.createElement("div",null,me.createElement(le.ZP,bt(Ye({loading:Je},_e),{onClick:ta}),Se),me.createElement(Me.default,{open:mt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Ce,cancelButtonProps:{style:{display:"none"}},onOk:()=>Ln(),onCancel:()=>{Dt.current=!1,un(!1)}},me.createElement("div",{className:b.result},me.createElement("div",{className:b.left},me.createElement("div",{className:"mb20"},me.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Fe&&me.createElement(re.CopyToClipboard,{text:ln,onCopy:()=>Xe.ZP.success("\u590D\u5236\u6210\u529F")},me.createElement("span",{style:{float:"right"},className:"current c-light-primary"},me.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),me.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:ln,onChange:jn=>on(jn)})),me.createElement("div",{className:b.right},me.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),me.createElement("div",{className:b.box},me.createElement("div",{className:b.li},me.createElement(ue.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ze,onChange:jn=>At(jn.target.value),bordered:!1,style:{height:180}}))),me.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),me.createElement("div",{className:b.box},me.createElement(y.Z,{spinning:Ce,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},me.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},oa(en))))))))},yt=te(87169),gt=te(59301),Xt=Object.defineProperty,vt=Object.defineProperties,an=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,qt=(_e,Se,fe)=>Se in _e?Xt(_e,Se,{enumerable:!0,configurable:!0,writable:!0,value:fe}):_e[Se]=fe,hn=(_e,Se)=>{for(var fe in Se||(Se={}))tt.call(Se,fe)&&qt(_e,fe,Se[fe]);if(En)for(var fe of En(Se))et.call(Se,fe)&&qt(_e,fe,Se[fe]);return _e},kt=(_e,Se)=>vt(_e,an(Se)),vn=(_e,Se)=>{var fe={};for(var qe in _e)tt.call(_e,qe)&&Se.indexOf(qe)<0&&(fe[qe]=_e[qe]);if(_e!=null&&En)for(var qe of En(_e))Se.indexOf(qe)<0&&et.call(_e,qe)&&(fe[qe]=_e[qe]);return fe};const{TextArea:je}=ue.default,Ot=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Wt=({value:_e,onChange:Se})=>gt.createElement(Switch,{checked:_e,onChange:fe=>{Se(fe)}}),Mt="@\u2581@",ht="@\u2581\u2581@",rt=({questionTitlePlaceholder:_e,form:Se,scoreByBlank:fe=!1,hackidentifier:qe,answerKey:Ct})=>{const[Fe,Ce]=(0,x.useState)(!1),[at,Je]=(0,x.useState)(!1),mt=(0,We.useParams)().type==="edit",un=(St,Dt)=>{const fn=Dt.line;let Pn=0;for(let Ln=0;Ln<fn;Ln++)Pn+=St.getLine(Ln).split(Mt).length-1;for(let Ln=0;Ln<fn;Ln++)Pn+=St.getLine(Ln).split(ht).length-1;const bn=St.getLine(fn).substring(0,Dt.ch);return Pn+=bn.split(Mt).length-1,Pn+=bn.split(ht).length-1,Pn},en=(St,Dt,fn,Pn)=>{const bn=St.getRange(Dt.from,Dt.to);let Ln=0;if(Dt.text.forEach(ta=>{Ln+=ta.split(Mt).length-1}),Dt.text.forEach(ta=>{Ln+=ta.split(ht).length-1}),Dt.origin!=="setValue"){if(bn&&(bn.indexOf(Mt)!==-1||bn.indexOf(ht)!==-1)){const ta=bn.split(Mt).length-1+bn.split(ht).length-1,oa=un(St,Dt.from);if(console.log(`\u5220\u9664${ta}\u4E2A\uFF0C \u524D\u9762\u6709${oa}\u4E2A\uFF0C\u65B0\u589E${Ln}\u4E2A`),ta>1){const jn=Array.from({length:ta},(Ea,va)=>oa+va);Pn(jn)}else Pn(oa)}else if(Ln>0){const ta=un(St,Dt.from);console.log(`\u65B0\u589E${Ln}\u4E2A\uFF0C\u4E4B\u524D\u6709${ta}\u4E2A`),fn(Ln,ta)}}},zt=()=>{const St=Se.getFieldValue(Ct);Se.setFieldsValue({[Ct]:St==null?void 0:St.map((Dt,fn)=>kt(hn({},Dt),{position:fn+1}))})},ln=(0,x.useRef)(),on=(St,Dt)=>{for(let fn=0;fn<St;fn++)ln.current({position:null,answer_text:""},Dt+fn);zt()},ze=(0,x.useRef)(),At=St=>{ze.current(St),zt()},Lt=Be.default.useWatch(Ct,Se);return gt.createElement("div",{className:nt.Z.wrap},gt.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Ve.h,{scrollId:"name",watch:!0,height:140})),gt.createElement("div",{className:nt.Z.questionTitleEditorWrap},gt.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Ve.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(St,Dt)=>{const fn=Se.getFieldValue(Ct);console.log("--preAnswerData",fn,Dt),Se.setFieldsValue({[Ct]:fn==null?void 0:fn.map((Pn,bn)=>{var Ln;return kt(hn({},Pn),{position:bn+1,multi_line:(Ln=Dt==null?void 0:Dt[bn])==null?void 0:Ln.multiLine})})})},placeholder:_e,onCMBeforeChange:(St,Dt)=>{en(St,Dt,on,At)}}))),gt.createElement(Be.default.List,{name:Ct,rules:[{validator(St,Dt){if(!(Dt!=null&&Dt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const fn of Dt){const{answer_text:Pn}=fn||{};if((Pn==null?void 0:Pn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(St,{add:Dt,remove:fn},{errors:Pn})=>(ln.current=Dt,ze.current=fn,gt.createElement(gt.Fragment,null,gt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},gt.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),gt.createElement("div",{onClick:()=>{Me.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:gt.createElement("div",null,gt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",gt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),gt.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"}},gt.createElement(yt.Z,{style:{marginRight:3,color:"#3061D0"}}),gt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),St.map((bn,Ln)=>{var ta=bn,{key:oa,name:jn}=ta,Ea=vn(ta,["key","name"]),va,Hn;return gt.createElement(Le.Z,{className:"mb20",key:oa,align:"middle",wrap:!1},gt.createElement(Oe.Z,{flex:"0 0 auto",className:`${nt.Z.blankIndex}`},"\u586B\u7A7A\u9879",Ln+1),gt.createElement(Oe.Z,{flex:1},gt.createElement(Le.Z,{align:"top",justify:"space-between",wrap:!1},gt.createElement(Oe.Z,null,gt.createElement(Be.default.Item,kt(hn({},Ea),{name:[jn,"answer_text"],noStyle:!0}),(va=Lt==null?void 0:Lt[jn])!=null&&va.multi_line||(Hn=Lt==null?void 0:Lt[jn])!=null&&Hn.multiLine?gt.createElement(je,{spellCheck:!1,style:{marginLeft:10,width:550}}):gt.createElement(ue.default,{style:{marginLeft:10,width:550},className:nt.Z.blankInput,size:"large",maxLength:1e3,onBlur:Ba=>{}}))),fe&&gt.createElement(Oe.Z,{flex:"224px"},gt.createElement(Be.default.Item,kt(hn({},Ea),{name:[jn,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),gt.createElement(se.Z,{size:"large",className:nt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),gt.createElement("div",{onClick:()=>Ce(!0)},gt.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},gt.createElement(Ve.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fe}))),gt.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"}]},gt.createElement(dt.default,{size:"large"},Ot.map(St=>gt.createElement(dt.default.Option,{key:St.title,value:St.key}," ",St.title)))),gt.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},gt.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},gt.createElement(se.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),gt.createElement("span",{className:"ml10 font14"},"\u79D2")),gt.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"}]},gt.createElement(ot.ZP.Group,{style:{marginTop:-10}},gt.createElement(ot.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),gt.createElement(ot.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),gt.createElement(ot.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),gt.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),gt.createElement("div",{style:{background:"#F6F7F9",padding:15}},gt.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},gt.createElement(je,{rows:4})),gt.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"}]},gt.createElement(je,{rows:4}))),gt.createElement(Ft,{form:Se,answerKey:Ct,hackIdentifier:qe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:gt.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"}}}))}},65357:function(Ut,Gt,te){"use strict";te.d(Gt,{u:function(){return me}});var x=te(59301),ue=te(95237),Be=te(43604),Me=te(6848),Le=te(78241),Oe=te(43809),se=te(32134),dt=te(12893),ot=te(41984),Ve=te(59301),We=Object.defineProperty,nt=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(pe,ye,Ge)=>ye in pe?We(pe,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):pe[ye]=Ge,E=(pe,ye)=>{for(var Ge in ye||(ye={}))y.call(ye,Ge)&&b(pe,Ge,ye[Ge]);if(le)for(var Ge of le(ye))a.call(ye,Ge)&&b(pe,Ge,ye[Ge]);return pe},z=(pe,ye)=>nt(pe,Xe(ye)),ne=(pe,ye)=>{var Ge={};for(var Ae in pe)y.call(pe,Ae)&&ye.indexOf(Ae)<0&&(Ge[Ae]=pe[Ae]);if(pe!=null&&le)for(var Ae of le(pe))ye.indexOf(Ae)<0&&a.call(pe,Ae)&&(Ge[Ae]=pe[Ae]);return Ge};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"],ie=({value:pe,onChange:ye,choiceTextKey:Ge,answerKey:Ae,index:Qe,isEdit:ve,setInputActive:Te,form:Ye,choiceOptionsPath:bt,allowChangeMode:De,showAddIcon:ut,addItem:Ft,deleteItem:yt})=>{console.log(pe,"value");const gt=(pe==null?void 0:pe[Ae])===1,Xt=()=>{const an=Ye.getFieldValue(bt);Ye.setFieldValue(bt,an.map(En=>z(E({},En),{[Ae]:0})))},vt=()=>{gt?ye(z(E({},pe),{[Ae]:0})):(De||Xt(),ye(z(E({},pe),{[Ae]:1})))};return Ve.createElement(ue.Z,{className:Oe.Z.choiceWrap,align:"middle",wrap:!1},Ve.createElement(Be.Z,{onClick:vt,className:`${Oe.Z.choiceIndex} ${gt?Oe.Z.activeAnswer:""}`},re[Qe]),Ve.createElement(Be.Z,{flex:1,className:`${Oe.Z.editorWrap} ml15`,onClick:Te},Ve.createElement(ot.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ve,value:pe==null?void 0:pe[Ge],onChange:an=>{ye(z(E({},pe),{[Ge]:an}))}})),Ve.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ve.createElement("div",{onClick:vt,className:`${Oe.Z.setAnswerBtn} ${gt?Oe.Z.activeAnswer:""}`},gt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ve.createElement(Be.Z,{className:Oe.Z.actionWrapper},Ve.createElement(Me.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ve.createElement(se.Z,{className:Oe.Z.addIcon,onClick:Ft,style:{visibility:ut?"visible":"hidden"}})),Ve.createElement(Me.Z,{title:"\u5220\u9664"},Ve.createElement(dt.Z,{className:Oe.Z.deleteIcon,onClick:yt,style:{visibility:Qe>1?"visible":"hidden"}}))))},me=({questionTitlePlaceholder:pe,titleKey:ye,choiceKey:Ge,analysisKey:Ae,choiceTextKey:Qe,answerKey:ve,choiceOptionsPath:Te,allowChangeMode:Ye=!0,form:bt,showAnalysis:De=!0})=>{const[ut,Ft]=(0,x.useState)(),[yt,gt]=(0,x.useState)(!1);return Ve.createElement("div",{className:Oe.Z.wrap},Ve.createElement("div",{className:Oe.Z.questionTitleEditorWrap},Ve.createElement(Le.default.Item,{label:"\u9898\u5E72",name:ye,labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(ot.h,{scrollId:Array.isArray(ye)?ye.join("_"):`${ye}`,watch:!0,height:140,placeholder:pe}))),Ve.createElement(Le.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ve.createElement(Le.default.List,{name:Ge,rules:[{validator(Xt,vt){const an=vt.some(tt=>tt[ve]===1),En=vt.findIndex(tt=>{var et;return((et=tt[Qe])==null?void 0:et.length)<=0});return En!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[En]}\u9009\u9879\u7684\u5185\u5BB9`)):an?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Xt,{add:vt,remove:an})=>Ve.createElement("div",{id:Array.isArray(Te)?Te.join("_"):`${Te}`},Xt.map((En,tt)=>{var et=En,{key:qt,name:hn}=et,kt=ne(et,["key","name"]);const vn=ut===qt,je=()=>{Ft(qt)},Ot=tt<7&&tt===Xt.length-1,Wt=()=>vt({[Qe]:"",[ve]:0}),Mt=()=>an(hn);return Ve.createElement(Le.default.Item,z(E({},kt),{key:qt,name:hn,className:Oe.Z.choiceListWrap,rules:[{validator(ht,rt){return rt!=null&&rt.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[tt]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ve.createElement(ie,{choiceTextKey:Qe,answerKey:ve,index:tt,isEdit:vn,setInputActive:je,form:bt,choiceOptionsPath:Te,allowChangeMode:Ye,showAddIcon:Ot,addItem:Wt,deleteItem:Mt}))}),Xt.length<8&&Ve.createElement("div",{className:`${Oe.Z.addBtn} mb30`,onClick:()=>vt({[Qe]:"",[ve]:0})},"\u6DFB\u52A0\u9009\u9879"))),De&&Ve.createElement("div",{onClick:()=>gt(!0)},Ve.createElement(Le.default.Item,{name:Ae,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ve.createElement(ot.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:yt}))))}},70472:function(Ut,Gt,te){"use strict";te.d(Gt,{u:function(){return Ye}});var x=te(59301),ue=te(43418),Be=te(95237),Me=te(43604),Le=te(92832),Oe=te(6848),se=te(78673),dt=te(78241),ot=te(5112),Ve=te(5871),We=te(41984),nt=te(12893),Xe=te(61485),le=te(43809),y=te(59879),a=te(59301),b=Object.defineProperty,E=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,me=(bt,De,ut)=>De in bt?b(bt,De,{enumerable:!0,configurable:!0,writable:!0,value:ut}):bt[De]=ut,pe=(bt,De)=>{for(var ut in De||(De={}))re.call(De,ut)&&me(bt,ut,De[ut]);if(ne)for(var ut of ne(De))ie.call(De,ut)&&me(bt,ut,De[ut]);return bt},ye=(bt,De)=>E(bt,z(De)),Ge=(bt,De)=>{var ut={};for(var Ft in bt)re.call(bt,Ft)&&De.indexOf(Ft)<0&&(ut[Ft]=bt[Ft]);if(bt!=null&&ne)for(var Ft of ne(bt))De.indexOf(Ft)<0&&ie.call(bt,Ft)&&(ut[Ft]=bt[Ft]);return ut};const Ae=({value:bt,onChange:De})=>{const ut=yt=>{ue.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:le.Z.modal,onOk:()=>{const gt=[...bt];gt.splice(yt,1),De(gt)}})},Ft=()=>{const yt=[...bt];yt.push(""),De(yt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},bt==null?void 0:bt.map((yt,gt)=>a.createElement(Be.Z,{key:`${yt}_${gt}`,className:"mb20"},a.createElement(Le.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:yt,autoSize:{maxRows:3},maxLength:1e3,onBlur:Xt=>{const vt=[...bt],an=Xt.target.value.trim();vt[gt]=an,De(vt)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(nt.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ut(gt)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{Ft()}},"\u65B0\u589E\u7B54\u6848")))},Qe=({value:bt,onChange:De})=>{const ut=yt=>{ue.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:le.Z.modal,onOk:()=>{const gt=[...bt];gt.splice(yt,1),De(gt)}})},Ft=()=>{const yt=[...bt];yt.push(""),De(yt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},bt==null?void 0:bt.map((yt,gt)=>a.createElement(Be.Z,{key:`${yt}_${gt}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:yt,style:{flex:1},onChange:Xt=>{const vt=[...bt];vt[gt]=Xt,De(vt)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(nt.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ut(gt)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{Ft()}},"\u65B0\u589E\u7B54\u6848")))},ve=({value:bt=!0,onChange:De})=>a.createElement(se.Z,{checked:!bt,onChange:ut=>{De(!ut)}}),Te="\u2581",Ye=({questionTitlePlaceholder:bt,form:De,scoreByBlank:ut=!1,answerKey:Ft})=>{const[yt,gt]=(0,x.useState)(!1),Xt=(kt,vn)=>{const je=vn.line;let Ot=0;for(let Mt=0;Mt<je;Mt++)Ot+=kt.getLine(Mt).split(Te).length-1;const Wt=kt.getLine(je).substring(0,vn.ch);return Ot+=Wt.split(Te).length-1,Ot},vt=(kt,vn,je,Ot)=>{const Wt=kt.getRange(vn.from,vn.to);let Mt=0;if(vn.text.forEach(ht=>{Mt+=ht.split(Te).length-1}),vn.origin!=="setValue"){if(Wt&&Wt.indexOf(Te)!==-1){const ht=Wt.split(Te).length-1,rt=Xt(kt,vn.from);if(console.log(`\u5220\u9664${ht}\u4E2A\uFF0C \u524D\u9762\u6709${rt}\u4E2A\uFF0C\u65B0\u589E${Mt}\u4E2A`),ht>1){const _e=Array.from({length:ht},(Se,fe)=>rt+fe);Ot(_e)}else Ot(rt)}else if(Mt>0){const ht=Xt(kt,vn.from);console.log(`\u65B0\u589E${Mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${ht}\u4E2A`),je(Mt,ht)}}},an=()=>{const kt=De.getFieldValue(Ft);De.setFieldsValue({[Ft]:kt.map((vn,je)=>ye(pe({},vn),{position:je+1}))})},En=(0,x.useRef)(),tt=(kt,vn)=>{for(let je=0;je<kt;je++)En.current({position:null,answer_text:[""],model:1},vn+je);an()},et=(0,x.useRef)(),qt=kt=>{et.current(kt),an()},hn=dt.default.useWatch(Ft,De);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(dt.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(We.h,{scrollId:"name",watch:!0,height:140,placeholder:bt,showNullButton:!0,onCMBeforeChange:(kt,vn)=>{vt(kt,vn,tt,qt)}}))),a.createElement(dt.default.List,{name:Ft,rules:[{validator(kt,vn){if(!(vn!=null&&vn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const je of vn){const{answer_text:Ot}=je||{};if(Ot!=null&&Ot.some(Wt=>(Wt==null?void 0:Wt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(kt,{add:vn,remove:je},{errors:Ot})=>(En.current=vn,et.current=je,a.createElement(a.Fragment,null,a.createElement(dt.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(kt!=null&&kt.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}}),kt.map((Wt,Mt)=>{var ht=Wt,{key:rt,name:_e}=ht,Se=Ge(ht,["key","name"]),fe,qe;return a.createElement("div",{style:{marginBottom:10},key:rt},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Me.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",Mt+1),a.createElement(dt.default.Item,ye(pe({},Se),{name:[_e,"model"],noStyle:!0}),a.createElement(ot.ZP.Group,{onChange:()=>{const Ct=De.getFieldValue(Ft);De.setFieldsValue({[Ft]:Ct.map((Fe,Ce)=>ye(pe({},Fe),{answer_text:_e===Ce?[""]:Fe.answer_text}))})}},a.createElement(ot.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Oe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Xe.Z,null))),a.createElement(ot.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Oe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Xe.Z,null)))))),a.createElement(Be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Me.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Me.Z,{flex:1},a.createElement(dt.default.Item,ye(pe({},Se),{name:[_e,"answer_text"],noStyle:!0}),((qe=(fe=De.getFieldValue(Ft))==null?void 0:fe[_e])==null?void 0:qe.model)===1?a.createElement(Ae,null):a.createElement(Qe,null))),ut&&a.createElement(Me.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(dt.default.Item,ye(pe({},Se),{name:[_e,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:le.Z.blankInputNumberWrapper}),a.createElement(Ve.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(dt.default.Item,ye(pe({},Se),{name:[_e,"position"],noStyle:!0}),a.createElement(Le.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(dt.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Me.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(dt.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Me.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(hn==null?void 0:hn.length)>1&&a.createElement(Be.Z,{align:"middle",className:(hn==null?void 0:hn.length)>1?"mb30":`${le.Z.hide}`},a.createElement(dt.default.Item,{name:"is_ordered"},a.createElement(ve,null)),a.createElement(Me.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:()=>gt(!0)},a.createElement(dt.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(We.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:yt}))))}},11832:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ne}});var x=te(59301),ue=te(95237),Be=te(43604),Me=te(78241),Le=te(43809),Oe=te(41984),se=te(59301),dt=Object.defineProperty,ot=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,le=(re,ie,me)=>ie in re?dt(re,ie,{enumerable:!0,configurable:!0,writable:!0,value:me}):re[ie]=me,y=(re,ie)=>{for(var me in ie||(ie={}))nt.call(ie,me)&&le(re,me,ie[me]);if(We)for(var me of We(ie))Xe.call(ie,me)&&le(re,me,ie[me]);return re},a=(re,ie)=>ot(re,Ve(ie)),b=(re,ie)=>{var me={};for(var pe in re)nt.call(re,pe)&&ie.indexOf(pe)<0&&(me[pe]=re[pe]);if(re!=null&&We)for(var pe of We(re))ie.indexOf(pe)<0&&Xe.call(re,pe)&&(me[pe]=re[pe]);return me};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ie,form:me})=>{const pe=(re==null?void 0:re.is_answer)===1,ye=re==null?void 0:re.choice_text,Ge=()=>{const Ae=me.getFieldsValue().choices.map(Qe=>({choice_text:Qe.choice_text,is_answer:0}));me.setFieldsValue({choices:Ae}),ie(a(y({},re),{is_answer:1}))};return se.createElement(ue.Z,{className:Le.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},se.createElement(Be.Z,{onClick:Ge,className:`${Le.Z.choiceIndex} ${Le.Z.judgementIndex} ${pe?Le.Z.activeAnswer:""}`},E[ye]),se.createElement(Be.Z,{flex:1,className:`${Le.Z.editorWrap} ml15`},se.createElement("div",{className:`${Le.Z.inputBorder} ${Le.Z.placeholder} ${pe?Le.Z.activeJudgementAnswer:""}`},ye)),se.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},se.createElement("div",{onClick:Ge,className:`${Le.Z.setAnswerBtn} ${pe?Le.Z.activeAnswer:""}`},pe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ne=({questionTitlePlaceholder:re,choiceKey:ie,form:me})=>{const[pe,ye]=(0,x.useState)(!1);return se.createElement("div",{className:Le.Z.wrap},se.createElement("div",{className:Le.Z.questionTitleEditorWrap},se.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},se.createElement(Oe.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),se.createElement(Me.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},se.createElement(Me.default.List,{name:"choices",rules:[{validator(Ge,Ae){return Ae.some(ve=>(ve==null?void 0:ve.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Ge=>se.createElement("div",{id:"choices"},Ge.map(Ae=>{var Qe=Ae,{key:ve,name:Te}=Qe,Ye=b(Qe,["key","name"]);return se.createElement(Me.default.Item,a(y({},Ye),{key:ve,name:Te,noStyle:!0}),se.createElement(z,{form:me}))})))),se.createElement("div",{onClick:()=>ye(!0)},se.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},se.createElement(Oe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:pe}))))}},41984:function(Ut,Gt,te){"use strict";te.d(Gt,{h:function(){return y},x:function(){return a}});var x=te(12290),ue=te(43809),Be=te(85149),Me=te(59301),Le=Object.defineProperty,Oe=Object.defineProperties,se=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,We=(b,E,z)=>E in b?Le(b,E,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[E]=z,nt=(b,E)=>{for(var z in E||(E={}))ot.call(E,z)&&We(b,z,E[z]);if(dt)for(var z of dt(E))Ve.call(E,z)&&We(b,z,E[z]);return b},Xe=(b,E)=>Oe(b,se(E)),le=(b,E)=>{var z={};for(var ne in b)ot.call(b,ne)&&E.indexOf(ne)<0&&(z[ne]=b[ne]);if(b!=null&&dt)for(var ne of dt(b))E.indexOf(ne)<0&&Ve.call(b,ne)&&(z[ne]=b[ne]);return z};const y=b=>{var E=b,{value:z,onChange:ne,scrollId:re}=E,ie=le(E,["value","onChange","scrollId"]);return Me.createElement("div",{id:re||""},Me.createElement(x.Z,Xe(nt({},ie),{defaultValue:z,onChange:(me,pe)=>{pe!=null&&pe.length?ne(me,pe):ne(me)}})))},a=({value:b,onChange:E,placeholder:z,height:ne=140,isEdit:re,miniToolbar:ie,watch:me=!0})=>re?Me.createElement(x.Z,{watch:me,isFocus:!0,height:ne||void 0,placeholder:z,defaultValue:b,onChange:E,miniToolbar:ie}):Me.createElement("div",{style:{cursor:"pointer"}},b?Me.createElement(Be.Z,{className:ue.Z.inputBorder,value:b}):Me.createElement("div",{className:`${ue.Z.inputBorder} ${ue.Z.placeholder} inputBorderError`},z))},35173:function(Ut,Gt,te){"use strict";te.d(Gt,{W:function(){return Qe}});var x=te(59301),ue=te(8591),Be=te(12563),Me=te(78241),Le=te(78673),Oe=te(95237),se=te(43604),dt=te(6848),ot=te(92832),Ve=te(5871),We=te(43809),nt=te(41984),Xe=te(12290),le=te(61485),y=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(ve,Te,Ye)=>Te in ve?y(ve,Te,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):ve[Te]=Ye,ie=(ve,Te)=>{for(var Ye in Te||(Te={}))z.call(Te,Ye)&&re(ve,Ye,Te[Ye]);if(E)for(var Ye of E(Te))ne.call(Te,Ye)&&re(ve,Ye,Te[Ye]);return ve},me=(ve,Te)=>a(ve,b(Te)),pe=(ve,Te)=>{var Ye={};for(var bt in ve)z.call(ve,bt)&&Te.indexOf(bt)<0&&(Ye[bt]=ve[bt]);if(ve!=null&&E)for(var bt of E(ve))Te.indexOf(bt)<0&&ne.call(ve,bt)&&(Ye[bt]=ve[bt]);return Ye};const ye=ve=>{var Te=ve,{value:Ye,onChange:bt}=Te,De=pe(Te,["value","onChange"]);const ut=Ft=>{bt([Ft])};return x.createElement(Xe.Z,me(ie({},De),{defaultValue:Ye==null?void 0:Ye[0],onChange:ut}))},Ge=ve=>{if(!ve)return!1;if(/^s*$/.test(ve)||ve.trim()===""){ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Te=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 ve==="|"?(ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ae=({value:ve=[],onClose:Te})=>x.createElement(Be.default,{closable:!0,onClose:Te,className:We.Z.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ve.join(" \u6216 "))),Qe=({questionTitlePlaceholder:ve,form:Te,showKeywords:Ye,isMustKeyWords:bt=Ye})=>{const[De,ut]=(0,x.useState)(!1),[Ft,yt]=(0,x.useState)(""),gt=Me.default.useWatch("use_keywords",Te),Xt=Me.default.useWatch("question_score",Te);return x.createElement("div",{className:We.Z.wrap},x.createElement("div",{className:We.Z.questionTitleEditorWrap},x.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},x.createElement(nt.h,{scrollId:"name",watch:!0,height:140,placeholder:ve}))),x.createElement(Me.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},x.createElement(ye,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ye&&!bt&&x.createElement(Me.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},x.createElement(Le.Z,{defaultChecked:!0})),Ye&&bt&&x.createElement(Oe.Z,{align:"middle",className:"mb30"},x.createElement(Me.default.Item,{name:"use_keywords",valuePropName:"checked"},x.createElement(Le.Z,null)),x.createElement(se.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(se.Z,null,x.createElement(dt.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"},x.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(gt||!bt)&&x.createElement(Me.default.List,{name:"keywords",rules:[{validator(vt,an){return bt?an!=null&&an.length?(an==null?void 0:an.reduce((tt,et)=>tt+et.score,0))>parseFloat(Xt)?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()}}]},(vt,{add:an,remove:En})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${We.Z.title} mb10`},bt?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(Oe.Z,{align:"middle",className:"font14 mb30"},x.createElement(se.Z,{flex:1},x.createElement(ot.default,{value:Ft,onChange:tt=>{yt(tt.target.value)},maxLength:50,allowClear:!0,onPressEnter:tt=>{var et,qt,hn,kt;const vn=`${(et=tt.target)==null?void 0:et.value}`,je=(hn=(qt=vn==null?void 0:vn.split("|"))==null?void 0:qt.filter(Mt=>!!Mt))==null?void 0:hn.map(Mt=>Mt==null?void 0:Mt.trim()),Ot=Te.getFieldValue("keywords"),Wt=((kt=Ot==null?void 0:Ot.map(Mt=>Mt==null?void 0:Mt.keyword))==null?void 0:kt.flat())||[];for(const Mt of je)if(Wt.includes(Mt)){ue.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ge(vn)&&(an({keyword:je,score:1}),yt(""))},className:We.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"})),x.createElement(se.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),vt.map(tt=>{var et=tt,{key:qt,name:hn}=et,kt=pe(et,["key","name"]);return x.createElement(Oe.Z,{key:qt,className:"mb20",style:{marginRight:148}},x.createElement(se.Z,{flex:1},x.createElement(Oe.Z,{align:"middle",justify:"space-between"},x.createElement(Me.default.Item,me(ie({},kt),{name:[hn,"keyword"]}),x.createElement(Ae,{onClose:()=>En(hn)})),bt&&x.createElement(Me.default.Item,me(ie({},kt),{name:[hn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:We.Z.blankInputNumberWrapper}),x.createElement(Ve.Z,{className:We.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>ut(!0)},x.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(nt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:De}))))}},27693:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Le}});var x={text:"text___bQulM",sup:"sup___rX_Y3"},ue=te(78241),Be=te(59301),Le=({text:Oe,name:se="question_score"})=>{const dt=({value:ot})=>Be.createElement("div",{className:x.text},Be.createElement("span",{className:x.sup},"*"),Be.createElement("span",{className:"mr10"},"\u5206\u503C"),Be.createElement("span",null,ot||"--"),Be.createElement("span",{className:"c-grey-999"},Oe));return Be.createElement(ue.default.Item,{noStyle:!0,name:se},Be.createElement(dt,null))}},97692:function(Ut,Gt,te){"use strict";te.d(Gt,{h:function(){return re}});var x=te(59301),ue=te(57809),Be=te(78241),Me=te(3113),Le=te(89780),Oe=te.n(Le),se=te(37036),dt=te(95625),ot=Object.defineProperty,Ve=Object.defineProperties,We=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,y=(ie,me,pe)=>me in ie?ot(ie,me,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ie[me]=pe,a=(ie,me)=>{for(var pe in me||(me={}))Xe.call(me,pe)&&y(ie,pe,me[pe]);if(nt)for(var pe of nt(me))le.call(me,pe)&&y(ie,pe,me[pe]);return ie},b=(ie,me)=>Ve(ie,We(me));const E=ue.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:ie,onCancel:me})=>{const[pe,ye]=(0,x.useState)("python");function Ge(Qe){ye(ne[Qe][1])}function Ae(Qe){ie(Qe)}return x.createElement(Be.default,b(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ae,style:{width:500}}),x.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(ue.default,{getPopupContainer:Qe=>Qe.parentNode,onChange:Ge},Object.keys(ne).map(Qe=>x.createElement(E,{key:Qe,value:Qe},ne[Qe][0])))),x.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(re,{mode:pe})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Me.ZP,{type:"ghost",onClick:me},"\u53D6\u6D88")))};function re({value:ie,onChange:me,mode:pe,options:ye={}}){const Ge=(0,x.useRef)(),[Ae,Qe]=(0,x.useState)();return(0,x.useEffect)(()=>{if(Ae){let ve=function(Te){const Ye=Te.getValue();me&&me(Ye)};return Ae.on("change",ve),()=>{Ae.off("change",ve)}}},[Ae,me]),(0,x.useEffect)(()=>{Ae&&Ae.setOption("mode",pe)},[Ae,pe]),(0,x.useEffect)(()=>{Ae&&(ie!==Ae.getValue()||ie==="")&&setTimeout(()=>{Ae.setValue(ie||"")},300)},[Ae,ie]),(0,x.useEffect)(()=>{if(Ge.current&&!Ae){const ve=Oe().fromTextArea(Ge.current,a({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ye));Qe(ve)}},[Ge.current,Ae]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:Ge}))}},12290:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return pn}});var x=te(59301),ue=te(89780),Be=te.n(ue),Me=te(76374),Le=te(37036),Oe=te(6313),se=te(25717),dt=te(99498),ot=te(25419),Ve=te(67549),We=te(85149),nt=({value:st="",className:Pt,showTextOnly:ct,showLines:rn,style:In={}})=>{const yn=(0,x.useMemo)(()=>"",[st]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:yn}}))},Xe=te(59301),le=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(st,Pt,ct)=>Pt in st?le(st,Pt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):st[Pt]=ct,re=(st,Pt)=>{for(var ct in Pt||(Pt={}))E.call(Pt,ct)&&ne(st,ct,Pt[ct]);if(b)for(var ct of b(Pt))z.call(Pt,ct)&&ne(st,ct,Pt[ct]);return st},ie=(st,Pt)=>y(st,a(Pt));let me=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function pe({onActionCallback:st,title:Pt,icon:ct,actionName:rn,className:In="",children:yn}){function ia(){st(rn)}return Xe.createElement("a",{title:Pt,className:In,onClick:ia},Xe.createElement("i",{className:`${ct}`}),yn)}var ye=({watch:st,showNullButton:Pt,showNullProgramButton:ct,onActionCallback:rn,fullScreen:In,insertTemp:yn,hidetoolBar:ia,extraUse:Un})=>{const lt=[...me,{title:`${st?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${st?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Xe.createElement("ul",{className:"markdown-toolbar-container"},!ia&&lt.map(($t,qn)=>Xe.createElement("li",{key:qn},$t.actionName?Xe.createElement(pe,ie(re({},$t),{onActionCallback:rn})):Xe.createElement("span",{className:"v-line"}))),Pt?Xe.createElement("li",null,Xe.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:rn},Xe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ct?Xe.createElement(Xe.Fragment,null,Xe.createElement("li",null,Xe.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:rn},Xe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Xe.createElement("li",null,Xe.createElement(pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:rn},Xe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,yn&&Xe.createElement("li",null,Xe.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${yn}`,onActionCallback:rn},Xe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Un&&Xe.createElement("li",null,Un),Xe.createElement("li",{className:"btn-full-screen"},Xe.createElement(pe,{icon:`${In?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:In?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:rn})))},Ge=te(79346),Ae=te(78241),Qe=te(92832),ve=te(3113),Te=Object.defineProperty,Ye=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,yt=(st,Pt,ct)=>Pt in st?Te(st,Pt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):st[Pt]=ct,gt=(st,Pt)=>{for(var ct in Pt||(Pt={}))ut.call(Pt,ct)&&yt(st,ct,Pt[ct]);if(De)for(var ct of De(Pt))Ft.call(Pt,ct)&&yt(st,ct,Pt[ct]);return st},Xt=(st,Pt)=>Ye(st,bt(Pt));const vt={labelCol:{span:4},wrapperCol:{span:20}};var an=({callback:st,onCancel:Pt})=>{function ct(rn){st(rn)}return x.createElement(Ae.default,Xt(gt({},vt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ct,style:{width:500}}),x.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(Qe.default,null)),x.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(Qe.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ve.ZP,{type:"ghost",onClick:Pt},"\u53D6\u6D88")))},En=te(97692),tt=te(28451),et=te(43418),qt=te(95237),hn=te(73524),kt=te(59301),vn=({callback:st,onCancel:Pt})=>{const ct=document.createElement("canvas"),rn=ct.getContext("2d");ct.width=1e3,ct.height=800,rn.fillStyle="#ffffff",rn.fillRect(0,0,ct.width,ct.height);const In=ct.toDataURL("image/png");return kt.createElement(et.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},kt.createElement(qt.Z,{style:{height:"100vh"}},kt.createElement(hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:In,visible:!0,title:String(Date.now())},onOk:yn=>{st({src:yn.url})},onClose:Pt})))},je=te(12378);function Ot(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ot,go.CommandHandler),Ot.prototype.canAlignSelection=function(){var st=this.diagram;return!(st===null||st.isReadOnly||st.isModelReadOnly||st.selection.count<2)},Ot.prototype.alignLeft=function(){var st=this.diagram;st.startTransaction("aligning left");var Pt=1/0;st.selection.each(function(ct){ct instanceof go.Link||(Pt=Math.min(ct.position.x,Pt))}),st.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(Pt,ct.position.y))}),st.commitTransaction("aligning left")},Ot.prototype.alignRight=function(){var st=this.diagram;st.startTransaction("aligning right");var Pt=-1/0;st.selection.each(function(ct){if(!(ct instanceof go.Link)){var rn=ct.actualBounds.x+ct.actualBounds.width;Pt=Math.max(rn,Pt)}}),st.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(Pt-ct.actualBounds.width,ct.position.y))}),st.commitTransaction("aligning right")},Ot.prototype.alignTop=function(){var st=this.diagram;st.startTransaction("alignTop");var Pt=1/0;st.selection.each(function(ct){ct instanceof go.Link||(Pt=Math.min(ct.position.y,Pt))}),st.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(ct.position.x,Pt))}),st.commitTransaction("alignTop")},Ot.prototype.alignBottom=function(){var st=this.diagram;st.startTransaction("aligning bottom");var Pt=-1/0;st.selection.each(function(ct){if(!(ct instanceof go.Link)){var rn=ct.actualBounds.y+ct.actualBounds.height;Pt=Math.max(rn,Pt)}}),st.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(ct.actualBounds.x,Pt-ct.actualBounds.height))}),st.commitTransaction("aligning bottom")},Ot.prototype.alignCenterX=function(){var st=this.diagram,Pt=st.selection.first();if(Pt){st.startTransaction("aligning Center X");var ct=Pt.actualBounds.x+Pt.actualBounds.width/2;st.selection.each(function(rn){rn instanceof go.Link||rn.move(new go.Point(ct-rn.actualBounds.width/2,rn.actualBounds.y))}),st.commitTransaction("aligning Center X")}},Ot.prototype.alignCenterY=function(){var st=this.diagram,Pt=st.selection.first();if(Pt){st.startTransaction("aligning Center Y");var ct=Pt.actualBounds.y+Pt.actualBounds.height/2;st.selection.each(function(rn){rn instanceof go.Link||rn.move(new go.Point(rn.actualBounds.x,ct-rn.actualBounds.height/2))}),st.commitTransaction("aligning Center Y")}},Ot.prototype.alignColumn=function(st){var Pt=this.diagram;Pt.startTransaction("align Column"),st===void 0&&(st=0),st=parseFloat(st);var ct=new Array;Pt.selection.each(function(Un){Un instanceof go.Link||ct.push(Un)});for(var rn=0;rn<ct.length-1;rn++){var In=ct[rn],yn=In.actualBounds.y+In.actualBounds.height+st,ia=ct[rn+1];ia.move(new go.Point(In.actualBounds.x,yn))}Pt.commitTransaction("align Column")},Ot.prototype.alignRow=function(st){st===void 0&&(st=0),st=parseFloat(st);var Pt=this.diagram;Pt.startTransaction("align Row");var ct=new Array;Pt.selection.each(function(Un){Un instanceof go.Link||ct.push(Un)});for(var rn=0;rn<ct.length-1;rn++){var In=ct[rn],yn=In.actualBounds.x+In.actualBounds.width+st,ia=ct[rn+1];ia.move(new go.Point(yn,In.actualBounds.y))}Pt.commitTransaction("align Row")},Ot.prototype.canRotate=function(st){var Pt=this.diagram;return!(Pt===null||Pt.isReadOnly||Pt.isModelReadOnly||Pt.selection.count<1)},Ot.prototype.rotate=function(st){st===void 0&&(st=90);var Pt=this.diagram;Pt.startTransaction("rotate "+st.toString());var Pt=this.diagram;Pt.selection.each(function(ct){ct instanceof go.Link||ct instanceof go.Group||(ct.angle+=st)}),Pt.commitTransaction("rotate "+st.toString())},Ot.prototype.pullToFront=function(){var st=this.diagram;st.startTransaction("pullToFront");var Pt=new go.Map;st.selection.each(function(ct){Pt.set(ct.layer,0)}),Pt.iteratorKeys.each(function(ct){var rn=0;ct.parts.each(function(In){if(!In.isSelected){var yn=In.zOrder;isNaN(yn)?In.zOrder=0:rn=Math.max(rn,yn)}}),Pt.set(ct,rn)}),st.selection.each(function(ct){Ot._assignZOrder(ct,Pt.get(ct.layer)+1)}),st.commitTransaction("pullToFront")},Ot.prototype.pushToBack=function(){var st=this.diagram;st.startTransaction("pushToBack");var Pt=new go.Map;st.selection.each(function(ct){Pt.set(ct.layer,0)}),Pt.iteratorKeys.each(function(ct){var rn=0;ct.parts.each(function(In){if(!In.isSelected){var yn=In.zOrder;isNaN(yn)?In.zOrder=0:rn=Math.min(rn,yn)}}),Pt.set(ct,rn)}),st.selection.each(function(ct){Ot._assignZOrder(ct,Pt.get(ct.layer)-1-Ot._findGroupDepth(ct))}),st.commitTransaction("pushToBack")},Ot._assignZOrder=function(st,Pt,ct){ct===void 0&&(ct=st),st.layer===ct.layer&&(st.zOrder=Pt),st instanceof go.Group&&st.memberParts.each(function(rn){Ot._assignZOrder(rn,Pt+1,ct)})},Ot._findGroupDepth=function(st){if(st instanceof go.Group){var Pt=0;return st.memberParts.each(function(ct){Pt=Math.max(Pt,Ot._findGroupDepth(ct))}),Pt+1}else return 0},Ot.prototype.doKeyDown=function(){var st=this.diagram;if(st!==null){var Pt=st.lastInput;if(Pt.key==="Up"||Pt.key==="Down"||Pt.key==="Left"||Pt.key==="Right"){var ct=this.arrowKeyBehavior;if(ct==="none")return;if(ct==="select"){this._arrowKeySelect();return}else if(ct==="move"){this._arrowKeyMove();return}else if(ct==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ot.prototype._getAllParts=function(){var st=new Array;return this.diagram.nodes.each(function(Pt){st.push(Pt)}),this.diagram.parts.each(function(Pt){st.push(Pt)}),st},Ot.prototype._arrowKeyMove=function(){var st=this.diagram,Pt=st.lastInput,ct=0,rn=0;if(Pt.control||Pt.meta)ct=1,rn=1;else if(st.grid!==null){var In=st.grid.gridCellSize;rn=In.width,ct=In.height}st.startTransaction("arrowKeyMove"),st.selection.each(function(yn){Pt.key==="Up"?yn.move(new go.Point(yn.actualBounds.x,yn.actualBounds.y-ct)):Pt.key==="Down"?yn.move(new go.Point(yn.actualBounds.x,yn.actualBounds.y+ct)):Pt.key==="Left"?yn.move(new go.Point(yn.actualBounds.x-rn,yn.actualBounds.y)):Pt.key==="Right"&&yn.move(new go.Point(yn.actualBounds.x+rn,yn.actualBounds.y))}),st.commitTransaction("arrowKeyMove")},Ot.prototype._arrowKeySelect=function(){var st=this.diagram,Pt=st.lastInput,ct=null;Pt.key==="Up"?ct=this._findNearestPartTowards(270):Pt.key==="Down"?ct=this._findNearestPartTowards(90):Pt.key==="Left"?ct=this._findNearestPartTowards(180):Pt.key==="Right"&&(ct=this._findNearestPartTowards(0)),ct!==null&&(Pt.shift?ct.isSelected=!0:Pt.control||Pt.meta?ct.isSelected=!ct.isSelected:st.select(ct))},Ot.prototype._findNearestPartTowards=function(st){var Pt=this.diagram.selection.first();if(Pt===null)return null;for(var ct=Pt.actualBounds.center,rn=this._getAllParts(),In=1/0,yn=Pt,ia=0;ia<rn.length;ia++){var Un=rn[ia];if(Un!==Pt&&Un.canSelect()){var lt=Un.actualBounds.center,$t=ct.directionPoint(lt),qn=this._angleCloseness($t,st);if(qn<=45){var nn=ct.distanceSquaredPoint(lt);nn*=1+Math.sin(qn*Math.PI/180),nn<In&&(In=nn,yn=Un)}}}return yn},Ot.prototype._angleCloseness=function(st,Pt){return Math.min(Math.abs(Pt-st),Math.min(Math.abs(Pt+360-st),Math.abs(Pt-360-st)))},Ot.prototype._arrowKeyTree=function(){var st=this.diagram,Pt=st.selection.first();if(Pt instanceof go.Node){var ct=st.lastInput;if(ct.key==="Right"){if(!Pt.isTreeLeaf)if(!Pt.isTreeExpanded)st.commandHandler.canExpandTree(Pt)&&st.commandHandler.expandTree(Pt);else{var rn=this._sortTreeChildrenByY(Pt).first();rn!==null&&st.select(rn)}}else if(ct.key==="Left")if(!Pt.isTreeLeaf&&Pt.isTreeExpanded)st.commandHandler.canCollapseTree(Pt)&&st.commandHandler.collapseTree(Pt);else{var In=Pt.findTreeParentNode();In!==null&&st.select(In)}else if(ct.key==="Up"){var In=Pt.findTreeParentNode();if(In!==null){var yn=this._sortTreeChildrenByY(In),ia=yn.indexOf(Pt);if(ia>0){for(var Un=yn.elt(ia-1);Un!==null&&Un.isTreeExpanded&&!Un.isTreeLeaf;){var lt=this._sortTreeChildrenByY(Un);Un=lt.last()}Un!==null&&st.select(Un)}else st.select(In)}}else if(ct.key==="Down")if(Pt.isTreeExpanded&&!Pt.isTreeLeaf){var rn=this._sortTreeChildrenByY(Pt).first();rn!==null&&st.select(rn)}else for(;Pt!==null;){var In=Pt.findTreeParentNode();if(In===null)break;var yn=this._sortTreeChildrenByY(In),ia=yn.indexOf(Pt);if(ia<yn.length-1){st.select(yn.elt(ia+1));break}else Pt=In}var $t=st.selection.first();$t!==null&&st.scrollToRect($t.actualBounds)}},Ot.prototype._sortTreeChildrenByY=function(st){var Pt=new go.List().addAll(st.findTreeChildrenNodes());return Pt.sort(function(ct,rn){var In=ct.location,yn=rn.location;return In.y<yn.y?-1:In.y>yn.y?1:In.x<yn.x?-1:In.x>yn.x?1:0}),Pt},Ot.prototype.copyToClipboard=function(st){go.CommandHandler.prototype.copyToClipboard.call(this,st),this._lastPasteOffset.set(this.pasteOffset)},Ot.prototype.pasteFromClipboard=function(){var st=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(st,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),st},Object.defineProperty(Ot.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(st){if(st!=="move"&&st!=="select"&&st!=="scroll"&&st!=="tree"&&st!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+st);this._arrowKeyBehavior=st}}),Object.defineProperty(Ot.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(st){if(!(st instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+st);this._pasteOffset.set(st)}});var Wt=Ot,Mt=te(74413),ht=te(43604),rt=te(99064),_e={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Se=te(59301),fe=(st,Pt,ct)=>new Promise((rn,In)=>{var yn=lt=>{try{Un(ct.next(lt))}catch($t){In($t)}},ia=lt=>{try{Un(ct.throw(lt))}catch($t){In($t)}},Un=lt=>lt.done?rn(lt.value):Promise.resolve(lt.value).then(yn,ia);Un((ct=ct.apply(st,Pt)).next())});function qe({onCancel:st,callback:Pt}){let ct=(0,x.useRef)(),rn=(0,x.useRef)(),In=(0,x.useRef)(),yn=(0,x.useRef)(!1);const ia=(0,x.useRef)(!1),[Un,lt]=(0,x.useState)(0);function $t(){const nn=je.bx.make,_n={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"};ct.current=new je.S0(rn.current,{padding:20,grid:nn(je.s_,"Grid",nn(je.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),nn(je.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Vn=>{var sa=Vn.diagram.commandHandler.addTopLevelParts(Vn.diagram.selection,!0);sa||Vn.diagram.currentTool.doCancel()},commandHandler:nn(Wt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Vn=>{var sa=Vn.subject;sa.location=sa.location.copy().snapToGridPoint(Vn.diagram.grid.gridOrigin,Vn.diagram.grid.gridCellSize),setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Vn=>{var sa=Vn.subject;setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Vn=>{var sa=Vn.parameter.part;sa.invalidateConnectedLinks();var xa=Vn.subject;Vn.diagram.toolManager.linkingTool.isForwards?xa.toNode.invalidateConnectedLinks():xa.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ct.current.nodeTemplate=nn(je.NB,"Auto",{locationSpot:je.z6.Center,locationObjectName:"SHAPE",desiredSize:new je.$u(120,60),minSize:new je.$u(40,40),resizable:!0,resizeCellSize:new je.$u(10,10),rotatable:!0},new je.KX("location","loc",je.E9.parse).makeTwoWay(je.E9.stringify),new je.KX("desiredSize","size",je.$u.parse).makeTwoWay(je.$u.stringify),nn(je.bn,{name:"SHAPE",fill:_n.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:je.z6.AllSides,toSpot:je.z6.AllSides},new je.KX("figure"),new je.KX("fill"),new je.KX("stroke","borderColor"),new je.KX("strokeWidth","thickness"),new je.KX("strokeDashArray","dash")),nn(je.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),nn(je.al,{margin:1,textAlign:"center",overflow:je.al.OverflowEllipsis,editable:!0},new je.KX("text").makeTwoWay(),new je.KX("stroke","color"))),ct.current.nodeTemplate.toolTip=nn("ToolTip",nn(je.s_,"Vertical",{maxSize:new je.$u(200,NaN)},nn(je.al,{font:"bold 10pt sans-serif",textAlign:"center"},new je.KX("text")),nn(je.al,{font:"10pt sans-serif",textAlign:"center"},new je.KX("text","details"))));function Jn(Vn,sa){var xa=(aa,za)=>{aa.handled=!0,aa.diagram.model.commit(ar=>{var Ga=za.part.adornedPart,mr=new je.E9().setRectSpot(Ga.actualBounds,Vn);mr.subtract(Ga.location),mr.scale(2,2),mr.x+=Math.sign(mr.x)*130,mr.y+=Math.sign(mr.y)*130,mr.add(Ga.location),mr.snapToGridPoint(aa.diagram.grid.gridOrigin,aa.diagram.grid.gridCellSize);var Ua=ar.copyNodeData(Ga.data);ar.setGroupKeyForNodeData(Ua,ar.getGroupKeyForNodeData(Ga.data)),ar.addNodeData(Ua);var Cr={from:Ga.key,to:ar.getKeyForNodeData(Ua)};ar.addLinkData(Cr);var kr=aa.diagram.findNodeForData(Ua);kr.location=mr,aa.diagram.select(kr),setTimeout(()=>{aa.diagram.commandHandler.editTextBlock()},20)})};return nn(je.bn,{figure:sa,alignment:Vn,alignmentFocus:Vn.opposite(),width:Vn.equals(je.z6.Top)||Vn.equals(je.z6.Bottom)?25:18,height:Vn.equals(je.z6.Top)||Vn.equals(je.z6.Bottom)?18:25,fill:"orange",stroke:_n.white,strokeWidth:4,mouseEnter:(aa,za)=>za.fill="dodgerblue",mouseLeave:(aa,za)=>za.fill="orange",isActionable:!0,click:xa,contextClick:xa})}function Ma(Vn){return nn(je.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:(sa,xa)=>xa.fill="dodgerblue",mouseLeave:(sa,xa)=>xa.fill="orange",click:(sa,xa)=>{sa.diagram.commandHandler.showContextMenu(xa.part.adornedPart)}},Vn||{})}ct.current.nodeTemplate.selectionAdornmentTemplate=nn(je.uz,"Spot",nn(je.Vm,{padding:10}),Jn(je.z6.Top,"TriangleUp"),Jn(je.z6.Left,"TriangleLeft"),Jn(je.z6.Right,"TriangleRight"),Jn(je.z6.Bottom,"TriangleDown"),Ma({alignment:new je.z6(.75,0)}));function ma(Vn,sa){return(xa,aa)=>{xa.handled=!0,xa.diagram.model.commit(za=>{za.set(aa.part.adornedPart.data,Vn,sa)})}}function Ue(Vn,sa){return sa||(sa="color"),nn(je.bn,{width:16,height:16,stroke:"lightgray",fill:Vn,margin:1,background:"transparent",mouseEnter:(xa,aa)=>aa.stroke="dodgerblue",mouseLeave:(xa,aa)=>aa.stroke="lightgray",click:ma(sa,Vn),contextClick:ma(sa,Vn)})}function dn(){return[nn("ContextMenuButton",nn(je.s_,"Horizontal",Ue(_n.white,"fill"),Ue(_n.beige,"fill"),Ue(_n.extralightblue,"fill"),Ue(_n.extralightred,"fill"))),nn("ContextMenuButton",nn(je.s_,"Horizontal",Ue(_n.lightgray,"fill"),Ue(_n.lightgreen,"fill"),Ue(_n.lightblue,"fill"),Ue(_n.lightred,"fill")))]}function Qt(){return[nn("ContextMenuButton",nn(je.s_,"Horizontal",Ue(_n.black),Ue(_n.green),Ue(_n.blue),Ue(_n.red))),nn("ContextMenuButton",nn(je.s_,"Horizontal",Ue(_n.white),Ue(_n.magenta),Ue(_n.purple),Ue(_n.orange)))]}function Sn(Vn,sa){return sa||(sa="thickness"),nn(je.bn,"LineH",{width:16,height:16,strokeWidth:Vn,margin:1,background:"transparent",mouseEnter:(xa,aa)=>aa.background="dodgerblue",mouseLeave:(xa,aa)=>aa.background="transparent",click:ma(sa,Vn),contextClick:ma(sa,Vn)})}function On(Vn,sa){return sa||(sa="dash"),nn(je.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Vn,margin:1,background:"transparent",mouseEnter:(xa,aa)=>aa.background="dodgerblue",mouseLeave:(xa,aa)=>aa.background="transparent",click:ma(sa,Vn),contextClick:ma(sa,Vn)})}function kn(){return[nn("ContextMenuButton",nn(je.s_,"Horizontal",Sn(1),Sn(2),Sn(3),Sn(4))),nn("ContextMenuButton",nn(je.s_,"Horizontal",On(null),On([2,4]),On([4,4])))]}function Dn(Vn,sa){return sa||(sa="figure"),nn(je.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Vn,margin:1,background:"transparent",mouseEnter:(xa,aa)=>aa.fill="dodgerblue",mouseLeave:(xa,aa)=>aa.fill="lightgray",click:ma(sa,Vn),contextClick:ma(sa,Vn)})}ct.current.nodeTemplate.contextMenu=nn("ContextMenu",nn("ContextMenuButton",nn(je.s_,"Horizontal",Dn("Rectangle"),Dn("RoundedRectangle"),Dn("Ellipse"),Dn("Diamond"))),nn("ContextMenuButton",nn(je.s_,"Horizontal",Dn("Parallelogram2"),Dn("ManualOperation"),Dn("Procedure"),Dn("Cylinder1"))),nn("ContextMenuButton",nn(je.s_,"Horizontal",Dn("Terminator"),Dn("CreateRequest"),Dn("Document"),Dn("TriangleDown"))),dn(),Qt(),kn()),ct.current.groupTemplate=nn(je.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:je.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Vn,sa)=>{var xa=sa.addMembers(sa.diagram.selection,!0);xa||sa.diagram.currentTool.doCancel()},avoidable:!1},new je.KX("location","loc",je.E9.parse).makeTwoWay(je.E9.stringify),nn(je.s_,"Auto",{name:"BODY"},nn(je.bn,{parameter1:10,fill:_n.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:je.z6.AllSides,toSpot:je.z6.AllSides},new je.KX("fill"),new je.KX("stroke","color"),new je.KX("strokeWidth","thickness"),new je.KX("strokeDashArray","dash")),nn(je.Vm,{background:"transparent",margin:20})),nn(je.al,{alignment:je.z6.Top,alignmentFocus:je.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new je.KX("text"),new je.KX("stroke","color"))),ct.current.groupTemplate.selectionAdornmentTemplate=nn(je.uz,"Spot",nn(je.s_,"Auto",nn(je.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),nn(je.Vm,{margin:1.5})),Ma({alignment:je.z6.TopRight,alignmentFocus:je.z6.BottomRight})),ct.current.groupTemplate.contextMenu=nn("ContextMenu",dn(),Qt(),kn()),ct.current.linkTemplate=nn(je.rU,{layerName:"Foreground",routing:je.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new je.KX("fromSpot","fromSpot",je.z6.parse),new je.KX("toSpot","toSpot",je.z6.parse),new je.KX("fromShortLength","dir",Vn=>Vn>=1?10:0),new je.KX("toShortLength","dir",Vn=>Vn>=1?10:0),new je.KX("points").makeTwoWay(),nn(je.bn,{strokeWidth:2},new je.KX("stroke","color"),new je.KX("strokeWidth","thickness"),new je.KX("strokeDashArray","dash")),nn(je.bn,{segmentIndex:0,segmentOffset:new je.E9(15,0),segmentOrientation:je.rU.OrientAlong,alignmentFocus:je.z6.Right,figure:"circle",width:10,strokeWidth:0},new je.KX("fill","color"),new je.KX("visible","dir",Vn=>Vn===1)),nn(je.bn,{segmentIndex:-1,segmentOffset:new je.E9(-10,6),segmentOrientation:je.rU.OrientPlus90,alignmentFocus:je.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new je.KX("fill","color"),new je.KX("visible","dir",Vn=>Vn>=1),new je.KX("width","thickness",Vn=>7+3*Vn),new je.KX("height","thickness",Vn=>7+3*Vn),new je.KX("segmentOffset","thickness",Vn=>new je.E9(-15,4+1.5*Vn))),nn(je.bn,{segmentIndex:0,segmentOffset:new je.E9(15,-6),segmentOrientation:je.rU.OrientMinus90,alignmentFocus:je.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new je.KX("fill","color"),new je.KX("visible","dir",Vn=>Vn===2),new je.KX("width","thickness",Vn=>7+3*Vn),new je.KX("height","thickness",Vn=>7+3*Vn),new je.KX("segmentOffset","thickness",Vn=>new je.E9(-15,4+1.5*Vn))),nn(je.al,{alignmentFocus:new je.z6(0,1,-4,0),editable:!0},new je.KX("text").makeTwoWay(),new je.KX("stroke","color"))),ct.current.linkTemplate.selectionAdornmentTemplate=nn(je.uz,nn(je.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:wn(2)},new je.KX("pathPattern","thickness",wn)),Ma({alignmentFocus:new je.z6(0,0,-6,-4)}));function wn(Vn){return nn(je.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Vn+4).toString()+" H3"})}function Aa(Vn){var sa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Vn===0?sa="M0 0 M16 16 M0 8 L16 8":Vn===2&&(sa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),nn(je.bn,{geometryString:sa,margin:2,background:"transparent",mouseEnter:(xa,aa)=>aa.background="dodgerblue",mouseLeave:(xa,aa)=>aa.background="transparent",click:ma("dir",Vn),contextClick:ma("dir",Vn)})}function La(Vn){var sa=(xa,aa)=>{xa.handled=!0,xa.diagram.model.commit(za=>{var ar=aa.part.adornedPart;za.set(ar.data,Vn?"toSpot":"fromSpot",je.z6.stringify(je.z6.AllSides)),(Vn?ar.toNode:ar.fromNode).invalidateConnectedLinks()})};return nn(je.bn,{width:12,height:12,fill:"transparent",mouseEnter:(xa,aa)=>aa.background="dodgerblue",mouseLeave:(xa,aa)=>aa.background="transparent",click:sa,contextClick:sa})}function mn(Vn,sa){var xa=0,aa=je.z6.RightSide;Vn.equals(je.z6.Top)?(xa=270,aa=je.z6.TopSide):Vn.equals(je.z6.Left)?(xa=180,aa=je.z6.LeftSide):Vn.equals(je.z6.Bottom)&&(xa=90,aa=je.z6.BottomSide),sa||(xa-=180);var za=(ar,Ga)=>{ar.handled=!0,ar.diagram.model.commit(mr=>{var Ua=Ga.part.adornedPart;mr.set(Ua.data,sa?"toSpot":"fromSpot",je.z6.stringify(aa)),(sa?Ua.toNode:Ua.fromNode).invalidateConnectedLinks()})};return nn(je.bn,{alignment:Vn,alignmentFocus:Vn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:xa,background:"transparent",mouseEnter:(ar,Ga)=>Ga.background="dodgerblue",mouseLeave:(ar,Ga)=>Ga.background="transparent",click:za,contextClick:za})}ct.current.linkTemplate.contextMenu=nn("ContextMenu",Qt(),kn(),nn("ContextMenuButton",nn(je.s_,"Horizontal",Aa(0),Aa(1),Aa(2))),nn("ContextMenuButton",nn(je.s_,"Horizontal",nn(je.s_,"Spot",La(!1),mn(je.z6.Top,!1),mn(je.z6.Left,!1),mn(je.z6.Right,!1),mn(je.z6.Bottom,!1)),nn(je.s_,"Spot",{margin:new je.Zt(0,0,0,2)},La(!0),mn(je.z6.Top,!0),mn(je.z6.Left,!0),mn(je.z6.Right,!0),mn(je.z6.Bottom,!0)))));const Da=`{ "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 na=["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 Qa(Vn){return console.log("shapeName:",Vn),na.indexOf(Vn)>=0}var Ja=new je.YI(In.current,{maxSelectionCount:1,linkTemplate:nn(je.rU,{locationSpot:je.z6.Center,selectionAdornmentTemplate:nn(je.uz,"Link",{locationSpot:je.z6.Center},nn(je.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),nn(je.bn,{toArrow:"Standard",stroke:null}))},{routing:je.rU.AvoidsNodes,curve:je.rU.JumpOver,corner:5,toShortLength:4},new je.KX("points"),nn(je.bn,{isPanelMain:!0,strokeWidth:2}),nn(je.bn,{toArrow:"Standard",stroke:null})),model:new je.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...je.bn.getFigureGenerators().toArray().map(Vn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Vn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return ct.current.addDiagramListener("TextEdited",function(Vn){var sa;const xa=Vn.subject.part;var aa=(sa=document.activeElement)==null?void 0:sa.value;typeof aa=="string"&&aa.trim()===""&&ct.current.model.commit(function(za){za.set(xa.data,"text","\u672A\u547D\u540D"),ct.current.commandHandler.stopCommand()},"increment")}),Ja.nodeTemplate=nn(je.NB,"Auto",{locationSpot:je.z6.Center},new je.KX("location","location",je.E9.parse).makeTwoWay(je.E9.stringify),nn(je.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 je.KX("stroke").makeTwoWay(),new je.KX("fill").makeTwoWay(),new je.KX("figure")),nn(je.al,{margin:new je.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new je.$u(16,16),maxSize:new je.$u(10,NaN),textAlign:"center",editable:!0},new je.KX("key").makeTwoWay())),setTimeout(()=>{ct.current.grid=nn(je.s_,"Grid",nn(je.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),nn(je.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),ct.current.grid.visible=!0,ct.current.grid.gridCellStroke="darkgray",ct.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=ct.current,ct.current}const qn=()=>fe(this,null,function*(){var nn=ct.current.makeImage();const _n=yield(0,rt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:nn.src}});Pt({src:_n.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{$t()},500),lt(Un+1),()=>{ct.current=null}),[]),Se.createElement("div",{ref:ia,className:yn.current?`${_e.maxH60} body-overflow-initial`:"body-overflow-initial"},Se.createElement(et.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Un,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Se.createElement(qt.Z,null,Se.createElement(ht.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Se.createElement(ht.Z,{onClick:()=>{var nn,_n,Jn=ct.current.selection.first();if(yn.current=!yn.current,document.activeElement&&Jn){let Ma=(_n=(nn=document.activeElement)==null?void 0:nn.value)==null?void 0:_n.trim();typeof Ma=="string"&&ct.current.model.commit(function(ma){ma.set(Jn.data,"text",Ma||"\u672A\u547D\u540D"),ct.current.commandHandler.stopCommand()},"increment")}lt(Un+1)}},Se.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:st},Se.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:_e.flowChartWrp},Se.createElement("div",{style:{display:"flex",height:"100%"}},Se.createElement("div",{style:{width:"300px",height:"100%"}},Se.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Se.createElement("div",{style:{height:"calc(100% - 50px)"},className:_e.myPaletteDiv,ref:In})),Se.createElement("div",{style:{flex:1,position:"relative"}},Se.createElement("div",{ref:rn,style:{height:"80vh"}}))),Se.createElement("div",{className:"tr"},Se.createElement(ve.ZP,{size:"large",onClick:qn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ct=qe,Fe=te(5112),Ce=te(5871);const at=Fe.ZP.Group,Je={margin:"0 8px"};var Ne=({callback:st,onCancel:Pt})=>{function ct(rn){st(rn)}return x.createElement(Ae.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ct},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:Je},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:Je},"\u884C\u6570"),x.createElement(Ae.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Ce.Z,null)),x.createElement("span",{style:Je},"\u5217\u6570"),x.createElement(Ae.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Ce.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:Je},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(Ae.default.Item,{name:"align"},x.createElement(at,null,x.createElement(Fe.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(Fe.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(Fe.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(Fe.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ve.ZP,{type:"ghost",onClick:Pt},"\u53D6\u6D88")))},mt=te(78673),un=te(80727),en=te.n(un),ln=(0,x.forwardRef)(({use3d:st,width:Pt,height:ct,callback:rn,showSaveButton:In},yn)=>{const ia=(0,x.useRef)(),Un=(0,x.useRef)(),[lt,$t]=(0,x.useState)(!1),qn=(0,x.useRef)({id:ia,appName:"graphing",width:Pt||1e3,height:ct||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Un.current=new(en())(qn.current,!0),window.onload=function(){Un.current.inject("applet_container")}},[]);const nn=()=>{var _n=window.ggbApplet.getPNGBase64(1,!0,72);return rn&&rn(_n),_n};return(0,x.useEffect)(()=>{qn.current.appName=lt?"3D":"graphing",Un.current.inject("applet_container")},[lt]),(0,x.useEffect)(()=>{$t(st)},[st]),(0,x.useImperativeHandle)(yn,()=>({getImgData:nn})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ia}),x.createElement(qt.Z,{align:"middle"},x.createElement(ht.Z,{flex:1},x.createElement(mt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:lt,onChange:_n=>$t(_n)})),x.createElement(ht.Z,null,x.createElement(ve.ZP,{size:"large",onClick:nn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),on=te(41588),ze=te(1012),At=te(8591);const Lt="link",St="upload-image",Dt="add-flowchart",fn="draw-image",Pn="add-flowchart",bn="code-block",Ln="add-table",ta="------------",oa={default:ta,left:`:${ta}`,center:`:${ta}:`,right:`${ta}:`};var jn=te(58856),Ea=(st,Pt,ct)=>new Promise((rn,In)=>{var yn=lt=>{try{Un(ct.next(lt))}catch($t){In($t)}},ia=lt=>{try{Un(ct.throw(lt))}catch($t){In($t)}},Un=lt=>lt.done?rn(lt.value):Promise.resolve(lt.value).then(yn,ia);Un((ct=ct.apply(st,Pt)).next())});function va(){}let Hn=0;const Ba=1e4,Yt="\u2581",An="@\u2581\u2581@",Fn="@\u2581@",Xn=`
**\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`,Ze=["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 Nt(st){return/^\d+$/.test(st)?`${st}px`:st}const Kt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",tn={[Kt+"-B"]:"bold",[Kt+"-I"]:"italic"},jt={[Lt]:"\u6DFB\u52A0\u94FE\u63A5",[bn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[St]:"\u6DFB\u52A0\u56FE\u7247",[fn]:"\u6DFB\u52A0\u753B\u56FE",[Dt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ln]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var pn=({defaultValue:st="",onChange:Pt,width:ct="100%",height:rn=400,miniToolbar:In=!1,isFocus:yn=!1,watch:ia,insertTemp:Un,mode:lt="markdown",id:$t="markdown-editor-id",showResizeBar:qn=!1,noStorage:nn=!1,showNullButton:_n=!1,showNullProgramButton:Jn=!1,hidetoolBar:Ma=!1,fullScreen:ma=!1,onBlur:Ue,onCMBeforeChange:dn,onFullScreen:Qt,className:Sn="",disablePaste:On=!1,disabled:kn=!1,disabledFill:Dn=!1,placeholder:wn="",values:Aa="",extraUse:La})=>{const[mn,Da]=(0,x.useState)(null),[na,Qa]=(0,x.useState)(st),[Ja,Vn]=(0,x.useState)(ia),[sa,xa]=(0,x.useState)(ma),[aa,za]=(0,x.useState)(""),[ar,Ga]=(0,x.useState)(0),[mr,Ua]=(0,x.useState)(rn),[Cr,kr]=(0,x.useState)(!1),ao=(0,x.useRef)((0,ze.Z)()),Er=(0,x.useRef)(!1),vr=(0,x.useRef)(),[Zr,hr]=(0,x.useState)(0),[Fr,ur]=(0,x.useState)(0),Ra=(0,x.useRef)(),xr=(0,x.useRef)(),Xr=(0,x.useRef)(),br=(0,x.useRef)(),Vr=()=>Ea(void 0,null,function*(){var $a;const ga=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ao.current}});($a=ga==null?void 0:ga.attachments)!=null&&$a.length&&(console.log("cm:",mn,Ra),ga.attachments.map(Tn=>{Tn.content_type.indexOf("image")>-1?mn.replaceSelection(`![,](/api/attachments/${Tn.id}?type=${Tn.content_type})`):Tn.content_type.indexOf("video")>-1?mn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Tn.content_type.indexOf("pdf")>-1?mn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type}&disposition=inline" target="_blank">${Tn.name}</a>`):mn.replaceSelection(`[${Tn.name}](${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type})`)}))});(0,x.useEffect)(()=>{const $a=window.scrollY||window.pageYOffset;Qa(Aa),mn==null||mn.setValue(Aa),window.scrollTo(0,$a)},[Aa]),(0,x.useEffect)(()=>{Qt==null||Qt(sa)},[sa]),(0,x.useEffect)(()=>{if(Ra.current){let $a=function(Tn,Fa){var cr;if(On){Fa.preventDefault();return}const Nr=Fa.clipboardData;if(Nr){const xe=Nr.types.toString(),sn=Nr.items;if(xe==="Files"||Nr.types.indexOf("Files")>-1){if(Fa.preventDefault(),lt=="stex")return;try{let Cn=sn[1];((cr=sn[0])==null?void 0:cr.kind)==="file"&&(Cn=sn[0]);const zn=Cn.getAsFile(),cn=zn.name.split(".").pop();(0,tt.I)(zn,ra=>{var Zn,Nn,Gn;ra.id?((Zn=zn==null?void 0:zn.type)==null?void 0:Zn.indexOf("image"))>-1?ga.replaceSelection(`<img width="100%" src="/api/attachments/${ra.id}?type=${ra.content_type})" alt="" />`):((Nn=zn==null?void 0:zn.type)==null?void 0:Nn.indexOf("video"))>-1?ga.replaceSelection(`<video width="100%" controls src="/api/attachments/${ra.id}"></video>`):((Gn=zn==null?void 0:zn.type)==null?void 0:Gn.indexOf("pdf"))>-1?ga.replaceSelection(`<a href="/api/attachments/${ra.id}?type=${zn.type}&disposition=inline" target="_blank">${zn.name}</a>`):Ze.includes(cn)?ga.replaceSelection(`<a href="/api/attachments/${ra.id}?type=office&disposition=inline" target="_blank">${zn.name}</a>`):ga.replaceSelection(`[${zn.name}](/api/attachments/${ra.id}?type=${ra.content_type})`):(ra==null?void 0:ra.status)===401&&(At.ZP.warning((ra==null?void 0:ra.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Cn){At.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ga=Be().fromTextArea(Ra.current,{mode:lt,lineNumbers:!In,lineWrapping:!0,value:st,autoCloseTags:!Jn,autoCloseBrackets:!0});return ga.on("keyup",function(Tn,Fa){Fa.keyCode===8&&(Tn.getValue()==""?ga.setOption("placeholder",wn):ga.setOption("placeholder",null))}),ga.on("keydown",function(Tn,Fa){if(Fa.keyCode===8){var cr=Xa(Tn);cr&&Fa.preventDefault()}}),yn&&ga.focus(),ga.on("paste",$a),ga.on("dragleave",function(Tn,Fa){xr.current.classList.remove("mouse-hover-md")}),kn&&ga.on("beforeChange",function(Tn,Fa){(Fa.origin==="paste"||Fa.origin==="+input")&&Fa.cancel()}),Da(ga),()=>{ga.off("paste",$a)}}},[]);const jr=(0,x.useCallback)(()=>{if(xr.current)try{}catch($a){console.log($a,"---- to set md editor body height")}},[mr,xr,sa]);(0,x.useEffect)(()=>{function $a(){let ga=new Me.Z(Tn=>{for(let Fa of Tn)(Fa.target.offsetHeight>0||Fa.target.offsetWidth>0)&&(jr(),mn.setSize("100%","100%"),mn.refresh())});return ga.observe(Ra.current.parentElement),ga}if(mn){const ga=$a();return()=>{var Tn,Fa;(Tn=Ra.current)!=null&&Tn.parentElement&&ga.unobserve((Fa=Ra.current)==null?void 0:Fa.parentElement)}}},[mn,jr]),(0,x.useEffect)(()=>{if(mn){let $a=[];for(const[ga,Tn]of Object.entries(tn)){let Fa={[ga]:()=>{wr(Tn)}};$a.push(Fa),mn.addKeyMap(Fa)}return vr.current=setInterval(()=>{Er.current&&Vr()},4e3),()=>{clearInterval(vr.current);for(let ga of $a)mn.removeKeyMap(ga)}}},[mn]),(0,x.useEffect)(()=>{ma!==sa&&xa(ma)},[ma]),(0,jn.Z)(()=>{if(!nn&&ar>0){let $a=new Date().getTime(),ga=window.sessionStorage.getItem($t);$a>=ar+Ba&&(!ga||ga!==na)&&(window.sessionStorage.setItem($t,na),kr(!0))}},Ba),(0,x.useEffect)(()=>{Vn(ia)},[mn,ia]),(0,x.useEffect)(()=>{mn&&yn&&mn.focus()},[mn,yn]),(0,x.useEffect)(()=>{if(Ja&&mn){let $a=function(Tn){let Fa=Tn.target;if(br.current){let cr=Fa.scrollTop/Fa.scrollHeight;br.current.scrollTop=br.current.scrollHeight*cr}};const ga=mn.getScrollerElement();return ga.addEventListener("scroll",$a),()=>{ga.removeEventListener("scroll",$a)}}},[mn,Ja]),(0,x.useEffect)(()=>{if(mn&&dn){let $a=function(ga,Tn){dn(ga,Tn)};return mn.on("beforeChange",$a),()=>{mn.off("beforeChange",$a)}}},[mn,dn]),(0,x.useEffect)(()=>{if(mn&&Ue){let $a=function(){Ue(mn.getValue())};return mn.on("blur",$a),()=>{mn.off("blur",$a)}}},[mn,Ue]);function Xa($a,ga){var Tn=$a.getDoc(),Fa=Tn.getCursor(),cr=Tn.getLine(Fa.line),Nr=cr.charAt(Fa.ch-1),xe=cr.lastIndexOf("@\u2581@",Fa.ch),sn=cr.lastIndexOf("@\u2581\u2581@",Fa.ch),Cn=xe>sn?xe:sn,zn=xe>sn?3:4;if(An.indexOf(Nr)===-1)return null;if(console.log("change1:",ga,$a,cr,Fa,Cn,xe,sn,Nr),Cn>=0&&Fa.ch-Cn<5){var cn=Cn+zn;return Tn.replaceRange("",{line:Fa.line,ch:Cn},{line:Fa.line,ch:cn}),{line:Fa.line,ch:cn}}return null}(0,x.useEffect)(()=>{if(mn){let $a=function(ga,Tn){const Fa=ga.getValue();Qa(Fa),Ga(new Date().getTime()),ga.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Pt&&(Jn?Pt(Fa,qr(Fa)):Pt(Fa))};return mn.on("change",$a),()=>{mn.off("change",$a)}}},[mn,Pt]),(0,x.useEffect)(()=>{if(mn)if(st==null)mn.setValue(""),Qa("");else{const $a=window.scrollY||window.pageYOffset;st!==mn.getValue()&&(mn.setValue(st),Qa(st),mn.setCursor(kn?1:mn.lineCount(),0),window.scrollTo(0,$a))}},[mn,st]);const wr=(0,x.useCallback)($a=>{const ga=mn.getCursor(),Tn=mn.getSelection();let Fa=Tn.split(`
`);switch($a){case"bold":return mn.replaceSelection("**"+Tn+"**"),Tn===""&&mn.setCursor(ga.line,ga.ch+2),mn.focus();case"italic":return mn.replaceSelection("*"+Tn+"*"),Tn===""&&mn.setCursor(ga.line,ga.ch+1),mn.focus();case"code":return mn.replaceSelection("`"+Tn+"`"),Tn===""&&mn.setCursor(ga.line,ga.ch+1),mn.focus();case"inline-latex":return za("inline-latex"),mn.focus();case"latex":return mn.replaceSelection("```latex\n"+Tn+"\n```"),mn.setCursor(ga.line+1,Tn.length+1),mn.focus();case"line-break":return mn.replaceSelection(`<br/>
`),mn.focus();case"list-ul":return Tn===""?mn.replaceSelection("- "+Tn):mn.replaceSelection(Fa.map(cr=>cr===""?"":`- ${cr}`).join(`
`)),mn.focus();case"list-ol":return Tn===""?mn.replaceSelection("1. "+Tn):mn.replaceSelection(Fa.map((cr,Nr)=>cr===""?"":`${Nr+1}. ${cr}`).join(`
`)),mn.focus();case"add-null-ch":return Tn===""&&mn.setCursor(ga.line,ga.ch),mn.replaceSelection(Yt),mn.focus();case"add-signal":return Tn===""&&mn.setCursor(ga.line,ga.ch),mn.replaceSelection(Fn),mn.focus();case"add-multiple":return Tn===""&&mn.setCursor(ga.line,ga.ch),mn.replaceSelection(An),mn.focus();case"inster-template-1":return Tn===""&&mn.setCursor(ga.line,ga.ch),mn.replaceSelection(Xn),mn.focus();case"eraser":return mn.setValue(""),mn.focus();case"trigger-watch":return Vn(!Ja),mn.focus();case"trigger-full-screen":return xa(!sa),mn.focus();case Lt:za(Lt);return;case bn:za(bn);return;case St:za(St);return;case fn:za(fn);return;case"maths-latex":za("maths-latex");return;case Dt:za(Dt);return;case Ln:za(Ln);return;default:throw new Error}},[mn,Ja,sa]),dr=(0,x.useCallback)(($a,ga)=>{var Tn,Fa,cr,Nr,xe,sn;switch(za(""),aa){case Lt:const{title:Zn,link:Nn}=$a;return mn.replaceSelection(`[${Zn}](${Nn})`),mn.focus();case bn:const{language:Gn,content:Mn}=$a;return mn.replaceSelection(["```"+Gn,Mn,"```"].join(`
`)),mn.focus();case"maths-latex":for(var Cn=atob($a),zn=new Uint8Array(Cn.length),cn=0;cn<Cn.length;cn++)zn[cn]=Cn.charCodeAt(cn);var ra=new Blob([zn],{type:"image/png"});(0,tt.I)(ra,Co=>{Co.id?mn.replaceSelection(`![,](/api/attachments/${Co.id}?type=${Co.content_type})`):(Co==null?void 0:Co.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":mn.replaceSelection("`$$"+$a+"$$`");break;case St:case fn:case Pn:const{src:pa,alt:wa}=$a,fa=ga,Ar=(cr=(Fa=(Tn=fa==null?void 0:fa.name)==null?void 0:Tn.split("."))==null?void 0:Fa.pop)==null?void 0:cr.call(Fa);return((Nr=fa==null?void 0:fa.type)==null?void 0:Nr.indexOf("image"))>-1||!(fa!=null&&fa.type)?fa.align||fa.width?mn.replaceSelection(`<p style="text-align:${fa.align||"initial"}"><img width="${fa.width?fa.width+"%":"initial"}" src="${pa}" alt="${wa||""}" /></p>`):mn.replaceSelection(`<img width="100%" src="${pa}" alt="${wa||""}" />`):((xe=fa==null?void 0:fa.type)==null?void 0:xe.indexOf("video"))>-1?mn.replaceSelection(`<video width="100%" controls src="${pa}"></video>`):((sn=fa==null?void 0:fa.type)==null?void 0:sn.indexOf("pdf"))>-1?mn.replaceSelection(`<a href="${pa}?type=${fa.type}&disposition=inline" target="_blank">${fa.name}</a>`):Ze.includes(Ar)?mn.replaceSelection(`<a href="${pa}?type=office&disposition=inline" target="_blank">${fa.name}</a>`):mn.replaceSelection(`[${fa.name}](${pa})`),mn.focus();case Ln:const{row:fr,col:Or,align:$r}=$a;let uo=`
`;for(let Co=0;Co<fr;Co++){let pi=[],gi=[];for(let ri=0;ri<Or;ri++)Co===1&&gi.push(oa[$r]),pi.push(" ");Co===1&&(uo+=`| ${gi.join(" | ")} |
`),uo+=`| ${pi.join(Or===1?"":" | ")} |
`}return mn.replaceSelection(uo+`
`),mn.focus();default:throw new Error}},[mn,aa]),Qr=(0,x.useMemo)(()=>{switch(aa){case Lt:return x.createElement(an,{callback:dr,onCancel:ro});case bn:return x.createElement(En.Z,{callback:dr,onCancel:ro});case St:return x.createElement(tt.Z,{callback:dr,onCancel:ro});case Dt:return x.createElement(Ct,{callback:dr,onCancel:ro});case Ln:return x.createElement(Ne,{callback:dr,onCancel:ro});case"maths-latex":return x.createElement(ln,{showSaveButton:!0,callback:dr});case"inline-latex":return x.createElement(on.Z,{showSaveButton:!0,callback:dr});default:return null}},[aa]);function ro(){za("")}(0,x.useEffect)(()=>{if(Xr.current){let $a=function(xe){cr=!0,Nr=xe.pageY},ga=function(){cr=!1},Tn=function(xe){if(cr){let sn=xe.pageY-Nr;sn<0&&(sn=0),sn>300&&(sn=300);let Cn=rn+sn+"px";Ua(Cn)}},Fa=Xr.current,cr=!1,Nr=0;return Fa.addEventListener("mousedown",$a),document.addEventListener("mousemove",Tn),document.addEventListener("mouseup",ga),()=>{Fa.removeEventListener("mousedown",$a),document.removeEventListener("mousemove",Tn),document.removeEventListener("mouseup",ga)}}},[mn,Xr]),(0,x.useEffect)(()=>{Ua(rn)},[rn]);const xo=Nt(ct),To=Nt(mr),ko={width:xo,height:To},Ir=(0,x.useMemo)(()=>{if(ar){let $a=new Date(ar),ga=$a.getHours(),Tn=$a.getMinutes(),Fa=$a.getSeconds();return ga=ga<10?"0"+ga:ga,Tn=Tn<10?"0"+Tn:Tn,Fa=Fa<10?"0"+Fa:Fa,`${ga}:${Tn}:${Fa}`}return 0},[ar]),qr=$a=>{const ga=[];if(Jn){let Tn=-1;$a=$a.replace(/(@▁▁@|@▁@)/g,function(Fa,cr,Nr){ga.push({multiLine:Fa!==Fn})})}return ga};function Zo(){window.sessionStorage.removeItem($t),kr(!1),Ga(0)}function Ao(){kr(!1),Ga(0),mn.setValue(window.sessionStorage.getItem($t))}(0,x.useEffect)(()=>{jt[aa]&&aa!==fn&&aa!==Dt&&setTimeout(()=>{const $a=document.getElementsByClassName("markdown-popup-form")[0],ga=window.innerWidth/2-$a.offsetWidth/2,Tn=window.innerHeight/2-$a.offsetHeight/2;hr(ga),ur(Tn)},0)},[aa]);const Go=$a=>{$a.preventDefault();const ga=$a.clientX-Zr,Tn=$a.clientY-Fr;document.body.onmousemove=Fa=>{let cr=Fa.clientX-ga,Nr=Fa.clientY-Tn;const xe=document.getElementsByClassName("markdown-popup-form")[0],sn=window.innerWidth-xe.offsetWidth,Cn=window.innerHeight-xe.offsetHeight;cr=Math.max(0,Math.min(cr,sn)),Nr=Math.max(0,Math.min(Nr,Cn)),ai(Fa.clientX,Fa.clientY,ga,Tn)&&(hr(cr),ur(Nr))},document.body.onmouseup=function(){document.body.onmousemove=null}},ai=($a,ga,Tn,Fa)=>{const cr=document.body.clientHeight,Nr=document.body.clientWidth;return $a<20&&Tn>$a||$a>Nr-20&&Tn<$a||ga<20&&Fa>ga||ga>cr-20&&Fa<ga?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:xr},x.createElement("div",{className:`markdown-editor-container ${Sn} ${Ja?"on-preview":""} ${In?"mini":""} ${sa?"full-screen":""}`,style:ko},x.createElement(ye,{insertTemp:Un,watch:Ja,fullScreen:sa,showNullButton:_n,showNullProgramButton:Jn,onActionCallback:wr,hidetoolBar:Ma,extraUse:La}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:Ra,placeholder:wn})),Ja?x.createElement("div",{ref:br,className:"preview-container"},lt==="stex"&&x.createElement(nt,{value:na}),lt!=="stex"&&x.createElement(We.Z,{disabledFill:Dn,showProgramFill:Jn,value:na})):null))),qn?x.createElement("a",{ref:Xr,className:"editor-resize"}):null,aa===fn&&x.createElement(vn,{callback:dr,onCancel:ro}),aa===Dt&&x.createElement(Ct,{callback:dr,onCancel:ro}),x.createElement(Ge.Z,null,jt[aa]&&aa!==fn&&aa!==Dt?x.createElement(et.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Zr,top:Fr},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Go},jt[aa]),open:!0,onCancel:ro,footer:null,destroyOnClose:!0,width:aa===Dt?"1200px":null,height:aa===Dt?"80vh":null,className:"markdown-popup-form"},Qr):null))}},28451:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return pe},I:function(){return Ge}});var x=te(78241),ue=te(8591),Be=te(92832),Me=te(81327),Le=te(5871),Oe=te(5112),se=te(3113),dt=te(77903),ot=te(59301),Ve=te(24065),We=te(59301),nt=Object.defineProperty,Xe=Object.defineProperties,le=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Ae,Qe,ve)=>Qe in Ae?nt(Ae,Qe,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ae[Qe]=ve,z=(Ae,Qe)=>{for(var ve in Qe||(Qe={}))a.call(Qe,ve)&&E(Ae,ve,Qe[ve]);if(y)for(var ve of y(Qe))b.call(Qe,ve)&&E(Ae,ve,Qe[ve]);return Ae},ne=(Ae,Qe)=>Xe(Ae,le(Qe));const{useForm:re}=x.default,ie={width:280,marginRight:10},me={labelCol:{span:5},wrapperCol:{span:19}};var pe=({callback:Ae,onCancel:Qe})=>{const[ve]=re();let Te=(0,ot.useRef)();function Ye(ut){Te.current.width=ve.getFieldValue("width"),Te.current.align=ve.getFieldValue("align"),Ae(ut,Te.current)}function bt(ut,Ft){if(ut.status===-1){ue.ZP.error(ut.message);return}ve.setFieldsValue({src:`/api/attachments/${ut.id}`,type:Ft.type})}function De(ut){let Ft=ut.target.files[0];Te.current=Ft,Ge(Ft,bt)}return We.createElement(x.default,ne(z({form:ve},me),{className:"upload-image-panel",onFinish:Ye,style:{width:470,overflow:"hidden"}}),We.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},We.createElement("div",{className:"flex-container"},We.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},We.createElement(Be.default,{style:ie})),We.createElement(ye,{onFileChange:De}))),We.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},We.createElement(Be.default,{style:{width:264}})),We.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},We.createElement(Me.Z,null,We.createElement(x.default.Item,{name:"width",style:{margin:0}},We.createElement(Le.Z,{style:{width:264}})),We.createElement("span",{className:"ml8"},"%"))),We.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},We.createElement(Oe.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"}]})),We.createElement("aside",null,We.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},We.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),We.createElement(se.ZP,{type:"default",onClick:Qe},"\u53D6\u6D88"))))};function ye({onFileChange:Ae}){return We.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",We.createElement("input",{type:"file",onChange:Ae}))}function Ge(Ae,Qe){if(!Ae)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ve.bg)())throw ue.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ve=new FormData;ve.append("editormd-image-file",Ae),ve.append("file_param_name","editormd-image-file"),ve.append("byxhr","true");var Te=new window.XMLHttpRequest;Te.withCredentials=!0,Te.addEventListener("load",function(Ye){Qe(JSON.parse(Ye.target.responseText),Ae)},!1),Te.addEventListener("error",function(Ye){console.error(Ye)},!1),Te.open("POST",`${dt.KI}/api/attachments.json`),Te.send(ve)}},79346:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Be}});var x=te(59301),ue=te(4676);class Be extends x.Component{constructor(Le){super(Le);const Oe=window.document;this.node=Oe.createElement("div"),Oe.body.appendChild(this.node)}render(){const{children:Le}=this.props;return(0,ue.createPortal)(Le,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(Ut,Gt,te){"use strict";te.d(Gt,{i:function(){return ie},Z:function(){return pe}});var x={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"},ue=te(71418),Be=te(6848),Me=te(92310),Le=te.n(Me),Oe=te(955),se=te(8797),dt=te(24065),ot="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+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyUYI9wu8J1+cB0+XuDPemndz/GJMcZvDyq5NJjrsz2cbuTrNPuLCgTGIXLFZ6IDa5wPeCZSw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\u6D41",ptimg:Xe,swimg:le},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:E},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ne}];var pe=({className:ye,dataSource:Ge=[],col:Ae=4,right:Qe,bottom:ve=23,precision:Te=0,wrapWidth:Ye=1200,trackEventItems:bt,loading:De,onRemove:ut=()=>{},isCurrent:Ft=!0,showAlias:yt=!1})=>{const gt=Math.floor((Ye-(Ae-1)*Qe)/Ae),Xt=[{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(vt=>(window.ENV==="build"&&(vt.ptimg=`/react/build${vt.ptimg}`,vt.swimg=`/react/build${vt.swimg}`),vt));return re.createElement(ue.Z,{spinning:De},re.createElement("div",{className:Le()(x.list,ye)},!!(Ge!=null&&Ge.length)&&(Ge==null?void 0:Ge.map((vt,an)=>{var En;const{name:tt,id:et,identifier:qt,featured:hn,school_name:kt,image_url:vn,excellent:je,is_plan:Ot}=vt;return re.createElement("div",{key:et,className:x.wrap,style:{width:gt,marginRight:(1+an)%Ae===0?0:Qe+Te,marginBottom:ve}},re.createElement("a",{className:x.li,onClick:Wt=>{Wt.preventDefault(),Wt.stopPropagation(),bt&&(0,Oe.L9)([bt]),(0,Oe.xg)(`/paths/${qt}`)}},re.createElement("div",{className:x.img},re.createElement("img",{className:x.cover,src:`${vn}`}),Ft&&(0,dt.bg)()&&(vt==null?void 0:vt.studying)&&re.createElement("div",{className:`${x.movebq} user-path-items`,onClick:Wt=>{Wt.stopPropagation(),ut(vt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(En=vt==null?void 0:vt.subject_tags)==null?void 0:En.map((Wt,Mt)=>{var ht,rt;if(Mt===0){const Se=(ht=Xt.find(fe=>fe.name==Wt))==null?void 0:ht.swimg;return re.createElement("img",{className:x.sign,src:Se,style:{left:"-4px"}})}const _e=(rt=Xt.find(Se=>Se.name==Wt))==null?void 0:rt.ptimg;return re.createElement("img",{className:x.sign,src:_e,style:{left:`${48+52*(Mt-1)+2*Mt}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(vt==null?void 0:vt.excellent)&&re.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:x.name},re.createElement(Be.Z,{title:yt&&(vt!=null&&vt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${tt}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${vt==null?void 0:vt.excellent_alias_name}`)):tt},re.createElement("span",{className:x.e},yt&&(vt==null?void 0:vt.excellent_alias_name)||tt))),re.createElement("div",{className:x.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,vt.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,vt.members_count)))))))})),!Ge.length&&re.createElement(se.Z,null)))}},29458:function(Ut,Gt,te){"use strict";te.d(Gt,{jL:function(){return Le},w9:function(){return vt},QD:function(){return on},cQ:function(){return ut.Z},op:function(){return Ne},O5:function(){return Xn},_b:function(){return fn},t7:function(){return E},Gi:function(){return hn},YG:function(){return et},qp:function(){return We},vr:function(){return Lt},qE:function(){return en},Je:function(){return re},wb:function(){return De},cq:function(){return Mt},tp:function(){return le}});var x=te(59301),ue={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+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLv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cels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Le=({dataSource:Ze=[],img:Nt,imgWidth:Zt=346,title:Kt,sunTitle:tn,bannerExtraContent:jt})=>x.createElement("div",{className:ue.banner},x.createElement("div",{className:ue.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,Kt),x.createElement("span",null,tn)),Ze.length>0&&x.createElement("div",{className:ue.btns},Ze.map((pn,st)=>x.createElement("div",{key:st,onClick:pn.click},pn.name,pn.sign?x.createElement("img",{src:Be,width:39}):null))),jt),Nt&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:Nt,width:Zt}))),Oe={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},se=te(92310),dt=te.n(se),ot=te(89392),We=({dataSource:Ze=[],value:Nt,onChange:Zt,onTitleChange:Kt,className:tn,title:jt,titleWidth:pn=41,style:st={},fontColor:Pt="#6A7283",showCount:ct})=>{const[rn,In]=(0,x.useState)(0),[yn,ia]=(0,x.useState)(!1),Un=(0,x.useRef)(null),lt=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var $t;Ze.length!==0&&((($t=Un==null?void 0:Un.current)==null?void 0:$t.clientHeight)>97?In(1):In(0)),Ze.length===0&&In(0),ia(!1)},[Ze]),x.createElement("div",{className:dt()(Oe.row,tn),style:st},x.createElement("div",{onClick:(0,ot.throttle)(()=>Kt==null?void 0:Kt(),2e3),style:{width:pn,marginTop:yn?12:4},className:`${Oe.title} ${Kt?"current":""}`},jt),x.createElement("div",{className:yn?`${Oe.tagsWrap} ${Oe.tagsBorderWrap}`:Oe.tagsWrap},x.createElement("div",{className:Oe.bar,ref:lt,style:rn>0?{height:rn===1?97:"auto",overflow:rn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:Oe.tag,ref:Un},Ze==null?void 0:Ze.map($t=>x.createElement("span",{onClick:()=>Zt($t.id),key:$t.id,style:{color:Pt},className:Nt===$t.id?Oe.active:""},x.createElement("span",{title:$t.name,className:Oe.name},$t.name),!!ct&&x.createElement("span",{className:Oe.num},$t.count))))),!!rn&&x.createElement(x.Fragment,null,rn===1?x.createElement("div",{onClick:()=>{var $t;In(2),(($t=Un==null?void 0:Un.current)==null?void 0:$t.clientHeight)>245?ia(!0):ia(!1)},className:Oe.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{lt.current.scrollTop=0,In(1),ia(!1)},className:Oe.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},nt={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"},le=({dataSource:Ze=[],value:Nt,onChange:Zt,className:Kt,style:tn={}})=>x.createElement("div",{style:tn,className:dt()(nt.tabs,Kt)},Ze.map(jt=>x.createElement("span",{onClick:()=>Zt(jt.id),className:Nt===jt.id?nt.active:"",key:jt.id},jt.name))),y={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=te(92832),E=({dataSource:Ze=[],value:Nt="",onChange:Zt,onInputChange:Kt=()=>{},className:tn,style:jt={},placeholder:pn,allowClear:st=!1})=>{var Pt;const[ct,rn]=(0,x.useState)(""),[In,yn]=(0,x.useState)("");(0,x.useEffect)(()=>{var lt;let $t=Nt;(lt=JSON.stringify(Nt))!=null&&lt.includes("{")&&(rn(Nt.id),$t=Nt.value||"");try{yn(decodeURIComponent($t||""))}catch(qn){yn(decodeURIComponent($t||""))}},[Nt]);const ia=()=>{Zt(encodeURIComponent(In),ct||null)},Un=lt=>{lt!==ct&&(rn(lt),Zt(encodeURIComponent(In),lt))};return x.createElement("div",{className:dt()(y.input,tn),style:jt},!!Ze.length&&x.createElement("div",{className:y.dropdown},x.createElement("div",{className:y.text},(Pt=Ze.find(lt=>lt.id===ct))==null?void 0:Pt.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:y.b1}),x.createElement("b",{className:y.b2})),x.createElement("div",{className:y.menu},Ze.map((lt,$t)=>x.createElement("div",{key:$t,onClick:()=>Un(lt.id)},lt.name)))),x.createElement(a.default,{onPressEnter:ia,value:In,onChange:lt=>{yn(lt.target.value),Kt(encodeURIComponent(lt.target.value),ct||null)},bordered:!1,placeholder:pn}),x.createElement("i",{onClick:ia,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:Ze,onChange:Nt,className:Zt,total:Kt,pageSize:tn,style:jt={}})=>{const pn=Ze<2,st=Ze>=Math.ceil(Kt/tn);return Kt<=tn?x.createElement(x.Fragment,null):x.createElement("div",{className:dt()(z.quickPager,Zt),style:jt},x.createElement("div",{onClick:()=>{pn||Nt(Ze-1,"prev")},className:pn?z.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{st||Nt(Ze+1,"next")},className:st?z.disabled:""},"\u4E0B\u4E00\u9875"))},ie={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"},me=te(71418),pe=te(6848),ye=te(13570),Ge=te(3294),Ae=te(955),Qe=te(96908),ve=te(57177),Te=te(81378),Ye=te(8797),De=({className:Ze,dataSource:Nt=[],col:Zt=4,right:Kt,bottom:tn=23,precision:jt=0,wrapWidth:pn=1200,trackEventItems:st,loading:Pt})=>{const ct=Math.floor((pn-(Zt-1)*Kt)/Zt);return x.createElement(me.Z,{spinning:Pt},x.createElement("div",{className:dt()(ie.list,Ze)},!!Nt.length&&Nt.map((rn,In)=>{const{name:yn,id:ia,identifier:Un,power:lt,cover_image_id:$t,pic:qn}=rn;return x.createElement("div",{className:ie.wrap,key:ia,style:{width:ct,marginRight:(1+In)%Zt===0?0:Kt+jt,marginBottom:tn}},x.createElement("a",{target:"_blank",href:`/shixuns/${Un}/challenges`,className:ie.li,onClick:nn=>{nn.preventDefault(),st&&(0,Ae.L9)([st]),lt&&(0,Ae.xg)(`/shixuns/${Un}/challenges`)}},x.createElement("div",{className:ie.img},x.createElement("img",{className:ie.cover,src:`${qn}`}),rn.is_jupyter&&x.createElement("img",{className:ie.sign,src:Qe}),rn.is_jupyter_lab&&x.createElement("img",{className:ie.sign,src:ve}),rn.is_unity_3d&&x.createElement("img",{className:ie.sign,src:Te})),x.createElement("div",{className:ie.name},x.createElement(pe.Z,{title:yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:ie.e},yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:ie.tags},x.createElement(pe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,rn.challenges_count))),!!rn.myshixuns_count&&x.createElement(pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,rn.myshixuns_count))),x.createElement(pe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,rn.level))),x.createElement("div",{className:ie.rate},x.createElement(ye.Z,{allowHalf:!0,disabled:!0,defaultValue:rn.score_info}),x.createElement("span",null,"\xA0",rn.score_info?`${rn.score_info}\u5206`:"5\u5206")))),!lt&&x.createElement("div",{className:ie.lockWrap},x.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Nt.length&&x.createElement(Ye.Z,null)))},ut=te(33847),Ft={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"},yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzm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abLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",gt=te(59301),vt=({className:Ze,dataSource:Nt=[],col:Zt=4,right:Kt,bottom:tn=23,precision:jt=0,wrapWidth:pn=1200,trackEventItems:st,loading:Pt})=>{const ct=Math.floor((pn-(Zt-1)*Kt)/Zt);return gt.createElement(me.Z,{spinning:Pt},gt.createElement("div",{className:dt()(Ft.list,Ze)},!!Nt.length&&Nt.map((rn,In)=>{const{subject_identifier:yn,id:ia,identifier:Un,power:lt}=rn,$t=rn.is_public!=0&&rn.is_public;return gt.createElement("div",{className:Ft.wrap,key:ia,style:{width:ct,marginRight:(1+In)%Zt===0?0:Kt+jt,marginBottom:tn}},gt.createElement("a",{className:Ft.li,onClick:qn=>{qn.preventDefault(),st&&(0,Ae.L9)([st]),(0,Ae.xg)(rn.first_category_url)}},gt.createElement("div",{className:Ft.top},gt.createElement(pe.Z,{title:rn.name},gt.createElement("div",{className:Ft.name},rn.name)),gt.createElement("img",{className:Ft.img,src:Ge.Z.IMG_SERVER+"/images/"+rn.avatar_url}),gt.createElement("div",{className:Ft.text,title:rn.creator},rn.creator),yn&&gt.createElement("div",{className:Ft.btns},gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),$t&&gt.createElement("div",{className:Ft.sign},"\u516C\u5F00")),gt.createElement("div",{className:Ft.bottom},rn.visits>0&&gt.createElement(pe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-liulanyan"}),gt.createElement("span",null,rn.visits))),rn.course_members_count>0&&gt.createElement(pe.Z,{title:"\u6210\u5458",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-chengyuan"}),rn.course_members_count)),rn.tasks_count>0&&gt.createElement(pe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-zuoye"}),rn.tasks_count)),rn.is_end?gt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!rn.is_accessible&&gt.createElement("div",{className:Ft.lockWrap},gt.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),gt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Nt.length&&gt.createElement(Ye.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"},En=te(89070),et=({dataSource:Ze=[],value:Nt,onChange:Zt,className:Kt,style:tn={},tabBarExtraContent:jt})=>x.createElement("div",{className:dt()(an.tabs,Kt),style:tn},x.createElement("div",{className:an.tabsWrap},Ze.map((pn,st)=>x.createElement("aside",{className:an.tab,onClick:()=>{Zt(pn.id),pn.link&&En.history.push(pn.link)},key:st},x.createElement("div",{className:Nt===pn.id?an.active:""},pn.name),(pn==null?void 0:pn.resetCount)==null&&(pn==null?void 0:pn.total)!==void 0&&x.createElement("span",null,"\uFF08",pn==null?void 0:pn.total,"\uFF09"),(pn==null?void 0:pn.resetCount)!==void 0&&(pn==null?void 0:pn.total)!==void 0&&x.createElement(pe.Z,{title:(pn==null?void 0:pn.tip)!=null?pn==null?void 0:pn.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},pn==null?void 0:pn.resetCount),"/",x.createElement("span",null,pn==null?void 0:pn.total),"\uFF09"))))),x.createElement("div",{className:an.tabBar},jt)),hn=({className:Ze,style:Nt={},children:Zt})=>x.createElement("div",{className:dt()(Ze),style:Nt},Zt),kt={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"},vn=te(38854),je=te(20834);const Ot=[{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:Ze,dropValue:Nt,className:Zt,onSort:Kt,onDrop:tn,dataSource:jt=Ot})=>{var pn;return x.createElement("div",{className:dt()(kt.orderWrap,Zt)},x.createElement(vn.Z,{dropdownRender:()=>x.createElement(je.default,null,jt.map((st,Pt)=>x.createElement(je.default.Item,{key:Pt,onClick:()=>tn(st.id)},st.name)))},x.createElement("span",{className:kt.orderTextWrap},(pn=jt.find(st=>Nt===st.id))==null?void 0:pn.name)),x.createElement("span",{className:kt.orderIconWrap},x.createElement("span",{className:kt.orderAsc},x.createElement("i",{className:Ze==="asc"?`iconfont icon-sanjiaoxing-up font12 ${kt.cursorPointer} ${kt.active}`:`iconfont icon-sanjiaoxing-up font12 ${kt.cursorPointer}`,onClick:()=>Kt(Ze==="asc"?"desc":"asc")})),x.createElement("span",{className:kt.orderDesc},x.createElement("i",{className:Ze==="desc"?`iconfont icon-sanjiaoxing-down font12 ${kt.cursorPointer} ${kt.active}`:`iconfont icon-sanjiaoxing-down font12 ${kt.cursorPointer}`,onClick:()=>Kt(Ze==="asc"?"desc":"asc")}))))},ht={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"},rt=te(3113),_e=Object.defineProperty,Se=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Ct=(Ze,Nt,Zt)=>Nt in Ze?_e(Ze,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ze[Nt]=Zt,Fe=(Ze,Nt)=>{for(var Zt in Nt||(Nt={}))fe.call(Nt,Zt)&&Ct(Ze,Zt,Nt[Zt]);if(Se)for(var Zt of Se(Nt))qe.call(Nt,Zt)&&Ct(Ze,Zt,Nt[Zt]);return Ze},Ce=(Ze,Nt)=>{var Zt={};for(var Kt in Ze)fe.call(Ze,Kt)&&Nt.indexOf(Kt)<0&&(Zt[Kt]=Ze[Kt]);if(Ze!=null&&Se)for(var Kt of Se(Ze))Nt.indexOf(Kt)<0&&qe.call(Ze,Kt)&&(Zt[Kt]=Ze[Kt]);return Zt},at=(Ze,Nt,Zt)=>new Promise((Kt,tn)=>{var jt=Pt=>{try{st(Zt.next(Pt))}catch(ct){tn(ct)}},pn=Pt=>{try{st(Zt.throw(Pt))}catch(ct){tn(ct)}},st=Pt=>Pt.done?Kt(Pt.value):Promise.resolve(Pt.value).then(jt,pn);st((Zt=Zt.apply(Ze,Nt)).next())}),Ne=Ze=>{var Nt=Ze,{className:Zt,style:Kt,children:tn,loading:jt=!1,openLoading:pn,onClick:st=()=>{},size:Pt="middle",shape:ct="round"}=Nt,rn=Ce(Nt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[In,yn]=(0,x.useState)(!1);return x.createElement(rt.ZP,Fe({onClick:(0,ot.throttle)(ia=>at(void 0,null,function*(){pn&&yn(!0);try{yield st(ia)}catch(Un){console.log("error",Un)}pn&&yn(!1)}),2e3,{leading:!0,trailing:!1}),className:dt()(ht.btn,ht[`${Pt}-${ct}`],Zt),style:Kt,size:Pt,shape:ct,loading:In||jt},rn),tn)},mt={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"},en=({className:Ze,style:Nt,children:Zt=null,onClick:Kt,title:tn})=>x.createElement("div",{className:dt()(mt.head,Ze),style:Nt},x.createElement("span",{className:"primary-hover",onClick:Kt},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:tn},tn),x.createElement("div",{className:mt.node},Zt)),zt={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"},on=({confirmShow:Ze=!0,confirmTitle:Nt,confirmClick:Zt,cancelShow:Kt=!0,cancelTitle:tn,cancelClick:jt,className:pn,style:st,confirmLoading:Pt=!1})=>x.createElement("div",{className:dt()(zt.btns,pn),style:st},Ze&&x.createElement(rt.ZP,{loading:Pt,onClick:Zt,type:"primary",className:zt.confirm},Nt),Kt&&x.createElement(rt.ZP,{onClick:jt,className:zt.cancel},tn)),ze={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"},Lt=({className:Ze,style:Nt={},LeftContent:Zt,children:Kt,RightContent:tn})=>x.createElement("div",{className:dt()(ze.fixedBottom,Ze),style:Nt},x.createElement("div",{className:ze.wrap},x.createElement("div",{className:ze.left},Zt),x.createElement("div",{className:ze.center},Kt),x.createElement("div",{className:ze.right},tn))),St={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"},fn=({className:Ze,style:Nt={},dataSource:Zt=[]})=>x.createElement("div",{className:dt()(St.crumbs,Ze),style:Nt},Zt.map((Kt,tn)=>tn<Zt.length-1?x.createElement(x.Fragment,{key:tn},Kt.path||Kt.onClick?x.createElement("span",{className:St.hover,onClick:Kt!=null&&Kt.onClick?Kt.onClick:()=>En.history.push(Kt.path)},Kt.name):x.createElement("span",null,Kt.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:tn,style:{color:"#5F6368"}},Kt.name))),Pn=te(31797),bn=Object.defineProperty,Ln=Object.defineProperties,ta=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,jn=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,va=(Ze,Nt,Zt)=>Nt in Ze?bn(Ze,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ze[Nt]=Zt,Hn=(Ze,Nt)=>{for(var Zt in Nt||(Nt={}))jn.call(Nt,Zt)&&va(Ze,Zt,Nt[Zt]);if(oa)for(var Zt of oa(Nt))Ea.call(Nt,Zt)&&va(Ze,Zt,Nt[Zt]);return Ze},Ba=(Ze,Nt)=>Ln(Ze,ta(Nt)),Yt=(Ze,Nt)=>{var Zt={};for(var Kt in Ze)jn.call(Ze,Kt)&&Nt.indexOf(Kt)<0&&(Zt[Kt]=Ze[Kt]);if(Ze!=null&&oa)for(var Kt of oa(Ze))Nt.indexOf(Kt)<0&&Ea.call(Ze,Kt)&&(Zt[Kt]=Ze[Kt]);return Zt};const{Countdown:An}=Pn.default;var Xn=Ze=>{var Nt=Ze,{onChange:Zt}=Nt,Kt=Yt(Nt,["onChange"]);const[tn,jt]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof tn=="number"&&tn>=0&&Zt(tn)},[tn]);const pn=st=>{const Pt=Math.floor(st/1e3);jt(Pt)};return x.createElement(An,Ba(Hn({},Kt),{onChange:pn}))}},58856:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ue}});var x=te(59301);function ue(Be,Me){const Le=(0,x.useRef)();(0,x.useEffect)(()=>{Le.current=Be}),(0,x.useEffect)(()=>{function Oe(){Le.current()}if(Me!==null){let se=setInterval(Oe,Me);return()=>clearInterval(se)}},[Me])}},42609:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return y}});var x=te(59301),ue=te(8591),Be=te(43418),Me=te(19842),Le=te(54580),Oe=te(3113),se=te(3294),dt=te(955),ot=te(99064),Ve=te(89070),We={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"},nt=te(59301),Xe=(a,b,E)=>new Promise((z,ne)=>{var re=pe=>{try{me(E.next(pe))}catch(ye){ne(ye)}},ie=pe=>{try{me(E.throw(pe))}catch(ye){ne(ye)}},me=pe=>pe.done?z(pe.value):Promise.resolve(pe.value).then(re,ie);me((E=E.apply(a,b)).next())}),y=({visible:a,onOk:b,onCancel:E,sub_discipline_id:z=[]})=>{const[ne,re]=(0,x.useState)([]),[ie,me]=(0,x.useState)(!1),pe=(0,Ve.useParams)(),[ye,Ge]=(0,x.useState)([]),[Ae,Qe]=(0,x.useState)([]);(0,x.useEffect)(()=>{a?ve():(Qe([]),re([]),me(!1))},[a]);const ve=()=>Xe(void 0,null,function*(){const Ft=yield(0,ot.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});Ge(Ft.disciplines||[]),Qe((z==null?void 0:z.length)>0?z:[])}),Te=()=>{if((Ae==null?void 0:Ae.length)===0)return ue.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ae),me(!0),b(ne,Ae[1],()=>{me(!1)})},Ye=()=>{E()},bt=()=>{const Ft=`${se.Z.API_SERVER}/api/courses/${pe.coursesId}/exercises/down_template`;(0,dt.Nd)(null,Ft)},De=Ft=>{const yt={name:Ft.name,uid:Ft.uid,file:Ft};return re([yt]),!1},ut=()=>{re([])};return nt.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Te,centered:!0,wrapClassName:We.customModal,onCancel:Ye,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:We.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ie},nt.createElement("div",{className:We.content},nt.createElement("aside",null,nt.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),nt.createElement("ul",null,nt.createElement("li",null,nt.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),nt.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:bt},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),nt.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:bt,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),nt.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),nt.createElement("li",{className:We.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),nt.createElement("li",{className:We.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),nt.createElement("li",{className:We.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),nt.createElement("li",{className:We.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),nt.createElement("aside",{style:{marginTop:22}},nt.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),nt.createElement("ul",{style:{flex:1}},nt.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&&nt.createElement(nt.Fragment,null,nt.createElement(Me.Z,{value:Ae,className:We.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:ye,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Ft,yt)=>{Qe(Ft||[])}}),nt.createElement("br",null),nt.createElement(Le.default,{action:`${se.Z.API_SERVER}/api/attachments.json`,beforeUpload:De,onRemove:ut,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},nt.createElement(Oe.ZP,{className:We.upload,type:"primary",icon:nt.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((Ft,yt)=>nt.createElement("div",{key:yt,className:We.fileList},nt.createElement("span",{className:We.fileName},Ft==null?void 0:Ft.name),nt.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ut})))))))}},74440:function(Ut,Gt,te){"use strict";te.d(Gt,{h:function(){return x}});var x=(ue=>(ue[ue.NOMATCH=-1]="NOMATCH",ue[ue.OK=0]="OK",ue[ue.TIMEOUT=2]="TIMEOUT",ue[ue.PODFAILURE=3]="PODFAILURE",ue[ue.COMPILEFAILURE=4]="COMPILEFAILURE",ue[ue.EXECUTEFAILURE=5]="EXECUTEFAILURE",ue[ue.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ue))(x||{})},88264:function(Ut,Gt,te){"use strict";te.d(Gt,{H7:function(){return y},MK:function(){return le},MU:function(){return Ve},X6:function(){return nt},bM:function(){return ot},fi:function(){return a},fu:function(){return dt},n4:function(){return b},rX:function(){return Xe},vl:function(){return E},zO:function(){return We}});var x=te(99064),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(z,ne,re)=>ne in z?ue(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,se=(z,ne)=>{for(var re in ne||(ne={}))Me.call(ne,re)&&Oe(z,re,ne[re]);if(Be)for(var re of Be(ne))Le.call(ne,re)&&Oe(z,re,ne[re]);return z};function dt(z,ne){return(0,x.U2)(`myproblems/${z}.json`,se({hidePopLogin:!0},ne||{}))}function ot(z,ne){return(0,x.v_)(`myproblems/${z}/code_submit.json`,ne)}function Ve(z,ne){return(0,x.v_)(`myproblems/${z}/code_debug.json`,ne)}function We(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,x.U2)(`myproblems/${z}/submit_records.json`,ne)}function nt(z){return(0,x.U2)("myproblems/record_detail.json",{id:z})}function Xe(z,ne){return(0,x.U2)(`myproblems/${z}/result.json`,{mode:ne})}function le(z,ne){return(0,x.v_)(`myproblems/${z}/add_notes.json`,ne)}function y(z,ne){return(0,x.v_)(`myproblems/${z}/restore_initial_code.json`,ne)}function a(z){return(0,x.v_)(`myproblems/${z}/sync_code.json`)}function b(z,ne){return(0,x.v_)(`myproblems/${z}/update_code.json`,ne)}function E(z,ne){return(0,x.v_)(`discusses/${z}/plus.json`,ne)}},15730:function(Ut,Gt,te){"use strict";var x=te(59301),ue=te(6848),Be=te(92832),Me=te(8591),Le=te(7761),Oe=te(59301),se=(ot,Ve,We)=>new Promise((nt,Xe)=>{var le=b=>{try{a(We.next(b))}catch(E){Xe(E)}},y=b=>{try{a(We.throw(b))}catch(E){Xe(E)}},a=b=>b.done?nt(b.value):Promise.resolve(b.value).then(le,y);a((We=We.apply(ot,Ve)).next())});const dt=({defaultValue:ot,onFinish:Ve})=>{const[We,nt]=(0,x.useState)(!1),[Xe,le]=(0,x.useState)(ot);return(0,x.useEffect)(()=>{le(ot)},[ot]),Oe.createElement("div",null,We?Oe.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Xe,onChange:y=>{le(y.target.value)},onBlur:()=>se(void 0,null,function*(){var y;if(((y=Xe==null?void 0:Xe.replaceAll(" ",""))==null?void 0:y.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Xe))&&nt(!1)}),onPressEnter:()=>se(void 0,null,function*(){var y;if(((y=Xe==null?void 0:Xe.replaceAll(" ",""))==null?void 0:y.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Xe))&&nt(!1)})}):Oe.createElement("div",{className:Le.Z.title},Xe,Oe.createElement(ue.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Oe.createElement("i",{className:`${Le.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>nt(!0)}))))};Gt.Z=dt},8478:function(Ut,Gt,te){"use strict";te.r(Gt),te.d(Gt,{default:function(){return gl},useCourseOptions:function(){return dl}});var x=te(59301),ue=te(89070),Be=te(78241),Me=te(66104),Le=te(8591),Oe=te(71418),se=te(92832),dt=te(19842),ot=te(24905),Ve=te(5112),We=te(5871),nt=te(3113),Xe=te(7761),le=te(80401),y=te(26422),a=te(6021),b=te(43418),E=te(20834),z=te(38854),ne=te(6848),re=te(43428),ie={flex_box_center:"flex_box_center___gi93l",flex_space_between:"flex_space_between___mWMLA",flex_box_vertical_center:"flex_box_vertical_center___rk4nc",flex_box_center_end:"flex_box_center_end___B8XxF",flex_box_column:"flex_box_column___AX3Vm",moreSpan:"moreSpan___hbStq",bg:"bg___Ya739",title:"title___BC46y",bottomdiv:"bottomdiv___uaPr6",spanBtn:"spanBtn___jjgnA",addQuestionBtn:"addQuestionBtn___qOlYW",saveBtn:"saveBtn___ulgem",left:"left___i8aTX",leftAction:"leftAction___sQkuq",Button:"Button___auxWm",iconWrapper:"iconWrapper___h3H1m",up:"up___tLyCX",down:"down___T5_aj",disabled:"disabled___GRBbF",titleleft:"titleleft___xZGbq",more_style:"more_style___nhWCX",qcount:"qcount___ID7OA",score:"score___T7dbm",qtitle:"qtitle___qJBFd",qcountclick:"qcountclick___m_VKG",right:"right___CBabI",edit:"edit___WHuql",delete:"delete___Pa6db",shixun:"shixun___oObBe",scoreByBlankRadio:"scoreByBlankRadio___r4AWn",modalconfirm:"modalconfirm___Ru9B_",scoremodal:"scoremodal___BdW7P",close:"close___blHYk",content:"content___jlm9o",items:"items___i3TrH",bottom:"bottom___zMQZ6",yes:"yes___lOPY6",no:"no___gtzKI",formcenter:"formcenter___fCxkm",radiogroup:"radiogroup___oXWHc",easy:"easy___ANNVD",medium:"medium___ov7N3",hard:"hard___n4afW",formcenterselect:"formcenterselect___lYa4f",selectitems1:"selectitems1___Y2Zy4",selectitems:"selectitems___c9Pt5",morebottom:"morebottom____I_ev",scoreinput:"scoreinput___O8EhL",shake:"shake___QxkjH",titleTooltip:"titleTooltip___CAyYg",exercise_styles:"exercise_styles___u40hG"},me=te(955),pe=te(99064),ye=te(8797),Ge=te(67248),Ae=te(78113),Qe=te(85149),ve=te(59301),Te=Object.defineProperty,Ye=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,yt=(he,Ke,$e)=>Ke in he?Te(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,gt=(he,Ke)=>{for(var $e in Ke||(Ke={}))ut.call(Ke,$e)&&yt(he,$e,Ke[$e]);if(De)for(var $e of De(Ke))Ft.call(Ke,$e)&&yt(he,$e,Ke[$e]);return he},Xt=(he,Ke)=>Ye(he,bt(Ke)),vt=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),En=({Itemid:he,setqitem:Ke,qitem:$e,data:gn,getdata:ua,bigitem:ka,setBigqitem:Ka,isedit:ge,handleEditing:ce})=>{const[be,ke]=(0,x.useState)([]),[Ie,He]=(0,x.useState)(!1);(0,x.useEffect)(()=>{gn.length>0&&ke([...gn])},[gn]);const pt=(Bt,it)=>vt(void 0,null,function*(){if(ge){ce();return}if(!Bt.destination)return;He(!0);let Ht=yield(0,pe.ZP)(`/api/examination_banks/${he}/examination_banks_item_banks/${it==null?void 0:it[Bt.source.index].question_id}/adjust_position.json`,{method:"post",body:{id:he,itemid:it==null?void 0:it[Bt.source.index].question_id,position:Bt.destination.index}});He(!1),Ht.status===0&&ua({id:it==null?void 0:it[Bt.source.index].question_id})});return ve.createElement("div",null,ve.createElement(Ae.Z5,{onDragEnd:Bt=>pt(Bt,be)},ve.createElement(Ae.bK,{droppableId:"droppable"},(Bt,it)=>ve.createElement("div",gt({ref:Bt.innerRef},Bt.droppableProps),ve.createElement(Oe.Z,{spinning:Ie},be.map((Ht,wt)=>ve.createElement(Ae._l,{key:wt,draggableId:wt.toString(),index:wt},(Jt,Rn)=>{var _t,It;return ve.createElement("aside",gt(gt({ref:Jt.innerRef},Jt.draggableProps),Jt.dragHandleProps),ve.createElement(ne.Z,{title:ve.createElement(Qe.Z,{value:(Ht==null?void 0:Ht.question_type)===8?(_t=Ht==null?void 0:Ht.program_attr)==null?void 0:_t.description:Ht.question_title}),color:"#fff",placement:"left",overlayClassName:ie.titleTooltip},ve.createElement("div",{onClick:()=>{if(ge){ce();return}Ke(Xt(gt({},Ht),{index:wt+1})),Ka(ka),(0,me.Vf)("#question-scroll-id")},className:`${ie.qcount} ${Ht.question_id===($e==null?void 0:$e.question_id)?ie.qcountclick:""}`},ve.createElement("span",{className:ie.score},Ht==null?void 0:Ht.question_score,"\u5206"),ve.createElement("span",{className:ie.qtitle},wt+1,"\u3001",ve.createElement(Qe.Z,{value:(Ht==null?void 0:Ht.question_type)===8?(It=Ht==null?void 0:Ht.program_attr)==null?void 0:It.description:Ht.question_title,showTextOnly:!0})))))}))),Bt.placeholder))))},tt=te(95237),et=te(65357),qt=te(57809),hn=te(78673),kt=te(61485),vn=te(87198),je=te(59301),Ot=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),Mt=({form:he,TagDiscipline:Ke,exerciseitem:$e,qitem:gn,getTagData:ua})=>{var ka;const[Ka,ge]=(0,x.useState)(!0),[ce,be]=(0,x.useState)(!1),[ke,Ie]=(0,x.useState)(""),[He,pt]=(0,x.useState)([]),[Bt,it]=(0,x.useState)([]),[Ht,wt]=(0,x.useState)(0);(0,x.useEffect)(()=>{Rn()},[]);const Jt=_t=>Ot(void 0,null,function*(){const It=yield(0,pe.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:_t==null?void 0:_t.sub_discipline_id}});it(It==null?void 0:It.tag_disciplines)}),Rn=()=>Ot(void 0,null,function*(){const _t=yield(0,pe.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});pt(_t.disciplines||[]),gn!=null&&gn.sub_discipline_id&&Jt(gn),wt(gn!=null&&gn.sub_discipline_id?1:0),he.setFieldsValue({difficulty:gn.difficulty||2,repeat_answer:!gn.repeat_answer,sub_discipline_id:gn!=null&&gn.sub_discipline_id?[gn==null?void 0:gn.discipline_id,gn==null?void 0:gn.sub_discipline_id]:[]})});return je.createElement("div",null,je.createElement("div",{style:{marginTop:30,overflow:"hidden",height:Ka?"100%":0}},je.createElement(Be.default.Item,{className:ie.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},je.createElement(Ve.ZP.Group,{className:ie.radiogroup},je.createElement(Ve.ZP.Button,{className:ie.easy,value:1},"\u7B80\u5355"),je.createElement(Ve.ZP.Button,{className:ie.medium,value:2},"\u9002\u4E2D"),je.createElement(Ve.ZP.Button,{className:ie.hard,value:3},"\u56F0\u96BE"))),je.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:ie.formcenterselect},je.createElement(dt.Z,{className:ie.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:He,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(_t,It)=>{he.setFieldsValue({sub_discipline_id:_t,tag_discipline_ids:[]}),wt(_t?_t.length:0),(_t==null?void 0:_t.length)>0&&(Jt({sub_discipline_id:_t[1]}),_t[1]==(gn==null?void 0:gn.sub_discipline_id)&&he.setFieldValue("tag_discipline_ids",gn.tag_discipline_ids))},onClear:()=>{it([]),he.setFieldValue("tag_discipline_ids",[]),wt(0)}})),je.createElement(Be.default.Item,{className:ie.formcenterselect},je.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},je.createElement(Be.default.Item,{name:"tag_discipline_ids"},je.createElement(qt.default,{className:ie.selectitems,disabled:Ht===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(_t,It)=>It.key.indexOf(_t.toLowerCase())>=0},Bt==null?void 0:Bt.map(_t=>je.createElement(qt.default.Option,{key:_t.name+_t.id,value:_t.id},je.createElement("div",{style:{display:"flex",alignItems:"center"}},je.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},_t.name),(_t==null?void 0:_t.type)==="personal"&&je.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),Ht>0&&je.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},je.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),je.createElement("a",{onClick:()=>{be(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),je.createElement(Be.default.Item,{className:ie.formcenterselect},je.createElement("div",{style:{display:"flex",alignItems:"center"}},je.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},je.createElement(hn.Z,null)),je.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"40px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",je.createElement(ne.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"},je.createElement(kt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),je.createElement(vn.Z,{open:ce,subDisciplineId:(ka=he.getFieldValue("sub_discipline_id"))==null?void 0:ka[1],onCancel:()=>{be(!1)},onOkClick:_t=>{it(It=>[...It,_t]),he.setFieldValue("tag_discipline_ids",[...he.getFieldValue("tag_discipline_ids"),_t==null?void 0:_t.id])}}))},ht=te(59301),rt=Object.defineProperty,_e=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,Fe=(he,Ke,$e)=>Ke in he?rt(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,Ce=(he,Ke)=>{for(var $e in Ke||(Ke={}))qe.call(Ke,$e)&&Fe(he,$e,Ke[$e]);if(fe)for(var $e of fe(Ke))Ct.call(Ke,$e)&&Fe(he,$e,Ke[$e]);return he},at=(he,Ke)=>_e(he,Se(Ke)),Je=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),mt=({qitem:he,setisedit:Ke,TagDiscipline:$e,exerciseitem:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();(0,x.useEffect)(()=>{var Ie;be.setFieldsValue(at(Ce({},he),{name:he==null?void 0:he.question_title,choices:(Ie=he==null?void 0:he.question_choices)==null?void 0:Ie.map(He=>at(Ce({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)}))},[he]);const ke=Ie=>{if(!(Ie!=null&&Ie.length))return!1;const He=Ie.map(Bt=>{var it;return(it=Bt.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(He).size!==He.length};return ht.createElement("div",null,ht.createElement(Be.default,{form:be,colon:!1,onFinish:Ie=>{var He;if(ke(Ie.choices)){Le.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let pt=at(Ce({},Ie),{item_type:he==null?void 0:he.question_type,choices:(He=Ie==null?void 0:Ie.choices)==null?void 0:He.map(Bt=>at(Ce({},Bt),{is_answer:Bt.standard_boolean}))});ua(Ce(Ce({},he),pt))},onFinishFailed:Ie=>Je(void 0,null,function*(){var He,pt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},ht.createElement("div",{style:{display:"flex",alignItems:"center"}},ht.createElement("div",{style:{flex:1}},ht.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),ht.createElement("span",null,(he==null?void 0:he.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),!he.isadd&&ht.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},ht.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),ht.createElement(nt.ZP,{onClick:()=>{var Ie;he.isadd?(Ke(!1),ge()):(be.setFieldsValue(at(Ce({},he),{name:he==null?void 0:he.question_title,choices:(Ie=he==null?void 0:he.question_choices)==null?void 0:Ie.map(He=>at(Ce({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),ht.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:ht.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},ht.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")},ht.createElement(nt.ZP,{className:"ml20",type:"primary",onClick:()=>Je(void 0,null,function*(){be.submit()})},"\u4FDD\u5B58"))),ht.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},ht.createElement(tt.Z,{align:"middle"},ht.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},ht.createElement(We.Z,{onBlur:Ie=>{Ie.target.value==="0"&&Le.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}))),ht.createElement(et.u,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"name",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),ht.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:gn,TagDiscipline:$e,form:be}))))},un=te(70472),en=te(27693),zt=te(59301),ln=Object.defineProperty,on=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Dt=(he,Ke,$e)=>Ke in he?ln(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,fn=(he,Ke)=>{for(var $e in Ke||(Ke={}))Lt.call(Ke,$e)&&Dt(he,$e,Ke[$e]);if(At)for(var $e of At(Ke))St.call(Ke,$e)&&Dt(he,$e,Ke[$e]);return he},Pn=(he,Ke)=>on(he,ze(Ke)),bn=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),ta=({qitem:he,TagDiscipline:Ke,exerciseitem:$e,setisedit:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm(),ke=Be.default.useWatch("use_blank_score",be);return(0,x.useEffect)(()=>{be.setFieldsValue(Pn(fn({},he),{standard_answers:he.standard_answers||[],name:he.question_title,repeat_answer:!he.repeat_answer}))},[he]),zt.createElement("div",null,zt.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,He)=>{var pt,Bt,it,Ht;if(Ie!=null&&Ie.standard_answers||Ie!=null&&Ie.use_blank_score){let wt=((pt=be.getFieldValue("standard_answers"))==null?void 0:pt.length)>0&&((it=(Bt=be.getFieldValue("standard_answers"))==null?void 0:Bt.map(Jt=>Jt.score))==null?void 0:it.filter(Jt=>Jt));(wt==null?void 0:wt.length)>0&&be.setFieldsValue({question_score:(wt==null?void 0:wt.length)>0&&((Ht=wt.reduce((Jt,Rn)=>Jt+Rn))==null?void 0:Ht.toFixed(1))})}},onFinish:Ie=>{var He;ua(Pn(fn(fn({},he),Ie),{item_type:he==null?void 0:he.question_type,standard_answers:(He=Ie.standard_answers)==null?void 0:He.map((pt,Bt)=>Pn(fn({},pt),{position:pt.choice_id||Bt+1}))}))},onFinishFailed:Ie=>bn(void 0,null,function*(){var He,pt;Ie.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,me.pE)(),Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},zt.createElement("div",{style:{display:"flex",alignItems:"center"}},zt.createElement("div",{style:{flex:1}},zt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),zt.createElement("span",null,"\u586B\u7A7A\u9898")),!he.isadd&&zt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},zt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),zt.createElement(nt.ZP,{onClick:()=>{he.isadd?(gn(!1),ge()):(be.setFieldsValue(Pn(fn({},he),{standard_answers:he.standard_answers,name:he.question_title,repeat_answer:!he.repeat_answer})),gn(!1))}},"\u53D6\u6D88"),zt.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:zt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},zt.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")},zt.createElement(nt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),zt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},zt.createElement(tt.Z,{align:"middle"},ke?zt.createElement(en.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):zt.createElement(Be.default.Item,{key:2,className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},zt.createElement(We.Z,{onBlur:Ie=>{Ie.target.value==="0"&&Le.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})),zt.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},zt.createElement(Ve.ZP.Group,{className:ie.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),zt.createElement(ne.Z,{overlayInnerStyle:{width:460},title:zt.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",zt.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")},zt.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),zt.createElement(un.u,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,answerKey:"standard_answers"}),zt.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:$e,TagDiscipline:Ke,form:be}))))},oa=te(11832),jn=te(59301),Ea=Object.defineProperty,va=Object.defineProperties,Hn=Object.getOwnPropertyDescriptors,Ba=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,Fn=(he,Ke,$e)=>Ke in he?Ea(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,Xn=(he,Ke)=>{for(var $e in Ke||(Ke={}))Yt.call(Ke,$e)&&Fn(he,$e,Ke[$e]);if(Ba)for(var $e of Ba(Ke))An.call(Ke,$e)&&Fn(he,$e,Ke[$e]);return he},Ze=(he,Ke)=>va(he,Hn(Ke)),Nt=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),Kt=({qitem:he,setisedit:Ke,TagDiscipline:$e,exerciseitem:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{var ke;be.setFieldsValue(Ze(Xn({},he),{name:he.question_title,repeat_answer:!he.repeat_answer,choices:(ke=he==null?void 0:he.question_choices)==null?void 0:ke.map(Ie=>Ze(Xn({},Ie),{is_answer:Ie!=null&&Ie.standard_boolean?1:0}))}))},[he]),jn.createElement("div",null,jn.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{ua(Xn(Xn({},he),ke))},onFinishFailed:ke=>Nt(void 0,null,function*(){var Ie,He;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},jn.createElement("div",{style:{display:"flex",alignItems:"center"}},jn.createElement("div",{style:{flex:1}},jn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),jn.createElement("span",null,"\u5224\u65AD\u9898")),!(he!=null&&he.isadd)&&jn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},jn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),jn.createElement(nt.ZP,{onClick:()=>{var ke;he.isadd?(Ke(!1),ge()):(be.setFieldsValue(Ze(Xn({},he),{name:he==null?void 0:he.question_title,choices:(ke=he==null?void 0:he.question_choices)==null?void 0:ke.map(Ie=>Ze(Xn({},Ie),{is_answer:Ie!=null&&Ie.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),jn.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:jn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},jn.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")},jn.createElement(nt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),jn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},jn.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},jn.createElement(We.Z,{onBlur:ke=>{ke.target.value==="0"&&Le.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})),jn.createElement(oa.Z,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),jn.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:gn,TagDiscipline:$e,form:be}))))},tn=te(36381),jt={wrap:"wrap___YewKC",deleteIcon:"deleteIcon___AKmkj",keywordTag:"keywordTag___hMKmU",questionTitleEditorWrap:"questionTitleEditorWrap___SpNyf",choiceWrap:"choiceWrap___lDCnP",choiceIndex:"choiceIndex___dabwf",judgementIndex:"judgementIndex___sausK",setAnswerBtn:"setAnswerBtn___moVcF",activeAnswer:"activeAnswer___Cd32c",activeJudgementAnswer:"activeJudgementAnswer___rbuoo",actionWrapper:"actionWrapper___dZuBC",addIcon:"addIcon___A9GtN",inputBorder:"inputBorder___DeyjY",placeholder:"placeholder___dhOmk",blankWrapper:"blankWrapper___vU8Cg",blankInput:"blankInput___Vzre8",blankInputNumberWrapper:"blankInputNumberWrapper___yLeaN",addBtn:"addBtn___LhI0I",blankIndex:"blankIndex___caKgB",baseInputWrapper:"baseInputWrapper___DhjJY",collapseWrapper:"collapseWrapper___btrfP",panelHeader:"panelHeader___xIZ7O",open:"open___IMQhg",close:"close___FTAU3",hide:"hide___GBtJP",scoreByBlankRadio:"scoreByBlankRadio___HAunQ"},pn=te(12893),st=te(12290),Pt=Object.defineProperty,ct=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,ia=Object.prototype.propertyIsEnumerable,Un=(he,Ke,$e)=>Ke in he?Pt(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,lt=(he,Ke)=>{for(var $e in Ke||(Ke={}))yn.call(Ke,$e)&&Un(he,$e,Ke[$e]);if(In)for(var $e of In(Ke))ia.call(Ke,$e)&&Un(he,$e,Ke[$e]);return he},$t=(he,Ke)=>ct(he,rn(Ke)),qn=(he,Ke)=>{var $e={};for(var gn in he)yn.call(he,gn)&&Ke.indexOf(gn)<0&&($e[gn]=he[gn]);if(he!=null&&In)for(var gn of In(he))Ke.indexOf(gn)<0&&ia.call(he,gn)&&($e[gn]=he[gn]);return $e};const nn=he=>{var Ke=he,{value:$e,onChange:gn,scrollId:ua}=Ke,ka=qn(Ke,["value","onChange","scrollId"]);return x.createElement("div",{id:ua||""},x.createElement(st.Z,$t(lt({},ka),{defaultValue:$e,onChange:(Ka,ge)=>{console.log("a:",Ka,ge),ge!=null&&ge.length?gn(Ka,ge):gn(Ka)}})))},_n=({value:he,onChange:Ke,placeholder:$e,height:gn=140,isEdit:ua})=>ua?x.createElement(st.Z,{watch:!0,isFocus:!0,height:gn,placeholder:$e,defaultValue:he,onChange:Ke}):x.createElement("div",{style:{cursor:"pointer"}},he?x.createElement(Qe.Z,{className:jt.inputBorder,value:he}):x.createElement("div",{className:`${jt.inputBorder} ${jt.placeholder}`},$e));var Jn=te(43604),Ma=te(32134),ma=Object.defineProperty,Ue=Object.defineProperties,dn=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,kn=(he,Ke,$e)=>Ke in he?ma(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,Dn=(he,Ke)=>{for(var $e in Ke||(Ke={}))Sn.call(Ke,$e)&&kn(he,$e,Ke[$e]);if(Qt)for(var $e of Qt(Ke))On.call(Ke,$e)&&kn(he,$e,Ke[$e]);return he},wn=(he,Ke)=>Ue(he,dn(Ke)),Aa=(he,Ke)=>{var $e={};for(var gn in he)Sn.call(he,gn)&&Ke.indexOf(gn)<0&&($e[gn]=he[gn]);if(he!=null&&Qt)for(var gn of Qt(he))Ke.indexOf(gn)<0&&On.call(he,gn)&&($e[gn]=he[gn]);return $e};const La=["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"],mn=({value:he,onChange:Ke,choiceTextKey:$e,answerKey:gn,index:ua,isEdit:ka,setInputActive:Ka,form:ge,choiceOptionsPath:ce,allowChangeMode:be,showAddIcon:ke,addItem:Ie,deleteItem:He})=>{const pt=(he==null?void 0:he[gn])===1,Bt=()=>{const Ht=ge.getFieldValue(ce);ge.setFieldValue(ce,Ht.map(wt=>wn(Dn({},wt),{[gn]:0})))},it=()=>{pt?Ke(wn(Dn({},he),{[gn]:0})):(be||Bt(),Ke(wn(Dn({},he),{[gn]:1})))};return x.createElement(tt.Z,{className:jt.choiceWrap,align:"middle",wrap:!1},x.createElement(Jn.Z,{onClick:it,className:`${jt.choiceIndex} ${pt?jt.activeAnswer:""}`},La[ua]),x.createElement(Jn.Z,{flex:1,className:`${jt.editorWrap} ml15`,onClick:Ka},x.createElement(_n,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ka,value:he==null?void 0:he[$e],onChange:Ht=>{Ke(wn(Dn({},he),{[$e]:Ht}))}})),x.createElement(Jn.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:it,className:`${jt.setAnswerBtn} ${pt?jt.activeAnswer:""}`},pt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),x.createElement(Jn.Z,{className:jt.actionWrapper},x.createElement(ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},x.createElement(Ma.Z,{className:jt.addIcon,onClick:Ie,style:{visibility:ke?"visible":"hidden"}})),x.createElement(ne.Z,{title:"\u5220\u9664"},x.createElement(pn.Z,{className:jt.deleteIcon,onClick:He,style:{visibility:ua>1?"visible":"hidden"}}))))},Da=({questionTitlePlaceholder:he,titleKey:Ke,choiceKey:$e,analysisKey:gn,choiceTextKey:ua,answerKey:ka,choiceOptionsPath:Ka,allowChangeMode:ge=!0,form:ce,showAnalysis:be=!0})=>{const[ke,Ie]=(0,x.useState)(),[He,pt]=(0,x.useState)(!1);return x.createElement("div",{className:jt.wrap},x.createElement("div",{className:jt.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Ke,labelCol:{span:24},rules:[{required:!0}]},x.createElement(nn,{scrollId:Array.isArray(Ke)?Ke.join("_"):`${Ke}`,watch:!0,height:140,placeholder:he}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),x.createElement(Be.default.List,{name:$e,rules:[{validator(Bt,it){const Ht=it.some(Jt=>Jt[ka]===1),wt=it.findIndex(Jt=>{var Rn;return((Rn=Jt[ua])==null?void 0:Rn.length)<=0});return wt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${La[wt]}\u9009\u9879\u7684\u5185\u5BB9`)):Ht?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Bt,{add:it,remove:Ht})=>x.createElement("div",{id:Array.isArray(Ka)?Ka.join("_"):`${Ka}`},Bt.map((wt,Jt)=>{var Rn=wt,{key:_t,name:It}=Rn,$n=Aa(Rn,["key","name"]);const Kn=ke===_t,Yn=()=>{Ie(_t)},Qn=Jt<7&&Jt===Bt.length-1,ea=()=>it({[ua]:"",[ka]:0}),xn=()=>Ht(It);return x.createElement(Be.default.Item,wn(Dn({},$n),{key:_t,name:It,noStyle:!0}),x.createElement(mn,{choiceTextKey:ua,answerKey:ka,index:Jt,isEdit:Kn,setInputActive:Yn,form:ce,choiceOptionsPath:Ka,allowChangeMode:ge,showAddIcon:Qn,addItem:ea,deleteItem:xn}))}),Bt.length<8&&x.createElement("div",{className:`${jt.addBtn} mb30`,onClick:()=>it({[ua]:"",[ka]:0})},"\u6DFB\u52A0\u9009\u9879"))),be&&x.createElement("div",{onClick:()=>pt(!0)},x.createElement(Be.default.Item,{name:gn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(_n,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:He}))))};var na=te(59301),Qa=Object.defineProperty,Ja=Object.defineProperties,Vn=Object.getOwnPropertyDescriptors,sa=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,aa=Object.prototype.propertyIsEnumerable,za=(he,Ke,$e)=>Ke in he?Qa(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,ar=(he,Ke)=>{for(var $e in Ke||(Ke={}))xa.call(Ke,$e)&&za(he,$e,Ke[$e]);if(sa)for(var $e of sa(Ke))aa.call(Ke,$e)&&za(he,$e,Ke[$e]);return he},Ga=(he,Ke)=>Ja(he,Vn(Ke)),mr=(he,Ke)=>{var $e={};for(var gn in he)xa.call(he,gn)&&Ke.indexOf(gn)<0&&($e[gn]=he[gn]);if(he!=null&&sa)for(var gn of sa(he))Ke.indexOf(gn)<0&&aa.call(he,gn)&&($e[gn]=he[gn]);return $e};const Ua=({value:he,onChange:Ke})=>{const $e=ua=>{b.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:jt.modal,onOk:()=>{const ka=[...he];ka.splice(ua,1),Ke(ka)}})},gn=()=>{const ua=[...he];ua.push(""),Ke(ua)};return na.createElement(tt.Z,{className:"ml20"},na.createElement(Jn.Z,{flex:1},he==null?void 0:he.map((ua,ka)=>na.createElement(tt.Z,{key:`${ua}_${ka}`,align:"middle",className:"mb20"},na.createElement(se.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:ua,autoSize:{maxRows:3},maxLength:1e3,onBlur:Ka=>{const ge=[...he],ce=Ka.target.value.trim();ge[ka]=ce,Ke(ge)}}),na.createElement(ne.Z,{title:"\u5220\u9664"},na.createElement(pn.Z,{className:jt.deleteIcon,style:{marginLeft:15,visibility:ka>0?"visible":"hidden"},onClick:()=>$e(ka)}))))),na.createElement(Jn.Z,null,na.createElement("div",{className:`${jt.addBtn}`,onClick:()=>{gn()}},"\u65B0\u589E\u7B54\u6848")))},Cr=({value:he=!0,onChange:Ke})=>na.createElement(hn.Z,{checked:!he,onChange:$e=>{Ke(!$e)}}),kr="\u2581",ao=({questionTitlePlaceholder:he,form:Ke,name:$e,scoreByBlank:gn,answerKey:ua,titleKey:ka="name",analysisKey:Ka="analysis",isOrdered:ge="is_ordered"})=>{var ce,be;const[ke,Ie]=(0,x.useState)(!1),He=(_t,It)=>{const $n=It.line;let Kn=0;for(let Qn=0;Qn<$n;Qn++)Kn+=_t.getLine(Qn).split(kr).length-1;const Yn=_t.getLine($n).substring(0,It.ch);return Kn+=Yn.split(kr).length-1,Kn},pt=(_t,It,$n,Kn)=>{const Yn=_t.getRange(It.from,It.to);let Qn=0;if(It.text.forEach(ea=>{Qn+=ea.split(kr).length-1}),It.origin!=="setValue"){if(Yn&&Yn.indexOf(kr)!==-1){const ea=Yn.split(kr).length-1,xn=He(_t,It.from);if(console.log(`\u5220\u9664${ea}\u4E2A\uFF0C \u524D\u9762\u6709${xn}\u4E2A\uFF0C\u65B0\u589E${Qn}\u4E2A`),ea>1){const ba=Array.from({length:ea},(ya,Za)=>xn+Za);Kn(ba)}else Kn(xn)}else if(Qn>0){const ea=He(_t,It.from);console.log(`\u65B0\u589E${Qn}\u4E2A\uFF0C\u4E4B\u524D\u6709${ea}\u4E2A`),$n(Qn,ea)}}},Bt=()=>{const _t=Ke.getFieldValue(["sub_item_banks",...ua]);Ke.setFieldValue(["sub_item_banks",...ua],_t==null?void 0:_t.map((It,$n)=>Ga(ar({},It),{position:$n+1})))},it=(0,x.useRef)(),Ht=(_t,It)=>{for(let $n=0;$n<_t;$n++)it.current({position:null,answer_text:[""]},It+$n);Bt()},wt=(0,x.useRef)(),Jt=_t=>{wt.current(_t),Bt()},Rn=(be=(ce=Ke.getFieldValue("sub_item_banks"))==null?void 0:ce[ua==null?void 0:ua[0]])==null?void 0:be[ua==null?void 0:ua[1]];return console.log(Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",...gn])),na.createElement("div",{className:jt.wrap},na.createElement("div",{className:jt.questionTitleEditorWrap},na.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ka,labelCol:{span:24},rules:[{required:!0}]},na.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:he,showNullButton:!0,onCMBeforeChange:(_t,It)=>{pt(_t,It,Ht,Jt)}}))),na.createElement(Be.default.List,{name:ua,rules:[{validator(_t,It){if((It==null?void 0:It.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const $n of It){const{answer_text:Kn}=$n||{};if(Kn!=null&&Kn.some(Yn=>(Yn==null?void 0:Yn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(_t,{add:It,remove:$n},{errors:Kn})=>(it.current=It,wt.current=$n,na.createElement(na.Fragment,null,na.createElement(Be.default.Item,{label:na.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(_t!=null&&_t.length)&&na.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),_t.map((Yn,Qn)=>{var ea=Yn,{key:xn,name:ba}=ea,ya=mr(ea,["key","name"]);return na.createElement(tt.Z,{className:"mb20",key:xn,align:"top"},na.createElement(Jn.Z,{flex:"0 0 auto",className:`${jt.blankIndex} pt5`},"\u586B\u7A7A\u9879",Qn+1),na.createElement(Jn.Z,{flex:1},na.createElement(tt.Z,{align:"top",justify:"space-between"},na.createElement(Jn.Z,{flex:1},na.createElement(Be.default.Item,Ga(ar({},ya),{name:[ba,"answer_text"],noStyle:!0}),na.createElement(Ua,null))),(Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",...gn]))&&na.createElement(Jn.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},na.createElement(Be.default.Item,Ga(ar({},ya),{name:[ba,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:jt.blankInputNumberWrapper}),na.createElement(We.Z,{onChange:()=>{var Za,ja;let la=Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",ua==null?void 0:ua[0],"standard_answers"]),Pa=0;for(let Sa in la)(Za=la[Sa])!=null&&Za.score&&(Pa+=Number((ja=la[Sa])==null?void 0:ja.score));Ke==null||Ke.setFieldValue(["sub_item_banks",ua==null?void 0:ua[0],"question_score"],Pa)},className:jt.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),na.createElement(Be.default.Item,Ga(ar({},ya),{name:[ba,"position"],noStyle:!0}),na.createElement(se.default,{type:"hidden"}))))})))),na.createElement(tt.Z,{align:"middle"},na.createElement(Be.default.Item,{name:[$e,"downcase"],valuePropName:"checked"},na.createElement(hn.Z,null)),na.createElement(Jn.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),na.createElement(tt.Z,{align:"middle"},na.createElement(Be.default.Item,{name:[$e,"no_space"],valuePropName:"checked"},na.createElement(hn.Z,null)),na.createElement(Jn.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Rn==null?void 0:Rn.length)>1&&na.createElement(tt.Z,{align:"middle",className:(Rn==null?void 0:Rn.length)>1?"mb30":`${jt.hide}`},na.createElement(Be.default.Item,{name:ge},na.createElement(Cr,null)),na.createElement(Jn.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")),na.createElement("div",{onClick:()=>Ie(!0)},na.createElement(Be.default.Item,{name:Ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},na.createElement(_n,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ke}))))};var Er=Object.defineProperty,vr=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,hr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,Ra=(he,Ke,$e)=>Ke in he?Er(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,xr=(he,Ke)=>{for(var $e in Ke||(Ke={}))Fr.call(Ke,$e)&&Ra(he,$e,Ke[$e]);if(hr)for(var $e of hr(Ke))ur.call(Ke,$e)&&Ra(he,$e,Ke[$e]);return he},Xr=(he,Ke)=>vr(he,Zr(Ke)),br=(he,Ke)=>{var $e={};for(var gn in he)Fr.call(he,gn)&&Ke.indexOf(gn)<0&&($e[gn]=he[gn]);if(he!=null&&hr)for(var gn of hr(he))Ke.indexOf(gn)<0&&ur.call(he,gn)&&($e[gn]=he[gn]);return $e};const Vr={\u6B63\u786E:"T",\u9519\u8BEF:"F"},jr=({value:he,onChange:Ke,form:$e,choiceKey:gn})=>{const ua=(he==null?void 0:he.is_answer)===1,ka=he==null?void 0:he.choice_text,Ka=()=>{var ge;const ce=(ge=$e==null?void 0:$e.getFieldValue(["sub_item_banks",...gn]))==null?void 0:ge.map(be=>({choice_text:be.choice_text,is_answer:0}));$e==null||$e.setFieldValue(["sub_item_banks",...gn],ce),Ke(Xr(xr({},he),{is_answer:1}))};return x.createElement(tt.Z,{className:jt.choiceWrap,align:"middle",wrap:!1},x.createElement(Jn.Z,{onClick:Ka,className:`${jt.choiceIndex} ${jt.judgementIndex} ${ua?jt.activeAnswer:""}`},Vr[ka]),x.createElement(Jn.Z,{flex:1,className:`${jt.editorWrap} ml15`},x.createElement("div",{className:`${jt.inputBorder} ${jt.placeholder} ${ua?jt.activeJudgementAnswer:""}`},ka)),x.createElement(Jn.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:Ka,className:`${jt.setAnswerBtn} ${ua?jt.activeAnswer:""}`},ua?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Xa=({questionTitlePlaceholder:he,choiceKey:Ke="choices",form:$e,titleKey:gn="name",analysisKey:ua="analysis"})=>{const[ka,Ka]=(0,x.useState)(!1);return x.createElement("div",{className:jt.wrap},x.createElement("div",{className:jt.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:gn,labelCol:{span:24},rules:[{required:!0}]},x.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:he}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},x.createElement(Be.default.List,{name:Ke,rules:[{validator(ge,ce){return ce.some(ke=>(ke==null?void 0:ke.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},ge=>x.createElement("div",{id:"choices"},ge.map(ce=>{var be=ce,{key:ke,name:Ie}=be,He=br(be,["key","name"]);return x.createElement(Be.default.Item,Xr(xr({},He),{key:ke,name:Ie,noStyle:!0}),x.createElement(jr,{form:$e,choiceKey:Ke}))})))),x.createElement("div",{onClick:()=>Ka(!0)},x.createElement(Be.default.Item,{name:ua,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(_n,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ka}))))};var wr=te(12563),dr=Object.defineProperty,Qr=Object.defineProperties,ro=Object.getOwnPropertyDescriptors,xo=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable,Ir=(he,Ke,$e)=>Ke in he?dr(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,qr=(he,Ke)=>{for(var $e in Ke||(Ke={}))To.call(Ke,$e)&&Ir(he,$e,Ke[$e]);if(xo)for(var $e of xo(Ke))ko.call(Ke,$e)&&Ir(he,$e,Ke[$e]);return he},Zo=(he,Ke)=>Qr(he,ro(Ke)),Ao=(he,Ke)=>{var $e={};for(var gn in he)To.call(he,gn)&&Ke.indexOf(gn)<0&&($e[gn]=he[gn]);if(he!=null&&xo)for(var gn of xo(he))Ke.indexOf(gn)<0&&ko.call(he,gn)&&($e[gn]=he[gn]);return $e};const Go=he=>{var Ke=he,{value:$e,onChange:gn}=Ke,ua=Ao(Ke,["value","onChange"]);const ka=Ka=>{gn([Ka])};return x.createElement(st.Z,Zo(qr({},ua),{defaultValue:$e==null?void 0:$e[0],onChange:ka}))},ai=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.trim()===""){Le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Ke=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==="|"?(Le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},$a=({value:he=[],onClose:Ke})=>x.createElement(wr.default,{closable:!0,onClose:Ke,className:jt.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),ga=({questionTitlePlaceholder:he,form:Ke,showKeywords:$e,isMustKeyWords:gn=$e,titleKey:ua="name",analysisKey:ka="analysis",answerTexts:Ka="answer_texts",keywords:ge="keywords",useKeywords:ce="use_keywords",indexs:be})=>{var ke,Ie,He,pt;const[Bt,it]=(0,x.useState)(!1),[Ht,wt]=(0,x.useState)(""),Jt=(Ie=(ke=Ke.getFieldValue("sub_item_banks"))==null?void 0:ke[ce==null?void 0:ce[0]])==null?void 0:Ie[ce==null?void 0:ce[1]],Rn=(pt=(He=Ke.getFieldValue("sub_item_banks"))==null?void 0:He[ce==null?void 0:ce[0]])==null?void 0:pt.question_score;return x.createElement("div",{className:jt.wrap},x.createElement("div",{className:jt.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ua,labelCol:{span:24},rules:[{required:!0}]},x.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:he}))),x.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Ka,labelCol:{span:24}},x.createElement(Go,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),$e&&!gn&&x.createElement(Be.default.Item,{hidden:!0,name:ce,valuePropName:"checked"},x.createElement(hn.Z,{defaultChecked:!0})),$e&&gn&&x.createElement(tt.Z,{align:"middle",className:"mb30"},x.createElement(Be.default.Item,{name:ce,valuePropName:"checked"},x.createElement(hn.Z,null)),x.createElement(Jn.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(Jn.Z,null,x.createElement(ne.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"},x.createElement(kt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Jt||!gn)&&x.createElement(Be.default.List,{name:ge,rules:[{validator(_t,It){return gn?It!=null&&It.length?(It==null?void 0:It.reduce((Kn,Yn)=>Kn+Yn.score,0))>parseFloat(Rn)?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()}}]},(_t,{add:It,remove:$n})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${jt.title} mb10`},gn?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(tt.Z,{align:"middle",className:"font14 mb30"},x.createElement(Jn.Z,{flex:1},x.createElement(se.default,{value:Ht,onChange:Kn=>{wt(Kn.target.value)},maxLength:50,allowClear:!0,onPressEnter:Kn=>{var Yn,Qn,ea,xn;const ba=`${(Yn=Kn.target)==null?void 0:Yn.value}`,ya=(ea=(Qn=ba==null?void 0:ba.split("|"))==null?void 0:Qn.filter(la=>!!la))==null?void 0:ea.map(la=>la.trim()),Za=Ke.getFieldValue(["sub_item_banks",...ge]),ja=((xn=Za==null?void 0:Za.map(la=>la==null?void 0:la.keyword))==null?void 0:xn.flat())||[];for(const la of ya)if(ja.includes(la)){Le.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}ai(ba)&&(It({keyword:ya,score:1}),wt(""))},className:jt.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"})),x.createElement(Jn.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),_t.map(Kn=>{var Yn=Kn,{key:Qn,name:ea}=Yn,xn=Ao(Yn,["key","name"]);return x.createElement(tt.Z,{key:Qn,className:"mb20",style:{marginRight:148}},x.createElement(Jn.Z,{flex:1},x.createElement(tt.Z,{align:"middle",justify:"space-between"},x.createElement(Be.default.Item,Zo(qr({},xn),{name:[ea,"keyword"]}),x.createElement($a,{onClose:()=>$n(ea)})),gn&&x.createElement(Be.default.Item,Zo(qr({},xn),{name:[ea,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:jt.blankInputNumberWrapper}),x.createElement(We.Z,{className:jt.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>it(!0)},x.createElement(Be.default.Item,{name:ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(_n,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Bt}))))};var Tn=te(59301),Fa=Object.defineProperty,cr=Object.defineProperties,Nr=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,zn=(he,Ke,$e)=>Ke in he?Fa(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,cn=(he,Ke)=>{for(var $e in Ke||(Ke={}))sn.call(Ke,$e)&&zn(he,$e,Ke[$e]);if(xe)for(var $e of xe(Ke))Cn.call(Ke,$e)&&zn(he,$e,Ke[$e]);return he},ra=(he,Ke)=>cr(he,Nr(Ke)),Zn=(he,Ke)=>{var $e={};for(var gn in he)sn.call(he,gn)&&Ke.indexOf(gn)<0&&($e[gn]=he[gn]);if(he!=null&&xe)for(var gn of xe(he))Ke.indexOf(gn)<0&&Cn.call(he,gn)&&($e[gn]=he[gn]);return $e};const{Panel:Nn}=tn.default,Gn=({questionTitlePlaceholder:he,choiceKey:Ke,form:$e,withScore:gn})=>{const ua=[{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"}],[ka,Ka]=(0,x.useState)(),[ge,ce]=(0,x.useState)([]),be=Ie=>{ce(Ie)},ke=({value:Ie})=>Tn.createElement("div",{style:{width:150,paddingLeft:11}},Ie);return Tn.createElement("div",{className:jt.wrap},Tn.createElement("div",{className:jt.questionTitleEditorWrap},Tn.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Tn.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:he}))),Tn.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Tn.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Ie,He){return He?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ie,{add:He,remove:pt,move:Bt})=>{const it=$e.getFieldValue("sub_item_banks");return Tn.createElement(Tn.Fragment,null,Tn.createElement(tn.default,{className:Ie.length>0?jt.collapseWrapper:"",bordered:!1,activeKey:ge,onChange:be,expandIcon:({isActive:Ht})=>Tn.createElement("i",{className:`iconfont icon-weizhankai ${Ht?jt.open:jt.close}`,style:{fontSize:14,transition:"all .2s"}})},Ie.map((Ht,wt)=>{var Jt=Ht,{key:Rn,name:_t}=Jt,It=Zn(Jt,["key","name"]),$n,Kn,Yn,Qn,ea,xn,ba,ya,Za,ja,la,Pa,Sa,Wn;return Tn.createElement(Nn,{className:jt.panel,forceRender:!0,header:Tn.createElement("div",{className:jt.panelHeader},"\u7B2C",wt+1,"\u5C0F\u9898",Tn.createElement("span",null,"\uFF08",(($n=it==null?void 0:it[_t])==null?void 0:$n.question_type)==0?"\u5355\u9009\u9898":((Kn=it==null?void 0:it[_t])==null?void 0:Kn.question_type)==1?"\u591A\u9009\u9898":((Yn=it==null?void 0:it[_t])==null?void 0:Yn.question_type)==3?"\u586B\u7A7A\u9898":((Qn=it==null?void 0:it[_t])==null?void 0:Qn.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:_t,extra:Tn.createElement(tt.Z,{align:"middle",onClick:ca=>ca.stopPropagation()},((ea=it==null?void 0:it[_t])==null?void 0:ea.question_type)==3&&Tn.createElement(Tn.Fragment,null,Tn.createElement(Ve.ZP.Group,{defaultValue:(xn=it==null?void 0:it[_t])==null?void 0:xn.use_blank_score,className:ie.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:ca=>{var Ta,qa,nr,Wa,gr;if($e==null||$e.setFieldValue(["sub_item_banks",_t,"use_blank_score"],(Ta=ca==null?void 0:ca.target)==null?void 0:Ta.value),(qa=ca==null?void 0:ca.target)!=null&&qa.value){let Sr=0;for(let Wr in(nr=$e==null?void 0:$e.getFieldValue(["sub_item_banks",_t]))==null?void 0:nr.standard_answers)Sr+=Number((gr=(Wa=$e==null?void 0:$e.getFieldValue(["sub_item_banks",_t]))==null?void 0:Wa.standard_answers[Wr])==null?void 0:gr.score);$e==null||$e.setFieldValue(["sub_item_banks",_t,"question_score"],Sr||"")}Ka(new Date)}}),Tn.createElement(ne.Z,{overlayInnerStyle:{width:460},title:Tn.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",Tn.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")},Tn.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),gn&&Tn.createElement(Be.default.Item,ra(cn({},It),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[_t,"question_score"],className:jt.blankInputNumberWrapper}),((ba=it==null?void 0:it[_t])==null?void 0:ba.question_type)==3&&((ya=it==null?void 0:it[_t])!=null&&ya.use_blank_score)?Tn.createElement(ke,null):Tn.createElement(We.Z,{className:jt.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Tn.createElement(tt.Z,{align:"middle",className:"pl40",style:{width:82}},wt!==0&&Tn.createElement("div",{onClick:()=>{var ca;Bt(wt,wt-1);const Ta=(ca=$e.getFieldValue("sub_item_banks"))==null?void 0:ca.map((qa,nr)=>(Ie.map((Wa,gr)=>{nr===gr&&(qa.q_position=Number(Wa.name)+1)}),qa));$e.setFieldValue("sub_item_banks",Ta)}},Tn.createElement(ne.Z,{title:"\u4E0A\u79FB"},Tn.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),wt<Ie.length-1&&Tn.createElement("div",{onClick:()=>{var ca;Bt(wt,wt+1);const Ta=(ca=$e.getFieldValue("sub_item_banks"))==null?void 0:ca.map((qa,nr)=>(Ie.map((Wa,gr)=>{nr===gr&&(qa.q_position=Number(Wa.name)+1)}),qa));$e.setFieldValue("sub_item_banks",Ta)},className:wt===0?"":"ml10"},Tn.createElement(ne.Z,{title:"\u4E0B\u79FB"},Tn.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),Tn.createElement(ne.Z,{title:"\u5220\u9664"},Tn.createElement(pn.Z,{className:`${jt.deleteIcon} ml40`,onClick:()=>pt(_t)})))},Tn.createElement(Be.default.Item,ra(cn({},It),{name:_t}),(((Za=it==null?void 0:it[_t])==null?void 0:Za.question_type)==0||((ja=it==null?void 0:it[_t])==null?void 0:ja.question_type)==1)&&Tn.createElement(Da,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((la=it==null?void 0:it[_t])==null?void 0:la.question_type)==1,form:$e,choiceKey:[_t,"choices"],titleKey:[_t,"name"],analysisKey:[_t,"analysis"],choiceOptionsPath:["sub_item_banks",_t,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Pa=it==null?void 0:it[_t])==null?void 0:Pa.question_type)==3&&Tn.createElement(ao,{form:$e,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",name:_t,scoreByBlank:[_t,"use_blank_score"],titleKey:[_t,"name"],analysisKey:[_t,"analysis"],isOrdered:[_t,"is_ordered"],answerKey:[_t,"standard_answers"],key:ka}),((Sa=it==null?void 0:it[_t])==null?void 0:Sa.question_type)==2&&Tn.createElement(Xa,{form:$e,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[_t,"name"],analysisKey:[_t,"analysis"],choiceKey:[_t,"choices"]}),((Wn=it==null?void 0:it[_t])==null?void 0:Wn.question_type)==4&&Tn.createElement(ga,{showKeywords:!0,isMustKeyWords:!0,form:$e,titleKey:[_t,"name"],analysisKey:[_t,"analysis"],answerTexts:[_t,"answer_texts"],useKeywords:[_t,"use_keywords"],keywords:[_t,"keywords"],indexs:_t,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9",key:ka})))})),Ie.length<20&&Tn.createElement(z.Z,{menu:{items:[{label:Tn.createElement("div",{onClick:()=>{He({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Tn.createElement("div",{onClick:()=>{He({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Tn.createElement("div",{onClick:()=>{He({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Tn.createElement("div",{onClick:()=>{He({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),ce([Ie==null?void 0:Ie.length,...ge])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Tn.createElement("div",{onClick:()=>{He({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Ht=>Ht.show).map(Ht=>({label:Ht.label,key:Ht.key}))}},Tn.createElement("div",{className:`${jt.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Mn=te(59301),pa=Object.defineProperty,wa=Object.defineProperties,fa=Object.getOwnPropertyDescriptors,Ar=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,$r=(he,Ke,$e)=>Ke in he?pa(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,uo=(he,Ke)=>{for(var $e in Ke||(Ke={}))fr.call(Ke,$e)&&$r(he,$e,Ke[$e]);if(Ar)for(var $e of Ar(Ke))Or.call(Ke,$e)&&$r(he,$e,Ke[$e]);return he},Co=(he,Ke)=>wa(he,fa(Ke)),pi=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),ri=({qitem:he,setisedit:Ke,TagDiscipline:$e,exerciseitem:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();(0,x.useEffect)(()=>{var Ie;be.setFieldsValue(Co(uo({},he),{name:he.question_title,sub_item_banks:(Ie=he.sub_exercise_questions)==null?void 0:Ie.map(He=>{var pt;return Co(uo({},He),{name:He.question_title,choices:(pt=He==null?void 0:He.question_choices)==null?void 0:pt.map(Bt=>Co(uo({},Bt),{is_answer:Bt!=null&&Bt.standard_boolean?1:0}))})}),repeat_answer:!he.repeat_answer}))},[he]);const ke=Ie=>{if(!(Ie!=null&&Ie.length))return!1;const He=Ie.map(Bt=>{var it;return(it=Bt.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(He).size!==He.length};return Mn.createElement("div",null,Mn.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,He)=>{var pt,Bt,it;if(Ie!=null&&Ie.sub_item_banks){let Ht=((pt=be.getFieldValue("sub_item_banks"))==null?void 0:pt.length)>0&&((it=(Bt=be.getFieldValue("sub_item_banks"))==null?void 0:Bt.map(wt=>{var Jt;if(wt.question_type==3&&(wt!=null&&wt.use_blank_score)){let Rn=0;for(let _t in wt==null?void 0:wt.standard_answers)Rn+=Number((Jt=wt==null?void 0:wt.standard_answers[_t])==null?void 0:Jt.score);return Rn}else return wt.question_score}))==null?void 0:it.filter(wt=>wt));(Ht==null?void 0:Ht.length)>0&&be.setFieldsValue({question_score:parseFloat(Ht==null?void 0:Ht.reduce((wt,Jt)=>parseFloat(wt)+parseFloat(Jt))).toFixed(1)})}},onFinish:Ie=>{var He,pt;if((He=Ie.sub_item_banks)==null?void 0:He.some(it=>it.question_type===0||it.question_type===1?ke(it.choices):!1)){Le.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}ua(Co(uo(uo({},he),Ie),{sub_item_banks:(pt=Ie==null?void 0:Ie.sub_item_banks)==null?void 0:pt.map(it=>(console.log(it),Co(uo({},it),{item_type:it==null?void 0:it.question_type,id:(it==null?void 0:it.question_id)||""})))}))},onFinishFailed:Ie=>pi(void 0,null,function*(){var He,pt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},Mn.createElement("div",{style:{display:"flex",alignItems:"center"}},Mn.createElement("div",{style:{flex:1}},Mn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Mn.createElement("span",null,"\u7EC4\u5408\u9898")),!he.isadd&&Mn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Mn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Mn.createElement(nt.ZP,{onClick:()=>{var Ie;he.isadd?(Ke(!1),ge()):(be.setFieldsValue(Co(uo({},he),{name:he==null?void 0:he.question_title,choices:(Ie=he==null?void 0:he.question_choices)==null?void 0:Ie.map(He=>Co(uo({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),Mn.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Mn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Mn.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")},Mn.createElement(nt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Mn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Mn.createElement(en.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),Mn.createElement(Gn,{form:be,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),Mn.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:gn,TagDiscipline:$e,form:be}))))},ui=te(90502),vi=te(24334),Po=te(59301),hi=Object.defineProperty,Ni=Object.defineProperties,Ql=Object.getOwnPropertyDescriptors,Vi=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,Qo=(he,Ke,$e)=>Ke in he?hi(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,mi=(he,Ke)=>{for(var $e in Ke||(Ke={}))nl.call(Ke,$e)&&Qo(he,$e,Ke[$e]);if(Vi)for(var $e of Vi(Ke))Jl.call(Ke,$e)&&Qo(he,$e,Ke[$e]);return he},Bi=(he,Ke)=>Ni(he,Ql(Ke)),yl=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),Ii=({qitem:he,TagDiscipline:Ke,exerciseitem:$e,setisedit:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm(),ke=!0;return(0,x.useEffect)(()=>{var Ie,He,pt;be.setFieldsValue(Bi(mi({},he),{standard_answers:he.standard_answer,difficulty:he.difficulty,item_banks_group_id:he.item_banks_group_id,hack:Bi(mi({},he),{time_limit:(he==null?void 0:he.time_limit)||3}),hack_codes:{language:(Ie=he==null?void 0:he.program_attr)==null?void 0:Ie.language,code:vi.Base64.decode(((He=he==null?void 0:he.program_attr)==null?void 0:He.code)||"")},hack_sets:mi({},(pt=he==null?void 0:he.hack_sets)==null?void 0:pt[0]),repeat_answer:!he.repeat_answer}))},[he]),Po.createElement("div",null,Po.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,He)=>{var pt,Bt,it,Ht;if(Ie!=null&&Ie.standard_answers){let wt=((pt=be.getFieldValue("standard_answers"))==null?void 0:pt.length)>0&&((it=(Bt=be.getFieldValue("standard_answers"))==null?void 0:Bt.map(Jt=>Jt.score))==null?void 0:it.filter(Jt=>Jt));(wt==null?void 0:wt.length)>0&&be.setFieldsValue({question_score:(wt==null?void 0:wt.length)>0&&((Ht=wt.reduce((Jt,Rn)=>Jt+Rn))==null?void 0:Ht.toFixed(1))})}},onFinish:Ie=>{var He;ua(Bi(mi(mi({},he),Ie),{item_type:he==null?void 0:he.question_type,standard_answers:(He=Ie.standard_answers)==null?void 0:He.map((pt,Bt)=>Bi(mi({},pt),{position:Bt+1})),standard_answer:void 0}))},onFinishFailed:Ie=>yl(void 0,null,function*(){var He,pt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},Po.createElement("div",{style:{display:"flex",alignItems:"center"}},Po.createElement("div",{style:{flex:1}},Po.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Po.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),!he.isadd&&Po.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Po.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Po.createElement(nt.ZP,{onClick:()=>{var Ie,He,pt;he.isadd?(gn(!1),ge()):(be.setFieldsValue(Bi(mi({},he),{standard_answers:he.standard_answer,difficulty:he.difficult,item_banks_group_id:he.item_banks_group_id,hack:mi({},he),hack_codes:{language:(Ie=he==null?void 0:he.program_attr)==null?void 0:Ie.language,code:vi.Base64.decode((He=he==null?void 0:he.program_attr)==null?void 0:He.code)},hack_sets:mi({},(pt=he==null?void 0:he.hack_sets)==null?void 0:pt[0]),repeat_answer:!he.repeat_answer})),gn(!1))}},"\u53D6\u6D88"),Po.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Po.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Po.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")},Po.createElement(nt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Po.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Po.createElement(en.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Po.createElement(ui.t,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,hackidentifier:he==null?void 0:he.hack_identifier,answerKey:"standard_answers"}),Po.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:$e,TagDiscipline:Ke,form:be}))))},Bo=te(59301),El=Object.defineProperty,bl=Object.defineProperties,Yl=Object.getOwnPropertyDescriptors,Cl=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Bl=(he,Ke,$e)=>Ke in he?El(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,di=(he,Ke)=>{for(var $e in Ke||(Ke={}))xl.call(Ke,$e)&&Bl(he,$e,Ke[$e]);if(Cl)for(var $e of Cl(Ke))oi.call(Ke,$e)&&Bl(he,$e,Ke[$e]);return he},Yo=(he,Ke)=>bl(he,Yl(Ke)),Qi=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),ql=({qitem:he,setqitem:Ke,setisedit:$e,TagDiscipline:gn,exerciseitem:ua,seveeditor:ka,deleteitem:Ka,showTip:ge=!1})=>{var ce;const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{var ke,Ie;be.setFieldsValue(Yo(di({},he),{name:he==null?void 0:he.question_title,choices:(ke=he==null?void 0:he.question_choices)==null?void 0:ke.map(He=>Yo(di({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),he.shixun=(Ie=he==null?void 0:he.shixun)==null?void 0:Ie.map(He=>Yo(di({},He),{defaultscore:He.challenge_score}))},[]),Bo.createElement("div",null,Bo.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{var Ie,He;let pt=Yo(di({},ke),{question_scores:(Ie=he==null?void 0:he.shixun)==null?void 0:Ie.map(Bt=>Bt.challenge_score),item_type:he==null?void 0:he.question_type,choices:(He=ke==null?void 0:ke.choices)==null?void 0:He.map(Bt=>Yo(di({},Bt),{is_answer:Bt.standard_boolean}))});ka(di(di({},he),pt))},onFinishFailed:ke=>Qi(void 0,null,function*(){var Ie,He;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},Bo.createElement("div",{style:{display:"flex",alignItems:"center"}},Bo.createElement("div",{style:{flex:1}},Bo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Bo.createElement("span",null,"\u5B9E\u8BAD\u9898")),Bo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Ka()}},Bo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Bo.createElement(nt.ZP,{onClick:()=>{var ke,Ie;be.setFieldsValue(Yo(di({},he),{name:he==null?void 0:he.question_title,choices:(ke=he==null?void 0:he.question_choices)==null?void 0:ke.map(He=>Yo(di({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),he.shixun=(Ie=he==null?void 0:he.shixun)==null?void 0:Ie.map(He=>Yo(di({},He),{challenge_score:He.defaultscore})),Ke(di({},he)),$e(!1)}},"\u53D6\u6D88"),Bo.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Bo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Bo.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")},Bo.createElement(nt.ZP,{className:"ml20",type:"primary",onClick:()=>Qi(void 0,null,function*(){var ke,Ie,He;if(((Ie=(ke=he==null?void 0:he.shixun)==null?void 0:ke.map)==null?void 0:Ie.call(ke,pt=>pt.challenge_score).filter(pt=>pt).length)<((He=he==null?void 0:he.shixun)==null?void 0:He.length)){Le.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}be.submit()})},"\u4FDD\u5B58"))),Bo.createElement(en.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Bo.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Bo.createElement(st.Z,{watch:!0,height:140,placeholder:"",defaultValue:he.question_title}))),Bo.createElement(tt.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Bo.createElement("div",null,Bo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Bo.createElement("a",{href:`/shixuns/${he==null?void 0:he.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Bo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(ce=he==null?void 0:he.shixun)==null?void 0:ce.map((ke,Ie)=>Bo.createElement("div",{key:ke.challenge_id,style:{display:"flex",marginBottom:20}},Bo.createElement("div",{style:{flex:1}},Ie+1,"\u3001",ke.challenge_name),Bo.createElement("div",null,Bo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Bo.createElement(We.Z,{precision:1,value:ke==null?void 0:ke.challenge_score,onChange:He=>{const pt=JSON.parse(JSON.stringify((he==null?void 0:he.shixun)||[]));pt[Ie].challenge_score=He;const Bt=pt.every(Ht=>!Ht.challenge_score),it=parseFloat(pt==null?void 0:pt.map(Ht=>Ht.challenge_score).reduce((Ht,wt)=>parseFloat(Ht||0)+parseFloat(wt||0)));be.setFieldsValue({question_score:Bt?"":it.toFixed(1)}),Ke(Yo(di({},he),{shixun:pt}))},max:200,min:1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Ha={flex_box_center:"flex_box_center___ljmk3",flex_space_between:"flex_space_between___Fy45C",flex_box_vertical_center:"flex_box_vertical_center___SoC1C",flex_box_center_end:"flex_box_center_end___MumBX",flex_box_column:"flex_box_column___cutpt",warp:"warp___w1JUC",indexTag:"indexTag___LPncW",normalWrap:"normalWrap___pEIzs",redio:"redio___I6tXM",redioitem:"redioitem___cS4Gp",redioitemyes:"redioitemyes___JBDmk",title:"title___XAohQ",titleyes:"titleyes____bNQk",yestag:"yestag___zQnb1",checkbox:"checkbox___MHadU",checkboxitem:"checkboxitem___KX7mB",checkboxitemyes:"checkboxitemyes___MpOWf",bottom:"bottom___FkHfO",bottomitem:"bottomitem___AS0Qp",left:"left___U23z1",right:"right___yJVEk",completion:"completion___Bu5G6",content:"content___LySPW",items:"items___ETMq9",simple:"simple___XX5t0",shixunWrapper:"shixunWrapper___w6oIG",shixun:"shixun___ePWKn",score:"score___nGh9k",qtitle:"qtitle___DAMW1",program:"program___Mm1qL",combination:"combination___Sw7S6",qtype:"qtype___Xdl60",divname:"divname___AZYhO"},yi=te(1710),al=te(59879),ha=te(59301);const Li=["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"],wl=[{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 ws=({qitem:he,newExercisePaper:Ke})=>{var $e,gn,ua,ka,Ka,ge,ce,be,ke,Ie,He,pt,Bt,it,Ht,wt,Jt,Rn,_t,It,$n,Kn,Yn,Qn,ea;return ha.createElement("div",{className:Ha.warp},((he==null?void 0:he.question_type)===0||(he==null?void 0:he.question_type)===2)&&ha.createElement("div",{className:Ha.normalWrap},($e=he==null?void 0:he.question_choices)==null?void 0:$e.map((xn,ba)=>ha.createElement("div",{className:Ha.redio,key:ba},!(xn!=null&&xn.standard_boolean)&&ha.createElement("span",{className:Ha.redioitem}),(xn==null?void 0:xn.standard_boolean)&&ha.createElement("i",{className:`${Ha.redioitemyes} icon-duigou1`}),ha.createElement("span",{className:`${xn!=null&&xn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},(he==null?void 0:he.question_type)===0?Li[ba]:""),ha.createElement(Qe.Z,{className:xn!=null&&xn.standard_boolean?Ha.titleyes:Ha.title,value:xn==null?void 0:xn.choice_text}),(xn==null?void 0:xn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),(he==null?void 0:he.question_type)===1&&ha.createElement("div",{className:Ha.normalWrap},(gn=he==null?void 0:he.question_choices)==null?void 0:gn.map((xn,ba)=>ha.createElement("div",{className:Ha.checkbox,key:ba},!(xn!=null&&xn.standard_boolean)&&ha.createElement("span",{className:Ha.checkboxitem}),(xn==null?void 0:xn.standard_boolean)&&ha.createElement("i",{className:`${Ha.checkboxitemyes} icon-duigou1`}),ha.createElement("span",{className:`${xn!=null&&xn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ba]),ha.createElement(Qe.Z,{className:xn!=null&&xn.standard_boolean?Ha.titleyes:Ha.title,value:xn==null?void 0:xn.choice_text}),(xn==null?void 0:xn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),(he==null?void 0:he.question_type)===3&&ha.createElement("div",{className:Ha.completion},(ua=he==null?void 0:he.standard_answers)==null?void 0:ua.map((xn,ba)=>{var ya;return ha.createElement(tt.Z,{align:"top"},ha.createElement("span",{className:Ha.title},"\u586B\u7A7A\u9879",ba+1),ha.createElement("div",{className:Ha.content},(ya=xn.answer_text)==null?void 0:ya.map((Za,ja)=>ha.createElement("div",{key:ja,className:Ha.items,style:(xn==null?void 0:xn.model)===2?{border:0,padding:0}:{}},(xn==null?void 0:xn.model)===1?ha.createElement("pre",{className:"mb0"},Za):ha.createElement(al.Z,{value:Za,disabled:!0})))))})),(he==null?void 0:he.question_type)===4&&ha.createElement("div",{className:Ha.simple},ha.createElement("div",{className:Ha.title},"\u53C2\u8003\u7B54\u6848"),ha.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ka=he==null?void 0:he.answer_texts)!=null&&ka[0]?ha.createElement(Qe.Z,{className:Ha.content,value:(Ka=he==null?void 0:he.answer_texts)==null?void 0:Ka[0]}):ha.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),ha.createElement("div",{className:"mt20 "},ha.createElement("span",{className:Ha.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ha.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},he!=null&&he.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(he==null?void 0:he.question_type)===5&&ha.createElement("div",{className:Ha.shixunWrapper},(ge=he==null?void 0:he.shixun)==null?void 0:ge.map((xn,ba)=>{var ya,Za;return ha.createElement("div",null,ha.createElement("div",{key:ba,className:`${Ha.shixun} mb30`},ha.createElement("span",{className:Ha.score},"\uFF08",xn==null?void 0:xn.challenge_score,"\u5206\uFF09"),ha.createElement("span",{className:Ha.qtitle},(he==null?void 0:he.index)+"."+(ba+1),"\u3001",xn==null?void 0:xn.challenge_name)),((Za=(ya=Ke==null?void 0:Ke.editData)==null?void 0:ya.exercise)==null?void 0:Za.show_challenge_task_pass)&&ha.createElement(Qe.Z,{className:Ha.content,value:(xn==null?void 0:xn.challenge_task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(he==null?void 0:he.question_type)===6&&ha.createElement("div",{className:Ha.program,style:{border:!((be=(ce=Ke==null?void 0:Ke.editData)==null?void 0:ce.exercise)!=null&&be.show_hack_sets)&&!((Ie=(ke=Ke==null?void 0:Ke.editData)==null?void 0:ke.exercise)!=null&&Ie.show_hack_description)&&"none"}},((pt=(He=Ke==null?void 0:Ke.editData)==null?void 0:He.exercise)==null?void 0:pt.show_hack_sets)&&ha.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},ha.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},ha.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),ha.createElement(yi.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(xn,ba,ya)=>ya+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(xn,ba,ya)=>ha.createElement(ne.Z,{title:ha.createElement("pre",null,xn)},ha.createElement("div",{className:Ha.divname},xn))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(xn,ba,ya)=>ha.createElement(ne.Z,{title:ha.createElement("pre",null,xn)}," ",ha.createElement("div",{className:Ha.divname},xn))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:(Bt=he==null?void 0:he.program_attr)==null?void 0:Bt.hack_sets})),((Ht=(it=Ke==null?void 0:Ke.editData)==null?void 0:it.exercise)==null?void 0:Ht.show_hack_description)&&ha.createElement("div",null,ha.createElement(Qe.Z,{className:Ha.content,value:(he==null?void 0:he.description)||"- -"}))),(he==null?void 0:he.question_type)===7&&((wt=he==null?void 0:he.sub_exercise_questions)==null?void 0:wt.map((xn,ba)=>{var ya,Za,ja,la,Pa,Sa;return ha.createElement("div",{key:ba},ha.createElement("div",{className:Ha.combination},ha.createElement("span",{className:Ha.score},xn==null?void 0:xn.question_score,"\u5206"),ha.createElement("span",{className:Ha.qtype},(ya=wl.find(Wn=>Wn.type==xn.question_type))==null?void 0:ya.name),ha.createElement("span",{className:Ha.qtitle},ha.createElement(Qe.Z,{value:`${ba+1}\u3001${xn==null?void 0:xn.question_title}`}))),(xn.question_type===0||xn.question_type===2)&&ha.createElement("div",{className:Ha.warp,style:{padding:"20px 58px 0 58px"}},ha.createElement("div",null,(Za=xn==null?void 0:xn.question_choices)==null?void 0:Za.map((Wn,ca)=>ha.createElement("div",{className:Ha.redio,key:ca},!(Wn!=null&&Wn.standard_boolean)&&ha.createElement("span",{className:Ha.redioitem}),(Wn==null?void 0:Wn.standard_boolean)&&ha.createElement("i",{className:`${Ha.redioitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Wn!=null&&Wn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ca]),ha.createElement(Qe.Z,{className:Wn!=null&&Wn.standard_boolean?Ha.titleyes:Ha.title,value:Wn==null?void 0:Wn.choice_text}),(Wn==null?void 0:Wn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848"))))),xn.question_type===1&&ha.createElement("div",{className:Ha.normalWrap},(ja=xn==null?void 0:xn.question_choices)==null?void 0:ja.map((Wn,ca)=>ha.createElement("div",{className:Ha.checkbox,key:ca},!(Wn!=null&&Wn.standard_boolean)&&ha.createElement("span",{className:Ha.checkboxitem}),(Wn==null?void 0:Wn.standard_boolean)&&ha.createElement("i",{className:`${Ha.checkboxitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Wn!=null&&Wn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ca]),ha.createElement(Qe.Z,{className:Wn!=null&&Wn.standard_boolean?Ha.titleyes:Ha.title,value:Wn==null?void 0:Wn.choice_text}),(Wn==null?void 0:Wn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),xn.question_type===3&&ha.createElement("div",{className:Ha.completion},(la=xn==null?void 0:xn.standard_answers)==null?void 0:la.map((Wn,ca)=>{var Ta;return ha.createElement(tt.Z,{align:"top"},ha.createElement("span",{className:Ha.title},"\u586B\u7A7A\u9879",ca+1),ha.createElement("div",{className:Ha.content},(Ta=Wn.answer_text)==null?void 0:Ta.map((qa,nr)=>ha.createElement("div",{key:nr,className:Ha.items},ha.createElement("pre",{className:"mb0"},qa)))))})),xn.question_type===4&&ha.createElement("div",{className:Ha.simple},ha.createElement("div",{className:Ha.title},"\u53C2\u8003\u7B54\u6848"),ha.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Pa=xn==null?void 0:xn.answer_texts)!=null&&Pa[0]?ha.createElement(Qe.Z,{className:Ha.content,value:(Sa=xn==null?void 0:xn.answer_texts)==null?void 0:Sa[0]}):ha.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),ha.createElement("div",{className:"mt20 "},ha.createElement("span",{className:Ha.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ha.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},xn!=null&&xn.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(he==null?void 0:he.question_type)===8&&ha.createElement("div",null,ha.createElement(Qe.Z,{disabledFill:!0,className:Ha.content,showProgramFill:!0,value:vi.Base64.decode(((Jt=he==null?void 0:he.program_attr)==null?void 0:Jt.code)||"")})),((he==null?void 0:he.question_type)<=4||[6,8].includes(he==null?void 0:he.question_type))&&ha.createElement("div",{className:Ha.bottom},ha.createElement("div",{className:`${Ha.bottomitem} mb30`},ha.createElement("span",{className:Ha.left},"\u89E3\u6790"),ha.createElement("span",{className:Ha.right},he!=null&&he.analysis?ha.createElement(Qe.Z,{value:he==null?void 0:he.analysis}):ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),ha.createElement("div",{className:`${Ha.bottomitem} mb30`},ha.createElement("span",{className:Ha.left},"\u96BE\u5EA6"),ha.createElement("span",{className:Ha.right},(he==null?void 0:he.difficulty)===1?"\u7B80\u5355":(he==null?void 0:he.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ha.createElement("div",{className:Ha.bottomitem},ha.createElement("span",{className:Ha.left},"\u77E5\u8BC6\u70B9"),ha.createElement(ne.Z,{title:((Rn=he==null?void 0:he.tag_discipline_names)==null?void 0:Rn.length)<=0||((_t=he==null?void 0:he.tag_discipline_names)==null?void 0:_t.length)==1&&["-"].includes(he==null?void 0:he.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":($n=(It=he==null?void 0:he.tag_discipline_names)==null?void 0:It.join("\uFF1B"))==null?void 0:$n.toString()},ha.createElement("span",{className:Ha.right},((Kn=he==null?void 0:he.tag_discipline_names)==null?void 0:Kn.length)<=0?ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Yn=he==null?void 0:he.tag_discipline_names)==null?void 0:Yn.length)==1&&["-"].includes(he==null?void 0:he.tag_discipline_names[0])?ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(ea=(Qn=he==null?void 0:he.tag_discipline_names)==null?void 0:Qn.join("\uFF1B"))==null?void 0:ea.toString())))))},Al=te(42609),rl=te(35173),Ko=te(59301),ts=Object.defineProperty,bi=Object.defineProperties,ol=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Ji=(he,Ke,$e)=>Ke in he?ts(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,Ri=(he,Ke)=>{for(var $e in Ke||(Ke={}))il.call(Ke,$e)&&Ji(he,$e,Ke[$e]);if(Oi)for(var $e of Oi(Ke))Dl.call(Ke,$e)&&Ji(he,$e,Ke[$e]);return he},ll=(he,Ke)=>bi(he,ol(Ke)),Ti=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),ns=({qitem:he,setisedit:Ke,TagDiscipline:$e,exerciseitem:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{be.setFieldsValue(ll(Ri({},he),{name:he.question_title,answer_texts:he.answer_texts,repeat_answer:!he.repeat_answer}))},[he]),Ko.createElement("div",null,Ko.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{ua(Ri(Ri({},he),ke))},onFinishFailed:ke=>Ti(void 0,null,function*(){var Ie,He;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},Ko.createElement("div",{style:{display:"flex",alignItems:"center"}},Ko.createElement("div",{style:{flex:1}},Ko.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ko.createElement("span",null,"\u7B80\u7B54\u9898")),!(he!=null&&he.isadd)&&Ko.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Ko.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ko.createElement(nt.ZP,{onClick:()=>{he.isadd?(Ke(!1),ge()):(be.setFieldsValue(ll(Ri({},he),{name:he==null?void 0:he.question_title,answer_texts:he.answer_texts||[],repeat_answer:!(he!=null&&he.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),Ko.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ko.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ko.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")},Ko.createElement(nt.ZP,{type:"primary",className:"ml20",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Ko.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ko.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Ko.createElement(We.Z,{onBlur:ke=>{ke.target.value==="0"&&Le.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})),Ko.createElement(rl.W,{form:be,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Ko.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:gn,TagDiscipline:$e,form:be}))))},Lo=te(59301),as=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())}),sl=({setScoreShow:he,ScoreShow:Ke,exerciseitem:$e,getdata:gn})=>{var ua,ka,Ka;const[ge,ce]=(0,x.useState)(!1);function be(){return as(this,null,function*(){var ke,Ie,He;let pt=(Ie=(ke=$e==null?void 0:$e.exercise_question_types)==null?void 0:ke.filter(it=>it.Singlequestion))==null?void 0:Ie.map(it=>({question_type:it.question_type,score:it.Singlequestion})),Bt=yield(0,pe.ZP)(`/api/examination_banks/${(He=$e==null?void 0:$e.exercise)==null?void 0:He.id}/batch_set_score.json`,{method:"POST",body:{question_arr:pt}});(Bt==null?void 0:Bt.status)===0&&gn()})}return Lo.createElement("div",null,Ke&&Lo.createElement(b.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Ke,width:640,centered:!0,zIndex:10,className:ie.scoremodal,onCancel:()=>{he(!1)},onOk:()=>{var ke,Ie,He;if($e!=null&&$e.use_blank_score&&((He=(Ie=(ke=$e==null?void 0:$e.exercise_question_types)==null?void 0:ke.filter(pt=>pt.name==="\u586B\u7A7A\u9898"))==null?void 0:Ie[0])!=null&&He.Singlequestion)){ce(!0);return}be(),he(!1)}},Lo.createElement("div",{className:"c-black"},"\u603B\u5206",Lo.createElement("span",{className:"ml10 c-light-primary"},($e==null?void 0:$e.exercise_question_types.length)>0&&((ua=$e==null?void 0:$e.exercise_types)==null?void 0:ua.q_scores))),Lo.createElement("div",{className:ie.content},Lo.createElement("span",null,"\u9898\u578B\u540D\u79F0"),Lo.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),Lo.createElement("span",null,"\u9898\u578B\u603B\u5206"),Lo.createElement("span",null,"\u64CD\u4F5C")),(Ka=(ka=$e==null?void 0:$e.exercise_question_types)==null?void 0:ka.filter(ke=>ke.name!=="\u5B9E\u8BAD\u9898"&&ke.name!=="\u7EC4\u5408\u9898"))==null?void 0:Ka.map((ke,Ie)=>{var He;return Lo.createElement("div",{key:Ie,className:ie.items},Lo.createElement("span",null,ke==null?void 0:ke.name),Lo.createElement("span",null,(He=ke==null?void 0:ke.items)==null?void 0:He.length),Lo.createElement("span",null,ke==null?void 0:ke.score),Lo.createElement("span",null,"\u6BCF\u9898",Lo.createElement(We.Z,{min:.1,precision:1,max:100,onChange:pt=>{ke.Singlequestion=pt},defaultValue:ke.Singlequestion,style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),Lo.createElement(b.default,{title:!1,footer:!1,centered:!0,open:ge,zIndex:20,width:640,closable:!1,className:ie.scoremodal},Lo.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",Lo.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"),Lo.createElement("div",{className:ie.bottom},Lo.createElement(nt.ZP,{className:ie.no,onClick:()=>{ce(!1)}},"\u53D6\u6D88"),Lo.createElement(nt.ZP,{className:ie.yes,onClick:()=>{be(),ce(!1),he(!1)}},"\u786E\u8BA4"))))},Fi=te(79285),ki=te(88918),Nl=te(89392),rs=te(86248),os=te(14791),is=te(32570),Na=te(59301),ls=Object.defineProperty,Ds=Object.defineProperties,ss=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Ns=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable,us=(he,Ke,$e)=>Ke in he?ls(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,ei=(he,Ke)=>{for(var $e in Ke||(Ke={}))Ns.call(Ke,$e)&&us(he,$e,Ke[$e]);if(Il)for(var $e of Il(Ke))Ll.call(Ke,$e)&&us(he,$e,Ke[$e]);return he},Ci=(he,Ke)=>Ds(he,ss(Ke)),Oo=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())});const $i=[{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"}],ds=({user:he,dispatch:Ke,itemid:$e,newExercisePaper:gn,setisedits:ua})=>{var ka,Ka,ge,ce,be,ke,Ie,He,pt,Bt,it,Ht;const[wt,Jt]=(0,x.useState)(),[Rn,_t]=(0,x.useState)(!1),[It,$n]=(0,x.useState)(),[Kn,Yn]=(0,x.useState)(),Qn=(0,x.useRef)(),ea=(0,x.useRef)(),[xn,ba]=(0,x.useState)(),[ya,Za]=(0,x.useState)(!1),[ja,la]=(0,x.useState)(!1),[Pa,Sa]=(0,x.useState)(),[Wn,ca]=(0,x.useState)(!1),[Ta,qa]=(0,x.useState)(!1),[nr,Wa]=(0,x.useState)(!1),[gr,Sr]=(0,x.useState)(!1),[Wr,_r]=(0,x.useState)(!1),[ho,eo]=(0,x.useState)(!1),[Br,Do]=(0,x.useState)(!1),[Ur,So]=(0,x.useState)(!1),[oo]=Be.default.useForm(),[Jo,or]=(0,x.useState)(!1),ir=(0,x.useRef)(null),[_a]=(0,ue.useSearchParams)(),[er,Gr]=(0,x.useState)(!1),tr=_a.get("isIntelligentAssistant"),[sr,Rr]=(0,x.useState)(!1);(0,x.useEffect)(()=>{io(),Ke({type:"globalSetting/footerToggle",payload:!1})},[]),(0,x.useEffect)(()=>{ua(ja)},[ja]),(0,x.useEffect)(()=>{It!=null&&It.question_id&&(Yn(It==null?void 0:It.question_score),ea.current=It==null?void 0:It.question_id)},[It]);const Dr=da=>Oo(void 0,null,function*(){let Va=yield Ke({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:da}});Sa(Va)});function io(){return Oo(this,null,function*(){var da,Va,Pr,yr,Lr,zr;Za(!0),_t(!0);const so=yield Ke({type:"newExercisePaper/editExercise",payload:{id:$e}});Za(!1),_t(!1),Jt(so),(da=so==null?void 0:so.exercise)!=null&&da.sub_discipline_id&&Dr((Va=so==null?void 0:so.exercise)==null?void 0:Va.sub_discipline_id),$n(Ci(ei({},(Lr=(yr=(Pr=so==null?void 0:so.exercise_question_types)==null?void 0:Pr[0])==null?void 0:yr.items)==null?void 0:Lr[0]),{index:1})),ba(Ci(ei({},(zr=so==null?void 0:so.exercise_question_types)==null?void 0:zr[0]),{indexs:1}))})}function wo(da,Va=!0){return Oo(this,null,function*(){var Pr,yr,Lr,zr;Va&&(Za(!0),_t(!0));const so=yield Ke({type:"newExercisePaper/editExercise",payload:{id:$e}});Jt(so);let Eo=[];(Pr=so==null?void 0:so.exercise_question_types)==null||Pr.map(zo=>{var ti;(ti=zo==null?void 0:zo.items)==null||ti.map((qo,fi)=>{Eo.push(Ci(ei({},qo),{index:fi+1}))})});let co=(yr=Eo.filter(zo=>zo.question_id===(da==null?void 0:da.id)))==null?void 0:yr[0],ii=(zr=((Lr=so==null?void 0:so.exercise_question_types)==null?void 0:Lr.map((zo,ti)=>{if((co==null?void 0:co.question_type)===(zo==null?void 0:zo.question_type))return Ci(ei({},zo),{indexs:ti+1})})).filter(zo=>zo))==null?void 0:zr[0];ba(ei({},ii)),$n(ei({},co)),Yn(co==null?void 0:co.question_score),Za(!1),_t(!1)})}function _o(da){return Oo(this,null,function*(){var Va;let Pr=Ci(ei({},da),{difficulty:(da==null?void 0:da.difficulty)||2,item_type:da.question_type,sub_discipline_id:((Va=da==null?void 0:da.sub_discipline_id)==null?void 0:Va[1])||"",tag_discipline_ids:[],repeat_answer:!da.repeat_answer}),yr={};da.question_type===8&&(yr=Ci(ei({},da),{hack:Ci(ei({},da==null?void 0:da.hack),{difficult:da.difficulty}),hack_codes:Ci(ei({},da.hack_codes),{code:vi.Base64.encode(da.hack_codes.code)}),hack_sets:[ei({},da.hack_sets)],is_blank:!0})),da.tag_discipline_ids&&(Pr.tag_discipline_ids=Array.isArray(da.tag_discipline_ids)?da.tag_discipline_ids:[da.tag_discipline_ids],yr.tag_discipline_ids=Array.isArray(da.tag_discipline_ids)?da.tag_discipline_ids:[da.tag_discipline_ids]),sessionStorage.projectFill&&(yr.hack_identifier=sessionStorage.projectFill);let Lr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:da.question_type===8?yr:Pr});(Lr==null?void 0:Lr.status)===0&&(la(!1),wo(Lr)),(0,me.Vf)("#question-scroll-id")})}function Ro(da){return Oo(this,null,function*(){_t(!0);let Va=yield(0,pe.ZP)(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:{question_type:da}});_t(!1),(Va==null?void 0:Va.status)===0&&io()})}const ci=(da,Va,Pr)=>Oo(void 0,null,function*(){var yr;if(da.length===0){Le.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Pr();return}const Lr=yield(0,le.Hb)($e,(yr=da[0])==null?void 0:yr.file,Va);Lr.status===0&&(Le.ZP.success(`\u6210\u529F\u5BFC\u5165${Lr==null?void 0:Lr.success}\u6761`),ca(!1),io()),Pr()}),No=(da,Va)=>Oo(void 0,null,function*(){const Pr=yield(0,le.kF)({score:(0,Nl.round)(da,1),question_id:Va==null?void 0:Va.question_id});if((Pr==null?void 0:Pr.status)===0){Le.ZP.success("\u4FEE\u6539\u6210\u529F"),wo({id:ea.current},!1);return}(Pr==null?void 0:Pr.status)===-1&&Yn(Va==null?void 0:Va.question_score)});function Io(){return Oo(this,null,function*(){b.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:ie.modalconfirm,onOk:()=>Oo(this,null,function*(){if(It.question_id){let da=yield(0,pe.ZP)(`/api/examination_banks/${$e}/examination_banks_item_banks/${It.question_id}.json`,{method:"delete"});(da==null?void 0:da.status)===0&&(io(),la(!1))}else $n({}),la(!1),io()}),cancelText:"\u53D6\u6D88"})})}const Ai=da=>Oo(void 0,null,function*(){return yield(0,pe.ZP)(`/api/examination_banks/${$e}/examination_banks_item_banks.json`,{method:"post",body:ei({},da)})}),{overflow:Yr,handleMouseEnter:to,handleMouseLeave:fo}=(0,ki.I)(),yo=da=>Oo(void 0,null,function*(){var Va,Pr;_t(!0);let yr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:{question_type:da}});if(_t(!1),(yr==null?void 0:yr.status)===0){const Lr=yield Ke({type:"newExercisePaper/editExercise",payload:{id:$e}});Jt(Lr),(Va=Lr==null?void 0:Lr.exercise)!=null&&Va.sub_discipline_id&&Dr((Pr=Lr==null?void 0:Lr.exercise)==null?void 0:Pr.sub_discipline_id)}}),lo=()=>ja?(Rr(!0),!0):!1;(0,x.useEffect)(()=>{if(sr){const da=setTimeout(()=>{Rr(!1)},2e3);return()=>clearTimeout(da)}},[sr]);const Tr=(da,Va)=>Na.createElement(E.default,null,Na.createElement(E.default.Item,{key:"0",onClick:()=>Wo(da==null?void 0:da.question_type)},Na.createElement("span",{className:ie.moreSpan},"\u65B0\u589E")),Na.createElement(E.default.Item,{key:"1",disabled:Va===0,onClick:()=>Oo(void 0,null,function*(){if(Va===0||lo())return;let Pr=(0,me.rz)(wt==null?void 0:wt.exercise_question_types,Va,Va-1);yield yo(Pr.map(yr=>yr.name))})},Na.createElement("span",{className:ie.moreSpan},"\u4E0A\u79FB")),Na.createElement(E.default.Item,{key:"2",disabled:Va===(wt==null?void 0:wt.exercise_question_types.length)-1,onClick:()=>Oo(void 0,null,function*(){if(Va===(wt==null?void 0:wt.exercise_question_types.length)-1||lo())return;let Pr=(0,me.rz)(wt==null?void 0:wt.exercise_question_types,Va,Va+1);yield yo(Pr.map(yr=>yr.name))})},Na.createElement("span",{className:ie.moreSpan},"\u4E0B\u79FB")),Na.createElement(E.default.Item,{key:"3",onClick:()=>{var Pr;oo.setFieldsValue({name:da.name,item_type_en:(Pr=$i.find(yr=>yr.id==da.question_type))==null?void 0:Pr.nameType}),or(!0)}},Na.createElement("span",{className:ie.moreSpan},"\u91CD\u547D\u540D"))),Wo=da=>{var Va,Pr,yr,Lr,zr,so,Eo,co,vo,ii,zo,ti,qo,fi,Xi,Kr,po,Mo,bo,Uo,Vo,Xo,Si,_i,_l,ml,fl,pl;if(!lo()){if(da===5){Sr(!0),_r(!0);return}if(da===6){if(_a.get("pageType")=="course")_a.get("updateType")=="course"?ue.history.push(`/problems/newcreate?express_id=${(Va=wt==null?void 0:wt.exercise)==null?void 0:Va.id}&callback_url=/paperlibrary/add/${(Pr=wt==null?void 0:wt.exercise)==null?void 0:Pr.id}?type=2&pageType=course&updateType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`):ue.history.push(`/problems/newcreate?express_id=${(yr=wt==null?void 0:wt.exercise)==null?void 0:yr.id}&callback_url=/paperlibrary/add/${(Lr=wt==null?void 0:wt.exercise)==null?void 0:Lr.id}?type=2&pageType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`);else{let Yi=(so=(zr=gn==null?void 0:gn.editData)==null?void 0:zr.exercise)!=null&&so.set_question_sub_discipline?`/problems/newcreate?express_id=${(Eo=wt==null?void 0:wt.exercise)==null?void 0:Eo.id}&callback_url=${window.location.pathname+window.location.search}&discipline_id=${(vo=(co=gn==null?void 0:gn.editData)==null?void 0:co.exercise)==null?void 0:vo.discipline_id}&sub_discipline_id=${(zo=(ii=gn==null?void 0:gn.editData)==null?void 0:ii.exercise)==null?void 0:zo.sub_discipline_id}`:`/problems/newcreate?express_id=${(ti=wt==null?void 0:wt.exercise)==null?void 0:ti.id}&callback_url=${window.location.pathname+window.location.search}`;ue.history.push(Yi)}return}la(!0),$n(da===2?{question_type:da,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:"",tag_discipline_ids:[],question_title:"",discipline_id:(fi=(qo=gn==null?void 0:gn.editData)==null?void 0:qo.exercise)!=null&&fi.set_question_sub_discipline?(Kr=(Xi=gn==null?void 0:gn.editData)==null?void 0:Xi.exercise)==null?void 0:Kr.discipline_id:0,sub_discipline_id:(Mo=(po=gn==null?void 0:gn.editData)==null?void 0:po.exercise)!=null&&Mo.set_question_sub_discipline?(Uo=(bo=gn==null?void 0:gn.editData)==null?void 0:bo.exercise)==null?void 0:Uo.sub_discipline_id:0,analysis:""}:{question_type:da,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:[],question_title:"",is_ordered:!0,use_keywords:!1,use_blank_score:!0,keywords:[],allow_student_debug:!1,submit_rule:1,downcase:!0,no_space:!0,discipline_id:(Xo=(Vo=gn==null?void 0:gn.editData)==null?void 0:Vo.exercise)!=null&&Xo.set_question_sub_discipline?(_i=(Si=gn==null?void 0:gn.editData)==null?void 0:Si.exercise)==null?void 0:_i.discipline_id:0,sub_discipline_id:(ml=(_l=gn==null?void 0:gn.editData)==null?void 0:_l.exercise)!=null&&ml.set_question_sub_discipline?(pl=(fl=gn==null?void 0:gn.editData)==null?void 0:fl.exercise)==null?void 0:pl.sub_discipline_id:0})}},$o=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{lo()||ca(!0)}},{key:2,label:Na.createElement("div",null,Na.createElement("img",{width:26,style:{position:"absolute",top:-2},src:os.$}),Na.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{lo()||qa(!0)}}];return Na.createElement("div",null,Na.createElement(Oe.Z,{spinning:ya},Na.createElement("div",{className:ie.bg},Na.createElement("div",{style:{textAlign:"center"}},((ka=wt==null?void 0:wt.exercise_types)==null?void 0:ka.q_counts)===0&&!ja&&Na.createElement(ye.Z,{styles:{marginTop:180},customText:Na.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Na.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Ka=wt==null?void 0:wt.exercise_types)==null?void 0:Ka.q_counts)>0||ja)&&Na.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Na.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Na.createElement("div",{className:ie.left},Na.createElement("div",{className:ie.leftAction},Na.createElement(nt.ZP,{onClick:()=>{lo()||Wa(!0)},className:ie.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Na.createElement("div",{className:ie.scrollWrapper,style:{overflow:Yr},onMouseEnter:to,onMouseLeave:fo},(ge=wt==null?void 0:wt.exercise_question_types)==null?void 0:ge.map((da,Va)=>Na.createElement("div",{key:Va,className:"mb30"},Na.createElement("div",{className:ie.title},Na.createElement("div",{className:ie.titleleft},Na.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,me.EM)(Va+1),"\u3001\u3010",da.name,"\u3011"),Na.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",da.count,"\u5C0F\u9898\uFF0C\u5171",da.score,"\u5206\uFF09")),Na.createElement(z.Z,{dropdownRender:()=>Tr(da,Va),placement:"bottomLeft"},Na.createElement("div",{className:ie.more_style},Na.createElement("i",{className:"iconfont icon-sandian font12"})))),Na.createElement(En,{handleEditing:()=>{Rr(!0)},isedit:ja,setBigqitem:ba,bigitem:Ci(ei({},da),{indexs:Va+1}),setqitem:Pr=>Oo(void 0,null,function*(){var yr;(yr=Qn.current)==null||yr.blur(),$n(Pr)}),qitem:It,Itemid:$e,getdata:wo,data:da.items})))))),Na.createElement("div",{id:"question-scroll-id",style:{overflow:ja?"hidden":"auto"},className:ie.right,ref:ir},!(It!=null&&It.isadd)&&Na.createElement("div",{className:ie.title},!ja&&Na.createElement("div",{style:{flex:1}},Na.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(xn==null?void 0:xn.indexs)&&(0,me.EM)(xn==null?void 0:xn.indexs),"\u3001\u3010",xn==null?void 0:xn.name,"\u3011"),Na.createElement(ne.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Na.createElement("i",{className:`${ie.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var da;oo.setFieldsValue({name:xn.name,item_type_en:(da=$i.find(Va=>Va.id==xn.question_type))==null?void 0:da.nameType}),or(!0)}})),Na.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",xn==null?void 0:xn.count,"\u5C0F\u9898\uFF0C\u5171",xn==null?void 0:xn.score,"\u5206\uFF09"),(It==null?void 0:It.question_type)===6&&Na.createElement("span",{onClick:()=>Gr(2),className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(It==null?void 0:It.question_type)===5&&Na.createElement(ot.default,{defaultChecked:(be=(ce=gn==null?void 0:gn.editData)==null?void 0:ce.exercise)==null?void 0:be.show_challenge_task_pass,onChange:da=>Oo(void 0,null,function*(){let Va=yield(0,pe.ZP)(`/api/examination_banks/${$e}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:da.target.checked}});(Va==null?void 0:Va.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),wo({id:ea.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(It==null?void 0:It.question_type)===6&&Na.createElement("span",{style:{marginLeft:20},onClick:()=>{var da,Va,Pr,yr;b.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Na.createElement("div",null,(It==null?void 0:It.question_type)===6&&Na.createElement(ot.default,{defaultChecked:(Va=(da=gn==null?void 0:gn.editData)==null?void 0:da.exercise)==null?void 0:Va.show_hack_sets,onChange:Lr=>Oo(void 0,null,function*(){let zr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Lr.target.checked}});(zr==null?void 0:zr.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),wo({id:ea.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Na.createElement("br",null),(It==null?void 0:It.question_type)===6&&Na.createElement(ot.default,{defaultChecked:(yr=(Pr=gn==null?void 0:gn.editData)==null?void 0:Pr.exercise)==null?void 0:yr.show_hack_description,onChange:Lr=>Oo(void 0,null,function*(){let zr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/update_show_columns.json`,{method:"post",body:{show_hack_description:Lr.target.checked}});(zr==null?void 0:zr.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),wo({id:ea.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")),Na.createElement("div",{style:{display:"flex",alignItems:"center"}},(It==null?void 0:It.question_type)===5&&!ja&&Na.createElement("a",{className:ie.shixun,href:`/shixuns/${It==null?void 0:It.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Na.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!ja&&[0,1,2,4,6].includes(It==null?void 0:It.question_type)&&Na.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Na.createElement(We.Z,{precision:1,ref:Qn,onChange:da=>Yn(da),value:Kn,onBlur:da=>{No(da.target.value,It)}})),!ja&&Na.createElement(ne.Z,{title:"\u5220\u9664"},Na.createElement("i",{onClick:()=>{Io()},style:{marginRight:20},className:`${ie.delete} iconfont icon-shanchu13 mr5 `})),!ja&&Na.createElement(ne.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Na.createElement("i",{onClick:()=>{var da,Va,Pr;(It==null?void 0:It.question_type)===6?_a.get("pageType")=="course"?_a.get("updateType")=="course"?ue.history.push(`/problems/newedit/${It==null?void 0:It.hack_identifier}?type=exercises&express_id=${(da=wt==null?void 0:wt.exercise)==null?void 0:da.id}&question_id=${It==null?void 0:It.question_id}&score=${It==null?void 0:It.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&updateType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`):ue.history.push(`/problems/newedit/${It==null?void 0:It.hack_identifier}?type=exercises&express_id=${(Va=wt==null?void 0:wt.exercise)==null?void 0:Va.id}&question_id=${It==null?void 0:It.question_id}&score=${It==null?void 0:It.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`):ue.history.push(`/problems/newedit/${It==null?void 0:It.hack_identifier}?type=exercises&express_id=${(Pr=wt==null?void 0:wt.exercise)==null?void 0:Pr.id}&question_id=${It==null?void 0:It.question_id}&score=${It==null?void 0:It.question_score}&exercise=true&callback_url=${window.location.pathname+window.location.search}`):la(!0)},className:`${ie.edit} iconfont icon-bianji_Hover mr5 `})))),!ja&&Na.createElement("div",null,Na.createElement("div",{className:ie.qcount},Na.createElement("span",{className:ie.score},It==null?void 0:It.question_score,"\u5206"),Na.createElement(Qe.Z,{className:ie.qtitle,value:(It==null?void 0:It.index)+`\u3001${(It==null?void 0:It.question_type)==8?(ke=It==null?void 0:It.program_attr)==null?void 0:ke.description:It==null?void 0:It.question_title}`}),(It==null?void 0:It.high_resources_consume)&&Na.createElement(is.Z,{type:"shixun",style:{marginLeft:10}})),(It==null?void 0:It.question_type)===6&&Na.createElement(Ge.Z,{onEdit:()=>Gr(1),className:"mt10",dataSource:(It==null?void 0:It.languages)||[]}),Na.createElement(ws,{newExercisePaper:gn,TagDiscipline:Pa,qitem:It})),ja&&Na.createElement("div",null,(It==null?void 0:It.question_type)<=1&&Na.createElement(mt,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:wt,TagDiscipline:Pa,setisedit:la,qitem:It,init:io,showTip:sr}),(It==null?void 0:It.question_type)===5&&Na.createElement(ql,{setqitem:$n,deleteitem:Io,seveeditor:_o,exerciseitem:wt,TagDiscipline:Pa,setisedit:la,qitem:It,showTip:sr}),(It==null?void 0:It.question_type)===3&&Na.createElement(ta,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:wt,TagDiscipline:Pa,setisedit:la,qitem:It,init:io,showTip:sr}),(It==null?void 0:It.question_type)===2&&Na.createElement(Kt,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:wt,TagDiscipline:Pa,setisedit:la,qitem:It,init:io,showTip:sr}),(It==null?void 0:It.question_type)===4&&Na.createElement(ns,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:wt,TagDiscipline:Pa,setisedit:la,qitem:It,init:io,showTip:sr}),(It==null?void 0:It.question_type)===7&&Na.createElement(ri,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:wt,TagDiscipline:Pa,setisedit:la,qitem:It,init:io,showTip:sr}),(It==null?void 0:It.question_type)===8&&Na.createElement(Ii,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:wt,TagDiscipline:Pa,setisedit:la,qitem:It,init:io,showTip:sr}))))))),Na.createElement("div",{className:ie.bottomdiv},Na.createElement("div",{style:{width:1200,margin:"0px auto",display:"flex",justifyContent:"space-between",alignItems:"center"}},Na.createElement("span",{className:ie.spanBtn,onClick:()=>{lo()||(Sr(!0),_r(!1))}},"\u9898\u5E93\u9009\u9898"),Na.createElement(z.Z,{menu:{items:$o}},Na.createElement("span",{className:ie.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Na.createElement("span",{className:ie.spanBtn,onClick:()=>Oo(void 0,null,function*(){var da;if(lo())return;const Va=yield(0,le.JP)($e);Va.status===0&&window.open(`/classrooms/coursesId/exercise/${Va.exercise_id}/${(da=he.userInfo)==null?void 0:da.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Na.createElement("span",{className:ie.spanBtn,onClick:()=>{if(!lo()){if(tr){window.open(`/paperlibrary/see/${$e}?isIntelligentAssistant=true`);return}window.open(`/paperlibrary/see/${$e}`)}}},"\u8BD5\u5377\u9884\u89C8"),$i==null?void 0:$i.map((da,Va)=>Na.createElement(nt.ZP,{key:Va,className:ie.addQuestionBtn,type:"primary",onClick:()=>{Wo(da.id)}},da.name)),Na.createElement(nt.ZP,{className:ie.saveBtn,loading:Ur,onClick:()=>{var da,Va;const Pr=()=>Oo(void 0,null,function*(){if(_a.get("pageType")=="course")if(_a.get("updateType")=="course")Le.ZP.info("\u7F16\u8F91\u6210\u529F"),ue.history.replace(`/paths/${_a.get("courseId")}`);else{if(lo())return;(0,rs._C)({id:_a.get("stageId"),subject_id:_a.get("courseId"),homework_type:"exercise",examination_bank_ids:[$e]}).then(zr=>{(zr==null?void 0:zr.status)==0&&(Le.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.replace(`/paths/${_a.get("courseId")}`))})}else{if(lo())return;if(tr){So(!0);const zr=yield(0,pe.ZP)("/api/intelligent_imports/save_recognize_papers.json",{method:"post",body:{examination_bank_id:$e}});if(So(!1),(zr==null?void 0:zr.status)!==0)return}Le.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.push("/paperlibrary?defaultActiveKey=0")}});let yr=(Va=(da=wt==null?void 0:wt.exercise_question_types)==null?void 0:da.filter(zr=>zr.question_type===5)[0])==null?void 0:Va.items,Lr=0;yr==null||yr.map(zr=>{zr.high_resources_consume&&(Lr=Lr+1)}),console.log(Lr),Lr>0?Ke({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Lr,fn:()=>{Pr()}}}):Pr()}},Na.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Na.createElement(sl,{setScoreShow:Wa,ScoreShow:nr,exerciseitem:wt,getdata:io}),gr&&Na.createElement(Fi.Z,{setScoreShow:Sr,isshixuns:Wr,ScoreShow:gr,isloadings:ho,onOk:(da,Va,Pr,yr)=>Oo(void 0,null,function*(){eo(!0);let zr=yield Ai({exam_id:$e,item_bank_ids:da,shixun_ids:Va});eo(!1),(zr==null?void 0:zr.status)===0&&b.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:()=>{io()},onCancel:()=>{Sr(!1),io()}})})}),Na.createElement(Al.Z,{sub_discipline_id:(Ie=wt==null?void 0:wt.exercise)!=null&&Ie.sub_discipline_id?[(He=wt==null?void 0:wt.exercise)==null?void 0:He.discipline_id,(pt=wt==null?void 0:wt.exercise)==null?void 0:pt.sub_discipline_id]:[],visible:Wn,onCancel:()=>ca(!1),onOk:ci}),Na.createElement(b.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:Jo,width:500,onOk:()=>oo.submit(),onCancel:()=>or(!1)},Na.createElement(Be.default,{form:oo,initialValues:{},onFinish:da=>Oo(void 0,null,function*(){(yield(0,le.RK)(ei({id:$e},da))).status==0&&(Le.ZP.success("\u4FEE\u6539\u6210\u529F"),io(),or(!1))})},Na.createElement(Be.default.Item,{style:{marginBottom:0},name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(da,Va){var Pr,yr,Lr,zr;const so=(Pr=$i==null?void 0:$i.find(Eo=>Eo.nameType==oo.getFieldValue("item_type_en")))==null?void 0:Pr.id;return(zr=(Lr=(yr=wt==null?void 0:wt.exercise_question_types)==null?void 0:yr.filter(Eo=>Eo.question_type!=so))==null?void 0:Lr.map(Eo=>Eo==null?void 0:Eo.name))!=null&&zr.includes(Va)?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()}}]},Na.createElement(se.default,{size:"large",maxLength:10,showCount:!0})),Na.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Na.createElement(se.default,{size:"large"})))),Na.createElement(re.Z,{placement:"bottom",height:"100%",destroyOnClose:!0,closable:!1,className:"body-overflow-hidden",open:Ta},Na.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Na.createElement(os.Z,{stickyTop:-24,subDisciplineId:(Bt=wt==null?void 0:wt.exercise)!=null&&Bt.sub_discipline_id?[(it=wt==null?void 0:wt.exercise)==null?void 0:it.discipline_id,(Ht=wt==null?void 0:wt.exercise)==null?void 0:Ht.sub_discipline_id]:[],onCancel:()=>qa(!1),mode:2,gather:{exam_id:$e},onSuccess:()=>{qa(!1),io()}}),Na.createElement("div",{style:{height:70}})),Na.createElement(Ge.Q,{visible:!!er,setVisible:Gr,tip:er===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:er===1?It==null?void 0:It.languages:[],onOk:da=>Oo(void 0,null,function*(){const Va={languages:da};er===1?Va.hack_id=It==null?void 0:It.hack_id:Va.exam_id=$e,(yield(0,pe.ZP)("/api/problems/update_languages.json",{method:"post",body:Va})).status===0&&(Le.ZP.success("\u4FEE\u6539\u6210\u529F"),wo({id:ea.current}),Gr(!1))})}))};var Ol=(0,ue.connect)(({user:he,newExercisePaper:Ke,dispatch:$e})=>({user:he,newExercisePaper:Ke,dispatch:$e}))(ds),Rl=te(85786),Tl=te(15730),Ml=te(86918),pr=te(59301),kl=Object.defineProperty,Vs=Object.defineProperties,cs=Object.getOwnPropertyDescriptors,gs=Object.getOwnPropertySymbols,ms=Object.prototype.hasOwnProperty,Zl=Object.prototype.propertyIsEnumerable,Zi=(he,Ke,$e)=>Ke in he?kl(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):he[Ke]=$e,ul=(he,Ke)=>{for(var $e in Ke||(Ke={}))ms.call(Ke,$e)&&Zi(he,$e,Ke[$e]);if(gs)for(var $e of gs(Ke))Zl.call(Ke,$e)&&Zi(he,$e,Ke[$e]);return he},xi=(he,Ke)=>Vs(he,cs(Ke)),wi=(he,Ke,$e)=>new Promise((gn,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?gn(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(he,Ke)).next())});const dl=()=>{const[he,Ke]=(0,x.useState)([]);return(0,x.useEffect)(()=>{wi(void 0,null,function*(){const gn=yield(0,le.d1)({source:"question"});gn!=null&&gn.disciplines&&Ke((0,y.L)(gn==null?void 0:gn.disciplines))})},[]),he},cl=({user:he,newExercisePaper:Ke,dispatch:$e})=>{var gn,ua,ka,Ka,ge,ce,be,ke,Ie,He,pt,Bt;const it=(0,ue.useParams)(),Ht=dl(),[wt]=Be.default.useForm(),[Jt,Rn]=(0,x.useState)(),[_t,It]=(0,x.useState)(!1),[$n,Kn]=(0,x.useState)(1),[Yn,Qn]=(0,x.useState)(""),[ea]=(0,ue.useSearchParams)(),[xn,ba]=(0,x.useState)(!1),[ya,Za]=(0,x.useState)(!1),[ja,la]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{ea.get("type")==="2"&&(Qn(it.id),Kn(2))},[ea.get("type")]),(0,x.useEffect)(()=>{if(it.id){if(!Ht.length)return;wi(void 0,null,function*(){var Sa,Wn,ca;It(!0);const Ta=yield(0,le.Di)({id:it.id});It(!1);const qa=(Sa=Ta==null?void 0:Ta.exercise)==null?void 0:Sa.sub_discipline_id;let nr=[];for(const Sr of Ht)for(const Wr of Sr.children)Wr.value===qa&&(nr=[Sr.value,Wr.value]);const Wa=(Wn=Ta==null?void 0:Ta.exercise)==null?void 0:Wn.time,gr=xi(ul({},Ta.exercise),{sub_discipline_id:nr,time:Wa===-1?null:Wa});Rn(gr),la((ca=Ta.exercise)==null?void 0:ca.set_question_sub_discipline)})}else Rn({time:60,difficulty:2});$e({type:"globalSetting/footerToggle",payload:!1})},[Ht]),pr.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},pr.createElement("section",{className:"edu-container"},pr.createElement("section",{className:"animated fadeIn"},pr.createElement("aside",{style:{marginTop:15}},pr.createElement(Me.Z,{separator:">"},pr.createElement(Me.Z.Item,null,pr.createElement(ue.Link,{to:"/paperlibrary"},"\u8BD5\u5377\u5E93")),pr.createElement(Me.Z.Item,null,"\u4EBA\u5DE5\u7EC4\u5377")))),pr.createElement("div",{className:"bg-white"},pr.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},pr.createElement("div",{onClick:()=>{if(xn){Le.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002");return}Kn(1)},className:$n===1?Xe.Z.selectdiv:Xe.Z.divitem},pr.createElement(Rl.Z,{number:1,active:$n===1,className:"mr10"}),pr.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),pr.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),pr.createElement("div",{onClick:()=>{if(!it.id&&!Yn){Le.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}Kn(2),!Yn&&Qn(it.id)},className:$n!==1?Xe.Z.selectdiv:Xe.Z.divitem},pr.createElement(Rl.Z,{number:2,active:$n!==1,className:"mr10"}),pr.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),$n===2&&pr.createElement("div",{className:"tc"},pr.createElement(Tl.Z,{defaultValue:(ua=(gn=Ke==null?void 0:Ke.editData)==null?void 0:gn.exercise)==null?void 0:ua.exercise_name,onFinish:Pa=>wi(void 0,null,function*(){var Sa,Wn,ca,Ta,qa,nr,Wa,gr,Sr,Wr,_r,ho;return Pa.trim()===((Wn=(Sa=Ke==null?void 0:Ke.editData)==null?void 0:Sa.exercise)==null?void 0:Wn.exercise_name)?!0:(yield(0,le.w0)({id:`${(Ta=(ca=Ke==null?void 0:Ke.editData)==null?void 0:ca.exercise)==null?void 0:Ta.id}`,sub_discipline_id:(nr=(qa=Ke==null?void 0:Ke.editData)==null?void 0:qa.exercise)==null?void 0:nr.sub_discipline_id,time:`${(gr=(Wa=Ke==null?void 0:Ke.editData)==null?void 0:Wa.exercise)==null?void 0:gr.time}`,exercise_name:Pa,exercise_description:(Wr=(Sr=Ke==null?void 0:Ke.editData)==null?void 0:Sr.exercise)==null?void 0:Wr.exercise_description,difficulty:(ho=(_r=Ke==null?void 0:Ke.editData)==null?void 0:_r.exercise)==null?void 0:ho.difficulty})).status===0?(wt.setFieldValue("exercise_name",Pa),$e({type:"newExercisePaper/modifyTitle",payload:Pa}),!0):!1})}),pr.createElement("div",{style:{fontSize:14}},pr.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",pr.createElement("span",{style:{color:"#000000",marginLeft:8}},(Ka=(ka=Ke==null?void 0:Ke.editData)==null?void 0:ka.exercise)==null?void 0:Ka.time)),pr.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",pr.createElement("span",{style:{color:"#000000",marginLeft:8}},((ce=(ge=Ke==null?void 0:Ke.editData)==null?void 0:ge.exercise)==null?void 0:ce.difficulty)===1?"\u7B80\u5355":((ke=(be=Ke==null?void 0:Ke.editData)==null?void 0:be.exercise)==null?void 0:ke.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),pr.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",pr.createElement("span",{style:{color:"#000000",marginLeft:8}},((He=(Ie=Ke==null?void 0:Ke.editData)==null?void 0:Ie.exercise_types)==null?void 0:He.q_counts)||0)),pr.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",pr.createElement("span",{style:{color:"#000000",marginLeft:8}},(Bt=(pt=Ke==null?void 0:Ke.editData)==null?void 0:pt.exercise_types)==null?void 0:Bt.q_scores))))),$n===1&&pr.createElement(Oe.Z,{spinning:_t,size:"middle",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},pr.createElement("section",{className:[Xe.Z.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Jt&&pr.createElement(Be.default,{layout:"horizontal",form:wt,colon:!1,labelCol:{span:4},wrapperCol:{span:20},className:Xe.Z.formWrap,initialValues:Jt},pr.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Xe.Z.baseLineHeight,rules:[{required:!0,validator:(Pa,Sa)=>{var Wn;return((Wn=Sa==null?void 0:Sa.replaceAll(" ",""))==null?void 0:Wn.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},pr.createElement(se.default,{maxLength:60,className:Xe.Z.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),pr.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",className:Xe.Z.baseLineHeight},pr.createElement(dt.Z,{className:Xe.Z.baseFormItem,allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Ht,popupClassName:Xe.Z.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),pr.createElement("div",{className:Xe.Z.concat},pr.createElement("div",null,pr.createElement(ot.default,{checked:ja,onChange:Pa=>{la(Pa.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")),pr.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",pr.createElement("a",{onClick:()=>Za(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),pr.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Xe.Z.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},pr.createElement(Ve.ZP.Group,{className:Xe.Z.radiogroup},pr.createElement(Ve.ZP.Button,{className:Xe.Z.easy,value:1},"\u7B80\u5355"),pr.createElement(Ve.ZP.Button,{className:Xe.Z.medium,value:2},"\u9002\u4E2D"),pr.createElement(Ve.ZP.Button,{className:Xe.Z.hard,value:3},"\u56F0\u96BE"))),pr.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Xe.Z.baseLineHeight},pr.createElement("div",{style:{display:"flex",width:"100%"}},pr.createElement(Be.default.Item,{name:"time",noStyle:!0},pr.createElement(We.Z,{min:1,className:Xe.Z.baseFormItem,max:9999,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),pr.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),pr.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},pr.createElement(se.default.TextArea,{rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})))),pr.createElement("div",{className:Xe.Z.bottmodiv},pr.createElement(nt.ZP,{className:`${Xe.Z.cancelBtn} mr5`,type:"primary",onClick:()=>{ea.get("pageType")=="course"?ue.history.push(`/paths/${ea.get("courseId")}`):ue.history.push("/paperlibrary")}},"\u53D6\u6D88"),pr.createElement(a.Z,{className:`${Xe.Z.confirmBtn} ml15`,type:"primary",onClick:()=>wi(void 0,null,function*(){var Pa,Sa,Wn,ca;yield wt.validateFields();const Ta=wt.getFieldsValue();if(Ta.sub_discipline_id=((Pa=Ta.sub_discipline_id)==null?void 0:Pa.length)>0?Ta.sub_discipline_id[1]:"",Ta.set_question_sub_discipline=ja,it.id){(yield(0,le.w0)(ul({id:it.id},Ta))).status===0&&(Qn(it.id),Kn(2),ue.history.replace(`/paperlibrary/add/${it.id}?type=2`));return}const qa=yield(0,le.un)(Ta);qa.status===0&&(Qn((Sa=qa==null?void 0:qa.data)==null?void 0:Sa.exam_id),Kn(2),ea.get("pageType")=="course"?ue.history.replace(`/paperlibrary/add/${(Wn=qa==null?void 0:qa.data)==null?void 0:Wn.exam_id}?type=2&pageType=course&courseId=${ea.get("courseId")}&stageId=${ea.get("stageId")}`):ue.history.replace(`/paperlibrary/add/${(ca=qa==null?void 0:qa.data)==null?void 0:ca.exam_id}?type=2`))})},"\u4E0B\u4E00\u6B65"))),$n===2&&pr.createElement("div",null,pr.createElement(Ol,{setisedits:ba,itemid:Yn}))),pr.createElement(Ml.Z,{open:ya,onCancel:()=>{Za(!1)}}))};var gl=(0,ue.connect)(({user:he,newExercisePaper:Ke,dispatch:$e})=>({user:he,newExercisePaper:Ke,dispatch:$e}))(cl)},79285:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return tt}});var x=te(59301),ue=te(78241),Be=te(8591),Me=te(43418),Le=te(99313),Oe=te(57809),se=te(19842),dt=te(98228),ot=te(92832),Ve=te(1710),We=te(6848),nt=te(58421),Xe=te(3113),le=te(99064),y={flex_box_center:"flex_box_center___kuaVT",flex_space_between:"flex_space_between___exKHH",flex_box_vertical_center:"flex_box_vertical_center___BzvkN",flex_box_center_end:"flex_box_center_end___Ss2DJ",flex_box_column:"flex_box_column___p1LEr",scoremodal:"scoremodal___upTFR",selectWrapper:"selectWrapper___HH3RX",selectWrappers:"selectWrappers___fUWwr",allqingchu:"allqingchu___BFF1D",title:"title___hFasb",score:"score___DXG3o",close:"close___kEIiB",content:"content___Mco8L",items:"items___j98jk",bottom:"bottom___A1n1C",yes:"yes___P1zzb",no:"no___xZqXd",titlecount:"titlecount___fqA9P",add:"add___MqV0R",search:"search___NREgv",searchIcon:"searchIcon___qny3A",tabWrap:"tabWrap___dR18c",previewModal:"previewModal___uSiGS",q_title:"q_title___a9NY9"},a=te(26422),b={flex_box_center:"flex_box_center___nnwwA",flex_space_between:"flex_space_between___cRir9",flex_box_vertical_center:"flex_box_vertical_center___FqTZ8",flex_box_center_end:"flex_box_center_end___WU5_v",flex_box_column:"flex_box_column___QZFa1",warp:"warp___aLZwN",shixunbutton:"shixunbutton___Eoa1i",redio:"redio___LJ4js",redioitem:"redioitem___YicCC",redioitemyes:"redioitemyes___lX4Nr",title:"title___pi1jH",titleyes:"titleyes___jiEh7",yestag:"yestag___DLWoP",qcount:"qcount___U9kkL",score:"score___vLK4B",qtitle:"qtitle___kyg0t",checkbox:"checkbox___vjiBw",checkboxitem:"checkboxitem___HW3CP",checkboxitemyes:"checkboxitemyes___kpjek",bottom:"bottom___uG8Zq",bottomitem:"bottomitem___TnJQQ",left:"left___M8WXX",right:"right____dkCI",completion:"completion___H6RmA",content:"content___a2hGC",items:"items___D8mLd",simple:"simple___fQ0OS",shixun:"shixun___nB6Jk",combination:"combination___YrOdz",program:"program___lG0JA"},E=te(85149),z=te(955),ne=te(24334);const re=["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 me=({qitem:et})=>{var qt,hn,kt,vn,je,Ot,Wt,Mt,ht,rt;return x.createElement("div",{className:b.warp},x.createElement("div",{className:b.mainPart},x.createElement("div",{className:b.qcount},(et==null?void 0:et.question_type)===8&&x.createElement(E.Z,{className:b.content,showProgramFill:!0,value:(qt=et==null?void 0:et.program_attr)==null?void 0:qt.description}),(et==null?void 0:et.question_type)!=8&&x.createElement(E.Z,{className:b.qtitle,value:(et==null?void 0:et.name)||(et==null?void 0:et.title)})),((et==null?void 0:et.question_type)===0||(et==null?void 0:et.question_type)===2)&&x.createElement("div",null,(hn=et==null?void 0:et.choices)==null?void 0:hn.map((_e,Se)=>x.createElement("div",{className:b.redio},!(_e!=null&&_e.is_answer)&&x.createElement("span",{className:b.redioitem}),(_e==null?void 0:_e.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:_e!=null&&_e.is_answer?b.titleyes:b.title,value:re[Se]+(_e==null?void 0:_e.choice_text)}),(_e==null?void 0:_e.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===1&&x.createElement("div",null,(kt=et==null?void 0:et.choices)==null?void 0:kt.map((_e,Se)=>x.createElement("div",{className:b.checkbox},!(_e!=null&&_e.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(_e==null?void 0:_e.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:_e!=null&&_e.is_answer?b.titleyes:b.title,value:re[Se]+(_e==null?void 0:_e.choice_text)}),(_e==null?void 0:_e.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===3&&x.createElement("div",{className:b.completion},(vn=et==null?void 0:et.standard_answer)==null?void 0:vn.map((_e,Se)=>{var fe;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",Se+1),x.createElement("div",{className:b.content},(fe=_e==null?void 0:_e.answer_text)==null?void 0:fe.map((qe,Ct)=>x.createElement("div",{className:b.items},qe))))})),(et==null?void 0:et.question_type)===4&&x.createElement("div",{className:b.simple},x.createElement("div",{className:b.title},"\u53C2\u8003\u7B54\u6848"),x.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(je=et==null?void 0:et.answer_texts)!=null&&je[0]?x.createElement(E.Z,{className:b.content,value:(Ot=et==null?void 0:et.answer_texts)==null?void 0:Ot[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(et==null?void 0:et.question_type)===5&&((Wt=et==null?void 0:et.challenge_names)==null?void 0:Wt.map((_e,Se)=>x.createElement("div",{className:b.shixun},x.createElement("span",{className:b.qtitle},x.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,z.EM)(Se+1),"\u9898"),_e)))),(et==null?void 0:et.question_type)===6&&x.createElement("div",{className:b.program},x.createElement(E.Z,{className:b.content,value:((Mt=et==null?void 0:et.program_attr)==null?void 0:Mt.description)||"- -"})),(et==null?void 0:et.question_type)===7&&((ht=et==null?void 0:et.sub_item_banks)==null?void 0:ht.map((_e,Se)=>{var fe,qe,Ct,Fe,Ce;return x.createElement("div",null,x.createElement("div",{className:b.combination},x.createElement("span",{className:b.qtitle},_e==null?void 0:_e.name)),x.createElement("div",{className:b.warp,style:{padding:"0px",paddingTop:20}},x.createElement("div",null,((_e==null?void 0:_e.item_type)=="SINGLE"||(_e==null?void 0:_e.item_type)=="JUDGMENT")&&((fe=_e==null?void 0:_e.choices)==null?void 0:fe.map((at,Je)=>x.createElement("div",{className:b.redio},!(at!=null&&at.is_answer)&&x.createElement("span",{className:b.redioitem}),(at==null?void 0:at.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:at!=null&&at.is_answer?b.titleyes:b.title,value:re[Je]+(at==null?void 0:at.choice_text)}),(at==null?void 0:at.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(_e==null?void 0:_e.item_type)=="MULTIPLE"&&((qe=_e==null?void 0:_e.choices)==null?void 0:qe.map((at,Je)=>x.createElement("div",{className:b.checkbox},!(at!=null&&at.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(at==null?void 0:at.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:at!=null&&at.is_answer?b.titleyes:b.title,value:re[Je]+(at==null?void 0:at.choice_text)}),(at==null?void 0:at.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(_e==null?void 0:_e.item_type)=="COMPLETION"&&x.createElement("div",{className:b.completion},(Ct=_e==null?void 0:_e.standard_answer)==null?void 0:Ct.map((at,Je)=>{var Ne;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",Je+1),x.createElement("div",{className:b.content},(Ne=at==null?void 0:at.answer_text)==null?void 0:Ne.map((mt,un)=>x.createElement("div",{className:b.items},mt))))})),(_e==null?void 0:_e.item_type)=="SUBJECTIVE"&&x.createElement("div",{className:b.simple},x.createElement("div",{className:b.title},"\u53C2\u8003\u7B54\u6848"),x.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Fe=_e==null?void 0:_e.answer_texts)!=null&&Fe[0]?x.createElement(E.Z,{className:b.content,value:(Ce=_e==null?void 0:_e.answer_texts)==null?void 0:Ce[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(et==null?void 0:et.question_type)===8&&x.createElement("div",null,x.createElement(E.Z,{disabledFill:!0,className:b.content,showProgramFill:!0,value:ne.Base64.decode(((rt=et==null?void 0:et.program_attr)==null?void 0:rt.code)||"")})),(et==null?void 0:et.question_type)===5&&x.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},x.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),x.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),x.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_school_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),x.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.study_count)||"0"))),x.createElement("a",{className:b.shixunbutton,href:`/shixuns/${et==null?void 0:et.identifier}/challenges?exercise=true`,target:"_blank"},x.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((et==null?void 0:et.question_type)<=4||[6,8].includes(et==null?void 0:et.question_type))&&x.createElement("div",{className:b.bottom},x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u89E3\u6790"),x.createElement("span",{className:b.right},et!=null&&et.analysis?x.createElement(E.Z,{value:et==null?void 0:et.analysis}):x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u96BE\u5EA6"),x.createElement("span",{className:b.right},(et==null?void 0:et.difficulty)===1?"\u7B80\u5355":(et==null?void 0:et.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u77E5\u8BC6\u70B9"),x.createElement("span",{className:b.right},et!=null&&et.tag_discipline?et==null?void 0:et.tag_discipline:x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},pe=te(86087),ye=te(84287),Ge=te(89070),Ae=te(61485),Qe=te(32570),ve=te(16149),Te=te(59301),Ye=Object.defineProperty,bt=Object.defineProperties,De=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,gt=(et,qt,hn)=>qt in et?Ye(et,qt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):et[qt]=hn,Xt=(et,qt)=>{for(var hn in qt||(qt={}))Ft.call(qt,hn)&&gt(et,hn,qt[hn]);if(ut)for(var hn of ut(qt))yt.call(qt,hn)&&gt(et,hn,qt[hn]);return et},vt=(et,qt)=>bt(et,De(qt)),an=(et,qt,hn)=>new Promise((kt,vn)=>{var je=Mt=>{try{Wt(hn.next(Mt))}catch(ht){vn(ht)}},Ot=Mt=>{try{Wt(hn.throw(Mt))}catch(ht){vn(ht)}},Wt=Mt=>Mt.done?kt(Mt.value):Promise.resolve(Mt.value).then(je,Ot);Wt((hn=hn.apply(et,qt)).next())});const En=({setScoreShow:et,ScoreShow:qt,onOk:hn,isshixuns:kt,isloadings:vn,dispatch:je,isIntelligentAssistant:Ot=!1,newExercisePaper:Wt,shixunsDetail:Mt})=>{var ht,rt,_e;let[Se,fe]=(0,x.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,bigmodel:Ot,group_id:[]}),[qe,Ct]=(0,x.useState)([]),[Fe,Ce]=(0,x.useState)([]),[at,Je]=(0,x.useState)([]),[Ne,mt]=(0,x.useState)([]);const[un,en]=(0,x.useState)(!1),[zt]=ue.default.useForm(),[ln,on]=(0,x.useState)(),[ze,At]=(0,x.useState)(!1);let[Lt,St]=(0,x.useState)(kt);const[Dt,fn]=(0,x.useState)([]),[Pn,bn]=(0,x.useState)(0),[Ln,ta]=(0,x.useState)(!0),[oa,jn]=(0,x.useState)([]),[Ea,va]=(0,x.useState)([]),Hn=[{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}];let[Ba,Yt]=(0,x.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 An=(0,x.useRef)(new Set),Fn=(0,x.useRef)(new Set),Xn=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Ze=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Nt=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Zt,Kt]=(0,x.useState)(!1),tn=()=>{zt.resetFields(),Lt=!1,St(!1),Kt(!1),zt.submit()};(0,x.useEffect)(()=>{var lt,$t,qn,nn,_n,Jn,Ma,ma,Ue,dn;(((qn=($t=(lt=Wt==null?void 0:Wt.editData)==null?void 0:lt.exercise)==null?void 0:$t.exist_item_bank_ids)==null?void 0:qn.length)>0||((Jn=(_n=(nn=Wt==null?void 0:Wt.editData)==null?void 0:nn.exercise)==null?void 0:_n.exist_item_bank_shixun_ids)==null?void 0:Jn.length)>0)&&va([...(ma=(Ma=Wt==null?void 0:Wt.editData)==null?void 0:Ma.exercise)==null?void 0:ma.exist_item_bank_ids,...(dn=(Ue=Wt==null?void 0:Wt.editData)==null?void 0:Ue.exercise)==null?void 0:dn.exist_item_bank_shixun_ids])},[(rt=(ht=Wt==null?void 0:Wt.editData)==null?void 0:ht.exercise)==null?void 0:rt.exist_item_bank_ids]),(0,x.useEffect)(()=>{qt&&(zt.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Ln&&Lt&&(zt.setFieldsValue({item_type:"SHIXUN"}),Se.item_type="SHIXUN",fe(Xt({},Se)),ta(!1)),jt(Se),pn(),st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[qt]),(0,x.useEffect)(()=>{Pn>0&&setTimeout(()=>{bn(0)},2e3)},[Pn]);function jt(lt){return an(this,null,function*(){var $t,qn,nn;if(en(!0),fe(Xt({},lt)),(at==null?void 0:at.length)<=0&&lt.type==="5"){mt([]),en(!1);return}console.log("----",at,Dt);let _n=lt.type==="5"?at==null?void 0:at.filter(ma=>!Dt.includes(ma)):null,Jn=lt.type==="5"?at==null?void 0:at.filter(ma=>Dt.includes(ma)):null;lt.group_id=(($t=lt.group_id)==null?void 0:$t.map(ma=>ma==null?void 0:ma.value))||null;let Ma=yield(0,le.ZP)("/api/item_banks.json",{method:"get",params:vt(Xt({},lt),{discipline_id:((qn=lt==null?void 0:lt.courseid)==null?void 0:qn[0])||null,sub_discipline_id:((nn=lt==null?void 0:lt.courseid)==null?void 0:nn[1])||null,ids:_n,shixun_ids:Jn,include_shixuns:!Ot,keyword:lt.keyword?encodeURIComponent(lt.keyword):lt.keyword,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});mt(Ma),en(!1)})}function pn(){return an(this,null,function*(){let lt=yield(0,le.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Se.type==="5"?null:Se.type,clazz:"ItemBanksGroup"}});Ct((0,a.L)(lt==null?void 0:lt.disciplines))})}function st(lt){return an(this,null,function*(){var $t;let qn=yield(0,le.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:lt}),nn=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:($t=qn==null?void 0:qn.data)==null?void 0:$t.map(_n=>({title:_n.name,id:_n.id,pid:_n.id,value:_n.id,key:_n.id,isLeaf:!_n.have_child}))}];jn(nn)})}function Pt(lt){return an(this,null,function*(){var $t,qn,nn,_n;en(!0);let Jn=($t=lt.list)==null?void 0:$t.filter(Ue=>!Dt.includes(Ue)),Ma=(qn=lt.list)==null?void 0:qn.filter(Ue=>Dt.includes(Ue));if(Jn.length===0&&Ma.length===0){en(!1),mt([]);return}let ma=yield(0,le.ZP)("/api/item_banks.json",{method:"get",params:vt(Xt({},lt),{discipline_id:((nn=lt==null?void 0:lt.courseid)==null?void 0:nn[0])||null,sub_discipline_id:((_n=lt==null?void 0:lt.courseid)==null?void 0:_n[1])||null,ids:Jn,shixun_ids:Ma,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});en(!1),mt(ma)})}const ct=lt=>an(void 0,null,function*(){const $t=yield je({type:"shixunsDetail/release",payload:{id:lt}});let qn=$t==null?void 0:$t.tag_position,nn=($t==null?void 0:$t.evaluation_set_position)||[],_n=$t.status;return _n===0?(Be.ZP.success("\u53D1\u5E03\u6210\u529F"),jt(Se),!0):(_n===2?Be.ZP.error(`\u7B2C${nn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):_n===3?Be.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${qn.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Be.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),rn=lt=>(lt==null?void 0:lt.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",In=(lt,$t,qn)=>lt.map(nn=>nn.key===$t?Xt(Xt({},nn),qn):nn.children?vt(Xt({},nn),{children:In(nn.children,$t,qn)}):nn),yn=lt=>an(void 0,null,function*(){const{key:$t}=lt;let qn=Se.type;const nn=yield(0,ve.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs($t),type:qn}),{data:_n,total_count:Jn}=nn||{};Jn>0&&jn(Ma=>In(Ma,$t,{children:_n.map(ma=>({title:ma.name,id:ma.id,pid:ma.id,value:ma.id,key:ma.id,isLeaf:!ma.have_child}))}))});function ia(lt){console.log("----",Se),lt==="1"&&(Ba.gg=Xt({},Se)),lt==="2"&&(Ba.scj=Xt({},Se)),lt==="3"&&(Ba.ttgx=Xt({},Se)),lt==="0"&&(Ba.wcjd=Xt({},Se)),lt==="5"&&(Ba.yx=Xt({},Se)),Yt(Xt({},Ba))}function Un(){Se.type==="1"&&(Se=Ba.gg),Se.type==="2"&&(Se=Ba.scj),Se.type==="3"&&(Se=Ba.ttgx),Se.type==="0"&&(Se=Ba.wcjd),Se.type==="5"&&(Se=Ba.yx),(Se==null?void 0:Se.item_type)==="SHIXUN"?(Lt=!0,St(!0)):(Lt=!1,St(!1)),zt.setFieldsValue(Xt({},Se)),fe(Xt({},Se)),jt(Xt({},Se))}return Te.createElement("div",null,Te.createElement(Me.default,{title:!1,footer:!1,open:qt,width:1200,centered:!0,className:y.scoremodal,onCancel:()=>{et(!1)}},Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement("div",{className:y.title},Ot?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),Ot&&Te.createElement("div",{style:{padding:10,background:"#F6F7F9",borderRadius:4,marginTop:14}},"\u6839\u636E\u73B0\u6709\u8BD5\u9898\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u589E\u52A0\u8BD5\u9898\u7684\u4E30\u5BCC\u5EA6"),Te.createElement(Le.default,{className:y.tabWrap,activeKey:Se.type,onChange:lt=>{lt==="3"?(Se.show_all_share=!0,st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Se.show_all_share=null,lt==="0"&&st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),ia(Se.type),Se.type=lt,(Se==null?void 0:Se.item_type)==="SHIXUN"&&Se.type!=="5"&&(Lt=!0,St(!0)),Kt(!1),Se.type==="5"&&(Lt=!1,St(!1)),Un(),pn()},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:Te.createElement("div",null,"\u5DF2\u9009",at.length>0&&Te.createElement("span",{className:y.titlecount},at.length),Pn>0&&Te.createElement("span",{className:y.add},"+",Pn)),key:"5"}]}),Te.createElement(ue.default,{layout:"inline",form:zt,onValuesChange:(lt,$t)=>{const qn=Object.values($t).some(_n=>_n!==null&&_n!==""&&_n!==void 0),nn=$t.keyword==="";if(Kt(qn||!nn),Se.page=1,($t==null?void 0:$t.item_type)==="SHIXUN"){if(Se.type==="5"?St(!1):St(!0),lt.keyword||lt.keyword==="")return;zt.submit()}else{if(lt!=null&&lt.courseid&&zt.setFieldsValue({tag_discipline_id:""}),St(!1),lt.keyword||lt.keyword==="")return;zt.submit()}},onFinish:lt=>{var $t;Se.type==="3"&&(!lt.group_id||(($t=lt==null?void 0:lt.group_id)==null?void 0:$t.length)===0)?Se.show_all_share=!0:Se.show_all_share=null,fe(Xt(Xt({},Se),lt)),jt(Xt(Xt({},Se),lt))}},Te.createElement(ue.default.Item,{name:"item_type"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(Ot?Hn.slice(0,6):Hn).map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),Te.createElement(ue.default.Item,{name:"courseid"},Te.createElement(se.Z,{className:y.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:qe})),!Lt&&Te.createElement(ue.default.Item,{name:"tag_discipline_id"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(_e=Ne==null?void 0:Ne.tag_disciplines)==null?void 0:_e.map(lt=>Te.createElement(Oe.default.Option,{key:lt.id},lt.name)))),Te.createElement(ue.default.Item,{name:Lt?"diff":"difficulty"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Lt&&Xn.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)),Lt&&Ze.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),Lt&&Te.createElement(ue.default.Item,{name:"shixun_publish_status"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Nt.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),(Se.type==="3"||Se.type==="0")&&!Lt&&Te.createElement(ue.default.Item,{name:"group_id"},Te.createElement(dt.default,{treeDataSimpleMode:!0,style:{width:118},className:y.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(lt,$t)=>$t.title.toUpperCase().indexOf(lt.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:yn,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:oa})),Zt&&Te.createElement("span",{className:y.allqingchu,onClick:tn},Te.createElement("i",{className:"iconfont icon-guanbi4"}),Te.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Te.createElement(ue.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Te.createElement(ot.default.Search,{className:y.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Te.createElement("i",{className:`iconfont icon-sousuo9 font14 ${y.searchIcon}`,onClick:()=>zt.submit()}),onSearch:lt=>{zt.submit()}}))),Te.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Te.createElement("div",{onClick:()=>{Se.updated_at==="asc"?Se.updated_at="desc":Se.updated_at="asc",fe(vt(Xt({},Se),{page:1})),jt(vt(Xt({},Se),{page:1}))}}," ",Se.updated_at?Te.createElement("img",{src:Se.updated_at==="asc"?pe.Z:ye.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Te.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Te.createElement("div",{onClick:()=>{Se.quotes==="asc"?Se.quotes="desc":Se.quotes="asc",fe(vt(Xt({},Se),{page:1})),jt(vt(Xt({},Se),{page:1}))},style:{marginLeft:20}}," ",Se.quotes?Te.createElement("img",{src:Se.quotes==="asc"?pe.Z:ye.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Te.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Te.createElement(Ve.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ne==null?void 0:Ne.items)||(Ne==null?void 0:Ne.shixun_list),pagination:!1,loading:un,rowKey:lt=>lt.id,rowSelection:{type:Ot?"radio":"checkbox",selectedRowKeys:Fe,getCheckboxProps:lt=>({disabled:lt.shixun_tag_num===1||(Ea==null?void 0:Ea.find($t=>lt.id===$t))}),onSelect(lt,$t,qn){if(Ot){Ce([lt.id]),Fn.current=new Set([lt.id]),bn(1),Je([lt.id]);return}if($t)Lt&&fn([...Dt,lt.id]),Ce([...Fe,lt.id]),lt.identifier?An.current.add(lt.id):Fn.current.add(lt.id),bn(1),Je([...at,lt.id]);else{lt.identifier?An.current.delete(lt.id):Fn.current.delete(lt.id);let nn=at.filter(_n=>_n!==lt.id);if(Ce(nn),Je(nn),Lt){let _n=Dt.filter(Jn=>Jn!==lt.id);fn([..._n])}if(Se.type==="5"){Pt(vt(Xt({},Se),{list:[...nn]}));return}}},onSelectAll(lt,$t,qn){if(lt){const nn=qn.map(_n=>_n.id);Lt&&fn([...Dt,...nn]),Ce([...Fe,...nn]),Je([...at,...nn]);for(const _n of qn)_n.identifier?An.current.add(_n.id):Fn.current.add(_n.id)}else{const nn=qn.map(Jn=>Jn.id),_n=Fe.filter(Jn=>!nn.some(Ma=>Ma===Jn));if(Ce([..._n]),Je([..._n]),Lt){let Jn=Dt.filter(Ma=>!nn.some(ma=>ma===Ma.id));fn([...Jn])}Se.type==="5"&&Pt(vt(Xt({},Se),{list:[..._n]}));for(const Jn of nn)Jn.identifier?An.current.delete(Jn):Fn.current.delete(Jn)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(lt,$t,qn)=>{var nn,_n;return Te.createElement(We.Z,{title:rn($t)},Te.createElement("div",null,Lt||$t!=null&&$t.challenge_names?"\u5B9E\u8BAD\u9898":(_n=(nn=Hn==null?void 0:Hn.filter(Jn=>Jn.value===lt))==null?void 0:nn[0])==null?void 0:_n.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Lt?"30%":"60%",key:"name",render:(lt,$t,qn)=>{var nn;return Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement(We.Z,{title:rn($t)},Te.createElement("div",{className:$t!=null&&$t.high_resources_consume?y.q_title:""},Te.createElement(E.Z,{key:1,showLines:1,showTextOnly:!0,value:Lt||$t!=null&&$t.challenge_names?$t!=null&&$t.title||lt===null?"--":lt:($t==null?void 0:$t.item_type)=="BPROGRAM"?(nn=$t==null?void 0:$t.program_attr)==null?void 0:nn.description:lt}))),($t==null?void 0:$t.high_resources_consume)&&Te.createElement(Qe.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Lt,render:(lt,$t,qn)=>{var nn;return Te.createElement(We.Z,{title:rn($t)},Te.createElement("span",null,lt?(nn=lt==null?void 0:lt.split("\u3001"))==null?void 0:nn[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Lt,render:(lt,$t,qn)=>Te.createElement(We.Z,{title:rn($t)},Te.createElement("span",null,lt||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(lt,$t,qn)=>{var nn,_n,Jn,Ma;return Te.createElement(We.Z,{title:rn($t)},Te.createElement("div",null,Lt||$t!=null&&$t.challenge_names?($t==null?void 0:$t.level)||((_n=(nn=Xn==null?void 0:Xn.filter(ma=>ma.value===lt))==null?void 0:nn[0])==null?void 0:_n.name):(Ma=(Jn=Xn==null?void 0:Xn.filter(ma=>ma.value===lt))==null?void 0:Jn[0])==null?void 0:Ma.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Lt,render:(lt,$t,qn)=>Te.createElement(We.Z,{title:rn($t)},Te.createElement("div",null,lt||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Lt,render:(lt,$t,qn)=>Te.createElement("span",null,lt||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(lt,$t,qn)=>Te.createElement(We.Z,{title:rn($t)},Te.createElement("div",null,Lt||$t!=null&&$t.challenge_names?($t==null?void 0:$t.study_count)||($t==null?void 0:$t.stu_num):lt))},{title:Te.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Te.createElement(We.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Te.createElement(Ae.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Lt,render:(lt,$t,qn)=>Te.createElement(We.Z,{title:rn($t)},Te.createElement("div",null,lt||"- -"))},{title:Te.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Te.createElement(We.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Te.createElement(Ae.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Lt,render:(lt,$t,qn)=>Te.createElement("span",null,lt||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(lt,$t,qn)=>Te.createElement(We.Z,{title:rn($t)},Te.createElement("div",{style:{flex:1,textAlign:"start"}},Te.createElement("a",{onClick:()=>{var nn,_n;on(vt(Xt({},$t),{question_type:Lt||$t!=null&&$t.challenge_names?5:(_n=(nn=Hn==null?void 0:Hn.filter(Jn=>Jn.value===($t==null?void 0:$t.item_type)))==null?void 0:nn[0])==null?void 0:_n.question_type})),At(!0)}},"\u67E5\u770B"),($t==null?void 0:$t.shixun_tag_num)===1&&Te.createElement("a",{style:{marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Te.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Te.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${$t==null?void 0:$t.identifier}/challenges`)}},($t==null?void 0:$t.shixun_name)||"--"),"\uFF1F"),onOk:()=>an(void 0,null,function*(){if(!ct($t==null?void 0:$t.identifier))return new Promise((nn,_n)=>{_n()})})})}},"\u53D1\u5E03")))}].filter(lt=>!lt.hidden)}),Te.createElement(nt.Z,{current:Se.page,total:(Ne==null?void 0:Ne.items_count)||(Ne==null?void 0:Ne.shixuns_count),style:{marginBottom:20},defaultPageSize:Se.per_page,showTotal:lt=>Te.createElement("span",null,"\u5171\xA0",Te.createElement("span",{style:{color:"#165DFF"}},lt),"\xA0\u6761\u6570\u636E"),pageSize:Se.per_page,onChange:(lt,$t)=>{Se.page=lt,Se.per_page=$t,fe(Xt({},Se)),jt(Xt({},Se))}}),Te.createElement("div",{className:y.bottom},Te.createElement(Xe.ZP,{className:y.no,onClick:()=>{et(!1)}},"\u53D6\u6D88"),Te.createElement(Xe.ZP,{loading:vn,style:{width:vn&&75},className:y.yes,onClick:()=>an(void 0,null,function*(){if((at==null?void 0:at.length)<=0){Be.ZP.info(Ot?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}hn([...Fn.current],[...An.current],!0,at==null?void 0:at.length)})},Ot?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Te.createElement(Me.default,{open:ze,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:y.previewModal,width:1e3,centered:!0,onCancel:()=>{At(!1)},onOk:()=>{At(!1)}},Te.createElement(me,{qitem:ln})))};var tt=(0,Ge.connect)(({shixunsDetail:et,newExercisePaper:qt})=>({shixunsDetail:et,newExercisePaper:qt}))(En)},86918:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Ve}});var x=te(43418),ue={ul:"ul___TdfYY"},Be=te(32637),Me=te(59301),Le=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,dt=(We,nt)=>{var Xe={};for(var le in We)Oe.call(We,le)&&nt.indexOf(le)<0&&(Xe[le]=We[le]);if(We!=null&&Le)for(var le of Le(We))nt.indexOf(le)<0&&se.call(We,le)&&(Xe[le]=We[le]);return Xe},Ve=We=>{var nt=We,{open:Xe,onCancel:le}=nt,y=dt(nt,["open","onCancel"]);return Me.createElement(x.default,{centered:!0,open:Xe,title:Me.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:le,footer:null},Me.createElement("div",null,Me.createElement("div",{className:"tc"},Me.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Me.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Me.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Me.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Me.createElement("ul",{className:ue.ul},Me.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"),Me.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"),Me.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")))))}},88918:function(Ut,Gt,te){"use strict";te.d(Gt,{I:function(){return ue}});var x=te(59301);const ue=()=>{const[Be,Me]=(0,x.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Me("auto"),handleMouseLeave:()=>Me("hidden")}}},50371:function(Ut,Gt){"use strict";function te(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ue=1;ue<arguments.length;ue++){const Be=ue<0||arguments.length<=ue?void 0:arguments[ue];Be&&Object.keys(Be).forEach(Me=>{const Le=Be[Me];Le!==void 0&&(x[Me]=Le)})}return x}Gt.Z=te},77578:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return x}});const x=ue=>ue?typeof ue=="function"?ue():ue:null},13845:function(Ut,Gt,te){"use strict";te.d(Gt,{F:function(){return x},Z:function(){return ue}});function x(Be){return Be!=null&&Be===Be.window}function ue(Be,Me){var Le,Oe;if(typeof window=="undefined")return 0;const se=Me?"scrollTop":"scrollLeft";let dt=0;return x(Be)?dt=Be[Me?"pageYOffset":"pageXOffset"]:Be instanceof Document?dt=Be.documentElement[se]:(Be instanceof HTMLElement||Be)&&(dt=Be[se]),Be&&!x(Be)&&typeof dt!="number"&&(dt=(Oe=((Le=Be.ownerDocument)!==null&&Le!==void 0?Le:Be).documentElement)===null||Oe===void 0?void 0:Oe[se]),dt}},56762:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ue}});var x=te(59301);function ue(){const[,Be]=x.useReducer(Me=>Me+1,0);return Be}},68031:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Me}});var x=te(16089);function ue(Le,Oe,se,dt){const ot=se-Oe;return Le/=dt/2,Le<1?ot/2*Le*Le*Le+Oe:ot/2*((Le-=2)*Le*Le+2)+Oe}var Be=te(13845);function Me(Le){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:dt,duration:ot=450}=Oe,Ve=se(),We=(0,Be.Z)(Ve,!0),nt=Date.now(),Xe=()=>{const y=Date.now()-nt,a=ue(y>ot?ot:y,We,Le,ot);(0,Be.F)(Ve)?Ve.scrollTo(window.pageXOffset,a):Ve instanceof Document||Ve.constructor.name==="HTMLDocument"?Ve.documentElement.scrollTop=a:Ve.scrollTop=a,y<ot?(0,x.Z)(Xe):typeof dt=="function"&&dt()};(0,x.Z)(Xe)}},66104:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return bt}});var x=te(92310),ue=te.n(x),Be=te(11592),Me=te(26112),Le=te(59301),Oe=te(92343),se=te(36355),dt=te(84105),ot=te(91857);const Ve=De=>{let{children:ut}=De;const{getPrefixCls:Ft}=Le.useContext(se.E_),yt=Ft("breadcrumb");return Le.createElement("li",{className:`${yt}-separator`,"aria-hidden":"true"},ut===""?ut:ut||"/")};Ve.__ANT_BREADCRUMB_SEPARATOR=!0;var We=Ve,nt=function(De,ut){var Ft={};for(var yt in De)Object.prototype.hasOwnProperty.call(De,yt)&&ut.indexOf(yt)<0&&(Ft[yt]=De[yt]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(De);gt<yt.length;gt++)ut.indexOf(yt[gt])<0&&Object.prototype.propertyIsEnumerable.call(De,yt[gt])&&(Ft[yt[gt]]=De[yt[gt]]);return Ft};function Xe(De,ut){if(De.title===void 0||De.title===null)return null;const Ft=Object.keys(ut).join("|");return typeof De.title=="object"?De.title:String(De.title).replace(new RegExp(`:(${Ft})`,"g"),(yt,gt)=>ut[gt]||yt)}function le(De,ut,Ft,yt){if(Ft==null)return null;const{className:gt,onClick:Xt}=ut,vt=nt(ut,["className","onClick"]),an=Object.assign(Object.assign({},(0,Me.Z)(vt,{data:!0,aria:!0})),{onClick:Xt});return yt!==void 0?Le.createElement("a",Object.assign({},an,{className:ue()(`${De}-link`,gt),href:yt}),Ft):Le.createElement("span",Object.assign({},an,{className:ue()(`${De}-link`,gt)}),Ft)}function y(De,ut){return(yt,gt,Xt,vt,an)=>{if(ut)return ut(yt,gt,Xt,vt);const En=Xe(yt,gt);return le(De,yt,En,an)}}var a=function(De,ut){var Ft={};for(var yt in De)Object.prototype.hasOwnProperty.call(De,yt)&&ut.indexOf(yt)<0&&(Ft[yt]=De[yt]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(De);gt<yt.length;gt++)ut.indexOf(yt[gt])<0&&Object.prototype.propertyIsEnumerable.call(De,yt[gt])&&(Ft[yt[gt]]=De[yt[gt]]);return Ft};const b=De=>{const{prefixCls:ut,separator:Ft="/",children:yt,menu:gt,overlay:Xt,dropdownProps:vt,href:an}=De,tt=(et=>{if(gt||Xt){const qt=Object.assign({},vt);if(gt){const hn=gt||{},{items:kt}=hn,vn=a(hn,["items"]);qt.menu=Object.assign(Object.assign({},vn),{items:kt==null?void 0:kt.map((je,Ot)=>{var{key:Wt,title:Mt,label:ht,path:rt}=je,_e=a(je,["key","title","label","path"]);let Se=ht!=null?ht:Mt;return rt&&(Se=Le.createElement("a",{href:`${an}${rt}`},Se)),Object.assign(Object.assign({},_e),{key:Wt!=null?Wt:Ot,label:Se})})})}else Xt&&(qt.overlay=Xt);return Le.createElement(ot.Z,Object.assign({placement:"bottom"},qt),Le.createElement("span",{className:`${ut}-overlay-link`},et,Le.createElement(dt.Z,null)))}return et})(yt);return tt!=null?Le.createElement(Le.Fragment,null,Le.createElement("li",null,tt),Ft&&Le.createElement(We,null,Ft)):null},E=De=>{const{prefixCls:ut,children:Ft,href:yt}=De,gt=a(De,["prefixCls","children","href"]),{getPrefixCls:Xt}=Le.useContext(se.E_),vt=Xt("breadcrumb",ut);return Le.createElement(b,Object.assign({},gt,{prefixCls:vt}),le(vt,gt,Ft,yt))};E.__ANT_BREADCRUMB_ITEM=!0;var z=E,ne=te(17313),re=te(83116),ie=te(37613);const me=De=>{const{componentCls:ut,iconCls:Ft}=De;return{[ut]:Object.assign(Object.assign({},(0,ne.Wf)(De)),{color:De.itemColor,fontSize:De.fontSize,[Ft]:{fontSize:De.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:De.linkColor,transition:`color ${De.motionDurationMid}`,padding:`0 ${De.paddingXXS}px`,borderRadius:De.borderRadiusSM,height:De.lineHeight*De.fontSize,display:"inline-block",marginInline:-De.marginXXS,"&:hover":{color:De.linkHoverColor,backgroundColor:De.colorBgTextHover}},(0,ne.Qy)(De)),"li:last-child":{color:De.lastItemColor},[`${ut}-separator`]:{marginInline:De.separatorMargin,color:De.separatorColor},[`${ut}-link`]:{[`
> ${Ft} + span,
> ${Ft} + a
`]:{marginInlineStart:De.marginXXS}},[`${ut}-overlay-link`]:{borderRadius:De.borderRadiusSM,height:De.lineHeight*De.fontSize,display:"inline-block",padding:`0 ${De.paddingXXS}px`,marginInline:-De.marginXXS,[`> ${Ft}`]:{marginInlineStart:De.marginXXS,fontSize:De.fontSizeIcon},"&:hover":{color:De.linkHoverColor,backgroundColor:De.colorBgTextHover,a:{color:De.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${De.componentCls}-rtl`]:{direction:"rtl"}})}};var pe=(0,re.Z)("Breadcrumb",De=>{const ut=(0,ie.TS)(De,{});return[me(ut)]},De=>({itemColor:De.colorTextDescription,lastItemColor:De.colorText,iconFontSize:De.fontSize,linkColor:De.colorTextDescription,linkHoverColor:De.colorText,separatorColor:De.colorTextDescription,separatorMargin:De.marginXS})),ye=function(De,ut){var Ft={};for(var yt in De)Object.prototype.hasOwnProperty.call(De,yt)&&ut.indexOf(yt)<0&&(Ft[yt]=De[yt]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(De);gt<yt.length;gt++)ut.indexOf(yt[gt])<0&&Object.prototype.propertyIsEnumerable.call(De,yt[gt])&&(Ft[yt[gt]]=De[yt[gt]]);return Ft};function Ge(De){const{breadcrumbName:ut,children:Ft}=De,yt=ye(De,["breadcrumbName","children"]),gt=Object.assign({title:ut},yt);return Ft&&(gt.menu={items:Ft.map(Xt=>{var{breadcrumbName:vt}=Xt,an=ye(Xt,["breadcrumbName"]);return Object.assign(Object.assign({},an),{title:vt})})}),gt}function Ae(De,ut){return(0,Le.useMemo)(()=>De||(ut?ut.map(Ge):null),[De,ut])}var Qe=function(De,ut){var Ft={};for(var yt in De)Object.prototype.hasOwnProperty.call(De,yt)&&ut.indexOf(yt)<0&&(Ft[yt]=De[yt]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(De);gt<yt.length;gt++)ut.indexOf(yt[gt])<0&&Object.prototype.propertyIsEnumerable.call(De,yt[gt])&&(Ft[yt[gt]]=De[yt[gt]]);return Ft};const ve=(De,ut)=>{if(ut===void 0)return ut;let Ft=(ut||"").replace(/^\//,"");return Object.keys(De).forEach(yt=>{Ft=Ft.replace(`:${yt}`,De[yt])}),Ft},Te=De=>{const{prefixCls:ut,separator:Ft="/",style:yt,className:gt,rootClassName:Xt,routes:vt,items:an,children:En,itemRender:tt,params:et={}}=De,qt=Qe(De,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:hn,direction:kt,breadcrumb:vn}=Le.useContext(se.E_);let je;const Ot=hn("breadcrumb",ut),[Wt,Mt]=pe(Ot),ht=Ae(an,vt),rt=y(Ot,tt);if(ht&&ht.length>0){const fe=[],qe=an||vt;je=ht.map((Ct,Fe)=>{const{path:Ce,key:at,type:Je,menu:Ne,overlay:mt,onClick:un,className:en,separator:zt,dropdownProps:ln}=Ct,on=ve(et,Ce);on!==void 0&&fe.push(on);const ze=at!=null?at:Fe;if(Je==="separator")return Le.createElement(We,{key:ze},zt);const At={},Lt=Fe===ht.length-1;Ne?At.menu=Ne:mt&&(At.overlay=mt);let{href:St}=Ct;return fe.length&&on!==void 0&&(St=`#/${fe.join("/")}`),Le.createElement(b,Object.assign({key:ze},At,(0,Me.Z)(Ct,{data:!0,aria:!0}),{className:en,dropdownProps:ln,href:St,separator:Lt?"":Ft,onClick:un,prefixCls:Ot}),rt(Ct,et,qe,fe,St))})}else if(En){const fe=(0,Be.Z)(En).length;je=(0,Be.Z)(En).map((qe,Ct)=>{if(!qe)return qe;const Fe=Ct===fe-1;return(0,Oe.Tm)(qe,{separator:Fe?"":Ft,key:Ct})})}const _e=ue()(Ot,vn==null?void 0:vn.className,{[`${Ot}-rtl`]:kt==="rtl"},gt,Xt,Mt),Se=Object.assign(Object.assign({},vn==null?void 0:vn.style),yt);return Wt(Le.createElement("nav",Object.assign({className:_e,style:Se},qt),Le.createElement("ol",null,je)))};Te.Item=z,Te.Separator=We;var Ye=Te,bt=Ye},19842:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Xn}});var x=te(26407),ue=te(59301),Be=te(33853),Me=te(58617),Le=te(38819),Oe=te(92310),se=te.n(Oe),dt=te(92413),ot=te(33606),Ve=te(37061),We=te(77861),nt=te(17115),Xe=te(90782),le=te(6089),y=te(18929),a=ue.createContext(null),b=a,E=te(39559),z=te(400),ne=te(33708),re="__rc_cascader_search_mark__",ie=function(Nt,Zt,Kt){var tn=Kt.label;return Zt.some(function(jt){return String(jt[tn]).toLowerCase().includes(Nt.toLowerCase())})},me=function(Nt,Zt,Kt,tn){return Zt.map(function(jt){return jt[tn.label]}).join(" / ")},pe=function(Ze,Nt,Zt,Kt,tn,jt){var pn=tn.filter,st=pn===void 0?ie:pn,Pt=tn.render,ct=Pt===void 0?me:Pt,rn=tn.limit,In=rn===void 0?50:rn,yn=tn.sort;return ue.useMemo(function(){var ia=[];if(!Ze)return[];function Un(lt,$t){var qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;lt.forEach(function(nn){if(!(!yn&&In!==!1&&In>0&&ia.length>=In)){var _n=[].concat((0,x.Z)($t),[nn]),Jn=nn[Zt.children],Ma=qn||nn.disabled;if((!Jn||Jn.length===0||jt)&&st(Ze,_n,{label:Zt.label})){var ma;ia.push((0,ne.Z)((0,ne.Z)({},nn),{},(ma={disabled:Ma},(0,z.Z)(ma,Zt.label,ct(Ze,_n,Kt,Zt)),(0,z.Z)(ma,re,_n),(0,z.Z)(ma,Zt.children,void 0),ma)))}Jn&&Un(nn[Zt.children],_n,Ma)}})}return Un(Nt,[]),yn&&ia.sort(function(lt,$t){return yn(lt[re],$t[re],Ze,Zt)}),In!==!1&&In>0?ia.slice(0,In):ia},[Ze,Nt,Zt,Kt,ct,jt,st,yn,In])},ye="__RC_CASCADER_SPLIT__",Ge="SHOW_PARENT",Ae="SHOW_CHILD";function Qe(Ze){return Ze.join(ye)}function ve(Ze){return Ze.map(Qe)}function Te(Ze){return Ze.split(ye)}function Ye(Ze){var Nt=Ze||{},Zt=Nt.label,Kt=Nt.value,tn=Nt.children,jt=Kt||"value";return{label:Zt||"label",value:jt,key:jt,children:tn||"children"}}function bt(Ze,Nt){var Zt,Kt;return(Zt=Ze.isLeaf)!==null&&Zt!==void 0?Zt:!((Kt=Ze[Nt.children])!==null&&Kt!==void 0&&Kt.length)}function De(Ze){var Nt=Ze.parentElement;if(Nt){var Zt=Ze.offsetTop-Nt.offsetTop;Zt-Nt.scrollTop<0?Nt.scrollTo({top:Zt}):Zt+Ze.offsetHeight-Nt.scrollTop>Nt.offsetHeight&&Nt.scrollTo({top:Zt+Ze.offsetHeight-Nt.offsetHeight})}}function ut(Ze,Nt){return Ze.map(function(Zt){var Kt;return(Kt=Zt[re])===null||Kt===void 0?void 0:Kt.map(function(tn){return tn[Nt.value]})})}function Ft(Ze,Nt,Zt){var Kt=new Set(Ze),tn=Nt();return Ze.filter(function(jt){var pn=tn[jt],st=pn?pn.parent:null,Pt=pn?pn.children:null;return pn&&pn.node.disabled?!0:Zt===Ae?!(Pt&&Pt.some(function(ct){return ct.key&&Kt.has(ct.key)})):!(st&&!st.node.disabled&&Kt.has(st.key))})}function yt(Ze,Nt,Zt){for(var Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=Nt,jt=[],pn=function(){var ct,rn,In,yn=Ze[st],ia=(ct=tn)===null||ct===void 0?void 0:ct.findIndex(function(lt){var $t=lt[Zt.value];return Kt?String($t)===String(yn):$t===yn}),Un=ia!==-1?(rn=tn)===null||rn===void 0?void 0:rn[ia]:null;jt.push({value:(In=Un==null?void 0:Un[Zt.value])!==null&&In!==void 0?In:yn,index:ia,option:Un}),tn=Un==null?void 0:Un[Zt.children]},st=0;st<Ze.length;st+=1)pn();return jt}var gt=function(Ze,Nt,Zt,Kt,tn){return ue.useMemo(function(){var jt=tn||function(pn){var st=Kt?pn.slice(-1):pn,Pt=" / ";return st.every(function(ct){return["string","number"].includes((0,E.Z)(ct))})?st.join(Pt):st.reduce(function(ct,rn,In){var yn=ue.isValidElement(rn)?ue.cloneElement(rn,{key:In}):rn;return In===0?[yn]:[].concat((0,x.Z)(ct),[Pt,yn])},[])};return Ze.map(function(pn){var st,Pt,ct=yt(pn,Nt,Zt),rn=jt(ct.map(function(yn){var ia,Un=yn.option,lt=yn.value;return(ia=Un==null?void 0:Un[Zt.label])!==null&&ia!==void 0?ia:lt}),ct.map(function(yn){var ia=yn.option;return ia})),In=Qe(pn);return{label:rn,value:In,key:In,valueCells:pn,disabled:(st=ct[ct.length-1])===null||st===void 0||(Pt=st.option)===null||Pt===void 0?void 0:Pt.disabled}})},[Ze,Nt,Zt,tn,Kt])},Xt=te(71430),vt=function(Ze,Nt){var Zt=ue.useRef({options:null,info:null}),Kt=ue.useCallback(function(){return Zt.current.options!==Ze&&(Zt.current.options=Ze,Zt.current.info=(0,Xt.I8)(Ze,{fieldNames:Nt,initWrapper:function(jt){return(0,ne.Z)((0,ne.Z)({},jt),{},{pathKeyEntities:{}})},processEntity:function(jt,pn){var st=jt.nodes.map(function(Pt){return Pt[Nt.value]}).join(ye);pn.pathKeyEntities[st]=jt,jt.key=st}})),Zt.current.info.pathKeyEntities},[Nt,Ze]);return Kt},an=function(Ze,Nt){return ue.useCallback(function(Zt){var Kt=[],tn=[];return Zt.forEach(function(jt){var pn=yt(jt,Ze,Nt);pn.every(function(st){return st.option})?tn.push(jt):Kt.push(jt)}),[tn,Kt]},[Ze,Nt])},En=te(48736);function tt(Ze){return ue.useMemo(function(){if(!Ze)return[!1,{}];var Nt={matchInputWidth:!0,limit:50};return Ze&&(0,E.Z)(Ze)==="object"&&(Nt=(0,ne.Z)((0,ne.Z)({},Nt),Ze)),Nt.limit<=0&&delete Nt.limit,[!0,Nt]},[Ze])}var et=ue.memo(function(Ze){var Nt=Ze.children;return Nt},function(Ze,Nt){return!Nt.open}),qt=et;function hn(Ze){var Nt,Zt=Ze.prefixCls,Kt=Ze.checked,tn=Ze.halfChecked,jt=Ze.disabled,pn=Ze.onClick,st=Ze.disableCheckbox,Pt=ue.useContext(b),ct=Pt.checkable,rn=typeof ct!="boolean"?ct:null;return ue.createElement("span",{className:se()("".concat(Zt),(Nt={},(0,z.Z)(Nt,"".concat(Zt,"-checked"),Kt),(0,z.Z)(Nt,"".concat(Zt,"-indeterminate"),!Kt&&tn),(0,z.Z)(Nt,"".concat(Zt,"-disabled"),jt||st),Nt)),onClick:pn},rn)}var kt="__cascader_fix_label__";function vn(Ze){var Nt=Ze.prefixCls,Zt=Ze.multiple,Kt=Ze.options,tn=Ze.activeValue,jt=Ze.prevValuePath,pn=Ze.onToggleOpen,st=Ze.onSelect,Pt=Ze.onActive,ct=Ze.checkedSet,rn=Ze.halfCheckedSet,In=Ze.loadingKeys,yn=Ze.isSelectable,ia=Ze.searchValue,Un="".concat(Nt,"-menu"),lt="".concat(Nt,"-menu-item"),$t=ue.useContext(b),qn=$t.fieldNames,nn=$t.changeOnSelect,_n=$t.expandTrigger,Jn=$t.expandIcon,Ma=$t.loadingIcon,ma=$t.dropdownMenuColumnStyle,Ue=_n==="hover",dn=ue.useMemo(function(){return Kt.map(function(Qt){var Sn,On=Qt.disabled,kn=Qt.disableCheckbox,Dn=Qt[re],wn=(Sn=Qt[kt])!==null&&Sn!==void 0?Sn:Qt[qn.label],Aa=Qt[qn.value],La=bt(Qt,qn),mn=Dn?Dn.map(function(Vn){return Vn[qn.value]}):[].concat((0,x.Z)(jt),[Aa]),Da=Qe(mn),na=In.includes(Da),Qa=ct.has(Da),Ja=rn.has(Da);return{disabled:On,label:wn,value:Aa,isLeaf:La,isLoading:na,checked:Qa,halfChecked:Ja,option:Qt,disableCheckbox:kn,fullPath:mn,fullPathKey:Da}})},[Kt,ct,qn,rn,In,jt]);return ue.createElement("ul",{className:Un,role:"menu"},dn.map(function(Qt){var Sn,On=Qt.disabled,kn=Qt.label,Dn=Qt.value,wn=Qt.isLeaf,Aa=Qt.isLoading,La=Qt.checked,mn=Qt.halfChecked,Da=Qt.option,na=Qt.fullPath,Qa=Qt.fullPathKey,Ja=Qt.disableCheckbox,Vn=function(){if(!(On||ia)){var za=(0,x.Z)(na);Ue&&wn&&za.pop(),Pt(za)}},sa=function(){yn(Da)&&st(na,wn)},xa;return typeof Da.title=="string"?xa=Da.title:typeof kn=="string"&&(xa=kn),ue.createElement("li",{key:Qa,className:se()(lt,(Sn={},(0,z.Z)(Sn,"".concat(lt,"-expand"),!wn),(0,z.Z)(Sn,"".concat(lt,"-active"),tn===Dn||tn===Qa),(0,z.Z)(Sn,"".concat(lt,"-disabled"),On),(0,z.Z)(Sn,"".concat(lt,"-loading"),Aa),Sn)),style:ma,role:"menuitemcheckbox",title:xa,"aria-checked":La,"data-path-key":Qa,onClick:function(){Vn(),!Ja&&(!Zt||wn)&&sa()},onDoubleClick:function(){nn&&pn(!1)},onMouseEnter:function(){Ue&&Vn()},onMouseDown:function(za){za.preventDefault()}},Zt&&ue.createElement(hn,{prefixCls:"".concat(Nt,"-checkbox"),checked:La,halfChecked:mn,disabled:On||Ja,disableCheckbox:Ja,onClick:function(za){Ja||(za.stopPropagation(),sa())}}),ue.createElement("div",{className:"".concat(lt,"-content")},kn),!Aa&&Jn&&!wn&&ue.createElement("div",{className:"".concat(lt,"-expand-icon")},Jn),Aa&&Ma&&ue.createElement("div",{className:"".concat(lt,"-loading-icon")},Ma))}))}var je=function(){var Ze=(0,We.lk)(),Nt=Ze.multiple,Zt=Ze.open,Kt=ue.useContext(b),tn=Kt.values,jt=ue.useState([]),pn=(0,ot.Z)(jt,2),st=pn[0],Pt=pn[1];return ue.useEffect(function(){if(Zt&&!Nt){var ct=tn[0];Pt(ct||[])}},[Zt]),[st,Pt]},Ot=te(10228),Wt=function(Ze,Nt,Zt,Kt,tn,jt){var pn=(0,We.lk)(),st=pn.direction,Pt=pn.searchValue,ct=pn.toggleOpen,rn=pn.open,In=st==="rtl",yn=ue.useMemo(function(){for(var ma=-1,Ue=Nt,dn=[],Qt=[],Sn=Kt.length,On=ut(Nt,Zt),kn=function(Da){var na=Ue.findIndex(function(Qa,Ja){return(On[Ja]?Qe(On[Ja]):Qa[Zt.value])===Kt[Da]});if(na===-1)return"break";ma=na,dn.push(ma),Qt.push(Kt[Da]),Ue=Ue[ma][Zt.children]},Dn=0;Dn<Sn&&Ue;Dn+=1){var wn=kn(Dn);if(wn==="break")break}for(var Aa=Nt,La=0;La<dn.length-1;La+=1)Aa=Aa[dn[La]][Zt.children];return[Qt,ma,Aa,On]},[Kt,Zt,Nt]),ia=(0,ot.Z)(yn,4),Un=ia[0],lt=ia[1],$t=ia[2],qn=ia[3],nn=function(Ue){tn(Ue)},_n=function(Ue){var dn=$t.length,Qt=lt;Qt===-1&&Ue<0&&(Qt=dn);for(var Sn=0;Sn<dn;Sn+=1){Qt=(Qt+Ue+dn)%dn;var On=$t[Qt];if(On&&!On.disabled){var kn=Un.slice(0,-1).concat(qn[Qt]?Qe(qn[Qt]):On[Zt.value]);nn(kn);return}}},Jn=function(){if(Un.length>1){var Ue=Un.slice(0,-1);nn(Ue)}else ct(!1)},Ma=function(){var Ue,dn=((Ue=$t[lt])===null||Ue===void 0?void 0:Ue[Zt.children])||[],Qt=dn.find(function(On){return!On.disabled});if(Qt){var Sn=[].concat((0,x.Z)(Un),[Qt[Zt.value]]);nn(Sn)}};ue.useImperativeHandle(Ze,function(){return{onKeyDown:function(Ue){var dn=Ue.which;switch(dn){case Ot.Z.UP:case Ot.Z.DOWN:{var Qt=0;dn===Ot.Z.UP?Qt=-1:dn===Ot.Z.DOWN&&(Qt=1),Qt!==0&&_n(Qt);break}case Ot.Z.LEFT:{if(Pt)break;In?Ma():Jn();break}case Ot.Z.RIGHT:{if(Pt)break;In?Jn():Ma();break}case Ot.Z.BACKSPACE:{Pt||Jn();break}case Ot.Z.ENTER:{if(Un.length){var Sn=$t[lt],On=(Sn==null?void 0:Sn[re])||[];On.length?jt(On.map(function(kn){return kn[Zt.value]}),On[On.length-1]):jt(Un,$t[lt])}break}case Ot.Z.ESC:ct(!1),rn&&Ue.stopPropagation()}},onKeyUp:function(){}}})},Mt=ue.forwardRef(function(Ze,Nt){var Zt,Kt,tn,jt,pn=(0,We.lk)(),st=pn.prefixCls,Pt=pn.multiple,ct=pn.searchValue,rn=pn.toggleOpen,In=pn.notFoundContent,yn=pn.direction,ia=pn.open,Un=ue.useRef(),lt=yn==="rtl",$t=ue.useContext(b),qn=$t.options,nn=$t.values,_n=$t.halfValues,Jn=$t.fieldNames,Ma=$t.changeOnSelect,ma=$t.onSelect,Ue=$t.searchOptions,dn=$t.dropdownPrefixCls,Qt=$t.loadData,Sn=$t.expandTrigger,On=dn||st,kn=ue.useState([]),Dn=(0,ot.Z)(kn,2),wn=Dn[0],Aa=Dn[1],La=function(vr){if(!(!Qt||ct)){var Zr=yt(vr,qn,Jn),hr=Zr.map(function(Ra){var xr=Ra.option;return xr}),Fr=hr[hr.length-1];if(Fr&&!bt(Fr,Jn)){var ur=Qe(vr);Aa(function(Ra){return[].concat((0,x.Z)(Ra),[ur])}),Qt(hr)}}};ue.useEffect(function(){wn.length&&wn.forEach(function(Er){var vr=Te(Er),Zr=yt(vr,qn,Jn,!0).map(function(Fr){var ur=Fr.option;return ur}),hr=Zr[Zr.length-1];(!hr||hr[Jn.children]||bt(hr,Jn))&&Aa(function(Fr){return Fr.filter(function(ur){return ur!==Er})})})},[qn,wn,Jn]);var mn=ue.useMemo(function(){return new Set(ve(nn))},[nn]),Da=ue.useMemo(function(){return new Set(ve(_n))},[_n]),na=je(),Qa=(0,ot.Z)(na,2),Ja=Qa[0],Vn=Qa[1],sa=function(vr){Vn(vr),La(vr)},xa=function(vr){var Zr=vr.disabled,hr=bt(vr,Jn);return!Zr&&(hr||Ma||Pt)},aa=function(vr,Zr){var hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ma(vr),!Pt&&(Zr||Ma&&(Sn==="hover"||hr))&&rn(!1)},za=ue.useMemo(function(){return ct?Ue:qn},[ct,Ue,qn]),ar=ue.useMemo(function(){for(var Er=[{options:za}],vr=za,Zr=ut(vr,Jn),hr=function(){var xr=Ja[Fr],Xr=vr.find(function(Vr,jr){return(Zr[jr]?Qe(Zr[jr]):Vr[Jn.value])===xr}),br=Xr==null?void 0:Xr[Jn.children];if(!(br!=null&&br.length))return"break";vr=br,Er.push({options:br})},Fr=0;Fr<Ja.length;Fr+=1){var ur=hr();if(ur==="break")break}return Er},[za,Ja,Jn]),Ga=function(vr,Zr){xa(Zr)&&aa(vr,bt(Zr,Jn),!0)};Wt(Nt,za,Jn,Ja,sa,Ga),ue.useEffect(function(){for(var Er=0;Er<Ja.length;Er+=1){var vr,Zr=Ja.slice(0,Er+1),hr=Qe(Zr),Fr=(vr=Un.current)===null||vr===void 0?void 0:vr.querySelector('li[data-path-key="'.concat(hr.replace(/\\{0,2}"/g,'\\"'),'"]'));Fr&&De(Fr)}},[Ja]);var mr=!((Zt=ar[0])!==null&&Zt!==void 0&&(Kt=Zt.options)!==null&&Kt!==void 0&&Kt.length),Ua=[(tn={},(0,z.Z)(tn,Jn.value,"__EMPTY__"),(0,z.Z)(tn,kt,In),(0,z.Z)(tn,"disabled",!0),tn)],Cr=(0,ne.Z)((0,ne.Z)({},Ze),{},{multiple:!mr&&Pt,onSelect:aa,onActive:sa,onToggleOpen:rn,checkedSet:mn,halfCheckedSet:Da,loadingKeys:wn,isSelectable:xa}),kr=mr?[{options:Ua}]:ar,ao=kr.map(function(Er,vr){var Zr=Ja.slice(0,vr),hr=Ja[vr];return ue.createElement(vn,(0,dt.Z)({key:vr},Cr,{searchValue:ct,prefixCls:On,options:Er.options,prevValuePath:Zr,activeValue:hr}))});return ue.createElement(qt,{open:ia},ue.createElement("div",{className:se()("".concat(On,"-menus"),(jt={},(0,z.Z)(jt,"".concat(On,"-menu-empty"),mr),(0,z.Z)(jt,"".concat(On,"-rtl"),lt),jt)),ref:Un},ao))}),ht=Mt;function rt(Ze){var Nt=Ze.onPopupVisibleChange,Zt=Ze.popupVisible,Kt=Ze.popupClassName,tn=Ze.popupPlacement;warning(!Nt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Zt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Kt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(tn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function _e(Ze,Nt){if(Ze){var Zt=function Kt(tn){for(var jt=0;jt<tn.length;jt++){var pn=tn[jt];if(pn[Nt==null?void 0:Nt.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(pn[Nt==null?void 0:Nt.children])&&Kt(pn[Nt==null?void 0:Nt.children]))return!0}};Zt(Ze)}}var Se=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 qe(Ze){return Array.isArray(Ze)&&Array.isArray(Ze[0])}function Ct(Ze){return Ze?qe(Ze)?Ze:(Ze.length===0?[]:[Ze]).map(function(Nt){return Array.isArray(Nt)?Nt:[Nt]}):[]}var Fe=ue.forwardRef(function(Ze,Nt){var Zt=Ze.id,Kt=Ze.prefixCls,tn=Kt===void 0?"rc-cascader":Kt,jt=Ze.fieldNames,pn=Ze.defaultValue,st=Ze.value,Pt=Ze.changeOnSelect,ct=Ze.onChange,rn=Ze.displayRender,In=Ze.checkable,yn=Ze.autoClearSearchValue,ia=yn===void 0?!0:yn,Un=Ze.searchValue,lt=Ze.onSearch,$t=Ze.showSearch,qn=Ze.expandTrigger,nn=Ze.options,_n=Ze.dropdownPrefixCls,Jn=Ze.loadData,Ma=Ze.popupVisible,ma=Ze.open,Ue=Ze.popupClassName,dn=Ze.dropdownClassName,Qt=Ze.dropdownMenuColumnStyle,Sn=Ze.popupPlacement,On=Ze.placement,kn=Ze.onDropdownVisibleChange,Dn=Ze.onPopupVisibleChange,wn=Ze.expandIcon,Aa=wn===void 0?">":wn,La=Ze.loadingIcon,mn=Ze.children,Da=Ze.dropdownMatchSelectWidth,na=Da===void 0?!1:Da,Qa=Ze.showCheckedStrategy,Ja=Qa===void 0?Ge:Qa,Vn=(0,Ve.Z)(Ze,fe),sa=(0,nt.ZP)(Zt),xa=!!In,aa=(0,y.Z)(pn,{value:st,postState:Ct}),za=(0,ot.Z)(aa,2),ar=za[0],Ga=za[1],mr=ue.useMemo(function(){return Ye(jt)},[JSON.stringify(jt)]),Ua=ue.useMemo(function(){return nn||[]},[nn]),Cr=vt(Ua,mr),kr=ue.useCallback(function(ga){var Tn=Cr();return ga.map(function(Fa){var cr=Tn[Fa].nodes;return cr.map(function(Nr){return Nr[mr.value]})})},[Cr,mr]),ao=(0,y.Z)("",{value:Un,postState:function(Tn){return Tn||""}}),Er=(0,ot.Z)(ao,2),vr=Er[0],Zr=Er[1],hr=function(Tn,Fa){Zr(Tn),Fa.source!=="blur"&&lt&&lt(Tn)},Fr=tt($t),ur=(0,ot.Z)(Fr,2),Ra=ur[0],xr=ur[1],Xr=pe(vr,Ua,mr,_n||tn,xr,Pt),br=an(Ua,mr),Vr=ue.useMemo(function(){var ga=br(ar),Tn=(0,ot.Z)(ga,2),Fa=Tn[0],cr=Tn[1];if(!xa||!ar.length)return[Fa,[],cr];var Nr=ve(Fa),xe=Cr(),sn=(0,Xe.S)(Nr,!0,xe),Cn=sn.checkedKeys,zn=sn.halfCheckedKeys;return[kr(Cn),kr(zn),cr]},[xa,ar,Cr,kr,br]),jr=(0,ot.Z)(Vr,3),Xa=jr[0],wr=jr[1],dr=jr[2],Qr=ue.useMemo(function(){var ga=ve(Xa),Tn=Ft(ga,Cr,Ja);return[].concat((0,x.Z)(dr),(0,x.Z)(kr(Tn)))},[Xa,Cr,kr,dr,Ja]),ro=gt(Qr,Ua,mr,xa,rn),xo=(0,le.Z)(function(ga){if(Ga(ga),ct){var Tn=Ct(ga),Fa=Tn.map(function(xe){return yt(xe,Ua,mr).map(function(sn){return sn.option})}),cr=xa?Tn:Tn[0],Nr=xa?Fa:Fa[0];ct(cr,Nr)}}),To=(0,le.Z)(function(ga){if((!xa||ia)&&Zr(""),!xa)xo(ga);else{var Tn=Qe(ga),Fa=ve(Xa),cr=ve(wr),Nr=Fa.includes(Tn),xe=dr.some(function(Mn){return Qe(Mn)===Tn}),sn=Xa,Cn=dr;if(xe&&!Nr)Cn=dr.filter(function(Mn){return Qe(Mn)!==Tn});else{var zn=Nr?Fa.filter(function(Mn){return Mn!==Tn}):[].concat((0,x.Z)(Fa),[Tn]),cn=Cr(),ra;if(Nr){var Zn=(0,Xe.S)(zn,{checked:!1,halfCheckedKeys:cr},cn);ra=Zn.checkedKeys}else{var Nn=(0,Xe.S)(zn,!0,cn);ra=Nn.checkedKeys}var Gn=Ft(ra,Cr,Ja);sn=kr(Gn)}xo([].concat((0,x.Z)(Cn),(0,x.Z)(sn)))}}),ko=function(Tn,Fa){if(Fa.type==="clear"){xo([]);return}var cr=Fa.values[0],Nr=cr.valueCells;To(Nr)},Ir=ma!==void 0?ma:Ma,qr=dn||Ue,Zo=On||Sn,Ao=function(Tn){kn==null||kn(Tn),Dn==null||Dn(Tn)},Go=ue.useMemo(function(){return{options:Ua,fieldNames:mr,values:Xa,halfValues:wr,changeOnSelect:Pt,onSelect:To,checkable:In,searchOptions:Xr,dropdownPrefixCls:_n,loadData:Jn,expandTrigger:qn,expandIcon:Aa,loadingIcon:La,dropdownMenuColumnStyle:Qt}},[Ua,mr,Xa,wr,Pt,To,In,Xr,_n,Jn,qn,Aa,La,Qt]),ai=!(vr?Xr:Ua).length,$a=vr&&xr.matchInputWidth||ai?{}:{minWidth:"auto"};return ue.createElement(b.Provider,{value:Go},ue.createElement(We.Ac,(0,dt.Z)({},Vn,{ref:Nt,id:sa,prefixCls:tn,autoClearSearchValue:ia,dropdownMatchSelectWidth:na,dropdownStyle:$a,displayValues:ro,onDisplayValuesChange:ko,mode:xa?"multiple":void 0,searchValue:vr,onSearch:hr,showSearch:Ra,OptionList:ht,emptyOptions:ai,open:Ir,dropdownClassName:qr,placement:Zo,onDropdownVisibleChange:Ao,getRawInputElement:function(){return mn}})))});Fe.SHOW_PARENT=Ge,Fe.SHOW_CHILD=Ae;var Ce=Fe,at=Ce,Je=te(2738),Ne=te(62892),mt=te(53487),un=te(19080),en=te(36355),zt=te(93891),ln=te(1684),on=te(19716),ze=te(32441),At=te(14154),Lt=te(58582),St=te(84443),Dt=te(66339),fn=te(33234),Pn=te(98447),bn=te(17313),Ln=te(74207),ta=te(83116);const oa=Ze=>{const{prefixCls:Nt,componentCls:Zt,antCls:Kt}=Ze,tn=`${Zt}-menu-item`,jt=`
&${tn}-expand ${tn}-expand-icon,
${tn}-loading-icon
`;return[{[Zt]:{width:Ze.controlWidth}},{[`${Zt}-dropdown`]:[(0,Pn.C2)(`${Nt}-checkbox`,Ze),{[`&${Kt}-select-dropdown`]:{padding:0}},{[Zt]:{"&-checkbox":{top:0,marginInlineEnd:Ze.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Zt}-menu-empty`]:{[`${Zt}-menu`]:{width:"100%",height:"auto",[tn]:{color:Ze.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ze.controlItemWidth,height:Ze.dropdownHeight,margin:0,padding:Ze.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorSplit}`},"&-item":Object.assign(Object.assign({},bn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ze.optionPadding,lineHeight:Ze.lineHeight,cursor:"pointer",transition:`all ${Ze.motionDurationMid}`,borderRadius:Ze.borderRadiusSM,"&:hover":{background:Ze.controlItemBgHover},"&-disabled":{color:Ze.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[jt]:{color:Ze.colorTextDisabled}},[`&-active:not(${tn}-disabled)`]:{"&, &:hover":{fontWeight:Ze.optionSelectedFontWeight,backgroundColor:Ze.optionSelectedBg}},"&-content":{flex:"auto"},[jt]:{marginInlineStart:Ze.paddingXXS,color:Ze.colorTextDescription,fontSize:Ze.fontSizeIcon},"&-keyword":{color:Ze.colorHighlight}})}}}]},{[`${Zt}-dropdown-rtl`]:{direction:"rtl"}},(0,Ln.c)(Ze)]};var jn=(0,ta.Z)("Cascader",Ze=>[oa(Ze)],Ze=>{const Nt=Math.round((Ze.controlHeight-Ze.fontSize*Ze.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ze.controlItemBgActive,optionSelectedFontWeight:Ze.fontWeightStrong,optionPadding:`${Nt}px ${Ze.paddingSM}px`,menuPadding:Ze.paddingXXS}}),Ea=function(Ze,Nt){var Zt={};for(var Kt in Ze)Object.prototype.hasOwnProperty.call(Ze,Kt)&&Nt.indexOf(Kt)<0&&(Zt[Kt]=Ze[Kt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tn=0,Kt=Object.getOwnPropertySymbols(Ze);tn<Kt.length;tn++)Nt.indexOf(Kt[tn])<0&&Object.prototype.propertyIsEnumerable.call(Ze,Kt[tn])&&(Zt[Kt[tn]]=Ze[Kt[tn]]);return Zt};const{SHOW_CHILD:va,SHOW_PARENT:Hn}=at;function Ba(Ze,Nt,Zt){const Kt=Ze.toLowerCase().split(Nt).reduce((pn,st,Pt)=>Pt===0?[st]:[].concat((0,x.Z)(pn),[Nt,st]),[]),tn=[];let jt=0;return Kt.forEach((pn,st)=>{const Pt=jt+pn.length;let ct=Ze.slice(jt,Pt);jt=Pt,st%2===1&&(ct=ue.createElement("span",{className:`${Zt}-menu-item-keyword`,key:`separator-${st}`},ct)),tn.push(ct)}),tn}const Yt=(Ze,Nt,Zt,Kt)=>{const tn=[],jt=Ze.toLowerCase();return Nt.forEach((pn,st)=>{st!==0&&tn.push(" / ");let Pt=pn[Kt.label];const ct=typeof Pt;(ct==="string"||ct==="number")&&(Pt=Ba(String(Pt),jt,Zt)),tn.push(Pt)}),tn},An=ue.forwardRef((Ze,Nt)=>{const{prefixCls:Zt,size:Kt,disabled:tn,className:jt,rootClassName:pn,multiple:st,bordered:Pt=!0,transitionName:ct,choiceTransitionName:rn="",popupClassName:In,dropdownClassName:yn,expandIcon:ia,placement:Un,showSearch:lt,allowClear:$t=!0,notFoundContent:qn,direction:nn,getPopupContainer:_n,status:Jn,showArrow:Ma,builtinPlacements:ma,style:Ue}=Ze,dn=Ea(Ze,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Qt=(0,Je.Z)(dn,["suffixIcon"]),{getPopupContainer:Sn,getPrefixCls:On,renderEmpty:kn,direction:Dn,popupOverflow:wn,cascader:Aa}=ue.useContext(en.E_),La=nn||Dn,mn=La==="rtl",{status:Da,hasFeedback:na,isFormItemInput:Qa,feedbackIcon:Ja}=ue.useContext(ze.aM),Vn=(0,un.F)(Da,Jn),sa=qn||(kn==null?void 0:kn("Cascader"))||ue.createElement(zt.Z,{componentName:"Cascader"}),xa=On(),aa=On("select",Zt),za=On("cascader",Zt),[ar,Ga]=(0,At.Z)(aa),[mr]=jn(za),{compactSize:Ua,compactItemClassnames:Cr}=(0,fn.ri)(aa,nn),kr=se()(In||yn,`${za}-dropdown`,{[`${za}-dropdown-rtl`]:La==="rtl"},pn,Ga),ao=ue.useMemo(()=>{if(!lt)return lt;let dr={render:Yt};return typeof lt=="object"&&(dr=Object.assign(Object.assign({},dr),lt)),dr},[lt]),Er=(0,on.Z)(dr=>{var Qr;return(Qr=Kt!=null?Kt:Ua)!==null&&Qr!==void 0?Qr:dr}),vr=ue.useContext(ln.Z),Zr=tn!=null?tn:vr;let hr=ia;ia||(hr=mn?ue.createElement(Be.Z,null):ue.createElement(Le.Z,null));const Fr=ue.createElement("span",{className:`${aa}-menu-item-loading-icon`},ue.createElement(Me.Z,{spin:!0})),ur=ue.useMemo(()=>st?ue.createElement("span",{className:`${za}-checkbox-inner`}):!1,[st]),Ra=(0,St.Z)(Ze.suffixIcon,Ma),{suffixIcon:xr,removeIcon:Xr,clearIcon:br}=(0,Dt.Z)(Object.assign(Object.assign({},Ze),{hasFeedback:na,feedbackIcon:Ja,showSuffixIcon:Ra,multiple:st,prefixCls:aa,componentName:"Cascader"})),Vr=ue.useMemo(()=>Un!==void 0?Un:mn?"bottomRight":"bottomLeft",[Un,mn]),jr=(0,Lt.Z)(ma,wn),Xa=$t===!0?{clearIcon:br}:$t,wr=ue.createElement(at,Object.assign({prefixCls:aa,className:se()(!Zt&&za,{[`${aa}-lg`]:Er==="large",[`${aa}-sm`]:Er==="small",[`${aa}-rtl`]:mn,[`${aa}-borderless`]:!Pt,[`${aa}-in-form-item`]:Qa},(0,un.Z)(aa,Vn,na),Cr,Aa==null?void 0:Aa.className,jt,pn,Ga),disabled:Zr,style:Object.assign(Object.assign({},Aa==null?void 0:Aa.style),Ue)},Qt,{builtinPlacements:jr,direction:La,placement:Vr,notFoundContent:sa,allowClear:Xa,showSearch:ao,expandIcon:hr,suffixIcon:xr,removeIcon:Xr,loadingIcon:Fr,checkable:ur,dropdownClassName:kr,dropdownPrefixCls:Zt||za,choiceTransitionName:(0,Ne.m)(xa,"",rn),transitionName:(0,Ne.m)(xa,"slide-up",ct),getPopupContainer:_n||Sn,ref:Nt}));return mr(ar(wr))}),Fn=(0,mt.Z)(An);An.SHOW_PARENT=Hn,An.SHOW_CHILD=va,An._InternalPanelDoNotUseOrYouWillBeFired=Fn;var Xn=An},24905:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return pe}});var x=te(92310),ue=te.n(x),Be=te(5630),Me=te(59301),Le=te(36355),Oe=te(1684),se=te(32441),ot=Me.createContext(null),Ve=te(98447),We=te(14088),nt=te(4572),Xe=function(ye,Ge){var Ae={};for(var Qe in ye)Object.prototype.hasOwnProperty.call(ye,Qe)&&Ge.indexOf(Qe)<0&&(Ae[Qe]=ye[Qe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Qe=Object.getOwnPropertySymbols(ye);ve<Qe.length;ve++)Ge.indexOf(Qe[ve])<0&&Object.prototype.propertyIsEnumerable.call(ye,Qe[ve])&&(Ae[Qe[ve]]=ye[Qe[ve]]);return Ae};const le=(ye,Ge)=>{var Ae;const{prefixCls:Qe,className:ve,rootClassName:Te,children:Ye,indeterminate:bt=!1,style:De,onMouseEnter:ut,onMouseLeave:Ft,skipGroup:yt=!1,disabled:gt}=ye,Xt=Xe(ye,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:vt,direction:an,checkbox:En}=Me.useContext(Le.E_),tt=Me.useContext(ot),{isFormItemInput:et}=Me.useContext(se.aM),qt=Me.useContext(Oe.Z),hn=(Ae=(tt==null?void 0:tt.disabled)||gt)!==null&&Ae!==void 0?Ae:qt,kt=Me.useRef(Xt.value);Me.useEffect(()=>{tt==null||tt.registerValue(Xt.value)},[]),Me.useEffect(()=>{if(!yt)return Xt.value!==kt.current&&(tt==null||tt.cancelValue(kt.current),tt==null||tt.registerValue(Xt.value),kt.current=Xt.value),()=>tt==null?void 0:tt.cancelValue(Xt.value)},[Xt.value]);const vn=vt("checkbox",Qe),[je,Ot]=(0,Ve.ZP)(vn),Wt=Object.assign({},Xt);tt&&!yt&&(Wt.onChange=function(){Xt.onChange&&Xt.onChange.apply(Xt,arguments),tt.toggleOption&&tt.toggleOption({label:Ye,value:Xt.value})},Wt.name=tt.name,Wt.checked=tt.value.includes(Xt.value));const Mt=ue()(`${vn}-wrapper`,{[`${vn}-rtl`]:an==="rtl",[`${vn}-wrapper-checked`]:Wt.checked,[`${vn}-wrapper-disabled`]:hn,[`${vn}-wrapper-in-form-item`]:et},En==null?void 0:En.className,ve,Te,Ot),ht=ue()({[`${vn}-indeterminate`]:bt},nt.A,Ot),rt=bt?"mixed":void 0;return je(Me.createElement(We.Z,{component:"Checkbox",disabled:hn},Me.createElement("label",{className:Mt,style:Object.assign(Object.assign({},En==null?void 0:En.style),De),onMouseEnter:ut,onMouseLeave:Ft},Me.createElement(Be.Z,Object.assign({"aria-checked":rt},Wt,{prefixCls:vn,className:ht,disabled:hn,ref:Ge})),Ye!==void 0&&Me.createElement("span",null,Ye))))};var a=Me.forwardRef(le),b=te(26407),E=te(2738),z=function(ye,Ge){var Ae={};for(var Qe in ye)Object.prototype.hasOwnProperty.call(ye,Qe)&&Ge.indexOf(Qe)<0&&(Ae[Qe]=ye[Qe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Qe=Object.getOwnPropertySymbols(ye);ve<Qe.length;ve++)Ge.indexOf(Qe[ve])<0&&Object.prototype.propertyIsEnumerable.call(ye,Qe[ve])&&(Ae[Qe[ve]]=ye[Qe[ve]]);return Ae};const ne=(ye,Ge)=>{const{defaultValue:Ae,children:Qe,options:ve=[],prefixCls:Te,className:Ye,rootClassName:bt,style:De,onChange:ut}=ye,Ft=z(ye,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:yt,direction:gt}=Me.useContext(Le.E_),[Xt,vt]=Me.useState(Ft.value||Ae||[]),[an,En]=Me.useState([]);Me.useEffect(()=>{"value"in Ft&&vt(Ft.value||[])},[Ft.value]);const tt=Me.useMemo(()=>ve.map(_e=>typeof _e=="string"||typeof _e=="number"?{label:_e,value:_e}:_e),[ve]),et=_e=>{En(Se=>Se.filter(fe=>fe!==_e))},qt=_e=>{En(Se=>[].concat((0,b.Z)(Se),[_e]))},hn=_e=>{const Se=Xt.indexOf(_e.value),fe=(0,b.Z)(Xt);Se===-1?fe.push(_e.value):fe.splice(Se,1),"value"in Ft||vt(fe),ut==null||ut(fe.filter(qe=>an.includes(qe)).sort((qe,Ct)=>{const Fe=tt.findIndex(at=>at.value===qe),Ce=tt.findIndex(at=>at.value===Ct);return Fe-Ce}))},kt=yt("checkbox",Te),vn=`${kt}-group`,[je,Ot]=(0,Ve.ZP)(kt),Wt=(0,E.Z)(Ft,["value","disabled"]),Mt=ve.length?tt.map(_e=>Me.createElement(a,{prefixCls:kt,key:_e.value.toString(),disabled:"disabled"in _e?_e.disabled:Ft.disabled,value:_e.value,checked:Xt.includes(_e.value),onChange:_e.onChange,className:`${vn}-item`,style:_e.style,title:_e.title},_e.label)):Qe,ht={toggleOption:hn,value:Xt,disabled:Ft.disabled,name:Ft.name,registerValue:qt,cancelValue:et},rt=ue()(vn,{[`${vn}-rtl`]:gt==="rtl"},Ye,bt,Ot);return je(Me.createElement("div",Object.assign({className:rt,style:De},Wt,{ref:Ge}),Me.createElement(ot.Provider,{value:ht},Mt)))},re=Me.forwardRef(ne);var ie=Me.memo(re);const me=a;me.Group=ie,me.__ANT_CHECKBOX=!0;var pe=me},98447:function(Ut,Gt,te){"use strict";te.d(Gt,{C2:function(){return Le}});var x=te(17313),ue=te(37613),Be=te(83116);const Me=Oe=>{const{checkboxCls:se}=Oe,dt=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,x.Wf)(Oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Oe.marginXS,[`> ${Oe.antCls}-row`]:{flex:1}}),[dt]:Object.assign(Object.assign({},(0,x.Wf)(Oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${dt}`]:{marginInlineStart:0},[`&${dt}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,x.Wf)(Oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Oe.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,x.oN)(Oe))},[`${se}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Oe.checkboxSize,height:Oe.checkboxSize,direction:"ltr",backgroundColor:Oe.colorBgContainer,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadiusSM,borderCollapse:"separate",transition:`all ${Oe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Oe.checkboxSize/14*5,height:Oe.checkboxSize/14*8,border:`${Oe.lineWidthBold}px solid ${Oe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Oe.motionDurationFast} ${Oe.motionEaseInBack}, opacity ${Oe.motionDurationFast}`}},"& + span":{paddingInlineStart:Oe.paddingXS,paddingInlineEnd:Oe.paddingXS}})},{[`
${dt}:not(${dt}-disabled),
${se}:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{borderColor:Oe.colorPrimary}},[`${dt}:not(${dt}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:Oe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:Oe.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:Oe.colorPrimary,borderColor:Oe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Oe.motionDurationMid} ${Oe.motionEaseOutBack} ${Oe.motionDurationFast}`}}},[`
${dt}-checked:not(${dt}-disabled),
${se}-checked:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{backgroundColor:Oe.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:Oe.colorBgContainer,borderColor:Oe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Oe.fontSizeLG/2,height:Oe.fontSizeLG/2,backgroundColor:Oe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${dt}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,"&:after":{borderColor:Oe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Oe.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:Oe.colorTextDisabled}}}]};function Le(Oe,se){const dt=(0,ue.TS)(se,{checkboxCls:`.${Oe}`,checkboxSize:se.controlInteractiveSize});return[Me(dt)]}Gt.ZP=(0,Be.Z)("Checkbox",(Oe,se)=>{let{prefixCls:dt}=se;return[Le(dt,Oe)]})},36381:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return Wt}});var x=te(38819),ue=te(92310),Be=te.n(ue),Me=te(92413),Le=te(26407),Oe=te(33606),se=te(39559),dt=te(18929),ot=te(48736),Ve=te(59301),We=te(37061),nt=te(11592),Xe=te(400),le=te(77900),y=te(10228),a=Ve.forwardRef(function(Mt,ht){var rt=Mt.prefixCls,_e=Mt.forceRender,Se=Mt.className,fe=Mt.style,qe=Mt.children,Ct=Mt.isActive,Fe=Mt.role,Ce=Ve.useState(Ct||_e),at=(0,Oe.Z)(Ce,2),Je=at[0],Ne=at[1];return Ve.useEffect(function(){(_e||Ct)&&Ne(!0)},[_e,Ct]),Je?Ve.createElement("div",{ref:ht,className:Be()("".concat(rt,"-content"),(0,Xe.Z)((0,Xe.Z)({},"".concat(rt,"-content-active"),Ct),"".concat(rt,"-content-inactive"),!Ct),Se),style:fe,role:Fe},Ve.createElement("div",{className:"".concat(rt,"-content-box")},qe)):null});a.displayName="PanelContent";var b=a,E=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Ve.forwardRef(function(Mt,ht){var rt=Mt.showArrow,_e=rt===void 0?!0:rt,Se=Mt.headerClass,fe=Mt.isActive,qe=Mt.onItemClick,Ct=Mt.forceRender,Fe=Mt.className,Ce=Mt.prefixCls,at=Mt.collapsible,Je=Mt.accordion,Ne=Mt.panelKey,mt=Mt.extra,un=Mt.header,en=Mt.expandIcon,zt=Mt.openMotion,ln=Mt.destroyInactivePanel,on=Mt.children,ze=(0,We.Z)(Mt,E),At=at==="disabled",Lt=at==="header",St=at==="icon",Dt=mt!=null&&typeof mt!="boolean",fn=function(){qe==null||qe(Ne)},Pn=function(Ea){(Ea.key==="Enter"||Ea.keyCode===y.Z.ENTER||Ea.which===y.Z.ENTER)&&fn()},bn=typeof en=="function"?en(Mt):Ve.createElement("i",{className:"arrow"});bn&&(bn=Ve.createElement("div",{className:"".concat(Ce,"-expand-icon"),onClick:["header","icon"].includes(at)?fn:void 0},bn));var Ln=Be()((0,Xe.Z)((0,Xe.Z)((0,Xe.Z)({},"".concat(Ce,"-item"),!0),"".concat(Ce,"-item-active"),fe),"".concat(Ce,"-item-disabled"),At),Fe),ta=Be()(Se,(0,Xe.Z)((0,Xe.Z)((0,Xe.Z)({},"".concat(Ce,"-header"),!0),"".concat(Ce,"-header-collapsible-only"),Lt),"".concat(Ce,"-icon-collapsible-only"),St)),oa={className:ta,"aria-expanded":fe,"aria-disabled":At,onKeyDown:Pn};return!Lt&&!St&&(oa.onClick=fn,oa.role=Je?"tab":"button",oa.tabIndex=At?-1:0),Ve.createElement("div",(0,Me.Z)({},ze,{ref:ht,className:Ln}),Ve.createElement("div",oa,_e&&bn,Ve.createElement("span",{className:"".concat(Ce,"-header-text"),onClick:at==="header"?fn:void 0},un),Dt&&Ve.createElement("div",{className:"".concat(Ce,"-extra")},mt)),Ve.createElement(le.default,(0,Me.Z)({visible:fe,leavedClassName:"".concat(Ce,"-content-hidden")},zt,{forceRender:Ct,removeOnLeave:ln}),function(jn,Ea){var va=jn.className,Hn=jn.style;return Ve.createElement(b,{ref:Ea,prefixCls:Ce,className:va,style:Hn,isActive:fe,forceRender:Ct,role:Je?"tabpanel":void 0},on)}))}),ne=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ie=function(ht,rt){var _e=rt.prefixCls,Se=rt.accordion,fe=rt.collapsible,qe=rt.destroyInactivePanel,Ct=rt.onItemClick,Fe=rt.activeKey,Ce=rt.openMotion,at=rt.expandIcon;return ht.map(function(Je,Ne){var mt=Je.children,un=Je.label,en=Je.key,zt=Je.collapsible,ln=Je.onItemClick,on=Je.destroyInactivePanel,ze=(0,We.Z)(Je,re),At=String(en!=null?en:Ne),Lt=zt!=null?zt:fe,St=on!=null?on:qe,Dt=function(bn){Lt!=="disabled"&&(Ct(bn),ln==null||ln(bn))},fn=!1;return Se?fn=Fe[0]===At:fn=Fe.indexOf(At)>-1,Ve.createElement(ne,(0,Me.Z)({},ze,{prefixCls:_e,key:At,panelKey:At,isActive:fn,accordion:Se,openMotion:Ce,expandIcon:at,header:un,collapsible:Lt,onItemClick:Dt,destroyInactivePanel:St}),mt)})},me=function(ht,rt,_e){if(!ht)return null;var Se=_e.prefixCls,fe=_e.accordion,qe=_e.collapsible,Ct=_e.destroyInactivePanel,Fe=_e.onItemClick,Ce=_e.activeKey,at=_e.openMotion,Je=_e.expandIcon,Ne=ht.key||String(rt),mt=ht.props,un=mt.header,en=mt.headerClass,zt=mt.destroyInactivePanel,ln=mt.collapsible,on=mt.onItemClick,ze=!1;fe?ze=Ce[0]===Ne:ze=Ce.indexOf(Ne)>-1;var At=ln!=null?ln:qe,Lt=function(fn){At!=="disabled"&&(Fe(fn),on==null||on(fn))},St={key:Ne,panelKey:Ne,header:un,headerClass:en,isActive:ze,prefixCls:Se,destroyInactivePanel:zt!=null?zt:Ct,openMotion:at,accordion:fe,children:ht.props.children,onItemClick:Lt,expandIcon:Je,collapsible:At};return typeof ht.type=="string"?ht:(Object.keys(St).forEach(function(Dt){typeof St[Dt]=="undefined"&&delete St[Dt]}),Ve.cloneElement(ht,St))};function pe(Mt,ht,rt){return Array.isArray(Mt)?ie(Mt,rt):(0,nt.Z)(ht).map(function(_e,Se){return me(_e,Se,rt)})}var ye=pe,Ge=te(26112);function Ae(Mt){var ht=Mt;if(!Array.isArray(ht)){var rt=(0,se.Z)(ht);ht=rt==="number"||rt==="string"?[ht]:[]}return ht.map(function(_e){return String(_e)})}var Qe=Ve.forwardRef(function(Mt,ht){var rt=Mt.prefixCls,_e=rt===void 0?"rc-collapse":rt,Se=Mt.destroyInactivePanel,fe=Se===void 0?!1:Se,qe=Mt.style,Ct=Mt.accordion,Fe=Mt.className,Ce=Mt.children,at=Mt.collapsible,Je=Mt.openMotion,Ne=Mt.expandIcon,mt=Mt.activeKey,un=Mt.defaultActiveKey,en=Mt.onChange,zt=Mt.items,ln=Be()(_e,Fe),on=(0,dt.Z)([],{value:mt,onChange:function(Pn){return en==null?void 0:en(Pn)},defaultValue:un,postState:Ae}),ze=(0,Oe.Z)(on,2),At=ze[0],Lt=ze[1],St=function(Pn){return Lt(function(){if(Ct)return At[0]===Pn?[]:[Pn];var bn=At.indexOf(Pn),Ln=bn>-1;return Ln?At.filter(function(ta){return ta!==Pn}):[].concat((0,Le.Z)(At),[Pn])})};(0,ot.ZP)(!Ce,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Dt=ye(zt,Ce,{prefixCls:_e,accordion:Ct,openMotion:Je,expandIcon:Ne,collapsible:at,destroyInactivePanel:fe,onItemClick:St,activeKey:At});return Ve.createElement("div",(0,Me.Z)({ref:ht,className:ln,style:qe,role:Ct?"tablist":void 0},(0,Ge.Z)(Mt,{aria:!0,data:!0})),Dt)}),ve=Object.assign(Qe,{Panel:ne}),Te=ve,Ye=ve.Panel,bt=te(2738),De=te(62892),ut=te(92343),Ft=te(36355),yt=te(19716),Xt=Ve.forwardRef((Mt,ht)=>{const{getPrefixCls:rt}=Ve.useContext(Ft.E_),{prefixCls:_e,className:Se,showArrow:fe=!0}=Mt,qe=rt("collapse",_e),Ct=Be()({[`${qe}-no-arrow`]:!fe},Se);return Ve.createElement(Te.Panel,Object.assign({ref:ht},Mt,{prefixCls:qe,className:Ct}))}),vt=te(17313),an=te(8378),En=te(83116),tt=te(37613);const et=Mt=>{const{componentCls:ht,contentBg:rt,padding:_e,headerBg:Se,headerPadding:fe,collapseHeaderPaddingSM:qe,collapseHeaderPaddingLG:Ct,collapsePanelBorderRadius:Fe,lineWidth:Ce,lineType:at,colorBorder:Je,colorText:Ne,colorTextHeading:mt,colorTextDisabled:un,fontSize:en,fontSizeLG:zt,lineHeight:ln,marginSM:on,paddingSM:ze,paddingLG:At,paddingXS:Lt,motionDurationSlow:St,fontSizeIcon:Dt,contentPadding:fn}=Mt,Pn=`${Ce}px ${at} ${Je}`;return{[ht]:Object.assign(Object.assign({},(0,vt.Wf)(Mt)),{backgroundColor:Se,border:Pn,borderBottom:0,borderRadius:`${Fe}px`,"&-rtl":{direction:"rtl"},[`& > ${ht}-item`]:{borderBottom:Pn,"&:last-child":{[`
&,
& > ${ht}-header`]:{borderRadius:`0 0 ${Fe}px ${Fe}px`}},[`> ${ht}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:fe,color:mt,lineHeight:ln,cursor:"pointer",transition:`all ${St}, visibility 0s`,[`> ${ht}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ht}-expand-icon`]:{height:en*ln,display:"flex",alignItems:"center",paddingInlineEnd:on},[`${ht}-arrow`]:Object.assign(Object.assign({},(0,vt.Ro)()),{fontSize:Dt,svg:{transition:`transform ${St}`}}),[`${ht}-header-text`]:{marginInlineEnd:"auto"}},[`${ht}-header-collapsible-only`]:{cursor:"default",[`${ht}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ht}-icon-collapsible-only`]:{cursor:"default",[`${ht}-expand-icon`]:{cursor:"pointer"}}},[`${ht}-content`]:{color:Ne,backgroundColor:rt,borderTop:Pn,[`& > ${ht}-content-box`]:{padding:fn},"&-hidden":{display:"none"}},"&-small":{[`> ${ht}-item`]:{[`> ${ht}-header`]:{padding:qe,paddingInlineStart:Lt,[`> ${ht}-expand-icon`]:{marginInlineStart:ze-Lt}},[`> ${ht}-content > ${ht}-content-box`]:{padding:ze}}},"&-large":{[`> ${ht}-item`]:{fontSize:zt,[`> ${ht}-header`]:{padding:Ct,paddingInlineStart:_e,[`> ${ht}-expand-icon`]:{height:zt*ln,marginInlineStart:At-_e}},[`> ${ht}-content > ${ht}-content-box`]:{padding:At}}},[`${ht}-item:last-child`]:{[`> ${ht}-content`]:{borderRadius:`0 0 ${Fe}px ${Fe}px`}},[`& ${ht}-item-disabled > ${ht}-header`]:{"\n &,\n & > .arrow\n ":{color:un,cursor:"not-allowed"}},[`&${ht}-icon-position-end`]:{[`& > ${ht}-item`]:{[`> ${ht}-header`]:{[`${ht}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:on}}}}})}},qt=Mt=>{const{componentCls:ht}=Mt,rt=`> ${ht}-item > ${ht}-header ${ht}-arrow svg`;return{[`${ht}-rtl`]:{[rt]:{transform:"rotate(180deg)"}}}},hn=Mt=>{const{componentCls:ht,headerBg:rt,paddingXXS:_e,colorBorder:Se}=Mt;return{[`${ht}-borderless`]:{backgroundColor:rt,border:0,[`> ${ht}-item`]:{borderBottom:`1px solid ${Se}`},[`
> ${ht}-item:last-child,
> ${ht}-item:last-child ${ht}-header
`]:{borderRadius:0},[`> ${ht}-item:last-child`]:{borderBottom:0},[`> ${ht}-item > ${ht}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ht}-item > ${ht}-content > ${ht}-content-box`]:{paddingTop:_e}}}},kt=Mt=>{const{componentCls:ht,paddingSM:rt}=Mt;return{[`${ht}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ht}-item`]:{borderBottom:0,[`> ${ht}-content`]:{backgroundColor:"transparent",border:0,[`> ${ht}-content-box`]:{paddingBlock:rt}}}}}};var vn=(0,En.Z)("Collapse",Mt=>{const ht=(0,tt.TS)(Mt,{collapseHeaderPaddingSM:`${Mt.paddingXS}px ${Mt.paddingSM}px`,collapseHeaderPaddingLG:`${Mt.padding}px ${Mt.paddingLG}px`,collapsePanelBorderRadius:Mt.borderRadiusLG});return[et(ht),hn(ht),kt(ht),qt(ht),(0,an.Z)(ht)]},Mt=>({headerPadding:`${Mt.paddingSM}px ${Mt.padding}px`,headerBg:Mt.colorFillAlter,contentPadding:`${Mt.padding}px 16px`,contentBg:Mt.colorBgContainer})),Ot=Object.assign(Ve.forwardRef((Mt,ht)=>{const{getPrefixCls:rt,direction:_e,collapse:Se}=Ve.useContext(Ft.E_),{prefixCls:fe,className:qe,rootClassName:Ct,style:Fe,bordered:Ce=!0,ghost:at,size:Je,expandIconPosition:Ne="start",children:mt,expandIcon:un}=Mt,en=(0,yt.Z)(Pn=>{var bn;return(bn=Je!=null?Je:Pn)!==null&&bn!==void 0?bn:"middle"}),zt=rt("collapse",fe),ln=rt(),[on,ze]=vn(zt),At=Ve.useMemo(()=>Ne==="left"?"start":Ne==="right"?"end":Ne,[Ne]),Lt=function(){let Pn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const bn=un?un(Pn):Ve.createElement(x.Z,{rotate:Pn.isActive?90:void 0});return(0,ut.Tm)(bn,()=>({className:Be()(bn.props.className,`${zt}-arrow`)}))},St=Be()(`${zt}-icon-position-${At}`,{[`${zt}-borderless`]:!Ce,[`${zt}-rtl`]:_e==="rtl",[`${zt}-ghost`]:!!at,[`${zt}-${en}`]:en!=="middle"},Se==null?void 0:Se.className,qe,Ct,ze),Dt=Object.assign(Object.assign({},(0,De.Z)(ln)),{motionAppear:!1,leavedClassName:`${zt}-content-hidden`}),fn=Ve.useMemo(()=>mt?(0,nt.Z)(mt).map((Pn,bn)=>{var Ln,ta;if(!((Ln=Pn.props)===null||Ln===void 0)&&Ln.disabled){const oa=(ta=Pn.key)!==null&&ta!==void 0?ta:String(bn),{disabled:jn,collapsible:Ea}=Pn.props,va=Object.assign(Object.assign({},(0,bt.Z)(Pn.props,["disabled"])),{key:oa,collapsible:Ea!=null?Ea:jn?"disabled":void 0});return(0,ut.Tm)(Pn,va)}return Pn}):null,[mt]);return on(Ve.createElement(Te,Object.assign({ref:ht,openMotion:Dt},(0,bt.Z)(Mt,["rootClassName"]),{expandIcon:Lt,prefixCls:zt,className:St,style:Object.assign(Object.assign({},Se==null?void 0:Se.style),Fe)}),fn))}),{Panel:Xt}),Wt=Ot},43428:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return je}});var x=te(92310),ue=te.n(x),Be=te(33708),Me=te(33606),Le=te(43403),Oe=te(34280),se=te(59301),dt=se.createContext(null),ot=se.createContext({}),Ve=dt,We=te(400),nt=te(92413),Xe=te(77900),le=te(10228),y=te(26112),a=te(70425),b=function(Wt){var Mt=Wt.prefixCls,ht=Wt.className,rt=Wt.style,_e=Wt.children,Se=Wt.containerRef,fe=Wt.id,qe=Wt.onMouseEnter,Ct=Wt.onMouseOver,Fe=Wt.onMouseLeave,Ce=Wt.onClick,at=Wt.onKeyDown,Je=Wt.onKeyUp,Ne={onMouseEnter:qe,onMouseOver:Ct,onMouseLeave:Fe,onClick:Ce,onKeyDown:at,onKeyUp:Je},mt=se.useContext(ot),un=mt.panel,en=(0,a.useComposeRef)(un,Se);return se.createElement(se.Fragment,null,se.createElement("div",(0,nt.Z)({id:fe,className:ue()("".concat(Mt,"-content"),ht),style:(0,Be.Z)({},rt),"aria-modal":"true",role:"dialog",ref:en},Ne),_e))},E=b,z=te(48736);function ne(Ot){return typeof Ot=="string"&&String(Number(Ot))===Ot?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ot)):Ot}function re(Ot){warning(!("wrapperClassName"in Ot),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ot.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ie={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function me(Ot,Wt){var Mt,ht,rt,_e,Se=Ot.prefixCls,fe=Ot.open,qe=Ot.placement,Ct=Ot.inline,Fe=Ot.push,Ce=Ot.forceRender,at=Ot.autoFocus,Je=Ot.keyboard,Ne=Ot.rootClassName,mt=Ot.rootStyle,un=Ot.zIndex,en=Ot.className,zt=Ot.id,ln=Ot.style,on=Ot.motion,ze=Ot.width,At=Ot.height,Lt=Ot.children,St=Ot.contentWrapperStyle,Dt=Ot.mask,fn=Ot.maskClosable,Pn=Ot.maskMotion,bn=Ot.maskClassName,Ln=Ot.maskStyle,ta=Ot.afterOpenChange,oa=Ot.onClose,jn=Ot.onMouseEnter,Ea=Ot.onMouseOver,va=Ot.onMouseLeave,Hn=Ot.onClick,Ba=Ot.onKeyDown,Yt=Ot.onKeyUp,An=se.useRef(),Fn=se.useRef(),Xn=se.useRef();se.useImperativeHandle(Wt,function(){return An.current});var Ze=function($t){var qn=$t.keyCode,nn=$t.shiftKey;switch(qn){case le.Z.TAB:{if(qn===le.Z.TAB){if(!nn&&document.activeElement===Xn.current){var _n;(_n=Fn.current)===null||_n===void 0||_n.focus({preventScroll:!0})}else if(nn&&document.activeElement===Fn.current){var Jn;(Jn=Xn.current)===null||Jn===void 0||Jn.focus({preventScroll:!0})}}break}case le.Z.ESC:{oa&&Je&&($t.stopPropagation(),oa($t));break}}};se.useEffect(function(){if(fe&&at){var lt;(lt=An.current)===null||lt===void 0||lt.focus({preventScroll:!0})}},[fe]);var Nt=se.useState(!1),Zt=(0,Me.Z)(Nt,2),Kt=Zt[0],tn=Zt[1],jt=se.useContext(Ve),pn;Fe===!1?pn={distance:0}:Fe===!0?pn={}:pn=Fe||{};var st=(Mt=(ht=(rt=pn)===null||rt===void 0?void 0:rt.distance)!==null&&ht!==void 0?ht:jt==null?void 0:jt.pushDistance)!==null&&Mt!==void 0?Mt:180,Pt=se.useMemo(function(){return{pushDistance:st,push:function(){tn(!0)},pull:function(){tn(!1)}}},[st]);se.useEffect(function(){if(fe){var lt;jt==null||(lt=jt.push)===null||lt===void 0||lt.call(jt)}else{var $t;jt==null||($t=jt.pull)===null||$t===void 0||$t.call(jt)}},[fe]),se.useEffect(function(){return function(){var lt;jt==null||(lt=jt.pull)===null||lt===void 0||lt.call(jt)}},[]);var ct=Dt&&se.createElement(Xe.default,(0,nt.Z)({key:"mask"},Pn,{visible:fe}),function(lt,$t){var qn=lt.className,nn=lt.style;return se.createElement("div",{className:ue()("".concat(Se,"-mask"),qn,bn),style:(0,Be.Z)((0,Be.Z)({},nn),Ln),onClick:fn&&fe?oa:void 0,ref:$t})}),rn=typeof on=="function"?on(qe):on,In={};if(Kt&&st)switch(qe){case"top":In.transform="translateY(".concat(st,"px)");break;case"bottom":In.transform="translateY(".concat(-st,"px)");break;case"left":In.transform="translateX(".concat(st,"px)");break;default:In.transform="translateX(".concat(-st,"px)");break}qe==="left"||qe==="right"?In.width=ne(ze):In.height=ne(At);var yn={onMouseEnter:jn,onMouseOver:Ea,onMouseLeave:va,onClick:Hn,onKeyDown:Ba,onKeyUp:Yt},ia=se.createElement(Xe.default,(0,nt.Z)({key:"panel"},rn,{visible:fe,forceRender:Ce,onVisibleChanged:function($t){ta==null||ta($t)},removeOnLeave:!1,leavedClassName:"".concat(Se,"-content-wrapper-hidden")}),function(lt,$t){var qn=lt.className,nn=lt.style;return se.createElement("div",(0,nt.Z)({className:ue()("".concat(Se,"-content-wrapper"),qn),style:(0,Be.Z)((0,Be.Z)((0,Be.Z)({},In),nn),St)},(0,y.Z)(Ot,{data:!0})),se.createElement(E,(0,nt.Z)({id:zt,containerRef:$t,prefixCls:Se,className:en,style:ln},yn),Lt))}),Un=(0,Be.Z)({},mt);return un&&(Un.zIndex=un),se.createElement(Ve.Provider,{value:Pt},se.createElement("div",{className:ue()(Se,"".concat(Se,"-").concat(qe),Ne,(_e={},(0,We.Z)(_e,"".concat(Se,"-open"),fe),(0,We.Z)(_e,"".concat(Se,"-inline"),Ct),_e)),style:Un,tabIndex:-1,ref:An,onKeyDown:Ze},ct,se.createElement("div",{tabIndex:0,ref:Fn,style:ie,"aria-hidden":"true","data-sentinel":"start"}),ia,se.createElement("div",{tabIndex:0,ref:Xn,style:ie,"aria-hidden":"true","data-sentinel":"end"})))}var pe=se.forwardRef(me),ye=pe,Ge=function(Wt){var Mt=Wt.open,ht=Mt===void 0?!1:Mt,rt=Wt.prefixCls,_e=rt===void 0?"rc-drawer":rt,Se=Wt.placement,fe=Se===void 0?"right":Se,qe=Wt.autoFocus,Ct=qe===void 0?!0:qe,Fe=Wt.keyboard,Ce=Fe===void 0?!0:Fe,at=Wt.width,Je=at===void 0?378:at,Ne=Wt.mask,mt=Ne===void 0?!0:Ne,un=Wt.maskClosable,en=un===void 0?!0:un,zt=Wt.getContainer,ln=Wt.forceRender,on=Wt.afterOpenChange,ze=Wt.destroyOnClose,At=Wt.onMouseEnter,Lt=Wt.onMouseOver,St=Wt.onMouseLeave,Dt=Wt.onClick,fn=Wt.onKeyDown,Pn=Wt.onKeyUp,bn=Wt.panelRef,Ln=se.useState(!1),ta=(0,Me.Z)(Ln,2),oa=ta[0],jn=ta[1],Ea=se.useState(!1),va=(0,Me.Z)(Ea,2),Hn=va[0],Ba=va[1];(0,Oe.Z)(function(){Ba(!0)},[]);var Yt=Hn?ht:!1,An=se.useRef(),Fn=se.useRef();(0,Oe.Z)(function(){Yt&&(Fn.current=document.activeElement)},[Yt]);var Xn=function(tn){var jt;if(jn(tn),on==null||on(tn),!tn&&Fn.current&&!((jt=An.current)!==null&&jt!==void 0&&jt.contains(Fn.current))){var pn;(pn=Fn.current)===null||pn===void 0||pn.focus({preventScroll:!0})}},Ze=se.useMemo(function(){return{panel:bn}},[bn]);if(!ln&&!oa&&!Yt&&ze)return null;var Nt={onMouseEnter:At,onMouseOver:Lt,onMouseLeave:St,onClick:Dt,onKeyDown:fn,onKeyUp:Pn},Zt=(0,Be.Z)((0,Be.Z)({},Wt),{},{open:Yt,prefixCls:_e,placement:fe,autoFocus:Ct,keyboard:Ce,width:Je,mask:mt,maskClosable:en,inline:zt===!1,afterOpenChange:Xn,ref:An},Nt);return se.createElement(ot.Provider,{value:Ze},se.createElement(Le.Z,{open:Yt||ln||oa,autoDestroy:!1,getContainer:zt,autoLock:mt&&(Yt||oa)},se.createElement(ye,Zt)))},Ae=Ge,Qe=Ae,ve=te(62892),Te=te(36355),Ye=te(32441),bt=te(47729),ut=Ot=>{const{prefixCls:Wt,title:Mt,footer:ht,extra:rt,closeIcon:_e,closable:Se,onClose:fe,headerStyle:qe,drawerStyle:Ct,bodyStyle:Fe,footerStyle:Ce,children:at}=Ot,Je=se.useCallback(zt=>se.createElement("button",{type:"button",onClick:fe,"aria-label":"Close",className:`${Wt}-close`},zt),[fe]),[Ne,mt]=(0,bt.Z)(Se,_e,Je,void 0,!0),un=se.useMemo(()=>!Mt&&!Ne?null:se.createElement("div",{style:qe,className:ue()(`${Wt}-header`,{[`${Wt}-header-close-only`]:Ne&&!Mt&&!rt})},se.createElement("div",{className:`${Wt}-header-title`},mt,Mt&&se.createElement("div",{className:`${Wt}-title`},Mt)),rt&&se.createElement("div",{className:`${Wt}-extra`},rt)),[Ne,mt,rt,qe,Wt,Mt]),en=se.useMemo(()=>{if(!ht)return null;const zt=`${Wt}-footer`;return se.createElement("div",{className:zt,style:Ce},ht)},[ht,Ce,Wt]);return se.createElement("div",{className:`${Wt}-wrapper-body`,style:Ct},un,se.createElement("div",{className:`${Wt}-body`,style:Fe},at),en)},Ft=te(33234),yt=te(83116),gt=te(37613),vt=Ot=>{const{componentCls:Wt,motionDurationSlow:Mt}=Ot,ht={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Mt}`}}};return{[Wt]:{[`${Wt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Mt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Wt}-panel-motion`]:{"&-left":[ht,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[ht,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[ht,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[ht,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const an=Ot=>{const{componentCls:Wt,zIndexPopup:Mt,colorBgMask:ht,colorBgElevated:rt,motionDurationSlow:_e,motionDurationMid:Se,padding:fe,paddingLG:qe,fontSizeLG:Ct,lineHeightLG:Fe,lineWidth:Ce,lineType:at,colorSplit:Je,marginSM:Ne,colorIcon:mt,colorIconHover:un,colorText:en,fontWeightStrong:zt,footerPaddingBlock:ln,footerPaddingInline:on}=Ot,ze=`${Wt}-content-wrapper`;return{[Wt]:{position:"fixed",inset:0,zIndex:Mt,pointerEvents:"none","&-pure":{position:"relative",background:rt,[`&${Wt}-left`]:{boxShadow:Ot.boxShadowDrawerLeft},[`&${Wt}-right`]:{boxShadow:Ot.boxShadowDrawerRight},[`&${Wt}-top`]:{boxShadow:Ot.boxShadowDrawerUp},[`&${Wt}-bottom`]:{boxShadow:Ot.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Wt}-mask`]:{position:"absolute",inset:0,zIndex:Mt,background:ht,pointerEvents:"auto"},[ze]:{position:"absolute",zIndex:Mt,maxWidth:"100vw",transition:`all ${_e}`,"&-hidden":{display:"none"}},[`&-left > ${ze}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ot.boxShadowDrawerLeft},[`&-right > ${ze}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ot.boxShadowDrawerRight},[`&-top > ${ze}`]:{top:0,insetInline:0,boxShadow:Ot.boxShadowDrawerUp},[`&-bottom > ${ze}`]:{bottom:0,insetInline:0,boxShadow:Ot.boxShadowDrawerDown},[`${Wt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:rt,pointerEvents:"auto"},[`${Wt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Wt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fe}px ${qe}px`,fontSize:Ct,lineHeight:Fe,borderBottom:`${Ce}px ${at} ${Je}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Wt}-extra`]:{flex:"none"},[`${Wt}-close`]:{display:"inline-block",marginInlineEnd:Ne,color:mt,fontWeight:zt,fontSize:Ct,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Se}`,textRendering:"auto","&:focus, &:hover":{color:un,textDecoration:"none"}},[`${Wt}-title`]:{flex:1,margin:0,color:en,fontWeight:Ot.fontWeightStrong,fontSize:Ct,lineHeight:Fe},[`${Wt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:qe,overflow:"auto"},[`${Wt}-footer`]:{flexShrink:0,padding:`${ln}px ${on}px`,borderTop:`${Ce}px ${at} ${Je}`},"&-rtl":{direction:"rtl"}}}};var En=(0,yt.Z)("Drawer",Ot=>{const Wt=(0,gt.TS)(Ot,{});return[an(Wt),vt(Wt)]},Ot=>({zIndexPopup:Ot.zIndexPopupBase,footerPaddingBlock:Ot.paddingXS,footerPaddingInline:Ot.padding})),tt=te(11575),et=function(Ot,Wt){var Mt={};for(var ht in Ot)Object.prototype.hasOwnProperty.call(Ot,ht)&&Wt.indexOf(ht)<0&&(Mt[ht]=Ot[ht]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,ht=Object.getOwnPropertySymbols(Ot);rt<ht.length;rt++)Wt.indexOf(ht[rt])<0&&Object.prototype.propertyIsEnumerable.call(Ot,ht[rt])&&(Mt[ht[rt]]=Ot[ht[rt]]);return Mt};const qt=null,hn={distance:180},kt=Ot=>{var Wt;const{rootClassName:Mt,width:ht,height:rt,size:_e="default",mask:Se=!0,push:fe=hn,open:qe,afterOpenChange:Ct,onClose:Fe,prefixCls:Ce,getContainer:at,style:Je,className:Ne,visible:mt,afterVisibleChange:un}=Ot,en=et(Ot,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:zt,getPrefixCls:ln,direction:on,drawer:ze}=se.useContext(Te.E_),At=ln("drawer",Ce),[Lt,St]=En(At),Dt=at===void 0&&zt?()=>zt(document.body):at,fn=ue()({"no-mask":!Se,[`${At}-rtl`]:on==="rtl"},Mt,St),Pn=se.useMemo(()=>ht!=null?ht:_e==="large"?736:378,[ht,_e]),bn=se.useMemo(()=>rt!=null?rt:_e==="large"?736:378,[rt,_e]),Ln={motionName:(0,ve.m)(At,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ta=jn=>({motionName:(0,ve.m)(At,`panel-motion-${jn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),oa=(0,tt.H)();return Lt(se.createElement(Ft.BR,null,se.createElement(Ye.Ux,{status:!0,override:!0},se.createElement(Qe,Object.assign({prefixCls:At,onClose:Fe,maskMotion:Ln,motion:ta},en,{open:qe!=null?qe:mt,mask:Se,push:fe,width:Pn,height:bn,style:Object.assign(Object.assign({},ze==null?void 0:ze.style),Je),className:ue()(ze==null?void 0:ze.className,Ne),rootClassName:fn,getContainer:Dt,afterOpenChange:Ct!=null?Ct:un,panelRef:oa}),se.createElement(ut,Object.assign({prefixCls:At},en,{onClose:Fe}))))))},vn=Ot=>{const{prefixCls:Wt,style:Mt,className:ht,placement:rt="right"}=Ot,_e=et(Ot,["prefixCls","style","className","placement"]),{getPrefixCls:Se}=se.useContext(Te.E_),fe=Se("drawer",Wt),[qe,Ct]=En(fe),Fe=ue()(fe,`${fe}-pure`,`${fe}-${rt}`,Ct,ht);return qe(se.createElement("div",{className:Fe,style:Mt},se.createElement(ut,Object.assign({prefixCls:fe},_e))))};kt._InternalPanelDoNotUseOrYouWillBeFired=vn;var je=kt},91857:function(Ut,Gt,te){"use strict";var x=te(59301),ue=te(38819),Be=te(92310),Me=te.n(Be),Le=te(31561),Oe=te(70425),se=te(18929),dt=te(2738),ot=te(79676),Ve=te(53487),We=te(92343),nt=te(36355),Xe=te(20834),le=te(40875),y=te(88088),a=te(47211);const b=null,E=ie=>{const{menu:me,arrow:pe,prefixCls:ye,children:Ge,trigger:Ae,disabled:Qe,dropdownRender:ve,getPopupContainer:Te,overlayClassName:Ye,rootClassName:bt,open:De,onOpenChange:ut,visible:Ft,onVisibleChange:yt,mouseEnterDelay:gt=.15,mouseLeaveDelay:Xt=.1,autoAdjustOverflow:vt=!0,placement:an="",overlay:En,transitionName:tt}=ie,{getPopupContainer:et,getPrefixCls:qt,direction:hn}=x.useContext(nt.E_),kt=x.useMemo(()=>{const Ne=qt();return tt!==void 0?tt:an.includes("top")?`${Ne}-slide-down`:`${Ne}-slide-up`},[qt,an,tt]),vn=x.useMemo(()=>an?an.includes("Center")?an.slice(0,an.indexOf("Center")):an:hn==="rtl"?"bottomRight":"bottomLeft",[an,hn]),je=qt("dropdown",ye),[Ot,Wt]=(0,a.Z)(je),[,Mt]=(0,y.Z)(),ht=x.Children.only(Ge),rt=(0,We.Tm)(ht,{className:Me()(`${je}-trigger`,{[`${je}-rtl`]:hn==="rtl"},ht.props.className),disabled:Qe}),_e=Qe?[]:Ae;let Se;_e&&_e.includes("contextMenu")&&(Se=!0);const[fe,qe]=(0,se.Z)(!1,{value:De!=null?De:Ft}),Ct=(0,Oe.useEvent)(Ne=>{ut==null||ut(Ne),yt==null||yt(Ne),qe(Ne)}),Fe=Me()(Ye,bt,Wt,{[`${je}-rtl`]:hn==="rtl"}),Ce=(0,ot.Z)({arrowPointAtCenter:typeof pe=="object"&&pe.pointAtCenter,autoAdjustOverflow:vt,offset:Mt.marginXXS,arrowWidth:pe?Mt.sizePopupArrow:0,borderRadius:Mt.borderRadius}),at=x.useCallback(()=>{qe(!1)},[]),Je=()=>{let Ne;return me!=null&&me.items?Ne=x.createElement(Xe.default,Object.assign({},me)):typeof En=="function"?Ne=En():Ne=En,ve&&(Ne=ve(Ne)),Ne=x.Children.only(typeof Ne=="string"?x.createElement("span",null,Ne):Ne),x.createElement(le.J,{prefixCls:`${je}-menu`,expandIcon:x.createElement("span",{className:`${je}-menu-submenu-arrow`},x.createElement(ue.Z,{className:`${je}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:at,validator:mt=>{let{mode:un}=mt}},Ne)};return Ot(x.createElement(Le.Z,Object.assign({alignPoint:Se},(0,dt.Z)(ie,["rootClassName"]),{mouseEnterDelay:gt,mouseLeaveDelay:Xt,visible:fe,builtinPlacements:Ce,arrow:!!pe,overlayClassName:Fe,prefixCls:je,getPopupContainer:Te||et,transitionName:kt,trigger:_e,overlay:Je,placement:vn,onVisibleChange:Ct}),rt))};function z(ie){return Object.assign(Object.assign({},ie),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,Ve.Z)(E,"dropdown",ie=>ie,z),re=ie=>x.createElement(ne,Object.assign({},ie),x.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=re,Gt.Z=E},38854:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return y}});var x=te(91857),ue=te(92310),Be=te.n(ue),Me=te(59301),Le=te(18785),Oe=te(3113),se=te(36355),dt=te(81327),ot=te(33234),Ve=te(47211),We=function(a,b){var E={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&b.indexOf(z)<0&&(E[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,z=Object.getOwnPropertySymbols(a);ne<z.length;ne++)b.indexOf(z[ne])<0&&Object.prototype.propertyIsEnumerable.call(a,z[ne])&&(E[z[ne]]=a[z[ne]]);return E};const nt=a=>{const{getPopupContainer:b,getPrefixCls:E,direction:z}=Me.useContext(se.E_),{prefixCls:ne,type:re="default",danger:ie,disabled:me,loading:pe,onClick:ye,htmlType:Ge,children:Ae,className:Qe,menu:ve,arrow:Te,autoFocus:Ye,overlay:bt,trigger:De,align:ut,open:Ft,onOpenChange:yt,placement:gt,getPopupContainer:Xt,href:vt,icon:an=Me.createElement(Le.Z,null),title:En,buttonsRender:tt=Je=>Je,mouseEnterDelay:et,mouseLeaveDelay:qt,overlayClassName:hn,overlayStyle:kt,destroyPopupOnHide:vn,dropdownRender:je}=a,Ot=We(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"]),Wt=E("dropdown",ne),Mt=`${Wt}-button`,[ht,rt]=(0,Ve.Z)(Wt),_e={menu:ve,arrow:Te,autoFocus:Ye,align:ut,disabled:me,trigger:me?[]:De,onOpenChange:yt,getPopupContainer:Xt||b,mouseEnterDelay:et,mouseLeaveDelay:qt,overlayClassName:hn,overlayStyle:kt,destroyPopupOnHide:vn,dropdownRender:je},{compactSize:Se,compactItemClassnames:fe}=(0,ot.ri)(Wt,z),qe=Be()(Mt,fe,Qe,rt);"overlay"in a&&(_e.overlay=bt),"open"in a&&(_e.open=Ft),"placement"in a?_e.placement=gt:_e.placement=z==="rtl"?"bottomLeft":"bottomRight";const Ct=Me.createElement(Oe.ZP,{type:re,danger:ie,disabled:me,loading:pe,onClick:ye,htmlType:Ge,href:vt,title:En},Ae),Fe=Me.createElement(Oe.ZP,{type:re,danger:ie,icon:an}),[Ce,at]=tt([Ct,Fe]);return ht(Me.createElement(dt.Z.Compact,Object.assign({className:qe,size:Se,block:!0},Ot),Ce,Me.createElement(x.Z,Object.assign({},_e),at)))};nt.__ANT_BUTTON=!0;var Xe=nt;const le=x.Z;le.Button=Xe;var y=le},47211:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return We}});var x=te(17313),ue=te(13826),Be=te(92899),Me=te(29878),Le=te(19447),Oe=te(83116),se=te(37613),ot=nt=>{const{componentCls:Xe,menuCls:le,colorError:y,colorTextLightSolid:a}=nt,b=`${le}-item`;return{[`${Xe}, ${Xe}-menu-submenu`]:{[`${le} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const Ve=nt=>{const{componentCls:Xe,menuCls:le,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:z,motionDurationMid:ne,dropdownPaddingVertical:re,fontSize:ie,dropdownEdgeChildPadding:me,colorTextDisabled:pe,fontSizeIcon:ye,controlPaddingHorizontal:Ge,colorBgElevated:Ae}=nt;return[{[Xe]:Object.assign(Object.assign({},(0,x.Wf)(nt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${z}-down, & > ${E}-btn-icon > ${z}-down`]:{fontSize:ye}},[`${Xe}-wrap`]:{position:"relative",[`${E}-btn > ${z}-down`]:{fontSize:ye},[`${z}-down::before`]:{transition:`transform ${ne}`}},[`${Xe}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Xe}-placement-bottomLeft,
&${E}-slide-down-appear${E}-slide-down-appear-active${Xe}-placement-bottomLeft,
&${E}-slide-down-enter${E}-slide-down-enter-active${Xe}-placement-bottom,
&${E}-slide-down-appear${E}-slide-down-appear-active${Xe}-placement-bottom,
&${E}-slide-down-enter${E}-slide-down-enter-active${Xe}-placement-bottomRight,
&${E}-slide-down-appear${E}-slide-down-appear-active${Xe}-placement-bottomRight`]:{animationName:ue.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Xe}-placement-topLeft,
&${E}-slide-up-appear${E}-slide-up-appear-active${Xe}-placement-topLeft,
&${E}-slide-up-enter${E}-slide-up-enter-active${Xe}-placement-top,
&${E}-slide-up-appear${E}-slide-up-appear-active${Xe}-placement-top,
&${E}-slide-up-enter${E}-slide-up-enter-active${Xe}-placement-topRight,
&${E}-slide-up-appear${E}-slide-up-appear-active${Xe}-placement-topRight`]:{animationName:ue.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Xe}-placement-bottomLeft,
&${E}-slide-down-leave${E}-slide-down-leave-active${Xe}-placement-bottom,
&${E}-slide-down-leave${E}-slide-down-leave-active${Xe}-placement-bottomRight`]:{animationName:ue.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Xe}-placement-topLeft,
&${E}-slide-up-leave${E}-slide-up-leave-active${Xe}-placement-top,
&${E}-slide-up-leave${E}-slide-up-leave-active${Xe}-placement-topRight`]:{animationName:ue.ly}})},(0,Le.ZP)(nt,{colorBg:Ae,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Xe} ${le}`]:{position:"relative",margin:0},[`${le}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Xe}, ${Xe}-menu-submenu`]:{[le]:Object.assign(Object.assign({padding:me,listStyleType:"none",backgroundColor:Ae,backgroundClip:"padding-box",borderRadius:nt.borderRadiusLG,outline:"none",boxShadow:nt.boxShadowSecondary},(0,x.Qy)(nt)),{[`${le}-item-group-title`]:{padding:`${re}px ${Ge}px`,color:nt.colorTextDescription,transition:`all ${ne}`},[`${le}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${le}-item-icon`]:{minWidth:ie,marginInlineEnd:nt.marginXS,fontSize:nt.fontSizeSM},[`${le}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${le}-item, ${le}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${Ge}px`,color:nt.colorText,fontWeight:"normal",fontSize:ie,lineHeight:nt.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:nt.borderRadiusSM,"&:hover, &-active":{backgroundColor:nt.controlItemBgHover}},(0,x.Qy)(nt)),{"&-selected":{color:nt.colorPrimary,backgroundColor:nt.controlItemBgActive,"&:hover, &-active":{backgroundColor:nt.controlItemBgActiveHover}},"&-disabled":{color:pe,cursor:"not-allowed","&:hover":{color:pe,backgroundColor:Ae,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${nt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:nt.colorSplit},[`${Xe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:nt.paddingXS,[`${Xe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:nt.colorTextDescription,fontSize:ye,fontStyle:"normal"}}}),[`${le}-item-group-list`]:{margin:`0 ${nt.marginXS}px`,padding:0,listStyle:"none"},[`${le}-submenu-title`]:{paddingInlineEnd:Ge+nt.fontSizeSM},[`${le}-submenu-vertical`]:{position:"relative"},[`${le}-submenu${le}-submenu-disabled ${Xe}-menu-submenu-title`]:{[`&, ${Xe}-menu-submenu-arrow-icon`]:{color:pe,backgroundColor:Ae,cursor:"not-allowed"}},[`${le}-submenu-selected ${Xe}-menu-submenu-title`]:{color:nt.colorPrimary}})}},[(0,ue.oN)(nt,"slide-up"),(0,ue.oN)(nt,"slide-down"),(0,Be.Fm)(nt,"move-up"),(0,Be.Fm)(nt,"move-down"),(0,Me._y)(nt,"zoom-big")]]};var We=(0,Oe.Z)("Dropdown",(nt,Xe)=>{let{rootPrefixCls:le}=Xe;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:z,paddingXXS:ne,componentCls:re,borderRadiusLG:ie}=nt,me=(b-E*z)/2,{dropdownArrowOffset:pe}=(0,Le.fS)({contentRadius:ie}),ye=(0,se.TS)(nt,{menuCls:`${re}-menu`,rootPrefixCls:le,dropdownArrowDistance:a/2+y,dropdownArrowOffset:pe,dropdownPaddingVertical:me,dropdownEdgeChildPadding:ne});return[Ve(ye),ot(ye)]},nt=>({zIndexPopup:nt.zIndexPopupBase+50}))},8628:function(Ut,Gt,te){"use strict";var x=te(59301),ue=te(34280),Be=te(56762),Me=te(69507);function Le(){let Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,x.useRef)({}),dt=(0,Be.Z)(),ot=(0,Me.ZP)();return(0,ue.Z)(()=>{const Ve=ot.subscribe(We=>{se.current=We,Oe&&dt()});return()=>ot.unsubscribe(Ve)},[]),se.current}Gt.Z=Le},45818:function(Ut,Gt,te){"use strict";te.d(Gt,{D:function(){return ne},Z:function(){return me}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(ye,Ge){return ue.createElement(Le.Z,(0,x.Z)({},ye,{ref:Ge,icon:Me}))},se=ue.forwardRef(Oe),dt=se,ot=te(33853),Ve=te(38819),We=te(92310),nt=te.n(We),Xe=te(2738),y=pe=>!isNaN(parseFloat(pe))&&isFinite(pe),a=te(36355),b=te(84966),E=function(pe,ye){var Ge={};for(var Ae in pe)Object.prototype.hasOwnProperty.call(pe,Ae)&&ye.indexOf(Ae)<0&&(Ge[Ae]=pe[Ae]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ae=Object.getOwnPropertySymbols(pe);Qe<Ae.length;Qe++)ye.indexOf(Ae[Qe])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ae[Qe])&&(Ge[Ae[Qe]]=pe[Ae[Qe]]);return Ge};const z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ne=ue.createContext({}),re=(()=>{let pe=0;return function(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return pe+=1,`${ye}${pe}`}})();var me=ue.forwardRef((pe,ye)=>{const{prefixCls:Ge,className:Ae,trigger:Qe,children:ve,defaultCollapsed:Te=!1,theme:Ye="dark",style:bt={},collapsible:De=!1,reverseArrow:ut=!1,width:Ft=200,collapsedWidth:yt=80,zeroWidthTriggerStyle:gt,breakpoint:Xt,onCollapse:vt,onBreakpoint:an}=pe,En=E(pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:tt}=(0,ue.useContext)(b.Gs),[et,qt]=(0,ue.useState)("collapsed"in pe?pe.collapsed:Te),[hn,kt]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{"collapsed"in pe&&qt(pe.collapsed)},[pe.collapsed]);const vn=(rt,_e)=>{"collapsed"in pe||qt(rt),vt==null||vt(rt,_e)},je=(0,ue.useRef)();je.current=rt=>{kt(rt.matches),an==null||an(rt.matches),et!==rt.matches&&vn(rt.matches,"responsive")},(0,ue.useEffect)(()=>{function rt(Se){return je.current(Se)}let _e;if(typeof window!="undefined"){const{matchMedia:Se}=window;if(Se&&Xt&&Xt in z){_e=Se(`(max-width: ${z[Xt]})`);try{_e.addEventListener("change",rt)}catch(fe){_e.addListener(rt)}rt(_e)}}return()=>{try{_e==null||_e.removeEventListener("change",rt)}catch(Se){_e==null||_e.removeListener(rt)}}},[Xt]),(0,ue.useEffect)(()=>{const rt=re("ant-sider-");return tt.addSider(rt),()=>tt.removeSider(rt)},[]);const Ot=()=>{vn(!et,"clickTrigger")},{getPrefixCls:Wt}=(0,ue.useContext)(a.E_),Mt=()=>{const rt=Wt("layout-sider",Ge),_e=(0,Xe.Z)(En,["collapsed"]),Se=et?yt:Ft,fe=y(Se)?`${Se}px`:String(Se),qe=parseFloat(String(yt||0))===0?ue.createElement("span",{onClick:Ot,className:nt()(`${rt}-zero-width-trigger`,`${rt}-zero-width-trigger-${ut?"right":"left"}`),style:gt},Qe||ue.createElement(dt,null)):null,Ce={expanded:ut?ue.createElement(Ve.Z,null):ue.createElement(ot.Z,null),collapsed:ut?ue.createElement(ot.Z,null):ue.createElement(Ve.Z,null)}[et?"collapsed":"expanded"],at=Qe!==null?qe||ue.createElement("div",{className:`${rt}-trigger`,onClick:Ot,style:{width:fe}},Qe||Ce):null,Je=Object.assign(Object.assign({},bt),{flex:`0 0 ${fe}`,maxWidth:fe,minWidth:fe,width:fe}),Ne=nt()(rt,`${rt}-${Ye}`,{[`${rt}-collapsed`]:!!et,[`${rt}-has-trigger`]:De&&Qe!==null&&!qe,[`${rt}-below`]:!!hn,[`${rt}-zero-width`]:parseFloat(fe)===0},Ae);return ue.createElement("aside",Object.assign({className:Ne},_e,{style:Je,ref:ye}),ue.createElement("div",{className:`${rt}-children`},ve),De||hn&&qe?at:null)},ht=ue.useMemo(()=>({siderCollapsed:et}),[et]);return ue.createElement(ne.Provider,{value:ht},Mt())})},84966:function(Ut,Gt,te){"use strict";te.d(Gt,{VY:function(){return ne},$_:function(){return z},h4:function(){return E},Gs:function(){return Xe},ZP:function(){return re}});var x=te(26407),ue=te(92310),Be=te.n(ue),Me=te(2738),Le=te(59301),Oe=te(36355),se=te(83116),ot=ie=>{const{componentCls:me,bodyBg:pe,lightSiderBg:ye,lightTriggerBg:Ge,lightTriggerColor:Ae}=ie;return{[`${me}-sider-light`]:{background:ye,[`${me}-sider-trigger`]:{color:Ae,background:Ge},[`${me}-sider-zero-width-trigger`]:{color:Ae,background:Ge,border:`1px solid ${pe}`,borderInlineStart:0}}}};const Ve=ie=>{const{antCls:me,componentCls:pe,colorText:ye,triggerColor:Ge,footerBg:Ae,triggerBg:Qe,headerHeight:ve,headerPadding:Te,headerColor:Ye,footerPadding:bt,triggerHeight:De,zeroTriggerHeight:ut,zeroTriggerWidth:Ft,motionDurationMid:yt,motionDurationSlow:gt,fontSize:Xt,borderRadius:vt,bodyBg:an,headerBg:En,siderBg:tt}=ie;return{[pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:an,"&, *":{boxSizing:"border-box"},[`&${pe}-has-sider`]:{flexDirection:"row",[`> ${pe}, > ${pe}-content`]:{width:0}},[`${pe}-header, &${pe}-footer`]:{flex:"0 0 auto"},[`${pe}-sider`]:{position:"relative",minWidth:0,background:tt,transition:`all ${yt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${me}-menu${me}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:De},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:De,color:Ge,lineHeight:`${De}px`,textAlign:"center",background:Qe,cursor:"pointer",transition:`all ${yt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ve,insetInlineEnd:-Ft,zIndex:1,width:Ft,height:ut,color:Ge,fontSize:ie.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:tt,borderStartStartRadius:0,borderStartEndRadius:vt,borderEndEndRadius:vt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${gt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${gt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ft,borderStartStartRadius:vt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:vt}}}}},ot(ie)),{"&-rtl":{direction:"rtl"}}),[`${pe}-header`]:{height:ve,padding:Te,color:Ye,lineHeight:`${ve}px`,background:En,[`${me}-menu`]:{lineHeight:"inherit"}},[`${pe}-footer`]:{padding:bt,color:ye,fontSize:Xt,background:Ae},[`${pe}-content`]:{flex:"auto",minHeight:0}}};var We=(0,se.Z)("Layout",ie=>[Ve(ie)],ie=>{const{colorBgLayout:me,controlHeight:pe,controlHeightLG:ye,colorText:Ge,controlHeightSM:Ae,marginXXS:Qe,colorTextLightSolid:ve,colorBgContainer:Te}=ie,Ye=ye*1.25;return{colorBgHeader:"#001529",colorBgBody:me,colorBgTrigger:"#002140",bodyBg:me,headerBg:"#001529",headerHeight:pe*2,headerPadding:`0 ${Ye}px`,headerColor:Ge,footerPadding:`${Ae}px ${Ye}px`,footerBg:me,siderBg:"#001529",triggerHeight:ye+Qe*2,triggerBg:"#002140",triggerColor:ve,zeroTriggerWidth:ye,zeroTriggerHeight:ye,lightSiderBg:Te,lightTriggerBg:Te,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),nt=function(ie,me){var pe={};for(var ye in ie)Object.prototype.hasOwnProperty.call(ie,ye)&&me.indexOf(ye)<0&&(pe[ye]=ie[ye]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,ye=Object.getOwnPropertySymbols(ie);Ge<ye.length;Ge++)me.indexOf(ye[Ge])<0&&Object.prototype.propertyIsEnumerable.call(ie,ye[Ge])&&(pe[ye[Ge]]=ie[ye[Ge]]);return pe};const Xe=Le.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function le(ie){let{suffixCls:me,tagName:pe,displayName:ye}=ie;return Ge=>Le.forwardRef((Qe,ve)=>Le.createElement(Ge,Object.assign({ref:ve,suffixCls:me,tagName:pe},Qe)))}const y=Le.forwardRef((ie,me)=>{const{prefixCls:pe,suffixCls:ye,className:Ge,tagName:Ae}=ie,Qe=nt(ie,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ve}=Le.useContext(Oe.E_),Te=ve("layout",pe),[Ye,bt]=We(Te),De=ye?`${Te}-${ye}`:Te;return Ye(Le.createElement(Ae,Object.assign({className:Be()(pe||De,Ge,bt),ref:me},Qe)))}),a=Le.forwardRef((ie,me)=>{const{direction:pe}=Le.useContext(Oe.E_),[ye,Ge]=Le.useState([]),{prefixCls:Ae,className:Qe,rootClassName:ve,children:Te,hasSider:Ye,tagName:bt,style:De}=ie,ut=nt(ie,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ft=(0,Me.Z)(ut,["suffixCls"]),{getPrefixCls:yt,layout:gt}=Le.useContext(Oe.E_),Xt=yt("layout",Ae),[vt,an]=We(Xt),En=Be()(Xt,{[`${Xt}-has-sider`]:typeof Ye=="boolean"?Ye:ye.length>0,[`${Xt}-rtl`]:pe==="rtl"},gt==null?void 0:gt.className,Qe,ve,an),tt=Le.useMemo(()=>({siderHook:{addSider:et=>{Ge(qt=>[].concat((0,x.Z)(qt),[et]))},removeSider:et=>{Ge(qt=>qt.filter(hn=>hn!==et))}}}),[]);return vt(Le.createElement(Xe.Provider,{value:tt},Le.createElement(bt,Object.assign({ref:me,className:En,style:Object.assign(Object.assign({},gt==null?void 0:gt.style),De)},Ft),Te)))}),b=le({tagName:"div",displayName:"Layout"})(a),E=le({suffixCls:"header",tagName:"header",displayName:"Header"})(y),z=le({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),ne=le({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var re=b},40875:function(Ut,Gt,te){"use strict";te.d(Gt,{J:function(){return Oe}});var x=te(59301),ue=te(33234),Be=te(70425),Me=function(se,dt){var ot={};for(var Ve in se)Object.prototype.hasOwnProperty.call(se,Ve)&&dt.indexOf(Ve)<0&&(ot[Ve]=se[Ve]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ve=Object.getOwnPropertySymbols(se);We<Ve.length;We++)dt.indexOf(Ve[We])<0&&Object.prototype.propertyIsEnumerable.call(se,Ve[We])&&(ot[Ve[We]]=se[Ve[We]]);return ot};const Le=x.createContext(null),Oe=x.forwardRef((se,dt)=>{const{children:ot}=se,Ve=Me(se,["children"]),We=x.useContext(Le),nt=x.useMemo(()=>Object.assign(Object.assign({},We),Ve),[We,Ve.prefixCls,Ve.mode,Ve.selectable]);return x.createElement(Le.Provider,{value:nt},x.createElement(ue.BR,null,(0,Be.supportNodeRef)(ot)?x.cloneElement(ot,{ref:dt}):ot))});Gt.Z=Le},20834:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return ht}});var x=te(15285),ue=te(59301),Be=te(45818),Me=te(92310),Le=te.n(Me),Oe=te(36355),se=function(rt,_e){var Se={};for(var fe in rt)Object.prototype.hasOwnProperty.call(rt,fe)&&_e.indexOf(fe)<0&&(Se[fe]=rt[fe]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,fe=Object.getOwnPropertySymbols(rt);qe<fe.length;qe++)_e.indexOf(fe[qe])<0&&Object.prototype.propertyIsEnumerable.call(rt,fe[qe])&&(Se[fe[qe]]=rt[fe[qe]]);return Se},ot=rt=>{const{prefixCls:_e,className:Se,dashed:fe}=rt,qe=se(rt,["prefixCls","className","dashed"]),{getPrefixCls:Ct}=ue.useContext(Oe.E_),Fe=Ct("menu",_e),Ce=Le()({[`${Fe}-item-divider-dashed`]:!!fe},Se);return ue.createElement(x.iz,Object.assign({className:Ce},qe))},Ve=te(11592),We=te(2738),nt=te(6848),Xe=te(92343),y=(0,ue.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=rt=>{var _e;const{className:Se,children:fe,icon:qe,title:Ct,danger:Fe}=rt,{prefixCls:Ce,firstLevel:at,direction:Je,disableMenuItemTitleTooltip:Ne,inlineCollapsed:mt}=ue.useContext(y),un=At=>{const Lt=ue.createElement("span",{className:`${Ce}-title-content`},fe);return(!qe||(0,Xe.l$)(fe)&&fe.type==="span")&&fe&&At&&at&&typeof fe=="string"?ue.createElement("div",{className:`${Ce}-inline-collapsed-noicon`},fe.charAt(0)):Lt},{siderCollapsed:en}=ue.useContext(Be.D);let zt=Ct;typeof Ct=="undefined"?zt=at?fe:"":Ct===!1&&(zt="");const ln={title:zt};!en&&!mt&&(ln.title=null,ln.open=!1);const on=(0,Ve.Z)(fe).length;let ze=ue.createElement(x.ck,Object.assign({},(0,We.Z)(rt,["title","icon","danger"]),{className:Le()({[`${Ce}-item-danger`]:Fe,[`${Ce}-item-only-child`]:(qe?on+1:on)===1},Se),title:typeof Ct=="string"?Ct:void 0}),(0,Xe.Tm)(qe,{className:Le()((0,Xe.l$)(qe)?(_e=qe.props)===null||_e===void 0?void 0:_e.className:"",`${Ce}-item-icon`)}),un(mt));return Ne||(ze=ue.createElement(nt.Z,Object.assign({},ln,{placement:Je==="rtl"?"left":"right",overlayClassName:`${Ce}-inline-collapsed-tooltip`}),ze)),ze},z=rt=>{var _e;const{popupClassName:Se,icon:fe,title:qe,theme:Ct}=rt,Fe=ue.useContext(y),{prefixCls:Ce,inlineCollapsed:at,theme:Je}=Fe,Ne=(0,x.Xl)();let mt;if(!fe)mt=at&&!Ne.length&&qe&&typeof qe=="string"?ue.createElement("div",{className:`${Ce}-inline-collapsed-noicon`},qe.charAt(0)):ue.createElement("span",{className:`${Ce}-title-content`},qe);else{const en=(0,Xe.l$)(qe)&&qe.type==="span";mt=ue.createElement(ue.Fragment,null,(0,Xe.Tm)(fe,{className:Le()((0,Xe.l$)(fe)?(_e=fe.props)===null||_e===void 0?void 0:_e.className:"",`${Ce}-item-icon`)}),en?qe:ue.createElement("span",{className:`${Ce}-title-content`},qe))}const un=ue.useMemo(()=>Object.assign(Object.assign({},Fe),{firstLevel:!1}),[Fe]);return ue.createElement(y.Provider,{value:un},ue.createElement(x.Wd,Object.assign({},(0,We.Z)(rt,["icon"]),{title:mt,popupClassName:Le()(Ce,Se,`${Ce}-${Ct||Je}`)})))},ne=te(18785),re=te(70425),ie=te(62892),me=te(40875),pe=function(rt,_e){var Se={};for(var fe in rt)Object.prototype.hasOwnProperty.call(rt,fe)&&_e.indexOf(fe)<0&&(Se[fe]=rt[fe]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,fe=Object.getOwnPropertySymbols(rt);qe<fe.length;qe++)_e.indexOf(fe[qe])<0&&Object.prototype.propertyIsEnumerable.call(rt,fe[qe])&&(Se[fe[qe]]=rt[fe[qe]]);return Se};function ye(rt){return(rt||[]).map((_e,Se)=>{if(_e&&typeof _e=="object"){const fe=_e,{label:qe,children:Ct,key:Fe,type:Ce}=fe,at=pe(fe,["label","children","key","type"]),Je=Fe!=null?Fe:`tmp-${Se}`;return Ct||Ce==="group"?Ce==="group"?ue.createElement(x.BW,Object.assign({key:Je},at,{title:qe}),ye(Ct)):ue.createElement(z,Object.assign({key:Je},at,{title:qe}),ye(Ct)):Ce==="divider"?ue.createElement(ot,Object.assign({key:Je},at)):ue.createElement(b,Object.assign({key:Je},at),qe)}return null}).filter(_e=>_e)}function Ge(rt){return ue.useMemo(()=>rt&&ye(rt),[rt])}var Ae=te(64993),Qe=te(17313),ve=te(8378),Te=te(13826),Ye=te(29878),bt=te(83116),De=te(37613),Ft=rt=>{const{componentCls:_e,motionDurationSlow:Se,horizontalLineHeight:fe,colorSplit:qe,lineWidth:Ct,lineType:Fe,itemPaddingInline:Ce}=rt;return{[`${_e}-horizontal`]:{lineHeight:fe,border:0,borderBottom:`${Ct}px ${Fe} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${_e}-item, ${_e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ce},[`> ${_e}-item:hover,
> ${_e}-item-active,
> ${_e}-submenu ${_e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${_e}-item, ${_e}-submenu-title`]:{transition:[`border-color ${Se}`,`background ${Se}`].join(",")},[`${_e}-submenu-arrow`]:{display:"none"}}}},gt=rt=>{let{componentCls:_e,menuArrowOffset:Se}=rt;return{[`${_e}-rtl`]:{direction:"rtl"},[`${_e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${_e}-rtl${_e}-vertical,
${_e}-submenu-rtl ${_e}-vertical`]:{[`${_e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Se})`},"&::after":{transform:`rotate(45deg) translateY(${Se})`}}}}};const Xt=rt=>Object.assign({},(0,Qe.oN)(rt));var an=(rt,_e)=>{const{componentCls:Se,itemColor:fe,itemSelectedColor:qe,groupTitleColor:Ct,itemBg:Fe,subMenuItemBg:Ce,itemSelectedBg:at,activeBarHeight:Je,activeBarWidth:Ne,activeBarBorderWidth:mt,motionDurationSlow:un,motionEaseInOut:en,motionEaseOut:zt,itemPaddingInline:ln,motionDurationMid:on,itemHoverColor:ze,lineType:At,colorSplit:Lt,itemDisabledColor:St,dangerItemColor:Dt,dangerItemHoverColor:fn,dangerItemSelectedColor:Pn,dangerItemActiveBg:bn,dangerItemSelectedBg:Ln,itemHoverBg:ta,itemActiveBg:oa,menuSubMenuBg:jn,horizontalItemSelectedColor:Ea,horizontalItemSelectedBg:va,horizontalItemBorderRadius:Hn,horizontalItemHoverBg:Ba,popupBg:Yt}=rt;return{[`${Se}-${_e}, ${Se}-${_e} > ${Se}`]:{color:fe,background:Fe,[`&${Se}-root:focus-visible`]:Object.assign({},Xt(rt)),[`${Se}-item-group-title`]:{color:Ct},[`${Se}-submenu-selected`]:{[`> ${Se}-submenu-title`]:{color:qe}},[`${Se}-item-disabled, ${Se}-submenu-disabled`]:{color:`${St} !important`},[`${Se}-item:not(${Se}-item-selected):not(${Se}-submenu-selected)`]:{[`&:hover, > ${Se}-submenu-title:hover`]:{color:ze}},[`&:not(${Se}-horizontal)`]:{[`${Se}-item:not(${Se}-item-selected)`]:{"&:hover":{backgroundColor:ta},"&:active":{backgroundColor:oa}},[`${Se}-submenu-title`]:{"&:hover":{backgroundColor:ta},"&:active":{backgroundColor:oa}}},[`${Se}-item-danger`]:{color:Dt,[`&${Se}-item:hover`]:{[`&:not(${Se}-item-selected):not(${Se}-submenu-selected)`]:{color:fn}},[`&${Se}-item:active`]:{background:bn}},[`${Se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Se}-item-selected`]:{color:qe,[`&${Se}-item-danger`]:{color:Pn},"a, a:hover":{color:"inherit"}},[`& ${Se}-item-selected`]:{backgroundColor:at,[`&${Se}-item-danger`]:{backgroundColor:Ln}},[`${Se}-item, ${Se}-submenu-title`]:{[`&:not(${Se}-item-disabled):focus-visible`]:Object.assign({},Xt(rt))},[`&${Se}-submenu > ${Se}`]:{backgroundColor:jn},[`&${Se}-popup > ${Se}`]:{backgroundColor:Yt},[`&${Se}-horizontal`]:Object.assign(Object.assign({},_e==="dark"?{borderBottom:0}:{}),{[`> ${Se}-item, > ${Se}-submenu`]:{top:mt,marginTop:-mt,marginBottom:0,borderRadius:Hn,"&::after":{position:"absolute",insetInline:ln,bottom:0,borderBottom:`${Je}px solid transparent`,transition:`border-color ${un} ${en}`,content:'""'},"&:hover, &-active, &-open":{background:Ba,"&::after":{borderBottomWidth:Je,borderBottomColor:Ea}},"&-selected":{color:Ea,backgroundColor:va,"&:hover":{backgroundColor:va},"&::after":{borderBottomWidth:Je,borderBottomColor:Ea}}}}),[`&${Se}-root`]:{[`&${Se}-inline, &${Se}-vertical`]:{borderInlineEnd:`${mt}px ${At} ${Lt}`}},[`&${Se}-inline`]:{[`${Se}-sub${Se}-inline`]:{background:Ce},[`${Se}-item, ${Se}-submenu-title`]:mt&&Ne?{width:`calc(100% + ${mt}px)`}:{},[`${Se}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ne}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${on} ${zt}`,`opacity ${on} ${zt}`].join(","),content:'""'},[`&${Se}-item-danger`]:{"&::after":{borderInlineEndColor:Pn}}},[`${Se}-selected, ${Se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${on} ${en}`,`opacity ${on} ${en}`].join(",")}}}}}};const En=rt=>{const{componentCls:_e,itemHeight:Se,itemMarginInline:fe,padding:qe,menuArrowSize:Ct,marginXS:Fe,itemMarginBlock:Ce}=rt,at=qe+Ct+Fe;return{[`${_e}-item`]:{position:"relative",overflow:"hidden"},[`${_e}-item, ${_e}-submenu-title`]:{height:Se,lineHeight:`${Se}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:fe,marginBlock:Ce,width:`calc(100% - ${fe*2}px)`},[`> ${_e}-item,
> ${_e}-submenu > ${_e}-submenu-title`]:{height:Se,lineHeight:`${Se}px`},[`${_e}-item-group-list ${_e}-submenu-title,
${_e}-submenu-title`]:{paddingInlineEnd:at}}};var et=rt=>{const{componentCls:_e,iconCls:Se,itemHeight:fe,colorTextLightSolid:qe,dropdownWidth:Ct,controlHeightLG:Fe,motionDurationMid:Ce,motionEaseOut:at,paddingXL:Je,itemMarginInline:Ne,fontSizeLG:mt,motionDurationSlow:un,paddingXS:en,boxShadowSecondary:zt,collapsedWidth:ln,collapsedIconSize:on}=rt,ze={height:fe,lineHeight:`${fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[_e]:{"&-inline, &-vertical":Object.assign({[`&${_e}-root`]:{boxShadow:"none"}},En(rt))},[`${_e}-submenu-popup`]:{[`${_e}-vertical`]:Object.assign(Object.assign({},En(rt)),{boxShadow:zt})}},{[`${_e}-submenu-popup ${_e}-vertical${_e}-sub`]:{minWidth:Ct,maxHeight:`calc(100vh - ${Fe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${_e}-inline`]:{width:"100%",[`&${_e}-root`]:{[`${_e}-item, ${_e}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${un}`,`background ${un}`,`padding ${Ce} ${at}`].join(","),[`> ${_e}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${_e}-sub${_e}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${_e}-submenu > ${_e}-submenu-title`]:ze,[`& ${_e}-item-group-title`]:{paddingInlineStart:Je}},[`${_e}-item`]:ze}},{[`${_e}-inline-collapsed`]:{width:ln,[`&${_e}-root`]:{[`${_e}-item, ${_e}-submenu ${_e}-submenu-title`]:{[`> ${_e}-inline-collapsed-noicon`]:{fontSize:mt,textAlign:"center"}}},[`> ${_e}-item,
> ${_e}-item-group > ${_e}-item-group-list > ${_e}-item,
> ${_e}-item-group > ${_e}-item-group-list > ${_e}-submenu > ${_e}-submenu-title,
> ${_e}-submenu > ${_e}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${mt/2}px - ${Ne}px)`,textOverflow:"clip",[`
${_e}-submenu-arrow,
${_e}-submenu-expand-icon
`]:{opacity:0},[`${_e}-item-icon, ${Se}`]:{margin:0,fontSize:on,lineHeight:`${fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${_e}-item-icon, ${Se}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${_e}-item-icon, ${Se}`]:{display:"none"},"a, a:hover":{color:qe}},[`${_e}-item-group-title`]:Object.assign(Object.assign({},Qe.vS),{paddingInline:en})}}]};const qt=rt=>{const{componentCls:_e,motionDurationSlow:Se,motionDurationMid:fe,motionEaseInOut:qe,motionEaseOut:Ct,iconCls:Fe,iconSize:Ce,iconMarginInlineEnd:at}=rt;return{[`${_e}-item, ${_e}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Se}`,`background ${Se}`,`padding ${Se} ${qe}`].join(","),[`${_e}-item-icon, ${Fe}`]:{minWidth:Ce,fontSize:Ce,transition:[`font-size ${fe} ${Ct}`,`margin ${Se} ${qe}`,`color ${Se}`].join(","),"+ span":{marginInlineStart:at,opacity:1,transition:[`opacity ${Se} ${qe}`,`margin ${Se}`,`color ${Se}`].join(",")}},[`${_e}-item-icon`]:Object.assign({},(0,Qe.Ro)()),[`&${_e}-item-only-child`]:{[`> ${Fe}, > ${_e}-item-icon`]:{marginInlineEnd:0}}},[`${_e}-item-disabled, ${_e}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${_e}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},hn=rt=>{const{componentCls:_e,motionDurationSlow:Se,motionEaseInOut:fe,borderRadius:qe,menuArrowSize:Ct,menuArrowOffset:Fe}=rt;return{[`${_e}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:rt.margin,width:Ct,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Se} ${fe}, opacity ${Se}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ct*.6,height:Ct*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${Se} ${fe}`,`transform ${Se} ${fe}`,`top ${Se} ${fe}`,`color ${Se} ${fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Fe})`},"&::after":{transform:`rotate(-45deg) translateY(${Fe})`}}}}},kt=rt=>{const{antCls:_e,componentCls:Se,fontSize:fe,motionDurationSlow:qe,motionDurationMid:Ct,motionEaseInOut:Fe,paddingXS:Ce,padding:at,colorSplit:Je,lineWidth:Ne,zIndexPopup:mt,borderRadiusLG:un,subMenuItemBorderRadius:en,menuArrowSize:zt,menuArrowOffset:ln,lineType:on,menuPanelMaskInset:ze,groupTitleLineHeight:At,groupTitleFontSize:Lt}=rt;return[{"":{[`${Se}`]:Object.assign(Object.assign({},(0,Qe.dF)()),{"&-hidden":{display:"none"}})},[`${Se}-submenu-hidden`]:{display:"none"}},{[Se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(rt)),(0,Qe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:fe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Se}-item`]:{flex:"none"}},[`${Se}-item, ${Se}-submenu, ${Se}-submenu-title`]:{borderRadius:rt.itemBorderRadius},[`${Se}-item-group-title`]:{padding:`${Ce}px ${at}px`,fontSize:Lt,lineHeight:At,transition:`all ${qe}`},[`&-horizontal ${Se}-submenu`]:{transition:[`border-color ${qe} ${Fe}`,`background ${qe} ${Fe}`].join(",")},[`${Se}-submenu, ${Se}-submenu-inline`]:{transition:[`border-color ${qe} ${Fe}`,`background ${qe} ${Fe}`,`padding ${Ct} ${Fe}`].join(",")},[`${Se}-submenu ${Se}-sub`]:{cursor:"initial",transition:[`background ${qe} ${Fe}`,`padding ${qe} ${Fe}`].join(",")},[`${Se}-title-content`]:{transition:`color ${qe}`},[`${Se}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Se}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Je,borderStyle:on,borderWidth:0,borderTopWidth:Ne,marginBlock:Ne,padding:0,"&-dashed":{borderStyle:"dashed"}}}),qt(rt)),{[`${Se}-item-group`]:{[`${Se}-item-group-list`]:{margin:0,padding:0,[`${Se}-item, ${Se}-submenu-title`]:{paddingInline:`${fe*2}px ${at}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:mt,borderRadius:un,boxShadow:"none",transformOrigin:"0 0",[`&${Se}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ze}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ze},"\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:rt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:rt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:rt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:rt.paddingXS},[`> ${Se}`]:Object.assign(Object.assign(Object.assign({borderRadius:un},qt(rt)),hn(rt)),{[`${Se}-item, ${Se}-submenu > ${Se}-submenu-title`]:{borderRadius:en},[`${Se}-submenu-title::after`]:{transition:`transform ${qe} ${Fe}`}})}}),hn(rt)),{[`&-inline-collapsed ${Se}-submenu-arrow,
&-inline ${Se}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ln})`},"&::after":{transform:`rotate(45deg) translateX(-${ln})`}},[`${Se}-submenu-open${Se}-submenu-inline > ${Se}-submenu-title > ${Se}-submenu-arrow`]:{transform:`translateY(-${zt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ln})`},"&::before":{transform:`rotate(45deg) translateX(${ln})`}}})},{[`${_e}-layout-header`]:{[Se]:{lineHeight:"inherit"}}}]};var vn=(rt,_e)=>(0,bt.Z)("Menu",fe=>{if(_e===!1)return[];const{colorBgElevated:qe,colorPrimary:Ct,colorTextLightSolid:Fe,controlHeightLG:Ce,fontSize:at,darkItemColor:Je,darkDangerItemColor:Ne,darkItemBg:mt,darkSubMenuItemBg:un,darkItemSelectedColor:en,darkItemSelectedBg:zt,darkDangerItemSelectedBg:ln,darkItemHoverBg:on,darkGroupTitleColor:ze,darkItemHoverColor:At,darkItemDisabledColor:Lt,darkDangerItemHoverColor:St,darkDangerItemSelectedColor:Dt,darkDangerItemActiveBg:fn}=fe,Pn=at/7*5,bn=(0,De.TS)(fe,{menuArrowSize:Pn,menuHorizontalHeight:Ce*1.15,menuArrowOffset:`${Pn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),Ln=(0,De.TS)(bn,{itemColor:Je,itemHoverColor:At,groupTitleColor:ze,itemSelectedColor:en,itemBg:mt,popupBg:mt,subMenuItemBg:un,itemActiveBg:"transparent",itemSelectedBg:zt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:on,itemDisabledColor:Lt,dangerItemColor:Ne,dangerItemHoverColor:St,dangerItemSelectedColor:Dt,dangerItemActiveBg:fn,dangerItemSelectedBg:ln,menuSubMenuBg:un,horizontalItemSelectedColor:Fe,horizontalItemSelectedBg:Ct});return[kt(bn),Ft(bn),et(bn),an(bn,"light"),an(Ln,"dark"),gt(bn),(0,ve.Z)(bn),(0,Te.oN)(bn,"slide-up"),(0,Te.oN)(bn,"slide-down"),(0,Ye._y)(bn,"zoom-big")]},fe=>{const{colorPrimary:qe,colorError:Ct,colorTextDisabled:Fe,colorErrorBg:Ce,colorText:at,colorTextDescription:Je,colorBgContainer:Ne,colorFillAlter:mt,colorFillContent:un,lineWidth:en,lineWidthBold:zt,controlItemBgActive:ln,colorBgTextHover:on,controlHeightLG:ze,lineHeight:At,colorBgElevated:Lt,marginXXS:St,padding:Dt,fontSize:fn,controlHeightSM:Pn,fontSizeLG:bn,colorTextLightSolid:Ln,colorErrorHover:ta}=fe,oa=new Ae.C(Ln).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:fe.zIndexPopupBase+50,radiusItem:fe.borderRadiusLG,itemBorderRadius:fe.borderRadiusLG,radiusSubMenuItem:fe.borderRadiusSM,subMenuItemBorderRadius:fe.borderRadiusSM,colorItemText:at,itemColor:at,colorItemTextHover:at,itemHoverColor:at,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:Je,groupTitleColor:Je,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:Ne,itemBg:Ne,colorItemBgHover:on,itemHoverBg:on,colorItemBgActive:un,itemActiveBg:ln,colorSubItemBg:mt,subMenuItemBg:mt,colorItemBgSelected:ln,itemSelectedBg:ln,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:zt,activeBarHeight:zt,colorActiveBarBorderSize:en,activeBarBorderWidth:en,colorItemTextDisabled:Fe,itemDisabledColor:Fe,colorDangerItemText:Ct,dangerItemColor:Ct,colorDangerItemTextHover:Ct,dangerItemHoverColor:Ct,colorDangerItemTextSelected:Ct,dangerItemSelectedColor:Ct,colorDangerItemBgActive:Ce,dangerItemActiveBg:Ce,colorDangerItemBgSelected:Ce,dangerItemSelectedBg:Ce,itemMarginInline:fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ze,groupTitleLineHeight:At,collapsedWidth:ze*2,popupBg:Lt,itemMarginBlock:St,itemPaddingInline:Dt,horizontalLineHeight:`${ze*1.15}px`,iconSize:fn,iconMarginInlineEnd:Pn-fn,collapsedIconSize:bn,groupTitleFontSize:fn,darkItemDisabledColor:new Ae.C(Ln).setAlpha(.25).toRgbString(),darkItemColor:oa,darkDangerItemColor:Ct,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Ln,darkItemSelectedBg:qe,darkDangerItemSelectedBg:Ct,darkItemHoverBg:"transparent",darkGroupTitleColor:oa,darkItemHoverColor:Ln,darkDangerItemHoverColor:ta,darkDangerItemSelectedColor:Ln,darkDangerItemActiveBg:Ct}},{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"]]})(rt),je=function(rt,_e){var Se={};for(var fe in rt)Object.prototype.hasOwnProperty.call(rt,fe)&&_e.indexOf(fe)<0&&(Se[fe]=rt[fe]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,fe=Object.getOwnPropertySymbols(rt);qe<fe.length;qe++)_e.indexOf(fe[qe])<0&&Object.prototype.propertyIsEnumerable.call(rt,fe[qe])&&(Se[fe[qe]]=rt[fe[qe]]);return Se},Wt=(0,ue.forwardRef)((rt,_e)=>{var Se,fe;const qe=ue.useContext(me.Z),Ct=qe||{},{getPrefixCls:Fe,getPopupContainer:Ce,direction:at,menu:Je}=ue.useContext(Oe.E_),Ne=Fe(),{prefixCls:mt,className:un,style:en,theme:zt="light",expandIcon:ln,_internalDisableMenuItemTitleTooltip:on,inlineCollapsed:ze,siderCollapsed:At,items:Lt,children:St,rootClassName:Dt,mode:fn,selectable:Pn,onClick:bn,overflowedIndicatorPopupClassName:Ln}=rt,ta=je(rt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),oa=(0,We.Z)(ta,["collapsedWidth"]),jn=Ge(Lt)||St;(Se=Ct.validator)===null||Se===void 0||Se.call(Ct,{mode:fn});const Ea=(0,re.useEvent)(function(){var Kt;bn==null||bn.apply(void 0,arguments),(Kt=Ct.onClick)===null||Kt===void 0||Kt.call(Ct)}),va=Ct.mode||fn,Hn=Pn!=null?Pn:Ct.selectable,Ba=ue.useMemo(()=>At!==void 0?At:ze,[ze,At]),Yt={horizontal:{motionName:`${Ne}-slide-up`},inline:(0,ie.Z)(Ne),other:{motionName:`${Ne}-zoom-big`}},An=Fe("menu",mt||Ct.prefixCls),[Fn,Xn]=vn(An,!qe),Ze=Le()(`${An}-${zt}`,Je==null?void 0:Je.className,un);let Nt;if(typeof ln=="function")Nt=ln;else if(ln===null||ln===!1)Nt=null;else if(Ct.expandIcon===null||Ct.expandIcon===!1)Nt=null;else{const Kt=ln!=null?ln:Ct.expandIcon;Nt=(0,Xe.Tm)(Kt,{className:Le()(`${An}-submenu-expand-icon`,(0,Xe.l$)(Kt)?(fe=Kt.props)===null||fe===void 0?void 0:fe.className:"")})}const Zt=ue.useMemo(()=>({prefixCls:An,inlineCollapsed:Ba||!1,direction:at,firstLevel:!0,theme:zt,mode:va,disableMenuItemTitleTooltip:on}),[An,Ba,at,on,zt]);return Fn(ue.createElement(me.Z.Provider,{value:null},ue.createElement(y.Provider,{value:Zt},ue.createElement(x.ZP,Object.assign({getPopupContainer:Ce,overflowedIndicator:ue.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Le()(An,`${An}-${zt}`,Ln),mode:va,selectable:Hn,onClick:Ea},oa,{inlineCollapsed:Ba,style:Object.assign(Object.assign({},Je==null?void 0:Je.style),en),className:Ze,prefixCls:An,direction:at,defaultMotions:Yt,expandIcon:Nt,ref:_e,rootClassName:Le()(Dt,Xn)}),jn))))});const Mt=(0,ue.forwardRef)((rt,_e)=>{const Se=(0,ue.useRef)(null),fe=ue.useContext(Be.D);return(0,ue.useImperativeHandle)(_e,()=>({menu:Se.current,focus:qe=>{var Ct;(Ct=Se.current)===null||Ct===void 0||Ct.focus(qe)}})),ue.createElement(Wt,Object.assign({ref:Se},rt,fe))});Mt.Item=b,Mt.SubMenu=z,Mt.Divider=ot,Mt.ItemGroup=x.BW;var ht=Mt},58421:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Ct}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(Ce,at){return ue.createElement(Le.Z,(0,x.Z)({},Ce,{ref:at,icon:Me}))},se=ue.forwardRef(Oe),dt=se,ot=te(49198),Ve=te(33853),We=te(38819),nt=te(92310),Xe=te.n(nt),le=te(400),y=te(33708),a=te(6909),b=te(4771),E=te(9427),z=te(25440),ne=te(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ie=re,me=te(91735),pe=function(Fe){(0,E.Z)(at,Fe);var Ce=(0,z.Z)(at);function at(){var Je;(0,a.Z)(this,at);for(var Ne=arguments.length,mt=new Array(Ne),un=0;un<Ne;un++)mt[un]=arguments[un];return Je=Ce.call.apply(Ce,[this].concat(mt)),Je.state={goInputText:""},Je.getValidValue=function(){var en=Je.state.goInputText;return!en||Number.isNaN(en)?void 0:Number(en)},Je.buildOptionText=function(en){return"".concat(en," ").concat(Je.props.locale.items_per_page)},Je.changeSize=function(en){Je.props.changeSize(Number(en))},Je.handleChange=function(en){Je.setState({goInputText:en.target.value})},Je.handleBlur=function(en){var zt=Je.props,ln=zt.goButton,on=zt.quickGo,ze=zt.rootPrefixCls,At=Je.state.goInputText;ln||At===""||(Je.setState({goInputText:""}),!(en.relatedTarget&&(en.relatedTarget.className.indexOf("".concat(ze,"-item-link"))>=0||en.relatedTarget.className.indexOf("".concat(ze,"-item"))>=0))&&on(Je.getValidValue()))},Je.go=function(en){var zt=Je.state.goInputText;zt!==""&&(en.keyCode===ie.ENTER||en.type==="click")&&(Je.setState({goInputText:""}),Je.props.quickGo(Je.getValidValue()))},Je}return(0,b.Z)(at,[{key:"getPageSizeOptions",value:function(){var Ne=this.props,mt=Ne.pageSize,un=Ne.pageSizeOptions;return un.some(function(en){return en.toString()===mt.toString()})?un:un.concat([mt.toString()]).sort(function(en,zt){var ln=Number.isNaN(Number(en))?0:Number(en),on=Number.isNaN(Number(zt))?0:Number(zt);return ln-on})}},{key:"render",value:function(){var Ne=this,mt=this.props,un=mt.pageSize,en=mt.locale,zt=mt.rootPrefixCls,ln=mt.changeSize,on=mt.quickGo,ze=mt.goButton,At=mt.selectComponentClass,Lt=mt.buildOptionText,St=mt.selectPrefixCls,Dt=mt.disabled,fn=this.state.goInputText,Pn="".concat(zt,"-options"),bn=At,Ln=null,ta=null,oa=null;if(!ln&&!on)return null;var jn=this.getPageSizeOptions();if(ln&&bn){var Ea=jn.map(function(va,Hn){return ue.createElement(bn.Option,{key:Hn,value:va.toString()},(Lt||Ne.buildOptionText)(va))});Ln=ue.createElement(bn,{disabled:Dt,prefixCls:St,showSearch:!1,className:"".concat(Pn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(un||jn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Hn){return Hn.parentNode},"aria-label":en.page_size,defaultOpen:!1},Ea)}return on&&(ze&&(oa=typeof ze=="boolean"?ue.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Dt,className:"".concat(Pn,"-quick-jumper-button")},en.jump_to_confirm):ue.createElement("span",{onClick:this.go,onKeyUp:this.go},ze)),ta=ue.createElement("div",{className:"".concat(Pn,"-quick-jumper")},en.jump_to,ue.createElement("input",{disabled:Dt,type:"text",value:fn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":en.page}),en.page,oa)),ue.createElement("li",{className:"".concat(Pn)},Ln,ta)}}]),at}(ue.Component);pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var ye=pe,Ge=function(Ce){var at,Je=Ce.rootPrefixCls,Ne=Ce.page,mt=Ce.active,un=Ce.className,en=Ce.showTitle,zt=Ce.onClick,ln=Ce.onKeyPress,on=Ce.itemRender,ze="".concat(Je,"-item"),At=Xe()(ze,"".concat(ze,"-").concat(Ne),(at={},(0,le.Z)(at,"".concat(ze,"-active"),mt),(0,le.Z)(at,"".concat(ze,"-disabled"),!Ne),(0,le.Z)(at,Ce.className,un),at)),Lt=function(){zt(Ne)},St=function(Pn){ln(Pn,zt,Ne)},Dt=on(Ne,"page",ue.createElement("a",{rel:"nofollow"},Ne));return Dt?ue.createElement("li",{title:en?Ne.toString():null,className:At,onClick:Lt,onKeyPress:St,tabIndex:0},Dt):null},Ae=Ge;function Qe(){}function ve(Fe){var Ce=Number(Fe);return typeof Ce=="number"&&!Number.isNaN(Ce)&&isFinite(Ce)&&Math.floor(Ce)===Ce}var Te=function(Ce,at,Je){return Je};function Ye(Fe,Ce,at){var Je=typeof Fe=="undefined"?Ce.pageSize:Fe;return Math.floor((at.total-1)/Je)+1}var bt=function(Fe){(0,E.Z)(at,Fe);var Ce=(0,z.Z)(at);function at(Je){var Ne;(0,a.Z)(this,at),Ne=Ce.call(this,Je),Ne.paginationNode=ue.createRef(),Ne.getJumpPrevPage=function(){return Math.max(1,Ne.state.current-(Ne.props.showLessItems?3:5))},Ne.getJumpNextPage=function(){return Math.min(Ye(void 0,Ne.state,Ne.props),Ne.state.current+(Ne.props.showLessItems?3:5))},Ne.getItemIcon=function(ln,on){var ze=Ne.props.prefixCls,At=ln||ue.createElement("button",{type:"button","aria-label":on,className:"".concat(ze,"-item-link")});return typeof ln=="function"&&(At=ue.createElement(ln,(0,y.Z)({},Ne.props))),At},Ne.isValid=function(ln){var on=Ne.props.total;return ve(ln)&&ln!==Ne.state.current&&ve(on)&&on>0},Ne.shouldDisplayQuickJumper=function(){var ln=Ne.props,on=ln.showQuickJumper,ze=ln.total,At=Ne.state.pageSize;return ze<=At?!1:on},Ne.handleKeyDown=function(ln){(ln.keyCode===ie.ARROW_UP||ln.keyCode===ie.ARROW_DOWN)&&ln.preventDefault()},Ne.handleKeyUp=function(ln){var on=Ne.getValidValue(ln),ze=Ne.state.currentInputValue;on!==ze&&Ne.setState({currentInputValue:on}),ln.keyCode===ie.ENTER?Ne.handleChange(on):ln.keyCode===ie.ARROW_UP?Ne.handleChange(on-1):ln.keyCode===ie.ARROW_DOWN&&Ne.handleChange(on+1)},Ne.handleBlur=function(ln){var on=Ne.getValidValue(ln);Ne.handleChange(on)},Ne.changePageSize=function(ln){var on=Ne.state.current,ze=Ye(ln,Ne.state,Ne.props);on=on>ze?ze:on,ze===0&&(on=Ne.state.current),typeof ln=="number"&&("pageSize"in Ne.props||Ne.setState({pageSize:ln}),"current"in Ne.props||Ne.setState({current:on,currentInputValue:on})),Ne.props.onShowSizeChange(on,ln),"onChange"in Ne.props&&Ne.props.onChange&&Ne.props.onChange(on,ln)},Ne.handleChange=function(ln){var on=Ne.props,ze=on.disabled,At=on.onChange,Lt=Ne.state,St=Lt.pageSize,Dt=Lt.current,fn=Lt.currentInputValue;if(Ne.isValid(ln)&&!ze){var Pn=Ye(void 0,Ne.state,Ne.props),bn=ln;return ln>Pn?bn=Pn:ln<1&&(bn=1),"current"in Ne.props||Ne.setState({current:bn}),bn!==fn&&Ne.setState({currentInputValue:bn}),At(bn,St),bn}return Dt},Ne.prev=function(){Ne.hasPrev()&&Ne.handleChange(Ne.state.current-1)},Ne.next=function(){Ne.hasNext()&&Ne.handleChange(Ne.state.current+1)},Ne.jumpPrev=function(){Ne.handleChange(Ne.getJumpPrevPage())},Ne.jumpNext=function(){Ne.handleChange(Ne.getJumpNextPage())},Ne.hasPrev=function(){return Ne.state.current>1},Ne.hasNext=function(){return Ne.state.current<Ye(void 0,Ne.state,Ne.props)},Ne.runIfEnter=function(ln,on){if(ln.key==="Enter"||ln.charCode===13){for(var ze=arguments.length,At=new Array(ze>2?ze-2:0),Lt=2;Lt<ze;Lt++)At[Lt-2]=arguments[Lt];on.apply(void 0,At)}},Ne.runIfEnterPrev=function(ln){Ne.runIfEnter(ln,Ne.prev)},Ne.runIfEnterNext=function(ln){Ne.runIfEnter(ln,Ne.next)},Ne.runIfEnterJumpPrev=function(ln){Ne.runIfEnter(ln,Ne.jumpPrev)},Ne.runIfEnterJumpNext=function(ln){Ne.runIfEnter(ln,Ne.jumpNext)},Ne.handleGoTO=function(ln){(ln.keyCode===ie.ENTER||ln.type==="click")&&Ne.handleChange(Ne.state.currentInputValue)},Ne.renderPrev=function(ln){var on=Ne.props,ze=on.prevIcon,At=on.itemRender,Lt=At(ln,"prev",Ne.getItemIcon(ze,"prev page")),St=!Ne.hasPrev();return(0,ue.isValidElement)(Lt)?(0,ue.cloneElement)(Lt,{disabled:St}):Lt},Ne.renderNext=function(ln){var on=Ne.props,ze=on.nextIcon,At=on.itemRender,Lt=At(ln,"next",Ne.getItemIcon(ze,"next page")),St=!Ne.hasNext();return(0,ue.isValidElement)(Lt)?(0,ue.cloneElement)(Lt,{disabled:St}):Lt};var mt=Je.onChange!==Qe,un="current"in Je;un&&!mt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var en=Je.defaultCurrent;"current"in Je&&(en=Je.current);var zt=Je.defaultPageSize;return"pageSize"in Je&&(zt=Je.pageSize),en=Math.min(en,Ye(zt,void 0,Je)),Ne.state={current:en,currentInputValue:en,pageSize:zt},Ne}return(0,b.Z)(at,[{key:"componentDidUpdate",value:function(Ne,mt){var un=this.props.prefixCls;if(mt.current!==this.state.current&&this.paginationNode.current){var en=this.paginationNode.current.querySelector(".".concat(un,"-item-").concat(mt.current));if(en&&document.activeElement===en){var zt;en==null||(zt=en.blur)===null||zt===void 0||zt.call(en)}}}},{key:"getValidValue",value:function(Ne){var mt=Ne.target.value,un=Ye(void 0,this.state,this.props),en=this.state.currentInputValue,zt;return mt===""?zt=mt:Number.isNaN(Number(mt))?zt=en:mt>=un?zt=un:zt=Number(mt),zt}},{key:"getShowSizeChanger",value:function(){var Ne=this.props,mt=Ne.showSizeChanger,un=Ne.total,en=Ne.totalBoundaryShowSizeChanger;return typeof mt!="undefined"?mt:un>en}},{key:"render",value:function(){var Ne=this.props,mt=Ne.prefixCls,un=Ne.className,en=Ne.style,zt=Ne.disabled,ln=Ne.hideOnSinglePage,on=Ne.total,ze=Ne.locale,At=Ne.showQuickJumper,Lt=Ne.showLessItems,St=Ne.showTitle,Dt=Ne.showTotal,fn=Ne.simple,Pn=Ne.itemRender,bn=Ne.showPrevNextJumpers,Ln=Ne.jumpPrevIcon,ta=Ne.jumpNextIcon,oa=Ne.selectComponentClass,jn=Ne.selectPrefixCls,Ea=Ne.pageSizeOptions,va=this.state,Hn=va.current,Ba=va.pageSize,Yt=va.currentInputValue;if(ln===!0&&on<=Ba)return null;var An=Ye(void 0,this.state,this.props),Fn=[],Xn=null,Ze=null,Nt=null,Zt=null,Kt=null,tn=At&&At.goButton,jt=Lt?1:2,pn=Hn-1>0?Hn-1:0,st=Hn+1<An?Hn+1:An,Pt=(0,ne.Z)(this.props,{aria:!0,data:!0}),ct=Dt&&ue.createElement("li",{className:"".concat(mt,"-total-text")},Dt(on,[on===0?0:(Hn-1)*Ba+1,Hn*Ba>on?on:Hn*Ba]));if(fn){tn&&(typeof tn=="boolean"?Kt=ue.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ze.jump_to_confirm):Kt=ue.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},tn),Kt=ue.createElement("li",{title:St?"".concat(ze.jump_to).concat(Hn,"/").concat(An):null,className:"".concat(mt,"-simple-pager")},Kt));var rn=this.renderPrev(pn);return ue.createElement("ul",(0,x.Z)({className:Xe()(mt,"".concat(mt,"-simple"),(0,le.Z)({},"".concat(mt,"-disabled"),zt),un),style:en,ref:this.paginationNode},Pt),ct,rn?ue.createElement("li",{title:St?ze.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Xe()("".concat(mt,"-prev"),(0,le.Z)({},"".concat(mt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},rn):null,ue.createElement("li",{title:St?"".concat(Hn,"/").concat(An):null,className:"".concat(mt,"-simple-pager")},ue.createElement("input",{type:"text",value:Yt,disabled:zt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ue.createElement("span",{className:"".concat(mt,"-slash")},"/"),An),ue.createElement("li",{title:St?ze.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Xe()("".concat(mt,"-next"),(0,le.Z)({},"".concat(mt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(st)),Kt)}if(An<=3+jt*2){var In={locale:ze,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:St,itemRender:Pn};An||Fn.push(ue.createElement(Ae,(0,x.Z)({},In,{key:"noPager",page:1,className:"".concat(mt,"-item-disabled")})));for(var yn=1;yn<=An;yn+=1){var ia=Hn===yn;Fn.push(ue.createElement(Ae,(0,x.Z)({},In,{key:yn,page:yn,active:ia})))}}else{var Un=Lt?ze.prev_3:ze.prev_5,lt=Lt?ze.next_3:ze.next_5,$t=Pn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ln,"prev page")),qn=Pn(this.getJumpNextPage(),"jump-next",this.getItemIcon(ta,"next page"));bn&&(Xn=$t?ue.createElement("li",{title:St?Un:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Xe()("".concat(mt,"-jump-prev"),(0,le.Z)({},"".concat(mt,"-jump-prev-custom-icon"),!!Ln))},$t):null,Ze=qn?ue.createElement("li",{title:St?lt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Xe()("".concat(mt,"-jump-next"),(0,le.Z)({},"".concat(mt,"-jump-next-custom-icon"),!!ta))},qn):null),Zt=ue.createElement(Ae,{locale:ze,last:!0,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:An,page:An,active:!1,showTitle:St,itemRender:Pn}),Nt=ue.createElement(Ae,{locale:ze,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:St,itemRender:Pn});var nn=Math.max(1,Hn-jt),_n=Math.min(Hn+jt,An);Hn-1<=jt&&(_n=1+jt*2),An-Hn<=jt&&(nn=An-jt*2);for(var Jn=nn;Jn<=_n;Jn+=1){var Ma=Hn===Jn;Fn.push(ue.createElement(Ae,{locale:ze,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Jn,page:Jn,active:Ma,showTitle:St,itemRender:Pn}))}Hn-1>=jt*2&&Hn!==3&&(Fn[0]=(0,ue.cloneElement)(Fn[0],{className:"".concat(mt,"-item-after-jump-prev")}),Fn.unshift(Xn)),An-Hn>=jt*2&&Hn!==An-2&&(Fn[Fn.length-1]=(0,ue.cloneElement)(Fn[Fn.length-1],{className:"".concat(mt,"-item-before-jump-next")}),Fn.push(Ze)),nn!==1&&Fn.unshift(Nt),_n!==An&&Fn.push(Zt)}var ma=!this.hasPrev()||!An,Ue=!this.hasNext()||!An,dn=this.renderPrev(pn),Qt=this.renderNext(st);return ue.createElement("ul",(0,x.Z)({className:Xe()(mt,un,(0,le.Z)({},"".concat(mt,"-disabled"),zt)),style:en,ref:this.paginationNode},Pt),ct,dn?ue.createElement("li",{title:St?ze.prev_page:null,onClick:this.prev,tabIndex:ma?null:0,onKeyPress:this.runIfEnterPrev,className:Xe()("".concat(mt,"-prev"),(0,le.Z)({},"".concat(mt,"-disabled"),ma)),"aria-disabled":ma},dn):null,Fn,Qt?ue.createElement("li",{title:St?ze.next_page:null,onClick:this.next,tabIndex:Ue?null:0,onKeyPress:this.runIfEnterNext,className:Xe()("".concat(mt,"-next"),(0,le.Z)({},"".concat(mt,"-disabled"),Ue)),"aria-disabled":Ue},Qt):null,ue.createElement(ye,{disabled:zt,locale:ze,rootPrefixCls:mt,selectComponentClass:oa,selectPrefixCls:jn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Hn,pageSize:Ba,pageSizeOptions:Ea,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:tn}))}}],[{key:"getDerivedStateFromProps",value:function(Ne,mt){var un={};if("current"in Ne&&(un.current=Ne.current,Ne.current!==mt.current&&(un.currentInputValue=un.current)),"pageSize"in Ne&&Ne.pageSize!==mt.pageSize){var en=mt.current,zt=Ye(Ne.pageSize,mt,Ne);en=en>zt?zt:en,"current"in Ne||(un.current=en,un.currentInputValue=en),un.pageSize=Ne.pageSize}return un}}]),at}(ue.Component);bt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Qe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Qe,locale:me.Z,style:{},itemRender:Te,totalBoundaryShowSizeChanger:50};var De=bt,ut=te(22075),Ft=te(36355),yt=te(19716),gt=te(8628),Xt=te(9763),vt=te(57809);const an=Fe=>ue.createElement(vt.default,Object.assign({},Fe,{showSearch:!0,size:"small"})),En=Fe=>ue.createElement(vt.default,Object.assign({},Fe,{showSearch:!0,size:"middle"}));an.Option=vt.default.Option,En.Option=vt.default.Option;var tt=te(9937),et=te(17313),qt=te(83116),hn=te(37613);const kt=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ce}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ce}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ce}-disabled`]:{cursor:"not-allowed",[`${Ce}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Fe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Fe.colorBorder,backgroundColor:Fe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Fe.itemActiveBgDisabled},a:{color:Fe.itemActiveColorDisabled}}},[`${Ce}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ce}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ce}-simple-pager`]:{color:Fe.colorTextDisabled},[`${Ce}-jump-prev, ${Ce}-jump-next`]:{[`${Ce}-item-link-icon`]:{opacity:0},[`${Ce}-item-ellipsis`]:{opacity:1}}},[`&${Ce}-simple`]:{[`${Ce}-prev, ${Ce}-next`]:{[`&${Ce}-disabled ${Ce}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},vn=Fe=>{const{componentCls:Ce}=Fe;return{[`&${Ce}-mini ${Ce}-total-text, &${Ce}-mini ${Ce}-simple-pager`]:{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`},[`&${Ce}-mini ${Ce}-item`]:{minWidth:Fe.itemSizeSM,height:Fe.itemSizeSM,margin:0,lineHeight:`${Fe.itemSizeSM-2}px`},[`&${Ce}-mini:not(${Ce}-disabled) ${Ce}-item:not(${Ce}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive}},[`&${Ce}-mini ${Ce}-prev, &${Ce}-mini ${Ce}-next`]:{minWidth:Fe.itemSizeSM,height:Fe.itemSizeSM,margin:0,lineHeight:`${Fe.itemSizeSM}px`},[`&${Ce}-mini:not(${Ce}-disabled)`]:{[`${Ce}-prev, ${Ce}-next`]:{[`&:hover ${Ce}-item-link`]:{backgroundColor:Fe.colorBgTextHover},[`&:active ${Ce}-item-link`]:{backgroundColor:Fe.colorBgTextActive},[`&${Ce}-disabled:hover ${Ce}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Ce}-mini ${Ce}-prev ${Ce}-item-link,
&${Ce}-mini ${Ce}-next ${Ce}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`}},[`&${Ce}-mini ${Ce}-jump-prev, &${Ce}-mini ${Ce}-jump-next`]:{height:Fe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Fe.itemSizeSM}px`},[`&${Ce}-mini ${Ce}-options`]:{marginInlineStart:Fe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Fe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,tt.x0)(Fe)),{width:Fe.paginationMiniQuickJumperInputWidth,height:Fe.controlHeightSM})}}}},je=Fe=>{const{componentCls:Ce}=Fe;return{[`
&${Ce}-simple ${Ce}-prev,
&${Ce}-simple ${Ce}-next
`]:{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`,verticalAlign:"top",[`${Ce}-item-link`]:{height:Fe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive},"&::after":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`}}},[`&${Ce}-simple ${Ce}-simple-pager`]:{display:"inline-block",height:Fe.itemSizeSM,marginInlineEnd:Fe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Fe.marginXS,padding:`0 ${Fe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Fe.itemInputBg,border:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`,borderRadius:Fe.borderRadius,outline:"none",transition:`border-color ${Fe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Fe.colorPrimary},"&:focus":{borderColor:Fe.colorPrimaryHover,boxShadow:`${Fe.inputOutlineOffset}px 0 ${Fe.controlOutlineWidth}px ${Fe.controlOutline}`},"&[disabled]":{color:Fe.colorTextDisabled,backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,cursor:"not-allowed"}}}}},Ot=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}-jump-prev, ${Ce}-jump-next`]:{outline:0,[`${Ce}-item-container`]:{position:"relative",[`${Ce}-item-link-icon`]:{color:Fe.colorPrimary,fontSize:Fe.fontSizeSM,opacity:0,transition:`all ${Fe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ce}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Fe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Fe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Fe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Fe.motionDurationMid}`}},"&:hover":{[`${Ce}-item-link-icon`]:{opacity:1},[`${Ce}-item-ellipsis`]:{opacity:0}}},[`
${Ce}-prev,
${Ce}-jump-prev,
${Ce}-jump-next
`]:{marginInlineEnd:Fe.marginXS},[`
${Ce}-prev,
${Ce}-next,
${Ce}-jump-prev,
${Ce}-jump-next
`]:{display:"inline-block",minWidth:Fe.itemSize,height:Fe.itemSize,color:Fe.colorText,fontFamily:Fe.fontFamily,lineHeight:`${Fe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Fe.borderRadius,cursor:"pointer",transition:`all ${Fe.motionDurationMid}`},[`${Ce}-prev, ${Ce}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Fe.colorText,cursor:"pointer",userSelect:"none"},[`${Ce}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Fe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} transparent`,borderRadius:Fe.borderRadius,outline:"none",transition:`all ${Fe.motionDurationMid}`},[`&:hover ${Ce}-item-link`]:{backgroundColor:Fe.colorBgTextHover},[`&:active ${Ce}-item-link`]:{backgroundColor:Fe.colorBgTextActive},[`&${Ce}-disabled:hover`]:{[`${Ce}-item-link`]:{backgroundColor:"transparent"}}},[`${Ce}-slash`]:{marginInlineEnd:Fe.paginationSlashMarginInlineEnd,marginInlineStart:Fe.paginationSlashMarginInlineStart},[`${Ce}-options`]:{display:"inline-block",marginInlineStart:Fe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Fe.controlHeight,marginInlineStart:Fe.marginXS,lineHeight:`${Fe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,tt.ik)(Fe)),{width:Fe.controlHeightLG*1.25,height:Fe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Fe.marginXS,marginInlineEnd:Fe.marginXS})}}}},Wt=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}-item`]:{display:"inline-block",minWidth:Fe.itemSize,height:Fe.itemSize,marginInlineEnd:Fe.marginXS,fontFamily:Fe.fontFamily,lineHeight:`${Fe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} transparent`,borderRadius:Fe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Fe.paginationItemPaddingInline}px`,color:Fe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ce}-item-active)`]:{"&:hover":{transition:`all ${Fe.motionDurationMid}`,backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive}},"&-active":{fontWeight:Fe.fontWeightStrong,backgroundColor:Fe.itemActiveBg,borderColor:Fe.colorPrimary,a:{color:Fe.colorPrimary},"&:hover":{borderColor:Fe.colorPrimaryHover},"&:hover a":{color:Fe.colorPrimaryHover}}}}},Mt=Fe=>{const{componentCls:Ce}=Fe;return{[Ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,et.Wf)(Fe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ce}-total-text`]:{display:"inline-block",height:Fe.itemSize,marginInlineEnd:Fe.marginXS,lineHeight:`${Fe.itemSize-2}px`,verticalAlign:"middle"}}),Wt(Fe)),Ot(Fe)),je(Fe)),vn(Fe)),kt(Fe)),{[`@media only screen and (max-width: ${Fe.screenLG}px)`]:{[`${Ce}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Fe.screenSM}px)`]:{[`${Ce}-options`]:{display:"none"}}}),[`&${Fe.componentCls}-rtl`]:{direction:"rtl"}}},ht=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}${Ce}-disabled:not(${Ce}-mini)`]:{"&, &:hover":{[`${Ce}-item-link`]:{borderColor:Fe.colorBorder}},"&:focus-visible":{[`${Ce}-item-link`]:{borderColor:Fe.colorBorder}},[`${Ce}-item, ${Ce}-item-link`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,[`&:hover:not(${Ce}-item-active)`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,a:{color:Fe.colorTextDisabled}},[`&${Ce}-item-active`]:{backgroundColor:Fe.itemActiveBgDisabled}},[`${Ce}-prev, ${Ce}-next`]:{"&:hover button":{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,color:Fe.colorTextDisabled},[`${Ce}-item-link`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder}}},[`${Ce}:not(${Ce}-mini)`]:{[`${Ce}-prev, ${Ce}-next`]:{"&:hover button":{borderColor:Fe.colorPrimaryHover,backgroundColor:Fe.itemBg},[`${Ce}-item-link`]:{backgroundColor:Fe.itemLinkBg,borderColor:Fe.colorBorder},[`&:hover ${Ce}-item-link`]:{borderColor:Fe.colorPrimary,backgroundColor:Fe.itemBg,color:Fe.colorPrimary},[`&${Ce}-disabled`]:{[`${Ce}-item-link`]:{borderColor:Fe.colorBorder,color:Fe.colorTextDisabled}}},[`${Ce}-item`]:{backgroundColor:Fe.itemBg,border:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`,[`&:hover:not(${Ce}-item-active)`]:{borderColor:Fe.colorPrimary,backgroundColor:Fe.itemBg,a:{color:Fe.colorPrimary}},"&-active":{borderColor:Fe.colorPrimary}}}}},rt=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}:not(${Ce}-disabled)`]:{[`${Ce}-item`]:Object.assign({},(0,et.Qy)(Fe)),[`${Ce}-jump-prev, ${Ce}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ce}-item-link-icon`]:{opacity:1},[`${Ce}-item-ellipsis`]:{opacity:0}},(0,et.oN)(Fe))},[`${Ce}-prev, ${Ce}-next`]:{[`&:focus-visible ${Ce}-item-link`]:Object.assign({},(0,et.oN)(Fe))}}}};var _e=(0,qt.Z)("Pagination",Fe=>{const Ce=(0,hn.TS)(Fe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Fe.marginXXS/2,paginationMiniQuickJumperInputWidth:Fe.controlHeightLG*1.1,paginationItemPaddingInline:Fe.marginXXS*1.5,paginationEllipsisLetterSpacing:Fe.marginXXS/2,paginationSlashMarginInlineStart:Fe.marginXXS,paginationSlashMarginInlineEnd:Fe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,tt.e5)(Fe),(0,tt.TM)(Fe));return[Mt(Ce),rt(Ce),Fe.wireframe&&ht(Ce)]},Fe=>({itemBg:Fe.colorBgContainer,itemSize:Fe.controlHeight,itemSizeSM:Fe.controlHeightSM,itemActiveBg:Fe.colorBgContainer,itemLinkBg:Fe.colorBgContainer,itemActiveColorDisabled:Fe.colorTextDisabled,itemActiveBgDisabled:Fe.controlItemBgActiveDisabled,itemInputBg:Fe.colorBgContainer,miniOptionsSizeChangerTop:0})),Se=function(Fe,Ce){var at={};for(var Je in Fe)Object.prototype.hasOwnProperty.call(Fe,Je)&&Ce.indexOf(Je)<0&&(at[Je]=Fe[Je]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Je=Object.getOwnPropertySymbols(Fe);Ne<Je.length;Ne++)Ce.indexOf(Je[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Je[Ne])&&(at[Je[Ne]]=Fe[Je[Ne]]);return at},qe=Fe=>{const{prefixCls:Ce,selectPrefixCls:at,className:Je,rootClassName:Ne,style:mt,size:un,locale:en,selectComponentClass:zt,responsive:ln,showSizeChanger:on}=Fe,ze=Se(Fe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:At}=(0,gt.Z)(ln),{getPrefixCls:Lt,direction:St,pagination:Dt={}}=ue.useContext(Ft.E_),fn=Lt("pagination",Ce),[Pn,bn]=_e(fn),Ln=on!=null?on:Dt.showSizeChanger,ta=ue.useMemo(()=>{const An=ue.createElement("span",{className:`${fn}-item-ellipsis`},"\u2022\u2022\u2022"),Fn=ue.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},St==="rtl"?ue.createElement(We.Z,null):ue.createElement(Ve.Z,null)),Xn=ue.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},St==="rtl"?ue.createElement(Ve.Z,null):ue.createElement(We.Z,null)),Ze=ue.createElement("a",{className:`${fn}-item-link`},ue.createElement("div",{className:`${fn}-item-container`},St==="rtl"?ue.createElement(ot.Z,{className:`${fn}-item-link-icon`}):ue.createElement(dt,{className:`${fn}-item-link-icon`}),An)),Nt=ue.createElement("a",{className:`${fn}-item-link`},ue.createElement("div",{className:`${fn}-item-container`},St==="rtl"?ue.createElement(dt,{className:`${fn}-item-link-icon`}):ue.createElement(ot.Z,{className:`${fn}-item-link-icon`}),An));return{prevIcon:Fn,nextIcon:Xn,jumpPrevIcon:Ze,jumpNextIcon:Nt}},[St,fn]),[oa]=(0,Xt.Z)("Pagination",ut.Z),jn=Object.assign(Object.assign({},oa),en),Ea=(0,yt.Z)(un),va=Ea==="small"||!!(At&&!Ea&&ln),Hn=Lt("select",at),Ba=Xe()({[`${fn}-mini`]:va,[`${fn}-rtl`]:St==="rtl"},Dt==null?void 0:Dt.className,Je,Ne,bn),Yt=Object.assign(Object.assign({},Dt==null?void 0:Dt.style),mt);return Pn(ue.createElement(De,Object.assign({},ta,ze,{style:Yt,prefixCls:fn,selectPrefixCls:Hn,className:Ba,selectComponentClass:zt||(va?an:En),locale:jn,showSizeChanger:Ln})))},Ct=qe},39722:function(Ut,Gt,te){"use strict";te.d(Gt,{t5:function(){return Ve}});var x=te(92310),ue=te.n(x),Be=te(55477),Me=te(59301),Le=te(36355),Oe=te(77578),se=te(17356),dt=function(nt,Xe){var le={};for(var y in nt)Object.prototype.hasOwnProperty.call(nt,y)&&Xe.indexOf(y)<0&&(le[y]=nt[y]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,y=Object.getOwnPropertySymbols(nt);a<y.length;a++)Xe.indexOf(y[a])<0&&Object.prototype.propertyIsEnumerable.call(nt,y[a])&&(le[y[a]]=nt[y[a]]);return le};const ot=(nt,Xe,le)=>{if(!(!Xe&&!le))return Me.createElement(Me.Fragment,null,Xe&&Me.createElement("div",{className:`${nt}-title`},(0,Oe.Z)(Xe)),Me.createElement("div",{className:`${nt}-inner-content`},(0,Oe.Z)(le)))},Ve=nt=>{const{hashId:Xe,prefixCls:le,className:y,style:a,placement:b="top",title:E,content:z,children:ne}=nt;return Me.createElement("div",{className:ue()(Xe,le,`${le}-pure`,`${le}-placement-${b}`,y),style:a},Me.createElement("div",{className:`${le}-arrow`}),Me.createElement(Be.G,Object.assign({},nt,{className:Xe,prefixCls:le}),ne||ot(le,E,z)))},We=nt=>{const{prefixCls:Xe}=nt,le=dt(nt,["prefixCls"]),{getPrefixCls:y}=Me.useContext(Le.E_),a=y("popover",Xe),[b,E]=(0,se.Z)(a);return b(Me.createElement(Ve,Object.assign({},le,{prefixCls:a,hashId:E})))};Gt.ZP=We},60324:function(Ut,Gt,te){"use strict";var x=te(92310),ue=te.n(x),Be=te(59301),Me=te(77578),Le=te(62892),Oe=te(36355),se=te(6848),dt=te(39722),ot=te(17356),Ve=function(Xe,le){var y={};for(var a in Xe)Object.prototype.hasOwnProperty.call(Xe,a)&&le.indexOf(a)<0&&(y[a]=Xe[a]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(Xe);b<a.length;b++)le.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call(Xe,a[b])&&(y[a[b]]=Xe[a[b]]);return y};const We=Xe=>{let{title:le,content:y,prefixCls:a}=Xe;return Be.createElement(Be.Fragment,null,le&&Be.createElement("div",{className:`${a}-title`},(0,Me.Z)(le)),Be.createElement("div",{className:`${a}-inner-content`},(0,Me.Z)(y)))},nt=Be.forwardRef((Xe,le)=>{const{prefixCls:y,title:a,content:b,overlayClassName:E,placement:z="top",trigger:ne="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ie=.1,overlayStyle:me={}}=Xe,pe=Ve(Xe,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ye}=Be.useContext(Oe.E_),Ge=ye("popover",y),[Ae,Qe]=(0,ot.Z)(Ge),ve=ye(),Te=ue()(E,Qe);return Ae(Be.createElement(se.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:re,mouseLeaveDelay:ie,overlayStyle:me},pe,{prefixCls:Ge,overlayClassName:Te,ref:le,overlay:a||b?Be.createElement(We,{prefixCls:Ge,title:a,content:b}):null,transitionName:(0,Le.m)(ve,"zoom-big",pe.transitionName),"data-popover-inject":!0})))});nt._InternalPanelDoNotUseOrYouWillBeFired=dt.ZP,Gt.Z=nt},17356:function(Ut,Gt,te){"use strict";var x=te(17313),ue=te(29878),Be=te(19447),Me=te(33166),Le=te(83116),Oe=te(37613);const se=Ve=>{const{componentCls:We,popoverColor:nt,minWidth:Xe,fontWeightStrong:le,popoverPadding:y,boxShadowSecondary:a,colorTextHeading:b,borderRadiusLG:E,zIndexPopup:z,marginXS:ne,colorBgElevated:re,popoverBg:ie}=Ve;return[{[We]:Object.assign(Object.assign({},(0,x.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"},[`${We}-content`]:{position:"relative"},[`${We}-inner`]:{backgroundColor:ie,backgroundClip:"padding-box",borderRadius:E,boxShadow:a,padding:y},[`${We}-title`]:{minWidth:Xe,marginBottom:ne,color:b,fontWeight:le},[`${We}-inner-content`]:{color:nt}})},(0,Be.ZP)(Ve,{colorBg:"var(--antd-arrow-background-color)"}),{[`${We}-pure`]:{position:"relative",maxWidth:"none",margin:Ve.sizePopupArrow,display:"inline-block",[`${We}-content`]:{display:"inline-block"}}}]},dt=Ve=>{const{componentCls:We}=Ve;return{[We]:Me.i.map(nt=>{const Xe=Ve[`${nt}6`];return{[`&${We}-${nt}`]:{"--antd-arrow-background-color":Xe,[`${We}-inner`]:{backgroundColor:Xe},[`${We}-arrow`]:{background:"transparent"}}}})}},ot=Ve=>{const{componentCls:We,lineWidth:nt,lineType:Xe,colorSplit:le,paddingSM:y,controlHeight:a,fontSize:b,lineHeight:E,padding:z}=Ve,ne=a-Math.round(b*E),re=ne/2,ie=ne/2-nt,me=z;return{[We]:{[`${We}-inner`]:{padding:0},[`${We}-title`]:{margin:0,padding:`${re}px ${me}px ${ie}px`,borderBottom:`${nt}px ${Xe} ${le}`},[`${We}-inner-content`]:{padding:`${y}px ${me}px`}}}};Gt.Z=(0,Le.Z)("Popover",Ve=>{const{colorBgElevated:We,colorText:nt,wireframe:Xe}=Ve,le=(0,Oe.TS)(Ve,{popoverPadding:12,popoverBg:We,popoverColor:nt});return[se(le),dt(le),Xe&&ot(le),(0,ue._y)(le,"zoom-big")]},Ve=>({width:177,minWidth:177,zIndexPopup:Ve.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return on}});var x=te(59301),ue=te(29679),Be=te(40001),Me=te(19248),Le=te(99267),Oe=te(92310),se=te.n(Oe),dt=te(2738),ot=te(36355),Ve=te(92413),We=te(33708),nt=te(37061),Xe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},le=function(){var At=(0,x.useRef)([]),Lt=(0,x.useRef)(null);return(0,x.useEffect)(function(){var St=Date.now(),Dt=!1;At.current.forEach(function(fn){if(fn){Dt=!0;var Pn=fn.style;Pn.transitionDuration=".3s, .3s, .3s, .06s",Lt.current&&St-Lt.current<100&&(Pn.transitionDuration="0s, 0s")}}),Dt&&(Lt.current=Date.now())}),At.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(At){var Lt=(0,We.Z)((0,We.Z)({},Xe),At),St=Lt.className,Dt=Lt.percent,fn=Lt.prefixCls,Pn=Lt.strokeColor,bn=Lt.strokeLinecap,Ln=Lt.strokeWidth,ta=Lt.style,oa=Lt.trailColor,jn=Lt.trailWidth,Ea=Lt.transition,va=(0,nt.Z)(Lt,y);delete va.gapPosition;var Hn=Array.isArray(Dt)?Dt:[Dt],Ba=Array.isArray(Pn)?Pn:[Pn],Yt=le(),An=Ln/2,Fn=100-Ln/2,Xn="M ".concat(bn==="round"?An:0,",").concat(An,`
L `).concat(bn==="round"?Fn:100,",").concat(An),Ze="0 0 100 ".concat(Ln),Nt=0;return x.createElement("svg",(0,Ve.Z)({className:se()("".concat(fn,"-line"),St),viewBox:Ze,preserveAspectRatio:"none",style:ta},va),x.createElement("path",{className:"".concat(fn,"-line-trail"),d:Xn,strokeLinecap:bn,stroke:oa,strokeWidth:jn||Ln,fillOpacity:"0"}),Hn.map(function(Zt,Kt){var tn=1;switch(bn){case"round":tn=1-Ln/100;break;case"square":tn=1-Ln/2/100;break;default:tn=1;break}var jt={strokeDasharray:"".concat(Zt*tn,"px, 100px"),strokeDashoffset:"-".concat(Nt,"px"),transition:Ea||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},pn=Ba[Kt]||Ba[Ba.length-1];return Nt+=Zt,x.createElement("path",{key:Kt,className:"".concat(fn,"-line-path"),d:Xn,strokeLinecap:bn,stroke:pn,strokeWidth:Ln,fillOpacity:"0",ref:function(Pt){Yt[Kt]=Pt},style:jt})}))},b=a,E=te(39559),z=te(33606),ne=te(47273),re=0,ie=(0,ne.Z)();function me(){var ze;return ie?(ze=re,re+=1):ze="TEST_OR_SSR",ze}var pe=function(ze){var At=x.useState(),Lt=(0,z.Z)(At,2),St=Lt[0],Dt=Lt[1];return x.useEffect(function(){Dt("rc_progress_".concat(me()))},[]),ze||St},ye=function(At){var Lt=At.bg,St=At.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Lt}},St)};function Ge(ze,At){return Object.keys(ze).map(function(Lt){var St=parseFloat(Lt),Dt="".concat(Math.floor(St*At),"%");return"".concat(ze[Lt]," ").concat(Dt)})}var Ae=x.forwardRef(function(ze,At){var Lt=ze.prefixCls,St=ze.color,Dt=ze.gradientId,fn=ze.radius,Pn=ze.style,bn=ze.ptg,Ln=ze.strokeLinecap,ta=ze.strokeWidth,oa=ze.size,jn=ze.gapDegree,Ea=St&&(0,E.Z)(St)==="object",va=Ea?"#FFF":void 0,Hn=oa/2,Ba=x.createElement("circle",{className:"".concat(Lt,"-circle-path"),r:fn,cx:Hn,cy:Hn,stroke:va,strokeLinecap:Ln,strokeWidth:ta,opacity:bn===0?0:1,style:Pn,ref:At});if(!Ea)return Ba;var Yt="".concat(Dt,"-conic"),An=jn?"".concat(180+jn/2,"deg"):"0deg",Fn=Ge(St,(360-jn)/360),Xn=Ge(St,1),Ze="conic-gradient(from ".concat(An,", ").concat(Fn.join(", "),")"),Nt="linear-gradient(to ".concat(jn?"bottom":"top",", ").concat(Xn.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:Yt},Ba),x.createElement("foreignObject",{x:0,y:0,width:oa,height:oa,mask:"url(#".concat(Yt,")")},x.createElement(ye,{bg:Nt},x.createElement(ye,{bg:Ze}))))}),Qe=Ae,ve=100,Te=function(At,Lt,St,Dt,fn,Pn,bn,Ln,ta,oa){var jn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ea=St/100*360*((360-Pn)/360),va=Pn===0?0:{bottom:0,top:180,left:90,right:-90}[bn],Hn=(100-Dt)/100*Lt;ta==="round"&&Dt!==100&&(Hn+=oa/2,Hn>=Lt&&(Hn=Lt-.01));var Ba=ve/2;return{stroke:typeof Ln=="string"?Ln:void 0,strokeDasharray:"".concat(Lt,"px ").concat(At),strokeDashoffset:Hn+jn,transform:"rotate(".concat(fn+Ea+va,"deg)"),transformOrigin:"".concat(Ba,"px ").concat(Ba,"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}},Ye=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function bt(ze){var At=ze!=null?ze:[];return Array.isArray(At)?At:[At]}var De=function(At){var Lt=(0,We.Z)((0,We.Z)({},Xe),At),St=Lt.id,Dt=Lt.prefixCls,fn=Lt.steps,Pn=Lt.strokeWidth,bn=Lt.trailWidth,Ln=Lt.gapDegree,ta=Ln===void 0?0:Ln,oa=Lt.gapPosition,jn=Lt.trailColor,Ea=Lt.strokeLinecap,va=Lt.style,Hn=Lt.className,Ba=Lt.strokeColor,Yt=Lt.percent,An=(0,nt.Z)(Lt,Ye),Fn=ve/2,Xn=pe(St),Ze="".concat(Xn,"-gradient"),Nt=Fn-Pn/2,Zt=Math.PI*2*Nt,Kt=ta>0?90+ta/2:-90,tn=Zt*((360-ta)/360),jt=(0,E.Z)(fn)==="object"?fn:{count:fn,space:2},pn=jt.count,st=jt.space,Pt=bt(Yt),ct=bt(Ba),rn=ct.find(function(qn){return qn&&(0,E.Z)(qn)==="object"}),In=rn&&(0,E.Z)(rn)==="object",yn=In?"butt":Ea,ia=Te(Zt,tn,0,100,Kt,ta,oa,jn,yn,Pn),Un=le(),lt=function(){var nn=0;return Pt.map(function(_n,Jn){var Ma=ct[Jn]||ct[ct.length-1],ma=Te(Zt,tn,nn,_n,Kt,ta,oa,Ma,yn,Pn);return nn+=_n,x.createElement(Qe,{key:Jn,color:Ma,ptg:_n,radius:Nt,prefixCls:Dt,gradientId:Ze,style:ma,strokeLinecap:yn,strokeWidth:Pn,gapDegree:ta,ref:function(dn){Un[Jn]=dn},size:ve})}).reverse()},$t=function(){var nn=Math.round(pn*(Pt[0]/100)),_n=100/pn,Jn=0;return new Array(pn).fill(null).map(function(Ma,ma){var Ue=ma<=nn-1?ct[0]:jn,dn=Ue&&(0,E.Z)(Ue)==="object"?"url(#".concat(Ze,")"):void 0,Qt=Te(Zt,tn,Jn,_n,Kt,ta,oa,Ue,"butt",Pn,st);return Jn+=(tn-Qt.strokeDashoffset+st)*100/tn,x.createElement("circle",{key:ma,className:"".concat(Dt,"-circle-path"),r:Nt,cx:Fn,cy:Fn,stroke:dn,strokeWidth:Pn,opacity:1,style:Qt,ref:function(On){Un[ma]=On}})})};return x.createElement("svg",(0,Ve.Z)({className:se()("".concat(Dt,"-circle"),Hn),viewBox:"0 0 ".concat(ve," ").concat(ve),style:va,id:St,role:"presentation"},An),!pn&&x.createElement("circle",{className:"".concat(Dt,"-circle-trail"),r:Nt,cx:Fn,cy:Fn,stroke:jn,strokeLinecap:yn,strokeWidth:bn||Pn,style:ia}),pn?$t():lt())},ut=De,Ft={Line:b,Circle:ut},yt=te(6848),gt=te(93398);function Xt(ze){return!ze||ze<0?0:ze>100?100:ze}function vt(ze){let{success:At,successPercent:Lt}=ze,St=Lt;return At&&"progress"in At&&(St=At.progress),At&&"percent"in At&&(St=At.percent),St}const an=ze=>{let{percent:At,success:Lt,successPercent:St}=ze;const Dt=Xt(vt({success:Lt,successPercent:St}));return[Dt,Xt(Xt(At)-Dt)]},En=ze=>{let{success:At={},strokeColor:Lt}=ze;const{strokeColor:St}=At;return[St||gt.presetPrimaryColors.green,Lt||null]},tt=(ze,At,Lt)=>{var St,Dt,fn,Pn;let bn=-1,Ln=-1;if(At==="step"){const ta=Lt.steps,oa=Lt.strokeWidth;typeof ze=="string"||typeof ze=="undefined"?(bn=ze==="small"?2:14,Ln=oa!=null?oa:8):typeof ze=="number"?[bn,Ln]=[ze,ze]:[bn=14,Ln=8]=ze,bn*=ta}else if(At==="line"){const ta=Lt==null?void 0:Lt.strokeWidth;typeof ze=="string"||typeof ze=="undefined"?Ln=ta||(ze==="small"?6:8):typeof ze=="number"?[bn,Ln]=[ze,ze]:[bn=-1,Ln=8]=ze}else(At==="circle"||At==="dashboard")&&(typeof ze=="string"||typeof ze=="undefined"?[bn,Ln]=ze==="small"?[60,60]:[120,120]:typeof ze=="number"?[bn,Ln]=[ze,ze]:(bn=(Dt=(St=ze[0])!==null&&St!==void 0?St:ze[1])!==null&&Dt!==void 0?Dt:120,Ln=(Pn=(fn=ze[0])!==null&&fn!==void 0?fn:ze[1])!==null&&Pn!==void 0?Pn:120));return[bn,Ln]},et=3,qt=ze=>et/ze*100;var kt=ze=>{const{prefixCls:At,trailColor:Lt=null,strokeLinecap:St="round",gapPosition:Dt,gapDegree:fn,width:Pn=120,type:bn,children:Ln,success:ta,size:oa=Pn}=ze,[jn,Ea]=tt(oa,"circle");let{strokeWidth:va}=ze;va===void 0&&(va=Math.max(qt(jn),6));const Hn={width:jn,height:Ea,fontSize:jn*.15+6},Ba=x.useMemo(()=>{if(fn||fn===0)return fn;if(bn==="dashboard")return 75},[fn,bn]),Yt=Dt||bn==="dashboard"&&"bottom"||void 0,An=Object.prototype.toString.call(ze.strokeColor)==="[object Object]",Fn=En({success:ta,strokeColor:ze.strokeColor}),Xn=se()(`${At}-inner`,{[`${At}-circle-gradient`]:An}),Ze=x.createElement(ut,{percent:an(ze),strokeWidth:va,trailWidth:va,strokeColor:Fn,strokeLinecap:St,trailColor:Lt,prefixCls:At,gapDegree:Ba,gapPosition:Yt});return x.createElement("div",{className:Xn,style:Hn},jn<=20?x.createElement(yt.Z,{title:Ln},x.createElement("span",null,Ze)):x.createElement(x.Fragment,null,Ze,Ln))},vn=function(ze,At){var Lt={};for(var St in ze)Object.prototype.hasOwnProperty.call(ze,St)&&At.indexOf(St)<0&&(Lt[St]=ze[St]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,St=Object.getOwnPropertySymbols(ze);Dt<St.length;Dt++)At.indexOf(St[Dt])<0&&Object.prototype.propertyIsEnumerable.call(ze,St[Dt])&&(Lt[St[Dt]]=ze[St[Dt]]);return Lt};const je=ze=>{let At=[];return Object.keys(ze).forEach(Lt=>{const St=parseFloat(Lt.replace(/%/g,""));isNaN(St)||At.push({key:St,value:ze[Lt]})}),At=At.sort((Lt,St)=>Lt.key-St.key),At.map(Lt=>{let{key:St,value:Dt}=Lt;return`${Dt} ${St}%`}).join(", ")},Ot=(ze,At)=>{const{from:Lt=gt.presetPrimaryColors.blue,to:St=gt.presetPrimaryColors.blue,direction:Dt=At==="rtl"?"to left":"to right"}=ze,fn=vn(ze,["from","to","direction"]);if(Object.keys(fn).length!==0){const Pn=je(fn);return{backgroundImage:`linear-gradient(${Dt}, ${Pn})`}}return{backgroundImage:`linear-gradient(${Dt}, ${Lt}, ${St})`}};var Mt=ze=>{const{prefixCls:At,direction:Lt,percent:St,size:Dt,strokeWidth:fn,strokeColor:Pn,strokeLinecap:bn="round",children:Ln,trailColor:ta=null,success:oa}=ze,jn=Pn&&typeof Pn!="string"?Ot(Pn,Lt):{backgroundColor:Pn},Ea=bn==="square"||bn==="butt"?0:void 0,va={backgroundColor:ta||void 0,borderRadius:Ea},Hn=Dt!=null?Dt:[-1,fn||(Dt==="small"?6:8)],[Ba,Yt]=tt(Hn,"line",{strokeWidth:fn}),An=Object.assign({width:`${Xt(St)}%`,height:Yt,borderRadius:Ea},jn),Fn=vt(ze),Xn={width:`${Xt(Fn)}%`,height:Yt,borderRadius:Ea,backgroundColor:oa==null?void 0:oa.strokeColor},Ze={width:Ba<0?"100%":Ba,height:Yt};return x.createElement(x.Fragment,null,x.createElement("div",{className:`${At}-outer`,style:Ze},x.createElement("div",{className:`${At}-inner`,style:va},x.createElement("div",{className:`${At}-bg`,style:An}),Fn!==void 0?x.createElement("div",{className:`${At}-success-bg`,style:Xn}):null)),Ln)},rt=ze=>{const{size:At,steps:Lt,percent:St=0,strokeWidth:Dt=8,strokeColor:fn,trailColor:Pn=null,prefixCls:bn,children:Ln}=ze,ta=Math.round(Lt*(St/100)),oa=At==="small"?2:14,jn=At!=null?At:[oa,Dt],[Ea,va]=tt(jn,"step",{steps:Lt,strokeWidth:Dt}),Hn=Ea/Lt,Ba=new Array(Lt);for(let Yt=0;Yt<Lt;Yt++){const An=Array.isArray(fn)?fn[Yt]:fn;Ba[Yt]=x.createElement("div",{key:Yt,className:se()(`${bn}-steps-item`,{[`${bn}-steps-item-active`]:Yt<=ta-1}),style:{backgroundColor:Yt<=ta-1?An:Pn,width:Hn,height:va}})}return x.createElement("div",{className:`${bn}-steps-outer`},Ba,Ln)},_e=te(93083),Se=te(17313),fe=te(83116),qe=te(37613);const Ct=ze=>{const At=ze?"100%":"-100%";return new _e.Keyframes(`antProgress${ze?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${At}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${At}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Fe=ze=>{const{componentCls:At,iconCls:Lt}=ze;return{[At]:Object.assign(Object.assign({},(0,Se.Wf)(ze)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ze.fontSize,marginInlineEnd:ze.marginXS,marginBottom:ze.marginXS},[`${At}-outer`]:{display:"inline-block",width:"100%"},[`&${At}-show-info`]:{[`${At}-outer`]:{marginInlineEnd:`calc(-2em - ${ze.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ze.paddingXS}px)`}},[`${At}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ze.remainingColor,borderRadius:ze.lineBorderRadius},[`${At}-inner:not(${At}-circle-gradient)`]:{[`${At}-circle-path`]:{stroke:ze.defaultColor}},[`${At}-success-bg, ${At}-bg`]:{position:"relative",backgroundColor:ze.defaultColor,borderRadius:ze.lineBorderRadius,transition:`all ${ze.motionDurationSlow} ${ze.motionEaseInOutCirc}`},[`${At}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ze.colorSuccess},[`${At}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ze.marginXS,color:ze.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Lt]:{fontSize:ze.fontSize}},[`&${At}-status-active`]:{[`${At}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ze.colorBgContainer,borderRadius:ze.lineBorderRadius,opacity:0,animationName:Ct(),animationDuration:ze.progressActiveMotionDuration,animationTimingFunction:ze.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${At}-rtl${At}-status-active`]:{[`${At}-bg::before`]:{animationName:Ct(!0)}},[`&${At}-status-exception`]:{[`${At}-bg`]:{backgroundColor:ze.colorError},[`${At}-text`]:{color:ze.colorError}},[`&${At}-status-exception ${At}-inner:not(${At}-circle-gradient)`]:{[`${At}-circle-path`]:{stroke:ze.colorError}},[`&${At}-status-success`]:{[`${At}-bg`]:{backgroundColor:ze.colorSuccess},[`${At}-text`]:{color:ze.colorSuccess}},[`&${At}-status-success ${At}-inner:not(${At}-circle-gradient)`]:{[`${At}-circle-path`]:{stroke:ze.colorSuccess}}})}},Ce=ze=>{const{componentCls:At,iconCls:Lt}=ze;return{[At]:{[`${At}-circle-trail`]:{stroke:ze.remainingColor},[`&${At}-circle ${At}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${At}-circle ${At}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ze.circleTextColor,fontSize:ze.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Lt]:{fontSize:`${ze.fontSize/ze.fontSizeSM}em`}},[`${At}-circle&-status-exception`]:{[`${At}-text`]:{color:ze.colorError}},[`${At}-circle&-status-success`]:{[`${At}-text`]:{color:ze.colorSuccess}}},[`${At}-inline-circle`]:{lineHeight:1,[`${At}-inner`]:{verticalAlign:"bottom"}}}},at=ze=>{const{componentCls:At}=ze;return{[At]:{[`${At}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ze.progressStepMinWidth,marginInlineEnd:ze.progressStepMarginInlineEnd,backgroundColor:ze.remainingColor,transition:`all ${ze.motionDurationSlow}`,"&-active":{backgroundColor:ze.defaultColor}}}}}},Je=ze=>{const{componentCls:At,iconCls:Lt}=ze;return{[At]:{[`${At}-small&-line, ${At}-small&-line ${At}-text ${Lt}`]:{fontSize:ze.fontSizeSM}}}};var Ne=(0,fe.Z)("Progress",ze=>{const At=ze.marginXXS/2,Lt=(0,qe.TS)(ze,{progressStepMarginInlineEnd:At,progressStepMinWidth:At,progressActiveMotionDuration:"2.4s"});return[Fe(Lt),Ce(Lt),at(Lt),Je(Lt)]},ze=>({circleTextColor:ze.colorText,defaultColor:ze.colorInfo,remainingColor:ze.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),mt=function(ze,At){var Lt={};for(var St in ze)Object.prototype.hasOwnProperty.call(ze,St)&&At.indexOf(St)<0&&(Lt[St]=ze[St]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,St=Object.getOwnPropertySymbols(ze);Dt<St.length;Dt++)At.indexOf(St[Dt])<0&&Object.prototype.propertyIsEnumerable.call(ze,St[Dt])&&(Lt[St[Dt]]=ze[St[Dt]]);return Lt};const un=null,en=["normal","exception","active","success"];var ln=x.forwardRef((ze,At)=>{const{prefixCls:Lt,className:St,rootClassName:Dt,steps:fn,strokeColor:Pn,percent:bn=0,size:Ln="default",showInfo:ta=!0,type:oa="line",status:jn,format:Ea,style:va}=ze,Hn=mt(ze,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ba=x.useMemo(()=>{var Pt,ct;const rn=vt(ze);return parseInt(rn!==void 0?(Pt=rn!=null?rn:0)===null||Pt===void 0?void 0:Pt.toString():(ct=bn!=null?bn:0)===null||ct===void 0?void 0:ct.toString(),10)},[bn,ze.success,ze.successPercent]),Yt=x.useMemo(()=>!en.includes(jn)&&Ba>=100?"success":jn||"normal",[jn,Ba]),{getPrefixCls:An,direction:Fn,progress:Xn}=x.useContext(ot.E_),Ze=An("progress",Lt),[Nt,Zt]=Ne(Ze),Kt=x.useMemo(()=>{if(!ta)return null;const Pt=vt(ze);let ct;const rn=Ea||(yn=>`${yn}%`),In=oa==="line";return Ea||Yt!=="exception"&&Yt!=="success"?ct=rn(Xt(bn),Xt(Pt)):Yt==="exception"?ct=In?x.createElement(Me.Z,null):x.createElement(Le.Z,null):Yt==="success"&&(ct=In?x.createElement(ue.Z,null):x.createElement(Be.Z,null)),x.createElement("span",{className:`${Ze}-text`,title:typeof ct=="string"?ct:void 0},ct)},[ta,bn,Ba,Yt,oa,Ze,Ea]),tn=Array.isArray(Pn)?Pn[0]:Pn,jt=typeof Pn=="string"||Array.isArray(Pn)?Pn:void 0;let pn;oa==="line"?pn=fn?x.createElement(rt,Object.assign({},ze,{strokeColor:jt,prefixCls:Ze,steps:fn}),Kt):x.createElement(Mt,Object.assign({},ze,{strokeColor:tn,prefixCls:Ze,direction:Fn}),Kt):(oa==="circle"||oa==="dashboard")&&(pn=x.createElement(kt,Object.assign({},ze,{strokeColor:tn,prefixCls:Ze,progressStatus:Yt}),Kt));const st=se()(Ze,`${Ze}-status-${Yt}`,`${Ze}-${oa==="dashboard"&&"circle"||fn&&"steps"||oa}`,{[`${Ze}-inline-circle`]:oa==="circle"&&tt(Ln,"circle")[0]<=20,[`${Ze}-show-info`]:ta,[`${Ze}-${Ln}`]:typeof Ln=="string",[`${Ze}-rtl`]:Fn==="rtl"},Xn==null?void 0:Xn.className,St,Dt,Zt);return Nt(x.createElement("div",Object.assign({ref:At,style:Object.assign(Object.assign({},Xn==null?void 0:Xn.style),va),className:st,role:"progressbar","aria-valuenow":Ba},(0,dt.Z)(Hn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),pn))}),on=ln},13570:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Xt}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(an,En){return ue.createElement(Le.Z,(0,x.Z)({},an,{ref:En,icon:Me}))},se=ue.forwardRef(Oe),dt=se,ot=te(92310),Ve=te.n(ot),We=te(400),nt=te(33606),Xe=te(37061),le=te(18929),y=te(10228),a=te(26112);function b(vt,an){var En=vt.disabled,tt=vt.prefixCls,et=vt.character,qt=vt.characterRender,hn=vt.index,kt=vt.count,vn=vt.value,je=vt.allowHalf,Ot=vt.focused,Wt=vt.onHover,Mt=vt.onClick,ht=function(Ce){Wt(Ce,hn)},rt=function(Ce){Mt(Ce,hn)},_e=function(Ce){Ce.keyCode===y.Z.ENTER&&Mt(Ce,hn)},Se=hn+1,fe=new Set([tt]);vn===0&&hn===0&&Ot?fe.add("".concat(tt,"-focused")):je&&vn+.5>=Se&&vn<Se?(fe.add("".concat(tt,"-half")),fe.add("".concat(tt,"-active")),Ot&&fe.add("".concat(tt,"-focused"))):(Se<=vn?fe.add("".concat(tt,"-full")):fe.add("".concat(tt,"-zero")),Se===vn&&Ot&&fe.add("".concat(tt,"-focused")));var qe=typeof et=="function"?et(vt):et,Ct=ue.createElement("li",{className:Ve()(Array.from(fe)),ref:an},ue.createElement("div",{onClick:En?null:rt,onKeyDown:En?null:_e,onMouseMove:En?null:ht,role:"radio","aria-checked":vn>hn?"true":"false","aria-posinset":hn+1,"aria-setsize":kt,tabIndex:En?-1:0},ue.createElement("div",{className:"".concat(tt,"-first")},qe),ue.createElement("div",{className:"".concat(tt,"-second")},qe)));return qt&&(Ct=qt(Ct,vt)),Ct}var E=ue.forwardRef(b);function z(){var vt=ue.useRef({});function an(tt){return vt.current[tt]}function En(tt){return function(et){vt.current[tt]=et}}return[an,En]}function ne(vt){var an=vt.pageXOffset,En="scrollLeft";if(typeof an!="number"){var tt=vt.document;an=tt.documentElement[En],typeof an!="number"&&(an=tt.body[En])}return an}function re(vt){var an,En,tt=vt.ownerDocument,et=tt.body,qt=tt&&tt.documentElement,hn=vt.getBoundingClientRect();return an=hn.left,En=hn.top,an-=qt.clientLeft||et.clientLeft||0,En-=qt.clientTop||et.clientTop||0,{left:an,top:En}}function ie(vt){var an=re(vt),En=vt.ownerDocument,tt=En.defaultView||En.parentWindow;return an.left+=ne(tt),an.left}var me=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function pe(vt,an){var En,tt=vt.prefixCls,et=tt===void 0?"rc-rate":tt,qt=vt.className,hn=vt.defaultValue,kt=vt.value,vn=vt.count,je=vn===void 0?5:vn,Ot=vt.allowHalf,Wt=Ot===void 0?!1:Ot,Mt=vt.allowClear,ht=Mt===void 0?!0:Mt,rt=vt.character,_e=rt===void 0?"\u2605":rt,Se=vt.characterRender,fe=vt.disabled,qe=vt.direction,Ct=qe===void 0?"ltr":qe,Fe=vt.tabIndex,Ce=Fe===void 0?0:Fe,at=vt.autoFocus,Je=vt.onHoverChange,Ne=vt.onChange,mt=vt.onFocus,un=vt.onBlur,en=vt.onKeyDown,zt=vt.onMouseLeave,ln=(0,Xe.Z)(vt,me),on=z(),ze=(0,nt.Z)(on,2),At=ze[0],Lt=ze[1],St=ue.useRef(null),Dt=function(){if(!fe){var yn;(yn=St.current)===null||yn===void 0||yn.focus()}};ue.useImperativeHandle(an,function(){return{focus:Dt,blur:function(){if(!fe){var yn;(yn=St.current)===null||yn===void 0||yn.blur()}}}});var fn=(0,le.Z)(hn||0,{value:kt}),Pn=(0,nt.Z)(fn,2),bn=Pn[0],Ln=Pn[1],ta=(0,le.Z)(null),oa=(0,nt.Z)(ta,2),jn=oa[0],Ea=oa[1],va=function(yn,ia){var Un=Ct==="rtl",lt=yn+1;if(Wt){var $t=At(yn),qn=ie($t),nn=$t.clientWidth;(Un&&ia-qn>nn/2||!Un&&ia-qn<nn/2)&&(lt-=.5)}return lt},Hn=function(yn){Ln(yn),Ne==null||Ne(yn)},Ba=ue.useState(!1),Yt=(0,nt.Z)(Ba,2),An=Yt[0],Fn=Yt[1],Xn=function(){Fn(!0),mt==null||mt()},Ze=function(){Fn(!1),un==null||un()},Nt=ue.useState(null),Zt=(0,nt.Z)(Nt,2),Kt=Zt[0],tn=Zt[1],jt=function(yn,ia){var Un=va(ia,yn.pageX);Un!==jn&&(tn(Un),Ea(null)),Je==null||Je(Un)},pn=function(yn){fe||(tn(null),Ea(null),Je==null||Je(void 0)),yn&&(zt==null||zt(yn))},st=function(yn,ia){var Un=va(ia,yn.pageX),lt=!1;ht&&(lt=Un===bn),pn(),Hn(lt?0:Un),Ea(lt?Un:null)},Pt=function(yn){var ia=yn.keyCode,Un=Ct==="rtl",lt=bn;ia===y.Z.RIGHT&&lt<je&&!Un?(Wt?lt+=.5:lt+=1,Hn(lt),yn.preventDefault()):ia===y.Z.LEFT&&lt>0&&!Un||ia===y.Z.RIGHT&&lt>0&&Un?(Wt?lt-=.5:lt-=1,Hn(lt),yn.preventDefault()):ia===y.Z.LEFT&&lt<je&&Un&&(Wt?lt+=.5:lt+=1,Hn(lt),yn.preventDefault()),en==null||en(yn)};ue.useEffect(function(){at&&!fe&&Dt()},[]);var ct=new Array(je).fill(0).map(function(In,yn){return ue.createElement(E,{ref:Lt(yn),index:yn,count:je,disabled:fe,prefixCls:"".concat(et,"-star"),allowHalf:Wt,value:Kt===null?bn:Kt,onClick:st,onHover:jt,key:In||yn,character:_e,characterRender:Se,focused:An})}),rn=Ve()(et,qt,(En={},(0,We.Z)(En,"".concat(et,"-disabled"),fe),(0,We.Z)(En,"".concat(et,"-rtl"),Ct==="rtl"),En));return ue.createElement("ul",(0,x.Z)({className:rn,onMouseLeave:pn,tabIndex:fe?-1:Ce,onFocus:fe?null:Xn,onBlur:fe?null:Ze,onKeyDown:fe?null:Pt,ref:St,role:"radiogroup"},(0,a.Z)(ln,{aria:!0,data:!0,attr:!0})),ct)}var ye=ue.forwardRef(pe),Ge=ye,Ae=te(36355),Qe=te(6848),ve=te(17313),Te=te(83116),Ye=te(37613);const bt=vt=>{const{componentCls:an}=vt;return{[`${an}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:vt.marginXS},"> div":{transition:`all ${vt.motionDurationMid}, outline 0s`,"&:hover":{transform:vt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${vt.lineWidth}px dashed ${vt.starColor}`,transform:vt.starHoverScale}},"&-first, &-second":{color:vt.starBg,transition:`all ${vt.motionDurationMid}`,userSelect:"none",[vt.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"}}}},De=vt=>({[`&-rtl${vt.componentCls}`]:{direction:"rtl"}}),ut=vt=>{const{componentCls:an}=vt;return{[an]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ve.Wf)(vt)),{display:"inline-block",margin:0,padding:0,color:vt.starColor,fontSize:vt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${an} ${an}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),bt(vt)),{[`+ ${an}-text`]:{display:"inline-block",marginInlineStart:vt.marginXS,fontSize:vt.fontSize}}),De(vt))}};var Ft=(0,Te.Z)("Rate",vt=>{const an=(0,Ye.TS)(vt,{});return[ut(an)]},vt=>({starColor:vt.yellow6,starSize:vt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:vt.colorFillContent})),yt=function(vt,an){var En={};for(var tt in vt)Object.prototype.hasOwnProperty.call(vt,tt)&&an.indexOf(tt)<0&&(En[tt]=vt[tt]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,tt=Object.getOwnPropertySymbols(vt);et<tt.length;et++)an.indexOf(tt[et])<0&&Object.prototype.propertyIsEnumerable.call(vt,tt[et])&&(En[tt[et]]=vt[tt[et]]);return En},Xt=ue.forwardRef((vt,an)=>{const{prefixCls:En,className:tt,rootClassName:et,style:qt,tooltips:hn,character:kt=ue.createElement(dt,null)}=vt,vn=yt(vt,["prefixCls","className","rootClassName","style","tooltips","character"]),je=(fe,qe)=>{let{index:Ct}=qe;return hn?ue.createElement(Qe.Z,{title:hn[Ct]},fe):fe},{getPrefixCls:Ot,direction:Wt,rate:Mt}=ue.useContext(Ae.E_),ht=Ot("rate",En),[rt,_e]=Ft(ht),Se=Object.assign(Object.assign({},Mt==null?void 0:Mt.style),qt);return rt(ue.createElement(Ge,Object.assign({ref:an,character:kt,characterRender:je},vn,{className:Ve()(tt,et,_e,Mt==null?void 0:Mt.className),style:Se,prefixCls:ht,direction:Wt})))})},61621:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return _e}});var x=te(92310),ue=te.n(x),Be=te(59301),Me=te(36355),Le=te(2738),se=Se=>{const{prefixCls:fe,className:qe,style:Ct,size:Fe,shape:Ce}=Se,at=ue()({[`${fe}-lg`]:Fe==="large",[`${fe}-sm`]:Fe==="small"}),Je=ue()({[`${fe}-circle`]:Ce==="circle",[`${fe}-square`]:Ce==="square",[`${fe}-round`]:Ce==="round"}),Ne=Be.useMemo(()=>typeof Fe=="number"?{width:Fe,height:Fe,lineHeight:`${Fe}px`}:{},[Fe]);return Be.createElement("span",{className:ue()(fe,at,Je,qe),style:Object.assign(Object.assign({},Ne),Ct)})},dt=te(93083),ot=te(83116),Ve=te(37613);const We=new dt.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),nt=Se=>({height:Se,lineHeight:`${Se}px`}),Xe=Se=>Object.assign({width:Se},nt(Se)),le=Se=>({background:Se.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:We,animationDuration:Se.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Se=>Object.assign({width:Se*5,minWidth:Se*5},nt(Se)),a=Se=>{const{skeletonAvatarCls:fe,gradientFromColor:qe,controlHeight:Ct,controlHeightLG:Fe,controlHeightSM:Ce}=Se;return{[`${fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},Xe(Ct)),[`${fe}${fe}-circle`]:{borderRadius:"50%"},[`${fe}${fe}-lg`]:Object.assign({},Xe(Fe)),[`${fe}${fe}-sm`]:Object.assign({},Xe(Ce))}},b=Se=>{const{controlHeight:fe,borderRadiusSM:qe,skeletonInputCls:Ct,controlHeightLG:Fe,controlHeightSM:Ce,gradientFromColor:at}=Se;return{[`${Ct}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at,borderRadius:qe},y(fe)),[`${Ct}-lg`]:Object.assign({},y(Fe)),[`${Ct}-sm`]:Object.assign({},y(Ce))}},E=Se=>Object.assign({width:Se},nt(Se)),z=Se=>{const{skeletonImageCls:fe,imageSizeBase:qe,gradientFromColor:Ct,borderRadiusSM:Fe}=Se;return{[`${fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ct,borderRadius:Fe},E(qe*2)),{[`${fe}-path`]:{fill:"#bfbfbf"},[`${fe}-svg`]:Object.assign(Object.assign({},E(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${fe}-svg${fe}-svg-circle`]:{borderRadius:"50%"}}),[`${fe}${fe}-circle`]:{borderRadius:"50%"}}},ne=(Se,fe,qe)=>{const{skeletonButtonCls:Ct}=Se;return{[`${qe}${Ct}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${qe}${Ct}-round`]:{borderRadius:fe}}},re=Se=>Object.assign({width:Se*2,minWidth:Se*2},nt(Se)),ie=Se=>{const{borderRadiusSM:fe,skeletonButtonCls:qe,controlHeight:Ct,controlHeightLG:Fe,controlHeightSM:Ce,gradientFromColor:at}=Se;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at,borderRadius:fe,width:Ct*2,minWidth:Ct*2},re(Ct))},ne(Se,Ct,qe)),{[`${qe}-lg`]:Object.assign({},re(Fe))}),ne(Se,Fe,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},re(Ce))}),ne(Se,Ce,`${qe}-sm`))},me=Se=>{const{componentCls:fe,skeletonAvatarCls:qe,skeletonTitleCls:Ct,skeletonParagraphCls:Fe,skeletonButtonCls:Ce,skeletonInputCls:at,skeletonImageCls:Je,controlHeight:Ne,controlHeightLG:mt,controlHeightSM:un,gradientFromColor:en,padding:zt,marginSM:ln,borderRadius:on,titleHeight:ze,blockRadius:At,paragraphLiHeight:Lt,controlHeightXS:St,paragraphMarginTop:Dt}=Se;return{[`${fe}`]:{display:"table",width:"100%",[`${fe}-header`]:{display:"table-cell",paddingInlineEnd:zt,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:en},Xe(Ne)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},Xe(mt)),[`${qe}-sm`]:Object.assign({},Xe(un))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ct}`]:{width:"100%",height:ze,background:en,borderRadius:At,[`+ ${Fe}`]:{marginBlockStart:un}},[`${Fe}`]:{padding:0,"> li":{width:"100%",height:Lt,listStyle:"none",background:en,borderRadius:At,"+ li":{marginBlockStart:St}}},[`${Fe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${fe}-content`]:{[`${Ct}, ${Fe} > li`]:{borderRadius:on}}},[`${fe}-with-avatar ${fe}-content`]:{[`${Ct}`]:{marginBlockStart:ln,[`+ ${Fe}`]:{marginBlockStart:Dt}}},[`${fe}${fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ie(Se)),a(Se)),b(Se)),z(Se)),[`${fe}${fe}-block`]:{width:"100%",[`${Ce}`]:{width:"100%"},[`${at}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[`
${Ct},
${Fe} > li,
${qe},
${Ce},
${at},
${Je}
`]:Object.assign({},le(Se))}}};var pe=(0,ot.Z)("Skeleton",Se=>{const{componentCls:fe}=Se,qe=(0,Ve.TS)(Se,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:Se.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Se.gradientFromColor} 25%, ${Se.gradientToColor} 37%, ${Se.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[me(qe)]},Se=>{const{colorFillContent:fe,colorFill:qe}=Se,Ct=fe,Fe=qe;return{color:Ct,colorGradientEnd:Fe,gradientFromColor:Ct,gradientToColor:Fe,titleHeight:Se.controlHeight/2,blockRadius:Se.borderRadiusSM,paragraphMarginTop:Se.marginLG+Se.marginXXS,paragraphLiHeight:Se.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=Se=>{const{prefixCls:fe,className:qe,rootClassName:Ct,active:Fe,shape:Ce="circle",size:at="default"}=Se,{getPrefixCls:Je}=Be.useContext(Me.E_),Ne=Je("skeleton",fe),[mt,un]=pe(Ne),en=(0,Le.Z)(Se,["prefixCls","className"]),zt=ue()(Ne,`${Ne}-element`,{[`${Ne}-active`]:Fe},qe,Ct,un);return mt(Be.createElement("div",{className:zt},Be.createElement(se,Object.assign({prefixCls:`${Ne}-avatar`,shape:Ce,size:at},en))))},Qe=Se=>{const{prefixCls:fe,className:qe,rootClassName:Ct,active:Fe,block:Ce=!1,size:at="default"}=Se,{getPrefixCls:Je}=Be.useContext(Me.E_),Ne=Je("skeleton",fe),[mt,un]=pe(Ne),en=(0,Le.Z)(Se,["prefixCls"]),zt=ue()(Ne,`${Ne}-element`,{[`${Ne}-active`]:Fe,[`${Ne}-block`]:Ce},qe,Ct,un);return mt(Be.createElement("div",{className:zt},Be.createElement(se,Object.assign({prefixCls:`${Ne}-button`,size:at},en))))};const ve="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ye=Se=>{const{prefixCls:fe,className:qe,rootClassName:Ct,style:Fe,active:Ce}=Se,{getPrefixCls:at}=Be.useContext(Me.E_),Je=at("skeleton",fe),[Ne,mt]=pe(Je),un=ue()(Je,`${Je}-element`,{[`${Je}-active`]:Ce},qe,Ct,mt);return Ne(Be.createElement("div",{className:un},Be.createElement("div",{className:ue()(`${Je}-image`,qe),style:Fe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Je}-image-svg`},Be.createElement("path",{d:ve,className:`${Je}-image-path`})))))},De=Se=>{const{prefixCls:fe,className:qe,rootClassName:Ct,active:Fe,block:Ce,size:at="default"}=Se,{getPrefixCls:Je}=Be.useContext(Me.E_),Ne=Je("skeleton",fe),[mt,un]=pe(Ne),en=(0,Le.Z)(Se,["prefixCls"]),zt=ue()(Ne,`${Ne}-element`,{[`${Ne}-active`]:Fe,[`${Ne}-block`]:Ce},qe,Ct,un);return mt(Be.createElement("div",{className:zt},Be.createElement(se,Object.assign({prefixCls:`${Ne}-input`,size:at},en))))},ut=te(92413),Ft={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"},yt=Ft,gt=te(7657),Xt=function(fe,qe){return Be.createElement(gt.Z,(0,ut.Z)({},fe,{ref:qe,icon:yt}))},vt=Be.forwardRef(Xt),an=vt,tt=Se=>{const{prefixCls:fe,className:qe,rootClassName:Ct,style:Fe,active:Ce,children:at}=Se,{getPrefixCls:Je}=Be.useContext(Me.E_),Ne=Je("skeleton",fe),[mt,un]=pe(Ne),en=ue()(Ne,`${Ne}-element`,{[`${Ne}-active`]:Ce},un,qe,Ct),zt=at!=null?at:Be.createElement(an,null);return mt(Be.createElement("div",{className:en},Be.createElement("div",{className:ue()(`${Ne}-image`,qe),style:Fe},zt)))},et=te(26407),hn=Se=>{const fe=Je=>{const{width:Ne,rows:mt=2}=Se;if(Array.isArray(Ne))return Ne[Je];if(mt-1===Je)return Ne},{prefixCls:qe,className:Ct,style:Fe,rows:Ce}=Se,at=(0,et.Z)(Array(Ce)).map((Je,Ne)=>Be.createElement("li",{key:Ne,style:{width:fe(Ne)}}));return Be.createElement("ul",{className:ue()(qe,Ct),style:Fe},at)},vn=Se=>{let{prefixCls:fe,className:qe,width:Ct,style:Fe}=Se;return Be.createElement("h3",{className:ue()(fe,qe),style:Object.assign({width:Ct},Fe)})};function je(Se){return Se&&typeof Se=="object"?Se:{}}function Ot(Se,fe){return Se&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Wt(Se,fe){return!Se&&fe?{width:"38%"}:Se&&fe?{width:"50%"}:{}}function Mt(Se,fe){const qe={};return(!Se||!fe)&&(qe.width="61%"),!Se&&fe?qe.rows=3:qe.rows=2,qe}const ht=Se=>{const{prefixCls:fe,loading:qe,className:Ct,rootClassName:Fe,style:Ce,children:at,avatar:Je=!1,title:Ne=!0,paragraph:mt=!0,active:un,round:en}=Se,{getPrefixCls:zt,direction:ln,skeleton:on}=Be.useContext(Me.E_),ze=zt("skeleton",fe),[At,Lt]=pe(ze);if(qe||!("loading"in Se)){const St=!!Je,Dt=!!Ne,fn=!!mt;let Pn;if(St){const ta=Object.assign(Object.assign({prefixCls:`${ze}-avatar`},Ot(Dt,fn)),je(Je));Pn=Be.createElement("div",{className:`${ze}-header`},Be.createElement(se,Object.assign({},ta)))}let bn;if(Dt||fn){let ta;if(Dt){const jn=Object.assign(Object.assign({prefixCls:`${ze}-title`},Wt(St,fn)),je(Ne));ta=Be.createElement(vn,Object.assign({},jn))}let oa;if(fn){const jn=Object.assign(Object.assign({prefixCls:`${ze}-paragraph`},Mt(St,Dt)),je(mt));oa=Be.createElement(hn,Object.assign({},jn))}bn=Be.createElement("div",{className:`${ze}-content`},ta,oa)}const Ln=ue()(ze,{[`${ze}-with-avatar`]:St,[`${ze}-active`]:un,[`${ze}-rtl`]:ln==="rtl",[`${ze}-round`]:en},on==null?void 0:on.className,Ct,Fe,Lt);return At(Be.createElement("div",{className:Ln,style:Object.assign(Object.assign({},on==null?void 0:on.style),Ce)},Pn,bn))}return typeof at!="undefined"?at:null};ht.Button=Qe,ht.Avatar=Ge,ht.Input=De,ht.Image=Ye,ht.Node=tt;var rt=ht,_e=rt},31797:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return pe}});var x=te(59301),ue=te(56762),Be=te(92343),Me=te(92310),Le=te.n(Me),Oe=te(36355),se=te(61621),ot=ye=>{const{value:Ge,formatter:Ae,precision:Qe,decimalSeparator:ve,groupSeparator:Te="",prefixCls:Ye}=ye;let bt;if(typeof Ae=="function")bt=Ae(Ge);else{const De=String(Ge),ut=De.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ut||De==="-")bt=De;else{const Ft=ut[1];let yt=ut[2]||"0",gt=ut[4]||"";yt=yt.replace(/\B(?=(\d{3})+(?!\d))/g,Te),typeof Qe=="number"&&(gt=gt.padEnd(Qe,"0").slice(0,Qe>0?Qe:0)),gt&&(gt=`${ve}${gt}`),bt=[x.createElement("span",{key:"int",className:`${Ye}-content-value-int`},Ft,yt),gt&&x.createElement("span",{key:"decimal",className:`${Ye}-content-value-decimal`},gt)]}}return x.createElement("span",{className:`${Ye}-content-value`},bt)},Ve=te(17313),We=te(83116),nt=te(37613);const Xe=ye=>{const{componentCls:Ge,marginXXS:Ae,padding:Qe,colorTextDescription:ve,titleFontSize:Te,colorTextHeading:Ye,contentFontSize:bt,fontFamily:De}=ye;return{[`${Ge}`]:Object.assign(Object.assign({},(0,Ve.Wf)(ye)),{[`${Ge}-title`]:{marginBottom:Ae,color:ve,fontSize:Te},[`${Ge}-skeleton`]:{paddingTop:Qe},[`${Ge}-content`]:{color:Ye,fontSize:bt,fontFamily:De,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:Ae},[`${Ge}-content-suffix`]:{marginInlineStart:Ae}}})}};var le=(0,We.Z)("Statistic",ye=>{const Ge=(0,nt.TS)(ye,{});return[Xe(Ge)]},ye=>{const{fontSizeHeading3:Ge,fontSize:Ae}=ye;return{titleFontSize:Ae,contentFontSize:Ge}}),a=ye=>{const{prefixCls:Ge,className:Ae,rootClassName:Qe,style:ve,valueStyle:Te,value:Ye=0,title:bt,valueRender:De,prefix:ut,suffix:Ft,loading:yt=!1,onMouseEnter:gt,onMouseLeave:Xt,decimalSeparator:vt=".",groupSeparator:an=","}=ye,{getPrefixCls:En,direction:tt,statistic:et}=x.useContext(Oe.E_),qt=En("statistic",Ge),[hn,kt]=le(qt),vn=x.createElement(ot,Object.assign({decimalSeparator:vt,groupSeparator:an,prefixCls:qt},ye,{value:Ye})),je=Le()(qt,{[`${qt}-rtl`]:tt==="rtl"},et==null?void 0:et.className,Ae,Qe,kt);return hn(x.createElement("div",{className:je,style:Object.assign(Object.assign({},et==null?void 0:et.style),ve),onMouseEnter:gt,onMouseLeave:Xt},bt&&x.createElement("div",{className:`${qt}-title`},bt),x.createElement(se.Z,{paragraph:!1,loading:yt,className:`${qt}-skeleton`},x.createElement("div",{style:Te,className:`${qt}-content`},ut&&x.createElement("span",{className:`${qt}-content-prefix`},ut),De?De(vn):vn,Ft&&x.createElement("span",{className:`${qt}-content-suffix`},Ft)))))};const b=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function E(ye,Ge){let Ae=ye;const Qe=/\[[^\]]*]/g,ve=(Ge.match(Qe)||[]).map(De=>De.slice(1,-1)),Te=Ge.replace(Qe,"[]"),Ye=b.reduce((De,ut)=>{let[Ft,yt]=ut;if(De.includes(Ft)){const gt=Math.floor(Ae/yt);return Ae-=gt*yt,De.replace(new RegExp(`${Ft}+`,"g"),Xt=>{const vt=Xt.length;return gt.toString().padStart(vt,"0")})}return De},Te);let bt=0;return Ye.replace(Qe,()=>{const De=ve[bt];return bt+=1,De})}function z(ye,Ge){const{format:Ae=""}=Ge,Qe=new Date(ye).getTime(),ve=Date.now(),Te=Math.max(Qe-ve,0);return E(Te,Ae)}const ne=1e3/30;function re(ye){return new Date(ye).getTime()}const ie=ye=>{const{value:Ge,format:Ae="HH:mm:ss",onChange:Qe,onFinish:ve}=ye,Te=(0,ue.Z)(),Ye=x.useRef(null),bt=()=>{ve==null||ve(),Ye.current&&(clearInterval(Ye.current),Ye.current=null)},De=()=>{const yt=re(Ge);yt>=Date.now()&&(Ye.current=setInterval(()=>{Te(),Qe==null||Qe(yt-Date.now()),yt<Date.now()&&bt()},ne))};x.useEffect(()=>(De(),()=>{Ye.current&&(clearInterval(Ye.current),Ye.current=null)}),[Ge]);const ut=(yt,gt)=>z(yt,Object.assign(Object.assign({},gt),{format:Ae})),Ft=yt=>(0,Be.Tm)(yt,{title:void 0});return x.createElement(a,Object.assign({},ye,{valueRender:Ft,formatter:ut}))};var me=x.memo(ie);a.Countdown=me;var pe=a},15969:function(Ut,Gt,te){"use strict";te.d(Gt,{N:function(){return x}});const x=ue=>({color:ue.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ue.motionDurationSlow}`,"&:focus, &:hover":{color:ue.colorLinkHover},"&:active":{color:ue.colorLinkActive}})},1710:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return Ka}});var x={},ue="rc-table-internal-hook",Be=te(33606),Me=te(6089),Le=te(34280),Oe=te(13697),se=te(59301),dt=te(4676);function ot(ge){var ce=se.createContext(void 0),be=function(Ie){var He=Ie.value,pt=Ie.children,Bt=se.useRef(He);Bt.current=He;var it=se.useState(function(){return{getValue:function(){return Bt.current},listeners:new Set}}),Ht=(0,Be.Z)(it,1),wt=Ht[0];return(0,Le.Z)(function(){(0,dt.unstable_batchedUpdates)(function(){wt.listeners.forEach(function(Jt){Jt(He)})})},[He]),se.createElement(ce.Provider,{value:wt},pt)};return{Context:ce,Provider:be,defaultValue:ge}}function Ve(ge,ce){var be=(0,Me.Z)(typeof ce=="function"?ce:function(Jt){if(ce===void 0)return Jt;if(!Array.isArray(ce))return Jt[ce];var Rn={};return ce.forEach(function(_t){Rn[_t]=Jt[_t]}),Rn}),ke=se.useContext(ge==null?void 0:ge.Context),Ie=ke||{},He=Ie.listeners,pt=Ie.getValue,Bt=se.useRef();Bt.current=be(ke?pt():ge==null?void 0:ge.defaultValue);var it=se.useState({}),Ht=(0,Be.Z)(it,2),wt=Ht[1];return(0,Le.Z)(function(){if(!ke)return;function Jt(Rn){var _t=be(Rn);(0,Oe.Z)(Bt.current,_t,!0)||wt({})}return He.add(Jt),function(){He.delete(Jt)}},[ke]),Bt.current}var We=te(92413),nt=te(8654);function Xe(){var ge=se.createContext(null);function ce(){return se.useContext(ge)}function be(Ie,He){var pt=(0,nt.Yr)(Ie),Bt=function(Ht,wt){var Jt=pt?{ref:wt}:{},Rn=se.useRef(0),_t=se.useRef(Ht),It=ce();return It!==null?se.createElement(Ie,(0,We.Z)({},Ht,Jt)):((!He||He(_t.current,Ht))&&(Rn.current+=1),_t.current=Ht,se.createElement(ge.Provider,{value:Rn.current},se.createElement(Ie,(0,We.Z)({},Ht,Jt))))};return pt?se.forwardRef(Bt):Bt}function ke(Ie,He){var pt=(0,nt.Yr)(Ie),Bt=function(Ht,wt){var Jt=pt?{ref:wt}:{};return ce(),se.createElement(Ie,(0,We.Z)({},Ht,Jt))};return pt?se.memo(se.forwardRef(Bt),He):se.memo(Bt,He)}return{makeImmutable:be,responseImmutable:ke,useImmutableMark:ce}}var le=Xe(),y=le.makeImmutable,a=le.responseImmutable,b=le.useImmutableMark,E=Xe(),z=E.makeImmutable,ne=E.responseImmutable,re=E.useImmutableMark,ie=ot(),me=ie;function pe(ge,ce){var be=se.useRef(0);be.current+=1;var ke=se.useRef(ge),Ie=[];Object.keys(ge||{}).map(function(pt){var Bt;(ge==null?void 0:ge[pt])!==((Bt=ke.current)===null||Bt===void 0?void 0:Bt[pt])&&Ie.push(pt)}),ke.current=ge;var He=se.useRef([]);return Ie.length&&(He.current=Ie),se.useDebugValue(be.current),se.useDebugValue(He.current.join(", ")),ce&&console.log("".concat(ce,":"),be.current,He.current),be.current}var ye=null,Ge=se.memo(function(){var ge=pe();return se.createElement("h1",null,"Render Times: ",ge)});Ge.displayName="RenderBlock";var Ae=te(39559),Qe=te(33708),ve=te(400),Te=te(92310),Ye=te.n(Te),bt=te(80547),De=te(97938),ut=te(48736),Ft=se.createContext({renderWithProps:!1}),yt=Ft,gt="RC_TABLE_KEY";function Xt(ge){return ge==null?[]:Array.isArray(ge)?ge:[ge]}function vt(ge){var ce=[],be={};return ge.forEach(function(ke){for(var Ie=ke||{},He=Ie.key,pt=Ie.dataIndex,Bt=He||Xt(pt).join("-")||gt;be[Bt];)Bt="".concat(Bt,"_next");be[Bt]=!0,ce.push(Bt)}),ce}function an(ge){return ge!=null}function En(ge){return ge&&(0,Ae.Z)(ge)==="object"&&!Array.isArray(ge)&&!se.isValidElement(ge)}function tt(ge,ce,be,ke,Ie,He){var pt=se.useContext(yt),Bt=re(),it=(0,bt.Z)(function(){if(an(ke))return[ke];var Ht=ce==null||ce===""?[]:Array.isArray(ce)?ce:[ce],wt=(0,De.Z)(ge,Ht),Jt=wt,Rn=void 0;if(Ie){var _t=Ie(wt,ge,be);En(_t)?(Jt=_t.children,Rn=_t.props,pt.renderWithProps=!0):Jt=_t}return[Jt,Rn]},[Bt,ge,ke,ce,Ie,be],function(Ht,wt){if(He){var Jt=(0,Be.Z)(Ht,2),Rn=Jt[1],_t=(0,Be.Z)(wt,2),It=_t[1];return He(It,Rn)}return pt.renderWithProps?!0:!(0,Oe.Z)(Ht,wt,!0)});return it}function et(ge,ce,be,ke){var Ie=ge+ce-1;return ge<=ke&&Ie>=be}function qt(ge,ce){return Ve(me,function(be){var ke=et(ge,ce||1,be.hoverStartRow,be.hoverEndRow);return[ke,be.onHover]})}var hn=function(ce){var be=ce.ellipsis,ke=ce.rowType,Ie=ce.children,He,pt=be===!0?{showTitle:!0}:be;return pt&&(pt.showTitle||ke==="header")&&(typeof Ie=="string"||typeof Ie=="number"?He=Ie.toString():se.isValidElement(Ie)&&typeof Ie.props.children=="string"&&(He=Ie.props.children)),He};function kt(ge){var ce,be,ke,Ie,He,pt,Bt,it,Ht=ge.component,wt=ge.children,Jt=ge.ellipsis,Rn=ge.scope,_t=ge.prefixCls,It=ge.className,$n=ge.align,Kn=ge.record,Yn=ge.render,Qn=ge.dataIndex,ea=ge.renderIndex,xn=ge.shouldCellUpdate,ba=ge.index,ya=ge.rowType,Za=ge.colSpan,ja=ge.rowSpan,la=ge.fixLeft,Pa=ge.fixRight,Sa=ge.firstFixLeft,Wn=ge.lastFixLeft,ca=ge.firstFixRight,Ta=ge.lastFixRight,qa=ge.appendNode,nr=ge.additionalProps,Wa=nr===void 0?{}:nr,gr=ge.isSticky,Sr="".concat(_t,"-cell"),Wr=Ve(me,["supportSticky","allColumnsFixedLeft"]),_r=Wr.supportSticky,ho=Wr.allColumnsFixedLeft,eo=tt(Kn,Qn,ea,wt,Yn,xn),Br=(0,Be.Z)(eo,2),Do=Br[0],Ur=Br[1],So={},oo=typeof la=="number"&&_r,Jo=typeof Pa=="number"&&_r;oo&&(So.position="sticky",So.left=la),Jo&&(So.position="sticky",So.right=Pa);var or=(ce=(be=(ke=Ur==null?void 0:Ur.colSpan)!==null&&ke!==void 0?ke:Wa.colSpan)!==null&&be!==void 0?be:Za)!==null&&ce!==void 0?ce:1,ir=(Ie=(He=(pt=Ur==null?void 0:Ur.rowSpan)!==null&&pt!==void 0?pt:Wa.rowSpan)!==null&&He!==void 0?He:ja)!==null&&Ie!==void 0?Ie:1,_a=qt(ba,ir),er=(0,Be.Z)(_a,2),Gr=er[0],tr=er[1],sr=function(No){var Io;Kn&&tr(ba,ba+ir-1),Wa==null||(Io=Wa.onMouseEnter)===null||Io===void 0||Io.call(Wa,No)},Rr=function(No){var Io;Kn&&tr(-1,-1),Wa==null||(Io=Wa.onMouseLeave)===null||Io===void 0||Io.call(Wa,No)};if(or===0||ir===0)return null;var Dr=(Bt=Wa.title)!==null&&Bt!==void 0?Bt:hn({rowType:ya,ellipsis:Jt,children:Do}),io=Ye()(Sr,It,(it={},(0,ve.Z)(it,"".concat(Sr,"-fix-left"),oo&&_r),(0,ve.Z)(it,"".concat(Sr,"-fix-left-first"),Sa&&_r),(0,ve.Z)(it,"".concat(Sr,"-fix-left-last"),Wn&&_r),(0,ve.Z)(it,"".concat(Sr,"-fix-left-all"),Wn&&ho&&_r),(0,ve.Z)(it,"".concat(Sr,"-fix-right"),Jo&&_r),(0,ve.Z)(it,"".concat(Sr,"-fix-right-first"),ca&&_r),(0,ve.Z)(it,"".concat(Sr,"-fix-right-last"),Ta&&_r),(0,ve.Z)(it,"".concat(Sr,"-ellipsis"),Jt),(0,ve.Z)(it,"".concat(Sr,"-with-append"),qa),(0,ve.Z)(it,"".concat(Sr,"-fix-sticky"),(oo||Jo)&&gr&&_r),(0,ve.Z)(it,"".concat(Sr,"-row-hover"),!Ur&&Gr),it),Wa.className,Ur==null?void 0:Ur.className),wo={};$n&&(wo.textAlign=$n);var _o=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},So),Wa.style),wo),Ur==null?void 0:Ur.style),Ro=Do;return(0,Ae.Z)(Ro)==="object"&&!Array.isArray(Ro)&&!se.isValidElement(Ro)&&(Ro=null),Jt&&(Wn||ca)&&(Ro=se.createElement("span",{className:"".concat(Sr,"-content")},Ro)),se.createElement(Ht,(0,We.Z)({},Ur,Wa,{className:io,style:_o,title:Dr,scope:Rn,onMouseEnter:sr,onMouseLeave:Rr,colSpan:or!==1?or:null,rowSpan:ir!==1?ir:null}),qa,Ro)}var vn=se.memo(kt);function je(ge,ce,be,ke,Ie,He){var pt=be[ge]||{},Bt=be[ce]||{},it,Ht;pt.fixed==="left"?it=ke.left[Ie==="rtl"?ce:ge]:Bt.fixed==="right"&&(Ht=ke.right[Ie==="rtl"?ge:ce]);var wt=!1,Jt=!1,Rn=!1,_t=!1,It=be[ce+1],$n=be[ge-1],Kn=!(He!=null&&He.children);if(Ie==="rtl"){if(it!==void 0){var Yn=$n&&$n.fixed==="left";_t=!Yn&&Kn}else if(Ht!==void 0){var Qn=It&&It.fixed==="right";Rn=!Qn&&Kn}}else if(it!==void 0){var ea=It&&It.fixed==="left";wt=!ea&&Kn}else if(Ht!==void 0){var xn=$n&&$n.fixed==="right";Jt=!xn&&Kn}return{fixLeft:it,fixRight:Ht,lastFixLeft:wt,firstFixRight:Jt,lastFixRight:Rn,firstFixLeft:_t,isSticky:ke.isSticky}}var Ot=se.createContext({}),Wt=Ot;function Mt(ge){var ce=ge.className,be=ge.index,ke=ge.children,Ie=ge.colSpan,He=Ie===void 0?1:Ie,pt=ge.rowSpan,Bt=ge.align,it=Ve(me,["prefixCls","direction"]),Ht=it.prefixCls,wt=it.direction,Jt=se.useContext(Wt),Rn=Jt.scrollColumnIndex,_t=Jt.stickyOffsets,It=Jt.flattenColumns,$n=Jt.columns,Kn=be+He-1,Yn=Kn+1===Rn?He+1:He,Qn=je(be,be+Yn-1,It,_t,wt,$n==null?void 0:$n[be]);return se.createElement(vn,(0,We.Z)({className:ce,index:be,component:"td",prefixCls:Ht,record:null,dataIndex:null,align:Bt,colSpan:Yn,rowSpan:pt,render:function(){return ke}},Qn))}var ht=te(37061),rt=["children"];function _e(ge){var ce=ge.children,be=(0,ht.Z)(ge,rt);return se.createElement("tr",be,ce)}function Se(ge){var ce=ge.children;return ce}Se.Row=_e,Se.Cell=Mt;var fe=Se;function qe(ge){var ce=ge.children,be=ge.stickyOffsets,ke=ge.flattenColumns,Ie=ge.columns,He=Ve(me,"prefixCls"),pt=ke.length-1,Bt=ke[pt],it=se.useMemo(function(){return{stickyOffsets:be,flattenColumns:ke,scrollColumnIndex:Bt!=null&&Bt.scrollbar?pt:null,columns:Ie}},[Bt,ke,pt,be,Ie]);return se.createElement(Wt.Provider,{value:it},se.createElement("tfoot",{className:"".concat(He,"-summary")},ce))}var Ct=ne(qe),Fe=fe,Ce=te(70425),at=te(29301),Je=te(29194),Ne=te(24514),mt=te(75152),un=te(26112);function en(ge,ce,be,ke,Ie,He,pt){ge.push({record:ce,indent:be,index:pt});var Bt=He(ce),it=Ie==null?void 0:Ie.has(Bt);if(ce&&Array.isArray(ce[ke])&&it)for(var Ht=0;Ht<ce[ke].length;Ht+=1)en(ge,ce[ke][Ht],be+1,ke,Ie,He,Ht)}function zt(ge,ce,be,ke){var Ie=se.useMemo(function(){if(be!=null&&be.size){for(var He=[],pt=0;pt<(ge==null?void 0:ge.length);pt+=1){var Bt=ge[pt];en(He,Bt,0,ce,be,ke,pt)}return He}return ge==null?void 0:ge.map(function(it,Ht){return{record:it,indent:0,index:Ht}})},[ge,ce,be,ke]);return Ie}function ln(ge){var ce=ge.prefixCls,be=ge.children,ke=ge.component,Ie=ge.cellComponent,He=ge.className,pt=ge.expanded,Bt=ge.colSpan,it=ge.isEmpty,Ht=Ve(me,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),wt=Ht.scrollbarSize,Jt=Ht.fixHeader,Rn=Ht.fixColumn,_t=Ht.componentWidth,It=Ht.horizonScroll,$n=be;return(it?It&&_t:Rn)&&($n=se.createElement("div",{style:{width:_t-(Jt?wt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ce,"-expanded-row-fixed")},$n)),se.createElement(ke,{className:He,style:{display:pt?null:"none"}},se.createElement(vn,{component:Ie,prefixCls:ce,colSpan:Bt},$n))}var on=ln;function ze(ge,ce,be,ke){var Ie=Ve(me,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),He=Ie.flattenColumns,pt=Ie.expandableType,Bt=Ie.expandedKeys,it=Ie.childrenColumnName,Ht=Ie.onTriggerExpand,wt=Ie.rowExpandable,Jt=Ie.onRow,Rn=Ie.expandRowByClick,_t=Ie.rowClassName,It=pt==="nest",$n=pt==="row"&&(!wt||wt(ge)),Kn=$n||It,Yn=Bt&&Bt.has(ce),Qn=it&&ge&&ge[it],ea=(0,Ce.useEvent)(Ht),xn=Jt==null?void 0:Jt(ge,be),ba=xn==null?void 0:xn.onClick,ya=function(Pa){Rn&&Kn&&Ht(ge,Pa);for(var Sa=arguments.length,Wn=new Array(Sa>1?Sa-1:0),ca=1;ca<Sa;ca++)Wn[ca-1]=arguments[ca];ba==null||ba.apply(void 0,[Pa].concat(Wn))},Za;typeof _t=="string"?Za=_t:typeof _t=="function"&&(Za=_t(ge,be,ke));var ja=vt(He);return(0,Qe.Z)((0,Qe.Z)({},Ie),{},{columnsKey:ja,nestExpandable:It,expanded:Yn,hasNestChildren:Qn,record:ge,onTriggerExpand:ea,rowSupportExpand:$n,expandable:Kn,rowProps:(0,Qe.Z)((0,Qe.Z)({},xn),{},{className:Ye()(Za,xn==null?void 0:xn.className),onClick:ya})})}function At(ge,ce,be,ke,Ie){var He=ge.record,pt=ge.prefixCls,Bt=ge.columnsKey,it=ge.fixedInfoList,Ht=ge.expandIconColumnIndex,wt=ge.nestExpandable,Jt=ge.indentSize,Rn=ge.expandIcon,_t=ge.expanded,It=ge.hasNestChildren,$n=ge.onTriggerExpand,Kn=Bt[be],Yn=it[be],Qn;be===(Ht||0)&&wt&&(Qn=se.createElement(se.Fragment,null,se.createElement("span",{style:{paddingLeft:"".concat(Jt*ke,"px")},className:"".concat(pt,"-row-indent indent-level-").concat(ke)}),Rn({prefixCls:pt,expanded:_t,expandable:It,record:He,onExpand:$n})));var ea;return ce.onCell&&(ea=ce.onCell(He,Ie)),{key:Kn,fixedInfo:Yn,appendCellNode:Qn,additionalCellProps:ea||{}}}function Lt(ge){var ce=ge.className,be=ge.style,ke=ge.record,Ie=ge.index,He=ge.renderIndex,pt=ge.rowKey,Bt=ge.indent,it=Bt===void 0?0:Bt,Ht=ge.rowComponent,wt=ge.cellComponent,Jt=ge.scopeCellComponent,Rn=ze(ke,pt,Ie,it),_t=Rn.prefixCls,It=Rn.flattenColumns,$n=Rn.expandedRowClassName,Kn=Rn.expandedRowRender,Yn=Rn.rowProps,Qn=Rn.expanded,ea=Rn.rowSupportExpand,xn=se.useState(!1),ba=(0,Be.Z)(xn,2),ya=ba[0],Za=ba[1];se.useEffect(function(){Qn&&Za(!0)},[Qn]);var ja=se.createElement(Ht,(0,We.Z)({},Yn,{"data-row-key":pt,className:Ye()(ce,"".concat(_t,"-row"),"".concat(_t,"-row-level-").concat(it),Yn==null?void 0:Yn.className),style:(0,Qe.Z)((0,Qe.Z)({},be),Yn==null?void 0:Yn.style)}),It.map(function(Wn,ca){var Ta=Wn.render,qa=Wn.dataIndex,nr=Wn.className,Wa=At(Rn,Wn,ca,it,Ie),gr=Wa.key,Sr=Wa.fixedInfo,Wr=Wa.appendCellNode,_r=Wa.additionalCellProps;return se.createElement(vn,(0,We.Z)({className:nr,ellipsis:Wn.ellipsis,align:Wn.align,scope:Wn.rowScope,component:Wn.rowScope?Jt:wt,prefixCls:_t,key:gr,record:ke,index:Ie,renderIndex:He,dataIndex:qa,render:Ta,shouldCellUpdate:Wn.shouldCellUpdate},Sr,{appendNode:Wr,additionalProps:_r}))})),la;if(ea&&(ya||Qn)){var Pa=Kn(ke,Ie,it+1,Qn),Sa=$n&&$n(ke,Ie,it);la=se.createElement(on,{expanded:Qn,className:Ye()("".concat(_t,"-expanded-row"),"".concat(_t,"-expanded-row-level-").concat(it+1),Sa),prefixCls:_t,component:Ht,cellComponent:wt,colSpan:It.length,isEmpty:!1},Pa)}return se.createElement(se.Fragment,null,ja,la)}Lt.displayName="BodyRow";var St=ne(Lt);function Dt(ge){var ce=ge.columnKey,be=ge.onColumnResize,ke=se.useRef();return se.useEffect(function(){ke.current&&be(ce,ke.current.offsetWidth)},[]),se.createElement(at.Z,{data:ce},se.createElement("td",{ref:ke,style:{padding:0,border:0,height:0}},se.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function fn(ge){var ce=ge.prefixCls,be=ge.columnsKey,ke=ge.onColumnResize;return se.createElement("tr",{"aria-hidden":"true",className:"".concat(ce,"-measure-row"),style:{height:0,fontSize:0}},se.createElement(at.Z.Collection,{onBatchResize:function(He){He.forEach(function(pt){var Bt=pt.data,it=pt.size;ke(Bt,it.offsetWidth)})}},be.map(function(Ie){return se.createElement(Dt,{key:Ie,columnKey:Ie,onColumnResize:ke})})))}function Pn(ge){var ce=ge.data,be=ge.measureColumnWidth,ke=Ve(me,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ie=ke.prefixCls,He=ke.getComponent,pt=ke.onColumnResize,Bt=ke.flattenColumns,it=ke.getRowKey,Ht=ke.expandedKeys,wt=ke.childrenColumnName,Jt=ke.emptyNode,Rn=zt(ce,wt,Ht,it),_t=se.useRef({renderWithProps:!1}),It=He(["body","wrapper"],"tbody"),$n=He(["body","row"],"tr"),Kn=He(["body","cell"],"td"),Yn=He(["body","cell"],"th"),Qn;ce.length?Qn=Rn.map(function(xn,ba){var ya=xn.record,Za=xn.indent,ja=xn.index,la=it(ya,ba);return se.createElement(St,{key:la,rowKey:la,record:ya,index:ba,renderIndex:ja,rowComponent:$n,cellComponent:Kn,scopeCellComponent:Yn,getRowKey:it,indent:Za})}):Qn=se.createElement(on,{expanded:!0,className:"".concat(Ie,"-placeholder"),prefixCls:Ie,component:$n,cellComponent:Kn,colSpan:Bt.length,isEmpty:!0},Jt);var ea=vt(Bt);return se.createElement(yt.Provider,{value:_t.current},se.createElement(It,{className:"".concat(Ie,"-tbody")},be&&se.createElement(fn,{prefixCls:Ie,columnsKey:ea,onColumnResize:pt}),Qn))}Pn.displayName="Body";var bn=ne(Pn),Ln=["expandable"],ta="RC_TABLE_INTERNAL_COL_DEFINE";function oa(ge){var ce=ge.expandable,be=(0,ht.Z)(ge,Ln),ke;return"expandable"in ge?ke=(0,Qe.Z)((0,Qe.Z)({},be),ce):ke=be,ke.showExpandColumn===!1&&(ke.expandIconColumnIndex=-1),ke}var jn=["columnType"];function Ea(ge){for(var ce=ge.colWidths,be=ge.columns,ke=ge.columCount,Ie=[],He=ke||be.length,pt=!1,Bt=He-1;Bt>=0;Bt-=1){var it=ce[Bt],Ht=be&&be[Bt],wt=Ht&&Ht[ta];if(it||wt||pt){var Jt=wt||{},Rn=Jt.columnType,_t=(0,ht.Z)(Jt,jn);Ie.unshift(se.createElement("col",(0,We.Z)({key:Bt,style:{width:it}},_t))),pt=!0}}return se.createElement("colgroup",null,Ie)}var va=Ea,Hn=te(26407),Ba=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Yt(ge,ce){return(0,se.useMemo)(function(){for(var be=[],ke=0;ke<ce;ke+=1){var Ie=ge[ke];if(Ie!==void 0)be[ke]=Ie;else return null}return be},[ge.join("_"),ce])}var An=se.forwardRef(function(ge,ce){var be=ge.className,ke=ge.noData,Ie=ge.columns,He=ge.flattenColumns,pt=ge.colWidths,Bt=ge.columCount,it=ge.stickyOffsets,Ht=ge.direction,wt=ge.fixHeader,Jt=ge.stickyTopOffset,Rn=ge.stickyBottomOffset,_t=ge.stickyClassName,It=ge.onScroll,$n=ge.maxContentScroll,Kn=ge.children,Yn=(0,ht.Z)(ge,Ba),Qn=Ve(me,["prefixCls","scrollbarSize","isSticky"]),ea=Qn.prefixCls,xn=Qn.scrollbarSize,ba=Qn.isSticky,ya=ba&&!wt?0:xn,Za=se.useRef(null),ja=se.useCallback(function(nr){(0,nt.mH)(ce,nr),(0,nt.mH)(Za,nr)},[]);se.useEffect(function(){var nr;function Wa(gr){var Sr=gr,Wr=Sr.currentTarget,_r=Sr.deltaX;_r&&(It({currentTarget:Wr,scrollLeft:Wr.scrollLeft+_r}),gr.preventDefault())}return(nr=Za.current)===null||nr===void 0||nr.addEventListener("wheel",Wa),function(){var gr;(gr=Za.current)===null||gr===void 0||gr.removeEventListener("wheel",Wa)}},[]);var la=se.useMemo(function(){return He.every(function(nr){return nr.width})},[He]),Pa=He[He.length-1],Sa={fixed:Pa?Pa.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(ea,"-cell-scrollbar")}}},Wn=(0,se.useMemo)(function(){return ya?[].concat((0,Hn.Z)(Ie),[Sa]):Ie},[ya,Ie]),ca=(0,se.useMemo)(function(){return ya?[].concat((0,Hn.Z)(He),[Sa]):He},[ya,He]),Ta=(0,se.useMemo)(function(){var nr=it.right,Wa=it.left;return(0,Qe.Z)((0,Qe.Z)({},it),{},{left:Ht==="rtl"?[].concat((0,Hn.Z)(Wa.map(function(gr){return gr+ya})),[0]):Wa,right:Ht==="rtl"?nr:[].concat((0,Hn.Z)(nr.map(function(gr){return gr+ya})),[0]),isSticky:ba})},[ya,it,ba]),qa=Yt(pt,Bt);return se.createElement("div",{style:(0,Qe.Z)({overflow:"hidden"},ba?{top:Jt,bottom:Rn}:{}),ref:ja,className:Ye()(be,(0,ve.Z)({},_t,!!_t))},se.createElement("table",{style:{tableLayout:"fixed",visibility:ke||qa?null:"hidden"}},(!ke||!$n||la)&&se.createElement(va,{colWidths:qa?[].concat((0,Hn.Z)(qa),[ya]):[],columCount:Bt+1,columns:ca}),Kn((0,Qe.Z)((0,Qe.Z)({},Yn),{},{stickyOffsets:Ta,columns:Wn,flattenColumns:ca}))))});An.displayName="FixedHolder";var Fn=se.memo(An);function Xn(ge){var ce=ge.cells,be=ge.stickyOffsets,ke=ge.flattenColumns,Ie=ge.rowComponent,He=ge.cellComponent,pt=ge.tdCellComponent,Bt=ge.onHeaderRow,it=ge.index,Ht=Ve(me,["prefixCls","direction"]),wt=Ht.prefixCls,Jt=Ht.direction,Rn;Bt&&(Rn=Bt(ce.map(function(It){return It.column}),it));var _t=vt(ce.map(function(It){return It.column}));return se.createElement(Ie,Rn,ce.map(function(It,$n){var Kn=It.column,Yn=je(It.colStart,It.colEnd,ke,be,Jt,Kn),Qn;return Kn&&Kn.onHeaderCell&&(Qn=It.column.onHeaderCell(Kn)),se.createElement(vn,(0,We.Z)({},It,{scope:Kn.title?It.colSpan>1?"colgroup":"col":null,ellipsis:Kn.ellipsis,align:Kn.align,component:Kn.title?He:pt,prefixCls:wt,key:_t[$n]},Yn,{additionalProps:Qn,rowType:"header"}))}))}Xn.displayName="HeaderRow";var Ze=Xn;function Nt(ge){var ce=[];function be(pt,Bt){var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ce[it]=ce[it]||[];var Ht=Bt,wt=pt.filter(Boolean).map(function(Jt){var Rn={key:Jt.key,className:Jt.className||"",children:Jt.title,column:Jt,colStart:Ht},_t=1,It=Jt.children;return It&&It.length>0&&(_t=be(It,Ht,it+1).reduce(function($n,Kn){return $n+Kn},0),Rn.hasSubColumns=!0),"colSpan"in Jt&&(_t=Jt.colSpan),"rowSpan"in Jt&&(Rn.rowSpan=Jt.rowSpan),Rn.colSpan=_t,Rn.colEnd=Rn.colStart+_t-1,ce[it].push(Rn),Ht+=_t,_t});return wt}be(ge,0);for(var ke=ce.length,Ie=function(Bt){ce[Bt].forEach(function(it){!("rowSpan"in it)&&!it.hasSubColumns&&(it.rowSpan=ke-Bt)})},He=0;He<ke;He+=1)Ie(He);return ce}function Zt(ge){var ce=ge.stickyOffsets,be=ge.columns,ke=ge.flattenColumns,Ie=ge.onHeaderRow,He=Ve(me,["prefixCls","getComponent"]),pt=He.prefixCls,Bt=He.getComponent,it=se.useMemo(function(){return Nt(be)},[be]),Ht=Bt(["header","wrapper"],"thead"),wt=Bt(["header","row"],"tr"),Jt=Bt(["header","cell"],"th"),Rn=Bt(["header","cell"],"td");return se.createElement(Ht,{className:"".concat(pt,"-thead")},it.map(function(_t,It){var $n=se.createElement(Ze,{key:It,flattenColumns:ke,cells:_t,stickyOffsets:ce,rowComponent:wt,cellComponent:Jt,tdCellComponent:Rn,onHeaderRow:Ie,index:It});return $n}))}var Kt=ne(Zt),tn=te(11592);function jt(ge){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ce=="number"?ce:ce.endsWith("%")?ge*parseFloat(ce)/100:null}function pn(ge,ce){return se.useMemo(function(){if(ce&&ce>0){var be=0,ke=0;ge.forEach(function(Ht){var wt=jt(ce,Ht.width);wt?be+=wt:ke+=1});var Ie=ce-be,He=ke,pt=Ie/ke,Bt=0,it=ge.map(function(Ht){var wt=(0,Qe.Z)({},Ht),Jt=jt(ce,wt.width);if(Jt)wt.width=Jt;else{var Rn=Math.floor(pt);wt.width=He===1?Ie:Rn,Ie-=Rn,He-=1}return Bt+=wt.width,wt});return[it,Bt]}return[ge,ce]},[ge,ce])}var st=["children"],Pt=["fixed"];function ct(ge){return(0,tn.Z)(ge).filter(function(ce){return se.isValidElement(ce)}).map(function(ce){var be=ce.key,ke=ce.props,Ie=ke.children,He=(0,ht.Z)(ke,st),pt=(0,Qe.Z)({key:be},He);return Ie&&(pt.children=ct(Ie)),pt})}function rn(ge){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ge.filter(function(be){return be&&(0,Ae.Z)(be)==="object"}).reduce(function(be,ke,Ie){var He=ke.fixed,pt=He===!0?"left":He,Bt="".concat(ce,"-").concat(Ie),it=ke.children;return it&&it.length>0?[].concat((0,Hn.Z)(be),(0,Hn.Z)(rn(it,Bt).map(function(Ht){return(0,Qe.Z)({fixed:pt},Ht)}))):[].concat((0,Hn.Z)(be),[(0,Qe.Z)((0,Qe.Z)({key:Bt},ke),{},{fixed:pt})])},[])}function In(ge){for(var ce=!0,be=0;be<ge.length;be+=1){var ke=ge[be];if(ce&&ke.fixed!=="left")ce=!1;else if(!ce&&ke.fixed==="left"){warning(!1,"Index ".concat(be-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ie=!0,He=ge.length-1;He>=0;He-=1){var pt=ge[He];if(Ie&&pt.fixed!=="right")Ie=!1;else if(!Ie&&pt.fixed==="right"){warning(!1,"Index ".concat(He+1," of `columns` missing `fixed='right'` prop."));break}}}function yn(ge){return ge.map(function(ce){var be=ce.fixed,ke=(0,ht.Z)(ce,Pt),Ie=be;return be==="left"?Ie="right":be==="right"&&(Ie="left"),(0,Qe.Z)({fixed:Ie},ke)})}function ia(ge,ce){var be=ge.prefixCls,ke=ge.columns,Ie=ge.children,He=ge.expandable,pt=ge.expandedKeys,Bt=ge.columnTitle,it=ge.getRowKey,Ht=ge.onTriggerExpand,wt=ge.expandIcon,Jt=ge.rowExpandable,Rn=ge.expandIconColumnIndex,_t=ge.direction,It=ge.expandRowByClick,$n=ge.columnWidth,Kn=ge.fixed,Yn=ge.scrollWidth,Qn=se.useMemo(function(){return ke||ct(Ie)},[ke,Ie]),ea=se.useMemo(function(){if(He){var Pa,Sa=Qn.slice();if(!Sa.includes(x)){var Wn=Rn||0;Wn>=0&&Sa.splice(Wn,0,x)}var ca=Sa.indexOf(x);Sa=Sa.filter(function(Wa,gr){return Wa!==x||gr===ca});var Ta=Qn[ca],qa;(Kn==="left"||Kn)&&!Rn?qa="left":(Kn==="right"||Kn)&&Rn===Qn.length?qa="right":qa=Ta?Ta.fixed:null;var nr=(Pa={},(0,ve.Z)(Pa,ta,{className:"".concat(be,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ve.Z)(Pa,"title",Bt),(0,ve.Z)(Pa,"fixed",qa),(0,ve.Z)(Pa,"className","".concat(be,"-row-expand-icon-cell")),(0,ve.Z)(Pa,"width",$n),(0,ve.Z)(Pa,"render",function(gr,Sr,Wr){var _r=it(Sr,Wr),ho=pt.has(_r),eo=Jt?Jt(Sr):!0,Br=wt({prefixCls:be,expanded:ho,expandable:eo,record:Sr,onExpand:Ht});return It?se.createElement("span",{onClick:function(Ur){return Ur.stopPropagation()}},Br):Br}),Pa);return Sa.map(function(Wa){return Wa===x?nr:Wa})}return Qn.filter(function(Wa){return Wa!==x})},[He,Qn,it,pt,wt,_t]),xn=se.useMemo(function(){var Pa=ea;return ce&&(Pa=ce(Pa)),Pa.length||(Pa=[{render:function(){return null}}]),Pa},[ce,ea,_t]),ba=se.useMemo(function(){return _t==="rtl"?yn(rn(xn)):rn(xn)},[xn,_t,Yn]),ya=pn(ba,Yn),Za=(0,Be.Z)(ya,2),ja=Za[0],la=Za[1];return[xn,ja,la]}var Un=ia;function lt(ge){var ce,be=ge.prefixCls,ke=ge.record,Ie=ge.onExpand,He=ge.expanded,pt=ge.expandable,Bt="".concat(be,"-row-expand-icon");if(!pt)return se.createElement("span",{className:Ye()(Bt,"".concat(be,"-row-spaced"))});var it=function(wt){Ie(ke,wt),wt.stopPropagation()};return se.createElement("span",{className:Ye()(Bt,(ce={},(0,ve.Z)(ce,"".concat(be,"-row-expanded"),He),(0,ve.Z)(ce,"".concat(be,"-row-collapsed"),!He),ce)),onClick:it})}function $t(ge,ce,be){var ke=[];function Ie(He){(He||[]).forEach(function(pt,Bt){ke.push(ce(pt,Bt)),Ie(pt[be])})}return Ie(ge),ke}function qn(ge,ce,be){var ke=oa(ge),Ie=ke.expandIcon,He=ke.expandedRowKeys,pt=ke.defaultExpandedRowKeys,Bt=ke.defaultExpandAllRows,it=ke.expandedRowRender,Ht=ke.onExpand,wt=ke.onExpandedRowsChange,Jt=ke.childrenColumnName,Rn=Ie||lt,_t=Jt||"children",It=se.useMemo(function(){return it?"row":ge.expandable&&ge.internalHooks===ue&&ge.expandable.__PARENT_RENDER_ICON__||ce.some(function(ba){return ba&&(0,Ae.Z)(ba)==="object"&&ba[_t]})?"nest":!1},[!!it,ce]),$n=se.useState(function(){return pt||(Bt?$t(ce,be,_t):[])}),Kn=(0,Be.Z)($n,2),Yn=Kn[0],Qn=Kn[1],ea=se.useMemo(function(){return new Set(He||Yn||[])},[He,Yn]),xn=se.useCallback(function(ba){var ya=be(ba,ce.indexOf(ba)),Za,ja=ea.has(ya);ja?(ea.delete(ya),Za=(0,Hn.Z)(ea)):Za=[].concat((0,Hn.Z)(ea),[ya]),Qn(Za),Ht&&Ht(!ja,ba),wt&&wt(Za)},[be,ea,ce,Ht,wt]);return[ke,It,ea,Rn,_t,xn]}function nn(ge,ce,be,ke){var Ie=ge.map(function(He,pt){return je(pt,pt,ge,ce,be,ke==null?void 0:ke[pt])});return(0,bt.Z)(function(){return Ie},[Ie],function(He,pt){return!(0,Oe.Z)(He,pt)})}function _n(ge){var ce=(0,se.useRef)(ge),be=(0,se.useState)({}),ke=(0,Be.Z)(be,2),Ie=ke[1],He=(0,se.useRef)(null),pt=(0,se.useRef)([]);function Bt(it){pt.current.push(it);var Ht=Promise.resolve();He.current=Ht,Ht.then(function(){if(He.current===Ht){var wt=pt.current,Jt=ce.current;pt.current=[],wt.forEach(function(Rn){ce.current=Rn(ce.current)}),He.current=null,Jt!==ce.current&&Ie({})}})}return(0,se.useEffect)(function(){return function(){He.current=null}},[]),[ce.current,Bt]}function Jn(ge){var ce=(0,se.useRef)(ge||null),be=(0,se.useRef)();function ke(){window.clearTimeout(be.current)}function Ie(pt){ce.current=pt,ke(),be.current=window.setTimeout(function(){ce.current=null,be.current=void 0},100)}function He(){return ce.current}return(0,se.useEffect)(function(){return ke},[]),[Ie,He]}function Ma(){var ge=se.useState(-1),ce=(0,Be.Z)(ge,2),be=ce[0],ke=ce[1],Ie=se.useState(-1),He=(0,Be.Z)(Ie,2),pt=He[0],Bt=He[1],it=se.useCallback(function(Ht,wt){ke(Ht),Bt(wt)},[]);return[be,pt,it]}var ma=te(47273),Ue=(0,ma.Z)()?window:null;function dn(ge,ce){var be=(0,Ae.Z)(ge)==="object"?ge:{},ke=be.offsetHeader,Ie=ke===void 0?0:ke,He=be.offsetSummary,pt=He===void 0?0:He,Bt=be.offsetScroll,it=Bt===void 0?0:Bt,Ht=be.getContainer,wt=Ht===void 0?function(){return Ue}:Ht,Jt=wt()||Ue;return se.useMemo(function(){var Rn=!!ge;return{isSticky:Rn,stickyClassName:Rn?"".concat(ce,"-sticky-holder"):"",offsetHeader:Ie,offsetSummary:pt,offsetScroll:it,container:Jt}},[it,Ie,pt,ce,Jt])}function Qt(ge,ce,be){var ke=(0,se.useMemo)(function(){for(var Ie=[],He=[],pt=0,Bt=0,it=0;it<ce;it+=1)if(be==="rtl"){He[it]=Bt,Bt+=ge[it]||0;var Ht=ce-it-1;Ie[Ht]=pt,pt+=ge[Ht]||0}else{Ie[it]=pt,pt+=ge[it]||0;var wt=ce-it-1;He[wt]=Bt,Bt+=ge[wt]||0}return{left:Ie,right:He}},[ge,ce,be]);return ke}var Sn=Qt;function On(ge){var ce=ge.className,be=ge.children;return se.createElement("div",{className:ce},be)}var kn=On,Dn=te(8224),wn=te(55468),Aa=function(ce,be){var ke,Ie,He=ce.scrollBodyRef,pt=ce.onScroll,Bt=ce.offsetScroll,it=ce.container,Ht=Ve(me,"prefixCls"),wt=((ke=He.current)===null||ke===void 0?void 0:ke.scrollWidth)||0,Jt=((Ie=He.current)===null||Ie===void 0?void 0:Ie.clientWidth)||0,Rn=wt&&Jt*(Jt/wt),_t=se.useRef(),It=_n({scrollLeft:0,isHiddenScrollBar:!1}),$n=(0,Be.Z)(It,2),Kn=$n[0],Yn=$n[1],Qn=se.useRef({delta:0,x:0}),ea=se.useState(!1),xn=(0,Be.Z)(ea,2),ba=xn[0],ya=xn[1],Za=function(){ya(!1)},ja=function(ca){ca.persist(),Qn.current.delta=ca.pageX-Kn.scrollLeft,Qn.current.x=0,ya(!0),ca.preventDefault()},la=function(ca){var Ta,qa=ca||((Ta=window)===null||Ta===void 0?void 0:Ta.event),nr=qa.buttons;if(!ba||nr===0){ba&&ya(!1);return}var Wa=Qn.current.x+ca.pageX-Qn.current.x-Qn.current.delta;Wa<=0&&(Wa=0),Wa+Rn>=Jt&&(Wa=Jt-Rn),pt({scrollLeft:Wa/Jt*(wt+2)}),Qn.current.x=ca.pageX},Pa=function(){if(He.current){var ca=(0,wn.os)(He.current).top,Ta=ca+He.current.offsetHeight,qa=it===window?document.documentElement.scrollTop+window.innerHeight:(0,wn.os)(it).top+it.clientHeight;Ta-(0,mt.Z)()<=qa||ca>=qa-Bt?Yn(function(nr){return(0,Qe.Z)((0,Qe.Z)({},nr),{},{isHiddenScrollBar:!0})}):Yn(function(nr){return(0,Qe.Z)((0,Qe.Z)({},nr),{},{isHiddenScrollBar:!1})})}},Sa=function(ca){Yn(function(Ta){return(0,Qe.Z)((0,Qe.Z)({},Ta),{},{scrollLeft:ca/wt*Jt||0})})};return se.useImperativeHandle(be,function(){return{setScrollLeft:Sa}}),se.useEffect(function(){var Wn=(0,Dn.Z)(document.body,"mouseup",Za,!1),ca=(0,Dn.Z)(document.body,"mousemove",la,!1);return Pa(),function(){Wn.remove(),ca.remove()}},[Rn,ba]),se.useEffect(function(){var Wn=(0,Dn.Z)(it,"scroll",Pa,!1),ca=(0,Dn.Z)(window,"resize",Pa,!1);return function(){Wn.remove(),ca.remove()}},[it]),se.useEffect(function(){Kn.isHiddenScrollBar||Yn(function(Wn){var ca=He.current;return ca?(0,Qe.Z)((0,Qe.Z)({},Wn),{},{scrollLeft:ca.scrollLeft/ca.scrollWidth*ca.clientWidth}):Wn})},[Kn.isHiddenScrollBar]),wt<=Jt||!Rn||Kn.isHiddenScrollBar?null:se.createElement("div",{style:{height:(0,mt.Z)(),width:Jt,bottom:Bt},className:"".concat(Ht,"-sticky-scroll")},se.createElement("div",{onMouseDown:ja,ref:_t,className:Ye()("".concat(Ht,"-sticky-scroll-bar"),(0,ve.Z)({},"".concat(Ht,"-sticky-scroll-bar-active"),ba)),style:{width:"".concat(Rn,"px"),transform:"translate3d(".concat(Kn.scrollLeft,"px, 0, 0)")}}))},La=se.forwardRef(Aa);function mn(ge){return null}var Da=mn;function na(ge){return null}var Qa=na,Ja="rc-table",Vn=[],sa={};function xa(){return"No Data"}function aa(ge){var ce,be=(0,Qe.Z)({rowKey:"key",prefixCls:Ja,emptyText:xa},ge),ke=be.prefixCls,Ie=be.className,He=be.rowClassName,pt=be.style,Bt=be.data,it=be.rowKey,Ht=be.scroll,wt=be.tableLayout,Jt=be.direction,Rn=be.title,_t=be.footer,It=be.summary,$n=be.caption,Kn=be.id,Yn=be.showHeader,Qn=be.components,ea=be.emptyText,xn=be.onRow,ba=be.onHeaderRow,ya=be.internalHooks,Za=be.transformColumns,ja=be.internalRefs,la=be.tailor,Pa=be.sticky,Sa=Bt||Vn,Wn=!!Sa.length,ca=ya===ue,Ta=se.useCallback(function(Jr,Fo){return(0,De.Z)(Qn,Jr)||Fo},[Qn]),qa=se.useMemo(function(){return typeof it=="function"?it:function(Jr){var Fo=Jr&&Jr[it];return Fo}},[it]),nr=Ta(["body"]),Wa=Ma(),gr=(0,Be.Z)(Wa,3),Sr=gr[0],Wr=gr[1],_r=gr[2],ho=qn(be,Sa,qa),eo=(0,Be.Z)(ho,6),Br=eo[0],Do=eo[1],Ur=eo[2],So=eo[3],oo=eo[4],Jo=eo[5],or=Ht==null?void 0:Ht.x,ir=se.useState(0),_a=(0,Be.Z)(ir,2),er=_a[0],Gr=_a[1],tr=Un((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},be),Br),{},{expandable:!!Br.expandedRowRender,columnTitle:Br.columnTitle,expandedKeys:Ur,getRowKey:qa,onTriggerExpand:Jo,expandIcon:So,expandIconColumnIndex:Br.expandIconColumnIndex,direction:Jt,scrollWidth:ca&&la&&typeof or=="number"?or:null}),ca?Za:null),sr=(0,Be.Z)(tr,3),Rr=sr[0],Dr=sr[1],io=sr[2],wo=io!=null?io:or,_o=se.useMemo(function(){return{columns:Rr,flattenColumns:Dr}},[Rr,Dr]),Ro=se.useRef(),ci=se.useRef(),No=se.useRef(),Io=se.useRef(),Ai=se.useRef(),Yr=se.useState(!1),to=(0,Be.Z)(Yr,2),fo=to[0],yo=to[1],lo=se.useState(!1),Tr=(0,Be.Z)(lo,2),Wo=Tr[0],$o=Tr[1],da=_n(new Map),Va=(0,Be.Z)(da,2),Pr=Va[0],yr=Va[1],Lr=vt(Dr),zr=Lr.map(function(Jr){return Pr.get(Jr)}),so=se.useMemo(function(){return zr},[zr.join("_")]),Eo=Sn(so,Dr.length,Jt),co=Ht&&an(Ht.y),vo=Ht&&an(wo)||!!Br.fixed,ii=vo&&Dr.some(function(Jr){var Fo=Jr.fixed;return Fo}),zo=se.useRef(),ti=dn(Pa,ke),qo=ti.isSticky,fi=ti.offsetHeader,Xi=ti.offsetSummary,Kr=ti.offsetScroll,po=ti.stickyClassName,Mo=ti.container,bo=se.useMemo(function(){return It==null?void 0:It(Sa)},[It,Sa]),Uo=(co||qo)&&se.isValidElement(bo)&&bo.type===fe&&bo.props.fixed,Vo,Xo,Si;co&&(Xo={overflowY:"scroll",maxHeight:Ht.y}),vo&&(Vo={overflowX:"auto"},co||(Xo={overflowY:"hidden"}),Si={width:wo===!0?"auto":wo,minWidth:"100%"});var _i=se.useCallback(function(Jr,Fo){(0,Je.Z)(Ro.current)&&yr(function(Pi){if(Pi.get(Jr)!==Fo){var zi=new Map(Pi);return zi.set(Jr,Fo),zi}return Pi})},[]),_l=Jn(null),ml=(0,Be.Z)(_l,2),fl=ml[0],pl=ml[1];function Yi(Jr,Fo){Fo&&(typeof Fo=="function"?Fo(Jr):Fo.scrollLeft!==Jr&&(Fo.scrollLeft=Jr,Fo.scrollLeft!==Jr&&setTimeout(function(){Fo.scrollLeft=Jr},0)))}var vl=(0,Me.Z)(function(Jr){var Fo=Jr.currentTarget,Pi=Jr.scrollLeft,zi=Jt==="rtl",Hi=typeof Pi=="number"?Pi:Fo.scrollLeft,Vl=Fo||sa;if(!pl()||pl()===Vl){var Ps;fl(Vl),Yi(Hi,ci.current),Yi(Hi,No.current),Yi(Hi,Ai.current),Yi(Hi,(Ps=zo.current)===null||Ps===void 0?void 0:Ps.setScrollLeft)}var ys=Fo||ci.current;if(ys){var Es=ys.scrollWidth,bs=ys.clientWidth;if(Es===bs){yo(!1),$o(!1);return}zi?(yo(-Hi<Es-bs),$o(-Hi>0)):(yo(Hi>0),$o(Hi<Es-bs))}}),Is=function(){vo&&No.current?vl({currentTarget:No.current}):(yo(!1),$o(!1))},cu=function(Fo){var Pi=Fo.width;Pi!==er&&(Is(),Gr(Ro.current?Ro.current.offsetWidth:Pi))},qi=se.useRef(!1);se.useEffect(function(){qi.current&&Is()},[vo,Bt,Rr.length]),se.useEffect(function(){qi.current=!0},[]);var $s=se.useState(0),zl=(0,Be.Z)($s,2),Hl=zl[0],Ls=zl[1],Qs=se.useState(!0),jl=(0,Be.Z)(Qs,2),fs=jl[0],Js=jl[1];se.useEffect(function(){(!la||!ca)&&(No.current instanceof Element?Ls((0,mt.o)(No.current).width):Ls((0,mt.o)(Io.current).width)),Js((0,Ne.G)("position","sticky"))},[]),se.useEffect(function(){ca&&ja&&(ja.body.current=No.current)});var Xs=se.useCallback(function(Jr){return se.createElement(se.Fragment,null,se.createElement(Kt,Jr),Uo==="top"&&se.createElement(Ct,Jr,bo))},[Uo,bo]),Ys=se.useCallback(function(Jr){return se.createElement(Ct,Jr,bo)},[bo]),Os=Ta(["table"],"table"),Gl=se.useMemo(function(){return wt||(ii?wo==="max-content"?"auto":"fixed":co||qo||Dr.some(function(Jr){var Fo=Jr.ellipsis;return Fo})?"fixed":"auto")},[co,ii,Dr,wt,qo]),ps,vs={colWidths:so,columCount:Dr.length,stickyOffsets:Eo,onHeaderRow:ba,fixHeader:co,scroll:Ht},Rs=se.useMemo(function(){return Wn?null:typeof ea=="function"?ea():ea},[Wn,ea]),hl=se.createElement(bn,{data:Sa,measureColumnWidth:co||vo||qo}),Ts=se.createElement(va,{colWidths:Dr.map(function(Jr){var Fo=Jr.width;return Fo}),columns:Dr}),hs=$n!=null?se.createElement("caption",{className:"".concat(ke,"-caption")},$n):void 0,Kl=(0,un.Z)(be,{data:!0}),Ss=(0,un.Z)(be,{aria:!0});if(co||qo){var Wl;typeof nr=="function"?(Wl=nr(Sa,{scrollbarSize:Hl,ref:No,onScroll:vl}),vs.colWidths=Dr.map(function(Jr,Fo){var Pi=Jr.width,zi=Fo===Dr.length-1?Pi-Hl:Pi;return typeof zi=="number"&&!Number.isNaN(zi)?zi:0})):Wl=se.createElement("div",{style:(0,Qe.Z)((0,Qe.Z)({},Vo),Xo),onScroll:vl,ref:No,className:Ye()("".concat(ke,"-body"))},se.createElement(Os,(0,We.Z)({style:(0,Qe.Z)((0,Qe.Z)({},Si),{},{tableLayout:Gl})},Ss),hs,Ts,hl,!Uo&&bo&&se.createElement(Ct,{stickyOffsets:Eo,flattenColumns:Dr,columns:Rr},bo)));var Ms=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({noData:!Sa.length,maxContentScroll:vo&&wo==="max-content"},vs),_o),{},{direction:Jt,stickyClassName:po,onScroll:vl});ps=se.createElement(se.Fragment,null,Yn!==!1&&se.createElement(Fn,(0,We.Z)({},Ms,{stickyTopOffset:fi,className:"".concat(ke,"-header"),ref:ci}),Xs),Wl,Uo&&Uo!=="top"&&se.createElement(Fn,(0,We.Z)({},Ms,{stickyBottomOffset:Xi,className:"".concat(ke,"-summary"),ref:Ai}),Ys),qo&&se.createElement(La,{ref:zo,offsetScroll:Kr,scrollBodyRef:No,onScroll:vl,container:Mo}))}else ps=se.createElement("div",{style:(0,Qe.Z)((0,Qe.Z)({},Vo),Xo),className:Ye()("".concat(ke,"-content")),onScroll:vl,ref:No},se.createElement(Os,(0,We.Z)({style:(0,Qe.Z)((0,Qe.Z)({},Si),{},{tableLayout:Gl})},Ss),hs,Ts,Yn!==!1&&se.createElement(Kt,(0,We.Z)({},vs,_o)),hl,bo&&se.createElement(Ct,{stickyOffsets:Eo,flattenColumns:Dr,columns:Rr},bo)));var Ul=se.createElement("div",(0,We.Z)({className:Ye()(ke,Ie,(ce={},(0,ve.Z)(ce,"".concat(ke,"-rtl"),Jt==="rtl"),(0,ve.Z)(ce,"".concat(ke,"-ping-left"),fo),(0,ve.Z)(ce,"".concat(ke,"-ping-right"),Wo),(0,ve.Z)(ce,"".concat(ke,"-layout-fixed"),wt==="fixed"),(0,ve.Z)(ce,"".concat(ke,"-fixed-header"),co),(0,ve.Z)(ce,"".concat(ke,"-fixed-column"),ii),(0,ve.Z)(ce,"".concat(ke,"-scroll-horizontal"),vo),(0,ve.Z)(ce,"".concat(ke,"-has-fix-left"),Dr[0]&&Dr[0].fixed),(0,ve.Z)(ce,"".concat(ke,"-has-fix-right"),Dr[Dr.length-1]&&Dr[Dr.length-1].fixed==="right"),ce)),style:pt,id:Kn,ref:Ro},Kl),Rn&&se.createElement(kn,{className:"".concat(ke,"-title")},Rn(Sa)),se.createElement("div",{ref:Io,className:"".concat(ke,"-container")},ps),_t&&se.createElement(kn,{className:"".concat(ke,"-footer")},_t(Sa)));vo&&(Ul=se.createElement(at.Z,{onResize:cu},Ul));var ks=nn(Dr,Eo,Jt,Rr),qs=se.useMemo(function(){return{scrollX:wo,prefixCls:ke,getComponent:Ta,scrollbarSize:Hl,direction:Jt,fixedInfoList:ks,isSticky:qo,supportSticky:fs,componentWidth:er,fixHeader:co,fixColumn:ii,horizonScroll:vo,tableLayout:Gl,rowClassName:He,expandedRowClassName:Br.expandedRowClassName,expandIcon:So,expandableType:Do,expandRowByClick:Br.expandRowByClick,expandedRowRender:Br.expandedRowRender,onTriggerExpand:Jo,expandIconColumnIndex:Br.expandIconColumnIndex,indentSize:Br.indentSize,allColumnsFixedLeft:Dr.every(function(Jr){return Jr.fixed==="left"}),emptyNode:Rs,columns:Rr,flattenColumns:Dr,onColumnResize:_i,hoverStartRow:Sr,hoverEndRow:Wr,onHover:_r,rowExpandable:Br.rowExpandable,onRow:xn,getRowKey:qa,expandedKeys:Ur,childrenColumnName:oo}},[wo,ke,Ta,Hl,Jt,ks,qo,fs,er,co,ii,vo,Gl,He,Br.expandedRowClassName,So,Do,Br.expandRowByClick,Br.expandedRowRender,Jo,Br.expandIconColumnIndex,Br.indentSize,Rs,Rr,Dr,_i,Sr,Wr,_r,Br.rowExpandable,xn,qa,Ur,oo]);return se.createElement(me.Provider,{value:qs},Ul)}function za(ge){return z(aa,ge)}var ar=za();ar.EXPAND_COLUMN=x,ar.INTERNAL_HOOKS=ue,ar.Column=Da,ar.ColumnGroup=Qa,ar.Summary=Fe;var Ga=ar,mr=te(24916),Ua=ot(null),Cr=ot(null);function kr(ge,ce,be){var ke=ce||1;return be[ge+ke]-(be[ge]||0)}function ao(ge){var ce=ge.rowInfo,be=ge.column,ke=ge.colIndex,Ie=ge.indent,He=ge.index,pt=ge.renderIndex,Bt=ge.record,it=ge.style,Ht=ge.className,wt=ge.inverse,Jt=ge.getHeight,Rn=be.render,_t=be.dataIndex,It=be.className,$n=be.width,Kn=Ve(Cr,["columnsOffset"]),Yn=Kn.columnsOffset,Qn=At(ce,be,ke,Ie,He),ea=Qn.key,xn=Qn.fixedInfo,ba=Qn.appendCellNode,ya=Qn.additionalCellProps,Za=ya.style,ja=ya.colSpan,la=ja===void 0?1:ja,Pa=ya.rowSpan,Sa=Pa===void 0?1:Pa,Wn=ke-1,ca=kr(Wn,la,Yn),Ta=la>1?$n-ca:0,qa=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},Za),it),{},{flex:"0 0 ".concat(ca,"px"),width:"".concat(ca,"px"),marginRight:Ta,pointerEvents:"auto"}),nr=se.useMemo(function(){return wt?Sa<=1:la===0||Sa===0||Sa>1},[Sa,la,wt]);nr?qa.visibility="hidden":wt&&(qa.height=Jt==null?void 0:Jt(Sa));var Wa=nr?function(){return null}:Rn,gr={};return(Sa===0||la===0)&&(gr.rowSpan=1,gr.colSpan=1),se.createElement(vn,(0,We.Z)({className:Ye()(It,Ht),ellipsis:be.ellipsis,align:be.align,scope:be.rowScope,component:"div",prefixCls:ce.prefixCls,key:ea,record:Bt,index:He,renderIndex:pt,dataIndex:_t,render:Wa,shouldCellUpdate:be.shouldCellUpdate},xn,{appendNode:ba,additionalProps:(0,Qe.Z)((0,Qe.Z)({},ya),{},{style:qa},gr)}))}var Er=ao,vr=["data","index","className","rowKey","style","extra","getHeight"],Zr=se.forwardRef(function(ge,ce){var be=ge.data,ke=ge.index,Ie=ge.className,He=ge.rowKey,pt=ge.style,Bt=ge.extra,it=ge.getHeight,Ht=(0,ht.Z)(ge,vr),wt=be.record,Jt=be.indent,Rn=be.index,_t=Ve(me,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),It=_t.scrollX,$n=_t.flattenColumns,Kn=_t.prefixCls,Yn=_t.fixColumn,Qn=_t.componentWidth,ea=ze(wt,He,ke,Jt),xn=ea.rowSupportExpand,ba=ea.expanded,ya=ea.rowProps,Za=ea.expandedRowRender,ja=ea.expandedRowClassName,la;if(xn&&ba){var Pa=Za(wt,ke,Jt+1,ba),Sa=ja==null?void 0:ja(wt,ke,Jt),Wn={};Yn&&(Wn={style:(0,ve.Z)({},"--virtual-width","".concat(Qn,"px"))});var ca="".concat(Kn,"-expanded-row-cell");la=se.createElement("div",{className:Ye()("".concat(Kn,"-expanded-row"),"".concat(Kn,"-expanded-row-level-").concat(Jt+1),Sa)},se.createElement(vn,{component:"div",prefixCls:Kn,className:Ye()(ca,(0,ve.Z)({},"".concat(ca,"-fixed"),Yn)),additionalProps:Wn},Pa))}var Ta=(0,Qe.Z)((0,Qe.Z)({},pt),{},{width:It});Bt&&(Ta.position="absolute",Ta.pointerEvents="none");var qa=se.createElement("div",(0,We.Z)({},ya,Ht,{ref:xn?null:ce,className:Ye()(Ie,"".concat(Kn,"-row"),ya==null?void 0:ya.className,(0,ve.Z)({},"".concat(Kn,"-row-extra"),Bt)),style:(0,Qe.Z)((0,Qe.Z)({},Ta),ya==null?void 0:ya.style)}),$n.map(function(nr,Wa){return se.createElement(Er,{key:Wa,rowInfo:ea,column:nr,colIndex:Wa,indent:Jt,index:ke,renderIndex:Rn,record:wt,inverse:Bt,getHeight:it})}));return xn?se.createElement("div",{ref:ce},qa,la):qa}),hr=ne(Zr),Fr=hr,ur=se.forwardRef(function(ge,ce){var be=ge.data,ke=ge.onScroll,Ie=Ve(me,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),He=Ie.flattenColumns,pt=Ie.onColumnResize,Bt=Ie.getRowKey,it=Ie.expandedKeys,Ht=Ie.prefixCls,wt=Ie.childrenColumnName,Jt=Ie.emptyNode,Rn=Ie.scrollX,_t=Ve(Ua),It=_t.scrollY,$n=_t.listItemHeight,Kn=se.useRef(),Yn=zt(be,wt,it,Bt),Qn=se.useMemo(function(){var la=0;return He.map(function(Pa){var Sa=Pa.width,Wn=Pa.key;return la+=Sa,[Wn,Sa,la]})},[He]),ea=se.useMemo(function(){return Qn.map(function(la){return la[2]})},[Qn]);se.useEffect(function(){Qn.forEach(function(la){var Pa=(0,Be.Z)(la,2),Sa=Pa[0],Wn=Pa[1];pt(Sa,Wn)})},[Qn]),se.useImperativeHandle(ce,function(){var la={};return Object.defineProperty(la,"scrollLeft",{get:function(){var Sa;return((Sa=Kn.current)===null||Sa===void 0?void 0:Sa.getScrollInfo().x)||0},set:function(Sa){var Wn;(Wn=Kn.current)===null||Wn===void 0||Wn.scrollTo({left:Sa})}}),la});var xn=function(Pa,Sa){var Wn,ca=(Wn=Yn[Sa])===null||Wn===void 0?void 0:Wn.record,Ta=Pa.onCell;if(Ta){var qa,nr=Ta(ca,Sa);return(qa=nr==null?void 0:nr.rowSpan)!==null&&qa!==void 0?qa:1}return 1},ba=function(Pa){var Sa=Pa.start,Wn=Pa.end,ca=Pa.getSize,Ta=Pa.offsetY;if(Wn<0)return null;for(var qa=He.filter(function(or){return xn(or,Sa)===0}),nr=Sa,Wa=function(ir){if(qa=qa.filter(function(_a){return xn(_a,ir)===0}),!qa.length)return nr=ir,"break"},gr=Sa;gr>=0;gr-=1){var Sr=Wa(gr);if(Sr==="break")break}for(var Wr=He.filter(function(or){return xn(or,Wn)!==1}),_r=Wn,ho=function(ir){if(Wr=Wr.filter(function(_a){return xn(_a,ir)!==1}),!Wr.length)return _r=Math.max(ir-1,Wn),"break"},eo=Wn;eo<Yn.length;eo+=1){var Br=ho(eo);if(Br==="break")break}for(var Do=[],Ur=function(ir){var _a=Yn[ir];if(!_a)return"continue";He.some(function(er){return xn(er,ir)>1})&&Do.push(ir)},So=nr;So<=_r;So+=1)var oo=Ur(So);var Jo=Do.map(function(or){var ir=Yn[or],_a=Bt(ir.record,or),er=function(sr){var Rr=or+sr-1,Dr=Bt(Yn[Rr].record,Rr),io=ca(_a,Dr);return io.bottom-io.top},Gr=ca(_a);return se.createElement(Fr,{key:or,data:ir,rowKey:_a,index:or,style:{top:-Ta+Gr.top},extra:!0,getHeight:er})});return Jo},ya=se.useMemo(function(){return{columnsOffset:ea}},[ea]),Za="".concat(Ht,"-tbody"),ja;return Yn.length?ja=se.createElement(mr.Z,{fullHeight:!1,ref:Kn,className:Ye()(Za,"".concat(Za,"-virtual")),height:It,itemHeight:$n||24,data:Yn,itemKey:function(Pa){return Bt(Pa.record)},scrollWidth:Rn,onVirtualScroll:function(Pa){var Sa=Pa.x;ke({scrollLeft:Sa})},extraRender:ba},function(la,Pa,Sa){var Wn=Bt(la.record,Pa);return se.createElement(Fr,(0,We.Z)({data:la,rowKey:Wn,index:Pa},Sa))}):ja=se.createElement("div",{className:Ye()("".concat(Ht,"-placeholder"))},se.createElement(vn,{component:"div",prefixCls:Ht},Jt)),se.createElement(Cr.Provider,{value:ya},ja)}),Ra=ne(ur),xr=Ra,Xr=function(ce,be){var ke=be.ref,Ie=be.onScroll;return se.createElement(xr,{ref:ke,data:ce,onScroll:Ie})},br=100;function Vr(ge){var ce=ge.columns,be=ge.scroll,ke=ge.prefixCls,Ie=ke===void 0?Ja:ke,He=ge.className,pt=ge.listItemHeight,Bt=be||{},it=Bt.x,Ht=Bt.y;typeof it!="number"&&(it=((ce||[]).length+1)*br),typeof Ht!="number"&&(Ht=500);var wt=se.useMemo(function(){return{scrollY:Ht,listItemHeight:pt}},[Ht,pt]);return se.createElement(Ua.Provider,{value:wt},se.createElement(Ga,(0,We.Z)({},ge,{className:Ye()(He,"".concat(Ie,"-virtual")),scroll:(0,Qe.Z)((0,Qe.Z)({},be),{},{x:it}),components:{body:Xr},columns:ce,internalHooks:ue,tailor:!0})))}function jr(ge){return z(Vr,ge)}var Xa=jr(),wr=null;function dr(ge){return null}var Qr=dr;function ro(ge){return null}var xo=ro,To=te(2738),ko=te(68031),Ir=te(36355),qr=te(93891),Zo=te(19716),Ao=te(8628),Go=te(31724),ai=te(58421),$a=te(71418),ga=te(88088);function Tn(ge){return function(be){let{prefixCls:ke,onExpand:Ie,record:He,expanded:pt,expandable:Bt}=be;const it=`${ke}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:Ht=>{Ie(He,Ht),Ht.stopPropagation()},className:Ye()(it,{[`${it}-spaced`]:!Bt,[`${it}-expanded`]:Bt&&pt,[`${it}-collapsed`]:Bt&&!pt}),"aria-label":pt?ge.collapse:ge.expand,"aria-expanded":pt})}}var Fa=Tn;function cr(ge,ce){return"key"in ge&&ge.key!==void 0&&ge.key!==null?ge.key:ge.dataIndex?Array.isArray(ge.dataIndex)?ge.dataIndex.join("."):ge.dataIndex:ce}function Nr(ge,ce){return ce?`${ce}-${ge}`:`${ge}`}function xe(ge,ce){return typeof ge=="function"?ge(ce):ge}function sn(ge,ce){const be=xe(ge,ce);return Object.prototype.toString.call(be)==="[object Object]"?"":be}var Cn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},zn=Cn,cn=te(7657),ra=function(ce,be){return se.createElement(cn.Z,(0,We.Z)({},ce,{ref:be,icon:zn}))},Zn=se.forwardRef(ra),Nn=Zn,Gn=te(56762);function Mn(ge){const ce=se.useRef(ge),be=(0,Gn.Z)();return[()=>ce.current,ke=>{ce.current=ke,be()}]}var pa=te(3113),wa=te(24905),fa=te(38854),Ar=te(64165),fr=te(20834),Or=te(40875),$r=te(5112),uo=te(17574),Co=te(47472),pi=te(92832);function gi(ge){let{value:ce,onChange:be,filterSearch:ke,tablePrefixCls:Ie,locale:He}=ge;return ke?se.createElement("div",{className:`${Ie}-filter-dropdown-search`},se.createElement(pi.default,{prefix:se.createElement(Co.Z,null),placeholder:He.filterSearchPlaceholder,onChange:be,value:ce,htmlSize:1,className:`${Ie}-filter-dropdown-search-input`})):null}var ri=gi,ui=te(10228);const vi=ge=>{const{keyCode:ce}=ge;ce===ui.Z.ENTER&&ge.stopPropagation()};var hi=se.forwardRef((ge,ce)=>se.createElement("div",{className:ge.className,onClick:be=>be.stopPropagation(),onKeyDown:vi,ref:ce},ge.children));function Ni(ge){let ce=[];return(ge||[]).forEach(be=>{let{value:ke,children:Ie}=be;ce.push(ke),Ie&&(ce=[].concat((0,Hn.Z)(ce),(0,Hn.Z)(Ni(Ie))))}),ce}function Ql(ge){return ge.some(ce=>{let{children:be}=ce;return be})}function Vi(ge,ce){return typeof ce=="string"||typeof ce=="number"?ce==null?void 0:ce.toString().toLowerCase().includes(ge.trim().toLowerCase()):!1}function nl(ge){let{filters:ce,prefixCls:be,filteredKeys:ke,filterMultiple:Ie,searchValue:He,filterSearch:pt}=ge;return ce.map((Bt,it)=>{const Ht=String(Bt.value);if(Bt.children)return{key:Ht||it,label:Bt.text,popupClassName:`${be}-dropdown-submenu`,children:nl({filters:Bt.children,prefixCls:be,filteredKeys:ke,filterMultiple:Ie,searchValue:He,filterSearch:pt})};const wt=Ie?wa.default:$r.ZP,Jt={key:Bt.value!==void 0?Ht:it,label:se.createElement(se.Fragment,null,se.createElement(wt,{checked:ke.includes(Ht)}),se.createElement("span",null,Bt.text))};return He.trim()?typeof pt=="function"?pt(He,Bt)?Jt:null:Vi(He,Bt.text)?Jt:null:Jt})}function Jl(ge){var ce,be;const{tablePrefixCls:ke,prefixCls:Ie,column:He,dropdownPrefixCls:pt,columnKey:Bt,filterMultiple:it,filterMode:Ht="menu",filterSearch:wt=!1,filterState:Jt,triggerFilter:Rn,locale:_t,children:It,getPopupContainer:$n}=ge,{filterDropdownOpen:Kn,onFilterDropdownOpenChange:Yn,filterResetToDefaultFilteredValue:Qn,defaultFilteredValue:ea,filterDropdownVisible:xn,onFilterDropdownVisibleChange:ba}=He,[ya,Za]=se.useState(!1),ja=!!(Jt&&(!((ce=Jt.filteredKeys)===null||ce===void 0)&&ce.length||Jt.forceFiltered)),la=tr=>{Za(tr),Yn==null||Yn(tr),ba==null||ba(tr)},Pa=(be=Kn!=null?Kn:xn)!==null&&be!==void 0?be:ya,Sa=Jt==null?void 0:Jt.filteredKeys,[Wn,ca]=Mn(Sa||[]),Ta=tr=>{let{selectedKeys:sr}=tr;ca(sr)},qa=(tr,sr)=>{let{node:Rr,checked:Dr}=sr;Ta(it?{selectedKeys:tr}:{selectedKeys:Dr&&Rr.key?[Rr.key]:[]})};se.useEffect(()=>{ya&&Ta({selectedKeys:Sa||[]})},[Sa]);const[nr,Wa]=se.useState([]),gr=tr=>{Wa(tr)},[Sr,Wr]=se.useState(""),_r=tr=>{const{value:sr}=tr.target;Wr(sr)};se.useEffect(()=>{ya||Wr("")},[ya]);const ho=tr=>{const sr=tr&&tr.length?tr:null;if(sr===null&&(!Jt||!Jt.filteredKeys)||(0,Oe.Z)(sr,Jt==null?void 0:Jt.filteredKeys,!0))return null;Rn({column:He,key:Bt,filteredKeys:sr})},eo=()=>{la(!1),ho(Wn())},Br=function(){let{confirm:tr,closeDropdown:sr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};tr&&ho([]),sr&&la(!1),Wr(""),ca(Qn?(ea||[]).map(Rr=>String(Rr)):[])},Do=function(){let{closeDropdown:tr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};tr&&la(!1),ho(Wn())},Ur=tr=>{tr&&Sa!==void 0&&ca(Sa||[]),la(tr),!tr&&!He.filterDropdown&&eo()},So=Ye()({[`${pt}-menu-without-submenu`]:!Ql(He.filters||[])}),oo=tr=>{if(tr.target.checked){const sr=Ni(He==null?void 0:He.filters).map(Rr=>String(Rr));ca(sr)}else ca([])},Jo=tr=>{let{filters:sr}=tr;return(sr||[]).map((Rr,Dr)=>{const io=String(Rr.value),wo={title:Rr.text,key:Rr.value!==void 0?io:Dr};return Rr.children&&(wo.children=Jo({filters:Rr.children})),wo})},or=tr=>{var sr;return Object.assign(Object.assign({},tr),{text:tr.title,value:tr.key,children:((sr=tr.children)===null||sr===void 0?void 0:sr.map(Rr=>or(Rr)))||[]})};let ir;if(typeof He.filterDropdown=="function")ir=He.filterDropdown({prefixCls:`${pt}-custom`,setSelectedKeys:tr=>Ta({selectedKeys:tr}),selectedKeys:Wn(),confirm:Do,clearFilters:Br,filters:He.filters,visible:Pa,close:()=>{la(!1)}});else if(He.filterDropdown)ir=He.filterDropdown;else{const tr=Wn()||[],sr=()=>(He.filters||[]).length===0?se.createElement(Ar.Z,{image:Ar.Z.PRESENTED_IMAGE_SIMPLE,description:_t.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Ht==="tree"?se.createElement(se.Fragment,null,se.createElement(ri,{filterSearch:wt,value:Sr,onChange:_r,tablePrefixCls:ke,locale:_t}),se.createElement("div",{className:`${ke}-filter-dropdown-tree`},it?se.createElement(wa.default,{checked:tr.length===Ni(He.filters).length,indeterminate:tr.length>0&&tr.length<Ni(He.filters).length,className:`${ke}-filter-dropdown-checkall`,onChange:oo},_t.filterCheckall):null,se.createElement(uo.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:it,checkStrictly:!it,className:`${pt}-menu`,onCheck:qa,checkedKeys:tr,selectedKeys:tr,showIcon:!1,treeData:Jo({filters:He.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Sr.trim()?Dr=>typeof wt=="function"?wt(Sr,or(Dr)):Vi(Sr,Dr.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(ri,{filterSearch:wt,value:Sr,onChange:_r,tablePrefixCls:ke,locale:_t}),se.createElement(fr.default,{selectable:!0,multiple:it,prefixCls:`${pt}-menu`,className:So,onSelect:Ta,onDeselect:Ta,selectedKeys:tr,getPopupContainer:$n,openKeys:nr,onOpenChange:gr,items:nl({filters:He.filters||[],filterSearch:wt,prefixCls:Ie,filteredKeys:Wn(),filterMultiple:it,searchValue:Sr})})),Rr=()=>Qn?(0,Oe.Z)((ea||[]).map(Dr=>String(Dr)),tr,!0):tr.length===0;ir=se.createElement(se.Fragment,null,sr(),se.createElement("div",{className:`${Ie}-dropdown-btns`},se.createElement(pa.ZP,{type:"link",size:"small",disabled:Rr(),onClick:()=>Br()},_t.filterReset),se.createElement(pa.ZP,{type:"primary",size:"small",onClick:eo},_t.filterConfirm)))}He.filterDropdown&&(ir=se.createElement(Or.J,{selectable:void 0},ir));const _a=()=>se.createElement(hi,{className:`${Ie}-dropdown`},ir);let er;typeof He.filterIcon=="function"?er=He.filterIcon(ja):He.filterIcon?er=He.filterIcon:er=se.createElement(Nn,null);const{direction:Gr}=se.useContext(Ir.E_);return se.createElement("div",{className:`${Ie}-column`},se.createElement("span",{className:`${ke}-column-title`},It),se.createElement(fa.Z,{dropdownRender:_a,trigger:["click"],open:Pa,onOpenChange:Ur,getPopupContainer:$n,placement:Gr==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:Ye()(`${Ie}-trigger`,{active:ja}),onClick:tr=>{tr.stopPropagation()}},er)))}var Qo=Jl;function mi(ge,ce,be){let ke=[];return(ge||[]).forEach((Ie,He)=>{var pt;const Bt=Nr(He,be);if(Ie.filters||"filterDropdown"in Ie||"onFilter"in Ie)if("filteredValue"in Ie){let it=Ie.filteredValue;"filterDropdown"in Ie||(it=(pt=it==null?void 0:it.map(String))!==null&&pt!==void 0?pt:it),ke.push({column:Ie,key:cr(Ie,Bt),filteredKeys:it,forceFiltered:Ie.filtered})}else ke.push({column:Ie,key:cr(Ie,Bt),filteredKeys:ce&&Ie.defaultFilteredValue?Ie.defaultFilteredValue:void 0,forceFiltered:Ie.filtered});"children"in Ie&&(ke=[].concat((0,Hn.Z)(ke),(0,Hn.Z)(mi(Ie.children,ce,Bt))))}),ke}function Bi(ge,ce,be,ke,Ie,He,pt,Bt){return be.map((it,Ht)=>{const wt=Nr(Ht,Bt),{filterMultiple:Jt=!0,filterMode:Rn,filterSearch:_t}=it;let It=it;if(It.filters||It.filterDropdown){const $n=cr(It,wt),Kn=ke.find(Yn=>{let{key:Qn}=Yn;return $n===Qn});It=Object.assign(Object.assign({},It),{title:Yn=>se.createElement(Qo,{tablePrefixCls:ge,prefixCls:`${ge}-filter`,dropdownPrefixCls:ce,column:It,columnKey:$n,filterState:Kn,filterMultiple:Jt,filterMode:Rn,filterSearch:_t,triggerFilter:He,locale:Ie,getPopupContainer:pt},xe(it.title,Yn))})}return"children"in It&&(It=Object.assign(Object.assign({},It),{children:Bi(ge,ce,It.children,ke,Ie,He,pt,wt)})),It})}function yl(ge){const ce={};return ge.forEach(be=>{let{key:ke,filteredKeys:Ie,column:He}=be;const{filters:pt,filterDropdown:Bt}=He;if(Bt)ce[ke]=Ie||null;else if(Array.isArray(Ie)){const it=Ni(pt);ce[ke]=it.filter(Ht=>Ie.includes(String(Ht)))}else ce[ke]=null}),ce}function Xl(ge,ce){return ce.reduce((be,ke)=>{const{column:{onFilter:Ie,filters:He},filteredKeys:pt}=ke;return Ie&&pt&&pt.length?be.filter(Bt=>pt.some(it=>{const Ht=Ni(He),wt=Ht.findIndex(Rn=>String(Rn)===String(it)),Jt=wt!==-1?Ht[wt]:it;return Ie(Jt,Bt)})):be},ge)}const Ii=ge=>ge.flatMap(ce=>"children"in ce?[ce].concat((0,Hn.Z)(Ii(ce.children||[]))):[ce]);function Bo(ge){let{prefixCls:ce,dropdownPrefixCls:be,mergedColumns:ke,onFilterChange:Ie,getPopupContainer:He,locale:pt}=ge;const Bt=se.useMemo(()=>Ii(ke||[]),[ke]),[it,Ht]=se.useState(()=>mi(Bt,!0)),wt=se.useMemo(()=>{const It=mi(Bt,!1);if(It.length===0)return It;let $n=!0,Kn=!0;if(It.forEach(Yn=>{let{filteredKeys:Qn}=Yn;Qn!==void 0?$n=!1:Kn=!1}),$n){const Yn=(Bt||[]).map((Qn,ea)=>cr(Qn,Nr(ea)));return it.filter(Qn=>{let{key:ea}=Qn;return Yn.includes(ea)}).map(Qn=>{const ea=Bt[Yn.findIndex(xn=>xn===Qn.key)];return Object.assign(Object.assign({},Qn),{column:Object.assign(Object.assign({},Qn.column),ea),forceFiltered:ea.filtered})})}return It},[Bt,it]),Jt=se.useMemo(()=>yl(wt),[wt]),Rn=It=>{const $n=wt.filter(Kn=>{let{key:Yn}=Kn;return Yn!==It.key});$n.push(It),Ht($n),Ie(yl($n),$n)};return[It=>Bi(ce,be,It,wt,pt,Rn,He),wt,Jt]}var El=Bo;function bl(ge,ce,be){const ke=se.useRef({});function Ie(He){if(!ke.current||ke.current.data!==ge||ke.current.childrenColumnName!==ce||ke.current.getRowKey!==be){let Bt=function(it){it.forEach((Ht,wt)=>{const Jt=be(Ht,wt);pt.set(Jt,Ht),Ht&&typeof Ht=="object"&&ce in Ht&&Bt(Ht[ce]||[])})};const pt=new Map;Bt(ge),ke.current={data:ge,childrenColumnName:ce,kvMap:pt,getRowKey:be}}return ke.current.kvMap.get(He)}return[Ie]}var Yl=te(50371),Cl=function(ge,ce){var be={};for(var ke in ge)Object.prototype.hasOwnProperty.call(ge,ke)&&ce.indexOf(ke)<0&&(be[ke]=ge[ke]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,ke=Object.getOwnPropertySymbols(ge);Ie<ke.length;Ie++)ce.indexOf(ke[Ie])<0&&Object.prototype.propertyIsEnumerable.call(ge,ke[Ie])&&(be[ke[Ie]]=ge[ke[Ie]]);return be};const xl=10;function oi(ge,ce){const be={current:ge.current,pageSize:ge.pageSize};return Object.keys(ce&&typeof ce=="object"?ce:{}).forEach(Ie=>{const He=ge[Ie];typeof He!="function"&&(be[Ie]=He)}),be}function Bl(ge,ce,be){const ke=be&&typeof be=="object"?be:{},{total:Ie=0}=ke,He=Cl(ke,["total"]),[pt,Bt]=(0,se.useState)(()=>({current:"defaultCurrent"in He?He.defaultCurrent:1,pageSize:"defaultPageSize"in He?He.defaultPageSize:xl})),it=(0,Yl.Z)(pt,He,{total:Ie>0?Ie:ge}),Ht=Math.ceil((Ie||ge)/it.pageSize);it.current>Ht&&(it.current=Ht||1);const wt=(Rn,_t)=>{Bt({current:Rn!=null?Rn:1,pageSize:_t||it.pageSize})},Jt=(Rn,_t)=>{var It;be&&((It=be.onChange)===null||It===void 0||It.call(be,Rn,_t)),wt(Rn,_t),ce(Rn,_t||(it==null?void 0:it.pageSize))};return be===!1?[{},()=>{}]:[Object.assign(Object.assign({},it),{onChange:Jt}),wt]}var di=Bl,Yo=te(84105),Qi=te(35654),Fl=te(90782),ql=te(71430),Ha=te(18929);const yi={},al="SELECT_ALL",ha="SELECT_INVERT",Li="SELECT_NONE",wl=[],es=(ge,ce)=>{let be=[];return(ce||[]).forEach(ke=>{be.push(ke),ke&&typeof ke=="object"&&ge in ke&&(be=[].concat((0,Hn.Z)(be),(0,Hn.Z)(es(ge,ke[ge]))))}),be};var Al=(ge,ce)=>{const{preserveSelectedRowKeys:be,selectedRowKeys:ke,defaultSelectedRowKeys:Ie,getCheckboxProps:He,onChange:pt,onSelect:Bt,onSelectAll:it,onSelectInvert:Ht,onSelectNone:wt,onSelectMultiple:Jt,columnWidth:Rn,type:_t,selections:It,fixed:$n,renderCell:Kn,hideSelectAll:Yn,checkStrictly:Qn=!0}=ce||{},{prefixCls:ea,data:xn,pageData:ba,getRecordByKey:ya,getRowKey:Za,expandType:ja,childrenColumnName:la,locale:Pa,getPopupContainer:Sa}=ge,[Wn,ca]=(0,Ha.Z)(ke||Ie||wl,{value:ke}),Ta=se.useRef(new Map),qa=(0,se.useCallback)(or=>{if(be){const ir=new Map;or.forEach(_a=>{let er=ya(_a);!er&&Ta.current.has(_a)&&(er=Ta.current.get(_a)),ir.set(_a,er)}),Ta.current=ir}},[ya,be]);se.useEffect(()=>{qa(Wn)},[Wn]);const{keyEntities:nr}=(0,se.useMemo)(()=>{if(Qn)return{keyEntities:null};let or=xn;if(be){const ir=new Set(xn.map((er,Gr)=>Za(er,Gr))),_a=Array.from(Ta.current).reduce((er,Gr)=>{let[tr,sr]=Gr;return ir.has(tr)?er:er.concat(sr)},[]);or=[].concat((0,Hn.Z)(or),(0,Hn.Z)(_a))}return(0,ql.I8)(or,{externalGetKey:Za,childrenPropName:la})},[xn,Za,Qn,la,be]),Wa=(0,se.useMemo)(()=>es(la,ba),[la,ba]),gr=(0,se.useMemo)(()=>{const or=new Map;return Wa.forEach((ir,_a)=>{const er=Za(ir,_a),Gr=(He?He(ir):null)||{};or.set(er,Gr)}),or},[Wa,Za,He]),Sr=(0,se.useCallback)(or=>{var ir;return!!(!((ir=gr.get(Za(or)))===null||ir===void 0)&&ir.disabled)},[gr,Za]),[Wr,_r]=(0,se.useMemo)(()=>{if(Qn)return[Wn||[],[]];const{checkedKeys:or,halfCheckedKeys:ir}=(0,Fl.S)(Wn,!0,nr,Sr);return[or||[],ir]},[Wn,Qn,nr,Sr]),ho=(0,se.useMemo)(()=>{const or=_t==="radio"?Wr.slice(0,1):Wr;return new Set(or)},[Wr,_t]),eo=(0,se.useMemo)(()=>_t==="radio"?new Set:new Set(_r),[_r,_t]),[Br,Do]=(0,se.useState)(null);se.useEffect(()=>{ce||ca(wl)},[!!ce]);const Ur=(0,se.useCallback)((or,ir)=>{let _a,er;qa(or),be?(_a=or,er=or.map(Gr=>Ta.current.get(Gr))):(_a=[],er=[],or.forEach(Gr=>{const tr=ya(Gr);tr!==void 0&&(_a.push(Gr),er.push(tr))})),ca(_a),pt==null||pt(_a,er,{type:ir})},[ca,ya,pt,be]),So=(0,se.useCallback)((or,ir,_a,er)=>{if(Bt){const Gr=_a.map(tr=>ya(tr));Bt(ya(or),ir,Gr,er)}Ur(_a,"single")},[Bt,ya,Ur]),oo=(0,se.useMemo)(()=>!It||Yn?null:(It===!0?[al,ha,Li]:It).map(ir=>ir===al?{key:"all",text:Pa.selectionAll,onSelect(){Ur(xn.map((_a,er)=>Za(_a,er)).filter(_a=>{const er=gr.get(_a);return!(er!=null&&er.disabled)||ho.has(_a)}),"all")}}:ir===ha?{key:"invert",text:Pa.selectInvert,onSelect(){const _a=new Set(ho);ba.forEach((Gr,tr)=>{const sr=Za(Gr,tr),Rr=gr.get(sr);Rr!=null&&Rr.disabled||(_a.has(sr)?_a.delete(sr):_a.add(sr))});const er=Array.from(_a);Ht&&Ht(er),Ur(er,"invert")}}:ir===Li?{key:"none",text:Pa.selectNone,onSelect(){wt==null||wt(),Ur(Array.from(ho).filter(_a=>{const er=gr.get(_a);return er==null?void 0:er.disabled}),"none")}}:ir).map(ir=>Object.assign(Object.assign({},ir),{onSelect:function(){for(var _a,er,Gr=arguments.length,tr=new Array(Gr),sr=0;sr<Gr;sr++)tr[sr]=arguments[sr];(er=ir.onSelect)===null||er===void 0||(_a=er).call.apply(_a,[ir].concat(tr)),Do(null)}})),[It,ho,ba,Za,Ht,Ur]);return[(0,se.useCallback)(or=>{var ir;if(!ce)return or.filter(Yr=>Yr!==yi);let _a=(0,Hn.Z)(or);const er=new Set(ho),Gr=Wa.map(Za).filter(Yr=>!gr.get(Yr).disabled),tr=Gr.every(Yr=>er.has(Yr)),sr=Gr.some(Yr=>er.has(Yr)),Rr=()=>{const Yr=[];tr?Gr.forEach(fo=>{er.delete(fo),Yr.push(fo)}):Gr.forEach(fo=>{er.has(fo)||(er.add(fo),Yr.push(fo))});const to=Array.from(er);it==null||it(!tr,to.map(fo=>ya(fo)),Yr.map(fo=>ya(fo))),Ur(to,"all"),Do(null)};let Dr;if(_t!=="radio"){let Yr;if(oo){const Tr={getPopupContainer:Sa,items:oo.map((Wo,$o)=>{const{key:da,text:Va,onSelect:Pr}=Wo;return{key:da!=null?da:$o,onClick:()=>{Pr==null||Pr(Gr)},label:Va}})};Yr=se.createElement("div",{className:`${ea}-selection-extra`},se.createElement(fa.Z,{menu:Tr,getPopupContainer:Sa},se.createElement("span",null,se.createElement(Yo.Z,null))))}const to=Wa.map((Tr,Wo)=>{const $o=Za(Tr,Wo),da=gr.get($o)||{};return Object.assign({checked:er.has($o)},da)}).filter(Tr=>{let{disabled:Wo}=Tr;return Wo}),fo=!!to.length&&to.length===Wa.length,yo=fo&&to.every(Tr=>{let{checked:Wo}=Tr;return Wo}),lo=fo&&to.some(Tr=>{let{checked:Wo}=Tr;return Wo});Dr=!Yn&&se.createElement("div",{className:`${ea}-selection`},se.createElement(wa.default,{checked:fo?yo:!!Wa.length&&tr,indeterminate:fo?!yo&&lo:!tr&&sr,onChange:Rr,disabled:Wa.length===0||fo,"aria-label":Yr?"Custom selection":"Select all",skipGroup:!0}),Yr)}let io;_t==="radio"?io=(Yr,to,fo)=>{const yo=Za(to,fo),lo=er.has(yo);return{node:se.createElement($r.ZP,Object.assign({},gr.get(yo),{checked:lo,onClick:Tr=>Tr.stopPropagation(),onChange:Tr=>{er.has(yo)||So(yo,!0,[yo],Tr.nativeEvent)}})),checked:lo}}:io=(Yr,to,fo)=>{var yo;const lo=Za(to,fo),Tr=er.has(lo),Wo=eo.has(lo),$o=gr.get(lo);let da;return ja==="nest"?da=Wo:da=(yo=$o==null?void 0:$o.indeterminate)!==null&&yo!==void 0?yo:Wo,{node:se.createElement(wa.default,Object.assign({},$o,{indeterminate:da,checked:Tr,skipGroup:!0,onClick:Va=>Va.stopPropagation(),onChange:Va=>{let{nativeEvent:Pr}=Va;const{shiftKey:yr}=Pr;let Lr=-1,zr=-1;if(yr&&Qn){const so=new Set([Br,lo]);Gr.some((Eo,co)=>{if(so.has(Eo))if(Lr===-1)Lr=co;else return zr=co,!0;return!1})}if(zr!==-1&&Lr!==zr&&Qn){const so=Gr.slice(Lr,zr+1),Eo=[];Tr?so.forEach(vo=>{er.has(vo)&&(Eo.push(vo),er.delete(vo))}):so.forEach(vo=>{er.has(vo)||(Eo.push(vo),er.add(vo))});const co=Array.from(er);Jt==null||Jt(!Tr,co.map(vo=>ya(vo)),Eo.map(vo=>ya(vo))),Ur(co,"multiple")}else{const so=Wr;if(Qn){const Eo=Tr?(0,Qi._5)(so,lo):(0,Qi.L0)(so,lo);So(lo,!Tr,Eo,Pr)}else{const Eo=(0,Fl.S)([].concat((0,Hn.Z)(so),[lo]),!0,nr,Sr),{checkedKeys:co,halfCheckedKeys:vo}=Eo;let ii=co;if(Tr){const zo=new Set(co);zo.delete(lo),ii=(0,Fl.S)(Array.from(zo),{checked:!1,halfCheckedKeys:vo},nr,Sr).checkedKeys}So(lo,!Tr,ii,Pr)}}Do(Tr?null:lo)}})),checked:Tr}};const wo=(Yr,to,fo)=>{const{node:yo,checked:lo}=io(Yr,to,fo);return Kn?Kn(lo,to,fo,yo):yo};if(!_a.includes(yi))if(_a.findIndex(Yr=>{var to;return((to=Yr[ta])===null||to===void 0?void 0:to.columnType)==="EXPAND_COLUMN"})===0){const[Yr,...to]=_a;_a=[Yr,yi].concat((0,Hn.Z)(to))}else _a=[yi].concat((0,Hn.Z)(_a));const _o=_a.indexOf(yi);_a=_a.filter((Yr,to)=>Yr!==yi||to===_o);const Ro=_a[_o-1],ci=_a[_o+1];let No=$n;No===void 0&&((ci==null?void 0:ci.fixed)!==void 0?No=ci.fixed:(Ro==null?void 0:Ro.fixed)!==void 0&&(No=Ro.fixed)),No&&Ro&&((ir=Ro[ta])===null||ir===void 0?void 0:ir.columnType)==="EXPAND_COLUMN"&&Ro.fixed===void 0&&(Ro.fixed=No);const Io=Ye()(`${ea}-selection-col`,{[`${ea}-selection-col-with-dropdown`]:It&&_t==="checkbox"}),Ai={fixed:No,width:Rn,className:`${ea}-selection-column`,title:ce.columnTitle||Dr,render:wo,onCell:ce.onCell,[ta]:{className:Io}};return _a.map(Yr=>Yr===yi?Ai:Yr)},[Za,Wa,ce,Wr,ho,eo,Rn,oo,ja,Br,gr,Jt,So,Sr]),ho]},rl=te(89489),Ko=te(59477),ts=te(6848);const bi="ascend",ol="descend";function Oi(ge){return typeof ge.sorter=="object"&&typeof ge.sorter.multiple=="number"?ge.sorter.multiple:!1}function il(ge){return typeof ge=="function"?ge:ge&&typeof ge=="object"&&ge.compare?ge.compare:!1}function Dl(ge,ce){return ce?ge[ge.indexOf(ce)+1]:ge[0]}function Ji(ge,ce,be){let ke=[];function Ie(He,pt){ke.push({column:He,key:cr(He,pt),multiplePriority:Oi(He),sortOrder:He.sortOrder})}return(ge||[]).forEach((He,pt)=>{const Bt=Nr(pt,be);He.children?("sortOrder"in He&&Ie(He,Bt),ke=[].concat((0,Hn.Z)(ke),(0,Hn.Z)(Ji(He.children,ce,Bt)))):He.sorter&&("sortOrder"in He?Ie(He,Bt):ce&&He.defaultSortOrder&&ke.push({column:He,key:cr(He,Bt),multiplePriority:Oi(He),sortOrder:He.defaultSortOrder}))}),ke}function Ri(ge,ce,be,ke,Ie,He,pt,Bt){return(ce||[]).map((it,Ht)=>{const wt=Nr(Ht,Bt);let Jt=it;if(Jt.sorter){const Rn=Jt.sortDirections||Ie,_t=Jt.showSorterTooltip===void 0?pt:Jt.showSorterTooltip,It=cr(Jt,wt),$n=be.find(ja=>{let{key:la}=ja;return la===It}),Kn=$n?$n.sortOrder:null,Yn=Dl(Rn,Kn);let Qn;if(it.sortIcon)Qn=it.sortIcon({sortOrder:Kn});else{const ja=Rn.includes(bi)&&se.createElement(Ko.Z,{className:Ye()(`${ge}-column-sorter-up`,{active:Kn===bi})}),la=Rn.includes(ol)&&se.createElement(rl.Z,{className:Ye()(`${ge}-column-sorter-down`,{active:Kn===ol})});Qn=se.createElement("span",{className:Ye()(`${ge}-column-sorter`,{[`${ge}-column-sorter-full`]:!!(ja&&la)})},se.createElement("span",{className:`${ge}-column-sorter-inner`,"aria-hidden":"true"},ja,la))}const{cancelSort:ea,triggerAsc:xn,triggerDesc:ba}=He||{};let ya=ea;Yn===ol?ya=ba:Yn===bi&&(ya=xn);const Za=typeof _t=="object"?_t:{title:ya};Jt=Object.assign(Object.assign({},Jt),{className:Ye()(Jt.className,{[`${ge}-column-sort`]:Kn}),title:ja=>{const la=se.createElement("div",{className:`${ge}-column-sorters`},se.createElement("span",{className:`${ge}-column-title`},xe(it.title,ja)),Qn);return _t?se.createElement(ts.Z,Object.assign({},Za),la):la},onHeaderCell:ja=>{const la=it.onHeaderCell&&it.onHeaderCell(ja)||{},Pa=la.onClick,Sa=la.onKeyDown;la.onClick=Ta=>{ke({column:it,key:It,sortOrder:Yn,multiplePriority:Oi(it)}),Pa==null||Pa(Ta)},la.onKeyDown=Ta=>{Ta.keyCode===ui.Z.ENTER&&(ke({column:it,key:It,sortOrder:Yn,multiplePriority:Oi(it)}),Sa==null||Sa(Ta))};const Wn=sn(it.title,{}),ca=Wn==null?void 0:Wn.toString();return Kn?la["aria-sort"]=Kn==="ascend"?"ascending":"descending":la["aria-label"]=ca||"",la.className=Ye()(la.className,`${ge}-column-has-sorters`),la.tabIndex=0,it.ellipsis&&(la.title=(Wn!=null?Wn:"").toString()),la}})}return"children"in Jt&&(Jt=Object.assign(Object.assign({},Jt),{children:Ri(ge,Jt.children,be,ke,Ie,He,pt,wt)})),Jt})}function ll(ge){const{column:ce,sortOrder:be}=ge;return{column:ce,order:be,field:ce.dataIndex,columnKey:ce.key}}function Ti(ge){const ce=ge.filter(be=>{let{sortOrder:ke}=be;return ke}).map(ll);return ce.length===0&&ge.length?Object.assign(Object.assign({},ll(ge[ge.length-1])),{column:void 0}):ce.length<=1?ce[0]||{}:ce}function Mi(ge,ce,be){const ke=ce.slice().sort((pt,Bt)=>Bt.multiplePriority-pt.multiplePriority),Ie=ge.slice(),He=ke.filter(pt=>{let{column:{sorter:Bt},sortOrder:it}=pt;return il(Bt)&&it});return He.length?Ie.sort((pt,Bt)=>{for(let it=0;it<He.length;it+=1){const Ht=He[it],{column:{sorter:wt},sortOrder:Jt}=Ht,Rn=il(wt);if(Rn&&Jt){const _t=Rn(pt,Bt,Jt);if(_t!==0)return Jt===bi?_t:-_t}}return 0}).map(pt=>{const Bt=pt[be];return Bt?Object.assign(Object.assign({},pt),{[be]:Mi(Bt,ce,be)}):pt}):Ie}function ns(ge){let{prefixCls:ce,mergedColumns:be,onSorterChange:ke,sortDirections:Ie,tableLocale:He,showSorterTooltip:pt}=ge;const[Bt,it]=se.useState(Ji(be,!0)),Ht=se.useMemo(()=>{let It=!0;const $n=Ji(be,!1);if(!$n.length)return Bt;const Kn=[];function Yn(ea){It?Kn.push(ea):Kn.push(Object.assign(Object.assign({},ea),{sortOrder:null}))}let Qn=null;return $n.forEach(ea=>{Qn===null?(Yn(ea),ea.sortOrder&&(ea.multiplePriority===!1?It=!1:Qn=!0)):(Qn&&ea.multiplePriority!==!1||(It=!1),Yn(ea))}),Kn},[be,Bt]),wt=se.useMemo(()=>{const It=Ht.map($n=>{let{column:Kn,sortOrder:Yn}=$n;return{column:Kn,order:Yn}});return{sortColumns:It,sortColumn:It[0]&&It[0].column,sortOrder:It[0]&&It[0].order}},[Ht]);function Jt(It){let $n;It.multiplePriority===!1||!Ht.length||Ht[0].multiplePriority===!1?$n=[It]:$n=[].concat((0,Hn.Z)(Ht.filter(Kn=>{let{key:Yn}=Kn;return Yn!==It.key})),[It]),it($n),ke(Ti($n),$n)}return[It=>Ri(ce,It,Ht,Jt,Ie,He,pt),Ht,wt,()=>Ti(Ht)]}function Lo(ge,ce){return ge.map(be=>{const ke=Object.assign({},be);return ke.title=xe(be.title,ce),"children"in ke&&(ke.children=Lo(ke.children,ce)),ke})}function as(ge){return[se.useCallback(be=>Lo(be,ge),[ge])]}var As=za((ge,ce)=>{const{_renderTimes:be}=ge,{_renderTimes:ke}=ce;return be!==ke}),sl=jr((ge,ce)=>{const{_renderTimes:be}=ge,{_renderTimes:ke}=ce;return be!==ke}),Fi=te(64993),ki=te(17313),Nl=te(83116),rs=te(37613),is=ge=>{const{componentCls:ce}=ge,be=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`,ke=(Ie,He,pt)=>({[`&${ce}-${Ie}`]:{[`> ${ce}-container`]:{[`> ${ce}-content, > ${ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${He}px -${pt+ge.lineWidth}px`}}}}}});return{[`${ce}-wrapper`]:{[`${ce}${ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ce}-title`]:{border:be,borderBottom:0},[`> ${ce}-container`]:{borderInlineStart:be,borderTop:be,[`
> ${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:be},"> thead":{"> tr:not(:last-child) > th":{borderBottom:be},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ce}-cell-fix-right-first::after`]:{borderInlineEnd:be}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${ge.tablePaddingVertical}px -${ge.tablePaddingHorizontal+ge.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ge.lineWidth,bottom:0,borderInlineEnd:be,content:'""'}}}}}},[`&${ce}-scroll-horizontal`]:{[`> ${ce}-container > ${ce}-body`]:{"> table > tbody":{[`
> tr${ce}-expanded-row,
> tr${ce}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ke("middle",ge.tablePaddingVerticalMiddle,ge.tablePaddingHorizontalMiddle)),ke("small",ge.tablePaddingVerticalSmall,ge.tablePaddingHorizontalSmall)),{[`> ${ce}-footer`]:{border:be,borderTop:0}}),[`${ce}-cell`]:{[`${ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ge.lineWidth}px 0 ${ge.lineWidth}px ${ge.tableHeaderBg}`}},[`${ce}-bordered ${ce}-cell-scrollbar`]:{borderInlineEnd:be}}}},ls=ge=>{const{componentCls:ce}=ge;return{[`${ce}-wrapper`]:{[`${ce}-cell-ellipsis`]:Object.assign(Object.assign({},ki.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"}})}}},ss=ge=>{const{componentCls:ce}=ge;return{[`${ce}-wrapper`]:{[`${ce}-tbody > tr${ce}-placeholder`]:{textAlign:"center",color:ge.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ge.colorBgContainer}}}}},Il=te(15969),Ll=ge=>{const{componentCls:ce,antCls:be,controlInteractiveSize:ke,motionDurationSlow:Ie,lineWidth:He,paddingXS:pt,lineType:Bt,tableBorderColor:it,tableExpandIconBg:Ht,tableExpandColumnWidth:wt,borderRadius:Jt,fontSize:Rn,fontSizeSM:_t,lineHeight:It,tablePaddingVertical:$n,tablePaddingHorizontal:Kn,tableExpandedRowBg:Yn,paddingXXS:Qn}=ge,ea=ke/2-He,xn=ea*2+He*3,ba=`${He}px ${Bt} ${it}`,ya=Qn-He;return{[`${ce}-wrapper`]:{[`${ce}-expand-icon-col`]:{width:wt},[`${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,Il.N)(ge)),{position:"relative",float:"left",boxSizing:"border-box",width:xn,height:xn,padding:0,color:"inherit",lineHeight:`${xn}px`,background:Ht,border:ba,borderRadius:Jt,transform:`scale(${ke/xn})`,transition:`all ${Ie}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ie} ease-out`,content:'""'},"&::before":{top:ea,insetInlineEnd:ya,insetInlineStart:ya,height:He},"&::after":{top:ya,bottom:ya,insetInlineStart:ea,width:He,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:(Rn*It-He*3)/2-Math.ceil((_t*1.4-He*3)/2),marginInlineEnd:pt},[`tr${ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Yn}},[`${be}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ce}-expanded-row-fixed`]:{position:"relative",margin:`-${$n}px -${Kn}px`,padding:`${$n}px ${Kn}px`}}}},ei=ge=>{const{componentCls:ce,antCls:be,iconCls:ke,tableFilterDropdownWidth:Ie,tableFilterDropdownSearchWidth:He,paddingXXS:pt,paddingXS:Bt,colorText:it,lineWidth:Ht,lineType:wt,tableBorderColor:Jt,tableHeaderIconColor:Rn,fontSizeSM:_t,tablePaddingHorizontal:It,borderRadius:$n,motionDurationSlow:Kn,colorTextDescription:Yn,colorPrimary:Qn,tableHeaderFilterActiveBg:ea,colorTextDisabled:xn,tableFilterDropdownBg:ba,tableFilterDropdownHeight:ya,controlItemBgHover:Za,controlItemBgActive:ja,boxShadowSecondary:la,filterDropdownMenuBg:Pa}=ge,Sa=`${be}-dropdown`,Wn=`${ce}-filter-dropdown`,ca=`${be}-tree`,Ta=`${Ht}px ${wt} ${Jt}`;return[{[`${ce}-wrapper`]:{[`${ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-pt,marginInline:`${pt}px ${-It/2}px`,padding:`0 ${pt}px`,color:Rn,fontSize:_t,borderRadius:$n,cursor:"pointer",transition:`all ${Kn}`,"&:hover":{color:Yn,background:ea},"&.active":{color:Qn}}}},{[`${be}-dropdown`]:{[Wn]:Object.assign(Object.assign({},(0,ki.Wf)(ge)),{minWidth:Ie,backgroundColor:ba,borderRadius:$n,boxShadow:la,overflow:"hidden",[`${Sa}-menu`]:{maxHeight:ya,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Pa,"&:empty::after":{display:"block",padding:`${Bt}px 0`,color:xn,fontSize:_t,textAlign:"center",content:'"Not Found"'}},[`${Wn}-tree`]:{paddingBlock:`${Bt}px 0`,paddingInline:Bt,[ca]:{padding:0},[`${ca}-treenode ${ca}-node-content-wrapper:hover`]:{backgroundColor:Za},[`${ca}-treenode-checkbox-checked ${ca}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ja}}},[`${Wn}-search`]:{padding:Bt,borderBottom:Ta,"&-input":{input:{minWidth:He},[ke]:{color:xn}}},[`${Wn}-checkall`]:{width:"100%",marginBottom:pt,marginInlineStart:pt},[`${Wn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Bt-Ht}px ${Bt}px`,overflow:"hidden",borderTop:Ta}})}},{[`${be}-dropdown ${Wn}, ${Wn}-submenu`]:{[`${be}-checkbox-wrapper + span`]:{paddingInlineStart:Bt,color:it},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Oo=ge=>{const{componentCls:ce,lineWidth:be,colorSplit:ke,motionDurationSlow:Ie,zIndexTableFixed:He,tableBg:pt,zIndexTableSticky:Bt}=ge,it=ke;return{[`${ce}-wrapper`]:{[`
${ce}-cell-fix-left,
${ce}-cell-fix-right
`]:{position:"sticky !important",zIndex:He,background:pt},[`
${ce}-cell-fix-left-first::after,
${ce}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-be,width:30,transform:"translateX(100%)",transition:`box-shadow ${Ie}`,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:-be,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ie}`,content:'""',pointerEvents:"none"},[`${ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Bt+1,width:30,transition:`box-shadow ${Ie}`,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 ${it}`}},[`
${ce}-cell-fix-left-first::after,
${ce}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${it}`},[`${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 ${it}`}},[`
${ce}-cell-fix-right-first::after,
${ce}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${it}`}}}}},ds=ge=>{const{componentCls:ce,antCls:be}=ge;return{[`${ce}-wrapper`]:{[`${ce}-pagination${be}-pagination`]:{margin:`${ge.margin}px 0`},[`${ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ge.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Rl=ge=>{const{componentCls:ce,tableRadius:be}=ge;return{[`${ce}-wrapper`]:{[ce]:{[`${ce}-title, ${ce}-header`]:{borderRadius:`${be}px ${be}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:be,borderStartEndRadius:be,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:be},"> *:last-child":{borderStartEndRadius:be}}},"&-footer":{borderRadius:`0 0 ${be}px ${be}px`}}}}},Ml=ge=>{const{componentCls:ce}=ge;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"}}}}},kl=ge=>{const{componentCls:ce,antCls:be,iconCls:ke,fontSizeIcon:Ie,padding:He,paddingXS:pt,tableHeaderIconColor:Bt,tableHeaderIconColorHover:it,tableSelectionColumnWidth:Ht}=ge;return{[`${ce}-wrapper`]:{[`${ce}-selection-col`]:{width:Ht,[`&${ce}-selection-col-with-dropdown`]:{width:Ht+Ie+He/4}},[`${ce}-bordered ${ce}-selection-col`]:{width:Ht+pt*2,[`&${ce}-selection-col-with-dropdown`]:{width:Ht+Ie+He/4+pt*2}},[`
table tr th${ce}-selection-column,
table tr td${ce}-selection-column
`]:{paddingInlineEnd:ge.paddingXS,paddingInlineStart:ge.paddingXS,textAlign:"center",[`${be}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ce}-selection-column${ce}-cell-fix-left`]:{zIndex:ge.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 ${ge.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ge.tablePaddingHorizontal/4}px`,[ke]:{color:Bt,fontSize:Ie,verticalAlign:"baseline","&:hover":{color:it}}}}}},cs=ge=>{const{componentCls:ce}=ge,be=(ke,Ie,He,pt)=>({[`${ce}${ce}-${ke}`]:{fontSize:pt,[`
${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:`${Ie}px ${He}px`},[`${ce}-filter-trigger`]:{marginInlineEnd:`-${He/2}px`},[`${ce}-expanded-row-fixed`]:{margin:`-${Ie}px -${He}px`},[`${ce}-tbody`]:{[`${ce}-wrapper:only-child ${ce}`]:{marginBlock:`-${Ie}px`,marginInline:`${ge.tableExpandColumnWidth-He}px -${He}px`}},[`${ce}-selection-column`]:{paddingInlineStart:`${He/4}px`}}});return{[`${ce}-wrapper`]:Object.assign(Object.assign({},be("middle",ge.tablePaddingVerticalMiddle,ge.tablePaddingHorizontalMiddle,ge.tableFontSizeMiddle)),be("small",ge.tablePaddingVerticalSmall,ge.tablePaddingHorizontalSmall,ge.tableFontSizeSmall))}},ms=ge=>{const{componentCls:ce,marginXXS:be,fontSizeIcon:ke,tableHeaderIconColor:Ie,tableHeaderIconColorHover:He}=ge;return{[`${ce}-wrapper`]:{[`${ce}-thead th${ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ge.motionDurationSlow}`,"&:hover":{background:ge.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ge.colorPrimary},[`
&${ce}-cell-fix-left:hover,
&${ce}-cell-fix-right:hover
`]:{background:ge.tableFixedHeaderSortActiveBg}},[`${ce}-thead th${ce}-column-sort`]:{background:ge.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ce}-column-sort`]:{background:ge.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:be,color:Ie,fontSize:0,transition:`color ${ge.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ke,"&.active":{color:ge.colorPrimary}},[`${ce}-column-sorter-up + ${ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ce}-column-sorters:hover ${ce}-column-sorter`]:{color:He}}}},Zi=ge=>{const{componentCls:ce,opacityLoading:be,tableScrollThumbBg:ke,tableScrollThumbBgHover:Ie,tableScrollThumbSize:He,tableScrollBg:pt,zIndexTableSticky:Bt,stickyScrollBarBorderRadius:it}=ge,Ht=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`;return{[`${ce}-wrapper`]:{[`${ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Bt,background:ge.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${He}px !important`,zIndex:Bt,display:"flex",alignItems:"center",background:pt,borderTop:Ht,opacity:be,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:He,backgroundColor:ke,borderRadius:it,transition:`all ${ge.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ie}}}}}}},xi=ge=>{const{componentCls:ce,lineWidth:be,tableBorderColor:ke}=ge,Ie=`${be}px ${ge.lineType} ${ke}`;return{[`${ce}-wrapper`]:{[`${ce}-summary`]:{position:"relative",zIndex:ge.zIndexTableFixed,background:ge.tableBg,"> tr":{"> th, > td":{borderBottom:Ie}}},[`div${ce}-summary`]:{boxShadow:`0 -${be}px 0 ${ke}`}}}},dl=ge=>{const{componentCls:ce}=ge,be=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`,ke=`${ce}-expanded-row-cell`;return{[`${ce}-wrapper`]:{[`${ce}-tbody-virtual`]:{[`${ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ce}-cell`]:{borderBottom:be},[`${ce}-expanded-row`]:{[`${ke}${ke}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ge.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ce}-bordered`]:{[`${ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:be,position:"absolute"},[`${ce}-cell`]:{borderInlineEnd:be,[`&${ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ge.lineWidth,borderInlineStart:be}}}}}}};const cl=ge=>{const{componentCls:ce,fontWeightStrong:be,tablePaddingVertical:ke,tablePaddingHorizontal:Ie,lineWidth:He,lineType:pt,tableBorderColor:Bt,tableFontSize:it,tableBg:Ht,tableRadius:wt,tableHeaderTextColor:Jt,motionDurationMid:Rn,tableHeaderBg:_t,tableHeaderCellSplitColor:It,tableRowHoverBg:$n,tableSelectedRowBg:Kn,tableSelectedRowHoverBg:Yn,tableFooterTextColor:Qn,tableFooterBg:ea,paddingContentVerticalLG:xn}=ge,ba=`${He}px ${pt} ${Bt}`;return{[`${ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ki.dF)()),{[ce]:Object.assign(Object.assign({},(0,ki.Wf)(ge)),{fontSize:it,background:Ht,borderRadius:`${wt}px ${wt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${wt}px ${wt}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:`${xn}px ${Ie}px`,overflowWrap:"break-word"},[`${ce}-title`]:{padding:`${ke}px ${Ie}px`},[`${ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Jt,fontWeight:be,textAlign:"start",background:_t,borderBottom:ba,transition:`background ${Rn} 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:It,transform:"translateY(-50%)",transition:`background-color ${Rn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Rn}, border-color ${Rn}`,borderBottom:ba,[`
> ${ce}-wrapper:only-child,
> ${ce}-expanded-row-fixed > ${ce}-wrapper:only-child
`]:{[ce]:{marginBlock:`-${ke}px`,marginInline:`${ge.tableExpandColumnWidth-Ie}px -${Ie}px`,[`${ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Jt,fontWeight:be,textAlign:"start",background:_t,borderBottom:ba,transition:`background ${Rn} ease`},[`
&${ce}-row:hover > th,
&${ce}-row:hover > td,
> th${ce}-cell-row-hover,
> td${ce}-cell-row-hover
`]:{background:$n},[`&${ce}-row-selected`]:{"> th, > td":{background:Kn},"&:hover > th, &:hover > td":{background:Yn}}}},[`${ce}-footer`]:{padding:`${ke}px ${Ie}px`,color:Qn,background:ea}})}};var gl=(0,Nl.Z)("Table",ge=>{const{colorTextHeading:ce,colorSplit:be,colorIcon:ke,colorIconHover:Ie,opacityLoading:He,colorBgContainer:pt,controlInteractiveSize:Bt,headerBg:it,headerColor:Ht,headerSortActiveBg:wt,headerSortHoverBg:Jt,bodySortBg:Rn,rowHoverBg:_t,rowSelectedBg:It,rowSelectedHoverBg:$n,rowExpandedBg:Kn,cellPaddingBlock:Yn,cellPaddingInline:Qn,cellPaddingBlockMD:ea,cellPaddingInlineMD:xn,cellPaddingBlockSM:ba,cellPaddingInlineSM:ya,borderColor:Za,footerBg:ja,footerColor:la,headerBorderRadius:Pa,cellFontSize:Sa,cellFontSizeMD:Wn,cellFontSizeSM:ca,headerSplitColor:Ta,fixedHeaderSortActiveBg:qa,headerFilterHoverBg:nr,filterDropdownBg:Wa,expandIconBg:gr,selectionColumnWidth:Sr,stickyScrollBarBg:Wr}=ge,_r=new Fi.C(ke),ho=new Fi.C(Ie),eo=2,Br=(0,rs.TS)(ge,{tableFontSize:Sa,tableBg:pt,tableRadius:Pa,tablePaddingVertical:Yn,tablePaddingHorizontal:Qn,tablePaddingVerticalMiddle:ea,tablePaddingHorizontalMiddle:xn,tablePaddingVerticalSmall:ba,tablePaddingHorizontalSmall:ya,tableBorderColor:Za,tableHeaderTextColor:Ht,tableHeaderBg:it,tableFooterTextColor:la,tableFooterBg:ja,tableHeaderCellSplitColor:Ta,tableHeaderSortBg:wt,tableHeaderSortHoverBg:Jt,tableHeaderIconColor:_r.clone().setAlpha(_r.getAlpha()*He).toRgbString(),tableHeaderIconColorHover:ho.clone().setAlpha(ho.getAlpha()*He).toRgbString(),tableBodySortBg:Rn,tableFixedHeaderSortActiveBg:qa,tableHeaderFilterActiveBg:nr,tableFilterDropdownBg:Wa,tableRowHoverBg:_t,tableSelectedRowBg:It,tableSelectedRowHoverBg:$n,zIndexTableFixed:eo,zIndexTableSticky:eo+1,tableFontSizeMiddle:Wn,tableFontSizeSmall:ca,tableSelectionColumnWidth:Sr,tableExpandIconBg:gr,tableExpandColumnWidth:Bt+2*ge.padding,tableExpandedRowBg:Kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Wr,tableScrollThumbBgHover:ce,tableScrollBg:be});return[cl(Br),ds(Br),xi(Br),ms(Br),ei(Br),is(Br),Rl(Br),Ll(Br),xi(Br),ss(Br),kl(Br),Oo(Br),Zi(Br),ls(Br),cs(Br),Ml(Br),dl(Br)]},ge=>{const{colorFillAlter:ce,colorBgContainer:be,colorTextHeading:ke,colorFillSecondary:Ie,colorFillContent:He,controlItemBgActive:pt,controlItemBgActiveHover:Bt,padding:it,paddingSM:Ht,paddingXS:wt,colorBorderSecondary:Jt,borderRadiusLG:Rn,fontSize:_t,controlHeight:It,colorTextPlaceholder:$n}=ge,Kn=new Fi.C(Ie).onBackground(be).toHexShortString(),Yn=new Fi.C(He).onBackground(be).toHexShortString(),Qn=new Fi.C(ce).onBackground(be).toHexShortString();return{headerBg:Qn,headerColor:ke,headerSortActiveBg:Kn,headerSortHoverBg:Yn,bodySortBg:Qn,rowHoverBg:Qn,rowSelectedBg:pt,rowSelectedHoverBg:Bt,rowExpandedBg:ce,cellPaddingBlock:it,cellPaddingInline:it,cellPaddingBlockMD:Ht,cellPaddingInlineMD:wt,cellPaddingBlockSM:wt,cellPaddingInlineSM:wt,borderColor:Jt,headerBorderRadius:Rn,footerBg:Qn,footerColor:ke,cellFontSize:_t,cellFontSizeMD:_t,cellFontSizeSM:_t,headerSplitColor:Jt,fixedHeaderSortActiveBg:Kn,headerFilterHoverBg:He,filterDropdownMenuBg:be,filterDropdownBg:be,expandIconBg:be,selectionColumnWidth:It,stickyScrollBarBg:$n,stickyScrollBarBorderRadius:100}});const he=[],Ke=(ge,ce)=>{const{prefixCls:be,className:ke,rootClassName:Ie,style:He,size:pt,bordered:Bt,dropdownPrefixCls:it,dataSource:Ht,pagination:wt,rowSelection:Jt,rowKey:Rn="key",rowClassName:_t,columns:It,children:$n,childrenColumnName:Kn,onChange:Yn,getPopupContainer:Qn,loading:ea,expandIcon:xn,expandable:ba,expandedRowRender:ya,expandIconColumnIndex:Za,indentSize:ja,scroll:la,sortDirections:Pa,locale:Sa,showSorterTooltip:Wn=!0,virtual:ca}=ge,Ta=se.useMemo(()=>It||ct($n),[It,$n]),qa=se.useMemo(()=>Ta.some(Kr=>Kr.responsive),[Ta]),nr=(0,Ao.Z)(qa),Wa=se.useMemo(()=>{const Kr=new Set(Object.keys(nr).filter(po=>nr[po]));return Ta.filter(po=>!po.responsive||po.responsive.some(Mo=>Kr.has(Mo)))},[Ta,nr]),gr=(0,To.Z)(ge,["className","style","columns"]),{locale:Sr=Go.Z,direction:Wr,table:_r,renderEmpty:ho,getPrefixCls:eo,getPopupContainer:Br}=se.useContext(Ir.E_),Do=(0,Zo.Z)(pt),Ur=Object.assign(Object.assign({},Sr.Table),Sa),So=Ht||he,oo=eo("table",be),Jo=eo("dropdown",it),or=Object.assign({childrenColumnName:Kn,expandIconColumnIndex:Za},ba),{childrenColumnName:ir="children"}=or,_a=se.useMemo(()=>So.some(Kr=>Kr==null?void 0:Kr[ir])?"nest":ya||ba&&ba.expandedRowRender?"row":null,[So]),er={body:se.useRef()},Gr=se.useMemo(()=>typeof Rn=="function"?Rn:Kr=>Kr==null?void 0:Kr[Rn],[Rn]),[tr]=bl(So,ir,Gr),sr={},Rr=function(Kr,po){let Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var bo,Uo,Vo;const Xo=Object.assign(Object.assign({},sr),Kr);Mo&&((bo=sr.resetPagination)===null||bo===void 0||bo.call(sr),!((Uo=Xo.pagination)===null||Uo===void 0)&&Uo.current&&(Xo.pagination.current=1),wt&&wt.onChange&&wt.onChange(1,(Vo=Xo.pagination)===null||Vo===void 0?void 0:Vo.pageSize)),la&&la.scrollToFirstRowOnChange!==!1&&er.body.current&&(0,ko.Z)(0,{getContainer:()=>er.body.current}),Yn==null||Yn(Xo.pagination,Xo.filters,Xo.sorter,{currentDataSource:Xl(Mi(So,Xo.sorterStates,ir),Xo.filterStates),action:po})},Dr=(Kr,po)=>{Rr({sorter:Kr,sorterStates:po},"sort",!1)},[io,wo,_o,Ro]=ns({prefixCls:oo,mergedColumns:Wa,onSorterChange:Dr,sortDirections:Pa||["ascend","descend"],tableLocale:Ur,showSorterTooltip:Wn}),ci=se.useMemo(()=>Mi(So,wo,ir),[So,wo]);sr.sorter=Ro(),sr.sorterStates=wo;const No=(Kr,po)=>{Rr({filters:Kr,filterStates:po},"filter",!0)},[Io,Ai,Yr]=El({prefixCls:oo,locale:Ur,dropdownPrefixCls:Jo,mergedColumns:Wa,onFilterChange:No,getPopupContainer:Qn||Br}),to=Xl(ci,Ai);sr.filters=Yr,sr.filterStates=Ai;const fo=se.useMemo(()=>{const Kr={};return Object.keys(Yr).forEach(po=>{Yr[po]!==null&&(Kr[po]=Yr[po])}),Object.assign(Object.assign({},_o),{filters:Kr})},[_o,Yr]),[yo]=as(fo),lo=(Kr,po)=>{Rr({pagination:Object.assign(Object.assign({},sr.pagination),{current:Kr,pageSize:po})},"paginate")},[Tr,Wo]=di(to.length,lo,wt);sr.pagination=wt===!1?{}:oi(Tr,wt),sr.resetPagination=Wo;const $o=se.useMemo(()=>{if(wt===!1||!Tr.pageSize)return to;const{current:Kr=1,total:po,pageSize:Mo=xl}=Tr;return to.length<po?to.length>Mo?to.slice((Kr-1)*Mo,Kr*Mo):to:to.slice((Kr-1)*Mo,Kr*Mo)},[!!wt,to,Tr&&Tr.current,Tr&&Tr.pageSize,Tr&&Tr.total]),[da,Va]=Al({prefixCls:oo,data:to,pageData:$o,getRowKey:Gr,getRecordByKey:tr,expandType:_a,childrenColumnName:ir,locale:Ur,getPopupContainer:Qn||Br},Jt),Pr=(Kr,po,Mo)=>{let bo;return typeof _t=="function"?bo=Ye()(_t(Kr,po,Mo)):bo=Ye()(_t),Ye()({[`${oo}-row-selected`]:Va.has(Gr(Kr,po))},bo)};or.__PARENT_RENDER_ICON__=or.expandIcon,or.expandIcon=or.expandIcon||xn||Fa(Ur),_a==="nest"&&or.expandIconColumnIndex===void 0?or.expandIconColumnIndex=Jt?1:0:or.expandIconColumnIndex>0&&Jt&&(or.expandIconColumnIndex-=1),typeof or.indentSize!="number"&&(or.indentSize=typeof ja=="number"?ja:15);const yr=se.useCallback(Kr=>yo(da(Io(io(Kr)))),[io,Io,da]);let Lr,zr;if(wt!==!1&&(Tr!=null&&Tr.total)){let Kr;Tr.size?Kr=Tr.size:Kr=Do==="small"||Do==="middle"?"small":void 0;const po=Uo=>se.createElement(ai.Z,Object.assign({},Tr,{className:Ye()(`${oo}-pagination ${oo}-pagination-${Uo}`,Tr.className),size:Kr})),Mo=Wr==="rtl"?"left":"right",{position:bo}=Tr;if(bo!==null&&Array.isArray(bo)){const Uo=bo.find(Si=>Si.includes("top")),Vo=bo.find(Si=>Si.includes("bottom")),Xo=bo.every(Si=>`${Si}`=="none");!Uo&&!Vo&&!Xo&&(zr=po(Mo)),Uo&&(Lr=po(Uo.toLowerCase().replace("top",""))),Vo&&(zr=po(Vo.toLowerCase().replace("bottom","")))}else zr=po(Mo)}let so;typeof ea=="boolean"?so={spinning:ea}:typeof ea=="object"&&(so=Object.assign({spinning:!0},ea));const[Eo,co]=gl(oo),[,vo]=(0,ga.Z)(),ii=Ye()(`${oo}-wrapper`,_r==null?void 0:_r.className,{[`${oo}-wrapper-rtl`]:Wr==="rtl"},ke,Ie,co),zo=Object.assign(Object.assign({},_r==null?void 0:_r.style),He),ti=Sa&&Sa.emptyText||(ho==null?void 0:ho("Table"))||se.createElement(qr.Z,{componentName:"Table"}),qo=ca?sl:As,fi={},Xi=se.useMemo(()=>{const{fontSize:Kr,lineHeight:po,padding:Mo,paddingXS:bo,paddingSM:Uo}=vo,Vo=Math.floor(Kr*po);switch(Do){case"large":return Mo*2+Vo;case"small":return bo*2+Vo;default:return Uo*2+Vo}},[vo,Do]);return ca&&(fi.listItemHeight=Xi),Eo(se.createElement("div",{ref:ce,className:ii,style:zo},se.createElement($a.Z,Object.assign({spinning:!1},so),Lr,se.createElement(qo,Object.assign({},fi,gr,{columns:Wa,direction:Wr,expandable:or,prefixCls:oo,className:Ye()({[`${oo}-middle`]:Do==="middle",[`${oo}-small`]:Do==="small",[`${oo}-bordered`]:Bt,[`${oo}-empty`]:So.length===0}),data:$o,rowKey:Gr,rowClassName:Pr,emptyText:ti,internalHooks:ue,internalRefs:er,transformColumns:yr})),zr)))};var $e=se.forwardRef(Ke);const gn=(ge,ce)=>{const be=se.useRef(0);return be.current+=1,se.createElement($e,Object.assign({},ge,{ref:ce,_renderTimes:be.current}))},ua=se.forwardRef(gn);ua.SELECTION_COLUMN=yi,ua.EXPAND_COLUMN=x,ua.SELECTION_ALL=al,ua.SELECTION_INVERT=ha,ua.SELECTION_NONE=Li,ua.Column=Qr,ua.ColumnGroup=xo,ua.Summary=Fe;var ka=ua,Ka=ka},12563:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return Qe}});var x=te(59301),ue=te(99267),Be=te(92310),Me=te.n(Be),Le=te(36785),Oe=te(47729),se=te(14088),dt=te(36355),ot=te(17313),Ve=te(37613),We=te(83116);const nt=ve=>{const{paddingXXS:Te,lineWidth:Ye,tagPaddingHorizontal:bt,componentCls:De}=ve,ut=bt-Ye,Ft=Te-Ye;return{[De]:Object.assign(Object.assign({},(0,ot.Wf)(ve)),{display:"inline-block",height:"auto",marginInlineEnd:ve.marginXS,paddingInline:ut,fontSize:ve.tagFontSize,lineHeight:ve.tagLineHeight,whiteSpace:"nowrap",background:ve.defaultBg,border:`${ve.lineWidth}px ${ve.lineType} ${ve.colorBorder}`,borderRadius:ve.borderRadiusSM,opacity:1,transition:`all ${ve.motionDurationMid}`,textAlign:"start",position:"relative",[`&${De}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ve.defaultColor},[`${De}-close-icon`]:{marginInlineStart:Ft,color:ve.colorTextDescription,fontSize:ve.tagIconSize,cursor:"pointer",transition:`all ${ve.motionDurationMid}`,"&:hover":{color:ve.colorTextHeading}},[`&${De}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ve.iconCls}-close, ${ve.iconCls}-close:hover`]:{color:ve.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${De}-checkable-checked):hover`]:{color:ve.colorPrimary,backgroundColor:ve.colorFillSecondary},"&:active, &-checked":{color:ve.colorTextLightSolid},"&-checked":{backgroundColor:ve.colorPrimary,"&:hover":{backgroundColor:ve.colorPrimaryHover}},"&:active":{backgroundColor:ve.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ve.iconCls} + span, > span + ${ve.iconCls}`]:{marginInlineStart:ut}}),[`${De}-borderless`]:{borderColor:"transparent",background:ve.tagBorderlessBg}}},Xe=ve=>{const{lineWidth:Te,fontSizeIcon:Ye}=ve,bt=ve.fontSizeSM,De=`${ve.lineHeightSM*bt}px`;return(0,Ve.TS)(ve,{tagFontSize:bt,tagLineHeight:De,tagIconSize:Ye-2*Te,tagPaddingHorizontal:8,tagBorderlessBg:ve.colorFillTertiary})},le=ve=>({defaultBg:ve.colorFillQuaternary,defaultColor:ve.colorText});var y=(0,We.Z)("Tag",ve=>{const Te=Xe(ve);return nt(Te)},le),a=function(ve,Te){var Ye={};for(var bt in ve)Object.prototype.hasOwnProperty.call(ve,bt)&&Te.indexOf(bt)<0&&(Ye[bt]=ve[bt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,bt=Object.getOwnPropertySymbols(ve);De<bt.length;De++)Te.indexOf(bt[De])<0&&Object.prototype.propertyIsEnumerable.call(ve,bt[De])&&(Ye[bt[De]]=ve[bt[De]]);return Ye},E=ve=>{const{prefixCls:Te,style:Ye,className:bt,checked:De,onChange:ut,onClick:Ft}=ve,yt=a(ve,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:gt,tag:Xt}=x.useContext(dt.E_),vt=qt=>{ut==null||ut(!De),Ft==null||Ft(qt)},an=gt("tag",Te),[En,tt]=y(an),et=Me()(an,`${an}-checkable`,{[`${an}-checkable-checked`]:De},Xt==null?void 0:Xt.className,bt,tt);return En(x.createElement("span",Object.assign({},yt,{style:Object.assign(Object.assign({},Ye),Xt==null?void 0:Xt.style),className:et,onClick:vt})))},z=te(45157);const ne=ve=>(0,z.Z)(ve,(Te,Ye)=>{let{textColor:bt,lightBorderColor:De,lightColor:ut,darkColor:Ft}=Ye;return{[`${ve.componentCls}-${Te}`]:{color:bt,background:ut,borderColor:De,"&-inverse":{color:ve.colorTextLightSolid,background:Ft,borderColor:Ft},[`&${ve.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,We.b)(["Tag","preset"],ve=>{const Te=Xe(ve);return ne(Te)},le);function ie(ve){return typeof ve!="string"?ve:ve.charAt(0).toUpperCase()+ve.slice(1)}const me=(ve,Te,Ye)=>{const bt=ie(Ye);return{[`${ve.componentCls}-${Te}`]:{color:ve[`color${Ye}`],background:ve[`color${bt}Bg`],borderColor:ve[`color${bt}Border`],[`&${ve.componentCls}-borderless`]:{borderColor:"transparent"}}}};var pe=(0,We.b)(["Tag","status"],ve=>{const Te=Xe(ve);return[me(Te,"success","Success"),me(Te,"processing","Info"),me(Te,"error","Error"),me(Te,"warning","Warning")]},le),ye=function(ve,Te){var Ye={};for(var bt in ve)Object.prototype.hasOwnProperty.call(ve,bt)&&Te.indexOf(bt)<0&&(Ye[bt]=ve[bt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,bt=Object.getOwnPropertySymbols(ve);De<bt.length;De++)Te.indexOf(bt[De])<0&&Object.prototype.propertyIsEnumerable.call(ve,bt[De])&&(Ye[bt[De]]=ve[bt[De]]);return Ye};const Ge=(ve,Te)=>{const{prefixCls:Ye,className:bt,rootClassName:De,style:ut,children:Ft,icon:yt,color:gt,onClose:Xt,closeIcon:vt,closable:an,bordered:En=!0}=ve,tt=ye(ve,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:et,direction:qt,tag:hn}=x.useContext(dt.E_),[kt,vn]=x.useState(!0);x.useEffect(()=>{"visible"in tt&&vn(tt.visible)},[tt.visible]);const je=(0,Le.o2)(gt),Ot=(0,Le.yT)(gt),Wt=je||Ot,Mt=Object.assign(Object.assign({backgroundColor:gt&&!Wt?gt:void 0},hn==null?void 0:hn.style),ut),ht=et("tag",Ye),[rt,_e]=y(ht),Se=Me()(ht,hn==null?void 0:hn.className,{[`${ht}-${gt}`]:Wt,[`${ht}-has-color`]:gt&&!Wt,[`${ht}-hidden`]:!kt,[`${ht}-rtl`]:qt==="rtl",[`${ht}-borderless`]:!En},bt,De,_e),fe=Je=>{Je.stopPropagation(),Xt==null||Xt(Je),!Je.defaultPrevented&&vn(!1)},[,qe]=(0,Oe.Z)(an,vt,Je=>Je===null?x.createElement(ue.Z,{className:`${ht}-close-icon`,onClick:fe}):x.createElement("span",{className:`${ht}-close-icon`,onClick:fe},Je),null,!1),Ct=typeof tt.onClick=="function"||Ft&&Ft.type==="a",Fe=yt||null,Ce=Fe?x.createElement(x.Fragment,null,Fe,Ft&&x.createElement("span",null,Ft)):Ft,at=x.createElement("span",Object.assign({},tt,{ref:Te,className:Se,style:Mt}),Ce,qe,je&&x.createElement(re,{key:"preset",prefixCls:ht}),Ot&&x.createElement(pe,{key:"status",prefixCls:ht}));return rt(Ct?x.createElement(se.Z,{component:"Tag"},at):at)},Ae=x.forwardRef(Ge);Ae.CheckableTag=E;var Qe=Ae},98228:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return Ba}});var x=te(92310),ue=te.n(x),Be=te(92413),Me=te(26407),Le=te(33708),Oe=te(33606),se=te(37061),dt=te(39559),ot=te(77861),Ve=te(17115),We=te(90782),nt=te(18929),Xe=te(48736),le=te(59301),y=function(Yt){var An=le.useRef({valueLabels:new Map});return le.useMemo(function(){var Fn=An.current.valueLabels,Xn=new Map,Ze=Yt.map(function(Nt){var Zt,Kt=Nt.value,tn=(Zt=Nt.label)!==null&&Zt!==void 0?Zt:Fn.get(Kt);return Xn.set(Kt,tn),(0,Le.Z)((0,Le.Z)({},Nt),{},{label:tn})});return An.current.valueLabels=Xn,[Ze]},[Yt])},a=function(Yt,An,Fn,Xn){return le.useMemo(function(){var Ze=Yt.map(function(tn){var jt=tn.value;return jt}),Nt=An.map(function(tn){var jt=tn.value;return jt}),Zt=Ze.filter(function(tn){return!Xn[tn]});if(Fn){var Kt=(0,We.S)(Ze,!0,Xn);Ze=Kt.checkedKeys,Nt=Kt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Me.Z)(Zt),(0,Me.Z)(Ze)))),Nt]},[Yt,An,Fn,Xn])},b=te(71430),E=function(Yt,An){return le.useMemo(function(){var Fn=(0,b.I8)(Yt,{fieldNames:An,initWrapper:function(Ze){return(0,Le.Z)((0,Le.Z)({},Ze),{},{valueEntities:new Map})},processEntity:function(Ze,Nt){var Zt=Ze.node[An.value];if(0)var Kt;Nt.valueEntities.set(Zt,Ze)}});return Fn},[Yt,An])},z=te(400),ne=te(11592),re=function(){return null},ie=re,me=["children","value"];function pe(Yt){return(0,ne.Z)(Yt).map(function(An){if(!le.isValidElement(An)||!An.type)return null;var Fn=An,Xn=Fn.key,Ze=Fn.props,Nt=Ze.children,Zt=Ze.value,Kt=(0,se.Z)(Ze,me),tn=(0,Le.Z)({key:Xn,value:Zt},Kt),jt=pe(Nt);return jt.length&&(tn.children=jt),tn}).filter(function(An){return An})}function ye(Yt){if(!Yt)return Yt;var An=(0,Le.Z)({},Yt);return"props"in An||Object.defineProperty(An,"props",{get:function(){return(0,Xe.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),An}}),An}function Ge(Yt,An,Fn,Xn,Ze,Nt){var Zt=null,Kt=null;function tn(){function jt(pn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return pn.map(function(ct,rn){var In="".concat(st,"-").concat(rn),yn=ct[Nt.value],ia=Fn.includes(yn),Un=jt(ct[Nt.children]||[],In,ia),lt=le.createElement(ie,ct,Un.map(function(qn){return qn.node}));if(An===yn&&(Zt=lt),ia){var $t={pos:In,node:lt,children:Un};return Pt||Kt.push($t),$t}return null}).filter(function(ct){return ct})}Kt||(Kt=[],jt(Xn),Kt.sort(function(pn,st){var Pt=pn.node.props.value,ct=st.node.props.value,rn=Fn.indexOf(Pt),In=Fn.indexOf(ct);return rn-In}))}Object.defineProperty(Yt,"triggerNode",{get:function(){return(0,Xe.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),tn(),Zt}}),Object.defineProperty(Yt,"allCheckedNodes",{get:function(){return(0,Xe.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),tn(),Ze?Kt:Kt.map(function(pn){var st=pn.node;return st})}})}var Ae=function(Yt,An,Fn){var Xn=Fn.treeNodeFilterProp,Ze=Fn.filterTreeNode,Nt=Fn.fieldNames,Zt=Nt.children;return le.useMemo(function(){if(!An||Ze===!1)return Yt;var Kt;if(typeof Ze=="function")Kt=Ze;else{var tn=An.toUpperCase();Kt=function(st,Pt){var ct=Pt[Xn];return String(ct).toUpperCase().includes(tn)}}function jt(pn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return pn.reduce(function(Pt,ct){var rn=ct[Zt],In=st||Kt(An,ye(ct)),yn=jt(rn||[],In);return(In||yn.length)&&Pt.push((0,Le.Z)((0,Le.Z)({},ct),{},(0,z.Z)({isLeaf:void 0},Zt,yn))),Pt},[])}return jt(Yt)},[Yt,An,Zt,Xn,Ze])};function Qe(Yt){var An=le.useRef();An.current=Yt;var Fn=le.useCallback(function(){return An.current.apply(An,arguments)},[]);return Fn}function ve(Yt,An){var Fn=An.id,Xn=An.pId,Ze=An.rootPId,Nt={},Zt=[],Kt=Yt.map(function(tn){var jt=(0,Le.Z)({},tn),pn=jt[Fn];return Nt[pn]=jt,jt.key=jt.key||pn,jt});return Kt.forEach(function(tn){var jt=tn[Xn],pn=Nt[jt];pn&&(pn.children=pn.children||[],pn.children.push(tn)),(jt===Ze||!pn&&Ze===null)&&Zt.push(tn)}),Zt}function Te(Yt,An,Fn){return le.useMemo(function(){return Yt?Fn?ve(Yt,(0,Le.Z)({id:"id",pId:"pId",rootPId:null},Fn!==!0?Fn:{})):Yt:pe(An)},[An,Fn,Yt])}var Ye=le.createContext(null),bt=Ye,De=te(10228),ut=te(80547),Ft=te(23130),yt=le.createContext(null),gt=yt;function Xt(Yt){return Array.isArray(Yt)?Yt:Yt!==void 0?[Yt]:[]}function vt(Yt){var An=Yt||{},Fn=An.label,Xn=An.value,Ze=An.children,Nt=Xn||"value";return{_title:Fn?[Fn]:["title","label"],value:Nt,key:Nt,children:Ze||"children"}}function an(Yt){return!Yt||Yt.disabled||Yt.disableCheckbox||Yt.checkable===!1}function En(Yt,An){var Fn=[];function Xn(Ze){Ze.forEach(function(Nt){var Zt=Nt[An.children];Zt&&(Fn.push(Nt[An.value]),Xn(Zt))})}return Xn(Yt),Fn}function tt(Yt){return Yt==null}var et={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},qt=function(An,Fn){var Xn=(0,ot.lk)(),Ze=Xn.prefixCls,Nt=Xn.multiple,Zt=Xn.searchValue,Kt=Xn.toggleOpen,tn=Xn.open,jt=Xn.notFoundContent,pn=le.useContext(gt),st=pn.virtual,Pt=pn.listHeight,ct=pn.listItemHeight,rn=pn.treeData,In=pn.fieldNames,yn=pn.onSelect,ia=pn.dropdownMatchSelectWidth,Un=pn.treeExpandAction,lt=le.useContext(bt),$t=lt.checkable,qn=lt.checkedKeys,nn=lt.halfCheckedKeys,_n=lt.treeExpandedKeys,Jn=lt.treeDefaultExpandAll,Ma=lt.treeDefaultExpandedKeys,ma=lt.onTreeExpand,Ue=lt.treeIcon,dn=lt.showTreeIcon,Qt=lt.switcherIcon,Sn=lt.treeLine,On=lt.treeNodeFilterProp,kn=lt.loadData,Dn=lt.treeLoadedKeys,wn=lt.treeMotion,Aa=lt.onTreeLoad,La=lt.keyEntities,mn=le.useRef(),Da=(0,ut.Z)(function(){return rn},[tn,rn],function(Ra,xr){return xr[0]&&Ra[1]!==xr[1]}),na=le.useState(null),Qa=(0,Oe.Z)(na,2),Ja=Qa[0],Vn=Qa[1],sa=La[Ja],xa=le.useMemo(function(){return $t?{checked:qn,halfChecked:nn}:null},[$t,qn,nn]);le.useEffect(function(){if(tn&&!Nt&&qn.length){var Ra;(Ra=mn.current)===null||Ra===void 0||Ra.scrollTo({key:qn[0]}),Vn(qn[0])}},[tn]);var aa=String(Zt).toLowerCase(),za=function(xr){return aa?String(xr[On]).toLowerCase().includes(aa):!1},ar=le.useState(Ma),Ga=(0,Oe.Z)(ar,2),mr=Ga[0],Ua=Ga[1],Cr=le.useState(null),kr=(0,Oe.Z)(Cr,2),ao=kr[0],Er=kr[1],vr=le.useMemo(function(){return _n?(0,Me.Z)(_n):Zt?ao:mr},[mr,ao,_n,Zt]);le.useEffect(function(){Zt&&Er(En(rn,In))},[Zt]);var Zr=function(xr){Ua(xr),Er(xr),ma&&ma(xr)},hr=function(xr){xr.preventDefault()},Fr=function(xr,Xr){var br=Xr.node;$t&&an(br)||(yn(br.key,{selected:!qn.includes(br.key)}),Nt||Kt(!1))};if(le.useImperativeHandle(Fn,function(){var Ra;return{scrollTo:(Ra=mn.current)===null||Ra===void 0?void 0:Ra.scrollTo,onKeyDown:function(Xr){var br,Vr=Xr.which;switch(Vr){case De.Z.UP:case De.Z.DOWN:case De.Z.LEFT:case De.Z.RIGHT:(br=mn.current)===null||br===void 0||br.onKeyDown(Xr);break;case De.Z.ENTER:{if(sa){var jr=(sa==null?void 0:sa.node)||{},Xa=jr.selectable,wr=jr.value;Xa!==!1&&Fr(null,{node:{key:Ja},selected:!qn.includes(wr)})}break}case De.Z.ESC:Kt(!1)}},onKeyUp:function(){}}}),Da.length===0)return le.createElement("div",{role:"listbox",className:"".concat(Ze,"-empty"),onMouseDown:hr},jt);var ur={fieldNames:In};return Dn&&(ur.loadedKeys=Dn),vr&&(ur.expandedKeys=vr),le.createElement("div",{onMouseDown:hr},sa&&tn&&le.createElement("span",{style:et,"aria-live":"assertive"},sa.node.value),le.createElement(Ft.Z,(0,Be.Z)({ref:mn,focusable:!1,prefixCls:"".concat(Ze,"-tree"),treeData:Da,height:Pt,itemHeight:ct,virtual:st!==!1&&ia!==!1,multiple:Nt,icon:Ue,showIcon:dn,switcherIcon:Qt,showLine:Sn,loadData:Zt?null:kn,motion:wn,activeKey:Ja,checkable:$t,checkStrictly:!0,checkedKeys:xa,selectedKeys:$t?[]:qn,defaultExpandAll:Jn},ur,{onActiveChange:Vn,onSelect:Fr,onCheck:Fr,onExpand:Zr,onLoad:Aa,filterTreeNode:za,expandAction:Un})))},hn=le.forwardRef(qt);hn.displayName="OptionList";var kt=hn,vn="SHOW_ALL",je="SHOW_PARENT",Ot="SHOW_CHILD";function Wt(Yt,An,Fn,Xn){var Ze=new Set(Yt);return An===Ot?Yt.filter(function(Nt){var Zt=Fn[Nt];return!(Zt&&Zt.children&&Zt.children.some(function(Kt){var tn=Kt.node;return Ze.has(tn[Xn.value])})&&Zt.children.every(function(Kt){var tn=Kt.node;return an(tn)||Ze.has(tn[Xn.value])}))}):An===je?Yt.filter(function(Nt){var Zt=Fn[Nt],Kt=Zt?Zt.parent:null;return!(Kt&&!an(Kt.node)&&Ze.has(Kt.key))}):Yt}function Mt(Yt){var An=Yt.searchPlaceholder,Fn=Yt.treeCheckStrictly,Xn=Yt.treeCheckable,Ze=Yt.labelInValue,Nt=Yt.value,Zt=Yt.multiple;warning(!An,"`searchPlaceholder` has been removed."),Fn&&Ze===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ze||Fn)&&warning(toArray(Nt).every(function(Kt){return Kt&&_typeof(Kt)==="object"&&"value"in Kt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Fn||Zt||Xn?warning(!Nt||Array.isArray(Nt),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Nt),"`value` should not be array when `TreeSelect` is single mode.")}var ht=null,rt=["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 _e(Yt){return!Yt||(0,dt.Z)(Yt)!=="object"}var Se=le.forwardRef(function(Yt,An){var Fn=Yt.id,Xn=Yt.prefixCls,Ze=Xn===void 0?"rc-tree-select":Xn,Nt=Yt.value,Zt=Yt.defaultValue,Kt=Yt.onChange,tn=Yt.onSelect,jt=Yt.onDeselect,pn=Yt.searchValue,st=Yt.inputValue,Pt=Yt.onSearch,ct=Yt.autoClearSearchValue,rn=ct===void 0?!0:ct,In=Yt.filterTreeNode,yn=Yt.treeNodeFilterProp,ia=yn===void 0?"value":yn,Un=Yt.showCheckedStrategy,lt=Yt.treeNodeLabelProp,$t=Yt.multiple,qn=Yt.treeCheckable,nn=Yt.treeCheckStrictly,_n=Yt.labelInValue,Jn=Yt.fieldNames,Ma=Yt.treeDataSimpleMode,ma=Yt.treeData,Ue=Yt.children,dn=Yt.loadData,Qt=Yt.treeLoadedKeys,Sn=Yt.onTreeLoad,On=Yt.treeDefaultExpandAll,kn=Yt.treeExpandedKeys,Dn=Yt.treeDefaultExpandedKeys,wn=Yt.onTreeExpand,Aa=Yt.treeExpandAction,La=Yt.virtual,mn=Yt.listHeight,Da=mn===void 0?200:mn,na=Yt.listItemHeight,Qa=na===void 0?20:na,Ja=Yt.onDropdownVisibleChange,Vn=Yt.dropdownMatchSelectWidth,sa=Vn===void 0?!0:Vn,xa=Yt.treeLine,aa=Yt.treeIcon,za=Yt.showTreeIcon,ar=Yt.switcherIcon,Ga=Yt.treeMotion,mr=(0,se.Z)(Yt,rt),Ua=(0,Ve.ZP)(Fn),Cr=qn&&!nn,kr=qn||nn,ao=nn||_n,Er=kr||$t,vr=(0,nt.Z)(Zt,{value:Nt}),Zr=(0,Oe.Z)(vr,2),hr=Zr[0],Fr=Zr[1],ur=le.useMemo(function(){return qn?Un||Ot:vn},[Un,qn]),Ra=le.useMemo(function(){return vt(Jn)},[JSON.stringify(Jn)]),xr=(0,nt.Z)("",{value:pn!==void 0?pn:st,postState:function(pa){return pa||""}}),Xr=(0,Oe.Z)(xr,2),br=Xr[0],Vr=Xr[1],jr=function(pa){Vr(pa),Pt==null||Pt(pa)},Xa=Te(ma,Ue,Ma),wr=E(Xa,Ra),dr=wr.keyEntities,Qr=wr.valueEntities,ro=le.useCallback(function(Mn){var pa=[],wa=[];return Mn.forEach(function(fa){Qr.has(fa)?wa.push(fa):pa.push(fa)}),{missingRawValues:pa,existRawValues:wa}},[Qr]),xo=Ae(Xa,br,{fieldNames:Ra,treeNodeFilterProp:ia,filterTreeNode:In}),To=le.useCallback(function(Mn){if(Mn){if(lt)return Mn[lt];for(var pa=Ra._title,wa=0;wa<pa.length;wa+=1){var fa=Mn[pa[wa]];if(fa!==void 0)return fa}}},[Ra,lt]),ko=le.useCallback(function(Mn){var pa=Xt(Mn);return pa.map(function(wa){return _e(wa)?{value:wa}:wa})},[]),Ir=le.useCallback(function(Mn){var pa=ko(Mn);return pa.map(function(wa){var fa=wa.label,Ar=wa.value,fr=wa.halfChecked,Or,$r=Qr.get(Ar);if($r){var uo;fa=(uo=fa)!==null&&uo!==void 0?uo:To($r.node),Or=$r.node.disabled}else if(fa===void 0){var Co=ko(hr).find(function(pi){return pi.value===Ar});fa=Co.label}return{label:fa,value:Ar,halfChecked:fr,disabled:Or}})},[Qr,To,ko,hr]),qr=le.useMemo(function(){return ko(hr)},[ko,hr]),Zo=le.useMemo(function(){var Mn=[],pa=[];return qr.forEach(function(wa){wa.halfChecked?pa.push(wa):Mn.push(wa)}),[Mn,pa]},[qr]),Ao=(0,Oe.Z)(Zo,2),Go=Ao[0],ai=Ao[1],$a=le.useMemo(function(){return Go.map(function(Mn){return Mn.value})},[Go]),ga=a(Go,ai,Cr,dr),Tn=(0,Oe.Z)(ga,2),Fa=Tn[0],cr=Tn[1],Nr=le.useMemo(function(){var Mn=Wt(Fa,ur,dr,Ra),pa=Mn.map(function(fr){var Or,$r,uo;return(Or=($r=dr[fr])===null||$r===void 0||(uo=$r.node)===null||uo===void 0?void 0:uo[Ra.value])!==null&&Or!==void 0?Or:fr}),wa=pa.map(function(fr){var Or=Go.find(function($r){return $r.value===fr});return{value:fr,label:Or==null?void 0:Or.label}}),fa=Ir(wa),Ar=fa[0];return!Er&&Ar&&tt(Ar.value)&&tt(Ar.label)?[]:fa.map(function(fr){var Or;return(0,Le.Z)((0,Le.Z)({},fr),{},{label:(Or=fr.label)!==null&&Or!==void 0?Or:fr.value})})},[Ra,Er,Fa,Go,Ir,ur,dr]),xe=y(Nr),sn=(0,Oe.Z)(xe,1),Cn=sn[0],zn=Qe(function(Mn,pa,wa){var fa=Ir(Mn);if(Fr(fa),rn&&Vr(""),Kt){var Ar=Mn;if(Cr){var fr=Wt(Mn,ur,dr,Ra);Ar=fr.map(function(Po){var hi=Qr.get(Po);return hi?hi.node[Ra.value]:Po})}var Or=pa||{triggerValue:void 0,selected:void 0},$r=Or.triggerValue,uo=Or.selected,Co=Ar;if(nn){var pi=ai.filter(function(Po){return!Ar.includes(Po.value)});Co=[].concat((0,Me.Z)(Co),(0,Me.Z)(pi))}var gi=Ir(Co),ri={preValue:Go,triggerValue:$r},ui=!0;(nn||wa==="selection"&&!uo)&&(ui=!1),Ge(ri,$r,Mn,Xa,ui,Ra),kr?ri.checked=uo:ri.selected=uo;var vi=ao?gi:gi.map(function(Po){return Po.value});Kt(Er?vi:vi[0],ao?null:gi.map(function(Po){return Po.label}),ri)}}),cn=le.useCallback(function(Mn,pa){var wa,fa=pa.selected,Ar=pa.source,fr=dr[Mn],Or=fr==null?void 0:fr.node,$r=(wa=Or==null?void 0:Or[Ra.value])!==null&&wa!==void 0?wa:Mn;if(!Er)zn([$r],{selected:!0,triggerValue:$r},"option");else{var uo=fa?[].concat((0,Me.Z)($a),[$r]):Fa.filter(function(hi){return hi!==$r});if(Cr){var Co=ro(uo),pi=Co.missingRawValues,gi=Co.existRawValues,ri=gi.map(function(hi){return Qr.get(hi).key}),ui;if(fa){var vi=(0,We.S)(ri,!0,dr);ui=vi.checkedKeys}else{var Po=(0,We.S)(ri,{checked:!1,halfCheckedKeys:cr},dr);ui=Po.checkedKeys}uo=[].concat((0,Me.Z)(pi),(0,Me.Z)(ui.map(function(hi){return dr[hi].node[Ra.value]})))}zn(uo,{selected:fa,triggerValue:$r},Ar||"option")}fa||!Er?tn==null||tn($r,ye(Or)):jt==null||jt($r,ye(Or))},[ro,Qr,dr,Ra,Er,$a,zn,Cr,tn,jt,Fa,cr]),ra=le.useCallback(function(Mn){if(Ja){var pa={};Object.defineProperty(pa,"documentClickClose",{get:function(){return(0,Xe.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Ja(Mn,pa)}},[Ja]),Zn=Qe(function(Mn,pa){var wa=Mn.map(function(fa){return fa.value});if(pa.type==="clear"){zn(wa,{},"selection");return}pa.values.length&&cn(pa.values[0].value,{selected:!1,source:"selection"})}),Nn=le.useMemo(function(){return{virtual:La,dropdownMatchSelectWidth:sa,listHeight:Da,listItemHeight:Qa,treeData:xo,fieldNames:Ra,onSelect:cn,treeExpandAction:Aa}},[La,sa,Da,Qa,xo,Ra,cn,Aa]),Gn=le.useMemo(function(){return{checkable:kr,loadData:dn,treeLoadedKeys:Qt,onTreeLoad:Sn,checkedKeys:Fa,halfCheckedKeys:cr,treeDefaultExpandAll:On,treeExpandedKeys:kn,treeDefaultExpandedKeys:Dn,onTreeExpand:wn,treeIcon:aa,treeMotion:Ga,showTreeIcon:za,switcherIcon:ar,treeLine:xa,treeNodeFilterProp:ia,keyEntities:dr}},[kr,dn,Qt,Sn,Fa,cr,On,kn,Dn,wn,aa,Ga,za,ar,xa,ia,dr]);return le.createElement(gt.Provider,{value:Nn},le.createElement(bt.Provider,{value:Gn},le.createElement(ot.Ac,(0,Be.Z)({ref:An},mr,{id:Ua,prefixCls:Ze,mode:Er?"multiple":void 0,displayValues:Cn,onDisplayValuesChange:Zn,searchValue:br,onSearch:jr,OptionList:kt,emptyOptions:!Xa.length,onDropdownVisibleChange:ra,dropdownMatchSelectWidth:sa}))))}),fe=Se;fe.TreeNode=ie,fe.SHOW_ALL=vn,fe.SHOW_PARENT=je,fe.SHOW_CHILD=Ot;var qe=fe,Ct=qe,Fe=te(2738),Ce=te(53487),at=te(62892),Je=te(19080),Ne=te(36355),mt=te(1684),un=te(93891),en=te(19716),zt=te(32441),ln=te(14154),on=te(58582),ze=te(84443),At=te(66339),Lt=te(33234),St=te(71997),Dt=te(98447),fn=te(37613),Pn=te(83116),bn=te(20648);const Ln=Yt=>{const{componentCls:An,treePrefixCls:Fn,colorBgElevated:Xn}=Yt,Ze=`.${Fn}`;return[{[`${An}-dropdown`]:[{padding:`${Yt.paddingXS}px ${Yt.paddingXS/2}px`},(0,bn.Yk)(Fn,(0,fn.TS)(Yt,{colorBgContainer:Xn})),{[Ze]:{borderRadius:0,[`${Ze}-list-holder-inner`]:{alignItems:"stretch",[`${Ze}-treenode`]:{[`${Ze}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Dt.C2)(`${Fn}-checkbox`,Yt),{"&-rtl":{direction:"rtl",[`${Ze}-switcher${Ze}-switcher_close`]:{[`${Ze}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function ta(Yt,An){return(0,Pn.Z)("TreeSelect",Fn=>{const Xn=(0,fn.TS)(Fn,{treePrefixCls:An});return[Ln(Xn)]},bn.TM)(Yt)}var oa=function(Yt,An){var Fn={};for(var Xn in Yt)Object.prototype.hasOwnProperty.call(Yt,Xn)&&An.indexOf(Xn)<0&&(Fn[Xn]=Yt[Xn]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Xn=Object.getOwnPropertySymbols(Yt);Ze<Xn.length;Ze++)An.indexOf(Xn[Ze])<0&&Object.prototype.propertyIsEnumerable.call(Yt,Xn[Ze])&&(Fn[Xn[Ze]]=Yt[Xn[Ze]]);return Fn};const jn=(Yt,An)=>{var Fn,{prefixCls:Xn,size:Ze,disabled:Nt,bordered:Zt=!0,className:Kt,rootClassName:tn,treeCheckable:jt,multiple:pn,listHeight:st=256,listItemHeight:Pt=26,placement:ct,notFoundContent:rn,switcherIcon:In,treeLine:yn,getPopupContainer:ia,popupClassName:Un,dropdownClassName:lt,treeIcon:$t=!1,transitionName:qn,choiceTransitionName:nn="",status:_n,treeExpandAction:Jn,builtinPlacements:Ma,dropdownMatchSelectWidth:ma,popupMatchSelectWidth:Ue,allowClear:dn}=Yt,Qt=oa(Yt,["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:Sn,getPrefixCls:On,renderEmpty:kn,direction:Dn,virtual:wn,popupMatchSelectWidth:Aa,popupOverflow:La}=le.useContext(Ne.E_),mn=On(),Da=On("select",Xn),na=On("select-tree",Xn),Qa=On("tree-select",Xn),{compactSize:Ja,compactItemClassnames:Vn}=(0,Lt.ri)(Da,Dn),[sa,xa]=(0,ln.Z)(Da),[aa]=ta(Qa,na),za=ue()(Un||lt,`${Qa}-dropdown`,{[`${Qa}-dropdown-rtl`]:Dn==="rtl"},tn,xa),ar=!!(jt||pn),Ga=(0,ze.Z)(Qt.suffixIcon,Qt.showArrow),mr=(Fn=Ue!=null?Ue:ma)!==null&&Fn!==void 0?Fn:Aa,{status:Ua,hasFeedback:Cr,isFormItemInput:kr,feedbackIcon:ao}=le.useContext(zt.aM),Er=(0,Je.F)(Ua,_n),{suffixIcon:vr,removeIcon:Zr,clearIcon:hr}=(0,At.Z)(Object.assign(Object.assign({},Qt),{multiple:ar,showSuffixIcon:Ga,hasFeedback:Cr,feedbackIcon:ao,prefixCls:Da,componentName:"TreeSelect"})),Fr=dn===!0?{clearIcon:hr}:dn;let ur;rn!==void 0?ur=rn:ur=(kn==null?void 0:kn("Select"))||le.createElement(un.Z,{componentName:"Select"});const Ra=(0,Fe.Z)(Qt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),xr=le.useMemo(()=>ct!==void 0?ct:Dn==="rtl"?"bottomRight":"bottomLeft",[ct,Dn]),Xr=(0,on.Z)(Ma,La),br=(0,en.Z)(Qr=>{var ro;return(ro=Ze!=null?Ze:Ja)!==null&&ro!==void 0?ro:Qr}),Vr=le.useContext(mt.Z),jr=Nt!=null?Nt:Vr,Xa=ue()(!Xn&&Qa,{[`${Da}-lg`]:br==="large",[`${Da}-sm`]:br==="small",[`${Da}-rtl`]:Dn==="rtl",[`${Da}-borderless`]:!Zt,[`${Da}-in-form-item`]:kr},(0,Je.Z)(Da,Er,Cr),Vn,Kt,tn,xa),wr=Qr=>le.createElement(St.Z,{prefixCls:na,switcherIcon:In,treeNodeProps:Qr,showLine:yn}),dr=le.createElement(Ct,Object.assign({virtual:wn,disabled:jr},Ra,{dropdownMatchSelectWidth:mr,builtinPlacements:Xr,ref:An,prefixCls:Da,className:Xa,listHeight:st,listItemHeight:Pt,treeCheckable:jt&&le.createElement("span",{className:`${Da}-tree-checkbox-inner`}),treeLine:!!yn,suffixIcon:vr,multiple:ar,placement:xr,removeIcon:Zr,allowClear:Fr,switcherIcon:wr,showTreeIcon:$t,notFoundContent:ur,getPopupContainer:ia||Sn,treeMotion:null,dropdownClassName:za,choiceTransitionName:(0,at.m)(mn,"",nn),transitionName:(0,at.m)(mn,"slide-up",qn),treeExpandAction:Jn}));return sa(aa(dr))},va=le.forwardRef(jn),Hn=(0,Ce.Z)(va);va.TreeNode=ie,va.SHOW_ALL=vn,va.SHOW_PARENT=je,va.SHOW_CHILD=Ot,va._InternalPanelDoNotUseOrYouWillBeFired=Hn;var Ba=va},17574:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return gt}});var x=te(23130),ue=te(26407),Be=te(52671),Me=te(8657),Le=te(92413),Oe=te(59301),se={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"},dt=se,ot=te(7657),Ve=function(vt,an){return Oe.createElement(ot.Z,(0,Le.Z)({},vt,{ref:an,icon:dt}))},We=Oe.forwardRef(Ve),nt=We,Xe=te(92310),le=te.n(Xe),y=te(35654),a=te(71430),b=te(36355),E=te(56082),z=te(62892),ne=te(20648);const re=4;function ie(Xt){const{dropPosition:vt,dropLevelOffset:an,prefixCls:En,indent:tt,direction:et="ltr"}=Xt,qt=et==="ltr"?"left":"right",hn=et==="ltr"?"right":"left",kt={[qt]:-an*tt+re,[hn]:0};switch(vt){case-1:kt.top=-3;break;case 1:kt.bottom=-3;break;default:kt.bottom=-3,kt[qt]=tt+re;break}return Oe.createElement("div",{style:kt,className:`${En}-drop-indicator`})}var me=te(71997),ye=Oe.forwardRef((Xt,vt)=>{const{getPrefixCls:an,direction:En,virtual:tt,tree:et}=Oe.useContext(b.E_),{prefixCls:qt,className:hn,showIcon:kt=!1,showLine:vn,switcherIcon:je,blockNode:Ot=!1,children:Wt,checkable:Mt=!1,selectable:ht=!0,draggable:rt,motion:_e,style:Se}=Xt,fe=an("tree",qt),qe=an(),Ct=_e!=null?_e:Object.assign(Object.assign({},(0,z.Z)(qe)),{motionAppear:!1}),Fe=Object.assign(Object.assign({},Xt),{checkable:Mt,selectable:ht,showIcon:kt,motion:Ct,blockNode:Ot,showLine:!!vn,dropIndicatorRender:ie}),[Ce,at]=(0,ne.ZP)(fe),Je=Oe.useMemo(()=>{if(!rt)return!1;let mt={};switch(typeof rt){case"function":mt.nodeDraggable=rt;break;case"object":mt=Object.assign({},rt);break;default:break}return mt.icon!==!1&&(mt.icon=mt.icon||Oe.createElement(E.Z,null)),mt},[rt]),Ne=mt=>Oe.createElement(me.Z,{prefixCls:fe,switcherIcon:je,treeNodeProps:mt,showLine:vn});return Ce(Oe.createElement(x.Z,Object.assign({itemHeight:20,ref:vt,virtual:tt},Fe,{style:Object.assign(Object.assign({},et==null?void 0:et.style),Se),prefixCls:fe,className:le()({[`${fe}-icon-hide`]:!kt,[`${fe}-block-node`]:Ot,[`${fe}-unselectable`]:!ht,[`${fe}-rtl`]:En==="rtl"},et==null?void 0:et.className,hn,at),direction:En,checkable:Mt&&Oe.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:ht,switcherIcon:Ne,draggable:Je}),Wt))}),Ge;(function(Xt){Xt[Xt.None=0]="None",Xt[Xt.Start=1]="Start",Xt[Xt.End=2]="End"})(Ge||(Ge={}));function Ae(Xt,vt){function an(En){const{key:tt,children:et}=En;vt(tt,En)!==!1&&Ae(et||[],vt)}Xt.forEach(an)}function Qe(Xt){let{treeData:vt,expandedKeys:an,startKey:En,endKey:tt}=Xt;const et=[];let qt=Ge.None;if(En&&En===tt)return[En];if(!En||!tt)return[];function hn(kt){return kt===En||kt===tt}return Ae(vt,kt=>{if(qt===Ge.End)return!1;if(hn(kt)){if(et.push(kt),qt===Ge.None)qt=Ge.Start;else if(qt===Ge.Start)return qt=Ge.End,!1}else qt===Ge.Start&&et.push(kt);return an.includes(kt)}),et}function ve(Xt,vt){const an=(0,ue.Z)(vt),En=[];return Ae(Xt,(tt,et)=>{const qt=an.indexOf(tt);return qt!==-1&&(En.push(et),an.splice(qt,1)),!!an.length}),En}var Te=function(Xt,vt){var an={};for(var En in Xt)Object.prototype.hasOwnProperty.call(Xt,En)&&vt.indexOf(En)<0&&(an[En]=Xt[En]);if(Xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,En=Object.getOwnPropertySymbols(Xt);tt<En.length;tt++)vt.indexOf(En[tt])<0&&Object.prototype.propertyIsEnumerable.call(Xt,En[tt])&&(an[En[tt]]=Xt[En[tt]]);return an};function Ye(Xt){const{isLeaf:vt,expanded:an}=Xt;return vt?Oe.createElement(Be.Z,null):an?Oe.createElement(Me.Z,null):Oe.createElement(nt,null)}function bt(Xt){let{treeData:vt,children:an}=Xt;return vt||(0,a.zn)(an)}const De=(Xt,vt)=>{var{defaultExpandAll:an,defaultExpandParent:En,defaultExpandedKeys:tt}=Xt,et=Te(Xt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const qt=Oe.useRef(),hn=Oe.useRef(),kt=()=>{const{keyEntities:Je}=(0,a.I8)(bt(et));let Ne;return an?Ne=Object.keys(Je):En?Ne=(0,y.r7)(et.expandedKeys||tt||[],Je):Ne=et.expandedKeys||tt,Ne},[vn,je]=Oe.useState(et.selectedKeys||et.defaultSelectedKeys||[]),[Ot,Wt]=Oe.useState(()=>kt());Oe.useEffect(()=>{"selectedKeys"in et&&je(et.selectedKeys)},[et.selectedKeys]),Oe.useEffect(()=>{"expandedKeys"in et&&Wt(et.expandedKeys)},[et.expandedKeys]);const Mt=(Je,Ne)=>{var mt;return"expandedKeys"in et||Wt(Je),(mt=et.onExpand)===null||mt===void 0?void 0:mt.call(et,Je,Ne)},ht=(Je,Ne)=>{var mt;const{multiple:un}=et,{node:en,nativeEvent:zt}=Ne,{key:ln=""}=en,on=bt(et),ze=Object.assign(Object.assign({},Ne),{selected:!0}),At=(zt==null?void 0:zt.ctrlKey)||(zt==null?void 0:zt.metaKey),Lt=zt==null?void 0:zt.shiftKey;let St;un&&At?(St=Je,qt.current=ln,hn.current=St,ze.selectedNodes=ve(on,St)):un&&Lt?(St=Array.from(new Set([].concat((0,ue.Z)(hn.current||[]),(0,ue.Z)(Qe({treeData:on,expandedKeys:Ot,startKey:ln,endKey:qt.current}))))),ze.selectedNodes=ve(on,St)):(St=[ln],qt.current=ln,hn.current=St,ze.selectedNodes=ve(on,St)),(mt=et.onSelect)===null||mt===void 0||mt.call(et,St,ze),"selectedKeys"in et||je(St)},{getPrefixCls:rt,direction:_e}=Oe.useContext(b.E_),{prefixCls:Se,className:fe,showIcon:qe=!0,expandAction:Ct="click"}=et,Fe=Te(et,["prefixCls","className","showIcon","expandAction"]),Ce=rt("tree",Se),at=le()(`${Ce}-directory`,{[`${Ce}-directory-rtl`]:_e==="rtl"},fe);return Oe.createElement(ye,Object.assign({icon:Ye,ref:vt,blockNode:!0},Fe,{showIcon:qe,expandAction:Ct,prefixCls:Ce,className:at,expandedKeys:Ot,selectedKeys:vn,onSelect:ht,onExpand:Mt}))};var Ft=Oe.forwardRef(De);const yt=ye;yt.DirectoryTree=Ft,yt.TreeNode=x.O;var gt=yt},20648:function(Ut,Gt,te){"use strict";te.d(Gt,{TM:function(){return Xe},Yk:function(){return nt}});var x=te(93083),ue=te(98447),Be=te(17313),Me=te(8378),Le=te(37613),Oe=te(83116);const se=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),dt=(le,y)=>({[`.${le}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),ot=(le,y)=>({[`.${le}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ve=(le,y)=>{const{treeCls:a,treeNodeCls:b,treeNodePadding:E,titleHeight:z,nodeSelectedBg:ne,nodeHoverBg:re}=y,ie=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Be.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.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)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:se,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Be.oN)(y)),[`&:not(${b}-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 ${y.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-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({},dt(le,y)),{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:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ie},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.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"},ot(le,y)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-E,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},We=le=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:z}=le;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${le.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:le.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${le.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${y}-switcher`]:{color:z},[`${y}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},nt=(le,y)=>{const a=`.${le}`,b=`${a}-treenode`,E=y.paddingXS/2,z=(0,Le.TS)(y,{treeCls:a,treeNodeCls:b,treeNodePadding:E});return[Ve(le,z),We(z)]},Xe=le=>{const{controlHeightSM:y}=le;return{titleHeight:y,nodeHoverBg:le.controlItemBgHover,nodeSelectedBg:le.controlItemBgActive}};Gt.ZP=(0,Oe.Z)("Tree",(le,y)=>{let{prefixCls:a}=y;return[{[le.componentCls]:(0,ue.C2)(`${a}-checkbox`,le)},nt(a,le),(0,Me.Z)(le)]},le=>{const{colorTextLightSolid:y,colorPrimary:a}=le;return Object.assign(Object.assign({},Xe(le)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return b}});var x=te(92413),ue=te(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"},Me=Be,Le=te(7657),Oe=function(z,ne){return ue.createElement(Le.Z,(0,x.Z)({},z,{ref:ne,icon:Me}))},se=ue.forwardRef(Oe),dt=se,ot=te(52671),Ve=te(58617),We=te(15075),nt=te(43531),Xe=te(92310),le=te.n(Xe),y=te(92343),b=E=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:re,showLine:ie}=E,{isLeaf:me,expanded:pe,loading:ye}=re;if(ye)return ue.createElement(Ve.Z,{className:`${z}-switcher-loading-icon`});let Ge;if(ie&&typeof ie=="object"&&(Ge=ie.showLeafIcon),me){if(!ie)return null;if(typeof Ge!="boolean"&&Ge){const ve=typeof Ge=="function"?Ge(re):Ge,Te=`${z}-switcher-line-custom-icon`;return(0,y.l$)(ve)?(0,y.Tm)(ve,{className:le()(ve.props.className||"",Te)}):ve}return Ge?ue.createElement(ot.Z,{className:`${z}-switcher-line-icon`}):ue.createElement("span",{className:`${z}-switcher-leaf-line`})}const Ae=`${z}-switcher-icon`,Qe=typeof ne=="function"?ne(re):ne;return(0,y.l$)(Qe)?(0,y.Tm)(Qe,{className:le()(Qe.props.className||"",Ae)}):Qe!==void 0?Qe:ie?pe?ue.createElement(We.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(nt.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(dt,{className:Ae})}},54580:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return ma}});var x=te(59301),ue=te(26407),Be=te(92310),Me=te.n(Be),Le=te(92413),Oe=te(6909),se=te(4771),dt=te(9427),ot=te(25440),Ve=te(400),We=te(37061),nt=te(85195),Xe=te(39559),le=te(20569),y=te(26112);function a(Ue,dn){var Qt="cannot ".concat(Ue.method," ").concat(Ue.action," ").concat(dn.status,"'"),Sn=new Error(Qt);return Sn.status=dn.status,Sn.method=Ue.method,Sn.url=Ue.action,Sn}function b(Ue){var dn=Ue.responseText||Ue.response;if(!dn)return dn;try{return JSON.parse(dn)}catch(Qt){return dn}}function E(Ue){var dn=new XMLHttpRequest;Ue.onProgress&&dn.upload&&(dn.upload.onprogress=function(kn){kn.total>0&&(kn.percent=kn.loaded/kn.total*100),Ue.onProgress(kn)});var Qt=new FormData;Ue.data&&Object.keys(Ue.data).forEach(function(On){var kn=Ue.data[On];if(Array.isArray(kn)){kn.forEach(function(Dn){Qt.append("".concat(On,"[]"),Dn)});return}Qt.append(On,kn)}),Ue.file instanceof Blob?Qt.append(Ue.filename,Ue.file,Ue.file.name):Qt.append(Ue.filename,Ue.file),dn.onerror=function(kn){Ue.onError(kn)},dn.onload=function(){return dn.status<200||dn.status>=300?Ue.onError(a(Ue,dn),b(dn)):Ue.onSuccess(b(dn),dn)},dn.open(Ue.method,Ue.action,!0),Ue.withCredentials&&"withCredentials"in dn&&(dn.withCredentials=!0);var Sn=Ue.headers||{};return Sn["X-Requested-With"]!==null&&dn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Sn).forEach(function(On){Sn[On]!==null&&dn.setRequestHeader(On,Sn[On])}),dn.send(Qt),{abort:function(){dn.abort()}}}var z=+new Date,ne=0;function re(){return"rc-upload-".concat(z,"-").concat(++ne)}var ie=te(48736),me=function(Ue,dn){if(Ue&&dn){var Qt=Array.isArray(dn)?dn:dn.split(","),Sn=Ue.name||"",On=Ue.type||"",kn=On.replace(/\/.*$/,"");return Qt.some(function(Dn){var wn=Dn.trim();if(/^\*(\/\*)?$/.test(Dn))return!0;if(wn.charAt(0)==="."){var Aa=Sn.toLowerCase(),La=wn.toLowerCase(),mn=[La];return(La===".jpg"||La===".jpeg")&&(mn=[".jpg",".jpeg"]),mn.some(function(Da){return Aa.endsWith(Da)})}return/\/\*$/.test(wn)?kn===wn.replace(/\/.*$/,""):On===wn?!0:/^\w+$/.test(wn)?((0,ie.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(wn,"'.Skip for check.")),!0):!1})}return!0};function pe(Ue,dn){var Qt=Ue.createReader(),Sn=[];function On(){Qt.readEntries(function(kn){var Dn=Array.prototype.slice.apply(kn);Sn=Sn.concat(Dn);var wn=!Dn.length;wn?dn(Sn):On()})}On()}var ye=function(dn,Qt,Sn){var On=function kn(Dn,wn){Dn&&(Dn.path=wn||"",Dn.isFile?Dn.file(function(Aa){Sn(Aa)&&(Dn.fullPath&&!Aa.webkitRelativePath&&(Object.defineProperties(Aa,{webkitRelativePath:{writable:!0}}),Aa.webkitRelativePath=Dn.fullPath.replace(/^\//,""),Object.defineProperties(Aa,{webkitRelativePath:{writable:!1}})),Qt([Aa]))}):Dn.isDirectory&&pe(Dn,function(Aa){Aa.forEach(function(La){kn(La,"".concat(wn).concat(Dn.name,"/"))})}))};dn.forEach(function(kn){On(kn.webkitGetAsEntry())})},Ge=ye,Ae=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Qe=function(Ue){(0,dt.Z)(Qt,Ue);var dn=(0,ot.Z)(Qt);function Qt(){var Sn;(0,Oe.Z)(this,Qt);for(var On=arguments.length,kn=new Array(On),Dn=0;Dn<On;Dn++)kn[Dn]=arguments[Dn];return Sn=dn.call.apply(dn,[this].concat(kn)),Sn.state={uid:re()},Sn.reqs={},Sn.fileInput=void 0,Sn._isMounted=void 0,Sn.onChange=function(wn){var Aa=Sn.props,La=Aa.accept,mn=Aa.directory,Da=wn.target.files,na=(0,ue.Z)(Da).filter(function(Qa){return!mn||me(Qa,La)});Sn.uploadFiles(na),Sn.reset()},Sn.onClick=function(wn){var Aa=Sn.fileInput;if(Aa){var La=wn.target,mn=Sn.props.onClick;if(La&&La.tagName==="BUTTON"){var Da=Aa.parentNode;Da.focus(),La.blur()}Aa.click(),mn&&mn(wn)}},Sn.onKeyDown=function(wn){wn.key==="Enter"&&Sn.onClick(wn)},Sn.onFileDrop=function(wn){var Aa=Sn.props.multiple;if(wn.preventDefault(),wn.type!=="dragover")if(Sn.props.directory)Ge(Array.prototype.slice.call(wn.dataTransfer.items),Sn.uploadFiles,function(mn){return me(mn,Sn.props.accept)});else{var La=(0,ue.Z)(wn.dataTransfer.files).filter(function(mn){return me(mn,Sn.props.accept)});Aa===!1&&(La=La.slice(0,1)),Sn.uploadFiles(La)}},Sn.uploadFiles=function(wn){var Aa=(0,ue.Z)(wn),La=Aa.map(function(mn){return mn.uid=re(),Sn.processFile(mn,Aa)});Promise.all(La).then(function(mn){var Da=Sn.props.onBatchStart;Da==null||Da(mn.map(function(na){var Qa=na.origin,Ja=na.parsedFile;return{file:Qa,parsedFile:Ja}})),mn.filter(function(na){return na.parsedFile!==null}).forEach(function(na){Sn.post(na)})})},Sn.processFile=function(){var wn=(0,le.Z)((0,nt.Z)().mark(function Aa(La,mn){var Da,na,Qa,Ja,Vn,sa,xa,aa,za;return(0,nt.Z)().wrap(function(Ga){for(;;)switch(Ga.prev=Ga.next){case 0:if(Da=Sn.props.beforeUpload,na=La,!Da){Ga.next=14;break}return Ga.prev=3,Ga.next=6,Da(La,mn);case 6:na=Ga.sent,Ga.next=12;break;case 9:Ga.prev=9,Ga.t0=Ga.catch(3),na=!1;case 12:if(na!==!1){Ga.next=14;break}return Ga.abrupt("return",{origin:La,parsedFile:null,action:null,data:null});case 14:if(Qa=Sn.props.action,typeof Qa!="function"){Ga.next=21;break}return Ga.next=18,Qa(La);case 18:Ja=Ga.sent,Ga.next=22;break;case 21:Ja=Qa;case 22:if(Vn=Sn.props.data,typeof Vn!="function"){Ga.next=29;break}return Ga.next=26,Vn(La);case 26:sa=Ga.sent,Ga.next=30;break;case 29:sa=Vn;case 30:return xa=((0,Xe.Z)(na)==="object"||typeof na=="string")&&na?na:La,xa instanceof File?aa=xa:aa=new File([xa],La.name,{type:La.type}),za=aa,za.uid=La.uid,Ga.abrupt("return",{origin:La,data:sa,parsedFile:za,action:Ja});case 35:case"end":return Ga.stop()}},Aa,null,[[3,9]])}));return function(Aa,La){return wn.apply(this,arguments)}}(),Sn.saveFileInput=function(wn){Sn.fileInput=wn},Sn}return(0,se.Z)(Qt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(On){var kn=this,Dn=On.data,wn=On.origin,Aa=On.action,La=On.parsedFile;if(this._isMounted){var mn=this.props,Da=mn.onStart,na=mn.customRequest,Qa=mn.name,Ja=mn.headers,Vn=mn.withCredentials,sa=mn.method,xa=wn.uid,aa=na||E,za={action:Aa,filename:Qa,data:Dn,file:La,headers:Ja,withCredentials:Vn,method:sa||"post",onProgress:function(Ga){var mr=kn.props.onProgress;mr==null||mr(Ga,La)},onSuccess:function(Ga,mr){var Ua=kn.props.onSuccess;Ua==null||Ua(Ga,La,mr),delete kn.reqs[xa]},onError:function(Ga,mr){var Ua=kn.props.onError;Ua==null||Ua(Ga,mr,La),delete kn.reqs[xa]}};Da(wn),this.reqs[xa]=aa(za)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(On){var kn=this.reqs;if(On){var Dn=On.uid?On.uid:On;kn[Dn]&&kn[Dn].abort&&kn[Dn].abort(),delete kn[Dn]}else Object.keys(kn).forEach(function(wn){kn[wn]&&kn[wn].abort&&kn[wn].abort(),delete kn[wn]})}},{key:"render",value:function(){var On=this.props,kn=On.component,Dn=On.prefixCls,wn=On.className,Aa=On.disabled,La=On.id,mn=On.style,Da=On.multiple,na=On.accept,Qa=On.capture,Ja=On.children,Vn=On.directory,sa=On.openFileDialogOnClick,xa=On.onMouseEnter,aa=On.onMouseLeave,za=(0,We.Z)(On,Ae),ar=Me()((0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},Dn,!0),"".concat(Dn,"-disabled"),Aa),wn,wn)),Ga=Vn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},mr=Aa?{}:{onClick:sa?this.onClick:function(){},onKeyDown:sa?this.onKeyDown:function(){},onMouseEnter:xa,onMouseLeave:aa,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return x.createElement(kn,(0,Le.Z)({},mr,{className:ar,role:"button",style:mn}),x.createElement("input",(0,Le.Z)({},(0,y.Z)(za,{aria:!0,data:!0}),{id:La,disabled:Aa,type:"file",ref:this.saveFileInput,onClick:function(Cr){return Cr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:na},Ga,{multiple:Da,onChange:this.onChange},Qa!=null?{capture:Qa}:{})),Ja)}}]),Qt}(x.Component),ve=Qe;function Te(){}var Ye=function(Ue){(0,dt.Z)(Qt,Ue);var dn=(0,ot.Z)(Qt);function Qt(){var Sn;(0,Oe.Z)(this,Qt);for(var On=arguments.length,kn=new Array(On),Dn=0;Dn<On;Dn++)kn[Dn]=arguments[Dn];return Sn=dn.call.apply(dn,[this].concat(kn)),Sn.uploader=void 0,Sn.saveUploader=function(wn){Sn.uploader=wn},Sn}return(0,se.Z)(Qt,[{key:"abort",value:function(On){this.uploader.abort(On)}},{key:"render",value:function(){return x.createElement(ve,(0,Le.Z)({},this.props,{ref:this.saveUploader}))}}]),Qt}(x.Component);Ye.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Te,onError:Te,onSuccess:Te,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var bt=Ye,De=bt,ut=te(18929),Ft=te(4676),yt=te(36355),gt=te(1684),Xt=te(9763),vt=te(31724),an={icon:function(dn,Qt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Qt}},{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:dn}}]}},name:"file",theme:"twotone"},En=an,tt=te(7657),et=function(dn,Qt){return x.createElement(tt.Z,(0,Le.Z)({},dn,{ref:Qt,icon:En}))},qt=x.forwardRef(et),hn=qt,kt=te(58617),vn={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"},je=vn,Ot=function(dn,Qt){return x.createElement(tt.Z,(0,Le.Z)({},dn,{ref:Qt,icon:je}))},Wt=x.forwardRef(Ot),Mt=Wt,ht={icon:function(dn,Qt){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:dn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Qt}},{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:Qt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Qt}},{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:dn}}]}},name:"picture",theme:"twotone"},rt=ht,_e=function(dn,Qt){return x.createElement(tt.Z,(0,Le.Z)({},dn,{ref:Qt,icon:rt}))},Se=x.forwardRef(_e),fe=Se,qe=te(77900),Ct=te(56762),Fe=te(62892),Ce=te(92343),at=te(3113);function Je(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 Ne(Ue,dn){const Qt=(0,ue.Z)(dn),Sn=Qt.findIndex(On=>{let{uid:kn}=On;return kn===Ue.uid});return Sn===-1?Qt.push(Ue):Qt[Sn]=Ue,Qt}function mt(Ue,dn){const Qt=Ue.uid!==void 0?"uid":"name";return dn.filter(Sn=>Sn[Qt]===Ue[Qt])[0]}function un(Ue,dn){const Qt=Ue.uid!==void 0?"uid":"name",Sn=dn.filter(On=>On[Qt]!==Ue[Qt]);return Sn.length===dn.length?null:Sn}const en=function(){const dn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Sn=dn[dn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Sn)||[""])[0]},zt=Ue=>Ue.indexOf("image/")===0,ln=Ue=>{if(Ue.type&&!Ue.thumbUrl)return zt(Ue.type);const dn=Ue.thumbUrl||Ue.url||"",Qt=en(dn);return/^data:image\//.test(dn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Qt)?!0:!(/^data:/.test(dn)||Qt)},on=200;function ze(Ue){return new Promise(dn=>{if(!Ue.type||!zt(Ue.type)){dn("");return}const Qt=document.createElement("canvas");Qt.width=on,Qt.height=on,Qt.style.cssText=`position: fixed; left: 0; top: 0; width: ${on}px; height: ${on}px; z-index: 9999; display: none;`,document.body.appendChild(Qt);const Sn=Qt.getContext("2d"),On=new Image;if(On.onload=()=>{const{width:kn,height:Dn}=On;let wn=on,Aa=on,La=0,mn=0;kn>Dn?(Aa=Dn*(on/kn),mn=-(Aa-wn)/2):(wn=kn*(on/Dn),La=-(wn-Aa)/2),Sn.drawImage(On,La,mn,wn,Aa);const Da=Qt.toDataURL();document.body.removeChild(Qt),window.URL.revokeObjectURL(On.src),dn(Da)},On.crossOrigin="anonymous",Ue.type.startsWith("image/svg+xml")){const kn=new FileReader;kn.onload=()=>{kn.result&&(On.src=kn.result)},kn.readAsDataURL(Ue)}else if(Ue.type.startsWith("image/gif")){const kn=new FileReader;kn.onload=()=>{kn.result&&dn(kn.result)},kn.readAsDataURL(Ue)}else On.src=window.URL.createObjectURL(Ue)})}var At=te(26227),Lt=te(41464),St=te(15277),Dt=te(93948),fn=te(6848),bn=x.forwardRef((Ue,dn)=>{let{prefixCls:Qt,className:Sn,style:On,locale:kn,listType:Dn,file:wn,items:Aa,progress:La,iconRender:mn,actionIconRender:Da,itemRender:na,isImgUrl:Qa,showPreviewIcon:Ja,showRemoveIcon:Vn,showDownloadIcon:sa,previewIcon:xa,removeIcon:aa,downloadIcon:za,onPreview:ar,onDownload:Ga,onClose:mr}=Ue;var Ua,Cr;const{status:kr}=wn,[ao,Er]=x.useState(kr);x.useEffect(()=>{kr!=="removed"&&Er(kr)},[kr]);const[vr,Zr]=x.useState(!1);x.useEffect(()=>{const Ir=setTimeout(()=>{Zr(!0)},300);return()=>{clearTimeout(Ir)}},[]);const hr=mn(wn);let Fr=x.createElement("div",{className:`${Qt}-icon`},hr);if(Dn==="picture"||Dn==="picture-card"||Dn==="picture-circle")if(ao==="uploading"||!wn.thumbUrl&&!wn.url){const Ir=Me()(`${Qt}-list-item-thumbnail`,{[`${Qt}-list-item-file`]:ao!=="uploading"});Fr=x.createElement("div",{className:Ir},hr)}else{const Ir=Qa!=null&&Qa(wn)?x.createElement("img",{src:wn.thumbUrl||wn.url,alt:wn.name,className:`${Qt}-list-item-image`,crossOrigin:wn.crossOrigin}):hr,qr=Me()(`${Qt}-list-item-thumbnail`,{[`${Qt}-list-item-file`]:Qa&&!Qa(wn)});Fr=x.createElement("a",{className:qr,onClick:Zo=>ar(wn,Zo),href:wn.url||wn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ir)}const ur=Me()(`${Qt}-list-item`,`${Qt}-list-item-${ao}`),Ra=typeof wn.linkProps=="string"?JSON.parse(wn.linkProps):wn.linkProps,xr=Vn?Da((typeof aa=="function"?aa(wn):aa)||x.createElement(At.Z,null),()=>mr(wn),Qt,kn.removeFile):null,Xr=sa&&ao==="done"?Da((typeof za=="function"?za(wn):za)||x.createElement(Lt.Z,null),()=>Ga(wn),Qt,kn.downloadFile):null,br=Dn!=="picture-card"&&Dn!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:Me()(`${Qt}-list-item-actions`,{picture:Dn==="picture"})},Xr,xr),Vr=Me()(`${Qt}-list-item-name`),jr=wn.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Vr,title:wn.name},Ra,{href:wn.url,onClick:Ir=>ar(wn,Ir)}),wn.name),br]:[x.createElement("span",{key:"view",className:Vr,onClick:Ir=>ar(wn,Ir),title:wn.name},wn.name),br],Xa={pointerEvents:"none",opacity:.5},wr=Ja?x.createElement("a",{href:wn.url||wn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:wn.url||wn.thumbUrl?void 0:Xa,onClick:Ir=>ar(wn,Ir),title:kn.previewFile},typeof xa=="function"?xa(wn):xa||x.createElement(St.Z,null)):null,dr=(Dn==="picture-card"||Dn==="picture-circle")&&ao!=="uploading"&&x.createElement("span",{className:`${Qt}-list-item-actions`},wr,ao==="done"&&Xr,xr),{getPrefixCls:Qr}=x.useContext(yt.E_),ro=Qr(),xo=x.createElement("div",{className:ur},Fr,jr,dr,vr&&x.createElement(qe.default,{motionName:`${ro}-fade`,visible:ao==="uploading",motionDeadline:2e3},Ir=>{let{className:qr}=Ir;const Zo="percent"in wn?x.createElement(Dt.Z,Object.assign({},La,{type:"line",percent:wn.percent,"aria-label":wn["aria-label"],"aria-labelledby":wn["aria-labelledby"]})):null;return x.createElement("div",{className:Me()(`${Qt}-list-item-progress`,qr)},Zo)})),To=wn.response&&typeof wn.response=="string"?wn.response:((Ua=wn.error)===null||Ua===void 0?void 0:Ua.statusText)||((Cr=wn.error)===null||Cr===void 0?void 0:Cr.message)||kn.uploadError,ko=ao==="error"?x.createElement(fn.Z,{title:To,getPopupContainer:Ir=>Ir.parentNode},xo):xo;return x.createElement("div",{className:Me()(`${Qt}-list-item-container`,Sn),style:On,ref:dn},na?na(ko,wn,Aa,{download:Ga.bind(null,wn),preview:ar.bind(null,wn),remove:mr.bind(null,wn)}):ko)});const Ln=(Ue,dn)=>{const{listType:Qt="text",previewFile:Sn=ze,onPreview:On,onDownload:kn,onRemove:Dn,locale:wn,iconRender:Aa,isImageUrl:La=ln,prefixCls:mn,items:Da=[],showPreviewIcon:na=!0,showRemoveIcon:Qa=!0,showDownloadIcon:Ja=!1,removeIcon:Vn,previewIcon:sa,downloadIcon:xa,progress:aa={size:[-1,2],showInfo:!1},appendAction:za,appendActionVisible:ar=!0,itemRender:Ga,disabled:mr}=Ue,Ua=(0,Ct.Z)(),[Cr,kr]=x.useState(!1);x.useEffect(()=>{Qt!=="picture"&&Qt!=="picture-card"&&Qt!=="picture-circle"||(Da||[]).forEach(Xa=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Xa.originFileObj instanceof File||Xa.originFileObj instanceof Blob)||Xa.thumbUrl!==void 0||(Xa.thumbUrl="",Sn&&Sn(Xa.originFileObj).then(wr=>{Xa.thumbUrl=wr||"",Ua()}))})},[Qt,Da,Sn]),x.useEffect(()=>{kr(!0)},[]);const ao=(Xa,wr)=>{if(On)return wr==null||wr.preventDefault(),On(Xa)},Er=Xa=>{typeof kn=="function"?kn(Xa):Xa.url&&window.open(Xa.url)},vr=Xa=>{Dn==null||Dn(Xa)},Zr=Xa=>{if(Aa)return Aa(Xa,Qt);const wr=Xa.status==="uploading",dr=La&&La(Xa)?x.createElement(fe,null):x.createElement(hn,null);let Qr=wr?x.createElement(kt.Z,null):x.createElement(Mt,null);return Qt==="picture"?Qr=wr?x.createElement(kt.Z,null):dr:(Qt==="picture-card"||Qt==="picture-circle")&&(Qr=wr?wn.uploading:dr),Qr},hr=(Xa,wr,dr,Qr)=>{const ro={type:"text",size:"small",title:Qr,onClick:xo=>{wr(),(0,Ce.l$)(Xa)&&Xa.props.onClick&&Xa.props.onClick(xo)},className:`${dr}-list-item-action`,disabled:mr};if((0,Ce.l$)(Xa)){const xo=(0,Ce.Tm)(Xa,Object.assign(Object.assign({},Xa.props),{onClick:()=>{}}));return x.createElement(at.ZP,Object.assign({},ro,{icon:xo}))}return x.createElement(at.ZP,Object.assign({},ro),x.createElement("span",null,Xa))};x.useImperativeHandle(dn,()=>({handlePreview:ao,handleDownload:Er}));const{getPrefixCls:Fr}=x.useContext(yt.E_),ur=Fr("upload",mn),Ra=Fr(),xr=Me()(`${ur}-list`,`${ur}-list-${Qt}`),Xr=(0,ue.Z)(Da.map(Xa=>({key:Xa.uid,file:Xa})));let Vr={motionDeadline:2e3,motionName:`${ur}-${Qt==="picture-card"||Qt==="picture-circle"?"animate-inline":"animate"}`,keys:Xr,motionAppear:Cr};const jr=x.useMemo(()=>{const Xa=Object.assign({},(0,Fe.Z)(Ra));return delete Xa.onAppearEnd,delete Xa.onEnterEnd,delete Xa.onLeaveEnd,Xa},[Ra]);return Qt!=="picture-card"&&Qt!=="picture-circle"&&(Vr=Object.assign(Object.assign({},jr),Vr)),x.createElement("div",{className:xr},x.createElement(qe.CSSMotionList,Object.assign({},Vr,{component:!1}),Xa=>{let{key:wr,file:dr,className:Qr,style:ro}=Xa;return x.createElement(bn,{key:wr,locale:wn,prefixCls:ur,className:Qr,style:ro,file:dr,items:Da,progress:aa,listType:Qt,isImgUrl:La,showPreviewIcon:na,showRemoveIcon:Qa,showDownloadIcon:Ja,removeIcon:Vn,previewIcon:sa,downloadIcon:xa,iconRender:Zr,actionIconRender:hr,itemRender:Ga,onPreview:ao,onDownload:Er,onClose:vr})}),za&&x.createElement(qe.default,Object.assign({},Vr,{visible:ar,forceRender:!0}),Xa=>{let{className:wr,style:dr}=Xa;return(0,Ce.Tm)(za,Qr=>({className:Me()(Qr.className,wr),style:Object.assign(Object.assign(Object.assign({},dr),{pointerEvents:wr?"none":void 0}),Qr.style)}))}))};var oa=x.forwardRef(Ln),jn=te(17313),Ea=te(8378),va=te(83116),Hn=te(37613),Yt=Ue=>{const{componentCls:dn,iconCls:Qt}=Ue;return{[`${dn}-wrapper`]:{[`${dn}-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}`,[dn]:{padding:`${Ue.padding}px 0`},[`${dn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${dn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${dn}-disabled):hover`]:{borderColor:Ue.colorPrimaryHover},[`p${dn}-drag-icon`]:{marginBottom:Ue.margin,[Qt]:{color:Ue.colorPrimary,fontSize:Ue.uploadThumbnailSize}},[`p${dn}-text`]:{margin:`0 0 ${Ue.marginXXS}px`,color:Ue.colorTextHeading,fontSize:Ue.fontSizeLG},[`p${dn}-hint`]:{color:Ue.colorTextDescription,fontSize:Ue.fontSize},[`&${dn}-disabled`]:{cursor:"not-allowed",[`p${dn}-drag-icon ${Qt},
p${dn}-text,
p${dn}-hint
`]:{color:Ue.colorTextDisabled}}}}}},Fn=Ue=>{const{componentCls:dn,antCls:Qt,iconCls:Sn,fontSize:On,lineHeight:kn}=Ue,Dn=`${dn}-list-item`,wn=`${Dn}-actions`,Aa=`${Dn}-action`,La=Math.round(On*kn);return{[`${dn}-wrapper`]:{[`${dn}-list`]:Object.assign(Object.assign({},(0,jn.dF)()),{lineHeight:Ue.lineHeight,[Dn]:{position:"relative",height:Ue.lineHeight*On,marginTop:Ue.marginXS,fontSize:On,display:"flex",alignItems:"center",transition:`background-color ${Ue.motionDurationSlow}`,"&:hover":{backgroundColor:Ue.controlItemBgHover},[`${Dn}-name`]:Object.assign(Object.assign({},jn.vS),{padding:`0 ${Ue.paddingXS}px`,lineHeight:kn,flex:"auto",transition:`all ${Ue.motionDurationSlow}`}),[wn]:{[Aa]:{opacity:0},[`${Aa}${Qt}-btn-sm`]:{height:La,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Aa}:focus-visible,
&.picture ${Aa}
`]:{opacity:1},[Sn]:{color:Ue.actionsColor,transition:`all ${Ue.motionDurationSlow}`},[`&:hover ${Sn}`]:{color:Ue.colorText}},[`${dn}-icon ${Sn}`]:{color:Ue.colorTextDescription,fontSize:On},[`${Dn}-progress`]:{position:"absolute",bottom:-Ue.uploadProgressOffset,width:"100%",paddingInlineStart:On+Ue.paddingXS,fontSize:On,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Dn}:hover ${Aa}`]:{opacity:1,color:Ue.colorText},[`${Dn}-error`]:{color:Ue.colorError,[`${Dn}-name, ${dn}-icon ${Sn}`]:{color:Ue.colorError},[wn]:{[`${Sn}, ${Sn}:hover`]:{color:Ue.colorError},[Aa]:{opacity:1}}},[`${dn}-list-item-container`]:{transition:`opacity ${Ue.motionDurationSlow}, height ${Ue.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Xn=te(93083),Ze=te(1950);const Nt=new Xn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Zt=new Xn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var tn=Ue=>{const{componentCls:dn}=Ue,Qt=`${dn}-animate-inline`;return[{[`${dn}-wrapper`]:{[`${Qt}-appear, ${Qt}-enter, ${Qt}-leave`]:{animationDuration:Ue.motionDurationSlow,animationTimingFunction:Ue.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Qt}-appear, ${Qt}-enter`]:{animationName:Nt},[`${Qt}-leave`]:{animationName:Zt}}},{[`${dn}-wrapper`]:(0,Ze.J$)(Ue)},Nt,Zt]},jt=te(93398),pn=te(64993);const st=Ue=>{const{componentCls:dn,iconCls:Qt,uploadThumbnailSize:Sn,uploadProgressOffset:On}=Ue,kn=`${dn}-list`,Dn=`${kn}-item`;return{[`${dn}-wrapper`]:{[`
${kn}${kn}-picture,
${kn}${kn}-picture-card,
${kn}${kn}-picture-circle
`]:{[Dn]:{position:"relative",height:Sn+Ue.lineWidth*2+Ue.paddingXS*2,padding:Ue.paddingXS,border:`${Ue.lineWidth}px ${Ue.lineType} ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,"&:hover":{background:"transparent"},[`${Dn}-thumbnail`]:Object.assign(Object.assign({},jn.vS),{width:Sn,height:Sn,lineHeight:`${Sn+Ue.paddingSM}px`,textAlign:"center",flex:"none",[Qt]:{fontSize:Ue.fontSizeHeading2,color:Ue.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Dn}-progress`]:{bottom:On,width:`calc(100% - ${Ue.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Sn+Ue.paddingXS}},[`${Dn}-error`]:{borderColor:Ue.colorError,[`${Dn}-thumbnail ${Qt}`]:{[`svg path[fill='${jt.blue[0]}']`]:{fill:Ue.colorErrorBg},[`svg path[fill='${jt.blue.primary}']`]:{fill:Ue.colorError}}},[`${Dn}-uploading`]:{borderStyle:"dashed",[`${Dn}-name`]:{marginBottom:On}}},[`${kn}${kn}-picture-circle ${Dn}`]:{[`&, &::before, ${Dn}-thumbnail`]:{borderRadius:"50%"}}}}},Pt=Ue=>{const{componentCls:dn,iconCls:Qt,fontSizeLG:Sn,colorTextLightSolid:On}=Ue,kn=`${dn}-list`,Dn=`${kn}-item`,wn=Ue.uploadPicCardSize;return{[`
${dn}-wrapper${dn}-picture-card-wrapper,
${dn}-wrapper${dn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,jn.dF)()),{display:"inline-block",width:"100%",[`${dn}${dn}-select`]:{width:wn,height:wn,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}`,[`> ${dn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${dn}-disabled):hover`]:{borderColor:Ue.colorPrimary}},[`${kn}${kn}-picture-card, ${kn}${kn}-picture-circle`]:{[`${kn}-item-container`]:{display:"inline-block",width:wn,height:wn,marginBlock:`0 ${Ue.marginXS}px`,marginInline:`0 ${Ue.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Dn]:{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:'" "'}},[`${Dn}:hover`]:{[`&::before, ${Dn}-actions`]:{opacity:1}},[`${Dn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ue.motionDurationSlow}`,[`${Qt}-eye, ${Qt}-download, ${Qt}-delete`]:{zIndex:10,width:Sn,margin:`0 ${Ue.marginXXS}px`,fontSize:Sn,cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Dn}-actions, ${Dn}-actions:hover`]:{[`${Qt}-eye, ${Qt}-download, ${Qt}-delete`]:{color:new pn.C(On).setAlpha(.65).toRgbString(),"&:hover":{color:On}}},[`${Dn}-thumbnail, ${Dn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Dn}-name`]:{display:"none",textAlign:"center"},[`${Dn}-file + ${Dn}-name`]:{position:"absolute",bottom:Ue.margin,display:"block",width:`calc(100% - ${Ue.paddingXS*2}px)`},[`${Dn}-uploading`]:{[`&${Dn}`]:{backgroundColor:Ue.colorFillAlter},[`&::before, ${Qt}-eye, ${Qt}-download, ${Qt}-delete`]:{display:"none"}},[`${Dn}-progress`]:{bottom:Ue.marginXL,width:`calc(100% - ${Ue.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${dn}-wrapper${dn}-picture-circle-wrapper`]:{[`${dn}${dn}-select`]:{borderRadius:"50%"}}}};var rn=Ue=>{const{componentCls:dn}=Ue;return{[`${dn}-rtl`]:{direction:"rtl"}}};const In=Ue=>{const{componentCls:dn,colorTextDisabled:Qt}=Ue;return{[`${dn}-wrapper`]:Object.assign(Object.assign({},(0,jn.Wf)(Ue)),{[dn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${dn}-select`]:{display:"inline-block"},[`${dn}-disabled`]:{color:Qt,cursor:"not-allowed"}})}};var yn=(0,va.Z)("Upload",Ue=>{const{fontSizeHeading3:dn,fontSize:Qt,lineHeight:Sn,lineWidth:On,controlHeightLG:kn}=Ue,Dn=Math.round(Qt*Sn),wn=(0,Hn.TS)(Ue,{uploadThumbnailSize:dn*2,uploadProgressOffset:Dn/2+On,uploadPicCardSize:kn*2.55});return[In(wn),Yt(wn),st(wn),Pt(wn),Fn(wn),tn(wn),rn(wn),(0,Ea.Z)(wn)]},Ue=>({actionsColor:Ue.colorTextDescription})),ia=function(Ue,dn,Qt,Sn){function On(kn){return kn instanceof Qt?kn:new Qt(function(Dn){Dn(kn)})}return new(Qt||(Qt=Promise))(function(kn,Dn){function wn(mn){try{La(Sn.next(mn))}catch(Da){Dn(Da)}}function Aa(mn){try{La(Sn.throw(mn))}catch(Da){Dn(Da)}}function La(mn){mn.done?kn(mn.value):On(mn.value).then(wn,Aa)}La((Sn=Sn.apply(Ue,dn||[])).next())})};const Un=`__LIST_IGNORE_${Date.now()}__`,lt=(Ue,dn)=>{const{fileList:Qt,defaultFileList:Sn,onRemove:On,showUploadList:kn=!0,listType:Dn="text",onPreview:wn,onDownload:Aa,onChange:La,onDrop:mn,previewFile:Da,disabled:na,locale:Qa,iconRender:Ja,isImageUrl:Vn,progress:sa,prefixCls:xa,className:aa,type:za="select",children:ar,style:Ga,itemRender:mr,maxCount:Ua,data:Cr={},multiple:kr=!1,action:ao="",accept:Er="",supportServerRender:vr=!0,rootClassName:Zr}=Ue,hr=x.useContext(gt.Z),Fr=na!=null?na:hr,[ur,Ra]=(0,ut.Z)(Sn||[],{value:Qt,postState:Zn=>Zn!=null?Zn:[]}),[xr,Xr]=x.useState("drop"),br=x.useRef(null);x.useMemo(()=>{const Zn=Date.now();(Qt||[]).forEach((Nn,Gn)=>{!Nn.uid&&!Object.isFrozen(Nn)&&(Nn.uid=`__AUTO__${Zn}_${Gn}__`)})},[Qt]);const Vr=(Zn,Nn,Gn)=>{let Mn=(0,ue.Z)(Nn),pa=!1;Ua===1?Mn=Mn.slice(-1):Ua&&(pa=Mn.length>Ua,Mn=Mn.slice(0,Ua)),(0,Ft.flushSync)(()=>{Ra(Mn)});const wa={file:Zn,fileList:Mn};Gn&&(wa.event=Gn),(!pa||Mn.some(fa=>fa.uid===Zn.uid))&&(0,Ft.flushSync)(()=>{La==null||La(wa)})},jr=(Zn,Nn)=>ia(void 0,void 0,void 0,function*(){const{beforeUpload:Gn,transformFile:Mn}=Ue;let pa=Zn;if(Gn){const wa=yield Gn(Zn,Nn);if(wa===!1)return!1;if(delete Zn[Un],wa===Un)return Object.defineProperty(Zn,Un,{value:!0,configurable:!0}),!1;typeof wa=="object"&&wa&&(pa=wa)}return Mn&&(pa=yield Mn(pa)),pa}),Xa=Zn=>{const Nn=Zn.filter(pa=>!pa.file[Un]);if(!Nn.length)return;const Gn=Nn.map(pa=>Je(pa.file));let Mn=(0,ue.Z)(ur);Gn.forEach(pa=>{Mn=Ne(pa,Mn)}),Gn.forEach((pa,wa)=>{let fa=pa;if(Nn[wa].parsedFile)pa.status="uploading";else{const{originFileObj:Ar}=pa;let fr;try{fr=new File([Ar],Ar.name,{type:Ar.type})}catch(Or){fr=new Blob([Ar],{type:Ar.type}),fr.name=Ar.name,fr.lastModifiedDate=new Date,fr.lastModified=new Date().getTime()}fr.uid=pa.uid,fa=fr}Vr(fa,Mn)})},wr=(Zn,Nn,Gn)=>{try{typeof Zn=="string"&&(Zn=JSON.parse(Zn))}catch(wa){}if(!mt(Nn,ur))return;const Mn=Je(Nn);Mn.status="done",Mn.percent=100,Mn.response=Zn,Mn.xhr=Gn;const pa=Ne(Mn,ur);Vr(Mn,pa)},dr=(Zn,Nn)=>{if(!mt(Nn,ur))return;const Gn=Je(Nn);Gn.status="uploading",Gn.percent=Zn.percent;const Mn=Ne(Gn,ur);Vr(Gn,Mn,Zn)},Qr=(Zn,Nn,Gn)=>{if(!mt(Gn,ur))return;const Mn=Je(Gn);Mn.error=Zn,Mn.response=Nn,Mn.status="error";const pa=Ne(Mn,ur);Vr(Mn,pa)},ro=Zn=>{let Nn;Promise.resolve(typeof On=="function"?On(Zn):On).then(Gn=>{var Mn;if(Gn===!1)return;const pa=un(Zn,ur);pa&&(Nn=Object.assign(Object.assign({},Zn),{status:"removed"}),ur==null||ur.forEach(wa=>{const fa=Nn.uid!==void 0?"uid":"name";wa[fa]===Nn[fa]&&!Object.isFrozen(wa)&&(wa.status="removed")}),(Mn=br.current)===null||Mn===void 0||Mn.abort(Nn),Vr(Nn,pa))})},xo=Zn=>{Xr(Zn.type),Zn.type==="drop"&&(mn==null||mn(Zn))};x.useImperativeHandle(dn,()=>({onBatchStart:Xa,onSuccess:wr,onProgress:dr,onError:Qr,fileList:ur,upload:br.current}));const{getPrefixCls:To,direction:ko,upload:Ir}=x.useContext(yt.E_),qr=To("upload",xa),Zo=Object.assign(Object.assign({onBatchStart:Xa,onError:Qr,onProgress:dr,onSuccess:wr},Ue),{data:Cr,multiple:kr,action:ao,accept:Er,supportServerRender:vr,prefixCls:qr,disabled:Fr,beforeUpload:jr,onChange:void 0});delete Zo.className,delete Zo.style,(!ar||Fr)&&delete Zo.id;const[Ao,Go]=yn(qr),[ai]=(0,Xt.Z)("Upload",vt.Z.Upload),{showRemoveIcon:$a,showPreviewIcon:ga,showDownloadIcon:Tn,removeIcon:Fa,previewIcon:cr,downloadIcon:Nr}=typeof kn=="boolean"?{}:kn,xe=(Zn,Nn)=>kn?x.createElement(oa,{prefixCls:qr,listType:Dn,items:ur,previewFile:Da,onPreview:wn,onDownload:Aa,onRemove:ro,showRemoveIcon:!Fr&&$a,showPreviewIcon:ga,showDownloadIcon:Tn,removeIcon:Fa,previewIcon:cr,downloadIcon:Nr,iconRender:Ja,locale:Object.assign(Object.assign({},ai),Qa),isImageUrl:Vn,progress:sa,appendAction:Zn,appendActionVisible:Nn,itemRender:mr,disabled:Fr}):Zn,sn=Me()(`${qr}-wrapper`,aa,Zr,Go,Ir==null?void 0:Ir.className,{[`${qr}-rtl`]:ko==="rtl",[`${qr}-picture-card-wrapper`]:Dn==="picture-card",[`${qr}-picture-circle-wrapper`]:Dn==="picture-circle"}),Cn=Object.assign(Object.assign({},Ir==null?void 0:Ir.style),Ga);if(za==="drag"){const Zn=Me()(Go,qr,`${qr}-drag`,{[`${qr}-drag-uploading`]:ur.some(Nn=>Nn.status==="uploading"),[`${qr}-drag-hover`]:xr==="dragover",[`${qr}-disabled`]:Fr,[`${qr}-rtl`]:ko==="rtl"});return Ao(x.createElement("span",{className:sn},x.createElement("div",{className:Zn,style:Cn,onDrop:xo,onDragOver:xo,onDragLeave:xo},x.createElement(De,Object.assign({},Zo,{ref:br,className:`${qr}-btn`}),x.createElement("div",{className:`${qr}-drag-container`},ar))),xe()))}const zn=Me()(qr,`${qr}-select`,{[`${qr}-disabled`]:Fr}),ra=(Zn=>x.createElement("div",{className:zn,style:Zn},x.createElement(De,Object.assign({},Zo,{ref:br}))))(ar?void 0:{display:"none"});return Ao(Dn==="picture-card"||Dn==="picture-circle"?x.createElement("span",{className:sn},xe(ra,!!ar)):x.createElement("span",{className:sn},ra,xe()))};var qn=x.forwardRef(lt),nn=function(Ue,dn){var Qt={};for(var Sn in Ue)Object.prototype.hasOwnProperty.call(Ue,Sn)&&dn.indexOf(Sn)<0&&(Qt[Sn]=Ue[Sn]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,Sn=Object.getOwnPropertySymbols(Ue);On<Sn.length;On++)dn.indexOf(Sn[On])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Sn[On])&&(Qt[Sn[On]]=Ue[Sn[On]]);return Qt},Jn=x.forwardRef((Ue,dn)=>{var{style:Qt,height:Sn}=Ue,On=nn(Ue,["style","height"]);return x.createElement(qn,Object.assign({ref:dn},On,{type:"drag",style:Object.assign(Object.assign({},Qt),{height:Sn})}))});const Ma=qn;Ma.Dragger=Jn,Ma.LIST_IGNORE=Un;var ma=Ma},24334:function(Ut,Gt,te){var x,ue;(function(Be,Me){Ut.exports=Me(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(Be){"use strict";Be=Be||{};var Me=Be.Base64,Le="2.6.4",Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=function(Ye){for(var bt={},De=0,ut=Ye.length;De<ut;De++)bt[Ye.charAt(De)]=De;return bt}(Oe),dt=String.fromCharCode,ot=function(Ye){if(Ye.length<2){var bt=Ye.charCodeAt(0);return bt<128?Ye:bt<2048?dt(192|bt>>>6)+dt(128|bt&63):dt(224|bt>>>12&15)+dt(128|bt>>>6&63)+dt(128|bt&63)}else{var bt=65536+(Ye.charCodeAt(0)-55296)*1024+(Ye.charCodeAt(1)-56320);return dt(240|bt>>>18&7)+dt(128|bt>>>12&63)+dt(128|bt>>>6&63)+dt(128|bt&63)}},Ve=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,We=function(Ye){return Ye.replace(Ve,ot)},nt=function(Ye){var bt=[0,2,1][Ye.length%3],De=Ye.charCodeAt(0)<<16|(Ye.length>1?Ye.charCodeAt(1):0)<<8|(Ye.length>2?Ye.charCodeAt(2):0),ut=[Oe.charAt(De>>>18),Oe.charAt(De>>>12&63),bt>=2?"=":Oe.charAt(De>>>6&63),bt>=1?"=":Oe.charAt(De&63)];return ut.join("")},Xe=Be.btoa&&typeof Be.btoa=="function"?function(Ye){return Be.btoa(Ye)}:function(Ye){if(Ye.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ye.replace(/[\s\S]{1,3}/g,nt)},le=function(Ye){return Xe(We(String(Ye)))},y=function(Ye){return Ye.replace(/[+\/]/g,function(bt){return bt=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ye,bt){return bt?y(le(Ye)):le(Ye)},b=function(Ye){return a(Ye,!0)},E;Be.Uint8Array&&(E=function(Ye,bt){for(var De="",ut=0,Ft=Ye.length;ut<Ft;ut+=3){var yt=Ye[ut],gt=Ye[ut+1],Xt=Ye[ut+2],vt=yt<<16|gt<<8|Xt;De+=Oe.charAt(vt>>>18)+Oe.charAt(vt>>>12&63)+(typeof gt!="undefined"?Oe.charAt(vt>>>6&63):"=")+(typeof Xt!="undefined"?Oe.charAt(vt&63):"=")}return bt?y(De):De});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(Ye){switch(Ye.length){case 4:var bt=(7&Ye.charCodeAt(0))<<18|(63&Ye.charCodeAt(1))<<12|(63&Ye.charCodeAt(2))<<6|63&Ye.charCodeAt(3),De=bt-65536;return dt((De>>>10)+55296)+dt((De&1023)+56320);case 3:return dt((15&Ye.charCodeAt(0))<<12|(63&Ye.charCodeAt(1))<<6|63&Ye.charCodeAt(2));default:return dt((31&Ye.charCodeAt(0))<<6|63&Ye.charCodeAt(1))}},re=function(Ye){return Ye.replace(z,ne)},ie=function(Ye){var bt=Ye.length,De=bt%4,ut=(bt>0?se[Ye.charAt(0)]<<18:0)|(bt>1?se[Ye.charAt(1)]<<12:0)|(bt>2?se[Ye.charAt(2)]<<6:0)|(bt>3?se[Ye.charAt(3)]:0),Ft=[dt(ut>>>16),dt(ut>>>8&255),dt(ut&255)];return Ft.length-=[0,0,2,1][De],Ft.join("")},me=Be.atob&&typeof Be.atob=="function"?function(Ye){return Be.atob(Ye)}:function(Ye){return Ye.replace(/\S{1,4}/g,ie)},pe=function(Ye){return me(String(Ye).replace(/[^A-Za-z0-9\+\/]/g,""))},ye=function(Ye){return re(me(Ye))},Ge=function(Ye){return String(Ye).replace(/[-_]/g,function(bt){return bt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ae=function(Ye){return ye(Ge(Ye))},Qe;Be.Uint8Array&&(Qe=function(Ye){return Uint8Array.from(pe(Ge(Ye)),function(bt){return bt.charCodeAt(0)})});var ve=function(){var Ye=Be.Base64;return Be.Base64=Me,Ye};if(Be.Base64={VERSION:Le,atob:pe,btoa:Xe,fromBase64:Ae,toBase64:a,utob:We,encode:a,encodeURI:b,btou:re,decode:Ae,noConflict:ve,fromUint8Array:E,toUint8Array:Qe},typeof Object.defineProperty=="function"){var Te=function(Ye){return{value:Ye,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Te(function(){return Ae(this)})),Object.defineProperty(String.prototype,"toBase64",Te(function(Ye){return a(this,Ye)})),Object.defineProperty(String.prototype,"toBase64URI",Te(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Ut.exports?Ut.exports.Base64=Be.Base64:(x=[],ue=function(){return Be.Base64}.apply(Gt,x),ue!==void 0&&(Ut.exports=ue)),{Base64:Be.Base64}})},39417:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ye}});var x=te(92413),ue=te(400),Be=te(37061),Me=te(33708),Le=te(6909),Oe=te(4771),se=te(25314),dt=te(9427),ot=te(25440),Ve=te(92310),We=te.n(Ve),nt=te(26112),Xe=te(59301),le=te(39378),y=function(Ae){for(var Qe=Ae.prefixCls,ve=Ae.level,Te=Ae.isStart,Ye=Ae.isEnd,bt="".concat(Qe,"-indent-unit"),De=[],ut=0;ut<ve;ut+=1){var Ft;De.push(Xe.createElement("span",{key:ut,className:We()(bt,(Ft={},(0,ue.Z)(Ft,"".concat(bt,"-start"),Te[ut]),(0,ue.Z)(Ft,"".concat(bt,"-end"),Ye[ut]),Ft))}))}return Xe.createElement("span",{"aria-hidden":"true",className:"".concat(Qe,"-indent")},De)},a=Xe.memo(y),b=te(67841),E=te(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",ie="---",me=function(Ge){(0,dt.Z)(Qe,Ge);var Ae=(0,ot.Z)(Qe);function Qe(){var ve;(0,Le.Z)(this,Qe);for(var Te=arguments.length,Ye=new Array(Te),bt=0;bt<Te;bt++)Ye[bt]=arguments[bt];return ve=Ae.call.apply(Ae,[this].concat(Ye)),ve.state={dragNodeHighlight:!1},ve.selectHandle=void 0,ve.cacheIndent=void 0,ve.onSelectorClick=function(De){var ut=ve.props.context.onNodeClick;ut(De,(0,E.F)(ve.props)),ve.isSelectable()?ve.onSelect(De):ve.onCheck(De)},ve.onSelectorDoubleClick=function(De){var ut=ve.props.context.onNodeDoubleClick;ut(De,(0,E.F)(ve.props))},ve.onSelect=function(De){if(!ve.isDisabled()){var ut=ve.props.context.onNodeSelect;ut(De,(0,E.F)(ve.props))}},ve.onCheck=function(De){if(!ve.isDisabled()){var ut=ve.props,Ft=ut.disableCheckbox,yt=ut.checked,gt=ve.props.context.onNodeCheck;if(!(!ve.isCheckable()||Ft)){var Xt=!yt;gt(De,(0,E.F)(ve.props),Xt)}}},ve.onMouseEnter=function(De){var ut=ve.props.context.onNodeMouseEnter;ut(De,(0,E.F)(ve.props))},ve.onMouseLeave=function(De){var ut=ve.props.context.onNodeMouseLeave;ut(De,(0,E.F)(ve.props))},ve.onContextMenu=function(De){var ut=ve.props.context.onNodeContextMenu;ut(De,(0,E.F)(ve.props))},ve.onDragStart=function(De){var ut=ve.props.context.onNodeDragStart;De.stopPropagation(),ve.setState({dragNodeHighlight:!0}),ut(De,(0,se.Z)(ve));try{De.dataTransfer.setData("text/plain","")}catch(Ft){}},ve.onDragEnter=function(De){var ut=ve.props.context.onNodeDragEnter;De.preventDefault(),De.stopPropagation(),ut(De,(0,se.Z)(ve))},ve.onDragOver=function(De){var ut=ve.props.context.onNodeDragOver;De.preventDefault(),De.stopPropagation(),ut(De,(0,se.Z)(ve))},ve.onDragLeave=function(De){var ut=ve.props.context.onNodeDragLeave;De.stopPropagation(),ut(De,(0,se.Z)(ve))},ve.onDragEnd=function(De){var ut=ve.props.context.onNodeDragEnd;De.stopPropagation(),ve.setState({dragNodeHighlight:!1}),ut(De,(0,se.Z)(ve))},ve.onDrop=function(De){var ut=ve.props.context.onNodeDrop;De.preventDefault(),De.stopPropagation(),ve.setState({dragNodeHighlight:!1}),ut(De,(0,se.Z)(ve))},ve.onExpand=function(De){var ut=ve.props,Ft=ut.loading,yt=ut.context.onNodeExpand;Ft||yt(De,(0,E.F)(ve.props))},ve.setSelectHandle=function(De){ve.selectHandle=De},ve.getNodeState=function(){var De=ve.props.expanded;return ve.isLeaf()?null:De?ne:re},ve.hasChildren=function(){var De=ve.props.eventKey,ut=ve.props.context.keyEntities,Ft=(0,b.Z)(ut,De)||{},yt=Ft.children;return!!(yt||[]).length},ve.isLeaf=function(){var De=ve.props,ut=De.isLeaf,Ft=De.loaded,yt=ve.props.context.loadData,gt=ve.hasChildren();return ut===!1?!1:ut||!yt&&!gt||yt&&Ft&&!gt},ve.isDisabled=function(){var De=ve.props.disabled,ut=ve.props.context.disabled;return!!(ut||De)},ve.isCheckable=function(){var De=ve.props.checkable,ut=ve.props.context.checkable;return!ut||De===!1?!1:ut},ve.syncLoadData=function(De){var ut=De.expanded,Ft=De.loading,yt=De.loaded,gt=ve.props.context,Xt=gt.loadData,vt=gt.onNodeLoad;Ft||Xt&&ut&&!ve.isLeaf()&&!ve.hasChildren()&&!yt&&vt((0,E.F)(ve.props))},ve.isDraggable=function(){var De=ve.props,ut=De.data,Ft=De.context.draggable;return!!(Ft&&(!Ft.nodeDraggable||Ft.nodeDraggable(ut)))},ve.renderDragHandler=function(){var De=ve.props.context,ut=De.draggable,Ft=De.prefixCls;return ut!=null&&ut.icon?Xe.createElement("span",{className:"".concat(Ft,"-draggable-icon")},ut.icon):null},ve.renderSwitcherIconDom=function(De){var ut=ve.props.switcherIcon,Ft=ve.props.context.switcherIcon,yt=ut||Ft;return typeof yt=="function"?yt((0,Me.Z)((0,Me.Z)({},ve.props),{},{isLeaf:De})):yt},ve.renderSwitcher=function(){var De=ve.props.expanded,ut=ve.props.context.prefixCls;if(ve.isLeaf()){var Ft=ve.renderSwitcherIconDom(!0);return Ft!==!1?Xe.createElement("span",{className:We()("".concat(ut,"-switcher"),"".concat(ut,"-switcher-noop"))},Ft):null}var yt=We()("".concat(ut,"-switcher"),"".concat(ut,"-switcher_").concat(De?ne:re)),gt=ve.renderSwitcherIconDom(!1);return gt!==!1?Xe.createElement("span",{onClick:ve.onExpand,className:yt},gt):null},ve.renderCheckbox=function(){var De=ve.props,ut=De.checked,Ft=De.halfChecked,yt=De.disableCheckbox,gt=ve.props.context.prefixCls,Xt=ve.isDisabled(),vt=ve.isCheckable();if(!vt)return null;var an=typeof vt!="boolean"?vt:null;return Xe.createElement("span",{className:We()("".concat(gt,"-checkbox"),ut&&"".concat(gt,"-checkbox-checked"),!ut&&Ft&&"".concat(gt,"-checkbox-indeterminate"),(Xt||yt)&&"".concat(gt,"-checkbox-disabled")),onClick:ve.onCheck},an)},ve.renderIcon=function(){var De=ve.props.loading,ut=ve.props.context.prefixCls;return Xe.createElement("span",{className:We()("".concat(ut,"-iconEle"),"".concat(ut,"-icon__").concat(ve.getNodeState()||"docu"),De&&"".concat(ut,"-icon_loading"))})},ve.renderSelector=function(){var De=ve.state.dragNodeHighlight,ut=ve.props,Ft=ut.title,yt=Ft===void 0?ie:Ft,gt=ut.selected,Xt=ut.icon,vt=ut.loading,an=ut.data,En=ve.props.context,tt=En.prefixCls,et=En.showIcon,qt=En.icon,hn=En.loadData,kt=En.titleRender,vn=ve.isDisabled(),je="".concat(tt,"-node-content-wrapper"),Ot;if(et){var Wt=Xt||qt;Ot=Wt?Xe.createElement("span",{className:We()("".concat(tt,"-iconEle"),"".concat(tt,"-icon__customize"))},typeof Wt=="function"?Wt(ve.props):Wt):ve.renderIcon()}else hn&&vt&&(Ot=ve.renderIcon());var Mt;typeof yt=="function"?Mt=yt(an):kt?Mt=kt(an):Mt=yt;var ht=Xe.createElement("span",{className:"".concat(tt,"-title")},Mt);return Xe.createElement("span",{ref:ve.setSelectHandle,title:typeof yt=="string"?yt:"",className:We()("".concat(je),"".concat(je,"-").concat(ve.getNodeState()||"normal"),!vn&&(gt||De)&&"".concat(tt,"-node-selected")),onMouseEnter:ve.onMouseEnter,onMouseLeave:ve.onMouseLeave,onContextMenu:ve.onContextMenu,onClick:ve.onSelectorClick,onDoubleClick:ve.onSelectorDoubleClick},Ot,ht,ve.renderDropIndicator())},ve.renderDropIndicator=function(){var De=ve.props,ut=De.disabled,Ft=De.eventKey,yt=ve.props.context,gt=yt.draggable,Xt=yt.dropLevelOffset,vt=yt.dropPosition,an=yt.prefixCls,En=yt.indent,tt=yt.dropIndicatorRender,et=yt.dragOverNodeKey,qt=yt.direction,hn=!!gt,kt=!ut&&hn&&et===Ft,vn=En!=null?En:ve.cacheIndent;return ve.cacheIndent=En,kt?tt({dropPosition:vt,dropLevelOffset:Xt,indent:vn,prefixCls:an,direction:qt}):null},ve}return(0,Oe.Z)(Qe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Te=this.props.selectable,Ye=this.props.context.selectable;return typeof Te=="boolean"?Te:Ye}},{key:"render",value:function(){var Te,Ye=this.props,bt=Ye.eventKey,De=Ye.className,ut=Ye.style,Ft=Ye.dragOver,yt=Ye.dragOverGapTop,gt=Ye.dragOverGapBottom,Xt=Ye.isLeaf,vt=Ye.isStart,an=Ye.isEnd,En=Ye.expanded,tt=Ye.selected,et=Ye.checked,qt=Ye.halfChecked,hn=Ye.loading,kt=Ye.domRef,vn=Ye.active,je=Ye.data,Ot=Ye.onMouseMove,Wt=Ye.selectable,Mt=(0,Be.Z)(Ye,z),ht=this.props.context,rt=ht.prefixCls,_e=ht.filterTreeNode,Se=ht.keyEntities,fe=ht.dropContainerKey,qe=ht.dropTargetKey,Ct=ht.draggingNodeKey,Fe=this.isDisabled(),Ce=(0,nt.Z)(Mt,{aria:!0,data:!0}),at=(0,b.Z)(Se,bt)||{},Je=at.level,Ne=an[an.length-1],mt=this.isDraggable(),un=!Fe&&mt,en=Ct===bt,zt=Wt!==void 0?{"aria-selected":!!Wt}:void 0;return Xe.createElement("div",(0,x.Z)({ref:kt,className:We()(De,"".concat(rt,"-treenode"),(Te={},(0,ue.Z)(Te,"".concat(rt,"-treenode-disabled"),Fe),(0,ue.Z)(Te,"".concat(rt,"-treenode-switcher-").concat(En?"open":"close"),!Xt),(0,ue.Z)(Te,"".concat(rt,"-treenode-checkbox-checked"),et),(0,ue.Z)(Te,"".concat(rt,"-treenode-checkbox-indeterminate"),qt),(0,ue.Z)(Te,"".concat(rt,"-treenode-selected"),tt),(0,ue.Z)(Te,"".concat(rt,"-treenode-loading"),hn),(0,ue.Z)(Te,"".concat(rt,"-treenode-active"),vn),(0,ue.Z)(Te,"".concat(rt,"-treenode-leaf-last"),Ne),(0,ue.Z)(Te,"".concat(rt,"-treenode-draggable"),mt),(0,ue.Z)(Te,"dragging",en),(0,ue.Z)(Te,"drop-target",qe===bt),(0,ue.Z)(Te,"drop-container",fe===bt),(0,ue.Z)(Te,"drag-over",!Fe&&Ft),(0,ue.Z)(Te,"drag-over-gap-top",!Fe&&yt),(0,ue.Z)(Te,"drag-over-gap-bottom",!Fe&&gt),(0,ue.Z)(Te,"filter-node",_e&&_e((0,E.F)(this.props))),Te)),style:ut,draggable:un,"aria-grabbed":en,onDragStart:un?this.onDragStart:void 0,onDragEnter:mt?this.onDragEnter:void 0,onDragOver:mt?this.onDragOver:void 0,onDragLeave:mt?this.onDragLeave:void 0,onDrop:mt?this.onDrop:void 0,onDragEnd:mt?this.onDragEnd:void 0,onMouseMove:Ot},zt,Ce),Xe.createElement(a,{prefixCls:rt,level:Je,isStart:vt,isEnd:an}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Qe}(Xe.Component),pe=function(Ae){return Xe.createElement(le.k.Consumer,null,function(Qe){return Xe.createElement(me,(0,x.Z)({},Ae,{context:Qe}))})};pe.displayName="TreeNode",pe.isTreeNode=1;var ye=pe},39378:function(Ut,Gt,te){"use strict";te.d(Gt,{k:function(){return ue}});var x=te(59301),ue=x.createContext(null)},23130:function(Ut,Gt,te){"use strict";te.d(Gt,{O:function(){return ye.Z},Z:function(){return ht}});var x=te(92413),ue=te(400),Be=te(39559),Me=te(33708),Le=te(26407),Oe=te(6909),se=te(4771),dt=te(25314),ot=te(9427),Ve=te(25440),We=te(92310),nt=te.n(We),Xe=te(10228),le=te(26112),y=te(48736),a=te(59301),b=te(39378);function E(rt){var _e=rt.dropPosition,Se=rt.dropLevelOffset,fe=rt.indent,qe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(_e){case-1:qe.top=0,qe.left=-Se*fe;break;case 1:qe.bottom=0,qe.left=-Se*fe;break;case 0:qe.bottom=0,qe.left=fe;break}return a.createElement("div",{style:qe})}function z(rt){if(rt==null)throw new TypeError("Cannot destructure "+rt)}var ne=te(33606),re=te(37061),ie=te(34280),me=te(24916),pe=te(77900),ye=te(39417);function Ge(rt,_e){var Se=a.useState(!1),fe=(0,ne.Z)(Se,2),qe=fe[0],Ct=fe[1];a.useLayoutEffect(function(){if(qe)return rt(),function(){_e()}},[qe]),a.useLayoutEffect(function(){return Ct(!0),function(){Ct(!1)}},[])}var Ae=te(71430),Qe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ve=function(_e,Se){var fe=_e.className,qe=_e.style,Ct=_e.motion,Fe=_e.motionNodes,Ce=_e.motionType,at=_e.onMotionStart,Je=_e.onMotionEnd,Ne=_e.active,mt=_e.treeNodeRequiredProps,un=(0,re.Z)(_e,Qe),en=a.useState(!0),zt=(0,ne.Z)(en,2),ln=zt[0],on=zt[1],ze=a.useContext(b.k),At=ze.prefixCls,Lt=Fe&&Ce!=="hide";(0,ie.Z)(function(){Fe&&Lt!==ln&&on(Lt)},[Fe]);var St=function(){Fe&&at()},Dt=a.useRef(!1),fn=function(){Fe&&!Dt.current&&(Dt.current=!0,Je())};Ge(St,fn);var Pn=function(Ln){Lt===Ln&&fn()};return Fe?a.createElement(pe.default,(0,x.Z)({ref:Se,visible:ln},Ct,{motionAppear:Ce==="show",onVisibleChanged:Pn}),function(bn,Ln){var ta=bn.className,oa=bn.style;return a.createElement("div",{ref:Ln,className:nt()("".concat(At,"-treenode-motion"),ta),style:oa},Fe.map(function(jn){var Ea=(0,x.Z)({},(z(jn.data),jn.data)),va=jn.title,Hn=jn.key,Ba=jn.isStart,Yt=jn.isEnd;delete Ea.children;var An=(0,Ae.H8)(Hn,mt);return a.createElement(ye.Z,(0,x.Z)({},Ea,An,{title:va,active:Ne,data:jn.data,key:Hn,isStart:Ba,isEnd:Yt}))}))}):a.createElement(ye.Z,(0,x.Z)({domRef:Se,className:fe,style:qe},un,{active:Ne}))};ve.displayName="MotionTreeNode";var Te=a.forwardRef(ve),Ye=Te;function bt(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Se=rt.length,fe=_e.length;if(Math.abs(Se-fe)!==1)return{add:!1,key:null};function qe(Ct,Fe){var Ce=new Map;Ct.forEach(function(Je){Ce.set(Je,!0)});var at=Fe.filter(function(Je){return!Ce.has(Je)});return at.length===1?at[0]:null}return Se<fe?{add:!0,key:qe(rt,_e)}:{add:!1,key:qe(_e,rt)}}function De(rt,_e,Se){var fe=rt.findIndex(function(Ce){return Ce.key===Se}),qe=rt[fe+1],Ct=_e.findIndex(function(Ce){return Ce.key===Se});if(qe){var Fe=_e.findIndex(function(Ce){return Ce.key===qe.key});return _e.slice(Ct+1,Fe)}return _e.slice(Ct+1)}var ut=["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"],Ft={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},yt=function(){},gt="RC_TREE_MOTION_".concat(Math.random()),Xt={key:gt},vt={key:gt,level:0,index:0,pos:"0",node:Xt,nodes:[Xt]},an={parent:null,children:[],pos:vt.pos,data:Xt,title:null,key:gt,isStart:[],isEnd:[]};function En(rt,_e,Se,fe){return _e===!1||!Se?rt:rt.slice(0,Math.ceil(Se/fe)+1)}function tt(rt){var _e=rt.key,Se=rt.pos;return(0,Ae.km)(_e,Se)}function et(rt){for(var _e=String(rt.data.key),Se=rt;Se.parent;)Se=Se.parent,_e="".concat(Se.data.key," > ").concat(_e);return _e}var qt=a.forwardRef(function(rt,_e){var Se=rt.prefixCls,fe=rt.data,qe=rt.selectable,Ct=rt.checkable,Fe=rt.expandedKeys,Ce=rt.selectedKeys,at=rt.checkedKeys,Je=rt.loadedKeys,Ne=rt.loadingKeys,mt=rt.halfCheckedKeys,un=rt.keyEntities,en=rt.disabled,zt=rt.dragging,ln=rt.dragOverNodeKey,on=rt.dropPosition,ze=rt.motion,At=rt.height,Lt=rt.itemHeight,St=rt.virtual,Dt=rt.focusable,fn=rt.activeItem,Pn=rt.focused,bn=rt.tabIndex,Ln=rt.onKeyDown,ta=rt.onFocus,oa=rt.onBlur,jn=rt.onActiveChange,Ea=rt.onListChangeStart,va=rt.onListChangeEnd,Hn=(0,re.Z)(rt,ut),Ba=a.useRef(null),Yt=a.useRef(null);a.useImperativeHandle(_e,function(){return{scrollTo:function(ma){Ba.current.scrollTo(ma)},getIndentWidth:function(){return Yt.current.offsetWidth}}});var An=a.useState(Fe),Fn=(0,ne.Z)(An,2),Xn=Fn[0],Ze=Fn[1],Nt=a.useState(fe),Zt=(0,ne.Z)(Nt,2),Kt=Zt[0],tn=Zt[1],jt=a.useState(fe),pn=(0,ne.Z)(jt,2),st=pn[0],Pt=pn[1],ct=a.useState([]),rn=(0,ne.Z)(ct,2),In=rn[0],yn=rn[1],ia=a.useState(null),Un=(0,ne.Z)(ia,2),lt=Un[0],$t=Un[1],qn=a.useRef(fe);qn.current=fe;function nn(){var Ma=qn.current;tn(Ma),Pt(Ma),yn([]),$t(null),va()}(0,ie.Z)(function(){Ze(Fe);var Ma=bt(Xn,Fe);if(Ma.key!==null)if(Ma.add){var ma=Kt.findIndex(function(kn){var Dn=kn.key;return Dn===Ma.key}),Ue=En(De(Kt,fe,Ma.key),St,At,Lt),dn=Kt.slice();dn.splice(ma+1,0,an),Pt(dn),yn(Ue),$t("show")}else{var Qt=fe.findIndex(function(kn){var Dn=kn.key;return Dn===Ma.key}),Sn=En(De(fe,Kt,Ma.key),St,At,Lt),On=fe.slice();On.splice(Qt+1,0,an),Pt(On),yn(Sn),$t("hide")}else Kt!==fe&&(tn(fe),Pt(fe))},[Fe,fe]),a.useEffect(function(){zt||nn()},[zt]);var _n=ze?st:fe,Jn={expandedKeys:Fe,selectedKeys:Ce,loadedKeys:Je,loadingKeys:Ne,checkedKeys:at,halfCheckedKeys:mt,dragOverNodeKey:ln,dropPosition:on,keyEntities:un};return a.createElement(a.Fragment,null,Pn&&fn&&a.createElement("span",{style:Ft,"aria-live":"assertive"},et(fn)),a.createElement("div",null,a.createElement("input",{style:Ft,disabled:Dt===!1||en,tabIndex:Dt!==!1?bn:null,onKeyDown:Ln,onFocus:ta,onBlur:oa,value:"",onChange:yt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(Se,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(Se,"-indent")},a.createElement("div",{ref:Yt,className:"".concat(Se,"-indent-unit")}))),a.createElement(me.Z,(0,x.Z)({},Hn,{data:_n,itemKey:tt,height:At,fullHeight:!1,virtual:St,itemHeight:Lt,prefixCls:"".concat(Se,"-list"),ref:Ba,onVisibleChange:function(ma,Ue){var dn=new Set(ma),Qt=Ue.filter(function(Sn){return!dn.has(Sn)});Qt.some(function(Sn){return tt(Sn)===gt})&&nn()}}),function(Ma){var ma=Ma.pos,Ue=(0,x.Z)({},(z(Ma.data),Ma.data)),dn=Ma.title,Qt=Ma.key,Sn=Ma.isStart,On=Ma.isEnd,kn=(0,Ae.km)(Qt,ma);delete Ue.key,delete Ue.children;var Dn=(0,Ae.H8)(kn,Jn);return a.createElement(Ye,(0,x.Z)({},Ue,Dn,{title:dn,active:!!fn&&Qt===fn.key,pos:ma,data:Ma.data,isStart:Sn,isEnd:On,motion:ze,motionNodes:Qt===gt?In:null,motionType:lt,onMotionStart:Ea,onMotionEnd:nn,treeNodeRequiredProps:Jn,onMouseMove:function(){jn(null)}}))}))});qt.displayName="NodeList";var hn=qt,kt=te(35654),vn=te(90782),je=te(67841),Ot=10,Wt=function(rt){(0,ot.Z)(Se,rt);var _e=(0,Ve.Z)(Se);function Se(){var fe;(0,Oe.Z)(this,Se);for(var qe=arguments.length,Ct=new Array(qe),Fe=0;Fe<qe;Fe++)Ct[Fe]=arguments[Fe];return fe=_e.call.apply(_e,[this].concat(Ct)),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(Ce,at){var Je=fe.state,Ne=Je.expandedKeys,mt=Je.keyEntities,un=fe.props.onDragStart,en=at.props.eventKey;fe.dragNode=at,fe.dragStartMousePosition={x:Ce.clientX,y:Ce.clientY};var zt=(0,kt._5)(Ne,en);fe.setState({draggingNodeKey:en,dragChildrenKeys:(0,kt.wA)(en,mt),indent:fe.listRef.current.getIndentWidth()}),fe.setExpandedKeys(zt),window.addEventListener("dragend",fe.onWindowDragEnd),un==null||un({event:Ce,node:(0,Ae.F)(at.props)})},fe.onNodeDragEnter=function(Ce,at){var Je=fe.state,Ne=Je.expandedKeys,mt=Je.keyEntities,un=Je.dragChildrenKeys,en=Je.flattenNodes,zt=Je.indent,ln=fe.props,on=ln.onDragEnter,ze=ln.onExpand,At=ln.allowDrop,Lt=ln.direction,St=at.props,Dt=St.pos,fn=St.eventKey,Pn=(0,dt.Z)(fe),bn=Pn.dragNode;if(fe.currentMouseOverDroppableNodeKey!==fn&&(fe.currentMouseOverDroppableNodeKey=fn),!bn){fe.resetDragState();return}var Ln=(0,kt.OM)(Ce,bn,at,zt,fe.dragStartMousePosition,At,en,mt,Ne,Lt),ta=Ln.dropPosition,oa=Ln.dropLevelOffset,jn=Ln.dropTargetKey,Ea=Ln.dropContainerKey,va=Ln.dropTargetPos,Hn=Ln.dropAllowed,Ba=Ln.dragOverNodeKey;if(un.indexOf(jn)!==-1||!Hn){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(Yt){clearTimeout(fe.delayedDragEnterLogic[Yt])}),bn.props.eventKey!==at.props.eventKey&&(Ce.persist(),fe.delayedDragEnterLogic[Dt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var Yt=(0,Le.Z)(Ne),An=(0,je.Z)(mt,at.props.eventKey);An&&(An.children||[]).length&&(Yt=(0,kt.L0)(Ne,at.props.eventKey)),"expandedKeys"in fe.props||fe.setExpandedKeys(Yt),ze==null||ze(Yt,{node:(0,Ae.F)(at.props),expanded:!0,nativeEvent:Ce.nativeEvent})}},800)),bn.props.eventKey===jn&&oa===0){fe.resetDragState();return}fe.setState({dragOverNodeKey:Ba,dropPosition:ta,dropLevelOffset:oa,dropTargetKey:jn,dropContainerKey:Ea,dropTargetPos:va,dropAllowed:Hn}),on==null||on({event:Ce,node:(0,Ae.F)(at.props),expandedKeys:Ne})},fe.onNodeDragOver=function(Ce,at){var Je=fe.state,Ne=Je.dragChildrenKeys,mt=Je.flattenNodes,un=Je.keyEntities,en=Je.expandedKeys,zt=Je.indent,ln=fe.props,on=ln.onDragOver,ze=ln.allowDrop,At=ln.direction,Lt=(0,dt.Z)(fe),St=Lt.dragNode;if(St){var Dt=(0,kt.OM)(Ce,St,at,zt,fe.dragStartMousePosition,ze,mt,un,en,At),fn=Dt.dropPosition,Pn=Dt.dropLevelOffset,bn=Dt.dropTargetKey,Ln=Dt.dropContainerKey,ta=Dt.dropAllowed,oa=Dt.dropTargetPos,jn=Dt.dragOverNodeKey;Ne.indexOf(bn)!==-1||!ta||(St.props.eventKey===bn&&Pn===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():fn===fe.state.dropPosition&&Pn===fe.state.dropLevelOffset&&bn===fe.state.dropTargetKey&&Ln===fe.state.dropContainerKey&&oa===fe.state.dropTargetPos&&ta===fe.state.dropAllowed&&jn===fe.state.dragOverNodeKey||fe.setState({dropPosition:fn,dropLevelOffset:Pn,dropTargetKey:bn,dropContainerKey:Ln,dropTargetPos:oa,dropAllowed:ta,dragOverNodeKey:jn}),on==null||on({event:Ce,node:(0,Ae.F)(at.props)}))}},fe.onNodeDragLeave=function(Ce,at){fe.currentMouseOverDroppableNodeKey===at.props.eventKey&&!Ce.currentTarget.contains(Ce.relatedTarget)&&(fe.resetDragState(),fe.currentMouseOverDroppableNodeKey=null);var Je=fe.props.onDragLeave;Je==null||Je({event:Ce,node:(0,Ae.F)(at.props)})},fe.onWindowDragEnd=function(Ce){fe.onNodeDragEnd(Ce,null,!0),window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDragEnd=function(Ce,at){var Je=fe.props.onDragEnd;fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),Je==null||Je({event:Ce,node:(0,Ae.F)(at.props)}),fe.dragNode=null,window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDrop=function(Ce,at){var Je,Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,mt=fe.state,un=mt.dragChildrenKeys,en=mt.dropPosition,zt=mt.dropTargetKey,ln=mt.dropTargetPos,on=mt.dropAllowed;if(on){var ze=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),zt!==null){var At=(0,Me.Z)((0,Me.Z)({},(0,Ae.H8)(zt,fe.getTreeNodeRequiredProps())),{},{active:((Je=fe.getActiveItem())===null||Je===void 0?void 0:Je.key)===zt,data:(0,je.Z)(fe.state.keyEntities,zt).node}),Lt=un.indexOf(zt)!==-1;(0,y.ZP)(!Lt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var St=(0,kt.yx)(ln),Dt={event:Ce,node:(0,Ae.F)(At),dragNode:fe.dragNode?(0,Ae.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(un),dropToGap:en!==0,dropPosition:en+Number(St[St.length-1])};Ne||ze==null||ze(Dt),fe.dragNode=null}}},fe.cleanDragState=function(){var Ce=fe.state.draggingNodeKey;Ce!==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(Ce,at){var Je=fe.state,Ne=Je.expandedKeys,mt=Je.flattenNodes,un=at.expanded,en=at.key,zt=at.isLeaf;if(!(zt||Ce.shiftKey||Ce.metaKey||Ce.ctrlKey)){var ln=mt.filter(function(ze){return ze.key===en})[0],on=(0,Ae.F)((0,Me.Z)((0,Me.Z)({},(0,Ae.H8)(en,fe.getTreeNodeRequiredProps())),{},{data:ln.data}));fe.setExpandedKeys(un?(0,kt._5)(Ne,en):(0,kt.L0)(Ne,en)),fe.onNodeExpand(Ce,on)}},fe.onNodeClick=function(Ce,at){var Je=fe.props,Ne=Je.onClick,mt=Je.expandAction;mt==="click"&&fe.triggerExpandActionExpand(Ce,at),Ne==null||Ne(Ce,at)},fe.onNodeDoubleClick=function(Ce,at){var Je=fe.props,Ne=Je.onDoubleClick,mt=Je.expandAction;mt==="doubleClick"&&fe.triggerExpandActionExpand(Ce,at),Ne==null||Ne(Ce,at)},fe.onNodeSelect=function(Ce,at){var Je=fe.state.selectedKeys,Ne=fe.state,mt=Ne.keyEntities,un=Ne.fieldNames,en=fe.props,zt=en.onSelect,ln=en.multiple,on=at.selected,ze=at[un.key],At=!on;At?ln?Je=(0,kt.L0)(Je,ze):Je=[ze]:Je=(0,kt._5)(Je,ze);var Lt=Je.map(function(St){var Dt=(0,je.Z)(mt,St);return Dt?Dt.node:null}).filter(function(St){return St});fe.setUncontrolledState({selectedKeys:Je}),zt==null||zt(Je,{event:"select",selected:At,node:at,selectedNodes:Lt,nativeEvent:Ce.nativeEvent})},fe.onNodeCheck=function(Ce,at,Je){var Ne=fe.state,mt=Ne.keyEntities,un=Ne.checkedKeys,en=Ne.halfCheckedKeys,zt=fe.props,ln=zt.checkStrictly,on=zt.onCheck,ze=at.key,At,Lt={event:"check",node:at,checked:Je,nativeEvent:Ce.nativeEvent};if(ln){var St=Je?(0,kt.L0)(un,ze):(0,kt._5)(un,ze),Dt=(0,kt._5)(en,ze);At={checked:St,halfChecked:Dt},Lt.checkedNodes=St.map(function(oa){return(0,je.Z)(mt,oa)}).filter(function(oa){return oa}).map(function(oa){return oa.node}),fe.setUncontrolledState({checkedKeys:St})}else{var fn=(0,vn.S)([].concat((0,Le.Z)(un),[ze]),!0,mt),Pn=fn.checkedKeys,bn=fn.halfCheckedKeys;if(!Je){var Ln=new Set(Pn);Ln.delete(ze);var ta=(0,vn.S)(Array.from(Ln),{checked:!1,halfCheckedKeys:bn},mt);Pn=ta.checkedKeys,bn=ta.halfCheckedKeys}At=Pn,Lt.checkedNodes=[],Lt.checkedNodesPositions=[],Lt.halfCheckedKeys=bn,Pn.forEach(function(oa){var jn=(0,je.Z)(mt,oa);if(jn){var Ea=jn.node,va=jn.pos;Lt.checkedNodes.push(Ea),Lt.checkedNodesPositions.push({node:Ea,pos:va})}}),fe.setUncontrolledState({checkedKeys:Pn},!1,{halfCheckedKeys:bn})}on==null||on(At,Lt)},fe.onNodeLoad=function(Ce){var at=Ce.key,Je=new Promise(function(Ne,mt){fe.setState(function(un){var en=un.loadedKeys,zt=en===void 0?[]:en,ln=un.loadingKeys,on=ln===void 0?[]:ln,ze=fe.props,At=ze.loadData,Lt=ze.onLoad;if(!At||zt.indexOf(at)!==-1||on.indexOf(at)!==-1)return null;var St=At(Ce);return St.then(function(){var Dt=fe.state.loadedKeys,fn=(0,kt.L0)(Dt,at);Lt==null||Lt(fn,{event:"load",node:Ce}),fe.setUncontrolledState({loadedKeys:fn}),fe.setState(function(Pn){return{loadingKeys:(0,kt._5)(Pn.loadingKeys,at)}}),Ne()}).catch(function(Dt){if(fe.setState(function(Pn){return{loadingKeys:(0,kt._5)(Pn.loadingKeys,at)}}),fe.loadingRetryTimes[at]=(fe.loadingRetryTimes[at]||0)+1,fe.loadingRetryTimes[at]>=Ot){var fn=fe.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,kt.L0)(fn,at)}),Ne()}mt(Dt)}),{loadingKeys:(0,kt.L0)(on,at)}})});return Je.catch(function(){}),Je},fe.onNodeMouseEnter=function(Ce,at){var Je=fe.props.onMouseEnter;Je==null||Je({event:Ce,node:at})},fe.onNodeMouseLeave=function(Ce,at){var Je=fe.props.onMouseLeave;Je==null||Je({event:Ce,node:at})},fe.onNodeContextMenu=function(Ce,at){var Je=fe.props.onRightClick;Je&&(Ce.preventDefault(),Je({event:Ce,node:at}))},fe.onFocus=function(){var Ce=fe.props.onFocus;fe.setState({focused:!0});for(var at=arguments.length,Je=new Array(at),Ne=0;Ne<at;Ne++)Je[Ne]=arguments[Ne];Ce==null||Ce.apply(void 0,Je)},fe.onBlur=function(){var Ce=fe.props.onBlur;fe.setState({focused:!1}),fe.onActiveChange(null);for(var at=arguments.length,Je=new Array(at),Ne=0;Ne<at;Ne++)Je[Ne]=arguments[Ne];Ce==null||Ce.apply(void 0,Je)},fe.getTreeNodeRequiredProps=function(){var Ce=fe.state,at=Ce.expandedKeys,Je=Ce.selectedKeys,Ne=Ce.loadedKeys,mt=Ce.loadingKeys,un=Ce.checkedKeys,en=Ce.halfCheckedKeys,zt=Ce.dragOverNodeKey,ln=Ce.dropPosition,on=Ce.keyEntities;return{expandedKeys:at||[],selectedKeys:Je||[],loadedKeys:Ne||[],loadingKeys:mt||[],checkedKeys:un||[],halfCheckedKeys:en||[],dragOverNodeKey:zt,dropPosition:ln,keyEntities:on}},fe.setExpandedKeys=function(Ce){var at=fe.state,Je=at.treeData,Ne=at.fieldNames,mt=(0,Ae.oH)(Je,Ce,Ne);fe.setUncontrolledState({expandedKeys:Ce,flattenNodes:mt},!0)},fe.onNodeExpand=function(Ce,at){var Je=fe.state.expandedKeys,Ne=fe.state,mt=Ne.listChanging,un=Ne.fieldNames,en=fe.props,zt=en.onExpand,ln=en.loadData,on=at.expanded,ze=at[un.key];if(!mt){var At=Je.indexOf(ze),Lt=!on;if((0,y.ZP)(on&&At!==-1||!on&&At===-1,"Expand state not sync with index check"),Lt?Je=(0,kt.L0)(Je,ze):Je=(0,kt._5)(Je,ze),fe.setExpandedKeys(Je),zt==null||zt(Je,{node:at,expanded:Lt,nativeEvent:Ce.nativeEvent}),Lt&&ln){var St=fe.onNodeLoad(at);St&&St.then(function(){var Dt=(0,Ae.oH)(fe.state.treeData,Je,un);fe.setUncontrolledState({flattenNodes:Dt})}).catch(function(){var Dt=fe.state.expandedKeys,fn=(0,kt._5)(Dt,ze);fe.setExpandedKeys(fn)})}}},fe.onListChangeStart=function(){fe.setUncontrolledState({listChanging:!0})},fe.onListChangeEnd=function(){setTimeout(function(){fe.setUncontrolledState({listChanging:!1})})},fe.onActiveChange=function(Ce){var at=fe.state.activeKey,Je=fe.props.onActiveChange;at!==Ce&&(fe.setState({activeKey:Ce}),Ce!==null&&fe.scrollTo({key:Ce}),Je==null||Je(Ce))},fe.getActiveItem=function(){var Ce=fe.state,at=Ce.activeKey,Je=Ce.flattenNodes;return at===null?null:Je.find(function(Ne){var mt=Ne.key;return mt===at})||null},fe.offsetActiveKey=function(Ce){var at=fe.state,Je=at.flattenNodes,Ne=at.activeKey,mt=Je.findIndex(function(zt){var ln=zt.key;return ln===Ne});mt===-1&&Ce<0&&(mt=Je.length),mt=(mt+Ce+Je.length)%Je.length;var un=Je[mt];if(un){var en=un.key;fe.onActiveChange(en)}else fe.onActiveChange(null)},fe.onKeyDown=function(Ce){var at=fe.state,Je=at.activeKey,Ne=at.expandedKeys,mt=at.checkedKeys,un=at.fieldNames,en=fe.props,zt=en.onKeyDown,ln=en.checkable,on=en.selectable;switch(Ce.which){case Xe.Z.UP:{fe.offsetActiveKey(-1),Ce.preventDefault();break}case Xe.Z.DOWN:{fe.offsetActiveKey(1),Ce.preventDefault();break}}var ze=fe.getActiveItem();if(ze&&ze.data){var At=fe.getTreeNodeRequiredProps(),Lt=ze.data.isLeaf===!1||!!(ze.data[un.children]||[]).length,St=(0,Ae.F)((0,Me.Z)((0,Me.Z)({},(0,Ae.H8)(Je,At)),{},{data:ze.data,active:!0}));switch(Ce.which){case Xe.Z.LEFT:{Lt&&Ne.includes(Je)?fe.onNodeExpand({},St):ze.parent&&fe.onActiveChange(ze.parent.key),Ce.preventDefault();break}case Xe.Z.RIGHT:{Lt&&!Ne.includes(Je)?fe.onNodeExpand({},St):ze.children&&ze.children.length&&fe.onActiveChange(ze.children[0].key),Ce.preventDefault();break}case Xe.Z.ENTER:case Xe.Z.SPACE:{ln&&!St.disabled&&St.checkable!==!1&&!St.disableCheckbox?fe.onNodeCheck({},St,!mt.includes(Je)):!ln&&on&&!St.disabled&&St.selectable!==!1&&fe.onNodeSelect({},St);break}}}zt==null||zt(Ce)},fe.setUncontrolledState=function(Ce){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Ne=!1,mt=!0,un={};Object.keys(Ce).forEach(function(en){if(en in fe.props){mt=!1;return}Ne=!0,un[en]=Ce[en]}),Ne&&(!at||mt)&&fe.setState((0,Me.Z)((0,Me.Z)({},un),Je))}},fe.scrollTo=function(Ce){fe.listRef.current.scrollTo(Ce)},fe}return(0,se.Z)(Se,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var qe=this.props.activeKey;qe!==void 0&&qe!==this.state.activeKey&&(this.setState({activeKey:qe}),qe!==null&&this.scrollTo({key:qe}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var qe,Ct=this.state,Fe=Ct.focused,Ce=Ct.flattenNodes,at=Ct.keyEntities,Je=Ct.draggingNodeKey,Ne=Ct.activeKey,mt=Ct.dropLevelOffset,un=Ct.dropContainerKey,en=Ct.dropTargetKey,zt=Ct.dropPosition,ln=Ct.dragOverNodeKey,on=Ct.indent,ze=this.props,At=ze.prefixCls,Lt=ze.className,St=ze.style,Dt=ze.showLine,fn=ze.focusable,Pn=ze.tabIndex,bn=Pn===void 0?0:Pn,Ln=ze.selectable,ta=ze.showIcon,oa=ze.icon,jn=ze.switcherIcon,Ea=ze.draggable,va=ze.checkable,Hn=ze.checkStrictly,Ba=ze.disabled,Yt=ze.motion,An=ze.loadData,Fn=ze.filterTreeNode,Xn=ze.height,Ze=ze.itemHeight,Nt=ze.virtual,Zt=ze.titleRender,Kt=ze.dropIndicatorRender,tn=ze.onContextMenu,jt=ze.onScroll,pn=ze.direction,st=ze.rootClassName,Pt=ze.rootStyle,ct=(0,le.Z)(this.props,{aria:!0,data:!0}),rn;return Ea&&((0,Be.Z)(Ea)==="object"?rn=Ea:typeof Ea=="function"?rn={nodeDraggable:Ea}:rn={}),a.createElement(b.k.Provider,{value:{prefixCls:At,selectable:Ln,showIcon:ta,icon:oa,switcherIcon:jn,draggable:rn,draggingNodeKey:Je,checkable:va,checkStrictly:Hn,disabled:Ba,keyEntities:at,dropLevelOffset:mt,dropContainerKey:un,dropTargetKey:en,dropPosition:zt,dragOverNodeKey:ln,indent:on,direction:pn,dropIndicatorRender:Kt,loadData:An,filterTreeNode:Fn,titleRender:Zt,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:nt()(At,Lt,st,(qe={},(0,ue.Z)(qe,"".concat(At,"-show-line"),Dt),(0,ue.Z)(qe,"".concat(At,"-focused"),Fe),(0,ue.Z)(qe,"".concat(At,"-active-focused"),Ne!==null),qe)),style:Pt},a.createElement(hn,(0,x.Z)({ref:this.listRef,prefixCls:At,style:St,data:Ce,disabled:Ba,selectable:Ln,checkable:!!va,motion:Yt,dragging:Je!==null,height:Xn,itemHeight:Ze,virtual:Nt,focusable:fn,focused:Fe,tabIndex:bn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:tn,onScroll:jt},this.getTreeNodeRequiredProps(),ct))))}}],[{key:"getDerivedStateFromProps",value:function(qe,Ct){var Fe=Ct.prevProps,Ce={prevProps:qe};function at(fn){return!Fe&&fn in qe||Fe&&Fe[fn]!==qe[fn]}var Je,Ne=Ct.fieldNames;if(at("fieldNames")&&(Ne=(0,Ae.w$)(qe.fieldNames),Ce.fieldNames=Ne),at("treeData")?Je=qe.treeData:at("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Je=(0,Ae.zn)(qe.children)),Je){Ce.treeData=Je;var mt=(0,Ae.I8)(Je,{fieldNames:Ne});Ce.keyEntities=(0,Me.Z)((0,ue.Z)({},gt,vt),mt.keyEntities)}var un=Ce.keyEntities||Ct.keyEntities;if(at("expandedKeys")||Fe&&at("autoExpandParent"))Ce.expandedKeys=qe.autoExpandParent||!Fe&&qe.defaultExpandParent?(0,kt.r7)(qe.expandedKeys,un):qe.expandedKeys;else if(!Fe&&qe.defaultExpandAll){var en=(0,Me.Z)({},un);delete en[gt],Ce.expandedKeys=Object.keys(en).map(function(fn){return en[fn].key})}else!Fe&&qe.defaultExpandedKeys&&(Ce.expandedKeys=qe.autoExpandParent||qe.defaultExpandParent?(0,kt.r7)(qe.defaultExpandedKeys,un):qe.defaultExpandedKeys);if(Ce.expandedKeys||delete Ce.expandedKeys,Je||Ce.expandedKeys){var zt=(0,Ae.oH)(Je||Ct.treeData,Ce.expandedKeys||Ct.expandedKeys,Ne);Ce.flattenNodes=zt}if(qe.selectable&&(at("selectedKeys")?Ce.selectedKeys=(0,kt.BT)(qe.selectedKeys,qe):!Fe&&qe.defaultSelectedKeys&&(Ce.selectedKeys=(0,kt.BT)(qe.defaultSelectedKeys,qe))),qe.checkable){var ln;if(at("checkedKeys")?ln=(0,kt.E6)(qe.checkedKeys)||{}:!Fe&&qe.defaultCheckedKeys?ln=(0,kt.E6)(qe.defaultCheckedKeys)||{}:Je&&(ln=(0,kt.E6)(qe.checkedKeys)||{checkedKeys:Ct.checkedKeys,halfCheckedKeys:Ct.halfCheckedKeys}),ln){var on=ln,ze=on.checkedKeys,At=ze===void 0?[]:ze,Lt=on.halfCheckedKeys,St=Lt===void 0?[]:Lt;if(!qe.checkStrictly){var Dt=(0,vn.S)(At,!0,un);At=Dt.checkedKeys,St=Dt.halfCheckedKeys}Ce.checkedKeys=At,Ce.halfCheckedKeys=St}}return at("loadedKeys")&&(Ce.loadedKeys=qe.loadedKeys),Ce}}]),Se}(a.Component);Wt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:E,allowDrop:function(){return!0},expandAction:!1},Wt.TreeNode=ye.Z;var Mt=Wt,ht=Mt},35654:function(Ut,Gt,te){"use strict";te.d(Gt,{BT:function(){return a},E6:function(){return z},L0:function(){return Ve},OM:function(){return y},_5:function(){return ot},r7:function(){return ne},wA:function(){return nt},yx:function(){return We}});var x=te(26407),ue=te(39559),Be=te(48736),Me=te(59301),Le=te(39417),Oe=te(67841),se=te(71430),dt=null;function ot(re,ie){if(!re)return[];var me=re.slice(),pe=me.indexOf(ie);return pe>=0&&me.splice(pe,1),me}function Ve(re,ie){var me=(re||[]).slice();return me.indexOf(ie)===-1&&me.push(ie),me}function We(re){return re.split("-")}function nt(re,ie){var me=[],pe=(0,Oe.Z)(ie,re);function ye(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ge.forEach(function(Ae){var Qe=Ae.key,ve=Ae.children;me.push(Qe),ye(ve)})}return ye(pe.children),me}function Xe(re){if(re.parent){var ie=We(re.pos);return Number(ie[ie.length-1])===re.parent.children.length-1}return!1}function le(re){var ie=We(re.pos);return Number(ie[ie.length-1])===0}function y(re,ie,me,pe,ye,Ge,Ae,Qe,ve,Te){var Ye,bt=re.clientX,De=re.clientY,ut=re.target.getBoundingClientRect(),Ft=ut.top,yt=ut.height,gt=(Te==="rtl"?-1:1)*(((ye==null?void 0:ye.x)||0)-bt),Xt=(gt-12)/pe,vt=(0,Oe.Z)(Qe,me.props.eventKey);if(De<Ft+yt/2){var an=Ae.findIndex(function(ht){return ht.key===vt.key}),En=an<=0?0:an-1,tt=Ae[En].key;vt=(0,Oe.Z)(Qe,tt)}var et=vt.key,qt=vt,hn=vt.key,kt=0,vn=0;if(!ve.includes(et))for(var je=0;je<Xt&&Xe(vt);je+=1)vt=vt.parent,vn+=1;var Ot=ie.props.data,Wt=vt.node,Mt=!0;return le(vt)&&vt.level===0&&De<Ft+yt/2&&Ge({dragNode:Ot,dropNode:Wt,dropPosition:-1})&&vt.key===me.props.eventKey?kt=-1:(qt.children||[]).length&&ve.includes(hn)?Ge({dragNode:Ot,dropNode:Wt,dropPosition:0})?kt=0:Mt=!1:vn===0?Xt>-1.5?Ge({dragNode:Ot,dropNode:Wt,dropPosition:1})?kt=1:Mt=!1:Ge({dragNode:Ot,dropNode:Wt,dropPosition:0})?kt=0:Ge({dragNode:Ot,dropNode:Wt,dropPosition:1})?kt=1:Mt=!1:Ge({dragNode:Ot,dropNode:Wt,dropPosition:1})?kt=1:Mt=!1,{dropPosition:kt,dropLevelOffset:vn,dropTargetKey:vt.key,dropTargetPos:vt.pos,dragOverNodeKey:hn,dropContainerKey:kt===0?null:((Ye=vt.parent)===null||Ye===void 0?void 0:Ye.key)||null,dropAllowed:Mt}}function a(re,ie){if(re){var me=ie.multiple;return me?re.slice():re.length?[re[0]]:re}}var b=function(ie){return ie};function E(re,ie){if(!re)return[];var me=ie||{},pe=me.processProps,ye=pe===void 0?b:pe,Ge=Array.isArray(re)?re:[re];return Ge.map(function(Ae){var Qe=Ae.children,ve=_objectWithoutProperties(Ae,dt),Te=E(Qe,ie);return React.createElement(TreeNode,_extends({key:ve.key},ye(ve)),Te)})}function z(re){if(!re)return null;var ie;if(Array.isArray(re))ie={checkedKeys:re,halfCheckedKeys:void 0};else if((0,ue.Z)(re)==="object")ie={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 ie}function ne(re,ie){var me=new Set;function pe(ye){if(!me.has(ye)){var Ge=(0,Oe.Z)(ie,ye);if(Ge){me.add(ye);var Ae=Ge.parent,Qe=Ge.node;Qe.disabled||Ae&&pe(Ae.key)}}}return(re||[]).forEach(function(ye){pe(ye)}),(0,x.Z)(me)}},90782:function(Ut,Gt,te){"use strict";te.d(Gt,{S:function(){return se}});var x=te(48736),ue=te(67841);function Be(dt,ot){var Ve=new Set;return dt.forEach(function(We){ot.has(We)||Ve.add(We)}),Ve}function Me(dt){var ot=dt||{},Ve=ot.disabled,We=ot.disableCheckbox,nt=ot.checkable;return!!(Ve||We)||nt===!1}function Le(dt,ot,Ve,We){for(var nt=new Set(dt),Xe=new Set,le=0;le<=Ve;le+=1){var y=ot.get(le)||new Set;y.forEach(function(z){var ne=z.key,re=z.node,ie=z.children,me=ie===void 0?[]:ie;nt.has(ne)&&!We(re)&&me.filter(function(pe){return!We(pe.node)}).forEach(function(pe){nt.add(pe.key)})})}for(var a=new Set,b=Ve;b>=0;b-=1){var E=ot.get(b)||new Set;E.forEach(function(z){var ne=z.parent,re=z.node;if(!(We(re)||!z.parent||a.has(z.parent.key))){if(We(z.parent.node)){a.add(ne.key);return}var ie=!0,me=!1;(ne.children||[]).filter(function(pe){return!We(pe.node)}).forEach(function(pe){var ye=pe.key,Ge=nt.has(ye);ie&&!Ge&&(ie=!1),!me&&(Ge||Xe.has(ye))&&(me=!0)}),ie&&nt.add(ne.key),me&&Xe.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(nt),halfCheckedKeys:Array.from(Be(Xe,nt))}}function Oe(dt,ot,Ve,We,nt){for(var Xe=new Set(dt),le=new Set(ot),y=0;y<=We;y+=1){var a=Ve.get(y)||new Set;a.forEach(function(ne){var re=ne.key,ie=ne.node,me=ne.children,pe=me===void 0?[]:me;!Xe.has(re)&&!le.has(re)&&!nt(ie)&&pe.filter(function(ye){return!nt(ye.node)}).forEach(function(ye){Xe.delete(ye.key)})})}le=new Set;for(var b=new Set,E=We;E>=0;E-=1){var z=Ve.get(E)||new Set;z.forEach(function(ne){var re=ne.parent,ie=ne.node;if(!(nt(ie)||!ne.parent||b.has(ne.parent.key))){if(nt(ne.parent.node)){b.add(re.key);return}var me=!0,pe=!1;(re.children||[]).filter(function(ye){return!nt(ye.node)}).forEach(function(ye){var Ge=ye.key,Ae=Xe.has(Ge);me&&!Ae&&(me=!1),!pe&&(Ae||le.has(Ge))&&(pe=!0)}),me||Xe.delete(re.key),pe&&le.add(re.key),b.add(re.key)}})}return{checkedKeys:Array.from(Xe),halfCheckedKeys:Array.from(Be(le,Xe))}}function se(dt,ot,Ve,We){var nt=[],Xe;We?Xe=We:Xe=Me;var le=new Set(dt.filter(function(E){var z=!!(0,ue.Z)(Ve,E);return z||nt.push(E),z})),y=new Map,a=0;Object.keys(Ve).forEach(function(E){var z=Ve[E],ne=z.level,re=y.get(ne);re||(re=new Set,y.set(ne,re)),re.add(z),a=Math.max(a,ne)}),(0,x.ZP)(!nt.length,"Tree missing follow keys: ".concat(nt.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return ot===!0?b=Le(le,y,a,Xe):b=Oe(le,ot.halfCheckedKeys,y,a,Xe),b}},67841:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return x}});function x(ue,Be){return ue[Be]}},71430:function(Ut,Gt,te){"use strict";te.d(Gt,{F:function(){return ne},H8:function(){return z},I8:function(){return E},km:function(){return nt},oH:function(){return a},w$:function(){return Xe},zn:function(){return y}});var x=te(39559),ue=te(26407),Be=te(33708),Me=te(37061),Le=te(11592),Oe=te(2738),se=te(48736),dt=te(67841),ot=["children"];function Ve(re,ie){return"".concat(re,"-").concat(ie)}function We(re){return re&&re.type&&re.type.isTreeNode}function nt(re,ie){return re!=null?re:ie}function Xe(re){var ie=re||{},me=ie.title,pe=ie._title,ye=ie.key,Ge=ie.children,Ae=me||"title";return{title:Ae,_title:pe||[Ae],key:ye||"key",children:Ge||"children"}}function le(re,ie){var me=new Map;function pe(ye){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ye||[]).forEach(function(Ae){var Qe=Ae[ie.key],ve=Ae[ie.children];warning(Qe!=null,"Tree node must have a certain key: [".concat(Ge).concat(Qe,"]"));var Te=String(Qe);warning(!me.has(Te)||Qe===null||Qe===void 0,"Same 'key' exist in the Tree: ".concat(Te)),me.set(Te,!0),pe(ve,"".concat(Ge).concat(Te," > "))})}pe(re)}function y(re){function ie(me){var pe=(0,Le.Z)(me);return pe.map(function(ye){if(!We(ye))return(0,se.ZP)(!ye,"Tree/TreeNode can only accept TreeNode as children."),null;var Ge=ye.key,Ae=ye.props,Qe=Ae.children,ve=(0,Me.Z)(Ae,ot),Te=(0,Be.Z)({key:Ge},ve),Ye=ie(Qe);return Ye.length&&(Te.children=Ye),Te}).filter(function(ye){return ye})}return ie(re)}function a(re,ie,me){var pe=Xe(me),ye=pe._title,Ge=pe.key,Ae=pe.children,Qe=new Set(ie===!0?[]:ie),ve=[];function Te(Ye){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ye.map(function(De,ut){for(var Ft=Ve(bt?bt.pos:"0",ut),yt=nt(De[Ge],Ft),gt,Xt=0;Xt<ye.length;Xt+=1){var vt=ye[Xt];if(De[vt]!==void 0){gt=De[vt];break}}var an=(0,Be.Z)((0,Be.Z)({},(0,Oe.Z)(De,[].concat((0,ue.Z)(ye),[Ge,Ae]))),{},{title:gt,key:yt,parent:bt,pos:Ft,children:null,data:De,isStart:[].concat((0,ue.Z)(bt?bt.isStart:[]),[ut===0]),isEnd:[].concat((0,ue.Z)(bt?bt.isEnd:[]),[ut===Ye.length-1])});return ve.push(an),ie===!0||Qe.has(yt)?an.children=Te(De[Ae]||[],an):an.children=[],an})}return Te(re),ve}function b(re,ie,me){var pe={};(0,x.Z)(me)==="object"?pe=me:pe={externalGetKey:me},pe=pe||{};var ye=pe,Ge=ye.childrenPropName,Ae=ye.externalGetKey,Qe=ye.fieldNames,ve=Xe(Qe),Te=ve.key,Ye=ve.children,bt=Ge||Ye,De;Ae?typeof Ae=="string"?De=function(yt){return yt[Ae]}:typeof Ae=="function"&&(De=function(yt){return Ae(yt)}):De=function(yt,gt){return nt(yt[Te],gt)};function ut(Ft,yt,gt,Xt){var vt=Ft?Ft[bt]:re,an=Ft?Ve(gt.pos,yt):"0",En=Ft?[].concat((0,ue.Z)(Xt),[Ft]):[];if(Ft){var tt=De(Ft,an),et={node:Ft,index:yt,pos:an,key:tt,parentPos:gt.node?gt.pos:null,level:gt.level+1,nodes:En};ie(et)}vt&&vt.forEach(function(qt,hn){ut(qt,hn,{node:Ft,pos:an,level:gt?gt.level+1:-1},En)})}ut(null)}function E(re){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},me=ie.initWrapper,pe=ie.processEntity,ye=ie.onProcessFinished,Ge=ie.externalGetKey,Ae=ie.childrenPropName,Qe=ie.fieldNames,ve=arguments.length>2?arguments[2]:void 0,Te=Ge||ve,Ye={},bt={},De={posEntities:Ye,keyEntities:bt};return me&&(De=me(De)||De),b(re,function(ut){var Ft=ut.node,yt=ut.index,gt=ut.pos,Xt=ut.key,vt=ut.parentPos,an=ut.level,En=ut.nodes,tt={node:Ft,nodes:En,index:yt,key:Xt,pos:gt,level:an},et=nt(Xt,gt);Ye[gt]=tt,bt[et]=tt,tt.parent=Ye[vt],tt.parent&&(tt.parent.children=tt.parent.children||[],tt.parent.children.push(tt)),pe&&pe(tt,De)},{externalGetKey:Te,childrenPropName:Ae,fieldNames:Qe}),ye&&ye(De),De}function z(re,ie){var me=ie.expandedKeys,pe=ie.selectedKeys,ye=ie.loadedKeys,Ge=ie.loadingKeys,Ae=ie.checkedKeys,Qe=ie.halfCheckedKeys,ve=ie.dragOverNodeKey,Te=ie.dropPosition,Ye=ie.keyEntities,bt=(0,dt.Z)(Ye,re),De={eventKey:re,expanded:me.indexOf(re)!==-1,selected:pe.indexOf(re)!==-1,loaded:ye.indexOf(re)!==-1,loading:Ge.indexOf(re)!==-1,checked:Ae.indexOf(re)!==-1,halfChecked:Qe.indexOf(re)!==-1,pos:String(bt?bt.pos:""),dragOver:ve===re&&Te===0,dragOverGapTop:ve===re&&Te===-1,dragOverGapBottom:ve===re&&Te===1};return De}function ne(re){var ie=re.data,me=re.expanded,pe=re.selected,ye=re.checked,Ge=re.loaded,Ae=re.loading,Qe=re.halfChecked,ve=re.dragOver,Te=re.dragOverGapTop,Ye=re.dragOverGapBottom,bt=re.pos,De=re.active,ut=re.eventKey,Ft=(0,Be.Z)((0,Be.Z)({},ie),{},{expanded:me,selected:pe,checked:ye,loaded:Ge,loading:Ae,halfChecked:Qe,dragOver:ve,dragOverGapTop:Te,dragOverGapBottom:Ye,pos:bt,active:De,key:ut});return"props"in Ft||Object.defineProperty(Ft,"props",{get:function(){return(0,se.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),Ft}},8224:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ue}});var x=te(4676);function ue(Be,Me,Le,Oe){var se=x.unstable_batchedUpdates?function(ot){x.unstable_batchedUpdates(Le,ot)}:Le;return Be!=null&&Be.addEventListener&&Be.addEventListener(Me,se,Oe),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Me,se,Oe)}}}},55468:function(Ut,Gt,te){"use strict";te.d(Gt,{g1:function(){return We},os:function(){return Xe}});var x=/margin|padding|width|height|max|min|offset/,ue={left:!0,top:!0},Be={cssFloat:1,styleFloat:1,float:1};function Me(le){return le.nodeType===1?le.ownerDocument.defaultView.getComputedStyle(le,null):{}}function Le(le,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return le.offsetHeight;if(y==="width")return le.offsetWidth}return y in ue||(ue[y]=x.test(y)),ue[y]?parseFloat(a)||0:a}function Oe(le,y){var a=arguments.length,b=Me(le);return y=Be[y]?"cssFloat"in le.style?"cssFloat":"styleFloat":y,a===1?b:Le(le,y,b[y]||le.style[y])}function se(le,y,a){var b=arguments.length;if(y=Be[y]?"cssFloat"in le.style?"cssFloat":"styleFloat":y,b===3)return typeof a=="number"&&x.test(y)&&(a="".concat(a,"px")),le.style[y]=a,a;for(var E in y)y.hasOwnProperty(E)&&se(le,E,y[E]);return Me(le)}function dt(le){return le===document.body?document.documentElement.clientWidth:le.offsetWidth}function ot(le){return le===document.body?window.innerHeight||document.documentElement.clientHeight:le.offsetHeight}function Ve(){var le=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:le,height:y}}function We(){var le=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:le,height:y}}function nt(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Xe(le){var y=le.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(Ut,Gt,te){"use strict";te.d(Gt,{G:function(){return Me}});var x=te(47273),ue=function(Oe){if((0,x.Z)()&&window.document.documentElement){var se=Array.isArray(Oe)?Oe:[Oe],dt=window.document.documentElement;return se.some(function(ot){return ot in dt.style})}return!1},Be=function(Oe,se){if(!ue(Oe))return!1;var dt=document.createElement("div"),ot=dt.style[Oe];return dt.style[Oe]=se,dt.style[Oe]!==ot};function Me(Le,Oe){return!Array.isArray(Le)&&Oe!==void 0?Be(Le,Oe):ue(Le)}},78113:function(Ut,Gt,te){"use strict";te.d(Gt,{Z5:function(){return Yu},_l:function(){return Hd},bK:function(){return Au}});var x=te(59301),ue=te(2505);function Be(ee,ae){ee.prototype=Object.create(ae.prototype),ee.prototype.constructor=ee,(0,ue.Z)(ee,ae)}var Me=te(92413),Le=te(59781),Oe=x.createContext(null),se=null;function dt(ee){ee()}var ot=dt,Ve=function(ae){return ot=ae},We=function(){return ot};function nt(){var ee=We(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){ee(function(){for(var Pe=ae;Pe;)Pe.callback(),Pe=Pe.next})},get:function(){for(var Pe=[],Ee=ae;Ee;)Pe.push(Ee),Ee=Ee.next;return Pe},subscribe:function(Pe){var Ee=!0,we=oe={callback:Pe,next:null,prev:oe};return we.prev?we.prev.next=we:ae=we,function(){!Ee||ae===null||(Ee=!1,we.next?we.next.prev=we.prev:oe=we.prev,we.prev?we.prev.next=we.next:ae=we.next)}}}}var Xe={notify:function(){},get:function(){return[]}};function le(ee,ae){var oe,de=Xe;function Pe(Et){return ft(),de.subscribe(Et)}function Ee(){de.notify()}function we(){Rt.onStateChange&&Rt.onStateChange()}function Re(){return!!oe}function ft(){oe||(oe=ae?ae.addNestedSub(we):ee.subscribe(we),de=nt())}function Tt(){oe&&(oe(),oe=void 0,de.clear(),de=Xe)}var Rt={addNestedSub:Pe,notifyNestedSubs:Ee,handleChangeWrapper:we,isSubscribed:Re,trySubscribe:ft,tryUnsubscribe:Tt,getListeners:function(){return de}};return Rt}var y=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect;function a(ee){var ae=ee.store,oe=ee.context,de=ee.children,Pe=(0,x.useMemo)(function(){var Re=le(ae);return{store:ae,subscription:Re}},[ae]),Ee=(0,x.useMemo)(function(){return ae.getState()},[ae]);y(function(){var Re=Pe.subscription;return Re.onStateChange=Re.notifyNestedSubs,Re.trySubscribe(),Ee!==ae.getState()&&Re.notifyNestedSubs(),function(){Re.tryUnsubscribe(),Re.onStateChange=null}},[Pe,Ee]);var we=oe||Oe;return x.createElement(we.Provider,{value:Pe},de)}var b=a,E=te(96529),z=te(94266),ne=te.n(z),re=te(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],me=["reactReduxForwardedRef"],pe=[],ye=[null,null],Ge=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function Ae(ee,ae){var oe=ee[1];return[ae.payload,oe+1]}function Qe(ee,ae,oe){y(function(){return ee.apply(void 0,ae)},oe)}function ve(ee,ae,oe,de,Pe,Ee,we){ee.current=de,ae.current=Pe,oe.current=!1,Ee.current&&(Ee.current=null,we())}function Te(ee,ae,oe,de,Pe,Ee,we,Re,ft,Tt){if(ee){var Rt=!1,Et=null,xt=function(){if(!Rt){var Ca=ae.getState(),Ia,Oa;try{Ia=de(Ca,Pe.current)}catch(Ya){Oa=Ya,Et=Ya}Oa||(Et=null),Ia===Ee.current?we.current||ft():(Ee.current=Ia,Re.current=Ia,we.current=!0,Tt({type:"STORE_UPDATED",payload:{error:Oa}}))}};oe.onStateChange=xt,oe.trySubscribe(),xt();var Vt=function(){if(Rt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,Et)throw Et};return Vt}}var Ye=function(){return[null,0]};function bt(ee,ae){ae===void 0&&(ae={});var oe=ae,de=oe.getDisplayName,Pe=de===void 0?function(Mr){return"ConnectAdvanced("+Mr+")"}:de,Ee=oe.methodName,we=Ee===void 0?"connectAdvanced":Ee,Re=oe.renderCountProp,ft=Re===void 0?void 0:Re,Tt=oe.shouldHandleStateChanges,Rt=Tt===void 0?!0:Tt,Et=oe.storeKey,xt=Et===void 0?"store":Et,Vt=oe.withRef,Bn=Vt===void 0?!1:Vt,Ca=oe.forwardRef,Ia=Ca===void 0?!1:Ca,Oa=oe.context,Ya=Oa===void 0?Oe:Oa,rr=(0,E.Z)(oe,ie);if(0)var lr;var Hr=Ya;return function(no){var Ho=no.displayName||no.name||"Component",mo=Pe(Ho),jo=(0,Me.Z)({},rr,{getDisplayName:Pe,methodName:we,renderCountProp:ft,shouldHandleStateChanges:Rt,storeKey:xt,displayName:mo,wrappedComponentName:Ho,WrappedComponent:no}),ni=rr.pure;function li(si){return ee(si.dispatch,jo)}var ji=ni?x.useMemo:function(si){return si()};function Di(si){var el=(0,x.useMemo)(function(){var Fs=si.reactReduxForwardedRef,du=(0,E.Z)(si,me);return[si.context,Fs,du]},[si]),Ki=el[0],xs=el[1],Sl=el[2],tl=(0,x.useMemo)(function(){return Ki&&Ki.Consumer&&(0,re.isContextConsumer)(x.createElement(Ki.Consumer,null))?Ki:Hr},[Ki,Hr]),Wi=(0,x.useContext)(tl),Pl=!!si.store&&!!si.store.getState&&!!si.store.dispatch,Hs=!!Wi&&!!Wi.store,Ui=Pl?si.store:Wi.store,Bs=(0,x.useMemo)(function(){return li(Ui)},[Ui]),js=(0,x.useMemo)(function(){if(!Rt)return ye;var Fs=le(Ui,Pl?null:Wi.subscription),du=Fs.notifyNestedSubs.bind(Fs);return[Fs,du]},[Ui,Pl,Wi]),$l=js[0],Gs=js[1],Ks=(0,x.useMemo)(function(){return Pl?Wi:(0,Me.Z)({},Wi,{subscription:$l})},[Pl,Wi,$l]),Du=(0,x.useReducer)(Ae,pe,Ye),Vd=Du[0],Ws=Vd[0],$d=Du[1];if(Ws&&Ws.error)throw Ws.error;var Nu=(0,x.useRef)(),lu=(0,x.useRef)(Sl),Us=(0,x.useRef)(),Iu=(0,x.useRef)(!1),su=ji(function(){return Us.current&&Sl===lu.current?Us.current:Bs(Ui.getState(),Sl)},[Ui,Ws,Sl]);Qe(ve,[lu,Nu,Iu,Sl,su,Us,Gs]),Qe(Te,[Rt,Ui,$l,Bs,lu,Nu,Iu,Us,Gs,$d],[Ui,$l,Bs]);var uu=(0,x.useMemo)(function(){return x.createElement(no,(0,Me.Z)({},su,{ref:xs}))},[xs,no,su]),Qd=(0,x.useMemo)(function(){return Rt?x.createElement(tl.Provider,{value:Ks},uu):uu},[tl,uu,Ks]);return Qd}var Ei=ni?x.memo(Di):Di;if(Ei.WrappedComponent=no,Ei.displayName=Di.displayName=mo,Ia){var Gi=x.forwardRef(function(el,Ki){return x.createElement(Ei,(0,Me.Z)({},el,{reactReduxForwardedRef:Ki}))});return Gi.displayName=mo,Gi.WrappedComponent=no,ne()(Gi,no)}return ne()(Ei,no)}}function De(ee,ae){return ee===ae?ee!==0||ae!==0||1/ee===1/ae:ee!==ee&&ae!==ae}function ut(ee,ae){if(De(ee,ae))return!0;if(typeof ee!="object"||ee===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(ee),de=Object.keys(ae);if(oe.length!==de.length)return!1;for(var Pe=0;Pe<oe.length;Pe++)if(!Object.prototype.hasOwnProperty.call(ae,oe[Pe])||!De(ee[oe[Pe]],ae[oe[Pe]]))return!1;return!0}function Ft(ee,ae){var oe={},de=function(we){var Re=ee[we];typeof Re=="function"&&(oe[we]=function(){return ae(Re.apply(void 0,arguments))})};for(var Pe in ee)de(Pe);return oe}function yt(ee){return function(oe,de){var Pe=ee(oe,de);function Ee(){return Pe}return Ee.dependsOnOwnProps=!1,Ee}}function gt(ee){return ee.dependsOnOwnProps!==null&&ee.dependsOnOwnProps!==void 0?!!ee.dependsOnOwnProps:ee.length!==1}function Xt(ee,ae){return function(de,Pe){var Ee=Pe.displayName,we=function(ft,Tt){return we.dependsOnOwnProps?we.mapToProps(ft,Tt):we.mapToProps(ft)};return we.dependsOnOwnProps=!0,we.mapToProps=function(ft,Tt){we.mapToProps=ee,we.dependsOnOwnProps=gt(ee);var Rt=we(ft,Tt);return typeof Rt=="function"&&(we.mapToProps=Rt,we.dependsOnOwnProps=gt(Rt),Rt=we(ft,Tt)),Rt},we}}function vt(ee){return typeof ee=="function"?Xt(ee,"mapDispatchToProps"):void 0}function an(ee){return ee?void 0:yt(function(ae){return{dispatch:ae}})}function En(ee){return ee&&typeof ee=="object"?yt(function(ae){return Ft(ee,ae)}):void 0}var tt=[vt,an,En];function et(ee){return typeof ee=="function"?Xt(ee,"mapStateToProps"):void 0}function qt(ee){return ee?void 0:yt(function(){return{}})}var hn=[et,qt];function kt(ee,ae,oe){return(0,Me.Z)({},oe,ee,ae)}function vn(ee){return function(oe,de){var Pe=de.displayName,Ee=de.pure,we=de.areMergedPropsEqual,Re=!1,ft;return function(Rt,Et,xt){var Vt=ee(Rt,Et,xt);return Re?(!Ee||!we(Vt,ft))&&(ft=Vt):(Re=!0,ft=Vt),ft}}}function je(ee){return typeof ee=="function"?vn(ee):void 0}function Ot(ee){return ee?void 0:function(){return kt}}var Wt=[je,Ot],Mt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function ht(ee,ae,oe,de){return function(Ee,we){return oe(ee(Ee,we),ae(de,we),we)}}function rt(ee,ae,oe,de,Pe){var Ee=Pe.areStatesEqual,we=Pe.areOwnPropsEqual,Re=Pe.areStatePropsEqual,ft=!1,Tt,Rt,Et,xt,Vt;function Bn(rr,lr){return Tt=rr,Rt=lr,Et=ee(Tt,Rt),xt=ae(de,Rt),Vt=oe(Et,xt,Rt),ft=!0,Vt}function Ca(){return Et=ee(Tt,Rt),ae.dependsOnOwnProps&&(xt=ae(de,Rt)),Vt=oe(Et,xt,Rt),Vt}function Ia(){return ee.dependsOnOwnProps&&(Et=ee(Tt,Rt)),ae.dependsOnOwnProps&&(xt=ae(de,Rt)),Vt=oe(Et,xt,Rt),Vt}function Oa(){var rr=ee(Tt,Rt),lr=!Re(rr,Et);return Et=rr,lr&&(Vt=oe(Et,xt,Rt)),Vt}function Ya(rr,lr){var Hr=!we(lr,Rt),Mr=!Ee(rr,Tt,lr,Rt);return Tt=rr,Rt=lr,Hr&&Mr?Ca():Hr?Ia():Mr?Oa():Vt}return function(lr,Hr){return ft?Ya(lr,Hr):Bn(lr,Hr)}}function _e(ee,ae){var oe=ae.initMapStateToProps,de=ae.initMapDispatchToProps,Pe=ae.initMergeProps,Ee=(0,E.Z)(ae,Mt),we=oe(ee,Ee),Re=de(ee,Ee),ft=Pe(ee,Ee),Tt=Ee.pure?rt:ht;return Tt(we,Re,ft,ee,Ee)}var Se=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function fe(ee,ae,oe){for(var de=ae.length-1;de>=0;de--){var Pe=ae[de](ee);if(Pe)return Pe}return function(Ee,we){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+we.wrappedComponentName+".")}}function qe(ee,ae){return ee===ae}function Ct(ee){var ae=ee===void 0?{}:ee,oe=ae.connectHOC,de=oe===void 0?bt:oe,Pe=ae.mapStateToPropsFactories,Ee=Pe===void 0?hn:Pe,we=ae.mapDispatchToPropsFactories,Re=we===void 0?tt:we,ft=ae.mergePropsFactories,Tt=ft===void 0?Wt:ft,Rt=ae.selectorFactory,Et=Rt===void 0?_e:Rt;return function(Vt,Bn,Ca,Ia){Ia===void 0&&(Ia={});var Oa=Ia,Ya=Oa.pure,rr=Ya===void 0?!0:Ya,lr=Oa.areStatesEqual,Hr=lr===void 0?qe:lr,Mr=Oa.areOwnPropsEqual,no=Mr===void 0?ut:Mr,Ho=Oa.areStatePropsEqual,mo=Ho===void 0?ut:Ho,jo=Oa.areMergedPropsEqual,ni=jo===void 0?ut:jo,li=(0,E.Z)(Oa,Se),ji=fe(Vt,Ee,"mapStateToProps"),Di=fe(Bn,Re,"mapDispatchToProps"),Ei=fe(Ca,Tt,"mergeProps");return de(Et,(0,Me.Z)({methodName:"connect",getDisplayName:function(si){return"Connect("+si+")"},shouldHandleStateChanges:!!Vt,initMapStateToProps:ji,initMapDispatchToProps:Di,initMergeProps:Ei,pure:rr,areStatesEqual:Hr,areOwnPropsEqual:no,areStatePropsEqual:mo,areMergedPropsEqual:ni},li))}}var Fe=Ct();function Ce(){var ee=useContext(ReactReduxContext);return ee}function at(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var de=ae(),Pe=de.store;return Pe}}var Je=null;function Ne(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ae();return de.dispatch}}var mt=null,un=function(ae,oe){return ae===oe};function en(ee,ae,oe,de){var Pe=useReducer(function(Bn){return Bn+1},0),Ee=Pe[1],we=useMemo(function(){return createSubscription(oe,de)},[oe,de]),Re=useRef(),ft=useRef(),Tt=useRef(),Rt=useRef(),Et=oe.getState(),xt;try{if(ee!==ft.current||Et!==Tt.current||Re.current){var Vt=ee(Et);Rt.current===void 0||!ae(Vt,Rt.current)?xt=Vt:xt=Rt.current}else xt=Rt.current}catch(Bn){throw Re.current&&(Bn.message+=`
The error may be correlated with this previous error:
`+Re.current.stack+`
`),Bn}return useIsomorphicLayoutEffect(function(){ft.current=ee,Tt.current=Et,Rt.current=xt,Re.current=void 0}),useIsomorphicLayoutEffect(function(){function Bn(){try{var Ca=oe.getState();if(Ca===Tt.current)return;var Ia=ft.current(Ca);if(ae(Ia,Rt.current))return;Rt.current=Ia,Tt.current=Ca}catch(Oa){Re.current=Oa}Ee()}return we.onStateChange=Bn,we.trySubscribe(),Bn(),function(){return we.tryUnsubscribe()}},[oe,we]),xt}function zt(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(de,Pe){Pe===void 0&&(Pe=un);var Ee=ae(),we=Ee.store,Re=Ee.subscription,ft=en(de,Pe,we,Re);return useDebugValue(ft),ft}}var ln=null,on=te(4676);Ve(on.unstable_batchedUpdates);function ze(ee,ae){if(ee.length!==ae.length)return!1;for(var oe=0;oe<ee.length;oe++)if(ee[oe]!==ae[oe])return!1;return!0}function At(ee,ae){var oe=(0,x.useState)(function(){return{inputs:ae,result:ee()}})[0],de=(0,x.useRef)(!0),Pe=(0,x.useRef)(oe),Ee=de.current||!!(ae&&Pe.current.inputs&&ze(ae,Pe.current.inputs)),we=Ee?Pe.current:{inputs:ae,result:ee()};return(0,x.useEffect)(function(){de.current=!1,Pe.current=we},[we]),we.result}function Lt(ee,ae){return At(function(){return ee},ae)}var St=At,Dt=Lt,fn=!0,Pn="Invariant failed";function bn(ee,ae){if(!ee){if(fn)throw new Error(Pn);var oe=typeof ae=="function"?ae():ae,de=oe?"".concat(Pn,": ").concat(oe):Pn;throw new Error(de)}}var Ln=function(ae){var oe=ae.top,de=ae.right,Pe=ae.bottom,Ee=ae.left,we=de-Ee,Re=Pe-oe,ft={top:oe,right:de,bottom:Pe,left:Ee,width:we,height:Re,x:Ee,y:oe,center:{x:(de+Ee)/2,y:(Pe+oe)/2}};return ft},ta=function(ae,oe){return{top:ae.top-oe.top,left:ae.left-oe.left,bottom:ae.bottom+oe.bottom,right:ae.right+oe.right}},oa=function(ae,oe){return{top:ae.top+oe.top,left:ae.left+oe.left,bottom:ae.bottom-oe.bottom,right:ae.right-oe.right}},jn=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},Ea={top:0,right:0,bottom:0,left:0},va=function(ae){var oe=ae.borderBox,de=ae.margin,Pe=de===void 0?Ea:de,Ee=ae.border,we=Ee===void 0?Ea:Ee,Re=ae.padding,ft=Re===void 0?Ea:Re,Tt=Ln(ta(oe,Pe)),Rt=Ln(oa(oe,we)),Et=Ln(oa(Rt,ft));return{marginBox:Tt,borderBox:Ln(oe),paddingBox:Rt,contentBox:Et,margin:Pe,border:we,padding:ft}},Hn=function(ae){var oe=ae.slice(0,-2),de=ae.slice(-2);if(de!=="px")return 0;var Pe=Number(oe);return isNaN(Pe)&&bn(!1),Pe},Ba=function(){return{x:window.pageXOffset,y:window.pageYOffset}},Yt=function(ae,oe){var de=ae.borderBox,Pe=ae.border,Ee=ae.margin,we=ae.padding,Re=jn(de,oe);return va({borderBox:Re,border:Pe,margin:Ee,padding:we})},An=function(ae,oe){return oe===void 0&&(oe=Ba()),Yt(ae,oe)},Fn=function(ae,oe){var de={top:Hn(oe.marginTop),right:Hn(oe.marginRight),bottom:Hn(oe.marginBottom),left:Hn(oe.marginLeft)},Pe={top:Hn(oe.paddingTop),right:Hn(oe.paddingRight),bottom:Hn(oe.paddingBottom),left:Hn(oe.paddingLeft)},Ee={top:Hn(oe.borderTopWidth),right:Hn(oe.borderRightWidth),bottom:Hn(oe.borderBottomWidth),left:Hn(oe.borderLeftWidth)};return va({borderBox:ae,margin:de,padding:Pe,border:Ee})},Xn=function(ae){var oe=ae.getBoundingClientRect(),de=window.getComputedStyle(ae);return Fn(oe,de)},Ze=Number.isNaN||function(ae){return typeof ae=="number"&&ae!==ae};function Nt(ee,ae){return!!(ee===ae||Ze(ee)&&Ze(ae))}function Zt(ee,ae){if(ee.length!==ae.length)return!1;for(var oe=0;oe<ee.length;oe++)if(!Nt(ee[oe],ae[oe]))return!1;return!0}function Kt(ee,ae){ae===void 0&&(ae=Zt);var oe,de=[],Pe,Ee=!1;function we(){for(var Re=[],ft=0;ft<arguments.length;ft++)Re[ft]=arguments[ft];return Ee&&oe===this&&ae(Re,de)||(Pe=ee.apply(this,Re),Ee=!0,oe=this,de=Re),Pe}return we}var tn=Kt,jt=function(ae){var oe=[],de=null,Pe=function(){for(var we=arguments.length,Re=new Array(we),ft=0;ft<we;ft++)Re[ft]=arguments[ft];oe=Re,!de&&(de=requestAnimationFrame(function(){de=null,ae.apply(void 0,oe)}))};return Pe.cancel=function(){de&&(cancelAnimationFrame(de),de=null)},Pe},pn=jt,st=!0,Pt=/[ \t]{2,}/g,ct=/^[ \t]*/gm,rn=function(ae){return ae.replace(Pt," ").replace(ct,"").trim()},In=function(ae){return rn(`
%creact-beautiful-dnd
%c`+rn(ae)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},yn=function(ae){return[In(ae),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ia="__react-beautiful-dnd-disable-dev-warnings";function Un(ee,ae){var oe;st||typeof window!="undefined"&&window[ia]||(oe=console)[ee].apply(oe,yn(ae))}var lt=Un.bind(null,"warn"),$t=Un.bind(null,"error");function qn(){}function nn(ee,ae){return(0,Me.Z)({},ee,{},ae)}function _n(ee,ae,oe){var de=ae.map(function(Pe){var Ee=nn(oe,Pe.options);return ee.addEventListener(Pe.eventName,Pe.fn,Ee),function(){ee.removeEventListener(Pe.eventName,Pe.fn,Ee)}});return function(){de.forEach(function(Ee){Ee()})}}var Jn=!0,Ma="Invariant failed";function ma(ee){this.message=ee}ma.prototype.toString=function(){return this.message};function Ue(ee,ae){if(!ee)throw Jn?new ma(Ma):new ma(Ma+": "+(ae||""))}var dn=function(ee){Be(ae,ee);function ae(){for(var de,Pe=arguments.length,Ee=new Array(Pe),we=0;we<Pe;we++)Ee[we]=arguments[we];return de=ee.call.apply(ee,[this].concat(Ee))||this,de.callbacks=null,de.unbind=qn,de.onWindowError=function(Re){var ft=de.getCallbacks();ft.isDragging()&&ft.tryAbort();var Tt=Re.error;Tt instanceof ma&&Re.preventDefault()},de.getCallbacks=function(){if(!de.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return de.callbacks},de.setCallbacks=function(Re){de.callbacks=Re},de}var oe=ae.prototype;return oe.componentDidMount=function(){this.unbind=_n(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(Pe){if(Pe instanceof ma){this.setState({});return}throw Pe},oe.render=function(){return this.props.children(this.setCallbacks)},ae}(x.Component),Qt=`
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
`,Sn=function(ae){return ae+1},On=function(ae){return`
You have lifted an item in position `+Sn(ae.source.index)+`
`},kn=function(ae,oe){var de=ae.droppableId===oe.droppableId,Pe=Sn(ae.index),Ee=Sn(oe.index);return de?`
You have moved the item from position `+Pe+`
to position `+Ee+`
`:`
You have moved the item from position `+Pe+`
in list `+ae.droppableId+`
to list `+oe.droppableId+`
in position `+Ee+`
`},Dn=function(ae,oe,de){var Pe=oe.droppableId===de.droppableId;return Pe?`
The item `+ae+`
has been combined with `+de.draggableId:`
The item `+ae+`
in list `+oe.droppableId+`
has been combined with `+de.draggableId+`
in list `+de.droppableId+`
`},wn=function(ae){var oe=ae.destination;if(oe)return kn(ae.source,oe);var de=ae.combine;return de?Dn(ae.draggableId,ae.source,de):"You are over an area that cannot be dropped on"},Aa=function(ae){return`
The item has returned to its starting position
of `+Sn(ae.index)+`
`},La=function(ae){if(ae.reason==="CANCEL")return`
Movement cancelled.
`+Aa(ae.source)+`
`;var oe=ae.destination,de=ae.combine;return oe?`
You have dropped the item.
`+kn(ae.source,oe)+`
`:de?`
You have dropped the item.
`+Dn(ae.draggableId,ae.source,de)+`
`:`
The item has been dropped while not over a drop area.
`+Aa(ae.source)+`
`},mn={dragHandleUsageInstructions:Qt,onDragStart:On,onDragUpdate:wn,onDragEnd:La},Da={x:0,y:0},na=function(ae,oe){return{x:ae.x+oe.x,y:ae.y+oe.y}},Qa=function(ae,oe){return{x:ae.x-oe.x,y:ae.y-oe.y}},Ja=function(ae,oe){return ae.x===oe.x&&ae.y===oe.y},Vn=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},sa=function(ae,oe,de){var Pe;return de===void 0&&(de=0),Pe={},Pe[ae]=oe,Pe[ae==="x"?"y":"x"]=de,Pe},xa=function(ae,oe){return Math.sqrt(Math.pow(oe.x-ae.x,2)+Math.pow(oe.y-ae.y,2))},aa=function(ae,oe){return Math.min.apply(Math,oe.map(function(de){return xa(ae,de)}))},za=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},ar=function(ee,ae){var oe=Ln({top:Math.max(ae.top,ee.top),right:Math.min(ae.right,ee.right),bottom:Math.min(ae.bottom,ee.bottom),left:Math.max(ae.left,ee.left)});return oe.width<=0||oe.height<=0?null:oe},Ga=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},mr=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}]},Ua={top:0,right:0,bottom:0,left:0},Cr=function(ae,oe){return oe?Ga(ae,oe.scroll.diff.displacement):ae},kr=function(ae,oe,de){if(de&&de.increasedBy){var Pe;return(0,Me.Z)({},ae,(Pe={},Pe[oe.end]=ae[oe.end]+de.increasedBy[oe.line],Pe))}return ae},ao=function(ae,oe){return oe&&oe.shouldClipSubject?ar(oe.pageMarginBox,ae):Ln(ae)},Er=function(ee){var ae=ee.page,oe=ee.withPlaceholder,de=ee.axis,Pe=ee.frame,Ee=Cr(ae.marginBox,Pe),we=kr(Ee,de,oe),Re=ao(we,Pe);return{page:ae,withPlaceholder:oe,active:Re}},vr=function(ee,ae){ee.frame||Ue(!1);var oe=ee.frame,de=Qa(ae,oe.scroll.initial),Pe=Vn(de),Ee=(0,Me.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ae,diff:{value:de,displacement:Pe},max:oe.scroll.max}}),we=Er({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Ee}),Re=(0,Me.Z)({},ee,{frame:Ee,subject:we});return Re};function Zr(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function hr(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ae){return ee[ae]})}function Fr(ee,ae){if(ee.findIndex)return ee.findIndex(ae);for(var oe=0;oe<ee.length;oe++)if(ae(ee[oe]))return oe;return-1}function ur(ee,ae){if(ee.find)return ee.find(ae);var oe=Fr(ee,ae);if(oe!==-1)return ee[oe]}function Ra(ee){return Array.prototype.slice.call(ee)}var xr=tn(function(ee){return ee.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),Xr=tn(function(ee){return ee.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),br=tn(function(ee){return hr(ee)}),Vr=tn(function(ee){return hr(ee)}),jr=tn(function(ee,ae){var oe=Vr(ae).filter(function(de){return ee===de.descriptor.droppableId}).sort(function(de,Pe){return de.descriptor.index-Pe.descriptor.index});return oe});function Xa(ee){return ee.at&&ee.at.type==="REORDER"?ee.at.destination:null}function wr(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine:null}var dr=tn(function(ee,ae){return ae.filter(function(oe){return oe.descriptor.id!==ee.descriptor.id})}),Qr=function(ee){var ae=ee.isMovingForward,oe=ee.draggable,de=ee.destination,Pe=ee.insideDestination,Ee=ee.previousImpact;if(!de.isCombineEnabled)return null;var we=Xa(Ee);if(!we)return null;function Re(Ca){var Ia={type:"COMBINE",combine:{draggableId:Ca,droppableId:de.descriptor.id}};return(0,Me.Z)({},Ee,{at:Ia})}var ft=Ee.displaced.all,Tt=ft.length?ft[0]:null;if(ae)return Tt?Re(Tt):null;var Rt=dr(oe,Pe);if(!Tt){if(!Rt.length)return null;var Et=Rt[Rt.length-1];return Re(Et.descriptor.id)}var xt=Fr(Rt,function(Ca){return Ca.descriptor.id===Tt});xt===-1&&Ue(!1);var Vt=xt-1;if(Vt<0)return null;var Bn=Rt[Vt];return Re(Bn.descriptor.id)},ro=function(ee,ae){return ee.descriptor.droppableId===ae.descriptor.id},xo={point:Da,value:0},To={invisible:{},visible:{},all:[]},ko={displaced:To,displacedBy:xo,at:null},Ir=function(ee,ae){return function(oe){return ee<=oe&&oe<=ae}},qr=function(ee){var ae=Ir(ee.top,ee.bottom),oe=Ir(ee.left,ee.right);return function(de){var Pe=ae(de.top)&&ae(de.bottom)&&oe(de.left)&&oe(de.right);if(Pe)return!0;var Ee=ae(de.top)||ae(de.bottom),we=oe(de.left)||oe(de.right),Re=Ee&&we;if(Re)return!0;var ft=de.top<ee.top&&de.bottom>ee.bottom,Tt=de.left<ee.left&&de.right>ee.right,Rt=ft&&Tt;if(Rt)return!0;var Et=ft&&we||Tt&&Ee;return Et}},Zo=function(ee){var ae=Ir(ee.top,ee.bottom),oe=Ir(ee.left,ee.right);return function(de){var Pe=ae(de.top)&&ae(de.bottom)&&oe(de.left)&&oe(de.right);return Pe}},Ao={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Go={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ai=function(ee){return function(ae){var oe=Ir(ae.top,ae.bottom),de=Ir(ae.left,ae.right);return function(Pe){return ee===Ao?oe(Pe.top)&&oe(Pe.bottom):de(Pe.left)&&de(Pe.right)}}},$a=function(ae,oe){var de=oe.frame?oe.frame.scroll.diff.displacement:Da;return Ga(ae,de)},ga=function(ae,oe,de){return oe.subject.active?de(oe.subject.active)(ae):!1},Tn=function(ae,oe,de){return de(oe)(ae)},Fa=function(ae){var oe=ae.target,de=ae.destination,Pe=ae.viewport,Ee=ae.withDroppableDisplacement,we=ae.isVisibleThroughFrameFn,Re=Ee?$a(oe,de):oe;return ga(Re,de,we)&&Tn(Re,Pe,we)},cr=function(ae){return Fa((0,Me.Z)({},ae,{isVisibleThroughFrameFn:qr}))},Nr=function(ae){return Fa((0,Me.Z)({},ae,{isVisibleThroughFrameFn:Zo}))},xe=function(ae){return Fa((0,Me.Z)({},ae,{isVisibleThroughFrameFn:ai(ae.destination.axis)}))},sn=function(ae,oe,de){if(typeof de=="boolean")return de;if(!oe)return!0;var Pe=oe.invisible,Ee=oe.visible;if(Pe[ae])return!1;var we=Ee[ae];return we?we.shouldAnimate:!0};function Cn(ee,ae){var oe=ee.page.marginBox,de={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Ln(ta(oe,de))}function zn(ee){var ae=ee.afterDragging,oe=ee.destination,de=ee.displacedBy,Pe=ee.viewport,Ee=ee.forceShouldAnimate,we=ee.last;return ae.reduce(function(ft,Tt){var Rt=Cn(Tt,de),Et=Tt.descriptor.id;ft.all.push(Et);var xt=cr({target:Rt,destination:oe,viewport:Pe,withDroppableDisplacement:!0});if(!xt)return ft.invisible[Tt.descriptor.id]=!0,ft;var Vt=sn(Et,we,Ee),Bn={draggableId:Et,shouldAnimate:Vt};return ft.visible[Et]=Bn,ft},{all:[],visible:{},invisible:{}})}function cn(ee,ae){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function ra(ee){var ae=ee.insideDestination,oe=ee.inHomeList,de=ee.displacedBy,Pe=ee.destination,Ee=cn(ae,{inHomeList:oe});return{displaced:To,displacedBy:de,at:{type:"REORDER",destination:{droppableId:Pe.descriptor.id,index:Ee}}}}function Zn(ee){var ae=ee.draggable,oe=ee.insideDestination,de=ee.destination,Pe=ee.viewport,Ee=ee.displacedBy,we=ee.last,Re=ee.index,ft=ee.forceShouldAnimate,Tt=ro(ae,de);if(Re==null)return ra({insideDestination:oe,inHomeList:Tt,displacedBy:Ee,destination:de});var Rt=ur(oe,function(Ca){return Ca.descriptor.index===Re});if(!Rt)return ra({insideDestination:oe,inHomeList:Tt,displacedBy:Ee,destination:de});var Et=dr(ae,oe),xt=oe.indexOf(Rt),Vt=Et.slice(xt),Bn=zn({afterDragging:Vt,destination:de,displacedBy:Ee,last:we,viewport:Pe.frame,forceShouldAnimate:ft});return{displaced:Bn,displacedBy:Ee,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Re}}}}function Nn(ee,ae){return!!ae.effected[ee]}var Gn=function(ee){var ae=ee.isMovingForward,oe=ee.destination,de=ee.draggables,Pe=ee.combine,Ee=ee.afterCritical;if(!oe.isCombineEnabled)return null;var we=Pe.draggableId,Re=de[we],ft=Re.descriptor.index,Tt=Nn(we,Ee);return Tt?ae?ft:ft-1:ae?ft+1:ft},Mn=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.insideDestination,Pe=ee.location;if(!de.length)return null;var Ee=Pe.index,we=ae?Ee+1:Ee-1,Re=de[0].descriptor.index,ft=de[de.length-1].descriptor.index,Tt=oe?ft:ft+1;return we<Re||we>Tt?null:we},pa=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.draggable,Pe=ee.draggables,Ee=ee.destination,we=ee.insideDestination,Re=ee.previousImpact,ft=ee.viewport,Tt=ee.afterCritical,Rt=Re.at;if(Rt||Ue(!1),Rt.type==="REORDER"){var Et=Mn({isMovingForward:ae,isInHomeList:oe,location:Rt.destination,insideDestination:we});return Et==null?null:Zn({draggable:de,insideDestination:we,destination:Ee,viewport:ft,last:Re.displaced,displacedBy:Re.displacedBy,index:Et})}var xt=Gn({isMovingForward:ae,destination:Ee,displaced:Re.displaced,draggables:Pe,combine:Rt.combine,afterCritical:Tt});return xt==null?null:Zn({draggable:de,insideDestination:we,destination:Ee,viewport:ft,last:Re.displaced,displacedBy:Re.displacedBy,index:xt})},wa=function(ee){var ae=ee.displaced,oe=ee.afterCritical,de=ee.combineWith,Pe=ee.displacedBy,Ee=!!(ae.visible[de]||ae.invisible[de]);return Nn(de,oe)?Ee?Da:Vn(Pe.point):Ee?Pe.point:Da},fa=function(ee){var ae=ee.afterCritical,oe=ee.impact,de=ee.draggables,Pe=wr(oe);Pe||Ue(!1);var Ee=Pe.draggableId,we=de[Ee].page.borderBox.center,Re=wa({displaced:oe.displaced,afterCritical:ae,combineWith:Ee,displacedBy:oe.displacedBy});return na(we,Re)},Ar=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},fr=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},Or=function(ae,oe,de){return oe[ae.crossAxisStart]+de.margin[ae.crossAxisStart]+de.borderBox[ae.crossAxisSize]/2},$r=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Pe=ae.isMoving;return sa(oe.line,de.marginBox[oe.end]+Ar(oe,Pe),Or(oe,de.marginBox,Pe))},uo=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Pe=ae.isMoving;return sa(oe.line,de.marginBox[oe.start]-fr(oe,Pe),Or(oe,de.marginBox,Pe))},Co=function(ae){var oe=ae.axis,de=ae.moveInto,Pe=ae.isMoving;return sa(oe.line,de.contentBox[oe.start]+Ar(oe,Pe),Or(oe,de.contentBox,Pe))},pi=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.draggables,Pe=ee.droppable,Ee=ee.afterCritical,we=jr(Pe.descriptor.id,de),Re=oe.page,ft=Pe.axis;if(!we.length)return Co({axis:ft,moveInto:Pe.page,isMoving:Re});var Tt=ae.displaced,Rt=ae.displacedBy,Et=Tt.all[0];if(Et){var xt=de[Et];if(Nn(Et,Ee))return uo({axis:ft,moveRelativeTo:xt.page,isMoving:Re});var Vt=Yt(xt.page,Rt.point);return uo({axis:ft,moveRelativeTo:Vt,isMoving:Re})}var Bn=we[we.length-1];if(Bn.descriptor.id===oe.descriptor.id)return Re.borderBox.center;if(Nn(Bn.descriptor.id,Ee)){var Ca=Yt(Bn.page,Vn(Ee.displacedBy.point));return $r({axis:ft,moveRelativeTo:Ca,isMoving:Re})}return $r({axis:ft,moveRelativeTo:Bn.page,isMoving:Re})},gi=function(ee,ae){var oe=ee.frame;return oe?na(ae,oe.scroll.diff.displacement):ae},ri=function(ae){var oe=ae.impact,de=ae.draggable,Pe=ae.droppable,Ee=ae.draggables,we=ae.afterCritical,Re=de.page.borderBox.center,ft=oe.at;return!Pe||!ft?Re:ft.type==="REORDER"?pi({impact:oe,draggable:de,draggables:Ee,droppable:Pe,afterCritical:we}):fa({impact:oe,draggables:Ee,afterCritical:we})},ui=function(ee){var ae=ri(ee),oe=ee.droppable,de=oe?gi(oe,ae):ae;return de},vi=function(ee,ae){var oe=Qa(ae,ee.scroll.initial),de=Vn(oe),Pe=Ln({top:ae.y,bottom:ae.y+ee.frame.height,left:ae.x,right:ae.x+ee.frame.width}),Ee={frame:Pe,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ae,diff:{value:oe,displacement:de}}};return Ee};function Po(ee,ae){return ee.map(function(oe){return ae[oe]})}function hi(ee,ae){for(var oe=0;oe<ae.length;oe++){var de=ae[oe].visible[ee];if(de)return de}return null}var Ni=function(ee){var ae=ee.impact,oe=ee.viewport,de=ee.destination,Pe=ee.draggables,Ee=ee.maxScrollChange,we=vi(oe,na(oe.scroll.current,Ee)),Re=de.frame?vr(de,na(de.frame.scroll.current,Ee)):de,ft=ae.displaced,Tt=zn({afterDragging:Po(ft.all,Pe),destination:de,displacedBy:ae.displacedBy,viewport:we.frame,last:ft,forceShouldAnimate:!1}),Rt=zn({afterDragging:Po(ft.all,Pe),destination:Re,displacedBy:ae.displacedBy,viewport:oe.frame,last:ft,forceShouldAnimate:!1}),Et={},xt={},Vt=[ft,Tt,Rt];ft.all.forEach(function(Ca){var Ia=hi(Ca,Vt);if(Ia){xt[Ca]=Ia;return}Et[Ca]=!0});var Bn=(0,Me.Z)({},ae,{displaced:{all:ft.all,invisible:Et,visible:xt}});return Bn},Ql=function(ee,ae){return na(ee.scroll.diff.displacement,ae)},Vi=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.draggable,de=ee.viewport,Pe=Ql(de,ae),Ee=Qa(Pe,oe.page.borderBox.center);return na(oe.client.borderBox.center,Ee)},nl=function(ee){var ae=ee.draggable,oe=ee.destination,de=ee.newPageBorderBoxCenter,Pe=ee.viewport,Ee=ee.withDroppableDisplacement,we=ee.onlyOnMainAxis,Re=we===void 0?!1:we,ft=Qa(de,ae.page.borderBox.center),Tt=Ga(ae.page.borderBox,ft),Rt={target:Tt,destination:oe,withDroppableDisplacement:Ee,viewport:Pe};return Re?xe(Rt):Nr(Rt)},Jl=function(ee){var ae=ee.isMovingForward,oe=ee.draggable,de=ee.destination,Pe=ee.draggables,Ee=ee.previousImpact,we=ee.viewport,Re=ee.previousPageBorderBoxCenter,ft=ee.previousClientSelection,Tt=ee.afterCritical;if(!de.isEnabled)return null;var Rt=jr(de.descriptor.id,Pe),Et=ro(oe,de),xt=Qr({isMovingForward:ae,draggable:oe,destination:de,insideDestination:Rt,previousImpact:Ee})||pa({isMovingForward:ae,isInHomeList:Et,draggable:oe,draggables:Pe,destination:de,insideDestination:Rt,previousImpact:Ee,viewport:we,afterCritical:Tt});if(!xt)return null;var Vt=ui({impact:xt,draggable:oe,droppable:de,draggables:Pe,afterCritical:Tt}),Bn=nl({draggable:oe,destination:de,newPageBorderBoxCenter:Vt,viewport:we.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Bn){var Ca=Vi({pageBorderBoxCenter:Vt,draggable:oe,viewport:we});return{clientSelection:Ca,impact:xt,scrollJumpRequest:null}}var Ia=Qa(Vt,Re),Oa=Ni({impact:xt,viewport:we,destination:de,draggables:Pe,maxScrollChange:Ia});return{clientSelection:ft,impact:Oa,scrollJumpRequest:Ia}},Qo=function(ae){var oe=ae.subject.active;return oe||Ue(!1),oe},mi=function(ee){var ae=ee.isMovingForward,oe=ee.pageBorderBoxCenter,de=ee.source,Pe=ee.droppables,Ee=ee.viewport,we=de.subject.active;if(!we)return null;var Re=de.axis,ft=Ir(we[Re.start],we[Re.end]),Tt=br(Pe).filter(function(Et){return Et!==de}).filter(function(Et){return Et.isEnabled}).filter(function(Et){return!!Et.subject.active}).filter(function(Et){return qr(Ee.frame)(Qo(Et))}).filter(function(Et){var xt=Qo(Et);return ae?we[Re.crossAxisEnd]<xt[Re.crossAxisEnd]:xt[Re.crossAxisStart]<we[Re.crossAxisStart]}).filter(function(Et){var xt=Qo(Et),Vt=Ir(xt[Re.start],xt[Re.end]);return ft(xt[Re.start])||ft(xt[Re.end])||Vt(we[Re.start])||Vt(we[Re.end])}).sort(function(Et,xt){var Vt=Qo(Et)[Re.crossAxisStart],Bn=Qo(xt)[Re.crossAxisStart];return ae?Vt-Bn:Bn-Vt}).filter(function(Et,xt,Vt){return Qo(Et)[Re.crossAxisStart]===Qo(Vt[0])[Re.crossAxisStart]});if(!Tt.length)return null;if(Tt.length===1)return Tt[0];var Rt=Tt.filter(function(Et){var xt=Ir(Qo(Et)[Re.start],Qo(Et)[Re.end]);return xt(oe[Re.line])});return Rt.length===1?Rt[0]:Rt.length>1?Rt.sort(function(Et,xt){return Qo(Et)[Re.start]-Qo(xt)[Re.start]})[0]:Tt.sort(function(Et,xt){var Vt=aa(oe,mr(Qo(Et))),Bn=aa(oe,mr(Qo(xt)));return Vt!==Bn?Vt-Bn:Qo(Et)[Re.start]-Qo(xt)[Re.start]})[0]},Bi=function(ae,oe){var de=ae.page.borderBox.center;return Nn(ae.descriptor.id,oe)?Qa(de,oe.displacedBy.point):de},yl=function(ae,oe){var de=ae.page.borderBox;return Nn(ae.descriptor.id,oe)?Ga(de,Vn(oe.displacedBy.point)):de},Xl=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.viewport,de=ee.destination,Pe=ee.insideDestination,Ee=ee.afterCritical,we=Pe.filter(function(Re){return Nr({target:yl(Re,Ee),destination:de,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Re,ft){var Tt=xa(ae,gi(de,Bi(Re,Ee))),Rt=xa(ae,gi(de,Bi(ft,Ee)));return Tt<Rt?-1:Rt<Tt?1:Re.descriptor.index-ft.descriptor.index});return we[0]||null},Ii=tn(function(ae,oe){var de=oe[ae.line];return{value:de,point:sa(ae.line,de)}}),Bo=function(ae,oe,de){var Pe=ae.axis;if(ae.descriptor.mode==="virtual")return sa(Pe.line,oe[Pe.line]);var Ee=ae.subject.page.contentBox[Pe.size],we=jr(ae.descriptor.id,de),Re=we.reduce(function(Rt,Et){return Rt+Et.client.marginBox[Pe.size]},0),ft=Re+oe[Pe.line],Tt=ft-Ee;return Tt<=0?null:sa(Pe.line,Tt)},El=function(ae,oe){return(0,Me.Z)({},ae,{scroll:(0,Me.Z)({},ae.scroll,{max:oe})})},bl=function(ae,oe,de){var Pe=ae.frame;ro(oe,ae)&&Ue(!1),ae.subject.withPlaceholder&&Ue(!1);var Ee=Ii(ae.axis,oe.displaceBy).point,we=Bo(ae,Ee,de),Re={placeholderSize:Ee,increasedBy:we,oldFrameMaxScroll:ae.frame?ae.frame.scroll.max:null};if(!Pe){var ft=Er({page:ae.subject.page,withPlaceholder:Re,axis:ae.axis,frame:ae.frame});return(0,Me.Z)({},ae,{subject:ft})}var Tt=we?na(Pe.scroll.max,we):Pe.scroll.max,Rt=El(Pe,Tt),Et=Er({page:ae.subject.page,withPlaceholder:Re,axis:ae.axis,frame:Rt});return(0,Me.Z)({},ae,{subject:Et,frame:Rt})},Yl=function(ae){var oe=ae.subject.withPlaceholder;oe||Ue(!1);var de=ae.frame;if(!de){var Pe=Er({page:ae.subject.page,axis:ae.axis,frame:null,withPlaceholder:null});return(0,Me.Z)({},ae,{subject:Pe})}var Ee=oe.oldFrameMaxScroll;Ee||Ue(!1);var we=El(de,Ee),Re=Er({page:ae.subject.page,axis:ae.axis,frame:we,withPlaceholder:null});return(0,Me.Z)({},ae,{subject:Re,frame:we})},Cl=function(ee){var ae=ee.previousPageBorderBoxCenter,oe=ee.moveRelativeTo,de=ee.insideDestination,Pe=ee.draggable,Ee=ee.draggables,we=ee.destination,Re=ee.viewport,ft=ee.afterCritical;if(!oe){if(de.length)return null;var Tt={displaced:To,displacedBy:xo,at:{type:"REORDER",destination:{droppableId:we.descriptor.id,index:0}}},Rt=ui({impact:Tt,draggable:Pe,droppable:we,draggables:Ee,afterCritical:ft}),Et=ro(Pe,we)?we:bl(we,Pe,Ee),xt=nl({draggable:Pe,destination:Et,newPageBorderBoxCenter:Rt,viewport:Re.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return xt?Tt:null}var Vt=ae[we.axis.line]<=oe.page.borderBox.center[we.axis.line],Bn=function(){var Ia=oe.descriptor.index;return oe.descriptor.id===Pe.descriptor.id||Vt?Ia:Ia+1}(),Ca=Ii(we.axis,Pe.displaceBy);return Zn({draggable:Pe,insideDestination:de,destination:we,viewport:Re,displacedBy:Ca,last:To,index:Bn})},xl=function(ee){var ae=ee.isMovingForward,oe=ee.previousPageBorderBoxCenter,de=ee.draggable,Pe=ee.isOver,Ee=ee.draggables,we=ee.droppables,Re=ee.viewport,ft=ee.afterCritical,Tt=mi({isMovingForward:ae,pageBorderBoxCenter:oe,source:Pe,droppables:we,viewport:Re});if(!Tt)return null;var Rt=jr(Tt.descriptor.id,Ee),Et=Xl({pageBorderBoxCenter:oe,viewport:Re,destination:Tt,insideDestination:Rt,afterCritical:ft}),xt=Cl({previousPageBorderBoxCenter:oe,destination:Tt,draggable:de,draggables:Ee,moveRelativeTo:Et,insideDestination:Rt,viewport:Re,afterCritical:ft});if(!xt)return null;var Vt=ui({impact:xt,draggable:de,droppable:Tt,draggables:Ee,afterCritical:ft}),Bn=Vi({pageBorderBoxCenter:Vt,draggable:de,viewport:Re});return{clientSelection:Bn,impact:xt,scrollJumpRequest:null}},oi=function(ee){var ae=ee.at;return ae?ae.type==="REORDER"?ae.destination.droppableId:ae.combine.droppableId:null},Bl=function(ae,oe){var de=oi(ae);return de?oe[de]:null},di=function(ee){var ae=ee.state,oe=ee.type,de=Bl(ae.impact,ae.dimensions.droppables),Pe=!!de,Ee=ae.dimensions.droppables[ae.critical.droppable.id],we=de||Ee,Re=we.axis.direction,ft=Re==="vertical"&&(oe==="MOVE_UP"||oe==="MOVE_DOWN")||Re==="horizontal"&&(oe==="MOVE_LEFT"||oe==="MOVE_RIGHT");if(ft&&!Pe)return null;var Tt=oe==="MOVE_DOWN"||oe==="MOVE_RIGHT",Rt=ae.dimensions.draggables[ae.critical.draggable.id],Et=ae.current.page.borderBoxCenter,xt=ae.dimensions,Vt=xt.draggables,Bn=xt.droppables;return ft?Jl({isMovingForward:Tt,previousPageBorderBoxCenter:Et,draggable:Rt,destination:we,draggables:Vt,viewport:ae.viewport,previousClientSelection:ae.current.client.selection,previousImpact:ae.impact,afterCritical:ae.afterCritical}):xl({isMovingForward:Tt,previousPageBorderBoxCenter:Et,draggable:Rt,isOver:we,draggables:Vt,droppables:Bn,viewport:ae.viewport,afterCritical:ae.afterCritical})};function Yo(ee){return ee.phase==="DRAGGING"||ee.phase==="COLLECTING"}function Qi(ee){var ae=Ir(ee.top,ee.bottom),oe=Ir(ee.left,ee.right);return function(Pe){return ae(Pe.y)&&oe(Pe.x)}}function Fl(ee,ae){return ee.left<ae.right&&ee.right>ae.left&&ee.top<ae.bottom&&ee.bottom>ae.top}function ql(ee){var ae=ee.pageBorderBox,oe=ee.draggable,de=ee.candidates,Pe=oe.page.borderBox.center,Ee=de.map(function(we){var Re=we.axis,ft=sa(we.axis.line,ae.center[Re.line],we.page.borderBox.center[Re.crossAxisLine]);return{id:we.descriptor.id,distance:xa(Pe,ft)}}).sort(function(we,Re){return Re.distance-we.distance});return Ee[0]?Ee[0].id:null}function Ha(ee){var ae=ee.pageBorderBox,oe=ee.draggable,de=ee.droppables,Pe=br(de).filter(function(Ee){if(!Ee.isEnabled)return!1;var we=Ee.subject.active;if(!we||!Fl(ae,we))return!1;if(Qi(we)(ae.center))return!0;var Re=Ee.axis,ft=we.center[Re.crossAxisLine],Tt=ae[Re.crossAxisStart],Rt=ae[Re.crossAxisEnd],Et=Ir(we[Re.crossAxisStart],we[Re.crossAxisEnd]),xt=Et(Tt),Vt=Et(Rt);return!xt&&!Vt?!0:xt?Tt<ft:Rt>ft});return Pe.length?Pe.length===1?Pe[0].descriptor.id:ql({pageBorderBox:ae,draggable:oe,candidates:Pe}):null}var yi=function(ae,oe){return Ln(Ga(ae,oe))},al=function(ee,ae){var oe=ee.frame;return oe?yi(ae,oe.scroll.diff.value):ae};function ha(ee){var ae=ee.displaced,oe=ee.id;return!!(ae.visible[oe]||ae.invisible[oe])}function Li(ee){var ae=ee.draggable,oe=ee.closest,de=ee.inHomeList;return oe?de&&oe.descriptor.index>ae.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var wl=function(ee){var ae=ee.pageBorderBoxWithDroppableScroll,oe=ee.draggable,de=ee.destination,Pe=ee.insideDestination,Ee=ee.last,we=ee.viewport,Re=ee.afterCritical,ft=de.axis,Tt=Ii(de.axis,oe.displaceBy),Rt=Tt.value,Et=ae[ft.start],xt=ae[ft.end],Vt=dr(oe,Pe),Bn=ur(Vt,function(Ia){var Oa=Ia.descriptor.id,Ya=Ia.page.borderBox.center[ft.line],rr=Nn(Oa,Re),lr=ha({displaced:Ee,id:Oa});return rr?lr?xt<=Ya:Et<Ya-Rt:lr?xt<=Ya+Rt:Et<Ya}),Ca=Li({draggable:oe,closest:Bn,inHomeList:ro(oe,de)});return Zn({draggable:oe,insideDestination:Pe,destination:de,viewport:we,last:Ee,displacedBy:Tt,index:Ca})},es=4,ws=function(ee){var ae=ee.draggable,oe=ee.pageBorderBoxWithDroppableScroll,de=ee.previousImpact,Pe=ee.destination,Ee=ee.insideDestination,we=ee.afterCritical;if(!Pe.isCombineEnabled)return null;var Re=Pe.axis,ft=Ii(Pe.axis,ae.displaceBy),Tt=ft.value,Rt=oe[Re.start],Et=oe[Re.end],xt=dr(ae,Ee),Vt=ur(xt,function(Ca){var Ia=Ca.descriptor.id,Oa=Ca.page.borderBox,Ya=Oa[Re.size],rr=Ya/es,lr=Nn(Ia,we),Hr=ha({displaced:de.displaced,id:Ia});return lr?Hr?Et>Oa[Re.start]+rr&&Et<Oa[Re.end]-rr:Rt>Oa[Re.start]-Tt+rr&&Rt<Oa[Re.end]-Tt-rr:Hr?Et>Oa[Re.start]+Tt+rr&&Et<Oa[Re.end]+Tt-rr:Rt>Oa[Re.start]+rr&&Rt<Oa[Re.end]-rr});if(!Vt)return null;var Bn={displacedBy:ft,displaced:de.displaced,at:{type:"COMBINE",combine:{draggableId:Vt.descriptor.id,droppableId:Pe.descriptor.id}}};return Bn},Al=function(ee){var ae=ee.pageOffset,oe=ee.draggable,de=ee.draggables,Pe=ee.droppables,Ee=ee.previousImpact,we=ee.viewport,Re=ee.afterCritical,ft=yi(oe.page.borderBox,ae),Tt=Ha({pageBorderBox:ft,draggable:oe,droppables:Pe});if(!Tt)return ko;var Rt=Pe[Tt],Et=jr(Rt.descriptor.id,de),xt=al(Rt,ft);return ws({pageBorderBoxWithDroppableScroll:xt,draggable:oe,previousImpact:Ee,destination:Rt,insideDestination:Et,afterCritical:Re})||wl({pageBorderBoxWithDroppableScroll:xt,draggable:oe,destination:Rt,insideDestination:Et,last:Ee.displaced,viewport:we,afterCritical:Re})},rl=function(ee,ae){var oe;return(0,Me.Z)({},ee,(oe={},oe[ae.descriptor.id]=ae,oe))},Ko=function(ae){var oe=ae.previousImpact,de=ae.impact,Pe=ae.droppables,Ee=oi(oe),we=oi(de);if(!Ee||Ee===we)return Pe;var Re=Pe[Ee];if(!Re.subject.withPlaceholder)return Pe;var ft=Yl(Re);return rl(Pe,ft)},ts=function(ee){var ae=ee.draggable,oe=ee.draggables,de=ee.droppables,Pe=ee.previousImpact,Ee=ee.impact,we=Ko({previousImpact:Pe,impact:Ee,droppables:de}),Re=oi(Ee);if(!Re)return we;var ft=de[Re];if(ro(ae,ft)||ft.subject.withPlaceholder)return we;var Tt=bl(ft,ae,oe);return rl(we,Tt)},bi=function(ee){var ae=ee.state,oe=ee.clientSelection,de=ee.dimensions,Pe=ee.viewport,Ee=ee.impact,we=ee.scrollJumpRequest,Re=Pe||ae.viewport,ft=de||ae.dimensions,Tt=oe||ae.current.client.selection,Rt=Qa(Tt,ae.initial.client.selection),Et={offset:Rt,selection:Tt,borderBoxCenter:na(ae.initial.client.borderBoxCenter,Rt)},xt={selection:na(Et.selection,Re.scroll.current),borderBoxCenter:na(Et.borderBoxCenter,Re.scroll.current),offset:na(Et.offset,Re.scroll.diff.value)},Vt={client:Et,page:xt};if(ae.phase==="COLLECTING")return(0,Me.Z)({phase:"COLLECTING"},ae,{dimensions:ft,viewport:Re,current:Vt});var Bn=ft.draggables[ae.critical.draggable.id],Ca=Ee||Al({pageOffset:xt.offset,draggable:Bn,draggables:ft.draggables,droppables:ft.droppables,previousImpact:ae.impact,viewport:Re,afterCritical:ae.afterCritical}),Ia=ts({draggable:Bn,impact:Ca,previousImpact:ae.impact,draggables:ft.draggables,droppables:ft.droppables}),Oa=(0,Me.Z)({},ae,{current:Vt,dimensions:{draggables:ft.draggables,droppables:Ia},impact:Ca,viewport:Re,scrollJumpRequest:we||null,forceShouldAnimate:we?!1:null});return Oa};function ol(ee,ae){return ee.map(function(oe){return ae[oe]})}var Oi=function(ee){var ae=ee.impact,oe=ee.viewport,de=ee.draggables,Pe=ee.destination,Ee=ee.forceShouldAnimate,we=ae.displaced,Re=ol(we.all,de),ft=zn({afterDragging:Re,destination:Pe,displacedBy:ae.displacedBy,viewport:oe.frame,forceShouldAnimate:Ee,last:we});return(0,Me.Z)({},ae,{displaced:ft})},il=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.droppable,Pe=ee.draggables,Ee=ee.viewport,we=ee.afterCritical,Re=ui({impact:ae,draggable:oe,draggables:Pe,droppable:de,afterCritical:we});return Vi({pageBorderBoxCenter:Re,draggable:oe,viewport:Ee})},Dl=function(ee){var ae=ee.state,oe=ee.dimensions,de=ee.viewport;ae.movementMode!=="SNAP"&&Ue(!1);var Pe=ae.impact,Ee=de||ae.viewport,we=oe||ae.dimensions,Re=we.draggables,ft=we.droppables,Tt=Re[ae.critical.draggable.id],Rt=oi(Pe);Rt||Ue(!1);var Et=ft[Rt],xt=Oi({impact:Pe,viewport:Ee,destination:Et,draggables:Re}),Vt=il({impact:xt,draggable:Tt,droppable:Et,draggables:Re,viewport:Ee,afterCritical:ae.afterCritical});return bi({impact:xt,clientSelection:Vt,state:ae,dimensions:we,viewport:Ee})},Ji=function(ee){return{index:ee.index,droppableId:ee.droppableId}},Ri=function(ee){var ae=ee.draggable,oe=ee.home,de=ee.draggables,Pe=ee.viewport,Ee=Ii(oe.axis,ae.displaceBy),we=jr(oe.descriptor.id,de),Re=we.indexOf(ae);Re===-1&&Ue(!1);var ft=we.slice(Re+1),Tt=ft.reduce(function(Vt,Bn){return Vt[Bn.descriptor.id]=!0,Vt},{}),Rt={inVirtualList:oe.descriptor.mode==="virtual",displacedBy:Ee,effected:Tt},Et=zn({afterDragging:ft,destination:oe,displacedBy:Ee,last:null,viewport:Pe.frame,forceShouldAnimate:!1}),xt={displaced:Et,displacedBy:Ee,at:{type:"REORDER",destination:Ji(ae.descriptor)}};return{impact:xt,afterCritical:Rt}},ll=function(ee,ae){return{draggables:ee.draggables,droppables:rl(ee.droppables,ae)}},Ti=function(ae){},Mi=function(ae){},ns=function(ee){var ae=ee.draggable,oe=ee.offset,de=ee.initialWindowScroll,Pe=Yt(ae.client,oe),Ee=An(Pe,de),we=(0,Me.Z)({},ae,{placeholder:(0,Me.Z)({},ae.placeholder,{client:Pe}),client:Pe,page:Ee});return we},Lo=function(ee){var ae=ee.frame;return ae||Ue(!1),ae},as=function(ee){var ae=ee.additions,oe=ee.updatedDroppables,de=ee.viewport,Pe=de.scroll.diff.value;return ae.map(function(Ee){var we=Ee.descriptor.droppableId,Re=oe[we],ft=Lo(Re),Tt=ft.scroll.diff.value,Rt=na(Pe,Tt),Et=ns({draggable:Ee,offset:Rt,initialWindowScroll:de.scroll.initial});return Et})},As=function(ee){var ae=ee.state,oe=ee.published;Ti();var de=oe.modified.map(function(rr){var lr=ae.dimensions.droppables[rr.droppableId],Hr=vr(lr,rr.scroll);return Hr}),Pe=(0,Me.Z)({},ae.dimensions.droppables,{},xr(de)),Ee=Xr(as({additions:oe.additions,updatedDroppables:Pe,viewport:ae.viewport})),we=(0,Me.Z)({},ae.dimensions.draggables,{},Ee);oe.removals.forEach(function(rr){delete we[rr]});var Re={droppables:Pe,draggables:we},ft=oi(ae.impact),Tt=ft?Re.droppables[ft]:null,Rt=Re.draggables[ae.critical.draggable.id],Et=Re.droppables[ae.critical.droppable.id],xt=Ri({draggable:Rt,home:Et,draggables:we,viewport:ae.viewport}),Vt=xt.impact,Bn=xt.afterCritical,Ca=Tt&&Tt.isCombineEnabled?ae.impact:Vt,Ia=Al({pageOffset:ae.current.page.offset,draggable:Re.draggables[ae.critical.draggable.id],draggables:Re.draggables,droppables:Re.droppables,previousImpact:Ca,viewport:ae.viewport,afterCritical:Bn});Mi();var Oa=(0,Me.Z)({phase:"DRAGGING"},ae,{phase:"DRAGGING",impact:Ia,onLiftImpact:Vt,dimensions:Re,afterCritical:Bn,forceShouldAnimate:!1});if(ae.phase==="COLLECTING")return Oa;var Ya=(0,Me.Z)({phase:"DROP_PENDING"},Oa,{phase:"DROP_PENDING",reason:ae.reason,isWaiting:!1});return Ya},sl=function(ae){return ae.movementMode==="SNAP"},Fi=function(ae,oe,de){var Pe=ll(ae.dimensions,oe);return!sl(ae)||de?bi({state:ae,dimensions:Pe}):Dl({state:ae,dimensions:Pe})};function ki(ee){return ee.isDragging&&ee.movementMode==="SNAP"?(0,Me.Z)({phase:"DRAGGING"},ee,{scrollJumpRequest:null}):ee}var Nl={phase:"IDLE",completed:null,shouldFlush:!1},rs=function(ee,ae){if(ee===void 0&&(ee=Nl),ae.type==="FLUSH")return(0,Me.Z)({},Nl,{shouldFlush:!0});if(ae.type==="INITIAL_PUBLISH"){ee.phase!=="IDLE"&&Ue(!1);var oe=ae.payload,de=oe.critical,Pe=oe.clientSelection,Ee=oe.viewport,we=oe.dimensions,Re=oe.movementMode,ft=we.draggables[de.draggable.id],Tt=we.droppables[de.droppable.id],Rt={selection:Pe,borderBoxCenter:ft.client.borderBox.center,offset:Da},Et={client:Rt,page:{selection:na(Rt.selection,Ee.scroll.initial),borderBoxCenter:na(Rt.selection,Ee.scroll.initial),offset:na(Rt.selection,Ee.scroll.diff.value)}},xt=br(we.droppables).every(function(Ks){return!Ks.isFixedOnPage}),Vt=Ri({draggable:ft,home:Tt,draggables:we.draggables,viewport:Ee}),Bn=Vt.impact,Ca=Vt.afterCritical,Ia={phase:"DRAGGING",isDragging:!0,critical:de,movementMode:Re,dimensions:we,initial:Et,current:Et,isWindowScrollAllowed:xt,impact:Bn,afterCritical:Ca,onLiftImpact:Bn,viewport:Ee,scrollJumpRequest:null,forceShouldAnimate:null};return Ia}if(ae.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&Ue(!1);var Oa=(0,Me.Z)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return Oa}if(ae.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||Ue(!1),As({state:ee,published:ae.payload});if(ae.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;Yo(ee)||Ue(!1);var Ya=ae.payload.client;return Ja(Ya,ee.current.client.selection)?ee:bi({state:ee,clientSelection:Ya,impact:sl(ee)?ee.impact:null})}if(ae.type==="UPDATE_DROPPABLE_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="COLLECTING")return ki(ee);Yo(ee)||Ue(!1);var rr=ae.payload,lr=rr.id,Hr=rr.newScroll,Mr=ee.dimensions.droppables[lr];if(!Mr)return ee;var no=vr(Mr,Hr);return Fi(ee,no,!1)}if(ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Yo(ee)||Ue(!1);var Ho=ae.payload,mo=Ho.id,jo=Ho.isEnabled,ni=ee.dimensions.droppables[mo];ni||Ue(!1),ni.isEnabled===jo&&Ue(!1);var li=(0,Me.Z)({},ni,{isEnabled:jo});return Fi(ee,li,!0)}if(ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Yo(ee)||Ue(!1);var ji=ae.payload,Di=ji.id,Ei=ji.isCombineEnabled,Gi=ee.dimensions.droppables[Di];Gi||Ue(!1),Gi.isCombineEnabled===Ei&&Ue(!1);var si=(0,Me.Z)({},Gi,{isCombineEnabled:Ei});return Fi(ee,si,!0)}if(ae.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;Yo(ee)||Ue(!1),ee.isWindowScrollAllowed||Ue(!1);var el=ae.payload.newScroll;if(Ja(ee.viewport.scroll.current,el))return ki(ee);var Ki=vi(ee.viewport,el);return sl(ee)?Dl({state:ee,viewport:Ki}):bi({state:ee,viewport:Ki})}if(ae.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Yo(ee))return ee;var xs=ae.payload.maxScroll;if(Ja(xs,ee.viewport.scroll.max))return ee;var Sl=(0,Me.Z)({},ee.viewport,{scroll:(0,Me.Z)({},ee.viewport.scroll,{max:xs})});return(0,Me.Z)({phase:"DRAGGING"},ee,{viewport:Sl})}if(ae.type==="MOVE_UP"||ae.type==="MOVE_DOWN"||ae.type==="MOVE_LEFT"||ae.type==="MOVE_RIGHT"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&Ue(!1);var tl=di({state:ee,type:ae.type});return tl?bi({state:ee,impact:tl.impact,clientSelection:tl.clientSelection,scrollJumpRequest:tl.scrollJumpRequest}):ee}if(ae.type==="DROP_PENDING"){var Wi=ae.payload.reason;ee.phase!=="COLLECTING"&&Ue(!1);var Pl=(0,Me.Z)({phase:"DROP_PENDING"},ee,{phase:"DROP_PENDING",isWaiting:!0,reason:Wi});return Pl}if(ae.type==="DROP_ANIMATE"){var Hs=ae.payload,Ui=Hs.completed,Bs=Hs.dropDuration,js=Hs.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||Ue(!1);var $l={phase:"DROP_ANIMATING",completed:Ui,dropDuration:Bs,newHomeClientOffset:js,dimensions:ee.dimensions};return $l}if(ae.type==="DROP_COMPLETE"){var Gs=ae.payload.completed;return{phase:"IDLE",completed:Gs,shouldFlush:!1}}return ee},os=function(ae){return{type:"BEFORE_INITIAL_CAPTURE",payload:ae}},is=function(ae){return{type:"LIFT",payload:ae}},Na=function(ae){return{type:"INITIAL_PUBLISH",payload:ae}},ls=function(ae){return{type:"PUBLISH_WHILE_DRAGGING",payload:ae}},Ds=function(){return{type:"COLLECTION_STARTING",payload:null}},ss=function(ae){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ae}},Il=function(ae){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ae}},Ns=function(ae){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ae}},Ll=function(ae){return{type:"MOVE",payload:ae}},us=function(ae){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ae}},ei=function(ae){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ae}},Ci=function(){return{type:"MOVE_UP",payload:null}},Oo=function(){return{type:"MOVE_DOWN",payload:null}},$i=function(){return{type:"MOVE_RIGHT",payload:null}},ds=function(){return{type:"MOVE_LEFT",payload:null}},Ol=function(){return{type:"FLUSH",payload:null}},Rl=function(ae){return{type:"DROP_ANIMATE",payload:ae}},Tl=function(ae){return{type:"DROP_COMPLETE",payload:ae}},Ml=function(ae){return{type:"DROP",payload:ae}},pr=function(ae){return{type:"DROP_PENDING",payload:ae}},kl=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Vs(ee){if(!(ee.length<=1)){for(var ae=ee.map(function(Re){return Re.descriptor.index}),oe={},de=1;de<ae.length;de++){var Pe=ae[de],Ee=ae[de-1];Pe!==Ee+1&&(oe[Pe]=!0)}if(Object.keys(oe).length)var we=ae.map(function(Re){var ft=!!oe[Re];return ft?"[\u{1F525}"+Re+"]":""+Re}).join(", ")}}function cs(ee,ae){if(0)var oe}var gs=function(ee){return function(ae){var oe=ae.getState,de=ae.dispatch;return function(Pe){return function(Ee){if(Ee.type!=="LIFT"){Pe(Ee);return}var we=Ee.payload,Re=we.id,ft=we.clientSelection,Tt=we.movementMode,Rt=oe();Rt.phase==="DROP_ANIMATING"&&de(Tl({completed:Rt.completed})),oe().phase!=="IDLE"&&Ue(!1),de(Ol()),de(os({draggableId:Re,movementMode:Tt}));var Et={shouldPublishImmediately:Tt==="SNAP"},xt={draggableId:Re,scrollOptions:Et},Vt=ee.startPublishing(xt),Bn=Vt.critical,Ca=Vt.dimensions,Ia=Vt.viewport;cs(Bn,Ca),de(Na({critical:Bn,dimensions:Ca,clientSelection:ft,movementMode:Tt,viewport:Ia}))}}}},ms=function(ee){return function(){return function(ae){return function(oe){oe.type==="INITIAL_PUBLISH"&&ee.dragging(),oe.type==="DROP_ANIMATE"&&ee.dropping(oe.payload.completed.result.reason),(oe.type==="FLUSH"||oe.type==="DROP_COMPLETE")&&ee.resting(),ae(oe)}}}},Zl={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Zi={opacity:{drop:0,combining:.7},scale:{drop:.75}},ul={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},xi=ul.outOfTheWay+"s "+Zl.outOfTheWay,wi={fluid:"opacity "+xi,snap:"transform "+xi+", opacity "+xi,drop:function(ae){var oe=ae+"s "+Zl.drop;return"transform "+oe+", opacity "+oe},outOfTheWay:"transform "+xi,placeholder:"height "+xi+", width "+xi+", margin "+xi},dl=function(ae){return Ja(ae,Da)?null:"translate("+ae.x+"px, "+ae.y+"px)"},cl={moveTo:dl,drop:function(ae,oe){var de=dl(ae);return de?oe?de+" scale("+Zi.scale.drop+")":de:null}},gl=ul.minDropTime,he=ul.maxDropTime,Ke=he-gl,$e=1500,gn=.6,ua=function(ee){var ae=ee.current,oe=ee.destination,de=ee.reason,Pe=xa(ae,oe);if(Pe<=0)return gl;if(Pe>=$e)return he;var Ee=Pe/$e,we=gl+Ke*Ee,Re=de==="CANCEL"?we*gn:we;return Number(Re.toFixed(2))},ka=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.dimensions,Pe=ee.viewport,Ee=ee.afterCritical,we=de.draggables,Re=de.droppables,ft=oi(ae),Tt=ft?Re[ft]:null,Rt=Re[oe.descriptor.droppableId],Et=il({impact:ae,draggable:oe,draggables:we,afterCritical:Ee,droppable:Tt||Rt,viewport:Pe}),xt=Qa(Et,oe.client.borderBox.center);return xt},Ka=function(ee){var ae=ee.draggables,oe=ee.reason,de=ee.lastImpact,Pe=ee.home,Ee=ee.viewport,we=ee.onLiftImpact;if(!de.at||oe!=="DROP"){var Re=Oi({draggables:ae,impact:we,destination:Pe,viewport:Ee,forceShouldAnimate:!0});return{impact:Re,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var ft=(0,Me.Z)({},de,{displaced:To});return{impact:ft,didDropInsideDroppable:!0}},ge=function(ee){var ae=ee.getState,oe=ee.dispatch;return function(de){return function(Pe){if(Pe.type!=="DROP"){de(Pe);return}var Ee=ae(),we=Pe.payload.reason;if(Ee.phase==="COLLECTING"){oe(pr({reason:we}));return}if(Ee.phase!=="IDLE"){var Re=Ee.phase==="DROP_PENDING"&&Ee.isWaiting;Re&&Ue(!1),Ee.phase==="DRAGGING"||Ee.phase==="DROP_PENDING"||Ue(!1);var ft=Ee.critical,Tt=Ee.dimensions,Rt=Tt.draggables[Ee.critical.draggable.id],Et=Ka({reason:we,lastImpact:Ee.impact,afterCritical:Ee.afterCritical,onLiftImpact:Ee.onLiftImpact,home:Ee.dimensions.droppables[Ee.critical.droppable.id],viewport:Ee.viewport,draggables:Ee.dimensions.draggables}),xt=Et.impact,Vt=Et.didDropInsideDroppable,Bn=Vt?Xa(xt):null,Ca=Vt?wr(xt):null,Ia={index:ft.draggable.index,droppableId:ft.droppable.id},Oa={draggableId:Rt.descriptor.id,type:Rt.descriptor.type,source:Ia,reason:we,mode:Ee.movementMode,destination:Bn,combine:Ca},Ya=ka({impact:xt,draggable:Rt,dimensions:Tt,viewport:Ee.viewport,afterCritical:Ee.afterCritical}),rr={critical:Ee.critical,afterCritical:Ee.afterCritical,result:Oa,impact:xt},lr=!Ja(Ee.current.client.offset,Ya)||!!Oa.combine;if(!lr){oe(Tl({completed:rr}));return}var Hr=ua({current:Ee.current.client.offset,destination:Ya,reason:we}),Mr={newHomeClientOffset:Ya,dropDuration:Hr,completed:rr};oe(Rl(Mr))}}}},ce=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function be(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||ee()}}}function ke(ee){var ae=ee.onWindowScroll;function oe(){ae(ce())}var de=pn(oe),Pe=be(de),Ee=qn;function we(){return Ee!==qn}function Re(){we()&&Ue(!1),Ee=_n(window,[Pe])}function ft(){we()||Ue(!1),de.cancel(),Ee(),Ee=qn}return{start:Re,stop:ft,isActive:we}}var Ie=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},He=function(ee){var ae=ke({onWindowScroll:function(de){ee.dispatch(us({newScroll:de}))}});return function(oe){return function(de){!ae.isActive()&&de.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&Ie(de)&&ae.stop(),oe(de)}}},pt=function(ee){var ae=!1,oe=!1,de=setTimeout(function(){oe=!0}),Pe=function(we){ae||oe||(ae=!0,ee(we),clearTimeout(de))};return Pe.wasCalled=function(){return ae},Pe},Bt=function(){var ee=[],ae=function(Ee){var we=Fr(ee,function(Tt){return Tt.timerId===Ee});we===-1&&Ue(!1);var Re=ee.splice(we,1),ft=Re[0];ft.callback()},oe=function(Ee){var we=setTimeout(function(){return ae(we)}),Re={timerId:we,callback:Ee};ee.push(Re)},de=function(){if(ee.length){var Ee=[].concat(ee);ee.length=0,Ee.forEach(function(we){clearTimeout(we.timerId),we.callback()})}};return{add:oe,flush:de}},it=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},Ht=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},wt=function(ae,oe){if(ae===oe)return!0;var de=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,Pe=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return de&&Pe},Jt=function(ae,oe){Ti(),oe(),Mi()},Rn=function(ae,oe){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:oe}},_t=function(ae,oe,de,Pe){if(!ae){de(Pe(oe));return}var Ee=pt(de),we={announce:Ee};ae(oe,we),Ee.wasCalled()||de(Pe(oe))},It=function(ee,ae){var oe=Bt(),de=null,Pe=function(xt,Vt){de&&Ue(!1),Jt("onBeforeCapture",function(){var Bn=ee().onBeforeCapture;if(Bn){var Ca={draggableId:xt,mode:Vt};Bn(Ca)}})},Ee=function(xt,Vt){de&&Ue(!1),Jt("onBeforeDragStart",function(){var Bn=ee().onBeforeDragStart;Bn&&Bn(Rn(xt,Vt))})},we=function(xt,Vt){de&&Ue(!1);var Bn=Rn(xt,Vt);de={mode:Vt,lastCritical:xt,lastLocation:Bn.source,lastCombine:null},oe.add(function(){Jt("onDragStart",function(){return _t(ee().onDragStart,Bn,ae,mn.onDragStart)})})},Re=function(xt,Vt){var Bn=Xa(Vt),Ca=wr(Vt);de||Ue(!1);var Ia=!wt(xt,de.lastCritical);Ia&&(de.lastCritical=xt);var Oa=!it(de.lastLocation,Bn);Oa&&(de.lastLocation=Bn);var Ya=!Ht(de.lastCombine,Ca);if(Ya&&(de.lastCombine=Ca),!(!Ia&&!Oa&&!Ya)){var rr=(0,Me.Z)({},Rn(xt,de.mode),{combine:Ca,destination:Bn});oe.add(function(){Jt("onDragUpdate",function(){return _t(ee().onDragUpdate,rr,ae,mn.onDragUpdate)})})}},ft=function(){de||Ue(!1),oe.flush()},Tt=function(xt){de||Ue(!1),de=null,Jt("onDragEnd",function(){return _t(ee().onDragEnd,xt,ae,mn.onDragEnd)})},Rt=function(){if(de){var xt=(0,Me.Z)({},Rn(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});Tt(xt)}};return{beforeCapture:Pe,beforeStart:Ee,start:we,update:Re,flush:ft,drop:Tt,abort:Rt}},$n=function(ee,ae){var oe=It(ee,ae);return function(de){return function(Pe){return function(Ee){if(Ee.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(Ee.payload.draggableId,Ee.payload.movementMode);return}if(Ee.type==="INITIAL_PUBLISH"){var we=Ee.payload.critical;oe.beforeStart(we,Ee.payload.movementMode),Pe(Ee),oe.start(we,Ee.payload.movementMode);return}if(Ee.type==="DROP_COMPLETE"){var Re=Ee.payload.completed.result;oe.flush(),Pe(Ee),oe.drop(Re);return}if(Pe(Ee),Ee.type==="FLUSH"){oe.abort();return}var ft=de.getState();ft.phase==="DRAGGING"&&oe.update(ft.critical,ft.impact)}}}},Kn=function(ee){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&Ue(!1),ee.dispatch(Tl({completed:de.completed}))}}},Yn=function(ee){var ae=null,oe=null;function de(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(Pe){return function(Ee){if((Ee.type==="FLUSH"||Ee.type==="DROP_COMPLETE"||Ee.type==="DROP_ANIMATION_FINISHED")&&de(),Pe(Ee),Ee.type==="DROP_ANIMATE"){var we={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var ft=ee.getState();ft.phase==="DROP_ANIMATING"&&ee.dispatch(kl())}};oe=requestAnimationFrame(function(){oe=null,ae=_n(window,[we])})}}}},Qn=function(ee){return function(){return function(ae){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&ee.stopPublishing(),ae(oe)}}}},ea=function(ee){var ae=!1;return function(){return function(oe){return function(de){if(de.type==="INITIAL_PUBLISH"){ae=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),oe(de),ee.tryRestoreFocusRecorded();return}if(oe(de),!!ae){if(de.type==="FLUSH"){ae=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ae=!1;var Pe=de.payload.completed.result;Pe.combine&&ee.tryShiftRecord(Pe.draggableId,Pe.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},xn=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},ba=function(ee){return function(ae){return function(oe){return function(de){if(xn(de)){ee.stop(),oe(de);return}if(de.type==="INITIAL_PUBLISH"){oe(de);var Pe=ae.getState();Pe.phase!=="DRAGGING"&&Ue(!1),ee.start(Pe);return}oe(de),ee.scroll(ae.getState())}}}},ya=function(ee){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(Ml({reason:de.reason})))}}}},Za=Le.qC,ja=function(ee){var ae=ee.dimensionMarshal,oe=ee.focusMarshal,de=ee.styleMarshal,Pe=ee.getResponders,Ee=ee.announce,we=ee.autoScroller;return(0,Le.MT)(rs,Za((0,Le.md)(ms(de),Qn(ae),gs(ae),ge,Kn,Yn,ya,ba(we),He,ea(oe),$n(Pe,Ee))))},la=function(){return{additions:{},removals:{},modified:{}}};function Pa(ee){var ae=ee.registry,oe=ee.callbacks,de=la(),Pe=null,Ee=function(){Pe||(oe.collectionStarting(),Pe=requestAnimationFrame(function(){Pe=null,Ti();var Rt=de,Et=Rt.additions,xt=Rt.removals,Vt=Rt.modified,Bn=Object.keys(Et).map(function(Oa){return ae.draggable.getById(Oa).getDimension(Da)}).sort(function(Oa,Ya){return Oa.descriptor.index-Ya.descriptor.index}),Ca=Object.keys(Vt).map(function(Oa){var Ya=ae.droppable.getById(Oa),rr=Ya.callbacks.getScrollWhileDragging();return{droppableId:Oa,scroll:rr}}),Ia={additions:Bn,removals:Object.keys(xt),modified:Ca};de=la(),Mi(),oe.publish(Ia)}))},we=function(Rt){var Et=Rt.descriptor.id;de.additions[Et]=Rt,de.modified[Rt.descriptor.droppableId]=!0,de.removals[Et]&&delete de.removals[Et],Ee()},Re=function(Rt){var Et=Rt.descriptor;de.removals[Et.id]=!0,de.modified[Et.droppableId]=!0,de.additions[Et.id]&&delete de.additions[Et.id],Ee()},ft=function(){Pe&&(cancelAnimationFrame(Pe),Pe=null,de=la())};return{add:we,remove:Re,stop:ft}}var Sa=function(ee){var ae=ee.scrollHeight,oe=ee.scrollWidth,de=ee.height,Pe=ee.width,Ee=Qa({x:oe,y:ae},{x:Pe,y:de}),we={x:Math.max(0,Ee.x),y:Math.max(0,Ee.y)};return we},Wn=function(){var ee=document.documentElement;return ee||Ue(!1),ee},ca=function(){var ee=Wn(),ae=Sa({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ae},Ta=function(){var ee=ce(),ae=ca(),oe=ee.y,de=ee.x,Pe=Wn(),Ee=Pe.clientWidth,we=Pe.clientHeight,Re=de+Ee,ft=oe+we,Tt=Ln({top:oe,left:de,right:Re,bottom:ft}),Rt={frame:Tt,scroll:{initial:ee,current:ee,max:ae,diff:{value:Da,displacement:Da}}};return Rt},qa=function(ee){var ae=ee.critical,oe=ee.scrollOptions,de=ee.registry;Ti();var Pe=Ta(),Ee=Pe.scroll.current,we=ae.droppable,Re=de.droppable.getAllByType(we.type).map(function(Et){return Et.callbacks.getDimensionAndWatchScroll(Ee,oe)}),ft=de.draggable.getAllByType(ae.draggable.type).map(function(Et){return Et.getDimension(Ee)}),Tt={draggables:Xr(ft),droppables:xr(Re)};Mi();var Rt={dimensions:Tt,critical:ae,viewport:Pe};return Rt};function nr(ee,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var de=ee.droppable.getById(oe.descriptor.droppableId);return de.descriptor.mode==="virtual"}var Wa=function(ee,ae){var oe=null,de=Pa({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:ee}),Pe=function(Vt,Bn){ee.droppable.exists(Vt)||Ue(!1),oe&&ae.updateDroppableIsEnabled({id:Vt,isEnabled:Bn})},Ee=function(Vt,Bn){oe&&(ee.droppable.exists(Vt)||Ue(!1),ae.updateDroppableIsCombineEnabled({id:Vt,isCombineEnabled:Bn}))},we=function(Vt,Bn){oe&&(ee.droppable.exists(Vt)||Ue(!1),ae.updateDroppableScroll({id:Vt,newScroll:Bn}))},Re=function(Vt,Bn){oe&&ee.droppable.getById(Vt).callbacks.scroll(Bn)},ft=function(){if(oe){de.stop();var Vt=oe.critical.droppable;ee.droppable.getAllByType(Vt.type).forEach(function(Bn){return Bn.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Tt=function(Vt){oe||Ue(!1);var Bn=oe.critical.draggable;Vt.type==="ADDITION"&&nr(ee,Bn,Vt.value)&&de.add(Vt.value),Vt.type==="REMOVAL"&&nr(ee,Bn,Vt.value)&&de.remove(Vt.value)},Rt=function(Vt){oe&&Ue(!1);var Bn=ee.draggable.getById(Vt.draggableId),Ca=ee.droppable.getById(Bn.descriptor.droppableId),Ia={draggable:Bn.descriptor,droppable:Ca.descriptor},Oa=ee.subscribe(Tt);return oe={critical:Ia,unsubscribe:Oa},qa({critical:Ia,registry:ee,scrollOptions:Vt.scrollOptions})},Et={updateDroppableIsEnabled:Pe,updateDroppableIsCombineEnabled:Ee,scrollDroppable:Re,updateDroppableScroll:we,startPublishing:Rt,stopPublishing:ft};return Et},gr=function(ee,ae){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ae?!1:ee.completed.result.reason==="DROP"},Sr=function(ee){window.scrollBy(ee.x,ee.y)},Wr=tn(function(ee){return br(ee).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),_r=function(ae,oe){var de=ur(Wr(oe),function(Pe){return Pe.frame||Ue(!1),Qi(Pe.frame.pageMarginBox)(ae)});return de},ho=function(ee){var ae=ee.center,oe=ee.destination,de=ee.droppables;if(oe){var Pe=de[oe];return Pe.frame?Pe:null}var Ee=_r(ae,de);return Ee},eo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Br=function(ee,ae){var oe=ee[ae.size]*eo.startFromPercentage,de=ee[ae.size]*eo.maxScrollAtPercentage,Pe={startScrollingFrom:oe,maxScrollValueAt:de};return Pe},Do=function(ee){var ae=ee.startOfRange,oe=ee.endOfRange,de=ee.current,Pe=oe-ae;if(Pe===0)return 0;var Ee=de-ae,we=Ee/Pe;return we},Ur=1,So=function(ee,ae){if(ee>ae.startScrollingFrom)return 0;if(ee<=ae.maxScrollValueAt)return eo.maxPixelScroll;if(ee===ae.startScrollingFrom)return Ur;var oe=Do({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ee}),de=1-oe,Pe=eo.maxPixelScroll*eo.ease(de);return Math.ceil(Pe)},oo=eo.durationDampening.accelerateAt,Jo=eo.durationDampening.stopDampeningAt,or=function(ee,ae){var oe=ae,de=Jo,Pe=Date.now(),Ee=Pe-oe;if(Ee>=Jo)return ee;if(Ee<oo)return Ur;var we=Do({startOfRange:oo,endOfRange:de,current:Ee}),Re=ee*eo.ease(we);return Math.ceil(Re)},ir=function(ee){var ae=ee.distanceToEdge,oe=ee.thresholds,de=ee.dragStartTime,Pe=ee.shouldUseTimeDampening,Ee=So(ae,oe);return Ee===0?0:Pe?Math.max(or(Ee,de),Ur):Ee},_a=function(ee){var ae=ee.container,oe=ee.distanceToEdges,de=ee.dragStartTime,Pe=ee.axis,Ee=ee.shouldUseTimeDampening,we=Br(ae,Pe),Re=oe[Pe.end]<oe[Pe.start];return Re?ir({distanceToEdge:oe[Pe.end],thresholds:we,dragStartTime:de,shouldUseTimeDampening:Ee}):-1*ir({distanceToEdge:oe[Pe.start],thresholds:we,dragStartTime:de,shouldUseTimeDampening:Ee})},er=function(ee){var ae=ee.container,oe=ee.subject,de=ee.proposedScroll,Pe=oe.height>ae.height,Ee=oe.width>ae.width;return!Ee&&!Pe?de:Ee&&Pe?null:{x:Ee?0:de.x,y:Pe?0:de.y}},Gr=za(function(ee){return ee===0?0:ee}),tr=function(ee){var ae=ee.dragStartTime,oe=ee.container,de=ee.subject,Pe=ee.center,Ee=ee.shouldUseTimeDampening,we={top:Pe.y-oe.top,right:oe.right-Pe.x,bottom:oe.bottom-Pe.y,left:Pe.x-oe.left},Re=_a({container:oe,distanceToEdges:we,dragStartTime:ae,axis:Ao,shouldUseTimeDampening:Ee}),ft=_a({container:oe,distanceToEdges:we,dragStartTime:ae,axis:Go,shouldUseTimeDampening:Ee}),Tt=Gr({x:ft,y:Re});if(Ja(Tt,Da))return null;var Rt=er({container:oe,subject:de,proposedScroll:Tt});return Rt?Ja(Rt,Da)?null:Rt:null},sr=za(function(ee){return ee===0?0:ee>0?1:-1}),Rr=function(){var ee=function(oe,de){return oe<0?oe:oe>de?oe-de:0};return function(ae){var oe=ae.current,de=ae.max,Pe=ae.change,Ee=na(oe,Pe),we={x:ee(Ee.x,de.x),y:ee(Ee.y,de.y)};return Ja(we,Da)?null:we}}(),Dr=function(ae){var oe=ae.max,de=ae.current,Pe=ae.change,Ee={x:Math.max(de.x,oe.x),y:Math.max(de.y,oe.y)},we=sr(Pe),Re=Rr({max:Ee,current:de,change:we});return!Re||we.x!==0&&Re.x===0||we.y!==0&&Re.y===0},io=function(ae,oe){return Dr({current:ae.scroll.current,max:ae.scroll.max,change:oe})},wo=function(ae,oe){if(!io(ae,oe))return null;var de=ae.scroll.max,Pe=ae.scroll.current;return Rr({current:Pe,max:de,change:oe})},_o=function(ae,oe){var de=ae.frame;return de?Dr({current:de.scroll.current,max:de.scroll.max,change:oe}):!1},Ro=function(ae,oe){var de=ae.frame;return!de||!_o(ae,oe)?null:Rr({current:de.scroll.current,max:de.scroll.max,change:oe})},ci=function(ee){var ae=ee.viewport,oe=ee.subject,de=ee.center,Pe=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,we=tr({dragStartTime:Pe,container:ae.frame,subject:oe,center:de,shouldUseTimeDampening:Ee});return we&&io(ae,we)?we:null},No=function(ee){var ae=ee.droppable,oe=ee.subject,de=ee.center,Pe=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,we=ae.frame;if(!we)return null;var Re=tr({dragStartTime:Pe,container:we.pageMarginBox,subject:oe,center:de,shouldUseTimeDampening:Ee});return Re&&_o(ae,Re)?Re:null},Io=function(ee){var ae=ee.state,oe=ee.dragStartTime,de=ee.shouldUseTimeDampening,Pe=ee.scrollWindow,Ee=ee.scrollDroppable,we=ae.current.page.borderBoxCenter,Re=ae.dimensions.draggables[ae.critical.draggable.id],ft=Re.page.marginBox;if(ae.isWindowScrollAllowed){var Tt=ae.viewport,Rt=ci({dragStartTime:oe,viewport:Tt,subject:ft,center:we,shouldUseTimeDampening:de});if(Rt){Pe(Rt);return}}var Et=ho({center:we,destination:oi(ae.impact),droppables:ae.dimensions.droppables});if(Et){var xt=No({dragStartTime:oe,droppable:Et,subject:ft,center:we,shouldUseTimeDampening:de});xt&&Ee(Et.descriptor.id,xt)}},Ai=function(ee){var ae=ee.scrollWindow,oe=ee.scrollDroppable,de=pn(ae),Pe=pn(oe),Ee=null,we=function(Rt){Ee||Ue(!1);var Et=Ee,xt=Et.shouldUseTimeDampening,Vt=Et.dragStartTime;Io({state:Rt,scrollWindow:de,scrollDroppable:Pe,dragStartTime:Vt,shouldUseTimeDampening:xt})},Re=function(Rt){Ti(),Ee&&Ue(!1);var Et=Date.now(),xt=!1,Vt=function(){xt=!0};Io({state:Rt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Vt,scrollDroppable:Vt}),Ee={dragStartTime:Et,shouldUseTimeDampening:xt},Mi(),xt&&we(Rt)},ft=function(){Ee&&(de.cancel(),Pe.cancel(),Ee=null)};return{start:Re,stop:ft,scroll:we}},Yr=function(ee){var ae=ee.move,oe=ee.scrollDroppable,de=ee.scrollWindow,Pe=function(Tt,Rt){var Et=na(Tt.current.client.selection,Rt);ae({client:Et})},Ee=function(Tt,Rt){if(!_o(Tt,Rt))return Rt;var Et=Ro(Tt,Rt);if(!Et)return oe(Tt.descriptor.id,Rt),null;var xt=Qa(Rt,Et);oe(Tt.descriptor.id,xt);var Vt=Qa(Rt,xt);return Vt},we=function(Tt,Rt,Et){if(!Tt||!io(Rt,Et))return Et;var xt=wo(Rt,Et);if(!xt)return de(Et),null;var Vt=Qa(Et,xt);de(Vt);var Bn=Qa(Et,Vt);return Bn},Re=function(Tt){var Rt=Tt.scrollJumpRequest;if(Rt){var Et=oi(Tt.impact);Et||Ue(!1);var xt=Ee(Tt.dimensions.droppables[Et],Rt);if(xt){var Vt=Tt.viewport,Bn=we(Tt.isWindowScrollAllowed,Vt,xt);Bn&&Pe(Tt,Bn)}}};return Re},to=function(ee){var ae=ee.scrollDroppable,oe=ee.scrollWindow,de=ee.move,Pe=Ai({scrollWindow:oe,scrollDroppable:ae}),Ee=Yr({move:de,scrollWindow:oe,scrollDroppable:ae}),we=function(Tt){if(Tt.phase==="DRAGGING"){if(Tt.movementMode==="FLUID"){Pe.scroll(Tt);return}Tt.scrollJumpRequest&&Ee(Tt)}},Re={scroll:we,start:Pe.start,stop:Pe.stop};return Re},fo="data-rbd",yo=function(){var ee=fo+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),lo=function(){var ee=fo+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Tr=function(){var ee=fo+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Wo={contextId:fo+"-scroll-container-context-id"},$o=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},da=function(ae,oe){return ae.map(function(de){var Pe=de.styles[oe];return Pe?de.selector+" { "+Pe+" }":""}).join(" ")},Va="pointer-events: none;",Pr=function(ee){var ae=$o(ee),oe=function(){var Re=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ae(yo.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Re,dragging:Va,dropAnimating:Re}}}(),de=function(){var Re=`
transition: `+wi.outOfTheWay+`;
`;return{selector:ae(lo.contextId),styles:{dragging:Re,dropAnimating:Re,userCancel:Re}}}(),Pe={selector:ae(Tr.contextId),styles:{always:"overflow-anchor: none;"}},Ee={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;
`}},we=[de,oe,Pe,Ee];return{always:da(we,"always"),resting:da(we,"resting"),dragging:da(we,"dragging"),dropAnimating:da(we,"dropAnimating"),userCancel:da(we,"userCancel")}},yr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Lr=function(){var ae=document.querySelector("head");return ae||Ue(!1),ae},zr=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function so(ee,ae){var oe=St(function(){return Pr(ee)},[ee]),de=(0,x.useRef)(null),Pe=(0,x.useRef)(null),Ee=Dt(tn(function(Et){var xt=Pe.current;xt||Ue(!1),xt.textContent=Et}),[]),we=Dt(function(Et){var xt=de.current;xt||Ue(!1),xt.textContent=Et},[]);yr(function(){!de.current&&!Pe.current||Ue(!1);var Et=zr(ae),xt=zr(ae);return de.current=Et,Pe.current=xt,Et.setAttribute(fo+"-always",ee),xt.setAttribute(fo+"-dynamic",ee),Lr().appendChild(Et),Lr().appendChild(xt),we(oe.always),Ee(oe.resting),function(){var Vt=function(Ca){var Ia=Ca.current;Ia||Ue(!1),Lr().removeChild(Ia),Ca.current=null};Vt(de),Vt(Pe)}},[ae,we,Ee,oe.always,oe.resting,ee]);var Re=Dt(function(){return Ee(oe.dragging)},[Ee,oe.dragging]),ft=Dt(function(Et){if(Et==="DROP"){Ee(oe.dropAnimating);return}Ee(oe.userCancel)},[Ee,oe.dropAnimating,oe.userCancel]),Tt=Dt(function(){Pe.current&&Ee(oe.resting)},[Ee,oe.resting]),Rt=St(function(){return{dragging:Re,dropping:ft,resting:Tt}},[Re,ft,Tt]);return Rt}var Eo=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function co(ee){return ee instanceof Eo(ee).HTMLElement}function vo(ee,ae){var oe="["+yo.contextId+'="'+ee+'"]',de=Ra(document.querySelectorAll(oe));if(!de.length)return null;var Pe=ur(de,function(Ee){return Ee.getAttribute(yo.draggableId)===ae});return!Pe||!co(Pe)?null:Pe}function ii(ee){var ae=(0,x.useRef)({}),oe=(0,x.useRef)(null),de=(0,x.useRef)(null),Pe=(0,x.useRef)(!1),Ee=Dt(function(xt,Vt){var Bn={id:xt,focus:Vt};return ae.current[xt]=Bn,function(){var Ia=ae.current,Oa=Ia[xt];Oa!==Bn&&delete Ia[xt]}},[]),we=Dt(function(xt){var Vt=vo(ee,xt);Vt&&Vt!==document.activeElement&&Vt.focus()},[ee]),Re=Dt(function(xt,Vt){oe.current===xt&&(oe.current=Vt)},[]),ft=Dt(function(){de.current||Pe.current&&(de.current=requestAnimationFrame(function(){de.current=null;var xt=oe.current;xt&&we(xt)}))},[we]),Tt=Dt(function(xt){oe.current=null;var Vt=document.activeElement;Vt&&Vt.getAttribute(yo.draggableId)===xt&&(oe.current=xt)},[]);yr(function(){return Pe.current=!0,function(){Pe.current=!1;var xt=de.current;xt&&cancelAnimationFrame(xt)}},[]);var Rt=St(function(){return{register:Ee,tryRecordFocus:Tt,tryRestoreFocusRecorded:ft,tryShiftRecord:Re}},[Ee,Tt,ft,Re]);return Rt}function zo(){var ee={draggables:{},droppables:{}},ae=[];function oe(Et){return ae.push(Et),function(){var Vt=ae.indexOf(Et);Vt!==-1&&ae.splice(Vt,1)}}function de(Et){ae.length&&ae.forEach(function(xt){return xt(Et)})}function Pe(Et){return ee.draggables[Et]||null}function Ee(Et){var xt=Pe(Et);return xt||Ue(!1),xt}var we={register:function(xt){ee.draggables[xt.descriptor.id]=xt,de({type:"ADDITION",value:xt})},update:function(xt,Vt){var Bn=ee.draggables[Vt.descriptor.id];Bn&&Bn.uniqueId===xt.uniqueId&&(delete ee.draggables[Vt.descriptor.id],ee.draggables[xt.descriptor.id]=xt)},unregister:function(xt){var Vt=xt.descriptor.id,Bn=Pe(Vt);Bn&&xt.uniqueId===Bn.uniqueId&&(delete ee.draggables[Vt],de({type:"REMOVAL",value:xt}))},getById:Ee,findById:Pe,exists:function(xt){return!!Pe(xt)},getAllByType:function(xt){return hr(ee.draggables).filter(function(Vt){return Vt.descriptor.type===xt})}};function Re(Et){return ee.droppables[Et]||null}function ft(Et){var xt=Re(Et);return xt||Ue(!1),xt}var Tt={register:function(xt){ee.droppables[xt.descriptor.id]=xt},unregister:function(xt){var Vt=Re(xt.descriptor.id);Vt&&xt.uniqueId===Vt.uniqueId&&delete ee.droppables[xt.descriptor.id]},getById:ft,findById:Re,exists:function(xt){return!!Re(xt)},getAllByType:function(xt){return hr(ee.droppables).filter(function(Vt){return Vt.descriptor.type===xt})}};function Rt(){ee.draggables={},ee.droppables={},ae.length=0}return{draggable:we,droppable:Tt,subscribe:oe,clean:Rt}}function ti(){var ee=St(zo,[]);return(0,x.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var qo=x.createContext(null),fi=function(){var ee=document.body;return ee||Ue(!1),ee},Xi={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Kr=function(ae){return"rbd-announcement-"+ae};function po(ee){var ae=St(function(){return Kr(ee)},[ee]),oe=(0,x.useRef)(null);(0,x.useEffect)(function(){var Ee=document.createElement("div");return oe.current=Ee,Ee.id=ae,Ee.setAttribute("aria-live","assertive"),Ee.setAttribute("aria-atomic","true"),(0,Me.Z)(Ee.style,Xi),fi().appendChild(Ee),function(){setTimeout(function(){var ft=fi();ft.contains(Ee)&&ft.removeChild(Ee),Ee===oe.current&&(oe.current=null)})}},[ae]);var de=Dt(function(Pe){var Ee=oe.current;if(Ee){Ee.textContent=Pe;return}},[]);return de}var Mo=0,bo={separator:"::"};function Uo(){Mo=0}function Vo(ee,ae){return ae===void 0&&(ae=bo),St(function(){return""+ee+ae.separator+Mo++},[ae.separator,ee])}function Xo(ee){var ae=ee.contextId,oe=ee.uniqueId;return"rbd-hidden-text-"+ae+"-"+oe}function Si(ee){var ae=ee.contextId,oe=ee.text,de=Vo("hidden-text",{separator:"-"}),Pe=St(function(){return Xo({contextId:ae,uniqueId:de})},[de,ae]);return(0,x.useEffect)(function(){var we=document.createElement("div");return we.id=Pe,we.textContent=oe,we.style.display="none",fi().appendChild(we),function(){var ft=fi();ft.contains(we)&&ft.removeChild(we)}},[Pe,oe]),Pe}var _i=x.createContext(null),_l={react:"^16.8.5","react-dom":"^16.8.5"},ml=/(\d+)\.(\d+)\.(\d+)/,fl=function(ae){var oe=ml.exec(ae);oe==null&&Ue(!1);var de=Number(oe[1]),Pe=Number(oe[2]),Ee=Number(oe[3]);return{major:de,minor:Pe,patch:Ee,raw:ae}},pl=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},Yi=function(ee,ae){var oe=fl(ee),de=fl(ae);pl(oe,de)},vl=`
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
`,Is=function(ee){var ae=ee.doctype;ae&&(ae.name.toLowerCase(),ae.publicId)};function cu(ee){}function qi(ee,ae){}function $s(){qi(function(){Yi(_l.react,x.version),Is(document)},[])}function zl(ee){var ae=(0,x.useRef)(ee);return(0,x.useEffect)(function(){ae.current=ee}),ae}function Hl(){var ee=null;function ae(){return!!ee}function oe(we){return we===ee}function de(we){ee&&Ue(!1);var Re={abandon:we};return ee=Re,Re}function Pe(){ee||Ue(!1),ee=null}function Ee(){ee&&(ee.abandon(),Pe())}return{isClaimed:ae,isActive:oe,claim:de,release:Pe,tryAbandon:Ee}}var Ls=9,Qs=13,jl=27,fs=32,Js=33,Xs=34,Ys=35,Os=36,Gl=37,ps=38,vs=39,Rs=40,hl,Ts=(hl={},hl[Qs]=!0,hl[Ls]=!0,hl),hs=function(ee){Ts[ee.keyCode]&&ee.preventDefault()},Kl=function(){var ee="visibilitychange";if(typeof document=="undefined")return ee;var ae=[ee,"ms"+ee,"webkit"+ee,"moz"+ee,"o"+ee],oe=ur(ae,function(de){return"on"+de in document});return oe||ee}(),Ss=0,Wl=5;function Ms(ee,ae){return Math.abs(ae.x-ee.x)>=Wl||Math.abs(ae.y-ee.y)>=Wl}var Ul={type:"IDLE"};function ks(ee){var ae=ee.cancel,oe=ee.completed,de=ee.getPhase,Pe=ee.setPhase;return[{eventName:"mousemove",fn:function(we){var Re=we.button,ft=we.clientX,Tt=we.clientY;if(Re===Ss){var Rt={x:ft,y:Tt},Et=de();if(Et.type==="DRAGGING"){we.preventDefault(),Et.actions.move(Rt);return}Et.type!=="PENDING"&&Ue(!1);var xt=Et.point;if(Ms(xt,Rt)){we.preventDefault();var Vt=Et.actions.fluidLift(Rt);Pe({type:"DRAGGING",actions:Vt})}}}},{eventName:"mouseup",fn:function(we){var Re=de();if(Re.type!=="DRAGGING"){ae();return}we.preventDefault(),Re.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(we){de().type==="DRAGGING"&&we.preventDefault(),ae()}},{eventName:"keydown",fn:function(we){var Re=de();if(Re.type==="PENDING"){ae();return}if(we.keyCode===jl){we.preventDefault(),ae();return}hs(we)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(we){var Re=de();if(Re.type==="IDLE"&&Ue(!1),Re.actions.shouldRespectForcePress()){ae();return}we.preventDefault()}},{eventName:Kl,fn:ae}]}function qs(ee){var ae=(0,x.useRef)(Ul),oe=(0,x.useRef)(qn),de=St(function(){return{eventName:"mousedown",fn:function(Et){if(!Et.defaultPrevented&&Et.button===Ss&&!(Et.ctrlKey||Et.metaKey||Et.shiftKey||Et.altKey)){var xt=ee.findClosestDraggableId(Et);if(xt){var Vt=ee.tryGetLock(xt,we,{sourceEvent:Et});if(Vt){Et.preventDefault();var Bn={x:Et.clientX,y:Et.clientY};oe.current(),Tt(Vt,Bn)}}}}}},[ee]),Pe=St(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Et){if(!Et.defaultPrevented){var xt=ee.findClosestDraggableId(Et);if(xt){var Vt=ee.findOptionsForDraggable(xt);Vt&&(Vt.shouldRespectForcePress||ee.canGetLock(xt)&&Et.preventDefault())}}}}},[ee]),Ee=Dt(function(){var Et={passive:!1,capture:!0};oe.current=_n(window,[Pe,de],Et)},[Pe,de]),we=Dt(function(){var Rt=ae.current;Rt.type!=="IDLE"&&(ae.current=Ul,oe.current(),Ee())},[Ee]),Re=Dt(function(){var Rt=ae.current;we(),Rt.type==="DRAGGING"&&Rt.actions.cancel({shouldBlockNextClick:!0}),Rt.type==="PENDING"&&Rt.actions.abort()},[we]),ft=Dt(function(){var Et={capture:!0,passive:!1},xt=ks({cancel:Re,completed:we,getPhase:function(){return ae.current},setPhase:function(Bn){ae.current=Bn}});oe.current=_n(window,xt,Et)},[Re,we]),Tt=Dt(function(Et,xt){ae.current.type!=="IDLE"&&Ue(!1),ae.current={type:"PENDING",point:xt,actions:Et},ft()},[ft]);yr(function(){return Ee(),function(){oe.current()}},[Ee])}var Jr;function Fo(){}var Pi=(Jr={},Jr[Xs]=!0,Jr[Js]=!0,Jr[Os]=!0,Jr[Ys]=!0,Jr);function zi(ee,ae){function oe(){ae(),ee.cancel()}function de(){ae(),ee.drop()}return[{eventName:"keydown",fn:function(Ee){if(Ee.keyCode===jl){Ee.preventDefault(),oe();return}if(Ee.keyCode===fs){Ee.preventDefault(),de();return}if(Ee.keyCode===Rs){Ee.preventDefault(),ee.moveDown();return}if(Ee.keyCode===ps){Ee.preventDefault(),ee.moveUp();return}if(Ee.keyCode===vs){Ee.preventDefault(),ee.moveRight();return}if(Ee.keyCode===Gl){Ee.preventDefault(),ee.moveLeft();return}if(Pi[Ee.keyCode]){Ee.preventDefault();return}hs(Ee)}},{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:Kl,fn:oe}]}function Hi(ee){var ae=(0,x.useRef)(Fo),oe=St(function(){return{eventName:"keydown",fn:function(Ee){if(Ee.defaultPrevented||Ee.keyCode!==fs)return;var we=ee.findClosestDraggableId(Ee);if(!we)return;var Re=ee.tryGetLock(we,Rt,{sourceEvent:Ee});if(!Re)return;Ee.preventDefault();var ft=!0,Tt=Re.snapLift();ae.current();function Rt(){ft||Ue(!1),ft=!1,ae.current(),de()}ae.current=_n(window,zi(Tt,Rt),{capture:!0,passive:!1})}}},[ee]),de=Dt(function(){var Ee={passive:!1,capture:!0};ae.current=_n(window,[oe],Ee)},[oe]);yr(function(){return de(),function(){ae.current()}},[de])}var Vl={type:"IDLE"},Ps=120,ys=.15;function Es(ee){var ae=ee.cancel,oe=ee.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(Pe){Pe.preventDefault()}},{eventName:"keydown",fn:function(Pe){if(oe().type!=="DRAGGING"){ae();return}Pe.keyCode===jl&&Pe.preventDefault(),ae()}},{eventName:Kl,fn:ae}]}function bs(ee){var ae=ee.cancel,oe=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Ee){var we=de();if(we.type!=="DRAGGING"){ae();return}we.hasMoved=!0;var Re=Ee.touches[0],ft=Re.clientX,Tt=Re.clientY,Rt={x:ft,y:Tt};Ee.preventDefault(),we.actions.move(Rt)}},{eventName:"touchend",fn:function(Ee){var we=de();if(we.type!=="DRAGGING"){ae();return}Ee.preventDefault(),we.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Ee){if(de().type!=="DRAGGING"){ae();return}Ee.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Ee){var we=de();we.type==="IDLE"&&Ue(!1);var Re=Ee.touches[0];if(Re){var ft=Re.force>=ys;if(ft){var Tt=we.actions.shouldRespectForcePress();if(we.type==="PENDING"){Tt&&ae();return}if(Tt){if(we.hasMoved){Ee.preventDefault();return}ae();return}Ee.preventDefault()}}}},{eventName:Kl,fn:ae}]}function Lu(ee){var ae=(0,x.useRef)(Vl),oe=(0,x.useRef)(qn),de=Dt(function(){return ae.current},[]),Pe=Dt(function(Vt){ae.current=Vt},[]),Ee=St(function(){return{eventName:"touchstart",fn:function(Vt){if(!Vt.defaultPrevented){var Bn=ee.findClosestDraggableId(Vt);if(Bn){var Ca=ee.tryGetLock(Bn,Re,{sourceEvent:Vt});if(Ca){var Ia=Vt.touches[0],Oa=Ia.clientX,Ya=Ia.clientY,rr={x:Oa,y:Ya};oe.current(),Et(Ca,rr)}}}}}},[ee]),we=Dt(function(){var Vt={capture:!0,passive:!1};oe.current=_n(window,[Ee],Vt)},[Ee]),Re=Dt(function(){var xt=ae.current;xt.type!=="IDLE"&&(xt.type==="PENDING"&&clearTimeout(xt.longPressTimerId),Pe(Vl),oe.current(),we())},[we,Pe]),ft=Dt(function(){var xt=ae.current;Re(),xt.type==="DRAGGING"&&xt.actions.cancel({shouldBlockNextClick:!0}),xt.type==="PENDING"&&xt.actions.abort()},[Re]),Tt=Dt(function(){var Vt={capture:!0,passive:!1},Bn={cancel:ft,completed:Re,getPhase:de},Ca=_n(window,bs(Bn),Vt),Ia=_n(window,Es(Bn),Vt);oe.current=function(){Ca(),Ia()}},[ft,de,Re]),Rt=Dt(function(){var Vt=de();Vt.type!=="PENDING"&&Ue(!1);var Bn=Vt.actions.fluidLift(Vt.point);Pe({type:"DRAGGING",actions:Bn,hasMoved:!1})},[de,Pe]),Et=Dt(function(Vt,Bn){de().type!=="IDLE"&&Ue(!1);var Ca=setTimeout(Rt,Ps);Pe({type:"PENDING",point:Bn,actions:Vt,longPressTimerId:Ca}),Tt()},[Tt,de,Pe,Rt]);yr(function(){return we(),function(){oe.current();var Bn=de();Bn.type==="PENDING"&&(clearTimeout(Bn.longPressTimerId),Pe(Vl))}},[de,we,Pe]),yr(function(){var Vt=_n(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Vt},[])}function Ou(ee){}var Ru={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function gu(ee,ae){if(ae==null)return!1;var oe=!!Ru[ae.tagName.toLowerCase()];if(oe)return!0;var de=ae.getAttribute("contenteditable");return de==="true"||de===""?!0:ae===ee?!1:gu(ee,ae.parentElement)}function Tu(ee,ae){var oe=ae.target;return co(oe)?gu(ee,oe):!1}var Mu=function(ee){return Ln(ee.getBoundingClientRect()).center};function ku(ee){return ee instanceof Eo(ee).Element}var Zu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ae=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=ur(ae,function(de){return de in Element.prototype});return oe||ee}();function mu(ee,ae){return ee==null?null:ee[Zu](ae)?ee:mu(ee.parentElement,ae)}function _u(ee,ae){return ee.closest?ee.closest(ae):mu(ee,ae)}function zu(ee){return"["+yo.contextId+'="'+ee+'"]'}function Hu(ee,ae){var oe=ae.target;if(!ku(oe))return null;var de=zu(ee),Pe=_u(oe,de);return!Pe||!co(Pe)?null:Pe}function ju(ee,ae){var oe=Hu(ee,ae);return oe?oe.getAttribute(yo.draggableId):null}function Gu(ee,ae){var oe="["+lo.contextId+'="'+ee+'"]',de=Ra(document.querySelectorAll(oe)),Pe=ur(de,function(Ee){return Ee.getAttribute(lo.id)===ae});return!Pe||!co(Pe)?null:Pe}function Ku(ee){ee.preventDefault()}function Zs(ee){var ae=ee.expected,oe=ee.phase,de=ee.isLockActive,Pe=ee.shouldWarn;return!(!de()||ae!==oe)}function fu(ee){var ae=ee.lockAPI,oe=ee.store,de=ee.registry,Pe=ee.draggableId;if(ae.isClaimed())return!1;var Ee=de.draggable.findById(Pe);return!(!Ee||!Ee.options.isEnabled||!gr(oe.getState(),Pe))}function Wu(ee){var ae=ee.lockAPI,oe=ee.contextId,de=ee.store,Pe=ee.registry,Ee=ee.draggableId,we=ee.forceSensorStop,Re=ee.sourceEvent,ft=fu({lockAPI:ae,store:de,registry:Pe,draggableId:Ee});if(!ft)return null;var Tt=Pe.draggable.getById(Ee),Rt=Gu(oe,Tt.descriptor.id);if(!Rt||Re&&!Tt.options.canDragInteractiveElements&&Tu(Rt,Re))return null;var Et=ae.claim(we||qn),xt="PRE_DRAG";function Vt(){return Tt.options.shouldRespectForcePress}function Bn(){return ae.isActive(Et)}function Ca(Mr,no){Zs({expected:Mr,phase:xt,isLockActive:Bn,shouldWarn:!0})&&de.dispatch(no())}var Ia=Ca.bind(null,"DRAGGING");function Oa(Mr){function no(){ae.release(),xt="COMPLETED"}xt!=="PRE_DRAG"&&(no(),xt!=="PRE_DRAG"&&Ue(!1)),de.dispatch(is(Mr.liftActionArgs)),xt="DRAGGING";function Ho(mo,jo){if(jo===void 0&&(jo={shouldBlockNextClick:!1}),Mr.cleanup(),jo.shouldBlockNextClick){var ni=_n(window,[{eventName:"click",fn:Ku,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ni)}no(),de.dispatch(Ml({reason:mo}))}return(0,Me.Z)({isActive:function(){return Zs({expected:"DRAGGING",phase:xt,isLockActive:Bn,shouldWarn:!1})},shouldRespectForcePress:Vt,drop:function(jo){return Ho("DROP",jo)},cancel:function(jo){return Ho("CANCEL",jo)}},Mr.actions)}function Ya(Mr){var no=pn(function(mo){Ia(function(){return Ll({client:mo})})}),Ho=Oa({liftActionArgs:{id:Ee,clientSelection:Mr,movementMode:"FLUID"},cleanup:function(){return no.cancel()},actions:{move:no}});return(0,Me.Z)({},Ho,{move:no})}function rr(){var Mr={moveUp:function(){return Ia(Ci)},moveRight:function(){return Ia($i)},moveDown:function(){return Ia(Oo)},moveLeft:function(){return Ia(ds)}};return Oa({liftActionArgs:{id:Ee,clientSelection:Mu(Rt),movementMode:"SNAP"},cleanup:qn,actions:Mr})}function lr(){var Mr=Zs({expected:"PRE_DRAG",phase:xt,isLockActive:Bn,shouldWarn:!0});Mr&&ae.release()}var Hr={isActive:function(){return Zs({expected:"PRE_DRAG",phase:xt,isLockActive:Bn,shouldWarn:!1})},shouldRespectForcePress:Vt,fluidLift:Ya,snapLift:rr,abort:lr};return Hr}var Uu=[qs,Hi,Lu];function Vu(ee){var ae=ee.contextId,oe=ee.store,de=ee.registry,Pe=ee.customSensors,Ee=ee.enableDefaultSensors,we=[].concat(Ee?Uu:[],Pe||[]),Re=(0,x.useState)(function(){return Hl()})[0],ft=Dt(function(Ya,rr){Ya.isDragging&&!rr.isDragging&&Re.tryAbandon()},[Re]);yr(function(){var Ya=oe.getState(),rr=oe.subscribe(function(){var lr=oe.getState();ft(Ya,lr),Ya=lr});return rr},[Re,oe,ft]),yr(function(){return Re.tryAbandon},[Re.tryAbandon]);var Tt=Dt(function(Oa){return fu({lockAPI:Re,registry:de,store:oe,draggableId:Oa})},[Re,de,oe]),Rt=Dt(function(Oa,Ya,rr){return Wu({lockAPI:Re,registry:de,contextId:ae,store:oe,draggableId:Oa,forceSensorStop:Ya,sourceEvent:rr&&rr.sourceEvent?rr.sourceEvent:null})},[ae,Re,de,oe]),Et=Dt(function(Oa){return ju(ae,Oa)},[ae]),xt=Dt(function(Oa){var Ya=de.draggable.findById(Oa);return Ya?Ya.options:null},[de.draggable]),Vt=Dt(function(){Re.isClaimed()&&(Re.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Ol()))},[Re,oe]),Bn=Dt(Re.isClaimed,[Re]),Ca=St(function(){return{canGetLock:Tt,tryGetLock:Rt,findClosestDraggableId:Et,findOptionsForDraggable:xt,tryReleaseLock:Vt,isLockClaimed:Bn}},[Tt,Rt,Et,xt,Vt,Bn]);Ou(we);for(var Ia=0;Ia<we.length;Ia++)we[Ia](Ca)}var $u=function(ae){return{onBeforeCapture:ae.onBeforeCapture,onBeforeDragStart:ae.onBeforeDragStart,onDragStart:ae.onDragStart,onDragEnd:ae.onDragEnd,onDragUpdate:ae.onDragUpdate}};function Cs(ee){return ee.current||Ue(!1),ee.current}function Qu(ee){var ae=ee.contextId,oe=ee.setCallbacks,de=ee.sensors,Pe=ee.nonce,Ee=ee.dragHandleUsageInstructions,we=(0,x.useRef)(null);$s();var Re=zl(ee),ft=Dt(function(){return $u(Re.current)},[Re]),Tt=po(ae),Rt=Si({contextId:ae,text:Ee}),Et=so(ae,Pe),xt=Dt(function(mo){Cs(we).dispatch(mo)},[]),Vt=St(function(){return(0,Le.DE)({publishWhileDragging:ls,updateDroppableScroll:ss,updateDroppableIsEnabled:Il,updateDroppableIsCombineEnabled:Ns,collectionStarting:Ds},xt)},[xt]),Bn=ti(),Ca=St(function(){return Wa(Bn,Vt)},[Bn,Vt]),Ia=St(function(){return to((0,Me.Z)({scrollWindow:Sr,scrollDroppable:Ca.scrollDroppable},(0,Le.DE)({move:Ll},xt)))},[Ca.scrollDroppable,xt]),Oa=ii(ae),Ya=St(function(){return ja({announce:Tt,autoScroller:Ia,dimensionMarshal:Ca,focusMarshal:Oa,getResponders:ft,styleMarshal:Et})},[Tt,Ia,Ca,Oa,ft,Et]);we.current=Ya;var rr=Dt(function(){var mo=Cs(we),jo=mo.getState();jo.phase!=="IDLE"&&mo.dispatch(Ol())},[]),lr=Dt(function(){var mo=Cs(we).getState();return mo.isDragging||mo.phase==="DROP_ANIMATING"},[]),Hr=St(function(){return{isDragging:lr,tryAbort:rr}},[lr,rr]);oe(Hr);var Mr=Dt(function(mo){return gr(Cs(we).getState(),mo)},[]),no=Dt(function(){return Yo(Cs(we).getState())},[]),Ho=St(function(){return{marshal:Ca,focus:Oa,contextId:ae,canLift:Mr,isMovementAllowed:no,dragHandleUsageInstructionsId:Rt,registry:Bn}},[ae,Ca,Rt,Oa,Mr,no,Bn]);return Vu({contextId:ae,store:Ya,registry:Bn,customSensors:de,enableDefaultSensors:ee.enableDefaultSensors!==!1}),(0,x.useEffect)(function(){return rr},[rr]),x.createElement(_i.Provider,{value:Ho},x.createElement(b,{context:qo,store:Ya},ee.children))}var pu=0;function Ju(){pu=0}function Xu(){return St(function(){return""+pu++},[])}function Jd(){Ju(),Uo()}function Yu(ee){var ae=Xu(),oe=ee.dragHandleUsageInstructions||mn.dragHandleUsageInstructions;return x.createElement(dn,null,function(de){return x.createElement(Qu,{nonce:ee.nonce,contextId:ae,setCallbacks:de,dragHandleUsageInstructions:oe,enableDefaultSensors:ee.enableDefaultSensors,sensors:ee.sensors,onBeforeCapture:ee.onBeforeCapture,onBeforeDragStart:ee.onBeforeDragStart,onDragStart:ee.onDragStart,onDragUpdate:ee.onDragUpdate,onDragEnd:ee.onDragEnd},ee.children)})}var eu=function(ae){return function(oe){return ae===oe}},qu=eu("scroll"),ed=eu("auto"),td=eu("visible"),vu=function(ae,oe){return oe(ae.overflowX)||oe(ae.overflowY)},nd=function(ae,oe){return oe(ae.overflowX)&&oe(ae.overflowY)},hu=function(ae){var oe=window.getComputedStyle(ae),de={overflowX:oe.overflowX,overflowY:oe.overflowY};return vu(de,qu)||vu(de,ed)},ad=function(){return!1;var ae,oe,de,Pe},Su=function ee(ae){return ae==null?null:ae===document.body?ad()?ae:null:ae===document.documentElement?null:hu(ae)?ae:ee(ae.parentElement)},Xd=function(ee){if(ee)var ae=Su(ee.parentElement)},tu=function(ee){return{x:ee.scrollLeft,y:ee.scrollTop}},rd=function ee(ae){if(!ae)return!1;var oe=window.getComputedStyle(ae);return oe.position==="fixed"?!0:ee(ae.parentElement)},od=function(ee){var ae=Su(ee),oe=rd(ee);return{closestScrollable:ae,isFixedOnPage:oe}},id=function(ee){var ae=ee.descriptor,oe=ee.isEnabled,de=ee.isCombineEnabled,Pe=ee.isFixedOnPage,Ee=ee.direction,we=ee.client,Re=ee.page,ft=ee.closest,Tt=function(){if(!ft)return null;var Vt=ft.scrollSize,Bn=ft.client,Ca=Sa({scrollHeight:Vt.scrollHeight,scrollWidth:Vt.scrollWidth,height:Bn.paddingBox.height,width:Bn.paddingBox.width});return{pageMarginBox:ft.page.marginBox,frameClient:Bn,scrollSize:Vt,shouldClipSubject:ft.shouldClipSubject,scroll:{initial:ft.scroll,current:ft.scroll,max:Ca,diff:{value:Da,displacement:Da}}}}(),Rt=Ee==="vertical"?Ao:Go,Et=Er({page:Re,withPlaceholder:null,axis:Rt,frame:Tt}),xt={descriptor:ae,isCombineEnabled:de,isFixedOnPage:Pe,axis:Rt,isEnabled:oe,client:we,page:Re,frame:Tt,subject:Et};return xt},ld=function(ae,oe){var de=Xn(ae);if(!oe||ae!==oe)return de;var Pe=de.paddingBox.top-oe.scrollTop,Ee=de.paddingBox.left-oe.scrollLeft,we=Pe+oe.scrollHeight,Re=Ee+oe.scrollWidth,ft={top:Pe,right:Re,bottom:we,left:Ee},Tt=ta(ft,de.border),Rt=va({borderBox:Tt,margin:de.margin,border:de.border,padding:de.padding});return Rt},sd=function(ee){var ae=ee.ref,oe=ee.descriptor,de=ee.env,Pe=ee.windowScroll,Ee=ee.direction,we=ee.isDropDisabled,Re=ee.isCombineEnabled,ft=ee.shouldClipSubject,Tt=de.closestScrollable,Rt=ld(ae,Tt),Et=An(Rt,Pe),xt=function(){if(!Tt)return null;var Bn=Xn(Tt),Ca={scrollHeight:Tt.scrollHeight,scrollWidth:Tt.scrollWidth};return{client:Bn,page:An(Bn,Pe),scroll:tu(Tt),scrollSize:Ca,shouldClipSubject:ft}}(),Vt=id({descriptor:oe,isEnabled:!we,isCombineEnabled:Re,isFixedOnPage:de.isFixedOnPage,direction:Ee,client:Rt,page:Et,closest:xt});return Vt},ud={passive:!1},dd={passive:!0},Pu=function(ee){return ee.shouldPublishImmediately?ud:dd};function _s(ee){var ae=(0,x.useContext)(ee);return ae||Ue(!1),ae}var zs=function(ae){return ae&&ae.env.closestScrollable||null};function cd(ee){var ae=(0,x.useRef)(null),oe=_s(_i),de=Vo("droppable"),Pe=oe.registry,Ee=oe.marshal,we=zl(ee),Re=St(function(){return{id:ee.droppableId,type:ee.type,mode:ee.mode}},[ee.droppableId,ee.mode,ee.type]),ft=(0,x.useRef)(Re),Tt=St(function(){return tn(function(lr,Hr){ae.current||Ue(!1);var Mr={x:lr,y:Hr};Ee.updateDroppableScroll(Re.id,Mr)})},[Re.id,Ee]),Rt=Dt(function(){var lr=ae.current;return!lr||!lr.env.closestScrollable?Da:tu(lr.env.closestScrollable)},[]),Et=Dt(function(){var lr=Rt();Tt(lr.x,lr.y)},[Rt,Tt]),xt=St(function(){return pn(Et)},[Et]),Vt=Dt(function(){var lr=ae.current,Hr=zs(lr);lr&&Hr||Ue(!1);var Mr=lr.scrollOptions;if(Mr.shouldPublishImmediately){Et();return}xt()},[xt,Et]),Bn=Dt(function(lr,Hr){ae.current&&Ue(!1);var Mr=we.current,no=Mr.getDroppableRef();no||Ue(!1);var Ho=od(no),mo={ref:no,descriptor:Re,env:Ho,scrollOptions:Hr};ae.current=mo;var jo=sd({ref:no,descriptor:Re,env:Ho,windowScroll:lr,direction:Mr.direction,isDropDisabled:Mr.isDropDisabled,isCombineEnabled:Mr.isCombineEnabled,shouldClipSubject:!Mr.ignoreContainerClipping}),ni=Ho.closestScrollable;return ni&&(ni.setAttribute(Wo.contextId,oe.contextId),ni.addEventListener("scroll",Vt,Pu(mo.scrollOptions))),jo},[oe.contextId,Re,Vt,we]),Ca=Dt(function(){var lr=ae.current,Hr=zs(lr);return lr&&Hr||Ue(!1),tu(Hr)},[]),Ia=Dt(function(){var lr=ae.current;lr||Ue(!1);var Hr=zs(lr);ae.current=null,Hr&&(xt.cancel(),Hr.removeAttribute(Wo.contextId),Hr.removeEventListener("scroll",Vt,Pu(lr.scrollOptions)))},[Vt,xt]),Oa=Dt(function(lr){var Hr=ae.current;Hr||Ue(!1);var Mr=zs(Hr);Mr||Ue(!1),Mr.scrollTop+=lr.y,Mr.scrollLeft+=lr.x},[]),Ya=St(function(){return{getDimensionAndWatchScroll:Bn,getScrollWhileDragging:Ca,dragStopped:Ia,scroll:Oa}},[Ia,Bn,Ca,Oa]),rr=St(function(){return{uniqueId:de,descriptor:Re,callbacks:Ya}},[Ya,Re,de]);yr(function(){return ft.current=rr.descriptor,Pe.droppable.register(rr),function(){ae.current&&Ia(),Pe.droppable.unregister(rr)}},[Ya,Re,Ia,rr,Ee,Pe.droppable]),yr(function(){ae.current&&Ee.updateDroppableIsEnabled(ft.current.id,!ee.isDropDisabled)},[ee.isDropDisabled,Ee]),yr(function(){ae.current&&Ee.updateDroppableIsCombineEnabled(ft.current.id,ee.isCombineEnabled)},[ee.isCombineEnabled,Ee])}function nu(){}var yu={width:0,height:0,margin:Ua},gd=function(ae){var oe=ae.isAnimatingOpenOnMount,de=ae.placeholder,Pe=ae.animate;return oe||Pe==="close"?yu:{height:de.client.borderBox.height,width:de.client.borderBox.width,margin:de.client.margin}},md=function(ae){var oe=ae.isAnimatingOpenOnMount,de=ae.placeholder,Pe=ae.animate,Ee=gd({isAnimatingOpenOnMount:oe,placeholder:de,animate:Pe});return{display:de.display,boxSizing:"border-box",width:Ee.width,height:Ee.height,marginTop:Ee.margin.top,marginRight:Ee.margin.right,marginBottom:Ee.margin.bottom,marginLeft:Ee.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Pe!=="none"?wi.placeholder:null}};function fd(ee){var ae=(0,x.useRef)(null),oe=Dt(function(){ae.current&&(clearTimeout(ae.current),ae.current=null)},[]),de=ee.animate,Pe=ee.onTransitionEnd,Ee=ee.onClose,we=ee.contextId,Re=(0,x.useState)(ee.animate==="open"),ft=Re[0],Tt=Re[1];(0,x.useEffect)(function(){return ft?de!=="open"?(oe(),Tt(!1),nu):ae.current?nu:(ae.current=setTimeout(function(){ae.current=null,Tt(!1)}),oe):nu},[de,ft,oe]);var Rt=Dt(function(xt){xt.propertyName==="height"&&(Pe(),de==="close"&&Ee())},[de,Ee,Pe]),Et=md({isAnimatingOpenOnMount:ft,animate:ee.animate,placeholder:ee.placeholder});return x.createElement(ee.placeholder.tagName,{style:Et,"data-rbd-placeholder-context-id":we,onTransitionEnd:Rt,ref:ee.innerRef})}var pd=x.memo(fd),au=x.createContext(null);function Eu(ee){ee&&co(ee)||Ue(!1)}function ru(ee){return typeof ee=="boolean"}function ou(ee,ae){ae.forEach(function(oe){return oe(ee)})}var vd=[function(ae){var oe=ae.props;oe.droppableId||Ue(!1),typeof oe.droppableId!="string"&&Ue(!1)},function(ae){var oe=ae.props;ru(oe.isDropDisabled)||Ue(!1),ru(oe.isCombineEnabled)||Ue(!1),ru(oe.ignoreContainerClipping)||Ue(!1)},function(ae){var oe=ae.getDroppableRef;Eu(oe())}],hd=[function(ae){var oe=ae.props,de=ae.getPlaceholderRef;if(oe.placeholder)var Pe=de()}],Sd=[function(ae){var oe=ae.props;oe.renderClone||Ue(!1)},function(ae){var oe=ae.getPlaceholderRef;oe()&&Ue(!1)}];function Pd(ee){qi(function(){ou(ee,vd),ee.props.mode==="standard"&&ou(ee,hd),ee.props.mode==="virtual"&&ou(ee,Sd)})}var yd=function(ee){Be(ae,ee);function ae(){for(var de,Pe=arguments.length,Ee=new Array(Pe),we=0;we<Pe;we++)Ee[we]=arguments[we];return de=ee.call.apply(ee,[this].concat(Ee))||this,de.state={isVisible:!!de.props.on,data:de.props.on,animate:de.props.shouldAnimate&&de.props.on?"open":"none"},de.onClose=function(){de.state.animate==="close"&&de.setState({isVisible:!1})},de}ae.getDerivedStateFromProps=function(Pe,Ee){return Pe.shouldAnimate?Pe.on?{isVisible:!0,data:Pe.on,animate:"open"}:Ee.isVisible?{isVisible:!0,data:Ee.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!Pe.on,data:Pe.on,animate:"none"}};var oe=ae.prototype;return oe.render=function(){if(!this.state.isVisible)return null;var Pe={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Pe)},ae}(x.PureComponent),bu={dragging:5e3,dropAnimating:4500},Ed=function(ae,oe){return oe?wi.drop(oe.duration):ae?wi.snap:wi.fluid},bd=function(ae,oe){return ae?oe?Zi.opacity.drop:Zi.opacity.combining:null},Cd=function(ae){return ae.forceShouldAnimate!=null?ae.forceShouldAnimate:ae.mode==="SNAP"};function xd(ee){var ae=ee.dimension,oe=ae.client,de=ee.offset,Pe=ee.combineWith,Ee=ee.dropping,we=!!Pe,Re=Cd(ee),ft=!!Ee,Tt=ft?cl.drop(de,we):cl.moveTo(de),Rt={position:"fixed",top:oe.marginBox.top,left:oe.marginBox.left,boxSizing:"border-box",width:oe.borderBox.width,height:oe.borderBox.height,transition:Ed(Re,Ee),transform:Tt,opacity:bd(we,ft),zIndex:ft?bu.dropAnimating:bu.dragging,pointerEvents:"none"};return Rt}function Bd(ee){return{transform:cl.moveTo(ee.offset),transition:ee.shouldAnimateDisplacement?null:"none"}}function Fd(ee){return ee.type==="DRAGGING"?xd(ee):Bd(ee)}function wd(ee,ae,oe){oe===void 0&&(oe=Da);var de=window.getComputedStyle(ae),Pe=ae.getBoundingClientRect(),Ee=Fn(Pe,de),we=An(Ee,oe),Re={client:Ee,tagName:ae.tagName.toLowerCase(),display:de.display},ft={x:Ee.marginBox.width,y:Ee.marginBox.height},Tt={descriptor:ee,placeholder:Re,displaceBy:ft,client:Ee,page:we};return Tt}function Ad(ee){var ae=Vo("draggable"),oe=ee.descriptor,de=ee.registry,Pe=ee.getDraggableRef,Ee=ee.canDragInteractiveElements,we=ee.shouldRespectForcePress,Re=ee.isEnabled,ft=St(function(){return{canDragInteractiveElements:Ee,shouldRespectForcePress:we,isEnabled:Re}},[Ee,Re,we]),Tt=Dt(function(Vt){var Bn=Pe();return Bn||Ue(!1),wd(oe,Bn,Vt)},[oe,Pe]),Rt=St(function(){return{uniqueId:ae,descriptor:oe,options:ft,getDimension:Tt}},[oe,Tt,ft,ae]),Et=(0,x.useRef)(Rt),xt=(0,x.useRef)(!0);yr(function(){return de.draggable.register(Et.current),function(){return de.draggable.unregister(Et.current)}},[de.draggable]),yr(function(){if(xt.current){xt.current=!1;return}var Vt=Et.current;Et.current=Rt,de.draggable.update(Rt,Vt)},[Rt,de.draggable])}function Dd(ee,ae,oe){qi(function(){function de(Ee){return"Draggable[id: "+Ee+"]: "}var Pe=ee.draggableId;Pe||Ue(!1),typeof Pe!="string"&&Ue(!1),Zr(ee.index)||Ue(!1),ee.mapped.type!=="DRAGGING"&&(Eu(oe()),ee.isEnabled&&(vo(ae,Pe)||Ue(!1)))})}function Nd(ee){}function Id(ee){ee.preventDefault()}function Ld(ee){var ae=(0,x.useRef)(null),oe=Dt(function(mo){ae.current=mo},[]),de=Dt(function(){return ae.current},[]),Pe=_s(_i),Ee=Pe.contextId,we=Pe.dragHandleUsageInstructionsId,Re=Pe.registry,ft=_s(au),Tt=ft.type,Rt=ft.droppableId,Et=St(function(){return{id:ee.draggableId,index:ee.index,type:Tt,droppableId:Rt}},[ee.draggableId,ee.index,Tt,Rt]),xt=ee.children,Vt=ee.draggableId,Bn=ee.isEnabled,Ca=ee.shouldRespectForcePress,Ia=ee.canDragInteractiveElements,Oa=ee.isClone,Ya=ee.mapped,rr=ee.dropAnimationFinished;if(Dd(ee,Ee,de),Nd(Oa),!Oa){var lr=St(function(){return{descriptor:Et,registry:Re,getDraggableRef:de,canDragInteractiveElements:Ia,shouldRespectForcePress:Ca,isEnabled:Bn}},[Et,Re,de,Ia,Ca,Bn]);Ad(lr)}var Hr=St(function(){return Bn?{tabIndex:0,role:"button","aria-describedby":we,"data-rbd-drag-handle-draggable-id":Vt,"data-rbd-drag-handle-context-id":Ee,draggable:!1,onDragStart:Id}:null},[Ee,we,Vt,Bn]),Mr=Dt(function(mo){Ya.type==="DRAGGING"&&Ya.dropping&&mo.propertyName==="transform"&&rr()},[rr,Ya]),no=St(function(){var mo=Fd(Ya),jo=Ya.type==="DRAGGING"&&Ya.dropping?Mr:null,ni={innerRef:oe,draggableProps:{"data-rbd-draggable-context-id":Ee,"data-rbd-draggable-id":Vt,style:mo,onTransitionEnd:jo},dragHandleProps:Hr};return ni},[Ee,Hr,Vt,Ya,Mr,oe]),Ho=St(function(){return{draggableId:Et.id,type:Et.type,source:{index:Et.index,droppableId:Et.droppableId}}},[Et.droppableId,Et.id,Et.index,Et.type]);return xt(no,Ya.snapshot,Ho)}var Cu=function(ee,ae){return ee===ae},xu=function(ee){var ae=ee.combine,oe=ee.destination;return oe?oe.droppableId:ae?ae.droppableId:null},Od=function(ae){return ae.combine?ae.combine.draggableId:null},Rd=function(ae){return ae.at&&ae.at.type==="COMBINE"?ae.at.combine.draggableId:null};function Td(){var ee=tn(function(Pe,Ee){return{x:Pe,y:Ee}}),ae=tn(function(Pe,Ee,we,Re,ft){return{isDragging:!0,isClone:Ee,isDropAnimating:!!ft,dropAnimation:ft,mode:Pe,draggingOver:we,combineWith:Re,combineTargetFor:null}}),oe=tn(function(Pe,Ee,we,Re,ft,Tt,Rt){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:ft,combineWith:Tt,mode:Ee,offset:Pe,dimension:we,forceShouldAnimate:Rt,snapshot:ae(Ee,Re,ft,Tt,null)}}}),de=function(Ee,we){if(Ee.isDragging){if(Ee.critical.draggable.id!==we.draggableId)return null;var Re=Ee.current.client.offset,ft=Ee.dimensions.draggables[we.draggableId],Tt=oi(Ee.impact),Rt=Rd(Ee.impact),Et=Ee.forceShouldAnimate;return oe(ee(Re.x,Re.y),Ee.movementMode,ft,we.isClone,Tt,Rt,Et)}if(Ee.phase==="DROP_ANIMATING"){var xt=Ee.completed;if(xt.result.draggableId!==we.draggableId)return null;var Vt=we.isClone,Bn=Ee.dimensions.draggables[we.draggableId],Ca=xt.result,Ia=Ca.mode,Oa=xu(Ca),Ya=Od(Ca),rr=Ee.dropDuration,lr={duration:rr,curve:Zl.drop,moveTo:Ee.newHomeClientOffset,opacity:Ya?Zi.opacity.drop:null,scale:Ya?Zi.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Ee.newHomeClientOffset,dimension:Bn,dropping:lr,draggingOver:Oa,combineWith:Ya,mode:Ia,forceShouldAnimate:null,snapshot:ae(Ia,Vt,Oa,Ya,lr)}}}return null};return de}function Bu(ee){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ee,combineWith:null}}var Md={mapped:{type:"SECONDARY",offset:Da,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Bu(null)}};function kd(){var ee=tn(function(we,Re){return{x:we,y:Re}}),ae=tn(Bu),oe=tn(function(we,Re,ft){return Re===void 0&&(Re=null),{mapped:{type:"SECONDARY",offset:we,combineTargetFor:Re,shouldAnimateDisplacement:ft,snapshot:ae(Re)}}}),de=function(Re){return Re?oe(Da,Re,!0):null},Pe=function(Re,ft,Tt,Rt){var Et=Tt.displaced.visible[Re],xt=!!(Rt.inVirtualList&&Rt.effected[Re]),Vt=wr(Tt),Bn=Vt&&Vt.draggableId===Re?ft:null;if(!Et){if(!xt)return de(Bn);if(Tt.displaced.invisible[Re])return null;var Ca=Vn(Rt.displacedBy.point),Ia=ee(Ca.x,Ca.y);return oe(Ia,Bn,!0)}if(xt)return de(Bn);var Oa=Tt.displacedBy.point,Ya=ee(Oa.x,Oa.y);return oe(Ya,Bn,Et.shouldAnimate)},Ee=function(Re,ft){if(Re.isDragging)return Re.critical.draggable.id===ft.draggableId?null:Pe(ft.draggableId,Re.critical.draggable.id,Re.impact,Re.afterCritical);if(Re.phase==="DROP_ANIMATING"){var Tt=Re.completed;return Tt.result.draggableId===ft.draggableId?null:Pe(ft.draggableId,Tt.result.draggableId,Tt.impact,Tt.afterCritical)}return null};return Ee}var Zd=function(){var ae=Td(),oe=kd(),de=function(Ee,we){return ae(Ee,we)||oe(Ee,we)||Md};return de},_d={dropAnimationFinished:kl},zd=Fe(Zd,_d,null,{context:qo,pure:!0,areStatePropsEqual:Cu})(Ld);function Fu(ee){var ae=_s(au),oe=ae.isUsingCloneFor;return oe===ee.draggableId&&!ee.isClone?null:x.createElement(zd,ee)}function Hd(ee){var ae=typeof ee.isDragDisabled=="boolean"?!ee.isDragDisabled:!0,oe=!!ee.disableInteractiveElementBlocking,de=!!ee.shouldRespectForcePress;return x.createElement(Fu,(0,Me.Z)({},ee,{isClone:!1,isEnabled:ae,canDragInteractiveElements:oe,shouldRespectForcePress:de}))}function jd(ee){var ae=(0,x.useContext)(_i);ae||Ue(!1);var oe=ae.contextId,de=ae.isMovementAllowed,Pe=(0,x.useRef)(null),Ee=(0,x.useRef)(null),we=ee.children,Re=ee.droppableId,ft=ee.type,Tt=ee.mode,Rt=ee.direction,Et=ee.ignoreContainerClipping,xt=ee.isDropDisabled,Vt=ee.isCombineEnabled,Bn=ee.snapshot,Ca=ee.useClone,Ia=ee.updateViewportMaxScroll,Oa=ee.getContainerForClone,Ya=Dt(function(){return Pe.current},[]),rr=Dt(function(li){Pe.current=li},[]),lr=Dt(function(){return Ee.current},[]),Hr=Dt(function(li){Ee.current=li},[]);Pd({props:ee,getDroppableRef:Ya,getPlaceholderRef:lr});var Mr=Dt(function(){de()&&Ia({maxScroll:ca()})},[de,Ia]);cd({droppableId:Re,type:ft,mode:Tt,direction:Rt,isDropDisabled:xt,isCombineEnabled:Vt,ignoreContainerClipping:Et,getDroppableRef:Ya});var no=x.createElement(yd,{on:ee.placeholder,shouldAnimate:ee.shouldAnimatePlaceholder},function(li){var ji=li.onClose,Di=li.data,Ei=li.animate;return x.createElement(pd,{placeholder:Di,onClose:ji,innerRef:Hr,animate:Ei,contextId:oe,onTransitionEnd:Mr})}),Ho=St(function(){return{innerRef:rr,placeholder:no,droppableProps:{"data-rbd-droppable-id":Re,"data-rbd-droppable-context-id":oe}}},[oe,Re,no,rr]),mo=Ca?Ca.dragging.draggableId:null,jo=St(function(){return{droppableId:Re,type:ft,isUsingCloneFor:mo}},[Re,mo,ft]);function ni(){if(!Ca)return null;var li=Ca.dragging,ji=Ca.render,Di=x.createElement(Fu,{draggableId:li.draggableId,index:li.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Ei,Gi){return ji(Ei,Gi,li)});return on.createPortal(Di,Oa())}return x.createElement(au.Provider,{value:jo},we(Ho,Bn),ni())}var iu=function(ae,oe){return ae===oe.droppable.type},wu=function(ae,oe){return oe.draggables[ae.draggable.id]},Gd=function(){var ae={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},oe=(0,Me.Z)({},ae,{shouldAnimatePlaceholder:!1}),de=tn(function(we){return{draggableId:we.id,type:we.type,source:{index:we.index,droppableId:we.droppableId}}}),Pe=tn(function(we,Re,ft,Tt,Rt,Et){var xt=Rt.descriptor.id,Vt=Rt.descriptor.droppableId===we;if(Vt){var Bn=Et?{render:Et,dragging:de(Rt.descriptor)}:null,Ca={isDraggingOver:ft,draggingOverWith:ft?xt:null,draggingFromThisWith:xt,isUsingPlaceholder:!0};return{placeholder:Rt.placeholder,shouldAnimatePlaceholder:!1,snapshot:Ca,useClone:Bn}}if(!Re)return oe;if(!Tt)return ae;var Ia={isDraggingOver:ft,draggingOverWith:xt,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Rt.placeholder,shouldAnimatePlaceholder:!0,snapshot:Ia,useClone:null}}),Ee=function(Re,ft){var Tt=ft.droppableId,Rt=ft.type,Et=!ft.isDropDisabled,xt=ft.renderClone;if(Re.isDragging){var Vt=Re.critical;if(!iu(Rt,Vt))return oe;var Bn=wu(Vt,Re.dimensions),Ca=oi(Re.impact)===Tt;return Pe(Tt,Et,Ca,Ca,Bn,xt)}if(Re.phase==="DROP_ANIMATING"){var Ia=Re.completed;if(!iu(Rt,Ia.critical))return oe;var Oa=wu(Ia.critical,Re.dimensions);return Pe(Tt,Et,xu(Ia.result)===Tt,oi(Ia.impact)===Tt,Oa,xt)}if(Re.phase==="IDLE"&&Re.completed&&!Re.shouldFlush){var Ya=Re.completed;if(!iu(Rt,Ya.critical))return oe;var rr=oi(Ya.impact)===Tt,lr=!!(Ya.impact.at&&Ya.impact.at.type==="COMBINE"),Hr=Ya.critical.droppable.id===Tt;return rr?lr?ae:oe:Hr?ae:oe}return oe};return Ee},Kd={updateViewportMaxScroll:ei};function Wd(){return document.body||Ue(!1),document.body}var Ud={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Wd},Au=Fe(Gd,Kd,null,{context:qo,pure:!0,areStatePropsEqual:Cu})(jd);Au.defaultProps=Ud},38486:function(Ut,Gt){"use strict";var te;var x=60103,ue=60106,Be=60107,Me=60108,Le=60114,Oe=60109,se=60110,dt=60112,ot=60113,Ve=60120,We=60115,nt=60116,Xe=60121,le=60122,y=60117,a=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var E=Symbol.for;x=E("react.element"),ue=E("react.portal"),Be=E("react.fragment"),Me=E("react.strict_mode"),Le=E("react.profiler"),Oe=E("react.provider"),se=E("react.context"),dt=E("react.forward_ref"),ot=E("react.suspense"),Ve=E("react.suspense_list"),We=E("react.memo"),nt=E("react.lazy"),Xe=E("react.block"),le=E("react.server.block"),y=E("react.fundamental"),a=E("react.debug_trace_mode"),b=E("react.legacy_hidden")}function z(Te){if(typeof Te=="object"&&Te!==null){var Ye=Te.$$typeof;switch(Ye){case x:switch(Te=Te.type,Te){case Be:case Le:case Me:case ot:case Ve:return Te;default:switch(Te=Te&&Te.$$typeof,Te){case se:case dt:case nt:case We:case Oe:return Te;default:return Ye}}case ue:return Ye}}}var ne=Oe,re=x,ie=dt,me=Be,pe=nt,ye=We,Ge=ue,Ae=Le,Qe=Me,ve=ot;te=se,te=ne,te=re,te=ie,te=me,te=pe,te=ye,te=Ge,te=Ae,te=Qe,te=ve,te=function(){return!1},te=function(){return!1},Gt.isContextConsumer=function(Te){return z(Te)===se},te=function(Te){return z(Te)===Oe},te=function(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===x},te=function(Te){return z(Te)===dt},te=function(Te){return z(Te)===Be},te=function(Te){return z(Te)===nt},te=function(Te){return z(Te)===We},te=function(Te){return z(Te)===ue},te=function(Te){return z(Te)===Le},te=function(Te){return z(Te)===Me},te=function(Te){return z(Te)===ot},te=function(Te){return typeof Te=="string"||typeof Te=="function"||Te===Be||Te===Le||Te===a||Te===Me||Te===ot||Te===Ve||Te===b||typeof Te=="object"&&Te!==null&&(Te.$$typeof===nt||Te.$$typeof===We||Te.$$typeof===Oe||Te.$$typeof===se||Te.$$typeof===dt||Te.$$typeof===y||Te.$$typeof===Xe||Te[0]===le)},te=z},53410:function(Ut,Gt,te){"use strict";Ut.exports=te(38486)},32637:function(Ut,Gt,te){"use strict";Ut.exports=te.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(Ut){"use strict";Ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZW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